« Back to channel list

#ruby - 11 April 2018

« Back 1 day Forward 1 day »
[00:00:47] al2o3-cr: what do you practice now?
[00:01:34] al2o3-cr: dynamic, compiled or bare metal?
[00:02:25] Sar_Sa: and started with ruby
[00:03:00] al2o3-cr: you started with ruby?
[00:04:22] al2o3-cr: and propelled your way to C. is that correct?
[00:05:34] Sar_Sa: no no I started with C 5 years ago, now I learning ruby
[00:05:41] Sar_Sa: *I'm learning
[00:06:01] al2o3-cr: Sar_Sa: you're in my gang now ;)
[00:06:14] Sar_Sa: hehehe yea
[00:07:06] al2o3-cr: Sar_Sa: that's it, no going back now ;P
[00:07:22] lelliott: has joined #ruby
[00:07:23] Sar_Sa: I now haha
[00:07:42] al2o3-cr: we'll make you a ruby super star!
[00:07:44] workmad3: has joined #ruby
[00:07:56] Janky: can irb display unicode characters?
[00:07:57] Sar_Sa: I hope so, you did it well today
[00:08:08] Sar_Sa: and really aprecita
[00:08:16] Sar_Sa: *apreciate
[00:08:18] al2o3-cr: Janky: depends, don't get a font like mine.
[00:08:33] al2o3-cr: Sar_Sa: no props pal.
[00:08:46] Janky: I'm just trying to display latin text
[00:08:51] Janky: i.e. māgnus
[00:09:07] al2o3-cr: Janky: get a font that supports it then.
[00:11:23] al2o3-cr: @łe¶ŧ←↓→øþæßðđŋħł«»¢“”nµ
[00:12:06] amr: has joined #ruby
[00:13:55] al2o3-cr: Janky: printenv LANG
[00:15:11] Sar_Sa: ciao, thanks al2o3-cr :)
[00:15:28] al2o3-cr: Sar_Sa: italian?
[00:15:58] al2o3-cr: don't leave
[00:16:03] Janky: that would work if I were using nix
[00:16:27] al2o3-cr: i've many recipies i'd like to ask (namely carbonara)
[00:17:23] al2o3-cr: Janky: is it windows then idk, sorry dude. maybe others can though.
[00:17:36] Sar_Sa: haha Spaghetti Carbonara is nice
[00:18:18] al2o3-cr: ACTION shame
[00:19:05] al2o3-cr: Janky: what OS is it?
[00:20:05] al2o3-cr: Janky: windows 10?
[00:20:30] bmurt: has joined #ruby
[00:21:11] al2o3-cr: Janky: has 7 got WSL?
[00:21:27] atchoum: has joined #ruby
[00:21:43] Janky: think they brough that around in 10
[00:22:00] guacamole: has joined #ruby
[00:22:01] guacamole: has joined #ruby
[00:22:09] beremenushka3: has joined #ruby
[00:22:09] al2o3-cr: Janky: is this personal?
[00:22:28] al2o3-cr: or business?
[00:24:17] al2o3-cr: what does irb your encoding is?
[00:25:19] al2o3-cr: Encoding.default_external
[00:26:31] Janky: Windows-1252
[00:28:04] al2o3-cr: Janky: change your encoding to LATIN-* whatever then
[00:28:37] Psybur: has joined #ruby
[00:29:19] minimalism: has joined #ruby
[00:29:53] Janky: think it's Latin-1
[00:29:54] ur5us: has joined #ruby
[00:30:32] al2o3-cr: yeah it's seems it's not supported.
[00:31:40] thinkpad: has joined #ruby
[00:32:40] al2o3-cr: Janky: try `Encoding.default_external = Encoding::UTF_8`
[00:32:52] erlend: has joined #ruby
[00:34:45] Janky: that does the job
[00:35:38] Janky: looks like I can set the encoding for the individual strings in my script
[00:35:51] al2o3-cr: Janky: smashing
[00:36:50] al2o3-cr: Janky: yeah, if it doesn't force it to.
[00:38:32] opekktar_: has joined #ruby
[00:39:04] rivalomega: has joined #ruby
[00:42:05] al2o3-cr: in the desert you can't remebmer your name.
[00:45:25] duderonomy: has joined #ruby
[00:46:54] anisha: has joined #ruby
[00:48:19] konsolebox: has joined #ruby
[00:51:54] orbyt_: has joined #ruby
[00:53:31] cagomez: has joined #ruby
[00:59:28] griffindy: has joined #ruby
[01:02:33] al2o3-cr: neil young is the bomb.
[01:03:29] bmurt: has joined #ruby
[01:05:16] al2o3-cr: "old man" and "heart of gold"
[01:06:45] huyderman: has joined #ruby
[01:10:45] mikhael_k33hl: has joined #ruby
[01:13:54] mikhael_k33hl: How do I make a subclass inherit a class instance variable? https://gist.github.com/marzdgzmn/eba98eeeaff63e97779c49d0e7ebd28d
[01:21:06] s2013: has joined #ruby
[01:21:49] sungard: has joined #ruby
[01:22:04] NorthLumberJack: has joined #ruby
[01:22:15] edwardly: has joined #ruby
[01:22:15] edwardly: has joined #ruby
[01:22:39] sungard: I'm trying to use a start and an end date and loop through them, but only once for each month, I found how to do by day, but ideally I want a method that will be start_date..end_date and then dynamically run once per month
[01:26:18] gizmore|2: has joined #ruby
[01:26:53] yxhuvud: has joined #ruby
[01:29:49] orbyt_: has joined #ruby
[01:37:55] Psybur: has joined #ruby
[01:38:45] arescorpio: has joined #ruby
[01:44:43] sameerynho: has joined #ruby
[01:47:40] yxhuvud: has joined #ruby
[01:49:33] memo1: has joined #ruby
[01:56:34] tdy: has joined #ruby
[01:56:41] amclain: has joined #ruby
[01:57:39] matled: has joined #ruby
[01:58:01] yxhuvud: has joined #ruby
[01:59:05] nfsnobody: has joined #ruby
[01:59:36] dinfuehr: has joined #ruby
[02:01:46] memo1: has joined #ruby
[02:06:06] ur5us_: has joined #ruby
[02:06:37] cam27: has joined #ruby
[02:07:12] workmad3: has joined #ruby
[02:14:55] mikhael_k33hl: How do I make my app wait for all threads to finish before terminating? https://gist.github.com/marzdgzmn/6d15987e51c04e41b8b5885eaf69866a
[02:15:17] n0m4d1c_: has joined #ruby
[02:16:36] ur5us: has joined #ruby
[02:20:14] jottr: has joined #ruby
[02:20:53] icarus: has joined #ruby
[02:24:42] pd2000: has joined #ruby
[02:29:41] pastorinni: has joined #ruby
[02:29:45] ciscam: has joined #ruby
[02:31:03] gigetoo: has joined #ruby
[02:31:32] blackchalk: has joined #ruby
[02:31:33] blackchalk: has joined #ruby
[02:37:28] mniip: has joined #ruby
[02:41:34] erlend: has joined #ruby
[02:41:35] reaVer: has joined #ruby
[02:42:07] lelliott: has joined #ruby
[02:43:37] vutral|kali: has joined #ruby
[02:43:38] vutral|kali: has joined #ruby
[02:48:50] Azure: has joined #ruby
[02:50:55] ivanskie: has joined #ruby
[02:53:08] alfiemax: has joined #ruby
[02:54:23] darkhanb: has joined #ruby
[02:57:42] yxhuvud: has joined #ruby
[02:58:14] sanscoeur: has joined #ruby
[03:00:10] cadillac_: has joined #ruby
[03:01:54] raatiniemi: has joined #ruby
[03:04:52] lelliott: has joined #ruby
[03:11:14] raatiniemi_: has joined #ruby
[03:12:34] kapil___: has joined #ruby
[03:21:09] ur5us_: has joined #ruby
[03:21:37] Omnilord: has joined #ruby
[03:22:03] nadir: has joined #ruby
[03:22:56] blackchalk: has joined #ruby
[03:22:57] blackchalk: has joined #ruby
[03:24:21] ur5us: has joined #ruby
[03:25:08] gix: has joined #ruby
[03:25:40] blackchalk_: has joined #ruby
[03:34:38] yxhuvud: has joined #ruby
[03:36:19] tdy1: has joined #ruby
[03:37:20] gigetoo: has joined #ruby
[03:38:08] ur5us: has joined #ruby
[03:39:51] cschneid_: has joined #ruby
[03:41:01] raatiniemi: has joined #ruby
[03:42:32] jordanm: has joined #ruby
[03:46:47] blackchalk_: has joined #ruby
[03:58:47] anisha: has joined #ruby
[04:02:30] Yzguy: has joined #ruby
[04:06:36] workmad3: has joined #ruby
[04:07:46] ur5us: has joined #ruby
[04:07:48] govg: has joined #ruby
[04:09:10] Ryzokuken: has joined #ruby
[04:15:09] kt: has joined #ruby
[04:37:11] gigetoo: has joined #ruby
[04:39:23] ciscam: has joined #ruby
[04:43:41] KeyJoo: has joined #ruby
[04:44:40] KeyJoo: has joined #ruby
[04:45:07] jamesaxl: has joined #ruby
[04:45:11] cschneid_: has joined #ruby
[04:50:17] erlend: has joined #ruby
[05:04:54] lelliott: has joined #ruby
[05:07:44] hkais: has joined #ruby
[05:09:00] jenrzzz: has joined #ruby
[05:09:00] jenrzzz: has joined #ruby
[05:17:10] sauvin: has joined #ruby
[05:20:54] reber: has joined #ruby
[05:28:15] Azure|dc: has joined #ruby
[05:32:24] kurko_: has joined #ruby
[05:33:04] jottr: has joined #ruby
[05:34:18] cadillac_: has joined #ruby
[05:35:07] n008f4g_: has joined #ruby
[05:36:16] sidx64: has joined #ruby
[05:43:42] arquebus: has joined #ruby
[05:44:44] alfiemax: has joined #ruby
[05:50:21] aupadhye: has joined #ruby
[05:50:50] dr3wo: has joined #ruby
[05:52:14] anisha: has joined #ruby
[06:02:09] tvw: has joined #ruby
[06:02:26] dionysus69: has joined #ruby
[06:04:07] s2013: has joined #ruby
[06:05:11] lelliott: has joined #ruby
[06:06:01] workmad3: has joined #ruby
[06:11:19] jottr: has joined #ruby
[06:12:39] guacamole: has joined #ruby
[06:12:40] guacamole: has joined #ruby
[06:17:27] apeiros: has joined #ruby
[06:20:48] gigetoo: has joined #ruby
[06:24:54] anisha: has joined #ruby
[06:26:40] venmx: has joined #ruby
[06:30:32] mtkd: has joined #ruby
[06:33:52] pwnd_nsfw: has joined #ruby
[06:36:06] andikr: has joined #ruby
[06:39:08] sidx64_: has joined #ruby
[06:40:19] Yxhvd: has joined #ruby
[06:42:48] yxhuvud: has joined #ruby
[06:43:53] sidx64: has joined #ruby
[06:45:52] claudiuinberlin: has joined #ruby
[06:55:07] gigetoo: has joined #ruby
[06:56:09] jottr: has joined #ruby
[06:56:41] amar: has joined #ruby
[06:58:29] helpa: has joined #ruby
[06:59:07] helpa: has joined #ruby
[07:03:27] TomyWork: has joined #ruby
[07:04:36] tAn: has joined #ruby
[07:05:07] phaul: has joined #ruby
[07:07:44] ivanskie: has joined #ruby
[07:17:33] clemens3: has joined #ruby
[07:20:06] Azure: has joined #ruby
[07:20:16] gigetoo: has joined #ruby
[07:21:58] burgestrand: has joined #ruby
[07:28:49] amar: has joined #ruby
[07:32:33] jottr: has joined #ruby
[07:33:34] amar: has joined #ruby
[07:34:51] venmx: has joined #ruby
[07:35:19] CrazyEddy: has joined #ruby
[07:37:46] inerthia: has joined #ruby
[07:43:28] marr: has joined #ruby
[07:48:03] gigetoo: has joined #ruby
[07:48:27] mikecmpbll: has joined #ruby
[08:03:09] tomphp: has joined #ruby
[08:05:24] workmad3: has joined #ruby
[08:05:40] VladGh: has joined #ruby
[08:12:48] venmx: has joined #ruby
[08:14:40] qba73: has joined #ruby
[08:16:11] qba73: has joined #ruby
[08:20:10] RougeR: has joined #ruby
[08:22:59] mtkd: has joined #ruby
[08:30:16] guille-moe: has joined #ruby
[08:31:27] amar: has joined #ruby
[08:31:30] anisha: has joined #ruby
[08:34:10] SaHar_: has joined #ruby
[08:41:11] SaHar_: how can I print a string in hex format?
[08:41:37] rabajaj: has joined #ruby
[08:43:54] phaul: >> "SaHar_".chars.map {|c| c.ord.to_s(16) }.join('_')
[08:43:55] ruby[bot]: phaul: # => "53_61_48_61_72_5f" (https://eval.in/987184)
[08:44:54] phaul: SaHar_: is this^ what you wanted?
[08:45:28] SaHar_: phaul: yes that could works for me thank you:)
[08:46:38] havenwood: consider String#bytes for the non-pack version
[08:47:21] havenwood: 'SaHar_'.unpack1('H*') #=> "53614861725f"
[08:48:21] havenwood: >> 'SaHar_'.bytes.map { |byte| byte.to_s 16 }.join
[08:48:22] ruby[bot]: havenwood: # => "53614861725f" (https://eval.in/987186)
[08:48:51] SaHar_: havenwood: to separate with ":" each byte with unpack ?
[08:49:24] alfiemax: has joined #ruby
[08:49:30] phaul: the argument for join is what separates them
[08:49:49] phaul: .join(':')
[08:50:53] dminuoso: SaHar_: You dont print a "string" in hex format. =)
[08:51:04] dminuoso: SaHar_: hexadecimal is just a way of representing *numbers*
[08:51:33] SaHar_: phaul: and with the havenwood solution? 'SaHar_'.unpack('H*').join(':') ?
[08:51:56] phaul: SaHar_: sure
[08:52:18] SaHar_: that gives me "53614861725f"
[08:52:44] phaul: >> 'SaHar_'.unpack('H*').join(':')
[08:52:50] ruby[bot]: phaul: I'm terribly sorry, I could not evaluate your code because of an error: OpenURI::HTTPError:500 Internal Server Error
[08:53:31] dminuoso: SaHar_: ASCII for example is just a particular base 127/255 notation for numbers.
[08:54:12] dminuoso: Where 'A' is just the representation of the number 0x41/0101/65
[08:54:17] phaul: ah, unpack gives back a single string in an array for that.
[08:54:36] dminuoso: SaHar_: So you could say: 'a' == 0x41 == 0101 == 65
[08:54:47] dminuoso: They are just different ways of representing the same numeric information.
[08:55:26] dr3wo: has joined #ruby
[08:56:14] havenwood: SaHar_: What version of Ruby are you on? I was suggesting #unpack1, which was introduced in 2.4.
[08:56:25] ellcs: has joined #ruby
[08:56:30] hkais: has joined #ruby
[08:56:48] dminuoso: For learning I would recommend
[08:56:49] dminuoso: 10:48 havenwood | >> 'SaHar_'.bytes.map { |byte| byte.to_s 16 }.join
[08:56:51] dminuoso: This to be the best solution
[08:57:01] dminuoso: Since it best describes the meaning.
[08:57:18] havenwood: Yeah, the non-regexp solution is often kindest on the reader.
[08:57:40] havenwood: Do you really want?: 'SaHar_'.unpack1('H*').gsub(/(..)(?=.)/, '\1:') #=> "53:61:48:61:72:5f"
[08:58:02] havenwood: And if you're going to do: 'SaHar_'.unpack1('H*').scan(/../).join(':')
[08:58:40] havenwood: You might as well just: 'SaHar_'.bytes.map { |byte| byte.to_s 16 }.join(':')
[08:59:59] dminuoso: toHex = -> n { n.to_s 16 }; 'SaHar_'.bytes.map(&toHex).join(':')
[09:00:05] dminuoso: Readability wins.
[09:00:15] dminuoso: Or maybe even more generally
[09:00:27] dminuoso: toBase = -> b, n { n.to_s 16 }.curry; 'SaHar_'.bytes.map(&toBase(16)).join(':')
[09:00:42] Beams: has joined #ruby
[09:01:21] dminuoso: ACTION stabs havenwood with a stabby lambda
[09:01:21] amar: has joined #ruby
[09:01:47] havenwood: ACTION hides behind an ancient Proc.new
[09:02:12] tbuehlmann: yeah, the last one really isn't kind on the reader anymore
[09:02:22] dminuoso: 'SaHar_'.bytes.map(&toBase(16)).join(':')
[09:02:24] dminuoso: This is not kind?
[09:02:49] tbuehlmann: I'd have to read up on currying again, first
[09:02:59] tbuehlmann: the last part is fine
[09:03:07] dminuoso: tbuehlmann: toBase = -> b { -> n { n.to_s 16 } }
[09:03:08] dminuoso: same thing.
[09:03:25] dminuoso: toBase = -> b { -> n { n.to_s b } }
[09:04:39] foxxx0: has joined #ruby
[09:06:33] cschneid_: has joined #ruby
[09:07:23] dminuoso: I think currying ought to be taught in every beginner Ruby book. Inline anonymous functions are just blergh.
[09:07:44] erlend: has joined #ruby
[09:07:47] dminuoso: Maybe I should propose a change to allow passing procs to map.
[09:07:49] dminuoso: so you could do
[09:07:53] dminuoso: 'SaHar_'.bytes.map(toBase(16)).join(':')
[09:09:12] tbuehlmann: I'm not really using currying and I haven't seen it in code at all, so that's why I'd have to read up on the topic again
[09:10:08] tbuehlmann: and I don't have a problem with inline anonymous functions, so… ¯\_(ツ)_/¯
[09:10:11] dminuoso: tbuehlmann: Idea is: all functions take only one argument. A function taking 2 arguments is considered a function that takes one argument, and returns another function that returns another argument.
[09:10:30] dminuoso: (With some sugary so that you can still apply multiple arguments in one go through those layers)
[09:10:47] dminuoso: So you can partially apply a function by passing less-than-required arguments
[09:10:51] tbuehlmann: I know currying for procs/lambdas, but I'm not used to using it
[09:11:44] dminuoso: tbuehlmann: map(&toBase(16)) lets you express what code means, rather than what it does. With inline functions you constantly shift the focus from "code from an abstract point of view" to "details and semantics"
[09:11:55] tomphp_: has joined #ruby
[09:12:35] dminuoso: items.map(&calculatePrice) is far more telling than items.map { |i| ... }. It's also easier to test :P
[09:13:19] zapata_: has joined #ruby
[09:13:38] tbuehlmann: items.map(&:calculate_price)? :D
[09:15:34] dminuoso: tbuehlmann: Heh. I have actually found arguments for CamelCase :)
[09:15:46] workmad3: has joined #ruby
[09:16:09] tbuehlmann: oh I didn't want to go down that path, but well :D
[09:16:23] dminuoso: Just wanted to see if I could trigger you.
[09:16:34] Ryzokuken: has joined #ruby
[09:18:00] tomphp: has joined #ruby
[09:18:32] dminuoso: 11:13 tbuehlmann | items.map(&:calculate_price)? :D
[09:18:48] dminuoso: But yeah. I'd say its the same thing.
[09:19:30] cabotto: has joined #ruby
[09:19:36] venmx: has joined #ruby
[09:21:49] havenwood: I submit to you the following solution: https://gist.github.com/havenwood/151333b28a1c86d42b3cb8f987282f28
[09:21:58] alfiemax_: has joined #ruby
[09:22:30] Beams: has joined #ruby
[09:22:35] dminuoso: havenwood: A year ago you would have impressed me.
[09:22:45] havenwood: dminuoso: Sometimes a problem just calls for an object oriented z-combinator solution. ¯\_(ツ)_/¯
[09:22:51] raatiniemi: has joined #ruby
[09:23:10] dminuoso: havenwood: I find the naming quite hilarious.
[09:24:53] gigetoo: has joined #ruby
[09:33:03] dminuoso: havenwood: I counter propose https://gist.github.com/dminuoso/6bca360251f85f0f3460f59dab3c2431
[09:34:01] dminuoso: If you hook Proc#[] to do push/enter, then you could do it slightly more elegant
[09:34:08] dminuoso: let me just..
[09:35:26] havenwood: dminuoso: i do like that symmetry
[09:35:43] dminuoso: havenwood: Reload. :)
[09:35:44] headius: has joined #ruby
[09:36:08] havenwood: https://gist.github.com/havenwood/9af042826d7288f52df8da396235951b
[09:36:37] mtkd: has joined #ruby
[09:36:49] dminuoso: havenwood: drop the () for arguments and use [].
[09:36:58] dminuoso: .() is just ugh
[09:37:11] havenwood: it's like a winking sock monkey
[09:37:37] dminuoso: havenwood: Honestly its easier to see if you stare at lambda calculus
[09:38:36] dminuoso: Y g = (λx.g (x x))(λx.g (x x))
[09:38:40] havenwood: dminuoso: yeah, especially when you know what you're reading is lambda calculus the braces have the least noise
[09:38:51] izaac: has joined #ruby
[09:39:30] dminuoso: havenwood: Ive actually seen fix in use sometimes.
[09:39:48] dminuoso: It's somewhat convenient if you need recursion but you are too lazy to write a binding for your function..
[09:39:56] dminuoso: as in "anonymous recursion"
[09:40:18] dminuoso: havenwood: But it really needs `push/eval` to shine
[09:40:43] dminuoso: *push/enter heh
[09:42:33] dminuoso: havenwood: Or maybe this one for ruby
[09:44:16] RougeR: has joined #ruby
[09:44:16] RougeR: has joined #ruby
[09:44:44] blackchalk: has joined #ruby
[09:44:44] blackchalk: has joined #ruby
[09:45:29] dminuoso: Oh actually strike that. Wont work for call-by-value
[09:45:38] Beams: has joined #ruby
[09:50:11] ur5us: has joined #ruby
[09:50:20] marr: has joined #ruby
[09:56:34] dminuoso: havenwood: how do you like this? https://gist.github.com/dminuoso/03ba0b45f4c427648ddf10b668af4e1c
[09:56:39] dminuoso: Screw manually currying procs.
[09:56:42] dminuoso: Too much effort.
[09:57:03] dminuoso: Also note the push/enter kind of magic
[09:57:19] ephemera__: has left #ruby: ()
[09:57:22] dminuoso: so you can do things like -> f { -> g { f + g }}[1,2]
[09:58:17] dminuoso: Without this you go insane writing functional ruby.
[09:58:58] havenwood: dminuoso: mmm, that's interesting!
[10:00:11] drale2k_: has joined #ruby
[10:00:41] havenwood: falling asleep, but i'm curious to play with it with fresh eyes
[10:02:56] apeiros: has joined #ruby
[10:06:39] ciscam: has joined #ruby
[10:08:04] Beams: has joined #ruby
[10:10:47] Radar: has joined #ruby
[10:11:40] ur5us: has joined #ruby
[10:11:49] rabajaj: has joined #ruby
[10:12:41] ferr1: has joined #ruby
[10:15:42] dr3wo: has joined #ruby
[10:19:18] rahul_bajaj: has joined #ruby
[10:23:18] zautomata: has joined #ruby
[10:23:29] rabajaj: has joined #ruby
[10:28:13] SaHar_: dminuoso: havenwood thank you so much
[10:29:04] claudiuinberlin: has joined #ruby
[10:33:29] dminuoso: havenwood: https://gist.github.com/dminuoso/86ed04b5b0f3355a738de0af4c813955 this was the motivation that started this.
[10:33:34] AJA4350: has joined #ruby
[10:33:42] dminuoso: If you comment out line 18, you cant sensibly compose things.
[10:33:50] dminuoso: Because you have to constantly keep track of when a new lambda shell is in front of you
[10:34:08] dminuoso: and I dont want to write: (zipWith * zipWith)[add][arr1, arr2]
[10:36:31] goatish: has joined #ruby
[10:39:45] amatas: has joined #ruby
[10:44:10] ur5us: has joined #ruby
[10:49:41] adlerdias: has joined #ruby
[10:50:38] Beams: has joined #ruby
[10:54:12] zautomata1: has joined #ruby
[10:56:05] mikecmpbll: has joined #ruby
[10:56:21] rabajaj: has joined #ruby
[10:57:53] amatas: has joined #ruby
[10:59:19] Beams: has joined #ruby
[10:59:48] zautomata2: has joined #ruby
[11:00:13] apparition: has joined #ruby
[11:04:51] amar: has joined #ruby
[11:08:11] jeffreylevesque: has joined #ruby
[11:11:21] alfiemax: has joined #ruby
[11:12:33] jottr: has joined #ruby
[11:14:19] c0ncealed1: has joined #ruby
[11:14:49] houhoulis: has joined #ruby
[11:16:25] erlend: has joined #ruby
[11:18:32] mikecmpbll: has joined #ruby
[11:24:22] reber: has joined #ruby
[11:30:04] ur5us: has joined #ruby
[11:33:55] segy: has joined #ruby
[11:36:11] Cavallari: has joined #ruby
[11:37:14] the_drow: has joined #ruby
[11:37:57] the_drow: How do I force bundler to pull a dependency of a dependency from git?
[11:39:13] the_drow: Do I have to fork the dependency and add my gem from git?
[11:41:13] apeiros: you can also explicitly list that sub-dependency in your Gemfile, and specify its source to be git
[11:42:24] the_drow: This is my gemfile http://dpaste.com/31E8S33
[11:42:33] ferr1: has left #ruby: ("WeeChat 2.1")
[11:42:55] despai: has joined #ruby
[11:43:02] the_drow: and this is my lock http://dpaste.com/02RM2AW
[11:43:09] dr3wo: has joined #ruby
[11:43:32] the_drow: I don't know why I can't use what I added in that branch
[11:43:43] the_drow: I'm suspecting the original version was installed as well
[11:43:50] jottr: has joined #ruby
[11:47:09] apeiros: specinfra (~> 2.72) does not match 2.73.3 I'd say (radar correct me if I'm wrong)
[11:47:35] Radar: you're wrong.
[11:47:49] Radar: ~> 2.72 will match any version greater than 2.72, but less than 3.x
[11:47:52] Radar: at least, that's what I think
[11:47:57] Radar: It is getting late here tho
[11:48:18] Stanimir: has joined #ruby
[11:48:32] apeiros: I'm always unsure with spermy version :-/
[11:49:25] apeiros: yeah, I'm indeed wrong. so that's not it.
[11:50:54] ldnunes: has joined #ruby
[11:51:01] the_drow: so what gives?
[11:51:02] tbuehlmann: ~> 2.72 will match any version greater (_or equal_) than […]
[11:51:44] mtkd: has joined #ruby
[11:52:15] apeiros: don't know, sorry the_drow.
[11:56:45] karapetyan: has joined #ruby
[11:59:46] rabajaj: has joined #ruby
[12:03:24] Stanimir: Hello, I'm a new Ruby programmer, coming from PHP. However, I have stumbled some strange errors, while installing my demo application on another PC. For example, when I try to save an object o a database and try to retirve it Ruby throws an exception : undefined method `each' for nil:NilClass
[12:03:29] Stanimir: Code: https://pastebin.com/UPQiCuvP
[12:03:30] ruby[bot]: Stanimir: 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
[12:03:41] synthroid: has joined #ruby
[12:04:03] Beams: has joined #ruby
[12:04:17] Stanimir: I'm on ruby 2.4.1 and ROR 5.1.6
[12:04:59] tbuehlmann: Stanimir: can we move this to #RubyOnRails?
[12:10:51] duderonomy: has joined #ruby
[12:17:21] jottr: has joined #ruby
[12:18:16] hort: has joined #ruby
[12:22:29] Beams: has joined #ruby
[12:24:52] Psybur: has joined #ruby
[12:28:29] gigetoo: has joined #ruby
[12:30:19] amar: has joined #ruby
[12:37:15] cschneid_: has joined #ruby
[12:37:28] bmurt: has joined #ruby
[12:39:13] Asher: has joined #ruby
[12:45:09] Janky: has joined #ruby
[12:45:53] tcopeland: has joined #ruby
[12:46:51] jeffreylevesque: has joined #ruby
[12:48:27] konsolebox: has joined #ruby
[12:49:55] n0m4d1c: has joined #ruby
[12:53:08] amar: has joined #ruby
[12:53:48] s2013: has joined #ruby
[12:54:39] the_drow: apeiros, It was installed. I just forgot to add something somewhere else so that my changes would take effect
[12:56:44] the_drow: I have a problem with shell escaping. Serverspec is trying to execute the following command: /usr/bin/firejail --quiet --noprofile --net=lxcbr0 --ip=10.0.3.3 -c /bin/nc\ -w\ 5\ -z\ 10.0.3.175\ 22 using spwan
[12:56:49] the_drow: See https://github.com/thedrow/specinfra/blob/patch-1/lib/specinfra/backend/exec.rb#L131
[12:57:22] the_drow: When I paste this to my shell I get /bin/bash: /bin/nc -w 5 -z 10.0.3.175 22: No such file or directory
[12:58:09] the_drow: Interestingly sh -c '/usr/bin/firejail --quiet --noprofile --net=lxcbr0 --ip=10.0.3.3 -c /bin/nc\ -w\ 5\ -z\ 10.0.3.175\ 22' works
[12:58:30] Dimik---: has joined #ruby
[12:58:55] shinnya: has joined #ruby
[12:59:14] jcalla: has joined #ruby
[13:00:07] the_drow: but it doesn't work with bash -c '' :(
[13:01:26] apeiros: doesn't sound like a ruby problem then. probably different envs?
[13:01:36] the_drow: I thought it was at first
[13:02:47] mjolnird: has joined #ruby
[13:03:53] dionysus69: has joined #ruby
[13:05:37] kapil___: has joined #ruby
[13:06:02] kapil___: i have this function : `def columns_processor(table= @table, yamlSection = @yamlConfig[@config], columns_hide = /^(user_id|updated_at)$/, resultStore)`
[13:06:03] kapil___: i want to call it like this: `columns_processor(columns_hide, [])`
[13:06:16] kapil___: how can i do it?
[13:06:43] apeiros: you can't.
[13:07:26] gizmore: kapil___: write a wrapper method
[13:07:29] apeiros: those are all positional arguments. and as the name "positional" suggests, they have to be used with the right position.
[13:07:43] kapil___: but this i can do :
[13:07:43] kapil___: `columns_processor([])
[13:07:44] apeiros: meh, use keyword args
[13:07:53] apeiros: anything >1 arg should IMO use kwargs.
[13:08:03] gizmore: whats that?
[13:08:08] gizmore: dictionaries?
[13:08:14] kapil___: no empty array
[13:08:21] apeiros: foo(this: "is", a: "keyword", argument:)
[13:08:35] gizmore: apeiros: new to me
[13:08:35] John_Ivan: has joined #ruby
[13:08:47] apeiros: gizmore: you must have been away from ruby for a couple of years then.
[13:08:50] kapil___: how to access keyword args in function?
[13:09:01] gizmore: apeiros: 2 or 3 years maybe
[13:09:07] apeiros: kapil___: same as positional args.
[13:09:28] kapil___: how to call this function?
[13:09:31] gizmore: apeiros: i am waiting for type hinting
[13:10:08] apeiros: kapil___: almost the same as you define it: foo(this: "some value", a: "some value", argument: "some value")
[13:10:27] kapil___: great thanks a lot. it also better to read
[13:10:27] apeiros: but you can use any order and you can leave away all which have a default.
[13:10:44] kapil___: great guide
[13:10:52] apeiros: i.e. with the given example, calling `foo(argument: "some value")` would have this == "is" and a == "keyword"
[13:12:01] kapil___: thanks. should i use this idea in any language?
[13:12:18] apeiros: gizmore: the full syntax is in ruby since 2.1 iirc, so 3.5 years
[13:12:31] apeiros: (might be that required kwargs came a bit later)
[13:12:59] apeiros: the calling syntax was available ever since 1.9, it just meant something else (it was passing a single hash argument)
[13:13:05] kapil___: can i use this in javascript?
[13:13:30] gizmore: you can use the single hash argument workaround there
[13:13:56] apeiros: single object actually
[13:14:02] apeiros: {} in js are objects, not hashes.
[13:14:20] k0mpa: has joined #ruby
[13:14:21] apeiros: ACTION now wonders whether there's a distinct name for those… "plain objects" maybe?
[13:14:26] Mia: has joined #ruby
[13:14:26] Mia: has joined #ruby
[13:14:27] apeiros: ACTION afk
[13:14:32] guille-moe: has joined #ruby
[13:14:53] kapil___: how to call function some keys i should merge how?
[13:15:24] gizmore: reverse merge the hash with default values?
[13:17:17] kapil___: if i pass object it will replaced
[13:20:43] kapil___: ACTION thanks to apeiros 
[13:25:04] apeiros: I don't understand the question
[13:25:07] erlend: has joined #ruby
[13:26:07] DLSteve: has joined #ruby
[13:27:33] drale2k_: has joined #ruby
[13:29:26] Zaab1t: has joined #ruby
[13:29:49] cabotto: has joined #ruby
[13:33:18] safetypin: has joined #ruby
[13:35:53] sidx64: has joined #ruby
[13:37:50] Beams: has joined #ruby
[13:40:47] cschneid_: has joined #ruby
[13:41:31] duderonomy: has joined #ruby
[13:44:28] p0p0pr37: has joined #ruby
[13:44:35] woo: has joined #ruby
[13:45:36] woo: Is this psychoc chatroom?
[13:45:42] oleo: has joined #ruby
[13:45:43] woo: Psychic*
[13:45:43] memo1: has joined #ruby
[13:46:09] woo: Hi dimiuoso
[13:46:26] woo: has left #ruby: ()
[13:46:37] dminuoso: ACTION stabs apeiros
[13:46:40] woo: has joined #ruby
[13:46:52] dminuoso: woo: I predict apeiros to be mean towards me.
[13:47:54] woo: Apeiros?
[13:48:29] woo: has left #ruby: ()
[13:48:33] cschneid_: has joined #ruby
[13:49:42] cyberg: has joined #ruby
[13:54:37] apeiros: accurate prediction
[13:54:49] apeiros: ACTION slaps dminuoso around a bit with a large trout
[13:57:19] bmurt: has joined #ruby
[13:58:05] Beams: has joined #ruby
[13:59:43] workmad3: has joined #ruby
[14:01:14] mtkd: has joined #ruby
[14:03:15] rwb: has joined #ruby
[14:04:20] Beams: has joined #ruby
[14:07:35] rabajaj: has joined #ruby
[14:11:33] mostlybadfly: has joined #ruby
[14:12:10] mtkd: has joined #ruby
[14:14:57] GodFather_: has joined #ruby
[14:16:40] Rapture: has joined #ruby
[14:18:17] dr3w__: has joined #ruby
[14:20:03] jobewan: has joined #ruby
[14:20:16] hippo_in_helicop: has joined #ruby
[14:21:30] Mike11: has joined #ruby
[14:21:36] hippo_in_helicop: adjacent string literals getting concatenated, is that borrowed from an earlier language, or original feature of ruby?
[14:23:01] norfumpit: has joined #ruby
[14:23:14] GodFather: has joined #ruby
[14:23:56] leah2: its a C feature, but perhaps inspired by awk
[14:29:14] inerthia: has joined #ruby
[14:29:23] leah2: (i thought perl had it too, but it doesnt)
[14:30:28] chouhoul_: has joined #ruby
[14:34:21] lelliott: has joined #ruby
[14:38:31] hippo_in_helicop: found https://en.wikipedia.org/wiki/String_literal#String_literal_concatenation
[14:41:16] nichol: has joined #ruby
[14:42:47] pastorinni: has joined #ruby
[14:42:48] cschneid_: has joined #ruby
[14:43:06] netherwolfe: has joined #ruby
[14:46:23] yeticry: has joined #ruby
[14:48:55] the_drow: How do I create an object that can be cased to a time interval
[14:49:04] the_drow: So that I can do sleep Foo.new()
[14:49:19] duderonomy: has joined #ruby
[14:51:58] samort7: has joined #ruby
[14:52:10] grilix_: has joined #ruby
[14:52:55] apeiros: the_drow: sleep wants an Integer or FLoat
[14:53:14] apeiros: so you'll have to do something like `sleep Foo.new.to_i` or `sleep Foo.new.to_f`
[14:53:22] apeiros: ACTION afk now
[14:53:33] Dimik---: has joined #ruby
[14:54:07] Asher: has joined #ruby
[14:54:23] cadillac_: has joined #ruby
[14:56:13] phaul: although one can argue that Foo.new.sleep(sometime) is less of a code smell. I mean it's pretty unlikely that Foo .to_i make sense out of the sleep context. But Im speculating of course
[14:56:57] the_drow: phaul, I'm trying to quack like a duck here
[14:57:04] yeticry: has joined #ruby
[14:57:36] the_drow: https://github.com/NoRedInk/rspec-retry/blob/master/lib/rspec/retry.rb#L152 expects only an integer and I want to provide a random number
[14:58:18] tAn: has joined #ruby
[14:58:33] schneider: has joined #ruby
[14:58:45] Cavallari: has joined #ruby
[15:03:24] cadillac_: has joined #ruby
[15:04:25] phaul: in that it makes sense. It's just different aspect, having an intlike thing internally and calling sleep with it internally. I thought we were talking about external interface to the class..
[15:05:42] Asher: has joined #ruby
[15:06:12] mtkd: has joined #ruby
[15:07:43] rahul_bajaj: has joined #ruby
[15:10:14] elomatreb: the_drow: If you're in Rails, ActiveSupport has a Duration type that can be .to_i'd into the number of seconds, IIRC
[15:10:27] the_drow: elomatreb, Nope. Serverspec...
[15:10:34] the_drow: but I found another way
[15:13:56] synthroid: has joined #ruby
[15:15:03] s2013: has joined #ruby
[15:16:19] rabajaj: has joined #ruby
[15:17:19] burgestrand: has joined #ruby
[15:18:23] cadillac_: has joined #ruby
[15:21:16] cschneid_: has joined #ruby
[15:24:35] Asher: has joined #ruby
[15:24:49] amar: has joined #ruby
[15:25:07] drale2k_: has joined #ruby
[15:28:01] jottr: has joined #ruby
[15:30:23] cadillac_: has joined #ruby
[15:31:10] orbyt_: has joined #ruby
[15:31:38] apeiros: has joined #ruby
[15:33:52] erlend: has joined #ruby
[15:35:37] tAn: has joined #ruby
[15:38:35] NL3limin4t0r_afk: has joined #ruby
[15:38:37] apeiros: has joined #ruby
[15:41:26] sagax: has joined #ruby
[15:41:27] sepp2k: has joined #ruby
[15:41:31] gigetoo: has joined #ruby
[15:44:28] hlmjr: has joined #ruby
[15:52:48] kapil___: has joined #ruby
[15:59:59] guacamole: has joined #ruby
[15:59:59] guacamole: has joined #ruby
[16:02:09] jottr: has joined #ruby
[16:09:11] nicesignal: has joined #ruby
[16:10:16] jcarl43: has joined #ruby
[16:10:25] [Butch]: has joined #ruby
[16:10:49] cagomez: has joined #ruby
[16:10:56] cadillac_: has joined #ruby
[16:11:08] cam27: has joined #ruby
[16:14:22] tAn: has joined #ruby
[16:15:21] amar: has joined #ruby
[16:16:11] noobineer: has joined #ruby
[16:17:41] amar_: has joined #ruby
[16:21:39] KeyJoo: has joined #ruby
[16:21:41] n0m4d1c: has joined #ruby
[16:24:51] alfiemax: has joined #ruby
[16:25:26] marius: has joined #ruby
[16:28:17] nichol: has joined #ruby
[16:29:16] John_Ivan: has joined #ruby
[16:29:16] John_Ivan: has joined #ruby
[16:30:47] guacamole: has joined #ruby
[16:30:47] guacamole: has joined #ruby
[16:31:10] marius: has joined #ruby
[16:32:53] n008f4g_: has joined #ruby
[16:34:57] tolerablyjake: has joined #ruby
[16:35:15] zapata: has joined #ruby
[16:35:32] orbyt_: has joined #ruby
[16:38:09] mroutis: has joined #ruby
[16:38:41] jamesaxl: has joined #ruby
[16:39:32] mroutis: has joined #ruby
[16:40:13] marius: has joined #ruby
[16:42:57] eckhardt: has joined #ruby
[16:45:16] karapetyan: has joined #ruby
[16:48:21] Psybur_: has joined #ruby
[16:49:20] gigetoo: has joined #ruby
[16:49:40] tAn: has joined #ruby
[16:50:08] sanscoeur: has joined #ruby
[16:51:00] ledestin: has joined #ruby
[16:53:00] openstruct: has joined #ruby
[16:55:52] nichol: has joined #ruby
[17:00:01] armyriad: has joined #ruby
[17:03:04] jottr: has joined #ruby
[17:05:46] suukim: has joined #ruby
[17:06:41] rabajaj: has joined #ruby
[17:08:18] orbyt_: has joined #ruby
[17:13:18] sent-hil: has joined #ruby
[17:19:38] mroutis_: has joined #ruby
[17:21:29] amar: has joined #ruby
[17:21:56] baweaver: ACTION wanders in
[17:22:06] icarus: has joined #ruby
[17:22:53] chouhoulis: has joined #ruby
[17:24:21] harrycs: has joined #ruby
[17:24:39] duderonomy: has joined #ruby
[17:29:27] [Butch]: has joined #ruby
[17:30:22] bmurt: has joined #ruby
[17:31:45] jenrzzz: has joined #ruby
[17:31:45] jenrzzz: has joined #ruby
[17:34:39] marius: has joined #ruby
[17:36:10] pilne: has joined #ruby
[17:36:12] vutral|kali: has joined #ruby
[17:36:12] vutral|kali: has joined #ruby
[17:37:13] bmurt: has joined #ruby
[17:37:22] mtkd: has joined #ruby
[17:40:21] claudiuinberlin: has joined #ruby
[17:41:04] vutral|kali: has joined #ruby
[17:41:04] vutral|kali: has joined #ruby
[17:41:57] raynold: has joined #ruby
[17:42:32] erlend: has joined #ruby
[17:45:30] alfiemax: has joined #ruby
[17:50:22] d5sx43: has joined #ruby
[17:52:04] SuperL4g: has joined #ruby
[17:52:16] harryv: has joined #ruby
[17:52:24] soahccc: has joined #ruby
[17:55:12] chouhoul_: has joined #ruby
[17:56:07] memo1: has joined #ruby
[17:59:11] gigetoo: has joined #ruby
[17:59:37] dinfuehr: has joined #ruby
[18:04:09] despai: has joined #ruby
[18:12:40] karapetyan: has joined #ruby
[18:13:49] orbyt_: has joined #ruby
[18:14:49] psychicist__: has joined #ruby
[18:15:26] nichol: has joined #ruby
[18:18:51] Mia: has joined #ruby
[18:18:52] Mia: has joined #ruby
[18:20:00] n0m4d1c: has joined #ruby
[18:23:20] bmurt: has joined #ruby
[18:25:02] alfiemax_: has joined #ruby
[18:25:03] sameerynho: has joined #ruby
[18:28:51] alfiemax: has joined #ruby
[18:29:19] mroutis: has joined #ruby
[18:31:00] jenrzzz_: has joined #ruby
[18:31:17] \void: has joined #ruby
[18:33:27] clemens3: has joined #ruby
[18:34:36] bmurt: has joined #ruby
[18:36:32] amar: has joined #ruby
[18:38:28] bruce_lee: has joined #ruby
[18:42:24] duderonomy: has joined #ruby
[18:42:52] chouhoulis: has joined #ruby
[18:43:06] synthroid: has joined #ruby
[18:54:06] cadillac_: has joined #ruby
[18:57:21] jenrzzz: has joined #ruby
[18:57:21] jenrzzz: has joined #ruby
[18:57:41] cagomez: has joined #ruby
[18:59:28] alfiemax: has joined #ruby
[18:59:35] nowhereman_: has joined #ruby
[18:59:58] sammi`: has joined #ruby
[19:13:42] lelliott: has joined #ruby
[19:14:22] nowhereman_: has joined #ruby
[19:19:38] chouhoul_: has joined #ruby
[19:21:34] tvw: has joined #ruby
[19:21:48] workmad3: has joined #ruby
[19:24:00] mroutis: has joined #ruby
[19:25:46] nowhereman_: has joined #ruby
[19:28:52] venmx: has joined #ruby
[19:29:12] chouhoulis: has joined #ruby
[19:29:17] atchoum: has joined #ruby
[19:29:45] cagomez: has joined #ruby
[19:31:32] alfiemax: has joined #ruby
[19:33:47] mikecmpbll: has joined #ruby
[19:34:56] karapetyan: has joined #ruby
[19:36:58] Scient: has joined #ruby
[19:41:15] ellcs: has joined #ruby
[19:42:14] orbyt_: has joined #ruby
[19:42:18] venmx: has joined #ruby
[19:43:01] jenrzzz: has joined #ruby
[19:43:02] jenrzzz: has joined #ruby
[19:43:26] nichol: has joined #ruby
[19:44:14] sidx64: has joined #ruby
[19:45:34] cagomez: has joined #ruby
[19:46:36] pastorinni: has joined #ruby
[19:46:45] sidx64_: has joined #ruby
[19:51:17] erlend: has joined #ruby
[19:52:51] chouhoul_: has joined #ruby
[19:53:22] grilix_: has joined #ruby
[19:54:00] jcarl: has joined #ruby
[19:54:33] tolerablyjake: has joined #ruby
[19:54:52] ragingmonkey: has joined #ruby
[19:55:13] Psybur: has joined #ruby
[20:02:06] Xiti: has joined #ruby
[20:05:48] mroutis: has joined #ruby
[20:07:30] d^sh: has joined #ruby
[20:08:11] hkais: has joined #ruby
[20:09:02] pastorin_: has joined #ruby
[20:10:08] alfiemax: has joined #ruby
[20:10:55] memo1: has joined #ruby
[20:10:58] ramfjord: has joined #ruby
[20:13:20] cagomez: has joined #ruby
[20:14:07] Puffball: has joined #ruby
[20:19:06] tolerablyjake: has joined #ruby
[20:19:17] minimalism: has joined #ruby
[20:20:16] alfiemax: has joined #ruby
[20:20:31] err_ok_: has joined #ruby
[20:20:49] kaia_: has joined #ruby
[20:20:53] chrisseaton_: has joined #ruby
[20:21:18] doesntbyte_: has joined #ruby
[20:21:24] Diabolik_: has joined #ruby
[20:21:28] Travis-42_: has joined #ruby
[20:21:29] raggi_: has joined #ruby
[20:21:30] ewilliam_: has joined #ruby
[20:21:37] pmarreck_: has joined #ruby
[20:21:37] rfv_: has joined #ruby
[20:21:37] solidsnack_: has joined #ruby
[20:21:53] mroutis: has joined #ruby
[20:22:10] graingert_: has joined #ruby
[20:22:25] yo61_: has joined #ruby
[20:22:25] Meow-J__: has joined #ruby
[20:22:52] creeg: has joined #ruby
[20:24:05] zumbi_: has joined #ruby
[20:26:20] jsrn_: has joined #ruby
[20:26:31] pastorinni: has joined #ruby
[20:27:12] Nilium_: has joined #ruby
[20:27:22] zleap_: has joined #ruby
[20:27:27] mlehrer_: has joined #ruby
[20:27:48] KeyJoo: hi! Hanami 1.2.0 was released http://hanamirb.org/blog/2018/04/11/announcing-hanami-120.html
[20:27:51] Fire-Dragon-DoL-: has joined #ruby
[20:28:38] mitsuhiko_: has joined #ruby
[20:29:20] vipaca: has joined #ruby
[20:29:26] mroutis: KeyJoo: nice!
[20:29:47] Takumo: has joined #ruby
[20:30:02] vipaca: has joined #ruby
[20:31:28] Liothen: has joined #ruby
[20:31:28] Liothen: has joined #ruby
[20:31:37] velu_aon[m]: has joined #ruby
[20:33:34] Giphy[m]: has joined #ruby
[20:33:39] mitchellvanw: has joined #ruby
[20:33:54] byte512: has joined #ruby
[20:41:04] mtkd: has joined #ruby
[20:44:44] cadillac_: has joined #ruby
[20:46:05] jcarl43: has joined #ruby
[20:46:49] cyberg: has joined #ruby
[20:50:06] braderhart: has joined #ruby
[20:50:20] guacamole: has joined #ruby
[20:50:20] guacamole: has joined #ruby
[20:50:50] Sammichmaker: has joined #ruby
[20:50:50] Sammichmaker: has joined #ruby
[20:54:19] guacamole: has joined #ruby
[20:54:19] guacamole: has joined #ruby
[20:58:10] kab: has joined #ruby
[21:01:44] memo1: has joined #ruby
[21:04:06] phaul: has joined #ruby
[21:05:45] Emmanuel_Chanel: has joined #ruby
[21:16:22] Emmanuel_Chanel: has joined #ruby
[21:18:49] nichol: has joined #ruby
[21:20:43] zautomata: has joined #ruby
[21:20:50] bmurt: has joined #ruby
[21:27:24] vipaca: has joined #ruby
[21:29:25] vipaca: has joined #ruby
[21:32:37] chouhoulis: has joined #ruby
[21:36:00] rwb: has joined #ruby
[21:36:53] eckhardt: has joined #ruby
[21:38:26] ur5us: has joined #ruby
[21:45:30] amar: has joined #ruby
[21:47:57] Psybur: has joined #ruby
[21:57:51] jeffreylevesque: has joined #ruby
[21:58:23] ellcs: has joined #ruby
[21:59:30] erlend: has joined #ruby
[21:59:37] SeepingN: has joined #ruby
[22:01:17] venmx: has joined #ruby
[22:01:57] duderonomy: has joined #ruby
[22:05:20] cadillac_: has joined #ruby
[22:09:58] cschneid_: has joined #ruby
[22:11:18] orbyt_: has joined #ruby
[22:11:59] fyrril: has joined #ruby
[22:15:30] chouhoul_: has joined #ruby
[22:20:40] marr: has joined #ruby
[22:23:13] snapcase: has joined #ruby
[22:25:48] memo1: has joined #ruby
[22:29:59] imode: has joined #ruby
[22:30:41] jenrzzz: has joined #ruby
[22:30:41] jenrzzz: has joined #ruby
[22:37:10] char_var[buffer]: has joined #ruby
[22:37:54] memo1: has joined #ruby
[22:39:02] shinnya: has joined #ruby
[22:55:03] memo1: has joined #ruby
[22:56:30] cr3: has joined #ruby
[22:57:15] cr3: if anyone happens to be running rubymine, how can I see what commands the IDE is running when I try to "run" something. In the event log, I just see the error but not the command :(
[22:57:21] RougeR: has joined #ruby
[22:59:40] hr3f: has joined #ruby
[23:00:50] cadillac_: has joined #ruby
[23:01:57] olblak: has joined #ruby
[23:04:07] alfiemax: has joined #ruby
[23:04:29] minimalism: has joined #ruby
[23:04:42] Exuma: has joined #ruby
[23:10:04] memo1: has joined #ruby
[23:11:45] kith: has joined #ruby
[23:12:34] brodul: has joined #ruby
[23:14:09] tjbp: has joined #ruby
[23:17:39] tcopeland: has joined #ruby
[23:20:19] guacamole: has joined #ruby
[23:20:19] guacamole: has joined #ruby
[23:21:38] chrisseaton_: has joined #ruby
[23:22:09] chrisseaton: has joined #ruby
[23:23:39] jenrzzz: has joined #ruby
[23:25:17] cagomez: has joined #ruby
[23:25:17] chrisseaton: Does anyone know any resource on how Ruby interacts with locale environment variables? I can't see an impact on Time.now.strftime("%c") from changing LC_ALL. Should I?
[23:26:00] cam27: has joined #ruby
[23:33:02] guacamole: has joined #ruby
[23:33:03] guacamole: has joined #ruby
[23:37:01] jenrzzz: has joined #ruby
[23:37:01] jenrzzz: has joined #ruby
[23:38:22] sameerynho: has joined #ruby
[23:46:15] guacamole: has joined #ruby
[23:46:16] guacamole: has joined #ruby
[23:48:58] yxhuvud: has joined #ruby
[23:49:36] duderonomy: has joined #ruby
[23:50:33] mroutis: chrisseaton: what are you trying to achieve?
[23:51:23] harryv: has joined #ruby
[23:51:39] mroutis: &ri Time.new
[23:51:39] `derpy: http://ruby-doc.org/core-2.4.1/Time.html#method-c-new
[23:51:43] mroutis: > Note: The new object will use the resolution available on your
[23:51:44] mroutis: system clock, and may include fractional seconds.
[23:53:02] guacamole: has joined #ruby
[23:53:02] guacamole: has joined #ruby
[23:53:40] duderonomy: has joined #ruby
[23:54:30] mroutis: you should look for an internationalization library, as i18n
[23:56:25] n0m4d1c: has joined #ruby
[23:57:55] yxhuvud: has joined #ruby
[23:58:17] imode: has joined #ruby
[23:59:06] n0m4d1c: has joined #ruby