« Back to channel list

#ruby - 04 November 2018

« Back 1 day Forward 1 day »
[00:02:04] venmx: has joined #ruby
[00:05:50] TheBloke: has joined #ruby
[00:07:08] cow[moo]: has joined #ruby
[00:09:10] elphe: has joined #ruby
[00:12:58] k0mpa: has joined #ruby
[00:18:13] segy: has joined #ruby
[00:29:06] cagomez: has joined #ruby
[00:29:17] elphe: has joined #ruby
[00:31:14] cow[moo]: has joined #ruby
[00:39:53] elphe: has joined #ruby
[00:44:44] orbyt_: has joined #ruby
[00:46:47] elphe: has joined #ruby
[00:50:31] solocshaw: has joined #ruby
[00:53:39] Nicmavr: has joined #ruby
[00:53:56] za1b1tsu: has joined #ruby
[00:55:48] apeiros: has joined #ruby
[01:05:14] kapil____: has joined #ruby
[01:25:39] nchambers: can someone tell me why this doesn't work? "42.09" == /^\d+(\.\d+)?$/ # the regex works fine on regex101.com, but in irb that returns false
[01:29:52] al2o3-cr: nchambers: you'd need =~ to match regex
[01:30:05] apeiros: has joined #ruby
[01:30:07] nchambers: yeah, just realized, thanks
[01:31:29] al2o3-cr: nchambers: and for ^(sub)\A \z(sub)$
[01:31:53] nchambers: what is (sub) and \A \z ?
[01:32:39] al2o3-cr: \A|\z is match string not a line.
[01:33:54] al2o3-cr: \A and \z to match the start and end of the string, ^ and $ match the start/end of a line. (straight from the docs.) =)
[01:35:42] TheBloke: has joined #ruby
[01:39:12] _whitelogger: has joined #ruby
[01:42:03] elphe: has joined #ruby
[01:52:10] arescorpio: has joined #ruby
[01:53:21] patr0clus: has joined #ruby
[02:02:02] cagomez: has joined #ruby
[02:02:11] elphe: has joined #ruby
[02:05:50] apeiros: has joined #ruby
[02:14:57] zacts: has joined #ruby
[02:15:12] cow[moo]: has joined #ruby
[02:20:01] evdubs_: has joined #ruby
[02:22:25] elphe: has joined #ruby
[02:24:17] patr0clus: has joined #ruby
[02:32:32] elphe: has joined #ruby
[02:37:08] apeiros: has joined #ruby
[02:42:01] za1b1tsu: has joined #ruby
[02:46:36] n0mz: has joined #ruby
[02:49:34] al2o3-cr: n0mz: hi o/
[02:52:39] elphe: has joined #ruby
[02:53:41] bak1an: has joined #ruby
[02:54:44] n0mz: lots of rubyists in this channel
[02:55:07] n0mz: good to see
[02:57:23] baweaver: ACTION wanders in
[02:57:46] baweaver: Debating doing an improv stream on pattern matching
[02:59:08] n0mz: ACTION nods
[03:04:09] baweaver: Probably going to save it for after RubyConf, need to redraw a few more slides
[03:05:17] n0mz: Im looking at the Qo repo
[03:05:37] n0mz: not sure what I would need to use that for specifically :/
[03:06:56] n0mz: I'll have to read it more
[03:07:11] elphe: has joined #ruby
[03:07:17] baweaver: ACTION wrote Qo
[03:08:11] n0mz: yes I know, I was looking at your ruby book list and saw that repo
[03:08:46] TheBloke: has joined #ruby
[03:09:05] apeiros: has joined #ruby
[03:09:14] al2o3-cr: baweaver: you're one hell of an artist.
[03:11:14] n0mz: thats quite the gem
[03:12:09] al2o3-cr: baweaver: i hope your still recreating in art, because blimey, that is talent right under hands. (believe)
[03:14:18] baweaver: Yep, working on integrating elements of elvish art into some of the talk slides
[03:14:54] dhollinger: has joined #ruby
[03:16:55] al2o3-cr: i seen your drawing on twitch.tv; seriously, that is a talent some people could only wish for!
[03:17:36] al2o3-cr: absolutley amazing! honestly.
[03:17:51] al2o3-cr: just to free hand like that WOW
[03:17:54] cow[moo]: has joined #ruby
[03:21:09] n0mz: has left #ruby: ()
[03:21:26] baweaver: https://twitter.com/keystonelemur/status/1058878632020430849
[03:21:32] baweaver: Recent freehand from a bit earlier today
[03:21:42] baweaver: Working on another one that dwarfs it
[03:26:06] cd: has joined #ruby
[03:26:30] al2o3-cr: gonna watch it now =)
[03:26:54] elphe: has joined #ruby
[03:27:37] al2o3-cr: baweaver: thought it was live. m mmmm
[03:29:43] al2o3-cr: baweaver: i swear to god, that doesn't come by so easily. i'd love to have the ability to draw like that. oh wow. baweaver, you probably don't realise how gifted you are. =_)
[03:30:59] baweaver: To be fair I did spend years as a kid wishing I could draw well :P
[03:32:35] al2o3-cr: baweaver: you should take up art and programming dude! U W G A W
[03:39:08] baweaver: This one is going to take forever to do though: https://twitter.com/keystonelemur
[03:39:17] baweaver: https://twitter.com/keystonelemur/status/1058926324398452736
[03:39:18] baweaver: There we go
[03:41:16] al2o3-cr: baweaver: what can i say, it's just awesome. really, really good!
[03:46:18] apeiros: has joined #ruby
[03:46:33] elphe: has joined #ruby
[04:05:51] mr_rich101: has joined #ruby
[04:06:15] elphe: has joined #ruby
[04:09:42] braincrash: has joined #ruby
[04:14:02] jmcgnh: has joined #ruby
[04:21:48] apeiros: has joined #ruby
[04:30:12] za1b1tsu: has joined #ruby
[04:50:51] jmcgnh: has joined #ruby
[04:55:28] apeiros: has joined #ruby
[04:59:45] jcalla: has joined #ruby
[05:03:20] Fusl: has joined #ruby
[05:18:12] nchambers: I know I cna store methods in a variable with: foo = method(:bar), but is it possible to store a method stored in a module or class?
[05:24:01] al2o3-cr: methods on a class/module are still instance methods on the class Class.
[05:25:07] za1b1tsu: has joined #ruby
[05:26:03] nchambers: al2o3-cr: how do i access them from Class?
[05:29:52] nchambers: ah nmd I see
[05:30:18] whysthatso: has joined #ruby
[05:30:20] apeiros: has joined #ruby
[05:32:03] Fusl: has joined #ruby
[05:40:45] asphyxia: has joined #ruby
[05:47:19] ruby[bot]: has joined #ruby
[05:47:20] ChanServ: +o ruby[bot]
[06:04:00] exchgr`: has joined #ruby
[06:08:14] apeiros: has joined #ruby
[06:09:02] MoritaShinobu: has joined #ruby
[06:17:55] JDeen: has joined #ruby
[06:18:09] JDeen: Hi There...
[06:19:21] JDeen: I am interested in making a command line app... some thing inspired by Heroku cli app... Is there any lib that I can use that will help with the option parsing (I guess OptionParser wouldn't help) in a complex application?
[06:19:47] baweaver: OptionParser and Slop are fairly standard.
[06:20:08] baweaver: Both can be used for "large applications" though you have to remember that a CLI is an interface
[06:20:19] baweaver: your actual code should be able to run without it
[06:27:29] JDeen: What I am needing is to nest... the app is `timer`... I would like to have `timer clients --help` `timer clients:add --help` kind of an behavior. I guess I will have to check the user input ($1 var I guess) and based on it to load an appropriate OptionParser config?
[06:28:55] JDeen: ARGV, yah that should do... thanks going to give it a try
[06:29:24] baweaver: There are some that use a views type system
[06:29:31] baweaver: but I can't find it at the moment.
[06:30:40] baweaver: https://github.com/markets/awesome-ruby#cli-builder
[06:30:45] baweaver: That'll give you some more options
[06:33:18] dinfuehr: has joined #ruby
[06:34:14] JDeen: baweaver: thanks alot
[06:41:15] apeiros: has joined #ruby
[06:48:26] Dbugger: has joined #ruby
[06:58:04] elphe: has joined #ruby
[07:14:22] apeiros: has joined #ruby
[07:17:39] elcontrastador: has joined #ruby
[07:26:55] whysthatso: has joined #ruby
[07:36:04] reber: has joined #ruby
[07:45:50] apeiros: has joined #ruby
[08:18:12] _whitelogger: has joined #ruby
[08:18:20] apeiros: has joined #ruby
[08:19:54] jcalla: has joined #ruby
[08:30:41] apeiros: has joined #ruby
[08:37:47] apeiros: has joined #ruby
[08:46:08] elphe: has joined #ruby
[08:53:46] dachi: Good morning
[09:11:04] lxsameer: has joined #ruby
[09:18:37] jcalla: has joined #ruby
[09:26:01] despai: has joined #ruby
[09:27:20] nchambers: has joined #ruby
[09:29:57] jcalla: has joined #ruby
[09:31:47] phaul: has joined #ruby
[09:33:06] JDeen: has joined #ruby
[09:33:11] Shorty6: has joined #ruby
[09:51:13] jcalla: has joined #ruby
[09:52:40] TheBloke: has joined #ruby
[09:54:34] xfbs: has joined #ruby
[10:06:12] mangold: has joined #ruby
[10:11:38] gix: has joined #ruby
[10:14:36] jcalla: has joined #ruby
[10:27:04] nowhere_man: has joined #ruby
[10:40:25] jcalla: has joined #ruby
[11:02:41] venmx: has joined #ruby
[11:07:44] despai: has joined #ruby
[11:09:24] dellavg_: has joined #ruby
[11:10:44] leitz: has joined #ruby
[11:29:20] ellcs: has joined #ruby
[11:33:49] Nicmavr: has joined #ruby
[11:40:59] ellcs: has joined #ruby
[11:45:48] AJA4350: has joined #ruby
[11:49:47] conta: has joined #ruby
[11:52:05] jetchisel: has joined #ruby
[11:58:25] despai: has joined #ruby
[12:03:13] wojnar: has joined #ruby
[12:05:09] ayonkhan: has joined #ruby
[12:09:36] despai: has joined #ruby
[12:10:12] kapil____: has joined #ruby
[12:17:48] ua: has joined #ruby
[12:25:44] clemens3: has joined #ruby
[12:30:58] nchambers: has joined #ruby
[12:36:42] rippa: has joined #ruby
[12:40:37] ayonkhan: has joined #ruby
[12:48:13] ua: has joined #ruby
[12:55:36] ayonkhan: has joined #ruby
[13:15:52] nchambers: has joined #ruby
[13:47:16] wojnar: has joined #ruby
[13:54:17] reber__: has joined #ruby
[13:56:36] remi: has joined #ruby
[13:59:02] ayonkhan: has joined #ruby
[14:00:13] reber: has joined #ruby
[14:16:54] roshanavand: has joined #ruby
[14:21:42] mangold: has joined #ruby
[14:24:40] lxsameer: has joined #ruby
[14:34:48] jcalla: has joined #ruby
[14:37:11] houhoulis: has joined #ruby
[14:42:07] elphe: has joined #ruby
[14:50:46] jetchisel: has joined #ruby
[15:02:39] nchambers: has joined #ruby
[15:05:52] za1b1tsu: has joined #ruby
[15:11:15] roshanavand: has joined #ruby
[15:31:50] nexraf1: has joined #ruby
[15:31:53] ellcs: has joined #ruby
[15:36:05] kaleido: has joined #ruby
[15:42:54] jcalla: has joined #ruby
[15:45:42] za1b1tsu: ANyone installed ruby with ansible?
[15:45:45] hurricanehrndz: has joined #ruby
[15:45:57] nchambers: has joined #ruby
[15:59:06] k0mpa: has joined #ruby
[15:59:35] ellcs: has joined #ruby
[16:18:24] roshanavand: has joined #ruby
[16:28:06] zleap: has joined #ruby
[16:30:36] elphe: has joined #ruby
[16:35:10] zxq2: hi, i have a bindata::record which i would like to initialize during instantiation, how do i do this? can i pass a hash to constructor with the values?
[16:35:37] havenwood: zxq2: Show us what you have so far?
[16:36:01] havenwood: zxq2: Can you say more about what "initialize during instantiation" means?
[16:37:09] havenwood: zxq2: Passing a hash to a constructor with values seems reasonable. What issue are you running into trying that?
[16:38:17] zxq2: i have a class which inherits from bindata::record. in the class there are fields which i would like to provide values for when instantiating the class.
[16:39:03] havenwood: zxq2: Have you tried doing that? What seems to be not working? Can you show the code?
[16:41:27] zxq2: i wanted to know whether it's possible before trying
[16:43:40] SuperL4g: has joined #ruby
[16:44:08] SuperL4g: has joined #ruby
[16:45:42] bak1an: has joined #ruby
[16:47:57] nchambers: has joined #ruby
[16:49:24] jetchisel: has joined #ruby
[16:51:58] despai: has joined #ruby
[16:55:04] Dimik: has joined #ruby
[17:03:34] RougeR: has joined #ruby
[17:03:45] despai: has joined #ruby
[17:10:47] despai: has joined #ruby
[17:24:22] patr0clus: has joined #ruby
[17:24:48] kapil____: has joined #ruby
[17:25:30] elphe: has joined #ruby
[17:35:30] clemens3: has joined #ruby
[17:45:45] elphe: has joined #ruby
[17:55:52] elphe: has joined #ruby
[18:02:13] desperek: has joined #ruby
[18:05:54] elphe: has joined #ruby
[18:25:37] venmx: has joined #ruby
[18:26:04] elphe: has joined #ruby
[18:35:43] dbugger_: has joined #ruby
[18:46:17] elphe: has joined #ruby
[18:49:32] za1b1tsu: has joined #ruby
[19:06:25] elphe: has joined #ruby
[19:20:03] scrooloose_: has joined #ruby
[19:25:53] za1b1tsu: has joined #ruby
[19:26:38] elphe: has joined #ruby
[19:32:36] ellcs: has joined #ruby
[19:36:11] orbyt_: has joined #ruby
[19:36:43] elphe: has joined #ruby
[19:42:34] dachi: good night fellas
[19:46:49] elphe: has joined #ruby
[20:01:57] jokester: has joined #ruby
[20:06:58] elphe: has joined #ruby
[20:10:18] roshanavand: has joined #ruby
[20:17:26] jokester: has joined #ruby
[20:27:13] elphe: has joined #ruby
[20:41:17] phaul: has joined #ruby
[20:42:09] roshanavand: has joined #ruby
[20:47:04] elphe: has joined #ruby
[20:50:55] agent_white: has joined #ruby
[20:53:29] jokester: has joined #ruby
[20:53:40] claudiuinberlin: has joined #ruby
[20:56:40] elphe: has joined #ruby
[20:57:53] gigetoo: has joined #ruby
[21:00:46] roshanavand: has joined #ruby
[21:04:13] ur5us: has joined #ruby
[21:08:32] Lytol: has joined #ruby
[21:10:32] RougeR: has joined #ruby
[21:11:47] jokester: has joined #ruby
[21:17:08] cagomez: has joined #ruby
[21:17:22] elphe: has joined #ruby
[21:19:29] cow[moo]: has joined #ruby
[21:24:35] bonhoeffer: has joined #ruby
[21:28:04] nchambers: has joined #ruby
[21:37:03] elphe: has joined #ruby
[21:42:59] cagomez: has joined #ruby
[21:45:07] roshanavand: has joined #ruby
[21:46:53] elphe: has joined #ruby
[21:56:47] elphe: has joined #ruby
[21:58:41] beeman: has joined #ruby
[22:10:57] jasmith: has joined #ruby
[22:11:14] dostoyevsky: has joined #ruby
[22:12:12] roshanavand: has joined #ruby
[22:13:40] elphe: has joined #ruby
[22:19:40] Nicmavr: has joined #ruby
[22:33:29] elphe: has joined #ruby
[22:53:09] elphe: has joined #ruby
[22:54:08] roshanavand: has joined #ruby
[23:02:59] elphe: has joined #ruby
[23:11:42] mzo: has joined #ruby
[23:13:38] dan64: has joined #ruby
[23:13:56] Pisuke: has joined #ruby
[23:20:47] TheBetrayer: has joined #ruby
[23:21:52] nexraf1: has joined #ruby
[23:32:06] bauruine: has joined #ruby
[23:35:51] TheBetrayer: has joined #ruby
[23:38:53] apparition: has joined #ruby
[23:45:01] thinkpad: has joined #ruby
[23:52:37] clemens3: has joined #ruby