#ruby-lang - Fri 18 May 2007 between 11:58 and 12:14

NY Lost Funds



rikwhat database are you using?
defcon8sqlite
rikif i were in a bad, or indeed, normal mood, i would tell you that sqlite is not a database, because it doesn't have referential integrity or type checking, despite you being able to specify them. but i'm in a happy mood for no aparent reason
so i'll just say sqlite-ruby.
defcon8rik, thanks
possiehow can i print a integer in hex ?
actionrik shrugs.
rikshrugs.
aha
printf "%x", 23 => 17.
(returns nil though)
possiethanks
actionrik looks at the tip jar.
riklooks at the tip jar.
defcon8how do I md5 a string?
apeiros_require 'digest/md5'
Digest::MD5.hexdigest(string)
rikyeah, that.
actionrik wanders off to do some work.
rikwanders off to do some work.
defcon8apeiros, it is not showing up in the fxri
oh, I get it
apeiros_defcon8, yes, because it's not really documented (which is why you got the whole code free house instead of an RTFM ;-) )
defcon8okay thanks
is there a more common method of hashing in ruby? I find it quite interesting that MD5 would not be used frequently enough in ruby to justify its documentation
apeiros_defcon8, not really. but quite some important stuff is not really documented. E.g. Sockets
just take a look at ruby-doc.org/stdlib/ - all the non-bold entries... :-S
defcon8are people just lazy? :|
apeiros_I guess it's more "people are japanese and hate english" :)
alteregoJapanese hate English?
apeiros_afaik japanese people don't like english too much
alteregoOdd .. Never heard that one.
Why do they keep coming over here then?
My city is _full_ of Japanese
teferido you think you're turning Japanese?
do you really think so?
apeiros_alterego, well, just because they have good reasons to come over doesn't mean they like the language :)
but anyway, it's just hearsay
actionapeiros_ is impressed about matz
apeiros_is impressed about matz
alteregoOh, the language .. I thought you were talking about the people :)
apeiros_lol, no
alteregoYeah, I know Japanese people don't like the language much.
GarethAdamsteferi: lol

Page: 2 9 16 23 30 

IrcArchive

NY Lost Funds