Monday, November 17, 2008

``Pretty Typing''---It Is Really Nice...

It all began because I didn't want to type “ and ” for the stuff that I write in my own portal, that and the need to memorise entity numbers for "…", and "—", while still maintaining some semblance to the actual plain text of the pages while being displayed on text-only browsers like elinks and lynx.

That made me use a total of 3 hours to hack up a Javascript thing to get the job done. Most of that time was spent in wondering what the magical incantations were to do a DOM traversal. Then the 30 minutes was to fix the bug that Internet Explorer was demonstrating.

So, it is done. Ugh. Back to work from the diversion.

Friday, November 14, 2008

On Helping People

It has been such a long 24 hours, possibly one of the longest 24 hours that I have had in a while. With deadlines looming so close, there's little that I can do but to bite the bullet and attempt to brave all that comes my way.

For some reason, I suddenly feel sagely, almost like I'm the rational voice among the drowning drone of the people. It is a funny feeling, and seriously, I don't really know what to make of it. On the one hand, I like helping people, and have done so many times before. On the other hand, I know that I need to slowly wean myself away from that feeling in order to ensure that I don't end up being abused like some slave of someone.

That said, it is not that I will stop helping people—it is just that I will only offer help should I explicitly be asked to do so. People are strange irrational creatures, in the sense that they will never be happy with the fact that you offered help, even if it is really obvious that they most desperately need it. In fact, I think that there is a branch of psychology that deals with the idea of how people like to feel as though they had "worked" for something in order to feel suitable satisfied. The silliest example that I come up with is that of the marathon. Clearly, one can easily travel 42km by car or even bicycle, but these people choose to run the marathon instead. By that observation, it can be seen that perhaps their goal is not to get from one place to another, but the process in which they had "worked hard for it" that makes it fulfilling to them.

I'll leave that for now. I need to catch some sleep if I want to do well for the microeconomics test tomorrow morning. Till next time…

Thursday, November 13, 2008

Two-day Crunch Down

Today marks the beginning of the crunch down that is going to span two days. What an irritating thing really, having so many things that are due/happening at the same time.

Hopefully I am able to pull this one off and get away with it. Meanwhile, I need to get to class.

Until next time.

Wednesday, November 12, 2008

Dead Fantasy

Woah, scary:Dead or Alive meets Final Fantasy in this indie flick. It has little/no plot, but it does feature the main heroines from both series slugging it out on ridiculously impossible scenes.

Have fun.

Tuesday, November 11, 2008

Mother

Something really sad/interesting/touching from the cesspool of the Internet:For some reason, I have this sudden impulse to run back to my mother and give her a hug, thanking her for all that she has done for me.

The last time that I had ever had tears fall from my eyes was when I watched 1リットルの涙.

I guess I'm still human after all.

Sunday, November 09, 2008

All Xubuntu Are Intrepid Ibex

How strange it is to bat an eyelid, and find that the week has passed us by ever so quickly. One moment we were trying to rush through the jobs and homework that we need to do, the next we are just literally sitting there and waiting for something to happen. The strangeness of it all, and I do mean the perception of time of course, that even though things are happening at the same rate (time moves equally fast for all of us), not everyone has the same feeling for time. It gets curiouser and curiouser…

It has been a rather tumultuous fortnight; I basically was see-sawing between extreme levels of productivity and extreme levels of inactivity. I suspect that this could be a result of the cold weather and the fact that it is the semester crunch-time, though I do not really have any way of showing this other than making the observation. This weekend was really a lull-ish one; the upcoming week has so many things that are due that it is not even funny anymore. But overall, I have a slightly better confidence over this semester's classes than the last—I just need to put in a bit more effort to ensure that I end up getting the results that I want/need. The classes this semester are not entirely hard; they are just relatively time-consuming. But that just boils down to time management, and I think that I'm starting to get the hang of this.

That said, the last two days were mainly systems-y stuff. As noted previously, I have had Intrepid Ibex Xubuntu running on Edythe-EEE. Previously, I have upgraded the VM in Elyse to run Intrepid Ibex also. Last night, I set up Intrepid Ibex for Elyse's alternative partition, but for some reason, the upgrade backfired and left me without a bootable Xubuntu partition. That was when I decided to just wipe out and reinstall the x86-64 version of Intrepid. That partition was mainly for work, and when I needed the extra horsepower (and RAM), so there was nothing there that I could recall that was not mirrored somewhere else.

The overall feel of Intrepid is alright, considering that things are still not broken after installation. I've not managed to test to see if the new kernel is really as spiffy as everyone says, but I think that the quality can be seen in the fact that Edythe-EEE, an underpowered high-RAM machine, can run it with little to no delay, I think that at the very least the bloat in Intrepid hasn't gotten to the point that it requires a tremendous amount of horsepower to work with.

That's all I have for now though. Sorry.

Friday, November 07, 2008

Intrepid Ibex Xubuntu on Edythe-EEE

Take a look at this screen capture:This is the stock Xubuntu 8.10 (Intrepid Ibex) that I managed to get installed on Edythe-EEE. The installation process was relatively painless, considering that Edythe-EEE has 2GiB of RAM (this is always useful). For all practical purposes and intents, I did a clean install because of the [wrong] design decision that I made earlier to allocate 512MiB of hard disk space for swap space. That decision was made because of I had only 512MiB on the machine then, which was generally not a good idea.

Since I've increased the RAM on the machine, it made things so much easier. Edythe-EEE has a relatively sheltered life, sitting at home and serving as a backup server in case things go awry. That is, until I buy the really large battery for her, thus giving her the competitive edge to challenge Elyse in terms of raw stamina.

The only drawback in the installation is the dealing of the weird screen brightness issue with regards to the reboot/suspend/open lid actions. I think I can live with that, so I'm probably not going to attempt to fix it. That said, the wireless card (a notorious issue with the EEE PC 701 series) has been enabled through the magic hackery of NDISWrapper (details can found here).

Again, this post was created in Edythe-EEE.

——

Also, check this for fixing the gargantuan scrollbar widths. The actual file location is /usr/share/themes/Clearlooks/gtk-2.0 (I'm editing the Clearlooks one).

Thursday, November 06, 2008

Michael Crichton—Dead

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.

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.

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

Fixing Tags…

Am fixing some things on the blog…I wonder if it is all going to work.

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.

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.

(=

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.

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:
Jessie is a friend,
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
Terrifying no? Someone covetting his good friend's girlfriend?

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.]

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.

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:
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.

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".
More details on the exchange can be found here.

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…