jhass changed the topic of #ruby to: Welcome new users migrating from #ruby-lang! || Rules & more: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
<apeiros> sphex: nope
xelkarin has quit [Quit: WeeChat 1.1.1]
<sphex> alright
ekem has joined #ruby
jmhmccr has joined #ruby
skakri has joined #ruby
im0b has joined #ruby
pmarreck has joined #ruby
yeltzooo has joined #ruby
cek has joined #ruby
jmcc has joined #ruby
SegFaultAX has joined #ruby
knowtheory has joined #ruby
higuys has joined #ruby
_ixti_ has quit [Read error: Connection reset by peer]
jpinnix______ has joined #ruby
theery has joined #ruby
Musashi007 has quit [Quit: Musashi007]
rikai_ has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
mello has quit [Ping timeout: 252 seconds]
gambl0re has quit [Ping timeout: 252 seconds]
marr has quit []
frankS2 has joined #ruby
brandon__ has quit [Ping timeout: 276 seconds]
LiquidInsect has quit [Ping timeout: 276 seconds]
hippopot has joined #ruby
armyriad has quit [Disconnected by services]
<sphex> elektronaut: 1.8, was that before "real" unicode support?
dmoe has joined #ruby
CaptainCibai has quit [Ping timeout: 252 seconds]
hippopot is now known as armyriad
Thr3d has joined #ruby
andrewstewart has joined #ruby
CaptainCibai has joined #ruby
rikai has joined #ruby
ReK2 has quit [Quit: Konversation terminated!]
<elektronaut> sphex: sort of, yeah
LiquidInsect has joined #ruby
_ixti_ has joined #ruby
culturelabs has joined #ruby
brandon has joined #ruby
mello has joined #ruby
amitchellbullard has joined #ruby
ckrailo has joined #ruby
rflot has joined #ruby
brandon is now known as Guest19173
<sphex> I'm starting with 2.1 and won't ever have to use anything older. looks like my life will have been free of any hardship.
<havenwood> sphex: So an IO operation is failing?
cbednarski has joined #ruby
HashNuke has joined #ruby
cabreraM516 has quit [Quit: Textual IRC Client: www.textualapp.com]
<sphex> havenwood: no, syntax error in a custom parser
<havenwood> ah
alxndr has joined #ruby
bttf has joined #ruby
<havenwood> i totally misread the question
harleypig has joined #ruby
firevolt has joined #ruby
charles81 has joined #ruby
adambeynon has joined #ruby
pusewicz has joined #ruby
cschneid has joined #ruby
alakra has joined #ruby
whoojemaflip has joined #ruby
v0n has joined #ruby
c0ncealed has joined #ruby
danoo_ has joined #ruby
wookiehangover has joined #ruby
atmosx_ has joined #ruby
ratazzi has joined #ruby
yardenbar has joined #ruby
cgrieger^away has joined #ruby
GarethAdams has joined #ruby
CHVNX has joined #ruby
RegulationD has quit [Read error: Connection reset by peer]
Musashi007 has joined #ruby
joaomdmoura has joined #ruby
<sphex> now.. I gotta make a new derived exception class... and.. it gotta pretty-print right and show its error message right. hugh. I don't know how to do anything yet. :/
RegulationD has joined #ruby
cardoni has joined #ruby
manveru has joined #ruby
rfv has joined #ruby
<apeiros> sphex: just remember not to inherit from Exception directly
<elektronaut> sphex: good.. encoding is the only thing that makes me feel i know less the more i learn
NightMonkey has joined #ruby
bjeanes has joined #ruby
<apeiros> at max, inherit from StandardError
<sphex> dammit I can't think with all this netsplitting
lala has joined #ruby
chrisseaton has joined #ruby
<sphex> apeiros: oh ok
bcavileer has joined #ruby
<sphex> thanks
<havenwood> sphex: Check the right side for a rough idea of the Error landscape: https://www.gliffy.com/go/publish/5152080
t-richards has joined #ruby
zrl has joined #ruby
bove has joined #ruby
droidburgundy has joined #ruby
<sphex> yeah I read something about not catching Exception directly too. I remember stabbing threats I think...
Channel6 has quit [Ping timeout: 276 seconds]
<sphex> havenwood: oh neat. thanks!
<havenwood> sphex: zenspider has threatened stabbing on that account I believe ;)
<havenwood> but it will be like with Caesar, many daggers
t-richards has quit [Client Quit]
<sphex> it works. very mnemonic.
[diecast] has joined #ruby
theery has quit [Remote host closed the connection]
t-richards has joined #ruby
dorei has quit []
deimos has joined #ruby
adac has quit [Ping timeout: 252 seconds]
maZtah has joined #ruby
hellschreiber_ has joined #ruby
rafaelsales has quit [Remote host closed the connection]
felixjet__ has joined #ruby
Zamerick has joined #ruby
kenndel_ has joined #ruby
chouhoulis has joined #ruby
gr33n7007h has joined #ruby
flughafen_ has joined #ruby
sross07 has joined #ruby
Channel6 has joined #ruby
ex0ns has joined #ruby
joevandyk has joined #ruby
Scientz has joined #ruby
artmann_ has joined #ruby
neersighted_ has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
benatkin_ has joined #ruby
Esya has joined #ruby
firevolt_ has joined #ruby
jmhmccr_ has joined #ruby
coderkevin_ has joined #ruby
FastJack has joined #ruby
renderful has joined #ruby
harleypig_ has joined #ruby
robustus|Off has joined #ruby
lordkryss_ has joined #ruby
Blue_Ice_ has joined #ruby
bkutil_ has joined #ruby
robustus|Off is now known as robustus
hoey_ has joined #ruby
verto has joined #ruby
cjk101010_ has joined #ruby
kenndel_ has quit [Quit: Leaving]
mjc__ has joined #ruby
t-richards_ has joined #ruby
HashNuke_ has joined #ruby
lala_ has joined #ruby
bjeanes_ has joined #ruby
pizzaops_ has joined #ruby
Adran- has joined #ruby
bhaak has joined #ruby
bkxd has joined #ruby
rfv_ has joined #ruby
bcavileer_ has joined #ruby
manveru_ has joined #ruby
djbender_ has joined #ruby
deimos_ has joined #ruby
zrl_ has joined #ruby
SpleezeDos has joined #ruby
NeverDie_ has joined #ruby
bruno- has joined #ruby
jsaak has joined #ruby
[diecast]_ has joined #ruby
okdas_ has joined #ruby
rflot_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
krainboltgreene_ has joined #ruby
andrewstewart_ has joined #ruby
jpinnix_______ has joined #ruby
C0deMaver1ck_ has joined #ruby
sideshowcoder_ has joined #ruby
jmcc_ has joined #ruby
joaomdmoura_ has joined #ruby
ryotarai_ has joined #ruby
hellschreiber__ has joined #ruby
brb3_ has joined #ruby
knowtheory_ has joined #ruby
M-Technic has joined #ruby
dross has quit [Ping timeout: 264 seconds]
baweaver_ has joined #ruby
Derasi has joined #ruby
pmarreck_ has joined #ruby
Sypheren_ has joined #ruby
bove_ has joined #ruby
dmoe_ has joined #ruby
renderful has quit [Ping timeout: 256 seconds]
cardoni_ has joined #ruby
chrisseaton_ has joined #ruby
DroidBur_ has joined #ruby
nikkyjr has joined #ruby
NightMonkey_ has joined #ruby
vasilakisfil_ has quit [Quit: Konversation terminated!]
cek_ has joined #ruby
vasilakisfil_ has joined #ruby
culturelabs_ has joined #ruby
blackmes1 has quit [Ping timeout: 252 seconds]
t4nk266 has joined #ruby
mrsolo_ has joined #ruby
im0b_ has joined #ruby
<t4nk266> is there a way I can retrieve an objects' superclass instance? for example, https://gist.github.com/anonymous/0e5343809b164983d939
brb3_ has quit [Client Quit]
ggherdov_ has joined #ruby
kq_away_ has joined #ruby
frankS2_ has joined #ruby
stnly has joined #ruby
neersighted has quit [Ping timeout: 246 seconds]
maZtah has quit [Ping timeout: 246 seconds]
[diecast] has quit [Ping timeout: 246 seconds]
lala has quit [Ping timeout: 246 seconds]
mjmac has quit [Ping timeout: 246 seconds]
al2o3-cr has quit [Read error: Connection reset by peer]
harleypig has quit [Ping timeout: 246 seconds]
firevolt has quit [Ping timeout: 246 seconds]
flughafen has quit [Ping timeout: 246 seconds]
Klumben has quit [Ping timeout: 246 seconds]
shtirlic has quit [Ping timeout: 246 seconds]
hellschreiber_ has quit [Ping timeout: 246 seconds]
zrl has quit [Ping timeout: 246 seconds]
ckrailo has quit [Ping timeout: 246 seconds]
jmhmccr has quit [Ping timeout: 246 seconds]
Spleeze has quit [Ping timeout: 246 seconds]
okdas has quit [Ping timeout: 246 seconds]
jpinnix______ has quit [Ping timeout: 246 seconds]
joast has quit [Ping timeout: 246 seconds]
aredridel has quit [Ping timeout: 246 seconds]
joevandy1 has quit [Ping timeout: 246 seconds]
Zamerick__ has quit [Ping timeout: 246 seconds]
Scient has quit [Ping timeout: 246 seconds]
ggherdov has quit [Ping timeout: 246 seconds]
tobiasvl has quit [Ping timeout: 246 seconds]
hoey has quit [Ping timeout: 246 seconds]
ledestin has quit [Excess Flood]
kenndel has quit [Ping timeout: 246 seconds]
sorah has quit [Ping timeout: 246 seconds]
lordkryss has quit [Ping timeout: 246 seconds]
felixjet_ has quit [Ping timeout: 246 seconds]
Miron has quit [Ping timeout: 246 seconds]
Adran has quit [Excess Flood]
cbednarski has quit [Ping timeout: 246 seconds]
HashNuke has quit [Ping timeout: 246 seconds]
Cybergeek has quit [Ping timeout: 246 seconds]
C0deMaver1ck has quit [Ping timeout: 246 seconds]
ryotarai has quit [Ping timeout: 246 seconds]
sideshowcoder has quit [Ping timeout: 246 seconds]
artmann has quit [Ping timeout: 246 seconds]
ex0ns_ has quit [Ping timeout: 246 seconds]
Kilo`byte has quit [Ping timeout: 246 seconds]
nickjj has quit [Ping timeout: 246 seconds]
deimos has quit [*.net *.split]
t-richards has quit [*.net *.split]
bove has quit [*.net *.split]
droidburgundy has quit [*.net *.split]
bcavileer has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
bjeanes has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
rfv has quit [*.net *.split]
manveru has quit [*.net *.split]
cardoni has quit [*.net *.split]
joaomdmoura has quit [*.net *.split]
bttf has quit [*.net *.split]
alxndr has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
rflot has quit [*.net *.split]
culturelabs has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
dmoe has quit [*.net *.split]
knowtheory has quit [*.net *.split]
cek has quit [*.net *.split]
jmcc has quit [*.net *.split]
frankS2 has quit [*.net *.split]
pmarreck has quit [*.net *.split]
im0b has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
baweaver has quit [*.net *.split]
zets has quit [*.net *.split]
dgutierrez1287 has quit [*.net *.split]
uptownhr has quit [*.net *.split]
lhz has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
brb3 has quit [*.net *.split]
sross_work|2 has quit [*.net *.split]
shevy has quit [*.net *.split]
mjc_ has quit [*.net *.split]
pizzaops has quit [*.net *.split]
jeregrine has quit [*.net *.split]
NeverDie has quit [*.net *.split]
djbender has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
bkutil__ has quit [*.net *.split]
jsaak_ has quit [*.net *.split]
bhaak_ has quit [*.net *.split]
hasB4K_ has quit [*.net *.split]
Esya- has quit [*.net *.split]
eggoez has quit [*.net *.split]
Doc_IX has quit [*.net *.split]
peterhu_ has quit [*.net *.split]
verto_ has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
benatkin has quit [*.net *.split]
prosodyContext has quit [*.net *.split]
terrellt has quit [*.net *.split]
edwardly has quit [*.net *.split]
kq_away has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
Bish has quit [*.net *.split]
sparr has quit [*.net *.split]
skarn has quit [*.net *.split]
Hien has quit [*.net *.split]
stnly_ has quit [*.net *.split]
Mellett68_ has quit [*.net *.split]
hoelzro has quit [*.net *.split]
stoked has quit [*.net *.split]
M-Techni1 has quit [*.net *.split]
Zimsky_ has quit [*.net *.split]
Diabolik has quit [*.net *.split]
FastJack_ has quit [*.net *.split]
zly has quit [*.net *.split]
dbussink has quit [*.net *.split]
Guest15686 has quit [*.net *.split]
asi_ has quit [*.net *.split]
bruno-_ has quit [*.net *.split]
krainboltgreene has quit [*.net *.split]
mrsolo has quit [*.net *.split]
coderkevin has quit [*.net *.split]
rmoriz has quit [*.net *.split]
Sypheren has quit [*.net *.split]
leslie has quit [*.net *.split]
cj has quit [*.net *.split]
olistik_ has quit [*.net *.split]
opalraava has quit [*.net *.split]
snapcase has quit [*.net *.split]
NightMonkey_ is now known as NightMonkey
sideshowcoder_ is now known as sideshowcoder
ryotarai_ is now known as ryotarai
nikkyjr has quit [Client Quit]
Adran- is now known as Adran
neersighted_ is now known as neersighted
harleypig_ is now known as harleypig
Bish_ has joined #ruby
peterhu has joined #ruby
hasB4K has joined #ruby
hasB4K has quit [Changing host]
hasB4K has joined #ruby
stonith has joined #ruby
stonith has joined #ruby
Mohan has joined #ruby
aredridel has joined #ruby
Kilo`byte has joined #ruby
jmhmccr_ is now known as jmhmccr
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
[diecast]_ is now known as [diecast]
Mohan is now known as Guest42215
<elektronaut> t4nk266: c.class.superclass
jpinnix_______ is now known as jpinnix______
Mellett68 has joined #ruby
chrisseaton_ is now known as chrisseaton
prosodyContext_ has joined #ruby
joaomdmoura_ is now known as joaomdmoura
rflot_ is now known as rflot
rubie has quit [Remote host closed the connection]
lordkryss_ is now known as lordkryss
rubie has joined #ruby
knowtheory_ is now known as knowtheory
djbender_ is now known as djbender
hellschreiber__ is now known as hellschreiber_
bjeanes_ is now known as bjeanes
bcavileer_ is now known as bcavileer
krainboltgreene_ is now known as krainboltgreene
mrsolo_ is now known as mrsolo
zrl_ is now known as zrl
t-richards_ is now known as t-richards
andrewstewart_ is now known as andrewstewart
manveru_ is now known as manveru
pmarreck_ is now known as pmarreck
dmoe_ is now known as dmoe
baweaver_ has quit [Remote host closed the connection]
lala_ is now known as lala
cek_ is now known as cek
TheMoonMaster has joined #ruby
soulcake has quit [Ping timeout: 276 seconds]
bove_ is now known as bove
axilla has joined #ruby
bafbomb_1 has joined #ruby
mjc__ is now known as mjc_
blackmes1 has joined #ruby
hoelzro has joined #ruby
chris2 has joined #ruby
Agoldfish has joined #ruby
cj has joined #ruby
tvl has joined #ruby
Zimsky_ has joined #ruby
olistik_ has joined #ruby
joast has joined #ruby
snapcase has joined #ruby
opalraava has joined #ruby
shtirlic has joined #ruby
uptownhr has joined #ruby
dbussink has joined #ruby
bttf has joined #ruby
twistedpixels has joined #ruby
amitchellbullard has joined #ruby
alxndr has joined #ruby
Diabolik has joined #ruby
SegFaultAX has joined #ruby
dgutierrez1287 has joined #ruby
eggoez has joined #ruby
sorah has joined #ruby
jeregrine has joined #ruby
Cybergeek has joined #ruby
rmoriz has joined #ruby
ckrailo has joined #ruby
leslie has joined #ruby
cbednarski has joined #ruby
shevy has joined #ruby
mjmac has joined #ruby
lhz has joined #ruby
Klumben has joined #ruby
zly has joined #ruby
Hien has joined #ruby
jeregrine has joined #ruby
jeregrine has quit [Changing host]
amitchellbullard has quit [Changing host]
amitchellbullard has joined #ruby
alxndr has quit [Changing host]
alxndr has joined #ruby
cbednarski has quit [Changing host]
cbednarski has joined #ruby
ckrailo has joined #ruby
bttf has quit [Changing host]
bttf has joined #ruby
ckrailo has quit [Changing host]
soulcake has joined #ruby
Klumben has quit [Max SendQ exceeded]
maZtah has joined #ruby
tfittsy has joined #ruby
leslie has quit [Changing host]
leslie has joined #ruby
twistedpixels has joined #ruby
twistedpixels has quit [Changing host]
Dreamer3_ has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
Klumben has joined #ruby
Miron has joined #ruby
vasilakisfil_ has quit [Ping timeout: 256 seconds]
joast is now known as Guest93174
HashNuke_ is now known as HashNuke
uxp_ has joined #ruby
avalon_ has joined #ruby
shaman42_ has joined #ruby
hedgecor1 has joined #ruby
badeball_ has joined #ruby
Killerkeksdose_ has joined #ruby
susmus_ has joined #ruby
ljarvis_ has joined #ruby
rtl has joined #ruby
ada2358 has joined #ruby
deimos_ is now known as deimos
Janusz1_ has joined #ruby
destruct1re has joined #ruby
adamski2600 has quit [Remote host closed the connection]
patteh_ has joined #ruby
rdema has joined #ruby
pizzaops_ is now known as pizzaops
_kfpratt has joined #ruby
droidburgundy has joined #ruby
bnagy_ has joined #ruby
speaking1ode has joined #ruby
givello_ has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
atom3 has joined #ruby
`scootaloo has joined #ruby
adamski2600 has joined #ruby
unreal_ has joined #ruby
nwhirschfeld_ has joined #ruby
coderkevin_ is now known as coderkevin
jmcc_ is now known as jmcc
brb3 has joined #ruby
workmad3 has joined #ruby
xnr_ has joined #ruby
theRoUS` has joined #ruby
im0b_ is now known as im0b
DroidBur_ has quit [Ping timeout: 256 seconds]
culturelabs_ is now known as culturelabs
Radar_ has joined #ruby
derekv2 has joined #ruby
skarn has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
perryh has joined #ruby
otisZart has quit [Quit: Textual IRC Client: www.textualapp.com]
xnr has quit [Disconnected by services]
perryh has joined #ruby
perryh has quit [Changing host]
xnr_ is now known as xnr
pabloh has joined #ruby
pontiki has joined #ruby
<pontiki> hi
frankS2_ is now known as frankS2
Casty has joined #ruby
terrellt has joined #ruby
<t4nk266> elektronaut, it seems that gives me the Class type of the superclass which is close - i'm trying to get an actual instance of the superclass
<t4nk266> not sure if it's possible though
bruno- has quit [Ping timeout: 252 seconds]
adamski2600 has quit [Ping timeout: 276 seconds]
kaspergrubbe has joined #ruby
<t4nk266> i guess it's analogous to upcasting in C++
noethics has quit [Quit: Leaving]
charliesome has joined #ruby
droidburgundy has quit []
_main_ has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
atom3_ has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
voxxit_ has joined #ruby
<elektronaut> t4nk266: yeah, i doubt that is possible.
claptor has quit [Quit: this channel is bakas]
ggherdov_ is now known as ggherdov
cescalante_ has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
bakingbread has joined #ruby
<pabloh> Hi can some suggest a regexp (or some other way) to tell a windows path from a URI?
wjimenez5271_ has joined #ruby
riking_ has joined #ruby
shawnacscott has joined #ruby
yeticry_ has joined #ruby
perry has quit [Ping timeout: 261 seconds]
perryh is now known as perry
patteh has quit [Read error: Connection reset by peer]
bafbomb_ has quit [Write error: Connection timed out]
adaedra has quit [Ping timeout: 943 seconds]
rtl_ has quit [Ping timeout: 943 seconds]
badeball has quit [Ping timeout: 943 seconds]
shawnatyger has quit [Ping timeout: 943 seconds]
rdema_ has quit [Ping timeout: 943 seconds]
ada2358_ has quit [Ping timeout: 943 seconds]
martinbmadsen has quit [Ping timeout: 943 seconds]
kadoppe_ has quit [Ping timeout: 943 seconds]
shaman42 has quit [Ping timeout: 943 seconds]
Agoldfish378 has quit [Ping timeout: 943 seconds]
woodruffw has quit [Ping timeout: 943 seconds]
Gadgetoid has quit [Ping timeout: 943 seconds]
nwhirschfeld has quit [Ping timeout: 943 seconds]
Me1k0r has quit [Ping timeout: 943 seconds]
yeticry has quit [Ping timeout: 943 seconds]
vondruch has quit [Ping timeout: 943 seconds]
unreal has quit [Ping timeout: 943 seconds]
__main__ has quit [Ping timeout: 943 seconds]
Dreamer3 has quit [Ping timeout: 943 seconds]
kfpratt has quit [Ping timeout: 943 seconds]
Cork has quit [Ping timeout: 943 seconds]
voxxit has quit [Ping timeout: 943 seconds]
wjimenez5271 has quit [Ping timeout: 943 seconds]
destructure has quit [Ping timeout: 943 seconds]
derekv has quit [Ping timeout: 943 seconds]
theRoUS has quit [Ping timeout: 943 seconds]
uxp has quit [Ping timeout: 943 seconds]
Platini has quit [Ping timeout: 943 seconds]
cescalante has quit [Ping timeout: 943 seconds]
Janusz1 has quit [Ping timeout: 943 seconds]
Riking has quit [Ping timeout: 943 seconds]
Radar has quit [Ping timeout: 943 seconds]
riking_ is now known as Riking
Riking has joined #ruby
Riking has quit [Changing host]
_main_ is now known as __main__
Gadgetoid_ has joined #ruby
Gadgetoid_ is now known as Gadgetoid
kadoppe has joined #ruby
Doc_IX has joined #ruby
Cust0sLim3n has quit [Max SendQ exceeded]
Me1k0r has joined #ruby
martinbmadsen has joined #ruby
icedp has quit [Read error: Connection reset by peer]
bnagy has quit [Read error: Connection reset by peer]
woodruffw has joined #ruby
Cork has joined #ruby
sparr has joined #ruby
Platini has joined #ruby
vondruch has joined #ruby
kaspergr1bbe has quit [Ping timeout: 256 seconds]
tfitts has quit [Ping timeout: 256 seconds]
hedgecore has quit [Ping timeout: 256 seconds]
givello has quit [Ping timeout: 256 seconds]
susmus has quit [Ping timeout: 256 seconds]
speakingcode has quit [Ping timeout: 256 seconds]
Killerkeksdose has quit [Ping timeout: 256 seconds]
avalon has quit [Ping timeout: 256 seconds]
Cust0sLim3n has joined #ruby
atom3_ has quit [Ping timeout: 276 seconds]
axilla has quit [Ping timeout: 256 seconds]
<t4nk266> elektronaut, wow, thanks!
<elektronaut> i haven't actually tested that.. and i would probably be more explicit about it rather than relying on metaprogramming
<elektronaut> but that's basically how rails transfers instance variables from controllers to the views
chipotle has quit [Quit: cheerio]
atom3 has joined #ruby
<elektronaut> also, won't work if the parent class initializer requires arguments
axilla has joined #ruby
<t4nk266> elekronaut, got it. but it's somewhere to start, ty
Ropeney has joined #ruby
zenguy_pc has joined #ruby
vasilakisfil_ has joined #ruby
ndrei has joined #ruby
zenguy_pc has quit [Read error: No route to host]
fgo has joined #ruby
enebo has quit [Quit: enebo]
zets has joined #ruby
episage has joined #ruby
mt_ has joined #ruby
<episage> hi folks
<episage> how to use ruby's open to connect via proxy?
<episage> real_ip = open(checker_url, :proxy => ).read.strip
ndrei has quit [Ping timeout: 264 seconds]
zenguy_pc has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
axilla has quit [Ping timeout: 246 seconds]
nofxxx has quit [Read error: Connection reset by peer]
nofxxx has joined #ruby
<pontiki> hah, i just found it, too :)
<pontiki> ((i usually give up and just go with Net::HTTP...))
sweeper_ is now known as sweeper
pyon has quit [Quit: fixin muh confignyareshun nyaa!!1]
rafaelsales has joined #ruby
axilla has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
pyon has joined #ruby
blackmes1 has quit [Ping timeout: 252 seconds]
zets has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno_ has joined #ruby
uptownhr has quit [Quit: uptownhr]
rafaelsales has quit [Ping timeout: 264 seconds]
dopie has joined #ruby
Pupeno has quit [Ping timeout: 252 seconds]
vasilakisfil_ has quit [Ping timeout: 256 seconds]
premera has joined #ruby
ledestin has joined #ruby
fabrice31 has joined #ruby
<gr33n7007h> episage: res = open("https://www.google.com", :proxy => URI("http://103.29.251.231:8080"), :ssl_verify_mode => OpenSSL::SSL::VERIFY_NONE) if using https
<episage> gr33n7007h: does it have to be wrapped in URI if I have ip:port pair w/o http(s) ?
yfeldblum has quit [Ping timeout: 256 seconds]
<gr33n7007h> shouldn't do
<gr33n7007h> i just do it out of habit
<episage> ok
chris2 has quit [Ping timeout: 246 seconds]
<episage> gr33n7007h: works, thanks
<gr33n7007h> episage: np
iamninja has joined #ruby
<episage> but actually i need to put a valid schema
fabrice31 has quit [Ping timeout: 252 seconds]
* gr33n7007h can't wait for the raspberry pi 3
<zacts> there is a 3rd rpi?
<zacts> didn't rpi2 just get released?
<gr33n7007h> zacts: no yet
chipotle has joined #ruby
<zacts> ok
<pontiki> there's a new version of model B
seanstickle has joined #ruby
zenguy_pc has joined #ruby
<havenwood> Pi 2 Model B
chipotle has quit [Client Quit]
swgillespie has joined #ruby
seanstickle has quit [Client Quit]
* Nilium is currently setting up FreeBSD on his Pi 2.
<havenwood> Nilium: \o/
<Nilium> portsnap fetch has been running for like 3 hours
<havenwood> ha
<Nilium> I need to get a new SD card I think, 'cause that's totally an IO bound thing
zenguy_pc has quit [Max SendQ exceeded]
nietzschette__ has joined #ruby
Casty has quit [Quit: Textual IRC Client: www.textualapp.com]
StephenOTT has joined #ruby
<StephenOTT> What is a good lib to use to run your rack server and mongo db through a single command?
charliesome has quit [Quit: zzz]
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
episage has quit [Remote host closed the connection]
Azure|dc is now known as Azure
seanstickle has joined #ruby
nietzschette__ is now known as nietzschette
yfeldblum has joined #ruby
zenguy_pc has joined #ruby
davedev2_ has quit []
zenguy_pc has quit [Max SendQ exceeded]
bruno- has quit [Ping timeout: 264 seconds]
<_blizzy_> hello. I am using Ruby, and am trying to append to an array. however, I'm getting "undefined method << for nil class." https://gist.github.com/NotBlizzard/2d26618fe6c34b1ffd50
zenguy_pc has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<_blizzy_> ignore the messy code. it's on line 29
<nietzschette> you should put your declairation in an initialization function
dopie has quit [Quit: This computer has gone to sleep]
<_blizzy_> oh, ok.
keen____________ has joined #ruby
<nietzschette> @moves = [] from line 6 to line 16
<nietzschette> class BATTLE!?
<_blizzy_> ?
<_blizzy_> thanks, nietzschette
keen___________ has quit [Ping timeout: 252 seconds]
<nietzschette> np!
<_blizzy_> :)
<seanstickle> Better a class Battle
mcclurmc has joined #ruby
<seanstickle> Than a class war
<_blizzy_> lol.
<_blizzy_> it's a Pokemon bot.
<seanstickle> Use metaprogramming
<seanstickle> It's super-effective
<nietzschette> ahh.
<nietzschette> I made one for sdl with sprites ripped from ninja warrior
<nietzschette> it was also super-effective
swgillespie has joined #ruby
<_blizzy_> nice.
<nietzschette> does anyone else here use ruby sdl?
mcclurmc has quit [Ping timeout: 256 seconds]
mary5030 has joined #ruby
<nietzschette> I've run into issues when I upgrade, and I don't like being stuck in ruby 1.9 and i'd like to get with this century
<seanstickle> I don't. I have a game in mind, but I feel like it'll probably be easier to make it in JavaScript.
<nietzschette> yeah. I used ruby to learn GLSL and SDL
<nietzschette> and I'm starting to migrate code to C
jtdoncas has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<nietzschette> but I like to use it for some visualization of geometry problems and other bs. But I can't seem to get the latest versions to work
aredridel is now known as ARia
ARia is now known as Aria
mt_ has quit [Remote host closed the connection]
<nietzschette> it's like, the classes are all loaded but none of their methods. I don't know if this is an error in my build or what
StephenOTT has quit [Quit: StephenOTT]
yqt has quit [Ping timeout: 250 seconds]
Al3ks_ has joined #ruby
startupality has quit [Quit: startupality]
_pakchoi_ has quit [Remote host closed the connection]
baweaver has joined #ruby
htmldrum has joined #ruby
uptownhr has joined #ruby
Al3ks has quit [Ping timeout: 276 seconds]
rafaelsales has joined #ruby
startupality has joined #ruby
KnownSyntax has quit [Quit: Connection closed for inactivity]
dgutierrez1287 has quit [Remote host closed the connection]
uptownhr has quit [Ping timeout: 252 seconds]
startupality has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
nickjj has joined #ruby
seanstickle has left #ruby [#ruby]
j4cknewt has joined #ruby
jtdoncas has quit [Ping timeout: 264 seconds]
jfarmer has joined #ruby
fgo has joined #ruby
jtdoncas has joined #ruby
Agoldfish has quit [Quit: G'Bye]
bentanweihao has joined #ruby
j4cknewt has quit [Ping timeout: 252 seconds]
fgo has quit [Ping timeout: 246 seconds]
jtdoncas has quit [Ping timeout: 256 seconds]
Cust0sLim3n has quit [Max SendQ exceeded]
jeaye_ is now known as jeaye
Cust0sLim3n has joined #ruby
hahuang65 has joined #ruby
workmad3 has joined #ruby
axilla has quit [Ping timeout: 252 seconds]
NeverDie_ is now known as NeverDie
blue_deref has quit [Quit: bbn]
hahuang65 has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
bakingbread is now known as icedp
jglover has joined #ruby
<jglover> has anybody here been able to build and use either Thin or Puma, from a local gem
<jglover> maybe that makes no sense..
<jglover> gem install does something to build the parser, in both of those, that doesn't seem to get done if i clone out either repo and include it as a local gem in a project
<toretore> because then it's not a gem
<jglover> toretore: hm how so?
<pontiki> jglover: do you modify the source? otherwise i'm unclear about why you're including it in your repo
<jglover> gem "puma", :path => "/Users/jglover/Projects/puma-test/puma"
<jglover> pontiki: just interested in how webservers work, so I want to put logger statements in the various files in order to check out the flow of control
<pontiki> sure, that makes sense. you might need other things installed to make that work, depending on the original gem. i have no idea for puma
<pontiki> i can't actually answer your quesiton, tho :/
t4nk266 has quit [Ping timeout: 246 seconds]
<jglover> ill keep investigating then. having exactly the same issue in both gems, and I suspect if I tried any other webserver, it would be the same problem
<jglover> they both use the modified version of the mongrel http/1.1 parser, built with ragel
<jglover> and i need to do SOMETHING to get that sucker to work
<pontiki> it might have to do with how it's started, in either case
<toretore> did you try building and then installing the gem after you modified the source?
dopie has joined #ruby
<jglover> toretore: haven't even modified the source yet, just trying to get "hello world" to work
<toretore> gem build puma.gemspec; gem install puma-whatever.gem
<jglover> ill give it a shot
<toretore> remember to uninstall any puma versions you have installed already
bruno- has joined #ruby
noethics has joined #ruby
dlousy has joined #ruby
<jglover> man, i feel like its something with the file paths
<jglover> require': cannot load such file -- puma/puma_http11
<toretore> what happens when you build and install it>
<toretore> ?
<jglover> it appears to be fine
<jglover> no errors
<toretore> and how do you require it?
<toretore> don't use a Gemfile
icebourg has joined #ruby
<jglover> Using puma 2.11.3 from source at /Users/jglover/Projects/puma-test/puma
<jglover> ah i am using the gemfile
<toretore> ruby -rpuma -e'puts "hello"'
<jglover> doesn't like that one
mcclurmc has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
<Sypheren_> Anyone know about any open source projects handling evolutionary neuro networks?
scx_ has joined #ruby
mcclurmc has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
t_ has quit [Ping timeout: 264 seconds]
t_ has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shevy has quit [Remote host closed the connection]
zenguy_pc has quit [Read error: Connection reset by peer]
dross has joined #ruby
scx has quit [Ping timeout: 264 seconds]
<nietzschette> I've been dabbling
drewvanstone has joined #ruby
aridere has quit [Ping timeout: 252 seconds]
braincrash has quit [Quit: bye bye]
<nietzschette> I'd love to share but my ruby is broken
jglover has quit [Quit: leaving]
<pabloh> hello
drewvanstone has quit [Client Quit]
<pabloh> does anyone knows how to recognize if a filesystem path on a string is a valid windows path?
bnagy_ is now known as bnagy
<nietzschette> File.directory?(directory)
sdothum has quit [Ping timeout: 244 seconds]
darkf has joined #ruby
cappsio has joined #ruby
<pabloh> nietzschette, and for paths including file names?
nietzschette_ has joined #ruby
<bnagy> file?
<bnagy> bear in mind that what's valid for ruby might not be valid for native win32 APIs or external apps
<bnagy> ruby itself uses / as separator even on Windows
braincrash has joined #ruby
Casty has joined #ruby
nietzschette has quit [Ping timeout: 246 seconds]
nietzschette__ has joined #ruby
nietzschette__ has quit [Client Quit]
nietzschette_ has quit [Ping timeout: 264 seconds]
<pabloh> bnagy, but can you not use regular windows for File.read(), for instance?
gnarf_ is now known as gnarf
aridere has joined #ruby
zenguy_pc has joined #ruby
pablo__ has joined #ruby
dross has quit [Read error: Connection reset by peer]
pablo__ is now known as Guest50658
dross has joined #ruby
fabrice31 has joined #ruby
<noethics> Sypheren_, encog?
pabloh has quit [Ping timeout: 264 seconds]
jgpawletko has quit [Quit: jgpawletko]
ChoiKyuSang has quit [Excess Flood]
<pontiki> File.read doens't work on windows??
<pontiki> what?
Tempesta has joined #ruby
fabrice31 has quit [Ping timeout: 276 seconds]
letmein1723 has joined #ruby
dross has quit [Ping timeout: 252 seconds]
dross has joined #ruby
yoongkan_ has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
yoongkang has joined #ruby
iamninja has joined #ruby
Musashi007 has quit [Quit: Musashi007]
pontiki has quit [Quit: ZZZZZZZZ<clunk>NNNNNNNNN]
n008f4g_ has quit [Ping timeout: 276 seconds]
jlast has joined #ruby
mary5030 has joined #ruby
Vile` has quit [Quit: .]
dross has quit [Read error: Connection reset by peer]
gix has quit [Ping timeout: 256 seconds]
dross has joined #ruby
psy_ has quit [Remote host closed the connection]
havenn has joined #ruby
znz_jp0 has quit [Quit: kill -QUIT $$]
znz_jp has joined #ruby
havenwood has quit [Ping timeout: 252 seconds]
seansith has joined #ruby
MatthewsFace has joined #ruby
gix has joined #ruby
arescorpio has joined #ruby
psy_ has joined #ruby
pontiki has joined #ruby
mary5030 has quit [Remote host closed the connection]
chipotle has joined #ruby
Lucky_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> rehi
Exuma has joined #ruby
shevy has joined #ruby
dross has quit [Read error: Connection reset by peer]
dross has joined #ruby
Lucky_ has joined #ruby
Guest50658 has quit [Quit: Saliendo]
bronson has joined #ruby
michael_mbp has quit [Excess Flood]
santana has joined #ruby
malconis_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robertozimek has joined #ruby
michael_mbp has joined #ruby
mcclurmc has joined #ruby
Spami has joined #ruby
Spami has quit [Remote host closed the connection]
Spami has joined #ruby
fgo has joined #ruby
_djbkd has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 264 seconds]
aphprentice_ has quit [Remote host closed the connection]
mcclurmc has quit [Ping timeout: 252 seconds]
rubie has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
<shevy> yo
fgo has quit [Ping timeout: 276 seconds]
jlast has quit [Ping timeout: 276 seconds]
<Nilium> Hm, using CURRENT instead of RELEASE might've been a not entirely great decision just because it seems to have limited my use pkg, or I've just set something up wrong
jlast has joined #ruby
ropeney_ has joined #ruby
santana has quit [Quit: leaving]
dross has quit [Read error: Connection reset by peer]
dross has joined #ruby
jfarmer has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ropeney has quit [Quit: Leaving]
letmein1723 has quit [Quit: Bïtçh-X final release ¬ by iRC|pHrEaK ¬ Go get it free at : http://biatch-x.cjb.net]
schy has joined #ruby
scottschecter has quit [Quit: Leaving]
<schy> Here
<schy> wrong place
dross has quit [Read error: Connection reset by peer]
dross has joined #ruby
gr33n7007h has quit [Quit: the quieter you become, the more you are able to hear]
Cust0sLim3n has quit [Read error: Connection timed out]
<shevy> lol
Cust0sLim3n has joined #ruby
<shevy> #ruby is never the wrong place!
<schy> lol it was the wrong place just for a moment
<schy> I was going to send a screenshot
<schy> I <3 #ruby even tho I just lurk it.
<shevy> does anyone of you use ruby from the latest sources? I mean git-sources or svn-sources, whatever version control system is in use
<shevy> I have a weird problem with the latest ruby-2.2.2 tarball suddenly; I installed some other distribution
<shevy> linking miniruby
<shevy> gcc: error: miniprelude.o: No such file or directory
avahey has joined #ruby
<shevy> schy lurking and idling makes us stronger!
<schy> lol I want to have strong bones!
Plimsol has joined #ruby
<shevy> lol
<schy> I guess milk would be better than IRC :\
al2o3-cr has joined #ruby
<schy> but that method isn't found in the fridge class....
jlast has quit [Remote host closed the connection]
<schy> *sadface*
workmad3 has joined #ruby
mistergibson has quit [Quit: Leaving]
kahuna_ has quit [Quit: Lost terminal]
workmad3 has quit [Ping timeout: 256 seconds]
pragmatism has joined #ruby
Musashi007 has joined #ruby
GPrime has quit [Quit: Textual IRC Client: www.textualapp.com]
Plimsol has quit [Quit: Leaving]
icebourg has quit []
beneggett has quit [Ping timeout: 264 seconds]
unshadow has quit [Quit: leaving]
zenguy_pc has quit [Read error: No route to host]
serivich has joined #ruby
<baweaver> Ah, to those who had mentioned interest earlier, FP primer for Spark: http://baweaver.com/blog/2015/06/20/a-functional-programming-primer-for-spark/
oo_ has quit [Remote host closed the connection]
Exuma has quit []
yardenbar has quit [Quit: Leaving]
<shevy> a beaver blog
_blizzy_ has quit [Ping timeout: 265 seconds]
<shevy> that's a lot of import statements
<baweaver> one reason why I have a great deal of hate for Java
greenbagels has joined #ruby
<shevy> hehe
hanmac has quit [Ping timeout: 265 seconds]
<shevy> wow
datanoise has quit [Ping timeout: 256 seconds]
<shevy> that's some tight packing of statements:
<shevy> public static class IntSumReducer extends Reducer<Text,IntWritable,Text,IntWritable> {
al2o3-cr has quit [Quit: the quieter you become, the more you are able to hear]
<baweaver> Some people had mentioned wanting to check it out once I got it written up. I'll post around the usual channels
<baweaver> It's straight from Hadoops wordcount example
zenguy_pc has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
yeticry_ has quit [Ping timeout: 256 seconds]
<baweaver> Well back home for me. That's enough writing for tonight.
<baweaver> 'night all.
yeticry has joined #ruby
towski_ has joined #ruby
datanoise has joined #ruby
sarkyniin has quit [Quit: Quit]
baweaver has quit [Remote host closed the connection]
zenguy_pc has joined #ruby
al2o3-cr has joined #ruby
mary5030 has joined #ruby
<shevy> hmm
<shevy> is git checkout slower than svn checkout?
dross has quit [Ping timeout: 252 seconds]
<mozzarella> shouldn't be
<sphex> hey anybody using `ruby -r debug`? I'm having a hard time figuring out how to make it not exit after an uncaught exception.
<sphex> shevy: prolly depends on the server a lot
mcclurmc has joined #ruby
hanmac has joined #ruby
<heftig> svn checkout doesn't download the whole history, or necessarily the whole tree
<shevy> ah
blue_deref has joined #ruby
<shevy> yeah was wondering about that when I git clone the ruby repository
<heftig> while you can avoid the former with git (shallow clone), you can't avoid the latter
zenguy_pc has quit [Read error: Connection reset by peer]
<shevy> Receiving objects: 17% (54000
mary5030 has quit [Ping timeout: 246 seconds]
<heftig> shevy: git clone --depth 1
<shevy> ok
dross has joined #ruby
mcclurmc has quit [Ping timeout: 246 seconds]
Musashi007 has quit [Quit: Musashi007]
rubie has joined #ruby
al2o3-cr has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 246 seconds]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
al2o3-cr has joined #ruby
Casty has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Musashi007 has joined #ruby
zenguy_pc has joined #ruby
rubie has quit [Ping timeout: 265 seconds]
quazimod1 has quit [Ping timeout: 252 seconds]
fabrice31 has joined #ruby
arescorpio has quit [Quit: Leaving.]
zenguy_pc has quit [Read error: No route to host]
fabrice31 has quit [Ping timeout: 264 seconds]
zenguy_pc has joined #ruby
oo_ has joined #ruby
dross has quit [Ping timeout: 252 seconds]
framling has joined #ruby
t_mmyv has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
chinmay_dd has joined #ruby
blue_deref has quit [Quit: bbn]
theery has joined #ruby
jokester has quit [Quit: restart]
n3vtelen has joined #ruby
fgo has joined #ruby
Cache_Money has joined #ruby
Prawnzy has joined #ruby
rubie has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
fgo has quit [Ping timeout: 264 seconds]
jokester has joined #ruby
zenguy_pc has quit [Read error: No route to host]
Cache_Money has joined #ruby
sevenseacat has joined #ruby
baweaver has joined #ruby
bentanweihao has quit [Remote host closed the connection]
freedrul1 is now known as freedrull
towski_ has quit [Remote host closed the connection]
lxsameer has joined #ruby
[k- has joined #ruby
quazimodo has joined #ruby
hahuang65 has joined #ruby
ndrei has joined #ruby
araujo has joined #ruby
dented42 has joined #ruby
jalcine- is now known as jalcine
zenguy_pc has joined #ruby
theery has quit [Remote host closed the connection]
theery has joined #ruby
dross has joined #ruby
mcclurmc has joined #ruby
Soda has quit [Remote host closed the connection]
djbkd has joined #ruby
yfeldblum has joined #ruby
Torrieri has quit [Read error: No route to host]
Torrieri has joined #ruby
Torrieri has quit [Changing host]
Torrieri has joined #ruby
Soda has joined #ruby
dross has quit [Ping timeout: 256 seconds]
theery has quit [Remote host closed the connection]
zenguy_pc has quit [Ping timeout: 256 seconds]
mcclurmc has quit [Ping timeout: 246 seconds]
yoongkang has quit [Remote host closed the connection]
noethics has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
ta has joined #ruby
symm- has joined #ruby
beneggett has joined #ruby
quazimodo has quit [Ping timeout: 256 seconds]
nofxx has quit [Quit: Leaving]
adamski2600 has joined #ruby
Ilyas has joined #ruby
kenndel has joined #ruby
workmad3 has joined #ruby
A205B064 has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Quit: Musashi007]
adamski2600 has quit [Ping timeout: 256 seconds]
zenguy_pc has joined #ruby
<shevy> well
<sphex> hey. does ruby support something like "#line" directives?
<shevy> bloat comes naturally
<shevy> what is that directive
<shevy> a method?
<shevy> or how did you come to #line
<sphex> I mean a cpp-like directive to let the parser know which file name / line number the input came from.
toretore has quit [Quit: This computer has gone to sleep]
Spami has quit [Quit: This computer has gone to sleep]
ta has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
<[k-> __LINE__ sort of thing?
<sphex> [k-: yeah, but sort of the other way around
<[k-> Huh
<shevy> not sure how __LINE__ works on the C level
<shevy> ext/ripper/ripper.c: case keyword__LINE__:
fantazo has joined #ruby
<sphex> [k-: this is for generated code. I'd like to change the parser's idea of the current line number.
<shevy> lex.c: {"__LINE__", {keyword__LINE__, keyword__LINE__}, EXPR_END},
zenguy_pc has quit [Read error: Connection reset by peer]
<sphex> [k-: so that it reports the original line number from which the parsed code was generated in stack traces, syntax error exceptions, etc. C and Perl (and prolly others) change their idea of the current line number when they encounter "#line N" comments, which allows just that. (yacc/lex use that, for example)
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<[k-> Wait so you are changing line numbers and want the original one?
<[k-> I dont know cpp so...
<sphex> [k-: well, the generated code line numbers won't match the ones from the input from which it was generated. so yeah, I'd want to "fix" them.
<sphex> shevy: oh.. I see it allows to set the current line number / file name at the beginning of the parsing, but not sure afterward... :/
<[k-> Why not just use a map then
yardenbar has joined #ruby
amclain has quit [Quit: Leaving]
Torrieri has quit [Quit: Be back later ...]
<shevy> sphex if you don't find an easy way to change it, you could always try to write a feature suggestion at http://bugs.ruby-lang.org/projects/ruby-trunk for the ruby core team; I am not sure how many people here on #ruby know the internals well... I think there is #ruby-core or #ruby-dev either of these two; but they may be less active as there be less people there
bruno- has joined #ruby
adac has joined #ruby
<sphex> oh ok. yeah I'll do that if I can't find a way.
<[k-> instance_eval accepts line_no's too
<[k-> I...try abit too hard sometimes
<sphex> [k-: oh yeah... actually.. I guess I could generate code with some lines merged with ";", and emit some extra blank lines to keep the parser's line numbers in sync with the original ones. kinda kludgy though. :/
schy has quit [Quit: WeeChat 1.2]
bruno- has quit [Ping timeout: 246 seconds]
tsvenson has quit [Quit: Leaving]
<[k-> I mean having a key-value store to map the line no to each other
JoshGlzBrk has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
<[k-> So when you see line 7 on the generated one, you can replace it with 2 which is the original line
<sphex> [k-: that doesn't get it "into ruby", so the exceptions/stacktraces won't have those line numbers
railsraider has joined #ruby
theery has joined #ruby
lapide_viridi has joined #ruby
<[k-> Would it help? I'm not a smart guy in any way
blue_deref has joined #ruby
<sphex> [k-: it could.. I guess I could fixup the line numbers after exceptions occur.. but it would be a PITA.
Beoran_ has quit [Ping timeout: 276 seconds]
<[k-> I guess so
symm- has quit [Ping timeout: 264 seconds]
<[k-> But if you can't find an entry in the hash, it would mean that there is a problem with your generated code
theery has quit [Ping timeout: 256 seconds]
dominic has quit [Ping timeout: 250 seconds]
<[k-> So that would be a plus if you go down this road
tvw has joined #ruby
jfarmer has joined #ruby
zenguy_pc has joined #ruby
tsvenson has joined #ruby
kraljev11 has joined #ruby
kraljev11 is now known as kraljev11_
<sphex> shevy: eh, someone else already asked for this feature: https://bugs.ruby-lang.org/issues/11181
charliesome has quit [Ping timeout: 246 seconds]
rubie has quit [Remote host closed the connection]
pontiki has quit [Quit: ZZZZZZZZ<clunk>NNNNNNNNN]
bkxd has quit [Ping timeout: 252 seconds]
Beoran_ has joined #ruby
Paradox has quit [Read error: Connection reset by peer]
romero_ has quit [Quit: leaving]
romero has joined #ruby
mcclurmc has joined #ruby
Torrieri has joined #ruby
hahuang65 has quit [Ping timeout: 252 seconds]
Rollabun_ has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
[k- has quit [Remote host closed the connection]
Musashi007 has joined #ruby
chris2 has joined #ruby
yoongkang has joined #ruby
[k- has joined #ruby
mcclurmc has quit [Ping timeout: 264 seconds]
datanoise has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
bkxd has joined #ruby
Dopagod has joined #ruby
fabrice31 has quit [Ping timeout: 246 seconds]
gaucheph has joined #ruby
xcesariox has joined #ruby
GitGud has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Quit: Musashi007]
<shevy> aha?
greenbagels has quit [Quit: Leaving]
<shevy> comment that you also want this :)
<shevy> so he won't stay alone and under the radar :P
ropeney_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> nevermind I'll comment on your behalf ;P
adac has quit [Ping timeout: 256 seconds]
<sphex> ah great, thanks!
gianlucadv has joined #ruby
<shevy> the ruby core team is not that large... probably between 6-12 people
oo_ has quit [Remote host closed the connection]
<shevy> nobu is one of the most active... here is the latest changelog activity https://github.com/ruby/ruby/blob/trunk/ChangeLog
<shevy> "Nobuyoshi Nakada" is one of the main devs, like matz' right hand (matz works mostly on mruby https://github.com/mruby/mruby)
j4cknewt has joined #ruby
<sphex> oh really? 6-12? pretty surprising given the probably millions of users depending on it.
olistik_ has quit [Remote host closed the connection]
duderonomy has joined #ruby
<shevy> well there are some sporadic committers
beneggett has quit [Quit: ...zzz ¯\_(ツ)_/¯ zzz...]
gr33n7007h has joined #ruby
neanderslob_ has quit [Remote host closed the connection]
neanderslob has joined #ruby
blue_deref has quit [Quit: bbn]
<shevy> from that list it is mostly ... Yusuke Endoh; Naohisa Goto; Nobuyoshi Nakada; Koichi Sasada; Yui Naruse, I may have forgotten one or two more japanese devs. Unsure about non-japanese devs in core team being regularly active
<shevy> Aaron Patterson aka tenderlove perhaps
TinkerTyper has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Ping timeout: 276 seconds]
j4cknewt has quit [Ping timeout: 246 seconds]
<sevenseacat> yeah tenderlove is ruby core, also rails core
<sevenseacat> the only one to be both
<baweaver> Is he really the only one? Seems like there may be a few more.
<baweaver> Xavier Shay wouldn't surprise me if he was.
<sphex> does ruby have a large japanese user base too?
Torrieri has quit [Ping timeout: 252 seconds]
<sevenseacat> i thought he was. I may be wrong.
* baweaver shrugs
<sevenseacat> its been known to happen very very occasionally.
<baweaver> I've never looked into it myself.
TinkerTyper has joined #ruby
<shevy> sphex somewhat yeah, I think non-japanese users outnumber the japanese users by a huge margin actually
<shevy> but it's hard to say, I can't read japanese
<shevy> on rubygems.org though, I think there are more non-japanese than japanese
<pragmatism> My understanding is that Tenderlove contributes to both the Ruby and Rails cores.
<shevy> :)
<sphex> I'll probably end up using ruby a lot; I hope I'll contribute a bit to it.
<pragmatism> Ruby is fantastic.
<pragmatism> I've worked my way up the chain, and while slow, Ruby is my favorite language to build with.
User458764 has joined #ruby
<sphex> oh yeah. I was mostly using perl as a scripting languages, but.. well, that was my problem :p. I started learning python a few months ago and really didn't like it. I was used to doing things the way I wanted to. :/
<pragmatism> Have you worked in any other languages?
<sphex> mostly C/C++. I really like Scheme, but I never get to really use it.
<pragmatism> Object orient programming is worth doing a survey of
<pragmatism> Oh cool
fusillicode1 has joined #ruby
fusillicode1 has left #ruby [#ruby]
<pragmatism> Yeah, then you're set. I've found Ruby to be the most expressive language I've used
<pragmatism> I really enjoy working in it, and it is so easy to read comments are actually considered bad-practice.
<pragmatism> woo
<pragmatism> But check out jRuby and Rubinious.
<sphex> The smalltalk-ish design is pretty neat too... first time I ever used something like that.
<pragmatism> There are non-MRI interpreters that don't implement a GIL.
<pragmatism> Yeah, plus people like Sandi Metz are in the community now because of smalltalk.
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pragmatism> Excited to see what Ruby does in the next few years. Been playing around a lot with functional languages, too.
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
_blizzy_ has joined #ruby
antgel has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
<sphex> pragmatism: personally I'm not too worried about the performance for now. it seems like MRI had *huge* performance boosts lately; method calls look really fast compared to what I'm used to with perl. dynamic language OO design won't stress me out for the first time ever, eh. :p
last_staff has joined #ruby
scx has joined #ruby
<sphex> and I've always used processes for concurrency with scripting languages. mostly because I didn't really have a choice.
robertozimek has quit [Quit: Linkinus - http://linkinus.com]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
_blizzy_ has quit [Ping timeout: 246 seconds]
<pragmatism> Yeah, and that's the way EC2 is essentially architected.
jrhe_ has joined #ruby
scx_ has quit [Ping timeout: 276 seconds]
<sphex> oh?
bkxd has joined #ruby
<shevy> sphex you seem to come from the C-world; did you not use something like perl or php before?
_ixti_ has quit [Ping timeout: 276 seconds]
rafaelsales has quit [Remote host closed the connection]
<shevy> if you want a game written largely in scheme, check out nazghul/haxima: http://downloads.sourceforge.net/project/nazghul/nazghul/nazghul-0.7.1/nazghul-0.7.1.tar.gz
<shevy> I try to motivate the main author to not abandon it :P
<shevy> he tried to switch to python
<shevy> which failed
<shevy> :)
scx_ has joined #ruby
<shevy> sorry this is a better link, with pictures: /
<shevy> Last Update: 2014-04-07, so he did not abandon it entirely...
bruno- has joined #ruby
scx has quit [Ping timeout: 246 seconds]
<sphex> shevy: oh.. interresting. I heard about a few CommonLisp graphical games before.. but not Scheme, until now!
awer has joined #ruby
<shevy> the world is written in .scm files
<shevy> (say knpc "According to legend, the sorceress Isin almost single-handedly defeated two armies. "
<shevy> apparently that's some npc-dude speaking
<sphex> hrm. looks like he has his own scheme interpreter with persistency support, among other things
_ht has joined #ruby
fgo has joined #ruby
bruno- has quit [Ping timeout: 276 seconds]
neanderslob has quit [Remote host closed the connection]
fgo has quit [Client Quit]
sameerynho has joined #ruby
<awer> Hi. does anyone have a working example of posting a message with a set of facebook groups?
<awer> i would like to post one message multiple times to facebook groups by using a ruby script
<awer> i have got this work for pages just cant get it to works for groups
lxsameer_ has joined #ruby
lxsameer has quit [Ping timeout: 264 seconds]
beneggett has joined #ruby
<awer> im using koala
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
micmus has joined #ruby
gr33n7007h has quit [Read error: Connection reset by peer]
<shevy> lol
sameerynho has quit [Ping timeout: 256 seconds]
<shevy> baweaver look! they are using not only beavers but also koalas now
<[k-> shevy pls :(
mcclurmc has joined #ruby
unshadow has joined #ruby
<[k-> if it doesn't work using koala, contact the maintainer?
adamski2600 has joined #ruby
<[k-> if you need it now, try a different library
datanoise has joined #ruby
<awer> ok thanks
sinkensabe has joined #ruby
sameerynho has joined #ruby
* baweaver wanders back off
workmad3 has joined #ruby
lxsameer_ has quit [Ping timeout: 252 seconds]
scx_ has quit [Ping timeout: 252 seconds]
mcclurmc has quit [Ping timeout: 256 seconds]
rubie has joined #ruby
datanoise has quit [Ping timeout: 246 seconds]
adamski2600 has quit [Ping timeout: 246 seconds]
Cust0sLim3n has quit [Ping timeout: 246 seconds]
scx has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
workmad3 has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
The_Phoenix has joined #ruby
Cust0sLim3n has joined #ruby
rubie has quit [Ping timeout: 265 seconds]
casadei has quit [Remote host closed the connection]
hahuang65 has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
djbkd has quit [Quit: My people need me...]
duncannz has joined #ruby
hahuang65 has quit [Ping timeout: 276 seconds]
<pragmatism> sphex done anything functional?
sandstrom has joined #ruby
djbkd has joined #ruby
Torrieri has joined #ruby
bMalum has joined #ruby
al2o3-cr has joined #ruby
swgillespie has joined #ruby
olistik has joined #ruby
Torrieri has quit [Ping timeout: 256 seconds]
yoongkang has quit [Remote host closed the connection]
yoongkang has joined #ruby
DEA7TH has joined #ruby
ruby-lang521 has quit [Ping timeout: 246 seconds]
User458764 has joined #ruby
michael_mbp has quit [Excess Flood]
roolo has joined #ruby
beneggett has quit [Quit: ...zzz ¯\_(ツ)_/¯ zzz...]
bMalum has quit [Quit: bMalum]
beneggett has joined #ruby
michael_mbp has joined #ruby
blackmes1 has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
Igorshp has joined #ruby
chinmay_dd has quit []
sandstrom has quit [Quit: My computer has gone to sleep.]
dlousy has quit [Quit: Leaving]
Jackneill has joined #ruby
TvL2386 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
n008f4g_ has joined #ruby
peter_paule has joined #ruby
blackmes1 has quit [Ping timeout: 256 seconds]
duncannz has quit [Ping timeout: 264 seconds]
dfockler has joined #ruby
air_ has joined #ruby
fabrice31 has joined #ruby
Rollabun_ has quit [Remote host closed the connection]
adac has joined #ruby
wildroman2 has quit [Read error: No route to host]
dfockler has quit [Ping timeout: 252 seconds]
AvidChronos has joined #ruby
<pragmatism> Anyone interested in sharing lightning talks? My company does them weekly, and it would be awesome to hear about some of the problems other engineers are solving.
<pragmatism> * s/company/employer/g
fabrice31 has quit [Ping timeout: 265 seconds]
Igorshp has quit [Remote host closed the connection]
micmus has quit [Ping timeout: 276 seconds]
fantazo has quit [Ping timeout: 246 seconds]
allomov has joined #ruby
esposito has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 256 seconds]
esposito has quit [Client Quit]
mcclurmc has joined #ruby
duncannz has joined #ruby
bMalum has joined #ruby
Spami has joined #ruby
micmus has joined #ruby
Ropeney has joined #ruby
sinkensabe has quit [Remote host closed the connection]
revath has joined #ruby
AlexRussia has joined #ruby
djbkd has quit [Remote host closed the connection]
mcclurmc has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
blackmes1 has joined #ruby
starfox_1f has quit [Ping timeout: 252 seconds]
olistik has quit [Remote host closed the connection]
Cust0sLim3n has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
uptownhr has joined #ruby
lkba has quit [Ping timeout: 250 seconds]
djbkd has quit [Ping timeout: 265 seconds]
jacaho0 has quit [Quit: Leaving]
jacor has joined #ruby
hahuang65 has joined #ruby
User458764 has joined #ruby
DEA7TH has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
Tempesta has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
Cust0sLim3n has joined #ruby
tvw has quit []
tvw has joined #ruby
hahuang65 has quit [Ping timeout: 256 seconds]
tvw has quit [Remote host closed the connection]
jfarmer has quit [Quit: Textual IRC Client: www.textualapp.com]
_phwelo has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
Torrieri has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
peter_paule has quit [Ping timeout: 276 seconds]
serivich has quit [Ping timeout: 246 seconds]
wildroman2 has joined #ruby
Torrieri has quit [Ping timeout: 265 seconds]
multi_io has quit [Ping timeout: 250 seconds]
revath has left #ruby [#ruby]
multi_io has joined #ruby
serivich has joined #ruby
vasilakisfil_ has joined #ruby
timonv has joined #ruby
ttilley has quit [Quit: Leaving...]
unshadow has quit [Quit: leaving]
Tempesta has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
baweaver has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 246 seconds]
duncannz has quit [Ping timeout: 252 seconds]
serivich has quit [Ping timeout: 248 seconds]
mannyt has quit [Quit: Connection closed for inactivity]
duncannz has joined #ruby
blackmes1 has joined #ruby
marr has joined #ruby
adac has quit [Ping timeout: 264 seconds]
towski_ has joined #ruby
chinmay_dd has joined #ruby
spider-mario has joined #ruby
adamski2600 has joined #ruby
chrisseaton has quit []
chrisseaton has joined #ruby
workmad3 has joined #ruby
towski_ has quit [Ping timeout: 264 seconds]
phutchins has quit [Ping timeout: 276 seconds]
adamski2600 has quit [Ping timeout: 248 seconds]
bruno- has joined #ruby
FernandoBasso has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
jrhe_ has quit [Quit: Connection closed for inactivity]
mcclurmc has joined #ruby
mcclurmc has quit [Ping timeout: 244 seconds]
bentanweihao has joined #ruby
sdothum has joined #ruby
OrbitalKitten has joined #ruby
nofxxx has quit [Ping timeout: 246 seconds]
<air_>
serivich has joined #ruby
Musashi007 has joined #ruby
<air_>
Dopagod has quit [Ping timeout: 252 seconds]
<shevy> hey
<air_>
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<air_>
Torrieri has joined #ruby
quazimodo has joined #ruby
<[k-> I legitly see blank lines
User458764 has joined #ruby
fantazo has joined #ruby
<shevy> I think he has some invisible character there
Torrieri has quit [Ping timeout: 248 seconds]
serivich has quit [Ping timeout: 248 seconds]
sdothum has quit [Ping timeout: 256 seconds]
<shevy> but it may be hard to prove
nahtnam has quit [Quit: Connection closed for inactivity]
bkxd has quit [Ping timeout: 276 seconds]
avalon_ is now known as avalon
blackmesa has joined #ruby
Cust0sLim3n has quit [Ping timeout: 255 seconds]
vasilakisfil_ has quit [Ping timeout: 256 seconds]
blackmes1 has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
Cust0sLim3n has joined #ruby
fabrice31 has joined #ruby
<_jesterfraud> so, I assume there have been conversations about CodeClimate cli now, is there somewhere in particular to talk about it?
<_jesterfraud> I'm mainly trying to work out how to actually use it
<_jesterfraud> (as in, it's working, what now?)
ndrei has quit [Ping timeout: 264 seconds]
Janusz1_ is now known as Janusz1
bronson has quit [Ping timeout: 256 seconds]
fabrice31 has quit [Ping timeout: 244 seconds]
Papierkorb has joined #ruby
Janusz1 is now known as Janusz
vasilakisfil_ has joined #ruby
Janusz is now known as Janusz1
quazimodo has quit [Ping timeout: 276 seconds]
adamski2600 has joined #ruby
blackmes1 has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
yxhuvud has quit [Remote host closed the connection]
<shevy> what talk are you guys watching? first pragmatism now _jesterfraud, I seem to totally miss what is going on
<_jesterfraud> shevy, talk? I saw the blog post that says that CodeClimate have open sourced their engines etc
yxhuvud has joined #ruby
<pragmatism> Those posts are a few hours apart.
<_jesterfraud> which I've now successfully run over my work codebase, but I'm struggling to work out what that actually achieves
<_jesterfraud> oh right
<_jesterfraud> haha
marsjaninzmarsa has quit [Ping timeout: 248 seconds]
<_jesterfraud> pragmatism, are those talks being published or anything?
Rollabunna has joined #ruby
vasilakisfil_ has quit [Quit: Konversation terminated!]
vasilakisfil_ has joined #ruby
_jesterfraud is now known as jesterfraud
rubie has joined #ruby
Rollabunna has quit [Ping timeout: 256 seconds]
redondos has quit [Ping timeout: 252 seconds]
vkgfx has quit [Ping timeout: 246 seconds]
zenguy_pc has quit [Ping timeout: 264 seconds]
bMalum has quit [Quit: bMalum]
callumacrae has quit [Ping timeout: 276 seconds]
revath has joined #ruby
rubie has quit [Ping timeout: 265 seconds]
zarubin_ has joined #ruby
Ilyas_ has joined #ruby
zenguy_pc has joined #ruby
marsjaninzmarsa has joined #ruby
hahuang65 has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ilyas has quit [Ping timeout: 246 seconds]
vkgfx has joined #ruby
redondos has joined #ruby
pontiki has joined #ruby
hahuang65 has quit [Ping timeout: 265 seconds]
callumacrae has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
stamina has joined #ruby
<pontiki> morning
<apeiros> moin
<shevy> mn
chinmay__ has joined #ruby
chinmay_dd has quit [Ping timeout: 264 seconds]
kraljev11 has joined #ruby
<bnagy> m
air_ has quit [Ping timeout: 246 seconds]
kraljev11_ has quit [Ping timeout: 276 seconds]
revath has quit [Ping timeout: 272 seconds]
duncannz has quit [Remote host closed the connection]
zarubin_ has quit []
psy_ has quit [Ping timeout: 252 seconds]
exadeci has joined #ruby
<[k->
<[k-> ;)
<shevy> [k- you added too many characters there
<[k-> too many?
psy_ has joined #ruby
revath has joined #ruby
Torrieri has joined #ruby
Torrieri has joined #ruby
<[k-> I did a blank line!
gkra_ has quit [Ping timeout: 246 seconds]
sanjivupadhyaya has joined #ruby
ttilley has joined #ruby
<[k-> well there was a space but
<sanjivupadhyaya> anyone know which is the best gem for extracting google analytics data ?
bkxd has joined #ruby
User458764 has quit [Ping timeout: 248 seconds]
<sanjivupadhyaya> join #googleAnalytics
harly_ has quit [Read error: Connection reset by peer]
Torrieri has quit [Ping timeout: 248 seconds]
Cust0sLim3n has quit [Max SendQ exceeded]
User458764 has joined #ruby
ttilley has quit [Ping timeout: 244 seconds]
autrilla has joined #ruby
Ropeney has quit [Ping timeout: 248 seconds]
<[k-> you forgot a /
Cust0sLim3n has joined #ruby
sash__ is now known as sash_
railsraider_ has joined #ruby
railsraider has quit [Ping timeout: 252 seconds]
<shevy> "I first saw ASCII art in the summer of 1995 and was intrigued by it. My immediate thought was that there were people in this world who had too much time on their hands"
<shevy> can this be
<shevy> people who have too much time on their hands
railsraider_ is now known as railsraider
* shevy looks at #ruby in disbelief.
chinmay__ is now known as chinmay_dd
j4cknewt has joined #ruby
akkad has quit [Excess Flood]
akkad has joined #ruby
bentanweihao has quit [Remote host closed the connection]
subtwo has quit [Quit: (null)]
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby
mattarse has joined #ruby
datanoise has joined #ruby
aryaching has joined #ruby
workmad3 has joined #ruby
revath has quit [Ping timeout: 265 seconds]
[k- has quit [Read error: Connection reset by peer]
allomov has quit [Remote host closed the connection]
dorei has joined #ruby
[k- has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
datanoise has quit [Ping timeout: 265 seconds]
<jesterfraud> I don't have enough time on my hands, because I spend it all playing games
<jesterfraud> does that count shevy?
Pupeno_ is now known as Pupeno
Pupeno has quit [Changing host]
Pupeno has joined #ruby
blackmes1 has quit [Quit: WeeChat 1.2]
Synthead has quit [Ping timeout: 244 seconds]
<shevy> what kind of games?
<shevy> my high days of games sort of stopped... I am not even writing any games in ruby either
j4cknewt has quit [Remote host closed the connection]
vasilakisfil_ has quit [Quit: Konversation terminated!]
rubie has joined #ruby
vasilakisfil_ has joined #ruby
<shevy> it's often the case that 3D engines and similar, often written in C++, will have bindings for python
<shevy> and not for ruby
<shevy> so that also sucks
lkba has joined #ruby
fantazo has quit [Ping timeout: 276 seconds]
vasilakisfil_ is now known as vasilakisfil
rubie has quit [Ping timeout: 265 seconds]
yoongkang has quit [Remote host closed the connection]
revath has joined #ruby
mcclurmc has joined #ruby
_blizzy_ has joined #ruby
yoongkang has joined #ruby
kaichanvong_ has joined #ruby
awer has quit [Ping timeout: 276 seconds]
Synthead has joined #ruby
j4cknewt has joined #ruby
mcclurmc has quit [Ping timeout: 252 seconds]
peter_paule has joined #ruby
startupality has joined #ruby
datanoise has joined #ruby
t_ has quit [Ping timeout: 252 seconds]
vasilakisfil has quit [Read error: Connection reset by peer]
prasselpikachu_ is now known as prasselpikachu
vasilakisfil_ has joined #ruby
vasilakisfil_ has quit [Client Quit]
vasilakisfil_ has joined #ruby
nertzy3 has quit [Ping timeout: 276 seconds]
otherj has joined #ruby
vasilakisfil_ has quit [Ping timeout: 256 seconds]
kraljev11 has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
Aswebb_ has joined #ruby
Torrieri has joined #ruby
Torrieri has joined #ruby
t_ has joined #ruby
vasilakisfil_ has joined #ruby
htmldrum has quit [Ping timeout: 264 seconds]
phutchins has joined #ruby
A205B064 has joined #ruby
Torrieri has quit [Ping timeout: 255 seconds]
allomov has joined #ruby
revath has quit [Ping timeout: 276 seconds]
bohallor has joined #ruby
vasilakisfil_ has quit [Ping timeout: 256 seconds]
pontiki has quit [Quit: ZZZZZZZZ<clunk>NNNNNNNNN]
t_ has quit [Ping timeout: 256 seconds]
oddmunds1 is now known as oddmunds
j4cknewt has quit [Remote host closed the connection]
peter_paule has quit [Ping timeout: 272 seconds]
gianlucadv has quit [Ping timeout: 264 seconds]
JoshL has quit []
Papierkorb has quit [Ping timeout: 252 seconds]
Papierkorb_ has joined #ruby
t_ has joined #ruby
revath has joined #ruby
quazimodo has joined #ruby
<[k-> would you play a ruby game?
yoongkang has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 256 seconds]
<shevy> possibly; FIFE engine was quite nice
<shevy> http://www.fifengine.net/media.html but only python bindings
<shevy> and it's a lot of work to create games
Deele has joined #ruby
yasu has quit [Ping timeout: 256 seconds]
olistik has joined #ruby
t_ has quit [Read error: Connection timed out]
mattarse has quit [Quit: Leaving]
t_ has joined #ruby
sandstrom has joined #ruby
j4cknewt has joined #ruby
Rollabunna has joined #ruby
yasu has joined #ruby
Deele has quit [Ping timeout: 256 seconds]
j4cknewt has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 264 seconds]
bentanweihao has joined #ruby
vasilakisfil_ has joined #ruby
gaucheph__ has joined #ruby
kenndel_ has joined #ruby
mjmac_ has joined #ruby
darkf_ has joined #ruby
alxndr_ has joined #ruby
adaedra has joined #ruby
riking_ has joined #ruby
hedgecore has joined #ruby
ljarvis has joined #ruby
hanmac1 has joined #ruby
nickjj_ has joined #ruby
Janusz1_ has joined #ruby
Janusz1_ has joined #ruby
Janusz1_ has quit [Changing host]
Zinox101 has joined #ruby
bkxd_ has joined #ruby
romero_ has joined #ruby
Hien_ has joined #ruby
transiency has joined #ruby
sinkensabe has joined #ruby
givello has joined #ruby
symm- has joined #ruby
premera_n has joined #ruby
ht has joined #ruby
premera_n has quit [Excess Flood]
<sevenseacat> shevy: i chuckled
premera_n has joined #ruby
premera_n has quit [Excess Flood]
ht is now known as Guest35389
cbednarski_ has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
moloch has joined #ruby
jeregrine_ has joined #ruby
bougyman has quit [Ping timeout: 252 seconds]
SegFaultAX_ has joined #ruby
premera_n has joined #ruby
enebo has joined #ruby
premera_n has quit [Excess Flood]
bnagy_ has joined #ruby
hoelzro_ has joined #ruby
premera_n has joined #ruby
Pupeno_ has joined #ruby
premera_n has quit [Excess Flood]
bttf_ has joined #ruby
maZtah_ has joined #ruby
premera_n has joined #ruby
_main_ has joined #ruby
premera_n has quit [Excess Flood]
larshaugseth has joined #ruby
Miron_ has joined #ruby
premera_n has joined #ruby
znz_jp0 has joined #ruby
premera_n has quit [Excess Flood]
tobiasvl has joined #ruby
shawnatyger has joined #ruby
premera_n has joined #ruby
premera_n has quit [Excess Flood]
leslie_ has joined #ruby
shtirlic_ has joined #ruby
cj__ has joined #ruby
brb3_ has joined #ruby
brb3_ has quit [Changing host]
brb3_ has joined #ruby
premera_n has joined #ruby
Carnage\ has joined #ruby
skarn_ has joined #ruby
otherj_ has joined #ruby
t_ has quit [*.net *.split]
otherj has quit [*.net *.split]
bkxd has quit [*.net *.split]
sanjivupadhyaya has quit [*.net *.split]
_ht has quit [*.net *.split]
last_staff has quit [*.net *.split]
gaucheph has quit [*.net *.split]
chris2 has quit [*.net *.split]
romero has quit [*.net *.split]
lapide_viridi has quit [*.net *.split]
kenndel has quit [*.net *.split]
jokester has quit [*.net *.split]
hanmac has quit [*.net *.split]
shevy has quit [*.net *.split]
znz_jp has quit [*.net *.split]
darkf has quit [*.net *.split]
nickjj has quit [*.net *.split]
Al3ks_ has quit [*.net *.split]
premera has quit [*.net *.split]
Pupeno has quit [*.net *.split]
pyon has quit [*.net *.split]
sparr has quit [*.net *.split]
shawnacscott has quit [*.net *.split]
Riking has quit [*.net *.split]
cescalante_ has quit [*.net *.split]
__main__ has quit [*.net *.split]
terrellt has quit [*.net *.split]
skarn has quit [*.net *.split]
brb3 has quit [*.net *.split]
`scootaloo has quit [*.net *.split]
givello_ has quit [*.net *.split]
Janusz1 has quit [*.net *.split]
bnagy has quit [*.net *.split]
ljarvis_ has quit [*.net *.split]
hedgecor1 has quit [*.net *.split]
Klumben has quit [*.net *.split]
Miron has quit [*.net *.split]
Hien has quit [*.net *.split]
maZtah has quit [*.net *.split]
hoelzro has quit [*.net *.split]
cj has quit [*.net *.split]
tvl has quit [*.net *.split]
eggoez has quit [*.net *.split]
Zimsky_ has quit [*.net *.split]
dbussink has quit [*.net *.split]
Diabolik has quit [*.net *.split]
ckrailo has quit [*.net *.split]
bttf has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
cbednarski has quit [*.net *.split]
sorah has quit [*.net *.split]
Cybergeek has quit [*.net *.split]
alxndr has quit [*.net *.split]
rmoriz has quit [*.net *.split]
mjmac has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
jeregrine has quit [*.net *.split]
opalraava has quit [*.net *.split]
snapcase has quit [*.net *.split]
leslie has quit [*.net *.split]
shtirlic has quit [*.net *.split]
zly has quit [*.net *.split]
Guest93174 has quit [*.net *.split]
lhz has quit [*.net *.split]
SegFaultAX_ is now known as SegFaultAX
jokester has joined #ruby
lapide_viridi has joined #ruby
Diabolik has joined #ruby
romero_ has quit [Client Quit]
eggoez has joined #ruby
shevy has joined #ruby
jokester has quit [Client Quit]
terrellt has joined #ruby
rmoriz has joined #ruby
dbussink_ has joined #ruby
alxndr_ is now known as alxndr
Al3ks_ has joined #ruby
Klumben has joined #ruby
Cybergeek_ has joined #ruby
_main_ is now known as __main__
sdothum has joined #ruby
ttilley has joined #ruby
opalraava has joined #ruby
jokester has joined #ruby
Zimsky__ has joined #ruby
ckrailo has joined #ruby
twistedpixels has joined #ruby
Guest81882 has quit [Ping timeout: 250 seconds]
minibar has joined #ruby
jeregrine_ is now known as jeregrine
<minibar> anyone knows if it is possible to make comments on the .env file used by foreman?
bttf_ is now known as bttf
Ariadeno has joined #ruby
cbednarski_ is now known as cbednarski
maZtah_ is now known as maZtah
Ariadeno is now known as Guest70208
amitchellbullard has joined #ruby
snapcase has joined #ruby
cescalante has joined #ruby
snapcase has quit [*.net *.split]
peter_paule has joined #ruby
sorah has joined #ruby
ttilley has quit [Ping timeout: 250 seconds]
Synthead has quit [Ping timeout: 244 seconds]
dbussink_ is now known as dbussink
brb3_ is now known as brb3
bkxd_ has quit [Ping timeout: 250 seconds]
galeido^ has joined #ruby
Miron_ is now known as Miron
cvtsx1 has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
ziprar has joined #ruby
RazorX_ has joined #ruby
ChronosLegion has joined #ruby
<jesterfraud> minibar, is it a plain ruby file?
snapcase has joined #ruby
chris2 has joined #ruby
S_Walker has quit [Ping timeout: 265 seconds]
aytch has quit [Ping timeout: 265 seconds]
zz_Outlastsheep has quit [Ping timeout: 265 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
alem0lars__ has joined #ruby
oz has quit [Ping timeout: 265 seconds]
contradictioned has joined #ruby
[k- has quit [Ping timeout: 265 seconds]
suffice_ has quit [Ping timeout: 265 seconds]
brainslug has quit [Ping timeout: 265 seconds]
dijikul has quit [Ping timeout: 265 seconds]
galeido has quit [Ping timeout: 265 seconds]
scruple has quit [Ping timeout: 265 seconds]
iwishiwerearobot has quit [Ping timeout: 265 seconds]
surs has quit [Ping timeout: 265 seconds]
sumark has quit [Ping timeout: 265 seconds]
WillAmes has quit [Ping timeout: 265 seconds]
quarcu_ has quit [Ping timeout: 265 seconds]
gregf_ has quit [Ping timeout: 265 seconds]
kyle__ has quit [Ping timeout: 265 seconds]
tdy has quit [Ping timeout: 265 seconds]
maloik has quit [Ping timeout: 265 seconds]
seansith has quit [Ping timeout: 265 seconds]
tris has quit [Ping timeout: 265 seconds]
iwishiwerearobot has joined #ruby
vasilakisfil_ has quit [Ping timeout: 256 seconds]
peter_paule has quit [Ping timeout: 276 seconds]
hedgecore has quit [Ping timeout: 265 seconds]
julieeharshaw has quit [Ping timeout: 265 seconds]
cvtsx has quit [Ping timeout: 265 seconds]
Affix has quit [Ping timeout: 265 seconds]
contradictioned_ has quit [Ping timeout: 265 seconds]
Mia has quit [Ping timeout: 265 seconds]
kp666_ has quit [Ping timeout: 265 seconds]
RazorX has quit [Ping timeout: 265 seconds]
scottstamp has quit [Ping timeout: 265 seconds]
avelldiroll has quit [Ping timeout: 265 seconds]
Kharma has quit [Ping timeout: 265 seconds]
mrsolow has quit [Ping timeout: 265 seconds]
fold has quit [Ping timeout: 265 seconds]
mansel has quit [Ping timeout: 265 seconds]
Steve_Jobs has quit [Ping timeout: 265 seconds]
AvidChronos has quit [Ping timeout: 265 seconds]
zipace has quit [Ping timeout: 265 seconds]
shinnya has quit [Ping timeout: 265 seconds]
shadeslayer has quit [Ping timeout: 265 seconds]
mr_rich101 has quit [Ping timeout: 265 seconds]
EnergyCoffee has quit [Ping timeout: 265 seconds]
ccooke has quit [Ping timeout: 265 seconds]
<minibar> jesterfraud I don't think so
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
suffice has joined #ruby
Guest35389 is now known as _ht
sumark has joined #ruby
<minibar> is a configuration file with a list of key value pairs separated by =
s2013 has joined #ruby
maloik has joined #ruby
kyle__ has joined #ruby
hedgecore has joined #ruby
jenksy has joined #ruby
shadeslayer has joined #ruby
thomas1 has joined #ruby
Guest19828 has joined #ruby
ccooke has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
gregf_ has joined #ruby
Torrieri has joined #ruby
Guest19828 has quit [Changing host]
Guest19828 has joined #ruby
oz has joined #ruby
EnergyCoffee has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
sameerynho has quit [Quit: Leaving]
<jesterfraud> minibar, not sure this is the right place to ask then, foreman is a specific library
Guest19828 is now known as bougytoo
oz` has joined #ruby
zz_Outlastsheep has joined #ruby
shinnya has joined #ruby
brainslug has joined #ruby
mansel has joined #ruby
quarcu has joined #ruby
tris has joined #ruby
S_Walker has joined #ruby
mr_rich101 has joined #ruby
oz has quit [Read error: Connection reset by peer]
seansith has joined #ruby
oz` is now known as oz
Affix has joined #ruby
Affix is now known as Guest76548
julieeharshaw has joined #ruby
thomas has quit [Ping timeout: 619 seconds]
bougytoo is now known as bougyvoid
peter_paule has joined #ruby
<minibar> jesterfraud since it is a ruby gem I assumed you guys used it
darkf_ is now known as darkf
aytch has joined #ruby
Torrieri has quit [Ping timeout: 252 seconds]
<jesterfraud> minibar, there are 6468 gems listed on rubygems, we can't be experts on them all :P
atom3 has quit [Ping timeout: 276 seconds]
<minibar> jesterfraud you can't
<bougyvoid> that's only 6.5 gems per person here, jesterfraud
workmad3 has joined #ruby
<bougyvoid> if we work hard we can.
<minibar> ^
znz_jp0 has quit [Quit: kill -QUIT $$]
<minibar> that was going to be my point
Synthead has joined #ruby
<jesterfraud> hahahaha
Rollabunna has joined #ruby
znz_jp has joined #ruby
<jesterfraud> well, I can't see any documentation for Foreman, really
<jesterfraud> although I might just be blind
<jesterfraud> but I'd say there's no capabilities for comments within that file format
<jesterfraud> have you tried # comment?
railsraider_ has joined #ruby
sparr has joined #ruby
kirun has joined #ruby
j416_ has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
hector__ has joined #ruby
guardianx has joined #ruby
gregf_ has quit [Ping timeout: 276 seconds]
railsraider has quit [Ping timeout: 276 seconds]
atom3 has joined #ruby
railsraider_ is now known as railsraider
Rollabunna has quit [Ping timeout: 246 seconds]
Aswebb__ has joined #ruby
kp666_ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
Aswebb_ has quit [Ping timeout: 256 seconds]
Steve_Jobs has joined #ruby
tdy has joined #ruby
j416 has quit [Ping timeout: 252 seconds]
j416_ is now known as j416
surs has joined #ruby
fold has joined #ruby
Blaguvest has joined #ruby
ziprar has quit [Ping timeout: 244 seconds]
avelldiroll has joined #ruby
ndrei has joined #ruby
allomov has quit [Remote host closed the connection]
chris2 has quit [Ping timeout: 248 seconds]
bougyvoid is now known as bougyman
serivich has joined #ruby
yoongkang has joined #ruby
allomov has joined #ruby
<shevy> is there another way than: $/ = "\n\n"
blackmesa has joined #ruby
Aswebb__ has quit [Ping timeout: 265 seconds]
ruv has quit [Ping timeout: 276 seconds]
guardianx has quit []
gregf_ has joined #ruby
c-c_ is now known as c-c
jokester has quit [Quit: changing settings]
denver has joined #ruby
chris2 has joined #ruby
<shevy> I thought it would be $INPUT_RECORD_SEPARATOR
blackmesa has quit [Ping timeout: 272 seconds]
<shevy> ah require english
blackmesa has joined #ruby
bakednotfried has quit [Changing host]
bakednotfried has joined #ruby
pyon has joined #ruby
Aswebb_ has joined #ruby
<shevy> lol ascii art ponies https://github.com/mbasaglia/ASCII-Pony
bentanweihao has quit []
<shevy> "systempony is a script which shows a pony and system information."
<shevy> if you ever think you have a useless project
<shevy> look at github for more inspiration
<jesterfraud> for me, github entertainment = commit logs from last night
mistnim has joined #ruby
freerobby has joined #ruby
<shevy> the strangest part about ascii art
<shevy> is when someone signs it
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Xeago> what is a good gem for rendering table'd output?
<shevy> Xeago rendering how? ascii output?
<shevy> or some pdf file
<Xeago> I find myself wanting to read ENV['COLUMNS'] doing math, ljust's and rjusts
<Xeago> terminal output
<Xeago> just raw text
<Xeago> fooo is adjusted more details about foooo
<Xeago> with "foo is adjusted " length to be determined by the longest item of it's kind
sinkensabe has quit [Remote host closed the connection]
<Xeago> (plus a bit of padding)
weszlem has quit [Ping timeout: 256 seconds]
<Xeago> Can make a gist with a multiline example if you want
jokester has joined #ruby
mary5030 has joined #ruby
<Xeago> I suspect there must be something that does this given a simple hash
endash has joined #ruby
e1nh4nd3r has joined #ruby
<bougyman> maybe?
brb3 has quit []
brb3 has joined #ruby
<Xeago> yea cool, thanks!
klingeldraht has joined #ruby
<bougyman> seems a bit bound to those active record models, but maybe that's just for the examples
x0f has quit [Ping timeout: 252 seconds]
<jesterfraud> bougyman, "If you're not using ActiveRecord, the TablePrint default is to show all the methods defined directly on your object (nothing from superclasses/mixins)."
mary5030 has quit [Remote host closed the connection]
<bougyman> jesterfraud: seems fine, then
thomas1 is now known as thomas
<shevy> NameError: uninitialized constant Generator::DATA
<shevy> hmmm
<shevy> when is DATA available? the thing that comes after __END__
x0f has joined #ruby
<bougyman> Xeago: if you wanted to go it yourself, you could just grab longest = hash.keys.max_by(&:length) and printf "%-#{longest.length}s %s", k, v
mcclurmc has joined #ruby
<bougyman> it's available for me
<bougyman> maybe you want ::DATA
joast has joined #ruby
Rollabunna has joined #ruby
jesterfraud has quit [Ping timeout: 252 seconds]
<bougyman> works here.
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
Zinox101 has quit [Quit: Zinox101]
mcclurmc has quit [Ping timeout: 256 seconds]
sinkensabe has joined #ruby
serivichi has joined #ruby
autrilla has quit [Quit: Connection closed for inactivity]
serivich has quit [Ping timeout: 246 seconds]
sinkensabe has quit [Remote host closed the connection]
edwinvdg_ has joined #ruby
<shevy> bougyman hmm
edwinvdgraaf has quit [Ping timeout: 264 seconds]
<shevy> bougyman if you require the file from another file as well?
scottstamp has joined #ruby
<ddv> what do you prefer and why? 1) next if !header == 'ta' || !header == 'tz' 2) next if header != 'ta' || header != 'tz' 3) unless header == 'ta' || header == 'tz'
<shevy> test2.rb:3:in `initialize': uninitialized constant Test2::DATA (NameError)
<shevy> I can't seem to get it to work the moment I try to have it load up from another .rb file
<shevy> unless I seem to be doing some mistake here, it seems as if DATA is only file-local to the given file in question from where it is being run?
<shevy> ddv I hate them all. Does that help? :)
<shevy> let me think...
<shevy> nope, I hate them all. I think (3) is the best possibly because I have to think less
<ddv> shevy: funny a lot of people seem to dislike 3
<shevy> well (1) is the worst; let me look at (2)...
<shevy> hmm nope, I hate (2) too
<shevy> are they all equialent?
<shevy> *equivalent
<ddv> yes
<bougyman> data is file-local, I think.
<Mon_Ouie> No they're not. header != 'ta' || header != 'tz' is always going to be true.
<shevy> I guess I'd have to put them into my editor, and align them from top-down... on IRC it's all one single line without colours...
<ddv> Mon_Ouie: explain
joast has quit [Ping timeout: 276 seconds]
<shevy> bougyman ah ok thanks; I can solve that differently then, by just putting it into another file and loading that then reliably
<ddv> Mon_Ouie: what do you prefer?
<havenn> ddv: It will always either not equal one or the other since it can't be both.
mrsolow has joined #ruby
freerobby has quit [Quit: Leaving.]
<ddv> ah yes
<scx> i am not sure what it is doing: make --type argument optional or something else?
Kharma has joined #ruby
<Mon_Ouie> So, whichever one you can write right the first time is probably easier to understand
datanoise has quit [Ping timeout: 276 seconds]
<bougyman> um, works for me from another file, too, shevy
otherj_ has quit [Quit: .]
<ddv> I picked 1)
<ddv> because 3) can be confusing
<bougyman> the first file you load is the only one that populates DATA
<shevy> bougyman hmm
<Mon_Ouie> I don't know if you literally mean "!header == 'tz'"
kaichanvong_ has quit [Quit: Connection closed for inactivity]
<Mon_Ouie> Because that negates 'header' and compares the result with tz
Torrieri has joined #ruby
<Mon_Ouie> So if header is a string, !header is nil and nil is always different from 'tz'
<havenn> ddv: ^ which is going to produce warnings: warning: string literal in condition
<havenn> And not be what you want.
migbar has joined #ruby
<ddv> oooh good one
<shevy> cool... there is DATA.pos
<havenn> ddv: So if 1 and 3 don't do what you intend like Mon_Ouie points out... only 2 remains.
<Mon_Ouie> Those were 1) and 2) though
<havenn> Ah, numbers!
<ddv> I want it to skip this iteration if it is nil or not ta or tz
<havenn> ddv: Maybe show more of the context?
senayar has quit [Remote host closed the connection]
<Mon_Ouie> Then I'd go with next if (x != 'ta' && x != 'tz') (considering the fact that this means it can't also be nil)
jgt has joined #ruby
<jgt> hey folks
<shevy> ddv look! Mon_Ouie used ()
<ddv> so?
<shevy> that makes it cleaner
<ddv> Mon_Ouie: ok thanks
<jhass> shevy: I disagree :P
<shevy> if x != 'ta' && x != 'tz'
<jhass> yeah, much better
<shevy> hehe
<jgt> is there a way to use ruby to open another ruby file and return a list of all things that look like constants?
JoshGlzBrk has joined #ruby
<Mon_Ouie> I think I mostly felt like grouping it because of IRC, to separate code from the rest of the sentence
<shevy> jgt hmm you mean all CONSTANTS defined in a given (other) .rb file?
JoshGlzBrk has quit [Client Quit]
<shevy> if they are in a module or class, you could do: Name.constants
<jgt> shevy: I mean anything that looks like a class
<shevy> aha
<jgt> I have this rails app with a seeds.rb file
Torrieri has quit [Ping timeout: 276 seconds]
<jgt> I want to get a list of classes referenced in that seeds.rb file
<jgt> so I can exclude them from DatabaseCleaner
<jgt> rather than write them all out by hand
<jhass> uh
free_speech has joined #ruby
<jhass> write them out by hand
<shevy> if ruby would only allow per-file manipulations like that! ".rb file, tell me the constants you use"
<shevy> though I guess it's not a very common use case actually
<Mon_Ouie> Maintaining the complicated logic to properly detect the right constants is probably more work than maintaining the list of classes
_blizzy_ has quit [Ping timeout: 248 seconds]
<jgt> call me naïve, but the logic doesn’t seem to complicated to me, given all classes referenced in seeds.rb are written in the same way
<jgt> it’s basically SomeModelName.create([…]), but 21 times
<jgt> s/to/too/
micmus has quit [Ping timeout: 264 seconds]
<jgt> eh… I guess I’ll just write them
p1k has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
<Mon_Ouie> You could keep that list somewhere and loop over it to call create like seeds.rb does, and use it to exclude it from DatabaseCleaner
<p1k> hi
<jhass> p1k: hi
vasilakisfil_ has joined #ruby
iamninja has joined #ruby
<Mon_Ouie> But actually looking at the way the code looks at runtime is usually only a good idea for development tools, not for your application's code
<p1k> so I'm trying rbenv in a container instead of rvm to manage versions, and does it not auto-set new gem-paths when you switch versions? or am I missing something?
<jgt> Mon_Ouie: Do feature tests count as development tools? Or application code?
noethics has joined #ruby
Aswebb_ has quit [Ping timeout: 275 seconds]
rkadius has joined #ruby
vasilakisfil_ has quit [Client Quit]
countryHick has joined #ruby
sharpmachine has joined #ruby
vasilakisfil_ has joined #ruby
<shevy> jgt it should be trivial to grab all constants from a given .rb file; they must start with an uppercase character
<Mon_Ouie> Do you have tests that say 'code should look like X'? I think tests should test the behavior of code, not how it is structured, etc. --- otherwise those tests are just going to break if the implementation changes, even if it still works correctly
<jgt> Mon_Ouie: I’m not sure that’s relevant to this discussion
migbar has quit [Ping timeout: 255 seconds]
xtsee has quit []
sharpmachine has quit [Remote host closed the connection]
xtsee has joined #ruby
sharpmachine has joined #ruby
rkadius is now known as arkadius
rubie has joined #ruby
Aswebb_ has joined #ruby
micmus has joined #ruby
arkadius is now known as rkadius
<jgt> well, this seems to be a good start…
<jgt> File.open("db/seeds.rb") { |file| file.each { |line| puts line if line =~ /\.create/ } }
tvw has quit []
<jgt> that gets me the right lines
<jhass> seriously though, if I'd discover that in a codebase the author would get a long grumpy stare from me
rafaelsales has joined #ruby
<ddv> it's a pretty weird thing to do
rubie has quit [Ping timeout: 265 seconds]
The_Phoenix has quit [Quit: Leaving.]
rkadius has quit []
e1nh4nd3r1 has joined #ruby
vasilakisfil_ has quit [Ping timeout: 256 seconds]
<jgt> I don’t see the problem
<Mon_Ouie> Weird is fine, but it's extremely fragile. You'd have to read a completely different file to see why changing the syntax of the code in seeds.rb breaks things.
sinkensabe has joined #ruby
<jgt> Mon_Ouie: That’s a valid point
e1nh4nd3r has quit [Ping timeout: 246 seconds]
<jgt> I’m not sure what code is supposed to look like in seeds.rb though, if not SomeModel.create(…
<jhass> I've seen FactoryGirl.create
<jgt> I’d say my solution is actually more robust than writing all the tables out, since I don’t need to keep them in sync if I add to seeds.rb
<Mon_Ouie> If you had a list of the model names and the arguments to pass to create, you could just iterate over that list in seeds.rb to call create
<Mon_Ouie> And then you could also extract the name of the models from that list for DatabaseCleaner
sinkensabe has quit [Remote host closed the connection]
<jgt> Mon_Ouie: I’m curious how that would look
<jgt> would I separate the model names from the attributes?
<Mon_Ouie> SEEDS = [[SomeModel, [arg1, arg2]], [OtherModel, [thingy]]]
GitGud has joined #ruby
<Mon_Ouie> then juts SEEDS.each { |model, args| model.create(*args) }
<Mon_Ouie> or .map(&:first).uniq to get the classes
sharpmachine has quit [Ping timeout: 252 seconds]
vasilakisfil_ has joined #ruby
jgt1 has joined #ruby
jgt has quit [Read error: Connection reset by peer]
sharpmachine has joined #ruby
Me1k0r has quit [Quit: Konversation terminated!]
sharpmachine has quit [Remote host closed the connection]
atom3 has quit [Ping timeout: 276 seconds]
atom3 has joined #ruby
Torrieri has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
renderful has joined #ruby
jenrzzz has joined #ruby
ttilley has joined #ruby
shazaum has joined #ruby
davedev24_ has joined #ruby
renderful has quit [Ping timeout: 248 seconds]
p1k has quit [Quit: This computer has gone to sleep]
ttilley has quit [Ping timeout: 246 seconds]
AlexAltea has quit [Quit: Leaving]
p1k has joined #ruby
rubie has joined #ruby
sarkyniin has joined #ruby
Mon_Ouie has quit [Ping timeout: 256 seconds]
revath has quit [Ping timeout: 256 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
s2013 has joined #ruby
s2013 has quit [Max SendQ exceeded]
mary5030 has joined #ruby
rbennacer has joined #ruby
hector__ has quit [Quit: Leaving]
jordanm has joined #ruby
s2013 has joined #ruby
soulcake has quit [Ping timeout: 276 seconds]
Aswebb_ has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
mary5030 has quit [Ping timeout: 248 seconds]
uptownhr has quit [Quit: uptownhr]
rbennacer has quit [Remote host closed the connection]
workmad3 has joined #ruby
Ch0c0late has joined #ruby
baweaver has joined #ruby
rbennacer has joined #ruby
railsraider has quit [Quit: railsraider]
soulcake has joined #ruby
datanoise has joined #ruby
Mon_Ouie has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
bohallor has quit [Read error: Connection reset by peer]
bohallor has joined #ruby
Aswebb_ has joined #ruby
vasilakisfil_ has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 272 seconds]
bier has joined #ruby
rubie has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 276 seconds]
ejnahc_ has quit [Remote host closed the connection]
CHVNX has quit [Ping timeout: 252 seconds]
ejnahc has joined #ruby
enebo has quit [Quit: enebo]
senayar has joined #ruby
CHVNX has joined #ruby
quazimod1 has joined #ruby
joast has joined #ruby
quazimodo has quit [Ping timeout: 264 seconds]
sarkyniin has quit [Quit: Quit]
senayar has quit [Ping timeout: 246 seconds]
atom3 has quit [Ping timeout: 276 seconds]
revath has joined #ruby
atom3 has joined #ruby
flughafe1 has joined #ruby
p1k has quit [Quit: This computer has gone to sleep]
denver has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
railsraider has joined #ruby
blackmesa has joined #ruby
shinnya has quit [Ping timeout: 256 seconds]
chinmay__ has joined #ruby
Guest76548 is now known as Affix
Affix has quit [Changing host]
Affix has joined #ruby
chinmay__ is now known as chinmay_dd_
chinmay_dd has quit [Ping timeout: 256 seconds]
soulcake has quit [Ping timeout: 276 seconds]
bier_ has quit [Ping timeout: 272 seconds]
rubie has joined #ruby
rahul_j has joined #ruby
rahul_j has quit [Client Quit]
vudew_ has joined #ruby
vudew has quit [Ping timeout: 272 seconds]
yardenbar has quit [Quit: Leaving]
soulcake has joined #ruby
chinmay_dd_ is now known as chinmay_dd
p1k has joined #ruby
davedev2_ has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
Musashi007 has quit [Ping timeout: 276 seconds]
uptownhr has joined #ruby
joast has quit [Quit: Leaving.]
davedev24_ has quit [Ping timeout: 248 seconds]
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dross has joined #ruby
gianlucadv has joined #ruby
bpfh has joined #ruby
sinkensabe has joined #ruby
NeverDie has joined #ruby
fantazo has joined #ruby
Papierkorb_ has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
Channel6 has joined #ruby
Aswebb_ has quit []
doertedev has joined #ruby
davedev24_ has joined #ruby
e1nh4nd3r1 has quit [Quit: Leaving.]
e1nh4nd3r has joined #ruby
spider-mario has quit [Remote host closed the connection]
<shevy> >> $/
<ruboto> shevy # => "\n" (https://eval.in/385018)
<shevy> hmm
<shevy> if I modify this variable in one program
<shevy> that is used by other programs (.rb files)
<shevy> then I should reset its original value again lateron right?
rubie has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
fsvehla has joined #ruby
davedev2_ has quit [Ping timeout: 248 seconds]
<jhass> shevy: if you have concerns about that you should seek a better class design with stronger encapsulation
<bpfh> A question for you guys: what application do you use in your workplace for help desk services? We've been trying redmine here, but the help desk thing specifically IMO is not very suited for it
<shevy> oh you are doing lots of assumptions; for instance, I am looking at code written by someone else
<jhass> but yes, if you have to modify it you should reset it
<shevy> the code confused me
<shevy> he was using: $/ = "\n\n"
<shevy> and then DATA.readlines.sample
<noethics> SIDE EFFECTS
<lupine> some ruby globals are thread locals
<lupine> I don't think $/ is one of them
<lupine> seriously, sometimes ruby needs to GTFO
<jhass> shevy: doesn't readlines take that as parameter?
<shevy> lupine I get scared by those globals
<shevy> jhass yeah, I realized that too, which made me wonder even more about that code :))
maia has joined #ruby
<jhass> $/ is basically just the default value for a bunch of parameters
<jhass> it should be a constant IMO
<shevy> yeah
<Xeago> is there a loop_with_counter?
fsvehla has quit [Client Quit]
<Xeago> or something similar?
<shevy> or obtainable in another way, like through Kernel.method or something like that
<lupine> Xeago, 1.upto(number) do |i| ... end
<jhass> Xeago: each_with_index, Enumerator#with_index
<lupine> is about the closest you can get without using an external counter
maia has quit [Client Quit]
<shevy> loop_on_steroids do {|counter| }
<Xeago> I don't have a ceiling number perse, and I don't have something proper to iterate over…
<shevy> oh damn syntax error...
<jhass> #times, #upto, #downto, Range#each
<shevy> they don't wanna give you loop on steroids Xeago!
<jhass> Xeago: Float::INFINITY
<shevy> lol
<lupine> thin wrappers around x=0; loop { x++ ; ... ; break if x == ? }
<Xeago> I could loop over ary.first.each_with_index :|
<shevy> what is the x++
<jhass> Xeago: if you want a concrete suggestion provide context
<lupine> hah, sorry, i've been away from ruby too long
<lupine> +=1
<lupine> sigh
<shevy> I usually end up using a counter in such a case with loop
<Xeago> jhass: I got an answer :) there's no loop_with_index :)
<shevy> there should be!
dfockler has joined #ruby
<Xeago> there totally should be
Casty has joined #ruby
<shevy> let's call it loopy
<Xeago> I'll share my code once my practice coding session is done
<shevy> loopy {|x| puts x }
<jhass> 0.upto(Float::INFINITY)
<jhass> but I doubt it's the best solution to your actual problem
<shevy> hmm
<lupine> IMO ruby already has too many ways to do it
lkba has quit [Ping timeout: 246 seconds]
<shevy> let's add one more
<lupine> adding more sybntax is a bad idea
timonv has quit [Ping timeout: 244 seconds]
<lupine> adding more stdlib is a bad idea
<jhass> surprisingly few stuff is syntax in Ruby
antgel has quit [Ping timeout: 276 seconds]
<lupine> adding more core is... you get the idea
bier has quit [Quit: Ex-Chat]
scx_ has joined #ruby
<shevy> python is bigger than ruby!
<lupine> surprising for some people, certainly ;)
bier has joined #ruby
<lupine> python is also too big
bier_ has joined #ruby
<shevy> python-3.5.0a4.tar.xz 14M
mcclurmc has joined #ruby
<shevy> ruby-2.2.2.tar.xz 10M
bier has quit [Read error: Connection reset by peer]
<shevy> perl-5.22.0.tar.xz 11M
<shevy> lua is small
<shevy> I wonder why python is bigger. Is it because of having a larger stdlib?
<jhass> it's because of the utterly verbose docs
<wasamasa> you know, I prefer their docs for their optparse equivalent
chinmay__ has joined #ruby
dfockler has quit [Ping timeout: 248 seconds]
sinkensabe has quit [Remote host closed the connection]
scx has quit [Ping timeout: 276 seconds]
nickjj_ is now known as nickjj
<jhass> I see, Xeago doesn't want to share their actual problem, fine
iamninja has quit [Ping timeout: 246 seconds]
chinmay_dd has quit [Ping timeout: 250 seconds]
<shevy> optparse drives me nuts
Ch0c0late has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> wasamasa what do you use for ARGV handling?
<wasamasa> shevy: in ruby?
<shevy> yeah
<wasamasa> well, I've written one thing using slop, constantly guessing how the hell it works
chinmay__ is now known as chinmay_dd
Ch0c0late has joined #ruby
<Xeago> jhass: I'm practicing programming
<shevy> hehe
<Xeago> I don't want to get too much help
<jhass> ljarvis: was your OptionParser#to_h patch accepted btw?
<Xeago> i.e. I don't want you to solve my problem :)
fantazo has quit [Ping timeout: 276 seconds]
<shevy> jhass wants too much to solve other people's problems!
<ljarvis> jhass: not yet, still discussing (but they're suggesting alternatives)
fantazo has joined #ruby
aphprentice has joined #ruby
<Xeago> though I do have another question regarding Array
<shevy> oh no
<shevy> make it a tough one please
IrishGringo has joined #ruby
JoshGlzBrk has joined #ruby
<Xeago> With h=Hash.new { Array.new } one can do h[i]<< 'foo'
<jhass> Xeago: cool, though come back with your solution so we can see if there are other approaches (that helps quite a lot in learning IME) ;)
<Xeago> jhass: definitely
<Xeago> can a similar thing be done to array?
<Xeago> I'm failing in my pry session
<shevy> isn't that an Array anyway
mcclurmc has quit [Ping timeout: 256 seconds]
<Xeago> I fail because of: foo=Array.new { Array.new }; h[0] #=> nil and not array
<jhass> Xeago: the return value of default_proc is ignored, but you get the key and the hash yielded ;)
<Xeago> jhass: huh?
revath has quit [Ping timeout: 248 seconds]
<jhass> Hash.new {|h, k| h[k] = [] }
<jhass> oh, you're asking about Array.new
<Xeago> foo = Hash.new { Array.new }; foo[0] #=> []
<Xeago> I want to do the same thing with an Array as container
<jhass> that's not like Hash.new, Array.new's block is for eager evaluation, not lazy one
<Xeago> I can rely on the index in the array rather then the key in a hash
<jhass> >> Array.new(5) {|i| i**2 }
<ruboto> jhass # => [0, 1, 4, 9, 16] (https://eval.in/385019)
blackmesa has joined #ruby
<Xeago> I don't know the number of elements yet though :'(
<Xeago> I'll just use a hash then
<jhass> yeah, sounds like a hash
<Xeago> I have a ordered lists of lengths
<Xeago> I can store that based on the index in a hash, but fairly meh
sevvie_ is now known as sevvie
<jhass> well, still hard to nudge you in the right direction with zero context ;)
<Ch0c0late> Any better way to code convert time(AM/PM to 24 hours format)? http://hastebin.com/ejubiqedim.avrasm
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Xeago> I guess I can share my problem, don't provide solutions though
<jhass> Ch0c0late: I'd fiddle with Time#strptime and Time#strftime (both available after require "time")
<Ch0c0late> jhass: Yes, but I wanted to propose my own solution to see how I think stuff
<Xeago> The data structure: ary=[[streamer, subject, … ], … ]. Align on screen with a max_width, with minimum 2 spaces padding between the different elements in the tuple. See https://gist.github.com/Xeago/9c3f09d333a37a942603 Rather then ary.each{|e| puts e #first example }. Align it nicely second example.
<Xeago> jhass: questions regarding the problem?
railsraider has quit [Quit: railsraider]
mdw has joined #ruby
peter_paule has quit [Ping timeout: 264 seconds]
rubie has joined #ruby
<jhass> Xeago: I'd just iterate twice, one time to find the maximum length (Array#max) and then for the output (String#l/rjust might get handy)
bigmac_ has quit [Quit: Leaving]
joast has joined #ruby
<Xeago> jhass: I need to find the maximum length for each column. Again please don't provide a solution yet :)
<jhass> yup
scripore has joined #ruby
<shevy> jhass do not provide a solution!!!
* jhass whispers "nested maps" and nothing more
datanoise has joined #ruby
jgt has joined #ruby
Cache_Money has joined #ruby
<jhass> Ch0c0late: how about extracted AM/PM with input[-3..-1] ?
<jhass> eh, -2
<Ch0c0late> jhass: Good idea
<jhass> Ch0c0late: I'd then .chomp that of and then split(':').map(&:to_i)
aryaching has quit [Ping timeout: 264 seconds]
<Ch0c0late> jhass: Yup
endash has quit [Quit: endash]
senayar has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
TvL2386 has quit [Quit: Ex-Chat]
<jhass> to me the comparisons feel backwards btw, I like variable == literal, to read if thing_i_am_unsure_about is foobar
awer has joined #ruby
Carnage\ has quit [Disconnected by services]
pragmatism has quit [Quit: Textual IRC Client: www.textualapp.com]
endash has joined #ruby
Carnage` has joined #ruby
endash has quit [Client Quit]
Casty has quit [Quit: Textual IRC Client: www.textualapp.com]
<Xeago> >> column_lengths = Hash.new { Array.new }; column_lengths[0]<<1; column_lengths
<ruboto> Xeago # => {} (https://eval.in/385023)
<Xeago> why is it an empty hash?
AlexAltea has joined #ruby
imperator has joined #ruby
<imperator> howdy folks
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
c_nick has joined #ruby
senayar has quit [Ping timeout: 256 seconds]
<c_nick> installation always fails while searching for sqlite3.h http://paste.ubuntu.com/11751648/
Cache_Money has quit [Quit: Cache_Money]
<jhass> Ch0c0late: so I think I'd end up with http://paste.mrzyx.de/pwyii0wyx, when avoiding strptime for some reason
revath has joined #ruby
<shevy> c_nick, and file /usr/include/sqlite3.h exists?
<shevy> not sure how windows deals with that path
mistnim has quit [Ping timeout: 264 seconds]
<bougyman> Xeago: how'd it end up?
<bougyman> i went away for a while.
mdw has quit [Remote host closed the connection]
bruno- has quit [Quit: Lost terminal]
serivichi has quit [Ping timeout: 255 seconds]
peter_paule has joined #ruby
t_mmyv has joined #ruby
kobain has joined #ruby
<Ch0c0late> jhass: Nice
<awer> hi, im trying to email a group of email address's. The first part of the email address is stored in a file and the proceeding @ and domain part are the same. I want to send the email with a message which has links in it. Thsi is what i have so far but cant seem to get it to work as i expect. can anyone advise on what i need to do please?#!/usr/bin/ruby
<awer>
arup_r has joined #ruby
<awer> message = print "test message youtube.be/123 \n
<awer> #hashtag #hastag2 #hastag3"
<awer> email = `echo #{message} | ssmtp -vvv #{line}@groups.facebook.com`
<awer> File.open("/home/awer/coding/ruby/fb-sharing/id.txt", "r") do |f|
<c_nick> shevy: sqlite3.h is given through the option --with-sqlite3-include its there in that directory however its not picked up from there. the stackoverflow reference somehow gets the job done but not getting it at my end
<awer> f.each_line do |line|
<awer> sleep 5
<awer> puts email
<awer> end
<awer> end
<awer> http://paste.ee/p/eLiI3 - Apologies
chinmay_dd has quit []
starfox_sf has joined #ruby
<Ch0c0late> jhass: But your proposed solution can't handle cases such as 12:00:00AM or 12:04:04:AM
ttilley has joined #ruby
jud has quit [Quit: Leaving]
bohallor has quit [Ping timeout: 264 seconds]
_blizzy_ has joined #ruby
gaucheph__ has quit [Ping timeout: 248 seconds]
<jhass> I didn't gather that as a requirement from your code :P http://paste.mrzyx.de/ppoirokdy
dseitz has joined #ruby
ttilley has quit [Ping timeout: 256 seconds]
fsvehla has joined #ruby
stamina has quit [Quit: WeeChat 1.2]
bruno- has joined #ruby
dross has quit [Ping timeout: 244 seconds]
darkf has quit [Quit: Leaving]
sandstrom has joined #ruby
doertedev has quit [Quit: Lost terminal]
<Ch0c0late> jhass: Heh, good
sandstrom has quit [Client Quit]
toretore has joined #ruby
unshadow has joined #ruby
sandstrom has joined #ruby
yqt has joined #ruby
<c_nick> can someone help me with sqlite3 gem installation
luckyruby has joined #ruby
<awer> anyone able to comment ?
jacor has quit [Read error: Connection reset by peer]
jacor has joined #ruby
Cache_Money has joined #ruby
vikaton has joined #ruby
workmad3 has joined #ruby
DexterLB has quit [Quit: So long and thanks for all the fish]
bohallor has joined #ruby
sinkensabe has joined #ruby
uptownhr has quit [Quit: uptownhr]
s2013 has joined #ruby
s2013 has quit [Client Quit]
fsvehla has quit [Quit: fsvehla]
workmad3 has quit [Ping timeout: 244 seconds]
DexterLB has joined #ruby
<awer> anyhelp would be appreciated.
acovrig has quit [Quit: acovrig]
wildroman2 has joined #ruby
<shevy> awer I dont even know what the problem is
<shevy> I also dont know how ssmtp works
enebo has joined #ruby
<shevy> I tend to use sendmail when I need email; mail = Mail.new
sinkensabe has quit [Ping timeout: 252 seconds]
<awer> shevy: the ssmtp part works fine
<shevy> mail.delivery_method :sendmail
enebo has quit [Client Quit]
<shevy> what are you doing there:
<shevy> File.open("/home/awer/coding/ruby/fb-sharing/id.txt", "r") do |f|
nertzy has joined #ruby
<awer> shevy: im trying to open a file and read each line of that file
<shevy> huh?
<shevy> read
<shevy> what do you mean
<shevy> puts email
<shevy> you don't seem to read anything there?
<shevy> anyway, use: File.readlines().each to iterate over every line
<shevy> I still don't know what the puts email is doing there
sdegutis has joined #ruby
<sdegutis> Are there any decent OCR packages for Ruby?
<sdegutis> I mean libraries.
alphaatom|pc has quit [Ping timeout: 272 seconds]
revath has quit [Quit: Leaving.]
<awer> shevy: so what I'm trying to do is to send an email with the same body of text. the email address it is going to is read from a file called id.txt. each line would indicate a new email message being sent
revath has joined #ruby
<Xeago> bougyman: I'm a slow coder… :)
<awer> shevy: because each email takes about 8 seconds to send i want each email to wait 8 seconds before the next email is sent out
davedev2_ has joined #ruby
<awer> 2~
<Xeago> awer: why not send directly from ruby? It will block until the other end has received it
premera_n has quit [Remote host closed the connection]
<Xeago> nej
<Xeago> don't spoil me with a solution!
jud has joined #ruby
<shevy> haha
<awer> Xeago: because in order for the recient to recieve the email it has to be from an email account that is logged in from a particular gmail accoutn first.
<shevy> we all kept on telling jhass to not spoil things
<shevy> and someone else does!
EllisTAA has joined #ruby
<bougyman> oh, sorry
<Xeago> I didn't get much besides the output had three columns
<shevy> Xeago will either solve it - or buy a new cat
<Xeago> I do wonder though if it implements a max_width?
<EllisTAA> does anyone know why line 57 is returning an object whose class is nil? https://gist.github.com/ellismarte/98b8fb4823d6ef3de4ca#file-error-rb-L57 i have the same line of code on line 91 but it isn’t working on 57
<bougyman> in a fashin
<Xeago> each column should have a ratio to each other column determined by it's column size and each row be no longer than max_width
<Xeago> that is my step2
<Xeago> :)
davedev24_ has quit [Ping timeout: 248 seconds]
<EllisTAA> :)
endash has joined #ruby
sdegutis has quit []
alphaatom|pc has joined #ruby
oddraisin has quit [Quit: leaving]
Torrieri has quit [Quit: Be back later ...]
<imperator> anyone at goruco yesterday?
Torrieri has joined #ruby
Spami has joined #ruby
senayar has joined #ruby
weszlem has joined #ruby
baweaver has joined #ruby
kohgpat has joined #ruby
fusillicode has joined #ruby
fusillicode has left #ruby [#ruby]
<Xeago> bougyman: I guess it doesn't help that I am watching http://video6.fra01.hls.ttvnw.net/hls59/esl_dota2_14957766528_260182963/chunked/py-index-live.m3u8?token=id=5908640832085128287,bid=14957766528,exp=1434994298,node=video6-1.fra01.hls.justin.tv,nname=video6.fra01,fmt=chunked&sig=582a4d19ca2d6f670fddbccf65d2a822e452fa63 as well, makes for pretty distracted coding
Torrieri has quit [Ping timeout: 265 seconds]
<bougyman> i'm not going to click that, ok?
<Xeago> you may, it's a dota2 stream
<Xeago> esl_one in frankfurt, currently bo5 finals
<Xeago> I'm working on https://github.com/xeago/twitch.rb
senayar has quit [Ping timeout: 264 seconds]
mdw has joined #ruby
<imperator> c_nick, what's your issue?
code_ has quit [Quit: BNC - Hosted by EpicKitty]
AlphaAtom has joined #ruby
jack_rabbit has quit [Ping timeout: 276 seconds]
tvw has joined #ruby
freerobby has joined #ruby
rbennacer has quit [Remote host closed the connection]
code_ has joined #ruby
dzejrou_ has joined #ruby
rbennacer has joined #ruby
blackmesa has joined #ruby
blackmes1 has joined #ruby
IrishGringo has quit [Ping timeout: 248 seconds]
tacit7 has joined #ruby
<c_nick> imperator: installation always fails while searching for sqlite3.h http://paste.ubuntu.com/11751648/
Cache_Money has quit [Quit: Cache_Money]
Deele has joined #ruby
michael_mbp has quit [Excess Flood]
rbennacer has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 248 seconds]
<c_nick> imperator: do have a look at the reference link i have followed that until now
michael_mbp has joined #ruby
revath has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
revath has joined #ruby
endash has quit [Quit: endash]
<imperator> c_nick, alright, let's start with where you have sqlite installed on your box
<imperator> those dirs look pretty odd to me
<imperator> what's the base directory?
<imperator> btw, i take it you don't want to use the precompiled binary for some reason?
c_nick has quit [Ping timeout: 252 seconds]
Al3ks_ has quit [Remote host closed the connection]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
uptownhr has joined #ruby
serivichi has joined #ruby
bpfh has quit [Quit: Saindo]
flughafe2 has joined #ruby
AlphaAtom has joined #ruby
Torrieri has joined #ruby
baweaver has quit [Remote host closed the connection]
c_nick has joined #ruby
araujo has quit [Quit: Leaving]
<c_nick> imperator: sorry got disconnected
flughafe1 has quit [Ping timeout: 246 seconds]
freerobby has quit [Quit: Leaving.]
uptownhr has quit [Client Quit]
<EllisTAA> anyone know why my sinatra session is getting reset when i go to this route? https://gist.github.com/ellismarte/98b8fb4823d6ef3de4ca#file-error-rb-L54-L59
rubie has quit [Remote host closed the connection]
bougyman_ has joined #ruby
AlphaAtom has quit [Client Quit]
jenrzzz has quit [Read error: Connection reset by peer]
Casty has joined #ruby
shinnya has joined #ruby
soulcake has quit [Ping timeout: 276 seconds]
fedexo has joined #ruby
djellemah has joined #ruby
soulcake has joined #ruby
<imperator> c_nick, dunno if you saw my questions
<imperator> c_nick, you don't want to use the precompiled binary i take it?
<EllisTAA> are you talking to me?
k3asd` has joined #ruby
pushpak has joined #ruby
rubie has joined #ruby
<imperator> EllisTAA, no, c_nick
<c_nick> imperator: Hi,, Yes I saw your question - my issue is i need to install the ruby gem sqlite3 (preferably locally) So i ran into some issues for which i tried solution from the link i have posted in references
mikecmpbll has joined #ruby
ernie_ has joined #ruby
<c_nick> unfortunately its not able to find sqlite3.h which is available in the C:\Users\Administrator\ Desktop\sqlite-autoconf-3081002 folder
sinkensabe has joined #ruby
<imperator> c_nick, ok, let's start with the base directory for your sqlite
serivichi has quit [Ping timeout: 246 seconds]
<c_nick> ok sqlite-autoconf-3081002 <- downloaded this then did configure make and make install by launching mysys.bad in devkit
<imperator> the full path is C:\Users\Administrator\Desktop\sqlite-autoconf-3081002 ?
<c_nick> yes
<imperator> and if you look there, there are include and lib subdirectories?
<c_nick> there is no include nor libs. there is a hidden folder (like in linux) -> .libs
k3asd` has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
<imperator> ok, strange
tvw has quit []
<c_nick> I thought gcc was looking explicitly for libs and include so i copied .libs as lib folder and created an include having sqlite3.h and sqlite3ext.h
quimrstorres has joined #ruby
k3asd` has joined #ruby
sinkensabe has quit [Ping timeout: 244 seconds]
revath has quit [Ping timeout: 246 seconds]
datanoise has quit [Ping timeout: 246 seconds]
blackmes1 has quit [Ping timeout: 246 seconds]
<imperator> alright, if you make 'lib' and 'include' dirs yourself, then you should be able to do "--with-sqlite3-dir=C:/Users/Administrator/Desktop/sqlite-autoconf-3081002"
<c_nick> imperator: same issue http://paste.ubuntu.com/11752149/
<c_nick> gcc is explitly appending include and lib folder to the command link
<c_nick> line*
<mikecmpbll> is there a simpler (shorter) way of getting a array without a particular index than arr.reject.with_index{ |_, i| i == x } ?
<mikecmpbll> where x is the undesired index.
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> hmm
<mikecmpbll> it should return the new array and not affect the original
<shevy> so you want the inverse of a .select there
yqt has quit [Ping timeout: 256 seconds]
<c_nick> mikecmpbll: array.map {|s| s != x}
<mikecmpbll> c_nick: that has nothing to do with the index, though? :)
<jhass> yours looks pretty good to me, a.values_at(*(a.size.times.to_a-[x])) perhaps
<mikecmpbll> ah ok cool. feels like there's a convenience method i'm missing, but i'll stick with that then
<c_nick> there is a direct way to achieve this if i am not mistaken like array.delete_at() or something. it should return a new array though
datanoise has joined #ruby
<mikecmpbll> ^my thoughts, but after looking there doesn't seem to be
Urocyon is now known as sfiggins
<jhass> oh well, good point though, could just .dup.tap {|a| a.delete_at() }
OrbitalKitten has joined #ruby
rindolf has joined #ruby
<rindolf> Hi all.
<mikecmpbll> tap returns the original though
<mikecmpbll> i'd like to be able to chain it. all good tho.
<jhass> mikecmpbll: you can totally chain it, tap's what makes it possible
<imperator> c_nick, may not matter, but try forward slashes
spider-mario has joined #ruby
<mikecmpbll> >> 2.tap { |a| 2 }
zipace has joined #ruby
<ruboto> mikecmpbll # => 2 (https://eval.in/385123)
<mikecmpbll> ops
<mikecmpbll> >> 2.tap { |a| 3 }
<ruboto> mikecmpbll # => 2 (https://eval.in/385124)
<mikecmpbll> oooh nvm
<imperator> c_nick, also check privs - might need to use admin shell
<mikecmpbll> i'm being an idiot
yqt has joined #ruby
free_speech has quit [Remote host closed the connection]
senayar has joined #ruby
ernie_ has quit [Quit: Verlassend]
kohgpat has quit [Quit: leaving]
nofxxx has joined #ruby
havenn has quit [Quit: Textual IRC Client: www.textualapp.com]
<mikecmpbll> delete_at is 35% or so faster, thanks ;) not that it matters but may as well make it faster eh ;)
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/2015051400]]
alphaatom|pc has quit [Ping timeout: 256 seconds]
dgutierrez1287 has joined #ruby
alphaatom|pc has joined #ruby
dzejrou has joined #ruby
AlphaAtom has joined #ruby
Cache_Money has joined #ruby
senayar has quit [Ping timeout: 256 seconds]
sharpmachine has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Cache_Money has quit [Client Quit]
quimrstorres has joined #ruby
tcrypt has joined #ruby
sharpmachine has quit [Remote host closed the connection]
renderful has joined #ruby
ttilley has joined #ruby
<c_nick> imperator: done that , i am the admin so it should work, am missing something else here, i compiled like linus but this is windows
peter_paule has quit [Ping timeout: 248 seconds]
bohallor has quit [Remote host closed the connection]
wildroman2 has quit [Remote host closed the connection]
tcrypt has quit []
renderful has quit [Ping timeout: 246 seconds]
pontiki has joined #ruby
<pontiki> hi
ttilley has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
framling has quit [Remote host closed the connection]
Spami has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
mary5030 has joined #ruby
solars has joined #ruby
Spami has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
kahuna_ has joined #ruby
nahtnam has joined #ruby
<kahuna_> 3
Cache_Money has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
Spami has quit [Client Quit]
<shevy> hey pontiki
<shevy> finally some action again here
<pontiki> hi shevy
Tau has joined #ruby
atom3 has joined #ruby
revath has joined #ruby
<imperator> c_nick, not sure, i think i would just use the precompiled binary
<imperator> gem install sqlite3 - Just Works
sandstrom has joined #ruby
code_ has quit [Ping timeout: 276 seconds]
code_ has joined #ruby
djbkd has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rindolf has quit [Ping timeout: 276 seconds]
kalusn has joined #ruby
uptownhr has joined #ruby
p1k has quit [Ping timeout: 252 seconds]
iamninja has joined #ruby
rindolf has joined #ruby
uptownhr has quit [Client Quit]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
AlphaAtom has joined #ruby
ruv has joined #ruby
Channel6 has quit [Quit: Leaving]
<c_nick> imperator: ok i will try that, strange the package u download is sqlite3-1.3.10 while the package thats getting downloaded from the ruby gem archive on doing gem install is sqlite3-1.3.10-x86-mingw32.gem
soulcake has quit [Ping timeout: 276 seconds]
sinkensabe has joined #ruby
djellemah has quit [Ping timeout: 276 seconds]
vasilakisfil_ has joined #ruby
djellemah has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
peter_paule has joined #ruby
Cache_Money has joined #ruby
Cache_Money has quit [Client Quit]
Alina-malina has quit [Ping timeout: 256 seconds]
soulcake has joined #ruby
<c_nick> imperator: thanks for the help :)
Alina-malina has joined #ruby
Cache_Money has joined #ruby
Cache_Money has quit [Client Quit]
olistik has quit [Remote host closed the connection]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
peter_paule has quit [Ping timeout: 252 seconds]
symm- has quit [Ping timeout: 250 seconds]
<imperator> c_nick, the "x86-mingw32" is a rubygems thing
<imperator> it's just letting you know that this is a precompiled 32-bit binary for mingw on x86
<imperator> (i.e. that's normal)
pyon has quit [Quit: fixin muh confignyareshun nyaa!!1]
datanoise has quit [Ping timeout: 248 seconds]
<c_nick> imperator: hmm that was the issue, well resolved now. this gem got installed
<imperator> cool
yfeldblum has joined #ruby
Xeago has quit [Remote host closed the connection]
<c_nick> bye for now tc
c_nick has left #ruby [#ruby]
<EllisTAA> it seems that when i request data from my databse my session gets reset … is this something that happens?
tacit7 has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
<jhass> doubt it
pyon has joined #ruby
kalusn has quit []
bougyman_ has quit [Changing host]
bougyman_ has joined #ruby
<EllisTAA> whenever i go to this route my session gets reset https://gist.github.com/ellismarte/98b8fb4823d6ef3de4ca#file-error-rb-L54-L59
<jhass> how do you verify that claim?
bougyman has quit [Quit: ZNC - 1.6.0 - http://znc.in]
bougyman_ is now known as bougyman
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<EllisTAA> when i go to any other page the session still exists, when i click the search bar it resets my session so it doesn’t exist
<EllisTAA> here’s my page https://enigmatic-sea-2215.herokuapp.com/
<EllisTAA> if u sign in and then try to search it will sign you out, you can tell bc after you search your name disappears form the top left corner
creakybones has joined #ruby
creakybones has joined #ruby
<jhass> if I sign in with wrong credentials it crashes your app
<EllisTAA> yeah i’ve got to fix that
scripore has quit [Quit: This computer has gone to sleep]
Torrieri has quit [Quit: Be back later ...]
<pontiki> https://gist.github.com/ellismarte/98b8fb4823d6ef3de4ca#file-error-rb-L54 is this literally what you have? i think that would be a syntax error
<EllisTAA> pontiki: i fixe that already but thanks
<jhass> EllisTAA: also I won't spend any minute on this until it stores passwords using BCrypt
<EllisTAA> i do use bcrypt!
<Tau> is there something like twisted for ruby?
<jhass> @user.password == params[:password]
<Tau> twisted python.
<jhass> no
<Tau> interesting.
<jhass> Tau: eventmachine?
<Tau> jhass i'm new to ruby.
alem0lars__ has quit [Read error: Connection reset by peer]
<jhass> I'm not 100% sure what Twisted is
<Tau> starting it today.
<toretore> eventmachine is what you're looking for
AlphaAtom has joined #ruby
<toretore> i think
<Tau> i see.
m8 has joined #ruby
<EllisTAA> password is the brcrypt method ...
doctorly has joined #ruby
<mozzarella> yeah, eventmachine and twisted are similar
doctorly has quit [Client Quit]
<jhass> well, I have no proof of that and you didn't provide demo credentials
doctorly has joined #ruby
<jhass> my cookie doesn't change while doing a search while signed out
<shevy> jhass has a cookie
<EllisTAA> yeah the cookie doesn’t change but the name @ the top disappears and clicking the button doesn’t send u to the results page until you click it twice
<shevy> and hopefully also a tea
<jhass> EllisTAA: you realize that you don't show how you display the name so we still have no way to verify your claim?
<jhass> and still no demo creds
slackbotgz1 has quit [Remote host closed the connection]
msgodf has joined #ruby
slackbotgz has joined #ruby
fantazo has quit [Quit: Verlassend]
_blizzy_ has quit [Ping timeout: 248 seconds]
<EllisTAA> oops just updated it
<jhass> that's only in the template for the index route
senayar has joined #ruby
<toretore> you need to move the display-username logic to the layout
<EllisTAA> oh ok yes i see
<toretore> and set @user in some sort of filter instead
msgodf has quit [Remote host closed the connection]
avahey has joined #ruby
djbkd has quit [Quit: My people need me...]
JoshGlzB_ has joined #ruby
<EllisTAA> ill google that
JoshGlzBrk has quit [Ping timeout: 264 seconds]
Carnage` has quit [Ping timeout: 244 seconds]
Carnage\ has joined #ruby
senayar has quit [Ping timeout: 252 seconds]
amclain has joined #ruby
<EllisTAA> #<NoMethodError: undefined method `id' for nil:NilClass>
<pontiki> EllisTAA: why do you think @user might be nil at that point?
<EllisTAA> no effin idea. it works in every other route
quimrstorres has joined #ruby
scripore has joined #ruby
fabrice31 has joined #ruby
blue_deref has joined #ruby
<pontiki> maybe you want to see what's actually in session at that point in your controller
weszlem has quit [Quit: WeeChat 1.2]
<EllisTAA> its empty
<EllisTAA> when i run puts session[:user_id] it returns nothing but in every other route it returns the id
codecop has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
Cache_Money has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
User458764 has joined #ruby
sandstrom has joined #ruby
endash has joined #ruby
baweaver has joined #ruby
imperator has quit [Quit: Valete!]
scottschecter has joined #ruby
NeverDie has quit [Quit: Textual IRC Client: www.textualapp.com]
scripore has quit [Quit: This computer has gone to sleep]
NeverDie has joined #ruby
adac has joined #ruby
swgillespie has joined #ruby
bronson has joined #ruby
ledestin has joined #ruby
Boohbah has joined #ruby
hectortrope has quit [Remote host closed the connection]
<Boohbah> authors of rubygems don't seem to understand the concept of API stability
<Boohbah> heck, ruby itself
<jhass> semver is actually not unpopular
bronson has quit [Ping timeout: 265 seconds]
Channel6 has joined #ruby
Torrieri has joined #ruby
TheHodge has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
atom3 has quit [Remote host closed the connection]
doctorly has quit [Ping timeout: 264 seconds]
atom3_ has joined #ruby
luzidco has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
scripore has joined #ruby
fedexo has quit [Ping timeout: 248 seconds]
blackmes1 has joined #ruby
theery has joined #ruby
peter_paule has joined #ruby
tsvenson has quit [Ping timeout: 256 seconds]
Xeago has joined #ruby
tsvenson has joined #ruby
Torrieri has quit [Quit: Be back later ...]
vasilakisfil_ has quit [Read error: Connection reset by peer]
vasilakisfil_ has joined #ruby
Papierkorb has joined #ruby
baweaver has quit [Remote host closed the connection]
<Xeago> How do I get ratio's? 2 / 3 #=> 2/3
GnuYawk has quit [Quit: WeeChat 1.0]
datanoise has joined #ruby
<jhass> >> 2/3r
<ruboto> jhass # => (2/3) (https://eval.in/385160)
GnuYawk has joined #ruby
<Xeago> SyntaxError: unexpected tIDENTIFIER, expecting end-of-input :O
<Xeago> ah fook
<Xeago> 2.0.0
<Xeago> what version does that require?
<jhass> 20>> Rational(2, 3)
<ruboto> jhass # => (2/3) (https://eval.in/385161)
k3asd` has quit [Ping timeout: 252 seconds]
<jhass> 21>> 2/3r
<ruboto> jhass # => (2/3) (https://eval.in/385162)
<jhass> 20>> 2/3r
<ruboto> jhass # => /tmp/execpad-159fddd4b44b/source-159fddd4b44b:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/385163)
<jhass> interesting
theery has quit [Remote host closed the connection]
<al2o3-cr> yeah i and r was 2.1
doctorly has joined #ruby
centrx has joined #ruby
k3asd` has joined #ruby
<al2o3-cr> 20>> 3.5.to_r
<ruboto> al2o3-cr # => (7/2) (https://eval.in/385165)
Ilyas_ has quit [Ping timeout: 248 seconds]
datanoise has quit [Ping timeout: 244 seconds]
<Xeago> al2o3-cr: but that is lossy, isn't it?
<al2o3-cr> Xeago: to be frank, yeah
Ch0c0late has quit [Ping timeout: 255 seconds]
<Xeago> ah fookin chruby
<Xeago> and chgems
<Xeago> chgems reads the environment before spawning a subshell
fsvehla has joined #ruby
<Xeago> setting up GEM_HOME to be .gem/ruby/OUTER_SHELL_VERSION/
<jhass> bundler <3
crdpink2 has joined #ruby
<Xeago> within the shell it spawns it doesn't take the outer ruby from chruby :|
<Xeago> I'm using 2.1.3 gems on 2.0.0
crdpink has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
<Xeago> jhass: I use bundler within chgems
<jhass> I use bundler without any gemsets
<Xeago> jhass: I don't want to ever pollute system gems
<jhass> --path vendor/bundle
<jhass> install: --user-install
<jhass> and chruby sets GEM_HOME to $HOME/.gem/$ruby too
<jhass> system gems are only installed via package manager
<Xeago> jhass: I chruby first and then chgems
<Xeago> jhass: default gem install on osx tries to install systemwide if I'm not mistaken
<jhass> for the system ruby perhaps, thus second point
<Xeago> yea, I know that chgems (and chruby) both are easily replaced by some environment variables or flags
<Xeago> but sometimes it's just easier to not have to bother
<jhass> second point goes into ~/.gemrc
<yorickpeterse> ladies *tips non existing fedora*
k3asd` has quit [Ping timeout: 244 seconds]
<Xeago> also hit and run style gem tryouts are quite nice with chgems
kirun has quit [Quit: Client exiting]
k3asd` has joined #ruby
hachiya_ is now known as hachiya
ttilley has joined #ruby
Jackneill has quit [Remote host closed the connection]
allomov has quit [Remote host closed the connection]
jgt has quit [Quit: WeeChat 1.1.1]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rindolf has quit [Quit: Leaving]
lapide_viridi has quit [Quit: Leaving]
fsvehla has quit [Quit: fsvehla]
AlphaAtom has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Quit: WeeChat 1.2]
centrx has quit [Quit: Shutting down, Please wait...]
Al3ks has joined #ruby
Mon_Ouie has joined #ruby
WildBamboo-Josh has joined #ruby
nux443 has joined #ruby
Xeago has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
jlast has joined #ruby
gaucheph__ has joined #ruby
e1nh4nd3r has quit [Quit: Leaving.]
_blizzy_ has joined #ruby
flughafe2 has quit [Ping timeout: 265 seconds]
sharpmachine has joined #ruby
quimrstorres has quit [Remote host closed the connection]
ReK2 has joined #ruby
luzidco has quit []
luzidco has joined #ruby
jlast_ has joined #ruby
jlast has quit [Read error: Connection reset by peer]
jlast_ has quit [Read error: Connection reset by peer]
iamninja has quit [Read error: Connection reset by peer]
Limix has joined #ruby
iamninja has joined #ruby
dross has joined #ruby
charliesome has joined #ruby
jlast has joined #ruby
endash has quit [Quit: endash]
chris2 has quit [Ping timeout: 265 seconds]
chris2 has joined #ruby
dzejrou has quit [Read error: Connection reset by peer]
JoshGlzB_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
scx_ is now known as scx
Cache_Money has joined #ruby
dzejrou_ has quit [Ping timeout: 264 seconds]
peter_paule has quit [Ping timeout: 256 seconds]
phutchins has quit [Ping timeout: 244 seconds]
e1nh4nd3r has joined #ruby
Vile` has joined #ruby
Casty has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Carnage\ has quit []
dross has quit [Ping timeout: 246 seconds]
datanoise has joined #ruby
jacor has quit [Read error: Connection reset by peer]
jacor has joined #ruby
vasilakisfil__ has joined #ruby
lkba has joined #ruby
dzejrou has joined #ruby
doctorly has quit [Quit: leaving]
datanoise has quit [Ping timeout: 256 seconds]
vasilakisfil_ has quit [Ping timeout: 256 seconds]
yoongkang has quit [Remote host closed the connection]
yoongkang has joined #ruby
adac has quit [Ping timeout: 252 seconds]
gianlucadv has quit [Ping timeout: 264 seconds]
Cache_Money has quit [Quit: Cache_Money]
olistik has joined #ruby
sinkensabe has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
solars has quit [Ping timeout: 244 seconds]
subtwo has joined #ruby
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
fabrice31 has joined #ruby
awer_ has joined #ruby
rafaelsales has quit [Remote host closed the connection]
dfockler has joined #ruby
Pupeno has joined #ruby
dross has joined #ruby
jfarmer has joined #ruby
Pupeno_ has quit [Read error: Connection reset by peer]
awer has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 256 seconds]
FernandoBasso has quit [Quit: WeeChat 1.2]
pontiki has quit [Quit: ZZZZZZZZ<clunk>NNNNNNNNN]
rafaelsales has joined #ruby
dzejrou has quit [Ping timeout: 250 seconds]
dfockler has quit [Ping timeout: 264 seconds]
skysploit has joined #ruby
zeroDivisible has joined #ruby
olistik has quit [Remote host closed the connection]
Ilyas_ has joined #ruby
MatthewsFace has joined #ruby
alphaatom|pc has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
jlast has quit [Remote host closed the connection]
endash has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.2]
yoongkang has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
bronson has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 244 seconds]
<shevy> yorickpeterse oh you tipped fedora users!
workmad3 has joined #ruby
Ilyas_ has quit [Read error: Connection reset by peer]
micmus has quit [Quit: Leaving]
alphaatom|pc has joined #ruby
soulcake has quit [Ping timeout: 276 seconds]
JoshL has joined #ruby
soulcake has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
<yorickpeterse> :P
<yorickpeterse> they really should call that m'lady Linux
<yorickpeterse> hm, that actually has a certain ring to it
DLSteve has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
<yorickpeterse> "m'lady Linux" rolls off the tongue pretty well too
alphaatom|pc has quit [Ping timeout: 256 seconds]
m8 has quit [Quit: Sto andando via]
cappsio_ has joined #ruby
pontiki has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.2]
cappsio_ has quit [Client Quit]
zeroDivisible has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
WildBamboo-Josh has quit [Read error: Connection reset by peer]
decoponio has quit [Read error: Connection reset by peer]
WildBamboo-Josh has joined #ruby
decoponio has joined #ruby
Al3ks has quit [Remote host closed the connection]
allomov has joined #ruby
skysploit has quit [Remote host closed the connection]
rcs has quit [Ping timeout: 252 seconds]
kenichi has quit [Ping timeout: 252 seconds]
theery has joined #ruby
Pupeno_ has joined #ruby
Pupeno has quit [Ping timeout: 256 seconds]
ndrei has quit [Ping timeout: 246 seconds]
papercod1 has quit [Ping timeout: 252 seconds]
awer_ has quit [Ping timeout: 272 seconds]
rcs has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
e1nh4nd3r has quit [Quit: Leaving.]
theery has quit [Remote host closed the connection]
Al3ks has joined #ruby
Liothen has quit [Ping timeout: 252 seconds]
Liothen has joined #ruby
kenichi has joined #ruby
quimrstorres has joined #ruby
adamski2600 has quit []
Pupeno_ has quit [Read error: Connection reset by peer]
allomov has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has joined #ruby
rmoriz has quit [Ping timeout: 252 seconds]
quimrstorres has quit [Remote host closed the connection]
Pisuke has joined #ruby
Igorshp has joined #ruby
RealMarc has quit [Ping timeout: 272 seconds]
BackEndCoder has quit [Ping timeout: 272 seconds]
larissa has quit [Ping timeout: 272 seconds]
waxjar has quit [Ping timeout: 256 seconds]
Log1x_ has quit [Quit: Quit]
Log1x has joined #ruby
Log1x has quit [Changing host]
Log1x has joined #ruby
Gadgetoid has quit [Ping timeout: 264 seconds]
sparr has quit [Ping timeout: 272 seconds]
Igorshp has quit [Read error: Connection reset by peer]
jokester has quit [Ping timeout: 265 seconds]
danoo_ has quit [Ping timeout: 252 seconds]
MyMind has quit [Ping timeout: 276 seconds]
Igorshp has joined #ruby
Hijiri has quit [Ping timeout: 272 seconds]
joe2 has quit [Ping timeout: 272 seconds]
bturker has joined #ruby
baweaver has joined #ruby
unclouded has quit [Ping timeout: 272 seconds]
auraka has quit [Ping timeout: 272 seconds]
larissa has joined #ruby
JoshGlzBrk has joined #ruby
Limix has quit [Quit: Limix]
Pisuke has quit [Max SendQ exceeded]
waxjar has joined #ruby
RealMarc has joined #ruby
auraka has joined #ruby
rmoriz has joined #ruby
quazimod1 has quit [Ping timeout: 246 seconds]
sparr has joined #ruby
Gadgetoid has joined #ruby
Pupeno has quit [Remote host closed the connection]
BackEndCoder has joined #ruby
Pisuke has joined #ruby
sharpmachine has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
ttilley has quit [Changing host]
ttilley has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
joe2 has joined #ruby
jokester has joined #ruby
revath has quit [Ping timeout: 248 seconds]
unclouded has joined #ruby
datanoise has joined #ruby
dgutierrez1287 has joined #ruby
danoo_ has joined #ruby
djbkd has joined #ruby
freerobby has joined #ruby
papercod1 has joined #ruby
theery has joined #ruby
senayar has joined #ruby
<kent\n> malady linux represents how I see it appropriately.
Radar_ is now known as Radar
Casty has joined #ruby
<kent\n> because Fedora is sick bruv.
* ZOMGITSABEAR1 tips fedora
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rollabunna has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 246 seconds]
olistik has joined #ruby
uptownhr has joined #ruby
Mon_Ouie has joined #ruby
Ropeney has joined #ruby
rafaelsales has quit [Remote host closed the connection]
roolo has quit [Remote host closed the connection]
olistik has quit [Ping timeout: 246 seconds]
theery has quit [Remote host closed the connection]
yoongkang has joined #ruby
uptownhr has quit [Quit: uptownhr]
h4sh3dN4m3 has joined #ruby
jfarmer has quit [Read error: Connection reset by peer]
scottschecter has quit [Quit: Leaving]
baweaver has joined #ruby
rafaelsales has joined #ruby
St1gma has quit [Remote host closed the connection]
sharpmachine has joined #ruby
startupality has quit [Quit: startupality]
h4sh3dN4m3 has quit [Quit: Leaving]
uptownhr has joined #ruby
charliesome has quit [Quit: zzz]
Agoldfish has joined #ruby
lucianob has joined #ruby
bkxd has joined #ruby
theery has joined #ruby
skysploit has joined #ruby
Limix has joined #ruby
sarkyniin has joined #ruby
tmoor has joined #ruby
charliesome has joined #ruby
pontiki has quit [Quit: ZZZZZZZZ<clunk>NNNNNNNNN]
blizzy has joined #ruby
davorb has joined #ruby
<davorb> hey guys
<davorb> i'm using httparty with 1.8.7
robbyoconnor has joined #ruby
<davorb> every time i make a request it adds "connection: close" to the headers
<davorb> well, actually, it's net::http that does this
<davorb> in any case, is there a way for me to do a request with httparty without sending that header?
<kent\n> what is the problem with it sending that header?
<lupine> pretty rubbish if you want to keep the connection open for extra requests
<lupine> not sure httparty supports that though
uptownhr has quit [Quit: uptownhr]
_blizzy_ has quit [Ping timeout: 248 seconds]
* lupine snuggles the go net/http impl
theery has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 275 seconds]
luzidco has quit [Remote host closed the connection]
<jhass> davorb: 1.8.7 is out of official support
<jhass> even its successor 1.9.3 is
<toretore> i don't think net/http nor httparty supports persistent connections
<davorb> jhass: i realize that, but i just took over a project this week that is held together with duct tape and it's too early to change
<davorb> kent\n: the problem is that the server will give me a 403 if that header is present
<toretore> davorb: what is it for?
<davorb> i think i'll just monkey patch the stdlib if i can't find a good solution
<davorb> toretore: basically if i do a get to this page with that header present, i get a 403 https://www.sherrihill.net/login
<toretore> so you're actually going to close the connection after receiving the body?
<davorb> toretore: yes.
<toretore> ok then it should kinda work
<jhass> set it to something that doesn't cause a 403 ?
<davorb> jhass: it's not my site, but i need to connect to that site and log in to it
<davorb> so that's the problem. i can't change how their server reacts.
<jhass> how's that relevant to my answer?
<toretore> oh right, just override it
<jhass> I'd try to set it to other valid values or even garbage (empty string, newline whatever)
<davorb> jhass: oh, sorry. i thought you meant i should set the server to something that doesn't give the 403. but yeah, i'm thinking the same thing, will have to monkey patch net::http.
<jhass> no
<toretore> and it looks like you can do persistent connections
<davorb> jhass: ah, thanks for those on ~L1076. didn't see those.
EllisTAA has quit [Quit: EllisTAA]
<davorb> good idea, i'll try that.
<davorb> yeah, setting it to something else didn't work
EllisTAA has joined #ruby
Cache_Money has joined #ruby
rbennacer has joined #ruby
<toretore> can i make bundler put a gem in vendor/cache without installing it locally first?
skysploit has quit [Remote host closed the connection]
<jhass> a specific one? don't think so. But maybe you want bundle package ?
<toretore> it's not installed locally, i only need it on the server
Cache_Money has quit [Client Quit]
<jhass> bundle package does them all I think, matching your groups platform or not
<toretore> but doesn't that require me to bundle install it first? i don't really know much about bundler tbh
rbennacer has quit [Ping timeout: 246 seconds]
<jhass> I wouldn't expect so, if you have a lock that is
CpuID has joined #ruby
fabrice31 has joined #ruby
startupality has joined #ruby
<toretore> yeah it's still trying to install it
senayar has joined #ruby
uptownhr has joined #ruby
arooni-mobile has joined #ruby
Fluent_ has joined #ruby
ur5us has joined #ruby
<Fluent_> So, I'm in a little stupid debate
<Fluent_> Just looking for opinions
<Fluent_> When submitting code publicly, I was told this is an issue
<Fluent_> Using != True instead of using == False, of course they both do the same thing logically
fabrice31 has quit [Ping timeout: 272 seconds]
quimrstorres has joined #ruby
<Fluent_> But one claims it's the 'double negative' of the programming world
<Fluent_> -.-
<toretore> >> true != True
<ruboto> toretore # => uninitialized constant True (NameError) ...check link for more (https://eval.in/385223)
<toretore> what
<Fluent_> foo == False, or foo != True
<toretore> where do you get `False` and `True` from?
<Fluent_> Some value
<Fluent_> >> foo = False; foo != True
<ruboto> Fluent_ # => uninitialized constant False (NameError) ...check link for more (https://eval.in/385224)
<al2o3-cr> python
<toretore> so you have two constants named True and False?
<Fluent_> No, that's not what I mean
quimrstorres has quit [Remote host closed the connection]
<Fluent_> You have some statement you are checking the condition if it's true of false
<Fluent_> well checking if it's false
<Fluent_> by using != True
<toretore> come up with some real, working code and you'll gen a better answer
<Fluent_> But I was told to change that to if it == False instead
<mozzarella> why not use !cond
<mozzarella> or unless cond
<Fluent_> Fine, it will be like 2 seconds
codecop has quit [Remote host closed the connection]
lucianob has quit [Ping timeout: 256 seconds]
<Fluent_> >> foo = false; puts foo == false? 'hi' : nil
<ruboto> Fluent_ # => /tmp/execpad-bb03981598df/source-bb03981598df:2: syntax error, unexpected tSTRING_BEG, expecting key ...check link for more (https://eval.in/385226)
<Fluent_> Meh, let me work this out
bakedb has joined #ruby
<mozzarella> don't ever use == true or == false
<mozzarella> it's redundant
<Fluent_> vs
<davorb> ok, turns out it wasn't the header. i have no idea why i can't access sherrihill.net with httparty, while it works just fine with every other client out there.
dross has quit [Ping timeout: 264 seconds]
armyriad has quit [Ping timeout: 264 seconds]
<Fluent_> Same thing logically
sarkyniin has quit [Ping timeout: 276 seconds]
armyriad has joined #ruby
davedev2_ has quit [Ping timeout: 248 seconds]
davedev24_ has joined #ruby
jfarmer has joined #ruby
<mozzarella> "unless foo" or "if !foo"
<toretore> first of all, you wouldn't do `== true` in ruby
tractatus has joined #ruby
<Fluent_> This isn't directly geared towards ruby
<Fluent_> Just in general procedural languages
<mozzarella> it's the same in every language
<mozzarella> why test a boolean against another boolean? it's already a boolean
k3asd` has quit [Ping timeout: 250 seconds]
Deele has quit [Quit: User excited]
<Fluent_> True that
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
startupality has quit [Quit: startupality]
Pupeno has joined #ruby
tacit7 has joined #ruby
atom3_ has quit [Remote host closed the connection]
atom3 has joined #ruby
startupality has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
Torrieri has joined #ruby
quazimodo has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
startupality has quit [Quit: startupality]
Limix has quit [Quit: Limix]
apt-get_ has joined #ruby
ltd has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
tacit7 has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
lala has quit [Quit: Connection closed for inactivity]
Limix has joined #ruby
crankharder has quit [Remote host closed the connection]
phizzbuzz has quit [Ping timeout: 252 seconds]
armyriad has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
vasilakisfil__ has quit [Ping timeout: 256 seconds]
houhoulis has joined #ruby
swgillespie has joined #ruby
endash has quit [Quit: endash]
blackmes1 has quit [Ping timeout: 272 seconds]
datanoise has quit [Ping timeout: 256 seconds]
tmoor has quit [Quit: Leaving]
Limix has quit [Quit: Limix]
uptownhr has quit [Quit: uptownhr]
e1nh4nd3r has joined #ruby
h4sh3dN4m3 has joined #ruby
Cache_Money has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
MatthewsFace has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
Cache_Money has left #ruby [#ruby]
Igorshp has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
phizzbuzz has joined #ruby