Archive for November, 2009

What say you, Sherlock?

Sunday, November 29th, 2009

It’s not an unheard of expression that you can tell a lot about a person by the house they live in. I decided to have a bit of fun for this post (seeing as I’m quite busy this week and will probably not have time to write out a properly thought-out post) and so I’m going to show you some pictures of my room and the desk where my computer is. (Obviously the most important places in the house).

Your task is to analyse it and try to find out as much as you can about me just by looking at them. State your deductions and how you came to your conclusion. Feel free to be as amazingly accusatory as you want and pay attention to details.

Here are the full resolution photos. Obviously you can’t tell much just from thumbnails.

Langkawi Photos

Friday, November 27th, 2009

I said I’d show photos, and so here they are from that Langkawi trip.

They are unsorted, unfiltered, and most importantly not taken by me. You can check out the full album here. I don’t really like photos so I won’t comment. Interpret it however you want to.

Oh, and did you think “bobbing in the sea during a thunderstorm”? It’s awesome.

KDE – sexier than a Mac.

Tuesday, November 24th, 2009

http://e2-productions.com/imgbin/index.php?album=macish&sortby=name&order=asc

rsync.net – a commendable backup solution

Monday, November 23rd, 2009

My previous backup solutionn consisted of a couple latest homeworks on a thumbdrive (purely coincidental) and prayers. Luckily fate was out to lunch and so I decided to get a grip on things – or more specifically, the 8gb or so of vital data in my home directory. (Quite honestly, my videos and music collection can take a running jump any day – touch wood)

I considered an external hard drive, but for whatever reasons I decided that I’d get a fuzzier feeling inside me with an online backup solution. The preferred file transfer mechanism was rsync, of course – for the uninitiated, it’s basically a way to synchronise files incrementally (you only transfer changes, not the entire thing). This left me looking for a reliable, affordable, and flexible provider. After a while of online trawling I decided upon rsync.net, with their main selling point being their philosophy.

A couple bash scripts later (and a trip to Langkawi) I had a daily cronjob replicating a setup not unlike rsnapshot. For those who have seen Apple’s Time Machine in action, this is basically the same thing, except with obviously finer control and minus the cool zoom-through-the-galaxy effect. Just today I finished a hefty 6.2GB transfer over the precarious Malaysian internets to someplace in Zurich, Switzerland (a two and a half day process, I might add).

Let’s rewind a bit and go back to this rsync.net thing. Rsync.net gives you a remote filesystem with optional geo-redundancy, direct unix-engineer support, a common sense TOS, unlimited bandwidth, and most importantly a system that will revolve around you. It will do what you want, how you want it done, and those engineers are there to help you do that.

When considering services, I sent them an email with a few vague and qualitative questions as well as a few precise and decently technical questions. I wasn’t even a customer and in the succeeding email thread that unraveled I was receiving top-notch answers and what seemed like a genuine interest. Even the package I settled on later was catered to my needs. This is not something I’ve experienced elsewhere.

When setting it up, I received a similar if not better support to help iron out the little annoyances here and there (on my end). They provided comprehensive (and tailored) guides to my questions and there were no “no, I meant this, not this” moments. It worked out amazingly well and I’ve got a backup system (and I do plan to do a bit more with that filesystem later) running like it should – transparent and reflective at the same time.

Rsync.net does seem to be on the costly side though – but if you pay peanuts, you get monkeys. While some other companies like to prove that paying good money isn’t proportional to good service, rsync lives up to its word. Luckily there is a student and open source developer discount!

Fate, lunchtime over.

The making of Perspective

Saturday, November 21st, 2009

Perspective is my school’s magazine of which I’ve been the designer last year. Though the old team has moved on and I’m no longer associated much with it, such releases have remained as an archive online. Mainly because I like the open-source ideology I’ve produced the magazine primarily using FOSS tools – such practice is quite rare in the publishing industry due to Adobe’s dominance. However -especially noticeable in the latest release- the quality of results have truly been quite astounding. So of course I was pleased to recently receive an email about it:

Hi Dion,

I was blown away by the layout you did for Perspective using scribus, and I was wondering if you could offer a COMPLETE newbie to scribus some tips on how to layout a simple greeting card. I would really appreciate your help.

Everybody loves seeing their work being appreciated, and so I crafted a reply, and whether or not it helps anybody else, I thought it’d be good to share.

Hello,

Why thank you! I assume you’re talking about the July 09 edition, where I took the time and effort to actually design each page instead of simply lump text and boxes around.

The first step was to use Scribus to split the page into a grid using the rulers. As a magazine, I split the page into three, then created more rulers to allow for padding. I also put rulers at each of the borders to give ample space for page margins. Once this was done I now have a clear idea of what space I have allocated for my content.

I have to admit that the main crux of the design process was done in the GIMP. I would export a blank canvas and then mirror the rulers with GIMP’s rulers to make it so that my designs also were within those borders. The entire page layout was created in GIMP – I would guess how much space an article might take, and then create it in GIMP. Putting the entire article’s text in The GIMP along the side of one column allowed me to get a pretty good guess at how much space it would take – a screenshot showing this can be seen here:

If you look at that screenshot you’d also notice that all of the pictures – eg: the page template as well as the pictures for the article and fancy font used for the title – were done on The GIMP and NOT on Scribus. The problem I found was that because printer’s were unreliable, when given to them in a format that separated text and many images being overlayed above one another, the colours would run and many artifacts would be seen. So what I did was to create all non-text items in one single image, then export that and use it as a background for the page in Scribus. This keeps all the images together and greatly reduces the number of artifacts – it worked so well, in fact that I would be confident to say that there were almost no artifacts at all!

At the same time, when dealing with such a potentially complex document this technique would keep Scribus running extremely fast yet still benefit from a well designed and with pages full-of-effects (eg: shadow, interesting overlays and rotations). Of course this also meant I could use cool fonts for titles and not be worried on whether or not the printer also had those fonts! Another benefit is that it keeps the final file small and extremely fast to export. Less chances of crashes and easy portability!

The final step once all the non-text were finished in The GIMP was to fire up Scribus and put text on top- so on each page, there was only one image, no more, no less. This also made it a lot easier to manage and edit text. I could still make text flow around images by inserting invisible shapes then selecting Shape -> Text flows around image in the properties window (F2). With line and bezier shapes this really gave me the precise control I needed.

The title page was made almost last – I find this helps as firstly you don’t sit around wasting time thinking of a design because you’re doing the easier and repetitive inner pages. Over time you gather a feel of the document’s style and creating the title just flows out.

On this issue I chose a “small” text font size. This does actually make it seem more professional as you really notice the flow around images. Previous issues I refrained from doing this as my editor told me it would strain people’s eyes. Turns out that they were wrong (well, nobody complained).

Release early, release often – share your work’s in progress with your friends. They’ll help point out things that don’t look nice. If at anytime you’re unsure of how to layout a page, stop what you’re doing on the computer, print it out, and start throwing down ideas with a pen(cil).

So in short – basic layout started in Scribus, design and playing around with ideas done in GIMP, inserting and arranging text done in Scribus, and that’s it. I hope that helped – if you’re unsure on the actual design, searching google images and especially design blogs such as SmashingMagazine can really give you some inspiration.

In other news, things are starting to calm down a bit so within a week or so I should be able to continue development on WIPUP and perhaps even do a few small creative projects.

Breathtaking mathemagical beauty.

Tuesday, November 17th, 2009

http://www.skytopia.com/project/fractal/mandelbulb.html

A lovely little emoticon set from KDE.

Sunday, November 15th, 2009

I am of the opinion that the default emoticons on KDE are disgusting. Over time I’ve grown accustomed to them but lately I decided to do something once and for all. My solution was in the KDE forums – which had a different iconset (shouldn’t they be the same?) Sure, they didn’t have as many emoticons but I’m not an avid user. Anyways, here is a picture for those unaquainted with those iconsets:

… and of course you can download it here. KDE users can install it from System Settings, or even through Get Hot New Stuff. Users on other operating systems, it’s just a regular .tar.gz file so uncompress it and get the pictures inside and import it your own way.

Sodexo – food for the masses.

Friday, November 13th, 2009

Sodexo (formerly Sodexho Alliance) is a French multinational corporation, one of the largest food services and facilities management companies in the world, with 355,000 employees, representing 130 nationalities, present on 30,600 sites in 80 countries. For fiscal year 2008 (ending August 2008) revenues reached 13.6 billion euros, with a market capitalization of 5.6 billion euros.

That’s what Wikipedia has to say on the subject, though UrbanDictionary sings a slightly different tune.

1. adj. Extremely bad tasting, nearly to the point of torture.

2. adj. A state of extreme illness caused by low-quality cafeteria food; That pile of steaming shit I just ate tasted almost as bad as a Sodexo; I feel really Sodexo; I think I’m going to puke and have diarrhea at the same time.

Of course, the actual definition is disputed on UrbanDictionary and variants include “greasy unidentifiable shit” and “Sodexo is gayness”.

Unfortunately our school is plagued by Sodexo. A good couple years back they likely popped a couple pictures of an “ideal” school canteen for proper international students for the headmaster to ogle at as compared to the localised package we were receiving at the time. During the summer break the entire canteen (both of them) got a merciless rework to prove that stereotypical Malaysian inefficiency is nothing compared to Sodexo queues.

I’ve written about Sodexo before rather briefly but this picture deserves to be repeated as 1000-word says-it-all introduction to, what exactly, my good sir, is Sodexo?

That’s a plate of “butter and spaghetti”. I do believe this is evidence for the “greasy unidentifiable shit” mentioned previously. By unidentifiable I mean that quite literally – for the staff themselves don’t know what’s going on your plates. I remember a conversation I overheard from my friend:

Friend: What’s this dish?

Staff: Hmmmm, not sure.

Friend: It looks like pumpkin, but the ends look like meat, I’m vegetarian.

Staff: I think it’s either pumpkin, or it could be potato. I think there might’ve been some meat put into it, not sure.

… and no, that wasn’t exaggerated. Look at how they name their dishes:

and another to reiterate my point:

On Monday just this week I decided to have “fried fish”. On Tuesday I was served an almost identical dish except that the fish was considerably softer and no longer crispy. It had miraculously been rebranded as “sweet and sour fish” and there was some gloup to accompany it. On Wednesday I was again presented with a dish that suspiciously looked as though it was two days old and yet again relabeled as “fish with lemon sauce”. The lemon sauce looked identical in all respects to the gloup served the day before with the exception of several deformed lemons dunked in a fashion that would make a girl’s throw look good.

That’s just the woes to do with food quality – or rather lack of it. Prices fluctuate worse than the stock market and several factors including time of day, the colour of your plate, and how happy the cashier is feeling will determine how much you’ll have to dish out. The prices tend to peak on Thursdays, presumably when they realise they aren’t going to meet their sales figures for the week.

Of course, all of this is old news. Sodexo has a reputation for being rather terrible, both on the outside and the inside. Their controversies on working conditions and hygiene leaves expectations as good as a glint of hope in the distant horizon – or at least until their contract expires. At the end of last year during an assembly the headmaster announced the results of a survey – the best and worst things about the school. Sodexo achieved the honorary title of “the worst thing in the school” – and accordingly received a standing ovation of a good 500 or so students for it.

Please excuse me, I have to go take a Sodexo poop.

If you have 48 people at a bar and they rotate…

Monday, November 9th, 2009

I have a math question. I’m typing this out at an ungodly hour with my favourite homebrew of cocoa (with a secret blend of other ingredients, but mainly involving sugar) and I’m presented with an interesting math problem. I’m not the smartest mathematician out there and only know so much as my highschool syllabus (no, I’m not a university student yet). A combination of these factors makes me not able to answer this question. Here I am asking anybody interested if they could share their train of thought.

You have a room full of 48 people. You have 8 tables. They are divided into equal groups, thus 6 people sit at each table. They each have a discussion for the same length of time. After they finish, everybody on each table, save for one, will move to another table to have another discussion with a new group of people. This one person will stay at their initial table throughout the entire process. So in effect for each “round”, 5 people from each table will move to another. So in total there will be 8 rounds of discussions. They are not allowed to move to a table they have sat at previously. How do you determine the optimum movements such that the moving people mix with as many different people as possible?

… and of course, you must be able to prove that it is indeed the optimum movement. I did manage to come up with a solution, though I cannot say that it’s the optimum. My result was that every person would meet 28 new people (obviously they will meet at least 8 – those who stay at each table) in total throughout all the rounds – but perhaps somebody can tell me how to really tackle this problem?

Back from Langkawi

Saturday, November 7th, 2009

I’m back from spending a week kayaking around Langkawi. I didn’t bring a camera, though I will get photos from somebody who did later on. We kayaked in total about 50 kilometers halfway around the island as shown in the map below.

(Note: Tuesday we kayaked through the mangroves and caves – a very interesting experience) This little expedition marks the end of my Gold Award in the Duke of Edinburgh Award (aka International Award), something I began a good 3 years or so ago. Now I’ve just got to get the paperwork complete.

It was really something. Not like previous trips where we would spend a good 7 hours or so trekking in deep jungle pestered constantly by leeches, various bugs and the most aggressive of greenery. There’s something about the sudden drop in your stomach as your kayak falls from the peak of a wave to the choppy waters below – the splash as the water streams through you, the occasional jellyfish or regular fish that your paddle lacerates, the heavy, the light, the splat-splat-splat of the raindrops running through your forehead and tangled, clumpy hair – the salt, sand and grime in between your fingers and the sunburn around midday. There was a lot more planning this one instead of mindless plundering in the forest – tides, currents, weather and wind.

As usual we were introduced to the regular share of retarded animals that we consistently encounter on every trip. We’ve seen the vegetarian cats that refuse fish, the chickens that kick sand in their chick’s faces, the rooster that crows at the completely wrong time, the overweight leech that moves in circles, the crabs that thinks it’s a spider and the claustrophobic hermits.

Anyways, I just woke up from an amazing sleep on my bed and not on a root that cuts into your back, nuked my inbox as per protocol, listening to some fair trade music, and skimmed through RSS feeds with a disrespect to people’s posts that should never be. My parents are back from Canada with the most heavenly President’s Choice The Decadent Chocolate Chip Cookies and a great breakfast. My computer’s just synced to the portage tree and various overlays and ready to do an update, and I’m setting up an rsync backup solution I shall post in more detail about later. Meanwhile I’m going to start catching up on the work I’ve missed.

As a welcome surprise I also found out that I got top in the world for AS Business Studies from CIE (Cambridge International Examinations). Hooray :)