« Back to channel list

#ruby - 14 January 2019

« Back 1 day Forward 1 day »
[00:10:20] AJA4350: has joined #ruby
[00:14:59] tdy2: has joined #ruby
[00:22:48] mspo: has left #ruby: ()
[00:31:47] catbusters: has joined #ruby
[00:50:42] tdy2: has joined #ruby
[00:51:12] sarink: has joined #ruby
[01:09:45] Hanmac: has joined #ruby
[01:33:38] AJA4351: has joined #ruby
[01:45:58] m27frogy: has joined #ruby
[01:54:52] orbyt_: has joined #ruby
[01:58:15] Rich_Morin_: has joined #ruby
[02:04:42] hutch: has joined #ruby
[02:06:30] esrse: has joined #ruby
[02:06:39] houhoulis: has joined #ruby
[02:06:49] uplime: has joined #ruby
[02:06:51] mostlybadfly: has joined #ruby
[02:10:10] tdy2: has joined #ruby
[02:33:38] bmurt: has joined #ruby
[02:52:06] themsay: has joined #ruby
[02:53:38] dbugger_: has joined #ruby
[02:56:45] sarink: has joined #ruby
[02:59:48] hutch: has joined #ruby
[03:05:09] tdy2: has joined #ruby
[03:11:59] sarink: has joined #ruby
[03:12:44] Rich_Morin_: has joined #ruby
[03:13:29] Rich_Morin_: has joined #ruby
[03:14:19] Rich_Morin_: has joined #ruby
[03:15:09] Rich_Morin_: has joined #ruby
[03:15:23] sarink: has joined #ruby
[03:15:55] Rich_Morin_: has joined #ruby
[03:16:44] Rich_Morin_: has joined #ruby
[03:17:20] sarink: has joined #ruby
[03:27:09] hutch: has joined #ruby
[03:30:18] Rich_Morin_: has joined #ruby
[03:49:18] Net: has joined #ruby
[03:49:44] Net: whois net net
[04:03:17] orbyt_: has joined #ruby
[04:10:07] braincrash: has joined #ruby
[04:19:50] hutch: has joined #ruby
[04:27:21] Swyper: has joined #ruby
[04:29:42] Rich_Morin_: has joined #ruby
[04:30:20] Rich_Morin_: has joined #ruby
[04:31:11] Rich_Morin_: has joined #ruby
[04:31:55] Rich_Morin_: has joined #ruby
[04:32:45] Rich_Morin_: has joined #ruby
[04:33:31] Rich_Morin_: has joined #ruby
[04:34:19] Rich_Morin_: has joined #ruby
[04:35:05] Rich_Morin_: has joined #ruby
[04:35:05] sauvin_: has joined #ruby
[04:35:51] Rich_Morin_: has joined #ruby
[04:45:06] Rich_Morin_: has joined #ruby
[04:45:31] dellavg_: has joined #ruby
[04:48:39] porg: has joined #ruby
[04:49:12] davidw: has joined #ruby
[05:01:12] evdubs_: has joined #ruby
[05:09:05] tdy2: has joined #ruby
[05:18:10] _whitelogger: has joined #ruby
[05:18:51] uplime: has joined #ruby
[05:33:04] idiocrash: has joined #ruby
[06:01:45] \void: has joined #ruby
[06:14:22] SuperLag: has joined #ruby
[06:19:07] conta: has joined #ruby
[06:26:12] idiocrash: has joined #ruby
[06:28:54] tdy2: has joined #ruby
[06:49:55] aufi: has joined #ruby
[06:53:32] aupadhye: has joined #ruby
[07:05:47] Nicmavr: has joined #ruby
[07:10:07] ziyadb: has joined #ruby
[07:14:26] cthulchu: has joined #ruby
[07:21:44] gix: has joined #ruby
[07:24:34] drale2k_: has joined #ruby
[07:36:43] am0123: has joined #ruby
[07:44:53] dminuoso: has joined #ruby
[07:46:40] dminuoso: has left #ruby: ("WeeChat 2.0.1")
[08:11:24] SqREL: has joined #ruby
[08:17:26] SqREL: has joined #ruby
[08:20:46] clemens3: has joined #ruby
[08:25:57] status402: has joined #ruby
[08:38:31] kapil____: has joined #ruby
[08:41:24] mikecmpbll: has joined #ruby
[08:44:50] apparition: has joined #ruby
[08:47:15] SqREL: has joined #ruby
[08:47:58] vondruch: has joined #ruby
[08:49:13] ellcs: has joined #ruby
[08:55:36] idiocrash: has joined #ruby
[08:56:57] mikecmpbll: has joined #ruby
[08:59:27] aupadhye: has joined #ruby
[09:03:17] tdy2: has joined #ruby
[09:05:38] paranoicsan: has joined #ruby
[09:07:53] themsay: has joined #ruby
[09:11:10] mat_bug: has joined #ruby
[09:12:04] sarink: has joined #ruby
[09:16:53] ur5us: has joined #ruby
[09:19:46] queip: has joined #ruby
[09:38:20] za1b1tsu: has joined #ruby
[09:45:39] ur5us: has joined #ruby
[09:47:30] queip: has joined #ruby
[09:48:13] alexterziev: has joined #ruby
[09:49:45] paranoicsan: has joined #ruby
[10:00:37] profetes: has joined #ruby
[10:01:12] dhollin3: has joined #ruby
[10:01:42] uplime: has joined #ruby
[10:16:16] status402: has joined #ruby
[10:33:33] gigetoo: has joined #ruby
[10:34:30] x0F: has joined #ruby
[10:40:11] x0F_: has joined #ruby
[10:43:29] sauvin: has joined #ruby
[10:50:00] sauvin_: has joined #ruby
[10:53:03] brandonkal: has joined #ruby
[11:09:00] gregf_: has joined #ruby
[11:18:00] rikkipitt: has joined #ruby
[11:18:46] soyeomul^bionic: has joined #ruby
[11:20:17] soyeomul^bionic: i would like to run with linux shell commands such as grep awk sed xargs
[11:20:27] soyeomul^bionic: is that possible with ruby?
[11:21:10] phaul: you can run shell commands like `ls -a`
[11:21:45] phaul: &ri Kernel#`
[11:21:45] rubydoc: https://ruby-doc.org/core-2.6/Kernel.html#method-i-60
[11:23:44] soyeomul^bionic: wow that is easy more than python.
[11:24:17] AJA4350: has joined #ruby
[11:30:50] soyeomul^bionic: by the way, what is different `` and exec?
[11:33:56] phaul: exec replaces the current process with the one you point to. it's a lower level primitive. To implement `` you need exec but you also need fork, and capturing the child processs output. `` does a lot more
[11:34:02] rubydoc: I found 2 entries matching method exec. Use &list exec if you would like to see a list
[11:34:10] phaul: &ri Kernel#exec
[11:34:10] rubydoc: https://ruby-doc.org/core-2.6/Kernel.html#method-i-exec
[11:36:45] soyeomul^bionic: thanks phaul, you kind man. i take myself study that
[11:45:36] soyeomul^bionic: ruby doc is so cool!!!
[11:48:16] paranoicsan: has joined #ruby
[12:02:29] mostlybadfly: has joined #ruby
[12:31:49] uplime: has joined #ruby
[12:49:51] HCW: has joined #ruby
[12:51:28] HCW: has left #ruby: ("Closing Window")
[12:52:42] rubydoc: has joined #ruby
[12:56:29] catphish: has joined #ruby
[12:56:39] catphish: does ruby have a while loop with no block?
[12:59:03] canton7: catphish, can you give an example of its usage?
[12:59:30] canton7: what would the point of a while loop which does nothing be?
[13:00:33] catphish: def process_one; something_that_returns_true_or_false; end; while(process_one);
[13:01:22] nowhere_man: has joined #ruby
[13:01:31] catphish: i've been writing C for a couple of weeks and i'm in the habit of writing: while(something_that_processes_and_tests);
[13:02:42] catphish: the use base being to have one method that processes something once, and a separate method that runs it repeatedly, but allows the loop to be broken
[13:03:37] catphish: canton7: so the loop doesn't do nothing, it's just that the work is done as part of the test
[13:06:02] canton7: ah, gotcha. I think you'll have to write it the same way as in C, with an empty block
[13:07:33] catphish: i suppose in C it's just an empty statement (the semi-colon at the end is actually a complete statement hat does nothing)
[13:08:01] catphish: this is ok, just not that pretty: while process_once; end
[13:09:51] canton7: 'while (process_once) { }' ?
[13:10:20] jottr: has joined #ruby
[13:10:29] catphish: canton7: i think "while" implies "begin"
[13:10:46] phaul: while in ruby is a keyword not a method. and it has a body not a block
[13:10:54] canton7: yeah, I wasn't thinking
[13:11:02] phaul: loop on the other hand is a method.
[13:11:04] catphish: phaul: makes sense
[13:11:27] catphish: i didn't know that, explains why it's loop *do*
[13:18:16] vondruch_: has joined #ruby
[13:23:20] gregf_: has joined #ruby
[13:24:40] uplime: has joined #ruby
[13:30:38] CrazyEddy: has joined #ruby
[13:34:28] leftylink: uh I guess if you wanted to golf it you can use postfix while on _
[13:34:41] leftylink: &>> a=0; f=->{a+1>3}; _ while f[]; p :hello
[13:34:43] rubydoc: # => :hello ...check link for more (https://carc.in/#/r/5zw3)
[13:37:26] phaul: ACTION confused
[13:38:14] phaul: i expected undefined local variable or method _
[13:38:39] leftylink: oops, can you not do that in a script... uh, maybe something silly like `0 while f[]` then
[13:39:16] phaul: or _=_ :)
[13:39:29] leftylink: that's a "correct! nil! wat" moment
[13:39:59] dinfuehr: has joined #ruby
[13:41:51] phaul: &>> a=0; f=->{a+1<3}; _ while f[]; p :hello
[13:41:52] rubydoc: # => undefined local variable or method `_' for main:Object (NameError) (https://carc.in/#/r/5zw6)
[13:43:05] leftylink: I also meant a+=1
[13:43:26] leftylink: should have printed out more things to verify that things were actually working
[13:44:53] leftylink: and that needs parens too, that's great
[13:44:59] leftylink: the += I mean
[13:45:20] leftylink: yeah so I guess it'd be something like
[13:45:43] leftylink: &>> a = []; i = 0; f = ->{ a << i; (i += 1) < 3}; p while f[]; a
[13:45:44] rubydoc: # => [0, 1, 2] (https://carc.in/#/r/5zw7)
[13:54:10] _whitelogger: has joined #ruby
[13:54:53] apparition: has joined #ruby
[14:04:38] vondruch: has joined #ruby
[14:15:35] uplime: has joined #ruby
[14:15:45] chromis: has joined #ruby
[14:16:08] chromis: has left #ruby: ()
[14:19:01] jcalla: has joined #ruby
[14:23:16] konos5: has joined #ruby
[14:26:45] cow[moo]: has joined #ruby
[14:27:38] krawchyk: has joined #ruby
[14:41:35] Inline: has joined #ruby
[14:42:16] uplime: has joined #ruby
[14:44:06] xrexeon: has joined #ruby
[14:49:45] Rapture: has joined #ruby
[14:54:31] cow[moo]: has joined #ruby
[14:57:22] twobitsprite: has joined #ruby
[15:00:38] rippa: has joined #ruby
[15:05:11] madhatter: has joined #ruby
[15:10:46] polishdub: has joined #ruby
[15:14:41] status402: has joined #ruby
[15:18:09] chouhoulis: has joined #ruby
[15:27:19] hutch: has joined #ruby
[15:35:12] status402: has joined #ruby
[15:52:42] _axx: has left #ruby: ("I Must Go, My Planet Needs Me")
[16:01:18] bmurt: has joined #ruby
[16:01:58] conta: has joined #ruby
[16:13:30] catbusters: has joined #ruby
[16:25:13] dinfuehr: has joined #ruby
[16:28:18] elcontrastador: has joined #ruby
[16:29:49] davidw: has joined #ruby
[16:33:06] ams__: has joined #ruby
[16:35:59] uplime: has joined #ruby
[16:47:16] \void: has joined #ruby
[16:52:05] Sylario: has joined #ruby
[16:59:50] sputnik13: has joined #ruby
[17:07:24] bak1an: has joined #ruby
[17:12:43] orbyt_: has joined #ruby
[17:12:55] paranoicsan[Away: has joined #ruby
[17:14:45] conta: has joined #ruby
[17:25:34] planigan: has joined #ruby
[17:25:35] bmurt: has joined #ruby
[17:40:10] am0123: has joined #ruby
[17:41:01] conta: has joined #ruby
[17:43:47] johnny56: has joined #ruby
[17:44:22] paranoicsan: has joined #ruby
[17:45:57] Nicmavr: has joined #ruby
[17:46:02] za1b1tsu: I dont understand why would "gogo".match /\w/ # => #<MatchData "g">
[17:47:31] uplime: why it only matched one character?
[17:47:40] za1b1tsu: uplime, yes
[17:47:46] uplime: from the docs: /\w/ - A word character ([a-zA-Z0-9_])
[17:48:12] havenwood: za1b1tsu: Compare with: /\w*/
[17:48:13] za1b1tsu: ah so the equivalent of most regex engines will be /\w+/
[17:48:40] donofrio: has joined #ruby
[17:49:49] cthulchu_: has joined #ruby
[17:50:00] phaul: echo gogo | sed s/./x/ # => xogo
[17:50:22] phaul: sed works the same way
[17:52:56] irightcode2: has joined #ruby
[17:53:49] irightcode2: can I ask bundler/rake questions here?
[17:54:02] hutch: has joined #ruby
[17:54:22] phaul: I mean sure. go for it :)
[17:54:37] irightcode2: I would like import bundle task from another gem, is this possible
[17:55:13] irightcode2: rake task. i mean
[18:01:23] orbyt_: has joined #ruby
[18:03:25] conta2: has joined #ruby
[18:04:36] irightcode2: a little more information on the question: https://dpaste.de/tcS6
[18:04:42] raulp: has joined #ruby
[18:14:21] fiachetti: has joined #ruby
[18:20:12] sanscoeur: has joined #ruby
[18:26:57] r29v: has joined #ruby
[18:29:06] f3ttX]: has joined #ruby
[18:41:35] reber: has joined #ruby
[18:44:06] grvgr: has joined #ruby
[18:44:14] irightcode2: How do you import rake tasks from another Rakefile?
[18:47:05] lxsameer: has joined #ruby
[18:54:30] Swyper: has joined #ruby
[18:55:05] sarink: has joined #ruby
[19:09:14] bmurt: has joined #ruby
[19:09:25] [Butch]: has joined #ruby
[19:09:55] vikaton: has joined #ruby
[19:12:32] mikecmpbll: has joined #ruby
[19:22:48] reber: has joined #ruby
[19:23:58] orbyt_: has joined #ruby
[19:24:40] SeepingN: has joined #ruby
[19:47:18] lytol_: has joined #ruby
[19:48:36] am0123: has joined #ruby
[19:53:59] conta: has joined #ruby
[19:59:35] connermcd: has joined #ruby
[20:00:33] Paraxial: has joined #ruby
[20:04:10] nickjj: has joined #ruby
[20:09:35] r29v: has joined #ruby
[20:23:21] miah: not sure about a Rakefile, but if the other gem provides a library its not hard, eg; https://github.com/test-kitchen/test-kitchen/blob/master/lib/kitchen/rake_tasks.rb
[20:23:29] cd: has joined #ruby
[20:24:59] gix: has joined #ruby
[20:36:22] AJA4350: has joined #ruby
[20:40:39] ur5us: has joined #ruby
[20:41:40] profetes: has joined #ruby
[20:52:41] connermcd: has joined #ruby
[20:53:50] nowhere_man: has joined #ruby
[21:01:44] sanscoeur: has joined #ruby
[21:03:19] themsay: has joined #ruby
[21:03:38] evdubs__: has joined #ruby
[21:03:47] Dbugger: has joined #ruby
[21:04:59] Iambchop_: has joined #ruby
[21:05:28] timeless_: has joined #ruby
[21:05:47] teej_: has joined #ruby
[21:06:26] tdy3: has joined #ruby
[21:06:33] Quintasan: has joined #ruby
[21:06:53] beaky1: has joined #ruby
[21:09:55] sarink: has joined #ruby
[21:11:56] vqrs_: has joined #ruby
[21:12:01] twe4ked: has joined #ruby
[21:14:01] creat: has joined #ruby
[21:16:14] themsay: has joined #ruby
[21:16:30] michael_mbp: has joined #ruby
[21:16:52] d^sh: has joined #ruby
[21:17:13] cpallares: has joined #ruby
[21:18:50] sanscoeur: has joined #ruby
[21:19:25] ghormoon: has joined #ruby
[21:25:14] am0123: has joined #ruby
[21:34:17] zapata: has joined #ruby
[21:42:39] AJA4351: has joined #ruby
[21:59:35] hutch: has joined #ruby
[22:11:01] dviola: has joined #ruby
[22:12:53] nowhere_man: has joined #ruby
[22:18:50] tdy3: has joined #ruby
[22:22:39] muhairwe: has joined #ruby
[22:24:58] r29v: has joined #ruby
[22:29:53] sanscoeur: has joined #ruby
[22:39:42] orbyt_: has joined #ruby
[22:44:04] uplime: has joined #ruby
[22:46:45] chouhoulis: has joined #ruby
[22:50:11] AJA4351: has joined #ruby
[22:57:24] tiff: has joined #ruby
[23:05:33] cybergeeek: has joined #ruby
[23:06:01] jabowa: has joined #ruby
[23:06:31] Nirvash: has joined #ruby
[23:07:06] ModusPwnens: has joined #ruby
[23:07:24] ModusPwnens: I think i'm trying to do something strange with ruby. Is it valid to do nested inline rescue statements?
[23:08:34] ModusPwnens: Code example here: https://pastebin.com/TCJkDC9m
[23:08:35] ruby[bot]: ModusPwnens: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
[23:08:53] Nirvash: Is there a way to call a method in Ruby like so: (Class.new)->method ?
[23:09:00] jabowa: Hey there, is there a method to convert date to the following format? https://repl.it/repls/OnlyCorruptHertz
[23:09:27] ModusPwnens: OK, here is the gist instead of pastebin: https://gist.github.com/djdawson3/2ad3ce234cbf41e0dbe8bd620c7bae0d
[23:09:44] ModusPwnens: Seems like you can only do one level of nested inline rescues?
[23:10:40] Nirvash: ModusPwnens — Is there a reason to use the rescues in that example?
[23:10:54] leftylink: more parens are needed
[23:10:56] ModusPwnens: i mean, no because it's contrived to be an example.
[23:11:23] ModusPwnens: oh wow, it was really just the parens.
[23:11:40] mikecmpbll: has joined #ruby
[23:12:09] leftylink: I had not thought to do that until it was just brought up, but it is interesting
[23:12:54] ModusPwnens: i hadn't thought to either. normally ruby is pretty smart about order of operations but i guess this time it needs help
[23:13:09] ModusPwnens: so does that mean the second rescue is just... not doing anything?
[23:14:16] al2o3-cr: jabowa: DateTime.parse('Mon, 14 Jan 2019 14:59:00 -0500').iso8601
[23:14:48] leftylink: okay so I played around with where the parens should go, this is interesting
[23:14:50] uplime: Nirvash: what would that syntax do?
[23:15:02] uplime: (Class.new)->method i mean
[23:15:12] leftylink: &>> ruby -e 'def rawr(num); raise "no" if num.even?; num end; test = rawr(2) rescue rawr(4) rescue rawr(5); test
[23:15:16] rubydoc: # => (https://carc.in/#/r/600i)
[23:15:16] Nirvash: In other languages it would call that method
[23:15:23] leftylink: &>> ruby -e 'def rawr(num); raise "no" if num.even?; num end; test = (rawr(2) rescue rawr(4)) rescue rawr(5); test
[23:15:24] rubydoc: # => (https://carc.in/#/r/600j)
[23:15:28] havenwood: ModusPwnens: Consider using an ArgumentError and interpolating: raise ArgumentError, "expected odd number but `#{num}' is even" if num.even?
[23:15:32] Nirvash: Is there a way to do that in Ruby without assigning the new class to a variable first?
[23:15:54] uplime: Nirvash: Wouldn't that just be Class.new.method in ruby then?
[23:15:55] leftylink: &>> ruby -e 'def rawr(num); raise "no" if num.even?; num end; test = rawr(2) rescue (rawr(4) rescue rawr(5)); test
[23:15:56] rubydoc: # => (https://carc.in/#/r/600m)
[23:16:06] uplime: &>> Array.new.size
[23:16:07] rubydoc: # => 0 (https://carc.in/#/r/600n)
[23:16:21] Nirvash: In Ruby it would be two steps: a = Class.new a.method
[23:16:38] Nirvash: I was hoping there was something like (Class.new)->method to condense it
[23:16:43] ModusPwnens: leftylink: looks like you have to do test = (rawr(2) rescue rawr(4)) rescue rawr(5)
[23:16:51] al2o3-cr: Class.new.method ?
[23:17:13] uplime: Nirvash: https://clbin.com/AgnlR
[23:17:16] Nirvash: If that's possible, that would be perfect
[23:17:18] havenwood: Nirvash: you can chain methods of ^
[23:17:27] ModusPwnens: havenwood: this is a contrived example. my real code does something a bit different but still throws an exception with raise "..."
[23:17:31] Nirvash: Perfect! Thank you
[23:19:18] havenwood: ModusPwnens: Interpolation saves a String allocation, spares an explicit #to_s call, and avoids needing parens.
[23:20:14] ModusPwnens: havenwood: I tried using string interpolation and the issue with the nested rescues remains
[23:20:25] hutch: has joined #ruby
[23:21:15] al2o3-cr: leftylink: why are you using ruby -e?
[23:21:28] leftylink: oh no, that would be why
[23:21:29] leftylink: I pasted too much
[23:21:39] leftylink: no wonder that was all messed up
[23:21:50] havenwood: ModusPwnens: gotcha - yeah the nested rescues remind me of a Ruby obfuscation submission: https://github.com/tric/trick2018/blob/master/01-kinaba/entry.rb
[23:22:15] havenwood: no-op program ^
[23:22:24] ModusPwnens: i'm not sure I follow :(. What do you mean by ruby obfuscation submission?
[23:22:33] ModusPwnens: oh i see. that's clever.
[23:22:35] leftylink: a submission to a ruby obfuscation contest
[23:22:47] havenwood: 1st (Gold): "Most reserved" -- kinaba
[23:23:42] havenwood: I guess it's transcendental imbroglio, not obfuscation ¯\_(ツ)_/¯
[23:24:06] havenwood: I love mame's animation one: https://github.com/tric/trick2018/blob/master/02-mame/entry.rb
[23:24:18] al2o3-cr: yusuke endoh is a god!
[23:25:50] al2o3-cr: that quine with about god knows how many languages. just WOW!
[23:26:06] phaul: booring.. then it took an interesting turn :)
[23:26:20] leftylink: okay, now I'm ready
[23:26:22] leftylink: &>> def f(num); raise "no" if num.even?; num end; t1 = f(2) rescue f(4) rescue f(5); t2 = f2 rescue (f(4) rescue f(5)); t3 = (f(2) rescue f(4)) rescue f(5); (t4 = f(2) rescue f(4)) rescue f(5); p [t1, t2, t3, t4]
[23:26:22] rubydoc: # => [nil, 5, 5, nil] ...check link for more (https://carc.in/#/r/600r)
[23:26:23] eddof13: has joined #ruby
[23:26:28] leftylink: so I'm forced to assume that t1 is parsed like t4
[23:26:38] uplime: havenwood: wow thats trippy
[23:26:39] leftylink: maybe there are some other possible parses that result in the same
[23:29:06] phaul: ACTION wanted to make that ^ pun last time it was on, but missed my chance
[23:29:49] nfk: has joined #ruby
[23:31:07] ModusPwnens: i'm moderately proficient in ruby but that seems a bit unexpected/unintuitive
[23:32:54] phaul: oh, al2o3-cr I was afk, when you asked. yes rubydoc has parslet
[23:33:39] nfk: ModusPwnens, and the standard answer is that it's supposed to be intuitive to matz
[23:33:45] nfk: been there, asked that
[23:34:10] nfk: or rather, been here; asked that
[23:35:21] al2o3-cr: phaul: yeah, i was just be nosey looking through your repo for rubydoc ;)
[23:36:38] phaul: np. https://github.com/phaul/yarr/blob/master/lib/yarr/input_parser.rb
[23:36:55] orbyt_: has joined #ruby
[23:41:07] nfk: are there good orm's for a single file script to access a basic db - sqlite would be neat but i can probably live with something much simpler
[23:41:29] havenwood: nfk: The Sequel gem is lovely
[23:44:28] nfk: havenwood, neat, looking at the example, looks pretty much what I had in mind. thanks
[23:45:39] leftylink: &ast>> t1 = f(2) rescue f(4) rescue f(5)
[23:45:40] rubydoc: I have parsed your code, the result is at https://carc.in/#/r/600s
[23:47:31] leftylink: that is indeed an interesting parse
[23:48:17] nfk: wait, a rescue on function? is that legit?
[23:49:18] ellcs: has joined #ruby
[23:51:40] al2o3-cr: has joined #ruby
[23:52:59] leftylink: I would think it's equally valid (or not) as an other use of modifier-rescue
[23:53:17] leftylink: I do wonder about why one bound tighter than the = and the other didn't though
[23:54:40] beaky: has joined #ruby