« Back to channel list

#ruby - 02 May 2016

« Back 1 day Forward 1 day »
[00:06:14] johnmilton: has joined #ruby
[00:10:12] roshanavand: has joined #ruby
[00:11:23] Moosashi: has joined #ruby
[00:14:51] Dry_Lips: has joined #ruby
[00:14:52] Dry_Lips: has joined #ruby
[00:16:17] crystal77: has joined #ruby
[00:16:54] emilford: has joined #ruby
[00:16:57] ebbflowgo: has joined #ruby
[00:19:48] crystal77: has joined #ruby
[00:20:23] ebbflowgo: has joined #ruby
[00:21:10] bronson: has joined #ruby
[00:21:33] CloCkWeRX: has joined #ruby
[00:21:34] dramagods: has joined #ruby
[00:22:09] CloCkWeRX: has left #ruby: ()
[00:23:35] Madplatypus: has joined #ruby
[00:25:15] roshanavand: has joined #ruby
[00:26:41] emilford: has joined #ruby
[00:27:52] tubbo: has joined #ruby
[00:41:22] tAn: has joined #ruby
[00:46:07] chipotle: has joined #ruby
[00:46:45] BtcBen: has joined #ruby
[00:47:06] malcolmva: has joined #ruby
[00:48:50] arescorpio: has joined #ruby
[00:50:15] chipotle: has joined #ruby
[00:50:19] BrunoSaboia: has joined #ruby
[00:56:33] palms: has joined #ruby
[00:56:45] Ropeney: has joined #ruby
[01:10:54] sneakerhax: has joined #ruby
[01:11:16] BSaboia: has joined #ruby
[01:11:22] moeabdol: has joined #ruby
[01:12:33] drusepth: has joined #ruby
[01:13:17] vdamewood: has joined #ruby
[01:13:36] aghalarp: has joined #ruby
[01:15:14] xlegoman: has joined #ruby
[01:20:09] dramagods: has joined #ruby
[01:21:59] emilford: has joined #ruby
[01:25:26] Limix: has joined #ruby
[01:29:42] wilbert: has joined #ruby
[01:30:17] ramfjord: has joined #ruby
[01:30:32] wilbert: hey guys, is there a way I can tell what gem (during bundle install) depends on a given gem? Bundle install is failing on a specific dependnecy and I think it is because I haven't specified a specific version for a gem in my gemfile
[01:31:10] cpup: has joined #ruby
[01:31:54] benlieb: has joined #ruby
[01:42:00] dramagods: has joined #ruby
[01:43:24] Radar: wilbert: Can you show us how it's failing first please?
[01:43:59] fedexo: has joined #ruby
[01:44:57] tAn: has joined #ruby
[01:46:50] chipotle_: has joined #ruby
[01:48:04] Ispira: has joined #ruby
[01:48:11] duderonomy: has joined #ruby
[01:49:07] cuckingfunt: has joined #ruby
[01:49:20] cuckingfunt: hello everyone :)
[01:50:32] al2o3-cr: can anyone help me get this working, it's giving me a big headache: https://gist.github.com/gr33n7007h/c9fede05588617a918a54f5bd9bd5df8
[01:50:59] al2o3-cr: it's giving false results and i'm not sure where i'm going wrong
[01:53:50] al2o3-cr: any help really appreciated
[01:54:19] jhack: has joined #ruby
[01:54:39] baweaver: !badnick cuckingfunt
[01:54:39] ruby[bot]: +bb cuckingfunt!*@*$#ruby-banned *!*@gateway/web/freenode/ip.172.56.7.55$#ruby-banned
[01:54:39] ruby[bot]: ruby[bot] kicked cuckingfunt: is not suitable for this channel, see http://ruby-community.com/pages/user_rules
[01:55:22] S_Waqas: has joined #ruby
[01:55:28] al2o3-cr: I'm translating it from this, https://people.csail.mit.edu/albert/bluez-intro/c404.html, if it's any help
[01:55:55] JoshGlzBrk: has joined #ruby
[01:56:25] gigetoo: has joined #ruby
[01:57:48] IrishGringo: has joined #ruby
[01:59:30] tvon: has joined #ruby
[01:59:56] robbyoconnor: has joined #ruby
[02:03:45] LoneHerm_: has joined #ruby
[02:05:17] A124: has joined #ruby
[02:08:09] trinaldi: has joined #ruby
[02:08:48] eljimmy: has joined #ruby
[02:09:03] pawnbox: has joined #ruby
[02:12:37] pyramid: has joined #ruby
[02:13:18] pyramid: has left #ruby: ()
[02:21:30] SilverKey: has joined #ruby
[02:24:32] zacstewart: has joined #ruby
[02:26:13] al2o3-cr: ok, so i fixed the false results. i had to pass ii.to_ptr.ptr instead of ref which is backwards to me. & -> .ptr:* -> ref, but why is it show the same result twice. am i looking over this to much a can't see the obvious: https://gist.github.com/gr33n7007h/0cf31943562a892d0666d910cd3dfeec
[02:30:39] flashpoint9: has joined #ruby
[02:33:05] al2o3-cr: `num_rsp.times do` fixed it, jeez. staring at something so long the obvious is not the obvious anymore
[02:33:20] Spami: has joined #ruby
[02:36:57] ramfjord: has joined #ruby
[02:39:08] x77686d: has joined #ruby
[02:42:17] hobodave: has joined #ruby
[02:44:00] FooMunki: has joined #ruby
[02:44:28] binaryplease1: has joined #ruby
[02:45:19] terminalrecluse: has joined #ruby
[02:46:18] tAn: has joined #ruby
[02:47:20] al2o3-cr: ACTION will fix this shit tomorrow
[02:54:58] blackgoat: has joined #ruby
[02:56:11] yfeldblum: has joined #ruby
[02:57:52] chipotle: has joined #ruby
[02:58:17] berserk_ren: has joined #ruby
[02:59:29] moeabdol: has joined #ruby
[03:04:39] Spami: has joined #ruby
[03:04:56] moeabdol: has joined #ruby
[03:05:05] rbennacer: has joined #ruby
[03:05:28] shinnya: has joined #ruby
[03:05:45] rbennacer: has joined #ruby
[03:06:41] sgambino: has joined #ruby
[03:08:49] Rutix`away: has joined #ruby
[03:08:53] Rutix`away: has joined #ruby
[03:14:29] oliver__: has joined #ruby
[03:16:05] karapetyan: has joined #ruby
[03:17:10] Fernando-Basso: has joined #ruby
[03:17:25] goodroot: has joined #ruby
[03:18:54] dramagods: has joined #ruby
[03:20:00] lxsameer: has joined #ruby
[03:20:05] pontiki: has joined #ruby
[03:20:35] Es0teric: has joined #ruby
[03:21:17] Es0teric: has joined #ruby
[03:23:29] bronson: has joined #ruby
[03:26:08] |2701: has joined #ruby
[03:26:19] knowtheory: has joined #ruby
[03:26:52] lipoqil: has joined #ruby
[03:26:55] swgillespie: has joined #ruby
[03:28:06] mrsolo: has joined #ruby
[03:28:55] dudepare: has joined #ruby
[03:29:21] deepak: has joined #ruby
[03:29:22] Expanse: has joined #ruby
[03:29:22] im0b: has joined #ruby
[03:29:49] akahn: has joined #ruby
[03:29:55] rideh: has joined #ruby
[03:30:30] CloCkWeRX: has joined #ruby
[03:30:44] gix: has joined #ruby
[03:32:00] cibs: has joined #ruby
[03:33:14] Cohedrin: has joined #ruby
[03:33:28] der-landgraf: has joined #ruby
[03:33:58] Meow-J: has joined #ruby
[03:34:06] dramagods: has joined #ruby
[03:34:39] mlakewood: has joined #ruby
[03:35:19] stannard: has joined #ruby
[03:38:07] ramfjord: has joined #ruby
[03:38:40] htmldrum: has joined #ruby
[03:41:46] agent_white: has joined #ruby
[03:43:51] gooodroot: has joined #ruby
[03:45:22] terminalrecluse: has joined #ruby
[03:49:38] tAn: has joined #ruby
[03:49:48] dikaio: has joined #ruby
[03:52:21] emilford: has joined #ruby
[03:58:48] crystal77: has joined #ruby
[03:59:21] goooodroot: has joined #ruby
[03:59:45] benlieb: has joined #ruby
[04:00:14] roadt_: has joined #ruby
[04:06:10] Limix: has joined #ruby
[04:09:56] pontiki: has left #ruby: (""Poets have been mysteriously silent on the subject of cheese" -- G.K.Chesterson")
[04:10:43] Caerus: Hello #ruby :)
[04:12:24] ramfjord: has joined #ruby
[04:16:35] dramagods: has joined #ruby
[04:19:24] bronson: has joined #ruby
[04:19:57] noService: has joined #ruby
[04:24:08] pawnbox: has joined #ruby
[04:29:17] tAn: has joined #ruby
[04:33:01] djbkd: has joined #ruby
[04:35:41] tildes: has joined #ruby
[04:40:03] p0p0pr37_: has joined #ruby
[04:41:01] govg: has joined #ruby
[04:43:33] xcesariox: has joined #ruby
[04:45:02] hk238: has joined #ruby
[04:48:55] iaglium: has joined #ruby
[04:50:26] pawnbox: has joined #ruby
[04:50:37] Moosashi: has joined #ruby
[04:52:49] konsolebox: has joined #ruby
[04:53:11] Mekkis: has joined #ruby
[04:56:49] dramagods: has joined #ruby
[04:57:31] gooooodroot: has joined #ruby
[04:59:54] zapata: has joined #ruby
[05:03:49] Devalo: has joined #ruby
[05:03:49] _blizzy_: has joined #ruby
[05:10:50] pawnbox: has joined #ruby
[05:14:24] htmldrum: has joined #ruby
[05:15:20] timonv: has joined #ruby
[05:22:09] goodroot: has joined #ruby
[05:25:24] Devalo: has joined #ruby
[05:25:27] gooodroot: has joined #ruby
[05:26:06] johnDoe111: has joined #ruby
[05:26:24] johnDoe111^: has joined #ruby
[05:26:43] johnDoe111^^: has joined #ruby
[05:27:38] last_staff: has joined #ruby
[05:28:29] tjbiddle: has joined #ruby
[05:29:06] ponga: has joined #ruby
[05:32:45] flashpoint9: has joined #ruby
[05:36:31] dramagods: has joined #ruby
[05:37:45] d0lph1n98: has joined #ruby
[05:38:14] dikaio: has joined #ruby
[05:39:57] goooodroot: has joined #ruby
[05:41:26] Macaveli: has joined #ruby
[05:42:06] moeabdol: has joined #ruby
[05:49:19] gooooodroot: has joined #ruby
[05:52:50] pawnbox: has joined #ruby
[05:54:39] goodroot: has joined #ruby
[05:55:36] a143753: has joined #ruby
[05:56:02] devbug: has joined #ruby
[05:56:25] raeoks: has joined #ruby
[05:57:24] pawnbox_: has joined #ruby
[05:59:37] terminalrecluse: has joined #ruby
[06:01:28] govg: has joined #ruby
[06:03:23] bluOxigen_: has joined #ruby
[06:03:35] Polysics: has joined #ruby
[06:06:24] PedramT: has joined #ruby
[06:07:19] PedramT: has joined #ruby
[06:08:25] Devalo: has joined #ruby
[06:11:34] PedramT: has joined #ruby
[06:13:04] PedramT: has joined #ruby
[06:13:13] yfeldblum: has joined #ruby
[06:13:33] solars: has joined #ruby
[06:14:46] PedramT_: has joined #ruby
[06:15:59] scepticulous: has joined #ruby
[06:16:58] dramagods: has joined #ruby
[06:17:56] bronson: has joined #ruby
[06:22:20] Spami: has joined #ruby
[06:24:42] tax: has joined #ruby
[06:26:34] a143753_: has joined #ruby
[06:28:05] benlieb: has joined #ruby
[06:28:16] Ariadeno: has joined #ruby
[06:31:31] gooodroot: has joined #ruby
[06:31:39] duncannz: has joined #ruby
[06:31:45] Dimik: has joined #ruby
[06:32:08] ur5us: has joined #ruby
[06:33:13] tristanp_: has joined #ruby
[06:33:35] dikaio_: has joined #ruby
[06:34:20] andikr: has joined #ruby
[06:34:37] Sammichmaker: has joined #ruby
[06:36:37] firstdayonthejob: has joined #ruby
[06:37:15] linuxuser9000: has joined #ruby
[06:37:23] linuxuser9000: Howdy-do ruby-er-inos!
[06:38:44] linuxuser9000: just installed https://github.com/tpope/vim-endwise and it's seeming to do the trick
[06:38:45] codecop: has joined #ruby
[06:40:08] Mon_Ouie: has joined #ruby
[06:40:09] Ox0dea: linuxuser9000: What's your younger sibling's power level?
[06:40:44] linuxuser9000: I have no younger sibling!
[06:41:18] Ox0dea: >> 9e3.next_float
[06:41:19] ruby[bot]: Ox0dea: # => 9000.000000000002 (https://eval.in/563373)
[06:42:18] PedramT: has joined #ruby
[06:42:31] Ariadeno_: has joined #ruby
[06:42:32] rippa: has joined #ruby
[06:45:20] baweaver: not over 9000? Disappointing
[06:45:46] elifoster: has joined #ruby
[06:46:52] Ox0dea: Did you know Vegeta actually just says "It's over nine."? :/
[06:47:20] linuxuser9000: now hold up baweaver since when is goku Vegeta's younger siblig
[06:47:58] baweaver: In the original Japanese it's over 8000
[06:48:00] baweaver: but anyways.
[06:48:29] baweaver: Vegeta has a younger sibling at least.
[06:50:00] stardiviner: has joined #ruby
[06:50:30] pawnbox: has joined #ruby
[07:01:41] zacstewart: has joined #ruby
[07:03:33] TomyLobo: has joined #ruby
[07:04:01] linuxuser9000: aw man im really liking ruby
[07:04:06] biberu: has joined #ruby
[07:04:15] linuxuser9000: this whole optional parenthesis thing is great
[07:04:27] baweaver: be careful of it
[07:04:29] shevy: yeah ruby is so liberal
[07:04:35] rbr: has joined #ruby
[07:04:39] baweaver: there are certain really bad cases for it
[07:04:39] linuxuser9000: i also set up vim with some plugins for better ruby support, and 'end' automatically pops up where it's supposed to
[07:05:08] baweaver: >> [1,2,3].reduce 0 { |a, i| a + i }
[07:05:09] ruby[bot]: baweaver: # => /tmp/execpad-7b2be4da2068/source-7b2be4da2068:2: syntax error, unexpected '{', expecting keyword_end ...check link for more (https://eval.in/563411)
[07:05:15] baweaver: >> [1,2,3].reduce(0) { |a, i| a + i }
[07:05:17] ruby[bot]: baweaver: # => 6 (https://eval.in/563412)
[07:05:27] baweaver: it'll confuse the block for an argument like that
[07:05:46] baweaver: >> [1,2,3].reduce 0 do |a, i| a + i end
[07:05:47] akem: has joined #ruby
[07:05:47] ruby[bot]: baweaver: # => 6 (https://eval.in/563413)
[07:06:11] baweaver: also be aware of how super works in Ruby, as ignoring parens does odd things as well
[07:06:27] linuxuser9000: is there a plugin i can use to look stuff up from inside ruby
[07:06:41] baweaver: expand on that
[07:06:45] linuxuser9000: when im working in lisp i can do (edit 'something) and i get a definition of "something"
[07:06:48] baweaver: do you know what a REPL is?
[07:06:52] Pumukel: has joined #ruby
[07:07:16] baweaver: https://www.youtube.com/watch?v=jDXsEzOHb2M
[07:07:57] linuxuser9000: wait... is that a repl for ruby?
[07:08:00] baweaver: think of it as a way more powerful form of IRB with a lot of those features
[07:08:06] baweaver: IRB is built in
[07:08:28] linuxuser9000: AW YISS I can apt-get install it!
[07:08:59] baweaver: http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
[07:09:12] baweaver: if you need multiple versions of it, it's a pain
[07:09:20] baweaver: and for gems like pry, always use gem install
[07:09:27] moeabdol: has joined #ruby
[07:10:00] baweaver: there are some seriously screwed up AWS Linux gems as Yum packages, but that's another story
[07:10:27] Ox0dea: jhass packages a lot of gems for Arch as well.
[07:10:42] Ox0dea: Or used to, at any rate.
[07:11:19] baweaver: I see no reason to honestly, it makes for a bigger headache with load paths and versioning things
[07:11:26] baweaver: unless bundler takes over in a directory
[07:12:07] linuxuser9000: well baweaver the guide you linked is seriously good
[07:12:19] baweaver: It's something to keep on your radar
[07:12:20] yardenbar: has joined #ruby
[07:12:28] baweaver: ACTION chuckles to himself
[07:12:35] Radar: linuxuser9000: I am the one who wrote that guide :)
[07:12:48] linuxuser9000: oh. well, thanks for the guide
[07:12:49] Radar: Thanks for your prasie!
[07:12:52] Radar: praise also
[07:13:06] linuxuser9000: I like the part that says "we do ruby, we know what's best. trust us"
[07:13:38] Ox0dea: "Ruby is a room full of consenting adults running around with scissors; trust the people with the largest pairs thereof."
[07:14:02] linuxuser9000: ok so now you just need to make a bash script to run all these commands, so i can do something like
[07:14:16] linuxuser9000: wget url | sudo tee | bash
[07:14:28] linuxuser9000: or however that is supposed to work
[07:14:45] linuxuser9000: like for wordpress' easyengine
[07:15:09] linuxuser9000: wget -qO ee rt.cx/ee && sudo bash ee
[07:15:29] linuxuser9000: just replace rt.cx/ee with those commands from your guide
[07:15:34] linuxuser9000: and voila, 1 liner install
[07:15:48] linuxuser9000: (taken from: https://easyengine.io/)
[07:17:14] Moosashi: has joined #ruby
[07:17:23] Ox0dea: linuxuser9000: https://jordaneldredge.com/blog/one-way-curl-pipe-sh-install-scripts-can-be-dangerous/
[07:17:41] Polysics_: has joined #ruby
[07:18:17] linuxuser9000: ah, that's scary
[07:18:22] Ox0dea: This practice is villified and mocked for good reason.
[07:18:24] Ox0dea: https://curlpipesh.tumblr.com/
[07:18:40] jaruga___: has joined #ruby
[07:18:48] linuxuser9000: the more you know...
[07:20:24] edwinvdgraaf: has joined #ruby
[07:20:36] loveablelobster: has joined #ruby
[07:21:39] linuxuser9000: Radar: is there a command for chruby to install the latest versino?
[07:21:55] Radar: linuxuser9000: "ruby-install ruby" will install the latest iirc
[07:22:01] Radar: or maybe "ruby-install ruby latest"
[07:22:07] Moosashi: has joined #ruby
[07:25:03] CloCkWeRX: has joined #ruby
[07:25:08] linuxuser9000: cool, fiber comes with ruby
[07:25:10] linuxuser9000: i like sockets
[07:25:10] Xeago: has joined #ruby
[07:25:35] aufi: has joined #ruby
[07:26:08] kareeoleez: has joined #ruby
[07:28:06] Mia: has joined #ruby
[07:28:06] Mia: has joined #ruby
[07:28:25] antgel: has joined #ruby
[07:29:12] shevy: do you RANDOMLY like things or something ;)
[07:29:21] goooodroot: has joined #ruby
[07:29:50] pawnbox_: has joined #ruby
[07:30:10] linuxuser9000: i used them to make a chat application, and i used them to make a responsive web game
[07:30:13] jhass: Ox0dea: baweaver I only package and use from packages CLI style gems, bundler, heroku, pry, stuff like that
[07:30:15] linuxuser9000: i like sockets from experience
[07:30:30] tAn: has joined #ruby
[07:30:33] tesuji: has joined #ruby
[07:30:58] Ox0dea: jhass: How come?
[07:31:16] pLaToOn: has joined #ruby
[07:31:44] jhass: because I consider having multiple versions of these unnecessary and like them globally available (and I never sudo gem install)
[07:33:54] pawnbox: has joined #ruby
[07:35:05] bigkevmcd: has joined #ruby
[07:35:46] pawnbox_: has joined #ruby
[07:37:53] dn`: has joined #ruby
[07:39:57] linuxuser9000: (setq am 2) vs am = 2
[07:40:06] linuxuser9000: huh, ruby wins in character count vs lisp
[07:40:19] linuxuser9000: well.. in that 1, trivial example
[07:41:50] gooooodroot: has joined #ruby
[07:41:53] shevy: it's(all(those(thingies(against(lisp
[07:42:37] shevy: I guess you'd have to systematically compare common operations, e. g. working with strings in either language
[07:42:58] linuxuser9000: you forgot your )))))
[07:43:22] shevy: I like the starting ones more!
[07:43:44] shevy: Only ever start, never finish - the lazy programmer.
[07:44:26] Caerus: ok so my bubbled version of google isn't helping. what does the ||= actually do? in: store = PStore.new('notsoflat') store[:item] ||= Array.new
[07:44:58] yeticry: has joined #ruby
[07:45:53] baweaver: http://www.rubyinside.com/what-rubys-double-pipe-or-equals-really-does-5488.html
[07:46:26] linuxuser9000: ah cool, " .chunk ({val} .. }" lets you break a list into parts based on a condition... that's cool
[07:46:29] Caerus: fyi I did google it :(
[07:46:33] Caerus: thanks baweaver
[07:46:50] baweaver: Caerus: Read through Eloquent Ruby
[07:47:02] baweaver: some base knowledge helps to know where to search
[07:47:14] dikaio: has joined #ruby
[07:47:16] Ox0dea: Caerus: http://ruby-operators.herokuapp.com/#/t-square
[07:47:23] tvw: has joined #ruby
[07:47:48] roshanavand: has joined #ruby
[07:48:56] Caerus: im almost done with 'beginning ruby' and was planning on getting Poodr before eloquent ruby
[07:49:10] Caerus: is that a goog approach or should it be the other way around
[07:49:24] baweaver: decent enough
[07:49:41] baweaver: one focuses on OO, the other on writing ruby like ruby
[07:49:46] Caerus: theres also 'well round rubyist' thoughts?
[07:50:09] baweaver: then there's Effective Ruby which is a list of gotchas and best practices.
[07:50:27] baweaver: It's been long enough since I read WGR to be an effective judge of it anymore
[07:51:44] igam: has joined #ruby
[07:52:15] linuxuser9000: omg there are so many more methods/functions than javascript has... http://ruby-doc.org/core-1.9.3/Enumerable.html
[07:52:48] baweaver: linuxuser9000 while I'm sure it's fascinating, broadcasting a play by play isn't necessary
[07:53:08] baweaver: also, that's 1.9.3 docs, you're going to want the 2.3 docs
[07:56:43] nofxx: has joined #ruby
[07:57:06] Xeago: has joined #ruby
[07:58:24] Caerus: baweaver, what did I step into with ||= lol
[07:58:34] siaW: has joined #ruby
[07:58:53] Ox0dea: Caerus: `a ||= b` is just `a = a || b`.
[07:59:01] Ox0dea: You're used to `+=` and the like, no?
[07:59:52] Caerus: thats what I thought, guess I wasn't so far out, I just have seen it pop in ruby code a lot because I
[08:00:01] patrick-sartent: has joined #ruby
[08:00:14] Caerus: *I've been reading a lot* (sorry)
[08:00:19] yardenbar: Hello, I'm trying to use net/sftp gem to upload files, the remote server requires publickey and password authentication. it fails. is there a known issue with authenticating using both publickey/password methods?
[08:02:54] toretore: has joined #ruby
[08:03:44] PedramT: has joined #ruby
[08:05:20] agit0: has joined #ruby
[08:08:40] PedramT: has joined #ruby
[08:10:28] siaW: has joined #ruby
[08:10:35] Caerus: 'a variable assignment, even if not run, immediately summons that variable into being' VERY good to know.
[08:10:58] Radar: dark ruby majicks
[08:11:39] Radar: Caerus: I recommend Well Grounded Rubyist to EVERYONE and yes that means you too.
[08:12:36] Moosashi: has joined #ruby
[08:14:26] Caerus: will do, my approach is to get comfortable enough in ruby so when I get to rails in depth, I could actually focus on one thing(rails)
[08:14:28] roshanavand: has joined #ruby
[08:16:26] karapetyan: has joined #ruby
[08:16:30] dramagods: has joined #ruby
[08:17:48] Radar: Yup. The progression I've been recommending recently is: Ruby Monk or Ruby Koans, then Well Grounded Rubyist, then Rails 4 in Action (the book I wrote for Rails)
[08:18:09] cpup: has joined #ruby
[08:18:11] CausaMortis: has joined #ruby
[08:18:12] CausaMortis_: has joined #ruby
[08:18:27] bronson: has joined #ruby
[08:19:30] Caerus: oh yeah I checked on your book, that and AWR 4 are on my todo list somewhere in the future
[08:20:16] Caerus: ACTION gazes into the far away future
[08:22:14] vondruch: has joined #ruby
[08:22:23] pawnbox: has joined #ruby
[08:22:44] antgel: has joined #ruby
[08:23:41] shevy: ruby 10.0!
[08:24:19] jackdaniel: (incf *ruby*)
[08:24:27] kareeoleez: has joined #ruby
[08:25:05] Caerus: "I demand that this operator is called the "amazed duck" operator from now on." <-- well there is a mnemonic :D
[08:26:09] shevy: the amazed duck is fighting against the lonely operator
[08:26:15] Couch: has joined #ruby
[08:27:00] Bounga: has joined #ruby
[08:29:10] gdp: has joined #ruby
[08:29:22] ur5us: has joined #ruby
[08:30:01] ICantCook: has joined #ruby
[08:30:50] PedramT: has joined #ruby
[08:32:30] anisha: has joined #ruby
[08:34:44] tAn: has joined #ruby
[08:34:58] edwinvdgraaf: has joined #ruby
[08:36:05] karapetyan: has joined #ruby
[08:36:26] shinnya: has joined #ruby
[08:37:30] aupadhye: has joined #ruby
[08:42:15] alexherbo2: has joined #ruby
[08:43:23] rafadc: has joined #ruby
[08:44:52] apeiros: oh wow, missed ruby 2.3.1
[08:47:28] Gasher: has joined #ruby
[08:48:33] shevy: you are getting old!
[08:48:56] shevy: I only noticed it via http://distrowatch.com/ myself
[08:49:36] Ox0dea: The living are the dying.
[08:49:54] zacstewart: has joined #ruby
[08:51:02] moeabdol: has joined #ruby
[08:51:46] pandaant: has joined #ruby
[08:53:15] goodroot: has joined #ruby
[08:54:55] mikecmpbll: has joined #ruby
[08:56:14] xcesariox: has joined #ruby
[08:58:38] kareeoleez: has joined #ruby
[09:01:16] pawnbox: has joined #ruby
[09:05:31] PedramT: has joined #ruby
[09:11:11] weckl: has joined #ruby
[09:11:16] dikaio: has joined #ruby
[09:12:21] malcolmva: has joined #ruby
[09:13:23] marius: has joined #ruby
[09:14:40] ponga: has joined #ruby
[09:16:24] skade: has joined #ruby
[09:17:56] gooodroot: has joined #ruby
[09:18:31] cpup: has joined #ruby
[09:19:13] kareeoleez: has joined #ruby
[09:20:38] antgel: has joined #ruby
[09:21:13] karapetyan: has joined #ruby
[09:21:21] e4xit: has joined #ruby
[09:21:34] stef204: has joined #ruby
[09:23:14] goooodroot: has joined #ruby
[09:24:11] Bounga: has joined #ruby
[09:25:13] pawnbox: has joined #ruby
[09:28:00] skade: has joined #ruby
[09:28:22] ferr: has joined #ruby
[09:30:38] karapetyan: has joined #ruby
[09:32:38] gooooodroot: has joined #ruby
[09:34:41] ismaelga: has joined #ruby
[09:34:59] Moosashi: has joined #ruby
[09:36:51] dramagods: has joined #ruby
[09:37:46] tAn: has joined #ruby
[09:39:00] n008f4g_: has joined #ruby
[09:39:13] devbug: has joined #ruby
[09:39:48] d0lph1n98: has joined #ruby
[09:43:12] pawnbox: has joined #ruby
[09:43:25] blaxter: has joined #ruby
[09:45:00] skade: has joined #ruby
[09:46:45] htmldrum: has joined #ruby
[09:47:31] pLaTo0n: has joined #ruby
[09:49:46] tvw: has joined #ruby
[09:51:33] karapetyan: has joined #ruby
[09:54:53] karapetyan: has joined #ruby
[09:55:42] pawnbox_: has joined #ruby
[09:56:13] karapetyan: has joined #ruby
[09:58:28] Xeago: has joined #ruby
[09:58:36] dn`_: has joined #ruby
[09:58:55] PedramT: has joined #ruby
[10:00:39] loveablelobster: has joined #ruby
[10:01:04] karapetyan: has joined #ruby
[10:02:44] sarlalian: has joined #ruby
[10:03:39] johnny56: has joined #ruby
[10:05:14] skade: has joined #ruby
[10:05:46] solocshaw: has joined #ruby
[10:06:23] stef204: has joined #ruby
[10:08:54] kam270: has joined #ruby
[10:09:31] skade: has joined #ruby
[10:09:51] dn`: has joined #ruby
[10:10:19] siaW: has joined #ruby
[10:10:41] rafadc: has joined #ruby
[10:10:44] hk238: has joined #ruby
[10:11:28] siaW: has joined #ruby
[10:13:43] aghalarp: has joined #ruby
[10:14:42] ebbflowgo: has joined #ruby
[10:18:00] dionysus69: has joined #ruby
[10:19:51] moeabdol: has joined #ruby
[10:20:20] bronson: has joined #ruby
[10:21:03] htmldrum: has joined #ruby
[10:21:50] ur5us: has joined #ruby
[10:23:44] PedramT: has joined #ruby
[10:25:24] crameth: has joined #ruby
[10:26:09] Xiti`: has joined #ruby
[10:28:07] greister: has joined #ruby
[10:29:00] kareeoleez: has joined #ruby
[10:29:54] idletask: has joined #ruby
[10:30:35] Stan: has joined #ruby
[10:30:50] rafadc: has joined #ruby
[10:31:03] croberts: has joined #ruby
[10:32:22] jgrevich_: has joined #ruby
[10:32:38] mr_rich102: has joined #ruby
[10:32:39] karapetyan: has joined #ruby
[10:33:06] zenlot6: has joined #ruby
[10:33:20] rarruda_: has joined #ruby
[10:34:14] FooMunki: has joined #ruby
[10:34:15] PedramT: has joined #ruby
[10:35:07] ReK2GnULinuX: has joined #ruby
[10:35:07] ReK2GnULinuX: has joined #ruby
[10:35:39] shinnya_: has joined #ruby
[10:36:11] AnoHito_: has joined #ruby
[10:36:21] crowell_: has joined #ruby
[10:36:36] Plas: has joined #ruby
[10:36:36] tedwards: has joined #ruby
[10:36:50] araujo_: has joined #ruby
[10:37:19] braincrash: has joined #ruby
[10:37:21] priodev: has joined #ruby
[10:37:27] Fridtjof: has joined #ruby
[10:37:57] zacstewart: has joined #ruby
[10:38:04] valeri_ufo: has joined #ruby
[10:38:38] howdoi: has joined #ruby
[10:38:52] djellemah_: has joined #ruby
[10:39:01] hostess: has joined #ruby
[10:40:03] senayar: has joined #ruby
[10:40:06] Vile`: has joined #ruby
[10:40:09] tAn: has joined #ruby
[10:40:21] Fire-Dragon-DoL: has joined #ruby
[10:41:01] jaruga___: has joined #ruby
[10:42:03] eggoez: has joined #ruby
[10:43:23] araujo_: has joined #ruby
[10:44:11] aghalarp: has joined #ruby
[10:44:24] davidcelis: has joined #ruby
[10:44:24] davidcelis: has joined #ruby
[10:45:12] Ox0dea: has joined #ruby
[10:46:41] anisha_: has joined #ruby
[10:47:07] giz|work: has joined #ruby
[10:48:25] moeabdol: has joined #ruby
[10:49:16] Xeago: has joined #ruby
[10:51:23] shinnya: has joined #ruby
[10:56:35] rodfersou: has joined #ruby
[10:59:14] infernix: has joined #ruby
[10:59:25] Xeago: has joined #ruby
[10:59:49] johnmilton: has joined #ruby
[10:59:56] minimalism: has joined #ruby
[11:01:39] PedramT: has joined #ruby
[11:01:53] sarlalian: has joined #ruby
[11:02:00] kits: has joined #ruby
[11:05:05] anisha_: has joined #ruby
[11:06:54] chipotle: has joined #ruby
[11:06:57] Ebok: has joined #ruby
[11:07:40] madgen: has joined #ruby
[11:09:00] aghalarp: has joined #ruby
[11:09:03] Mon_Ouie: has joined #ruby
[11:09:36] kits: Hiya guys and gals, here's a question -
[11:09:43] kits: Say i have a regex I want to match against later. What's the best way to describe how to interpolate the matches into a string when the match is actually run?
[11:09:58] kits: (i'd like to store this as a rule in a file, so a lambda doesn't work for me)
[11:13:18] dretnx: has joined #ruby
[11:15:28] Xeago: has joined #ruby
[11:15:28] ebbflowgo: has joined #ruby
[11:17:05] kareeoleez: has joined #ruby
[11:18:17] CloCkWeRX: has joined #ruby
[11:18:50] kareeole_: has joined #ruby
[11:19:08] govg: has joined #ruby
[11:19:21] mikeiniowa: has joined #ruby
[11:28:47] slackbotgz: has joined #ruby
[11:32:52] ldnunes: has joined #ruby
[11:32:54] IrishGringo: has joined #ruby
[11:34:10] CloCkWeRX: has left #ruby: ()
[11:38:15] bruce_lee: has joined #ruby
[11:42:33] Caerus: ACTION yawns :O
[11:42:43] sdothum: has joined #ruby
[11:42:56] Caerus: see ya later #ruby
[11:43:05] tAn: has joined #ruby
[11:45:28] d0lph1n98: has joined #ruby
[11:46:33] karapetyan: has joined #ruby
[11:46:40] stannard: has joined #ruby
[11:46:53] GodFather: has joined #ruby
[11:53:35] blingrang: has joined #ruby
[11:53:52] blingrang: has left #ruby: ("WeeChat 1.3")
[11:57:56] duckpuppy: has joined #ruby
[11:59:06] noServic1: has joined #ruby
[12:00:45] moeabdol: has joined #ruby
[12:00:50] blingrang: has joined #ruby
[12:01:29] blingrang: has joined #ruby
[12:02:16] Xeago: has joined #ruby
[12:03:34] sdothum: has joined #ruby
[12:04:09] godzillaenlacasa: has joined #ruby
[12:10:26] blingrang: has joined #ruby
[12:10:44] blingrang: has joined #ruby
[12:11:37] Polysics: has joined #ruby
[12:12:05] twistedpixels: has joined #ruby
[12:13:06] twistedpixels: has joined #ruby
[12:13:31] goodroot: has joined #ruby
[12:13:35] twistedpixels: has joined #ruby
[12:16:45] Xiti: has joined #ruby
[12:16:47] n008f4g_: has joined #ruby
[12:17:49] synthroid: has joined #ruby
[12:20:04] flashpoint9: has joined #ruby
[12:20:17] giz|work: has joined #ruby
[12:20:19] FooMunki: has joined #ruby
[12:20:39] ebbflowgo: has joined #ruby
[12:20:56] banister: has joined #ruby
[12:22:10] bronson: has joined #ruby
[12:22:42] infernix: has joined #ruby
[12:24:26] skade: has joined #ruby
[12:25:04] IrishGringo: has joined #ruby
[12:26:03] zacstewart: has joined #ruby
[12:27:01] moeabdol: has joined #ruby
[12:36:49] PedramT: has joined #ruby
[12:38:13] johnmilton: has joined #ruby
[12:39:59] GinoMan2440: has joined #ruby
[12:40:47] karapetyan: has joined #ruby
[12:41:45] ponga: has joined #ruby
[12:44:57] tAn: has joined #ruby
[12:45:14] kareeoleez: has joined #ruby
[12:46:03] banister: has joined #ruby
[12:47:34] tuelz: has joined #ruby
[12:49:10] tuelz: are dot and double colon the same thing?
[12:49:12] symm-: has joined #ruby
[12:49:41] nerium: has joined #ruby
[12:49:44] tildes: has joined #ruby
[12:49:49] tuelz: just found an old codebase calling instance methods with ClassInstance::instance_method and was a bit surprised it worked
[12:50:34] cpup: has joined #ruby
[12:51:17] crystal77: has joined #ruby
[12:52:29] tuelz: hmm, well can't be the same thing since I can't define a namespace in a class definition
[12:52:40] tuelz: (with dot instead of double colon)
[12:54:16] paatalaBhairavi: has joined #ruby
[12:56:28] JakFrist: has joined #ruby
[12:57:59] toretore: tuelz: it only works for constant and class method lookup
[12:58:12] toretore: tuelz: for class methods, dot is preferred
[12:58:40] toretore: ClassName::CONSTANT; ClassName.method
[12:58:42] ChiefAlexander: has joined #ruby
[12:59:13] p1k: has joined #ruby
[13:01:44] roshanavand: has joined #ruby
[13:01:58] yardenbar: Hi all, How do I load the en-US locale in I18n gem?
[13:02:27] solars: has joined #ruby
[13:02:28] ramortegui: has joined #ruby
[13:05:11] charliesome: has joined #ruby
[13:05:58] RegulationD: has joined #ruby
[13:07:10] dANOKELOFF: has joined #ruby
[13:09:45] roadt_: has joined #ruby
[13:10:18] pawnbox: has joined #ruby
[13:10:31] noService: has joined #ruby
[13:10:31] deadnull_: has joined #ruby
[13:10:46] roadt_: has joined #ruby
[13:11:43] roadt_: has joined #ruby
[13:12:10] PedramT: has joined #ruby
[13:14:15] sgambino: has joined #ruby
[13:14:18] pawnbox: has joined #ruby
[13:14:34] diegoviola: has joined #ruby
[13:16:14] idefine: has joined #ruby
[13:16:31] statelesscode: has joined #ruby
[13:20:07] rbennacer: has joined #ruby
[13:20:43] pawnbox: has joined #ruby
[13:21:08] chey: has joined #ruby
[13:21:24] GodFather: has joined #ruby
[13:21:31] ebbflowgo: has joined #ruby
[13:21:41] Limix: has joined #ruby
[13:22:28] stef204: has joined #ruby
[13:22:39] rbennacer: has joined #ruby
[13:22:52] yardenbar: Hi all, How do I load the en-US locale in I18n gem?
[13:24:00] malconis: has joined #ruby
[13:24:50] sharkman: has joined #ruby
[13:25:22] PedramT: has joined #ruby
[13:26:09] rbennacer: has joined #ruby
[13:27:00] swills: has joined #ruby
[13:28:26] JakFrist: has joined #ruby
[13:29:43] idefine: has joined #ruby
[13:31:10] DoubleMalt: has joined #ruby
[13:31:42] stef204: has joined #ruby
[13:31:50] pawnbox: has joined #ruby
[13:32:32] emilford: has joined #ruby
[13:33:28] kareeole_: has joined #ruby
[13:34:06] kareeole_: has joined #ruby
[13:34:21] aegis3121: has joined #ruby
[13:36:30] pawnbox: has joined #ruby
[13:37:21] igam`: has joined #ruby
[13:37:38] newjersey: has joined #ruby
[13:39:35] S_Waqas: has joined #ruby
[13:40:02] loveablelobster: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[13:42:12] solars: has joined #ruby
[13:43:00] newjersey: has joined #ruby
[13:43:55] moeabdol: has joined #ruby
[13:44:01] IrishGringo: has joined #ruby
[13:44:27] mtkd: has joined #ruby
[13:44:34] Mon_Ouie: has joined #ruby
[13:46:13] idefine_: has joined #ruby
[13:47:04] sarlalian: has joined #ruby
[13:47:31] darix: yardenbar: en_US is the normal thing you look for
[13:47:38] madgen: has joined #ruby
[13:48:12] zacstewart: has joined #ruby
[13:48:43] kareeoleez: has joined #ruby
[13:49:00] tAn: has joined #ruby
[13:49:39] karapetyan: has joined #ruby
[13:50:51] nando293921: has joined #ruby
[13:51:20] idefine: has joined #ruby
[13:52:01] idefine: has joined #ruby
[13:52:06] yardenbar: darix, How do I load it?
[13:52:29] SilverKey: has joined #ruby
[13:52:39] yardenbar: Tried: I18n.default_locale = :"en_US", but I get invalid locale exception again
[13:53:32] renderful: has joined #ruby
[13:53:38] nando294021: has joined #ruby
[13:54:58] sharkman: hi can i ask a question
[13:55:28] yardenbar: chey, Nope: 2.0.0-p645 :024 > I18n.default_locale = "en_US"
[13:55:28] yardenbar: I18n::InvalidLocale: "en_US" is not a valid locale
[13:55:55] yardenbar: Its pure ruby, no rails in the picture, should have mentioned it at the begining
[13:57:41] Eiam_: has joined #ruby
[13:57:51] sharkman: if i have a server running ruby code. and the server also has port forwarding set up at port 10,000 to go through a tunnel. how would i make ruby Mechanize scrape through that port?
[13:58:56] GinoMan2440: has joined #ruby
[13:59:26] shadeslayer: has joined #ruby
[13:59:39] whippythellama: has joined #ruby
[13:59:47] toretore: sharkman: localhost:10000 ?
[13:59:50] renderful: has joined #ruby
[14:00:12] sharkman: how do i make mechanize do that
[14:00:22] toretore: what do you mean? that's the url
[14:00:31] toretore: or are you talking about a proxy?
[14:00:52] toretore: sharkman: need more details
[14:00:53] JakFrist: has joined #ruby
[14:00:59] emilford: has joined #ruby
[14:01:42] r0b3rt: has joined #ruby
[14:01:43] sharkman: i guess a proxy? i want the server to go through the tunnel and scrape sites from the internet via the IP address on the computer it is tunelling to
[14:02:50] Es0teric: has joined #ruby
[14:03:21] crystal77: has joined #ruby
[14:03:45] toretore: sharkman: what do you mean by tunnel in this case?
[14:04:28] sharkman: i logged into the server from my computer with a ssh reverse tunnel (ssh -R) and i want to use it with ruby code
[14:05:14] idle_task: has joined #ruby
[14:05:39] moeabdol: has joined #ruby
[14:06:00] cdg: has joined #ruby
[14:07:32] toretore: sharkman: you can use ssh to create a socks proxy
[14:07:40] idefine_: has joined #ruby
[14:07:59] sharkman: oh interesting
[14:09:03] akem: has joined #ruby
[14:09:28] shevy: has joined #ruby
[14:09:47] karmatr0n: has joined #ruby
[14:12:15] jmignault: has joined #ruby
[14:12:21] tuelz: has joined #ruby
[14:13:35] rbennacer: has joined #ruby
[14:14:11] jmignault: has joined #ruby
[14:15:05] SilverKey: has joined #ruby
[14:15:08] idefine: has joined #ruby
[14:18:25] zast: has joined #ruby
[14:18:43] arup_r: has joined #ruby
[14:18:50] ceegee: has joined #ruby
[14:19:15] rbennacer: has joined #ruby
[14:19:38] arup_r: “A Ruby class definition must contain at least one method and one data member. (Do not consider methods that are inherited from BasicObject or Object--only methods explicitly defined in the class)” It is true or false? I marked it as `false` though. Just checking if I am corrct or not.
[14:19:52] openstruct: has joined #ruby
[14:20:55] ceegee: I am using rdoc for a documentation project and I have a little problem with the shown page name in the html version of the docs. only the plain filename is shown but I would like to have the full filepath in there.
[14:21:19] ceegee: is there a tag I can place in my source files?
[14:21:35] idefine_: has joined #ruby
[14:22:31] mlakewood: has joined #ruby
[14:23:20] tuelz: toretore: I'm in a ruby repl calling String::new and it works just fine...
[14:23:35] ebbflowgo: has joined #ruby
[14:23:36] Ebok: has joined #ruby
[14:23:39] tuelz: I also defined an instance method and a class method and both are called just fine with ::
[14:24:00] bronson: has joined #ruby
[14:24:10] stef204: has joined #ruby
[14:25:03] tuelz: try String::ancestors for instance or even String::new::inspect
[14:25:58] TheHodge: has joined #ruby
[14:27:21] BSaboia: has joined #ruby
[14:29:01] ItSANgo: has joined #ruby
[14:29:04] ixti: has joined #ruby
[14:29:14] toretore: tuelz: they must have changed it, it didn't use to work with instance methods
[14:29:16] emilford: has joined #ruby
[14:29:59] toretore: >> class Empty; end # arup_r
[14:30:23] symm-: has joined #ruby
[14:30:44] sepp2k: has joined #ruby
[14:30:45] arup_r: toretore: yeah, so my answer false is correct. right?
[14:31:03] arup_r: sometime easy question has tricks,, :) so I am checking
[14:32:21] tuelz: arup_r: honestly it's just a really poorly worded question. I would say false though
[14:32:32] arup_r: hum. I know
[14:33:01] toretore: yes you were right
[14:33:55] idefine: has joined #ruby
[14:34:12] agent_white: has joined #ruby
[14:34:36] szu: has joined #ruby
[14:38:12] kareeoleez: has joined #ruby
[14:39:25] tAn: has joined #ruby
[14:40:35] Rubycito: has joined #ruby
[14:41:54] shevy: has joined #ruby
[14:42:10] gooodroot: has joined #ruby
[14:45:20] gix-: has joined #ruby
[14:45:49] CausaMortis__: has joined #ruby
[14:45:59] patrick_star_3: has joined #ruby
[14:46:38] terminalrecluse: has joined #ruby
[14:47:38] agent_white: Mornin' folks
[14:48:23] chey: afternoon
[14:49:40] dhollinger: has joined #ruby
[14:51:46] RegulationD: has joined #ruby
[14:52:09] nfk: has joined #ruby
[14:53:34] JakFrist: has joined #ruby
[14:54:17] SilverKey: has joined #ruby
[14:54:31] PedramT: has joined #ruby
[14:54:47] PedramT: has joined #ruby
[14:55:20] LastWhisper____: has joined #ruby
[14:55:49] PedramT: has joined #ruby
[14:56:34] LastWhisper____: has joined #ruby
[14:58:39] scorphus: has joined #ruby
[14:59:31] jhack: has joined #ruby
[14:59:38] SuperLag: has joined #ruby
[15:00:31] idefine: has joined #ruby
[15:00:33] freerobby: has joined #ruby
[15:01:13] idefine: has joined #ruby
[15:01:41] arup_r: When extending the Integer class by adding to_b and to_base method, we automatically added the same two methods to `Fixnum`. and What is the other class where these 2 methods added also?
[15:02:28] dionysus69: has joined #ruby
[15:02:56] arup_r: Ok Bignum
[15:03:58] Devalo: has joined #ruby
[15:05:00] felltir: has joined #ruby
[15:05:03] Xeago: has joined #ruby
[15:05:37] tercenya: has joined #ruby
[15:05:51] tax: has joined #ruby
[15:06:59] Xeago: has joined #ruby
[15:08:13] Xeago: has joined #ruby
[15:08:25] crowell: has joined #ruby
[15:09:14] solocshaw1: has joined #ruby
[15:09:28] robbyoconnor: has joined #ruby
[15:09:40] thomasfedb_: has joined #ruby
[15:09:52] acalewin_: has joined #ruby
[15:10:06] davidcelis_: has joined #ruby
[15:10:47] thorgi_: has joined #ruby
[15:10:57] antgel_: has joined #ruby
[15:10:58] ryotarai_: has joined #ruby
[15:11:18] FifthWall_: has joined #ruby
[15:11:20] stannard: has joined #ruby
[15:11:41] tvon: has joined #ruby
[15:11:46] zel: has joined #ruby
[15:11:54] ponga_: has joined #ruby
[15:11:55] sarlalian_: has joined #ruby
[15:11:59] hays_: has joined #ruby
[15:12:00] Expanse_: has joined #ruby
[15:12:01] northrup: has joined #ruby
[15:12:13] DefV_: has joined #ruby
[15:12:17] rubirc: has joined #ruby
[15:12:20] howdoi_: has joined #ruby
[15:12:23] yosafbridge`: has joined #ruby
[15:12:26] galeido^: has joined #ruby
[15:12:27] ozzloy_: has joined #ruby
[15:12:32] unreal_: has joined #ruby
[15:12:50] krandi: has joined #ruby
[15:13:13] JoshL_: has joined #ruby
[15:13:16] troulouliou_div2: has joined #ruby
[15:13:17] x77686d: has joined #ruby
[15:13:20] hfp__work: has joined #ruby
[15:13:32] swistak35_: has joined #ruby
[15:13:37] wlanboy-: has joined #ruby
[15:13:47] goooodroot: has joined #ruby
[15:14:11] c355E3B_: has joined #ruby
[15:14:36] SirFunk_: has joined #ruby
[15:14:48] AckZ_: has joined #ruby
[15:14:51] tw1sted: has joined #ruby
[15:15:01] peterhu_: has joined #ruby
[15:15:46] aupadhye_: has joined #ruby
[15:15:57] deavidsedice: has joined #ruby
[15:15:58] Zarthus_: has joined #ruby
[15:16:38] im0b_: has joined #ruby
[15:16:53] Skelz0r_: has joined #ruby
[15:17:24] igam``: has joined #ruby
[15:18:03] heftig_: has joined #ruby
[15:18:22] mrsolow: has joined #ruby
[15:18:42] ceegee_: has joined #ruby
[15:18:42] Mekkis_: has joined #ruby
[15:19:17] z3uS|: has joined #ruby
[15:19:34] audiodude_: has left #ruby: ()
[15:19:40] joeyjones_: has joined #ruby
[15:19:43] dmnd_: has joined #ruby
[15:19:44] madgen: has joined #ruby
[15:19:46] xsdg_: has joined #ruby
[15:19:47] tlolczyk_: has joined #ruby
[15:20:01] csaunders_: has joined #ruby
[15:20:14] Ispira: has joined #ruby
[15:20:46] nfk: Capfile locked at 3.4.1, but 3.5.0 is loaded
[15:20:51] CalimeroTeknik_: has joined #ruby
[15:20:59] nfk: why is it doing this to me?
[15:21:06] shadeslayer_: has joined #ruby
[15:21:10] ckrailo_: has joined #ruby
[15:21:15] jimeh_: has joined #ruby
[15:21:23] matt_d_: has joined #ruby
[15:21:25] freerobby: has joined #ruby
[15:21:26] nfk: i even had to google just to find where it has set that lock
[15:21:38] jimeh: has joined #ruby
[15:21:40] StevenXL: has joined #ruby
[15:21:40] _whitelogger: has joined #ruby
[15:21:40] shortdudey123: has joined #ruby
[15:21:40] troter__________: has joined #ruby
[15:21:40] g3funk: has joined #ruby
[15:21:41] astrobun_: has joined #ruby
[15:21:58] zapata: has joined #ruby
[15:21:58] Trieste: has joined #ruby
[15:21:59] braderhart: has joined #ruby
[15:22:13] braderhart: has joined #ruby
[15:22:13] troter__________: has joined #ruby
[15:22:19] hobodave: has joined #ruby
[15:22:33] M-Kodo: has joined #ruby
[15:22:36] ddfreyne_: has joined #ruby
[15:22:55] weckl: has joined #ruby
[15:23:04] PedramT: has joined #ruby
[15:23:08] binaryplease: has joined #ruby
[15:23:17] nfk: let me guess, the config is valid only for the given minor version but there's no tool to automatically update it? FOR FUCKS SAKE, WHAT IS THIS?
[15:23:19] kalzz: has joined #ruby
[15:23:24] dellavg: has joined #ruby
[15:23:31] Rasi: has joined #ruby
[15:23:41] Caelum: has joined #ruby
[15:24:15] ebbflowgo: has joined #ruby
[15:24:18] solocshaw: has joined #ruby
[15:24:24] ruby-lang318: has joined #ruby
[15:24:46] TomyLobo: has joined #ruby
[15:24:56] scepticulous: has joined #ruby
[15:24:56] Tharbakim: has joined #ruby
[15:26:08] nyuszika7h: has joined #ruby
[15:26:32] fsvehla: has joined #ruby
[15:27:28] mjuszczak: has joined #ruby
[15:27:40] PedramT: has joined #ruby
[15:28:16] mjuszczak: has joined #ruby
[15:28:19] berserk_ren: has joined #ruby
[15:28:38] apeiros: arup_r: you do realize that to_s already accepts a base?
[15:29:03] arup_r: apeiros: means?
[15:29:14] mjuszczak: has joined #ruby
[15:29:14] arup_r: I don't get you..
[15:29:22] apeiros: it means adding a to_base method makes no sense
[15:29:43] Xeago: has joined #ruby
[15:30:16] zacts: has joined #ruby
[15:30:24] arup_r: ok. apeiros that was a Ruby test I answered yesterday.. so I was checking here the questions I had doubt
[15:30:38] Devalo: has joined #ruby
[15:31:03] arup_r: I saw 1 question What library has replaced debug in version 2.x or higher of Ruby? I still don't know what it means
[15:31:11] arup_r: Because I see the lib still present
[15:31:15] shinnya: has joined #ruby
[15:32:00] GnuYawk: has joined #ruby
[15:32:06] GnuYawk: has joined #ruby
[15:32:15] xcesariox: has joined #ruby
[15:33:13] RegulationD: has joined #ruby
[15:34:08] deepak: has joined #ruby
[15:36:08] spectra: has joined #ruby
[15:38:10] krasnus: has joined #ruby
[15:38:12] blackmesa: has joined #ruby
[15:38:35] sharkman: has joined #ruby
[15:38:42] sharkman: how do i read the code in a ruby gem??!
[15:38:58] apeiros: you open it
[15:39:01] epitron: has joined #ruby
[15:39:14] apeiros: gem which $GEMNAME
[15:39:18] apeiros: shows you the path
[15:39:31] apeiros: or actually, it's not $GEMNAME, but $REQUIRE_NAME
[15:39:53] jokester: has joined #ruby
[15:40:06] tuelz: has joined #ruby
[15:40:18] sharkman: oh wow okay thanks
[15:40:43] apeiros: pry also has some commands to quickly open a file in your $EDITOR
[15:40:55] rcvalle: has joined #ruby
[15:41:12] Arahael: has joined #ruby
[15:41:15] troys: has joined #ruby
[15:41:15] sharkman: wow this socksify gem is really small. just two files like 100 lines of code
[15:41:22] HalcyonicStorm: has joined #ruby
[15:41:26] HalcyonicStorm: has left #ruby: ()
[15:42:13] drusepth: has joined #ruby
[15:43:09] xpt: has joined #ruby
[15:43:15] auxbuss: has joined #ruby
[15:43:49] fedexo: has joined #ruby
[15:44:30] smathy: has joined #ruby
[15:45:25] moeabdol: has joined #ruby
[15:47:01] duderonomy: has joined #ruby
[15:47:15] anisha: has joined #ruby
[15:47:30] bjmllr: has joined #ruby
[15:48:09] lsmola: has joined #ruby
[15:48:26] amclain: has joined #ruby
[15:48:54] dionysus69: has joined #ruby
[15:49:57] [Butch]: has joined #ruby
[15:50:13] elifoster: has joined #ruby
[15:50:20] charliesome: has joined #ruby
[15:50:30] synthroid: has joined #ruby
[15:50:56] arup_r: has left #ruby: ()
[15:50:56] DoubleMalt: has joined #ruby
[15:53:39] dikaio: has joined #ruby
[15:53:40] shevy: has joined #ruby
[15:54:12] heyimwill: has joined #ruby
[15:54:41] Guest57187: has joined #ruby
[15:55:06] SilverKey: has joined #ruby
[15:55:34] ljames: has joined #ruby
[15:56:23] platzhirsch: has joined #ruby
[15:56:52] gigetoo: has joined #ruby
[15:58:48] jackjackdripper: has joined #ruby
[15:59:17] chipotle: has joined #ruby
[15:59:20] sp4rrow: has joined #ruby
[16:01:37] Sven_: has joined #ruby
[16:01:54] Sven_: hey :) I need some help with ruby. QUite new though
[16:02:41] nfk: you just state your question on irc
[16:02:57] Sven_: sorry new to that :D
[16:03:37] hobodave_: has joined #ruby
[16:04:13] Sven_: so basically, how can I write a CLI that watches specific directories for changes without blocking the console? For example writing 'autosort watch ~/Downloads' should start watching the downloads folder but let me proceed with more commands.
[16:04:40] nfk: Sven_, that's not a ruby question, generally
[16:04:43] fragtastic: has left #ruby: ("Leaving")
[16:05:24] araujo: has joined #ruby
[16:05:30] Sven_: tough that is the only place I am aware of that could help me out :(
[16:06:01] kareeoleez: has joined #ruby
[16:06:31] nfk: 1) you should use inotify or something like that; 2) you run in it in the background by appending & at the end of command in bash
[16:06:59] tlarevo: has joined #ruby
[16:07:05] MrKeuner: has joined #ruby
[16:07:21] MrKeuner: hi, what are common ruby file extensions?
[16:07:39] aufi: has joined #ruby
[16:07:45] Caerus|Away: has joined #ruby
[16:07:56] nfk: MrKeuner, and none for scripts in $PATH
[16:08:06] mjuszczak: has joined #ruby
[16:08:10] Sven_: thank you nfk
[16:08:40] nfk: Sven_, well, there's often something like -d switch for daemon mode which is what you asked for but it might be enough to run it in the background
[16:08:46] MrKeuner: bougyman, both are text files?
[16:08:47] nfk: depends on the way it was written
[16:09:33] bronson: has joined #ruby
[16:10:02] CausaMortis: has joined #ruby
[16:10:03] CausaMortis_: has joined #ruby
[16:10:03] benlieb: has joined #ruby
[16:11:35] shibly: has joined #ruby
[16:11:53] shibly: has left #ruby: ()
[16:13:37] noService: has joined #ruby
[16:15:26] c_nick: has joined #ruby
[16:16:51] alexherbo2: has joined #ruby
[16:17:02] sharkman: has anyone here used socksify? after i set TCPSocket::socks_server and TCPSocket::socks_port, how can i close the connection and go back to the way it was?
[16:18:30] lxsameer: has joined #ruby
[16:19:02] Phasee: has joined #ruby
[16:19:49] karapetyan: has joined #ruby
[16:20:45] fmcgeough: has joined #ruby
[16:21:24] s00pcan: has joined #ruby
[16:24:17] PedramT_: has joined #ruby
[16:25:59] fsvehla: has joined #ruby
[16:26:55] chihhsin: has joined #ruby
[16:27:09] isxek: has joined #ruby
[16:27:32] Guest38: has joined #ruby
[16:30:32] kies: has joined #ruby
[16:30:52] Ebok: has joined #ruby
[16:30:56] stannard: has joined #ruby
[16:33:25] c_nick: has left #ruby: ()
[16:34:40] sp4rrow: has joined #ruby
[16:34:44] chipotle: has joined #ruby
[16:36:36] sp4rrow: has joined #ruby
[16:36:37] tvw: has joined #ruby
[16:39:42] karapetyan: has joined #ruby
[16:40:20] charliesome_: has joined #ruby
[16:40:54] devbug: has joined #ruby
[16:41:28] Mon_Ouie: has joined #ruby
[16:41:44] Xeago: has joined #ruby
[16:43:28] dopamean_: has joined #ruby
[16:45:43] bronson: has joined #ruby
[16:46:15] theery: has joined #ruby
[16:47:05] tvw: has joined #ruby
[16:47:15] crystal77: has joined #ruby
[16:48:44] SCHAAP137: has joined #ruby
[16:50:52] Limix: has joined #ruby
[16:50:53] madgen: has joined #ruby
[16:52:17] Ishido: has joined #ruby
[16:53:33] duderono_: has joined #ruby
[16:54:34] Xeago_: has joined #ruby
[16:55:36] hobodave: has joined #ruby
[16:56:29] dionysus69: has joined #ruby
[16:58:46] Cohedrin: has joined #ruby
[16:58:46] madgen: has joined #ruby
[16:59:29] szu: has joined #ruby
[16:59:58] idefine: has joined #ruby
[17:01:28] S_Waqas: has joined #ruby
[17:03:32] ramfjord: has joined #ruby
[17:04:43] S_Waqas: has joined #ruby
[17:05:12] pawnbox: has joined #ruby
[17:05:16] S_Waqas: has joined #ruby
[17:05:42] Xeago_: has joined #ruby
[17:06:03] S_Waqas: has joined #ruby
[17:06:21] whathapp_: has joined #ruby
[17:06:30] silentpost: has joined #ruby
[17:07:16] zzak: has joined #ruby
[17:07:24] S_Waqas: has joined #ruby
[17:07:49] mlakewood: has joined #ruby
[17:08:30] Elysia: has joined #ruby
[17:09:33] moeabdol: has joined #ruby
[17:09:40] S_Waqas: has joined #ruby
[17:09:49] duderonomy: has joined #ruby
[17:10:59] tildes_: has joined #ruby
[17:11:30] AlexRussia: has joined #ruby
[17:11:34] fsvehla: has joined #ruby
[17:12:56] sesquipedalian: has joined #ruby
[17:13:54] djbkd: has joined #ruby
[17:14:22] aegis3121: has joined #ruby
[17:14:43] S_Waqas: has joined #ruby
[17:14:47] northrup: has joined #ruby
[17:16:02] emilford: has joined #ruby
[17:16:22] S_Waqas: has joined #ruby
[17:16:48] ozzloy: has joined #ruby
[17:17:10] smathy: has joined #ruby
[17:17:13] nettoweb: has joined #ruby
[17:18:14] drusepth: has joined #ruby
[17:20:44] tvon: has joined #ruby
[17:21:53] SilverKey: has joined #ruby
[17:22:07] gooooodroot: has joined #ruby
[17:24:18] Cohedrin_: has joined #ruby
[17:24:20] solars: has joined #ruby
[17:25:40] ebbflowgo: has joined #ruby
[17:27:07] crystal77: has joined #ruby
[17:27:36] j0n3: has joined #ruby
[17:27:55] replay: has joined #ruby
[17:28:34] giz|work: has joined #ruby
[17:28:39] replay: has joined #ruby
[17:28:42] tAn: has joined #ruby
[17:28:43] crystal77: has joined #ruby
[17:28:49] chipotle: has joined #ruby
[17:29:09] replay: has joined #ruby
[17:29:44] nprorepti: has joined #ruby
[17:31:04] prestorium: has joined #ruby
[17:31:43] idefine: has joined #ruby
[17:31:51] Xeago_: has joined #ruby
[17:32:10] Cohedrin: has joined #ruby
[17:32:15] [Butch]_: has joined #ruby
[17:32:37] guardian: is there a easy way to print multiple blocks as part of an heredoc, where 1 block would be printed per value in a array?
[17:33:44] jespada: has joined #ruby
[17:35:29] dikaio: has joined #ruby
[17:36:04] ChiefAlexander: has joined #ruby
[17:36:15] davedev24: has joined #ruby
[17:37:12] MrKeuner: has left #ruby: ("Leaving")
[17:37:34] brendan-_: has joined #ruby
[17:37:56] brendan-_: quick question... i'm reading some code:
[17:37:57] aredridel: has joined #ruby
[17:37:58] brendan-_: host["role"] = host["name"].split('-')[1]
[17:37:59] brendan-_: what does the [1] at the end signify?
[17:38:05] GodFather: has joined #ruby
[17:38:34] brendan-_: basically host["name"] is formatted like 'string1-mail'
[17:38:43] drusepth: has joined #ruby
[17:38:58] brendan-_: so i get they're trying to split on the -, but not entirely sure what the [1] does at the end
[17:39:41] tvon: brendan-_: split turns it into an array, [1] takes the second element from the array
[17:39:54] tvon: "one-two-three".split("-")[1] == "two"
[17:41:08] tvon: I guess a another way of stating that would be that String#split returns an array and Array#[] is a method.
[17:41:16] tvon: But, there ya go
[17:41:17] brendan-: any thoughts on how to do that splitting if there are multiple hyphens?
[17:41:27] brendan-: 'string1-mail-blah-blah2-domain'
[17:41:33] brendan-: and trying to isolate 'blah'
[17:41:37] tvon: That would create an array of string1, mail, blah, blah2, domain
[17:41:45] tvon: Try it in irb or pry
[17:41:48] brendan-: then just call the proper location in the array
[17:41:52] brendan-: makes sense
[17:42:10] tvon: Yeah... I mean, if the thing you want is always going to be at that position.
[17:42:11] choke: has joined #ruby
[17:42:36] shevy: has joined #ruby
[17:42:43] mustmodify: has joined #ruby
[17:43:13] mustmodify: What channel would be appropriate for me to ask whether it is typical to receive the sender's port number when receiving a UDP message?
[17:43:54] johnmilton: has joined #ruby
[17:44:11] tvon: Maybe #linux could point you in the right direction?
[17:44:37] tvon: mustmodify: there is a #networking channel as well.
[17:44:48] CausaMortis: has joined #ruby
[17:44:49] CausaMortis_: has joined #ruby
[17:45:01] djcp: has joined #ruby
[17:46:18] mustmodify: Well, it looks like that information is in the datagram, but isn't available in ruby's UDPSocket output.
[17:47:14] chouhoul_: has joined #ruby
[17:47:22] andromedian: has joined #ruby
[17:48:10] charliesome: has joined #ruby
[17:49:15] chipotle: has joined #ruby
[17:49:33] whathappens: has joined #ruby
[17:50:14] blaxter: has joined #ruby
[17:51:25] FooMunki: has joined #ruby
[17:53:13] IrishGringo: has joined #ruby
[17:53:30] deadnull_: has joined #ruby
[17:54:46] shevy: has joined #ruby
[17:55:32] nofxx: has joined #ruby
[17:55:32] nofxx: has joined #ruby
[17:56:25] zeroDivisible: has joined #ruby
[17:57:24] idefine: has joined #ruby
[17:59:55] SilverKey: has joined #ruby
[18:00:54] djbkd: has joined #ruby
[18:01:04] JakFrist: has joined #ruby
[18:01:42] djbkd: has joined #ruby
[18:01:58] spider-mario: has joined #ruby
[18:02:19] drusepth: has joined #ruby
[18:02:46] chouhoulis: has joined #ruby
[18:03:27] Gasher: has joined #ruby
[18:04:45] mgorbach: has joined #ruby
[18:05:45] tildes_: has joined #ruby
[18:06:23] idefine: has joined #ruby
[18:06:25] ramfjord_: has joined #ruby
[18:07:00] giz|work: has joined #ruby
[18:07:12] rhg135: has joined #ruby
[18:07:46] dafull97: has joined #ruby
[18:08:56] Ebok: has joined #ruby
[18:09:07] jhack: has joined #ruby
[18:09:40] mustmodify: I take that back. I was just confused. As is typical, I guess.
[18:09:46] dling: has joined #ruby
[18:09:54] codecop: has joined #ruby
[18:10:27] mjuszczak: has joined #ruby
[18:10:34] dafull97: Question, What is the better language for scripting.. ruby or python? -- try not to answer with one sided bias try to answer with facts. Thanks!
[18:12:01] firstdayonthejob: has joined #ruby
[18:12:29] Lord_of_Life: has joined #ruby
[18:13:01] zeroDivisible: has joined #ruby
[18:13:04] smathy: dafull97, "better for scripting" is nearly meaningless.
[18:13:46] mustmodify: dafull97: Can you provide criteria to determine "goodness"?
[18:15:41] drusepth: has joined #ruby
[18:15:46] sharkman: has joined #ruby
[18:18:09] dafull97: Well, Wanting to script networking tools network communications and mainly networking haha
[18:19:22] shevy: that sounds to me as if you will go into networking
[18:19:31] gsingh93: has joined #ruby
[18:20:16] shevy: dafull97 I think it may depend; the python docu may be better? and on what parts in networking you want to focus... open-uri for remote webpages is very, very easy; sockets I found more complicated... like a telnet client ... or a mudclient
[18:20:21] smathy: dafull97, I don't think either has a clear advantage in that area, although you might find a more active pool of developers doing similar things in python than ruby because of the impact of rails on ruby.
[18:20:26] shevy: the pickaxe had a telnet example
[18:20:51] mustmodify: dafull97: I haven't looked but there are a ton of specializied languages. You may find an event-driven network-layer language of some kind.
[18:21:02] smathy: If you are confident in socket programming then both will be much the same.
[18:21:19] PedramT: has joined #ruby
[18:21:22] sdothum: has joined #ruby
[18:21:34] smathy: If you think you'll need help then I'd lean towards python (of those two choices).
[18:22:07] shevy: yeah - start with python
[18:22:09] shevy: then come to ruby :)))
[18:23:21] kobain: has joined #ruby
[18:23:33] sp4rrow: has joined #ruby
[18:23:59] kirillow: has joined #ruby
[18:24:58] kirillow: what does `$: << '.'` mean? (config.ru of a sinatra app)
[18:25:14] baweaver: add current directory to the load path
[18:25:17] Xeago__: has joined #ruby
[18:25:23] Dimik: has joined #ruby
[18:25:24] baweaver: which is a really perlish way to write it
[18:25:32] dafull97: shevy: smathy mustmodify -- Thanks all for the help.. I will go and look at code of each and decide from there.
[18:25:51] kirillow: how would you - i guess - normally write it?
[18:25:55] baweaver: kirillow look into the english equivalent later if you have the authority to change it
[18:26:01] whathappens: has joined #ruby
[18:26:33] baweaver: require 'English'
[18:26:43] hobodave: has joined #ruby
[18:26:54] baweaver: http://batsov.com/articles/2013/09/05/the-elements-of-style-in-ruby-number-10-in-cryptic-perlisms-we-do-not-trust/
[18:27:05] SilverKey: has joined #ruby
[18:27:48] Intel_: has joined #ruby
[18:28:04] Lord_of_Life: has joined #ruby
[18:28:22] Lord_of_Life: has joined #ruby
[18:28:22] Lord_of_Life: has joined #ruby
[18:28:30] RegulationD: has joined #ruby
[18:28:42] siaw_: has joined #ruby
[18:29:36] cfillion: has joined #ruby
[18:29:39] shevy: that's a nice wording
[18:29:40] shevy: "the elements of style"
[18:32:38] djbkd: has joined #ruby
[18:33:44] anisha: has joined #ruby
[18:34:51] _djbkd: has joined #ruby
[18:36:20] moeabdol: has joined #ruby
[18:39:31] JakFrist: has joined #ruby
[18:39:41] jackjackdripper: has joined #ruby
[18:40:29] gomix: has joined #ruby
[18:41:21] Ebok: Alright. I've got a complicated SQL query here that I'm trying to figure out how to parse. The schema can be estimated into Neighborhoods, Houses, Occupants, Occupant_ratings. I need to sort a query that is getting all of the Neighborhoods and including the houses, and order them by the sum of a single column (int) from occupant_ratings.
[18:41:55] wilbert: has joined #ruby
[18:41:56] Ebok: The original query is easy Neighborhood.all.include(:houses)
[18:42:16] Azure: has joined #ruby
[18:42:35] smathy: ?rails Ebok
[18:42:40] Ebok: Rails yeah
[18:42:50] Ebok: I have through associations from the Neighborhood to occupant ratings
[18:42:54] smathy: There's a channel just for you, #RubyOnRails
[18:43:00] RegulationD: has joined #ruby
[18:43:12] mustmodify: and or #MySQL
[18:43:12] Ebok: I will move the question there. Thanks
[18:43:29] mustmodify: but seriously, rating neighbors seems ... either perverse or awesome.
[18:43:40] smathy: I know how I'd rate mine.
[18:44:05] smathy: ...until I wanted to sell my house, then it'd be 10 stars across the board.
[18:44:16] Ebok: I may have aliased the original queries. ^_^
[18:44:46] mustmodify: yep, anonymnity would be key.
[18:45:04] bluOxigen: has joined #ruby
[18:45:07] Devalo: has joined #ruby
[18:45:14] mustmodify: I rated a restaurant locally and later thought, "I really hope they can't identify me based on the description I left... "I go dancing there all the time with my daughter." so I changed it.
[18:45:22] mustmodify: Good atmosphere, mediocre food.
[18:45:33] aegis3121: has joined #ruby
[18:48:32] rubyaw: has joined #ruby
[18:48:50] stannard: has joined #ruby
[18:53:03] PedramT: has joined #ruby
[18:54:27] pawnbox: has joined #ruby
[18:54:36] howdoico1: has joined #ruby
[18:55:35] shevy: has joined #ruby
[18:55:36] djbkd: has joined #ruby
[18:57:20] sp4rrow: has joined #ruby
[18:57:45] flashpoint9: has joined #ruby
[18:58:57] VeryBewitching: has joined #ruby
[18:59:24] n008f4g_: has joined #ruby
[19:00:40] tomaz_b: has joined #ruby
[19:01:27] Xeago: has joined #ruby
[19:01:39] xcesariox: has joined #ruby
[19:01:51] Xeago_: has joined #ruby
[19:01:56] tAn: has joined #ruby
[19:02:20] FooMunki: has joined #ruby
[19:04:20] ensyde: has joined #ruby
[19:05:32] Es0teric: has joined #ruby
[19:05:56] Moosashi: has joined #ruby
[19:06:09] zapata: has joined #ruby
[19:09:13] infernix: has joined #ruby
[19:09:14] chouhoul_: has joined #ruby
[19:10:04] BtcBen: has joined #ruby
[19:10:37] tAn: has joined #ruby
[19:12:35] Ebok: has joined #ruby
[19:12:50] tildes_: has joined #ruby
[19:14:11] mrgrieves: has joined #ruby
[19:14:25] sharkman: if i log onto ipchicken with mechanize, then i turn a proxy on and log onto ipchicken with mechanze, i see the same IP address
[19:14:31] sharkman: how is ipchicken saving info on me?
[19:15:24] LastWhisper____: has joined #ruby
[19:15:36] blackmesa: has joined #ruby
[19:15:58] yardenbar: has joined #ruby
[19:16:19] tAn: has joined #ruby
[19:17:23] charliesome: has joined #ruby
[19:17:39] rafadc: has joined #ruby
[19:17:56] synthroid: has joined #ruby
[19:18:27] loincloth: has joined #ruby
[19:19:22] yfeldblum: has joined #ruby
[19:21:22] loincloth: i am trying to get FileUtils to log to a file instead of stderr when doing verbose commands... i found a number of resources around the idea of patching @fileutils_output in FileUtils to be the IO object you want, but i am struggling to get it to work
[19:21:30] flashpoint9: has joined #ruby
[19:21:42] loincloth: using a debugger, i see the ivar set to what i want, but running commands still spits to my terminal
[19:22:13] loincloth: is there a path to victory here? i am tempted to punt and shell out using a command runner i already have which has sensible logging and such
[19:22:54] loincloth: any thoughts? i like FileUtils but it's bumming me out on this issue :(
[19:23:57] pawnbox: has joined #ruby
[19:24:11] idefine: has joined #ruby
[19:24:25] kies: has joined #ruby
[19:24:27] djbkd: has joined #ruby
[19:24:29] zacts: hi rubyists
[19:25:43] emilford: has joined #ruby
[19:27:05] shevy: hmm... if we have two variables... foo, bar
[19:27:16] ebbflowgo: has joined #ruby
[19:27:19] shevy: would it be possible for the ruby parser, in theory, to check for both? such as: case foo, bar
[19:28:10] symm-: has joined #ruby
[19:28:28] SilverKey: has joined #ruby
[19:29:29] shevy: hmmmm guess it would have to evaluate twice.... :\
[19:29:53] mustmodify: shevy: what's your use case?
[19:29:56] jtd: has joined #ruby
[19:30:01] JonasOSDever: has joined #ruby
[19:31:00] dopamean_: has joined #ruby
[19:31:04] shevy: mustmodify a duplicated case when menu!
[19:31:20] emilford: has joined #ruby
[19:31:57] JonasOSDever: Hello, I've got a question about ruby's regex: Is there a way to capture all occurences of a subgroup in a match?
[19:32:06] codecop: has joined #ruby
[19:32:12] coyo: has joined #ruby
[19:32:12] coyo: has joined #ruby
[19:32:33] JonasOSDever: I tried to split a string into 'arguments' using /^(?:\s*"([^"]*)"|\s*([^\s]+))*(?:;.*)?$/ (break on space, but preserve "" and stop on ;), but it only spits out the last match for each group
[19:32:40] freerobby: has joined #ruby
[19:33:00] shevy: mustmodify the code was similar to https://gist.github.com/shevegen/fe4cdfaa8c0288f79ccefded0a5a51a0 but had more options. I wondered if I could just check via case for both, but on second thought, that is more complex so that is not good
[19:33:59] SilverKey: has joined #ruby
[19:34:32] loincloth: @JonasOSDever are you trying to parse command line args?
[19:35:17] JonasOSDever: Well, depends on your definition. I'm getting an input string from the Telegram webhook and I'm trying to parse arguments after the bot command
[19:35:27] nwhirschfeld: has joined #ruby
[19:35:48] JonasOSDever: Not if ARGV == command line args, if that's your definition
[19:36:14] JesseH: has joined #ruby
[19:37:09] moeabdol: has joined #ruby
[19:43:04] banister: has joined #ruby
[19:43:35] Devalo: has joined #ruby
[19:45:15] jenrzzz: has joined #ruby
[19:48:49] freerobby1: has joined #ruby
[19:49:43] cocotton: has joined #ruby
[19:49:47] idefine: has joined #ruby
[19:49:49] statelesscode: has joined #ruby
[19:51:06] cocotton: Hey channel. I have a script that takes a range parameter as a string (e.g. '10-20'). Is it possible, using this string range, to convert this into something like (10..20).each do |i|? I'm really not certain what would be an elegant way to do that.
[19:51:28] mustmodify: shevy: Well, you could do case [foo, bar]; when [true, false]; when [false, true]
[19:51:45] mustmodify: but I would think if( foo = 7 ) elsif ( bar = 8 ) made more sense.
[19:52:51] Moosashi: has joined #ruby
[19:53:29] yqt: has joined #ruby
[19:53:38] johnmilton: has joined #ruby
[19:55:57] shevy: mustmodify hmm interesting... let me think for a moment
[19:56:16] stoodfarback: has joined #ruby
[19:56:46] karapetyan: has joined #ruby
[19:58:57] baweaver: mustmodify: getting real close to pattern matching there
[19:59:03] Es0teric: has joined #ruby
[19:59:45] Yiota: has joined #ruby
[20:00:15] baweaver: kinda wish Ruby 3.x would steal those from Scala/Kotlin/F#/etc
[20:00:39] futilegames: has joined #ruby
[20:01:03] robbyoconnor: has joined #ruby
[20:01:12] nerium: has joined #ruby
[20:01:29] troulouliou_div2: has joined #ruby
[20:03:35] nando293921: has joined #ruby
[20:04:22] S_Waqas: has joined #ruby
[20:04:39] ur5us: has joined #ruby
[20:04:43] crystal77: has joined #ruby
[20:05:17] jaruga___: has joined #ruby
[20:05:19] BtcBen_: has joined #ruby
[20:06:04] Lord_of_Life: has joined #ruby
[20:06:08] idefine: has joined #ruby
[20:07:10] Soeks: has joined #ruby
[20:07:32] ramfjord: has joined #ruby
[20:10:50] tAn: has joined #ruby
[20:10:53] karapetyan: has joined #ruby
[20:12:08] chouhoulis: has joined #ruby
[20:12:14] guyvdb: has joined #ruby
[20:12:23] shevy: oh oh oh is it wishday for ruby 3.x
[20:13:15] [EXIT]: has joined #ruby
[20:14:05] Gasher: has joined #ruby
[20:14:06] Xeago_: has joined #ruby
[20:14:21] KensoDev: has joined #ruby
[20:14:24] guyvdb: has left #ruby: ()
[20:14:29] cdg: has joined #ruby
[20:14:44] tvw: has joined #ruby
[20:16:22] freerobby: has joined #ruby
[20:16:43] devbug: has joined #ruby
[20:19:47] blackgoat: has joined #ruby
[20:20:26] tAn: has joined #ruby
[20:20:46] Don_John: has joined #ruby
[20:21:26] _kfpratt: has joined #ruby
[20:21:46] idefine: has joined #ruby
[20:22:12] pawnbox: has joined #ruby
[20:22:31] LastWhisper____: has joined #ruby
[20:22:43] sjumsa: has joined #ruby
[20:22:46] LoganG_: has joined #ruby
[20:22:50] S01780_: has joined #ruby
[20:22:51] ereslibre_laptop: has joined #ruby
[20:23:02] jlyndon_: has joined #ruby
[20:23:11] gmci_: has joined #ruby
[20:23:14] jxf_: has joined #ruby
[20:23:20] manveru_: has joined #ruby
[20:23:26] olivierjanss_: has joined #ruby
[20:23:31] robbyoconnor: has joined #ruby
[20:24:38] adgtl_: has joined #ruby
[20:24:43] dostoyev1ky: has joined #ruby
[20:24:44] Phtm: has joined #ruby
[20:24:46] boxrick1__: has joined #ruby
[20:24:50] Marsjan: has joined #ruby
[20:24:57] pfg__: has joined #ruby
[20:25:09] tAn: has joined #ruby
[20:25:17] futilegames: has joined #ruby
[20:25:23] lagweezl1: has joined #ruby
[20:25:25] ltd_: has joined #ruby
[20:25:34] tinnvec_: has joined #ruby
[20:25:52] joaomdmoura___: has joined #ruby
[20:25:58] karapetyan: has joined #ruby
[20:26:21] jimcroft_: has joined #ruby
[20:26:33] yo61_: has joined #ruby
[20:26:41] fumduq-: has joined #ruby
[20:26:44] matt_d_: has joined #ruby
[20:27:19] danzilio_: has joined #ruby
[20:27:38] hayden__: has joined #ruby
[20:27:50] jpinnix________: has joined #ruby
[20:27:52] charliesome: has joined #ruby
[20:27:53] mroth_: has joined #ruby
[20:27:55] freerobby: has joined #ruby
[20:28:25] GnuYawk: has joined #ruby
[20:28:28] dopie: has joined #ruby
[20:28:30] GnuYawk: has joined #ruby
[20:28:30] Kilobyte22: has joined #ruby
[20:28:43] Lightsword_: has joined #ruby
[20:28:53] devbug: has joined #ruby
[20:29:16] Junaos: has joined #ruby
[20:29:17] kitallisii: has joined #ruby
[20:29:26] Seich_: has joined #ruby
[20:29:33] gmas: has joined #ruby
[20:29:40] ggherdov_: has joined #ruby
[20:29:47] existensil: has joined #ruby
[20:29:48] FastJack: has joined #ruby
[20:30:07] ctrlrsf: has joined #ruby
[20:30:35] flashpoint9: has joined #ruby
[20:30:39] bougyman: has joined #ruby
[20:30:50] ddv: has joined #ruby
[20:30:53] Nanuq: has joined #ruby
[20:31:25] Eleeleth: has joined #ruby
[20:31:33] kspencer: has joined #ruby
[20:31:35] kspencer: has joined #ruby
[20:31:42] pikajude: has joined #ruby
[20:31:42] pikajude: has joined #ruby
[20:31:42] avelldiroll: has joined #ruby
[20:32:33] G: has joined #ruby
[20:34:42] diegoviola: has joined #ruby
[20:35:35] devbug: has joined #ruby
[20:35:38] karapetyan: has joined #ruby
[20:36:33] dopie: has joined #ruby
[20:36:42] sharkman: has joined #ruby
[20:37:21] jaiks1: has joined #ruby
[20:37:34] jcp: has joined #ruby
[20:37:44] JoshL: has joined #ruby
[20:38:19] zack6849: has joined #ruby
[20:38:19] zack6849: has joined #ruby
[20:38:55] andromedian: has joined #ruby
[20:40:12] jimcroft_: has joined #ruby
[20:40:20] mroth: has joined #ruby
[20:42:39] tax: has joined #ruby
[20:42:50] patrick_star_2: has joined #ruby
[20:44:13] troys: has joined #ruby
[20:44:19] troulouliou_dev: has joined #ruby
[20:46:07] Guest: has joined #ruby
[20:46:22] Guest: has left #ruby: ()
[20:46:48] tAn: has joined #ruby
[20:47:04] troysk: has joined #ruby
[20:48:27] JoshL: has joined #ruby
[20:49:24] charliesome: has joined #ruby
[20:49:29] djbkd: has joined #ruby
[20:50:09] mrmortondk: has joined #ruby
[20:50:11] aegis3121: has joined #ruby
[20:53:05] idefine: has joined #ruby
[20:55:01] devbug: has joined #ruby
[20:55:42] ChiefAlexander: has joined #ruby
[20:56:04] drusepth: has joined #ruby
[20:57:45] workmad3: has joined #ruby
[20:58:45] helpa: has joined #ruby
[20:59:18] sp4rrow: has joined #ruby
[21:00:55] rafadc: has joined #ruby
[21:01:00] madgen: has joined #ruby
[21:01:21] futilegames: has joined #ruby
[21:03:08] rafadc: has joined #ruby
[21:03:11] pawnbox: has joined #ruby
[21:07:05] tAn: has joined #ruby
[21:08:42] mozzarel1: has joined #ruby
[21:09:41] emilford_: has joined #ruby
[21:10:42] ged: has joined #ruby
[21:11:10] RazorX: has joined #ruby
[21:11:38] fn2187_: has joined #ruby
[21:11:39] jtd: has joined #ruby
[21:12:14] drale2k: has joined #ruby
[21:12:50] \13k: has joined #ruby
[21:12:53] ahuman: has joined #ruby
[21:12:56] isxek: has joined #ruby
[21:13:13] SirFunk: has joined #ruby
[21:13:14] sp4rrow_: has joined #ruby
[21:13:44] JoshL: has joined #ruby
[21:13:51] karmatr0n: has joined #ruby
[21:14:02] kriskropd: has joined #ruby
[21:14:44] tax: has joined #ruby
[21:15:36] banister: has joined #ruby
[21:17:49] S_Waqas: has joined #ruby
[21:18:20] bronson: has joined #ruby
[21:18:21] silentpost: has joined #ruby
[21:21:26] diegoaguilar: has joined #ruby
[21:23:04] idefine: has joined #ruby
[21:24:01] freerobby: has joined #ruby
[21:24:17] Lochez: has joined #ruby
[21:24:45] idefine_: has joined #ruby
[21:25:17] kirillow: has joined #ruby
[21:25:22] moeabdol: has joined #ruby
[21:26:46] jaiks1: has joined #ruby
[21:28:32] ebbflowgo: has joined #ruby
[21:28:49] sneakerhax: has joined #ruby
[21:29:50] dikaio: has joined #ruby
[21:32:10] x77686d: has joined #ruby
[21:32:14] sesquipedalian: has joined #ruby
[21:33:53] Guest94592: has joined #ruby
[21:34:47] Prominent: has joined #ruby
[21:34:53] kareeoleez: has joined #ruby
[21:35:37] charliesome: has joined #ruby
[21:35:44] mfb2: has joined #ruby
[21:37:10] FooMunki: has joined #ruby
[21:38:08] yeticry: has joined #ruby
[21:39:39] yfeldblum: has joined #ruby
[21:39:44] zacstewart: has joined #ruby
[21:40:55] tAn: has joined #ruby
[21:41:03] futilegames: has joined #ruby
[21:42:44] djbkd: has joined #ruby
[21:42:55] ebbflowgo: has joined #ruby
[21:49:01] kareeoleez: has joined #ruby
[21:49:29] brent__: has joined #ruby
[21:50:58] brent__: hello. having a small issue when trying to run 'bundle install' https://gist.github.com/brentluna/aac661f3a0c2c6d0a729f8236cc7154c
[21:51:26] brent__: i'm using rbenv
[21:51:31] brent__: if that's making a difference
[21:52:17] havenwood: brent__: Is this your development environment? Have you installed bundler with your rbenv Ruby?
[21:52:40] havenwood: brent__: Did you?: rbenv rehash
[21:52:47] havenwood: (After `gem install bundler`)
[21:52:50] brent__: i haven't rbenv rehash
[21:52:55] brent__: should i run taht command?
[21:52:58] brent__: 'rbenv rehash'
[21:53:07] havenwood: Or switch to chruby and never rehash again!
[21:53:16] havenwood: https://github.com/postmodern/chruby#readme
[21:53:39] brent__: yeah, we went over chruby last week havenwood. I'm trying to stick w/ rbenv is thats what i was specified to use
[21:53:47] havenwood: brent__: Ah, right! :)
[21:54:03] devbug: has joined #ruby
[21:54:12] brent__: i did rbenv rehash
[21:54:14] brent__: and saem output
[21:54:28] havenwood: brent__: Show us?: command -v bundle
[21:54:33] jhn: has joined #ruby
[21:54:46] havenwood: brent__: And?: gem which bundler
[21:55:01] havenwood: brent__: And: command -v gem
[21:55:50] brent__: https://gist.github.com/brentluna/aac661f3a0c2c6d0a729f8236cc7154c at the bottom
[21:56:02] noodle: has joined #ruby
[21:56:11] brent__: looks like everythign points to .rbenv w/ the exception of command -v bundle
[21:57:10] Xeago_: has joined #ruby
[21:58:13] havenwood: brent__: Check your PATH, is the rbenv gem shim directory in the front?: printenv PATH
[21:58:29] havenwood: brent__: Same after a?: eval "$(rbenv init -)"
[21:58:50] havenwood: (This is the limit of my rbenv support, but others here might actually use rbenv!) :P
[21:59:01] mustmodify: has left #ruby: ()
[22:00:29] brent__: havenwood: https://gist.github.com/brentluna/aac661f3a0c2c6d0a729f8236cc7154c
[22:00:54] pawnbox: has joined #ruby
[22:00:54] brent__: updated again, i also listed what i have in my .bashrc file
[22:01:33] jenrzzz_: has joined #ruby
[22:02:19] havenwood: brent__: I think you said you already had, but rerun: gem install bundler && rbenv rehash
[22:02:49] ledestin: has joined #ruby
[22:03:16] brent__: did again. same thing
[22:03:25] brent__: woudl a restart be needed at all?
[22:03:31] ramfjord: has joined #ruby
[22:05:44] htmldrum: has joined #ruby
[22:06:21] drusepth: has joined #ruby
[22:08:19] madgen: has joined #ruby
[22:10:26] blackmesa: has joined #ruby
[22:11:00] dopie: has joined #ruby
[22:11:18] mfb2_: has joined #ruby
[22:11:24] drusepth: has joined #ruby
[22:12:57] Madplatypus: has joined #ruby
[22:14:57] diegoviola: has joined #ruby
[22:15:06] mfb2_: has joined #ruby
[22:15:37] diegoaguilar: has joined #ruby
[22:17:33] havenwood: brent__: Turning it off and back on again never hurts. You could: source ~/.bashrc
[22:17:45] FooMunki: has joined #ruby
[22:17:47] havenwood: s/never hurts/always fixes everything/
[22:17:53] workerCo-op: has joined #ruby
[22:18:32] statelesscode: has joined #ruby
[22:18:51] brent__: what does source ~/.bashrc do?
[22:19:06] brent__: it looks like the reboot did fix it
[22:19:12] firstdayonthejob: has joined #ruby
[22:19:21] havenwood: brent__: It evals your ~/.bashrc like rebooting did.
[22:19:24] devbug: has joined #ruby
[22:19:44] brent__: did my .bashrc look fine?
[22:19:48] havenwood: brent__: If you change the .bashrc it doesn't actually run until you run it manually or by restarting.
[22:20:07] diego1: has joined #ruby
[22:20:08] blackmesa: has joined #ruby
[22:20:11] brent__: it was the last few lines in that gist
[22:20:33] diego1: has joined #ruby
[22:21:49] havenwood: brent__: It seems your lines 16 and 18 are redundant, and it's odd that you export one but not the other.
[22:22:12] kareeoleez: has joined #ruby
[22:22:14] brent__: yeah i was wondering if 16 was needed
[22:22:19] havenwood: I guess maybe the former was for a non-rbenv Ruby? Or were you just debugging?
[22:22:21] brent__: i may have thrown that in there when struggling w/ issues
[22:22:36] havenwood: brent__: Yeah, you might consider removing line 16 now that you're done debugging.
[22:22:52] brent__: and then use the source command?
[22:22:59] havenwood: brent__: Restart and confirm that all is well. Sanity check that your PATH looks clean and doesn't have dups.
[22:23:33] havenwood: brent__: Yeah, you can always `source ~/.bashrc` to source it after changes.
[22:24:10] havenwood: brent__: Though turning it off and back on again is a more ancient, deeper magic.
[22:26:12] gregf: has joined #ruby
[22:26:43] i: has joined #ruby
[22:26:45] brent__: reboot done
[22:26:53] emilford: has joined #ruby
[22:26:56] brent__: how should i sanity check my path?
[22:27:26] rojomisin: has joined #ruby
[22:27:39] firstdayonthejob: has joined #ruby
[22:27:41] havenwood: brent__: Take a look at the comma-delmited list of dirs: printenv PATH
[22:28:19] brent__: printenv PATH
[22:28:49] firstdayonthejob: has joined #ruby
[22:29:21] matp: has joined #ruby
[22:29:25] brent__: this look good/home/brent/.rbenv/shims:/home/brent/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
[22:29:52] dopie: has joined #ruby
[22:30:03] ismaelga: has joined #ruby
[22:30:26] Guest-Pirc: has joined #ruby
[22:31:11] havenwood: Guest-Pirc: always
[22:31:25] havenwood: brent__: i don't see any skullduggery
[22:31:27] firstdayonthejob: has joined #ruby
[22:31:31] Guest-Pirc: What do you think about forums in ruby on rails
[22:31:44] havenwood: Guest-Pirc: I'm for it.
[22:31:51] Guest-Pirc: You like ruby?
[22:32:22] havenwood: Guest-Pirc: Love it.
[22:32:46] havenwood: Guest-Pirc: See https://github.com/discourse/discourse#readme and https://github.com/thredded/thredded#readme for two Rails-based options. There's also a #rubyonrails channel.
[22:33:11] LKovax: has joined #ruby
[22:34:04] brent__: thats what i like to hear. thanks for the help havenwood
[22:34:11] havenwood: brent__: you're welcome
[22:34:11] Guest-Pirc: Can I ask you some direct questions
[22:34:26] Guest-Pirc: I wan to simulate keyboard
[22:34:32] Guest-Pirc: Like fake app stein
[22:34:37] kareeoleez: has joined #ruby
[22:35:19] jenrzzz: has joined #ruby
[22:35:22] Ebok: has joined #ruby
[22:35:31] Guest-Pirc: Wtf auto correct
[22:35:49] havenwood: a large beer mug!
[22:36:01] shevy: a barge leer hug!
[22:36:28] shevy: Guest-Pirc you use german autocompletion? :D
[22:37:02] patrick_star_2: has joined #ruby
[22:37:37] Guest-Pirc: Anyway what do you guys think on Jruby
[22:38:10] rickmasta: has joined #ruby
[22:38:29] firstdayonthejob: has joined #ruby
[22:38:43] twistedpixels: has joined #ruby
[22:39:13] twistedpixels: has joined #ruby
[22:39:47] havenwood: Guest-Pirc: I'm for it.
[22:40:11] pawnbox: has joined #ruby
[22:40:55] Guest-Pirc: can you help me to simulate keyboard stain
[22:41:56] zenlot6: has joined #ruby
[22:42:00] tAn: has joined #ruby
[22:42:11] djbkd: has joined #ruby
[22:44:04] Guest-Pirc: has left #ruby: ()
[22:44:19] freerobby: has joined #ruby
[22:44:33] mr_oh: has joined #ruby
[22:46:18] kareeoleez: has joined #ruby
[22:46:51] mr_oh: Does Ruby already have a deep "find" for collections ?
[22:47:16] mr_oh: Kind of like this: https://gist.github.com/anonymous/f8ca3a643b7e1817353559d70db543f3
[22:49:52] benlieb: has joined #ruby
[22:50:33] rubyaw: has joined #ruby
[22:51:05] kobain: has joined #ruby
[22:52:14] devbug: has joined #ruby
[22:57:39] dikaio: has joined #ruby
[22:58:50] stoodfarback: has joined #ruby
[22:59:15] mfb2: has joined #ruby
[23:00:28] matp: has joined #ruby
[23:00:48] pawnbox: has joined #ruby
[23:00:51] emilford: has joined #ruby
[23:00:57] sdwrage: has joined #ruby
[23:04:28] SilverKey: has joined #ruby
[23:06:34] reaVer: has joined #ruby
[23:07:01] FooMunki: has joined #ruby
[23:10:44] duderonomy: has joined #ruby
[23:10:53] JoshGlzBrk: has joined #ruby
[23:10:54] Ebok: has joined #ruby
[23:11:36] dfockler: has joined #ruby
[23:13:26] moeabdol: has joined #ruby
[23:15:48] mr_oh: has joined #ruby
[23:16:59] PaulCapestany: has joined #ruby
[23:18:03] mfb2: has joined #ruby
[23:18:46] bronson: has joined #ruby
[23:21:27] swills: has joined #ruby
[23:21:36] nadir: has joined #ruby
[23:22:52] ebbflowgo: has joined #ruby
[23:24:46] freerobby: has joined #ruby
[23:25:36] Amnez777: has joined #ruby
[23:26:17] Alina-malina: has joined #ruby
[23:26:39] mfb2: has joined #ruby
[23:31:46] ramfjord: has joined #ruby
[23:32:36] Peleus_: has joined #ruby
[23:32:44] Peleus_: has left #ruby: ()
[23:34:46] aghalarp: has joined #ruby
[23:35:36] mfb2: has joined #ruby
[23:36:13] Vile`: has joined #ruby
[23:36:42] pawnbox: has joined #ruby
[23:37:12] nando293921: has joined #ruby
[23:38:01] xlegoman: has joined #ruby
[23:40:19] whathappens: has joined #ruby
[23:41:19] dikaio: has joined #ruby
[23:41:49] RegulationD: has joined #ruby
[23:42:59] DarthGandalf: has joined #ruby
[23:43:44] graft: has joined #ruby
[23:43:54] graft: hey, does anyone know what 'composite arguments' are?
[23:44:24] graft: or what the parentheses mean here: def make_tmpname((prefix, suffix), n)
[23:44:31] CloCkWeRX: has joined #ruby
[23:45:00] graft: my guess is this is trying to dereference an array or something? but it's not working
[23:46:15] tAn: has joined #ruby
[23:47:14] Falcon: has joined #ruby
[23:48:00] Falcon: has left #ruby: ()
[23:48:05] dopamean_: has joined #ruby
[23:49:03] freerobby: has joined #ruby
[23:53:23] developer_010: has joined #ruby
[23:53:32] developer_010: http://caffeinealgorithm.com/
[23:53:33] dfockler: graft: It's array destructuring, so if you pass a 2 element array in it will destructure it into prefix and suffix
[23:53:38] developer_010: has left #ruby: ()
[23:55:17] ChiefAlexander: has joined #ruby
[23:55:37] graft: yeah, that's not my problem it seems
[23:55:49] dfockler: What's the problem?
[23:55:56] graft: err, how to explain
[23:56:07] graft: so what i'm trying to do is get a multipart upload to work
[23:56:21] graft: this is apparently dying because Rack is having trouble creating a tmpfile
[23:56:52] graft: somewhere in there it calls Tempfile.new(["RackMultipart", file.extname(file)])
[23:57:13] gregf: has joined #ruby
[23:57:22] graft: first argument to Tempfile.new should be either a String or a 2-part Array, so fine
[23:57:45] chosen1: has joined #ruby
[23:57:49] graft: but in Tempfile.new after that call, the first argument is not an array, it's a hash! { "RackMultipart" => nil, ".jpg" => nil }
[23:57:58] graft: i have no idea how the hell this can happen
[23:58:09] graft: it is literally the next two lines in the stack trace
[23:58:33] graft: if i log before Tempfile.new, it says it's an Array, if i log within Tempfile.new it says it's a Hash, wtf
[23:59:06] blackmes1: has joined #ruby
[23:59:07] chosen1: has joined #ruby
[23:59:37] sneakerhax: has joined #ruby
[23:59:54] benlieb: has joined #ruby
[23:59:56] bobbycvi: has joined #ruby