« Back to channel list

#ruby - 10 September 2018

« Back 1 day Forward 1 day »
[00:19:43] jdawgaz: has joined #ruby
[00:38:24] jdawgaz: has joined #ruby
[00:39:35] hr3f: has joined #ruby
[00:41:03] Es0teric: has joined #ruby
[00:43:03] Es0teric: has joined #ruby
[00:44:40] Es0teric: has joined #ruby
[00:45:22] Es0teric: has joined #ruby
[00:45:59] Es0teric: has joined #ruby
[00:46:37] Es0teric: has joined #ruby
[00:47:17] goez: has joined #ruby
[00:56:48] thy0: has joined #ruby
[01:01:22] jdawgaz: has joined #ruby
[01:27:32] segy: has joined #ruby
[01:27:45] esrse: has joined #ruby
[01:38:05] redlegion: has joined #ruby
[01:44:41] LiftLeft2: has joined #ruby
[01:46:02] LiftLeft3: has joined #ruby
[01:49:14] cats: has joined #ruby
[02:01:02] bmurt: has joined #ruby
[02:03:42] jdawgaz: has joined #ruby
[02:10:38] mitescugd: has joined #ruby
[02:23:28] kotepillar_: has joined #ruby
[02:23:48] graphene: has joined #ruby
[02:48:31] baweaver: New article up, enjoy! - https://medium.com/@baweaver/understanding-transducers-in-ruby-209766372c39
[02:54:40] j0bk: has joined #ruby
[03:07:54] redlegion: has joined #ruby
[03:10:04] braincrash: has joined #ruby
[03:43:53] Radar: baweaver: "While we could use even? shorthand here instead" Did you mean (&:even?)
[03:59:46] chouhoulis: has joined #ruby
[04:10:26] kotepillar_: has joined #ruby
[04:21:20] FastJack: has joined #ruby
[04:28:59] d^sh: has joined #ruby
[04:30:26] reber: has joined #ruby
[05:07:52] graphene: has joined #ruby
[05:16:58] dr3wo: has joined #ruby
[05:18:02] orbyt_: has joined #ruby
[05:18:45] graphene: has joined #ruby
[05:34:17] apeiros: has joined #ruby
[05:37:43] orbyt_: has joined #ruby
[05:47:06] Fusl: has joined #ruby
[05:51:43] graphene: has joined #ruby
[05:52:45] brandoncc: has joined #ruby
[05:59:16] dionysus69: has joined #ruby
[06:05:45] aufi: has joined #ruby
[06:08:47] aupadhye: has joined #ruby
[06:11:58] MoritaShinobu: has joined #ruby
[06:19:49] Mike11: has joined #ruby
[06:20:59] orbyt_: has joined #ruby
[06:45:10] sina: has joined #ruby
[06:52:13] lomex: has joined #ruby
[06:58:20] yohji: has joined #ruby
[07:01:17] aupadhye: has joined #ruby
[07:03:49] clemens3_: has joined #ruby
[07:05:56] graphene: has joined #ruby
[07:06:46] dr3wo: has joined #ruby
[07:09:03] doubledup: has joined #ruby
[07:34:26] xfbs: has joined #ruby
[07:45:15] mikecmpbll: has joined #ruby
[07:58:51] johnny56: has joined #ruby
[08:03:02] dr3wo: has joined #ruby
[08:07:12] Guest58115: has joined #ruby
[08:10:31] RougeR: has joined #ruby
[08:11:21] jottr: has joined #ruby
[08:14:16] lomex: has joined #ruby
[08:15:28] dr3wo: has joined #ruby
[08:20:21] graphene: has joined #ruby
[08:20:22] orbyt_: has joined #ruby
[08:24:19] c0ncealed2: has joined #ruby
[08:24:44] sspreitz: has joined #ruby
[08:44:32] teclator: has joined #ruby
[08:54:21] Nicmavr: has joined #ruby
[08:55:56] Stan: has joined #ruby
[08:57:40] Beams: has joined #ruby
[08:59:10] graphene: has joined #ruby
[09:00:52] jenenliu: has joined #ruby
[09:09:23] mikecmpbll: has joined #ruby
[09:13:39] discopatrick: has joined #ruby
[09:17:57] leitz: has joined #ruby
[09:20:07] leitz: If calling myobject.class gives "Parent::Me", is there a way to get the 'Me' class name alone, or just split on the '::'?
[09:36:08] sleetdrop: has joined #ruby
[09:36:37] kapil___: has joined #ruby
[09:40:16] akem: has joined #ruby
[09:48:16] Sembei: has joined #ruby
[10:01:44] sleetdrop: has joined #ruby
[10:14:50] orbyt_: has joined #ruby
[10:25:34] jenenliu: has joined #ruby
[10:35:58] jenenliu: has joined #ruby
[10:38:09] tekk: has joined #ruby
[10:47:07] AJA4350: has joined #ruby
[10:56:44] tristanp: has joined #ruby
[11:09:33] kotepillar_: has joined #ruby
[11:15:31] Mike11: has joined #ruby
[11:27:32] nikivi: has left #ruby: ()
[11:34:40] bak1an: has joined #ruby
[11:42:46] InfinityFye: has joined #ruby
[11:48:39] c0ncealed2: has joined #ruby
[11:51:12] jottr: has joined #ruby
[11:57:54] tristanp: has joined #ruby
[12:06:03] JasonO: has joined #ruby
[12:06:18] mikecmpb_: has joined #ruby
[12:08:25] thy0: has joined #ruby
[12:10:12] k0mpa: has joined #ruby
[12:24:10] _whitelogger: has joined #ruby
[12:25:34] Sembei: has joined #ruby
[12:49:55] dr3wo: has joined #ruby
[12:53:09] bmurt: has joined #ruby
[12:57:19] dr3wo: has joined #ruby
[13:00:53] aufi: has joined #ruby
[13:07:09] aufi: has joined #ruby
[13:10:08] Rapture: has joined #ruby
[13:12:42] Azure: has joined #ruby
[13:25:31] akem: has joined #ruby
[13:25:54] ujjain: I'm trying a docker build and it fails with this error: mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
[13:26:37] ujjain: pastebin: https://pastebin.com/ifb3LTVH
[13:27:54] ujjain: I'm building on a Mac, although not sure it matters, as fluentd is based on alpine
[13:28:04] jottr: has joined #ruby
[13:33:52] Inline: has joined #ruby
[13:37:29] gnufied: has joined #ruby
[13:40:36] Inline: has joined #ruby
[13:41:53] lembron: has left #ruby: ()
[13:42:07] Inline: has joined #ruby
[13:43:41] wnd: has joined #ruby
[13:51:10] _whitelogger: has joined #ruby
[13:58:38] tristanp: has joined #ruby
[14:14:45] DTZUZO: has joined #ruby
[14:19:25] akem: has joined #ruby
[14:23:36] wojnar: has joined #ruby
[14:27:15] chromis: has left #ruby: ()
[14:28:30] Knappe: has joined #ruby
[14:29:01] kotepillar_: has joined #ruby
[14:29:24] i90rr: has joined #ruby
[14:29:40] Knappe: Is there a good ruby gem to use for an IRC client? I know there is cinch but as I could see this should be used as bot framework
[14:30:09] Knappe: All I need to do is connecting to a channel, send out a message and evaluate the reply
[14:32:10] i90rr: hi everyone, absolute n00b to Ruby here; already did my schoolwork but still undecided which to choose: rvenv, chruby, rvm or bundler (I think bundler is the newer alternative, right?). I'm used to virtualenv for Python (both Bash and Zsh) and NVM for Node. Thanks!
[14:35:23] havenwood: i90rr: Bundler is a gem you can use with any of the above.
[14:35:53] havenwood: i90rr: chruby is the simplest and RVM does the most, with rbenv somewhere between the two
[14:36:05] havenwood: i90rr: If it suffices for your use case, I'd recommend chruby.
[14:37:56] i90rr: havenwood hi there - thanks. I'll start with chruby then as it seems the best approach
[14:38:16] i90rr: I can 'upgrade' to the later managers if I need to later
[14:49:01] jottr: has joined #ruby
[14:52:55] rippa: has joined #ruby
[14:53:27] elfranne: has joined #ruby
[14:53:35] Puffball: has joined #ruby
[14:56:49] elfranne: First time using Ruby, trying to make a plugin. I get an error with Rubocop: Lint/Syntax: unexpected token tNL
[14:56:51] elfranne: code : https://dpaste.de/As8x#L56
[15:05:01] donofrio: has joined #ruby
[15:05:34] dr3wo: has joined #ruby
[15:08:05] desperek: has joined #ruby
[15:10:12] NL3limin4t0r: has joined #ruby
[15:10:37] havenwood: elfranne: what version of Ruby are you running?
[15:10:39] thy0: has joined #ruby
[15:10:51] conta1: has joined #ruby
[15:14:21] elfranne: ruby 2.3.1p112
[15:15:45] guardian: I have a question about idiomatic ruby. Let's say I want a helper function that returns either :foo or :bar. And I want it to be called target. Should it be target or target? ?
[15:16:06] havenwood: guardian: target
[15:16:23] guardian: what yo use question marks then?
[15:16:31] guardian: when it returns a bool?
[15:16:48] havenwood: guardian: When the return value is truthy or falsey, not necessarily true and false
[15:17:04] havenwood: guardian: So it either returns `nil` or `false` or anything else.
[15:17:44] havenwood: elfranne: A few funky things, that _might_ be involved. The shebang has a space before the first slash, which isn't ordinary. That's probably not the issue though.
[15:17:52] havenwood: elfranne: The `require File` looks very odd.
[15:18:51] krawchyk: has joined #ruby
[15:18:55] havenwood: elfranne: You don't need to require File and the argument should be a String.
[15:19:02] havenwood: require 'thingy'
[15:19:29] kapil___: has joined #ruby
[15:19:30] guardian: thanks havenwood
[15:19:47] guardian: I have another question while I'm at it. Why don't Symbols expose include? or start_with? functions?
[15:20:34] havenwood: guardian: They're more used as markers rather than for their content.
[15:21:58] wnd: has joined #ruby
[15:22:00] elfranne: @havenwood so i removed the require File , because it is part of the core ruby ?
[15:22:47] havenwood: elfranne: Yes, it's core Ruby so it doesn't need to be required. If it was stdlib, you could require it with: require 'file'
[15:24:24] elfranne: havenwood, it s based on those plugins : https://github.com/sensu-plugins
[15:26:18] RougeR: has joined #ruby
[15:27:03] xfbs: has joined #ruby
[15:27:31] zapata: has joined #ruby
[15:28:09] guardian: thanks havenwood, appreciated
[15:34:13] bmurt: has joined #ruby
[15:36:05] havenwood: guardian: no prob!
[15:36:37] akem: has joined #ruby
[15:40:59] patr0clus: has joined #ruby
[15:42:19] bomb: has joined #ruby
[15:46:36] xfbs: has joined #ruby
[15:49:42] kotepillar_: has joined #ruby
[15:54:14] Mike11: has joined #ruby
[16:00:56] yokel: has joined #ruby
[16:01:00] apeiros_: has joined #ruby
[16:01:58] AJA4350: has joined #ruby
[16:02:09] bak1an_: has joined #ruby
[16:02:39] kotepillar_: has joined #ruby
[16:04:53] lytol_: has joined #ruby
[16:05:59] brandoncc: has joined #ruby
[16:09:22] patr0clus: has joined #ruby
[16:09:48] akem: has joined #ruby
[16:11:40] cagomez: has joined #ruby
[16:19:07] bak1an: has joined #ruby
[16:23:22] cthulchu_: has joined #ruby
[16:26:14] bmurt: has joined #ruby
[16:42:01] Tharbakim: has joined #ruby
[16:47:33] DTZUZO: has joined #ruby
[16:53:31] baweaver: GOOOOOOOD MORNIN
[16:53:49] dellavg_: has joined #ruby
[17:06:34] GodFather: has joined #ruby
[17:14:42] dionysus69: has joined #ruby
[17:20:08] jcarl43: has joined #ruby
[17:21:07] I0: has joined #ruby
[17:24:09] ramfjord: has joined #ruby
[17:24:42] rlawrence: has joined #ruby
[17:28:48] tty: has joined #ruby
[17:30:17] patr0clus: has joined #ruby
[17:31:30] patr0clus: has joined #ruby
[17:31:32] sameerynho: has joined #ruby
[17:35:27] eckhardt_: has joined #ruby
[17:37:20] blackbaba: has joined #ruby
[17:37:28] samort7: has joined #ruby
[17:42:21] eckhardt_: has joined #ruby
[17:42:57] bomb: baweaver: o/
[17:43:53] xfbs: has joined #ruby
[17:45:57] dr3wo: has joined #ruby
[17:50:43] eckhardt_: has joined #ruby
[17:58:21] patr0clus: has joined #ruby
[18:05:10] canurabus: has joined #ruby
[18:05:36] xfbs: has joined #ruby
[18:07:43] impermanence: has joined #ruby
[18:08:34] akem: has joined #ruby
[18:09:37] patr0clus: has joined #ruby
[18:11:03] yxhuvud: has joined #ruby
[18:11:06] patr0clus: has joined #ruby
[18:12:04] sonOfRa: has joined #ruby
[18:12:53] [Butch]: has joined #ruby
[18:14:30] patr0clus: has joined #ruby
[18:14:56] tubbo: has joined #ruby
[18:16:25] patr0clus: has joined #ruby
[18:24:40] ramfjord: has joined #ruby
[18:29:56] blackmesa: has joined #ruby
[18:30:09] canurabus: has joined #ruby
[18:30:09] xfbs: has joined #ruby
[18:31:11] akem: has joined #ruby
[18:31:30] canurabus: Hi. If I use 'return' within a 'rescue' will the surrounding function return without continuing on? ie "begin; foo; rescue; return; bar". 'bar' will not be called in this instance right?
[18:33:06] baweaver: canurabus: Try it out
[18:33:18] baweaver: Best way is to jump into IRB or Pry and see if it works.
[18:34:13] xfbs: has joined #ruby
[18:39:27] chouhoulis: has joined #ruby
[18:45:18] xfbs: has joined #ruby
[18:47:31] chouhoulis: has joined #ruby
[18:51:11] apeiros_: canurabus: I hope you tried it out by now. however, note that the rescue there is irrelevant with regards to bar not being called.
[18:59:56] druonysus: has joined #ruby
[19:03:48] akemot: has joined #ruby
[19:03:51] jp: has joined #ruby
[19:08:04] dviola: has joined #ruby
[19:10:09] chouhoulis: has joined #ruby
[19:12:39] govg: has joined #ruby
[19:15:02] orbyt_: has joined #ruby
[19:16:21] rootsudo: has joined #ruby
[19:18:13] desperek: has joined #ruby
[19:23:10] chouhoulis: has joined #ruby
[19:24:13] redlegion: has joined #ruby
[19:25:09] mistergibson: has joined #ruby
[19:28:03] bak1an: has joined #ruby
[19:34:31] Nicmavr: has joined #ruby
[19:45:14] agent_white: has joined #ruby
[19:45:16] xfbs: has joined #ruby
[19:50:59] impermanence: has joined #ruby
[19:53:33] xfbs: has joined #ruby
[20:04:12] RougeR: has joined #ruby
[20:08:28] xfbs_: has joined #ruby
[20:26:12] akemot: has joined #ruby
[20:38:35] Turnikov: has joined #ruby
[20:40:08] cagomez: has joined #ruby
[20:49:58] Azure: has joined #ruby
[21:09:51] ramfjord: has joined #ruby
[21:12:11] SCHAPiE: has joined #ruby
[21:15:13] FrostCandy: has joined #ruby
[21:18:29] postmodern: has joined #ruby
[21:21:37] sticaz: has joined #ruby
[21:37:00] nowhere_man: has joined #ruby
[21:41:06] reber: has joined #ruby
[21:42:35] jcarl43: has joined #ruby
[22:04:20] redlegion: has joined #ruby
[22:04:47] redlegion: has joined #ruby
[22:13:21] nickjj_: has joined #ruby
[22:18:22] redlegion: has joined #ruby
[22:23:16] apeiros: has joined #ruby
[22:24:42] patr0clus: has joined #ruby
[22:25:19] Turnikov: has joined #ruby
[22:25:21] mikecmpbll: has joined #ruby
[22:33:15] _whitelogger: has joined #ruby
[22:44:25] nowhere_man: has joined #ruby
[22:48:19] tdy: has joined #ruby
[23:00:24] eckhardt_: has joined #ruby
[23:02:09] xfbs: has joined #ruby
[23:12:42] ramfjord: has joined #ruby
[23:17:41] eckhardt_: has joined #ruby
[23:20:49] graphene: has joined #ruby
[23:21:19] xfbs: has joined #ruby
[23:22:17] roshanavand: has joined #ruby
[23:23:17] apeiros: has joined #ruby
[23:24:34] mitescugd: has joined #ruby
[23:25:50] akem: has joined #ruby
[23:30:11] akem: has joined #ruby
[23:30:15] bmurt: has joined #ruby
[23:31:46] VladGh: has joined #ruby
[23:32:05] mitescugd: has joined #ruby
[23:35:46] sina_: has joined #ruby
[23:46:05] dar123: has joined #ruby
[23:51:19] mitescugd: has joined #ruby
[23:53:11] mitescugd: has joined #ruby
[23:55:34] mitescugd: has joined #ruby
[23:57:51] mitescugd: has joined #ruby