« Back to channel list

#ruby - 27 February 2016

« Back 1 day Forward 1 day »
[00:00:27] kirillzh: has joined #ruby
[00:00:38] vikaton: has joined #ruby
[00:01:27] askhat: has joined #ruby
[00:03:07] pawnbox: has joined #ruby
[00:03:08] Kang0: has joined #ruby
[00:03:47] [74]HELLth: has joined #ruby
[00:04:15] nullFxn: has joined #ruby
[00:05:11] puppet645: has joined #ruby
[00:05:39] puppet645: This doesn't use a http proxy, even when set by environment variable: https://github.com/puppetlabs/puppetlabs-apt/blob/7aa9778e4d418943592f80a76e9978ebc3d084e3/lib/puppet/provider/apt_key/apt_key.rb#L125
[00:05:49] puppet645: How can I fix this - except changing the code and filing a PR?
[00:05:56] puppet645: is there any quick fix for that?
[00:06:07] puppet645: I want that it uses the http proxy if set in http_proxy environment variable...
[00:06:25] puppet645: but from what I read + heard - this kind of ruby lib will not honor such a http proxy env variable!
[00:07:35] lemur: has joined #ruby
[00:07:52] puppet645: nobody here= :/
[00:08:54] puppet645: I mean, http://stackoverflow.com/questions/28423214/how-to-use-ruby-open-uri-with-https-proxy would fix it
[00:08:57] puppet645: but it requires a change of the code
[00:10:50] Ox0dea: puppet645: OpenURI uses the http_proxy environment variable by default.
[00:11:01] Kang0: has joined #ruby
[00:11:41] dgncn: has joined #ruby
[00:12:15] puppet645: Ox0dea: thanks, so I use puppet (which is written in ruby), and I set http_proxy to something that works (I tested it, also the proxy doesn't log any attempt either) - so does this already suffice for ruby to make use of it?
[00:12:39] puppet645: I mean, I read lots of encouraging stuff like this: https://github.com/Homebrew/homebrew/issues/21679
[00:12:49] Ox0dea: puppet645: Should do, yep. If you debug-print OpenURI::Options, you should see `proxy: true`.
[00:13:10] Kang0: has joined #ruby
[00:13:17] puppet645: Ox0dea: so I can change the ruby code of the puppet installation, what ruby code can I add/change to get this debug print?
[00:13:31] Ox0dea: $ http_proxy=foo ruby -r open-uri -e 'open "http://example.com" rescue p $!'
[00:13:33] Ox0dea: #<RuntimeError: Non-HTTP proxy URI: foo>
[00:13:35] Ox0dea: puppet645: ^
[00:14:02] sudoubuntu: has joined #ruby
[00:14:28] Ox0dea: You shouldn't have to change anything.
[00:15:08] dextertzu: has joined #ruby
[00:16:47] JeffDahl: has joined #ruby
[00:17:45] aoelk: has joined #ruby
[00:18:12] JeffDahl: how can I convince the hr people to not hire a nigger?
[00:18:20] darkf: has joined #ruby
[00:18:22] baweaver: !troll JeffDahl
[00:18:22] ruby[bot]: +bb JeffDahl!*@*$#ruby-banned *!*@172.56.40.97$#ruby-banned
[00:18:22] ruby[bot]: ruby[bot] kicked JeffDahl: is a bannable offense, see http://ruby-community.com/pages/user_rules
[00:19:38] puppet645: Ox0dea: could it be that puppet runs itself (ruby) with some kind of environment isolation thing?
[00:20:22] rbennacer: has joined #ruby
[00:22:21] kies^: has joined #ruby
[00:22:34] intrigue_: has joined #ruby
[00:22:43] rbennacer: has joined #ruby
[00:27:48] Ox0dea: puppet645: Aye, that could certainly be it.
[00:28:51] aibot: has joined #ruby
[00:30:30] floatingpoint: has joined #ruby
[00:32:27] shiver: has joined #ruby
[00:32:27] shiver: has joined #ruby
[00:32:35] kent\n: has joined #ruby
[00:32:35] kent\n: has joined #ruby
[00:33:44] Azure|dc: has joined #ruby
[00:34:46] ElFerna_: has joined #ruby
[00:37:54] rdavila: has joined #ruby
[00:38:37] Aviio: has joined #ruby
[00:39:47] aryaching: has joined #ruby
[00:41:02] shiver: has joined #ruby
[00:41:02] shiver: has joined #ruby
[00:42:38] aupadhye: has joined #ruby
[00:42:39] puppet645: Ox0dea: ENV{:proxy=>true, :proxy_http_basic_authentication=>true, :progress_proc=>true, :content_length_proc=>true, :http_basic_authentic ation=>true, :read_timeout=>true, :ssl_ca_cert=>nil, :ssl_verify_mode=>nil, :ftp_active_mode=>false, :redirect=>true}
[00:42:46] puppet645: Ox0dea: so it indeed uses a proxy then?
[00:42:47] puppet645: proxy => true
[00:42:59] zacstewart: has joined #ruby
[00:43:01] Ox0dea: puppet645: Well, it'll try to use the one from the environment if it's set, yeah.
[00:43:01] puppet645: ok, but why do I get a Connection refused - connect(2)
[00:43:09] Ox0dea: Bad proxy, perhaps?
[00:43:17] puppet645: when I set this in code directly it works
[00:43:22] puppet645: maybe something is wrong right
[00:43:30] puppet645: can I somehow let it print what proxy host + port is used?
[00:44:15] Ox0dea: puppet645: Probably start by printing `env['http_proxy']` and ensure it contains the appropriate value.
[00:44:24] pawnbox: has joined #ruby
[00:45:46] rdavila: has joined #ruby
[00:47:07] krzkrzkrz: has joined #ruby
[00:47:53] Contigi: has joined #ruby
[00:48:21] pabs: has joined #ruby
[00:49:21] freerobby: has joined #ruby
[00:52:39] nanoz: has joined #ruby
[00:53:21] Ebok: has joined #ruby
[00:53:25] aibot: has joined #ruby
[00:54:09] rkoller: has joined #ruby
[00:55:14] gizless: has joined #ruby
[00:55:32] zeroDivisible: has joined #ruby
[00:55:50] gizmore|2: has joined #ruby
[00:56:32] sinkensabe: has joined #ruby
[00:58:25] sinkensabe: has joined #ruby
[00:59:15] FernandoBasso: has joined #ruby
[01:04:43] johnmilton: has joined #ruby
[01:04:43] kirillzh: has joined #ruby
[01:05:33] sinkensabe: has joined #ruby
[01:05:44] despai: has joined #ruby
[01:06:18] jgpawletko: has joined #ruby
[01:06:46] Rubie: has joined #ruby
[01:08:52] devbug: has joined #ruby
[01:10:05] aibot: has joined #ruby
[01:10:30] Musashi007: has joined #ruby
[01:11:15] pwnd_nsfw`: has joined #ruby
[01:11:31] idefine: has joined #ruby
[01:18:10] elifoster: has joined #ruby
[01:18:17] IanV0rn2341: has joined #ruby
[01:19:20] bronson: has joined #ruby
[01:23:13] swills: has joined #ruby
[01:24:30] pawnbox: has joined #ruby
[01:25:55] jeanlinux: has joined #ruby
[01:26:08] kcantwel: has joined #ruby
[01:29:34] sinkensabe: has joined #ruby
[01:30:20] stannard: has joined #ruby
[01:30:54] alem0lars__: has joined #ruby
[01:34:47] psmolen: has joined #ruby
[01:36:17] Hammy_Work: has joined #ruby
[01:36:53] aibot: has joined #ruby
[01:37:00] fostertheweb: has joined #ruby
[01:37:49] aibot: has joined #ruby
[01:39:15] bronson: has joined #ruby
[01:40:03] baweaver: has joined #ruby
[01:40:48] Ebok: has joined #ruby
[01:41:49] aibot: has joined #ruby
[01:45:11] shevy: we bring the epicness into programming
[01:47:48] idefine: has joined #ruby
[01:47:49] puppet645: Ox0dea: thanks, this is a good starting point.
[01:49:56] wald0: has joined #ruby
[01:52:50] sinkensabe: has joined #ruby
[01:52:56] Barzogh: has joined #ruby
[01:54:05] goodcodeguy: has joined #ruby
[01:55:15] puppet645: Ox0dea: ok, ENV['http_proxy'] contains the proper proxy, http://whatever:port - everything is set
[01:55:36] puppet645: Ox0dea: how can I further debug into this? how can I find out why open( still doesn't use the proxy?
[01:56:37] fostertheweb: has joined #ruby
[01:57:34] puppet645: could it be that open( ignores a http_proxy env? :O
[01:57:35] puppet645: key = open(value, :ftp_active_mode => false).read
[01:57:43] puppet645: require 'open-uri'
[01:57:58] puppet645: it is ruby 1.9.3p194
[02:00:06] sinkensabe: has joined #ruby
[02:00:26] puppet645: Ox0dea: OK, so this works (modified code): key = open(value, :ftp_active_mode => false, proxy: URI.parse(ENV['http_proxy'])).read
[02:00:43] puppet645: but without this proxy: thing it doesn't seem to use the http_proxy env
[02:00:48] puppet645: despite it is documented to do so
[02:00:52] puppet645: am I missing something?
[02:01:12] Ox0dea: puppet645: It seems OpenURI only started automatically picking up http_proxy in 2.0. :/
[02:01:33] Rubie: has joined #ruby
[02:02:09] puppet645: Ox0dea: uh oh :O
[02:02:12] Coldblackice: has joined #ruby
[02:02:27] puppet645: Ox0dea: alright, so I have to update my ruby then, which comes with a debian puppet package
[02:02:33] puppet645: hmm, well, I will look what I could do here
[02:02:42] Ox0dea: puppet645: If I'm reading the code correctly, you should be able to say `OpenURI::Options[:proxy] = '1.2.3.4:5'` or the like.
[02:02:51] jenrzzz: has joined #ruby
[02:02:58] Ox0dea: But 1.9.3 is long dead, and I'd certainly advise upgrading.
[02:03:58] Ox0dea: puppet645: https://github.com/ruby/ruby/blob/trunk/lib/open-uri.rb#L198-L199
[02:04:56] puppet645: Ox0dea: So I could use this code OpenURI::Options[:proxy] = '1.2.3.4:5' somewhere and when puppet / ruby runs it, it applies globally?
[02:05:06] Ox0dea: puppet645: Should do, yep.
[02:05:24] Ox0dea: You'll want to ensure that's actually executed before anything actually goes to use OpenURI, of course.
[02:05:26] puppet645: ok, then I take a look into puppet how I can run this code on start
[02:05:59] fostertheweb: has joined #ruby
[02:06:29] puppet645: Ox0dea: yes, I will update sooner or later now, it is an older debian wheezy (oldstable) system, so I have to use the older stuff
[02:06:35] Ebok: has joined #ruby
[02:06:37] Ox0dea: Happy to help. :)
[02:07:33] x77686d: has joined #ruby
[02:07:47] mattwildig: has joined #ruby
[02:08:32] mwlang: has joined #ruby
[02:11:27] hxegon: has joined #ruby
[02:11:43] puppet645: Ox0dea: in contrast, would File.open use http_proxy env even in ruby 1.9?: https://github.com/puppetlabs/puppetlabs-apt/blob/master/lib/puppet/provider/apt_key/apt_key.rb#L125
[02:12:07] skyjumper: has left #ruby: ()
[02:12:54] benlieb: has joined #ruby
[02:14:31] Ox0dea: puppet645: File.open has nothing to do with HTTP. :P
[02:15:26] workmad3: has joined #ruby
[02:21:46] DonOtreply: has joined #ruby
[02:24:03] puppet645: Ox0dea: if I may ask you, this seems to be a new implementation for puppetlabs-apt 2.x, do they do anything differently?: https://github.com/puppetlabs/puppetlabs-apt/blob/2.2.x/lib/puppet/provider/apt_key/apt_key.rb
[02:24:14] pawnbox: has joined #ruby
[02:24:19] puppet645: Ox0dea: my hope here is that the new libs they use support http_proxy and friends
[02:24:25] Ox0dea: puppet645: Are you asking me to be `diff`? :P
[02:24:50] Ox0dea: They're still using OpenURI.
[02:29:07] mrchris: has joined #ruby
[02:29:41] mrchris: How can I use VCR in development mode
[02:34:15] sphex: has joined #ruby
[02:35:09] trosborn: has joined #ruby
[02:35:35] unreal_: has joined #ruby
[02:35:36] soLucien: has joined #ruby
[02:35:41] krzkrzkrz: has joined #ruby
[02:36:07] soLucien: hello guys ! does require 'librarian/puppet' look for the gem called librarian-puppet ?
[02:36:23] soLucien: i don't understand where this is getting loaded from
[02:37:10] Darmani: has joined #ruby
[02:37:45] astrobunny: has joined #ruby
[02:39:53] Ebok: has joined #ruby
[02:40:09] havenwood: soLucien: Yeah, the convention would be the `require 'librarian/puppet'` require statement corresponding to the `librarian-puppet` gem name, see: http://guides.rubygems.org/name-your-gem
[02:41:05] nettoweb: has joined #ruby
[02:43:15] postmodern: has joined #ruby
[02:43:40] trosborn: has joined #ruby
[02:44:00] djbkd: has joined #ruby
[02:44:52] Rodya_: has joined #ruby
[02:46:51] vdamewood: has joined #ruby
[02:47:40] fullofca_: has joined #ruby
[02:50:47] sinkensabe: has joined #ruby
[02:52:57] bronson: has joined #ruby
[02:56:05] marcosdsanchez: has joined #ruby
[02:56:31] sneakerhax: has joined #ruby
[02:58:54] rodolfowtf: has joined #ruby
[02:59:32] mattwild_: has joined #ruby
[03:03:38] astrobunny: has joined #ruby
[03:06:20] r4ldu0: has joined #ruby
[03:08:13] Toledo: has joined #ruby
[03:09:41] croberts: has joined #ruby
[03:11:48] aibot: has joined #ruby
[03:18:01] Rodya_: has joined #ruby
[03:18:22] recycle: has joined #ruby
[03:18:24] sdrew: has joined #ruby
[03:22:58] jinetix: has joined #ruby
[03:24:44] aibot: has joined #ruby
[03:30:17] rbennacer: has joined #ruby
[03:31:15] uglybandersnatch: has joined #ruby
[03:31:33] Musashi007: has joined #ruby
[03:32:35] aaeron: has joined #ruby
[03:34:25] nanoz: has joined #ruby
[03:34:37] soLucien: hi guys ! Does anyone here ever work with Puppet ?
[03:35:16] Darmani: Ox0dea is my puppet
[03:36:49] shevy: Darmani do you work out with your puppet?
[03:37:06] Darmani: god I've missed you
[03:37:20] shevy: don't worry
[03:37:30] shevy: once you'll be older you will be way too grumpy to miss anybody!
[03:37:38] DonOtreply: has joined #ruby
[03:37:47] Darmani: breh thats not true
[03:38:01] Darmani: at least I hope not lol
[03:39:56] shevy: Darmani I am since like 6 days trying to rewrite something
[03:40:04] shevy: and I lost motivation in the middle of it :(
[03:40:21] askhat: has joined #ruby
[03:40:26] Darmani: shevy: nuuuuu
[03:40:35] Darmani: I would help you if I could but I'm still a noob lol
[03:40:40] Darmani: the most I can do is make you laugh
[03:44:02] DmitryBochkarev: has joined #ruby
[03:45:23] augcesar[2]: has joined #ruby
[03:45:53] finisherr: has joined #ruby
[03:48:45] DonOtreply: has joined #ruby
[03:49:51] finisherr_: has joined #ruby
[03:49:52] mattwildig: has joined #ruby
[03:51:12] kcantwel: has joined #ruby
[03:53:09] devbug: has joined #ruby
[03:53:42] bronson: has joined #ruby
[03:57:30] finisherr: has joined #ruby
[03:58:51] blackgoat: has joined #ruby
[03:59:15] aaeron: has joined #ruby
[04:01:16] spleeze: has joined #ruby
[04:07:44] zast: has joined #ruby
[04:12:57] chipotle: has joined #ruby
[04:14:47] braincrash: has joined #ruby
[04:19:57] gix: has joined #ruby
[04:20:41] rodolfowtf: has joined #ruby
[04:21:07] terminalrecluse: has joined #ruby
[04:21:17] djbkd: has joined #ruby
[04:21:49] Mio-chan: has joined #ruby
[04:21:49] Mio-chan: has joined #ruby
[04:23:37] jottr: has joined #ruby
[04:28:25] farded: has joined #ruby
[04:30:13] x77686d: has joined #ruby
[04:31:24] qabulin: has joined #ruby
[04:33:54] qabulin: I need a hint how to get randomly paired array elements ["fds", "rew", "uio", "jkl;fds", "bnm", "qwe;tui"] split into ["fds", "rew", "uio", "jkl", "fds", "bnm", "qwe", "tui"]
[04:34:35] qabulin: I'm clumsily breaking the whole thing with split() and map, and cannot seem to figure this out in a clean way :^/
[04:37:34] ramfjord: has joined #ruby
[04:37:36] marcosdsanchez: has joined #ruby
[04:38:45] qabulin: OH! I think i found a way: arr = arr.join(";").split(";")
[04:39:16] qabulin: is that really efficient though? looks like it works, but someone got a better one?
[04:40:02] sinkensabe: has joined #ruby
[04:43:36] The_Phoenix: has joined #ruby
[04:45:09] trosborn: has joined #ruby
[04:47:58] Rodya_: has joined #ruby
[04:50:59] openstruct: has joined #ruby
[04:53:02] bronson: has joined #ruby
[04:56:09] pdoherty: has joined #ruby
[05:00:36] Billias: has joined #ruby
[05:02:26] jinetix: has joined #ruby
[05:02:31] kcantwel: has joined #ruby
[05:03:55] pawnbox: has joined #ruby
[05:04:55] UtkarshRay: has joined #ruby
[05:06:18] baweaver: has joined #ruby
[05:08:07] qabulin: has left #ruby: ()
[05:15:37] jottr: has joined #ruby
[05:17:12] Guest17386: has joined #ruby
[05:22:30] Deck-: has joined #ruby
[05:23:06] cyclonis: has joined #ruby
[05:24:19] Rubie: has joined #ruby
[05:25:53] mostlybadfly: has joined #ruby
[05:32:06] Rodya_: has joined #ruby
[05:34:57] rbennacer: has joined #ruby
[05:35:05] x77686d: has joined #ruby
[05:38:11] sudoubuntu: has joined #ruby
[05:38:33] ramfjord: has joined #ruby
[05:41:54] Oog: has joined #ruby
[05:43:33] pawnbox: has joined #ruby
[05:44:35] The_Phoenix: has joined #ruby
[05:49:08] flughafen_: has joined #ruby
[05:53:07] Channel6: has joined #ruby
[05:54:07] bronson: has joined #ruby
[05:54:28] mattwildig: has joined #ruby
[05:57:10] Rodya_: has joined #ruby
[05:59:02] dionysus69: has joined #ruby
[05:59:06] trosborn: has joined #ruby
[06:00:27] sapslaj: has joined #ruby
[06:00:36] Rodya_: has joined #ruby
[06:01:26] cajone: has joined #ruby
[06:02:52] sesquipedalian: has joined #ruby
[06:07:56] jinetix: has joined #ruby
[06:09:47] jinetix: has joined #ruby
[06:10:09] safe: has joined #ruby
[06:11:03] intrigueD: has joined #ruby
[06:12:55] kcantwel: has joined #ruby
[06:14:14] anaeem1_: has joined #ruby
[06:14:49] tildes: has joined #ruby
[06:16:07] cpup: has joined #ruby
[06:18:17] adgtl: has joined #ruby
[06:18:17] adgtl: has joined #ruby
[06:20:36] sauvin: has joined #ruby
[06:20:54] mhoungbo: has joined #ruby
[06:21:23] jonee: has joined #ruby
[06:25:43] pawnbox: has joined #ruby
[06:27:55] sinkensabe: has joined #ruby
[06:29:42] ramfjord: has joined #ruby
[06:29:48] rkazak: has joined #ruby
[06:35:32] bkxd: has joined #ruby
[06:46:29] astrobunny: has joined #ruby
[06:46:37] Ropeney: has joined #ruby
[06:48:38] houhoulis: has joined #ruby
[06:49:58] PaulCape_: has joined #ruby
[06:50:02] eregi: has joined #ruby
[06:50:53] Mio-chan: has joined #ruby
[06:51:02] bb010g: has joined #ruby
[06:54:56] bronson: has joined #ruby
[06:55:41] Eiam_: has joined #ruby
[06:55:48] lxsameer: has joined #ruby
[07:00:06] Dimik: has joined #ruby
[07:01:49] norc_: has joined #ruby
[07:01:50] norc: has joined #ruby
[07:01:52] Coldblackice: has joined #ruby
[07:05:24] rippa: has joined #ruby
[07:06:35] eregi: has joined #ruby
[07:08:43] fullofcaffeine: has joined #ruby
[07:12:10] fullofca_: has joined #ruby
[07:12:41] lightheaded: has joined #ruby
[07:15:22] kies^: has joined #ruby
[07:17:58] rbennacer: has joined #ruby
[07:18:59] Deck-: has joined #ruby
[07:21:45] moei: has joined #ruby
[07:22:18] sinkensabe: has joined #ruby
[07:23:12] kcantwel: has joined #ruby
[07:23:13] fullofcaffeine: has joined #ruby
[07:24:29] ziyadb: has joined #ruby
[07:27:09] fullofca_: has joined #ruby
[07:33:07] uglybandersnatch: has joined #ruby
[07:38:16] djbkd: has joined #ruby
[07:43:32] Ishido: has joined #ruby
[07:44:55] IanV0rn2341: has joined #ruby
[07:44:59] saneax_AFK: has joined #ruby
[07:47:51] Gadgetoid: has left #ruby: ()
[07:49:54] sesquipedalian: has joined #ruby
[07:55:08] mattwildig: has joined #ruby
[07:58:06] runui: has joined #ruby
[08:00:43] bronson: has joined #ruby
[08:03:47] kirillzh: has joined #ruby
[08:06:37] firstdayonthejob: has joined #ruby
[08:12:29] lightheaded: has joined #ruby
[08:15:00] trosborn: has joined #ruby
[08:15:54] rakm: has joined #ruby
[08:20:54] solars: has joined #ruby
[08:22:00] trosborn: has joined #ruby
[08:28:06] rht: has joined #ruby
[08:29:41] rickmasta: has joined #ruby
[08:32:00] rakm: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[08:32:54] mondok: has joined #ruby
[08:33:42] kcantwel: has joined #ruby
[08:41:40] Hounddog: has joined #ruby
[08:45:06] devbug_: has joined #ruby
[08:45:39] Jammy_Work: has joined #ruby
[08:46:00] dopie: has joined #ruby
[08:48:25] Hounddog: has joined #ruby
[08:49:49] SCHAAP137: has joined #ruby
[08:56:13] cgfbee: has joined #ruby
[08:56:20] cfloare: has joined #ruby
[08:56:50] baweaver: has joined #ruby
[09:01:12] tulak: has joined #ruby
[09:03:00] bronson: has joined #ruby
[09:04:25] The_Phoenix: has joined #ruby
[09:07:07] The_Phoenix1: has joined #ruby
[09:07:13] ahmet: has joined #ruby
[09:13:05] quazimodo: has joined #ruby
[09:13:44] krzkrzkrz: has joined #ruby
[09:20:16] tomphp: has joined #ruby
[09:20:36] public_class: has joined #ruby
[09:21:51] duckpupp1: has joined #ruby
[09:22:16] aupadhye: has joined #ruby
[09:25:08] Macaveli: has joined #ruby
[09:30:57] marcosdsanchez: has joined #ruby
[09:35:52] eregi: has joined #ruby
[09:36:33] Noxilex: has joined #ruby
[09:36:40] robbyoconnor: has joined #ruby
[09:39:26] ferr: has joined #ruby
[09:41:12] robbyoconnor: has joined #ruby
[09:42:15] IanV0rn2341: has joined #ruby
[09:44:02] kcantwel: has joined #ruby
[09:46:28] symm-: has joined #ruby
[09:46:42] IanV0rn2341: has joined #ruby
[09:47:58] moeabdol: has joined #ruby
[09:48:22] minimalism: has joined #ruby
[09:49:51] ledestin: has joined #ruby
[09:52:49] jeanlinux: has joined #ruby
[09:54:11] Jackneill: has joined #ruby
[09:55:47] IanV0rn2341: has joined #ruby
[09:56:11] krzkrzkrz: has joined #ruby
[09:56:11] mattwildig: has joined #ruby
[09:59:41] devbug: has joined #ruby
[10:03:59] mdw: has joined #ruby
[10:04:22] bronson: has joined #ruby
[10:06:39] meal: has joined #ruby
[10:07:25] DmitryBochkarev: has joined #ruby
[10:08:09] vdamewood: has joined #ruby
[10:10:23] sandstrom: has joined #ruby
[10:14:58] FernandoBasso: has joined #ruby
[10:22:10] flughafen_: has joined #ruby
[10:22:34] duckpupp1: has joined #ruby
[10:27:22] TomyLobo: has joined #ruby
[10:27:37] jonee: has joined #ruby
[10:29:20] djbkd: has joined #ruby
[10:31:42] DrCode: has joined #ruby
[10:32:34] thevaliantx: has joined #ruby
[10:33:20] kirun: has joined #ruby
[10:34:50] JoshuaPaling: has joined #ruby
[10:34:57] adgtl: has joined #ruby
[10:34:57] adgtl: has joined #ruby
[10:37:58] pawnbox: has joined #ruby
[10:39:22] verde: has joined #ruby
[10:41:28] Deck-: has joined #ruby
[10:46:30] jottr: has joined #ruby
[10:47:03] djbkd: has joined #ruby
[10:47:58] moeabdol1: has joined #ruby
[10:48:24] bookies: has joined #ruby
[10:48:39] bookies: I am getting this error: "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory". I installed ruby 2.2.4 using RVM and this came up. I tried the different solutions find online to update the brew but with no luck
[10:48:41] bookies: how do I make the system to select the current version of Ruby instead of the 1.8 folder?
[10:49:59] adgtl: has joined #ruby
[10:51:49] Hanmac: hm for me it seems rvm might not be configured correctly ... what why it might try to pick the wrong ruby ...or rvm is not loaded yet in this console
[10:54:41] kcantwel: has joined #ruby
[10:55:59] bookies: hanmac: it is loaded but probably it is ineed not configured properly
[10:58:34] baweaver: has joined #ruby
[10:58:52] bookies: when I do "ruby" in a console it gets stack there and when I do "which ruby" I get "/.rvm/rubies/ruby-2.2.4/bin/ruby"
[11:00:56] william3: has joined #ruby
[11:02:44] ldnunes: has joined #ruby
[11:04:58] bronson: has joined #ruby
[11:06:25] arquebus: has joined #ruby
[11:06:36] arquebus: has left #ruby: ()
[11:10:23] eregi: has joined #ruby
[11:11:46] ramfjord: has joined #ruby
[11:17:19] jottr: has joined #ruby
[11:21:03] william3: has joined #ruby
[11:23:20] duckpupp1: has joined #ruby
[11:25:29] Synthead: has joined #ruby
[11:28:23] william3: has joined #ruby
[11:44:55] blackgoat: has joined #ruby
[11:46:37] hangelo: has joined #ruby
[11:46:39] scalper: has joined #ruby
[11:46:54] scalper: does ruby looks like the pascal programming language?
[11:47:17] Hanmac: if you want it to be?
[11:47:21] platzhirsch: has joined #ruby
[11:47:36] mrchris: has joined #ruby
[11:48:19] scalper: hanmac: the fact is that i have a book that is a script language that looks like delphi and since delphi looks like pascal i have also a very nice ruby course that i can learn right now, do you think it makes sense?
[11:48:28] sdothum: has joined #ruby
[11:48:48] scalper: i wanted to learn it to get more progress on the language that looks like delphi later
[11:50:34] Hanmac: delphi is a pascal derivat, so its normal that it does look like pascal ... ruby is more object oriented, but it can look functional if you want it.
[11:50:34] Hanmac: if it does help you to learn ruby, so why not?
[11:50:38] Gnut: has joined #ruby
[11:52:22] Tempesta: has joined #ruby
[11:52:28] binaryplease: has joined #ruby
[11:56:50] jonee: has joined #ruby
[11:57:04] mattwildig: has joined #ruby
[11:57:13] cyclonis: has joined #ruby
[12:02:17] kobain: has joined #ruby
[12:05:02] kcantwel: has joined #ruby
[12:06:40] trinaldi: has joined #ruby
[12:07:06] william3: has joined #ruby
[12:07:09] JoshuaPaling: has joined #ruby
[12:08:01] jottr_: has joined #ruby
[12:08:50] tknz: has joined #ruby
[12:13:02] quazimodo: has joined #ruby
[12:13:46] Noxilex: has joined #ruby
[12:14:56] rdark: has joined #ruby
[12:17:13] Macaveli: has joined #ruby
[12:20:31] platzhirsch: Does it make sense to great a gem if you don't plan to distribute it? For instance as a library
[12:21:40] Ropeney: has joined #ruby
[12:21:41] quakephil: has joined #ruby
[12:22:15] havenwood: platzhirsch: yup, some folk ship unpushed gems alongside Rails apps, etc
[12:22:27] platzhirsch: Any rational behind that?
[12:24:05] duckpupp1: has joined #ruby
[12:24:12] havenwood: platzhirsch: you can list in your Gemfile, keep deps separate and get a clean namespace to interact with
[12:24:52] tildes: has joined #ruby
[12:27:25] platzhirsch: so you would generally endorse it? I mean it's just a nice encapsulation, isn't it
[12:28:00] william3: has joined #ruby
[12:28:27] moeabdol2: has joined #ruby
[12:29:13] havenwood: platzhirsch: yeah, it's a nice boundary it seems
[12:29:23] william3: has joined #ruby
[12:29:55] havenwood: platzhirsch: I recall they discussed unbuilt gems in this episode or Ruby Rogues: https://devchat.tv/ruby-rogues/242-rr-migrating-a-monolith-to-microservices-via-an-evolutionary-path-with-mike-gehard
[12:30:13] platzhirsch: havenwood: oh nice! I will give it a listen
[12:30:46] trinaldi: has joined #ruby
[12:35:30] ljames: how can I initialize an object using a variable number of arguments contained in another variable? for example calling "func *a" works, but "SomeObj.new *a" gives me an error?
[12:35:48] ljames: similar to "apply" in some other languages
[12:40:59] ALVAN: has joined #ruby
[12:41:17] ALVAN: how can i list on which ruby package belong a binary file ?
[12:41:31] ALVAN: or gem package
[12:41:45] ALVAN: the binary was installed with gem install
[12:43:48] codecop: has joined #ruby
[12:47:19] Papierkorb: ljames: Please post the line(s) of code AND the complete error message.
[12:47:39] Papierkorb: ljames: I'm not having issues with that
[12:49:52] Papierkorb: >> a = [ 'Test' ]; String.new *a
[12:49:53] ruby[bot]: Papierkorb: # => "Test" (https://eval.in/526553)
[12:51:17] ljames: Papierkorb, it was in some third party library; and turns out I was passing invalid arguments in the *a, and it works now that I've fixed it. sorry for asking.
[12:51:23] havenwood: ALVAN: The executable's "shebang" line (the first line) will show which Ruby it's pointing at. For example if you wanted to look at the `bundle` executable: head -n1 "$(command -v bundle)"
[12:51:38] Papierkorb: ljames: Don't be sorry for asking
[12:51:52] Ox0dea: havenwood: I think ALVAN is looking for `gem which`?
[12:52:21] ElFerna_: has joined #ruby
[12:52:27] havenwood: Ox0dea: I was wondering that same thing, but then guessed otherwise. Unsure!
[12:52:51] havenwood: ALVAN: Do you know the gem name?
[12:52:56] havenwood: Ox0dea: Yeah, I think I read wrong.
[12:53:29] havenwood: ALVAN: Or (again if Bundler is the example gem): gem which bundler
[12:55:05] FooMunki: has joined #ruby
[12:55:28] ALVAN: havenwood yes i know the gem name
[12:55:33] havenwood: ALVAN: Or: gem contents bundler
[12:55:40] ALVAN: i will try to look at shebang too
[12:55:53] tildes: has joined #ruby
[12:55:58] havenwood: ALVAN: Let us know what it was you were looking for if you find it! (I'm just curious.)
[12:56:24] ALVAN: yes i never though to actually open the executable :) .. i found the gem name
[12:56:41] Papierkorb: havenwood: My guess is he's looking for the gem (its name) which provides a certain binary. Like "pacman -Qo" if you're on Arch
[12:56:44] ALVAN: i was looking to know the executable on which gem belongs
[12:56:54] havenwood: Papierkorb: We've all guessed differently. :P
[12:57:02] Papierkorb: ALVAN: zsh: $ sed -n "s/^gem '\([^']*\)'.*/\1/p" =bundle
[12:57:11] Papierkorb: ALVAN: for bash, replace =bundle with $(which bundle)
[12:57:44] Papierkorb: Will break horribly if you give it a program which is not from a gem :)
[12:58:07] ALVAN: opening the excutable i could saw the gem name in the bash comments
[12:58:19] havenwood: ALVAN: Well, the shebang is what shows that. ;)
[12:58:25] eregi: has joined #ruby
[12:58:44] Papierkorb: havenwood: that only says /usr/bin/ruby for me
[12:59:08] havenwood: Papierkorb: Then that is the Ruby that gem bin runs with.
[12:59:23] havenwood: Papierkorb: Which is what's being asked, right?
[12:59:33] Papierkorb: havenwood: I'm not even sure anymore
[12:59:38] havenwood: Papierkorb: yeah, me neither
[12:59:40] Ox0dea: I think they want to know which gem owns a given executable.
[12:59:44] ALVAN: but if there were no comments then is there other way like in "rpm -qf /usr/bin/executable" to show the exact gem an excutable belongs ?
[12:59:52] Ox0dea: There it is!
[12:59:55] havenwood: I think they want to know which Ruby corresponds with a gem executable.
[12:59:59] Papierkorb: ALVAN: [13:57] <Papierkorb> ALVAN: zsh: $ sed -n "s/^gem '\([^']*\)'.*/\1/p" =bundle
[13:00:06] havenwood: Dang, I'm wrong. Hate when that happens!
[13:00:41] ALVAN: havenwood: in my cause is ok i could find the gem name ... but maybe is not always the answer so i am looking also for alternatives thanks anyway
[13:00:45] vilislacis: has joined #ruby
[13:01:00] ALVAN: Papierkorb: gonna try that then ..
[13:01:02] Ox0dea: ALVAN: `gem list` will list all your intalled gems and `gem spec foo executables` will show the executables installed for the gem "foo".
[13:01:12] Ox0dea: *installed
[13:01:34] Ox0dea: Pretty easy to combine those two to hack together a bodge in a pinch.
[13:02:19] ALVAN: Ox0dea: yeap gem spec foo executable works better and i can see all executables that belongs to a gem package .. thank you
[13:02:29] Ox0dea: ALVAN: Happy to help. :)
[13:03:40] ALVAN: Ox0dea: can you do it backwords too .. like gem executables name ? to list gem package only
[13:03:57] platzhirsch: Hm, what's a good way to model time slots for scheduling
[13:04:03] the_last: has joined #ruby
[13:04:06] Ox0dea: ALVAN: The coreutils are at your disposal. :P
[13:04:13] stannard: has joined #ruby
[13:04:33] the_last: hey guys, i want to use this: https://github.com/sferik/twitter to do some status updates, but i also want to get the id of the update returned to me when it saves it, is there a way to do that?
[13:05:24] Ox0dea: platzhirsch: Start + duration is pretty good?
[13:05:56] ALVAN: Ox0dea: yeap but i want to do that using gem command .. i am not always using rpm to install think sometims make :) so coreutils cant help
[13:06:12] ALVAN: s/think/gems
[13:06:25] platzhirsch: Ox0dea: yeah I guess just making it OOP
[13:06:28] Ox0dea: the_last: #update returns a Twitter::Tweet, which has an #id method that you could just print out.
[13:06:58] bronson: has joined #ruby
[13:07:01] william3: has joined #ruby
[13:07:14] the_last: Ox0dea: gotcha, thanks.
[13:07:19] Ox0dea: Sure thing.
[13:07:27] william3: has joined #ruby
[13:08:37] nfk: has joined #ruby
[13:11:15] tomphp: has joined #ruby
[13:11:21] c355E3B: has joined #ruby
[13:14:12] robbyoconnor: has joined #ruby
[13:14:20] okdas: has joined #ruby
[13:14:20] okdas: has joined #ruby
[13:15:18] kcantwel: has joined #ruby
[13:15:39] rht: has joined #ruby
[13:15:59] ramfjord: has joined #ruby
[13:16:37] n008f4g_: has joined #ruby
[13:18:48] slackbotgz: has joined #ruby
[13:18:48] hxegon: has joined #ruby
[13:20:29] majoh: has joined #ruby
[13:20:45] johnmilton: has joined #ruby
[13:21:52] b|ackwolf: has joined #ruby
[13:22:15] b|ackwolf: what is the best way to learn from Python background?
[13:23:45] Ox0dea: Papierkorb: You should've resisted. :P
[13:24:08] Ox0dea: Papierkorb: The table flipper thing.
[13:24:51] duckpupp1: has joined #ruby
[13:25:20] yqt: has joined #ruby
[13:25:44] Papierkorb: No orangered on my screen. Everything's fine
[13:28:37] Hanmac: b|ackwolf: so you mean ruby from python or python from ruby?
[13:28:49] sinkensabe: has joined #ruby
[13:29:12] b|ackwolf: blackjid, the first one.
[13:29:19] b|ackwolf: hanmac, the first one.
[13:29:26] Hanmac: b|ackwolf: i think the best would be to look at this first: https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-python/
[13:29:41] b|ackwolf: hanmac, I've read that. what's next?
[13:29:58] TomyLobo: "::" is for submodules, "." is for methods. why was a syntactical distinction made?
[13:30:12] Hanmac: then maybe the other https://www.ruby-lang.org/en/documentation/ "Getting Started" stuff might be interesting
[13:30:18] Ox0dea: TomyLobo: How do you mean?
[13:30:33] b|ackwolf: so there's no need for reading a book or somethin'?
[13:30:38] TomyLobo: Ox0dea, well it could have been all dots, no?
[13:30:51] b|ackwolf: TomyLobo, because of Perl :D
[13:30:55] Ox0dea: b|ackwolf: https://learnxinyminutes.com/docs/ruby/
[13:30:59] TomyLobo: that's the worst reason!
[13:31:01] Ox0dea: But you should also read a book.
[13:31:07] Hanmac: b|ackwolf: hm i learned ruby without book, but reading one might not hurt
[13:31:20] TomyLobo: "because of perl" can lead you to all kinds of cruelties
[13:31:25] Hanmac: TomyLobo: ClassA::ClassB.methodA
[13:31:42] b|ackwolf: Ox0dea, what do you prefer/suggest?
[13:31:42] davedev24: has joined #ruby
[13:31:53] Ox0dea: b|ackwolf: The Well-Grounded Rubyist is very good.
[13:32:05] TomyLobo: after the latin "ex falso quod libet" - from wrong things follows everything including evil
[13:32:26] Ox0dea: TomyLobo: It's not "because of Perl".
[13:32:40] Ox0dea: It lets us make a distinction between constant resolution and method resolution when they would otherwise conflict.
[13:32:42] Hanmac: b|ackwolf: hm i would prefer to read pdfs and other stuff first, before i would buy a real book (also because it saves money XD)
[13:33:07] TomyLobo: oh so a class is a constant?
[13:33:08] s00pcan_: has joined #ruby
[13:33:15] b|ackwolf: Ox0dea, tnx
[13:33:20] b|ackwolf: hanmac, you too.
[13:33:42] Hanmac: Ox0dea: yeah lets talk about the difference between Array and Array() ;P
[13:33:51] b|ackwolf: Ox0dea, I really love Manning Publications :D
[13:34:06] Noxilex: has joined #ruby
[13:34:10] Ox0dea: b|ackwolf: That's a good sign! :P
[13:34:16] Ox0dea: hanmac: It's a very useful difference.
[13:34:26] mattwildig: has joined #ruby
[13:34:27] Ox0dea: TomyLobo: For most intensive porpoises, yes.
[13:34:48] Hanmac: Ox0dea: yeah, but its also very funky if you dont use () like in "Array var" ,P
[13:35:13] Ox0dea: hanmac: That does look a little scary.
[13:35:47] TomyLobo: interesting... didnt even know ruby had a concept of constants
[13:35:49] uglybandersnatch: has joined #ruby
[13:36:53] Ox0dea: TomyLobo: https://eval.in/526565
[13:36:53] Hanmac: Ox0dea: also its funky how ClassX::XYZ is resolved compared to ClassX::XYZ() XYZ is a constant, while XYZ() and xyz are methods
[13:37:24] Ox0dea: hanmac: I don't think it's "funky", really; just something to become aware of and familiar with.
[13:37:28] Papierkorb: They're just in different lookup scopes
[13:37:59] Papierkorb: The interesting fact IMO is that there are in fact different scopes for methods and constants
[13:38:00] TomyLobo: so . is always method, :: is constant if it exists, otherwise method
[13:38:11] DmitryBochkarev: has joined #ruby
[13:38:37] b|ackwolf: Ox0dea, is there a big difference between 1.9.x and 2.x ?
[13:38:44] Papierkorb: TomyLobo: Yes, and at least rubocop warns you when you use :: to call a method
[13:38:44] sgambino: has joined #ruby
[13:39:00] TomyLobo: ACTION notes down rubocop
[13:39:03] Ox0dea: b|ackwolf: 1.9 is dead while 2.x lives; that's quite a stark distinction. :P
[13:39:10] krzkrzkrz: has joined #ruby
[13:39:30] b|ackwolf: Ox0dea, so how's going with the book?
[13:39:32] Ox0dea: TomyLobo: Almost. `::` followed by a capital is always constant resolution.
[13:39:41] Ox0dea: You can't use `::` to invoke a capitalized method.
[13:39:50] Ox0dea: b|ackwolf: Pardon?
[13:40:09] Hanmac: Ox0dea: it works when you use ()
[13:40:10] Papierkorb: Ox0dea: Now that's funky
[13:40:21] b|ackwolf: Ox0dea, nevermind. I found the second edition :D
[13:40:23] Papierkorb: >> ::Array("foo")
[13:40:24] ruby[bot]: Papierkorb: # => /tmp/execpad-78433cc31081/source-78433cc31081:2: syntax error, unexpected '(', expecting keyword_end ...check link for more (https://eval.in/526566)
[13:40:31] TomyLobo: and yet precise still comes with 1.9
[13:40:36] TomyLobo: someone should tell them it's dead :)
[13:40:41] Hanmac: like that: https://eval.in/526567
[13:40:53] Infra-Red: has joined #ruby
[13:41:15] TomyLobo: even comes with 1.8 o_O
[13:41:27] Ox0dea: I wonder, then, if we can tap into that anomaly to decide at runtime whether or not a method was invoked with explicit parentheses.
[13:42:03] tomphp: has joined #ruby
[13:42:06] Ox0dea: I realize this particular ambiguity is being resolved at the parser level, of course.
[13:42:07] jonee: has joined #ruby
[13:42:11] Papierkorb: TomyLobo: Almost no one uses the system ruby if they're using an OS which isn't bleeding edge, and even on those some don't use it to not have sudden ruby updates
[13:42:34] TomyLobo: trusty comes with 1.9 as well
[13:42:46] Papierkorb: TomyLobo: Tools like chruby, rvm, rbenv help you to do that btw.
[13:43:26] Ox0dea: Well, one of them does.
[13:43:40] Ox0dea: It seems to be a game of chance with the other two.
[13:43:49] decoponio: has joined #ruby
[13:44:01] TomyLobo: i'd just love a tool that simply makes me a deb with my app, the specific ruby it needs and all the gems in my Gemfile
[13:44:13] Papierkorb: I was bitten by that when I switched to Mint @work, and bundle install suddenly threw random error messages. Took a moment to realize it was using ruby 1.9
[13:44:21] Ox0dea: TomyLobo: I feel like that's probably a thing?
[13:44:28] Hanmac: Ox0dea: if we have "explicit parentheses" there is also the funk between "super" and "super()" ;P
[13:44:30] TomyLobo: yeah it's called omnibus
[13:44:34] Papierkorb: TomyLobo: Ask the vagrant guys, they're shipping their own ruby installation along the DEB or whatever you have
[13:44:39] TomyLobo: but it's ridiculously hard to set up
[13:44:45] Ox0dea: hanmac: Right. I wish we were able to make that distinction from Ruby land.
[13:44:59] Ox0dea: Having `Math.sin == Math.method(:sin)` would be really nice for some silly things I want to try.
[13:45:04] Spami: has joined #ruby
[13:45:30] Papierkorb: Ox0dea: Mess with the bytecode
[13:45:32] TomyLobo: Papierkorb, i know they do that on windows
[13:45:36] TomyLobo: let me check their .deb
[13:45:39] Ox0dea: Papierkorb: I can't get in early enough. :/
[13:45:47] Papierkorb: TomyLobo: on Ubuntu/Debian/Mint too
[13:46:01] Papierkorb: at least, no idea about their other packages
[13:46:07] Hanmac: Ox0dea: hm yeah, how often did i something like "Dir["*"].sort_by(&File,method(:size))" ... i wish the method one to be shorter :/
[13:46:16] Ox0dea: hanmac: Same here.
[13:47:07] Papierkorb: I wonder if introducing an operator to call #method would be possible. something like sort_by(&File->size)
[13:47:47] Ox0dea: Could just use Class#[] for that purpose?
[13:47:56] Ox0dea: sort_by(&File[:size])
[13:47:59] Papierkorb: But wasn't there some gem at one point in /r/ruby which did something similar?
[13:47:59] Ox0dea: Scary, though.
[13:48:20] Hanmac: Ox0dea: might not work, most of my klasses have [] to get their instances :/
[13:48:23] Hanmac: >> require "date"; "%d days" % (Date.today - Date.parse(RUBY_RELEASE_DATE))
[13:48:24] ruby[bot]: hanmac: # => "64 days" (https://eval.in/526570)
[13:48:30] TomyLobo: since i have nothing that can read .deb (or .ar) on my windows, I just de-ared it with notepad++ :P
[13:48:31] Ox0dea: hanmac: Myeah, not the greatest choice.
[13:48:47] Hanmac: but i like Papirkorbs -> idea *g
[13:49:06] Ox0dea: Papierkorb: How do you mean by "something similar"?
[13:49:14] Hanmac: hm normally its the other way around ... Idea -> Papierkorb XD
[13:49:17] TomyLobo: and yep there's a /opt/vagrant/embedded/bin/ruby in there
[13:49:34] Papierkorb: Ox0dea: Just like . is aliased to #call, -> could be aliased to #method
[13:49:50] Papierkorb: well, aliased in some sense
[13:50:02] Ox0dea: Papierkorb: But then it'd be `sort_by(&File->(size))`?
[13:50:32] jonathanwallace1: has joined #ruby
[13:50:34] TomyLobo: looks like 2.2.0
[13:50:43] ferr: has joined #ruby
[13:50:48] erts: has joined #ruby
[13:51:28] Papierkorb: Ox0dea: This is ruby. I don't see an issue with introducing a slightly different syntax for this one. After you know what it does, it gets quite readable IMO
[13:52:39] Ox0dea: https://eval.in/526575
[13:52:59] Ox0dea: I don't see how to rewind the stack and survive the ArgumentError. :/
[13:53:18] Ox0dea: Mayhap binding_of_caller could do the trick, but the approach isn't immediately obvious to me.
[13:54:55] Ebok: has joined #ruby
[13:55:25] tjbiddle: has joined #ruby
[13:55:48] Papierkorb: Ox0dea: Maybe I'll play with the ruby sources later today. Can't hurt to know some internals
[13:56:05] Ropeney: has joined #ruby
[13:56:10] Papierkorb: But first, photo editing. Which I wanted to begin 2hrs ago. F.
[13:56:28] Ox0dea: Papierkorb: You'll need to get right up in the guts, I reckon; this kind of thing is right near the heart.
[13:57:23] FernandoBasso: has joined #ruby
[13:57:49] Ox0dea: We can do all sorts of crazy things once we're actually inside a method call from TracePoint (changing variables, injecting early returns), but we don't get that opportunity if the method immediately raises.
[13:58:09] Papierkorb: Yup, update the yacc/bison stuff, do some dancing around the method resolution or something, and probably sacrifice 500 JPY to Matz
[13:58:54] Ox0dea: Godspeed. parse.y is crazy enough, but you'd also be fighting the stabby lambda syntax if you wanted your `File->(size)` approach.
[13:59:19] Papierkorb: Ah right, I knew I was overlooking some existing operator
[13:59:54] Papierkorb: Then &> and call it the lonely crocodile operator or something
[14:00:02] Ox0dea: Could just forcibly override all nonzero-arity methods to return Method instances when invoked with zero arguments, but then it doesn't generalize to zero-arity methods, thus my interest in detecting explicit parentheses.
[14:01:23] QORRiE: has joined #ruby
[14:02:11] Ox0dea: Just imagine if Ruby had a standardized pre-processor...
[14:02:50] infoget: has joined #ruby
[14:03:47] centrx: has joined #ruby
[14:08:12] adgtl: has joined #ruby
[14:09:26] nando293921: has joined #ruby
[14:14:36] sandstrom: has joined #ruby
[14:15:31] tildes: has joined #ruby
[14:15:53] dimasg: has joined #ruby
[14:20:08] intrigueD: has joined #ruby
[14:20:42] triangles: has joined #ruby
[14:21:41] jonee: has joined #ruby
[14:25:50] futilegames: has joined #ruby
[14:26:52] duckpupp1: has joined #ruby
[14:27:15] DmitryBochkarev: has joined #ruby
[14:27:18] william3: has joined #ruby
[14:32:28] jottr_: has joined #ruby
[14:34:31] sinkensabe: has joined #ruby
[14:34:43] Macaveli: has joined #ruby
[14:35:34] ALVAN: has left #ruby: ()
[14:38:31] mrchris: has joined #ruby
[14:42:57] Vingador: has joined #ruby
[14:43:10] jeanlinux: has joined #ruby
[14:44:45] jeanlinux: has joined #ruby
[14:45:40] william3: has joined #ruby
[14:45:42] spuk: has joined #ruby
[14:46:32] eregi: has joined #ruby
[14:55:22] the_last: http://www.rubydoc.info/gems/twitter/Twitter/REST/Timelines#home_timeline-instance_method
[14:55:35] the_last: how do i call home_timeline here? Twitter::REST::Timelines.home_timeline?
[14:56:45] the_last: because thats what im doing, and i get undefined method `home_timeline' for Twitter::REST::Timelines:Module (NoMethodError)
[14:58:28] the_last: nvm, client.home_timeline is what i needed
[14:59:09] Noxilex: has joined #ruby
[14:59:56] rdavila: has joined #ruby
[15:00:03] callumacrae: has joined #ruby
[15:01:12] Infra-Red: has joined #ruby
[15:01:12] baweaver: has joined #ruby
[15:02:28] shanemcd: has joined #ruby
[15:03:43] despai: has joined #ruby
[15:04:38] ghormoon: has joined #ruby
[15:05:24] sinkensabe: has joined #ruby
[15:07:54] hiljusti: has joined #ruby
[15:08:05] adgtl: has joined #ruby
[15:08:06] adgtl: has joined #ruby
[15:08:20] dionysus69: has joined #ruby
[15:13:27] ramfjord: has joined #ruby
[15:13:54] zeroDi: has joined #ruby
[15:14:34] Noxilex: Is there a ruby golfing channel ?
[15:16:26] tknz: has joined #ruby
[15:16:50] nogic: has joined #ruby
[15:19:00] william3: has joined #ruby
[15:19:42] Ox0dea: Golf thread? Golf thread.
[15:19:47] Ox0dea: What's the prompt?
[15:21:12] rht: has joined #ruby
[15:24:53] Ropeney: has joined #ruby
[15:24:54] Rubie: has joined #ruby
[15:25:06] n008f4g_: has joined #ruby
[15:25:23] shanemcd: has joined #ruby
[15:25:56] platzhirsch: has joined #ruby
[15:26:06] william3: has joined #ruby
[15:26:11] platzhirsch: havenwood: ah this one, yeah I actually listened to this one
[15:26:38] platzhirsch: But apparently I need to relisten
[15:27:37] duckpupp1: has joined #ruby
[15:27:45] rdavila: has joined #ruby
[15:28:07] Ox0dea: Noxilex: You tease!
[15:28:59] tomphp: has joined #ruby
[15:32:15] YankNYC: has joined #ruby
[15:32:53] YankNYC: Good morning
[15:34:21] YankNYC: Has anyone worked with RSpec and VCR? I can't get it to save cassettes for some reason. I configured the spec-helper for meta and added it to an example block making the http request. The documentation needs some loving too.
[15:36:41] Aviio: has joined #ruby
[15:36:58] pawnbox: has joined #ruby
[15:39:30] lampe2: has joined #ruby
[15:39:53] workmad3: has joined #ruby
[15:41:22] sinkensabe: has joined #ruby
[15:43:35] statelesscode: has joined #ruby
[15:43:59] dlitvak: has joined #ruby
[15:49:35] houhoulis: has joined #ruby
[15:49:57] MrDoctor: has joined #ruby
[15:52:18] sandstrom: has joined #ruby
[15:52:52] flughafen_: has joined #ruby
[15:52:58] sesquipedalian: has joined #ruby
[15:54:30] rodolfowtf: has joined #ruby
[15:54:37] Aviio: has joined #ruby
[15:54:46] adgtl: has joined #ruby
[15:55:21] lightheaded: has joined #ruby
[15:56:03] lightheaded: has joined #ruby
[15:56:20] adgtl: has joined #ruby
[16:00:06] nettoweb: has joined #ruby
[16:00:46] jeanlinux: has joined #ruby
[16:01:34] gregf: has joined #ruby
[16:02:57] Infra-Red: has joined #ruby
[16:03:27] DrCode: has joined #ruby
[16:04:34] nettoweb: has joined #ruby
[16:05:02] YankNYC: cool i got it to work. i was using pry and it never resolved all the tests so probably didn't save cassettes
[16:06:03] marcosdsanchez: has joined #ruby
[16:06:03] sudoubuntu: has joined #ruby
[16:09:36] tomphp: has joined #ruby
[16:09:59] bronson: has joined #ruby
[16:14:30] adgtl: has joined #ruby
[16:14:51] mattwildig: has joined #ruby
[16:15:23] SpikeMaster: has joined #ruby
[16:15:45] sinkensabe: has joined #ruby
[16:15:53] dlitvak: has joined #ruby
[16:16:46] SpikeMaster: has left #ruby: ()
[16:18:42] petercooper: has joined #ruby
[16:20:10] elifoster: has joined #ruby
[16:20:34] nando293921: has joined #ruby
[16:20:51] whiteline: has joined #ruby
[16:25:13] shanemcd: has joined #ruby
[16:25:17] dfockler: has joined #ruby
[16:27:16] nogic: has joined #ruby
[16:28:15] william3: has joined #ruby
[16:28:22] duckpupp1: has joined #ruby
[16:30:21] BtcBen: has joined #ruby
[16:31:42] chouhoulis: has joined #ruby
[16:31:49] shanemcd: has joined #ruby
[16:31:58] knicholls: has joined #ruby
[16:33:22] Rodya_: has joined #ruby
[16:34:42] eregi: has joined #ruby
[16:36:33] adgtl: has joined #ruby
[16:37:08] pdoherty: has joined #ruby
[16:39:33] mattwildig: has joined #ruby
[16:43:09] symm-: has joined #ruby
[16:45:41] tjohnson: has joined #ruby
[16:48:47] Eiam_: has joined #ruby
[16:48:50] Dimik: has joined #ruby
[16:49:19] dgncn: has joined #ruby
[16:49:42] sinkensabe: has joined #ruby
[16:50:47] monod: has joined #ruby
[16:51:50] sinkensabe: has joined #ruby
[16:52:32] Dragooon: has joined #ruby
[16:56:21] william3: has joined #ruby
[16:58:02] Ox0dea: Noxilex: Why are we not golfing?
[16:58:39] william3: has joined #ruby
[16:59:07] hiljusti: i left my clubs at home
[16:59:33] Noxilex: I just wanted a dedicated channel that's all :p
[16:59:46] Noxilex: But I found one ! :)
[16:59:55] Noxilex: So it's alright
[17:00:16] pestle: has left #ruby: ("WeeChat 1.3")
[17:00:48] Ox0dea: Do say more.
[17:02:07] baweaver: has joined #ruby
[17:03:18] segy: has joined #ruby
[17:04:16] kent\n: has joined #ruby
[17:04:33] godzillaenlacasa: has joined #ruby
[17:05:09] jonee: has joined #ruby
[17:06:01] steffkes: has joined #ruby
[17:06:16] intrigueD: has joined #ruby
[17:07:22] novito: has joined #ruby
[17:08:05] jottr_: has joined #ruby
[17:08:13] Pupeno: has joined #ruby
[17:08:47] kies^: has joined #ruby
[17:09:00] novito: has joined #ruby
[17:09:15] fedexo: has joined #ruby
[17:09:47] monod: has joined #ruby
[17:09:59] sdrew: has joined #ruby
[17:10:11] nobitanobi: has joined #ruby
[17:14:27] shanemcd_: has joined #ruby
[17:14:36] tomphp: has joined #ruby
[17:15:11] Guest34101: has joined #ruby
[17:16:50] rodolfowtf: has joined #ruby
[17:18:06] railsForDaiz: has joined #ruby
[17:18:09] mattwildig: has joined #ruby
[17:18:28] rodolfowtf: has joined #ruby
[17:20:39] sgambino: has joined #ruby
[17:21:52] platzhirsch: Given a Hash mapping keys to integers. What's the shortest way to select the minimum value and get the key and not the value
[17:24:26] havenwood: platzhirsch: min_by &:last
[17:24:45] sinkensabe: has joined #ruby
[17:26:09] djbkd: has joined #ruby
[17:26:52] havenwood: platzhirsch: Or if you prefer: min_by { |_, v| v }
[17:27:00] platzhirsch: >> {a: 5, b: 3, c: 1}.min_by(&:last)
[17:27:01] ruby[bot]: platzhirsch: # => [:c, 1] (https://eval.in/526643)
[17:27:10] platzhirsch: >> {a: 5, b: 3, c: 1}.max_by(&:last)
[17:27:11] ruby[bot]: platzhirsch: # => [:a, 5] (https://eval.in/526644)
[17:28:24] havenwood: >> {a: 5, b: 3, c: 1}.rassoc 1
[17:28:25] ruby[bot]: havenwood: # => [:c, 1] (https://eval.in/526646)
[17:29:00] gix: has joined #ruby
[17:29:06] duckpupp1: has joined #ruby
[17:29:45] sinkensabe: has joined #ruby
[17:31:16] jeanlinux: has joined #ruby
[17:31:29] aryaching: has joined #ruby
[17:32:19] fullofcaffeine: has joined #ruby
[17:33:10] Ox0dea: >> {a: 5, b: 3, c: 1}.invert.sort[0][1]
[17:33:11] ruby[bot]: Ox0dea: # => :c (https://eval.in/526647)
[17:35:38] jeanlinux: has joined #ruby
[17:36:03] fullofca_: has joined #ruby
[17:36:39] PsionTheory: has joined #ruby
[17:36:59] safe: has joined #ruby
[17:37:41] uglybandersnatch: has joined #ruby
[17:39:20] shanemcd: has joined #ruby
[17:41:46] hxegon: has joined #ruby
[17:42:13] Infra-Red: has joined #ruby
[17:42:31] ss_much: has joined #ruby
[17:42:38] fantazo_: has joined #ruby
[17:42:55] shanemcd_: has joined #ruby
[17:44:04] sinkensabe: has joined #ruby
[17:44:05] Infra-Red: has joined #ruby
[17:44:37] eregi: has joined #ruby
[17:44:42] ohaibbq: has joined #ruby
[17:45:17] spuk: has joined #ruby
[17:46:16] chouhoulis: has joined #ruby
[17:50:04] aryaching: has joined #ruby
[17:53:17] FastJack: has joined #ruby
[17:53:54] IanV0rn2341: has joined #ruby
[17:53:55] despai: has joined #ruby
[17:56:29] nfk|laptop: has joined #ruby
[17:56:42] ur5us: has joined #ruby
[18:00:08] IanV0rn2341: has joined #ruby
[18:00:17] rickmasta: has joined #ruby
[18:02:08] MeMoc: has joined #ruby
[18:02:44] firstdayonthejob: has joined #ruby
[18:02:52] baweaver: has joined #ruby
[18:05:16] MeMoc: has joined #ruby
[18:05:37] tomphp: has joined #ruby
[18:05:44] IanV0rn2341: has joined #ruby
[18:07:16] devbug: has joined #ruby
[18:08:31] diegoviola: has joined #ruby
[18:09:07] william3: has joined #ruby
[18:10:22] shanemcd: has joined #ruby
[18:11:53] bronson: has joined #ruby
[18:12:47] shevy: is something cool happening in the ruby land as of late
[18:12:50] kirillzh: has joined #ruby
[18:12:52] sdrew: has joined #ruby
[18:14:01] flughafen_: has joined #ruby
[18:17:54] jeanlinux: has joined #ruby
[18:19:03] platzhirsch: Okay now instead of {a: 5, b: 3, c: 1}.min_by(&:last) I want it to find the minimum of that hash but using an array [:a, :b, :c] as input source
[18:19:17] platzhirsch: shevy: yes, me
[18:20:33] havenwood: >> h = {a: 5, b: 3, c: 1}; h.rassoc h.values_at(:a, :b).min
[18:20:34] ruby[bot]: havenwood: # => [:b, 3] (https://eval.in/526656)
[18:20:51] platzhirsch: okay I seriously need to look up rassoc
[18:21:18] havenwood: platzhirsch: I just used it for fun. You probably just want the key back there since you just got its value.
[18:21:28] Superfox_il_volp: has joined #ruby
[18:21:29] havenwood: >> h = {a: 5, b: 3, c: 1}; h[h.values_at(:a, :b).min]
[18:21:30] ruby[bot]: havenwood: # => nil (https://eval.in/526657)
[18:21:53] havenwood: Its a value, that's why I used it.
[18:23:15] platzhirsch: Ah it's like a tuple searcher
[18:23:34] platzhirsch: tuple sniff sniff second elemnt
[18:23:37] Superfox_il_volp: hey folks, silly question: how do I add a global method based on a condition? I think that means to add the method into Object, something like class Object; def myMethod() ... end; end; But it'd like to do based on a condition, something like if(my_cond); Object.add_instance_method(my_method); end ??
[18:24:07] Ox0dea: Superfox_il_volp: You can actually say `def foo; end if bar`, but you probably shouldn't.
[18:24:26] platzhirsch: havenwood: but that means I need to splat the array into values_at ?
[18:25:01] havenwood: platzhirsch: aye
[18:25:06] Ox0dea: Superfox_il_volp: https://eval.in/526658
[18:25:37] platzhirsch: >> q= [:a, :b]; h = {a: 5, b: 3, c: 1}; h.rassoc(h.values_at(*q)).min
[18:25:38] ruby[bot]: platzhirsch: # => undefined method `min' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/526659)
[18:25:45] havenwood: Did you mean? fork :D
[18:25:56] platzhirsch: >> q= [:a, :b]; h = {a: 5, b: 3, c: 1}; h.rassoc h.values_at(*q).min
[18:25:57] ruby[bot]: platzhirsch: # => [:b, 3] (https://eval.in/526660)
[18:26:26] Superfox_il_volp: Ox0dea: IIUC, that would work as far as I am in the same module, right? Now consider the case module A; def blabla(); <-- ADD MY GLOBAL HERE -->; end; end; and then from module B; invoke_global(); end
[18:26:58] Ox0dea: Superfox_il_volp: Are you *sure* you want to define a "global" method?
[18:27:20] Superfox_il_volp: if you wonder what's my use case, I'm trying to add a global method logger() from the ctor of my custom Logger class
[18:27:20] Ox0dea: The "correct" way to do it is to make it an instance method on Kernel, but you should reconsider.
[18:27:41] Superfox_il_volp: so everywhere in the code I can write logger.debug(blabla)
[18:27:58] lightheaded: has joined #ruby
[18:28:35] Ox0dea: And you want to put that method in place from a constructor?
[18:28:58] Ox0dea: How come?
[18:29:32] jeanlinux: has joined #ruby
[18:29:35] william3: has joined #ruby
[18:29:55] duckpupp1: has joined #ruby
[18:29:56] Superfox_il_volp: I imagined a ctor such as Logger(handler, make_global = true), when the make_global is true, then it should install this global method logger()
[18:30:35] kspencer: has joined #ruby
[18:30:38] trosborn: has joined #ruby
[18:34:52] Gamernew_: has joined #ruby
[18:35:31] SenpaiSilver: has joined #ruby
[18:39:22] troulouliou_dev: has joined #ruby
[18:39:26] Superfox_il_volp: tricky solution is to use #define_method, it's private :/
[18:39:35] Meow-J: has joined #ruby
[18:39:49] Wolland: has joined #ruby
[18:40:14] ramfjord: has joined #ruby
[18:41:19] fullofcaffeine: has joined #ruby
[18:42:43] martin290: has joined #ruby
[18:42:54] martin290: has left #ruby: ()
[18:44:28] binaryplease: has joined #ruby
[18:44:45] william3: has joined #ruby
[18:49:09] shanemcd: has joined #ruby
[18:49:12] lampe2: has left #ruby: ("WeeChat 1.4")
[18:49:19] art-solopov: has joined #ruby
[18:49:53] dasher^0_o: has joined #ruby
[18:49:58] cdg: has joined #ruby
[18:51:45] intrigueD: has joined #ruby
[18:54:35] mattwildig: has joined #ruby
[18:55:17] Gasher: has joined #ruby
[18:57:58] sudoubuntu: has joined #ruby
[18:59:34] raz: meh.. why does rubocop ship with so many stupid defaults (line length 80, Avoid comma after the last item of a hash, etc.)
[18:59:47] raz: including a customized config with each project is getting old
[19:03:51] Hanmac: raz it also has problem with "a, b, c = 1, 2, 3" and other stuff after it did whine about "the method is to long" -.-
[19:04:13] Ox0dea: $ yes | gem uni rubocop
[19:04:21] raz: hanmac: yea.. it catches lots of good stuff. but a few of the defaults are just counter-productive.
[19:05:12] sneakerhax: has joined #ruby
[19:05:21] Hanmac: as a german i mostly say to rubocop: "Heul doch!" ;P
[19:05:28] steffkes: has joined #ruby
[19:05:44] sandstrom: has joined #ruby
[19:07:01] shanemcd: has joined #ruby
[19:08:07] platzhirsch: Any idea how I can walk this weighted graph here more neatly in Ruby using inject or a different enumerable method? https://gist.github.com/platzhirsch/84c78debf7f6459be1af
[19:08:24] DmitryBochkarev: has joined #ruby
[19:08:28] platzhirsch: basically I want to fold the hash by iterating the stops summing up the values
[19:08:51] superlou: has joined #ruby
[19:09:26] kent\n: has joined #ruby
[19:09:30] superlou: Anybody using any 2D physics engines with Ruby? Was looking at https://github.com/beoran/chipmunk but it seems like it's fading away
[19:09:49] centrx: has joined #ruby
[19:10:23] Ox0dea: superlou: https://github.com/zenspider/graphics
[19:11:13] ht_: has joined #ruby
[19:11:42] raz: hanmac: genau! :D
[19:11:44] superlou: Ox0dea, that seems more like it's geared towards physical simulations, rather than a game-like physics engine
[19:11:57] superlou: Actually don't even need drawing, since ruby's only the backend server
[19:12:37] Ox0dea: superlou: Ah, yeah, I think Chipmunk's the only real offering there. :/
[19:12:54] shanemcd: has joined #ruby
[19:13:11] superlou: Hoping not to have to switch off Ruby, at least for the prototype, so maybe I just go with the old chipmunk bindings for this initial version
[19:14:02] yqt: has joined #ruby
[19:14:18] BtcBen: has joined #ruby
[19:15:40] william3: has joined #ruby
[19:16:02] havenwood: platzhirsch: Why would that be?: #=> 9
[19:16:16] havenwood: platzhirsch: Does you current implementation work as expected or you're working on getting it working?
[19:16:18] platzhirsch: havenwood: true.. shortest path, I have the wrong input : D
[19:16:37] akem: has joined #ruby
[19:16:38] platzhirsch: well, my current implementation is correct, the example is just wrong
[19:20:06] djellemah: platzhirsch: stops.each_cons(2).reduce(0) do |dist, (sta,fin)|
[19:20:06] djellemah: dist + @graph[sta][fin]
[19:20:26] djellemah: If I understood it correctly?
[19:21:33] nobitanobi: has joined #ruby
[19:21:51] djellemah: @graph is a bit of a workaround though :-|
[19:23:37] havenwood: platzhirsch: stops.each_cons(2).map { |k1, k2| graph[k1][k2] }.inject :+
[19:24:33] IanV0rn2341: has joined #ruby
[19:24:54] djellemah: actually, @graph is not even necessary. Doh!
[19:24:55] havenwood: platzhirsch: Or in Rails land: stops.each_cons(2).sum { |k1, k2| graph[k1][k2] }
[19:28:10] sepp2k: has joined #ruby
[19:29:03] raz: bruaha.. that gotta be my new favorite rubocop complaint
[19:29:04] raz: Perceived complexity for process_source_file is too high. [12/7]
[19:30:30] IanV0rn2341: has joined #ruby
[19:30:36] djbkd: has joined #ruby
[19:30:39] duckpupp1: has joined #ruby
[19:31:41] mfb2: has joined #ruby
[19:32:45] Ox0dea: http://tfd.com/brouhaha
[19:33:06] raz: oh.. i didn't know that has a spelling
[19:33:16] raz: are you rubocopping my laughter?
[19:33:21] eregi: has joined #ruby
[19:33:23] havenwood: raz: Warning: Here lie d̶r̶a̶g̶o̶n̶s̶ virtual pedantry police.
[19:34:52] johnmilton: has joined #ruby
[19:35:31] raz: i have to give that rubocop guy tho.. it's pretty impressive what it can detect and auto-correct (including consequences of the correction), so far without breaking my code
[19:36:13] havenwood: Skulduggery is likely afoot if hootenanny in a rucksack starts a brouhaha.
[19:36:40] Ox0dea: Perceived thesaurus use in #ruby is too high. [7/10] (without rice)
[19:37:09] Ox0dea: That 10 should've been a 5. :/
[19:37:12] havenwood: No rice or thesaurus involved.
[19:37:15] pdoherty: has joined #ruby
[19:37:37] Ox0dea: I don't have an "I believe you" GIF, but I do.
[19:39:01] mrchris: has joined #ruby
[19:42:07] rippa: has joined #ruby
[19:46:52] moeabdol2: has joined #ruby
[19:47:00] baweaver: has joined #ruby
[19:47:05] Cohedrin: has joined #ruby
[19:48:17] marcosdsanchez: has joined #ruby
[19:53:28] johnmilton: has joined #ruby
[19:55:37] x77686d: has joined #ruby
[19:56:57] thevaliantx: has joined #ruby
[19:56:58] Xeago: has joined #ruby
[19:59:08] cdg_: has joined #ruby
[19:59:46] ht_: has joined #ruby
[20:00:21] elifoster: has joined #ruby
[20:00:27] Abrin: has joined #ruby
[20:00:37] rkazak: has joined #ruby
[20:01:00] n008f4g_: has joined #ruby
[20:03:42] shadoi: has joined #ruby
[20:04:23] sdrew: has joined #ruby
[20:04:25] thevaliantx: can't believe that the Amazon storefront "MOMOX" cancelled my order on the day it was due to be delivered, nearly two months after I ordered it. I just ordered the Well Grounded Rubyist again last night from elsewhere on Amazon. I was so looking forward to that book.
[20:04:26] wanderer: has joined #ruby
[20:06:02] Guest11560: has joined #ruby
[20:06:43] Rodya_: has joined #ruby
[20:08:57] dopamean_: has joined #ruby
[20:09:33] ElFerna_: has joined #ruby
[20:10:27] archaic: has joined #ruby
[20:11:15] FooMunki: has joined #ruby
[20:11:28] wanderer_: has joined #ruby
[20:12:16] TomPeed: has joined #ruby
[20:13:41] davedev24: has joined #ruby
[20:14:01] dlitvak: has joined #ruby
[20:14:23] bronson: has joined #ruby
[20:14:30] dlitvak: has joined #ruby
[20:14:33] despai: has joined #ruby
[20:16:30] chouhoulis: has joined #ruby
[20:17:08] wanderer_: has left #ruby: ()
[20:18:34] peteyg: has joined #ruby
[20:19:04] steffkes: has joined #ruby
[20:19:06] Infra-Red: has joined #ruby
[20:22:43] davedev24: has joined #ruby
[20:22:44] jinetix: has joined #ruby
[20:23:52] houhoulis: has joined #ruby
[20:24:15] kirillzh: has joined #ruby
[20:24:54] jinetix: has joined #ruby
[20:25:31] shanemcd: has joined #ruby
[20:25:59] jinetix: has joined #ruby
[20:26:48] goodcodeguy: has joined #ruby
[20:27:58] toretore: has joined #ruby
[20:31:03] Jeremy1023: has joined #ruby
[20:31:25] duckpupp1: has joined #ruby
[20:31:49] ElFerna_: has joined #ruby
[20:32:57] kies^: has joined #ruby
[20:33:07] nobitanobi: has joined #ruby
[20:34:39] steffkes: has joined #ruby
[20:37:48] sdrew: has joined #ruby
[20:38:04] sergey_makagon: has joined #ruby
[20:38:38] nicolo: has joined #ruby
[20:39:07] nicolo: has left #ruby: ()
[20:39:24] workmad3: has joined #ruby
[20:39:25] mfb2: has joined #ruby
[20:40:19] ILoveBigMacs: has joined #ruby
[20:41:31] Don_John: has joined #ruby
[20:42:25] ILoveBigMacs: has left #ruby: ()
[20:45:05] bigmacs: has joined #ruby
[20:47:58] goodcodeguy: has joined #ruby
[20:48:23] william3: has joined #ruby
[20:51:09] eregi: has joined #ruby
[20:51:36] johnmilton: has joined #ruby
[20:52:07] steffkes: has joined #ruby
[20:54:58] nobitanobi: has joined #ruby
[20:55:51] nobitanobi: has joined #ruby
[20:59:18] fullofcaffeine: has joined #ruby
[21:02:23] mattwildig: has joined #ruby
[21:10:25] sgambino: has joined #ruby
[21:10:48] nobitanobi: has joined #ruby
[21:11:31] Rodya_: has joined #ruby
[21:14:24] ElFerna_: has joined #ruby
[21:17:43] sandstrom: has joined #ruby
[21:19:15] chouhoulis: has joined #ruby
[21:21:31] Matthews_: has joined #ruby
[21:22:53] tomphp: has joined #ruby
[21:24:24] floatingpoint: has joined #ruby
[21:26:45] PaulCapestany: has joined #ruby
[21:29:35] platzhirsch: has left #ruby: ()
[21:31:33] krobzaur_: has joined #ruby
[21:32:09] duckpupp1: has joined #ruby
[21:33:09] PhantomSpank: has joined #ruby
[21:33:42] william3: has joined #ruby
[21:34:04] Mr0riss0: has joined #ruby
[21:34:57] eljimador: has joined #ruby
[21:34:58] nickjj_: has joined #ruby
[21:35:36] MatthewsFace: has joined #ruby
[21:36:05] mattp__: has joined #ruby
[21:36:16] klaas_: has joined #ruby
[21:36:18] musl_: has joined #ruby
[21:36:27] Krypt: has joined #ruby
[21:36:32] cout_: has joined #ruby
[21:36:34] bob_f_: has joined #ruby
[21:36:42] grumpycat: has joined #ruby
[21:36:42] ghormoon_: has joined #ruby
[21:36:43] rvchangu-: has joined #ruby
[21:36:53] postmodern: has joined #ruby
[21:37:08] psmolen_: has joined #ruby
[21:37:09] slackR-: has joined #ruby
[21:37:12] davidcelis_: has joined #ruby
[21:37:31] ElFerna_: has joined #ruby
[21:37:33] lagweezl1: has joined #ruby
[21:37:48] ltd_: has joined #ruby
[21:37:56] PaulCape_: has joined #ruby
[21:37:56] jud^: has joined #ruby
[22:04:25] helpa: has joined #ruby
[22:04:30] bmn: has joined #ruby
[22:04:36] AustinMatherne: has joined #ruby
[22:05:01] hakunin_: has joined #ruby
[22:05:59] Abrin_AWAY2: has joined #ruby
[22:06:16] havenwood: PhantomSpank: If they send a Last-Modified header that's correct, you could check HEAD requests to see if you even need to bother a GET and parsing of the HTML body.
[22:06:17] BtcBen_: has joined #ruby
[22:06:18] shanemcd: has joined #ruby
[22:06:26] mburns: has joined #ruby
[22:06:31] gf3_: has joined #ruby
[22:06:31] valeri_uF0: has joined #ruby
[22:06:35] gguggi: has joined #ruby
[22:06:37] joconcepts_: has joined #ruby
[22:06:48] devbug: has joined #ruby
[22:06:48] iamvery_: has joined #ruby
[22:06:51] tvsutton_: has joined #ruby
[22:07:13] Dreamer3_: has joined #ruby
[22:07:28] jgpawletko: has joined #ruby
[22:07:29] anirban: has joined #ruby
[22:07:40] sami: has joined #ruby
[22:07:42] Some-body_: has joined #ruby
[22:07:47] j2k_: has joined #ruby
[22:07:49] cscheib_: has joined #ruby
[22:07:50] philtr_: has joined #ruby
[22:07:55] parus: has joined #ruby
[22:07:56] joevandyk: has joined #ruby
[22:08:05] lorn: has joined #ruby
[22:08:06] ricer2_IZac: has joined #ruby
[22:08:09] sirecote_: has joined #ruby
[22:08:09] BlindSight`: has joined #ruby
[22:08:10] chipotle: has joined #ruby
[22:08:11] Dfoolz: has joined #ruby
[22:08:24] UserInneed: has joined #ruby
[22:08:24] fourq: has joined #ruby
[22:08:28] lucas: has joined #ruby
[22:08:29] pleiosaur: has joined #ruby
[22:08:29] pushcx: has joined #ruby
[22:08:29] gypsydave5: has joined #ruby
[22:08:35] s00pcan_: has joined #ruby
[22:08:37] gigetoo: has joined #ruby
[22:08:39] tsunamie: has joined #ruby
[22:08:43] kallisti5: has joined #ruby
[22:08:46] hfp_work: has joined #ruby
[22:08:54] ceej: has joined #ruby
[22:08:56] canton7: has joined #ruby
[22:08:57] genpaku: has joined #ruby
[22:08:59] olblak: has joined #ruby
[22:09:00] marcosdsanchez: has joined #ruby
[22:09:00] mozzarel1: has joined #ruby
[22:09:00] woodruffw: has joined #ruby
[22:09:00] Mio-chan: has joined #ruby
[22:09:01] KrzaQ: has joined #ruby
[22:09:02] guacamole: has joined #ruby
[22:09:07] xsdg: has joined #ruby
[22:09:09] BLuEGoD: has joined #ruby
[22:09:11] jolts: has joined #ruby
[22:09:13] montyboy: has joined #ruby
[22:09:13] jericon: has joined #ruby
[22:09:14] v1n: has joined #ruby
[22:09:22] stryek: has joined #ruby
[22:09:23] scottymeuk: has joined #ruby
[22:09:29] KervyN: has joined #ruby
[22:09:30] Edulix: has joined #ruby
[22:09:32] woodruffw: has joined #ruby
[22:09:34] Sou|cutter: has joined #ruby
[22:09:40] awk: has joined #ruby
[22:09:53] Lildirt: has joined #ruby
[22:10:12] Icey: has joined #ruby
[22:10:13] bweston92: has joined #ruby
[22:10:13] jolts: has joined #ruby
[22:10:18] spacemud: has joined #ruby
[22:10:28] inukshuk: has joined #ruby
[22:10:30] woodruffw: has joined #ruby
[22:10:37] Kedare: has joined #ruby
[22:10:45] diego_k: has joined #ruby
[22:10:58] RushPL: has joined #ruby
[22:11:20] [dmp]: has joined #ruby
[22:11:25] freerobby: has joined #ruby
[22:11:40] DukeDave: has joined #ruby
[22:11:48] sesquipedalian: has joined #ruby
[22:11:48] postmodern: has joined #ruby
[22:12:05] yorickpeterse: has joined #ruby
[22:12:35] havenwood: PhantomSpank: For example ^: ruby -rhttp -e "puts HTTP.head('http://example.com')['Last-Modified']"
[22:12:53] nchambers: has joined #ruby
[22:13:00] havenwood: #=> Fri, 09 Aug 2013 23:54:35 GMT
[22:13:14] terlar: has joined #ruby
[22:13:24] _BLuEGoD: has joined #ruby
[22:14:02] kappy: has joined #ruby
[22:14:03] parus: has joined #ruby
[22:14:08] saltsa: has joined #ruby
[22:14:11] Rodya_: has joined #ruby
[22:14:21] slackbotgz: has joined #ruby
[22:14:26] KnownSyntax: has joined #ruby
[22:14:31] KnownSyntax: has joined #ruby
[22:15:43] kpwarr: has joined #ruby
[22:19:18] peteyg: has joined #ruby
[22:19:18] coffeejunk: has joined #ruby
[22:19:20] kaleido: has joined #ruby
[22:19:20] tenderlo_: has joined #ruby
[22:19:20] arthurix_: has joined #ruby
[22:19:20] Contigi777: has joined #ruby
[22:21:37] triangles2: has joined #ruby
[22:21:38] n008f4g_: has joined #ruby
[22:21:38] dgncn_: has joined #ruby
[22:21:38] jud: has joined #ruby
[22:21:38] jeanlinux: has joined #ruby
[22:21:38] AccordLTN: has joined #ruby
[22:21:38] ElSif: has joined #ruby
[22:23:55] e4xit_: has joined #ruby
[22:24:02] RazorX: has joined #ruby
[22:24:02] tfittsy: has joined #ruby
[22:24:02] Rutix`away: has joined #ruby
[22:24:02] Rutix`away: has joined #ruby
[22:24:02] ghoti_: has joined #ruby
[22:24:02] john2: has joined #ruby
[22:24:02] _BLuEGoD: has joined #ruby
[22:24:02] yasu_: has joined #ruby
[22:24:02] r0bby_: has joined #ruby
[22:24:04] moeabdol3: has joined #ruby
[22:24:04] shanemcd: has joined #ruby
[22:24:04] RazorX|: has joined #ruby
[22:24:06] ereslibre_laptop: has joined #ruby
[22:24:06] ereslibre_laptop: has joined #ruby
[22:24:06] archaic: has joined #ruby
[22:24:07] fn2187__: has joined #ruby
[22:24:07] edulix_: has joined #ruby
[22:24:07] ged_: has joined #ruby
[22:24:07] timonv1: has joined #ruby
[22:24:07] tw1sted: has joined #ruby
[22:24:07] vondruch_: has joined #ruby
[22:24:07] nwhirschfeld_: has joined #ruby
[22:24:07] suffice: has joined #ruby
[22:24:08] raldu: has joined #ruby
[22:24:08] kaspergrubbe: has joined #ruby
[22:24:08] Janno: has joined #ruby
[22:24:08] Sp4rKy_: has joined #ruby
[22:24:08] SebastianThorn: has joined #ruby
[22:24:08] antgel: has joined #ruby
[22:24:08] chouhoulis: has joined #ruby
[22:24:08] zacts: has joined #ruby
[22:24:08] sphex: has joined #ruby
[22:24:08] Eising_: has joined #ruby
[22:24:08] kenichi: has joined #ruby
[22:24:08] th_: has joined #ruby
[22:24:09] iamvery: has joined #ruby
[22:24:09] ElderFain: has joined #ruby
[22:24:09] RealMarc: has joined #ruby
[22:24:09] Garo_: has joined #ruby
[22:24:09] Coraline: has joined #ruby
[22:24:09] decaff: has joined #ruby
[22:24:09] madhatter: has joined #ruby
[22:24:09] shaman42: has joined #ruby
[22:24:09] tubbo: has joined #ruby
[22:24:09] groundnuty: has joined #ruby
[22:24:09] galeido: has joined #ruby
[22:24:09] yxhuvvd: has joined #ruby
[22:24:09] pragmatism_: has joined #ruby
[22:24:10] gigetoo: has joined #ruby
[22:24:10] Antiarc1: has joined #ruby
[22:24:10] jolts: has joined #ruby
[22:24:10] ElderFain: has joined #ruby
[22:24:10] Kryptonical: has joined #ruby
[22:24:10] theRealAlexz_: has joined #ruby
[22:24:10] jolts: has joined #ruby
[22:26:44] CoderPuppy: has joined #ruby
[22:26:44] nomadic_: has joined #ruby
[22:28:12] knight-: has joined #ruby
[22:28:12] _BLuEGoD: has joined #ruby
[22:28:12] Suntzu: has joined #ruby
[22:28:12] bcavileer: has joined #ruby
[22:28:12] basic: has joined #ruby
[22:28:12] th_: has joined #ruby
[22:28:12] Roa: has joined #ruby
[22:28:12] _mak: has joined #ruby
[22:28:12] tvsutton: has joined #ruby
[22:30:44] Karunamon: has joined #ruby
[22:30:44] valeri_ufo: has joined #ruby
[22:30:44] microt: has joined #ruby
[22:30:44] zenguy_pc: has joined #ruby
[22:30:47] Amnez777: has joined #ruby
[22:30:47] aibot: has joined #ruby
[22:30:47] codex: has joined #ruby
[22:30:47] Shidash: has joined #ruby
[22:30:48] PhantomS_: has joined #ruby
[22:30:48] headius: has joined #ruby
[22:30:48] swistak35: has joined #ruby
[22:32:04] derailed: has joined #ruby
[22:32:05] Darmani: has joined #ruby
[22:32:05] julieeharshaw: has joined #ruby
[22:32:05] zeroDivisible: has joined #ruby
[22:32:05] qpls_: has joined #ruby
[22:32:05] Darmani: Hey kids<3
[22:32:05] donnoc: has joined #ruby
[22:32:05] jabreity: has joined #ruby
[22:32:05] incomprehensibly: has joined #ruby
[22:32:05] Psyq: has joined #ruby
[22:32:05] MrDoctor: has joined #ruby
[22:32:05] jinie: has joined #ruby
[22:32:08] beawesomeinstead: has joined #ruby
[22:32:08] TheMoonMaster: has joined #ruby
[22:32:08] tris-: has joined #ruby
[22:32:08] iooner: has joined #ruby
[22:32:09] MissionCritical: has joined #ruby
[22:32:09] mattpatt: has joined #ruby
[22:32:09] tommylommykins: has joined #ruby
[22:32:09] Arcaire: has joined #ruby
[22:32:09] tercenya_: has joined #ruby
[22:34:28] twodayslate: has joined #ruby
[22:34:28] LiquidInsect: has joined #ruby
[22:34:28] FastJack: has joined #ruby
[22:34:28] quarcu: has joined #ruby
[22:34:28] miah: has joined #ruby
[22:34:28] Ariadeno: has joined #ruby
[22:34:30] bahar: has joined #ruby
[22:34:30] bahar: has joined #ruby
[22:34:30] angelixd: has joined #ruby
[22:36:58] matled-: has joined #ruby
[22:36:58] Seich: has joined #ruby
[22:36:58] uxp_: has joined #ruby
[22:36:59] gnarf: has joined #ruby
[22:36:59] plonk_: has joined #ruby
[22:36:59] plonk_: has joined #ruby
[22:36:59] jmcc_______: has joined #ruby
[22:37:42] ht_: has joined #ruby
[22:37:42] andersh: has joined #ruby
[22:37:43] kenndel_: has joined #ruby
[22:37:43] BlindSight`: has joined #ruby
[22:38:20] _BLuEGoD: has joined #ruby
[22:38:20] sulky: has joined #ruby
[22:38:20] quakephil: has joined #ruby
[22:38:20] mahlon_: has joined #ruby
[22:38:20] Flipez: has joined #ruby
[22:38:20] ruurd: has joined #ruby
[22:38:20] ctrlrsf: has joined #ruby
[22:38:20] dgncn: has joined #ruby
[22:38:20] Junaos: has joined #ruby
[22:38:20] kfpratt: has joined #ruby
[22:40:55] Zacketh: has joined #ruby
[22:40:55] Nyammy_Work: has joined #ruby
[22:40:55] wof_: has joined #ruby
[22:40:55] Bilge: has joined #ruby
[22:40:55] alem0lars: has joined #ruby
[22:40:56] bhaak: has joined #ruby
[22:40:56] mattwild_: has joined #ruby
[22:40:56] Keltia_: has joined #ruby
[22:40:56] cyphactor: has joined #ruby
[22:40:56] jolts: has joined #ruby
[22:40:58] intrigueD: has joined #ruby
[22:40:58] bakedb: has joined #ruby
[22:40:58] imanc: has joined #ruby
[22:40:58] Guest13194: has joined #ruby
[22:40:58] golgaroth: has joined #ruby
[22:40:58] scottymeuk: has joined #ruby
[22:40:59] Krypt__: has joined #ruby
[22:40:59] fumk: has joined #ruby
[22:40:59] Eiam_: has joined #ruby
[22:40:59] sami: has joined #ruby
[22:41:01] mc_fail: has joined #ruby
[22:41:01] swgillespie: has joined #ruby
[22:41:01] sphex: has joined #ruby
[22:43:22] TDJACR: has joined #ruby
[22:43:22] Eleeleth: has joined #ruby
[22:43:22] c355E3B: has joined #ruby
[22:43:22] shiver: has joined #ruby
[22:43:22] holyGlitch: has joined #ruby
[22:43:22] sevenfourk: has joined #ruby
[22:43:22] NeverTired: has joined #ruby
[22:43:22] Guest12896_: has joined #ruby
[22:43:22] LoganG: has joined #ruby
[22:43:22] spk: has joined #ruby
[22:43:22] jimcroft_: has joined #ruby
[22:43:22] kspencer: has joined #ruby
[22:43:22] deimos: has joined #ruby
[22:43:22] crdpink2: has joined #ruby
[22:43:22] sushii: has joined #ruby
[22:43:22] elliottcable: has joined #ruby
[22:43:22] bove: has joined #ruby
[22:43:23] bestie: has joined #ruby
[22:43:23] machty: has joined #ruby
[22:43:23] vcoinminer: has joined #ruby
[22:43:23] manveru: has joined #ruby
[22:43:23] ggherdov: has joined #ruby
[22:43:23] cstrahan: has joined #ruby
[22:43:23] ndrst: has joined #ruby
[22:43:23] chrisseaton: has joined #ruby
[22:43:23] avdi: has joined #ruby
[22:43:23] jlyndon: has joined #ruby
[22:43:23] HashNuke: has joined #ruby
[22:43:23] boxrick1: has joined #ruby
[22:43:23] cbetta: has joined #ruby
[22:43:23] halfdan: has joined #ruby
[22:43:23] alxndr: has joined #ruby
[22:43:23] sponjii: has joined #ruby
[22:43:23] lele: has joined #ruby
[22:43:23] devster31: has joined #ruby
[22:43:23] sideshowcoder: has joined #ruby
[22:43:23] deepak: has joined #ruby
[22:43:23] jimeh: has joined #ruby
[22:43:23] angiebadillo: has joined #ruby
[22:43:23] meinside: has joined #ruby
[22:43:24] diprotic: has joined #ruby
[22:45:48] aep: has joined #ruby
[22:45:49] e4xit: has joined #ruby
[22:45:49] Eleeleth: has joined #ruby
[22:45:49] segy: has joined #ruby
[22:45:50] Barzogh: has joined #ruby
[22:47:16] freerobby: has joined #ruby
[22:48:44] isomorphismes: has joined #ruby
[22:48:44] sandstrom: has joined #ruby
[22:48:44] nertzy: has joined #ruby
[22:48:44] jolts: has joined #ruby
[22:48:44] KervyN: has joined #ruby
[22:48:44] PaulePanter: has joined #ruby
[22:48:44] aef: has joined #ruby
[22:48:45] devster31: has joined #ruby
[22:48:45] AustinMatherne: has joined #ruby
[22:48:45] ex0ns: has joined #ruby
[22:49:26] [spoiler]: has joined #ruby
[22:49:27] mhenrixon: has joined #ruby
[22:49:27] crowell: has joined #ruby
[22:49:27] crowell: has joined #ruby
[22:49:27] zenspider: has joined #ruby
[22:49:27] raenk: has joined #ruby
[22:49:27] slash_nick: has joined #ruby
[22:49:27] peterhu: has joined #ruby
[22:49:27] Kuukunen: has joined #ruby
[22:49:27] Nyammy_Work: has joined #ruby
[22:49:27] ltp: has joined #ruby
[22:49:27] kappy: has joined #ruby
[22:49:28] Freijo: has joined #ruby
[22:49:28] Lildirt: has joined #ruby
[22:49:28] martinbjeldbak: has joined #ruby
[22:49:28] callumacrae: has joined #ruby
[22:49:28] maxmanders: has joined #ruby
[22:49:28] Drakevr: has joined #ruby
[22:49:28] n008f4g__: has joined #ruby
[22:49:28] hackeron: has joined #ruby
[22:49:28] Omni_: has joined #ruby
[22:49:28] nickjj: has joined #ruby
[22:49:28] moei: has joined #ruby
[22:49:28] gf3: has joined #ruby
[22:49:29] devster31: has joined #ruby
[22:49:29] devyn: has joined #ruby
[22:49:29] LoganG: has joined #ruby
[22:51:19] _BLuEGoD: has joined #ruby
[22:51:20] gypsydave5: has joined #ruby
[22:51:20] yeltzooo: has joined #ruby
[22:51:20] shanemcd_: has joined #ruby
[22:51:20] gbailey: has joined #ruby
[22:51:20] Google: has joined #ruby
[22:51:20] mosez: has joined #ruby
[22:53:09] Kryptonical: has joined #ruby
[22:53:09] crankhar1er: has joined #ruby
[22:53:09] Phanes-: has joined #ruby
[22:53:09] sfr^: has joined #ruby
[22:53:10] SilentEcho: has joined #ruby
[22:53:10] brixen: has joined #ruby
[22:53:10] shadeslayer: has joined #ruby
[22:53:10] sphex_: has joined #ruby
[22:53:10] frode15243: has joined #ruby
[22:53:10] Anderson69s_Deb: has joined #ruby
[22:53:11] huyderman: has joined #ruby
[22:53:11] paultreny: has joined #ruby
[22:53:11] 14WAABC2U: has joined #ruby
[22:53:11] llua: has joined #ruby
[22:53:11] majjoha: has joined #ruby
[22:53:11] arthropododo: has joined #ruby
[22:53:11] skullcrasher: has joined #ruby
[22:53:11] WebDawg: has joined #ruby
[22:53:11] duckpupp1: has joined #ruby
[22:53:52] BtcBen_: has joined #ruby
[22:53:52] Hammy_Work: has joined #ruby
[22:53:52] romero_: has joined #ruby
[22:53:52] ziyadb: has joined #ruby
[22:53:52] j2k: has joined #ruby
[22:53:52] Dfoolz: has joined #ruby
[22:53:52] gaf_: has joined #ruby
[22:53:53] Radar: has joined #ruby
[22:53:53] UserInneed: has joined #ruby
[22:53:53] emq: has joined #ruby
[22:53:53] edwardly: has joined #ruby
[22:53:53] edwardly: has joined #ruby
[22:53:53] ekem: has joined #ruby
[22:53:53] conrfrmn: has joined #ruby
[22:53:53] spacemud: has joined #ruby
[22:53:53] BTRE: has joined #ruby
[22:53:53] kitallis: has joined #ruby
[22:53:53] Ishido: has joined #ruby
[22:53:53] tokik: has joined #ruby
[22:53:53] x0F: has joined #ruby
[22:53:53] DEac-: has joined #ruby
[22:53:53] moufl: has joined #ruby
[22:53:54] pjaspers: has joined #ruby
[22:53:54] mistym: has joined #ruby
[22:53:54] ghr: has joined #ruby
[22:53:54] x0F: has joined #ruby
[22:53:54] D9: has joined #ruby
[22:53:54] mistym: has joined #ruby
[22:53:54] the_last: has joined #ruby
[22:53:54] baweaver: has joined #ruby
[22:53:54] hfp: has joined #ruby
[22:53:54] caserg: has joined #ruby
[22:53:54] lancetw: has joined #ruby
[22:53:54] jidar_: has joined #ruby
[22:53:54] samuelkadolph: has joined #ruby
[22:53:54] Rasi: has joined #ruby
[22:53:54] Canar: has joined #ruby
[22:53:54] shortdudey123: has joined #ruby
[22:53:55] krobzaur: has joined #ruby
[22:53:55] jolts: has joined #ruby
[22:53:55] Guest12896_: has joined #ruby
[22:53:55] pleiosaur: has joined #ruby
[22:53:55] hinbody: has joined #ruby
[22:53:55] Coldblackice: has joined #ruby
[22:53:55] TDJACR: has joined #ruby
[22:53:55] theRoUS: has joined #ruby
[22:53:55] EdwardIII: has joined #ruby
[22:53:55] rcs: has joined #ruby
[22:53:55] ruurd: has joined #ruby
[22:53:55] vbatts|work: has joined #ruby
[22:53:56] MissionCritical: has joined #ruby
[22:53:56] postmodern: has joined #ruby
[22:53:56] Kryptonical: has joined #ruby
[22:53:56] microt: has joined #ruby
[22:53:56] jolts: has joined #ruby
[22:53:56] Esya: has joined #ruby
[22:53:56] greenhat: has joined #ruby
[22:53:56] sponjii__: has joined #ruby
[22:53:56] Hammy_Work: has joined #ruby
[22:53:56] BLuEGo191: has joined #ruby
[22:53:56] mhb: has joined #ruby
[22:53:56] tekacs: has joined #ruby
[22:53:56] crankharder: has joined #ruby
[22:53:56] brendan-: has joined #ruby
[22:53:56] mburns: has joined #ruby
[22:53:57] Mio-chan: has joined #ruby
[22:53:57] r4z3r: has joined #ruby
[22:53:57] reaVer_: has joined #ruby
[22:53:57] isomorphismes: has joined #ruby
[22:53:57] moshee: has joined #ruby
[22:53:57] moshee: has joined #ruby
[22:53:57] Kero: has joined #ruby
[22:53:57] elaptics: has joined #ruby
[22:53:57] go|dfish: has joined #ruby
[22:53:57] janelleb: has joined #ruby
[22:53:57] lele`: has joined #ruby
[22:53:58] tekacs: has joined #ruby
[22:53:58] df: has joined #ruby
[22:53:58] spk_: has joined #ruby
[22:53:58] nlsun: has joined #ruby
[22:53:58] guardian: has joined #ruby
[22:53:58] sushi_-: has joined #ruby
[22:53:58] Guest94494: has joined #ruby
[22:53:58] bnagy: has joined #ruby
[22:53:58] saltsa: has joined #ruby
[22:53:58] shiver_: has joined #ruby
[22:53:58] alexblom: has joined #ruby
[22:53:58] varesa: has joined #ruby
[22:53:58] AnoHito_: has joined #ruby
[22:53:58] zast: has joined #ruby
[22:53:58] mistym: has joined #ruby
[22:53:59] mistym: has joined #ruby
[22:53:59] gigetoo: has joined #ruby
[22:53:59] jolts: has joined #ruby
[22:53:59] eljimmy: has joined #ruby
[22:53:59] lannonbr: has joined #ruby
[22:54:00] krobzaur_: has joined #ruby
[22:54:00] existensil: has joined #ruby
[22:54:00] lianj: has joined #ruby
[22:54:00] holyGlitch: has joined #ruby
[22:54:00] _BLuEGoD: has joined #ruby
[22:54:00] raimumizu: has joined #ruby
[22:54:01] boxrick1: has joined #ruby
[22:54:01] PaulePanter: has joined #ruby
[22:54:01] jlyndon: has joined #ruby
[22:54:01] Davey: has joined #ruby
[22:54:01] Davey: has joined #ruby
[22:54:01] sevenfourk: has joined #ruby
[22:54:01] benlieb: has joined #ruby
[22:54:01] colegatron: has joined #ruby
[22:54:01] TDJACR: has joined #ruby
[22:54:01] zenlot1: has joined #ruby
[22:54:02] meinside: has joined #ruby
[22:54:02] jtperreault: has joined #ruby
[22:54:02] DrCode: has joined #ruby
[22:54:02] deepak: has joined #ruby
[22:54:02] jidar: has joined #ruby
[22:54:02] llua: has joined #ruby
[22:54:02] TomPeed: has joined #ruby
[22:54:02] icedragon: has joined #ruby
[22:54:02] ujjain: has joined #ruby
[22:54:02] ujjain: has joined #ruby
[22:54:02] bove: has joined #ruby
[22:54:02] sunya7a: has joined #ruby
[22:54:02] jimcroft_: has joined #ruby
[22:54:02] jtdowney: has joined #ruby
[22:54:02] jtdowney: has joined #ruby
[22:54:03] quakephil: has joined #ruby
[22:54:03] xybre: has joined #ruby
[22:54:03] Fraeon: has joined #ruby
[22:54:03] goodcodeguy: has joined #ruby
[22:54:03] Guest643: has joined #ruby
[22:54:03] shiver_: has joined #ruby
[22:54:03] SegFaultAX: has joined #ruby
[22:54:03] Cyrus: has joined #ruby
[22:54:03] catbusters: has joined #ruby
[22:54:03] joaomdmoura__: has joined #ruby
[22:54:03] halfdan: has joined #ruby
[22:54:03] Danielss89: has joined #ruby
[22:54:04] Kryptonical: has joined #ruby
[22:54:04] slackR: has joined #ruby
[22:54:04] n1colas: has joined #ruby
[22:54:04] Evan-: has joined #ruby
[22:54:04] badeball: has joined #ruby
[22:54:04] Skelz0r: has joined #ruby
[22:54:04] cout: has joined #ruby
[22:54:04] bnagy: has joined #ruby
[22:54:04] _BLuEGoD: has joined #ruby
[22:54:04] cfloare: has joined #ruby
[22:54:04] sfr^: has joined #ruby
[22:54:05] BtcBen: has joined #ruby
[22:54:05] AlexRussia: has joined #ruby
[22:54:05] cstrahan: has joined #ruby
[22:54:05] Eleeleth: has joined #ruby
[22:54:05] daxroc: has joined #ruby
[22:54:05] Cohedrin: has joined #ruby
[22:54:05] slackbotgz1: has joined #ruby
[22:54:05] HashNuke: has joined #ruby
[22:54:05] ardian: has joined #ruby
[22:54:05] matti: has joined #ruby
[22:54:05] samuelkadolph: has joined #ruby
[22:54:05] jolts: has joined #ruby
[22:54:05] avdi: has joined #ruby
[22:54:06] mc_fail: has joined #ruby
[22:54:06] krobzaur_: has joined #ruby
[22:54:06] alxndr: has joined #ruby
[22:54:06] alem0lars: has joined #ruby
[22:54:06] spectra: has joined #ruby
[22:54:06] shiver: has joined #ruby
[22:54:06] shiver: has joined #ruby
[22:54:33] infernix: has joined #ruby
[22:54:33] ericwood: has joined #ruby
[22:54:33] angiebadillo: has joined #ruby
[22:54:33] fold4: has joined #ruby
[22:54:33] sevin: has joined #ruby
[22:54:33] Emmanuel_Chanel: has joined #ruby
[22:54:33] vcoinminer: has joined #ruby
[22:54:33] solars: has joined #ruby
[22:55:31] graffix222: has joined #ruby
[22:55:31] deimos: has joined #ruby
[22:55:31] c0ncealed: has joined #ruby
[22:55:31] nfk: has joined #ruby
[22:55:31] MyMind: has joined #ruby
[22:55:31] Amnez777: has joined #ruby
[22:55:32] matp: has joined #ruby
[22:59:27] finisherr: has joined #ruby
[22:59:27] sideshowcoder: has joined #ruby
[22:59:27] PsionTheory: has joined #ruby
[22:59:27] machty: has joined #ruby
[22:59:28] bestie: has joined #ruby
[22:59:40] elliottcable: has joined #ruby
[22:59:41] Shidash_: has joined #ruby
[22:59:41] jzigmund_: has joined #ruby
[22:59:41] mattpatt: has joined #ruby
[22:59:41] manveru: has joined #ruby
[23:04:57] cbetta: has joined #ruby
[23:04:57] skmp: has joined #ruby
[23:04:57] aspiers: has joined #ruby
[23:04:57] humd1ng3r: has joined #ruby
[23:04:57] funnel: has joined #ruby
[23:04:57] Miron: has joined #ruby
[23:04:57] marr: has joined #ruby
[23:04:58] Freeaqingme: has joined #ruby
[23:04:58] pelegreno: has joined #ruby
[23:04:58] BLuEGoD38: has joined #ruby
[23:04:58] stryek: has joined #ruby
[23:04:58] sepp2k: has joined #ruby
[23:04:58] _BLuEGoD: has joined #ruby
[23:04:58] 92AAAE1K7: has joined #ruby
[23:04:58] shanemcd: has joined #ruby
[23:04:58] gregf__: has joined #ruby
[23:04:59] ardian_: has joined #ruby
[23:04:59] sfr^: has joined #ruby
[23:04:59] kiki_lamb: has joined #ruby
[23:04:59] chrisseaton: has joined #ruby
[23:04:59] c355E3B: has joined #ruby
[23:04:59] Brando753: has joined #ruby
[23:04:59] Lloyd: has joined #ruby
[23:04:59] jimeh: has joined #ruby
[23:04:59] marienz: has joined #ruby
[23:05:00] nchambers: has joined #ruby
[23:05:00] x77686d_: has joined #ruby
[23:05:00] monoprotic: has joined #ruby
[23:05:00] fourq_: has joined #ruby
[23:05:00] Krypt: has joined #ruby
[23:05:00] cardoni: has joined #ruby
[23:05:00] connor_goodwolf: has joined #ruby
[23:05:00] duracrisis: has joined #ruby
[23:05:01] greenhat: has joined #ruby
[23:05:01] A124: has joined #ruby
[23:05:01] axisys: has joined #ruby
[23:05:01] BLuEGo451: has joined #ruby
[23:05:01] NightMonkey: has joined #ruby
[23:05:01] marens_: has joined #ruby
[23:05:01] wlanboy: has joined #ruby
[23:05:01] ammar_: has joined #ruby
[23:06:07] eregon: has joined #ruby
[23:06:07] _Tariq: has joined #ruby
[23:06:08] MeMoc: has joined #ruby
[23:06:08] alem0lars: has joined #ruby
[23:06:08] _Tariq: Hello, I am trying to build a web server and I am unable to send any headers to the client, even though I can see the website just fine
[23:06:08] trosborn: has joined #ruby
[23:06:08] sesquipedalian: has joined #ruby
[23:06:08] NeverTired: has joined #ruby
[23:06:08] ggherdov: has joined #ruby
[23:06:08] mahlon_: has joined #ruby
[23:06:08] Dfoolz: has joined #ruby
[23:06:08] jolts: has joined #ruby
[23:06:08] Azure: has joined #ruby
[23:06:08] raz: has joined #ruby
[23:06:08] raz: has joined #ruby
[23:06:09] rflot: has joined #ruby
[23:06:09] Seich: has joined #ruby
[23:06:09] _BLuEGoD: has joined #ruby
[23:06:09] Pupeno: has joined #ruby
[23:06:09] charles81: has joined #ruby
[23:06:09] Log1x: has joined #ruby
[23:06:09] bradland: has joined #ruby
[23:06:09] wald0: has joined #ruby
[23:06:09] spastorino: has joined #ruby
[23:06:09] PaulePanter: has joined #ruby
[23:06:09] reaVer: has joined #ruby
[23:06:09] sunya7a_: has joined #ruby
[23:06:09] imanc: has joined #ruby
[23:06:10] iamdevnul: has joined #ruby
[23:06:10] maxmanders: has joined #ruby
[23:06:10] jhn: has joined #ruby
[23:06:10] nik0: has joined #ruby
[23:06:10] c355E3B: has joined #ruby
[23:06:10] hollywood: has joined #ruby
[23:06:10] Rutix: has joined #ruby
[23:06:10] Rutix: has joined #ruby
[23:06:10] deeprave: has joined #ruby
[23:06:11] _Tariq: Huh. I think I managed to solve the problem just by expressing it.
[23:06:11] _Tariq: Thanks, IRC.
[23:06:11] twodayslate: has joined #ruby
[23:06:11] HashNuke: has joined #ruby
[23:08:19] err_ok: has joined #ruby
[23:08:19] alexherbo2: has joined #ruby
[23:08:19] zacts: has joined #ruby
[23:08:19] shelling__: has joined #ruby
[23:08:19] sudoubuntu: has joined #ruby
[23:09:27] DrCode: has joined #ruby
[23:09:27] bnagy: rubber ducks r us
[23:09:27] gmci: has joined #ruby
[23:09:27] clamstar: has joined #ruby
[23:09:27] trinaldi: has joined #ruby
[23:09:28] jidar: has joined #ruby
[23:09:28] mroth: has joined #ruby
[23:15:44] rodolfowtf: has joined #ruby
[23:15:44] 20WAAE2IT: has joined #ruby
[23:16:47] Ox0dea: Ain't happenin'.
[23:16:47] kirillzh: has joined #ruby
[23:16:47] aibot: has joined #ruby
[23:16:48] canton7: has joined #ruby
[23:16:48] tekmaster: has joined #ruby
[23:23:59] mistym: has joined #ruby
[23:23:59] mistym: has joined #ruby
[23:24:00] Kamilion: has joined #ruby
[23:25:05] allcentury: has joined #ruby
[23:25:05] PsionTheory: has joined #ruby
[23:25:05] madhatter: has joined #ruby
[23:25:05] Rodya_: has joined #ruby
[23:25:06] humblespoon: has joined #ruby
[23:25:06] n008f4g_: has joined #ruby
[23:25:06] humblespoon: so I'm new to pry, and I've created a class by defining it. Is there any way to modify that class after I've ended it without having to retype the whole class?
[23:25:06] tim_s007: has joined #ruby
[23:25:06] ardian: has joined #ruby
[23:25:06] gregf__: has joined #ruby
[23:25:06] robert45: has joined #ruby
[23:25:06] shanemcd: has joined #ruby
[23:25:06] Ox0dea: humblespoon: You can just open it up again?
[23:25:07] catbusters: has joined #ruby
[23:25:07] Asher: has joined #ruby
[23:25:07] marcosdsanchez: has joined #ruby
[23:25:07] isene: has joined #ruby
[23:25:07] v1n: has joined #ruby
[23:25:07] iooner: has joined #ruby
[23:25:07] humblespoon: Ox0dea: so in pry, would I just type "class MyClass"
[23:25:07] humblespoon: and then continue defining the new class methods in it?
[23:25:07] humblespoon: would that cancel out the other methods I wrote before for MyClass?
[23:25:07] Ox0dea: humblespoon: That's one way to do it, sure.
[23:25:07] [dmp]: has joined #ruby
[23:25:07] Ox0dea: No, Ruby classes are "open"; you can just pop in and add to them at any time.
[23:25:08] kam270: has joined #ruby
[23:25:08] SenpaiSilver: has joined #ruby
[23:25:08] chouhoulis: has joined #ruby
[23:25:08] humblespoon: oh awesome, thanks Ox0dea . Another question. How would I modify part of the class I wrote before? I see there's an edit, but I don't know how to apply it to the class I made
[23:25:09] hoylemd: has joined #ruby
[23:25:09] Ox0dea: humblespoon: What do you mean by "part of the class"?
[23:25:09] tim_s007: has joined #ruby
[23:25:09] nchambers: has joined #ruby
[23:25:09] goodcodeguy: has joined #ruby
[23:25:09] humblespoon: well I defined the class in pry "MyClass", and ended that class. I can open it up by typing "class MyClass def newmethod etc". But that's for adding more methods. What if I wanted to edit a method I wrote earlier in pry?
[23:25:09] kam270: has joined #ruby
[23:25:09] vali: has joined #ruby
[23:25:09] humblespoon: like edit the newmethod to change a line in it
[23:25:09] Ox0dea: humblespoon: That's... exactly what Pry's `edit` command is for. :P
[23:25:09] wald0: has joined #ruby
[23:25:09] basic`: has joined #ruby
[23:26:11] humblespoon: ok good, XD. Problem is, when I try "edit class MyClass:linenumber" it opens a text editor. So I'm doing something wrong...
[23:26:11] baweaver: edit MyClass#my_method
[23:26:13] Ox0dea: humblespoon: It's definitely supposed to do that.
[23:26:14] pwnd_nsfw`: has joined #ruby
[23:27:19] baweaver: just make sure to not have your editor set to Nano :P
[23:27:21] heidar: has joined #ruby
[23:27:58] bakedb: has joined #ruby
[23:31:22] devbug: has joined #ruby
[23:31:22] tim_s007: has joined #ruby
[23:31:22] platzhirsch: has left #ruby: ()
[23:31:23] crdpink: has joined #ruby
[23:31:23] benlieb: has joined #ruby
[23:31:24] kam270: has joined #ruby
[23:32:57] watersoul: has joined #ruby
[23:32:58] bigmacs: has joined #ruby
[23:37:31] heidar: has joined #ruby
[23:38:49] pwnd_nsfw`: has joined #ruby
[23:38:49] mahlon_: has joined #ruby
[23:38:49] firstdayonthejob: has joined #ruby
[23:38:54] trifling-jest: has joined #ruby
[23:38:57] kam270: has joined #ruby
[23:39:00] blackmesa: has joined #ruby
[23:40:37] Barzogh: has joined #ruby
[23:40:38] joast: has joined #ruby
[23:40:40] sphex_: has joined #ruby
[23:41:04] marcosdsanchez: has joined #ruby
[23:43:58] drbrain: has joined #ruby
[23:51:03] helpa-bot: has joined #ruby
[23:52:02] Mon_Ouie: has joined #ruby
[23:52:39] shevy: hello zactsists
[23:53:02] akem: has joined #ruby
[23:54:55] Elysia: has joined #ruby
[23:56:08] benlieb: has joined #ruby
[23:56:22] binaryplease: has joined #ruby
[23:57:42] djbkd: has joined #ruby
[23:57:51] trifling-jest: has left #ruby: ("Leaving")
[23:57:53] sphex: has joined #ruby
[23:58:34] trifling-jest: has joined #ruby
[23:59:53] duncannz: has joined #ruby