#ruby-lang - Thu 3 May 2007 between 00:14 and 02:21

NY Lost Funds



imperatorgood god - ever since i installed the aptana stuff my eclipse instance consumes 300mb of ram!!!
halorgiumis there a method for converting a nested hash into a query string?
i'm using the Net::HTTPHeader.set_form_data, but it doesn't recurse :/
manveruimperator: only?
:P
imperatormanveru, yeah, yeah
normally it's about 75mb
simplesisSo I installed a gem, log4r, in this case, I fire up irb, and do require 'log4r', and Ruby can't find it. Am I missing something.. in my path, or something?
rueProbably a require 'rubygems'
simplesisrue: ah, that's it. thanks :)
piotois there something special that i need to do in ruby to make a string be treated as utf-8?
rue-Ku
piotorue: that looks like it's for kanji?
Freakythat's just the option name, the u is for "unicode"
such as it is
piotoso that'll make it treat strings i get from, say, a TCPSocket as utf-8 encoded?
or, is there some specific way to just say that the strings from that socket are in utf-8?
only thing i've found so far is for regexes
/foo/u
the issue is that i pass this string to a display library, and if it has any unicode characters, it gets cut off
so, instead of seeing, say, "
Ryksopp"
i see "R"
Freaky"display library"?
piotoxosd
xosd itself does support unicode
so the issue could well be with the ruby bindings
or it could be w/ my script
mabesother than inject.. is there a way with the other itterators to return a value to the next block (without declaring it before outside of the block)?
by next block, I mean next itteration of that block
so basically like the memo in inject
piotoyes... when i pass that string as a literal to the xosd bindings, it shows properly
so the issue is with getting it via tcp, it seems
Freakyit's just streams of bytes to Ruby
OlatheSexeh lobster
rueFsking lobster
rob5www.lobsterlib.com
OlatheThe Ruby Lobster Library it isn't :(
eluxhey
OlatheHello.

Page: 2 9 16 23 30 

IrcArchive

NY Lost Funds