« Back to channel list

#ruby - 13 April 2019

« Back 1 day Forward 1 day »
[00:09:14] wallace_mu: has joined #ruby
[00:19:22] UnknownSoldier: has joined #ruby
[00:19:40] Pillus: has joined #ruby
[00:33:17] CrazyEddy: has joined #ruby
[00:33:20] Pillus: has joined #ruby
[00:33:58] iamdevnul: has joined #ruby
[00:34:07] CrazyEddy: has joined #ruby
[00:36:59] kspencer: has joined #ruby
[00:38:03] Net: has joined #ruby
[00:40:30] Net: has joined #ruby
[00:40:31] Pillus: has joined #ruby
[00:40:33] iamdevnul: has joined #ruby
[00:41:04] justache: has joined #ruby
[00:41:21] kspencer: has joined #ruby
[00:42:39] rafadc: has joined #ruby
[00:43:22] jetpack_joe: has joined #ruby
[00:44:03] d10n-work: has joined #ruby
[00:44:12] hahuang65: has joined #ruby
[00:49:37] hsiktas: has joined #ruby
[00:51:33] CrazyEddy: has joined #ruby
[01:05:48] dsmythe: has joined #ruby
[01:07:16] UnknownSoldier: has joined #ruby
[01:07:26] ramfjord: has joined #ruby
[01:10:24] cagomez: has joined #ruby
[01:13:42] also_uplime: has joined #ruby
[01:17:25] jottr: has joined #ruby
[01:19:31] orbyt_: has joined #ruby
[01:19:42] mangold: has joined #ruby
[01:27:01] Nicmavr: has joined #ruby
[01:34:46] millerti: has joined #ruby
[01:45:49] brool: has joined #ruby
[01:53:10] ramfjord: has joined #ruby
[02:24:19] DmitryBochkarev: has joined #ruby
[02:34:47] pwnd_nsfw`: has joined #ruby
[02:52:45] houhoulis: has joined #ruby
[02:56:22] mangold: has joined #ruby
[02:58:25] rafadc: has joined #ruby
[03:00:00] DmitryBochkarev: has joined #ruby
[03:06:11] gix-: has joined #ruby
[03:11:40] braincrash: has joined #ruby
[03:18:18] jottr: has joined #ruby
[03:24:08] jenrzzz: has joined #ruby
[03:26:22] Swyper: has joined #ruby
[03:55:42] Renich: has joined #ruby
[04:07:53] bambanx: has joined #ruby
[04:08:11] wolfshappen_: has joined #ruby
[04:15:12] jenrzzz: has joined #ruby
[04:29:29] teardown: has joined #ruby
[04:34:06] duderonomy: has joined #ruby
[04:42:23] rippa: has joined #ruby
[04:45:37] yxhuvud: has joined #ruby
[04:48:13] wallace_mu: has joined #ruby
[05:10:51] ramfjord: has joined #ruby
[05:14:21] Lyubo1: has joined #ruby
[05:17:02] DmitryBochkarev: has joined #ruby
[05:19:10] jottr: has joined #ruby
[05:33:45] lomex: has joined #ruby
[05:38:28] Swyper: has joined #ruby
[05:46:35] Ai9zO5AP: has joined #ruby
[05:48:11] quarters: hello. I was wondering how to refactor this to avoid an exception(found being an integer): "if found != nil && found > i"
[05:50:08] Dbugger: has joined #ruby
[05:54:33] quarters: nm. i was also potentially nil, which was the issue
[06:02:37] ruby[bot]: has joined #ruby
[06:02:37] ChanServ: +o ruby[bot]
[06:05:14] duderonomy: has joined #ruby
[06:18:06] dellavg_: has joined #ruby
[06:34:54] claudiuinberlin: has joined #ruby
[06:38:43] Thete: has joined #ruby
[06:43:30] duderonomy: has joined #ruby
[06:50:14] wallace_mu: has joined #ruby
[06:56:03] schleppel: has joined #ruby
[06:56:16] r3m: has joined #ruby
[07:01:22] jenrzzz: has joined #ruby
[07:11:27] priodev: has joined #ruby
[07:15:48] duderonomy: has joined #ruby
[07:19:32] nowhere_man: has joined #ruby
[07:20:04] jottr: has joined #ruby
[07:45:52] ctp: has joined #ruby
[07:47:30] iamdevnul: has joined #ruby
[07:47:30] Iambchop: has joined #ruby
[07:52:00] mcspud: has joined #ruby
[07:59:14] Thete: has left #ruby: ("Quit")
[08:00:29] lucas: has joined #ruby
[08:00:55] thi: has joined #ruby
[08:02:12] Swyper: has joined #ruby
[08:03:56] DarthGandalf: has joined #ruby
[08:03:57] jottr: has joined #ruby
[08:05:55] clemens3: has joined #ruby
[08:14:24] nowhere_man: has joined #ruby
[08:16:36] sphenxes: has joined #ruby
[08:17:21] iNs: has joined #ruby
[08:18:24] phaul: quarters: there is also #nil? which is slightly more idiomatic than == nil
[08:18:48] quarters: phaul, thank you
[08:19:21] lambarena: has joined #ruby
[08:21:48] DmitryBochkarev: has joined #ruby
[08:26:33] jhass: most people would just rely on nil being falsy and all numbers being truthy: found && found > 1
[08:28:30] sauvin: has joined #ruby
[08:32:29] kapil____: has joined #ruby
[08:43:05] priodev: has joined #ruby
[08:49:45] claudiuinberlin: has joined #ruby
[08:50:52] wallace_mu: has joined #ruby
[08:58:10] conta: has joined #ruby
[09:19:40] jottr: has joined #ruby
[09:27:29] ellcs1: has joined #ruby
[09:41:34] Fernando-Basso: has joined #ruby
[09:51:23] conta1: has joined #ruby
[09:53:04] jenrzzz: has joined #ruby
[10:03:26] jottr: has joined #ruby
[10:23:18] RiPuk: has joined #ruby
[10:31:10] ramfjord: has joined #ruby
[10:34:10] dsmythe: has joined #ruby
[10:35:41] DmitryBochkarev: has joined #ruby
[10:43:09] AJA4350: has joined #ruby
[10:43:59] catsed: has joined #ruby
[10:51:41] wallace_mu: has joined #ruby
[10:58:41] flips: has joined #ruby
[11:11:02] mochiyoda: has joined #ruby
[11:12:24] Swyper: has joined #ruby
[11:30:18] mochiyoda: has joined #ruby
[11:48:23] jottr: has joined #ruby
[11:53:21] jenrzzz: has joined #ruby
[12:07:16] Nicmavr: has joined #ruby
[12:17:13] houhoulis: has joined #ruby
[12:20:32] claudiuinberlin: has joined #ruby
[12:20:47] dostoyevsky: > "((1) (2)) <- match until here )" # do ruby's regexpes have something that could keep track of the open vs closed parens count in a regular expression?
[12:21:50] DmitryBochkarev: has joined #ruby
[12:23:01] jhass: regular expressions cannot properly parse arbitrarily nested parenthesized expressions
[12:23:10] jhass: it's a well-known limitation
[12:25:52] dostoyevsky: I thought so too
[12:28:07] dostoyevsky: > "{{ab} {cd}}}".match(/(\(([^)(\]\[}{]+|\g<1>)*+\)|\[\g<2>*+\]|\{\g<2>*+\})/)
[12:28:21] dostoyevsky: but something like this actually matches as I want it...
[12:29:22] noboruma: has joined #ruby
[12:29:30] jhass: the keyword here is "arbitrarily"
[12:30:04] jhass: if you have a known limit it's certainly possible (wise to do... depends)
[12:30:20] jhass: just gets complicated quickly especially if you have more than one parenthesis type
[12:30:50] r3m: has joined #ruby
[12:31:19] phaul: this https://github.com/phaul/mealy could do it :) but many other ways to skin that cat
[12:32:11] jhass: seems complicated for something that can be solved with just iterating char by char and keeping some state like open_expr_count +/-= 1
[12:32:37] phaul: yeah, probably
[12:33:10] wallace_mu: has joined #ruby
[12:38:25] dostoyevsky: but because it's so easy to keep track I always wondered if regexpes couldn't just support it... and it seems they have done so for a while...
[12:52:42] wallace_mu: has joined #ruby
[12:58:09] dostoyevsky: In my case I want to match the parameter after a `\def command {{}}' and (\{([^{}]+|\g<2>)*+\}) just did the job
[12:58:28] dostoyevsky: (matching something out of a latex document)
[12:59:07] dsmythe: has joined #ruby
[13:26:40] SeepingN: has joined #ruby
[13:29:28] dostoyevsky: has joined #ruby
[13:36:55] oholiab: has joined #ruby
[13:38:55] oholiab: Hello, I'm trying to hack a Gemfile.lock because of platform inconsistencies (I don't really care about the thing being "right", I just care about getting it working) and I'm running in to the problem that bundler doesn't like some of the inconsistencies with what the API says package dependencies. Is there any way I can make bundler ignore what the API's saying?
[13:40:41] Zarthus: wouldn't it be easier to rm the bundler.lock and reinitialize from without lockfile?
[13:43:22] Swyper: has joined #ruby
[13:44:56] oholiab: unless I'm understanding it wrong (entirely possible) I'll still end up with the broken dependencies that won't build on my system
[13:45:11] oholiab: I want to do what's in my lock, *not* what's in the API
[13:47:05] oholiab: alternatively if there's a way to ignore the upper bound of a pessimistic dependency that would do the trick too
[13:47:17] Jusstin: has joined #ruby
[13:50:14] oholiab: oh hang on
[13:50:33] oholiab: this looks to be my last dependency problem and it's a code coverage one
[13:50:59] oholiab: seeing as I'm doing some YOLOps here I might just be able to delete that dependency tree entirely
[13:52:14] oholiab: ACTION crosses fingers
[13:53:37] jenrzzz: has joined #ruby
[14:01:52] Blaguvest: has joined #ruby
[14:02:49] oholiab: seemed to do the trick :)
[14:03:48] apparition: has joined #ruby
[14:05:53] Jusstin: has joined #ruby
[14:07:02] phaul: hi jusstin
[14:07:08] Jusstin: Just starting my journey out to learn ruby and was hearing I should come to an irc chat. Haven’t used irc in ages is this still used?
[14:07:49] phaul: we are here, ready to help ;)
[14:08:17] Jusstin: I’ve been doing codecademy and my book I ordered should be in today called “learning ruby the hard way”
[14:08:39] Jusstin: I’ve wanted to code since I was a kid I’m finally getting around to it (5 kids later 😂)
[14:11:36] Jusstin: has joined #ruby
[14:12:19] Jusstin: Out of curiosity, any reason why igloo is forbidden on freenode? (I’m using my iphone)
[14:12:58] claudiuinberlin: has joined #ruby
[14:13:12] galaxie: has joined #ruby
[14:13:20] SeepingN: an iOS client? becaue they don't stay running in the background
[14:13:47] SeepingN: so we end up seeing part/join messages on a regular basis. and users complain that they feel like they missed conversation (because they will)
[14:14:13] phaul: just as jusstin is missing this :)
[14:14:49] Jusstin: has joined #ruby
[14:18:19] pupsikov: has joined #ruby
[14:18:45] SeepingN: point proven I guess
[14:19:54] Jusstin: has joined #ruby
[14:21:16] Jusstin: I guess there’s no way to stay connected. Do you guys also see the log of me joining the channel each time?
[14:21:35] Jusstin: man that’s annoying....
[14:21:42] Jusstin: I’m assuming most people use desktop
[14:22:26] phaul: and you are missing part of the convo https://freenode.irclog.whitequark.org/ruby/2019-04-13
[14:25:15] Jusstin: Haha point taken
[14:25:20] Jusstin: I’ll use desktop instead
[14:25:46] Jusstin: Why can’t they make it run in the background? Doesn’t telegram do that
[14:26:51] Jusstin: Next time I come back I’ll be on desktop, thanks guys
[14:33:51] r3m: has joined #ruby
[14:40:27] Ai9zO5AP: has joined #ruby
[14:47:28] dviola: has joined #ruby
[14:51:47] dostoyevsky: ruby on rails top3 of the most dreaded web frameworks in the stackoverflow survey... ruby is top-7 in the most dreaded languages... :-/
[14:55:26] pupsikov: has joined #ruby
[14:55:31] claudiuinberlin: has joined #ruby
[15:02:04] Cthulu201: has joined #ruby
[15:07:25] nowhere_man: has joined #ruby
[15:10:11] dviola: has joined #ruby
[15:21:26] hightower2: has joined #ruby
[15:41:17] nnielsen: has joined #ruby
[15:56:13] jenrzzz: has joined #ruby
[16:15:01] orbyt_: has joined #ruby
[16:18:08] Swyper: has joined #ruby
[16:31:28] ramfjord: has joined #ruby
[16:38:43] fluxAeon_: has joined #ruby
[16:42:48] VladGh: has joined #ruby
[16:50:36] helpa: has joined #ruby
[16:50:37] shortdudey123: has joined #ruby
[16:54:52] agrecascino: has joined #ruby
[16:59:58] cd: has joined #ruby
[17:01:23] oz: has joined #ruby
[17:06:01] matti: has joined #ruby
[17:06:02] fmccann: has joined #ruby
[17:06:02] rprimus: has joined #ruby
[17:06:06] Vircung: has joined #ruby
[17:06:08] druonysus: has joined #ruby
[17:06:09] matti: has joined #ruby
[17:06:09] TheSpectre: has joined #ruby
[17:06:11] IGnorAND: has joined #ruby
[17:06:16] shenghi: has joined #ruby
[17:06:18] beilabs_: has joined #ruby
[17:06:24] druonysus: has joined #ruby
[17:06:27] levifig: has joined #ruby
[17:06:50] darkphnx480: has joined #ruby
[17:06:58] chihhsin: has joined #ruby
[17:06:59] nirix: has joined #ruby
[17:06:59] nomoney4u: has joined #ruby
[17:07:31] foxxx0: has joined #ruby
[17:07:40] roger_rabbit: has joined #ruby
[17:07:41] Guest34068: has joined #ruby
[17:09:35] tAn: has joined #ruby
[17:10:04] Linuus: has joined #ruby
[17:11:24] agrecascino: has joined #ruby
[17:13:30] conta: has joined #ruby
[17:18:58] claudiuinberlin: has joined #ruby
[17:20:39] jp: has joined #ruby
[17:25:08] jrafanie: has joined #ruby
[17:29:44] spacesuitdiver: has joined #ruby
[17:32:37] mello: has joined #ruby
[17:40:21] lucasb: has joined #ruby
[17:49:45] duderonomy: has joined #ruby
[17:50:02] jrafanie: has joined #ruby
[17:50:12] orbyt_: has joined #ruby
[17:53:54] duderonomy: has joined #ruby
[17:56:45] _joes_: has joined #ruby
[17:58:02] jrafanie: has joined #ruby
[17:58:26] duderonomy: has joined #ruby
[18:14:28] duderono_: has joined #ruby
[18:26:00] DmitryBochkarev: has joined #ruby
[18:26:12] sidx64: has joined #ruby
[18:27:22] jrafanie: has joined #ruby
[18:28:08] jrafanie: has joined #ruby
[18:28:58] jrafanie: has joined #ruby
[18:30:09] Sup3rLurk: has joined #ruby
[18:32:56] SuperL4g: has joined #ruby
[18:37:26] Xeago: has joined #ruby
[18:38:42] zleap: has joined #ruby
[18:38:43] zleap: has joined #ruby
[18:40:45] nowhere_man: has joined #ruby
[18:52:15] nhs: has joined #ruby
[18:55:21] jrafanie: has joined #ruby
[18:57:46] thecliguy: has joined #ruby
[19:00:10] UnknownSoldier: has joined #ruby
[19:02:42] thecliguy: Is 'ruby-full' the most appropriate package on Ubuntu in order to install scripts with gem and execute them? Or is there a smaller package that will satisfy these requirements?
[19:06:02] mello: has joined #ruby
[19:09:24] kyrylo: has joined #ruby
[19:15:51] teardown: has joined #ruby
[19:19:02] havenwood: thecliguy: If you don't need to build C extensions, ri, tk, and dbg - then just the 'ruby' package suffices.
[19:19:20] havenwood: thecliguy: If you need just C exts, 'ruby-dev' or for everything 'ruby-full'
[19:19:46] havenwood: thecliguy: It's not a ton extra to just use `ruby-full` or `ruby-dev`. C exts are pretty common.
[19:21:59] teardown: has joined #ruby
[19:28:21] thecliguy: havenwood: Thank you, that helps a lot, much appreciated.
[19:28:35] DTZUZO: has joined #ruby
[19:29:35] orbyt_: has joined #ruby
[19:31:26] zachk: has joined #ruby
[19:31:51] zachk: has joined #ruby
[19:37:41] DTZUZO: has joined #ruby
[19:39:42] ellcs1: has joined #ruby
[19:39:52] sidx64: has joined #ruby
[19:41:07] graft_: has joined #ruby
[19:41:46] graft_: so [] is just another method, and ruby now has a "save navigation operator" for methods, but i can't do myvar&[key]?
[19:43:33] dsmythe: has joined #ruby
[19:45:39] graft: >> x = { a: :b }; x&.[](:a)
[19:45:40] ruby[bot]: graft: # => :b (https://eval.in/1095208)
[19:46:17] graft: ugly as hell though
[19:54:00] jenrzzz: has joined #ruby
[19:57:56] Swyper: has joined #ruby
[20:01:18] orbyt_: has joined #ruby
[20:08:19] mello: has joined #ruby
[20:19:14] dsiypl4: has joined #ruby
[20:39:01] Swyper: has joined #ruby
[20:41:29] fluxAeon: has joined #ruby
[20:44:13] wallace_mu: has joined #ruby
[21:25:48] Swyper: has joined #ruby
[21:30:20] phaul: has joined #ruby
[21:32:43] Swyper: has joined #ruby
[21:44:39] moei: has joined #ruby
[21:48:09] argoneus: has joined #ruby
[21:50:44] nakuku: has joined #ruby
[21:54:49] phaul: dostoyevsky: on that note, funny, we seem to have come long way from the "programmer's best friend" stanza
[21:56:03] phaul: the world is mad. my 2 cents ..
[21:59:18] SeepingN: has joined #ruby
[22:03:33] maryo: has joined #ruby
[22:46:59] Nicmavr: has joined #ruby
[23:02:07] RiPuk_: has joined #ruby
[23:08:07] lxsameer: has joined #ruby
[23:09:02] dsmythe: has joined #ruby
[23:11:34] dsmythe_: has joined #ruby
[23:17:54] AJA4350: has joined #ruby
[23:18:56] clemens3_: has joined #ruby
[23:21:13] ellcs1: has joined #ruby
[23:26:04] dsmythe: has joined #ruby
[23:26:56] Swyper: has joined #ruby
[23:28:24] fmcgeough: has joined #ruby
[23:49:38] orbyt_: has joined #ruby
[23:49:51] kyrylo: has joined #ruby