The Blag of The Ffejery

Shunning Wordpress Taglines since 2009

How *NOT* to Write a Multiple Choice Question

I had an exam today, in a course I won’t name.  It was entirely multiple choice, and while most of the exam was normal, one question made me rather confused.  This was the format of it (I forget the actual question):

A) Answer One
B) Answer Two
C) Answer Three
D) Answer Four

So far. so good.  However, below that, this was written:

A) D
B) C
C) A
D) B

Wait – what?! I fail to see why redundancy was needed; it looked like the first block of potential answers had been scanned/photocopied into the main body of the exam, but that still doesn’t make much sense.  But redundancy wouldn’t be bad if it weren’t for the confusion that was added.  How does it make any sense to mix up the choices for the actual answer?  It boggles my mind…
So yeah – don’t do this on tests.
- The Ffej

 

October 28, 2009 Posted by The Ffejery | Life | | 3 Comments

The Third Kind of Free

  1. Free as in Speech
  2. Free as in Beer
  3. …and Free as in Rum

Everything is Free.  This is the Third Kind.  Buy your t-shirts here.

(Background story)

September 25, 2009 Posted by The Ffejery | Thoughts | | 3 Comments

Great Moments in Journalism

28 August, 2009:  The BBC uses the phrase “Epic Fail” in the main text of a news article.  Epic Win!

15 September, 2009: The New York Times Blogs quotes Urban Dictionary.  Apparently the Oxford doesn’t have a definition for “*facepalm*”.

If you’ve seen anything else like this, tell me in the comments, and I’ll add it to the list.

- The Ffej

September 17, 2009 Posted by The Ffejery | Uncategorized | | No Comments Yet

Einstein Maemo Port – Beta Release

This is just a placeholder for now, because it’s almost 4am.  Check out this thread for details: http://talk.maemo.org/showthread.php?p=317795

I’ll write something real tomorrow ;)

Goodnight,

-The Ffej

August 29, 2009 Posted by The Ffejery | GNU/Linux, Software, maemo, projects | , , , , | No Comments Yet

Arch Schwag!

As I’m sure I’ve mentioned on this blag, I primarily use Arch Linux for my personal boxen, as I like its configurability, and KISS philosophy (I have a love-hate relationship with the accompanying DIY philosophy, but that’s another discussion).  Because I love Arch so much, I decided to purchase some schwag to show my support, specifically, the beautiful silver pendant they have in the Schwag Store.  These pendants look even better than the picture on the product page; I was really impressed with the workmanship, and the Arch logo is just cool to begin with.  The lower portion of the ‘A’ has a brushed finish (I love brushed metal), and the upper portion is finished normally.  When I ordered, I didn’t realize that the pendants were made on-demand, but luckily, production and shipment were quite fast.

Here’s a picture!

-The Ffej

August 25, 2009 Posted by The Ffejery | GNU/Linux, Life | , , , , | No Comments Yet

Internet Sharing with the N810, or “How to make a $400 WLAN adapter”

I’m currently living in the top floor of a house, with the basement rented to another tenant.  Being the poor student that I am at the moment, I couldn’t afford Internets for the whole summer (*gasp*), but my neighbour agreed to let me share hers.  The problem was that my desktop has no wireless card, and as mentioned, I’m currently poor, so I can’t buy a USB dongle.  Thanks to Macer and Luke-Jr on #maemo, I got this my N810 set up to share its wireless connection with my desktop over USB networking.

This guide assumes a Linux desktop with usbnet  support available (try running modprobe usbnet as root to find out if you have the module), and an N810 with root access enabled.  I’m going to also assume you have the PC Connection Manager installed on your tablet, as it makes things simpler for most people, and also quicker to configure on the fly.

- On the Desktop: as root, run

modprobe usbnet

ifconfig -a

this should list several network interfaces, and one of them should be called usb0 (or some other number, if you are already using USB networking for something else).  Write down the address listed under wlan0

- On the N810: plug your Nokia USB cable into the N8×0, and into your desktop.  Then run the PC Connection Manager applet from your tablet’s control panel.  Click “Advanced”, then the ellipsis (…) button at the top.  Click “New”, and name our profile something like “HappySharing”.  (It really doesn’t matter what you call it.) Select that profile, and click “Select”.  Under the Tool Manager tab, uncheck anything you don’t want.  If you don’t know what it is, just uncheck it – it shouldn’t affect what we’re doing, but if you don’t know how it works, you probably don’t want it on ;) .  Under the Network Manager tab, under “USB Network”, select “Network” from the combo box.  Then enter the following in the text boxes:

IP address: [same as your N810's wlan0 address, noted in the first step]

Gateway: [Whatever your router/gateway's IP address is]

Network mask: [for most people, 255.255.255.0]

Click “Save”, and then “Apply”.

- On the Desktop: as root, run

ifconfig usb0 192.168.x.y up

route add default dev usb0

Where x is the same subnet as your wireless router (usually 1 or 0 for consumer models), and y is an unused static IP address on your network (check your router settings to find out where the DHCP-assigned addresses start, and choose a number lower than that).

- On the N810: as root, run

route add -net 192.168.x.y netmask 255.255.255.255 dev usb0

echo 1 > /proc/sys/net/ipv4/ip_forward

echo 1 > /proc/sys/net/ipv4/conf/all/proxy_arp

Where x and y are the same as in the previous step.

After this is done, everything should work.  Try pinging something from your desktop (you’ll need to set up static DNS servers – 4.2.2.1 and 4.2.2.2 work fine, if you don’t know any others off the top of your head).  Each time you unplug your N810, you’ll want to use PC Connection Manager to select the “None” profile, and every time you want this set up again, you’ll have to switch back to the profile you created, and then redo the last two steps.

I may well have forgotten some detail, or made some assumptions in writing this other than what I mentioned, so if you notice anything that doesn’t look right, or doesn’t work, please let me know in the comments.

Happy forwarding,

- The Ffej

August 18, 2009 Posted by The Ffejery | GNU/Linux, Tutorials, maemo | , , , , , , , , | 4 Comments

Photo Contest Update

I received a nice e-mail today, informing me that I had won the Overall/”Best-in-Show” prize from my university’s engineering photo contest.  My winning entry was the one entitled “7-SEG”.  So, thanks to the judges at the ESSS!

- The Ffej

August 6, 2009 Posted by The Ffejery | Uncategorized | | No Comments Yet

Yakuake “Air” Theme

Well, I still don’t have the MoarConky OpenBox themepack ready yet (I forgot about a minor licensing issue, which I’m taking care of – updates to come), but I’ve been working on a theme for Yakuake, KDE’s drop-down Konsole.  There don’t seem to be very many good quality themes out there that are also modern in appearance; in particular, I was mildly annoyed that no one had created a theme to match the “Air” Plasma theme in the upcoming KDE 4.3 release.  So, I decided to take up the task myself.  After a lot of trial and error to get things looking right, I ended up with what I’m releasing as v0.9 of the themepack, which can be found here, on KDE-Look.org.

Yakuake "Air" Theme

Yakuake "Air" Theme

I’m not entirely sure I’m happy with the tabbar, but it will do for now.  There is one issue with it right now, which is why this release is labelled as 0.9 rather than 1.0: after adjusting the transparency of the corner images for the titlebar, only the top half of the corners would render properly, and one can click through the bottom half to windows behind.  This has me rather annoyed, but I haven’t yet figured out what the problem is. :/  This theme was inspired by Plasma’s Air theme, but is my own work, and I’m releasing it under a Creative Commons CC-By-SA license, as with most of my content.  Feel free to modify it to your heart’s content, but please do me the favour of posting a comment here so I can see what people are making of it.  Full SVG Source files are here.  If anyone knows why the corners aren’t rendering properly, please post a comment here, or on the KDE-Look.org page, and let me know.

As always, I like to hear what people think of my work… good?  bad?  needs improvement?  Let me know!

- The Ffej

July 31, 2009 Posted by The Ffejery | GNU/Linux, Themes | , , , , , | No Comments Yet

Moar Conky!

This will be short, because I’m tired.  I just wanted to show off the desktop theme I’ve been working on.  I tried OpenBox for the first time, primarily because of the awesome work on http://ghost1227.com/.  Those themes required a bit more setup than I was used to in DEs like KDE or GNOME, and this caused me to mess around with Conky and Tint2.  My conclusion after doing so was, NEEDZ MOAR CONKY!  So, I went to work.  I couldn’t do what I wanted with my systray with Tint2, so I ended up using Trayer for the systray, and Tint2 for the clock and top panel.  I used Conky for everything else; the silver panels, diagram lines, and icons are all part of the wallpaper, which I put together using GIMP.  The laptop was derived from a CC-licensed photo on Flickr (Thanks!), primarily because I was too lazy to take a good photograph of my own laptop (it is the same model, after all), and the device icons were derived from the KDE project’s “mono” icon theme (Also Thanks!) – oh, and the Arch Linux logo is obviously from the Arch folks (Thanks too!).

Oh right… you’re probably expecting pictures after all of this build-up… Fine – here they are:  (photos linked to Flickr pages)

My Desktop - with Moar Conky!

My Desktop - with Moar Conky!

Moar Conky and Yakuake!

Moar Conky and Yakuake!

As a note, this was mainly a fun project, to experiment with apps I hadn’t used before, OpenBox, and GIMP.  The panels were heavily inspired by the Technolust theme here (although drawn myself), and the rest was heavily inspired by Hollywood’s portrayal of computers (now to work on the animated, 3D version of nmap!  …Oh wait…).

Let me know what you think in the comments!

-The Ffej

July 10, 2009 Posted by The Ffejery | GNU/Linux | , , , , , , , | 3 Comments

Update on the Cowon iAudio T2

Just a quickie:

As I surmised, the logo.ilb startup splash file is in a similar format, as follows:

Header:

69 41 55 44 49 4F 20 39 36 78 36 34 43 00 00 00 01 00 1F 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00 1E 00

(“iAUDIO 96×64C……”)

What follows is 46 96×64px frames of raw 16-bit RGB values, by row, as before.  Dump the modified file back into the SYSTEM folder, and you’re good to go with a fancy new startup splash!

As before, if anyone knows what the remaining bytes in the header are for (or can figure it out before me), let me know in the comments.  I hope this helps someone out there on the Internets.

Happy Hacking,

- The Ffej

June 30, 2009 Posted by The Ffejery | Gadgets | , , , , | No Comments Yet