| rik | what database are you using? |
| defcon8 | sqlite |
| rik | if 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. |
| defcon8 | rik, thanks |
| possie | how can i print a integer in hex ? |
| action | rik shrugs. |
| rik | shrugs. aha printf "%x", 23 => 17. (returns nil though) |
| possie | thanks |
| action | rik looks at the tip jar. |
| rik | looks at the tip jar. |
| defcon8 | how do I md5 a string? |
| apeiros_ | require 'digest/md5' Digest::MD5.hexdigest(string) |
| rik | yeah, that. |
| action | rik wanders off to do some work. |
| rik | wanders off to do some work. |
| defcon8 | apeiros, 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 ;-) ) |
| defcon8 | okay 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 |
| defcon8 | are people just lazy? :| |
| apeiros_ | I guess it's more "people are japanese and hate english" :) |
| alterego | Japanese hate English? |
| apeiros_ | afaik japanese people don't like english too much |
| alterego | Odd .. Never heard that one. Why do they keep coming over here then? My city is _full_ of Japanese |
| teferi | do 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 |
| action | apeiros_ is impressed about matz |
| apeiros_ | is impressed about matz |
| alterego | Oh, the language .. I thought you were talking about the people :) |
| apeiros_ | lol, no |
| alterego | Yeah, I know Japanese people don't like the language much. |
| GarethAdams | teferi: lol |