Ubuntu Open Week - Day 3

May 1, 2008 by bobbo

Yesterday (Wednesday 30th April) was day 3 of the Ubuntu Open Week (which I talked about in an earlier post). I went to three sessions yesterday:

Q+A With Jono Bacon - Fun session with community manager and LugRadio genius, Jono Bacon. Fun session and he definately isnt planning to leave LugRadio anytime soon, which is great news.

Packaging Firefox Extensions by Alexander Sack (asac), the leader of the Ubuntu Mozilla Team and a really nice guy. Went through the basics of packaging a Firefox extension for Ubuntu and also explained why it is a good idea to have them packaged up in the repos. Good session if you are into packaging.

Podcasts In Ubuntu by Alan Pope (popey), leader of Ubuntu-UK LoCo team, somewhere high up in the UK Lug movement and presenter of the Ubuntu-UK Podcast. A fun session, even if you aren’t into podcasting like me thanks to the Ubuntu-UK regulars jeering him in #ubuntu-classroom-chat.

Ubuntu Open Week

April 29, 2008 by bobbo

Turns out yesterday (Monday 28th April) was the start of the Ubuntu OpenWeek, a series of online workshops that will teach you about how key parts of Ubuntu work, how to get involved with different parts of the community and most importantly tell you how to get involved with Ubuntu development. It is a bit like a conference, only on IRC and without the drinking.

Last time i went to only one session, a patching lesson run by Martin Pitt (pitti) that basically taught you how to use the multiple patching systems used in Ubuntu development, and it was great.

This year i have about 12 sessions in my Google calendar to go to. I didnt find out about it until tonight though so i missed the Bazaar, Packaging 101 and Package Merging sessions, all of which looked quite interesting.

There are sessions on until 11pm Saturday night so head over to #ubuntu-classroom on freenode (irc.freenode.net) to check them out. A timetable and descriptions of the sessions are available on the Open Week Wiki page.

https://wiki.ubuntu.com/UbuntuOpenWeek

PS. Anyone thats interested Matthias Klose seems to be uploading the Intrepid toolchain as i type, getting excited about the new version :)

Censorship Gone A Bit Too Far

April 29, 2008 by bobbo

My school (like most) uses a strict filtering system, that not only blocks websites based on URL but also scans each page for content that it thinks should be censored. This filtering is applied at the gateway level, so is therefore pretty absolute. Anything they dont want you seeing, you wont see.

Today I was reading Slashdot and came across the article about Hans Reiser being found guilty of murder. Obviously this is one to read, this sort of thing doesnt happen everyday in the FOSS world. I click on the the slashdot link to see the comments before going straight to the article. The top of the page displays fine (the Slashdot summary) but straight after that, where the comments should be, i am greeted with a big, yellow, “Syamntec Security” sign, telling me I cant read the rest of the page due to excessive use of banned words.

OK i think, someone must be doing some Slashdot style sick jokes that the filter isnt liking. I try to RTFA and get the same message halfway down the page.I then try to read about it on Wikipedia and halfway down the page, i am greeted with the same message. This is strange.

Obviously the school is blocking anything with more than a few occurences of the word ‘murder’ or something similar. What i think is strange is that even on Wikipedia, a site basically designed for learning, I cant read an encyclopaedic article about a suspected murderer.

Updates Aftermath

April 21, 2008 by bobbo

After doing all those updates this morning i decided i’d bite the bullet and install Hardy Release Candidate on my Stable partition. When i installed Hardy on my unstable partition i had used the Alternate CD so decided to give Hardy’s LiveCD a try. It downloaded (quickly) and burnt fine.

The new menu when you boot is pretty messy and is something i’d like to see worked on for Intrepid. Nothing seemed to fit very well and it felt like too much was trying to be pushed onto the screen at once. I hit the install button and was greeted with a 600×480 screen resolution with a Ubiquity (GUI Installer) window slightly off centre on the screen.

The installation process is pretty much the same. One big change is that the installer no longer talks to you about Grub (bootloading) unless you ask it to, which is good. It also detected my Windows XP partition without me telling to look for it or indicating it even existed.

Everything else has worked fine, once i got back into 1280×1024. The only problem is GDM. GDM has decided it wants to have a massive screen res so the login bar is in the bottom right corner of the screen. Looking back over the changelog in Ubuntu for GDM we see:

gdm (2.20.5-0ubuntu1) hardy; urgency=low

* New upstream version
- Use GDK functions to get proper screen resolution.
- Move default Welcome/RemoteWelcome strings from gdm.h to
gdm-daemon-config-keys.h so it isn’t defined twice.
- Translation updates
* debian/patches/70_mandatory-relibtoolize.patch:
- new version update

— Sebastien Bacher Tue, 08 Apr 2008 12:30:52 +0200

Wahey, GDK has got me a proper screen resolution, by giving me the wrong resoltuon.

/me goes to file a bug

sudo apt-get update && sudo apt-get upgrade

April 21, 2008 by bobbo

339 upgraded, 0 newly installed, 0 to remove and 53 not upgraded.

And thats why we all love Hardy. At least we are past Kernel Freeze so i dont end up booting my old kernel, without X and having to manually edit grub settings in Nano (yeah my set up is weird).

Hardy in 3 days!

Shell History

April 10, 2008 by bobbo

OK, my turn:

73 sudo
65 ls
47 cd
45 python
22 gedit
16 pyslide
15 htop
13 rm
12 time
12 cat

I dont think its properly accurate, but still pretty interesting. Im sure i have run ‘debuild’ quite a few more than 12 times.

MPAA, 1984

April 6, 2008 by bobbo

Im about halfway through watching “This Film Is Not Yet Rated”. So far it has been brilliant and i can see the remainder being just as good. There is 1 thing that has really struck a chord so far.

About 37 minutes in Maria Bello (Actor, The Cooler) says “in this country we [the MPAA] have desexualised sex”. This sounds exactly like what “The Party” did in 1984 by George Orwell. The MPAA are The Party of the American Film Industry.

This Film Is Not Yet Rated is brilliant, definately go away and watch it.

“1984 was meant to be a warning, not a template.” - Rt Hon David Davis MP

How To Make Windows 7 Good

April 5, 2008 by bobbo

After reading this great post on Slashdot earlier i have thought of a few ways Microsoft could make Windows 7 better than Vista, without turning it into a Linux distribution. Admittedly most of these ideas come from that Slashdot post .

1 - Virtualize the registry so bad programs can modify hkeylocalmachine but it’ll only affect them. Basically tiny registries for each application, that only the current program can access without the Administrators password. Also add a registry for the actual OS related things like startup programs, which can only be accessed once an Admin password has been entered.

2 - Add native compatibility for ext2, ext3 and other open-source file-systems. Unlikely to happen but would make them much more popular in the open-source community.

3 - Adopt the Unix superuser/sudo security model. User and admin accounts are seperate. Unlike the current system on Windows where the first user account made on a fresh installation is the admin, ship with an admin account already installed. Only this admin account can edit system files, install programs and touch all sections of the registry. An extension to this would add an /etc/sudoers file (or more likely a registry key in the system registry, so only certain users can access administrative tools.

4 - Make the user interface easily themeable. Pretty self explanatory. Microsoft could even make money out of this selling high quality themes, while letting users install community created themes.

5 - Use the equivalent of a /home partition where users store data. Use user permissions to only allow users to access their own data and make the root partition, where the registry, applications and system data is held, admin accessible only, so a password is required before it can be touched. This would mean at worst a silent virus (that doesnt ask the user for an admin password) could only destroy the current users data, not the data of every user on the system and all the system files. While this is still bad, it is much better than the whole filesystem being wiped.

6 - Get rid of Windows Genuine Advantage. It isnt deterring pirates and is in fact pushing people away from using Windows. Pretty simple really.

7 - Separate the shell from cmd.exe (if its still called that in Vista), so users can choose which shell to use. Most Windows users obviously just dont touch the terminal but advanced users and sysadmins would probably like to be able to install bash or zsh on their Windows boxes.

8 - Detect other bootloaders at installation so other OS’s arent left unbootable after a Windows installation. OK you can re-install Grub, but the less messing around you do with bootloders the better, in my opinion.

9 - Install an ssh client by default. Sysadmins would love that and it would save me downloading Putty all the time.

10 - Multiple workspaces by default. I dont know how people put up with a single workspace anymore. They are just a sort of essential now a days. One thing though, do not include some huge, memory eating compiz cube clone. If you are going to do a cube, keep it lightweight and low on memory, just like the compiz guys have managed.

11 - Do not release 10 different versions of Windows. There should be 4 at most. Windows 7 Home for most users, Windows 7 Business for businesses, Windows 7 Server for servers and Windows 7 Minimal which should be as light as possible, with a Fluxbox like UI for lower-end machines with around 192mb of RAM (MinWin?).

I have loads more ideas but that would make this post too long and most of them are just boring like removing adverts from Windows Live Messenger and removing the stupid blurring feature from the ‘glass’ theme.

Ubuntu April Fools

April 1, 2008 by bobbo

This morning i woke up to flying penguins on the BBC. April Fools day again! Doing my morning routine of stumbling into my computer chair, checking my email, checking Ubuntu Planet, checking Ubuntu forums and signing into freenode and some #ubuntu-* channels, i noticed something was up. Actually quite a few things were up.

Jdong has fixed bug #1 by uploading Automatix, Hardy has been delayed for 3 months, Ubuntuforums have taken on a new colour scheme, KDE vote yes to OOXML, Jdong resigns and gets a job at Microsoft, Kubuntu go in a different direction and the UbuntuForums staff swap avatars.

See kids, sometimes Linux can be fun.

The Best Django Feature

April 1, 2008 by bobbo

I think i have just found the best feature of Django. I originally set up my Django app to run on a sqlite database as i was developing it on tiger (my desktop) and MySQL access is limited to localhost on penguin (my server). Once my app was up and running i noticed that some queries on the Sqlite database were pretty slow and delays were quite long while content was loaded from Sqlite. I decided to attempt to migrate to my MySQL server. In PHP this could be a mission. Slightly varying dialects of SQL or a different library could make migrating a PHP app absolute hell. In Django this is insanely easy.

Messing around with my  site database files you can set up the parameters, do a ‘python manage.py syncdb’ , do a SQL file sqlite export and import it into MySQL. Done, the site is working from MySQL. That is absolute genius.