« Back to channel list

#ruby-offtopic - 09 August 2018

« Back 1 day Forward 1 day »
[00:12:17] eckhardt: has joined #ruby-offtopic
[00:24:41] eckhardt_: has joined #ruby-offtopic
[04:42:23] eckhardt: has joined #ruby-offtopic
[05:36:42] apeiros_: has joined #ruby-offtopic
[06:44:21] pwnd_nsfw: has joined #ruby-offtopic
[07:22:56] burgestrand: has joined #ruby-offtopic
[07:58:14] apeiros_: has joined #ruby-offtopic
[08:05:30] mikecmpbll: has joined #ruby-offtopic
[08:21:26] apeiros__: has joined #ruby-offtopic
[10:49:19] burgestrand: has joined #ruby-offtopic
[11:09:35] burgestrand: has joined #ruby-offtopic
[11:26:51] burgestrand: has joined #ruby-offtopic
[11:58:03] apeiros_: has joined #ruby-offtopic
[13:19:20] apeiros__: has joined #ruby-offtopic
[13:58:09] pwnd_nsfw: has joined #ruby-offtopic
[14:29:39] nofxx: has joined #ruby-offtopic
[15:06:53] apeiros_: has joined #ruby-offtopic
[15:19:43] apeiros_: has joined #ruby-offtopic
[15:31:00] apeiros_: has joined #ruby-offtopic
[16:07:44] _Caerus: has joined #ruby-offtopic
[16:22:14] mikecmpbll: has joined #ruby-offtopic
[17:34:50] Caerus: has joined #ruby-offtopic
[18:11:14] eckhardt: has joined #ruby-offtopic
[19:35:59] eckhardt: has joined #ruby-offtopic
[20:22:21] mikecmpbll: has joined #ruby-offtopic
[21:04:03] eckhardt: has joined #ruby-offtopic
[21:33:25] eckhardt: has joined #ruby-offtopic
[21:53:11] eckhardt: has joined #ruby-offtopic
[21:58:07] Caerus: has joined #ruby-offtopic
[22:12:27] apeiros: has joined #ruby-offtopic
[22:29:31] baweaver: So I've heard of some more open spots over here on the Platform team if anyone is opsy inclined.
[22:56:55] mroutis: has joined #ruby-offtopic
[22:57:25] mroutis: woah, didn't know this existed
[22:57:31] baweaver: as with last round, no direct answers
[22:57:33] mroutis: is this a sect?
[22:57:36] baweaver: Welcome to one of the forbidden corners
[22:57:41] baweaver: We play hangman here
[22:57:53] baweaver: al2o3-cr save me
[22:58:05] al2o3-cr: baweaver: i can't debot's gone
[22:58:31] baweaver: Where'd shevy go off to?
[22:58:36] baweaver: Trolling reddit again?
[22:59:43] al2o3-cr: baweaver: just file a bug, he'll be there.
[22:59:57] baweaver: He already found a few of mine
[23:00:37] al2o3-cr: probably back in php
[23:03:11] baweaver: (1..100).map{|i|(x="\xF\3\5\1Rml6ekJ1eno=".unpack('C4m'))[-1]=~/(.*)(B.*)/
[23:03:11] baweaver: [*$~,i].zip(x).map{|o,d|i%d>0||(break $><<o<<?\n)}}
[23:03:40] baweaver: You _really_ don't want to know (nor do I, found on Google)
[23:05:46] al2o3-cr: brain pooped lol
[23:06:38] baweaver: https://twitter.com/keystonelemur/status/991908235593465857
[23:06:41] baweaver: I prefer this one.
[23:07:31] baweaver: >> -> _ {}.parameters
[23:07:33] ruby[bot]: baweaver: # => [[:req, :_]] (https://eval.in/1046154)
[23:07:47] baweaver: right, that should have been obvious
[23:08:05] baweaver: >> -> * {}.parameters
[23:08:06] ruby[bot]: baweaver: # => [[:rest]] (https://eval.in/1046155)
[23:08:07] baweaver: That's fun though
[23:08:33] mroutis: haha! plot twist, baweaver is the one writing the tests for this_dude
[23:10:47] baweaver: That's not entirely inaccurate.
[23:11:32] baweaver: These are all on the common list of Ruby interview questions, and more than one of those were because I thought something sounded like fun to test someone on.
[23:11:34] baweaver: Though you'd know if he found one I'd inspired
[23:14:31] mroutis: baweaver, do you run the interviews at your workplace?
[23:14:57] baweaver: I'd run them at Playstation, and now I'm an interviewer at Square.
[23:17:08] mroutis: at Square... Enix?
[23:17:14] mroutis: worst pun ever
[23:20:06] mroutis: in what team you were at PlayStation? did you use ruby?
[23:21:38] havenwood: mroutis: The BADASS team.
[23:22:21] havenwood: baweaver: what did that ^ stand for again?
[23:22:42] baweaver: Build and Deployment Automation Support System
[23:23:03] baweaver: havenwood: coffee if ya want
[23:23:05] mroutis: oh my, totally unexpected
[23:23:43] mroutis: that was funny
[23:23:46] havenwood: baweaver: i've banned myself from coffee after 3 for sleep reasons!
[23:24:22] baweaver: >> 'string'.chars.rotate(-2)
[23:24:23] ruby[bot]: baweaver: # => ["n", "g", "s", "t", "r", "i"] (https://eval.in/1046158)
[23:24:30] baweaver: Aha, it does do negative
[23:25:31] baweaver: >> def get_shifted_string(str, right, left) str.chars.rotate(right).rotate(-left) end; get_shifted_string('foobar', 3, 3)
[23:25:32] ruby[bot]: baweaver: # => ["f", "o", "o", "b", "a", "r"] (https://eval.in/1046159)
[23:25:35] baweaver: join, right right
[23:25:44] baweaver: >> def get_shifted_string(str, right, left) str.chars.rotate(right).rotate(-left).join end; get_shifted_string('foobar', 3, 5)
[23:25:50] ruby[bot]: baweaver: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[23:27:52] baweaver: >> def get_shifted_string(str, right, left) str.chars.rotate(right).rotate(-left).join end; get_shifted_string('foobar', 3, 5)
[23:27:53] ruby[bot]: baweaver: # => "arfoob" (https://eval.in/1046160)
[23:28:00] baweaver: arfoob indeed
[23:30:48] al2o3-cr: >> def get_shifted_string(str, shf) str.chars.rotate(shf).join end; [get_shifted_string("makita", 4), get_shifted_string("makita", -4)]
[23:30:49] ruby[bot]: al2o3-cr: # => ["tamaki", "kitama"] (https://eval.in/1046162)
[23:31:15] al2o3-cr: fuck the third lol
[23:40:39] baweaver: Admittedly impatient with this one
[23:41:54] mroutis: never met someone like him, trying to learn something but not caring enough to read the docs
[23:42:14] mroutis: ACTION oh, hello, me from the past
[23:44:22] baweaver: I want to help them, but I'm also not going to give them cheats.
[23:44:34] baweaver: I've already likely given too many hints as is honestly.
[23:47:31] baweaver: al2o3-cr: too harsh?
[23:47:43] al2o3-cr: baweaver: ?
[23:50:23] baweaver: implying timeouts on this one and not giving much more help
[23:52:24] al2o3-cr: baweaver: show me please
[23:52:54] al2o3-cr: i'd hardly question that.
[23:53:31] baweaver: [16:41:48] baweaver Mate
[23:53:32] baweaver: [16:41:48] baweaver This channel is not here to help you cheat on applications.
[23:53:33] baweaver: [16:41:58] baweaver We're already being nice by answering as much as we are.
[23:53:34] baweaver: [16:42:50] this_dude this channel is here to help me code
[23:53:35] baweaver: [16:42:55] baweaver and if you keep implying we're here to do so, you'll find yourself on a week-long time out.
[23:53:36] baweaver: [16:42:56] this_dude thats the whole point
[23:54:53] al2o3-cr: where have i said too harsh?
[23:57:59] baweaver: More of asking you if I'm being too harsh
[23:58:10] baweaver: I tend to ask someone else if I'm annoyed if I'm taking things too far.
[23:58:12] al2o3-cr: baweaver: not at all