« Back to channel list

#ruby - 30 July 2019

« Back 1 day Forward 1 day »
[00:03:20] AJA4350: has joined #ruby
[00:03:44] ramfjord: has joined #ruby
[00:07:31] gr33n7007h: has joined #ruby
[00:21:47] hutch: has joined #ruby
[00:31:00] noark9: has joined #ruby
[00:33:20] fphilipe_: has joined #ruby
[00:33:51] oetjenj: has joined #ruby
[00:49:34] greengriminal: has joined #ruby
[00:52:08] Swyper: has joined #ruby
[00:57:44] DaRock: has joined #ruby
[01:01:48] ElFerna: has joined #ruby
[01:05:30] tdy: has joined #ruby
[01:05:56] englishm: has joined #ruby
[01:11:52] Swyper: has joined #ruby
[01:19:53] jenrzzz: has joined #ruby
[01:20:52] davor: has joined #ruby
[01:31:18] ramfjord: has joined #ruby
[01:33:41] Azure: has joined #ruby
[01:38:41] Swyper: has joined #ruby
[01:39:40] leftylink: ruby story without obvious use
[01:40:14] leftylink: I was once trying to debug who was calling String#+, so I made it print self and its arg. and of course I would test that in irb first
[01:40:21] leftylink: but doing it wrong will just crash irb
[01:40:35] leftylink: I meant to do `class String; def +(s); puts "adding #{self} and #{s}"; "#{self}#{s}"; end end`
[01:40:58] leftylink: but instead I did `class String; def +(s); puts "adding #{self} and #{s}"; "#{self}{s}"; end end` and irb just crashed immediately
[01:47:27] dtzuzu: has joined #ruby
[01:53:49] bougyman: ok, i'm brain dead.
[01:54:26] bougyman: How do I make a collection of objects properly respond to #uniq? I thought defining ==(other) or ===(other) would do it. I swore it has before.
[01:54:32] bougyman: But it's not working in my current task.
[01:54:45] bougyman: I'm probably missing something simple (been at this too long)
[01:54:51] bougyman: It already includes Comparable
[01:55:32] bougyman: it's not removing the dupes (based on #=== nor #==)
[01:59:23] havenwood: bougyman: Define #eql?
[01:59:49] havenwood: bougyman: It checks the #hash and #eql?
[02:00:49] havenwood: &>> class Wombat; def eql?(_other); true end end; def hash; 0 end; [Wombat.new, Wombat.new].uniq # bougyman
[02:00:53] rubydoc: # => [#<Wombat:0x000056203830e450>] (https://carc.in/#/r/7bln)
[02:01:48] sh7d: has joined #ruby
[02:02:21] tdy: has joined #ruby
[02:02:31] orbyt_: has joined #ruby
[02:02:56] havenwood: bougyman: jeremyevans actually recently improved the docs on this front. :) https://github.com/ruby/ruby/commit/8bccbf3cfea8c1059d40db5b5e61900cf6cf29d3
[02:03:54] havenwood: "For any pair of objects where #eql? returns `true`, the #hash value of both objects must be equal. So any subclass that overrides #eql? should also override #hash appropriately."
[02:04:20] Frobozz_: has joined #ruby
[02:07:30] dtzuzu: has joined #ruby
[02:08:04] bougyman: havenwood: DOH
[02:08:05] bougyman: I knew that
[02:10:29] Swyper: has joined #ruby
[02:12:11] bougyman: wait, it has to to be .eql? _and_ #hash matching?
[02:12:23] havenwood: bougyman: yup!
[02:15:40] havenwood: bougyman: Neither just #hash, nor just #eql? is sufficient. To be #eql? implies the same #hash.
[02:18:02] havenwood: &>> class Orchid; def hash; self.class.hash end; def eql?(other); other.instance_of?(self.class) end end; [Orchid.new, Orchid.new].uniq # bougyman
[02:18:03] rubydoc: # => [#<Orchid:0x000055bddbf15010>] (https://carc.in/#/r/7bm8)
[02:19:23] havenwood: bougyman: That'd be ^ borrowing the class's #hash and then being #eql? when it's also an instance of the same class.
[02:20:17] havenwood: bougyman: I guess that's wrong in that it makes #eql? and #hash disagree between the instance and class. I'm trying to think of something more elegant.
[02:20:56] sapphyrus: has joined #ruby
[02:28:37] orbyt_: has joined #ruby
[02:36:31] fphilipe_: has joined #ruby
[02:38:47] teardown: has joined #ruby
[02:39:43] ur5us_: has joined #ruby
[02:46:58] jenrzzz: has joined #ruby
[02:54:18] teardown: has joined #ruby
[03:18:42] teardown: has joined #ruby
[03:22:46] CrazyEddy: has joined #ruby
[03:30:11] _whitelogger: has joined #ruby
[03:36:40] duderonomy: has joined #ruby
[03:42:20] rindolf: has joined #ruby
[03:45:18] havenwood: rindolf: hi
[03:49:20] rindolf: havenwood: sup?
[04:01:49] tpanarch1st: has joined #ruby
[04:10:16] davor: has joined #ruby
[04:12:31] jcalla: has joined #ruby
[04:19:22] tdy: has joined #ruby
[04:20:19] orbyt_: has joined #ruby
[04:39:12] fphilipe_: has joined #ruby
[04:41:52] havenwood: rindolf: Ruby!
[04:42:48] rindolf: havenwood: ah
[04:43:33] havenwood: rindolf: I've been enjoying playing with the Async gems.
[04:47:27] jenrzzz: has joined #ruby
[04:48:14] englishm: has joined #ruby
[04:59:55] rindolf: havenwood: nice
[05:11:52] sameerynho: has joined #ruby
[05:14:47] quazimodo: has joined #ruby
[05:24:04] reber: has joined #ruby
[05:24:29] p3ps1: has joined #ruby
[05:25:56] quazimodo: has joined #ruby
[05:27:18] alem0lars: has joined #ruby
[05:40:18] oetjenj: has joined #ruby
[05:41:07] dellavg: has joined #ruby
[05:47:14] quazimodo: has joined #ruby
[05:58:10] fphilipe_: has joined #ruby
[06:07:20] schne1der: has joined #ruby
[06:13:05] oetjenj: has joined #ruby
[06:14:20] oetjenj: has joined #ruby
[06:15:14] oetjenj: has joined #ruby
[06:16:04] oetjenj: has joined #ruby
[06:16:45] oetjenj: has joined #ruby
[06:17:37] oetjenj: has joined #ruby
[06:18:05] oetjenj: has joined #ruby
[06:18:59] oetjenj: has joined #ruby
[06:19:44] oetjenj: has joined #ruby
[06:20:31] oetjenj: has joined #ruby
[06:21:14] oetjenj: has joined #ruby
[06:22:05] oetjenj: has joined #ruby
[06:22:55] oetjenj: has joined #ruby
[06:23:43] oetjenj: has joined #ruby
[06:24:26] oetjenj: has joined #ruby
[06:25:09] oetjenj: has joined #ruby
[06:26:00] oetjenj: has joined #ruby
[06:26:50] oetjenj: has joined #ruby
[06:35:50] mb^: has joined #ruby
[06:46:04] quazimodo: has joined #ruby
[06:46:12] lxsameer: has joined #ruby
[06:47:20] andikr: has joined #ruby
[06:50:58] jenrzzz: has joined #ruby
[06:53:40] schne1der: has joined #ruby
[07:12:53] leftylink: one would hope I do not have to reach for such old versions of ruby, but if I wanted to know which version of ruby made Array#shift and Array#unshift amortised constant...
[07:13:05] aupadhye: has joined #ruby
[07:13:11] leftylink: looks like it was 2.0. okay. I am pretty sure nobody will make me use a ruby that is older than that
[07:13:14] leftylink: or even close
[07:19:16] havenwood: leftylink: Those were in Ruby long before 2.0.
[07:19:22] za1b1tsu: has joined #ruby
[07:19:30] havenwood: leftylink: Are you thinking Array#prepend and Array#append?
[07:19:51] leftylink: very specifically shift and unshift
[07:19:52] ytti: i think he implies there was implementation change which made them cheaper
[07:19:54] leftylink: as https://stackoverflow.com/questions/8353026/what-is-the-run-time-of-shift-unshift-in-a-ruby-array/47683752#47683752 states
[07:20:36] havenwood: ytti: ah, right!
[07:20:59] havenwood: leftylink: I see what you were saying. It's late here and the end of your sentence didn't register.
[07:25:51] jefffrails35: has joined #ruby
[07:27:31] drnerdius: has joined #ruby
[07:29:21] corellian: has joined #ruby
[07:31:26] jenrzzz: has joined #ruby
[07:32:29] tuor: has joined #ruby
[07:35:00] deepreds1: has joined #ruby
[07:36:50] ramfjord: has joined #ruby
[07:40:47] TomyWork: has joined #ruby
[07:49:34] nerdius: has joined #ruby
[08:00:29] drnerdius: has joined #ruby
[08:05:24] drnerdius: has joined #ruby
[08:06:31] LightStalker: has joined #ruby
[08:10:53] alem0lars: has joined #ruby
[08:12:27] jenrzzz: has joined #ruby
[08:21:15] chalkmonster: has joined #ruby
[08:27:25] drnerdius: has joined #ruby
[08:30:36] drnerdius: has joined #ruby
[08:33:30] BH23: has joined #ruby
[08:39:26] ur5us: has joined #ruby
[08:44:11] drnerdius: has joined #ruby
[08:45:12] ThisGeekChick: has joined #ruby
[08:46:06] drnerdius: has joined #ruby
[08:49:40] suukim: has joined #ruby
[08:51:50] drnerdius: has joined #ruby
[08:52:20] ThisGeekChick: has left #ruby: ()
[08:52:30] deepreds1: has joined #ruby
[08:58:46] jefffrails35: has joined #ruby
[09:02:17] jenrzzz: has joined #ruby
[09:07:29] drnerdius: has joined #ruby
[09:07:35] ur5us: has joined #ruby
[09:20:01] ur5us: has joined #ruby
[09:20:59] ur5us: has joined #ruby
[09:21:11] alem0lars: has joined #ruby
[09:28:01] Nicmavr: has joined #ruby
[09:28:26] jenrzzz: has joined #ruby
[09:42:37] Swyper: has joined #ruby
[09:52:37] drnerdius: has joined #ruby
[09:53:17] Ropeney: has joined #ruby
[09:54:50] tpanarch1st: has joined #ruby
[09:55:01] bruce_lee: has joined #ruby
[09:55:01] bruce_lee: has joined #ruby
[09:57:39] txdv: has joined #ruby
[09:59:16] jenrzzz: has joined #ruby
[10:01:17] sagax: has joined #ruby
[10:02:00] drnerdius: has joined #ruby
[10:02:39] drnerdius: has joined #ruby
[10:10:10] codefriar: has joined #ruby
[10:13:47] drnerdius: has joined #ruby
[10:33:50] tpanarch1st_: has joined #ruby
[10:36:09] chalkmonster: has joined #ruby
[10:40:18] AJA4350: has joined #ruby
[10:40:39] al2o3-cr: has joined #ruby
[10:53:58] howdoi: has joined #ruby
[10:58:20] jenrzzz: has joined #ruby
[11:07:40] drnerdius: has joined #ruby
[11:13:50] jcalla: has joined #ruby
[11:14:13] Sylario: has joined #ruby
[11:16:49] codefriar: has joined #ruby
[11:17:04] facest: has joined #ruby
[11:17:39] alem0lars_: has joined #ruby
[11:18:49] cisco: has joined #ruby
[11:19:20] TheBetrayer: has joined #ruby
[11:19:38] mahlon: has joined #ruby
[11:22:09] kapilp: has joined #ruby
[11:22:50] aupadhye: has joined #ruby
[11:32:52] za1b1tsu: has joined #ruby
[11:36:33] GodFather_: has joined #ruby
[11:36:36] GodFather: has joined #ruby
[11:46:33] cd: has joined #ruby
[11:47:57] AJA4350: has joined #ruby
[11:51:29] gnc: has joined #ruby
[11:54:25] drincruz: has joined #ruby
[11:54:34] yalue: has joined #ruby
[11:54:57] sandstrom: has joined #ruby
[12:00:49] gnc: has joined #ruby
[12:00:52] gnc: hello all
[12:01:13] gnc: ACTION flies away
[12:02:27] prestorium: has joined #ruby
[12:05:40] jenrzzz: has joined #ruby
[12:11:52] prestorium: has joined #ruby
[12:12:41] chalkmonster: has joined #ruby
[12:12:47] gnc: has left #ruby: ()
[12:22:20] beanie__: has joined #ruby
[12:27:16] griffindy: has joined #ruby
[12:28:23] IGnorAND: has joined #ruby
[12:29:20] djdduty: has joined #ruby
[12:29:57] prestori_: has joined #ruby
[12:32:44] prestorium: has joined #ruby
[12:33:15] jinie: has joined #ruby
[12:34:05] prestori_: has joined #ruby
[12:36:03] tpanarch1st_: has joined #ruby
[12:37:50] chalkmonster: has joined #ruby
[12:38:53] cako: has joined #ruby
[12:42:07] prestorium: has joined #ruby
[12:49:17] prestori_: has joined #ruby
[12:51:11] matheusmoreira: has joined #ruby
[12:59:08] prestorium: has joined #ruby
[13:01:04] involans: has joined #ruby
[13:01:05] bmurt: has joined #ruby
[13:02:26] fphilipe_: has joined #ruby
[13:04:54] donofrio: has joined #ruby
[13:08:44] jenrzzz: has joined #ruby
[13:13:15] AJA4350: has joined #ruby
[13:22:01] greengriminal: has joined #ruby
[13:23:35] CCDelivery: has joined #ruby
[13:23:47] fphilipe_: has joined #ruby
[13:23:49] bmurt: has joined #ruby
[13:35:38] lucasb: has joined #ruby
[13:36:14] ascarter: has joined #ruby
[13:36:58] fphilipe_: has joined #ruby
[13:39:58] galaxie: has joined #ruby
[13:44:36] jcalla: has joined #ruby
[13:51:05] Dysp: has joined #ruby
[13:55:28] chalkmonster: has joined #ruby
[13:55:43] jefffrails35: has joined #ruby
[14:00:58] keden: has joined #ruby
[14:03:15] fphilipe_: has joined #ruby
[14:15:11] _falsebay_: has joined #ruby
[14:16:36] jenrzzz: has joined #ruby
[14:16:59] elphe: has joined #ruby
[14:17:51] cisco: has joined #ruby
[14:25:15] AJA4350: has joined #ruby
[14:28:21] za1b1tsu: has joined #ruby
[14:39:21] duderonomy: has joined #ruby
[14:40:55] Dbugger: has joined #ruby
[14:45:49] chunkypuffs: has joined #ruby
[14:48:31] r29v: has joined #ruby
[14:52:13] BH23: has joined #ruby
[14:53:22] beanie__: has joined #ruby
[14:54:53] a1ph4g33k: has joined #ruby
[15:04:00] aupadhye: has joined #ruby
[15:04:28] yalue_: has joined #ruby
[15:06:40] wildtrees: has joined #ruby
[15:13:36] r29v: has joined #ruby
[15:21:22] _joes_: has joined #ruby
[15:22:33] rippa: has joined #ruby
[15:25:48] stooj: has joined #ruby
[15:25:49] ramfjord: has joined #ruby
[15:25:55] Huck777: has joined #ruby
[15:26:13] jenrzzz: has joined #ruby
[15:28:27] duderonomy: has joined #ruby
[15:28:28] sh7d: has joined #ruby
[15:32:09] adam12: What's everyone using for test coverage currently? Lots of new ones out that look great: covered and deep-cover, and I'm sure there are more.
[15:35:37] AJA4350: has joined #ruby
[15:46:26] cthulchu: has joined #ruby
[15:47:21] bmurt: has joined #ruby
[15:52:00] impermanence: has joined #ruby
[15:53:57] phaul: I did try deep cover and loved it.
[15:54:44] adam12: phaul: Trying it now. Covered errored out and I don't have time to debug right now.
[15:57:32] adam12: It crashes too. Oh well.
[15:58:26] adam12: covered complains about Ruby version. I think it's an issue with the rubyparser it imports expecting 2.5.5 and I'm forced to be 2.5.3 on this project.
[15:58:27] tdy: has joined #ruby
[15:58:42] adam12: deep-cover expects sass as a dependency but doesn't seem to list it, or has some other issue.
[15:59:09] adam12: Back to simplecov for now.
[15:59:46] FastJack: has joined #ruby
[16:00:29] nerdius: has joined #ruby
[16:00:46] phaul: deep cover can be used as a refactor tool, I tried it with the gilded rose kata, it can simply drive your TDD eliminating each codepath that wasn't exercised
[16:00:57] phaul: But you need branch coverage to do that..
[16:01:15] adam12: I'm gonna dig into it a bit more when I have some free time.
[16:01:54] phaul: btw the bot also has it but I haven't run it for ages.
[16:03:26] phaul: still works. ruby 2.6.3 though
[16:05:29] prestorium: has joined #ruby
[16:05:41] ramfjord: has joined #ruby
[16:07:33] dostoyevsky: has joined #ruby
[16:09:59] yalue_: has joined #ruby
[16:11:52] __yalue: has joined #ruby
[16:22:13] involans: has joined #ruby
[16:24:29] d0liver: has joined #ruby
[16:24:36] howdoi: has joined #ruby
[16:26:05] schne1der: has joined #ruby
[16:27:05] Sylario: has joined #ruby
[16:27:06] wbnns: has joined #ruby
[16:27:54] afisher: has joined #ruby
[16:27:56] kyrylo: has joined #ruby
[16:28:11] Ryzokuken: has joined #ruby
[16:28:24] sparch: has joined #ruby
[16:28:25] sh7d: has joined #ruby
[16:28:28] d0liver: has joined #ruby
[16:28:35] afisher: has joined #ruby
[16:33:22] havenwood: vcavallo: hi
[16:34:04] jenrzzz: has joined #ruby
[16:35:23] orbyt_: has joined #ruby
[16:36:22] sparch: has joined #ruby
[16:38:02] ctp: has joined #ruby
[16:38:42] matti: has joined #ruby
[16:39:04] Sylario: has joined #ruby
[16:40:13] Ryzokuken: has joined #ruby
[16:40:30] afisher: has joined #ruby
[16:40:57] matti: has joined #ruby
[16:41:14] Sylario: has joined #ruby
[16:41:37] grilix: has joined #ruby
[16:42:24] Ryzokuken: has joined #ruby
[16:42:27] jenrzzz: has joined #ruby
[16:43:09] matti: has joined #ruby
[16:43:38] bmurt: has joined #ruby
[16:43:41] Sylario: has joined #ruby
[16:45:50] Sylario: has joined #ruby
[16:46:06] Ryzokuken: has joined #ruby
[16:46:40] matti: has joined #ruby
[16:49:33] duderonomy: has joined #ruby
[16:57:12] yalue: has joined #ruby
[16:57:13] vcavallo: haha hi havenwood. i was testing soemthing and this happened to be the first channel i saw
[16:57:17] vcavallo: thanks though :
[16:57:18] drincruz: has joined #ruby
[16:57:29] havenwood: vcavallo: yell if you have any Ruby to talk about!
[16:58:21] vcavallo: always. ruby all day
[16:58:50] sh7d: has joined #ruby
[16:59:31] ascarter: has joined #ruby
[17:01:09] ramfjord: has joined #ruby
[17:02:59] drincruz_: has joined #ruby
[17:04:07] duderonomy: has joined #ruby
[17:09:59] jenrzzz: has joined #ruby
[17:11:55] ellcs: has joined #ruby
[17:14:59] stryek: has joined #ruby
[17:18:05] gix: has joined #ruby
[17:18:33] brool: has joined #ruby
[17:18:57] akem-hp: has joined #ruby
[17:20:31] mwlang: has joined #ruby
[17:22:09] mwlang: are there any jekyll plugins that change the way _posts folder can be laid out? I’d rather not have all articles flat in one folder and starting with YEAR-MM-DAY-post-name-here, but not quite sure how to go about changing up that default behavior.
[17:26:56] ramfjord: has joined #ruby
[17:28:08] code_zombie: has joined #ruby
[17:29:43] oetjenj: has joined #ruby
[17:33:53] IGnorAND: has joined #ruby
[17:40:27] fphilipe_: has joined #ruby
[17:57:40] ellcs: has joined #ruby
[18:02:45] r29v: has joined #ruby
[18:04:06] Fr4n: has joined #ruby
[18:16:47] involans: has joined #ruby
[18:21:28] mwlang: wow, never seen a group of developers so quiet! Did everyone move over to discord or gitter or something?
[18:21:40] adam12: mwlang: Quiet this week I've noticed.
[18:22:05] mwlang: week before school starts back in USA…
[18:22:23] adam12: mwlang: Interesting. Didn't know that. In Canada they go back first week of Sept.
[18:26:41] havenwood: Everyone seems to be on vacation. :)
[18:33:07] involans: has joined #ruby
[18:35:41] codefriar: has joined #ruby
[18:36:31] baweaver: mwlang: preparing another lemur talk
[18:36:35] baweaver: so rather busy with that.
[18:36:35] mochiyoda: has joined #ruby
[18:37:02] chalkmonster: has joined #ruby
[18:40:03] Azure: has joined #ruby
[18:40:52] mwlang: baweaver: I’ve seen your tweeting about those lemurs. Definitely a lot of work on your part, but it sure looks like fun from the outside looking in.
[18:48:41] ua: has joined #ruby
[18:53:09] adam12: baweaver: Where's the next lemur talk scheduled?
[19:08:34] graft: has joined #ruby
[19:08:57] graft: what is the best way to turn 'true', 'false' into true, false?
[19:10:21] jenrzzz: has joined #ruby
[19:12:37] paraxial2: has joined #ruby
[19:12:55] prestorium: has joined #ruby
[19:13:09] mwlang: graft: within a framework or just straight up ruby?
[19:13:30] deepreds1: has joined #ruby
[19:13:43] Ober: has joined #ruby
[19:15:39] leftylink: I think the question has to specify what its behaviour should be on inputs other than 'true' or 'false'. if the conversion can do whatever it wants on other inputs and only needs to convert 'true' and 'false' then I'd too easily suggest something like `s == 'true'` or `s[0] == ?t`
[19:15:48] sh7d: graft, https://pastebin.com/HtAr9qU5
[19:15:48] ruby[bot]: sh7d: 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
[19:15:57] sandstrom: has joined #ruby
[19:17:01] jenrzzz: has joined #ruby
[19:17:05] sh7d: feel free to tweak its behavior when string its not 'false' or 'true'
[19:17:12] sh7d: ex return nil
[19:18:12] mwlang: I typically test for truthy and anything else is falsey. Something like: ['t', 'T', '1', "true", "TRUE", "True", "on", "yes"].all?{|s| s =~ /^t|true|on|yes|1$/i}
[19:20:27] paraxial2: has joined #ruby
[19:21:55] sh7d: or do it in TRUE OOP WAY
[19:21:57] sh7d: https://pastebin.com/V9hmmY6T
[19:21:57] ruby[bot]: sh7d: as I told you already, please use https://gist.github.com
[19:22:28] sh7d: like real men :P
[19:22:59] sh7d: aaar, i fucked this
[19:24:38] sh7d: https://gist.github.com/sh7d/70f4130f6b21f52a018b6eb3e68c2d4c
[19:24:44] sh7d: something like this
[19:24:50] sh7d: real oop way :P
[19:25:09] deepredsky: has joined #ruby
[19:26:23] sh7d: TrueOrFalseString.new(le_string).to_bool
[19:32:07] sameerynho: has joined #ruby
[19:49:34] kyrylo: has joined #ruby
[19:53:13] phaul: sh7d: you don't have to be obscene, on the techniqual side having String as superclass is hardly OO
[19:53:29] phaul: best practices
[19:56:02] phaul: a good argument against it is: TrueOrFalseString.new('true') + ' and not true or false any more'
[19:58:44] jenrzzz: has joined #ruby
[20:08:18] Nicmavr: has joined #ruby
[20:08:39] baweaver: &>> require 'set'; class String; TRUTHY = Set.new('true', 't') def to_bool; TRUTHY.include?(self) end; end; 'true'.to_bool
[20:08:41] rubydoc: stderr: -e:2: syntax error, unexpected def, expecting end (https://carc.in/#/r/7bqa)
[20:08:50] baweaver: &>> require 'set'; class String; TRUTHY = Set.new('true', 't'); def to_bool; TRUTHY.include?(self) end; end; 'true'.to_bool
[20:08:51] rubydoc: stderr: /usr/lib/ruby/2.6.0/set.rb:93:in `initialize': wrong number of arguments (given 2, expected 0..1) (ArgumentError) (https://carc.in/#/r/7bqb)
[20:09:07] baweaver: &>> require 'set'; class String; TRUTHY = Set.new(['true', 't']); def to_bool; TRUTHY.include?(self) end; end; 'true'.to_bool
[20:09:07] rubydoc: # => true (https://carc.in/#/r/7bqc)
[20:09:10] baweaver: There we go
[20:09:29] baweaver: Really tempted to try and get that into stdlib
[20:09:42] baweaver: Though it'd start a crap storm around 0.to_bool
[20:09:48] baweaver: especially implicits
[20:12:30] prestorium: has joined #ruby
[20:17:14] sh7d: phaul, it was ironic :P
[20:18:32] arup_r: has joined #ruby
[20:26:10] involans: has joined #ruby
[20:29:52] fphilipe_: has joined #ruby
[20:30:28] hutch: has joined #ruby
[20:36:24] ellcs: has joined #ruby
[20:38:03] greengriminal: has joined #ruby
[21:01:42] vcavallo: it is quiet today..
[21:02:32] fphilipe_: has joined #ruby
[21:05:21] phaul: https://www.reddit.com/r/ruby/comments/cjk8e1/undeprecate_flipflop/
[21:06:01] prestorium: has joined #ruby
[21:07:59] Eiam: has joined #ruby
[21:11:19] Sylario: has joined #ruby
[21:11:25] cako: has joined #ruby
[21:13:01] afisher: has joined #ruby
[21:15:04] troulouliou_dev: has joined #ruby
[21:16:07] involans: has joined #ruby
[21:18:54] za1b1tsu: has joined #ruby
[21:20:04] deepredsky: has joined #ruby
[21:30:29] Technodrome: has joined #ruby
[21:38:32] ur5us: has joined #ruby
[21:40:17] fphilipe_: has joined #ruby
[21:42:08] prestorium: has joined #ruby
[21:42:26] nowhereman: has joined #ruby
[21:59:52] prestorium: has joined #ruby
[22:02:29] involans_: has joined #ruby
[22:05:10] cthulchu_: has joined #ruby
[22:06:01] bmurt: has joined #ruby
[22:07:00] GiuseppeP: has joined #ruby
[22:07:18] GiuseppeP: guys where do i start RoR ?
[22:08:05] GiuseppeP: helllo all, guys do u have some good books for crypto ?
[22:08:47] havenwood: giuseppe_: The Rails guides are a great start.
[22:09:32] GiuseppeP: okok thanks havenwood
[22:11:18] prestorium: has joined #ruby
[22:12:27] evdubs: has joined #ruby
[22:14:24] cthulchu: has joined #ruby
[22:21:18] involans: has joined #ruby
[22:23:17] involans: has joined #ruby
[22:27:27] fphilipe_: has joined #ruby
[22:31:04] ramfjord: has joined #ruby
[22:36:31] bmurt: has joined #ruby
[22:38:54] teardown: has joined #ruby
[22:40:02] involans: has joined #ruby
[22:42:04] x86sk: has joined #ruby
[22:42:51] prestorium: has joined #ruby
[22:50:13] MuffinPimp: has joined #ruby
[22:59:05] orbyt_: has joined #ruby
[22:59:57] cako: has joined #ruby
[23:00:05] jtperreault: has joined #ruby
[23:09:32] MuffinPimp: has joined #ruby
[23:09:52] pebble2016: has joined #ruby
[23:12:11] mwlang: crypto as in cyprography? or as in cryptocurrency?
[23:13:57] giuseppe1: has joined #ruby
[23:14:10] giuseppe1: sorry mistook terminal
[23:24:28] involans: has joined #ruby
[23:28:21] IGnorAND: has joined #ruby
[23:37:58] prestorium: has joined #ruby
[23:43:49] involans_: has joined #ruby
[23:52:58] beanie__: has joined #ruby
[23:59:23] b0nn: has joined #ruby