#10324 (Jabber connection unreliable) - Adium X - Trac

Posted 07 July 2008 in links tagged with [adium] [bug] [jabber] [xml]

This bit me badly. Yay for fixing things quickly!

http://trac.adiumx.com/ticket/10324

 

#10324 (Jabber connection unreliable) - Adium X - Trac

Irritating 2038 Ruby / Rails behaviour

Posted 17 October 2007 in blog tagged with [bug] [rails] [ruby]

In a rails console:

>> (Time.now + 30.years).class
=> Time
>> (Time.now + 31.years).class
=> DateTime
>> (Time.now + 30.years).to_s
=> "Sat Oct 17 17:27:11 +0100 2037"
>> (Time.now + 31.years).to_s
=> "2038-10-17T17:27:13+01:00"

Time objects after about August 2028 can’t be expressed internally as ‘UNIX epoch (1st January 1970) plus N seconds’ where N is a 32 bit integer. Once a Time object tries to express a date after this point, it gets silently converted to a DateTime object, which presumably uses a different internal representation. It also stringifies differently, has different methods, and is just generally annoying behaviour.

When you have dates in a MySQL database, and use ActiveRecord, DATETIME columns come out of the table as either a Time or a DateTime object depending on what the expressed date is. Lovely. This bug indicates that dates before 1970 behave similarly (they can’t be expressed as unsigned epoch times either).

This is apparently desired behaviour.

Update: Apparently, DateTime objects are also much slower than Date objects.

 

Bug #26436 in firefox (Ubuntu): “gtkmozembed crashs with python”

Posted 13 May 2006 in links tagged with [bug] [firefox] [gtkmozembed] [ubuntu]

A deeply annoying ubuntu bug (for me, anyway) which is stopping me playing with gtkmozembed under python. The Perl bindings also seem to suffer, although the Ruby bindings are ok, so I’m toying with them at the moment.

https://launchpad.net/distros/ubuntu/+source/firefox/+bug...

 

Bug #26436 in firefox (Ubuntu): “gtkmozembed crashs with python”

IssueTrackers

Posted 07 November 2005 in links tagged with [bug] [edd] [free] [tracking]

A roundup of free bug/issue tracking software

http://usefulinc.com/edd/notes/IssueTrackers

 

IssueTrackers