ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
catmtking has joined #ruby-lang
catmtking has quit [Quit: catmtking]
mantono has quit [Ping timeout: 244 seconds]
havenn has joined #ruby-lang
KeystoneLemur has quit [Read error: Connection reset by peer]
KeystoneLemur has joined #ruby-lang
havenn has quit [Remote host closed the connection]
chendo_ has quit [Quit: Computer has gone to sleep.]
vesan has quit [Ping timeout: 260 seconds]
vesan has joined #ruby-lang
^sandbags^ has quit [Remote host closed the connection]
countdigi has joined #ruby-lang
mantono has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
KeystoneLemur has quit [Ping timeout: 240 seconds]
chendo_ has joined #ruby-lang
derpops has joined #ruby-lang
fbernier has quit [Quit: ZNC - http://znc.in]
chessguy has joined #ruby-lang
fbernier has joined #ruby-lang
fbernier has quit [Client Quit]
jtoy has joined #ruby-lang
fbernier has joined #ruby-lang
hahuang65 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
jtoy has quit [Read error: Connection reset by peer]
jtoy has joined #ruby-lang
jtoy has quit [Read error: Connection reset by peer]
jtoy has joined #ruby-lang
marc3000 has joined #ruby-lang
marc3000 has left #ruby-lang [#ruby-lang]
fbernier has quit [Quit: ZNC - http://znc.in]
chendo_ has quit [Quit: Computer has gone to sleep.]
fbernier has joined #ruby-lang
fbernier has quit [Client Quit]
fbernier has joined #ruby-lang
JustinCampbell has quit [Remote host closed the connection]
JustinCampbell has joined #ruby-lang
JustinCampbell has quit [Remote host closed the connection]
kvirani has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
savage- has quit [Ping timeout: 246 seconds]
chessguy has quit [Remote host closed the connection]
cndiv has joined #ruby-lang
chessguy has joined #ruby-lang
chendo_ has joined #ruby-lang
z3r00ld_ has joined #ruby-lang
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
ltd has quit [Ping timeout: 264 seconds]
towski has quit [Remote host closed the connection]
<z3r00ld_> hello, i am trying to use net-https, but getting this error: "/usr/lib/ruby/1.8/net/http.rb:567:in `initialize': can't convert OpenSSL::X509::Certificate into String (TypeError)"
<z3r00ld_> Code: http://pastie.org/4750932
<Mon_Ouie> I think ca_file expects a filename
<Mon_Ouie> Or maybe just the contents of that file
chessguy has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
<z3r00ld_> i did convert certs and keys to .pem format, do i need to strip the --BEGIN-- and --END-- lines ?, OpenSSL reads the certs and keys file ok though, its the net-http which has issue
jtoy has quit [Quit: jtoy]
chessguy has joined #ruby-lang
gsav has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 240 seconds]
gsav has quit [Read error: Connection reset by peer]
ltd has joined #ruby-lang
diegoviola has joined #ruby-lang
justinmcp has quit [Ping timeout: 240 seconds]
<z3r00ld_> Mon_Ouie: directly passing ca file gives this error: "not enough data (OpenSSL::X509::CertificateError)"
chessguy has quit [Remote host closed the connection]
ltd has quit [Ping timeout: 246 seconds]
VGoff is now known as VGoff_afk
arooni-mobile has joined #ruby-lang
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
chessguy has joined #ruby-lang
saiko-chriskun has left #ruby-lang ["Linkinus - http://linkinus.com"]
lsegal has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
chendo_ has quit [Quit: Computer has gone to sleep.]
z3r00ld_ has left #ruby-lang [#ruby-lang]
mrsolo has quit [Quit: Leaving]
justinmcp has joined #ruby-lang
robbyoconnor has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
^sandbags^ has joined #ruby-lang
^sandbags^ has joined #ruby-lang
^sandbags^ has quit [Changing host]
cndiv has quit []
wpaulson has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
sandbags_ has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
sandbags has quit [Ping timeout: 260 seconds]
^sandbags^ has quit [Ping timeout: 260 seconds]
chendo_ has joined #ruby-lang
null- has left #ruby-lang [#ruby-lang]
towski has joined #ruby-lang
jperry2_ has joined #ruby-lang
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
gsav has joined #ruby-lang
xyzodiac has quit [Ping timeout: 260 seconds]
ltd has joined #ruby-lang
itcharlie has joined #ruby-lang
guns has joined #ruby-lang
Crane has joined #ruby-lang
xyzodiac has joined #ruby-lang
Crane has quit [Client Quit]
cored has quit [Quit: leaving]
m3nd3s has quit [Remote host closed the connection]
m3nd3s has joined #ruby-lang
m3nd3s has quit [Read error: Connection reset by peer]
m3nd3s_ has joined #ruby-lang
m3nd3s_ has quit [Remote host closed the connection]
kain_ has joined #ruby-lang
kain_ has quit [Client Quit]
kain_ has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
kain has quit [Ping timeout: 252 seconds]
justinmcp has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
postmodern has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
jperry2_ has quit [Quit: jperry2_]
jaska has quit [Ping timeout: 240 seconds]
Asad_ has quit [Quit: Asad_]
havenn has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
yxhvuud has quit [Ping timeout: 246 seconds]
itcharlie has left #ruby-lang [#ruby-lang]
havenn has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby-lang
gsav has joined #ruby-lang
Asad_ has joined #ruby-lang
sjuxax has joined #ruby-lang
<sjuxax> Can anyone help me understand what is happening with memory usage at http://dpaste.com/802836/? I have also tried removing elements from l with delete_if, but this is really slow and never drops memory either.
<zenspider> sjuxax: what's the question?
savage- has joined #ruby-lang
<sjuxax> zenspider: the question is: why isn't the memory associated with the list freed when the list is set to nil, and again why is it not freed when the GC is explicitly called?
<sjuxax> The only data I have put into the program is taken away when I set it to nil, so GC should take away the 10GB allocation.
<sjuxax> err, 1.6GB
<zenspider> ruby's GC is a conservative GC. it doesn't guarantee that things will be collected at any time.
<sjuxax> I am more concerned that in real life, a use case similar to this slows my code WAY down as it gets farther (using a hash as a temporary lookup table, making the hash zero out at the top of some loop; ultimately millions of rows go through this hash, but should never really have more than ~400k-~500k at a time). It causes both potential memory contention and makes the program really, really slow, presumably as the number of objects for GC to scan never
<zenspider> conservative means that it takes a fast pass through memory instead of walking every object... if something looks like it points to a valid object, that object is kept. it makes for faster GC passes, but means that some stuff gets kept around
<sjuxax> OK, so there is no way to invalidate whole chunks of data like that? Can I trigger "deep" introspection or something to make it really release everything I don't need anymore?
<sjuxax> Is there a trick I can do that will make things definitely look like they don't point to anything else?
<sjuxax> basically, I need to quickly get this resolved, keep memory usage and GC collection time under control
<bnagy> sticking your memory hungry code in a separate method might help
<bnagy> jruby has a better GC
savage- has quit [Remote host closed the connection]
Asad_ has quit [Quit: Asad_]
<zenspider> for me, the RSS for that process tops around 644520 (I'm only doing 10m iterations on the loop). If I bother to re-iterate and replace each string with "" then I can get the first GC to drop to 426924
<zenspider> bnagy: yes, but jruby uses about 2x the ram at the start
<bnagy> sure, and the start is slower
<bnagy> but for long running processes it has an advantage
<zenspider> eh. that doesn't seem pertinent here. I assume this process is long standing or it wouldn't be an issue
<zenspider> sjuxax: what are you actually trying to do?
<zenspider> sjuxax: are you profiling against 1.8 or 1.9?
<zenspider> I'm gonna guess 1.8
savage- has joined #ruby-lang
<zenspider> so... 1.9.3's GC seems to be much better with this type of profile
<zenspider> I'm guessing because they throw away the parse tree and do other stuff to optimize stings
<zenspider> I can even get rid of my replace/clear trick and the memory goes down much more on each iteration
<zenspider> BUT... it starts much higher too
<zenspider> 4.6m -> .4m in 1.8 w/ my tricks
arooni-mobile has quit [Ping timeout: 268 seconds]
<zenspider> 4.4m -> 2.9m -> 1.9m -> 1.3m in 1.9 w/o tricks
<zenspider> prolly has a lot of tweaks from nari's GC work in 1.9. I dunno, I haven't tracked that much
<zenspider> I know they did a lot of stuff to cheat with smaller strings, so your code exampleis a little suspect. I multiplied the string by 12 to actually match the size
swarley_ has joined #ruby-lang
<sjuxax> zenspider: As I said, I am trying to use a hash as a temporary lookup table. It get created and stores several items. I use these items to look up things. When I find something I want, I append a single UUID to a UUID list with uuid_str.dup. In total, there should be about 5000 UUIDs which is like 180 bytes. Then, after a while, I zero the hash back out to an empty hash: {}. Memory never seems to get released, and the program gets slower and slower as
<sjuxax> I am using 1.9
alvaro_o has quit [Quit: Ex-Chat]
arooni-mobile has joined #ruby-lang
<sjuxax> Yeah, the "369" was a typo, it was really a 36-character string (a UUID). but yes, using even bigger strings should demonstrate the same issue
<sjuxax> $ ruby --version
<sjuxax> ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
<sjuxax> The process is not long running, without this hash lookup thing the whole process finishes in 20 mins. It is parsing some huge text files that we receive from a third-party, and making INFILEs for insertion to our MySQL database.
cndiv has joined #ruby-lang
chendo_ has quit [Quit: Computer has gone to sleep.]
krohrbaugh has joined #ruby-lang
<sjuxax> Could this be a bug or should it just be considered normal behavior?
<bnagy> where are you getting the uuids from, out of interest?
snorkdude has joined #ruby-lang
snorkdude has quit [Remote host closed the connection]
sandbags_ has quit [Remote host closed the connection]
<sjuxax> In real life, I am generating them with SecureRandom, which produces a string, so .dup should create a separate and unrelated string. In this sample which shows the same thing, I am inserting that literal sample string a lot of times.
<bnagy> yeah I'm just wondering about the speed not the memory profile
cndiv has quit []
<sjuxax> FYI python2 doesn't do this. Equivalent code there produces a much tighter list/array to start with for roughly equivalent number of items (33 million in python v. 27 million in Ruby; python using 242M of memory instead of 1.6G), and l = [] in Python instantly drops us back to 0.0% memory use (5K).
MrOnFireMr has quit [Ping timeout: 256 seconds]
gsav has quit [Ping timeout: 252 seconds]
chendo has quit [Ping timeout: 244 seconds]
sepp2k has joined #ruby-lang
chendo has joined #ruby-lang
chendo has quit [Changing host]
chendo has joined #ruby-lang
gsav has joined #ruby-lang
pr0ton has quit [Remote host closed the connection]
gsav has quit [Client Quit]
gsav has joined #ruby-lang
pr0ton has joined #ruby-lang
sn0wb1rd_ has joined #ruby-lang
sn0wb1rd has quit [Ping timeout: 255 seconds]
sn0wb1rd_ is now known as sn0wb1rd
Sambalero has quit [Remote host closed the connection]
jtoy has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
havenn has joined #ruby-lang
sn0wb1rd has quit [Ping timeout: 244 seconds]
sn0wb1rd has joined #ruby-lang
havenn has quit [Ping timeout: 244 seconds]
S1kx has quit [Ping timeout: 255 seconds]
burgestrand has joined #ruby-lang
znowi_ has quit [Ping timeout: 252 seconds]
ryanf has quit [Quit: leaving]
znowi has joined #ruby-lang
jtoy has quit [Quit: jtoy]
cndiv has joined #ruby-lang
deryl has quit [Read error: Connection reset by peer]
deryl has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 252 seconds]
mantono has quit [Ping timeout: 244 seconds]
jtoy has joined #ruby-lang
mantono has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
arooni-mobile has joined #ruby-lang
xyzodiac has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
burgestrand has quit [Quit: Leaving.]
Sambalero has joined #ruby-lang
justinmcp has joined #ruby-lang
steveklabnik has quit [Ping timeout: 268 seconds]
chessguy has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Client Quit]
steveklabnik has joined #ruby-lang
MrOnFireMr has joined #ruby-lang
d3vic3 has quit [Ping timeout: 248 seconds]
robbyoconnor has joined #ruby-lang
dhruvasagar has joined #ruby-lang
d3vic3 has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
swarley_ has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Ping timeout: 240 seconds]
gmci has quit [Quit: Computer has gone to sleep.]
rippa has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 268 seconds]
jaska has joined #ruby-lang
dfr|mac has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 252 seconds]
WillMarshall has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
justinmcp has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
seoaqua has joined #ruby-lang
rue|w has joined #ruby-lang
stardiviner has joined #ruby-lang
MrOnFireMr has quit [Ping timeout: 252 seconds]
Mon_Ouie has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
z3r00ld has joined #ruby-lang
WillMarshall has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Remote host closed the connection]
josh^ has joined #ruby-lang
z3r00ld has quit [Read error: Connection reset by peer]
jtoy has quit [Quit: jtoy]
z3r00ld has joined #ruby-lang
z3r00ld has quit [Read error: Connection reset by peer]
z3r00ld has joined #ruby-lang
WillMarshall has joined #ruby-lang
ryanf has joined #ruby-lang
sjuxax has quit [Read error: Connection reset by peer]
WillMarshall has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
faces has joined #ruby-lang
facest has quit [Ping timeout: 256 seconds]
cantonic has quit [Quit: cantonic]
sjuxax has joined #ruby-lang
derpops has quit []
s1n4 has joined #ruby-lang
sandbags has joined #ruby-lang
dc5ala has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
^sandbags^ has joined #ruby-lang
^sandbags^ has joined #ruby-lang
^sandbags^ has quit [Changing host]
^sandbags^ has quit [Remote host closed the connection]
^sandbags^ has joined #ruby-lang
^sandbags^ has joined #ruby-lang
^sandbags^ has quit [Changing host]
dhruvasagar has joined #ruby-lang
ruurd has joined #ruby-lang
sandbags has quit [Ping timeout: 246 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
dfr|mac has quit [Remote host closed the connection]
<yorickpeterse> Morning
dr_bob has joined #ruby-lang
tbuehlmann has joined #ruby-lang
Fullmoon has joined #ruby-lang
stiang has joined #ruby-lang
justinmcp has joined #ruby-lang
towski has quit [Remote host closed the connection]
kitallis has joined #ruby-lang
Criztian has joined #ruby-lang
rue|w has quit [Read error: Connection reset by peer]
rue|w has joined #ruby-lang
derpops has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 252 seconds]
jxie has quit [Read error: Connection reset by peer]
solars has joined #ruby-lang
jxie has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
judofyr has joined #ruby-lang
cndiv has quit []
solars has quit [Ping timeout: 244 seconds]
mytrile has joined #ruby-lang
stiang has quit [Quit: stiang]
znake has joined #ruby-lang
Silex has quit [Quit: WeeChat 0.3.8]
Silex has joined #ruby-lang
kain_ has quit [Read error: Connection reset by peer]
kain has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
chendo has quit [Ping timeout: 252 seconds]
chendo has joined #ruby-lang
chendo has joined #ruby-lang
chendo has quit [Changing host]
z3r00ld has quit [Read error: Connection reset by peer]
solars has joined #ruby-lang
ryanf has quit [Quit: leaving]
Cherrum has quit [*.net *.split]
nick_h has quit [*.net *.split]
CodeBlock has quit [*.net *.split]
benwoody has quit [*.net *.split]
eam has quit [*.net *.split]
yibe_ has quit [*.net *.split]
matthewd has quit [*.net *.split]
wasnotrice has quit [*.net *.split]
eam has joined #ruby-lang
matthewd has joined #ruby-lang
Criztian has joined #ruby-lang
vlad_starkov has joined #ruby-lang
znake has quit [Quit: znake]
CodeBlock has joined #ruby-lang
Cherrum has joined #ruby-lang
nick_h has joined #ruby-lang
wasnotrice has joined #ruby-lang
yibe_ has joined #ruby-lang
benwoody has joined #ruby-lang
dvessel has joined #ruby-lang
facest has joined #ruby-lang
riffraff has joined #ruby-lang
faces has quit [Ping timeout: 244 seconds]
Criztian has quit [Remote host closed the connection]
amaya_ has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
seoaqua has left #ruby-lang ["离开"]
Hakon has joined #ruby-lang
cdt has joined #ruby-lang
vlad_starkov has joined #ruby-lang
JohnBat26 has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
wasnotrice_ has joined #ruby-lang
wasnotrice has quit [Ping timeout: 245 seconds]
yibe_ has quit [Ping timeout: 245 seconds]
yibe_ has joined #ruby-lang
adambeynon has joined #ruby-lang
GarethAdams has joined #ruby-lang
marc3000 has joined #ruby-lang
workmad3 has joined #ruby-lang
chendo has quit [Ping timeout: 252 seconds]
matled has quit [Remote host closed the connection]
Madis has joined #ruby-lang
z3r00ld has joined #ruby-lang
z3r00ld has quit [Client Quit]
svyatov has joined #ruby-lang
chendo has joined #ruby-lang
chendo has quit [Changing host]
chendo has joined #ruby-lang
goshakkk has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
g0bl1n has joined #ruby-lang
g0bl1n has quit [Client Quit]
g0bl1n has joined #ruby-lang
toretore has joined #ruby-lang
certaint1 has joined #ruby-lang
cantonic has joined #ruby-lang
certainty has quit [*.net *.split]
Hakon has joined #ruby-lang
justinmcp has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
diegoviola has joined #ruby-lang
Fullmoon has quit [Read error: Connection reset by peer]
s1n4 has quit [Ping timeout: 244 seconds]
Fullmoon has joined #ruby-lang
s1n4 has joined #ruby-lang
diegoviola has quit [Quit: leaving]
s1n4 has quit [Client Quit]
s1n4 has joined #ruby-lang
Dreamer3 has quit [Quit: Leaving...]
Dreamer3 has joined #ruby-lang
nariyal has joined #ruby-lang
dvessel has left #ruby-lang [#ruby-lang]
cantonic has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
runeb has joined #ruby-lang
runeb has quit [Remote host closed the connection]
d3vic3 has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby-lang
runeb has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
tRAS has joined #ruby-lang
derpops has quit []
vlad_starkov has quit [Ping timeout: 240 seconds]
justinmcp has joined #ruby-lang
Hakon has joined #ruby-lang
<judofyr> yay: faster gem loading: https://github.com/judofyr/quickgem
Hakon has quit [Client Quit]
Hakon has joined #ruby-lang
d3vic3 has joined #ruby-lang
d3vic3 has quit [Client Quit]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
cantonic has joined #ruby-lang
postmodern has joined #ruby-lang
dr_bob has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
workmad3 has joined #ruby-lang
micaeked has quit [Ping timeout: 252 seconds]
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
L0rdShrek has joined #ruby-lang
nariyal has quit [Quit: Computer has gone to sleep.]
josh^ has quit [Remote host closed the connection]
nariyal has joined #ruby-lang
amaya_ has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
nariyal has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
sush24 has joined #ruby-lang
diegoviola has joined #ruby-lang
dr_bob has joined #ruby-lang
nariyal has joined #ruby-lang
amaya_ has joined #ruby-lang
nariyal has quit [Quit: Computer has gone to sleep.]
<oddmunds> judofyr: what makes it faster?
Hakon has quit [Quit: Leaving...]
Mon_Ouie has quit [Ping timeout: 252 seconds]
<judofyr> oddmunds: magic!
<oddmunds> cool
Hakon has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
nariyal has joined #ruby-lang
mwjcomputing has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
Fullmoon has quit [Quit: Fullmoon]
gnufied1 has joined #ruby-lang
gnufied has quit [Ping timeout: 240 seconds]
svyatov has quit [Quit: svyatov]
postmodern has quit [Quit: Leaving]
kain has quit [Ping timeout: 240 seconds]
Guedes_out is now known as Guedes
nariyal has quit [Quit: Computer has gone to sleep.]
nariyal has joined #ruby-lang
svyatov has joined #ruby-lang
svyatov has quit [Client Quit]
jstemmer has quit [Quit: leaving]
sjuxax has left #ruby-lang [#ruby-lang]
jstemmer has joined #ruby-lang
yats has joined #ruby-lang
cored has joined #ruby-lang
chendo has quit [Ping timeout: 240 seconds]
tooky has quit [Remote host closed the connection]
chendo has joined #ruby-lang
chendo has joined #ruby-lang
chendo has quit [Changing host]
nariyal has quit [Quit: Computer has gone to sleep.]
beiter has joined #ruby-lang
m3nd3s has joined #ruby-lang
diegoviola has quit [Quit: leaving]
m3nd3s has quit [Read error: Connection reset by peer]
kvirani has joined #ruby-lang
m3nd3s has joined #ruby-lang
jxie has quit [Quit: leaving]
sush24 has joined #ruby-lang
gmci has joined #ruby-lang
Jay_Levitt has quit [Quit: Jay_Levitt]
amaya_ has quit [Quit: ChatZilla 0.9.88.2 [Firefox 15.0.1/20120905151427]]
Hakon has joined #ruby-lang
nariyal has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
kitallisii has joined #ruby-lang
kitallis has quit [Ping timeout: 245 seconds]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
beiter has quit [Quit: beiter]
mistym has quit [Remote host closed the connection]
s1n4 has quit [Ping timeout: 248 seconds]
s1n4 has joined #ruby-lang
guns has quit [Quit: guns]
rue|w has quit [Remote host closed the connection]
s1n4 has quit [Ping timeout: 246 seconds]
sailias has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
s1n4 has joined #ruby-lang
rue|w has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
wasnotrice_ has quit [*.net *.split]
|Vargas| has quit [*.net *.split]
thone has quit [*.net *.split]
yalue has quit [*.net *.split]
llakey has quit [*.net *.split]
sailias has quit [Quit: Leaving.]
wasnotrice has joined #ruby-lang
thone has joined #ruby-lang
My_Hearing has joined #ruby-lang
llakey has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 252 seconds]
lele|w has quit [Ping timeout: 272 seconds]
judofyr has quit [Remote host closed the connection]
fbernier has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
judofyr has joined #ruby-lang
S1kx has joined #ruby-lang
S1kx has quit [Changing host]
S1kx has joined #ruby-lang
thone_ has joined #ruby-lang
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
yats has quit [Quit: Leaving]
fbernier has joined #ruby-lang
yalue has joined #ruby-lang
thone has quit [Ping timeout: 240 seconds]
nariyal has quit [Quit: Computer has gone to sleep.]
lele|w has joined #ruby-lang
dr_bob has left #ruby-lang [#ruby-lang]
Swimming_Bird has joined #ruby-lang
carloslopes has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
My_Hearing is now known as Mon_Ouie
gmci has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Sambalero has joined #ruby-lang
wmoxam_ has joined #ruby-lang
goshakkk has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
skade has joined #ruby-lang
skade has quit [Client Quit]
goshakkk has joined #ruby-lang
derpops has joined #ruby-lang
yalue has quit [Quit: Leaving]
cantonic has quit [Quit: cantonic]
tooky has joined #ruby-lang
Jay_Levitt has joined #ruby-lang
Jay_Levitt has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
JohnBat26 has joined #ruby-lang
Assurbanipal has joined #ruby-lang
wmoxam_ has quit [Quit: leaving]
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
Hakon has quit [Quit: Leaving...]
riffraff has quit [Quit: Leaving]
njero has joined #ruby-lang
svyatov has joined #ruby-lang
<njero> hey all, I am trying to use optionparser to catch commands. I am doing this but it doesn't recognize the provision option. https://gist.github.com/f511598914963723cc67
<njero> If I change it to -provision it works... is the "-" required?
judofyr has quit [Remote host closed the connection]
judofyr has joined #ruby-lang
judofyr has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
judofyr has joined #ruby-lang
elux has joined #ruby-lang
<whitequark> njero: option parser is for options
<whitequark> use ARGV and catch commands manually
<whitequark> alternatively, take a look at gem trollop
sailias has joined #ruby-lang
<whitequark> there's a nice example of what you're trying to do
<njero> thanks whitequark, I almost used trollop googling around for how to solve this :)
<injekt> njero: there's also slop
g0bl1n has quit [Quit: g0bl1n]
<deryl> i used trollop for dtf. was fast and easy to set up, you can either use it as a gem or just download the single file from the homepage and put it in your lib/ dir then require it. was extremely easy in comparison to OptionParser to use. and i do mean easy
<injekt> :/
<injekt> you're not helping
mistym has joined #ruby-lang
<deryl> i don't see how i'm not but ok
<injekt> deryl: i was kidding.. i was trying to promote slop
<deryl> ah :)
<mistym> slop <3
<njero> injekt: does slop handle commands... because trollop surely does :)
<injekt> njero: yes, you wanted commands, I wouldn't have mentioned slop if it didn't support them :)
<injekt> njero: not sure how trollop does it, i never got on with the api very well (hence slop) but an example is here https://github.com/injekt/slop/blob/master/lib/slop/commands.rb#L17
Mon_Ouie has quit [Ping timeout: 260 seconds]
<njero> yeah was just reading that
<mistym> injekt: Hey, speaking of slop, there was something I noticed the other day
<injekt> uh oh
GarethAdams has quit [Quit: Linkinus - http://linkinus.com]
<mistym> The opts.flag? style of option checking doesn't seem to get on well with --long-style options, unless there's something I was missing. (Of course I can always do opts['long-style'] but that's not nearly as pretty ;) )
Hakon has joined #ruby-lang
tooky has quit [Remote host closed the connection]
ruurd has quit [Quit: Leaving...]
<darix> mistym: it didnt work in my testing either.
GarethAdams has joined #ruby-lang
<darix> i think i even asked injekt about it back then ^^
<injekt> mistym: yeah, obviously there's not much you can do if ruby doesn't support - in method names. You'd have to use send or present?('foo-bar')
<mistym> injekt: Yeah, just seems unfortunate because - is really common in long-form option names.
<injekt> if you have a better idea, i'm of course all ears :)
<injekt> yeah
<injekt> I think someone said about allowing foo_bar? to return true for a 'foo-bar'
<mistym> Translate - to _? opts.long_form? matches --long-form
<injekt> :P
<mistym> Great minds think alike!
outoftime has joined #ruby-lang
<mistym> Theoretically you get a minor option name collision. On the other hand, defining both --foo-bar and --foo_bar options and treating them separately is degenerate madness, so breaking that would be a feature anyway ;)
abletony84 has joined #ruby-lang
<injekt> tbh I thought I merged something like that, but I guess not. I'm more than happy to, though
<abletony84> In my home_helper.rb over at http://pastie.org/pastes/4753794 - how do I display my forums alphabetically? Now whenever a forum is visited, that forum appears at the bottom of the list.
<injekt> yeah maybe that was my first thought
<injekt> abletony84: forums.sort.map
<abletony84> injekt: hey thank you so much man!! :-)
<injekt> hey man you're totally welcome bro
<abletony84> :)
dhruvasagar has quit [Ping timeout: 255 seconds]
rue|w has quit [Remote host closed the connection]
rue|w has joined #ruby-lang
dhruvasagar has joined #ruby-lang
chimkan has joined #ruby-lang
tooky has joined #ruby-lang
gsav has joined #ruby-lang
chendo has quit [Ping timeout: 252 seconds]
chendo has joined #ruby-lang
chendo has quit [Changing host]
chendo has joined #ruby-lang
gsav has quit [Client Quit]
gsav has joined #ruby-lang
gsav_ has joined #ruby-lang
gsav has quit [Client Quit]
wyhaines has joined #ruby-lang
<hagabaka> slop should automagically implement the options
<injekt> huh?
<mistym> injekt: Awesome!
<mistym> You beat me to it, I was about to submit a pull request :D Was just hunting for the right test to add it to.
<injekt> aw
<injekt> thanks!
<mistym> Thanks a ton!
xyzodiac has joined #ruby-lang
Nisstyre has quit [Ping timeout: 245 seconds]
dc5ala has quit [Quit: Ex-Chat]
MrOnFireMr has joined #ruby-lang
savage- has quit [Remote host closed the connection]
<abletony84> oops! gotta go!
abletony84 has quit [Quit: leaving]
gsav_ has quit [Quit: Lost terminal]
gsav has joined #ruby-lang
gsav_ has joined #ruby-lang
enebo has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
carloslopes has quit [Ping timeout: 244 seconds]
chimkan has quit [Remote host closed the connection]
chimkan has joined #ruby-lang
publicvoid_ has joined #ruby-lang
g0bl1n has joined #ruby-lang
m3nd3s has quit [Remote host closed the connection]
catmtking has joined #ruby-lang
ruurd has joined #ruby-lang
publicvoid__ has quit [Ping timeout: 240 seconds]
ruurd has quit [Client Quit]
gsav has quit [Quit: Lost terminal]
krohrbaugh has quit [Ping timeout: 240 seconds]
coryf has joined #ruby-lang
Criztian has joined #ruby-lang
|Vargas| has quit [Quit: ...]
carloslopes has joined #ruby-lang
kitallisii has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
solars has quit [Ping timeout: 252 seconds]
Skif is now known as CapnSkif
s1n4 has quit [Quit: leaving]
<cored> hello
mistym is now known as mistym_meeting
mwjcomputing has quit [Quit: Leaving]
jperry2 has quit [Ping timeout: 272 seconds]
xyzodiac has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 268 seconds]
njero has left #ruby-lang [#ruby-lang]
kith_ is now known as kith
voker57 has quit [Remote host closed the connection]
mytrile has quit [Remote host closed the connection]
jperry2 has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
xyzodiac has joined #ruby-lang
dr_bob has joined #ruby-lang
m3nd3s has joined #ruby-lang
savage- has joined #ruby-lang
outoftime has quit [Ping timeout: 256 seconds]
jarib has quit [Excess Flood]
JustinCampbell has joined #ruby-lang
jarib has joined #ruby-lang
workmad3 has quit [Ping timeout: 248 seconds]
outoftime has joined #ruby-lang
nariyal has joined #ruby-lang
workmad3 has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
wallerdev has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
arooni-mobile has joined #ruby-lang
matled has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
carloslopes has quit [Quit: Leaving.]
kain has joined #ruby-lang
workmad3 has quit [Ping timeout: 248 seconds]
krohrbaugh has joined #ruby-lang
<^sandbags^> Am I wrong in thinking the CSV library should be part of 1.9.3?
<zzak> it is
<^sandbags^> ah damnit, i think it's a case issue
<^sandbags^> locally i am requiring 'CSV' and that's working, on the server it's not but 'csv' does
<^sandbags^> yes, drat it all... thanks zzak
<zzak> :)
<^sandbags^> now i have to wait while it precompiles all the damn assets yet again
mwjcomputing has joined #ruby-lang
rippa has joined #ruby-lang
yalue has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
judofyr has quit [Remote host closed the connection]
zz_chrismcg is now known as chrismcg
judofyr has joined #ruby-lang
Nisstyre has joined #ruby-lang
xyzodiac has quit [Quit: Computer has gone to sleep.]
cored has quit [Ping timeout: 246 seconds]
cdt has quit [Quit: Ex-Chat]
judofyr has quit [Ping timeout: 252 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
yxhuvud has joined #ruby-lang
Nisstyre has quit [Max SendQ exceeded]
xyzodiac has joined #ruby-lang
towski has joined #ruby-lang
towski has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby-lang
sepp2k1 has joined #ruby-lang
towski has joined #ruby-lang
sepp2k has quit [Ping timeout: 252 seconds]
headius has joined #ruby-lang
wallerdev has joined #ruby-lang
mistym_meeting is now known as mistym
canton7 has quit [Remote host closed the connection]
canton7 has joined #ruby-lang
carloslopes has joined #ruby-lang
z3r00ld has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
jtoy has joined #ruby-lang
jperry2_ has joined #ruby-lang
chimkan has quit [Quit: chimkan]
alvaro_o has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 244 seconds]
Nisstyre has joined #ruby-lang
goshakkk has quit [Quit: Computer has gone to sleep.]
gnufied1 has quit [Quit: Leaving.]
wpaulson has joined #ruby-lang
goshakkk has joined #ruby-lang
mrsolo has joined #ruby-lang
chrismcg is now known as zz_chrismcg
m3nd3s has quit [Remote host closed the connection]
GarethAdams has quit [Quit: Leaving...]
nariyal has quit [Quit: Computer has gone to sleep.]
micaeked has joined #ruby-lang
S1kx has quit [Ping timeout: 240 seconds]
runeb has quit [Remote host closed the connection]
z3r00ld has quit [Ping timeout: 264 seconds]
ruurd has joined #ruby-lang
enebo has quit [Quit: enebo]
Swimming_Bird has quit [Ping timeout: 246 seconds]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Swimming_Bird has joined #ruby-lang
z3r00ld has joined #ruby-lang
g0bl1n has quit [Quit: g0bl1n]
chimkan has joined #ruby-lang
g0bl1n has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
nariyal has joined #ruby-lang
micaeked has quit [Ping timeout: 264 seconds]
ruurd has quit [Quit: Leaving...]
Carnage\ has joined #ruby-lang
tRAS has joined #ruby-lang
Fullmoon has joined #ruby-lang
tRAS has quit [Client Quit]
jtoy has quit [Quit: jtoy]
Assurbanipal has quit [Quit: Konversation terminated!]
sush24 has joined #ruby-lang
rolfb has joined #ruby-lang
goshakkk has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
xyzodiac has quit [Quit: Computer has gone to sleep.]
bazzyf has joined #ruby-lang
bazzyf has left #ruby-lang [#ruby-lang]
derpops has quit [Read error: Connection reset by peer]
derpops has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
wpaulson has joined #ruby-lang
goshakkk has joined #ruby-lang
<erikh> hello friends
<rue> I’m still not talking to you
* rue just rode home in the rain
<erikh> rue: if it makes you feel any better it's kind of cold here today
<rue> Uh-huh
<erikh> ... but I'm wearing shorts
<erikh> so that might be why
<rue> :P
sepp2k1 has quit [Read error: Connection reset by peer]
<erikh> yeah, 57F
<zzak> same here, with a low of 37F tonight
<erikh> yeah, but let's chat in december, mr. vermont
<zzak> but thats typical for september
<zzak> okay!
cantonic has joined #ruby-lang
<erikh> heh
* zzak writes it in his calendar
<zzak> this winter is supposed to be a real one too
tonni has quit [Remote host closed the connection]
<erikh> was the last one not?
<erikh> I was in PA for the two years prior, and it was... a winter
<zzak> no, last winter was nothing
<erikh> in fact at some point I put my ashtray aside and just made a makeshift one out of the snow bank on my porch
<erikh> and after consolidating the front yard I had a 9' snow pile
<erikh> this is probably as cold as it will get all year here.
<zzak> look at 2011-2012 from the year before
<zzak> thats for burlington, which is fairly low elevation compared to rest of the state
xyzodiac has joined #ruby-lang
<zzak> look at it this way, in 2010 burlington got 128" and the local mountain here got 263"
Musfuut has quit [Read error: Operation timed out]
wallerdev has quit [Quit: wallerdev]
Musfuut has joined #ruby-lang
wallerdev has joined #ruby-lang
setmeaway has quit [Ping timeout: 244 seconds]
Musfuut is now known as Guest65452
pr0ton_ has joined #ruby-lang
mitchty_ is now known as mitchty
nick_h has quit [Ping timeout: 245 seconds]
Guest65452 has quit [Ping timeout: 250 seconds]
nick_h has joined #ruby-lang
Guest65452 has joined #ruby-lang
bmaland has quit [Ping timeout: 260 seconds]
elux has quit [Quit: Bye!]
enebo has joined #ruby-lang
g0bl1n has quit [Quit: g0bl1n]
roelof has joined #ruby-lang
g0bl1n has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
<roelof> why do I get on 66 a syntax error on this script :http://pastebin.com/GCuqA3mB
rolfb has quit [Quit: Linkinus - http://linkinus.com]
Guest65452 is now known as Musfuut
imajes has quit [Excess Flood]
<roelof> I get this error message : path_to_enlightenment.rb:12:in `require': ./about_symbols.rb:66: syntax error, unexpected '\n', expecting tCOLON2 or '[' or '.' (SyntaxError) from path_to_enlightenment.rb:12
xyzodiac has quit [Quit: Computer has gone to sleep.]
imajes has joined #ruby-lang
coryf has quit [Read error: Connection reset by peer]
rolfb has joined #ruby-lang
chickenflu has joined #ruby-lang
workmad3 has joined #ruby-lang
coryf has joined #ruby-lang
<roelof> nobody ?
chickenflu has quit [Quit: leaving]
coryf_ has joined #ruby-lang
rippa has quit [Ping timeout: 244 seconds]
roelof has quit [Quit: Page closed]
cantonic has quit [Quit: cantonic]
cantonic has joined #ruby-lang
coryf has quit [Ping timeout: 268 seconds]
coryf_ has quit [Read error: Connection reset by peer]
coryf has joined #ruby-lang
swarley_ has joined #ruby-lang
elux has joined #ruby-lang
tonni has joined #ruby-lang
marc3000 has left #ruby-lang [#ruby-lang]
cantonic has quit [Quit: cantonic]
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
derpops has quit [Ping timeout: 268 seconds]
nariyal has quit [Quit: Computer has gone to sleep.]
derpops has joined #ruby-lang
rolfb has quit [Quit: Linkinus - http://linkinus.com]
rippa has joined #ruby-lang
mwjcomputing has quit [Quit: Leaving]
outoftime has quit [Ping timeout: 260 seconds]
coryf has quit [Read error: Connection reset by peer]
coryf has joined #ruby-lang
outoftime has joined #ruby-lang
rippa has quit [Ping timeout: 268 seconds]
swarley_ has quit [Quit: Leaving]
swarley has joined #ruby-lang
gregmoreno has quit [Read error: Connection reset by peer]
gregmoreno has joined #ruby-lang
RegEchse has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
Guedes is now known as Guedes_out
chessguy has joined #ruby-lang
swarley has quit [Ping timeout: 256 seconds]
chessguy has quit [Remote host closed the connection]
chessguy has joined #ruby-lang
chimkan___ has joined #ruby-lang
chimkan___ has quit [Client Quit]
Criztian has quit [Read error: Connection reset by peer]
Criztian_ has joined #ruby-lang
chimkan has quit [Ping timeout: 244 seconds]
gregmore_ has joined #ruby-lang
gregmoreno has quit [Ping timeout: 244 seconds]
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
nariyal has joined #ruby-lang
jbsan has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
Fullmoon has quit [Quit: Fullmoon]
swarley has joined #ruby-lang
Sambalero has joined #ruby-lang
anannie has quit [Ping timeout: 248 seconds]
Fullmoon has joined #ruby-lang
burgestrand has joined #ruby-lang
jtoy has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby-lang
lcdhoffman has joined #ruby-lang
chessguy has quit [Remote host closed the connection]
jperry2_ has quit [Quit: jperry2_]
brunocoelho has joined #ruby-lang
Jay_Levitt has joined #ruby-lang
<TTilus> only 9 hours to frozenrails \o/
brunocoelho has quit [Remote host closed the connection]
dabradley has quit [Quit: WeeChat 0.3.5]
sn0wb1rd has joined #ruby-lang
rubynuby has joined #ruby-lang
derpops has quit []
rubynuby has quit [Client Quit]
VGoff_afk is now known as VGoff
sailias has quit [Quit: Leaving.]
lcdhoffman has quit [Quit: lcdhoffman]
chessguy has joined #ruby-lang
chessguy has quit [Remote host closed the connection]
g0bl1n has quit [Quit: g0bl1n]
ruurd has joined #ruby-lang
havenn has joined #ruby-lang
justinmcp has quit [Remote host closed the connection]
chessguy has joined #ruby-lang
sn0wb1rd has quit [Read error: Connection reset by peer]
elux has quit [Quit: Bye!]
sn0wb1rd has joined #ruby-lang
carloslopes has quit [Ping timeout: 240 seconds]
Guest50697 has joined #ruby-lang
Defusal_ has joined #ruby-lang
Defusal_ has quit [Changing host]
Defusal_ has joined #ruby-lang
g0bl1n has joined #ruby-lang
Defusal has quit [Ping timeout: 255 seconds]
xyzodiac has joined #ruby-lang
anannie has joined #ruby-lang
lcdhoffman has joined #ruby-lang
justinmcp has joined #ruby-lang
s0ber_ has joined #ruby-lang
s0ber has quit [Ping timeout: 245 seconds]
s0ber_ is now known as s0ber
headius has quit [Quit: headius]
chessguy has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
ruurd has quit [Quit: Leaving...]
chessguy has joined #ruby-lang
tooky has quit [Remote host closed the connection]
gsav_ has quit [Quit: Lost terminal]
justinmcp has quit [Remote host closed the connection]
benanne has joined #ruby-lang
havenn has quit [Remote host closed the connection]
chessguy has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
Xzyx987X has quit [Read error: Connection reset by peer]
<zzak> woot, 11 commits in mri trunk now
<zzak> about 21 total
Xzyx987X has joined #ruby-lang
sailias has joined #ruby-lang
xyzodiac has quit [Quit: Textual IRC Client: www.textualapp.com]
nariyal has quit [Quit: Computer has gone to sleep.]
nariyal has joined #ruby-lang
tooky has joined #ruby-lang
sailias has quit [Quit: Leaving.]
<erikh> \m/
goshakkk has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sn0wb1rd has quit [Quit: I will be right back]
Madis has quit [Quit: ChatZilla 0.9.88.2 [Firefox 11.0/20120313180949]]
nariyal has quit [Quit: Computer has gone to sleep.]
tooky has quit [Ping timeout: 245 seconds]
benanne has quit [Quit: kbai]
swarley has quit [Quit: Leaving]
swarley has joined #ruby-lang
g0bl1n has quit [Quit: g0bl1n]
Hakon has quit [Quit: Linkinus - http://linkinus.com]
gregmoreno has joined #ruby-lang
gregmore_ has quit [Ping timeout: 260 seconds]
Hakon has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
rindolf has joined #ruby-lang
svyatov has quit [Quit: svyatov]
svyatov has joined #ruby-lang
ryanf has joined #ruby-lang
zmack has joined #ruby-lang
qpingu has quit [Ping timeout: 240 seconds]
qpingu has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
CapnSkif has quit [Quit: Linkinus - http://linkinus.com]
<jtoy> any one have recommendations for a fast disk persistent key/value store
<rindolf> jtoy: Google LevelDB is not too bad from my experience.
<swarley> jtoy, i like SQLite3
<rindolf> jtoy: but I have not used it extensively (and only used it from C code).
<swarley> file based SQL
<jtoy> rindolf: I was planning to use that, but its a library? I want to use it as a server that any language an access
<rindolf> swarley: SQLite3 is an SQL database.
<swarley> ah, sorry
<rindolf> jtoy: it's a library, yes.
<swarley> i misread
<rindolf> jtoy: you can write a server for it.
<jtoy> rindolf: I might try that
cored has quit [Ping timeout: 264 seconds]
z3r00ld has quit [Quit: Leaving.]
cored has joined #ruby-lang
z3r00ld has joined #ruby-lang
<rindolf> jtoy: there are also Berkeley DB (which has a GPL-like licence, so may not be suitable for you), and Tokyo Cabinet (LGPL) and Kyoto Cabinet (GPLed).
z3r00ld has left #ruby-lang [#ruby-lang]
toretore has quit [Quit: Leaving]
z3r00ld has joined #ruby-lang
xyzodiac has joined #ruby-lang
<z3r00ld> hello, I am trying to send a GET request to a https URL which requires certificate, key and ca certificate to authenticate and i am getting this error: "/usr/lib/ruby/1.8/net/http.rb:567:in `initialize': can't convert OpenSSL::X509::Certificate into String (TypeError)"
<z3r00ld> OpenSSL reads the certificate properly, format is pem, but net-https gives error and unable to read the certificate
<z3r00ld> pastie: http://pastie.org/4756622
wyhaines has quit [Remote host closed the connection]
catmtking has quit [Quit: catmtking]
svyatov has quit [Quit: svyatov]
coryf has quit [Ping timeout: 252 seconds]
cored has quit [Quit: leaving]
<swarley> z3r00ld, at one line does it throw the error?
<kith> does perl have libraries like treetop or citrus?
<swarley> uhhhhh
<swarley> may i suggest #perl
<kith> they probably wont know what treetop or citrus is
<swarley> You'll have to say what they do essentially
<rindolf> kith: yes, this is good advice.
<kith> swarley: thx!
<swarley> no problem
<rindolf> kith: http://perl-begin.org/uses/text-parsing/ - this is a more up-to-date resource.
<z3r00ld> swarley: it throws error on declaration of "session.ca_file = OpenSSL::X509::Certificate.new ca" and so for the "session.cert" and "session.key", net-https says unable to read cert/file, type error can't convert it into string
<kith> thx guys
<rindolf> (Note: it's a page out of a site I originated and maintain.).
<kith> i'm just trying to find out how a vendor does a trick i wrote lotsa ruby code for :)
<kith> out of curiosity
<kith> so far, i'm horrified how they charge those amounts of money for that kinda solution... :D