apeiros changed the topic of #ruby to: Ruby 2.1.4; 2.0.0-p594; 1.9.3-p550: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
ClarusCogitatio has joined #ruby
jimbach has quit [Remote host closed the connection]
renderful has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arescorpio has joined #ruby
pdtpatrick_ has quit [Quit: pdtpatrick_]
Lewix has joined #ruby
renderful has quit [Ping timeout: 258 seconds]
dkb20k has joined #ruby
AndChat| has joined #ruby
zorak8 has quit [Ping timeout: 245 seconds]
pietr0 has quit [Quit: pietr0]
mfmfmfmfmfmf has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 250 seconds]
lkba has quit [Ping timeout: 244 seconds]
dkb20k has quit [Ping timeout: 264 seconds]
Soda has joined #ruby
ClarusCogitatio has quit [Ping timeout: 256 seconds]
duncannz has joined #ruby
zorak8 has joined #ruby
troyready has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
vectra has quit [Quit: Konversation terminated!]
_2easy has joined #ruby
michael3 has quit [Ping timeout: 265 seconds]
freezey has joined #ruby
Leates has joined #ruby
Leates has left #ruby ["Follow me - http://www.twitter.com/TheLeates"]
ghr has quit [Ping timeout: 256 seconds]
visof has joined #ruby
mikeg has joined #ruby
freezey has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
Biohazard has left #ruby ["WeeChat 1.1-dev"]
mikecmpbll has joined #ruby
bruno- has quit [Ping timeout: 244 seconds]
patric100e99 has joined #ruby
pdtpatrick_ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
cndiv has quit [Quit: WeeChat 0.4.3]
patric100e99 has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
duncannz has quit [Remote host closed the connection]
nonks has joined #ruby
mikecmpbll has joined #ruby
duncannz has joined #ruby
Scotteh_ has joined #ruby
HolyWinner has quit [Read error: Connection reset by peer]
aspires has quit []
nonks has quit [Ping timeout: 246 seconds]
Scotteh has quit [Ping timeout: 244 seconds]
pdtpatrick_ has quit [Quit: pdtpatrick_]
arescorpio has quit [Read error: Connection reset by peer]
pdtpatrick_ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
afhammad has quit []
Hobogrammer has joined #ruby
FaresKAlaboud has quit [Read error: Connection reset by peer]
FaresKAlaboud has joined #ruby
jasooon has joined #ruby
Spami has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby
ItSANgo has quit [Quit: Leaving...]
rkalfane has joined #ruby
jasooon has quit [Ping timeout: 272 seconds]
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Fire-Dragon-DoL has quit [Ping timeout: 244 seconds]
Areessell has joined #ruby
fenak has joined #ruby
zorak_ has joined #ruby
Caerbannog has quit [Quit: Leaving]
zorak8 has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: i've nodded off.]
starkhallo has quit [Ping timeout: 255 seconds]
mfmfmfmfmfmf has joined #ruby
mikecmpbll has joined #ruby
mikeg has quit [Ping timeout: 256 seconds]
Xeago_ has quit [Remote host closed the connection]
arescorpio has joined #ruby
Areessell has quit [Ping timeout: 265 seconds]
fenak has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 255 seconds]
cashnguns has joined #ruby
zorak_ has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
skolman has quit [Remote host closed the connection]
fenak has joined #ruby
ItSANgo has joined #ruby
fenak has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
freezey has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby
x1337807x has joined #ruby
nobitanobi has quit []
gsd has joined #ruby
mikepack has quit [Remote host closed the connection]
byprdct has quit [Ping timeout: 264 seconds]
byprdct has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
ghr has joined #ruby
<shevy> hey volty
<shevy> are you using haskell again?
duncannz has quit [Ping timeout: 244 seconds]
marr has quit [Ping timeout: 264 seconds]
<gizmore> ✝
<shevy> siwica teaches you not to use a car!
<shevy> reallife vomit-dodging is a skill unheard of by many programmers
<gizmore> shevy: are you bored? – try my irc mud #shadowlamb
<gizmore> i will port it to ruby, promise
<gizmore> it´s php atm ✝
<volty> this one's nice: primes = nubBy (((>1).).gcd) [2..]
<gizmore> ouch
<gizmore> at least it is sure to return something (haskell ftw)
blackmesa has quit [Ping timeout: 245 seconds]
<gizmore> >> nubBy (((>1).).gcd) [2..]
<eval-in__> gizmore => /tmp/execpad-57022917c65e/source-57022917c65e:2: syntax error, unexpected '>' ... (https://eval.in/215680)
mikecmpbll has quit [Quit: i've nodded off.]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
yetanotherdave has quit [Quit: Lost terminal]
byprdct_ has joined #ruby
ItSANgo has quit [Quit: Leaving...]
byprdct has quit [Ping timeout: 272 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
byprdct_ has quit []
<shevy> gizmore lol
Spami has quit [Ping timeout: 264 seconds]
<shevy> gizmore so a shadowrun freak I see
<gizmore> not really
Scotteh__ has joined #ruby
<gizmore> the story of shadowlamb is funny
merqlove has joined #ruby
<gizmore> it began with a bet: "You can´t have an interactive irc rpg"
<gizmore> i won :)
Spami has joined #ruby
<shevy> haha
<gizmore> i just picked the first rpg which came to my mind to implement something (back in `08)
<gizmore> meanwhile we got v5
linojon has joined #ruby
<shevy> quite a heroic task to write this in php
<gizmore> and i wanna start over with a ruby implementation (got something already, but not playable)
<shevy> yeah, my second project was a MUD in ruby (after my bot in ruby), but I abandoned that :(
<shevy> what would be cool would be to have one MUD engine to run-them-all
Scotteh_ has quit [Ping timeout: 260 seconds]
<shevy> Aria/Aridrel and ged used to work on faerieMUD
<shevy> not sure about anyone else hehe
visof has quit [Ping timeout: 258 seconds]
dkb20k has joined #ruby
<shevy> >> %w.rack tilt date INT TERM.
<eval-in__> shevy => ["rack", "tilt", "date", "INT", "TERM"] (https://eval.in/215692)
<shevy> >> %w/rack tilt date INT TERM)
<eval-in__> shevy => /tmp/execpad-4d1c639751d6/source-4d1c639751d6:2: unterminated string meets end of file ... (https://eval.in/215693)
<gizmore> shevy: nice work :)
<shevy> damn
<shevy> >> %w(rack tilt date INT TERM)
<eval-in__> shevy => ["rack", "tilt", "date", "INT", "TERM"] (https://eval.in/215694)
<shevy> so what is better there
<shevy> using .. or ()
nonks has joined #ruby
<pontiki> >> %w{rack tilt date INT TERM]
<eval-in__> pontiki => /tmp/execpad-79efd2ef6923/source-79efd2ef6923:2: unterminated string meets end of file ... (https://eval.in/215695)
<pontiki> oops
<pontiki> >> %w{rack tilt date INT TERM}
<shevy> well
<eval-in__> pontiki => ["rack", "tilt", "date", "INT", "TERM"] (https://eval.in/215696)
<pontiki> that's my preference
<shevy> ok that is close to ()
<shevy> I understand that "almost sinatra" is terse like mad, ok, but to make use of .. rather than () or {} that just seems like deliberate obfuscation
<volty> >> %w how can that be
<eval-in__> volty => /tmp/execpad-0910744a95e0/source-0910744a95e0:2: unterminated string meets end of file ... (https://eval.in/215697)
<pontiki> i use {} for those percenty things most of the time
<shevy> yeah volty ;)
<volty> shevy: but it functions locally
<shevy> volty see
<shevy> >> %w'how can that be'
<eval-in__> shevy => ["how", "can", "that", "be"] (https://eval.in/215698)
<pontiki> almost sinatra *is* deliberate obfuscation
<shevy> looks like a String no?
<volty> with a space as a delimiter
<pontiki> %i{this is cool too}
<pontiki> ops
dkb20k has quit [Ping timeout: 258 seconds]
<pontiki> >> %i{this is cool too}
<eval-in__> pontiki => [:this, :is, :cool, :too] (https://eval.in/215699)
<pontiki> i'm tired :/
<Nilium> I prefers the %i[ with square brackets ]
nonks has quit [Ping timeout: 246 seconds]
<volty> no, I was wrong, space functions in %x
robustus has quit [Ping timeout: 255 seconds]
<Nilium> Isn't %x just the same as backticks?
<volty> yes, but you can %x which rake (with trailing space)
<Nilium> Did not know that.
<Nilium> Would never work for me since my editor strips trailing spaces.
<volty> ops, %x ls , or %x which\ rake
pdtpatrick_ has quit [Quit: pdtpatrick_]
alvaro_o has quit [Quit: Ex-Chat]
robustus has joined #ruby
<volty> it could work with the other space, unicode high one, i can't remember the code now
<pontiki> if i had to maintain such code i would be cursing the coder and their ancestry back 10 generations
<shevy> hehe
<Nilium> I have to maintain code using named arguments that don't have names.
<Nilium> In Obj-C.
<shevy> hahaha
<Nilium> Most people don't know you can do that.
kireevco has quit [Quit: Leaving.]
byprdct has joined #ruby
<Nilium> It's undocumented behavior and it's part of our SDK.
jasooon has joined #ruby
<Nilium> Either way, nothing to do about it now that it's done.
D9 has joined #ruby
o0oo0o has joined #ruby
jasooon has quit [Ping timeout: 244 seconds]
o0oo0o has quit [Ping timeout: 246 seconds]
volty has quit [Quit: Konversation terminated!]
byprdct has quit []
cashnguns has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
chipotle has joined #ruby
KC9YDN has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: i've nodded off.]
sinequanon has joined #ruby
Scotteh_ has joined #ruby
jasooon has joined #ruby
red_horned_rihno has quit [Ping timeout: 265 seconds]
red_horned_rihno has joined #ruby
oo_ has joined #ruby
ephemerian has quit [Quit: Leaving.]
echevemaster has joined #ruby
Scotteh__ has quit [Ping timeout: 260 seconds]
oo_ has quit [Remote host closed the connection]
sinequanon has quit [Ping timeout: 245 seconds]
D9 has quit [Quit: Leaving]
mikepack has joined #ruby
aewffwea has joined #ruby
levity_island has quit [Quit: levity_island]
eka has joined #ruby
ghr has joined #ruby
cleopatra has joined #ruby
nonks has joined #ruby
mikepack has quit [Ping timeout: 264 seconds]
Deele has quit [Ping timeout: 260 seconds]
linojon has quit [Quit: linojon]
Pupeno_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 265 seconds]
dorei has quit []
jenrzzz has quit [Ping timeout: 265 seconds]
Darryl_ has quit [Quit: Connection closed for inactivity]
jasooon has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
patric100e99 has joined #ruby
jottr has joined #ruby
jasooon has joined #ruby
byprdct has joined #ruby
VanillaGoat_ has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
sinkensabe has joined #ruby
GodPuppet has quit [Remote host closed the connection]
patric100e99 has quit [Ping timeout: 244 seconds]
<porfa> hello i was looking for some tips i was told here yesterday, so i looked in the public log, but the stuff isn?t there.. did anything ahppend to the public log?
VanillaGoat has quit [Ping timeout: 260 seconds]
kireevco has quit [Ping timeout: 272 seconds]
sinkensabe has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
nateberkopec has quit [Quit: Leaving...]
nateberkopec has joined #ruby
Areessell has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
dkb20k has joined #ruby
Areessell has quit [Ping timeout: 245 seconds]
byprdct_ has joined #ruby
byprdct has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 258 seconds]
rubyonrailed has quit []
moritzschaefer has joined #ruby
freerobby has quit [Quit: Leaving.]
tyll_ has joined #ruby
ItSANgo has joined #ruby
rahult has joined #ruby
tyll has quit [Ping timeout: 240 seconds]
radic has quit [Disconnected by services]
radic_ has joined #ruby
Scotteh has joined #ruby
ValicekB has quit [Ping timeout: 264 seconds]
Scotteh_ has quit [Ping timeout: 244 seconds]
moritzschaefer has quit [Remote host closed the connection]
<porfa> how can i make ruby output all my requests into a single continuous line?
jasooon has quit [Ping timeout: 244 seconds]
ValicekB has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
agjacome has quit [Quit: leaving]
ghr has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: zzz]
<porfa> puts codprod.join + ean[0]
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
nateberkopec has quit [Quit: Leaving...]
doug1 has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
mary5030 has joined #ruby
phutchins has quit [Ping timeout: 258 seconds]
rj46 has quit [Quit: Konversation terminated!]
magic__ has joined #ruby
oo_ has joined #ruby
nyanz has joined #ruby
magic_ has quit [Ping timeout: 244 seconds]
rshetty has quit [Remote host closed the connection]
Pupeno has joined #ruby
sinequanon has joined #ruby
charliesome has joined #ruby
it0a has quit [Ping timeout: 256 seconds]
Pupeno has quit [Ping timeout: 272 seconds]
sinequanon has quit [Ping timeout: 265 seconds]
KC9YDN has quit [Remote host closed the connection]
merqlove has quit [Quit: Connection closed for inactivity]
hamakn has joined #ruby
havenwood has joined #ruby
fuhgeddaboudit has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nonks has joined #ruby
dseitz has joined #ruby
toordog has joined #ruby
jenrzzz has joined #ruby
jottr has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
o0oo0o has joined #ruby
Takle has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
oo_ has quit [Quit: Leaving...]
akamel has quit [Quit: Leaving.]
jottr has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
havenwood has quit []
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
Draculrike is now known as Ulrike_Rayne
fuhgeddaboudit has quit [Ping timeout: 244 seconds]
braincrash has quit [Quit: bye bye]
jasooon has joined #ruby
starkhallo has joined #ruby
braincrash has joined #ruby
bmurt has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
jasooon has quit [Ping timeout: 256 seconds]
fuhgeddaboudit has joined #ruby
adriancb has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
mikepack has joined #ruby
arescorpio has quit [Excess Flood]
ghr has joined #ruby
mikepack has quit [Ping timeout: 244 seconds]
byprdct_ has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 258 seconds]
Areessell has joined #ruby
larsam has joined #ruby
ylluminarious has quit [Quit: Leaving...]
byprdct has joined #ruby
rahult has joined #ruby
toordog has quit [Ping timeout: 264 seconds]
rahult has quit [Client Quit]
mostlybadfly has joined #ruby
echevemaster has quit [Remote host closed the connection]
coderhs has joined #ruby
coderhs has quit [Remote host closed the connection]
starkhalo has joined #ruby
starkhallo has quit [Ping timeout: 265 seconds]
Dude007 has joined #ruby
zorak8 has quit [Ping timeout: 264 seconds]
govg has joined #ruby
byprdct_ has joined #ruby
byprdct has quit [Ping timeout: 245 seconds]
Mia has quit [Ping timeout: 244 seconds]
Mia has joined #ruby
bmurt has quit []
troulouliou_dev has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
henesy has quit [Ping timeout: 265 seconds]
JohnBat26 has joined #ruby
byprdct_ has quit [Read error: Connection reset by peer]
Areessell has quit [Quit: (null)]
kyb3r_ has quit [Read error: Connection reset by peer]
sinequanon has joined #ruby
havenwood has joined #ruby
siwica has quit [Ping timeout: 256 seconds]
red_horned_rihno has quit [Ping timeout: 244 seconds]
byprdct has joined #ruby
red_horned_rihno has joined #ruby
Axy has joined #ruby
adriancb has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
<spstarr> Happy Mailman Day!
x1337807x has joined #ruby
Mia has quit [Ping timeout: 265 seconds]
<gizmore> >> find_bug_in_old_php_code
<eval-in__> gizmore => undefined local variable or method `find_bug_in_old_php_code' for main:Object (NameError) ... (https://eval.in/215737)
<gizmore> it was worth a try
mesamoo has joined #ruby
yeticry has quit [Ping timeout: 264 seconds]
adriancb has quit [Ping timeout: 256 seconds]
t_mmyv has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
yeticry has joined #ruby
ghr has joined #ruby
rubie has quit [Ping timeout: 246 seconds]
IceDragon has quit [Quit: Space~~~]
doug1 has quit [Ping timeout: 256 seconds]
fuhgeddaboudit has quit [Ping timeout: 256 seconds]
_1_ has joined #ruby
red_horned_rihno has quit [Read error: Connection reset by peer]
<_1_> hi
red_horned_rihno has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
Spami has quit [Ping timeout: 256 seconds]
goshdarnyou has quit [Quit: Connection closed for inactivity]
_1_ has quit [Read error: Connection reset by peer]
doug1 has joined #ruby
Areessell has joined #ruby
pdtpatrick_ has joined #ruby
aiguu has joined #ruby
<aiguu> would you consider this gem to have 'good' code or rubyist code? https://github.com/ryantate/rturk/blob/master/lib/rturk/operations/get_reviewable_hits.rb
Spami has joined #ruby
<aiguu> I cannot for the life of me figure out how that method can work or have page_size be settable
mesamoo has quit [Quit: Konversation terminated!]
phutchins has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
<aiguu> want to know if I suck at ruby and this is some common pattern or is this gem insane
<havenwood> aiguu: attr_accessor :page_size
agent_white has joined #ruby
<aiguu> but it doesn't look like there is any public way to set it through the gem
<agent_white> evenin doods
<aiguu> without doing some inspection/hacks
<havenwood> agent_white: g'eve
<agent_white> \o
rippa has joined #ruby
<havenwood> aiguu: attr_accessor lets you read and write the instance variable, i'm not sure I get what you're saying
<havenwood> aiguu: publicly read and write
jottr has joined #ruby
<gizmore> aiguu: looks like good code to me
<aiguu> mm thanks will have to get used to it then, I see how it can be done now but it's nothing documented/mentioned etc
<aiguu> and the 'all' method doesn't seem to allow pagination at all
<aiguu> so not sure how it can be 'all' at all
<havenwood> all?
<aiguu> let me link --
byprdct has quit [Read error: Connection reset by peer]
<gizmore> if you do "all" you seem to want all
<gizmore> there is probably something like "page"
<aiguu> Hit.all_reviewable
<aiguu> but it passes no args or anything to set page size and that method returns only 100 things (default page size)
<aiguu> which is breaking my API
<gizmore> this looks like a mixin to me
<gizmore> probably this is not some class/object, like you expect, but later extended with pagination methods
<gizmore> (just shooting in the blue here) ... but if you need pagination, this is most often done to methods like #page or similiar
jottr has quit [Ping timeout: 255 seconds]
<havenwood> aiguu: There are things that could be improved. All hits are all hits though, right?
red_horned_rihno has quit [Ping timeout: 255 seconds]
red_horned_rihno has joined #ruby
<aiguu> all hits just returns 100 as well
<aiguu> I have thousands out there and seems like no way to access them
<aiguu> maybe make my own method extension to override their all with my own all that accounts for pages?
<havenwood> i'm not familiar with this domain
lxsameer has joined #ruby
<aiguu> mm will toy around with it a bit more
<aiguu> but thanks for the clarification of some things :)
crazydiamond has joined #ruby
<gizmore> humm... there is no trace of pagination stuff there... so it should return all ... digging deeper surely is needed :)
chrishough has joined #ruby
o0oo0o has joined #ruby
sinequanon has quit [Remote host closed the connection]
Insanity133 has joined #ruby
anaeem1 has joined #ruby
anarang has joined #ruby
pdtpatrick_ has quit [Quit: pdtpatrick_]
<shevy> <havenwood> i'm not familiar with this domain
o0oo0o has quit [Ping timeout: 246 seconds]
<shevy> ask him about cats!
gsd has joined #ruby
<gizmore> shevy: lets pop a cap
<gizmore> *beercap
<shevy> pot a cat?
<shevy> hog the hag?
<agent_white> or the environment. The rain catest is dying.
<gizmore> log a back?
<shevy> backs get so very mistreated
<shevy> especially backs of cats
<agent_white> I don't speak of it, for it brings me to tears.
<gizmore> i solved all "what is difference between" question mathematically, generally!
<shevy> gizmore in less than an hour shops open up here so I can buy me a beer \o/
gsd has quit [Client Quit]
<gizmore> i wanna quit work
<gizmore> 6 more months... then my traineeship is over
<aiguu> what is your job?
govg has quit [Remote host closed the connection]
<gizmore> it might sound funny, but i am programmer trainee
renderful has joined #ruby
<gizmore> >> respond_to?(:funny) ? 1 : 0
<eval-in__> gizmore => 0 (https://eval.in/215754)
<gizmore> >> !respond_to?(:fact) ? 'fact' : 0
<eval-in__> gizmore => "fact" (https://eval.in/215755)
<gizmore> ah! ok
<gizmore> it´s all great, just the customers suck
<gizmore> and the projects... mostly
<shevy> gizmore you train other people?
<aiguu> enterprise?
<gizmore> when i show up at work, quite sometimes
<aiguu> looking for a job at a startup?
<shevy> hehe
<shevy> why does that take more than 6 months?
<gizmore> in germany it is called "ausbildung"
<shevy> aaaah
<shevy> wow
<gizmore> i will be a certified developer then
<shevy> 6 months
nonks has quit [Ping timeout: 246 seconds]
<gizmore> did 2.5 years already
<aiguu> if you want to work in the bay area I could help you get a job
<aiguu> I could use a second person on the backend with me :p
<gizmore> :)
<gizmore> i plan to stay here, and work halftime afterwards
<gizmore> i have some customers i wanna still help
<gizmore> Jägermeisters :)
anarang has quit [Ping timeout: 260 seconds]
<gizmore> i do SAP/ABAP there, and i am the only one in company that can offer that to this "performance"
<gizmore> surely wanna do halftime
renderful has quit [Ping timeout: 240 seconds]
<gizmore> or a bit less
<aiguu> one thing I have learned working in this industry is don't work for any company or product line you don't like or use or believe in
<gizmore> another project i got is very intersting too, and i like it very much
<pontiki> one thing i've learned in this industry is don't do work you don't enjoy or aren't learning from
<gizmore> then a 3rd which just sucks (the ruby one, lol)
<gizmore> but mostly because no-one got exp in ruby back then... and the customer is ... you know those customers
jasooon has joined #ruby
<gizmore> oh, and it is rails :P
<aiguu> those are other good points, learning from your work is pretty important or your skills will rust and hireability goes down
<gizmore> indeed
<gizmore> i learned ruby at work, and started to use at my private project :)
<aiguu> when I hire people I don't like to see people stuck in one place too long
<gizmore> also i learned abap at work, and a few other things (elastic search stuff)
jgrevich_ has joined #ruby
nonks has joined #ruby
<gizmore> i am not the guy who is stuck too long... i am sometimes a bit retarded, but i will ask for help :P
<aiguu> I've been diving into machine learning at my job :p
<gizmore> also i am sometimes ingenious maybe :)
jgrevich has quit [Ping timeout: 255 seconds]
jgrevich_ is now known as jgrevich
<gizmore> nice :)
<gizmore> btw, i have solved the P vs NP problem lately :P
<aiguu> collect your million dollars :)
<gizmore> i can show that P is not NP
<gizmore> >> 'P' == 'NP'
<eval-in__> gizmore => false (https://eval.in/215756)
kp666 has joined #ruby
<gizmore> easy peasy
<aiguu> shortest academic paper ever
<gizmore> it got denied a couple of times
<gizmore> i keep trying
<gizmore> btw btw btw
<gizmore> i am preparing an rfc
<gizmore> *cough*
<aiguu> :p
<gizmore> Title: A better unix timestamp
hmsimha_ has joined #ruby
<gizmore> text: let us just use: 'planck seconds since bigbang'
Abhijit has joined #ruby
<gizmore> it solves a lot of problems
<gizmore> especially movies that were recorded by dinosaurs
<aiguu> don't even get me started on time and time zones :p
<gizmore> that´s a different topic :)
<Abhijit> pushest start button.
<gizmore> wanna see my private ruby project in action?
<gizmore> join #shadowlamb
kaspergrubbe has quit [Remote host closed the connection]
jasooon has quit [Ping timeout: 264 seconds]
<gizmore> it is a modular chatbat... you can also talk to it via icq or netcat
<gizmore> it is 100% plugin driven, the plugin api is the best i have seen so far when it comes to chatbots... it has some funny plugins already "rss feeds" ... erm yes
<gizmore> we should code more useful plugins
luminor has joined #ruby
<gizmore> there are over 100 plugins already... but none is cool :P
<aiguu> write one that waits for GitHub commit pushes and then talks about them in irc
<gizmore> lame
<gizmore> the bot can checkout svn and git projects
<aiguu> it can bash bad commit messages
<gizmore> and show you diffs on webrick
<gizmore> you can also search repo
<gizmore> and manage pubkeys
<gizmore> most stuff undone tho
<gizmore> checkout works
<gizmore> and announce
<gizmore> the webrick stuff is todo, and tricky
Channel6 has quit [Quit: Leaving]
<gizmore> i have no better idea than using webrick to show diffs :(
<gizmore> i am open for ideas there
<aiguu> webrbick bahhh
<gizmore> you spell it wrong
<gizmore> it is called WE BRICK
<aiguu> :p
<gizmore> if you don´t join #shadowlamb soon, i will spawn my bot here
<gizmore> coward :)
<gizmore> *kiddings ;)
krishnaprasad has joined #ruby
Lewix has quit [Remote host closed the connection]
krishnaprasad has quit [Client Quit]
kp666 has quit [Quit: Leaving]
kp666 has joined #ruby
_5kg has quit [Ping timeout: 244 seconds]
rshetty has joined #ruby
muzik has joined #ruby
ghr has joined #ruby
anarang has joined #ruby
gsd has joined #ruby
bbloom has quit [Read error: Connection reset by peer]
aiguu has left #ruby ["WeeChat 1.0.1"]
phutchins has quit [Ping timeout: 245 seconds]
bbloom has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
Jarboe has quit []
tlarevo has joined #ruby
patric100e99 has joined #ruby
f3r has quit []
govg has joined #ruby
doug1 has quit [Ping timeout: 250 seconds]
phutchins has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
patric100e99 has quit [Ping timeout: 240 seconds]
phutchins has quit [Ping timeout: 250 seconds]
nonks has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
jshultz has quit [Quit: Connection closed for inactivity]
<drizz> m/win 22
<drizz> er.
<gizmore> i´ll quote that for further emberassment
phutchins has joined #ruby
Abhijit has quit [Ping timeout: 245 seconds]
Abhijit has joined #ruby
agent_white has quit [Quit: goodnight]
yfeldblum has quit [Ping timeout: 244 seconds]
kireevco has quit [Quit: Leaving.]
abuzze has joined #ruby
phutchins has quit [Ping timeout: 255 seconds]
jimmyhoughjr has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> lol
<shevy> f/awesome 39
<shevy> btw gizmore
<shevy> you typoed at emberassment
<shevy> :)))
<gizmore> actually that´s african english, but thank you for ignoring culture
sigurding has joined #ruby
<gizmore> it was worth a try to invent this story... you can stop googleing for it
<gizmore> 12 out of 14 ruby developers say that rails suck... why?
<shevy> hehehe
<gizmore> i know there are plenty of reasons.... but without rails it does not get better? :P
<shevy> well
<shevy> that is too short sighted
abuzze has quit [Ping timeout: 272 seconds]
<shevy> because you focus only on "ok we have rails" versus "ok we don't have rails"
<shevy> so obviously you have good things when you do have rails - it is/was popular, it attracted new people (to ruby, at least a few)
<gizmore> nah... current problem
<shevy> they placed ruby onto the web-radar
<gizmore> i have active record migrations i wanna execute
<shevy> but there are also not so good things!
<shevy> rails overshadows a LOT
<gizmore> but i don´t want to use generators in my gem
shredding has joined #ruby
<gizmore> hmm maybe i should use generators
<shevy> projects like ramaze got bulldozered over (though also because rack came up, which eliminated one reason why ramaze existed; sinatra also went in for the kill here)
<shevy> then you also have a lot more line noise and newcomers asking questions where it shows that they never bothered to invest much into learning ruby the language itself - they only wanted to become rails experts
cpruitt has joined #ruby
<gizmore> the biggest rails problem is the overhead, and the rails are too tight and bloaty
<shevy> due to rails being so large, a lot of resources are diverted or influence the ecosystem - see the rise of bundler; also see additions like new hash syntax foo: 'bar'
<shevy> and I think HashWithIndifferentSyntax or whatever was the name, also came from the rails ecosystem
<gizmore> activerecord is huge pile of bloat too
irk has quit [Ping timeout: 244 seconds]
<gizmore> it´s so slow, you almost feel no difference between cache hit and miss
nyanz has quit [Ping timeout: 245 seconds]
Abhijit has quit [Ping timeout: 250 seconds]
Abhijit has joined #ruby
<shevy> lol
<gizmore> on the other hand it´s nice to be able reading inserts slowly :)
mostlybadfly has quit [Quit: Connection closed for inactivity]
jasooon has joined #ruby
<shevy> well
<shevy> if it abstracts away manual work from me
<shevy> then it's fine
klaut has joined #ruby
<gizmore> yeah... we don´t want users anyway
<shevy> oh I know one more thing
irk has joined #ruby
<shevy> gizmore it is hard to say but I think with so much focus on the web, other things got less attention
freezey has quit [Remote host closed the connection]
<shevy> and when people are no longer enthusiastic about the language they use
<shevy> you will see what happens
<shevy> they will use javascript!!!
freezey has joined #ruby
<gizmore> at least javascript is so weird in prototyping that nobody knows whats going on under the hood
<gizmore> except the guy who created 8bit strings
Insanity133 has quit [Remote host closed the connection]
<gizmore> there is probably a hidden promise in javascript core.... promise { will_fix(); }
<shevy> isn't there a linux kernel module for javascript too?
<gizmore> yes, iptables, why?
<gizmore> kiddings
<gizmore> there is? Oo
<gizmore> make menuconfig
red_horned_rihno has quit [Ping timeout: 245 seconds]
<gizmore> it sounds more like a redmond decision though
<gizmore> less kernel switches :)
klaut has quit [Ping timeout: 245 seconds]
red_horned_rihno has joined #ruby
jasooon has quit [Ping timeout: 240 seconds]
<gizmore> i think the biggest flaw in programming languages is the missing mix between fpu and integer variables
<aewffwea> gizmore: I know what's going under the hood in JavaScript...
freezey has quit [Ping timeout: 245 seconds]
<gizmore> you can think that every program needs both, and if the language chose carefully, it wouldn´t pollute either of the registers too much
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<gizmore> it all boils down to bad gcc optimizations!
<gizmore> i´ll file a flamereport
HolyWinner has joined #ruby
<gizmore> aewffwea: also in IE7?! OO
<aewffwea> gizmore: In a proper implemented JavaScript...
<gizmore> so libv8
<gizmore> i will hit the sheets :)
<gizmore> enough trolling for a man
<gizmore> <%='good night'%>
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ghr has joined #ruby
nonks has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crazydiamond has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
mikepack has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
alem0lars|away is now known as alem0lars
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
klaut has joined #ruby
noop has joined #ruby
Insanity133 has joined #ruby
jottr has joined #ruby
_1_yunior has joined #ruby
jgrevich has quit [Quit: jgrevich]
shredding has quit [Quit: shredding]
_1_yunior has quit [Remote host closed the connection]
_5kg has joined #ruby
shredding has joined #ruby
cnj has quit [Ping timeout: 258 seconds]
jottr has quit [Ping timeout: 244 seconds]
cnj has joined #ruby
charliesome has quit [Quit: zzz]
govg has quit [Ping timeout: 256 seconds]
psy_ has quit [Ping timeout: 240 seconds]
muzik has quit [Quit: This computer has gone to sleep]
rshetty has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
mfmfmfmfmfmf has quit [Remote host closed the connection]
mfmfmfmfmfmf has joined #ruby
charliesome has joined #ruby
mfmfmfmfmfmf has quit [Ping timeout: 245 seconds]
rahult has joined #ruby
starkhalo has quit [Ping timeout: 265 seconds]
o0oo0o has joined #ruby
govg has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
Zettam has joined #ruby
Axy has quit [Read error: Connection reset by peer]
exadeci has quit [Quit: Connection closed for inactivity]
nonks has quit [Remote host closed the connection]
anaeem1 has joined #ruby
freezey has joined #ruby
Zettam has quit [Ping timeout: 255 seconds]
mostlybadfly has joined #ruby
freezey has quit [Ping timeout: 245 seconds]
<shevy> you will shit the hits?
<shevy> oh he is gone
abuzze has joined #ruby
jasooon has joined #ruby
abuzze has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
sinkensabe has joined #ruby
jasooon has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
andrewlio has joined #ruby
yfeldblum has joined #ruby
ndrei has joined #ruby
ghr has joined #ruby
psy_ has joined #ruby
blackmesa has joined #ruby
User458764 has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
shredding has quit [Quit: shredding]
patric100e99 has joined #ruby
ozzloy has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
patric100e99 has quit [Ping timeout: 255 seconds]
sevenseacat has joined #ruby
psy_ has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: zzz]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
shredding has joined #ruby
blackmesa has quit [Ping timeout: 256 seconds]
NakatA has joined #ruby
NakatA has left #ruby [#ruby]
ozzloy has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Jackneill has joined #ruby
freezey has joined #ruby
Mia has quit [Ping timeout: 258 seconds]
cpruitt has quit [Quit: cpruitt]
phutchins has joined #ruby
Xiti` has joined #ruby
Insanity133 has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
Vezz has joined #ruby
Vezz has quit [Max SendQ exceeded]
Axy has quit [Read error: Connection reset by peer]
Xiti has quit [Ping timeout: 244 seconds]
freezey has quit [Ping timeout: 264 seconds]
phutchins has quit [Ping timeout: 258 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
sigurding has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jrdnull has joined #ruby
exadeci has joined #ruby
Insanity133 has joined #ruby
pyon has quit [Ping timeout: 244 seconds]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cya]
jenrzzz has quit [Ping timeout: 264 seconds]
jottr has joined #ruby
jenrzzz has joined #ruby
pyon has joined #ruby
bruno- has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
jottr has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
Mia has quit [Read error: Connection reset by peer]
dseitz has quit [Quit: night]
timonv_ has joined #ruby
narendraj9__ has joined #ruby
narendraj9__ has quit [Read error: Connection reset by peer]
doug1 has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
Mia has joined #ruby
bluOxigen has joined #ruby
Abhijit_ has joined #ruby
spider-mario has joined #ruby
rshetty has joined #ruby
anarang has quit [Ping timeout: 256 seconds]
doug1 has quit [Ping timeout: 250 seconds]
Soda has quit [Remote host closed the connection]
Abhijit has quit [Ping timeout: 245 seconds]
kp666 has quit [Remote host closed the connection]
timonv_ has quit [Read error: Connection reset by peer]
nrsk has joined #ruby
timonv_ has joined #ruby
anarang has joined #ruby
moritzschaefer has joined #ruby
timonv_ has quit [Remote host closed the connection]
rahult has joined #ruby
freezey has joined #ruby
nfk has joined #ruby
o0oo0o has joined #ruby
freezey has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
noop has quit [Ping timeout: 256 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
red_horned_rihno has quit [Ping timeout: 244 seconds]
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
rahult has joined #ruby
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
psy_ has joined #ruby
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
red_horned_rihno has joined #ruby
Spami has joined #ruby
Pupeno has joined #ruby
sigurding has quit [Quit: sigurding]
Abhijit_ is now known as Abhijit
jasooon has joined #ruby
anaeem1 has quit [Remote host closed the connection]
moritzschaefer has quit [Remote host closed the connection]
rahult is now known as rahult_
jasooon has quit [Ping timeout: 250 seconds]
red_horned_rihno has quit [Ping timeout: 255 seconds]
mikepack has joined #ruby
AndChat| has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
Pupeno has quit [Remote host closed the connection]
william3 has joined #ruby
mikepack has quit [Ping timeout: 265 seconds]
dwhatmuff has joined #ruby
pumba1 has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
pumba1 has left #ruby ["WeeChat 0.3.7"]
ghr has quit [Ping timeout: 264 seconds]
ptrrr has joined #ruby
moritzs has joined #ruby
dwhatmuff has left #ruby [#ruby]
Rx_o has joined #ruby
mikecmpbll has joined #ruby
WormDrink has quit [Ping timeout: 245 seconds]
moritzs has quit [Remote host closed the connection]
moritzs has joined #ruby
goshdarnyou has joined #ruby
Insanity133 has quit [Remote host closed the connection]
Axy has joined #ruby
Axy has joined #ruby
dangerousdave has joined #ruby
timonv_ has joined #ruby
rbrs has joined #ruby
Zettam has joined #ruby
freezey has joined #ruby
codecop has joined #ruby
Mia has quit [Ping timeout: 255 seconds]
jack_rabbit has quit [Ping timeout: 256 seconds]
moritzs has quit [Remote host closed the connection]
crazydiamond has joined #ruby
timonv_ has quit [Remote host closed the connection]
Axy has quit [Ping timeout: 258 seconds]
freezey has quit [Ping timeout: 245 seconds]
Mia has joined #ruby
moritzs has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby
Zettam has quit [Ping timeout: 265 seconds]
kaspergrubbe has joined #ruby
shiru has joined #ruby
shredding has quit [Quit: shredding]
moritzschaefer has joined #ruby
Mia has quit [Ping timeout: 264 seconds]
Axy has quit [Ping timeout: 255 seconds]
Insanity133 has joined #ruby
Takle has quit [Remote host closed the connection]
Soda has joined #ruby
Takle has joined #ruby
shiru has quit [Remote host closed the connection]
shredding has joined #ruby
pyon has quit [Ping timeout: 250 seconds]
m8 has joined #ruby
Abhijit has quit [Ping timeout: 258 seconds]
Takle has quit [Ping timeout: 256 seconds]
Soda has quit [Remote host closed the connection]
jottr has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
poguez has quit [Quit: Connection closed for inactivity]
mfmfmfmfmfmf has joined #ruby
william3 has quit [Remote host closed the connection]
pyon has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jasooon has joined #ruby
Abhijit has joined #ruby
rippa has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
jasooon has quit [Ping timeout: 264 seconds]
sp0d has joined #ruby
wildroman2 has joined #ruby
ghr has joined #ruby
rshetty has quit [Remote host closed the connection]
aaronite has joined #ruby
rshetty has joined #ruby
<aaronite> hello, what's the difference between the method sysread() and the other one named read()?
<jhass> did you read the docs for both?
<aaronite> yeah
rshetty has quit [Read error: No route to host]
<aaronite> it says that sysread is similar to readpartial
rshetty has joined #ruby
<jhass> what in the docs still confuses you?
ghr has quit [Ping timeout: 255 seconds]
<aaronite> "low-level read"
<aaronite> what is this supposed to mean?
<jhass> man 2 read
<jhass> it's a syscall
<aaronite> oh, okay thanks
<jhass> where as the regular read does some buffering and stuff around that
KeroroGunsou has joined #ruby
havenwood has joined #ruby
<aaronite> it's strange though, in C when I read from a socket it will read only the first line and ignore every other packet, whilst in ruby this works
<jhass> read with what in C?
<aaronite> recv
<jhass> maybe it's too big for your buffer?
<aaronite> not really
<aaronite> both my character array and the recv call use the size 8192
<aaronite> it's not too big
<jhass> anyway, probably more a ##c question than a #ruby question ;)
<aaronite> i know, i just wanted to know how the sysread works
<aaronite> should i use select()?
vyorkin has joined #ruby
<jhass> depends on your usecase
Xeago has joined #ruby
krz has joined #ruby
freezey has joined #ruby
<apeiros> the sources are there
<apeiros> just read them?
aaronite has quit [Quit: leaving]
rshetty has quit [Remote host closed the connection]
chipotle has joined #ruby
<jhass> you scared him away. But Halloween is over!
rshetty has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
<shevy> you two are a scary duo
* apeiros ponders showing shevy some utf-8
<shevy> Ack!
<shevy> no more snowmen
<shevy> did you know that some of them come alive during Halloween?
Abhijit has quit [Ping timeout: 245 seconds]
freezey has quit [Ping timeout: 245 seconds]
anaeem1 has joined #ruby
<jhass> isn't it wonderful?
decoponio has joined #ruby
User458764 has quit [Ping timeout: 255 seconds]
wildroman2 has quit [Read error: Connection reset by peer]
anaeem1 has quit [Ping timeout: 240 seconds]
wildroman2 has joined #ruby
Abhijit has joined #ruby
User458764 has joined #ruby
livathinos has joined #ruby
stephenwithav has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
end_guy has quit [Ping timeout: 246 seconds]
o0oo0o has joined #ruby
bmurt has joined #ruby
end_guy has joined #ruby
benzrf|offline is now known as benzrf
shredding has quit [Quit: shredding]
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
Fire-Dragon-DoL has joined #ruby
raj_ has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
raj_ has quit [Client Quit]
Takle has joined #ruby
Timgauthier has joined #ruby
Xeago has quit [Remote host closed the connection]
anaeem1 has joined #ruby
klaut has quit [Remote host closed the connection]
wildroman2 has quit [Read error: No route to host]
wildroman2 has joined #ruby
red_horned_rihno has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
renderful has joined #ruby
shredding has joined #ruby
rshetty has quit [Remote host closed the connection]
SouL has joined #ruby
stef204 has joined #ruby
fenak has joined #ruby
rshetty has joined #ruby
fenak has quit [Client Quit]
wildroman3 has joined #ruby
oleo__ has joined #ruby
oleo is now known as Guest78695
wildroman2 has quit [Ping timeout: 244 seconds]
renderful has quit [Ping timeout: 250 seconds]
Rx_o has quit [Quit: (null)]
fenak has joined #ruby
fenak has quit [Client Quit]
Scotteh_ has joined #ruby
fenak has joined #ruby
fenak has quit [Client Quit]
Guest78695 has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
tyll_ has quit [Ping timeout: 264 seconds]
Scotteh has quit [Ping timeout: 255 seconds]
phantummm has joined #ruby
wildroman2 has joined #ruby
tyll has joined #ruby
Guest22192 has joined #ruby
<Guest22192> any one online ?
<benzrf> wno
kaspergrubbe has joined #ruby
<Guest22192> wekk i have a problem with udnerstanding api
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<jhass> thanks for the info, what shall we do with it?
wildroman3 has quit [Ping timeout: 265 seconds]
<apeiros> I haven't seen any ones online
asuka has quit [Ping timeout: 240 seconds]
l3kn has quit [Ping timeout: 272 seconds]
NameNotFound has quit [Ping timeout: 272 seconds]
musicmatze has quit [Ping timeout: 272 seconds]
Timgauthier is now known as timgauthier_away
<jhass> have you never been to 4chan?
fenak has joined #ruby
<apeiros> those are all zeroes
<apeiros> I mean, seriously
fenak has quit [Client Quit]
tessi_zz has quit [Ping timeout: 272 seconds]
<crome> just put source 'http://4chan.org' in you gemfile
kirun has joined #ruby
fenak has joined #ruby
wildroman3 has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
jasooon has joined #ruby
xymbol has joined #ruby
Abhijit has quit [Ping timeout: 256 seconds]
ndrei has quit [Ping timeout: 245 seconds]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> it seems Guest22192 is confused by all this
ndrei has joined #ruby
noop has joined #ruby
<apeiros> Guest22192: if you want help, you need to phrase your problem. and no, we can't read your mind and go from "I have some unspecified problems with some unspecified API".
mfmfmfmfmfmf has quit [Ping timeout: 256 seconds]
triple_b has joined #ruby
Timgauthier has joined #ruby
ghr has joined #ruby
<crome> we could come up with an unspecified answer
mfmfmfmfmfmf has joined #ruby
jasooon has quit [Ping timeout: 258 seconds]
<jhass> I thought I did?
<crome> fair enough
govg has quit [Ping timeout: 255 seconds]
wildroman3 has quit [Remote host closed the connection]
tessi_zz has joined #ruby
NameNotFound has joined #ruby
l3kn has joined #ruby
asuka has joined #ruby
musicmatze has joined #ruby
Takle has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
<apeiros> well, >15min to actually phrase a question. I guess it's not that important.
Abhijit has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
User458764 has quit [Ping timeout: 245 seconds]
<havenwood> i'm surprised `source 'http://4chan.org'` worked, i thought you needed https
<havenwood> another happy customer!
sinkensabe has quit [Remote host closed the connection]
<shevy> lol
freezey has joined #ruby
<shevy> you guys are poking fun at a noble guest
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
govg has joined #ruby
<apeiros> yeah, some questions trigger my darker side. like "anyone X?"
<apeiros> but I guess it doesn't matter. the guest seems to have died in the meantime.
yfeldblum has joined #ruby
stef204 has joined #ruby
Nieralyte has joined #ruby
vyorkin has quit [Ping timeout: 256 seconds]
Soda has joined #ruby
freezey has quit [Ping timeout: 240 seconds]
<shevy> lol
yfeldblu_ has joined #ruby
Timgauthier is now known as timgauthier_away
wasamasa has quit [Quit: ZNC - http://znc.in]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 255 seconds]
wasamasa has joined #ruby
Madmanden has joined #ruby
m8 has quit [Read error: Connection reset by peer]
hellangel7 has joined #ruby
yfeldblu_ has quit [Ping timeout: 255 seconds]
elaptics`away is now known as elaptics
m8 has joined #ruby
snath has quit [Ping timeout: 265 seconds]
shelling_ has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
hellangel7 has quit [Client Quit]
triple_b has quit [Read error: Connection reset by peer]
hellangel7 has joined #ruby
triple_b has joined #ruby
hellangel7 has quit [Client Quit]
oo_ has joined #ruby
hellangel7 has joined #ruby
stef204 has joined #ruby
triple_b has quit [Remote host closed the connection]
<shevy> >> :foo/bla
<eval-in__> shevy => undefined local variable or method `bla' for main:Object (NameError) ... (https://eval.in/215805)
triple_b has joined #ruby
thumpba has joined #ruby
DLSteve has joined #ruby
User458764 has joined #ruby
xymbol has quit [Ping timeout: 272 seconds]
<crome> shevy forgot how to ruby
<shevy> I wondered if I can optimize
siwica has joined #ruby
ptrrr has quit [Quit: ptrrr]
max96at|off is now known as max96at
<shevy> 'foo/bla/ya.png' vs :foo/bla/ya.png
phutchins has joined #ruby
xymbol has joined #ruby
jimbach has joined #ruby
ringarin has joined #ruby
triple_b has quit [Remote host closed the connection]
triple_b has joined #ruby
unshadow has joined #ruby
<unshadow> what is the right resuce for socket "closed stream" error ?
<unshadow> *rescue
shredding has quit [Quit: shredding]
<shevy> you can find out usually
<shevy> rescue Exception => error; p error.class
mityaz has joined #ruby
<shevy> apeiros I think some days ago you said it is possible to use .class_eval to alias class methods? I forgot the example though, I also forgot to write it down :(
User458764 has quit [Ping timeout: 244 seconds]
phutchins has quit [Ping timeout: 260 seconds]
sinkensabe has joined #ruby
jenrzzz has joined #ruby
<shevy> oh
<shevy> perhaps it was .instance_eval
jottr has quit [Ping timeout: 255 seconds]
jasooon has joined #ruby
shredding has joined #ruby
visof has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Alina-malina has quit [Ping timeout: 260 seconds]
ndrei has quit [Ping timeout: 255 seconds]
sp0d has quit [Quit: Leaving]
Deele has joined #ruby
thumpba_ has joined #ruby
jottr has joined #ruby
ctp has joined #ruby
nonks has joined #ruby
thumpba has quit [Ping timeout: 250 seconds]
<toretore> shevy: you just need to execute alias_method in the right scope, which is the class eigenclass
<toretore> class << Klass; here; end
shredding has quit [Quit: shredding]
<shevy> hehe
<shevy> the syntax apeiros showed allowed one to avoid the use of <<
chipotle has quit [Quit: cya]
mfmfmfmfmfmf has quit [Read error: Connection reset by peer]
thumpba_ has quit []
mikepack has joined #ruby
govg has quit [Quit: leaving]
dailite has joined #ruby
govg has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
ghr has joined #ruby
jasooon has quit [Ping timeout: 265 seconds]
charliesome has quit [Quit: zzz]
wildroman2 has joined #ruby
eat_multi has joined #ruby
mikepack has quit [Ping timeout: 265 seconds]
timonv_ has joined #ruby
dailite has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlexRussia has quit [Ping timeout: 258 seconds]
cpruitt has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
timonv_ has quit [Remote host closed the connection]
<apeiros> shevy: you can `instance_eval do alias baz bar end` or `singleton_class.send :alias_method, :baz, :bar` in the class body. but I see no reason to avoid `<< self`
<apeiros> of course you could transform either variant into Module#alias_class_method
ghr has quit [Ping timeout: 250 seconds]
sinkensabe has quit [Remote host closed the connection]
fenak has quit [Quit: leaving]
AlexRussia has joined #ruby
HolyWinner has quit [Read error: Connection reset by peer]
freezey has joined #ruby
magic__ has quit [Remote host closed the connection]
<unshadow> I'm having problems with a tcp proxy loop, I want to break out when one of the sockets is dead (ie closed) but the .closed? methoud only shows true when I do socket.close, what is the right way to know when the other end is not with us anymore ?
jheg has joined #ruby
HolyWinner has joined #ruby
sinkensabe has joined #ruby
jimbach has quit [Remote host closed the connection]
hellangel7 has quit [Quit: hellangel7 : Later guys !]
bmurt has quit []
oo_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
freezey has quit [Ping timeout: 265 seconds]
anarang has quit [Ping timeout: 240 seconds]
claymore has joined #ruby
moritzs has quit [Remote host closed the connection]
moritzschaefer has quit [Remote host closed the connection]
Caius has quit [Ping timeout: 260 seconds]
luriv has joined #ruby
jottr_ has joined #ruby
jottr has quit [Disconnected by services]
jottr_ is now known as jottr
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
yfeldblum has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
ptrrr has joined #ruby
danijoo_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
manzo has joined #ruby
Caius has joined #ruby
linojon has joined #ruby
troulouliou_dev has joined #ruby
troulouliou_dev has quit [Changing host]
troulouliou_dev has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
DrCode has quit [Ping timeout: 246 seconds]
devdazed has joined #ruby
ptierno_ is now known as ptierno
<jokke> hey
<jokke> i installed ruby on my router
<jokke> and i'm having some trouble with ssl
<jokke> maybe you guys can help me out
sinkensabe has quit [Remote host closed the connection]
<jokke> i'm getting the following error /opt/lib/ruby/2.1/net/http.rb:920:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: (null) (OpenSSL::SSL::SSLError)
<jokke> any ideas?
o0oo0o has joined #ruby
Abhijit has quit [Quit: Leaving]
troulouliou_dev has quit [Remote host closed the connection]
Alina-malina has joined #ruby
DrCode has joined #ruby
red_horned_rihno has quit [Ping timeout: 255 seconds]
Azure has quit [Quit: Blue Sky Fish]
o0oo0o has quit [Ping timeout: 246 seconds]
jaequery has joined #ruby
nyanz has joined #ruby
jaequery has quit [Client Quit]
lxsameer has quit [Quit: Leaving]
nonks has joined #ruby
unclouded has quit [Ping timeout: 244 seconds]
renderful has joined #ruby
enebo has joined #ruby
oo_ has joined #ruby
arya_ching has joined #ruby
Areessell has quit [Quit: (null)]
renderful has quit [Ping timeout: 264 seconds]
unshadow_ has joined #ruby
red_horned_rihno has joined #ruby
cina has joined #ruby
sigurding has joined #ruby
red_horned_rihno has quit [Client Quit]
red_horned_rihno has joined #ruby
livathinos has quit [Remote host closed the connection]
eat_multi has quit [Ping timeout: 260 seconds]
unshadow has quit [Ping timeout: 264 seconds]
livathinos has joined #ruby
jheg has quit [Quit: jheg]
oo_ has quit [Ping timeout: 255 seconds]
rshetty has quit [Remote host closed the connection]
unshadow has joined #ruby
rshetty has joined #ruby
sepp2k has joined #ruby
it0a has joined #ruby
unshadow_ has quit [Ping timeout: 255 seconds]
livathinos has quit [Ping timeout: 255 seconds]
spastorino has joined #ruby
sevenseacat has quit [Quit: Leaving.]
sevenseacat has joined #ruby
shredding has joined #ruby
oo_ has joined #ruby
ndrei has joined #ruby
earfin has joined #ruby
klaut has joined #ruby
klaut has quit [Remote host closed the connection]
Guest22192 has quit [Ping timeout: 246 seconds]
wildroman2 has quit [Remote host closed the connection]
yfeldblum has joined #ruby
VanillaGoat__ has joined #ruby
it0a has quit [Ping timeout: 255 seconds]
axisys has quit [Remote host closed the connection]
flori_ has quit [Ping timeout: 258 seconds]
flori has joined #ruby
patrick99e99 has joined #ruby
fr1eza has joined #ruby
fr1eza has joined #ruby
troulouliou_dev has joined #ruby
axisys has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
axisys has quit [Changing host]
axisys has joined #ruby
VanillaGoat_ has quit [Ping timeout: 272 seconds]
Soda has quit [Remote host closed the connection]
fr1eza has quit [Ping timeout: 260 seconds]
patrick99e99 has quit [Ping timeout: 260 seconds]
<jokke> anyone?
cpruitt has quit [Quit: cpruitt]
Insanity133 has quit [Remote host closed the connection]
<jhass> jokke: does for example a curl command to that host from the router work?
cleopatra has quit [Read error: Connection reset by peer]
<jokke> hm let's see
workmad3 has quit [Ping timeout: 255 seconds]
arya_ching_ has joined #ruby
livathinos has joined #ruby
pdtpatrick_ has joined #ruby
Iniesta8 has joined #ruby
Iniesta8 has quit [Max SendQ exceeded]
<jokke> jhass: nope
<jokke> curl: (60) SSL certificate problem: unable to get local issuer certificate
<jhass> that means you don't have CA installed that validates the remote cert
livathinos has quit [Read error: Connection reset by peer]
<jokke> seems so
livathinos has joined #ruby
cleopatra has joined #ruby
arya_ching has quit [Ping timeout: 245 seconds]
<jhass> what's the router running on?
<jokke> it's a custom firmare
<jokke> not openwrt
<jokke> but much like it
<jhass> so no opkg too?
<jokke> yeah i got opkg
<jhass> with openwrt repos?
<jokke> unfortunately not
<jokke> because i couldnt install ca-certificates
snath has joined #ruby
<jhass> you might still be able to grab the architecture matching one from https://downloads.openwrt.org/barrier_breaker/14.07/
it0a has joined #ruby
dRbiG has quit [Quit: co'o ro do]
anaeem1 has quit [Remote host closed the connection]
livathinos has quit [Ping timeout: 264 seconds]
jonr22 has joined #ruby
Vile` has quit [Ping timeout: 256 seconds]
cleopatra has quit [Read error: Connection reset by peer]
tlarevo_ has joined #ruby
Vile` has joined #ruby
cleopatra has joined #ruby
sinkensabe has joined #ruby
flori has quit [Ping timeout: 245 seconds]
cleopatra has quit [Read error: Connection reset by peer]
tlarevo has quit [Ping timeout: 265 seconds]
claymore has quit [Quit: Leaving]
flori has joined #ruby
SpaceKookie has joined #ruby
t_mmyv has joined #ruby
cina has quit [Ping timeout: 256 seconds]
cleopatra has joined #ruby
cina has joined #ruby
sinkensabe has quit [Ping timeout: 272 seconds]
phutchins has joined #ruby
claw has quit [Remote host closed the connection]
cleopatra has quit [Read error: Connection reset by peer]
claw has joined #ruby
cleopatra has joined #ruby
shelling_ has quit [Quit: Connection closed for inactivity]
luminor has quit []
cleopatra has quit [Read error: Connection reset by peer]
michael_mbp has quit [Excess Flood]
cleopatra has joined #ruby
vectra has joined #ruby
michael_mbp has joined #ruby
cina has quit [Quit: leaving]
havenn has joined #ruby
cleopatra has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 246 seconds]
rbrs has quit [Remote host closed the connection]
cleopatra has joined #ruby
flori has quit [Remote host closed the connection]
flori has joined #ruby
jheg has joined #ruby
cleopatra has quit [Read error: Connection reset by peer]
doug1 has joined #ruby
cleopatra has joined #ruby
timonv_ has joined #ruby
cleopatra has quit [Read error: Connection reset by peer]
DLSteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pandaant has joined #ruby
red_horned_rihno has quit [Ping timeout: 244 seconds]
User458764 has joined #ruby
keen_________ has joined #ruby
Hanmac has quit [Ping timeout: 244 seconds]
keen________ has quit [Ping timeout: 245 seconds]
ptrrr has quit [Quit: ptrrr]
KeroroGunsou has quit [Quit: leaving]
pandaant has quit [Remote host closed the connection]
Madmanden has quit [Quit: Leaving]
jasooon has joined #ruby
marr has joined #ruby
visof has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
jasooon_ has joined #ruby
jasooon has quit [Ping timeout: 264 seconds]
krz has quit [Quit: WeeChat 1.0.1]
linojon has quit [Quit: linojon]
nonks has quit [Ping timeout: 246 seconds]
akamel has joined #ruby
dkb20k has quit [Remote host closed the connection]
Hanmac has joined #ruby
oo_ has quit [Remote host closed the connection]
doug1 has quit [Ping timeout: 260 seconds]
mostlybadfly has joined #ruby
moritzs has joined #ruby
slawrence00 has joined #ruby
moritzschaefer has joined #ruby
PHP4Ever has joined #ruby
Dev-Gitter has joined #ruby
FarlaTux has joined #ruby
jonr22 has quit [Remote host closed the connection]
max96at has quit [Read error: Connection reset by peer]
jasooon_ has quit [Ping timeout: 244 seconds]
Dev-Gitter has quit [Quit: Leaving [Bye Everybody]]
zorak8 has joined #ruby
PHP4Ever has quit [Quit: Leaving [Bye Everybody]]
ndrei has quit [Ping timeout: 245 seconds]
livathinos has joined #ruby
linojon has joined #ruby
timonv_ has joined #ruby
vectra has quit [Ping timeout: 244 seconds]
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
jonr22 has joined #ruby
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ruby
livathinos has quit [Ping timeout: 265 seconds]
shredding has quit [Quit: shredding]
mfmfmfmfmfmf has joined #ruby
lkba has joined #ruby
o0oo0o has joined #ruby
drkyro has joined #ruby
sinkensabe has joined #ruby
FarlaTux has quit [Quit: Leaving [Bye Everybody]]
mesamoo has joined #ruby
ndrei has joined #ruby
Areessell has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
<mozzarella> guys
timonv_ has quit [Ping timeout: 260 seconds]
sinkensabe has quit [Ping timeout: 245 seconds]
unclouded has joined #ruby
<mozzarella> is there a library to transform numbers into words? 15 -> fifteen
Areessell_ has joined #ruby
phutchins has quit [Ping timeout: 272 seconds]
virtualize has quit []
rshetty has quit [Remote host closed the connection]
Areessell has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
timonv_ has joined #ruby
rshetty has joined #ruby
<havenn> mozzarella: need it to be able to do all numbers? just some subset?
<havenn> mozzarella: look at one of the things humanize does: https://github.com/radar/humanize/blob/master/lib/cache.rb#L1
diegoviola has joined #ruby
<mozzarella> humanize seems good enough
doug1 has joined #ruby
mikecmpbll has joined #ruby
koderok has joined #ruby
Timgauthier has joined #ruby
<havenn> they went a little over 80 char there :P
<havenn> 28538
<mozzarella> I use a 120 chars limit
<havenn> maybe humanize's limit is 30k
arya_ching_ has quit []
koderok has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
Channel6 has joined #ruby
doug1 has quit [Ping timeout: 250 seconds]
teddyp1cker has joined #ruby
mary5030 has joined #ruby
jaequery has joined #ruby
shredding has joined #ruby
zorak8 has quit [Ping timeout: 256 seconds]
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
earfin has quit [Quit: Leaving]
oo_ has quit [Ping timeout: 264 seconds]
mfmfmfmfmfmf has quit []
ndrei has quit [Read error: Connection reset by peer]
davidhq has joined #ruby
wildroman2 has joined #ruby
ndrei has joined #ruby
it0a has quit [Ping timeout: 256 seconds]
<jhass> the only limit is your imagination!
triple_b has joined #ruby
KeroroGunsou has joined #ruby
echevemaster has joined #ruby
jonr22 has quit []
yfeldblum has joined #ruby
davidhq has quit [Client Quit]
davidhq has joined #ruby
_linus_torvolds_ has joined #ruby
<_linus_torvolds_> hey people
hmsimha_ has quit [Ping timeout: 260 seconds]
arya_ching has joined #ruby
kaspertidemann has joined #ruby
mikepack has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
g0bl1n has quit [Quit: g0bl1n]
_linus_torvolds_ has left #ruby ["Leaving"]
ndrei has quit [Ping timeout: 256 seconds]
kl_ has joined #ruby
havenn is now known as havenwood
<kl_> I see when the author made the dining philosopher's program use actors, eat and think became tightly coupled, i.e. one effectively causing the other
<kl_> is it possible to avoid this with the actor model?
ndrei has joined #ruby
mikepack has quit [Ping timeout: 258 seconds]
nonks has joined #ruby
Insanity133 has joined #ruby
kireevco has joined #ruby
Spami has joined #ruby
weemsledeux has joined #ruby
weemsledeux has joined #ruby
IceDragon has joined #ruby
koderok has joined #ruby
sigurding has quit [Quit: sigurding]
DLSteve has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
Spami has quit [Client Quit]
Insanity133 has quit [Ping timeout: 264 seconds]
patrick99e99 has joined #ruby
phutchins has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
wildroman2 has joined #ruby
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
benzrf is now known as benzrf|offline
oo_ has joined #ruby
sevenseacat has quit [Remote host closed the connection]
red_horned_rihno has joined #ruby
patrick99e99 has quit [Ping timeout: 256 seconds]
zorak8 has joined #ruby
mary5030 has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 250 seconds]
eat_multi has joined #ruby
oo_ has quit [Ping timeout: 245 seconds]
benzrf|offline is now known as benzrf
zorak_ has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
livathinos has joined #ruby
shredding has quit [Quit: shredding]
<aewffwea> What's the easiest way to connect via ssh to several remote servers and grep some files? (Preferably using as less as bash and as much as ruby as possible)
gsd has joined #ruby
<jhass> aewffwea: never tried it myself but there's http://rubygems.org/gems/net-ssh-multi
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shredding has joined #ruby
sinkensabe has joined #ruby
shredding has quit [Client Quit]
jenrzzz has quit [Ping timeout: 255 seconds]
kaspertidemann has quit []
livathinos has quit [Ping timeout: 260 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
danijoo_ has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 256 seconds]
danijoo has joined #ruby
wildroman3 has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goshdarnyou has joined #ruby
jaffachief has quit [Quit: ZNC - http://znc.in]
wildroman2 has quit [Ping timeout: 244 seconds]
starless has joined #ruby
Dude007 has quit [Ping timeout: 256 seconds]
Dude007_ has joined #ruby
claymore has joined #ruby
kireevco has quit [Quit: Leaving.]
unshadow has quit [Quit: leaving]
wildroman3 has quit [Ping timeout: 264 seconds]
jottr has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
wildroman2 has joined #ruby
blueOxigen has joined #ruby
it0a has joined #ruby
bluOxigen has quit [Ping timeout: 265 seconds]
shredding has joined #ruby
jasooon has joined #ruby
anaeem1 has joined #ruby
narendraj9__ has joined #ruby
yfeldblum has joined #ruby
narendraj9__ has quit [Client Quit]
cleopatra has joined #ruby
cleopatra has quit [Read error: Connection reset by peer]
narendraj9_ has joined #ruby
nonks has joined #ruby
narendraj9_ has quit [Client Quit]
yfeldblum has quit [Ping timeout: 240 seconds]
Darryl_ has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
red_horned_rihno has quit [Ping timeout: 265 seconds]
anaeem1 has quit [Remote host closed the connection]
gaganjyot has joined #ruby
enebo has quit [Quit: enebo]
jaequery has joined #ruby
koderok has quit [Ping timeout: 258 seconds]
dkb20k has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
ylluminarious has joined #ruby
shredding has quit [Quit: shredding]
ylluminarious has quit [Client Quit]
wildroman2 has quit [Remote host closed the connection]
VanillaGoat__ has left #ruby ["Leaving"]
wildroman2 has joined #ruby
kireevco has joined #ruby
dkb20k has quit [Ping timeout: 245 seconds]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
frogsy has joined #ruby
gaganjyot has quit [Ping timeout: 245 seconds]
poulet_a has joined #ruby
pagioss has quit [Ping timeout: 255 seconds]
klaut has joined #ruby
poulet_a has quit [Client Quit]
KeroroGunsou has quit [Quit: leaving]
blackmesa has joined #ruby
gaganjyot has joined #ruby
jheg has quit [Quit: jheg]
echevemaster has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
koderok has joined #ruby
weemsledeux has joined #ruby
weemsledeux has joined #ruby
koderok has quit [Read error: Connection reset by peer]
o0oo0o has joined #ruby
Timgauthier has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
supersym has joined #ruby
oo_ has quit [Ping timeout: 272 seconds]
anaeem1 has joined #ruby
aspires has joined #ruby
Pupeno_ has joined #ruby
TripTastic has joined #ruby
Pupeno has quit [Ping timeout: 260 seconds]
jimbach has joined #ruby
Takle has quit [Remote host closed the connection]
pandaant has joined #ruby
jheg has joined #ruby
TripTastic has quit [Client Quit]
livathinos has joined #ruby
bmurt has joined #ruby
mfmfmfmfmfmf has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ctp has joined #ruby
zorak_ has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
RevenRn has joined #ruby
MagicalPumpkin is now known as magical_mystery
RevenRn has left #ruby ["Leaving"]
livathinos has quit [Ping timeout: 244 seconds]
rbrs has joined #ruby
m8 has quit [Read error: Connection reset by peer]
mfmfmfmfmfmf has quit [Ping timeout: 255 seconds]
aspires has quit []
m8 has joined #ruby
linojon has quit [Quit: linojon]
linojon has joined #ruby
aspires has joined #ruby
AFKGeek has joined #ruby
jottr has joined #ruby
supersym has quit [Quit: WeeChat 1.0.1]
bmurt has quit []
supersym has joined #ruby
hamakn has quit [Remote host closed the connection]
troulouliou_dev has quit [Quit: Leaving]
cashnguns has joined #ruby
yfeldblum has joined #ruby
AFKGeek has quit [Quit: Bye]
magical_mystery is now known as magic
manzo has quit [Ping timeout: 264 seconds]
dangerousdave has joined #ruby
aaronite has joined #ruby
<aaronite> Hello, I require assistance
<aaronite> I get an EOFError
<aaronite> Coming from gameauth and getdata
bruno- has joined #ruby
aspires has quit []
kireevco has quit [Quit: Leaving.]
Ishiro has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
yfeldblum has quit [Ping timeout: 258 seconds]
anaeem1 has quit [Read error: Connection reset by peer]
<aaronite> please help?
jasooon has quit [Ping timeout: 245 seconds]
buglite has joined #ruby
anaeem1_ has joined #ruby
buglite has quit [Remote host closed the connection]
spastorino has quit [Quit: Connection closed for inactivity]
jasooon has joined #ruby
nonks has joined #ruby
akamel has quit [Quit: Leaving.]
pagioss has joined #ruby
ndrei has joined #ruby
Insanity133 has joined #ruby
arya_ching has quit []
nonks has quit [Ping timeout: 246 seconds]
BTRE has quit [Quit: Leaving]
weemsled_ has joined #ruby
Insanity133 has quit [Ping timeout: 255 seconds]
aaronite has left #ruby [#ruby]
aaronite has joined #ruby
<epitron> those are some big tabs
<aaronite> i request help
<epitron> aaronite: you need to be more specific about what you need help with
<aaronite> if you look at it, it gives me an EOFError
<aaronite> coming from gameauth and getdata
<crome> if I look at it it gives me headache
<aaronite> true
<aaronite> i don't know why, but it gives me that error
<epitron> aaronite: maybe it's because the socket reached the end?
<aaronite> how?
<epitron> EOFError means END OF FILE
<epitron> perhaps by the socket being closed?
<apeiros> sysread does that when you reach end of input
<aaronite> why did it close lol
<epitron> because sockets do that
<epitron> all sockets must close, aaronite
mikepack has joined #ruby
<aaronite> sockets are annoying
<epitron> it is the circle of life
<aaronite> eh you're right
gaganjyot has quit [Quit: Leaving]
<aaronite> but following the protocol for my client, it's supposed to return a buffer
<aaronite> however it's not returning anything besides an EOFError
teddyp1cker has quit [Ping timeout: 250 seconds]
<epitron> perhaps you should rescue the EOFError and return a nil
<aaronite> why
<apeiros> exceptions are not returned
<epitron> then your code can know that you are out of data
<havenwood> aaronite: "Raises SystemCallError on error and EOFError at end of file."
<apeiros> return and raise are two entirely different mechanisms.
weemsledeux has quit [Ping timeout: 260 seconds]
<havenwood> aaronite: You've reached the end, have an EOFError. Come again!
<crome> aaronite: see what you did? you just triggered apeiros
<epitron> raise is a return having a panic attack, and it will skip over all the callers until someone captures it in a net called "rescue"
<aaronite> i'll try another server?
<aaronite> it may or may not be full
weemsled_ has quit [Ping timeout: 264 seconds]
lolmaus has joined #ruby
<aaronite> nope that's not it
<waxjar> maybe there is a bug in your program and the server just closes the socket when it receives unexpected input?
<apeiros> I think I better leave. cargo cult levels are rising.
<havenwood> I suggest brunch as a solution. Just eating brunch, no lib named that.
<havenwood> But I've founds it's a lovely alternative to Sockets.
mikepack has quit [Ping timeout: 240 seconds]
<epitron> brunch the meal is a good alternative to sockets?
<havenwood> mmm, sounds lovely
<crome> epitron: have you ever had problems with brunch?
mary5030 has joined #ruby
<waxjar> brunch is a good alternative to anything, save dinner :D
<havenwood> epitron: and you can put champagne in your orange juice, it's not even wierd!
<epitron> crome: well, first of all.. IT'S WAY AFTER NOON
ping-pong has quit [Ping timeout: 272 seconds]
* apeiros just had dinner
<epitron> it's time for dunch
<epitron> havenwood: truly the meal of kings
jasooon has quit [Ping timeout: 256 seconds]
<havenwood> probably why it's a weekend thing, we'd get gout like kings
jenrzzz has joined #ruby
<epitron> o_O
<epitron> i did not know that was a brunch risk
<havenwood> only when used out of spec
<aaronite> socket probably closes because i'm sending the wrong input
<aaronite> i might have a typo somewhere
<epitron> havenwood: wait, did you mean "gout" the disease, or "goût" (in good taste)
<havenwood> >> StringIO.new.sysread 1
<eval-in__> havenwood => uninitialized constant StringIO (NameError) ... (https://eval.in/215924)
<havenwood> oh
top4o has joined #ruby
<havenwood> >> require 'stringio'; StringIO.new.sysread 1
<eval-in__> havenwood => end of file reached (EOFError) ... (https://eval.in/215925)
<havenwood> aaronite: ^
<aaronite> sorry what
shevy has quit [Ping timeout: 256 seconds]
<aaronite> StringIO.new.sysread 1
<havenwood> aaronite: Once you've read past the end, EOFError. Just trying to say it a different way.
<aaronite> don't understand
<aaronite> but how come the login method doesn't EOFError?
<havenwood> aaronite: #sysread will EOFError when there's no more to read
<aaronite> it does the exact same thing
<epitron> >> class StringIO; def initialize(data=""); @pos = 0; @data = data; end; def sysread(n); raise EOFError if @pos >= @data.size; chunk = @data[@pos..@pos+n]; @pos += n; end; end
<eval-in__> epitron => :sysread (https://eval.in/215929)
<epitron> oops, forgot to return chunk
<epitron> >> class StringIO; def initialize(data=""); @pos = 0; @data = data; end; def sysread(n); raise EOFError if @pos >= @data.size; chunk = @data[@pos..@pos+n]; @pos += n; chunk; end; end; StringIO.new("hello there").sysread(5)
<eval-in__> epitron => "hello " (https://eval.in/215931)
govg has quit [Ping timeout: 245 seconds]
patrick99e99 has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
<havenwood> epitron: missed your question, the disease, hehe
<epitron> off by one error.. the range needs an extra dot
<crome> 5 or 6 bytes
mikeric has joined #ruby
<epitron> havenwood: so, the richness of brunch causes inflammation?
<crome> who cares
<havenwood> epitron: foods high in purines break down into uric acid
<epitron> oic
<havenwood> the crystals cause probs
<epitron> which foods have the purines?
<havenwood> meats, particularly organs or shellfish
<epitron> fascinating
<havenwood> like kidneys, heart, shrimp
<crome> no organs then. luckily you can still eat a piano
<havenwood> brains are really high in purine
<havenwood> don't eat brain
<havenwood> asparagus and mushrooms are high on the veggie side
patrick99e99 has quit [Ping timeout: 250 seconds]
rkalfane has joined #ruby
KC9YDN has joined #ruby
omosoj has joined #ruby
xymbol has quit [Read error: Connection reset by peer]
<aaronite> i think i figured it out guys
<havenwood> aaronite: oh?
<aaronite> well
<aaronite> turns out i forgot something
<havenwood> oopsy
ping-pong has joined #ruby
<aaronite> nope just tested it
<aaronite> to hell with sockets from ruby
ftj has joined #ruby
<crome> lol
blueOxigen has quit [Ping timeout: 244 seconds]
<crome> to hell with sockets that don't just read stuff when they are closed
<crome> they could make up something, right?
xymbol has joined #ruby
<aaronite> i'm not supposed to put @gamesock in the initialization method
shevy has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
rshetty has quit [Remote host closed the connection]
livathinos has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
rshetty has joined #ruby
Ishiro has quit [Quit: Computer has gone to sleep.]
fandi has joined #ruby
mfmfmfmfmfmf has joined #ruby
aaronite has quit [Quit: leaving]
snovity has joined #ruby
Petru has joined #ruby
livathinos has quit [Ping timeout: 264 seconds]
rshetty has quit [Ping timeout: 244 seconds]
Soda has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phutchins has quit [Ping timeout: 265 seconds]
lou_ has joined #ruby
lou_ has quit [Remote host closed the connection]
KC9YDN has quit [Quit: ☭ Karl Marx & Friedrich Engels, Vladimir Lenin, Josef Stalin, Mao Tse-Tung, Kim Il Sung, Ho Chi Minh, Fidel Castro & Ernesto Guevara ☭]
kl_ has quit [Ping timeout: 265 seconds]
<apeiros> crome: I think you're on to something!
klaut has quit [Remote host closed the connection]
<apeiros> class InfiniteSocket < WhateverSocket; def sysread(n); super; rescue EOFError; SecureRandom.random_bytes(n); end; end
<apeiros> there! no more end of input!
nonks has joined #ruby
<apeiros> class InfiniteSocket < WhateverSocket; def sysread(n); super; rescue EOFError; SecureRandom.random_bytes(rand < 0.1 ? rand(1...n) : n); end; end
<apeiros> now it even emulates shorter input than read-length
livathinos has joined #ruby
Rahul_Roy_ has joined #ruby
Kricir has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
nonks has quit [Ping timeout: 246 seconds]
manzo has joined #ruby
Ishiro has joined #ruby
Petru has quit [Quit: Leaving]
Kricir has quit [Remote host closed the connection]
Ishiro has quit [Client Quit]
timonv_ has joined #ruby
chrishough has joined #ruby
dkb20k has joined #ruby
rkalfane has joined #ruby
JohnBat26 has joined #ruby
timonv_ has quit [Ping timeout: 245 seconds]
starless has quit [Ping timeout: 272 seconds]
skolman has joined #ruby
dkb20k has quit [Ping timeout: 264 seconds]
cleopatra has joined #ruby
Azure has joined #ruby
cleopatra has quit [Read error: Connection reset by peer]
starkhalo has joined #ruby
cleopatra has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
jaffachief has joined #ruby
cleopatra has quit [Read error: Connection reset by peer]
cleopatra has joined #ruby
xymbol has quit [Read error: Connection reset by peer]
Nieralyte has quit [Quit: Nieralyte]
xymbol has joined #ruby
cleopatra has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
cleopatra has joined #ruby
anaeem1_ has joined #ruby
klaut has joined #ruby
fuhgeddaboudit has joined #ruby
mary5030 has quit [Remote host closed the connection]
top4o has quit [Quit: ChatZilla 0.9.91 [Firefox 33.0.2/20141027150301]]
sinequanon has joined #ruby
anaeem1_ has quit [Ping timeout: 260 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
timonv_ has joined #ruby
anaeem1_ has joined #ruby
Versality has joined #ruby
timonv_ has quit [Remote host closed the connection]
SirFunk has quit [Remote host closed the connection]
oo_ has joined #ruby
jasooon has joined #ruby
<epitron> >> SecureRandom.random_bytes(7)
<eval-in__> epitron => uninitialized constant SecureRandom (NameError) ... (https://eval.in/215979)
<epitron> NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
<epitron> how will i pick my lottery numbers
auxbuss has joined #ruby
zorak8 has quit [Ping timeout: 255 seconds]
SirFunk has joined #ruby
gsd has joined #ruby
oo_ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
x1337807x has joined #ruby
ccooke has quit [Ping timeout: 255 seconds]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eka has joined #ruby
eka has quit [Client Quit]
wildroman2 has quit [Ping timeout: 244 seconds]
olivier_bK has joined #ruby
eka has joined #ruby
sinequanon has quit [Remote host closed the connection]
eka has quit [Client Quit]
troulouliou_dev has joined #ruby
eka has joined #ruby
phutchins has joined #ruby
oleo__ is now known as oleo
eka has quit [Client Quit]
jbw has quit [Ping timeout: 258 seconds]
jbw has joined #ruby
droidburgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jheg has quit [Quit: jheg]
eka has joined #ruby
starless has joined #ruby
zorak8 has joined #ruby
jonr22 has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
bbloom_ has joined #ruby
DLSteve has quit [Quit: Leaving]
noop has quit [Ping timeout: 272 seconds]
mistergibson has quit [Quit: Quitting ... be good to each other :)]
bbloom has quit [Ping timeout: 256 seconds]
WillAmes has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
francisfish has joined #ruby
mikecmpbll has joined #ruby
bbloom has joined #ruby
sinequanon has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> epitron: require
<apeiros> >> require 'securerandom'; SecureRandom.random_bytes(7)
<eval-in__> apeiros => "\x03+\x01 \x99\xA7E" (https://eval.in/215980)
renderful has joined #ruby
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
jasooon has quit [Ping timeout: 264 seconds]
bbloom_ has quit [Ping timeout: 264 seconds]
<epitron> >> require 'securerandom'; SecureRandom.random_bytes(7).bytes.map{|b| b % 49 }
<eval-in__> epitron => [11, 43, 7, 43, 44, 31, 48] (https://eval.in/215981)
<epitron> YAY
<epitron> wait, that's a lot of 40's
<epitron> i don't trust these numbers
Insanity133 has joined #ruby
* epitron goes back to fortune cookies
omosoj has quit [Ping timeout: 264 seconds]
francisfish has quit [Remote host closed the connection]
jasooon has joined #ruby
Takle has joined #ruby
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby
sinequanon has quit [Ping timeout: 245 seconds]
banister has quit [Max SendQ exceeded]
nobitanobi has joined #ruby
banister has joined #ruby
francisfish has joined #ruby
banister has quit [Max SendQ exceeded]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
tlarevo_ has quit [Remote host closed the connection]
banister has joined #ruby
renderful has quit [Ping timeout: 264 seconds]
tlarevo has joined #ruby
banister has quit [Max SendQ exceeded]
sarkis has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Insanity133 has quit [Ping timeout: 272 seconds]
<sarkis> hey all - looking for some examples of writing a cli gem using thor - anyone know of good examples?
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
jasooon has quit [Ping timeout: 256 seconds]
devdazed has quit [Ping timeout: 256 seconds]
banister has joined #ruby
syva has joined #ruby
banister has quit [Max SendQ exceeded]
Channel6 has quit [Quit: Leaving]
devdazed_ has joined #ruby
<waxjar> do you want to know how to write a cli tool or how to package one with your gem?
bruno- has joined #ruby
mary5030 has joined #ruby
banister has joined #ruby
francisfish has quit [Ping timeout: 260 seconds]
banister has quit [Max SendQ exceeded]
bbloom_ has joined #ruby
bbloom has quit [Ping timeout: 245 seconds]
<syva> hello , does anyone have any thoughts on a nice way of merging two arrays together based on nil elements? I can see an easy way to do it just by iterating over the second array, but wondering if there’s something cooler available? https://gist.github.com/anonymous/2d0458864ee9c68dbef8
W0rmDr1nk has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
* jhass has a deja-vu
banister has joined #ruby
<waxjar> syva: is the order important?
<syva> yes
banister has quit [Max SendQ exceeded]
<jhass> syva: each_with_index
randiman has joined #ruby
<syva> each array is value of doors in backgammon
<syva> first array is white player
<syva> second is black player chips
mfmfmfmfmfmf has quit []
<jhass> this must be some homework or something, we had the exactly same question like yesterday
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Areessell_ has quit [Quit: (null)]
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
<syva> not homework, building play backgammon via REST
<syva> :)
ghr has joined #ruby
<waxjar> a.zip(b).map{ |x,y| x || y }
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<sarkis> waxjar: actually i got it - this is so simple :)
einarj has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
<syva> thanks, although i guess this wil result in iterating twice
<syva> where as an each with index means i just iterate once
banister has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
banister has quit [Max SendQ exceeded]
<waxjar> true
<jhass> plus N index accesses
<jhass> probably not much of a difference
<syva> okay thanks so much guys :)
<waxjar> but don't think about those things unless they're a real problem :P
auxbuss has quit [Quit: I'm gone.]
mikeric has quit []
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<jhass> allocating a few more arrays might be an issue, if at all
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
randiman has quit [Quit: (null)]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has joined #ruby
mikeric has joined #ruby
eka has joined #ruby
kostadinss has joined #ruby
dangerousdave has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
claymore has quit [Ping timeout: 255 seconds]
wildroman2 has joined #ruby
claymore has joined #ruby
jenrzzz has joined #ruby
mbwe has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
Jackneill has quit [Remote host closed the connection]
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
nobitanobi has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klaut_ has joined #ruby
nobitanobi has joined #ruby
graydot has joined #ruby
yfeldblum has joined #ruby
WillAmes has joined #ruby
klaut has quit [Ping timeout: 256 seconds]
claymore has quit [Ping timeout: 245 seconds]
patrick99e99 has joined #ruby
nobitanobi has quit [Remote host closed the connection]
oo_ has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claymore has joined #ruby
jimbach has quit [Remote host closed the connection]
x1337807x has joined #ruby
Timgauthier has joined #ruby
inffcs00 has quit [Quit: Connection closed for inactivity]
patrick99e99 has quit [Ping timeout: 256 seconds]
oo_ has quit [Ping timeout: 255 seconds]
wildroman2 has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 272 seconds]
mikeric has quit []
nobitanobi has joined #ruby
wildroman2 has joined #ruby
mike32 has joined #ruby
gsd has joined #ruby
omosoj has joined #ruby
dangerousdave has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
Timgauthier has joined #ruby
nobitanobi has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
levity_island has joined #ruby
nobitanobi has quit [Read error: Connection reset by peer]
nacho-chips has joined #ruby
x1337807x has joined #ruby
ctp has joined #ruby
HolyWinner has quit [Ping timeout: 256 seconds]
claymore has quit [Quit: Leaving]
JBreit has joined #ruby
Timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
renier has joined #ruby
shazaum has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alem0lars is now known as alem0lars|away
govg has joined #ruby
dkb20k has joined #ruby
Alina-malina has quit [Ping timeout: 245 seconds]
dangerousdave has joined #ruby
ylluminarious has joined #ruby
Alina-malina has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jheg has joined #ruby
Darryl_ has quit [Quit: Connection closed for inactivity]
lmickh has joined #ruby
rkalfane has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Timgauthier has joined #ruby
visof has joined #ruby
dkb20k has quit [Ping timeout: 255 seconds]
ikaros has joined #ruby
jimbach has joined #ruby
weemsledeux has joined #ruby
Takle has quit [Remote host closed the connection]
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
decoponio has quit [Quit: Leaving...]
mikeric has joined #ruby
jack_rabbit has joined #ruby
renier_ has joined #ruby
danguita has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dkphenom has joined #ruby
Takle has joined #ruby
weemsledeux has quit [Client Quit]
weemsledeux has joined #ruby
weemsledeux has quit [Changing host]
weemsledeux has joined #ruby
abstrakt has joined #ruby
renier has quit [Ping timeout: 255 seconds]
renier__ has joined #ruby
dangerousdave has joined #ruby
_honning_ has joined #ruby
renier_ has quit [Ping timeout: 245 seconds]
renier has joined #ruby
jpierre03 has quit [Remote host closed the connection]
Timgauthier is now known as timgauthier_away
anaeem1_ has quit [Remote host closed the connection]
timgauthier_away is now known as Timgauthier
x1337807x has joined #ruby
Azure has quit [Quit: Blue Sky Fish]
Xiti` has quit [Ping timeout: 250 seconds]
arup_r has quit [Quit: Leaving.]
jpierre03 has joined #ruby
renier__ has quit [Ping timeout: 240 seconds]
graydot has quit [Quit: graydot]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
Xiti has joined #ruby
mikeric has quit []
renier has quit [Ping timeout: 272 seconds]
nacho-chips has quit []
mike32 has quit [Quit: Leaving]
andrewlio has quit [Quit: Leaving.]
renier has joined #ruby
skolman has quit [Remote host closed the connection]
Azure has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renier has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
renier has joined #ruby
Timgauthier is now known as timgauthier_away
teddyp1cker has quit [Remote host closed the connection]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nacho-chips has joined #ruby
levity_island has quit [Quit: levity_island]
fuhgeddaboudit has quit [Ping timeout: 258 seconds]
Wolland has joined #ruby
levity_island has joined #ruby
Channel6 has joined #ruby
Photism has quit [Quit: Leaving]
adriancb has joined #ruby
dangerousdave has joined #ruby
<diegoviola> rubinius 2.3 released
renier has quit [Ping timeout: 240 seconds]
einarj has quit [Remote host closed the connection]
Scotteh has joined #ruby
ctp has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
adriancb has quit [Ping timeout: 245 seconds]
Scotteh_ has quit [Ping timeout: 260 seconds]
<jheg> o/
djbkd has quit [Remote host closed the connection]
<jheg> how do i access an instance variable in a puts message outside of the class it was defined in?
djbkd has joined #ruby
renier has joined #ruby
djbkd has quit [Read error: No route to host]
sevvie has joined #ruby
bmurt has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
jimbach has quit [Remote host closed the connection]
shazaum has quit [Quit: Leaving]
phutchins has quit [Ping timeout: 245 seconds]
<pipework> jheg: Make a method
<pipework> Or if you really want to, instance_variable_get is a thing you should read the documentation for
<pipework> diegoviola: meh
<jheg> thanks pipework
<diegoviola> pipework: why are you meh about it
<diegoviola> works nice
<diegoviola> keyword arguments \o/
<pipework> diegoviola: JRuby is mo bettah.
<diegoviola> pipework: JVM is annoying tho
<jheg> since I asked I found that this worked … puts “#{ClasName.name} …”
<jheg> is that wrong?
<pipework> diegoviola: not at all
djbkd has joined #ruby
<diegoviola> pipework: ok
<pipework> If rubunius excites you, I guess whatever gets you off...
linojon has quit [Quit: linojon]
<diegoviola> what do you mean
<arrubin> Are you two having the same conversation in two channels?
<diegoviola> yes
x1337807x has joined #ruby
bmurt has quit []
<pipework> diegoviola: I mean that it's cool if that's what you like, but I don't really care for it.
havenwood has joined #ruby
Xeago has joined #ruby
<diegoviola> pipework: ok
<pipework> diegoviola: k
visof has quit [Ping timeout: 265 seconds]
jpierre03 has quit [Ping timeout: 244 seconds]
x1337807_ has joined #ruby
Timgauthier has joined #ruby
Timgauthier is now known as timgauthier_away
wildroman2 has quit [Ping timeout: 264 seconds]
x1337807x has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<headius> yeah, that was a little weird
dangerousdave has joined #ruby
elaptics is now known as elaptics`away
bmurt has joined #ruby
<diegoviola> sorry about that
codecop has quit [Remote host closed the connection]
<diegoviola> I like rbx and also jruby
<headius> so do I :-)
<diegoviola> does jruby supports all ruby versions like 2.1.4 and older releases, etc
<diegoviola> or is it like rbx that only supports one version
<diegoviola> what is it like
sinkensabe has quit [Remote host closed the connection]
<headius> JRuby 1.7 supports both 1.8.7 and 1.9.3, but JRuby 9000 will just be whatever current MRI is
Areessell_ has joined #ruby
<headius> so, 2.2 when we release next month
<diegoviola> ok
<headius> we may maintain a major release for each MRI compat level (e.g. we'll keep our 2.2-compat release maintained), until interest in that level wanes
Insanity133 has joined #ruby
synergyz has joined #ruby
frog0909 has joined #ruby
<headius> depends how drastic the changes in MRI are :-)
JDHankle has joined #ruby
visof has joined #ruby
rahult_ is now known as rahult
it0a has quit [Quit: WeeChat 1.0.1]
olivier_bK has quit [Ping timeout: 256 seconds]
<diegoviola> I see
Insanity133 has quit [Ping timeout: 256 seconds]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<diegoviola> does Red Hat contributes to JRuby development
<diegoviola> financially
Channel6 has quit [Quit: Leaving]
SilkFox has joined #ruby
<headius> other than by paying us to work on it?
jpierre03 has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<headius> they have sponsored both ruby and jruby events and continue to build projects for and on top of JRuby
<diegoviola> ok
hamakn has joined #ruby
AndChat| has joined #ruby
dangerousdave has joined #ruby
JBreit has quit [Read error: Connection reset by peer]
sevvie_ has joined #ruby
Areessell_ has quit [Ping timeout: 256 seconds]
<diegoviola> I know some ruby, how would you contribute to an implementation like JRuby, MRI or Rubinius, where to start
djbkd has quit [Quit: My people need me...]
<headius> each project has their own sets of tasks... for JRuby right now we're trying to get all features up to and including 2.2 finished in the next month or so
lkba has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
<headius> so we're looking for people to help figure out what features and behaviors we are missing and help us to fill in the blanks
<diegoviola> ok...
sevvie has quit [Ping timeout: 258 seconds]
<diegoviola> so a good start is like actually running applications on them and report bugs... ?
<headius> absolutely
<headius> that also helps find any remaining issues with new users :-)
ndrei has quit [Ping timeout: 244 seconds]
<diegoviola> i see, thanks
<diegoviola> I'll do that
hamakn has quit [Ping timeout: 265 seconds]
<headius> great, feel free to hang out in #jruby too
rbrs has quit [Remote host closed the connection]
sinequanon has joined #ruby
jimms has joined #ruby
Timgauthier has joined #ruby
Timgauthier is now known as timgauthier_away
lw has joined #ruby
<jimms> Hi! has anyone used RAFL for generating .wav files? (https://github.com/cohena/RAFL)
sevvie_ is now known as sevvie
JBreit has joined #ruby
visof has quit [Ping timeout: 244 seconds]
livathinos has quit [Remote host closed the connection]
ikaros has quit [Quit: Ex-Chat]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kl has joined #ruby
dangerousdave has joined #ruby
lw has quit [Read error: Connection reset by peer]
lw_ has joined #ruby
mostlybadfly has joined #ruby
lw_ has quit [Max SendQ exceeded]
lw has joined #ruby
jimms has quit []
Xeago has quit [Remote host closed the connection]
sinequanon has quit [Remote host closed the connection]
sinequanon has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
lw has quit [Read error: Connection reset by peer]
lw has joined #ruby
lw has quit [Client Quit]
Pupeno has joined #ruby
tlarevo has quit [Ping timeout: 256 seconds]
razieliyo has joined #ruby
rahult has joined #ruby
rahult has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
Pupeno_ has quit [Ping timeout: 272 seconds]
Versality has quit [Quit: Be back later ...]
drawingthesun has joined #ruby
Versality has joined #ruby
nonks has joined #ruby
weemsledeux has quit [Ping timeout: 264 seconds]
sinequanon has quit [Remote host closed the connection]
spastorino has joined #ruby
cashnguns has quit [Remote host closed the connection]
sinequanon has joined #ruby
pgmcgee has joined #ruby
ringarin has quit [Ping timeout: 255 seconds]
nonks has quit [Ping timeout: 246 seconds]
Takle has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
sinequanon has quit [Remote host closed the connection]
ringarin has joined #ruby
ccooke has joined #ruby
jenrzzz has joined #ruby
ringarin has quit [Client Quit]
Xiti has quit [Quit: Leaving]
<jheg> I’m trying to increment one of three class variables depending on a conditional after the class instance has been created but struggling to figure out how
<jheg> so I have three classes Op1, Op2 & Op3 …
<jheg> actually i paste it
entrenador has joined #ruby
<jheg> If anyone could have a little peak and see if there is anythign Im doing wrong I’d really appreciate it
entrenador has quit [Client Quit]
<jheg> ive created some class varaibles in the 3 classes starting on lines 52, 65 & 78
<jheg> they are basically computer opponents
entrenador has joined #ruby
<shevy> class variables are awful
<jheg> initially they are set all to zero and store wins, losses and ties
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkb20k has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
<jheg> each game loop the game recreates a new instance of one of the three classes so I dont think I can use instance vars as they get reset at instantiation
JBreit has left #ruby ["Leaving"]
<jheg> so i was trying update the class vars once the game has finished using the method i wrote on line 44 which i include in each class
<jheg> shevy: why’d you say that?
<shevy> because they really are
<shevy> why do you need them there rather than @ivars?
entrenador has quit [Client Quit]
<jheg> because the game is on a loop and each loop instantiates one of the three available opponent classes and when they are initialized the @vars would be set to 0
deepy has quit [Ping timeout: 272 seconds]
<jheg> I need them to store a history
<jheg> for example “you are playing Frank who has won 4, drawn 2 and lost 0”
<jhass> jheg: you want to separate the history data from the game data
nacho-chips has quit [Remote host closed the connection]
<shevy> btw
<shevy> def msg
<shevy> puts "#{name} chooses #{option}"
<shevy> where from does name come?
<diegoviola> what's the alternative to chruby and ruby-install for python
deepy has joined #ruby
<jheg> shevy: that comes from the class Player
nacho-chips has joined #ruby
deepy is now known as Guest12305
dkb20k has quit [Ping timeout: 256 seconds]
<shevy> no that is not true
<jheg> jhass: so store the history seperate from the opponent object?
<jheg> orly?
<shevy> class Player; @@num = 0; attr_accessor :option; def initialize(option); @option = option; @@num += 0.5; end; def msg; puts "#{name} chooses #{option}"; end; def self.info; puts "Games = #{@@num.to_i}"; end; end
<jheg> oh no sorry shevy it comes from the human class
<shevy> yeah
snath has quit [Ping timeout: 244 seconds]
<shevy> I've never seen such before
<havenwood> diegoviola: virtualenv
kinesis has left #ruby [#ruby]
<jheg> It was in the Player class but I switched it to the Human and the Opponent classes
sinkensabe has joined #ruby
<jhass> jheg: yes, class variables are shared among the ancestry chain, which is what's tricking you
jenrzzz has quit [Ping timeout: 255 seconds]
kirun has quit [Quit: Client exiting]
<diegoviola> havenwood: thanks
<jheg> jhass: It certainly is tricking me
<havenwood> diegoviola: crush the snake! ruby, ruby, ruby!
<jhass> jheg: instance variables are just a lot easier to reason about
<diegoviola> havenwood: ;)
<diegoviola> havenwood: yeah I was just being curious, I prefer ruby myself
<jhass> jheg: I guess in your example one could also use class level instance variables (instance variables of the Class instance), but it's not a too nice design IMO
poulet_a has joined #ruby
<havenwood> diegoviola: yeah, i poke around from time to time too
poulet_a has quit [Client Quit]
<diegoviola> :p
sinkensabe has quit [Ping timeout: 264 seconds]
Xeago has quit [Remote host closed the connection]
jenrzzz has joined #ruby
<jheg> when I instantiate the class it sets the 3 vars to 0 if I put them in the initialize method so should I place them elsewhere in the class?
<jheg> I mean I can’t increment them at creation as the result is not known until the end of the game
<jhass> >> class Foo; @foo = :class; def initialize; @foo = :instance; end; def self.foo; @foo; end; def foo; @foo; end; end; [Foo.foo, Foo.new.foo]
<eval-in__> jhass => [:class, :instance] (https://eval.in/216040)
<jhass> two different variables
Devr3d has quit [Remote host closed the connection]
<jhass> you would extend not include your OpponentsTally and pass it the current instance to get the values
Xeago has joined #ruby
<jhass> but do you plan to have any other per game data beyond the name?
Xiti has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
<jheg> no just the name and history data
djbkd has quit [Remote host closed the connection]
<jhass> and the name for the opponents is static, so I don't see why you need new instances each loop
djbkd has joined #ruby
phutchins has joined #ruby
<jhass> just create them at boot and pick one in each cycle
<jheg> ah yes great idea
<jheg> so create all three and then select them from an array when the game starts?
<jhass> yeah. for the player you currently collect no history data, if you plan to I'd keep it simple, make one instance and set the name again if desired
<jheg> brilliant thanks mate - it seems so bloody obvious no you’ve said that too
<jheg> *now you’ve said ...
Takle has quit [Remote host closed the connection]
djbkd has quit [Read error: Connection reset by peer]
<jhass> reduces you to one Opponent class too
<jhass> if you need that at all really
<jheg> thanks really appreciate all your help from some pretty nub questions I’m sure :)
<jhass> well, having Opponent1, Opponent2 and Opponent3 is already a clear sign that you're abusing classes for instances ;)
jarto has joined #ruby
<jheg> we just stepped into oop from procedural and i guess im feeling the burden of having to write many classes ha
<jhass> does that thing already include all functionality you'll ever need?
bruno- has joined #ruby
<jheg> which thing?
zorak8 has quit [Read error: Connection reset by peer]
<jhass> your script
<jheg> pretty much
<jheg> yeah
spider-mario has quit [Ping timeout: 264 seconds]
<jheg> I mean the basic gameplay is complete im just messing around adding features really
supersym has quit [Quit: WeeChat 1.0.1]
<jhass> pretty poring, all opponents always pick the same thing :P
<jhass> *boring
<jheg> shouldnt :?
<jheg> actually yeah I haven’t finished
<jheg> lol thats an easy fix though
<jheg> I just put the string in there to get the game working
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jheg> [‘p’,’s’,’r’].sample
<jheg> sorts that I think
<jhass> yeah
klaut_ has quit [Remote host closed the connection]
nonks has joined #ruby
Channel6 has joined #ruby
chipotle has joined #ruby
michaeldeol has joined #ruby
jasooon has joined #ruby
parabolize has joined #ruby
mistergibson has joined #ruby
teddyp1cker has joined #ruby
Hijiri has quit [Ping timeout: 244 seconds]
<diegoviola> what are your thoughts about this quote: http://imgur.com/Ole3UOu
teddyp1cker has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
<wasamasa> diegoviola: I try doing it the other way around
jenrzzz has joined #ruby
<wasamasa> diegoviola: respecting people until they demonstrate me they don't need my respect
<wasamasa> diegoviola: it works surprisingly well
<diegoviola> I see
<wasamasa> somehow I think I'm not alone
<wasamasa> maybe it's no big deal and how everyone who's not a total fuckhead is doing it
<wasamasa> oh wait, did I just call linus a fuckhead?
<wasamasa> I guess I did
psy_ has quit [Ping timeout: 240 seconds]
jimbach has joined #ruby
rahult has joined #ruby
<diegoviola> he invented linux and git
Xeago has quit [Remote host closed the connection]
Insanity133 has joined #ruby
<wasamasa> that doesn't stop him from being an asshole
<soahccc> I guess he earned the respect ;)
<diegoviola> but yeah it's not like I agree with everything he does or says
msmith_ has joined #ruby
<diegoviola> I'm not a sheep
<Nilium> You're a sheep.
<diegoviola> no u
Takle has joined #ruby
suy has quit [Remote host closed the connection]
suy|BNC is now known as suy
<diegoviola> linux... only freetards use it, git? mercurial is better
<diegoviola> trololo
suy_ has joined #ruby
pyx has joined #ruby
<diegoviola> wait, I didn't say that
pyx has quit [Client Quit]
<diegoviola> Nilium: why would you say I'm a sheep though?
<Nilium> Don't know, not a damn clue what anyone's talking about.
Areessell_ has joined #ruby
<soahccc> The thing with these quotes and questions is: What do YOU think is respect? I can only go after the standarized definition but I experienced that most of the people don't have a dictionary in their head...
<havenwood> Baaah! That's what.
Insanity133 has quit [Ping timeout: 272 seconds]
<soahccc> "To feel or show deferential regard for; esteem." I think this is something which is not granted to every person by default
jasooon has quit [Ping timeout: 265 seconds]
<havenwood> soahccc: i think people just misread it sometimes as basic respect, a simple baseline esteem
<havenwood> not deferential
<diegoviola> Nilium: you were trolling then, nevermind
Insanity133 has joined #ruby
<Nilium> That said, I use Mercurial at work and git for personal stuff, and my experience is mostly that git's better.
<diegoviola> Nilium: yeah I also like git more
<diegoviola> I was trolling also
<diegoviola> I like linux a lot also
<Nilium> Mercurial is good for SVN people who can't adjust, git's good for people who like commit history fuckery.
<jhass> jheg: had some fun with it :) http://paste.mrzyx.de/pnyqbuhbn
<soahccc> havenwood: yeah that's what I mean. People discuss / philosophize about a topic but are not even about the words :)
bmurt has quit []
<havenwood> diegoviola: http://www.boycottlinux.org
<diegoviola> havenwood: lmao
bmurt has joined #ruby
<Nilium> Though, on the upside, we did switch entirely to Mercurial from SVN, so baby-steps
doug1 has joined #ruby
<jheg> jhass: ha nice one mate!
<diegoviola> Nilium: how are you liking mercurial?
<havenwood> Nilium: one step for developer, giant leap for developerkind
<Nilium> Downside is I'm now one of the two people who know how to resolve conflicts because someone tried to push with incoming changesets
<diegoviola> Nilium: is the CLI similar to git, hg clone... etc?
<jheg> Is this going to be the biggest reality check of my short ruby life?
Areessell_ has quit [Ping timeout: 245 seconds]
<havenwood> jheg: irc?
<Nilium> Mostly similar. If you use git add --patch a lot and actually like git's stage/index, you're probably going to want to shoot yourself.
<jheg> nah jhass’s paste
* havenwood scrolls back
<Nilium> Also, Mercurial doesn't really have a useful equivalent to git's branches, but it handles merging a lot better in my experience.
<havenwood> Nilium: that's a blessing
bruno- has quit [Ping timeout: 256 seconds]
<Nilium> The lack of a stage or the merging?
<havenwood> Nilium: merging ease
<havenwood> Nilium: i pull my hair out sometimes
<Nilium> Yeah. It's pretty damn useful since we're trying to get people at work to use branches now that we're not on svn.