headermask image

header image

MobiVision Workshop

LUG is back with a bang, this time on Mobile Programming featuring Python on Series 60 and Android. We are always committed in promoting Open Source and free software to the general people. This is another step to achieve our goal.

The workshop started on 1st of September, it was really heartening to see such a huge turnout. The first years were the most enthusiastic to pursue the workshop as they sensed strong content in our presentation. The total turnout was around 240, which is more than expected in any technical event held in MIT. MobiVision has set a history and should be written down in golden letters. The workshop is of 5 days and the batch is divided into two. One part is being handled by Python on Series 60 people and other by Android people.

The workshop will teach people two mobile platforms- Python on Series 60 and Android which uses Java. Android is a new software stack released by Open Handset Alliance which is led by Google. Python is a language which has a port for Symbian 60 phones. We did face a lot of problems in getting rooms for holding the workshops, but somehow managed it.

Android Section:

The first day was dedicated to Java tutorials and Installation of the softwares due to which progress was quite slow. It could have been better if Vista didn’t give problems with its authorization concepts (which were copied from Unix but implemented badly). The second day, we started them with  basics of Android programming and as usual software installation continued. The problem with Android is that we first need JRE or JDK to get the JVM running. Then Eclipse has to be copied which runs on JVM. Then Android SDK has to be installed and the Android Developer Plugin has to be installed in Eclipse. All these took a lot of time.

Many people were having problems running Android Emulator and Eclipse. These were called today at 4PM at Innovation Center so as to get the problems fixed at the earliest. Due to Ganesh Chaturthi college was closed and no workshop today. We hope to teach them a lot in next 3 days left in the workshop.

Symbian Section:

Symbian people were lucky to face the Vista problems the first day itself. They started with scripting on the second day with Loops, Conditional statements. Symbian Emulator is available only for Windows unlike Android Emulator. They even plan to install Python on the S60 phones which people may bring in next class. The people were quite attentive and picked up everything very easily. They still have 3 more days to go and hope by that time we may have many bonds lurking around in MIT Campus.

If people really take interest in Symbian and join Nokia Forums, they could earn lots of name and fame as most of the excellent developers do contribute and share code at that place. It would be a status symbol for our college to have so many developers

How to learn Linux – Part I

This is probably the toughest question which I have ever faced in my life. Linux isn’t a programming language or networks paper where you have tabulated contents or a language specification. Its something more than that. Sounds Weird? Isn’t it?

To learn Linux you don’t need pen-copy and other stationary at your disposal. Just a cool mind, bubbling with confidence. Get a cup of coffee, sit back and relax. The plane is about to take off!

Learning Linux isn’t getting some specifications. Its a complete Operating system, which has user friendly GUI and has some great OS concepts for the geeks. The former part is not a big deal as its similar to learning windows, the latter part needs to be covered.

Before getting started please read these two FAQ:   FAQ 1 and FAQ 2

1) Get to know about the other distros: Do you know any other distros apart from the distro you are using? Say if you are using Ubuntu, do you know about other famous and friendly distros which are making as much news? Other great distros include Fedora, OpenSuse, PCLinuxOS and some examples of geeky ones are Gentoo, Slackware. Leave these geeky ones if your taste doesn’t match. Be a n00b till you feel free to break out to the wider world.

2) Know about the history of the distro you are using: It may look foolish! What do I have to do with older versions? This is a nice way to know about the trend which your distro is following. What are the features they expect to include in their future releases. What mindset these distros follow while releasing their new versions. What is the release cycle of your distro? What is the next release date? Isn’t it useful? Think twice!

3) Learn about the different desktop Environment: There are many desktop environments available out there which include GNOME,KDE, XFCE. What are their features? What are the specialties? What are their requirements? Which one is lighter, which one heavy? I have hundreds of question to ask, you might be having much more!

4) What is a Kernel: Quite basic but a big geeky question! I have heard people looking at each other’s face when this question is asked and then they look at me. In Layman’s language, we can explain it as a heart of OS. Compare it with engine of a car, where kernel is engine, gasoline is external power, mouse as driving wheel. Oh wait! My explanation is becoming too dumb! :D There is not just Linux kernel available, search for GNU Hurd and many more kernels available, out of which Linux is most popular. Hey did I mention that Linux is just a kernel, the whole OS is called a “Linux based distro” or simply GNU/Linux.

5) Linux File System: You should learn about the filesystem tree of Linux, how different partitions are mounted/accessed. Did you know that each device connected to the computer is represented by a file, each disk, partition are also represented by a file. These are called special files. Even directories are files, they are infact a file which point to an array of files. Where are all the configuration files stored? Its in /etc. Where are partitions mounted to be accessed (Ans: /media). Where are all the installed software’s executables go? (Ans: /usr) Where are all the device files stored? (Ans: /dev)

6) Permissions: This is one of the biggest hurdles for a newbie coming from windows world. According to him, this one is the most annoying feature at the beginning until he/she learns why is it actually needed. It contributes a lot to the security enjoyed by Linux boxes. You can make a file read-only for others, writable for the whole world or give the write permissions to some limited people by forming a group. Fine tune your policies as you like, nobody gonna stop you anytime.

7) Root User: If God who holds unchallenged powers exists, then why cant we apply the natural law to this beautiful OS too? There can be many users whose powers are at par with root user,but never equal! Heard about sudo? It’s used by non-root users.This is a keyword to be prefixed before those commands which require root access like installation,network configuration. For this the user must be in sudoers list (by default most users are in this list)

8 ) The different Applications for Linux: Who says that there are shortage for applications/softwares for Linux. Bring him to me, rest I will take care :D Coming to the point, I can say that there are thousands and lakhs of softwares available all of which are in the repositories. Now what is repositories? Hope you have already checked out the FAQ’s Link given at the start of this article. You don’t need to hunt them down and install, just an apt-get or yum is self sufficient.

9) Package Management: This is one topic which I would speak less and ask you to work on more. This is one of those topics which had unlimited theories and similar crap to waste time by writing in the blog. Trying it out hands on would be the best way of learning. Basically there are two types of Package Managers, Debain based which uses APT and Red Hat based which uses YUM. Both are good and provides you alternatives in case you arn’t satisfied with one. I think I have said enough of package management. A Linux software doesn’t come packages as one single exe file. Many different packages constitute an application. Don’t worry about which all packages you need to download, this is the place where package manager comes into play. It resolves all dependencies which are required for installing some simplest to complex software. For more knowledge Click Here

These topics are just pointers for “How to Start? Where to start from?”. It isn’t a complete reference, remember “Google is your Friend”

Wait for another blog post, you would be able to gulp down the second one only if you read this and did tried out yourself most of the things.

Have Fun Mates! :)

LUG meet on 13/08/2008

We scheduled a LUG meet on the above mentioned date at 5:30 PM in NLH 404 (that led Ankur to include a nice pun in the poster) which had to be later shifted to 405. Both rains and the nuisance created by some members of a certain club taking down our posters in a lot of places contributed to a low turnout, which was around 30. But, this time, I may proudly add, that it felt like what an actual LUG meet should be. All of those present contributed a lot of ideas regarding the future course of events to be organized by the LUG. So we drew up a list of the things on which we will be conducting workshops and talks:

  • Shell scripting on bash
  • Mobile development
  • Yet another installfest including the very important part of configuring the network interfaces
  • Cubing (solving Rubik’s cube)
  • Working with development tools like gcc and vim
  • Basics of assembly language programming

….and a lot more!

Keep looking for our posters in the campus for any upcoming events.

Forums Update

Hi all,

I’ve hardly noticed any activity on the forums. It could be due to the fact that guests were not allowed to view the forum and that scared everyone away :) I’ve squashed the bug and now you can view the forums and read posts without logging in. To comment, post or send a new message, you will need to login; registration is free, of course!

We’ll be adding contests for forum users. So, head to the forums and become active to win free Goodies from Racked Hosting!

forums.lugmanipal.org


Swaroop Hegde
Director, Racked Hosting LLC

Things To Know

Here is another series of Things to know

Looks like this is a vey release full Time………

Java is completely open now

At JavaOne in May, 2006, Sun Microsystems announced they were going to release Java as free software under the terms of the GPL. The size of the task (6.5 million lines of code) was only eclipsed by the size of the opportunity for Java as a free and open technology.

At JavaOne in May 2007, Sun announced that the work was largely completed and so OpenJDK was launched. What was less newsworthy was the fact that on release – OpenJDK still relied on code that was encumbered – between 4 and 5 percent of the code was closed, non free source that Sun didn’t own.

read more

Synaptics Touchpad in Fedora 9

I have been using Fedora 9 from a long time and it really kick’s ass but i was facing the problem that my Touchpad was not working with it but the i found the solution here
Here is how to do it

The easiest was will be to install the package http://atrpms.net/dist/f9/synaptics/
or you can do it manually here

edited the /etc/X11/xorg.conf
gedit /etc/X11/xorg.conf

Added the following to the ServerLayout Section
InputDevice “TouchPad” “CorePointer”

add a new section:
Section “InputDevice”
Driver “synaptics”
Identifier “TouchPad”
Option “SendCoreEvents”
Option “Protocol” “auto-dev”
Option “SHMConfig” “on”
Option “TapButton1″ “1″
Option “TapButton2″ “2″
EndSection

all done logout and login again and everything should be working fine

Update: found the rpm package here

Installing ndiswrapper on ubuntu 8.04

I installed Ubuntu 8.04 today and faced this problem of WiFi again but ths time even installing ndiswrapper diddnt worked so had to find a way to make WiFi work on boot and here it is

For this First You need to install ndiswrapper, no need for net coz the packages are included in the CD / DVD of Ubuntu just go to System>>Administration>>software sources then uncheck all downloadable from internet, Third party and Update repo’s only select Installable from CD-ROM/DVD. Now open a Add/Remove from Applications>>Add/Remove.. there select all avaliable appliactions in show, now seach for ndis you will see Windows Wireless Drivers select it and click Apply changes it will ask you for the CD insert the CD and it will get installed, now you just have to install the drivers of your card for this open System>>Administration>>Windows Wireless Drivers and install the windows wireless drivers ( bcmwl5.inf for hp6515b bcm4312) now follow these steps, type
sudo -i now you must be as root then type
nano /etc/rc.local the file should read
rmmod ndiswrapper
rmmod ssb
modprobe ndiswrapper
exit 0

all done now just reboot and enjoy your Linux……..

Things you should know

Its been a long time since i have posted on LUG’s Blog coz i have been bit busy sorry for that, but now i have decided that apart from creating all the posts and writing stuff on my on I will start giving out links to outer blogs/sites which have some good articles so here are a few things you should know

  1. openSUSE 11.0 Beta 1 announced
  2. Ubuntu 8.04 LTS Release Candidate Released is here
  3. Sun Certifying Ubuntu – with Hardy Heron!
  4. Gartner: Windows is too monolithic
  5. ODF is now a Brazilian Standard

The Sleeping Giants Awaken

Finally ,guys, our editorial team seems to have woken up and decided to come out with the greatly awaited and highly anticipated e-Magazine. Its been a long time coming so hopefully it will live up to our expectations and will be worth the wait. This is something to which all of us should contribute by way of articles. so guys pull up your socks , put on your thinking hats and write a few worthy articles. Need not be Linux related articles . Any tech article is welcome.Send in your articles before the 19th of April. The e-Magazine should be out sometime next week.

Hoping for a good response!!!