apeiros changed the topic of #ruby to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
Altonymous has quit [Quit: Altonymous]
tskogberg has quit [Ping timeout: 250 seconds]
tskogberg has joined #ruby
Altonymous has joined #ruby
st1gma has joined #ruby
cndiv has joined #ruby
chouchen has quit [Ping timeout: 260 seconds]
yokel has quit [Ping timeout: 260 seconds]
suzylee has joined #ruby
chouchen has joined #ruby
chouchen has quit [Max SendQ exceeded]
suzylee has left #ruby ["Leaving"]
chouchen has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
Hobogrammer has joined #ruby
klaut has quit [Remote host closed the connection]
j_mcnally has quit [Ping timeout: 272 seconds]
yokel has joined #ruby
omosoj has quit [Ping timeout: 244 seconds]
yokel has quit [Changing host]
yokel has joined #ruby
grzywacz has quit [Ping timeout: 260 seconds]
qualiabyte has joined #ruby
omosoj has joined #ruby
Spami has joined #ruby
aspires has quit []
Altonymous has quit [Quit: Altonymous]
aspires has joined #ruby
phone_ has quit [Ping timeout: 240 seconds]
robustus has quit [Ping timeout: 250 seconds]
omosoj has quit [Client Quit]
robustus has joined #ruby
t_p has quit [Quit: Computer has gone to sleep.]
Altonymous has joined #ruby
jespada has quit [Quit: Leaving]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
sepp2k1 has joined #ruby
jamz has quit []
boombadaroomba has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 244 seconds]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yokel has quit [Ping timeout: 245 seconds]
davasaur_ has quit [Remote host closed the connection]
yokel has joined #ruby
davasaurous has joined #ruby
dorei has quit []
davasaurous has quit [Remote host closed the connection]
zz_karupa is now known as karupa
tylersmith has quit [Remote host closed the connection]
goodenough has joined #ruby
Altonymous has quit [Quit: Altonymous]
oo_ has joined #ruby
DrShoggoth has joined #ruby
djstorm has joined #ruby
startupality has quit [Quit: startupality]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
skammer2 has joined #ruby
justinmburrous has joined #ruby
jherbst has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
jasooon has joined #ruby
danijoo has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
spastorino has quit [Quit: Connection closed for inactivity]
bobishh has joined #ruby
skammer2 has quit [Ping timeout: 246 seconds]
choke has joined #ruby
skolman_ has quit [Remote host closed the connection]
davasaurous has joined #ruby
jonmorehouse has joined #ruby
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skolman_ has joined #ruby
oo_ has quit [Ping timeout: 272 seconds]
djbkd has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
davispuh has quit [Ping timeout: 245 seconds]
bobishh has quit [Ping timeout: 260 seconds]
thagomizer has quit [Quit: Leaving.]
skolman_ has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
dx7 has joined #ruby
cndiv has quit [Ping timeout: 272 seconds]
sevvie has joined #ruby
tomeara has joined #ruby
rshetty has joined #ruby
bklane has quit [Remote host closed the connection]
bklane has joined #ruby
dx7_ has quit [Ping timeout: 260 seconds]
dx7 has quit [Ping timeout: 250 seconds]
jasooon has quit [Ping timeout: 260 seconds]
hypercube32 has quit [Read error: Connection reset by peer]
hypercube32 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
bklane has quit [Ping timeout: 246 seconds]
benlieb has quit [Quit: benlieb]
Scotteh has quit [Ping timeout: 246 seconds]
louism2wash has quit [Quit: This computer has gone to sleep]
djbkd has joined #ruby
DrShoggoth has quit [Quit: Leaving]
dte has quit [Remote host closed the connection]
evansbee has joined #ruby
echooo has joined #ruby
aspires has quit []
brandonshowers has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
tyll has quit [Ping timeout: 260 seconds]
bklane has joined #ruby
sevenseacat has joined #ruby
tyll has joined #ruby
crazydiamond has quit [Ping timeout: 260 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
EMoreth has quit [Ping timeout: 246 seconds]
armyriad has quit [Ping timeout: 250 seconds]
dte has joined #ruby
bklane has quit [Remote host closed the connection]
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
marr has quit [Ping timeout: 240 seconds]
bklane has joined #ruby
icarus has quit [Remote host closed the connection]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ereslibre has joined #ruby
cherwin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
troynt has quit [Remote host closed the connection]
almostworking has joined #ruby
almostworking has left #ruby [#ruby]
justinmburrous has quit [Remote host closed the connection]
neonixcoder has quit [Quit: Leaving.]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dte has quit [Ping timeout: 245 seconds]
bklane has quit [Ping timeout: 246 seconds]
jimmyhoughjr has joined #ruby
tkuchiki has quit [Remote host closed the connection]
chouchen has quit [Ping timeout: 244 seconds]
tokik has joined #ruby
chouchen has joined #ruby
weemsledeux has joined #ruby
chouchen has quit [Max SendQ exceeded]
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
<benzrf> !help
<helpa> I need somebody! !help. Not just anybody. !help. You know I need someone. !help
<benzrf> !dont hep
krisquigley has joined #ruby
Fun has joined #ruby
chouchen has joined #ruby
jonr2219 has joined #ruby
bricker`work has quit [Ping timeout: 244 seconds]
snath has quit [Ping timeout: 272 seconds]
agjacome has quit [Quit: leaving]
x77686d has quit [Quit: x77686d]
zorak8 has quit [Ping timeout: 272 seconds]
icebourg has joined #ruby
neonixcoder has joined #ruby
krisquigley has quit [Ping timeout: 260 seconds]
eka has joined #ruby
snath has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
neonixcoder has quit [Quit: Leaving.]
skolman has joined #ruby
xvq17 has quit [Ping timeout: 250 seconds]
aquatty has quit [Ping timeout: 260 seconds]
neonixcoder has joined #ruby
treehug88 has joined #ruby
aquatty has joined #ruby
deject3d has joined #ruby
xvq17 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Altonymous has joined #ruby
mpistone has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
dideler has quit [Ping timeout: 244 seconds]
tomeara has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
skolman__ has joined #ruby
tomeara has joined #ruby
msmith_ has joined #ruby
fabrice31 has joined #ruby
tkuchiki has joined #ruby
justinmburrous has joined #ruby
lampd1 has joined #ruby
crazydiamond has joined #ruby
aspires has joined #ruby
skolman has quit [Ping timeout: 250 seconds]
skammer2 has joined #ruby
devdazed has joined #ruby
jonr22 has quit [Remote host closed the connection]
zorak_ has joined #ruby
jonr22 has joined #ruby
skolman__ has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
mpistone has quit [Read error: Connection reset by peer]
fabrice31 has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
eduardordm has joined #ruby
bobishh has joined #ruby
lampd1 has quit [Ping timeout: 260 seconds]
yetanotherdave has quit [Ping timeout: 246 seconds]
skammer2 has quit [Ping timeout: 260 seconds]
cwron has joined #ruby
iliketurtles has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
threesixes has quit [Remote host closed the connection]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
timonv_ has joined #ruby
bobishh has quit [Ping timeout: 258 seconds]
mpistone has joined #ruby
Altonymous has quit [Quit: Altonymous]
iliketurtles has quit [Ping timeout: 258 seconds]
rkazak has quit [Ping timeout: 272 seconds]
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jonmorehouse has joined #ruby
davasaurous has quit [Remote host closed the connection]
mpistone has quit [Read error: Connection reset by peer]
timonv_ has quit [Ping timeout: 272 seconds]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylersmith has joined #ruby
mpistone has joined #ruby
abuzze has joined #ruby
justinmburrous has quit [Remote host closed the connection]
bricker`work has joined #ruby
michaeldeol has joined #ruby
brandonshowers has joined #ruby
hamakn has quit [Remote host closed the connection]
jherbst has quit [Ping timeout: 272 seconds]
hamakn has joined #ruby
aspires has quit []
romanparish has left #ruby [#ruby]
abuzze_ has quit [Ping timeout: 250 seconds]
evansbee has quit []
mastr_bennett[x] has joined #ruby
mastr_bennett[x] has quit [Client Quit]
mastr_bennett[x] has joined #ruby
hamakn has quit [Ping timeout: 244 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
benlieb has joined #ruby
mastr_bennett[x] has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Altonymous has joined #ruby
endash has quit [Quit: endash]
tyll_ has joined #ruby
iliketurtles has joined #ruby
djbkd has quit [Remote host closed the connection]
jasooon has joined #ruby
tyll has quit [Ping timeout: 244 seconds]
AtumT has quit [Remote host closed the connection]
moritzschaefer has quit [Remote host closed the connection]
cndiv has joined #ruby
wallerdev has quit [Quit: wallerdev]
jasooon has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
hamakn has joined #ruby
cocotton has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
dx7 has joined #ruby
lkba has joined #ruby
cocotton has quit [Remote host closed the connection]
Fezzler has joined #ruby
jasooon has joined #ruby
emmesswhy has joined #ruby
tlarevo has quit [Ping timeout: 272 seconds]
Altonymous has quit [Quit: Altonymous]
Takle has quit [Ping timeout: 260 seconds]
eduardordm has quit [Quit: eduardordm]
cwron has quit [Quit: cwron]
wjimenez5271 has quit [Remote host closed the connection]
ZaRDaK` has joined #ruby
wjimenez5271 has joined #ruby
Altonymous has joined #ruby
radic has quit [Disconnected by services]
cwron has joined #ruby
radic_ has joined #ruby
ZaRDaK has quit [Ping timeout: 240 seconds]
nfk has quit [Quit: yawn]
eduardordm has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wjimenez5271 has quit [Ping timeout: 245 seconds]
boombadaroomba has joined #ruby
krz has joined #ruby
rshetty has quit [Remote host closed the connection]
jonmorehouse has quit [Ping timeout: 260 seconds]
boombadaroomba has quit [Ping timeout: 244 seconds]
alvaro_o has quit [Quit: Ex-Chat]
codeFiend has quit [Ping timeout: 245 seconds]
Asher has quit [Quit: Leaving.]
Altonymous has quit [Quit: Altonymous]
rshetty has joined #ruby
durnik has joined #ruby
codeFiend has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
benlieb has quit [Quit: benlieb]
iliketurtles has quit [Quit: zzzzz…..]
djbkd has joined #ruby
cwron has quit [Quit: cwron]
jasooon has joined #ruby
jonr2219 has quit [Remote host closed the connection]
maletor has joined #ruby
voodoofish1 has quit [Quit: Leaving.]
jonmorehouse has joined #ruby
charliesome has joined #ruby
voodoofish has joined #ruby
_1_jose1912 has joined #ruby
aquatty has quit [Ping timeout: 240 seconds]
_1_jose1912 has left #ruby [#ruby]
xvq17 has quit [Ping timeout: 245 seconds]
djbkd has quit [Ping timeout: 246 seconds]
davasaurous has joined #ruby
skammer2 has joined #ruby
aquatty has joined #ruby
xvq17 has joined #ruby
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davasaurous has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
bryanculver has joined #ruby
davasaurous has joined #ruby
bobishh has joined #ruby
jasooon has quit [Ping timeout: 258 seconds]
jack_rabbit has quit [Remote host closed the connection]
brandonshowers has joined #ruby
skammer2 has quit [Ping timeout: 258 seconds]
jasooon has joined #ruby
Phrogz_ has joined #ruby
timonv_ has joined #ruby
Phrogz_ is now known as Phrogz
bobishh has quit [Ping timeout: 244 seconds]
eduardordm has left #ruby [#ruby]
mastr_bennett[x] has joined #ruby
timonv_ has quit [Ping timeout: 258 seconds]
deject3d has quit [Remote host closed the connection]
Vile` has quit [Remote host closed the connection]
deject3d has joined #ruby
jeanlinux has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
arescorpio has joined #ruby
jasooon has quit [Ping timeout: 258 seconds]
Vile` has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
dx7 has quit [Remote host closed the connection]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
pskosinski_ is now known as pskosinski
lw has joined #ruby
lw has quit [Max SendQ exceeded]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
havenwood has quit [Remote host closed the connection]
lw has joined #ruby
havenwood has joined #ruby
lw has quit [Max SendQ exceeded]
rshetty has quit [Remote host closed the connection]
lw has joined #ruby
rshetty has joined #ruby
danguita has quit [Remote host closed the connection]
mary5030 has joined #ruby
danguita has joined #ruby
wethu has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Cache_Money has joined #ruby
EMoreth has joined #ruby
havenwood has quit [Remote host closed the connection]
rshetty has quit [Ping timeout: 244 seconds]
<Phrogz> Pong?
slawrence00 has joined #ruby
dx7 has joined #ruby
krisquigley has joined #ruby
Fun has quit [Read error: Connection reset by peer]
mpistone has quit [Remote host closed the connection]
weemsledeux has joined #ruby
dkphenom has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
bigmac has joined #ruby
Phrogz has quit []
Phrogz has joined #ruby
Phrogz has joined #ruby
Phrogz has quit [Changing host]
Asher has joined #ruby
braincrash has quit [Quit: bye bye]
maletor has quit [Quit: Computer has gone to sleep.]
charliesome has quit [Quit: zzz]
krisquigley has quit [Ping timeout: 250 seconds]
treehug88 has quit []
patrick99e99 has quit [Ping timeout: 244 seconds]
aspires has joined #ruby
fandi has joined #ruby
benlakey has joined #ruby
braincrash has joined #ruby
neonixcoder has quit [Quit: Leaving.]
rubyonrailed has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
davedev24_ has quit []
aspires has quit []
iliketurtles has joined #ruby
rubyonrailed has joined #ruby
zorak_ has quit [Quit: Leaving]
techsethi has joined #ruby
zorak8 has joined #ruby
rshetty has joined #ruby
fabrice31 has joined #ruby
StephenA1 has joined #ruby
tylersmith has quit []
denaras has joined #ruby
justinmburrous has joined #ruby
rubyonrailed has quit [Remote host closed the connection]
StephenA1 has quit [Client Quit]
mary5030 has joined #ruby
djbkd has joined #ruby
EMoreth has quit [Quit: Lingo - http://www.lingoirc.com]
fabrice31 has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
x77686d has joined #ruby
benzrf is now known as benzrf|offline
x77686d has quit [Client Quit]
tomeara_ has joined #ruby
benzrf|offline is now known as benzrf
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
tomeara has quit [Ping timeout: 272 seconds]
AlexRussia has quit [Remote host closed the connection]
denaras has quit [Ping timeout: 240 seconds]
deject3d has quit [Quit: Computer has gone to sleep.]
AlexRussia has joined #ruby
rshetty has quit [Remote host closed the connection]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skolman_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
lampd1 has joined #ruby
maletor has joined #ruby
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skammer2 has joined #ruby
ta has quit [Remote host closed the connection]
freezey has joined #ruby
lampd1 has quit [Ping timeout: 246 seconds]
bobishh has joined #ruby
bricker`work has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
skammer2 has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
bobishh has quit [Ping timeout: 258 seconds]
neonixcoder has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
techsethi has quit [Quit: techsethi]
neoice has quit [Ping timeout: 240 seconds]
jasooon has joined #ruby
nettoweb has quit [Max SendQ exceeded]
skolma___ has joined #ruby
Scotteh has joined #ruby
skolman_ has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: This computer has gone to sleep]
nettoweb has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jasooon has quit [Ping timeout: 245 seconds]
Scotteh has quit [Ping timeout: 246 seconds]
iliketurtles has quit [Quit: zzzzz…..]
Fezzler has quit [Quit: Leaving]
jasooon has joined #ruby
dx7 has quit [Remote host closed the connection]
neoice has joined #ruby
dx7 has joined #ruby
gsd has joined #ruby
Phrogz has quit [Remote host closed the connection]
dx7 has quit [Ping timeout: 246 seconds]
tokik has quit [Ping timeout: 245 seconds]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
bricker`work has joined #ruby
nettoweb has quit [Max SendQ exceeded]
tomeara_ has quit [Quit: Computer has gone to sleep.]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
tomeara_ has joined #ruby
jasooon has quit [Ping timeout: 246 seconds]
deric_skibotn has quit [Ping timeout: 246 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
michaeldeol has joined #ruby
nettoweb has quit [Max SendQ exceeded]
bobishh has joined #ruby
echooo1 has joined #ruby
tomeara_ has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
aces1up9939 has joined #ruby
echooo has quit [Ping timeout: 260 seconds]
nettoweb has quit [Max SendQ exceeded]
jeanlinux has quit [Remote host closed the connection]
j_mcnally has joined #ruby
nettoweb has joined #ruby
oo_ has quit [Remote host closed the connection]
<aces1up9939> this is a weird question, but other than notepad and comments, is there any tools guys use when reading through a large package of code? for instance I'm trying to understand all the building blocks of some gems just for education purposes.
<aces1up9939> was wondering if there was a tool to help outline and note strucure blocks and flow etc..
oo_ has joined #ruby
bobishh has quit [Ping timeout: 258 seconds]
|\|370 has quit [Read error: Connection reset by peer]
tokik has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
arescorpio has quit [Excess Flood]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
benzrf is now known as benzrf|offline
benzrf|offline is now known as benzrf
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Cache_Money has joined #ruby
rshetty has joined #ruby
oo_ has quit [Remote host closed the connection]
nettoweb has joined #ruby
oo_ has joined #ruby
benzrf is now known as benzrf|offline
nettoweb has quit [Max SendQ exceeded]
<towski> I have a program in c that calls ruby_init using libruby
<towski> which runs fine on its own
nettoweb has joined #ruby
dh64 has quit [Quit: Konversation terminated!]
<towski> when I create a parent process and call fork then exec the libruby process
<towski> I get a segfault
nettoweb has quit [Max SendQ exceeded]
cephalostrum has quit [Ping timeout: 245 seconds]
bklane has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
cephalostrum has joined #ruby
oo_ has quit [Ping timeout: 272 seconds]
cwron has joined #ruby
bmurt has quit []
nettoweb has quit [Max SendQ exceeded]
ZaRDaK` has quit [Read error: Connection reset by peer]
Deele has joined #ruby
nettoweb has joined #ruby
<towski> why does it seem like fork is giving me a new thread
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
wethu has quit [Quit: This computer has gone to sleep]
msmith_ has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
jasooon has joined #ruby
<towski> it seems like I can exec regular ruby fine
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
koderok has joined #ruby
koderok has quit [Client Quit]
nettoweb has joined #ruby
<towski> although my libruby proc needed -lpthread for some reason
iiinzg has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
thomasxie has quit [Quit: Leaving.]
nettoweb has quit [Max SendQ exceeded]
freezey has quit [Remote host closed the connection]
kyb3r_ has joined #ruby
iiiinzg has quit [Ping timeout: 245 seconds]
skammer2 has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
jasooon has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
vinleod has joined #ruby
sevvie has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
skammer2 has quit [Ping timeout: 245 seconds]
timonv_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
bklane has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 245 seconds]
<towski> ah it works with the shared library
rshetty has quit [Remote host closed the connection]
wethu has joined #ruby
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
Macaveli has joined #ruby
neonixcoder has quit [Quit: Leaving.]
tewlz has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has joined #ruby
krisquigley has joined #ruby
davasaurous has quit []
neonixcoder has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
MaciejCzyzewski has quit [Client Quit]
nettoweb has quit [Max SendQ exceeded]
davasaurous has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
tewlz has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
krisquigley has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
MaciejCzyzewski has joined #ruby
nettoweb has quit [Max SendQ exceeded]
threesixes has joined #ruby
bMalum has quit [Quit: bMalum]
nettoweb has joined #ruby
jack_rabbit has joined #ruby
nettoweb has quit [Max SendQ exceeded]
AlexRussia has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
justinmburrous has quit [Remote host closed the connection]
koderok has joined #ruby
nettoweb has joined #ruby
koderok has quit [Client Quit]
justinmburrous has joined #ruby
bklane has joined #ruby
papal has quit [Ping timeout: 260 seconds]
oleo__ has joined #ruby
MaciejCzyzewski has quit [Ping timeout: 245 seconds]
bklane has quit [Remote host closed the connection]
RichardLitt has joined #ruby
agent_white has joined #ruby
oleo is now known as Guest87600
Sthebig has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
Guest87600 has quit [Ping timeout: 245 seconds]
michael_mbp has quit [Ping timeout: 260 seconds]
bklane has joined #ruby
monkeypatch has quit [Quit: Textual IRC Client: www.textualapp.com]
JaTochNietDan has quit [Ping timeout: 260 seconds]
Sammael has quit [Ping timeout: 260 seconds]
michael_mbp has joined #ruby
<agent_white> Evenin'
Mltdwn has joined #ruby
Channel6 has quit [Quit: Leaving]
patric100e99 has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
JaTochNietDan has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
Sthebig has joined #ruby
nettoweb has quit [Max SendQ exceeded]
goshdarnyou has quit [Quit: Connection closed for inactivity]
nettoweb has joined #ruby
tomeara_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
Macaveli has quit [Ping timeout: 244 seconds]
patric100e99 has quit [Ping timeout: 250 seconds]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
fabrice31 has joined #ruby
kenndel_ has quit [Read error: Connection reset by peer]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
kenndel_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
AudriusB has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Gunni has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
bobishh has joined #ruby
nettoweb has joined #ruby
Mltdwn has quit [Quit: Leaving]
nettoweb has quit [Max SendQ exceeded]
tomeara_ has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
fabrice31 has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
bklane has quit []
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
neonixcoder has quit [Quit: Leaving.]
nettoweb has quit [Max SendQ exceeded]
Soda has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
ghr has joined #ruby
davasaurous has quit [Remote host closed the connection]
bobishh has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
neonixcoder has joined #ruby
nettoweb has quit [Max SendQ exceeded]
justinmburrous has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
ghr has quit [Ping timeout: 240 seconds]
goodenough has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
lyuzashi has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
tlarevo has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
mary5030 has quit [Remote host closed the connection]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
pyx has joined #ruby
nettoweb has joined #ruby
pyx has quit [Client Quit]
nettoweb has quit [Max SendQ exceeded]
<pontiki> bundler question: after I install my gem into system-space (so it will be just like a regular cli program), i'm getting the following warning:
<pontiki> WARN: Unresolved specs during Gem::Specification.reset: activesupport (>= 0)
<pontiki> WARN: Clearing out unresolved specs.
sevvie has joined #ruby
crdpink2 has quit [Quit: q term]
nettoweb has joined #ruby
<sevenseacat> is just a warning.
pasties has quit [Ping timeout: 250 seconds]
<pontiki> i do have activesupport installed system-wide as well, so i'm not clear what's not working here. is it some proble with the gemspec for the gem?
<pontiki> it is just a warning
<pontiki> point is, it's annoying
wethu has quit [Quit: This computer has gone to sleep]
c107 has quit [Remote host closed the connection]
lampd1 has joined #ruby
neoxquick has quit [Read error: Connection reset by peer]
nettoweb has quit [Max SendQ exceeded]
skammer2 has joined #ruby
nettoweb has joined #ruby
cwron has quit [Quit: cwron]
nfk has joined #ruby
nettoweb has quit [Max SendQ exceeded]
x77686d has joined #ruby
nettoweb has joined #ruby
xcyclist has joined #ruby
codecop has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Sammael has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
lampd1 has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
iliketurtles has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
timonv_ has joined #ruby
neonixcoder has quit [Quit: Leaving.]
nettoweb has quit [Max SendQ exceeded]
x77686d has quit [Ping timeout: 244 seconds]
skammer2 has quit [Ping timeout: 272 seconds]
sevvie has quit [Quit: leaving]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
oleo__ has quit [Quit: Verlassend]
nettoweb has joined #ruby
lnormous has quit [Ping timeout: 250 seconds]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
sandelius has joined #ruby
gvenkat has joined #ruby
nettoweb has joined #ruby
Rx_o has joined #ruby
nettoweb has quit [Max SendQ exceeded]
timonv_ has quit [Ping timeout: 246 seconds]
nettoweb has joined #ruby
tagrudev has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
roolo has joined #ruby
nettoweb has joined #ruby
davasaurous has joined #ruby
nettoweb has quit [Max SendQ exceeded]
swiftkey has quit [Changing host]
swiftkey has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
davasaur_ has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
swiftkey has left #ruby ["Leaving"]
davasaurous has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
Rx_o has quit [Quit: (null)]
nettoweb has quit [Max SendQ exceeded]
wethu has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
pasties has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
abuzze has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
goodenough has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
neonixcoder has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 272 seconds]
<tagrudev> certainty, ping
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
oo_ has quit [Remote host closed the connection]
techsethi has joined #ruby
justinmb_ has joined #ruby
nettoweb has joined #ruby
oo_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
msmith_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
oo_ has joined #ruby
neonixcoder has quit [Client Quit]
nettoweb has quit [Max SendQ exceeded]
freezey has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
davasaur_ has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
_reset has joined #ruby
shredding has joined #ruby
msmith_ has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
freezey has quit [Ping timeout: 244 seconds]
nettoweb has quit [Max SendQ exceeded]
oo_ has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
oo_ has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
bal has joined #ruby
nettoweb has joined #ruby
Vile` has quit [Remote host closed the connection]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
narcan has joined #ruby
nettoweb has quit [Max SendQ exceeded]
reset has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
tomeara_ has joined #ruby
oo__ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_reset has quit [Ping timeout: 272 seconds]
oo_ has quit [Read error: Connection reset by peer]
Vile` has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
Vile` has quit [Remote host closed the connection]
nettoweb has quit [Max SendQ exceeded]
aganov has joined #ruby
bobishh has joined #ruby
shredding has quit [Quit: shredding]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
tomeara_ has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Vile` has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
anarang has joined #ruby
gvenkat has quit [Quit: Leaving]
nettoweb has quit [Max SendQ exceeded]
bobishh has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
lkba has quit [Read error: Connection reset by peer]
nettoweb has quit [Max SendQ exceeded]
lkba has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
boombadaroomba has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
AmBienCeD has quit []
nettoweb has quit [Max SendQ exceeded]
icebourg has quit []
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
zorak8 has quit [Ping timeout: 245 seconds]
starkhalo has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
JohnBat26 has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
boombadaroomba has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
User458764 has joined #ruby
nettoweb has joined #ruby
oo__ has quit [Remote host closed the connection]
nettoweb has quit [Max SendQ exceeded]
oo_ has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
fabrice31 has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
acck has joined #ruby
IceDragon has quit [Quit: Space~~~]
nettoweb has joined #ruby
dawkirst has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
jasooon has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nrsk has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
arup_r has joined #ruby
pothibo has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Axy has quit [Read error: Connection reset by peer]
bobishh has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
ndrei has joined #ruby
nettoweb has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
nettoweb has quit [Max SendQ exceeded]
skammer2 has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
krisquigley has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Mia has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
bobishh has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
rkazak has joined #ruby
nettoweb has quit [Max SendQ exceeded]
schaerli has joined #ruby
bricker`work has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
jacobat has joined #ruby
nettoweb has quit [Max SendQ exceeded]
skammer2 has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
krisquigley has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nfk has quit [Quit: yawn]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
nettoweb has quit [Max SendQ exceeded]
cndiv has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Cache_Money has quit [Quit: Cache_Money]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
nettoweb has joined #ruby
kyb3r_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
lyuzashi has quit [Quit: Lingo - http://www.lingoirc.com]
nettoweb has joined #ruby
tomeara_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
spicerack has joined #ruby
freezey has joined #ruby
nettoweb has quit [Max SendQ exceeded]
skolma___ has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
skolman has joined #ruby
<mozzarella> >> Math.sin(Math::PI)
<eval-in_> mozzarella => 1.2246063538223773e-16 (https://eval.in/203372)
ht__th has joined #ruby
<mozzarella> why is it not 0?
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<mozzarella> like, precisely 0
emocakes__ has quit []
nettoweb has joined #ruby
ki0 has joined #ruby
nettoweb has quit [Max SendQ exceeded]
ki0 has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
ki0 has joined #ruby
tomeara_ has quit [Ping timeout: 260 seconds]
noop has joined #ruby
nettoweb has quit [Max SendQ exceeded]
oo_ has quit [Remote host closed the connection]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
oo_ has joined #ruby
nettoweb has joined #ruby
doev has joined #ruby
klaut has joined #ruby
lampd1 has joined #ruby
oo_ has quit [Remote host closed the connection]
freezey has quit [Ping timeout: 260 seconds]
oo_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
lampd1 has quit [Client Quit]
nettoweb has quit [Max SendQ exceeded]
Gunni has joined #ruby
<tmoore> mozzarella: floating point precision error, I suppose
skolman has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
<tmoore> I get the same result from JavaScript
msmith_ has joined #ruby
<sevenseacat> floats, how do they work?
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<tmoore> oh it's because Math::PI is an approximation
<tmoore> which is about v8, not Ruby, but it would be the same logic I suppose
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
jack_rabbit has quit [Ping timeout: 258 seconds]
sqd has joined #ruby
emrox has joined #ruby
dangerousdave has joined #ruby
msmith_ has quit [Ping timeout: 258 seconds]
Takle has quit [Ping timeout: 272 seconds]
nettoweb has quit [Max SendQ exceeded]
andikr has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
cndiv has joined #ruby
nettoweb has joined #ruby
roolo has quit [Quit: Leaving...]
nettoweb has quit [Max SendQ exceeded]
agent_white has quit [Quit: bbl]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
aces1up9939 has quit [Ping timeout: 244 seconds]
nettoweb has joined #ruby
cndiv has quit [Client Quit]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
Takle has joined #ruby
abuzze has joined #ruby
nonmadden has joined #ruby
tomeara_ has joined #ruby
rshetty has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ghr has joined #ruby
mkaesz has joined #ruby
jonmorehouse has quit [Ping timeout: 260 seconds]
terlar has joined #ruby
tomeara_ has quit [Ping timeout: 250 seconds]
Vile` has quit [Ping timeout: 240 seconds]
Scotteh has joined #ruby
decoponio has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
skaflem has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Vile` has joined #ruby
nettoweb has joined #ruby
nonmadden has quit [Remote host closed the connection]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
Hobogrammer has quit [Ping timeout: 250 seconds]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
cu_ has joined #ruby
nettoweb has quit [Max SendQ exceeded]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
dawkirst has quit [Remote host closed the connection]
nettoweb has joined #ruby
dawkirst has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
ghr has joined #ruby
jasooon has joined #ruby
alex88 has joined #ruby
dawkirst has quit [Ping timeout: 272 seconds]
lolmaus has joined #ruby
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
ereslibre has joined #ruby
larsam has quit [Read error: Connection reset by peer]
livathinos has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
sandelius has joined #ruby
Vile` has quit [Ping timeout: 250 seconds]
nettoweb has quit [Max SendQ exceeded]
shredding has joined #ruby
skammer2 has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
Vile` has joined #ruby
Xeago has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
teotwaki has joined #ruby
nettoweb has quit [Max SendQ exceeded]
gnzh has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<teotwaki> Hi, is it appropriate to ask about grape/rack/unicorn/rspec integration issues here?
nettoweb has joined #ruby
skammer2 has quit [Ping timeout: 260 seconds]
nettoweb has quit [Max SendQ exceeded]
wethu has quit [Quit: This computer has gone to sleep]
<teotwaki> Actually, this one may be more of a bundler/Gemfile problem, and my lack of understanding of the include path.
nettoweb has joined #ruby
chthon has joined #ruby
nettoweb has quit [Max SendQ exceeded]
rshetty has joined #ruby
coderhs has joined #ruby
jhass|off is now known as jhass
coderhs has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
matchaw has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
bobishh has joined #ruby
nettoweb has quit [Max SendQ exceeded]
freezey has joined #ruby
nettoweb has joined #ruby
x77686d has joined #ruby
nettoweb has quit [Max SendQ exceeded]
xcyclist has quit [Ping timeout: 246 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
ki0 has quit [Remote host closed the connection]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
freezey has quit [Ping timeout: 258 seconds]
x77686d has quit [Ping timeout: 260 seconds]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Takle has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
RichardLitt has quit [Quit: RichardLitt]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
rkazak has left #ruby [#ruby]
francisfish has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Advocation has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
yfeldblum has joined #ruby
nettoweb has quit [Max SendQ exceeded]
yfeldblum has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
justinmb_ has quit [Remote host closed the connection]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
msmith_ has joined #ruby
nettoweb has joined #ruby
sprihodko has joined #ruby
nettoweb has quit [Max SendQ exceeded]
ki0 has joined #ruby
nettoweb has joined #ruby
ki0 has quit [Read error: Connection reset by peer]
ki0 has joined #ruby
danguita has quit [Ping timeout: 264 seconds]
nettoweb has quit [Max SendQ exceeded]
<sprihodko> Hi. Is there easy way to get element from hash by 2 or 3 etc? I am trying to get first 3 elements and put it to first array, than next 3 elements to second array and so on
maloik has quit [Quit: leaving]
ki0 has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
ki0 has joined #ruby
nettoweb has quit [Max SendQ exceeded]
msmith_ has quit [Ping timeout: 250 seconds]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
qba73 has joined #ruby
sdwrage_ has quit [Quit: Leaving]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
elaptics`away is now known as elaptics
Morkel has joined #ruby
wethu has joined #ruby
nettoweb has joined #ruby
HelperW has joined #ruby
sk87 has joined #ruby
roolo has joined #ruby
Takle has joined #ruby
AFKGeek has joined #ruby
Advocation has quit [Quit: Advocation]
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
javiferrer has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<bobishh> sprihodko: h.take 2 will give u 2 first elements
<bobishh> sprihodko: if h is a hash
Wolland has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
apeiros has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<sprihodko> bobishh: Thanks. And then i need to remove first 2 elements and get another 2?
nettoweb has joined #ruby
{xenomorph} is now known as xenomorph
tomeara_ has joined #ruby
<bobishh> sprihodko: so you can iterate write a while loop for example, and yeah, remove the 'head' and pack it in hashes of 2
grzywacz has joined #ruby
nettoweb has quit [Max SendQ exceeded]
danguita has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
kaspertidemann has joined #ruby
nettoweb has quit [Max SendQ exceeded]
oo_ has quit [Remote host closed the connection]
goodenough has quit [Remote host closed the connection]
startupality has joined #ruby
nettoweb has joined #ruby
oo_ has joined #ruby
ephemerian has joined #ruby
nettoweb has quit [Max SendQ exceeded]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
tomeara_ has quit [Ping timeout: 245 seconds]
<pontiki> how are you ordering your hash?
nettoweb has joined #ruby
skammer2 has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<bobishh> sprihodko: i just found a better way, you can iterate over it with each_slice
<apeiros> pontiki: .sort { … }.to_h or .sort_by { … }.to_h
Vile` has quit [Remote host closed the connection]
<bobishh> sprihodko: try this h.each_slice(2) { |a| puts "a: #{a}"; }
nettoweb has joined #ruby
<apeiros> #{a.inspect}
<Hanmac> apeiros: hm nettoweb has problems with "Max SendQ exceeded" ... should you do something about that?
<apeiros> ah well, Array#to_s these days is the same as #inspect I think, because too many were confused by the old one.
nettoweb has quit [Max SendQ exceeded]
govg has quit [Quit: leaving]
<sprihodko> bobishh: Really nice way! Thanks
<apeiros> Hanmac: I'll see. if it doesn't resolve itself within the next 5min, I'll redirect them.
nettoweb has joined #ruby
skammer2 has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
nettoweb has quit [Max SendQ exceeded]
<Hanmac> apeiros: he had that problem since > 3h
<apeiros> Hanmac: ok
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nonmadden has joined #ruby
dawkirst has joined #ruby
W0rmDr1nk has quit [Ping timeout: 244 seconds]
jasooon has joined #ruby
krisquigley has quit [Ping timeout: 240 seconds]
Xiti` has joined #ruby
dawkirst_ has joined #ruby
dawkirst has quit [Ping timeout: 245 seconds]
chouchen has quit [Ping timeout: 260 seconds]
kamil has joined #ruby
dangerousdave has joined #ruby
Takle_ has joined #ruby
zorak8 has joined #ruby
einarj has joined #ruby
startupality has quit [Quit: startupality]
arup_r has quit [Remote host closed the connection]
Xiti has quit [Ping timeout: 272 seconds]
Takle has quit [Read error: Connection reset by peer]
jasooon has quit [Ping timeout: 246 seconds]
startupality has joined #ruby
larsam has joined #ruby
Imofftopic has joined #ruby
dumdedum has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
swat2 has quit []
swat2 has joined #ruby
emocakes has joined #ruby
Scotteh has quit [Quit: Later, folks]
startupality has quit [Client Quit]
andrewlio has joined #ruby
startupality has joined #ruby
Imofftopic has quit [Client Quit]
ki0 has quit [Remote host closed the connection]
rdark has joined #ruby
swat2 has left #ruby [#ruby]
timonv_ has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
freezey has joined #ruby
oo_ has joined #ruby
joncol has joined #ruby
<joncol> What's a nice way of only doing something if an array is not empty? I don't like "if !.a.empty?" since it feels like double negation... What's the canonical way of checking this? With unless?
sevenseacat has quit [Quit: Leaving.]
<joncol> * "if !a.empty?"
freezey has quit [Ping timeout: 245 seconds]
<Xeago> unless a.empty?
<Xeago> with AS I think you can also do if a.present?
cajone has quit [Remote host closed the connection]
dumdedum has quit [Quit: foo]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dumdedum has joined #ruby
apeiros has quit [Remote host closed the connection]
Aaaal has joined #ruby
livathinos has quit []
apeiros has joined #ruby
Xiti` has quit [Quit: Leaving]
startupality has quit [Quit: startupality]
Takle_ has quit [Remote host closed the connection]
livathinos has joined #ruby
dangerousdave has joined #ruby
acck has quit [Quit: Textual IRC Client: www.textualapp.com]
_lazarevsky has joined #ruby
<_lazarevsky> morning all
<_lazarevsky> I was wondering whether I could get some help with an ActiveRecord query
qualiabyte has quit [Quit: Leaving]
apeiros has quit [Ping timeout: 260 seconds]
Alina-malina has quit [Ping timeout: 272 seconds]
<canton7> _lazarevsky, you'll probably get a better response in #rubyonrails
<canton7> we don't tend to use ActiveRecord in here
W0rmDr1nk has joined #ruby
Alina-malina has joined #ruby
joncol has left #ruby [#ruby]
Matix has joined #ruby
rshetty has quit [Remote host closed the connection]
Matip has quit [Read error: Connection reset by peer]
joncol has joined #ruby
mengu has joined #ruby
Takle has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
marr has joined #ruby
msmith_ has joined #ruby
chouchen has joined #ruby
chouchen has quit [Max SendQ exceeded]
krisquigley has joined #ruby
emrox has quit [Read error: Connection reset by peer]
krisquigley has quit [Client Quit]
emrox has joined #ruby
startupality has joined #ruby
oo_ has quit [Remote host closed the connection]
msmith_ has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
chouchen has joined #ruby
oo_ has joined #ruby
W0rmDr1nk has quit [Ping timeout: 272 seconds]
dte has joined #ruby
beseku has joined #ruby
joncol has quit [Quit: Lost terminal]
beseku has quit [Client Quit]
krisquigley has joined #ruby
startupality has quit [Quit: startupality]
rshetty has joined #ruby
oo_ has quit [Remote host closed the connection]
lolmaus has quit [Remote host closed the connection]
startupality has joined #ruby
lolmaus has joined #ruby
timonv_ has quit [Ping timeout: 240 seconds]
gnzh has quit [Ping timeout: 250 seconds]
chouchen has quit [Ping timeout: 244 seconds]
nouranology has joined #ruby
kyb3r_ has quit [Ping timeout: 244 seconds]
Spami has quit [Quit: This computer has gone to sleep]
ki0 has joined #ruby
joonty has joined #ruby
tomeara_ has joined #ruby
oo_ has joined #ruby
ktun has joined #ruby
Stalkr_ has joined #ruby
Stalkr_ has joined #ruby
arup_r has joined #ruby
Stalkr_ has quit [Client Quit]
zorak8 has quit [Ping timeout: 245 seconds]
thomasxie has joined #ruby
thsig has joined #ruby
mercwithamouth has joined #ruby
cherwin has joined #ruby
emrox has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomeara_ has quit [Ping timeout: 272 seconds]
techsethi has quit [Ping timeout: 250 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
qba73 has quit []
cocotton has joined #ruby
echooo has joined #ruby
echooo1 has quit [Ping timeout: 260 seconds]
cocotton has quit [Remote host closed the connection]
W0rmDr1nk has joined #ruby
emrox has joined #ruby
subraminion has joined #ruby
froggy__ has joined #ruby
Tricon_ has quit [Quit: Linkinus - http://linkinus.com]
Vile` has joined #ruby
monkeypatch has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
startupality has quit [Quit: startupality]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
froggy_ has quit [Ping timeout: 246 seconds]
doev has quit [Ping timeout: 260 seconds]
oo_ has quit [Read error: Connection reset by peer]
jasooon has joined #ruby
oo_ has joined #ruby
Spami has joined #ruby
Spami has quit [Client Quit]
tvw has joined #ruby
Spami has joined #ruby
decoponyo has joined #ruby
jasooon has quit [Ping timeout: 250 seconds]
decoponio has quit [Ping timeout: 245 seconds]
freezey has joined #ruby
freezey_ has joined #ruby
freezey has quit [Read error: Connection reset by peer]
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
<nrsk> Hi all! I try to parse csv file and have some problems with encoding. I use rchardet gem to detect encoding, it is ascii. I try to convert data to utf-8 with iconf gem, but still have wrong string. Here is gist: https://gist.github.com/anonymous/3021c812b86b6a36ffd9 I am new to ruby, need help)
mengu has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
sepp2k has joined #ruby
chouchen has joined #ruby
dangerousdave has joined #ruby
Lewix has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
freezey_ has quit [Ping timeout: 260 seconds]
kaspertidemann has quit []
timonv_ has joined #ruby
alem0lars has joined #ruby
narcan has joined #ruby
mikecmpbll has joined #ruby
kaspertidemann has joined #ruby
timonv_ has quit [Remote host closed the connection]
<Hanmac> nrsk first what is your ruby version? you might need to update to newer ruby.
<Hanmac> second iconf or iconv are deplicated because recent ruby can manage encoding itself ... rchardet i dont know, but mostly you should know the encoding of your csv files, with CSV.open you can set the encoding and it does automaticly convert
timonv_ has joined #ruby
kaspergrubbe has joined #ruby
karupa is now known as zz_karupa
Matix has quit [Quit: Leaving]
asklov has quit [Quit: Lost terminal]
Xiti has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
CaptainHeavy has joined #ruby
x77686d has joined #ruby
javiferrer has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
hamakn has joined #ruby
msmith_ has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
sqd has quit [Quit: sqd]
emrox has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaspergrubbe has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
fabrice31 has quit [Remote host closed the connection]
ta has joined #ruby
<nrsk> ruby version 2.1.3, I'll try CSV.open with encoding, thank you
wethu has quit [Quit: This computer has gone to sleep]
sj_ has quit [Ping timeout: 272 seconds]
msmith_ has quit [Ping timeout: 244 seconds]
mkaesz has quit [Ping timeout: 244 seconds]
pastry has left #ruby [#ruby]
pskosinski has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
cherwin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
startupality has joined #ruby
kristofferR has joined #ruby
skammer2 has joined #ruby
kedare has joined #ruby
papal has joined #ruby
startupality has quit [Client Quit]
kaspertidemann has quit []
fabrice31 has joined #ruby
tomeara_ has joined #ruby
kaspertidemann has joined #ruby
tomeara_ has quit [Ping timeout: 272 seconds]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jackneill has joined #ruby
sandelius has joined #ruby
pagios has joined #ruby
ta has quit [Ping timeout: 258 seconds]
ctp has joined #ruby
gtrak has joined #ruby
bluenemo has joined #ruby
roolo has quit [Remote host closed the connection]
roolo has joined #ruby
teddyp1cker has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
mijicd has joined #ruby
jasooon has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
sepp2k has joined #ruby
freezey has joined #ruby
zarubin has joined #ruby
mikecmpbll has joined #ruby
oo_ has quit [Remote host closed the connection]
roolo has quit [Ping timeout: 246 seconds]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
mengu has joined #ruby
jasooon has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Client Quit]
Xeago has quit [Remote host closed the connection]
freezey has quit [Ping timeout: 272 seconds]
timgauthier has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
nonmadden has quit [Remote host closed the connection]
datreh has joined #ruby
jespada has joined #ruby
kaspertidemann has quit []
arup_r has quit [Remote host closed the connection]
doodlehaus has joined #ruby
moritzschaefer has joined #ruby
Xeago has joined #ruby
timgauthier has quit [Read error: Connection reset by peer]
timgauthier has joined #ruby
startupality has joined #ruby
jds has joined #ruby
Takle has quit [Remote host closed the connection]
emrox has joined #ruby
Sylario has left #ruby [#ruby]
jimmyy has quit [Ping timeout: 245 seconds]
AlexRussia has joined #ruby
vinleod has quit [Quit: Computer has gone to sleep.]
mkaesz has joined #ruby
Takle has joined #ruby
jacobat has quit [Ping timeout: 246 seconds]
timgauthier has quit [Read error: Connection reset by peer]
sepp2k has quit [Quit: Leaving.]
AFKGeek has quit [Quit: Leaving]
koderok has joined #ruby
koderok has quit [Client Quit]
sepp2k has joined #ruby
<Xeago> My sinatra app uses thin as a web server and binds to localhost, how can I bind to 0.0.0.0?
timgauthier has joined #ruby
timgauthier has quit [Read error: Connection reset by peer]
<jhass> Xeago: thin -h should have an option
rshetty has quit [Remote host closed the connection]
datreh has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
msmith_ has joined #ruby
autonomousdev has joined #ruby
dideler has joined #ruby
jonr22 has joined #ruby
jacobat has joined #ruby
patric100e99 has joined #ruby
txdv_ has joined #ruby
msmith_ has quit [Ping timeout: 246 seconds]
emrox has quit [Remote host closed the connection]
davedev24_ has joined #ruby
patric100e99 has quit [Ping timeout: 260 seconds]
wethu has joined #ruby
arup_r has joined #ruby
acck has joined #ruby
ta has joined #ruby
Pupeno has joined #ruby
mastr_bennett[x] has joined #ruby
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fandi has quit [Read error: Connection reset by peer]
mastr_bennett[x] has quit [Client Quit]
krandi has joined #ruby
larissa has joined #ruby
andikr has quit [Ping timeout: 260 seconds]
tomeara_ has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
ctp has joined #ruby
ctp has quit [Client Quit]
tomeara_ has quit [Ping timeout: 250 seconds]
<Xeago> jhass: I don't start it as thin app
krz has quit [Quit: WeeChat 1.0.1]
sk87 has joined #ruby
doev has joined #ruby
timgauthier has joined #ruby
miyako has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluenemo has quit [Quit: Verlassend]
jasooon has joined #ruby
wethu has quit [Quit: This computer has gone to sleep]
ldnunes has joined #ruby
roolo has joined #ruby
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
cherwin has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
tlarevo has quit [Read error: Connection reset by peer]
tlarevo_ has joined #ruby
Takle has quit [Remote host closed the connection]
banister has joined #ruby
hellangel7 has joined #ruby
jasooon has quit [Ping timeout: 258 seconds]
rshetty has joined #ruby
cherwin has quit [Client Quit]
AlexRussia has quit [Remote host closed the connection]
wethu has joined #ruby
AlexRussia has joined #ruby
doodlehaus has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 246 seconds]
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
kaspertidemann has joined #ruby
kaspertidemann has quit [Max SendQ exceeded]
tkuchiki has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
cherwin has joined #ruby
krandi has quit [Ping timeout: 240 seconds]
cnj has quit [Ping timeout: 260 seconds]
Klumben has quit [Ping timeout: 260 seconds]
johnhamelink has quit [Ping timeout: 260 seconds]
dte has quit [Remote host closed the connection]
dte has joined #ruby
psy_ has quit [Ping timeout: 246 seconds]
govg has joined #ruby
Klumben has joined #ruby
johnhamelink has joined #ruby
cnj has joined #ruby
kalleth has quit [Ping timeout: 260 seconds]
kalleth has joined #ruby
MCDev has joined #ruby
bauruine has quit [Ping timeout: 260 seconds]
kenichi has quit [Ping timeout: 260 seconds]
kenichi has joined #ruby
cherwin has quit [Ping timeout: 272 seconds]
heftig has quit [Read error: Connection reset by peer]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
heftig has joined #ruby
tokik has quit [Ping timeout: 245 seconds]
bauruine has joined #ruby
wng_0 has joined #ruby
cherwin has joined #ruby
ta has quit [Ping timeout: 258 seconds]
wng_z3r0 has quit [Ping timeout: 246 seconds]
krisquigley has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 260 seconds]
krisquigley has joined #ruby
<AlexRussia> lol
<AlexRussia> i am too much blind :/
claymore has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
acck has quit [Quit: Textual IRC Client: www.textualapp.com]
ta has joined #ruby
LiohAu has left #ruby [#ruby]
jokke has quit [Ping timeout: 260 seconds]
krisquigley has quit [Ping timeout: 272 seconds]
alem0lars_ has joined #ruby
agjacome has joined #ruby
dangerousdave has joined #ruby
codecop has quit [Remote host closed the connection]
matled has quit [Remote host closed the connection]
matled has joined #ruby
msmith_ has joined #ruby
Squarepy has joined #ruby
jokke has joined #ruby
yfeldblum has joined #ruby
shredding has joined #ruby
yfeldblu_ has joined #ruby
deric_skibotn has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
msmith_ has quit [Ping timeout: 258 seconds]
narcan has joined #ruby
ta has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 245 seconds]
AFKGeek has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
yfeldblu_ has quit [Ping timeout: 245 seconds]
x77686d has joined #ruby
sqd has joined #ruby
spyderman4g63 has joined #ruby
t_p has joined #ruby
fsapo has joined #ruby
txdv__ has joined #ruby
snath has quit [Ping timeout: 245 seconds]
txdv_ has quit [Ping timeout: 260 seconds]
nonmadden has joined #ruby
x77686d has quit [Ping timeout: 258 seconds]
dangerousdave has quit [Read error: No route to host]
wsmoak has joined #ruby
cocotton has joined #ruby
shredding has quit [Quit: shredding]
tomeara_ has joined #ruby
maasha has joined #ruby
sk87 has joined #ruby
<maasha> Do we have a method to insert a value in a sorted array so it remains sorted?
cocotton has quit [Remote host closed the connection]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
hamakn has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
tomeara_ has quit [Ping timeout: 246 seconds]
cocotton has joined #ruby
gilr00y has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
aganov has quit [Quit: Leaving]
aganov has joined #ruby
Takle has joined #ruby
startupality has quit [Quit: startupality]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benzrf|offline is now known as benzrf
wethu has quit [Quit: This computer has gone to sleep]
jasooon has joined #ruby
dx7 has joined #ruby
geggam has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
jonr22 has quit [Remote host closed the connection]
bMalum has joined #ruby
jonr22 has joined #ruby
kaspertidemann has quit []
bMalum has quit [Client Quit]
gilr00y has joined #ruby
kaspertidemann has joined #ruby
jasooon has quit [Ping timeout: 244 seconds]
<mostlybadfly> Goooood morning
jonr22 has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
jottr has joined #ruby
lxsameer has quit [Quit: Leaving]
Suchit has joined #ruby
allcentury has joined #ruby
gtrak has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 272 seconds]
arup_r_ has joined #ruby
ep3static has joined #ruby
thomasxie has left #ruby [#ruby]
arup_r has quit [Ping timeout: 272 seconds]
freezey has joined #ruby
freezey has quit [Remote host closed the connection]
rshetty has quit [Remote host closed the connection]
freezey has joined #ruby
doev has quit [Quit: Verlassend]
Phrogz_ has joined #ruby
Phrogz_ is now known as Phrogz
timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
ndrei has quit [Ping timeout: 244 seconds]
rshetty has joined #ruby
geggam has quit [Ping timeout: 245 seconds]
himsin has joined #ruby
yalue has joined #ruby
tokik has joined #ruby
mijicd has quit [Quit: leaving]
sevenseacat has joined #ruby
shredding has joined #ruby
timgauthier has joined #ruby
timgauthier has quit [Max SendQ exceeded]
spyderman4g63 has quit [Ping timeout: 272 seconds]
bmurt has joined #ruby
AtumT has joined #ruby
ValicekB has joined #ruby
spyderman4g63 has joined #ruby
<sandelius> any one know how to check if a class has a initialize method?
dx7 has quit [Remote host closed the connection]
rshetty has quit [Remote host closed the connection]
weems|mac has joined #ruby
weems|mac has joined #ruby
tobago has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
yfeldblum has joined #ruby
Xeago has quit [Remote host closed the connection]
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
Suchit has quit [Quit: Computer has gone to sleep.]
krisquigley has joined #ruby
freezey_ has joined #ruby
Suchit has joined #ruby
<Phrogz> sandelius: Good question!
yfeldblum has quit [Ping timeout: 272 seconds]
patric100e99 has joined #ruby
lw has quit [Quit: s]
dblessing has joined #ruby
taptapdan has quit [Quit: taptapdan]
<tewlz> sandelius: all classes will call initialize implicitly unless you try to override the default behavior, I'm assuming you want to know if they've defined their own init on the class?
<Phrogz> sandelius: Out of curiosity: why do you want to find out?
kaspertidemann has quit []
robustus has quit [Ping timeout: 255 seconds]
e1senhorn has joined #ruby
jherbst has joined #ruby
freezey has quit [Ping timeout: 272 seconds]
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Suchit has quit [Ping timeout: 272 seconds]
krisquigley has quit [Ping timeout: 272 seconds]
<sandelius> tewlz that's correct
teddyp1cker has quit [Remote host closed the connection]
patric100e99 has quit [Ping timeout: 272 seconds]
robustus has joined #ruby
<sandelius> Phrogz I'm playing around with DI a la angular in ruby :)
teddyp1cker has joined #ruby
ep3static has quit [Quit: WeeChat 0.4.2]
tourne has joined #ruby
<sandelius> Now i call instance_method(:initialize) and rescue NameError. It works but aint pretty
Pupeno has quit [Remote host closed the connection]
tesaf has joined #ruby
autonomousdev has joined #ruby
shredding has quit [Quit: shredding]
Suchit has joined #ruby
Pupeno has joined #ruby
<sandelius> why you may ask? Because I can of course :)
<tewlz> nice, I was playing with .method(:initialize).owner with no luck
startupality has joined #ruby
Darryl has joined #ruby
teddyp1cker has quit [Ping timeout: 245 seconds]
jerius has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
andikr has joined #ruby
txdv__ is now known as txdv
ValicekB has quit [Ping timeout: 246 seconds]
Hanmac has joined #ruby
Phrogz has quit [Remote host closed the connection]
banister has joined #ruby
startupality has quit [Client Quit]
banister has quit [Max SendQ exceeded]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
AudriusB has quit [Ping timeout: 240 seconds]
cocotton has quit [Remote host closed the connection]
banister has joined #ruby
workmad3 has joined #ruby
tomeara_ has joined #ruby
twohlix has joined #ruby
qmfnp has joined #ruby
tobago has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
GPH|work has joined #ruby
Pupeno has joined #ruby
shredding has joined #ruby
Lewix has joined #ruby
msmith_ has joined #ruby
startupality has joined #ruby
geggam has joined #ruby
d4nku has joined #ruby
tomeara_ has quit [Ping timeout: 272 seconds]
cocotton has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
sqd has quit [Quit: sqd]
cpruitt has joined #ruby
cocotton has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
sk87 has joined #ruby
Xeago has joined #ruby
doodlehaus has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
djstorm has quit [Ping timeout: 272 seconds]
ValicekB has joined #ruby
jasooon has joined #ruby
ayaz has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
livathin_ has joined #ruby
narcan has joined #ruby
endash has joined #ruby
mkaesz has quit [Ping timeout: 250 seconds]
subraminion has quit [Quit: (null)]
govg has quit [Remote host closed the connection]
mary5030 has joined #ruby
banister has quit [Read error: Connection reset by peer]
jasooon has quit [Ping timeout: 272 seconds]
livathinos has quit [Ping timeout: 272 seconds]
banister has joined #ruby
sysTemz- has joined #ruby
banister has quit [Max SendQ exceeded]
MCDev has joined #ruby
h4pless has joined #ruby
bMalum has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
oleo has joined #ruby
narcan has quit [Ping timeout: 260 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
geggam has quit [Ping timeout: 260 seconds]
timgauthier has joined #ruby
benzrf is now known as benzrf|offline
ValicekB has quit [Ping timeout: 244 seconds]
crunk_bear has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<h4pless> not sure if this is a ruby or git question but i'm trying to build my first gem. the gemspec requires files using `git ls-files -z`.split("\x0") which works fine for the functional part of the app, but the issue is, it's completely ignoring the generated documentation. i have tried updating the git list with git add -A but the docs are consistently omitted from the list. what gives?
banister has joined #ruby
beef-wellington has joined #ruby
banister has quit [Max SendQ exceeded]
Suchit has quit [Quit: Computer has gone to sleep.]
tkuchiki has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Suchit has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
freerobby has quit [Quit: Leaving.]
banister has joined #ruby
snath has joined #ruby
mkaesz has joined #ruby
bMalum has quit [Quit: bMalum]
mleone has joined #ruby
Suchit has quit [Ping timeout: 258 seconds]
zarubin has quit [Remote host closed the connection]
vito1 has joined #ruby
zarubin has joined #ruby
mskaesz has joined #ruby
devdazed has joined #ruby
oo_ has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
ValicekB has joined #ruby
old_black has joined #ruby
lw has joined #ruby
<st1gma> do you have a .gitignore file?
old_black has left #ruby ["Leaving"]
bMalum has joined #ruby
old_black has joined #ruby
arup_r_ has quit []
BinaJr has joined #ruby
<ericwood> I have three .gitignore files
sysTemz- has quit [Quit: oooooh]
<st1gma> that was for h4pless. Did you also have a similar problem ericwood?
d2dchat has joined #ruby
sysTemz- has joined #ruby
mskaesz has quit [Ping timeout: 245 seconds]
cocotton has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<canton7> he's over in #git being helped btw
cocotton_ has joined #ruby
<h4pless> st1gma, hey sorry... yeah it ended up being a git ignore issue
cocotton_ has quit [Remote host closed the connection]
cocotton has joined #ruby
BinaJr has quit [Client Quit]
emocakes has quit []
enebo has joined #ruby
mkaesz has joined #ruby
cocotton has quit [Remote host closed the connection]
coderdad has joined #ruby
cherwin has quit [Ping timeout: 245 seconds]
tomeara_ has joined #ruby
ndrei has joined #ruby
Timmee has joined #ruby
p0sixpscl has joined #ruby
mdw has joined #ruby
rshetty has joined #ruby
bMalum has quit [Quit: bMalum]
endash has quit [Quit: endash]
sailias has joined #ruby
monkeypatch has joined #ruby
zorak8 has joined #ruby
attamusc has joined #ruby
ndrei has quit [Read error: No route to host]
naztharune has joined #ruby
freezey_ has quit [Remote host closed the connection]
dx7 has joined #ruby
sprihodko has quit [Quit: Lingo - http://www.lingoirc.com]
endash has joined #ruby
monkeypatch has quit [Client Quit]
Kricir has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leizzer has joined #ruby
nouranology has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
tlarevo_ has quit [Remote host closed the connection]
tlarevo has joined #ruby
lnormous has joined #ruby
mkaesz has quit [Ping timeout: 245 seconds]
mkaesz has joined #ruby
freezey has joined #ruby
pygospa has quit [Remote host closed the connection]
freerobby has joined #ruby
dx7 has quit [Remote host closed the connection]
ffranz has joined #ruby
mskaesz has joined #ruby
dx7 has joined #ruby
tlarevo has quit [Ping timeout: 272 seconds]
sysTemz- has quit [Quit: oooooh]
jacobat has quit [Ping timeout: 244 seconds]
mkaesz has quit [Ping timeout: 246 seconds]
sysTemz- has joined #ruby
devdazed has quit [Ping timeout: 246 seconds]
Takle has quit [Remote host closed the connection]
gtrak has joined #ruby
skammer2 has quit [Ping timeout: 260 seconds]
tewlz has quit [Quit: WeeChat 1.0]
tewlz has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
treehug88 has joined #ruby
IceDragon has joined #ruby
vito1 has quit []
x77686d has joined #ruby
nouranology has joined #ruby
bMalum has joined #ruby
devdazed has joined #ruby
tagrudev has quit [Remote host closed the connection]
monkeypatch has joined #ruby
mengu has quit [Remote host closed the connection]
ffranz has quit [Ping timeout: 240 seconds]
dr_toboggan has quit [Ping timeout: 250 seconds]
andrewlio has quit [Quit: Leaving.]
twohlix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
Timmee has quit [Quit: Lingo - http://www.lingoirc.com]
ffranz has joined #ruby
x77686d has quit [Ping timeout: 250 seconds]
t_p has quit [Read error: Connection reset by peer]
rpage has joined #ruby
nonmadden has quit [Remote host closed the connection]
hellangel7 has quit [Read error: Connection reset by peer]
gtrak has quit [Remote host closed the connection]
<rpage> hello all, QQ! when writting ruby scripts. what is the reason for "requires 'rubygem'"
stunder has quit [Quit: Screw you guys I'm going home]
sysTemz- has quit [Remote host closed the connection]
sqd has joined #ruby
ryanleesipes has joined #ruby
Pumukel has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
hasitha has joined #ruby
cocotton has joined #ruby
GPH|work has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
<suy> rpage: newbie here, but I think it was needed on versions previous to 1.9 to make use of libraries managed by rubygems
schaerli has quit [Remote host closed the connection]
lnormous has quit [Ping timeout: 250 seconds]
jasooon has joined #ruby
<rpage> i am running ruby 2.0.0p481 for mac is it required?
<p0sixpscl> nah its not required but I'd recommend it. at least uby 2.0.0
sevenseacat has quit [Remote host closed the connection]
twohlix has joined #ruby
<rpage> ok thanks
dvabr has quit [Ping timeout: 258 seconds]
GPH|work has joined #ruby
ktun has quit [Quit: Textual IRC Client: www.textualapp.com]
<rpage> is there a print command i can use to display available method/fucntion
<rpage> like for 'net/ssh'
dr_toboggan has joined #ruby
claw has joined #ruby
meatherly has joined #ruby
oo_ has quit [Ping timeout: 258 seconds]
FifthWall has quit [Ping timeout: 258 seconds]
Vile` has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
<pontiki> morning, rubyists
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
jasooon has quit [Ping timeout: 272 seconds]
FifthWall has joined #ruby
phutchins has joined #ruby
cocotton has joined #ruby
paulfm has joined #ruby
dvabr has joined #ruby
deric_skibotn has quit [Ping timeout: 260 seconds]
iamjarvo has joined #ruby
<suy> rpage: a command for displaying a library's methods? You normally can use "inspect". But better check the documentation, no? There could be several classes, or something.
d2dchat has quit [Remote host closed the connection]
cajone has joined #ruby
<rpage> how you use inspect
Vile` has joined #ruby
Scotteh has joined #ruby
cocotton_ has joined #ruby
ehlovader has quit [Ping timeout: 258 seconds]
lektrik has joined #ruby
ehlovader has joined #ruby
<suy> rpage: sorry, I meant "methods".
<suy> >> String.methods
<eval-in_> suy => [:try_convert, :allocate, :new, :superclass, :freeze, :===, :==, :<=>, :<, :<=, :>, :>=, :to_s, :inspect, :included_modules, :include?, :name, :ancestors, :instance_methods, :public_instance_methods, : ... (https://eval.in/203660)
coderdad has quit [Remote host closed the connection]
<rpage> awesome
<rpage> thanks
<workmad3> >> String.methods(false)
<eval-in_> workmad3 => [:try_convert] (https://eval.in/203663)
AlexRussia has quit [Remote host closed the connection]
<workmad3> the false stops display of inherited methods, iirc
kenneth has joined #ruby
<rpage> got it
taptapdan has joined #ruby
AlexRussia has joined #ruby
cocotton has quit [Ping timeout: 245 seconds]
<rpage> i did require 'rubygems'
goodenough has joined #ruby
mary5030 has joined #ruby
<rpage> rubygems.methods dont work
<rpage> how can i display for libraries i imported
coderdad has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
coderdad has quit [Remote host closed the connection]
banister has joined #ruby
coderdad has joined #ruby
kamil has quit [Quit: Leaving...]
aspiers has quit [Ping timeout: 260 seconds]
Xeago has quit [Remote host closed the connection]
rkalfane has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
weemsledeux has quit [Remote host closed the connection]
meatherly has left #ruby [#ruby]
teddyp1cker has joined #ruby
hasitha has quit [Ping timeout: 258 seconds]
<suy> rpage: you imported the libraries that you required through "require".
thsig has quit [Remote host closed the connection]
cocotton_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
last_staff has quit [Quit: Run, Forrest]
thsig has joined #ruby
<Hanmac> rpage, hm you cant, you can compare between before and after, but you cant ask what a require did add
cocotton has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fsapo has quit [Remote host closed the connection]
thsig_ has joined #ruby
thsig has quit [Read error: Connection reset by peer]
meatherly has joined #ruby
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
dr_toboggan has quit [Ping timeout: 272 seconds]
kotk has joined #ruby
cocotton has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 250 seconds]
kotk_ has quit [Ping timeout: 245 seconds]
krisquigley has joined #ruby
meatherly is now known as meatherlya
maasha has quit [Ping timeout: 246 seconds]
lw has quit [Quit: s]
yfeldblum has quit [Ping timeout: 258 seconds]
g0bl1n has joined #ruby
bal has quit [Quit: bal]
mskaesz has quit [Remote host closed the connection]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
iamjarvo has joined #ruby
abuzze has quit [Remote host closed the connection]
bal has joined #ruby
<rpage> this seem to work
<rpage> require 'net/ssh'
nouranology has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0.3/20140924083558]]
<rpage> ssh = Net:SSH
<rpage> ssh.methods
dr_toboggan has joined #ruby
cr3 has joined #ruby
krisquigley has quit [Ping timeout: 260 seconds]
abuzze has joined #ruby
bal has quit [Client Quit]
gsd has joined #ruby
<cr3> in my Gemfile, I have "gem 'foo', :path => '/path/to/foo'" but when I try to "require 'foo'", I get a LoadError. do I need to add /path/to/foo somewhere in my ENV?
aganov has quit [Quit: Leaving]
<workmad3> cr3: did you require bundler before trying to require the gem?
alem0lars_ has quit [Quit: AFK..]
<cr3> workmad3: aha, that must be it! thanks, I'll give that a try
timgauthier is now known as timgauthier_isaw
meatherlya is now known as meatherly
<workmad3> cr3: this is where 'bundle exec' also comes in handy btw ;)
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<workmad3> cr3: as that sets the RUBYOPTS environment variable to load bundler
Ankhers has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
zorak8 has quit [Ping timeout: 246 seconds]
<cr3> workmad3: yeah, I noticed that in documentation but never put one and one together :)
lnormous has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
<workmad3> cr3: I think that requires 'bundler/setup' btw
<workmad3> cr3: which, iirc, sets up the load path according to your Gemfile and unloads the rest of rubygems afterwards
MCDev has joined #ruby
tkuchiki has quit [Remote host closed the connection]
cocotton has joined #ruby
<cr3> workmad3: this is weird, I require 'bundler/setup' before require 'foo' and I run my app with bundle exec, but I still get a LoadError.
c107 has joined #ruby
lw has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<workmad3> cr3: ok... what's the LoadError say?
<meatherly> I have a gem question. I'm trying to make a gem that requires Rails. In my code i'm reading the database.yml file. How do I write my tests for my gem if I don't have a rails app in my gem?
rpage has quit [Quit: Leaving]
nonmadden has joined #ruby
<workmad3> meatherly: usually when you're dealing with rails engines or plugins, you have an embedded 'dummy' app that you can use to write tests
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
<cr3> workmad3: `require': cannot load such file -- foo (LoadError), would you like me to pastebin the trace?
<workmad3> cr3: please
sysTemz- has joined #ruby
<meatherly> any good ideas on doing that or examples?
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<workmad3> meatherly: a) please don't cross-post without warning, it's kinda rude and different channels end up answering the same thing with the same info
<workmad3> meatherly: b) take a look at the rails engines guide
<meatherly> ... sorry
<meatherly> I'll take that advice
<workmad3> cr3: drats, can't see anything obvious there
<workmad3> cr3: how about if you try it in an irb console? 'bundle exec irb' and then require 'foo'
coderdad_ has joined #ruby
<workmad3> cr3: sometimes that can reveal more useful info...
abuzze has quit [Remote host closed the connection]
geggam has joined #ruby
momomomomo has joined #ruby
lw has quit [Client Quit]
<workmad3> cr3: it doesn't look like the error is because the file isn't found though... it looks more like the file can't be loaded due to some other internal error
deric_skibotn has joined #ruby
AFKGeek has quit [Quit: Leaving]
kaspergrubbe has joined #ruby
iamjarvo has joined #ruby
abuzze has joined #ruby
geggam has quit [Max SendQ exceeded]
weemsledeux has quit [Read error: Connection reset by peer]
coderdad_ has quit [Read error: Connection reset by peer]
<cr3> workmad3: crap, I think I know! in my Gemfile, I only install the gem if ENV['FOO_DIR'] is defined, so that I know what to pass to :path
<cr3> workmad3: so, if I understand correctly, I probably need to keep ENV['FOO_DIR'] when running my app
coderdad has quit [Ping timeout: 260 seconds]
txdv has quit [Ping timeout: 246 seconds]
cocotton has quit [Remote host closed the connection]
livathin_ has quit [Remote host closed the connection]
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
dol37_ has joined #ruby
coderdad has joined #ruby
noop has quit [Ping timeout: 244 seconds]
dte has quit [Remote host closed the connection]
coderdad has quit [Remote host closed the connection]
sk87 has joined #ruby
<cr3> workmad3: yep, that was it, my mistake... as always :)
<workmad3> cr3: correct :)
abuzze has quit [Ping timeout: 272 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> cr3: may make sense to throw an error from the Gemfile if FOO_DIR isn't defined
skolman_ has joined #ruby
dte_ has joined #ruby
alem0lars_ has joined #ruby
Altonymous has joined #ruby
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
chthon has quit [Ping timeout: 260 seconds]
pskosinski has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HelperW has quit [Quit: Lingo - http://www.lingoirc.com]
nonmadden has quit [Remote host closed the connection]
c107 has quit [Remote host closed the connection]
D9 has joined #ruby
weemsledeux has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
timgauthier has joined #ruby
timgauthier has quit [Max SendQ exceeded]
exile-bot-6 has joined #ruby
rshetty has quit [Ping timeout: 272 seconds]
g0bl1n has quit [Quit: g0bl1n]
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
rdark has quit [Ping timeout: 272 seconds]
aspires has joined #ruby
skolman_ has quit [Remote host closed the connection]
timgauthier has joined #ruby
skolman has joined #ruby
h4pless has quit [Quit: Leaving]
dte_ has quit [Remote host closed the connection]
spastorino has joined #ruby
Darryl has quit [Quit: Connection closed for inactivity]
JohnBat26 has quit [Ping timeout: 260 seconds]
Pupeno has quit [Remote host closed the connection]
kenneth has quit [Read error: Connection reset by peer]
LangeOortjes has joined #ruby
kenneth has joined #ruby
Pupeno has joined #ruby
jasooon has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
schaerli has joined #ruby
txdv has joined #ruby
AlexRussia has joined #ruby
rdark has joined #ruby
skolman has quit [Ping timeout: 272 seconds]
xrlabs has joined #ruby
chthon has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
larissa has quit [Quit: Leaving]
jasooon has quit [Ping timeout: 260 seconds]
<vircung> \quit
havenwood has joined #ruby
freezey has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
bentanweihao has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
fabrice31 has joined #ruby
exile-bot-6 has quit [Remote host closed the connection]
nonmadden has joined #ruby
banister has joined #ruby
tokik has quit [Ping timeout: 272 seconds]
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
andrewlio has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
exile-bot-13 has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
Jarboe has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
txdv has quit [Ping timeout: 245 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
brendenb has quit [Ping timeout: 272 seconds]
cocotton has joined #ruby
rshetty has joined #ruby
banister has joined #ruby
schaerli has quit [Remote host closed the connection]
banister has quit [Max SendQ exceeded]
codeFiend has quit [Quit: codeFiend]
banister has joined #ruby
Takle has joined #ruby
banister has quit [Max SendQ exceeded]
terlar has quit [Ping timeout: 240 seconds]
goodenough has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
dte has joined #ruby
banister has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
centrx has joined #ruby
gsd has joined #ruby
dte has quit [Remote host closed the connection]
banister has quit [Max SendQ exceeded]
eduardordm has joined #ruby
banister has joined #ruby
momomomomo has quit [Quit: momomomomo]
banister has quit [Max SendQ exceeded]
multi_io has joined #ruby
p0sixpscl has quit [Quit: bye]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ephemerian has quit [Quit: Leaving.]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
exile-bot-13 has quit [Remote host closed the connection]
anarang has quit [Quit: Leaving]
dumdedum has quit [Quit: foo]
lw has joined #ruby
banister has joined #ruby
bentanweihao has quit [Read error: Connection reset by peer]
banister has quit [Max SendQ exceeded]
bentanweihao has joined #ruby
rdark has quit [Quit: leaving]
banister has joined #ruby
rdark has joined #ruby
banister has quit [Max SendQ exceeded]
multi_io_ has quit [Ping timeout: 245 seconds]
lw has quit [Client Quit]
mityaz has quit [Quit: Leaving]
bentanweihao has quit [Client Quit]
emmesswhy has joined #ruby
banister has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
banister has quit [Max SendQ exceeded]
doodlehaus has quit [Remote host closed the connection]
banister has joined #ruby
CorySimmons has joined #ruby
banister has quit [Max SendQ exceeded]
Scotteh_ has joined #ruby
banister has joined #ruby
rainman has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
banister has quit [Max SendQ exceeded]
rainman is now known as statusquo
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<statusquo> Hi
freezey has joined #ruby
Sawbones has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
aspires has quit []
geggam has joined #ruby
spyderman4g63 has quit [Ping timeout: 260 seconds]
Scotteh has quit [Ping timeout: 246 seconds]
<statusquo> I am trying to run an array and replacement like the following but I cannot manage make it working
<statusquo> %w{file1."#{environment}".txt file2."#{environment}".txt}.each do |file|
banister has joined #ruby
banister has quit [Max SendQ exceeded]
mikeg has joined #ruby
<statusquo> variable environment has been previously defined
nonmadden has quit [Remote host closed the connection]
starkhalo has joined #ruby
<statusquo> is it possible to do anything like that?
banister has joined #ruby
sk87 has joined #ruby
Takle has quit []
lbwski has joined #ruby
startupality has quit [Quit: startupality]
CorySimmons has quit [Quit: Zzz...]
aspires has joined #ruby
gustav_ has joined #ruby
startupality has joined #ruby
mpistone has joined #ruby
weemsledeux has quit [Read error: Connection reset by peer]
d4nku has quit [Remote host closed the connection]
Takle has joined #ruby
icarus has joined #ruby
<havenwood> >> environment = "trees"; 1.upto(Float::INFINITY).lazy.map { |n| "file#{n}#{environment}.txt" }.take(5).to_a
<eval-in_> havenwood => ["file1trees.txt", "file2trees.txt", "file3trees.txt", "file4trees.txt", "file5trees.txt"] (https://eval.in/203679)
chthon has quit [Ping timeout: 260 seconds]
microdex has joined #ruby
<havenwood> statusquo: not with %w
deric_skibotn has quit [Ping timeout: 245 seconds]
<microdex> what is the "p" in Ruby2.0.0-p540
<microdex> ?
<havenwood> microdex: patch, though it's not in the Ruby name any longer
<kaspergrubbe> patch level
<microdex> not in ruby name any longer ?
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> >> RUBY_PATCHLEVEL
<eval-in_> havenwood => 242 (https://eval.in/203680)
<statusquo> thanks very much havenwood
<havenwood> microdex: they switched to semantic versioning, so ruby-2.1.3 is patchlevel 242 but it's not in the name
startupality has quit [Ping timeout: 245 seconds]
aspires has quit [Client Quit]
<havenwood> microdex: when 2.0 is end-of-lifed, there'll be no more patchlevels in Ruby version names
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
<havenwood> Feb 2016?
rkalfane has joined #ruby
alem0lars_ has quit [Quit: alem0lars_]
gustav_ is now known as largus
manzo has joined #ruby
kaspertidemann has joined #ruby
ereslibre has joined #ruby
ereslibre has joined #ruby
aspires has joined #ruby
codecop has joined #ruby
dte has joined #ruby
sqd has quit [Quit: sqd]
Hobogrammer has joined #ruby
dorei has joined #ruby
sk87 has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
statusquo has quit []
lbwski has quit [Ping timeout: 260 seconds]
<epitron> >> Float::INFINITY.times.lazy.take 5
<eval-in_> epitron => undefined method `times' for Infinity:Float (NoMethodError) ... (https://eval.in/203683)
cocotton has quit [Ping timeout: 240 seconds]
<epitron> ah, that's why you did it that way
leizzer has quit [Ping timeout: 246 seconds]
aspires has quit []
stunder has joined #ruby
chthon has joined #ruby
parduse has quit [Ping timeout: 245 seconds]
shredding has quit [Quit: shredding]
skolman_ has joined #ruby
lbwski has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
lw has joined #ruby
deject3d has joined #ruby
CorySimmons has joined #ruby
aspires has joined #ruby
jimmyhoughjr has joined #ruby
kotk_ has joined #ruby
parduse has joined #ruby
<gregf_> >> Float.constants
<eval-in_> gregf_ => [:ROUNDS, :RADIX, :MANT_DIG, :DIG, :MIN_EXP, :MAX_EXP, :MIN_10_EXP, :MAX_10_EXP, :MIN, :MAX, :EPSILON, :INFINITY, :NAN] (https://eval.in/203684)
<centrx> >> Float::EPSILON * Float::INFINITY
<eval-in_> centrx => Infinity (https://eval.in/203685)
<havenwood> >> 1.upto(Float::NAN).take 3
<eval-in_> havenwood => [1, 2, 3] (https://eval.in/203686)
maletor has joined #ruby
<dorei> >> 1.upto(Float::NAN).size
<eval-in_> dorei => NaN (FloatDomainError) ... (https://eval.in/203687)
<havenwood> >> 3.downto(Float::NAN).take 3
<eval-in_> havenwood => [3, 2, 1] (https://eval.in/203688)
AlexRussia has quit [Ping timeout: 258 seconds]
thoraxe has joined #ruby
lw has quit [Client Quit]
kotk has quit [Ping timeout: 250 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<thoraxe> maybe i'm thinking about this the wrong way, is there a way to remove an item from an enumerable? I'm working with the Amazon Ruby SDK
Pupeno has quit [Remote host closed the connection]
<dorei> >> Float::INFINITY / Float::INFINITY
<eval-in_> dorei => NaN (https://eval.in/203689)
<dorei> >> Float::INFINITY / Float::NaN
<eval-in_> dorei => uninitialized constant Float::NaN (NameError) ... (https://eval.in/203690)
Pupeno has joined #ruby
<dorei> >> Float::INFINITY / Float::NAN
<eval-in_> dorei => NaN (https://eval.in/203691)
Photism has joined #ruby
<centrx> thoraxe, How are you thinking about it?
<havenwood> thoraxe: any code to gist?
rippa has joined #ruby
<dorei> >> Float::INFINITY / Float::NAN == Float::NAN
<eval-in_> dorei => false (https://eval.in/203692)
Altonymous has quit [Quit: Altonymous]
<havenwood> thoraxe: so you don't want to #reject or #delete_if because it's infinite or very large?
<dorei> >> Float::NAN == Float::NAN
<eval-in_> dorei => false (https://eval.in/203693)
microdex has quit [Remote host closed the connection]
Altonymous has joined #ruby
<havenwood> thoraxe: did you mean from an Enumerator?
wjimenez5271 has joined #ruby
CaptainHeavy has quit [Remote host closed the connection]
<havenwood> thoraxe: Enumerator includes Enumerable just Array, Hash, Range and Struct do.
bryanculver has quit [Quit: Connection closed for inactivity]
gregf has joined #ruby
sailias has quit [Quit: Leaving.]
hellangel7 has joined #ruby
deject3d has quit [Quit: Computer has gone to sleep.]
<havenwood> just like*
sailias has joined #ruby
sk87 has joined #ruby
vimer has joined #ruby
Darryl has joined #ruby
<havenwood> and Enumerator::Lazy by way of Enumerator
Scotteh__ has joined #ruby
chthon has quit [Ping timeout: 272 seconds]
michaeldeol has joined #ruby
<thoraxe> well, when you ask the aws sdk for a list of your instances (EC2.instances) you get back an InstanceCollection
Kricir has quit [Remote host closed the connection]
<thoraxe> and there are some instances that are "known" to me, so i want to remove them from the collection that i get back
<thoraxe> so that i don't mess with those
<vimer> Hi all
<havenwood> hi
<vimer> What is channel for rails
sk87 has quit [Client Quit]
<thoraxe> vimer: #rubyonrails
<vimer> aha, I think I need to identified to services
<thoraxe> and then operate on the remaining instances in the collection
jasooon has joined #ruby
Kricir has joined #ruby
<thoraxe> havenwood: haven't tried #reject
<thoraxe> #remove didn't seem to exist
leizzer has joined #ruby
schaerli has joined #ruby
carraroj has joined #ruby
t_mmyv has joined #ruby
Scotteh_ has quit [Ping timeout: 246 seconds]
brendenb has joined #ruby
grzywacz has quit [Ping timeout: 245 seconds]
Kricir has quit [Read error: No route to host]
Kricir has joined #ruby
x77686d has joined #ruby
D9 has quit [Ping timeout: 260 seconds]
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
iamjarvo has joined #ruby
dangerousdave has joined #ruby
jhc76 has quit [Remote host closed the connection]
<havenwood> thoraxe: Enumerable is a good one to learn all the methods of!
jasooon has quit [Ping timeout: 260 seconds]
AlexRussia has joined #ruby
<havenwood> thoraxe: There available in lots of places and quite useful when you need them.
benlieb has joined #ruby
patrick99e99 has joined #ruby
aspiers has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
koderok has joined #ruby
icebourg has joined #ruby
matchaw has quit [Ping timeout: 272 seconds]
cocotton has joined #ruby
<gregf_> >> known = [1,2,3]; ec2s = [*0..5]; p ec2s.reject { |ec2| known.include?ec2 }
<eval-in_> gregf_ => [0, 4, 5] ... (https://eval.in/203694)
yfeldblum has joined #ruby
W0rmDr1nk has quit [Ping timeout: 246 seconds]
maestrojed has joined #ruby
dawkirst_ has quit [Remote host closed the connection]
x77686d has quit [Ping timeout: 250 seconds]
bMalum has quit [Quit: bMalum]
<havenwood> >> [*0..5] - [1,2,3]
<eval-in_> havenwood => [0, 4, 5] (https://eval.in/203695)
<thoraxe> hmm i'm still on ruby 2.00 let me check the methods
Suchit has joined #ruby
mpistone has quit [Remote host closed the connection]
phone_ has joined #ruby
jhc76 has joined #ruby
<Hanmac> dorei: NaN is not equal with anything ... thats hardcoded and in the standard ... thats why you need nan?
krisquigley has joined #ruby
IceDragon has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
boombadaroomba has joined #ruby
IceDragon has joined #ruby
nonmadden has joined #ruby
einarj has quit [Remote host closed the connection]
boombadaroomba has quit [Remote host closed the connection]
kaspertidemann has quit []
<havenwood> >> 0.upto(Float::NAN).lazy.zip(0.downto(Float::NAN)).take(3).to_a
<eval-in_> havenwood => [[0, 0], [1, -1], [2, -2]] (https://eval.in/203696)
<havenwood> hence ^
carraroj has quit [Ping timeout: 272 seconds]
<havenwood> clearly a good idea to do... >.>
<gregf_> >> class Ec2; attr_accessor :id; def initialize params; params.each { |k, v| send "#{k}=", v; };end;end ; known = [1,2,3]; ec2s = [*1..5].map { |id| Ec2.new({"id" => id }) }; p ec2s.reject{ |ec2| known.include?ec2.id }
<eval-in_> gregf_ => [#<Ec2:0x408d85c0 @id=4>, #<Ec2:0x408d8584 @id=5>] ... (https://eval.in/203697)
fsapo has joined #ruby
<havenwood> >> 0.upto(Float::INFINITY).lazy.zip(0.downto(-Float::INFINITY)).take(3).to_a
<eval-in_> havenwood => [[0, 0], [1, -1], [2, -2]] (https://eval.in/203698)
<havenwood> \o/
<gregf_> o_O
roolo has quit [Remote host closed the connection]
aspires has quit []
boombadaroomba has joined #ruby
roolo has joined #ruby
vimer has quit [Quit: leaving]
cocotton has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> though ew, i should be using #first
<havenwood> >> 0.upto(Float::INFINITY).lazy.zip(0.downto(-Float::INFINITY)).first 3
<eval-in_> havenwood => [[0, 0], [1, -1], [2, -2]] (https://eval.in/203699)
Techguy305 has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
aspires has joined #ruby
jonmorehouse has joined #ruby
cocotton has joined #ruby
geggam has quit [Ping timeout: 272 seconds]
tylersmith has joined #ruby
gkhan_ has joined #ruby
gkhan_ has left #ruby [#ruby]
roolo has quit [Ping timeout: 260 seconds]
mengu has quit [Remote host closed the connection]
Hightower660 has joined #ruby
zorak8 has joined #ruby
arup_r has joined #ruby
subraminion has joined #ruby
Scotteh_ has joined #ruby
benzrf|offline is now known as benzrf
bobishh has quit [Ping timeout: 272 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> my final submission:
<havenwood> >> Enumerator.new { |yielder| value = 0; loop { yielder << value; value += 1 } }.lazy.zip(Enumerator.new { |yielder| value = 0; loop { yielder << value; value -= 1 } }).first 3
<eval-in_> havenwood => [[0, 0], [1, -1], [2, -2]] (https://eval.in/203700)
<havenwood> now to find coffee!
IceDragon has quit [Ping timeout: 245 seconds]
Scotteh__ has quit [Ping timeout: 246 seconds]
<thoraxe> ok so this works: instances.reject { |instance| instance.id == "i-01e2b2e4" }
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
IceDragon has joined #ruby
<thoraxe> but if I had a list of instance ids "foo","bar","baz" is there an easy way to reject them?
floating8 has joined #ruby
<thoraxe> ah gotcha
<thoraxe> the include above
rdark has quit [Ping timeout: 272 seconds]
otherj has joined #ruby
tlarevo has joined #ruby
<floating8> heya - does anyone know of a way to get a ruby shell/interpreter that has multiline input, like dreampie does for python? ex. http://www.dreampie.org/screenshot1.png
rdark has joined #ruby
<havenwood> floating8: Pry is great.
otherj has quit [Client Quit]
freezey_ has joined #ruby
<thoraxe> pry is great.
<havenwood> floating8: gem install pry pry-doc
<floating8> havenwood: I was directed to pry, and am using it, but was unaware it had this kind of functionality. I will check the docs tho, thanks.
aclearman037 has joined #ruby
<workmad3> floating8: btw, irb has that functionality normally
joonty has quit [Quit: Leaving]
mercwithamouth has joined #ruby
<havenwood> floating8: ah, are you referring to the split-screen bit?
abuzze has joined #ruby
rkalfane has joined #ruby
<havenwood> floating8: you can pretty simply just swap from repl to text editor as well
<workmad3> havenwood: I took it to mean the ability to write multi-line methods :)
<havenwood> workmad3: i did as well
moritzschaefer has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
<floating8> for example, I am referring to the situation where you could start typing out a function def, hit enter to add another line, and then only "send the code to the interpreter" by hitting for example, ctrl+enter. then ctrl+up (prev history) would recall the entirety of that function def in the editable space.
freezey has quit [Ping timeout: 240 seconds]
mdw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamz has joined #ruby
<floating8> so I could edit a single line of the function def, instead of sending each line of history, in order, until i get to the one I wanted to change.
<workmad3> floating8: ah, so no, not aware of a multiline in that sense
treehug88 has quit []
<floating8> i hope that makes sense.
<floating8> ah, rats.
benzrf is now known as benzrf|offline
<workmad3> floating8: however, pry has an 'edit' command that will open $EDITOR
rubyonrailed has joined #ruby
<epitron> >> 3.times.map {|n| [n, -n] }
<eval-in_> epitron => [[0, 0], [1, -1], [2, -2]] (https://eval.in/203701)
<epitron> :D
<floating8> workmad3: I will check that out, thank you
spyderman4g63 has joined #ruby
largus has quit [Remote host closed the connection]
alex88 has quit [Quit: Leaving...]
abuzze has quit [Ping timeout: 260 seconds]
largus has joined #ruby
<epitron> floating8: i've wanted to add multiline input to pry for a while...
fmcgeough has joined #ruby
tkuchiki has joined #ruby
<epitron> i've taken a couple stabs at it, but it involves reimplementing curses :\
<epitron> this is a good place to start: https://github.com/Mon-Ouie/coolline
brandonshowers has joined #ruby
<epitron> reimplementing curses would be a great idea though :)
<epitron> this ocaml-based terminal thing has some cool ideas: https://github.com/diml/lambda-term
<fmcgeough> I’m having a good time learning and using Ruby. I’ve started using rubocop to analyze the code that I’ve written. Some of the advice is confusing. especially “ Redundant return detected” …. I guess I’m so used to Java / C / C++ that it seems fine to me to end a method with : return val
brandonshowers has quit [Client Quit]
wallerdev has joined #ruby
<epitron> eww, java smell
<epitron> usually you don't even have to assign the return value to "val"
<fmcgeough> ha ha. what is it that’s “bad” about that?
<epitron> it's just redundant :)
brandonshowers has joined #ruby
<epitron> the sooner you get used to the fact that everything in ruby returns a value, the nicer your code will look
d4nku has joined #ruby
Takle has quit [Remote host closed the connection]
emiemia has joined #ruby
teenwolf has quit [Quit: Leaving...]
<fmcgeough> epitron: trying… In some cases it looks fine to me. in other cases, quite odd.
<workmad3> fmcgeough: also, when you get to dealing with blocks and procs, return doesn't do what you want :)
benzrf|offline is now known as benzrf
ki0 has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
<workmad3> or doesn't usually do what you want
brandonshowers has quit [Client Quit]
largus has quit [Ping timeout: 258 seconds]
<workmad3> hmm, time for food
<workmad3> hf all :)
brandonshowers has joined #ruby
ivmx has joined #ruby
<pipework> fmcgeough: In ruby, the last thing evaluated is returned from the expression.
j_mcnally has joined #ruby
lolmaus has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
jack_rabbit has joined #ruby
marlonandrade has joined #ruby
timgauthier is now known as timgauthier_isaw
<fmcgeough> pipework: sure. lets take a real example. suppose I have a method that returns true or false. if you get to end of method and you have to return something… why not : return true?
skolman_ has quit [Remote host closed the connection]
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<epitron> fmcgeough: you can usually structure your code differently in ruby to make it more elegant
teddyp1cker has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
<pipework> fmcgeough: Why not just not use return though?
skolman has joined #ruby
emiemia has quit [Client Quit]
<fmcgeough> so just say “true”
<epitron> remember, lines of code also return values... if statements can return values... procs can return values..
<epitron> so you probably don't even need to assign to "val"
<workmad3> epitron: s/can//
<epitron> sure :)
<workmad3> epitron: the 'can' makes it sound optional ;)
rdark has quit [Quit: leaving]
aspires has quit []
<epitron> i guess, if you consider nil a value
<epitron> :)
rdark has joined #ruby
<centrx> pshaw
mrsolo has joined #ruby
naftilos76 has joined #ruby
<workmad3> epitron: well, in java, a 'void' method doesn't return anything... not even NULL... if you tried to assign a void method to something, you get a compile error, iirc :)
<pipework> fmcgeough: I mean, you're welcome to write Java in ruby if you really want to have code that looks weird to the community.
<epitron> i don't consider java a language ^_^
<epitron> jk jk
<workmad3> pipework: that's what I do... 8-space hard tabs and all!
marlonandrade has left #ruby [#ruby]
<pipework> But I bet you'll cross a line where the preferences you have limit your growth and flexibility in ruby.
<fmcgeough> pipework: sure. I’m not though. that’s why I’m running code through rubocop … to try and structure things that are readable in the language I’m writing in.
marlonandrade has joined #ruby
aspires has joined #ruby
<epitron> fmcgeough: you should look at the source to the ruby standard library
<pipework> fmcgeough: I don't personally find rubocop that good with the current cops.
<epitron> there's a lot of good examples in there
<workmad3> epitron: java is a language in the same way that duplo is lego? ;)
<epitron> (and some bad ones)
<pipework> or whatever their rules are called.
<fmcgeough> epitron: ok. thanks. that’s a good idea.
<pipework> I follow a kind of seattle-style ruby.
thagomizer has joined #ruby
skolman has quit [Ping timeout: 258 seconds]
maasha has joined #ruby
<fmcgeough> how well attended are the Ruby Conferences? I notice the one coming up is in San Diego.
<pipework> The big ones are well-attended.
<fmcgeough> pipework: looks interesting. I might go.
naftilos76 has quit [Remote host closed the connection]
<pipework> fmcgeough: I'll be there.
<epitron> fmcgeough: here's a nice example where return would ugly it up: https://github.com/epitron/epitools/blob/master/lib/epitools/core_ext/enumerable.rb#L143
marlonandrade has left #ruby [#ruby]
wallerdev has quit [Quit: wallerdev]
<fmcgeough> epitron: thanks. I’ll take a look.
<maasha> n-way merge for external sort anyone?
marlonandrade has joined #ruby
iliketurtles has joined #ruby
naztharune has quit [Quit: naztharune has no reason]
<epitron> fmcgeough: i find i mostly use return as a short-circuit, for aborting a method early... like "return nil if thing.bad?"
oleo__ has joined #ruby
oleo is now known as Guest14836
<fmcgeough> epitron: that’s where I’ve ended up after running code through rubocop
txdv has joined #ruby
wallerdev has joined #ruby
<epitron> haha... this is a funny one
<epitron> def unzip; to_a.transpose; end
kirun has joined #ruby
neoxquick has joined #ruby
sevvie has joined #ruby
<epitron> >> module Enumerable; def unzip; to_a.transpose; end; end; (0..5).zip(5.downto(0)).unzip
<eval-in_> epitron => [[0, 1, 2, 3, 4, 5], [5, 4, 3, 2, 1, 0]] (https://eval.in/203706)
davispuh has joined #ruby
jespada has quit [Ping timeout: 245 seconds]
cndiv has joined #ruby
timgauthier has joined #ruby
BTRE has quit [Quit: Leaving]
Guest14836 has quit [Ping timeout: 272 seconds]
workmad3 has quit [Ping timeout: 250 seconds]
jobewan has joined #ruby
schaerli has quit [Remote host closed the connection]
txdv has quit [Ping timeout: 245 seconds]
User458764 has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
psy has joined #ruby
psy_ has joined #ruby
psy has quit [Read error: Connection reset by peer]
<centrx> hah
BTRE has joined #ruby
<centrx> *sweet
sysTemz- has left #ruby ["oooooh"]
arup_r has quit [Quit: Leaving.]
<epitron> .with_progress would be cool too :)
iliketurtles has quit [Quit: zzzzz…..]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
iliketurtles has joined #ruby
Hightower660 has quit [Ping timeout: 245 seconds]
codeFiend has joined #ruby
rdark has quit [Quit: leaving]
bricker`work has joined #ruby
Kricir has quit [Remote host closed the connection]
rshetty has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
skolman has joined #ruby
Kricir has joined #ruby
jasooon has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
timgauthier is now known as timgauthier_isaw
lnormous has quit [Quit: Leaving]
jamz has quit [Remote host closed the connection]
banjara has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
geggam has joined #ruby
aspires has quit []
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
Kricir has quit [Ping timeout: 260 seconds]
awestroke has joined #ruby
thagomizer has quit [Remote host closed the connection]
thagomizer has joined #ruby
jasooon has quit [Ping timeout: 260 seconds]
jamz has joined #ruby
Sawbones has quit []
pandaant has quit [Remote host closed the connection]
freezey_ has quit [Remote host closed the connection]
CorySimmons has quit [Quit: Bye!]
jespada has joined #ruby
JoshGlzBrk has joined #ruby
ghr has joined #ruby
spyderman4g63 has quit [Ping timeout: 246 seconds]
goodenough has joined #ruby
fabrice31 has joined #ruby
Kricir has joined #ruby
<centrx> # `.all` is more fun to type than `.to_a`
jbueza has joined #ruby
mastr_bennett[x] has joined #ruby
kobain has joined #ruby
govg has joined #ruby
jamz has quit []
ghr has quit [Ping timeout: 244 seconds]
Aaaal has quit [Quit: Aaaal]
francisfish has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
leizzer has quit [Quit: WeeChat 0.4.2]
mikeg has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 272 seconds]
Techguy305 has quit [Ping timeout: 260 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maniacal_ has joined #ruby
awestroke has quit [Remote host closed the connection]
<epitron> true
himsin has quit [Quit: himsin]
claymore has quit [Ping timeout: 260 seconds]
spyderman4g63 has joined #ruby
yetanotherdave has joined #ruby
<benzrf> how is to_enum implemented o.O
AlexRussia has quit [Read error: Connection reset by peer]
<epitron> magic!
eduardordm has left #ruby [#ruby]
AlexRussia has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
bobishh has joined #ruby
claymore has joined #ruby
geggam has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
treehug88 has joined #ruby
<epitron> sometimes i use it to make methods that take a block return an enumerator lazily
<epitron> return to_enum(:the_method_name) unless block_given?
roolo has joined #ruby
<epitron> no block: return enumerator, yes block: execute immediately
roolo has quit [Client Quit]
pothibo has joined #ruby
<arup_r> Why am I getting **Invalid date** ? Date.strptime("10/9/2014 7:43 PM", "%d/%-m/%Y %l:%M %p") # ArgumentError: invalid date
<epitron> %-m?
<epitron> >> Time.now.strftime("%d/%-m/%Y %l:%M %p")
<eval-in_> epitron => "09/10/2014 6:00 PM" (https://eval.in/203710)
<epitron> guess that's not it
<Hanmac> epitron: hm you could use __method__ for to_enum
SegFaultAX has quit [Ping timeout: 260 seconds]
Hamled has quit [Ping timeout: 245 seconds]
<epitron> Hanmac: hah, nice
AudriusB has joined #ruby
GPH|work has quit [Ping timeout: 240 seconds]
bmn has quit [Ping timeout: 240 seconds]
Hamled has joined #ruby
bmn has joined #ruby
<benzrf> epitron do you not KnownSyntax
<benzrf> *know
<benzrf> epitron: matz sez:
<arup_r> Why -m is causing error
<arup_r> ?
<arup_r> :-(
<benzrf> - all ruby core methods should be 2nd person
<benzrf> - as though u are speaking to th object
AtumT_ has joined #ruby
<arup_r> %-m no-padded (1..12)
<centrx> >> my_array, do you include? my_element
<eval-in_> centrx => /tmp/execpad-4203946c6801/source-4203946c6801:2: syntax error, unexpected keyword_do_block, expecting '=' ... (https://eval.in/203711)
<epitron> benzrf: that's not so much syntax as style
<centrx> didn't work
geggam has joined #ruby
aspires has joined #ruby
havenwood has quit [Remote host closed the connection]
<benzrf> >> [1, 2, 3].reduce
<eval-in_> benzrf => no block given (LocalJumpError) ... (https://eval.in/203712)
<benzrf> huh
<towski> my Encoding.list doesn't list UTF-7, which I guess is for ascii?
<towski> how do I add an encoding to the list
mkaesz has joined #ruby
AR45 has joined #ruby
AtumT has quit [Ping timeout: 260 seconds]
<towski> oh wait there is ASCII-8BIT
goodenough has quit [Remote host closed the connection]
<towski> so what is UTF-7
<epitron> benzrf: reduce is a pretty eager method :)
SegFaultAX has joined #ruby
tvw has quit []
<towski> oh so a file I'm requiring is referencing Encoding::UTF_7
havenwood has joined #ruby
<epitron> haha.. never heard of UTF-7... maybe that's base64 :)
cocotton has joined #ruby
<epitron> ah, it's like markdown
<centrx> trinary numbers will be the next thing
<epitron> +MagicChar-
<epitron> i think most people use HTMLEntities instead of UTF-7
coderdad has joined #ruby
<epitron> same idea, but more commonly recognized
Snowstormer has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
<pipework> Cool kids use UUTF, that's pronounced Double U T F
<Hanmac> >> Encoding.name_list.include?("UTF-7")
<eval-in_> Hanmac => true (https://eval.in/203713)
cocotton has quit [Remote host closed the connection]
sambao21 has joined #ruby
<towski> hm I can't see how to load more encodings
<Hanmac> towski: hm some kind of old freaky ruby version?
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<towski> I'm using libruby
<Hanmac> or some kind of funny system?
<towski> but 2.0.0
<Hanmac> "libruby"? mean you use the C-API?
<towski> yes
melik has joined #ruby
<epitron> maybe the issue is how your libruby was built
alem0lars_ has joined #ruby
<Hanmac> yeah maybe he didnt had all dependencies
<epitron> not linked to enough unicode libraries?
<epitron> iconv uconv we all conv for iconv
<melik> i'm executing a bash command using %x(), how can i wait until the command is complete before continuing?
<towski> yeah I'm just using the libruby that rvm built
<epitron> melik: %x() is ``, right?
<melik> yes, i believe so
<epitron> yeah...
<epitron> that waits until your command is complete
<epitron> and it returns the command's standard output
<melik> ah so it does it already?
<epitron> yep
arup_r has quit [Ping timeout: 246 seconds]
<melik> hm okie :)
<epitron> it has to, since it returns the command's stdout
<epitron> (as a string)
iamjarvo has joined #ruby
<epitron> IO.popen is another fun one, which gives you pipes!
Altonymous has quit [Quit: Altonymous]
j_mcnally has joined #ruby
Alayde has joined #ruby
<epitron> PEW PEW PEW
<Hanmac> towski: did you try rb_enc_find("UTF-7") ?
reset has joined #ruby
<epitron> lesspipe {|less| 1000.times {|n| less.puts "scrollback #{n}" } }
j_mcnally has quit [Client Quit]
<Alayde> This may be a silly question, but is there a way to rescue from the exit code of a shell command? Working on revising a script someone else wrote, and it shells out to check something, then exits if the exit code != 0. Anyways, I'd like to rescue from that exit code not equaling 0, try something, and then exit 1 if that fails.
<towski> Hanmac: no let me try that
<Alayde> And if that makes no sense, feel free to slap me
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
ghostmoth has joined #ruby
<Alayde> havenwood: thanks, I'll check it out
axl_ has quit [Read error: Connection reset by peer]
<havenwood> Alayde: or you could stick a `binding.pry` in there
axl_ has joined #ruby
yfeldblum has joined #ruby
<epitron> Alayde: couldn't you just modify the script that's exiting when it fails?
<epitron> "raise SomethingWentWrong" instead of exit 1
treehug88 has quit [Ping timeout: 246 seconds]
cocotton has joined #ruby
Altonymous has joined #ruby
<epitron> i think that has the same effect if you don't catch it
_whitelogger has joined #ruby
<epitron> (modulo some console spam)
<epitron> :)
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Alayde> epitron: I certainly can, and was thinking about doing that. But I was mostly just curious if one could catch an exit code and rescue from it.
<epitron> that's pretty nasty :)
<towski> Hanmac: doesn't seem to do anything
cu_ has quit [Quit: Computer has gone to sleep.]
mpistone has joined #ruby
reset has quit [Ping timeout: 272 seconds]
apeiros_ has joined #ruby
j_mcnally has joined #ruby
treehug88 has joined #ruby
MCDev has joined #ruby
apeiros has quit [Disconnected by services]
apeiros_ is now known as apeiros
cocotton_ has joined #ruby
goodenough has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cu__ has joined #ruby
codecop has quit [Ping timeout: 245 seconds]
skolman has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 272 seconds]
axl_ has quit [Quit: axl_]
skolman_ has joined #ruby
agjacome has quit [Quit: leaving]
AR45 has quit [Quit: Konversation terminated!]
txdv has joined #ruby
benzrf is now known as benzrf_
EMoreth has joined #ruby
benzrf_ is now known as benzrf
benzrf is now known as benzrf|offline
ndrei has joined #ruby
mpistone has quit [Remote host closed the connection]
codeFiend has quit [Quit: codeFiend]
cu__ has quit [Client Quit]
<towski> yeah it must be something in the makefile because I get unknown encoding name - UTF-7
<towski> but it works fine with regular ruby
dte has quit [Remote host closed the connection]
reset has joined #ruby
skolman_ has quit [Ping timeout: 244 seconds]
darkness has joined #ruby
darkness is now known as Guest87322
mattmcclure has joined #ruby
koderok has quit [Ping timeout: 272 seconds]
aspiers has quit [Ping timeout: 246 seconds]
jasooon has joined #ruby
krisquigley has joined #ruby
ruber has joined #ruby
<towski> now to figure out how to compile the shared library with more encodings..
noop has joined #ruby
kaspertidemann has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codecop has joined #ruby
Suchit has quit [Quit: Computer has gone to sleep.]
<Hanmac> towski what is your OS?
jimms has joined #ruby
Suchit has joined #ruby
cocotton_ has quit [Remote host closed the connection]
cocotton has joined #ruby
<towski> Hanmac: linux
krisquigley has quit [Ping timeout: 272 seconds]
jasooon has quit [Ping timeout: 258 seconds]
<Hanmac> yeah, but WHAT linux? debianoid, archlinux? or centos?
maniacal_ has quit [Ping timeout: 272 seconds]
jonmorehouse has quit [Ping timeout: 272 seconds]
timonv_ has joined #ruby
doodlehaus has joined #ruby
alem0lars__ has joined #ruby
txdv has quit [Ping timeout: 244 seconds]
javiferrer has joined #ruby
javiferrer is now known as Guest71131
alem0lars_ has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
Suchit has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
<towski> Hanmac: debian testing
subraminion has quit [Quit: (null)]
<Hanmac> towski: "apt-get build-dep ruby" ?
mpistone has joined #ruby
coderdad has quit [Remote host closed the connection]
x77686d has joined #ruby
dkphenom has joined #ruby
Pumukel has joined #ruby
perrier has quit [Remote host closed the connection]
axl_ has joined #ruby
msmith_ has quit [Remote host closed the connection]
pampuchy has joined #ruby
rkalfane has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 260 seconds]
txdv has joined #ruby
ivmx has left #ruby [#ruby]
<pampuchy> hello, using jekyll and liquid i am making a table like this: https://gist.github.com/anonymous/cfef369af9937ce924d7
iamjarvo has joined #ruby
geggam has quit [Ping timeout: 246 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
<pampuchy> how do i put an additional column, that increments from 1, 2, 3 ... enumertaing the number of members in site.data.arxiv?
loechel has joined #ruby
lw has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> pampuchy, like an index?
dcarmich has joined #ruby
Pupeno has quit [Remote host closed the connection]
abuzze has joined #ruby
<pampuchy> centrx: yes exactly
<pampuchy> i didnt know what word to use
<pampuchy> just to number the entries 1 2 3 4 etc
<centrx> pampuchy, You can do my_array.each_with_index do |element, index|
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
loechel has quit [Client Quit]
Pupeno has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
<maasha> what is the preferred way to determine the cpu core count?
<centrx> pampuchy, Note this index may be different if the data changes
Pumukel has quit [Quit: ChatZilla 0.9.91 [Firefox 32.0.3/20140924083558]]
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 246 seconds]
<centrx> pampuchy, If you want a stable ID, use a primary key/auto-increment sequence in the database
Morkel_ is now known as Morkel
AR45 has joined #ruby
loechel has joined #ruby
<centrx> maasha, cat /proc/cpuinfo ?
<maasha> centrx: I am looking for something cross platform.
parduse has quit [Ping timeout: 244 seconds]
<maasha> system or facter
<epitron> maasha: run lots of processes, and time how long it takes them to do something
loechel is now known as Pumukel
<epitron> keep adding processes until the time it takes increases :)
<maasha> epitron: O_o
<centrx> brute force wins again
jacobat has joined #ruby
<epitron> i call it SCIENCe
parduse has joined #ruby
<epitron> scientific method based CPU detection
<eam> maasha: details of the hardware are inherently not cross platform
mpistone has quit [Remote host closed the connection]
<centrx> there's an asymptote involved, so it must be science
aspires has quit []
lw has quit [Read error: Connection reset by peer]
skolman_ has joined #ruby
manzo has quit [Quit: Leaving]
skolman_ has quit [Remote host closed the connection]
lw has joined #ruby
<maasha> eam: I know, but I am not gonna reinvent the wheel
skolman has joined #ruby
<eam> non sequitur
<epitron> why do you need to know how many CPUs you've got?
hellangel7 has quit [Remote host closed the connection]
Guest87322 has quit [Remote host closed the connection]
<epitron> you wanna make a worker pool?
abuzze has quit [Ping timeout: 272 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<crome> it counts a lot in vpenis!
<epitron> hahah
<epitron> CPUnis
ghostmoth has joined #ruby
paulfm has quit []
ekinmur has joined #ruby
<eam> optimal number of threads isn't always equal to visible cpu cores
<pampuchy> centrx: i dont know how to do this, could you please tell me using my gist that i provided earlier?
jerematic has quit [Quit: Leaving]
<centrx> pampuchy, So your "for member in site.data.arxiv" is really: site.data.arxiv.each do |member|
c107 has joined #ruby
<maasha> epitron: worker pool indeed
aclearman037 has quit [Ping timeout: 260 seconds]
mpistone has joined #ruby
<centrx> pampuchy, for loop is a syntactic feature, but it is not canonical style, and it is equivalent to the more common #each
coderdad has joined #ruby
<centrx> pampuchy, and then we adjust to use each_with_index instead of each, to get an index number
jerematic has joined #ruby
tlarevo has quit [Remote host closed the connection]
<maasha> factor is utterly broken
<maasha> :o(
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skolman has quit [Ping timeout: 258 seconds]
Scotteh_ has quit [Ping timeout: 246 seconds]
<centrx> pampuchy, everything else is basically the same, with an additional index variable you can use in the loop
<maasha> facter*
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Wolland has joined #ruby
paulfm has joined #ruby
Alayde has left #ruby ["WeeChat 1.0"]
dangerousdave has joined #ruby
pskosinski_ has joined #ruby
AR45 has quit [Quit: Konversation terminated!]
aclearman037 has joined #ruby
kamil has joined #ruby
rkalfane has joined #ruby
obscured has joined #ruby
oso96_2000 has quit [Ping timeout: 260 seconds]
grzywacz has joined #ruby
sqd has joined #ruby
waxjar has quit [Ping timeout: 272 seconds]
jimmyhoughjr has joined #ruby
Kricir has quit [Remote host closed the connection]
sivoais has quit [Ping timeout: 272 seconds]
cr3 has left #ruby [#ruby]
pskosinski has quit [Ping timeout: 250 seconds]
subraminion has joined #ruby
subraminion has quit [Client Quit]
waxjar has joined #ruby
sivoais has joined #ruby
cu__ has joined #ruby
<epitron> maasha: i think maybe implementing your own worker pool is the part that's reinventing the wheel
sandelius has joined #ruby
<epitron> i'm pretty sure people have done that before
AR45 has joined #ruby
<pipework> Yeah, but they aren't as awesome as they could be yet.
tkuchiki has joined #ruby
cassianoleal has joined #ruby
<maasha> epitron: I am using the parallel gem
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mengu has joined #ruby
spider-mario has joined #ruby
<maasha> epitron: and it turns out the parallel gem have a method Parallel.processor_count that does the job.
apeiros has quit [Ping timeout: 244 seconds]
oso|away has joined #ruby
himsin has joined #ruby
oso|away is now known as oso96_2000
<epitron> great!
sqd has quit [Quit: sqd]
cu__ has quit [Ping timeout: 246 seconds]
mengu has quit [Remote host closed the connection]
lkba has joined #ruby
amigo99 has joined #ruby
jonathan_alban has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<crome> :DD
<crome> marvellous
emmesswhy has joined #ruby
jottr has joined #ruby
tkuchiki has quit [Ping timeout: 244 seconds]
<wasamasa> looks like bug-free code
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kamil has quit [Disconnected by services]
Girakrok has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has quit [Quit: zzzzz…..]
benzrf|offline is now known as benzrf
havenwood has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
<epitron> hahah.. wow
<epitron> it's 377 lines of code, and it has 450 commits and 22 contributors
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> and it has all kinds of implicit dependencies on kernel attributes but no version checking
<crome> to be fair, I couldn't quickly thinkg of a better "cross-platform" way
bobishh has quit [Ping timeout: 245 seconds]
<epitron> they should be using which("binary") instead of File.executable?("/absolute/path/to/binary")
<eam> again, that's because it's inherently not portable
<eam> it's a really bad idea to try to magically scale to cores
bMalum has joined #ruby
<epitron> if you don't care about windows, there's probably some decent ways of doing it
<eam> you don't know if your process even has access to all the cores present on a system
michaeldeol has joined #ruby
Pumukel has quit [Remote host closed the connection]
<eam> eg I'm in a docker container that's been taskset'd to 1 core
<epitron> if File.executable?("/usr/bin/docker")
<epitron> :D
<epitron> jk jk
<eam> or there are other things running, etc etc
<epitron> top | grep
<epitron> :D
<eam> haha
<eam> just make it configurable =/
<epitron> parallel is configurable
<eam> I mean statically without any kind of dynamic heuristic
<epitron> you know, top | grep isn't a bad solution... top should be available on *nix
<epitron> and it tells you everything you need to know
<epitron> cores, load, processes
bobishh has joined #ruby
<epitron> parsing might be tricky :)
<crome> 22 contributors can parse anything
<pipework> Why not pgrep?
<epitron> crome: hahah
cassianoleal has quit [Read error: Connection reset by peer]
<epitron> pgrep doesn't tell you how many cores you have, or your system load
<epitron> memory footprint is another issue
<epitron> you don't wanna spawn jobs that use up all your memory
aspires has joined #ruby
<epitron> (another thing top helps with)
alem0lars__ has quit [Ping timeout: 244 seconds]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emmesswhy has quit [Quit: This computer has gone to sleep]
<crome> spawning processes is generally a good way of letting the kernel scheduler deal with parallelization
sevvie has quit [Read error: Connection reset by peer]
* epitron spawns 90000 processes and lets the kernel deal with it
michaeldeol has quit [Ping timeout: 260 seconds]
geggam has joined #ruby
dol37_ has quit [Quit: Connection closed for inactivity]
sevvie has joined #ruby
skolman_ has joined #ruby
Sgeo_ has joined #ruby
Scotteh_ has joined #ruby
<crome> its over 9000!
<epitron> yer darn tootin
sambao21 has quit [Quit: Computer has gone to sleep.]
dte has joined #ruby
tonchis has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alem0lars_ has joined #ruby
iamjarvo has joined #ruby
paulfm has quit []
Sgeo has quit [Ping timeout: 244 seconds]
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gaganjyot has joined #ruby
skolman_ has quit [Ping timeout: 246 seconds]
elaptics is now known as elaptics`away
fabrice31 has joined #ruby
sambao21 has joined #ruby
paulfm has joined #ruby
jimms has quit [Remote host closed the connection]
aclearman037 has joined #ruby
monkeypatch has joined #ruby
sambao21 has quit [Client Quit]
ghr has joined #ruby
jasooon has joined #ruby
sambao21 has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Asher has quit [Quit: Leaving.]
ruber has quit [Ping timeout: 244 seconds]
iliketurtles has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
cassianoleal has joined #ruby
iliketurtles has quit [Client Quit]
ffranz has quit [Remote host closed the connection]
Alina-malina has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 245 seconds]
ffranz has joined #ruby
cu__ has joined #ruby
rubyonrailed has quit [Remote host closed the connection]
jasooon has quit [Ping timeout: 244 seconds]
skaflem has quit [Quit: Leaving]
yfeldblu_ has joined #ruby
mpistone has quit [Remote host closed the connection]
Pumukel has joined #ruby
dangerousdave has joined #ruby
dte has quit [Remote host closed the connection]
Akagi201_ has joined #ruby
eka has quit [Ping timeout: 244 seconds]
agjacome has joined #ruby
schaerli has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
dkphenom has joined #ruby
Pumukel has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 272 seconds]
Akagi201 has quit [Ping timeout: 260 seconds]
coderdad_ has joined #ruby
karunamon has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
<karunamon> Hi folks; trying to do a nested block thing here. The gist of which is check if each element of an arrayof strings, returns a valid match against any item in an array of regexes.
<karunamon> one liner. this is wrong, but i'm not sure why: strings.delete_if |d| d =~ regexes.each{|i| yield}
coderdad has quit [Ping timeout: 258 seconds]
<karunamon> (and I lost a brace somewhere there)
LangeOortjes has quit [Quit: WeeChat 1.0.1]
coderdad_ has quit [Ping timeout: 240 seconds]
rubyonrailed has joined #ruby
sambao21 has joined #ruby
lampd1 has joined #ruby
TripleDES has joined #ruby
x77686d has quit [Quit: x77686d]
cndiv has quit [Ping timeout: 244 seconds]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
freezey has joined #ruby
coderdad has joined #ruby
coderdad has quit [Remote host closed the connection]
coderdad has joined #ruby
jacobat has quit [Ping timeout: 240 seconds]
rkalfane has joined #ruby
msmith_ has joined #ruby
Guest71131 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
msmith_ has quit [Read error: Connection reset by peer]
xenomorph is now known as {xenomorph}
AR45 has quit [Ping timeout: 240 seconds]
amigo99 has quit [Quit: Leaving]
iliketurtles has joined #ruby
<centrx> karunamon, Why not: strings.any? { |d =~ regex_thing }
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
redgetan has joined #ruby
<centrx> karunamon, Why not: strings.any? { |d| =~ regex_thing }
<centrx> oh crap well you get the idea
<karunamon> ..man, why do I always start with the hard way?
iliketurtles has quit [Max SendQ exceeded]
paulfm has quit []
WismerTrashCry has joined #ruby
msmith_ has joined #ruby
<Sou|cutter> there's also regex union
<centrx> ^^
Pumukel has joined #ruby
coderdad has quit [Remote host closed the connection]
iliketurtles has joined #ruby
<karunamon> well wait, i want to modify the original array and trash any matching items
<Sou|cutter> karunamon: reject!
<centrx> karunamon, yeah delete_if/reject! with the Regexp.union it sounds like what you might be looking for
x77686d has joined #ruby
pandaant has joined #ruby
cpruitt has quit [Quit: cpruitt]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<maasha> Anyone have a n-way merge algorithm implemented in Ruby?
<karunamon> ahh! union would convert the array of regexes into a single or-regex that I can use with delete_if
<karunamon> bloody clever!
chrishough has joined #ruby
cpruitt has joined #ruby
djbkd has quit [Remote host closed the connection]
toretore has quit [Quit: This computer has gone to sleep]
jimms has joined #ruby
nsxt has joined #ruby
Squarepy has quit [Quit: Leaving]
fmcgeough has quit [Quit: fmcgeough]
dte has joined #ruby
<nsxt> Process.spawn returns the pid of the spawned process... I'm trying to spawn gvim, but the pid I get is not the same pid that's listed when I run `ps ax`. I'm not sure what gvim is doing under the hood, but what can I do to retrieve the "final" pid of a spawned process?
skolman has joined #ruby
<towski> running 'make libruby.so.2.0.0' seems to have some trouble
eka has joined #ruby
<towski> I had to force some flags through for -lm, and now it complains that there is no man
toretore has joined #ruby
<towski> *main
<towski> gcc -shared : undefined ref to main?
<towski> how do I build the shared library
gaganjyot has quit [Remote host closed the connection]
tonchis has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 258 seconds]
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
benlieb has quit [Quit: benlieb]
mengu has quit [Read error: Connection reset by peer]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
mengu has joined #ruby
Mia has quit [Ping timeout: 246 seconds]
livathinos has joined #ruby
AudriusB has quit [Ping timeout: 258 seconds]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
brandonshowers has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
rpag has joined #ruby
cpruitt has quit [Quit: cpruitt]
boombadaroomba has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
spastorino has quit [Quit: Connection closed for inactivity]
timonv_ has joined #ruby
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderdad has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
rainfyre has quit [Quit: Lost terminal]
pampuchy has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
deject3d has joined #ruby
ghr has joined #ruby
lbwski has quit []
timonv_ has quit [Ping timeout: 260 seconds]
krisquigley has joined #ruby
benzrf is now known as benzrf|offline
Lewix has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tvw has joined #ruby
livathinos has quit [Remote host closed the connection]
<alem0lars> ping
bMalum has quit [Quit: bMalum]
alvaro_o has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
freezey has quit []
manzo has joined #ruby
krisquigley has quit [Ping timeout: 245 seconds]
Kricir has joined #ruby
<epitron> heh, centrx's mistake would actually be an interesting feature... array.map{|x|*2}
gilr00y has quit [Remote host closed the connection]
<epitron> saves typing x again :)
<epitron> and if you could use it in the middle of an expression: array.map{ 2**|x| }
ta has joined #ruby
<epitron> maybe ruby should just let you use _ as an implied argument
<rpag> it was once discussed to make '_' available as an implicit block local, so you'd say _*2
timonv_ has joined #ruby
<epitron> yeah, that's a nice clean solution
<epitron> did the issue die for a good reason?
<epitron> or was it just not compelling enough?
nfk has joined #ruby
ht__th has quit [Remote host closed the connection]
KC9YDN has quit [Quit: "Let a hundred flowers bloom: let a hundred schools of thought contend." - Mao Zedong]
<rpag> i cant remember tbh
havenwood has joined #ruby
<wsmoak> so compact! returns nil if no changes were made … that’s not what I was expecting !
decoponyo has quit [Quit: Leaving...]
benzrf|offline is now known as benzrf
<jhass> wsmoak: all core bang! methods do
alvaro_o_ has joined #ruby
<Hanmac> epitron: will never work because array.map{ |x|-2 } with "-" method should it call?
<epitron> wsmoak: weird
<epitron> jhass: it returns the array if changes are made, though
<jhass> epitron: yes
<epitron> i guess that lets you go, "if array.compact!; ... thing was compacted!"
<wsmoak> so something like to_check = neighbors(r,c).compact! sometimes assigns a useful array, sometimes… nothing
boombadaroomba has joined #ruby
<jhass> epitron: that's probably the intention, not I would recommend such a style
<epitron> wsmoak: just use .compact then :)
jasooon has joined #ruby
<jhass> wsmoak: maybe you want .compact without the bang?
<benzrf> to_check = neighbors(r, c).me.compact!
lw has quit [Ping timeout: 245 seconds]
<epitron> .me?
<Hanmac> epitron:
<Hanmac> >> "aBc".downcase! ? "changed" : "not"
<eval-in_> Hanmac => "changed" (https://eval.in/203749)
zorak8 has quit [Read error: Connection reset by peer]
<Hanmac> >> "abc".downcase! ? "changed" : "not"
<eval-in_> Hanmac => "not" (https://eval.in/203750)
<epitron> Hanmac: i think that's something i'd never use in my code
<Hanmac> benzrf: tap(&:compact!)
<wsmoak> jhass: apparently I do.
<epitron> because i doubt whoever's reading it would know that bang methods do that :)
threesixes is now known as _^_
<epitron> also, i avoid bang methods
lw has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
<deject3d> bang methods return booleans? neat
<rpag> its kinda strange to assign a local from a method who mutates
miyako has left #ruby [#ruby]
<jhass> deject3d: no, they return the receiver if it was changed, nil otherwise
geggam has quit [Ping timeout: 260 seconds]
<wsmoak> I probably thought I was saving memory doing the compact in place. or something.
cndiv has joined #ruby
<wsmoak> it seemed like a good idea at the time!
coderdad has quit [Remote host closed the connection]
coderdad has joined #ruby
<benzrf> epitron: .me is from andand
jasooon has quit [Ping timeout: 260 seconds]
ephemerian has joined #ruby
<benzrf> epitron: foo.me.bar calls bar on foo and returns foo
<benzrf> i.e.
afhammad has joined #ruby
abuzze has joined #ruby
<benzrf> class Proxy; def initialize(o); @o = o; end; def method_missing(*args, &blk); @o.send *args, &blk; @o; end; end; class Object; def me; Proxy.new self; end; end;
<shevy> epitron Hanmac code has this trait - nobody except Hanmac uses it ;-)
charliesome has joined #ruby
AR45 has joined #ruby
spider-mario has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
IceDragon has quit [Ping timeout: 250 seconds]
ephemerian has quit [Client Quit]
Asher has joined #ruby
AR45 has quit [Client Quit]
banjara has joined #ruby
sambao21 has joined #ruby
Synthead has quit [Ping timeout: 246 seconds]
schaerli has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
<epitron> o_O
<epitron> i'd rather use tap{} than me
<epitron> it's more obvious what's happening
_^_ is now known as _
abuzze has quit [Ping timeout: 272 seconds]
old_black has quit [Quit: Leaving]
iamjarvo has joined #ruby
_ is now known as Guest85555
Guest85555 is now known as threesixes
dte has quit [Remote host closed the connection]
<shevy> I never know what tap wants to convey
<shevy> it reminds me of tapping a card
monkeypatch has joined #ruby
Asher has quit [Quit: Leaving.]
<jhass> foo.tap(&:compact!)
gilr00y has joined #ruby
<benzrf> epitron: it is quite simple....
<benzrf> >> class Proxy; def initialize(o); @o = o; end; def method_missing(*args, &blk); @o.send *args, &blk; @o; end; end; class Object; def me; Proxy.new self; end; end;
<eval-in_> benzrf => :me (https://eval.in/203758)
mib_mib has joined #ruby
<benzrf> oops
skolman has quit [Remote host closed the connection]
<epitron> jhass: hahaha
cndiv is now known as cndiv_afk
<benzrf> >> class Proxy; def initialize(o); @o = o; end; def method_missing(*args, &blk); @o.send *args, &blk; @o; end; end; class Object; def me; Proxy.new self; end; end; [1, 2, 3].inspect.me.gsub! /3/, '4'
<eval-in_> benzrf => "[1, 2, 4]" (https://eval.in/203759)
skolman_ has joined #ruby
<benzrf> >> class Proxy; def initialize(o); @o = o; end; def method_missing(*args, &blk); @o.send *args, &blk; @o; end; end; class Object; def me; Proxy.new self; end; end; [1, 2, 3].inspect.gsub! /3/, '4'
<eval-in_> benzrf => "[1, 2, 4]" (https://eval.in/203760)
<benzrf> shevy: oh
<epitron> shevy: tap is conveying "let's mutate this thing inline because i don't want to assign another local"
<benzrf> not @ shevy oops
<benzrf> huh
noop has quit [Ping timeout: 260 seconds]
ephemerian has joined #ruby
dmr has joined #ruby
<benzrf> epitron: or just use .me :^)
<epitron> benzrf: nope!
<rpag> tap is usually something you use for a side effect
<epitron> .me says "i don't care about who's reading my code"
livathinos has joined #ruby
<rpag> epitron, 'andand' in your project says that too :P
<epitron> :D
fsapo has quit [Remote host closed the connection]
<epitron> alias_method :everything_after_this_method_is_magic, :me
aspires has quit []
yalue has quit [Quit: Leaving]
aspires has joined #ruby
marlonandrade has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<deject3d> anyone going to the ORLANDO NOVEMBER RUBY MEETUP
<deject3d> october*
anarang has joined #ruby
timonv_ has quit [Remote host closed the connection]
pskosinski_ is now known as pskosinski
<epitron> orlandober
timonv_ has joined #ruby
geggam has joined #ruby
<shevy> epitron ah so you are an alias_method user rather than an alias user
skolman_ has quit [Ping timeout: 240 seconds]
axl_ has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
<epitron> "the one with the comma" :D
IceDragon has joined #ruby
<epitron> i think alias did something confusing when i was first learning ruby, so i abandoned it
timgauthier has joined #ruby
danguita has quit [Ping timeout: 264 seconds]
timonv^ has joined #ruby
wjimenez_ has joined #ruby
lw has quit [Quit: s]
coderdad has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
spyderman4g63 has quit []
<epitron> oh yeah, "alias"'d methods don't work on subclasses
Kricir has joined #ruby
<epitron> that's a huge suck
Synthead has joined #ruby
<epitron> or rather, they don't dynamically lookup the method they're aliased to
<epitron> so you can't override it
wjimenez5271 has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby
timonv_ has quit [Ping timeout: 272 seconds]
skolman_ has joined #ruby
marlonandrade has joined #ruby
kobain has quit [Ping timeout: 272 seconds]
deject3d has quit [Quit: Computer has gone to sleep.]
jerius has quit []
skolman_ has quit [Remote host closed the connection]
<epitron> no wait, that doesn't happen
aclearman037 has quit []
skolman_ has joined #ruby
dmr8 has joined #ruby
<epitron> alias_method doesn't dynamically lookup the method
kobain has joined #ruby
djbkd has joined #ruby
jimms has quit []
dmr has left #ruby [#ruby]
russt_ has joined #ruby
bmurt has quit []
tesaf has quit [Quit: Lost terminal]
Kricir has quit [Ping timeout: 244 seconds]
jimmyhoughjr has joined #ruby
kobain has quit [Max SendQ exceeded]
<benzrf> epitron: write you'r own then
kobain has joined #ruby
<epitron> i'll write you!
<benzrf> i should go to a ruby meetup
<benzrf> and then just spend the whole time harrassing people to learn haskell :o)
ndrei has quit [Ping timeout: 245 seconds]
* epitron spends the whole time harassing benzrf about how nobody uses haskell in shipping code
kobain has quit [Max SendQ exceeded]
<benzrf> epitron: you are WRONG
<epitron> benzrf: nuh uh!
<epitron> benzrf: haskell: by academics, for academics
nsxt has quit [Quit: Leaving]
<benzrf> > AT&T
<epitron> benzrf: why have i never heard of them i bet they all failed
<benzrf> > Haskell is being used in the Network Security division to automate processing of internet abuse complaints. Haskell has allowed us to easily meet very tight deadlines with reliable results.
<benzrf> epitron: whoa you've never heard of AT&T?!
<epitron> that's not shipping code that's production support code
kobain has joined #ruby
<epitron> fail
<epitron> ^_^
<benzrf> define shipping
<epitron> OUT THE DOOR
iamjarvo has joined #ruby
NoNMaDDeN has quit [Remote host closed the connection]
<epitron> INTO YOUR COMPUTER/PHONE
sambao21 has quit [Quit: Computer has gone to sleep.]
<benzrf> >xmonad
anarang has quit [Quit: Leaving]
<epitron> more like ex-monad am i right
skolman_ has quit [Ping timeout: 245 seconds]
<epitron> (i'm being facetious here btw)
emmesswhy has joined #ruby
wldcordeiro has quit [Remote host closed the connection]
kobain has quit [Max SendQ exceeded]
<epitron> (see how i distracted you from harassing the rubyists? :)
dte has joined #ruby
blackmesa has joined #ruby
<rpag> pandoc is haskell too
kobain has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Ping timeout: 260 seconds]
<rpag> i know because it installs like 100 deps
<epitron> paindoc more like it
<benzrf> mfw
obscured has quit [Quit: leaving]
<benzrf> rpag: >not having haskell already installed
<benzrf> pfft
<epitron> git-annex more like got-a-pain-in-my-necks
dr_bob has joined #ruby
dte has quit [Remote host closed the connection]
kobain has quit [Max SendQ exceeded]
sambao21 has joined #ruby
<epitron> benzrf: that is actually an annoying thing about haskell... cabal installing 5 zillion dependencies that take hours to build
<epitron> it's way nicer when it's packaged by the distro as one massive blob
havenwood has quit []
<benzrf> epitron: use nix!
kobain has joined #ruby
CodeBunny has joined #ruby
<epitron> is nix usable? :)
Soda has quit [Remote host closed the connection]
<benzrf> epitron: i use it!
<banister> epitron i liked your jokes btw (just in case you were unhappy you got no laughs, but i did give a little chuckle)
<benzrf> for haskell stuff, anyway
<epitron> banister: :D
lolmaus has quit [Quit: Konversation terminated!]
afhammad has quit []
<benzrf> epitron: i interpreted it as deliberately overstating your position but u still thinking haskell is `by academics for academics'
djbkd has joined #ruby
kobain has quit [Max SendQ exceeded]
TripleDES has quit [Remote host closed the connection]
<epitron> benzrf: i'm trolling you bro
<benzrf> i k n o w :{
<epitron> but seriously nobody uses haskell get with the program
dr_bob has left #ruby [#ruby]
iamjarvo has quit [Client Quit]
<benzrf> gr8 b8 m8 i r8 it 8/8
kobain has joined #ruby
monkeypatch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AR45 has joined #ruby
AR45 has quit [Client Quit]
zlude has quit [Quit: Leaving]
tkuchiki has joined #ruby
kobain has quit [Max SendQ exceeded]
<epitron> iz f8
cu__ has quit [Quit: Computer has gone to sleep.]
kobain has joined #ruby
danguita has joined #ruby
chrishough has quit [Ping timeout: 272 seconds]
MCDev has quit [Ping timeout: 250 seconds]
carraroj has joined #ruby
monkeypatch has joined #ruby
monkeypatch has quit [Max SendQ exceeded]
yokel has quit [Ping timeout: 260 seconds]
monkeypatch has joined #ruby
monkeypatch has quit [Max SendQ exceeded]
dmr8 has quit [Quit: Leaving]
monkeypatch has joined #ruby
monkeypatch has quit [Max SendQ exceeded]
russt_ has quit [Quit: russt_]
yokel has joined #ruby
tkuchiki has quit [Ping timeout: 260 seconds]
iliketurtles has quit [Quit: zzzzz…..]
dmr has joined #ruby
dmr has quit [Client Quit]
lektrik has quit [Quit: Leaving]
ldnunes has quit [Quit: Leaving]
kaspergrubbe has quit []
largus has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
goodenough has quit [Remote host closed the connection]
livathinos has quit [Remote host closed the connection]
mkaesz has quit [Remote host closed the connection]
crunk_bear has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
livathinos has joined #ruby
Jackneill_ has joined #ruby
fabrice31 has joined #ruby
grzywacz has quit [Ping timeout: 240 seconds]
chrishough has joined #ruby
Jackneill has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
goodenough has joined #ruby
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has quit [Quit: axl_]
livathinos has quit [Ping timeout: 245 seconds]
ekinmur has quit []
x77686d has joined #ruby
st1gma has quit [Read error: Connection reset by peer]
jonathan_alban has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Ankhers has quit [Ping timeout: 264 seconds]
lw has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
claymore has quit [Quit: Leaving]
ghr has quit [Ping timeout: 272 seconds]
tylersmith has quit []
largus has quit [Remote host closed the connection]
largus has joined #ruby
mib_mib has quit [Ping timeout: 246 seconds]
cu__ has joined #ruby
froggy_ has joined #ruby
Nogbit has joined #ruby
codecop has quit [Remote host closed the connection]
rubyonrailed has quit [Remote host closed the connection]
chrishou_ has joined #ruby
<benzrf> >> -> {3} << 4
<eval-in_> benzrf => undefined method `<<' for #<Proc:0x409ccf44> (NoMethodError) ... (https://eval.in/203781)
<benzrf> m
<benzrf> *hm
charliesome has quit [Quit: zzz]
chrishough has quit [Read error: Connection reset by peer]
largus_ has joined #ruby
thsig_ has quit []
largus has quit [Read error: Connection reset by peer]
thsig has joined #ruby
Zettam has joined #ruby
froggy__ has quit [Ping timeout: 246 seconds]
iliketurtles has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<epitron> >> -> {3}[4] << 4
<eval-in_> epitron => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/203799)
Axy has quit [Read error: Connection reset by peer]
<epitron> sneaky lambdas
<epitron> >> -> {|*|3}[4] << 4
<eval-in_> epitron => /tmp/execpad-0f9cf0185fd3/source-0f9cf0185fd3:2: syntax error, unexpected '|' ... (https://eval.in/203802)
<epitron> so sneaky
jasooon has joined #ruby
cu__ has quit [Quit: Computer has gone to sleep.]
<epitron> >> ->(*) {3}[4] << 4
<eval-in_> epitron => 48 (https://eval.in/203809)
<epitron> YAY
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Quit: ChatZilla 0.9.91 [Firefox 32.0.3/20140923175406]]
d4nku has quit [Remote host closed the connection]
rubyonrailed has joined #ruby
d4nku has joined #ruby
reset has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
sambao21 has joined #ruby
<Nogbit> anyone use the RestClient or similar gem on a heroku worker?
benzrf is now known as benzrf|offline
chrishou_ has quit [Quit: Textual IRC Client: www.textualapp.com]
allcentury has quit [Ping timeout: 246 seconds]
Morkel has quit [Quit: Morkel]
chrishough has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<Nogbit> im wonder if you are able to do "gets" using a client x509 cert and key, this isnt a problem locally, havent tested there yet
jasooon has quit [Ping timeout: 240 seconds]
d4nku has quit [Ping timeout: 246 seconds]
bobishh has quit [Ping timeout: 272 seconds]
<epitron> is "gets" get over https? or do you mean $stdin.gets?
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
threesixes has quit [Quit: SATAN!!!!!!!!]
codezomb has joined #ruby
Takle has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
jonathan_alban has joined #ruby
dgaffney has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<dgaffney> Hey all
<epitron> o/
<dgaffney> I'm having a hell of a time battling this stupid sessions crap in sinatra
Deele has quit [Ping timeout: 260 seconds]
cndiv_afk has quit [Ping timeout: 272 seconds]
<epitron> first mistake: using stupid sessions
<epitron> use smart sessions
<epitron> or, at the very least, above average sessions
<dgaffney> define this, epitron
<dgaffney> googling that phrase yields nothing useful
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> he's joking
<epitron> hahah
<dgaffney> UGH
<dgaffney> :((((
<epitron> sorry!
<dgaffney> I'm trying to pass an oauth token around
timonv^ has quit [Remote host closed the connection]
<dgaffney> I've done this at least a dozen times
<dgaffney> Dunno why its crapping on me right now
<dgaffney> real glad I have to do this dance once more
<epitron> the very code that you're using has worked before?
<dgaffney> lawl yep
<epitron> maybe u got banned
maletor has joined #ruby
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<epitron> token revoked
<dgaffney> on a brand new app?
lw has quit [Read error: Connection reset by peer]
<dgaffney> nah
<epitron> dunno!
<epitron> remember, i'm the one who suggested smart sessions
<dgaffney> the problem is setting the session before redirect looks golden
lw has joined #ruby
<dgaffney> coming back from the redirect, its gone!
<dgaffney> poof
<dgaffney> session has nothing useful in it
<dgaffney> love that.
<jhass> cookie still present in the client though?
lw has quit [Read error: Connection reset by peer]
<dgaffney> I mean I have a cookie...
chrishou_ has joined #ruby
<jhass> does it change?
lw has joined #ruby
<dgaffney> hold
<epitron> i used sinatra sessions once...
<dgaffney> yes
<dgaffney> drastically so
<epitron> that might be problematic
<dgaffney> request.session's val is all kinds of different.
cu__ has joined #ruby
<epitron> the question is: why did this suddenly change after working before?
<epitron> it's the same code!
Jarboe has quit []
<dgaffney> err, rack.session
<dgaffney> i dunno, epitron! It's been at least a year since I danced the OAuth dance.
<dgaffney> since then, new OS on the machine, life changes, etc
<dgaffney> you know
<dgaffney> time passed.
<jhass> uhm, I don't think storing anything in a session is exactly part of the oAuth dance
chrishough has quit [Ping timeout: 245 seconds]
<jhass> I was under impression you just use that as persistence layer
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> and maybe identifying the user
dcarmich has joined #ruby
<epitron> oauth doesn't NEED sessions, but it helps a lot :)
<epitron> knowing which user is which can be invaluable
<dgaffney> its a normal part as far as I've ever experienced it, jhass
<epitron> jhass does have a point though -- why don't you just display all the current valid oauth tokens to every user, and let them pick their favorite?
<jhass> dgaffney: that's just a way to remember it
Jackneill_ has quit [Read error: Connection reset by peer]
sailias has quit [Ping timeout: 260 seconds]
<dgaffney> correct, which is what I need to do
<jhass> dgaffney: could use whatever else, redis, memcached, dbms...
<dgaffney> blergh yeahhh I guess
gilr00y has quit [Remote host closed the connection]
<jhass> just nitpicking on calling it "part of the oAuth dance" ;)
gilr00y has joined #ruby
chuck_ is now known as chuck
<epitron> the floor is as much a part of the dance as the dance partner
tourne has quit [Ping timeout: 250 seconds]
crdpink has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
snath has quit [Ping timeout: 260 seconds]
<epitron> i thought the point of sinatra was that you didn't have to use big bundles of complexity like omniauth :)
<dgaffney> ugh
<dgaffney> blergh.
<dgaffney> I'm tired of this crap.
<epitron> look at manchu's code -- it's so short
<dgaffney> Yeah, I'm playing around
<dgaffney> I'll get it.
<epitron> dgaffney: seriously, don't give up that easily :)
<epitron> just take a break
<epitron> sleep on it
ryanleesipes has quit [Quit: Leaving]
<epitron> it'll all be easier when you have more neurotransmitters
<dgaffney> I am building a toy, so the level of energy I need to put in is pretty low
devdazed has quit [Quit: Computer has gone to sleep.]
<epitron> haha
<dgaffney> I left dev world about 3 months ago now, am back to school one final time
cassianoleal has quit [Quit: (null)]
<epitron> i hate when toys require oauth
<epitron> what a crappy toy
JoshGlzBrk has joined #ruby
<jhass> maybe line 12 is tripping?
<dgaffney> I really hate getting stuck on these silly things that dev-world version of me left dev-world for
arescorpio has joined #ruby
chrishou_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<epitron> you need an intern
<jhass> some reloading mechanism causing a new secret on every request?
startupality has joined #ruby
gilr00y has quit [Ping timeout: 260 seconds]
chrishough has joined #ruby
<dgaffney> I need undergrads
Takle has quit [Remote host closed the connection]
michaeldeol has joined #ruby
D9 has joined #ruby
jimbach has joined #ruby
<dgaffney> I think I might just say screw it for the night
<dgaffney> anyways, thanks epitron and jhass
JoshGlzBrk has quit [Client Quit]
weems|mac has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
snath has joined #ruby
enebo has quit [Quit: enebo]
wjimenez_ has quit [Read error: Connection reset by peer]
wjimenez5271 has joined #ruby
JoshGlzBrk has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
CorySimmons has joined #ruby
nrsk has joined #ruby
yokel has quit [Ping timeout: 260 seconds]
greenwolf has joined #ruby
{xenomorph} is now known as xenomorph
yfeldblum has joined #ruby
mary5030 has quit [Remote host closed the connection]
xenomorph is now known as {xenomorph}
rylev has joined #ruby
Lucky_ has joined #ruby
Lucky_ has quit [Client Quit]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dgaffney> UGH!
<dgaffney> fixed it.
<dgaffney> stupid dgaffney
<dgaffney> epitron and jhass: was on the local site at 127.0.0.1
e1senhorn has quit [Quit: (null)]
<dgaffney> redirect was set to respond at 0.0.0.0
* dgaffney self-defenestrates
<dgaffney> dumb dumb dumb. Don't do what I do, folks
<epitron> haha wow
<epitron> i would've never thought of that
yokel has joined #ruby
thagomizer has quit [Quit: Leaving.]
NoNMaDDeN has joined #ruby
geilt has quit [Read error: Connection reset by peer]
maasha has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
tvw has quit []
<dgaffney> Yeah, I just noticed it. After walking outside for a minute, of course
<dgaffney> All good, everything is normal again
jonr22 has joined #ruby
MissionCritical has quit [Ping timeout: 260 seconds]
kristofferR has joined #ruby
Lucky_ has joined #ruby
mpistone has joined #ruby
<epitron> haha
* dgaffney has caused enough of a ruckus in the channel for the night and leaves
<epitron> so i was right! the problem WAS that you needed to take a break!
<dgaffney> always :)
davasaurous has joined #ruby
francisfish has joined #ruby
<epitron> g
<epitron> g
krisquigley has quit [Ping timeout: 260 seconds]
<dgaffney> later
<epitron> hahahaha
NoNMaDDeN has quit [Ping timeout: 245 seconds]
x77686d has quit [Quit: x77686d]
dgaffney has quit []
skammer2 has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
tylersmith has joined #ruby
JoeGaudet has joined #ruby
sevvie has quit [Quit: leaving]
beef-wellington has quit [Ping timeout: 244 seconds]
davasaurous has quit [Remote host closed the connection]
geggam has quit [Ping timeout: 272 seconds]
kirun has quit [Quit: Client exiting]
jimmyhoughjr has joined #ruby
_KaszpiR_ has quit [Ping timeout: 240 seconds]
Mission-Critical has joined #ruby
davasaurous has joined #ruby
freerobby has quit [Quit: Leaving.]
ghr has joined #ruby
andrewlio has quit [Quit: Leaving.]
CorySimmons has quit [Quit: Bye!]
phone_ has quit [Quit: Leaving]
jimmyy has joined #ruby
twohlix has quit [Ping timeout: 272 seconds]
geggam has joined #ruby
benzrf|offline is now known as benzrf
timgauthier is now known as timgauthier_isaw
_KaszpiR_ has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skolman_ has joined #ruby
Takle has joined #ruby
CodeOmegaPrime has joined #ruby
volty has joined #ruby
abuzze has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
Mission-Critical is now known as MissionCritical
skolman_ has quit [Ping timeout: 258 seconds]
sysTemz- has joined #ruby
mpistone has quit [Remote host closed the connection]
blackmes1 has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skolman has joined #ruby
abuzze has quit [Ping timeout: 250 seconds]
MCDev has joined #ruby
agjacome has quit [Quit: leaving]
jasooon has joined #ruby
sysTemz- has quit [Remote host closed the connection]
tkuchiki has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
kobain has quit [Read error: Connection timed out]
cu__ has quit [Quit: Computer has gone to sleep.]
sevvie has joined #ruby
kobain has joined #ruby
rylev has quit []
dideler has quit [Ping timeout: 258 seconds]
narcan has joined #ruby
_KaszpiR_ has quit [Ping timeout: 245 seconds]
jobewan has quit [Quit: Leaving]
robbyoconnor has quit [Read error: Connection reset by peer]
redgetan has quit [Ping timeout: 258 seconds]
robbyoconnor has joined #ruby
ariera has joined #ruby
skolman has quit [Remote host closed the connection]
jespada has quit [Quit: Leaving]
<ariera> hello
sevvie has quit [Client Quit]
skolman_ has joined #ruby
Takle has quit [Remote host closed the connection]
spastorino has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 258 seconds]
greenwolf has quit [Remote host closed the connection]
<volty> ruby-2.1, is there return a return from block ?
<volty> just go — ask or report -- @ hello
Nogbit has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<volty> (just one return :) )
startupality has quit [Quit: startupality]
<volty> (i mean exit the block)
_KaszpiR_ has joined #ruby
skolman_ has quit [Ping timeout: 272 seconds]
<ariera> I am trying to write a gem. It has a CLI stored in the bin folder and i am having trouble requiring files. If I do bundle console everything works fine, executing the binary file raises "`require': cannot load such file" errors
<postmodern> i swear there was a method on IPAddr to determine if it's a non-routable address?
chrishough has joined #ruby
shiftins has joined #ruby
shiftins has left #ruby [#ruby]
ixti has joined #ruby
<ariera> the code is here: https://github.com/ariera/i19 if someone would be so kind to take a look with me :)
charliesome has joined #ruby
<volty> (^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^192\.168\.)|(^127\.0\.0\.1) // <- non routable, googling
<ariera> volty: not sure what you mean, but I seem to remember that that was one of the differences between lambdas and procs. Like "return" would just quit the block in one but quit the whole method on the other
<postmodern> ariera, was answering my question
TeresaP_ has joined #ruby
<ariera> oh, sorry, hahaha, just joined the chatroom in the middle of the conversation and i thought that was a question ^_^
yoshbu has joined #ruby
Takle has joined #ruby
t_mmyv has quit [Ping timeout: 246 seconds]
largus_ has quit []
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<volty> ariera was on my previous question (exit from a block), but never mind
chrishough has joined #ruby
benzrf is now known as benzrf|afk
mengu has quit []
kaspertidemann has quit []
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty> just next -- to exit a block, even with one iteration (actually a closure)
<TeresaP_> I'm having trouble with string.gsub to replace "Given(/^the app is (?:closed|not running)$/) do" with "Given(/^the app is (?:<span color='red'>closed|not running</span>)$/) do".
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<TeresaP_> Shouldn't it be step_name.gsub(/[Given|When|Then|Before|After|AfterStep|Transform][(].*[(??:?](.*)[)].*[)]/, "<span color='red'>\1</span>")
lw has quit [Quit: s]
<volty> what are those [] around ?
francisfish has quit [Remote host closed the connection]
chouchen has quit [Ping timeout: 260 seconds]
<towski> how do I make the ruby shared library
<volty> you use [] for a set of
<volty> towski: what do you mean? what is your goal?
stunder has quit [Remote host closed the connection]
<ariera> TeresaP_: i think the regexp should be like this: http://rubular.com/r/F45EM9WMK2
<towski> well I'm trying to run 'make libruby.so.2.0.0'
<towski> but I have to pass it some flags
<towski> and then I get undefined reference to `main'
<volty> CONFIGURE_OPTS="--enable-shared"
<towski> just a sec need to reload irc client
towski has quit [Quit: goodbye friends I am gone]
<volty> or similar, that one is for ruby build
freerobby has joined #ruby
towski has joined #ruby
ptrrr has joined #ruby
<towski> volty: ahh thanks
<volty> np // how ugly is rubular !!!
RichardLitt has joined #ruby
<volty> why do people setup so ugly colors, neither consistent with the white background below !
<TeresaP_> ariera that gives me "<span color='red'></span> do"
WismerTrashCry has quit [Remote host closed the connection]
<TeresaP_> I think something msut be wrong with the second parameter to gsub
<TeresaP_> But I followed the documentation
yfeldblu_ has joined #ruby
rubyonrailed has quit []
blackmes1 has quit [Ping timeout: 245 seconds]
<volty> post somewhere (with HUMAN background colors) just the string and the expected output
yfeldblum has quit [Ping timeout: 245 seconds]
alem0lars_ has quit [Quit: AFK..]
startupality has joined #ruby
cndiv_afk has joined #ruby
lw has joined #ruby
l3ck has joined #ruby
blackmes1 has joined #ruby
startupality has quit [Client Quit]
x77686d has joined #ruby
fabrice31 has joined #ruby
beef-wellington has joined #ruby
skolman_ has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
echevemaster has joined #ruby
startupality has joined #ruby
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
volty has left #ruby ["Konversation terminated!"]
yokel has quit [Ping timeout: 240 seconds]
ptrrr has quit [Quit: ptrrr]
phutchins has quit [Ping timeout: 260 seconds]
aspiers has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
djbkd has quit [Remote host closed the connection]
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
<towski> heh " cannot load such file'
volty has joined #ruby
yokel has joined #ruby
gsd has joined #ruby
gsd has quit [Client Quit]
gsd has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
gsd has quit [Client Quit]
sysTemz- has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsd has joined #ruby
gsd has quit [Client Quit]
lw_ has joined #ruby
<towski> arg I still get 'unknown encoding name - UTF-7'
x77686d has quit [Quit: x77686d]
TeresaP_ has quit [Ping timeout: 246 seconds]
emmesswhy has joined #ruby
lw has quit [Read error: Connection reset by peer]
emergion has joined #ruby
emmesswhy has quit [Client Quit]
alem0lars_ has joined #ruby
Pupeno has quit [Remote host closed the connection]
ephemerian has quit [Quit: Leaving.]
startupality has quit [Quit: startupality]
<towski> does the shared library just not have a lot of encodings for some reason
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
startupality has joined #ruby
moritzschaefer has joined #ruby
<towski> I guess i need to do something like ruby.c
yokel has quit [Ping timeout: 250 seconds]
<waxjar> what are you trying to do? o.O
danijoo has quit [Read error: Connection reset by peer]
aspires has quit []
danijoo has joined #ruby
michaeldeol has joined #ruby
<towski> use the ruby c api and run some ruby
emocakes has joined #ruby
robbyoconnor has quit [Max SendQ exceeded]
<towski> but when I run require 'uri', it can't find the UTF-7 encoding
iliketurtles has quit [Quit: zzzzz…..]
<waxjar> hmm, don't think i can help.
goodenough has quit [Remote host closed the connection]
<waxjar> i know in 1.9 you could get stuff like that, it was usually fixed by putting something like # encoding: utf8 at the top
<waxjar> but that's just pure ruby
omosoj has joined #ruby
geggam has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
vinleod has joined #ruby
alem0lars_ has quit [Quit: alem0lars_]
davasaurous has quit [Remote host closed the connection]
Spami has joined #ruby
robbyoconnor has joined #ruby
startupality has quit [Quit: startupality]
mrsolo has quit [Quit: Leaving]
icarus has quit [Remote host closed the connection]
dkphenom has joined #ruby
benzrf|afk is now known as benzrf|offline
djbkd has quit [Remote host closed the connection]
davasaurous has joined #ruby
zzz_Ridley has quit [Ping timeout: 250 seconds]
sysTemz- has quit [Quit: oooooh]
gccostabr has quit [Ping timeout: 245 seconds]
Pupeno has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
gccostabr has joined #ruby
jasooon has joined #ruby
<epitron> towski: hmm... why does URI need UTF-7?
skammer2 has quit [Ping timeout: 246 seconds]
MCDev has joined #ruby
<epitron> why does ANYTHING need UTF-7? :)
gsd has joined #ruby
StephenA1 has joined #ruby
iliketurtles has joined #ruby
<epitron> lol
<towski> dunno
<epitron> towski: it's trying to find the encoding because it's building a list of INCOMPATIBLE ENCODINGS :)
<epitron> HTML5ASCIIINCOMPAT = [Encoding::UTF_7, Encoding::UTF_16BE, Encoding::UTF_16LE, Encoding::UTF_32BE, Encoding::UTF_32LE]
<towski> heh
<epitron> uri/common.rb
<towski> :(
wallerdev has quit [Quit: wallerdev]
<epitron> that is really dumb
spicerack has joined #ruby
<epitron> why don't you just define Encoding::UTF_7
<towski> so is encoding an extension that gets included with ruby.c
<towski> yeah I can try
<epitron> just solve the immediate problem
<epitron> make URI load :)
lw_ has quit [Quit: s]
<epitron> i'm guessing not much code cares about UTF_7
Girakrok has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IceDragon has quit [Ping timeout: 244 seconds]
<epitron> it looks like net/imap.rb is the only other thing that cares
<epitron> but it has its own UTF-7 decoder
jasooon has quit [Ping timeout: 250 seconds]
wallerdev has joined #ruby
c107 has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
StephenA1 has quit [Client Quit]
jonmorehouse has joined #ruby
djbkd has joined #ruby
IceDragon has joined #ruby
GriffinHeart has joined #ruby
ariera has quit [Remote host closed the connection]
<epitron> oh, that's because it's not a real UTF-7 decoder -- imap invented their own version of UTF-7 :)
<towski> nice well that fixed the immediate problem
<towski> I assumed it was much deeper
teddyp1cker has joined #ruby
<epitron> bandaids \o/
nb_bez___ has joined #ruby
<epitron> i wonder why the specified the INCOMPATIBLE encodings
<epitron> wouldn't it make more sense to specify the compatible ones?
ctp has joined #ruby
<towski> interesting, it does seem to be able to load these utf_32le.so's somehow
<epitron> another amusing thing: that constant isn't even used in the codebase :)
goodenough has joined #ruby
<epitron> HTML5ASCIIINCOMPAT is defined, and never used anywhere
<towski> maybe just require 'enc/stuff'
<epitron> i think you should file a bug to remove it
ariera has joined #ruby
ariera has quit [Client Quit]
devdazed has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
soulcake has quit [Ping timeout: 260 seconds]
teddyp1cker has quit [Ping timeout: 244 seconds]
badhatter has quit [Read error: Connection reset by peer]
yokel has joined #ruby
<epitron> hackety hack has the UTF_7 problem as well
charliesome has quit [Quit: zzz]
charliesome has joined #ruby
davispuh has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 260 seconds]
nfk has quit [Quit: yawn]
<epitron> towski: what do you get from "iconv -l | fgrep UTF" ?
skolman_ has quit [Remote host closed the connection]
chouchen has joined #ruby
goodenough has quit [Remote host closed the connection]
<epitron> heh.. you solve someone's problem, and they abandon you
skolman_ has joined #ruby
Photism has quit [Quit: Leaving]
<towski> utf7 is there
<epitron> yeppp
<epitron> what version of ruby?
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
devdazed has quit [Quit: Computer has gone to sleep.]
soulcake has joined #ruby
devdazed has joined #ruby
boombadaroomba has quit [Remote host closed the connection]
icebourg has quit []
yfeldblu_ has quit [Remote host closed the connection]
<towski> this is 2.0.0 p 45x
badhatter has joined #ruby
yfeldblum has joined #ruby
aspires has joined #ruby
<towski> 451
<epitron> i was suggesting to try installing the iconv gem, but i dunno if that would add Encoding constants
<epitron> *i was thinking of suggesting
<epitron> ah well!
skolman_ has quit [Ping timeout: 240 seconds]
jadedphone has joined #ruby
klaut has quit [Remote host closed the connection]