« Back to channel list

#ruby - 22 June 2017

« Back 1 day Forward 1 day »
[00:03:06] agent_white: has joined #ruby
[00:06:05] hxegon: has joined #ruby
[00:13:54] jenrzzz: has joined #ruby
[00:13:55] jenrzzz: has joined #ruby
[00:13:56] Cohedrin_: has joined #ruby
[00:14:22] MarkBilk__: has joined #ruby
[00:17:06] brent__: has joined #ruby
[00:18:21] dviola: has joined #ruby
[00:18:47] Cohedrin_: has joined #ruby
[00:19:07] mdarby: has joined #ruby
[00:20:16] Asher1: has joined #ruby
[00:21:09] haylon: has joined #ruby
[00:21:32] hlmjr: has joined #ruby
[00:25:03] diego1: has joined #ruby
[00:25:32] Cohedrin_: has joined #ruby
[00:29:40] Mia: has joined #ruby
[00:31:03] skweek: has joined #ruby
[00:31:39] SegFaultAX: has joined #ruby
[00:34:11] dannyh: has joined #ruby
[00:34:42] umaaji: has joined #ruby
[00:35:52] eightlimbs: has joined #ruby
[00:41:08] Cohedrin_: has joined #ruby
[00:42:33] SuperL4g: has joined #ruby
[00:42:48] arescorpio: has joined #ruby
[00:45:32] bruce_lee: has joined #ruby
[00:48:40] ResidentBiscuit: has joined #ruby
[00:50:15] havenwood: >> [0.001239871298371, 0.014141414, 0.03333333, 0.023450234502345].map { |float| digits = float.to_s.partition('.').last.chars; sizes = (digits.size / 2).downto(2).map { |n| head, *tail = digits.each_cons(n).each_slice(n).to_a; head.zip(*tail).map(&:compact) }; sizes.flat_map { |slices| slices.map { |slice| slice.chunk(&:itself).map(&:last).find { |a| !a.one? } } }.compact.map(&:join).max_by(&:size) }
[00:50:17] ruby[bot]: havenwood: # => [nil, "14141414", "333333", "023450234502345"] (https://eval.in/820335)
[00:51:32] KillerFox: has joined #ruby
[00:51:49] jphase: has joined #ruby
[00:52:10] havenwood: I guess "00" could be considered repeated, I just did 2 or more. That's my after-work interpretation of scroll-back anyways.
[00:52:45] havenwood: >> [0.001239871298371, 0.014141414, 0.03333333, 0.023450234502345].map { |float| digits = float.to_s.partition('.').last.chars; sizes = (digits.size / 2).downto(1).map { |n| head, *tail = digits.each_cons(n).each_slice(n).to_a; head.zip(*tail).map(&:compact) }; sizes.flat_map { |slices| slices.map { |slice| slice.chunk(&:itself).map(&:last).find { |a| !a.one? } } }.compact.map(&:join).max_by(&:size) }
[00:52:46] ruby[bot]: havenwood: # => ["00", "14141414", "3333333", "023450234502345"] (https://eval.in/820336)
[01:01:10] mim1k: has joined #ruby
[01:02:07] solocshaw: has joined #ruby
[01:03:05] jeffaustin81: has joined #ruby
[01:03:49] Danny1: has joined #ruby
[01:04:05] jphase: has joined #ruby
[01:06:56] Danny1: has joined #ruby
[01:08:14] apparition: has joined #ruby
[01:08:17] bigkevmcd: has joined #ruby
[01:09:24] havenwood: https://gist.github.com/havenwood/87c110c4b5ab9d59b1fab5ef7c4fccfd
[01:09:36] minimalism: has joined #ruby
[01:12:07] herbmillerjr: has joined #ruby
[01:13:02] ornerymoose: has joined #ruby
[01:13:22] hahuang61: has joined #ruby
[01:13:53] brent__: has joined #ruby
[01:15:29] hotpancakes: has joined #ruby
[01:15:29] jphase: has joined #ruby
[01:18:08] charliesome: has joined #ruby
[01:20:23] dionysus69: has joined #ruby
[01:21:09] Cohedrin_: has joined #ruby
[01:26:04] tastygradient: has joined #ruby
[01:26:46] hxegon: has joined #ruby
[01:26:56] Danny1: has joined #ruby
[01:32:49] ResidentBiscuit: has joined #ruby
[01:33:44] ketan: has joined #ruby
[01:34:01] moei: has joined #ruby
[01:34:12] Danny1: has joined #ruby
[01:35:20] eightlimbs: havenwood: wow. i'm gonna need to chew on that for a while, haha
[01:36:00] Azure: has joined #ruby
[01:38:56] al2o3-cr: >> a = (0..20).map { |x| (1..x).find(->{0}) { |y| 10 ** y % x == 1 } }; "#{a.index(a.max)} = #{a.max} repeating digits"
[01:38:57] ruby[bot]: al2o3-cr: # => "19 = 18 repeating digits" (https://eval.in/820355)
[01:43:50] charliesome: has joined #ruby
[01:51:17] d^sh_: has joined #ruby
[01:52:35] perniciouscaffei: has joined #ruby
[01:54:41] hutch34: has joined #ruby
[01:55:07] AndChat164736: has joined #ruby
[01:56:33] hotpancakes: has joined #ruby
[01:58:55] hxegon: has joined #ruby
[02:06:17] askjdnakjdn: has joined #ruby
[02:06:30] Jameser: has joined #ruby
[02:08:27] eightlimbs: al2o3-cr: elegant
[02:09:21] eightlimbs: what does " ->{0} " do?
[02:10:25] zenspider: it's a proc that returns 0. no clue why
[02:10:33] zenspider: >> ("%.50f" % (1/19r)).chars.zip(("%.50f" % (1.0/19)).chars).each_with_index.find { |(a, b), i| a != b }
[02:10:34] ruby[bot]: zenspider: # => [["2", "1"], 18] (https://eval.in/820358)
[02:11:01] ruby[bot]: zenspider: # => #<Proc:0x41bedb9c@/tmp/execpad-44d2626fe1dd/source-44d2626fe1dd:2 (lambda)> (https://eval.in/820359)
[02:11:04] zenspider: >> ->{0}.call
[02:11:06] ruby[bot]: zenspider: # => 0 (https://eval.in/820360)
[02:11:10] zenspider: ACTION shrugs
[02:12:35] zenspider: eightlimbs: ah. look at the doco for Enumerable.find
[02:12:46] zenspider: off to beer && code!
[02:13:02] eightlimbs: have a good night :)
[02:17:08] eputnam: has joined #ruby
[02:17:17] sid_: has joined #ruby
[02:19:03] hxegon: has joined #ruby
[02:19:27] duderonomy: has joined #ruby
[02:30:09] hxegon: has joined #ruby
[02:30:26] paradisaeidae: has joined #ruby
[02:30:27] paradisaeidae_: has joined #ruby
[02:30:53] hutch34: has joined #ruby
[02:40:09] Trynemjoel: has joined #ruby
[02:41:35] adv_x: has joined #ruby
[02:42:20] adv_x: has left #ruby: ("Leaving")
[02:45:53] w0b: has joined #ruby
[02:46:26] Trynemjoel: has joined #ruby
[02:47:35] jphase: has joined #ruby
[02:51:02] hotpancakes: has joined #ruby
[02:55:33] [ohjn]: has joined #ruby
[02:55:58] [ohjn]: has left #ruby: ()
[03:01:45] mim1k: has joined #ruby
[03:06:10] _whitelogger: has joined #ruby
[03:07:56] jackjackdripper1: has joined #ruby
[03:08:27] millerti: has joined #ruby
[03:09:58] jaequery: has joined #ruby
[03:17:04] Cohedrin_: has joined #ruby
[03:19:04] Trynemjoel: has joined #ruby
[03:21:22] bkxd: has joined #ruby
[03:22:29] jenrzzz: has joined #ruby
[03:22:29] jenrzzz: has joined #ruby
[03:27:09] eightlimbs: has joined #ruby
[03:31:51] hotpancakes: has joined #ruby
[03:32:55] xco: has joined #ruby
[03:34:36] ketan: has joined #ruby
[03:40:00] gix: has joined #ruby
[03:41:47] hxegon: has joined #ruby
[03:43:25] jenrzzz: has joined #ruby
[03:43:25] jenrzzz: has joined #ruby
[03:44:54] hutch34: has joined #ruby
[03:51:03] mrconfused: has joined #ruby
[03:57:00] P1ro: has joined #ruby
[03:59:05] claw: has joined #ruby
[04:02:45] nofxxxx: has joined #ruby
[04:03:48] beilabs_: has joined #ruby
[04:08:12] ndrei: has joined #ruby
[04:09:44] patarr: has joined #ruby
[04:16:51] howdoi: has joined #ruby
[04:28:54] chrisbolton_: has joined #ruby
[04:29:17] solocshaw: has joined #ruby
[04:29:41] mim1k: has joined #ruby
[04:31:09] tubuliferous: has joined #ruby
[04:32:52] w0b: has joined #ruby
[04:32:59] xco: has left #ruby: ()
[04:36:05] chrisbolton_: I’m trying to edit a csv inline and was hoping someone could explain to me why this isn’t working, https://gist.github.com/Iknewthisguy/9a079958735c308e23841e5d4438fac1
[04:38:19] zenspider: chrisbolton_: did you read something to suggest it would?
[04:39:13] jaequery: has joined #ruby
[04:41:03] chrisbolton_: :zenspider: it appears I misread the api docs. I started with File.open, but wasn’t having any luck
[04:41:11] znz_jp: has joined #ruby
[04:42:09] zenspider: I wouldn't edit it inline. Open a second file, write to that, replace the old with the new
[04:43:16] eightlimbs: zen, how was beer & code?
[04:43:20] chrisbolton_: Even for something as simple as appending a single string to each row?
[04:43:22] nanoz: has joined #ruby
[04:43:22] nanoz: has joined #ruby
[04:43:39] zenspider: eightlimbs: THEY DID NOT HAVE IT! I WAS HEARTBROKEN... and now I'm sober
[04:44:06] eightlimbs: What city are you in?
[04:44:11] zenspider: chrisbolton_: "as simple as"... uh huh.
[04:44:19] zenspider: eightlimbs: Seattle
[04:44:53] chrisbolton_: zenspider thanks for your help.
[04:45:40] jaequery: has joined #ruby
[04:46:03] zenspider: chrisbolton_: `ri CSV` for a lot of different ways to go about this.
[04:47:12] chrisbolton_: I thought it would be more performant to edit in line instead of having two files open in memory.
[04:48:40] zenspider: performant? really?
[04:49:19] chrisbolton_: Mind explaining why it wouldn’t be?
[04:49:58] zenspider: mind explaining why you're using ruby if you care about performance? or why you're guessing as to the performance and not measuring if you care?
[04:50:29] zenspider: just make it work. performance doesn't matter. Hold 2 really big files in memory... they fit. you have a lot of memory.
[04:51:16] chrisbolton_: Thanks for the insight zenspider, now to go make it work.
[04:52:03] mrconfused: has joined #ruby
[04:54:27] djbkd: has joined #ruby
[04:56:11] aharlan: has joined #ruby
[05:01:46] Mortomes|Train: has joined #ruby
[05:12:31] Jameser: has joined #ruby
[05:15:08] znz_jp: has joined #ruby
[05:17:32] xall: has joined #ruby
[05:17:39] anisha: has joined #ruby
[05:17:40] brent__: has joined #ruby
[05:20:50] s2013: has joined #ruby
[05:22:13] aupadhye: has joined #ruby
[05:22:22] uZiel: has joined #ruby
[05:25:14] Bock: has joined #ruby
[05:34:41] enterprisey: has joined #ruby
[05:35:28] ketan: has joined #ruby
[05:39:08] johnny56: has joined #ruby
[05:53:05] mrconfused: has joined #ruby
[05:57:13] _whitelogger: has joined #ruby
[06:04:48] jphase: has joined #ruby
[06:06:19] astrobunny: has joined #ruby
[06:08:21] rgr: has joined #ruby
[06:10:35] patarr: has joined #ruby
[06:11:38] muelleme_: has joined #ruby
[06:13:15] helpa: has joined #ruby
[06:15:51] jokester: has joined #ruby
[06:20:33] Mortomes|Work: has joined #ruby
[06:22:26] w0b: has joined #ruby
[06:24:21] jamesaxl: has joined #ruby
[06:28:20] conta: has joined #ruby
[06:38:14] ddffg: has joined #ruby
[06:43:48] xall: has joined #ruby
[06:49:21] sepp2k: has joined #ruby
[06:52:41] jeffaustin81: has joined #ruby
[06:54:16] mrconfused: has joined #ruby
[06:55:05] w0b: has joined #ruby
[06:55:15] roshanavand: has joined #ruby
[07:00:41] Aloy: has joined #ruby
[07:00:56] TomyWork: has joined #ruby
[07:05:12] vali: has joined #ruby
[07:05:22] hotpancakes: has joined #ruby
[07:07:46] solocshaw: has joined #ruby
[07:09:23] Rory: has joined #ruby
[07:09:29] ltem: has joined #ruby
[07:12:54] nanoz: has joined #ruby
[07:12:54] nanoz: has joined #ruby
[07:13:36] astrobunny: has joined #ruby
[07:16:54] yeticry_: has joined #ruby
[07:21:29] abhishekkr: has joined #ruby
[07:21:58] joonty: has joined #ruby
[07:22:15] Rory: has left #ruby: ()
[07:22:23] w0b: has joined #ruby
[07:24:38] jaruga_________: has joined #ruby
[07:25:23] aufi: has joined #ruby
[07:29:19] ur5us: has joined #ruby
[07:32:39] xall: has joined #ruby
[07:33:20] andikr: has joined #ruby
[07:33:49] jaruga_________: has joined #ruby
[07:36:20] ketan: has joined #ruby
[07:38:28] burgestrand: has joined #ruby
[07:39:04] jphase: has joined #ruby
[07:44:55] antgel: has joined #ruby
[07:47:33] haraoka: has joined #ruby
[07:55:28] xall: has joined #ruby
[07:56:05] hotpancakes: has joined #ruby
[07:56:13] ur5us: has joined #ruby
[07:56:43] nobitanobi: has joined #ruby
[07:58:10] minimalism: has joined #ruby
[07:58:11] burgestrand: has joined #ruby
[07:59:37] ntt: has joined #ruby
[07:59:43] joonty: has joined #ruby
[08:01:27] sysvalve: has joined #ruby
[08:01:51] Silthias1: has joined #ruby
[08:02:08] sarbs: has joined #ruby
[08:05:51] mikecmpbll: has joined #ruby
[08:06:20] xall: has joined #ruby
[08:07:15] Mortomes|Work: has joined #ruby
[08:11:29] patarr: has joined #ruby
[08:16:56] Kristjan55555: has joined #ruby
[08:17:04] LukyCZ: has joined #ruby
[08:17:44] sekmo: has joined #ruby
[08:17:52] ferr: has joined #ruby
[08:20:31] rohitpaulk: has joined #ruby
[08:23:48] tubuliferous: has joined #ruby
[08:23:53] simmaniac: has joined #ruby
[08:28:25] hotpancakes: has joined #ruby
[08:31:42] mim1k: has joined #ruby
[08:34:56] agimenez: has joined #ruby
[08:37:32] Antiarc: has joined #ruby
[08:39:41] w0b: has joined #ruby
[08:40:45] zenish: has joined #ruby
[08:44:28] antgel: has joined #ruby
[08:48:48] pandaant: has joined #ruby
[08:49:09] lxsameer: has joined #ruby
[08:50:01] fergal: has joined #ruby
[08:50:39] Tau: has joined #ruby
[08:52:07] Tau: has left #ruby: ()
[08:52:15] im0nde: has joined #ruby
[08:55:28] mrconfused: has joined #ruby
[08:55:53] w0b: has joined #ruby
[08:57:05] bauruine: has joined #ruby
[08:58:25] ketan: has joined #ruby
[09:00:49] dragoonis: has joined #ruby
[09:05:05] cschneid_: has joined #ruby
[09:08:30] hotpancakes: has joined #ruby
[09:15:59] uZiel: has joined #ruby
[09:17:45] Serpent7776: has joined #ruby
[09:19:02] marr: has joined #ruby
[09:19:37] mathys: has joined #ruby
[09:24:25] Silox|: has joined #ruby
[09:26:44] ur5us: has joined #ruby
[09:28:41] Fernando-Basso: has joined #ruby
[09:30:52] tvw: has joined #ruby
[09:34:06] xco: has joined #ruby
[09:34:24] xco: any sexier way to write this: class Sexy def method_name return nil if number.zero? something.another_something end end
[09:34:29] xco: lines 3 and 4?
[09:34:38] xco: i mean this
[09:34:45] xco: https://gist.github.com/siaw23/267f25be9fcd18d41440cbbbca83e86f
[09:35:05] dminuoso: number.zero? ? nil : something.another_something
[09:35:52] xco: dminuoso: it’s funny because i did that and my rails app is getting a bunch of errors
[09:35:52] dminuoso: Or like that.
[09:35:53] workmad3: has joined #ruby
[09:36:25] dminuoso: xco: Oh yeah. "bunch of errors" is usually caused by a missing `end'
[09:36:52] hotpancakes: has joined #ruby
[09:37:40] w0b: has joined #ruby
[09:39:24] poerror: has joined #ruby
[09:39:27] fxa90id: has joined #ruby
[09:39:27] fxa90id: has joined #ruby
[09:40:31] poerror: hi guys, is it possible to get name of class, from where was method called?
[09:41:14] Bhootrk_: has joined #ruby
[09:42:34] dminuoso: &ri Kernel#caller poerror
[09:42:34] `derpy: poerror: http://ruby-doc.org/core-2.4.1/Kernel.html#method-i-caller
[09:43:13] dminuoso: poerror: If you need more, banister/binding_of_caller solves the rest.
[09:43:36] dminuoso: Do not do use this for production code.
[09:49:10] poerror: that's it, thanks guys :)
[09:49:25] dionysus69: has joined #ruby
[09:52:49] w0b: has joined #ruby
[09:53:47] BaiJiFeiLong: has joined #ruby
[09:54:32] umaaji: has joined #ruby
[09:55:29] tvw: has joined #ruby
[09:56:06] jottr: has joined #ruby
[09:56:51] Silthias: has joined #ruby
[09:57:16] ujjain: has joined #ruby
[09:57:17] ujjain: has joined #ruby
[09:59:45] charliesome: has joined #ruby
[09:59:49] BaiJiFeiLong: has left #ruby: ()
[10:01:17] w0b: has joined #ruby
[10:09:50] mim1k: has joined #ruby
[10:12:17] patarr: has joined #ruby
[10:13:37] biberu: has joined #ruby
[10:14:27] S1kx: has joined #ruby
[10:17:37] astrobunny: has joined #ruby
[10:19:14] w0b: has joined #ruby
[10:20:00] yokel: has joined #ruby
[10:27:17] sekmo: has joined #ruby
[10:29:59] sonOfRa: has joined #ruby
[10:30:13] chichou: has joined #ruby
[10:37:07] xco: has joined #ruby
[10:37:10] xco: has left #ruby: ()
[10:41:29] hotpancakes: has joined #ruby
[10:41:30] Azure: has joined #ruby
[10:48:56] snowcrshd: has joined #ruby
[10:50:37] zapata: has joined #ruby
[10:53:37] patarr: has joined #ruby
[10:53:47] w0b: has joined #ruby
[10:57:18] mrconfused: has joined #ruby
[11:01:38] w0b: has joined #ruby
[11:01:47] Silthias1: has joined #ruby
[11:03:24] umaaji: has joined #ruby
[11:04:26] kt: has joined #ruby
[11:05:14] nanoz: has joined #ruby
[11:05:14] nanoz: has joined #ruby
[11:10:02] nanoz]: has joined #ruby
[11:12:19] sekmo: has joined #ruby
[11:12:20] hotpancakes: has joined #ruby
[11:20:55] cschneid_: has joined #ruby
[11:21:06] Vingador: has joined #ruby
[11:29:04] millerti: has joined #ruby
[11:29:49] w0b: has joined #ruby
[11:32:39] sarbs: has joined #ruby
[11:34:30] acalycine: has joined #ruby
[11:38:34] millerti: has joined #ruby
[11:41:27] dragoonis: has joined #ruby
[11:42:51] cschneid_: has joined #ruby
[11:44:47] Mia: has joined #ruby
[11:44:47] Mia: has joined #ruby
[11:48:42] fxa: has joined #ruby
[11:50:02] hotpancakes: has joined #ruby
[11:50:05] VladGh: has joined #ruby
[11:53:01] im0nde: has joined #ruby
[11:55:04] chalkmonster: has joined #ruby
[11:57:11] vondruch_: has joined #ruby
[11:57:18] pwnd_nsfw: has joined #ruby
[11:58:19] ldnunes: has joined #ruby
[12:01:50] Alina-malina: has joined #ruby
[12:03:23] synthroid: has joined #ruby
[12:05:05] cschneid_: has joined #ruby
[12:10:37] w0b: has joined #ruby
[12:10:44] Bhootrk_: has joined #ruby
[12:12:43] hotpancakes: has joined #ruby
[12:23:29] ornerymoose: has joined #ruby
[12:24:28] Jameser: has joined #ruby
[12:27:10] nanoz]: has joined #ruby
[12:29:01] rfoust: has joined #ruby
[12:30:31] burgestrand: has joined #ruby
[12:33:18] millerti: has joined #ruby
[12:34:01] Jameser: has joined #ruby
[12:36:49] dropsh0t: has joined #ruby
[12:39:33] simmaniac: has joined #ruby
[12:40:07] w0b: has joined #ruby
[12:42:35] mrconfused: has joined #ruby
[12:43:32] gdonald: has joined #ruby
[12:43:52] nicesignal: has joined #ruby
[12:45:18] karl___: has joined #ruby
[12:45:24] burgestrand: has joined #ruby
[12:45:31] cadillac_: has joined #ruby
[12:48:40] jaruga_________: has joined #ruby
[12:52:20] t-recx: has joined #ruby
[12:52:40] Jameser: has joined #ruby
[12:52:42] sekmo: has joined #ruby
[12:53:18] bkxd: has joined #ruby
[12:57:14] hotpancakes: has joined #ruby
[12:57:25] mim1k: has joined #ruby
[12:59:46] Jameser: has joined #ruby
[13:02:58] acalycine: has joined #ruby
[13:02:59] vuoto: has joined #ruby
[13:05:16] cschneid_: has joined #ruby
[13:06:27] rohitpaulk: has joined #ruby
[13:07:49] sagax: has joined #ruby
[13:10:31] im0nde: has joined #ruby
[13:11:58] w0b: has joined #ruby
[13:14:08] mim1k: has joined #ruby
[13:15:32] synthroid: has joined #ruby
[13:15:42] zapata: has joined #ruby
[13:19:31] millerti: has joined #ruby
[13:20:33] Jameser: has joined #ruby
[13:22:50] synthroid: has joined #ruby
[13:26:57] hxegon: has joined #ruby
[13:27:46] w0b: has joined #ruby
[13:28:38] shinnya: has joined #ruby
[13:29:45] haylon: has joined #ruby
[13:29:51] DLSteve: has joined #ruby
[13:31:49] SaschaVoid: has joined #ruby
[13:38:08] xco: has joined #ruby
[13:39:26] snowcrshd: has joined #ruby
[13:44:06] w0b: has joined #ruby
[13:44:45] Alina-malina: has joined #ruby
[13:45:06] dasher00: has joined #ruby
[13:45:12] firstdayonthejob: has joined #ruby
[13:46:21] Jameser: has joined #ruby
[13:47:35] djbkd: has joined #ruby
[13:51:36] xall: has joined #ruby
[13:52:57] nanoz]: has joined #ruby
[13:54:16] Jameser: has joined #ruby
[14:01:36] tenderlove: has joined #ruby
[14:02:30] tenderlo_: has joined #ruby
[14:02:46] hotpancakes: has joined #ruby
[14:03:06] snowcrshd: has joined #ruby
[14:03:19] roshanavand: has joined #ruby
[14:03:57] vuoto: has joined #ruby
[14:17:50] tubuliferous: has joined #ruby
[14:22:25] filp: has joined #ruby
[14:27:49] rgr: has joined #ruby
[14:29:06] aufi: has joined #ruby
[14:31:35] JustTheDoctor: has joined #ruby
[14:35:36] patarr: has joined #ruby
[14:41:06] Sylario: has joined #ruby
[14:41:15] flips: has joined #ruby
[14:41:15] flips: has joined #ruby
[14:41:21] hotpancakes: has joined #ruby
[14:41:50] hutch34: has joined #ruby
[14:43:20] cam27: has joined #ruby
[14:45:44] jaequery: has joined #ruby
[14:45:45] gizmore: has joined #ruby
[14:46:21] mim1k: has joined #ruby
[14:50:28] chalkmonster: has joined #ruby
[14:52:11] oleo: has joined #ruby
[14:53:34] TomyWork: Base64.decode64 seems unable to decode a 147 million character string
[14:53:52] TomyWork: either that or my surrounding code is crap, but it decodes other strings fine
[14:56:50] TomyWork: nm, it's not the base64 decoder, it's the thing that reads the 147 character cdata from an xml file
[14:58:28] haylon: has joined #ruby
[14:59:52] TomyWork: yeah, nokogiri is unable to parse that xml with the cdata intact
[15:02:32] haylon: has joined #ruby
[15:03:32] nanoz: has joined #ruby
[15:04:21] cschneid_: has joined #ruby
[15:12:07] olivier__: has joined #ruby
[15:15:56] rohitpaulk: has joined #ruby
[15:16:43] mim1k: has joined #ruby
[15:16:55] jaequery: has joined #ruby
[15:18:01] cadillac_: has joined #ruby
[15:20:56] snockerton: has joined #ruby
[15:23:25] ljarvis: you have a 147 million character xml file?
[15:23:42] dminuoso: ljarvis: Are you jealous?
[15:27:50] dminuoso: ljarvis: We don't use Oracle because it's not as widely known amongst management. The decision to use something reliable and popular was chosen, so we store our data in the XML database.
[15:28:05] dminuoso: XPath queries are easier to write than SQL (no need for the "SELECT" keyword for example)
[15:28:11] dminuoso: It's just more comfy.
[15:28:28] ljarvis: and of course, built in scale
[15:28:31] ljarvis: it's genious
[15:28:42] dminuoso: ljarvis: Also XML can't crash.
[15:28:48] dminuoso: It's essentially bug free.
[15:28:56] ResidentBiscuit: has joined #ruby
[15:28:57] ljarvis: true! -- i do have an important question though
[15:29:10] ljarvis: is it concurrent?
[15:29:19] dminuoso: That is a very good question.
[15:29:36] dminuoso: We have multiple concurrent users keeping the XML database open and writing to it concurrently.
[15:29:43] dminuoso: Until now we have not detected an inconsistent database.
[15:29:56] ljarvis: how do you handle backups?
[15:30:41] ljarvis: this is fascinating, i am writing notes for my next infrastructure meeting. we will save $100s
[15:30:43] cdg: has joined #ruby
[15:31:25] dminuoso: ljarvis: Since it has been battle proven (it can't crash, and concurrent "open in editor and save" works), backup strategies are not necessary
[15:31:32] dminuoso: Thus drastically reducing infrastructure and maintenance costs.
[15:31:44] dminuoso: We keep a copy on a MO disk though.
[15:32:08] ljarvis: that is brilliant, and the database could even be accessed on for example, a mobile device
[15:32:21] ljarvis: has that ever been done before? i think no
[15:33:33] dminuoso: ljarvis: And the best thing is, it even caters to those fanatic programmers. There's a very old and effective programmig interface, because sometimes notepad wont cut it.
[15:34:01] davidmichaelkarr: has joined #ruby
[15:34:25] rohitpaulk: has joined #ruby
[15:34:35] dminuoso: ljarvis: https://gist.github.com/dminuoso/313e3d83601e480baaa773f3493b63b8 this is a sed script that enforces a special order on tower-like data.
[15:35:03] dminuoso: sed doesn't suffer from segmentation faults and linker errors.
[15:35:21] ljarvis: brilliant, the structure is very symmetrical, which is what we look for when considering new tech
[15:35:54] cdg_: has joined #ruby
[15:36:03] ljarvis: what does this part do though: s~^:n
[15:36:08] ljarvis: this tech is so new to me
[15:36:24] ljarvis: the rest is very self explanatory
[15:36:36] dminuoso: ljarvis: The script is very self-explanatory.
[15:36:45] dminuoso: ljarvis: You should refer to the programming interface documentation: https://www.gnu.org/doc/doc.html
[15:37:02] dminuoso: ljarvis: https://www.gnu.org/software/sed/manual/sed.html
[15:37:34] ljarvis: so well documented
[15:37:46] ljarvis: our shareholders will love this
[15:38:19] enterprisey: has joined #ruby
[15:39:04] rippa: has joined #ruby
[15:40:29] jottr: has joined #ruby
[15:42:21] baweaver: ACTION reads back on logs
[15:42:29] rohitpaulk: has joined #ruby
[15:42:34] baweaver: ACTION scratches head, decides to get coffee instead
[15:43:30] uZiel: has joined #ruby
[15:43:55] w0b: has joined #ruby
[15:44:06] brent__: has joined #ruby
[15:44:42] haylon: has joined #ruby
[15:47:11] mim1k: has joined #ruby
[15:47:33] KeyJoo: has joined #ruby
[15:48:26] rohitpaulk: has joined #ruby
[15:49:44] hotpancakes: has joined #ruby
[15:50:22] Renich: has joined #ruby
[15:51:06] hotpanca_: has joined #ruby
[15:54:48] amclain: has joined #ruby
[15:56:04] swills: has joined #ruby
[15:56:40] gizmore: has joined #ruby
[15:56:41] rohitpaulk: has joined #ruby
[15:59:28] hotpancakes: has joined #ruby
[16:01:23] jackjackdripper: has joined #ruby
[16:01:38] KeyJoo: has joined #ruby
[16:02:44] rkazak: has joined #ruby
[16:04:35] dasher00: has joined #ruby
[16:10:23] Silox|: has joined #ruby
[16:19:08] Puppet`: has joined #ruby
[16:23:11] jackjackdripper: has joined #ruby
[16:23:21] hobodave: has joined #ruby
[16:24:44] cpruitt: has joined #ruby
[16:27:11] joonty: has joined #ruby
[16:28:02] Trynemjoel: has joined #ruby
[16:30:02] cagmz: has joined #ruby
[16:31:08] eightlimbed: has joined #ruby
[16:33:44] ddffg: has joined #ruby
[16:34:49] rkazak: has joined #ruby
[16:34:50] jenrzzz: has joined #ruby
[16:34:50] jenrzzz: has joined #ruby
[16:36:50] cadillac_: has joined #ruby
[16:37:56] darix: dminuoso: stop programming with ascii art!
[16:38:47] baweaver: Perl is a perfectly respectable language, take that back
[16:39:11] darix: baweaver: i was referring to his sed script
[16:39:27] nankyokusei: has joined #ruby
[16:41:02] snath: has joined #ruby
[16:41:20] jottr: has joined #ruby
[16:44:23] AlexRussia: has joined #ruby
[16:44:47] __Yiota: has joined #ruby
[16:46:16] dtzuzu: has joined #ruby
[16:49:27] uZiel: has joined #ruby
[16:49:29] rohitpaulk: has joined #ruby
[16:50:53] haylon: If I'm using a %w() array format, should I wrap a string like this app/location/foo/bar in quotes, or would that work with just spaces inbetween each element?
[16:51:20] darix: haylon: isnt it %{} ?
[16:51:24] darix: haylon: isnt it %w{} ?
[16:51:32] borodin: has joined #ruby
[16:51:35] ljarvis: the delimiters can be changed
[16:51:36] haylon: that's what the RDocs say, but rubocop corrects it to %w()
[16:51:52] haylon: but that style of string should work just fine?
[16:51:53] baweaver: Though try it out and see
[16:51:55] ljarvis: and it uses whitespace, so your string is fine
[16:51:57] baweaver: repls are great
[16:52:04] ljarvis: surprised you didn't just try it though
[16:52:06] haylon: Ok, cool, thanks everyone
[16:52:08] ljarvis: easier than loading up irc ;)
[16:52:13] baweaver: IRB and Pry are your friend :)
[16:52:16] BlueDragons: has joined #ruby
[16:52:23] haylon: I've always got IRC runnign though, that's mys ecret
[16:52:24] darix: binding.pry
[16:52:26] darix: binding.irb
[16:52:38] haylon: yeah, yeah, I should've tried it.
[16:52:48] haylon: old habit of just asking
[16:53:03] w0b: has joined #ruby
[16:53:11] haylon: Thanks though guys
[16:53:32] snowcrshd: has joined #ruby
[16:53:48] baweaver: Ah that's right
[16:53:51] baweaver: 2.4 did add that
[16:54:12] yxhuvud: I was going to say that even newline would work as a delimiter, but it turns out it doesn't work for %w as it does for % and %q
[16:55:14] darix: Yxhuvud: https://gist.github.com/anonymous/f8c15caa8a92f525550da91dfdc5464c
[16:55:16] ljarvis: yeah but who adds newlines without indenting the content, thus creating the necessary whitespace
[16:55:26] darix: ok lets test that
[16:55:31] ljarvis: darix: those are just newlines
[16:55:36] ljarvis: >> %w(foo\nbar)
[16:55:37] ruby[bot]: ljarvis: # => ["foo\\nbar"] (https://eval.in/821060)
[16:55:42] haylon: true. So, I guess I should see if the %w() format will work with Chef then, since it uses an odler version of Ruby
[16:55:43] darix: works without indeting too
[16:56:21] theunraveler: has joined #ruby
[16:56:29] ljarvis: haylon: or like, just use quotes
[16:56:35] darix: https://gist.github.com/anonymous/ff961bc13125f2350c252cf04eacaf4e
[16:56:44] haylon: would be safer eh?
[16:56:46] darix: i will go back to sleeping
[16:57:03] ljarvis: who knows, it'll probably be the same, but you can move on not caring
[16:57:29] darix: if stupid assets:precompile would be faster
[16:57:41] yxhuvud: darix, you misunderstood me. I meant like
[16:58:01] yxhuvud: >> % abcfdasfdsa
[16:58:02] ruby[bot]: Yxhuvud: # => /tmp/execpad-4f3b02fc6ad5/source-4f3b02fc6ad5:3: syntax error, unexpected tCONSTANT, expecting keywo ...check link for more (https://eval.in/821061)
[16:58:27] yxhuvud: hmm, I wonder if it stripped the spaces there.
[16:59:13] yxhuvud: yup, it did
[16:59:19] yxhuvud: (the ending space, that is)
[16:59:31] Ilie: has joined #ruby
[16:59:34] ljarvis: newlines works
[16:59:52] yxhuvud: ljarvis: not as delimiters.
[16:59:58] yxhuvud: as separators, sure
[17:00:15] ruby[bot]: ljarvis: # => /tmp/execpad-71802abb4315/source-71802abb4315:4: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/821063)
[17:00:16] ruby[bot]: ljarvis: # => nil (https://eval.in/821064)
[17:00:19] ljarvis: ruby[bot]: gtfo
[17:00:41] yxhuvud: ljarvis: now try that with %w and it stops working.
[17:00:57] ljarvis: right, i was talking about % since that's what you used in your example :)
[17:01:28] yxhuvud: right, I got kinda sidetracked in my example due to the bot failure :)
[17:02:40] hotpancakes: has joined #ruby
[17:03:14] yxhuvud: haylon: %w and the strange delimiter rules have been with ruby for as long as I have used the language, which is way longer than chef has been around.
[17:03:53] haylon: I should've said I looked, the Chef Docs do show the use of the %w() delimiter. Thanks for responding Yxhuvud
[17:04:16] eightlimbed: has joined #ruby
[17:04:36] darix: so gitlab 9.3.0 deployed. time to head home.
[17:09:28] rfoust: has joined #ruby
[17:12:41] ketan: has joined #ruby
[17:16:40] MissionCritical: has joined #ruby
[17:18:14] kitikonti: has joined #ruby
[17:19:45] sepp2k: has joined #ruby
[17:20:30] rkazak: has joined #ruby
[17:20:39] dionysus69: has joined #ruby
[17:23:35] Cohedrin_: has joined #ruby
[17:25:37] superscott: has joined #ruby
[17:28:38] hutch34: has joined #ruby
[17:29:10] agimenez: has joined #ruby
[17:30:18] AndBobsYourUncle: has joined #ruby
[17:30:42] marxarelli: has joined #ruby
[17:31:38] oleo: has joined #ruby
[17:34:52] mim1k: has joined #ruby
[17:34:56] boombox_: has joined #ruby
[17:35:08] kies: has joined #ruby
[17:36:14] go|dfish: has joined #ruby
[17:36:17] brent__: has joined #ruby
[17:36:28] xco: has left #ruby: ()
[17:38:00] psychicist__: has joined #ruby
[17:38:09] mochiyoda: has joined #ruby
[17:42:15] jottr: has joined #ruby
[17:44:01] duderonomy: has joined #ruby
[17:44:23] Zarthus: I asked this a while ago, but got no answer:
[17:44:23] Zarthus: 2017-06-18 11:24:54 Zarthus any suggestions for debugging a "bundle exec ..." call not finding any of the installed gems?
[17:44:24] Zarthus: 2017-06-18 11:25:05 Zarthus I upgraded to Stretch which seems to have broken it,
[17:44:24] Zarthus: 2017-06-18 11:25:27 Zarthus it's literally the first gem it can find that errors, and 'bundle install' succeeds.
[17:45:04] jamesaxl: has joined #ruby
[17:45:33] dropsh0t: Zarthus: What is the actual command you are trying to execute.
[17:46:03] Zarthus: bundle exec ruby bot.rb
[17:46:35] Zarthus: if it helps:
[17:46:35] Zarthus: bots@starlight:~/notaru$ bundle exec ruby -e 'puts hi'
[17:46:35] Zarthus: Could not find rake-12.0.0 in any of the sources
[17:46:35] Zarthus: Run `bundle install` to install missing gems.
[17:47:06] dropsh0t: put the gemfile on gist
[17:47:33] Zarthus: https://gist.github.com/Zarthus/15501623f35a41b52196a35e17ae4ada
[17:48:57] TomyLobo: has joined #ruby
[17:49:19] havenwood: Zarthus: Sanity check `which bundle` and `gem which bundler`. Ensure you have Bundler installed on the current Ruby.
[17:49:33] dropsh0t: Zarthus, yeah.. It's definitely something with your environment
[17:49:51] Zarthus: bots@starlight:~/notaru$ which bundle #=> /usr/local/bin/bundle
[17:49:51] Zarthus: bots@starlight:~/notaru$ gem which bundler #=> ERROR: Can't find ruby library file or shared library bundler
[17:50:05] Zarthus: I was guessing as much, I just don't really know how to troubleshoot it :)
[17:50:11] Zarthus: i tried both bundler and bundle
[17:50:16] dropsh0t: it's bundler
[17:50:17] Zarthus: both give the same error for gem
[17:50:39] Zarthus: (and both bundler and bundle can be found through `which`)
[17:50:43] jenrzzz: has joined #ruby
[17:50:43] jenrzzz: has joined #ruby
[17:51:32] dropsh0t: 'gem which bundler' should be retuning a path
[17:52:06] dropsh0t: 'gem install bundler'
[17:52:24] eputnam: has joined #ruby
[17:52:56] Zarthus: doing that returns a path for gem which bundler now
[17:53:37] dropsh0t: ok so try bundle install again
[17:53:56] Zarthus: yep, will let you know if it works afterwards
[17:54:17] gusrub: has joined #ruby
[17:54:37] ForeignBiscuit: has joined #ruby
[17:54:54] anomaly: has joined #ruby
[17:55:27] Zarthus: Seems to have fixed it, thanks dropsh0t / havenwood
[17:55:30] mim1k: has joined #ruby
[17:55:39] Zarthus: interesting how it somehow got messed up in an upgrade to stretch
[17:57:53] ResidentBiscuit: has joined #ruby
[17:58:07] haylon: has joined #ruby
[17:58:09] t-recx: has joined #ruby
[17:58:19] ResidentBiscuit: has joined #ruby
[17:58:59] ResidentBiscuit: has joined #ruby
[17:59:33] chouhoulis: has joined #ruby
[18:00:17] jottr: has joined #ruby
[18:01:23] eputnam: has joined #ruby
[18:01:34] gusrub: has joined #ruby
[18:05:37] w0b: has joined #ruby
[18:07:07] kirun: has joined #ruby
[18:08:06] eputnam: has joined #ruby
[18:08:32] KrzaQ: Is there a way to take all but one element from an enumerable? something like [0...-1]. I can use it, but it forces me to place it in the same line as another call in a call chain and I like the visual feel of new call in chain being in a separate line
[18:09:29] rkazak: has joined #ruby
[18:09:30] muelleme_: has joined #ruby
[18:10:10] KrzaQ: well, .reverse.drop(1).reverse would work, but it's not pretty either
[18:11:20] nicesignal: has joined #ruby
[18:14:26] konsolebox: has joined #ruby
[18:14:56] eputnam: has joined #ruby
[18:15:05] hotpancakes: has joined #ruby
[18:15:56] mim1k: has joined #ruby
[18:17:40] tgragnato: has joined #ruby
[18:18:01] jzigmund: has joined #ruby
[18:18:27] w0b: has joined #ruby
[18:22:00] brent__: has joined #ruby
[18:23:41] superscott: @KrzaQ enum.slice!(-1) might work if i'm reading your question correctly http://ruby-doc.org/core-2.4.1/Array.html#method-i-slice
[18:24:55] baweaver: >> [1,2,3,4,5].slice(0,-1)
[18:24:57] ruby[bot]: baweaver: # => nil (https://eval.in/821074)
[18:25:39] baweaver: >> [1,2,3,4,5].slice(0..-2)
[18:25:41] ruby[bot]: baweaver: # => [1, 2, 3, 4] (https://eval.in/821075)
[18:25:43] baweaver: that's what it was
[18:26:04] MasterNayru: has joined #ruby
[18:26:17] baweaver: Slice takes a range or a start, end
[18:26:20] havenwood: no plain slice on #numerable though
[18:26:33] KrzaQ: I'm using it on map result
[18:26:37] KrzaQ: and it works
[18:26:40] havenwood: KrzaQ: Array
[18:26:52] KrzaQ: huh, really?
[18:26:56] havenwood: KrzaQ: Array#slice is indeed a thing.
[18:27:24] havenwood: Enumerable has #slice_after, #slice_before and #slice_when
[18:27:42] snath: has left #ruby: ("Leaving")
[18:27:57] havenwood: and #each_slice
[18:28:00] KrzaQ: well, I don't care about performance, I'm manipulating like few dozen bytes
[18:28:05] Dimik: has joined #ruby
[18:28:12] havenwood: There's no problem with using Array methods.
[18:28:15] KrzaQ: but yeah, it does seem that map returns an array, which is new to me
[18:28:19] havenwood: (When you have an Array.)
[18:28:50] havenwood: >> [1,2,3,4,5][0..-2] #KrzaQ
[18:28:52] ruby[bot]: havenwood: # => [1, 2, 3, 4] (https://eval.in/821077)
[18:31:46] eputnam: has joined #ruby
[18:32:13] hotpancakes: has joined #ruby
[18:35:23] hotpancakes: has joined #ruby
[18:36:19] roamingdog: has joined #ruby
[18:36:27] mim1k: has joined #ruby
[18:36:36] jzigmund: has joined #ruby
[18:38:10] ur5us: has joined #ruby
[18:38:51] rt: has joined #ruby
[18:39:17] _whitelogger: has joined #ruby
[18:39:22] Ticky: has joined #ruby
[18:40:59] syndikate: has joined #ruby
[18:42:26] w0b: has joined #ruby
[18:44:53] hxegon: has joined #ruby
[18:48:56] andrzejku: has joined #ruby
[18:49:14] bmurt: has joined #ruby
[18:49:59] zapata: has joined #ruby
[18:52:59] duderono_: has joined #ruby
[18:54:54] jackjackdripper: has joined #ruby
[18:55:31] roamingdog: has joined #ruby
[18:56:03] flak: has joined #ruby
[18:56:08] nupizdets: has joined #ruby
[18:57:04] mim1k: has joined #ruby
[19:03:54] lxsameer: has joined #ruby
[19:04:32] enterprisey: has joined #ruby
[19:05:28] haylon: has joined #ruby
[19:05:47] hotpancakes: has joined #ruby
[19:05:58] eputnam: has joined #ruby
[19:06:04] pierrearseufrasi: has joined #ruby
[19:06:43] haylon: I've asked this before but I can't seem to find it now. What is it I need to look for that's something similar to initialize for Thor classes?
[19:08:56] hotpancakes: has joined #ruby
[19:09:24] haylon: HA, found it. Its a method called no_commands
[19:10:07] d10n-work: has joined #ruby
[19:12:26] Camusensei: has joined #ruby
[19:13:16] w0b: has joined #ruby
[19:15:17] dasher00: has joined #ruby
[19:15:53] eightlimbed: has joined #ruby
[19:16:53] rohitpaulk: has joined #ruby
[19:17:34] mim1k: has joined #ruby
[19:19:26] chouhoul_: has joined #ruby
[19:20:19] andrzejku: has joined #ruby
[19:21:24] havenwood: Hello Camusensei
[19:22:03] ur5us: has joined #ruby
[19:22:25] God: has joined #ruby
[19:22:32] Camusensei: I just compiled + installed ruby 2.3.0 but can't use "gem install"... it says I'm missing openssl (even though I installed it before building). I'm now repeating the operation with ruby 2.3.4 to see if it helps
[19:23:06] jenrzzz: has joined #ruby
[19:23:06] jenrzzz: has joined #ruby
[19:23:55] chouhoulis: has joined #ruby
[19:24:28] haylon: Did you do the flag for openssl?
[19:24:30] milardovich: has joined #ruby
[19:24:39] haylon: when configuring Camusensei?
[19:25:18] xRob_: has joined #ruby
[19:25:22] Camusensei: no, just ./configure
[19:25:35] jackjackdripper: has joined #ruby
[19:25:53] Camusensei: I don't see --with-openssl in ./configure --help
[19:27:27] dropsh0t: Camusensei, did you install the openssl-dev package?
[19:27:33] R11: has joined #ruby
[19:27:35] Camusensei: no I did not
[19:27:38] dropsh0t: *Before running configure
[19:27:48] dropsh0t: That is most likely your issue
[19:28:12] hotpancakes: has joined #ruby
[19:28:22] Camusensei: damn, there is no openssl-dev package in my debian box haha
[19:28:41] R11: has joined #ruby
[19:29:25] haylon: is Debian -devel, or -dev?
[19:29:25] dropsh0t: Try 'libssl-dev'
[19:29:39] havenwood: Camusensei: Here's a list of deps for Debian: https://github.com/postmodern/chruby/wiki/Ruby
[19:29:44] havenwood: +1 libssl-dev
[19:29:47] haylon: ah, there ya go.
[19:30:03] haylon: I learned why people always say, use a Ruby manager like chruby, rbenv, rvm, or uru
[19:30:04] havenwood: build-essential bison zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libffi-dev
[19:30:08] tastygradient: has joined #ruby
[19:30:30] Camusensei: dropsh0t, havenwood: well, libssl-dev was already installed...
[19:32:01] fxa90id: has joined #ruby
[19:32:13] R11: Hello, I'm looking for a test suite. With the version 2.1.5, there is Minitest and TestUnit, but in the last I can't find anything. I want use assert_output
[19:32:15] shinnya: has joined #ruby
[19:32:37] fxa90id: has joined #ruby
[19:32:37] fxa90id: has joined #ruby
[19:32:52] anomaly: has left #ruby: ()
[19:33:40] Camusensei: yay, ruby 2.3.4 solved the issue I had with ruby 2.3.0, now I can install gems :)
[19:34:26] havenwood: Camusensei: nice, 2.3.4 is latest 2.3 - the right 2.3 to be on
[19:35:11] jaequery: has joined #ruby
[19:35:14] nadir: has joined #ruby
[19:38:09] mim1k: has joined #ruby
[19:42:23] haylon: R11, tehre's also RSpec
[19:42:28] guacamole: has joined #ruby
[19:42:40] haylon: I'm a fan of MiniTest myself since it can do both Unit Testing and RSpec-like syntaxes
[19:43:19] havenwood: Minitest is simple, has test and spec styles you can blend together and ships with Ruby.
[19:43:23] havenwood: +1 Minitest
[19:43:54] havenwood: haylon: Minitest lost its capital T in recent versions!
[19:45:37] R11: Where to find the doc ? I don't see anything in http://ruby-doc.org/stdlib-2.4.1/ or http://ruby-doc.org/core-2.4.1/
[19:45:50] randomA: has joined #ruby
[19:45:58] havenwood: R11: https://github.com/seattlerb/minitest
[19:47:02] nankyokusei: has joined #ruby
[19:47:21] havenwood: R11: https://stdgems.org/
[19:47:46] havenwood: R11: ^ stdgems.org lists the bundled and default gems in Ruby.
[19:47:53] havenwood: Minitest is bundled.
[19:48:20] haylon: havenwood: forgive me. lol
[19:48:21] haylon: http://docs.seattlerb.org/minitest/
[19:48:27] haylon: that's teh official RDoc for minnitest
[19:48:38] baweaver: havenwood does not forgive
[19:48:40] havenwood: Minitest isn't maintained by RubyCore. It's under SeattleRB.
[19:48:42] baweaver: havenwood does not forget
[19:48:47] randomA: has left #ruby: ()
[19:48:53] baweaver: run quickly haylon
[19:48:59] haylon: ACTION disconnects
[19:49:10] baweaver: havenwood: another soul spared :D
[19:49:21] haylon: Do you have a special set of skills
[19:50:17] baweaver: haylon yes I do
[19:50:25] baweaver: Such as you're in Kansas right now.
[19:50:28] haylon: baweaver is Liam Niesen
[19:50:33] baweaver: and very likely work at Cerner
[19:50:54] baweaver: Side note, I also used to work at Cerner.
[19:51:23] haylon: Where at in the EU?
[19:51:28] haylon: or in the US?
[19:51:31] druonysus: has joined #ruby
[19:51:34] ketan: has joined #ruby
[19:51:50] R11: If my understanding is good : Minitest is no more a part of Ruby-stdlib. Yes ?
[19:51:50] baweaver: US. If nothing else it's VPN'd in to their ISP
[19:52:13] mostlybadfly: has joined #ruby
[19:52:21] haylon: well, I'm not going to divulge too much more than that about my employer
[19:52:39] baweaver: ./whois haylon -> https://www.iplocation.net/ -> "Cerner Corporation"
[19:53:25] GodFather: has joined #ruby
[19:53:30] haylon: Guess I should get some proxies and bouncers setup eh?
[19:53:40] baweaver: or a hostmask.
[19:53:45] baweaver: do a whois on eam
[19:53:59] cadillac__: has joined #ruby
[19:55:27] duderonomy: has joined #ruby
[19:56:06] implose: has joined #ruby
[19:57:23] baweaver: Well I'll keep the rest of that to PM haylon.
[19:58:03] al2o3-cr: has joined #ruby
[20:02:21] tastygradient: has joined #ruby
[20:02:49] mochiyoda_: has joined #ruby
[20:06:13] haylon: has joined #ruby
[20:06:30] w0b: has joined #ruby
[20:07:36] tastygradient: has joined #ruby
[20:11:35] tastygradient: has joined #ruby
[20:12:36] skweek: has joined #ruby
[20:15:58] nupizdets: has joined #ruby
[20:24:36] nupizdets: has joined #ruby
[20:26:02] jenrzzz_: has joined #ruby
[20:29:22] R11: Haylon, Havenwood, thanks for you replies.
[20:29:56] haylon: whoops, I missed part of the convo. I DC'ed real quick
[20:30:20] haylon: yeah, Minitest isn't part of the core ruby libraries, you need to add it to your Gemfile, or download it
[20:30:45] havenwood: haylon: It's bundled with Ruby so you don't need to add it: https://stdgems.org/
[20:30:55] havenwood: It can be removed.
[20:31:24] haylon: I misunderstood you, my apologies
[20:31:32] havenwood: It's maintained outside of Ruby but it does ship with Ruby.
[20:31:34] bkxd: has joined #ruby
[20:32:25] havenwood: It's true it's not part of Ruby core. It's gemified and bundled stdlib.
[20:32:37] havenwood: haylon: I think I may have exceeded my allotted pedantries for the day. ;-)
[20:33:07] R11: Thanks to you ! It's now clear for me.
[20:33:11] haylon: R11, some reading as well, http://www.betterspecs.org/
[20:33:51] mim1k: has joined #ruby
[20:35:10] R11: My next question was "As a newbee with Minitest and the tools like this, do you something like a manueal, I want something more than the API".
[20:35:46] R11: My next question was "As a newbee with Minitest and the tools like this, do you know something like a manual ...
[20:40:05] mikecmpbll: has joined #ruby
[20:42:11] haylon: I haven't found one for free, but there are some books listed on that betterspecs page.
[20:42:34] haylon: Mostly just myself reading other people's unit/spec tests and seeing how those work, and meditating on it
[20:43:17] haylon: I'm not Comp Sci, or real developer, but I consider testing in Unit, Specification, and integration testing
[20:43:38] haylon: do the functions work as they're supposed to, does it meet the required specifications, then does it actually do what its supposed to do
[20:47:45] R11: I've read that Cucumber can use some other languages than english, do you know if it's possible to hace some other tools can use an other language than the english ?
[20:47:50] cbyrda: has joined #ruby
[20:47:55] hotpancakes: has joined #ruby
[20:51:00] dropsh0t: R11, if the other tools support other languages, then yes.
[20:53:00] dropsh0t: Or you could make your own wrapper using something like Adapter design pattern
[20:56:13] hotpancakes: has joined #ruby
[20:59:14] baweaver: Don't bother with Cucumber. It's an unnecessary abstraction unless you have a PM writing stories in specs for you
[21:02:13] hahuang65: has joined #ruby
[21:08:03] spanlik: has joined #ruby
[21:10:11] mim1k: has joined #ruby
[21:10:26] spanlik: has left #ruby: ()
[21:10:29] w0b: has joined #ruby
[21:12:49] Azure: has joined #ruby
[21:14:22] jzigmund: has joined #ruby
[21:17:06] haylon: has joined #ruby
[21:18:46] eightlimbed: has joined #ruby
[21:19:40] dasher00: has joined #ruby
[21:26:34] w0b: has joined #ruby
[21:26:53] jaequery: has joined #ruby
[21:29:12] kobain: has joined #ruby
[21:29:15] hotpancakes: has joined #ruby
[21:30:16] hotpancakes: has joined #ruby
[21:32:05] chouhoulis: has joined #ruby
[21:36:35] antgel: has joined #ruby
[21:43:48] minimalism: has joined #ruby
[21:46:24] mim1k: has joined #ruby
[21:46:56] dionysus69: has joined #ruby
[21:48:17] hfp: has left #ruby: ()
[21:50:44] duderonomy: has joined #ruby
[21:51:10] w0b: has joined #ruby
[21:52:26] ketan: has joined #ruby
[21:53:16] AlexRussia: has joined #ruby
[21:53:25] poloych: has joined #ruby
[21:58:06] ornerymoose: has joined #ruby
[21:59:12] eibay: has joined #ruby
[21:59:30] patarr: has joined #ruby
[22:00:31] ruby[bot]: has joined #ruby
[22:00:32] ChanServ: +o ruby[bot]
[22:00:35] mim1k: has joined #ruby
[22:04:26] henning: has joined #ruby
[22:04:50] BackEndCoder: has joined #ruby
[22:05:05] hutch34: has joined #ruby
[22:13:01] jenrzzz: has joined #ruby
[22:14:05] hotpancakes: has joined #ruby
[22:15:00] chouhoulis: has joined #ruby
[22:17:30] henning: has left #ruby: ()
[22:17:48] dionysus69: has joined #ruby
[22:18:14] hotpanca_: has joined #ruby
[22:19:36] blackwind_123: has joined #ruby
[22:34:50] Qommand0r: has joined #ruby
[22:36:03] SCHAPiE: has joined #ruby
[22:36:25] mim1k: has joined #ruby
[22:37:53] snowcrshd: has joined #ruby
[22:39:13] ornerymoose: has joined #ruby
[22:41:26] mistergibson: has joined #ruby
[22:49:00] chouhoulis: has joined #ruby
[22:49:35] mim1k: has joined #ruby
[22:51:34] w0b: has joined #ruby
[22:54:24] hahuang65: has joined #ruby
[22:54:41] bougyman: any pry gurus about? I have the weirdest thing. in bin/console, I set Pry.config.history.file = 'path/to/histfile', then immediately call MyObject.pry, and Pry.config.history.file is not what I set it to.
[22:54:56] bougyman: what could be taking priority over my very explicit setting of the config value?
[22:55:45] bougyman: I looked at options to #pry, nothing there for passing a config instance or config options.
[22:56:22] bougyman: (and there's no .pryrc)
[22:57:02] hotpancakes: has joined #ruby
[23:02:05] hotpancakes: has joined #ruby
[23:02:22] im0nde: has joined #ruby
[23:02:39] hutch34: has joined #ruby
[23:11:18] mrconfused: has joined #ruby
[23:14:40] clemens3_: has joined #ruby
[23:17:57] gusrub: has joined #ruby
[23:20:24] cdg: has joined #ruby
[23:20:31] mrconfused_: has joined #ruby
[23:24:41] eightlimbed: has joined #ruby
[23:25:20] mim1k: has joined #ruby
[23:33:08] w0b: has joined #ruby
[23:38:38] snowcrshd: has joined #ruby
[23:38:49] brent__: has joined #ruby
[23:39:29] dviola: has joined #ruby
[23:42:45] tekk: has joined #ruby
[23:42:59] piotrj: has joined #ruby
[23:43:03] Raboo: has joined #ruby
[23:43:16] csaunders: has joined #ruby
[23:43:17] hfp_work: has joined #ruby
[23:43:29] _aeris_: has joined #ruby
[23:43:47] unreal: has joined #ruby
[23:44:58] w0b: has joined #ruby
[23:44:59] icedragon: has joined #ruby
[23:45:23] brent__: has joined #ruby
[23:46:47] LightStalker: has joined #ruby
[23:49:52] roamingdog: has joined #ruby
[23:50:21] cschneid_: has joined #ruby
[23:51:14] blackwind_123: has joined #ruby
[23:53:00] snowcrshd: has joined #ruby
[23:53:18] ketan: has joined #ruby
[23:57:39] jenrzzz: has joined #ruby
[23:57:39] jenrzzz: has joined #ruby