« Back to channel list

#ruby - 05 July 2016

« Back 1 day Forward 1 day »
[00:00:20] hahuang61: has joined #ruby
[00:02:36] davedev24: has joined #ruby
[00:03:07] macsteps: has joined #ruby
[00:04:04] davedev24: has joined #ruby
[00:06:44] DoubleMalt: has joined #ruby
[00:07:39] der-landgraf: has joined #ruby
[00:07:47] Sashimi: has joined #ruby
[00:08:58] PaulCapestany: has joined #ruby
[00:09:32] bmurt: has joined #ruby
[00:09:33] itguru: has joined #ruby
[00:09:51] Es0teric: has joined #ruby
[00:10:43] chipotle: has joined #ruby
[00:12:23] vedu: has joined #ruby
[00:14:47] roshanavand: has joined #ruby
[00:16:07] bauruine: has joined #ruby
[00:17:11] Kus: has joined #ruby
[00:18:18] floatingpoint: has joined #ruby
[00:18:21] macsteps: has joined #ruby
[00:18:41] nyuszika7h: has joined #ruby
[00:18:54] dikaio: has joined #ruby
[00:19:34] pilne: has joined #ruby
[00:21:23] camonz: has joined #ruby
[00:26:39] coffeecupp: has joined #ruby
[00:30:16] Rodya_: has joined #ruby
[00:30:23] JeanCarloMachado: has joined #ruby
[00:30:38] ghr: has joined #ruby
[00:31:39] fujinuma: has joined #ruby
[00:32:49] fujinuma: what happens when define a method in a module?
[00:33:12] fujinuma: module Common; def foo; 'foo
[00:33:19] fujinuma: '; end; end;
[00:34:20] arajakul1: has joined #ruby
[00:35:06] zacts: has joined #ruby
[00:36:57] ramfjord: has joined #ruby
[00:37:04] roamingdog: has joined #ruby
[00:40:40] mistermocha: has joined #ruby
[00:41:07] ghr: has joined #ruby
[00:46:54] rbennacer: has joined #ruby
[00:47:36] jaguarmagenta: has joined #ruby
[00:50:16] charliesome: has joined #ruby
[00:50:37] ghr: has joined #ruby
[00:51:15] jazzonmymind``: has joined #ruby
[00:54:51] rbennacer: has joined #ruby
[00:54:57] blackmesa: has joined #ruby
[01:00:50] jenrzzz: has joined #ruby
[01:01:38] ghr: has joined #ruby
[01:02:38] daffy_duck_3: has joined #ruby
[01:02:42] chipotle: has joined #ruby
[01:03:23] kavanagh: has joined #ruby
[01:04:52] nankyokusei: has joined #ruby
[01:06:37] dikaio: has joined #ruby
[01:07:46] fujinuma: has left #ruby: ("Leaving")
[01:08:09] Xeago_: has joined #ruby
[01:08:58] pilne: asked a rbenv/bundler type question (mostly bundler from what I can tell) in #bundler about an hour ago, may I ask it here?
[01:09:30] dikaio: has joined #ruby
[01:10:51] roamingdog: has joined #ruby
[01:14:39] ghr: has joined #ruby
[01:14:53] chipotle_: has joined #ruby
[01:18:17] Rodya_: has joined #ruby
[01:19:53] bluOxigen: has joined #ruby
[01:21:18] nando293921: has joined #ruby
[01:22:26] Rodya_: has joined #ruby
[01:23:13] der-landgraf: has joined #ruby
[01:26:39] ghr: has joined #ruby
[01:28:45] solocshaw: has joined #ruby
[01:29:38] coffeecupp: has joined #ruby
[01:29:50] chipotle: has joined #ruby
[01:30:04] eljimmy: has joined #ruby
[01:30:56] ekinmur: has joined #ruby
[01:32:05] Es0teric: has joined #ruby
[01:33:38] roamingdog: has joined #ruby
[01:34:24] interki: has joined #ruby
[01:35:06] dc4: has joined #ruby
[01:37:30] charliesome: has joined #ruby
[01:38:16] rbennacer: has joined #ruby
[01:41:40] ghr: has joined #ruby
[01:41:51] ledestin: has joined #ruby
[01:43:47] macsteps: has joined #ruby
[01:44:35] macsteps: has joined #ruby
[01:48:45] kaww: has joined #ruby
[01:50:39] tao_: has joined #ruby
[01:51:11] ghr: has joined #ruby
[01:51:35] benlieb: has joined #ruby
[01:53:14] PlasmaStar: has joined #ruby
[01:55:17] sucks: has joined #ruby
[01:55:28] eljimador: has joined #ruby
[02:00:34] Ropeney: has joined #ruby
[02:01:08] roamingdog: has joined #ruby
[02:01:09] hahuang61: has joined #ruby
[02:01:11] ghr: has joined #ruby
[02:01:53] roamingdog: has joined #ruby
[02:02:20] Rodya_: has joined #ruby
[02:04:22] benlieb: has joined #ruby
[02:04:41] UnKnOwN|: has joined #ruby
[02:09:19] karapetyan: has joined #ruby
[02:11:06] shevy: give it a try!
[02:11:42] ghr: has joined #ruby
[02:12:14] blackmesa: has joined #ruby
[02:14:18] pilne: i know i can just start up a Gemfile and then bundle install --path ./vendor and it will install them to ./vendor, but is there anyway to just automatically install/update a gemfile with something like "gem install"?
[02:14:21] jishankai: has joined #ruby
[02:14:29] dc4: has joined #ruby
[02:16:44] macsteps: has joined #ruby
[02:17:12] al2o3-cr: has joined #ruby
[02:17:39] Rodya_: has joined #ruby
[02:17:50] archon-: has joined #ruby
[02:18:48] jenrzzz: has joined #ruby
[02:21:42] ghr: has joined #ruby
[02:21:50] max1: has joined #ruby
[02:23:16] pontiki: has joined #ruby
[02:23:31] leea: has joined #ruby
[02:31:43] ghr: has joined #ruby
[02:35:34] Rodya_: has joined #ruby
[02:37:45] ramfjord: has joined #ruby
[02:41:43] ghr: has joined #ruby
[02:42:04] mistermocha: has joined #ruby
[02:47:35] araujo: has joined #ruby
[02:48:25] jaguarmagenta: has joined #ruby
[02:51:44] ghr: has joined #ruby
[02:52:25] tAn: has joined #ruby
[02:54:30] roamingdog: has joined #ruby
[02:57:34] archtaku: has joined #ruby
[03:01:48] ghr: has joined #ruby
[03:02:50] alfiemax: has joined #ruby
[03:03:51] zacts: has joined #ruby
[03:04:25] chipotle: has joined #ruby
[03:05:14] zacts: has joined #ruby
[03:05:39] nankyokusei: has joined #ruby
[03:06:48] perniciouscaffei: has joined #ruby
[03:06:48] weemsledeux: has joined #ruby
[03:11:40] bmurt: has joined #ruby
[03:12:15] ghr: has joined #ruby
[03:12:20] calmchaos: has joined #ruby
[03:13:03] blackmesa: has joined #ruby
[03:13:46] roamingdog: has joined #ruby
[03:18:14] gix: has joined #ruby
[03:18:53] xlegoman: has joined #ruby
[03:21:40] enterprisey: has joined #ruby
[03:23:47] ghr: has joined #ruby
[03:25:38] coffeecupp: has joined #ruby
[03:25:53] MrBusiness2: has joined #ruby
[03:28:20] roamingdog: has joined #ruby
[03:33:17] ghr: has joined #ruby
[03:38:09] craigp: has joined #ruby
[03:42:39] mistermocha: has joined #ruby
[03:42:47] ghr: has joined #ruby
[03:43:27] charliesome: has joined #ruby
[03:46:03] TheWhip: has joined #ruby
[03:46:10] chipotle: has joined #ruby
[03:48:15] rkazak: has joined #ruby
[03:49:00] max1: has joined #ruby
[03:51:04] rbennacer: has joined #ruby
[03:51:34] nando293921: has joined #ruby
[03:52:53] ghr: has joined #ruby
[03:53:21] dh64: has joined #ruby
[03:54:08] coffeecupp: has joined #ruby
[03:54:17] jgpawletko: has joined #ruby
[03:55:34] PaulCape_: has joined #ruby
[03:55:44] TheWhip: has joined #ruby
[03:56:32] blackgoat: has joined #ruby
[03:57:21] dennisvennink: has joined #ruby
[03:59:45] kavanagh: has joined #ruby
[04:01:32] the_drow: has joined #ruby
[04:01:38] astrobunny: has joined #ruby
[04:03:09] hahuang61: has joined #ruby
[04:03:42] hk238: has joined #ruby
[04:05:06] yfeldblum: has joined #ruby
[04:06:10] aries_liuxueyang: has joined #ruby
[04:08:15] leea: has joined #ruby
[04:09:00] kareeoleez: has joined #ruby
[04:09:18] ghr: has joined #ruby
[04:10:29] Rodya_: has joined #ruby
[04:14:40] coffeecupp: has joined #ruby
[04:15:04] blackmesa: has joined #ruby
[04:15:27] dminuoso: has joined #ruby
[04:18:49] ghr: has joined #ruby
[04:19:37] wald0: has joined #ruby
[04:21:30] dionysus69: has joined #ruby
[04:25:07] craigp: has joined #ruby
[04:28:50] ghr: has joined #ruby
[04:30:18] Guest43: has joined #ruby
[04:30:27] Rodya_: has joined #ruby
[04:31:30] pawnbox: has joined #ruby
[04:33:21] Devalo: has joined #ruby
[04:35:21] perniciouscaffei: has joined #ruby
[04:36:23] chopin: has joined #ruby
[04:38:18] chopin: has joined #ruby
[04:38:20] ghr: has joined #ruby
[04:38:29] ramfjord: has joined #ruby
[04:38:57] ddffg: has joined #ruby
[04:39:00] Yzguy: has joined #ruby
[04:39:38] BTRE: has joined #ruby
[04:42:47] dikaio: has joined #ruby
[04:47:07] ur5us: has joined #ruby
[04:47:59] ur5us: has joined #ruby
[04:48:49] astrobunny: has joined #ruby
[04:49:08] jaguarmagenta: has joined #ruby
[04:49:23] astrobunny: has joined #ruby
[04:49:34] alfiemax: has joined #ruby
[04:50:21] ghr: has joined #ruby
[04:51:41] TheWhip: has joined #ruby
[04:51:46] zacts: has joined #ruby
[04:53:07] UnKnOwN|: has joined #ruby
[04:54:17] pawnbox: has joined #ruby
[04:56:31] zacts: has joined #ruby
[05:02:08] prestorium: has joined #ruby
[05:04:21] ghr: has joined #ruby
[05:06:31] nankyokusei: has joined #ruby
[05:10:59] aries_liuxueyang: has joined #ruby
[05:11:37] TheWhip: has joined #ruby
[05:13:52] ghr: has joined #ruby
[05:15:49] blackmesa: has joined #ruby
[05:16:17] elifoster: has joined #ruby
[05:18:40] hahuang61: has joined #ruby
[05:18:56] l4v2: has joined #ruby
[05:19:39] Yzguy: has joined #ruby
[05:19:43] JoshGlzBrk: has joined #ruby
[05:20:12] zacts: has joined #ruby
[05:23:22] ghr: has joined #ruby
[05:23:30] Vingador: has joined #ruby
[05:24:01] raeoks: has joined #ruby
[05:28:20] firstdayonthejob: has joined #ruby
[05:28:58] pawnbox: has joined #ruby
[05:33:38] scorphus: has joined #ruby
[05:33:48] Guest61992: has joined #ruby
[05:34:01] JoshGlzBrk: has joined #ruby
[05:34:25] giz|work: has joined #ruby
[05:35:05] skade: has joined #ruby
[05:39:15] cgfbee: has joined #ruby
[05:39:24] ramfjord: has joined #ruby
[05:41:48] conta: has joined #ruby
[05:42:38] pawnbox: has joined #ruby
[05:44:37] Gooer: has joined #ruby
[05:46:09] karapetyan: has joined #ruby
[05:46:20] mistermocha: has joined #ruby
[05:47:24] ghr: has joined #ruby
[05:49:15] dminuoso: has joined #ruby
[05:54:57] c0mrad3: has joined #ruby
[05:56:47] User458764: has joined #ruby
[05:57:20] User458764: has joined #ruby
[05:57:25] ghr: has joined #ruby
[05:59:38] last_staff: has joined #ruby
[05:59:56] pawnbox: has joined #ruby
[06:00:13] xlegoman: has joined #ruby
[06:00:30] Macaveli: has joined #ruby
[06:02:21] Gooer: has left #ruby: ()
[06:03:25] Sashimi: has joined #ruby
[06:04:19] yardenbar: has joined #ruby
[06:04:22] kareeoleez: has joined #ruby
[06:04:31] voodoofish430: has joined #ruby
[06:06:55] ghr: has joined #ruby
[06:07:30] the_drow: has joined #ruby
[06:09:51] codecop: has joined #ruby
[06:10:49] kareeoleez: has joined #ruby
[06:11:07] duncannz: has joined #ruby
[06:16:56] ghr: has joined #ruby
[06:18:34] blackmesa: has joined #ruby
[06:18:35] aganov: has joined #ruby
[06:19:09] n1x-nz: has joined #ruby
[06:20:41] jenrzzz: has joined #ruby
[06:20:41] jenrzzz: has joined #ruby
[06:21:41] meinside: has joined #ruby
[06:24:18] emilkarl: has joined #ruby
[06:26:49] dminuoso: has joined #ruby
[06:26:57] ghr: has joined #ruby
[06:29:56] hipertracker: has joined #ruby
[06:30:23] der-landgraf: has joined #ruby
[06:34:23] zacts: has joined #ruby
[06:34:38] ][GaBrY][: has joined #ruby
[06:34:42] ][GaBrY][: has left #ruby: ()
[06:35:17] der-landgraf: has joined #ruby
[06:36:27] ghr: has joined #ruby
[06:37:35] postmodern: is there an official list for MRI's build deps somewhere?
[06:38:06] dminuoso: postmodern: That depends. Will a useful answer result in another awesome tool of yours?
[06:39:41] postmodern: dminuoso, double checking if bison/flex are now explicit deps for MRI's ripper library?
[06:40:00] ramfjord: has joined #ruby
[06:40:25] Devalo: has joined #ruby
[06:41:42] dminuoso: postmodern: Last I checked Ripper was directly hacked into the main bison grammar.
[06:42:21] postmodern: dminuoso, do they ship pre-generated C code, or is bison ran by ./configure or make?
[06:43:14] dminuoso: postmodern: it must be a result of the build process. Basically it is one set of rules with multiple semantic actions (one set of actions for ruby, and one set of actions for ripper)
[06:43:30] dminuoso: (So almost all rules have 2 semantic actions)
[06:43:43] giz|work: has joined #ruby
[06:44:28] dminuoso: postmodern: I think miniruby is somehow involved in preprocessing this grammar to build both ruby and ripper, I distinctly remember it being involved there.
[06:44:42] craigp: has joined #ruby
[06:45:46] dminuoso: Be right back in a few inutes.
[06:45:58] ghr: has joined #ruby
[06:46:39] postmodern: dminuoso, ah ha, ripper states bison >= 1.28
[06:48:36] pawnbox_: has joined #ruby
[06:49:58] jaguarmagenta: has joined #ruby
[06:51:50] dionysus69: has joined #ruby
[06:54:15] ur5us: has joined #ruby
[06:54:16] dminuoso: has joined #ruby
[06:55:34] voodoofish430: has joined #ruby
[06:56:24] dminuoso: postmodern: My feeling tells me that that may not be up to date.
[06:56:56] Madplatypus: has joined #ruby
[06:57:58] ghr: has joined #ruby
[06:58:25] dminuoso: postmodern: But yeah I just checked, and indeed Ripper uses a miniruby script that preprocesses the grammar, extracting the semantic rules it wants.
[06:58:33] dminuoso: And then it just runs bison against it.
[06:58:40] postmodern: dminuoso, so is there an explicit list of build deps that I'm not finding? or should i submit a documentation bug to ruby-core?
[06:58:42] dminuoso: Whatever Bison requirement it has, it must be the same as Ruby.
[06:58:50] dminuoso: (It cannot be less)
[06:59:04] dminuoso: Well I suppose it could.
[07:00:35] jenrzzz: has joined #ruby
[07:03:54] dminuoso: postmodern: Does not seem to be. I think you may have to crawl through the configure.in by hand as of right now.
[07:05:16] dminuoso: And that will not be covering the dependencies for all the ext stuff. There really seems to be no comprehensive dependency list.
[07:05:56] Abonec: has joined #ruby
[07:06:29] andikr: has joined #ruby
[07:07:24] nankyokusei: has joined #ruby
[07:08:29] ghr: has joined #ruby
[07:09:11] mark_66: has joined #ruby
[07:10:41] calmchaos: has joined #ruby
[07:11:46] calmchaos: has joined #ruby
[07:12:29] TomyWork: has joined #ruby
[07:13:18] LoneHermit: has joined #ruby
[07:13:39] biberu: has joined #ruby
[07:13:58] pawnbox: has joined #ruby
[07:14:17] LoneHerm_: has joined #ruby
[07:14:27] calmchaos: has joined #ruby
[07:14:50] helpa: has joined #ruby
[07:16:32] mattp_: has joined #ruby
[07:17:36] TheWhip: has joined #ruby
[07:17:57] ItSANgo: has joined #ruby
[07:18:01] calmchaos: has joined #ruby
[07:18:28] Miron: has joined #ruby
[07:18:30] ghr: has joined #ruby
[07:18:42] Coldblackice_: has joined #ruby
[07:18:54] justinmcp: has joined #ruby
[07:19:05] calmchaos: has joined #ruby
[07:19:14] Ikri: has joined #ruby
[07:19:18] sethetter: has joined #ruby
[07:19:22] blackmesa: has joined #ruby
[07:19:23] thomas: has joined #ruby
[07:19:35] crowell: has joined #ruby
[07:19:35] crowell: has joined #ruby
[07:19:52] Paradox: has joined #ruby
[07:19:59] mmasaki: has joined #ruby
[07:20:08] alfiemax: has joined #ruby
[07:20:14] calmchaos: has joined #ruby
[07:20:33] Guest42469: has joined #ruby
[07:21:17] calmchaos: has joined #ruby
[07:21:18] CloCkWeRX: has joined #ruby
[07:21:30] deecross: has joined #ruby
[07:22:10] nlsun: has joined #ruby
[07:22:22] baweaver: has joined #ruby
[07:22:26] calmchaos: has joined #ruby
[07:22:35] Ishido: has joined #ruby
[07:22:44] brainslug: has joined #ruby
[07:22:51] cyphactor: has joined #ruby
[07:24:27] Lightsword: has joined #ruby
[07:24:44] calmchaos: has joined #ruby
[07:25:43] Thai_: has joined #ruby
[07:25:50] calmchaos: has joined #ruby
[07:25:52] ianconnolly: has joined #ruby
[07:27:30] craigp: has joined #ruby
[07:28:10] antgel: has joined #ruby
[07:30:09] jkprg_: has joined #ruby
[07:31:46] hahuang61: has joined #ruby
[07:32:51] flughafen_: has joined #ruby
[07:33:09] blackmesa: has joined #ruby
[07:35:30] ghr: has joined #ruby
[07:37:02] loopy: has joined #ruby
[07:37:18] Couch: has joined #ruby
[07:37:48] camonz: has joined #ruby
[07:38:26] joonty: has joined #ruby
[07:38:44] tao_: has joined #ruby
[07:40:32] deecross: has joined #ruby
[07:43:57] multi_io_: has joined #ruby
[07:44:57] ngw: has joined #ruby
[07:45:52] Hyuk: has joined #ruby
[07:46:39] kareeoleez: has joined #ruby
[07:46:52] blaxter: has joined #ruby
[07:47:22] astrobun_: has joined #ruby
[07:47:47] mistermocha: has joined #ruby
[07:48:01] ghr: has joined #ruby
[07:49:39] calmchaos: has joined #ruby
[07:51:14] anisha: has joined #ruby
[07:53:31] dc4: has joined #ruby
[07:55:16] max1: has joined #ruby
[07:57:19] marr: has joined #ruby
[07:57:32] ghr: has joined #ruby
[07:58:03] roshanavand: has joined #ruby
[07:58:45] mtkd: has joined #ruby
[07:59:06] Xeago_: has joined #ruby
[07:59:22] pandaant: has joined #ruby
[08:03:17] zel: has joined #ruby
[08:03:58] flopsec: has joined #ruby
[08:05:40] Silthias: has joined #ruby
[08:07:03] tvw: has joined #ruby
[08:07:09] jkprg: has joined #ruby
[08:10:02] ghr: has joined #ruby
[08:11:48] calmchaos: has joined #ruby
[08:13:37] firstdayonthejob: has joined #ruby
[08:17:08] the_drow: has joined #ruby
[08:17:30] hipertracker: has joined #ruby
[08:18:45] tAn: has joined #ruby
[08:19:38] emilkarl: has joined #ruby
[08:20:22] snowy: has joined #ruby
[08:20:30] jenrzzz: has joined #ruby
[08:20:54] Satyajit: has joined #ruby
[08:23:03] ghr: has joined #ruby
[08:26:15] der-landgraf: has joined #ruby
[08:26:57] alfiemax: has joined #ruby
[08:27:11] tomphp: has joined #ruby
[08:27:13] vkyeof: has joined #ruby
[08:32:38] ghr: has joined #ruby
[08:33:01] calmchaos: has joined #ruby
[08:33:20] yeticry: has joined #ruby
[08:33:45] rkazak: has joined #ruby
[08:37:13] roshanavand: has joined #ruby
[08:40:48] ramfjord: has joined #ruby
[08:44:13] phredus_: has joined #ruby
[08:45:47] phredus: has joined #ruby
[08:47:47] aries_liuxueyang: has joined #ruby
[08:48:17] mistermocha: has joined #ruby
[08:50:19] charliesome: has joined #ruby
[08:50:27] aryaching: has joined #ruby
[08:50:42] jaguarmagenta: has joined #ruby
[08:51:00] nettoweb: has joined #ruby
[08:51:38] ghr: has joined #ruby
[08:53:55] jxs_: has joined #ruby
[08:54:46] Silthias: has joined #ruby
[08:57:33] the_drow: has joined #ruby
[08:58:15] Xeago_: has joined #ruby
[08:58:56] vondruch: has joined #ruby
[08:59:27] astrobunny: has joined #ruby
[09:03:11] astrobunny: has joined #ruby
[09:07:45] cgfbee: has joined #ruby
[09:08:03] karapetyan: has joined #ruby
[09:08:16] nankyokusei: has joined #ruby
[09:08:23] yfeldblum: has joined #ruby
[09:09:34] zarubin: has joined #ruby
[09:10:07] Xeago_: has joined #ruby
[09:17:28] vuoto: has joined #ruby
[09:19:06] tAn: has joined #ruby
[09:20:21] pawnbox: has joined #ruby
[09:21:11] toretore: has joined #ruby
[09:24:03] giz|work: has joined #ruby
[09:27:27] vuoto: has joined #ruby
[09:28:06] vuoto: has joined #ruby
[09:29:22] raz: hmm, is this a safe thing to do in initialize(): raise StandardError, self ? (i.e. i'd like to return the partially initialized instance along with the exception - so the caller can inspect what went wrong)
[09:30:07] szarubin: has joined #ruby
[09:30:23] raz: dminuoso: thanks!
[09:30:30] dminuoso: raz: Initialize is just an initializer, the object is already completely constructed by the time it is called.
[09:30:38] jhass: that is safe in the sense it won't crash your interpreter
[09:30:46] raz: yea i thought so, but sometimes it feels better to ask ;)
[09:30:47] naftilos76: has joined #ruby
[09:31:39] mark_66: has joined #ruby
[09:33:21] pawnbox: has joined #ruby
[09:33:25] troulouliou_div2: has joined #ruby
[09:35:03] Sashimi: has joined #ruby
[09:41:13] calmchaos: has joined #ruby
[09:41:33] binaryplease1: has joined #ruby
[09:42:00] Xeago_: has joined #ruby
[09:43:29] ddffg: has joined #ruby
[09:45:32] Devalo: has joined #ruby
[09:47:07] alebatt: has joined #ruby
[09:48:12] bruce_lee: has joined #ruby
[09:48:41] blackmesa: has joined #ruby
[09:49:05] mistermocha: has joined #ruby
[09:49:43] jkprg: has joined #ruby
[09:50:42] pawnbox: has joined #ruby
[09:52:11] alebatt: Anybody here ?
[09:53:21] xcesariox: has joined #ruby
[09:54:53] alebatt: Did you already use a tree generator gem ?
[09:55:13] alebatt: like ancestry or mongoid-tree
[09:56:08] Xeago__: has joined #ruby
[09:57:46] jkprg: has joined #ruby
[09:57:53] jgt: has joined #ruby
[09:59:58] ferr: has joined #ruby
[10:05:01] maloik: has joined #ruby
[10:08:48] flashpoi_: has joined #ruby
[10:10:33] workmad3: has joined #ruby
[10:11:44] andromedian: has joined #ruby
[10:13:29] andromedian: what is the rails channel?
[10:14:02] dminuoso: ?rails andromedian
[10:14:02] ruby[bot]: andromedian: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[10:15:27] andromedian: Thanks I wonder why it isn't in the topic
[10:17:19] cgfbee: has joined #ruby
[10:19:36] coffeecupp: has joined #ruby
[10:20:05] Hyuk: has joined #ruby
[10:20:52] coffeecupp: has joined #ruby
[10:21:04] wigust_: has joined #ruby
[10:21:35] ccooke: has joined #ruby
[10:23:31] sdothum: has joined #ruby
[10:24:05] ccooke: has joined #ruby
[10:25:49] raz: has anyone had any success with vcr + webmock + excon? i'm travelling various github issues and am just wtf'ing that this still seems to be unfixed (with excon being one of the most popular http libraries :/ )
[10:26:33] ramfjord: has joined #ruby
[10:26:40] lxsameer: has joined #ruby
[10:31:57] Xeago_: has joined #ruby
[10:32:24] diegoviola: has joined #ruby
[10:33:18] nettoweb: has joined #ruby
[10:37:05] M-shine: has joined #ruby
[10:37:46] jgt: has joined #ruby
[10:40:43] chip_: has joined #ruby
[10:41:04] troulouliou_div2: has joined #ruby
[10:41:36] karapetyan: has joined #ruby
[10:41:37] DaniG2k: has joined #ruby
[10:43:29] ur5us: has joined #ruby
[10:43:45] nadir: has joined #ruby
[10:44:55] dtzuzu: has joined #ruby
[10:50:00] mistermocha: has joined #ruby
[10:50:32] spiette: has joined #ruby
[10:51:02] karapetyan: has joined #ruby
[10:51:27] jaguarmagenta: has joined #ruby
[10:54:21] deadnull: has joined #ruby
[10:55:00] nettoweb: has joined #ruby
[10:55:45] M-Kodo: has joined #ruby
[10:59:07] karapetyan: has joined #ruby
[11:00:19] karapetyan: has joined #ruby
[11:00:26] Xeago_: has joined #ruby
[11:04:45] emilkarl: has joined #ruby
[11:05:32] deecross: has joined #ruby
[11:07:01] GodFather: has joined #ruby
[11:08:19] Vingador: has joined #ruby
[11:09:24] nankyokusei: has joined #ruby
[11:13:21] johnmilton: has joined #ruby
[11:14:26] karapetyan: has joined #ruby
[11:16:12] rodfersou: has joined #ruby
[11:17:24] Raboo: has joined #ruby
[11:18:43] max2: has joined #ruby
[11:19:12] karapetyan: has joined #ruby
[11:20:09] GodFather: has joined #ruby
[11:22:01] jenrzzz: has joined #ruby
[11:22:44] LoneHermit: has joined #ruby
[11:23:23] M-mistake: has joined #ruby
[11:31:12] Xeago_: has joined #ruby
[11:33:48] bkxd: has joined #ruby
[11:37:14] karapetyan: has joined #ruby
[11:37:19] Pumukel: has joined #ruby
[11:40:32] Xeago_: has joined #ruby
[11:41:38] jgt: has joined #ruby
[11:43:16] karapetyan: has joined #ruby
[11:43:56] gizmore: has joined #ruby
[11:44:38] Xeago_: has joined #ruby
[11:45:09] JeanCarloMachado: has joined #ruby
[11:46:06] calmchaos: has joined #ruby
[11:46:39] karapetyan: has joined #ruby
[11:46:39] Hanmac: has joined #ruby
[11:46:55] ldnunes: has joined #ruby
[11:53:09] Xeago_: has joined #ruby
[11:55:47] blackmesa: has joined #ruby
[11:56:34] sepp2k: has joined #ruby
[12:00:11] jrafanie: has joined #ruby
[12:00:27] last_staff: has joined #ruby
[12:04:56] ponga: has joined #ruby
[12:05:27] synthroid: has joined #ruby
[12:10:42] karapetyan: has joined #ruby
[12:12:10] lkb: has joined #ruby
[12:12:53] blackgoat: has joined #ruby
[12:19:10] karapetyan: has joined #ruby
[12:19:13] calmchaos: has joined #ruby
[12:21:24] anisha_: has joined #ruby
[12:22:43] tAn: has joined #ruby
[12:23:05] flashpoint9: has joined #ruby
[12:23:40] benlieb: has joined #ruby
[12:23:42] deuterium: has joined #ruby
[12:24:05] LoneHermit: has joined #ruby
[12:24:31] jkprg: has joined #ruby
[12:27:25] ramfjord: has joined #ruby
[12:27:38] karapetyan: has joined #ruby
[12:30:27] Xeago_: has joined #ruby
[12:33:09] hipertracker: has joined #ruby
[12:41:23] aupadhye: has joined #ruby
[12:41:47] spiette: has joined #ruby
[12:42:55] emilkarl: has joined #ruby
[12:46:56] jmnlwy: has joined #ruby
[12:47:11] dennisvennink: has joined #ruby
[12:48:47] Bish: https://s32.postimg.org/knygtin7p/graph.png <= could this be garbage collection?
[12:49:08] fmcgeough: has joined #ruby
[12:49:53] Bish: (i create about 1000 objects per minute)
[12:49:55] bigkevmcd: has joined #ruby
[12:50:05] Bish: and that graph shows send messages per minute
[12:50:18] Bish: and every ~4 seconds there is this drop
[12:50:24] dajobat: has joined #ruby
[12:50:49] Bish: every 4 minutes*
[12:51:21] mistermocha: has joined #ruby
[12:51:34] jhass: not unreasonable
[12:52:11] jaguarmagenta: has joined #ruby
[12:53:00] pawnbox: has joined #ruby
[12:54:17] alebatt: has joined #ruby
[12:54:30] Bish: always wondered where that comes from
[12:55:22] ChiefAlexander: has joined #ruby
[12:55:58] alebatt: if someone have an idea, i am totally stuck ... http://stackoverflow.com/questions/38204020/flat-hash-to-json-hash-tree-with-a-hierarchy
[12:57:32] pawnbox: has joined #ruby
[12:57:50] vuoto: has joined #ruby
[12:57:56] blackmesa: has joined #ruby
[12:58:43] ojab: has left #ruby: ()
[12:59:18] vuoto_: has joined #ruby
[12:59:18] colegatron: has joined #ruby
[12:59:59] vuoto: has joined #ruby
[13:00:49] bigkevmcd: has joined #ruby
[13:01:16] fgo: has joined #ruby
[13:02:35] JeremyM_: has joined #ruby
[13:03:34] jgpawletko: has left #ruby: ()
[13:04:10] Bish: asm>> puts "hi" if $DEBUG
[13:04:11] ruby[bot]: Bish: I have disassembled your code, the result is at https://eval.in/600786
[13:04:35] deecross: has joined #ruby
[13:05:46] ramortegui: has joined #ruby
[13:05:53] Bish: couldn't ruby drop debug instructions?
[13:06:49] flughafen_: has joined #ruby
[13:07:36] adaedra: You can change $DEBUG at runtime, no?
[13:07:53] Bish: what i mean is, the check of debug is an instruction
[13:07:54] mkosaki: has joined #ruby
[13:08:09] Bish: couldn't you just remove every branch that will be evaluated BEFORE runtime
[13:08:15] GodFather: has joined #ruby
[13:08:19] Bish: and drop the check if debug is falsy
[13:08:33] Bish: kinda like an implicit #ifdef
[13:10:01] nankyokusei: has joined #ruby
[13:10:36] karapetyan: has joined #ruby
[13:10:38] jgt1: has joined #ruby
[13:12:06] aegis3121: has joined #ruby
[13:13:56] karapetyan: has joined #ruby
[13:15:11] diegoviola: has joined #ruby
[13:16:44] MrBusiness3: has joined #ruby
[13:17:12] tAn: has joined #ruby
[13:19:36] ekinmur: has joined #ruby
[13:20:28] bluOxigen: has joined #ruby
[13:20:45] kies: has joined #ruby
[13:21:37] jkprg: has joined #ruby
[13:22:13] joonty: has joined #ruby
[13:24:23] jenrzzz: has joined #ruby
[13:25:04] bigkevmcd: has joined #ruby
[13:26:59] hutch34: has joined #ruby
[13:27:22] hogetaro: has joined #ruby
[13:27:48] CloCkWeRX: has joined #ruby
[13:31:16] malconis: has joined #ruby
[13:32:05] ItSANgo: has joined #ruby
[13:33:01] bigkevmcd: has joined #ruby
[13:34:11] xdcc: has joined #ruby
[13:35:01] nankyokusei: has joined #ruby
[13:35:26] z3ndrag0n: has joined #ruby
[13:40:50] TheWhip: has joined #ruby
[13:41:56] flashpoint9: has joined #ruby
[13:42:12] goeast: has joined #ruby
[13:42:38] alfiemax: has joined #ruby
[13:43:26] goeast: Hello ! Why my loop is ending and not continuing unless the condition is met ?
[13:43:28] goeast: https://gist.github.com/go-east/6e91b9d9c8c9357bb41a3d0f8dcdc71b
[13:44:08] blackmesa: has joined #ruby
[13:44:19] Zarthus: you are never modifier your_answer
[13:44:23] Zarthus: modifying*&
[13:44:31] hosttor: has joined #ruby
[13:44:34] Zarthus: although I presume you mean "the loop is never ending"
[13:44:44] calmchaos: has joined #ruby
[13:44:46] dminuoso: goeast: There is no loop.
[13:44:58] Zarthus: oh yeah, that too.
[13:45:03] goeast: Thanks guys !
[13:45:14] Zarthus: a while loop involves 'until', not 'unless'
[13:45:40] goeast: Actually yes I just put until and the loop is infinite..
[13:45:51] dminuoso: goeast: unless is just a negated if.
[13:45:51] Zarthus: you'd still need to modify your_message in some way if you want the loop to stop.
[13:45:59] flashpoint9: has joined #ruby
[13:46:29] goeast: thank you :) I will see what I can do :)
[13:46:41] rbennacer: has joined #ruby
[13:46:58] Devalo: has joined #ruby
[13:50:17] `tim`: has joined #ruby
[13:53:09] sergio_101: has joined #ruby
[13:54:14] k13nox: has joined #ruby
[13:55:47] patrick_star: has joined #ruby
[13:56:13] daffy_duck: has joined #ruby
[13:56:32] TriOptimum: has joined #ruby
[13:57:01] TriOptimum: has joined #ruby
[13:57:34] nando293921: has joined #ruby
[13:57:58] floatingpoint: has joined #ruby
[13:58:10] TriOptimum_: has joined #ruby
[13:58:41] TheWhip: has joined #ruby
[13:59:16] mjuszczak: has joined #ruby
[14:00:37] mjuszczak: has joined #ruby
[14:01:43] mjuszczak: has joined #ruby
[14:02:42] mjuszczak: has joined #ruby
[14:02:44] rbennacer: has joined #ruby
[14:03:02] jhack: has joined #ruby
[14:03:40] mjuszczak: has joined #ruby
[14:04:29] aries_liuxueyang: has joined #ruby
[14:05:06] mjuszczak: has joined #ruby
[14:06:17] mjuszczak: has joined #ruby
[14:07:15] malconis: has joined #ruby
[14:07:21] vondruch: has joined #ruby
[14:08:40] pawnbox: has joined #ruby
[14:08:54] solene: has joined #ruby
[14:09:04] davedev24: has joined #ruby
[14:09:26] TheWhip: has joined #ruby
[14:09:54] marr: has joined #ruby
[14:10:53] chip_: has joined #ruby
[14:18:16] snowy: has joined #ruby
[14:18:41] dhollinger: has joined #ruby
[14:19:07] rbennacer: has joined #ruby
[14:19:28] shinnya: has joined #ruby
[14:20:14] chouhoulis: has joined #ruby
[14:21:03] memorasus: has joined #ruby
[14:21:33] HalcyonicStorm2: has joined #ruby
[14:21:46] HalcyonicStorm2: has left #ruby: ()
[14:21:57] HalcyonicStorm2: has joined #ruby
[14:22:14] pawnbox: has joined #ruby
[14:23:06] openstruct: has joined #ruby
[14:23:15] whippythellama: has joined #ruby
[14:23:43] karapetyan: has joined #ruby
[14:24:13] openstruct: Without knowing C, are there any ways to determine the big O notation of methods like Enumerable#select?
[14:24:32] jhass: common sense helps ;)
[14:25:19] openstruct: Oh, should've checked that first.
[14:25:35] LoneHermit: has joined #ruby
[14:26:24] jhass: Enumerable#select is n in all cases
[14:26:28] JakFrist: has joined #ruby
[14:26:30] dminuoso: openstruct: All enumerable methods have O(1) - it uses the Chuck Norris algorithm.
[14:26:45] jhass: it has to look at all elements but it also only has to look at all elements
[14:27:04] dminuoso: While roundhouse kicking the collection.
[14:27:14] dminuoso: Until the right element or return value presents itself.
[14:27:55] openstruct: Can always count on Chuck Norris to be consistent.
[14:28:08] ramfjord: has joined #ruby
[14:29:39] dminuoso: openstruct: The bulk of Enumerable relies on #each - that should indicate the minimum O for any operation.
[14:30:21] dminuoso: (Well technically all of it does, but some also require <=>)
[14:31:24] eljimmy: has joined #ruby
[14:31:29] jhass: Enumerable#find relies on each too
[14:31:39] openstruct: Ruh roh, are we not agreeing on common sense?
[14:32:00] jhass: it's best-case is 1 though, contrary to say Enumerable#select's best case which is still n
[14:33:06] dc4: has joined #ruby
[14:33:19] jhass: then Eumerable#sort relies on #to_a I guess, which in turn does rely on each too. it's worst-case is whatever quicksort's was (I can never remember), but Enumerable#select's is still n
[14:33:48] yonahw: has joined #ruby
[14:34:11] openstruct: I believe quick sort's worst-case is n log(n)
[14:34:11] lkba: has joined #ruby
[14:34:24] aegis3121: Google says n^2 is worst-case for quicksort...
[14:34:34] aegis3121: via KhanAcademy
[14:34:42] jhass: n*log(n) smells like its average or best case
[14:34:47] openstruct: Oh, I was thinking of mergesort.
[14:34:54] agentmeerkat: has joined #ruby
[14:35:42] openstruct: Wonder if it's best to avoid sugary methods when developing algorithms with Ruby in the event I can't confidently state the big o
[14:35:53] calmchaos: has joined #ruby
[14:36:31] xcesariox: has joined #ruby
[14:36:53] ChiefAlexander: has joined #ruby
[14:37:35] ByronJohnson: has joined #ruby
[14:37:42] jhass: I think it's obvious for pretty much all cases
[14:38:12] jhass: Enumerable#sort being quicksort is as much internals knowledge as you ned
[14:38:29] l4v2: has joined #ruby
[14:38:31] jhass: everything else is O(n) anyway
[14:38:40] jishankai: has joined #ruby
[14:39:02] jhass: some have better average or best cases
[14:39:19] jhass: well Enumerable#first is O(1) I guess
[14:39:26] jhass: but that's still obvious
[14:39:54] tenc: has joined #ruby
[14:40:46] openstruct: Sure - I suppose I was just worried that it may do something unexpected. I imagine I can make safe space complexity assumptions as well?
[14:41:24] jhass: some things work with internal hashes
[14:41:31] jhass: sort_by for example
[14:42:09] duoi: has joined #ruby
[14:42:14] polishdub: has joined #ruby
[14:42:31] haxrbyte: has joined #ruby
[14:42:45] tokynet: has joined #ruby
[14:44:03] dminuoso: has joined #ruby
[14:44:46] hk238: has joined #ruby
[14:49:45] freerobby: has joined #ruby
[14:50:07] rippa: has joined #ruby
[14:50:14] imperator: has joined #ruby
[14:51:09] lkb: has joined #ruby
[14:51:41] baweaver: has joined #ruby
[14:53:09] mistermocha: has joined #ruby
[14:54:06] isberg: has joined #ruby
[14:54:11] baweaver: has joined #ruby
[14:54:37] z3ndrag0n: has joined #ruby
[14:55:01] Xeago__: has joined #ruby
[14:55:20] calmchaos: has joined #ruby
[14:55:28] kies: has joined #ruby
[14:56:03] imperator: need some help with an xml parsing issue: https://gist.github.com/djberg96/04b0723ff72339a0ab6ddd434bf05ccf
[14:56:18] imperator: basically, i have it working with rexml, but would like to have it working with nokogiri if possible
[14:57:13] imperator: the issue seems to be the leading text: "#< CLIXML\r\n"
[14:57:36] wsewolod: has joined #ruby
[14:57:44] imperator: if i remove that, it works as expected, but i'm wondering if there's a way to deal with it without manually parsing that piece out
[14:59:20] ramfjord: has joined #ruby
[15:00:03] HalcyonicStorm2: has left #ruby: ()
[15:02:04] allcentury: has joined #ruby
[15:02:06] arooni: has joined #ruby
[15:02:16] cdg: has joined #ruby
[15:03:05] aegis3121: has joined #ruby
[15:03:17] karapetyan: has joined #ruby
[15:06:28] ChiefAlexander: has joined #ruby
[15:09:00] mjuszczak: has joined #ruby
[15:09:58] jhass: is that something valid, if so what's its name? if not, rexml just ignores garbage at the start?
[15:12:13] jhack: has joined #ruby
[15:19:57] jkprg: has joined #ruby
[15:20:30] Xeago_: has joined #ruby
[15:20:50] unforgiven512: has joined #ruby
[15:21:26] rkazak: has joined #ruby
[15:21:47] jyaworski: has joined #ruby
[15:21:54] existensil: has joined #ruby
[15:22:34] alebatt: has joined #ruby
[15:23:05] unforgiven512: has joined #ruby
[15:23:21] TomyLobo: has joined #ruby
[15:23:39] unforgiven512: has joined #ruby
[15:23:42] imperator: jhass, not sure if it's valid or not, but the .parse method doesn't fail at least
[15:23:47] imperator: yeah, looks like rexml just ignores it
[15:24:12] unforgiven512: has joined #ruby
[15:24:47] jhass: I think .slice'ing or .sub'ing it out is the most appropriate solution then in fact
[15:25:13] karapetyan: has joined #ruby
[15:25:14] karapetyan: hello! why return don't works? https://gist.github.com/karapetyan/47c242d0f1db68763a4ccdd9e17c4b10
[15:25:22] unforgiven512: has joined #ruby
[15:25:31] alebatt: How can i add dynamicly value to a hash of hash of hash ... with var[][][].. ? for now i am creating a ptr variable but when i say ptr = ptr[next] (who is empty) i loose my array :(
[15:25:38] jhass: karapetyan: because key never == start
[15:26:18] troulouliou_div2: has joined #ruby
[15:26:33] AndrewIsHere: has joined #ruby
[15:27:02] jhass: alebatt: the endless Hash would be Hash.new {|h, k| h[k] = Hash.new(&h.default_proc) }, whether it's the best solution to your problem, I can't tell from the context given
[15:27:08] LoneHerm_: has joined #ruby
[15:27:24] aryaching: has joined #ruby
[15:27:56] cschneid_: has joined #ruby
[15:28:21] unforgiven512: has joined #ruby
[15:28:25] swills: has joined #ruby
[15:28:31] karapetyan: jhass: oh, hi :) thanks.
[15:28:56] unforgiven512: has joined #ruby
[15:29:28] unforgiven512: has joined #ruby
[15:30:22] pdoherty: has joined #ruby
[15:30:38] unforgiven512: has joined #ruby
[15:31:48] unforgiven512: has joined #ruby
[15:34:24] jhass: please don't highlight me with empty messages, thank you
[15:34:41] unforgiven512: has joined #ruby
[15:34:51] Illya: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[15:34:53] karapetyan: https://gist.github.com/karapetyan/47c242d0f1db68763a4ccdd9e17c4b10
[15:35:46] CJKinni: has joined #ruby
[15:35:51] karapetyan: key == start #=> true.
[15:36:28] unforgiven512: has joined #ruby
[15:36:47] gregf_: whats the values for key and start?
[15:36:56] jhass: karapetyan: pleas edit your gist instead of adding a comment, especially for code it's just unreadable
[15:37:02] unforgiven512: has joined #ruby
[15:37:32] jhass: well I guess it's also possible that value.include?(target) is never true
[15:37:36] unforgiven512: has joined #ruby
[15:38:10] unforgiven512: has joined #ruby
[15:38:10] gregf_: >> def foo arr; return "Possible" if arr[0] == arr[1]; return "Impossible";end; p [[10, "foo"], [10, 10]].map{ |arr| foo(arr) }
[15:38:11] ruby[bot]: gregf_: # => ["Impossible", "Possible"] ...check link for more (https://eval.in/600863)
[15:38:43] unforgiven512: has joined #ruby
[15:39:19] gregf_: karapetyan: what jhass found should be it
[15:40:39] roshanavand: has joined #ruby
[15:40:57] ngw: has joined #ruby
[15:41:08] karapetyan: has joined #ruby
[15:41:38] flughafen_: has joined #ruby
[15:42:02] karapetyan: https://gist.github.com/karapetyan/47c242d0f1db68763a4ccdd9e17c4b10
[15:42:11] chopin: has joined #ruby
[15:42:29] gregf_: i'd honestly write a unit test using rspec :/
[15:42:46] jhass: karapetyan: always use p or .inspect for debugging
[15:42:54] jhass: besides that, this proves nothing to us
[15:43:01] spudowiar: has joined #ruby
[15:43:08] jhass: both of my assumptions can still be true from the information we have
[15:43:41] spudowiar: has joined #ruby
[15:44:07] jhass: regarding inspect, I mean use things like puts "start: #{start.inspect}"
[15:44:13] yos7ph: has joined #ruby
[15:44:19] Vingador: has joined #ruby
[15:46:33] cyource: has joined #ruby
[15:46:58] karapetyan: https://repl.it/C8pq
[15:47:25] cyource: Hey everyone, I'm trying to install pygments.rb, but I keep getting Error installing pygments.rb:
[15:47:25] cyource: ERROR: Failed to build gem native extension.
[15:47:30] dminuoso: has joined #ruby
[15:47:34] cyource: Am using python 3.5.0
[15:47:53] karapetyan: https://repl.it/C8pq/1
[15:47:56] jhass: cyource: full output to a gist please
[15:48:04] davedev24: has joined #ruby
[15:48:07] imperator: jhass, was going to try Nokogiri::Slop, but it seems to be gone
[15:48:13] karapetyan: added inspect, and little bit more debug information
[15:48:30] Devalo: has joined #ruby
[15:49:39] weemsledeux: has joined #ruby
[15:50:19] cyource: jhass https://gist.github.com/cyource/f2c425f347ad50bb469ce9633cb01f5c
[15:50:24] theRoUS: has joined #ruby
[15:50:59] macsteps: has joined #ruby
[15:51:02] jhass: mmh, seems truncated on the right
[15:52:00] basex: has joined #ruby
[15:52:40] dminuoso: cyource: Based on what Im seeing, I would say the extension was not written portably for Windows.
[15:52:51] synthroid: has joined #ruby
[15:53:09] cyource: <dminuoso> so what should I do?
[15:53:12] jhass: karapetyan: what happens is that you're in a recursive call, so the inner call returns with Possible, but the outer call completely ignores it and runs into "Impossible"
[15:53:39] jhass: cyource: truncated as in cut off, the lines are incomplete
[15:53:50] cyource: jhass oh, ok.
[15:54:15] Devalo: has joined #ruby
[15:54:19] mtkd: has joined #ruby
[15:54:40] Zackio: has joined #ruby
[15:54:52] nando293921: has joined #ruby
[15:55:02] karapetyan: jhass: inner call - my each_pair loop? outer call - recursive call?
[15:55:03] dminuoso: cyource: Actually strike that.
[15:55:16] jhass: karapetyan: no
[15:55:19] dminuoso: cyource: Please gist without truncated lines.
[15:56:22] jhass: karapetyan: https://repl.it/C8pq/2
[15:56:40] synthroid: has joined #ruby
[15:57:30] spudowiar: has joined #ruby
[15:57:41] karapetyan: jhass: tnanks!
[15:58:05] cyource: dminuoso jhass how though in git bash for windows? I keep copy and pasting with truncated lines
[15:58:06] gizless: has joined #ruby
[15:58:45] jhass: karapetyan: https://repl.it/C8pq/3 even more clear
[15:59:02] jhass: cyource: I never used that stuff, so I wouldn't know, sorry
[15:59:28] jhass: cyource: maybe you can pipe it into a file, gem install pygments.rb 2>&1 > error.txt
[15:59:45] whathappens: has joined #ruby
[15:59:53] cyource: jhass ah alright
[16:00:26] whathappens: has joined #ruby
[16:00:42] Es0teric: has joined #ruby
[16:01:12] dminuoso: cyource: Let me take this moment to rub some salt into your wounds: These are the voyages of the ruby developers on Windows. It's five-year mission: to explore strange new bugs, to seek out new extensions and gems, to boldly compile what no man has compiled before.
[16:01:48] CJKinni`: has joined #ruby
[16:02:05] cyource: dminuoso trying new ideas. nice
[16:03:43] cyource: jhass dminuoso updated https://gist.github.com/cyource/f2c425f347ad50bb469ce9633cb01f5c
[16:04:20] araujo: has joined #ruby
[16:04:20] cyource: oh my days, git keeps truncating it
[16:04:20] araujo: has joined #ruby
[16:04:39] jhass: huh that seems unlikely
[16:05:13] jhass: you did copy it from error.txt?
[16:05:34] amclain: has joined #ruby
[16:05:57] roshanavand: has joined #ruby
[16:05:59] cyource: jhass no really, when I pasted it - all the content was there. error.txt only had: Temporarily enhancing PATH to include DevKit...
[16:05:59] cyource: Building native extensions. This could take a while...
[16:06:21] jhass: great so it didn't redirect stderr
[16:06:27] jhass: wonder how they managed to break that
[16:07:04] jhass: does piping stderr directly work? gem install pygments.rb 2> error.txt
[16:08:30] cyource: jhass that worked
[16:08:36] lupine: has joined #ruby
[16:09:02] Coldblackice_: has joined #ruby
[16:09:13] aegis3121: has joined #ruby
[16:09:25] cyource: jhass https://gist.github.com/cyource/e3bf253f7ece0b69ae1bf03a471ad4de
[16:09:27] smathy: has joined #ruby
[16:09:54] symm-: has joined #ruby
[16:11:39] Azure: has joined #ruby
[16:11:53] highbass: has joined #ruby
[16:12:31] zacts: has joined #ruby
[16:12:35] highbass: what is best way to eclude gems during bundle install for builds? ... basically switching environments from heroku to aws and some gems conflict... sitll want backward compatibilitythough
[16:12:56] jhass: add them to a group
[16:12:58] dminuoso: highbass: use groups
[16:13:16] highbass: dminuoso: do groups only look at environment variable passed?
[16:13:25] macsteps: has joined #ruby
[16:13:33] jhass: do they at all?
[16:13:34] dminuoso: highbass: groups just group gems together.
[16:13:43] dminuoso: highbass: which groups are installed depend on what groups you pass to bundler.
[16:14:58] davedev24: has joined #ruby
[16:15:31] shevy: hmmm I look at old ruby code written by someone else
[16:15:34] SCHAAP137: has joined #ruby
[16:15:39] jhass: cyource: idk, yajl's maintenance story looks pretty dim, it might just not work on windows with ruby 2.3
[16:15:42] shevy: tmp.inject { |r, i| r * 256 | i }
[16:15:50] shevy: what is the last | there?
[16:16:25] jhass: cyource: there are all sorts of weird solutions to that error message on google though
[16:16:40] cyource: jhass oh, ok
[16:16:43] jhass: cyource: like "use the 32bit version of the devkit" or "comment this in this header file"
[16:17:08] cyource: jhass Did you type the entire error log?
[16:17:26] jhass: cyource: no, just size of array 'ruby_check_sizeof_voidp' is negative
[16:17:37] igam: has joined #ruby
[16:17:40] cyource: jhass oh, ok thanks
[16:18:02] dgynn: has joined #ruby
[16:18:12] jhass: cyource: http://stackoverflow.com/a/15537192/2199687 looks like the most sensible answer so far
[16:19:01] cyource: jhass ah ok.
[16:19:08] igam: Hi! I have a gem source (from github), that I have patched and I must bundle it with a script that uses it (temporarily it cannot be merged back into the main branch to be available with rubygem). How should I proceed? Is there a gem command to make a "tarball" or otherwise prepare it to be used as a "library"? I would just load it from the script.
[16:19:13] karapetyan: jhass: thanks again, but afraid i still don't understand how it works?
[16:19:25] jhass: karapetyan: I'm not sure how to make it any clearer
[16:19:36] karapetyan: jhass: okay.
[16:20:40] highbass: damn .. Bundler.require(:default, Rails.env) #Rails 4 ...
[16:20:47] jhass: igam: you can either gem build foo.gemspec in your patched source (perhaps after bumping the version number) and install the resulting .gem file, or use bundler, push the patch to a git repo and use the git:/github: and branch: options
[16:20:54] highbass: makes it tricky since it adds Rails.env
[16:21:06] jhass: igam: a third possibility is to use bundler again but with the path: option, in which case it stays all local
[16:21:10] guest56: has joined #ruby
[16:21:16] igam: Yes, it would have to stay local.
[16:21:23] jhass: highbass: not really?
[16:21:34] guest56: Hey guys, I have a weird problem when executing a command using split up options versus one big string: https://gist.github.com/dv/48bffc4877009a8c904ab61e4de7370b
[16:21:43] alebatt: Any idea why my inject method not working with do |h,i| ... end but work with {|h, i| ...} ??
[16:22:06] jhass: highbass: first of all that doesn't define what you can load, but what is automatically loaded
[16:22:19] igam: jhass: ok I see. Thanks.
[16:22:22] jhass: highbass: second, you can define your own groups, you're not restricted to development or test
[16:22:34] jhass: highbass: third you can just edit the call if you want to autoload another group
[16:22:39] relix: as you can see, the command runs when I just create one large string and pass it to open, but when I split it up into options to avoid exploits, it doesn't work (the soffice claims bad input parameters)
[16:22:47] relix: what does the split-up do differently?
[16:22:49] karapetyan: jhass: well, i understand how it works, with your explanation, but don't understand how to return value from inner recursive loop?
[16:23:20] jhass: karapetyan: the best way depends on your actual implementation, I took "possible" and "impossible" just for debug values
[16:23:57] aryaching: has joined #ruby
[16:24:04] mattwashere: has joined #ruby
[16:24:10] jhass: alebatt: not from that context, make a gist with both, the working and not working version
[16:24:23] Devalo: has joined #ruby
[16:26:33] jkprg: has joined #ruby
[16:26:40] imperator: has left #ruby: ("Leaving")
[16:26:51] jhass: relix: interesting, I can't spot anything obvious from a quick look, might be worth to strace the execve call
[16:27:12] spudowiar: cyource: Git != GitHub
[16:27:27] relix: yes, string-by-string it should be identical or nearly (except the quotes, but I've tried different quotes around the quoted string, and none worked)
[16:27:27] cyource: spudowiar ?
[16:27:28] karapetyan: jhass: what options i have? i show you my actual implementations :)
[16:27:34] relix: thanks jhass I'll try that out, have never done so
[16:27:39] spudowiar: 17:04:20 <cyource> oh my days, git keeps truncating it
[16:27:41] alebatt: Strange, now it's works... i think vim swp file error i think --'
[16:27:59] spudowiar: Ruby is just so beautiful I feel a compulsive urge to write some sort of DSL in it
[16:27:59] cyource: spudowiar oh yea, lol, soz
[16:28:00] dminuoso: karapetyan: If you want a solution for your code, you have to share your code.
[16:28:02] macsteps: has joined #ruby
[16:28:11] LoneHermit: has joined #ruby
[16:28:17] dminuoso: karapetyan: Otherwise the ideal solution is to hire me!
[16:28:29] alebatt: I love ruby, but i do prefer Golang =D
[16:28:48] jhass: relix: you want strace -e execve -s 1024 iirc
[16:29:13] mistermocha: has joined #ruby
[16:30:03] jhass: alebatt: why?
[16:30:12] ytti: golang is super fast to compile, has terrific ecosystem, reliable/professional backing
[16:30:19] ytti: but as a language, it is kinda plain/boring
[16:30:42] ytti: luckily most things are easy do to said ecosystem, lot of high level libraries
[16:30:44] karapetyan: dminuoso: https://repl.it/C8pq/4
[16:30:50] dminuoso: ytti: Go code in Malbolge for a while. That is everything but boring.
[16:30:52] jhass: yes crystal is much more interesting and has the potential for a similar ecosystem :P
[16:30:57] ytti: i can see golang becoming the next java
[16:31:15] alebatt: jhass: as +ytti said but i didn't find it boring
[16:31:43] ytti: if we look at rust, nim, d, crystal, elixir
[16:31:45] jhass: karapetyan: this is no different from your previous examples
[16:31:46] alebatt: i start coding in C, when i code in ruby i felt is cheating :')
[16:31:52] ytti: it's hard to say it's not boring in comparison
[16:32:02] ytti: but often you want your tools to be boring...
[16:32:24] jhass: it's an interesting decision to make
[16:32:28] alebatt: the fact to compile, it's really fast, the community
[16:32:32] chopin: has joined #ruby
[16:32:35] spudowiar: Yeah, I've been trying Crystal
[16:32:37] spudowiar: It's brilliant
[16:32:38] jhass: I think if it's too boring it can harm your motivation and thus efficiency
[16:33:02] havenwood: alebatt: Folk used to say C was cheating.
[16:33:06] jhass: but otoh it does help in not getting too smart
[16:33:31] alebatt: https://medium.com/building-timehop/why-timehop-chose-go-to-replace-our-rails-app-2855ea1912d#.dk0c2q7h2
[16:33:50] shevy: better mascot
[16:33:54] shevy: that is why they opt for Go
[16:33:58] jhass: that article has a decent amount of FUD actually iirc
[16:34:06] alebatt: havenwood: So asm is cheating also, i prefer code in binary directly :')
[16:36:04] jhass: karapetyan: anyway, https://repl.it/C8pq/5
[16:36:51] karapetyan: jhass: https://repl.it/C8pq/6
[16:37:52] blackmesa: has joined #ruby
[16:38:45] firstdayonthejob: has joined #ruby
[16:39:12] jishankai: has joined #ruby
[16:39:17] karapetyan: jhass: thank you!)
[16:41:06] kobain: has joined #ruby
[16:41:16] craigp: has joined #ruby
[16:41:39] kareeoleez: has joined #ruby
[16:44:15] workmad3: has joined #ruby
[16:44:49] leea: has joined #ruby
[16:45:15] mustmodify: has joined #ruby
[16:45:28] cwailes: has joined #ruby
[16:45:44] mustmodify: encodings still confuse me sometimes. I got this in a "date" field recently. Might it be some oriental date encoding or something? "\u70ad\u70e7"
[16:46:25] cyource: jhass YES FINALLY DONE IT!
[16:46:31] jhass: cyource: congrats
[16:46:36] taylorrf: has joined #ruby
[16:46:42] jhass: mustmodify: perhaps just a 64bit integer?
[16:47:04] cyource: jhass Turns out I had installed the x86 versions of Ruby and DevKit for me x64 pc. Silly me. Thanks for the help!
[16:48:03] cwailes: has left #ruby: ()
[16:48:39] AndrewIsHere: has joined #ruby
[16:48:55] jhass: mustmodify: mmh, wait, it's just 6 bytes not 8...
[16:49:22] jhass: anything more on the origin of that?
[16:49:27] smathy_: has joined #ruby
[16:50:11] mustmodify: no. I can ask the user. There will be a language barrier but I can muddle through it. Just thought someone might have some idea.
[16:50:19] mustmodify: visit {"date": "\u70ad\u70e7", ... }
[16:50:38] Tharbakim: has joined #ruby
[16:51:14] replay: has joined #ruby
[16:52:50] jhass: well that's interesting
[16:53:00] jhass: >> "\u70ad\u70e7".force_encoding("UTF-8")
[16:53:01] ruby[bot]: jhass: # => "炭烧" (https://eval.in/600884)
[16:53:05] whathappens: has joined #ruby
[16:53:06] jhass: mustmodify: ^
[16:53:16] jhass: >> ""\u70ad\u70e7"
[16:53:17] ruby[bot]: jhass: # => /tmp/execpad-259430f2c62d/source-259430f2c62d:2: syntax error, unexpected $undefined, expecting keyw ...check link for more (https://eval.in/600885)
[16:53:22] jhass: >> "\u70ad\u70e7"
[16:53:23] ruby[bot]: jhass: # => "炭烧" (https://eval.in/600886)
[16:53:35] jhass: mustmodify: I think they were just avoiding source file encoding issues
[16:54:12] vuoto: has joined #ruby
[16:54:23] jhass: whoever wrote visit {"date": "\u70ad\u70e7" ... }
[16:54:39] smathy_: https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=%E7%82%AD%E7%83%A7%20translate
[16:54:50] mustmodify: The user who submitted that from the web? :P
[16:54:59] smathy: Just means "charcoal" apparently, doesn't make sense why they entered that for date.
[16:55:55] havenwood: for radiocarbon dating?
[16:55:56] havenwood: al2o3-cr: later
[16:55:59] mustmodify: jhass: thanks so much. Good to know my theory about it being an oriental character was on track.
[16:56:03] RegulationD: has joined #ruby
[16:56:27] smathy: havenwood, :)
[16:56:31] mustmodify: smathy: thanks, interesting. Maybe charcoal is like Leo or Sagitarius? :)
[16:56:50] dionysus69: has joined #ruby
[16:56:52] smathy: Could be something cultural, yeah. Or maybe just garbage data.
[16:57:06] AndyBotwin: has joined #ruby
[17:04:05] Silthias: has joined #ruby
[17:04:20] Bira: has joined #ruby
[17:04:33] tw1sted: has joined #ruby
[17:05:52] aegis3121: has joined #ruby
[17:06:02] cschneid_: Is there a nice way to pass several procs/blocks to a method? I'm doing def foo(if_default: ->() { ... }, if_whatever: ->() { ...}) { main_work }
[17:06:09] cschneid_: using those procs as "callbacks" for odd cases
[17:07:30] TheWhip: has joined #ruby
[17:07:40] whathappens: has joined #ruby
[17:07:59] macsteps: has joined #ruby
[17:09:20] aep-shoutlet: has joined #ruby
[17:12:19] rbennacer: has joined #ruby
[17:12:59] zacts: has joined #ruby
[17:13:16] yqt: has joined #ruby
[17:13:21] flashpoint9: has joined #ruby
[17:14:34] ramfjord: has joined #ruby
[17:15:27] nando293921: has joined #ruby
[17:15:37] pilne: has joined #ruby
[17:17:29] mostlybadfly: has joined #ruby
[17:19:21] replay: has joined #ruby
[17:19:33] max2: has joined #ruby
[17:20:09] mistermocha: has joined #ruby
[17:22:17] skade: has joined #ruby
[17:22:43] spudowiar: has joined #ruby
[17:23:08] aryaching: has joined #ruby
[17:25:53] jenrzzz: has joined #ruby
[17:26:34] araujo: has joined #ruby
[17:28:18] araujo: has joined #ruby
[17:29:30] smathy: cschneid_, other than that you can still pass a hash into a method expecting named args, not really any particularly nice or not-nice way.
[17:29:42] tomphp: has joined #ruby
[17:30:27] araujo: has joined #ruby
[17:30:37] rbennacer: has joined #ruby
[17:30:47] cschneid_: smathy: yeah, just awkward. I wish I had smalltalk style keyword args that were prettier. Just a syntax thing that bugs me I think.
[17:31:16] tAn: has joined #ruby
[17:31:39] smathy: Yup. I assume you know you can omit the parens?
[17:31:42] fmcgeough: has joined #ruby
[17:32:11] cschneid_: for the stabby lambdas?
[17:32:22] nando293921: has joined #ruby
[17:32:36] cschneid_: cool. I rarely use them, I favor the word lambda as syntax, since it's a bit clearer imo when skimming, but the stabby is great for inline stuff
[17:32:37] `tim`: has joined #ruby
[17:33:18] smathy: >> -> { "foo" }
[17:33:19] ruby[bot]: smathy: # => #<Proc:0x41d91b10@/tmp/execpad-06c98ea84bfb/source-06c98ea84bfb:2 (lambda)> (https://eval.in/600894)
[17:33:29] cschneid_: hmm, cool. Slightly less line noise :)
[17:34:09] igam: Actually, I used the --standalone option too: bundle install --standalone --path $install/mygem
[17:34:13] igam: it works nicely :-)
[17:34:16] isberg: Any recommendations on gems for building command line tools?
[17:34:31] aegis3121: thor is pretty popular
[17:34:41] phantummm: has joined #ruby
[17:34:45] karapetyan: has joined #ruby
[17:34:59] isberg: aegis3121 I was thinking something like trollop
[17:35:13] havenwood: isberg: https://github.com/leejarvis/slop
[17:36:05] isberg: havenwood Awesome!
[17:36:41] isberg: Anything for running/chaining system commands that can handle users params?
[17:37:02] isberg: Like bash
[17:37:08] Madplatypus: has joined #ruby
[17:37:13] baweaver: has joined #ruby
[17:37:14] drbrain: isberg: system and Process.spawn both support IO redirection
[17:37:56] isberg: drbrain Was hoping for something more high-level. Maybe with a DSL for terminal scripts?
[17:38:07] drbrain: so you can use IO.pipe to let data flow from one command to the next inside ruby, similar to cat | grep | …
[17:38:22] drbrain: I don't know of such a thing
[17:38:49] drbrain: but writing without higher-level API is not difficult
[17:39:08] isberg: But error prone
[17:39:15] drbrain: r, w = IO.pipe; system 'cat', 'whatever', out: w; system 'grep', 'whatever', in: r
[17:39:21] isberg: I much rather use something existing that writing it my self
[17:39:51] drbrain: you're not going to get much clearer than ↑ with some library
[17:40:14] drbrain: maybe Open3 (which is stdlib)
[17:40:55] isberg: Is still need to handle status codes, changing error messages, escaping, using input and so on
[17:41:10] isberg: I usually use Open3.capture3
[17:41:35] isberg: *user input
[17:41:46] JoshGlzBrk: has joined #ruby
[17:43:15] ldnunes: has joined #ruby
[17:43:22] drbrain: I don't think you can make Process::Status easier to use
[17:43:51] isberg: drbrain I want to work at a different abstraction layer
[17:44:11] Devalo: has joined #ruby
[17:44:18] drbrain: what would that look like?
[17:44:21] whathappens: has joined #ruby
[17:44:27] isberg: I'm betting there are nice DSLs out there for this particular problem
[17:44:34] UnKnOwN|: has joined #ruby
[17:44:41] drbrain: I believe they're called a shells
[17:45:24] Xeago_: has joined #ruby
[17:45:58] isberg: drbrain Shells?
[17:46:37] drbrain: bash, zsh, csh, etc.
[17:46:56] isberg: Yeah, but I still want to write it in Ruby
[17:47:33] hck89: has joined #ruby
[17:48:06] eam: it's pretty easy to use pipe(), fork() and exec() to do what you want to do
[17:48:09] drbrain: my recommendation is to write it using the API ruby provides, then extract your own higher-level API from that, if you can find one
[17:48:23] GodFather_: has joined #ruby
[17:49:13] zeroDi: has joined #ruby
[17:49:15] drbrain: modern ruby's system (and Process.spawn) functionality is so powerful Open3 doesn't add much that makes me want to use it anymore
[17:49:20] isberg: drbrain Not if something already exists. I rather focus on the business logic
[17:49:54] toretore: isberg: what sort of abstractions are you actually looking for?
[17:50:10] drbrain: I've never heard of a thing like that, probably because ruby's existing support has been good enough
[17:50:18] toretore: "a dsl" is vague
[17:50:22] isberg: toretore I'm not sure. I'm open for ideas. Here's one I found: https://github.com/commander-rb/commander
[17:50:50] toretore: that is probably more for argument parsing etc
[17:51:09] isberg: toretore Scroll down :)
[17:51:20] jhack: has joined #ruby
[17:51:44] nando293921: has joined #ruby
[17:51:48] minimalism: has joined #ruby
[17:51:51] isberg: Or this one: https://github.com/ddfreyne/cri
[17:52:22] GodFather: has joined #ruby
[17:52:29] toretore: none of these are related to what you're talking about
[17:52:34] JeanCarloMachado: has joined #ruby
[17:52:55] isberg: toretore What did I ask for? :=
[17:52:57] drbrain: "10:36 isberg: Anything for running/chaining system commands that can handle users params?"
[17:53:44] isberg: Aha, I think I misread the readme
[17:53:44] drbrain: which to me means: "10:37 drbrain: isberg: system and Process.spawn both support IO redirection"
[17:54:08] deecross: has joined #ruby
[17:54:12] weckl: has joined #ruby
[17:54:25] TheWhip: has joined #ruby
[17:54:32] drbrain: If you mean "I want to be able to pipe data in and out of the executable I will write" then there are lots of those
[17:54:37] isberg: Maybe a DSL that imitates bash
[17:55:02] drbrain: In ruby we use Kernel#system
[17:55:49] isberg: I know. I've been using Ruby for 8 years.
[17:56:50] jgt1: has joined #ruby
[17:58:23] isberg: I must have 100 cli script lying around on my system. Éverytime I start writing a new script I always think; "there must be a better way". So here I am, looking for that particular way
[17:59:26] `tim`: has joined #ruby
[17:59:45] jhack: has joined #ruby
[18:03:31] bogusdisk: has joined #ruby
[18:04:39] jhack: has joined #ruby
[18:04:40] hck89: has joined #ruby
[18:05:19] benlieb: has joined #ruby
[18:06:43] the_drow: has joined #ruby
[18:07:11] cdg: has joined #ruby
[18:07:35] funrep: is "get static_pages_home_url" same as "get(static_pages_home_url)"?
[18:07:43] weaksauce: has joined #ruby
[18:07:43] blackmesa: has joined #ruby
[18:09:02] funrep: is get a keyword or something general defined in rails source?
[18:09:16] miqlas-H: has joined #ruby
[18:09:31] drbrain: funrep: `get` is a method
[18:09:45] drbrain: ruby does not require that use use parentheses around method calls
[18:09:59] calmchaos: has joined #ruby
[18:10:06] drbrain: … so `get(url)` and `get url` are the same
[18:10:43] drbrain: some people (like me) prefer to omit as many parentheses as they can because they believe it makes ruby easier to read
[18:11:29] baweaver: drbrain: Seattle? :P
[18:11:31] drbrain: you can't chain methods like: get(url).save_to(some_file) so you have to use variables to describe what you're doing
[18:11:36] drbrain: baweaver: yup
[18:11:56] baweaver: I swear Seattle is known for that style
[18:12:32] baweaver: I have some reservations about it myself, mainly because it makes passing methods as first class functions a royal pain.
[18:13:06] baweaver: though it does read nicely as a DSL, so I'm torn in some ways
[18:13:48] yfeldblum: has joined #ruby
[18:14:43] drbrain: it can prevent some typo-errors, too: https://gist.github.com/drbrain/5ea7c9389a55c81fd3c1
[18:14:50] calmchaos: has joined #ruby
[18:15:09] moei: has joined #ruby
[18:15:36] mauro1: has joined #ruby
[18:16:30] smathy: I use parens in programming as I do in math, only when required to override precedence.
[18:17:18] weemsledeux: has joined #ruby
[18:17:47] sneakers: has joined #ruby
[18:19:54] hahuang61: has joined #ruby
[18:20:16] calmchaos: has joined #ruby
[18:21:33] baweaver: drbrain: I'd agree with geeksam that that was doing too much
[18:23:12] flashpoint9: has joined #ruby
[18:25:24] funrep: drbrain: nice thanks! :)
[18:26:40] smathy: I think the argument presented about paren usage introducing bugs is a strawman, that'd be like suggesting that this buggy code is a demonstration of the problem with not using parens: YAML.load_file full_path_for 'config/one.yml'[environment]
[18:28:11] smathy: If you're coding/testing in a way that allows those sorts of errors, parens or not isn't going to save you from yourself.
[18:29:40] baweaver: Perl: The Reckoning
[18:32:20] KCmetro: has joined #ruby
[18:33:42] drbrain: baweaver: yeah, but you can't fall into that trap in the first place if you avoid () as much as you can
[18:34:12] dminuoso: smathy: Well in some cases parens can be a code smell.
[18:34:32] dminuoso: smathy: My popular example is parens to fix precerence order when using &&/and, ||/or.
[18:34:45] dminuoso: If you have to use parens, chances are you are using the wrong version. :-)
[18:35:11] smathy: dminuoso, I see them the same as doing something like: ( 4x + 4 ) = y in math.
[18:35:30] smathy: At the risk of offending some people, it just looks ignorant to me :)
[18:35:54] smathy: Like people aren't quite sure of their operator precedence, so they add parens "just in case"
[18:36:06] karapetyan: jhass: thanks a lot! :)
[18:36:45] dminuoso: smathy: Agreed.
[18:37:05] C0deMaver1ck: not offended by I lump parens for operator precedence in the readability category, not ignorance
[18:37:07] spider-mario: has joined #ruby
[18:37:16] C0deMaver1ck: same reason I hate ternaries
[18:37:48] emilkarl: has joined #ruby
[18:38:13] `tim`: has joined #ruby
[18:38:35] dminuoso: smathy: There can be some cases where parens can be useful to visually group things together for whatever reason - but more often than not that is a code smell again and asks for breaking it into multiple lines using variables.
[18:40:33] smathy: dminuoso, yep.
[18:40:36] gizmore: has joined #ruby
[18:41:00] tomphp: has joined #ruby
[18:41:02] calmchaos: has joined #ruby
[18:41:05] codecop: has joined #ruby
[18:41:12] kirun: has joined #ruby
[18:41:30] aegis3121: has joined #ruby
[18:41:33] smathy: C0deMaver1ck, would you do `y = ( 4x + 3 )` in math (vs `y = 4x + 3`) too?
[18:41:46] flashpoint9: has joined #ruby
[18:41:52] dminuoso: The one valid case for adding parens in Ruby that I can see, is when you make method calls. There is quite a few ways where you can actually provoke Syntax errors if you omit method call parens
[18:42:04] last_staff: has joined #ruby
[18:42:30] smathy: Heh, I see method calls the same as any other syntax.
[18:42:58] macsteps: has joined #ruby
[18:43:04] jhack: anyone get a build failed error when updating to ruby 2.3.1 with rbenv?
[18:43:31] C0deMaver1ck: smathy, no that overly simplistic and doesn't need to be more readable
[18:43:54] dminuoso: C0deMaver1ck: parens dont make code more readable - they are a result of you trying to jam too many things into one line.
[18:44:19] smathy: C0deMaver1ck, but you'd write y = ( bool ? x : y ) in ruby?
[18:44:28] C0deMaver1ck: nope, hate ternary
[18:45:13] smathy: C0deMaver1ck, oh sorry, I misread your previous as "have". So you'd write: y = ( foo && bar ) ?
[18:45:56] C0deMaver1ck: I'm not advocating for parens in assignment or method calls
[18:46:28] C0deMaver1ck: more for `if x && y || (b == a && !h)`
[18:46:28] dc4: has joined #ruby
[18:46:40] karapetyan: has joined #ruby
[18:48:36] mtkd: has joined #ruby
[18:49:42] smathy: Ok, so that to me looks like: x * y + ( b * a^c )
[18:50:21] dminuoso: smathy: why the parens?
[18:50:55] smathy: My first thought is that I've missed something that the parens MUST be there to override.
[18:51:14] KCmetro: has joined #ruby
[18:51:25] smathy: (of course, these days that's not my first thought, my first thought is "ho hum, unnecessary parens again")
[18:51:33] ramfjord: has joined #ruby
[18:51:51] dminuoso: About the only thing I do from time to time, is to enclouse conditions after an if/unless in parens - but that is only a silly habit I picked up writing C and C++. :)
[18:52:11] dminuoso: And that is mostly just muscle memory doing its job and me not noticing it.
[18:52:29] TheWhip: has joined #ruby
[18:54:30] wald0: has joined #ruby
[18:55:40] leea: has joined #ruby
[18:56:41] jhack: Anyone get this error when updating ruby to ruby2.3.1? (using rbenv) Inspect or clean up the working tree at /var/folders/vy/_mqwkz2j2d1c06fl577s4d1c0000gn/T/ruby-build.20160705145554.7723
[18:56:58] Devalo: has joined #ruby
[18:57:08] griffindy: has joined #ruby
[18:58:16] smathy: jhack, does https://github.com/rbenv/ruby-build/issues/550 help?
[18:58:43] blackmesa: has joined #ruby
[18:58:49] dminuoso: jhack: which OSX version?
[18:58:53] jgt1: has joined #ruby
[18:59:03] jhack: dminuoso: 10.11.5
[18:59:54] dminuoso: jhack: What version of OSX did you run the last time you compiled Ruby?
[18:59:54] hahuang61: has joined #ruby
[19:00:03] jhack: oh.. I dont remember
[19:00:03] dminuoso: (There is a point to this question)
[19:00:11] roshanavand: has joined #ruby
[19:00:15] jhack: I believe it was before i updated to el capitan
[19:00:53] roshanavand: has joined #ruby
[19:01:00] dminuoso: jhack: The one thing I do remember, is that El Capitan introduced a new feature called SIP, which could have the most bizarre effects during many compilation things.
[19:01:21] dminuoso: (Because it basically disabled DLYD_ environment variables, which could have bizarre effects loading the wrong libraries)
[19:01:47] dminuoso: jhack: Do you have some actual error message from the compilation process?
[19:02:06] jhack: Yeah, ill put it up ona gist
[19:02:56] jhack: https://gist.github.com/jhack32/41274dcd59f96f904801949028c88e87
[19:04:01] dagelf: has joined #ruby
[19:05:05] dminuoso: jhack: Do me a favour, create a simple hello_world.c, and try to compile and link it.
[19:05:29] jhack: idk how thats done :x
[19:05:33] dminuoso: jhack: In fact, do you even have a compiler?!
[19:05:42] dagelf: What's the "state-of-the-art" to get random ruby packages running? rvm? lxc? docker? ubuntu? fedora? precompiled binaries? ... :-)
[19:05:52] havenwood: jhack: xcode-select --version
[19:05:55] havenwood: jhack: then: xcode-select --install
[19:06:05] jhack: xcode-select version 2343.
[19:06:22] havenwood: jhack: That's fine.
[19:06:41] dminuoso: dagelf: Anything with docker is sexy. Nobody can tell you why, but it's great.
[19:07:52] havenwood: dagelf: Archlinux and Fedora are two options with up-to-date Ruby packages. If you need more flexibility you might like installing Rubies with ruby-install and switching between them with chruby.
[19:08:23] havenwood: dagelf: Here's a gist showing a chruby setup with Archlinux Ruby packages: https://gist.github.com/jhass/8839655bb038e829fba1
[19:10:54] havenwood: jhack: Using Homebrew or one of the other package managers?
[19:11:01] jhack: yeah, homebrew
[19:11:07] jhack: i’ve updated/upgraded it as well
[19:12:27] havenwood: An aside, but since rbenv's ruby-build doesn't install deps, you might want to yourself: brew install automake bison gdbm libffi libyaml openssl readline
[19:12:58] dminuoso: havenwood: Since that topic was brought up by postmodern today, is there a definite list somewhere on the build dependencies?
[19:13:23] havenwood: jhack: Or try installing for rbenv with ruby-install (which does install deps): https://github.com/postmodern/ruby-install#readme
[19:14:52] havenwood: dminuoso: That's the problem, the most definitive list I know of is chruby's. :P
[19:15:16] banisterfiend: has joined #ruby
[19:15:22] havenwood: Well, chruby's wiki or ruby-install.
[19:15:31] dminuoso: havenwood: See, I should have told him that. Im sure he would have understood the humour.
[19:15:41] tomaz_b: has joined #ruby
[19:15:46] ChiefAlexander: has joined #ruby
[19:15:53] havenwood: It'd be nice to have a canonical list.
[19:15:54] havenwood: dminuoso: Hah
[19:15:59] jgt1: has joined #ruby
[19:16:15] dminuoso: Well he went off to create a bug report about it.
[19:16:29] nankyokusei: has joined #ruby
[19:17:01] Dimik: has joined #ruby
[19:17:11] tomaz_b: has joined #ruby
[19:17:12] prestorium: has joined #ruby
[19:17:25] roamingdog: has joined #ruby
[19:18:05] jhack: no i havent
[19:19:23] havenwood: jhack: You could see if `brew doctor` complains about your compiler setup.
[19:19:41] dminuoso: jhack: I was talking about someone else. :)
[19:20:39] dminuoso: jhack: echo "int main() {}" > test.c && gcc test.c
[19:20:42] dminuoso: jhack: what does that yield?
[19:21:17] DoubleMalt: has joined #ruby
[19:21:18] jhack: https://gist.github.com/jhack32/41274dcd59f96f904801949028c88e87
[19:21:26] havenwood: echo $? #=> 0
[19:21:26] jhack: think that’s the problem?
[19:21:54] jhack: dminuoso: clang: error: linker command failed with exit code 1 (use -v to see invocation)
[19:23:01] dminuoso: jhack: Do as clang tells you to.
[19:23:10] dminuoso: Let's see what its trying to invoke.
[19:23:36] dminuoso: And of course "gcc" just means "clang" because Apple.
[19:23:38] KCmetro: has joined #ruby
[19:23:54] jhack: https://gist.github.com/jhack32/41274dcd59f96f904801949028c88e87
[19:24:10] hipertracker: has joined #ruby
[19:24:28] tomphp: has joined #ruby
[19:25:01] dminuoso: jhack: Your entire chain seems to try and build ios things.
[19:25:12] dminuoso: Perhaps havenwood knows more.
[19:25:52] havenwood: jhack: Err, gist us?: gcc -v
[19:26:14] chipotle_: has joined #ruby
[19:26:31] jhack: https://gist.github.com/jhack32/41274dcd59f96f904801949028c88e87
[19:26:40] blackmesa: has joined #ruby
[19:26:52] jhack: at the bottom
[19:27:02] Meow-J: has joined #ruby
[19:27:31] havenwood: that is a funky --with-gxx-include-dir
[19:27:37] n61505: has joined #ruby
[19:27:38] chipotle_: has joined #ruby
[19:27:44] tomphp: has joined #ruby
[19:28:01] dminuoso: havenwood: Everything about his toolchain setup is funky. It's all configured to include, compile to, and link against iOS.
[19:28:04] n61505: has left #ruby: ()
[19:28:22] havenwood: jhack: It'd normally be: --with-gxx-include-dir=/usr/include/c++/4.2.1
[19:28:31] n61505: has joined #ruby
[19:28:55] Devalo: has joined #ruby
[19:29:23] havenwood: dminuoso: Yeah, it's not occurring to me what might have precipitated that.
[19:30:17] dminuoso: jhack: I would direct this question at #macdev
[19:30:22] havenwood: jhack: Just to sanity check, what do you get for?: command -v gcc
[19:30:29] LoneHerm_: has joined #ruby
[19:30:32] KCmetro: has joined #ruby
[19:30:42] jhack: /usr/bin/gcc
[19:30:52] dminuoso: looks right
[19:32:25] failshell: has joined #ruby
[19:32:26] johnmilton: has joined #ruby
[19:32:39] CJKinni: has joined #ruby
[19:33:26] [Butch]: has joined #ruby
[19:35:13] nhhc: has joined #ruby
[19:38:15] symm-: has joined #ruby
[19:39:37] ddffg: has joined #ruby
[19:40:23] deecross: has joined #ruby
[19:40:44] KCmetro: has joined #ruby
[19:41:45] wigust: has joined #ruby
[19:42:32] calmchaos: has joined #ruby
[19:44:22] calmchaos: has joined #ruby
[19:45:16] kareeoleez: has joined #ruby
[19:49:51] AngryBuzzy: has joined #ruby
[19:50:31] flughafen_: has joined #ruby
[19:50:47] johnmilton: has joined #ruby
[19:51:11] mostlybadfly: has joined #ruby
[19:52:31] whathappens: has joined #ruby
[19:53:14] elifoster: has joined #ruby
[19:54:59] kareeoleez: has joined #ruby
[19:57:53] KCmetro: has joined #ruby
[19:59:55] Beverage: has joined #ruby
[20:00:58] Silthias: has joined #ruby
[20:01:13] ramfjord: has joined #ruby
[20:01:52] karapetyan: has joined #ruby
[20:01:52] aegis3121: has joined #ruby
[20:02:54] DoubleMalt: has joined #ruby
[20:03:22] djbkd: has joined #ruby
[20:03:52] KCmetro_: has joined #ruby
[20:04:02] chip_: has joined #ruby
[20:04:45] zacts: has joined #ruby
[20:04:49] leea: has joined #ruby
[20:05:55] nando293921: has joined #ruby
[20:08:22] KCmetro: has joined #ruby
[20:09:35] freerobby: has joined #ruby
[20:10:08] juanfra: has joined #ruby
[20:12:31] diegoviola: has joined #ruby
[20:12:50] kareeoleez: has joined #ruby
[20:13:26] dagelf: havenwood: Awesome thanks not looked at how Arch does things, nor chruby... I'm trying to figure out what the best way is to keep ruby packages & dependencies up-to-date yet compatible and compilable in a distribution.... too many stale ruby-dependencies in Ubuntu and Debian and trying to see if I can come up with a better or easier way to do things...
[20:13:33] djbkd: has joined #ruby
[20:14:00] KCmetro: has joined #ruby
[20:14:07] dagelf: havenwood: oh yes, of course osx factor to contend with too...
[20:14:30] mustmodify: has left #ruby: ()
[20:14:31] GodFather: has joined #ruby
[20:15:24] havenwood: dagelf: You can use chruby with Homebrew Rubies as well, but it does *just work* with ruby-install.
[20:15:56] tAn: has joined #ruby
[20:16:46] blackgoat: has joined #ruby
[20:16:59] lupine: +1 for chruby + ruby-install
[20:17:04] lupine: it's pretty much zero-effort
[20:17:18] Devalo: has joined #ruby
[20:18:08] KensoDev: has joined #ruby
[20:18:17] usuari0: has joined #ruby
[20:22:14] kareeoleez: has joined #ruby
[20:24:42] tomphp: has joined #ruby
[20:26:44] Xiti: has joined #ruby
[20:27:38] soahccc: lupine: quite zero :) https://gist.github.com/2called-chaos/e06bf6322525d37a5bf7
[20:28:59] [Butch]: has joined #ruby
[20:29:07] UnKnOwN|: has joined #ruby
[20:29:14] flughafen_: has joined #ruby
[20:29:36] pawnbox: has joined #ruby
[20:29:57] mistermocha: has joined #ruby
[20:31:00] mistermocha: has joined #ruby
[20:32:22] skade: has joined #ruby
[20:33:35] gizmore: has joined #ruby
[20:35:25] UnKnOwN|: has joined #ruby
[20:35:59] flughafen_: has joined #ruby
[20:36:00] l4v2: has joined #ruby
[20:36:26] ChiefAlexander: has joined #ruby
[20:38:07] SilverKey: has joined #ruby
[20:38:16] ur5us: has joined #ruby
[20:38:30] macsteps: has joined #ruby
[20:39:22] SilverKey: has joined #ruby
[20:39:23] rcvalle: has joined #ruby
[20:40:19] kareeoleez: has joined #ruby
[20:41:10] Axsuul: has joined #ruby
[20:41:14] KnownSyntax_: has joined #ruby
[20:41:14] KnownSyntax_: has joined #ruby
[20:46:13] Sashimi: has joined #ruby
[20:48:17] yfeldblum: has joined #ruby
[20:52:55] ramfjord: has joined #ruby
[20:52:56] yqt: has joined #ruby
[20:53:13] replay_: has joined #ruby
[20:54:00] whathappens: has joined #ruby
[20:55:48] swills: has joined #ruby
[20:58:16] kareeoleez: has joined #ruby
[20:58:37] hck89: has joined #ruby
[20:58:46] ChiefAlexander: has joined #ruby
[20:59:25] ghr: has joined #ruby
[20:59:55] hipertracker: has joined #ruby
[21:02:14] shinnya: has joined #ruby
[21:03:14] blandflakes: has joined #ruby
[21:03:24] karapetyan: has joined #ruby
[21:05:03] mattwashere: has joined #ruby
[21:05:48] leea: just a quick poll, what is the preferred development tool for ruby? i.e. RubyMine, vi/vim, Atom, sublime?
[21:06:11] leea: i guess since is opinionated it would be your personal preference
[21:06:14] workmad3: has joined #ruby
[21:06:31] aegis3121: I think everyone uses something different for different reasons. I prefer sublime at home and a combination of sublime/rubymine at work (since I get the license for free and it's REALLY useful for debugging very large applications).
[21:08:09] kareeoleez: has joined #ruby
[21:08:35] matt_d: leea: whichever makes you more productive.
[21:09:02] leea: aegis3121 for rubymine @ work, is that because your work is a huge rails app?
[21:09:11] Papierkorb: leea: I use Atom (because of its integration with e.g. Rubocop), if it weren't for that, I'd still use Kate (KDEs general purpose editor)
[21:09:45] Papierkorb: Has its own share of annoyances, but at least it's OSS.
[21:09:55] ghr: has joined #ruby
[21:11:06] whathappens: has joined #ruby
[21:11:38] leea: matt_d how would a beginner like myself quantify productivity?
[21:11:47] postmodern: has joined #ruby
[21:12:04] matt_d: leea: try as many as you can.
[21:12:26] karapetyan: has joined #ruby
[21:13:13] asdf123: has joined #ruby
[21:13:42] asdf123: is there not a ruby on rails chat?
[21:13:52] Papierkorb: asdf123: there absolutely is over at #RubyOnRails
[21:13:53] aegis3121: #RubyOnRails
[21:14:04] asdf123: has left #ruby: ()
[21:14:52] hahuang61: has joined #ruby
[21:14:58] jhack: has joined #ruby
[21:16:32] whathappens: has joined #ruby
[21:16:45] kareeoleez: has joined #ruby
[21:17:20] jgt1: has joined #ruby
[21:17:31] lupine: gedit is also good
[21:17:40] lupine: editorwise
[21:23:59] ashleyhindle: has joined #ruby
[21:24:06] ashleyhindle: has left #ruby: ()
[21:24:16] kareeoleez: has joined #ruby
[21:24:54] jenrzzz: has joined #ruby
[21:24:54] jenrzzz: has joined #ruby
[21:24:56] ghr: has joined #ruby
[21:25:42] DoubleMalt: has joined #ruby
[21:27:42] jhack: has joined #ruby
[21:29:08] DoubleMalt: has joined #ruby
[21:29:28] replay: has joined #ruby
[21:29:42] mistermocha: has joined #ruby
[21:30:04] deecross: has joined #ruby
[21:30:25] bruce_lee: has joined #ruby
[21:30:28] openstruct: has joined #ruby
[21:31:13] eljimmy: has joined #ruby
[21:33:11] SilverKey: has joined #ruby
[21:34:09] perniciouscaffei: has joined #ruby
[21:36:36] jgt1: has joined #ruby
[21:38:15] mistermocha: has joined #ruby
[21:41:20] ur5us: has joined #ruby
[21:41:58] tAn: has joined #ruby
[21:42:59] craigp: has joined #ruby
[21:44:27] ghr: has joined #ruby
[21:45:02] isberg: drbrain Still there?
[21:45:35] Radar: has joined #ruby
[21:45:38] igam: has joined #ruby
[21:45:45] nankyokusei: has joined #ruby
[21:46:13] Radar: has joined #ruby
[21:46:58] basex: has joined #ruby
[21:47:45] nando293921: has joined #ruby
[21:48:53] last_staff: has joined #ruby
[21:49:03] JeanCarloMachado: has joined #ruby
[21:49:21] zacts: has joined #ruby
[21:49:50] agentmeerkat: has joined #ruby
[21:53:01] gizless: has joined #ruby
[21:53:53] isberg: Does anyone know if there's a ruby gem similar to this DSL for defining command line scripts? https://gist.github.com/anonymous/231d10cc1cf2520db8bc3ff018bd8252 ping drbrain
[21:55:01] KCmetro: has joined #ruby
[21:55:20] rbennacer: has joined #ruby
[21:56:09] denimchikn: has joined #ruby
[21:58:32] isberg: I spent a few hours defining my own DSL (no logic). My guess is that someone else already did this
[21:58:47] mistermo_: has joined #ruby
[22:00:58] ghr: has joined #ruby
[22:01:25] ramfjord: has joined #ruby
[22:02:40] matt_d: isberg: thor, commander ?
[22:03:21] isberg: matt_d Looked at both, but non really did what my example DSL is doing
[22:03:24] braincrash: has joined #ruby
[22:03:33] Papierkorb: isberg: there is the 'shell' gem bundled with ruby, I don't know about another gem for this though. I like your idea though
[22:03:34] isberg: or is suppose to do
[22:03:43] Papierkorb: isberg: https://devver.wordpress.com/2009/10/12/ruby-subprocesses-part_3/
[22:04:11] _gautam_: has joined #ruby
[22:04:37] eljimmy: has joined #ruby
[22:05:02] isberg: Papierkorb Thanks. Running an arbitrary script is simple, the difficult part is maintaining it. Havent found a way to do this yet
[22:05:52] Papierkorb: isberg: yeah, especially if it comes to some kind of flow control
[22:06:31] isberg: The example I posted has the ability to validate each command before running them (checking the type and so on) which would be nice
[22:06:34] ramfjord_: has joined #ruby
[22:07:13] isberg: Yeah, flow control was the word I was looking for
[22:07:31] isberg: Didn't know what to search for, that should be it
[22:10:11] bb010g: has joined #ruby
[22:10:15] cd-rum: has joined #ruby
[22:12:09] cd-rum_: has joined #ruby
[22:13:59] calmchaos: has joined #ruby
[22:15:49] dc4: has joined #ruby
[22:17:28] ghr: has joined #ruby
[22:19:25] chouhoul_: has joined #ruby
[22:23:41] hutch34: has joined #ruby
[22:25:29] scorphus: has joined #ruby
[22:26:47] denimchikn: has joined #ruby
[22:26:59] ghr: has joined #ruby
[22:27:30] JoshGlzBrk: has joined #ruby
[22:29:23] Xeago_: has joined #ruby
[22:29:47] SilverKey: has joined #ruby
[22:29:57] pawnbox: has joined #ruby
[22:30:03] Rodya_: has joined #ruby
[22:32:14] AlexRussia: has joined #ruby
[22:35:10] zenlot: has joined #ruby
[22:37:00] ghr: has joined #ruby
[22:38:54] fp-: has joined #ruby
[22:39:00] JakFrist: has joined #ruby
[22:42:00] jishankai: has joined #ruby
[22:43:34] timmow: has joined #ruby
[22:45:07] macsteps: has joined #ruby
[22:46:30] ghr: has joined #ruby
[22:47:14] aries_liuxueyang: has joined #ruby
[22:47:14] Rodya_: has joined #ruby
[22:50:45] pawnbox: has joined #ruby
[22:54:44] JoshGlzBrk: has joined #ruby
[22:55:08] basex: has joined #ruby
[22:58:01] ghr: has joined #ruby
[22:59:05] Regulati_: has joined #ruby
[23:00:14] xingped: has joined #ruby
[23:00:38] hipertracker: has joined #ruby
[23:01:30] xingped: I'm learning ruby and I really hate omitting parenthesis for function calls. with that in mind, i'm trying to learn rspec, but I can't figure out how to put parenthesis into this: expect(5).to be < 5
[23:01:44] xingped: sorry, expect(4)
[23:01:52] cdg: has joined #ruby
[23:01:53] xingped: the closest i can get is expect(4).to(be < 5)
[23:02:08] xingped: but I'm not sure what to do with 'be' and hte less than symbol
[23:02:12] Rodya_: has joined #ruby
[23:02:55] bfrizzle: has joined #ruby
[23:06:26] zeroDi: has joined #ruby
[23:06:53] Papierkorb: xingped: that's as close you will get
[23:06:55] z3ndrag0n: has joined #ruby
[23:07:20] Papierkorb: xingped: well, you could: expect(4).to(be.<(5)) But that's not readable at all anymore
[23:08:16] Radar: xingped: If you like parentheses so much, why not use Lisp? ;)
[23:08:21] smathy: be().<(5) - just sayin'
[23:10:17] jhass: how about some useless grouping?
[23:10:56] jhass: (((expect(((4))).to((be(()).<(((5))))))))
[23:11:11] nofxx: there's no #gt #lt ?
[23:11:39] smathy: ZOMG bro, do you even ruby?
[23:12:32] ghr: has joined #ruby
[23:12:44] vdamewood: has joined #ruby
[23:12:50] nettoweb: has joined #ruby
[23:13:43] lupine: it's really best to treat rspec as something of a DSL
[23:13:45] jhass: actually, we shouldn't discriminate against those poor [] and {} folks
[23:13:47] jhass: [{nil => (expect((4)).to((be(()).<((5))))}]
[23:14:29] KCmetro: has joined #ruby
[23:14:45] lupine: I was a bit sad to see the ruby style guide recommending against using m-exps
[23:14:47] jhass: [{%<> => (expect((4)).to((be(()).<((5))))}]
[23:15:01] Radar: throw more brackets
[23:15:17] hahuang61: has joined #ruby
[23:16:06] spudowiar: has joined #ruby
[23:16:30] CharlesN: has joined #ruby
[23:17:14] elifoster: has joined #ruby
[23:17:53] eljimador: has joined #ruby
[23:20:43] zacts: has joined #ruby
[23:21:21] yeticry: has joined #ruby
[23:21:26] araujo: has joined #ruby
[23:21:49] arooni-mobile: has joined #ruby
[23:21:59] braincrash: has joined #ruby
[23:22:17] xingped: Papierkorb, ah, thanks
[23:22:38] xingped: Radar, because I'm teaching Ruby, not Lisp. believe me, I didn't chose this language of my own accord. :P
[23:22:44] flashpoint9: has joined #ruby
[23:23:10] Radar: xingped: Then I would recommend to stick to the common practice of writing it like your original example: expect(5).to be < 5
[23:23:42] Radar: xingped: Enforcing your own standards which don't match the commonly accepted way of doing things means that it's going to be rude shock to people if/when they go into companies and they do it the other way.
[23:24:10] Radar: HOWEVER: It's that old joke "3 lawyers, 4 opinions"... "3 companies, 4 coding styles"
[23:24:15] Radar: Maybe I am being too pedantic?
[23:24:51] xingped: heh, i will be teaching it the "most common" way, i was just trying to figure out how to do it with parenthesis for my own sake
[23:25:32] rhllor: has joined #ruby
[23:25:44] nofxx: Radar, at least ruby got some nice stuff convetioned (does that word exists?) 2 spaces, no trailing, do/end {}
[23:25:54] hipertracker: has joined #ruby
[23:26:10] Radar: nofxx: I would say "we've agreed upon at least one convention"
[23:26:13] nofxx: xingped, dont forget to use rubocop
[23:26:15] xingped: really though, there really shouldn't be two ways of doing the same thing if there's not mutually exclusive use cases for each
[23:26:28] Radar: xingped: That sounds like the Python school of thought ;)
[23:26:45] xingped: haha, never used python. one of these days though.
[23:26:51] yeticry: has joined #ruby
[23:26:56] nettoweb: has joined #ruby
[23:27:24] xingped: nofxx, yep, will be teaching rubocop. thanks!
[23:28:12] nofxx: Radar, usually a js for instance, makes my emacs glow up like a xmas tree... and first save does a lot of auto-fixery...it's like, everyline has a change when you commit hehe
[23:28:20] nofxx: need to turn things off =D
[23:28:24] SilverKey: has joined #ruby
[23:29:59] jhass: xingped: size/length, inject/reduce, map/collect, select/find_all, key?/has_key?, is_a?/kind_of?, $:/$LOAD_PATH, the list goes on, welcome to ruby
[23:30:47] xingped: jhass, i'm already groaning, lol
[23:31:43] kavanagh: has joined #ruby
[23:32:46] shevy: xingped use one and forget the others :D
[23:32:51] shevy: also use the right one!
[23:33:51] Hobogrammer: has joined #ruby
[23:34:02] nofxx: find/detect .. later good to avoid some ORM/ODM you'll problably using
[23:34:09] nofxx: any reason for find_all over select?
[23:34:36] nofxx: first thing a ORM does is ovewrite #find heh
[23:34:51] chouhoulis: has joined #ruby
[23:38:02] ghr: has joined #ruby
[23:39:54] koooge: has joined #ruby
[23:43:18] memorasus1: has joined #ruby
[23:43:38] al2o3-cr: sup claire bears
[23:45:08] arooni-mobile: has joined #ruby
[23:45:15] arooni: has joined #ruby
[23:46:21] charliesome: has joined #ruby
[23:46:28] allcentury: has joined #ruby
[23:46:54] nankyokusei: has joined #ruby
[23:47:03] al2o3-cr: shevy: make me laugh :)
[23:47:33] ghr: has joined #ruby
[23:48:57] shevy: I am trying to bundle everything related to bioinformatics into a single project!
[23:50:28] al2o3-cr: shevy: i don't no whether to praise you or say "dog in the fog"
[23:51:30] al2o3-cr: either way you is a character
[23:51:46] shevy: biggest problem is that most of this is very boring
[23:52:04] shevy: or digging into ancient perl code
[23:52:13] al2o3-cr: that's is you fault
[23:52:35] basex: has joined #ruby
[23:53:59] al2o3-cr: shevy: you still at 1.8?
[23:54:13] AndrewIsHere: has joined #ruby
[23:54:21] arooni-mobile: has joined #ruby
[23:54:29] AndrewIsHere: has joined #ruby
[23:54:48] JoshGlzBrk: has joined #ruby
[23:55:21] al2o3-cr: shevy: you like a drink?
[23:56:22] shevy: there were some smaller problems mostly when switching from ruby 1.8 to 1.9.x and beyond
[23:56:36] shevy: the last obstacle was that psych requires UTF-something
[23:56:42] shevy: but there is syck too
[23:56:51] KCmetro: has joined #ruby
[23:56:57] shevy: past that point it was no longer really that hard
[23:57:03] ghr: has joined #ruby
[23:57:22] al2o3-cr: shevy: u switched to 2.3?
[23:57:51] shevy: I think 4 years ago or something like that
[23:58:07] shevy: to the *most current variant back then
[23:58:38] shevy: there were some smaller good ideas like the did you mean gem
[23:58:57] al2o3-cr: character u shevy boats
[23:59:06] shevy: I still think that one of the biggest problems in ruby is the documentation
[23:59:07] hutch34: has joined #ruby
[23:59:25] shevy: even jhass links to non-default ruby homepages/docupages :)