« Back to channel list

#ruby - 23 April 2016

« Back 1 day Forward 1 day »
[00:00:05] Devalo_: has joined #ruby
[00:01:38] devbug: has joined #ruby
[00:02:55] Devalo: has joined #ruby
[00:03:28] _djbkd: has joined #ruby
[00:05:20] Devalo: has joined #ruby
[00:07:29] blackmes1: has joined #ruby
[00:08:27] Devalo_: has joined #ruby
[00:11:46] Devalo: has joined #ruby
[00:12:12] sesquipedalian: has joined #ruby
[00:12:43] Rodya_: has joined #ruby
[00:12:53] justbleed: has joined #ruby
[00:18:50] s2013: has joined #ruby
[00:21:19] danman_: has joined #ruby
[00:25:34] tAn: has joined #ruby
[00:27:15] Rodya_: has joined #ruby
[00:30:53] solocshaw: has joined #ruby
[00:31:05] cpup: has joined #ruby
[00:31:48] bradleyprice: has joined #ruby
[00:32:22] diegoaguilar: has joined #ruby
[00:32:27] shakes: has joined #ruby
[00:36:13] valetudo: has joined #ruby
[00:36:14] Polysics: has joined #ruby
[00:37:22] bradleyprice: has joined #ruby
[00:37:54] ur5us_: has joined #ruby
[00:38:26] Polysics: has joined #ruby
[00:38:51] crime: jruby always amazes me. it's like the longer it runs the faster it gets
[00:40:03] bradleyp_: has joined #ruby
[00:43:31] SilverKey: has joined #ruby
[00:45:16] bronson: has joined #ruby
[00:45:53] Rodya_: has joined #ruby
[00:47:13] ur5us: has joined #ruby
[00:52:18] ur5us: has joined #ruby
[00:52:19] jaguarmagenta: has joined #ruby
[00:53:20] vdamewood: has joined #ruby
[00:53:21] Rodya_: has joined #ruby
[00:53:21] jaguarma_: has joined #ruby
[00:53:31] threh: has joined #ruby
[00:53:40] ur5us_: has joined #ruby
[00:57:59] bradleyprice: has joined #ruby
[00:58:01] ur5us: has joined #ruby
[00:58:45] baweaver: has joined #ruby
[00:59:11] jaguarmagenta: has joined #ruby
[00:59:14] Xeago: has joined #ruby
[01:00:21] jaguarma_: has joined #ruby
[01:05:59] s00pcan: has joined #ruby
[01:06:05] rbennacer: has joined #ruby
[01:10:15] devbug: has joined #ruby
[01:10:24] flashpoint9: has joined #ruby
[01:18:08] ur5us: has joined #ruby
[01:22:09] statelesscode: has joined #ruby
[01:22:57] Yiota: has joined #ruby
[01:25:15] freerobby: has joined #ruby
[01:25:50] agentmeerkat: has joined #ruby
[01:26:04] musgravejw: has joined #ruby
[01:26:23] sneakerhax: has joined #ruby
[01:26:51] x77686d: has joined #ruby
[01:33:39] tAn: has joined #ruby
[01:37:15] jaguarmagenta: has joined #ruby
[01:38:20] LoneHerm_: has joined #ruby
[01:39:59] Polysics: has joined #ruby
[01:40:32] douglass1: has joined #ruby
[01:41:29] terminalrecluse: has joined #ruby
[01:45:01] rbennacer: has joined #ruby
[01:45:28] gnufied: has joined #ruby
[01:47:15] Skelz0r: has joined #ruby
[01:47:37] xingped: has joined #ruby
[01:50:13] RegulationD: has joined #ruby
[01:57:06] chagel: has joined #ruby
[02:01:48] x77686d: has joined #ruby
[02:02:23] paradisaeidae_: has joined #ruby
[02:09:34] stardiviner: has joined #ruby
[02:15:25] x77686d: has joined #ruby
[02:15:28] Rodya_: has joined #ruby
[02:19:50] bkxd: has joined #ruby
[02:23:25] benlieb: has joined #ruby
[02:23:35] Rodya_: has joined #ruby
[02:25:44] The_Phoenix: has joined #ruby
[02:25:57] flashpoint9: Im trying to access a variable from a parent class in a sub class. I cant get it working https://gist.github.com/JosephLeon/b786b44f7abf9edb94256572e4e71379
[02:26:57] The_Phoenix: has joined #ruby
[02:27:13] flashpoint9: basically i will have a variable that would be repeated from superclass to subclass, trying to keep it dry
[02:28:00] The_Phoenix: has joined #ruby
[02:29:00] The_Phoenix: has joined #ruby
[02:30:48] The_Phoenix: has joined #ruby
[02:32:24] The_Phoenix: has joined #ruby
[02:33:29] The_Phoenix: has joined #ruby
[02:33:38] The_Phoenix: has joined #ruby
[02:33:39] idletask: has joined #ruby
[02:36:06] The_Phoenix: has joined #ruby
[02:36:56] benzrf: flashpoint9: first ofall, those are two different methods...
[02:37:11] benzrf: second of all, you want ivars, not local vars
[02:37:38] flashpoint9: the case of the methods should be the same
[02:37:55] flashpoint9: i got it working with class variables, instance variables just didnt work
[02:38:08] flashpoint9: i must have been missing something when i tried them
[02:38:20] flashpoint9: ill retry with instance variables
[02:38:56] benzrf: flashpoint9: wait, are you expecting both versions of the method to run?
[02:39:04] benzrf: cause, that's not how classes work
[02:39:41] flashpoint9: no, the classes and methods arent important, i just wanted the variable
[02:39:54] flashpoint9: i made dummy classes and methods for example code
[02:44:56] mfb2: has joined #ruby
[02:46:03] Spami: has joined #ruby
[02:46:36] bronson: has joined #ruby
[02:47:05] hxegon: has joined #ruby
[02:49:23] bkxd: has joined #ruby
[02:49:39] william3: has joined #ruby
[02:58:53] chipotle: has joined #ruby
[02:59:33] baweaver: has joined #ruby
[03:04:49] Rodya_: has joined #ruby
[03:05:15] northfurr: has joined #ruby
[03:05:55] LoneHerm_: has joined #ruby
[03:06:48] scorphus: has joined #ruby
[03:07:49] idletask: has joined #ruby
[03:08:41] scorphus: Hi! Sorry if I sound as a non-rubyist, but I need help installing a local gem in development or "editable" mode, I already have it cloned and ready
[03:09:58] scorphus: ah! looks like bundle install --path is my friend
[03:10:22] Pupeno: has joined #ruby
[03:10:22] Pupeno: has joined #ruby
[03:11:18] mdih: has joined #ruby
[03:12:29] scorphus: hmhm, no good
[03:13:42] bradleyprice: has joined #ruby
[03:15:06] bradleyprice: has joined #ruby
[03:16:17] zast: has joined #ruby
[03:16:39] dcunit3d: has joined #ruby
[03:19:19] braincras: has joined #ruby
[03:19:20] yfeldblum: has joined #ruby
[03:20:13] yfeldblum: has joined #ruby
[03:21:46] skweek: has joined #ruby
[03:23:25] flashpoint9: has joined #ruby
[03:23:39] scorphus: any ideas, I just wanna change the source code of one of the installed dependencies, should I change the one in the rvm tree? geez... I'm lost
[03:24:01] bkxd: has joined #ruby
[03:29:34] blackgoat: has joined #ruby
[03:30:25] vdamewood: has joined #ruby
[03:30:40] baweaver: has joined #ruby
[03:38:06] tAn: has joined #ruby
[03:39:00] devbug: has joined #ruby
[03:39:30] gix: has joined #ruby
[03:41:36] william3: has joined #ruby
[03:43:03] Polysics: has joined #ruby
[03:43:48] bradleyprice: has joined #ruby
[03:48:33] TheMoonMaster: has joined #ruby
[03:49:39] chouhoulis: has joined #ruby
[03:51:03] RegulationD: has joined #ruby
[03:55:35] danman: has joined #ruby
[04:00:32] agentmeerkat: has joined #ruby
[04:05:27] uchuu1: has joined #ruby
[04:05:41] chipotle: has joined #ruby
[04:06:15] blackmes1: has joined #ruby
[04:10:03] Rodya_: has joined #ruby
[04:11:20] lxsameer: has joined #ruby
[04:11:34] uchuu1: >> RUBY_VERSION
[04:12:17] duncannz: has joined #ruby
[04:12:42] arescorpio: has joined #ruby
[04:22:44] johnkevinmbasco: has joined #ruby
[04:23:21] johnkevinmbasco: Build a JSON API with Rails and JSONAPI Resources - http://tutorialsfordevs.com/tutorials/build-json-api-rails-jsonapi-resources/
[04:23:33] bronson: has joined #ruby
[04:28:24] vzdtqsdv: has joined #ruby
[04:30:25] Moosashi: has joined #ruby
[04:31:16] CloCkWeRX: has joined #ruby
[04:33:58] vzdtqsdv: can someone please help? I have the following problem: https://gist.github.com/sumproxy/5da24716ffe456c288dec44c4107e22e
[04:34:31] vzdtqsdv: the tests pass if each assert is wrapped in its own test method
[04:37:39] rkazak: has joined #ruby
[04:38:15] Moosashi: has joined #ruby
[04:38:31] Moosashi: has joined #ruby
[04:39:23] Moosashi: has joined #ruby
[04:39:27] LoneHerm_: has joined #ruby
[04:41:57] BTRE: has joined #ruby
[04:44:45] Polysics: has joined #ruby
[04:46:40] bronson: has joined #ruby
[04:46:57] nando293921: has joined #ruby
[04:54:45] Mia: has joined #ruby
[04:54:45] Mia: has joined #ruby
[04:55:37] diegoaguilar: has joined #ruby
[05:00:55] skade: has joined #ruby
[05:04:35] jaguarmagenta: has joined #ruby
[05:04:37] beneggett: has joined #ruby
[05:05:56] acl_: has joined #ruby
[05:06:09] tax: has joined #ruby
[05:09:27] crameth: has joined #ruby
[05:10:59] sauvin: has joined #ruby
[05:11:12] blackmes1: has joined #ruby
[05:14:33] Cohedrin: has joined #ruby
[05:15:14] Madplatypus: has joined #ruby
[05:15:25] hk238: has joined #ruby
[05:17:04] grassass: has joined #ruby
[05:19:20] boggs: has joined #ruby
[05:20:27] Es0teric: has joined #ruby
[05:24:24] siaW: has joined #ruby
[05:28:15] benlieb: has joined #ruby
[05:32:31] x77686d: has joined #ruby
[05:36:31] kareeoleez: has joined #ruby
[05:38:30] baweaver: has joined #ruby
[05:43:47] tAn: has joined #ruby
[05:47:03] eckonet: has joined #ruby
[05:51:48] RegulationD: has joined #ruby
[05:54:39] hxegon: has joined #ruby
[05:56:45] jaguarma_: has joined #ruby
[05:58:49] Skelz0r: has joined #ruby
[06:00:28] PedramT: has joined #ruby
[06:01:55] s00pcan: has joined #ruby
[06:03:03] Yeomra: has joined #ruby
[06:04:13] armyriad: has joined #ruby
[06:04:29] Xeago: has joined #ruby
[06:04:58] firstdayonthejob: has joined #ruby
[06:05:31] PedramT: has joined #ruby
[06:05:42] navneet_: has joined #ruby
[06:06:57] Moosashi: has joined #ruby
[06:09:01] benlieb: has joined #ruby
[06:10:24] solocshaw: has joined #ruby
[06:10:40] PedramT: has joined #ruby
[06:11:54] blackmes1: has joined #ruby
[06:13:33] x77686d: has joined #ruby
[06:13:53] lkba: has joined #ruby
[06:16:41] moeabdol: has joined #ruby
[06:18:16] benlieb: has joined #ruby
[06:19:02] Asher: has joined #ruby
[06:20:58] agit0: has joined #ruby
[06:21:30] yfeldblum: has joined #ruby
[06:22:15] yfeldblum: has joined #ruby
[06:24:18] bluOxigen: has joined #ruby
[06:27:25] LoneHerm_: has joined #ruby
[06:27:26] djbkd_: has joined #ruby
[06:30:50] The_Phoenix: has joined #ruby
[06:31:44] mfb2: has joined #ruby
[06:32:30] The_Phoenix: has joined #ruby
[06:33:50] The_Phoenix: has joined #ruby
[06:34:38] dionysus69: has joined #ruby
[06:36:19] devbug: has joined #ruby
[06:37:00] bkxd: has joined #ruby
[06:40:19] dionysus69: has joined #ruby
[06:40:57] terminalrecluse: has joined #ruby
[06:41:09] naftilos76: has joined #ruby
[06:41:47] Emmanuel_Chanel: has joined #ruby
[06:42:13] pawnbox: has joined #ruby
[06:42:16] navneet_: has joined #ruby
[06:43:46] chouhoulis: has joined #ruby
[06:45:13] tessi: has joined #ruby
[06:45:51] blaxter: has joined #ruby
[06:47:25] PedramT: has joined #ruby
[06:47:34] Polysics: has joined #ruby
[06:48:28] tAn: has joined #ruby
[06:48:46] bronson: has joined #ruby
[06:49:33] lkba_: has joined #ruby
[06:51:00] x77686d: has joined #ruby
[06:51:09] sandelius: has joined #ruby
[06:51:36] x77686d: has joined #ruby
[06:53:22] rippa: has joined #ruby
[06:54:17] Tempesta_: has joined #ruby
[06:56:18] PedramT: has joined #ruby
[06:57:17] agit0: has joined #ruby
[06:57:34] akem: has joined #ruby
[06:58:09] Rodya_: has joined #ruby
[07:01:45] jaguarmagenta: has joined #ruby
[07:03:18] lkba: has joined #ruby
[07:11:55] pawnbox: has joined #ruby
[07:12:41] blackmes1: has joined #ruby
[07:13:54] agentmeerkat: has joined #ruby
[07:14:02] toretore: has joined #ruby
[07:20:00] sergey_makagon: has joined #ruby
[07:20:29] arup_r: has joined #ruby
[07:20:40] arup_r: Hi.. Why this program gives error? https://gist.github.com/aruprakshit/2fff4f0643f5a6fc4b524084ba5e32b3
[07:21:07] last_staff: has joined #ruby
[07:22:07] Ox0dea: arup_r: Your block parameters are all misnamed.
[07:23:09] marr: has joined #ruby
[07:24:27] arup_r: Ox0dea: I was following the blog.. http://blog.honeybadger.io/capturing-stdout-stderr-from-shell-commands-via-ruby/
[07:25:01] arup_r: I want to read the unix command output as IO object, not a string..
[07:25:41] Ox0dea: arup_r: What you've called `stdout` is actually the process's stdin.
[07:27:37] Polysics_: has joined #ruby
[07:27:45] szulak: has joined #ruby
[07:29:23] arup_r: thanks Ox0dea. misleading blog :)
[07:29:38] Ox0dea: arup_r: Indeed. Not sure why they'd post broken code. :/
[07:31:02] arup_r: I want to read first, second and thrid data from each line. Any idea what would be the most controlled way? https://gist.github.com/aruprakshit/2fff4f0643f5a6fc4b524084ba5e32b3#file-program-rb-L2
[07:31:19] arup_r: split is not the right tool
[07:32:21] arup_r: I meant split(" ") will do split it on space and then how do I recognize ...thinking though
[07:32:57] Ox0dea: You should split on runs of 2 or more spaces.
[07:34:05] navneet: has joined #ruby
[07:34:54] Ox0dea: Well, notice that all the fields are separated by at least two spaces.
[07:36:55] arup_r: Ox0dea: progress: https://gist.github.com/aruprakshit/2fff4f0643f5a6fc4b524084ba5e32b3 .. thanks :) I hope this is ok. it wouldn't break anytime
[07:37:08] Ox0dea: arup_r: LGTM. :)
[07:37:32] Ox0dea: Be advised that `\s` means something more than a plain space, but it shouldn't matter much here.
[07:38:25] arup_r: ok.. i see. and I have to split the 4th item in the array on `-` always. and take the first as it is the log in time
[07:39:09] LoneHermit: has joined #ruby
[07:39:29] Ox0dea: Seems reasonable enough.
[07:39:51] arup_r: hmm thanks again
[07:39:56] arup_r: going to shower
[07:40:24] arup_r: ma mac don't support last command options, so I am using one server where I have a rails app to write this program :p
[07:40:33] arup_r: I have no other choice hehe
[07:40:54] yxhuvud: has joined #ruby
[07:44:05] moeabdol: has joined #ruby
[07:44:52] chouhoulis: has joined #ruby
[07:45:32] SCHAAP137: has joined #ruby
[07:49:04] tAn: has joined #ruby
[07:49:59] ledestin: has joined #ruby
[07:51:07] arup_r: has joined #ruby
[07:52:26] zapata: has joined #ruby
[07:53:14] baweaver: has joined #ruby
[07:54:01] CausaMortis: has joined #ruby
[07:59:05] Rodya_: has joined #ruby
[08:00:09] codecop: has joined #ruby
[08:01:40] Weavel: has joined #ruby
[08:04:04] pawnbox: has joined #ruby
[08:04:15] solocshaw: has joined #ruby
[08:07:45] ocbtec: has joined #ruby
[08:11:24] PedramT: has joined #ruby
[08:13:20] Dimik: has joined #ruby
[08:13:52] blackmes1: has joined #ruby
[08:13:59] konsolebox: has joined #ruby
[08:22:27] dionysus69: has joined #ruby
[08:24:17] PaulCapestany: has joined #ruby
[08:25:26] lomex: has joined #ruby
[08:28:13] PedramT: has joined #ruby
[08:31:37] pandaant: has joined #ruby
[08:32:56] PedramT: has joined #ruby
[08:38:10] LoneHermit: has joined #ruby
[08:38:25] pawnbox: has joined #ruby
[08:39:34] The_Phoenix: has joined #ruby
[08:40:49] The_Phoenix: has joined #ruby
[08:41:49] lxsameer: has joined #ruby
[08:42:36] The_Phoenix: has joined #ruby
[08:43:25] beneggett: has joined #ruby
[08:44:01] The_Phoenix: has joined #ruby
[08:45:09] The_Phoenix: has joined #ruby
[08:45:51] chouhoulis: has joined #ruby
[08:46:36] JagaJaga: has joined #ruby
[08:46:42] agit0: has joined #ruby
[08:47:48] Rutix: has joined #ruby
[08:47:48] Rutix: has joined #ruby
[08:48:59] lxsameer: has joined #ruby
[08:51:42] pawnbox: has joined #ruby
[08:51:50] s2013: has joined #ruby
[08:53:20] tAn: has joined #ruby
[08:59:34] PedramT: has joined #ruby
[09:00:11] BrunoSaboia: has joined #ruby
[09:02:48] Rodya_: has joined #ruby
[09:04:14] szulak: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[09:07:15] Xeago: has joined #ruby
[09:13:26] kareeoleez: has joined #ruby
[09:14:51] blackmes1: has joined #ruby
[09:18:46] pawnbox: has joined #ruby
[09:21:23] karapetyan: has joined #ruby
[09:22:40] last_staff: has joined #ruby
[09:25:20] doublemalt_: has joined #ruby
[09:28:29] Gasher: has joined #ruby
[09:28:57] tessi: has joined #ruby
[09:29:31] patrick_star_3: has joined #ruby
[09:31:51] Fernando-Basso: Are class methods singleton methods?
[09:33:30] Ox0dea: "Class method" is just the conventional way to refer to singleton methods defined on a Class.
[09:35:15] Fernando-Basso: And why do I read ruby-doc.org and kind of fail to learn these things?
[09:35:22] Fernando-Basso: Is the problem with me?
[09:35:34] Ox0dea: ¯\_(ツ)_/¯
[09:36:09] zeroDivisible: has joined #ruby
[09:36:41] Moosashi: has joined #ruby
[09:38:41] shevy: ruby-doc.org isn't really that great... just look at the display format alone on http://ruby-doc.org/core-2.3.0/
[09:40:18] Pupeno: has joined #ruby
[09:40:34] Fernando-Basso: I see. I kind of like php docs better, as for mdn js docs, or even racket docs.
[09:40:49] sdothum: has joined #ruby
[09:40:55] Fernando-Basso: Not sure why ruby-docs is kind of all sparse and "lacking".
[09:42:02] Fernando-Basso: Well, the reference docs are fine.
[09:42:17] Fernando-Basso: When you want to check particular things on methods and things like that.
[09:43:16] anik120: has joined #ruby
[09:43:55] shevy: it was worse +10 years ago
[09:44:24] shevy: I think with iframes
[09:45:52] chagel: has joined #ruby
[09:46:13] FooMunki: has joined #ruby
[09:46:38] chouhoulis: has joined #ruby
[09:48:15] neanderslob: has joined #ruby
[09:51:28] Pupeno: has joined #ruby
[09:51:42] sdothum: has joined #ruby
[09:53:01] neanderslob_: has joined #ruby
[09:56:02] tAn: has joined #ruby
[09:57:01] mdih: has joined #ruby
[09:57:36] rht: has joined #ruby
[09:59:32] ramfjord: has joined #ruby
[09:59:46] tomphp: has joined #ruby
[10:00:41] Didac: has joined #ruby
[10:01:42] tubuliferous: has joined #ruby
[10:03:08] blackmes1: has joined #ruby
[10:03:15] tomphp: has joined #ruby
[10:08:41] Xeago: has joined #ruby
[10:08:49] Emmanuel_Chanel: has joined #ruby
[10:09:17] Emmanuel_Chanel: has joined #ruby
[10:11:53] Skelz0r: has joined #ruby
[10:15:55] navneet: has joined #ruby
[10:16:42] minimalism: has joined #ruby
[10:16:49] AlexRussia: has joined #ruby
[10:23:44] pawnbox: has joined #ruby
[10:26:00] akem: has joined #ruby
[10:26:43] jaguarmagenta: has joined #ruby
[10:29:04] tubuliferous: has joined #ruby
[10:30:20] sandelius: has joined #ruby
[10:30:28] navneet: has joined #ruby
[10:32:50] Tempesta: has joined #ruby
[10:35:48] moeabdol: has joined #ruby
[10:40:38] kareeoleez: has joined #ruby
[10:40:56] crameth: has joined #ruby
[10:47:21] chouhoulis: has joined #ruby
[10:50:19] kareeoleez: has joined #ruby
[10:51:28] howdoi: has joined #ruby
[10:51:55] anik120: has joined #ruby
[10:52:20] navneet: has joined #ruby
[10:53:42] shevy: I'd wish rubygems.org would have some kind of very simple bugtracker
[10:53:54] shevy: like for trivia, http://www.rubydoc.info/gems/desktopen/0.5.1
[10:53:59] aswen: has joined #ruby
[10:54:01] shevy: "gem install dekstopen" a tiny typo
[10:56:17] mikecmpbll: has joined #ruby
[10:58:16] tAn: has joined #ruby
[11:02:12] antgel: has joined #ruby
[11:04:01] Pupeno: has joined #ruby
[11:08:16] kareeoleez: has joined #ruby
[11:08:30] noobsu: has joined #ruby
[11:14:43] diegoaguilar: has joined #ruby
[11:16:03] nemoNoboru: has joined #ruby
[11:16:16] TomyLobo: has joined #ruby
[11:17:21] giz|work: has joined #ruby
[11:20:58] navneet: has joined #ruby
[11:23:08] arup_r: has joined #ruby
[11:23:50] arup_r: without split, how can get the name '"Timothy McCord"' out of this string? My try with split https://gist.github.com/aruprakshit/ab6417439f7bcddd1e8c621cf1fcb308
[11:24:51] nemoNoboru: maybe using regexp?
[11:25:14] Ox0dea: arup_r: What's wrong with #split?
[11:25:42] Ox0dea: The whole point of delimiters is to make strings splittable...
[11:25:57] arup_r: yes,, was thinking with String#[regexp] .but have no idea.. Ox0dea, trying to avoid an intermediate object again..
[11:26:04] Ox0dea: arup_r: This is Ruby.
[11:26:05] ur5us: has joined #ruby
[11:26:13] kareeoleez: has joined #ruby
[11:26:16] shevy: arup_r you can test your regexes at rubular.com
[11:26:26] nemoNoboru: i think that using a regexp has more cost than using split
[11:26:34] shevy: arup_r and .scan
[11:26:45] arup_r: ok.. then I'm going with split.
[11:27:00] arup_r: shevy: my regex skill not good. :(
[11:27:09] arup_r: thanks all
[11:27:19] nemoNoboru: wait a sec, i am doing a regexp for ya
[11:27:30] shevy: that's where rubular.com comes in handy, you can build up your regex step by step, little by little
[11:28:20] LoneHerm_: has joined #ruby
[11:28:58] Ox0dea: arup_r: user, pass, uid, gid, comment, home, shell = line.split(':')
[11:29:46] cherry_lin: has joined #ruby
[11:30:05] Ox0dea: Even if you don't use all the fields, you can't beat the clarity of intent on that approach.
[11:30:11] LoneHermit: has joined #ruby
[11:30:12] cherry_lin: any ideas why delayed_job exits with "Killed: 9" after finishing all jobs?
[11:30:18] arup_r: Ox0dea: I need only comment from this.. so.. I thoguht to not make n array
[11:30:20] cherry_lin: isn't it supposed to wait for new jobs to come up?
[11:30:33] arup_r: Ox0dea: got you
[11:30:39] Ox0dea: cherry_lin: Are you using a lot of memory?
[11:31:16] nemoNoboru: honstly, i will use the Ox0dea solution arup_r
[11:31:21] nemoNoboru: regexp are expensive
[11:32:01] cherry_lin: Ox0dea: I don't think that worker takes too much memory, I have 16 gb ram on my workstation and the tasks are pretty simple
[11:32:33] Ox0dea: cherry_lin: I can't imagine why you'd get killed during a busy loop if you're not consuming excessive resources. :/
[11:33:00] imanc: has joined #ruby
[11:33:10] cherry_lin: Ox0dea: I'd gladly accept your advice on monitoring worker's memory usage except monitoring htop
[11:33:44] cherry_lin: also with "rake jobs:work" it doesn't crash
[11:33:59] cherry_lin: but with "bin/delayed_job run" it does
[11:34:34] cherry_lin: same as with bin/delayed_job -n 2 start, those two workers just disappear after finishing jobs
[11:35:02] imanc: can anyone recommend a book for learning ruby for an experienced programmer (python, java, etc.)
[11:35:42] Ox0dea: cherry_lin: It seems the probably might be to do with buffered output.
[11:35:48] Ox0dea: s/probably/problem/
[11:36:18] Moosashi: has joined #ruby
[11:36:56] nemoNoboru: imanc: try reading http://poignant.guide/ is not a book for a experienced programmer but shows you the mindset of a rubyst and will teach you love for ruby
[11:37:25] imanc: @nemoNoboru thanks, never thought to read why's guide.
[11:37:41] lomex: has joined #ruby
[11:38:11] Moosashi: has joined #ruby
[11:38:27] aryaching: has joined #ruby
[11:41:29] jonr22: has joined #ruby
[11:42:58] Ox0dea: arup_r: `s[/\d:\d+:(.+?):/, 1]` takes advantage of the structure of the data to be considerably faster than the naive approach, but still probably don't use it. :P
[11:44:12] kareeoleez: has joined #ruby
[11:45:55] navneet: has joined #ruby
[11:48:06] chouhoulis: has joined #ruby
[11:49:07] Pupeno: has joined #ruby
[11:52:45] bronson: has joined #ruby
[11:53:12] nemoNoboru: what have better performance? a native ruby extension or FFI?
[11:53:23] william3: has joined #ruby
[11:53:39] Ox0dea: Hazard a guess.
[11:53:58] Emmanuel_Chanel: has joined #ruby
[11:54:03] RegulationD: has joined #ruby
[11:54:52] baweaver: has joined #ruby
[11:55:09] Emmanuel_Chanel_: has joined #ruby
[11:55:37] charliesome: has joined #ruby
[11:59:03] PedramT: has joined #ruby
[12:00:04] Ox0dea: has joined #ruby
[12:00:52] skade: has joined #ruby
[12:02:41] Emmanuel_Chanel: has joined #ruby
[12:02:48] lkba: has joined #ruby
[12:02:51] tAn: has joined #ruby
[12:03:10] tao_: has joined #ruby
[12:04:33] lxsameer: has joined #ruby
[12:05:56] machinewar: has joined #ruby
[12:06:15] machinewar: how can I use ssl cert locally? Would I need to setup something like Nginx?
[12:06:36] william3: has joined #ruby
[12:08:03] lomex: has joined #ruby
[12:08:20] ruby-lang210: has joined #ruby
[12:09:13] James123: has joined #ruby
[12:10:27] rht: has joined #ruby
[12:13:26] tknz: has joined #ruby
[12:13:50] Devalo: has joined #ruby
[12:14:11] stannard: has joined #ruby
[12:17:46] ItSANgo: has joined #ruby
[12:18:14] The_Phoenix: has joined #ruby
[12:19:54] The_Phoenix: has joined #ruby
[12:20:09] agit0: has joined #ruby
[12:20:59] kareeoleez: has joined #ruby
[12:21:04] The_Phoenix: has joined #ruby
[12:23:06] lomex: has joined #ruby
[12:23:56] moeabdol: has joined #ruby
[12:24:58] arup_r: can we use shorthand %w() for space separated words? https://gist.github.com/aruprakshit/1374377d219536e8772a3f5f4210ffa2
[12:25:16] arup_r: I saw some where it is possible, can't recall it.
[12:26:00] Ox0dea: >> %w[foo bar foo\ bar] # arup_r
[12:26:02] ruby[bot]: Ox0dea: # => ["foo", "bar", "foo bar"] (https://eval.in/558501)
[12:26:07] arup_r: got it http://stackoverflow.com/a/13809531/2767755
[12:26:13] arup_r: oh. yeah thanks Ox0dea
[12:26:43] Ox0dea: arup_r: Your approach was interesting, though. :)
[12:30:32] karapetyan: has joined #ruby
[12:30:42] stannard: has joined #ruby
[12:31:47] dmr8: has joined #ruby
[12:33:04] moeabdol: has joined #ruby
[12:34:45] william3: has joined #ruby
[12:36:14] Xeago: has joined #ruby
[12:36:40] crime: has joined #ruby
[12:38:35] iMadper: has joined #ruby
[12:38:45] Pupeno: has joined #ruby
[12:39:05] Yiota_: has joined #ruby
[12:39:07] kareeoleez: has joined #ruby
[12:39:51] iMadper: Hi all. I installed ruby2.3.0 with rbenv. When I try to install gems with gem install I got: symbol lookup error: /home/madper/.rbenv/versions/2.3.0/lib/ruby/2.3.0/x86_64-linux/socket.so: undefined symbol: parse_numeric_port Anyone met it before?
[12:40:04] arup_r: Ox0dea: this what I was writing since 3 hours.. ;) https://gist.github.com/aruprakshit/2fff4f0643f5a6fc4b524084ba5e32b3 .. I will test the code later.. seems it will work though.
[12:40:24] gregf: has joined #ruby
[12:41:35] iMadper: in fact I can find the symbol in socket.so with nm: nm -g /home/madper/.rbenv/versions/2.3.0/lib/ruby/2.3.0/x86_64-linux/socket.so | grep parse_numeric_port
[12:41:35] iMadper: U parse_numeric_port
[12:41:41] iMadper: it's a bit odd ...
[12:41:51] iMadper: my host is ubuntu 16.04.
[12:42:11] Vircung: has joined #ruby
[12:43:06] Vircung: has joined #ruby
[12:44:01] edwinvdgraaf: has joined #ruby
[12:49:25] kareeoleez: has joined #ruby
[12:49:27] charliesome: has joined #ruby
[12:49:53] pawnbox: has joined #ruby
[12:50:09] chouhoulis: has joined #ruby
[12:50:12] crameth: has joined #ruby
[12:51:02] Caerus: has joined #ruby
[12:54:19] ferr: has joined #ruby
[13:06:02] Rodya_: has joined #ruby
[13:06:22] Polysics: has joined #ruby
[13:06:46] noService: has joined #ruby
[13:08:26] shevy: ruby ruby ruby
[13:12:19] Ox0dea: http://i.imgur.com/RhjVpf0.png
[13:13:34] armyriad: has joined #ruby
[13:15:09] edwinvdgraaf: has joined #ruby
[13:16:37] LoneHerm_: has joined #ruby
[13:16:42] stannard: has joined #ruby
[13:18:17] Polysics: has joined #ruby
[13:19:16] steve: has joined #ruby
[13:19:20] apeiros: Ox0dea: pascal needed less words :-p
[13:20:26] Yiota: has joined #ruby
[13:20:29] Ox0dea: No worries. I mostly just do it as an homage to Stannis from Game of Thrones.
[13:20:58] apeiros: haven't watched or read that yet
[13:21:34] Ox0dea: https://www.youtube.com/watch?v=UJPeg1b-jVo
[13:22:18] Ox0dea: The TV adaptation bypasses the source material tomorrow evening. :/
[13:24:11] pawnbox: has joined #ruby
[13:25:06] cajone: has left #ruby: ()
[13:25:24] freerobby: has joined #ruby
[13:29:09] nando293921: has joined #ruby
[13:29:18] johnmilton: has joined #ruby
[13:31:12] navneet: has joined #ruby
[13:33:12] Yeomra: has joined #ruby
[13:33:31] edwinvdgraaf: has joined #ruby
[13:34:54] niksrc: has joined #ruby
[13:35:05] statelesscode: has joined #ruby
[13:35:17] Vircung: has joined #ruby
[13:37:03] Aces1up: has joined #ruby
[13:38:55] cajone: has joined #ruby
[13:40:41] Aces1up: how can i split a do block into 1 or more files? I have a gui library that makes me put all my layout code in 1 block..
[13:40:49] Aces1up: is there anyway to break up a block?
[13:42:33] Azure: has joined #ruby
[13:43:21] Ox0dea: Not without some form of eval, anyway.
[13:48:05] bkxd: has joined #ruby
[13:48:46] mikecmpbll: has joined #ruby
[13:49:11] shevy: we need decorators for blocks
[13:49:29] crime: https://gist.github.com/anonymous/4c9ddf6880ea94e4258c667f3b894672
[13:49:35] crime: why does this not print anything?
[13:49:46] crime: if I take that block out of Thread.new it works fine
[13:50:01] crime: but inside the thread it doesnt print anything. p sure it still connects but it doesnt print
[13:50:08] Ox0dea: crime: You need to #join it.
[13:50:25] ebbflowgo: has joined #ruby
[13:50:28] Ox0dea: Or #run, as the case may be.
[13:50:44] shevy: weird... I get output ":hobana.freenode.net NOTICE * :*** Your hostname is too long, ignoring hostname\r\n"
[13:50:57] chouhoulis: has joined #ruby
[13:52:03] crime: ok, #join works, but #run does not
[13:53:24] daed: crime: which version of the ruby interpreter are you using?
[13:54:16] tAn: has joined #ruby
[13:54:53] RegulationD: has joined #ruby
[13:55:16] bronson: has joined #ruby
[13:56:32] baweaver: has joined #ruby
[13:57:41] greister: has joined #ruby
[13:59:09] daed: has joined #ruby
[13:59:54] thejamespinto: has joined #ruby
[14:00:31] crime: daed, if I run that code with ".join.run" appended to the thread block, it runs fine. It also works with just ".join" but not with ".run"
[14:00:54] crime: i hope im not misunderstanding something. for my purposes, it's working just fine.
[14:01:04] daed: yeah, you typically want to join threads
[14:01:16] daed: i don't know of a case where you don't actually
[14:01:44] daed: crime: if you don't, the program will just exit
[14:01:48] daed: i think?
[14:01:57] IrishGringo: has joined #ruby
[14:02:04] daed: maybe not, and just block the thread from running
[14:02:09] shevy: I think there are moments when you can not use .join
[14:02:12] thejamespinto_: has joined #ruby
[14:02:16] daed: shevy: really
[14:02:18] shevy: I have had that with ruby-gtk and the glib mainthread
[14:02:28] daed: oh, dependent on external C stuff
[14:02:48] crime: daed: right, that's the issue I was having. I'm still learning, obviously. thanks btw
[14:02:49] shevy: I'll try to come up with some more specific smaller example, I only saw it in a larger app
[14:05:29] daed: crime: with multiple threads: threads = []; 5.times { |x| threads << Thread.new { puts "test" } }; threads.each { |t| t.join }
[14:06:16] daed: that's a pattern i usually see
[14:06:37] PedramT: has joined #ruby
[14:06:44] Yiota: has joined #ruby
[14:06:47] Rodya_: has joined #ruby
[14:06:56] yardenbar: has joined #ruby
[14:07:17] idle_task: has joined #ruby
[14:07:31] crime: daed: I see. Without joining them or running them, the Thread object is some ol' object that I could pass around or do whatever with, then.
[14:08:14] PedramT_: has joined #ruby
[14:09:01] PedramT_: has joined #ruby
[14:10:16] stannard: has joined #ruby
[14:12:04] rikai: has joined #ruby
[14:12:08] Devalo: has joined #ruby
[14:13:40] william3: has joined #ruby
[14:15:14] edwardly: has joined #ruby
[14:15:14] edwardly: has joined #ruby
[14:16:19] Ropeney: has joined #ruby
[14:16:34] bradleyprice: has joined #ruby
[14:18:04] cdg: has joined #ruby
[14:19:29] Yeomra: has joined #ruby
[14:19:41] jonr22: has joined #ruby
[14:20:09] chagel: has joined #ruby
[14:26:59] mdw: has joined #ruby
[14:27:48] ffgghhj: has joined #ruby
[14:29:01] SilverKey: has joined #ruby
[14:31:20] PedramT: has joined #ruby
[14:31:49] PedramT: has joined #ruby
[14:32:35] djellemah: has joined #ruby
[14:34:01] pawnbox: has joined #ruby
[14:34:57] A124: has joined #ruby
[14:40:02] thejamespinto: has joined #ruby
[14:41:48] chouhoulis: has joined #ruby
[14:42:53] Devalo: has joined #ruby
[14:44:11] davedev24: has joined #ruby
[14:44:18] pawnbox_: has joined #ruby
[14:45:07] johnmilton: has joined #ruby
[14:45:22] pawnbox__: has joined #ruby
[14:47:51] anisha_: has joined #ruby
[14:48:38] terminalrecluse: has joined #ruby
[14:48:51] karapetyan: has joined #ruby
[14:49:39] skade: has joined #ruby
[14:50:26] threh: has joined #ruby
[14:52:04] davejlong: has joined #ruby
[14:55:35] RegulationD: has joined #ruby
[14:57:37] glebm_: has joined #ruby
[14:58:27] tAn: has joined #ruby
[14:58:42] jaguarmagenta: has joined #ruby
[14:59:16] glebm: has joined #ruby
[15:01:09] davedev24: has joined #ruby
[15:01:58] navneet: has joined #ruby
[15:05:07] blackmes1: has joined #ruby
[15:07:40] Rodya_: has joined #ruby
[15:08:07] lxsameer: has joined #ruby
[15:08:18] Es0teric: has joined #ruby
[15:09:37] glebm: Hi everyone. We wrote a forum engine for Ruby on Rails. All the goodness of Ruby 2.3, frozen strings and such. Check out Thredded on https://news.ycombinator.com/newest. Direct link: https://thredded.org/
[15:09:42] PedramT: has joined #ruby
[15:10:16] PedramT: has joined #ruby
[15:10:37] jaguarma_: has joined #ruby
[15:11:45] crime: its on the front page of hn
[15:12:03] daed: crime: i don't see it
[15:12:14] crime: just refreshed, it's gawn
[15:12:20] r0b3rt: has joined #ruby
[15:12:32] crime: rails sucks anyways
[15:13:44] naftilos76: has joined #ruby
[15:15:16] william3: has joined #ruby
[15:15:41] SCHAAP137: has joined #ruby
[15:16:04] A124: has joined #ruby
[15:18:38] thejamespinto: has joined #ruby
[15:21:34] flashpoint9: has joined #ruby
[15:23:01] shinnya: has joined #ruby
[15:29:20] firstdayonthejob: has joined #ruby
[15:31:11] victortyau: has joined #ruby
[15:32:16] xingped: has joined #ruby
[15:32:43] r0b3rt: has joined #ruby
[15:33:16] victortyau: has joined #ruby
[15:34:15] jhack: has joined #ruby
[15:35:16] threh: has joined #ruby
[15:37:10] charliesome: has joined #ruby
[15:42:49] nando293921: has joined #ruby
[15:44:31] Devalo: has joined #ruby
[15:44:48] lxsameer: has joined #ruby
[15:45:18] Devalo: has joined #ruby
[15:46:19] firstdayonthejob: has joined #ruby
[15:46:29] s2013: has joined #ruby
[15:47:12] SCHAAP137: has joined #ruby
[15:47:42] Rasi: has joined #ruby
[15:48:03] jaguarmagenta: has joined #ruby
[15:48:55] bkxd: has joined #ruby
[15:50:51] s00pcan: has joined #ruby
[15:51:48] marr: has joined #ruby
[15:53:10] skade: has joined #ruby
[15:53:17] tomphp: has joined #ruby
[15:53:43] PedramT: has joined #ruby
[15:55:26] dc2: has joined #ruby
[15:56:40] threh: has joined #ruby
[15:57:04] bronson: has joined #ruby
[15:57:10] djbkd_: has joined #ruby
[15:57:20] baweaver: has joined #ruby
[15:57:56] davedev24: has joined #ruby
[15:58:32] FooMunki: has joined #ruby
[16:00:04] elifoster: has joined #ruby
[16:00:46] Rodya_: has joined #ruby
[16:01:17] tao_: has joined #ruby
[16:01:49] AlexRussia: has joined #ruby
[16:03:37] kaleido: has joined #ruby
[16:04:17] sandelius: has joined #ruby
[16:04:23] nando294021: has joined #ruby
[16:05:00] emilford: has joined #ruby
[16:05:12] chouhoulis: has joined #ruby
[16:05:24] ljames: has joined #ruby
[16:07:14] LoneHermit: has joined #ruby
[16:07:38] rbennacer: has joined #ruby
[16:07:53] jonr22: has joined #ruby
[16:08:29] rbennacer: has joined #ruby
[16:11:11] benlieb: has joined #ruby
[16:11:20] pawnbox: has joined #ruby
[16:12:09] kareeoleez: has joined #ruby
[16:13:10] Weavel: has joined #ruby
[16:14:51] Guest3412: has joined #ruby
[16:16:52] william3: has joined #ruby
[16:18:16] knrz: has joined #ruby
[16:19:45] nofxx: has joined #ruby
[16:19:46] rkazak: has joined #ruby
[16:19:49] RegulationD: has joined #ruby
[16:20:37] LoneHermit: has joined #ruby
[16:22:37] _blizzy_: has joined #ruby
[16:24:21] Yeomra: has joined #ruby
[16:24:28] lxsameer: has joined #ruby
[16:26:45] baweaver: has joined #ruby
[16:27:03] jackjackdripper: has joined #ruby
[16:30:08] SilverKey: has joined #ruby
[16:30:25] kareeoleez: has joined #ruby
[16:30:37] al2o3-cr: has joined #ruby
[16:31:45] shevy: hmm style question ... a moment, gisting it
[16:32:11] william3: has joined #ruby
[16:33:44] Rubie: has joined #ruby
[16:33:47] shevy: https://gist.github.com/shevegen/f0705d1ef0e88d33e5f87e86aebf774f
[16:33:51] nando293921: has joined #ruby
[16:34:04] shevy: the input may be a String or a Hash too, it's just a small case for when it is an Array
[16:36:26] PedramT: has joined #ruby
[16:38:27] dc2: has joined #ruby
[16:39:44] crime: has joined #ruby
[16:40:07] kareeoleez: has joined #ruby
[16:41:17] Hanmac: shevy: why not "def foo(*any_argument)" ? or use Array(any_argument) to convert it to Array?
[16:43:05] Cohedrin: has joined #ruby
[16:43:26] shevy: ok now it is an array ;)
[16:45:02] tomphp: has joined #ruby
[16:45:39] Cohedrin_: has joined #ruby
[16:47:35] xlegoman: has joined #ruby
[16:47:36] smathy: has joined #ruby
[16:47:53] william3: has joined #ruby
[16:48:47] charliesome: has joined #ruby
[16:48:59] shevy: hanmac I am working on ruby-gtk stuff right now; in most of my projects that come with a GUI, I started to have directories called: gui/gtk/ one project has gui/tk too but I barely write ruby-tk... but there would be some place for ... gui/wxwidgets... hmm or better gui/rwx
[16:49:09] shevy: wxwidgets/ is too long a directory name ... :\
[16:49:58] sgambino: has joined #ruby
[16:50:08] newjersey: has joined #ruby
[16:50:12] sepp2k: has joined #ruby
[16:50:15] Hanmac: hihi ok, about rwx i am currently checking it against new wxwidgets changes
[16:51:58] charliesome_: has joined #ruby
[16:52:38] hxegon: has joined #ruby
[16:55:58] Rubie: has joined #ruby
[16:56:50] skade: has joined #ruby
[16:57:44] GodFather: has joined #ruby
[16:57:59] kareeoleez: has joined #ruby
[17:00:15] s2013: has joined #ruby
[17:00:28] hakunin: has joined #ruby
[17:00:57] chagel: has joined #ruby
[17:02:41] chouhoulis: has joined #ruby
[17:02:56] imperator: has joined #ruby
[17:04:54] tao_: has joined #ruby
[17:05:29] gregf: has joined #ruby
[17:06:20] ddrmanxbxfr: has joined #ruby
[17:07:06] charliesome: has joined #ruby
[17:10:11] LoneHermit: has joined #ruby
[17:10:21] charliesome_: has joined #ruby
[17:11:45] Es0teric: has joined #ruby
[17:12:01] Rodya_: has joined #ruby
[17:14:21] charliesome: has joined #ruby
[17:16:10] kareeoleez: has joined #ruby
[17:16:47] moeabdol: has joined #ruby
[17:20:31] aeterne: has joined #ruby
[17:22:12] flashpoi_: has joined #ruby
[17:22:41] Ishido: has joined #ruby
[17:23:57] ssiris: has joined #ruby
[17:25:50] s2013: has joined #ruby
[17:27:07] rht: has joined #ruby
[17:27:10] skade: has joined #ruby
[17:27:17] kareeoleez: has joined #ruby
[17:28:49] davedev24: has joined #ruby
[17:29:16] nando293921: has joined #ruby
[17:30:07] DanKnox: has joined #ruby
[17:31:37] rkazak: has joined #ruby
[17:31:41] stannard: has joined #ruby
[17:32:25] Waqas: has joined #ruby
[17:35:42] last_staff: has joined #ruby
[17:36:32] chipotle: has joined #ruby
[17:38:18] lxsameer: has joined #ruby
[17:39:16] dionysus69: has joined #ruby
[17:39:43] Yiota: has joined #ruby
[17:42:06] jonr22: has joined #ruby
[17:46:42] Yiota: has joined #ruby
[17:47:21] Cohedrin: has joined #ruby
[17:47:53] [EXIT]: has joined #ruby
[17:48:04] stannard: has joined #ruby
[17:49:43] bkxd: has joined #ruby
[17:53:16] noService: has joined #ruby
[17:53:21] Rubie: has joined #ruby
[17:53:24] william3: has joined #ruby
[17:54:20] tubuliferous: has joined #ruby
[17:57:43] slackbotgz: has joined #ruby
[17:58:02] flashpoint9: has joined #ruby
[17:58:04] jonr22: has joined #ruby
[17:58:41] bronson: has joined #ruby
[17:59:59] moeabdol: has joined #ruby
[18:00:10] skade: has joined #ruby
[18:03:37] imperator: has joined #ruby
[18:04:35] Xeago: has joined #ruby
[18:05:49] karapetyan: has joined #ruby
[18:06:21] sandelius: has joined #ruby
[18:06:55] tao_: has joined #ruby
[18:08:42] william3: has joined #ruby
[18:10:11] Rodya_: has joined #ruby
[18:10:29] nando293921: has joined #ruby
[18:12:41] victortyau: has joined #ruby
[18:14:45] bklane: has joined #ruby
[18:15:20] william3: has joined #ruby
[18:18:38] codecop: has joined #ruby
[18:19:25] Rodya_: has joined #ruby
[18:20:49] tubuliferous: has joined #ruby
[18:22:08] stannard: has joined #ruby
[18:25:17] bluOxigen_: has joined #ruby
[18:25:19] Dimik: has joined #ruby
[18:26:11] diegoviola: has joined #ruby
[18:26:41] LoneHermit: has joined #ruby
[18:29:51] PedramT: has joined #ruby
[18:30:00] j3r0: has joined #ruby
[18:31:53] lxsameer: has joined #ruby
[18:32:15] zzak: [travis-ci, irc.freenode.net] The build was fixed. by @nagachika: See https://travis-ci.org/ruby/ruby/builds/125260481
[18:33:55] ddrmanxbxfr: has joined #ruby
[18:35:21] PedramT: has joined #ruby
[18:35:43] sepp2k: has joined #ruby
[18:39:52] william3: has joined #ruby
[18:40:12] sandelius: has joined #ruby
[18:41:12] ramfjord: has joined #ruby
[18:43:59] tomphp: has joined #ruby
[18:44:12] tubuliferous: has joined #ruby
[18:44:18] charliesome_: has joined #ruby
[18:45:22] hakunin: has joined #ruby
[18:45:55] charliesome_: has joined #ruby
[18:46:16] kirun: has joined #ruby
[18:46:18] Rodya_: has joined #ruby
[18:48:08] rht: has joined #ruby
[18:49:29] Maletor: has joined #ruby
[18:51:21] Rodya_: has joined #ruby
[18:54:29] william3: has joined #ruby
[18:56:34] hakunin_: has joined #ruby
[18:56:42] Coldblackice_: has joined #ruby
[18:57:43] Polysics: has joined #ruby
[18:57:43] Rodya_: has joined #ruby
[18:59:26] baweaver: has joined #ruby
[19:00:50] dh64: has joined #ruby
[19:01:56] davedev24: has joined #ruby
[19:03:56] al2o3-cr: has joined #ruby
[19:04:04] sphex: has joined #ruby
[19:06:55] s00pcan_: has joined #ruby
[19:11:15] SilverKey: has joined #ruby
[19:11:55] symm-: has joined #ruby
[19:14:22] yohle: has joined #ruby
[19:15:17] yohle: has joined #ruby
[19:16:28] bklane: has joined #ruby
[19:16:56] victortyau: has joined #ruby
[19:17:55] davedev24: has joined #ruby
[19:18:34] lxsameer: has joined #ruby
[19:18:39] lxsameer: has joined #ruby
[19:19:06] tax: has joined #ruby
[19:23:06] moeabdol: has joined #ruby
[19:23:18] SilverKey: has joined #ruby
[19:25:17] JagaJaga: has joined #ruby
[19:26:07] dionysus69: has joined #ruby
[19:29:03] antgel: has joined #ruby
[19:29:22] cpup: has joined #ruby
[19:37:29] davedev24: has joined #ruby
[19:39:32] s00pcan_: has joined #ruby
[19:42:53] cpup: has joined #ruby
[19:43:40] houhoulis: has joined #ruby
[19:44:30] crime: has joined #ruby
[19:45:38] galeido: has joined #ruby
[19:45:38] galeido: has joined #ruby
[19:46:38] tomphp: has joined #ruby
[19:47:16] karapetyan: has joined #ruby
[19:50:35] bkxd: has joined #ruby
[19:51:23] william3: has joined #ruby
[19:54:03] impermanence: has joined #ruby
[19:55:06] imperator: has joined #ruby
[19:56:15] bklane: has joined #ruby
[19:59:35] Polysics: has joined #ruby
[20:00:51] bronson: has joined #ruby
[20:01:06] kaleido: has left #ruby: ()
[20:01:30] yeticry: has joined #ruby
[20:01:39] Waqas: has joined #ruby
[20:03:28] skade: has joined #ruby
[20:04:44] bricker: has joined #ruby
[20:04:53] valkyr1e: has joined #ruby
[20:06:03] lkba: has joined #ruby
[20:07:17] Moosashi: has joined #ruby
[20:11:16] tao_: has joined #ruby
[20:11:33] idletask: has joined #ruby
[20:15:31] skweek: has joined #ruby
[20:15:36] anik120: has joined #ruby
[20:21:10] aswen: has joined #ruby
[20:23:51] KnownSyntax_: has joined #ruby
[20:23:55] cpup: has joined #ruby
[20:25:28] blackmes1: has joined #ruby
[20:26:03] johnmilton: has joined #ruby
[20:32:03] blackmesa: has joined #ruby
[20:34:25] Cohedrin_: has joined #ruby
[20:35:10] skade: has joined #ruby
[20:35:51] ruby-lang302: has joined #ruby
[20:36:11] ruby-lang302: Hello Rubyists...
[20:36:34] ruby-lang302: I'm looking for a Ruby mentor, would one of you be so kind?
[20:36:37] baweaver: has joined #ruby
[20:38:45] Ebok: has joined #ruby
[20:39:44] antgel: has joined #ruby
[20:41:47] al2o3-cr: has joined #ruby
[20:42:06] naftilos76: has joined #ruby
[20:43:14] al2o3-cr: has joined #ruby
[20:43:34] Zarthus: ruby-lang302: chances are slim here. Read a book, the docs, or write something cool. If there's a problem you can't wrap your head around that google doesn't solve - we can answer it.
[20:46:04] Aviio: has joined #ruby
[20:48:28] SCHAAP137: has joined #ruby
[20:48:39] SCHAAP137: has joined #ruby
[20:48:53] x77686d: has joined #ruby
[20:50:56] victortyau: has joined #ruby
[20:51:02] cpup: has joined #ruby
[20:51:09] shevy: insta-vanish!
[20:51:19] bkxd: has joined #ruby
[20:51:53] r0b3rt: has joined #ruby
[20:52:51] Rodya_: has joined #ruby
[20:56:21] pawnbox: has joined #ruby
[20:56:47] minimalism: has joined #ruby
[20:57:36] yfeldblum: has joined #ruby
[20:58:36] yfeldblum: has joined #ruby
[20:59:08] flashpoint9: has joined #ruby
[21:00:45] Polysics: has joined #ruby
[21:02:00] nofxx: has joined #ruby
[21:02:10] Devalo: has joined #ruby
[21:03:11] pawnbox: has joined #ruby
[21:04:16] cpup: has joined #ruby
[21:06:05] victortyau: has joined #ruby
[21:06:23] noService: has joined #ruby
[21:07:02] mfb2: has joined #ruby
[21:12:35] Fernando-Basso: Is he left? Gee!
[21:14:05] SilverKey: has joined #ruby
[21:15:35] jpcody: has joined #ruby
[21:15:37] tao_: has joined #ruby
[21:18:24] jpcody: hi! i'm seeing odd behavior where a Thread.current value is being reverted to its previous value under unicorn between some requests under uncertain conditions. i've got a simplified gist of some logs and code, and i'm wondering if anyone might be able to help me understand what i'm missing: https://gist.github.com/jpcody/e5b6c7e0e5937cc0855ef34c753a7d19
[21:21:46] Papierkorb: jpcody: Looks like a question for #RubyOnRails
[21:22:53] jpcody: thanks, Papierkorb. i'll give it a whirl there, too. to me, the only rails part of it felt like how i was logging the values, but i realize now it could be some sort of issue with AR's `pluck` methodh as well. thanks for the read :)
[21:23:18] chouhoulis: has joined #ruby
[21:23:42] Cohedrin: has joined #ruby
[21:24:36] edwinvdgraaf: has joined #ruby
[21:26:16] SilverKey: has joined #ruby
[21:30:23] Vircung: has joined #ruby
[21:32:48] northrup: has joined #ruby
[21:33:10] newjersey: has joined #ruby
[21:38:02] axion_: has joined #ruby
[21:39:23] rbr: has joined #ruby
[21:40:31] dfdnatural: has joined #ruby
[21:41:05] iNs: has joined #ruby
[21:41:06] terminal_: has joined #ruby
[21:41:45] william3: has joined #ruby
[21:43:46] hakunin: has joined #ruby
[21:43:59] kareeoleez: has joined #ruby
[21:44:02] pietr0: has joined #ruby
[21:44:34] impermanence: has joined #ruby
[21:47:27] xybre: has joined #ruby
[21:48:03] mfb2: has joined #ruby
[21:48:21] Moosashi: has joined #ruby
[21:49:21] emilford: has joined #ruby
[21:50:01] edwinvdgraaf: has joined #ruby
[21:52:03] bkxd: has joined #ruby
[21:56:15] Maletor: has joined #ruby
[21:58:11] Denis: has joined #ruby
[21:59:20] swills: has joined #ruby
[21:59:51] SeanM: has joined #ruby
[22:00:14] bauerbob: has joined #ruby
[22:00:26] SilverKey: has joined #ruby
[22:00:38] SeanM: has joined #ruby
[22:01:46] bkxd: has joined #ruby
[22:02:25] bronson: has joined #ruby
[22:02:35] Polysics: has joined #ruby
[22:02:48] bauerbob: hi. let’s say i have a class Foo that inherits from Base and includes Bar. all 3 implement the method my_method. now when i call super in Foo’s my_method will ruby look in Base only for another my_method or will it also look in Bar?
[22:03:20] s2013: has joined #ruby
[22:03:22] bauerbob: and which one will be called if ruby looks in both?
[22:03:41] Ox0dea: bauerbob: You can ask the system!
[22:03:58] bauerbob: the system…? what???
[22:05:02] kareeoleez: has joined #ruby
[22:05:12] jpcody: it might take a bit to work through, bauerbob, but one of my favorite pieces on this is james coglan's "how ruby method dispatch works": https://blog.jcoglan.com/2013/05/08/how-ruby-method-dispatch-works/
[22:05:39] Ox0dea: bauerbob: https://eval.in/558626
[22:05:51] A124: has joined #ruby
[22:05:57] jpcody: also, this one is super easy to whip up in IRB with some `puts` statements. give it a whirl!
[22:06:20] bauerbob: oh… wow. thank you guys!
[22:09:05] jpcody: has joined #ruby
[22:09:46] jordanm: has joined #ruby
[22:09:52] Coldblackice_: has joined #ruby
[22:12:03] Don_John: has joined #ruby
[22:12:34] mjuszczak: has joined #ruby
[22:12:38] Rodya_: has joined #ruby
[22:17:51] tao_: has joined #ruby
[22:18:44] s00pcan_: has joined #ruby
[22:20:32] Xeago: has joined #ruby
[22:23:41] Polysics: has joined #ruby
[22:23:58] flashpoint9: has joined #ruby
[22:24:28] chouhoulis: has joined #ruby
[22:26:48] victortyau: has joined #ruby
[22:28:58] Madplatypus: has joined #ruby
[22:30:26] tubuliferous: has joined #ruby
[22:31:53] newjersey: has joined #ruby
[22:34:21] rkazak: has joined #ruby
[22:34:33] skweek: has joined #ruby
[22:35:47] blandflakes: has joined #ruby
[22:36:48] tvw: has joined #ruby
[22:38:04] terminalrecluse: has joined #ruby
[22:38:07] zenlot: has joined #ruby
[22:44:12] meantomto: has joined #ruby
[22:44:35] meantomto: has left #ruby: ()
[22:45:10] davee_: has joined #ruby
[22:45:50] charliesome: has joined #ruby
[22:46:40] ixti: has joined #ruby
[22:50:25] Yiota: has joined #ruby
[22:51:27] bradleyprice: has joined #ruby
[22:53:56] even: has joined #ruby
[22:54:07] ur5us: has joined #ruby
[22:55:46] william3: has joined #ruby
[22:57:10] even: nice stream with backend development ruby https://www.livecoding.tv/tylerferraro/
[22:57:48] bklane: has joined #ruby
[22:59:41] crime: has joined #ruby
[23:03:42] LoneHermit: has joined #ruby
[23:04:18] Spami: has joined #ruby
[23:05:12] Fernando-Basso: I remember a nickname “even” in #archlinux-br. Who are you and what did you do with even?
[23:05:38] Ox0dea: Do you even even, even?
[23:06:10] crime: self.respond_to?(:even?) => false
[23:06:14] blandflakes: has joined #ruby
[23:06:17] crime: that'd be a no
[23:06:32] Ox0dea: Hm... the parity of `main`.
[23:08:26] yfeldblum: has joined #ruby
[23:08:44] even: I was in toilet :)
[23:08:52] Fernando-Basso: I feel uncomfortable watching peope usign the pointer or → → → → → or ↑ ↑ ↑ ↑ ↑ ↑ to navigate source code.
[23:09:07] Ox0dea: Fernando-Basso: It's mildly infuriating.
[23:10:53] even: has left #ruby: ()
[23:11:02] Fernando-Basso: It is not that I advocate in favor of the two master editors only (anyone uses whatever they want), but it does feel strange even to watch, let alone be in that horrible situation.
[23:11:21] tinnvec: has joined #ruby
[23:12:24] dnewkerk: has joined #ruby
[23:12:58] RegulationD: has joined #ruby
[23:17:28] hxegon: has joined #ruby
[23:18:07] terminalrecluse: has joined #ruby
[23:18:45] Yiota: has joined #ruby
[23:22:29] charliesome: has joined #ruby
[23:25:28] chouhoulis: has joined #ruby
[23:27:47] pawnbox: has joined #ruby
[23:28:00] elifoster: has joined #ruby
[23:28:51] A124: has joined #ruby
[23:35:19] gregf: has joined #ruby
[23:35:42] nofxx: has joined #ruby
[23:35:42] nofxx: has joined #ruby
[23:38:08] Dry_Lips: has joined #ruby
[23:38:08] Dry_Lips: has joined #ruby
[23:40:05] victortyau: has joined #ruby
[23:40:58] Es0teric: has joined #ruby
[23:44:37] Dry_Lips: has joined #ruby
[23:44:38] Dry_Lips: has joined #ruby
[23:48:12] crime: How can I .gets without the user's input being actually written to the screen? I want it like how linux passwords dont actually show up when typed in
[23:48:44] darkf: has joined #ruby
[23:52:28] impermanence: has joined #ruby
[23:52:41] Ox0dea: crime: `require 'io/console'; pw = STDIN.noecho { gets.chomp }`
[23:53:42] Ox0dea: io/console also provides #getpass, but I vaguely recall some platform inconsistency.
[23:53:48] droptone: I have a question. I've got a ruby script that runs for an extended period, and performs various tasks, like pushing data from one API to another. It's on an Amazon EC2 t2.medium VM.
[23:54:14] droptone: Centos 7 is the OS. Well execution time can take about an hour sometimes, and when analyzing the processor usage it can spike as high as 99% and
[23:54:42] droptone: at certain stages of the app, which I monitor via the debug logs, it will hover around 34%, then later 60% with the odd 99% spike, etc.
[23:55:20] droptone: I'm attempting to make this application less resource-intesnive, and I'm not sure where to start. Nothing I'm doing is that unusual, there's just a lot of data to process.
[23:56:32] droptone: I mean, for starters, if I upgrade this host to a multi-vCPU environment, what's a good way to begin altering the Ruby app to support multi-threading?
[23:56:38] Dry_Lips: has joined #ruby
[23:56:38] Dry_Lips: has joined #ruby
[23:56:56] droptone: To where I can divide task distribution between multiple cores? Would that help?
[23:57:26] william3: has joined #ruby
[23:57:27] crime: Ox0dea: dang ur smart, thanks!
[23:57:33] crime: had no idea that io/console was even a thing
[23:57:48] Arahael: droptone: have you used a profiler?
[23:58:05] droptone: I have not, no.
[23:58:21] droptone: Any tips on where to start there?
[23:58:21] Arahael: droptone: that would be a good place to start.
[23:58:26] Ox0dea: droptone: You'll want to ensure that the tasks can run independently of one another, but of course parallelism done right is a Good Thing.
[23:58:35] Ox0dea: Also, ensure you're not doing massive reads.
[23:58:54] droptone: What's the definition of a massive read Ox0?
[23:58:58] baweaver: has joined #ruby
[23:59:20] Ox0dea: droptone: Prefer line-based processing if your pipeline is amenable to doing so.
[23:59:30] droptone: I mean, the way this app works is, it queries an API for a specific application that our customers use, it downloads quite a bit of data, then reviewes the data and, if needed, pushes that data to the API of another application.
[23:59:53] droptone: It's worked great for a year now but we're getting more customers and we need it to execut equicker.
[23:59:56] Arahael: droptone: i spend more time in pyhon, but a quick google search shows a few very promisig profikers.