Sharing our scripts together

15 April 2008

Diverse technical interests

My technical focus has shifted quite a lot over the years.

I was really into computers as a small child, but took my teenage years off it to play guitar, bike outside and meet girls. Then I started to get more heavily into computers (again) in 1998 when I went to University and had a broadband connection.

I started by copy-editing for the web and writing bucket loads of HTML. This led to ASP and then a bit of PHP. I then, around 2002, moved to open source software and got deeper and deeper into Linux/Unix system administration, as well as, of course, making websites and setting up CMSes and so on.

Over the years I had picked up the very basics in many different programming languages, but I decided in 2006 that if I was going to develop my programming (while working and studying part time), then I should concentrate on one language for the moment.

I wanted a language that I could use to make interactive websites, as well as use for system administration, but it also needed to be good for programming for the Linux desktop.

So in the Summer of 2006, I sat in a relative's garden with a beatup ancient laptop and some printed out Python documentation, and never looked back.

These days my favourite computing activity is programming, especially with the Python, as regular readers might have noticed. I am churning out Python at a good rate, some of it for paid work, some of it for my own private learning and a tiny bit ends up in my public Python script directory.

In the coming months the amount of programming will rise still further as I am likely to take on some new roles from May, more of that will be revealed later when/if that happens.

Let's all share our scripts together

So I was asked:

> zeth have you got a bzr repo of your python scripts? so people using your little apps could give something back?

An interesting idea. The whole idea of free software/open source is that people can modify the code and share the changes. It might be that no one ever uses it, if so I have lost nothing, it is worth a try.

I only wanted to include the ones I thought were both useful and were relatively self-contained. The focus is on more on developing useful scripts that can be used by others, rather than in old scripts that only fulfilled a need of mine only. So I had a bit of a clear out, and uploaded nine fairly self-contained Python modules to Launchpad. With the idea is that I publish new ones there in the months ahead.

Here is the site. I was going to call it "Zeth's scripts" but since the idea is that it will be a collaborative affair, i.e. you can get involved, it is called Eden.

It is a garden because it is small now but might develop and change over time. Some scripts will grow, some will die.

For example, in the last post here, I made a module which took updates from Twitter and put them in pop-up notifications in the GNOME-desktop. Say someone takes the program and changes it so that Facebook updates are published instead, or makes it so it makes pop-ups for KDE or the Mac instead of for GNOME.

That person could then push their version ('branch' in bzr terminology') back up to the site. They do not need permission from me or anyone else. Launchpad can contain as many branches as you like.

Even more importantly, other people can also submit their own scripts and we can discuss them and modify them. You don't even have to use Python (shock, horror).

Making your own branch

So to get your own branch of the programs.

bzr branch lp:eden

Now lets say you have edited one of the scripts, or you have put new scripts into the directory. You can then share them back to launchpad like this:

bzr push sftp://zeth0@bazaar.launchpad.net/~zeth0/eden/devel

Replace zeth0 both times with whatever your launchpad username is.

If you don't have a launchpad username click here and enter an email address.

As that bloke with the beard says, "Happy Hacking".

Discuss this post - leave a comment

1 andylockran says...

Zeth. Looking forward to playing with your scripts.. will be good to upload the version of zetact that I've hacked with (one line change thus far) :)

As for the "it doesn't have to be python" line.. that's shocking! But I like the fact you've filed it under python so that people are subconsciously led to using python anyway. Good plan!

Posted at 2:37 a.m. on April 18, 2008


What do you have to say?

Show Editing Help


About

Hello, my name is Zeth, I'll be your host here.

Command Line Warriors is about taking control of your own technology, it looks at our experiences of computing; especially using GNU/Linux, the Python programming language, the command-line and issues such as techno-ethics, best practices and whatever is cool now. If you take control of your technology then you are a Warrior too!

This site is your site too which means that you can contribute and get involved. You can leave comments using the facility provided. For me, the comments and discussions are by far the best part of the site. So please do have your say!

Latest Discussions

Omar Zabaneh

July 25, 2008
Zeth, Thank you for this post, very helpful. I used it as a basis for my own email validation function that i wish to share with you, in a selfish ...
Email Syntax Check in Python

Double Booting Bastard

July 24, 2008
I agree with Nui, Linux is great for many things but not everything. A lot of, less mainstream, hardware is a time consuming and often fruitless task to install and ...
Give Linux a chance

John

July 23, 2008
Duncan, sadly the permissions are stored with the data (inode), not with the directory entries (hard-links). Zeth needs ACLs -- no way to do this with basic unix permissions.
Advanced Unix Groups

Garrick

July 21, 2008
I do love my iPhone. That being said, I would trade it in a heartbeat for a STABLE Openmoko FreeRunner.
This week - iPhone vs a can of compressed air, and Django NewFormsAdmin

Daniel Davies

July 21, 2008
With regards to your last paragraph, you are certainly correct. Right now Django is a nightmare to use across multiple sites... we have some sites running the newformsadmin branch, others ...
This week - iPhone vs a can of compressed air, and Django NewFormsAdmin

Nui

July 18, 2008
Hmm, this would be more persuasive as an argument with some evidence. I am a happy admin of Windows and a novice user of Linux, so I have taken the ...
Give Linux a chance

Paddy3118

July 18, 2008
Hi, I too work with Electronic Design Automation tools, where Tcl is used extensively. I tend to only occasionally have to write in Tcl and so find the TclTutor utility: ...
Python and TCL

Cliff Wells

July 17, 2008
I personally cannot live without the Web Developer extension or Firebug. Unfortunately these are probably both among the more difficult to port extensions. Given how poorly Firefox functions on Linux ...
Will Epiphany be able to compete with Firefox's extensions?

Åke Forslund

July 13, 2008
I'm pretty much a novice in both of these languages but I find them both easy to use and preform the tasks I give them. However I rarely use them ...
Python and TCL

Christopher Thoday

July 12, 2008
A single test is not sufficient to give you confidence that the algorithm is working. You should make 'number' an argument of 'main' so that you can test some boundary ...
Python and TCL

paul21

July 10, 2008
Shame on Mozilla. They should make developers specify the extension license before hosting it. They should show the license next to download button as well.
Are your Firefox extensions proprietary software?

Tris

July 8, 2008
Justin - You say they had not heard of Linux? That doesn't sound very professional to me!
Give Linux a chance

michael

July 8, 2008
what about Galeon? in Gnome i use Galeon mostly. it is fast and stable and has a nice portal with search masks for Debian, FSF, Freshmeat and so on. wtf ...
Will Epiphany be able to compete with Firefox's extensions?

vermin

July 7, 2008
> Eventually, after a bit of digging and Googling, I found their Toolbar-License... You simply found the license of the StumbleUpon Toolbar for Internet Explorer. This is another product, much ...
Are your Firefox extensions proprietary software?

Andrew West

July 6, 2008
Both the Python and the Tcl example could do with error checking. While at first this may not seem on topic with the post I think it better shows the ...
Python and TCL