« Back to channel list

#ruby - 23 May 2015

« Back 1 day Forward 1 day »
[00:00:46] bkxd: has joined #ruby
[00:02:57] Rubie: has joined #ruby
[00:06:17] michael_mbp: has joined #ruby
[00:06:19] ddarkpassenger: has joined #ruby
[00:06:56] _blizzy_: I love how pluralize is a method in rails.
[00:07:20] fabrice31: has joined #ruby
[00:07:38] byprdct: has joined #ruby
[00:08:53] Rollabunna: has joined #ruby
[00:10:42] lrcezimbra: has joined #ruby
[00:10:46] xxneolithicxx: how useful is it, doesnt that vary drastically by language/word
[00:13:04] nobitanobi: has joined #ruby
[00:15:31] sinequanon: has joined #ruby
[00:18:59] jottr_: has joined #ruby
[00:20:18] shevy: what is the plural of mouse in rails
[00:20:50] eam: what's the plural of octopus
[00:20:51] shevy: what is the plural of the word "greaves" in rails
[00:20:59] shevy: octopoda!
[00:22:07] eam: http://en.wikipedia.org/wiki/Plural_form_of_words_ending_in_-us#Octopus
[00:23:13] arescorpio: has joined #ruby
[00:23:22] longfeet: has joined #ruby
[00:23:40] dru`: has joined #ruby
[00:24:01] eam: are there any hybrid words (greek + latin roots like television) that end in ous?
[00:24:27] Sembei: has joined #ruby
[00:25:08] shevy: those are questions worthy for the million dollar show
[00:27:13] mistergibson: has joined #ruby
[00:27:52] vaedd: has joined #ruby
[00:28:09] Brazeau: has joined #ruby
[00:30:07] sankaber: has joined #ruby
[00:30:19] thomaslnx: has joined #ruby
[00:32:15] someword: has joined #ruby
[00:34:06] Stany: has joined #ruby
[00:34:14] ChasedSpade: has joined #ruby
[00:34:34] MyMind: has joined #ruby
[00:36:07] sent1nel: has joined #ruby
[00:37:06] someword: has joined #ruby
[00:37:08] robustus: has joined #ruby
[00:38:12] wallerdev: has joined #ruby
[00:38:22] thomaslnx: has left #ruby: ("Saindo")
[00:40:21] seitensei: has joined #ruby
[00:40:22] seitensei: has joined #ruby
[00:41:57] juanpaucar: has joined #ruby
[00:42:54] lucyinthesky: has joined #ruby
[00:43:48] bootstrappm: has left #ruby: ()
[00:47:29] tubuliferous: has joined #ruby
[00:48:06] havenwood: has joined #ruby
[00:48:37] commondream: has joined #ruby
[00:51:17] bronson: has joined #ruby
[00:51:38] Cache_Money: has joined #ruby
[00:56:11] zzak: ????????????????
[00:57:32] irobevjodu: has joined #ruby
[01:00:55] jstanton: has joined #ruby
[01:02:30] bronson: has joined #ruby
[01:02:44] deric_skibotn: has joined #ruby
[01:04:42] KKKLANSMAN: has joined #ruby
[01:04:46] shevy: am I abusing modules?
[01:04:49] KKKLANSMAN: anyone know how to stop ddos attacks?
[01:04:54] shevy: module Foo; def self.initialize
[01:04:57] havenwood: !mute KKKLANSMAN
[01:04:57] ruboto: +q KKKLANSMAN!*@*
[01:04:57] ruboto: -o ruboto
[01:05:01] shevy: Foo.initialize
[01:05:09] shevy: it reminds me a lot of class Foo; def initialize
[01:05:23] shevy: well, except that you have to call .new actually, but the name of the method is the same
[01:06:11] gambl0re: has joined #ruby
[01:06:40] yaw: has joined #ruby
[01:07:01] xxneolithicxx: what happened to ruby-lang
[01:07:20] shevy: first jhass, now apeiros - the #ruby-lang people are not happy! ;)
[01:07:39] yaw: has joined #ruby
[01:07:45] zacts: has joined #ruby
[01:07:56] towski_: has joined #ruby
[01:08:27] jpfuentes2: has joined #ruby
[01:09:52] dfockler: has joined #ruby
[01:10:40] jmhmccr: has joined #ruby
[01:11:03] jenrzzz: has joined #ruby
[01:11:14] Shidash: has joined #ruby
[01:11:34] apeiros: xxneolithicxx: it will be merged with #ruby. #ruby is now the official channel.
[01:11:41] swgillespie: has joined #ruby
[01:14:22] Sawbones: has joined #ruby
[01:18:35] Brazeau: has left #ruby: ("Leaving")
[01:19:06] Sawbones: has joined #ruby
[01:20:31] paradisaeidae: has joined #ruby
[01:21:15] sinequanon: has joined #ruby
[01:23:21] tuelz: has joined #ruby
[01:26:13] al2o3-cr: sup! ruby :)
[01:26:51] KKKLANSMAN: has left #ruby: ()
[01:28:19] existensil: I'm still in #ruby-lang. does that mean if I disconnect I can never join again?
[01:28:45] apeiros: existensil: the redirect has not yet been set up
[01:29:05] apeiros: once it has been set up, all users will be removed from the channel
[01:29:29] RegulationD: has joined #ruby
[01:29:29] GriffinHeart: has joined #ruby
[01:29:40] yaw: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[01:30:09] shevy: TOTAL TERMINATION
[01:30:11] shevy: DOOMSDAY!!!
[01:31:15] shevy: we will merge with our lost brothers
[01:31:38] shevy: who used to be almost as dire an enemy as the zzsshhsssshshss-speaking aliens from #python
[01:31:46] al2o3-cr: shevy: :) lol
[01:31:57] new-moon: has left #ruby: ("Leaving")
[01:32:06] dc: has joined #ruby
[01:32:14] serivich: has joined #ruby
[01:34:07] Cache_Money: has joined #ruby
[01:35:05] xxneolithicxx: does that make me harry potter if i speak both
[01:35:34] bruno-: has joined #ruby
[01:35:38] CustosLimen: has joined #ruby
[01:36:36] bogdanteleaga: has joined #ruby
[01:37:37] apeiros: +bb KKKLANSMAN!*@* *!*@*178.209.52.122
[01:37:54] apeiros: whoops, I'm still op here?
[01:38:03] apeiros: -o apeiros
[01:38:08] xxneolithicxx: why does ruby attract so many white power names
[01:38:26] xxneolithicxx: is it the same person
[01:38:39] apeiros: I think it's not ruby. it's 1k users.
[01:38:52] apeiros: yeah. banned him over in #ruby-lang. forgot the -lang at first :)
[01:39:18] havenwood: xxneolithicxx: They sort by number of users in a channel and try to troll.
[01:39:26] apeiros: and now pillow. for reals. damit. should be asleep for 3h already :D
[01:39:35] havenwood: apeiros: g'night!
[01:39:44] al2o3-cr: you can't get better syntax than ruby
[01:39:53] paradisaeidae: has joined #ruby
[01:41:02] al2o3-cr: apeiros: good night :)
[01:43:17] duderonomy: has joined #ruby
[01:44:17] e1nh4nd3r: has joined #ruby
[01:44:32] ramfjord: has joined #ruby
[01:45:16] Rollabunna: has joined #ruby
[01:46:46] tcrypt: has joined #ruby
[01:47:50] Rubie: has joined #ruby
[01:51:52] lkba: has joined #ruby
[01:54:34] car: has joined #ruby
[01:55:46] mary5030: has joined #ruby
[01:56:21] fabrice31: has joined #ruby
[01:56:22] amclain: has joined #ruby
[01:58:00] mary5030: has joined #ruby
[01:59:44] segfalt: has joined #ruby
[02:00:03] jpfuentes2: has joined #ruby
[02:01:12] bogdanteleaga: has joined #ruby
[02:06:40] lidenskap: has joined #ruby
[02:06:43] Tamae: has joined #ruby
[02:07:44] kies: has joined #ruby
[02:09:47] bogdanteleaga: has joined #ruby
[02:11:36] Oog: has joined #ruby
[02:11:40] armyriad: has joined #ruby
[02:13:47] djbkd: has joined #ruby
[02:14:40] DenSchub: has joined #ruby
[02:18:50] jottr_: has joined #ruby
[02:22:54] havenwood: has joined #ruby
[02:23:55] jack_rabbit: has joined #ruby
[02:24:50] Ropeney: has joined #ruby
[02:24:54] Sawbones: has joined #ruby
[02:25:29] jottr_: has joined #ruby
[02:28:37] Spami: has joined #ruby
[02:30:50] juanpaucar: has joined #ruby
[02:31:19] alxndr: has joined #ruby
[02:31:50] pontiki: has joined #ruby
[02:33:34] mrsolo: has joined #ruby
[02:33:37] al2o3-cr: pontiki: o/
[02:33:48] nobitanobi: has joined #ruby
[02:33:50] havenwood: pontiki: \o
[02:36:17] tubuliferous: has joined #ruby
[02:36:35] bruno-: has joined #ruby
[02:37:58] ramfjord: has joined #ruby
[02:39:00] al2o3-cr: #=> pong ( ???_???)O*??`??.??.??????`??Q(???_??? )
[02:39:02] tds5016: has joined #ruby
[02:39:25] keen________: has joined #ruby
[02:39:38] tds5016: hi all. What's the best way to get a hash with only the keys listed in an array?
[02:39:54] tds5016: I don't want to use delete_if, because I don't want to mutate the original array.
[02:40:21] havenwood: tds5016: A Hash's keys? #keys
[02:40:47] zenspider: subset of a hash given an array of keys? select is one
[02:40:47] al2o3-cr: tds5016: delete_if won't mutate the original array
[02:41:02] zenspider: #values_at is another
[02:41:07] havenwood: tds5016: Oh, seems I misunderstood the question.
[02:41:11] zenspider: tho that returns an array
[02:41:20] davedev24_: has joined #ruby
[02:41:32] zenspider: h.select { |k,_| keys.include? k }
[02:41:59] zenspider: tds5016: what are you actually trying to do?
[02:42:20] tds5016: so I have something like {foo: 1, bar: 2}
[02:42:24] zenspider: don't want to mutate the array or the hash?
[02:42:29] tds5016: and I have an array [:foo]
[02:42:34] tds5016: I want to get the object {foo: 1}
[02:42:43] tds5016: er the hash {foo :1}
[02:43:13] havenwood: >> {foo: 1}.values_at *[:foo]
[02:43:14] ruboto: havenwood # => [1] (https://eval.in/368958)
[02:43:26] sankaber: has joined #ruby
[02:43:42] zenspider: tds5016: if you don't mind mutating the hash, reject is another possibility
[02:44:00] pontiki: hash.slice(*keys) ?
[02:44:31] tds5016: I don't wanna mutate the has.
[02:44:31] pontiki: or is .slice Rails?
[02:44:32] zenspider: that's an array & string method, no?
[02:44:32] al2o3-cr: havenwood: does that need []?
[02:44:58] CustosLimen: has joined #ruby
[02:45:18] davedev24_: has joined #ruby
[02:45:42] havenwood: al2o3-cr: could drop the splat and Array, but i was just trying to represent an Array as the presumed parameter
[02:47:38] zenspider: ok. I'm out. poker night.
[02:47:46] tds5016: good luck.
[02:47:49] pontiki: know when to hold 'em
[02:48:07] al2o3-cr: no when to fold 'em
[02:48:15] havenwood: fold! fold!
[02:50:39] darkf: has joined #ruby
[02:50:44] tds5016: how would I do something like x=:foo; bar = {} bar.merge{x =? 3}
[02:51:07] tds5016: I want to set the value of x as a key in the bar hash.
[02:51:24] speakingcode: has joined #ruby
[02:51:54] shuber_: has joined #ruby
[02:52:03] xfumihiro: has joined #ruby
[02:53:26] havenwood: tds5016: have you tried it as you propose?
[02:54:59] P1RATEZ: has joined #ruby
[02:57:00] icebourg: has joined #ruby
[02:58:16] CustosLimen: has joined #ruby
[02:59:22] al2o3-cr: tds5016: elaborate with a bit concision
[03:01:28] evlute: has joined #ruby
[03:01:28] al2o3-cr: my typing foo as gone out of the window
[03:02:25] evlute: i have a strange problem. i'm using dnat to my sinatra server vm. and i see everything but the pictures won't get loaded. any ideas why? :)
[03:02:40] banister: has joined #ruby
[03:04:08] DynamicMetaFlow: has joined #ruby
[03:06:08] jpfuentes2: has joined #ruby
[03:07:29] al2o3-cr: ACTION know when to hold 'em, know when to fold 'em listening to bit of kenny rogers :)
[03:08:12] dingus_khan: has joined #ruby
[03:09:08] al2o3-cr: ACTION can't beat country 'n weston
[03:11:46] braincrash: has joined #ruby
[03:12:14] tuelz: has joined #ruby
[03:12:42] Notte: has joined #ruby
[03:12:47] al2o3-cr: my hero https://www.youtube.com/watch?v=hr0rDW5j1KU
[03:13:27] al2o3-cr: lyrical genius :)
[03:17:06] macmartine: has joined #ruby
[03:18:09] sent1nel: has joined #ruby
[03:18:24] RegulationD: has joined #ruby
[03:20:45] shuber_: has joined #ruby
[03:24:43] wallerdev: has joined #ruby
[03:27:38] The_Phoenix: has joined #ruby
[03:29:53] ChasedSpade: has joined #ruby
[03:30:00] al2o3-cr: oh and matz :)
[03:30:30] al2o3-cr: DeBot: hangman gems
[03:30:49] al2o3-cr: DeBot: !hangman ruby
[03:30:49] DeBot: ???????????????????????????????????????????????? [] 0/12
[03:30:55] DeBot: ?????????????????????A???????????????????????? [] 0/12
[03:31:00] DeBot: ?????????????????????A??????????????????e??? [] 0/12
[03:31:06] DeBot: ??????I????????????A?????????i??????e??? [] 0/12
[03:31:17] DeBot: ??????I????????????A?????????i???te??? [] 0/12
[03:31:26] DeBot: ??????I????????????A?????????i???te??? [s] 1/12
[03:31:31] DeBot: ??????I?????????DA?????????i???te??? [s] 1/12
[03:32:01] DeBot: ??????I?????????DA?????????i???te??? [s] 1/12
[03:32:06] DeBot: ???RI?????????DA?????????i???ter [s] 1/12
[03:32:11] DeBot: URI?????????DA?????????i???ter [s] 1/12
[03:32:21] DeBot: URI?????????DA?????????i???ter [s_] 2/12
[03:32:26] DeBot: URI::???DA?????????i???ter [s_] 2/12
[03:32:55] DeBot: URI::LDA?????????ilter [s_] 2/12
[03:33:00] ChasedSpade: has joined #ruby
[03:33:24] DeBot: URI::LDA?????????ilter [s_] 2/12
[03:34:14] DeBot: URI::LDAP??????ilter [s_] 2/12
[03:35:01] DeBot: URI::LDAP??????ilter [s_.] 3/12
[03:35:09] Sawbones: has joined #ruby
[03:35:11] DeBot: URI::LDAP??????ilter [s_.?] 4/12
[03:35:27] DeBot: URI::LDAP???filter [s_.?] 4/12
[03:35:44] weemsledeux: has joined #ruby
[03:37:20] bruno-: has joined #ruby
[03:37:25] bigmac: has joined #ruby
[03:39:37] zreisman: has joined #ruby
[03:42:13] al2o3-cr: jhass: what else can DeBot do?
[03:44:04] DeBot: URI::LDAP#filter [s_.?] 4/12 You won!
[03:44:41] al2o3-cr: DeBot: !hangman ruby
[03:44:41] DeBot: ???????????????????????????????????????????????????????????? [] 0/12
[03:44:49] DeBot: ???????????????????????????????????????????????????????????? [a] 1/12
[03:44:52] DeBot: ??????e?????????????????????????????????????????????e??? [a] 1/12
[03:45:00] DeBot: ??????e??????????????????????????????i????????????e??? [a] 1/12
[03:45:02] DeBot: O???e?????????????????????o??????i????????????e??? [a] 1/12
[03:45:05] DeBot: O???e?????????????????????o??????i????????????e??? [au] 2/12
[03:45:07] DeBot: O???e????????????::???o??????i???::???e??? [au] 2/12
[03:45:08] fabrice31: has joined #ruby
[03:45:11] DeBot: O???e????????????::???o??????i???::???e??? [au#] 3/12
[03:45:17] DeBot: O???e????????????::???o??????i???::???e??? [au#t] 4/12
[03:45:19] DeBot: O???e????????????::???o??????i???::???e??? [au#tr] 5/12
[03:45:23] DeBot: O???e????????????::???o???fi???::???e??? [au#tr] 5/12
[03:45:28] DeBot: O???en?????????::???onfi???::ne??? [au#tr] 5/12
[03:45:32] DeBot: Open?????????::???onfi???::ne??? [au#tr] 5/12
[03:45:37] DeBot: Open?????????::???onfi???::new [au#tr] 5/12
[03:45:40] DeBot: Open?????????::???onfig::new [au#tr] 5/12
[03:45:45] DeBot: OpenSS???::???onfig::new [au#tr] 5/12
[03:45:49] DeBot: OpenSSL::???onfig::new [au#tr] 5/12
[03:45:53] DeBot: OpenSSL::Config::new [au#tr] 5/12 You won!
[03:46:15] vaedd: has left #ruby: ()
[03:46:32] adam12: I think I already know the answer to this but does anybody know if you can swap out the entire object passed to a block for another like-object?
[03:47:08] Joufflu: has joined #ruby
[03:47:17] pipework: Isn't that just wonderful.
[03:49:02] al2o3-cr: adam12: how'd you think you would do it?
[03:49:10] jpfuente_: has joined #ruby
[03:49:16] baweaver: has joined #ruby
[03:49:50] adam12: al2o3-cr: I'm not sure...
[03:50:26] al2o3-cr: adam12: but you said I think I already know
[03:50:40] adam12: al2o3-cr: Yeah, as in 'not possible' :)
[03:50:44] coetry: has joined #ruby
[03:51:10] pipework: I'm not sure about what you mean, exactly.
[03:51:24] pipework: What kind of swapping? Where?
[03:51:29] commondream: has joined #ruby
[03:52:23] bronson: has joined #ruby
[03:52:35] al2o3-cr: adam12: an an example of what you're really try to do would help:)
[03:53:32] cht: has joined #ruby
[03:53:35] adam12: New HTTP wrapper client by technoweenie called Hurley. Need to add Digest Auth :\. I figured I would use the callbacks offered before and after the request to determine if the request was 401, and if so, retry with Auth digest.
[03:54:04] mary5030: has joined #ruby
[03:54:41] adam12: When I make a new request inside that callback, I receive a valid response object, the same type yielded to the callback in the first place. Trying to return the new one instead.
[03:54:53] commondream: has joined #ruby
[03:55:48] shuber_: has joined #ruby
[03:55:49] al2o3-cr: adam12: why would you need to?
[03:56:17] adam12: Because the original request is 401, the subsequent request is (hopefully) 20x.
[03:57:13] adam12: https://gist.github.com/adam12/0ac5b3e4a42f410864a6
[03:58:38] Evidlo: has left #ruby: ("WeeChat 1.0.1")
[03:58:59] mary5030: has joined #ruby
[03:59:15] al2o3-cr: adam12: why would it be giving you a 401 in the first place?
[04:00:13] adam12: al2o3-cr: I'm fairly sure that's always how Digest auth works? To prevent replay attacks.
[04:00:51] al2o3-cr: adam12: yeah generally wrong credentials
[04:01:05] al2o3-cr: but not always
[04:03:10] mary5030_: has joined #ruby
[04:03:29] shuber_: has joined #ruby
[04:03:37] jayeshsolanki: has joined #ruby
[04:03:43] al2o3-cr: adam12: but i'm now familiar with hurley so
[04:04:30] al2o3-cr: adam12: so re-ask your question in the channel hopefully someone knows :)
[04:04:51] zubov: has joined #ruby
[04:05:02] Channel6: has joined #ruby
[04:05:43] paradisaeidae: has joined #ruby
[04:06:59] guardianx: has joined #ruby
[04:07:38] macmartine: has joined #ruby
[04:09:44] shuber_: has joined #ruby
[04:09:56] al2o3-cr: DeBot: !hangman ruby
[04:09:56] DeBot: ????????????????????????????????????????????? [] 0/12
[04:10:05] DeBot: A??????a????????????a?????????????????? [] 0/12
[04:10:13] DeBot: A??????a????????????a?????????????????? [u] 1/12
[04:10:16] DeBot: A??????a????????????a?????????????????? [ui] 2/12
[04:10:20] DeBot: A??????a????????????a?????????o?????? [ui] 2/12
[04:10:29] DeBot: A??????a????????????a?????????o???e [ui] 2/12
[04:10:41] DeBot: A??????a??????t???a?????????o???e [ui] 2/12
[04:10:48] DeBot: A??????a??????t???a?????????o???e [uih] 3/12
[04:10:52] DeBot: Arra??????tra?????????o???e [uih] 3/12
[04:10:57] DeBot: Array???tra?????????o???e [uih] 3/12
[04:11:01] DeBot: Array???tra?????????o???e [uih:] 4/12
[04:11:07] DeBot: Array???tra???s???ose [uih:] 4/12
[04:11:11] DeBot: Array???tra???spose [uih:] 4/12
[04:11:22] DeBot: Array???transpose [uih:] 4/12
[04:11:31] DeBot: Array#transpose [uih:] 4/12 You won!
[04:12:23] al2o3-cr: >> {a: 1, b: 2, c: 2}.to_a.transpose
[04:12:24] ruboto: al2o3-cr # => [[:a, :b, :c], [1, 2, 2]] (https://eval.in/368959)
[04:12:51] mary5030: has joined #ruby
[04:12:51] tuelz: has joined #ruby
[04:14:16] braincra-: has joined #ruby
[04:14:47] al2o3-cr: DeBot: !hangman ruby
[04:14:48] DeBot: ??????????????????????????????????????????????????? [] 0/12
[04:14:55] DeBot: ??????????????????????????????????????????????????? [a] 1/12
[04:14:58] DeBot: ???????????????????????????e?????????e????????? [a] 1/12
[04:15:02] DeBot: ???????????????i?????????e???i???e????????? [a] 1/12
[04:15:05] DeBot: ???????????????i?????????e???i???e????????? [ao] 2/12
[04:15:08] DeBot: ???????????????i?????????e???i???e????????? [aou] 3/12
[04:15:17] DeBot: ???????????????i?????????e???i???e????????? [aout] 4/12
[04:15:19] DeBot: ????????????si?????????e???i???e????????? [aout] 4/12
[04:15:27] DeBot: ??????::si?????????e???i???e????????? [aout] 4/12
[04:15:34] DeBot: ??????::si?????????e???i???e????????? [aout#] 5/12
[04:15:48] xcesariox: has joined #ruby
[04:15:50] DeBot: ??????::si?????????e???i???e_?????? [aout#] 5/12
[04:16:14] DeBot: ??????::si???g???e???i???e_?????? [aout#] 5/12
[04:16:27] DeBot: ??????::sing???e???ine_?????? [aout#] 5/12
[04:16:34] DeBot: ??????::singleline_?????? [aout#] 5/12
[04:17:06] al2o3-cr: DeBot: give me a clue?
[04:17:47] DeBot: ??????::singleline_?????? [aout#f] 6/12
[04:17:57] DeBot: ??????::singleline_?????? [aout#fy] 7/12
[04:18:05] DeBot: ??????::singleline_?????? [aout#fyc] 8/12
[04:18:16] DeBot: ??????::singleline_?????? [aout#fycw] 9/12
[04:18:23] DeBot: ??????::singleline_?????? [aout#fycwq] 10/12
[04:18:30] DeBot: ??????::singleline_?????? [aout#fycwqh] 11/12
[04:18:34] DeBot: PP::singleline_pp [aout#fycwqhj] 12/12 You lost!
[04:18:49] al2o3-cr: just checking if DeBot works :) lol
[04:19:00] commondream: has joined #ruby
[04:19:49] juanpaucar: has joined #ruby
[04:21:08] al2o3-cr: DeBot: !hangman ruby
[04:21:08] DeBot: ??????????????????????????????????????????????????????????????????????????? [] 0/12
[04:21:14] DeBot: ???????????????????????????????????????????????????A????????????????????? [] 0/12
[04:21:17] DeBot: ??????e????????????????????????e???????????????A???????????????e??? [] 0/12
[04:21:22] DeBot: ??????e????????????????????????e???????????????A???????????????e??? [i] 1/12
[04:21:24] Hanmac: DeBot: #:
[04:21:24] DeBot: ??????e????????????::??????e???::??????A#????????????e??? [i] 1/12
[04:21:25] DeBot: O???e????????????::??????e???::??????A#???o??????e??? [i] 1/12
[04:21:30] DeBot: O???e????????????::??????e???::??????A#???o??????e??? [iu] 2/12
[04:21:38] Hanmac: Debot: OpenSSL
[04:22:17] al2o3-cr: hanmac: always that :)
[04:22:31] DeBot: Ope????????????::P???e???::??????A#???o??????e??? [iu] 2/12
[04:22:39] DeBot: Ope???SS???::P???e???::???SA#???o??????e??? [iu] 2/12
[04:22:40] Hanmac: you mean that its from OpenSSL or that i got the bot hanging?
[04:23:02] al2o3-cr: hanmac: from openssl
[04:23:21] DeBot: Ope???SSL::P???e???::???SA#???o??????e??? [iu] 2/12
[04:23:26] Hanmac: hm what i did wrong that the bot did not take my keys?
[04:23:28] DeBot: OpenSSL::P???e???::???SA#???o??????e??? [iu] 2/12
[04:23:32] DeBot: OpenSSL::P???e???::???SA#???o??????e??? [iu] 2/12
[04:23:38] DeBot: OpenSSL::P???e???::DSA#???o???de??? [iu] 2/12
[04:23:44] DeBot: OpenSSL::P???e???::DSA#???o_de??? [iu] 2/12
[04:24:19] DeBot: OpenSSL::PKe???::DSA#???o_de??? [iu] 2/12
[04:24:28] DeBot: OpenSSL::PKey::DSA#???o_de??? [iu] 2/12
[04:24:28] DeBot: OpenSSL::PKey::DSA#???o_de??? [iu] 2/12
[04:24:54] DeBot: OpenSSL::PKey::DSA#to_de??? [iu] 2/12
[04:25:05] tubuliferous: has joined #ruby
[04:25:06] DeBot: OpenSSL::PKey::DSA#to_de??? [iux] 3/12
[04:25:22] DeBot: OpenSSL::PKey::DSA#to_de??? [iuxc] 4/12
[04:25:41] DeBot: OpenSSL::PKey::DSA#to_de??? [iuxc] 4/12
[04:26:00] al2o3-cr: to_de ? wtf
[04:26:14] DeBot: OpenSSL::PKey::DSA#to_der [iuxc] 4/12 You won!
[04:26:35] al2o3-cr: der ... lol
[04:26:59] dingus_khan: has joined #ruby
[04:27:05] jenrzzz: has joined #ruby
[04:28:18] al2o3-cr: DeBot: !hangman
[04:28:18] DeBot: ???????????? [] 0/12
[04:28:21] charliesome: has joined #ruby
[04:28:29] DeBot: ???????????? [a] 1/12
[04:28:32] DeBot: ?????????e [a] 1/12
[04:28:37] DeBot: ?????????e [at] 2/12
[04:28:42] DeBot: ?????????e [atr] 3/12
[04:28:47] DeBot: ???i???e [atr] 3/12
[04:29:10] jayeshsolanki: has joined #ruby
[04:29:12] DeBot: ???i???e [atr] 3/12
[04:29:27] al2o3-cr: der just did r my god
[04:29:46] DeBot: ???i???e [atrm] 4/12
[04:29:56] DeBot: ???i???e [atrml] 5/12
[04:31:31] DeBot: ???i???e [atrmln] 6/12
[04:32:09] DeBot: ???i???e [atrmlnh] 7/12
[04:32:34] sevvie: has joined #ruby
[04:32:54] Der_Fuhrer: has joined #ruby
[04:33:08] DeBot: ???i???e [atrmlnhv] 8/12
[04:33:28] Ox0dea: has joined #ruby
[04:33:43] DeBot: ???i???e [atrmlnhvd] 9/12
[04:34:51] DeBot: ???i???e [atrmlnhvdj] 10/12
[04:35:05] DeBot: ???i???e [atrmlnhvdjc] 11/12
[04:35:10] DeBot: pipe [atrmlnhvdjc] 11/12 You won!
[04:35:17] Der_Fuhrer: anyone else love hitler?
[04:35:26] al2o3-cr: Der_Fuhrer: ?
[04:35:49] al2o3-cr: oh yeah web/freenode
[04:35:51] Der_Fuhrer: i'm making a rails app commemorating hitler and the jew holocaust lie
[04:36:14] pipework: apeiros, Radar: Can you take take of all of the above?
[04:36:32] Der_Fuhrer: it's going to be an interactive app that shows why hitler was great and how jews lied about the holocaust
[04:36:48] Der_Fuhrer: educating people in the truth is very important
[04:37:00] ruboto: sepp2k, fflush, apeiros, banisterfiend, seanstickle, Mon_Ouie, zzak, Radar, Havenn, jhass, Karpah, workmad3, miah, Coraline, drbrain, zenspider, slyphon, Aria, rubyhacker1, ljarvis
[04:37:13] Der_Fuhrer: al2o3-cr: why are you calling ops?
[04:37:30] Der_Fuhrer: do you have any physical evidence that proves the holocaust happened?
[04:37:40] Der_Fuhrer: the holocaust is a giant zog lie
[04:38:53] al2o3-cr: Der_Fuhrer: please preach else where
[04:39:21] Der_Fuhrer: did you know that there were jews in nazi government when hitler was "exterminating" them?
[04:39:45] psye: has joined #ruby
[04:40:10] jfarmer: has joined #ruby
[04:41:31] dc: has joined #ruby
[04:41:32] Joufflu: has joined #ruby
[04:43:27] duderonomy: has joined #ruby
[04:43:44] The_Phoenix: has joined #ruby
[04:48:15] shuber_: has joined #ruby
[04:48:37] Sawbones: has joined #ruby
[04:49:36] aristocat456: has joined #ruby
[04:49:55] aristocat456: has left #ruby: ()
[04:53:17] bronson: has joined #ruby
[04:54:19] scuey: has joined #ruby
[04:54:28] bkxd: has joined #ruby
[05:00:58] Ropeney: has joined #ruby
[05:02:26] paradisaeidae: has joined #ruby
[05:07:14] RegulationD: has joined #ruby
[05:08:08] guardianx: has joined #ruby
[05:10:17] guardianx: has joined #ruby
[05:11:26] guardianx: has joined #ruby
[05:11:36] shuber_: has joined #ruby
[05:14:02] tejasmanohar: has joined #ruby
[05:14:18] Spami: has joined #ruby
[05:15:15] miah: +b der_fuhrer!*@*
[05:15:18] miah: miah kicked Der_Fuhrer:
[05:15:52] CustosLimen: has joined #ruby
[05:17:40] sent1nel: has joined #ruby
[05:17:56] lolmaus: has joined #ruby
[05:18:02] psyprus: has joined #ruby
[05:19:04] codecop: has joined #ruby
[05:19:24] miah: messing around with net-ldap some more
[05:19:33] miah: i swear everybody hates ldap but its not that bad
[05:19:36] guardianx: has joined #ruby
[05:19:46] miah: though i still havent gotten the hang of writing schemeas
[05:20:01] miah: need to dedicate a week to that soon
[05:20:59] CodeGnome2: has joined #ruby
[05:21:34] al2o3-cr: sup miah :)
[05:22:00] miah: spent some time trying to get my thinkpad/linux setup usable again too.. spent too long on osx. its made me dumb.
[05:23:24] mary5030: has joined #ruby
[05:23:26] miah: having a hell of a time getting urxvt to come up with the color scheme i've defined in .Xresources.
[05:25:41] Ox0dea: has left #ruby: ("WeeChat 1.2-rc1")
[05:26:08] iwishiwerearobot: has joined #ruby
[05:27:22] Ropeney: has joined #ruby
[05:28:43] lolmaus: has joined #ruby
[05:29:10] Papierkorb: has joined #ruby
[05:30:01] _seanc_: has joined #ruby
[05:32:15] Sawbones: has joined #ruby
[05:32:16] commondream: has joined #ruby
[05:33:50] fabrice31: has joined #ruby
[05:36:11] lavros: has joined #ruby
[05:38:53] bruno-: has joined #ruby
[05:43:57] swgillespie: has joined #ruby
[05:44:24] diegoviola: has joined #ruby
[05:44:59] diegoviola: has joined #ruby
[05:46:51] bb010g: has joined #ruby
[05:49:18] sinequanon: has joined #ruby
[05:52:13] speakingcode: has joined #ruby
[05:57:02] bkxd: has joined #ruby
[05:57:58] JamesRichards: has joined #ruby
[05:58:20] JamesRichards: why is the ruby community filled with jerks?
[05:58:51] JamesRichards: especially the ops of this channel are huge assholes
[05:58:55] _blizzy_: has joined #ruby
[06:00:13] sre-su: has joined #ruby
[06:00:17] abuzze: has joined #ruby
[06:01:20] baweaver: Oh hey zenspider
[06:01:26] shuber_: has joined #ruby
[06:01:33] baweaver: Care to do the honors?
[06:01:37] zenspider: baweaver: DO NOT TALK TO ME I AM A HUGE ASSHOLE
[06:01:39] tuelz: has joined #ruby
[06:01:45] baweaver: Well yes, that's established
[06:02:20] al2o3-cr: it's about time this channel gets a +r or ban all web gateways and get a real irc client
[06:02:39] zenspider: oh god. you're not referring to JamesRichards are you?
[06:02:44] baweaver: Radar wants to, apeiros is against it last I knew
[06:03:12] ChanServ: +o zenspider
[06:03:57] zenspider: well... Der_Fuhrer fucked off... anything else?
[06:04:10] zenspider: he's on a web gateway and isn't registered, so there's little (effective) I can do at this point.
[06:04:20] miah: i booted them
[06:04:28] miah: and banned the nick
[06:04:30] ramfjord: has joined #ruby
[06:04:32] zenspider: kk. my proxy doesn't update me on that stuff when I come back
[06:04:51] baweaver: Ah, miah's an op too?
[06:04:53] zenspider: wow. the aryan nation has been on a roll the last couple days
[06:05:08] Hanmac: JamesRichards: what is your personal problem with the ops in this channel?
[06:05:16] miah: baweaver: yes
[06:05:27] baweaver: I lose track.
[06:05:36] miah: did ruby do something to them?
[06:05:46] zenspider: swastika, ARYAN_NATIONS, KKKLANSMAN, der_fuhrer... prolly all the same person, no?
[06:05:52] baweaver: miah: So what's your story? Curious.
[06:06:07] zenspider: miah: you mean...besides us ops being HUGE ASSHOLES?
[06:06:26] zenspider: or was it giant?
[06:06:32] Guest27857: has joined #ruby
[06:06:44] zenspider: um. I hope not.
[06:07:21] sandelius: has joined #ruby
[06:08:04] miah: story? its long. i work as a operations engineer by day at simple.com.
[06:08:17] baweaver: Oh hey, more ops types!
[06:08:21] miah: and 'learned' ruby a few years ago because of chef stuff
[06:08:25] miah: well puppet really
[06:08:36] miah: but chef gave me the final push
[06:08:43] juanpaucar: has joined #ruby
[06:08:43] zenspider: I can't believe we banned unclebob... we really ARE assholes
[06:08:50] diegoviola: has joined #ruby
[06:08:59] baweaver: DevOps myself, Infrastructure Administration
[06:09:13] bronson: has joined #ruby
[06:09:16] miah: i do that stuff i have just been doing it way longer than the term =)
[06:09:48] miah: i just call it operations engineering because ive had too many titles
[06:09:54] baweaver: Ha, I came in right around when the term came up.
[06:10:16] miah: i started working in IT doing consulting for netware, sco, and linux stuff in '97
[06:10:55] xxneolithicxx: OG IT in the house
[06:10:57] baweaver: Ah, so pretty close to my mentor actually. He's down in Santa Monica / LA area as a Cloud Ops lead
[06:10:58] miah: worked all sorts of places doing ops and security type work
[06:11:06] car: has joined #ruby
[06:12:02] miah: all my infrastructure is cloud based now. its great never having to rack gear now.
[06:12:15] baweaver: Don't I know it....
[06:12:17] miah: especially sun gear.. heavy stuff.
[06:12:31] baweaver: If I never have to run shielded ethernet again
[06:12:35] miah: had to get a special mount for my v890
[06:12:38] baweaver: ah that'd be great
[06:12:55] Aeyrix: >cloud based
[06:13:06] miah: when we had bigger stuff i worked elsewhere and we had dc techs =)
[06:13:13] baweaver: Used to work at a Wireless ISP, had to run 25 strands of heavy shield up a water tower
[06:13:16] baweaver: don't miss that.
[06:13:26] miah: oh wow. that sounds not fun.
[06:13:37] baweaver: Crimping that stuff was a beast.
[06:13:47] baweaver: Now working a lot of AWS automation
[06:13:51] miah: i jumped out of an airplane once. that was enough. i still dont like heights.
[06:13:54] tubuliferous: has joined #ruby
[06:14:08] baweaver: probably because default console is very much not friendly to specific permissioning of items.
[06:14:24] miah: ya, we use aws a ton. we have some writings about our stuff (its all python though) https://www.simple.com/engineering/infrastructure-as-code
[06:14:52] baweaver: We still need to write up on ours
[06:14:58] miah: when i worked at salesforce it took us months to go from gear arrival in dc to in production
[06:15:03] baweaver: But legal is still slow on giving us permissions to opensource things
[06:15:10] miah: now i roll entire stacks multiple times per day
[06:15:14] Aeyrix: baweaver: lol, sorry about that :(
[06:15:14] Aeyrix: that would've been part of my work had I moved to Seattle.
[06:15:36] Aeyrix: "now i roll stacks"
[06:15:37] Aeyrix: sounds illegal
[06:15:57] miah: i have a card
[06:15:58] baweaver: Sony as of now, PS4 runs a ton of stuff on AWS
[06:16:11] Aeyrix: I don't. :(
[06:16:20] baweaver: miah: So you're over in DC then?
[06:16:23] Aeyrix: baweaver: tbh that surprises me
[06:16:26] JamesRichards: hanmac: the ops are NIGGERS
[06:16:27] Aeyrix: Sony on AWS
[06:16:27] miah: i am in san francisco bay
[06:16:35] Aeyrix: JamesRichards: brool story co
[06:16:35] zenspider: +b *!d475b56b@gateway/web/freenode/ip.212.117.181.107
[06:16:35] zenspider: zenspider kicked JamesRichards:
[06:16:40] baweaver: Ah, same. Soma
[06:16:43] rippa: has joined #ruby
[06:16:45] Aeyrix: Thank @zenspider
[06:17:00] miah: no hesitation
[06:17:21] zenspider: I tolerate a lot of bullshit. that ain't one of them
[06:17:39] baweaver: Still interesting how many on this channel are in the Bay area
[06:17:52] Aeyrix: >made it to zen's ignore list
[06:17:54] miah: my job is in portland so i go up there every few months
[06:18:00] Aeyrix: >apparently i'm as much bullshit as that guy
[06:18:08] miah: otherwise i dont leave my island / house very often
[06:18:18] zenspider: baweaver: I'm in seattle, so no. I like visiting the bay, but I could never live there
[06:18:33] zenspider: miah: simple is in pdx??
[06:18:33] miah: its different if you dont live in the city proper
[06:18:38] miah: zenspider: yes
[06:18:54] miah: in the pearl
[06:18:55] baweaver: East Bay, Dublin area.
[06:19:03] Aeyrix: Dublin as in Ireland?
[06:19:05] baweaver: I just work downtown
[06:19:13] Aeyrix: Or have you lot stolen a UK city name again?
[06:19:16] miah: affordable housing == not living in san francisco
[06:19:17] abuzze: has joined #ruby
[06:19:17] zenspider: baweaver: you're near one of my favorite restaurants
[06:19:32] baweaver: Oh? In Dublin or Soma?
[06:19:48] baweaver: 21st Amendment if I had to guess.
[06:20:48] zenspider: baweaver: Trattoria La Siciliana in rockridge
[06:20:48] miah: we do a ton of cooking at home
[06:21:05] baweaver: miah: No kidding mate. 2500 for a studio is insane
[06:21:07] zenspider: wait. I may have flipped my map again. is dublin up towards pittsburg or is it south?
[06:21:14] diegoviola: has joined #ruby
[06:21:15] miah: i have a 3 bedroom house for that rate
[06:21:22] Aeyrix: miah: 2.5/mo?
[06:21:25] baweaver: Towards Pleasanton
[06:21:30] miah: alameda island ftw
[06:21:36] Aeyrix: miah: lmao
[06:21:45] Aeyrix: Half that for a 3 bed, 2 storey house
[06:21:46] miah: we got in 2 years ago when my roomate died and we got ellis acted
[06:22:01] Aeyrix: 350/wk: $1200/mo.
[06:22:12] miah: so i owned a house in houston for a short time
[06:22:15] Aeyrix: Granted it's upside down so
[06:22:21] miah: well.. i made payments on a house in houston =)
[06:22:23] Aeyrix: I guess that devalues it.
[06:22:43] miah: im aware of the insane cost of living here.. my kids live in the city though so its really difficult for me to move
[06:23:06] Aeyrix: I live in Australia, so I have no idea of the market around you. :P
[06:23:12] miah: check this out
[06:23:20] miah: http://www.upout.com/blog/san-francisco-3/5-castles-that-are-cheaper-than-an-apartment-in-san-francisco
[06:23:26] yaw: has joined #ruby
[06:23:29] miah: sums up our situation
[06:23:48] baweaver: Also, Maui and Honolulu are cheaper
[06:24:00] al2o3-cr: wow, just wow
[06:24:04] baweaver: It's not the area I like as much as the people and the challenges
[06:24:27] miah: stat i heard the other day; 100k new jobs per year, but only 8000 new housing units
[06:24:32] baweaver: ACTION pays $2100/mn for a 700 sqft 1 bed 45 minutes out of town
[06:24:40] miah: there are a bunch of nimbys that prevent construction
[06:24:50] miah: so we dont have the housing to match the demand
[06:25:07] miah: and also sf being a peninsula doesnt help
[06:25:25] miah: only way that we can build is up and people dont want skyscrapers to ruin their view
[06:25:52] zenspider: the bay area really needs to own the shift to virtual offices / teams
[06:26:04] miah: i wfh =)
[06:26:04] Rubie: has joined #ruby
[06:26:06] baweaver: tried to here
[06:26:07] miah: but i live in the bay so lulz
[06:26:25] miah: if only i could telecommute to my daughters
[06:26:47] baweaver: but they're stuck on people have to be in office
[06:26:55] miah: so many corps are ya
[06:27:06] zenspider: just imagine how much they'd save if they ditched that idea
[06:27:24] zenspider: even if you were 20% less efficient, they'd save 80% of their bullshit overheads
[06:27:28] miah: because trust and discipline are in low quanities in most orgs
[06:27:33] baweaver: They're stuck on it
[06:27:43] baweaver: Lord knows I've tried and made cases for it.
[06:28:01] zenspider: so rent some cheap ass place for an allhands and fly everyone there every 6 months... still cheaper
[06:28:03] miah: my first wfh job was in 2000 during the other bubble
[06:28:17] miah: and i've had a few others since, but 90% of the time its 'in the office daily by 9am'
[06:28:40] zenspider: makes even less sense if you're an admin, since you remote into all the boxen
[06:28:58] AlexRussia: has joined #ruby
[06:29:19] miah: our infrastructure is 100% cloud. none of engineering needs to be in the office.
[06:29:27] baweaver: and now this odd SAFe
[06:30:13] baweaver: miah: We could make a startup that facilitates making remote work easier :P
[06:30:21] miah: ive never worked anywhere that implemented scrum the same way
[06:30:25] baweaver: After all, it is the land of too many startups
[06:30:31] miah: i work for such a startup
[06:30:43] miah: where ops is 90% remote =)
[06:30:44] cosmicexplorer: has joined #ruby
[06:30:57] baweaver: Never said it was a bad thing :D
[06:31:16] miah: i will say, its nice to go into the office every few months and hang out
[06:31:47] baweaver: That part is nice
[06:32:07] baweaver: I've noticed though that remote tends to weed out less than optimal engineers a lot faster though
[06:32:13] baweaver: Some people just aren't cut out for it.
[06:32:33] zenspider: my guess is it biases towards introverts so the extroverts burn out faster
[06:32:36] baweaver: and honestly I wouldn't hire a remote without at least 3-5 years experience or something impressive in lieu
[06:33:08] miah: ah, i find the extrovert people on my team seem to chat more on irc and github and do more video hangouts
[06:33:20] miah: the introverts quietly close issues =)
[06:33:32] miah: guess which one i am?
[06:33:37] tejasmanohar: has left #ruby: ("WeeChat 1.1.1")
[06:35:33] baweaver: >> rand(2) == 0 ? :extrovert : :introvert
[06:35:35] ruboto: baweaver # => :extrovert (https://eval.in/368979)
[06:35:52] zenspider: you can put the ? on the symbol :P
[06:36:20] baweaver: ACTION has a very serious repl addiction
[06:36:21] zenspider: >> %i[introvert? extrovert?].sample
[06:36:22] ruboto: zenspider # => :extrovert? (https://eval.in/368980)
[06:36:37] abuzze_: has joined #ruby
[06:36:45] zenspider: got it twice, must be true
[06:36:52] miah: lollllll
[06:37:01] miah: only on irc
[06:40:37] baweaver: Ah, and miah, if you're ever hacking over the weekend feel free to ping me some time. I tend to frequent coffee shops up and down the bay
[06:40:53] zenspider: baweaver: which ones?
[06:42:17] bkxd_: has joined #ruby
[06:42:29] baweaver: There's a Five Barrel right down 2nd I tend to go to a lot as a default since it's on the way to work.
[06:42:30] miah: im always hacking. but i rarely leave my house.
[06:42:53] miah: i would be up to meeting up though
[06:43:19] sandelius: has joined #ruby
[06:43:23] baweaver: *Four Barrel
[06:43:53] miah: ya i used to work in that area of soma
[06:44:01] Ropeney: has joined #ruby
[06:44:21] baweaver: We're over on 2nd and Harrison, so right by 21st Amendment
[06:46:03] baweaver: Have a friend that just moved up from KC and another friend that moved up a while back working for Google that just emerged to the light of day again I'm catching up with this weekend.
[06:46:17] zenspider: I would like to find some places in the bay area that have the taste of blue bottle but without the snobbery
[06:46:41] baweaver: Yeah, I need to try that
[06:46:55] baweaver: I keep getting teas from Spicely, need to find some other good shops around there.
[06:47:03] zenspider: blue bottle is very very good. just... asshats
[06:47:27] zenspider: come up to seattle and I'll buy you the best cappuccino you'll ever have
[06:47:58] paradisaeidae: has joined #ruby
[06:48:14] baweaver: I might actually be up there in July
[06:48:21] baweaver: My Dad is from Centralia
[06:48:40] baweaver: so he makes a point of going up for Seahawks games all the time, sometimes tries to fly me out too
[06:49:00] zenspider: I've worked in centralia
[06:50:37] baweaver: Still reeling from that Greenbay game
[06:50:46] baweaver: Even though I rarely if ever watch football
[06:51:25] Jackneill: has joined #ruby
[06:51:27] baweaver: ACTION doesn't want to mention the superbowl
[06:54:16] miah: mmm a super bowl of ceral. good idea.
[06:54:29] krz: has joined #ruby
[06:54:32] miah: cereal too =)
[06:55:01] baweaver: I could do without the Giants games clogging BART though
[06:55:11] musty: I'm no rubyist, but this is hideous Ruby. http://www.scs.stanford.edu/brop/braille.rb
[06:55:34] towski_: has joined #ruby
[06:55:56] baweaver: Someone was a Java programmer
[06:56:10] RegulationD: has joined #ruby
[06:56:46] baweaver: musty: how'd you stumble on that one?
[07:02:30] zenspider: daaamn that's impressive
[07:02:42] miah: http://www.scs.stanford.edu/brop/
[07:02:51] miah: just went to that instead of reading that source
[07:02:56] baweaver: Well, yeah, that, but deeper
[07:03:11] baweaver: as in how in the world do you stumble upon something like that in general
[07:03:29] zenspider: data << "A" * 0
[07:03:49] zenspider: and all the separate packs being appended on... just... wow
[07:03:57] miah: researching exploit techniques and so forth?
[07:04:28] baweaver: ACTION isn't resisting refactoring urge well
[07:04:33] pcspecs1: has joined #ruby
[07:04:41] ahmetkapikiran: has joined #ruby
[07:06:13] pcspecs1: has left #ruby: ()
[07:06:14] zenspider: abort("damn dude you suck")
[07:06:17] zenspider: bout sums it up
[07:06:58] musty: baweaver, you don't.
[07:07:26] paradisaeidae: is rake broken in ruby-2.2.2 or is it just moi?
[07:07:37] dingus_khan: has joined #ruby
[07:07:38] baweaver: define broken
[07:07:44] baweaver: error messages help :)
[07:07:45] paradisaeidae: Cannot require gem in rakefile.
[07:08:19] musty: zenspider, baweaver, miah, it looks like a disaster.
[07:08:24] baweaver: try rake -v
[07:08:25] musty: Made me stop reading my book.
[07:08:34] baweaver: musty: It is
[07:08:40] diegoviola: has joined #ruby
[07:08:55] baweaver: We could remake it!
[07:09:05] baweaver: ACTION needs to stop this madness before he burns a weekend again
[07:09:21] zenspider: paradisaeidae: if you're IN the rakefile, you've already loaded rake to some extent...
[07:09:23] duderonomy: i'm interested in the highend coffee meetup; when/where? I haven't been to SightGlass on 7th since they completed that project, yrs ago
[07:09:52] paradisaeidae: My Gem.path looks fine.
[07:10:09] zenspider: paradisaeidae: what's the line in the rakefile?
[07:10:52] paradisaeidae: require 'active_record_migrations'
[07:10:57] miah: most 'exploit' code is so poc it hurts
[07:11:09] miah: proof of concept
[07:11:19] miah: its late =)
[07:11:43] zenspider: paradisaeidae: so, you're trying to load active_record_migrations and it is blowing up. why are you pointing at rake?
[07:11:45] miah: its kind of the irony of the security industry
[07:11:48] paradisaeidae: rake is rake, version 10.4.2
[07:11:58] miah: most code that comes out of it is horrible =)
[07:12:04] atmosx: has joined #ruby
[07:12:07] paradisaeidae: Was working fine with ruby-2.2.1
[07:12:27] zenspider: again, why are you blaming rake? is it saying anything to hint that?
[07:13:01] paradisaeidae: Fair q. Though other processes work fine finding gems.
[07:13:54] zenspider: `ruby -ractive_record_migrations -e 0`
[07:13:58] zenspider: what's that do?
[07:14:44] baweaver: ACTION needs to do more security research later for kicks
[07:15:53] paradisaeidae: t/kernel_require.rb:54:in `require': cannot load such file -- active_record_migrations (LoadError)
[07:16:11] zenspider: there you go. it's not rake
[07:16:29] paradisaeidae: hrrrmpph... thanks.!
[07:16:30] zenspider: `gem which active_record_migrations` is probably also an error
[07:16:52] miah: maybe you used bundler to install the gems to a different location and not in your system gems?
[07:17:08] paradisaeidae: GEMSR2/2.2.0/gems/active_record_migrations-4.2.1.2/lib/active_record_migrations.rb
[07:17:19] paradisaeidae: don't use bundler...
[07:17:52] jackjackdripper: has joined #ruby
[07:17:57] zenspider: `which ruby`
[07:18:00] zenspider: `which gem`
[07:18:03] zenspider: `which rake`
[07:18:13] zenspider: `head -1 $(which gem)`
[07:18:17] zenspider: `head -1 $(which rake)`
[07:18:30] zenspider: guessing they're pointing at different things
[07:19:22] paradisaeidae: Both pointing at.... RUBY/2.2.2/bin/ruby-2.2.2
[07:19:55] paradisaeidae: Which is compiled from source.
[07:20:05] zenspider: `env | egrep -i "ruby|gem"`
[07:20:17] zenspider: that might be messy. drop -i and cap ruby|gem
[07:20:24] musty: baweaver, are you re-coding it?
[07:20:40] baweaver: ACTION should really go to bed.
[07:21:08] zenspider: baweaver: don't do it until you have a contract in hand
[07:22:08] zenspider: code that bad? good chance they won't even read or learn from your rewrite. make em pay
[07:22:15] paradisaeidae: so...env | egrep cap ruby|gem ?
[07:22:38] fabrice31: has joined #ruby
[07:22:58] woodruffw: has joined #ruby
[07:23:28] paradisaeidae: Sorry zenspider... what are you looking for?
[07:24:49] paradisaeidae: I have a local /bin which has links to the ruby directory.
[07:25:03] pontiki: has joined #ruby
[07:25:04] paradisaeidae: This /bin is in my load path.
[07:28:17] michael_mbp: has joined #ruby
[07:28:18] User458764: has joined #ruby
[07:28:48] zenspider: paradisaeidae: I'm trying to see if you have any env vars that might be fucking anything up
[07:29:02] zenspider: RUBYOPT or GEM_HOME or GEM_PATH or... I have no idea. I'm fishing at this point
[07:32:07] Hanmac: has joined #ruby
[07:32:27] zenspider: paradisaeidae: wait a sec
[07:32:38] zenspider: you said everything is pointing at RUBY/2.2.2/bin/ruby-2.2.2
[07:32:53] paradisaeidae: Hang on... I've got it.
[07:32:57] zenspider: but you also said GEMSR2/2.2.0/gems/active_record_migrations-4.2.1.2/lib/active_record_migrations.rb
[07:33:02] zenspider: 2.2.0 != 2.2.2
[07:33:28] paradisaeidae: I know ... though they are correct... the leading part I dropped...
[07:33:38] zenspider: which means `gem` is pointed at the right thing, but ruby and rake are not
[07:33:53] paradisaeidae: but the issue is that I have a chruby which selects the ruby version.
[07:34:06] paradisaeidae: And init's the Gem dirs.
[07:34:11] miah: chruby doesnt use .ruby_version by default iirc
[07:34:18] paradisaeidae: It was not ruby for some reason.
[07:34:26] zenspider: I thought chruby didn't do gemset crap?
[07:34:41] zenspider: guess I'm sticking w/ rbenv + omg
[07:34:42] kenndel: has joined #ruby
[07:34:48] miah: iirc its optional behavior
[07:34:53] paradisaeidae: Well... disclosure....
[07:35:06] paradisaeidae: I 'modified' my chruby.... a bit...
[07:35:18] paradisaeidae: Whilst upgrading ruby...
[07:35:29] miah: and you may be using source /usr/local/share/chruby/auto.sh?
[07:35:56] miah: hopefully your modifications to chruby are not the cause? =)
[07:36:14] zotherstupidguy: has joined #ruby
[07:36:49] paradisaeidae: Not using auto...
[07:37:05] miah: then .ruby_version probably isn't respected
[07:37:25] paradisaeidae: Thanks for everyting!
[07:37:56] zotherstupidguy: has joined #ruby
[07:38:39] zotherstupidguy: has joined #ruby
[07:39:50] Alina-malina: has joined #ruby
[07:40:17] bruno-: has joined #ruby
[07:40:21] darkf_: has joined #ruby
[07:42:04] bmalum: has joined #ruby
[07:42:31] zotherstupidguy: has joined #ruby
[07:42:47] sinequanon: has joined #ruby
[07:48:59] DynamicMetaFlow: has joined #ruby
[07:50:19] paradisaeidae: ThanksAgain.... gottAgo..
[07:50:21] tuelz: has joined #ruby
[07:51:54] charliesome: has joined #ruby
[07:53:25] Sawbones: has joined #ruby
[07:55:40] ponga: has joined #ruby
[07:57:32] juanpaucar: has joined #ruby
[07:57:48] bkxd: has joined #ruby
[07:58:08] bronson: has joined #ruby
[08:01:31] WildBamboo-Josh: has joined #ruby
[08:02:43] tubuliferous: has joined #ruby
[08:08:58] P1RATEZ: has joined #ruby
[08:09:02] dingus_khan: has joined #ruby
[08:10:27] chishiki: has joined #ruby
[08:13:57] doublemalt_: has joined #ruby
[08:17:43] SparklingWiggles: has joined #ruby
[08:18:28] SparklingWiggles: any fun ruby challenges that are offline?
[08:21:14] tkuchiki: has joined #ruby
[08:21:23] wasamasa: the ruby sources of your installation
[08:22:40] pontiki: ACTION wonders how you'd get them if they were not online
[08:23:35] wasamasa: at least I have these on disk
[08:23:40] Scripore: has joined #ruby
[08:24:10] hardlin3r: has joined #ruby
[08:25:04] dfockler: has joined #ruby
[08:26:12] wasamasa: and having ruby installed for "challenges" should be a reasonable precondition, no :P
[08:26:51] jottr_: has joined #ruby
[08:27:28] jhass: al2o3-cr: here, nothing
[08:29:16] wasamasa: from this I've learned that there is a shorter incantation to boot up webrick
[08:29:21] wasamasa: ruby -run -e httpd -- --port=8000 .
[08:33:32] pontiki: the un library is a little odd
[08:35:30] cryptohacker: has joined #ruby
[08:36:18] mandarinkin: has joined #ruby
[08:37:22] DexterLB: has joined #ruby
[08:37:27] cryptohacker: I see nothing here
[08:37:49] cryptohacker: has left #ruby: ()
[08:37:58] Pupeno: has joined #ruby
[08:38:56] arietis: has joined #ruby
[08:40:37] jgt1: has joined #ruby
[08:40:55] bkxd_: has joined #ruby
[08:41:09] bruno-: has joined #ruby
[08:42:17] pardusf: has joined #ruby
[08:45:03] RegulationD: has joined #ruby
[08:46:03] chinmay_dd: has joined #ruby
[08:46:28] chishiki: has joined #ruby
[08:49:19] sent1nel: has joined #ruby
[08:49:23] atmosx: Time Machine automatic backup scheme saved me more than once..
[08:49:28] bkxd: has joined #ruby
[08:49:55] m8: has joined #ruby
[08:50:12] yh__: has joined #ruby
[08:50:44] centrx: has joined #ruby
[08:53:16] bmalum: has joined #ruby
[08:56:51] HotCoder: has joined #ruby
[08:58:46] zotherstupidguy: has joined #ruby
[08:59:09] chishiki: has joined #ruby
[09:03:43] ndrei: has joined #ruby
[09:04:07] Bermulium: has joined #ruby
[09:04:13] jhass: -b *!*@unaffiliated/zcm$##ruby-fix-your-connection
[09:04:56] sevenseacat: has joined #ruby
[09:05:44] zotherstupidguy: has joined #ruby
[09:06:06] exadeci: has joined #ruby
[09:06:27] Bermulium: What are Enumerables ?
[09:06:40] jhass: Bermulium: classes that include the Enumerable module
[09:06:53] jhass: the requirement of that module is that they define an each method
[09:07:15] jhass: it provides allot of functionality on top of that
[09:07:29] Bermulium: hm why an each method only?
[09:08:00] centrx: Bermulium, The distinctive quality of an Enumerable is that it can be iterated
[09:08:10] zenspider: Bermulium: `ri Enumerable`
[09:08:10] centrx: Bermulium, #each is the basic mechanism of iteration
[09:08:55] bkxd_: has joined #ruby
[09:09:31] Bermulium: I see. And then there are enumerable methods?
[09:09:44] dingus_khan: has joined #ruby
[09:09:50] Jackneill: has joined #ruby
[09:10:26] centrx: What does that mean
[09:10:50] jhass: -b $r:PircBot*$##whatschat
[09:10:58] jhass: +b $r:PircBot*$#ruby-banned
[09:11:28] fabrice31: has joined #ruby
[09:11:36] Bermulium: What exactly, what don't you understand?
[09:11:47] jottr: has joined #ruby
[09:11:53] centrx: "there are enumerable methods" - what does this mean
[09:11:55] centrx: It is what you said
[09:12:01] Bermulium: What you think it means?
[09:12:09] centrx: What do you think you meant when you said it?
[09:12:25] Bermulium: It can only mean one thing
[09:12:29] Bermulium: methods such as map etc
[09:12:37] jhass: -b $r:AnonymousWS
[09:12:39] DLSteve: has joined #ruby
[09:12:52] centrx: Bermulium, Yes, those are methods on http://ruby-doc.org/core-2.2.2/Enumerable.html
[09:12:55] jhass: -b *~elev!*@*
[09:14:06] jhass: -q *!*@*195.1.88.97
[09:14:19] jhass: -q *!*@gateway/web/freenode/ip.128.2.251.*
[09:14:32] jhass: -q kiwi_49688!*@*
[09:14:49] jhass: what's funny?
[09:15:23] centrx: must be one of those kids born after Sept 11
[09:15:39] centrx: everything changed
[09:16:57] zotherstupidguy: has joined #ruby
[09:18:45] sandelius: has joined #ruby
[09:19:41] leafybasil: has joined #ruby
[09:20:51] leafybasil: has joined #ruby
[09:23:06] al2o3-cr: oh, ok. only just seen what you said :)
[09:27:45] jhass: -b *!d475b56b@gateway/web/freenode/ip.212.117.181.107
[09:29:44] bmalum: has joined #ruby
[09:31:06] spider-mario: has joined #ruby
[09:34:03] ljarvis: has joined #ruby
[09:34:15] bkxd: has joined #ruby
[09:34:16] iwishiwerearobot: has joined #ruby
[09:35:40] mandarinkin: has joined #ruby
[09:38:22] mandarinkin: has joined #ruby
[09:38:24] data-cat: has joined #ruby
[09:38:28] arietis: has joined #ruby
[09:39:13] tuelz: has joined #ruby
[09:39:30] data-cat: How can I do the opposite of Hash.inspect? So like, turn a string back in to a hash.
[09:40:12] apeiros: data-cat: that bears the question: why?
[09:40:23] apeiros: data-cat: take a look at literal_parser gem. it does that without eval.
[09:40:48] jhass: data-cat: but do not just proceed, the why is important here, there's likely a better alternative to what you're doing
[09:40:54] arietis: has joined #ruby
[09:41:21] data-cat: I have some hacky code that stores a simple hash in our database by turning it in to a string first.
[09:41:34] jhass: serialize to yaml or json then
[09:41:50] zotherstupidguy: has joined #ruby
[09:42:09] data-cat: ahh, I didn't think of that
[09:42:18] data-cat: that will be much better, and easier to work with
[09:42:45] apeiros: + or marshal
[09:42:50] apeiros: (as another option)
[09:42:56] kraljev11: has joined #ruby
[09:43:07] apeiros: personally I'd probably go with json if its data types suffice, yaml otherwise.
[09:43:13] apeiros: marshal only if performance matters
[09:43:23] data-cat: Yea, json will work perfectly here.
[09:44:06] n008f4g_: has joined #ruby
[09:45:41] multiscan: has joined #ruby
[09:46:28] juanpaucar: has joined #ruby
[09:46:59] bronson: has joined #ruby
[09:47:37] jottr_: has joined #ruby
[09:47:48] jayeshsolanki: has joined #ruby
[09:47:52] platzhirsch: has joined #ruby
[09:49:08] bkxd_: has joined #ruby
[09:49:17] P1RATEZ: has joined #ruby
[09:49:21] jayeshsolanki: has joined #ruby
[09:49:31] bkxd_: has joined #ruby
[09:50:08] bkxd: has joined #ruby
[09:50:25] zotherstupidguy: has joined #ruby
[09:51:31] tubuliferous: has joined #ruby
[09:51:37] bmalum: has joined #ruby
[09:51:47] jayeshsolanki: has joined #ruby
[09:54:06] alphaatom: has joined #ruby
[09:54:36] atmosx: Anyone knows how to run this 'R' script? http://pastebin.com/pgZVC6N1 - I'm kinda stuck with the syntax.
[09:54:36] ruboto: atmosx, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
[09:54:47] atmosx: ruboto: okay sure
[09:55:57] atmosx: ah n/m just made executable.
[09:56:33] kurtec: has joined #ruby
[09:56:44] zenspider: atmosx: is the question about how to run R scripts and pass args?
[09:57:25] atmosx: zenspider: it was yes, but making the script +x solved the issue.
[09:57:41] zenspider: atmosx: and running with `R script.R` args didn't?
[09:57:49] zenspider: oops. `R script.R args`
[09:58:22] zotherstupidguy: has joined #ruby
[09:58:31] atmosx: zenspider: nope, didn't work for me. Not even after adding --no-save ... It was the first thing I've tried, since it's the std way or running script under nix
[09:58:40] zenspider: oh looks like it should prolly be `R batch script.R args`
[09:58:40] DynamicMetaFlow: has joined #ruby
[09:59:15] atmosx: I've seen that too on SO after a google search... But I thought that it was a windows-specific flag.
[09:59:19] nfk: has joined #ruby
[09:59:20] atmosx: hm, my bad.
[09:59:31] Sawbones: has joined #ruby
[09:59:37] zenspider: *shrug* I try to avoid R... I was just looking at `R --help`
[10:00:15] sdothum: has joined #ruby
[10:00:45] multiscan: has joined #ruby
[10:01:03] kurtec: has joined #ruby
[10:01:11] arietis: has joined #ruby
[10:04:05] atmosx: zenspider: I'm still trying to run this thing, but doesn't produce an output. http://www.spinellis.gr/blog/20150113/index.html I thought the 2nd arg should be a directory where data will be exported, but hm it's not.
[10:06:00] zenspider: 2nd arg is "name"... looks like it is only for the labels
[10:06:19] atmosx: ah my bad it works
[10:10:11] mercerist: has joined #ruby
[10:10:32] dingus_khan: has joined #ruby
[10:13:32] bmalum: has joined #ruby
[10:13:55] shuber_: has joined #ruby
[10:17:19] Alina-malina: has joined #ruby
[10:23:31] kamichi: has joined #ruby
[10:28:28] kurtec: has joined #ruby
[10:30:54] Alina-malina: has joined #ruby
[10:32:37] bmalum: has joined #ruby
[10:32:55] zotherstupidguy: has joined #ruby
[10:32:59] DynamicMetaFlow: has joined #ruby
[10:33:57] RegulationD: has joined #ruby
[10:35:44] soulcake: has joined #ruby
[10:36:10] pandaant: has joined #ruby
[10:39:50] hardlin3r: has joined #ruby
[10:39:56] Notte: has joined #ruby
[10:42:37] bruno-: has joined #ruby
[10:42:56] arup_r: has joined #ruby
[10:46:36] Alina-malina: has joined #ruby
[10:48:04] phutchins: has joined #ruby
[10:48:44] wildroman2: has joined #ruby
[10:50:46] DEA7TH: has joined #ruby
[10:51:02] dc: has joined #ruby
[10:51:55] commondream: has joined #ruby
[10:52:25] Solsist: has joined #ruby
[10:52:56] jgt1: has joined #ruby
[10:55:26] DEA7TH: has joined #ruby
[10:56:40] tkuchiki: has joined #ruby
[10:57:33] _blizzy_: has joined #ruby
[10:58:28] hectortrope: has joined #ruby
[10:59:03] bruno-: has joined #ruby
[11:00:13] fabrice31: has joined #ruby
[11:01:50] alphaatom: has joined #ruby
[11:02:56] bronson: has joined #ruby
[11:03:04] alphaatom: has joined #ruby
[11:03:38] jenrzzz: has joined #ruby
[11:06:34] serivichi: has joined #ruby
[11:06:34] serivich: has joined #ruby
[11:10:36] DynamicMetaFlow: has joined #ruby
[11:11:29] Hounddog: has joined #ruby
[11:11:51] sgambino: has joined #ruby
[11:15:35] shuber_: has joined #ruby
[11:16:04] kraljev11: has joined #ruby
[11:17:02] kamichi: has joined #ruby
[11:17:32] sigurding: has joined #ruby
[11:18:17] HotCoder: who here uses ruby on vim? report to me please
[11:18:50] bmalum: has joined #ruby
[11:18:51] apeiros: probably just not english as mother tongue
[11:19:17] apeiros: HotCoder: it's better if you ask a specific question instead of asking for people
[11:19:29] apeiros: when/if somebody can help you, they will
[11:19:38] HotCoder: sevenseacat, lol ye
[11:19:45] HotCoder: i dont have a specific question
[11:19:51] HotCoder: i just want to learn ruby
[11:20:00] sevenseacat: so why do you need vim users?
[11:20:01] HotCoder: and i am trying to ask vim users why they think vim is better
[11:20:05] apeiros: -o zenspider
[11:20:10] apeiros: -o apeiros
[11:20:15] apeiros: ACTION steals wizard hats again
[11:20:15] sevenseacat: whats that got to do with learning ruby?
[11:20:28] HotCoder: what is the advantage of vim over sublime in regards to learning ruby
[11:20:30] HotCoder: is my question
[11:20:39] sevenseacat: editors are about personal preference
[11:20:41] apeiros: "in regards to learning ruby" probably none
[11:21:16] HotCoder: welp, moving on is my thing so..
[11:21:49] sevenseacat: if you dont already use vim, its just another thing to learn before you can do what you actually want to do
[11:23:21] wasamasa: HotCoder: using vim or emacs won't magically make you a better programmer
[11:23:44] HotCoder: sevenseacat, yea i agree. but im trying to learn as much as i can
[11:23:51] HotCoder: so i guess i'll learn vim along the way too
[11:24:02] HotCoder: wasamasa, it wont. but im trying to find out which is more powerful
[11:24:04] wasamasa: HotCoder: knowing either of them however can make for a nicer editing experience
[11:24:15] wasamasa: HotCoder: that question doesn't make much sense
[11:24:30] DLSteve: I use a bloated IDE :P
[11:24:43] sevenseacat: and then you'll spend the next week learning vim, then the week after that choosing extensions and plugins, and then you still wont know ruby
[11:25:04] Ropeney: has joined #ruby
[11:25:06] kirun: has joined #ruby
[11:25:13] jhass: I think we cleared that up, next topic please!
[11:25:25] HotCoder: i've been putting it off for months now. still dont know ruby
[11:25:38] wasamasa: then you might have greater problems than choosing a text editor
[11:25:55] sevenseacat: ah, so we're into 'looking for excuses not to do it' phase?
[11:26:04] HotCoder: i love how this channel comes with a free therapy session :D
[11:26:07] wasamasa: it sure sounds that way :P
[11:26:11] sevenseacat: in that case, let me point towards this list of editors, or even this list of alternate languages!
[11:26:16] wasamasa: HotCoder: don't worry, we're experts on this topic
[11:26:27] HotCoder: wasamasa, the therapy? ruby? or vim?
[11:26:29] sevenseacat: i'm learning elixir atm. i quite like it.
[11:26:35] wasamasa: HotCoder: procrastination
[11:26:54] HotCoder: sevenseacat, do you now? i'm originally a java coder. its a little lengthy, little painful, little slow
[11:26:57] HotCoder: in ways its just like me
[11:27:08] sevenseacat: btw, do you have a favorite colour scheme or theme for your editor? what about a font? :)
[11:27:19] HotCoder: red and comic sans!
[11:27:25] wasamasa: red is not a color scheme
[11:27:33] HotCoder: orchard wonders
[11:27:39] HotCoder: thats my favorite colour scheme
[11:27:52] tuelz: has joined #ruby
[11:28:04] sevenseacat: I'm a Dobdark kind of woman.
[11:28:25] wasamasa: I'm still hung up on solarized dark
[11:28:39] sevenseacat: never liked solarized
[11:28:40] wasamasa: since it avoids making my eyes hurt when staring on it for prolonged times
[11:28:48] HotCoder: sevenseacat, and you know what they say about dobdark women
[11:28:49] wasamasa: I assume the same goes for zenburn users
[11:29:10] sevenseacat: HotCoder: we're awesome programmers? :)
[11:29:16] HotCoder: "whips and chainz may break my bones but words can never hurt me"
[11:29:30] wasamasa: still need a good light theme though, solarized light is looking like code on a pee-colored background
[11:29:44] sevenseacat: shun the light themes
[11:29:44] HotCoder: wasamasa, so its kinda like you then?
[11:30:02] wasamasa: HotCoder: leave my pissiness alone
[11:30:11] HotCoder: wasamasa, how about no
[11:30:18] wasamasa: ACTION sighs
[11:30:34] banister: has joined #ruby
[11:30:34] HotCoder: vim is actually a detergent brand
[11:30:42] HotCoder: did you know that?
[11:30:50] sevenseacat: HotCoder: there's joking, and then there's verging on rude
[11:31:15] HotCoder: sevenseacat, the vim thing? there actually is a detergent
[11:31:25] HotCoder: tide's much better tho
[11:31:46] djbkd: has joined #ruby
[11:32:29] DLSteve: Tide is the #1 selling brand.
[11:33:49] tkuchiki: has joined #ruby
[11:35:19] juanpaucar: has joined #ruby
[11:35:44] Takle: has joined #ruby
[11:35:48] rickmasta: has joined #ruby
[11:36:05] Aeyrix: wtf am i reading
[11:36:28] Aeyrix: I'm lucky nobody at work can see my IRC screen
[11:36:31] Aeyrix: they'd wonder if I was okay
[11:36:41] wasamasa: guess I'll eventually make a light greyscale theme with one or two colors as highlight
[11:36:43] HotCoder: its not hard to understand
[11:36:54] HotCoder: Aeyrix, just playful banter
[11:37:01] sevenseacat: Aeyrix: why are you at work on a saturday night
[11:37:08] HotCoder: liar detected
[11:37:11] Aeyrix: sevenseacat: Hahahahahahaha
[11:37:18] Aeyrix: Oh you people with your 35hr weeks are so cute.
[11:37:27] HotCoder: i dont even have a job
[11:37:29] HotCoder: i freelance
[11:37:34] Aeyrix: You people with your 0 hour jobs are cuter.
[11:37:45] Aeyrix: I work a 8:30-6:30 atm.
[11:37:53] Aeyrix: I'm not *at work* right now, but I am writing a report.
[11:38:02] Aeyrix: I just want to get it out of the way mostly.
[11:38:28] sevenseacat: well, i do 8-4, but same thing
[11:38:52] Aeyrix: My old job was like
[11:38:58] Aeyrix: 8:30 - 7:30 expectation
[11:39:28] Aeyrix: Yeah I generally left at 5.
[11:39:34] sevenseacat: i'm an employee, not a slave
[11:39:48] ytti: anything more than 8h day here would mean overtime
[11:39:48] Aeyrix: My current job I actively stay back tbh.
[11:39:55] Aeyrix: ytti: Same
[11:40:02] Aeyrix: But it was like, an unspoken expectation.
[11:40:11] Aeyrix: My current job 'expects' 9-5 just like anywhere else.
[11:40:19] Aeyrix: But I'm generally 8 to 6, sometimes 8 - 8
[11:40:20] tubuliferous: has joined #ruby
[11:40:24] Aeyrix: just because i don't have anywhere to be and i enjoy my jon
[11:40:25] sevenseacat: yeah no i dont do 'unspoken' things anymore
[11:40:26] Aeyrix: my job too
[11:40:27] ytti: we don't have enough seats at the office for all employees
[11:40:39] Aeyrix: ACTION lives alone. ( ._.)
[11:40:39] ytti: telecommuting is expected
[11:41:05] ytti: i usually go to the office for meetings
[11:41:18] Aeyrix: I like my office. I have an awesome view of the harbour.
[11:41:20] bmalum: has joined #ruby
[11:41:53] banister: has joined #ruby
[11:42:05] HotCoder: you people with your jobs so lucky
[11:42:08] ytti: i used to have view to the sea, but not for few years time
[11:42:26] Aeyrix: HotCoder: Getting a job isn't difficult.
[11:42:47] Aeyrix: I don't have a degree.
[11:42:58] Aeyrix: I'm working towards one, but only because I've gone too far to drop out now.
[11:43:07] Aeyrix: My professional summary makes no mention of a degree.
[11:43:14] ytti: gteting job today is LOT harder than it was in mid-late 90s
[11:43:15] sivoais: has joined #ruby
[11:43:23] HotCoder: Aeyrix, where do you work
[11:43:24] ytti: then literally no qualifications was required
[11:43:26] Aeyrix: ACTION shrugs.
[11:43:28] Aeyrix: Maybe I'm lucky.
[11:43:36] ytti: after that you have experience
[11:43:38] ytti: and you're employable
[11:43:48] ytti: but landing that first job is very market dependent
[11:43:48] Aeyrix: Yeah I kind of cheated.
[11:43:52] Aeyrix: My first job was a fortune 100.
[11:43:55] Aeyrix: So after that I can go anywhere.
[11:44:00] ytti: if you graduate to bear market, you're fucked
[11:44:16] ytti: because if you won't find job in first year, you're someone who was unemloyed for a year
[11:44:21] ytti: competeting with someone who jsut graduated
[11:44:23] Aeyrix: HotCoder: Without giving specifics, I work for an information security firm that is quite well known in the field.
[11:44:29] ytti: you're much less favorable hire
[11:44:40] ytti: if your university permits it, don't graduate until you have job
[11:44:48] ytti: so then you can at least say you're studying
[11:44:55] Aeyrix: I work full-time and study full-time at the moment.
[11:45:03] wasamasa: two full times?
[11:45:08] wasamasa: how does that even work
[11:45:13] Aeyrix: Stubbornness.
[11:45:26] wasamasa: ACTION studies for half a semester, then works for the other half full time
[11:45:27] Aeyrix: That word looks incorrect..
[11:45:42] ytti: it's right
[11:45:44] Aeyrix: wasamasa: I just want my degree to be over.
[11:45:48] Aeyrix: So I just do both full time.
[11:45:57] Aeyrix: I don't really have a social life, but I don't have the time to regret not having one.
[11:46:04] HotCoder: Aeyrix, nice nice. pays well?
[11:46:08] wasamasa: not even on the weekend?
[11:46:08] Aeyrix: I just moved interstate anyway, so it's not like I have any friends. :P
[11:46:10] Aeyrix: HotCoder: Very.
[11:46:14] Aeyrix: wasamasa: Rarely.
[11:46:20] wasamasa: I sometimes do
[11:46:25] Aeyrix: In between semesters yes, but all of my friends also work full-time.
[11:46:26] woodennails: has joined #ruby
[11:46:38] ytti: hey we are all on irc, let's not kid ourself not having extra time :)
[11:46:41] HotCoder: Aeyrix, :O nice
[11:46:43] HotCoder: congrats man
[11:46:49] Aeyrix: ytti: I'm reporting right now yo. :P
[11:46:52] Aeyrix: Two screens.
[11:47:03] wasamasa: ACTION uses IRC for work communication
[11:47:08] wasamasa: so convenient
[11:47:10] Aeyrix: We have an internal IRC server.
[11:47:23] Aeyrix: I'm trying to convince people to move to Slack because it's nicer for teams.
[11:47:25] wasamasa: it's just annoying when the trainees don't respond in a timely manner when pinging them
[11:47:43] wasamasa: Aeyrix: lol, last thing I've heard of slack is that their IRC implementation is hacky
[11:47:59] Aeyrix: It's an endpoint. I've done... more research than I should've about them.
[11:48:08] wasamasa: https://github.com/jorgenschaefer/circe/issues/164
[11:48:28] wasamasa: "Slack forgets to add a colon to indicate the last argument in the RPL_WELCOME message"
[11:48:45] Aeyrix: I don't use their IRC endpoint.
[11:48:49] Aeyrix: Their web UI works well enough for me.
[11:48:50] Aeyrix: I quite like it.
[11:49:13] alphaatom: has joined #ruby
[11:49:32] Aeyrix: My only issue is that it's hosted in the USA.
[11:50:20] Aeyrix: sevenseacat: You don't use a BNC do you?
[11:50:29] wasamasa: ACTION shakes fist at these slackers
[11:50:42] Aeyrix: wasamasa: I solved the USA thing by just writing an alternative. ^_^
[11:51:03] Aeyrix: rails + websockets + redis + postgre
[11:52:52] platzhirsch: has joined #ruby
[11:53:18] Jackneill: has joined #ruby
[11:53:43] jgt1: has joined #ruby
[11:53:48] bmalum: has joined #ruby
[11:54:54] bruno-: has joined #ruby
[11:55:56] davispuh: has joined #ruby
[11:57:42] atmosx: has joined #ruby
[11:58:30] iamninja: has joined #ruby
[12:01:50] sdothum: has joined #ruby
[12:01:53] psye: has joined #ruby
[12:02:05] bkxd: the things that scares me about that stack for example, is that all these bespoke techs are probably not going to be around indefinitely
[12:02:09] irobevjodu: has joined #ruby
[12:02:50] sevenseacat: Aeyrix: i dont know what that is, so ill say no.
[12:03:05] Aeyrix: I wondered if you saw my question in #ror earlier. Evidently not.
[12:03:22] Aeyrix: Was hunting an Australian who knew about licensing in Australia.
[12:03:23] sevenseacat: was it a good one?
[12:03:28] Aeyrix: wow rude :(
[12:03:28] sevenseacat: um, a little.
[12:03:44] aryaching: has joined #ruby
[12:03:46] sevenseacat: (as in, i know a little)
[12:03:55] qwertme: has joined #ruby
[12:03:55] sevenseacat: ACTION doesn't have a full license
[12:04:03] ndrei: has joined #ruby
[12:04:07] Aeyrix: I mean software licensing.
[12:04:22] sevenseacat: um, then i know even less
[12:04:37] Aeyrix: I might just contact a damn lawyer.
[12:05:42] Aeyrix: tl;dr there's a discussion as to whether or not you can disclaim liability in Australia.
[12:05:53] Aeyrix: As in, someone could *actually* sue you if they use your MIT licensed code and break their legs or something.
[12:06:03] Aeyrix: (successfully)
[12:07:32] Aeyrix: It's an interesting discussion though, although I seriously doubt it's true.
[12:14:06] yh__: has joined #ruby
[12:15:48] bruno-: has joined #ruby
[12:16:22] arietis: has joined #ruby
[12:16:55] shuber_: has joined #ruby
[12:18:30] dorei: has joined #ruby
[12:22:47] RegulationD: has joined #ruby
[12:24:03] chinmay_dd: has joined #ruby
[12:27:26] Leef_: has joined #ruby
[12:28:37] tuelz: has joined #ruby
[12:29:34] lolmaus: has joined #ruby
[12:32:43] towski_: has joined #ruby
[12:33:55] Takle_: has joined #ruby
[12:34:08] spider-mario: has joined #ruby
[12:35:03] edwinvdgraaf: has joined #ruby
[12:35:26] jottr_: has joined #ruby
[12:38:05] HotCoder: question. i cant get rvm to install on my linux system
[12:38:31] HotCoder: how can i do so?
[12:38:38] HotCoder: i used these commands right here
[12:38:46] sevenseacat: go to the rvm website and follow the instructions?
[12:38:55] jgt1: has joined #ruby
[12:39:00] HotCoder: rvm.io/rvm/install
[12:39:04] HotCoder: thats literally what i did
[12:39:48] HotCoder: \curl -sSL https://get.rvm.io | bash
[12:39:51] sevenseacat: and why didnt it install?
[12:39:53] HotCoder: \curl -sSL https://get.rvm.io | bash -s stable --ruby
[12:39:56] HotCoder: it installed
[12:39:59] HotCoder: but then i did rvm -v
[12:40:03] HotCoder: and it dont detect
[12:40:05] sevenseacat: so the problem is?
[12:40:16] HotCoder: the problem is
[12:40:18] sevenseacat: "it dont detect"?
[12:40:29] HotCoder: that i "installed" but it dont recognize the rvm command
[12:40:41] sevenseacat: what os are you on?
[12:40:42] HotCoder: rvm: command not found
[12:40:51] HotCoder: so a variation of linux
[12:41:09] HotCoder: do i have to set the default?
[12:41:35] sevenseacat: is your terminal a login terminal?
[12:42:05] sevenseacat: if not, you'll need to set it as one
[12:42:12] HotCoder: then install again? or?
[12:42:31] sevenseacat: no, then it will work
[12:42:58] jhass: personally I just add the source line to the .$SHELLrc
[12:43:08] HotCoder: jhass, how do i do that then?
[12:43:21] sevenseacat: ACTION shrugs
[12:43:23] jhass: look at the profile, transfer that line to the rc
[12:43:23] sevenseacat: I dont even use rvm
[12:43:32] jhass: well, same for the other things
[12:43:40] HotCoder: sevenseacat, yeah it works for the login terminal
[12:43:45] HotCoder: i had the same problem with node
[12:43:52] HotCoder: but i had to set the defaults or something
[12:44:03] HotCoder: i need to know how to make it available to all terminals :P
[12:45:01] davedev24_: has joined #ruby
[12:45:04] Pupeno: has joined #ruby
[12:45:25] diegoviola: has joined #ruby
[12:46:36] sevenseacat: uh... you configure your terminal to be a login terminal
[12:46:42] sevenseacat: which is what i just said
[12:46:49] jhass: or transfer the source line to the rc
[12:46:53] jhass: which is what I just said
[12:46:57] sevenseacat: either will work :)
[12:47:27] HotCoder: jhass, how to transfer source line
[12:47:58] jhass: you open both files in your editor and do it
[12:48:15] sevenseacat: you need to know how to edit a file?
[12:48:23] shevy: you shout Cthulhu three times
[12:48:34] HotCoder: what files do i edit and what line do i put on there
[12:48:43] jhass: the profile your shell reads and the rc your shell reads
[12:49:05] fabrice31: has joined #ruby
[12:50:56] HotCoder: i have no idea what this is
[12:51:02] HotCoder: anyone got a link that explains
[12:51:05] HotCoder: how to do this
[12:51:35] sevenseacat: i guess thats a yes
[12:51:48] bronson: has joined #ruby
[12:51:49] sevenseacat: you know the instructions that told you to put some lines in .bash_profile? do that, except for .bashrc
[12:52:59] davedev24: has joined #ruby
[12:53:56] Alina-malina: has joined #ruby
[12:54:12] rodfersou: has joined #ruby
[12:54:18] shevy: anyone has an idea why this does not work? https://gist.github.com/shevegen/3acd16d8a92c6216253f the part "alias e puts" does not seem to work when it is put inside the module; it works when I put it on top outside the module
[12:54:55] shevy: hmm it does work when it is an instance method...
[12:55:28] apeiros: shevy: alias aliases instance methods
[12:55:36] apeiros: shevy: you must put it into a self << class; end
[12:55:42] shevy: cool, thanks
[12:56:00] apeiros: if SOME_VALUE; class << self; alias e puts; end; end
[12:56:49] bkxd: has joined #ruby
[13:00:46] pwattstbd: has joined #ruby
[13:00:55] bkxd: has joined #ruby
[13:01:44] pontiki: has joined #ruby
[13:07:42] Alina-malina: has joined #ruby
[13:07:47] michael_mbp: has joined #ruby
[13:08:32] wildroman2: has joined #ruby
[13:10:22] DexterLB: has joined #ruby
[13:12:48] dingus_khan: has joined #ruby
[13:13:35] dopie: has joined #ruby
[13:15:00] c355E3B: has joined #ruby
[13:18:02] shuber_: has joined #ruby
[13:21:19] e1nh4nd3r: has joined #ruby
[13:22:38] giuseppesolinas: has joined #ruby
[13:23:38] RegulationD: has joined #ruby
[13:24:14] juanpaucar: has joined #ruby
[13:25:19] Alina-malina: has joined #ruby
[13:25:20] djbkd: has joined #ruby
[13:26:03] Scripore: has joined #ruby
[13:29:08] tubuliferous: has joined #ruby
[13:29:08] doodlehaus: has joined #ruby
[13:30:48] michael_mbp: has joined #ruby
[13:31:48] mercerist: has joined #ruby
[13:32:58] irobevjodu: has joined #ruby
[13:35:07] shevy: /I do not believe zotherstupidguy
[13:35:41] OrbitalKitten: has joined #ruby
[13:36:07] mercerist: has joined #ruby
[13:36:29] dstarh: has joined #ruby
[13:40:03] bitch: has joined #ruby
[13:45:21] apeiros: moin pontiki
[13:45:58] shevy: king pontiki has arrived
[13:46:04] pontiki: what mischief today, mavens of the gem?
[13:46:12] bruno-: has joined #ruby
[13:47:16] prostitute: has joined #ruby
[13:47:56] sandelius: has joined #ruby
[13:48:13] coderhs: has joined #ruby
[13:50:57] arietis: has joined #ruby
[13:51:57] dfockler: has joined #ruby
[13:53:02] bronson: has joined #ruby
[13:56:17] HotCoder: sevenseacat, you seem to know a lot about this matter. what is the latest version of rvm?
[13:56:19] Takle: has joined #ruby
[13:57:23] jhass: HotCoder: the one you just installed
[13:57:31] jhass: https://github.com/rvm/rvm/releases
[13:57:31] HotCoder: how do u kno
[13:58:13] jhass: HotCoder: please also see channel rule 2.7 http://ruby-community.com/pages/user_rules
[14:00:00] apeiros: I think I'll add anchors + highlights on anchor to rules in the next release too.
[14:00:25] adaedra: <shevy> king pontiki has arrived
[14:00:34] adaedra: ah, this explains why I want to cut some heads off
[14:01:01] apeiros: adaedra: you're queen pontiki's henchman?
[14:01:39] adaedra: no, French.
[14:01:44] adaedra: and he's a king.
[14:01:51] adaedra: Where's my guillotine?
[14:02:35] adaedra: man, one day I'll learn to read.
[14:03:32] Serifion: has joined #ruby
[14:06:26] seitensei: has joined #ruby
[14:06:48] michael_mbp: has joined #ruby
[14:08:32] wildroman2: has joined #ruby
[14:09:16] FernandoBasso: has joined #ruby
[14:10:56] macmartine: has joined #ruby
[14:12:51] tubuliferous: has joined #ruby
[14:13:04] dopie: has joined #ruby
[14:13:42] dingus_khan: has joined #ruby
[14:16:02] bmalum: has joined #ruby
[14:17:23] arietis: has joined #ruby
[14:17:29] tuelz: has joined #ruby
[14:18:09] Juanchito: has joined #ruby
[14:19:34] shuber_: has joined #ruby
[14:19:56] Meow-J: has joined #ruby
[14:21:59] shevy: gnome3 now has a download directory for a program called "gtk-mac-integration"
[14:26:15] HotCoder: apeiros, so i have a question. if i upgrade my ruby to 2.2.2 do the previous versions get removed?
[14:26:36] HotCoder: apeiros, i did this command like this rvm install ruby2.2.2
[14:26:48] HotCoder: apeiros, my previous version was 1.9.3
[14:26:50] HotCoder: what do you think?
[14:26:53] diegoviola: I don't think rvm will remove your previous install
[14:27:19] zotherstupidguy: has joined #ruby
[14:27:43] Notte: has joined #ruby
[14:28:36] bmurt: has joined #ruby
[14:28:55] sevenseacat: you didnt upgrade anything, you installed a new ruby
[14:28:58] zotherstupidguy: has joined #ruby
[14:29:30] cajone: has left #ruby: ()
[14:30:02] HotCoder: sevenseacat, cool. so do you know how to remove the previous one? i want to save space
[14:30:18] sevenseacat: `rvm uninstall` ? :)
[14:31:14] pengin: has joined #ruby
[14:31:19] pcspecs1: has joined #ruby
[14:31:29] HotCoder: sevenseacat, wouldnt that uninstall rvm?
[14:31:35] HotCoder: i want to uninstall ruby 1.9.3
[14:31:41] sevenseacat: read the rvm docs, they will help you.
[14:33:11] HotCoder: so rvm uninstall 1.9.3
[14:34:13] Spami: has joined #ruby
[14:37:48] ChanServ: -b ARYAN_NATIONS!*@*
[14:37:52] fabrice31: has joined #ruby
[14:39:55] longfeet: has joined #ruby
[14:40:12] bmalum: has joined #ruby
[14:40:37] byprdct: has joined #ruby
[14:40:51] pontiki: anything to avoid reading, or even trying, or maybe making a mistake
[14:41:22] mercerist: has joined #ruby
[14:41:56] bruno-_: has joined #ruby
[14:42:24] Goldfish: has joined #ruby
[14:43:15] hardlin3r: has joined #ruby
[14:43:20] aphprentice: has joined #ruby
[14:43:28] ismaelga: has joined #ruby
[14:43:29] iasoon: has joined #ruby
[14:44:11] bruno-_: has joined #ruby
[14:45:15] sinequanon: has joined #ruby
[14:45:37] woodennails: has joined #ruby
[14:46:47] sandelius: has joined #ruby
[14:47:21] djbkd: has joined #ruby
[14:47:46] dopie: has joined #ruby
[14:49:06] shevy: HotCoder which ruby do you use now?
[14:49:56] claptor: has joined #ruby
[14:50:59] havenn: has joined #ruby
[14:52:17] Scripore: has joined #ruby
[14:53:23] HotCoder: i updated ruby
[14:53:33] HotCoder: but when i do ruby -v it doesnt register
[14:53:39] HotCoder: shows the older one still
[14:53:55] pontiki: which ruby did you select with rvm?
[14:53:56] sevenseacat: the older one you uninstalled?
[14:54:25] pontiki: you seem a lot colder than hot
[14:54:29] HotCoder: pontiki, how to select with rvm. i installed ruby 2.2.2. idk how to select one per se
[14:54:34] arietis: has joined #ruby
[14:55:16] sevenseacat: do we have to tell you every single thing?
[14:55:17] jhass: HotCoder: how much time did you spent with rvm help prior asking this question?
[14:56:08] Aeyrix: HotCoder: `rvm list rubies`
[14:56:13] Aeyrix: `rvm use <version>`
[14:56:23] HotCoder: sevenseacat, no
[14:56:25] HotCoder: im just confused
[14:56:33] HotCoder: where is list of all these rudimentary commands
[14:56:35] chishiki: has left #ruby: ("WeeChat 1.2")
[14:56:41] Aeyrix: http://rvm.io/
[14:56:41] HotCoder: basic stuff
[14:56:42] sevenseacat: in the rvm docs that you wont read
[14:56:54] Aeyrix: On the right hand side, under "Rubies", is where you'll find most of the stuff you need.
[14:57:00] Aeyrix: But the commands I listed above are what you want
[14:57:11] HotCoder: thank you so much Aeyrix
[14:57:24] varunwachaspati: has joined #ruby
[14:58:19] jhass: HotCoder: http://cloud.aeshna.de/u/mrzyx/screenshots/screenshot_20150523_165812.png
[14:58:22] HotCoder: im looking at it
[14:58:37] HotCoder: thanks jhass
[14:58:54] HotCoder: i first glanced at the end of the arrow, thought you were telling me to donate hahah
[14:59:01] Aeyrix: Do that too.
[14:59:04] Aeyrix: If it helps.
[14:59:19] HotCoder: if i use ruby one day and make dough
[14:59:23] HotCoder: then i will return the favor
[14:59:27] HotCoder: for now i will learn
[14:59:33] Aeyrix: Good choices.
[14:59:36] sevenseacat: i sincerely hope that happens.
[14:59:56] HotCoder: i know people love when guys reciprocate
[15:00:02] vickleton: has joined #ruby
[15:00:39] Aeyrix: That took me longer than it should've.
[15:02:01] pontiki: http://imgur.com/topic/Awesome/l2mInq8
[15:02:03] HotCoder: but you know what else takes longer than it should've?
[15:02:51] HotCoder: me getting ruby running on my pi
[15:03:24] Aeyrix: pontiki: http://i.imgur.com/1nmIlFe.jpg
[15:03:27] sevenseacat: pontiki: awesome
[15:03:58] pontiki: pugsitential agnsty pug
[15:04:13] HotCoder: didnt choose the pug life
[15:04:16] HotCoder: the pug life chose him
[15:04:32] jpfuentes2: has joined #ruby
[15:05:48] arietis1: has joined #ruby
[15:05:55] jhass: pontiki: mmh, nice one
[15:06:12] jhass: !fact mk learning How learning something works: http://i.imgur.com/l2mInq8.webm
[15:06:12] ruboto: jhass, I will remember that learning is How learning something works: http://i.imgur.com/l2mInq8.webm
[15:06:30] Aeyrix: !learning
[15:06:35] Aeyrix: jhass pls
[15:06:39] jhass: Aeyrix: ?
[15:06:45] jhass: (instead of !)
[15:06:50] Aeyrix: Radicool.
[15:06:51] shevy: are you guys having a dog as tutor for #ruby now
[15:07:05] HotCoder: ok i got it all running
[15:07:09] HotCoder: thanks to you guys
[15:07:15] pontiki: consider the dog a model for learning how to do something
[15:07:15] HotCoder: thank you all
[15:07:18] shevy: HotCoder until that dog starts to write ruby code!
[15:07:26] HotCoder: yeye im stupid
[15:07:35] someword: has joined #ruby
[15:07:44] pontiki: it's not the knowledge
[15:07:48] shevy: we can't let the dogs get away with it
[15:07:53] shevy: we need cats as alternative model
[15:07:55] HotCoder: i let the dogs out
[15:08:04] HotCoder: sorry about that guys
[15:08:07] Aeyrix: Didn't you ever see cats vs dogs?
[15:08:10] Aeyrix: The cats were the bad guys.
[15:08:19] dr_bob: has joined #ruby
[15:08:20] kamichi: has joined #ruby
[15:08:26] HotCoder: have you seen that cartooon show where theres a cat head on one side and a dog head on the other
[15:08:31] HotCoder: i forgot waht its called
[15:08:39] shevy: awww too many too choose http://giphy.com/search/smart-cat
[15:08:40] HotCoder: i forgot lol
[15:08:49] HotCoder: ye it creeped me out as a child
[15:08:56] shevy: and to find one that makes the dog look dumb will be hard
[15:09:02] dr_bob: has left #ruby: ()
[15:09:07] HotCoder: i like cats over dogs
[15:09:12] HotCoder: have an attitude
[15:09:19] shevy: Aeyrix cats are bad, we know that
[15:09:23] Zamyatin: has joined #ruby
[15:09:37] shevy: a dog obeys, a cat can not want to be bothered to
[15:10:00] qwertme: has joined #ruby
[15:10:00] multiscan: has joined #ruby
[15:12:17] wildroman2: has joined #ruby
[15:12:33] RegulationD: has joined #ruby
[15:13:08] juanpaucar: has joined #ruby
[15:14:19] dingus_khan: has joined #ruby
[15:15:30] woodennails: has joined #ruby
[15:15:51] mercerist: has joined #ruby
[15:17:56] tubuliferous: has joined #ruby
[15:20:03] shuber_: has joined #ruby
[15:22:38] hasan: has joined #ruby
[15:22:49] hasan: hi :) is there any one know how can i disable query cach in rails 4.x?
[15:23:34] sinequanon: has joined #ruby
[15:23:40] jhass: ?rails hasan
[15:23:41] ruboto: hasan, Please join #RubyOnRails for Rails questions.
[15:23:42] apeiros: hasan: #rubyonrails
[15:23:49] apeiros: oh, we have ?rails. good :D
[15:24:01] jhass: you know you're allowed to create these too? :P
[15:24:10] apeiros: ooooh, I am?
[15:24:14] apeiros: ACTION does the happy dance
[15:25:51] hasan: ruboto , apeiros : thank you :) i will ask this question in #rubyonrails :)
[15:26:42] shuber_: has joined #ruby
[15:28:58] Rubie: has joined #ruby
[15:31:20] bluOxigen: has joined #ruby
[15:31:51] amclain: has joined #ruby
[15:33:11] arietis: has joined #ruby
[15:33:40] bmurt: has joined #ruby
[15:37:10] tautvydas: has joined #ruby
[15:37:38] QpQ4: has joined #ruby
[15:38:08] woodennails: has joined #ruby
[15:40:22] gizmore: has joined #ruby
[15:41:42] bronson: has joined #ruby
[15:42:39] tuelz: has joined #ruby
[15:42:49] ragingcake: has joined #ruby
[15:45:16] bmalum: has joined #ruby
[15:45:35] Hirzu: has joined #ruby
[15:45:52] gizmore: has joined #ruby
[15:45:57] DenSchub: has joined #ruby
[15:46:19] cats: has joined #ruby
[15:46:31] vickleton: has joined #ruby
[15:46:44] IrishGringo: has joined #ruby
[15:46:55] devoldmx: has joined #ruby
[15:47:05] Deele: has joined #ruby
[15:49:24] apeiros: any volunteer to write an article for ruby-community.org about nickname registration and identification (bonus points for mentioning sasl and showing config of some major clients)?
[15:49:32] apeiros: the format would be .markdown
[15:49:59] jottr_: has joined #ruby
[15:51:18] devoldmx_: has joined #ruby
[15:51:50] iamninja: has joined #ruby
[15:57:44] jstanton: has joined #ruby
[15:58:19] jpfuentes2: has joined #ruby
[16:02:30] arietis1: has joined #ruby
[16:03:06] Notte: has joined #ruby
[16:03:16] zotherstupidguy: apeiros i may kickstart it, and others may fine-tune it
[16:03:40] macmartine: has joined #ruby
[16:03:52] apeiros: I'm a fan of kaizen
[16:05:51] zotherstupidguy: apeiros i'm forking the repo, where should i put it?
[16:05:57] gizmore: has joined #ruby
[16:06:23] apeiros: zotherstupidguy: you don't need to fork the repo. you can just write a .markdown file and gist that
[16:06:33] apeiros: but if you want to go via repo fork??? let me see???
[16:06:57] vivekananda: has joined #ruby
[16:07:03] apeiros: app/views/pags/_registration_and_authentication.html.slim
[16:07:17] Cache_Money: has joined #ruby
[16:07:18] apeiros: you can the markdown filter
[16:07:37] rgb-one: has joined #ruby
[16:07:57] apeiros: I accidentally a word
[16:08:17] apeiros: zotherstupidguy: thank you very much! :)
[16:11:21] rodfersou: has joined #ruby
[16:15:09] dingus_khan: has joined #ruby
[16:15:32] felixjet: has joined #ruby
[16:16:06] _blizzy_: has joined #ruby
[16:18:16] affenhoden: has joined #ruby
[16:18:44] jstanton: has joined #ruby
[16:18:59] jottr_: has joined #ruby
[16:20:29] jstanton: has joined #ruby
[16:21:28] IrishGringo: has joined #ruby
[16:23:24] devoldmx: has joined #ruby
[16:26:39] zotherstupidguy: apeiros my pleasure! btw shouldn't the channel msg logging info url be http://irclog.whitequark.org/ruby/ instead of just http://irclog.whitequark.org
[16:26:43] fabrice31: has joined #ruby
[16:29:42] apeiros: zotherstupidguy: it is?
[16:29:53] apeiros: "log @ http://irclog.whitequark.org/ruby/"
[16:30:42] zotherstupidguy: to me it appears like this
[16:30:47] zotherstupidguy: Welcome to the ruby channel. Please be nice. http://ruby-community.com || https://ruby-lang.org || Paste ??? akkad
[16:30:48] zotherstupidguy: | >3 lines: https://gist.github.com || Ask good questions: http://www.mikeash.com/getting_answers.html || log @ ??? al2o3-cr
[16:30:50] zotherstupidguy: | http://irclog.whitequark.org
[16:31:20] apeiros: it's mingled with nicknames?
[16:31:40] apeiros: maybe your client truncates the topic
[16:31:52] apeiros: try /topic
[16:31:56] apeiros: Topic: Welcome new users migrating from #ruby-lang! || http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
[16:32:13] apeiros: sorry, misread
[16:32:22] apeiros: channel welcome message - not topic
[16:34:27] someword: has joined #ruby
[16:34:57] apeiros: changed. thanks zotherstupidguy.
[16:35:33] Papierkorb: has joined #ruby
[16:35:58] thiagovsk: has joined #ruby
[16:37:23] _seanc_: has joined #ruby
[16:37:39] codecop: has joined #ruby
[16:40:21] crdpink2: has joined #ruby
[16:41:57] shuber_: has joined #ruby
[16:42:15] arietis1: anyone knows of any good state machine gem not tied to data model?
[16:42:32] bronson: has joined #ruby
[16:43:07] arietis: so i just create machine object, add states, events and callbacks
[16:44:19] rippa: has joined #ruby
[16:45:44] rgb-one: has left #ruby: ()
[16:50:26] FernandoBasso: has joined #ruby
[16:51:54] Hirzu_: has joined #ruby
[16:54:33] konsolebox: has joined #ruby
[16:54:54] greenbagels: has joined #ruby
[16:55:50] jottr_: has joined #ruby
[16:57:24] arietis: aasm looks good for my needs
[17:00:05] cirn0: has joined #ruby
[17:00:52] crdpink: has joined #ruby
[17:01:27] RegulationD: has joined #ruby
[17:02:01] juanpaucar: has joined #ruby
[17:03:31] pwattstbd: has joined #ruby
[17:04:12] commondream: has joined #ruby
[17:06:26] nfk|laptop: has joined #ruby
[17:06:44] tubuliferous: has joined #ruby
[17:06:50] commondream: has joined #ruby
[17:07:25] mloveless: has joined #ruby
[17:07:52] nfk: has joined #ruby
[17:08:08] hackeron: has joined #ruby
[17:10:32] mtakkman: has joined #ruby
[17:14:01] goodcodeguy: has joined #ruby
[17:14:55] horsecowdog: has joined #ruby
[17:15:19] Cache_Money: has joined #ruby
[17:16:49] shuber_: has joined #ruby
[17:18:43] commondream: has joined #ruby
[17:18:57] tubuliferous: has joined #ruby
[17:19:16] bmurt: has joined #ruby
[17:22:48] DerisiveLogic: has joined #ruby
[17:25:37] zotherstupidguy: has joined #ruby
[17:26:13] ramfjord: has joined #ruby
[17:27:28] Notte: has joined #ruby
[17:29:28] dfockler: has joined #ruby
[17:30:57] baweaver: has joined #ruby
[17:31:18] havenwood: has joined #ruby
[17:31:41] konsolebox: if callcc is deprecated, how do we do long jumps now (multi-level loop breaks / continuations)?
[17:32:49] bronson: has joined #ruby
[17:33:37] apeiros: multi-level "breaks": throw/catch
[17:33:40] zotherstupidguy: has joined #ruby
[17:33:43] konsolebox: apeiros: slow
[17:33:45] apeiros: callcc is still available via require 'continuation'
[17:33:50] zotherstupidguy1: has joined #ruby
[17:33:51] hasan1: has joined #ruby
[17:33:58] apeiros: konsolebox: are you sure you're using the right language?
[17:34:03] konsolebox: apeiros: continuation?
[17:34:15] apeiros: I can write it again if that helps???
[17:35:03] n008f4g_: has joined #ruby
[17:35:10] rodferso1: has joined #ruby
[17:35:24] konsolebox: apeiros: that feature shouldn't really be necessarily hacked.. ok i get it. too bad really how a simple necessary feature has never been added
[17:38:05] wjimenez5271: has joined #ruby
[17:38:10] jhass: I gather you worked with C for a long time? :P
[17:38:11] zotherstupidguy1: apeiros please review this https://gist.github.com/zotherstupidguy/6328c832c578a9ab9965
[17:38:27] apeiros: "hacked"? what are you talking about?
[17:38:46] apeiros: and "never been added"? are you high or something?
[17:38:51] diegoviola: has joined #ruby
[17:39:17] apeiros: zotherstupidguy1: cooking. will take a look in a bit! thanks!
[17:39:56] zotherstupidguy1: apeiros enjoy it :)
[17:40:38] dru`: has joined #ruby
[17:42:55] dcas: has joined #ruby
[17:45:43] konsolebox: jhass: how can you? C doesn't even have that. nice try.
[17:46:46] welsch4: has joined #ruby
[17:47:06] konsolebox: apeiros: cooking a function exploiting throw/catch to have a break 2+'
[17:47:30] konsolebox: apeiros: / 'continue 2+' functionality obviously is a hack
[17:47:35] casadei: has joined #ruby
[17:47:45] dopie: has joined #ruby
[17:48:37] konsolebox: apeiros: "and "never been added"?" -> yes, is there a 'continue n' / 'break n' functionality in Ruby?
[17:48:54] mjuszczak: has joined #ruby
[17:48:58] apeiros: konsolebox: ok. so it's not being high but ignorance.
[17:49:18] konsolebox: apeiros: ok, what part this shows that i'm being ignorant?
[17:49:25] apeiros: konsolebox: I assume you're confusing ruby's throw/catch with other language's throw/catch
[17:49:38] apeiros: throw/catch in ruby is NOT exception handling. raise/rescue is
[17:49:43] mjuszczak: has joined #ruby
[17:49:55] apeiros: so there's no "cooking" about using throw/catch. that's *precisely* its intended purpose.
[17:49:55] konsolebox: apeiros: lol. how have you assumed that i didn't know that?
[17:50:04] konsolebox: apeiros: anything you can add?
[17:50:29] apeiros: so again: "is there break n in ruby" -> yes: throw/catch.
[17:50:57] lidenskap: has joined #ruby
[17:51:20] apeiros: and as an additional feature it has the benefit of being able to return a value too.
[17:51:32] arescorpio: has joined #ruby
[17:52:07] wildroman2: has joined #ruby
[17:52:31] Alina-malina: has joined #ruby
[17:54:10] pontiki: has joined #ruby
[17:54:33] welsch4: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[17:54:58] hasan: has joined #ruby
[17:55:23] goodcodeguy: has joined #ruby
[17:55:25] commondream: has joined #ruby
[17:56:02] Rollabunna: has joined #ruby
[17:57:31] sandelius: has joined #ruby
[17:57:42] finisherr: has joined #ruby
[17:58:52] zotherstupidguy: has joined #ruby
[17:59:20] dopie: has joined #ruby
[18:02:27] RegulationD: has joined #ruby
[18:04:30] Takle: has joined #ruby
[18:06:59] jhass: zotherstupidguy1: s/requires a/allows/
[18:07:37] konsolebox: apeiros: i see you're actually trying to avoid something. so how would you directly implement 'continue n'? i'll let you go with the 'break n' for now as my current 'hack' makes use of throw for breaking.
[18:07:43] hololeap: has joined #ruby
[18:08:43] hololeap: what would the yard documentation look like for a method with a "splat" parameter: def my_method(*args); p args; end
[18:08:45] jhass: I usually take the opportunity to extract into a small method and use return
[18:08:55] jhass: zotherstupidguy1: first sentence in your gist ;)
[18:08:56] apeiros: konsolebox: `ri Kernel#catch` in your console (assuming you have docs installed)
[18:09:02] konsolebox: apeiros: i could give Ruby's actual implementation a chance but I find it likely that throw/catch is nothing like break -> but more of an exception handler (just a little faster maybe).
[18:09:39] shuber_: has joined #ruby
[18:09:50] jhass: hololeap: you just make it part of the name
[18:09:59] Papierkorb: has joined #ruby
[18:10:49] hololeap: jhass: could you give me an example?
[18:10:50] weaksauce: has joined #ruby
[18:11:28] hololeap: the method i'm trying to document should take 1-inf parameters
[18:11:30] zotherstupidguy: has joined #ruby
[18:11:40] zotherstupidguy1: has joined #ruby
[18:11:50] Pisuke: has joined #ruby
[18:12:10] davispuh: has joined #ruby
[18:12:17] konsolebox: "If +throw(tag2, val)+ is called, Ruby searches up its stack for a catch block whose tag has the same object_id as tag2. When found, the block stops executing and returns val (or nil if no second argument was given to throw)."
[18:12:20] konsolebox: Mind the "searches"
[18:13:21] sinequanon: has joined #ruby
[18:13:36] zotherstupidguy1: jhass thanks, apeiros was that what you had in mind?
[18:13:50] apeiros: zotherstupidguy1: currently reading
[18:14:01] jhass: hololeap: I just @param *args You pass this and that here
[18:14:16] apeiros: zotherstupidguy1: so far looks good
[18:14:17] konsolebox: apeiros: I've seen the manual. There's never a part that makes it continue. I could create a hack for it of course. But that's nowhere near a Ruby feature for 'continue n'.
[18:14:30] hololeap: jhass: ok. wasn't sure if that was the "proper" way to do it
[18:14:31] zotherstupidguy1: apeiros best writing is re-writing
[18:14:49] jhass: hololeap: I didn't find anything at least
[18:14:56] Channel6: has joined #ruby
[18:15:28] hololeap: jhass: the closest thing i found was yard's @overload tag
[18:15:33] fabrice31: has joined #ruby
[18:15:44] jhass: konsolebox: if you share your code that needs it we may be able to suggest an idiomatic alternative
[18:16:19] Soda: has joined #ruby
[18:16:19] dingus_khan: has joined #ruby
[18:16:24] apeiros: konsolebox: if by `continue n` you mean in the sense of a continuation, then I again refer you to `require 'continuation'` and callcc. additionally also see Fiber.
[18:16:30] konsolebox: jhass: yeah, using a yielding function. that's a hack, not an idiomatic alternative.
[18:16:40] Cache_Money: has joined #ruby
[18:16:47] iwishiwerearobot: has joined #ruby
[18:16:51] jhass: hololeap: mmh, no, @overload I'd only use if behavior differs
[18:17:02] konsolebox: apeiros: duh!!!!!!!!! didn't you see my first question????
[18:17:16] apeiros: konsolebox: you can stop that attitude right now or go.
[18:17:33] apeiros: konsolebox: and to remind you - I gave you that answer right with your first question
[18:17:40] konsolebox: apeiros: callcc is deprecated referring to Fiber now as the preferred solution. And Fiber does not have that kind of feature.
[18:17:56] apeiros: konsolebox: then amend your question accordingly.
[18:18:00] Pisuke: has joined #ruby
[18:18:10] baweaver: konsolebox: probably not a good way to make friends
[18:18:46] konsolebox: apeiros: there's nothing to be amended. it's pretty clear.
[18:19:11] konsolebox: baweaver: would you make friend with people judging you quickly as ignorant?
[18:20:04] f3lp: has joined #ruby
[18:20:09] baweaver: I could care less, but you've not exactly been a saint yourself.
[18:20:10] zotherstupidguy1: has joined #ruby
[18:20:24] jhass: baweaver: please just leave it
[18:20:34] apeiros: konsolebox: I refer you to jhass' suggestion. "jhass: konsolebox: if you share your code???"
[18:20:54] Rubie: has joined #ruby
[18:20:59] CustosLimen: has joined #ruby
[18:21:12] konsolebox: baweaver: i don't think the one you should say that to is the one that hasn't started it
[18:21:48] apeiros: konsolebox: I apologize for my aggressive behavior. What I said with regards to your behavior still stands, though.
[18:22:27] shuber_: has joined #ruby
[18:22:38] A205B064: has joined #ruby
[18:22:51] apeiros: and to me, that marks the end of that branch of the discussion. I prefer on focusing on the problem at hand.
[18:23:19] Sembei: has joined #ruby
[18:25:31] welsch4: has joined #ruby
[18:27:37] tuelz: has joined #ruby
[18:27:47] apeiros: zotherstupidguy: the part about sasl is irssi or weechat specific? or does it work the same for both?
[18:28:32] konsolebox: This is my solution using callcc: https://bpaste.net/show/0077fe881453. If I'd like to continue the loop, I'd call call() with object generated by callcc. If I'd like to break the loop, I'd throw the object. Now I need another good solution for that as callcc is already deprecated.
[18:28:32] zotherstupidguy: apeiros about ssl?
[18:29:15] spider-mario: has joined #ruby
[18:30:11] zotherstupidguy: i checked it both on irssi and weechat and it seems it works for both. however the /save seems not to be really required by weechat, maybe someone with more experiance with weechat might wave in
[18:30:36] jhass: konsolebox: idiomatic alternatives only work for specific code/usage
[18:30:48] jhass: not for general things you deem missing
[18:30:58] apeiros: zotherstupidguy: ok
[18:31:45] jhass: zotherstupidguy: weechat autosaves every 10 minutes or so
[18:31:50] apeiros: zotherstupidguy: I think we'll not get around to do the SSL/SASL part per client. so yes, looks great. I'll take the upper part for the generic article and put the bottom part into weechat/irssi specific articles
[18:31:53] QpQ4: has joined #ruby
[18:31:57] jhass: so it doesn't hurt
[18:32:05] konsolebox: jhass: are you planning using another function to wrap-up code so you could "continue" it again if necessary? or you planning to use yet another outer loop for that?
[18:32:48] jhass: konsolebox: I do not plan anything, beyond looking if there's a way to restructure your code that doesn't need the functionality you desire in the first place
[18:33:38] zotherstupidguy: it could be better, but its a start!
[18:34:27] DexterLB: has joined #ruby
[18:34:33] michaeldeol: has joined #ruby
[18:34:37] konsolebox: zotherstupidguy: if you're talking to me, it doesn't always get better. most of the time it actually gets worse - the code's logic gets broken just to keep-up with these "idiomatic hacks"
[18:35:18] jhass: konsolebox: if you want to rant, please do not direct it at people
[18:35:25] doodlehaus: has joined #ruby
[18:35:40] shuber_: has joined #ruby
[18:36:42] konsolebox: jhass: if people would stop the * sarcasm perhaps. am i the only one to be told unto here?
[18:37:36] Asher: has joined #ruby
[18:37:39] apeiros: I haven't seen anybody be sarcastic towards you, konsolebox.
[18:37:51] apeiros: and zotherstupidguy didn't even talk to you.
[18:38:09] jhass: I don't see any sarcasm either, I suggest you step back, cool down and then take another look at it then. If you stay inpolite I have to force that you do that
[18:38:25] zotherstupidguy: ACTION thinks he is a good person, in theory!
[18:38:33] jhass: see the channel rules http://ruby-community.com/pages/user_rules
[18:38:35] atmosx: anyone familiar with middleman blog?
[18:38:53] doodlehaus: has joined #ruby
[18:39:00] apeiros: ?anyone atmosx
[18:39:01] ruboto: atmosx, Just ask your question, if anyone has, they will respond.
[18:40:19] atmosx: I'm having a hard-time placing tag.haml and calendar.haml ... they don't seem to work. I have gave a 'blog' prefix in the config.rb ... If I put them into blog/ dir middleman comes up with an error while if I put them in the source/ dir the sitemap clearly ingnores them...
[18:40:51] atmosx: ah n/m there's a forum.
[18:40:55] zotherstupidguy1: has left #ruby: ("WeeChat 1.2")
[18:42:52] hasan: has joined #ruby
[18:43:08] konsolebox: jhass: btw, restructuring code would not apply to every code. continue 2 is a necessity. the alternative for it is using functions to wrap-up code, and sometimes even end up having unnecessary "recursive" calls. functions that only clutter-up the source file or the source tree which shouldn't have been necessary.
[18:43:51] jhass: you're experience and mine differ there. If you can't accept that there's nothing to be said anymore
[18:45:08] konsolebox: jhass: i have enough experience to realize this. the one who thought he should always wrap-up code in functions - i've been there. only newcomers would do that.
[18:45:40] jhass: (I did start with a programming language that provided that constructed, moved to python which doesn't have it and then to ruby that doesn't have it. I missed it in neither because both provide idiomatic alternatives to the usecases I had
[18:47:14] xxneolithicxx: has joined #ruby
[18:47:39] jhass: and on the risk of you interpreting that as insult, I think another point that differentiates us that I don't interpret my opinion as fact
[18:48:18] konsolebox: jhass: if you try to balance efficiency and readability - you could be near there. but some only care about "false?" readability
[18:48:34] apeiros: konsolebox: the experience you gained in another language does not necessarily port over to ruby
[18:48:44] konsolebox: jhass: i'm not telling that it's you. i just met some
[18:50:55] juanpaucar: has joined #ruby
[18:51:24] jhass: if you allow me to suggest something more on the meta level, maybe try to be less absolutistic (is that English?) about your opinion, voice and argue yours, but accept if somebody has a different opinion on a subject, let them make their own mistakes if you think they're wrong
[18:52:09] jhass: I had to learn that too, language matters here, a "in my opinion/in my experience" in front of your argument helps a lot to keep a civil conversation
[18:52:20] pokui: has joined #ruby
[18:53:48] woodruffw: has joined #ruby
[18:54:54] hectorsq: has joined #ruby
[18:55:32] tubuliferous_: has joined #ruby
[18:56:15] rippa: has joined #ruby
[18:57:25] bronson: has joined #ruby
[18:57:54] hasan2: has joined #ruby
[18:58:08] lidenskap: has joined #ruby
[18:59:20] iasoon: has joined #ruby
[19:00:02] serivich: has joined #ruby
[19:00:11] iasoon: has joined #ruby
[19:01:26] CustosLimen: has joined #ruby
[19:03:14] sent1nel: has joined #ruby
[19:05:11] zotherstupidguy1: has joined #ruby
[19:05:28] Takle: has joined #ruby
[19:05:32] zotherstupidguy1: has left #ruby: ()
[19:06:14] zotherstupidguy: has joined #ruby
[19:07:09] iWaffles: has joined #ruby
[19:08:00] claw: has joined #ruby
[19:08:06] swgillespie: has joined #ruby
[19:08:39] jottr_: has joined #ruby
[19:09:01] cek: has joined #ruby
[19:09:30] cek: is sslsocket .syswrite mri thread-safe?
[19:09:34] mroark: has joined #ruby
[19:11:13] bronson: has joined #ruby
[19:12:42] iasoon: has joined #ruby
[19:14:15] finisherr: has joined #ruby
[19:14:17] dstarh: has joined #ruby
[19:15:09] mwlang: has joined #ruby
[19:15:33] mwlang: how do you write rspec scenarios for async interactions with external servers?
[19:16:35] baweaver: promises probably
[19:16:37] mwlang: or in other words, I know that when I send an outgoing call to an external server, it???s eventually going to send a response back.
[19:17:08] baweaver: https://github.com/opal/opal-rspec/issues/17
[19:17:14] baweaver: Opal talked about something similar at least.
[19:17:15] mwlang: right now, I just keep querying the database and sleeping until I detect a record???s inserted into the table (which I know my app???s going to do when it gets that response back)
[19:17:16] apeiros: mwlang: stub external dependencies
[19:17:26] dingus_khan: has joined #ruby
[19:17:26] grumpowl: mwlang: You don't make requests in tests.
[19:17:31] apeiros: unless you explicitly want to test the external server
[19:17:52] baweaver: You don't make requests in /unit/ tests. #ftfy
[19:18:19] baweaver: There are occasions by which you want integration testing on more critical calls
[19:18:25] mwlang: so, what about integration tests to ensure what we???ve built really works as intended?
[19:18:41] mwlang: baweaver: I???m mostly concerned about more critical calls here.
[19:18:47] apeiros: you'll probably block your test until the async call returns
[19:18:58] grumpowl: I don't make external requests in the normal test suite. But I might with a double server implementation to ensure the double still acts like the real server.
[19:19:20] mwlang: apeiros: so is there a way to detect that async call returns other than watching for side-effects in the db?
[19:19:32] baweaver: https://github.com/laserlemon/rspec-wait
[19:19:33] UnKnOwN|: has joined #ruby
[19:19:39] baweaver: Still hunting about
[19:19:49] baweaver: but it'll be some combination of callbacks or promises
[19:19:50] apeiros: mwlang: uh, an async call usually means you have a callback which is invoked when data is ready
[19:19:55] apeiros: so you'll hook into that
[19:19:57] balazs: has joined #ruby
[19:20:45] apeiros: if you can't, you probably have a case of bad coupling at hand
[19:21:36] mwlang: apeiros: ah. now we???re getting to the meat of it. so I guess that brings up the next question: how to ???hook into it??? ??? it???s probably less that ???I can???t??? as ???I???m not sure how to go about it"
[19:22:09] eam: mwlang: you have a call that listens for a response, right?
[19:22:26] eam: and a call to block until the next response?
[19:22:28] mwlang: well, I have a call that is ???fire and forget"
[19:22:32] baweaver: http://www.rubydoc.info/gems/opal-rspec/0.4.2/Opal/RSpec/AsyncHelpers
[19:22:43] baweaver: async 'example do ... end
[19:22:49] baweaver: async 'example' do ... end
[19:23:03] UnKnOwN|: Hello all, anyone mind taking a quick look at an exercise I'm working on to see if the code example is valid, or if this was based on an old version of ruby and its no longer valid: 'http://tryruby.org/levels/4/challenges/1' at the very bottom of this where: books = {} makes the hash then the NEXT page has you assign values to the hash, but it says use: 'books["Gravity's Rainbow"] = :splendid', doesnt seem to work, and ruby2.2.2 m
[19:23:20] eam: mwlang: fire_and_forget; poll_until_satisfied_it_worked()
[19:23:22] UnKnOwN|: 'books[:splendid] = "Gravity's Rainbow"
[19:23:50] jhass: >> books = {}; books[:splendid] = "Gravity's Rainbow"; books
[19:23:51] ruboto: jhass # => {:splendid=>"Gravity's Rainbow"} (https://eval.in/369155)
[19:23:55] jhass: seems to work fine
[19:23:58] ebonics: has joined #ruby
[19:24:20] mwlang: eam: yeah, that???s what I???m doing???except my polling is against the database. this was fine until latest scenario in which the external server responded in an unexpected way.
[19:24:35] hectortrope: has joined #ruby
[19:24:42] baweaver: mwlang: promises
[19:24:47] mwlang: baweaver: thanks! this kind of structure is what I was mentally picturing.
[19:25:07] mwlang: baweaver: is promises part of opal as well?
[19:25:17] hasan: has joined #ruby
[19:25:31] baweaver: not necessarily
[19:25:45] shuber_: has joined #ruby
[19:25:46] baweaver: http://www.html5rocks.com/en/tutorials/es6/promises/
[19:26:07] baweaver: a promise is an async concept that something promises to eventually return a value
[19:26:37] jhass: UnKnOwN|: did I answer your question? If not could you go into why it doesn't work?
[19:27:07] hectortrope: has joined #ruby
[19:27:28] baweaver: Opal is Javascript in Ruby
[19:27:32] UnKnOwN|: jhass, your answered my question, seems this IDE the tutorial wrongs on is just buggy
[19:27:39] genpaku: has joined #ruby
[19:27:41] baweaver: I just figured they'd have RSPEC helpers for testing it
[19:27:47] yokel: has joined #ruby
[19:28:10] UnKnOwN|: iit atfirst did not work, then with the given example, does, then if you add a non-given example, it no longer works...
[19:28:23] tuelz: has joined #ruby
[19:29:31] mwlang: ah???opal more or less solves the problem the same way I did???running a rack-up server for testing purposes, but their async block syntax dries up the specs a good bit.
[19:30:29] grumpowl: Opal is a ruby to JS transpiler, no?
[19:31:37] dingus_khan: has joined #ruby
[19:31:51] baweaver: I just thought that since it was ruby syntax they probably made RSPEC helpers for Javascript-ish concepts like promises and async
[19:32:52] ebonics: is opal better than coffeescript ;o
[19:33:04] baweaver: Never tried it
[19:33:06] ruboto: "Best" and "better" are subjective. Try to use a different term.
[19:33:11] baweaver: I just write straight JS
[19:33:13] RegulationD: has joined #ruby
[19:33:25] ebonics: best and better arent subject
[19:33:54] baweaver: ACTION grabs popcorn
[19:34:18] ruboto: I don't know anything about help
[19:34:20] jhass: ebonics: let's say whether they are subjective is subjective then ;)
[19:34:29] ljarvis: is ruboto apeiros'?
[19:34:52] goodcodeguy: has joined #ruby
[19:34:59] Solsist: has joined #ruby
[19:35:09] jhass: ljarvis: yeah
[19:35:18] ebonics: i have some problems with js
[19:35:27] ebonics: i mean coffeescript
[19:35:38] ljarvis: everyone has problems with js
[19:35:46] ebonics: it does like absolutely no type analysis
[19:36:05] apeiros: ljarvis: I run it. and at the moment it's fully closed source. but it'll eventually be mostly open sourced (mostly because it runs opper tasks and I want to keep those parts closed)
[19:36:18] ljarvis: apeiros: makes sense
[19:36:23] bruno-: has joined #ruby
[19:36:28] mwlang: ok, I think I???m just going to keep on with the test suite I???ve been working on but set up some rspec around filters to get rid of the tedious setup/wait code I???m repeating in the tests. i.e. as described here http://arjanvandergaag.nl/blog/using-abusing-rspec-metadata.html
[19:36:35] baweaver: ACTION actually likes Javascript
[19:36:43] ebonics: in coffeescript
[19:36:44] jottr_: has joined #ruby
[19:36:46] ebonics: for index in [0..(aList.length-1)] <- that
[19:36:58] ebonics: gets converted to this -> for (index = _i = 0, _ref = aList.length - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; index = 0 <= _ref ? ++_i : --_i) {
[19:37:17] _seanc_: has joined #ruby
[19:37:38] ebonics: well i should be more clear, even this does too: for index in [0..aList.length]
[19:38:13] doodlehaus: has joined #ruby
[19:38:32] balazs: has joined #ruby
[19:41:03] iamninja: has joined #ruby
[19:43:17] balazs: anyone knows how to change the default port for dashing ?
[19:44:10] zotherstupidguy1: has joined #ruby
[19:44:10] ljarvis: balazs: dashing start -p [port]
[19:44:22] finisherr: has joined #ruby
[19:45:09] hackeron: has joined #ruby
[19:45:09] zotherstupidguy1: has left #ruby: ()
[19:45:21] _blizzy_: has joined #ruby
[19:45:48] zotherstupidguy: balazs dashing is just a sinatra app, same rules apply
[19:45:54] balazs: ljarvis: thanks !
[19:46:16] zotherstupidguy: balazs i thought it was discountined?
[19:46:30] zotherstupidguy: or was that batmanjs
[19:46:57] balazs: hmm, haven't heard. Any recommendation to use something instead ?
[19:47:06] zotherstupidguy: whats your project about?
[19:47:50] mwlang: jhass / baweaver - thanks for your feedback. I think I have a good plan of attack now that will reduce my spec authoring burden.
[19:48:04] ljarvis: the last dashing update was less than 20 days ago
[19:48:12] balazs: zotherstupidguy: displaying system monitoring info
[19:48:13] zotherstupidguy: i played with dashing and gridsterjs to do some cool server monitoring stuff, but that was like 2 years ago
[19:48:22] zotherstupidguy: yeah its perfect for that
[19:48:42] zotherstupidguy: ljarvis then batmanjs is the one discounined
[19:48:51] gusrub: has joined #ruby
[19:49:30] zotherstupidguy: Batman.js is no longer in production at Shopify and is not actively developed. :(
[19:50:17] mwlang: dang!???dashing is nice.
[19:50:32] dopie: has joined #ruby
[19:50:47] zotherstupidguy: one of the coolest featuers of dashing that never got picked with other frameworks the that compnent thingy.
[19:50:53] mwlang: has anybody hooked up dashing to system monitoring? cpu, memory, page requests, etc.
[19:51:08] zotherstupidguy: its like aspx web components, but better ofcourse
[19:51:32] zotherstupidguy: nwlang i used it for api monitoring
[19:52:00] mwlang: zotherstupidguy: yeah..I liked it. The first thing popping into my mind is to have a sidebar of widget names???as soon as you drag from the sidebar to the main area, you get a full sized widget for dropping somewhere in the layout.
[19:52:26] zotherstupidguy: dashing got this right, and no other framework picked it up
[19:52:49] zotherstupidguy: the only cruel thing was they used batmanjs which is not widely used
[19:53:28] rickmasta: has joined #ruby
[19:53:29] zotherstupidguy: also it really takes a js guy to play around comfortably with all the scss stuff and widgets, i hacked a lot
[19:53:38] mwlang: zotherstupidguy: I thought batmanjs lived and died an early death???kinda surprised it???s still around.
[19:54:06] mwlang: can they be built with coffeescript?
[19:54:10] zotherstupidguy: but dashing still use it, i think
[19:54:30] zotherstupidguy: i belive dashing uses coffeescript by default,
[19:55:29] mwlang: zotherstupidguy: its still using batman bindings.
[19:55:35] zotherstupidguy: i also remmber there was a widget compitetion once by shopify
[19:55:40] baweaver: Any more we tend to use Graphite here: https://github.com/graphite-project/graphite-web
[19:55:42] mwlang: hmmm???I???m going to look more into it.
[19:56:14] zotherstupidguy: mwlang it will take some effort to fork dashing into using another jsframework
[19:56:25] Rollabunna: has joined #ruby
[19:56:48] zotherstupidguy: but it will be a kickass project...
[19:57:02] mwlang: zotherstupidguy: hmmm???.mustache and handlebars???. :-)
[19:57:46] zotherstupidguy: i really dont have a preference there, not a js guy, but anything backbone might tract attention
[19:58:22] mwlang: baweaver: ah???.a dependency there called ???whisper??? has my attention???I???ve been exploring rdd some ??? don???t really like how hard it is to use.
[19:59:38] Hijiri: has joined #ruby
[20:00:39] al2o3-cr: Is there a method in JSON to make the keys symbols or was I dreaming?
[20:01:25] tobyx: has joined #ruby
[20:01:30] doodlehaus: has joined #ruby
[20:01:43] zotherstupidguy: i really like the design of the faq on the channel's website http://www.ruby-community.org/faq
[20:02:23] ljarvis: al2o3-cr: parse takes a symbolize_names option
[20:02:49] al2o3-cr: ljarvis: oh let me check
[20:02:55] hectorsq: has joined #ruby
[20:03:38] zzak: ljarvis: dont tell me what to do
[20:03:45] ljarvis: zzak: NO U
[20:04:00] zzak: ????????????????????
[20:04:19] fabrice31: has joined #ruby
[20:04:33] ljarvis: How's your ramen?
[20:04:40] zzak: Always good bro
[20:04:44] al2o3-cr: res = JSON.parse(json, symbolize_name: true) # not working still strings
[20:05:14] mjuszczak: has joined #ruby
[20:05:44] ljarvis: >> require 'json'; JSON.parse('{"foo":"bar"}', symbolize_names: true)
[20:05:45] ruboto: ljarvis # => {:foo=>"bar"} (https://eval.in/369160)
[20:05:52] iwishiwerearobot: has joined #ruby
[20:06:06] al2o3-cr: oh names ok thanks ljarvis
[20:06:23] al2o3-cr: ah thanks works
[20:07:51] Ilyes512: has joined #ruby
[20:08:41] commondream: has joined #ruby
[20:10:50] Beoran_: has joined #ruby
[20:11:34] dopie: has joined #ruby
[20:11:43] swgillespie: has joined #ruby
[20:15:10] MasterPiece: has joined #ruby
[20:19:05] macmartine: has joined #ruby
[20:24:03] lidenskap: has joined #ruby
[20:25:28] Rubie: has joined #ruby
[20:26:13] ducklobster: is there a syntactically nicer way to do the following? https://gist.github.com/anonymous/a350b14208cb74a5224d
[20:27:25] jhass: exactly the same probably not
[20:28:12] doodlehaus: has joined #ruby
[20:28:14] jhass: Hash.new {|h, k| h[k] = {} } would create a hash which would automatically vivid a nested hash for any (missing) key
[20:29:23] tuelz: has joined #ruby
[20:31:58] baweaver: or this is fun too
[20:32:30] hasan: has left #ruby: ()
[20:32:54] baweaver: >> h = Hash.new { |h, k| h(&:default_proc) }; h[:a][:b][:c] = 1; h
[20:32:55] ruboto: baweaver # => undefined method `h' for main:Object (NoMethodError) ...check link for more (https://eval.in/369163)
[20:33:38] jhass: h[k] = Hash.new(&h.default_proc) ;)
[20:33:39] baweaver: >> h = Hash.new { |h, k| Hash.new(&h.default_proc) }; h[:a][:b][:c] = 1; h
[20:33:39] ruboto: baweaver # => {} (https://eval.in/369164)
[20:33:53] baweaver: >> h = Hash.new { |h, k| h[k] = Hash.new(&h.default_proc) }; h[:a][:b][:c] = 1; h
[20:33:54] ruboto: baweaver # => {:a=>{:b=>{:c=>1}}} (https://eval.in/369165)
[20:34:03] baweaver: I can never remember that one off the top of my head
[20:34:23] ducklobster: is there any downside to having these auto populated hashes?
[20:34:38] ducklobster: i can see accidentally addressing / populating some fields as the only real downside
[20:35:08] jhass: allocation on missing key access perhaps
[20:37:38] bruno-: has joined #ruby
[20:38:24] Notte: has joined #ruby
[20:38:50] towski_: has joined #ruby
[20:39:09] rodfersou: has joined #ruby
[20:39:39] balazs: anyone know how a job in dashing can see information on the request ? Like parameters. Looks like "request" is not available
[20:39:48] juanpaucar: has joined #ruby
[20:43:40] segfalt: has joined #ruby
[20:44:21] tubuliferous_: has joined #ruby
[20:44:43] FernandoBasso: a = 10, b = 20, c = 30; puts a; puts b; puts c; What is the output?
[20:44:58] FernandoBasso: 10\n20\n30\n20\n30 here.
[20:45:30] FernandoBasso: a.class is Array. OK. Why don't b.class is not Array as well then, which would be [20, 30] ?
[20:45:57] weaksauce: >> a = 10, b = 20, c = 30; puts a; puts b; puts c;
[20:45:58] ruboto: weaksauce # => 10 ...check link for more (https://eval.in/369166)
[20:45:59] jhass: because the , binds to the array a is assigned
[20:46:32] lidenskap: has joined #ruby
[20:46:32] jhass: you probably seek a, b, c = 10, 20, 30
[20:46:53] FernandoBasso: jhass: So, a receives the value of b and c which were assigned 20 and 30?
[20:47:16] FernandoBasso: jhass: I am aware of that syntax. Just that I tried this other one and was surprised by the result.
[20:47:25] jhass: not quite, it receives the value of the assignment expression, which its rhs
[20:47:38] FernandoBasso: But why isn't b assigned [20, 30] if a was [10, 20, 30] ?
[20:47:53] jhass: a = [(10), (b = 20), (c = 30)]
[20:48:36] atmosx: Guys any quick way to turn this string -> 2015-04-18 12:01:05 into this "201504181201.05" I manage to do it, but the code is ugly as hell. I call gsub 3 times..
[20:49:12] jhass: strptime().strftime?
[20:50:02] c_nick: has joined #ruby
[20:50:12] dingus_khan: has joined #ruby
[20:50:25] atmosx: strptime >
[20:50:30] atmosx: let me check it
[20:50:35] jhass: or .sub(/:(?=\d{2}$)/, ".").delete("-: ") I guess
[20:50:39] c_nick: How can i achieve this is a better coding way .. if obj.nil? == true #set default value else #set given value
[20:51:16] FernandoBasso: Ah, I remember reading something that doing `myvar = a, b, c` creates an array.
[20:51:22] jhass: c_nick: obj ||= "default" ?
[20:51:38] FernandoBasso: Thanks for all clarification.
[20:52:50] c_nick: jhass: ok so there is an OR and || (like C)
[20:53:45] Ox0dea: has joined #ruby
[20:53:45] baweaver: careful though as one has much lower priority (or)
[20:53:46] c_nick: jhass: no i think in my case archive_name.nil? ? @archive_name = 'Run' : @archive_name = archive_name
[20:54:12] baweaver: @archive_name = archive_name || 'Run'
[20:54:22] c_nick: i am setting the class variables based on the arguments passed in the contructor
[20:54:36] baweaver: then put it in the constructor as a default
[20:54:43] jhass: def initialize(archive_name="Run")
[20:55:03] segfalt: has joined #ruby
[20:55:22] Maletor: has joined #ruby
[20:55:23] c_nick: whats the difference between OR and ||
[20:55:52] baweaver: c_nick: http://devblog.avdi.org/2014/08/26/how-to-use-rubys-english-andor-operators-without-going-nuts/
[20:55:53] jhass: different precedence rules
[20:56:03] atmosx: jhass: wow that regex was impressive, thanks.
[20:56:03] baweaver: and/or are much lower than &&/||
[20:57:40] multi_io: has joined #ruby
[20:58:04] jhass: >> a = false || :c; b = false or :c; [a, b]
[20:58:05] ruboto: jhass # => [:c, false] (https://eval.in/369167)
[20:59:23] baweaver: Anyone know who heads the Ruby Meetup around SF?
[20:59:49] baweaver: I'd think Carina Zona is up there on the list.
[21:04:58] c_nick: strange although i set the values in my initializer i dont get them in my other functions
[21:05:25] Ox0dea: c_nick: Post code?
[21:07:29] atmosx: How can I pass arguments to FileUtils.touch ? I wanna pass the equivalent of "-t <string>"
[21:08:13] strendom: has joined #ruby
[21:08:35] jhass: mtime: xxx from the looks of it
[21:08:52] c_nick: http://paste.ubuntu.com/11314059/
[21:09:28] jhass: atmosx: seems to expect a Time, so you can throw away the string munging and go for strptime straight :P
[21:09:29] c_nick: why do i get temp_dir_loc as nil
[21:09:43] c_nick: in make dir fn
[21:09:59] atmosx: jhass: hm. right
[21:10:13] baweaver: Sent a suggestion to the meetup group to get some casual coffee meetups around later. cc miah dudedudeman eam / anyone else in SF
[21:10:39] mjs2600_: has joined #ruby
[21:10:41] Ox0dea: c_nick: You're using "temp" in some places and "tmp" in others.
[21:10:59] ellisTAA: has joined #ruby
[21:11:17] jhass: c_nick: also please work on your indention (ruby community standard is two spaces btw)
[21:11:40] c_nick: Ox0dea: Shit your right .. my bad.. i never realized it
[21:11:41] jhass: a classes methods should be indented a level towards the class definition
[21:11:54] lidenskap: has joined #ruby
[21:11:56] c_nick: jhass: oh its the ubuntu Pastebin when i copy code it goes bizzare !
[21:12:05] jhass: then use gist ;P
[21:12:07] Ox0dea: c_nick: You
[21:12:10] Ox0dea: are using hard tabs.
[21:12:11] ellisTAA: can anyone link me to code that is a good example of recursion, i???m trying to get better at thinking recursively
[21:13:13] c_nick: Ox0dea: hehe yeah :P Scite And i guess thats the reason why it got such an indent in paste.ubuntu
[21:13:33] atmosx: jhass: I should really buy you a beer at some point in time (maybe via paypal)
[21:14:17] c_nick: I will customize it to two spaces
[21:14:36] jhass: EllisTAA: I can give you a nice exercise: you have a hash of hashes and other values, nested arbitrarily, you don't know how deep. Open the Hash class and add a method recursive_each that yields all key/value pairs whose values are not hashes
[21:14:41] jpfuentes2: has joined #ruby
[21:15:02] c_nick: Thanks all works fine now
[21:16:42] bronson: has joined #ruby
[21:17:36] ellisTAA: jhass: so i have a hash of hashes and those nested hashes can have more hashses but they can also not have more hashes?
[21:18:42] ellisTAA: jhass: cool ill brb
[21:19:37] jhass: EllisTAA: to clarify http://paste.mrzyx.de/p3ls5km2y
[21:20:19] michael_mbp: has joined #ruby
[21:20:40] wildroman2: has joined #ruby
[21:21:04] kadoppe: has joined #ruby
[21:22:06] RegulationD: has joined #ruby
[21:22:48] mandarinkin: has joined #ruby
[21:22:51] vickleton: has joined #ruby
[21:23:09] ellisTAA: how???s this https://gist.github.com/ellismarte/506774a614bfb7bd5652
[21:23:26] jhass: does it work?
[21:24:02] doodlehaus: has joined #ruby
[21:24:05] c_nick: has left #ruby: ()
[21:26:31] e1nh4nd3r: has joined #ruby
[21:27:27] ellisTAA: so i think this works https://gist.github.com/ellismarte/506774a614bfb7bd5652
[21:28:11] eam: EllisTAA: towers of hanoi is a good recursive exercise
[21:28:51] ellisTAA: i guess my problem is i want to be able to identify when recursion might be a good solution ??? any tips on how to spot recursive problems?
[21:29:14] jhass: EllisTAA: well, the idea is there, it's missing passing around the block you should yield to, but for the recursive part that was too easy I guess :P
[21:29:43] eam: at the risk of sounding flippant, any algorithm that repeats itself
[21:29:47] ellisTAA: jhass: what do u mean ???itsmissing passing around the block you should yield to????
[21:29:55] jhass: EllisTAA: http://carc.in/#/r/eu
[21:30:46] vsipuli: has joined #ruby
[21:30:47] eam: EllisTAA: often applications are in the form of traversing a linked structure, or anywhere else you might use a while loop and state variables
[21:30:59] ellisTAA: jhass: what does the &block refer to? why not just calli it hash?
[21:31:09] ellisTAA: eam: thanks ill look more into that
[21:31:13] jhass: &block refers to the passed block
[21:31:26] ellisTAA: jhass: but aren???t we passing it a hash?
[21:31:35] jhass: no, I reopened Hash there ;)
[21:31:53] ellisTAA: haha im confused but thanks for helping
[21:32:17] eam: while (condition) { state = do_thing(state_change) } => def f(state) { if condition; return []; else return do_thing(state - state_change) }
[21:32:33] eam: to use a super generic pseudocode example
[21:32:37] vsipuli: When packaging a Ruby application that depends on Gems, but is itself not supposed to be a reusable Ruby library, does it make sense to package the Ruby application as a Gem itself? (A Bundler Gemfile takes care of the application Gem dependencies)
[21:33:06] apeiros: vsipuli: yes
[21:33:08] wildroman2: has joined #ruby
[21:33:21] eam: EllisTAA: the state could be a linked list, it could be a chess board representing pieces, it could be an integer
[21:33:30] apeiros: gem with an executable in bin and dependencies
[21:33:42] lidenskap: has joined #ruby
[21:33:51] eam: do_think could be "next element", or it could be "next move" or some math function
[21:34:11] ellisTAA: eam: 0_o i think i???m going to have to look into linked lists. thanks for helping me out
[21:34:21] Ox0dea: >> $__=$$/$$;_=$__+$__;__=$__+_;$_=_+_;@_=$__+$_;$-_=_**@_;$___=_*$-_;@__=$-_+$___;''<<$___+_*__*__<<@__+__*(_+@_)<<@__+_<<@__+@_*@_<<$-_<<$___-__<<$-_<<$___-$_<<$-_+_*__*__+$__
[21:34:22] ruboto: Ox0dea # => "Ruby = <3" (https://eval.in/369173)
[21:35:11] Takle: has joined #ruby
[21:35:45] bb010g: has joined #ruby
[21:38:20] tuelz: has joined #ruby
[21:42:53] Channel6: has joined #ruby
[21:44:53] segfalt: has joined #ruby
[21:46:01] DerisiveLogic: has joined #ruby
[21:48:56] existensil: did you hand obfuscate that?
[21:51:49] vsipuli: Why does invoking a function like "foo" work, but "Bar.foo" gives an error about an undefinedmethod "foo" on module "Bar"? (Invoking with "Bar.foo()" works though)
[21:52:11] jhass: code to reproduce?
[21:53:05] fabrice31: has joined #ruby
[21:54:34] iwishiwerearobot: has joined #ruby
[21:55:24] vsipuli: apeiros: What added value does packaging a Ruby application as a proper Gem provide compared to just using a Bundler Gemfile, in your opinion?
[21:57:20] Rollabunna: has joined #ruby
[21:57:57] Ox0dea: existensil: Maybe...
[21:58:07] apeiros: vsipuli: makes it easy to share and install.
[21:58:10] vsipuli: jhass: Sorry, can't reproduce it. Seems like I had messed up my IRB environment somehow.
[21:58:25] jhass: would've surprised me otherwise :P
[21:58:25] apeiros: vsipuli: you don't need any custom instructions.
[21:58:55] pontiki: has joined #ruby
[21:59:14] ebonics: has joined #ruby
[21:59:49] horsecowdog: has joined #ruby
[21:59:55] ebonics: how do you guys usually track where classes, methods, etc are in a big ruby application?
[22:00:08] Ox0dea: ebonics: Method#source_location is pretty great.
[22:00:25] crdpink2: has joined #ruby
[22:00:40] ebonics: Ox0dea, so you run code to find out where stuff is? :o
[22:01:01] lidenskap: has joined #ruby
[22:01:08] apeiros: ebonics: conventions
[22:01:17] apeiros: ebonics: always map class names to filenames
[22:01:21] decoponio: has joined #ruby
[22:01:27] apeiros: ebonics: Foo::BarBaz --> foo/bar_baz.rb
[22:01:55] ebonics: apeiros, i'm working with a pretty massive ruby applicaiton with many dependencies and hierarchies etc
[22:01:59] apeiros: s/class names/constants/ (classes and modules are usually assigned to constants)
[22:02:02] ebonics: it's basically a nightmare trying to find stuff
[22:02:13] ebonics: current i'm using grep lol
[22:02:15] apeiros: ebonics: why?
[22:02:25] apeiros: did they not follow the above convention? most ruby code bases do???
[22:02:48] apeiros: also when in pry, I simply use $ and ?
[22:02:58] marr: has joined #ruby
[22:03:09] ebonics: apeiros, like there's a method called log_call in this class
[22:03:14] ebonics: and it's no where to be find inside that class
[22:03:18] ebonics: so what's your process for finding where it is
[22:03:29] apeiros: ebonics: check the ancestors
[22:03:41] ebonics: there's like a huge hierarchy
[22:03:48] apeiros: ebonics: why don't you generate the API docs?
[22:03:58] apeiros: ebonics: that's uncommon
[22:04:02] ebonics: that would probably help
[22:04:10] ebonics: apeiros, not specifically for this class
[22:04:18] apeiros: I've rarely ever seen more than 2 levels of inheritance (except rails, rails is crazy in that regard)
[22:04:21] ebonics: but there are classes that have like 10+ super classes
[22:04:29] doodlehaus: has joined #ruby
[22:06:01] apeiros: ebonics: anyway, without api docs - fire up pry and introspect the class. $/? are a huge help.
[22:06:28] ebonics: apeiros, it's pretty well documented actually
[22:06:36] ebonics: i will generate them now
[22:07:04] Ox0dea: ebonics: Did you not try `Foo.method(:log_call).source_location`?
[22:07:26] ebonics: Ox0dea, i could do that, but that would require me to run the application whenever i wnated to trace something
[22:07:29] ebonics: which is bad
[22:07:52] Ox0dea: It would nevertheless help you to better understand the structure of the project.
[22:08:29] mary5030: has joined #ruby
[22:08:41] swgillespie: has joined #ruby
[22:09:06] ebonics: i hate global namespaces
[22:09:10] ebonics: it's actually pretty cancerous
[22:09:17] ebonics: lucky for me there's good docs
[22:09:29] cranq: has joined #ruby
[22:09:36] Palmer11: has joined #ruby
[22:09:41] Matachines: has joined #ruby
[22:11:58] macmartine: has joined #ruby
[22:16:57] bkxd: has joined #ruby
[22:18:50] mary5030: has joined #ruby
[22:21:06] beltranzz3: has joined #ruby
[22:21:21] _seanc_: has joined #ruby
[22:23:34] zotherstupidguy: has joined #ruby
[22:24:01] zotherstupidguy1: has joined #ruby
[22:28:42] juanpaucar: has joined #ruby
[22:31:55] doodlehaus: has joined #ruby
[22:33:07] tubuliferous: has joined #ruby
[22:37:52] mordof: has joined #ruby
[22:38:42] platzhirsch: has joined #ruby
[22:39:18] mordof: i know of find, and find_all... but i'm not sure if either of those work in this scenario. I have an array of hashes, and inside about 8 keys in each hash. then I have another hash which contains say, 6 out of 8 of those keys. What's the best way to find a match between those keys that exist?
[22:39:46] mordof: i can iterate over them inside the find if i have to, just wondering if there's a better way
[22:40:05] jhass: mordof: yeah, nest .all? inside .find
[22:40:31] macmartine: has joined #ruby
[22:41:37] zotherstupidguy1: has joined #ruby
[22:41:52] mordof: does .all work on hashes?
[22:42:03] jhass: sure, it's in Enumerable
[22:42:26] mordof: ah. so it's just {}.all? {|k,v| }.. alright, thanks :)
[22:44:00] macmartine: has joined #ruby
[22:44:00] doodlehaus: has joined #ruby
[22:44:17] jottr_: has joined #ruby
[22:45:00] tcrypt: has joined #ruby
[22:46:44] apeiros: mordof: you can gist your code. depending on what you do, there might be a more efficient way.
[22:48:39] mroark: has joined #ruby
[22:50:01] mordof: ok. one sec
[22:51:15] iasoon: has joined #ruby
[22:51:47] mordof: https://gist.github.com/gshiftlabs-mwinger/07a29a582c6b437b5309 ... i think that appropriately represents what i'm doing
[22:52:27] mordof: close enough anyway
[22:52:38] swgillespie: has joined #ruby
[22:54:34] mordof: apeiros, -^
[22:55:08] swgillespie: has joined #ruby
[22:55:15] jenrzzz: has joined #ruby
[22:55:44] dfockler: has joined #ruby
[22:55:44] mordof: I want to find the hash inside of the critical_of_type array that matches all of the contents of the item hash
[22:58:14] x3cion: has joined #ruby
[22:59:38] apeiros: mordof: could do: keys = item.keys; values = item.values; ??? { |crit_item| crit_item.values_at(*keys) == values }
[23:00:32] yh__: has joined #ruby
[23:00:41] mordof: 2 enumerables vs creating 3 new arrays..
[23:00:48] mordof: and then doing a full array comparison
[23:01:02] Xiti: has joined #ruby
[23:02:09] mordof: i'm not sure which would be more efficient, but i think the first is easier to read anyway.
[23:03:04] Channel6: has joined #ruby
[23:03:09] mordof: oh .. the values_at essentially does the same amount of hash lookups also. wow that's a heavy operation, heh
[23:03:51] zotherstupidguy1: has joined #ruby
[23:04:23] tjbiddle: has joined #ruby
[23:04:57] coderhs: has joined #ruby
[23:05:08] ItSAN____: has joined #ruby
[23:07:05] kobain: has joined #ruby
[23:07:19] phutchins: has joined #ruby
[23:07:23] lidenskap: has joined #ruby
[23:08:16] Olipro_: has joined #ruby
[23:10:35] jhass: it has less transitions between ruby and c land
[23:10:54] RegulationD: has joined #ruby
[23:12:36] atmosx: jhass: what are you working on?
[23:12:51] jhass: nothing, built carc.in the last days
[23:13:04] mordof: jhass, the way apeiros did it?
[23:13:12] jhass: mordof: yeah
[23:13:29] alphaatom: has joined #ruby
[23:13:52] apeiros: it also has less hash lookups
[23:14:15] apeiros: but given your dataset, I doubt it'll matter anyway
[23:14:21] apeiros: so go with what you find more readable
[23:15:05] mordof: apeiros, given a large dataset, would the way you wrote it actually be faster?
[23:15:15] mordof: i suppose i'll have to benchmark it to find out
[23:15:16] apeiros: I'm not quite sure how ruby does argument passes. but I could imagine that every iteration in all? { |k,v| will actually create an array.
[23:15:42] apeiros: mordof: I'm convinced. but a good benchmark tells you the truth.
[23:15:59] bronson: has joined #ruby
[23:15:59] atmosx: jhass: crystal as a new programming language?
[23:16:17] jhass: as a=is a ?
[23:16:48] mordof: apeiros, oh right - because it's doing [k,v] and passing that into the block?
[23:16:49] jhass: then yeah
[23:16:55] atmosx: never have to specify a type of variable and Have compile-time evaluation?
[23:17:23] jhass: that are the goals, not quite achieved yet, but close ;)
[23:17:42] atmosx: ah k, so you're one of the devs? and apeiros too?
[23:17:53] apeiros: I'm not, no
[23:17:56] dseitz: has joined #ruby
[23:18:17] jhass: well, I contributed a bit to its stdlib, yet have to touch parser/codegen/semantic phase
[23:18:28] apeiros: mordof: yes. but as said, I actually never bothered to figure how ruby does argument passing.
[23:18:49] apeiros: could easily check using the new GC stats tools
[23:19:01] mordof: apeiros, *nods* noted. that's an interesting though. i haven't looked under the hood very much at all now that i think about it
[23:19:40] apeiros: mordof: anyway, such things going on under the hood can easily turn something which theoretically *should* be faster into something which is in truth slower. hence always bench if performance matters.
[23:19:53] apeiros: and if performance doesn't matter - don't prematurely optimize :) optimize for readability instead.
[23:20:00] mordof: indeed :)
[23:20:01] balazs: does anyone have experience with dashing where the widgets pull the data, and not the jobs push it ?
[23:20:04] apeiros: or clarity
[23:20:22] mordof: apeiros, i like to think about it just in case, but usually until something actually becomes noticably slow i don't try and optimize
[23:20:36] mordof: however i aim to learn how to do things with speed+readability to begin with.. if that makes sense
[23:20:38] mordof: ACTION shrugs
[23:21:00] apeiros: makes sense. I do the same.
[23:21:22] apeiros: if I know A will be faster than B and is similarly readable, of course I'll choose A. and in order to know that, I have had to do research first.
[23:21:24] ebonics: i think if you need to worry too much about that stuff for your use case then youre using the wrong language
[23:21:35] apeiros: ebonics: nah
[23:21:58] ebonics: im not saying thats true in cases where you just want to learn or improve yourself
[23:22:12] phizzbuzz: has joined #ruby
[23:22:26] ebonics: but if youre constantly having to optimize your code because its too slow, even before you start writing any code.. then yeah you should consider another language
[23:22:29] ebonics: ruby is pretty slow
[23:24:52] _seanc_: has joined #ruby
[23:24:56] apeiros: ok. if that's what you're saying, then I agree.
[23:25:12] apeiros: constantly having to optimize is indeed a symptom of "wrong tool for the task".
[23:25:22] apeiros: (or for you needing a serious beef up in basic CS)
[23:25:43] mordof: yeah - the other side of that is, for example, when i first started writing active record stuff
[23:25:57] mordof: and i'd write queries that were readable, but just spammed the DB like mad, lol
[23:26:32] ebonics: that's when you rm -rf and chalk it up as a learning experience :D
[23:26:38] ebonics: then rewrite it
[23:27:13] ebonics: honestly its pretty bad when youre forced into a project where you know very little, and you keep getitng progressively better at the concept/language
[23:27:20] ebonics: then you have to look back at the ass code you wrote
[23:27:29] mordof: haha, yeah i always hate the looking back
[23:27:30] ebonics: and probably rig it to work properly, compounding the problem
[23:27:32] bronson: has joined #ruby
[23:27:51] mordof: i started learning ruby/rails when i began my job a year ago. i'd hate to go back to the first project i did
[23:27:56] mordof: i know it was terrible :/
[23:28:28] Scripore: has joined #ruby
[23:28:43] ebonics: like idk, you see the ridiculous chaining and filtering you do with ruby... it's pretty intuitive to realise youre not being memory efficient :p
[23:28:51] xxneolithicxx: has joined #ruby
[23:29:02] ebonics: but it's fun and pretty rapid, thats why i like using it
[23:29:42] ebonics: the only nitpick i have is it needs namespaces badly
[23:29:53] ebonics: and maybe ease up on the attr_accessor boiler plate
[23:30:41] mordof: aren't modules there for namespaces?
[23:30:55] mordof: they aren't quite the same thing i guess
[23:30:58] ebonics: i mean as a legitimate language feature
[23:30:58] apeiros: that's one of their purposes
[23:31:07] ebonics: that's not a true solution for namespaces
[23:31:36] apeiros: what would be a true solution?
[23:31:38] Nedfo: has joined #ruby
[23:31:43] Nedfo: map and collect are the same?
[23:31:49] apeiros: Nedfo: usually
[23:32:12] apeiros: Nedfo: anybody can implement any method with any name.
[23:32:18] ebonics: like, i define a namespace at the top of my code and any modules that are defined there are inaccessible to other namespaces unless specified, not just by including the rb file
[23:32:31] mordof: Nedfo, collect is an alias for map, yes (or the other way around, i forget)
[23:32:35] apeiros: but core's Enumerable#map and #collect are aliases.
[23:33:01] ebonics: atm it's too much like php or something pre psr
[23:33:18] apeiros: ebonics: private_constant. though I don't see the need.
[23:33:29] apeiros: ebonics: that's hand-holding developers. and I'm very grateful ruby doesn't do that.
[23:33:44] mjuszczak: has joined #ruby
[23:33:49] ebonics: that's hardly handholding, it's a good idiom
[23:33:50] apeiros: e.g. it doesn't do it either with regards to private/protected. you can always send
[23:34:09] apeiros: putting up "you shall not pass!" shields? yeah, that's hand-holding.
[23:34:20] ebonics: that's hyperbole
[23:34:38] apeiros: if you think I should not use some of your code, document that.
[23:34:39] ebonics: can you explain what you just said
[23:34:55] apeiros: but don't force me off your code. that's just silly.
[23:35:18] apeiros: because I'm a grown up and will decide on my own what I want to use?
[23:35:30] apeiros: and you're not my mom or dad to tell me what I can and can't use
[23:35:40] ebonics: it requires you to know exactly how to use it, that would be the point of using a namespace
[23:35:45] ebonics: if you want to use it you just include the namespace
[23:35:48] ebonics: otherwise you use it passively
[23:35:49] apeiros: you can tell me about the risks. as in "this is internal, don't go here". and I decide whether I take it.
[23:36:34] ebonics: yeah good luck reading through a whole codebase that isn't trivially small before you decide which classes you want to use
[23:36:35] leafybasil: has joined #ruby
[23:37:21] ebonics: you're going to document every method that has side effects? "this method calls this method which calls this method which has this side effect"
[23:37:41] mordof: I think the two of you are talking about different cases...
[23:37:54] jhass: mordof: I think both are bound to the same C function, so it's really two names for the same thing, hard to say one is an alias for the other (real) one
[23:38:04] mordof: jhass, ah, true
[23:38:35] 20WABBVY2: has joined #ruby
[23:38:39] apeiros: ebonics: I don't see how that's related
[23:38:48] mordof: ebonics, if you want it in a namespace, put it in a module. then it's ModuleName::ClassName unless you've included the module in your current class
[23:38:51] lidenskap: has joined #ruby
[23:39:08] shuber_: has joined #ruby
[23:39:19] ebonics: apeiros, it's relevant in that you're forced to make the decision of putting your code in that namespace or not
[23:39:36] apeiros: I don't follow
[23:39:45] ebonics: otherwise you can have your little enclosed pod where nothing is redefined and you can be completely safe from side effects
[23:40:10] apeiros: how does making stuff hidden change anything about side-effects?
[23:40:16] apeiros: that doesn't make sense
[23:40:26] ebonics: that's the whole reason for namespaces
[23:40:36] ebonics: you either have to put your code in it to use everything in it
[23:40:40] ebonics: or you have to delegate to it
[23:40:47] ebonics: with limited access
[23:40:49] ebonics: brb need food
[23:40:51] apeiros: maybe make an example. either I'm misunderstanding you, or you're really not making sense. atm I hope for the former :)
[23:41:36] ebonics: okay, well. i think that it's a pointless discussion first of all ebcause as you said there's no real encapsulation in ruby
[23:41:44] apeiros: i.e. start with how you'd do it in ruby without the namespaces, and then where/how you'd add namespaces and what that'd achieve
[23:41:53] fabrice31: has joined #ruby
[23:42:00] ebonics: but the point would be you either include the namespace, where you can have only redefined methods apply directly to what you apply to it
[23:42:12] ebonics: ie. myvarr = somethirdpartyshit.mymethod
[23:42:17] ebonics: where mymethod does a !
[23:42:18] apeiros: the encapsulation just isn't one which hides stuff from you or prevents access. but that's not vital to encapsulation.
[23:42:32] ebonics: you know what i meant
[23:42:46] apeiros: but that's the point - I'm not sure I know what you meant
[23:42:58] apeiros: because what I think you meant doesn't make sense to me
[23:43:02] ebonics: i meant that there's no concept of private
[23:43:25] iwishiwerearobot: has joined #ruby
[23:43:27] ebonics: actually there is for field members
[23:43:30] apeiros: and (true) private is handholding.
[23:43:31] ebonics: it's implicit
[23:43:36] apeiros: you can reach those through ivar_get
[23:43:41] Rubie: has joined #ruby
[23:43:44] ebonics: is that reflection
[23:43:44] apeiros: so neither are they truly hidden
[23:43:56] ebonics: reflection doesnt count
[23:43:58] ebonics: but anyway
[23:44:04] bogdanteleaga: has joined #ruby
[23:44:08] apeiros: it's no different from using an accessor
[23:44:13] ebonics: the point is namespaces allow you to encapsulate your code to avoid other code's side effects
[23:44:28] ebonics: im super hungry though
[23:44:34] ebonics: ill fight you later m8 ill git u gud and ur mum 2
[23:44:36] apeiros: we can continue that anytime
[23:44:56] apeiros: I'll probably be away in a bit too. nighttime here.
[23:45:51] baweaver: has joined #ruby
[23:46:39] shuber_: has joined #ruby
[23:47:53] Nedfo: Also size and length are aliases?
[23:48:11] apeiros: Nedfo: you can check those things yourself
[23:48:17] apeiros: Nedfo: just look up in the documentation
[23:48:27] Nedfo: I do I just want to be sure. Stop bitching about it
[23:48:43] dc: has joined #ruby
[23:48:45] horsecowdog: has joined #ruby
[23:48:49] apeiros: Nedfo: watch your language.
[23:49:13] apeiros: Nedfo: so if you're not sure - how do you look it up in the documentation?
[23:49:26] SushiMonster: has joined #ruby
[23:50:01] gizmore: the docs are the best way to be sure, beside the source
[23:50:21] gizmore: all other sources should be treated as rumors and/or inspiration :p
[23:50:31] Nedfo: Is it even necessary to check the source to understand the language?
[23:50:33] apeiros: gizmore: hearsay :D
[23:50:50] apeiros: Nedfo: no. but answer my question please.
[23:50:55] jhass: Nedfo: for daily usage, no. For some edge case it may help
[23:50:59] gizmore: Nedfo: length and size are actually replaced to ##len in ruby! *KIDDINGS*
[23:51:04] tubuliferous: has joined #ruby
[23:51:43] Nedfo: jhass, Do you think it would be necessary if I'm heading to Rails?
[23:51:53] jhass: probably not
[23:52:52] jhass: I'm interested on your answer to apeiros question too btw, the docs are very clear on your question
[23:53:09] Soda: has joined #ruby
[23:53:29] SushiMonster: why is django superior to rails?
[23:53:39] apeiros: Nedfo: look, if you don't know - we don't bite your head off. it'd just make sense if you'd actually ask how to do it then.
[23:53:53] apeiros: SushiMonster: are you trying to incite some flamewar?
[23:54:00] Nedfo: apeiros, Huh? I just asked to be sure I understood the concept correctly.
[23:54:16] apeiros: Nedfo: and you still didn't answer my question.
[23:54:23] Nedfo: I don't have to.
[23:54:45] apeiros: no. but if you think it's ok to abuse this channel as your personal docs, I'll remove you from it.
[23:54:45] sushimonster_: has joined #ruby
[23:55:00] jhass: "Disconnected by services" now I'm curious :D
[23:55:57] kstuart: has joined #ruby
[23:57:18] SushiMonster: so why is django superior to rails?
[23:57:48] Nedfo: <sushimonster> why is rails superior to django?
[23:57:50] Nedfo: in ##django
[23:58:12] Rollabunna: has joined #ruby
[23:58:14] apeiros: almost expected that with that "join django"
[23:58:27] jhass: sushimonster: bored?
[23:58:28] ebonics: siq troll m8
[23:58:36] ebonics: original as fu
[23:58:37] gizmore: actually django has a long history of security problems!
[23:58:39] apeiros: sushimonster: we don't want trolls here. so either you ask a non-inflammatory question or you go.
[23:58:54] ebonics: gizmore, does it actually?
[23:59:07] gizmore: it was used in some CTF once
[23:59:15] SushiMonster: inflammatory means racist and i'm not racist
[23:59:17] ebonics: ive only heard good things about django
[23:59:26] apeiros: sushimonster: check your dictionary
[23:59:27] shevy: django sucks
[23:59:28] ebonics: and no vulnerabilities to speak of
[23:59:31] shevy: there! bad thing about it
[23:59:33] gizmore: rails has had security problems too... like every code has
[23:59:44] apeiros: shevy: please. that's not necessary.