" /> kasia in a nutshell: March 2003 Archives

« February 2003 | Main | April 2003 »

March 27, 2003

The little scary moments

Today at the gym as I was doing my rounds on the wimpy weight-lifting stack-based machines (heh, stack based!) a relatively young guy (looked to be in mid 30s, not that much older than I) had what appears to be a heart attack while running on the treadmill.. He seemed to be in pretty decent shape.. probably just pushed a little to hard.

That scares me as this is something I tend to do.. This isn't just running, pretty much everything I set my mind to I tend to go to the extremes.. Hey well, if it's worth doing, it's worth doing until everyone thinks I'm psychotic! Not like I'm in such a great shape myself and while I have been working at it hard I still can't really run an 8K race next month that a friend keeps bugging me to enter.. no way.. I'll probably have my own heart attack as I drag myself to the finish line bleeding over fallen bodies of lesser runners (I'm not a quitter, damnit).

What's the point of eating healthy, exercising regularly, being in good shape when it's so very easy to just push yourself too hard one day and boom.. they're taking you away on a stretcher as fat-laden gym members watch and wonder.. Then again, what's the alternative...

Life sucks sometimes.

The gulf war drinking game

*hic*

March 26, 2003

Dear State of Connecticut

Your record keeping practices suck.. as do your accounting practices.. then again, maybe this is a shrewd way of getting out of that terrible fiscal crisis?

What am I talking about? Today as I came home I was greeting by a letter in my mailbox addressed from the Department of Revenue Services (CT version of IRS).. never a good sign.. well, it wasn't this time either.

According to their records I paid no taxes for the year of 2000 and owe them $554.87 plus interest and penalties for a total of $743.56. Interesting how that happened considering I have a copy of my 2000 tax return that claims I was owed a $39 refund.

So tomorrow I get to call them and try to straighten this out (I wonder if copies of W2s and a return which clearly show I paid taxes will be enough?). Like I don't have enough problems keeping my own accounting straight, now I have to do it for the state of Connecticut too.

I am interested to know though.. if they have no record of me paying the tax.. do they have a record of them paying me back the balance they owed? ($39) I wonder if I can get that plus penalties and interest back.. yah.. okay, you can stop laughing now, it wasn't *that* funny. How did they come to the conclusion I earned income and owe taxes? Must be the copy of W2s employers are required to send to the state.. the very same W2s that show tax was withheld and in fact I overpaid.. hmm.. funny how they didn't spot that figure.

Redesign - changes

I think my weblog is due for a major redesign.. this look is getting a bit old for me and I'm a person who needs constant change.. so I'll start working on that tonight (when I'm at home as opposed to at work waiting for weblogic to restart and a quick build to finish).

There is one thing in particular I would like to change and wish others would follow.. Mainly my archive sectioins.. right now I'm using the default style of archiving that Movable Type uses -- each archive (monthly, category, daily) is essentially a page with all the entries for that particular archive in their full-textual glory. I will be changing that to a relatively simple page of links to individual entries -- but provide some more information than just an entry title.. (category, date/time, perhaps keywords)..

The full text of each entry will have one place to live and one place only -- on their individual archive pages.. and of course on the main page when the entry is still fresh.

What's the point?

Google.

We all know how much google loves weblogs.. well that love extends to the archive pages and unfortunately that creates a massive misinformation base of searches.. Many of the searches that bring people to my weblog are a combination of words from several, unrelated entries combined together on one, long, lengthy archive page. The change to my archive pages ought to put a stop to that...

March 24, 2003

Pay for platform development

Scott asks:

How much longer before Microsoft starts charging developers for the "privilege" of writing software for Windows? Pathetic.

It's not as outlandish as it sounds at all.. if you consider that game platform companies make up for their loses on hardware by selling software development kits for their consoles. Everyone's favorite, Micro$oft has sampled the 'charge for development' market with their xbox platform and I'm sure the accounting wheels are already turning calculating how they could capitalize on same with windows.

After all.. MS could claim losses on windows sales due to software piracy (that good-old equation when they think everyone who copied would actually pay for a copy otherwise).

Adaptable google?

Dave Winer says:

Here's an idea. Should Google take who's doing the search into account when doing its page rank work?

Considering that google already filters results based on location this isn't a particularly big step to take.. of course the difference here being that current filtering is done based on the domain the uh, searcher (is that a word?) used (ie: google.fr, google.de) not his origin. The same database is used to generate the results so it is very much related.

Now, the simplest solution would be to use some sort of database which geographically maps IP addresses, right? Wrong. Last time I checked one of those it located my San Jose-based server somewhere in Honduras. (No, it's an American ISP, really).

So given that IPs are not reliable for location verification (we all knew that anyway) how about a cookie? Great, more cookies... then of course everyone forever forgets to set one before performing the search.. so I can just imagine myself being frustrate enough to say "screw it" instead of doing the search again..

Hm, then again, doesn't pretty much anyone have an amazon cookie? Maybe google could just use that.. given that 90% (probably more) Internet users use IE and it's a given a new security hole will show up sooner or later it shouldn't be hard for google engineers to exploit that and read Amazon's cookie.

So yah, good idea, but will it be implemented? Given that it would require additional action from the user.. probably not as part of original google but rather as a google service (google restaurants! google movies!.. whatever).

March 23, 2003

All the pictures nobody wants to see

Having a nice, new server is great.. all that space just for me, but what's even better is that it's a relative fast machine and can handle php without 3-minute wait times to spit out a simple page. Given all this wondrous power and great possibilities gotta use it for something, right? So why not my useless photograph collection!

To translate the above: Me have new server, me have space, me install gallery, you view pictures!

March 22, 2003

No subscriptions

I took away the 'subscribe' box and will stop offering that feature.. sorry to those that actually liked that, but the problem with this is that Movable Type does not automatically send updates (which kind of makes sense when I think how many times i tend to edit an entry) and I constantly forget to send one.

Better to not offer it at all than offer it in a spotty and inconsistent way.. (and yes, this entry will go out but it will be the last one).

Those who wonder what the heck am I talking about.. weblog updates via email.

As DNS turns

It's funny to watch traffic slowly trickle down on one server and pick up on another.. but the sad part is that my ttl is set to 3600s.. and I made the DNS change about 12 hours ago.

Still seeing considerable amount of traffic on the old server.. that means there are quite a few servers out there that don't respect ttl settings.. that really stinks.

Welcome to my new server!

Aren't new servers fun? I didn't count how many hours I spent on this (quite a few) but it wasn't half as bad as I expected. I moved my old MT install and upgraded in one shot and amazingly all works fine. At least it appears to for now.

If anyone's reading this (other than me) that means DNS has also propagated and all should be working!

I'm sure there's some lose ends to tie up here and there and some broken things.. (if anyone notices something, let me know, please?) but if nothing else at least comments ought to post a lot faster now.

March 21, 2003

The spam-points game

I've been watching my spam to see what's the highest rating spam assassin ever gave it.. this is the highest I found so far.
Who says spam can't be fun :)

Content analysis details: (41.90 points, 5 required)
MLM (0.9 points) BODY: Multi Level Marketing mentioned
EARN_MONEY (0.7 points) BODY: Message talks about earning money
JODY (2.9 points) BODY: Contains "My wife, Jody" testimonial
BANG_MONEY (2.2 points) BODY: Talks about money with an exclamation!
BULK_EMAIL (2.4 points) BODY: Talks about bulk email
ORDER_REPORT (2.9 points) BODY: Order a report from someone
FINANCIAL (4.3 points) BODY: Financial Freedom
SECTION_301 (1.1 points) BODY: Claims compliance with spam regulations
UNDER_BILL_1618 (4.3 points) BODY: Claims compliance with Senate Bill 1618
EXCUSE_3 (0.1 points) BODY: Claims you can be removed from the list
INVALUABLE_MARKETING (2.9 points) BODY: Invaluable marketing information
RISK_FREE (0.7 points) BODY: Risk free. Suuurreeee....
CANNOT_BE_SPAM (1.5 points) BODY: Claims "cannot be considered spam"
COPY_ACCURATELY (2.9 points) BODY: Common pyramid scheme phrase (1)
INITIAL_INVEST (2.8 points) BODY: Requires Initial Investment
BAYES_70 (2.2 points) BODY: Bayesian classifier says spam probability is 70 to 80%
[score: 0.7811]
REMOVE_PAGE (0.3 points) URI: URL of page called "remove"
NORMAL_HTTP_TO_IP (0.9 points) URI: Uses a dotted-decimal IP address in URL
SUBJ_ALL_CAPS (0.7 points) Subject is all capitals
RCVD_FAKE_HELO_DOTCOM_2 (2.8 points) Received contains a faked HELO hostname (2)
FORGED_HOTMAIL_RCVD (1.1 points) Forged hotmail.com 'Received:' header found
CASHCASHCASH (0.0 points) Contains at least 3 dollar signs in a row
FROM_HAS_UNDERLINE_NUMS (0.7 points) From: contains an underline and numbers/letters
PRIORITY_NO_NAME (0.6 points) Message has priority setting, but no X-Mailer

March 20, 2003

Cats are funny creatures

One of my kitties goes completely insane for immitation crab meat and the other won't even touch it. The one that won't touch it will eat pretty much anything else under the sun.. while the one who loves it is the pickiest eater on earth.

Targeted advertising?

It seems some news sites really ought to pay more attention to what kind of advertisements they display with which story.. I don't think the advertisers featured on this story would be particularly pleased with their placement.

Hm, considering this must be an issue for all news sites, I would think there's already an application out there that matches appropriate advertising with appropriate content. If not, someone really ought to write one!

March 19, 2003

And so it goes

I don't understand how can anyone cheer a war. People are dying.. when you die it no longer matters which side you were on and everyone has someone who loves them.

Funerals are indeed for the living. I don't like this one.

Weblogs in CT

Something that has been on my mind for a while.. creating a site that lists weblogs based in Connecticut. There aren't that many of us so it shouldn't be too hard to maintain and it might be useful.

I wonder if there's any interest in such a website?

March 17, 2003

What I misunderstood about postfix

Some have emailed me asking what is it exactly what went wrong in my postfix setup. It's not actually anything I did wrong, it's that I misunderstood (or rather over-estimated) the way postfix works. I assumed it would differentiate between real (as in /etc/passwd) users and virtual (only lives in mysql) users for a local-delivery domain. It doesn't. A domain is either virtual or local can't have it both way.. so while it will deliver mail to virtual users configured for a local domain it will not write the files with the virtual uid/gid combination but use nobody/nobody instead as a lookup of the user in local passwd file fails.

I actually see this as a bug, since it *does* deliver the mail.. shouldn't take much more to enhance it to be smarter about who the user really is.. after all..

- exists in mysql = check
- doesn't exist in passwd = check
- user is valid = check

hmm.. gee.. maybe it's a virtual one.

This is only an issue with a domain configured as local, purely virtual domains do not have this problem.

Of course, I could be missing some big point here.. like an inherent security risk in this (I can't imagine what.. but smarter people than I wrote this).

March 16, 2003

why, why, why

Is postfix insisting to use nobody/nobody instead the virtual uid/gid when creating mail.. sigh.. I've checked every setting 1000 times by now and all seems correct including the entry in the db. Time to go outside before I tear all my hair out.

-rw-------    1 nobody   nobody        476 Mar 16 08:35 1047832514.V303I27c00b.cygnus
-rw-------    1 nobody   nobody        480 Mar 16 08:47 1047833231.V303I27c00c.cygnus
mysql> select * from users where address='test';
+--------------------+---------+---------------+---------+------+------+------------------+--------+-------------------+
| id                 | address | crypt         | name    | uid  | gid  | home             | domain | maildir           |
+--------------------+---------+---------------+---------+------+------+------------------+--------+-------------------+
| test@unix-girl.com | test    | nbzzN9gUKKwYw | testing | 3001 | 3000 | /data/vmbox/test |        | /data/vmbox/test/ |
+--------------------+---------+---------------+---------+------+------+------------------+--------+-------------------+
1 row in set (0.00 sec)
main.cf:
virtual_uid_maps = mysql:/etc/postfix/vuids.cf
virtual_gid_maps = mysql:/etc/postfix/vgids.cf
vuids.cf:
user = postfix
password = whatever
dbname = maildb
table = users
select_field = uid
where_field = address 
vgids.cf:
user = postfix
password = whatever
dbname = maildb
table = users 
select_field = gid
where_field = address 

Maybe it will come to me later.

Good morning!

It's Sunday and the weather is finally above 40 degrees and supposed to be above 40 today! Time to run in the park, I'll attempt to do a nice 5K trail in my local park but it may be just an attempt as I've only been running the treadmill at the gym at 1% incline and the trail in the park has hills. Big ones.

My Internet disconnection put me way behind on geek-type news and I need to start catching up on all my reading. One main thing to mention, I suppose is Scott's Feedster. Well done! What a great idea. Even better, what a great example search term :)

March 14, 2003

The subtleties of unix systems

(..and unix-like systems for the picky).

Can you spot the difference between the two? It cost me several hours of heavy searching as to why the hell postfix refuses to compile!

Line 1:


make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -m'

Line 2:


make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm'

This is the main problem with unix/linux/whatever *nix thingy you're using.. it's soo easy to make a little typo that will cause endless headaches as the errors returned are anything but pointing in the right direction.

Main issue I have: the first thing that comes to mind when something won't compile is incompatible libraries, missing libraries, gcc versions, etc.. who the heck thinks of a small typo at first?

Oh well. Moving on.

I should add.. while maybe on windows a small typo like this wouldn't be an issue.. there's a reason for that.. windows doesn't even give you the opportunity to mess up this way. Yay for linux.. the pain that it is sometimes.

Those quirky ebay sellers

I know, I know, linking to jokes, but this is just too funny.. love the pictures.

Instant Girlfriend kit.

March 13, 2003

I'm back!

After a week of no Internet connection courtesy of some over-zealous cable tv tech (see previous entries for details) I'm back to being connected. A tech not only showed up, but actually rang the doorbell this time and hooked me back up. Marvelous.

Now for the fight to get them to credit me for the week-long outage.

March 11, 2003

Difference in customer service

AT&T/Comcast: Nightmare still continues nearly a week later over something that is 99% certain to be their issue (no signal on the cable at all).

Verizon: Issue resolved over a 2 hour phone call with 2 different technicians.

AT&T/Comcast: A service rep actually yelled at me today when I suggested that I don't believe someone will call me back.. 6th such promise after the first five calls where not returned. (I was right, they didn't call back, but I suppose it could have been spite at this point.. and no, I wasn't rude to him at all).

Verizon: Very nice and polite and called *me* back when I got disconnected after a phone battery died.

AT&T/Comcast: Nearly a week later issue not resolved.

Verizon: Not only was issue resolved, the same technician called me today to make sure service is still working and I'm happy.

I don't normally pimp corporations.. but damn if Verizon's customer service doesn't just shine compared to AT&T/Comcast. Then again, in comparison to those bastards the guy on the corner selling pot probably has world's greatest service.

AT&T "soon to be Comcast" saga continues

I think it's time I make a new category.. "rants and bitching".. well maybe tomorrow.

I had an appointment with a tech today, between 11-1pm. The tech did show up, in his nice truck with freshly painted "Comcast" lettering over where AT&T used to be and TCI before that. Showed up, never bothered to leave the truck, ring the doorbell or any of the usual things one would expect of a service person. Then left and as I found out later was nice enough to close my ticket for me as well. That's right, without fixing a damn thing.

Called customer service (who else?). They seemed concerned (hah, funny) about my problems and said the tech claimed nobody was home. How nice of them to hire obviously psychic techs since he never bothered to check if someone was home. Hm, perhaps he was afraid of the gang of 5 year olds running on my street because that's the scariest thing in my neighborhood as far as I can tell. Well, either that or my neighbor's chihuaua. That dog can be quite loud. So, back to customer service.. they said they would have someone from the local market dispatch call me back within two hours. (Hey, at the very least I'm really learning all this cool cable-internet-lingo).

Two hours later, no call back. Hah! Bet you didn't expect that result, well I didn't, I still had faith. Of course I called them again.. this time I got to talk with a very-important sounding supervisor. I got a very apologetic "no really, they will call you back in 30-45 minutes, please don't call us back before then" -- they learned to love me by now.

An hour later, of course, no phone call. More customer service calls, more supervisors, more promises.. and a result of.. "we can get a tech out on the 13th".

Uhm, no. I am not waiting until the 13th to have my Internet access restored, especially considering what I suspect the reason for the disconnect is. My lack of subscription to cable tv and an overzealous technician. So, so far the result is: they will try to get a tech out tomorrow morning. I'm not holding my breath.

In the meantime, I subscribed to Verizon's express network.. 110K connection on my cell phone which is connected to my laptop. It's pretty nice! Well, was while it was working which it is not anymore. It stopped for no particular reason and I'm currently on the phone with Verizon's tech support (some really nice guy from California has been on this with me for the last hour or so.. but it's still not bloody working (he laughed at my lame jokes, he must be nice (hey, I'm nesting parens!))) and trying to get it to work. Sigh.

I'm cursed.

Well, if nothing else I learned how to get into the setup menu on my phone using the Verizon (maybe it's Motorola, dunno) secret access code. Lots of nifty options there to play with but considering my recent luck with all things electronic I think I'll restrain myself from doing so.

March 07, 2003

AT&T/Comcast suck, badly

I finally figured out what happened to my Internet connection.. no, it's not a regional outage.. it's just that the customer service people can't differentiate between e-mail problems and connectivity problems (can you please cycle your modem?). The outage in my area was for e-mail.. not connection.

Now since, all my neighbors have their cable tv (none of them have cable Internet that I know of) and all theirs works fine, that leave one choice (can you cycle your modem please?) .. especially since apparently there was a cable tv truck on my street yesterday morning.

Something that has happened once before and also left me Internet-less for a few days. (I need you to go to the back of your modem and pull the plug, count to 10 and plug it back in). Big clue: I do no subscribe to cable tv. I refuse to. I don't watch tv I have no intention of paying for it.

That's right, once again, (cycle your modem please) the cable tv division came by, saw my hook up (with filters so I don't actually get channels just noise) and pulled the plug. Guess what that disconnects? (now cycle your modem again).

Of course, a technician cannot come before Monday so i'll be going to the office to work this weekend (this couldn't have been at a worse time work-wise). What does customer service say? Please cycle your modem!

AT&T cable tv & AT&T cable Internet do not even talk to each other. One doesn't know what the other is doing, one has no clue what the other is doing, in fact I'm not sure one knows the other exists.

I'm feeling great after spending an hour on the phone with various customer reps trying to explain to them that cycling my modem will not create a signal on wire and therefore will not restore my connectivity.. yes, I realize some people that call in are idiots and I realize those customer service people get paid very little and know very little.. but honestly, cycling your modem doesn't fix everything. Maybe an inter-company memo explaining that people that have cable Internet are not necessarily stealing cable tv and need that line connected? Please?

Maybe this is just another of their tactics to get me to subscribe to cable tv. DIsconnect my Internet access every 6 months for a week at a time.

I wish I could get decent dsl where I live.

Internet-less

My cable modem went down yesterday morning (right around that great, big snowstorm).. cable tv is out as well so it's a bigger outage than some blown card somewhere.

As of this posting it's still down.. and since customer service claims it should be up I'm not sure they even realize they're having a problem. As it stands a technician is supposed to come out to my home on Monday, of course they may have cancelled that by now considering they think it's fixed and won't listen to reason. Yah, cable tv is still out as well.

Not having web access at home sucks.. especially since I have to work tomorrow and it seems I'll have to come to the office.. (where I am right now).

Bah.

March 06, 2003

Net::Blogger

This is very cool. Jeremy posted a perl script he used to make an entry in MovableType.

Blogging from within emacs coming soon!

I already do that to a certain extent, as I write my longer entries in emacs (use the spellcheck, I need it) and copy-paste them into MT. How cool will it be to post from within emacs!

emacs.. it's not just a text editor, it's a way of life.

March 05, 2003

Browser signatures

Spotted in my logs:

compatible; MSIE 5.5; Windows NT 4.0; Privacy is Required

That's nice, really. That's about all it means too.. what's the point?

Should I post his IP? :)

March 04, 2003

Hussein-Bush debate transcript

Guardian Unlimited:

Ignoring the fact that George Bush declined Saddam Hussein's challenge to a televised debate, Tim Dowling exclusively reveals what could have happened had they met

Things you should positively not do while driving

  1. Listen to clearchannel stations
  2. Knit a sweater for your favorite grandson
  3. Play Scrabble
  4. Have evil thoughts
  5. Hunt for dinner
  6. Drop your cell phone on the floor while attempting to answer it.. flail your arm wildly attempting to retrieve it without actually stopping the car and end up pushing your seat all the way back by grabbing something that seemed to be a cell phone but wasn't. Then stomp your legs around like a wild boar in a potato field as you discover you can no longer reach the brake pedal.
  7. Stepping on your cell phone as you tumble down hill and grab at the hand-brake in panic isn't a winner either.

It was a local, empty road, thankfully.. amazingly, the cell phone, car and idiot driver survived intact. Those little Motorolas are sturdy.

March 03, 2003

Bad code annoyance with Java #234840

Gratuitous casting to get around bad design.

I refactored code today that did something like this:

// Imagine this method returns an interface
// iStuff which is implemented by an object called Stuff. 
// 
public static iStuff getStuff(int key) { 
   iStuff rval = new Stuff(key); 
   return rval;
} 

public void doSomeStuff(int key) { 
   // Note, this was just cast to an object!
   //  
   Stuff stuff = (Stuff) getStuff(key); 
   stuff.doSomeChange();      
} 

Sorry, this is the best way I could duplicate what the code did without actually copying the code. Point is: Instead of changing the design to reflect the fact that the interface did not have a method needed.. someone went and cast an interface to an object. How horrible! Yet legal. Also very dangerous as it will break if someone changes the underlying implementation of the getStuff() method.

What inspires you?

Reading Jeremy's entry about his book-writing struggles made me think about my own problems with blocks.. be it writer's or programmer's (yes, we have those too).

Jeremy discovered he works well away from a keyboard.. I think that may be true of many people in general we just don't often give ourselves a chance to try it. After all, anything written by hand needs to be typed.. seems like more work, why bother? Then there is the convenience of a laptop computer.. when I didn't have one it was all I wanted.. a dream come true.. and it really is great. I can sit outside a coffee shop (well, once it gets warm again) and write, write, write.. data going straight onto my hard drive.. clickety-clack packaged complete with a spell check. It's great.. except.. I often find myself lacking in inspiration and what I miss then.. is the editing.

One thing I cannot do on a computer but can on a piece of paper is completely and utterly destroy what I've written with a stroke of a pen. There is just something great and inspriing in madly crossing out letters.. It has to be a pen.. pencils are wimpy and just don't make much of an impression.. but a pen.. swoosh goes a paragraph.. off with a word.. there goes a letter. This just can't be duplicated on a computer with clean and sanitized deletion. Little editing and before you know it your'e inspired again..

March 02, 2003

A disturbing trend

I have noticed recently that majority of my friends are going through major changes these days. Getting divorced, married, having children.. I think I can count maybe one or two friends who are not doing one of those listed... That's a little frightening.

Is it something specific to this age group? Care-free 20s over.. time for reflection on the meaning of life? (speaking of which, I liked "About Schmidt" quite a bit, great movie).

I'm debating whether it's just fear.. Turning 30, while to some may sound laughable, to me is a big change and I have an idea it's the same for most of my friends. This is it. The crossroads. If you don't have children yet and want them.. you better start on that pregnancy quickly... so there you have.. everyone wanting to get married in the hurry in the fear of becoming old and childless.

So this is what I've been doing lately.. reflecting on life and working.. and of course I got my promo disk of Zelda. Should be back to regular-geeky blogging tomorrow.

Where is spring?

It's snowing again! I can't take it anymore.

Have we annoyed some weather-providing god? What kind of sacrifice would make it go away.. would a toasted motherboard do?