apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
<zzak> banisterfiend: how would you do this in OS?
<banisterfiend> zzak: just a way to go back from singleton class to object
<zzak> banisterfiend: could you write a psuedo patch?
tdm00 has joined #ruby-lang
<banisterfiend> zzak: well currently you can do this: ObjectSpace.each_object(a_singleton_class).to_a.first
<zzak> drbrain: you are gem_prelude.rb maintainer now right?
<banisterfiend> that's equivalent to singleton_class.__attached__
<drbrain> zzak: who is currently listed?
<zzak> evan
<drbrain> you can leave it at evan
itcharlie has left #ruby-lang [#ruby-lang]
jp- has joined #ruby-lang
mistym has quit [Quit: Leaving]
mbj_ has quit [Quit: leaving]
nathanstitt has joined #ruby-lang
<zzak> drbrain: are you doing seattlerb tomorrow?
<zzak> with ryan?
<drbrain> I don't really know much about racc
<xuser> banisterfiend: have you tried writing in a functional style in ruby?
<banisterfiend> xuser: yeah, that's hwat this is about: https://github.com/banister/funkify
<zzak> drbrain: me either, but ryan gave me the ok just been sitting on it. poke him for me if you see him tomorrow
<drbrain> ok
tomzx_mac has quit [Ping timeout: 246 seconds]
kurko_ has joined #ruby-lang
pothibo has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
<zzak> ty!
efrainolivares has quit [Quit: efrainolivares]
pothibo has quit [Client Quit]
richardburton has joined #ruby-lang
zorg24 has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
marr has quit [Ping timeout: 248 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Client Quit]
Fraibert has joined #ruby-lang
krohrbaugh1 has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
alekst has joined #ruby-lang
closer has quit [Ping timeout: 252 seconds]
closer has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
tanema has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
jsullivandigs has joined #ruby-lang
tomzx_mac has joined #ruby-lang
closer has quit [Ping timeout: 256 seconds]
jsullivandigs has quit [Ping timeout: 240 seconds]
closer has joined #ruby-lang
tdm00 has quit [Quit: Computer has gotten very, very sleepy.]
kurko_ has quit [Ping timeout: 264 seconds]
kurko_ has joined #ruby-lang
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
jonahR has joined #ruby-lang
jdenen has joined #ruby-lang
Senjai has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 264 seconds]
jdenen has quit [Client Quit]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
lsegal has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
Senjai has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jsullivandigs has quit [Ping timeout: 264 seconds]
kurko_ has quit [Quit: Computer has gone to sleep.]
ssb123 has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
kurko_ has joined #ruby-lang
stonerfish has joined #ruby-lang
Senjai has joined #ruby-lang
vlad_starkov has joined #ruby-lang
stonerfish has quit [Client Quit]
jsullivandigs has joined #ruby-lang
hogeo has quit [Read error: Connection reset by peer]
Banistergalaxy has quit [Remote host closed the connection]
closer has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby-lang
closer has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
jwoods has joined #ruby-lang
wmoxam has quit [Ping timeout: 260 seconds]
richardburton has quit [Quit: Leaving.]
richardburton has joined #ruby-lang
richardburton has quit [Client Quit]
jwoods has quit [Ping timeout: 240 seconds]
tdm00 has joined #ruby-lang
wmoxam has joined #ruby-lang
kurko_ has quit [Ping timeout: 240 seconds]
jsullivandigs has quit [Ping timeout: 240 seconds]
kurko_ has joined #ruby-lang
jsullivandigs has joined #ruby-lang
Domon has joined #ruby-lang
iliketurtles has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
iliketurtles has quit [Client Quit]
zorg24 has quit [Read error: Connection reset by peer]
ssb123 has joined #ruby-lang
havenwood has joined #ruby-lang
jsullivandigs has quit [Read error: No route to host]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
tanema has joined #ruby-lang
jsullivandigs has joined #ruby-lang
closer has quit [Ping timeout: 256 seconds]
wmoxam has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
jsullivandigs has quit [Ping timeout: 264 seconds]
closer has joined #ruby-lang
jsullivandigs has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
alekst has quit [Quit: Leaving...]
closer has quit [Ping timeout: 252 seconds]
closer has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
tylersmith has joined #ruby-lang
imperator has quit [Quit: Valete!]
thepumpkin has joined #ruby-lang
pkrnj has joined #ruby-lang
julweber has joined #ruby-lang
julweber has quit [Ping timeout: 240 seconds]
x0f_ has quit [Ping timeout: 240 seconds]
x0f has joined #ruby-lang
retro|cz has quit [Ping timeout: 276 seconds]
<Nilium> I am having the hardest time figuring out how I'm supposed to bring rdoc's tomdoc parser in via require O_o
<Nilium> Mostly so I can figure out why it's broken.
closer has quit [Ping timeout: 256 seconds]
arooni-mobile__ has joined #ruby-lang
hahuang61 has quit [Ping timeout: 264 seconds]
closer has joined #ruby-lang
x0f has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 240 seconds]
x0f has joined #ruby-lang
richardburton has joined #ruby-lang
kurko_ has quit [Ping timeout: 264 seconds]
kurko_ has joined #ruby-lang
richardburton has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby-lang
diegoviola has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
apeiros_ has joined #ruby-lang
apeiros has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
anonymuse has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
<Nilium> Oh well, issue created in lieu of being able to find a solution
apeiros has joined #ruby-lang
apeiros_ has quit [Read error: Connection reset by peer]
RickHull1 has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
thepumpkin has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 248 seconds]
arooni-mobile__ has quit [Ping timeout: 240 seconds]
anonymuse has quit [Remote host closed the connection]
Nisstyre has quit [Quit: Leaving]
kurko_ has quit [Quit: Computer has gone to sleep.]
jonahR has quit [Quit: jonahR]
thepumpkin has joined #ruby-lang
mdedetrich has joined #ruby-lang
<zzak> just require 'rdoc'
Fraibert has quit []
<Nilium> Yeah, I was getting some odd errors about things being undefined. Presumably a side-effect of it using autoload.
<Nilium> Maybe also a bug in pry. Hard to say and not really important.
woollyams has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
tanema has quit [Remote host closed the connection]
mistym has joined #ruby-lang
saarinen has joined #ruby-lang
richardburton has joined #ruby-lang
richardburton has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
jxie has quit [Quit: leaving]
jxie has joined #ruby-lang
netShadow has joined #ruby-lang
joast has quit [Ping timeout: 264 seconds]
<zzak> hard saying not knowing
<zzak> whats your code look like?
richardburton has joined #ruby-lang
<Nilium> https://github.com/rdoc/rdoc/issues/248 ← That was the issue.
<Nilium> The require thing was just me trying to debug the parser and realizing rdoc's kind of horrifying on the inside.
nathanstitt has quit [Quit: I growing sleepy]
x0f has quit [Ping timeout: 256 seconds]
x0f has joined #ruby-lang
arooni-mobile__ has quit [Read error: Operation timed out]
arooni-mobile has quit [Ping timeout: 240 seconds]
<zzak> Nilium: i can reproduce
saarinen has joined #ruby-lang
jwoods has joined #ruby-lang
tdm00 has quit [Quit: Computer has gotten very, very sleepy.]
hahuang61 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
julweber has joined #ruby-lang
julweber has quit [Ping timeout: 264 seconds]
skade has joined #ruby-lang
Voker57 has quit [Ping timeout: 264 seconds]
perry is now known as Perry
tanema has joined #ruby-lang
tanema has quit [Ping timeout: 248 seconds]
joshuawscott has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mistym has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
GeissT has joined #ruby-lang
canton7 has quit [Read error: Operation timed out]
retro|cz has joined #ruby-lang
kuja has quit [Quit: ZNC - http://znc.sourceforge.net]
tkuchiki has joined #ruby-lang
ledestin has quit [Ping timeout: 246 seconds]
mistym has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
tkuchiki has quit [Ping timeout: 276 seconds]
kuja has joined #ruby-lang
mdedetrich has joined #ruby-lang
jwoods has quit [Quit: Leaving.]
fosky has joined #ruby-lang
nneko001__ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
roadt_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 276 seconds]
apeiros has quit [Remote host closed the connection]
mdedetrich has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
roadt__ has quit [Ping timeout: 256 seconds]
tomzx_mac has quit [Ping timeout: 276 seconds]
joshuawscott has quit [Quit: Leaving.]
<zenspider> ZenTest version 4.9.3 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/08/ZenTest-version-4-9-3-has-been-released.html
postmodern has quit [Quit: Leaving]
mdedetrich has joined #ruby-lang
<diegoviola> nice, chruby looks awesome
<zenspider> RAWR
<diegoviola> never really liked how bloated/complicated rvm was and not sure i like the shims approach of rbenv either, i'll give chruby a try now, looks simple enough
<zenspider> finally bit the bullet and figured out why autotest was not working quite right with minitest 5
<zenspider> Nilium: thanks for filing the issue. really... it's more important than trying to fix it
<Nilium> Well I found a temporary fix for me, but it's almost guaranteed to not be a good solution.
skade has quit [Quit: Computer has gone to sleep.]
<Nilium> Namely just modifying the build_paragraph method to jam a space in between lines.
<Nilium> Aside from that, it'd probably take me a while to work through rdoc's source to figure out how it works before finding an actual solution
poga has quit [Remote host closed the connection]
TvL2386 has joined #ruby-lang
<zenspider> zzak: I wrote tenderlove about your PR
<zzak> :D
<zzak> i can wait, he is busy in REDACTED
<zenspider> Nilium: I wouldn't bother. it'll take drbrain about 30 seconds to hone in on it
<Nilium> He just absorbs the brains.
<zzak> Nilium: the problem is #build_paragraph
<zzak> see: "skip :NEWLINE"
<zzak> around line 180
<Nilium> I was sort of staring at that, but eh
relix has joined #ruby-lang
saarinen has quit [Quit: saarinen]
Senjai has quit [Ping timeout: 240 seconds]
<zzak> h
<Nilium> Looks like just removing that and adding an || type == :NEWLINE might also fix it.
<zzak> could you write a test?
<Nilium> Let me check.
<zzak> are you sure this is valid tomdoc?
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
<Nilium> Descriptions that span multiple lines? Yes.
<Nilium> http://tomdoc.org ← See the largest example under the "Description Section" .. section.
<Nilium> That said, rdoc doesn't adhere entirely to tomdoc in the first place.
<zzak> yeah
<zzak> it seems like there are already tests for this
<zzak> but only in tokenize
<Nilium> Yeah, anyway, my solution fails several tests, so that's no good.
<zzak> tomdoc is not heavily tested
<zzak> only tokenize like i said
<erikh> hi freinds
<zzak> i may have a failing test
<Nilium> My problem is mostly that I don't know exactly what correct output should look like for a Document/Paragraph.
<zzak> i will commit this test
<zzak> and see let eric sort it out
<zzak> Nilium: done
havenwood has joined #ruby-lang
<zzak> zenspider: たこやきかめん has answered
<zzak> i am sleepy おやすみなし
arooni-mobile has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby-lang
apeiros has joined #ruby-lang
tonni has quit [Remote host closed the connection]
poga has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
spuk has joined #ruby-lang
dagobah has joined #ruby-lang
poga has quit [Remote host closed the connection]
poga has joined #ruby-lang
skade has joined #ruby-lang
thebastl has joined #ruby-lang
tonni has joined #ruby-lang
poga has quit [Remote host closed the connection]
poga has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
relix has quit [Ping timeout: 264 seconds]
spike|spiegel has quit [Quit: WeeChat 0.4.1]
mdedetrich has quit [Quit: Computer has gone to sleep.]
relix has joined #ruby-lang
iliketurtles has joined #ruby-lang
hhatch has joined #ruby-lang
mistym has quit [Remote host closed the connection]
ffio has joined #ruby-lang
<matti> zzak: Its おやすみなさい if you want to say good night.
<matti> ;]
spike|spiegel has joined #ruby-lang
majjoha has joined #ruby-lang
solars has joined #ruby-lang
mdedetrich has joined #ruby-lang
vlad_starkov has joined #ruby-lang
arBmind has joined #ruby-lang
skade has quit [Ping timeout: 240 seconds]
dagobah has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
vlad_starkov has quit [Ping timeout: 264 seconds]
postmodern has joined #ruby-lang
JohnBat26 has joined #ruby-lang
hahuang61 has quit [Read error: Connection reset by peer]
dagobah has joined #ruby-lang
hahuang61 has joined #ruby-lang
hogeo has quit [Read error: Connection reset by peer]
hogeo has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
cads has quit [Ping timeout: 276 seconds]
thebastl has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
vlad_starkov has joined #ruby-lang
poga has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
dc5ala has joined #ruby-lang
rshetty has joined #ruby-lang
geson has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
poga has joined #ruby-lang
rshetty has quit [Quit: Sleeping]
saarinen has joined #ruby-lang
ledestin has joined #ruby-lang
joonty_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
joonty has quit [Ping timeout: 248 seconds]
hashkey_ has joined #ruby-lang
hashkey_ has quit [Remote host closed the connection]
hashkey_ has joined #ruby-lang
hashkey has quit [Killed (holmes.freenode.net (Nickname regained by services))]
hashkey_ is now known as hashkey
rshetty has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.1]
barttenbrinke has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
tonni has quit [Remote host closed the connection]
barttenbrinke has quit [Remote host closed the connection]
stef_204 has joined #ruby-lang
thebastl_ has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
rshetty has quit [Ping timeout: 245 seconds]
barttenbrinke has joined #ruby-lang
rshetty has joined #ruby-lang
Voker57 has joined #ruby-lang
thebastl has quit [Ping timeout: 248 seconds]
poga has quit [Remote host closed the connection]
poga has joined #ruby-lang
poga has quit [Remote host closed the connection]
marr has joined #ruby-lang
poga has joined #ruby-lang
JohnBat26|2 has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 260 seconds]
arBmind has joined #ruby-lang
thebastl_ has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
rshetty has quit [Quit: Sleeping]
tonni has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
ffio has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
fosky has quit [Ping timeout: 240 seconds]
kstuart has joined #ruby-lang
sjltaylor has joined #ruby-lang
richardburton has joined #ruby-lang
majjoha has quit [Ping timeout: 240 seconds]
adambeynon has joined #ruby-lang
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
richardburton has quit [Ping timeout: 264 seconds]
rshetty has joined #ruby-lang
<zenspider> zzak: it's merged!
Mon_Ouie has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
poga has quit [Remote host closed the connection]
joonty_ is now known as joonty
TvL2386 has quit [Quit: Ex-Chat]
bougyman has quit [Remote host closed the connection]
bougyman has joined #ruby-lang
saarinen has quit [Quit: saarinen]
rshetty has quit [Quit: Sleeping]
rshetty has joined #ruby-lang
banisterfiend has joined #ruby-lang
minivan has joined #ruby-lang
majjoha has joined #ruby-lang
Asher has quit [Quit: Leaving.]
kirin` has quit [Ping timeout: 256 seconds]
Asher has joined #ruby-lang
majjoha has quit [Ping timeout: 240 seconds]
RickHull1 has quit [Quit: Leaving.]
jds has quit [Disconnected by services]
poga has joined #ruby-lang
richardburton has joined #ruby-lang
<zenspider> unfactoring... unfactoring... unfactoring... unfactoring... ugh
<erikh> what do you mean by that?
<banisterfiend> like inlining methods etc
<banisterfiend> ?
<zenspider> pretty much
<zenspider> I'm adding duplication in order to get more uniformity
dc5ala has quit [Quit: Ex-Chat]
ffio has quit [Ping timeout: 248 seconds]
richardburton has quit [Ping timeout: 248 seconds]
<zenspider> causes me a bit of pain
kirin` has joined #ruby-lang
FastJack has quit [Ping timeout: 245 seconds]
zmike1234 has joined #ruby-lang
elia has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<Dernise> Is rubinius popular?
sascha_d has quit [Quit: obai]
<joonty> Dernise: not on the level of mri or jruby, but possible the next most popular
<joonty> *possibly
<Dernise> Before JRuby?
<joonty> after i think
<Dernise> I mean is it safe to use it? Will this project be maintained in the futur?
geson has quit [Quit: Leaving.]
<joonty> it won't be going away any time soon, but you can never guarantee future maintenance of any project
<joonty> Dernise: what's your situation? Why are you thinking of rubinius?
<Dernise> joonty: In need a real thread implementation.
<Dernise> Despite the Ruby community's love for process-based solutions, I prefer using threads :-)
<dbussink> Dernise: just try it
<joonty> Dernise: I'd say that it depends on how much risk you can allow. Obviously we want everything to work perfectly, but there are some apps that will demand more stability than others
<joonty> but you can find bugs in mri, jruby and rubinius equally, so I agree with dbussink
<zenspider> equally???
FastJack has joined #ruby-lang
<joonty> zenspider: not probability wise, but in reality
vlad_starkov has quit [Read error: Connection reset by peer]
* zenspider blinks
<joonty> i mean that nothing is perfect, so you always have the risk of finding a bug
vlad_starkov has joined #ruby-lang
<joonty> zenspider: wrong choice of word
<joonty> :)
<zenspider> ...not touching this one
<Dernise> http://grab.by/pjkq That's why I want to try rubinius
<zenspider> because you need really really fast primes? use mathematica
<dbussink> Dernise: like i said, just try and it if you encounter issues file a bug report
<dbussink> it's not really much harder then that
<zenspider> I still can't beat my mathematica version to find all 9 digit palindromic primes. not even close
<dbussink> if you just want to do math calculations, use something for that yeah
<zenspider> and any benchmark where the slowest is only 5 seconds is probably a shit benchmark
<zenspider> I wouldn't trust that at all
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
<Dernise> sure
<dbussink> zenspider: it's more than people often claim stuff with :P
<zenspider> how many iterations? how much GC was there? were multiple runs done in order to determine growth shape?
<zenspider> etc
<dbussink> zenspider: i've seen benchmarks claimed with < 100ms runtimes etc
<zenspider> sure. shit is shit. throw it out
<dbussink> Dernise: anyway, the only real way to say whether it helps you or not is to try
<joonty> plus, the benchmark is relevant for the particular hardware it was run on anyway
<zenspider> there's a reason why I added benchmark testing to minitest. this is it.
jsullivandigs has quit [Ping timeout: 264 seconds]
rshetty has quit [Quit: Sleeping]
elia has quit [Ping timeout: 240 seconds]
FastJack has quit [Ping timeout: 245 seconds]
rshetty has joined #ruby-lang
majjoha has joined #ruby-lang
rshetty has quit [Client Quit]
majjoha has quit [Ping timeout: 256 seconds]
richardburton has joined #ruby-lang
ruby-lang018 has joined #ruby-lang
hogeo_ has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
byteminister has joined #ruby-lang
jmeeuwen_ has joined #ruby-lang
s0ber_ has joined #ruby-lang
mahlon_ has joined #ruby-lang
FlyingLeap_ has joined #ruby-lang
<byteminister> hi
<byteminister> How do you get constant name in ruby ?
<byteminister> Lets say I have a constant BAR = 10 in some module
joast has joined #ruby-lang
<byteminister> How do I get a string "BAR" ?
tanema has joined #ruby-lang
joast has quit [Client Quit]
chris2_ has joined #ruby-lang
amerine_ has joined #ruby-lang
flori_ has joined #ruby-lang
ammar_ has joined #ruby-lang
<Voker57> what do you need that string for?
pabs_ has joined #ruby-lang
<banisterfiend> byteminister: its in Module#constants
<byteminister> I need to create an array of those strings , so I can use it in dropdown ..
<byteminister> Module#constants just gives you the array of constants back
richardburton has quit [Ping timeout: 256 seconds]
<zenspider> no, it gives you the names of the constants
Mon_Ouie has quit [Read error: Connection reset by peer]
<byteminister> aaaah :D right, it gives you arrays of symbols
<byteminister> Thank you very much, I forgot this one :)
<byteminister> I need MyModule.constants(false)
joast has joined #ruby-lang
<byteminister> banister, zenspider thanks for helping
tkuchiki has joined #ruby-lang
hogeo has quit [*.net *.split]
retro|cz has quit [*.net *.split]
s0ber has quit [*.net *.split]
loincloth has quit [*.net *.split]
amerine has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
wudofyr has quit [*.net *.split]
jaimef has quit [*.net *.split]
pabs has quit [*.net *.split]
FlyingLeap has quit [*.net *.split]
llakey has quit [*.net *.split]
mahlon has quit [*.net *.split]
nikky has quit [*.net *.split]
go|dfish has quit [*.net *.split]
ohsix has quit [*.net *.split]
tpope has quit [*.net *.split]
chris2 has quit [*.net *.split]
ammar has quit [*.net *.split]
blowmage has quit [*.net *.split]
dominikh has quit [*.net *.split]
flori has quit [*.net *.split]
jroesch has quit [*.net *.split]
blowmage` has joined #ruby-lang
jmeeuwen_ is now known as jmeeuwen
s0ber_ is now known as s0ber
ohsix has joined #ruby-lang
llakey has joined #ruby-lang
jaimef has joined #ruby-lang
tpope has joined #ruby-lang
tkuchiki has quit [Ping timeout: 264 seconds]
retro|cz has joined #ruby-lang
jroesch has joined #ruby-lang
nikky has joined #ruby-lang
go|dfish has joined #ruby-lang
loincloth has joined #ruby-lang
wudofyr has joined #ruby-lang
go|dfish has quit [Max SendQ exceeded]
dominikh has joined #ruby-lang
go|dfish has joined #ruby-lang
fallenhi1okiri is now known as fallenhitokiri
postmodern has quit [Quit: Leaving]
realDAB has joined #ruby-lang
warnabas has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby-lang
warnabas has joined #ruby-lang
<byteminister> I am having trouble with mixins
<byteminister> module def ; my_method ; end
warnabas_ has joined #ruby-lang
<byteminister> if i include MyModule I don't get a static method on that class
Domon has quit [Remote host closed the connection]
<banisterfiend> byteminister: what are you working on?
<byteminister> module MyModule; def module_m; ... end; end;
Domon has joined #ruby-lang
<byteminister> then I have a class where i include MyModule
<byteminister> I want that class to have the module methods
jonahR has joined #ruby-lang
<byteminister> MyClass.module_m
<byteminister> but it gives me the undefined method error when I try to call it on MyClass
warnabas has quit [Ping timeout: 264 seconds]
<byteminister> Oh, I think i figured it out
<byteminister> i need to override the self.included(o) method on my module
<byteminister> and have another module in MyModule
barttenbrinke has joined #ruby-lang
<byteminister> then i can call o.extend(AnotherModlue) in the included
Domon has quit [Ping timeout: 245 seconds]
<byteminister> module NeoBridge; #some constants in here; def self.included(o); o.extend(ClassMethods); end; module ClassMethods ; #some class methods in here ; end ; end
<byteminister> this should do the trick I think
MaddinXx_ has joined #ruby-lang
<realDAB> byteminister: or just extend MyClass with MyModule, if MyModule consists of methods you want on that class object
<byteminister> yes, realDAB, maybe I'm overcomplicating things
cchaudier has joined #ruby-lang
c_chaudier has joined #ruby-lang
cchaudier has quit [Client Quit]
banisterfiend has quit [Remote host closed the connection]
ruby-lang018 has quit [Quit: Page closed]
ledestin has quit [Quit: ledestin]
jmeeuwen has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
cchaudier has joined #ruby-lang
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
c_chaudier has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
barttenbrinke has quit [Ping timeout: 246 seconds]
majjoha has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
majjoha has quit [Ping timeout: 246 seconds]
ffio has joined #ruby-lang
jmeeuwen has joined #ruby-lang
x0f has quit [Ping timeout: 240 seconds]
rshetty has joined #ruby-lang
x0f has joined #ruby-lang
minivan has quit [Ping timeout: 246 seconds]
x0f has quit [Ping timeout: 245 seconds]
x0f has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
realDAB has quit [Quit: realDAB]
barttenbrinke has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
hashkey has quit [Ping timeout: 240 seconds]
hashkey has joined #ruby-lang
arBmind1 has joined #ruby-lang
cored has joined #ruby-lang
arBmind has quit [Ping timeout: 245 seconds]
chris2_ is now known as chris2
hashkey_ has joined #ruby-lang
tmi has joined #ruby-lang
hashkey has quit [Killed (adams.freenode.net (Nickname regained by services))]
hashkey_ is now known as hashkey
mytrile has joined #ruby-lang
jp- has quit [Ping timeout: 240 seconds]
realDAB has joined #ruby-lang
realDAB has quit [Client Quit]
richardburton has joined #ruby-lang
wmoxam has quit [Ping timeout: 256 seconds]
nignaztic has joined #ruby-lang
nazty has quit [Ping timeout: 245 seconds]
<yorickpeterse> herro
<yorickpeterse> I had long meetings today. Time to write some actual code
richardburton has quit [Ping timeout: 256 seconds]
matematikaadit has joined #ruby-lang
jxie has quit [Quit: leaving]
barttenbrinke has joined #ruby-lang
<byteminister> Meetings are great, but no real work is done on meetings
<Dernise> Well I would like to talk about something here today.
<Dernise> Sort of meeting
<Dernise> The subject is : threads. What are they usefull for ?
<yorickpeterse> For running multiple things at the same time
<yorickpeterse> Within one process
<Dernise> Threads can be usefull to speed our programs.
rails_smith has quit [Quit: Leaving.]
<byteminister> They are not useful if you are using ruby ..lol ;)
<Dernise> Yes. But can we use threads in ruby MRI ?
<yorickpeterse> s/ruby/MRI
wallerdev has joined #ruby-lang
<byteminister> yes you can
<Dernise> So why are they useless if I develop in ruby ?
<yorickpeterse> They're not
<yorickpeterse> MRI has this thing called a GIL (Global Interpreter Lock), which prevents more than one thread running at any given time
<byteminister> They are not useless, but we still have GIL
<yorickpeterse> Jruby and Rubinius have no such thing, thus they can have many threads running at the same time
<Dernise> So what are threads usefull for in ruby MRI if we cannot do multiple things at a time?
<yorickpeterse> e.g. in a queue processing setup this means that you can do N things with a single process at a given time instead of only 1
<yorickpeterse> Dernise: you can still get a pretty big boost when dealing with blocking IO
<dbussink> Dernise: the lock is around ruby code, so IO generate can be parallelized pretty well
<yorickpeterse> Because MRI *is* capable of pausing that while doing something else (until the waiting has completed)
joshuawscott has joined #ruby-lang
jvrmaia has joined #ruby-lang
<Dernise> Ruby MRI is using 2 threads. What is the second thread used for ?
<byteminister> To be a bit nitpicker here, nothing runs "at the same time" on a single cpu :)
barttenbrinke has quit [Ping timeout: 256 seconds]
<yorickpeterse> a lot of platforms these days have multiple cores
<Dernise> And if I run two actions at the same time on a single cpu, will it crash?
<yorickpeterse> No
<yorickpeterse> On a low level it will schedule them to be processed in sequential order
<yorickpeterse> A CPU is basically just a factory belt where it takes something it has to do, does it, and puts it back
<yorickpeterse> It however does that really, really fast
<yorickpeterse> If you have multiple workers (= cores/cpus) you can do multiple things at once
<byteminister> yepp, it does it so fast that is seems like it's running all this things at once
<yorickpeterse> If not, the belt will be paused until the work is done
julweber has joined #ruby-lang
breakingthings has joined #ruby-lang
cchaudier has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
anonymuse has joined #ruby-lang
barttenbrinke has joined #ruby-lang
<byteminister> but in ruby, I would advise to stop thinking in threads, but in processes. What can each process do for you. For instance lets say you are reading a file in one process, then this process sends the message to another processs and looks if the word is in dictonary..
<Dernise> I get it now
<byteminister> lookup on messaging and queues
<byteminister> rabbitMQ is one solution, there are others
<Dernise> So forking might be the best solution..
tmi has quit [Quit: tmi]
<byteminister> I think so
<byteminister> http://zeromq.org/
<yorickpeterse> byteminister: enjoy the waste of resources
<yorickpeterse> Ignoring the value of threading is extremely ignorant
joshuawscott has quit [Quit: Leaving.]
<yorickpeterse> Either way, for a beginner both concepts are difficult
<byteminister> I am not ignoring the value of threading
<byteminister> I am just not going to use a bunch of threads in ruby to solve a seemingly multithreaded tasks which are not
<byteminister> which *is not
<yorickpeterse> Instead you seem to suggest an approach that is far more complex: use a queue, multiple processes, etc
<yorickpeterse> either way, both have their place
<yorickpeterse> and often you can combine the two
<Dernise> I'm new to the ruby language. In java I used to put threads everywhere
<yorickpeterse> Dernise: don't :)
<yorickpeterse> You need concurrency when:
<yorickpeterse> 1. You're dealing with a lot of blocking IO (files, network, databases, etc)
<yorickpeterse> 2. You want to do things in parallel and it actually gives you a performance benefit
<byteminister> Even in java, puting threads all over the place is dangerous.
<yorickpeterse> For a beginner I'd just avoid both concurrency models
julweber has quit [Remote host closed the connection]
tomzx_mac has joined #ruby-lang
<byteminister> Well, I wouldn't advise to avoid it, play around with it. Just don't use it in production :)
<byteminister> ;)
jp- has joined #ruby-lang
<Dernise> Well I'm talking about that because I read to read every new lines in an popen3's stdout without blocking my main process/main thread
<byteminister> Dernise: If you like to play around with parallel computing I would advise you to check out programming language called clojure
<Dernise> I hesitate between threads and spawning a new process.
<Dernise> I'd like but I'm forced to use ruby ^^
barttenbrinke has quit [Remote host closed the connection]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<byteminister> Ruby is still cool language to master.
<yorickpeterse> Dernise: can the main thread continue its job while waiting for the thread to finish?
barttenbrinke has joined #ruby-lang
<yorickpeterse> If not then there's no point in threading it as you'd have to wait for it anyway
<byteminister> exactly
<byteminister> messaging and state machines..those things are not complex at all
<Dernise> Well the main thread must continue its job.
<byteminister> but predicting what each thread will do to the internal state of your objects, that is a hell
<Dernise> The thread (that i'll call reader) will never finish.
julweber has joined #ruby-lang
jonahR has quit [Quit: jonahR]
barttenbrinke has quit [Ping timeout: 256 seconds]
<Dernise> So..
<Dernise> Should I use forking or new proces ?
<Dernise> threads*
bradland has quit [Quit: bradland]
<yorickpeterse> Forking would only complicate things since they don't share memory, so you have to pass things around
<yorickpeterse> Sharing some code snippets might make things easier, you might not need either one of the two
majjoha has joined #ruby-lang
tonni has quit [Remote host closed the connection]
scampbell has joined #ruby-lang
hashkey_ has joined #ruby-lang
hashkey_ has quit [Remote host closed the connection]
hashkey_ has joined #ruby-lang
<byteminister> what exactly do you want to accomplish ? I can write you example code if you want
hashkey is now known as Guest41716
Guest41716 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
hashkey_ is now known as hashkey
tanema has quit [Remote host closed the connection]
<byteminister> later today, I'm currently busy
arooni-mobile has joined #ruby-lang
<byteminister> give me an email so I can send you a link to gist
<Dernise> Well. I'll commit and you will understand.
hogeo has joined #ruby-lang
richardburton has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
<Dernise> (Function daemonize, it's not a daemon, i'll change the name of this function)
banisterfiend has joined #ruby-lang
hogeo_ has quit [Ping timeout: 264 seconds]
<Dernise> See popen3 ? I want to send every new lines over TCP to a server.
<Dernise> Line 8
arooni-mobile__ has joined #ruby-lang
shinnya has joined #ruby-lang
richardburton has quit [Ping timeout: 264 seconds]
julweber_ has joined #ruby-lang
hogeo has quit [Ping timeout: 256 seconds]
joshuawscott has joined #ruby-lang
julweber has quit [Ping timeout: 246 seconds]
JohnBat26|2 has quit [Ping timeout: 246 seconds]
<Dernise> byteminister: Tell me when you're not busy anymore.
jroes has left #ruby-lang [#ruby-lang]
tonni has joined #ruby-lang
FastJack has joined #ruby-lang
ssb123 has joined #ruby-lang
archer_ has joined #ruby-lang
archer_ is now known as Guest60457
rshetty has quit [Quit: Sleeping]
barttenbrinke has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
ffio has joined #ruby-lang
matematikaadit has quit [Quit: used jmIrc]
julweber_ has quit [Remote host closed the connection]
barttenbrinke has quit [Ping timeout: 256 seconds]
tanema has joined #ruby-lang
itcharlie has joined #ruby-lang
w00x has joined #ruby-lang
vlad_starkov has joined #ruby-lang
minivan has joined #ruby-lang
Dernise has quit [Ping timeout: 246 seconds]
Guest60457 has quit [Remote host closed the connection]
kuja has quit [Quit: ZNC - http://znc.sourceforge.net]
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
kuja has joined #ruby-lang
Dernise has joined #ruby-lang
julweber has joined #ruby-lang
JohnBat26|2 has joined #ruby-lang
lele|w has joined #ruby-lang
wmoxam has joined #ruby-lang
minivan has quit [Ping timeout: 246 seconds]
julweber has quit [Ping timeout: 245 seconds]
majjoha has quit [Ping timeout: 256 seconds]
tomzx_mac has quit [Ping timeout: 245 seconds]
julweber has joined #ruby-lang
sascha_d has joined #ruby-lang
majjoha has joined #ruby-lang
MrPoT4tO has joined #ruby-lang
pipework has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
richardburton has joined #ruby-lang
nathanstitt has joined #ruby-lang
julweber has quit [Remote host closed the connection]
richardburton has quit [Ping timeout: 268 seconds]
nneko001__ has quit [Quit: Konversation terminated!]
sjltaylor has joined #ruby-lang
MrPoT4tO has quit [Read error: Connection reset by peer]
hopheady has joined #ruby-lang
diegoviola has joined #ruby-lang
kurko_ has joined #ruby-lang
x0f has quit [Ping timeout: 248 seconds]
ssb123 has quit [Remote host closed the connection]
Uranio has joined #ruby-lang
x0f has joined #ruby-lang
tonni has quit [Remote host closed the connection]
hashkey_ has joined #ruby-lang
thepumpkin has joined #ruby-lang
hashkey is now known as Guest32459
Guest32459 has quit [Killed (cameron.freenode.net (Nickname regained by services))]
hashkey_ is now known as hashkey
jxie has joined #ruby-lang
hashkey is now known as Guest32701
Guest32701 has quit [Client Quit]
hashkey_ has joined #ruby-lang
hashkey_ is now known as hashkey
killthe|afk is now known as killtheliterate
x0f has quit [Ping timeout: 268 seconds]
relix has joined #ruby-lang
kleech has joined #ruby-lang
x0f has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
mistym has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
thebastl_ has joined #ruby-lang
thebastl_ has quit [Read error: Connection reset by peer]
thepumpkin has joined #ruby-lang
thebastl_ has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
thebastl has quit [Ping timeout: 240 seconds]
x0f has joined #ruby-lang
tonni has joined #ruby-lang
byteminister has quit [Quit: Leaving]
ssb123 has joined #ruby-lang
alex3 has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 246 seconds]
arooni-mobile__ has quit [Ping timeout: 264 seconds]
richardburton has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 245 seconds]
perfectayush has joined #ruby-lang
richardburton has quit [Ping timeout: 256 seconds]
minivan has joined #ruby-lang
alekst has joined #ruby-lang
x0f has quit [Ping timeout: 276 seconds]
rippa has joined #ruby-lang
x0f has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
elia has joined #ruby-lang
barttenbrinke has joined #ruby-lang
richardburton has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
fedesilva has joined #ruby-lang
minivan has quit [Ping timeout: 264 seconds]
rohjain has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
Emmy has quit [Quit: ZNC - http://znc.in]
<Dernise> can I reopen STDIN in an IO pipe?
minivan has joined #ruby-lang
Emmy has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby-lang
<joonty> Dernise: yes, you can reopen an io with any other io
<joonty> but for STDIN it needs to be writable
<apeiros> Dernise: "good practice" is to reassign $stdin, not to change STDIN
<joonty> good point
mbj has joined #ruby-lang
<Dernise> Ok !
elia has quit [Ping timeout: 245 seconds]
solars has quit [Ping timeout: 248 seconds]
tkuchiki has quit [Ping timeout: 256 seconds]
pumper has joined #ruby-lang
<rohjain> Hi, I'm using ruby net::HTTP library to download some binary files every 5 seconds. But the issue is that sometimes the file doesn't download completely. The response is 200 OK. The issue comes up randomly and for any random file. Once in a week. Does anyone have any suggestions? What might be the issue?
<joonty> rohjain: could it be the server closing the connection and incorrectly returning 200?
rippa has quit [Read error: Connection reset by peer]
ryez has joined #ruby-lang
<rohjain> joonty: I ave my doubts. But there is a very very small probability of that happening
<rohjain> The server is using a very well known cdn
diegoviola has quit [Quit: WeeChat 0.4.1]
kleech has quit [Remote host closed the connection]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
jwoods has joined #ruby-lang
toretore has joined #ruby-lang
pothibo has joined #ruby-lang
jvrmaia has quit [Quit: Leaving]
saarinen has joined #ruby-lang
majjoha has quit [Ping timeout: 264 seconds]
krohrbaugh has joined #ruby-lang
jstemmer has joined #ruby-lang
mistym has quit [Remote host closed the connection]
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
Pupeno_ has joined #ruby-lang
majjoha has joined #ruby-lang
Pupeno_ has quit [Remote host closed the connection]
Pupeno_ has joined #ruby-lang
Pupeno has quit [Read error: Connection reset by peer]
__butch__ has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<ljarvis> zzak: are you doing eurocamp?
mistym has joined #ruby-lang
<ljarvis> euru
waxjar has quit [Ping timeout: 260 seconds]
pothibo has quit [Quit: pothibo]
waxjar has joined #ruby-lang
saarinen has quit [Quit: saarinen]
rohjain has quit [Quit: Page closed]
efrainolivares has joined #ruby-lang
jsullivandigs has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
VTLob has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
banister has joined #ruby-lang
VTLob has quit [Quit: VTLob]
jsullivandigs has quit [Ping timeout: 264 seconds]
VTLob has joined #ruby-lang
VTLob has quit [Client Quit]
RickHull1 has joined #ruby-lang
VTLob has joined #ruby-lang
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gja has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
hahuang61 has quit [Ping timeout: 264 seconds]
JohnBat26|2 has quit [Ping timeout: 246 seconds]
wlbentley has joined #ruby-lang
thebastl_ has quit [Read error: Operation timed out]
bougyman has quit [Ping timeout: 240 seconds]
gja has quit [Client Quit]
ldnunes has joined #ruby-lang
rippa has joined #ruby-lang
bougyman has joined #ruby-lang
bougyman has joined #ruby-lang
bougyman has quit [Changing host]
wlbentley has quit [Quit: wlbentley]
gja has joined #ruby-lang
relix has joined #ruby-lang
iliketurtles has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has quit [Changing host]
sstrickl has joined #ruby-lang
havenwood has joined #ruby-lang
jsullivandigs has joined #ruby-lang
clov3r has joined #ruby-lang
efrainolivares has quit [Quit: efrainolivares]
clov3r has quit [Remote host closed the connection]
<zzak> hi
<zzak> no i dont think so
efrainolivares has joined #ruby-lang
solars has joined #ruby-lang
alekst has quit [Quit: Computer has gone to sleep.]
<zzak> im already speaking at 4, and submitted to 2 more last night, which brings it to 4 more waiting on cfp accepts
<ljarvis> :D
<zzak> when i stay up late and drink sake all night i submit crazy talks to all sorts of confs
<ljarvis> \o/
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
apeiros has quit [Remote host closed the connection]
roadt_ is now known as roadt
hahuang61 has joined #ruby-lang
hahuang65 has joined #ruby-lang
mrsolo has joined #ruby-lang
agile has joined #ruby-lang
hahuang65 has quit [Client Quit]
maxmanders has quit [Quit: Computer has gone to sleep.]
w00x has quit [Ping timeout: 268 seconds]
dwknoxy has joined #ruby-lang
jmeeuwen has quit [Ping timeout: 245 seconds]
Senjai has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
towski has joined #ruby-lang
ryez has quit [Quit: Page closed]
agile has quit [Remote host closed the connection]
cored has quit [Ping timeout: 248 seconds]
tylersmith has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
jsullivandigs has joined #ruby-lang
agile has joined #ruby-lang
madumo has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 264 seconds]
matthewd has quit [Ping timeout: 245 seconds]
towski has quit [Remote host closed the connection]
majjoha has quit [Ping timeout: 256 seconds]
konpyu has quit [Remote host closed the connection]
konpyu has joined #ruby-lang
jmeeuwen has joined #ruby-lang
majjoha has joined #ruby-lang
konpyu has quit [Ping timeout: 256 seconds]
Mon_Ouie has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
hhatch has quit [Ping timeout: 246 seconds]
krohrbaugh has quit [Quit: Leaving.]
havenwood has joined #ruby-lang
apeiros has joined #ruby-lang
w00x has joined #ruby-lang
<Dernise> hi
krohrbaugh has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
io_syl has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<mistym> Hi, Dernise
sirfilip has joined #ruby-lang
<sirfilip> morning campers
jsullivandigs has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
jxpx777 has joined #ruby-lang
arooni-mobile has joined #ruby-lang
towski has joined #ruby-lang
tbuehlmann has joined #ruby-lang
jxpx777 has quit [Client Quit]
adambeynon has joined #ruby-lang
jxpx777 has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
ffio_ has joined #ruby-lang
ffio has quit [Ping timeout: 264 seconds]
benanne has joined #ruby-lang
maxmanders has joined #ruby-lang
tdm00 has joined #ruby-lang
tdm00 has quit [Client Quit]
cads has joined #ruby-lang
towski has quit [Remote host closed the connection]
cored has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<yorickpeterse> aww yiss, Vim 7.4
maxmanders has quit [Quit: Computer has gone to sleep.]
McSoFake has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
kuja has quit [Quit: ZNC - http://znc.sourceforge.net]
__butch__ has quit [Quit: Leaving.]
kuja has joined #ruby-lang
arooni-mobile__ has quit [Ping timeout: 268 seconds]
arooni-mobile has quit [Ping timeout: 245 seconds]
fedesilva has quit [Remote host closed the connection]
jonahR has joined #ruby-lang
thebastl has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
Uranio has quit [Quit: while you reading this, a kitty dies]
vlad_starkov has joined #ruby-lang
<ljarvis> yisss
efrainolivares has quit [Quit: efrainolivares]
hopheady has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
perfectayush has quit [Ping timeout: 245 seconds]
Pupeno_ has quit [Ping timeout: 245 seconds]
mbj has quit [Quit: leaving]
fenicks has joined #ruby-lang
workmad3 has joined #ruby-lang
Austin__ has joined #ruby-lang
itcharlie has left #ruby-lang [#ruby-lang]
efrainolivares has joined #ruby-lang
sirfilip has quit [Quit: Leaving]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
glebm has joined #ruby-lang
mbj has joined #ruby-lang
fedesilva has joined #ruby-lang
ffio_ has quit [Quit: WeeChat 0.4.1]
fedesilv_ has joined #ruby-lang
fedesilva has quit [Read error: Connection reset by peer]
richardburton has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby-lang
efrainolivares has quit [Quit: efrainolivares]
__butch__ has joined #ruby-lang
saarinen has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
zmike1234 has quit [Quit: ~]
richardburton has quit [Quit: Leaving.]
warnabas_ has quit [Read error: Connection reset by peer]
warnabas has joined #ruby-lang
arBmind has joined #ruby-lang
<yorickpeterse> GAHHH, I fucking hate Postgres ident authentication
<yorickpeterse> of course the system user -> DB user mapping doesn't actually work
saarinen has quit [Quit: saarinen]
warnabas has quit [Ping timeout: 248 seconds]
Senjai has quit [Ping timeout: 276 seconds]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
blowmage` has left #ruby-lang [#ruby-lang]
blowmage has joined #ruby-lang
ruby-lang949 has joined #ruby-lang
ruby-lang949 has quit [Client Quit]
Austin__ has left #ruby-lang [#ruby-lang]
anonymuse has quit [Remote host closed the connection]
ldnunes has quit [Read error: Connection reset by peer]
majjoha has quit [Ping timeout: 279 seconds]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
anonymuse has joined #ruby-lang
richardburton has joined #ruby-lang
Pupeno has quit [Ping timeout: 245 seconds]
maxmanders has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
jsullivandigs has quit [Remote host closed the connection]
krohrbaugh1 has joined #ruby-lang
tylersmith has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
jsullivandigs has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 245 seconds]
jsullivandigs has quit [Ping timeout: 256 seconds]
hhatch has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
Voker57 has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
breakingthings has quit [Quit: breakingthings]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 245 seconds]
efrainolivares has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
richardburton has quit [Quit: Leaving.]
fedesilva has joined #ruby-lang
richardburton has joined #ruby-lang
<Dernise> the day went too fast.
fedesilv_ has quit [Ping timeout: 256 seconds]
<apeiros> it always does that
<apeiros> except if you're waiting to be rescued.
<Dernise> Or just waiting something
krohrbaugh1 has quit [Quit: Leaving.]
rickruby has quit [Remote host closed the connection]
efrainolivares has quit [Quit: efrainolivares]
maxmanders has quit [Quit: Computer has gone to sleep.]
mistym has quit [Quit: Leaving]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
efrainolivares has joined #ruby-lang
postmodern has joined #ruby-lang
mbj has quit [Ping timeout: 246 seconds]
krohrbaugh has joined #ruby-lang
<yorickpeterse> End verdict of the evening: I'm not going to run Stringer in $PROD
<yorickpeterse> because fuck running unstable, uncontrolled and unversioned (= release versioning) code in $PROD
<yorickpeterse> now I just need an alternative
<yorickpeterse> besides https://kouio.com/, which looks ok-ish (trying it) but is super new
<erikh> I'm happy for you. I care because you do.
e-dard has left #ruby-lang [#ruby-lang]
<yorickpeterse> heh
<yorickpeterse> Somewhere I taste sarcasm
sstrickl has joined #ruby-lang
breakingthings has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
Nisstyre-laptop is now known as nisstyre
krohrbaugh has quit [Quit: Leaving.]
<erikh> it's the water
mbj has joined #ruby-lang
krohrbaugh has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<yorickpeterse> Hm, true hackers option would be to set up an IRC bot and feed it stuff
<Dernise> is there a way to pause a thread when its blocked ?
<erikh> threads automatically hand off when i/o is blocked
<erikh> rb_thread_select() and rb_thread_blocking_region() in MRI
<Dernise> https://gist.github.com/dernise/b00bb2e0f2520e9bdc8d look at this, the hello world isn't displayed until I put something in the fifo
<Dernise> How can I get rid of this ? :/
<erikh> oh, join the thread
<erikh> or put something in it
saarinen has joined #ruby-lang
Dernise has quit [Quit: Leaving]
<erikh> not sure waht you're asking for. the thread won't block.
<erikh> well,t he thread will, but the program won't.
Dernise has joined #ruby-lang
<Dernise> Sorry, X-Chat aqua crashed.
<Dernise> Well even if I join the thread, the code is stuck on line 4 I guess
<erikh> the thread is, yes
<erikh> oh, gets
<erikh> derp
<erikh> gets doesn't block
<Dernise> Well gets block if the pipe is empty :(
<erikh> oh I guess it does.
<erikh> I must be high
<erikh> oh well back to work
McSoFake has left #ruby-lang ["Leaving"]
rickruby has joined #ruby-lang
maxmanders has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
rickruby has quit [Ping timeout: 264 seconds]
<Dernise> A workaround to my problem : Timeout..
<Dernise> I find this hacky D:
tanema has quit [Remote host closed the connection]
khaase_ has quit [Ping timeout: 246 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
richardburton has left #ruby-lang [#ruby-lang]
tylersmith has joined #ruby-lang
breakingthings has quit [Quit: breakingthings]
darix has quit [Ping timeout: 246 seconds]
<Dernise> Found something on a forum written in 2003 which citate this channel.
<Dernise> Solved my problem.
darix has joined #ruby-lang
darix has joined #ruby-lang
<Dernise> STDIN.reopen 'mypipe', 'r+'
khaase_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
maxmanders has quit [Quit: Computer has gone to sleep.]
MaddinXx_ has quit [Remote host closed the connection]
<gnufied> drbrain: Evan's iterative resolver got merged into rubygems?
<gnufied> or does History.txt refers to some other resolver?
<drbrain> gnufied: yes, it got merged for 2.0 but is only used for activating gems
<drbrain> for 2.1 it will be used for installing gems
<gnufied> I am confused, rubygems has a branch called iterative_resolver, Evan pointed me to that one last time I asked him
<gnufied> But that branch's commits aren't merged into rubygems master as far as I can tell
<drbrain> hrm
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
<gnufied> where last time is just couple of weeks back
<drbrain> oh, iterative
<drbrain> I guess those should be merged
<drbrain> we'll do it in 2.2
<gnufied> okay.
tommyblue has quit [Ping timeout: 246 seconds]
khaase_ has quit [Ping timeout: 246 seconds]
wmoxam has quit [Ping timeout: 276 seconds]
loincloth has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
Austin__ has joined #ruby-lang
tommyblue has joined #ruby-lang
bmarx1 has joined #ruby-lang
minivan has quit [Ping timeout: 256 seconds]
rickruby has joined #ruby-lang
ItSANgo___ has quit [Quit: Leaving...]
khaase_ has joined #ruby-lang
rickruby has quit [Ping timeout: 256 seconds]
archer_ has joined #ruby-lang
archer_ is now known as Guest65584
bmarx1 has left #ruby-lang [#ruby-lang]
neg_01 has joined #ruby-lang
bmarx has joined #ruby-lang
facerip has joined #ruby-lang
<facerip> i have an app that requires a user to log in at the cli with argv0 and 1. I want to be able to prompt commands within the app cli, how would i do that?
bmarx has quit [Quit: bmarx]
<erikh> check out the highline gem
<drbrain> ↑ highline is popular
<facerip> okies
maxmanders has joined #ruby-lang
<facerip> ty
Austin__ has left #ruby-lang [#ruby-lang]
s0ber has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby-lang
s0ber has joined #ruby-lang
tanema has joined #ruby-lang
ItSANgo has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
solars has quit [Ping timeout: 245 seconds]
richardburton has joined #ruby-lang
w00x has quit [Ping timeout: 256 seconds]
Guest65584 has quit [Remote host closed the connection]
jvrmaia has quit [Quit: Leaving]
yfeldblum has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
efrainolivares has quit [Quit: efrainolivares]
efrainolivares has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
RickHull1 has quit [Quit: Leaving.]
efrainolivares has quit [Quit: efrainolivares]
apeiros has quit [Remote host closed the connection]
_whitelogger has joined #ruby-lang
jinie has joined #ruby-lang
lele has quit [Ping timeout: 246 seconds]
wmoxam has joined #ruby-lang
krohrbaugh has joined #ruby-lang
ilyam has quit [Remote host closed the connection]
ilyam has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 264 seconds]
lele has joined #ruby-lang
julweber has joined #ruby-lang
khaase_ has joined #ruby-lang
alex3 has quit [Quit: Leaving.]
saarinen has quit [Quit: saarinen]
sascha_d has quit [Quit: bai]
sascha_d has joined #ruby-lang
codelurker has joined #ruby-lang
hhatch has quit [Ping timeout: 245 seconds]
sjltaylor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kstuart has quit [Quit: kstuart]
kstuart has joined #ruby-lang
tylersmith has quit [Ping timeout: 268 seconds]
Forgetful_Lion has joined #ruby-lang
tylersmith has joined #ruby-lang
realDAB has joined #ruby-lang
julweber has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
codelurker has quit [Quit: Leaving]
JoshuaPaling has joined #ruby-lang
kirin` has quit [Ping timeout: 256 seconds]
relix has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
tylersmith has joined #ruby-lang
kirin` has joined #ruby-lang
rwilcox has joined #ruby-lang
amerine_ has quit [Ping timeout: 248 seconds]
realDAB has quit [Quit: realDAB]
amerine has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
tylersmith has quit [Ping timeout: 264 seconds]
rickruby has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby-lang
rickruby has quit [Ping timeout: 256 seconds]
<zenspider> http://www.youtube.com/watch?v=V44kscaJe3M ABE STANWAY: Zen and the Art of Writing Commit Log
sascha_d has quit [Quit: obai]
sascha_d has joined #ruby-lang
sascha_d has quit [Client Quit]
<zenspider> this is brilliant
kstuart has quit [Quit: kstuart]
vlad_starkov has quit [Ping timeout: 268 seconds]
kstuart has joined #ruby-lang
kstuart has quit [Client Quit]
Senjai has quit [Ping timeout: 245 seconds]
sascha_d has joined #ruby-lang
<zenspider> sascha_d: auditing what?
pipework has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
<erikh> she bailed i think
<erikh> oh, no, she's back
<sascha_d> I'm here
<erikh> hello!
<sascha_d> Did I accidentally say something about auditing in here?
kstuart has joined #ruby-lang
<sascha_d> I have a profusion of keyboards on my desk right now and have been accidentally typing on the wrong one all day
kstuart has quit [Remote host closed the connection]
<mistym> Ha, I know the feeling
benanne has quit [Quit: kbai]
<erikh> no I did not see anything
<mistym> My desk has become kind of a Mac mausoleum. I'm temporarily up to three
<erikh> this seems really familiar
glebm has quit [Ping timeout: 256 seconds]
<sascha_d> yeah I've got two bt keyboards for mac and my windows keyboard
<sascha_d> one kb is in front of the windows one and I keep typing on this instead of the windows one
<zenspider> sascha_d: auditing wrt your tweet about it. I have a search list for minitest
<sascha_d> and I'm cranky b/c I can't figure out how to get my dell monitor to display 2560res, the monitor came with a cd but the only place I have to use a CD is on my windows desktop but I installed windows 8 yesterday and now my cdrom isn't detected
<sascha_d> fml
kstuart has joined #ruby-lang
kstuart has quit [Client Quit]
<zenspider> huh. apparently I swear only once every 261 commits. :(
<sascha_d> in regard to my tweet :) We are writing some specs and want to also run an audit at the end of the chef run to report on the state of the specs
<sascha_d> but we don't want to fail the run if there's a problem with the spec, just warn
glebm has joined #ruby-lang
kstuart has joined #ruby-lang
<sascha_d> and why is it so hard to figure out what adapter I need to run from my mbp to my dell 2713 to get 2560 res?
<zenspider> sascha_d: in minitest 5 you can just create a new reporter and override #passed?
<sascha_d> One of the others was looking at code this afternoon and he was thinking it would be pretty simple
<sascha_d> I haven't looked yet - spent the day fighting with vagrant-aws and red hat
<erikh> mmm
<zenspider> sascha_d: it should be a 5-10 line change, total
<sascha_d> xlnt!
<sascha_d> thanks
<sascha_d> oof, I did neglect to say we are using the minitest-chef-handler cookbook
<zenspider> StatisticsReporter#passed?
<sascha_d> which is our base of operations
<sascha_d> I've just written a couple tests so far. We just discussed this afternoon the idea of an audit function
<zenspider> subclass, override to always return true, delete default reporters, add yours
mrsolo has quit [Quit: Leaving]
<zenspider> do the latter two only if an ENV is set, so you can use it both ways
havenwood has joined #ruby-lang
<zenspider> you can prolly go a step further and throw out the subclass in favor of just redefining passed? on the default reporter if the ENV is set
<sascha_d> I will pass this on
<sascha_d> thanks @zenspider
dwknoxy has quit [Quit: Computer has gone to sleep.]
glebm has quit [Ping timeout: 245 seconds]
kirin` has quit [Ping timeout: 264 seconds]
cads2 has joined #ruby-lang
<zenspider> echo $(($(p4 counter change) / $(egrep -ic "\\b(suck|fuck|shit|suck|ass\\b|dick|cunt)" allchanges.txt))) => 95
kirin` has joined #ruby-lang
<zenspider> that's better!
efrainolivares has quit [Quit: efrainolivares]
<zenspider> sascha_d: n/p
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Read error: Connection reset by peer]
efrainolivares has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
fedesilva has quit [Ping timeout: 246 seconds]
cads has quit [Ping timeout: 245 seconds]
glebm has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 264 seconds]
tomzx_mac has joined #ruby-lang
kurko_ has joined #ruby-lang
__butch__ has quit [Remote host closed the connection]
elia has joined #ruby-lang
fedesilva has joined #ruby-lang
marr has quit [Ping timeout: 245 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
glebm has quit [Ping timeout: 245 seconds]
kstuart has quit [Remote host closed the connection]
kstuart has joined #ruby-lang
glebm has joined #ruby-lang
wmoxam has quit [Ping timeout: 246 seconds]
jp- has joined #ruby-lang
toretore has quit [Quit: Leaving]
jxpx777_ has joined #ruby-lang
jxpx777 has quit [Read error: Connection reset by peer]