Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Tuesday, 10 April 2012

On Moving To The Web, Again.











Yes I'm back on the same topic again, whether we are moving to the web or not. To make things simple, I think most software have already moved to the web but the web advocates didn't even notice. I use the desktop version of Ubuntu Linux on my personal computer and I realize that many of the programs I use are already web enabled. For example I use a program called Empathy for facebook. I use Ubuntu One which is integrated to my file browser for cloud storage. I also use Tomboy for note taking which I synchronize with my Ubuntu One account. Other web enabled applications on the Ubuntu desktop include the default text-editor which allows on-line collaboration. And there is the good old Mozilla Thunderbird which allows me to download mails from my various e-mail accounts to my local desktop.

All those programs are web enabled but the advocates of moving to the web do not notice it. Why? maybe because they are unknowingly just advocating for a move to the browser. I personally do not believe that applications will all move to the browser. To me, the web is more about the protocols and not necessarily about HTML. Those desktop applications I listed above are already taking full advantage of protocols like HTTP, HTTPS, OAuth etc. So in essence, the move to the web has been made but the advocates simply did not notice.

If you are still waiting for the move into the browser, then I believe you have a long long wait ahead of you. People simply prefer to use thick client applications of popular web services than using the browser interface. That's why twitter and facebook desktop clients are very popular. Just think of it, even though modern smartphone browsers are very mature, most users prefer to use native apps on their phone that connect to web platforms whenever possible.

Google started the Chrome OS claiming that the days of the native desktop are over. But each iteration of Chrome OS seems to be moving closer and closer to the traditional desktop. The latest version so far has a wallpaper, a taskbar and a launchpad.

I know many people are excited about the web and what we can do in browsers using things likeHTML5, JavaScript and CSS3, but if you are still waiting for the move to the web, then you have been left behind. We are already far into the future, at least judging from the standpoint of the pro browser advocates.

Saturday, 19 March 2011

In-browser Desktop Apps











I have talked about the blurring of the line between desktop, mobile and web apps here and here. I think the developers GTK+ have taken a big step towards that. With the GTK+ 3.2 you can run any (desktop) application in a browser.


Watch the video here

Friday, 28 January 2011

MTN FastLink On Linux

 MTN Nigeria now has linux support for their FastLink data service. Though distros like Ubuntu has support for mobile broadband out of the box, one cannot do things like sending SMS or USSD without third party applications. One can now install the FastLink software found in the Linux folder on the modem. The one I tried came with a Huawei E1550 usb stick modem.


Running on Ubuntu 10.04
Wether this is from MTN or Huawei, it's good for us Linux users.

Thursday, 30 December 2010

Ubuntu Nigeria

When I started using Linux around the year 2002, I felt like I belong to an elite group of computer users. Back then I believe there were less than 10 of us in Maiduguri. But apart from feeling important, I also felt a little bit odd, because it's always difficult to tell an average Windows user why I run Linux. Not everybody understands the excitement of exploring something new, different and flexible as Linux. I think it was RedHat 8.0. But 8 years later, now the situation is different, it's not uncommon to see, everyday computer users including elderly people now running Linux. And this is all thanks to Ubuntu. As it's slogan goes "Linux For Human Beings", Ubuntu has brought Linux to the non-techies without taking the flexibility away. Though without concrete data, I believe Ubuntu has seen a great increase in users not only in Maiduguri but across Nigeria. A testimony to that is the Ubuntu Nigeria blog

Tuesday, 19 October 2010

Vala


Programmers know that choosing a programming language involve trade-offs. You may wish to use language A because it provides feature X but can't live without feature Y which is only found in language B. For example you may wish to use C because it produces native code that runs fast but cannot live without garbage collection which is found in Java or C#.

Based on that I normally categorize programming languages into three broad groups

1- Interpreted languages like Python and Ruby
2- Run-time dependent compiled languages like Java and C#
3-Native compiled languages like C.

Languages like C are bare-bone languages with very little convenience features like strings or garbage collection but they produce binaries that run very fast.

Interpreted languages sacrifice speed for convenience, they are usually very easy to use but run very slowly compared to compiled languages.

Languages like C# and Java tries to give you best of both worlds in that they provide convenient language features and compile to target a virtual machine at the expense of a little speed.

Vala is a new language developed by the GNOME community. It aims to give the best of all worlds. It comes with convenience of languages like Java and C# and compiles to native binary just like C.

Vala is still in development but is pretty mature to be used for many tasks and is available for Linux and Windows.

The language is introduced on the Vala site as follows;

Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C

Find it at http://live.gnome.org/Vala

Friday, 16 July 2010

10 Myths About Linux















I have been using Linux alongside Windows as a dual boot setup before deciding to migrate fully to Linux. This decision was prompted not only by the fact that I got tired of managing viruses but also because Linux has evolved to be an easier platform to use. Now the problem I face is when Windows users see me using Linux as my main OS. To my surprise some of them feel offended and often ask why I chose to use an OS that is not user friendly. The interesting thing is that most of them are people that have never used any non-Microsoft operating system. My question is, if you've never tasted a fruit how would you know whether it's sweet, sour or bitter? In reality most of these people have believed and often propagated myths they have heard and believed about Linux. I list ten of such myths and answers for those that believe them.

1- On Linux, you have to use the command line: Nope, you don't have to. Linux have several mature graphical environments that have been found to be more usable than the Windows desktop. Ever heard of GNOME or K.D.E ?

2- Linux is strictly for geeks: The One Laptop Per Child project uses Linux and targets kids and not geeks. Most of the target children have never used a computer before in their lives.

3- It's only good for servers: No, there are many distributions for desktops. One of the most popular is Ubuntu.

4- Linux is safe and virus free because it's not widely used: It's safe because it's well designed and viruses will find it difficult to cause much harm.

5- Hardware support is poor: Every printer I have plugged into my Linux system has worked right away without requiring any driver installation. The only time I installed a driver is to get a certain scanner working.

6- It's Insecure because the source code is available: This argument is caused by ignorance of software building process. Some people think that the Linux source code is available in it's raw form on every Linux system and mistakingly changing a line or a dot will render the system useless. Wrong, the code is built into a binary form for it to run.

7- Free means bad for business: It has fetched RedHat $653 million in 2009. It provides your business good software at no monetary cost.

8- Few applications are available for Linux: Thousands of software are available and a great number of them free of charge.

9- Poor support, hackers and hobbyist are in charge: If you want paid support, then companies like RedHat, Canonical, Novell, Oracle and many more are there for you. Those names don't sound like hobbyists' names.

10- Poor quality because it's developed by amateurs and hackers working across the globe: The open and distributed nature of Linux development means more eyes are there to spot problems and more brains are there to contribute great ideas.

So, don't make any assumption on any software whether proprietary or open source. Get a first hand experience with it first instead of just believing the myths.

Sunday, 2 May 2010

FOSS Nigeria 2010

The second Nigerian free and open source software conference took place from 23rd to 25th of April 2010. The conference was tagged FOSS Nigeria 2010 and it took place and the Center For Democratic Research And Training, Mambayya House in Kano, Nigeria. The main sponsors of the conference are Hutsoft Nigeria limited and the Center For Information Technology (CIT) of the Bayero University Kano. I attended the first conference FOSS Nigeria 2009 last year and have noticed quite some improvement in the organization of the event which shows that the organizers are keen on making it a really great event.















Mustapha Abubakar of Hutsoft


Adrian de Groot K.D.E ev's vice president who was here last year attended this year's event from Netherlands while Frederik Gladhorn a K.D.E developer came from Germany.














Frederik Gladhorn

I am happy to note that this year's event has some participants from the Southern part of Nigeria. I had a brief chat with a team that told me that they are from Ibadan. LPI-Nigeria also sent a representative from Ibadan who conducted the LPI examinations for participants at a good discount. I never got Mr Ola's last name but he is a great guy.















Ola, Frederik, Adriaan and Mustapha at a restaurant.

The range of topics on which talks were given are broad. This range from introduction to K.D.E and Gnome desktops to localizations and open source 3D modelling.















Muhammad Ahmad Abubakar and Abubakar Dala of 3D Formular giving a live demo of blender

Talks were given by the following people

Adriaan De Groot (K.D.E ev)
Auwal Alhassan Tata (CIT, Bayero University Kano)
Frederik Gladhorn (FSFE)
Mustapha Abubakar (Hutsoft Nigeria Limited)
Murtala Kazaure
Ibrahim Abubakar Dasuma (Hutsoft Nigeria Limited)
Abubakar Dala and Muhammad Ahmad Abubakar (3D Formula)

I also gave a talk on making money with free software. I was quite surprised by the way it was received. I noticed some participants taking notes during the talk which tells me that they are keen on implementing some of the ideas I talked about.

This year's event saw the distribution of linux distro CDs (Ubuntu, Kubuntu and Opensuse) to participants. The last day was closed by the presentation of traditional Fulani dresses to Adriaan and Frederik.

Thursday, 26 March 2009

MTN 3G and Linux

If you have subscribed to MTN Nigeria's 3G internet service and want to use it with your linux box then this might help you to get things working. Note that the following procedure is not restricted to MTN 3G alone. It can be used to connect to other networks' 3G or gprs service.

I am using ubuntu linux 8.10 (Intrepid Ibex) with the Huawei E170 usb modem supplied by MTN Nigeria.

If you are also using ubuntu 8.10 then things are a bit more easier. The following steps are what you need to do.

1- Right click on the network icon on the top panel and select "Edit Connections" this will bring up the network connections window

2- Select "Mobile Broadband" tab

3- Click on "Add". A wizard (druid in linux) will come up

4- Select Nigeria from the country list and you will get a list of mobile operators in Nigeria.

5- Select MTN , click "Next" and "Apply"

The next time you left-click on the network icon on the panel you will get a list of connections. Select the one you just created "MTN" and you will be connected.

Now you are ready to start surfing.

If you are not using Ubuntu 8.10 or you still can't browse after connecting then the following steps might help.

I am assuming you have a program called wvdial shipped with your distro. If it's not there then you will have to install it.
To check wether you have wvdial, open a terminal window and type wvdial . If you get any other message apart from "wvdial: command not found" then you have wvdial on your system.

Now you need to edit the wvdial configuration file located at /etc/wvdial.conf.
type sudo gedit /etc/wvdial.conf
this will open the configuration file in gnome's text editor with write previlege. If you are not using ubuntu/gnome open it with the appropriate method on your distro. But you need to open it with root privilege so that you can have read/write access to the file.

this is the configuration on my system

[Dialer Defaults]
Phone = *99#
New PPPD = yes
Stupid Mode = on
Dial command = ATDT


[Dialer MTN]
Username = web
Password = web
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Mode

put the following configuration and save the file. If you want to know more about the configurations then check the wvdial manpages or google for more info on wvdial.

Now in the terminal window type "sudo wvdial MTN"

A series of messages will pass over the console screen.
If you got a message "CONNECT" followed by some IP addresses then you are on.

Open your browser (firefox in my case), uncheck the "Work Offline" option under the file menu and browse away.