Satya's LJ archive 200211

Event time: 2002-11-23 23:22:00
Log time: 2002-11-23 23:22:24
Mood: frustrated

I need a job :-(

Based in USA, my resume at

In short: Perl, Apache, MySQL, Linux. (Ideal for CGI-ness)

Event time: 2002-11-23 00:18:00
Log time: 2002-11-23 00:18:05
Subject: Hiiii
Mood: sleepy

Okay, so Jace said try livejournal, so I'm trying it. Blah, I don't keep a journal anyway

Event time: 2002-11-23 07:52:00
Log time: 2002-11-23 07:52:56
Subject: Odd
Mood: confused

Well that's odd. I wake up and find the computer stuck at the BIOS password prompt. I *know* I shut down last night. Apparently there was no power failure, either. Wake-on-LAN was diabled, I think.

Event time: 2002-11-23 09:32:00
Log time: 2002-11-23 09:32:04
Mood: accomplished

When coding anything with (context=database) records, be sure to have add, edit, and delete functions for everything. If you don't need them, you can remove them later, but have the functions in your design.

Saves a lot of time, when you decide that all you need is updates, and you end up needing add and delete.

Better yet, listen to the professor and spend a week in design.

Event time: 2002-11-23 14:17:00
Log time: 2002-11-23 14:17:48
Mood: bored

I want /bin/google. Oh wait... *gogole* [expletive deleted] *google*

But that's not what I meant. Hmm, google://cpan+google/results?1 returns
some interesting stuff.

Event time: 2002-11-23 17:31:00
Log time: 2002-11-23 17:31:06
Subject: Hey, my website
Mood: content (warning: popups) (blah, slow) (blah, slow)

Event time: 2002-11-23 21:48:00
Log time: 2002-11-23 21:48:21

Tourbus calls Disney the "Holy Rodent Empire".

Event time: 2002-11-24 21:54:00
Log time: 2002-11-24 21:54:26
Mood: frustrated

when doing this:
while(tptr!=NULL) {
  /*do stuff */

don't forget the freakin' tptr=tptr->next;

Event time: 2002-11-24 22:26:00
Log time: 2002-11-24 22:26:10
Mood: bitchy

'The busy flag is to keep people from looking over the wall of my virtual cubicle and asking "whatcha doing?"'

Event time: 2002-11-24 23:41:00
Log time: 2002-11-24 23:41:22

Practice what you preach:
while(z2->next!=NULL)   {
       if(isneigh(n2,z)==1)    ourneigh=1;

Event time: 2002-11-25 01:27:00
Log time: 2002-11-25 01:27:40

i can't believe i did it again!
while(n!=NULL) {
  /* stuff */

there is no n=n->next;

*bash*bash*bash* <-- sound of me banging head on desk
*tear*tear*tear* <-- sound of me tearing up  some diploma
aaaaaaaaaaaaaaaaaaaaaaaa! *thump* sound of me jumping off WPH (tallest building on campus, i think)

:-( time to sleep, i'll be better in the morning. Note: Must have sugar water while coding late in the night.

Event time: 2002-11-25 22:43:00
Log time: 2002-11-25 22:43:05
Mood: accomplished

Well, that was easy. I coded up the leave() function, and surprise, surprise, it worked the first time around. Yay me. Now I'm doing the query timeout-ness.

Just realised that we can't simply quit when the manager quits -- we have to wait until all our queries are done, then if term is 1 set it to 2, end while loop when term==2, and call leave just before setting term to 2.

In other news, weapons inspectors have landed in Iraq... nonono, wrong "other".

In other news, I intend to work on zig in December, maybe get some xp out of it.

Game of the semester: Earth and Beyond.

Event time: 2002-11-25 22:52:00
Log time: 2002-11-25 22:52:34

No need to call leave(), it will have already been called at that point -- oop, better not call adjtimeout if term==1, and better check for q1->found==0 after the while loop.