« Back to channel list

#ruby - 01 June 2016

« Back 1 day Forward 1 day »
[00:03:01] xlegoman: has joined #ruby
[00:03:21] Cohedrin: has joined #ruby
[00:04:26] lightt: has joined #ruby
[00:08:33] CoderPuppy: has joined #ruby
[00:12:45] hightower3: has joined #ruby
[00:14:53] ReK2GnULinuX: has joined #ruby
[00:15:45] blackmesa: has joined #ruby
[00:16:09] smathy: has joined #ruby
[00:19:05] tristanp: has joined #ruby
[00:20:01] triangles: has joined #ruby
[00:20:17] Rodya_: has joined #ruby
[00:22:27] nankyokusei: has joined #ruby
[00:23:45] aries_liuxueyang: has joined #ruby
[00:24:25] idefine: has joined #ruby
[00:24:34] postmodern: has joined #ruby
[00:25:21] cpup: has joined #ruby
[00:26:30] infinitone: has joined #ruby
[00:27:09] aupadhye: has joined #ruby
[00:30:31] sid_fules: has joined #ruby
[00:31:59] cosmicfires: has joined #ruby
[00:32:17] symm-: has joined #ruby
[00:33:18] cosmicfires: does ruby have a traceroute gem? (/usr/sbin/traceroute, not rails routes)
[00:33:45] arlek: has joined #ruby
[00:35:02] Arcaire: I guess if you install ruby-nmap you'd have access to Nmap::Traceroute
[00:35:24] Arcaire: but that's only if you run the nmap trace with ``
[00:36:39] cosmicfires: thanks Arcaire
[00:36:55] havenwood: cosmicfires: for a bit of fun: https://siguniang.wordpress.com/2012/07/22/write-your-own-traceroute-in-ruby/
[00:37:08] cosmicfires: thanks havenwood
[00:37:08] mattwashere: has joined #ruby
[00:37:36] cosmicfires: I want to find the router dropping packets when my net connection goes down
[00:38:00] cosmicfires: so I can pester comcast to fix their stuff instead of tell me how great they are
[00:38:04] elifoster: has joined #ruby
[00:38:27] cosmicfires: I wrote a program to ping ever 4 seconds and keep a record
[00:39:57] baweaver: then why not just use traceroute?
[00:40:18] baweaver: shell scripts work just as well, and you can call out to the shell.
[00:40:51] baweaver: then just put it all in a cron job
[00:41:17] cosmicfires: good idea baweaver, I'll try that
[00:41:26] ledestin: has joined #ruby
[00:43:11] Alazoral: has joined #ruby
[00:44:39] idefine: has joined #ruby
[00:44:47] pipework: dat philosophy, amirite
[00:47:19] CoderPuppy: has joined #ruby
[00:47:50] helpa: has joined #ruby
[00:49:43] baweaver: Arcaire: let it go?
[00:50:16] baweaver: ACTION grumbles about Arcaire being no fun
[00:50:36] Arcaire: I learned it from our chief of opers.
[00:50:43] baweaver: ACTION closes singalong tab
[00:52:06] sorah: has joined #ruby
[00:52:46] sdothum: has joined #ruby
[00:55:22] idefine: has joined #ruby
[00:56:08] aspiers: has joined #ruby
[00:58:38] aegis3121: has joined #ruby
[01:01:16] rkazak: has joined #ruby
[01:02:31] infinitone: has joined #ruby
[01:02:45] ahuman: has joined #ruby
[01:02:48] mattp_: has joined #ruby
[01:03:49] lightt: has joined #ruby
[01:04:51] moei: has joined #ruby
[01:06:34] cpup: has joined #ruby
[01:08:13] tristanp: has joined #ruby
[01:09:29] Es0teric: has joined #ruby
[01:14:30] jancel: has joined #ruby
[01:17:14] mtkd: has joined #ruby
[01:18:13] blackmesa: has joined #ruby
[01:18:29] mleung: has joined #ruby
[01:18:49] machinewar: has joined #ruby
[01:19:04] machinewar: if i include a module in a class how can I have those methods be defined after the methods in the class its included in?
[01:19:09] machinewar: it seems to define them above the other methods
[01:20:10] CoderPuppy: has joined #ruby
[01:21:03] jancel_: has joined #ruby
[01:22:20] douglasc_: has joined #ruby
[01:28:07] freerobby: has joined #ruby
[01:29:34] moeabdol: has joined #ruby
[01:30:16] rickmasta: has joined #ruby
[01:35:11] Rodya_: has joined #ruby
[01:37:18] Rodya_: has joined #ruby
[01:38:16] Coral: has joined #ruby
[01:42:44] jrafanie: has joined #ruby
[01:42:58] cpup: has joined #ruby
[01:45:00] triangles2: has joined #ruby
[01:52:01] gtsai: has joined #ruby
[01:52:29] CoderPuppy: has joined #ruby
[01:52:29] ReK2: has joined #ruby
[01:52:29] ReK2: has joined #ruby
[01:55:23] ensyde__: has joined #ruby
[01:56:41] flashpoint9: has joined #ruby
[01:58:00] jancel: has joined #ruby
[01:58:18] gtsai: has joined #ruby
[02:06:31] triangles: has joined #ruby
[02:06:47] arlek: has joined #ruby
[02:08:06] mleung: has joined #ruby
[02:09:27] nofxx: machinewar, include in the end
[02:10:24] nofxx: or bellow the methods
[02:15:14] symm-: has joined #ruby
[02:16:45] tmtwd: has joined #ruby
[02:18:04] tmtwd: has joined #ruby
[02:19:12] blackmesa: has joined #ruby
[02:22:11] grill: has joined #ruby
[02:23:19] nankyokusei: has joined #ruby
[02:23:44] JoshGlzBrk: has joined #ruby
[02:25:28] yfeldblum: has joined #ruby
[02:27:14] douglascorrea: has joined #ruby
[02:31:24] sneakerhax: has joined #ruby
[02:33:02] jancel: has joined #ruby
[02:35:09] dar123: has joined #ruby
[02:35:17] yfeldblum: has joined #ruby
[02:38:58] kt2: has joined #ruby
[02:39:17] chooky: has joined #ruby
[02:39:32] flashpoint9: has joined #ruby
[02:45:21] machinewar: nofxx: thanks
[02:45:40] machinewar: anyone used Rake::TestTask to include tests with pattern _test.rb and the test_helper.rb
[02:46:02] machinewar: hard since have different patterns and expect to give pattern of file to load with patterns
[02:49:08] braincra-: has joined #ruby
[02:49:47] Vlat-: has joined #ruby
[02:50:17] coffeecupp: has joined #ruby
[02:55:05] xxneolithicxx: has joined #ruby
[02:55:35] xxneolithicxx: has joined #ruby
[02:57:45] tristanp: has joined #ruby
[02:57:46] jancel: has joined #ruby
[02:58:17] mattwashere: has joined #ruby
[02:58:30] douglasc_: has joined #ruby
[02:58:48] Spami_: has joined #ruby
[02:59:28] cg: has joined #ruby
[03:01:43] paradisaeidae_: has joined #ruby
[03:02:06] douglascorrea: has joined #ruby
[03:03:24] Ropeney: has joined #ruby
[03:04:17] mattwashere: has joined #ruby
[03:05:22] douglascorrea: has joined #ruby
[03:11:09] coffeecupp: has joined #ruby
[03:11:20] arescorpio: has joined #ruby
[03:15:00] braincrash: has joined #ruby
[03:16:58] diegoaguilar: has joined #ruby
[03:18:09] lxsameer: has joined #ruby
[03:20:20] blackmesa: has joined #ruby
[03:20:24] karmatr0n: has joined #ruby
[03:20:56] k3rn31: has joined #ruby
[03:21:02] davedev24: has joined #ruby
[03:21:22] Ropeney: has joined #ruby
[03:21:57] Yiota: has joined #ruby
[03:23:22] Devalo: has joined #ruby
[03:23:30] etehtsea: has joined #ruby
[03:24:26] maletor3: has joined #ruby
[03:30:47] chouhoulis: has joined #ruby
[03:31:23] blackgoat: has joined #ruby
[03:33:40] coffeecupp: has joined #ruby
[03:35:09] hahuang61: has joined #ruby
[03:35:09] LoneHermit: has joined #ruby
[03:35:44] diegoviola: has joined #ruby
[03:36:44] chouhoulis: has joined #ruby
[03:37:39] Yiota: has joined #ruby
[03:38:46] bnjf: has joined #ruby
[03:43:31] Yiota: has joined #ruby
[03:46:02] kyrose: has joined #ruby
[03:46:11] kyrose: Hi jhass, are you there?
[03:47:10] skweek: has joined #ruby
[03:47:55] shadowshell: has joined #ruby
[03:49:59] diegoaguilar: has joined #ruby
[03:50:23] RegulationD: has joined #ruby
[03:52:09] idefine: has joined #ruby
[03:54:19] Yiota: has joined #ruby
[03:56:08] bnjf: has joined #ruby
[03:56:51] gix: has joined #ruby
[03:56:51] cg: has joined #ruby
[03:56:55] armyriad: has joined #ruby
[03:57:22] mleung: has joined #ruby
[03:59:59] kareeoleez: has joined #ruby
[04:04:15] lxsameer: has joined #ruby
[04:05:24] hk238: has joined #ruby
[04:06:49] rkazak: has joined #ruby
[04:08:15] znz_jp: has joined #ruby
[04:08:28] Yiota: has joined #ruby
[04:09:20] tmtwd: has joined #ruby
[04:11:01] justapersona: has joined #ruby
[04:11:43] Coldblackice: has joined #ruby
[04:12:09] mleung: has joined #ruby
[04:13:59] armyriad: has joined #ruby
[04:14:20] kgrz: has joined #ruby
[04:16:34] SilverKey: has joined #ruby
[04:17:14] ramfjord: has joined #ruby
[04:19:13] mleung: has joined #ruby
[04:21:06] blackmesa: has joined #ruby
[04:24:11] nankyokusei: has joined #ruby
[04:25:22] maletor3: has joined #ruby
[04:25:48] mattwashere: has joined #ruby
[04:26:35] howdoi: has joined #ruby
[04:30:29] CorOne: has joined #ruby
[04:31:46] tildes_: has joined #ruby
[04:32:04] cg: has left #ruby: ()
[04:36:03] davedev24: has joined #ruby
[04:36:49] malconis: has joined #ruby
[04:38:35] idefine: has joined #ruby
[04:41:37] LoneHerm_: has joined #ruby
[04:43:35] devbug: has joined #ruby
[04:43:44] infinitone: has joined #ruby
[04:45:48] devbug: has joined #ruby
[04:46:22] zapata: has joined #ruby
[04:48:31] zzak: has joined #ruby
[04:48:49] jaguarmagenta: has joined #ruby
[04:49:36] jancel: has joined #ruby
[04:52:09] electrostat: has joined #ruby
[04:52:30] Yiota: has joined #ruby
[04:54:07] duoi: has joined #ruby
[04:55:14] Yiota: has joined #ruby
[04:55:33] moei: has joined #ruby
[04:56:19] xMopxShell: has joined #ruby
[05:02:16] Caerus: hi #ruby :)
[05:02:30] dionysus69: has joined #ruby
[05:04:18] karmatr0n: has joined #ruby
[05:05:54] yfeldblum: has joined #ruby
[05:07:00] guardianJ: has joined #ruby
[05:07:05] yfeldblum: has joined #ruby
[05:07:31] zzak: [travis-ci, irc.freenode.net] The build is still failing. by @nobu: See https://travis-ci.org/ruby/ruby/builds/134357866
[05:10:22] ishe_ua: has joined #ruby
[05:10:36] uncertainty: has joined #ruby
[05:13:10] emilkarl: has joined #ruby
[05:13:27] Oclair: has joined #ruby
[05:14:43] idefine: has joined #ruby
[05:15:11] anisha: has joined #ruby
[05:15:11] dionysus69: has joined #ruby
[05:15:49] vdamewood: has joined #ruby
[05:16:35] zzak: [travis-ci, irc.freenode.net] The build is still failing. by @nobu: See https://travis-ci.org/ruby/ruby/builds/134358415
[05:21:04] Devalo: has joined #ruby
[05:21:24] sid_fules: has joined #ruby
[05:21:56] blackmesa: has joined #ruby
[05:22:41] c0mrad3: has joined #ruby
[05:22:54] Radar: zzak: why?
[05:23:39] postmodern: has joined #ruby
[05:26:14] maletor3: has joined #ruby
[05:26:58] Hanmac: Radar: zzak does look like a bot, so i don't think he will answer you
[05:28:03] guardianJ: has left #ruby: ()
[05:29:10] Cohedrin: has joined #ruby
[05:33:43] moeabdol: has joined #ruby
[05:35:47] jyaworski: has joined #ruby
[05:37:04] moeabdol: has joined #ruby
[05:38:13] jphase: has joined #ruby
[05:38:39] kent\n: has joined #ruby
[05:38:42] Radar: hanmac: if zzak is a bot then it was the best animatronic bot that I have ever met.
[05:38:54] kent\n: has joined #ruby
[05:40:12] mleung: has joined #ruby
[05:40:28] pawnbox: has joined #ruby
[05:41:14] jphase: hi, I'm new to ruby and am going through this tutorial: http://12devs.co.uk/articles/writing-a-web-application-with-ruby-on-rails/ at the part that says "The Bookmark model". After I ran "rails generate scaffold bookmark title:string url:string" and did a db migrate I get "Bookmark (call 'Bookmark.connection' to establish a connection)" in my rails console. Anyone see what I'm missing?
[05:42:41] Radar: jphase: What happens if you do Bookmark.all?
[05:43:09] jphase: Radar: it looks more promising: Bookmark Load (1.2ms) SELECT "bookmarks".* FROM "bookmarks"
[05:43:29] jphase: I also see: => #<ActiveRecord::Relation []>
[05:43:33] Radar: jphase: Ok, so that might just be because nothing in the console has needed to establish a database connection yet. You can ignore that advice to call Bookmark.connection.
[05:44:01] jphase: ahh right, so ruby likes to just let you know about stuff
[05:44:06] jphase: hehe, thx :)
[05:46:28] Radar: jphase: If you're looking for a longer tutorial, I wrote a book called Rails 4 in Action which I'd like to recommend: https://www.manning.com/books/rails-4-in-action
[05:46:51] last_staff: has joined #ruby
[05:51:05] jancel: has joined #ruby
[05:53:11] slacker_d: has joined #ruby
[05:53:21] slacker_d: has left #ruby: ("Leaving")
[05:54:03] sauvin: has joined #ruby
[05:54:40] uncertainty: has joined #ruby
[05:55:33] guardianJ: has joined #ruby
[05:56:51] moeabdol1: has joined #ruby
[05:56:53] jphase: Radar: ah, more comprehensive docs. much obliged :)
[05:59:24] Macaveli: has joined #ruby
[05:59:34] mtkd: has joined #ruby
[06:01:04] kareeoleez: has joined #ruby
[06:01:50] Madplatypus: has joined #ruby
[06:01:50] kareeoleez: has joined #ruby
[06:02:20] mgorbach: has joined #ruby
[06:05:07] karmatr0n: has joined #ruby
[06:05:26] Cohedrin: has joined #ruby
[06:06:12] ensyde__: has joined #ruby
[06:06:44] djbkd: has joined #ruby
[06:07:30] joonty: has joined #ruby
[06:07:48] ensyde: has joined #ruby
[06:08:35] tmtwd: has joined #ruby
[06:09:50] djbkd: has joined #ruby
[06:10:16] Infra-Red: has joined #ruby
[06:11:44] zzak: [travis-ci, irc.freenode.net] The build is still failing. by @nobu: See https://travis-ci.org/ruby/ruby/builds/134365377
[06:18:03] fenre_: has joined #ruby
[06:18:41] jaguarma_: has joined #ruby
[06:22:10] eGGshke: has joined #ruby
[06:22:43] blackmesa: has joined #ruby
[06:23:00] kgrz: has joined #ruby
[06:24:01] raeoks: has joined #ruby
[06:25:01] nankyokusei: has joined #ruby
[06:25:19] aganov: has joined #ruby
[06:25:43] astrobunny: has joined #ruby
[06:25:47] skade: has joined #ruby
[06:26:29] firstdayonthejob: has joined #ruby
[06:26:49] yfeldblum: has joined #ruby
[06:27:00] maletor3: has joined #ruby
[06:27:04] n1x-nz: has joined #ruby
[06:28:37] yfeldblum: has joined #ruby
[06:33:05] linc01n_: has joined #ruby
[06:34:57] Vlat-: has joined #ruby
[06:36:05] Seich: has joined #ruby
[06:38:35] fenre: has joined #ruby
[06:41:23] uncertainty: has joined #ruby
[06:46:24] DoubleMalt: has joined #ruby
[06:49:54] d0nn1e: has joined #ruby
[06:49:59] solars: has joined #ruby
[06:53:25] andikr: has joined #ruby
[06:54:06] last_staff: has joined #ruby
[06:54:06] lightt: has joined #ruby
[06:54:16] codecop: has joined #ruby
[06:54:45] Radar: good morning
[06:55:54] skade: has joined #ruby
[06:56:51] tristanp: has joined #ruby
[06:58:51] baweaver: Radar can't hear you, what was that?
[07:02:09] Radar: G͢oo͞d ͏m̢or͝ning
[07:02:20] Radar: GO̢O͢D̴ ͟M̨O̧R͏NI͡NG ͝BA̕WÈAV̧ER̨
[07:02:46] koooge: has left #ruby: ("Leaving...")
[07:02:48] koooge: has joined #ruby
[07:02:53] aufi: has joined #ruby
[07:03:14] rbr: has joined #ruby
[07:03:58] ur5us: has joined #ruby
[07:04:24] zzak: [travis-ci, irc.freenode.net] The build is still failing. by @nobu: See https://travis-ci.org/ruby/ruby/builds/134371979
[07:06:02] karmatr0n: has joined #ruby
[07:07:08] CausaMortis: has joined #ruby
[07:07:24] hk238: has joined #ruby
[07:08:22] Couch: has joined #ruby
[07:09:42] norc: has joined #ruby
[07:11:15] marxarelli: has joined #ruby
[07:13:12] amincd: has joined #ruby
[07:13:15] bluOxigen: has joined #ruby
[07:13:41] amincd: hi, what's the difference between Dir.glob("*/*") and Dir.glob("**/*")?
[07:15:10] Devalo: has joined #ruby
[07:15:19] amincd: bnjf: can you be more specific?
[07:15:41] amincd: because Dir.glob("*") returns the same thing as Dir.glob("**")
[07:16:47] Infra-Red: has joined #ruby
[07:16:57] Corrosive_: has joined #ruby
[07:17:08] bnjf: go deeper
[07:17:42] Spami_: has joined #ruby
[07:20:58] hightower2: has joined #ruby
[07:21:21] douglascorrea: has joined #ruby
[07:22:21] amincd: so I guess it means look at all subdirectories recursively
[07:22:30] sid_fules: has joined #ruby
[07:22:36] bnjf: yep, https://gist.github.com/anonymous/9e4cb4287c06f3bb6980dda73f86954e
[07:23:25] blackmesa: has joined #ruby
[07:24:21] craigp: has joined #ruby
[07:26:51] mark_66: has joined #ruby
[07:27:46] maletor3: has joined #ruby
[07:28:33] amincd: bnjf: got it, thanks
[07:29:05] emilkarl: has joined #ruby
[07:30:42] chipotle: has joined #ruby
[07:31:13] astrobun_: has joined #ruby
[07:32:07] ur5us: has joined #ruby
[07:33:53] ur5us: has joined #ruby
[07:33:55] mozzarel1: has joined #ruby
[07:37:37] edwinvdgraaf: has joined #ruby
[07:40:34] LoneHermit: has joined #ruby
[07:40:39] Bugboy1028: has joined #ruby
[07:42:49] troulouliou_div2: has joined #ruby
[07:43:02] auzty: has joined #ruby
[07:44:36] lightt: has joined #ruby
[07:44:58] skweek: has joined #ruby
[07:46:39] strigonLeader: has joined #ruby
[07:47:55] TomyWork: has joined #ruby
[07:50:30] Dimik: has joined #ruby
[07:51:07] tAn: has joined #ruby
[07:51:58] y2mq37: has joined #ruby
[07:51:58] mattwashere: has joined #ruby
[07:52:01] chipotle: has joined #ruby
[07:52:38] guardianJ: has joined #ruby
[07:52:59] jenrzzz: has joined #ruby
[07:54:15] Infra-Red: has joined #ruby
[07:54:49] RegulationD: has joined #ruby
[07:57:35] skade: has joined #ruby
[07:59:25] evidex: has joined #ruby
[07:59:41] marr: has joined #ruby
[08:02:04] solocshaw: has joined #ruby
[08:02:59] HeikkiG: has joined #ruby
[08:03:25] MrBusiness3: has joined #ruby
[08:03:47] HeikkiG: good day. Does anyone know how to use regex to match an ASCII text so that //.match(IO.read('/etc/services')) will not throw an exception? Force encoding does not help.
[08:04:02] guardianJ: has left #ruby: ()
[08:05:55] apeiros: HeikkiG: please paste the exception you get
[08:06:05] HeikkiG: invalid byte sequence in UTF-8
[08:06:15] apeiros: the full exception
[08:06:35] HeikkiG: do you have a linux computer around?
[08:06:47] apeiros: I don't think I need a linux computer to read your paste
[08:06:59] darkxploit: has joined #ruby
[08:07:20] HeikkiG: in `match': invalid byte sequence in UTF-8 (ArgumentError)
[08:07:24] HeikkiG: that's the full exception
[08:08:02] Hanmac: HeikkiG: //.match(IO.read('/etc/services').b)
[08:08:14] apeiros: it's not. but luckily the rest is not that important.
[08:08:23] karmatr0n: has joined #ruby
[08:08:29] apeiros: I'd suggest IO.read(path, encoding: ENCODING::BINARY))
[08:08:39] HeikkiG: thanks hanmac
[08:08:41] apeiros: .b copies the string additionally to setting the encoding to binary
[08:09:04] Hanmac: hm yeah apeiros way would be better
[08:10:11] nofxx: has joined #ruby
[08:10:40] Gasher: has joined #ruby
[08:10:40] apeiros: depending on what you do you'll also have to adapt your regex (depending on its content, its encoding will default to utf-8 too)
[08:11:18] apeiros: >> /ä/ =~ "ä".b
[08:11:19] ruby[bot]: apeiros: # => incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) (Encoding::CompatibilityErr ...check link for more (https://eval.in/580967)
[08:14:58] czerasz: has joined #ruby
[08:15:17] Infra-Red: has joined #ruby
[08:15:21] codecop: has joined #ruby
[08:16:46] HeikkiG: has left #ruby: ()
[08:17:42] aupadhye: has joined #ruby
[08:19:05] joonty: has joined #ruby
[08:19:23] skade: has joined #ruby
[08:19:46] aupadhye: has joined #ruby
[08:22:23] brendan-: has joined #ruby
[08:23:13] AlexRussia: has joined #ruby
[08:23:57] poguez_: has joined #ruby
[08:24:00] ocbtec: has joined #ruby
[08:24:12] blackmesa: has joined #ruby
[08:24:19] aries_liuxueyang: has joined #ruby
[08:24:42] einarj: has joined #ruby
[08:25:54] nankyokusei: has joined #ruby
[08:26:26] idefine: has joined #ruby
[08:26:34] Vlat-: has joined #ruby
[08:28:30] maletor3: has joined #ruby
[08:29:16] LoneHerm_: has joined #ruby
[08:29:18] the_drow: has joined #ruby
[08:29:55] the_drow: has joined #ruby
[08:30:10] senayar: has joined #ruby
[08:30:37] helpa: has joined #ruby
[08:31:14] scepticulous: has joined #ruby
[08:33:06] iooner: has joined #ruby
[08:36:13] sluukkonen: has joined #ruby
[08:36:34] moeabdol2: has joined #ruby
[08:39:05] lxsameer: has joined #ruby
[08:39:39] weckl: has joined #ruby
[08:39:54] ur5us: has joined #ruby
[08:43:00] duoi: has joined #ruby
[08:45:47] skade: has joined #ruby
[08:46:20] madgen: has joined #ruby
[08:47:44] rafadc: has joined #ruby
[08:49:45] skade: has joined #ruby
[08:50:29] jaruga___: has joined #ruby
[08:51:44] toretore: has joined #ruby
[08:54:37] flughafen: bonjour adaedra
[08:57:33] kgrz: has joined #ruby
[08:57:55] platzhirsch: has joined #ruby
[08:58:49] scepticulous: has joined #ruby
[08:58:56] jaguarmagenta: has joined #ruby
[08:59:38] bluOxigen: has joined #ruby
[09:01:27] dkam: has joined #ruby
[09:06:42] workmad3: has joined #ruby
[09:07:22] depesz: has left #ruby: ("WeeChat 1.5-dev")
[09:09:17] karmatr0n: has joined #ruby
[09:16:46] slackbotgz: has joined #ruby
[09:17:59] kvguay: has joined #ruby
[09:18:00] skade: has joined #ruby
[09:19:19] judofyr: has joined #ruby
[09:21:47] qasaur: has joined #ruby
[09:23:20] sid_fules: has joined #ruby
[09:24:13] douglascorrea: has joined #ruby
[09:26:22] ferr: has joined #ruby
[09:26:25] jancel: has joined #ruby
[09:27:26] scepticulous: has joined #ruby
[09:27:42] iktbbj: has joined #ruby
[09:29:04] xpt: has joined #ruby
[09:29:16] maletor3: has joined #ruby
[09:33:56] bloxbloxbloxblox: has joined #ruby
[09:35:01] blackmesa: has joined #ruby
[09:35:45] kgrz: has joined #ruby
[09:36:01] terlar: has joined #ruby
[09:36:50] electrostat: has joined #ruby
[09:37:14] DoubleMalt: has joined #ruby
[09:39:10] pavan__: has joined #ruby
[09:41:17] sdothum: has joined #ruby
[09:44:00] bruce_lee: has joined #ruby
[09:44:00] bruce_lee: has joined #ruby
[09:46:27] nhhc: has joined #ruby
[09:52:02] lightt: has joined #ruby
[09:52:21] domgetter: has joined #ruby
[09:52:30] joonty: has joined #ruby
[09:57:18] qasaur: has joined #ruby
[09:57:23] blackgoat: has joined #ruby
[09:58:18] pavan__: i am facing the following error
[09:58:19] pavan__: "ERROR: LoadError: cannot load such file -- roo"
[09:58:24] pavan__: what might be the issue
[09:58:29] pavan__: i installed all the related gems
[09:58:40] pavan__: dont know still y i amf acing
[09:58:49] skade: has joined #ruby
[09:58:56] norc: pavan__: It means it cannot find the gem in its gempath
[09:59:04] Macaveli: has joined #ruby
[09:59:29] pavan__: do i need to set gems path
[09:59:39] adaedra: you shouldn't have to
[10:00:41] pavan__: so any other way to resolve this issue
[10:00:46] adaedra: how did you install 1/ ruby 2/ the gem
[10:02:01] pavan__: gem install roo
[10:02:10] pavan__: in this way @adaedra
[10:03:02] ocbtec: has joined #ruby
[10:03:03] pavan__: rvm use 2.3.1 --default
[10:04:02] adaedra: do `gem list --local roo` shows your gem?
[10:04:37] vdamewood: has joined #ruby
[10:04:47] pavan__: ya displaying
[10:05:27] pavan__: sry roo 4.0.0
[10:08:28] simplyigor: has joined #ruby
[10:10:15] karmatr0n: has joined #ruby
[10:12:30] joonty: has joined #ruby
[10:12:35] bluOxigen: has joined #ruby
[10:16:12] terlar: has joined #ruby
[10:20:59] giz|work: has joined #ruby
[10:22:05] wazzat: has joined #ruby
[10:25:40] wazzat: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[10:26:44] nankyokusei: has joined #ruby
[10:30:01] maletor3: has joined #ruby
[10:37:01] Noxilex: has joined #ruby
[10:45:47] GodFather: has joined #ruby
[10:48:44] joonty: has joined #ruby
[10:49:24] maucar: has joined #ruby
[10:51:47] madgen: has joined #ruby
[10:51:47] domgetter: Does YARV have a certain amount of RAM it will use by default? Like the JVM at 4gb? If so, can I tell it to use more?
[10:52:02] kareeoleez: has joined #ruby
[10:53:25] phatypus: has joined #ruby
[10:54:36] kareeoleez: has joined #ruby
[10:55:47] mattwashere: has joined #ruby
[10:56:55] rodfersou: has joined #ruby
[10:59:41] jaguarmagenta: has joined #ruby
[11:00:14] GodFather: has joined #ruby
[11:02:01] GodFather: has joined #ruby
[11:02:07] vev: has joined #ruby
[11:02:47] vev: has left #ruby: ("Leaving - http://www.libreidea.org")
[11:04:48] GodFather: has joined #ruby
[11:05:00] chouhoulis: has joined #ruby
[11:06:29] jmignault: has joined #ruby
[11:07:27] tlaxkit: has joined #ruby
[11:11:01] karmatr0n: has joined #ruby
[11:12:42] qasaur: has joined #ruby
[11:14:03] mdw: has joined #ruby
[11:14:24] GodFather: has joined #ruby
[11:15:05] tvw: has joined #ruby
[11:16:19] k3rn31: has joined #ruby
[11:16:41] Devalo: has joined #ruby
[11:17:01] senayar: has joined #ruby
[11:17:13] Vingador: has joined #ruby
[11:18:47] GodFather: has joined #ruby
[11:19:55] qasaur: has joined #ruby
[11:23:24] skade: has joined #ruby
[11:24:08] sid_fules: has joined #ruby
[11:25:51] Seeq: has joined #ruby
[11:26:13] douglascorrea: has joined #ruby
[11:26:18] Vile`: has joined #ruby
[11:28:59] madgen: has joined #ruby
[11:29:18] isxek: has joined #ruby
[11:29:52] qasaur: has joined #ruby
[11:29:58] gnufied: has joined #ruby
[11:30:20] blaxter: has joined #ruby
[11:30:48] maletor3: has joined #ruby
[11:31:28] ldnunes: has joined #ruby
[11:32:00] rafadc: has joined #ruby
[11:33:48] hutch34__: has joined #ruby
[11:34:02] sorah: has joined #ruby
[11:34:14] k3rn31: has joined #ruby
[11:39:23] robbyoconnor: has joined #ruby
[11:41:04] pawnbox_: has joined #ruby
[11:45:42] GodFather: has joined #ruby
[11:46:12] hutch34: has joined #ruby
[11:46:46] ishe_ua: has joined #ruby
[11:47:19] elementaru: has joined #ruby
[11:47:38] GodFather: has joined #ruby
[11:48:21] johnmilton: has joined #ruby
[11:48:26] elementaru: what is the best method in ruby?
[11:50:05] mrmortondk: has joined #ruby
[11:50:49] skade: has joined #ruby
[11:51:08] tulak: has joined #ruby
[11:56:18] rodferso1: has joined #ruby
[11:56:22] RegulationD: has joined #ruby
[11:56:39] senayar: has joined #ruby
[11:58:03] mattwashere: has joined #ruby
[11:58:27] Hanmac: has joined #ruby
[11:58:47] joonty: has joined #ruby
[11:59:11] bluOxigen: has joined #ruby
[11:59:29] c355E3B: has joined #ruby
[11:59:48] tulak: has joined #ruby
[11:59:48] blackmesa: has joined #ruby
[12:01:41] norc: elementaru: .send
[12:02:04] ruby[bot]: adaedra: I don't know anything about troll
[12:02:10] adaedra: neither do we
[12:02:33] norc: adaedra: Now don't be hating/
[12:02:51] adaedra: Sorry, I saw you rolling
[12:04:14] mdw: has joined #ruby
[12:04:45] nettoweb: has joined #ruby
[12:04:56] nobitanobi: has joined #ruby
[12:06:08] nobitanobi: has joined #ruby
[12:06:39] Xentil: has joined #ruby
[12:07:29] douglascorrea: has joined #ruby
[12:07:34] schickung: has joined #ruby
[12:08:11] TheHodge: has joined #ruby
[12:09:10] synthroid: has joined #ruby
[12:10:17] cgfbee: has joined #ruby
[12:11:54] karmatr0n: has joined #ruby
[12:11:55] Kus: has joined #ruby
[12:13:23] synthroid: has joined #ruby
[12:13:56] qasaur: has joined #ruby
[12:19:59] qasaur: has joined #ruby
[12:20:42] douglascorrea: has joined #ruby
[12:21:59] sid_fules: has joined #ruby
[12:25:28] diegoaguilar: has joined #ruby
[12:26:06] craigp: has joined #ruby
[12:27:17] GinoManWorks: has joined #ruby
[12:27:40] nankyokusei: has joined #ruby
[12:27:46] ocbtec: has joined #ruby
[12:28:28] dionysus69: has joined #ruby
[12:31:36] maletor3: has joined #ruby
[12:31:52] flashpoint9: has joined #ruby
[12:35:34] fmcgeough: has joined #ruby
[12:36:34] prestorium: has joined #ruby
[12:37:25] freerobby: has joined #ruby
[12:39:21] scepticulous: has joined #ruby
[12:43:45] tknz: has joined #ruby
[12:44:49] mattwashere: has joined #ruby
[12:45:23] arlek: has joined #ruby
[12:47:32] tAn: has joined #ruby
[12:47:50] zzak: has left #ruby: ()
[12:49:25] zzak___: somehow, a while back i tried this sameroom.io thing, and it seems to have been posting a bunch of stuff on my behalf... sorry about that!
[12:49:45] zzak___: i turned it off, i think
[12:50:22] ruby[bot]: zzak___: I don't know anything about irc
[12:51:31] Yiota: has joined #ruby
[12:52:31] Akagi201: has joined #ruby
[12:54:02] maloik: zzak___ it might not REALLY solve the problem of too many apps, but I'm using a project called "shout" to connect to irc now
[12:54:16] maloik: it's sort of like a bouncer, written in node
[12:54:25] maloik: i.e. a web app
[12:54:43] ramortegui: has joined #ruby
[12:58:45] nobitanobi: has joined #ruby
[12:59:13] gtsai: has joined #ruby
[13:00:10] haylon: has joined #ruby
[13:00:28] jaguarmagenta: has joined #ruby
[13:00:39] MrBusiness3: has joined #ruby
[13:01:13] chouhoulis: has joined #ruby
[13:01:18] scepticulous: has joined #ruby
[13:01:35] pawnbox: has joined #ruby
[13:03:03] jancel: has joined #ruby
[13:12:49] karmatr0n: has joined #ruby
[13:13:21] duckpuppy: has joined #ruby
[13:13:23] Ropeney: has joined #ruby
[13:13:26] pawnbox: has joined #ruby
[13:13:53] nettoweb: has joined #ruby
[13:16:20] aegis3121: has joined #ruby
[13:16:33] DanyC: has joined #ruby
[13:19:15] Devalo: has joined #ruby
[13:20:43] |meta: has joined #ruby
[13:22:00] pawnbox: has joined #ruby
[13:22:46] malconis: has joined #ruby
[13:23:32] kareeoleez: has joined #ruby
[13:24:09] qasaur: has joined #ruby
[13:24:31] millerti: has joined #ruby
[13:25:17] malconis: has joined #ruby
[13:29:14] deadnull_: has joined #ruby
[13:29:27] yqt: has joined #ruby
[13:29:45] felixjet: has joined #ruby
[13:30:22] pawnbox: has joined #ruby
[13:31:09] jrafanie: has joined #ruby
[13:32:18] maletor3: has joined #ruby
[13:33:14] jaguarmagenta: has joined #ruby
[13:37:46] JJM: has joined #ruby
[13:38:39] skade: has joined #ruby
[13:40:55] Gasher: has joined #ruby
[13:41:52] ChiefAlexander: has joined #ruby
[13:45:01] jaiks: has joined #ruby
[13:45:29] ponga: has joined #ruby
[13:46:50] davedev24: has joined #ruby
[13:46:53] Alazoral: has joined #ruby
[13:47:44] karmatr0n: has joined #ruby
[13:48:13] eljimmy: has joined #ruby
[13:49:06] duckpuppy: has joined #ruby
[13:49:47] imperator: has joined #ruby
[13:51:57] pontiki: has joined #ruby
[13:53:00] freerobby: has joined #ruby
[13:55:22] felixjet: has left #ruby: ("Leaving")
[13:55:38] yokel: has joined #ruby
[13:56:19] synthroid: has joined #ruby
[13:57:16] agent_white: has joined #ruby
[13:57:17] SilverKey: has joined #ruby
[13:57:34] rafadc_: has joined #ruby
[13:57:42] pandaant: has joined #ruby
[13:58:18] rafadc: has joined #ruby
[13:58:44] imperator: good morning
[13:59:37] haylon: morning it is
[14:00:52] mdw: has joined #ruby
[14:01:06] pawnbox: has joined #ruby
[14:01:17] imperator: suggestions for round Time.now.utc.iso8601 to the nearest hour?
[14:01:29] synthroid: has joined #ruby
[14:03:21] deadnull_: has joined #ruby
[14:04:06] skade: has joined #ruby
[14:04:37] shevy: Time.next_beer_time
[14:04:47] bkxd: has joined #ruby
[14:04:56] lxsameer: has joined #ruby
[14:04:59] k3rn31: has joined #ruby
[14:05:45] pontiki: hello agent_white
[14:05:47] floatingpoint: has joined #ruby
[14:05:58] agent_white: TIL of pry's get-naked()
[14:06:56] agent_white: IRB rather. Built-in fancy command!
[14:07:09] jhack: has joined #ruby
[14:08:18] vdamewood: has joined #ruby
[14:10:05] apeiros: imperator: Time.mktime(t.year, t.month, t.day, t.hour+(t.min >= 30 ? 1 : 0))
[14:10:38] apeiros: imperator: or Time.at(t.to_i.quo(3600).round*3600)
[14:11:03] Fernando-Basso: has joined #ruby
[14:11:05] apeiros: oh, the former has an edge-case with >=23h30
[14:11:50] apeiros: latter is probably easier, but wonder whether it's got its own edge-cases
[14:11:57] cdg: has joined #ruby
[14:12:02] imperator: apeiros, thanks
[14:12:25] fedexo: has joined #ruby
[14:12:26] apeiros: and if you've indeed an iso string, Time.iso8601 is the way to get it back into a Time object
[14:19:57] moeabdol2: has joined #ruby
[14:20:07] JesseH: has joined #ruby
[14:20:13] madgen: has joined #ruby
[14:20:56] shevy: now that is one epic API usage there
[14:21:34] apeiros: but… it's an epoch API usage!
[14:22:28] ruby[bot]: agent_white: # => undefined local variable or method `get' for main:Object ...check link for more (https://eval.in/581411)
[14:22:34] agent_white: Whoa new bot.
[14:24:01] ftj: has joined #ruby
[14:24:05] kareeoleez: has joined #ruby
[14:25:12] kgrz: has joined #ruby
[14:27:09] jrafanie_: has joined #ruby
[14:27:48] mdw: has joined #ruby
[14:28:32] nankyokusei: has joined #ruby
[14:28:58] pec: has joined #ruby
[14:29:24] dionysus70: has joined #ruby
[14:29:26] CausaMortis: has joined #ruby
[14:32:41] jerematic: has joined #ruby
[14:33:04] maletor3: has joined #ruby
[14:35:45] Gasher: has joined #ruby
[14:35:59] pandaant: has joined #ruby
[14:37:50] Macaveli: has joined #ruby
[14:40:57] blackmesa: has joined #ruby
[14:41:43] DaniG2k: has joined #ruby
[14:43:12] lxsameer: has joined #ruby
[14:43:16] JJM: has joined #ruby
[14:46:10] mikecmpbll: has joined #ruby
[14:46:55] gtsai: has joined #ruby
[14:47:28] Fernando-Basso: has joined #ruby
[14:49:17] nobitanobi: has joined #ruby
[14:50:16] RegulationD: has joined #ruby
[14:53:04] gtsai: has joined #ruby
[14:53:09] nobitanobi: has joined #ruby
[14:54:35] SilverKey: has joined #ruby
[14:55:06] marr: has joined #ruby
[14:55:14] dopamean_: has joined #ruby
[14:56:02] tAn: has joined #ruby
[14:56:54] tina: has joined #ruby
[14:58:11] rafadc_: has joined #ruby
[14:59:39] smathy: has joined #ruby
[15:00:18] jrafanie: has joined #ruby
[15:02:38] idefine: has joined #ruby
[15:02:41] startupality: has joined #ruby
[15:02:54] idefine: has joined #ruby
[15:04:34] rippa: has joined #ruby
[15:04:52] ChiefAlexander: has joined #ruby
[15:07:27] kies: has joined #ruby
[15:08:40] yfeldblum: has joined #ruby
[15:09:07] snebel: has joined #ruby
[15:10:16] snebel: Is it possible to "objectify" a hash with nested hash within?
[15:10:57] snebel: to then being able to access attributes something like this obj.attribute.nested_attribute
[15:11:01] dionysus69: has joined #ruby
[15:11:04] snebel: os this is no rubyist?
[15:11:40] pontiki: you might want to look at OpenStruct, snebel
[15:12:19] snebel: I was looking at but wasn't clear for me... after this suggestion I'll definitively look fiurther to it
[15:12:20] pontiki: you'd have to do the deep conversion, though
[15:12:37] pontiki: there's likely a gem to do a deep-objectify
[15:12:50] snebel: very interesting
[15:14:59] cpup: has joined #ruby
[15:15:09] jhack: has joined #ruby
[15:16:35] noahgibbs_: has joined #ruby
[15:18:01] dionysus69: has joined #ruby
[15:20:30] noahgibbs: has joined #ruby
[15:22:08] Couch: has joined #ruby
[15:23:01] shevy: this sounds exciting
[15:23:03] shevy: deep-objects
[15:23:59] adaedra: snebel: just so you know, OpenStruct does not really bring a lot (transforming ['xxx'] to .xxx), requires you to do the tranformation deeply, and is a performance it. It surely is not worth it.
[15:24:11] [Butch]: has joined #ruby
[15:24:17] roamingdog: has joined #ruby
[15:25:05] [Butch]_: has joined #ruby
[15:25:14] flughafen_: has joined #ruby
[15:26:19] snebel: any suggestion?
[15:26:29] p0p0pr37_: has joined #ruby
[15:26:32] snebel: I'm googling for some gem
[15:26:52] snebel: may be i should just stick with hash structures
[15:26:53] adaedra: I suggest keeping it as a hash
[15:28:18] CoderPuppy: has joined #ruby
[15:28:51] kareeoleez: has joined #ruby
[15:29:15] shevy: but you can use those nifty method names!
[15:33:52] maletor3: has joined #ruby
[15:33:53] minot: has joined #ruby
[15:34:02] jaguarmagenta: has joined #ruby
[15:35:23] startupality: has joined #ruby
[15:36:21] malconis_: has joined #ruby
[15:38:22] ssiris: has joined #ruby
[15:38:33] deviation: has joined #ruby
[15:39:56] Es0teric: has joined #ruby
[15:40:38] Es0teric: has joined #ruby
[15:44:23] ducklobster: has joined #ruby
[15:46:08] jhack: has joined #ruby
[15:47:23] freerobby: has joined #ruby
[15:48:02] senayar: has joined #ruby
[15:48:07] ips|malc: has joined #ruby
[15:48:35] pawnbox: has joined #ruby
[15:49:47] yfeldblum: has joined #ruby
[15:50:36] jhack: has joined #ruby
[15:50:55] RobertBirnie: has joined #ruby
[15:51:52] A124: has joined #ruby
[15:54:05] norc: has joined #ruby
[15:54:40] amclain: has joined #ruby
[15:55:50] synthroid: has joined #ruby
[15:57:56] pawnbox: has joined #ruby
[15:59:00] mployee8: has joined #ruby
[15:59:26] tristanp: has joined #ruby
[15:59:46] symm-: has joined #ruby
[16:00:16] RegulationD: has joined #ruby
[16:02:15] skolman_: has joined #ruby
[16:03:32] Cohedrin: has joined #ruby
[16:03:34] idefine: has joined #ruby
[16:04:11] tulak: has joined #ruby
[16:04:21] skolman_: has joined #ruby
[16:05:42] joonty: has joined #ruby
[16:05:48] c0mrad3: has joined #ruby
[16:07:56] kareeoleez: has joined #ruby
[16:08:22] MrBusiness2: has joined #ruby
[16:09:24] nettoweb: has joined #ruby
[16:10:07] jackjackdripper: has joined #ruby
[16:10:23] Yiota: has joined #ruby
[16:12:25] whathappens: has joined #ruby
[16:15:12] SCHAAP137: has joined #ruby
[16:15:51] giz|work: has joined #ruby
[16:15:58] minimalism: has joined #ruby
[16:16:38] skolman: has joined #ruby
[16:17:08] Guest63: has joined #ruby
[16:18:02] cpup: has joined #ruby
[16:18:23] dar123: i am trying to write a scraper, unable to submit the password to login
[16:19:29] tgeeky: has joined #ruby
[16:19:39] moeabdol2: has joined #ruby
[16:20:46] flughafen_: has joined #ruby
[16:21:24] Coldblackice: has joined #ruby
[16:21:48] martee: has joined #ruby
[16:22:08] martee: im creating 2 threads, that makes get requests, then i join the threads before moving on.
[16:22:48] martee: it seems like one of the threads is blocking the join from finishing because when i run the code it just never logs some code that comes after the join statement
[16:23:22] martee: some of the output says ‘Connection: keep-alive Connection can be kept alive indefinitely’
[16:23:57] RegulationD: has joined #ruby
[16:24:43] MrBusiness3: has joined #ruby
[16:26:04] shinnya: has joined #ruby
[16:26:24] TomyLobo: has joined #ruby
[16:26:50] jancel: has joined #ruby
[16:28:14] blackmesa: has joined #ruby
[16:28:49] [Butch]: has joined #ruby
[16:29:01] Fernando-Basso: has joined #ruby
[16:29:08] polishdub: has joined #ruby
[16:29:20] nankyokusei: has joined #ruby
[16:33:46] rcvalle: has joined #ruby
[16:34:04] dfockler: has joined #ruby
[16:34:35] maletor3: has joined #ruby
[16:35:40] ramfjord: has joined #ruby
[16:37:36] danostrowski: has joined #ruby
[16:37:45] sid_fules: has joined #ruby
[16:39:03] m_antis: has joined #ruby
[16:39:12] solocshaw1: has joined #ruby
[16:40:26] sneakerhax: has joined #ruby
[16:42:33] Devalo: has joined #ruby
[16:44:22] martee: has joined #ruby
[16:45:06] moeabdol: has joined #ruby
[16:48:12] jhack: has joined #ruby
[16:48:25] nettoweb: has joined #ruby
[16:50:49] douglascorrea: has joined #ruby
[16:50:57] solocshaw1: has joined #ruby
[16:53:19] ramfjord: has joined #ruby
[16:53:42] CJKinni: has joined #ruby
[16:54:12] flashpoint9: has joined #ruby
[16:54:42] hahuang61: has joined #ruby
[16:54:58] GodFather: has joined #ruby
[16:55:20] startupality: has joined #ruby
[16:56:38] kspencer: has joined #ruby
[16:59:23] Guest63: has joined #ruby
[16:59:30] aegis3121: has joined #ruby
[17:00:45] ljames: has joined #ruby
[17:01:16] qasaur: has joined #ruby
[17:01:41] mleung: has joined #ruby
[17:02:26] jwarren_: has joined #ruby
[17:02:53] Seeq: has joined #ruby
[17:03:06] rafadc: has joined #ruby
[17:03:13] idefine: has joined #ruby
[17:03:58] mikecmpbll: has joined #ruby
[17:05:11] deadnull_: has joined #ruby
[17:05:57] ItSANgo__: has joined #ruby
[17:06:37] aries_liuxueyang: has joined #ruby
[17:07:08] roamingdog: has joined #ruby
[17:07:41] gnufied: has joined #ruby
[17:09:04] martee: i need to make a soap request
[17:09:23] martee: im looking @ a ‘sample request’ and it includes a request field …
[17:09:57] martee: is that equivalent to headers?
[17:09:59] Noxilex: has joined #ruby
[17:10:24] idefine: has joined #ruby
[17:12:56] blackmesa: has joined #ruby
[17:13:13] djbkd: has joined #ruby
[17:13:14] beawesomeinstead: has joined #ruby
[17:14:01] toretore: martee: where do you see this?
[17:14:12] martee: toretore internal documentation
[17:14:21] toretore: so no link?
[17:14:27] martee: according to this: http://blog.getpostman.com/wp-content/uploads/2014/08/SOAP-requests-using-Postman.png?7aa172
[17:14:37] martee: it looks like i have to write some raw … stuff
[17:14:53] martee: i was hoping i could just do something like {headers: {}}
[17:15:00] firstdayonthejob: has joined #ruby
[17:15:28] djbkd: has joined #ruby
[17:16:04] tenderlove: has joined #ruby
[17:16:04] toretore: martee: i don't see any "request field"
[17:16:26] martee: toretore: oh yeah not in that case
[17:16:38] martee: but is that how you format a SOAP request? it looks gross
[17:16:56] toretore: what you're talking about makes little sense without the proper context
[17:17:27] martee: toretore: if i want to make soap requests do i do that by writing ugly stuff that you see in the link i sent you?
[17:17:49] toretore: i don't know what that means
[17:17:54] ruby-nooby: has joined #ruby
[17:18:04] norc: martee, you have to write things if you want to do things. Yes.
[17:18:08] toretore: soap requests are http requests with xml in their body
[17:18:23] toretore: the xml format is according to some soap standard
[17:18:27] martee: and are all soap requests posts?
[17:18:30] ruby-nooby: soap is still being used?
[17:18:31] tinnvec: has joined #ruby
[17:18:38] martee: ruby-nooby: unfortunately :\
[17:19:09] ruby-nooby: Subscription has_many subscribers? or Subscription.subscribers = [Serialized array of subscribers]?
[17:19:14] norc: martee, what is a request post?
[17:19:20] ruby-nooby: using postgres on heroku
[17:19:21] martee: the method
[17:19:25] norc: ?rubyonrails
[17:19:25] ruby[bot]: norc: I don't know anything about rubyonrails
[17:19:27] ruby[bot]: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[17:19:32] norc: ruby-nooby,
[17:19:34] martee: ruby-nooby: whats the dif?
[17:19:42] ruby-nooby: the dif is one is activerecord relations
[17:19:46] ruby-nooby: the other is storing serialized data
[17:20:01] martee: oh obviously activerecord i think, otherwise that would be like nosql stuff
[17:20:13] ruby-nooby: nah its not nosql
[17:20:13] apeiros: soap shares the same problem xml has: it's horribly abused by people without a clue.
[17:20:24] ruby-nooby: soap should probably die
[17:20:38] martee: i want soap to die
[17:20:44] apeiros: ruby-nooby: and be replaced by unspecced json apis? hurray.
[17:20:56] ruby-nooby: i just dont like xml
[17:21:03] martee: from reading about soap it seems like its better than json
[17:21:12] ruby-nooby: maybe im just brainwashed
[17:21:22] toretore: you are just inexperienced
[17:21:25] martee: ‘waiting for someone to comment on ‘better’’
[17:21:32] ruby[bot]: "better" and "best" depend entirely on your context. Try to describe what quality would make one thing better than the other.
[17:21:32] startupality: has joined #ruby
[17:21:37] apeiros: there you go
[17:22:17] dgncn: has joined #ruby
[17:22:30] martee: does anyone know if i can make soap requests with manticore? dont see anything explict on their github page
[17:22:34] braincrash: has joined #ruby
[17:22:35] apeiros: I prefer json apis over soap mostly because people tend to build smaller calls. but I don't think the underlying technology is any better.
[17:22:40] SilverKey: has joined #ruby
[17:22:43] norc: apeiros, someone in management said "we need a database to store all our heterogenous data". After the business man with the tie was thrown out for trying to sell them SAP (if you are insolvent already, SAP will do it for you), another business man stands up and gives them a big speech about "Policies, schemas, conformity", shortly after which everybody was rejoicing.
[17:22:52] norc: apeiros, and suddenly they had XML.
[17:22:55] toretore: most people who don't like xml can't articulate exactly what it is they don't like other than "i had to write this horribly complex xml doc one time"
[17:23:14] ruby-nooby: toretore that sounds right
[17:23:18] hxegon: xml is a lot harder to read IMO than json
[17:23:26] norc: hxegon, neither is meant to be read by you.
[17:23:27] hxegon: less human-readable I mean
[17:23:33] apeiros: hxegon: only if it's badly specced
[17:23:35] toretore: because large, nested json docs are easy to read
[17:23:41] apeiros: it's a lot easer to read a complex xml than a complex json
[17:23:51] norc: apeiros, XML can do things that JSON cant do though.
[17:23:57] apeiros: since with the large json, all you have is dicts
[17:24:13] norc: And things like XSD can make XML pretty well suited for some tasks in fact.
[17:24:15] apeiros: so the json alone doesn't tell you what you're looking at
[17:24:20] millerti: has joined #ruby
[17:24:34] apeiros: norc: yupp. things like that being what I meant by "but I don't think the underlying tech is better"
[17:25:09] apeiros: anyway, IME both, json and xml fail when people suck
[17:25:11] toretore: the thing with soap, xml, static typing and the like is that they are good ideas and they work well for their intended purpose, but most people are too lazy to use it properly
[17:25:20] codecop: has joined #ruby
[17:25:21] norc: apeiros, that applies to any programming related topic.
[17:25:39] apeiros: norc: indeed :)
[17:25:59] giz|work: has joined #ruby
[17:26:04] norc: toretore, Ive seen people get started with C++, being so happy that you now have const_cast, making calling functions so much easier..
[17:26:05] skade: has joined #ruby
[17:26:08] apeiros: toretore: precisely
[17:26:11] norc: That was some real sad stories.
[17:26:27] apeiros: toretore: or even use them outside their intended purpose
[17:27:09] apeiros: toretore: we have a partner company which provides us their database export as xml - ~1GB per delivery. in csv, it'd be ~1/10th the size and *tons* faster to import.
[17:27:28] toretore: apeiros: and then you get "simple" solutions that are simple and easy on the surface but have no allowance for complexity
[17:27:38] finisherr: has joined #ruby
[17:27:50] toretore: apeiros: though csv has its problems too, but if it were properly formatted i would agree
[17:27:54] skade: has joined #ruby
[17:27:59] jenrzzz: has joined #ruby
[17:28:24] sid_fules: has joined #ruby
[17:30:25] joonty: has joined #ruby
[17:30:49] ducklobster: what is the proper way to test utility methods in my ruby app
[17:30:59] floatingpoint: has joined #ruby
[17:31:05] norc: ducklobster, minitest, rspec or any other testing framework you like
[17:31:18] ducklobster: norc: well specifically within rspec i am running into a problem where
[17:31:29] ducklobster: i don't include the utility file for the main tests
[17:31:37] ducklobster: but then the main tests fail (all raise nomethod exceptions)
[17:31:40] ducklobster: for things like the logger
[17:31:44] norc: ducklobster, stub them
[17:31:47] biberu: has joined #ruby
[17:31:58] ducklobster: do i just redefine the methods in the before block?
[17:32:02] ramfjord: has joined #ruby
[17:32:04] norc: No you stub them.
[17:32:06] toretore: ducklobster: gist your code?
[17:32:18] ducklobster: toretore: sure, gimme a min
[17:32:21] ducklobster: norc: i don't follow :(
[17:32:22] binaryplease1: has joined #ruby
[17:32:26] madgen: has joined #ruby
[17:32:29] norc: ducklobster, in essence allow(obj).to receive(:message).and_return(:foo)
[17:32:37] norc: ducklobster, that will make the object to respond to message
[17:32:49] toretore: ducklobster: the actual code i mean, not the tests
[17:32:56] norc: ducklobster, https://relishapp.com/rspec/rspec-mocks/v/2-99/docs/method-stubs
[17:33:58] norc: ducklobster, ops outdated my bad
[17:34:04] norc: ducklobster, https://www.relishapp.com/rspec/rspec-mocks/docs
[17:34:12] norc: ducklobster, that suite is basically what you are looking for.
[17:34:28] norc: ducklobster, give it a read - if you have questions feel free to ask :)
[17:35:24] maletor3: has joined #ruby
[17:36:04] hahuang61: has joined #ruby
[17:36:28] kirun: has joined #ruby
[17:36:38] martee: i need to create a session_id
[17:36:48] martee: do you think Random.new_seed should suffice?
[17:36:51] ducklobster: toretore: https://gist.github.com/anonymous/58a8c3eaf3cd790cb6aff3b5af54b2a0
[17:36:56] ducklobster: norc: i will take a look, thanks!
[17:37:01] norc: martee, depends. Is this for anything where security is even remotely important?
[17:37:10] martee: norc: mmmm no i dont think so
[17:37:26] norc: martee, then why are you looking at Random?
[17:37:35] martee: norc: so there aren’t duplicates
[17:37:43] norc: Random does not guarantee that.
[17:37:50] skade: has joined #ruby
[17:37:53] danostrowski: has joined #ruby
[17:38:02] martee: norc: true … but isn’t it highly unlikley?
[17:38:10] norc: martee, that depends on your entropy source.
[17:38:26] jhack: has joined #ruby
[17:38:50] martee: the amoutn of time something has to be a duplicate?? idk a day
[17:38:50] norc: martee, any pseudonumber generation is only as "random" as the quality of its entropy source.
[17:39:01] norc: martee, just use a counter counting upwards if you want it to be unique.
[17:39:05] imperator: has left #ruby: ("Leaving")
[17:39:17] elifoster: has joined #ruby
[17:39:43] martee: what about
[17:39:51] martee: Time.now.to_i + Rand.new_seed
[17:40:03] martee: good enough?
[17:40:08] norc: That is just setting a seed value.
[17:40:08] toretore: ducklobster: probably what nord said, stub the logger to make it a noop
[17:40:12] skade: has joined #ruby
[17:40:31] martee: but the time.now.to_i would guarantee the front would always be different
[17:40:42] norc: martee, honestly. If you don't understand random things well enough, just stick to counters. Far easier to use, and less likely to make a huge mistake when you suddenly rely on it for security,
[17:40:54] norc: martee, nope it would not.
[17:41:09] norc: martee, that statement alone is proof enough you should avoid Random. :)
[17:41:13] SilverKey: has joined #ruby
[17:41:28] toretore: ducklobster: maybe refactor further so that you're not calling methods directly on whatever `logger` returns, but calling methods like `log` or `info` which can then be either 1) implemented in such a way that they don't require a logger to be present or 2) stub them to do nothing
[17:41:28] ducklobster: toretore: seems like the right move
[17:41:38] martee: norc: what do u think the probability is of u getting a duplicate using Time.now.to_i + Random.new_seed
[17:42:05] toretore: ducklobster: otherwise you will have to provide a stub Logger that implements Logger's interface
[17:42:08] ducklobster: toretore: that is also an interesting idea, then i can be agnostic to the log format
[17:42:14] norc: martee, do what you want I dont care.
[17:42:37] RegulationD: has joined #ruby
[17:42:49] toretore: ducklobster: i personally always abstract away any specific logging implementation in my code
[17:42:55] norc: a counter is the most trivial solution to get unique values.
[17:43:23] norc: Generating UUIDs is the next best thing if you don't mind it being a bit expensive.
[17:43:24] martee: norc: what if u have multiple servers
[17:43:24] toretore: martee, norc just use uuid
[17:43:46] martee: toretore: isnt there a chance a uuid could not be unique
[17:43:57] toretore: it's a universally unique identifier
[17:44:05] martee: yeah but isn’t it random?
[17:44:17] martee: there’s no central authority handing out the ids
[17:44:23] toretore: (yes, but you would probably need more than one universe to get a collition)
[17:44:47] norc: martee, if applied correctly you could generate millions of billions of UUIDs before you get a probability of a duplicate that is worth finding a notation for.
[17:44:59] martee: to reiteratie norc, it depends on your entropy source.
[17:45:05] norc: Precisely.
[17:45:25] norc: And ultimately the best entropy source is a quantum number generator, as that is not pseudo random but truly random.
[17:45:41] martee: im going to use Time.now.to_i.to_s + Random.new_seed.to_s
[17:45:53] martee: is that too long for a session id?
[17:45:55] norc: As I said, do what you want.
[17:46:11] norc: martee, rails uses the full cookie size for a session ID I think.
[17:46:25] martee: how big is that?
[17:46:36] ducklobster: toretore: is it generally ok to just include custom exception classes?
[17:46:49] toretore: ducklobster: what do you mean?
[17:46:51] ducklobster: toretore: or should i strictly speaking be stubbing that functionality out too
[17:46:56] norc: martee, and that is just to make guessing a session ID for session fixation as hard as humanly possible.
[17:47:06] Yiota: has joined #ruby
[17:47:21] ducklobster: toretore: oh wait, nevermind i just need to require my custom exceptions in the lib files themselves
[17:47:42] toretore: ducklobster: if you're talking about raising exceptions in your code, then that is part of the contract and should be tested
[17:47:52] arooni: has joined #ruby
[17:48:08] Yiota: has joined #ruby
[17:48:21] ducklobster: toretore: i guess my real question is, should every file be self sufficient and have the necessary require statements in it?
[17:48:21] mtkd: has joined #ruby
[17:48:28] norc: ducklobster, any public behaviour that code can observe that someone might rely upon should be tested.
[17:48:37] joonty: has joined #ruby
[17:48:43] norc: ducklobster, makes testing a single spec much easier if you do :)
[17:48:47] ducklobster: i mean, i do test that the exceptions are raised but
[17:48:53] Yiota: has joined #ruby
[17:48:54] toretore: ducklobster: yes
[17:48:55] norc: since you can just do rspec spec/foo/bar_spec.rb
[17:49:13] norc: ducklobster, if you have defined behaviour - test for it.
[17:49:18] sid_fules: has joined #ruby
[17:49:58] ducklobster: related to requiring all necessary files
[17:50:05] ducklobster: i can see how it makes testing single specs much easier but
[17:50:08] toretore: ducklobster: there are very few cases where i think expecting something to be required inside of a file is ok
[17:50:08] ChiefAlexander: has joined #ruby
[17:50:24] ducklobster: if you require inside doesn't that mess up your coverage?
[17:50:37] ducklobster: since everything required after you do SimpleCov.start will be included in the test coverage
[17:51:11] toretore: i don't know what that is, but if you require the same file twice, the second require doesn't do anything
[17:51:11] ducklobster: i.e. if i have SimpleCov.start in my spec_helper, and i require core.rb which requires exceptions.rb, then the coverage will contain both
[17:51:36] toretore: well, shouldn't those things be kept separate then?
[17:51:44] norc: ducklobster, the less you require in your spec_helper the faster your tests will run.
[17:52:49] sid_fules: has joined #ruby
[17:53:03] norc: If your library is small and you have only few tests, then its easier to just require it all once in your spec_helper though.
[17:54:03] ducklobster: norc: i don't actually require anything in spec_helper, i require the lib files individually in each spec
[17:54:11] ducklobster: the spec_helper just starts the SimpleCov thing
[17:54:30] ducklobster: toretore: yes thats what i thought but that goes against the whole each file should be self sufficient (require all it needs)
[17:54:52] ducklobster: would it help if i put up all the code?
[17:55:03] chouhoulis: has joined #ruby
[17:55:05] norc: ducklobster, cant hurt :)
[17:55:15] norc: ducklobster, each approach is fine. Yours is faster but more cumbersome to manage.
[17:55:18] chouhoulis: has joined #ruby
[17:56:13] norc: But unless you have more than 500 tests, I do not think it is relevant unless you have absurdly high load times when requiring.
[17:56:17] chouhoulis: has joined #ruby
[17:56:20] jphase: has joined #ruby
[17:56:21] toretore: ducklobster: what i mean is shouldn't the simplecov stuff be done separately?
[17:56:57] sid_fules: has joined #ruby
[17:57:43] maloik: has joined #ruby
[17:57:56] ducklobster: norc: i still don't have anything up anywhere so i might stop by later when the code is up and get you guys' opinions! thanks for the help tho
[17:58:55] ducklobster: toretore: i'm not sure what you mean? my understanding was simplecov should be done with the tests so you can see if your tests are sufficient
[17:59:07] zz_barkerd427: has joined #ruby
[18:00:37] confounds: has joined #ruby
[18:01:09] toretore: ducklobster: yeah, maybe you're right, i don't know anything about it - it probably hooks into the tests when they're being run to measure
[18:01:25] toretore: tbh i find stuff like that pretty useless
[18:02:51] chrisja: has joined #ruby
[18:02:55] idefine: has joined #ruby
[18:03:28] Guest63: has joined #ruby
[18:03:29] polishdub: has joined #ruby
[18:04:45] tAn: has joined #ruby
[18:07:17] spider-mario: has joined #ruby
[18:07:37] mikecmpbll: has joined #ruby
[18:08:00] Fernando-Basso: has joined #ruby
[18:08:07] m8: has joined #ruby
[18:08:08] mrgrieves: has joined #ruby
[18:08:16] Guest63_: has joined #ruby
[18:09:48] dar123: I am writing a scraper, can't login to the page.
[18:09:57] jackjackdripper: has joined #ruby
[18:10:00] confounds: has joined #ruby
[18:10:04] djbkd: has joined #ruby
[18:10:31] kspencer: has joined #ruby
[18:11:08] norc: dar123, check line 16 of your class.
[18:11:18] norc: You have a Heisenbug there.
[18:11:18] spider-mario: has joined #ruby
[18:12:00] m_antis: has joined #ruby
[18:12:10] blackmesa: has joined #ruby
[18:12:22] hxegon: norc: wow, you're on point today.
[18:12:40] infinitone: has joined #ruby
[18:14:07] sdothum: has joined #ruby
[18:14:32] ramfjord: has joined #ruby
[18:16:02] pawnbox: has joined #ruby
[18:16:20] ishe_ua: has joined #ruby
[18:16:29] RegulationD: has joined #ruby
[18:17:03] symm-: has joined #ruby
[18:17:29] Yiota_: has joined #ruby
[18:18:40] nando293921: has joined #ruby
[18:19:21] Akagi201: has joined #ruby
[18:20:30] confounds: has joined #ruby
[18:20:51] joenuts_: has joined #ruby
[18:20:57] clifford_: has joined #ruby
[18:21:01] norc: hxegon, with that kind of a question (and he repeated it even!) he deserved it.
[18:21:40] _aeris_: has joined #ruby
[18:21:45] ChiefAlexander: has joined #ruby
[18:22:25] cloaked1: has joined #ruby
[18:23:30] blackmesa: has joined #ruby
[18:24:23] Dimik: has joined #ruby
[18:24:42] last_staff: has joined #ruby
[18:27:50] sdothum: has joined #ruby
[18:28:57] hxegon: norc: wasn't being sarcastic :D
[18:28:58] anisha: has joined #ruby
[18:30:05] thorgi: has joined #ruby
[18:30:13] nankyokusei: has joined #ruby
[18:30:42] qasaur: has joined #ruby
[18:30:43] kies: has joined #ruby
[18:31:38] diegoaguilar: has joined #ruby
[18:33:07] allcentury: has joined #ruby
[18:33:39] multi_io: has joined #ruby
[18:34:03] nadir: has joined #ruby
[18:34:43] Guest63: has joined #ruby
[18:36:09] maletor3: has joined #ruby
[18:36:40] dopie: has joined #ruby
[18:36:53] Axy: has joined #ruby
[18:36:54] Axy: has joined #ruby
[18:38:15] mikecmpbll: has joined #ruby
[18:38:16] k3rn31: has joined #ruby
[18:41:15] futilegames: has joined #ruby
[18:41:57] dhollinger: has joined #ruby
[18:43:17] Madplatypus: has joined #ruby
[18:45:01] duckpuppy: has joined #ruby
[18:47:22] gheegh: has joined #ruby
[18:48:18] sid_fules: has joined #ruby
[18:51:42] qasaur: has joined #ruby
[18:52:04] dionysus69: has joined #ruby
[18:54:30] aegis3121: has joined #ruby
[18:54:44] davedev24: has joined #ruby
[18:57:30] skolman: has joined #ruby
[18:57:40] renderful: has joined #ruby
[18:58:20] blackmesa: has joined #ruby
[18:59:57] davedev24: has joined #ruby
[19:02:01] Devalo: has joined #ruby
[19:02:10] jenrzzz: has joined #ruby
[19:02:27] joonty: has joined #ruby
[19:03:05] sid_fules: has joined #ruby
[19:03:31] whathappens: has joined #ruby
[19:04:02] i: has joined #ruby
[19:04:23] dopie: has joined #ruby
[19:06:12] iCHAIT: has joined #ruby
[19:07:03] amargherio: has joined #ruby
[19:07:24] iCHAIT: has left #ruby: ()
[19:08:34] pawnbox: has joined #ruby
[19:09:09] nhhc: has joined #ruby
[19:10:49] whathappens: has joined #ruby
[19:11:07] bluOxigen: has joined #ruby
[19:13:19] jancel: has joined #ruby
[19:13:40] freerobby: has joined #ruby
[19:14:00] GBrawl: has joined #ruby
[19:14:35] ChiefAlexander: has joined #ruby
[19:16:00] Vingador_: has joined #ruby
[19:17:54] firstdayonthejob: has joined #ruby
[19:19:05] idefine: has joined #ruby
[19:19:23] confounds: has joined #ruby
[19:19:27] Infra-Red: has joined #ruby
[19:19:38] hahuang61: has joined #ruby
[19:21:56] renderful: has joined #ruby
[19:23:11] RegulationD: has joined #ruby
[19:24:42] Pupeno: has joined #ruby
[19:24:47] lightt: has joined #ruby
[19:25:17] grvgr: has joined #ruby
[19:25:37] pepee: has joined #ruby
[19:29:09] czerasz: has joined #ruby
[19:29:26] nettoweb: has joined #ruby
[19:30:22] mikecmpbll: has joined #ruby
[19:31:49] nofxx: has joined #ruby
[19:32:47] lightt: has joined #ruby
[19:35:07] confounds: has joined #ruby
[19:35:13] jaguarmagenta: has joined #ruby
[19:36:57] maletor3: has joined #ruby
[19:37:45] djbkd: has joined #ruby
[19:38:26] alfiemax: has joined #ruby
[19:39:41] Macaveli: has joined #ruby
[19:40:49] dfockler: has joined #ruby
[19:41:32] nat2610: has joined #ruby
[19:42:01] confounds: has joined #ruby
[19:42:05] nat2610: how would you guys go about debugging an error {"exception"=>#<NoMethodError: undefined method `empty?' for #<URI::HTTP:0x31134a24 URL:http://172.18.87.74:3000/deobfuscate>>, "backtrace"=>["/opt/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:1869:in `initialize'", "/opt/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:2102:in `initialize'", …
[19:43:07] norc: nat2610, byebug it.
[19:43:27] karmatr0n: has joined #ruby
[19:43:30] jackjackdripper: has joined #ruby
[19:43:35] jackjackdripper1: has joined #ruby
[19:43:44] jackjackdripper: has joined #ruby
[19:43:50] norc: nat2610, can you gist a full stack trace?
[19:43:59] jackjackdripper1: has joined #ruby
[19:44:06] jackjackdripper: has joined #ruby
[19:44:16] jackjackdripper1: has joined #ruby
[19:44:26] jackjackdripper: has joined #ruby
[19:44:28] Synthead: has joined #ruby
[19:44:36] jackjackdripper1: has joined #ruby
[19:44:47] jackjackdripper: has joined #ruby
[19:44:51] mattwashere: has joined #ruby
[19:44:57] jackjackdripper: has joined #ruby
[19:45:08] jackjackdripper1: has joined #ruby
[19:45:19] jackjackdripper: has joined #ruby
[19:45:33] jackjackdripper: has joined #ruby
[19:46:18] sid_fules: has joined #ruby
[19:46:34] nat2610: norc: http://hastebin.com/wumataguro.coffee
[19:46:37] madgen: has joined #ruby
[19:47:56] nat2610: I can't reproduce the issue with irb
[19:48:07] duckpuppy: has joined #ruby
[19:48:08] nat2610: but somehow it doesn't like how I create my http
[19:50:16] norc: nat2610, while source code is always good to have, I asked for a tsack trace
[19:50:27] roamingdog: has joined #ruby
[19:51:47] synthroid: has joined #ruby
[19:53:01] GodFather: has joined #ruby
[19:53:13] cdg: has joined #ruby
[19:53:15] eljimbo: has joined #ruby
[19:53:32] cdg: has joined #ruby
[19:55:35] tAn: has joined #ruby
[19:55:59] frem_: has joined #ruby
[19:56:32] GodFather: has joined #ruby
[19:57:30] hutch34_: has joined #ruby
[19:58:48] sid_fules: has joined #ruby
[19:58:51] scepticulous: has joined #ruby
[19:59:27] diegoaguilar: has joined #ruby
[19:59:40] jhack: has joined #ruby
[20:00:06] nat2610: strack trace sorry sure norc
[20:00:33] diegoaguilar: has joined #ruby
[20:01:23] nat2610: http://pastebin.com/4THRn80L
[20:01:24] ruby[bot]: nat2610: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/597485bbe2aad027220045d518460de3
[20:01:24] ruby[bot]: nat2610: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[20:01:56] hutch34: has joined #ruby
[20:03:19] sid_fules: has joined #ruby
[20:05:01] joonty: has joined #ruby
[20:05:10] z0id: has joined #ruby
[20:05:49] z0id: has left #ruby: ("Leaving")
[20:06:28] DynamicMetaFlow: has joined #ruby
[20:07:12] blackmesa: has joined #ruby
[20:07:19] freerobby: has joined #ruby
[20:07:50] tAn: has joined #ruby
[20:08:21] norc: nat2610, not related to your issue... but are you executing this as root?
[20:09:16] nat2610: yeah it's a container with jruby
[20:09:21] nat2610: and not much else
[20:09:50] nat2610: because I didn't want to use jruby on my laptop
[20:10:01] norc: nat2610, the source does not match up with ethe stacktrace.
[20:10:13] jackjackdripper: has joined #ruby
[20:10:27] norc: nat2610, line 44 in your previously linked file is not constructing Net::HTTP
[20:10:27] blackgoat: has joined #ruby
[20:11:48] GodFather: has joined #ruby
[20:12:35] mtkd: has joined #ruby
[20:13:22] JJM: has joined #ruby
[20:14:16] tristanp: has joined #ruby
[20:15:25] GodFather: has joined #ruby
[20:15:50] danostrowski: has joined #ruby
[20:16:01] nat2610: let run it again and save everything I might have been testing things in the middle
[20:16:47] lightt: has joined #ruby
[20:17:54] nat2610: norc: http://hastebin.com/omilosojuy.vbs
[20:18:48] nat2610: basically ruby doesn't like Net::HTTP::Post.new(uri)
[20:18:57] nat2610: and I don't get why
[20:19:19] scepticulous: has joined #ruby
[20:19:36] haxrbyte: has joined #ruby
[20:19:40] norc: nat2610, what makes you say that?
[20:19:44] norc: nat2610, look again. :)
[20:20:19] Devalo: has joined #ruby
[20:21:09] yqt: has joined #ruby
[20:21:10] nando293921: has joined #ruby
[20:22:16] norc: nat2610, https://github.com/sj26/ruby-1.9.3-p0/blob/master/lib/net/http.rb#L1860
[20:23:04] mattwashere: has joined #ruby
[20:23:11] norc: nat2610, ruby is calling a method (empty?) on path - so obviously a HTTPGenericRequest in that particular ruby version does not accept an URI there.
[20:23:50] norc: nat2610, Would have to find out when - but that support wasn't added until later.
[20:25:36] postmodern: has joined #ruby
[20:26:20] blackgoat: has joined #ruby
[20:26:36] lxsameer: has joined #ruby
[20:27:01] tildes_: has joined #ruby
[20:28:04] nat2610: norc: how can you tell ?
[20:28:36] norc: nat2610, some experience, quickly comparing current trunk against an implementation equivalent to the ruby version you are using
[20:29:20] theunraveler: has joined #ruby
[20:29:22] norc: nat2610, https://github.com/ruby/ruby/blob/trunk/lib/net/http/generic_request.rb#L16-L28
[20:29:35] tAn: has joined #ruby
[20:29:44] norc: nat2610, https://github.com/ruby/ruby/commit/570b766901c1a80f5a317012eb81ee9d1f301073
[20:29:50] norc: That was the commit that introduced the change.
[20:30:00] norc: (Git blame to the rescue)
[20:30:33] nat2610: I see so I need to provide the request_uri based on that commit ?
[20:30:40] jenrzzz: has joined #ruby
[20:30:53] nat2610: given that I can't change the version of ruby
[20:31:03] nankyokusei: has joined #ruby
[20:31:08] norc: nat2610, just pass a string for the path :)
[20:31:37] nullFxn_: has joined #ruby
[20:33:38] weaksauce: has joined #ruby
[20:34:49] dgynn: has joined #ruby
[20:35:12] todd: has joined #ruby
[20:35:18] DoubleMalt: has joined #ruby
[20:35:48] CalimeroTeknik: has joined #ruby
[20:36:30] RegulationD: has joined #ruby
[20:36:49] ips|malc: has joined #ruby
[20:37:02] nat2610: norc: when yu said string for the path did you mean 'http://172.18.87.74:3000/deobfuscate' ?
[20:37:20] nat2610: I tried to change that to be a string and so far I'm getting a null object in res
[20:37:35] kies: has joined #ruby
[20:37:35] norc: nat2610, a relative path
[20:37:39] maletor3: has joined #ruby
[20:37:48] norc: e.g. '/deobfuscate'
[20:38:06] nat2610: ok so uri.request_uri
[20:40:15] haxrbyte_: has joined #ruby
[20:40:59] skweek: has joined #ruby
[20:41:17] ruby-lang486: has joined #ruby
[20:42:07] ruby-lang486: Hey guys, just a quick regex question. I'm parsing through a file line by line and I want to grab the content from the quotes in a line like this: value="content"
[20:42:15] dar123: has joined #ruby
[20:42:24] ruby-lang486: I keep on getting value="content" when I just want content
[20:42:29] shevy: ruby-lang486 a simple way would be via a regex
[20:43:07] shevy: ruby-lang486 http://rubular.com/r/sU2ZRWup1s - it would be available in $1; or in the matchdata object if you use one
[20:43:19] sid_fules: has joined #ruby
[20:43:33] danostrowski: has joined #ruby
[20:44:26] jancel: has joined #ruby
[20:44:31] rafadc_: has joined #ruby
[20:45:00] ruby-lang486: @shevy thanks!
[20:45:51] havenwood: ruby-lang486: or scan with a positive lookahead and lookbehind
[20:46:15] lightt: has joined #ruby
[20:46:41] ruby-lang486: @shevy actually for somereasion it doesn't work, I still get value="content" instead of just conent
[20:47:07] ruby-lang486: @shevy would it be just like /regex/.match(line)?
[20:47:26] havenwood: >> 'value="content" never-parse-html-with-regex="1" value="another"'.scan /(?<=value=")[^"]+(?=")/
[20:47:27] ruby[bot]: havenwood: # => ["content", "another"] (https://eval.in/581617)
[20:47:51] shevy: ruby-lang486 the special variables $1 $2 etc... are filled up after you do a =~ match for instance
[20:48:12] shevy: it's a bit magic, .scan is probably easier to do since you can do it in one step
[20:49:03] shevy: ruby-lang486 here is a good but long answer http://stackoverflow.com/a/6673878/722915 - the answer below has a nice example though
[20:49:12] gtsai_: has joined #ruby
[20:49:33] norc: ACTION is willing to bet that ruby-lang486 is trying to parse HTML and does not know about Nokogiri
[20:50:07] shevy: otherwise, $1 $2 and so are like other global variables. they are a bit volatile though so don't trust them too much
[20:50:17] havenwood: https://github.com/sparklemotion/nokogiri
[20:50:21] havenwood: https://github.com/YorickPeterse/oga
[20:50:35] shevy: ugha! yorickpeterse wrote ugha!
[20:51:00] ruby-lang486: @norc you're right, but I'm just trying to do a oneshot script that I'll never use again
[20:51:35] jwarren_: has joined #ruby
[20:51:37] norc: ruby-lang486, nokogiri is easy to use. :)
[20:53:17] jwarren_: Hey everyone. Anyone have a second to answer some questions about Ruby/Rack config.ru stuff? I'm new to Ruby and quite perplexed.
[20:53:43] havenwood: jwarren_: What trouble are you running into?
[20:53:52] norc: jwarren_, the answer is yes!
[20:53:55] norc: Hope I could help you.
[20:54:15] jancel: has joined #ruby
[20:55:09] jwarren_: I'm trying to figure out how to set up custom HTTP headers. Specifically, I'm trying to set X-Frame-Options to allow a certain domain. My config.ru file has `require "jekyll-auth"` and then `run JekyllAuth.site`, and I think between those I can do something like `Rack::Headers...`, right?
[20:55:11] arlek: has joined #ruby
[20:56:13] norc: jwarren_, do you have some middleware that sets a default X_Frame-Options (like SAMEORIGIN) ?
[20:57:12] giz|work: has joined #ruby
[20:57:26] ur5us: has joined #ruby
[20:58:03] norc: jwarren_, because unless you have a middleware that already emits a DENY or SAMEORIGIN, the browser will not be limited in this regard from what I remember.
[20:58:06] jwarren_: norc, I think Jekyll is setting it by default, but I'm not sure. I do know that when it's deployed, SAMEORIGIN is set as the value.
[20:58:15] norc: Fair enough, that's what I wanted to know. :)
[20:59:44] johnmilton: has joined #ruby
[20:59:57] Pupeno: has joined #ruby
[21:00:58] norc: jwarren_, doesn't look like Jeckyll uses Rack out of the box. Are you using rack-jeckyll?
[21:01:39] hutch34_: has joined #ruby
[21:02:02] chippy: has joined #ruby
[21:02:03] jwarren_: Well, it's a Jekyll/JekyllAuth site that's deployed on Heroku. The Jekyll-Auth docs walk through setting it up using Heroku defaults, which uses Rack.
[21:02:20] ruby-lang486: @norc I can't use nokogiri, the place im working at uses an older version of ruby
[21:02:23] jwarren_: Jekyll-auth essentially wraps Jekyll, I think.
[21:03:35] jwarren_: As I'm looking at the docs more, it looks like I can do something like `use Rack::Response::Helpers.add_header('X-Frame-Options', 'ALLOW-FROM https://example.com/')`. But I'm probably reading the docs wrong... Does that seem reasonable?
[21:04:22] norc: jwarren_, you could simply use an after filter
[21:04:39] DynamicM`: has joined #ruby
[21:04:50] norc: jwarren_, after { headers('X-Frame-Options' => 'ALLOW-FROM example.com')}
[21:05:21] jenrzzz_: has joined #ruby
[21:05:42] norc: jwarren_, it probably is introdoced by Rack::Protection through Sinatra.
[21:05:51] norc: (Which is a good thing, so no need to turn it off)
[21:06:12] sid_fules: has joined #ruby
[21:06:18] bruce_lee: has joined #ruby
[21:06:18] bruce_lee: has joined #ruby
[21:07:24] jwarren_: norc, My Ruby is pretty crude. What's an after filter? Right now the line in my config.ru is `use Rack::Response::Helpers.add_header 'X-Frame-Options', 'ALLOWALL'`, where would the after piece go instead?
[21:07:39] gtsai: has joined #ruby
[21:08:00] jwarren_: (Except ALLOWALL is just a placeholder at the moment)
[21:08:08] bougyman: jwarren_: an after filter is a rails thing, not ruby
[21:10:04] norc: bougyman, jwarren_: It is a Sinatra thing in this context.
[21:10:17] norc: jwarren_, http://www.sinatrarb.com/intro.html#Filters
[21:10:37] edwinvdgraaf: has joined #ruby
[21:11:25] roamingdog: has joined #ruby
[21:11:49] martee: has joined #ruby
[21:12:10] eljimmy: has joined #ruby
[21:13:22] edwinvdgraaf: has joined #ruby
[21:14:23] Pupeno: has joined #ruby
[21:15:47] idefine: has joined #ruby
[21:16:20] edwinvdg_: has joined #ruby
[21:19:13] edwinvdg_: has joined #ruby
[21:19:26] bobbycvi_: has joined #ruby
[21:19:32] whathappens: has joined #ruby
[21:19:53] DynamicM`: has joined #ruby
[21:20:09] ironcamel: no one get mad at what i'm about to ask ...
[21:20:12] whathapp_: has joined #ruby
[21:20:12] ironcamel: http://ruby-doc.org/core-2.2.0/Kernel.html#method-i-spawn
[21:20:18] ironcamel: This method is similar to #system but it doesn’t wait for the command to finish.
[21:20:46] ironcamel: I need the equivalent of Kernel.system on ruby 1.8.7
[21:20:55] ironcamel: err, Kernel.spawn
[21:21:37] whathapp_: has joined #ruby
[21:21:45] ironcamel: i need to do system foo.sh; let it run for a few seconds, and then kill the foo.sh process
[21:22:22] ironcamel: what's the easiest way to do that?
[21:22:23] adaedra: well Kernel.spawn should do it then, what's the problem?
[21:22:23] norc: ironcamel, fork?
[21:22:33] norc: adaedra, Kernel.spawn was not available in 1.8.7
[21:22:36] ironcamel: adaedra: i only have ruby 1.8.7
[21:22:38] CausaMortis: has joined #ruby
[21:22:43] adaedra: ah, you are on 1.8.7
[21:22:48] adaedra: I misunderstood
[21:23:01] adaedra: you can't update Ruby? 1.8.7 is a dinosaur.
[21:23:06] ironcamel: i know i know
[21:23:12] ironcamel: it's not up to me. this is for $work
[21:23:23] norc: ironcamel, Id simply fork
[21:23:28] ironcamel: i use v2.3 for all my personal stuff
[21:23:48] ironcamel: norc: i tried forking and killing the pid
[21:23:59] ironcamel: but the underlying system process keeps going
[21:24:00] norc: ironcamel, that will leave zombies.
[21:24:50] ironcamel: i have a foo.sh that is:
[21:24:51] ironcamel: for i in `seq 10`; do echo $i >> /tmp/xx; done
[21:25:16] roamingdog: has joined #ruby
[21:25:25] smathy: ironcamel, you'd need to handle the signal in your own code in the fork/subprocess and kill the system process there when you receive that signal.
[21:25:30] norc: ironcamel, well if you execute a shell command with & you place it into the background, you could then return $! with your system command, then you have the pid of your child
[21:25:35] ironcamel: on the ruby side i have:
[21:25:36] ironcamel: pid = fork { system './xx.sh'; exit }
[21:25:36] ironcamel: Process.kill('TERM', pid)
[21:26:08] ironcamel: smathy: how do i get the pid of the foo.sh process?
[21:26:08] smathy: ironcamel, no, in the fork you need to handle that signal so your parent process can signal your forked subprocess, and then IT will kill the system process.
[21:26:25] ironcamel: smathy: how does IT get the pid of the system process?
[21:26:35] norc: ironcamel, Oh. Dont use system. use exec.
[21:26:36] snockerton: has joined #ruby
[21:26:55] norc: ironcamel, that should do the job for you.
[21:27:04] ironcamel: ACTION is looking up exec ...
[21:27:11] smathy: Oh true, that's better. I was missing a timeout step.
[21:27:22] smathy: ...forgetting myself there.
[21:27:53] ironcamel: so i should do pid = fork { exec "foo.sh" } ?
[21:28:11] ironcamel: then i kill that pid?
[21:28:21] jenrzzz: has joined #ruby
[21:28:37] rafadc: has joined #ruby
[21:28:47] ironcamel: that seemed to work
[21:28:56] ironcamel: should i put an exit in that fork block?
[21:29:27] adaedra: Nothing after an exec is executed; exec replaces current process.
[21:29:30] ironcamel: pid = fork { exec "foo.sh"; exit }
[21:29:33] smathy: Shouldn't need it.
[21:29:51] norc: It is effectively dead code, it cannot be reached.
[21:29:51] ironcamel: cool beans, thanks guys
[21:30:01] adaedra: don't forget to wait your process after you TERM/KILL it, otherwise it will be a zombie.
[21:30:12] ironcamel: i still need to Process.wait it?
[21:30:16] ironcamel: even though i'm killing it
[21:30:42] adaedra: Your process will be a zombie and stay as such until the parent waits it (to get the return value)
[21:31:18] adaedra: That's how processes work.
[21:31:23] norc: Somehow "wait" is a bad name for it.
[21:31:33] norc: Something like "reap" would have been a bit clearer.
[21:31:35] adaedra: well, it waits for it, in a sense.
[21:31:42] workmad3: has joined #ruby
[21:31:55] adaedra: (if the process is not terminated yet, I agree)
[21:32:38] Pumukel: has joined #ruby
[21:33:25] ironcamel: pid = fork { exec './xx.sh' }
[21:33:26] ironcamel: Process.kill('TERM', pid); Process.wait
[21:33:32] ironcamel: is that good ^^^ ?
[21:33:36] norc: ironcamel, no.
[21:33:42] nadir: has joined #ruby
[21:33:54] ironcamel: what am i missing?
[21:34:18] norc: ironcamel, you need to wait on the process you forked off.
[21:34:29] adaedra: that's what the wait does
[21:34:45] adaedra: iirc, if you give wait nothing, it waits for any child.
[21:34:48] norc: Oh. Wasn't aware of wait accepting no arguments. my bad.
[21:35:30] ironcamel: Prohttp://ruby-doc.org/core-1.8.7/Process.html#method-c-kill
[21:35:33] norc: adaedra, why can't this be the default behaviour of processes when they end?
[21:35:38] adaedra: that's actually the basic usage of wait(2): no argument
[21:35:51] adaedra: norc: what behaviour?
[21:36:23] jaguarmagenta: has joined #ruby
[21:36:28] norc: adaedra, well there seems to be no point in not waiting if you have any child processes.
[21:36:59] adaedra: I don't understand, explain from the beginning?
[21:37:00] DynamicM`: has left #ruby: ("ERC (IRC client for Emacs 24.5.1)")
[21:37:31] cdg: has joined #ruby
[21:37:49] norc: Ah well, Ill try to sort my thoughts first. Surely I don't know better than the people who implemented it in Ruby. :)
[21:38:28] maletor3: has joined #ruby
[21:38:35] ramfjord_: has joined #ruby
[21:38:42] adaedra: If you mean "why can't processes just die and not leave zombies", you need to wait(2) a process to get its return value. A zombie is just that, a child waiting to tell its parent how it died. Once it did so, it's gone.
[21:39:18] norc: adaedra, but if a parent dies, Id expect all childs to get waited on.
[21:39:27] norc: (Id rather be forced to kill off any left over childs)
[21:39:42] Rutix: has joined #ruby
[21:39:42] Rutix: has joined #ruby
[21:39:48] adaedra: If a parent dies, its children are reattached to the parent's parent
[21:40:01] adaedra: so they can continue to run
[21:40:20] adaedra: they can move up to be parented to init (PID 1) which will automatically wait for them.
[21:41:04] norc: adaedra, ah. Well perhaps it sounds a bit naive, but I might actually prefer a child not to automatically reattach to a new parent, but to die unless explicitely reattached.
[21:41:18] norc: But then again this whole discussion proves I dont know much about Process, so Im probably the worst judge.
[21:41:20] adaedra: /sbin/init is normally something like `fork { exec '/bin/rc' }; loop { Process.wait }`
[21:41:34] smathy: norc, wait is really about waiting for the exit code of the subprocess, hence the name, and why you need to call it after your subprocess is given a PID by the system.
[21:41:50] adaedra: norc: that's how processes work in your system, it's not really Ruby related here.
[21:42:04] norc: adaedra, absolutely.
[21:42:22] roamingdog: has joined #ruby
[21:42:32] nullFxn: has joined #ruby
[21:42:34] adaedra: You can however kill a whole process group if you want to kill parents and children.
[21:42:36] adaedra: You montster.
[21:43:03] norc: adaedra, today was the day when I learned how the operating system can actually schedule processes (and it really is not that easy) ...
[21:43:32] adaedra: https://www.freebsd.org/cgi/man.cgi?query=wait&apropos=0&sektion=2&manpath=FreeBSD+10.3-RELEASE+and+Ports&arch=default&format=html
[21:44:31] ryann: has joined #ruby
[21:45:09] adaedra: Processes are actually a very complex machinery
[21:45:42] norc: So are processors (which is the topic Im diving into at the moment) :)
[21:46:05] yxhuvud: has joined #ruby
[21:48:32] lightt: has joined #ruby
[21:50:00] Pupeno: has joined #ruby
[21:51:39] machinewar: has joined #ruby
[21:52:27] machinewar: so I have a class that is expected to respond to a method and I want to run the code in that method when its called (which sets instance variables) and then run method by same name in an included module with logic that depends on those instance variables being set
[21:52:29] machinewar: is this possible?
[21:53:11] sid_fules: has joined #ruby
[21:53:32] MrBusiness2: has joined #ruby
[21:53:36] machinewar: https://gist.github.com/AlexWheeler/d860421ea0545a888e3bd37cd08d0543
[21:53:39] machinewar: here's an example of what I'd like
[21:54:24] norc: machinewar, technically yes.
[21:54:42] norc: machinewar, a method belongs to either a module or a class, an include does not change that.
[21:54:54] jwarren_: @norc, to kick a dead horse a few more times, I looked at the after filters, but I don't think I can apply it. I only have a config.ru file and the gems I installed. Is there a way I can put it in the config.ru before/when `run app` is called? I'm sorry for the stupid questions, I'm still trying to figure out how this stuff works.
[21:55:57] adaedra: norc: but when including the module, the method in the module replaces the one in the class
[21:56:03] eljimmy: has joined #ruby
[21:56:12] norc: adaedra, I do not think that is true.
[21:56:58] jhass: it's not, in fact that's what prepend is for
[21:57:11] machinewar: I can still call super and it will call the included modules method
[21:57:18] tinnvec: has joined #ruby
[21:57:22] machinewar: but I'm wondering if there's a *smarter* way to do this somehow from within the module
[21:57:29] norc: jhass, can you come up with a way to show this with include?
[21:57:36] machinewar: having it call something on the class (i.e. some way to open up a classes method and add to it)
[21:58:28] jhass: norc: not sure what "this" is now :/
[21:58:39] jhass: machinewar: I'd say super is the intended way to solve this
[22:00:36] tinnvec: has joined #ruby
[22:01:01] jhass: machinewar: if it should be transparent to the class though, use prepend instead of include and call super in the module as first thing
[22:01:24] jhass: though that'll require the class to implement it
[22:01:40] machinewar: jhass: thanks! am currently using prepend actually and was curious if another way
[22:02:05] machinewar: jhass: that's fine I actually want the class to implement the setup and then have it run the module method which assumes some instance vars were initialized
[22:02:36] machinewar: and prepend works since it hides the super from the class which is something I liked, just looks cleaner
[22:02:37] CoderPuppy: has joined #ruby
[22:05:05] roamingdog: has joined #ruby
[22:05:31] sid_fules: has joined #ruby
[22:06:01] cd83x: has joined #ruby
[22:07:10] hutch34: has joined #ruby
[22:08:28] kareeoleez: has joined #ruby
[22:13:26] y2mq37: has joined #ruby
[22:14:17] terminalrecluse: has joined #ruby
[22:15:18] tinnvec: has joined #ruby
[22:18:41] shevy: hanmac how usable are your wx-bindings? I am getting slightly tired of ruby-gnome and want to have a look for alternatives that aren't as ugly as ruby-tk
[22:20:10] cpup: has joined #ruby
[22:21:15] idefine: has joined #ruby
[22:21:25] malcolmva: has joined #ruby
[22:21:54] Devalo: has joined #ruby
[22:22:08] chipotle: has joined #ruby
[22:22:56] sid_fules: has joined #ruby
[22:23:20] roamingdog: has joined #ruby
[22:26:52] postmodern: has joined #ruby
[22:30:11] jackjackdripper1: has joined #ruby
[22:31:22] jhass: shevy: looked into gir-gtk yet?
[22:31:59] nankyokusei: has joined #ruby
[22:32:17] jhass: gir_ffi-gtk I mean
[22:33:08] startupality: has joined #ruby
[22:33:19] johnmilton: has joined #ruby
[22:33:44] jhack: has joined #ruby
[22:38:48] CoderPuppy: has joined #ruby
[22:39:14] maletor3: has joined #ruby
[22:43:57] roamingdog: has joined #ruby
[22:46:07] sid_fules: has joined #ruby
[22:48:01] TheMoonMaster: has joined #ruby
[22:48:15] aegis3121: has joined #ruby
[22:49:01] gigetoo: has joined #ruby
[22:49:25] gnufied: has joined #ruby
[22:50:30] shevy: jhass I think I only know it by name, I don't remember why I have not tried it, most likely inertia and laziness
[22:51:15] roamingdog: has joined #ruby
[22:53:34] ramfjord: has joined #ruby
[22:55:19] helpa: has joined #ruby
[22:59:20] cpup: has joined #ruby
[22:59:32] Synthead: I can access RbVmomi::VIM::VirtualApp, but "virtualapp" doesn't return anything in the repo: https://github.com/vmware/rbvmomi/search?utf8=%E2%9C%93&q=virtualapp what's going on here?
[22:59:56] cgfbee: has joined #ruby
[23:00:03] Yiota: has joined #ruby
[23:00:28] tildes_: has joined #ruby
[23:00:32] mattwashere: has joined #ruby
[23:01:31] d0nn1e: has joined #ruby
[23:02:01] shevy: it probably is not in any .rb file
[23:02:10] danostrowski: has joined #ruby
[23:02:54] shevy: I see a similar namespace class RbVmomi::VIM::VirtualMachine
[23:03:49] hutch34_: has joined #ruby
[23:06:36] Synthead: how can the name never be referenced but is still accessible from within ruby
[23:07:39] roamingdog: has joined #ruby
[23:08:09] clifford_: has joined #ruby
[23:08:36] banister: has joined #ruby
[23:08:54] banisterfiend: has joined #ruby
[23:08:59] shevy: it could be compiled somewhere possibly, like in a C extension or something. I got a match in some database file
[23:09:43] Synthead: whoa, vmodl.db has it for sure
[23:10:24] Synthead: that's bizarre
[23:10:29] Synthead: is this common?
[23:10:31] Yiota: has joined #ruby
[23:11:08] CoderPuppy: has joined #ruby
[23:11:29] Yiota: has joined #ruby
[23:11:54] |2701: has joined #ruby
[23:12:35] shevy: I myself only saw this in a pickaxe example, the jukebox in C :) it may happen in some extensions that are natively compiled, but I also don't deal with these a lot... from perhaps the last 200 gems I installed, perhaps... 10 or 20 had to be compiled natively
[23:13:00] shevy: probably github could try to search for namespaces within smallish binary files too
[23:13:40] roamingdog: has joined #ruby
[23:13:44] tw1sted: has joined #ruby
[23:15:57] roamingd_: has joined #ruby
[23:18:31] SilverKey: has joined #ruby
[23:24:05] hutch34: has joined #ruby
[23:24:33] al2o3-cr: dino-saur-us is a boggie
[23:24:52] safe: has joined #ruby
[23:25:30] al2o3-cr: shevy: are you a dino?
[23:26:01] al2o3-cr: get with the times kidda
[23:27:03] nighttime: has joined #ruby
[23:27:22] roamingdog: has joined #ruby
[23:27:43] shevy: al2o3-cr I still play dos games!!!
[23:28:16] ksmutthu: has joined #ruby
[23:28:30] gnarld_: has joined #ruby
[23:28:31] al2o3-cr: shevy: i wish i was as young as you!
[23:29:15] am55: has joined #ruby
[23:30:40] al2o3-cr: shevy: commy?
[23:30:43] rafadc: has joined #ruby
[23:31:51] al2o3-cr: shevy: strange you don't interact in #ruby-offtopic
[23:35:32] jphase: has joined #ruby
[23:36:20] al2o3-cr: shevy: shit happens
[23:36:45] tax: has joined #ruby
[23:37:25] JesseH: has joined #ruby
[23:37:58] Vile`: has joined #ruby
[23:38:18] al2o3-cr: shevy: very shrewd person
[23:38:20] jphase: forgive the noob question (this is day 2 for me), but is it the standard convention to use 2 spaces in lieu of tabs with rails? From some light googling I've seen discussion on SO about 2 spaces being the "agreed-upon" norm, but wanted to check.
[23:38:35] shevy: al2o3-cr these monsters play unicode hangman there! :(
[23:39:08] al2o3-cr: shevy: why does that matter?
[23:39:32] hutch34: has joined #ruby
[23:39:59] maletor3: has joined #ruby
[23:40:08] al2o3-cr: shevy: upgrade your shell :#
[23:40:48] mattwashere: has joined #ruby
[23:41:51] czerasz: has joined #ruby
[23:42:28] allcentury: has joined #ruby
[23:43:24] gigetoo: has joined #ruby
[23:43:33] al2o3-cr: shevy: what ruby you using?
[23:43:48] x0F: has joined #ruby
[23:44:29] jwarren_: has left #ruby: ()
[23:44:56] jancel: has joined #ruby
[23:46:08] idefine: has joined #ruby
[23:46:23] Phaenix: has joined #ruby
[23:46:46] al2o3-cr: shevy: don't ignore me
[23:47:01] finisherr: has joined #ruby
[23:48:44] roamingdog: has joined #ruby
[23:49:50] al2o3-cr: and don't come back an hour later with some smart arse comment
[23:51:28] al2o3-cr: |2701: how the fuck you got in
[23:51:50] |2701: dont associate my ELITE shitposting with your autism
[23:51:58] |2701: go shitpost on your own
[23:52:22] koooge: has joined #ruby
[23:52:36] idefine: has joined #ruby
[23:52:53] al2o3-cr: and i thought you had some meta about you
[23:54:47] mattwashere: has joined #ruby
[23:55:17] whathappens: has joined #ruby
[23:55:24] Vingador: has joined #ruby
[23:55:39] |meta: why are you harassing these poor rubyists anyways
[23:55:43] |meta: what do you need
[23:56:05] fclausen: has joined #ruby
[23:56:20] elomatreb: what is going on here? ._.
[23:56:34] havenwood: jphase: yes, two-space soft tabs is the strong convention in Ruby
[23:56:37] Radar: !ban |meta
[23:56:38] ruby[bot]: +bbbb $a:|2701$#ruby-banned |meta!*@*$#ruby-banned |2701!*@*$#ruby-banned *!*@gateway/web/irccloud.com/x-hlqxifcukayjnmqs$#ruby-banned
[23:56:38] ruby[bot]: +b *!*@gateway/web/irccloud.com/x-tkorgsukilkydniy$#ruby-banned
[23:56:40] ruby[bot]: ruby[bot] kicked |meta: offense, see http://ruby-community.com/pages/user_rules
[23:56:59] Radar: elomatreb: Whatever it was, it has stopped now.
[23:57:26] jphase: havenwood: much obliged, thx
[23:58:09] benzrf: these assholes give shitposting a bad name
[23:58:33] havenwood: ?tabs jphase
[23:58:33] ruby[bot]: jphase: Ruby community standards recommend using 2 spaces as indentation (see https://github.com/bbatsov/ruby-style-guide#spaces-indentation and https://ukupat.github.io/tabs-or-spaces/).
[23:59:39] banisterfiend: anyone here have any react_on_rails experience?