Tuesday, July 24, 2007

And so..

So today, I (finally) audit (so to speak), the server logs. The Boss™ charged me to pull out pictures from The Product™ so after doing it, I was just looking through the server logs.

And discovered an oddity.

The timestamps were wrong. -_-;

I was going zomfg?! And did a quick check. As expected, it was logging everything under CST. /sigh.

So I call over CK, erm oei, you know your program logging the date and time wrongly or not?

Then he said he just follow server time. Which is a fair assumption, after all, if a program can't depend on OS time, then how? But hah! He didn't check! Even though I set the server time to SGT already, for some reason Java does not inherit it (not all the time) and will run at CST, which was the server's original configuration.

So, since astartes, the logs have been going under CST time .. urgh. Grr, did you not try and see? Urgh.

So well, if who's going to fix it in the end? .. most likely me. Cos I can apparently write scripts /eye roll

.....

Also I found out that his migration was incomplete -_- Logged images weren't completely copied over from the old directories to the new ones.

Looks like I'll have to do that too -_-

/sigh

Friday, July 13, 2007

What is a programmer?

programmer, n:
A red eyed, mumbling mammal capable of conversing with
inanimate monsters.

Thursday, July 12, 2007

....

Grr..

Told bvo about it before, about this dude, we'll call him CK, who has been rather .. irritating. -_- There was once, where I was doing work, and up he rolls, and asks me some question.

I go.. .. erm .. Well, definitely there's a way to solve this problem, but I'm not sure how .. er .. *click on FF* *google abit* errm...

He sits there for abit, and then rolls back to his place without saying anything. Leaving me to go wtf?

He also has this bad habit of coming up to my place and just stand there and stare at my screen. Leaving me to go .. erm .. yes? Wth are you doing staring at my screen? I don't stare at yours, don't stare at mine. Got pretty thing there izzit? Usually I just endeavour to ignore him.

So today, I'm reading stuff and thinking about stuff, and he suddenly IMs me. Where is XYZ (where XYZ is an object (programming stuff lah))? I'm :@ immediately. I mean... the source code is THERE. The API is THERE. Not that obvious, but it's THERE. And you have CTRL+F or even better, import the whole thing into an IDE and it'll probably hot link the definition to the declaration. Or just install grep, windows version and look for it yourself. WTH are you doing asking me a question wherein you can easily find the answer yourself!?

I hate answering questions like that.

But .. well I just answer it, and I get silence back. Not even a word of thanks.

Are CKs all like that? So annoying. Want very much to just /ignore the person, but not possible lah.

GRRR.

Edit: Yes.. I know, information sharing and stuff. But this is not even a hard question. You're a programmer. I'm sure you have tools, or at least know how to LOOK. It's not difficult. Even windows search can search for words in text files. So stupid. Grr. Next time maybe I should just reply with www.google.com, or best, "Dunno".

The Penguin

The Penguin

by Rob Flynn
and
Jeramey Crawford


Once upon a term'nal dreary, while I hack'ed, weak and weary,
Over many a quaint and curious volume of forgotten code--
While I nodded, nearly napping, suddenly there came a beeping,
As of some one gently feeping, feeping using damn talk mode.
"'Tis some hacker," I muttered, "beeping using damn talk mode--
Only this. I hate talk mode."

Ah, distinctly I remember it was in the bleak semester,
And college life wrought its terror as the school year became a bore.
Eagerly I wished for privledges;--higher access I sought to borrow
For my term'nal, unceasing sorrow--sorrow for a file called core--
For the rare and radiant files of .c the coders call the core--
Access Denied. Chown me more.

"Open Source," did all mutter, when, with very little flirt and flutter,
In there stepped a stately Penguin of the saintly days of yore.
Quite a bit obese was he; having eaten lots of fish had he,
But, by deign of Finnish programmer, he sat in the middle of my floor--
Looking upon my dusty term'nal in the middle of my floor--
Came, and sat, and nothing more.

Then the tubby bird beguiling my sad code into shining,
By the free and open decorum of the message that it bore,
"Though thy term'nal be dusty and slow," he said, "Linux be not craven!"
And thus I installed a new OS far from the proprietary shore--
The kernel code open but documentation lacking on this shore.
Quoth the Penguin, "pipe grep more!"

Much I marvelled this rotund fowl to hear discourse so plainly,
Though its answer little meaning--little relevancy bore;
For we cannot help believing that no living human being
Ever yet was blessed with seeing bird in the middle of his floor--
Bird or beast sitting in the middle of his cluttered floor,
With such instructions as "pipe grep more."

But the Penguin, sitting lonely in that cluttered floor, spoke only
Those words, as if its soul in that instruction he did outpour.
Nothing more did he need utter; understood did I among that clutter--
Understood his command as I could scarcely do a few moments before--
I typed as furious as was willed me, understanding just a minute before.
Again the bird said "pipe grep more!"

"Amazing!" said I, "Penguin we will conquor the world if you will!
By the Network that interconnects us--by that Finn we both adore--
We'll take this very world by storm!" For now grasped I what he'd meant,
The thing I do while searching /usr/doc/* for that wond'rous lore--
Those compendiums of plaintext documentation and descriptive lore.
Quoth the Penguin, "pipe grep more!"

And the Penguin, never waddling, still is sitting, still is sitting
In the middle of my room and still very cluttered floor;
And his eyes have all the seeming of the free beer I am drinking
And the term'nal-light o'er him glowing throws his shadows on the floor;
And this OS from out the shadows that is pow'ring my term'nal on the floor
Shall be dominating--"Pipe grep more!"

Tuesday, July 10, 2007

It's been a while..

...since I last posted. Yeah I know been feeling lazy =p

Anyways uploaded my Vietnam pictures into my Flickr (finally). Tagged them and such, and jUploadr crashed -_- So did it again and it's uploading now. Huzzah!

Too lazy to talk about the trip, except it was fun! Fun! and FUN! And I'd go again.

And also, instead of being 'typical' tourists and buying all the touristy stuff (like bargain items (for SGians)), we bought lots of .. toiletries.. hehe.

Anyway feeling poet-y today, so here's 2

Popped into my head in the toilet (cough cough)
Is this poetry?
May it be two verses or three,
As long as it will rhyme,
And stand the test of time.


And another one for R's picture:
Sought by many, found by few,
He waits in his lair, feathered wings coated in morning dew,
Spawned from the blood of creature most hideous,
He stands, tall and strong, regal form so beauteous,
Pegasus, who arose from Medusa's blood,
Shall aid Kratos and turn Zeus' tears into a flood.

For his cloud pic

Somehow the haiku mood is gone, and the general ABAB poems that I usually write. Never really wrote the AABB type before.. Heh.

Must learn to write better poems and haikus. So far most of my haikus suck =p