Yet another iconic figure has fallen to the natural course of life. Michael Crichton was one of my favourite authors, and probably can be seen as the person whose writings have influence me to consciously remind myself that science with no ethics or morals is a dangerous science. Being a person of science and medicine, Crichton was in the position where he could use fiction as a vehicle to convey the dangers of amoral science, in a way that is more convincing than one who is not a person of science.
That said, we've lost another good science fiction writer. Rest in peace, Michael.
An eclectic mix of thoughts and views on life both in meat-space and in cyber-space, focusing more on the informal observational/inspirational aspect than academic rigour.
Thursday, November 06, 2008
Tuesday, November 04, 2008
Patched Jeans
So I finally got off my ass and patched the articles of clothing that were sporting various rips and tears in the seamwork/fabric. My jeans already had a tear before (due to a fall), and not too long ago I fell again and made that tear bigger but on a completely different axis of rip. Since I had a small amount of time today, I just patched the damn thing and so it will keep out the cold winds once more. Here's a view of the patchwork done on the interior:
And here's how it looks like from the outside:
I think I did a decent enough job in patching it.
Alright, time for a shower and then class. Till next time.
Alright, time for a shower and then class. Till next time.
Caribbean Queen
And another nice piece from Billy Ocean:And here are the lyrics:
She dashed by me in painted on jeans
And all heads turned 'cause she was the dream
In the blink of an eye I knew her number and her name yeah
Ah she said I was the tiger she wanted to tame
CHORUS:
Caribbean queen
Now we're sharing the same dream
And our hearts they beat as one
No more love on the run
I lose my cool when she steps in the room
And I get so excited just from her perfume
Electric eyes that you can't ignore
And passion burns you like never before
I was in search of a good time
Just running my game
Love was the furthest
Furthest from my mind
Suddenly
For some odd reason, I woke up this morning with the words "suddenly, life has new meaning for me" stuck in my head. Check it out:And here are the lyrics.
I used to think that love was just a fairy tale
Until that first hello until that first smile
But if I had to do it all again I wouldn't change a thing
Cause this love is everlasting
Suddenly life has new meaning to me
There's beauty up above and things we never take notice of
You wake up suddenly you're in love
Girl you're everthing a man could want and more
One thousand words are not enough to say what I feel inside
Holding hands as we walk along the shore
Never felt like this before now you're all I'm living for
Each day I pray this love affair would last forever
There's beauty up above and things you never take notice of
You wake and suddenly you're in love
Monday, November 03, 2008
Halloween Parties [Not] + Clarinet
Last weekend was really the weekend of spooks and parties, considering the fact that Halloween just passed us by. Like always, I never did feel inclined to participate in the festivities, simply because I feel that I'm too old for these kinds of stuff, and the general I-don't-really-like-parties thing that I have. Most of the weekend was spent working on homework, catching up on some sleep, and playing some clarinet.
The clarinet is an interesting instrument, first of all because it doesn't quite follow the Boehm system at all by virtue of the acoustic properties of a end-blown cylindrical tube. It is also interesting because it has a more mellow sound than the flute, even though it is a soprano instrument.
Alright, enough for now.
The clarinet is an interesting instrument, first of all because it doesn't quite follow the Boehm system at all by virtue of the acoustic properties of a end-blown cylindrical tube. It is also interesting because it has a more mellow sound than the flute, even though it is a soprano instrument.
Alright, enough for now.
Sunday, November 02, 2008
Python
After programming in Python for so long, it is only recently that I discovered that Python has quite a few advanced data types. From queues, priority queues to calendar-related computations, Python seems to have them all. With all that in mind, I can see myself writing even more programs in Python than before.
Slide Rules! N600-ES joins N500-ES
So, you've seen the 10" Pickett Slide Rule. Today, I received my 6" one that I ordered a few days back. Take a look at it new in box:
Pretty, yes? This one is so new that it comes with its own manual too:
This baby is going to live in my pencil case, and will be carried around wherever I go.
I think that's all the slide rules that I'll be getting for now. Maybe next time if there's more slide rules that I actually need, I will buy them again. Meanwhile, I need to get back to work and then I can have the chance to play with my new tools.
(=
I think that's all the slide rules that I'll be getting for now. Maybe next time if there's more slide rules that I actually need, I will buy them again. Meanwhile, I need to get back to work and then I can have the chance to play with my new tools.
(=
Saturday, November 01, 2008
Hallo-ween?
In theory, today is supposed to be Halloween, and thus most people are actually going to dress up and go parties etc. Unfortunately, I don't think that I will be doing that—I'm likely to be working on either more homework or other related materials, like adding more useful content for my portal.
A new Pickett slide rule is coming in; this one is 6 inches as oppposed to the 10-inch one that I currently have. With the same number of scales, it is a really portable slide rule and will probably end up being a part of my usual carry-on arsenal. I realised that I have been pampered by the relatively easy-to-use "student" Mars Staedler slide rule—I can't seem to be able to figure out how to do the computations on the Pickett. It seems that I probably need more practice to get the hang of it.
That's a quick blurb for now. Maybe more stuff later.
A new Pickett slide rule is coming in; this one is 6 inches as oppposed to the 10-inch one that I currently have. With the same number of scales, it is a really portable slide rule and will probably end up being a part of my usual carry-on arsenal. I realised that I have been pampered by the relatively easy-to-use "student" Mars Staedler slide rule—I can't seem to be able to figure out how to do the computations on the Pickett. It seems that I probably need more practice to get the hang of it.
That's a quick blurb for now. Maybe more stuff later.
Friday, October 31, 2008
Jessie's Girl
Some songs sounded cool then, but upon reflection at a later time, it is actually quite terrifying. Here's an example Jessie's Girl:Sounds cool for an 80's song right?
Now, read the lyrics:
Now, read the lyrics:
Jessie is a friend,Terrifying no? Someone covetting his good friend's girlfriend?
yeah, I know he's been
a good friend of mine
But lately something's changed
that ain't hard to define
Jessie's got himself a girl
and I want to make her mine
And she's watching him with those eyes
And she's lovin' him with that body,
I just know it
Yeah 'n' he's holding her
in his arms late,
late at night
You know, I wish that I had Jessie's girl,
I wish that I had Jessie's girl
Where can I find a woman like that
I play along with the charade,
there doesn't seem to be
a reason to change
You know, I feel so dirty
when they start talking cute
I wanna tell her that I love her,
but the point is probably moot
'Cos she's watching him with those eyes
And she's lovin' him with that body,
I just know it
And he's holding her
in his arms late, late at night
Like Jessie's girl,
I wish that I had Jessie's girl
Where can I find a woman,
where can I find a woman like that
And I'm lookin' in the mirror all the time,
wondering what she don't see in me
I've been funny,
I've been cool with the lines
Ain't that the way
love supposed to be
Tell me, where can I find a woman like that
[Solo]
You know, I wish that I had Jessie's girl,
I wish that I had Jessie's girl
I want Jessie's girl,
where can I find a woman like that, like
Jessie's girl,
I wish that I had Jessie's girl,
I want,
I want Jessie's girl
Tuesday, October 28, 2008
Condone Perfect Jerks?
Should we condone the behaviour of the few who seem to be more intelligent than us, even when they are acting like perfect jerks? Like every argument, there is a good side and a bad side. The good side of it all is the supposed benefit that we can obtain from these intelligent person, if we don't "cramp their style". The bad side of it is that these "geniuses" might end up having a problem with how they relate to people in general in the future, causing them to be ignored by the very people who might benefit from whatever new creation they might have.
Well, those two sides seem well-balanced to a certain degree, but seriously, there is much more to be discovered first before we can even argue about that. First off, what exactly do we mean by "perfect jerks"? Do we mean a general disdain of people, the looking down of people, or just being annoying to everyone with no regard whatsoever? Notice that for each of the three sample definitions, there can be a different conclusion to the earlier question. In this instance that I am arguing about, I shall define a "perfect jerk" as one who annoys to everyone without any regard, often with no ill intentions whatsoever. This is to contrast with those who annoy people with bad intentions.
My stand is simple—everyone has the right to their own personal space, and so no one, no matter how smart/intelligent/dumb/silly you are, has the right to take that away from someone else. Clearly, if anyone attempts to do that, you have every right to "defend" against them. This is what most of our laws and rules and regulations were designed to ensure.
[Ed: This was originally to have gone up on Oct 18, but I got too tired trying to continue it. I'm leaving it here in its incomplete state because I got sick trying to argue my points.]
Well, those two sides seem well-balanced to a certain degree, but seriously, there is much more to be discovered first before we can even argue about that. First off, what exactly do we mean by "perfect jerks"? Do we mean a general disdain of people, the looking down of people, or just being annoying to everyone with no regard whatsoever? Notice that for each of the three sample definitions, there can be a different conclusion to the earlier question. In this instance that I am arguing about, I shall define a "perfect jerk" as one who annoys to everyone without any regard, often with no ill intentions whatsoever. This is to contrast with those who annoy people with bad intentions.
My stand is simple—everyone has the right to their own personal space, and so no one, no matter how smart/intelligent/dumb/silly you are, has the right to take that away from someone else. Clearly, if anyone attempts to do that, you have every right to "defend" against them. This is what most of our laws and rules and regulations were designed to ensure.
[Ed: This was originally to have gone up on Oct 18, but I got too tired trying to continue it. I'm leaving it here in its incomplete state because I got sick trying to argue my points.]
The_Laptop's Domain
Finally! The first iteration of my own domain is up and is accessible through http://thelaptop.info/ or http://munthye.info/ (the latter just redirects to the former).
The site is deliberately spartan and is used to host static material that a blog will prove to be insufficient for. This includes things like source code, my own music compositions, and even other better typeset versions of essays that I've put up here.
Alright, that's a quick blurb for now. I'll write more about this when I have the chance.
The site is deliberately spartan and is used to host static material that a blog will prove to be insufficient for. This includes things like source code, my own music compositions, and even other better typeset versions of essays that I've put up here.
Alright, that's a quick blurb for now. I'll write more about this when I have the chance.
Monday, October 27, 2008
A 2004 Email
It's humbling to note that the person whom I had traded emails with back in 2004 over how his cryptosystem based on pseudo-random number generators was in fact an elder and that he had recently passed away.
Here's an excerpt of the "final" reply I made on the subject:
I think I was a really terrible asshole then I never did see Mac as an elder—I've always thought that he was roughly a peer. I guess I was wrong.
It turns out the Internet has a way of masking who you really are talking to. Now, if only everyone were to learn how best to talk to people without sounding too haughty/condescending.
I guess I have much to learn
Here's an excerpt of the "final" reply I made on the subject:
Well, the problem here is the idea of pseudo-random. Even with a large period, simple linear congruential generators are still easy to break, using what is known as the index of correspondence, the key in cracking simple XOR ciphers.More details on the exchange can be found here.
Combining multiple linear congruential generators using Knuth's algorithm M may provide a longer period, even if you are using simple linear congruential generators. However, the security of such a lagged pseudo-random number generator is only as strong as the weakest generator. Also, even if your generator produces a nice sequence that is periodic only after exp(exp(exp(exp(exp(exp...(100)...))))), it will be as good as a one-time pad if you can guarantee that the bit sequence will *never* be used more than once.
Avoid using pseudo-random number generators as cryptographic algorithms. These are among the weakest link in the entire security chain. Notice that most cryptographic algorithms rely on other sources for random numbers, like hashing random events using a secure one-way hash. But of course, using a long period pseudo-random number generator is really a good thing for simulations.
My last point: Since pseudo-random number generators mostly rely on the simplest of all arithmetic operations, they are constantly under the scrutiny of mathematicians all over the world. It pays to use something that has been tried, proven and shown to be un-crackable than relying on the unsound knowledge that the pseudo-random number generator is "secure".
I think I was a really terrible asshole then I never did see Mac as an elder—I've always thought that he was roughly a peer. I guess I was wrong.
It turns out the Internet has a way of masking who you really are talking to. Now, if only everyone were to learn how best to talk to people without sounding too haughty/condescending.
I guess I have much to learn
Sunday, October 26, 2008
Eyes!
On the topic of reading, here's some interesting things:
>.>
- Wikipedia article on the 10 (yes, 10) types of eyes
- Wikipedia article on the evolution of the eye
- Wikipedia article on the Mantis Shrimp (scary little bugger)
- Wikipedia article on hyperspectral imaging
>.>
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.
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.
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
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?
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.
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.
Subscribe to:
Posts (Atom)