Yearly Archives: 2005

Dali Clock for OSX

Stick a fork in it, it's done: Dali Clock for OSX, binary and source.

Requires MacOS 10.4.0 or newer (if you try to run it on an older version, it will now display a dialog box instead of just crashing.)

I expect those of you in the western hemisphere to all be running this in full-screen "countdown" mode at your parties tonight!

Posted in Uncategorized | Tags: , , , | 34 Comments
Current Music: The Kills -- No Wow

Happy Leap Second

I am sad to report that MacOS X did not know about the leap second. 3:59:59 was immediately and shamefully followed by 4:00:00 instead of 3:59:60.


Update: But I see that all my Linux boxes just spat out this syslog:
Dec 31 15:59:59 cerebrum kernel: Clock: inserting leap second 23:59:60 UTC
(Nothing logged on OpenBSD.)

Posted in Uncategorized | Tags: , , , , , | 23 Comments
Current Music: Nina Gordon -- Badway

Mark your calendars: celebrate the Leap Second!

Tomorrow, a leap second will be introduced. That means that one minute in the last day of 2005 will be 61 seconds long. This is the first time a leap second has been needed in seven years.

According to Bulletin C of the International Earth Rotation Service:

The sequence of dates of the UTC second markers will be:

2005 Dec 31,  23h 59m 59s
2005 Dec 31,  23h 59m 60s
2006 Jan 01,  00h 00m 00s

The difference between UTC and the International Atomic Time TAI is:

from 1999 Jan 1, 0h UTC, to 2006 Jan 1 0h UTC : UTC-TAI = - 32s
from 2006 Jan 1, 0h UTC, until further notice : UTC-TAI = - 33s

In other words, the year will be longer by one second just before midnight, new year's eve, GMT. That's 4:00 PM PST, 7:00 PM EST.

Please take that second to just go nuts. One second. All to yourself. Use it wisely.

I also recommend reading Paladin of the Lost Hour by Harlan Ellison.




The reason leap seconds are needed is because there are two different definitions of the length of a second: the solar time that you use every day, where the there are 60×60×24 seconds per day (meaning the length of the second varies as the speed of rotation of the earth varies) and the engineering definition, where a second is defined as 9,192,631,770 oscillations of a cesium-133 atom: the atomic clock.

Mostly humans are concerned with time as it relates to the comings and goings of the Sun, but you need to be a little more accurate if you expect that satellite to be where you left it, so you need the length of your unit of measure to not change. That would affect everything else, too, since the official definitions of other units like the volt and the meter are based on the second. (You thought the meter was still defined by the length of that platinum-iridum bar in France, didn't you? Get with it!)

So the time system we use day to day, UTC ("Coordinated Universal Time") is a compromise between solar time (UT1, "Universal Time", formerly GMT, "Greenwich Mean Time") and atomic time (TAI, "International Atomic Time"): in UTC, seconds are of a fixed length, but leap seconds are periodically introduced to prevent "solar" noon and "atomic" noon from drifting away from each other.

But really it's all a lot more complicated than that!

And then of course there was the switch from the Julian to the Gregorian calendar at various dates (mostly) between 1582 and 1752, in which 4-Oct-1582 was immediately followed by 15-Oct-1582, in order to correct for the inaccurate leap-day-insertion algorithm in the Julian system, which over the centuries since its introduction had caused the calendar to detach from the observed equinoxes by ten days.

It can be really hard to know what time it is.

Posted in Uncategorized | Tags: , , | 39 Comments
Current Music: HeXanE -- A Higher Place

two kilolosers

As of earlier this month, there are more than 2048 LJ users who have me on their friends lists. That's two kilolosers. It is once again time for you to explain yourselves. Yeah, I'm talking to you:

  1. Who are you and why?
  2. Recommend some music that you think I would enjoy.
Posted in Uncategorized | Tags: , , | 359 Comments
Current Music: Frostiva -- Zero Hour

They just don't make RealBunnies like they used to.

Posted in Uncategorized | Tags: , | 3 Comments
Current Music: HeXanE -- 8-9-9 [coded transmission one]

top ten spam subjects

"AOL said it blocked an average of 1.5 billion spam messages each day."

Top ten spam subject lines:
  1. Donald Trump Wants You - Please Respond
  2. Double Standards New Product - Penis Patch
  3. Body Wrap: Lose 6-20 inches in one hour
  4. Get an Apple iPod Nano, PS3 or Xbox 360 for Free
  5. It's Lisa, I must have sent you to the wrong site
  6. Breaking Stock News** Small Cap Issue Poised to Triple
  7. Thank you for your business. Shipment notification
  8. Your Mortgage Application is Ready
  9. Thank you: Your $199 Rolex Special Included
  10. Online Prescriptions Made Easy
Posted in Uncategorized | Tags: , | 6 Comments
Current Music: 50 Foot Wave -- Long Painting

fuckpig

Posted in Uncategorized | Tags: , , | 26 Comments
Current Music: Trigger10d -- You Complicate Things

self-referential surveillance camera graffiti

Posted in Uncategorized | Tags: , , | 4 Comments
Current Music: Firewater -- Mr. Cardiac

2005 music wrap-up

In 2005, I bought approximately 124 albums (up 25% from last year!) This was surprising to me, because I was under the impression that I hadn't bought much music this year!

I thought I hadn't bought much new music because I spent four or five months going through my old music and rating every song, and I wasn't actively seeking out new music during that period. But that doesn't seem to have had the throttling effect I expected.

As in previous years, a few of these were released earlier than 2005, but that is when I discovered them, so I'm allowing a little slack. In only approximate order of favoriteness, here is my year-end wrap-up.

(  --More--( 9%)  )

Posted in Uncategorized | Tags: , , | 25 Comments
Current Music: God Lives Underwater -- White Noise

Dali Clock again

More Dali Clock: source and this time two binaries, one using the straightforward Aqua way of rendering, and the other using the lower level Quartz way, which I thought would be faster, but as far as I can tell, it's not. In fact, I think it's slower. Certainly it's flakier and a lot more complicated... Check out "#ifdef BE_QUARTZY" in DaliClockView.m for the difference.

All I'm able to understand from Shark is, "yup, spending all your time pushing bits to the screen." Shark seems to suggest that the Quartz way is faster, but Top disagrees. Grumble.

Is there an Aqua way to draw a 1bpp bitmap with a given fg/bg, besides dropping all the way down to CGContextFillRect? Because (as you can see in drawRect) that's a fuckin' pain in the ass when you're dealing with foreground and background colors that can have different amounts of transparency (e.g., making it continue to work when the numbers are a "hole" in the window.)

Posted in Uncategorized | Tags: , , , | 5 Comments
Current Music: Tricky -- You Don't