havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
<eam> perl6 -e'sub postfix:<:^)> { "$^a has the best operators" }; say "perl6".:^)'
mistermocha has quit [Ping timeout: 244 seconds]
<Ox0dea> s/the best/all the/
mr_oh has quit [Ping timeout: 250 seconds]
fumihiro has quit [Ping timeout: 248 seconds]
ekinmur has joined #ruby
ekinmur has quit [Client Quit]
karioleez has joined #ruby
davedev24 has joined #ruby
dn` has quit [Read error: Connection reset by peer]
stardiviner has joined #ruby
<eam> and those are just the stock ones
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> perl6 -e'sub infix:<¯\(°_o)/¯> { ($^a, $^b).pick }; say "coke" ¯\(°_o)/¯ "pepsi"'
<eam> these are all well considered, reasonable language features
_stu_ has quit [Quit: _stu_]
karioleez has quit [Ping timeout: 250 seconds]
rkazak has joined #ruby
alnewkirk has quit [Remote host closed the connection]
ta_ has joined #ruby
barajasfab has quit [Ping timeout: 244 seconds]
mojca has joined #ruby
griffindy has joined #ruby
duckpuppy has joined #ruby
Lomex has joined #ruby
chipotle has quit [Quit: cheerio]
<goglosh> eam looks like legit perl
slackbotgz has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
shmuli has quit [Remote host closed the connection]
stannard has joined #ruby
<goglosh> hmmm there should be a language with unicode operators
<baweaver> you mean swift?
<goglosh> something that makes your source code look like a screencap from dwarf fortress
<goglosh> swift does that?
<goglosh> gee
<baweaver> It has emoticon support too
pu has quit [Ping timeout: 252 seconds]
duckpuppy has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
<goglosh> eam's was actually valid perl6
coffeecupp has joined #ruby
<goglosh> wow
mistermocha has joined #ruby
<baweaver> surprising no one.
znz_jp has joined #ruby
<shevy> he is the last person on #ruby to still know perl
marr has quit [Ping timeout: 276 seconds]
ta_ has quit [Ping timeout: 260 seconds]
karioleez has joined #ruby
<baweaver> I wouldn't put it past Ox0dea
Lomex has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
Wolland has joined #ruby
<eam> goglosh: that language would be perl6
<Ox0dea> But also Haskell.
<eam> any reasonable language, frankly
<Ox0dea> The inspiration behind Perl 6's adoption, if I'm not mistaken.
<Ox0dea> Being able to specify fixity and all that.
karioleez has quit [Ping timeout: 252 seconds]
coffeecupp has quit [Quit: Lingo: www.lingoirc.com]
Rickmasta has joined #ruby
<eam> Pugs
<Ox0dea> Right.
<goglosh> yeah I should get a job programming perl, I could be playing dwarffortress all day
<eljimmy> kinda offtopic, but for those of you that do contract/independent work, what hourly rate do you guys use? i guess location would matter too.
Inside has quit [Ping timeout: 252 seconds]
<eam> is this where I point out that perl5's parser is 1/10 the size of ruby's?
Socialdawg is now known as GG
sudoubuntu has joined #ruby
Tempesta has quit [Quit: See ya!]
<eam> <3 ruby, even if <3 can't be an operator here
paradisaeidae has joined #ruby
jgt3 has quit [Ping timeout: 276 seconds]
rubie has quit [Remote host closed the connection]
<goglosh> can >implying be an operator?
<baweaver> >> class Fixnum;def ♥(o) self+o end; end; 4.♥ 5
<ruby[bot]> baweaver: # => 9 (https://eval.in/548194)
<baweaver> not sure how to define an operator perse
FooMunki has quit [Quit: FooMunki]
karioleez has joined #ruby
<goglosh> >> "\n".to_sym
<ruby[bot]> goglosh: # => :"\n" (https://eval.in/548195)
<goglosh> symbols with quotation marks
<goglosh> as
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<goglosh> lemme find out how to dinamically define a function and make ruby look more like perl
toretore has joined #ruby
Musashi007 has joined #ruby
<baweaver> define_method
<Ox0dea> baweaver: Maybe some day: https://bugs.ruby-lang.org/issues/8437
<goglosh> baweaver: thanks
tjohnson has joined #ruby
Inside has joined #ruby
Inside has joined #ruby
Tempesta has joined #ruby
dfinninger has joined #ruby
karioleez has quit [Ping timeout: 244 seconds]
<goglosh> now how do i call it ;_;
shmuli has joined #ruby
<baweaver> >> define_method(:foo) do 5 end; foo
<ruby[bot]> baweaver: # => 5 (https://eval.in/548196)
gregf has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
<goglosh> yay
<goglosh> >> define_method(" ".to_sym) do p "hey" end; send " "
<ruby[bot]> goglosh: # => "hey" ...check link for more (https://eval.in/548198)
<goglosh> this is fun
stannard has quit [Remote host closed the connection]
slackbotgz has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
<Ox0dea> >> send define_method('') { send '' }
<ruby[bot]> Ox0dea: # => stack level too deep (SystemStackError) ...check link for more (https://eval.in/548199)
<Ox0dea> Well, shucks.
SenpaiSilver has quit [Quit: Leaving]
mistermocha has quit [Remote host closed the connection]
SenpaiSilver has joined #ruby
jottr has joined #ruby
jottr is now known as elementz
SenpaiSilver has quit [Client Quit]
<eam> >> mystery = methods.sample; send mystery, *Array.new(method(mystery).arity.abs) { ObjectSpace.each_object.to_a.sample }
<ruby[bot]> eam: # => class or module required (TypeError) ...check link for more (https://eval.in/548200)
karioleez has joined #ruby
<eam> no matter your ruby skill you cannot predict what that will do
<Ox0dea> Gimme the seed.
<eam> oh man, that'd be fantastic
<Ox0dea> You can actually get hold of it pretty easily.
SenpaiSilver has joined #ruby
<eam> it'd be hard to find a stable result across interpreters though
<Ox0dea> That it would.
<eam> but if you could, you could totally find seeds that did Bad Things
<eam> the bad seed, jokes write themselves
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang65 has joined #ruby
ekinmur has joined #ruby
Musashi007 has joined #ruby
karioleez has quit [Ping timeout: 260 seconds]
neanderslob__ has quit [Quit: No Ping reply in 180 seconds.]
noname has quit [Ping timeout: 252 seconds]
barajasfab has joined #ruby
<mojca> how can I install rails with nokogiri 1.6.8.rc3 (because building 1.6.7 fails for me)?
rcvalle has quit [Quit: rcvalle]
smckee has joined #ruby
neanderslob_ has joined #ruby
jenrzzz has joined #ruby
Vile` has quit [Quit: .]
cdg has quit [Remote host closed the connection]
phpwebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
j0bk has quit [Changing host]
j0bk has joined #ruby
patrick-sartent has joined #ruby
cdg has joined #ruby
hahuang65 has quit [Ping timeout: 260 seconds]
cwenner has quit [Read error: Connection reset by peer]
<darix> mojca: what fails with 1.6.7?
<mojca> darix: it's probably irrelevant, but here's the ticket: https://github.com/sparklemotion/nokogiri/issues/1423
Musashi007 has quit [Quit: Musashi007]
jenrzzz has quit [Read error: Connection reset by peer]
<darix> that conftest lacks -liconv
voidDotClass has quit [Remote host closed the connection]
<darix> mojca: you could try something like export CFLAGS="-liconv" before gem install
<mojca> but is the latest version of rails incompatible with nokogiri 1.6.8.rc3?
dfockler has quit [Ping timeout: 248 seconds]
mistermocha has quit [Ping timeout: 248 seconds]
<darix> i dont know
x77686d has quit [Quit: x77686d]
<mojca> that should probably be LDFLAGS anyway
htmldrum has quit [Read error: Connection reset by peer]
<darix> i know cflags is picked up. ldflags would be more correct true.
niko has quit [Ping timeout: 610 seconds]
<mojca> in case it is not incompatible, can I tell gem to use 1.6.8.rc3?
cdg has quit [Ping timeout: 276 seconds]
<darix> in the gemfile
<mojca> and how should I edit the gemfile before installing rails?
<mojca> I'm a complete newbie
CloCkWeRX has quit [Ping timeout: 248 seconds]
Tempesta has quit [Ping timeout: 260 seconds]
<darix> mojca: try this: gem install -v 1.6.8.rc3 nokogiri ; gem install --conservative rails
slappy16 has quit [Quit: Leaving.]
karioleez has joined #ruby
htmldrum has joined #ruby
smckee has quit [Remote host closed the connection]
noname has joined #ruby
eam has quit [Changing host]
eam has joined #ruby
<mojca> darix: thank you, but no, --conservative doesn't help, it still tries to build 1.6.7.2
ta_ has joined #ruby
diegoviola has joined #ruby
mistermocha has joined #ruby
smckee has joined #ruby
Tempesta has joined #ruby
karioleez has quit [Ping timeout: 264 seconds]
magikid has joined #ruby
<darix> hm
<darix> k
<darix> mojca: does the -liconv help?
Zai00 has quit [Quit: Zai00]
paradisaeidae has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]]
smckee has quit [Ping timeout: 244 seconds]
<mojca> darix: no
<darix> this all might be easier if you have libxml/libxslt installed in system instead of using the intree copy of them.
<mojca> I do, but I want to avoid linking against it at all costs because the next update of that library will break nokogiri
karioleez has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
neanderslob_ has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
jottr has quit [Client Quit]
<mojca> all I want to do is try building rails against the latest nokogiri, but I don't know how to do it
ta_ has quit [Ping timeout: 246 seconds]
elementz has quit [Ping timeout: 246 seconds]
hahuang65 has joined #ruby
phredus has quit [Remote host closed the connection]
dvinciguerra__ has quit [Ping timeout: 276 seconds]
<mojca> I tried gem unpack -v 5.0.0.beta3 rails, but I get just README.md
<darix> mojca: well for fun and giggles try this for a moment:
chouhoulis has quit [Remote host closed the connection]
karioleez has quit [Ping timeout: 260 seconds]
<darix> export NOKOGIRI_USE_SYSTEM_LIBRARIES=1
<darix> and see if it works
baweaver has quit [Remote host closed the connection]
<mojca> I tried it in the past already and it did
<mojca> even though slightly differently
CloCkWeRX has joined #ruby
<darix> gem install nokogiri -- --use-system-libraries
<darix> probably
<darix> anyway
<darix> imho that is the clean solution to your problem
rake_db_migrate has quit [Remote host closed the connection]
<mojca> the stupid think is that https://github.com/rails/rails/blob/v5.0.0.beta3/Gemfile lists gem 'nokogiri', '>= 1.6.7.1', so I fail to see why gem fails to be happy with the latest version of nokogiri
<mojca> the problem is that by using system libraries, rails will stop working at first occasion
dvinciguerra__ has joined #ruby
smckee has joined #ruby
karmatr0n has quit [Ping timeout: 260 seconds]
Spami has quit [Quit: This computer has gone to sleep]
nando293921 has joined #ruby
davedev24 has quit []
smckee has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
<mojca> for example when someone decides to upgrade libxml2 2.9.2 to 2.9.3
hahuang65 has quit [Ping timeout: 244 seconds]
<mojca> (even if that someone happens to be me at the end)
paradisaeidae has joined #ruby
<darix> mojca: because of ~> 1.6.0 in rails-dom-testing
<darix> which doesnt allow prereleases it seems
johnmilton has quit [Ping timeout: 260 seconds]
<darix> mojca: if someone upgrades libxml2 to 2.9.3 what happens is: nokogiri will continue to work and "complain" that it was linked against 2.9.2 but running against 2.9.3
<darix> then you just reinstall nokogiri against 2.9.3 if you want to get rid of the warning
<darix> and all is good again
<darix> on the other hand you have the advantage if you fix the system libxml copy for a security update ... your nokogiri is also fixed.
dvinciguerra__ has quit [Ping timeout: 252 seconds]
mistermocha has quit [Ping timeout: 250 seconds]
ixti has quit [Read error: Connection reset by peer]
Tempesta has quit [Quit: See ya!]
mistermocha has joined #ruby
babblebre has joined #ruby
Tempesta has joined #ruby
moei has joined #ruby
karioleez has joined #ruby
mistermocha has quit [Ping timeout: 248 seconds]
nullwarp has quit [Quit: ZNC - http://znc.in]
BtcBen has quit [Ping timeout: 260 seconds]
stannard has joined #ruby
magikid has quit [Quit: Leaving.]
karioleez has quit [Ping timeout: 248 seconds]
TakG has quit [Ping timeout: 260 seconds]
<mojca> but on the other hand if I accidentally uninstall libxml2, my rails installation will be broken
RegulationD has joined #ruby
<mojca> I don't know how to test the scenario though because even if I uninstall libxml2 and then do simple rails commands, nothing strange happens
<mojca> but talking about security updates in rails is a bit problematic anyway
devbug has quit [Quit: ZZZzzz…]
jenrzzz has quit [Read error: Connection reset by peer]
nullwarp has joined #ruby
<mojca> we have an ancient app written with rails 2.3 or something; nobody is willing to invest time learning how to port it to the latest version; and we'll be stuck with that ancient rails "forever"; long after any security updates come in
ramfjord has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
stannard has quit [Ping timeout: 252 seconds]
dstarh has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
mtkd has joined #ruby
johnmilton has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
edwinvdgraaf has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
fumihiro has joined #ruby
GG has quit [Quit: Real eyes realize real lies....]
HouseMD has joined #ruby
pawnbox has joined #ruby
edwinvdgraaf has quit [Ping timeout: 264 seconds]
karioleez has joined #ruby
jdawgaz has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
fumihiro has quit [Ping timeout: 260 seconds]
GodFather has quit [Ping timeout: 264 seconds]
aibot has quit [Remote host closed the connection]
rake_db_migrate has joined #ruby
aibot has joined #ruby
mtkd has quit [Ping timeout: 252 seconds]
diego2 has joined #ruby
karioleez has quit [Ping timeout: 250 seconds]
x77686d has joined #ruby
pawnbox has quit [Remote host closed the connection]
mtkd has joined #ruby
rake_db_migrate has quit [Remote host closed the connection]
rake_db_migrate has joined #ruby
mojca has quit [Quit: mojca]
diegoviola has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
pifon has joined #ruby
jackjackdripper1 has joined #ruby
fumihiro has joined #ruby
fed is now known as federal
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jackjackdripper has quit [Ping timeout: 276 seconds]
mojca has joined #ruby
chipotle has joined #ruby
vale_tudo has quit [Ping timeout: 246 seconds]
<havenwood> modin: They started statically linking nokogiri by default afaik but you can still dynamically link. There's an alternative (X|H)TML parser called Oga that doesn't have these issues at all. Neither helps you with a Rails 2.3 app.
<havenwood> modin: sorry, misstell
<havenwood> mojca: ^
jt__ has joined #ruby
yqt has quit [Ping timeout: 250 seconds]
devbug has joined #ruby
ta_ has joined #ruby
<mojca> havenwood: thank you; in realy I have no clue how/where/when to use nokogiri, it's just that one cannot install rails as long as nokogiri installation is broken; I hope that version 1.6.8 gets released soon
devbug has quit [Quit: ZZZzzz…]
pawnbox has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox_ has joined #ruby
shmuli has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 268 seconds]
IrishGringo has joined #ruby
tmtwd has joined #ruby
sudoubuntu has joined #ruby
sudoubuntu has quit [Client Quit]
ta_ has quit [Ping timeout: 240 seconds]
<shevy> the joy of building a castle made of sand, on sand
rake_db_migrate has quit [Remote host closed the connection]
<havenwood> shevy: your sand is actually past end-of-life, it is deprecated sand
sudoubuntu has joined #ruby
benlieb has joined #ruby
<shevy> it definitely is not getting any better!
Digpig has joined #ruby
chipotle has quit [Quit: cheerio]
sudoubuntu has quit [Client Quit]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stevenxl has joined #ruby
phredus has joined #ruby
Chagel has joined #ruby
<shevy> new way to write documentation :) https://github.com/araipiyo/egalite
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
benlieb has quit [Quit: benlieb]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<goglosh> what's the difference between lambda and do?
benlieb has joined #ruby
djbkd has quit [Ping timeout: 252 seconds]
vdamewood has quit [Quit: Life beckons.]
fumihiro has quit [Read error: Connection reset by peer]
jt__ has quit [Remote host closed the connection]
fumihiro has joined #ruby
baweaver has joined #ruby
blackmesa has joined #ruby
znz_jp has quit [Quit: kill -QUIT $$]
<goglosh> thx
kam270 has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 268 seconds]
znz_jp has joined #ruby
chipotle has joined #ruby
RickHull has joined #ruby
jenrzzz has joined #ruby
Digpig has quit [Quit: Konversation terminated!]
Chagel_ has joined #ruby
workmad3 has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
sudoubuntu has joined #ruby
shmuli has joined #ruby
sudoubuntu has quit [Client Quit]
braincrash has quit [Quit: bye bye]
Chagel has quit [Ping timeout: 248 seconds]
noService has quit [Ping timeout: 246 seconds]
karioleez has joined #ruby
zast has joined #ruby
qhp has joined #ruby
tax has joined #ruby
sudoubuntu has joined #ruby
diego4 has joined #ruby
Devalo has joined #ruby
paradisaeidae has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 260 seconds]
diego2 has quit [Ping timeout: 246 seconds]
sudoubuntu has quit [Client Quit]
B1n4r10 has joined #ruby
paradisaeidae has joined #ruby
paradisaeidae has quit [Read error: Connection reset by peer]
karioleez has quit [Ping timeout: 260 seconds]
dstarh has joined #ruby
Devalo has quit [Ping timeout: 260 seconds]
toretore has quit [Ping timeout: 246 seconds]
devbug has joined #ruby
youch has joined #ruby
elifoster has quit [Ping timeout: 246 seconds]
tax has quit [Quit: Leaving]
tax has joined #ruby
braincrash has joined #ruby
weemsledeux has joined #ruby
karioleez has joined #ruby
shmuli has quit [Remote host closed the connection]
fedexo has joined #ruby
elifoster has joined #ruby
<shevy> goglosh lambda is more sophistic than a do/end block
arescorpio has joined #ruby
<shevy> like, you can easily .call on lambda
karioleez has quit [Ping timeout: 248 seconds]
lkba_ has joined #ruby
speaking1ode has joined #ruby
BtcBen has joined #ruby
ericn81 has joined #ruby
diego4 has quit [Read error: Connection reset by peer]
<shevy> I don't even know if you can uncouple a do/end block and attach it onto another method ... hmmm
diego4 has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
rubie has joined #ruby
<Ox0dea> >> def foo; yield + 25 end; def bar; foo &proc end; bar { 17 }
<ruby[bot]> Ox0dea: # => 42 (https://eval.in/548224)
gix has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
G has quit [Quit: leaving]
thegunbuster has quit [Quit: Leaving]
paradisaeidae_ has joined #ruby
B1n4r10 has quit [Ping timeout: 244 seconds]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
gix has joined #ruby
Chagel_ has quit [Remote host closed the connection]
Chagel has joined #ruby
yfeldblum has quit [Remote host closed the connection]
karmatr0n has joined #ruby
nerium has quit [Quit: nerium]
InfinityBear has joined #ruby
karioleez has joined #ruby
zzak has joined #ruby
ta_ has joined #ruby
jt__ has joined #ruby
B1n4r10 has joined #ruby
karioleez has quit [Ping timeout: 244 seconds]
Madplatypus has joined #ruby
Yzguy has joined #ruby
speaking1ode has quit [Remote host closed the connection]
youch has quit [Ping timeout: 244 seconds]
youch has joined #ruby
plonk has joined #ruby
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
mtkd has quit [Ping timeout: 276 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
ta_ has quit [Ping timeout: 246 seconds]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
stannard has joined #ruby
robbyoconnor has joined #ruby
robbyoconnor has quit [Client Quit]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
darkf has quit [Ping timeout: 250 seconds]
Beast has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
karioleez has joined #ruby
plonk has joined #ruby
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [K-Lined]
ljames has quit []
babblebre has quit [Quit: Connection closed for inactivity]
stannard has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
<Cohedrin> hey all
<Cohedrin> running into an odd issue where my thread is dying without any kind of error or anythign what so ever
<Cohedrin> I've got a thread in a loop, so it should go on forever
karioleez has quit [Ping timeout: 268 seconds]
<Cohedrin> but it seems to be stopping sometimes (I assume upon an exception)
<havenwood> Cohedrin: Set: Thread.abort_on_exception = true
<Cohedrin> havenwood, I saw that, but I've already wrapped the entire loop in a begin rescue
<Cohedrin> where I rescue exception
tmtwd has quit [Ping timeout: 244 seconds]
<Cohedrin> so it shouldn't be bubbling up enough for that to catch it
ericlee has quit [Ping timeout: 250 seconds]
<havenwood> Cohedrin: Any errors with that ^ set up front?
<Cohedrin> with the rescue block?
<Cohedrin> or abort on exception?
<havenwood> the latter
<Cohedrin> I haven't set that as of yet
<Cohedrin> I've no idea where the exception comes from, I only know the app is crashing due to the thread executing stoppign
diego4 has quit [Quit: WeeChat 1.4]
<Cohedrin> like I said though, the rescue block should be stopping the exception before it gets to that point though
<Cohedrin> unless I'm misunderstanding something
<havenwood> Cohedrin: Try abort_on_exception and see what it reveals if anything?
howdoi has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 264 seconds]
karmatr0n has quit [Ping timeout: 276 seconds]
mistermocha has joined #ruby
stevenxl has quit [Ping timeout: 260 seconds]
<Cohedrin> sounds like a plan
freerobby has quit [Quit: Leaving.]
sudoubuntu has joined #ruby
brent_ has joined #ruby
hk238 has joined #ruby
qhp has quit [Quit: Leaving]
karioleez has joined #ruby
qhp has joined #ruby
huyderman has quit [Ping timeout: 260 seconds]
karioleez has quit [Remote host closed the connection]
karioleez has joined #ruby
Chagel has quit [Remote host closed the connection]
huyderman has joined #ruby
duckpuppy has joined #ruby
tmtwd has joined #ruby
PedramT has joined #ruby
<Cohedrin> Is there any other reason a thread would stop execution other than it encountered an unhandled expection?
noService has joined #ruby
<Cohedrin> maybe garbage collection or something similar?
chouhoulis has joined #ruby
InfinityBear has quit [Remote host closed the connection]
karmatr0n has joined #ruby
smckee has joined #ruby
Chagel has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
stevenxl has joined #ruby
stevenxl has joined #ruby
PedramT has quit [Ping timeout: 244 seconds]
jdawgaz has joined #ruby
benlieb has quit [Quit: benlieb]
PedramT has joined #ruby
smckee has quit [Ping timeout: 244 seconds]
hxegon has quit [Quit: BRB]
stevenxl has quit [Ping timeout: 268 seconds]
youch has quit [Ping timeout: 244 seconds]
huyderman has quit [Ping timeout: 260 seconds]
elifoster has quit [Ping timeout: 276 seconds]
shmuli has joined #ruby
PedramT has quit [Ping timeout: 264 seconds]
huyderman has joined #ruby
zast has quit [Remote host closed the connection]
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
rippa has joined #ruby
Musashi007 has joined #ruby
benlieb has joined #ruby
diegoaguilar has joined #ruby
<RickHull> Cohedrin: check Thread.abort_on_execution or similar
<Cohedrin> Already got that
<Cohedrin> doesn't seem to be the case
<Cohedrin> thread just stopping :(
merida has joined #ruby
edwinvdgraaf has joined #ruby
mistermocha has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 246 seconds]
statelesscode has joined #ruby
Devalo has joined #ruby
stevenxl has joined #ruby
edwinvdgraaf has quit [Ping timeout: 244 seconds]
youch has joined #ruby
cpup has quit [Ping timeout: 246 seconds]
cpup has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<RickHull> Cohedrin: oh, the other one is Thread.raise_on_exception
<RickHull> or similar
<RickHull> that's probably it
Rickmasta has quit [Ping timeout: 268 seconds]
<Cohedrin> RickHull, hmm, I'll look into it
<Cohedrin> thanks
<RickHull> abort_on_execution, heh -- that can't possibly be it xD
<RickHull> abort_on_failure or abort_on_exception maybe
Rickmasta has joined #ruby
<RickHull> i think you need raise_on_exception
stevenxl has quit [Ping timeout: 248 seconds]
agit0 has quit [Quit: zzzZZZ….]
ta_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Chagel has quit [Ping timeout: 244 seconds]
Musashi007 has quit [Quit: Musashi007]
lxsameer has joined #ruby
r0b3rt has quit [Ping timeout: 240 seconds]
josephan has joined #ruby
<josephan> Hello! I am creating a poker simulator. I have a "Ranking" class that is responsible for determining the rank given an array of cards. My question is should I make the initialize method of that class return the "rank" attribute instead of the instance of the class?
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
<RickHull> the initialize method doesn't have control over its return value
<RickHull> it will always return an instance of the class
diegoaguilar has quit [Remote host closed the connection]
blt has joined #ruby
<RickHull> it wouldn't make much sense otherwise. you'd expect String.new to give you a String object
ericn81 has quit [Ping timeout: 252 seconds]
<josephan> Ah right. Thanks that actually helps a lot. I know where to add the logic now.
BSaboia has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 276 seconds]
stardiviner has quit [Ping timeout: 252 seconds]
stevenxl has joined #ruby
barajasfab has quit [Ping timeout: 260 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Inside has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
blackmesa has joined #ruby
stevenxl has quit [Ping timeout: 260 seconds]
hxegon has joined #ruby
darkf has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
josephan has quit [Ping timeout: 250 seconds]
skade has joined #ruby
goglosh has quit [Quit: good night]
BtcBen has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]]
stevenxl has joined #ruby
stevenxl has quit [Changing host]
stevenxl has joined #ruby
rubie has quit [Remote host closed the connection]
astrobunny has joined #ruby
Devalo has quit [Remote host closed the connection]
stevenxl has quit [Ping timeout: 260 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Chagel has joined #ruby
devbug has quit [Quit: ZZZzzz…]
mtkd has quit [Ping timeout: 248 seconds]
paradisaeidae_ has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]]
tmtwd has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
devbug has joined #ruby
nerium has joined #ruby
Chagel_ has joined #ruby
diegoviola has joined #ruby
Chagel has quit [Ping timeout: 244 seconds]
benlieb has joined #ruby
RickHull has left #ruby [#ruby]
tmtwd has joined #ruby
Yzguy has quit [Quit: Cya]
nerium has quit [Ping timeout: 260 seconds]
smckee has joined #ruby
crameth has joined #ruby
Cohedrin has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
polysics has joined #ruby
jt__ has quit [Remote host closed the connection]
sekrit has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
fumihiro has quit [Ping timeout: 248 seconds]
tmtwd has quit [Ping timeout: 260 seconds]
karioleez has quit [Remote host closed the connection]
GnuYawk has joined #ruby
GnuYawk has quit [Changing host]
GnuYawk has joined #ruby
karioleez has joined #ruby
josephan has joined #ruby
ericlee has joined #ruby
amclain has quit [Quit: Leaving]
Musashi007 has joined #ruby
polysics has quit [Ping timeout: 244 seconds]
sekrit has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
Musashi007 has quit [Client Quit]
yfeldblum has quit [Remote host closed the connection]
elifoster has joined #ruby
aganov has joined #ruby
yfeldblum has joined #ruby
Phanes- has quit [Ping timeout: 252 seconds]
nanoz has joined #ruby
karioleez has quit [Remote host closed the connection]
Musashi007 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
GnuYawk has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
dfinninger has quit [Remote host closed the connection]
Mia has quit [Read error: Connection reset by peer]
Phanes has joined #ruby
Phanes has quit [Changing host]
Phanes has joined #ruby
postmodern has quit [Quit: Leaving]
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scepticulous has joined #ruby
Phanes has quit [Excess Flood]
sudoubuntu has joined #ruby
moeabdol4 has joined #ruby
nanoz has quit [Changing host]
nanoz has joined #ruby
tmtwd has joined #ruby
polysics has joined #ruby
Phanes has joined #ruby
Phanes has joined #ruby
Chagel_ has quit [Remote host closed the connection]
Chagel has joined #ruby
nodejunkie has joined #ruby
krz has joined #ruby
blackmesa has joined #ruby
IrishGringo has quit [Ping timeout: 248 seconds]
aufi has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
crameth has quit [Quit: crameth]
Wolland has quit []
krz has quit [Read error: Connection reset by peer]
Phanes has quit [Ping timeout: 248 seconds]
krz has joined #ruby
mtkd has joined #ruby
josephan has quit [Ping timeout: 250 seconds]
ramfjord has quit [Ping timeout: 268 seconds]
deadlock has joined #ruby
polysics has quit []
hxegon has quit [Quit: BRB]
skade has joined #ruby
stardiviner has joined #ruby
hahuang61 has quit [Ping timeout: 248 seconds]
crameth has joined #ruby
duckpuppy has joined #ruby
abyx has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
karioleez has joined #ruby
merida has quit [Ping timeout: 240 seconds]
Miron has quit [Ping timeout: 248 seconds]
crameth has quit [Client Quit]
skade has joined #ruby
merida has joined #ruby
duckpuppy has quit [Ping timeout: 268 seconds]
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
e4xit has quit [Quit: Right I'm out!]
last_staff has joined #ruby
vale_tudo has joined #ruby
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
andikr has joined #ruby
ssiris has quit [Quit: End of Line]
karmatr0n has joined #ruby
Macaveli has joined #ruby
Musashi007 has quit [Quit: Musashi007]
tmtwd has quit [Ping timeout: 248 seconds]
Chagel has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 244 seconds]
Chagel has joined #ruby
Chagel has quit [Remote host closed the connection]
smckee has quit [Remote host closed the connection]
dede has joined #ruby
CausaMortis has joined #ruby
huyderman has quit [Ping timeout: 244 seconds]
Chagel has joined #ruby
tvw has joined #ruby
arescorpio has quit [Remote host closed the connection]
vale_tudo has quit [Ping timeout: 276 seconds]
djbkd has quit [Remote host closed the connection]
agit0 has joined #ruby
djbkd has joined #ruby
djbkd has quit [Client Quit]
abyx has quit [Quit: This computer has gone to sleep]
tmtwd has joined #ruby
HouseMD is now known as GitGud
ur5us has quit [Remote host closed the connection]
statelesscode has quit [Quit: statelesscode]
firstdayonthejob has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
ta_ has joined #ruby
solars has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bigkevmcd has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
mark3 has joined #ruby
the_drow_ has joined #ruby
nando293921 has quit [Ping timeout: 246 seconds]
NightMonkey has quit [Ping timeout: 252 seconds]
elifoster has quit [Ping timeout: 248 seconds]
abyx has joined #ruby
youch has quit [Ping timeout: 244 seconds]
dn` has joined #ruby
stardiviner has quit [Ping timeout: 248 seconds]
blackmesa has joined #ruby
GitGud has quit [Quit: Real eyes realize real lies....]
HouseMD has joined #ruby
Macaveli has joined #ruby
biberu has joined #ruby
symm- has joined #ruby
deadlock has quit [Quit: Saindo]
HouseMD is now known as GG
GG has quit [Client Quit]
HouseMD has joined #ruby
solars has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
edwinvdgraaf has joined #ruby
hahuang61 has joined #ruby
anisha has joined #ruby
Luna_Moonfang has quit [Ping timeout: 264 seconds]
DoubleMalt has joined #ruby
_blizzy_ has joined #ruby
SCHAAP137 has joined #ruby
aupadhye has joined #ruby
huyderman has joined #ruby
HouseMD is now known as GG
jero_ has joined #ruby
codecop has joined #ruby
tmtwd has quit [Ping timeout: 246 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
mojca has quit [Quit: mojca]
yfeldblu_ has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
stardiviner has joined #ruby
terlar has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
yfeldblu_ has quit [Ping timeout: 252 seconds]
niko has joined #ruby
Couch has joined #ruby
lightheaded has joined #ruby
fumihiro has joined #ruby
shmuli has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
antgel has joined #ruby
shmuli has joined #ruby
bry4n has quit [Ping timeout: 250 seconds]
Luna_Moonfang has joined #ruby
GnuYawk has joined #ruby
GnuYawk has quit [Changing host]
GnuYawk has joined #ruby
madgen has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
bluOxigen_ has joined #ruby
fumihiro has quit [Ping timeout: 244 seconds]
paatalaBhairavi has joined #ruby
smckee has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
abyx has quit [Quit: This computer has gone to sleep]
shredding has joined #ruby
nanoz has quit [Quit: <3]
Es0teric has joined #ruby
Beast has quit [Quit: Leaving]
jt__ has joined #ruby
smckee has quit [Ping timeout: 268 seconds]
aeterne has quit [Read error: Connection reset by peer]
Es0teric has quit [Ping timeout: 250 seconds]
Rickmasta has quit [Ping timeout: 276 seconds]
paatalaBhairavi has quit [Quit: Leaving]
baweaver has quit [Remote host closed the connection]
ferr has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
<al2o3-cr> What a grim morning :( (another a day, another dollar)
mojca has joined #ruby
mikecmpbll has joined #ruby
<adaedra> Hello
symm- has quit [Ping timeout: 248 seconds]
pifon1 has joined #ruby
pifon has quit [Ping timeout: 244 seconds]
merida has quit [Remote host closed the connection]
NightMonkey has joined #ruby
dionysus69 has joined #ruby
plonk has joined #ruby
plonk has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
terlar has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cbliard has joined #ruby
plonk has quit [Read error: Connection reset by peer]
<cbliard> Hi there, I just had a ruby 2.3.0 segfault with "Stack consistency error (sp: 547, bp: 598)". What do sp and bp mean?
plonk_ has joined #ruby
plonk_ has quit [Changing host]
plonk_ has joined #ruby
plonk_ has joined #ruby
plonk_ has quit [Changing host]
plonk_ has joined #ruby
plonk_ has quit [Read error: Connection reset by peer]
NightMonkey has quit [Ping timeout: 252 seconds]
plonk_ has joined #ruby
plonk_ has quit [Changing host]
plonk_ has joined #ruby
terlar has joined #ruby
plonk_ has quit [Read error: Connection reset by peer]
jjh has joined #ruby
jjh has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
jt__ has quit [Remote host closed the connection]
plonk has joined #ruby
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
shmuli has quit [Remote host closed the connection]
shmuli has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
Rickmasta has quit [Ping timeout: 260 seconds]
madgen has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
moeabdol has joined #ruby
the_drow_ has quit [Quit: This computer has gone to sleep]
<Ox0dea> cbliard: `sp` is the stack pointer, `bp` the base pointer, both in reference to the current control frame.
NightMonkey has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
Ropeney has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
solars has joined #ruby
<cbliard> Ox0dea: thanks
<Ox0dea> cbliard: Sure thing. If you're able to reliably reproduce the error, considering posting the details to https://bugs.ruby-lang.org/issues/
<Ox0dea> *consider posting
marr has joined #ruby
Rickmasta has joined #ruby
<cbliard> I'm trying, but it desperatly fails only on production :(
<cbliard> at random times
<Ox0dea> Yay, Heisenbugs.
<cbliard> yeah
moeabdol4 has quit [Ping timeout: 276 seconds]
noService has quit [Ping timeout: 246 seconds]
Macaveli has joined #ruby
mikecmpbll has joined #ruby
Chagel has quit [Remote host closed the connection]
<cbliard> I'm suspecting it could be something like this one https://bugs.ruby-lang.org/issues/10290
Ropeney has quit [Client Quit]
<cbliard> which fails on some versions of ruby (including 2.3.0) but not others (including 2.2.3)
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 246 seconds]
ur5us has joined #ruby
<Ox0dea> You're rescuing SystemStackError?
Chagel has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
<cbliard> Yes, at last resort
<cbliard> that's bad?
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
jaruga__ has joined #ruby
<cbliard> We are interpreting a custom dsl language which can call itself, and we rescue from SystemStackError, meaning there were some unhandled recursion errors somewhere
<Ox0dea> Probably handle those instead?
jaruga__ has quit [Client Quit]
<cbliard> Indeed, we limited the call depth to 100, but we still see segfaults
plonk has quit [Read error: Connection reset by peer]
elaptics`away is now known as elaptics
<cbliard> Is it bad practice to rescue from SystemStackError?
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
plonk has quit [Read error: Connection reset by peer]
<Ox0dea> If your language is sufficiently simple, it wouldn't be egregiously difficult to check the call graph for cycles.
<apeiros> !fixon plonk
<apeiros> !fixcon plonk
<cbliard> You are probably right
<Ox0dea> At any rate, it's certainly a bug, but Nobu saying "I have no idea" is terrifying.
<cbliard> who is Nobu?
moeabdol1 has joined #ruby
pawnbox has quit [Remote host closed the connection]
<Ox0dea> The Patch Monster.
pawnbox has joined #ruby
duckpuppy has joined #ruby
noService has joined #ruby
jt__ has joined #ruby
<cbliard> ah! in the bug report
<cbliard> yep
rodfersou has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
<cbliard> ok, nobu :)
Dimik has quit [Ping timeout: 248 seconds]
<Ox0dea> I'm seeing slightly interesting behavior on my machine. The snippet in #10290 sporadically segfaults for lambdas and dynamically defined methods. For `def foo; foo; end`, no segfaults, even if it was introduced with #eval.
moeabdol has quit [Ping timeout: 276 seconds]
duckpuppy has quit [Ping timeout: 248 seconds]
noService has quit [Ping timeout: 246 seconds]
mtkd has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
ocbtec has joined #ruby
mtkd has joined #ruby
<cbliard> I'm really not familiar with low-level ruby. I observe the same: #10290 sporadically segfaults
nobitanobi has joined #ruby
<cbliard> SystemStackError on 25-30% of the time. for i in `seq 1 100` ; do ruby test.rb 2>&1 ; done | grep -c SystemStackError
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
evie_hammond has quit [Quit: WeeChat 1.4]
<cbliard> Ox0dea: anyway, we will add a guard to prevent this from happening. Thank you for your help!
toretore has joined #ruby
benlieb has quit [Quit: benlieb]
<Ox0dea> cbliard: Sure thing.
mrgrieves has joined #ruby
karmatr0n has joined #ruby
agit0 has joined #ruby
jt__ has quit [Remote host closed the connection]
smckee has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
m8 has joined #ruby
htmldrum has quit [Ping timeout: 264 seconds]
jgrevich has quit [Ping timeout: 264 seconds]
m8 has quit [Max SendQ exceeded]
blackmesa has joined #ruby
lkba_ has quit [Ping timeout: 244 seconds]
evie_hammond has joined #ruby
mrgrieves has quit [Ping timeout: 250 seconds]
dbugger has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shredding has quit [Ping timeout: 248 seconds]
DoubleMalt has quit [Ping timeout: 276 seconds]
<dbugger> Hi fellas. I am experimenting with "class instance variables" and I was wondering, why does this not work? http://hastebin.com/uwuvumevaw.ruby
merida has joined #ruby
baweaver has joined #ruby
pawnbox has quit [Remote host closed the connection]
terlar has quit [Quit: WeeChat 1.4]
albercuba has left #ruby ["Leaving"]
terlar has joined #ruby
DoubleMalt has joined #ruby
pawnbox has joined #ruby
noService has joined #ruby
<Ox0dea> dbugger: It does: https://eval.in/548363
Rickmasta has quit [Ping timeout: 248 seconds]
<dbugger> uh???
<dbugger> Ox0dea, I get nothing...
baweaver has quit [Ping timeout: 268 seconds]
<dbugger> What is this wizardry??
aupadhye has quit [Quit: Leaving]
the_drow_ has joined #ruby
<Ox0dea> ¯\_(ツ)_/¯
<dbugger> ARGHHHHHHH
<dbugger> I forgot the "puts"
<Ox0dea> Thatcha did.
<dbugger> *HEADSLAMMING on table*
madgen has joined #ruby
<dbugger> Sorry for the stupidity
<Ox0dea> Forgiven. :P
<dbugger> is there a more direct way to do that? Kinda like "attr_accesort self:one"?
terlar has quit [Quit: WeeChat 1.4]
noService has quit [Ping timeout: 246 seconds]
jackcom has joined #ruby
jackcom was kicked from #ruby by ruby[bot] [was banned before]
Rickmasta has joined #ruby
mrgrieves has joined #ruby
<Ox0dea> dbugger: There's certainly nothing shorter.
<Ox0dea> `class << foo; ...; end` is shorthand for `foo.singleton_class.class_eval { ... }`.
Macaveli has joined #ruby
<Ox0dea> You could say `singleton_class.send :attr_accessor, :foo`, but that's not an improvement.
<dbugger> na, if there is not a pretty one-liner, Ill leave it like that :)
<dbugger> Thanks mate
<Ox0dea> No worries.
<dbugger> Im trying to grasp instance variable vs class variable vs class instance variable
lightheaded has quit []
<Ox0dea> Class instance variables are just instance variables. :)
<Ox0dea> Classes are instances of the Class class.
weckl has joined #ruby
<dbugger> yeah, well, the same could be said of class variables
evidex has joined #ruby
<Ox0dea> How do you mean?
<Ox0dea> You can't stick class variables on something that's not a Class.
<dbugger> class variables seem to be the same as class instance variables... except they have more restrictions
<Ox0dea> There's really no such thing as a "class instance variable"; it's just an instance variable that belongs to a Class.
<dbugger> yeah, I get that
<Ox0dea> Any Object can have its own instance variables, and they belong to that instance and only that instance.
<dbugger> But again, class instance variables seem to be the same as class variables
<Ox0dea> They're not inherited, for starters.
<dbugger> Yeah, as I said, they are the same... just more restricted
<Ox0dea> I'm not sure I follow.
yfeldblum has joined #ruby
<dbugger> and the notation is confusing as fuck, naming both with @
<Ox0dea> A local variable isn't just a "more restricted" form of global variable.
noService has joined #ruby
stevenxl has joined #ruby
<dbugger> I meant that between @class_instance_var and @@class_var, they are basically the same, except one is more restricted
workmad3 has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
crameth has joined #ruby
antgel has quit [Ping timeout: 244 seconds]
stevenxl has quit [Ping timeout: 264 seconds]
the_drow_ has quit [Quit: This computer has gone to sleep]
skade has quit [Quit: Computer has gone to sleep.]
Rickmasta has quit [Ping timeout: 244 seconds]
decoponio has quit [Quit: Leaving...]
gard has joined #ruby
jgrevich has joined #ruby
nobitanobi has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 248 seconds]
skade has joined #ruby
ledestin has joined #ruby
terlar has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
rolha has joined #ruby
blackmesa has quit [Quit: WeeChat 1.4]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
toretore has quit [Ping timeout: 248 seconds]
EdwardIII has quit [Ping timeout: 240 seconds]
chipotle has quit [Quit: cheerio]
fumihiro has joined #ruby
sesquipedalian has quit [Ping timeout: 244 seconds]
toretore has joined #ruby
blt has quit [Ping timeout: 244 seconds]
Rickmasta has joined #ruby
platzhirsch has joined #ruby
parduse has joined #ruby
neanderslob_ has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
Coldblackice has quit [Ping timeout: 244 seconds]
Caelum is now known as Caelum_test
Caelum_test is now known as Caelum
nobitanobi has joined #ruby
Coldblackice has joined #ruby
neanderslob_ is now known as neanderslob
TvL2386 has joined #ruby
parduse has quit [Client Quit]
jgt3 has joined #ruby
stardiviner has joined #ruby
Snowy has joined #ruby
chipotle has joined #ruby
karmatr0n has joined #ruby
Suntzu has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
chancy has joined #ruby
yfeldblum has joined #ruby
decoponio has joined #ruby
htmldrum has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
dikaio has quit [Quit: Textual IRC Client: www.textualapp.com]
astrobunny has quit [Remote host closed the connection]
skislak has joined #ruby
whiteline_ has joined #ruby
blt has joined #ruby
whiteline has quit [Disconnected by services]
whiteline_ is now known as whiteline
skade has quit [Quit: Computer has gone to sleep.]
nocontrol has joined #ruby
ujjain has quit [Ping timeout: 250 seconds]
astrobunny has joined #ruby
platzhirsch has quit [Quit: Leaving.]
SCHAAP137 has quit [Remote host closed the connection]
<jokke> hi
<jokke> i'm having trouble building ruby with ruby-install on arch-linux
<jokke> getting these errors: https://p.jreinert.com/ChxxO/
astrobunny has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
solars has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
<Ox0dea> jokke: You'll need to say `ruby-install -p https://github.com/ruby/ruby/commit/801e1f.diff ruby 2.3`.
bastelfreak has joined #ruby
<Ox0dea> I suspect you'll want to swap the "2.3" bit.
FooMunki has joined #ruby
<jokke> yeah
<jokke> nice
<jokke> thanks!
<Ox0dea> Happy to help. :)
d0nn1e has quit [Ping timeout: 246 seconds]
TheHodge has joined #ruby
antgel has joined #ruby
the_drow_ has joined #ruby
d0nn1e has joined #ruby
chancy has quit [Remote host closed the connection]
Suntzu has joined #ruby
FooMunki has quit [Quit: FooMunki]
al2o3-cr has quit [Ping timeout: 264 seconds]
FooMunki has joined #ruby
<jokke> Ox0dea: mmh... https://p.jreinert.com/KNC0w/
mikecmpbll has quit [Ping timeout: 252 seconds]
toretore has quit [Ping timeout: 276 seconds]
merida_ has joined #ruby
dANOKELOFF has joined #ruby
merida has quit [Ping timeout: 240 seconds]
<Ox0dea> jokke: Ah, well, it's only choking on the ChangeLog (not sure why), but ruby-install's -p flag accepts a local patch just fine.
<jokke> ok, so what should i do?
<jokke> modify the patch?
<Ox0dea> Yeah, just nix those first 20 lines.
<jokke> hm no
shmuli has quit [Remote host closed the connection]
Azure has quit [Ping timeout: 244 seconds]
<jokke> it fails the second hunk too
shmuli has joined #ruby
shmuli has quit [Remote host closed the connection]
shmuli has joined #ruby
johnmilton has quit [Quit: Namaste]
<jokke> hm
<jokke> weird
<Ox0dea> jokke: https://git.io/vVVNu
duckpuppy has joined #ruby
<jokke> hm ok
<Ox0dea> I wonder what sorcery RVM does that it applies cleanly. :/
kam270 has joined #ruby
<Ox0dea> That was *not* a recommendation to switch to RVM.
Spami has joined #ruby
<jokke> i know
<jokke> :)
merida has joined #ruby
<Ox0dea> It's just that they're using the same patch (and presumably applying it to the same source).
<n1colas> Hello
myntcake has joined #ruby
FastJack has quit [Quit: Changing server]
the_drow_ has quit [Quit: This computer has gone to sleep]
the_drow_ has joined #ruby
duckpuppy has quit [Ping timeout: 246 seconds]
<jokke> also what annoys me: i can't define just 2.0.0 or 1.9.3 or whatever but always have to add the release to the version
FastJack has joined #ruby
<jokke> it doesn't try to find a version that fits
merida_ has quit [Ping timeout: 264 seconds]
Fredrich010 has joined #ruby
brent_ has quit [Quit: Connection closed for inactivity]
dANOKELOFF has quit [Remote host closed the connection]
<Ox0dea> jokke: It does so for supported versions.
terlar has quit [Ping timeout: 250 seconds]
the_drow_ has quit [Client Quit]
blackmesa has joined #ruby
B1n4r10 has quit [Ping timeout: 276 seconds]
<jokke> ok
merida has quit [Read error: Connection reset by peer]
<jokke> so 1.9.3 clearly isn't supported anymore
merida has joined #ruby
<Ox0dea> Nor 2.0.
yfeldblum has quit [Ping timeout: 268 seconds]
<jokke> yeah
bkxd has joined #ruby
merida_ has joined #ruby
<jokke> but really weird that the patch won't work
blackgoat has joined #ruby
merida__ has joined #ruby
merida__ has quit [Read error: Connection reset by peer]
ujjain has joined #ruby
ujjain has joined #ruby
<Ox0dea> You're sure you need 2.0?
merida__ has joined #ruby
<jokke> yeah unfortuntely
<jokke> *unfortunately
shmuli has quit [Remote host closed the connection]
dANOKELOFF has joined #ruby
ur5us has quit [Remote host closed the connection]
shmuli has joined #ruby
merida has quit [Ping timeout: 246 seconds]
gard has quit [Ping timeout: 248 seconds]
merida_ has quit [Ping timeout: 246 seconds]
bkxd has quit [Ping timeout: 268 seconds]
karmatr0n has joined #ruby
mdw has joined #ruby
bkxd has joined #ruby
<Ox0dea> Probably easiest to just ruby-install without the patch, let it configure, let it fail on SSL_v3, then go into the source directory, manually apply the patch (minus the ChangeLog diff), then `make install`.
karmatr0n has quit [Ping timeout: 276 seconds]
ta_ has quit [Remote host closed the connection]
<Ox0dea> Can confirm that that works, at least.
dvinciguerra__ has joined #ruby
<Ox0dea> That'd be `patch -p1 < 801e1f.diff` from within src/ruby-2.0.0-p647/, in case you weren't sure.
bkxd has quit [Ping timeout: 268 seconds]
ta_ has joined #ruby
stardiviner has quit [Ping timeout: 246 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
Azure has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shmuli has quit [Remote host closed the connection]
gard has joined #ruby
shmuli has joined #ruby
GodFather has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
krz has quit [Ping timeout: 248 seconds]
krz has joined #ruby
RegulationD has joined #ruby
gard has quit [Ping timeout: 260 seconds]
reddd has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
stevenxl has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
merida has joined #ruby
merida__ has quit [Read error: No route to host]
andikr has quit [Remote host closed the connection]
merida_ has joined #ruby
merida__ has joined #ruby
stardiviner has joined #ruby
platzhirsch has joined #ruby
stevenxl has quit [Ping timeout: 244 seconds]
Chagel has quit [Ping timeout: 244 seconds]
merida has quit [Ping timeout: 252 seconds]
Mia has joined #ruby
Mia has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
merida_ has quit [Ping timeout: 252 seconds]
madgen has quit [Ping timeout: 260 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
RegulationD has joined #ruby
nerium has joined #ruby
nerium has quit [Client Quit]
gard has joined #ruby
merida__ has quit [Ping timeout: 260 seconds]
Swey_Hey has joined #ruby
trinaldi has joined #ruby
Swey_Hey has quit [Quit: Leaving]
Swey_Hey has joined #ruby
smckee has quit [Remote host closed the connection]
federal is now known as Angular
platzhirsch has quit [Quit: Leaving.]
Swey_Hey has quit [Client Quit]
Swey_Hey has joined #ruby
whiteline has quit [Read error: Connection reset by peer]
whiteline has joined #ruby
jaruga__ has joined #ruby
shmuli has quit [Remote host closed the connection]
merida has joined #ruby
Swey_Hey has quit [Quit: Leaving]
Swey_Hey has joined #ruby
ta_ has quit [Remote host closed the connection]
nfk|laptop has joined #ruby
platzhirsch has joined #ruby
duckpuppy has joined #ruby
Macaveli has joined #ruby
hays_ has joined #ruby
<hays_> What is the difference between a Monitor and Mutex?
<hays_> I am trying to use a Mutex but I am getting exceptions on recursive locking, so I think Monitors are the solution, but there are no docs
tristanp has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
tristanp has joined #ruby
bkxd has joined #ruby
n008f4g_ has quit [Ping timeout: 250 seconds]
tildes has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
platzhirsch has quit [Quit: Leaving.]
Swey_Hey has quit [Quit: Leaving]
rake_db_migrate has joined #ruby
Swey_Hey has joined #ruby
reddd has quit [Ping timeout: 244 seconds]
antgel has joined #ruby
solars has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
NightMonkey has quit [Ping timeout: 246 seconds]
<djellemah> hays_: I have a note in some of my code that Monitors are reentrant, but I have no idea where that was from. This might help http://ruby-doc.org/stdlib-2.3.0/libdoc/monitor/rdoc/MonitorMixin.html
Marsjan has joined #ruby
marsjaninzmarsa has quit [Ping timeout: 244 seconds]
Marsjan is now known as marsjaninzmarsa
marsjaninzmarsa has quit [Max SendQ exceeded]
duckpuppy has quit [Ping timeout: 260 seconds]
marsjaninzmarsa has joined #ruby
Napear has joined #ruby
GodFather has quit [Remote host closed the connection]
dANOKELOFF has quit [Remote host closed the connection]
mrgrieves has quit [Ping timeout: 244 seconds]
last_staff has quit [Quit: last_staff]
hays_ has quit [Ping timeout: 250 seconds]
IrishGringo has joined #ruby
GodFather has joined #ruby
GnuYawk has quit [Ping timeout: 260 seconds]
<Napear> I am trying to create a simple TCP client, but the client is hanging on the first TCPSocket.gets call (server is using TCPServer.puts to send the line)... any thoughts?
c0x has joined #ruby
<Napear> If I netcat into the server it works fine... and if I use the same client method to contact a webserver it works fine... but the two won't talk to each other without hanging
solars has quit [Quit: WeeChat 0.4.2]
johnmilton has joined #ruby
c0x has quit [Client Quit]
mrgrieves has joined #ruby
hanmac has quit [Ping timeout: 248 seconds]
terlar has joined #ruby
tildes has quit [Remote host closed the connection]
madgen has joined #ruby
solars has joined #ruby
s2013 has joined #ruby
domaldel has joined #ruby
dANOKELOFF has joined #ruby
stannard has joined #ruby
duncannz has quit [Remote host closed the connection]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
GodFather has quit [Remote host closed the connection]
senayar has joined #ruby
synthroid has joined #ruby
astrobunny has joined #ruby
platzhirsch has joined #ruby
GodFather has joined #ruby
madgen has quit [Ping timeout: 268 seconds]
stevenxl has joined #ruby
stevenxl has joined #ruby
Coldblackice has quit [Ping timeout: 248 seconds]
B1n4r10 has joined #ruby
vale_tudo has joined #ruby
rake_db_migrate has quit [Remote host closed the connection]
vuashhhh has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
CloCkWeRX has quit [Ping timeout: 244 seconds]
<vuashhhh> hi guys! I'm having trouble with an application in rails.. I've posted in rails channel, but if someone here could help... https://gist.github.com/jonatasbaldin/906673980f847b30ec2cf6951dcb136e
hanmac has joined #ruby
stevenxl has quit [Ping timeout: 268 seconds]
NfNitLoop has left #ruby ["WeeChat 1.3"]
B1n4r10 has quit [Ping timeout: 244 seconds]
Angular is now known as federales
merida_ has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
sdothum has joined #ruby
bry4n has joined #ruby
stannard has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
merida has quit [Ping timeout: 276 seconds]
merida has joined #ruby
bry4n has quit [Ping timeout: 246 seconds]
merida_ has quit [Ping timeout: 244 seconds]
platzhirsch has quit [Quit: Leaving.]
smckee has joined #ruby
ta_ has joined #ruby
gnufied has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
krz has quit [Ping timeout: 264 seconds]
glcx has joined #ruby
glcx has quit [Changing host]
glcx has joined #ruby
sepp2k has joined #ruby
smckee has quit [Ping timeout: 250 seconds]
noobplayer97 has joined #ruby
codecop has quit [Remote host closed the connection]
merida has quit [Ping timeout: 248 seconds]
CloCkWeRX has joined #ruby
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
merida has joined #ruby
aupadhye has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
karmatr0n has joined #ruby
swills has quit [Ping timeout: 244 seconds]
noobplayer97 has quit [Ping timeout: 260 seconds]
GG has quit [Quit: Real eyes realize real lies....]
Swey_Hey has quit [Quit: Leaving]
terlar has quit [Quit: WeeChat 1.4]
terlar has joined #ruby
pawnbox has quit [Ping timeout: 248 seconds]
dstarh has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
mojca has quit [Ping timeout: 248 seconds]
aegis3121 has joined #ruby
merida_ has joined #ruby
lxsameer has quit [Quit: WeeChat 1.4]
merida has quit [Ping timeout: 264 seconds]
baweaver has joined #ruby
statelesscode has joined #ruby
theery has joined #ruby
pawnbox has joined #ruby
andywojo has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<djellemah> Napear: maybe flush on the server side, or a series of getc on the client side. That might help find where it's not working the way you expect it to.
devbug has quit [Quit: ZZZzzz…]
sudoubuntu has joined #ruby
devbug has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
bkxd has joined #ruby
malconis has joined #ruby
nobitanobi has quit [Remote host closed the connection]
malconis has quit [Remote host closed the connection]
godzillaenlacasa has joined #ruby
binaryplease1 has joined #ruby
rake_db_migrate has joined #ruby
malconis has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
futilegames has joined #ruby
cdg has joined #ruby
_stu_ has joined #ruby
dANOKELOFF has quit []
nobitanobi has joined #ruby
rake_db_migrate has quit [Ping timeout: 246 seconds]
myntcake has quit [Ping timeout: 240 seconds]
snoobydoo has joined #ruby
chipotle has quit [Quit: cheerio]
<snoobydoo> How do i pick last n elements from an array? Eg: [3,4] in [1,2,3,4]
binaryplease1 is now known as binaryplease
<SebastianThorn> snoobydoo: .last
<havenwood> snoobydoo: last(2)
rykou has joined #ruby
<snoobydoo> havenwood: Thanks :D
<rykou> hello
Fredrich010 has quit [Read error: Connection reset by peer]
idletask has quit [Ping timeout: 260 seconds]
merida_ has quit [Remote host closed the connection]
<havenwood> rykou: hi
Fredrich010 has joined #ruby
<rykou> :)
mikecmpbll has joined #ruby
M__ has joined #ruby
barajasfab has joined #ruby
ekinmur has joined #ruby
madgen has joined #ruby
saneax is now known as saneax_AFK
rake_db_migrate has joined #ruby
<rykou> I might have bit of a newbie question, but is there a good way to make a module that I can require from anywhere on my system without using require_relative?
pawnbox has quit [Remote host closed the connection]
tildes has joined #ruby
rake_db_migrate has quit [Remote host closed the connection]
rake_db_migrate has joined #ruby
pawnbox has joined #ruby
<havenwood> rykou: You can always add a shebang and put it in a dir in your PATH. A nice way is to build and install a gem.
<havenwood> rykou: Oh, right require anywhere. Yeah, a gem.
Rickmasta has quit [Ping timeout: 250 seconds]
M__ has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
krz has joined #ruby
<rykou> havenwood: okay, im going to check if I can get that working.
madgen has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
darkxploit has quit [Ping timeout: 240 seconds]
jhill has quit [Remote host closed the connection]
jcp has quit [Remote host closed the connection]
braderhart has quit [Remote host closed the connection]
darkf has quit [Quit: Leaving]
NightMonkey has joined #ruby
dgncn has quit [Excess Flood]
jhill has joined #ruby
ta_ has quit [Remote host closed the connection]
jcp has joined #ruby
ChiefAlexander has joined #ruby
braderhart has joined #ruby
joonty has joined #ruby
andywojo has joined #ruby
dgncn has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
kies has joined #ruby
stardiviner has quit [Ping timeout: 250 seconds]
fumihiro has quit [Remote host closed the connection]
kfpratt has joined #ruby
<rykou> havenwood: Thank you, worked out how I wanted!
<havenwood> rykou: nice
duckpuppy has joined #ruby
idletask has joined #ruby
<rykou> Haven't done that much with ruby yet so still learning about cool stuff like that :)
darkxploit has joined #ruby
smckee has joined #ruby
skade has joined #ruby
reddd has joined #ruby
noService has quit [Ping timeout: 246 seconds]
smckee has quit [Ping timeout: 268 seconds]
<ferr> @load.status == ('billed' || 'billed_pending') how would I make this comparison work in a single line
madgen has joined #ruby
<havenwood> ferr: %w[billed billed_pending].include? @load.status
pandaant has joined #ruby
sgambino has joined #ruby
tvon has quit [Quit: Peace out, y'all!]
reddd has quit [Client Quit]
<ferr> havenwood: thanks, the same I was writing right now
TinkerTyper has quit [Ping timeout: 244 seconds]
bry4n has joined #ruby
nobitanobi has quit []
<djellemah> ferr: case @load.status when 'billed', 'billed_pending' then do_yer_stuff end
TinkerTyper has joined #ruby
<djellemah> ok, ok, so case is not normally a one-liner ;-p
noService has joined #ruby
futilegames has quit [Quit: futilegames]
Balzrael has joined #ruby
<ferr> separately it works, but with rails, not, lol
<ferr> If I remove the second part of &&, it works
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoaguilar has joined #ruby
<ferr> I mean if I remove the &&
<djellemah> >> %w[billed, billed_pending]
<ruby[bot]> djellemah: # => ["billed,", "billed_pending"] (https://eval.in/548593)
<djellemah> >> %w[billed billed_pending]
<ruby[bot]> djellemah: # => ["billed", "billed_pending"] (https://eval.in/548595)
bry4n has quit [Ping timeout: 260 seconds]
theery has quit []
<ferr> oh
<djellemah> ;-)
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ferr> >> puts 'Hello world'
<ruby[bot]> ferr: # => Hello world ...check link for more (https://eval.in/548596)
<ferr> that's good
noService has quit [Ping timeout: 246 seconds]
<akahn> is Hash#key? faster than Hash#[]?
brt has joined #ruby
<apeiros> probably not. but it's not the same anyway.
<apeiros> >> h = {a: false}; [h.has_key?(:a), h[:a]]
<ruby[bot]> apeiros: # => [true, false] (https://eval.in/548597)
<apeiros> akahn: ^
<akahn> right. I'm trying to decide whether it's worth checking if the key is in the hash first, in a case where most cases will be misses.
Pupp3tm4st3r has joined #ruby
mistermocha has joined #ruby
Tempesta has quit [Quit: AdiIRC is updating to v2.3 Beta Build (2016/04/06) 32 Bit]
s2013 has joined #ruby
Tempesta has joined #ruby
swills has joined #ruby
<apeiros> if you don't have falsy values, or your code would become unclear, then it's usually not worth it
St1gma has joined #ruby
iamvery has quit [Ping timeout: 244 seconds]
s2013 has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
<apeiros> and if you want a default value, you can skip it entirely and either use .fetch(key, default)/.fetch(key) { default } if your hash can contain falsy values, or `hash[key] || default` if it doesn't.
<akahn> yeah. thanks, apeiros
Rickmasta has joined #ruby
noService has joined #ruby
<akahn> I will skip key? and just use []
jpfuentes2 has joined #ruby
brt has quit [Quit: peace]
cdg has quit [Remote host closed the connection]
inukshuk_ has joined #ruby
<apeiros> if you still feel insecure, you can always gist your code and ask for a review here ;-)
iamvery has joined #ruby
<apeiros> s/insecure/unsure/
inukshuk_ has quit [Client Quit]
ekinmur has joined #ruby
skweek has joined #ruby
JesseH has quit [Quit: Leaving]
Macaveli has joined #ruby
Macaveli has quit [Max SendQ exceeded]
s2013 has joined #ruby
joaquins has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Max SendQ exceeded]
skade has joined #ruby
B1n4r10 has joined #ruby
<joaquins> Hi, this code '%10.9f' % Time.now.to_f always show me time in milisecond not in nanosec, why?
futilegames has joined #ruby
<joaquins> like 1459950661.870000
<apeiros> it actually shows you time in seconds, not milliseconds
<apeiros> and "why" - because that's how Time#to_f is specified
Macaveli has joined #ruby
<joaquins> but if you specify '%10.9f' it must show u in nanosec
ChiefAlexander has quit [Remote host closed the connection]
duckpuppy has quit [Quit: WeeChat 1.4]
cdg has joined #ruby
<apeiros> no. why would it change the unit? that assertion makes no sense.
stannard has joined #ruby
duckpuppy has joined #ruby
dfinninger has joined #ruby
dfinninger has quit [Remote host closed the connection]
<oddmunds> maybe because a nanosecond is 10^−9 seconds
cdg has quit [Remote host closed the connection]
Rickmasta has quit [Ping timeout: 244 seconds]
<joaquins> yeah
cdg has joined #ruby
<apeiros> yeah, but methods do not change their return value based on how the return value is used
mtkd has quit [Ping timeout: 246 seconds]
<apeiros> never.
<oddmunds> but that is not how the formatting works
dfinninger has joined #ruby
<joaquins> but I onlu get millisec and the rest are zeros
shwouchkster has quit [Quit: Connection closed for inactivity]
griffindy has joined #ruby
kobain has joined #ruby
stannard has quit [Remote host closed the connection]
<apeiros> ah. I see. poorly phrased question.
<apeiros> your issue is not the unit but the precision.
duckpuppy has quit [Client Quit]
<joaquins> yes
<apeiros> maybe your OS' time() does not produce a precise enough time.
<apeiros> windows?
<joaquins> linux ubuntu 14.04
stannard has joined #ruby
mtkd has joined #ruby
<apeiros> I have a Ubuntu 14.04.3 LTS, and I get `"%10.9f" % Time.now.to_f` => "1459951087.750188351"
<apeiros> so… can't reproduce. seems like an issue with your box, not ruby.
duckpuppy has joined #ruby
whippythellama has joined #ruby
<apeiros> but given the poor phrasing - a) which version of ruby? b) how did you test?
<oddmunds> joaquins: what does $ date +%N give you?
<oddmunds> (on the command line)
<joaquins> i tested using Logstash
TomyWork has joined #ruby
<joaquins> I tried it and the OS can calculate Nanosec perfectly
<apeiros> ok, then what oddmunds asked, and additionally what's the output of `ruby -ve 'puts "%10.9f" % Time.now.to_f'` ?
<joaquins> 1459951245.604302883
ChiefAlexander has joined #ruby
JesseH has joined #ruby
<joaquins> so ruby is not the problem? the problem is logstash?
<workmad3> joaquins: the OS producing nanoseconds in time output doesn't mean it calculates them perfectly :)
<workmad3> but that's beside the point here, I guess
saneax_AFK is now known as saneax
<apeiros> that'd be my conclusion from that output
<apeiros> but keep in mind what the docs you linked above says with regards to float & nsec.
noService has quit [Ping timeout: 246 seconds]
<apeiros> "IEEE 754 double is not accurate enough to represent nanoseconds from the Epoch"
n1colas has quit [Quit: WeeChat 1.4]
grill has joined #ruby
n1colas has joined #ruby
n1colas has quit [Client Quit]
idle_task has joined #ruby
karmatr0n has joined #ruby
n1colas has joined #ruby
<mwlang> did ruby documention go all green and gray on me or am I hitting a site I haven’t hit before? docs.ruby-lang.org
n1colas has quit [Client Quit]
idletask has quit [Ping timeout: 276 seconds]
<mwlang> (never really paid attention since I just google “ruby hash class” etc.)
<joaquins> tried also Time.now.strftime("%9N") and don't work in Logstash ruby, but in the console works fine
<apeiros> mwlang: you probably wanted http://ruby-doc.org
dfinninger has quit []
nartes has joined #ruby
chouhoulis has quit [Remote host closed the connection]
rykou has quit [Quit: WeeChat 1.4]
zast has joined #ruby
n1colas has joined #ruby
<mwlang> apeiros: ah-ha! yeah, that’s it. and a few more searches and it looks like it’s been displaced from #1 spot in searches
smckee has joined #ruby
n008f4g_ has joined #ruby
rubie has joined #ruby
<mwlang> nevermind me…it’s hit and miss — not all cases.
pifon1 has quit [Ping timeout: 244 seconds]
krz has quit [Read error: Connection reset by peer]
mistermocha has quit [Remote host closed the connection]
dbugger has quit [Quit: Leaving]
bry4n has joined #ruby
crazydiamond has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
heyjim has joined #ruby
platzhirsch has joined #ruby
StyXman has joined #ruby
karmatr0n has joined #ruby
w0jtas has joined #ruby
pifon has joined #ruby
<w0jtas> hello, how can i install package A which require package B with making sure that B is installed with some particular version ?
<joaquins> solution: %x(date +%Y%m%d%H%M%N).gsub('\n','')
<jhass> w0jtas: desired_package_manager its_install_command name_of_package_A
Yeomra has joined #ruby
dhollinger has joined #ruby
Yeomra has quit [Client Quit]
Yeomra has joined #ruby
<w0jtas> jhass, what's that ? :O
gard has quit [Ping timeout: 248 seconds]
<jhass> the answer to your question, keeping the same level of abstraction ;)
r0b3rt has joined #ruby
<w0jtas> maybe i will put proper names :) i want to install inst-jobs , which try to install activesupport 5.0.0beta3 which complain that i need ruby2.2
<w0jtas> so i want inst-jobs but it should install activesupport 4.2.6 ( which met >3.2) version requirement and it won't complain about ruby 2.2
<jhass> tried installing activesupport 2.4.6 explicitly first?
<jhass> or use bundler and lock down the activesupport version
<jhass> or yet better update ruby ;)
<w0jtas> tried with activesupport first yeah
<w0jtas> but ok i have also rails which installs 5.0.0beta3 which might require still activesuport 5.0.0 and ruby 2.2 ;)
<w0jtas> will try rails 4.2.6 and again inst-jbos
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bollullera has joined #ruby
bluOxigen_ has quit [Remote host closed the connection]
mistermocha has joined #ruby
LastWhisper____ has joined #ruby
mhoungbo has joined #ruby
bluOxigen has joined #ruby
Yeomra has quit [Ping timeout: 260 seconds]
A124 has quit [Quit: '']
rodfersou is now known as rodfersou|lunch
TakG has joined #ruby
aganov has quit [Remote host closed the connection]
A124 has joined #ruby
bollullera has left #ruby [#ruby]
mistermocha has quit [Ping timeout: 248 seconds]
r0b3rt has quit [Remote host closed the connection]
StyXman has left #ruby [#ruby]
mistermocha has joined #ruby
banister has quit [Remote host closed the connection]
B1n4r10 has quit [Ping timeout: 244 seconds]
czerasz has joined #ruby
devbug has quit [Quit: ZZZzzz…]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zai00 has joined #ruby
nocontrol has quit []
karioleez has quit [Remote host closed the connection]
TakG has quit [Ping timeout: 246 seconds]
Yeomra has joined #ruby
codecop has joined #ruby
codecop_ has joined #ruby
codecop has quit [Client Quit]
Rickmasta has joined #ruby
scepticulous has quit [Ping timeout: 246 seconds]
ecnalyr has joined #ruby
statelesscode has quit [Quit: statelesscode]
antgel has quit [Ping timeout: 244 seconds]
smckee has quit [Remote host closed the connection]
mosez has quit [Quit: Switching back to real life]
mistermocha has quit [Remote host closed the connection]
rake_db__ has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
stantona has quit [Ping timeout: 248 seconds]
rake_db_migrate has quit [Read error: Connection reset by peer]
aegis3121 has quit [Ping timeout: 246 seconds]
Prominent has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Max SendQ exceeded]
floatingpoint has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
mhoungbo has quit [Remote host closed the connection]
mistermocha has joined #ruby
grill has quit [Ping timeout: 244 seconds]
davedev24 has joined #ruby
nickcampos has joined #ruby
platzhirsch has quit [Quit: Leaving.]
abyx has joined #ruby
croxer is now known as crowell
nfk|laptop has quit [Ping timeout: 244 seconds]
Pupp3tm4st3r has quit [Remote host closed the connection]
aegis3121 has joined #ruby
phpwebdev has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
mrgrieves has quit [Ping timeout: 264 seconds]
gard has joined #ruby
blackmesa has joined #ruby
x77686d has joined #ruby
gard has quit [Ping timeout: 248 seconds]
czerasz_ has joined #ruby
mhoungbo has joined #ruby
Yeomra has quit [Ping timeout: 252 seconds]
badleaf has joined #ruby
jpfuentes2 has quit [Quit: Textual IRC Client: www.textualapp.com]
mistermocha has joined #ruby
Rickmasta has quit [Ping timeout: 276 seconds]
bkxd has joined #ruby
anisha has quit [Quit: Leaving]
agit0 has quit [Quit: zzzZZZ….]
futilegames has quit [Quit: futilegames]
platzhirsch has joined #ruby
safe has joined #ruby
ericlee has quit [Ping timeout: 268 seconds]
bkxd has quit [Ping timeout: 240 seconds]
Rickmasta has joined #ruby
Guest38_ has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
n008f4g_ has quit [Ping timeout: 276 seconds]
Guest38_ has quit [Read error: Connection reset by peer]
nando293921 has joined #ruby
ramfjord has joined #ruby
ferr has quit [Ping timeout: 276 seconds]
solars has quit [Quit: WeeChat 0.4.2]
n008f4g_ has joined #ruby
solars has joined #ruby
Dimik has joined #ruby
malconis has quit [Quit: Textual IRC Client: www.textualapp.com]
elifoster has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
evie_hammond has quit [Ping timeout: 252 seconds]
malconis has joined #ruby
bry4n_ has joined #ruby
aufi has quit [Ping timeout: 248 seconds]
Devalo has joined #ruby
Rickmasta has quit [Ping timeout: 246 seconds]
bry4n has quit [Ping timeout: 244 seconds]
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
madgen has quit [Ping timeout: 264 seconds]
PedramT has joined #ruby
KensoDev has joined #ruby
jackjackdripper has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
davedev24 has quit [Remote host closed the connection]
Rickmasta has joined #ruby
krz has joined #ruby
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
PedramT has quit [Ping timeout: 244 seconds]
smckee has joined #ruby
agit0 has joined #ruby
gagrio is now known as gagrio-gone
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
polishdub has joined #ruby
chouhoulis has joined #ruby
smckee has quit [Remote host closed the connection]
crameth has quit [Quit: crameth]
dionysus69 has joined #ruby
darkxploit has quit [Quit: Leaving]
Yeomra has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
[Butch] has joined #ruby
Napear has quit [Quit: leaving]
tercenya has quit []
skade has joined #ruby
pifon has quit [Ping timeout: 244 seconds]
madgen has joined #ruby
glcx has quit [Quit: Quitte]
gregf has quit [Read error: No route to host]
gregf has joined #ruby
Rickmasta has quit [Ping timeout: 264 seconds]
mistermocha has quit [Remote host closed the connection]
marxarelli has joined #ruby
CausaMortis has quit [Ping timeout: 252 seconds]
mistermocha has joined #ruby
Regulati_ has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
hxegon has joined #ruby
fedexo has joined #ruby
djbkd has joined #ruby
Hoffman has joined #ruby
<Hoffman> Heya
Fredrich010 has quit [Remote host closed the connection]
<Hoffman> I'm looking at OpenURI code that says, puts open('http://internet.uri').read[559,441]
<Hoffman> I am trying to figure out what those parameters to .read mean
HouseMD has joined #ruby
<Hoffman> the docs say it's open(mode, perm, etc..), and that mode and perm are the same as Kernel#open.
mrgrieves has joined #ruby
<Hoffman> there doesnt appear to be documentation as to what mode and perm are for Kernel#open
<Hoffman> So how the heck can I figure out the definition of mode and perm
HouseMD has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 268 seconds]
HouseMD has joined #ruby
symm- has joined #ruby
czerasz_ has quit [Quit: Leaving]
<apeiros> Hoffman: they aren't parameters to read
<apeiros> read[x,y] is calling .[](x, y) on the result of read
<Hoffman> yeah, I see now they are array specs
<apeiros> um, no
<apeiros> read almost certainly returns a string
<Hoffman> I mean [x,y]
agit0 has quit [Quit: zzzZZZ….]
<rahc> Kernel.require file
<shevy> >> x = 'abc def'; x[3,2]
<ruby[bot]> shevy: # => " d" (https://eval.in/548732)
amclain has joined #ruby
<adaedra> Hoffman: also, be careful that IO.read (class/static method) is different from IO#read (instance method)
<apeiros> Hoffman: as said, that's a method call
<apeiros> foo[x,y] is not the same as [x,y]
<rahc> apparently, that is not calling the function in rubygems/core_ext/kernel_require.rb
<apeiros> former is a method call, latter is an array literal
<Hoffman> so it isnt treating the string returned by read as a character array?
<apeiros> &ri String#[] Hoffman
idle_task is now known as idletask
<Hoffman> got it
solars has quit [Ping timeout: 244 seconds]
<Hoffman> so suppose I did want to know what mode and perm were -- where would I find that
<Hoffman> nvm, I guess its just the same as a file read
djbkd has quit [Remote host closed the connection]
<rahc> I can't seem to find any definition of Kernel.require
<apeiros> &ri Kernel#require rahc
<shevy> VALUE rb_f_require(VALUE obj, VALUE fname)
<rahc> is it defined in a Ruby script?
djbkd has joined #ruby
czerasz has quit [Ping timeout: 244 seconds]
<shevy> C code
<Hoffman> actually, no
<adaedra> mh, this documentation code is all but useful.
<adaedra> s/code/link/
<Hoffman> OpenURI::OpenRead#open says that mode and perm are the same as defined here
<shevy> the docu also is lousy :(
<Hoffman> But that link doesnt define mode and perm
<Hoffman> :[
<apeiros> adaedra: oh, weird
baweaver has joined #ruby
<apeiros> adaedra: shouldn't it prefer core docs?
platzhirsch has quit [Quit: Leaving.]
<adaedra> &ri File.open Hoffman
<adaedra> If you look closely, there's a link to IO.new
<Hoffman> adaedra: I see that, but the docs refer to http://ruby-doc.org/stdlib-2.1.2/libdoc/open-uri/rdoc/Kernel.html#method-i-open
<adaedra> which explains everything you need to know
barajasfab has quit [Ping timeout: 244 seconds]
<Hoffman> adaedra: so how would I know to get to your link, from my link
<rahc> apeiros: there's something up with your bot; that page doesn't seem to document Kernel.require
<shevy> oh rubygems 2.6.3 is out
<adaedra> rahc: my apologizes for the bot; it's still being worked on and has some issues
stunder has joined #ruby
<shevy> it just needs some love
<adaedra> apeiros: i'm not sure it's a problem of preference to the core docs here — even if this is still not fixed currently.
Prominent has quit [Quit: Leaving]
djbkd has quit [Ping timeout: 252 seconds]
<Hoffman> adaedra: still not seeing the connection
joonty has quit [Ping timeout: 260 seconds]
tonini has quit [Quit: Connection closed for inactivity]
<adaedra> Hoffman: Kernel#open from openuri, which you found, overrides Kernel#open from core, which refers to IO.new for flags.
<adaedra> The link in the doc could be a bit better, I admit.
goglosh has joined #ruby
cbliard has quit [Quit: Leaving]
<Hoffman> adaedra: I see. so looking at openuri's Kernel#open, is there an indicator that it overrides core's Kernel#open?
<adaedra> But `ri Kernel#open` should have resolved this.
<Hoffman> just trying to figure out how to RTFM properly
<shevy> hehe
<adaedra> Hoffman: mainly knowledge that Kernel is a core class, and the tiny info provided by "Otherwise, the original #open is called."
<Hoffman> adaedra: first part makes sense
<shevy> module!
HouseMD is now known as GG
<adaedra> right, module
<Hoffman> as for the second, "the original #open" links to open-uri's Kernel#open
<Hoffman> :d
<adaedra> yeah, link is not right.
* Hoffman reads how to contribute to docs
<shevy> Hoffman do you know understand it :-)
<adaedra> But given how it's generated, I don't think it's easily fixable.
stantona has joined #ruby
<shevy> erm *now
<Hoffman> shevy: yes, thanks, and thanks to adaedra
<shevy> adaedra gets karma points!
* adaedra baps `derpy for not providing the most useful information
colegatron has joined #ruby
<apeiros> &cookie
bkxd has joined #ruby
<shevy> Hoffman btw ruby core teams reads https://bugs.ruby-lang.org/projects/ruby-trunk - if you really want to, you can file there, and perhaps prefix the title with [Doc] or [Documentation] or something like that
<Hoffman> thanks
n008f4g_ has quit [Ping timeout: 264 seconds]
snoobydoo has quit [Ping timeout: 268 seconds]
blackmesa has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
<adaedra> Hoffman: but my remark was not really on the link, more on the hint that this `open` is an override
Eiam_ has joined #ruby
n008f4g_ has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
PedramT has joined #ruby
djbkd has joined #ruby
VeryBewitching has joined #ruby
<VeryBewitching> o/
blackmesa has quit [Ping timeout: 276 seconds]
madgen has quit [Ping timeout: 246 seconds]
<shevy> witchcraft time has begun again
colegatron has quit [Quit: Leaving]
rake_db__ has quit [Remote host closed the connection]
Snowy has quit [Quit: ragequit]
terlar has quit [Ping timeout: 264 seconds]
TakG has joined #ruby
madgen has joined #ruby
ramfjord has joined #ruby
nfk has joined #ruby
crime has joined #ruby
haylon has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
smathy has joined #ruby
<crime> does anyone know how 'git commit' opens up $EDITOR with a temp file? I'd like to accomplish that with ruby, but I haven't had much luck with google-fu. I want to open a temp file in the user's preferred editor, and then receive that file as a File object in the program. any tips on where I should start reading?
n1colas has quit [Quit: WeeChat 1.4]
<crime> I really only need the contents of the file, after they are done, I guess
<haylon> export EDITOR=vim
<crime> right I know that
<Papierkorb> crime: Basically: system(ENV['EDITOR'], tempfile.path)
<crime> so it's actually writing a file, reading it, deleting it?
<Papierkorb> crime: 'tempfile' could be an instance of ::Tempfile, require 'tempfile' to use it (part of the ruby stdlib)
n1colas has joined #ruby
<crime> oh, didn't even know that. that's handy
<VeryBewitching> shevy: It's always witchcraft time somewhere in the world. :D
SCHAAP137 has joined #ruby
rake_db_migrate has joined #ruby
bodgix has left #ruby [#ruby]
mtkd has quit [Ping timeout: 244 seconds]
PedramT has quit [Remote host closed the connection]
blackmesa has joined #ruby
bodgix has joined #ruby
<Papierkorb> crime: Oh and of course check if $EDITOR is actually set beforehand. Else, you could fall back to a sensible default like 'vi' as last resort. vi is installed on every linux system I know of. That includes even OpenWrt (Routers).
lsmola has quit [Ping timeout: 260 seconds]
gizmore has joined #ruby
<crime> good call, that would
<Papierkorb> No idea if 'vi' is commonly distributed on other UNIXes though
<crime> would
<crime> would've got me yelled at
<crime> sorry, keyboard troubles apparently
ascarter has joined #ruby
<shevy> the cat
mtkd has joined #ruby
davedev24 has joined #ruby
<apeiros> Papierkorb: I expected to read 'ed' as a sensible default ;-)
PedramT has joined #ruby
rake_db_migrate has quit [Ping timeout: 248 seconds]
karioleez has joined #ruby
ascarter has quit [Max SendQ exceeded]
OTORelic has joined #ruby
lxsameer has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 248 seconds]
smckee has joined #ruby
GodFather has joined #ruby
<lxsameer> _ko1, ping
davedev24 has quit [Ping timeout: 248 seconds]
pifon has joined #ruby
<crime> perhaps I'm just an idiot
<crime> require 'tempfile' system(ENV['EDITOR'], Tempfile.new('your-text').path)
<crime> but that's not working, complains about system receiving nil for String
al2o3-cr has joined #ruby
<lianj> crime: editor env not set
n008f4g_ has quit [Ping timeout: 250 seconds]
<crime> 'env editor' on my machine brings up nano
Zai00 has quit [Quit: Zai00]
<workmad3> how about `echo $EDITOR`
smckee has quit [Ping timeout: 260 seconds]
<crime> I just confirmed that system('nano', blah blah) works
<workmad3> (seeing as env vars are case-sensitive and all)
gregf has quit [Quit: WeeChat 1.4]
<crime> oh
skislak has quit [Ping timeout: 252 seconds]
mark3 has quit [Remote host closed the connection]
<crime> that was it, working now. sorry bout that
<workmad3> heh
gregf has joined #ruby
<crime> thanks :) yeah I was sitting there like 'env editor' works just fine, so weird
<crime> forgot to turn my brain on
citrusfizz has joined #ruby
jmorgado has joined #ruby
<workmad3> crime: also, `env editor` will run the command `editor` after setting up an environment, iirc... so not indicative of environment variables either :)
<workmad3> crime: so it sounds like you've symlinked editor to nano at some point too
senayar has quit []
benlieb has joined #ruby
nofxx has joined #ruby
nofxx has joined #ruby
tvw has quit []
Xeago has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
stantona has quit [Ping timeout: 268 seconds]
baweaver has quit [Remote host closed the connection]
Eiam_ has joined #ruby
mrgrieves has quit [Ping timeout: 250 seconds]
saneax is now known as saneax_AFK
Eiam_ has quit [Client Quit]
dfockler has joined #ruby
vuashhhh has quit [Ping timeout: 244 seconds]
shinnya has joined #ruby
bluOxigen_ has joined #ruby
Zai00 has joined #ruby
_stu_ has quit [Ping timeout: 244 seconds]
_stu_ has joined #ruby
platzhirsch has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
fedexo has quit [Ping timeout: 268 seconds]
GodFather has quit [Ping timeout: 248 seconds]
vuashhhh has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
SHyx0rmZ has quit [Remote host closed the connection]
skweek has joined #ruby
<shevy> it was the cat!!!
davedev24 has joined #ruby
<shevy> is tempfile in-memory btw or will there be a file created? I am asking e. g. like when the filesystem may be unavailable
PedramT has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
<citrusfizz> quick and dirty question, i have an if statement that looks like this next if mystring !~ /critical/ && mystring !~ /warning/ is there a way to combine that into one check?
PedramT has joined #ruby
<citrusfizz> or is that the best way?
Musashi007 has joined #ruby
Couch has quit [Ping timeout: 244 seconds]
synthroid has quit [Remote host closed the connection]
<shevy> you could probably check for both in the regex, perhaps via the |
<shevy> I always assemble the regex on http://rubular.com/
Macaveli has joined #ruby
mikecmpbll has joined #ruby
<citrusfizz> i'm trying to find the least costly way to break my main loop if either of those words don't exist in the string i was thinking of using regex, but i guess i'd have to benchmark a couple different ways.
stantona has joined #ruby
<shevy> regex will usually be slower compared to non-regex checks for strings
smckee has joined #ruby
<shevy> I would use .include? in this case probably, not sure why you want a regex for strings there
<lianj> citrusfizz: Regexp.union("foo", "bar")
<citrusfizz> would .include? use less cycles you think?
mistermo_ has joined #ruby
<citrusfizz> thanks lianj
jaruga__ has quit [Quit: jaruga__]
FooMunki has quit [Quit: FooMunki]
<shevy> yeah
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrgrieves has joined #ruby
smckee has quit [Ping timeout: 260 seconds]
rodfersou|lunch is now known as rodfersou
mistermocha has quit [Ping timeout: 252 seconds]
jackjackdripper1 has joined #ruby
jackjackdripper1 has quit [Client Quit]
<lianj> shevy: before proving it don't say that doing .include? in the same string twice is slower than a regex check
LastWhisper____ has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
karapetyan has joined #ruby
madgen has joined #ruby
nanoz has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
mistermo_ has quit [Ping timeout: 260 seconds]
Guest78435 is now known as Cyrus
Cyrus has quit [Changing host]
Cyrus has joined #ruby
sesquipedalian has joined #ruby
weckl has quit [Quit: Leaving]
gard has joined #ruby
n008f4g_ has joined #ruby
smckee has joined #ruby
rcvalle has joined #ruby
HanaNix has joined #ruby
<c355e3b> anyone aware of some english language docs on digging into ruby's vms?
stantona has quit [Ping timeout: 268 seconds]
rykou has joined #ruby
jmorgado has quit [Ping timeout: 260 seconds]
Lomex has joined #ruby
crime has quit [Ping timeout: 250 seconds]
smckee has quit [Ping timeout: 264 seconds]
<chrisarcand> c355e3b: Like, how YARV works, etc?
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<c355e3b> yeah
wzy has joined #ruby
<c355e3b> well more focused on watching it at runtime
ekinmur has joined #ruby
<chrisarcand> I highly reccommend Pat Shaughnessy's book "Ruby Under a Microscope"
scootaloo has joined #ruby
<c355e3b> trying to read the c for the stuff, and its not verry clear yet
Zai00 has quit [Quit: Zai00]
goglosh has quit [Quit: leaving]
B1n4r10 has joined #ruby
platzhirsch has left #ruby [#ruby]
bkxd has joined #ruby
bluOxigen has joined #ruby
Xeago has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
rake_db_migrate has joined #ruby
rake_db_migrate has quit [Remote host closed the connection]
rake_db_migrate has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
bluOxigen_ has quit [Ping timeout: 250 seconds]
Cohedrin has joined #ruby
mosez has joined #ruby
cdg_ has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
spider-mario has joined #ruby
davedev24 has quit [Remote host closed the connection]
Xeago has joined #ruby
cdg has quit [Ping timeout: 250 seconds]
_stu_ has quit [Quit: _stu_]
HanaNix has quit [Quit: Textual IRC Client: www.textualapp.com]
nartes has quit [Read error: Connection reset by peer]
scootaloo has quit [Quit: Textual IRC Client: www.textualapp.com]
lxsameer has quit [Ping timeout: 244 seconds]
<citrusfizz> i tested .include and regex match, include? was a little more than twice as fast
<citrusfizz> now i'm going to test with multiple words to see if regex wins
hahuang61 has joined #ruby
jenrzzz has joined #ruby
mdw has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
<apeiros> citrusfizz: use =~, not match
godzillaenlacasa has quit [Quit: ZZZZZ....]
mdw has joined #ruby
dmr8 has joined #ruby
ChiefAlexander has joined #ruby
godzillaenlacasa has joined #ruby
<citrusfizz> for simple comparison looks like .include? wins easily
chipotle has quit [Quit: cheerio]
tvsutton has quit [Changing host]
tvsutton has joined #ruby
Rickmasta has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Zai00 has joined #ruby
Es0teric has joined #ruby
Macaveli has joined #ruby
Es0teric has quit [Max SendQ exceeded]
pawnbox has joined #ruby
Es0teric has joined #ruby
Renich has joined #ruby
TakG has quit [Read error: Connection reset by peer]
TakG has joined #ruby
finisherr has joined #ruby
baweaver has joined #ruby
platzhirsch has joined #ruby
rake_db_migrate has quit [Read error: Connection reset by peer]
stantona has joined #ruby
rake_db_migrate has joined #ruby
Xeago has quit [Remote host closed the connection]
s1kx has joined #ruby
Xeago has joined #ruby
<citrusfizz> include took 1978.7119440000001 milliseconds
<citrusfizz> match took 4390.0242929999995 milliseconds
<citrusfizz> =~ took 4661.655326 milliseconds
karapetyan has quit [Remote host closed the connection]
<apeiros> that sounds wrong. =~ should be faster than match.
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ekinmur has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
baweaver has quit [Ping timeout: 250 seconds]
<citrusfizz> i pasted my code if you wanna check it, i probably screwed something up
<apeiros> try using benchmark/ips
herberzt has joined #ruby
<apeiros> real time isn't what you should measure to begin with
<apeiros> but the difference is surprisingly large.
Musashi007 has quit [Quit: Musashi007]
<herberzt> quick Q. If i have a model called auctions and that has a has_may relationship is there a way to do something like auction.items.any.active? that will return true if active is true for any of auction.items?
PedramT has quit [Remote host closed the connection]
<herberzt> many relationship to item
<apeiros> ?rails herberzt
<ruby[bot]> herberzt: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<herberzt> yes
Rickmasta has quit [Ping timeout: 244 seconds]
OTORelic has quit [Quit: WeeChat 1.4]
GG has quit [Quit: Real eyes realize real lies....]
mrgrieves has quit [Ping timeout: 276 seconds]
GG has joined #ruby
snoobydoo has joined #ruby
tax has quit [Ping timeout: 260 seconds]
Xeago has quit [Remote host closed the connection]
mojca has joined #ruby
weemsledeux has joined #ruby
badleaf has quit [Ping timeout: 248 seconds]
smckee has joined #ruby
baweaver has joined #ruby
smckee has quit [Read error: Connection reset by peer]
smckee has joined #ruby
gard has quit [Remote host closed the connection]
PedramT has joined #ruby
smckee has quit [Remote host closed the connection]
smckee has joined #ruby
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
wzy has quit [Quit: Leaving]
malconis has quit [Remote host closed the connection]
nartes has joined #ruby
smckee has quit [Remote host closed the connection]
malconis has joined #ruby
kariolee_ has joined #ruby
vuashhhh has quit [Read error: Connection reset by peer]
zast has quit [Remote host closed the connection]
kariolee_ is now known as karioleez_
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
karioleez_ has quit [Client Quit]
kariolee_ has joined #ruby
kariolee_ is now known as karioleez_
karioleez has quit [Ping timeout: 240 seconds]
sauvin has quit [Read error: Connection reset by peer]
crdpink has quit [Ping timeout: 248 seconds]
crdpink has joined #ruby
<citrusfizz> user system total real
agit0 has joined #ruby
<citrusfizz> time for .include?
<citrusfizz> 1.840000 0.000000 1.840000 ( 1.829244)
<citrusfizz> time for match
<citrusfizz> 4.020000 0.220000 4.240000 ( 4.238741)
<citrusfizz> time for =~
<citrusfizz> 3.740000 0.770000 4.510000 ( 4.509846)
cdg_ has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 248 seconds]
crdpink has quit [Read error: Connection reset by peer]
crdpink has joined #ruby
BSaboia has joined #ruby
s2013 has joined #ruby
skade has joined #ruby
symm- has quit [Ping timeout: 260 seconds]
Rickmasta has joined #ruby
antgel has joined #ruby
Xeago has joined #ruby
Coldblackice has joined #ruby
edwinvdgraaf has joined #ruby
B1n4r10 has quit [Ping timeout: 276 seconds]
B1n4r10 has joined #ruby
s2013 has quit [Ping timeout: 244 seconds]
BrunoSaboia has joined #ruby
postmodern has joined #ruby
mwlang has quit [Quit: mwlang]
karioleez_ is now known as karioleez
Gasher has joined #ruby
Begi has joined #ruby
kariolee_ has joined #ruby
baweaver has quit [Remote host closed the connection]
smckee has joined #ruby
GodFather has joined #ruby
BSaboia has quit [Ping timeout: 252 seconds]
frem has joined #ruby
karioleez has quit [Ping timeout: 260 seconds]
SCHAAP137 has joined #ruby
nartes has quit [Read error: Connection reset by peer]
tercenya has joined #ruby
safe has quit [Read error: Connection reset by peer]
noService has joined #ruby
DoubleMalt has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
karapetyan has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
davedev24 has joined #ruby
herberzt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
leftpad has joined #ruby
diegoaguilar has quit [Ping timeout: 246 seconds]
rob_ has joined #ruby
jhack has joined #ruby
herberzt has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
blackmesa has quit [Ping timeout: 264 seconds]
mrgrieves has joined #ruby
davedev24 has quit [Ping timeout: 248 seconds]
<rob_> hi, can anyone tell me how i can access the methods in MyLogger in this example? https://gist.github.com/roobert/c9c4ec9e9e4d1e18b22dea9896543d83
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skweek has joined #ruby
<rob_> i think im misunderstanding modules and the meta clas
<rob_> s
mjuszczak has joined #ruby
<jhack> Anyone know how I can use react-native-fs to read a file I’ve taken, I’m testing it out on my android device but getting a “Error: File does not exist”, but if I try it on my emulator, it’d work
duckpuppy has quit [Ping timeout: 276 seconds]
<apeiros> jhack: wrong channel?
<jhack> MyLogger.logger ?
<jhack> yeah wrong chanel
<jhack> woopsie
<apeiros> rob_: you can't
<apeiros> rob_: you have to define those methods as instance methods
<apeiros> extend will add those as class method to Test
herberzt has quit [Client Quit]
dmr8 has quit [Read error: Connection reset by peer]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
dmr8 has joined #ruby
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<rob_> apeiros: can i adjust either class to make it work? sorry for being vague but do you know what i mean?
<apeiros> rob_: I already told you how to adjust it
mdw has quit [Ping timeout: 264 seconds]
sdothum has joined #ruby
<rob_> so i have to move the methods into the Test module?
<apeiros> no. that's not what I said.
<apeiros> all you have to do is change them from class to instance methods.
mdw has joined #ruby
evidex has quit [Remote host closed the connection]
<rob_> if i do that i still get no such method error
<apeiros> update your gist then
<apeiros> you can edit gists instead of using new ones. that's better since it retains history.
<rob_> noted
mojca has quit [Quit: mojca]
<apeiros> why did you change `info "hello"` to `MyLogger.info "hello"`?
futilegames has joined #ruby
<apeiros> line 27
<Begi> you should add the .rb extension to your file
<Begi> Easier to read for us :)
<apeiros> oh yes, that definitively too
_stu_ has joined #ruby
noService has quit [Ping timeout: 246 seconds]
<rob_> ah great, thanks for the tips
smckee has quit [Remote host closed the connection]
codezomb has joined #ruby
Rickmasta has quit [Ping timeout: 244 seconds]
noService has joined #ruby
B1n4r10 has quit [Ping timeout: 248 seconds]
Xeago has quit [Ping timeout: 250 seconds]
smckee has joined #ruby
smckee has quit [Remote host closed the connection]
smckee has joined #ruby
<smathy> Let's work this syllogism: P1: You can edit an existing gist. P2: adding an extension will make it easier for others to read. C: ?
n1colas has quit [Quit: WeeChat 1.4]
n1colas has joined #ruby
last_staff has joined #ruby
diegoaguilar has joined #ruby
rake_db__ has joined #ruby
drbrain has quit [Quit: Goodbye]
DoubleMalt has quit [Ping timeout: 244 seconds]
rake_db_migrate has quit [Ping timeout: 248 seconds]
smckee has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
Musashi007 has joined #ruby
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
DoubleMalt has joined #ruby
hahuang61 has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
Coldblackice_ has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
mistermocha has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 246 seconds]
Rickmasta has joined #ruby
troulouliou_dev has joined #ruby
rolha has quit [Read error: Connection reset by peer]
rolha has joined #ruby
troulouliou_dev has quit [Max SendQ exceeded]
troulouliou_dev has joined #ruby
troulouliou_dev has quit [Max SendQ exceeded]
myntcake has joined #ruby
mistermocha has joined #ruby
skweek has joined #ruby
troulouliou_dev has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drbrain has joined #ruby
stunder has quit [Ping timeout: 244 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has quit [Ping timeout: 276 seconds]
B1n4r10 has joined #ruby
madgen has quit [Ping timeout: 276 seconds]
troulouliou_dev has quit [Quit: Leaving]
madgen has joined #ruby
dxb has joined #ruby
PedramT has quit [Remote host closed the connection]
BrunoSaboia has quit [Ping timeout: 244 seconds]
Alayde has quit [Ping timeout: 244 seconds]
noname has quit [Quit: WeeChat 1.0.1]
mistermocha has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
Xeago has joined #ruby
Yeomra has quit [Quit: WeeChat 1.4]
tildes_ has joined #ruby
shmuli has joined #ruby
mistermocha has joined #ruby
ekinmur has joined #ruby
baweaver has joined #ruby
stunder has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
mistermocha has quit [Ping timeout: 276 seconds]
rake_db__ has quit [Read error: No route to host]
mojca has joined #ruby
rake_db_migrate has joined #ruby
Cohedrin has joined #ruby
stunder has quit [Ping timeout: 246 seconds]
Yeomra has joined #ruby
TakG has quit [Ping timeout: 248 seconds]
Musashi007 has quit [Quit: Musashi007]
GG is now known as CalvinKline
kariolee_ is now known as karioleez
nartes has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
futilegames has quit [Quit: futilegames]
jackjackdripper has joined #ruby
Musashi007 has joined #ruby
PedramT has joined #ruby
tildes_ has quit [Ping timeout: 248 seconds]
karapetyan has quit [Remote host closed the connection]
stunder has joined #ruby
elaptics is now known as elaptics`away
mistermocha has joined #ruby
karapetyan has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 248 seconds]
mjuszczak has quit []
dionysus69 has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
sepp2k has quit [Quit: Leaving.]
SHyx0rmZ has joined #ruby
rake_db_migrate has quit [Remote host closed the connection]
tty01 has joined #ruby
baweaver has quit [Remote host closed the connection]
futilegames has joined #ruby
smckee has joined #ruby
Rickmasta has joined #ruby
Alayde has joined #ruby
DonOtreply has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
rake_db_migrate has joined #ruby
smckee has quit [Ping timeout: 240 seconds]
noService has quit [Ping timeout: 246 seconds]
rake_db_migrate has quit [Remote host closed the connection]
CalvinKline is now known as GitGud
yqt has joined #ruby
rake_db_migrate has joined #ruby
B1n4r10 has quit [Ping timeout: 264 seconds]
trinaldi has quit [Quit: WeeChat 1.5-dev]
B1n4r10 has joined #ruby
symm- has joined #ruby
swills has quit [Ping timeout: 248 seconds]
futilegames has left #ruby [#ruby]
baweaver has joined #ruby
PedramT has quit [Remote host closed the connection]
yfeldblum has joined #ruby
crayon has quit [Quit: Leaving]
ssiris has joined #ruby
hahuang61 has joined #ruby
nartes has quit [Read error: Connection reset by peer]
baweaver has quit [Ping timeout: 250 seconds]
ixti has joined #ruby
dn` has quit [Quit: dn`]
blackgoat has joined #ruby
firstdayonthejob has joined #ruby
snoobydoo has quit [Ping timeout: 244 seconds]
snoobydoo has joined #ruby
codecop_ has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 252 seconds]
myntcake has quit [Quit: Leaving]
zeroDivisible has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
abyx has quit [Quit: This computer has gone to sleep]
abyx has joined #ruby
phpwebdev has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.4]
baweaver has joined #ruby
gnufied has quit [Quit: Leaving]
cdg has joined #ruby
Devalo has joined #ruby
cdg has quit [Read error: Connection reset by peer]
cdg has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
shpoont has joined #ruby
Uranio has joined #ruby
shpoont has quit [Max SendQ exceeded]
davedev24 has joined #ruby
johnmilton has quit [Quit: Namaste]
<Papierkorb> >> "foobar".hash
Fredrich010 has joined #ruby
<baweaver> Papierkorb: make sure you're auth'd
<adaedra> ^
<Papierkorb> baweaver: must've been disconnected at some point
<Papierkorb> >> "foobar".hash
<ruby[bot]> Papierkorb: # => -763253210 (https://eval.in/548834)
<adaedra> Papierkorb: SASL.
<Papierkorb> Anyway, String#hash is apparently not meant to be stored
<adaedra> indeed.
bluOxigen has quit [Ping timeout: 240 seconds]
mylord has left #ruby [#ruby]
smckee has joined #ruby
shpoont has joined #ruby
shpoont has quit [Max SendQ exceeded]
godzillaenlacasa has quit [Quit: ZZZZZ....]
<apeiros> Object#hash is seeded on ruby's start
banister has joined #ruby
shpoont has joined #ruby
chipotle has joined #ruby
pifon has quit [Quit: Leaving]
shpoont has quit [Max SendQ exceeded]
shpoont has joined #ruby
htmldrum has joined #ruby
shpoont has quit [Max SendQ exceeded]
Begi1 has joined #ruby
barajasfab has joined #ruby
Begi has quit [Ping timeout: 268 seconds]
Begi1 is now known as Begi
shpoont has joined #ruby
shpoont has quit [Max SendQ exceeded]
<strongcode> how can I execute ruby directly from the command line? I forget the flag
mdw has quit [Ping timeout: 246 seconds]
<havenwood> strongcode: -e
<havenwood> strongcode: see: ruby -h
<havenwood> or for more: man ruby
<strongcode> perfect, thank you!
<havenwood> you're welcome
Rickmasta has quit [Ping timeout: 244 seconds]
<eam> or perldoc perlrun for a more verbose rundown on option functions
_stu_ has quit [Quit: _stu_]
jenrzzz has quit [Ping timeout: 244 seconds]
<strongcode> can you use double quotes in ruby -e commands?
<strongcode> or do the inner ones need to be escaped ?
<eam> you can use any characters you wish, other than the nul byte
<Papierkorb> strongcode: That's up to your shell.
<eam> but if you're running the command from a shell you will need to take care regarding your shell's quoting rules
shpoont has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<strongcode> Will play around with it for a bit, thanks. One last question, can I pipe a file to ruby -e that will be accessed through ARGV array?
Ox0dea is now known as Ox0ded
shpoont has quit [Max SendQ exceeded]
<eam> arguments after the -e will be found in ARGV - no pipe involved
Rickmasta has joined #ruby
<eam> ruby -e'puts ARGV.inspect' a b c
<strongcode> I see. Sorry, man page could have answeered that for me
B1n4r10 has quit [Ping timeout: 246 seconds]
<Papierkorb> strongcode: you can also pipe a file into ruby and then process it. Examples: http://benoithamelin.tumblr.com/ruby1line
sdwrage has joined #ruby
<Papierkorb> strongcode: maybe this one's better https://robm.me.uk/ruby/2013/11/20/ruby-enp.html
<eam> -x is my favorite flag for that
<eam> say your buddy emails you and says "look at this cool ruby script" and then the next line is #!/usr/bin/ruby etc etc
tty01 has quit [Ping timeout: 260 seconds]
<eam> you can just pipe the entire email, headers and all, into ruby -x and it'll run it
B1n4r10 has joined #ruby
agent_white has joined #ruby
Renich has quit [Ping timeout: 248 seconds]
<strongcode> sweet, thank you for the links
_stu_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 264 seconds]
Devalo has quit [Remote host closed the connection]
shpoont has joined #ruby
antgel has quit [Ping timeout: 244 seconds]
skade has joined #ruby
vdamewood has joined #ruby
Uranio has quit [Quit: Leaving]
tty01 has joined #ruby
karapetyan has joined #ruby
sq271 has joined #ruby
Musashi007 has quit [Quit: Musashi007]
snoobydoo has quit [Ping timeout: 248 seconds]
vdamewood has quit [Max SendQ exceeded]
shellie_ has quit [Remote host closed the connection]
Musashi007 has joined #ruby
shpoont has quit [Quit: Textual IRC Client: www.textualapp.com]
ur5us has joined #ruby
diegoaguilar has quit [Ping timeout: 244 seconds]
smckee has quit [Remote host closed the connection]
vdamewood has joined #ruby
smckee has joined #ruby
OTORelic has joined #ruby
patrick-sartent has quit [Quit: .]
scepticulous has joined #ruby
wlos has joined #ruby
KensoDev has quit [Quit: Textual IRC Client: www.textualapp.com]
GodFather has quit [Ping timeout: 268 seconds]
smckee has quit [Remote host closed the connection]
solocshaw has joined #ruby
Renich has joined #ruby
slackbotgz has joined #ruby
moeabdol1 has quit [Ping timeout: 246 seconds]
rykou has quit [Quit: WeeChat 1.4]
Rickmasta has quit [Ping timeout: 260 seconds]
dmr8 has quit [Quit: Leaving]
Musashi007 has quit [Quit: Musashi007]
smckee has joined #ruby
gregf has joined #ruby
mojca has quit [Quit: mojca]
xalupeao has joined #ruby
KensoDev has joined #ruby
Fredrich010 has quit []
diegoaguilar has joined #ruby
jenrzzz_ has joined #ruby
ramfjord_ has joined #ruby
elifoster has quit [Ping timeout: 248 seconds]
mojca has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 246 seconds]
tax has joined #ruby
mhoungbo has quit [Quit: Quitte]
edwinvdgraaf has quit [Remote host closed the connection]
hahuang61 has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
firstdayonthejob has quit [Ping timeout: 264 seconds]
jgt4 has joined #ruby
wlos has quit [Read error: No route to host]
wlos has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jgt3 has quit [Ping timeout: 244 seconds]
hahuang61 has quit [Ping timeout: 248 seconds]
tty01 has quit [Ping timeout: 276 seconds]
Rickmasta has joined #ruby
hxegon has quit [Quit: BRB]
karmatr0n has joined #ruby
theery has joined #ruby
sepp2k has joined #ruby
Selby has joined #ruby
shmuli has quit [Remote host closed the connection]
<Selby> hello
<Selby> can someone give me an excellent beginner programming idea
fostertheweb has joined #ruby
shmuli has joined #ruby
<Selby> like an idea for a beginner program to make for a first big ruby project
ldnunes has quit [Quit: Leaving]
Selby is now known as Deathfacejackal
<Deathfacejackal> this is Selby
<Ox0ded> Deathfacejackal: How about a text adventure?
shmuli has quit [Remote host closed the connection]
kies has quit [Ping timeout: 276 seconds]
<Deathfacejackal> good idea worked on one a while back but i got too into it until it got over my head and i lost control lol
<Ox0ded> Fresh eyes always see clearer.
ChiefAlexander has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 244 seconds]
Begi has left #ruby [#ruby]
firstdayonthejob has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
abyx has quit [Quit: This computer has gone to sleep]
zeroDivisible has quit [Quit: WeeChat 1.4]
tax has quit [Ping timeout: 276 seconds]
Deathfacejackal has quit [Ping timeout: 244 seconds]
bkxd has joined #ruby
djbkd has quit [Remote host closed the connection]
theery has quit []
shmuli has joined #ruby
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
fostertheweb has quit [Quit: Textual IRC Client: www.textualapp.com]
bkxd has quit [Ping timeout: 248 seconds]
HanaNix has joined #ruby
chipotle has quit [Quit: cheerio]
Rickmasta has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
ssiris has quit [Quit: End of Line]
chipotle has joined #ruby
Rickmasta has joined #ruby
slackbotgz has quit [Remote host closed the connection]
hxegon has joined #ruby
diegoaguilar has quit [Ping timeout: 276 seconds]
HanaNix has quit [Client Quit]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aupadhye has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
jt__ has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
kirillzh has joined #ruby
abyx has joined #ruby
kirillzh has quit [Client Quit]
[Butch] has quit [Quit: I'm out . . .]
jenrzzz_ has quit [Ping timeout: 276 seconds]
ta_ has joined #ruby
banister has quit [Remote host closed the connection]
banister has joined #ruby
Musashi007 has joined #ruby
edwinvdgraaf has joined #ruby
last_staff has quit [Quit: last_staff]
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jt__ has quit [Remote host closed the connection]
ivanskie_work_ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
ChiefAlexander has joined #ruby
djbkd has joined #ruby
ta_ has quit [Ping timeout: 246 seconds]
pandaant has quit [Remote host closed the connection]
pawnbox has joined #ruby
jenrzzz has joined #ruby
ssiris has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cheerio]
blackmesa has quit [Ping timeout: 244 seconds]
baweaver has quit [Remote host closed the connection]
haylon has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 248 seconds]
andywojo has quit [Ping timeout: 252 seconds]
nickcampos has quit [Ping timeout: 264 seconds]
swills has joined #ruby
Ormm has joined #ruby
chiru has joined #ruby
ensyde_ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Quit: Leaving.]
ChiefAlexander has quit [Remote host closed the connection]
Madplatypus has joined #ruby
aeterne has joined #ruby
baweaver has joined #ruby
andywojo has joined #ruby
PedramT has joined #ruby
barajasfab has quit [Quit: Leaving]
sonOfRa has quit [Max SendQ exceeded]
akkad has left #ruby ["ERC (IRC client for Emacs 24.5.50.1)"]
ocbtec has quit [Quit: leaving]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dhollinger has quit [Quit: WeeChat 1.4]
Seich has quit [Ping timeout: 248 seconds]
karioleez has quit [Remote host closed the connection]
B1n4r10 has quit [Ping timeout: 260 seconds]
sonOfRa has joined #ruby
baweaver has quit [Ping timeout: 248 seconds]
Seich has joined #ruby
neanderslob has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
andywojo has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
neanderslob_ has joined #ruby
abyx has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
Lomex has quit [Remote host closed the connection]
mojca has quit [Quit: mojca]
hahuang61 has quit [Ping timeout: 250 seconds]
VeryBewitching has quit [Quit: Konversation terminated!]
wlos has quit [Quit: Konversation terminated!]
baweaver has quit [Remote host closed the connection]
joaumg has quit [Quit: leaving]
GitGud has quit [Quit: Real eyes realize real lies....]
hahuang61 has joined #ruby
swills has quit [Remote host closed the connection]
OTORelic has quit [Ping timeout: 250 seconds]
biberu has quit []
diegoaguilar has joined #ruby
ChiefAlexander has joined #ruby
chiru has left #ruby ["Leaving"]
ChiefAlexander has quit [Client Quit]
andywojo has joined #ruby
Musashi007 has quit [Quit: Musashi007]
mistermo_ has joined #ruby
thomasfedb_ has quit [Ping timeout: 244 seconds]
thomasfedb has joined #ruby
thomasfedb has quit [Changing host]
thomasfedb has joined #ruby
mistermocha has quit [Ping timeout: 248 seconds]
andywojo has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 260 seconds]
baweaver has joined #ruby
Balzrael has quit [Quit: Leaving]
skweek has joined #ruby
darkf has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
kies has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
bry4n_ has quit [Ping timeout: 268 seconds]
zenlot has joined #ruby
TheNet has joined #ruby
Xeago has quit [Remote host closed the connection]
zenlot6 has quit [Ping timeout: 244 seconds]
gizmore has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
Xeago has joined #ruby
kies has quit [Ping timeout: 244 seconds]
BSaboia has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
Xeago has quit [Ping timeout: 246 seconds]
<shevy> lianj hey buddy - if I am interested in your opinion I'll let you know by a call
QualityAddict has quit [Quit: Konversation terminated!]
benlieb has quit [Quit: benlieb]
mrgrieves has quit [Ping timeout: 240 seconds]
platzhirsch has quit [Ping timeout: 260 seconds]
anthony has joined #ruby
_blizzy_ has quit [Disconnected by services]
anthony is now known as _blizzy_
ur5us_ has joined #ruby
Musashi007 has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
dfockler has quit [Ping timeout: 244 seconds]
noService has joined #ruby
weemsledeux has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us_ has quit [Ping timeout: 244 seconds]
madgen has quit [Ping timeout: 264 seconds]
noService has quit [Ping timeout: 246 seconds]
mistermo_ has quit [Remote host closed the connection]
xalupeao has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
Zai00 has quit [Quit: Zai00]
Regulati_ has quit [Remote host closed the connection]
andywojo has joined #ruby
jhack has quit [Quit: jhack]
smckee has quit [Remote host closed the connection]
benlieb has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
weemsledeux has joined #ruby
firstdayonthejob has quit [Ping timeout: 244 seconds]
Musashi007 has quit [Quit: Musashi007]
rake_db_migrate has quit [Remote host closed the connection]
rake_db_migrate has joined #ruby
zenspider has joined #ruby
Musashi007 has joined #ruby
zenspider has quit [Changing host]
zenspider has joined #ruby
whippythellama has quit [Quit: WeeChat 1.4]
karapetyan has quit [Ping timeout: 244 seconds]
<zenspider> what'd I miss??
<eam> little bit of ruby, whole lotta questions
<havenwood> little green "Verified" boxes on the Githubs
toretore has joined #ruby
tubuliferous has quit [Quit: ZNC - http://znc.in]
<eam> oh and phones are computers now. And no one rides horses anymore
chouhoulis has joined #ruby
rubie has quit [Remote host closed the connection]
<havenwood> Bug reported that seat is not moving up and down as expected like a horse. Please fix.
rbennacer has quit [Remote host closed the connection]
nitrix is now known as horse
horse is now known as nitrix
rbennacer has joined #ruby
ramfjord_ has quit [Ping timeout: 276 seconds]
rake_db_migrate has quit [Ping timeout: 268 seconds]
SCHAAP137 has quit [Quit: Leaving]
saneax_AFK is now known as saneax
yfeldblum has quit [Read error: Connection reset by peer]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
malconis has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 252 seconds]
Alayde has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
bkxd has joined #ruby
Ropeney has joined #ruby
smckee has joined #ruby
jenrzzz has joined #ruby
_blizzy_ has quit [Ping timeout: 264 seconds]
swills has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
babblebre has joined #ruby
n008f4g_ has joined #ruby
<zenspider> eam: no horses?!? how will I get anywhere?
goglosh has joined #ruby
rake_db_migrate has joined #ruby
<eam> uber
tubuliferous has joined #ruby
GodFather has joined #ruby
hxegon has quit [Quit: BRB]
<smathy> ...don't freak out, there's NOT a tiny orchestra stuffed in the front.
jhack has joined #ruby
rbennacer has quit [Remote host closed the connection]
rake_db_migrate has quit [Remote host closed the connection]
rake_db_migrate has joined #ruby
Azure|dc has joined #ruby
JesseH2 has joined #ruby
spider-mario has quit [Remote host closed the connection]
jhack has quit [Client Quit]
Azure has quit [Ping timeout: 252 seconds]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
OTORelic has joined #ruby
mrgrieves has joined #ruby
rubie has joined #ruby
duderonomy has quit [Ping timeout: 260 seconds]
DLSteve has joined #ruby
BSaboia has quit [Ping timeout: 244 seconds]
goglosh has quit [Quit: leaving]
ta_ has joined #ruby
finisherr has quit [Quit: finisherr]
mrgrieves has quit [Ping timeout: 244 seconds]
ekinmur has joined #ruby
baweaver has quit [Remote host closed the connection]
hxegon has joined #ruby
TheNet has joined #ruby
yohle has joined #ruby
hahuang65 has joined #ruby
Uranio has joined #ruby
cdg has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 246 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
hahuang61 has quit [Ping timeout: 264 seconds]
Cohedrin has joined #ruby
Cohedrin has quit [Max SendQ exceeded]
Musashi007 has quit [Quit: Musashi007]
yohle has quit [Quit: Textual IRC Client: www.textualapp.com]
devbug has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
_stu_ has quit [Quit: _stu_]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
cdg has quit [Ping timeout: 244 seconds]
OTORelic has quit [Ping timeout: 260 seconds]
rolha has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stunder has quit [Ping timeout: 248 seconds]
baweaver has joined #ruby