apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
yfeldblum has quit [Ping timeout: 264 seconds]
SteveBenner09 has quit [Remote host closed the connection]
<ericwood> /quit
<ericwood> >> '/wiki' =~ /^\/wiki/
<eval-in> ericwood => 0 (https://eval.in/44896)
<ericwood> >> '/wasdfasdfiki' =~ /^\/wiki/
<eval-in> ericwood => nil (https://eval.in/44897)
<ericwood> :D
<ericwood> I guess he left by now then
_jpb_ has quit [Ping timeout: 264 seconds]
wmoxam has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
lfox has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
rickruby has joined #ruby-lang
rickruby has quit [Ping timeout: 264 seconds]
pipework has joined #ruby-lang
wmoxam has quit [Ping timeout: 246 seconds]
esad has joined #ruby-lang
lfox has quit [Ping timeout: 264 seconds]
cads has joined #ruby-lang
lfox has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
bungoman has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 246 seconds]
lfox has quit [Quit: ZZZzzz…]
wmoxam has joined #ruby-lang
ledestin has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
kith has quit [Ping timeout: 245 seconds]
jsullivandigs has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby-lang
infecto has quit [Ping timeout: 264 seconds]
VTLob has quit [Quit: VTLob]
vlad_starkov has quit [Ping timeout: 264 seconds]
fenicks has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
mdedetrich has joined #ruby-lang
joshuawscott has joined #ruby-lang
esad has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
killtheliterate is now known as killthe|afk
AndChat| has joined #ruby-lang
andbutsothen has joined #ruby-lang
duggiefresh has joined #ruby-lang
benanne has quit [Quit: kbai]
duggiefresh has quit [Client Quit]
joshuawscott has quit [Quit: Leaving.]
Xzyx987X_ has joined #ruby-lang
mmorga has joined #ruby-lang
davemaurakis has joined #ruby-lang
joshuawscott has joined #ruby-lang
Xzyx987X has quit [Ping timeout: 260 seconds]
wmoxam has quit [Ping timeout: 260 seconds]
Paradox has quit [Ping timeout: 245 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #ruby-lang
Paradox has joined #ruby-lang
Raynes has joined #ruby-lang
lfox has joined #ruby-lang
lfox has quit [Client Quit]
yxhuvud has quit [Quit: Nettalk6 - www.ntalk.de]
intellitech has joined #ruby-lang
davemaurakis has quit [Remote host closed the connection]
davemaurakis has joined #ruby-lang
Guest19324 has quit [Quit: No Ping reply in 180 seconds.]
tyler has joined #ruby-lang
tyler is now known as Guest66769
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
andbutsothen has quit [Quit: andbutsothen]
pkrnj has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
_Bravado_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
rwk1 has joined #ruby-lang
yfeldblum has joined #ruby-lang
rlb3 has quit [Ping timeout: 245 seconds]
rikai has quit [Read error: Connection reset by peer]
rikai has joined #ruby-lang
davemaur_ has joined #ruby-lang
davemaurakis has quit [Ping timeout: 240 seconds]
richardburton has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 240 seconds]
kirin` has quit [Ping timeout: 246 seconds]
duggiefresh has joined #ruby-lang
kirin` has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
ikrima has joined #ruby-lang
diegoviola has quit [Ping timeout: 240 seconds]
duggiefresh has quit [Quit: duggiefresh]
davemaur_ has quit [Remote host closed the connection]
duggiefresh_ has joined #ruby-lang
mdedetrich has joined #ruby-lang
postmodern has quit [Quit: Leaving]
duggiefresh_ has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
postmodern has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
Guest8264 has joined #ruby-lang
dvestal has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
Guest8264 is now known as diegoviola
Ch00k has joined #ruby-lang
poga has joined #ruby-lang
dvestal has left #ruby-lang [#ruby-lang]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
charliesome has joined #ruby-lang
<charliesome> whitequark: ping
<whitequark> charliesome: pong
<charliesome> whitequark: i'm playing with parse.y
<whitequark> don't hurt yourself
<charliesome> trying to add a new operator that can be both binary and unary
<charliesome> like -
<whitequark> need to disambiguate it in lexer
<charliesome> yeah trying to figure that part out
<whitequark> in expr_beg, do tUOPER, in other states do tOPER
<charliesome> ah ok
<whitequark> the fact that I can explain that from my memory makes me extremely sad.
<whitequark> btw, what for?
r0bby_ has joined #ruby-lang
<charliesome> i wanna get golang's <- operator in ruby for a laugh
robbyoconnor has quit [Ping timeout: 245 seconds]
<whitequark> oh, cool
<charliesome> why is the state the same in both examples?
<whitequark> dunno, perhaps a conflict with < ?
<whitequark> it's very stateful, perhaps it switches to expr_beg after <
<whitequark> not followed by =
<charliesome> oh shit
mdedetrich has joined #ruby-lang
<charliesome> you're right
<charliesome> cool it works :D
<whitequark> cool
<whitequark> but it doesn't work like go's channels I think
<whitequark> you also need select
<whitequark> or how it's called... thing to wait on several channels
<charliesome> what's go's syntax for that?
<charliesome> ah
<charliesome> yeah that's gonna be a pita
mistym has joined #ruby-lang
Raynes has left #ruby-lang ["Leaving"]
<whitequark> lolwait, go has goto
<charliesome> so does ruby ;)
<dominikh> Go has a sane goto :)
<whitequark> charliesome: not in official builds
<charliesome> fair point
<whitequark> dominikh: you do understand that ifs-whiles-etc are directly equivalent to goto?
<charliesome> whitequark: ruby has tail calls, does that count?
<whitequark> there's an algorithm to translate between both
<whitequark> charliesome: no, it's more restricted than goto
<charliesome> how so?
<dominikh> whitequark: your point being that your shocked expression was unjustified because they're equivalent?
<dominikh> whitequark: and yes, I'm not a moron.
<whitequark> dominikh: nevermind
<whitequark> not going to have a flamewar :)
<dominikh> if your arguments would only be good enough for a flamewar, yeah, I wouldn't bother ;)
rwk1 has quit [Remote host closed the connection]
<whitequark> >Pushed 90 commits to evilmartians/foundry Aug 18 - Aug 24
<whitequark> charliesome: hm, now that I think about it, it may count, sort of
<whitequark> tail calls when you also have return allow you to jump from any place
<charliesome> whitequark: i'm gonna go out and say that you can restructure any code using goto into a collection of functions that tail call each other
<charliesome> prove me wrong
<whitequark> charliesome: no, you are right, but you would *also* need to first expand any loops/conditionals into goto's.
<charliesome> sure
<whitequark> well, that was my original objection
<whitequark> of course code with just tail calls is equivalent to goto's, it's how cps works after all :)
<whitequark> I wonder if it's possible to keep some of structured control flow if you have `return'
<whitequark> perhaps all, and you'd need a tree of closures then?
<charliesome> return is simple
<whitequark> oh. no, that won't work.
<charliesome> just do what 1.8 did and throw an exception
<whitequark> 1.9 does this too for blocks
<charliesome> yeah
<charliesome> i wonder if there's even a way around that
<whitequark> no
<whitequark> it
<charliesome> actually
<whitequark> it's a longjmp, essentially
<charliesome> yeah
<charliesome> imagine you have some code
<charliesome> that calls a method, passes a block
<charliesome> the block returns
<charliesome> the method it called is written in C
<whitequark> did you know longjmp in C++ unwinds stack and frees shit allocated on it?
<charliesome> whitequark: seriously? that's pretty crazy
<whitequark> well, longjmp in C when it's linked with C++ code
<whitequark> yes
<charliesome> so i could understand a c++ version of longjmp calling dtors appropriately
<whitequark> read the Itanium C++ ABI specification
<charliesome> but how does the C version do it?
<whitequark> it's not a c++ version of longjmp
<charliesome> which is why i'm confused :p
<whitequark> it's a libc longjmp
<whitequark> when you jump, it unwinds the stack by reading dwarf exception handling tables
<charliesome> cool
<charliesome> if you're just doing pure c
<whitequark> you could stuff all sorts of shit there: C finalizers, C++ catch/finally statements, Ada exceptions
<whitequark> it's all compatible
<charliesome> nice
<charliesome> til
<whitequark> til what?
<whitequark> oh
<whitequark> TIL.
<whitequark> also yeah, C finalizers
<charliesome> c finalizers? TIL
<whitequark> I think they added them in C11
<charliesome> ah right
<charliesome> man i need to read up on C11
<whitequark> hm, can't find the reference
<whitequark> but I'm pretty sure that itanium abi made references to c finalizers or something
<whitequark> maybe it's an internal thing, not sure
<whitequark> no, can't find. don't count on me for this one, could be bullshit.
_Bravado_ has quit [Quit: _Bravado_]
rwk1 has joined #ruby-lang
<charliesome> :\
<charliesome> i guess i'll want EXPR_ARG as well?
<charliesome> or should i check for a space after the -
sush24 has joined #ruby-lang
richardburton has joined #ruby-lang
chinno998 has joined #ruby-lang
chinno998 has quit [Max SendQ exceeded]
chinno998 has joined #ruby-lang
<charliesome> ah I want IS_SPCARG(c)
rippa has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
<charliesome> https://gist.github.com/charliesome/6332145 sweet, it works
richardburton has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
fosky has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
musl has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
mistym has quit [Ping timeout: 240 seconds]
dik_dak has joined #ruby-lang
dik_dak has quit [Client Quit]
sush24 has quit [Ping timeout: 264 seconds]
rwk1 has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
dik_dak has joined #ruby-lang
dik_dak has quit [Client Quit]
mistym has joined #ruby-lang
Munster has quit [Read error: Connection reset by peer]
bizarrosandwich has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 260 seconds]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
heftig has quit [Quit: Quitting]
charliesome has joined #ruby-lang
richardburton has joined #ruby-lang
rwk1 has joined #ruby-lang
xxaM has joined #ruby-lang
ryez has joined #ruby-lang
GeissT has joined #ruby-lang
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
Munster has joined #ruby-lang
Munster has quit [Quit: Leaving...]
mdedetrich has joined #ruby-lang
mdedetrich has quit [Client Quit]
MartynKeigher has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MartynKeigher has joined #ruby-lang
vsevolod has joined #ruby-lang
nirix has quit [Quit: ZNC - http://znc.in]
charliesome has joined #ruby-lang
heftig has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
pipework has quit [Remote host closed the connection]
xxaM has quit [Remote host closed the connection]
thebastl has quit [Remote host closed the connection]
_Bravado_ has joined #ruby-lang
iliketur_ has joined #ruby-lang
iliketur_ has quit [Client Quit]
thebastl has joined #ruby-lang
chinno998 has quit [Quit: Leaving.]
io_syl has quit [Quit: io_syl]
heftig has quit [Ping timeout: 248 seconds]
heftig has joined #ruby-lang
rikai_ has joined #ruby-lang
rikai_ has quit [Read error: Connection reset by peer]
rikai has quit [Ping timeout: 246 seconds]
rikai has joined #ruby-lang
hhatch has joined #ruby-lang
rikai has quit [Read error: Connection reset by peer]
zeba has joined #ruby-lang
ikrima has joined #ruby-lang
vsevolod has quit [Ping timeout: 246 seconds]
phracker has quit [Ping timeout: 240 seconds]
srji has joined #ruby-lang
ssb123 has joined #ruby-lang
srji has quit [Client Quit]
workmad3 has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
r0bby_ is now known as robbyoconnor
zmike has joined #ruby-lang
ryez has quit [Ping timeout: 250 seconds]
zmike has quit [Ping timeout: 246 seconds]
Senjai has quit [Ping timeout: 264 seconds]
diegoviola has quit [Quit: WeeChat 0.4.1]
ssb123 has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
relix has joined #ruby-lang
mistym has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
rwk1 has joined #ruby-lang
mistym has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
zmike has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thebastl has quit [Remote host closed the connection]
relix has joined #ruby-lang
kith has joined #ruby-lang
ssb123 has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
VTLob has joined #ruby-lang
VTLob has quit [Ping timeout: 276 seconds]
zachlatta has joined #ruby-lang
hogeo has joined #ruby-lang
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
sedrickcz has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
sush24 has quit [Ping timeout: 240 seconds]
sush24_ has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
sedrickcz has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
levifig has joined #ruby-lang
anonymuse has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
lysw123 has joined #ruby-lang
lysw123 has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
barttenb_ has joined #ruby-lang
Aenigma has joined #ruby-lang
ssb123 has joined #ruby-lang
pskosinski has joined #ruby-lang
lysw123 has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
srwalker101 has joined #ruby-lang
chinno998 has joined #ruby-lang
mbj has joined #ruby-lang
rwk1 has quit [Ping timeout: 264 seconds]
sush24_ has quit [Quit: This computer has gone to sleep]
[epitron] has quit [Ping timeout: 260 seconds]
Kevin__ has joined #ruby-lang
[epitron] has joined #ruby-lang
kstuart1 has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
tocki has joined #ruby-lang
bizarrosandwich has quit [Ping timeout: 260 seconds]
AndChat| has quit [Ping timeout: 260 seconds]
Kevin__ has quit [Read error: Connection reset by peer]
hellome has quit [Ping timeout: 260 seconds]
_tockitj has quit [Ping timeout: 260 seconds]
kstuart has quit [Ping timeout: 260 seconds]
perry has quit [Ping timeout: 260 seconds]
chinno998 has quit [Write error: Broken pipe]
shame has quit [Ping timeout: 260 seconds]
shame has joined #ruby-lang
_Bravado_ has quit [Quit: _Bravado_]
perry has joined #ruby-lang
thebastl has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lysw123 has quit [Ping timeout: 240 seconds]
lysw123 has joined #ruby-lang
rwk1 has joined #ruby-lang
sush24 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sedrickcz has joined #ruby-lang
chinno998 has joined #ruby-lang
crudson has quit [Ping timeout: 264 seconds]
rwk1 has quit [Ping timeout: 264 seconds]
VTLob has joined #ruby-lang
ebouchut has joined #ruby-lang
sedrickcz has quit [Ping timeout: 260 seconds]
maxmanders has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
lysw123 has quit [Quit: lysw123]
anonymuse has quit [Remote host closed the connection]
flak has joined #ruby-lang
flak is now known as Guest85100
rwk1 has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Remote host closed the connection]
benanne has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
ebouchut has quit [Quit: This computer has gone to sleep]
leekiernan has joined #ruby-lang
zmike has quit [Ping timeout: 240 seconds]
judofyr has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ebouchut has joined #ruby-lang
nneko001__ has joined #ruby-lang
imperator has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
sush24 has quit [Ping timeout: 276 seconds]
MaddinXx_ has joined #ruby-lang
nneko001__ has quit [Quit: Konversation terminated!]
zmike has joined #ruby-lang
judofyr has quit [Ping timeout: 256 seconds]
bungoman has quit [Remote host closed the connection]
nneko001__ has joined #ruby-lang
judofyr has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
io_syl has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby-lang
thebastl_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
thebastl has quit [Ping timeout: 256 seconds]
rwk1 has joined #ruby-lang
rdg has joined #ruby-lang
wmoxam has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
leekiernan has quit [Ping timeout: 240 seconds]
mdedetrich has joined #ruby-lang
adambeynon has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
ebouchut has joined #ruby-lang
zmike has quit [Quit: ~]
tbuehlmann has joined #ruby-lang
nneko001__ has quit [Quit: Konversation terminated!]
tocki has quit [Ping timeout: 245 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
<zzak> hi
hogeo has quit [Remote host closed the connection]
barttenb_ has quit [Remote host closed the connection]
<apeiros> ho
<imperator> hey
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
thebastl_ has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 240 seconds]
mbj has joined #ruby-lang
tockitj has joined #ruby-lang
r0bby_ has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 264 seconds]
wmoxam has quit [Ping timeout: 276 seconds]
r0bby_ has quit [Ping timeout: 264 seconds]
meise has joined #ruby-lang
rdg has quit [Ping timeout: 260 seconds]
rdg_ has joined #ruby-lang
rdg_ has quit [Client Quit]
rwk1 has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
robbyoconnor has joined #ruby-lang
thebastl has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
SteveBenner09 has joined #ruby-lang
ledestin has quit [Read error: Connection reset by peer]
ledestin has joined #ruby-lang
momomomomo has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
yxhuvud has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti!]
rwk1 has joined #ruby-lang
SteveBenner09 has quit [Remote host closed the connection]
cirenyc has joined #ruby-lang
Guest85100 has quit [Read error: Connection reset by peer]
rservant has joined #ruby-lang
Guest85100 has joined #ruby-lang
leekiern_ has joined #ruby-lang
leekiern_ has quit [Client Quit]
joshuawscott has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
wallerdev has quit [Quit: wallerdev]
Ch00k has quit [Quit: Ch00k]
mbj has quit [Read error: Connection reset by peer]
barttenbrinke has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
nazty has joined #ruby-lang
hagebake has joined #ruby-lang
wnd_ has joined #ruby-lang
FlyingLeap_ has joined #ruby-lang
jwollert| has joined #ruby-lang
jroesch has quit [Ping timeout: 240 seconds]
jwollert has quit [Ping timeout: 240 seconds]
jarib has quit [Read error: Operation timed out]
mihar_ has quit [Write error: Broken pipe]
Silex has quit [Write error: Broken pipe]
hagabaka has quit [Read error: Operation timed out]
maloik has quit [Read error: Operation timed out]
ericwood has quit [Ping timeout: 240 seconds]
wnd has quit [Excess Flood]
kennyvb has quit [Read error: Operation timed out]
FlyingLeap has quit [Remote host closed the connection]
jwollert- has quit [Remote host closed the connection]
supyo has quit [Ping timeout: 240 seconds]
nignaztic has quit [Ping timeout: 240 seconds]
rebelcan has quit [Read error: Operation timed out]
kennyvb_ has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
maloik has joined #ruby-lang
jarib has joined #ruby-lang
jarib has quit [Changing host]
jarib has joined #ruby-lang
GeissT_ has joined #ruby-lang
rservant_ has joined #ruby-lang
rservant has quit [Write error: Connection reset by peer]
barttenbrinke has quit [Ping timeout: 284 seconds]
jroesch has joined #ruby-lang
mihar has joined #ruby-lang
GeissT has quit [Ping timeout: 268 seconds]
jwollert has joined #ruby-lang
Guedes0 has joined #ruby-lang
ericwood has joined #ruby-lang
rebelcan has joined #ruby-lang
Silex has joined #ruby-lang
supyo has joined #ruby-lang
chinno998 has quit [Quit: Leaving.]
vlad_starkov has joined #ruby-lang
Guest85100 has quit [Ping timeout: 248 seconds]
rippa has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
srwalker101 has quit [Quit: srwalker101]
judofyr has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
Nisstyre has quit [Read error: Connection reset by peer]
Nisstyre has joined #ruby-lang
relix has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
jxie has quit [Quit: leaving]
dhruvasagar has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
leekiern_ has joined #ruby-lang
barttenbrinke has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 246 seconds]
mbr has quit [Quit: reboot]
mdedetrich has quit [Quit: Computer has gone to sleep.]
richardburton has joined #ruby-lang
relix has joined #ruby-lang
vlad_starkov has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
mbr has joined #ruby-lang
hogeo has quit [Ping timeout: 248 seconds]
mbr has quit [Client Quit]
hogeo has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby-lang
mbr has joined #ruby-lang
hogeo_ has joined #ruby-lang
hogeo has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
ledestin has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby-lang
<whitequark> charliesome: congrats
<charliesome> whitequark: thanks
andbutsothen has joined #ruby-lang
<ddfreyne> How can you depend on prerelease gems?
<ddfreyne> Rubygems doesn't want to resolve the right version, it seems
<ddfreyne> So 4.0.0a1 does not match ~> 4.0. How do I get around that?
<whitequark> ddfreyne: >= 4.0.0a1 <5.0.0
<whitequark> something like that
<whitequark> look at what ~> normally expands to
vlad_starkov has joined #ruby-lang
GeissT_ has quit [Quit: MillBroChat AdIRC User]
barttenbrinke has joined #ruby-lang
nathanstitt has joined #ruby-lang
rservant_ has quit [Remote host closed the connection]
rservant has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
hogeo_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
barttenbrinke has quit [Ping timeout: 264 seconds]
rservant has quit [Ping timeout: 245 seconds]
nirix has joined #ruby-lang
andbutsothen has quit [Quit: andbutsothen]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hashkey has quit [Quit: Leaving]
charliesome has joined #ruby-lang
heftig has quit [Quit: Quitting]
andbutsothen has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
rippa has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jerrytgarcia has quit [Quit: Linkinus - http://linkinus.com]
andbutsothen has quit [Quit: andbutsothen]
jsullivandigs has joined #ruby-lang
jwoods has joined #ruby-lang
postmodern has quit [Quit: Leaving]
jwoods has quit [Read error: Connection reset by peer]
jwoods has joined #ruby-lang
andbutsothen has joined #ruby-lang
jwoods1 has joined #ruby-lang
andbutsothen has quit [Client Quit]
jwoods has quit [Ping timeout: 240 seconds]
andbutsothen has joined #ruby-lang
barttenbrinke has joined #ruby-lang
ledestin has quit [Quit: ledestin]
<darix> ddfreyne: isnt it something like :version => 4.0.0 :pre => a1
<darix> or so?
andbutsothen has quit [Client Quit]
jwoods1 has quit [Ping timeout: 246 seconds]
jwoods has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
barttenbrinke has quit [Ping timeout: 276 seconds]
<darix> ddfreyne: also ~> 4.0.0 not matching 4.0.0.a1 is correct imho :)
jwoods1 has joined #ruby-lang
jwoods has quit [Read error: Connection reset by peer]
jwoods1 has quit [Client Quit]
<darix> ddfreyne: how about using ~> 4.0.0.a0
hashkey has joined #ruby-lang
rwk1 has joined #ruby-lang
<ddfreyne> Yeah, that seems OK
rwk1 has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Remote host closed the connection]
heftig has joined #ruby-lang
esad has joined #ruby-lang
vlad_starkov has joined #ruby-lang
siberia has joined #ruby-lang
_Bravado_ has joined #ruby-lang
maxmanders has joined #ruby-lang
maxmanders has quit [Client Quit]
amerine has joined #ruby-lang
danielfriedman has joined #ruby-lang
leekiern_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danielfriedman has quit [Remote host closed the connection]
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 245 seconds]
capnmalarkey has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
capnmalarkey has quit [Remote host closed the connection]
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
barttenbrinke has joined #ruby-lang
ebouchut has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
barttenbrinke has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby-lang
rikai has joined #ruby-lang
poga has quit [Remote host closed the connection]
esad has joined #ruby-lang
mistym has joined #ruby-lang
volty has joined #ruby-lang
Ch00k has joined #ruby-lang
<volty> hi, can you suggest me how to format ruby source files in a format suitable to be converted for an e-reader?
dhruvasagar has quit [Ping timeout: 246 seconds]
hahuang65 has joined #ruby-lang
ffio has joined #ruby-lang
volty has quit [Quit: Konversation terminated!]
pskosinski has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
Ericx2x has joined #ruby-lang
pskosinski has joined #ruby-lang
naturtrunken has joined #ruby-lang
pskosinski has quit [Client Quit]
pskosinski has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
ebouchut has quit [Quit: This computer has gone to sleep]
poga has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
mmorga has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
atphalix has joined #ruby-lang
esad has joined #ruby-lang
barttenbrinke has joined #ruby-lang
tommylommykins has quit [Remote host closed the connection]
barttenbrinke has quit [Ping timeout: 246 seconds]
eeezkil has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
cirenyc has quit [Quit: Leaving...]
duggiefresh_ has joined #ruby-lang
flak has joined #ruby-lang
flak is now known as Guest80565
rippa has quit [Ping timeout: 248 seconds]
maxmanders has joined #ruby-lang
eeezkil has quit [Quit: Leaving.]
duggiefresh__ has joined #ruby-lang
naturtrunken has quit [Ping timeout: 264 seconds]
duggiefresh_ has quit [Ping timeout: 245 seconds]
tommylommykins has joined #ruby-lang
atphalix has quit [Quit: ChatZilla 0.9.90.1 [Iceweasel 17.0.8/20130807010024]]
naturtrunken has joined #ruby-lang
jxie has joined #ruby-lang
joshuawscott has joined #ruby-lang
benanne has quit [Read error: Connection reset by peer]
sedrickcz has joined #ruby-lang
Guest80565 has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
saarinen has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
cads has quit [Ping timeout: 246 seconds]
tomzx_mac has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 264 seconds]
naturtrunken has quit [Quit: naturtrunken]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
duggiefresh__ has quit [Quit: duggiefresh__]
havenwood has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
esad has joined #ruby-lang
relix has joined #ruby-lang
saarinen has quit [Quit: saarinen]
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
wallerdev has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
siberia has quit [Quit: siberia]
relix has joined #ruby-lang
benanne has joined #ruby-lang
<imperator> i guess volty left, but i would think just converting them to pdf format would work
Banistergalaxy has joined #ruby-lang
<drbrain> ~> 4.0.0.a0 is >= 4.0.0.a0, < 4.0.0.b
<drbrain> ddfreyne: ↑
<erikh> hello
<ljarvis> drbrain is too posh for a caret
<erikh> heh.
<drbrain> ☺
<erikh> I just imagine him
<erikh> when he gets a new laptop
<erikh> spending hours plugging the text replacements in
<ljarvis> :D
sedrickcz has quit [Remote host closed the connection]
<drbrain> I only have 18 extra
<ddfreyne> drbrain: thanks! ♥
<erikh> only
<erikh> heh
<ddfreyne> I have key bindings for a bunch of stuff. ↑↑↓↓←→←→BA
<ljarvis> :/
<ddfreyne> ∀∃
esad has quit [Quit: Computer has gone to sleep.]
<apeiros> ZOMG! why nothing happened?
wrseward has joined #ruby-lang
<ddfreyne> "Medium invites you to write"
<erikh> heh
<ddfreyne> I can be one of those hipster kids now, yo
<erikh> I will never be a cool kid
<ddfreyne> Coolness level: medium
<erikh> heh
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
ffio has quit [Ping timeout: 245 seconds]
ffio_ has joined #ruby-lang
ericwood has left #ruby-lang [#ruby-lang]
ericwood has joined #ruby-lang
ffio_ has quit [Client Quit]
ericwood has left #ruby-lang [#ruby-lang]
ericwood has joined #ruby-lang
esad has joined #ruby-lang
<ericwood> asdf
<ddfreyne> adsf is nicer
<ddfreyne> But I wrote it so I am biased.
<ljarvis> ddfreyne: it's a pretty nice writing interface
<ddfreyne> Mybe I should steal the idea and let it usen anoc
<ljarvis> heh
<ddfreyne> Maybe I should steal the idea and let it use nanoc
Ch00k has quit [Quit: Ch00k]
saarinen has joined #ruby-lang
ohsix has quit [Read error: Operation timed out]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zachlatta has quit [Ping timeout: 248 seconds]
imperator has quit [Quit: Valete!]
jsulliva_ has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
siberia has joined #ruby-lang
ssb123 has joined #ruby-lang
sedrickcz has joined #ruby-lang
saarinen has quit [Quit: saarinen]
_jpb_ has joined #ruby-lang
sedrickcz has quit [Ping timeout: 264 seconds]
relix has joined #ruby-lang
ridders24 has joined #ruby-lang
relix has quit [Client Quit]
hahuang65 has quit [Ping timeout: 245 seconds]
ohsix has joined #ruby-lang
leekiern_ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
<ridders24> hi guys, im trying to gsub the following: {"type"=>"Point", "coordinates"=>[-0.13717867, 51.50796523]}, ive used (/[^0-9.,]/, ""), however it leaves a comma at the beggining which i need to remove. I also need to swap the long and lat values around, how do I do this?
<lianj> JSON.load(string)
<lianj> eh .parse
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
<ridders24> thats already from a parsed result
<ridders24> thats whats returned
_jpb_ has quit [Ping timeout: 276 seconds]
joshuawscott has quit [Quit: Leaving.]
havenwood has quit [Remote host closed the connection]
<erikh> parse it with the json lib again?
<erikh> I guess I'm missing something. are you writing a json parser?
ssb123 has quit [Ping timeout: 245 seconds]
<erikh> can you show us a more formal example in a gist?
<ridders24> nope, just trying to get the long and lat value from that I pasted above, I'll have another go at parsing it again
<erikh> yeah, it's JSON.load(string)["coordinates"]
naturtrunken has joined #ruby-lang
<erikh> >> require 'json'; JSON.load('{"type"=>"Point", "coordinates"=>[-0.13717867, 51.50796523]}')["coordinates"]
<eval-in> erikh => (https://eval.in/45041)
<erikh> oh, it's not json
<erikh> herp
<lianj> oh rite
<erikh> >> require 'json'; eval('{"type"=>"Point", "coordinates"=>[-0.13717867, 51.50796523]}')["coordinates"]
<eval-in> erikh => (https://eval.in/45042)
<erikh> heh
<lianj> :|
<Mon_Ouie> You can't require 'json' on eval in, not sure why
<erikh> >> require 'json'; JSON.load('{"type"=>"Point", "coordinates"=>[-0.13717867, 51.50796523]}'.gsub(/=>/, ':'))["coordinates"]
<eval-in> erikh => (https://eval.in/45043)
<erikh> oh
<erikh> well that explains a bit
<matti> Anyone knows how to add documentation to an attribute in ext with RDoc?
<lianj> anyhow im sure he is getting a hash back and just thinks its a string because irb or puts showed him that output
<erikh> matti: :attr:
<erikh> lianj: probably true
<matti> erikh: Despite :nodoc: is still picks them up.
<erikh> anyhow, I should not be here and should be working
mbj has joined #ruby-lang
<Mon_Ouie> I'd think that but, he says he's calling #gsub on it and that it "leaves a comma at the beginning", not that it "crashes in a horrible way because of a NoMethodError"
<lianj> true
<erikh> >> eval('{"type"=>"Point", "coordinates"=>[-0.13717867, 51.50796523]}')["coordinates"]
<eval-in> erikh => [-0.13717867, 51.50796523] (https://eval.in/45044)
<erikh> not that you should actually do that, but that's probably the cleanest way
<lianj> yea, you must not do that
<lianj> was wondering why you even suggested it ;)
<erikh> anyhow, the point is you should not try to parse ruby
pkrnj has joined #ruby-lang
<lianj> ridders24: give us a gist example that includes from where you get that data
<ridders24> lianj: its from the twitter API
<ridders24> give me a sec
fosky has quit [Ping timeout: 246 seconds]
crankharder has quit [Remote host closed the connection]
arooni-mobile__ has joined #ruby-lang
<ridders24> lianj: https://gist.github.com/anonymous/6336517 tweet['geo'] is where that long and lat output came from
<ridders24> im trying to use google charts to map the geo results
<lianj> tweet['geo']['coordinates'] then
<ridders24> just testing it now
Forgetful_Lion has quit [Read error: Connection reset by peer]
<matti> erikh: How does one use it? RDoc documentation is somewhat not clear.
benanne has quit [Quit: kbai]
crankharder has joined #ruby-lang
crankharder has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
crankharder has joined #ruby-lang
esad has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rails_smith1 has quit [Ping timeout: 248 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
<ridders24> lianj: tweet['geo']['coordinates'] errors for me, and when I try tweet['geo''coordinates'] I get nothing
hahuang65 has quit [Ping timeout: 268 seconds]
naturtrunken has quit [Quit: naturtrunken]
vlad_starkov has quit [Remote host closed the connection]
andbutsothen has joined #ruby-lang
arooni-mobile__ has quit [Ping timeout: 246 seconds]
arooni-mobile has quit [Ping timeout: 256 seconds]
mistym has quit [Remote host closed the connection]
kirin` has quit [Ping timeout: 264 seconds]
mistym has joined #ruby-lang
kirin` has joined #ruby-lang
arooni-mobile has joined #ruby-lang
mistym has quit [Ping timeout: 268 seconds]
lsegal has joined #ruby-lang
ridders24 has quit [Ping timeout: 250 seconds]
jerrytgarcia has joined #ruby-lang
siberia has quit [Quit: siberia]
vjacob has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
apeiros has quit [Remote host closed the connection]
Senjai has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
hahuang65 has joined #ruby-lang
elia has joined #ruby-lang
LanceHaig has quit [Ping timeout: 268 seconds]
marr has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
hahuang65 has quit [Ping timeout: 264 seconds]
mdedetrich has joined #ruby-lang
joshuawscott has joined #ruby-lang
tomzx_mac_ has joined #ruby-lang
brianpWins has joined #ruby-lang
tomzx_mac has quit [Read error: Operation timed out]
VTLob has quit [Quit: VTLob]
hhatch has quit [Read error: Operation timed out]
erik__ has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
_Bravado_ has quit [Quit: _Bravado_]
jwoods has joined #ruby-lang
duggiefresh_ has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
jwoods1 has joined #ruby-lang
jwoods has quit [Read error: Connection reset by peer]
rwk1 has joined #ruby-lang
brianpWins has joined #ruby-lang
dRbiG has quit [Ping timeout: 240 seconds]
dRbiG has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
_Bravado_ has joined #ruby-lang
jwoods has joined #ruby-lang
jwoods1 has quit [Read error: Connection reset by peer]
mdedetrich has quit [Quit: Computer has gone to sleep.]
jwoods has quit [Ping timeout: 240 seconds]
joshuawscott has joined #ruby-lang
kstuart1 has quit [Quit: kstuart1]
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
zeba has quit [Remote host closed the connection]
x0f has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
mdedetrich has joined #ruby-lang
x0f_ has quit [Ping timeout: 240 seconds]