Entries Tagged as 'Uncategorized'

How medical care ought to work

I got some kind of wierdness going on with my foot. Bug bite? Sprain? Alien?

Well, I could try to get in to see my doctor, but that’s gonna take a week or three. By then, this alien is going to have burst out of my foot and left me down a leg.

I could go to the ER, but this isn’t really an emergency, it’s gonna cost like sin, and I’m gonna be taking up resources that someone who’s really fucked up should be using.

Enter the walk-in clinic.

Now, my insurance is a high-deductible kind of thing, so this isn’t a co-pay and out thing. I’m paying cash.

$105, I was in and out in 15 minutes. Diagnosis: some kind of infection. What kind? Who cares. Prescription for an antibiotic (picked up for free at Stop & Shop).

Whatever it was, it’s shrunk, it doesn’t hurt that much, and it’s not bright red.

Which means it wasn’t an alien, so I’ve got that going for me.

But here’s what I don’t get – people seem to think that $105 is a ridiculous amount of money to pay a professional for his time. I pay this every year to get my furnace cleaned. Clearly there’s some kind of mental disconnect afflicting people when it comes to paying for medical care.

Old dog, new trick.

Snoring. My dog is snoring.

MESSAGE FAIL!

A Rod gets plunked. CC sends a message to Curt Suzuki – drawing warnings to everyone.

Suzuki responds with a home run on the next pitch.

On the non-universality of passwords

One day I will learn that my administrator password does not work on my customer’s systems.

Does anybody really know what time it is?

Well, if you’re running VMWare ESX, your virtual machines might not.  (If you’re just looking for a quick answer on why your clock drags ass, remove your virtual floppy drive.)

Allow me to elaborate.  I am not slagging on VMWare.  They make some incredible stuff.  But they are trying to simulate a system that contains thirty year old kludges.  Some of those kludges cause very wierd things to happen.  One of those things involves time.

VMWare has an excellent paper on timekeeping in virtual machines.  The specific problem that I ran into is a side-effect of what they refer to as “tick-based timekeeping”

Dig this: Running the Universe database in a Windows 2008 virtual machine, we noticed that scheduled tasks were being missed.  We here is really me, but we sounds better since this was for one of my clients.  Anyhow, the task scheduler is something I wrote.  It runs through its internal task list at the top of the minute, and runs whatever is appropriate for the minute.  Works a lot like good old cron.  Specifically, it uses the Universe Basic SLEEP command to sleep for 10 seconds, and checks if its at the top of the minute.  The reasons for this weirdness are something you understand if you work with Universe.

So, it’s missing jobs.  No clue why.  The clock seems to drag a bit, and then catches up. I wrote a test program that would SLEEP for thirty seconds, and then print the time.  And here’s what I wound up with:  Sometimes SLEEPing for thirty seconds would take a minute and a half!  Essentially, it would occassionally SLEEP through its alarm call.

So now you’re wondering “hey, how is that possible?”.  Remember that white paper I linked that you didn’t read?  It’s all about the ticks.  I don’t know how, precisely, the Universe SLEEP command works, but I’ll bet real money it counts ticks.  And when the tick counter goes wacky, so does SLEEP.

In the process of googling, I found all sorts of ways that time could drag, but none of them were my problem.  So I did what I usually do when I can’t find an answer.  I go easter egging.

In my lab, I created a new VM with only one CPU, just enough RAM and disk, and a single NIC.  I installed the OS and Universe.  Then I ran my little test program.  And SLEEP took precisely the right number of seconds every time.  The only differences between this VM and the first one were the number of CPUs and a floppy drive.  So I shut down my other Universe-hosting VM, and removed the floppy (more on why that became the obvious choice in a moment).  Restarted it, and SLEEP worked perfectly.

So now, you’re scratching your head.  How can a floppy drive, a VIRTUAL one, no less, cause clock problems?  We go back to the white paper.  VMWare detects if something needs ticks, and provides ticks to the virtual machine.  But they acknowledge that the ticks don’t necessarily come in a continuous stream, and some things might not handle getting a whole stream of ticks at once when ESX tries to catch up.  This is why the clock bounces around so much.  It also explains why Universe freaks out.

In the final analysis, VMWare sees the floppy drive, and decides that the VM needs ticks.  Take away the floppy drive, and it uses one of the more accurate tickless timers.  This goes all the way back to Windows 98, when the guys at Microsoft figured out how to make a floppy drive know a disk had been inserted or changed without actually reading the disc.  But the floppy drive generates interrupts, and the routines for dealing with it use, you guessed it, ticks.

So, the lesson learned is this – simplicity good.  If you don’t need it, then don’t attach it to your VM.  And with the hardware set that VMWare provides, you probably don’t ever need a floppy drive to install your favorite operating system.

Is the Fairness Doctrine coming back?

“You can’t just listen to Rush Limbaugh and get things done,” [President Obama] told top GOP leaders, whom he had invited to the White House to discuss his nearly $1 trillion stimulus package.

That would be a no.

h/t Instapundit.

Fuck Valentine’s Day!

It’s on, bitches! We now have commercials (in the UK anyhow) suggesting violence be done against men if they “forget” Valentine’s day.

Go watch the commercial. Then ask yourself what would happen if a man walked into his wife’s office and slapped her face because she forgot his birthday or something equally trivial.

This shit has GOT to stop. This stupid fucking “Hallmark Holiday” needs to be killed and buried. And then we can get around to adjusting the attitude that some women seem to have that they can slap men around with impunity.

h/t Da Goddess.

OUCH!

First, a public service announcement.  When using a reciprocating saw, it is important that you DO NOT put your fingers on the wrong side of the guard.  You might pinch your finger in the mechanism.

This hurts very much bad.

Which leads to ouch number two, the releasing of pressure from the blood blister under the fingernail.  This represents the first time in my life where I have intentionally put a hole in any part of my anatomy.

The gasp made upon perforating the nail was described as “you sucked all the air out of the room”.  And the blood…  MY GOD.

But there is a whole lot less pain.  So I’ve got that going for me.

Why banks are renegotiating mortgages.

As if this hasn’t been said a thousand times already…

The reason banks are willing to renegotiate rather than foreclose is simple:

The housing market has collapsed.  It’s not on it’s way, it’s not teetering.  It’s done.  Stick a fork in it.

The whole thing is right out of Econ 101.  Artificially heightened demand leads to overproduction, which leads to increased inventory, which leads to a collapse in prices when supply outstrips demand.

So the very last thing any bank (that wants to remain in business) wants to do is find itself holding properties.  Especially distressed ones (which many foreclosures are).

The doctrine of “half of something is better than all of nothing” applies.

Timing Belt FAIL!

Three miles from home, car dies.  Won’t turn over, won’t crank. Made a funny whirly noise, and then… nothing.

Called AAA, got towed, got to dealer, guy looks at it for 5 minutes.  “Timing belt, head, head gasket.  At least.”  Because I bought a 2001, it’s all covered under warranty.  Without that, we’d be looking at a nearly totaled car at $5,000 to repair.

And throughout the whole thing, I didn’t lose my temper once.

Why do I freak out over the trivial shit, but my car (literally) blows a gasket, and I don’t?