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
jperry2 has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 245 seconds]
<foca> zenspider: drbrain: is Ruby19Parser able to parse any 1.8 file? (I would assume so, but then I'm not sure why the need to separate into two constants, so I might be missing something)
nignaztic has quit [Quit: WeeChat 0.3.7]
rmascarenhas has joined #ruby-lang
nignaztic has joined #ruby-lang
<drbrain> foca: AFAIK, ruby 1.9 syntax is a superset of 1.8 syntax
<drbrain> foca: which would explain why 1.9 and 1.8 would need to be separate
<foca> but if it's strictly a superset, a 1.9 parser should be able to understand a 1.8 file, right?
postmodern has joined #ruby-lang
felipe__ has quit [Quit: Leaving]
<raggi_> my gut is telling me there are incompatible edge cases, but don't ask me to demonstrate one
<foca> :)
<zenspider> foca: nope!
<zenspider> ruby 1.9 is NOT a superset of ruby 1.8
<foca> aha
<zenspider> eg case x; when 42:
<raggi_> oh yeah
<foca> true
<zenspider> I think there are 1 or 2 other small things
<foca> I forgot about those deprecations
<raggi_> mostly around the changes for hash literals
macmartine has quit [Quit: macmartine]
<raggi_> i have a feeling there's a 1.8.6 thing wiht the block args to procs too, but i may be wrong
<foca> hm, so the only way to parse an arbitrary file would be to attempt Ruby19Parser, rescue parsing errors, and attempt parsing with Ruby18Parser?
<zenspider> no, 1.8.6 didn't have that... so that's fine
<zenspider> foca: prolly, yeah
<zenspider> I was thinking about making CompoundRubyParser last night
<raggi_> zenspider: yeah, i thought it failed to parse though? i could be worng
<foca> that'd be nice :)
<raggi_> not that 1.8.6 really matters
<raggi_> (we can hope)
<zenspider> it does matter. ppl still use it.
<foca> I'm sure there's a bunch of people still using it in prodction
seanstickle has joined #ruby-lang
<raggi_> sure i still ahve apps on it in production
<zenspider> but a lot of the 1.9 extensions backported to 1.8.7 have only recently made it to my parser
<raggi_> because they've never restarted (there's a newer binary on teh box even)
<zenspider> they're only in the alpha releases
<zenspider> hah
arooni-mobile has quit [Ping timeout: 265 seconds]
gregf has joined #ruby-lang
<raggi_> next up, dependencies of dependencies! https://gist.github.com/9ccf900f058377c2964b
<raggi_> this is tedious...
kain has quit [Quit: Sto andando via]
kain has joined #ruby-lang
<raggi_> 3 gems we use actually filled in the spec.license property though!
postmodern has quit [Read error: Connection reset by peer]
<foca> hum, I didn't even see I could add a spec.license. I guess I could release a bunch of point versions :p
bfreeman has joined #ruby-lang
<zenspider> yay! I win! I made everyone use MIT!
<zenspider> everyone who disliked hoe and made their own packager still templated MIT into their systems
brianpWins has quit [Quit: brianpWins]
d3vic3 has quit [Ping timeout: 245 seconds]
felipe__ has joined #ruby-lang
d3vic3 has joined #ruby-lang
<zenspider> rawr, damnit.
Z33K|Lux has joined #ruby-lang
florentg2 has quit [Quit: florentg2]
<zenspider> gah. 485 lines of structural diff left between MRI 19 and ruby_parser's 19
spuk has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
tris has quit [Ping timeout: 246 seconds]
BMF has joined #ruby-lang
BMF has left #ruby-lang [#ruby-lang]
yugui_zzz is now known as yugui
M4g1c5t0rM has joined #ruby-lang
<foca> zenspider: oh, it's set by default to MIT?
sepp2k1 has quit [Remote host closed the connection]
M4g1c5t0rM has quit [Ping timeout: 246 seconds]
robotmay has quit [Remote host closed the connection]
fgomez has quit [Ping timeout: 246 seconds]
<raggi_> zenspider: yes, and THANK YOU :)
fgomez has joined #ruby-lang
steven has joined #ruby-lang
perryh_away is now known as perryh
felipe__ has quit [Quit: Leaving]
arooni-mobile has joined #ruby-lang
shtirlic has quit [Read error: Connection reset by peer]
mistym has quit [Quit: Page closed]
shtirlic has joined #ruby-lang
chrismcg is now known as zz_chrismcg
relix has quit [Remote host closed the connection]
L0rdShrek has quit [Remote host closed the connection]
akahn has quit [Write error: Broken pipe]
denysonique has quit [Remote host closed the connection]
cesario has quit [Remote host closed the connection]
brownies has quit [Remote host closed the connection]
abuiles has quit [Read error: Connection reset by peer]
anildigital_work has quit [Remote host closed the connection]
cldwalker has quit [Read error: Connection reset by peer]
beawesomeinstead has quit [Write error: Broken pipe]
agib has quit [Remote host closed the connection]
mccraig has quit [Write error: Connection reset by peer]
timbleck has quit [Remote host closed the connection]
akamike has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
mrsolo has left #ruby-lang ["Leaving"]
neoesque has joined #ruby-lang
wmoxam has quit [Ping timeout: 245 seconds]
jakko has joined #ruby-lang
l0st1 has joined #ruby-lang
kyrylo has quit [Quit: WeeChat 0.3.7]
wmoxam has joined #ruby-lang
toot_ has quit [Ping timeout: 245 seconds]
jxie_ has joined #ruby-lang
savage- has quit [Remote host closed the connection]
jxie has quit [Ping timeout: 252 seconds]
bryancp has joined #ruby-lang
jtoy has joined #ruby-lang
rmascarenhas has quit [Quit: leaving]
igotnolegs has joined #ruby-lang
wpaulson has joined #ruby-lang
seanstickle has quit [Quit: seanstickle]
dalekurt has quit [Quit: Zzz...]
Rizzle has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
l0st1 has quit [Quit: Lost terminal]
headius has quit [Quit: headius]
brownies has joined #ruby-lang
wmoxam has quit [Ping timeout: 252 seconds]
shtirlic_ has joined #ruby-lang
dalekurt has joined #ruby-lang
shtirlic has quit [Ping timeout: 265 seconds]
woollyams has quit [Ping timeout: 248 seconds]
dalekurt has quit [Client Quit]
dalekurt has joined #ruby-lang
fgomez has quit [Quit: leaving]
dalekurt_ has joined #ruby-lang
l0st1 has joined #ruby-lang
dRbiG has quit [Remote host closed the connection]
dalekurt has quit [Ping timeout: 244 seconds]
dalekurt_ is now known as dalekurt
bryancp has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
fgomez has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
<zzak> is there a vim plugin to support % for whitespace significant blocks?
brushbox has quit [Quit: Leaving.]
brushbox has joined #ruby-lang
horseman has joined #ruby-lang
M4g1c5t0rM has quit [Read error: Connection reset by peer]
macmartine has joined #ruby-lang
slyphon has joined #ruby-lang
ttilley_off is now known as ttilley
jbsan has quit [Read error: Connection reset by peer]
shtirlic_ has quit [Read error: Connection reset by peer]
jbsan has joined #ruby-lang
shtirlic has joined #ruby-lang
Guest10056 has quit [Remote host closed the connection]
imperator has joined #ruby-lang
horseman has quit [Ping timeout: 248 seconds]
BMF has joined #ruby-lang
skinny_much has joined #ruby-lang
skinny_much has quit [Read error: Connection reset by peer]
skinny_much has joined #ruby-lang
msaffitz has joined #ruby-lang
qpingu has left #ruby-lang [#ruby-lang]
skinny_much has left #ruby-lang [#ruby-lang]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
postmodern has joined #ruby-lang
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
BMF has quit [Remote host closed the connection]
andrewhl has joined #ruby-lang
<imperator> anyone here on lion?
raggi_ has quit [Ping timeout: 244 seconds]
<imperator> i don't suppose anyone has any ideas on this? https://github.com/djberg96/sys-proctable/issues/11#issuecomment-6296435
byronb has joined #ruby-lang
<bnagy> I got 10.7 but not with an old version of ruby
wubino has quit [Quit: Leaving]
<imperator> bnagy, any chance i could get you to clone the repo and run the tests?
<imperator> they didn't do something nutty like give SZOMB a value other than 5 did they?
jtoy has joined #ruby-lang
brownies has quit [Quit: ...]
dhruvasagar has joined #ruby-lang
jtoy has quit [Client Quit]
rahult_ has joined #ruby-lang
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
l0st1 has quit [Quit: leaving]
<bnagy> just clone and rake test? I can do that
msaffitz has joined #ruby-lang
<imperator> yep
<bnagy> 52 tests, 62 assertions, 0 failures, 30 errors, 0 skips
<bnagy> I might need to install your testing gem I think. :) Which one?
<imperator> oh, right, there's a trick to that
<imperator> gem install test-unit
<bnagy> gem.... installl.... teesst... wait let me write this down
<bnagy> ok, now that's weird
<bnagy> NoMethodError: undefined method `assert_true' for #<TC_ProcTable_Darwin:0x007fd951098120>
<bnagy> millions of... even after installing test-unit?
<imperator> yeah, there's a load path bug caused by rake
<imperator> it tries to load the old version
dalekurt has quit [Quit: Zzz...]
<imperator> only way around it is to....rename the old "test" dir in your stdlib
<imperator> mv test test.orig or whatever
wallerdev has quit [Quit: wallerdev]
<bnagy> oh...kay?
<imperator> actually, i can fix that i think
<bnagy> . o O ( clone and run rake test, he said... )
<bnagy> sec :)
<imperator> sorry :(
* imperator beats himself with a rubber hose for telling such outrageous lies
<bnagy> 52 tests, 103 assertions, 0 failures, 0 errors, 0 pendings, 1 omissions, 0 notifications
<bnagy> that's 1.9.2p194
dalekurt has joined #ruby-lang
<imperator> hm
<bnagy> only other one I can test quickly is jruby
<bnagy> 3 not 2
<bnagy> 1.9.3p194
<imperator> thank you for running
<imperator> won't work with jruby
<imperator> c extension
<bnagy> k
<imperator> on that platform anyway
<bnagy> I can rbenv a different version if you need me to
<bnagy> but it will take a while, my internet is awwwful
<imperator> is SZOMB in /usr/include/sys/proc.h still 5? just a sanity check
<imperator> nah, that's ok, but thanks
<bnagy> yeah it is
<imperator> ok, so that's not it then
<imperator> had an issue in the past where attempting to deref certain struct members would segfault if it was a zombie proc
<bnagy> obtw I meant to ask you
<bnagy> in process.kill on windows, is there a reason you did waitforsingleobject 5 with no way to change it?
<imperator> bnagy, do not look behind the curtain, there's nothing to see there
<bnagy> like should that always be enough, or does the thread signal instantly, or something?
<imperator> um....didn't want to complicate the interface, basically, and that *should* always be enough
<bnagy> I was ffi converting it
<imperator> bnagy, already being done, actually
<imperator> ffi branch on win32-process
<bnagy> I read some stupid doc that said sending WM_CLOSE was more polite than createremotethread
<bnagy> turned out not to really be the case
<imperator> bnagy, problem with that approach is that there has to be a window
<bnagy> it was just for a specific thing, though
<bnagy> yeah that too
<bnagy> but things where the main thread is waiting on a dialog - your wm_close never gets to the app
postmodern has quit [Quit: Leaving]
<bnagy> but create thread still works
<imperator> i was just reading some more about it today, actually
<bnagy> have you used any jruby / ffi stuff on win64?
brianpWins has joined #ruby-lang
<imperator> little bit
<imperator> why? got an ffi question?
<bnagy> not yet, just wanted to know if it will work
jakko has quit [Remote host closed the connection]
<bnagy> I still have days before my install iso will finish downloading
jakko has joined #ruby-lang
<imperator> should work, but jruby ffi is hampered by the lack of real fileno
<bnagy> well the latest mri build I could find was 1.9.2 something
<imperator> which can be very problematic in practice
<bnagy> and then there are many hoops, it seems to get zlib, ffi etc
havenn has joined #ruby-lang
<imperator> yeah, it has its own libs for zlib, openssl, etc
<imperator> and you'll want the ffi gem, not whatever ships with jruby by default
<bnagy> k
<bnagy> I still need to build zmq as well :S
<bnagy> soo much crap to DL :(
<imperator> DL? say what?
<bnagy> download
<imperator> oh, misread that
<bnagy> need to download VS 2008 or later to build zmq libs
<bnagy> yeah bad context for that acronym
<imperator> ;)
<bnagy> btw cutest windows instant exit I know xor esp, esp; ret
flowerpot has joined #ruby-lang
<imperator> ew
<imperator> didn't know that one, thanks....i think ;)
<bnagy> so small!
<imperator> and violent!
<bnagy> 5 bytes, I think
<bnagy> it's awesome because normal windows exception handling is stack based, but this way there isn't even any unhandled exception crap to go through
bglusman has joined #ruby-lang
dalekurt has quit [Quit: Zzz...]
bglusman has quit [Ping timeout: 244 seconds]
neocoin has joined #ruby-lang
cari_cewe has joined #ruby-lang
jeremyolliver has joined #ruby-lang
postmodern has joined #ruby-lang
cari_cewe has quit []
rippa has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
l0st1 has joined #ruby-lang
Hakon|mbp has quit [Client Quit]
jmcphers_ has quit [Ping timeout: 256 seconds]
dalekurt has joined #ruby-lang
jmcphers has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
ruurd has joined #ruby-lang
flowerpot has quit [Ping timeout: 244 seconds]
imperator has left #ruby-lang ["Leaving"]
slyphon has quit [Quit: WeeChat 0.3.7]
Hakon|mbp has joined #ruby-lang
havenn has quit [Remote host closed the connection]
yxhuvud has joined #ruby-lang
havenn has joined #ruby-lang
WillMarshall has joined #ruby-lang
byronb has quit [Ping timeout: 244 seconds]
fayimora has joined #ruby-lang
Asher has quit [Read error: Connection reset by peer]
macmartine has quit [Quit: macmartine]
Asher has joined #ruby-lang
macmartine has joined #ruby-lang
ttilley is now known as ttilley_off
Dreamer3 has joined #ruby-lang
anacond109 has joined #ruby-lang
corundum has quit [Read error: Connection reset by peer]
corundum has joined #ruby-lang
burgestrand has joined #ruby-lang
ttilley_off is now known as ttilley
TvL2386 has joined #ruby-lang
gregmoreno has joined #ruby-lang
gregmore_ has quit [Ping timeout: 240 seconds]
macmartine has quit [Quit: macmartine]
Fullmoon has joined #ruby-lang
Fullmoon has quit [Client Quit]
r0bby has joined #ruby-lang
kiddorails has joined #ruby-lang
burgestrand has quit [Quit: Leaving.]
robbyoconnor has quit [Ping timeout: 244 seconds]
jeremyolliver has quit [Ping timeout: 245 seconds]
savage- has joined #ruby-lang
JohnBat26 has joined #ruby-lang
jtoy has joined #ruby-lang
A1241 has quit [Quit: Leaving.]
jtoy_ has joined #ruby-lang
jtoy has quit [Ping timeout: 244 seconds]
jtoy_ is now known as jtoy
gouthamvel has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
venu has joined #ruby-lang
ttilley is now known as ttilley_off
kiddorails has quit [Ping timeout: 245 seconds]
gja has joined #ruby-lang
dreieins has quit [Ping timeout: 244 seconds]
skinny_much has joined #ruby-lang
kiddorails has joined #ruby-lang
WillMarshall has quit [Quit: Computer has gone to sleep.]
dc5ala has joined #ruby-lang
dreieins has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
ryanf has quit [Quit: leaving]
rking has quit [Quit: bbiaw]
gja has quit [Quit: This computer has gone to sleep]
nignaztic has quit [Quit: WeeChat 0.3.7]
tallship has quit [Remote host closed the connection]
ruurd has quit [Quit: Leaving...]
skinny_much has left #ruby-lang [#ruby-lang]
charliesome has joined #ruby-lang
venu has quit [Ping timeout: 245 seconds]
jtoy has quit [Quit: jtoy]
zmack has joined #ruby-lang
savage- has quit [Remote host closed the connection]
brushbox has quit [Quit: Leaving.]
dhruvasagar has quit [Ping timeout: 244 seconds]
outsmartin has joined #ruby-lang
dreieins has quit [Ping timeout: 244 seconds]
dreieins has joined #ruby-lang
l0st1 has quit [Quit: Lost terminal]
ryanf has joined #ruby-lang
brownies has joined #ruby-lang
dalekurt has quit [Quit: Zzz...]
Hakon|mbp has quit [Quit: Leaving...]
krz has joined #ruby-lang
dreieins has quit [Ping timeout: 244 seconds]
igotnolegs has quit [Quit: Computer has gone to sleep.]
dreieins has joined #ruby-lang
tintin has joined #ruby-lang
<tintin> Anyone?
dhruvasagar has joined #ruby-lang
Where_Is_Void has joined #ruby-lang
<erikh> baby don't hurt me
<Where_Is_Void> Is it possible to split a string by index? For example, "foo bar".split(3) => ["foo", "bar"] ?
<tintin> erikh: who did hurt you?
<Where_Is_Void> erikh: don't hurt me, no more
<Where_Is_Void> Or what I'm trying to do "ThuJun" => "Thu" "Jun"
<Where_Is_Void> oh wait don't worry, I'll just insert a space
countdig1 has joined #ruby-lang
<erikh> you could probably use slice to effect, but I can't think of something that deliberately does it for you
<tintin> Where_Is_Void: paste you complete input and output.
<erikh> anyhow, it's way past my bedtime
<erikh> night :)
<tintin> night :)
<Where_Is_Void> it's ok I figured it out "ThurJun 14".insert(3, ' ') => "Thu Jun 14"
kiddorails has quit [Ping timeout: 245 seconds]
kitallis has joined #ruby-lang
fserb has joined #ruby-lang
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
gouthamvel has joined #ruby-lang
<tintin> drbrain: hi
msaffitz has quit [Quit: Computer has gone to sleep.]
tallship has joined #ruby-lang
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
outsmartin has quit [Quit: Leaving.]
gouthamvel has quit [Ping timeout: 244 seconds]
<bnagy> anyone know about FFI::Pointer code incompatability between MRI FFI and JRuby FFI? (tried #jruby too)
ruurd has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
kiddorails has joined #ruby-lang
kiddorails has quit [Ping timeout: 246 seconds]
<tintin> what is that FFI?
kiddorails has joined #ruby-lang
r0bby is now known as robbyoconnor
gouthamvel has joined #ruby-lang
dreieins has quit [Ping timeout: 244 seconds]
nazty has quit [Read error: Connection reset by peer]
tintin has left #ruby-lang [#ruby-lang]
rahult_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
the-newsman has joined #ruby-lang
havenn has quit [Ping timeout: 248 seconds]
srbartlett has quit [Remote host closed the connection]
tjadc has joined #ruby-lang
dreieins has joined #ruby-lang
diegoviola has quit [Ping timeout: 245 seconds]
TvL2386 has quit [Quit: Ex-Chat]
kiddorails has quit [Ping timeout: 244 seconds]
dhruvasagar has quit [Ping timeout: 265 seconds]
kiddorails has joined #ruby-lang
dreieins has quit [Ping timeout: 244 seconds]
toretore has joined #ruby-lang
brownies has quit [Ping timeout: 265 seconds]
bglusman has joined #ruby-lang
dc5ala has quit [Ping timeout: 245 seconds]
zz_chrismcg is now known as chrismcg
jokke88 has joined #ruby-lang
abuiles has joined #ruby-lang
anildigital_work has joined #ruby-lang
jokke88 has quit [Client Quit]
beawesomeinstead has joined #ruby-lang
supasnashbuhl_ has joined #ruby-lang
outsmartin has joined #ruby-lang
<supasnashbuhl_> hi all! I'm trying to install diaspora* on my server and get following error message when running bundler to install: ArgumentError: invalid byte sequence in US-ASCII An error occured while installing markerb (1.0.0), and Bundler cannot continue. Make sure that `gem install markerb -v '1.0.0'` succeeds before bundling.
relix has joined #ruby-lang
agib has joined #ruby-lang
<supasnashbuhl_> I did run gem install markerb -v '1.0.0' and it succeeded. Still i get this message afterwards
<supasnashbuhl_> i use rvm by the way
<supasnashbuhl_> because i don't have root access on the server
<supasnashbuhl_> any clues what might be the issue here?
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
outsmartin has quit [Client Quit]
cesario has joined #ruby-lang
bglusman has quit [Ping timeout: 244 seconds]
outsmartin has joined #ruby-lang
outsmartin has quit [Client Quit]
<supasnashbuhl_> and i'm using ruby 1.9.2 with rvm
<supasnashbuhl_> and i ran rvm rubygems latest so i think i have the latest rubygems installed
<supasnashbuhl_> any help would be greatly appreciated :)
brownies has joined #ruby-lang
tbuehlmann has joined #ruby-lang
tbuehlmann has quit [Changing host]
tbuehlmann has joined #ruby-lang
brownies has quit [Changing host]
brownies has joined #ruby-lang
brownies has joined #ruby-lang
robotmay has joined #ruby-lang
mccraig has joined #ruby-lang
outsmartin has joined #ruby-lang
timbleck has joined #ruby-lang
<outsmartin> supasnashbuhl_: have you tried to install without docs?
<outsmartin> sometimes i get this error when i install gems with docs
<supasnashbuhl_> outsmartin: no, how do i do that? I'm a complete ruby noob. :)
qwerxy has joined #ruby-lang
pp01bit has joined #ruby-lang
Z33K|Lux has quit []
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<supasnashbuhl_> outsmartin: thanks. I tried that, and the gem installed without docs but still i get the error when bundling.. Maybe bundler has some own config, where i have to set the same arguments..?
<outsmartin> try bundle --verbose
<supasnashbuhl_> okay
<outsmartin> and maybe post a gist
pip has joined #ruby-lang
pip has quit [Changing host]
pip has joined #ruby-lang
cdt has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
<supasnashbuhl_> outsmartin: allright, here goes: https://gist.github.com/2928966
andrewhl has quit [Remote host closed the connection]
gouthamvel has quit [Ping timeout: 244 seconds]
gnufied has joined #ruby-lang
qwerxy has quit [Quit: offski]
<supasnashbuhl_> i sure don't know what to make of it..
the-newsman has quit [Ping timeout: 240 seconds]
ryanf has quit [Quit: leaving]
voker57 has quit [Remote host closed the connection]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
GeekOnCoffee has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby-lang
nevynxxx has joined #ruby-lang
<outsmartin> you tried to remove rvm and reinstall it?
<supasnashbuhl_> no
<outsmartin> just delete .rvm folder and retr
<outsmartin> retry
<supasnashbuhl_> okay
rob_ has joined #ruby-lang
rob_ has left #ruby-lang [#ruby-lang]
<supasnashbuhl_> jeez, how can deleting one folder take so long? :P
qwerxy has joined #ruby-lang
qwerxy has quit [Client Quit]
futurechimp has joined #ruby-lang
d3vic3 has quit [Ping timeout: 246 seconds]
burgestrand has joined #ruby-lang
d3vic3 has joined #ruby-lang
sora_h is now known as s0ra_h
dreieins has joined #ruby-lang
<supasnashbuhl_> i had to set the -v flag to make sure rm is even doing something.. Apparently it is :)
heftig has joined #ruby-lang
francisfish has joined #ruby-lang
<outsmartin> working on a shared host is not a pleasure :)
<supasnashbuhl_> true :P
<supasnashbuhl_> But it's an awesome host nonetheless. Check for your self: uberspace.de
abuiles has quit [Remote host closed the connection]
anildigital_work has quit [Remote host closed the connection]
brownies has quit [Remote host closed the connection]
timbleck has quit [Remote host closed the connection]
beawesomeinstead has quit [Remote host closed the connection]
relix has quit [Remote host closed the connection]
agib has quit [Remote host closed the connection]
cesario has quit [Remote host closed the connection]
mccraig has quit [Write error: Broken pipe]
<supasnashbuhl_> You choose how much you pay a month. The minimum is 1 euro. That's just awesome considering what you can do with your server.
fserb has quit [Quit: ttyl]
<supasnashbuhl_> oh.. i guess the site is only in german.. too bad. It's incredible.
brownies has joined #ruby-lang
fserb has joined #ruby-lang
mccraig has joined #ruby-lang
<supasnashbuhl_> and you can test it for a month free of charge. There's also no personal information required. Not even for payment, because you just have to make a deposit to (re)fill your balance from which the monthly fee is withdrawn.
agib has joined #ruby-lang
sandbags has quit [Remote host closed the connection]
fserb has quit [Client Quit]
workmad3 has quit [Ping timeout: 240 seconds]
<supasnashbuhl_> i've never seen any host getting even near that good for such a fair pricing.
Weems has quit []
d3vic3 has quit [Read error: Connection reset by peer]
d3vic3 has joined #ruby-lang
abuiles has joined #ruby-lang
anildigital_work has joined #ruby-lang
relix has joined #ruby-lang
soahccc` is now known as soahccc
<rue> Bunch of VPS:s run only a couple €/month
cesario has joined #ruby-lang
tekin has joined #ruby-lang
nevynxxx has quit [Remote host closed the connection]
<soahccc> It is possible that ERB cannot handle multi line comments? I tried to comment out a big block of code (erb so with html and so on) with a block comment. It gives sytax errors all over the place :/
pip has quit [Quit: Leaving]
gouthamvel has joined #ruby-lang
<supasnashbuhl_> outsmartin: awesome. Reinstalling did the trick! Thanks!
timbleck has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
kiddorails has quit [Ping timeout: 245 seconds]
<brownies> soahccc: i've heard it's hit-or-miss.
kiddorails has joined #ruby-lang
<rue> soahccc: Possible to move the code out of the .erb and into Rails/CGI/whatever?
<soahccc> rue: possible but I need it to refactor and it isn't that practical... however I try to move it somewhere else
nevynxxx has joined #ruby-lang
<rue> Yep
<rue> Always the better option, though
<soahccc> oh come on :D I found the error
ioga_wrk has quit [Remote host closed the connection]
<rue> Hooray
<rue> Makes sense
qwerxy has joined #ruby-lang
<soahccc> It seems that ruby has a different understanding of block comments than every other language... Therefore nobody uses it in normal as far as I can see
<rue> More or less
<rue> In that case, it’s just ERB stupidity
kiddorails has quit [Ping timeout: 244 seconds]
supasnashbuhl_ has quit [Quit: Page closed]
d3vic3 has quit [Ping timeout: 252 seconds]
d3vic3 has joined #ruby-lang
skinny_much has joined #ruby-lang
pp01bit has quit [Remote host closed the connection]
pip has joined #ruby-lang
pip has quit [Changing host]
pip has joined #ruby-lang
kiddorails has joined #ruby-lang
rolfb has joined #ruby-lang
voker57 has quit [Remote host closed the connection]
skinny_much has left #ruby-lang [#ruby-lang]
gianlucadv has quit [Quit: ZNC - http://znc.sourceforge.net]
akamike has joined #ruby-lang
gianlucadv has joined #ruby-lang
neoesque has quit [Quit: Bye!]
perryh is now known as perryh_away
gnufied1 has joined #ruby-lang
gnufied has quit [Ping timeout: 244 seconds]
apeiros_ has joined #ruby-lang
kvirani has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
burgestrand has quit [Quit: Leaving.]
s0ra_h is now known as sora_h
dhruvasagar has joined #ruby-lang
gianlucadv has quit [Quit: ZNC - http://znc.sourceforge.net]
Criztian has joined #ruby-lang
gianlucadv has joined #ruby-lang
matti has quit [Changing host]
matti has joined #ruby-lang
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
crackity_jones has quit [Ping timeout: 246 seconds]
gouthamvel has quit [Ping timeout: 244 seconds]
postmodern has quit [Quit: Leaving]
srbartlett has joined #ruby-lang
cantonic_ has joined #ruby-lang
cantonic has quit [Ping timeout: 240 seconds]
cantonic_ is now known as cantonic
postmodern has joined #ruby-lang
gouthamvel has joined #ruby-lang
tintin has joined #ruby-lang
retro|cz has quit [Read error: Connection reset by peer]
<tintin> drbrain: hi, are you there?
<tintin> can i ask question about ruby/lib/net/http.rb ?
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
kiddorails has quit [Ping timeout: 244 seconds]
brownies has quit [Quit: ...]
kiddorails has joined #ruby-lang
alerticus has joined #ruby-lang
<andrewvos> tintin: Just do it!
<andrewvos> tintin: Ask the question!
<andrewvos> tintin: GOOOOOO
gnufied1 has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
sora_h is now known as s0ra_h
kiddorails has quit [Ping timeout: 244 seconds]
kiddorails has joined #ruby-lang
d3vic3 has quit [Quit: leaving]
ioga_wrk has joined #ruby-lang
brushbox has joined #ruby-lang
s0ra_h is now known as sora_h
gja has quit [Quit: This computer has gone to sleep]
Axsuul has quit [Ping timeout: 248 seconds]
d3vic3 has joined #ruby-lang
stardiviner is now known as houge0
houge0 is now known as stardiviner
stardiviner is now known as imtxc
imtxc is now known as stardiviner
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
stardiviner has joined #ruby-lang
yugui is now known as yugui_zzz
A124 has joined #ruby-lang
LnL has joined #ruby-lang
<rue> Question fail
<tintin> hi
LnL has left #ruby-lang ["[me setAway:true];"]
dhruvasagar has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby-lang
bglusman has joined #ruby-lang
<andrewvos> And the cycle continues
bglusman has quit [Ping timeout: 244 seconds]
wmoxam has joined #ruby-lang
<rue> It’s still a good 5-6 hours until PST morning, this could be entertaining
<tintin> lol
fgomez has quit [Ping timeout: 244 seconds]
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
brianpiercy has joined #ruby-lang
bryancp has joined #ruby-lang
brianpiercy has quit [Ping timeout: 244 seconds]
kiddorails has quit [Ping timeout: 246 seconds]
<gnufied> i have a question. My manager wants to use rails for this internal application for > 100K employees and he asked can rails scale to 100K concurrent users?
tintin has quit [Quit: tintin]
<gnufied> I told him, NO but he needs solid reasoning
kiddorails has joined #ruby-lang
<apeiros_> gnufied: I think you want #rubyonrails
<gnufied> apeiros_: thank you. but will #rubyonrails scale?
<gnufied> sorry, I was trolling.
<apeiros_> I think irc channels scale pretty badly :-p
<outsmartin> too obvious
<gnufied> outsmartin: yeah but i realized #ruby-lang is not the proper place to troll
krz has quit [Quit: krz]
<apeiros_> /kick gnufied trolling not welcome :-p
<rue> gnufied: Scaling will depend on your actual app and the hardware you have.
<gnufied> ha ha. are you still in sweden apeiros_ ?
<rue> But there might be better ways…or you could compose it piecemeal
ttilley_off is now known as ttilley
<apeiros_> gnufied: I've only been to sweden for ~1 week in my whole life
srbartlett has quit [Remote host closed the connection]
<apeiros_> gnufied: I heard php scales very well…
krz has joined #ruby-lang
<rue> apeiros_: That’s not a ‘no’ :)
pip has quit [Quit: Leaving]
<apeiros_> rue: yes
<rue> Or yes
knu has quit [Remote host closed the connection]
<apeiros_> rue: no
<rue> Hm
<rue> Watson?
gnufied1 has joined #ruby-lang
gnufied has quit [Ping timeout: 244 seconds]
mark_locklear has joined #ruby-lang
gouthamvel has quit [Ping timeout: 252 seconds]
knu has joined #ruby-lang
srbartlett has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
fgomez has joined #ruby-lang
<zzak> good morning!
mytrile has joined #ruby-lang
krz has quit [Quit: krz]
jxie_ has quit [Quit: leaving]
CCD has joined #ruby-lang
tommyvyo_ has joined #ruby-lang
digitalbane has joined #ruby-lang
carloslopes has joined #ruby-lang
dalekurt has joined #ruby-lang
jedmtnman has left #ruby-lang [#ruby-lang]
<kith> guys i'm trying to call a jruby script from crontab but it doesnt execute while other (MRI scripts) do. what am i missing?
<kith> the jruby script runs flawlessly when called from terminal
pip has joined #ruby-lang
pip has quit [Changing host]
pip has joined #ruby-lang
d3vic3 has quit [Ping timeout: 240 seconds]
kiddorails has quit [Quit: Leaving.]
<andrewvos> kith: What happens?
<andrewvos> kith: How are you opening crontab -e? Using sudo?
<andrewvos> RVM?
<andrewvos> Throw me a frikkin bone here
<kith> crontab -e as root
d3vic3 has joined #ruby-lang
<kith> not using rvm
dc5ala has joined #ruby-lang
<kith> the script uses several gems
brianpiercy has joined #ruby-lang
<kith> cron logfile says the file gets called but no error messages or such
<andrewvos> Have you write redirecting output to a file?
<kith> no
<kith> hmmm maybe i should eh
workmad3 has joined #ruby-lang
<andrewvos> Yeah check that out
<kith> cron cmd > /fs/file right?
<andrewvos> umm
<andrewvos> wait
<andrewvos> something like this:
tcopp has joined #ruby-lang
<andrewvos> command 2>&1 > errors.log
<andrewvos> I think
<andrewvos> Can never remember
<kith> 5 * * * * /dir/php /dir/process_fns.php >> /dir/dump.txt 2>&1
<kith> says google :D
<andrewvos> yeah
<andrewvos> ls -yz >> command.log 2>&1 <--- another example
gix has quit [Ping timeout: 246 seconds]
<kith> gawddamn i'm such a moron
<andrewvos> hah
<kith> /opt/jruby/bin/jruby: line 393: exec: java: not found
<andrewvos> what was it?
<andrewvos> oh
CCD has quit [Remote host closed the connection]
jperry2 has joined #ruby-lang
dreieins has quit [Ping timeout: 244 seconds]
* youngin is now playing: Yesterdays New Quintet - Solar Waves (www.youtube.com/watch?v=6s4PnaaaxpU)
gix has joined #ruby-lang
sepp2k has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
hynkle has joined #ruby-lang
brushbox has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
<kith> andrewvos: thx
Mon_Ouie has quit [Ping timeout: 246 seconds]
<andrewvos> kith: np
CCD has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
gouthamvel has joined #ruby-lang
gnufied1 has quit [Ping timeout: 246 seconds]
CCD has left #ruby-lang [#ruby-lang]
cjs226 has quit []
brianpiercy has quit [Ping timeout: 244 seconds]
wallerdev has joined #ruby-lang
florentg2 has joined #ruby-lang
brushbox has joined #ruby-lang
bglusman has joined #ruby-lang
brushbox has quit [Quit: Leaving.]
jbwiv has quit [Remote host closed the connection]
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
dreieins has joined #ruby-lang
chimkan has joined #ruby-lang
<chimkan> hi!
brianpiercy has joined #ruby-lang
rolfb has quit [Quit: Linkinus - http://linkinus.com]
umttumt has joined #ruby-lang
stardiviner has quit [Ping timeout: 244 seconds]
<andrewvos> Yep
snk is now known as snk_
<chimkan> anyone how to use carrierwave?
rippa has quit [Quit: derp herp]
snk_ is now known as snk
brianpiercy has quit [Ping timeout: 252 seconds]
wmoxam has quit [Ping timeout: 252 seconds]
A124 has quit [Quit: Leaving.]
dv310p3r has joined #ruby-lang
chimkan__ has joined #ruby-lang
dreieins has quit [Ping timeout: 244 seconds]
<rue> Is carrierwave > paperclip or do I misrecall?
bryancp has quit [Remote host closed the connection]
chimkan has quit [Ping timeout: 252 seconds]
chimkan__ is now known as chimkan
zpirix has joined #ruby-lang
adambeynon has joined #ruby-lang
d3vic3 has quit [Ping timeout: 244 seconds]
d3vic3 has joined #ruby-lang
moos3 has joined #ruby-lang
dreieins has joined #ruby-lang
fayimora has quit [Ping timeout: 264 seconds]
dv310p3r has quit [Quit: Leaving]
dv310p3r has joined #ruby-lang
futurechimp has quit [Ping timeout: 240 seconds]
zpirix has left #ruby-lang [#ruby-lang]
zpirix has joined #ruby-lang
heftig has quit [Ping timeout: 260 seconds]
zpirix has left #ruby-lang [#ruby-lang]
dreieins has quit [Ping timeout: 244 seconds]
virunga has joined #ruby-lang
asahi has joined #ruby-lang
futurechimp has joined #ruby-lang
tbuehlmann has quit []
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
slyphon has joined #ruby-lang
dreieins has joined #ruby-lang
crackity_jones has joined #ruby-lang
outoftime has joined #ruby-lang
stardiviner has joined #ruby-lang
jperry21 has joined #ruby-lang
stardiviner has quit [Client Quit]
jperry2 has quit [Ping timeout: 265 seconds]
tubbo is now known as necromancer
necromancer is now known as tubbo
Hakon|mbp has quit [Quit: Leaving...]
akahn has joined #ruby-lang
denysonique has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
tekin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
tekin has joined #ruby-lang
postmodern has quit [Quit: Leaving]
tekin has quit [Client Quit]
gouthamvel has quit [Ping timeout: 244 seconds]
retro|cz has joined #ruby-lang
chimkan has quit [Quit: chimkan]
indeterminate has quit [Quit: It's too late. You've awakened the gazebo. It catches and eats you.]
neocoin has quit [Remote host closed the connection]
chimkan has joined #ruby-lang
sailias has joined #ruby-lang
bryancp has joined #ruby-lang
zmack has quit [Remote host closed the connection]
jxie has joined #ruby-lang
enebo has joined #ruby-lang
francisfish has quit [Ping timeout: 244 seconds]
Jake232 has joined #ruby-lang
<Jake232> How is it possible, for this library to segfault my ruby. It's killed my workers a few times now.
<mistym> Jake232: What OS?
<Jake232> OS X
<Jake232> havent tested in production yet
<mistym> Aha. What version of ruby? You probably built it with clang, right?
charliesome has quit [Quit: Computer has gone to sleep.]
<Jake232> whatever "rvm use 1.9.3" uses
<mistym> p194 then?
<Jake232> Just seems funny that this line would be segfaulting
<Jake232> ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
<Jake232> 1.92 it seems
<Jake232> 1.9.2* thought I had upgraded
<Jake232> That must have been the other machine, sorry.
<mistym> Some versions of ruby have issues when they're compiled with clang. I *think* they're all sorted out by 1.9.3p194, but maybe not.
<mistym> You need to either build ruby with gcc-4.2, or upgrade to the latest ruby, or both.
<Jake232> Surely just mapping over an array and stripping it wouldn't cause a segfault though?
<Jake232> I use ruby for alot of projects, and this is the only place
<Jake232> it ever happens.
<mistym> It does if ruby itself has bugs introduced by the compiler.
<mistym> Segfaults while running *is* an issue caused by compiling certain ruby versions with clang.
brunocoelho has joined #ruby-lang
<Jake232> but wouldn't, ['test', 'test1'].map { |sentence| sentence.strip } also cause the segfault, if ruby had been compiled incorectly?
Natch| has joined #ruby-lang
<mistym> Not really sure.
<Jake232> I guess I'll try the latest ruby
<mistym> What Xcode are you on?
<Jake232> No idea, I'll check. Never opened it since the day it was installed.
<mistym> I'm going to guess 4.3.
<Jake232> Version 4.1 - Build 4B110
<Jake232> 4.1, haha
wmoxam has joined #ruby-lang
jstemmer has quit [Quit: leaving]
<mistym> Oh, so not clang. llvm-gcc may cause some issues too though.
sandbags has joined #ruby-lang
kvirani has joined #ruby-lang
<mistym> Do you use homebrew?
lucas has left #ruby-lang [#ruby-lang]
francisfish has joined #ruby-lang
<Jake232> yes
dfr|mac has joined #ruby-lang
<Jake232> for certain things
<mistym> OK. Then before you rebuild ruby, do the following:
<mistym> brew tap homebrew/dupes; brew install apple-gcc42
tekin has joined #ruby-lang
tekin has quit [Client Quit]
<Jake232> Error: Unknown command: tap
<Jake232> My homebrew could be old too
<mistym> brew update
<Jake232> Yea, running it now
dfr|mac has quit [Remote host closed the connection]
<Jake232> So, if I have app-gcc, then rvm will auto use that?
rippa has joined #ruby-lang
<mistym> Yeah, it should autoselect it if it's available, because it's the most compatible compiler for ruby at the moment.
<mistym> apple-gcc42 is true gcc, which Apple stopped shipping as of Xcode 4.1 or so.
Prx has joined #ruby-lang
chrismcg is now known as zz_chrismcg
<Jake232> I always pressumed my things were compiling with gcc
<Jake232> never really looked into it
yannis has joined #ruby-lang
<mistym> I *think*. You may need to CC=/usr/local/bin/gcc-4.2 rvm install foo
llaskin has joined #ruby-lang
<mistym> Xcode 4.0+ uses llvm-gcc as the default compiler, not quite the same.
dfr|mac has joined #ruby-lang
tekin_ has joined #ruby-lang
<Jake232> Running it now
<Jake232> Although I only see this error like, very rarely
<Jake232> so I won't know if it has even worked. It's just annoying because of it being a segfault, it brings the whole worker process down. All the threads.
<Jake232> And they're mid-job and such, a pain to fix.
<apeiros_> wtf… Symbol#match is an alias to Symbol#=~ instead of working like String#match
<apeiros_> how awful is that…
ddollar has joined #ruby-lang
<ddollar> anyone know why IO#read would return only half the number of bytes i ask for? (it's not EOF, if i ask for 4 bytes i get 2, but if i ask for 4 more i get 2 more) https://gist.github.com/d9cf978fdefc401eda60
<apeiros_> ddollar: because there isn't that much data in the buffer yet
epitron has quit [Remote host closed the connection]
<ddollar> apeiros_: the description for IO#read suggests it will return the number of bytes you ask for unless eof or an error happens
<apeiros_> ddollar: not that I think the docs are very clear on that, but in mine, it states "it try to read length bytes"
<ddollar> apeiros_: the few sentences after that suggest it will only return less than you ask for if eof or an error happens
<apeiros_> hm…
Prx has left #ruby-lang [#ruby-lang]
<apeiros_> though actually the way it is written after that it would imply that less than length bytes means EOF
<apeiros_> no idea then :)
<ddollar> some kind of encoding issue maybe?
florentg2 has quit [Ping timeout: 244 seconds]
rking has joined #ruby-lang
<ddollar> it seems weird because if i know what 4 bytes are on the stream.. if i ask for 4 i get the first 2, if i ask for 4 more i get the next 2
<Jake232> mistym: compiled, thanks for the help
<Jake232> hopefully it'll work
<mistym> Jake232: Fingers crossed!
<Jake232> Honestly, I don't think it will however
<Jake232> I can't help but think I'd have come across a segfault similar before
<Jake232> seeing as though I use ruby so much
brianpiercy has joined #ruby-lang
outsmartin has quit [Quit: Leaving.]
zz_chrismcg is now known as chrismcg
jstemmer has joined #ruby-lang
francisfish has quit [Read error: Connection reset by peer]
francisfish has joined #ruby-lang
d3vic3 has quit [Ping timeout: 240 seconds]
tekin_ has quit [Quit: Computer has gone to sleep.]
epitron has joined #ruby-lang
d3vic3 has joined #ruby-lang
zmack has joined #ruby-lang
thone_ has joined #ruby-lang
thone has quit [Read error: Connection reset by peer]
d3vic3 has quit [Ping timeout: 265 seconds]
d3vic3 has joined #ruby-lang
gouthamvel has joined #ruby-lang
kitallis has quit [Quit: Computer has gone to sleep.]
futurechimp has quit [Ping timeout: 252 seconds]
kitallis has joined #ruby-lang
perryh_away is now known as perryh
<erikh> ddollar: multibyte?
<erikh> anyhow, just guessing. I'll leave you alone :)
ruurd has quit [Quit: Leaving...]
fserb has joined #ruby-lang
d3vic3 has quit [Ping timeout: 246 seconds]
rking has quit [Quit: Oops. Didn't start in tmux.]
jtoy has joined #ruby-lang
d3vic3 has joined #ruby-lang
rking has joined #ruby-lang
futurechimp has joined #ruby-lang
tjadc has quit [Read error: Connection reset by peer]
chrismcg is now known as zz_chrismcg
JohnBat26 has quit [Remote host closed the connection]
carloslopes has quit [Ping timeout: 244 seconds]
gouthamvel has left #ruby-lang [#ruby-lang]
brunocoelho has quit [Remote host closed the connection]
zmack has quit [Remote host closed the connection]
robotmay has quit [Remote host closed the connection]
shtirlic has quit [Read error: Connection reset by peer]
nevynxxx has quit [Quit: leaving]
shtirlic has joined #ruby-lang
jtoy has quit [Quit: jtoy]
brianpiercy has quit [Read error: Connection reset by peer]
jtoy has joined #ruby-lang
Jake232 has quit [Quit: Computer has gone to sleep.]
jtoy_ has joined #ruby-lang
msaffitz has joined #ruby-lang
jtoy_ has quit [Client Quit]
jtoy has quit [Ping timeout: 240 seconds]
zz_chrismcg is now known as chrismcg
sailias has quit [Ping timeout: 244 seconds]
macmartine has joined #ruby-lang
stardiviner has joined #ruby-lang
fayimora has joined #ruby-lang
heftig has joined #ruby-lang
chimkan has quit [Quit: chimkan]
savage- has joined #ruby-lang
andrewhl has joined #ruby-lang
neocoin has joined #ruby-lang
lsegal has joined #ruby-lang
mark_locklear has quit [Remote host closed the connection]
<zzak> erikh
shtirlic has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 252 seconds]
shtirlic has joined #ruby-lang
fayimora has quit [Ping timeout: 245 seconds]
<erikh> zzak:
<erikh> juggling this and work so I might be slow
llaskin has left #ruby-lang [#ruby-lang]
<zzak> erikh: know any good vim plugins for python-like block matching, like using %, for python/haml/coffeescript/yaml/etc? all i could find is https://github.com/michaeljsmith/vim-indent-object
carloslopes has joined #ruby-lang
fayimora has joined #ruby-lang
alerticus has quit []
butchanton has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
brianpWins has quit [Quit: brianpWins]
heftig has quit [Quit: leaving]
tbuehlmann has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
fayimora has quit [Ping timeout: 265 seconds]
sora_h is now known as s0ra_h
heftig has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
perryh is now known as perry
tekin_ has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
nuclearsandwich has quit [Ping timeout: 252 seconds]
rhalff has joined #ruby-lang
<rhalff> hi
<wmoxam> rhalff: going to spam Assange crap here too?
<rhalff> pathetic
<deryl> I can see this is going to end well for him
<rhalff> so, how is your view on the worl wmoxam, or should I direct that to #politics.
<rhalff> world
<wmoxam> rhalff: did you have a Ruby question I could answer?
<rhalff> wmoxam, no, but 10 years from now there are no ruby questions to answer.
<oddmunds> :)
<mistym> 10 years from now the ruby singularity will be reached, and ruby will solve your problems before you need to ask about them
<wmoxam> rhalff: yeah, we'll be programming with Fancy or IO or Go or soemthing else instead ;)
<erikh> zzak: matchit for vim
ruurd has joined #ruby-lang
<workmad3> wmoxam: and yet we'll still argue about vim vs emacs
<oddmunds> emacs 25
<rhalff> @mistym thanks for your vision, I'll shut up now :-0
cdt has quit [Quit: Ex-Chat]
rhalff has quit [Quit: Leaving]
<moos3> anyone have a good example on how to use erb for writing out config files
nuclearsandwich has joined #ruby-lang
dalekurt has quit [Ping timeout: 244 seconds]
shtirlic has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 244 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
lsegal has joined #ruby-lang
tjadc has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
gokul has joined #ruby-lang
Carnage\ has joined #ruby-lang
gouthamvel has joined #ruby-lang
<moos3> how can I access a var more then once in a erb template
qwerxy has quit [Ping timeout: 240 seconds]
<Mon_Ouie> Why would you need anything special for that?
ivanoats has joined #ruby-lang
<moos3> well i'm doing something like this <% data.each do |f| %> render a xml block <% end %> then doing it again in teh file to render a different child block wiht the same details
tjadc has quit [Ping timeout: 265 seconds]
fgomez has quit [Ping timeout: 248 seconds]
<zzak> erikh does matchit work for python?
gokul has quit [Ping timeout: 244 seconds]
<zzak> or other whitespace signicant languages
<zzak> significant*
<erikh> zzak: as I understand it yes
fayimora has joined #ruby-lang
toertore has joined #ruby-lang
zmack has joined #ruby-lang
nuclearsandwich has quit [Ping timeout: 244 seconds]
dalekurt has joined #ruby-lang
toretore has quit [Ping timeout: 245 seconds]
<zzak> erikh: works good for do/end but not indentation based blocks
tekin_ has quit [Quit: Computer has gone to sleep.]
<erikh> phooey
<erikh> well, you can't win them all.
<zzak> i think its just a ruby ftplugin is why
nuclearsandwich has joined #ruby-lang
nuclearsandwich has quit [Read error: Connection reset by peer]
futurechimp has quit [Quit: Leaving]
nuclearsandwich has joined #ruby-lang
florentg2 has joined #ruby-lang
Criztian has joined #ruby-lang
zmack has quit [Remote host closed the connection]
vmatiyko has joined #ruby-lang
toretore has joined #ruby-lang
outsmartin has joined #ruby-lang
fgomez has joined #ruby-lang
toertore has quit [Ping timeout: 244 seconds]
akira989 has joined #ruby-lang
tris has joined #ruby-lang
Devanon has joined #ruby-lang
AlHafoudh has joined #ruby-lang
sailias has joined #ruby-lang
soahccc is now known as soahccc`
butchanton has quit [Quit: Leaving.]
Devanon has left #ruby-lang [#ruby-lang]
jtoy has joined #ruby-lang
fgomez has quit [Quit: leaving]
fgomez has joined #ruby-lang
pabloh has joined #ruby-lang
Devanon has joined #ruby-lang
butchanton has joined #ruby-lang
Devanon has quit [Quit: Devanon]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Devanon has joined #ruby-lang
Devanon has left #ruby-lang [#ruby-lang]
umttumt has quit [Remote host closed the connection]
msaffitz has quit [Ping timeout: 265 seconds]
jtoy has quit [Quit: jtoy]
florentg2 has quit [Read error: Connection reset by peer]
msaffitz has joined #ruby-lang
florentg2 has joined #ruby-lang
Axsuul has joined #ruby-lang
fayimora has quit [Ping timeout: 265 seconds]
ironcamel has quit [Quit: leaving]
Devanon has joined #ruby-lang
<Devanon> Hi all
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
toretore has quit [Ping timeout: 248 seconds]
toretore has joined #ruby-lang
<Devanon> Anyone can recommend me a corss-platform gui for ruby?
flak has joined #ruby-lang
Carnage\ has quit []
flak is now known as Guest49415
Carnage\ has joined #ruby-lang
rippa has quit [Ping timeout: 244 seconds]
Guest49415 has quit [Client Quit]
toretore has quit [Ping timeout: 240 seconds]
rippa has joined #ruby-lang
<Defusal> Devanon, never needed gui personally, but there is shoes
Criztian has quit [Remote host closed the connection]
ridders24 has joined #ruby-lang
<wmoxam> Devanon: Shoes is fun, but probably not what you're looking for
<wmoxam> Devanon: there's are Ruby wrappers for WxWidgets, QT and GTK
CCD has joined #ruby-lang
Weems has joined #ruby-lang
Weems has quit [Changing host]
Weems has joined #ruby-lang
Carnage\ has quit []
<Devanon> I will check those wrappers, thanks :)
badweather has joined #ruby-lang
fgomez has quit [Ping timeout: 244 seconds]
<Devanon> @Defusal My problem with Shoes is that I dont know how to use it :/ (Seems to be too easy, but I cant xD)
ironcamel has joined #ruby-lang
vaelen has quit [Remote host closed the connection]
ttilley is now known as ttilley_off
<moos3> why would a erb file one only do one .each when theres many ?
voker57 has quit [Remote host closed the connection]
vaelen has joined #ruby-lang
francisfish has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
CCD has quit [Remote host closed the connection]
<Devanon> @moos3 Maybe to be reused later? Not sure if "injecting" an erb inside other erb is possible…
diegoviola has joined #ruby-lang
<moos3> Devanon i have this erb file
<moos3> some reason only the first <% %> runs
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<Devanon> Ok, forget what I said, I did not understood you.
stamina has quit [Quit: Lost terminal]
Criztian has joined #ruby-lang
<Devanon> @moos3 If there is something wrong I cant find it
fserb has quit [Quit: ttyl]
fserb has joined #ruby-lang
fserb has quit [Client Quit]
francisfish has quit [Remote host closed the connection]
carloslopes has quit [Quit: Leaving]
badweather has quit [Remote host closed the connection]
westernanalog has joined #ruby-lang
ridders24 has quit [Quit: Leaving]
soahccc` is now known as soahccc
dfr|mac has quit [Remote host closed the connection]
fserb has joined #ruby-lang
vmatiyko has left #ruby-lang [#ruby-lang]
tjadc has joined #ruby-lang
qwerxy has joined #ruby-lang
westernanalog has quit [Quit: Leaving]
Harzilein_ has left #ruby-lang [#ruby-lang]
fserb has quit [Quit: ttyl]
workmad3 has joined #ruby-lang
<moos3> Devanon the .eachs after the first one dont run
fayimora has joined #ruby-lang
<outsmartin> moos3: you tried to inspect it with pry?
qpingu has joined #ruby-lang
molgrew has joined #ruby-lang
Devanon has quit [Quit: Devanon]
molgrew has quit [Client Quit]
soahccc is now known as soahccc`
canton7 has joined #ruby-lang
molgrew has joined #ruby-lang
jakko has quit [Remote host closed the connection]
<moos3> outsmartin no how do i do that
jakko has joined #ruby-lang
dfr|mac has joined #ruby-lang
Skif has joined #ruby-lang
molgrew has quit [Quit: leaving]
gsav has quit [Quit: Lost terminal]
jperry21 has quit [Quit: Leaving.]
akira989 has quit [Remote host closed the connection]
zmack has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
<outsmartin> is it a rails app?
<outsmartin> moos3:
<moos3> no
<moos3> its a stand-alone ruby script
<moos3> to build some configuration files
fgomez has joined #ruby-lang
<outsmartin> then i dont know exactly but you could start reading here: https://github.com/pry/pry/wiki/Runtime-invocation
<outsmartin> pry is prette awesome
<outsmartin> you can put it inside the erb and it will stop your script and give you a console
gsav has joined #ruby-lang
<asahi> I'm wondering why some ruby libraries are written in ruby and others are written in C?
benanne has joined #ruby-lang
brownies has joined #ruby-lang
brownies has quit [Changing host]
brownies has joined #ruby-lang
<mistym> asahi: Performance, or to interface with external C libraries.
akira989 has joined #ruby-lang
<Boohbah> asahi: because C is much faster than ruby
jaska has quit [Ping timeout: 245 seconds]
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 246 seconds]
<moos3> outsmartin txs
moos3 has quit [Quit: Computer has gone to sleep.]
jaska has joined #ruby-lang
rippa has quit [Ping timeout: 244 seconds]
yxhuvud has quit [Ping timeout: 244 seconds]
tjadc has quit [Read error: Connection reset by peer]
digitalbane has left #ruby-lang [#ruby-lang]
<asahi> I see. thanks
<apeiros_> sometimes also because of the memory footprint
<apeiros_> if you had an object per pixel, a 1 megapixel file would be at least 20MB in memory with ruby
<Defusal> has anyone here ever used zlib to deflate some json data, base64 encode it and then decode and inflate it in javascript? trying to decode the data in javascript with the browsers native js method results in INVALID_CHARACTER_ERR
<apeiros_> native js for gzip?
<apeiros_> s/gzip/deflate|inflate/
msaffitz has quit [Quit: Computer has gone to sleep.]
<Defusal> apeiros_, encoded = btoa("hello world"); "aGVsbG8gd29ybGQ="; atob(encoded); "hello world"
<Defusal> thats in my chrome console
<apeiros_> Defusal: that's base64, I was wondering over deflate/inflate
<Defusal> yeah, theres no native deflate functions exposed at this point apeiros_
<Defusal> but like i said, i get the error decoding the string, before i can try inflate it
<apeiros_> Defusal: ah
<apeiros_> Defusal: if you paste your input and output, I can try to reproduce
<Defusal> Base64.encode64(Zlib.deflate(json))
kvirani has joined #ruby-lang
<Defusal> atob(data['encoded'])
<Defusal> (im sending it over a websocket in this case, but that wouldn't make a difference)
<apeiros_> Base64 is deprecated. I think you're supposed to use pack/unpack instead.
<dominikh> deprecated :o Never saw that announcement
<Defusal> hmm, i missed that too
ryez has joined #ruby-lang
<apeiros_> seems atob doesn't like newlines
CCD has joined #ruby-lang
ruurd has quit [Ping timeout: 245 seconds]
jtoy has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
<apeiros_> Defusal, dominikh: I reread. Seems Base64's methods were on toplevel before and *those* are deprecated. my wrong, sorry :)
<dominikh> phew
<apeiros_> Defusal: as said, it seems all you have to do is remove newlines from the base64 output
dreieins has quit [Ping timeout: 244 seconds]
msaffitz has joined #ruby-lang
<Defusal> apeiros_, wouldn't that break the encoding?
<dominikh> nope
<apeiros_> Defusal: no
<apeiros_> newlines are purely optional
<Defusal> ah right
<apeiros_> in some contexts they are required
<apeiros_> the email rfc iirc mandates newlines after max. 72 chars or something
dreieins has joined #ruby-lang
<apeiros_> but it is somewhat unsettling that atob is unable to handle newlines in the data
hynkle has quit [Quit: hynkle]
<Defusal> indeed
<Defusal> also, inflate fails anyway
<Defusal> so something is screwed, maybe the inflate js lib, bleh
<apeiros_> I have a js inflate/deflate
<apeiros_> it was too slow for my purposes, though
<Defusal> i am trying this, as i could not find anything better, https://github.com/imaya/zlib.js/blob/master/bin/inflate.min.js
S1kx has quit [Quit: Leaving]
toretore has joined #ruby-lang
<Defusal> you were trying to inflate huge binary blobs?
<apeiros_> it's really a shame js does not expose native inflate/deflate, same for AES and other crypto methods
<Defusal> indeed :(
<apeiros_> define huge. a couple of KB.
<apeiros_> up to a single digit MB size
<Defusal> thats not too bad
<Defusal> that is what i am aiming for
spastorino has joined #ruby-lang
spastorino has left #ruby-lang [#ruby-lang]
<rue> Hooray
<Defusal> since i am sending large chunks of text logs over a websocket
Natch| has quit [Ping timeout: 248 seconds]
<apeiros_> same
<apeiros_> I didn't send it over a websocket, though
<apeiros_> (stupid IE is too late implementing that)
<Defusal> im sure inflating will be faster than sending huge amounts of data
<Defusal> ah yeah
<apeiros_> depends on the connection
<Defusal> i simply am not supporting IE with this platform
<Defusal> link me to that lib you tried if you can, i'll try it out when i get a chance, probably tomorrow
tommyvyo_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
workmad3 has quit [Ping timeout: 265 seconds]
<apeiros_> iirc the lib I used would be slower on my safari 5 the moment you got a 10Mb/s connection
<apeiros_> and that's pretty common here
<Defusal> it is surprising theres no "standard" zlib implementation that is optimized in js
<apeiros_> also on my machine. the slower the machine/js interpreter, the smaller the connection to still be faster un-deflated
<Defusal> zlib is pretty common
<apeiros_> yes, also it can be hardware accelerated…
<apeiros_> and I mean, goddamit, browser already DO deflate/inflate when communicating with servers…
<Defusal> yeah, well it should be, but theres no native functions exposed at this point :/
<apeiros_> that was the way I went btw.
<apeiros_> I sent the data gzipped with the header set
<Defusal> yeah, but not over websocket
<apeiros_> so the browser would unzip it
Natch| has joined #ruby-lang
<apeiros_> yupp, over websocket that doesn't work
<Defusal> i just wanted a solution till the websocket extension for zlib is supported by chrome and FF
<Defusal> since that could take a while
<apeiros_> oooh, that's comming?
hagabaka has quit [Read error: Connection reset by peer]
<Defusal> it is already in the spec
<apeiros_> *coming
<apeiros_> nice
skinny_much has joined #ruby-lang
<apeiros_> so binary and gzipped… those two are the things I wait for. now both is in the spec. nice.
<apeiros_> so just a matter of time.
<Defusal> yeah i am also waiting for binary
pvh has joined #ruby-lang
<apeiros_> my wish list for js is even bigger than that for ruby…
<Defusal> or mruby can just be implemented in the browser :P
<Defusal> hehe
<apeiros_> meh
<apeiros_> I'd prefer if they'd add <script type="llvm-bytecode" src="…">
hakunin has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 244 seconds]
hakunin has joined #ruby-lang
<apeiros_> afaik, llvm can be sandboxed nicely.
hakunin has quit [Remote host closed the connection]
<apeiros_> I could even live with <script type="jvm-bytecode" …> :)
hakunin has joined #ruby-lang
<rue> <script type="asm"
<rue> They already got platform detection down pretty well
gouthamvel has quit [Ping timeout: 244 seconds]
sailias has quit [Ping timeout: 240 seconds]
zmack has quit [Remote host closed the connection]
<apeiros_> ^^
mjb2k has joined #ruby-lang
Dreamer3 has joined #ruby-lang
<apeiros_> if you'd said that ~20y ago… "ASM? Script? What what what?!?"
<erikh> herp
<rue> Herpscript
<erikh> Javaderp
<rue> File extension .derp because obviously.
<erikh> node.herp
arooni-mobile has quit [Quit: Leaving]
Dreamer3 has quit [Read error: Connection reset by peer]
Dreamer3__ has joined #ruby-lang
fayimora has quit [Quit: Busy…..zzzzz]
<erikh> rue: what are you doing awake anyhow
<rue> It’s not very late
<rue> Or early
<erikh> ah
<erikh> my prescience of timezone offsets is really poor
<erikh> it's 2pm here
<erikh> which makes it about 10pm in london
<rue> It’s midnight
<rue> Though you can’t really tell, probably: http://www2.liikennevirasto.fi/alk/kelikamerat/kamera-C0159000.html
<erikh> oh wow
bglusman_ has joined #ruby-lang
<rue> Ah, here’s a better one. The actual lighting situation is somewhere between those two: http://finland.fi/public/default.aspx?nodeid=41819&contentlan=2&culture=en-US
msaffitz has quit [Quit: Computer has gone to sleep.]
wallerdev has quit [Quit: wallerdev]
bglusman has quit [Ping timeout: 244 seconds]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
andrewhl has quit [Remote host closed the connection]
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
skinny_much has quit [Remote host closed the connection]
fserb has joined #ruby-lang
lsegal` has joined #ruby-lang
S1kx has joined #ruby-lang
dgs has quit [Read error: Connection reset by peer]
dgs has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
lsegal` has quit []
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
workmad3 has joined #ruby-lang
AlHafoudh has quit [Quit: Computer has gone to sleep.]
mjb2k has left #ruby-lang [#ruby-lang]
AlHafoudh has joined #ruby-lang
fgomez has quit [Quit: leaving]
dreieins has quit [Ping timeout: 244 seconds]
sandbags has quit [Remote host closed the connection]
havenn has joined #ruby-lang
sailias has joined #ruby-lang
stamina has joined #ruby-lang
dreieins has joined #ruby-lang
asahi has left #ruby-lang [#ruby-lang]
fgomez has joined #ruby-lang
fserb has quit [Quit: ttyl]
fayimora has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
fayimora has quit [Client Quit]
dreieins has quit [Ping timeout: 244 seconds]
dv310p3r has quit [Ping timeout: 244 seconds]
tcopp has quit [Quit: Lost terminal]
gregf has quit [Quit: WeeChat 0.3.8]
fayimora has joined #ruby-lang
dreieins has joined #ruby-lang
slyphon is now known as slyphon_away
wmoxam has quit [Quit: leaving]
bglusman_ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 246 seconds]
neocoin has quit [Remote host closed the connection]
dreieins has quit [Ping timeout: 244 seconds]
tbuehlmann has quit []
msaffitz has joined #ruby-lang
sailias has quit [Quit: Leaving.]
DMKE has quit [Ping timeout: 244 seconds]
dreieins has joined #ruby-lang
erpuds has joined #ruby-lang
virunga has quit [Read error: Connection reset by peer]
gregf has joined #ruby-lang
yannis has quit [Ping timeout: 246 seconds]
havenn has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
dreieins has quit [Ping timeout: 252 seconds]
DMKE has joined #ruby-lang
fserb has joined #ruby-lang
fayimora has quit [Ping timeout: 244 seconds]
mistym has quit [Remote host closed the connection]
dreieins has joined #ruby-lang
qwerxy has quit [Quit: offski]
AlHafoudh has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
saLOUt has joined #ruby-lang
naz has joined #ruby-lang
dreieins has quit [Ping timeout: 244 seconds]
Hakon|mbp has quit [Quit: Leaving...]
qwerxy has joined #ruby-lang
outsmartin has quit [Quit: Leaving.]
qwerxy has quit [Client Quit]
dreieins has joined #ruby-lang
tintin has joined #ruby-lang
hahuang65 has joined #ruby-lang
<tintin> drbrain: hi
butchanton has quit [Quit: Leaving.]
<tintin> Can anyone tell me how to use ctags to jump from one function to another in ruby source code?
havenn has joined #ruby-lang
tintin has left #ruby-lang [#ruby-lang]
jakko has quit [Remote host closed the connection]
erpuds has quit [Quit: erpuds]
dfr|mac has quit [Remote host closed the connection]
chrismcg is now known as zz_chrismcg
outoftime has quit [Quit: Leaving]
kvirani has quit [Remote host closed the connection]
gsav has quit [Quit: Lost terminal]
srbartlett has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
gsav has joined #ruby-lang
srbartlett has joined #ruby-lang
S1kx has quit [Quit: Leaving]
threedaymonk has quit [Ping timeout: 252 seconds]
Caius has quit [Ping timeout: 252 seconds]
threedaymonk has joined #ruby-lang
CCD has quit [Ping timeout: 244 seconds]
qwerxy has joined #ruby-lang
Caius has joined #ruby-lang
slyphon_away is now known as slyphon
benanne has quit [Quit: kbai]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
qwerxy has quit [Quit: offski]
fserb has quit [Quit: ttyl]
<apeiros_> hrm… I'm torn… I'm writing a class that lets you import tabular data from various sources and coerce columns. I have a DSL for that which looks like: Importer.new do |t| t.column :created_at, Date end
<apeiros_> I'm a bit worried about the Date part, which states the coercion to use. I think I might paint myself into a corner
<apeiros_> e.g. what about t.column :mode, Integer - what when the mode is given in octal? or :uuid, Integer - of course the uuid is essentially an integer, but usually given in a hex-string…
<drbrain> apeiros_: optparse lets you register names and converters
<drbrain> it comes with default ones like Integer (base 10), Octal, Date, DateTime, etc.
<drbrain> and you can add your own
<apeiros_> drbrain: so it defines additional constants?
<drbrain> apeiros_: yes, but under then OptParse namespace (for Octal), IIRC
<drbrain> for built-in classes it re-uses them
<apeiros_> hm
<apeiros_> I pondered adding a :format => … option
<drbrain> so op.on("--count COUNT", Integer, ...
dgs has quit [Ping timeout: 244 seconds]
<apeiros_> would be more flexible. e.g. with dates, I wouldn't want to define a constant for every format out there…
<drbrain> you don't need to define a constant
<drbrain> any old object would work
dgs has joined #ruby-lang
<drbrain> when I don't have a constant I define my own with descriptive_name = Object.new
<drbrain> … so even a Symbol can work
<zenspider> omnifocus 2.1.1 released. rawr.
<apeiros_> zenspider: hm? you still work for omni? (still as in - I thought you changed jobs… maybe my memory plays tricks on me…)
<zenspider> no, I don't work for omni anymore. haven't for quite some time
toretore has quit [Quit: Leaving]
seanstickle has joined #ruby-lang
qpingu has left #ruby-lang [#ruby-lang]
fserb has joined #ruby-lang