apeiros changed the topic of #ruby-lang to: Ruby 2.1.4; 2.0.0-p594; 1.9.3-p550: http://ruby-lang.org || Paste code on http://gist.github.com
charliesome has joined #ruby-lang
tkuchiki has joined #ruby-lang
marr has quit [Ping timeout: 250 seconds]
muskalek has quit [Quit: Leaving]
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
cornerma1 has joined #ruby-lang
tkuchiki has joined #ruby-lang
cleopatra3 has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
cleopatra3 has quit [Client Quit]
centrx has quit [Ping timeout: 244 seconds]
cornerman has quit [Ping timeout: 245 seconds]
cornerma1 is now known as cornerman
SuMo_D has quit [Ping timeout: 265 seconds]
tkuchiki has quit [Ping timeout: 250 seconds]
cleopatras has joined #ruby-lang
centrx has joined #ruby-lang
<sk_0> pengin: i think knife node show -l <node name>
havenwood has quit []
<zenspider> sk_0: wrong window?
KINGSABRI has joined #ruby-lang
snovity has quit [Ping timeout: 264 seconds]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
allomov has quit [Remote host closed the connection]
sunaku has quit [Ping timeout: 255 seconds]
jmrepetti has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
xwq17 has joined #ruby-lang
whippythellama has quit [Quit: whippythellama]
jmrepetti has joined #ruby-lang
<sk_0> zenspider: yes, excuse me
jmrepett_ has joined #ruby-lang
jmrepetti has quit [Read error: Connection reset by peer]
SuMo_D has joined #ruby-lang
amsha has quit [Ping timeout: 250 seconds]
amsha has joined #ruby-lang
ZaRDaK has quit [Quit: Leaving]
imkmf has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
jimbach has quit [Remote host closed the connection]
imkmf_ has quit [Ping timeout: 272 seconds]
benlovell has joined #ruby-lang
djbkd has joined #ruby-lang
hahuang61 has quit [Ping timeout: 247 seconds]
havenwood has joined #ruby-lang
amsi has quit [Quit: Leaving]
benlovell has quit [Ping timeout: 264 seconds]
imkmf has quit [Ping timeout: 245 seconds]
nathanstitt has joined #ruby-lang
shinnya has quit [Ping timeout: 256 seconds]
imkmf has joined #ruby-lang
funnel has quit [Ping timeout: 255 seconds]
kalehv has joined #ruby-lang
funnel has joined #ruby-lang
lcdhoffman has joined #ruby-lang
jimbach has joined #ruby-lang
tkuchiki has joined #ruby-lang
funnel has quit [Ping timeout: 272 seconds]
kalehv has quit [Ping timeout: 272 seconds]
yusuf1 has joined #ruby-lang
jmrepett_ has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
rai has quit [Ping timeout: 245 seconds]
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cantonic has quit [Quit: cantonic]
David_H_Smith has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
thagomizer has quit [Quit: Leaving.]
<haxxtivist> Guys
<haxxtivist> I think I broke the koans
_rgn has joined #ruby-lang
imkmf has quit [Quit: Textual IRC Client: www.textualapp.com]
funnel has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 272 seconds]
<zenspider> haxxtivist: uh oh. what happened?
<womble> Well quick, put it back and get out of there, perhaps nobody will notice.
<havenwood> Elon Musk warned about this...
amsha has quit [Quit: Be back later ...]
amsha has joined #ruby-lang
<haxxtivist> zenspider: The command just stopped going through the koans, it just prints the logo now lol
vlad_starkov has quit [Ping timeout: 240 seconds]
<zenspider> maybe you finished? *shrug*
<haxxtivist> Nah, I was at like 28/282 or so
funnel has quit [Ping timeout: 265 seconds]
havenwood has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<zenspider> I dunno. I've never worked through the whole thing
<zenspider> someone here has, I'm suer
<zenspider> sure
_rgn has quit [Ping timeout: 250 seconds]
amsha has quit [Quit: Be back later ...]
funnel has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
amclain has joined #ruby-lang
dlackty has quit [Ping timeout: 260 seconds]
bryancp has quit [Ping timeout: 260 seconds]
gnufied has quit [Ping timeout: 260 seconds]
heftig has quit [Ping timeout: 260 seconds]
shtirlic has quit [Ping timeout: 260 seconds]
GarethAdams has quit [Ping timeout: 260 seconds]
ramblinpeck has quit [Ping timeout: 260 seconds]
ta has quit [Ping timeout: 263 seconds]
phrozen77 has quit [Ping timeout: 263 seconds]
Elite6809 has quit [Ping timeout: 263 seconds]
GarethAdams has joined #ruby-lang
bjb has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 257 seconds]
Caius has quit [Ping timeout: 257 seconds]
henrikhodne has quit [Ping timeout: 257 seconds]
Mon_Ouie has joined #ruby-lang
shennyg____ has quit [Ping timeout: 268 seconds]
jds has quit [Ping timeout: 271 seconds]
sk_0 has quit [Ping timeout: 244 seconds]
EvilJStoker has quit [Ping timeout: 271 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
davispuh has quit [Ping timeout: 250 seconds]
mistym has quit [Remote host closed the connection]
_rgn has joined #ruby-lang
funnel_ has joined #ruby-lang
funnel has quit [Remote host closed the connection]
gnufied_ has joined #ruby-lang
bryancp_ has joined #ruby-lang
dlackty_ has joined #ruby-lang
<haxxtivist> Meh. I've found a rails 4 tutorial I'm gonna go through.
<haxxtivist> 99 videos. Should keep me busy for a while lol.
ta_ has joined #ruby-lang
gnufied_ is now known as gnufied
bryancp_ is now known as bryancp
dlackty_ is now known as dlackty
bjb_ has joined #ruby-lang
_rgn has quit [Ping timeout: 250 seconds]
funnel_ has quit [Ping timeout: 240 seconds]
ramblinpeck_ has joined #ruby-lang
ramblinpeck_ is now known as ramblinpeck
hellome has quit [Read error: Connection reset by peer]
kurko__ has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
marcdel has joined #ruby-lang
sk_0 has joined #ruby-lang
jds has joined #ruby-lang
gorsuch has joined #ruby-lang
shennyg____ has joined #ruby-lang
cantonic has joined #ruby-lang
gorsuch has left #ruby-lang ["ERC Version 5.3 (IRC client for Emacs)"]
Caius has joined #ruby-lang
EvilJStoker has joined #ruby-lang
Caius is now known as Guest87505
GarethAdams has quit [Changing host]
GarethAdams has joined #ruby-lang
heftig has joined #ruby-lang
phrozen77 has joined #ruby-lang
phrozen77 has quit [Excess Flood]
shtirlic has joined #ruby-lang
funnel has joined #ruby-lang
_rgn has joined #ruby-lang
mistym has joined #ruby-lang
phrozen77 has joined #ruby-lang
EvilJStoker has quit [Ping timeout: 264 seconds]
Authenticator has quit [Ping timeout: 264 seconds]
Authenticator has joined #ruby-lang
EvilJStoker has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Max SendQ exceeded]
kalehv has joined #ruby-lang
robbyoconnor has joined #ruby-lang
emmesswhy has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
rbguestq has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
SuMo_D has joined #ruby-lang
kalehv has quit [Ping timeout: 258 seconds]
rbguestq has quit [Client Quit]
Quackmatic has joined #ruby-lang
jimbach has joined #ruby-lang
<bryancp> What’s the best way to contribute documentation to Ruby?
SuMo_D has quit [Ping timeout: 244 seconds]
miqui has joined #ruby-lang
<godd2> bryancp the live version if 404ing, but here's an archive of the Documenting Ruby project and how to: https://web.archive.org/web/20140924134200/http://documenting-ruby.org/step-by-step-guide.html
allomov has joined #ruby-lang
<bryancp> godd2: excellent, thx
<godd2> keep in mind that links on that page will resolve to the webarchive version of where that link leads
kalehv has joined #ruby-lang
kurko__ has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
allomov has quit [Ping timeout: 256 seconds]
<godd2> drbrain is documenting-ruby.org supposed to be 404ing? :(
fuhgeddaboudit has joined #ruby-lang
<godd2> oh apparently this has been addressed/solved. https://github.com/documenting-ruby/documenting-ruby.github.io/issues/2
David_H_Smith has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
djbkd has quit [Quit: My people need me...]
David_H_Smith has quit [Ping timeout: 272 seconds]
David_H_Smith has joined #ruby-lang
karamazov has joined #ruby-lang
<karamazov> Anyone know if #host! is an rspec thing or ActionDispatch? I can't find any documentation on it.
David_H_Smith has quit [Remote host closed the connection]
sk_0 has quit [Read error: No route to host]
sk_0 has joined #ruby-lang
redgetan has joined #ruby-lang
benlovell has joined #ruby-lang
David_H_Smith has joined #ruby-lang
hahuang61 has joined #ruby-lang
benlovell has quit [Ping timeout: 265 seconds]
kurko___ has joined #ruby-lang
<soahccc> karamazov: due to method_missing and all that jazz this method is not 100% accurate but you may use pry and this to figure it out: https://blog.bmonkeys.net/2014/how-i-debug#which-method-do-i-really-call?
<karamazov> soahccc: Didn't even think to do that - thanks
<karamazov> Just surprised there isn't any documentation on it. Seems like on of those things you just learn to do via google.
ender|dkm has quit [Ping timeout: 255 seconds]
fuhgeddaboudit has quit [Quit: Ex-Chat]
kurko__ has quit [Ping timeout: 255 seconds]
hahuang61 has quit [Quit: WeeChat 1.0.1]
fuhgeddaboudit has joined #ruby-lang
hahuang65 has joined #ruby-lang
ender|dkm has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
<soahccc> karamazov: I guess the problem is "alias :host! :host=" since I can find host= in the api docs
snsei has joined #ruby-lang
<soahccc> I want logstalgia "as a picture" aka. screwing a TV to the wall...
<hahuang65> anyone notice that KeyRepeat settings don't work on OS X Yosemite?
fuhgeddaboudit has quit [Remote host closed the connection]
David_H_Smith has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
kalehv has joined #ruby-lang
kurko___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
onkara has quit [Quit: onkara]
David_H_Smith has quit [Ping timeout: 244 seconds]
onkara has joined #ruby-lang
David_H_Smith has joined #ruby-lang
amsha has joined #ruby-lang
nelsonsar has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snsei has quit [Remote host closed the connection]
David_H_Smith has quit [Ping timeout: 272 seconds]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
snsei has joined #ruby-lang
centrx has quit [Ping timeout: 265 seconds]
henrikhodne has joined #ruby-lang
gmas has joined #ruby-lang
tenderlove has quit [Quit: Leaving...]
<gmas> hi all, anyone that can explain why a Regex stopped working after upgrading from mri 2.0.0 to 2.1.4? https://gist.github.com/gmas/c1331ed9655bccf3bf61
rahul_j has joined #ruby-lang
snsei has quit [Remote host closed the connection]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
<bnagy> 21>> RUBY_VERSION
<eval-in__> bnagy => "2.1.3" (https://eval.in/219790)
<bnagy> 21>> %r{(?!.*\.{2}).*\w@}.match('user..abc@email.com')
<eval-in__> bnagy => nil (https://eval.in/219791)
<bnagy> *shrug* check release notes for 214 specifically I guess
centrx has joined #ruby-lang
centrx has quit [Client Quit]
amsha has quit [Quit: Be back later ...]
amsha has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
iliketurtles has joined #ruby-lang
allomov has joined #ruby-lang
spuk has quit [Ping timeout: 245 seconds]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
allomov has quit [Ping timeout: 245 seconds]
nathanstitt has quit [Quit: I growing sleepy]
dorei has quit []
<godd2> bryancp: normal site is back up: http://documenting-ruby.org/
funnel has quit [Ping timeout: 258 seconds]
rahul_j has quit [Quit: rahul_j]
funnel has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
kyb3r_ has joined #ruby-lang
gix has quit [Ping timeout: 265 seconds]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 255 seconds]
allomov has joined #ruby-lang
gix has joined #ruby-lang
benlovell has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
allomov has quit [Ping timeout: 265 seconds]
michaeldeol has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
SuMo_D has joined #ruby-lang
amsha has quit [Quit: Be back later ...]
benlovell has quit [Ping timeout: 265 seconds]
amsha has joined #ruby-lang
houhoulis has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
spuk has joined #ruby-lang
robbyoconnor has joined #ruby-lang
amsha has quit [Ping timeout: 265 seconds]
sunaku has joined #ruby-lang
snsei has joined #ruby-lang
snsei has quit [Ping timeout: 244 seconds]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
|jemc| has joined #ruby-lang
David_H_Smith has joined #ruby-lang
David_H_Smith has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
miqui has quit [Ping timeout: 265 seconds]
kalehv has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
slawrence00 has quit [Quit: Textual IRC Client: www.textualapp.com]
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
amclain has quit [Quit: Leaving]
gianlucadv has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
ducklobster has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
g0bl1n has quit [Ping timeout: 272 seconds]
haxxtivist has quit [Ping timeout: 264 seconds]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
haxxtivist has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
yfeldblum has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danijoo_ has joined #ruby-lang
snsei has joined #ruby-lang
danijoo has quit [Ping timeout: 250 seconds]
duper has quit [Ping timeout: 244 seconds]
duper has joined #ruby-lang
snsei has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Remote host closed the connection]
|jemc| has quit [Ping timeout: 258 seconds]
oleo has quit [Quit: Verlassend]
yfeldblum has joined #ruby-lang
rahul_j has joined #ruby-lang
sunaku has quit [Ping timeout: 255 seconds]
onkara has quit [Quit: onkara]
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
onkara has joined #ruby-lang
futilegames has joined #ruby-lang
charliesome has quit [Quit: zzz]
jxie has quit [Ping timeout: 272 seconds]
jxie has joined #ruby-lang
benlovell has joined #ruby-lang
Xzanron has joined #ruby-lang
AKASkip has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
ledestin_ has joined #ruby-lang
ledestin has quit [Ping timeout: 255 seconds]
ledestin_ is now known as ledestin
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
allomov has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
dbussink has quit [Excess Flood]
dbussink has joined #ruby-lang
michaeldeol has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
dbussink has quit [Excess Flood]
apeiros has joined #ruby-lang
<gmas> anchoring the expression fixes the issue: %r{^(?!.*\.{2}).*\w@}x.match('user..abc@email.com'))
<gmas> or, as suggested by soahccc , /A and /Z
charliesome has joined #ruby-lang
<karamazov> When created gems, I was under the impression that if I require a file in the lib/mygem.rb then it'd be applied to all the files in lib/something/*.rb
<karamazov> Is that not the case for gems created using ruby > 2.0?
banister has joined #ruby-lang
apeiros has quit [Ping timeout: 272 seconds]
banister has quit [Max SendQ exceeded]
<womble> I don't think that's ever been the case.
banister has joined #ruby-lang
<karamazov> womble: Oi - this isn't the first time I've gotten something wrong :)
marcdel has quit []
ledestin_ has joined #ruby-lang
rahul_j has quit [Ping timeout: 256 seconds]
eristic has quit [Ping timeout: 275 seconds]
esmet___ has quit [Ping timeout: 275 seconds]
adambeynon has quit [Ping timeout: 275 seconds]
rahul_j has joined #ruby-lang
onkara has quit [Quit: onkara]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
ledestin has quit [Ping timeout: 255 seconds]
ledestin_ is now known as ledestin
jhass has quit [Ping timeout: 244 seconds]
onkara has joined #ruby-lang
haxxtivist has quit [Ping timeout: 256 seconds]
adambeynon_ has joined #ruby-lang
esmet____ has joined #ruby-lang
jhass has joined #ruby-lang
haxxtivist has joined #ruby-lang
soahccc has quit [Ping timeout: 255 seconds]
kramsee has quit [Remote host closed the connection]
eristic has joined #ruby-lang
soahccc has joined #ruby-lang
EvilJStoker has quit [Ping timeout: 455 seconds]
shtirlic has quit [Ping timeout: 455 seconds]
esmet____ is now known as esmet___
adambeynon_ is now known as adambeynon
kramsee_ has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
RitterJack has joined #ruby-lang
rahul_j has quit [Ping timeout: 250 seconds]
kalleth has quit [Write error: Broken pipe]
heftig has quit [Excess Flood]
lele|w has quit [Excess Flood]
Mon_Ouie has quit [Write error: Broken pipe]
_whitelogger has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ledestin_ has joined #ruby-lang
mamantoha has joined #ruby-lang
lele|w has joined #ruby-lang
ledestin has quit [Ping timeout: 245 seconds]
ledestin_ is now known as ledestin
allomov has quit [Remote host closed the connection]
jeaye has joined #ruby-lang
GarethAdams has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
onkara has quit [Quit: onkara]
Suchit has joined #ruby-lang
onkara has joined #ruby-lang
ledestin has quit [Ping timeout: 245 seconds]
ledestin has joined #ruby-lang
benlovell has joined #ruby-lang
Caius has joined #ruby-lang
futilegames has joined #ruby-lang
tkuchiki has joined #ruby-lang
mahlon has joined #ruby-lang
Caius has joined #ruby-lang
Caius has quit [Changing host]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby-lang
rahul_j has joined #ruby-lang
ledestin_ has joined #ruby-lang
ledestin has quit [Ping timeout: 265 seconds]
ledestin_ is now known as ledestin
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
yusuf1 has quit [Quit: Leaving.]
houhoulis has quit [Remote host closed the connection]
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
fusillicode has joined #ruby-lang
rahul_j has quit [Ping timeout: 250 seconds]
GBrawl has joined #ruby-lang
rahul_j has joined #ruby-lang
onkara has quit [Quit: onkara]
rahul_j has quit [Client Quit]
onkara has joined #ruby-lang
eloquent_mute has joined #ruby-lang
fusillicode has quit [Ping timeout: 272 seconds]
francisfish has joined #ruby-lang
RickHull has quit [Ping timeout: 246 seconds]
houhoulis has joined #ruby-lang
banister has joined #ruby-lang
ta_ has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
onkara has quit [Quit: onkara]
ta has joined #ruby-lang
onkara has joined #ruby-lang
mnngfltg has joined #ruby-lang
allomov has joined #ruby-lang
allomov has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
allomov has joined #ruby-lang
mikecmpbll has joined #ruby-lang
rahul_j has quit [Ping timeout: 258 seconds]
rahul_j has joined #ruby-lang
yfeldblum has joined #ruby-lang
onkara has quit [Quit: onkara]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
onkara has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
<yorickpeterse> morning
<tbuehlmann> moin
SuMo_D has joined #ruby-lang
<yorickpeterse> ugh standup ughhh
<yorickpeterse> agile, kanban, lol
SuMo_D has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
jmrepetti has joined #ruby-lang
mistym has quit [Remote host closed the connection]
ta has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
ur5us has joined #ruby-lang
ta has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
ledestin has quit [Ping timeout: 256 seconds]
ledestin has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Suchit has quit [Quit: (null)]
spastorino has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
ledestin_ has joined #ruby-lang
snsei has joined #ruby-lang
banister has joined #ruby-lang
ledestin has quit [Ping timeout: 258 seconds]
ledestin_ is now known as ledestin
snsei has quit [Ping timeout: 264 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
Xzanron has quit [Ping timeout: 245 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wm3|busy has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
vang has joined #ruby-lang
mikecmpb_ has joined #ruby-lang
<vang> Hi, I'm new to ruby and can't find the answer on google. I have a beaker spec ruby file that has 'on host, puppet('module', 'install', 'puppetlabs-stdlib')'. What does the 'on' in 'on host' mean?
<apeiros> vang: not using puppet - but I'd assume it's a top-level method
<apeiros> i.e. on(host, puppet(…))
<apeiros> parens are optional in ruby
<vang> so the brackets are optional?
<vang> ok. got it. thanks.
mikecmpbll has quit [Ping timeout: 272 seconds]
<apeiros> I think apart from brits, [] are brackets ;-)
futilegames has quit [Quit: futilegames]
havenwood has quit []
arBmind1 has quit [Quit: Leaving.]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
mikecmpb_ is now known as mikecmpbll
futilegames has joined #ruby-lang
fusillicode has joined #ruby-lang
wm3|busy is now known as workmad3
snovity has joined #ruby-lang
benlovell has quit [Read error: Connection reset by peer]
benlovel1 has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
banister has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
ldnunes has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
kaczmar has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
doosy has joined #ruby-lang
lcdhoffman has joined #ruby-lang
michaeldeol has quit [Remote host closed the connection]
ruby-lang402 has joined #ruby-lang
<ruby-lang402> Hola que ase
<ruby-lang402> programas o que ase
arBmind has joined #ruby-lang
<yorickpeterse> baguette
<ljarvis> apeiros: I call them brackets
<ruby-lang402> con Chorizo
onkara has quit [Quit: onkara]
<ruby-lang402> Que metodología a´gil empleais
<yorickpeterse> omelette du fromage
<ruby-lang402> TDD o BDD
<ruby-lang402> o Testing
<yorickpeterse> ruby-lang402: In case you hadn't figured, this is an English channel
<ljarvis> feta un sausage
onkara has joined #ruby-lang
<ruby-lang402> English? I can´t speak "inglis"
<ruby-lang402> what methologic use TDD vs BDD other?
<ljarvis> ruby-lang402: use whatever makes you most productive and happy
<ruby-lang402> to develop?
<ruby-lang402> whatever is CRON, no?
<ruby-lang402> example?
<yorickpeterse> what?
charliesome has joined #ruby-lang
stamina has joined #ruby-lang
cantonic has joined #ruby-lang
doosy has quit [Remote host closed the connection]
kaczmar has quit [Quit: kaczmar]
_elia has joined #ruby-lang
_elia has quit [Client Quit]
lcdhoffman has quit [Quit: lcdhoffman]
cantonic has quit [Ping timeout: 265 seconds]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
lcdhoffman has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
ruby-lang402 has quit [Ping timeout: 246 seconds]
sarkyniin has joined #ruby-lang
<apeiros> ljarvis: you call () brackets? which dialect?
<ljarvis> apeiros: I call them both brackets, and just say "square" if it seems ambiguous
_elia has joined #ruby-lang
_elia has quit [Client Quit]
<apeiros> ljarvis: yeah, what dialect? I thought you're american?
godd2 has quit [Ping timeout: 258 seconds]
<ljarvis> apeiros: wat no, I'm british
<apeiros> ah, see, so I was right :D
<apeiros> "apart from brits"
<apeiros> afaik, only brits also call () brackets
<ljarvis> "I think apart from brits, [] are brackets"
<yorickpeterse> They're parenthesis you peasants
tkuchiki has quit [Ping timeout: 244 seconds]
<ljarvis> that seems to say "brits don't call [] brackets"
_elia has joined #ruby-lang
<apeiros> ok, badly phrased
<workmad3> ljarvis: I'm a brit and call [] brackets... but I tend to prefix that with 'square'
<apeiros> common: () = parenthesis (parens), [] = brackets, {} = (curly) braces, <> = angle brackets
<ljarvis> but yeah, () are brackets unless I'm talking to a college, in development circles people still mostly call them parenthesis
<apeiros> brits: () = also brackets
<ljarvis> workmad3: yep
<workmad3> ljarvis: and I'll sometimes call () brackets, sometimes braces, sometimes parenthesis... depends on my mood :)
<ljarvis> me too, although never really braces
<ljarvis> those are things my granndad wears, or they fix teeth
<workmad3> yeah, that's the term I use the least
<ljarvis> () = brackets, {} = curly brackets, [] = square brackets, <> = angle brackets
<ljarvis> :D
_elia has quit [Remote host closed the connection]
mamantoha has quit [Ping timeout: 264 seconds]
_elia has joined #ruby-lang
onkara has quit [Quit: onkara]
nofxx has quit [Ping timeout: 265 seconds]
onkara has joined #ruby-lang
_elia has quit [Client Quit]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_elia has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
doosy has joined #ruby-lang
doosy has quit [Remote host closed the connection]
doosy has joined #ruby-lang
clauswit_ has joined #ruby-lang
banister has joined #ruby-lang
fusillicode has joined #ruby-lang
theotherstupidgu has joined #ruby-lang
onkara has quit [Quit: onkara]
Caius has quit [*.net *.split]
mahlon has quit [*.net *.split]
onkara has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 264 seconds]
fusillicode has quit [Ping timeout: 250 seconds]
seank_ has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
arBmind1 has joined #ruby-lang
michael_mbp has joined #ruby-lang
arBmind has quit [Ping timeout: 244 seconds]
Xzanron has joined #ruby-lang
kaczmar has joined #ruby-lang
chinmay_dd has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
onkara has quit [Quit: onkara]
lcdhoffman has joined #ruby-lang
onkara has joined #ruby-lang
stamina has quit [Quit: WeeChat 1.0.1]
x0f has quit [Ping timeout: 264 seconds]
doosy has quit [Remote host closed the connection]
x0f has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta__ has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
eloquent_mute has quit [Ping timeout: 272 seconds]
kaczmar has quit [Quit: kaczmar]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
melter has quit [Ping timeout: 272 seconds]
skade has joined #ruby-lang
GBrawl has quit [Quit: (null)]
arBmind has joined #ruby-lang
eloquent_mute has joined #ruby-lang
arBmind1 has quit [Ping timeout: 255 seconds]
melter has joined #ruby-lang
Caius has joined #ruby-lang
mahlon has joined #ruby-lang
onkara has quit [Quit: onkara]
Caius has joined #ruby-lang
Caius has quit [Changing host]
onkara has joined #ruby-lang
mamantoha_ has joined #ruby-lang
kaczmar has joined #ruby-lang
shemerey has joined #ruby-lang
cornerma1 has joined #ruby-lang
doosy has joined #ruby-lang
dangerousdave has joined #ruby-lang
cornerman has quit [Ping timeout: 244 seconds]
cornerma1 is now known as cornerman
rahul_j has quit [Quit: rahul_j]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
rahul_j has joined #ruby-lang
workmad3 is now known as wm3|away
doosy has quit []
rahul_j has quit [Client Quit]
benlovel1 has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
<yorickpeterse> Argh
<yorickpeterse> I FUCKING HATE
<yorickpeterse> RVM
<yorickpeterse> Every fucking Ruby I install it adds that stupid rubygems_hook shit to my shebangs
<yorickpeterse> even though I've long since disabled that
<yorickpeterse> and every fucking version I have to fix that, and have a broken environment
lcdhoffman has quit [Quit: lcdhoffman]
jmrepetti has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
cantonic has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
fusillicode has joined #ruby-lang
shinnya has joined #ruby-lang
nertzy has joined #ruby-lang
cantonic has quit [Ping timeout: 240 seconds]
kurko__ has joined #ruby-lang
banister has joined #ruby-lang
godd2 has joined #ruby-lang
[spoiler] has joined #ruby-lang
onkara has quit [Quit: onkara]
toretore has joined #ruby-lang
onkara has joined #ruby-lang
persand has quit [Ping timeout: 244 seconds]
kaczmar has joined #ruby-lang
GBrawl has joined #ruby-lang
wm3|away is now known as workmad3
benlovell has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
snsei has joined #ruby-lang
allomov has quit [Remote host closed the connection]
onkara has quit [Quit: onkara]
snsei has quit [Ping timeout: 264 seconds]
<jhass> don't use RVM then?
<yorickpeterse> jhass: wow you've just won the "no shit" award
<yorickpeterse> congrats
<yorickpeterse> I hadn't figured that out
onkara has joined #ruby-lang
<yorickpeterse> It's however a little bit more difficult to get rid of RVM when it's all over your infrastructure
<jhass> glad I could of help :)
<yorickpeterse> First step this week will be the build server, the rest will be a PITA
<yorickpeterse> I actually have a guide on how to deal with this, it's quite sad
jimbach has joined #ruby-lang
eloquent_mute has left #ruby-lang [#ruby-lang]
shemerey has quit [Quit: Textual IRC Client: www.textualapp.com]
jgpawletko has joined #ruby-lang
yfeldblum has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
malconis has joined #ruby-lang
malconis has quit [Remote host closed the connection]
sarkyniin has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 258 seconds]
malconis has joined #ruby-lang
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
onkara has quit [Quit: onkara]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
onkara has joined #ruby-lang
miqui has joined #ruby-lang
<bradland> man i hate it when people use RVM on servers. I love the tool in my dev environment, but fugghedabout it on servers.
<darix> bradland: i would love to see how many people are running outdated ruby versions because they are using rvm
banister has joined #ruby-lang
<yorickpeterse> Find me a distribution that doesn't suck at installing multiple Ruby versions in parallel, then I'll consider it
<darix> ^^
<yorickpeterse> including 1.9.3 and 2.1.4 in parallel on the same server
banister has quit [Max SendQ exceeded]
snooc has joined #ruby-lang
<darix> yorickpeterse: SUSE?:D
<yorickpeterse> darix: No idea how that handles it
<[spoiler]> installing or just having them installed?
<yorickpeterse> Debian, Ubuntu and CentOS all suck at it tremendously
<bradland> i never do it. i spin up separate VMs.
<darix> yorickpeterse: i actually gave you the how to read?!:p
<bradland> ridiculous, but i sleep better.
banister has joined #ruby-lang
<darix> yorickpeterse: multiple binaries with suffixes.
banister has quit [Max SendQ exceeded]
<darix> the only really viable way imho :)
<yorickpeterse> darix: things like ruby21 ruby19 is the part that sucks
<yorickpeterse> (as the executable name)
<[spoiler]> Idk, I never had problems with it on ubuntu (although I'd use rvm.io and gemsets, which does some bash voodoo lol)
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
<lupine> update-alternatives is a perfectly fine mechanism
<darix> lupine: it wouldnt help if you want to use both in parallel
<lupine> the other option is path mangling, of course
banister has joined #ruby-lang
<lupine> darix, of course it does, you just need to specify which one you mean
<darix> lupine: neither distro opted for that.
banister has quit [Max SendQ exceeded]
<darix> lupine: so i run my ruby 2.1 script then update /usr/bin/ruby to 1.9 and run my 1.9 script?
* lupine is a system ruby evangelist
<darix> really?;)
<[spoiler]> also, we don't have a problem with it on centOS either; we adjust the env vars for the user for the required ruby version(even provide a few script that does it)
<ohsix> multiple binaries with stuff added is also the thing supported by autotools
banister has joined #ruby-lang
<lupine> darix, no, if you depend on a particular ruby, you specify it explicitly
banister has quit [Max SendQ exceeded]
<darix> lupine: and yorickpeterse has a problem with that ;)
<lupine> doesn't mean he's right
Sunlorhic has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
<darix> yorickpeterse: in any case ... I can easily package gems for multiple ruby versions in parallel.
<lupine> personally, I target my code to the ruby and libraries that I know can be deployed with decent security support - which means that which comes with debian wheezy
caseydriscoll has joined #ruby-lang
RitterJack has quit [Quit: Quitte]
<bradland> yorickpeterse: have you looked at postmodern’s chruby? it’s list of anti-features always seemed to make it a good candidate for server usage.
<lupine> (personally, I'm moving away from ruby as time goes by, but that's that)
banister has joined #ruby-lang
charliesome has quit [Quit: zzz]
<lupine> I still have to write and deploy a lot of it now
<yorickpeterse> bradland: Yes, I've been using chruby/ruby-install for about 2 years now
banister has quit [Client Quit]
<darix> yorickpeterse: even packaging rails apps with rpm is quite easiy
<darix> easy
<lupine> cutting-edge and servers do not go well together
<yorickpeterse> darix: packaging itself is a non problem for me
kaczmar has quit [Quit: kaczmar]
mbr__ has joined #ruby-lang
<yorickpeterse> What I don't want is to have this setup where suddenly my deployment tools need to know the difference in binary naming between versions
<yorickpeterse> "oh I'm running on 2.1.4 so I have to use ruby214 instead of ruby"
<yorickpeterse> ^ screw that
webhat_ has joined #ruby-lang
a1digital has joined #ruby-lang
My_Hearing has quit [Ping timeout: 265 seconds]
lele has quit [Ping timeout: 265 seconds]
mbr has quit [Killed (kornbluth.freenode.net (Nickname regained by services))]
mbr__ is now known as mbr
My_Hearing has joined #ruby-lang
PaulePanter has quit [Ping timeout: 265 seconds]
maloik has quit [Ping timeout: 265 seconds]
webhat has quit [Ping timeout: 265 seconds]
JohnBat26 has quit [Ping timeout: 265 seconds]
zenojis has quit [Ping timeout: 265 seconds]
<ohsix> won't it already know to use alternate vms?
zenojis has joined #ruby-lang
theotherstupidgu has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
PaulePanter has joined #ruby-lang
<yorickpeterse> ohsix: right now that's a "rvm use XXXX" line, that's it
maloik has joined #ruby-lang
<darix> yorickpeterse: how is that much different from having to pick the right rvm set?
<yorickpeterse> darix: that only happens once
theotherstupidgu has joined #ruby-lang
<yorickpeterse> If you have to call multiple Ruby things during deployment you'd have to set the correct name multiple times
<darix> yorickpeterse: if you only use one ruby version on that system
<darix> then you can just use update-alternatives and be done
<darix> also once
<yorickpeterse> If there's only one version it's not a problem, no
<yorickpeterse> Like I specifically said, it's a problem when running versions in parallel
sepp2k has joined #ruby-lang
<darix> i am sure you will find something.
lele has joined #ruby-lang
cantonic has joined #ruby-lang
onkara has quit [Quit: onkara]
<ohsix> as nice it is to just deploy on the version you use, it does create these problems; ruby is the only software i use that plays this game
onkara has joined #ruby-lang
fusillicode has joined #ruby-lang
godd2 has quit [Ping timeout: 255 seconds]
a1digital has quit [Quit: a1digital]
lcdhoffman has joined #ruby-lang
<bradland> yorickpeterse: based on your experience with chruby, is there a reason you don’t use it on servers? i’m curious because i’ve tested the waters with RVM a few times and always stepped back after running in to other complications.
<yorickpeterse> bradland: Yes, because RVM is already there
<yorickpeterse> and has been for 4 years
<yorickpeterse> and it's everywhere
<yorickpeterse> Replacing that doesn't take 5 minutes sadly
<bradland> yeah, i feel you on that one :(
<yorickpeterse> There's actually been a ticket in Pivotal since January to get rid of RVM
cantonic has quit [Ping timeout: 265 seconds]
t4nk955 has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
<t4nk955> I'm trying to fill an array with the numbers 1 to 999. So far, numbers = [1..999] was a failed attempt. Any ideas?
<yorickpeterse> t4nk955: (1..999).to_a
jimbach has joined #ruby-lang
<t4nk955> Oh, that did the trick! Can I name the array?
nertzy has quit [Quit: This computer has gone to sleep]
<yorickpeterse> Sure, you can just assign it to a variable
<workmad3> t4nk955: also [*1..999]
shinnya has quit [Ping timeout: 244 seconds]
<t4nk955> Ahh, I see! Thanks!
<t4nk955> workmad3: What does that do?
<workmad3> t4nk955: creates the array you want ;)
<workmad3> >> [*1..9]
<eval-in__> workmad3 => [1, 2, 3, 4, 5, 6, 7, 8, 9] (https://eval.in/219994)
<t4nk955> Oh, that's also handy!
jmrepetti has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
AKASkip has quit [Ping timeout: 250 seconds]
<t4nk955> I am trying to find out how many of the numbers between 1 and 999 contain at least one even number. I thought I could create and array with numbers, use #each to format the to strings and then use #each with a regex to raise a counter if it contains 2, 4, 6 or 8. Does that sound like a good approach?
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has joined #ruby-lang
<darix> t4nk955: you would need to call "to_s" on them for a regexp match
<t4nk955> Yeah. Does regexp return true if it finds anything?
<darix> it returns the match
mattyohe has joined #ruby-lang
<darix> and it returns nil if there is no match
cleopatrax has quit [Ping timeout: 240 seconds]
sirene has quit [Ping timeout: 240 seconds]
cleopatras has quit [Ping timeout: 255 seconds]
<workmad3> t4nk955: I'd suggest map and select rather than each and counters btw ;)
<workmad3> t4nk955: also, what about 0?
kaczmar has joined #ruby-lang
<bradland> t4nk955: if you want to know if the number is even, use the modulus operator, rather than a regex.
<workmad3> bradland: wrong problem ;)
<t4nk955> workmad3: I don't think zero counts.
<workmad3> bradland: he's looking for things like 839, which contains an even digit, while not being an even number
GBrawl has quit [Ping timeout: 272 seconds]
chinmay_dd has quit [Ping timeout: 258 seconds]
<bradland> oh, *contains* an even digit
<bradland> i see
<workmad3> >> 0.even?
<eval-in__> workmad3 => true (https://eval.in/219997)
<workmad3> t4nk955: ruby seems to think it does ;)
<ljarvis> >> [*1..999].each_with_object(Hash.new(0)) { |i, c| i.to_s =~ /[2468]/ && c[$&] += 1 }
<eval-in__> ljarvis => {"2"=>196, "4"=>196, "6"=>196, "8"=>196} (https://eval.in/219998)
<t4nk955> This is my approach to this point: https://eval.in/219996 Anyone knows how it can be fixed?
<ljarvis> fuck math
onkara has quit [Quit: onkara]
<workmad3> ljarvis: here's mine :) [*1..999].map(&:to_s).select{|s| s =~ /[24680]/}.count
<workmad3> ljarvis: although I like that you've split it down into groups :)
<ljarvis> yeah I thought t4nk955 wanted to group them :)
<workmad3> bradland: also, .even? and .odd? are things in ruby ;)
<bradland> sounds like homework though
onkara has joined #ruby-lang
<bradland> .even? and .odd? are great, but they’re convenience.
<t4nk955> Dammit guys. I needed at least five lines.
tbuehlmann has quit [Quit: Leaving]
<bradland> definitely homework lol
<ljarvis> aint nobody got time for that
<workmad3> t4nk955: :P
<bradland> t4nk955: you should be able to refactor these examples ot multi-line code intsead of one liners.
<workmad3> ljarvis: heh :) just realised something... [*"1".."999"] works too ;)
<bradland> you’ll also be much better off if you don’t do that :P
<bradland> try to work this out on your own, because the problems are only going to get more difficult from here.
<workmad3> [*"1".."999"].select{...}
diegoviola has joined #ruby-lang
<ljarvis> >> [*"10".."5x"]
<eval-in__> ljarvis => ["10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "4 ... (https://eval.in/220001)
<ljarvis> workmad3: yeah, works just like "a".."z"
<workmad3> yup
chinmay_dd has joined #ruby-lang
bradland has quit [Quit: bradland]
<t4nk955> Good thing I workmad too!
<workmad3> right, I guess I'd better get back to my encoding issues :(
dangerousdave has joined #ruby-lang
* t4nk955 giggles.
bradland has joined #ruby-lang
<ljarvis> psh ruby fixed all encoding problems in 1.9 nobody has them anymore
<lupine> violence time
dangerousdave has quit [Client Quit]
nathanstitt has joined #ruby-lang
enebo has joined #ruby-lang
Xzanron has quit [Ping timeout: 245 seconds]
<[spoiler]> ngl, the way *"40".."5x" (or w/e) generates 40 .. 90 is bizarre lol
kurko___ has joined #ruby-lang
<workmad3> ljarvis: by 'encoding issue' I mean "I'm reading the first line out of a CSV file to detect what particular format it is, and on UTF-16 encoded files I'm getting the feckin BOM"
<ljarvis> workmad3: as someone who works on a csv importer, i feel for you
lcdhoffman has quit [Quit: lcdhoffman]
<workmad3> ljarvis: I'm guessing it's because the file is currently set up by ruby as utf-8 by default, so I need to use something like charlock-holmes to do a 'best-guess' on the encoding and set it on the file :)
<workmad3> ljarvis: it's just... argh!
<ljarvis> :(
onkara has quit [Quit: onkara]
kurko__ has quit [Ping timeout: 250 seconds]
onkara has joined #ruby-lang
koderok has joined #ruby-lang
dwknoxy has joined #ruby-lang
<workmad3> ljarvis: discovered the issue during some user testing (thankfully an understanding user). Later on during the test, we had to split the file up into 3 sections... which ended up with the files being re-encoded as latin1 or something, which was even worse :(
<workmad3> stupid excel
Xzanron has joined #ruby-lang
yfeldblum has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
<ljarvis> I ended up building our importer at work in Go because the rate of failure was so high and everyting "just worked" when I rewrote it
<ljarvis> frustrating
dagda1_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
dangerousdave has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
JohnBat26 has joined #ruby-lang
hightower4 has quit [Ping timeout: 250 seconds]
arBmind has quit [Quit: Leaving.]
cantonic has joined #ruby-lang
<workmad3> ljarvis: heh :)
SuMo_D has joined #ruby-lang
Xzanron has quit [Quit: Leaving]
mkaesz has joined #ruby-lang
clauswitt has joined #ruby-lang
snsei has joined #ruby-lang
cored has joined #ruby-lang
clauswit_ has quit [Ping timeout: 244 seconds]
nelsonsar has joined #ruby-lang
clauswitt has quit [Ping timeout: 250 seconds]
loincloth has joined #ruby-lang
lcdhoffman has joined #ruby-lang
banister has joined #ruby-lang
arBmind has joined #ruby-lang
amsha has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
tharindu has joined #ruby-lang
<bradland> my fav is excel on mac, save as csv, results in line endings \r
<bradland> *dafuq*
<workmad3> bradland: fun fun fun :)
tbuehlmann has joined #ruby-lang
<ljarvis> i thought windows did that
<ljarvis> oh excel on mac, right
<ljarvis> yeah the ruby csv parser picks those up, had to write something custom in go to handle crapping windows csv imports
danijoo has joined #ruby-lang
whippythellama has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cored has quit [Quit: leaving]
danijoo_ has quit [Ping timeout: 250 seconds]
<t4nk955> Is there something else than regexp I can use, which returns true or false if the characters have either been found or not found?
<bradland> many things in ruby eval as true or false, so there are a number of ways to accomplish that.
<bradland> for example, String#scan
<ljarvis> that doesn't return true of false, and neither does regexp matching
<ljarvis> or*
<ljarvis> t4nk955: String#include?
<workmad3> t4nk955: =~ for regexp matching
<ljarvis> "something else than regexp" :D
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
yusuf1 has joined #ruby-lang
<bradland> by “other than regexp”, he/she probably means other than this current method i’m using.
mamantoha_ has quit [Ping timeout: 250 seconds]
<bradland> String#include? is definitely the closest to what t4nk955 asked for though.
<t4nk955> ljarvis: My hero! Can I search for multiple elements with that one? Say i want to search for 2 and 4 in 345. Only needs to return true if one is right.
<workmad3> t4nk955: is there a reason to not use regexp?
<ljarvis> t4nk955: no, you'd need to join the conditions with &&, or split and check the characters (but regexp would be better than all of this)
<t4nk955> I'm the guy with the math homework. Remember me? https://eval.in/220026
<ljarvis> yes, so your homework is to avoid regexp?
<ljarvis> and this is math homework? if so you shouldn't be doing it the way you're doing it, or the way anyone has suggested so far
<j2p2> that's usually the focus of my real work ;D
<ljarvis> j2p2: so much this
<ljarvis> my homework is usually to avoid math
<t4nk955> Probability is boring, so I thought I'd try it with Ruby. I tried regexp for the first time, and failed. I just need it to return true if the numbers are found.
<ljarvis> t4nk955: regexp works fine and that's what you should use if you don't need to use math
<ljarvis> myself and workmad3 both showed you examples of working code
<bradland> i’d like to point out that i recommended modulus a long time ago :P
<t4nk955> Yeah, really cracked my head on that.
<bradland> t4nk955: if this is math homework, don’t use regex to test for even numbers
<bradland> think about the definition of an even number
<bradland> what does it mean, literally?
<ljarvis> wait, this is to test for even numbers?
<ljarvis> wat
<t4nk955> The numbers need to contain even numbers, not be some.
<workmad3> t4nk955: *even digits
<bradland> is this math homework?
<ljarvis> right, contain, so regexp is fine
<ljarvis> workmad3: pedant
danijoo_ has joined #ruby-lang
<bradland> regexp is fine, if you’re writing pratical code, but if this is homework, they’re probably looking for a programatic implementaiton of some math
dorei has joined #ruby-lang
chinmay_dd has quit [Read error: Connection reset by peer]
<bradland> t4nk955: break the problem down in to a procedure
chinmay_dd has joined #ruby-lang
<bradland> 1) break the number apart in to digits
<workmad3> ljarvis: regexp is fine if the point is to count the number in a specific range... regexp isn't fine if the point is to generate a formula for calculating (or estimating) the count of numbers containing even digits up to a value X :)
<bradland> 2) test the number to see if it’s even
<bradland> 3) count the number of times that is strue
<ljarvis> im not sure why you're telling me that, that's what I've said to t4nk955 multiple times :)
<workmad3> ljarvis: dunno... :D
tharindu has quit [Ping timeout: 258 seconds]
<workmad3> t4nk955: btw, we aren't here to do your homework for you :P
<ljarvis> ^
<ljarvis> even though we did twice
<ljarvis> before we knew it was homework though
<workmad3> :D
<t4nk955> workmad3: I know. You're there to tell me if regexp was good or not. Trying with #include now. Looks a bit nicer.
<workmad3> ljarvis: as for being a pedant... pretty sure it's in my job description ;)
danijoo has quit [Ping timeout: 250 seconds]
<t4nk955> ljarvis: I reveled myself!
<workmad3> t4nk955: nicer than 'str =~ /[2468]/'? :P
kaczmar has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
loincloth has quit [Remote host closed the connection]
<t4nk955> workmad3: Oh, that's what it meant! ty
mkaesz has quit [Ping timeout: 245 seconds]
<apeiros> workmad3: right. you have to be a pedant to argue with the world's most finicky pedant :)
jimbach_ has joined #ruby-lang
<workmad3> apeiros: heh :) I had to check 'finicky' then, I've only come across 'finickity' before ;)
* apeiros off for commute, cya folks
apeiros has quit [Remote host closed the connection]
<t4nk955> workmad3: Tried yours. It didn't run into any errors, but it only returned 0. Have a look, if you like https://eval.in/220034
<workmad3> t4nk955: not surprising... you didn't successfully convert your numbers to strings :P
apeiros has joined #ruby-lang
<t4nk955> workmad3: Do you suggest I even failed #to_s ?
Asher has quit [Read error: Connection reset by peer]
<workmad3> t4nk955: no, I'm suggesting you failed to capture the result of calling that :P
jimbach has quit [Ping timeout: 245 seconds]
<t4nk955> workmad3: Converting all the numbers from 1 to 999 in the array to strings?
loincloth has joined #ruby-lang
<ljarvis> t4nk955: are you learning Ruby?
Miphix has quit [Quit: Leaving]
Asher has joined #ruby-lang
<t4nk955> ljarvis: Very slowly, yes.
snsei has quit [Remote host closed the connection]
<t4nk955> ljarvis: Probably the reason why I use more time at failing with ruby than the actual math.
<ljarvis> t4nk955: so basically, each { } just yields each value to the block, and does not return anything other than the original object without mutating the contents
<workmad3> t4nk955: numbers.each { |n| n.to_s } <-- that doesn't change anything in the 'numbers' array
<t4nk955> :0
<ljarvis> you want map, or more specifically, map! but, you only care about the string value once, so just use it within your second block
<workmad3> or just create your array with 'numbers = [*"1".."999"]'
onkara has quit [Quit: onkara]
<ljarvis> ^ which is the same as ("1".."999").to_a
onkara has joined #ruby-lang
apeiros has quit [Ping timeout: 272 seconds]
<t4nk955> I'll try #map, since it seems like a thing I should know.
Miphix has joined #ruby-lang
arBmind has joined #ruby-lang
mkaesz has joined #ruby-lang
<t4nk955> I tried with #map!, and it worked! https://eval.in/220040
<t4nk955> ljarvis: Sorry, forgot to only use #to_s in my second block.
<workmad3> t4nk955: you don't need to use .map! on the second run-through
tenderlove has joined #ruby-lang
<t4nk955> Woops, only .map, right?
<workmad3> t4nk955: no, you can leave that as .each with your current setup
benlovell has quit [Ping timeout: 244 seconds]
g0bl1n has joined #ruby-lang
<t4nk955> Well, it works. The only problem now it that it returns 784 rather than 844, which is the right answer.
<workmad3> t4nk955: that's because 0 is even :P
kaczmar has quit [Quit: kaczmar]
<t4nk955> I'll try your theory.
<t4nk955> OMG it worked.
<workmad3> >> [*"1".."999"].select{|n| n =~ /[24680]}.count
<eval-in__> workmad3 => /tmp/execpad-499506832024/source-499506832024:2: unterminated regexp meets end of file ... (https://eval.in/220045)
<t4nk955> Come here so I can kiss you.
<workmad3> >> [*"1".."999"].select{|n| n =~ /[24680]/}.count
<eval-in__> workmad3 => 844 (https://eval.in/220046)
<ljarvis> >> *"1".."999"].count { |n| n =~ /[24680]/ }
<eval-in__> ljarvis => /tmp/execpad-a6892c54cc0d/source-a6892c54cc0d:2: syntax error, unexpected .., expecting :: or '[' or '.' ... (https://eval.in/220049)
<ljarvis> >> [*"1".."999"].count { |n| n =~ /[24680]/ }
<eval-in__> ljarvis => 844 (https://eval.in/220050)
<workmad3> heh :)
<ljarvis> /pedant
<workmad3> I forget that count can take a block
koderok has quit [Quit: koderok]
<t4nk955> I have no idea what p begin or rescue is supposed to do, but I'll look at it.
diegoviola has quit [Read error: Connection reset by peer]
<ljarvis> eh, eval.in really should ignore those in a pastie that comes from the bot
<workmad3> [*"1".."999"].each_with_object(/[02468]/).count(&:=~) :)
solars has quit [Ping timeout: 256 seconds]
<ljarvis> I have the shortest one
<ljarvis> >> 844
<eval-in__> ljarvis => 844 (https://eval.in/220053)
onkara has quit [Quit: onkara]
<tbuehlmann> you sure have
<ljarvis> derp
<tbuehlmann> herpiderp
<t4nk955> Only my mother would accept that.
onkara has joined #ruby-lang
<t4nk955> Anyway, I'm looking to start using a IRC client, instead of irc.lc. Any preferred ones?
<tbuehlmann> mIRC
<ljarvis> irssi and weechat are the only acceptable irc clients in my book
<workmad3> irssi 4evar!
<workmad3> or at least until I have an IRC brain implant :)
<ljarvis> me too
tharindu has joined #ruby-lang
<ljarvis> used irssi+tmux for years, never plan on changing
<t4nk955> Let's kickstart that.
<workmad3> t4nk955: volunteering as a guinea pig? :D
* workmad3 gets a large iron spike with the words "IRC client" engraved on it
<t4nk955> Think of the measures one would have to take to prevent cheating on school. We'd need a totally isolated room with no WiFi.
<workmad3> t4nk955: or we'd have to start doing assessments that tested understanding rather than rote memorisation...
<workmad3> you know, like a decent assessment should be doing...
<t4nk955> workmad3: I see what you did there. WIth the large iron spike, we'd get the perfect antenna!
<workmad3> err... yeah... that's what it's force
<workmad3> *for
<workmad3> bleh
mamantoha has joined #ruby-lang
<t4nk955> Did Frankenstein's monster have an IRC client implanted?
|jemc| has joined #ruby-lang
<t4nk955> Proof that Frankenstein had IRC -> http://mundodelosglobos.com/tiendas/images/14931.jpg
havenwood has joined #ruby-lang
koderok has joined #ruby-lang
<tbuehlmann> that's frankenstein's monster
cmhobbs has joined #ruby-lang
<t4nk955> Isn't it normal to only call him by his last name?
yfeldblum has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
<ljarvis> it doesn't have a name
SuMo_D has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
benlovell has joined #ruby-lang
onkara has quit [Quit: onkara]
hackingoff has quit [Ping timeout: 255 seconds]
koderok has quit [Quit: koderok]
SuMo_D has quit [Remote host closed the connection]
mamantoha has quit [Ping timeout: 245 seconds]
onkara has joined #ruby-lang
SuMo_D has joined #ruby-lang
<workmad3> ljarvis: any suggestion on a relatively reliable way to tell if a CSV file is using commas or tabs as separators? (I know, it's a TSV when using tabs...)
kaczmar has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
<ljarvis> workmad3: no I haven't faced that fortunately. I would maybe pull in the first row and do some dumb testing against it
<ljarvis> in general if it's using tabs it should be relatively obvious
jo__ has joined #ruby-lang
banister is now known as banisterfiend
<t4nk955> ljarvis: Of course he had a name. How else would he get into the yellow book? I'm guessing it was Frank.
imperator has joined #ruby-lang
t4nk955 is now known as Frank_Monster
RobertBirnie has joined #ruby-lang
gmas has joined #ruby-lang
<ljarvis> uh wat
<ljarvis> im not even gonna try and argue that
<ljarvis> im off, see ya
nelsonsar has quit [Remote host closed the connection]
mamantoha_ has joined #ruby-lang
gmas has quit [Ping timeout: 250 seconds]
symm- has joined #ruby-lang
danijoo_ has quit [Quit: Leaving...]
nertzy has joined #ruby-lang
Xzanron has joined #ruby-lang
danijoo has joined #ruby-lang
apeiros has joined #ruby-lang
nelsonsar has joined #ruby-lang
chinmay_dd has quit [Read error: Connection reset by peer]
<workmad3> ljarvis: my worry is a header line that uses tabs for separators and commas in some headers... but then thinking about it, I'm looking for specific field signatures so I can do a dumb solution :)
benlovell has quit [Ping timeout: 250 seconds]
fusillicode has quit [Ping timeout: 272 seconds]
<bradland> workmad3: to tell if a file is using csv or tsv, i’d look at the consistency of the appearance of those characters across a sample of rows
<workmad3> bradland: I require a header line with a certain set of headers ;)
<workmad3> bradland: and that's before I do any processing
<workmad3> bradland: so I can just look to see if the headers are there with either tabs or commas
<bradland> even easier :)
symm- has quit [Ping timeout: 240 seconds]
solars has joined #ruby-lang
__butch__ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
arBmind has joined #ruby-lang
koderok has joined #ruby-lang
workmad3 has quit [Ping timeout: 244 seconds]
arBmind has quit [Quit: Leaving.]
mikecmpbll has quit [Ping timeout: 256 seconds]
GBrawl has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby-lang
_elia has quit [Quit: Computer has gone to sleep.]
dacamp has left #ruby-lang [#ruby-lang]
mustmodify has joined #ruby-lang
<mustmodify> I'm looking for an iterator that works like detect, stopping on the first non-falseish result, but which returns the result. I just wrote it but thought I would see if it was already in the language and somehow I had missed it?
yfeldblum has quit [Ping timeout: 265 seconds]
mnngfltg has quit [Remote host closed the connection]
banister has joined #ruby-lang
iliketurtles has joined #ruby-lang
fusillicode has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
<tbuehlmann> mustmodify, #detect will return the element when found, isn't that what you want?
jmrepetti has quit [Remote host closed the connection]
iliketurtles has quit [Remote host closed the connection]
<jhass> mustmodify: [nil, false].sample ?
fusillicode1 has joined #ruby-lang
g0bl1n has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby-lang
fusillicode has quit [Ping timeout: 265 seconds]
mamantoha_ has quit [Ping timeout: 264 seconds]
arooni-mobile has joined #ruby-lang
ahmetkapikiran has joined #ruby-lang
snovity has quit [Read error: Connection reset by peer]
<tbuehlmann> rather `collection.find { |element| !element.nil? && !(element == false) }`, right?
<mustmodify> jhass: tbuehlamann: sorry, I was lost track of this window.
AKASkip has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
sepp2k has quit [Quit: Konversation terminated!]
<mustmodify> if I'm looking for something in a cache, then in a database, and finally via API call, then [cache, db, api].first_result{|resource| resource.query } should give me ... the answer.
djbkd has joined #ruby-lang
<jhass> that's a plain .find/.detect
<jhass> oh, wait
<mustmodify> no. Detect will return the resource that succeeded
<jhass> you actually want the old lazy hack:
workmad3 has quit [Ping timeout: 245 seconds]
<mustmodify> out = nil
<jhass> .lazy.map(&:query).find(&:itself)
<mustmodify> resources.detect{|x| out = x.query}
<mustmodify> oh wait
mamantoha_ has joined #ruby-lang
<mustmodify> Well I don't know what .lazy does...
<mustmodify> but that does seem hackish. :P
wallerdev has joined #ruby-lang
<mustmodify> here's the iterator I wrote. Not wild about return but it was the first solution that occurred to me.
<jhass> can't be worse than .find {|resource| result = resource.query; break result if result }
spastorino has quit [Quit: Connection closed for inactivity]
loincloth has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
mamantoha_ has quit [Ping timeout: 255 seconds]
seank_ has joined #ruby-lang
nelsonsar has joined #ruby-lang
benlovell has joined #ruby-lang
arBmind has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 245 seconds]
SuMo_D has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
sarkyniin has joined #ruby-lang
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
francisfish has joined #ruby-lang
arBmind has quit [Ping timeout: 265 seconds]
thagomizer has joined #ruby-lang
SuMo_D has quit [Ping timeout: 255 seconds]
kaczmar has quit [Quit: kaczmar]
cleopatra has joined #ruby-lang
mamantoha has joined #ruby-lang
jmrepetti has joined #ruby-lang
francisfish has quit [Ping timeout: 272 seconds]
SuMo_D has joined #ruby-lang
Frank_Monster has quit [Ping timeout: 246 seconds]
sunaku has joined #ruby-lang
yfeldblum has joined #ruby-lang
koderok has left #ruby-lang [#ruby-lang]
<cleopatra> hey rubies
<cleopatra> i had some error when i update from ruby 1.9.3 to ruby 2.13
face has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GBrawl has quit [Quit: (null)]
jmrepetti has quit [Remote host closed the connection]
<bradland> cleopatra: we’ll need some more details in order to help you with 1.9.3 —> 2.1.3 issues
<cleopatra> yes ill git it
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
<cleopatra> bradland, thi is some referent to readline
sunaku has quit [Ping timeout: 244 seconds]
onkara has quit [Quit: onkara]
onkara has joined #ruby-lang
<bradland> can you copy paste the error in to a Gist? (https://gist.github.com)
arBmind has joined #ruby-lang
seank_ has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby-lang
banister has joined #ruby-lang
seank_ has joined #ruby-lang
solars has quit [Ping timeout: 250 seconds]
Phrogz has joined #ruby-lang
solars has joined #ruby-lang
Thecrazylumberja has quit [Read error: Connection reset by peer]
<bradland> cleopatra: looks like readline isn’t installed on your system. what operating system are you using?
loincloth has joined #ruby-lang
marr has joined #ruby-lang
onkara has quit [Quit: onkara]
SuMo_D has quit [Remote host closed the connection]
<Phrogz> Opinions requested: I'm writing a method that lets you find objects by arbitrary attribute names, or three special values. For example, jungle.find( color:'orange', TYPE:'model' ). "TYPE" is a special key. I cannot use type:'model' in case there is an arbitrary attribute named "type". So, which of the following do you prefer?
<cleopatra> bradland, i am using ubuntu last vercion
<Phrogz> #1 .find( slide:0, attr:{ slide:'smooth' } ) #2 .find( SLIDE:0, slide:'smooth' ) #3 .find( _slide:0, slide:'smooth' ) #4 .find( slide_:0, slide:'smooth' ) #5 .find( "slide"=>0, slide:'smooth' ) #6 .find( slide:0 ).attr( slide:'smooth' )
<bradland> cleopatra: what method did you use to install ruby?
<cleopatra> from source
<cleopatra> ./configure
<bradland> hrm, ok
mustmodify has left #ruby-lang [#ruby-lang]
<bradland> installing readline should do the trick: sudo apt-get install libreadline-dev
<cleopatra> but before on the same machine had old vercionde ruby
<bradland> although, i’d recommend using a ruby environment manager like rbenv or rvm
<cleopatra> already i have exc the command
sunaku has joined #ruby-lang
nofxx has joined #ruby-lang
<bradland> i would recommend installing ruby using either rbenv or rvm
<cleopatra> libreadline-dev is already the newest version.
solars has quit [Quit: WeeChat 0.4.2]
<cleopatra> mmm let me see
solars has joined #ruby-lang
arBmind has quit [Ping timeout: 240 seconds]
Phrogz has quit [Ping timeout: 246 seconds]
elia has joined #ruby-lang
mistym has joined #ruby-lang
mkaesz has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
arBmind has quit [Ping timeout: 264 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
Phrogz has joined #ruby-lang
kaczmar has joined #ruby-lang
arBmind has joined #ruby-lang
allomov has joined #ruby-lang
<Phrogz> Oops, computer died. Didn't see any responses. Did anyone chime in with bikeshed opinions on my question?
nelsonsar has quit [Remote host closed the connection]
nelsonsar has joined #ruby-lang
seank_ has quit [Ping timeout: 265 seconds]
SuMo_D has joined #ruby-lang
Sunlorhic has quit [Ping timeout: 240 seconds]
tharindu has quit [Ping timeout: 245 seconds]
SuMo_D has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 240 seconds]
loincloth has quit [Remote host closed the connection]
seank_ has joined #ruby-lang
ducklobster has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
skade has joined #ruby-lang
loincloth has joined #ruby-lang
sunaku has quit [Quit: WeeChat 1.0.1]
kaczmar has quit [Quit: kaczmar]
hahuang65 has quit [Ping timeout: 244 seconds]
dangerousdave has joined #ruby-lang
dangerousdave has quit [Client Quit]
<bradland> Phrogz: Negative. It’s been pretty quiet.
<bradland> I’d offer an opinion, but I don’t feel smart enough to discern the value of the options :\
<nofxx> I'm curious, ask again ;)
symm- has joined #ruby-lang
<bradland> nofxx: assembed from my buffer: https://gist.github.com/bradland/0dd6798810a8ba25a8cb
kurko__ has joined #ruby-lang
seank_ has quit [Read error: Connection reset by peer]
kurko___ has quit [Read error: Connection reset by peer]
seank_ has joined #ruby-lang
<Phrogz> nofxx: I am writing a method that lets you specify a hash of options. The keys to the hash can be any symbol. I also have four 'special' keys that I need to distinguish, but I can't let them collide with any same-named key. So, which option do you prefer?
<Phrogz> (1) .find( slide:0, attr:{ slide:'smooth' } ) (2) .find( SLIDE:0, slide:'smooth' ) (3) .find( _slide:0, slide:'smooth' ) (4) .find( slide_:0, slide:'smooth' ) (5) .find( "slide"=>0, slide:'smooth' ) (6) .find( slide:0 ).attr( slide:'smooth' )
<Phrogz> The one with value 0 is the 'special' key in this case, while "smooth" is a normal name. I'm currently strongly leaning towards #3. I did #1 originally, and found it quite cumbersome.
ur5us has joined #ruby-lang
<Phrogz> It has to be both clear and easy-to-type, since this is going to be used heavily in a REPL environment.
<cleopatra> bradland, i trink i have fix the problem
skade has quit [Quit: Computer has gone to sleep.]
mirageglobe has joined #ruby-lang
Sunlorhic has joined #ruby-lang
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matp_ has joined #ruby-lang
matp has quit [Ping timeout: 272 seconds]
ZaRDaK has joined #ruby-lang
Sunlorhic has quit [Ping timeout: 255 seconds]
dagda1_ has joined #ruby-lang
Sunlorhic has joined #ruby-lang
thagomizer has quit [Quit: Leaving.]
Thecrazylumberja has joined #ruby-lang
thagomizer has joined #ruby-lang
thagomizer has quit [Client Quit]
kaczmar has joined #ruby-lang
Sunlorhic has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
whippythellama has quit [Quit: whippythellama]
solars has quit [Quit: WeeChat 0.4.2]
solars has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
ldnunes has quit [Quit: Leaving]
SuMo_D has joined #ruby-lang
allomov has quit [Remote host closed the connection]
SuMo_D has quit [Remote host closed the connection]
allomov has joined #ruby-lang
dwknoxy is now known as dknox-bbl
nelsonsar has quit [Remote host closed the connection]
<nofxx> Phrogz, .slide(0).only(:smooth)
<nofxx> (7)
<nofxx> Phrogz, .slide(0).filter(:smooth) not sure I got the attr to get a verb
francisfish has joined #ruby-lang
emmesswhy has quit [Quit: emmesswhy]
amigo99 has joined #ruby-lang
apt-get_ has joined #ruby-lang
sarkyniin has quit [Ping timeout: 265 seconds]
hahuang65 has joined #ruby-lang
yfeldblum has joined #ruby-lang
nelsonsar has joined #ruby-lang
mirageglobe has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
mirageglobe has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.2]
solars has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
solars has quit [Client Quit]
mirageglobe has quit [Ping timeout: 244 seconds]
allomov_ has joined #ruby-lang
solars has joined #ruby-lang
mirageglobe has joined #ruby-lang
apt-get_ has quit [Ping timeout: 240 seconds]
allomov has quit [Ping timeout: 245 seconds]
matp has joined #ruby-lang
djbkd has joined #ruby-lang
cantonic has quit [Read error: Connection reset by peer]
francisfish has quit [Remote host closed the connection]
cantonic has joined #ruby-lang
matp_ has quit [Ping timeout: 265 seconds]
Sunlorhic has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
spastorino has joined #ruby-lang
jmrepetti has joined #ruby-lang
seank_ has quit [Read error: Connection reset by peer]
seank_ has joined #ruby-lang
wallerdev has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
seank_ has quit [Ping timeout: 244 seconds]
miqui has quit [Remote host closed the connection]
whippythellama has joined #ruby-lang
dangerousdave has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
matp_ has joined #ruby-lang
cleopatra has quit [Excess Flood]
banister has joined #ruby-lang
whippythellama has quit [Client Quit]
banister has quit [Client Quit]
whippythellama has joined #ruby-lang
dangerousdave has quit [Client Quit]
allomov_ has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
dangerousdave has joined #ruby-lang
djbkd has joined #ruby-lang
matp has quit [Ping timeout: 250 seconds]
allomov has joined #ruby-lang
dangerousdave has quit [Client Quit]
dangerousdave has joined #ruby-lang
dangerousdave has quit [Client Quit]
allomov has quit [Ping timeout: 255 seconds]
dangerousdave has joined #ruby-lang
Sunlorhic has quit [Ping timeout: 264 seconds]
hahuang65 has joined #ruby-lang
Phrogz has quit [Quit: Page closed]
arooni-mobile has quit [Ping timeout: 264 seconds]
cantonic has quit [Quit: cantonic]
hahuang65 has quit [Ping timeout: 245 seconds]
mirageglobe has quit [Remote host closed the connection]
Xzanron has quit [Quit: Leaving]
mistym has quit [Remote host closed the connection]
mirageglobe has joined #ruby-lang
xalupeao has joined #ruby-lang
<xalupeao> Hi guys, ruby have a framework to create a game ? ... similar python with pygame ?
nelsonsar has quit [Remote host closed the connection]
<ericwood> Gosu is the most popular it seems
cleopatra has joined #ruby-lang
<ericwood> it's for 2D game dev, iirc it's pretty awesome
mirageglobe has quit [Ping timeout: 250 seconds]
<xalupeao> thanks ericwood :)
thagomizer has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ericwood> np
chris2 has quit [Ping timeout: 265 seconds]
hahuang65 has joined #ruby-lang
nelsonsar has joined #ruby-lang
banister has joined #ruby-lang
mirageglobe has joined #ruby-lang
cleopatra is now known as cleopatra2
cleopatra2 is now known as cleopatra
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
snooc has quit [Quit: see-ya]
ZaRDaK has quit [Quit: Leaving]
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaczmar has quit [Quit: kaczmar]
amigo99 has quit [Ping timeout: 244 seconds]
SuMo_D has quit [Remote host closed the connection]
amigo99 has joined #ruby-lang
SuMo_D has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dagda1 has joined #ruby-lang
rikkipitt has joined #ruby-lang
SuMo_D has quit [Ping timeout: 256 seconds]
dagda1 has quit [Client Quit]
cantonic has joined #ruby-lang
GBrawl has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gianlucadv has quit [Ping timeout: 255 seconds]
oleo__ has joined #ruby-lang
kaczmar has joined #ruby-lang
oleo is now known as Guest42314
chris2 has joined #ruby-lang
<imperator> epitron, you inspired the latest release of win32-file-stat :)
Guest42314 has quit [Ping timeout: 258 seconds]
rikkipitt has quit []
kaczmar has quit [Client Quit]
mirageglobe has quit [Remote host closed the connection]
cantonic has quit [Quit: cantonic]
oleo__ has quit [Quit: Verlassend]
kaczmar has joined #ruby-lang
<bnagy> so. Ruby doesn't support PFS for OpenSSL servers
<bnagy> https://bugs.ruby-lang.org/issues/10257 and this isn't getting any attention
<bnagy> so what's my next step to bug people about it?
kaczmar has quit [Client Quit]
<bnagy> now that I have a little time to devote to it again :
oleo__ has joined #ruby-lang
Sgeo_ has joined #ruby-lang
<womble> bnagy: Sure that's the right bug? That seems to be about ECC, not PFS
oleo__ has quit [Client Quit]
oleo has joined #ruby-lang
<bnagy> the ECDHE suites are 'ephemeral' ie pfs
rikkipitt has joined #ruby-lang
<womble> bnagy: But you don't need EC to do ephemeral DH
<womble> A DHE-RSA cipherspec would give you PFS without EC
<bnagy> you don't, it's just that all the good new suites are ecdhe
Sgeo has quit [Ping timeout: 245 seconds]
<bnagy> and tbh I can't really be fucked having a pedantic discussion about it
<womble> That being said, I've bumped up against OpenSSL::PKey::EC's insane API, and I'd love to see it fixed (with a baseball bat if necessary)
rikkipitt has quit [Client Quit]
<bnagy> all of the openssl API is insane
<womble> There is that.
<bnagy> but fixing it is boiling the ocean. I just want it to work.
<bnagy> I guess the root of the issue is that the server-side tests aren't even there
<bnagy> I suspect that it _is_ actually in the way they've tried to shoehorn the EC stuff into the same PKEY api
<bnagy> but I can't get much out of the C binding without debugging into openssl itself
<bnagy> cause the binding produces an incorrect error
<bnagy> SO, the question remains - what's the best way to move this along?
<bnagy> contact the maintainer / open a new bug / mailing list / ... ?
cornerma1 has joined #ruby-lang
<womble> bnagy: I think your bug is separate enough from that one to be worth opening a separate issue, otherwise you might just stall John's fix while the cause of your bug gets sorted out.
solars has quit [Ping timeout: 244 seconds]
<womble> As far as getting action, well, I don't know -- I've got a security bug (with patch) in OpenSSL::ASN1 that's seen no movement in a year, so if you work out some way to move that sort of thing ahead, I'd like to know about it, too...
banister has joined #ruby-lang
cleopatra has quit [Read error: Connection timed out]
cornerman has quit [Ping timeout: 255 seconds]
cornerma1 is now known as cornerman
dknox-bbl is now known as dknox
<bnagy> well his bug is definitely the root of mine
<womble> Sorry, it's been six months, not a year.
<bnagy> I haven't actually verified the DHE-RSA suites cause I wouldn't use them
JohnBat26 has quit [Ping timeout: 264 seconds]
<bnagy> but yeah I can reopen it as EC Certs Just Don't Work
<imperator> 3rd party gem maybe?
<bnagy> well they work clientside
<imperator> dunno what's out there
<bnagy> you just can't have them on your server
<bnagy> imperator: I thought about wrapping boringssl or something
yusuf1 has quit [Quit: Leaving.]
<bnagy> but ( sorry ) I wouldn't use ruby as a TLS server in a real project
<womble> It wouldn't be my first choice either.
<bnagy> so it's too much work
__butch__ has quit [Quit: Leaving.]
<bnagy> and I can't switch to jruby cause they haven't implemented EC, even though bouncycastle support it :)
<headius> help us do that :-)
GaelanAintAround has quit [Ping timeout: 265 seconds]
<bnagy> headius: I know, I know
zz_dlu has quit [Ping timeout: 245 seconds]
<bnagy> but it's hard, and it's kind of a side issue
<headius> it is
<bnagy> cause that would only help jruby peeps
cornerma1 has joined #ruby-lang
<bnagy> and tbh it should probably be a java person doing it
<bnagy> or at least someone that knows any java at all
GBrawl has quit [Ping timeout: 265 seconds]
mirageglobe has joined #ruby-lang
zz_dlu has joined #ruby-lang
miqui has joined #ruby-lang
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
GaelanAintAround has joined #ruby-lang
amigo99 has quit [Quit: This computer has gone to sleep]
matp has joined #ruby-lang
mirageglobe has quit [Ping timeout: 245 seconds]
jmrepetti has quit [Remote host closed the connection]
matp_ has quit [Ping timeout: 240 seconds]
jmrepetti has joined #ruby-lang
imperator has quit [Quit: Leaving]
nelsonsar has quit [Remote host closed the connection]
malconis_ has joined #ruby-lang
wamarcum has joined #ruby-lang
jimbach_ has quit [Remote host closed the connection]
malconis has quit [Ping timeout: 250 seconds]
haxxtivist has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
nelsonsar has joined #ruby-lang
charliesome has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
cmhobbs has quit [Remote host closed the connection]
_djbkd has joined #ruby-lang
AKASkip has quit [Ping timeout: 240 seconds]
loincloth has quit [Remote host closed the connection]
allomov has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
nofxx has quit [Ping timeout: 255 seconds]
allomov has quit [Ping timeout: 258 seconds]
ducklobster has quit [Remote host closed the connection]
ducklobster has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
cantonic has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
jmrepetti has quit [Remote host closed the connection]
nelsonsar has joined #ruby-lang
mamantoha has quit [Ping timeout: 258 seconds]
David_H__ has joined #ruby-lang
cantonic has quit [Client Quit]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 244 seconds]
xalupeao has quit [Quit: Saliendo]
nelsonsar has quit [Ping timeout: 240 seconds]
mirageglobe has joined #ruby-lang
charliesome has quit [Quit: zzz]
chris2_ has joined #ruby-lang
mirageglobe has quit [Ping timeout: 244 seconds]
nathanstitt has quit [Quit: I growing sleepy]
shinnya has joined #ruby-lang
havenwood has joined #ruby-lang
vieq has quit [Ping timeout: 244 seconds]
chris2 has quit [Quit: und wech...]
godd2 has joined #ruby-lang
<zenspider> minitest version 5.4.3 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2014/11/minitest-version-5-4-3-has-been-released.html
chris2_ is now known as chris2
<zenspider> hey chris2. how goes?
vieq has joined #ruby-lang
enebo has quit [Quit: enebo]