« Back to channel list

#ruby - 06 April 2016

« Back 1 day Forward 1 day »
[00:01:10] eam: perl6 -e'sub postfix:<:^)> { "$^a has the best operators" }; say "perl6".:^)'
[00:03:18] Ox0dea: s/the best/all the/
[00:04:09] Ox0dea: http://i.imgur.com/J9Ivpe2.jpg
[00:04:12] ekinmur: has joined #ruby
[00:04:27] karioleez: has joined #ruby
[00:04:58] davedev24: has joined #ruby
[00:06:01] stardiviner: has joined #ruby
[00:06:08] eam: and those are just the stock ones
[00:06:27] eam: perl6 -e'sub infix:<¯\(°_o)/¯> { ($^a, $^b).pick }; say "coke" ¯\(°_o)/¯ "pepsi"'
[00:06:57] eam: with a nod to http://tpm2016.zoffix.com/#/14
[00:07:24] eam: these are all well considered, reasonable language features
[00:08:50] rkazak: has joined #ruby
[00:10:28] tAn: has joined #ruby
[00:13:06] mojca: has joined #ruby
[00:13:12] griffindy: has joined #ruby
[00:13:51] duckpuppy: has joined #ruby
[00:13:56] lomex: has joined #ruby
[00:14:59] goglosh: eam looks like legit perl
[00:15:18] slackbotgz: has joined #ruby
[00:15:55] stannard: has joined #ruby
[00:17:15] goglosh: hmmm there should be a language with unicode operators
[00:17:31] baweaver: you mean swift?
[00:17:35] goglosh: something that makes your source code look like a screencap from dwarf fortress
[00:17:40] goglosh: swift does that?
[00:17:47] baweaver: It has emoticon support too
[00:19:09] blackmesa: has joined #ruby
[00:20:16] goglosh: eam's was actually valid perl6
[00:20:23] coffeecupp: has joined #ruby
[00:20:58] ruby[bot]: -b ruralhack!*@*$#ruby-banned
[00:21:20] mistermocha: has joined #ruby
[00:21:24] baweaver: surprising no one.
[00:21:36] znz_jp: has joined #ruby
[00:21:38] shevy: he is the last person on #ruby to still know perl
[00:22:30] karioleez: has joined #ruby
[00:24:17] baweaver: I wouldn't put it past Ox0dea
[00:25:58] ruby[bot]: -b ruralhack!*@*
[00:26:12] Wolland: has joined #ruby
[00:26:24] eam: goglosh: that language would be perl6
[00:26:36] Ox0dea: But also Haskell.
[00:26:46] eam: any reasonable language, frankly
[00:26:49] Ox0dea: The inspiration behind Perl 6's adoption, if I'm not mistaken.
[00:27:05] Ox0dea: Being able to specify fixity and all that.
[00:27:33] rickmasta: has joined #ruby
[00:28:10] goglosh: yeah I should get a job programming perl, I could be playing dwarffortress all day
[00:29:46] 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.
[00:31:35] eam: is this where I point out that perl5's parser is 1/10 the size of ruby's?
[00:33:59] sudoubuntu: has joined #ruby
[00:36:24] eam: <3 ruby, even if <3 can't be an operator here
[00:37:46] paradisaeidae: has joined #ruby
[00:39:02] goglosh: can >implying be an operator?
[00:39:47] baweaver: >> class Fixnum;def ♥(o) self+o end; end; 4.♥ 5
[00:39:48] ruby[bot]: baweaver: # => 9 (https://eval.in/548194)
[00:40:12] baweaver: not sure how to define an operator perse
[00:40:51] karioleez: has joined #ruby
[00:41:06] goglosh: >> "\n".to_sym
[00:41:07] ruby[bot]: goglosh: # => :"\n" (https://eval.in/548195)
[00:41:13] goglosh: symbols with quotation marks
[00:42:35] goglosh: lemme find out how to dinamically define a function and make ruby look more like perl
[00:42:35] toretore: has joined #ruby
[00:42:52] Musashi007: has joined #ruby
[00:43:05] baweaver: define_method
[00:43:18] Ox0dea: baweaver: Maybe some day: https://bugs.ruby-lang.org/issues/8437
[00:43:23] goglosh: baweaver: thanks
[00:43:27] tjohnson: has joined #ruby
[00:44:01] Inside: has joined #ruby
[00:44:01] Inside: has joined #ruby
[00:44:52] Tempesta: has joined #ruby
[00:45:04] dfinninger: has joined #ruby
[00:45:41] goglosh: now how do i call it ;_;
[00:46:23] shmuli: has joined #ruby
[00:46:39] baweaver: >> define_method(:foo) do 5 end; foo
[00:46:40] ruby[bot]: baweaver: # => 5 (https://eval.in/548196)
[00:48:13] gregf: has joined #ruby
[00:49:05] goglosh: >> define_method(" ".to_sym) do p "hey" end; send " "
[00:49:06] ruby[bot]: goglosh: # => "hey" ...check link for more (https://eval.in/548198)
[00:49:17] goglosh: this is fun
[00:54:07] Ox0dea: >> send define_method('') { send '' }
[00:54:08] ruby[bot]: Ox0dea: # => stack level too deep (SystemStackError) ...check link for more (https://eval.in/548199)
[00:54:12] Ox0dea: Well, shucks.
[00:55:05] SenpaiSilver: has joined #ruby
[00:55:46] jottr: has joined #ruby
[00:58:19] eam: >> mystery = methods.sample; send mystery, *Array.new(method(mystery).arity.abs) { ObjectSpace.each_object.to_a.sample }
[00:58:20] ruby[bot]: eam: # => class or module required (TypeError) ...check link for more (https://eval.in/548200)
[00:58:47] karioleez: has joined #ruby
[00:58:53] eam: no matter your ruby skill you cannot predict what that will do
[00:58:59] Ox0dea: Gimme the seed.
[00:59:10] eam: oh man, that'd be fantastic
[00:59:25] Ox0dea: You can actually get hold of it pretty easily.
[00:59:26] SenpaiSilver: has joined #ruby
[00:59:41] eam: it'd be hard to find a stable result across interpreters though
[00:59:48] Ox0dea: That it would.
[00:59:59] eam: but if you could, you could totally find seeds that did Bad Things
[01:00:20] eam: the bad seed, jokes write themselves
[01:02:48] hahuang65: has joined #ruby
[01:02:53] ekinmur: has joined #ruby
[01:03:12] Musashi007: has joined #ruby
[01:04:34] barajasfab: has joined #ruby
[01:04:37] mojca: how can I install rails with nokogiri 1.6.8.rc3 (because building 1.6.7 fails for me)?
[01:05:21] smckee: has joined #ruby
[01:05:49] neanderslob_: has joined #ruby
[01:06:34] jenrzzz: has joined #ruby
[01:08:05] mistermocha: has joined #ruby
[01:08:05] j0bk: has joined #ruby
[01:08:10] patrick-sartent: has joined #ruby
[01:08:11] cdg: has joined #ruby
[01:08:55] darix: mojca: what fails with 1.6.7?
[01:09:24] mojca: darix: it's probably irrelevant, but here's the ticket: https://github.com/sparklemotion/nokogiri/issues/1423
[01:10:37] darix: that conftest lacks -liconv
[01:11:23] darix: mojca: you could try something like export CFLAGS="-liconv" before gem install
[01:11:57] mojca: but is the latest version of rails incompatible with nokogiri 1.6.8.rc3?
[01:12:34] darix: i dont know
[01:12:44] mojca: that should probably be LDFLAGS anyway
[01:13:07] darix: i know cflags is picked up. ldflags would be more correct true.
[01:13:40] mojca: in case it is not incompatible, can I tell gem to use 1.6.8.rc3?
[01:13:52] darix: in the gemfile
[01:14:16] mojca: and how should I edit the gemfile before installing rails?
[01:14:24] mojca: I'm a complete newbie
[01:15:04] darix: mojca: try this: gem install -v 1.6.8.rc3 nokogiri ; gem install --conservative rails
[01:16:54] karioleez: has joined #ruby
[01:17:48] htmldrum: has joined #ruby
[01:18:30] noname: has joined #ruby
[01:18:38] eam: has joined #ruby
[01:18:54] mojca: darix: thank you, but no, --conservative doesn't help, it still tries to build 1.6.7.2
[01:18:59] tAn: has joined #ruby
[01:19:11] diegoviola: has joined #ruby
[01:19:15] mistermocha: has joined #ruby
[01:20:38] smckee: has joined #ruby
[01:20:43] Tempesta: has joined #ruby
[01:22:02] magikid: has joined #ruby
[01:22:35] darix: mojca: does the -liconv help?
[01:26:38] mojca: darix: no
[01:26:50] darix: this all might be easier if you have libxml/libxslt installed in system instead of using the intree copy of them.
[01:27:33] mojca: I do, but I want to avoid linking against it at all costs because the next update of that library will break nokogiri
[01:27:33] karioleez: has joined #ruby
[01:27:44] jenrzzz: has joined #ruby
[01:29:02] jottr: has joined #ruby
[01:29:47] mojca: all I want to do is try building rails against the latest nokogiri, but I don't know how to do it
[01:31:09] hahuang65: has joined #ruby
[01:32:28] mojca: I tried gem unpack -v 5.0.0.beta3 rails, but I get just README.md
[01:32:39] darix: mojca: well for fun and giggles try this for a moment:
[01:32:54] darix: export NOKOGIRI_USE_SYSTEM_LIBRARIES=1
[01:32:57] darix: and see if it works
[01:33:17] mojca: I tried it in the past already and it did
[01:33:31] mojca: even though slightly differently
[01:33:47] CloCkWeRX: has joined #ruby
[01:34:13] darix: gem install nokogiri -- --use-system-libraries
[01:34:28] darix: imho that is the clean solution to your problem
[01:35:29] 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
[01:36:31] mojca: the problem is that by using system libraries, rails will stop working at first occasion
[01:36:45] dvinciguerra__: has joined #ruby
[01:36:47] smckee: has joined #ruby
[01:37:09] nando293921: has joined #ruby
[01:38:03] hahuang61: has joined #ruby
[01:38:12] mojca: for example when someone decides to upgrade libxml2 2.9.2 to 2.9.3
[01:38:31] mojca: (even if that someone happens to be me at the end)
[01:39:49] paradisaeidae: has joined #ruby
[01:40:48] darix: mojca: because of ~> 1.6.0 in rails-dom-testing
[01:40:54] darix: which doesnt allow prereleases it seems
[01:41:43] 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
[01:41:56] darix: then you just reinstall nokogiri against 2.9.3 if you want to get rid of the warning
[01:41:59] darix: and all is good again
[01:42:23] 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.
[01:43:37] mistermocha: has joined #ruby
[01:43:58] babblebre: has joined #ruby
[01:44:17] Tempesta: has joined #ruby
[01:44:34] moei: has joined #ruby
[01:46:16] karioleez: has joined #ruby
[01:49:55] stannard: has joined #ruby
[01:51:04] mojca: but on the other hand if I accidentally uninstall libxml2, my rails installation will be broken
[01:51:43] RegulationD: has joined #ruby
[01:51:57] 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
[01:52:36] mojca: but talking about security updates in rails is a bit problematic anyway
[01:53:22] nullwarp: has joined #ruby
[01:53:51] 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
[01:54:00] ramfjord: has joined #ruby
[01:55:09] dstarh: has joined #ruby
[01:56:38] mtkd: has joined #ruby
[01:57:45] johnmilton: has joined #ruby
[01:59:26] edwinvdgraaf: has joined #ruby
[02:00:06] fumihiro: has joined #ruby
[02:02:33] HouseMD: has joined #ruby
[02:02:50] pawnbox: has joined #ruby
[02:04:21] karioleez: has joined #ruby
[02:04:41] jdawgaz: has joined #ruby
[02:05:08] pawnbox: has joined #ruby
[02:07:21] rake_db_migrate: has joined #ruby
[02:07:29] aibot: has joined #ruby
[02:08:21] diego2: has joined #ruby
[02:10:25] x77686d: has joined #ruby
[02:10:36] mtkd: has joined #ruby
[02:11:03] rake_db_migrate: has joined #ruby
[02:11:23] hahuang61: has joined #ruby
[02:13:17] pifon: has joined #ruby
[02:13:23] jackjackdripper1: has joined #ruby
[02:14:37] fumihiro: has joined #ruby
[02:18:53] mojca: has joined #ruby
[02:19:13] chipotle: has joined #ruby
[02:19:40] 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.
[02:20:04] havenwood: modin: sorry, misstell
[02:20:15] havenwood: mojca: https://github.com/YorickPeterse/oga
[02:20:29] havenwood: mojca: https://github.com/sparklemotion/nokogiri/pull/923
[02:21:53] jtoy: has joined #ruby
[02:23:29] devbug: has joined #ruby
[02:27:24] tAn: has joined #ruby
[02:28:19] 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
[02:31:22] pawnbox: has joined #ruby
[02:36:11] pawnbox_: has joined #ruby
[02:36:59] IrishGringo: has joined #ruby
[02:37:19] tmtwd: has joined #ruby
[02:38:30] sudoubuntu: has joined #ruby
[02:39:42] shevy: the joy of building a castle made of sand, on sand
[02:42:43] havenwood: shevy: your sand is actually past end-of-life, it is deprecated sand
[02:42:56] sudoubuntu: has joined #ruby
[02:44:07] benlieb: has joined #ruby
[02:44:21] shevy: it definitely is not getting any better!
[02:44:25] Digpig: has joined #ruby
[02:45:56] StevenXL: has joined #ruby
[02:45:59] phredus: has joined #ruby
[02:46:55] chagel: has joined #ruby
[02:47:25] shevy: new way to write documentation :) https://github.com/araipiyo/egalite
[02:48:50] djbkd: has joined #ruby
[02:53:02] goglosh: what's the difference between lambda and do?
[02:53:07] benlieb: has joined #ruby
[02:55:42] fumihiro: has joined #ruby
[02:56:00] baweaver: has joined #ruby
[02:56:25] blackmesa: has joined #ruby
[02:59:24] Ox0dea: goglosh: https://www.youtube.com/watch?v=VBC-G6hahWA
[03:01:47] znz_jp: has joined #ruby
[03:03:19] chipotle: has joined #ruby
[03:03:33] RickHull: has joined #ruby
[03:03:59] jenrzzz: has joined #ruby
[03:04:59] Chagel_: has joined #ruby
[03:05:20] workmad3: has joined #ruby
[03:05:57] sudoubuntu: has joined #ruby
[03:06:11] shmuli: has joined #ruby
[03:07:52] karioleez: has joined #ruby
[03:08:24] zast: has joined #ruby
[03:08:32] qhp: has joined #ruby
[03:09:02] tax: has joined #ruby
[03:09:06] sudoubuntu: has joined #ruby
[03:09:16] diego4: has joined #ruby
[03:09:39] Devalo: has joined #ruby
[03:11:35] B1n4r10: has joined #ruby
[03:11:59] paradisaeidae: has joined #ruby
[03:13:05] dstarh: has joined #ruby
[03:14:35] devbug: has joined #ruby
[03:14:47] youch: has joined #ruby
[03:15:41] tax: has joined #ruby
[03:16:58] braincrash: has joined #ruby
[03:17:00] weemsledeux: has joined #ruby
[03:17:18] karioleez: has joined #ruby
[03:17:25] fedexo: has joined #ruby
[03:18:24] elifoster: has joined #ruby
[03:19:51] shevy: goglosh lambda is more sophistic than a do/end block
[03:20:52] arescorpio: has joined #ruby
[03:21:23] shevy: like, you can easily .call on lambda
[03:22:17] lkba_: has joined #ruby
[03:22:55] speaking1ode: has joined #ruby
[03:23:10] BtcBen: has joined #ruby
[03:23:14] ericn81: has joined #ruby
[03:24:05] shevy: I don't even know if you can uncouple a do/end block and attach it onto another method ... hmmm
[03:24:38] diego4: has joined #ruby
[03:25:55] Rubie: has joined #ruby
[03:27:00] Ox0dea: >> def foo; yield + 25 end; def bar; foo &proc end; bar { 17 }
[03:27:02] ruby[bot]: Ox0dea: # => 42 (https://eval.in/548224)
[03:28:10] ramfjord: has joined #ruby
[03:30:25] paradisaeidae_: has joined #ruby
[03:31:28] Es0teric: has joined #ruby
[03:32:07] Es0teric: has joined #ruby
[03:32:47] gix: has joined #ruby
[03:33:54] chagel: has joined #ruby
[03:34:29] karmatr0n: has joined #ruby
[03:35:29] InfinityBear: has joined #ruby
[03:35:34] karioleez: has joined #ruby
[03:36:03] zzak: has joined #ruby
[03:37:21] tAn: has joined #ruby
[03:39:17] jtoy: has joined #ruby
[03:39:46] B1n4r10: has joined #ruby
[03:42:18] Madplatypus: has joined #ruby
[03:42:38] Yzguy: has joined #ruby
[03:47:00] youch: has joined #ruby
[03:47:04] plonk: has joined #ruby
[03:47:04] plonk: has joined #ruby
[03:48:28] mtkd: has joined #ruby
[03:48:39] plonk: has joined #ruby
[03:48:40] plonk: has joined #ruby
[03:49:43] yfeldblum: has joined #ruby
[03:50:40] plonk: has joined #ruby
[03:51:10] plonk: has joined #ruby
[03:51:10] plonk: has joined #ruby
[03:51:45] stannard: has joined #ruby
[03:52:02] robbyoconnor: has joined #ruby
[03:52:41] plonk: has joined #ruby
[03:53:24] beast: has joined #ruby
[03:53:25] plonk: has joined #ruby
[03:53:25] plonk: has joined #ruby
[03:53:31] karioleez: has joined #ruby
[03:53:46] plonk: has joined #ruby
[03:53:46] plonk: has joined #ruby
[03:54:09] bluOxigen: has joined #ruby
[03:54:17] plonk: has joined #ruby
[03:54:17] plonk: has joined #ruby
[03:57:11] blackmesa: has joined #ruby
[03:57:43] Cohedrin: running into an odd issue where my thread is dying without any kind of error or anythign what so ever
[03:57:59] Cohedrin: I've got a thread in a loop, so it should go on forever
[03:58:20] Cohedrin: but it seems to be stopping sometimes (I assume upon an exception)
[03:58:26] havenwood: Cohedrin: Set: Thread.abort_on_exception = true
[03:58:51] Cohedrin: havenwood, I saw that, but I've already wrapped the entire loop in a begin rescue
[03:58:58] Cohedrin: where I rescue exception
[03:59:07] Cohedrin: so it shouldn't be bubbling up enough for that to catch it
[04:00:29] havenwood: Cohedrin: Any errors with that ^ set up front?
[04:00:50] Cohedrin: with the rescue block?
[04:00:55] Cohedrin: or abort on exception?
[04:01:44] Cohedrin: I haven't set that as of yet
[04:02:02] Cohedrin: I've no idea where the exception comes from, I only know the app is crashing due to the thread executing stoppign
[04:02:25] Cohedrin: like I said though, the rescue block should be stopping the exception before it gets to that point though
[04:02:34] Cohedrin: unless I'm misunderstanding something
[04:03:28] havenwood: Cohedrin: Try abort_on_exception and see what it reveals if anything?
[04:03:47] howdoi: has joined #ruby
[04:04:27] mistermocha: has joined #ruby
[04:04:37] Cohedrin: sounds like a plan
[04:07:18] sudoubuntu: has joined #ruby
[04:09:14] brentw: has joined #ruby
[04:09:15] hk238: has joined #ruby
[04:11:52] karioleez: has joined #ruby
[04:12:15] qhp: has joined #ruby
[04:13:49] karioleez: has joined #ruby
[04:15:10] huyderman: has joined #ruby
[04:15:25] duckpuppy: has joined #ruby
[04:16:03] tmtwd: has joined #ruby
[04:16:15] PedramT: has joined #ruby
[04:17:28] Cohedrin: Is there any other reason a thread would stop execution other than it encountered an unhandled expection?
[04:17:40] noService: has joined #ruby
[04:17:43] Cohedrin: maybe garbage collection or something similar?
[04:17:55] chouhoulis: has joined #ruby
[04:18:24] karmatr0n: has joined #ruby
[04:18:57] smckee: has joined #ruby
[04:19:58] chagel: has joined #ruby
[04:20:22] djbkd: has joined #ruby
[04:20:22] StevenXL: has joined #ruby
[04:20:22] StevenXL: has joined #ruby
[04:21:26] jdawgaz: has joined #ruby
[04:22:08] PedramT: has joined #ruby
[04:25:56] shmuli: has joined #ruby
[04:28:11] huyderman: has joined #ruby
[04:30:25] chagel: has joined #ruby
[04:31:06] rippa: has joined #ruby
[04:31:37] Musashi007: has joined #ruby
[04:31:50] benlieb: has joined #ruby
[04:33:16] diegoaguilar: has joined #ruby
[04:33:18] RickHull: Cohedrin: check Thread.abort_on_execution or similar
[04:33:28] Cohedrin: Already got that
[04:33:32] Cohedrin: doesn't seem to be the case
[04:33:36] Cohedrin: thread just stopping :(
[04:35:55] merida: has joined #ruby
[04:36:52] edwinvdgraaf: has joined #ruby
[04:37:58] statelesscode: has joined #ruby
[04:39:45] Devalo: has joined #ruby
[04:40:51] StevenXL: has joined #ruby
[04:41:49] youch: has joined #ruby
[04:41:58] ruby[bot]: -b wanker!*@*$#ruby-banned
[04:43:05] cpup: has joined #ruby
[04:44:06] RickHull: Cohedrin: oh, the other one is Thread.raise_on_exception
[04:44:11] RickHull: that's probably it
[04:44:51] Cohedrin: RickHull, hmm, I'll look into it
[04:44:55] RickHull: abort_on_execution, heh -- that can't possibly be it xD
[04:45:10] RickHull: abort_on_failure or abort_on_exception maybe
[04:45:20] rickmasta: has joined #ruby
[04:45:22] RickHull: i think you need raise_on_exception
[04:46:16] tAn: has joined #ruby
[04:49:25] lxsameer: has joined #ruby
[04:50:09] josephan: has joined #ruby
[04:51:37] 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?
[04:51:43] duncannz: has joined #ruby
[04:52:30] duncannz: has joined #ruby
[04:53:03] RickHull: the initialize method doesn't have control over its return value
[04:53:08] RickHull: it will always return an instance of the class
[04:53:30] blt: has joined #ruby
[04:53:51] RickHull: it wouldn't make much sense otherwise. you'd expect String.new to give you a String object
[04:54:40] josephan: Ah right. Thanks that actually helps a lot. I know where to add the logic now.
[04:56:15] StevenXL: has joined #ruby
[04:59:51] blackmesa: has joined #ruby
[05:01:25] hxegon: has joined #ruby
[05:01:26] darkf: has joined #ruby
[05:05:59] skade: has joined #ruby
[05:08:19] StevenXL: has joined #ruby
[05:11:31] astrobunny: has joined #ruby
[05:14:05] chagel: has joined #ruby
[05:17:04] jenrzzz: has joined #ruby
[05:18:16] devbug: has joined #ruby
[05:19:15] nerium: has joined #ruby
[05:19:35] Chagel_: has joined #ruby
[05:19:50] diegoviola: has joined #ruby
[05:22:00] benlieb: has joined #ruby
[05:23:09] RickHull: has left #ruby: ()
[05:23:14] tmtwd: has joined #ruby
[05:26:45] smckee: has joined #ruby
[05:27:37] crameth: has joined #ruby
[05:28:59] Cohedrin: has joined #ruby
[05:30:41] Polysics: has joined #ruby
[05:32:29] GnuYawk: has joined #ruby
[05:32:42] GnuYawk: has joined #ruby
[05:33:53] karioleez: has joined #ruby
[05:34:35] josephan: has joined #ruby
[05:34:47] ericlee: has joined #ruby
[05:35:54] Musashi007: has joined #ruby
[05:36:14] sekrit: has joined #ruby
[05:37:20] elifoster: has joined #ruby
[05:37:41] aganov: has joined #ruby
[05:37:59] yfeldblum: has joined #ruby
[05:39:03] nanoz: has joined #ruby
[05:40:57] Musashi007: has joined #ruby
[05:51:32] Phanes: has joined #ruby
[05:51:43] Phanes: has joined #ruby
[05:54:02] scepticulous: has joined #ruby
[05:54:37] sudoubuntu: has joined #ruby
[05:55:49] moeabdol4: has joined #ruby
[05:56:16] nanoz: has joined #ruby
[05:56:54] tmtwd: has joined #ruby
[05:57:18] Polysics: has joined #ruby
[05:58:24] Phanes: has joined #ruby
[05:58:25] Phanes: has joined #ruby
[05:59:33] chagel: has joined #ruby
[06:00:09] nodejunkie: has joined #ruby
[06:00:15] krz: has joined #ruby
[06:00:47] blackmesa: has joined #ruby
[06:03:20] aufi: has joined #ruby
[06:08:10] krz: has joined #ruby
[06:08:14] mtkd: has joined #ruby
[06:09:55] deadlock: has joined #ruby
[06:11:46] skade: has joined #ruby
[06:13:03] stardiviner: has joined #ruby
[06:15:24] crameth: has joined #ruby
[06:16:08] duckpuppy: has joined #ruby
[06:16:14] abyx: has joined #ruby
[06:17:03] karioleez: has joined #ruby
[06:19:09] skade: has joined #ruby
[06:19:54] merida: has joined #ruby
[06:23:32] last_staff: has joined #ruby
[06:24:03] vale_tudo: has joined #ruby
[06:25:11] chagel: has joined #ruby
[06:25:51] andikr: has joined #ruby
[06:29:11] karmatr0n: has joined #ruby
[06:31:48] Macaveli: has joined #ruby
[06:33:37] chagel: has joined #ruby
[06:35:10] dede: has joined #ruby
[06:36:50] CausaMortis: has joined #ruby
[06:38:37] chagel: has joined #ruby
[06:40:12] tvw: has joined #ruby
[06:42:30] agit0: has joined #ruby
[06:44:45] djbkd: has joined #ruby
[06:46:54] tmtwd: has joined #ruby
[06:48:39] ur5us: has joined #ruby
[06:48:54] tAn: has joined #ruby
[06:48:56] solars: has joined #ruby
[06:51:43] bigkevmcd: has joined #ruby
[06:53:29] mark3: has joined #ruby
[06:54:43] the_drow_: has joined #ruby
[06:58:50] abyx: has joined #ruby
[07:01:10] dn`: has joined #ruby
[07:01:39] blackmesa: has joined #ruby
[07:02:30] HouseMD: has joined #ruby
[07:03:04] Macaveli: has joined #ruby
[07:03:10] biberu: has joined #ruby
[07:03:18] symm-: has joined #ruby
[07:06:30] HouseMD: has joined #ruby
[07:07:49] edwinvdgraaf: has joined #ruby
[07:09:17] hahuang61: has joined #ruby
[07:10:32] anisha: has joined #ruby
[07:11:26] DoubleMalt: has joined #ruby
[07:11:38] _blizzy_: has joined #ruby
[07:11:40] SCHAAP137: has joined #ruby
[07:11:48] aupadhye: has joined #ruby
[07:13:54] huyderman: has joined #ruby
[07:14:31] jero_: has joined #ruby
[07:15:01] codecop: has joined #ruby
[07:19:48] yfeldblum: has joined #ruby
[07:20:24] yfeldblum: has joined #ruby
[07:22:13] stardiviner: has joined #ruby
[07:22:32] terlar: has joined #ruby
[07:26:50] niko: has joined #ruby
[07:26:52] Couch: has joined #ruby
[07:26:55] lightheaded: has joined #ruby
[07:27:30] fumihiro: has joined #ruby
[07:27:55] antgel: has joined #ruby
[07:28:17] shmuli: has joined #ruby
[07:28:46] Luna_Moonfang: has joined #ruby
[07:30:32] GnuYawk: has joined #ruby
[07:30:43] GnuYawk: has joined #ruby
[07:31:00] madgen: has joined #ruby
[07:32:00] bluOxigen_: has joined #ruby
[07:32:57] paatalaBhairavi: has joined #ruby
[07:35:17] smckee: has joined #ruby
[07:35:32] shredding: has joined #ruby
[07:36:33] Es0teric: has joined #ruby
[07:37:36] jtoy: has joined #ruby
[07:45:20] ferr: has joined #ruby
[07:46:19] rickmasta: has joined #ruby
[07:46:24] al2o3-cr: What a grim morning :( (another a day, another dollar)
[07:47:17] mojca: has joined #ruby
[07:47:27] mikecmpbll: has joined #ruby
[07:50:54] pifon1: has joined #ruby
[07:53:04] NightMonkey: has joined #ruby
[07:54:10] dionysus69: has joined #ruby
[07:54:41] plonk: has joined #ruby
[07:54:42] plonk: has joined #ruby
[07:55:57] pawnbox: has joined #ruby
[07:56:33] cbliard: has joined #ruby
[07:57:10] 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?
[07:57:37] plonk_: has joined #ruby
[07:57:37] plonk_: has joined #ruby
[07:58:10] plonk_: has joined #ruby
[07:58:10] plonk_: has joined #ruby
[07:59:17] plonk_: has joined #ruby
[07:59:17] plonk_: has joined #ruby
[07:59:21] terlar: has joined #ruby
[07:59:36] jjh: has joined #ruby
[07:59:46] plonk: has joined #ruby
[07:59:46] plonk: has joined #ruby
[08:00:18] plonk: has joined #ruby
[08:00:18] plonk: has joined #ruby
[08:00:39] shmuli: has joined #ruby
[08:00:50] plonk: has joined #ruby
[08:00:50] plonk: has joined #ruby
[08:01:24] plonk: has joined #ruby
[08:01:24] plonk: has joined #ruby
[08:02:36] blackmesa: has joined #ruby
[08:03:43] moeabdol: has joined #ruby
[08:03:57] Ox0dea: cbliard: `sp` is the stack pointer, `bp` the base pointer, both in reference to the current control frame.
[08:04:06] NightMonkey: has joined #ruby
[08:04:14] Ropeney: has joined #ruby
[08:04:34] solars: has joined #ruby
[08:04:42] cbliard: Ox0dea: thanks
[08:05:00] Ox0dea: cbliard: Sure thing. If you're able to reliably reproduce the error, considering posting the details to https://bugs.ruby-lang.org/issues/
[08:05:05] Ox0dea: *consider posting
[08:05:06] marr: has joined #ruby
[08:05:07] rickmasta: has joined #ruby
[08:05:20] cbliard: I'm trying, but it desperatly fails only on production :(
[08:05:27] cbliard: at random times
[08:05:34] Ox0dea: Yay, Heisenbugs.
[08:06:29] Macaveli: has joined #ruby
[08:06:49] mikecmpbll: has joined #ruby
[08:06:54] cbliard: I'm suspecting it could be something like this one https://bugs.ruby-lang.org/issues/10290
[08:07:09] cbliard: which fails on some versions of ruby (including 2.3.0) but not others (including 2.2.3)
[08:08:28] ur5us: has joined #ruby
[08:08:34] Ox0dea: You're rescuing SystemStackError?
[08:08:38] chagel: has joined #ruby
[08:08:52] cbliard: Yes, at last resort
[08:09:10] cbliard: that's bad?
[08:09:23] plonk: has joined #ruby
[08:09:23] plonk: has joined #ruby
[08:09:53] plonk: has joined #ruby
[08:09:53] plonk: has joined #ruby
[08:10:24] plonk: has joined #ruby
[08:10:24] plonk: has joined #ruby
[08:10:29] jaruga__: has joined #ruby
[08:10:30] 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
[08:10:42] Ox0dea: Probably handle those instead?
[08:10:56] cbliard: Indeed, we limited the call depth to 100, but we still see segfaults
[08:11:34] cbliard: Is it bad practice to rescue from SystemStackError?
[08:11:39] plonk: has joined #ruby
[08:11:40] plonk: has joined #ruby
[08:11:46] Ox0dea: If your language is sufficiently simple, it wouldn't be egregiously difficult to check the call graph for cycles.
[08:12:00] apeiros: !fixon plonk
[08:12:05] apeiros: !fixcon plonk
[08:12:05] ruby[bot]: +bbb plonk!*@*$#ruby-fix-your-connection plonk_!*@*$#ruby-fix-your-connection *!*@unaffiliated/plonk$#ruby-fix-your-connection
[08:13:39] cbliard: You are probably right
[08:14:34] Ox0dea: At any rate, it's certainly a bug, but Nobu saying "I have no idea" is terrifying.
[08:16:26] cbliard: who is Nobu?
[08:16:27] moeabdol1: has joined #ruby
[08:16:40] Ox0dea: The Patch Monster.
[08:16:45] pawnbox: has joined #ruby
[08:16:54] duckpuppy: has joined #ruby
[08:17:00] noService: has joined #ruby
[08:17:03] jtoy: has joined #ruby
[08:17:05] cbliard: ah! in the bug report
[08:17:24] rodfersou: has joined #ruby
[08:17:39] Ox0dea: The graph speaks: https://github.com/ruby/ruby/graphs/contributors
[08:18:21] cbliard: ok, nobu :)
[08:19:02] 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.
[08:26:14] ocbtec: has joined #ruby
[08:26:33] mtkd: has joined #ruby
[08:27:33] cbliard: I'm really not familiar with low-level ruby. I observe the same: #10290 sporadically segfaults
[08:27:46] nobitanobi: has joined #ruby
[08:27:57] cbliard: SystemStackError on 25-30% of the time. for i in `seq 1 100` ; do ruby test.rb 2>&1 ; done | grep -c SystemStackError
[08:28:45] nobitanobi: has joined #ruby
[08:29:20] cbliard: Ox0dea: anyway, we will add a guard to prevent this from happening. Thank you for your help!
[08:29:22] toretore: has joined #ruby
[08:29:39] Ox0dea: cbliard: Sure thing.
[08:30:48] mrgrieves: has joined #ruby
[08:30:56] karmatr0n: has joined #ruby
[08:31:35] agit0: has joined #ruby
[08:33:36] smckee: has joined #ruby
[08:36:47] m8: has joined #ruby
[08:38:30] blackmesa: has joined #ruby
[08:39:38] evie_hammond: has joined #ruby
[08:39:53] Dbugger: has joined #ruby
[08:41:00] Dbugger: Hi fellas. I am experimenting with "class instance variables" and I was wondering, why does this not work? http://hastebin.com/uwuvumevaw.ruby
[08:42:45] merida: has joined #ruby
[08:42:56] baweaver: has joined #ruby
[08:43:39] albercuba: has left #ruby: ("Leaving")
[08:43:53] terlar: has joined #ruby
[08:44:16] DoubleMalt: has joined #ruby
[08:44:59] pawnbox: has joined #ruby
[08:45:28] noService: has joined #ruby
[08:46:45] Ox0dea: dbugger: It does: https://eval.in/548363
[08:47:44] Dbugger: Ox0dea, I get nothing...
[08:48:03] Dbugger: What is this wizardry??
[08:48:08] the_drow_: has joined #ruby
[08:48:10] Ox0dea: ¯\_(ツ)_/¯
[08:48:33] Dbugger: ARGHHHHHHH
[08:48:35] Dbugger: I forgot the "puts"
[08:48:40] Ox0dea: Thatcha did.
[08:48:47] Dbugger: *HEADSLAMMING on table*
[08:48:47] madgen: has joined #ruby
[08:48:57] Dbugger: Sorry for the stupidity
[08:49:06] Ox0dea: Forgiven. :P
[08:49:45] Dbugger: is there a more direct way to do that? Kinda like "attr_accesort self:one"?
[08:51:01] jackcom: has joined #ruby
[08:51:01] ruby[bot]: +b jackcom!*@*$#ruby-banned
[08:51:03] ruby[bot]: ruby[bot] kicked jackcom: banned before
[08:51:10] rickmasta: has joined #ruby
[08:52:00] mrgrieves: has joined #ruby
[08:52:32] Ox0dea: dbugger: There's certainly nothing shorter.
[08:52:50] Ox0dea: `class << foo; ...; end` is shorthand for `foo.singleton_class.class_eval { ... }`.
[08:53:00] Macaveli: has joined #ruby
[08:53:06] Ox0dea: You could say `singleton_class.send :attr_accessor, :foo`, but that's not an improvement.
[08:54:16] Dbugger: na, if there is not a pretty one-liner, Ill leave it like that :)
[08:54:19] Dbugger: Thanks mate
[08:54:23] Ox0dea: No worries.
[08:54:50] Dbugger: Im trying to grasp instance variable vs class variable vs class instance variable
[08:55:09] Ox0dea: Class instance variables are just instance variables. :)
[08:55:14] Ox0dea: Classes are instances of the Class class.
[08:56:11] weckl: has joined #ruby
[08:58:02] Dbugger: yeah, well, the same could be said of class variables
[08:58:10] evidex: has joined #ruby
[08:58:14] Ox0dea: How do you mean?
[08:58:25] Ox0dea: You can't stick class variables on something that's not a Class.
[08:58:26] Dbugger: class variables seem to be the same as class instance variables... except they have more restrictions
[08:59:05] Ox0dea: There's really no such thing as a "class instance variable"; it's just an instance variable that belongs to a Class.
[08:59:15] Dbugger: yeah, I get that
[08:59:19] Ox0dea: Any Object can have its own instance variables, and they belong to that instance and only that instance.
[08:59:25] Dbugger: But again, class instance variables seem to be the same as class variables
[08:59:34] Ox0dea: They're not inherited, for starters.
[08:59:48] Dbugger: Yeah, as I said, they are the same... just more restricted
[09:00:01] Ox0dea: I'm not sure I follow.
[09:00:06] yfeldblum: has joined #ruby
[09:00:07] Dbugger: and the notation is confusing as fuck, naming both with @
[09:00:18] Ox0dea: A local variable isn't just a "more restricted" form of global variable.
[09:00:25] noService: has joined #ruby
[09:00:40] StevenXL: has joined #ruby
[09:00:47] Dbugger: I meant that between @class_instance_var and @@class_var, they are basically the same, except one is more restricted
[09:01:30] workmad3: has joined #ruby
[09:03:03] crameth: has joined #ruby
[09:10:54] gard: has joined #ruby
[09:11:07] jgrevich: has joined #ruby
[09:13:17] skade: has joined #ruby
[09:14:03] ledestin: has joined #ruby
[09:14:59] terlar: has joined #ruby
[09:15:06] rolha: has joined #ruby
[09:17:26] pawnbox: has joined #ruby
[09:25:14] fumihiro: has joined #ruby
[09:26:34] toretore: has joined #ruby
[09:26:40] rickmasta: has joined #ruby
[09:26:54] platzhirsch: has joined #ruby
[09:27:14] parduse: has joined #ruby
[09:27:27] neanderslob_: has joined #ruby
[09:28:15] nobitanobi: has joined #ruby
[09:28:36] Coldblackice: has joined #ruby
[09:28:52] TvL2386: has joined #ruby
[09:29:09] jgt3: has joined #ruby
[09:30:05] stardiviner: has joined #ruby
[09:30:20] snowy: has joined #ruby
[09:32:12] chipotle: has joined #ruby
[09:32:40] karmatr0n: has joined #ruby
[09:33:25] ur5us: has joined #ruby
[09:33:34] chancy: has joined #ruby
[09:33:35] yfeldblum: has joined #ruby
[09:33:58] decoponio: has joined #ruby
[09:35:52] htmldrum: has joined #ruby
[09:39:02] skislak: has joined #ruby
[09:39:46] whiteline_: has joined #ruby
[09:39:50] blt: has joined #ruby
[09:46:25] nocontrol: has joined #ruby
[09:46:27] nocontrol: can anyone help with this question please? http://stackoverflow.com/questions/36419824/how-to-talk-to-kernel-devices-with-ruby-in-linux
[09:47:50] astrobunny: has joined #ruby
[09:50:28] jokke: i'm having trouble building ruby with ruby-install on arch-linux
[09:50:35] jokke: getting these errors: https://p.jreinert.com/ChxxO/
[09:53:05] n008f4g_: has joined #ruby
[09:55:05] SCHAAP137: has joined #ruby
[09:55:11] Ox0dea: jokke: You'll need to say `ruby-install -p https://github.com/ruby/ruby/commit/801e1f.diff ruby 2.3`.
[09:55:40] bastelfreak: has joined #ruby
[09:55:45] Ox0dea: I suspect you'll want to swap the "2.3" bit.
[09:55:47] FooMunki: has joined #ruby
[09:55:59] Ox0dea: Happy to help. :)
[09:57:43] TheHodge: has joined #ruby
[09:58:34] antgel: has joined #ruby
[09:58:40] the_drow_: has joined #ruby
[09:59:06] d0nn1e: has joined #ruby
[09:59:22] Suntzu: has joined #ruby
[10:00:04] FooMunki: has joined #ruby
[10:00:54] jokke: Ox0dea: mmh... https://p.jreinert.com/KNC0w/
[10:05:26] merida_: has joined #ruby
[10:07:24] dANOKELOFF: has joined #ruby
[10:09:08] 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.
[10:10:37] jokke: ok, so what should i do?
[10:11:35] jokke: modify the patch?
[10:12:49] Ox0dea: Yeah, just nix those first 20 lines.
[10:13:18] jokke: it fails the second hunk too
[10:13:53] shmuli: has joined #ruby
[10:14:16] shmuli: has joined #ruby
[10:15:32] jokke: https://p.jreinert.com/m-6VEKOY/
[10:17:19] Ox0dea: jokke: https://git.io/vVVNu
[10:17:40] duckpuppy: has joined #ruby
[10:17:56] Ox0dea: I wonder what sorcery RVM does that it applies cleanly. :/
[10:17:57] kam270: has joined #ruby
[10:18:12] Ox0dea: That was *not* a recommendation to switch to RVM.
[10:18:40] Spami: has joined #ruby
[10:19:35] merida: has joined #ruby
[10:20:13] Ox0dea: It's just that they're using the same patch (and presumably applying it to the same source).
[10:21:20] myntcake: has joined #ruby
[10:21:58] the_drow_: has joined #ruby
[10:22:08] 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
[10:22:20] jokke: !!! Download of https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3.tar.bz2 failed!
[10:22:22] FastJack: has joined #ruby
[10:22:51] jokke: it doesn't try to find a version that fits
[10:23:18] Fredrich010: has joined #ruby
[10:25:13] Ox0dea: jokke: It does so for supported versions.
[10:26:07] blackmesa: has joined #ruby
[10:26:38] jokke: so 1.9.3 clearly isn't supported anymore
[10:27:01] merida: has joined #ruby
[10:27:20] Ox0dea: https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/
[10:27:46] bkxd: has joined #ruby
[10:28:02] merida_: has joined #ruby
[10:28:06] jokke: but really weird that the patch won't work
[10:28:45] blackgoat: has joined #ruby
[10:28:53] merida__: has joined #ruby
[10:29:01] ujjain: has joined #ruby
[10:29:01] ujjain: has joined #ruby
[10:29:19] Ox0dea: You're sure you need 2.0?
[10:29:27] merida__: has joined #ruby
[10:29:52] jokke: yeah unfortuntely
[10:30:00] jokke: *unfortunately
[10:30:14] dANOKELOFF: has joined #ruby
[10:30:43] shmuli: has joined #ruby
[10:33:14] karmatr0n: has joined #ruby
[10:35:02] mdw: has joined #ruby
[10:35:47] bkxd: has joined #ruby
[10:36:20] 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`.
[10:38:23] Ox0dea: Can confirm that that works, at least.
[10:39:03] dvinciguerra__: has joined #ruby
[10:40:15] Ox0dea: That'd be `patch -p1 < 801e1f.diff` from within src/ruby-2.0.0-p647/, in case you weren't sure.
[10:43:09] tAn: has joined #ruby
[10:44:07] baweaver: has joined #ruby
[10:44:58] Azure: has joined #ruby
[10:46:15] gard: has joined #ruby
[10:46:21] shmuli: has joined #ruby
[10:48:05] GodFather: has joined #ruby
[10:53:24] nocontrol: can anyone help with this question please? http://stackoverflow.com/questions/36419824/how-to-talk-to-kernel-devices-with-ruby-in-linux
[10:54:48] krz: has joined #ruby
[10:55:34] RegulationD: has joined #ruby
[10:59:53] reddd: has joined #ruby
[11:00:55] StevenXL: has joined #ruby
[11:01:50] merida: has joined #ruby
[11:03:05] merida_: has joined #ruby
[11:03:49] merida__: has joined #ruby
[11:04:30] stardiviner: has joined #ruby
[11:05:09] platzhirsch: has joined #ruby
[11:06:24] Mia: has joined #ruby
[11:06:25] Mia: has joined #ruby
[11:08:26] RegulationD: has joined #ruby
[11:08:34] nerium: has joined #ruby
[11:09:20] gard: has joined #ruby
[11:12:01] Swey_Hey: has joined #ruby
[11:20:16] trinaldi: has joined #ruby
[11:21:23] Swey_Hey: has joined #ruby
[11:24:43] Swey_Hey: has joined #ruby
[11:26:26] whiteline: has joined #ruby
[11:26:56] jaruga__: has joined #ruby
[11:29:32] merida: has joined #ruby
[11:30:28] Swey_Hey: has joined #ruby
[11:31:15] nfk|laptop: has joined #ruby
[11:32:41] platzhirsch: has joined #ruby
[11:33:35] duckpuppy: has joined #ruby
[11:34:02] Macaveli: has joined #ruby
[11:34:35] hays_: has joined #ruby
[11:34:46] hays_: What is the difference between a Monitor and Mutex?
[11:35:18] 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
[11:35:41] ldnunes: has joined #ruby
[11:36:18] tristanp: has joined #ruby
[11:36:36] bkxd: has joined #ruby
[11:38:13] tildes: has joined #ruby
[11:40:19] rake_db_migrate: has joined #ruby
[11:40:50] Swey_Hey: has joined #ruby
[11:41:03] antgel: has joined #ruby
[11:41:21] solars: has joined #ruby
[11:42:15] 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
[11:43:15] Marsjan: has joined #ruby
[11:47:28] marsjaninzmarsa: has joined #ruby
[11:48:17] Napear: has joined #ruby
[11:52:41] IrishGringo: has joined #ruby
[11:53:01] GodFather: has joined #ruby
[11:55:19] 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?
[11:55:50] c0x: has joined #ruby
[11:57:13] 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
[12:00:00] johnmilton: has joined #ruby
[12:00:35] mrgrieves: has joined #ruby
[12:03:00] terlar: has joined #ruby
[12:04:04] madgen: has joined #ruby
[12:04:12] solars: has joined #ruby
[12:04:16] s2013: has joined #ruby
[12:05:15] Domaldel: has joined #ruby
[12:05:37] dANOKELOFF: has joined #ruby
[12:05:42] stannard: has joined #ruby
[12:07:24] senayar: has joined #ruby
[12:07:36] synthroid: has joined #ruby
[12:07:40] astrobunny: has joined #ruby
[12:07:41] platzhirsch: has joined #ruby
[12:07:54] GodFather: has joined #ruby
[12:09:32] StevenXL: has joined #ruby
[12:09:32] StevenXL: has joined #ruby
[12:09:49] B1n4r10: has joined #ruby
[12:10:28] vale_tudo: has joined #ruby
[12:12:41] vuashhhh: has joined #ruby
[12:13:37] 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
[12:13:57] Hanmac: has joined #ruby
[12:14:49] NfNitLoop: has left #ruby: ("WeeChat 1.3")
[12:16:32] merida_: has joined #ruby
[12:16:55] sdothum: has joined #ruby
[12:17:17] bry4n: has joined #ruby
[12:20:22] edwinvdgraaf: has joined #ruby
[12:21:17] merida: has joined #ruby
[12:22:30] smckee: has joined #ruby
[12:23:35] tAn: has joined #ruby
[12:26:02] gnufied: has joined #ruby
[12:26:36] tAn: has joined #ruby
[12:27:02] glcx: has joined #ruby
[12:27:02] glcx: has joined #ruby
[12:27:24] sepp2k: has joined #ruby
[12:28:01] noobplayer97: has joined #ruby
[12:28:58] CloCkWeRX: has joined #ruby
[12:29:04] platzhirsch: has joined #ruby
[12:29:06] platzhirsch: has left #ruby: ()
[12:30:29] merida: has joined #ruby
[12:31:24] aupadhye: has joined #ruby
[12:32:54] pawnbox: has joined #ruby
[12:35:12] karmatr0n: has joined #ruby
[12:37:41] terlar: has joined #ruby
[12:39:22] dstarh: has joined #ruby
[12:41:18] aegis3121: has joined #ruby
[12:41:55] merida_: has joined #ruby
[12:44:47] baweaver: has joined #ruby
[12:45:06] statelesscode: has joined #ruby
[12:45:24] theery: has joined #ruby
[12:45:28] pawnbox: has joined #ruby
[12:47:06] pawnbox: has joined #ruby
[12:48:44] 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.
[12:49:44] sudoubuntu: has joined #ruby
[12:50:01] devbug: has joined #ruby
[12:50:09] freerobby: has joined #ruby
[12:50:38] bkxd: has joined #ruby
[12:52:21] malconis: has joined #ruby
[12:53:11] godzillaenlacasa: has joined #ruby
[12:53:39] binaryplease1: has joined #ruby
[12:53:47] rake_db_migrate: has joined #ruby
[12:53:48] malconis: has joined #ruby
[12:55:46] futilegames: has joined #ruby
[12:55:49] cdg: has joined #ruby
[12:56:40] _stu_: has joined #ruby
[12:58:04] nobitanobi: has joined #ruby
[13:01:34] snoobydoo: has joined #ruby
[13:02:19] snoobydoo: How do i pick last n elements from an array? Eg: [3,4] in [1,2,3,4]
[13:03:09] SebastianThorn: snoobydoo: .last
[13:03:11] havenwood: snoobydoo: last(2)
[13:03:14] rykou: has joined #ruby
[13:03:30] snoobydoo: havenwood: Thanks :D
[13:04:04] Fredrich010: has joined #ruby
[13:04:17] mikecmpbll: has joined #ruby
[13:04:39] mjy: has joined #ruby
[13:04:52] barajasfab: has joined #ruby
[13:05:11] ekinmur: has joined #ruby
[13:05:25] madgen: has joined #ruby
[13:06:39] rake_db_migrate: has joined #ruby
[13:06:47] 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?
[13:06:50] tildes: has joined #ruby
[13:07:06] rake_db_migrate: has joined #ruby
[13:07:22] pawnbox: has joined #ruby
[13:07:40] 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.
[13:08:28] havenwood: rykou: Oh, right require anywhere. Yeah, a gem.
[13:09:10] chipotle: has joined #ruby
[13:10:15] krz: has joined #ruby
[13:10:30] rykou: havenwood: okay, im going to check if I can get that working.
[13:11:23] pawnbox: has joined #ruby
[13:15:33] NightMonkey: has joined #ruby
[13:15:55] jhill: has joined #ruby
[13:16:17] jcp: has joined #ruby
[13:16:34] ChiefAlexander: has joined #ruby
[13:16:40] braderhart: has joined #ruby
[13:16:44] joonty: has joined #ruby
[13:17:20] andywojo: has joined #ruby
[13:18:47] dgncn: has joined #ruby
[13:18:56] kies: has joined #ruby
[13:21:28] kfpratt: has joined #ruby
[13:21:31] rykou: havenwood: Thank you, worked out how I wanted!
[13:21:38] havenwood: rykou: nice
[13:22:36] duckpuppy: has joined #ruby
[13:24:27] idletask: has joined #ruby
[13:24:39] rykou: Haven't done that much with ruby yet so still learning about cool stuff like that :)
[13:24:47] darkxploit: has joined #ruby
[13:24:54] smckee: has joined #ruby
[13:25:41] skade: has joined #ruby
[13:28:25] reddd: has joined #ruby
[13:29:56] ferr: @load.status == ('billed' || 'billed_pending') how would I make this comparison work in a single line
[13:30:21] madgen: has joined #ruby
[13:30:53] havenwood: ferr: %w[billed billed_pending].include? @load.status
[13:31:03] pandaant: has joined #ruby
[13:31:10] sgambino: has joined #ruby
[13:32:03] ferr: havenwood: thanks, the same I was writing right now
[13:32:59] ruby[bot]: -bb cisco!*@*$#ruby-fix-your-connection *!*@138.36.2.4$#ruby-fix-your-connection
[13:33:08] bry4n: has joined #ruby
[13:34:42] djellemah: ferr: case @load.status when 'billed', 'billed_pending' then do_yer_stuff end
[13:34:58] TinkerTyper: has joined #ruby
[13:35:37] djellemah: ok, ok, so case is not normally a one-liner ;-p
[13:35:39] noService: has joined #ruby
[13:36:42] Balzrael: has joined #ruby
[13:36:49] ferr: separately it works, but with rails, not, lol
[13:37:28] ferr: http://pastie.org/private/7ecz3vqqkfclwujnwvhbq
[13:37:49] ferr: If I remove the second part of &&, it works
[13:37:57] diegoaguilar: has joined #ruby
[13:38:00] ferr: I mean if I remove the &&
[13:38:02] djellemah: >> %w[billed, billed_pending]
[13:38:04] ruby[bot]: djellemah: # => ["billed,", "billed_pending"] (https://eval.in/548593)
[13:38:10] djellemah: >> %w[billed billed_pending]
[13:38:11] ruby[bot]: djellemah: # => ["billed", "billed_pending"] (https://eval.in/548595)
[13:39:02] ferr: >> puts 'Hello world'
[13:39:03] ruby[bot]: ferr: # => Hello world ...check link for more (https://eval.in/548596)
[13:39:09] ferr: that's good
[13:41:08] akahn: is Hash#key? faster than Hash#[]?
[13:41:10] brt: has joined #ruby
[13:41:51] apeiros: probably not. but it's not the same anyway.
[13:42:10] apeiros: >> h = {a: false}; [h.has_key?(:a), h[:a]]
[13:42:11] ruby[bot]: apeiros: # => [true, false] (https://eval.in/548597)
[13:42:53] 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.
[13:43:11] Pupp3tm4st3r: has joined #ruby
[13:43:42] mistermocha: has joined #ruby
[13:44:30] s2013: has joined #ruby
[13:44:44] Tempesta: has joined #ruby
[13:44:51] swills: has joined #ruby
[13:44:51] apeiros: if you don't have falsy values, or your code would become unclear, then it's usually not worth it
[13:44:51] st1gma: has joined #ruby
[13:46:08] 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.
[13:46:09] akahn: yeah. thanks, apeiros
[13:46:22] rickmasta: has joined #ruby
[13:46:30] noService: has joined #ruby
[13:46:41] akahn: I will skip key? and just use []
[13:46:43] jpfuentes2: has joined #ruby
[13:47:26] inukshuk_: has joined #ruby
[13:47:37] apeiros: if you still feel insecure, you can always gist your code and ask for a review here ;-)
[13:47:37] iamvery: has joined #ruby
[13:47:44] apeiros: s/insecure/unsure/
[13:48:09] ekinmur: has joined #ruby
[13:48:35] skweek: has joined #ruby
[13:50:56] Macaveli: has joined #ruby
[13:51:09] s2013: has joined #ruby
[13:51:23] joaquins: has joined #ruby
[13:51:38] Macaveli: has joined #ruby
[13:52:04] skade: has joined #ruby
[13:52:20] B1n4r10: has joined #ruby
[13:52:48] joaquins: Hi, this code '%10.9f' % Time.now.to_f always show me time in milisecond not in nanosec, why?
[13:53:16] futilegames: has joined #ruby
[13:53:17] joaquins: like 1459950661.870000
[13:53:17] apeiros: it actually shows you time in seconds, not milliseconds
[13:53:50] apeiros: and "why" - because that's how Time#to_f is specified
[13:53:53] Macaveli: has joined #ruby
[13:54:35] joaquins: but if you specify '%10.9f' it must show u in nanosec
[13:55:17] cdg: has joined #ruby
[13:55:17] joaquins: http://apidock.com/ruby/Time/nsec
[13:55:18] apeiros: no. why would it change the unit? that assertion makes no sense.
[13:55:38] stannard: has joined #ruby
[13:55:39] duckpuppy: has joined #ruby
[13:56:03] dfinninger: has joined #ruby
[13:56:09] oddmunds: maybe because a nanosecond is 10^−9 seconds
[13:56:31] cdg: has joined #ruby
[13:56:32] apeiros: yeah, but methods do not change their return value based on how the return value is used
[13:56:36] oddmunds: but that is not how the formatting works
[13:56:43] dfinninger: has joined #ruby
[13:56:43] joaquins: but I onlu get millisec and the rest are zeros
[13:56:49] griffindy: has joined #ruby
[13:56:53] kobain: has joined #ruby
[13:56:57] apeiros: ah. I see. poorly phrased question.
[13:57:02] apeiros: your issue is not the unit but the precision.
[13:57:13] apeiros: maybe your OS' time() does not produce a precise enough time.
[13:57:27] joaquins: linux ubuntu 14.04
[13:57:37] stannard: has joined #ruby
[13:57:49] mtkd: has joined #ruby
[13:58:29] apeiros: I have a Ubuntu 14.04.3 LTS, and I get `"%10.9f" % Time.now.to_f` => "1459951087.750188351"
[13:58:39] apeiros: so… can't reproduce. seems like an issue with your box, not ruby.
[13:58:41] duckpuppy: has joined #ruby
[13:58:52] whippythellama: has joined #ruby
[13:59:13] apeiros: but given the poor phrasing - a) which version of ruby? b) how did you test?
[13:59:27] oddmunds: joaquins: what does $ date +%N give you?
[13:59:30] oddmunds: (on the command line)
[13:59:36] joaquins: i tested using Logstash
[13:59:56] TomyWork: has joined #ruby
[14:00:06] joaquins: I tried it and the OS can calculate Nanosec perfectly
[14:00:22] apeiros: ok, then what oddmunds asked, and additionally what's the output of `ruby -ve 'puts "%10.9f" % Time.now.to_f'` ?
[14:00:59] joaquins: 1459951245.604302883
[14:01:31] ChiefAlexander: has joined #ruby
[14:01:40] JesseH: has joined #ruby
[14:01:54] joaquins: so ruby is not the problem? the problem is logstash?
[14:01:55] workmad3: joaquins: the OS producing nanoseconds in time output doesn't mean it calculates them perfectly :)
[14:02:03] workmad3: but that's beside the point here, I guess
[14:02:17] apeiros: that'd be my conclusion from that output
[14:02:49] apeiros: but keep in mind what the docs you linked above says with regards to float & nsec.
[14:03:00] apeiros: "IEEE 754 double is not accurate enough to represent nanoseconds from the Epoch"
[14:04:04] grill: has joined #ruby
[14:04:48] n1colas: has joined #ruby
[14:05:47] idle_task: has joined #ruby
[14:06:01] karmatr0n: has joined #ruby
[14:06:14] n1colas: has joined #ruby
[14:06:16] 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
[14:06:51] mwlang: (never really paid attention since I just google “ruby hash class” etc.)
[14:07:38] joaquins: tried also Time.now.strftime("%9N") and don't work in Logstash ruby, but in the console works fine
[14:07:54] apeiros: mwlang: you probably wanted http://ruby-doc.org
[14:09:32] nartes: has joined #ruby
[14:09:48] zast: has joined #ruby
[14:10:11] n1colas: has joined #ruby
[14:11:12] 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
[14:12:06] smckee: has joined #ruby
[14:12:07] n008f4g_: has joined #ruby
[14:12:48] Rubie: has joined #ruby
[14:13:28] mwlang: nevermind me…it’s hit and miss — not all cases.
[14:19:16] bry4n: has joined #ruby
[14:19:24] crazydiamond: has joined #ruby
[14:20:14] heyjim: has joined #ruby
[14:20:29] platzhirsch: has joined #ruby
[14:20:38] StyXman: has joined #ruby
[14:21:18] karmatr0n: has joined #ruby
[14:22:51] w0jtas: has joined #ruby
[14:23:11] pifon: has joined #ruby
[14:23:40] w0jtas: hello, how can i install package A which require package B with making sure that B is installed with some particular version ?
[14:24:36] joaquins: solution: %x(date +%Y%m%d%H%M%N).gsub('\n','')
[14:25:01] jhass: w0jtas: desired_package_manager its_install_command name_of_package_A
[14:25:12] Yeomra: has joined #ruby
[14:25:13] dhollinger: has joined #ruby
[14:25:55] Yeomra: has joined #ruby
[14:25:56] w0jtas: jhass, what's that ? :O
[14:26:25] jhass: the answer to your question, keeping the same level of abstraction ;)
[14:26:35] r0b3rt: has joined #ruby
[14:26:36] 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
[14:27:00] 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
[14:27:22] jhass: tried installing activesupport 2.4.6 explicitly first?
[14:27:34] jhass: or use bundler and lock down the activesupport version
[14:27:39] jhass: or yet better update ruby ;)
[14:28:03] w0jtas: tried with activesupport first yeah
[14:28:27] w0jtas: but ok i have also rails which installs 5.0.0beta3 which might require still activesuport 5.0.0 and ruby 2.2 ;)
[14:28:35] w0jtas: will try rails 4.2.6 and again inst-jbos
[14:29:15] bollullera: has joined #ruby
[14:30:37] mistermocha: has joined #ruby
[14:31:26] LastWhisper____: has joined #ruby
[14:31:33] mhoungbo: has joined #ruby
[14:31:53] bluOxigen: has joined #ruby
[14:33:41] TakG: has joined #ruby
[14:34:18] A124: has joined #ruby
[14:34:41] bollullera: has left #ruby: ()
[14:39:04] StyXman: has left #ruby: ()
[14:39:40] mistermocha: has joined #ruby
[14:40:56] czerasz: has joined #ruby
[14:43:03] Zai00: has joined #ruby
[14:47:08] Yeomra: has joined #ruby
[14:47:53] codecop: has joined #ruby
[14:47:57] codecop_: has joined #ruby
[14:51:41] rickmasta: has joined #ruby
[14:53:04] ecnalyr: has joined #ruby
[14:56:53] rake_db__: has joined #ruby
[15:00:01] Prominent: has joined #ruby
[15:00:47] Macaveli: has joined #ruby
[15:00:58] floatingpoint: has joined #ruby
[15:02:50] mistermocha: has joined #ruby
[15:03:53] davedev24: has joined #ruby
[15:04:18] nickcampos: has joined #ruby
[15:05:12] abyx: has joined #ruby
[15:06:37] aegis3121: has joined #ruby
[15:06:42] phpwebdev: has joined #ruby
[15:08:18] gard: has joined #ruby
[15:09:59] blackmesa: has joined #ruby
[15:12:03] x77686d: has joined #ruby
[15:13:54] czerasz2: has joined #ruby
[15:14:30] mhoungbo: has joined #ruby
[15:16:07] badleaf: has joined #ruby
[15:16:34] mistermocha: has joined #ruby
[15:19:36] bkxd: has joined #ruby
[15:22:22] platzhirsch: has joined #ruby
[15:23:11] safe: has joined #ruby
[15:24:28] rickmasta: has joined #ruby
[15:24:40] Guest38_: has joined #ruby
[15:28:31] nando293921: has joined #ruby
[15:28:53] ramfjord: has joined #ruby
[15:29:27] n008f4g_: has joined #ruby
[15:29:51] solars: has joined #ruby
[15:32:13] Dimik: has joined #ruby
[15:33:57] elifoster: has joined #ruby
[15:34:43] malconis: has joined #ruby
[15:34:54] bry4n_: has joined #ruby
[15:35:44] Devalo: has joined #ruby
[15:38:20] PedramT: has joined #ruby
[15:38:23] KensoDev: has joined #ruby
[15:39:51] jackjackdripper: has joined #ruby
[15:41:18] rickmasta: has joined #ruby
[15:41:32] krz: has joined #ruby
[15:42:15] jackjackdripper: has joined #ruby
[15:43:11] smckee: has joined #ruby
[15:43:28] agit0: has joined #ruby
[15:43:53] chouhoulis: has joined #ruby
[15:44:07] polishdub: has joined #ruby
[15:44:32] chouhoulis: has joined #ruby
[15:46:06] dionysus69: has joined #ruby
[15:47:40] Yeomra: has joined #ruby
[15:48:45] [Butch]: has joined #ruby
[15:51:09] skade: has joined #ruby
[15:53:23] madgen: has joined #ruby
[15:54:03] gregf: has joined #ruby
[15:54:55] marxarelli: has joined #ruby
[15:55:04] mistermocha: has joined #ruby
[15:55:57] Regulati_: has joined #ruby
[15:59:45] hxegon: has joined #ruby
[15:59:47] fedexo: has joined #ruby
[16:00:26] djbkd: has joined #ruby
[16:00:29] Hoffman: has joined #ruby
[16:01:29] Hoffman: I'm looking at OpenURI code that says, puts open('http://internet.uri').read[559,441]
[16:02:05] Hoffman: I am trying to figure out what those parameters to .read mean
[16:02:13] HouseMD: has joined #ruby
[16:02:34] Hoffman: the docs say it's open(mode, perm, etc..), and that mode and perm are the same as Kernel#open.
[16:02:57] mrgrieves: has joined #ruby
[16:02:57] Hoffman: there doesnt appear to be documentation as to what mode and perm are for Kernel#open
[16:03:19] Hoffman: So how the heck can I figure out the definition of mode and perm
[16:04:13] HouseMD: has joined #ruby
[16:04:41] symm-: has joined #ruby
[16:05:19] apeiros: Hoffman: they aren't parameters to read
[16:05:31] apeiros: read[x,y] is calling .[](x, y) on the result of read
[16:05:32] Hoffman: yeah, I see now they are array specs
[16:05:46] apeiros: read almost certainly returns a string
[16:06:11] Hoffman: I mean [x,y]
[16:06:47] rahc: Kernel.require file
[16:06:55] shevy: >> x = 'abc def'; x[3,2]
[16:06:56] ruby[bot]: shevy: # => " d" (https://eval.in/548732)
[16:06:59] amclain: has joined #ruby
[16:07:05] adaedra: Hoffman: also, be careful that IO.read (class/static method) is different from IO#read (instance method)
[16:07:16] apeiros: Hoffman: as said, that's a method call
[16:07:25] apeiros: foo[x,y] is not the same as [x,y]
[16:07:25] rahc: apparently, that is not calling the function in rubygems/core_ext/kernel_require.rb
[16:07:33] apeiros: former is a method call, latter is an array literal
[16:07:33] Hoffman: so it isnt treating the string returned by read as a character array?
[16:07:43] apeiros: &ri String#[] Hoffman
[16:07:43] `derpy: Hoffman: http://ruby-doc.org/core-2.3.0/String.html#method-i-5B-5D
[16:08:12] Hoffman: so suppose I did want to know what mode and perm were -- where would I find that
[16:08:29] Hoffman: nvm, I guess its just the same as a file read
[16:08:35] rahc: I can't seem to find any definition of Kernel.require
[16:09:01] apeiros: &ri Kernel#require rahc
[16:09:01] `derpy: rahc: http://ruby-doc.org/stdlib-2.3.0/libdoc/rubygems/rdoc/Kernel.html#method-i-require
[16:09:02] shevy: VALUE rb_f_require(VALUE obj, VALUE fname)
[16:09:05] rahc: is it defined in a Ruby script?
[16:09:07] djbkd: has joined #ruby
[16:10:16] Hoffman: actually, no
[16:10:29] adaedra: mh, this documentation code is all but useful.
[16:10:34] adaedra: s/code/link/
[16:10:44] Hoffman: OpenURI::OpenRead#open says that mode and perm are the same as defined here
[16:10:45] Hoffman: http://ruby-doc.org/stdlib-2.1.2/libdoc/open-uri/rdoc/Kernel.html#method-i-open
[16:10:47] shevy: the docu also is lousy :(
[16:10:52] Hoffman: But that link doesnt define mode and perm
[16:11:17] apeiros: adaedra: oh, weird
[16:11:23] baweaver: has joined #ruby
[16:11:28] apeiros: adaedra: shouldn't it prefer core docs?
[16:11:44] adaedra: &ri File.open Hoffman
[16:11:44] `derpy: Hoffman: http://ruby-doc.org/core-2.3.0/File.html#method-c-open
[16:11:51] apeiros: well, rahc: http://ruby-doc.org/core-2.3.0/Kernel.html#method-i-require
[16:11:53] adaedra: If you look closely, there's a link to IO.new
[16:11:59] 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
[16:12:05] adaedra: which explains everything you need to know
[16:12:21] Hoffman: adaedra: so how would I know to get to your link, from my link
[16:12:21] rahc: apeiros: there's something up with your bot; that page doesn't seem to document Kernel.require
[16:12:25] shevy: oh rubygems 2.6.3 is out
[16:12:55] adaedra: rahc: my apologizes for the bot; it's still being worked on and has some issues
[16:12:58] stunder: has joined #ruby
[16:13:18] shevy: it just needs some love
[16:13:22] 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.
[16:14:04] Hoffman: adaedra: still not seeing the connection
[16:15:51] adaedra: Hoffman: Kernel#open from openuri, which you found, overrides Kernel#open from core, which refers to IO.new for flags.
[16:16:09] adaedra: The link in the doc could be a bit better, I admit.
[16:16:15] goglosh: has joined #ruby
[16:16:26] Hoffman: adaedra: I see. so looking at openuri's Kernel#open, is there an indicator that it overrides core's Kernel#open?
[16:16:30] adaedra: But `ri Kernel#open` should have resolved this.
[16:16:33] Hoffman: just trying to figure out how to RTFM properly
[16:17:30] adaedra: Hoffman: mainly knowledge that Kernel is a core class, and the tiny info provided by "Otherwise, the original #open is called."
[16:17:46] Hoffman: adaedra: first part makes sense
[16:17:57] adaedra: right, module
[16:18:05] Hoffman: as for the second, "the original #open" links to open-uri's Kernel#open
[16:18:22] adaedra: yeah, link is not right.
[16:18:39] Hoffman: ACTION reads how to contribute to docs
[16:18:48] shevy: Hoffman do you know understand it :-)
[16:18:49] adaedra: But given how it's generated, I don't think it's easily fixable.
[16:18:50] stantona: has joined #ruby
[16:19:03] Hoffman: shevy: yes, thanks, and thanks to adaedra
[16:19:20] shevy: adaedra gets karma points!
[16:19:44] adaedra: ACTION baps `derpy for not providing the most useful information
[16:19:51] colegatron: has joined #ruby
[16:20:23] bkxd: has joined #ruby
[16:20:55] 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
[16:21:55] blackmesa: has joined #ruby
[16:23:15] djbkd: has joined #ruby
[16:23:23] adaedra: Hoffman: but my remark was not really on the link, more on the hint that this `open` is an override
[16:23:54] Eiam_: has joined #ruby
[16:24:41] n008f4g_: has joined #ruby
[16:26:20] PedramT: has joined #ruby
[16:26:30] djbkd: has joined #ruby
[16:27:44] VeryBewitching: has joined #ruby
[16:30:26] shevy: witchcraft time has begun again
[16:33:43] TakG: has joined #ruby
[16:33:58] madgen: has joined #ruby
[16:34:06] ramfjord: has joined #ruby
[16:34:09] nfk: has joined #ruby
[16:34:19] crime: has joined #ruby
[16:34:37] haylon: has joined #ruby
[16:35:18] smathy: has joined #ruby
[16:35:33] 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?
[16:36:03] crime: I really only need the contents of the file, after they are done, I guess
[16:36:04] haylon: export EDITOR=vim
[16:36:10] crime: right I know that
[16:36:12] Papierkorb: crime: Basically: system(ENV['EDITOR'], tempfile.path)
[16:36:39] crime: so it's actually writing a file, reading it, deleting it?
[16:36:47] Papierkorb: crime: 'tempfile' could be an instance of ::Tempfile, require 'tempfile' to use it (part of the ruby stdlib)
[16:36:51] n1colas: has joined #ruby
[16:37:01] crime: oh, didn't even know that. that's handy
[16:37:04] VeryBewitching: shevy: It's always witchcraft time somewhere in the world. :D
[16:37:17] SCHAAP137: has joined #ruby
[16:37:18] rake_db_migrate: has joined #ruby
[16:37:37] bodgix: has left #ruby: ()
[16:38:04] blackmesa: has joined #ruby
[16:38:06] bodgix: has joined #ruby
[16:38:31] 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).
[16:38:49] gizmore: has joined #ruby
[16:39:11] crime: good call, that would
[16:39:12] Papierkorb: No idea if 'vi' is commonly distributed on other UNIXes though
[16:39:19] crime: would've got me yelled at
[16:39:26] crime: sorry, keyboard troubles apparently
[16:40:42] ascarter: has joined #ruby
[16:40:52] mtkd: has joined #ruby
[16:41:20] davedev24: has joined #ruby
[16:41:24] apeiros: Papierkorb: I expected to read 'ed' as a sensible default ;-)
[16:41:39] PedramT: has joined #ruby
[16:42:08] karioleez: has joined #ruby
[16:42:32] OTORelic: has joined #ruby
[16:43:19] lxsameer: has joined #ruby
[16:44:57] smckee: has joined #ruby
[16:45:14] GodFather: has joined #ruby
[16:46:18] pifon: has joined #ruby
[16:46:23] crime: perhaps I'm just an idiot
[16:46:24] crime: require 'tempfile' system(ENV['EDITOR'], Tempfile.new('your-text').path)
[16:46:47] crime: but that's not working, complains about system receiving nil for String
[16:47:41] al2o3-cr: has joined #ruby
[16:47:50] lianj: crime: editor env not set
[16:48:05] crime: 'env editor' on my machine brings up nano
[16:49:26] workmad3: how about `echo $EDITOR`
[16:49:39] crime: I just confirmed that system('nano', blah blah) works
[16:49:42] workmad3: (seeing as env vars are case-sensitive and all)
[16:51:11] crime: that was it, working now. sorry bout that
[16:51:52] gregf: has joined #ruby
[16:51:57] crime: thanks :) yeah I was sitting there like 'env editor' works just fine, so weird
[16:52:03] crime: forgot to turn my brain on
[16:53:02] citrusfizz: has joined #ruby
[16:53:21] jmorgado: has joined #ruby
[16:53:43] workmad3: crime: also, `env editor` will run the command `editor` after setting up an environment, iirc... so not indicative of environment variables either :)
[16:54:04] workmad3: crime: so it sounds like you've symlinked editor to nano at some point too
[16:54:29] benlieb: has joined #ruby
[16:55:12] nofxx: has joined #ruby
[16:55:12] nofxx: has joined #ruby
[16:56:04] Xeago: has joined #ruby
[17:00:26] Eiam_: has joined #ruby
[17:01:07] dfockler: has joined #ruby
[17:01:31] shinnya: has joined #ruby
[17:02:12] bluOxigen_: has joined #ruby
[17:02:22] Zai00: has joined #ruby
[17:03:16] _stu_: has joined #ruby
[17:03:23] platzhirsch: has joined #ruby
[17:03:49] mdw: has joined #ruby
[17:05:10] vuashhhh: has joined #ruby
[17:09:06] skweek: has joined #ruby
[17:10:43] shevy: it was the cat!!!
[17:10:48] davedev24: has joined #ruby
[17:11:34] 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
[17:12:35] 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?
[17:12:42] PedramT: has joined #ruby
[17:12:58] citrusfizz: or is that the best way?
[17:14:03] Musashi007: has joined #ruby
[17:14:36] shevy: you could probably check for both in the regex, perhaps via the |
[17:14:51] shevy: I always assemble the regex on http://rubular.com/
[17:14:53] Macaveli: has joined #ruby
[17:15:08] mikecmpbll: has joined #ruby
[17:15:15] 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.
[17:15:38] shevy: http://rubular.com/r/m6oB6fwr0o
[17:15:45] stantona: has joined #ruby
[17:16:04] shevy: regex will usually be slower compared to non-regex checks for strings
[17:16:17] smckee: has joined #ruby
[17:16:34] shevy: I would use .include? in this case probably, not sure why you want a regex for strings there
[17:18:01] lianj: citrusfizz: Regexp.union("foo", "bar")
[17:18:04] citrusfizz: would .include? use less cycles you think?
[17:18:06] mistermo_: has joined #ruby
[17:18:29] citrusfizz: thanks lianj
[17:20:31] mrgrieves: has joined #ruby
[17:21:26] jackjackdripper1: has joined #ruby
[17:21:48] lianj: shevy: before proving it don't say that doing .include? in the same string twice is slower than a regex check
[17:24:13] mistermocha: has joined #ruby
[17:25:00] karapetyan: has joined #ruby
[17:26:16] madgen: has joined #ruby
[17:26:25] nanoz: has joined #ruby
[17:27:08] Cyrus: has joined #ruby
[17:27:14] sesquipedalian: has joined #ruby
[17:27:37] gard: has joined #ruby
[17:27:52] n008f4g_: has joined #ruby
[17:29:02] smckee: has joined #ruby
[17:30:23] rcvalle: has joined #ruby
[17:30:34] HanaNix: has joined #ruby
[17:31:53] c355E3B: anyone aware of some english language docs on digging into ruby's vms?
[17:32:26] rykou: has joined #ruby
[17:32:49] lomex: has joined #ruby
[17:34:15] chrisarcand: c355e3b: Like, how YARV works, etc?
[17:34:46] wzy: has joined #ruby
[17:34:47] c355E3B: well more focused on watching it at runtime
[17:34:48] ekinmur: has joined #ruby
[17:34:48] chrisarcand: I highly reccommend Pat Shaughnessy's book "Ruby Under a Microscope"
[17:34:49] scootaloo: has joined #ruby
[17:35:02] c355E3B: trying to read the c for the stuff, and its not verry clear yet
[17:35:23] B1n4r10: has joined #ruby
[17:35:25] platzhirsch: has left #ruby: ()
[17:36:08] bkxd: has joined #ruby
[17:36:10] bluOxigen: has joined #ruby
[17:37:11] rake_db_migrate: has joined #ruby
[17:37:38] rake_db_migrate: has joined #ruby
[17:39:13] Cohedrin: has joined #ruby
[17:39:33] mosez: has joined #ruby
[17:40:22] cdg_: has joined #ruby
[17:41:03] spider-mario: has joined #ruby
[17:42:11] Xeago: has joined #ruby
[17:45:20] citrusfizz: i tested .include and regex match, include? was a little more than twice as fast
[17:45:43] citrusfizz: now i'm going to test with multiple words to see if regex wins
[17:48:52] hahuang61: has joined #ruby
[17:50:08] jenrzzz: has joined #ruby
[17:51:53] blackmesa: has joined #ruby
[17:53:06] apeiros: citrusfizz: use =~, not match
[17:53:48] mdw: has joined #ruby
[17:54:56] dmr8: has joined #ruby
[17:55:00] ChiefAlexander: has joined #ruby
[17:55:33] godzillaenlacasa: has joined #ruby
[17:55:35] citrusfizz: for simple comparison looks like .include? wins easily
[17:56:54] tvsutton: has joined #ruby
[17:56:55] rickmasta: has joined #ruby
[17:57:20] Es0teric: has joined #ruby
[17:57:49] Zai00: has joined #ruby
[17:58:00] Es0teric: has joined #ruby
[17:58:03] Macaveli: has joined #ruby
[17:58:22] pawnbox: has joined #ruby
[17:58:40] Es0teric: has joined #ruby
[17:58:45] Renich: has joined #ruby
[17:59:51] TakG: has joined #ruby
[18:00:17] finisherr: has joined #ruby
[18:00:53] baweaver: has joined #ruby
[18:01:03] platzhirsch: has joined #ruby
[18:01:25] stantona: has joined #ruby
[18:01:38] rake_db_migrate: has joined #ruby
[18:01:56] S1kx: has joined #ruby
[18:03:11] Xeago: has joined #ruby
[18:03:20] citrusfizz: http://www.hastebin.com/ahonokelep.rb
[18:03:27] citrusfizz: include took 1978.7119440000001 milliseconds
[18:03:28] citrusfizz: match took 4390.0242929999995 milliseconds
[18:03:30] citrusfizz: =~ took 4661.655326 milliseconds
[18:04:17] apeiros: that sounds wrong. =~ should be faster than match.
[18:05:04] ekinmur: has joined #ruby
[18:05:44] citrusfizz: i pasted my code if you wanna check it, i probably screwed something up
[18:05:49] apeiros: try using benchmark/ips
[18:05:59] herberzt: has joined #ruby
[18:05:59] apeiros: real time isn't what you should measure to begin with
[18:06:21] apeiros: but the difference is surprisingly large.
[18:07:00] 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?
[18:07:21] herberzt: many relationship to item
[18:07:43] apeiros: ?rails herberzt
[18:07:43] ruby[bot]: herberzt: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[18:08:42] GG: has joined #ruby
[18:08:59] snoobydoo: has joined #ruby
[18:09:37] mojca: has joined #ruby
[18:11:14] weemsledeux: has joined #ruby
[18:13:05] smckee: has joined #ruby
[18:14:02] baweaver: has joined #ruby
[18:14:26] smckee: has joined #ruby
[18:14:59] PedramT: has joined #ruby
[18:15:11] smckee: has joined #ruby
[18:15:29] baweaver: has joined #ruby
[18:16:48] nartes: has joined #ruby
[18:17:28] malconis: has joined #ruby
[18:17:33] karioleez: has joined #ruby
[18:19:31] karioleez: has joined #ruby
[18:20:33] crdpink: has joined #ruby
[18:20:38] citrusfizz: user system total real
[18:20:38] agit0: has joined #ruby
[18:20:39] citrusfizz: time for .include?
[18:20:41] citrusfizz: 1.840000 0.000000 1.840000 ( 1.829244)
[18:20:42] citrusfizz: time for match
[18:20:44] citrusfizz: 4.020000 0.220000 4.240000 ( 4.238741)
[18:20:47] citrusfizz: 3.740000 0.770000 4.510000 ( 4.509846)
[18:21:44] crdpink: has joined #ruby
[18:21:47] citrusfizz: http://www.hastebin.com/ejobijuyos.rb
[18:21:55] BSaboia: has joined #ruby
[18:22:50] s2013: has joined #ruby
[18:22:54] skade: has joined #ruby
[18:23:58] rickmasta: has joined #ruby
[18:24:09] antgel: has joined #ruby
[18:24:30] Xeago: has joined #ruby
[18:25:17] Coldblackice: has joined #ruby
[18:26:08] edwinvdgraaf: has joined #ruby
[18:27:47] B1n4r10: has joined #ruby
[18:28:54] BrunoSaboia: has joined #ruby
[18:28:59] postmodern: has joined #ruby
[18:30:34] Gasher: has joined #ruby
[18:30:43] Begi: has joined #ruby
[18:30:59] karioleez: has joined #ruby
[18:31:25] smckee: has joined #ruby
[18:32:02] GodFather: has joined #ruby
[18:32:53] Frem: has joined #ruby
[18:34:33] SCHAAP137: has joined #ruby
[18:35:36] tercenya: has joined #ruby
[18:37:38] noService: has joined #ruby
[18:41:32] DoubleMalt: has joined #ruby
[18:41:42] karapetyan: has joined #ruby
[18:42:15] davedev24: has joined #ruby
[18:44:13] leftpad: has joined #ruby
[18:45:49] rob_: has joined #ruby
[18:45:58] jhack: has joined #ruby
[18:46:02] herberzt: has joined #ruby
[18:46:49] mrgrieves: has joined #ruby
[18:47:09] rob_: hi, can anyone tell me how i can access the methods in MyLogger in this example? https://gist.github.com/roobert/c9c4ec9e9e4d1e18b22dea9896543d83
[18:47:28] skweek: has joined #ruby
[18:47:32] rob_: i think im misunderstanding modules and the meta clas
[18:47:45] mjuszczak: has joined #ruby
[18:47:45] 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
[18:48:22] apeiros: jhack: wrong channel?
[18:48:25] jhack: MyLogger.logger ?
[18:48:29] jhack: yeah wrong chanel
[18:48:41] apeiros: rob_: you can't
[18:48:49] apeiros: rob_: you have to define those methods as instance methods
[18:48:56] apeiros: extend will add those as class method to Test
[18:50:27] dmr8: has joined #ruby
[18:51:03] rob_: apeiros: can i adjust either class to make it work? sorry for being vague but do you know what i mean?
[18:51:17] apeiros: rob_: I already told you how to adjust it
[18:52:17] sdothum: has joined #ruby
[18:52:43] rob_: so i have to move the methods into the Test module?
[18:53:07] apeiros: no. that's not what I said.
[18:53:22] apeiros: all you have to do is change them from class to instance methods.
[18:53:51] mdw: has joined #ruby
[18:54:02] rob_: if i do that i still get no such method error
[18:54:21] apeiros: update your gist then
[18:54:38] rob_: https://gist.github.com/roobert/3aa6999ee9a7fb1ce57fd0c45da31aba
[18:54:58] apeiros: you can edit gists instead of using new ones. that's better since it retains history.
[18:55:37] apeiros: why did you change `info "hello"` to `MyLogger.info "hello"`?
[18:55:41] futilegames: has joined #ruby
[18:56:39] Begi: you should add the .rb extension to your file
[18:56:54] Begi: Easier to read for us :)
[18:56:57] apeiros: oh yes, that definitively too
[18:57:03] _stu_: has joined #ruby
[18:57:20] rob_: ah great, thanks for the tips
[18:57:39] codezomb: has joined #ruby
[18:58:03] noService: has joined #ruby
[18:58:45] smckee: has joined #ruby
[18:59:09] smckee: has joined #ruby
[18:59:57] 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: ?
[19:00:25] n1colas: has joined #ruby
[19:00:44] last_staff: has joined #ruby
[19:00:46] diegoaguilar: has joined #ruby
[19:01:06] rake_db__: has joined #ruby
[19:05:52] Musashi007: has joined #ruby
[19:06:06] Macaveli: has joined #ruby
[19:06:53] DoubleMalt: has joined #ruby
[19:07:54] blackmesa: has joined #ruby
[19:08:50] Coldblackice_: has joined #ruby
[19:09:19] rickmasta: has joined #ruby
[19:10:04] troulouliou_dev: has joined #ruby
[19:11:03] rolha: has joined #ruby
[19:11:41] troulouliou_dev: has joined #ruby
[19:12:12] myntcake: has joined #ruby
[19:12:15] mistermocha: has joined #ruby
[19:12:17] skweek: has joined #ruby
[19:12:39] troulouliou_dev: has joined #ruby
[19:14:48] drbrain: has joined #ruby
[19:17:51] B1n4r10: has joined #ruby
[19:19:33] madgen: has joined #ruby
[19:19:55] dxb: has joined #ruby
[19:23:16] mikecmpbll: has joined #ruby
[19:23:33] Xeago: has joined #ruby
[19:23:43] tildes_: has joined #ruby
[19:23:50] shmuli: has joined #ruby
[19:24:02] mistermocha: has joined #ruby
[19:24:22] ekinmur: has joined #ruby
[19:25:11] baweaver: has joined #ruby
[19:27:16] stunder: has joined #ruby
[19:29:23] mojca: has joined #ruby
[19:29:46] rake_db_migrate: has joined #ruby
[19:31:19] Cohedrin: has joined #ruby
[19:32:49] Yeomra: has joined #ruby
[19:35:53] nartes: has joined #ruby
[19:36:56] bkxd: has joined #ruby
[19:37:21] jackjackdripper: has joined #ruby
[19:37:22] Musashi007: has joined #ruby
[19:38:01] PedramT: has joined #ruby
[19:39:06] stunder: has joined #ruby
[19:40:21] mistermocha: has joined #ruby
[19:41:11] karapetyan: has joined #ruby
[19:43:07] mikecmpbll: has joined #ruby
[19:44:06] SHyx0rmZ: has joined #ruby
[19:48:10] tty01: has joined #ruby
[19:50:30] futilegames: has joined #ruby
[19:50:33] smckee: has joined #ruby
[19:50:54] rickmasta: has joined #ruby
[19:51:01] Alayde: has joined #ruby
[19:51:22] DonOtreply: has joined #ruby
[19:54:59] rake_db_migrate: has joined #ruby
[19:56:35] yqt: has joined #ruby
[19:57:10] rake_db_migrate: has joined #ruby
[20:00:31] B1n4r10: has joined #ruby
[20:00:39] symm-: has joined #ruby
[20:01:46] futilegames: has left #ruby: ()
[20:01:56] baweaver: has joined #ruby
[20:03:25] yfeldblum: has joined #ruby
[20:04:40] ssiris: has joined #ruby
[20:06:14] hahuang61: has joined #ruby
[20:06:45] ixti: has joined #ruby
[20:07:14] blackgoat: has joined #ruby
[20:08:08] firstdayonthejob: has joined #ruby
[20:10:08] snoobydoo: has joined #ruby
[20:11:03] zeroDivisible: has joined #ruby
[20:12:07] chouhoulis: has joined #ruby
[20:12:41] abyx: has joined #ruby
[20:14:36] baweaver: has joined #ruby
[20:15:32] cdg: has joined #ruby
[20:15:48] Devalo: has joined #ruby
[20:16:20] cdg: has joined #ruby
[20:18:46] shpoont: has joined #ruby
[20:19:00] Uranio: has joined #ruby
[20:20:04] davedev24: has joined #ruby
[20:21:07] Papierkorb: >> "foobar".hash
[20:21:10] Fredrich010: has joined #ruby
[20:21:27] baweaver: Papierkorb: make sure you're auth'd
[20:21:47] Papierkorb: baweaver: must've been disconnected at some point
[20:21:51] Papierkorb: >> "foobar".hash
[20:21:53] ruby[bot]: Papierkorb: # => -763253210 (https://eval.in/548834)
[20:21:58] adaedra: Papierkorb: SASL.
[20:22:09] Papierkorb: Anyway, String#hash is apparently not meant to be stored
[20:24:24] mylord: has left #ruby: ()
[20:24:32] smckee: has joined #ruby
[20:24:40] shpoont: has joined #ruby
[20:26:20] apeiros: Object#hash is seeded on ruby's start
[20:26:20] banister: has joined #ruby
[20:26:27] shpoont: has joined #ruby
[20:26:47] chipotle: has joined #ruby
[20:28:13] shpoont: has joined #ruby
[20:28:28] htmldrum: has joined #ruby
[20:29:22] Begi1: has joined #ruby
[20:29:44] barajasfab: has joined #ruby
[20:30:01] shpoont: has joined #ruby
[20:31:16] strongcode: how can I execute ruby directly from the command line? I forget the flag
[20:31:24] havenwood: strongcode: -e
[20:31:36] havenwood: strongcode: see: ruby -h
[20:31:41] havenwood: or for more: man ruby
[20:31:47] strongcode: perfect, thank you!
[20:31:53] havenwood: you're welcome
[20:32:07] eam: or perldoc perlrun for a more verbose rundown on option functions
[20:33:04] strongcode: can you use double quotes in ruby -e commands?
[20:33:13] strongcode: or do the inner ones need to be escaped ?
[20:33:21] eam: you can use any characters you wish, other than the nul byte
[20:33:39] Papierkorb: strongcode: That's up to your shell.
[20:33:47] eam: but if you're running the command from a shell you will need to take care regarding your shell's quoting rules
[20:33:55] shpoont: has joined #ruby
[20:34:15] jenrzzz: has joined #ruby
[20:34:15] jenrzzz: has joined #ruby
[20:34:18] 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?
[20:35:03] eam: arguments after the -e will be found in ARGV - no pipe involved
[20:35:18] rickmasta: has joined #ruby
[20:35:26] eam: ruby -e'puts ARGV.inspect' a b c
[20:35:29] strongcode: I see. Sorry, man page could have answeered that for me
[20:35:58] Papierkorb: strongcode: you can also pipe a file into ruby and then process it. Examples: http://benoithamelin.tumblr.com/ruby1line
[20:36:12] sdwrage: has joined #ruby
[20:36:21] Papierkorb: strongcode: maybe this one's better https://robm.me.uk/ruby/2013/11/20/ruby-enp.html
[20:36:25] eam: -x is my favorite flag for that
[20:36:54] 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
[20:37:07] eam: you can just pipe the entire email, headers and all, into ruby -x and it'll run it
[20:37:30] B1n4r10: has joined #ruby
[20:37:34] agent_white: has joined #ruby
[20:39:52] strongcode: sweet, thank you for the links
[20:40:00] _stu_: has joined #ruby
[20:41:04] shpoont: has joined #ruby
[20:42:44] skade: has joined #ruby
[20:43:06] vdamewood: has joined #ruby
[20:43:55] tty01: has joined #ruby
[20:43:59] karapetyan: has joined #ruby
[20:44:55] sq271: has joined #ruby
[20:46:39] Musashi007: has joined #ruby
[20:49:09] ur5us: has joined #ruby
[20:50:38] vdamewood: has joined #ruby
[20:50:41] smckee: has joined #ruby
[20:50:42] OTORelic: has joined #ruby
[20:51:55] scepticulous: has joined #ruby
[20:53:35] wlos: has joined #ruby
[20:56:04] solocshaw: has joined #ruby
[20:56:22] Renich: has joined #ruby
[20:56:50] slackbotgz: has joined #ruby
[20:58:36] smckee: has joined #ruby
[20:58:49] gregf: has joined #ruby
[20:59:52] xalupeao: has joined #ruby
[21:01:16] KensoDev: has joined #ruby
[21:02:01] diegoaguilar: has joined #ruby
[21:02:30] jenrzzz_: has joined #ruby
[21:03:00] ramfjord_: has joined #ruby
[21:03:37] mojca: has joined #ruby
[21:05:47] tax: has joined #ruby
[21:06:56] hahuang61: has joined #ruby
[21:08:17] jgt4: has joined #ruby
[21:10:08] wlos: has joined #ruby
[21:12:52] rickmasta: has joined #ruby
[21:14:00] karmatr0n: has joined #ruby
[21:14:07] theery: has joined #ruby
[21:14:30] sepp2k: has joined #ruby
[21:14:42] Selby: has joined #ruby
[21:14:56] Selby: can someone give me an excellent beginner programming idea
[21:14:59] fostertheweb: has joined #ruby
[21:15:04] shmuli: has joined #ruby
[21:15:11] Selby: like an idea for a beginner program to make for a first big ruby project
[21:16:13] Ox0ded: Deathfacejackal: How about a text adventure?
[21:16:39] 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
[21:16:54] Ox0ded: Fresh eyes always see clearer.
[21:18:16] Begi: has left #ruby: ()
[21:18:59] firstdayonthejob: has joined #ruby
[21:22:39] bkxd: has joined #ruby
[21:26:07] shmuli: has joined #ruby
[21:28:04] HanaNix: has joined #ruby
[21:30:38] chipotle: has joined #ruby
[21:30:44] rickmasta: has joined #ruby
[21:31:18] hxegon: has joined #ruby
[21:34:15] ChiefAlexander: has joined #ruby
[21:35:02] jtoy: has joined #ruby
[21:35:45] karapetyan: has joined #ruby
[21:38:10] karapetyan: has joined #ruby
[21:38:17] kirillzh: has joined #ruby
[21:38:20] abyx: has joined #ruby
[21:41:35] tAn: has joined #ruby
[21:42:32] banister: has joined #ruby
[21:43:14] Musashi007: has joined #ruby
[21:43:52] edwinvdgraaf: has joined #ruby
[21:46:45] ChiefAlexander: has joined #ruby
[21:47:02] djbkd: has joined #ruby
[21:50:50] pawnbox: has joined #ruby
[21:51:54] jenrzzz: has joined #ruby
[21:52:01] ssiris: has joined #ruby
[21:57:34] swills: has joined #ruby
[21:58:07] Ormm: has joined #ruby
[21:58:33] chiru: has joined #ruby
[21:59:23] ensyde_: has joined #ruby
[22:02:07] Madplatypus: has joined #ruby
[22:02:33] aeterne: has joined #ruby
[22:02:41] baweaver: has joined #ruby
[22:02:53] andywojo: has joined #ruby
[22:03:48] PedramT: has joined #ruby
[22:04:23] akkad: has left #ruby: ("ERC (IRC client for Emacs 24.5.50.1)")
[22:07:10] sonOfRa: has joined #ruby
[22:07:38] Seich: has joined #ruby
[22:07:59] hahuang61: has joined #ruby
[22:10:35] chipotle: has joined #ruby
[22:11:02] neanderslob_: has joined #ruby
[22:11:51] baweaver: has joined #ruby
[22:15:08] hahuang61: has joined #ruby
[22:17:13] diegoaguilar: has joined #ruby
[22:19:53] ChiefAlexander: has joined #ruby
[22:20:09] chiru: has left #ruby: ("Leaving")
[22:23:17] andywojo: has joined #ruby
[22:23:47] mistermo_: has joined #ruby
[22:25:24] thomasfedb: has joined #ruby
[22:25:24] thomasfedb: has joined #ruby
[22:32:12] baweaver: has joined #ruby
[22:33:28] skweek: has joined #ruby
[22:33:45] darkf: has joined #ruby
[22:34:35] kies: has joined #ruby
[22:35:08] jenrzzz: has joined #ruby
[22:35:08] jenrzzz: has joined #ruby
[22:38:16] zenlot: has joined #ruby
[22:39:04] TheNet: has joined #ruby
[22:39:57] Xeago: has joined #ruby
[22:42:29] BSaboia: has joined #ruby
[22:42:44] astrobunny: has joined #ruby
[22:44:03] shevy: lianj hey buddy - if I am interested in your opinion I'll let you know by a call
[22:47:01] anthony: has joined #ruby
[22:47:35] ur5us_: has joined #ruby
[22:48:11] Musashi007: has joined #ruby
[22:49:50] ur5us: has joined #ruby
[22:51:50] noService: has joined #ruby
[22:57:33] rbennacer: has joined #ruby
[23:01:10] andywojo: has joined #ruby
[23:05:11] benlieb: has joined #ruby
[23:06:04] karapetyan: has joined #ruby
[23:06:56] weemsledeux: has joined #ruby
[23:09:00] rake_db_migrate: has joined #ruby
[23:09:01] zenspider: has joined #ruby
[23:09:10] Musashi007: has joined #ruby
[23:09:20] zenspider: has joined #ruby
[23:10:18] zenspider: what'd I miss??
[23:11:11] eam: little bit of ruby, whole lotta questions
[23:11:11] havenwood: little green "Verified" boxes on the Githubs
[23:11:12] toretore: has joined #ruby
[23:11:50] eam: oh and phones are computers now. And no one rides horses anymore
[23:12:09] chouhoulis: has joined #ruby
[23:13:59] havenwood: Bug reported that seat is not moving up and down as expected like a horse. Please fix.
[23:15:36] rbennacer: has joined #ruby
[23:19:31] yfeldblum: has joined #ruby
[23:21:48] chouhoulis: has joined #ruby
[23:23:21] bkxd: has joined #ruby
[23:23:54] Ropeney: has joined #ruby
[23:24:06] smckee: has joined #ruby
[23:24:21] jenrzzz: has joined #ruby
[23:25:44] swills: has joined #ruby
[23:32:17] babblebre: has joined #ruby
[23:33:06] n008f4g_: has joined #ruby
[23:33:28] zenspider: eam: no horses?!? how will I get anywhere?
[23:35:17] goglosh: has joined #ruby
[23:35:51] rake_db_migrate: has joined #ruby
[23:36:17] tubuliferous: has joined #ruby
[23:36:21] GodFather: has joined #ruby
[23:37:35] smathy: ...don't freak out, there's NOT a tiny orchestra stuffed in the front.
[23:37:40] jhack: has joined #ruby
[23:38:10] rake_db_migrate: has joined #ruby
[23:39:11] Azure|dc: has joined #ruby
[23:39:37] JesseH2: has joined #ruby
[23:41:31] Xeago: has joined #ruby
[23:42:09] OTORelic: has joined #ruby
[23:42:22] mrgrieves: has joined #ruby
[23:43:52] Rubie: has joined #ruby
[23:45:29] DLSteve: has joined #ruby
[23:46:58] tAn: has joined #ruby
[23:48:20] ekinmur: has joined #ruby
[23:50:01] hxegon: has joined #ruby
[23:50:52] TheNet: has joined #ruby
[23:52:04] yohle: has joined #ruby
[23:52:15] hahuang65: has joined #ruby
[23:52:39] Uranio: has joined #ruby
[23:53:36] cdg: has joined #ruby
[23:54:38] Cohedrin: has joined #ruby
[23:56:24] devbug: has joined #ruby
[23:57:45] yfeldblum: has joined #ruby
[23:59:22] baweaver: has joined #ruby