« Back to channel list

#ruby - 04 February 2018

« Back 1 day Forward 1 day »
[00:02:58] milardovich: has joined #ruby
[00:05:19] mtkd: has joined #ruby
[00:07:55] bigblind: has joined #ruby
[00:13:49] milardovich: has joined #ruby
[00:19:31] u0157542: has joined #ruby
[00:25:23] cpruitt: has joined #ruby
[00:28:20] milardovich: has joined #ruby
[00:30:08] nchambers: so I have this file: https://gitlab.com/ntchambers/cherrybomb/blob/master/lib/cherrybomb/irc.rb#L10-11, but rubocop is telling me these should be instance variables: http://ix.io/Fcn. Why would these need to be instance variables if I just want one "global" instance?
[00:32:22] wadadli: has joined #ruby
[00:32:58] wadadli: can someone take a look at this error I get when attempting to install ascii_binder
[00:32:59] wadadli: https://paste.fedoraproject.org/paste/e0B9k01-io7jfz6EPO53uQ
[00:37:36] cpruitt: has joined #ruby
[00:43:50] milardovich: has joined #ruby
[00:43:57] k0mpa: has joined #ruby
[00:44:43] jottr: has joined #ruby
[00:51:28] bigblind: has joined #ruby
[00:52:37] wadadli: has left #ruby: ("WeeChat 1.9.1")
[00:57:31] cdg: has joined #ruby
[00:58:31] u0157542: has joined #ruby
[01:08:38] milardovich: has joined #ruby
[01:10:01] AJA4350: has joined #ruby
[01:10:53] milardovich: has joined #ruby
[01:11:13] jrp93_2: has joined #ruby
[01:16:04] bigblind: has joined #ruby
[01:24:13] jrp93_3: has joined #ruby
[01:26:57] Bounga: has joined #ruby
[01:30:20] u0157542: has joined #ruby
[01:32:21] ResidentBiscuit: has joined #ruby
[01:34:28] cpruitt: has joined #ruby
[01:34:38] _aeris: has joined #ruby
[01:35:34] jrp93: has joined #ruby
[01:36:41] jrp93_2: has joined #ruby
[01:36:45] cschneid: has joined #ruby
[01:37:03] arescorpio: has joined #ruby
[01:37:48] Guest29: has joined #ruby
[01:38:51] ptr4ce: has joined #ruby
[01:41:14] schneide_: has joined #ruby
[01:45:42] bigblind: has joined #ruby
[01:47:27] cpruitt: has joined #ruby
[01:49:02] schneide_: has joined #ruby
[01:50:27] TomyLobo: has joined #ruby
[01:52:25] aroaminggeek: has joined #ruby
[01:57:17] jhass: has joined #ruby
[01:57:56] schneide_: has joined #ruby
[02:02:09] riskish: has joined #ruby
[02:03:16] vichib: has joined #ruby
[02:04:15] u0157542: has joined #ruby
[02:05:46] cpruitt: has joined #ruby
[02:07:04] schneide_: has joined #ruby
[02:09:11] aroaminggeek: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[02:10:02] bigblind: has joined #ruby
[02:10:36] mtkd: has joined #ruby
[02:32:05] gizmore|2: has joined #ruby
[02:35:31] bigblind: has joined #ruby
[02:35:40] cpruitt: has joined #ruby
[02:39:01] apparition: has joined #ruby
[02:39:59] u0157542: has joined #ruby
[02:47:41] cpruitt: has joined #ruby
[02:53:25] schneide_: has joined #ruby
[02:53:48] milardovich: has joined #ruby
[03:00:17] cadillac_: has joined #ruby
[03:01:14] milardovich: has joined #ruby
[03:01:47] schneide_: has joined #ruby
[03:02:52] bigblind: has joined #ruby
[03:05:26] cpruitt: has joined #ruby
[03:06:32] BTRE: has joined #ruby
[03:10:55] schneide_: has joined #ruby
[03:10:59] JusticeFries: has joined #ruby
[03:19:53] schneide_: has joined #ruby
[03:20:34] u0157542: has joined #ruby
[03:20:56] Gnut: has joined #ruby
[03:24:45] bigblind: has joined #ruby
[03:26:00] cpruitt: has joined #ruby
[03:27:09] Bounga: has joined #ruby
[03:29:02] schneide_: has joined #ruby
[03:29:45] Gabemo: has joined #ruby
[03:36:43] k0mpa: has joined #ruby
[03:38:10] schneide_: has joined #ruby
[03:38:34] Lyubo1: has joined #ruby
[03:39:41] Xiti`: has joined #ruby
[03:42:33] mniip: has joined #ruby
[03:44:03] cadillac_: has joined #ruby
[03:47:15] schneide_: has joined #ruby
[03:53:52] skweek: has joined #ruby
[03:55:26] u0157542: has joined #ruby
[03:57:15] skweek: has joined #ruby
[03:57:38] milardovich: has joined #ruby
[04:00:14] bigblind: has joined #ruby
[04:00:54] milardovich: has joined #ruby
[04:04:56] cpruitt: has joined #ruby
[04:05:15] milardovich: has joined #ruby
[04:05:31] schneide_: has joined #ruby
[04:05:40] shinnya: has joined #ruby
[04:09:24] orbyt_: has joined #ruby
[04:14:34] schneide_: has joined #ruby
[04:16:39] milardovich: has joined #ruby
[04:19:36] gix-: has joined #ruby
[04:23:27] milardovich: has joined #ruby
[04:23:28] bigblind: has joined #ruby
[04:23:38] schneide_: has joined #ruby
[04:23:47] mtkd: has joined #ruby
[04:25:15] trautwein: has joined #ruby
[04:27:25] _main_: has joined #ruby
[04:28:38] perniciouscaffei: has joined #ruby
[04:33:24] u0157542: has joined #ruby
[04:41:45] bigblind: has joined #ruby
[04:41:53] schneide_: has joined #ruby
[04:42:02] nchambers: I'm using eventmachine to write an irc bot, and for some reason, its not receiving any data from the server, despite having receive_data defined: https://gitlab.com/ntchambers/cherrybomb/blob/master/lib/cherrybomb/irc.rb#L96-98. Can anyone see why? example of the issue: https://asciinema.org/a/BJf1Ae8JKJrizwRcELMYiNw3v
[04:43:05] cpruitt: has joined #ruby
[04:44:39] milardovich: has joined #ruby
[04:47:06] gothicsouth: has joined #ruby
[04:50:12] milardovich: has joined #ruby
[04:50:57] schneide_: has joined #ruby
[04:51:30] sanscoeur: has joined #ruby
[04:51:49] cpruitt: has joined #ruby
[04:57:07] eckhardt: has joined #ruby
[05:01:52] nchambers: :| never mind figured it out
[05:01:59] nchambers: didn't have ssl_verify_peer defined
[05:02:50] mr_rich101: has joined #ruby
[05:06:32] u0157542: has joined #ruby
[05:09:12] schneide_: has joined #ruby
[05:10:04] netherwolfe: has joined #ruby
[05:11:39] bigblind: has joined #ruby
[05:18:12] schneide_: has joined #ruby
[05:27:19] schneide_: has joined #ruby
[05:27:20] Bounga: has joined #ruby
[05:31:32] milardovich: has joined #ruby
[05:31:34] netherwolfe_: has joined #ruby
[05:32:41] govg: has joined #ruby
[05:35:43] bigblind: has joined #ruby
[05:36:30] schneide_: has joined #ruby
[05:40:32] jnyw: has joined #ruby
[05:41:45] u0157542: has joined #ruby
[05:42:45] cpruitt: has joined #ruby
[05:45:34] schneide_: has joined #ruby
[05:45:52] nicesignal: has joined #ruby
[05:47:18] ruby[bot]: has joined #ruby
[05:47:18] ChanServ: +o ruby[bot]
[05:52:04] orbyt_: has joined #ruby
[05:54:40] schneide_: has joined #ruby
[05:55:19] cpruitt: has joined #ruby
[06:00:24] ramfjord: has joined #ruby
[06:02:28] bigblind: has joined #ruby
[06:03:49] schneide_: has joined #ruby
[06:07:06] live__: has joined #ruby
[06:07:20] ghoti_: has joined #ruby
[06:07:33] hr3f: has joined #ruby
[06:08:04] netherwolfe__: has joined #ruby
[06:08:15] mrsolow: has joined #ruby
[06:08:20] pfg_: has joined #ruby
[06:08:21] kaia_: has joined #ruby
[06:08:27] BuildTheRobots_: has joined #ruby
[06:08:28] Diabolik_: has joined #ruby
[06:08:28] lipoqil_: has joined #ruby
[06:08:29] Tony-St4rk_: has joined #ruby
[06:08:34] dukedave_: has joined #ruby
[06:08:39] rann_: has joined #ruby
[06:08:39] caw___: has joined #ruby
[06:08:43] craysiii1: has joined #ruby
[06:09:08] kapil___: has joined #ruby
[06:09:18] c0ncealed: has joined #ruby
[06:09:38] lupine_: has joined #ruby
[06:09:39] rikai_: has joined #ruby
[06:09:41] webhat_: has joined #ruby
[06:09:42] Quintasan_: has joined #ruby
[06:09:47] kent\n: has joined #ruby
[06:09:49] contradictioned_: has joined #ruby
[06:10:40] Mattias: has joined #ruby
[06:11:08] kapil___: i have {:a=>10, "b"=>{:c=>40}}
[06:11:52] cschneid: has joined #ruby
[06:12:14] nyuszika7h_: has joined #ruby
[06:12:22] cpruitt: has joined #ruby
[06:12:30] kapil___: If i want to get value of c, I have to check object.is_a?(Hash) each key deep.
[06:12:49] schneide_: has joined #ruby
[06:13:20] u0157542: has joined #ruby
[06:14:04] mistym-: has joined #ruby
[06:14:07] ttttsul: has joined #ruby
[06:14:12] DarkArc: has joined #ruby
[06:14:55] Biohazard_: has joined #ruby
[06:15:40] szulak: has joined #ruby
[06:19:16] Tristan-Speccy: has joined #ruby
[06:20:18] bokayio: has joined #ruby
[06:20:21] esObe: has joined #ruby
[06:20:44] KevinSjoberg: has joined #ruby
[06:20:59] willamin: has joined #ruby
[06:21:50] cschneid: has joined #ruby
[06:22:05] velu_aon[m]: has joined #ruby
[06:22:12] atmosx: has joined #ruby
[06:22:18] KevinMGranger: has joined #ruby
[06:22:41] Takumo: has joined #ruby
[06:23:26] JoL1hAHN: has joined #ruby
[06:24:03] leah2: has joined #ruby
[06:24:50] cpruitt: has joined #ruby
[06:27:47] priodev: has joined #ruby
[06:28:01] bigblind: has joined #ruby
[06:29:01] mtkd: has joined #ruby
[06:40:13] schneide_: has joined #ruby
[06:45:14] u0157542: has joined #ruby
[06:45:46] bigblind: has joined #ruby
[06:46:09] cpruitt: has joined #ruby
[06:49:13] schneide_: has joined #ruby
[06:49:43] soniya29: has joined #ruby
[06:52:34] cschneid: has joined #ruby
[06:54:49] BTRE: has joined #ruby
[06:55:04] cpruitt: has joined #ruby
[06:58:24] schneide_: has joined #ruby
[06:58:30] justicef_: has joined #ruby
[07:06:48] milardovich: has joined #ruby
[07:07:05] bigblind: has joined #ruby
[07:07:15] cpruitt: has joined #ruby
[07:07:26] schneide_: has joined #ruby
[07:15:46] u0157542: has joined #ruby
[07:16:36] schneide_: has joined #ruby
[07:19:33] bigblind: has joined #ruby
[07:20:41] djbkd: has joined #ruby
[07:22:55] milardovich: has joined #ruby
[07:25:40] schneide_: has joined #ruby
[07:26:11] biberu: has joined #ruby
[07:27:33] Bounga: has joined #ruby
[07:28:57] cpruitt: has joined #ruby
[07:29:53] cschneid: has joined #ruby
[07:34:48] schneide_: has joined #ruby
[07:37:24] nso95: has joined #ruby
[07:37:30] nso95: has left #ruby: ()
[07:41:21] cpruitt: has joined #ruby
[07:42:54] Guest14: has joined #ruby
[07:43:18] bigblind: has joined #ruby
[07:43:22] ldepandis: has joined #ruby
[07:52:57] schneide_: has joined #ruby
[07:53:55] claudiuinberlin: has joined #ruby
[07:53:58] u0157542: has joined #ruby
[07:54:55] ramfjord: has joined #ruby
[08:02:08] schneide_: has joined #ruby
[08:02:43] jrp93: has joined #ruby
[08:02:54] cpruitt: has joined #ruby
[08:08:35] cschneid: has joined #ruby
[08:09:19] bigblind: has joined #ruby
[08:11:11] schneide_: has joined #ruby
[08:12:13] goatish: has joined #ruby
[08:15:33] cpruitt: has joined #ruby
[08:16:40] darthThorik: has joined #ruby
[08:16:41] mr-robert: has joined #ruby
[08:16:45] galeido: has joined #ruby
[08:18:05] za1b1tsu: has joined #ruby
[08:20:13] schneide_: has joined #ruby
[08:25:20] u0157542: has joined #ruby
[08:28:20] cpruitt: has joined #ruby
[08:29:20] schneide_: has joined #ruby
[08:29:20] Mia: has joined #ruby
[08:29:38] bigblind: has joined #ruby
[08:38:28] schneide_: has joined #ruby
[08:38:29] ifctj: has joined #ruby
[08:40:19] wnd: kapil___, in more recent Ruby there is Hash#dig, but you'll still have to worry about type-safety. Why don't you know your the kind of data anyway?
[08:41:46] gary_: has joined #ruby
[08:44:22] u0157542: has joined #ruby
[08:44:37] yottanami: has joined #ruby
[08:45:33] cschneid: has joined #ruby
[08:48:22] regedit: has joined #ruby
[08:48:27] bigblind: has joined #ruby
[08:49:14] cpruitt: has joined #ruby
[08:50:20] venmx: has joined #ruby
[08:50:24] DaniG2k: has joined #ruby
[08:52:59] apparition: has joined #ruby
[08:55:11] bigblind: has joined #ruby
[09:02:28] cpruitt: has joined #ruby
[09:04:04] u0157542: has joined #ruby
[09:05:00] _aeris_: has joined #ruby
[09:09:03] Bounga: has joined #ruby
[09:13:58] milardovich: has joined #ruby
[09:15:01] milardovich: has joined #ruby
[09:18:06] bigblind: has joined #ruby
[09:18:54] jamesaxl: has joined #ruby
[09:19:49] cschneid: has joined #ruby
[09:21:50] lizard2010: has joined #ruby
[09:23:34] cpruitt: has joined #ruby
[09:28:38] u0157542: has joined #ruby
[09:33:53] apparition: has joined #ruby
[09:39:10] nso95: has joined #ruby
[09:40:30] cpruitt: has joined #ruby
[09:41:31] bigblind: has joined #ruby
[09:43:30] jenrzzz: has joined #ruby
[09:43:40] u0157542: has joined #ruby
[09:51:51] DTZUZO: has joined #ruby
[09:53:49] zwliew: has joined #ruby
[09:54:24] cschneid: has joined #ruby
[09:54:37] oleo: has joined #ruby
[09:55:00] InfinityFye: has joined #ruby
[09:56:11] gixxer1k: has joined #ruby
[09:56:33] milardovich: has joined #ruby
[09:57:44] InfinityFye: has left #ruby: ()
[09:58:01] u0157542: has joined #ruby
[09:58:21] mjolnird: has joined #ruby
[10:05:09] bigblind: has joined #ruby
[10:05:11] mjolnird: has joined #ruby
[10:05:47] cpruitt: has joined #ruby
[10:06:38] milardovich: has joined #ruby
[10:07:18] ifctj: has joined #ruby
[10:11:02] mjolnird: has joined #ruby
[10:12:48] u0157542: has joined #ruby
[10:14:13] DoubleMalt: has joined #ruby
[10:14:28] schneide_: has joined #ruby
[10:18:10] cpruitt: has joined #ruby
[10:19:22] clemens3: has joined #ruby
[10:27:04] tomphp: has joined #ruby
[10:30:52] mikecmpbll: has joined #ruby
[10:31:36] cschneid: has joined #ruby
[10:31:46] zxc_: has joined #ruby
[10:32:44] schneide_: has joined #ruby
[10:37:47] ifctj: has joined #ruby
[10:39:11] yxhuvud: has joined #ruby
[10:41:45] schneide_: has joined #ruby
[10:43:49] gothicsouth: has joined #ruby
[10:43:51] cpruitt: has joined #ruby
[10:45:58] tomphp: has joined #ruby
[10:50:24] zxc: has joined #ruby
[10:51:04] zxc: has joined #ruby
[10:51:46] zxc: has joined #ruby
[10:51:58] u0157542: has joined #ruby
[10:52:33] zxc: has joined #ruby
[10:53:13] zxc: has joined #ruby
[10:53:47] yottanami: What is correct way to create this string? "#{item["PLZ"]}, #{item["Strasse"]}, #{item["ORT"]}"
[10:53:51] zxc: has joined #ruby
[10:56:44] milardovich: has joined #ruby
[11:00:10] schneide_: has joined #ruby
[11:00:39] kapil___: has joined #ruby
[11:00:49] bigblind: has joined #ruby
[11:01:02] cpruitt: has joined #ruby
[11:01:27] zigzig: has joined #ruby
[11:04:28] Neptu: has joined #ruby
[11:07:55] vondruch: has joined #ruby
[11:08:26] cschneid: has joined #ruby
[11:14:01] sameerynho: has joined #ruby
[11:18:10] schneide_: has joined #ruby
[11:21:39] drewmcmillan: has joined #ruby
[11:24:16] quobo: has joined #ruby
[11:26:00] u0157542: has joined #ruby
[11:26:42] cpruitt: has joined #ruby
[11:27:16] schneide_: has joined #ruby
[11:27:51] apeiros: yottanami: what makes your way incorrect?
[11:29:23] marr: has joined #ruby
[11:29:56] bigblind: has joined #ruby
[11:33:02] randomstrangerb: has joined #ruby
[11:36:39] vutral|kali: has joined #ruby
[11:36:40] vutral|kali: has joined #ruby
[11:38:28] Immune: has joined #ruby
[11:43:27] amatas: has joined #ruby
[11:50:54] schneide_: has joined #ruby
[11:56:08] cpruitt: has joined #ruby
[11:59:00] milardovich: has joined #ruby
[11:59:54] schneide_: has joined #ruby
[12:03:32] u0157542: has joined #ruby
[12:04:13] John_Ivan: has joined #ruby
[12:07:08] asphyxia: has joined #ruby
[12:07:56] asphyxia: I gotta question
[12:08:52] asphyxia: I've never programmed in ruby, don't know shit about it, but I had to update my version to update my homebrew
[12:09:10] asphyxia: and now I'm stuck in the terminal not wanting to quit in case I cause some damage
[12:09:44] asphyxia: I've just got a big list of all the ruby installation options and no way (seemingly?) out as I get pattern not found when I give a command
[12:10:05] mtkd: has joined #ruby
[12:10:30] zleap: asphyxia: the code cademy course on ruby is really good for beginners I am currently working through the course
[12:11:06] asphyxia: I just wanna update my homebrew ^^;
[12:13:46] AJA4350: has joined #ruby
[12:15:16] schneide_: has joined #ruby
[12:19:04] dcluna: has joined #ruby
[12:19:09] asphyxia: ACTION is restarting terminal one second please!
[12:20:03] asphyxia: has joined #ruby
[12:20:27] Immune: has joined #ruby
[12:20:56] cschneid: has joined #ruby
[12:21:32] zautomata: has joined #ruby
[12:21:59] zautomata: has joined #ruby
[12:23:31] Bounga: has joined #ruby
[12:24:20] schneide_: has joined #ruby
[12:24:36] balo: has joined #ruby
[12:25:39] zautomata: has joined #ruby
[12:25:51] bigblind: has joined #ruby
[12:26:06] cpruitt: has joined #ruby
[12:33:25] schneide_: has joined #ruby
[12:35:16] balo: has joined #ruby
[12:35:36] u0157542: has joined #ruby
[12:37:35] RougeR: has joined #ruby
[12:37:35] RougeR: has joined #ruby
[12:40:34] drewmcmillan: has joined #ruby
[12:41:06] zautomata: has joined #ruby
[12:41:09] zautomata: has joined #ruby
[12:41:20] shinnya: has joined #ruby
[12:42:33] schneide_: has joined #ruby
[12:43:34] schneide_: has joined #ruby
[12:50:03] ahrs: has joined #ruby
[12:56:00] cpruitt: has joined #ruby
[12:58:08] milardovich: has joined #ruby
[13:02:17] JusticeFries: has joined #ruby
[13:08:24] roshanavand: has joined #ruby
[13:08:32] u0157542: has joined #ruby
[13:09:20] tAn: has joined #ruby
[13:17:36] JusticeFries: has joined #ruby
[13:20:18] soahccc: Are there gotchas in regards to overwriting methods from eval'd code? It's a terminal tool which can have a config.rb and it get's evald in the application instance and works pretty good (I know there might be more elegant ways). I can define non-existant methods and they are available. But if I try to redefine an existing one (and I checked that it does exist at that point) it seems to have no effect.
[13:26:25] JusticeFries: has joined #ruby
[13:26:33] al2o3-cr: has joined #ruby
[13:28:23] soahccc: Is it maybe because the method I want to monkeypatch is from a module? https://gist.github.com/2called-chaos/53f2a2b82aa5b3ebd6a06b61ca3cca08
[13:30:47] cschneid: has joined #ruby
[13:36:08] leitz: has joined #ruby
[13:36:30] leitz: What is the use case for Struct vs hash?
[13:39:45] soahccc: leitz: I use structs as stubs sometimes as you can .attribute it
[13:39:59] randomstrangerb: has joined #ruby
[13:40:35] leitz: soahccc, so I could use thing.attr vs thing[:attr]?
[13:40:45] soahccc: you must rather :)
[13:41:33] leitz: The issue I'm running into is having a lot to learn and trying to simplify my code so I can improve it. Tried the struct thing but it got beyond me.
[13:42:04] soahccc: I use structs very rarely to be honest, I mostly rather have my own actual class
[13:42:40] leitz: This is just 6, occasionally 7, named Ints.
[13:42:51] soahccc: I guess another difference is that hash has no key constraints while struct only accepts the values you tell it to, openstruct on the other hand is pretty much like a hash
[13:45:44] soahccc: kinda depends on what those ints are and how they are used
[13:46:10] leitz: soahccc, you ever do Role-playing games?
[13:46:34] soahccc: you mean like creating one?
[13:46:35] u0157542: has joined #ruby
[13:47:06] leitz: Playing one. The Ints are character stats. So mostly "Is it X or higher" or "Show all stats as a string".
[13:47:32] cpruitt: has joined #ruby
[13:48:21] tAn: has joined #ruby
[13:49:36] soahccc: hmm I personally would go with classes there I guess, especially if you access them in different ways, e.g. comparing to stat sets
[13:50:25] jrp93_2: has joined #ruby
[13:50:28] leitz: No, the stats are part of a class, I don't want a lot of really small new classes where a simple thing like a hash would work.
[13:51:30] soahccc: it's hard to say without seeing it :) but I guess hash, struct doesn't really matter
[13:53:41] jrp93_3: has joined #ruby
[13:54:32] mikecmpbll: has joined #ruby
[13:56:28] blackmesa: has joined #ruby
[13:57:22] cpruitt: has joined #ruby
[14:03:07] leitz: Yeah, I'm going for the hash. I like simple.
[14:03:31] PaulCapestany: has joined #ruby
[14:04:09] soahccc: I thought I understood ruby metaprogramming but this makes no sense :( I can undef the method via instance_eval (I thought I'm already evaling in the instance) and then define the method, it's not there smh
[14:05:20] skweek: has joined #ruby
[14:06:22] Immune: has joined #ruby
[14:08:15] cschneid: has joined #ruby
[14:09:48] cpruitt: has joined #ruby
[14:13:07] soahccc: in the eval'd file I can override methods if I put them inside instance_eval (despite the fact that I'm already in the instance, I can modify instance options, etc.). If I define methods without instance eval they are there but also for new classes, this is messed up
[14:15:03] u0157542: has joined #ruby
[14:18:39] cpruitt: has joined #ruby
[14:20:10] soahccc: I guess eval is really evil at this point, instance_eval does the job
[14:22:00] leitz: Dang, getting lost in 'self.' again.
[14:25:19] segy: has joined #ruby
[14:26:43] soahccc: leitz: what exactly? there are a few gotchas but like 3 or 4
[14:27:24] cpruitt: has joined #ruby
[14:28:32] leitz: I think I figured part of it out. My goal is to have a module that provides methods. It needs to be able to be required by a class and just used on it's own.
[14:28:48] leitz: Lemme poke it for a bit and I'll show you what I've come up with.
[14:29:10] Bounga: has joined #ruby
[14:29:20] za1b1tsu: has joined #ruby
[14:32:16] milardovich: has joined #ruby
[14:35:10] pastorinni: has joined #ruby
[14:35:55] cpruitt: has joined #ruby
[14:36:05] leitz: OKay, the tests. https://github.com/makhidkarun/2d6_ogl_chargen/blob/upp_as_hash/test/tc_character_tools.rb
[14:36:40] JusticeFries: has joined #ruby
[14:36:57] leitz: The code, with "self' gone. https://github.com/makhidkarun/2d6_ogl_chargen/blob/upp_as_hash/lib/character_tools.rb#L27-L36
[14:37:25] goatish: has joined #ruby
[14:37:38] banisterfiend: has joined #ruby
[14:37:53] leitz: The upp will be stored as a hash, and upp_to_s converts it to a string based on uppercse Hex numbers. "789ABC"
[14:38:44] leitz: Down below that code is a "UPP = Struct.new" that will be going away.
[14:42:42] cschneid: has joined #ruby
[14:43:07] _aeris_: has joined #ruby
[14:43:57] konos5_: has joined #ruby
[14:44:32] u0157542: has joined #ruby
[14:44:51] konos5_: quick question
[14:45:08] leitz: Depends on how fast you type.
[14:45:57] soahccc: leitz: I don't see what your problem with self. was :D but what do you think of this alteration (I might have screwed the index number but generally :D) https://gist.github.com/2called-chaos/ff564280837ab47a1f0c6aaf2a78589c
[14:49:38] leitz: Ah, soahccc, not sure tap is needed. upp_to_s is only called when the stats (UPP) are going to be displayed. Internally the upp is stored as a hash of ints.
[14:49:50] leitz: upp_to_s should not actually change anything.
[14:50:00] leitz: And hashes should be ordered.
[14:50:08] leitz: Well, ordered by insertion.
[14:50:50] konos5_: basically it's all here:
[14:50:52] konos5_: https://gist.github.com/kstratis/4610cb852bb5e42c4cb5c9c0e2c12724
[14:50:56] konos5_: Any clues?
[14:51:16] soahccc: leitz: I didn't change functionality, I just saw the explicit return and the manual counter (instead of with_index) and wanted to change it :D
[14:51:18] dextrey: has joined #ruby
[14:52:22] konos5_: Adding a method in `Module` class should make that method available in all classes but not their singleton classes. Yet even singleton classes can use the new method. Why is this the case?
[14:52:49] leitz: soahccc, the upp sometimes, rarely, has a 7th int. It is represented with a 789ABC-7 notation.
[14:53:01] cpruitt: has joined #ruby
[14:53:17] leitz: konos5_, your code is cleanly written but a bit past my skill. Sorry.
[14:54:13] leitz: soahccc, if there is no 7th int there is no '-'. I'm a pretty simple coder.
[14:54:25] cadillac_: has joined #ruby
[14:54:27] veduardo: has joined #ruby
[14:55:27] soahccc: konos5_: Do you really want to alter global Module? or is this just pseudo code? If you use an actual own module and include it in class it behaves like you expect
[14:55:30] konos5_: leitz: no worries..
[14:55:36] blackmesa1: has joined #ruby
[14:56:01] konos5_: I'm talking about the global `Module` class
[14:56:21] soahccc: konos5_: it has to do something with class includes kernel and that bases of module or something complicated like that
[14:56:53] soahccc: but why do you want to tinker with global module class? :<
[14:58:59] konos5_: `Class`'s superclass is `Module`. However `BasicObject.singleton_class` has `Class` as its superclass. This means that the rest of inheritance -singleton class- tree (below `BasicObject.singleton_class`) should all "carry" `hello` so that any regular classes should be able to use it.
[14:59:23] konos5_: I don't want to tinker with `Module`. I just wanna fully understand the Ruby's object model
[14:59:30] konos5_: I don't want to tinker with `Module`. I just wanna fully understand Ruby's object model
[15:02:37] tAn: has joined #ruby
[15:04:40] venmx: has joined #ruby
[15:06:16] cpruitt: has joined #ruby
[15:06:59] segy: has joined #ruby
[15:08:05] leitz: Whoa, this is cool.
[15:12:03] leitz: zleap, something on your mind?
[15:12:04] SynSynack: has joined #ruby
[15:12:23] zleap: you said this was cool so i said hello
[15:12:44] zleap: wasn't sure what you were refering to irc or some aspect of ruby
[15:13:21] leitz: zleap, ah. Give me a moment and I'll post some code, then explain why I think it's cool. :)
[15:14:13] cpruitt: has joined #ruby
[15:17:09] AJA4350: has joined #ruby
[15:17:15] blackmesa1: has joined #ruby
[15:18:12] leitz: Okay, to put things in perspective. I like the *idea* of coding, my like is much higher than my skill. Even after years of trying.
[15:19:02] zleap: sounds like me there
[15:19:29] leitz: With Ruby I've gotten further than ever before, and enjoy the language. So figuring out something simple like "set a Module method to be used by a class or by itself, with 0 or 1 arguments" is cool for me.
[15:19:31] leitz: https://github.com/makhidkarun/2d6_ogl_chargen/blob/upp_as_hash/lib/character_tools.rb#L31
[15:20:17] leitz: Setting it to be used as a method with an argument broke tests for the class. Not using an arg broke the method as tool.
[15:23:32] zleap: ruby has some nice features
[15:24:04] zleap: much easier to convert things so you can have .to_i to convert to anj integer
[15:24:26] leitz: For me it's more the joy of it than the features. I've played with a lot of great languages. Ruby is the first to make me want to read the reference docs.
[15:24:58] zleap: could be as everything is an object so you have more control over thigns
[15:25:59] u0157542: has joined #ruby
[15:26:48] leitz: While that's cool, I'm really a newbie at OOP. I come from the Bash and C world. And not much C. :)
[15:26:55] milardovich: has joined #ruby
[15:27:04] zleap: i am coming from python
[15:27:32] zleap: sometimes it is the small things like that, that make a language nicer to learn
[15:28:24] leitz: Python is cool. My ruby code looks a lot like my python code. :)
[15:28:53] zleap: as long as you understandit, and have good comments it is good
[15:29:05] garyserj: has joined #ruby
[15:29:25] zleap: having dome some ruby oncodecademy i understand some of what your code is doing
[15:29:34] leitz: Most of the stuff I do is only half a step above shell code. My goal for 2018 is to stick with Ruby and move more into OOA/D/P.
[15:30:08] garyserj: is it bad form to write (2,3,4).each {|i| puts i.to_s} like writing 'i' there when i is not the index?
[15:30:30] leitz: Yeah, I understand most of it. :) That's why i'm pulling the Struct, I just don't need or "get" it.
[15:30:33] garyserj: sorry I mean [2,3,4]
[15:31:21] leitz: garysefj, it is better form to write clear code that words. Don't worry about the rest. :)
[15:31:34] kapil___: has joined #ruby
[15:31:38] cpruitt: has joined #ruby
[15:31:59] leitz: and that's garyserj . Sorry, my eyes are old.
[15:32:11] garyserj: leitz: you've just done some ruby on codeacademy, I don't think you know what is good form
[15:33:10] zleap: i am on codecademy
[15:33:33] zleap: i would rather learn that way, then read more and understand what i anm reading
[15:33:58] cschneid: has joined #ruby
[15:34:35] leitz: I don't recall being on codeacademy, but zleap seems to like it. I've just done some code that's used by multiple large enterprise organizations to save hundreds of thousands of dollars each year. Not in Ruby though.
[15:34:59] zleap: I run the local tech jam,so we do coding there, it would be nice if there were more coding groups near mek or people with a lot of experience but still able to coneect with newbies to help
[15:35:21] zleap: sometines gettingit not quite right, but it works is good,trying to get too perfect code can be counterproducive
[15:35:34] venmx: has joined #ruby
[15:35:38] leitz: zleap, yeah. IRC seems the best "connection", the local Meetup died off a few years ago.
[15:36:15] leitz: I like books and help from IRC. Not as big on websites, but that's just not how I learn.
[15:36:19] zleap: i need to convice more people of that
[15:36:36] zleap: lots of ebooks out there,
[15:36:48] zleap: i think the littlebookofruby is free
[15:36:57] sans: has left #ruby: ()
[15:37:06] leitz: zleap, give this a read. It may give you some ideas. https://github.com/LeamHall/90DW_mentoring
[15:37:53] leitz: If you find ways to improve it I'll expect feedback. ;)
[15:38:47] sanscoeur: has joined #ruby
[15:39:01] zleap: loos interesting
[15:39:56] zleap: yeah i just promote the jam, if people comeand stay they generally keep coming back
[15:40:33] zleap: i have found a 8 tutorial series on the linux shell, so have videos in order so if anyone at the jam is interested we can watch them
[15:41:15] havenwood: garyserj: I've seen objections to `i` in code review for things other than index. We may see it used more to mean Integer, now that Integer is user facing. Descriptive words are best.
[15:41:18] zleap: yeah good point on not pushing people , doing something on tuesday that will hopefully get peopel interestged in coding
[15:42:59] havenwood: garyserj: An aside, but #puts already does #to_s and prints each Array item, so you can just: puts [2, 3, 4]
[15:43:24] leitz: zleap, I find a "barrier to entry" useful. I love to help people but it takes time. If they aren't really interested then trying to push them spends my time and is frustrating. Much better to have 2 zealots than 20 warm bodies.
[15:44:16] JusticeFries: has joined #ruby
[15:45:52] Immune: has joined #ruby
[15:45:59] zleap: i am trying to promote the jam to schools, in that ideally teachers will pass the info on, it is not working
[15:46:24] zleap: slightly different if the kids are intersted but not getting the info passed on
[15:46:37] leitz: Then let it go. Life is too short. Code your joy and be available.
[15:47:04] zleap: i can promote stuff to the pepple at the tech jam, they will bring friends
[15:47:10] leitz: Personally, i'm looking forward to one year making a Ruby conf and face to face thanking some of the IRC folks for all their help.
[15:47:25] leitz: Thanking may or may not include adult beverages. :)
[15:47:40] zleap: well depends on who can attten
[15:47:58] zleap: do you want kids there or not, it can be good for them, and you but causes more issues
[15:48:17] JusticeFries: has left #ruby: ()
[15:48:21] leitz: Are there local STEM events?
[15:48:28] zleap: where are you based?
[15:48:50] zleap: as the tech jam in Paignton is STEM, as is the Exeter Pi jam
[15:49:23] zleap: software cornwall are a sort of umbrella for all things tech so 1 website aims to bring lots of different groups together , good for promoting to lots of people
[15:49:40] leitz: Ah, you're UK?
[15:49:45] klixto: has joined #ruby
[15:49:48] zleap: for the most part, it is down to individuals like usto get things going, despite the moaning from industry on lack of skills
[15:49:53] zleap: leitz: yeak UK
[15:50:13] leitz: You on the Ruby mailing list? A few UK folks are there.
[15:50:21] zleap: still too new
[15:50:26] leitz: I haven't been on that side of the pond in a while.
[15:50:31] leitz: Join, good stuff.
[15:50:56] zleap: codecademy do ruby, rubyonrails and RoR autnenticatoon
[15:51:01] zleap: authentcation
[15:51:13] leitz: ACTION is not a RoR person.
[15:51:30] zleap: ah, i am not yet, may have a go when this course is complete
[15:52:16] leitz: Jobs out there if you want it. I do Linux as a trade. Not good enough in Ruby to move careers at matching pay.
[15:52:44] zleap: i need to watch these 8 videoson the linux shell
[15:53:12] leitz: Yeah, don't run your RoR on Winderz.
[15:53:17] zleap: but they are all from youtube, so as I have links it is easier to watch and or share in order
[15:53:43] zleap: what is winderz, been using Linux as a desktop OS for years, don't need windows :D
[15:54:19] zleap: i would love to start saying that to more people see their reaction, as as not using facebook prefering decentalised stuff like diaspora
[15:55:14] zleap: idally share videos with those who want to learn and we use irc to discuss and learn more
[15:57:03] u0157542: has joined #ruby
[15:58:03] zleap: yeah going backgto the mentoring thingm if you're going to try and help people be prepared, hence the videos
[15:59:26] dinfuehr: has joined #ruby
[15:59:31] leitz: Setting a time limit, like 90 days, seems to help them and you.
[16:00:13] zleap: how do you convince people IRC is good, given it was created in the late 80's and is all text based,
[16:01:22] alex``: has joined #ruby
[16:02:26] leitz: You don't. You read "The Personal MBA" and conform your help to make it a "business". Don't sell IRC, or even Ruby. "Sell" being able to program. Those who want to will overcome the hurdles. Most don't know how old IRC is, anyway.
[16:02:54] zleap: good point
[16:03:31] zleap: one of the people i am volunteeringwith wants to teach gaming design with c# and unity, finding it really hard to find peopel who are interested
[16:03:34] zleap: or will commit
[16:03:35] leitz: I liked the "Learn C the Hard Way" book because it had video and book. That let you hit most major learning styles.
[16:04:04] leitz: Understood.
[16:05:47] zleap: i'll try and apss that on to him, we hav sort of got the idea he can program and wants to help others, it is just finding pepple, i am sure if he was at home and people asked questions via irc / skype or what ever, shared code via github, gist, pastebin then people don't need to go out and use unfamilar hardware to do the course
[16:05:59] leitz: I just finished Sandi Metz' "99 bottles of OOP" and am applying some of her ideas. fun stuff.
[16:06:27] leitz: And the tests pass. :)
[16:06:52] rabajaj: has joined #ruby
[16:07:27] cschneid: has joined #ruby
[16:08:04] zleap: i am not sure if the idea people can self teach scares peopke in education
[16:08:47] milardovich: has joined #ruby
[16:09:19] leitz: Self education is the only real education. Some get it in college, some just pay money for a title. :(
[16:10:15] mtkd: has joined #ruby
[16:10:23] zleap: so it is better to tech yourself
[16:10:41] leitz: You only really learn what you teach yourself.
[16:10:47] tAn: has joined #ruby
[16:10:49] leitz: Sometimes you pay for help.
[16:10:51] zleap: yeah so what are schooksl for
[16:11:26] zleap: this is what i mean, everything we need to know is online, just need to learn how to look it up, ence i have sorted these videos out
[16:11:52] leitz: Nowadays US colleges are for money. Not for education. Sad, but true. Some teachers help you learn by motivating, guiding, etc. But the college itself is usually more about money.
[16:12:10] zleap: our schools here are more for passing tests
[16:12:35] zleap: primaries are so worried about results on maths and english that other subjects get pushed to one side
[16:13:35] zleap: primary school is age 4 - 11
[16:13:47] cpruitt: has joined #ruby
[16:15:35] zleap: i found this interesting http://zleap.net/seth-godin-on-education-reform/ essentially saying we should be setting kids challenges in schools and really pushing them to solve problems,
[16:16:00] zleap: maywant to save and watch later if interested
[16:16:19] TomyLobo2: has joined #ruby
[16:16:24] leitz: One of the things Sandi Metz' book mentioned was changing one line of code at a time. While it seems silly, it has really helped me recover when my code blows up in some strange way.
[16:16:37] leitz: I've read a lot of Seth's work. Good stuff.
[16:16:44] leitz: I read more, seldom watch.
[16:16:59] zleap: yes i was at an event back in September helping a young girl and her mum with some pi stuff i advised changing 1 thing at a time
[16:17:23] zleap: otherwise if it breaks you don't know what broke it, or if it works you are not sure what fixed it
[16:17:41] leitz: As I said, self-education. I set myself the challenge to convert the Struct to a hash. Just commited the final code, all tests pass.
[16:17:53] x77686d: has joined #ruby
[16:17:58] leitz: Though I got out of primary school some time back. :P
[16:18:17] leitz: Time for a walk and a break.
[16:18:19] drewmcmillan: has joined #ruby
[16:18:22] zleap: chat later
[16:18:24] zleap: thanks :)
[16:18:57] cschneid: has joined #ruby
[16:20:53] shaman42: has joined #ruby
[16:20:55] u0157542: has joined #ruby
[16:23:15] Immune: has joined #ruby
[16:23:33] AX31_A13X: has joined #ruby
[16:26:14] zxc_: has joined #ruby
[16:27:52] u0157542: has joined #ruby
[16:29:25] Bounga: has joined #ruby
[16:30:15] minimalism: has joined #ruby
[16:30:25] jottr: has joined #ruby
[16:30:31] DLSteve: has joined #ruby
[16:32:09] meadmoon: has joined #ruby
[16:35:54] conta: has joined #ruby
[16:36:22] cschneid: has joined #ruby
[16:41:43] crankharder: has joined #ruby
[16:45:25] orbyt_: has joined #ruby
[16:46:18] moei: has joined #ruby
[16:48:30] milardovich: has joined #ruby
[16:49:04] banisterfiend: has joined #ruby
[16:49:33] cschneid: has joined #ruby
[17:02:02] u0157542: has joined #ruby
[17:02:05] Immune: has joined #ruby
[17:04:20] ldepandis: has joined #ruby
[17:05:19] bigblind: has joined #ruby
[17:05:29] cschneid: has joined #ruby
[17:06:23] hph^: has joined #ruby
[17:13:14] dviola: has joined #ruby
[17:14:31] cschneid: has joined #ruby
[17:18:47] tomphp: has joined #ruby
[17:19:26] tAn: has joined #ruby
[17:20:26] cschneid: has joined #ruby
[17:20:44] randomstrangerb: has joined #ruby
[17:21:10] n0m4d1c: has joined #ruby
[17:22:36] zleap: leitz: is the Atlante lug channel still #ale ?
[17:23:13] u0157542: has joined #ruby
[17:23:34] leitz: zleap, I think so.
[17:23:45] leitz: Not highly active, but there.
[17:24:07] zleap: i like the structure to what you posted earlier
[17:24:08] leitz: I'd recommend making your own channel though. Friendly thing to do.
[17:24:24] zleap: just wondering if my local linux user group would be up for something similar
[17:25:15] zleap: we were discussing linux training a while back,
[17:25:44] zleap: got 2 go (food time here0
[17:25:58] zleap: trying to then relax before the big game, as it is on till early hours
[17:26:51] zleap: my local Am football chairman was disappointed last year (Falcons fan)
[17:27:38] zleap: anyway chat shortly
[17:28:07] milardovich: has joined #ruby
[17:32:19] cpruitt: has joined #ruby
[17:36:09] tomphp: has joined #ruby
[17:38:00] u0157542: has joined #ruby
[17:38:07] Immune: has joined #ruby
[17:39:26] marr123: has joined #ruby
[17:43:34] lagooned: has joined #ruby
[17:43:56] cpruitt: has joined #ruby
[17:45:48] Mia: has joined #ruby
[17:45:48] Mia: has joined #ruby
[17:46:24] chanqi4444: has joined #ruby
[17:47:28] chanqi4444: has left #ruby: ()
[17:49:28] cpruitt: has joined #ruby
[17:52:15] RougeR: has joined #ruby
[17:53:17] n0m4d1c: has joined #ruby
[17:53:34] bigblind: has joined #ruby
[17:56:02] tAn: has joined #ruby
[17:57:47] nowhere_man: has joined #ruby
[17:58:12] Bounga: has joined #ruby
[17:58:27] venmx: has joined #ruby
[17:58:55] cschneid: has joined #ruby
[18:00:10] n0m4d1c: has joined #ruby
[18:00:24] fortranwarror: has joined #ruby
[18:04:42] troulouliou_div2: has joined #ruby
[18:05:41] osvico: has joined #ruby
[18:06:23] leah2: anyone can read jp fluently? i need a quick help to read a news article
[18:07:29] SynSynack1: has joined #ruby
[18:08:53] u0157542: has joined #ruby
[18:11:57] ifctj: has joined #ruby
[18:14:54] mtkd: has joined #ruby
[18:15:57] Immune: has joined #ruby
[18:17:53] milardovich: has joined #ruby
[18:17:55] cpruitt: has joined #ruby
[18:20:20] garyserj: say I make a variable I set in irb, blah={} how do I undefine the variable blah, so that if I type blah I get undefined local variable?
[18:22:41] danielpclark: has joined #ruby
[18:26:21] mattwc: garyserj: https://stackoverflow.com/questions/2011654/undefine-variable-in-ruby
[18:26:53] mattwc: There isn't a way for local variables though
[18:31:03] tAn: has joined #ruby
[18:32:23] tomphp: has joined #ruby
[18:33:45] cschneid: has joined #ruby
[18:38:43] cpruitt: has joined #ruby
[18:41:26] tAn: has joined #ruby
[18:42:01] tomphp: has joined #ruby
[18:44:10] ltem: has joined #ruby
[18:45:25] nowhereman: has joined #ruby
[18:46:26] SynSynack1: has joined #ruby
[18:47:19] u0157542: has joined #ruby
[18:48:22] mikecmpbll: has joined #ruby
[18:49:44] cschneid: has joined #ruby
[18:52:17] jottr: has joined #ruby
[18:52:56] Prutheus: has joined #ruby
[18:53:28] Prutheus: Hello. I have an issue with ruby-ebay and api calls/results. Could someone help me please? Detailed question is here: https://github.com/hakanensari/ebay-ruby/issues/1
[18:58:13] Immune: has joined #ruby
[19:01:03] drewmcmillan: has joined #ruby
[19:01:30] Prutheus: Someone an idea why the itemfilters are not working?
[19:03:06] Prutheus: Am I specifying them wrong or what? Please help me
[19:04:01] mattwc: prutheus: thats a 4 year old library that doesn't appear to be very popular or touched, I doubt many people in here would know whats wrong
[19:04:08] cpruitt: has joined #ruby
[19:06:23] desperek: has joined #ruby
[19:07:13] milardovich: has joined #ruby
[19:09:56] cschneid: has joined #ruby
[19:10:39] Prutheus: mattwc: it works all except the item filters, same behavior with rebay gem, so what am i doing wrong?
[19:11:26] white_lilies: has joined #ruby
[19:12:02] mattwc: prutheus: both those gems haven't been updated in years, if I was to guess, I'd say over the last 5 years, ebay updated their api
[19:12:31] Prutheus: Ok, but do you know a gem which is recent?
[19:12:33] Prutheus: i cant find others
[19:14:33] Prutheus: mattwc: you think ebayr would work?
[19:14:55] mattwc: I don't know, if ebay changed their api probably not
[19:15:23] craysiii: morning/day/night, has anyone pulled the numeric stuff (#days, #hours, etc) from rails and put it in its own gem?
[19:15:37] mattwc: ebayr does seem less abandoned though
[19:16:17] mattwc: craysiii: most of that stuff exists as active support
[19:16:38] cpruitt: has joined #ruby
[19:17:17] craysiii: yeah I just dont feel like pulling in all of activesupport for this one feature, thanks though
[19:17:22] craysiii: maybe i will do something similar
[19:21:14] randomstrangerb: has joined #ruby
[19:24:04] Prutheus: mattwc: I even cant login with ebayr, mhhh, what does it want from me?
[19:24:19] mattwc: prutheus: how am I supposed to know?
[19:24:42] white_lilies: has joined #ruby
[19:26:53] u0157542: has joined #ruby
[19:29:16] raynold: has joined #ruby
[19:29:23] tomphp: has joined #ruby
[19:29:34] Prutheus: mattwc: ebayr is also not working ... what should I try now?
[19:29:53] craysiii: maybe try to write your own api wrapper?
[19:30:13] mattwc: prutheus: I'm just throwing out random examples, the first two libraries are 5 years old and haven't been touched in 5 years, the fact they even worked is a bit surprising
[19:32:33] A124: has joined #ruby
[19:35:36] white_lilies: has joined #ruby
[19:37:03] ur5us: has joined #ruby
[19:41:49] cpruitt: has joined #ruby
[19:45:32] Prutheus: mattwc: ebayr works, but is not supporting the finding api ...
[19:46:20] mattwc: at this point I'd just write my own api wrapper
[19:46:54] milardovich: has joined #ruby
[19:48:40] cschneid: has joined #ruby
[19:48:45] white_lilies: has joined #ruby
[19:50:47] cpruitt: has joined #ruby
[19:54:27] Prutheus: mattwc: &REST-PAYLOAD&keywords=Acer&ItemFilter(0).name=MinPrice&ItemFilter(0).value=1000.0
[19:54:52] Prutheus: this should set the output to only include items with minimum 1000usd price as current price, right?
[19:55:36] mattwc: prutheus: that would be a better question for an ebay api expert but that looks like a very weird way to structure an api request
[19:56:09] Prutheus: https://developer.ebay.com/Devzone/finding/CallRef/findItemsAdvanced.html#sampleaspectHist
[19:56:15] Prutheus: according to here, it should be right, yes?
[19:57:48] mattwc: based on my reading of their api docs yes
[20:01:16] Bounga: has joined #ruby
[20:02:55] white_lilies: has joined #ruby
[20:03:02] u0157542: has joined #ruby
[20:03:50] marr: has joined #ruby
[20:04:31] cdg: has joined #ruby
[20:05:54] cpruitt: has joined #ruby
[20:05:56] bigblind: has joined #ruby
[20:07:29] nowhere_man: has joined #ruby
[20:09:04] u0157542: has joined #ruby
[20:09:39] Immune: has joined #ruby
[20:15:09] Prutheus: mattwc: back to rebay gem, which is working fine except with itemfilter, i am not really a ruby pro yet, could you pelase check if itemfilters are supported by that gem?
[20:16:51] mattwc: it looks like if its a param they'd send the filter in the request
[20:19:39] mtkd: has joined #ruby
[20:20:09] Prutheus: what do you mean, i do not understand
[20:20:42] mattwc: it looks like they support it
[20:21:34] white_lilies: has joined #ruby
[20:22:31] guille-moe: has joined #ruby
[20:23:19] cschneid: has joined #ruby
[20:24:24] klixto: has joined #ruby
[20:28:14] white_lilies: has joined #ruby
[20:29:10] Prutheus: But how do I specify it in the params ?
[20:29:31] Prutheus: find_items_advanced(keywords: 'Acer', itemFilter: [{name:'MinPrice', value:'1000'}])
[20:29:34] Prutheus: thats not right
[20:31:32] cpruitt: has joined #ruby
[20:31:47] orbyt_: has joined #ruby
[20:32:14] mattwc: i'd try like ({'keywords': 'Acer', 'itemFilter(0).name':'MinPrice'...})
[20:35:42] skweek: has joined #ruby
[20:35:57] white_lilies: has joined #ruby
[20:36:01] Prutheus: Thanks, works!! Wow, you are awesome
[20:36:40] Prutheus: Btw, could you also explain me the difference between 'name':... and name:.... please
[20:37:40] mattwc: its just some different syntax, they are the same thing but the name: won't really work with special characters (like ())
[20:39:19] nicesignal: has joined #ruby
[20:39:47] bigblind: has joined #ruby
[20:41:20] u0157542: has joined #ruby
[20:47:59] cpruitt: has joined #ruby
[20:49:13] randomstrangerb: has joined #ruby
[20:51:27] mnms_: has joined #ruby
[20:52:03] u0157542: has joined #ruby
[20:53:06] Dimik: has joined #ruby
[20:54:29] x77686d: has joined #ruby
[20:56:56] cschneid: has joined #ruby
[20:59:35] white_lilies: has joined #ruby
[21:02:47] Bounga: has joined #ruby
[21:03:17] DaniG2k: has joined #ruby
[21:03:17] cpruitt: has joined #ruby
[21:08:47] white_lilies: has joined #ruby
[21:13:42] tvw: has joined #ruby
[21:16:06] carlos_: has joined #ruby
[21:16:23] ifctj: has joined #ruby
[21:18:09] u0157542: has joined #ruby
[21:21:00] AJA4350: has joined #ruby
[21:28:30] tvw: has joined #ruby
[21:30:13] cpruitt: has joined #ruby
[21:34:30] tvw: has joined #ruby
[21:34:31] skweek: has joined #ruby
[21:35:20] cschneid: has joined #ruby
[21:39:07] cpruitt: has joined #ruby
[21:42:04] guille-moe: has joined #ruby
[21:42:21] orbyt_: has joined #ruby
[21:43:35] x77686d: has joined #ruby
[21:47:20] cpruitt: has joined #ruby
[21:47:22] white_lilies: has joined #ruby
[21:48:26] mozzarella: has joined #ruby
[21:50:37] auv: has joined #ruby
[21:55:25] u0157542: has joined #ruby
[21:58:33] cpruitt: has joined #ruby
[21:59:21] nowhereman_: has joined #ruby
[22:01:54] plexigras: has joined #ruby
[22:02:42] jottr: has joined #ruby
[22:04:53] gary: has joined #ruby
[22:10:24] cschneid: has joined #ruby
[22:10:43] milardovich: has joined #ruby
[22:10:50] Guest33: has joined #ruby
[22:11:45] white_lilies: has joined #ruby
[22:17:12] milardovich: has joined #ruby
[22:19:39] cpruitt: has joined #ruby
[22:20:06] n0m4d1c: has joined #ruby
[22:20:26] NightMonkey: has joined #ruby
[22:20:49] AJA4350: has joined #ruby
[22:24:56] mtkd: has joined #ruby
[22:26:39] white_lilies: has joined #ruby
[22:30:34] hahuang65: has joined #ruby
[22:32:16] n0m4d1c_: has joined #ruby
[22:33:19] u0157542: has joined #ruby
[22:34:17] SynSynack1: has joined #ruby
[22:39:44] cpruitt: has joined #ruby
[22:40:51] hahuang65: has joined #ruby
[22:44:41] DeeJayh: has joined #ruby
[22:47:36] skweek: has joined #ruby
[22:49:46] cpruitt: has joined #ruby
[22:50:16] alex``: has joined #ruby
[22:54:28] NightMonkey: has joined #ruby
[22:54:39] cpruitt_: has joined #ruby
[22:56:50] gary: has joined #ruby
[22:59:13] tomphp: has joined #ruby
[23:03:51] white_lilies: has joined #ruby
[23:08:31] u0157542: has joined #ruby
[23:09:17] Gary_B: has joined #ruby
[23:10:15] drewmcmi_: has joined #ruby
[23:15:55] shinnya: has joined #ruby
[23:16:19] veduardo: has joined #ruby
[23:17:00] Bounga: has joined #ruby
[23:19:22] milardovich: has joined #ruby
[23:20:29] AJA4350: has joined #ruby
[23:20:38] jottr: has joined #ruby
[23:23:13] cpruitt: has joined #ruby
[23:28:34] n0m4d1c: has joined #ruby
[23:31:34] pastorinni: has joined #ruby
[23:32:41] cschneid: has joined #ruby
[23:33:09] Gary|tp: has joined #ruby
[23:34:05] tomphp: has joined #ruby
[23:34:11] white_lilies: has joined #ruby
[23:34:30] hoylemd: has joined #ruby
[23:34:41] milardovich: has joined #ruby
[23:35:02] tomphp: has joined #ruby
[23:37:54] venmx: has joined #ruby
[23:38:58] u0157542: has joined #ruby
[23:40:23] gary_: has joined #ruby
[23:47:07] bigblind: has joined #ruby
[23:48:45] ChanServ: +o baweaver
[23:49:33] baweaver: Temporarily set registration on while there are some trolls about.
[23:49:41] baweaver: (* on other channels)
[23:52:09] drewmcmillan: has joined #ruby
[23:55:25] TinkerTyper: has joined #ruby
[23:56:21] white_lilies: has joined #ruby