« Back to channel list

#ruby - 30 April 2018

« Back 1 day Forward 1 day »
[00:02:08] x77686d: has joined #ruby
[00:02:15] ghormoon: has joined #ruby
[00:03:09] jready: has joined #ruby
[00:05:45] emph: has joined #ruby
[00:07:57] jyaworski: has joined #ruby
[00:10:16] JohanP: has joined #ruby
[00:11:32] ghormoon: has joined #ruby
[00:12:57] Hanmac: has joined #ruby
[00:13:57] n3b: has joined #ruby
[00:15:46] jeen: has joined #ruby
[00:16:32] JohanP: has joined #ruby
[00:19:43] Yzguy: has joined #ruby
[00:22:32] cschneid_: has joined #ruby
[00:27:24] alfiemax: has joined #ruby
[00:34:20] Psybur: has joined #ruby
[00:37:25] ciscam: has joined #ruby
[00:39:49] barnett: has joined #ruby
[00:51:01] JohanP: has joined #ruby
[00:53:11] ccrow: has joined #ruby
[01:01:25] barnett: has joined #ruby
[01:03:17] JohanP: has joined #ruby
[01:06:53] phenom: has joined #ruby
[01:07:30] alfiemax: has joined #ruby
[01:08:33] n3b: has joined #ruby
[01:09:55] barnett: has joined #ruby
[01:15:51] ltd: has joined #ruby
[01:16:35] ccrow: has joined #ruby
[01:18:29] barnett: has joined #ruby
[01:19:42] ccrow: has joined #ruby
[01:21:23] amar: has joined #ruby
[01:22:00] JohanP: has joined #ruby
[01:22:15] alt155: has joined #ruby
[01:23:29] n3b: has joined #ruby
[01:24:24] cschneid_: has joined #ruby
[01:25:54] t0adst00l: has joined #ruby
[01:25:58] alfiemax: has joined #ruby
[01:26:42] barnett: has joined #ruby
[01:31:30] jyaworski: has joined #ruby
[01:34:08] barnett: has joined #ruby
[01:38:33] barnett: has joined #ruby
[01:42:39] dinfuehr_: has joined #ruby
[01:48:33] karapetyan: has joined #ruby
[01:50:39] n3b: has joined #ruby
[01:55:49] alfiemax: has joined #ruby
[02:00:50] JohanP: has joined #ruby
[02:04:16] ccrow: has joined #ruby
[02:05:01] houhoulis: has joined #ruby
[02:05:38] JohanP: has joined #ruby
[02:06:48] cschneid_: has joined #ruby
[02:08:39] jyaworski: has joined #ruby
[02:16:32] beilabs: has joined #ruby
[02:19:46] beilabs: has joined #ruby
[02:27:07] kapil___: has joined #ruby
[02:30:47] alfiemax: has joined #ruby
[02:35:40] JohanP: has joined #ruby
[02:39:25] n3b: has joined #ruby
[02:51:32] cschneid_: has joined #ruby
[02:52:17] JohanP: has joined #ruby
[02:52:40] orbyt_: has joined #ruby
[02:58:22] JohanP: has joined #ruby
[03:08:58] cschneid_: has joined #ruby
[03:09:10] JohanP: has joined #ruby
[03:17:59] beilabs: has joined #ruby
[03:19:36] cagomez: has joined #ruby
[03:22:24] cagomez: has joined #ruby
[03:24:03] cagomez: has joined #ruby
[03:26:38] amar: has joined #ruby
[03:27:00] konsolebox: has joined #ruby
[03:27:25] JohanP: has joined #ruby
[03:31:23] shakes: has joined #ruby
[03:35:34] cschneid_: has joined #ruby
[03:37:50] jcalla: has joined #ruby
[03:42:16] rivalomega: has joined #ruby
[03:43:46] JohanP: has joined #ruby
[03:50:47] govg: has joined #ruby
[03:50:56] cschneid_: has joined #ruby
[03:53:31] booq: has joined #ruby
[04:00:40] gix-: has joined #ruby
[04:01:27] jyaworski: has joined #ruby
[04:19:03] JohanP: has joined #ruby
[04:25:02] baweaver: New article out, and this one gets fairly crazy - https://medium.com/@baweaver/qo-evil-dynamic-compilation-with-eval-f66f7a25fe77
[04:25:56] cschneid_: has joined #ruby
[04:37:43] karapetyan: has joined #ruby
[04:50:13] jordanm: has joined #ruby
[04:52:02] mlkkk: has joined #ruby
[04:53:30] JohanP: has joined #ruby
[04:57:06] anisha: has joined #ruby
[05:00:08] cschneid_: has joined #ruby
[05:00:42] JohanP: has joined #ruby
[05:02:05] baweaver: havenwood: Wanna see something awesome?
[05:04:05] baweaver: >> class Mf;def self.+(b)proc{|a|a+b}end;end; [1,2,3,4,5].map(&Mf + 5)
[05:04:07] ruby[bot]: baweaver: # => [6, 7, 8, 9, 10] (https://eval.in/996971)
[05:04:25] baweaver: dminuoso: Look! Scala! ^
[05:05:11] nadir: has joined #ruby
[05:08:07] ferr1: has joined #ruby
[05:10:05] baweaver: Radar ^ Infix operators work as singleton methods too in Ruby :D
[05:14:10] anisha: has joined #ruby
[05:14:34] JohanP: has joined #ruby
[05:18:53] JohanP: has joined #ruby
[05:24:23] x77686d: has joined #ruby
[05:24:54] JohanP: has joined #ruby
[05:35:15] jyaworski: has joined #ruby
[05:37:08] cschneid_: has joined #ruby
[05:41:10] JohanP: has joined #ruby
[05:42:42] Radar: hahaha :D
[05:48:41] jordanm: has joined #ruby
[05:55:00] biberu: has joined #ruby
[05:55:07] jyaworski: has joined #ruby
[06:00:18] JohanP: has joined #ruby
[06:06:33] JohanP: has joined #ruby
[06:07:01] madhatter: has joined #ruby
[06:07:40] reber: has joined #ruby
[06:08:15] physicist__: has joined #ruby
[06:11:25] amar: has joined #ruby
[06:16:37] dminuoso: baweaver: I dont Scala.
[06:18:08] baweaver: Radar: and because I'm me, it's a gem now
[06:18:16] cschneid_: has joined #ruby
[06:19:38] dminuoso: 07:49 baweaver | [05:10:05] Radar ^ Infix operators work as singleton methods too in Ruby :D
[06:19:38] dminuoso: You should know there's no such thing as "singleton methods" :P
[06:19:38] dminuoso: Of course it works
[06:20:06] baweaver: fine fine fine
[06:26:27] alfiemax: has joined #ruby
[06:28:43] amar: has joined #ruby
[06:29:24] alfiemax_: has joined #ruby
[06:31:02] burgestrand: has joined #ruby
[06:31:13] conta: has joined #ruby
[06:37:34] josealobato: has joined #ruby
[06:37:46] amar: has joined #ruby
[06:39:54] jyaworski: has joined #ruby
[06:41:58] tvw: has joined #ruby
[06:44:45] apeiros: has joined #ruby
[06:45:54] mniip: has joined #ruby
[06:47:23] nowhere_man: has joined #ruby
[06:53:26] Darook: has joined #ruby
[06:54:16] tAn: has joined #ruby
[06:54:47] Darook: WELCOME TO CAAAAAANDY MEADOWS!
[06:55:32] baweaver: More of Ruby really Darook
[06:55:47] rippa: has joined #ruby
[06:56:05] Darook: sorry, typo.
[06:56:52] cschneid_: has joined #ruby
[06:59:10] johnny56: has joined #ruby
[07:00:01] Darook: I actually came here to see if there was a link for begineers, and was not disappointed. I'm glad I came.
[07:01:50] TomyWork: has joined #ruby
[07:07:21] clemens3_: has joined #ruby
[07:14:55] sysvalve: has joined #ruby
[07:15:11] mlkkk: has joined #ruby
[07:20:20] roshanavand: has joined #ruby
[07:20:43] roshanavand: has joined #ruby
[07:21:02] ccrow: has joined #ruby
[07:23:09] alfiemax: has joined #ruby
[07:24:44] jyaworski: has joined #ruby
[07:24:44] octomancer: has joined #ruby
[07:27:48] schneider: has joined #ruby
[07:29:35] phaul: has joined #ruby
[07:33:52] ccrow: has joined #ruby
[07:38:27] tomphp: has joined #ruby
[07:39:24] rabajaj: has joined #ruby
[07:43:02] mlkkk: has joined #ruby
[07:43:16] mlkkk: has joined #ruby
[07:55:09] physicist__: has joined #ruby
[07:55:49] roshanavand: has joined #ruby
[07:56:18] roshanavand: has joined #ruby
[08:00:03] Lytol: has joined #ruby
[08:00:18] tAn: has joined #ruby
[08:03:01] ellcs: has joined #ruby
[08:04:20] cschneid_: has joined #ruby
[08:13:42] Hien: has joined #ruby
[08:14:01] karapetyan: has joined #ruby
[08:21:06] vondruch: has joined #ruby
[08:24:08] NL3limin4t0r: has joined #ruby
[08:33:14] sameerynho: has joined #ruby
[08:35:16] nowhere_man: has joined #ruby
[08:36:37] alfiemax: has joined #ruby
[08:37:35] cabotto: has joined #ruby
[08:41:46] cschneid_: has joined #ruby
[08:43:37] drale2k_: has joined #ruby
[08:43:50] ccrow: has joined #ruby
[08:49:17] guille-moe: has joined #ruby
[08:50:11] karapetyan: has joined #ruby
[08:59:35] _cabotto: has joined #ruby
[09:00:25] venmx: has joined #ruby
[09:01:51] tomphp: has joined #ruby
[09:03:23] karapetyan: has joined #ruby
[09:15:28] ur5us: has joined #ruby
[09:17:44] cschneid_: has joined #ruby
[09:23:50] dionysus69: has joined #ruby
[09:27:05] dionysus69: has joined #ruby
[09:32:21] apeiros: has joined #ruby
[09:33:51] schneider: has joined #ruby
[09:41:19] InfinityFye: has joined #ruby
[09:41:30] cabotto: has joined #ruby
[09:43:07] amar: has joined #ruby
[09:43:47] InfinityFye: has left #ruby: ()
[09:46:21] _cabotto: has joined #ruby
[09:53:33] Zarthus: does anyone recognize this title as some sort of copy paste output from ruby's `gem` command? https://github.com/firasdib/Regex101/issues/989
[09:53:48] stormpack: has joined #ruby
[09:53:53] Zarthus: i wonder if it's a copy paste fail or if the robot overlord are somehow going insane.
[09:54:29] Zarthus: if you inspect that dudes' profile you can see he's kind of a skiddy, but anyway
[09:58:08] cschneid_: has joined #ruby
[09:58:37] drale2k_: has joined #ruby
[10:00:19] anisha: has joined #ruby
[10:02:10] cabotto: has joined #ruby
[10:02:48] karapetyan: has joined #ruby
[10:07:26] blackmesa: has joined #ruby
[10:10:18] Radar: GOOD MORNING
[10:10:26] Radar: WELL, IT IS IN SOME PARTS OF THE WORLD
[10:10:33] Radar: Here, it is evening time.
[10:10:53] Radar: Zarthus: nope. I do not recognise that at all.
[10:12:37] Zarthus: it's 12:12 here
[10:12:40] tbuehlmann: http://www.total-knowledge.com/~ilya/mips/ugt.html
[10:16:03] znz_jp: has joined #ruby
[10:16:51] GodFather_: has joined #ruby
[10:17:38] vasilakisFiL: has joined #ruby
[10:18:07] venmx: has joined #ruby
[10:18:40] vasilakisFiL: hi! Any idea why Regexp.escape('$') returns '\\$\ and not just '\$' ? The former escapes \ (which didn't appear in the initial string anyway) and not $, right ?
[10:19:11] vasilakisFiL: sorry I meant it returns '\\$' not '\\$\
[10:19:49] dminuoso: vasilakisfil: Be careful..
[10:20:09] anisha: has joined #ruby
[10:20:16] dminuoso: vasilakisfil: https://gist.github.com/dminuoso/8e1a3c4f9b038809db16c0a159f938d5
[10:20:37] vasilakisFiL: ah right thanks!
[10:21:41] jyaworski: has joined #ruby
[10:25:32] anisha_: has joined #ruby
[10:27:45] tomphp: has joined #ruby
[10:41:57] jyaworski: has joined #ruby
[10:43:31] cschneid_: has joined #ruby
[10:45:15] kurko_: has joined #ruby
[10:56:26] conta: has joined #ruby
[11:04:02] Cavallari: has joined #ruby
[11:06:55] amelliaa: has joined #ruby
[11:15:57] ur5us: has joined #ruby
[11:19:38] emph: has joined #ruby
[11:20:48] nhh^: has joined #ruby
[11:21:10] cschneid_: has joined #ruby
[11:21:45] cabotto: has joined #ruby
[11:23:27] ur5us: has joined #ruby
[11:25:55] houhoulis: has joined #ruby
[11:26:00] conta: has joined #ruby
[11:28:33] drale2k_: has joined #ruby
[11:33:51] karapetyan: has joined #ruby
[11:34:11] ldnunes: has joined #ruby
[11:37:13] AJA4350: has joined #ruby
[11:44:27] Ryzokuken: has joined #ruby
[11:44:57] NL3limin4t0r: vasilakisfil: If it's in double quotes (which return values by Ruby always are) the backslash should be escaped. Resulting in "\\$" this is the same as '\$'.
[11:45:13] NL3limin4t0r: >> "\\$" == '\$'
[11:45:14] ruby[bot]: NL3limin4t0r: # => true (https://eval.in/997141)
[11:46:41] vasilakisFiL: I see thanks!
[11:47:46] dionysus69: are these essentially the same?
[11:48:17] dionysus69: format("%.8f", 1.234567812341234).to_d
[11:48:31] dionysus69: 1.234567812341234.truncate(8).to_d
[11:48:52] dionysus69: they return same thing but dunno how they would act in various situations
[11:51:40] NL3limin4t0r: vasilakisfil: Double quotes allow you to do things like "\n" and other special chars while single quotes are string literals. Meaning '\n' is not a newline character but a backslash and an 'n', The same characters in a double quoted string would be a newline character.
[11:51:52] NL3limin4t0r: >> "\n" == '\n'
[11:51:53] ruby[bot]: NL3limin4t0r: # => false (https://eval.in/997147)
[11:52:19] schneider: using rspec, I have a before hook as a "parent" hook, then I have some describe blocks and inside another before hook
[11:52:31] schneider: can I run parent before block after the child one?
[11:52:49] jyaworski: has joined #ruby
[11:54:06] NL3limin4t0r: vasilakisfil: For more info see: https://ruby-doc.org/core-2.5.0/doc/syntax/literals_rdoc.html#label-Strings
[11:57:12] cschneid_: has joined #ruby
[11:57:50] chouhoulis: has joined #ruby
[12:01:43] vasilakisFiL: interesting thanks!
[12:02:32] BrianJ: has joined #ruby
[12:04:58] raynold: has joined #ruby
[12:06:34] drale2k_: has joined #ruby
[12:09:46] Dimik: has joined #ruby
[12:10:36] cabotto: has joined #ruby
[12:11:29] dionysus69: undefined method `mode' for 0.64e-8:BigDecimal
[12:11:35] dionysus69: while https://ruby-doc.org/stdlib-2.1.1/libdoc/bigdecimal/rdoc/BigDecimal.html#method-c-mode
[12:12:07] dionysus69: balance.class returns BigDecimal
[12:17:05] tomphp: has joined #ruby
[12:21:05] BrianJ: "john@ggo.se " I have an issue with this string.. You probably cant see it cause of client has removed it, but there seams to be a non breaking space..but I cant seam to get rid of it. I basicly just want to remove all charecters that arent part of the email
[12:21:59] Milos: has joined #ruby
[12:23:28] Ropeney: has joined #ruby
[12:24:34] BrianJ: any ideas?
[12:24:37] Mia: has joined #ruby
[12:25:55] BrianJ: If I convert it to json it says: "john@ggo.se​ \""
[12:32:45] cschneid_: has joined #ruby
[12:38:08] Mahoon: has joined #ruby
[12:39:35] bmurt: has joined #ruby
[12:41:00] cpruitt: has joined #ruby
[12:43:55] Cavallari1: has joined #ruby
[12:47:55] blackmesa: has joined #ruby
[12:49:34] marr: has joined #ruby
[12:54:44] ellcs: @brianj: what about String#strip
[12:54:44] ellcs: https://ruby-doc.org/core-2.2.0/String.html#method-i-strip-21
[13:01:05] banisterfiend: has joined #ruby
[13:02:07] apeiros_: has joined #ruby
[13:07:57] jnollette: has joined #ruby
[13:08:02] chris349: has joined #ruby
[13:08:28] jcalla: has joined #ruby
[13:08:57] NL3limin4t0r: Is there a reason i cannot use def xyz!? (two symbols at the end)
[13:09:45] dminuoso: NL3limin4t0r: Because Matz said so.
[13:10:24] dminuoso: >> define_method(:foo!?) { puts "hi" }; self.foo!?
[13:10:25] ruby[bot]: dminuoso: # => /tmp/execpad-bb74a785b8c9/source-bb74a785b8c9:2: syntax error, unexpected ')' ...check link for more (https://eval.in/997174)
[13:10:31] dminuoso: >> define_method(:foo!?) { puts "hi" }; self.send(:foo!?)
[13:10:32] ruby[bot]: dminuoso: # => /tmp/execpad-25c651954631/source-25c651954631:2: syntax error, unexpected ')' ...check link for more (https://eval.in/997175)
[13:10:38] dminuoso: >> define_method(:"foo!?") { puts "hi" }; self.send(:"foo!?")
[13:10:39] ruby[bot]: dminuoso: # => hi ...check link for more (https://eval.in/997176)
[13:10:42] dminuoso: NL3limin4t0r: ^-
[13:10:45] dminuoso: Works fine for me!
[13:13:02] cschneid_: has joined #ruby
[13:18:11] dionysus69: wow just figured when in the switch doesn't support || operator
[13:18:23] dionysus69: rare ruby surprise lol
[13:19:27] rivalomega: has joined #ruby
[13:22:29] apeiros_: "in the switch"?
[13:30:46] dionysus69: switch statement I mean
[13:31:49] apeiros: hm, case/when does support ||, but it probably works differently from what you expected :-)
[13:32:08] dionysus69: well, I had this || that
[13:32:14] dionysus69: worked for this but not for that
[13:32:23] dionysus69: I tested it thoroughly
[13:32:31] apeiros: (this || that) evaluates to the first non-nil non-false value
[13:32:32] dionysus69: after changing || with , it works
[13:32:41] rivalomega: has joined #ruby
[13:32:42] apeiros: and that's what your case will be tested against then
[13:33:19] apeiros: e.g. `case foo; when a || b then …`, is (a || b) === foo, and (a || b) is either a or b (b if a is nil or false)
[13:34:02] dionysus69: so a was nil, b was matching but still the when block wasn't executed :s
[13:35:05] dionysus69: when (:something || "something" || Model.find_by(code: "something"))
[13:35:11] dionysus69: this only works for :something
[13:35:11] apeiros: a = nil; b = 1..5; case 3; when a || b then "yes"; else "no" end
[13:35:13] apeiros: >> a = nil; b = 1..5; case 3; when a || b then "yes"; else "no" end
[13:35:14] ruby[bot]: apeiros: # => "yes" (https://eval.in/997181)
[13:35:16] dionysus69: not for string or object
[13:35:31] rfoust: has joined #ruby
[13:35:33] apeiros: yes, of course, because :something is never nil or false
[13:35:45] apeiros: (:something || … ) will *always* evaluate to :something
[13:35:52] k0mpa: has joined #ruby
[13:36:10] dminuoso: ACTION starts pondering about the most hilarious way to proof apeiros wrong
[13:36:13] dminuoso: ACTION thinks about set_trace_func
[13:36:23] dminuoso: ACTION starts to get creative
[13:36:34] dminuoso: ACTION just became bored and goes back to haskell things
[13:36:46] dionysus69: case case_var doesn't match :something, so it should go for next val no? why does it work with commas then instead of ||
[13:36:46] apeiros: dminuoso: I now wonder how much time you'll spend and how far you'll go. I don't think a custom compiled ruby is out of the question with you :-p
[13:37:06] dminuoso: apeiros: No no! The rules of engagement are that I have to demontrate this with ruby[bot]
[13:37:15] tobiasvl: dionysus69: it does match (:something || … ) though
[13:37:23] apeiros: dionysus69: as said, `case expression when condition` is evaluated as `condition === expression?
[13:37:25] apeiros: dionysus69: as said, `case expression when condition` is evaluated as `condition === expression`
[13:37:40] apeiros: and when your condition is (a || b || c) then that is evaluated first
[13:38:03] apeiros: and since (:something || b || c) *always* evaluates to :something, that's the same as just `:something === expression`
[13:38:25] apeiros: if you separate your conditions by ",", it will evaluate against each condition separately.
[13:38:51] dionysus69: I dont understand, :something is obviously not nil but i see it has to match the case var, that's the confusing part
[13:38:55] dminuoso: asm>> (:foo || puts)
[13:38:56] ruby[bot]: dminuoso: I have disassembled your code, the result is at https://eval.in/997182
[13:39:05] apeiros: i.e. with (a || b), there is no "next value", (a || b) is *one* value
[13:39:05] dminuoso: apeiros: I yield!
[13:39:17] tobiasvl: dionysus69: https://en.wikipedia.org/wiki/Short-circuit_evaluation
[13:39:21] apeiros: dminuoso: unimaginable! keep it up!
[13:39:28] dminuoso: apeiros: Actually it's the one part of the compiler Ive already dabbled with. I should have known better.
[13:40:41] dionysus69: let me get this straight, if I use same condition with if statement it will work
[13:40:46] dionysus69: its not even worth checking
[13:41:18] dionysus69: I just expect case when to evaluation condition the same way as if does
[13:42:50] tobiasvl: >> if "something" == (:something || "something" || Model.find_by(code: "something")) then puts "yes" end
[13:42:51] ruby[bot]: tobiasvl: # => nil (https://eval.in/997183)
[13:43:11] tobiasvl: dionysus69: it works the same, you're just confused as to what it's evaluating
[13:43:35] tobiasvl: ok, I could've used === there too
[13:43:58] stormpack: has joined #ruby
[13:44:26] mroutis: has joined #ruby
[13:44:45] esObe: has joined #ruby
[13:45:13] dionysus69: >> puts "evaluated correctly" if 1 === 3 || 2 || 1
[13:45:15] ruby[bot]: dionysus69: # => evaluated correctly ...check link for more (https://eval.in/997184)
[13:45:49] dionysus69: isn't that same?
[13:45:58] tobiasvl: >> puts "evaluated correctly" if 1 === (3 || 2 || 1)
[13:45:59] ruby[bot]: tobiasvl: # => nil (https://eval.in/997185)
[13:46:12] dionysus69: or your whole point was that it evaluates as () in case when?
[13:46:14] tobiasvl: you were checking this:
[13:46:26] tobiasvl: puts "evaluated correctly" if ((1 === 3) || 2 || 1)
[13:46:33] tobiasvl: >> puts "evaluated correctly" if ((1 === 3) || 2 || 1)
[13:46:34] ruby[bot]: tobiasvl: # => evaluated correctly ...check link for more (https://eval.in/997186)
[13:46:39] tobiasvl: that's not the same.
[13:46:48] havenwood: >> false || 2
[13:46:48] dionysus69: ok now I get it, I guess, if I understand correctly now even if you don't write parenthesis in when statement, it defaults to it
[13:46:49] ruby[bot]: havenwood: # => 2 (https://eval.in/997187)
[13:46:58] nicesignal: has joined #ruby
[13:47:08] havenwood: dionysus69: `2` is truthy I ^
[13:47:54] tobiasvl: parentheses are used to force an evaluation order, without them standard precedence rules apply
[13:48:19] dionysus69: ok I clearly got it now :D 3 2 aren't nil
[13:48:55] TinkerT: has joined #ruby
[13:49:15] dionysus69: so even though I didn't use parenthesis in when statement, it defaulted to it, you confirm it?
[13:49:49] dionysus69: still sounds like a rare ruby surprise, back to square 1 :D
[13:49:51] dminuoso: K = -> a, b { b }.curry; S = -> a, b, c { a[c[(b[c])] }.curry
[13:49:57] dminuoso: Forget everything else.
[13:50:03] dminuoso: Write all your programs in SK combinator calculus.
[13:50:07] dminuoso: ACTION pokes havenwood
[13:50:29] dionysus69: I actually don't understand what that line does dminuoso :D
[13:50:34] dminuoso: K = -> a, b { b }.curry; S = -> a, b, c { a[c][b[c]] }.curry
[13:50:37] dminuoso: Sorry my bad!
[13:50:42] dminuoso: Those are just functions!
[13:50:55] dminuoso: You can write any turing program with these two functions and nothing else.
[13:51:12] dminuoso: You dont need strings, lists, integers, or anything else.
[13:51:23] cschneid_: has joined #ruby
[13:52:33] tobiasvl: dionysus69: yes, in a way, the case condition is "wrapped" in parentheses before comparison. in the way that it's evaluated as an expression, and not actually a text macro that's substituted before evaluation. I guess you can put it that way
[13:52:55] Puffball: has joined #ruby
[13:53:20] dionysus69: this is weird too, this actually returns
[13:53:24] dionysus69: >> 1 === 3 || 2 || 1
[13:53:25] ruby[bot]: dionysus69: # => 2 (https://eval.in/997188)
[13:53:34] banisterfiend: has joined #ruby
[13:53:44] dionysus69: how is that evaluated now :D
[13:53:44] tobiasvl: >> x = 1 || 2; if x === 2 then puts "well" end
[13:53:45] apeiros: dionysus69: try to figure out why that is
[13:53:45] ruby[bot]: tobiasvl: # => nil (https://eval.in/997189)
[13:53:47] havenwood: dionysus69: just `2`, not ` == 2`.
[13:54:02] apeiros: dionysus69: what options exist here?
[13:54:08] dminuoso: dionysus69: here's the representation of 4: [S[S[KS]K]][[S[S[KS]K]][S[S[KS]K]I]]
[13:54:27] jyaworski: has joined #ruby
[13:54:28] dminuoso: If we also add `I = -> x { x }` which is usually sane
[13:54:48] tobiasvl: I love it here in #ruby-offtopic
[13:54:51] livcd: when are the guilds supposed to land in Ruby ?
[13:54:55] dminuoso: livcd: I hope never.
[13:54:56] havenwood: livcd: Ruby 3
[13:55:03] dionysus69: I dont understand anything you write dminuoso maybe its because I am hangover or maybe you are just weird today :D
[13:55:18] dminuoso: Yeah my coworker called me weird the other day.
[13:55:36] livcd: havenwood: and how close are we to Ruby 3 ? :0
[13:55:56] havenwood: livcd: 2020 or beyond.
[13:56:00] dionysus69: as I know, not close at all. I was listening to the podcast of the core dev
[13:56:18] havenwood: livcd: It could land before Ruby 3. It's very unlikely to be in Ruby 2.6.
[13:56:29] karapetyan: has joined #ruby
[13:56:34] havenwood: livcd: Ruby 2.7 is possible, Christmas 2019.
[13:56:54] livcd: ah ok Ill keep an eye on it
[13:57:04] havenwood: dionysus69: Ks and Ss! I need more coffee to follow what's going on...
[13:57:30] havenwood: livcd: There may be auto-fibers coming too, we'll see!
[13:58:18] havenwood: livcd: https://bugs.ruby-lang.org/issues/13618
[13:59:14] blackmesa: has joined #ruby
[14:00:25] thinkpad: has joined #ruby
[14:00:53] Mikasi: has joined #ruby
[14:02:03] dionysus69: ok thanks all been interesting laters!
[14:02:14] NL3limin4t0r: dionysus69: It's not weird though `1 === 3` evaluates to `false`, thus moving on to `2` wich is truthy and returning that value.
[14:03:05] dionysus69: I see now, order of operation is behaving same way as in when
[14:03:10] NL3limin4t0r: the `===` operator has an higher precense then `||`
[14:03:48] dionysus69: weird I haven't encountered problem with this until now, never really thought of this before now heh
[14:03:51] John_Ivan: has joined #ruby
[14:04:26] NL3limin4t0r: It also sort sircuits if it finds a truthy value, meaning it doesn't execute the code behind it.
[14:04:38] Rapture: has joined #ruby
[14:04:47] hinbody: has joined #ruby
[14:04:50] NL3limin4t0r: >> false || nil || 4 || raise 'Hello World!'
[14:04:51] ruby[bot]: NL3limin4t0r: # => /tmp/execpad-d7e52cdc05f5/source-d7e52cdc05f5:2: syntax error, unexpected tSTRING_BEG, expecting key ...check link for more (https://eval.in/997195)
[14:04:58] hinbody: has left #ruby: ()
[14:05:17] NL3limin4t0r: >> false || nil || 4 || nonexistentvalue
[14:05:18] ruby[bot]: NL3limin4t0r: # => 4 (https://eval.in/997196)
[14:07:02] NL3limin4t0r: dionysus69: See: https://ruby-doc.org/core-2.5.0/doc/syntax/precedence_rdoc.html
[14:07:32] foxxx0: has joined #ruby
[14:07:59] dionysus69: ok thanks NL3limin4t0r
[14:09:54] alfiemax: has joined #ruby
[14:14:59] stormpack_: has joined #ruby
[14:16:32] BrianJ: ellcs: strip didnt work. I had to use gsub(/[\u200B-\u200D\uFEFF]/, '')
[14:16:45] chouhoulis: has joined #ruby
[14:18:43] nowhere_man: has joined #ruby
[14:26:56] sepp2k: has joined #ruby
[14:32:21] jyaworski: has joined #ruby
[14:37:44] jeffreylevesque: has joined #ruby
[14:46:55] coderphive: has joined #ruby
[14:55:21] suukim: has joined #ruby
[14:55:35] grilix: has joined #ruby
[14:58:25] TomyWork: say, does ruby 1.8.7 (don't hit me) support any kind of syntactic sugar for passing hashes to functions? it doesn't support "func(key: value)"
[14:59:24] cyberg: has joined #ruby
[14:59:53] apeiros: ACTION hits TomyWork
[15:00:32] apeiros: TomyWork: iirc last hash arg didn't need {}. but no `foo:` syntax back then, only hash-rockets
[15:01:55] TomyWork: i guess i'll just throw in the extra braces to be safe ^^
[15:02:31] cschneid_: has joined #ruby
[15:02:36] TomyWork: convert a puppet module to ruby 1.8.7 ^^
[15:02:43] TomyWork: converting*
[15:04:55] apeiros: if you have a 1.8.7, you can just try
[15:06:05] rivalomega: has joined #ruby
[15:07:20] TomyWork: well i dont know what intermediate syntactic sugar exists, i started at 1.9-ish
[15:07:34] TomyWork: also, done :)
[15:07:46] TomyWork: it compiles, ship it
[15:08:56] jyaworski: has joined #ruby
[15:10:19] alfiemax_: has joined #ruby
[15:13:08] TomyWork: looks pretty in "git diff --color-words=."
[15:13:42] schneider-: has joined #ruby
[15:16:03] govg: has joined #ruby
[15:16:13] GodFather_: has joined #ruby
[15:18:50] banisterfiend: has joined #ruby
[15:20:27] tomphp: has joined #ruby
[15:29:02] Nick-S: has joined #ruby
[15:30:31] Asher: has joined #ruby
[15:31:34] schneider-: has joined #ruby
[15:37:05] alfiemax: has joined #ruby
[15:39:11] TomyWork: Error: undefined method `content' for #<Array:0x7f6741b42a80> <-- any idea what ruby 1.8.7 complains about here? looked at 2.3.1's docs, there's no #content in Array or Enumerable (or Object, for that matter)
[15:40:11] TomyWork: none in BasicObject or Kernel either
[15:40:30] TomyWork: also, that module doesn't contain the word "content"
[15:40:50] apeiros: Array#content is not a ruby method
[15:41:07] apeiros: so if your code uses that, it has to be added from elsewhere
[15:41:13] TomyWork: ah so it could be puppet-specific
[15:41:20] TomyWork: still doesnt explain why i cant find it :)
[15:41:30] apeiros: you can always ask ruby
[15:41:35] TomyWork: i'll see if i can hack in a stack trace somehow
[15:41:52] apeiros: &ri Method#source_location
[15:41:53] kapil___: I have this string: `"FOREIGN KEY (tax_type_id) REFERENCES ee_guru12.tax_types(id)"`
[15:42:07] kapil___: i want tax_type_id from it with regex
[15:42:08] TomyWork: oh well, i'd have to inject pry into puppet first
[15:42:37] apeiros: hrm, derpy not around?
[15:42:53] TomyWork: derpy, the less bright cousin of pry?
[15:42:57] apeiros: kapil___: what have you tried?
[15:43:06] apeiros: TomyWork: derpy reacts on &ri and links to the docs
[15:43:26] TomyWork: oh it's a bot
[15:43:34] kapil___: apeiros: i know not much regex
[15:44:00] TomyWork: kapil___ best not to parse SQL with regexes :)
[15:44:08] apeiros: kapil___: ok, time to learn it then? I love to help, but I don't love to be used as "please do it for me (and for free)"
[15:44:32] kapil___: apeiros: ok do u suggest good guide for me
[15:44:44] TomyWork: SQL is kind of a context-free language, regular expressions are less powerful than context-free languages
[15:45:02] apeiros: kapil___: http://www.regular-expressions.info is a usable starting point
[15:45:04] TomyWork: well, it's at least context-free
[15:45:35] kapil___: TomyWork: from sql i am not getting that column name . so i have to do regex
[15:45:58] kapil___: apeiros: thanks a lot
[15:46:07] TomyWork: kapil___ what generates those SQLs for you?
[15:46:18] kapil___: "select pg_get_constraintdef(2125957)"
[15:47:12] TomyWork: kapil___ yeah, so you're doing it backwards
[15:47:22] clemens3_: has joined #ruby
[15:47:58] TomyWork: kapil___ i dont know the exact table, but i'm 99% sure you can just select something else and it'll get you the constraint's components
[15:48:46] TomyWork: ask #postgresql about how to get a foreign key constraint's foreign key column
[15:49:02] kapil___: TomyWork: thanks. i asked but they give me this function
[15:49:05] TomyWork: or whatever that is up there, you didnt paste the entire statement
[15:49:34] apeiros: TomyWork: it actually might be
[15:49:47] apeiros: pg doesn't require a `from` clause if it's a function
[15:49:57] apeiros: only oracle has that weird 'from dual' BS
[15:50:28] TomyWork: <MatheusOl> kapil___: If you want the definition, just use pg_get_constraintdef(c.oid)
[15:50:38] TomyWork: kapil___ there is an "if" in that piece of advice
[15:50:51] TomyWork: you did not evaluate the if condition before executing the if body
[15:51:13] TomyWork: apeiros i meant the first one
[15:51:32] TomyWork: apeiros he posted half a foreign key definition
[15:51:42] apeiros: oh, the output of the function?
[15:51:51] kapil___: thanks i not want defination i asked to postgresql hope someone answer
[15:52:12] kapil___: apeiros: yes
[15:52:27] TomyWork: i want royalties
[15:53:27] Klumben: has joined #ruby
[15:54:10] jyaworski: has joined #ruby
[15:55:14] TomyWork: apeiros i think i know what may be going on here... there are other classes that support the #content method. something expects one of them, but gets an array instead
[15:55:20] TomyWork: fun to debug without a stack trace
[15:56:08] orbyt_: has joined #ruby
[15:56:37] TomyWork: but tbh i dont know what those other classes may be
[15:56:52] schneider-: has joined #ruby
[15:57:59] TomyWork: anyway, i gotta go, i'll pick this up next time. thanks for the help, apeiros
[16:05:04] alt155: has joined #ruby
[16:05:06] marxarelli: has joined #ruby
[16:08:57] kapil___: TomyWork: postgresql channel answered my question thanks
[16:09:17] banisterfiend: has joined #ruby
[16:09:25] venmx: has joined #ruby
[16:13:54] grilix: has joined #ruby
[16:17:25] [Butch]: has joined #ruby
[16:18:12] mr_foto: has joined #ruby
[16:20:19] minimalism: has joined #ruby
[16:20:26] Mike11: has joined #ruby
[16:22:10] minimalism: has joined #ruby
[16:23:20] nitric: has joined #ruby
[16:25:46] troys: has joined #ruby
[16:30:33] Psybur: has joined #ruby
[16:33:20] orbyt_: has joined #ruby
[16:33:46] sauvin: has joined #ruby
[16:34:21] jcarl43: has joined #ruby
[16:34:35] sauvin_: has joined #ruby
[16:34:43] drale2k_: has joined #ruby
[16:35:20] banisterfiend: has joined #ruby
[16:40:03] chouhoulis: has joined #ruby
[16:40:16] conta: has joined #ruby
[16:43:16] alfiemax: has joined #ruby
[16:48:50] SeepingN: has joined #ruby
[16:51:20] x77686d: has joined #ruby
[16:51:42] nitric: has joined #ruby
[16:56:20] tAn: has joined #ruby
[16:57:45] Asher: has joined #ruby
[17:00:58] amar: has joined #ruby
[17:02:21] orbyt_: has joined #ruby
[17:05:24] venmx: has joined #ruby
[17:07:52] mondongo: has joined #ruby
[17:08:22] eckhardt_: has joined #ruby
[17:08:45] banisterfiend: has joined #ruby
[17:10:58] Asher: has joined #ruby
[17:11:36] coderphive: has joined #ruby
[17:12:57] nima_m: has joined #ruby
[17:14:33] cliluw: has joined #ruby
[17:15:31] anisha: has joined #ruby
[17:15:40] nima_m: has joined #ruby
[17:20:55] jenrzzz: has joined #ruby
[17:21:18] nima_m: has joined #ruby
[17:22:18] coderphive: has joined #ruby
[17:23:21] samort7: has joined #ruby
[17:24:05] jamiejackson: has joined #ruby
[17:37:07] alfiemax: has joined #ruby
[17:41:50] nitric_: has joined #ruby
[17:42:02] alfiemax: has joined #ruby
[17:44:32] houhoulis: has joined #ruby
[17:46:45] jyaworski: has joined #ruby
[17:47:08] ramfjord: has joined #ruby
[17:50:54] madrax: has joined #ruby
[17:52:45] nima_m: has joined #ruby
[17:55:17] ccrow: has joined #ruby
[17:58:51] emph^: has joined #ruby
[18:05:48] sameerynho: has joined #ruby
[18:15:27] reber: has joined #ruby
[18:15:40] anisha: has joined #ruby
[18:15:57] jyaworski: has joined #ruby
[18:16:34] nicoulaj: has joined #ruby
[18:16:52] Zarthus: has joined #ruby
[18:21:47] krawchyk: has joined #ruby
[18:23:32] chouhoulis: has joined #ruby
[18:26:38] bathtub_shark: has joined #ruby
[18:27:38] dionysus69: has joined #ruby
[18:29:11] banisterfiend: has joined #ruby
[18:30:21] FrostCandy: has joined #ruby
[18:30:51] anisha: has joined #ruby
[18:32:50] GodFather_: has joined #ruby
[18:33:33] pabloh: has joined #ruby
[18:34:02] silviu: has joined #ruby
[18:35:52] blackmesa: has joined #ruby
[18:37:09] alfiemax_: has joined #ruby
[18:47:28] stairmast0r: has joined #ruby
[18:51:51] Hanmac: has joined #ruby
[18:52:19] jenrzzz: has joined #ruby
[18:52:19] jenrzzz: has joined #ruby
[18:52:45] sarmiena_: has joined #ruby
[19:02:00] alfiemax: has joined #ruby
[19:03:12] jenrzzz_: has joined #ruby
[19:05:36] RougeR: has joined #ruby
[19:12:23] mroutis_: has joined #ruby
[19:13:31] krawchyk: has joined #ruby
[19:13:56] sarmiena_: i’ve had a ruby install on production machine for a while using SSL via httparty and such successfully. all of a sudden i’m getting “OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed” for a service we’ve had for a while
[19:14:13] sarmiena_: is it possible that they updated certs using a different vendor & my ca_certs are out of date?
[19:15:07] SeepingN: sure why not
[19:15:40] bmurt: has joined #ruby
[19:15:53] sarmiena_: ok. so i’m using rvm… used apt-get (ubuntu 14.04) to update openssl. then reinstalled ruby via ‘rvm install’, but still nothing working
[19:17:42] JoL1hAHN: has joined #ruby
[19:18:20] miah: have you verified the certificates are valid and non-expired?
[19:19:20] SeepingN: next step should NOT be "I reinstalled the operating system"
[19:19:53] sarmiena_: SeepingN: do you have any ideas other than droll quips? sorry, but it’s just adding noise
[19:20:43] sarmiena_: miah: ack that would be a good idea. it’s authorize.net, so figure it shouldn’t be the case, but i suppose you can never be too sure
[19:20:59] SeepingN: ye: inspect the certificate that it's complaining about
[19:21:42] sarmiena_: SeepingN: but for record i reinstalled ruby because it uses the headers of openssl during setup. so if i update openssl, i would have to rebuild ruby in order for it to use said headers
[19:21:47] SeepingN: "certificate B: " ...? A secondary cert?
[19:22:26] sarmiena_: i think certificate b refers to the remote certificate. i’ll check
[19:22:34] miah: ubuntu 14.04 is a Long Term Support release, I dont think updating openssl will do much more than patch security vulns, not going to change behavior/functionality
[19:22:59] miah: well, it _shouldnt_ change behavior or functionality =)
[19:23:29] sarmiena_: miah: i think it would also update security certificates so that you can utilize openssl, though
[19:23:33] sarmiena_: since it’s LTS
[19:24:10] tomphp: has joined #ruby
[19:25:52] miah: you can also just download the cacert.pem from curl.haxx.se and then run `update-ca-certificates`
[19:26:54] jenrzzz: has joined #ruby
[19:27:10] sarmiena_: miah: so update on the remote ssl certificate. looks up to date: just went to https://api.authorize.net/
[19:28:24] Cavallari: has joined #ruby
[19:28:27] ccrow: has joined #ruby
[19:29:13] miah: so your code is connecting to that api endpoint?
[19:32:06] zxq2: question: how do you determine what exceptions a method raises, if you're using some big library for instance?
[19:32:21] miah: sarmiena_: i'd read through this https://mislav.net/2013/07/ruby-openssl/
[19:32:58] sarmiena_: miah: thanks for the pointer. reading now
[19:33:12] miah: good luck =)
[19:35:08] zxq2: like in openssl ruby bindings for instance - is there a way aside from the documentation, which is pretty sparse in the case openssl, to determine which exceptions a method raises?
[19:35:49] x77686d: has joined #ruby
[19:37:59] orbyt_: has joined #ruby
[19:41:10] miah: look at the code?
[19:41:18] tAn: has joined #ruby
[19:44:28] John_Ivan: has joined #ruby
[19:48:25] venmx: has joined #ruby
[19:50:59] devyn: has joined #ruby
[19:53:23] RougeR: has joined #ruby
[19:54:08] n008f4g_: has joined #ruby
[19:55:03] cagomez: has joined #ruby
[19:58:11] orbyt_: has joined #ruby
[19:58:27] burgestrand: has joined #ruby
[19:59:13] x77686d: has joined #ruby
[20:04:04] jyaworski: has joined #ruby
[20:08:52] howdoi: has joined #ruby
[20:11:33] nhh^: has joined #ruby
[20:12:52] Sembei: has joined #ruby
[20:12:53] devyn: has joined #ruby
[20:14:29] alfiemax: has joined #ruby
[20:19:23] HemmE: has joined #ruby
[20:20:57] sanscoeur: has joined #ruby
[20:21:03] orbyt_: has joined #ruby
[20:25:27] ramfjord: has joined #ruby
[20:26:35] FastJack: has joined #ruby
[20:31:47] andrevan: has joined #ruby
[20:38:12] ccrow: has joined #ruby
[20:38:26] jenrzzz: has joined #ruby
[20:39:16] jyaworski: has joined #ruby
[20:50:02] alfiemax: has joined #ruby
[20:51:07] venmx: has joined #ruby
[20:53:40] tomphp: has joined #ruby
[20:54:34] muffiny: has joined #ruby
[20:56:07] _whitelogger: has joined #ruby
[21:02:08] tAn: has joined #ruby
[21:08:36] tanguy_: has joined #ruby
[21:10:24] breakfast1: so I'm reading Ruby under a microscope by Pat Shaughnessy
[21:10:40] breakfast1: and I'm experimenting with Ripper
[21:10:44] breakfast1: as of ruby 2.5.0
[21:11:24] baweaver: !unban gizmore
[21:11:25] ruby[bot]: baweaver: I could not identify any bans matching the nick "gizmore"
[21:11:38] breakfast1: in the book Ripper.lex(code) returns a list
[21:12:09] breakfast1: of items that have a format similar to [[2, 5], :on_ident, "t"]
[21:12:11] baweaver: Remember that the book was written around 2.0 or 2.1 iirc
[21:12:12] baweaver: So things may have changed in those more restricted APIs
[21:12:48] breakfast1: but when running in 2.5.0 there is an extra constant (all uppercase) at the end of each item
[21:12:56] breakfast1: for example: [[2, 5], :on_ident, "t", EXPR_END|EXPR_LABEL]
[21:13:15] breakfast1: And I'm curious to know what is the purpose of those constants
[21:13:33] breakfast1: baweaver: of course, thanks for the tip
[21:14:12] baweaver: You might cross-reference the online Ripper documentation
[21:14:21] gizmore: has joined #ruby
[21:15:38] breakfast1: I just understoof
[21:16:14] ur5us: has joined #ruby
[21:17:15] breakfast1: So this constant is the last_state (in parse.y) under which the token has been... well, tokenized
[21:18:42] baweaver: ACTION needs to consider poking Ripper some time
[21:19:30] rfoust: has joined #ruby
[21:21:00] nickjj: has joined #ruby
[21:21:19] burgestrand: has joined #ruby
[21:25:58] pilne: has joined #ruby
[21:38:49] venmx: has joined #ruby
[21:48:11] n0m4d1c: has joined #ruby
[21:50:42] mroutis: has joined #ruby
[21:52:10] jenrzzz: has joined #ruby
[21:58:58] gr33n7007h: has joined #ruby
[21:59:54] houhoulis: has joined #ruby
[22:07:38] x77686d: has joined #ruby
[22:10:36] tAn: has joined #ruby
[22:15:30] chocoelho: has joined #ruby
[22:16:39] alfiemax: has joined #ruby
[22:16:42] tomphp: has joined #ruby
[22:17:29] jyaworski: has joined #ruby
[22:21:03] GodFather_: has joined #ruby
[22:22:43] GodFather_: has joined #ruby
[22:30:34] x77686d: has joined #ruby
[22:36:00] rivalomega: has joined #ruby
[22:36:30] alex``: has joined #ruby
[22:42:49] cschneid_: has joined #ruby
[22:43:07] orbyt_: has joined #ruby
[22:51:17] sucks: has joined #ruby
[22:51:45] alfiemax: has joined #ruby
[22:52:36] Azure|dc: has joined #ruby
[22:52:41] MyMind: has joined #ruby
[22:55:13] ren0v0: has joined #ruby
[22:55:54] ccrow: has joined #ruby
[22:59:47] eckhardt_: has joined #ruby
[22:59:57] phenom: has joined #ruby
[23:01:21] pabs: has joined #ruby
[23:01:22] exll22: has joined #ruby
[23:02:32] mli: has joined #ruby
[23:03:42] karapetyan: has joined #ruby
[23:05:43] karapetyan: has joined #ruby
[23:06:07] karapetyan: has joined #ruby
[23:06:50] MikasiCoyote: has joined #ruby
[23:10:35] jyaworski: has joined #ruby
[23:12:46] workmad3: has joined #ruby
[23:15:58] Paraxial: has joined #ruby
[23:16:17] Rapture: has joined #ruby
[23:18:34] pabs: has joined #ruby
[23:21:46] cagomez: has joined #ruby
[23:22:11] jyaworski: has joined #ruby
[23:24:46] tomphp: has joined #ruby
[23:26:04] mli: hi why is this returning an error on line 21?
[23:26:04] mli: https://bpaste.net/show/fb2e5c7614fb
[23:28:21] alfiemax: has joined #ruby
[23:28:33] tomphp: has joined #ruby
[23:30:42] dr3wo: has joined #ruby
[23:32:02] gizmore: mli: i bet your regular expression split is causing it
[23:32:11] gizmore: gimme 64 seconds
[23:32:44] x77686d: has joined #ruby
[23:33:14] gizmore: mli: code looks good... maybe specify ports
[23:33:35] white_lilies: has joined #ruby
[23:34:51] tomphp: has joined #ruby
[23:34:53] gizmore: mli: ran code through skynet logic gate .... all fine
[23:35:12] gizmore: did you specify at least one port?
[23:35:28] chocoelho: has joined #ruby
[23:35:37] redlegion: has joined #ruby
[23:36:27] tomphp: has joined #ruby
[23:36:41] cagomez: has joined #ruby
[23:37:19] tomphp: has joined #ruby
[23:38:18] jnollette: has joined #ruby
[23:38:46] tomphp: has joined #ruby
[23:40:16] tomphp: has joined #ruby
[23:41:56] tomphp: has joined #ruby
[23:43:07] Yzguy: has joined #ruby
[23:47:05] jnollette: has joined #ruby
[23:51:33] MikasiCoyote: has joined #ruby
[23:54:52] Pisuke: has joined #ruby
[23:58:31] mli: well the syntax its telling me to use is host:port
[23:58:34] mli: and i did that