« Back to channel list

#ruby - 15 May 2019

« Back 1 day Forward 1 day »
[00:01:40] doodlebug: has joined #ruby
[00:02:03] orbyt_: has joined #ruby
[00:07:40] doodlebug: has joined #ruby
[00:10:31] skryking: has joined #ruby
[00:13:10] tf2ftw: has joined #ruby
[00:13:40] doodlebug: has joined #ruby
[00:16:13] cnsvc: has joined #ruby
[00:19:40] doodlebug: has joined #ruby
[00:23:04] r3m: has joined #ruby
[00:24:27] octos: has joined #ruby
[00:24:59] duderonomy: has joined #ruby
[00:25:40] doodlebug: has joined #ruby
[00:27:48] r3m: has joined #ruby
[00:29:36] AJA4350: has joined #ruby
[00:31:40] doodlebug: has joined #ruby
[00:36:11] _whitelogger: has joined #ruby
[00:36:46] al-damiri: has joined #ruby
[00:37:41] doodlebug: has joined #ruby
[00:38:00] cnsvc: has joined #ruby
[00:47:41] laaron: has joined #ruby
[00:48:43] duderonomy: has joined #ruby
[00:51:00] cnsvc: has joined #ruby
[01:03:28] Swyper_: has joined #ruby
[01:15:54] orbyt_: has joined #ruby
[01:28:45] fphilipe_: has joined #ruby
[01:29:57] tf2ftw: has joined #ruby
[01:38:34] arooni: has joined #ruby
[01:50:04] duderonomy: has joined #ruby
[01:50:52] xcesariox: has joined #ruby
[01:55:47] doodlebug: has joined #ruby
[01:56:27] doodlebug: has joined #ruby
[01:56:55] doodlebug: has joined #ruby
[01:57:22] doodlebug: has joined #ruby
[01:57:48] doodlebug: has joined #ruby
[01:59:46] i1nfusion: has joined #ruby
[02:19:07] laaron: has joined #ruby
[02:20:21] bambanx: has joined #ruby
[02:21:27] octos: has joined #ruby
[02:25:25] sgen_: has joined #ruby
[02:29:11] cnsvc: has joined #ruby
[02:35:41] ur5us: has joined #ruby
[02:40:53] dsmythe: has joined #ruby
[02:45:53] AJA4351: has joined #ruby
[02:47:12] m27frogy: has joined #ruby
[02:53:09] galaxie: has joined #ruby
[03:09:00] aither: has joined #ruby
[03:10:38] braincrash: has joined #ruby
[03:19:44] xcesariox: has joined #ruby
[03:22:11] xcesariox: has joined #ruby
[03:29:23] fphilipe_: has joined #ruby
[03:41:40] nima_m: has joined #ruby
[03:43:44] tris: has joined #ruby
[03:45:26] tris: has joined #ruby
[03:48:38] LtHummus: has joined #ruby
[03:49:31] GodFather_: has joined #ruby
[03:49:58] GodFather: has joined #ruby
[03:59:07] sgen_: has joined #ruby
[04:01:20] sleetdrop: has joined #ruby
[04:09:07] jenrzzz: has joined #ruby
[04:12:28] Swyper: has joined #ruby
[04:15:39] tris: has joined #ruby
[04:20:21] Milos: has joined #ruby
[04:22:05] teardown: has joined #ruby
[04:25:59] doodlebug: has joined #ruby
[04:30:26] doodlebug: has joined #ruby
[04:49:04] FancyEagle: has joined #ruby
[04:49:20] FancyEagle: has joined #ruby
[05:08:17] zenspider: anyone here actually know rspec??
[05:10:01] sauvin: has joined #ruby
[05:10:08] cnsvc: has joined #ruby
[05:10:42] envex: has joined #ruby
[05:10:42] Swyper: has joined #ruby
[05:15:15] conta: has joined #ruby
[05:26:41] Nicmavr: has joined #ruby
[05:30:56] kyrylo: has joined #ruby
[05:33:22] fphilipe_: has joined #ruby
[05:35:00] conta: has joined #ruby
[05:37:37] zenspider: huh. and for some reason I have a bunch of requires that are returning nil, not true/false... no idea why tho
[05:45:35] teardown: has joined #ruby
[05:50:09] reber: has joined #ruby
[05:54:58] zenspider: damn... this is just dead... :/
[06:00:05] doodlebug: has joined #ruby
[06:00:33] ur5us: has joined #ruby
[06:09:26] jenrzzz: has joined #ruby
[06:11:14] za1b1tsu: has joined #ruby
[06:21:43] t3hyoshi: zenspider: Give it time. Some may be away or sleeping.
[06:22:28] zenspider: uh. thank you.
[06:31:15] andikr: has joined #ruby
[06:33:06] aupadhye: has joined #ruby
[06:54:05] fphilipe_: has joined #ruby
[07:02:16] ovnimancer: has joined #ruby
[07:03:35] ovnimancer: has joined #ruby
[07:11:43] Kestrel-029: has joined #ruby
[07:21:11] _whitelogger: has joined #ruby
[07:25:16] suukim: has joined #ruby
[07:25:29] klaas: has joined #ruby
[07:29:13] lxsameer: has joined #ruby
[07:29:43] noboruma: has joined #ruby
[07:36:05] SigizMG: has joined #ruby
[07:41:42] Nicmavr: has joined #ruby
[07:56:48] Kestrel-029: has joined #ruby
[07:58:59] aupadhye: has joined #ruby
[08:01:55] Ai9zO5AP: has joined #ruby
[08:02:19] jefffrails35: has joined #ruby
[08:04:24] mikecmpbll: has joined #ruby
[08:05:47] prestorium: has joined #ruby
[08:09:40] jenrzzz: has joined #ruby
[08:16:09] ellcs: has joined #ruby
[08:23:28] octos: has joined #ruby
[08:24:37] jenrzzz: has joined #ruby
[08:24:41] dsmythe: has joined #ruby
[08:27:08] ovnimancer: has joined #ruby
[08:29:42] ur5us: has joined #ruby
[08:30:40] ramfjord: has joined #ruby
[08:39:58] d^sh: has joined #ruby
[08:41:31] jenrzzz: has joined #ruby
[08:41:37] Nicmavr: has joined #ruby
[08:52:19] cnsvc: has joined #ruby
[08:55:16] Phage: has joined #ruby
[08:55:16] Phage: has joined #ruby
[08:55:55] KnownSyntax: has joined #ruby
[08:57:30] vs^: has joined #ruby
[09:05:00] andikr: has joined #ruby
[09:14:47] powerbit: has joined #ruby
[09:17:30] jenrzzz: has joined #ruby
[09:22:19] ur5us: has joined #ruby
[09:35:40] Mia: has joined #ruby
[09:36:11] jenrzzz: has joined #ruby
[09:36:18] ur5us: has joined #ruby
[09:40:22] ur5us: has joined #ruby
[09:57:49] abaiste^: has joined #ruby
[10:04:25] hh: has joined #ruby
[10:07:41] mangold: has joined #ruby
[10:13:37] fphilipe_: has joined #ruby
[10:13:52] Furai: has joined #ruby
[10:20:09] andikr: has joined #ruby
[10:22:40] fphilipe_: has joined #ruby
[10:30:55] jenrzzz: has joined #ruby
[10:34:51] AJA4350: has joined #ruby
[10:37:07] englishm: has joined #ruby
[10:37:07] KeyJoo: has joined #ruby
[10:40:38] fphilipe_: has joined #ruby
[10:42:05] conta: has joined #ruby
[10:44:11] cnsvc: has joined #ruby
[10:56:01] mangold: has joined #ruby
[10:58:57] fphilipe_: has joined #ruby
[10:59:40] apparition: has joined #ruby
[11:06:42] ur5us: has joined #ruby
[11:08:00] fphilipe_: has joined #ruby
[11:12:26] tf2ftw: has joined #ruby
[11:14:15] Jonopoly: has joined #ruby
[11:17:26] mniip: has joined #ruby
[11:26:26] Silex: has joined #ruby
[11:34:58] Swyper: has joined #ruby
[11:41:10] kyrylo: has joined #ruby
[11:48:51] catphish: has joined #ruby
[11:49:25] catphish: is there anything like throw / catch that will allow me to "redo" from inside nested blocks?
[11:50:35] catphish: i'm trying to make an http download that follows redirects, i just want to restart an outer block when a redirect is enountered
[11:51:09] catphish: but it's looking like i may need to make it recursive instead, which i like less
[11:52:16] cnsvc: has joined #ruby
[11:53:16] Silex: catphish: https://blog.appsignal.com/2018/06/05/redo-retry-next.html should help you
[11:53:47] doodleb69: has joined #ruby
[11:54:01] catphish: i guess i could raise, rescue and retry
[11:54:08] Silex: catphish: looks like you could "raise RedirectError" and retry yeah
[11:54:38] Silex: catphish: but it's likely that whatever you are using can follow redirects with a big of config
[11:54:58] catphish: i'm using net/http
[11:55:12] Silex: also I don't see how retrying the exact same thing will not yield another redirect
[11:55:16] catphish: it wouldn't make sense for it to automate this sadly
[11:55:58] catphish: well it changes a URL variable before it retries
[11:56:08] phaul: why don't you use throw/catch instead? that was designed for control flow, raise rescue was designed for error handling
[11:56:37] Silex: This example http://ruby-doc.org/stdlib-2.6.3/libdoc/net/http/rdoc/Net/HTTP.html#class-Net::HTTP-label-Following+Redirection shows how to follow redirects
[11:56:57] Silex: it uses recursivity
[11:57:06] catphish: yeah, the recursive way seems elegant enough i guess
[11:57:18] catphish: and a neat way to limit the retries
[11:57:26] catphish: i'll do that
[11:57:58] catphish: phaul: throw/catch doesn't really provide a mechanism to go back to the top sadly
[11:59:18] phaul: you go out all nested block with throw, then once you are out you redo?
[11:59:43] Silex: catphish: instead of throw/catch you could a simple loop { response = fetch(url); url = response.location if response.is_redirect?; handle_response(response); break }
[12:00:24] Silex: that is, fetch until there's no more redirect and then handle the response and break the loop
[12:00:54] catphish: that makes sense
[12:01:32] Silex: I forgot a "redo" in my example
[12:01:47] Silex: or an "else"
[12:02:35] Guest96130: has joined #ruby
[12:02:44] Silex: this https://stackoverflow.com/questions/6934185/ruby-net-http-following-redirects also has an example with a limit of tries
[12:02:53] RougeRR: does anyone know if you can use an array to define keyword parameters for a ruby method
[12:02:56] RougeRR: was struggling to find it
[12:03:09] Silex: oh wait it's the same example as the doc
[12:03:35] catphish: Silex: yeah, i found that first, and realised it's the same :)
[12:03:54] catphish: i'll probably just go with the recursive approach, it's easy to understand
[12:18:19] jenrzzz: has joined #ruby
[12:20:33] conta1: has joined #ruby
[12:31:04] ramfjord: has joined #ruby
[12:41:47] doodlebug: has joined #ruby
[12:41:48] Kestrel-029: has joined #ruby
[12:45:35] Inline: has joined #ruby
[12:55:09] DTZUZO: has joined #ruby
[13:00:10] duderonomy: has joined #ruby
[13:03:35] hh: has joined #ruby
[13:11:47] Nicmavr: has joined #ruby
[13:17:42] AJA4351: has joined #ruby
[13:18:34] cnsvc: has joined #ruby
[13:26:43] Kestrel-029: has joined #ruby
[13:27:13] laaron: has joined #ruby
[13:27:25] reber: has joined #ruby
[13:28:44] djdduty: has joined #ruby
[13:29:46] def_jam: has joined #ruby
[13:29:54] eb0t_: has joined #ruby
[13:31:12] SeepingN: has joined #ruby
[13:44:51] tf2ftw: has joined #ruby
[13:53:11] AJA4350: has joined #ruby
[13:53:47] doodlebug: has joined #ruby
[13:56:08] AJA4350: has joined #ruby
[13:56:24] miskatonic: has joined #ruby
[13:58:44] vondruch_: has joined #ruby
[14:02:34] p0p0pr37: has joined #ruby
[14:02:34] p0p0pr37: has joined #ruby
[14:15:19] jeremycw: has joined #ruby
[14:17:36] galaxie: So, I'm trying to clean some old junk out and I removed an old Ruby using 'rvm remove'. There's still gems, logs, wrappers, environments, etc. What should I do?
[14:18:49] galaxie: Oh, there's a 'rvm remove --gems'... but it still doesn't clean logs and patches and patchsets.
[14:20:06] laaron: has joined #ruby
[14:20:15] p0p0pr37: has joined #ruby
[14:20:15] p0p0pr37: has joined #ruby
[14:24:22] cnsvc: has joined #ruby
[14:25:02] AJA4351: has joined #ruby
[14:30:24] doodleb61: has joined #ruby
[14:41:36] Nicmavr: has joined #ruby
[14:42:17] fphilipe_: has joined #ruby
[14:42:36] Dbugger: has joined #ruby
[14:49:06] kyrylo: has joined #ruby
[14:50:22] ellcs: has joined #ruby
[14:55:26] kyrylo: has joined #ruby
[14:56:25] rippa: has joined #ruby
[15:01:51] AJA4351: has joined #ruby
[15:11:42] Kestrel-029: has joined #ruby
[15:14:46] yoshida: has joined #ruby
[15:19:51] weteamsteve: has joined #ruby
[15:26:46] Nicmavr: has joined #ruby
[15:27:56] dsmythe: has joined #ruby
[15:34:18] cnsvc: has joined #ruby
[15:34:52] duderonomy: has joined #ruby
[15:39:21] queip: has joined #ruby
[15:44:28] doodlebug: has joined #ruby
[15:45:28] adelvice: has joined #ruby
[15:46:57] adelvice: Total Ruby/Chef n00b here. I see "Berksfile" in a cookbook, but where does this name come from? There's gotta be an inside joke somewhere...amirite?
[15:48:31] adam12: adelvice: Not a Chef user but any chance it comes from the Swedish Chef off Sesame Street?
[15:48:42] adam12: adelvice: I swear he says something similar.
[15:53:10] altious: has joined #ruby
[15:53:31] PhawaS0ze: has joined #ruby
[15:55:59] adelvice: adam12: ah, that would make sense (sort-of)
[15:56:28] doodlebug: has joined #ruby
[15:58:21] brool: has joined #ruby
[16:00:13] tf2ftw: has joined #ruby
[16:01:18] ovnimancer: has joined #ruby
[16:01:47] tf2ftw: has joined #ruby
[16:03:22] chryskylodon: has joined #ruby
[16:10:59] cnsvc_: has joined #ruby
[16:12:07] haengma: has joined #ruby
[16:21:15] jenrzzz: has joined #ruby
[16:22:01] cthulchu: has joined #ruby
[16:22:37] teclator_: has joined #ruby
[16:22:41] teclator__: has joined #ruby
[16:23:30] GodFather_: has joined #ruby
[16:25:39] tdy1: has joined #ruby
[16:26:02] Kestrel-029: has joined #ruby
[16:34:03] budonyc: has joined #ruby
[16:40:53] dsmythe_: has joined #ruby
[16:41:33] budonyc: has joined #ruby
[16:46:21] GodFather_: has joined #ruby
[16:49:10] weteamsteve: has joined #ruby
[16:49:31] dviola: has joined #ruby
[16:57:43] moei: has joined #ruby
[17:00:59] cnsvc_: has joined #ruby
[17:12:34] BTRE: has joined #ruby
[17:18:44] AJA4351: has joined #ruby
[17:18:54] eddof13: has joined #ruby
[17:21:58] gix: has joined #ruby
[17:25:05] kapilp: has joined #ruby
[17:27:19] fphilipe_: has joined #ruby
[17:29:01] sameerynho: has joined #ruby
[17:33:40] dellavg_: has joined #ruby
[17:34:41] GodFather: has joined #ruby
[17:36:33] GodFather: has joined #ruby
[17:44:31] cd: has joined #ruby
[17:55:24] AJA4350: has joined #ruby
[17:56:28] doodleb72: has joined #ruby
[17:58:08] jenrzzz: has joined #ruby
[17:58:52] ramfjord: has joined #ruby
[18:05:09] fphilipe_: has joined #ruby
[18:05:29] Swyper: has joined #ruby
[18:06:20] [Butch]: has joined #ruby
[18:06:28] Swyper: has joined #ruby
[18:07:18] Swyper: has joined #ruby
[18:08:57] cnsvc_: has joined #ruby
[18:08:58] Wolland: has joined #ruby
[18:13:38] Swyper: has joined #ruby
[18:18:05] jottr: has joined #ruby
[18:20:07] Rapture: has joined #ruby
[18:24:09] tf2ftw: has joined #ruby
[18:25:54] kyrylo: has joined #ruby
[18:31:58] Wolland: has joined #ruby
[18:32:14] m27frogy: has joined #ruby
[18:34:54] tf2ftw: has joined #ruby
[18:36:51] zacts: has joined #ruby
[18:42:47] GodFather_: has joined #ruby
[18:45:37] i1nfusion: has joined #ruby
[18:59:04] AJA4351: has joined #ruby
[19:02:00] jottr: has joined #ruby
[19:03:30] jonjitsu: has left #ruby: ("Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30 days.")
[19:04:19] houhoulis: has joined #ruby
[19:08:49] Renich: has joined #ruby
[19:11:45] cnsvc_: has joined #ruby
[19:13:14] troulouliou_div2: has joined #ruby
[19:15:00] tf2ftw: has joined #ruby
[19:15:53] duderonomy: has joined #ruby
[19:16:11] zacts: has joined #ruby
[19:35:23] jottr: has joined #ruby
[19:43:51] eddof13: has joined #ruby
[19:43:58] dsmythe: has joined #ruby
[19:46:28] weteamsteve1: has joined #ruby
[19:47:15] Dbugger: has joined #ruby
[19:47:36] Dbugger: has joined #ruby
[19:56:41] Nicmavr: has joined #ruby
[19:57:22] ellcs1: has joined #ruby
[20:00:31] gr33n7007h: has joined #ruby
[20:01:01] jidar: has joined #ruby
[20:02:34] jidar: has joined #ruby
[20:05:38] haengma: has joined #ruby
[20:05:43] jottr: has joined #ruby
[20:09:50] tdy1: has joined #ruby
[20:10:53] ramfjord: has joined #ruby
[20:11:42] S007: has joined #ruby
[20:14:28] nixy7: has joined #ruby
[20:14:34] Wolland: has joined #ruby
[20:20:14] cnsvc_: has joined #ruby
[20:22:39] Swyper: has joined #ruby
[20:23:04] hiroaki: has joined #ruby
[20:25:00] Swyper_: has joined #ruby
[20:25:57] Swyper_: has joined #ruby
[20:26:42] Kestrel-029: has joined #ruby
[20:33:11] PhawaS0ze: has joined #ruby
[20:41:00] laaron: has joined #ruby
[20:44:30] jrafanie: has joined #ruby
[20:44:36] zacts: has joined #ruby
[20:45:16] m27frogy: has joined #ruby
[20:46:26] zacts: has joined #ruby
[20:46:38] DarthGandalf: has joined #ruby
[20:46:55] budonyc: has joined #ruby
[20:47:20] reber: has joined #ruby
[20:49:31] ur5us: has joined #ruby
[20:56:51] angrywombat: has joined #ruby
[21:00:00] kyrylo: has joined #ruby
[21:01:24] ellcs1: has joined #ruby
[21:03:20] angrywombat: has left #ruby: ()
[21:03:38] duderonomy: has joined #ruby
[21:09:09] ur5us: has joined #ruby
[21:09:11] cnsvc_: has joined #ruby
[21:11:41] Nicmavr: has joined #ruby
[21:14:12] al-damiri: has joined #ruby
[21:20:26] AJA4350: has joined #ruby
[21:21:01] laaron: has joined #ruby
[21:21:05] jottr: has joined #ruby
[21:25:48] cnsvc: has joined #ruby
[21:36:22] jenrzzz: has joined #ruby
[21:41:42] Kestrel-029: has joined #ruby
[21:41:54] edwardly: has joined #ruby
[21:41:54] edwardly: has joined #ruby
[21:41:57] jenrzzz: has joined #ruby
[21:58:27] Nebros: has joined #ruby
[22:01:15] laaron: has joined #ruby
[22:02:48] TvL2386: has joined #ruby
[22:11:07] Wolland: has joined #ruby
[22:11:30] tjbp: has joined #ruby
[22:15:37] SCHAPiE: has joined #ruby
[22:16:26] fphilipe_: has joined #ruby
[22:18:57] hightower2: has joined #ruby
[22:24:01] cnsvc_: has joined #ruby
[22:25:00] vondruch_: has joined #ruby
[22:26:46] Nicmavr: has joined #ruby
[22:31:11] code_zombie: has joined #ruby
[22:32:37] jenrzzz: has joined #ruby
[22:33:35] ur5us: has joined #ruby
[22:34:12] hightower2: has joined #ruby
[22:39:01] hansv: has joined #ruby
[22:39:53] phaul: 1 test passed.
[22:39:58] phaul: 0 failures.
[22:40:36] havenwood: ArgumentError: wrong number of arguments (given 0, expected 2..3)
[23:00:48] cd: has joined #ruby
[23:04:12] weteamsteve1: has joined #ruby
[23:17:35] Stan: has joined #ruby
[23:18:39] eb0t: has joined #ruby
[23:18:56] Renich: has joined #ruby
[23:19:53] yasumi2136: has joined #ruby
[23:26:41] Nicmavr: has joined #ruby
[23:26:46] iNs: has joined #ruby
[23:28:58] jottr: has joined #ruby
[23:37:33] funnel: has joined #ruby
[23:38:43] bambanx: has joined #ruby
[23:38:56] pwnd_nsfw`: has joined #ruby
[23:45:47] jenrzzz: has joined #ruby
[23:46:53] eddof13: has joined #ruby
[23:49:09] d^sh: has joined #ruby