Today is special
· 2009-02-13 10:19 by Thijs Kroesbergen for Brokenwire.NET
Why? Because today is Friday 13th? Yes, and did you know there is a larger chance that the 13th of the month is a Friday? Now that's creepy.
But today is special in another way:
Unix time (POSIX time) represents the number of seconds since the "epoch" which is defined as on 00:00h, January 1st 1970. The 1000000000 mark already passed by on 01:46:40h 2001-09-09 UTC.
Many people take advantage of this well-balanced number to throw 1234567890 parties. (And why not, any reason is a terrific reason to party!)
Working in an Microsoft SQL Server world you may wonder why 1-1-1753 is the smallest date in the regular datetime datatype. Some very good reading about that can be found in The ultimate guide to the datetime datatypes.
Although watching these numbers rise is great fun, there is a new Y2k problem looming ahead. on January 19th 2038 at 03:14:08h UTC the world as we know it will end. Because at that exact moment the number of seconds will exceed the value a 32-bit signed integer can hold (2^31). If that doesn't end the world there is another chance on February 7th, 2106 at 06:28:16h UTC, when the POSIX time will reach 2^32. But using a positive-only integer to store the timestamp would be stupid because then we would loose the possibility to store date before 1970, so we're doomed anyway. The only chance of survival we have is to start storing the timestamp in signed 64-bit integers, because that will extend the problem for... uh... some 300 million years. (Don't worry too much, most modern operating systems store the timestamp in an 64-bits unsigned integer already)
So, what will you do to celebrate this great moment in history? I'll probably be watching TV, and not playing any games.
A NASty device
· 2008-04-05 21:09 by Thijs Kroesbergen for Brokenwire.NET
As of today I am the proud owner of a 1TB network attached storage device.
It’s name is "CH3SNAS". I’ve used two 500 gb Western Digital GP harddisks. These disks are made to be energy efficient. I thought that would be a good thing for a device that will be always-on. And the disks won’t be stressed out much because all data has to travel through the network before hitting the disk. So speed is not an issue. Besides that: more power more heat, more heat more cooling and more cooling == more noise and dying disks.
I’ve also upgrade the network switch to gigabit because the old switch was dying and its not a lot of fun to reset your switch every few minutes while trying to download something. Now the CH3SNAS is the only 1000mbit device connected but now I can upgrade the others gradually.
This device also has an UPnP AV Media server on board, so I can easily browse through all my movies, music and pictures. I’ve also found a nice UPnP compatible music/movie player for my IPaq (but it’s not free so better suggestions are welcome!).
It also has a scheduled download option, which means that the NAS can download stuff while your PC is off.
Maybe the most important thing this device can do: it has support for so called "funplugs" (the hardware is almost identical to the D-Link DNS-323 NAS, only the CH3SNAS is cheaper). Which means that you can add your own software to it. The thing actually runs Linux and has quite a decent CPU so there’s all kind of fun things to run on there. I’m thinking bittorrent, hellanzb, slimserver, ssh, nfs-server… a lot to play with ;-) Oh and there’s a new firmware out soon as well.