« Back to channel list

#ruby - 05 July 2019

« Back 1 day Forward 1 day »
[00:01:19] gell5: has joined #ruby
[00:03:44] lepepe: has joined #ruby
[00:06:14] Swyper: has joined #ruby
[00:11:08] sarink: has joined #ruby
[00:17:02] dviola: has joined #ruby
[00:19:22] lepepe: has joined #ruby
[00:47:27] queip: has joined #ruby
[00:50:39] emptyfl4sk: has joined #ruby
[00:55:31] ascarter: has joined #ruby
[00:55:47] lepepe: has joined #ruby
[01:03:35] absolutejam2: has joined #ruby
[01:04:00] lepepe: has joined #ruby
[01:05:18] fphilipe_: has joined #ruby
[01:15:05] chalkmonster: has joined #ruby
[01:19:56] mistergibson: has joined #ruby
[01:28:51] Nicmavr: has joined #ruby
[01:29:15] sarink: has joined #ruby
[01:32:24] orbyt_: has joined #ruby
[01:34:44] chalkmonster: has joined #ruby
[01:44:27] noobineer: has joined #ruby
[01:51:52] codefriar: has joined #ruby
[02:15:53] esrse: has joined #ruby
[02:27:22] lepepe: has joined #ruby
[02:53:00] Swyper: has joined #ruby
[02:53:17] Greg22: has joined #ruby
[02:58:57] emptyfl4sk: has joined #ruby
[02:59:00] chalkmonster: has joined #ruby
[02:59:12] Inline_: has joined #ruby
[03:06:14] fphilipe_: has joined #ruby
[03:11:23] braincrash: has joined #ruby
[03:30:17] chalkmonster: has joined #ruby
[03:38:59] emptyfl4sk: has joined #ruby
[03:39:45] lepepe: has joined #ruby
[03:40:28] ascarter: has joined #ruby
[03:44:08] ascarter_: has joined #ruby
[04:06:52] lepepe: has joined #ruby
[04:19:39] sarink: has joined #ruby
[04:21:38] psilly0: has joined #ruby
[04:24:25] duderonomy: has joined #ruby
[04:37:15] fphilipe_: has joined #ruby
[04:38:23] orbyt_: has joined #ruby
[04:40:22] Swyper: has joined #ruby
[04:53:51] kyrylo: has joined #ruby
[04:53:56] fphilipe_: has joined #ruby
[05:05:13] absolutejam2: has joined #ruby
[05:22:10] psilly0: has joined #ruby
[05:25:24] sarink: has joined #ruby
[05:25:36] lepepe: has joined #ruby
[05:31:06] ascarter: has joined #ruby
[05:31:47] ur5us: has joined #ruby
[05:39:19] sarink: has joined #ruby
[05:46:31] Mrgoose8: has joined #ruby
[05:47:06] absolutejam2: has joined #ruby
[05:48:50] aupadhye: has joined #ruby
[05:52:25] hope_canyon: has joined #ruby
[05:56:56] sandstrom: has joined #ruby
[05:59:14] emptyfl4sk: has joined #ruby
[06:21:07] tuor: has joined #ruby
[06:23:59] Dbugger: has joined #ruby
[06:38:52] staticx: has joined #ruby
[06:42:56] lxsameer: has joined #ruby
[06:44:22] emptyfl4sk: has joined #ruby
[06:47:14] psmolen: has joined #ruby
[07:05:20] Swyper: has joined #ruby
[07:07:10] ellcs: has joined #ruby
[07:15:14] andikr: has joined #ruby
[07:17:39] schne1der: has joined #ruby
[07:24:36] lepepe: has joined #ruby
[07:26:00] kyrylo: has joined #ruby
[07:28:57] DarthGandalf: has joined #ruby
[07:33:06] sandstrom: has joined #ruby
[07:33:18] fphilipe_: has joined #ruby
[07:34:50] suukim: has joined #ruby
[07:37:37] Sylario: has joined #ruby
[07:42:18] deepredsky: has joined #ruby
[07:48:31] clemens3: has joined #ruby
[07:52:37] absolutejam2: has joined #ruby
[07:56:43] absolutejam: has joined #ruby
[07:59:46] queip: has joined #ruby
[08:14:58] BH23: has joined #ruby
[08:28:51] yo-wan: has joined #ruby
[08:47:29] ellcs: has joined #ruby
[08:52:58] Joufflu: has joined #ruby
[08:53:48] Joufflu: Happy 4th of July Rubyists
[08:57:47] fphilipe_: has joined #ruby
[09:03:04] balo: depends on your TZ, here it's already 5th, 11am :P
[09:03:37] NL3limin4t0r: Same for me, and there is nothing special on the 4th of July either.
[09:06:30] emptyfl4sk: has joined #ruby
[09:06:50] NL3limin4t0r: But hey, all countries their own holidays.
[09:06:54] balo: NL3limin4t0r: happy 5th of July. there is no reason why not celebrating any specific day :D
[09:14:25] Joufflu: So I'm learning ruby and I am wondering what exactly is an enumerable ?
[09:14:44] Joufflu: I mean I went to the docs and read it a few times but its not really hitting home
[09:15:49] Joufflu: nevermind I was thinking about too hard
[09:17:25] absolutejam: has joined #ruby
[09:18:35] lepepe: has joined #ruby
[09:50:34] lepepe: has joined #ruby
[10:06:54] DTZUZO: has joined #ruby
[10:09:13] NL3limin4t0r: balo: Happy 5th of July 😎
[10:12:19] iNs: has joined #ruby
[10:26:22] jefffrails35: has joined #ruby
[10:30:58] rubydoc: has joined #ruby
[10:43:47] leitz: has joined #ruby
[10:54:17] DTZUZO: has joined #ruby
[10:57:28] BH23: has joined #ruby
[10:59:02] sarink: has joined #ruby
[11:03:25] jrafanie: has joined #ruby
[11:07:24] emptyfl4sk: has joined #ruby
[11:18:23] kyrylo: has joined #ruby
[11:22:28] voke: has joined #ruby
[11:29:28] codefriar: has joined #ruby
[11:41:06] Swyper: has joined #ruby
[11:57:41] Guest59502: has joined #ruby
[11:59:35] lepepe: has joined #ruby
[11:59:43] jrafanie: has joined #ruby
[12:00:23] jrafanie: has joined #ruby
[12:02:00] andikr: has joined #ruby
[12:05:05] TomyLobo: has joined #ruby
[12:06:49] sarink: has joined #ruby
[12:06:52] fphilipe_: has joined #ruby
[12:06:53] tf2ftw: has joined #ruby
[12:08:33] Nicmavr: has joined #ruby
[12:09:53] haivron: has joined #ruby
[12:11:23] tf2ftw: has joined #ruby
[12:12:10] tf2ftw: has joined #ruby
[12:12:55] tf2ftw: has joined #ruby
[12:12:57] TvL2386: hi all, I'm looking for a good solution to implement cli parsing. Kind of like how `gem ...` works
[12:13:45] tf2ftw: has joined #ruby
[12:14:35] tf2ftw: has joined #ruby
[12:14:36] ytti: TvL2386, i like slop, https://github.com/leejarvis/slop
[12:15:04] ytti: TvL2386, but you're spoiled for choice with CLI option parsers
[12:15:18] ytti: TvL2386, so there very well may be much better onces which i've not reviewed
[12:15:30] TvL2386: ytti: how would you implement something that would have different options for sub actions? Like 'gem install ...' 'gem source ...'
[12:15:46] cd: has joined #ruby
[12:15:51] TvL2386: I'm trying to think of something cool and trying to select the appropriate tool for that
[12:16:00] TvL2386: yeah I looked at gli, highline, slop, optparser....
[12:16:39] TvL2386: I am especially looking for something that can create a great --help page based on all options/paths that can be taken
[12:16:56] ytti: slop4 is not indeed good for subcommands
[12:17:22] ytti: i've not had the same demand so i can't recommend one for subcommands, i'm sure you are still spoiled for choice
[12:17:36] TvL2386: alrighty, I'll dig further
[12:17:40] ytti: TvL2386, https://www.ruby-toolbox.com/categories/CLI_Option_Parsers
[12:17:49] TvL2386: yeah I'm there :)\
[12:18:01] ytti: can't help you much then it seems
[12:18:11] TvL2386: I just hoped someone here would say: Use {x}! and that would be awesome :)
[12:18:19] ytti: yeah, someone might, not me, sorry
[12:18:28] TvL2386: no worries! tyvm for your time
[12:19:40] ytti: TvL2386, did you check cri, it seems to specifically mention subcommands and latest commit is under month old
[12:20:25] TvL2386: ytti: I'll check it out
[12:20:27] ytti: the subcommand support seems neat in 3min glance
[12:25:19] AJA4350: has joined #ruby
[12:31:24] involans: has joined #ruby
[12:32:43] lepepe: has joined #ruby
[12:33:46] Inline: has joined #ruby
[12:38:12] lepepe: has joined #ruby
[12:38:57] NL3limin4t0r: TvL2386: I've never used it, but "thor" is also quite popular.
[12:39:01] NL3limin4t0r: https://rubygems.org/gems/thor
[12:45:13] lepepe_: has joined #ruby
[12:56:56] sarink: has joined #ruby
[13:00:53] sarink: has joined #ruby
[13:01:48] sarink: has joined #ruby
[13:04:30] jcalla: has joined #ruby
[13:05:20] BH23: has joined #ruby
[13:07:54] queip: has joined #ruby
[13:08:17] jrafanie: has joined #ruby
[13:08:20] emptyfl4sk: has joined #ruby
[13:11:33] Inline_: has joined #ruby
[13:12:09] andikr: has joined #ruby
[13:24:47] sarink: has joined #ruby
[13:29:39] Megamos: has joined #ruby
[13:29:56] sarink: has joined #ruby
[13:31:28] deathwishdave: has joined #ruby
[13:31:40] leitz: TvL2386, I enjoy books, so https://www.amazon.com/Build-Awesome-Command-Line-Applications-Ruby/dp/1934356913
[13:35:51] cow[moo]: has joined #ruby
[13:36:46] Inline: has joined #ruby
[13:39:42] rippa: has joined #ruby
[13:40:58] sarink: has joined #ruby
[13:44:07] grymmjack: has joined #ruby
[13:48:37] falconfox: has joined #ruby
[13:52:18] sarink: has joined #ruby
[13:53:54] Esa_: has joined #ruby
[13:54:44] sarink: has joined #ruby
[13:55:24] Fusl: has joined #ruby
[13:55:46] lord4163: has joined #ruby
[14:04:44] sarink: has joined #ruby
[14:19:31] TvL2386: NL3limin4t0r: leitz: ytti: I'm using `cri` now and so far it works quite nice!
[14:20:41] TvL2386: leitz: I'll check it out thx!
[14:21:12] TvL2386: https://github.com/ddfreyne/cri/blob/master/samples/sample_nested.rb
[14:21:25] BH23: has joined #ruby
[14:22:13] TvL2386: I am still trying to find out what the difference is between `required` and `optional`, since it works exactly the same... it does not fail when a required argument is missing
[14:22:42] galaxie: has joined #ruby
[14:24:14] dhollinger: has joined #ruby
[14:24:26] jrafanie: has joined #ruby
[14:25:37] NL3limin4t0r: https://github.com/ddfreyne/cri#forbidden-required-and-optional-arguments-argument
[14:26:15] NL3limin4t0r: > :required means that the option must be followed by an argument, which will then be treated as the value for the option. It does not mean that the option itself is required.
[14:27:14] NL3limin4t0r: > :optional means that the option can be followed by an argument. If it is, then the argument is treated as the value for the option; if it isn’t, the value for the option will be true.
[14:31:21] TvL2386: ooohwww :)
[14:31:35] TvL2386: that explains!
[14:31:45] TvL2386: reading is an art
[14:33:38] TvL2386: so... I should implement that myself it seems... Would be cool if I could do something like `opts.validate!` which would print a stderr page listing the problems and exit(1)
[14:39:29] dhollinger: has joined #ruby
[14:40:02] NL3limin4t0r: TvL2386: btw, looking at the thor documentation they do allow you to make an option required. http://whatisthor.com/#options-and-flags
[14:40:56] brool: has joined #ruby
[14:43:50] NL3limin4t0r: Maybe cri also offers it somewhere, but I can't easily find it in the documentation.
[14:43:51] dhollinger: has joined #ruby
[14:44:06] TvL2386: NL3limin4t0r: yeah me neither
[14:45:32] TvL2386: NL3limin4t0r: I understand why they depricated `required`
[14:48:17] dhollinger: has joined #ruby
[14:50:20] NL3limin4t0r: Looks like it
[14:51:13] TvL2386: NL3limin4t0r: it's really great though... I love this default help page it can generate, also the subcommands work really smooth. They also have autogenerated help pages
[14:51:20] TvL2386: indenting is fine, even colors... looks good
[14:54:53] mistergibson: has joined #ruby
[15:00:43] leitz: More storms in the area. Drat. Bye all.
[15:03:02] BH23: has joined #ruby
[15:05:06] al2o3-cr: ACTION is away with oberon today
[15:09:02] xfbs: has joined #ruby
[15:09:18] emptyfl4sk: has joined #ruby
[15:15:36] dhollinger: has joined #ruby
[15:21:01] al-damiri: has joined #ruby
[15:29:20] sarink: has joined #ruby
[15:29:29] tuor: has joined #ruby
[15:29:29] tuor: has joined #ruby
[15:36:35] jrafanie: has joined #ruby
[15:40:32] lnh^: has joined #ruby
[15:55:37] jrafanie: has joined #ruby
[15:56:32] ellcs: has joined #ruby
[16:07:26] budonyc: has joined #ruby
[16:09:00] SeepingN: has joined #ruby
[16:12:16] psilly0: has joined #ruby
[16:17:16] orbyt_: has joined #ruby
[16:19:11] manakanapa: has joined #ruby
[16:19:15] sarink: has joined #ruby
[16:20:06] _falsebay_: has joined #ruby
[16:22:59] Paraxial: has joined #ruby
[16:31:51] sarink: has joined #ruby
[16:33:35] deepredsky: has joined #ruby
[16:35:07] chalkmonster: has joined #ruby
[16:41:17] iffraff: has joined #ruby
[16:42:25] deepredsky: has joined #ruby
[16:43:54] interruptinuse: has joined #ruby
[16:47:48] emptyfl4sk: has joined #ruby
[16:50:50] iffraff_2: has joined #ruby
[16:55:58] gix: has joined #ruby
[17:02:38] faces: has joined #ruby
[17:10:08] lepepe: has joined #ruby
[17:12:14] cow[moo]: has joined #ruby
[17:13:19] deepreds1: has joined #ruby
[17:15:04] falconfox: has joined #ruby
[17:16:06] lepepe: has joined #ruby
[17:35:47] cd: has joined #ruby
[17:40:38] za1b1tsu: has joined #ruby
[17:45:13] deepredsky: has joined #ruby
[17:48:18] ovnimancer: has joined #ruby
[17:49:31] suukim: has joined #ruby
[17:49:37] involans: has joined #ruby
[18:00:43] green-: has joined #ruby
[18:02:08] green-: trying to sort a runtime error with gem/compass … but not really sure where to start and google has been of limited to no help. any thoughts would be appreciated: https://pastebin.com/z23nVCJT
[18:02:09] ruby[bot]: green-: 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
[18:02:58] ovnimancer|2: has joined #ruby
[18:03:17] green-: well, even though the bot doesn’t like pastebin … gist.github requires an account to post snippets, no?
[18:03:38] canton7: I think the trigger was written before github changed that
[18:04:18] Exuma: has joined #ruby
[18:04:58] green-: yeah was just trying to avoid signing up for an acct to make a paste … this runtime error already has me squandering enough productive time :)
[18:05:23] absolutejam2: has joined #ruby
[18:07:42] absolutejam3: has joined #ruby
[18:20:16] green-: now i’m not even getting any of that runtime error trace … just “error while loading shared libraries: libruby.so.2.3: cannot open shared object file: No such file or directory”
[18:21:28] newalexandria: has joined #ruby
[18:23:18] green-: nevermind, needed to set some env vars … but now back to the runtime error. fun.
[18:24:34] green-: seems to originate from ffi, but everything involved seems to be up to date (ffi, rb-inotify, compass, etc) … so I don’t have a clue as to what the issue could be
[18:36:26] falconfox: has joined #ruby
[18:38:14] haxx0r: has joined #ruby
[18:48:53] emptyfl4sk: has joined #ruby
[18:51:09] lucasb: has joined #ruby
[18:53:25] CaptainOblivious: has joined #ruby
[18:56:26] CaptainOblivious: has left #ruby: ("Quit")
[19:02:50] cd: has joined #ruby
[19:09:16] SeepingN: has joined #ruby
[19:17:01] Exuma: has joined #ruby
[19:24:24] sarink: has joined #ruby
[19:25:45] emptyfl4sk: has joined #ruby
[19:31:35] teardown: has joined #ruby
[19:32:55] queip: has joined #ruby
[19:42:35] orbyt_: has joined #ruby
[19:50:17] haxx0r17: has joined #ruby
[19:50:50] queip: has joined #ruby
[19:53:51] Paraxial: has joined #ruby
[19:56:59] matheusmoreira: has joined #ruby
[19:57:00] superduperuser: has joined #ruby
[20:04:50] octos: has joined #ruby
[20:06:56] houhoulis: has joined #ruby
[20:09:57] queip: has joined #ruby
[20:15:54] armyriad: has joined #ruby
[20:16:13] cd: has joined #ruby
[20:16:13] cd: has joined #ruby
[20:16:29] superduperuser: has joined #ruby
[20:21:35] emptyfl4sk: has joined #ruby
[20:27:57] sandstrom: has joined #ruby
[20:32:12] henninb: has joined #ruby
[20:41:30] duckpuppy: has joined #ruby
[20:44:37] Swyper: has joined #ruby
[20:48:24] za1b1tsu: has joined #ruby
[20:49:54] quarters: has joined #ruby
[20:49:54] quarters: has joined #ruby
[20:51:15] Swyper: has joined #ruby
[20:54:26] henninb: has joined #ruby
[20:57:09] matheusmoreira: has joined #ruby
[21:00:02] henninb: has joined #ruby
[21:12:56] Swyper: has joined #ruby
[21:16:16] emptyfl4sk: has joined #ruby
[21:21:50] absolutejam4: has joined #ruby
[21:26:43] LightStalker: has joined #ruby
[21:27:46] henninb: has joined #ruby
[21:29:42] chalkmonster: has joined #ruby
[21:30:37] Xeago_: has joined #ruby
[21:33:46] henninb_: has joined #ruby
[21:36:13] henninb_: has joined #ruby
[21:39:19] u0_a238: has joined #ruby
[21:39:40] Swyper: has joined #ruby
[21:46:30] lepepe: has joined #ruby
[21:49:39] xco: has joined #ruby
[21:54:37] jaequery: has joined #ruby
[21:54:56] matheusmoreira: has joined #ruby
[21:59:27] Inline: has joined #ruby
[22:02:20] bambanx: has joined #ruby
[22:04:55] Swyper: has joined #ruby
[22:19:05] emptyfl4sk: has joined #ruby
[22:20:00] queip: has joined #ruby
[22:20:09] lepepe: has joined #ruby
[22:24:21] amrx: has joined #ruby
[22:26:17] mikker: has joined #ruby
[22:34:55] abaiste^: has joined #ruby
[22:35:16] octos: has joined #ruby
[22:35:52] falconfox: has joined #ruby
[22:48:50] Nicmavr: has joined #ruby
[22:52:16] edk: has joined #ruby
[22:52:58] u0_a238: has joined #ruby
[22:57:06] emptyfl4sk: has joined #ruby
[22:59:23] u0_a238_: has joined #ruby
[23:08:03] matheusmoreira: has joined #ruby
[23:10:45] u0_a238: has joined #ruby
[23:12:03] m27frogy: has joined #ruby
[23:17:36] chalkmon1: has joined #ruby
[23:21:21] fphilipe_: has joined #ruby
[23:24:10] davor: has joined #ruby
[23:25:11] vjacob: has joined #ruby
[23:29:26] lepepe: has joined #ruby
[23:30:27] jrafanie: has joined #ruby
[23:32:14] jaequery: has joined #ruby
[23:35:30] m27frogy: has joined #ruby
[23:40:27] xco: has joined #ruby
[23:43:04] mikker: has joined #ruby
[23:58:15] matheusmoreira: has joined #ruby