Sunday, October 26, 2008

Eyes!

On the topic of reading, here's some interesting things:Completely unrelated to work of course, and unrelated to the fact that I love pretty eyes.

>.>

iRex Digital Reader 1000S

If you knew me well enough, you'd know that I'm a sucker for reading. While I like that PDF documents are so prevalent these days, and that most computers can read them with relative ease if one stays away from the overly bloated ``official'' reader, I'm still not happy with the fact that the only way to read these documents is through a computer screen that is largely placed in landscape format.

I mean, come on. The screens have such high resolutions, surely we can just rotate the screen to put it into the portrait format that is characteristic of most typed documents?

Well, no. Only a few screens do that.

For a while, I've been looking at having an e-book reader. The current offerings by the Amazon Kindle and Sony Reader are inadequate for me---I'm reading academic papers not ``New York Times bestsellers''. Their ridiculously small screens are completely useless when trying to read technical papers which are almost always stored in Letter or A4 format (the readers mentioned deal with sizes of roughly A6).

But then I found the iRex Digital Reader 1000S. With a diagonal of 10.2 inches, a resolution of 1280×1024 (effectively having a reading area of 6 inches by 8 inches), I knew I have found what I wanted. Not to mention the use of Wacom's amazing pressure-sensitive digital writing instruments---annotation should be quite an interesting occurrence.

Needless to say, I put my money where my mouth is and placed an order for it. Let's see if it lives up to its claims when it finally arrives.

Friday, October 24, 2008

Routing Daemon

A basic working "skeletal" routing daemon for the IRC server project was completed today. It was an interesting undertaking—ZQ and I wrote roughly 200,000+ bytes worth of raw C code (roughly 8,000 lines) for both the server and routing daemon, and managed to get past the second checkpoint today.

It would seem that the age-old computer science idea of abstracting away the details is a most useful idea when doing software engineering. The approach that we took involved writing abstract data types like linked lists, hash tables, bidirectional dictionaries (allowing references between any two sets S and T with a bijective function over S→T, graphs (weighted multi-directed graphs), extensible octet buffers before hand, and then when we had to deal with the upper layer items like routing tables, packet forwarding and all the other protocol specific items, we already had the necessary framework to work with.

Most of the final parts of the code were put in over last night. That was a good 2,000+ lines of code from the two of us. Then, the debugging was done today, and amazingly, it all worked out fine; there were only 5 or 6 minor bugs that required fixing.

Alright, I've done babbling for now. Off to bed.

Wednesday, October 22, 2008

Unifont

Unifont is an awesome monospace font.

'nuff said.

Monday, October 20, 2008

Coffee is Like a Mistress

Today while I was at La Prima Expresso's and ordering a cup of milk:
(Cashier rings up the register for a 16oz coffee and 1 chocolate croissant.)

Me: Oh, I got milk today.

Cashier: Oh, I'm sorry… let me ring you up again. Also, that's really strange. You usually get coffee.

Me: Yeah, but coffee is like a mistress—you do it often enough, you end up having to take a break from it sometimes.

Cashier: That's the oddest thing I've heard today.

Musing

I wonder what happens when the companies that we entrust our data to for hosting go under eventually.

Will we be able to get all our data back, or will the data be gone forever?

Friday, October 17, 2008

Software Updates

I formally protest against Adobe Acrobat Reader for the reasons of code-bloat and instability. If you actually try to install this tool, you find that you will have a working version of the Reader, but in addition to that you have this weird Adobe AIR installation, and one other program that I have no idea why we might need to use it for. Not to mention the fairly large download [of 33MiB], but since most of us are no longer using dial-up, I think that it is okay.

Personally, I love using Evince (you can download it here), kpdf, or even xpdf for my PDF needs. In view of the fact that pretty text output these days are mostly rendered in PDF form for portability, these tools are more of a necessity than anything else. Any of these tools are awesome to use except for one reason—they don't run on the Windows platform.

Searching around on the Internet revealed this tool: Foxit Reader for Windows. While this is not as open as evince, kpdf or xpdf, it does have the advantage that the reader is freely available, and that it runs on windows. The download of the file was roughly 2.3MiB, and it had similar functionality as the Reader [by the creator's claims]. From these two rather disparate numbers, one might wonder what Adobe has been putting into their Reader download bundle.

For the PDF files that I have thus far, Foxit Reader seems to do a decent job, even incorporating multi-tabbed viewing to reduce the clutter of the workspace when alt-tabbing between windows. I only resorted to doing this because I had to read a particular series of PDFs for revision for a midterm, and the Reader decided to ditch me and hang for some unknown reason.

It is things like that that slowly push me away from the Windows platform and moving ever more closely to that of the GNU/Linux platform.

——

On a semi-related note, OpenOffice.org 3.0 is out. I'm not sure how much better it is from 2.0, or how it handles the inconsistent rendering behaviour on MSWord files. Once I've tried it sufficiently, I will talk more about it.

——

Python 2.6 is released. Python is a really cute language, and 2.6 is "one heartbeat away" from the next-generation version of Python 3k or Python 3.0. Code compatibility should not be a big issue when transitting between Python 2.5.2 to 2.6/3.0, unless one has been doing all sorts of really exotic operations based on exotic library functions/keywords that has been deprecated.

I managed to get Python 2.6 to compile on AFS, and have finally rid myself of the aging Python 2.4 that exists in that system.

——

GIMP 2.6 is also out, with a slightly modified interface, and with better management of stuff. I'm not sure of the whole impact, but I've updated my versions with it just to be sure.

Sunday, October 12, 2008

Coffeemaker + Grove City + Bose + The Other Shore

As an experiment last night, I prepared a pot of coffee using my new coffeemaker, and poured half of the pot (6 cups) into my stainless steel thermos flask. That was at 10pm last night.

This morning (9am), I opened up that flask and poured out a cup of coffee to drink. Mmmm mmm… delicious, hot brewed coffee. It's wonderful. That's almost 12 hours of keeping the coffee—my room mate claimed that the coffee will only be kept warm for only 4 hours.

Well, I knew he was wrong, but I'm more glad that I could actively prove that he was wrong.

——

Yesterday was the annual SSA trip down to the outlet shops at Grove City mall. It was an interesting experience, in that I didn't have any real need to purchase anything, but I went nonetheless, in part to just escape the usual drudgery of doing things only on campus, and in part because I wanted to take Ida out on a random trip around somewhere near campus, yet not that near that it is very familiar and all. The Grove City trip was much fun, considering that we walked all over the place looking at goods [and not really buying any of them]. I needed a new pair of jeans because I was fast wearing out the three that I have now, and have already donated the three that I could no longer fit into. Thankfully, I managed to get one of thos jeans, and damn, I must admit that my thighs are just too darn fat. I need to lose those flab soon, otherwise I'd find myself in the unenviable position where I can no longer fit into "normal" pants because of thick thighs.

There has to be an easier way of losing fat in those regions that don't involve intense amounts of running. Maybe I should take that whole skipping/jump rope thing seriously.

Bose is now officially my favourite audio equipment manufacturer. The kind of fidelity and ease of use… it just blows your mind away. I currently own this set of in-ear headphones, and when I return to Singapore, I will most definitely get one these noise-cancelling headphones. Why wait till when I return? Well, that's when they will actually be physically useful, since the SNR at home is really low due to the fact that I live in an apartment that is on the lower floors of the buidling—if I want to do some music composition/remixing/developement, I will most definitely need to fix that problem. And hopefully by then, I would have sufficient disposable income that the cost of the device doesn't put me off by too much.

And I'm still waiting for ASUS to bring out a better battery for the EEE PC—Edythe-EEE is literally not having a good time with the default 4400mAh batteries.

——

So the previous night, I went to watch The Other Shore with Ida at the Philip Chosky Theatre. This play was written by Gao Xingjian and was played by the School of Drama in CMU. It was an interesting play (I will not bore you with details of plot/themes—see the link given) in the sense that it used abstraction to great effect. While it was still possible to watch the play and leave with some idea of what was going on, I found that going into the play with concepts of Chinese thought like Daoism, Buddhism and even Confucianism helped in the comprehension just that bit more. In fact, I found myself seeing, at times, two or three different images/interpretations for the scenes, based on my understanding of both Eastern and Western philosophies. That said, the other really fun thing about this play was the fact that we were seated on the stage.

That's right, there were about four to five rows of seats on the stage in which some of the audience can sit at. The theatre was obviously designed to be the traditional front-view only style, but this set-up meant that it was converted into an amphitheatre of sorts. It wasn't much of a bother, considering that the choreography was sufficiently well done that we didn't miss out on anything despite sitting on the "wrong" side of the stage.

——

Back to reality. Need to study for a pile of midterms next week, as well as run a few experiments and even write some code for the routing daemon (otherwise life will be sooo screwy for the week coming). Thankfully, it is mid-semester "break" [of one day], so there should be some extra time to get more stuff done [hopefully].

Till next time.

Friday, October 10, 2008

Quick Blurb

Things in progress:
  • Fixed numbering scheme in old poetry blog [finally]
  • Converted the "..." to a proper ellipsis "…"
  • Rudimentary parts of new domain/portal is being put together—stay tuned for updates
  • Midterms are beginning; a ton to do
  • Pocket saxophone has arrived—working on tone
That's as much as I can say in a jiffy.

Wednesday, October 08, 2008

Keepon

Keepon is so CUTE!And here's another:

Monday, October 06, 2008

Random Blathering

Generally speaking, I actually like using my external keyboard to type long-ish essay-like things, like blog posts, essays/papers, and LATεχ documents. But when it comes to code, I have a tendency to prefer my laptop keyboard over the external one. Till date, I have not really figured out why that is the case; one theory that I have is that when I'm programming, my fonts tend to be much smaller than when I'm typing essays of other sorts, and that I don't usually need to refer to any source materials in the interim, and thus pulling Elyse closer to work on the code is more productive than trying to use the external keyboard.

But having an external keyboard is quite awesome. By design, my work desk in the dorm has a slide drawer, which I can easily slip my external keyboard into. This gives a slightly different angle for typing, which makes it useful when I need to change the angle due to stress on the arms/fingers.

Alright, enough of random blathering—back to work I go.

Wish List

Some things that I would like to do when I return to Singapore:
  • Fix my eyes so that I don't require such high-powered glasses
  • Build a new medium-end computer for my mum to use
  • Build a semi-high end server complete with separate Internet connection for development/web presence
  • Practise on my alto saxophone, soprano saxophone, clarinet, flute, piccolo and try to get into gigs
  • Write a book
  • Get my driver's license
  • Put up an album of music that I composed
I wonder how many of these things will I actually be able to do.

Ed: I managed to get decent web-hosting. Now I need to expand my web presence.

Sunday, October 05, 2008

Food for Thought

From this site: President S R Nathan wrote:
Farewell, Ben Jeyaratnam, farewell. You fought a long battle for your ideals. You were destined not to see it through. May you now rest in peace.
I wonder if this should be interpreted shallowly or deeply.

Thursday, October 02, 2008

Sexeh...

Awesome picture of a horse:

Wednesday, October 01, 2008

Chrome

So I managed to get Chrome to have a memory access problem. Suprisingly though, it is still running; possibly due to the multi-threadedness/multi-process way in which Chrome works with.And yes, Haskell is fun.

Tuesday, September 30, 2008

Monday, September 29, 2008

You Like Biology, But I Like Computer Science

There's a rather simple reason why I never really write computer programs for anyone as far as I can avoid it—most people don't really treat computer programs seriously. The general reaction borders between "holy cow that's really cool" to "yeah... so what is it good for". The person who goes "holy cow that's really cool" is likely to be obnoxious, having some issues with attitude: either always trying to pilfer all that you know, or just want to one-up you.

The other one that is nonchalant is probably someone who doesn't care about computers other than computer games and maybe some office productivity suite. They usually think of me as a dork/geek/nerd, and would have as little to do with me as possible. These are the same people who will only gladly want to talk to me if they want something that I can do easily, and on other occasions they will just ignore me for as much as I can.

I've met enough of both kinds of people to not want to write programs for anyone as much as I can avoid it. That's enough of a blurb for now.

——

The week has been long, with almost everything due last Tuesday. Thankfully, I managed to get everything completed in time, and hopefully am faring rather well. The schedule for this semester is such that things generally snowball into a huge clump, but in between, there's enough time to plan around the crunch, only if careful discipline is maintained in trying to ensure that one does not end up doing the "death march" all over again. The thought of returning to work in A*STAR scares me a little—I'm mildly terrified in having to deal with some of my peers who are just plain obnoxious, who are happy to tear into any thing that you do just to get into an argument, to always try to prove that they or their field is superior than you or yours; the general know-it-all obnoxious attitude.

Inasmuch as I hate to say this, I just hate these kinds of people. Like, seriously. What makes them think that Computer Science is no less important than Biology? What makes them think that their double degree is worthed more than my single Bachelor's in Computer Science from Carnegie Mellon? And lastly, who are they to say that I am less intelligent than they are?

All these nonsense... I hope that I don't have to put up with that when I return. I'm happy to work on machine learning research all day, and have little to deal with these kinds of people as much as possible. Knowledge has intrinsic value and power; I don't have to stoop to their level to take pot-shots just to prove a point.

To each his own, suckers.

Friday, September 26, 2008

Length of Paper Required for n Folds

According to this, if L is the minimum length of the paper with thickness t required to make n folds, then L=(tπ/6)×(2n+4)(2n-1).

Hmm…

And finally, I've managed to get LaTeXMathML working. Note that you might need additional fonts to display the math properly here.

Oh, by the way, if you are using Internet Explorer, you might need something that can handle MathML. (Why are you using Internet Explorer?)

[Ed: I removed the LaTeXMathML functionality because it was starting to become annoying and that this blog doesn't actually need to demonstrate math formula. From now on, if there's any important math-like thing that I want to share, it will be formalised and be available from my portal instead.]

Wednesday, September 24, 2008

Sunday, September 21, 2008

Manna

Read Manna—it is a rather interesting sci-fi piece on a potential future that we might face. It brings out the salient arguments between the propriety and open source camps in a way that is more easily accessible to most people.