« Back to channel list

#ruby - 30 April 2019

« Back 1 day Forward 1 day »
[00:04:10] adam12: CableNinja: Can you share the code you're using?
[00:04:17] CableNinja: sure, one sec
[00:06:37] jottr: has joined #ruby
[00:06:40] ngw: has joined #ruby
[00:06:52] skryking_: has joined #ruby
[00:08:58] CableNinja: @adam12, https://gitlab.com/snippets/1852323
[00:10:52] adam12: CableNinja: And you're saying, when you run the server, openssl s_client works, Ruby doesn't.
[00:11:15] CableNinja: correct. one sec, I'll snippet the outputs
[00:15:27] CableNinja: @adam12, https://gitlab.com/snippets/1852325
[00:16:49] orbyt_: has joined #ruby
[00:17:24] CableNinja: as far as I can tell, it seems to be a problem with the client side code
[00:19:03] CableNinja: I've tried all sorts of variations on ssl/tls version as well as ciphers, nothing seems to make a difference
[00:19:50] Swyper: has joined #ruby
[00:20:08] adam12: CableNinja: There's a ton going on in here. I'd probably try to reduce it down into 2 small scripts to reproduce.
[00:20:56] OneNeptune: has joined #ruby
[00:23:54] hightower2: has joined #ruby
[00:25:16] krawchyk: has joined #ruby
[00:26:56] ngw: has joined #ruby
[00:29:18] hightower2: has joined #ruby
[00:32:20] Swyper: has joined #ruby
[00:35:00] jottr: has joined #ruby
[00:37:21] ngw: has joined #ruby
[00:40:50] CableNinja: adam12, alright, will do. do you have any info regarding what those SSL errors actually mean? (ssl errors are so unhelpful sometimes)
[00:41:13] adam12: CableNinja: Not really. I took the liberty of pulling out a bunch of your code into 2 smaller files and it _looks_ like it works, at least on my end.
[00:41:21] adam12: CableNinja: But I ripped out everything to do with threads and loops and connection handlers.
[00:41:37] adam12: CableNinja: OpenSSL errors are definitely unhelpful :\
[00:41:54] adam12: CableNinja: Maybe try my 2 small versions and see if they work? If they do, maybe we can see where your code differs from mine.
[00:42:45] CableNinja: ok, I'll try the same here in a bit, about to eat dinner
[00:43:57] adam12: CableNinja: https://gist.github.com/adam12/7ef117cde9283e642be94107efe0fd8a
[00:47:27] ngw: has joined #ruby
[00:55:56] jottr: has joined #ruby
[00:57:21] Swyper: has joined #ruby
[01:00:51] Swyper: has joined #ruby
[01:07:21] ngw: has joined #ruby
[01:16:53] jottr: has joined #ruby
[01:17:05] seydar: has joined #ruby
[01:17:56] seydar: what's the idiom i'm looking for here? `def search(query=nil, opts={})...`
[01:18:46] seydar: `search "str"` or `search :param => 3`. right now, passing a hash is greedily accepted as the `query` parameter
[01:19:55] fphilipe: has joined #ruby
[01:25:48] adam12: seydar: If you're _stuck_ with that style of method signature, you might have to get fancy and accept an array of args.
[01:26:09] adam12: seydar: If you're not stuck with that style of method signature, you might be able to make query a keyword argument and then capture the rest of the keyword arguments as options.
[01:26:25] adam12: seydar: If you're looking for a name of that style of method, I might call it polymorphic?
[01:27:33] ngw: has joined #ruby
[01:29:31] seydar: adam12: i feel so old, i disappeared right before keyword arguments became a thing
[01:29:58] adam12: seydar: They're mostly good, tho some parts are jank and Matz yearns to fix them.
[01:30:36] adam12: seydar: You might be able to do something like `def search(query: nil, **opts)` if you're on a reasonably new version of Ruby.
[01:30:51] adam12: seydar: Also, you should come back.
[01:31:06] seydar: adam12: ahh, i just discovered the **
[01:31:10] seydar: i'm rocking 2.6
[01:31:56] jelera: has joined #ruby
[01:32:02] Puffball: has joined #ruby
[01:32:31] seydar: adam12: okay, the double splat is exactly what i'm looking for. i'm convinced precedence changed at some point in the past five years, because i swear that was an idiom i used to use
[01:33:34] dsmythe: has joined #ruby
[01:33:45] seydar: thank you!
[01:33:54] adam12: seydar: I can't remember when it was introduced but it's wicked handy
[01:34:12] adam12: seydar: Also I screwed up; with kwargs, you can still use a nil-default positional param.
[01:34:23] adam12: seydar: So this signature is fine too if you want it: `def search(query=nil, **opts)`
[01:35:01] OneNeptune: has joined #ruby
[01:35:53] samu: has joined #ruby
[01:37:11] seydar: adam12: yep, that's what i ended up going with
[01:37:48] jottr: has joined #ruby
[01:40:27] tdy1: has joined #ruby
[01:47:47] ngw: has joined #ruby
[01:47:49] dsmythe: has joined #ruby
[01:53:20] jmcgnh: has joined #ruby
[01:58:30] SeepingN: has joined #ruby
[01:58:43] jottr: has joined #ruby
[02:02:55] dviola: has joined #ruby
[02:07:53] ngw: has joined #ruby
[02:14:14] zacts: has joined #ruby
[02:14:59] zacts: has joined #ruby
[02:18:53] tdy1: has joined #ruby
[02:28:17] ngw: has joined #ruby
[02:35:24] jelera: has joined #ruby
[02:48:31] ngw: has joined #ruby
[03:08:44] ngw: has joined #ruby
[03:09:52] braincrash: has joined #ruby
[03:16:55] gix: has joined #ruby
[03:19:13] spacesuitdiver: has joined #ruby
[03:20:52] fphilipe: has joined #ruby
[03:22:10] ramfjord: has joined #ruby
[03:26:52] OneNeptune: has joined #ruby
[03:28:49] ngw: has joined #ruby
[03:31:39] duderonomy: has joined #ruby
[03:39:25] ngw: has joined #ruby
[03:45:32] ricekrispie: has joined #ruby
[03:49:32] ngw: has joined #ruby
[04:09:26] ngw: has joined #ruby
[04:22:45] Puffball: has joined #ruby
[04:25:55] OneNeptune: has joined #ruby
[04:26:55] Stan: has joined #ruby
[04:29:42] ngw: has joined #ruby
[04:31:23] dellavg_: has joined #ruby
[04:45:41] marmotini_: has joined #ruby
[04:49:51] ngw: has joined #ruby
[05:07:37] ngw: has joined #ruby
[05:11:52] reber: has joined #ruby
[05:13:04] Swyper: has joined #ruby
[05:13:12] conta: has joined #ruby
[05:14:17] zenom: has joined #ruby
[05:26:51] sauvin: has joined #ruby
[05:33:01] fphilipe: has joined #ruby
[05:35:45] dar123: has joined #ruby
[05:38:28] quarters: woodruffw, thanks. I was wondering if some_hash.find or find_all will be a linear operation
[05:57:21] hightower2: has joined #ruby
[06:09:47] DTZUZO: has joined #ruby
[06:10:01] abaiste^: has joined #ruby
[06:16:24] dionysus69: has joined #ruby
[06:18:48] fphilipe: has joined #ruby
[06:19:50] hightower2: has joined #ruby
[06:23:08] pwnd_nsfw`: has joined #ruby
[06:29:19] fphilipe: has joined #ruby
[06:41:31] spacesuitdiver: has joined #ruby
[06:44:14] dar123: has joined #ruby
[06:46:04] andikr: has joined #ruby
[06:46:19] krandi: has joined #ruby
[06:48:10] _whitelogger: has joined #ruby
[06:54:10] _whitelogger: has joined #ruby
[06:55:33] aupadhye: has joined #ruby
[06:57:46] zapata: has joined #ruby
[07:06:20] _joes_: has joined #ruby
[07:09:10] _whitelogger: has joined #ruby
[07:14:38] clemens3_: has joined #ruby
[07:18:15] aupadhye: has joined #ruby
[07:19:24] jefffrails35: has joined #ruby
[07:22:34] ramfjord: has joined #ruby
[07:25:40] BH23: has joined #ruby
[07:33:10] _whitelogger: has joined #ruby
[07:34:05] zacts: has joined #ruby
[07:38:37] MihaRekar: has joined #ruby
[07:45:11] _whitelogger: has joined #ruby
[07:51:07] pwnd_nsfw: has joined #ruby
[07:51:16] conta1: has joined #ruby
[07:51:34] prestorium: has joined #ruby
[07:53:52] marmotini_: has joined #ruby
[07:54:10] _whitelogger: has joined #ruby
[07:55:21] alem0lars: has joined #ruby
[08:00:00] waheedi: has joined #ruby
[08:05:11] teclator: has joined #ruby
[08:05:57] dsmythe: has joined #ruby
[08:06:55] jottr: has joined #ruby
[08:28:00] lxsameer: has joined #ruby
[08:30:06] ur5us: has joined #ruby
[08:32:26] ngw: has joined #ruby
[08:39:17] jottr: has joined #ruby
[08:39:41] conta: has joined #ruby
[08:41:20] _joes_: has joined #ruby
[08:41:29] BH23: has joined #ruby
[08:42:00] _joes_: has joined #ruby
[08:43:14] KeyJoo: has joined #ruby
[08:44:13] marmotini: has joined #ruby
[08:52:30] galaxie: has joined #ruby
[08:53:04] kyrylo: has joined #ruby
[08:56:14] MihaRekar: has joined #ruby
[09:00:12] jottr: has joined #ruby
[09:17:40] dhollinger: has joined #ruby
[09:19:07] kapil____: has joined #ruby
[09:21:07] jottr: has joined #ruby
[09:23:27] Dbugger: has joined #ruby
[09:28:40] marmotini_: has joined #ruby
[09:28:53] ech0s7: has joined #ruby
[09:30:35] pwnd_nsfw`: has joined #ruby
[09:30:37] m_antis: has joined #ruby
[09:36:35] ech0s7: I'm redefining the to_json method of the Hash class, here: https://rextester.com/WFIS61395. But how can I call the default(super= to_json method from my method?
[09:36:37] Jonopoly: has joined #ruby
[09:39:12] mwlang: has joined #ruby
[09:42:06] jottr: has joined #ruby
[09:50:26] iMadper: has joined #ruby
[09:53:37] _joes_: has joined #ruby
[09:55:09] unmanbearpig: has joined #ruby
[10:03:01] jottr: has joined #ruby
[10:05:44] teclator: has joined #ruby
[10:12:15] phaul: ech0s7: you can prepend a module
[10:13:24] phaul: &ri Module#prepend
[10:13:25] rubydoc: https://ruby-doc.org/core-2.6/Module.html#method-i-prepend
[10:14:21] conta: has joined #ruby
[10:14:46] phaul: http://leohetsch.com/include-vs-prepend-vs-extend/
[10:20:11] dviola: has joined #ruby
[10:23:38] jmcgnh: has joined #ruby
[10:23:56] jottr: has joined #ruby
[10:25:04] iMadper`: has joined #ruby
[10:28:46] ech0s7: phaul: do you have an example?
[10:29:36] RedSnarf: has joined #ruby
[10:31:17] jmcgnh: has joined #ruby
[10:31:27] phaul: &>> class X ; def to_json; "orig"; end; end; module New; def to_json; "> #{super} <"; end; end; X.prepend(New); X.new.to_json
[10:31:29] rubydoc: # => "> orig <" (https://carc.in/#/r/6t8b)
[10:32:40] gregf_: has joined #ruby
[10:37:49] ur5us: has joined #ruby
[10:39:52] jmcgnh: has joined #ruby
[10:48:52] _joes_: has joined #ruby
[10:49:23] jmcgnh: has joined #ruby
[10:50:20] jottr: has joined #ruby
[10:55:06] jmcgnh: has joined #ruby
[10:58:28] jmcgnh: has joined #ruby
[11:01:34] jefffrails35: has joined #ruby
[11:04:06] jmcgnh: has joined #ruby
[11:07:39] jmcgnh: has joined #ruby
[11:07:51] ech0s7: thanks phaul
[11:09:39] AJA4350: has joined #ruby
[11:11:14] jottr: has joined #ruby
[11:13:08] jmcgnh: has joined #ruby
[11:14:01] GodFather: has joined #ruby
[11:17:30] jmcgnh: has joined #ruby
[11:23:02] ramfjord: has joined #ruby
[11:32:08] jottr: has joined #ruby
[11:34:17] suukim: has joined #ruby
[11:41:21] prestorium: has joined #ruby
[11:51:19] jottr: has joined #ruby
[11:58:23] jmcgnh: has joined #ruby
[12:02:16] jmcgnh: has joined #ruby
[12:02:49] vondruch: has joined #ruby
[12:04:29] andikr: has joined #ruby
[12:06:55] OneNeptune: has joined #ruby
[12:07:19] ldnunes: has joined #ruby
[12:07:26] troulouliou_dev: has joined #ruby
[12:08:46] jmcgnh: has joined #ruby
[12:16:54] _joes_: has joined #ruby
[12:17:05] BH23: has joined #ruby
[12:20:36] jmcgnh: has joined #ruby
[12:23:06] vondruch_: has joined #ruby
[12:28:09] woodruffw: quarters: yep, both should be linear/linear with some coefficient (since you're applying an additional test to the key)
[12:28:20] teclator_: has joined #ruby
[12:30:45] towo: Is there a simple way I can combine a regexp match on a string with an if clause and parsing the match data? So e.g. 'if foo.match?(bar) then puts "#{2}" end'
[12:32:28] jmcgnh: has joined #ruby
[12:34:47] hightower2: has joined #ruby
[12:39:03] towo: To specify: yes, in my current instance I can reduce it to the string returned from the match, but this is assuming I actually wanted to parse the data; I could store the matchdata and do an if on it, of course, I was just wondering if there's a more elegant way to have it appropriately ephemeral
[12:44:37] hightower2: has joined #ruby
[12:56:06] fphilipe_: has joined #ruby
[12:56:55] vondruch: has joined #ruby
[12:59:02] ech0s7: has joined #ruby
[13:04:55] alem0lars: has joined #ruby
[13:06:18] dsmythe: has joined #ruby
[13:08:23] jmcgnh: has joined #ruby
[13:09:55] bmurt: has joined #ruby
[13:14:14] fphilipe_: has joined #ruby
[13:16:15] houhoulis: has joined #ruby
[13:24:10] jelera: has joined #ruby
[13:27:08] queip: has joined #ruby
[13:27:33] unmanbearpig: has joined #ruby
[13:27:52] unmanbearpig: has joined #ruby
[13:38:54] pupsikov: has joined #ruby
[13:41:53] OneNeptune: has joined #ruby
[13:42:54] jmcgnh: has joined #ruby
[13:45:53] Rapture: has joined #ruby
[13:46:12] zacts: has joined #ruby
[13:51:10] zacts: has joined #ruby
[14:02:44] gnufied: has joined #ruby
[14:05:23] spacesuitdiver: has joined #ruby
[14:05:47] adam12: towo: I'm not sure if I followed exactly, but Regexp.match accepts a block to run if it matches.
[14:06:31] adam12: towo: bar.match(foo) { |m| puts m[2] }
[14:11:43] kkap: has joined #ruby
[14:24:10] jottr: has joined #ruby
[14:30:02] laaron: has joined #ruby
[14:31:12] jottr: has joined #ruby
[14:41:07] _joes_: has joined #ruby
[14:41:16] BH23: has joined #ruby
[14:42:23] Swyper: has joined #ruby
[14:44:04] conta1: has joined #ruby
[14:46:20] aupadhye: has joined #ruby
[14:46:56] def_jam: has joined #ruby
[14:47:06] eb0t_: has joined #ruby
[14:51:11] teclator: has joined #ruby
[14:52:26] Inline: has joined #ruby
[14:53:39] polishdub: has joined #ruby
[14:54:51] lucasb: has joined #ruby
[15:00:58] Swyper: has joined #ruby
[15:01:22] jelera: has joined #ruby
[15:03:30] banko: has joined #ruby
[15:07:05] _joes_: has joined #ruby
[15:12:28] jelera: has joined #ruby
[15:12:59] donofrio: has joined #ruby
[15:25:10] jelera: has joined #ruby
[15:27:44] jottr_: has joined #ruby
[15:31:15] skryking__: has joined #ruby
[15:31:16] cliluw: has joined #ruby
[15:32:07] jelera: has joined #ruby
[15:39:55] alem0lars: has joined #ruby
[15:40:30] tdy1: has joined #ruby
[15:45:45] dellavg_: has joined #ruby
[15:51:45] jelera: has joined #ruby
[15:55:21] dar123: has joined #ruby
[16:05:15] jcarl43: has joined #ruby
[16:07:49] Swyper: has joined #ruby
[16:15:37] dionysus70: has joined #ruby
[16:17:31] conta1: has joined #ruby
[16:18:51] comet23: has joined #ruby
[16:18:56] comet23: t/msg nickserv identify password
[16:23:08] OneNeptune: has joined #ruby
[16:24:43] dar123: has joined #ruby
[16:28:46] jelera: has joined #ruby
[16:29:29] zacts: has joined #ruby
[16:47:30] podlech: has joined #ruby
[16:48:29] podlech: has joined #ruby
[16:55:20] waheedi: has joined #ruby
[16:56:22] duderonomy: has joined #ruby
[17:01:59] Swyper: has joined #ruby
[17:04:19] nowhere_man: has joined #ruby
[17:06:33] dar123: has joined #ruby
[17:14:07] dsmythe: has joined #ruby
[17:14:50] jmcgnh: has joined #ruby
[17:16:12] jelera: has joined #ruby
[17:22:02] cd: has joined #ruby
[17:22:21] Swyper: has joined #ruby
[17:23:07] OneNeptune: has joined #ruby
[17:23:27] gix: has joined #ruby
[17:26:57] jmcgnh: has joined #ruby
[17:33:51] sameerynho: has joined #ruby
[17:33:58] jmcgnh: has joined #ruby
[17:34:43] crawler: has joined #ruby
[17:35:58] miah: all i saw was hunter2
[17:37:49] spacesuitdiver: has joined #ruby
[17:40:46] fphilipe: has joined #ruby
[17:47:27] jelera: has joined #ruby
[17:51:30] ramfjord: has joined #ruby
[17:54:56] Swyper: has joined #ruby
[17:58:58] jelera: has joined #ruby
[17:59:44] jelera: has joined #ruby
[18:00:06] jmcgnh: has joined #ruby
[18:00:29] jelera: has joined #ruby
[18:01:19] jelera: has joined #ruby
[18:02:02] jelera: has joined #ruby
[18:02:37] dar123: has joined #ruby
[18:21:27] ldnunes: has joined #ruby
[18:24:01] dante: has joined #ruby
[18:33:59] jmcgnh: has joined #ruby
[18:34:38] pupsikov: has joined #ruby
[18:39:42] jmcgnh: has joined #ruby
[18:47:15] jmcgnh: has joined #ruby
[18:51:45] zephiro: has joined #ruby
[18:53:05] dinfuehr: has joined #ruby
[18:59:27] dsmythe: has joined #ruby
[19:05:23] sparch: has joined #ruby
[19:07:33] fphilipe: has joined #ruby
[19:11:37] ech0s7: has joined #ruby
[19:12:04] ech0s7: it is possible to replace a function of an object?
[19:13:29] phaul: in general yes. apart from that it's method not function.
[19:14:21] phaul: &>> a = 'cat'; def a.upcase; self + "!!!"; end; a.upcase
[19:14:25] rubydoc: # => "cat!!!" (https://carc.in/#/r/6tay)
[19:14:26] hightower2: has joined #ruby
[19:15:20] VG234: has joined #ruby
[19:15:29] phaul: but. for instance this fails:
[19:15:35] phaul: &>> a = 1; def a.double; self * 2; end; a.double
[19:15:35] rubydoc: # => can't define singleton (TypeError) stderr: -e:2:in `<main>': can't define singleton (TypeError) (https://carc.in/#/r/6tb0)
[19:17:12] queip: has joined #ruby
[19:19:00] phaul: it's not really replacing though, the original implementation still exists at the same place, just that a SingletonClass jumped in front of it that now catches the method lookup ( as the new class of the object is its singleton class whose parent is the original class ).
[19:19:15] jmcgnh: has joined #ruby
[19:19:39] phaul: very similar to module prepend, except that would affect all instances as opposed tojust one object
[19:21:41] ech0s7: phaul: but in case then I would call the original method from the "patched" one?
[19:21:59] VG234: When I try to load a file in to irb it just falls back to prompt: http://dpaste.com/08F01XT. Shouldn't it stay in irb?
[19:22:56] phaul: you can just call super. super just goes further up in the class hierarchy, it doesnt care if it's a singleton class, a prepended module, or any other class
[19:23:08] ech0s7: &>> a = 'cat'; def a.upcase; self + super.upcase; end; a.upcase
[19:23:09] rubydoc: # => "catCAT" (https://carc.in/#/r/6tb2)
[19:25:09] phaul: one thing to note is that object.class lies in this case.
[19:25:44] phaul: &>> a = 'cat' ; def a.upcase 'xx'; end; a.class
[19:25:45] rubydoc: stderr: -e:2: syntax error, unexpected tSTRING_BEG, expecting ';' or '\n' (https://carc.in/#/r/6tb3)
[19:26:04] jmcgnh: has joined #ruby
[19:27:14] phaul: &>> a = 'cat' ; def a.upcase; 'xx'; end; a.class
[19:27:16] rubydoc: # => String (https://carc.in/#/r/6tb7)
[19:27:34] VG234: OK. found that I need quotes around the word. That is fixed.
[19:27:44] phaul: it's the singletonclass of object pointed by a really, but it just says String. Same with prepended modules
[19:29:30] marmotini_: has joined #ruby
[19:31:42] jmcgnh: has joined #ruby
[19:32:14] gigetoo: has joined #ruby
[19:32:30] ech0s7: phaul: imagine you define upcase in a function
[19:32:47] ech0s7: a = 'cat' ; def init; def a.upcase; 'xx'; end; end; a.class
[19:33:31] ech0s7: &>> a = 'cat' ; def init(obj); def a.upcase; 'xx'+obj; end; end; a.class
[19:33:32] rubydoc: # => String (https://carc.in/#/r/6tb8)
[19:33:52] phaul: a is not visible inside init as def is lexical scope for locals
[19:34:18] phaul: you can use blocks with define_method, if you want to break that lexical scope
[19:36:14] phaul: &>> a = 'cat' ; define_method(:init) { |obj| a.define_method(:upcase) { 'xx' + obj } }
[19:36:15] rubydoc: # => :init (https://carc.in/#/r/6tb9)
[19:36:51] spacesuitdiver: has joined #ruby
[19:37:15] jmcgnh: has joined #ruby
[19:38:23] phaul: actually you would need a.define_singleton_method
[19:40:29] ech0s7: phaul: this is my case
[19:40:29] ech0s7: https://rextester.com/WLP77081
[19:41:00] phaul: &>> a = 'cat' ; define_method(:init) { |obj| a.define_singleton_method(:upcase) { 'xx' + obj } }; init('!!!'); a.upcase
[19:41:01] rubydoc: # => "xx!!!" (https://carc.in/#/r/6tba)
[19:41:04] ech0s7: from line 9 I need to access to the field initialized in the outer function
[19:42:19] phaul: yeah, my last example is 1:1 applicable, just rename the variables
[19:43:27] phaul: str.define_singleton_method(:test) { @foobar } # it doesn't even have to be @, it can be just local var
[19:44:39] phaul: blocks let outer scope local variables through. or in other word they are closures
[19:46:13] postmodern: has joined #ruby
[19:47:44] OneNeptune: has joined #ruby
[19:47:53] jmcgnh: has joined #ruby
[19:48:09] ech0s7: phaul: the problem with define_singleton_method() is that you cannot call the super
[19:48:52] dionysus70: has joined #ruby
[19:49:07] phaul: &>> a = 'cat' ; define_method(:init) { |obj| a.define_singleton_method(:upcase) { super + obj } }; init('!!!'); a.upcase
[19:49:08] rubydoc: # => implicit argument passing of super from method defined by define_method() is not supported. Specify all... check link for more (https://carc.in/#/r/6tbn)
[19:49:17] phaul: &>> a = 'cat' ; define_method(:init) { |obj| a.define_singleton_method(:upcase) { super() + obj } }; init('!!!'); a.upcase
[19:49:17] rubydoc: # => "CAT!!!" (https://carc.in/#/r/6tbo)
[19:53:55] ech0s7: phaul: I'm getting this error: implicit argument passing of super from method defined by define_method() is not supported. Specify all arguments explicitly.
[19:53:59] ech0s7: calling super
[19:54:29] phaul: yeah just pass arguments explicitly ie super()
[19:54:51] bmurt: has joined #ruby
[19:56:30] zacts: has joined #ruby
[19:57:46] ech0s7: phaul: I'm passing the arguments
[19:58:00] ech0s7: super.test("aaa")
[19:58:56] phaul: no. super is a keyword that is calling the parent with matching name, so super("aaa")
[19:59:12] jmcgnh: has joined #ruby
[19:59:32] ech0s7: it works!!
[19:59:38] ech0s7: thanks phaul, really
[20:04:11] nowhere_man: has joined #ruby
[20:04:11] jmcgnh: has joined #ruby
[20:08:10] jmcgnh: has joined #ruby
[20:08:36] VG234: has joined #ruby
[20:18:39] jmcgnh: has joined #ruby
[20:20:08] SuperL4g: has joined #ruby
[20:26:41] sticaz: has joined #ruby
[20:28:09] jmcgnh: has joined #ruby
[20:34:30] wildermind: has joined #ruby
[20:41:56] prestorium: has joined #ruby
[20:44:23] jmcgnh: has joined #ruby
[20:48:28] jmcgnh: has joined #ruby
[20:53:09] SeepingN: has joined #ruby
[20:58:05] GodFather: has joined #ruby
[21:03:10] troulouliou_dev: has joined #ruby
[21:03:57] jmcgnh: has joined #ruby
[21:07:40] CableNinja: adam12, I think I sorted out my problem... I think... idk, I'm running on only a few hours of sleep. It seems that when using Threads/fork, you need to completely start the connection (TCPSocket/SSLSocket) within the thread, at least, thats what I think the problem ended up being. I stripped the entire start_client command into the loop that had the thread portion
[21:08:58] jmcgnh: has joined #ruby
[21:09:51] sp01nk: has joined #ruby
[21:12:06] ur5us: has joined #ruby
[21:20:50] sp01nk: has joined #ruby
[21:23:04] fphilipe: has joined #ruby
[21:26:39] prestorium: has joined #ruby
[21:35:19] jmcgnh: has joined #ruby
[21:40:51] jmcgnh: has joined #ruby
[21:46:58] jmcgnh: has joined #ruby
[21:53:02] jmcgnh: has joined #ruby
[21:55:24] jefffrails35: has joined #ruby
[21:57:27] jmcgnh: has joined #ruby
[21:58:52] mostlybadfly: has joined #ruby
[22:06:46] jenrzzz: has joined #ruby
[22:15:51] endorama: has joined #ruby
[22:23:18] Rakete1111: has joined #ruby
[22:25:53] hightower3: has joined #ruby
[22:42:45] weird_error: has joined #ruby
[23:00:24] houhoulis: has joined #ruby
[23:01:39] ramfjord_: has joined #ruby
[23:06:34] zephiro: has joined #ruby
[23:07:13] zephiro: has joined #ruby
[23:08:04] zephiro: has joined #ruby
[23:08:47] zephiro: has joined #ruby
[23:10:18] jmcgnh: has joined #ruby
[23:14:08] jmcgnh: has joined #ruby
[23:18:11] jmcgnh: has joined #ruby
[23:24:13] fphilipe: has joined #ruby
[23:32:09] jenrzzz: has joined #ruby
[23:47:10] rubydoc: has joined #ruby
[23:47:38] bmurt: has joined #ruby
[23:58:10] jmcgnh: has joined #ruby