« Back to channel list

#ruby - 26 July 2016

« Back 1 day Forward 1 day »
[00:02:09] devbug_: has joined #ruby
[00:03:39] Devalo: has joined #ruby
[00:04:12] cyphase: has joined #ruby
[00:04:43] devbug: has joined #ruby
[00:06:51] Torrone: has joined #ruby
[00:08:17] AustinMatherne: has joined #ruby
[00:11:14] devbug: has joined #ruby
[00:12:04] mattwashere: has joined #ruby
[00:12:07] bkxd: has joined #ruby
[00:13:27] dminuoso: has joined #ruby
[00:13:41] jenrzzz: has joined #ruby
[00:15:23] whathappens: has joined #ruby
[00:22:23] djbkd: has joined #ruby
[00:22:42] Rodya_: has joined #ruby
[00:24:37] gix: has joined #ruby
[00:27:27] LoneHermit: has joined #ruby
[00:28:04] hutch34_: has joined #ruby
[00:29:34] zacts: has joined #ruby
[00:35:42] neanderslob: has joined #ruby
[00:36:29] nertzy: has joined #ruby
[00:36:31] ElFerna: has joined #ruby
[00:36:43] Moosashi: has joined #ruby
[00:37:04] xall_: has joined #ruby
[00:37:25] l4v2: has joined #ruby
[00:37:34] Torrone: has joined #ruby
[00:39:14] SilverKey: has joined #ruby
[00:41:05] cyphase: has joined #ruby
[00:45:11] jenrzzz: has joined #ruby
[00:45:12] mattwashere: has joined #ruby
[00:47:11] AndrewIsHere: has joined #ruby
[00:47:41] wrkrcoop: has left #ruby: ()
[00:47:59] Hobogrammer: has joined #ruby
[00:49:33] jaguarmagenta: has joined #ruby
[00:49:38] devoid: has joined #ruby
[00:50:13] paradisaeidae: has joined #ruby
[00:50:59] LoneHermit: has joined #ruby
[00:52:52] bad_ip: has joined #ruby
[00:55:04] macsteps: has joined #ruby
[00:59:04] nettoweb: has joined #ruby
[01:00:11] Es0teric: has joined #ruby
[01:02:21] rapha: has joined #ruby
[01:02:23] cevett: am I the only person who quotes robocop when i fix style issues reported by rubocop
[01:02:56] rapha: has joined #ruby
[01:07:55] giz|work|2: has joined #ruby
[01:14:36] dminuoso: has joined #ruby
[01:15:08] devbug: has joined #ruby
[01:15:21] Torrone: has joined #ruby
[01:16:44] blackmesa: has joined #ruby
[01:16:49] kobain: has joined #ruby
[01:17:55] devbug: has joined #ruby
[01:22:18] mgiagante: has joined #ruby
[01:23:26] xall_: has joined #ruby
[01:24:12] mgiagante: Hello all, guys. I'm starting to develop an opensource scraping framework, since all frameworks I found were no longer maintained. I'm laying out the readme, describing the API. Could anyone give me some feedback? please PM. Thanks a lot.
[01:28:16] fredolinhares: has joined #ruby
[01:30:34] cdg: has joined #ruby
[01:32:32] Sammichmaker: has joined #ruby
[01:32:37] CloCkWeRX: has joined #ruby
[01:33:57] Moosashi: has joined #ruby
[01:34:52] sucks: has joined #ruby
[01:36:33] djdarkbeat: has joined #ruby
[01:37:47] devbug: has joined #ruby
[01:39:22] Torrone: has joined #ruby
[01:39:33] RegulationD: has joined #ruby
[01:40:17] devbug: has joined #ruby
[01:42:19] tmtwd: has joined #ruby
[01:42:57] Rodya_: has joined #ruby
[01:44:16] devbug: has joined #ruby
[01:45:41] roamingdog: has joined #ruby
[01:47:06] ElFerna: has joined #ruby
[01:48:31] AndrewIsHere: has joined #ruby
[01:48:59] devbug: has joined #ruby
[01:53:43] davedev24: has joined #ruby
[01:54:54] nerium: has joined #ruby
[01:57:32] devbug: has joined #ruby
[01:57:41] require_all_the_: has joined #ruby
[01:58:51] LoneHermit: has joined #ruby
[01:59:38] gregf: has joined #ruby
[02:00:05] roamingdog: has joined #ruby
[02:00:52] dunpeal: has joined #ruby
[02:04:27] devbug: has joined #ruby
[02:04:32] madsa: has joined #ruby
[02:04:53] Rodya_: has joined #ruby
[02:05:50] tvon: has joined #ruby
[02:05:58] Rodya_: has joined #ruby
[02:11:04] zenspider: mgiagante: "no longer maintained" != "not working". also: mechanize is maintained just fine
[02:12:44] bkxd: has joined #ruby
[02:12:50] pawnbox: has joined #ruby
[02:16:37] dminuoso: has joined #ruby
[02:16:43] seap: has joined #ruby
[02:17:46] madsa: has joined #ruby
[02:17:58] whathappens: has joined #ruby
[02:18:35] zacts: has joined #ruby
[02:18:57] mattwashere: has joined #ruby
[02:19:47] blackmesa: has joined #ruby
[02:21:35] seap: has joined #ruby
[02:24:27] dionysus69: has joined #ruby
[02:29:06] sukra: has joined #ruby
[02:33:55] adl: has joined #ruby
[02:35:02] xall_: has joined #ruby
[02:35:21] ramfjord: has joined #ruby
[02:36:12] jaguarmagenta: has joined #ruby
[02:37:05] devbug: has joined #ruby
[02:38:34] iBleizo: has joined #ruby
[02:41:56] devbug: has joined #ruby
[02:46:36] iBleizo: has left #ruby: ()
[02:47:17] Dimik--: has joined #ruby
[02:47:25] devbug: has joined #ruby
[02:49:50] edwardly: has joined #ruby
[02:49:51] edwardly: has joined #ruby
[02:54:32] meinside: has joined #ruby
[02:54:41] devbug_: has joined #ruby
[02:57:21] xall_: has joined #ruby
[02:59:19] devbug: has joined #ruby
[03:00:09] chouhoulis: has joined #ruby
[03:01:52] arnonhongklay: has joined #ruby
[03:03:12] Guest72476: has joined #ruby
[03:03:50] devbug: has joined #ruby
[03:04:29] A_Drone: has joined #ruby
[03:04:51] AnoHito_: has joined #ruby
[03:05:00] chosen1_: has joined #ruby
[03:05:21] Cohedrin: has joined #ruby
[03:07:33] LoneHermit: has joined #ruby
[03:09:13] Es0teric: has joined #ruby
[03:12:23] blackwell: has joined #ruby
[03:14:37] arnonhongklay: has joined #ruby
[03:14:50] Torrone: has joined #ruby
[03:15:42] LoneHermit: has joined #ruby
[03:17:22] dminuoso: has joined #ruby
[03:17:52] k3rn31: has joined #ruby
[03:19:11] blackwell: has joined #ruby
[03:22:22] k3rn31: has joined #ruby
[03:22:43] Kus: has joined #ruby
[03:24:36] Moosashi: has joined #ruby
[03:25:10] adl: has joined #ruby
[03:26:06] blackmesa: has joined #ruby
[03:28:07] tmtwd: has joined #ruby
[03:28:17] gix: has joined #ruby
[03:29:19] enterprisey: has joined #ruby
[03:39:40] notwithstanding: has joined #ruby
[03:39:42] notwithstanding: has left #ruby: ()
[03:40:29] RegulationD: has joined #ruby
[03:46:27] A_Drone: has joined #ruby
[03:48:31] devbug: has joined #ruby
[03:49:00] Moosashi: has joined #ruby
[03:49:05] cyphase: has joined #ruby
[03:49:44] cdg: has joined #ruby
[03:49:48] AndrewIsHere: has joined #ruby
[03:51:33] darix: +1 for mechanize
[03:52:51] devbug: has joined #ruby
[03:53:15] sumobob: has joined #ruby
[03:56:02] iBleizo: has joined #ruby
[03:58:41] craysiii: has joined #ruby
[03:59:53] al2o3-cr: has joined #ruby
[04:00:48] qguv: has joined #ruby
[04:04:01] sumobob: has joined #ruby
[04:06:05] Devalo: has joined #ruby
[04:06:19] devbug_: has joined #ruby
[04:11:28] zacts: mechanize is cool
[04:11:29] kolotrupa: has joined #ruby
[04:13:34] bkxd: has joined #ruby
[04:16:27] bad_ip: has joined #ruby
[04:17:40] phrozen77: has joined #ruby
[04:18:07] dminuoso: has joined #ruby
[04:18:28] nbdy: has joined #ruby
[04:20:13] Moosashi: has joined #ruby
[04:20:18] phrozen77_: has joined #ruby
[04:23:19] pawnbox: has joined #ruby
[04:28:03] LoneHerm_: has joined #ruby
[04:28:29] pawnbox: has joined #ruby
[04:29:06] blackmesa: has joined #ruby
[04:30:22] aryaching: has joined #ruby
[04:31:45] astrobun_: has joined #ruby
[04:37:32] Moosashi: has joined #ruby
[04:37:42] jishankai: has joined #ruby
[04:41:04] DoubleMalt: has joined #ruby
[04:41:17] nadir: has joined #ruby
[04:44:59] xall_: has joined #ruby
[04:45:07] dminuoso: has joined #ruby
[04:46:58] hutch34_: has joined #ruby
[04:47:30] der-landgraf: has joined #ruby
[04:49:20] hk238: has joined #ruby
[04:52:09] rickmasta: has joined #ruby
[04:55:43] spyder55: has joined #ruby
[04:56:07] Yzguy: has joined #ruby
[04:57:11] devbug: has joined #ruby
[05:00:25] rgiscard: has joined #ruby
[05:01:34] aupadhye: has joined #ruby
[05:03:12] ramfjord: has joined #ruby
[05:03:53] Cohedrin: has joined #ruby
[05:08:11] ramfjord: has joined #ruby
[05:08:13] Unicorn|: has joined #ruby
[05:10:38] Dimik--: has joined #ruby
[05:11:00] Moosashi: has joined #ruby
[05:12:06] Dimik-: has joined #ruby
[05:13:00] alfiemax: has joined #ruby
[05:14:23] bkxd: has joined #ruby
[05:14:30] adl: has joined #ruby
[05:15:31] A_Drone: has joined #ruby
[05:15:47] k3rn31: has joined #ruby
[05:17:54] devbug: has joined #ruby
[05:20:24] A_Drone: has joined #ruby
[05:20:54] devbug: has joined #ruby
[05:20:55] terminalrecluse: has joined #ruby
[05:20:59] tvw: has joined #ruby
[05:22:46] devbug: has joined #ruby
[05:25:56] devbug: has joined #ruby
[05:27:49] Cohedrin: has joined #ruby
[05:29:55] duncannz: has joined #ruby
[05:30:08] devbug: has joined #ruby
[05:32:08] blackmesa: has joined #ruby
[05:35:31] Macaveli: has joined #ruby
[05:36:03] craigp: has joined #ruby
[05:36:08] rickmasta: has joined #ruby
[05:36:18] djbkd: has joined #ruby
[05:41:18] RegulationD: has joined #ruby
[05:41:52] rann: Hi all, new ruby and bundler user here. Quick question: I'm on Windows, I have RubyInstaller's 2.3.1 x64 installed with devkit. I can compile native gems. However, sometimes native gems have precompiled dlls/so's in the rubygem repository. I can tell gem install to ignore those by specifying ' --platform ruby ', which I've also added to my gemrc. When using
[05:41:52] rann: bundle install however, the platform parameter seems to be ignored and I get binary versions of the native gems. Can I tell bundler: NEVER take binary gems but always compile them?
[05:45:09] yfeldblum: has joined #ruby
[05:46:44] A_Drone: has joined #ruby
[05:47:41] ruby[bot]: -b *!*@119.152.11.200$#ruby-banned
[05:48:22] skade: has joined #ruby
[05:48:22] nbdy: has joined #ruby
[05:48:26] craysiii: has joined #ruby
[05:49:16] devbug: has joined #ruby
[05:52:09] dminuoso: has joined #ruby
[05:55:32] statelesscode: has joined #ruby
[05:56:48] devbug: has joined #ruby
[05:58:08] petrichorx: has joined #ruby
[05:58:30] adl: has joined #ruby
[05:59:16] sumobob: has joined #ruby
[05:59:17] A_Drone: has joined #ruby
[06:00:17] dunpeal: has joined #ruby
[06:01:25] kolotrupa: has joined #ruby
[06:01:48] cyphase: has joined #ruby
[06:03:46] kolotrupa: has joined #ruby
[06:06:21] giz|work: has joined #ruby
[06:13:11] bkxd: has joined #ruby
[06:13:43] ec0: has joined #ruby
[06:13:58] Moosashi: has joined #ruby
[06:14:33] grenierm_: has joined #ruby
[06:15:26] der-landgraf: has joined #ruby
[06:16:49] raeoks: has joined #ruby
[06:17:43] minotep: has joined #ruby
[06:21:17] bkxd: has joined #ruby
[06:23:42] astrobun_: has joined #ruby
[06:26:31] ponga: has joined #ruby
[06:26:55] tvw: has joined #ruby
[06:26:58] yfeldblum: has joined #ruby
[06:27:22] conta: has joined #ruby
[06:31:13] terminalrecluse: has joined #ruby
[06:31:46] craysiii: has joined #ruby
[06:31:55] firstdayonthejob: has joined #ruby
[06:32:26] astrobun_: has joined #ruby
[06:33:56] blackmesa: has joined #ruby
[06:39:01] terminalrecluse: has joined #ruby
[06:40:24] terminalrecluse: has joined #ruby
[06:41:14] bchlli: has joined #ruby
[06:41:34] neanderslob: has joined #ruby
[06:42:12] ReK2: has joined #ruby
[06:43:26] terminalrecluse: has joined #ruby
[06:43:50] neanderslob_: has joined #ruby
[06:44:25] craigp: has joined #ruby
[06:45:20] tedwards: has joined #ruby
[06:48:55] _joes___: has joined #ruby
[06:50:56] the_drow: has joined #ruby
[06:52:05] ramfjord: has joined #ruby
[06:52:26] DoubleMalt: has joined #ruby
[06:52:50] jenrzzz: has joined #ruby
[06:53:43] nettoweb: has joined #ruby
[06:54:03] cibs: has joined #ruby
[06:54:20] yfeldblum: has joined #ruby
[06:54:38] andikr: has joined #ruby
[06:55:35] dminuoso: has joined #ruby
[06:55:50] 7F1ABV3DS: has joined #ruby
[06:58:25] LoneHermit: has joined #ruby
[06:59:07] Ropeney: has joined #ruby
[07:00:06] craysiii: has joined #ruby
[07:01:10] neanderslob: has joined #ruby
[07:02:21] solars: has joined #ruby
[07:02:43] atomx: has joined #ruby
[07:05:35] shortdudey123: has joined #ruby
[07:05:49] A_Drone: has joined #ruby
[07:06:03] chrismytton: has joined #ruby
[07:06:21] aganov: has joined #ruby
[07:06:48] etehtsea: has joined #ruby
[07:06:51] anisha: has joined #ruby
[07:07:12] etehtsea: why there is no String#byteslice! method?
[07:08:11] ramfjord: has joined #ruby
[07:08:26] ljarvis: has joined #ruby
[07:09:39] dminuoso: has joined #ruby
[07:10:50] neanderslob: has joined #ruby
[07:15:37] A_Drone: has joined #ruby
[07:15:52] lxsameer: has joined #ruby
[07:16:10] solars: jhass, sorry I saw it just now - how can I override the class method then with prepend?
[07:17:36] solars: jhass, ah I think I got it
[07:18:05] Madplatypus: has joined #ruby
[07:19:12] TomyWork: has joined #ruby
[07:20:03] shevy: etehtsea two reasons I could think of; (1) it may be so rare that nobody uses it (2) nobody thought about it; in case (2) you can make a suggestion to the ruby core team at https://bugs.ruby-lang.org/projects/ruby-trunk
[07:21:24] Silthias1: has joined #ruby
[07:21:57] jaruga___: has joined #ruby
[07:22:05] bkxd: has joined #ruby
[07:23:45] fanantoxa: has joined #ruby
[07:25:11] hinbody: has joined #ruby
[07:29:03] yeticry: has joined #ruby
[07:29:43] iMadper|SYSU: has joined #ruby
[07:30:18] pawnbox: has joined #ruby
[07:30:30] Torrone: has joined #ruby
[07:30:55] Couch: has joined #ruby
[07:31:12] antgel: has joined #ruby
[07:34:44] rapha: has joined #ruby
[07:35:41] blackmesa: has joined #ruby
[07:36:20] auzty: has joined #ruby
[07:37:00] codecop: has joined #ruby
[07:37:43] etehtsea: @shevy so may be there is another way to slice N bytes from string in-place?
[07:38:09] shevy: no idea, I don't think I have ever needed to slice bytes from a string in the first place
[07:38:21] shevy: my strings are oldschool "bla" so I just do [start, end]
[07:39:05] leftpad: has joined #ruby
[07:41:34] joonty: has joined #ruby
[07:42:11] RegulationD: has joined #ruby
[07:42:24] yeticry: has joined #ruby
[07:42:25] Torrone: has joined #ruby
[07:43:31] yardenbar: has joined #ruby
[07:44:11] RegulationD: has joined #ruby
[07:44:14] zacts: has joined #ruby
[07:44:37] Moosashi: has joined #ruby
[07:46:04] RegulationD: has joined #ruby
[07:47:12] mrgrieves: has joined #ruby
[07:47:23] ksinkar: has joined #ruby
[07:47:53] RegulationD: has joined #ruby
[07:47:55] yeticry: has joined #ruby
[07:48:12] A_Drone: has joined #ruby
[07:49:36] A_Drone: has joined #ruby
[07:50:07] Mia: has joined #ruby
[07:50:07] Mia: has joined #ruby
[07:50:13] zarubin: has joined #ruby
[07:50:30] dionysus69: has joined #ruby
[07:51:01] AndrewIsHere: has joined #ruby
[07:54:06] marr: has joined #ruby
[07:54:29] jenrzzz: has joined #ruby
[07:55:07] jaiks: has joined #ruby
[07:59:40] LoneHermit: has joined #ruby
[08:01:58] symm-: has joined #ruby
[08:02:24] roshanavand: has joined #ruby
[08:02:40] cstrahan: has joined #ruby
[08:02:49] chrisseaton: has joined #ruby
[08:06:15] adl: has joined #ruby
[08:06:34] shadeslayer: Hi, is there a way to get a list of installed Gems from inside Ruby code ?
[08:06:36] Torrone: has joined #ruby
[08:06:48] shadeslayer: ideally without a system call or backticks
[08:07:12] arquebus: has joined #ruby
[08:07:13] grn: has joined #ruby
[08:07:20] dminuoso: shadeslayer: Yes.
[08:07:27] shadeslayer: dminuoso: oh?
[08:07:33] Devalo: has joined #ruby
[08:07:43] dminuoso: &ri Gem::Dependency::new
[08:07:43] `derpy: http://ruby-doc.org/stdlib-2.3.1/libdoc/rubygems/rdoc/Gem/Dependency.html#method-c-new
[08:07:54] dminuoso: &ri Gem::source_index
[08:07:54] `derpy: No results
[08:08:03] ljarvis: Gem::Specification.sort_by { |g| [g.name.downcase, g.version] }.group_by(&:name)
[08:08:30] dminuoso: Ah well, I was close enough. Do I get a cookie for trying?
[08:08:40] ljarvis: absolutely
[08:08:42] ruby[bot]: here's your cookie: 🍪
[08:09:11] mark_661: has joined #ruby
[08:09:22] shadeslayer: ljarvis: thanks!
[08:09:36] ljarvis: add it to your .irbrc ;)
[08:09:40] HammyJammy: has joined #ruby
[08:10:09] arquebus: Im trying to write a function that will take a string and a number and return a string with that string repeated with spaces inbetween. This code works in irb but when I run it in a file it concats wrong, like it doubles the previous string instead of concating a single string on the end, heres the code: http://codepad.org/Z0SQOsEs
[08:10:18] rapha: has left #ruby: ("WeeChat 1.0.1")
[08:11:52] ljarvis: >> Array.new(5, "hi").join(" ")
[08:11:53] ruby[bot]: ljarvis: # => "hi hi hi hi hi" (https://eval.in/612000)
[08:14:21] arquebus: ljarvis: I cant believe that works, but that is kind of cheating, Id rather use 5.times
[08:15:13] ljarvis: why is it cheating?
[08:15:33] arquebus: thats a built in function for array, I really should how to learn to do this with times
[08:15:39] ljarvis: I'm confused.. you want a string repeated x times and then joined with spaces.. that's exactly how to do it
[08:15:48] ljarvis: why should do use an inferior method?
[08:16:14] ljarvis: >> 5.times.map { "hi" }.join(" ")
[08:16:15] ruby[bot]: ljarvis: # => "hi hi hi hi hi" (https://eval.in/612005)
[08:16:15] arquebus: cant I concat a string onto another string each time through an enumerator loop?
[08:16:35] tvw: has joined #ruby
[08:16:51] ljarvis: yes, but you shouldn't because you'll be left with inconsistent spacing unless you check indexes on every iteration
[08:17:38] snowy: has joined #ruby
[08:17:54] arquebus: ok, well someday I will need to do some complicated concating on a string and there wont be an array function to do it
[08:18:46] ljarvis: I very much doubt that but if that day comes, I'm sure there will be a sensible way to do it
[08:19:06] arquebus: ok, thanks anyway
[08:19:08] arquebus: has left #ruby: ("Konversation disconnecting")
[08:19:13] Hanmac: >> ["hi"] * 5 * " "
[08:19:13] ruby[bot]: hanmac: # => "hi hi hi hi hi" (https://eval.in/612007)
[08:19:25] ljarvis: hanmac: we could be here all day ;)
[08:19:40] rrawlins: has joined #ruby
[08:22:47] bkxd: has joined #ruby
[08:23:10] Torrone: has joined #ruby
[08:25:14] whathappens: has joined #ruby
[08:27:28] Zarthus: well that was the plan
[08:30:12] ksinkar: has joined #ruby
[08:32:11] pawnbox: has joined #ruby
[08:32:13] Stan: has joined #ruby
[08:32:33] Torrone: has joined #ruby
[08:33:41] teclator: has joined #ruby
[08:33:46] jaguarmagenta: has joined #ruby
[08:33:55] blaxter: has joined #ruby
[08:33:58] devbug: has joined #ruby
[08:38:45] blackmesa: has joined #ruby
[08:38:49] Torrone: has joined #ruby
[08:44:52] A_Drone: has joined #ruby
[08:44:55] pawnbox: has joined #ruby
[08:47:15] hutch34_: has joined #ruby
[08:48:47] RegulationD: has joined #ruby
[08:49:44] iMadper: has joined #ruby
[08:50:20] ramfjord: has joined #ruby
[08:50:22] blackmesa: has joined #ruby
[08:50:41] RegulationD: has joined #ruby
[08:50:59] noregret: https://bpaste.net/show/27986e68533e - any idea why that was converted to something else?
[08:51:00] grn: has joined #ruby
[08:53:14] noregret: hanmac:i'm still struggling withat unicdoe stuff =)
[08:53:15] iMadper: has joined #ruby
[08:56:07] iMadper: has joined #ruby
[08:56:59] Torrone: has joined #ruby
[08:58:45] skade: has joined #ruby
[08:59:15] _mak: has joined #ruby
[08:59:19] _mak: what is the best 'artifact' to capture the complexity of many rules and states that interact together? (by artifact I mean a technique, document, tool, anything that can be passed along to communicate the varios complex interactions between the entities)
[09:00:40] AndrewIsHere: has joined #ruby
[09:00:52] Talltree: has joined #ruby
[09:00:53] platzhirsch: has joined #ruby
[09:01:20] A_Drone: has joined #ruby
[09:01:31] iMadper: has joined #ruby
[09:03:19] ghr: has joined #ruby
[09:03:25] shevy: the best way to handle complexity is to beat it down with a club or a bat until it surrenders and submits to simplicity
[09:03:57] toretore: has joined #ruby
[09:04:20] Ropeney: has joined #ruby
[09:05:03] dminuoso: _mak: UML all the things.
[09:05:07] _mak: I wonder if the best method are 'feature files' (aka scenarios)?
[09:08:25] Davedev28: has joined #ruby
[09:09:54] chouhoulis: has joined #ruby
[09:12:01] Hask5577: has joined #ruby
[09:13:32] skade: has joined #ruby
[09:14:48] yfeldblum: has joined #ruby
[09:15:00] zacts: has joined #ruby
[09:15:24] Torrone_: has joined #ruby
[09:17:20] Hask5577: has joined #ruby
[09:19:00] shevy: I don't think you will have much luck finding people who use any special technique here for their ruby scripts
[09:19:20] shevy: "artefacts" or "feature files", that sounds very alien. I don't think I can recall anyone else having asked this here
[09:20:21] _mak: shevy: I'm just looking for ways that people use to capture the businesses rules and other complexities... how they put that down in a way that it can be read and uderstood by other people
[09:22:19] Davedev28: has joined #ruby
[09:25:00] rrawlins: has joined #ruby
[09:27:09] Hask5577: has joined #ruby
[09:29:36] rodfersou: has joined #ruby
[09:30:53] p0p0pr37_: has joined #ruby
[09:31:09] blackmesa: has joined #ruby
[09:32:34] flying: has joined #ruby
[09:34:51] A_Drone: has joined #ruby
[09:36:08] ash-: has joined #ruby
[09:36:11] TheWhip: has joined #ruby
[09:36:53] Hask5577: has joined #ruby
[09:38:37] workmad3: has joined #ruby
[09:39:19] ash-: has left #ruby: ()
[09:39:52] k3rn31: has joined #ruby
[09:40:37] hipertracker: has joined #ruby
[09:41:07] Davedev28: has joined #ruby
[09:42:27] whiteline: has joined #ruby
[09:47:22] hk238: has joined #ruby
[09:49:44] hwcomcn: has joined #ruby
[09:50:41] whiteline: has joined #ruby
[09:51:07] hinbody: has joined #ruby
[09:51:23] A_Drone: has joined #ruby
[09:51:36] RegulationD: has joined #ruby
[09:51:50] adl: has joined #ruby
[09:53:23] hwcomcn: has joined #ruby
[09:53:29] Regulati_: has joined #ruby
[09:53:34] bkxd: has joined #ruby
[09:56:54] spudowiar: has joined #ruby
[09:58:40] sdothum: has joined #ruby
[09:59:09] blackmesa: has joined #ruby
[10:03:47] yoongkang: has joined #ruby
[10:05:33] deuterium: has joined #ruby
[10:11:08] TheWhip: has joined #ruby
[10:11:08] pawnbox: has joined #ruby
[10:11:26] rrawlins: has joined #ruby
[10:16:22] Macaveli: has joined #ruby
[10:18:33] charliesome: has joined #ruby
[10:21:30] craigp: has joined #ruby
[10:21:44] tvw: has joined #ruby
[10:21:49] moei: has joined #ruby
[10:23:02] Torrone: has joined #ruby
[10:29:57] spudowiar: has joined #ruby
[10:30:46] pandaant: has joined #ruby
[10:31:51] chosen1: has joined #ruby
[10:32:55] blackmesa: has joined #ruby
[10:33:47] c355E3B: has joined #ruby
[10:35:22] Hyuk: has joined #ruby
[10:38:23] marens: hey there, can somebody explain or point to some docu of what happens when you pass an instance of a class to rspec's describe? e.g. http://serverspec.org/resource_types.html#file all the describe docu only deals with classes or strings as parameter to describe
[10:38:51] EdwardIII: has joined #ruby
[10:39:15] Torrone: has joined #ruby
[10:41:54] charliesome: has joined #ruby
[10:43:56] flopsec: has joined #ruby
[10:44:55] charliesome: has joined #ruby
[10:48:30] yardenbar: has joined #ruby
[10:49:31] yxhuvud: has joined #ruby
[10:50:44] alxgsv: has joined #ruby
[10:50:48] dvinciguerra_: has joined #ruby
[10:51:28] chosen1_: has joined #ruby
[10:52:12] charliesome: has joined #ruby
[10:53:14] Torrone: has joined #ruby
[10:54:33] bkxd: has joined #ruby
[10:54:55] charliesome: has joined #ruby
[10:58:07] GodFather: has joined #ruby
[11:01:39] dionysus69: has joined #ruby
[11:03:21] LoneHerm_: has joined #ruby
[11:03:53] agit0: has joined #ruby
[11:07:28] Satyajit: has joined #ruby
[11:07:51] EdwardIII: has joined #ruby
[11:09:09] zel: has joined #ruby
[11:09:37] banisterfiend: has joined #ruby
[11:10:23] JeanCarloMachado: has joined #ruby
[11:20:30] JeanCarloMachado: has joined #ruby
[11:24:14] Mweshi: has joined #ruby
[11:25:30] Mweshi: has joined #ruby
[11:27:19] Mweshi: has joined #ruby
[11:28:18] M-shine: has joined #ruby
[11:28:37] pawnbox: has joined #ruby
[11:29:06] Mweshi: has joined #ruby
[11:30:49] Mweshi: has joined #ruby
[11:31:14] johnmilton: has joined #ruby
[11:31:24] JeanCarloMachado: has joined #ruby
[11:32:35] Mweshi: has joined #ruby
[11:34:19] Mweshi: has joined #ruby
[11:34:27] blackmesa: has joined #ruby
[11:34:56] Silthias: has joined #ruby
[11:35:20] marens: i think i got it already, subject gets automatically set to the instance of the example handed to describe ... what a mess
[11:39:16] Hanmac: has joined #ruby
[11:43:14] roamingdog: has joined #ruby
[11:43:45] Devalo: has joined #ruby
[11:44:33] blackgoat: has joined #ruby
[11:46:02] Torrone: has joined #ruby
[11:48:00] al2o3-cr: has joined #ruby
[11:52:34] triangles: has joined #ruby
[11:52:45] mcqr: has joined #ruby
[11:54:24] RegulationD: has joined #ruby
[11:54:40] Moneristo: has joined #ruby
[11:56:04] sepp2k: has joined #ruby
[11:56:52] griffindy: has joined #ruby
[11:57:57] synthroid: has joined #ruby
[12:00:59] Torrone: has joined #ruby
[12:03:37] c0mrad3: has joined #ruby
[12:06:24] Macaveli: has joined #ruby
[12:11:35] GodFather: has joined #ruby
[12:13:26] nirix: has joined #ruby
[12:15:07] vuoto: has joined #ruby
[12:15:59] ldnunes: has joined #ruby
[12:24:31] gix: has joined #ruby
[12:32:09] joonty: has joined #ruby
[12:33:30] ElFerna: has joined #ruby
[12:34:13] dennisvennink: has joined #ruby
[12:34:24] bkxd: has joined #ruby
[12:35:43] blackmesa: has joined #ruby
[12:37:20] Rodya_: has joined #ruby
[12:39:00] hutch34_: has joined #ruby
[12:40:40] dvinciguerra_: has joined #ruby
[12:42:51] yqt: has joined #ruby
[12:44:06] rrawlins: has joined #ruby
[12:44:14] simbalion: has joined #ruby
[12:44:29] simbalion: Hi, I'm trying to use ruby to compile scss and it says no such file or directory but the path is correct?
[12:46:01] spudowiar: has joined #ruby
[12:46:27] matp: has joined #ruby
[12:47:35] hipertracker: has joined #ruby
[12:49:16] freerobby: has joined #ruby
[12:51:10] JeanCarloMachado: has joined #ruby
[12:51:37] fmcgeough: has joined #ruby
[12:52:05] TheBrayn: simbalion: how exactly are you trying to compile scss?
[12:52:26] simbalion: /usr/bin/ruby compile /path/to/file.scss
[12:53:35] JeanCarloMachado: has joined #ruby
[12:54:27] shevy: what is that
[12:55:01] charliesome: has joined #ruby
[12:57:00] axisys: has joined #ruby
[12:57:26] hutch34_: has joined #ruby
[12:58:46] Torrone: has joined #ruby
[13:00:44] toretore: simbalion: if you want to get anywhere with this you'll have to provide more information
[13:02:48] simbalion: toretore: it's ruby 2.1 on debian
[13:02:52] AndrewIsHere: has joined #ruby
[13:04:14] toretore: more more more
[13:04:29] simbalion: toretore: what do you want to know?
[13:04:36] toretore: everything you can come up with
[13:04:46] simbalion: that's not especially useful.
[13:04:53] LoneHerm_: has joined #ruby
[13:05:42] toretore: you're not giving us much to go on here. "it says no such file or directory but the path is correct"
[13:05:50] simbalion: That's right
[13:05:54] toretore: how about, say, gisting the error message you get
[13:06:14] simbalion: That is the error message. "No such file or directory -- compile (LoadError)"
[13:06:23] hutch34_: has joined #ruby
[13:06:25] toretore: what is compile?
[13:06:31] toretore: where did you get it?
[13:06:33] simbalion: I dunno I've never used ruby in linux before today
[13:06:37] Pupeno: has joined #ruby
[13:06:45] simbalion: examples on websites
[13:07:00] Torrone: has joined #ruby
[13:07:04] simbalion: I used to do this in windows using /ruby/scss.bat
[13:07:26] shevy: then it performed what was inside the .bat file
[13:07:44] toretore: you still aren't giving us any useful information
[13:07:48] toretore: what is "compile"?
[13:07:55] toretore: what is it you're trying to run?
[13:07:59] shevy: note that your above example "ruby compile path" can never have worked, so your example can not have worked
[13:08:00] toretore: what websites are you getting this from?
[13:08:05] noregret: https://bpaste.net/show/27986e68533e - any idea why that was converted to something else?
[13:08:35] simbalion: toretore: I'm trying to compile scss. I dunno what that runs, compass maybe? the examples I found online showed /usr/bin/ruby compile /path/to/file
[13:08:47] simbalion: sometimes with options like --no-cache
[13:09:17] al2o3-cr: noregret: because you scan is returning "5"
[13:09:19] shevy: and still you do not supply a webpage
[13:09:43] airdisa: has joined #ruby
[13:10:08] toretore: simbalion: "trying to compile scsss" means nothing to me
[13:10:22] nocco: has joined #ruby
[13:10:59] toretore: simbalion: i am trying to get you to understand exactly what tools you're working with, because that's when you can figure out what's not working the way you expect
[13:11:52] toretore: simbalion: "i dunno what that runs" <- what is "that"?
[13:12:06] chouhoulis: has joined #ruby
[13:12:12] toretore: simbalion: where are you getting "that" from?
[13:12:24] chouhoulis: has joined #ruby
[13:12:45] yoongkang: has joined #ruby
[13:13:25] mikecmpbll: has joined #ruby
[13:14:55] futilegames: has joined #ruby
[13:15:00] M-manveru: has joined #ruby
[13:15:00] M-mistake: has joined #ruby
[13:15:20] malconis: has joined #ruby
[13:15:56] ChiefAlexander: has joined #ruby
[13:16:40] nettoweb: has joined #ruby
[13:17:05] postapocallyptic: has joined #ruby
[13:17:13] aegis3121: has joined #ruby
[13:17:31] Es0teric: has joined #ruby
[13:20:39] anisha_: has joined #ruby
[13:20:58] nocco: has left #ruby: ()
[13:24:19] perlgod: has joined #ruby
[13:25:05] snowy: has joined #ruby
[13:26:37] SteveC: has joined #ruby
[13:26:57] ramortegui: has joined #ruby
[13:27:01] SteveC: has left #ruby: ()
[13:27:53] adl: has joined #ruby
[13:28:20] alxgsv: has joined #ruby
[13:30:13] swills: has joined #ruby
[13:31:53] Pupeno: has joined #ruby
[13:32:58] gix: has joined #ruby
[13:34:46] k3rn31: has joined #ruby
[13:36:35] spudowiar: has joined #ruby
[13:38:14] davidfrey: has joined #ruby
[13:38:44] blackmesa: has joined #ruby
[13:39:42] flopsec: has joined #ruby
[13:40:54] bijan_: has joined #ruby
[13:41:12] pawnbox: has joined #ruby
[13:42:08] bijan_: Hi friends I googled it and didn't find the answer. Is there a shortcut in ST3 to write "<%= %>" in HTML (Rails) files? Textmate had CTRL + < or something
[13:45:30] mattwashere: has joined #ruby
[13:51:44] jrafanie: has joined #ruby
[13:55:13] RegulationD: has joined #ruby
[13:57:03] alfiemax: has joined #ruby
[14:00:21] Gasher: has joined #ruby
[14:03:37] Pupeno: has joined #ruby
[14:03:41] noregret: al2o3-cr: weird, why is it doing that?
[14:05:04] rrawlins: has joined #ruby
[14:05:17] mattwashere: has joined #ruby
[14:05:42] havenwood: noregret: \d
[14:05:47] davidjd: has joined #ruby
[14:06:11] LoneHermit: has joined #ruby
[14:06:36] zel: has joined #ruby
[14:06:43] Satyajit: has joined #ruby
[14:07:40] macsteps: has joined #ruby
[14:07:42] havenwood: noregret: Switch the `\d` to `\h` to scan for hexdigits.
[14:07:43] havenwood: >> require 'yaml'; YAML.load %("\\u5a51")
[14:07:44] ruby[bot]: havenwood: # => "婑" (https://eval.in/612235)
[14:08:03] havenwood: >> eval %("\\u5a51")
[14:08:04] ruby[bot]: havenwood: # => "婑" (https://eval.in/612236)
[14:08:36] noregret: havenwood: awesome, thanks
[14:11:45] terminalrecluse: has joined #ruby
[14:12:02] masterkorp: has joined #ruby
[14:12:06] masterkorp: hello everyone
[14:12:55] madsa: has joined #ruby
[14:13:45] perlgod_: has joined #ruby
[14:14:02] masterkorp: I just installed a series of gems locally with gem install --local and now the users cannot access the installed gems on the system they get the error Permission denied - /var/lib/gems/1.9.1/specifications/json-1.8.3.gemspec
[14:15:02] adl: has joined #ruby
[14:16:00] alxgsv: has joined #ruby
[14:18:03] havenwood: masterkorp: Did you mean to use `--user-install` to install in the user home dir or `--local` to not look remotely?
[14:21:50] tvon: has joined #ruby
[14:22:29] masterkorp: havenwood: i was trying to install the gems system wise
[14:23:30] Pupeno: has joined #ruby
[14:23:30] Pupeno: has joined #ruby
[14:23:45] ramfjord: has joined #ruby
[14:24:02] mattwashere: has joined #ruby
[14:25:51] masterkorp: havenwood: so other users can use them
[14:26:03] masterkorp: maybe its file permissions ?
[14:26:19] rrawlins: has joined #ruby
[14:26:47] freerobby: has joined #ruby
[14:27:13] blackmesa: has joined #ruby
[14:28:03] havenwood: masterkorp: using sudo?
[14:28:33] havenwood: what's the command you're running that's failing?
[14:28:38] masterkorp: yes, as root
[14:29:07] masterkorp: i had to do chmod 644 /var/lib/gem/1.9.1/specifications/*gemspec
[14:29:50] mattwashere: has joined #ruby
[14:29:55] dunpeal: Is there something like %w(foo bar) that converts the words to Symbols instead of Strings?
[14:30:34] havenwood: >> %i(foo bar) # dunpeal
[14:30:35] ruby[bot]: havenwood: # => [:foo, :bar] (https://eval.in/612269)
[14:31:00] dunpeal: ljarvis: thanks!
[14:31:04] agent_white: has joined #ruby
[14:31:22] The_Phoenix: has joined #ruby
[14:31:54] nizzlefritz: has joined #ruby
[14:39:34] rgiscard: has joined #ruby
[14:39:36] polishdub: has joined #ruby
[14:40:29] mattwashere: has joined #ruby
[14:41:24] grenierm: has joined #ruby
[14:42:01] AgentVenom: has joined #ruby
[14:43:11] rippa: has joined #ruby
[14:44:30] DaniG2k: has joined #ruby
[14:45:08] SilverKey: has joined #ruby
[14:46:37] dminuoso: has joined #ruby
[14:47:50] symm-: has joined #ruby
[14:50:51] mikecmpbll: has joined #ruby
[14:53:06] atomx: has joined #ruby
[14:53:26] tvw: has joined #ruby
[14:55:30] ramfjord: has joined #ruby
[14:55:38] dminuoso: has joined #ruby
[14:56:02] Terens: has joined #ruby
[14:56:05] RegulationD: has joined #ruby
[14:57:07] JeanCarloMachado: has joined #ruby
[14:59:20] cschneid_: has joined #ruby
[15:00:38] bmurt: has joined #ruby
[15:00:38] axl_: has joined #ruby
[15:00:55] AndrewIsHere: has joined #ruby
[15:01:59] ChiefAlexander: has joined #ruby
[15:02:21] tjohnson: has joined #ruby
[15:02:34] Chris3y_RubyNewb: has joined #ruby
[15:02:38] diegoviola: has joined #ruby
[15:02:44] govg: has joined #ruby
[15:03:16] craigp: has joined #ruby
[15:03:27] jhack: has joined #ruby
[15:05:03] Chris3y_RubyNewb: For a c# guys who's been spoilt by Visual Studio, whats the best (in your opinion) IDE/debugger for ruby on Windows?
[15:06:13] Papierkorb: there's rubymine. But mine is pry on linux.
[15:07:50] Chris3y_RubyNewb: linux confuses and enrages me, I need a windows one, I'll check out rubymine
[15:07:50] AndrewIsHere: has joined #ruby
[15:08:25] tylersmith: has joined #ruby
[15:09:39] armyriad: has joined #ruby
[15:12:15] adl: has joined #ruby
[15:14:24] craysiii: has joined #ruby
[15:16:59] fergal_: has joined #ruby
[15:17:53] Pupeno: has joined #ruby
[15:18:02] al2o3-cr: how can i detect a pressed arrow key and determine if it was up, down, left or right?
[15:19:15] sumobob: has joined #ruby
[15:21:04] dennisvennink: has joined #ruby
[15:24:00] Kedare: has joined #ruby
[15:24:23] Kedare: has joined #ruby
[15:24:31] seap: has joined #ruby
[15:24:42] spudowiar: Papierkorb: pry is like IRB on steroids :)
[15:24:54] spudowiar: Papierkorb: I only *need* IRB for my debugging but pry makes it fucking easy :P
[15:24:56] Papierkorb: spudowiar: ... that's why I endoresed it.
[15:25:06] spudowiar: I know, I'm just expressing agreement
[15:25:14] Papierkorb: spudowiar: check out pry-byebug, pry-remote and pry-rescue
[15:27:56] TheWhip: has joined #ruby
[15:28:09] spudowiar: Papierkorb: would you prefer I responded with...
[15:28:11] Dimik: has joined #ruby
[15:28:12] spudowiar: Papierkorb: I concurrently concur that concurrence has concurred within this concurrable concurrence that has concurred, concurrently to the concurrence
[15:28:25] spudowiar: what up shevy?
[15:28:28] Papierkorb: buffalo buffalo buffalo [...]
[15:28:36] RegulationD: has joined #ruby
[15:29:44] Pupeno_: has joined #ruby
[15:34:30] cibs: has joined #ruby
[15:36:01] gizmore: has joined #ruby
[15:37:09] freerobby: has joined #ruby
[15:37:14] gay_faggot_homo: has joined #ruby
[15:37:19] cajone: has joined #ruby
[15:37:23] bad_ip: has joined #ruby
[15:44:00] Pupeno: has joined #ruby
[15:44:26] roamingdog: has joined #ruby
[15:44:34] hannelita: has joined #ruby
[15:44:37] hutch34: has joined #ruby
[15:45:15] Devalo: has joined #ruby
[15:46:42] weckl: has joined #ruby
[15:48:14] cdg: has joined #ruby
[15:48:53] the_drow: has joined #ruby
[15:49:27] crank1988: has joined #ruby
[15:51:17] Rutix: has joined #ruby
[15:51:17] Rutix: has joined #ruby
[15:52:52] synthroid: has joined #ruby
[15:54:21] Alayde: has joined #ruby
[15:55:44] synthroid: has joined #ruby
[15:56:54] apeiros: !badnick gay_faggot_homo
[15:57:06] dionysus69: has joined #ruby
[15:57:07] ruby[bot]: +bbbb $a:kareeoleez$#ruby-banned gay_faggot_homo!*@*$#ruby-banned kolotrup_!*@*$#ruby-banned *!*@ppp-94-64-113-196.home.otenet.gr$#ruby-banned
[15:57:07] ruby[bot]: ruby[bot] kicked gay_faggot_homo: is not suitable for this channel, see http://ruby-community.com/pages/user_rules
[15:57:08] ruby[bot]: -bbb *!*@gateway/web/freenode/ip.45.32.36.166$#ruby-banned *!~ohaibbq@*$#ruby-fix-your-connection *!*@*119.159.53.169$#ruby-banned
[15:58:31] pawnbox_: has joined #ruby
[15:59:08] synthroid: has joined #ruby
[16:02:44] ElFerna: has joined #ruby
[16:07:26] chouhoulis: has joined #ruby
[16:07:36] LoneHermit: has joined #ruby
[16:07:51] Dysp: has joined #ruby
[16:08:19] ramfjord: This might be a disorganized question, but does anyone have any advice on multiplexing a stream. For instance, I have some "extractor" process that's writing data to a pipe. Normally, I can have 1 other process reading from the pipe. What if I want two processes to have access to the same pipe reader (write side blocked on the slower of the other two)? Is there a built in tool for this?
[16:08:47] ramfjord: not necessarily the same pipe reader, but two readers connected to one writer
[16:09:00] ramfjord: prefer not to buffer the stream into a file on disk
[16:09:10] apeiros: ramfjord: why not use multiple pipes?
[16:09:16] eam: ramfjord: I'm not sure what you want in the way of a tool, but any two threads or processes can read from the same descriptor
[16:09:16] ramfjord: that sound promising
[16:09:49] ramfjord: yeah, but if one process calls read, and the other process calls read, I want them to get the same thing instead of one getting the first part and the other the second
[16:09:55] AndyBotwin: has joined #ruby
[16:10:13] toretore: you should probably be using something more suitable than pipes
[16:10:26] eam: what's more suitable than a pipe in this scenario?
[16:10:37] toretore: lots of things
[16:10:46] toretore: sockets, mqs
[16:11:13] zacts: has joined #ruby
[16:11:16] ramfjord: can you suggest a course of action for me?
[16:11:24] eam: how does a socket differ from a pipe in this regard? You're thinking only for the sharing angle?
[16:11:46] toretore: yes, the sharing is what makes it unsuitable
[16:11:55] eam: yeah that's reasonable
[16:12:16] eam: of course, you could pass the pipes across a socket ;)
[16:12:19] ramfjord: I'm not actually using pipes ATM - I'm buffering to a file on disk, but I'm adding in some larger imports and I don't want to do so
[16:12:20] rgiscard: ramfjord: zeromq might be something you might look into
[16:12:36] eam: ramfjord: look into unix domain sockets
[16:12:50] EdwardIII: has joined #ruby
[16:13:20] toretore: it sounds like the semantics you want is similar to that of a pub/sub system
[16:13:36] ramfjord: sockets should implement the IO interface right?
[16:13:41] toretore: sending the same data to multiple consumers
[16:13:58] rgiscard: toretore: ding! 8-)
[16:14:38] toretore: and zmq is a good tool, but no matter what you use you're going to have to understand the semantics of both your needs and the tool
[16:16:00] rgiscard: ramfjord: for more lightweight mechanism with just plain pubsub mqtt might fit the bill. zmq may feel a bit heavy with all the extra patterns you might not want/nee
[16:16:02] ramfjord: It seems to me like I might have a simple-ish solution with a MultiPlex class that takes a reader pipe and produces any number of writer pipes, literally just reading the from the read side and writing to each of the writers sequentially
[16:16:26] toretore: that would work, yes
[16:16:34] ramfjord: I like the simplicity of the IO interface - I can easily test everything angainst simple files
[16:17:02] ramfjord: and running only part of the pipeline is also fairly trivial
[16:17:03] Pupeno: has joined #ruby
[16:17:10] zacts: shevy: to answer you question from the other day, yes I am working on some cli utilities (rather than exclusive reading of books). I haven't pushed to my github yet though
[16:17:35] snowy: has joined #ruby
[16:18:42] zacts: ACTION eats a breakfast burrito with red and green chile
[16:18:56] zacts: it's damn good too!
[16:19:16] zacts: working on Ruby while eating red chile is awesome
[16:19:27] eam: the mcdonalds near me closed down, I miss their breakfast burritos
[16:19:41] zacts: this is a local burrito shop
[16:19:50] ramfjord: ACTION drinks breakfast coffee and smokes breakfast cigarette
[16:20:00] eam: my breakfast is yogurt and peanut butter captain crunch
[16:20:04] ramfjord: pretty sure that's how breakfast works
[16:20:29] zacts: ramfjord: I bet a cigarette + spicey red chile would be awesome
[16:20:40] zacts: but alas(?), I don't smoke
[16:20:43] shevy: don't they eat ham and eggs in some crazy ass country for breakfast
[16:20:52] ramfjord: zacts: starting is the easy part
[16:21:46] zacts: shevy: in the USA, but I don't eat ham
[16:21:56] zacts: I get non-meat burritos too
[16:22:14] adl: has joined #ruby
[16:22:31] Pupeno: has joined #ruby
[16:22:31] Pupeno: has joined #ruby
[16:22:55] eam: zacts: spicey red chile + chewing tobacco burrito
[16:23:03] eam: no need to inhale
[16:23:15] zacts: anyway, back to #ruby I guess
[16:23:29] jhack: has joined #ruby
[16:23:36] zacts: I need to try out this ruby-processing gem
[16:23:50] zacts: I'm getting interested in the Processing language http://processing.org
[16:24:22] Es0teric: has joined #ruby
[16:24:55] bb010g: has joined #ruby
[16:25:10] macsteps: has joined #ruby
[16:26:11] synthroid: has joined #ruby
[16:26:17] Pupeno: has joined #ruby
[16:26:51] iceden: has joined #ruby
[16:27:56] grenierm_: has joined #ruby
[16:28:27] RegulationD: has joined #ruby
[16:29:08] shinnya: has joined #ruby
[16:29:10] conta: has joined #ruby
[16:33:34] [Butch]: has joined #ruby
[16:35:59] Alina-malina: has joined #ruby
[16:36:06] Cohedrin: has joined #ruby
[16:36:32] aep-shoutlet: has joined #ruby
[16:37:06] Alina-malina: has joined #ruby
[16:39:02] yoongkang: has joined #ruby
[16:39:57] shevy: you have not even finished all books and already look for more books!
[16:40:30] SCHAAP137: has joined #ruby
[16:40:54] bmurt: has joined #ruby
[16:42:42] mattwashere: has joined #ruby
[16:42:42] GodFather: has joined #ruby
[16:43:43] grenierm_: has joined #ruby
[16:43:50] EdwardIII: has joined #ruby
[16:44:59] marr: has joined #ruby
[16:45:00] agent_white: >> %w(foo bar).each do; print _; end
[16:45:01] ruby[bot]: agent_white: # => undefined local variable or method `_' for main:Object (NameError) ...check link for more (https://eval.in/612361)
[16:48:58] tomchapin: has joined #ruby
[16:50:29] agent_white: >> %w(foo bar).each do; print _; end
[16:50:30] ruby[bot]: agent_white: # => undefined local variable or method `_' for main:Object (NameError) ...check link for more (https://eval.in/612362)
[16:54:07] replay: has joined #ruby
[16:55:38] ivanf: has joined #ruby
[16:55:44] Eddy: has joined #ruby
[16:56:07] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:08] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:08] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:08] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:09] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:09] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:09] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:10] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:10] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:11] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:11] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:12] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:13] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:13] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:13] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:14] Eddy: www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.python.org www.pyt
[16:56:16] apeiros: !spam Eddy
[16:56:16] ruby[bot]: +bb Eddy!*@*$#ruby-banned *!*@gateway/web/freenode/ip.185.95.206.58$#ruby-banned
[16:56:17] ruby[bot]: ruby[bot] kicked Eddy: is a bannable offense, see http://ruby-community.com/pages/user_rules
[16:56:18] ruby[bot]: -bb *!*@*119.159.117.176$#ruby-banned *N1GG3R*!*@*$#ruby-banned
[16:56:54] SuperLag_: has joined #ruby
[16:56:56] nobitanobi: has joined #ruby
[16:57:36] nobitanobi: has joined #ruby
[16:57:37] djbkd: has joined #ruby
[17:00:01] aegis3121: has joined #ruby
[17:00:05] chipotle: has joined #ruby
[17:01:22] jhack: has joined #ruby
[17:01:55] SuperLag: has joined #ruby
[17:01:57] johnmilton: has joined #ruby
[17:02:30] Torrone: has joined #ruby
[17:03:02] jackjackdripper: has joined #ruby
[17:05:23] ljarvis: wow that language website they spammed looks great, I've never heard of it! I should stop using Ruby and use that
[17:05:27] ljarvis: praise the lord
[17:05:44] Coldblackice: has joined #ruby
[17:06:15] Davedev28: has joined #ruby
[17:06:20] Papierkorb: ljarvis: Buy 2, take 3!
[17:06:36] polishdub: has joined #ruby
[17:07:28] TomyLobo: has joined #ruby
[17:07:40] drbrain: amusingly, Eddy manually pasted all that in instead of automating it
[17:08:27] roamingdog: has joined #ruby
[17:08:48] ljarvis: typical eddy
[17:08:53] ljarvis: dont be like eddy
[17:09:02] aegis3121: has joined #ruby
[17:09:51] SilverKey: has joined #ruby
[17:10:39] firstdayonthejob: has joined #ruby
[17:12:40] roamingdog: has joined #ruby
[17:12:59] brendan-: has joined #ruby
[17:13:03] skade: has joined #ruby
[17:13:13] banisterfiend: has joined #ruby
[17:15:38] grenierm_: has joined #ruby
[17:18:27] rcvalle: has joined #ruby
[17:19:40] johnmilton: has joined #ruby
[17:20:27] voidDotClass: has joined #ruby
[17:20:39] voidDotClass: I have a date like this: '12/28/2015 11:15:20 AM', I'm trying to parse that into a date but not having much luck. Trying this: DateTime.strptime(s,'%m/%d/%y %H:%M:%s %p') but it gives 'Invalid date'
[17:21:40] dhollinger: has joined #ruby
[17:22:29] roamingdog: has joined #ruby
[17:22:48] Davedev28_: has joined #ruby
[17:22:55] shevy: I get an error too
[17:22:57] shevy: ArgumentError: argument out of range
[17:23:40] harfangk: has joined #ruby
[17:23:45] ljarvis: you want %Y not %y
[17:23:46] shevy: not sure why the specified variant does not work... it should work since you manually provide the proper format
[17:24:00] ljarvis: >> require 'date'; Date.strptime('12/28/2015 11:15:20 AM', "%m/%d/%Y %H:%M:%s %p")
[17:24:01] ruby[bot]: ljarvis: # => #<Date: 2015-12-28 ((2457385j,0s,0n),+0s,2299161j)> (https://eval.in/612363)
[17:24:19] ljarvis: %y is 2 digit year
[17:25:54] shevy: good catch
[17:26:07] k3rn31: has joined #ruby
[17:26:28] bboyko: has joined #ruby
[17:26:52] adl: has joined #ruby
[17:27:11] sumobob: has joined #ruby
[17:27:16] bboyko: Howdy. I'm a JS developer but I'm being tasked with deploying some ruby code to Azure: has anyone ever had experience with Ruby + Azure, and is a Gemfile pretty much the same thing as a package.json?
[17:28:06] macsteps: has joined #ruby
[17:28:14] ljarvis: bboyko: no azure experience but yeah, a Gemfile is designed to list your application dependencies
[17:28:33] ljarvis: see http://bundler.io
[17:28:44] cajone: has joined #ruby
[17:29:01] mattwashere: has joined #ruby
[17:30:42] mostlybadfly: has joined #ruby
[17:30:46] fredolinhares: has joined #ruby
[17:31:22] last_staff: has joined #ruby
[17:31:48] grenierm_: has joined #ruby
[17:33:36] drahosj: has joined #ruby
[17:35:56] symm-: has joined #ruby
[17:36:25] chipotle: has joined #ruby
[17:38:48] ixti: has joined #ruby
[17:40:42] SuperLag_: has joined #ruby
[17:41:21] hahuang61: has joined #ruby
[17:42:05] simbalion: toretore, that was in response to you asking what it runs. Sorry for the long delay in response, I had to head to court
[17:42:56] sarbs: has joined #ruby
[17:43:41] chouhoulis: has joined #ruby
[17:45:22] pawnbox: has joined #ruby
[17:45:28] Torrone: has joined #ruby
[17:45:32] drPoggs: has joined #ruby
[17:45:33] adl: has joined #ruby
[17:45:41] SuperLag: has joined #ruby
[17:46:27] toretore: simbalion: where? i don't see anything
[17:48:03] anisha: has joined #ruby
[17:48:53] skweek: has joined #ruby
[17:49:55] skweek: has joined #ruby
[17:51:12] elifoster: has joined #ruby
[17:51:34] grn: has joined #ruby
[17:53:24] vuoto: has joined #ruby
[17:54:19] dunpeal: has joined #ruby
[17:55:34] tubuliferous: has joined #ruby
[17:56:00] skweek: has joined #ruby
[17:57:59] sneakers: has joined #ruby
[17:58:37] shevy: toretore some questions will never be answered :)
[17:59:05] tubuliferous: has joined #ruby
[17:59:33] djdarkbeat: has joined #ruby
[17:59:41] ruby[bot]: -b *!*@gateway/web/freenode/ip.69.120.228.4$#ruby-banned
[18:01:23] levifig: has joined #ruby
[18:02:44] grn: has joined #ruby
[18:03:22] Mweshi: has joined #ruby
[18:03:58] zeroDi: has joined #ruby
[18:04:47] bmurt: has joined #ruby
[18:05:10] SuperLag_: has joined #ruby
[18:05:20] Mweshi: has joined #ruby
[18:05:37] spudowiar: I don't think Eddy appreciates Ruby
[18:06:15] drbrain: spudowiar: or programming
[18:06:40] nobitanobi: has joined #ruby
[18:06:54] drbrain: 09:56 Eddy: v
[18:06:59] spider-mario: has joined #ruby
[18:07:17] grn: has joined #ruby
[18:08:38] LoneHermit: has joined #ruby
[18:09:23] macsteps: has joined #ruby
[18:10:07] SuperLag: has joined #ruby
[18:12:32] drahosj: has left #ruby: ("Leaving")
[18:13:51] futilegames: has joined #ruby
[18:14:01] Spami: has joined #ruby
[18:16:05] tubuliferous_: has joined #ruby
[18:16:35] douglascorrea: has joined #ruby
[18:17:44] mattwildig: has joined #ruby
[18:18:52] sucks: has joined #ruby
[18:19:07] Miron: has joined #ruby
[18:19:55] axl_: has left #ruby: ()
[18:20:02] l4v2: has joined #ruby
[18:20:41] ruby[bot]: -b *!*@gateway/web/cgi-irc/kiwiirc.com/ip.69.120.228.4$#ruby-banned
[18:20:57] grenierm_: has joined #ruby
[18:21:49] bmurt: has joined #ruby
[18:22:32] sucks: has joined #ruby
[18:25:38] cyphase: has joined #ruby
[18:25:38] dionysus69: has joined #ruby
[18:25:41] nobitanobi: has joined #ruby
[18:27:57] e4xit: has joined #ruby
[18:29:16] edwinvdgraaf: has joined #ruby
[18:29:45] dunpeal: has joined #ruby
[18:30:30] roamingdog: has joined #ruby
[18:32:58] codezomb: has joined #ruby
[18:33:09] madsa: has joined #ruby
[18:34:03] codezomb: has joined #ruby
[18:35:12] edwinvdgraaf: has joined #ruby
[18:37:10] last_staff: has joined #ruby
[18:37:10] SuperLag: has joined #ruby
[18:38:17] Pupeno: has joined #ruby
[18:39:28] skweek: has joined #ruby
[18:40:47] yoongkang: has joined #ruby
[18:46:39] skweek: has joined #ruby
[18:46:41] ruby[bot]: -b *!*@2604:a880:800:10::489:7001$#ruby-banned
[18:47:42] ElFerna: has joined #ruby
[18:47:50] EdwardIII: has joined #ruby
[18:50:05] al2o3-cr: is github down?
[18:50:25] RegulationD: has joined #ruby
[18:50:30] grn: has joined #ruby
[18:51:06] jenrzzz: has joined #ruby
[18:51:06] jenrzzz: has joined #ruby
[18:51:48] gregf: has joined #ruby
[18:52:23] ec0: has joined #ruby
[18:52:53] rodferso1: has joined #ruby
[18:53:02] havenwood: al2o3-cr: https://status.github.com
[18:53:24] Papierkorb: pretty up here
[18:53:28] fmcgeough: has joined #ruby
[18:54:06] Xeago_: has joined #ruby
[18:54:42] al2o3-cr: oh, it's back up now
[18:55:04] al2o3-cr: a little unicorn was on it a min ago
[18:55:50] roamingdog: has joined #ruby
[18:57:50] Silthias: has joined #ruby
[18:58:04] barajasfab: has joined #ruby
[18:58:59] SuperLag: has joined #ruby
[18:59:24] aegis3121: has joined #ruby
[19:02:48] conta: has joined #ruby
[19:03:55] al2o3-cr: believe it or not `"#{?a}" "#{?b}"` is the fastest way to concat a string, rather than straight interpolation `"#{?a}#{?b}"`
[19:04:57] karapetyan: has joined #ruby
[19:05:14] shevy: speed speed speed
[19:05:27] arjun_: has joined #ruby
[19:05:29] AndrewIsHere: has joined #ruby
[19:07:47] TinkerTyper: has joined #ruby
[19:08:08] al2o3-cr: results https://gist.github.com/gr33n7007h/4ccae5ac18f0cb29a6af74e53cfa8957 :)
[19:08:50] EdwardIII: has joined #ruby
[19:08:55] EdwardIII: has joined #ruby
[19:09:56] LoneHermit: has joined #ruby
[19:10:06] snguyen: has joined #ruby
[19:10:25] drbrain: al2o3-cr: benchmark source?
[19:11:07] drbrain: al2o3-cr: you shouldn't see any runtime difference between "#{?a}" "#{?a}" and "#{?a}#{?a}" because the parser unifies them
[19:11:41] jhack: has joined #ruby
[19:11:51] drbrain: "difference falls within error"
[19:12:05] drbrain: I think you're only seeing noise
[19:12:17] griffindy: has joined #ruby
[19:12:25] al2o3-cr: ah, maybe thats it
[19:13:08] Torrone: has joined #ruby
[19:13:53] banisterfiend: has joined #ruby
[19:14:22] tubuliferous: has joined #ruby
[19:14:49] drbrain: … https://github.com/ruby/ruby/blob/trunk/parse.y#L3936 and https://github.com/ruby/ruby/blob/trunk/parse.y#L8947
[19:15:32] Moosashi: has joined #ruby
[19:16:05] anisha: has joined #ruby
[19:18:30] Regulati_: has joined #ruby
[19:22:55] al2o3-cr: so it's definitely noise then
[19:25:18] shinnya: has joined #ruby
[19:26:20] vuoto: has joined #ruby
[19:27:53] agit0: has joined #ruby
[19:29:29] GodFather: has joined #ruby
[19:29:44] bmurt: has joined #ruby
[19:30:13] Nahra: has joined #ruby
[19:32:29] blackmesa: has joined #ruby
[19:33:03] hammond: how can I include a file that has a ruby class in it in my code? require 'file_name' ?
[19:33:18] hammond: or require './file_name'
[19:33:41] adaedra: require 'file_name' if it is in your load_path, yes
[19:33:49] binaryplease1: has joined #ruby
[19:33:58] BillSussman: has joined #ruby
[19:34:21] vuoto: has joined #ruby
[19:35:48] infnull: has joined #ruby
[19:37:13] ChiefAlexander: has joined #ruby
[19:37:32] eam: you can use real paths in require if you wish (though, generally this means you're structuring things wrong)
[19:38:22] jenrzzz: has joined #ruby
[19:38:31] infnull: has left #ruby: ()
[19:38:49] nobitanobi: has joined #ruby
[19:39:18] hammond: i've to put ./ inside mine so it will run.
[19:39:32] Robtop__: has joined #ruby
[19:39:35] nickjj_: has joined #ruby
[19:39:36] Moosashi: has joined #ruby
[19:40:50] adaedra: if you're running code directly, you may have to use ruby's -I flag to add folders to load path.
[19:41:37] Xiti: has joined #ruby
[19:41:57] adaedra: e.g. `ruby -Ilib foo.rb`, so you can `require 'bar'` to load 'lib/bar.rb'
[19:42:30] adl: has joined #ruby
[19:44:33] Devalo: has joined #ruby
[19:50:21] Es0teric: has joined #ruby
[19:50:24] dunpeal: has joined #ruby
[19:51:02] snguyen: does anyone know if attr_writer goes through the mailbox in celluloid?
[19:53:42] vuoto: has joined #ruby
[19:54:57] hutch34: has joined #ruby
[19:54:59] djbkd: has joined #ruby
[19:55:06] shevy: I don't think it can
[19:57:35] axl__: has joined #ruby
[19:57:43] tubuliferous: has joined #ruby
[19:57:58] Pupeno: has joined #ruby
[20:00:03] AndrewIsHere: has joined #ruby
[20:01:54] kavanagh: has joined #ruby
[20:03:01] hutch34: has joined #ruby
[20:04:37] workmad3: has joined #ruby
[20:05:16] Gnubie_: has joined #ruby
[20:05:29] tAn: has joined #ruby
[20:06:17] jenrzzz: has joined #ruby
[20:06:23] Torrone: has joined #ruby
[20:07:32] adl: has joined #ruby
[20:08:16] last_staff: has joined #ruby
[20:09:51] vuoto: has joined #ruby
[20:10:26] vuoto: has joined #ruby
[20:10:38] karapetyan: has joined #ruby
[20:10:54] skade: has joined #ruby
[20:11:04] vuoto: has joined #ruby
[20:12:07] Devalo: has joined #ruby
[20:13:30] Torrone: has joined #ruby
[20:13:32] hutch34_: has joined #ruby
[20:13:52] skade: has joined #ruby
[20:14:04] blackmesa: has joined #ruby
[20:14:13] jhack: has joined #ruby
[20:14:15] last_staff: has joined #ruby
[20:15:45] tubuliferous_: has joined #ruby
[20:15:57] agit0: has joined #ruby
[20:17:17] skade: has joined #ruby
[20:18:27] spyder55: has joined #ruby
[20:19:52] kobain: has joined #ruby
[20:20:50] EdwardIII: has joined #ruby
[20:20:56] last_staff: has joined #ruby
[20:21:29] dstarh: has joined #ruby
[20:22:23] SilverKey: has joined #ruby
[20:23:10] ur5us: has joined #ruby
[20:25:15] Devalo: has joined #ruby
[20:26:54] griffindy: has joined #ruby
[20:28:20] vuoto_: has joined #ruby
[20:32:38] bmurt: has joined #ruby
[20:32:54] macsteps: has joined #ruby
[20:33:05] cajone: has joined #ruby
[20:34:27] mwlang: has joined #ruby
[20:34:48] SilverKey: has joined #ruby
[20:36:46] braincrash: has joined #ruby
[20:36:54] vuoto: has joined #ruby
[20:37:05] cajone: has joined #ruby
[20:37:27] nobitanobi: has joined #ruby
[20:37:35] sepp2k: has joined #ruby
[20:38:13] anisha: has joined #ruby
[20:38:29] Pupeno: has joined #ruby
[20:42:58] codecop: has joined #ruby
[20:43:09] yoongkang: has joined #ruby
[20:43:37] vuoto: has joined #ruby
[20:46:38] mwlang: did something *IMPROVE* with rubygems lately? I just saw the worlds fastest bundle install of about 150 gems after upgrading to Ruby 2.3…
[20:47:43] blackgoat: has joined #ruby
[20:48:19] mwlang: just checked the timestamps…37 seconds to install everything and that’s usually 2 - 3 minutes (if not more) for a nearly fresh install.
[20:49:03] xpitr: did you have slowest gems installed globally?
[20:49:10] xpitr: those things with native bindings etc
[20:49:48] l4v2: when I updated to the newest version of RUby it said this in yellow ‘No binary rubies available for: osx/10.11/x86_64/ruby-2.4.0.
[20:49:48] l4v2: Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.’
[20:51:02] xpitr: oh, ruby 2.4 is out? gotta check it
[20:53:26] shevy: only dev release
[20:53:44] baweaver: l4v2: https://www.ruby-lang.org/en/news/2016/06/20/ruby-2-4-0-preview1-released/
[20:53:47] baweaver: that's not a full release.
[20:53:57] shevy: ftp://ftp.ruby-lang.org/pub/ruby/2.4/
[20:54:02] baweaver: https://www.ruby-lang.org/en/news/2016/04/26/ruby-2-3-1-released/ - latest stable
[20:54:34] platzhirsch: has joined #ruby
[20:54:36] M4dH4TT3r: has joined #ruby
[20:55:32] l4v2: bweaver, I get the same thing when I try it with 2.3.1. I am using rvm
[20:56:04] xpitr: but is it a problem for you?
[20:56:08] xpitr: its harmless warning
[20:57:42] Silthias: has joined #ruby
[20:58:23] l4v2: well I am trying to upgrade to rails 5 and when I run bundle update, it keeps crashing trying to install json 1.8.3, even though json is up to like 2.0.2. I erased the Gemfile.lock, si I don’t understand what is going on.
[20:58:41] vuoto: has joined #ruby
[20:58:47] l4v2: my ruby version was 2.2.1, so it said I had to be on at least 2.2.2
[20:59:36] l4v2: I don’t have json in the Gemfile and when I did gem install json it installed 2.0.2
[21:02:02] tjbiddle: has joined #ruby
[21:02:14] ChiefAlexander: has joined #ruby
[21:03:02] swills: has joined #ruby
[21:03:07] xpitr: just tested with 2.3.1: gemfile with just 'json' gem, Installing json 2.0.2 with native extensions
[21:03:09] xpitr: and it worked
[21:03:25] Moosashi: has joined #ruby
[21:03:50] Torrone: has joined #ruby
[21:04:30] l4v2: I got it. it worked, just had to use the stable, thanks guys
[21:05:26] l4v2: does ruby use binaries?
[21:06:29] swills: has joined #ruby
[21:07:14] pawnbox: has joined #ruby
[21:08:07] Pupeno: has joined #ruby
[21:08:25] l4v2: So what yo all think about this rails test instead of rake?
[21:12:53] mikecmpbll: has joined #ruby
[21:12:55] kavanagh: has joined #ruby
[21:13:05] xpitr: everyone is using rails and i just sit here using sinatra
[21:14:36] last_staff: has joined #ruby
[21:16:26] k3rn31: has joined #ruby
[21:18:09] spudowiar: has joined #ruby
[21:19:07] platzhirsch: has joined #ruby
[21:19:27] last_staff: has joined #ruby
[21:20:21] araujo: has joined #ruby
[21:21:07] l4v2: I’ll have to look into Sinatra, it says it is an easier altrnative
[21:21:54] araujo: has joined #ruby
[21:21:54] araujo: has joined #ruby
[21:22:18] sucks: has joined #ruby
[21:24:07] Torrone: has joined #ruby
[21:24:35] arescorpio: has joined #ruby
[21:25:48] sucks: has joined #ruby
[21:26:42] Junaos: has joined #ruby
[21:26:43] russt: has joined #ruby
[21:26:54] SegFaultAX: has joined #ruby
[21:28:04] dunpeal: Does Ruby have something like Python's Counter class?
[21:28:53] dunpeal: Counter() takes an iterable, and returns a Hash that maps each object in the iterable to a count of the number of times it appears in the iterable.
[21:29:32] dunpeal: Counter('aaabcc') #=> {'a': 3, 'b': 1, 'c': 2}
[21:30:20] jenrzzz: has joined #ruby
[21:30:20] jenrzzz: has joined #ruby
[21:30:46] hutch34_: has joined #ruby
[21:30:55] drbrain: >> groups = 'aaabcc'.chars.group_by { |c| c }; groups.each { |group, items| groups[group] = items.count }; groups
[21:30:56] ruby[bot]: drbrain: # => {"a"=>3, "b"=>1, "c"=>2} (https://eval.in/612426)
[21:31:21] drbrain: dunpeal: ↑
[21:31:27] babblebre: has joined #ruby
[21:31:28] wixad_: has joined #ruby
[21:31:45] Moosashi: has joined #ruby
[21:31:56] drbrain: you could save some storage by counting directly instead of indirectly through group_by
[21:32:29] adaedra: >> 'aabbbc'.chars.group_by(&:itself).map { |a, n| [a, n.count] }.to_h
[21:32:31] ruby[bot]: adaedra: # => {"a"=>2, "b"=>3, "c"=>1} (https://eval.in/612427)
[21:33:17] drbrain: >> 'aaabcc'.chars.each_with_object(Hash.new(0)) { |item, counter| counter[item] += 1 }
[21:33:18] ruby[bot]: drbrain: # => {"a"=>3, "b"=>1, "c"=>2} (https://eval.in/612428)
[21:33:21] drbrain: dunpeal: ↑ like this
[21:33:31] xpitr: was just about to press enter on: >>%w[ a a b c d e e e f g h].each_with_object(Hash.new(0)){|i,j| j[i]+=1}
[21:33:54] dunpeal: drbrain: this last one is much more efficient than the #count-based solutions
[21:34:04] dunpeal: it's O(n) vs O(n**2)
[21:34:07] havenwood: xpitr: is it always going to be pre-sorted?
[21:34:22] drbrain: dunpeal: we decided we couldn't determine how strings were naturally enumerated so we have .chars, .lines
[21:34:55] adaedra: xpitr: it's in my clipboard :<
[21:34:58] Madplatypus: has joined #ruby
[21:35:04] yfeldblum: has joined #ruby
[21:35:10] xpitr: havenwood i don't think "sorting" of values appearing in hash has much meaning tbh
[21:35:26] xpitr: but i think it appears in the same order as the array [and duplicates are instead incrementing counter only]
[21:35:28] dunpeal: drbrain: I see, thanks.
[21:35:30] drbrain: if it is sorted you can do bad things with #chunk, too
[21:35:41] havenwood: xpitr: i mean in your example, all the "a"s are together, etc
[21:35:58] xpitr: ah i just typed that. can be anywhere
[21:36:01] spudowiar: has joined #ruby
[21:36:10] thoraxe: has joined #ruby
[21:36:28] sumobob: has joined #ruby
[21:36:31] Guest48905: has joined #ruby
[21:36:33] havenwood: >> 'aaabcc'.chars.chunk(&:itself).each_with_object({}) { |(char, group), h| h[char] = group.size } # if it was pre-sorted
[21:36:34] ruby[bot]: havenwood: # => {"a"=>3, "b"=>1, "c"=>2} (https://eval.in/612429)
[21:36:54] dunpeal: Does Ruby have any sort of built-in ordered hash?
[21:36:56] sid_fules: has joined #ruby
[21:37:02] dunpeal: A hash that keep an ordering...
[21:37:06] drbrain: ruby's hash is ordered by insertion
[21:37:12] xpitr: til |(a, b), c| syntax, gonna check this
[21:37:13] havenwood: dunpeal: Hash is ordered by key insertion.
[21:37:33] xpitr: i never trust hash' order heh
[21:37:33] dunpeal: isn't that pretty inefficient for the default Hash?
[21:37:51] dunpeal: it means a linked-list of keys needs to be kept somewhere...
[21:37:53] adaedra: xpitr: but destructuring is the best!
[21:37:54] drbrain: the keys are in a doubly-linked list, so the cost is an extra pointer
[21:38:03] havenwood: dunpeal: It's a doubly-circularly linked list.
[21:38:33] havenwood: dunpeal: https://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/
[21:38:54] Pupeno_: has joined #ruby
[21:41:00] wixad_: i'm looking for data to experiment on is there a public server you can recommen
[21:41:06] gizmore: has joined #ruby
[21:41:06] wixad_: recommend
[21:42:34] tubuliferous: has joined #ruby
[21:42:48] drbrain: R has a bunch of public data you can look through
[21:43:11] G: has joined #ruby
[21:44:27] Torrone: has joined #ruby
[21:44:35] wixad_: thx drbrain
[21:47:03] drbrain: wixad_: … https://r-dir.com/reference/datasets.html
[21:54:13] ledestin: has joined #ruby
[21:56:27] seap: has joined #ruby
[21:57:56] bad_ip: has joined #ruby
[21:57:56] bad_ip: has joined #ruby
[22:01:42] sinisa: has joined #ruby
[22:01:52] Torrone: has joined #ruby
[22:02:06] matp: has joined #ruby
[22:07:26] Moosashi: has joined #ruby
[22:09:22] postmodern: has joined #ruby
[22:09:31] sinisa: has left #ruby: ("Leaving")
[22:10:20] Torrone: has joined #ruby
[22:11:58] zacts: has joined #ruby
[22:13:09] abhinav: has joined #ruby
[22:16:36] Guest6267: has left #ruby: ()
[22:17:15] abhinav: has joined #ruby
[22:17:23] Torrone: has joined #ruby
[22:18:20] djbkd: has joined #ruby
[22:18:28] Ebok: has joined #ruby
[22:19:42] tAn: has joined #ruby
[22:21:30] macsteps: has joined #ruby
[22:22:01] Uranio: has joined #ruby
[22:27:05] astrobunny: has joined #ruby
[22:27:25] dvinciguerra_: has joined #ruby
[22:29:00] Derperperd: has joined #ruby
[22:29:20] hutch34_: has joined #ruby
[22:29:56] Moosashi: has joined #ruby
[22:30:41] chipotle: has joined #ruby
[22:30:42] hannelita: has joined #ruby
[22:32:37] swills: has joined #ruby
[22:33:33] cyphase: has joined #ruby
[22:34:02] Emmanuel_Chanel: has joined #ruby
[22:34:17] Pupeno: has joined #ruby
[22:35:43] d5sx43: has joined #ruby
[22:40:17] Derperperd: has joined #ruby
[22:43:29] chip_: has joined #ruby
[22:43:50] skweek: has joined #ruby
[22:44:53] Derperperd: has joined #ruby
[22:45:07] yoongkang: has joined #ruby
[22:45:23] vrand: has joined #ruby
[22:52:28] AlexRussia: has joined #ruby
[22:53:47] Torrone: has joined #ruby
[22:57:13] hutch34_: has joined #ruby
[22:58:42] Dimik--: has joined #ruby
[22:59:16] AndyBotwin: has joined #ruby
[22:59:42] sid_fules: has joined #ruby
[23:03:33] edwardly: has joined #ruby
[23:03:33] edwardly: has joined #ruby
[23:09:46] jenrzzz: has joined #ruby
[23:13:30] Torrone: has joined #ruby
[23:13:45] chipotle: has joined #ruby
[23:16:13] diegoviola: has joined #ruby
[23:16:53] Guest48905: has joined #ruby
[23:19:00] koooge: has joined #ruby
[23:19:02] Azure: has joined #ruby
[23:20:23] diegoviola: has joined #ruby
[23:20:35] ramfjord: has joined #ruby
[23:20:51] Torrone: has joined #ruby
[23:23:37] tmtwd: has joined #ruby
[23:25:53] Guest48905: has joined #ruby
[23:29:03] JamesDH: has joined #ruby
[23:34:24] chip_: has joined #ruby
[23:37:37] BillSussman: has joined #ruby
[23:39:17] ghr: has joined #ruby
[23:42:58] Torrone: has joined #ruby
[23:42:59] tubuliferous: has joined #ruby
[23:44:02] Coldblackice: has joined #ruby
[23:45:59] yoongkang: has joined #ruby
[23:49:15] Coldblackice_: has joined #ruby
[23:50:43] infernix: has joined #ruby
[23:56:52] JamesDH: has joined #ruby
[23:57:11] jenrzzz: has joined #ruby
[23:58:35] Rodya_: has joined #ruby
[23:59:01] Coldblackice: has joined #ruby