Python

GNUnify2010 and my python workshop

Friday, February 26th, 2010 | Community, Fedora, Python | 10 Comments

GNUnify2010 was the first for me. Started a bit early to the venue, Rahul was along with me. His talk was in top of schedule. I slowly moved to the lab where my python workshop was scheduled.

The main target of the workshop was to show/teach the basics of the python programming language. I hear mostly students asking “How to start working on a project?” but as the learning curve is not so easy in most of the things, they run away. The only students we have from India who are contributing to any FOSS projects are the people who came in their own interest. I found programming with python can be an easy entry point for the general students and they can become better programmer in life. This is the main reason behind my python workshops in different places.

No need to buy books, great online community, projects working on different dimensions, all of these can generate interest in the students.

Coming back to my workshop, I generally try to follow my own book (which I have to update). Slowly going through simple examples and showing that it is not difficult. I ask the students to solve the lab works they do in any programming lab in python. This will help them to understand the basics of the language. The workshop lab was supposed to have 30 students, but many more came so I had to ask them to seat in groups in the computers (most of them was running Fedora ). The basic feedback I got, states that it was easy, but how the students are going to use this, I have no clue. Btw, most of the students in my workshop were from Pune University Maths department, I told them to attend Ramki’s workshop in the second half as his workshop was about explaining how to solve mathematical problems.

my python workshop

At the end of the workshop I showed few applications written in python and talked about job opportunity in market. 2 students contacted me after the event.

Full set of the event photos can be found here.

Coming month, I will be in Durgapur, doing another python workshop , I will also conduct a Django workshop.

The post is brought to you by lekhonee v0.8

Tags: ,

sparcy — command line utility for Spac Systems Limited GPS loggers

Friday, November 20th, 2009 | Community, FOSS, Fedora, GPS, Python | No Comments

Few days back I bought a new GPS data logger from Sparc Systems Limited , GDL 3204. It comes with a nice 3 page manual. The last page explains the data format of the logs.
The device works in a very nice and easy way, it is having 32 channels.

We already had a nice python script to parse the log and create gpx files. But for me , every time “cat”ing the device and then convert the log is a difficult task.

Sparcy , which can get the data from the device and convert them into gpxfor you. If you already have the raw data, you can convert them to gpx too. People from #osm helped me a lot to understand how latitude and longitude calculations are done.
RPMs are available here.

The post is brought to you by lekhonee v0.8

Tags: , ,

Dependency chart for kde-settings

Thursday, November 5th, 2009 | Fedora, Python | 2 Comments

Download from here.
Warning 18MB , may crash your browser and system, download and view with a desktop image viewer.

The post is brought to you by lekhonee v0.8

Tags: ,

Boog, the desktop bugzilla client for Fedora

Tuesday, September 1st, 2009 | Community, FOSS, Fedora, Python | 7 Comments

Few nights back I was looking for way to explain my dad how to file a bug and this starts from there. Me and mether had the initial discussion in the middle of night about the basic design and workflow.

From the project page “Boog is a desktop and command line bugzilla client that aims to provide a very easy and simple interface for end users to file bug reports. We aim to built some intelligence into the client. We will collect the Fedora version and component version information, hardware details, log output, SELinux status and other details depending on the component the user chooses to file a bug report against.”

To get automated information , I wrote some code based on this wiki page.If your package requires any other information which can be collected automatically please drop a mail to me.

I started writing a console based client for the same. For now we thought that user will know against which package he wants to file the bug.

The first screen

boog screen 1

In the next screen, user needs to put the username and password or it will pick them up from a config file.

boog screen 2

Next is the package name

boog screen 3

Then a single line summary

boog screen 4

Next it will open up your favorite editor based on $EDITOR environment variable or it will fallback to vi.

boog screen 5

Finally it will show the report to the user , user may want to submit that to go back or cancel the whole operation.

boog screen 6

While submitting the bug it will automatically upload the files to be attached.
After submitting the report the user will get an URL of the bug just filed.

You can see the process in this screencast.

We need help on the mockup of the Gtk based GUI. Please contact me or mether in case you want.
Any new ideas or suggestions are welcome :)

The post is brought to you by lekhonee v0.7

Tags: , ,

pony 0.4 released

Friday, August 14th, 2009 | Community, FOSS, Fedora, KDE, News, Photography, Python, Qt | No Comments

I just released Pony 0.4 into the wild. It came out with a 2 days delay :(

Pony is a KDE based image manager. The main feature is to create Collections out of removable devices and watch/search the thumbnails offline (when the media is not attached).
New features in this release:

  • shortcut key ‘u’ to get the upload to flickr dialog
  • Hot keys: Now one can assign hotkeys using numeric key board , right now only %f (selected filename) is supported there.

Download the source or you can use this yum repo for Fedora 11.

The post is brought to you by lekhonee v0.7

Tags: , ,

translation-filter 1.0 released

Wednesday, July 29th, 2009 | Community, FOSS, Fedora, KDE, Qt | No Comments

A massive jump in the release number and now we have translation-filter 1.0 :) Download the source from here.
What is translation-filter ?
It is a tool to imporve l10n quality by helping in finding different corner cases. This is being developed as a part of aukur.org.in . It is having two GUI(s), one Gnome and one for KDE and a command line version. Couple of the features are only available in the command line version.
Different features of translation-filter:

  • It can search for word(s) in a given directory or some selected files. The result will be saved as an HTML file or can also be seen in the command line. By using this features one can check consistency of usage
  • It can create single word based list from the given .po files. It will contain both the term and translated string(s)
  • It can check for any unattached dependent vowel sign. Right now it can find that for the Indic languages. Like ি and া can not sit beside

To know more about different options read here.

The post is brought to you by lekhonee v0.6

Tags: ,

Search

Archives

Categories