Nov
11
2009
Posted by Fab
Just a quick note to everyone who had shown interest in this: I have now released version 0.01 of Katian. This release mirrors pretty much the state of my machine right now and I am putting it out for anyone who liked the first version but is looking for fresher packages based on Xubuntu Karmic. I do not, however, recommend installing it. This version is still very rough around the edges and also a bit transitional since I will try to base .02 on Ubuntu proper (with Gnome). The reason for this is that I have run into some limitations with Xfce — I still love Xfce, but I think full Gnome is getting a lot faster on Ubuntu and since I’m not really concerned with .iso sizes I will try if it suits me more. And yes, this distro is bloody massive already. If you want to try it out, I really recommend using UNetbootin to make a bootable USB stick — It’s so much more 21st century and also saves the planet by not coating it in unused Linux distro discs.

If despite all the warnings you still want to try this new version out, you can download it here. Make sure you have a recent backup and enjoy! And keep your eyes on this blog or on the Launchpad page for news of version 0.02 which should be arriving relatively soon…
4 comments | tags: gnome, hacking, katian, ubuntu, unetbootin, xfce, xubuntu | posted in Development, Personal
Sep
16
2009
Posted by Fab
Update: This hack is no longer necessary, since the version of SLS now available on the market has been patched to enable scrobbling to Libre.fm as well.
This tutorial will enable you to scrobble your played songs from the Android music player to Libre.fm. Thanks to JonTheNiceGuy for explaining to me how to do this, he did basically all the work!
Warning: Attempt this hack on your own risk. This might break your phone, your computer or blow up your house! The Linux Outlaws cannot be held responsible for any consequences anyone might suffer from hacking their phone in this way.
Prerequisites
You will need the following stuff before we can begin:
- Install Version 1.5 of the Android SDK and set it up (this might also work with the newer Version 1.6, although I didn’t test that)
- Install Eclipse 3.4 or 3.5 and configure it for the SDK as explained here
- Make sure you have enabled “USB debugging” on your phone (do this under Settings → Applications → Development)
- Install svn if you haven’t already done so (on Ubuntu, this is a simple
aptitude install subversion away)
If, like me, you are using the Samsung i7500 “Galaxy”, you also need a special workaround to get the ADB working with your phone:
- Create the file /etc/udev/rules.d/51-android.rules and paste the following text into it:
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
- Reload udev:
sudo /etc/init.d/udev restart
- Replace the ADB binary in the tools directory of your SDK with this one
- Plug in your phone and start DDMS
Hacking Simple Last.fm Scrobbler
Once you did all of that, you are ready to start on the main part, hacking Simple Last.fm Scrobbler to report to Libre.fm instead of its “evil” counterpart:
- Make yourself a new project folder, change into it and get the source code of SLS with svn:
svn checkout http://a-simple-lastfm-scrobbler.googlecode.com/svn/trunk/a_simple_lastfm_scrobbler
- Attach your phone to the computer
- Open a new Android Application project in Eclipse and import the source code you just fetched
- Navigate to src → com.adam.aslfms.service and open the Handshaker.java file
- In this file, change the FQDN in line 187 to
http://turtle.libre.fm
- The whole line should now read:
String uri = "http://turtle.libre.fm/?hs=true&p=1.2.1&c="
- Save the file and push the green Run button in the Eclipse toolbar, in the popup choose “Android Application”
- The modified application should now be installed on the phone and will be started automatically
- Just sign in with your Libre.fm username and password — happy scrobbling!

If you should be adventurous enough to try this, please give me some feedback on how you got along in the comments section. I will also try to answer any questions you might have, of course.
3 comments | tags: android, audioscrobbler, hacking, i7500, jontheniceguy, lastfm, librefm, samsung | posted in Articles, Development, Podcast
May
12
2009
Posted by Dan

28th June - 4th July, Birmingham UK
Some time ago I heard about the EuroPython 2009 Conference and it seemed really interesting. Even more so because it’s being held in Birmingham, UK; somewhere I can get to reasonably easily. I contacted the organisers and we discussed my coming along to cover the event for the podcast. They were great and even made us official media partners, how cool is that? In my infinite wisdom (sic) though I decided to leave it a few weeks before beginning to really promote the event, and me being me, in that intervening time, I forgot. #facepalm
Fortunately, the event isn’t on until the end of next month so I hope some of you will still have plenty of time to book. Particularly if you live in the UK. There will be tutorials and classes in Python available, along with some great keynote speakers like Cory Doctorow and Professor Sir Tony Hoare, to name just two. There will also be many other great things to do and I think it could be really valuable to anyone who develops in Python, even those just looking to get started. I’m a big fan of Python and I make no secret of that. I also love Django (the Python web framework) for rapid and effective web development. The EuroPython event website is actually written in Django, so they immediately won points from me there. Without any further ado (waffling on my part) I should get to the vital event details:
EuroPython 2009 – 28th June to 4th July, Birmingham, UK
There’s even a promotional video (download link) on the website, along with much more information
It should be a lot of fun and I hope some of you will make it along. You can come and say hello to me as well of course, though that may be less of a promotional incentive. I’ll stay out of your way if you’d prefer
So get booking now if you’re interested, the Early Bird sign up rate finishes very soon!! Hence my timing FAIL. Get it while you can and I hope to see you in sunny Birmingham in the summer.
Dan
(WARNING: Actual sun of the warm yellow variety may not be included, see pack for details)
3 comments | tags: conference, event, python | posted in Development
Apr
17
2009
Posted by Fab
As I have briefly talked about on Episode 87, I have spend the last month or so remastering Xubuntu according to my personal tastes. I build the final .iso image yesterday and installed the first version of Katian on my main machine this morning. It still has a few bugs, but it’s mostly working and so I have released it earlier today as Katian Crow 0.00 — in case you are wondering, the distro itself got its name the same way that Debian did and the first release series is named after Crow, Adelai Niska’s henchman from the Firefly episode “The Train Job“. As suggested by this naming choice, we are talking about extremely unstable alpha software here. You are welcome to try it, but don’t blame me if your system looks like it went through a spaceship engine afterwards…
As I have said on the show, this isn’t really a distro and it isn’t really meant to be used by people other than me. It’s more about my personal choices in packages and desktop customisation than anything else and it is decidedly freedom-hating. It is also massively bloated, weighting in at around 976 MB, you could even call it Big Damn Linux in a way. I have learned a lot dabbling in creating this and will probably keep it up, if only to maintain my own versions for personal use. I am also looking at publishing a detailed howto article to document the process I’ve followed since a few people have expressed some interest in it. I will keep you posted on that endeavour. In the meantime, enjoy tinkering with the first release and file some bugs if you encounter any. Just remember to back up all of your stuff before downloading this!

13 comments | tags: distrohopping, firefly, hacking, katian, xubuntu | posted in Development, Personal, Podcast
Dec
23
2008
Posted by Fab
Just a quick note wishing you all a happy holiday and a good start into the new year. I am leaving for my parents’ place in Duisburg tomorrow and after a quick stopover back home to release the final episode for 2008, I will be on my way to the Netherlands to spend the “time between years” in Zeeland like I did last year. I hope to see all of you refreshed and ready for more Linux Outlaws action in 2009!
Remember, we will skip the first week of 2009 but will be right back in the swing of things around the 10th, so stay subscribed to those feeds!
Comments Off | tags: christmas, duisburg, germany, netherlands, schedule | posted in Articles, Development, Personal, Podcast
Nov
21
2008
Posted by Fab
As I have alluded to before, I have for some time been working on my own publishing system for podcasters written in Django. Recently, I have been contacted by Bradley Kuhn who has written the beginnings of a similar system (also using Django) for the SFLC podcast (which Dan produces). Since I am not very far along with my system and Bradley is looking for someone to clean up his codebase and maintain it, we have decided to merge our efforts. The project has been tentatively titled “Podjango” and Bradley has set up a bzr repository and Trac instance for us. We also created #podjango on irc.freenode.net and most development discussions will probably happen there, so join us if you are interested.
In the longrun, I am looking to replace the main part of this site with the new system, but that may be a while. First I need to brush up my Python skills and wade through this code. I’ll keep you all posted…
Comments Off | tags: bradleykuhn, bzr, django, podcasting, podjango, python, sflc, trac | posted in Development, Website