« Back to channel list

#ruby - 12 September 2017

« Back 1 day Forward 1 day »
[00:04:11] Map: has joined #ruby
[00:06:41] eightlimbed: has joined #ruby
[00:08:24] pharma_joe: has joined #ruby
[00:09:39] cagomez: has joined #ruby
[00:10:49] cagomez: has joined #ruby
[00:14:33] mson: has joined #ruby
[00:14:33] cschneid: has joined #ruby
[00:21:31] helpa: has joined #ruby
[00:24:31] coderphive: has joined #ruby
[00:26:02] rikai_: has joined #ruby
[00:26:16] cschneid: has joined #ruby
[00:27:21] gloscombe: has joined #ruby
[00:31:56] selim: has joined #ruby
[00:32:00] nekomune: has joined #ruby
[00:35:53] cdg: has joined #ruby
[00:38:14] pharma_joe: has joined #ruby
[00:38:40] nicoulaj: has joined #ruby
[00:42:09] RealMarc: has joined #ruby
[00:44:03] sneakerhax: has joined #ruby
[00:46:31] sneakernet: has joined #ruby
[00:49:00] dviola: has joined #ruby
[00:53:42] bronson: has joined #ruby
[00:54:05] __Yiota: has joined #ruby
[00:54:52] TakumoKatekari: has joined #ruby
[00:54:52] seanh: has joined #ruby
[01:02:15] fishcooker: has joined #ruby
[01:03:49] kn-928: has joined #ruby
[01:05:11] millerti: has joined #ruby
[01:06:47] arescorpio: has joined #ruby
[01:07:26] jottr_: has joined #ruby
[01:11:38] enterprisey: has joined #ruby
[01:15:05] yosafbridge: has joined #ruby
[01:16:06] cagomez: has joined #ruby
[01:17:56] dthams: has joined #ruby
[01:18:27] FahmeF: has joined #ruby
[01:20:40] brent__: has joined #ruby
[01:21:21] QualityAddict: has joined #ruby
[01:23:06] gizmore: has joined #ruby
[01:24:20] cschneid: has joined #ruby
[01:24:32] weaksauce: has joined #ruby
[01:32:12] mim1k: has joined #ruby
[01:34:11] raynold: has joined #ruby
[01:37:05] cagomez: has joined #ruby
[01:39:52] pharma_joe: has joined #ruby
[01:40:25] cdg: has joined #ruby
[01:42:15] gusrub: has joined #ruby
[01:42:51] Azure: has joined #ruby
[01:43:44] romulus10: has joined #ruby
[01:45:35] __Yiota: has joined #ruby
[01:45:38] mtkd: has joined #ruby
[01:47:02] benlieb: has joined #ruby
[01:49:46] gusrub_: has joined #ruby
[01:50:59] cconstantine: has joined #ruby
[01:52:10] Jameser: has joined #ruby
[01:53:27] d^sh: has joined #ruby
[01:56:59] ahrs: has joined #ruby
[01:57:00] meinside: has joined #ruby
[01:57:43] cagomez: has joined #ruby
[02:04:47] uZiel: has joined #ruby
[02:10:45] kapowaz: has joined #ruby
[02:12:12] foamz: has joined #ruby
[02:13:37] elsevero: has joined #ruby
[02:23:40] pharma_joe: has joined #ruby
[02:25:36] bairyn: has joined #ruby
[02:27:12] iamyask: has joined #ruby
[02:29:02] enterprisey: has joined #ruby
[02:29:21] Orbixx[m]: has joined #ruby
[02:31:24] lexruee: has joined #ruby
[02:32:31] Orbixx[m]: I'm trying to set up a automated testing workflow for a Ruby project and want to use a docker image to do so. I also want to avoid having the docker image redownload gems on each execution, so would ideally like to install them into the docker image using the project's Gemfile.lock.
[02:32:35] Orbixx[m]: If the project's Gemfile/Gemfile.lock contents change and one or more gems need installing and/or updating, can I simply run bundle install to update the existing gems and install new gems on a system that already has the previous project version's gems installed?
[02:34:29] larissa: has joined #ruby
[02:34:59] cdg: has joined #ruby
[02:37:49] justizin: has joined #ruby
[02:40:48] Ropeney: has joined #ruby
[02:41:02] djuber: has joined #ruby
[02:41:50] enterprisey: has joined #ruby
[02:44:07] mtkd: has joined #ruby
[02:47:34] ozcanesen: has joined #ruby
[02:53:30] _aeris_: has joined #ruby
[02:55:05] bronson: has joined #ruby
[02:57:01] harai_: has joined #ruby
[03:00:09] cadillac_: has joined #ruby
[03:01:45] djuber: has left #ruby: ("ERC (IRC client for Emacs 26.0.50)")
[03:04:57] orbyt_: has joined #ruby
[03:07:36] pharma_joe: has joined #ruby
[03:20:25] pharma_joe: has joined #ruby
[03:21:22] d5sx43: has joined #ruby
[03:22:53] cschneid: has joined #ruby
[03:30:36] harai_: has joined #ruby
[03:32:44] mim1k: has joined #ruby
[03:33:14] elcontrastador: has joined #ruby
[03:34:44] gix: has joined #ruby
[03:44:57] govg: has joined #ruby
[03:46:05] jenrzzz: has joined #ruby
[03:46:05] jenrzzz: has joined #ruby
[03:51:47] craysiii: Hello everyone, I am having troubles with HTTParty. I am able to gain an access_token from the Twitch API via HTTParty, and I am able to authenticate that access_token via curl, but not via my method which appears to me to be the same request. Maybe there is something I am missing?
[03:51:48] craysiii: https://gist.github.com/craysiii/696a945822aa6ff23074f6e275e8f618
[03:52:39] Sembei: has joined #ruby
[03:55:03] ur5us: has joined #ruby
[04:00:03] ur5us: has joined #ruby
[04:02:12] armando: has joined #ruby
[04:04:55] ShekharReddy: has joined #ruby
[04:05:14] sarbs: has joined #ruby
[04:05:14] bronson: has joined #ruby
[04:15:03] pwnd_nsfw`: has joined #ruby
[04:16:34] taurgal: has joined #ruby
[04:16:59] kies: has joined #ruby
[04:18:29] eightlimbed: has joined #ruby
[04:22:09] esObe: has joined #ruby
[04:23:55] elbuki: has joined #ruby
[04:24:37] mkali: has joined #ruby
[04:24:44] shortdudey123: has joined #ruby
[04:24:55] uZiel: has joined #ruby
[04:31:32] mim1k: has joined #ruby
[04:43:40] okdas: has joined #ruby
[04:43:40] okdas: has joined #ruby
[04:48:40] ur5us: has joined #ruby
[04:57:17] chouhoulis: has joined #ruby
[04:59:32] harai_: has joined #ruby
[05:02:09] mkali: has joined #ruby
[05:06:53] nadir: has joined #ruby
[05:11:31] cagomez: has joined #ruby
[05:17:28] harfangk: has joined #ruby
[05:19:12] abrcdbr_: has joined #ruby
[05:20:54] olspookishmagus: has joined #ruby
[05:22:21] nacsurte: has joined #ruby
[05:23:59] cschneid: has joined #ruby
[05:24:58] Bock: has joined #ruby
[05:29:52] nicesignal: has joined #ruby
[05:30:29] funkycrunchy: has joined #ruby
[05:31:51] funkycrunchy: What does "FATAL: prematurely zombied" mean?
[05:32:09] funkycrunchy: googled it, nothing really
[05:33:21] lxsameer: has joined #ruby
[05:34:00] MarkBilk: has joined #ruby
[05:34:21] biberu: has joined #ruby
[05:34:26] Ishido: has joined #ruby
[05:38:13] abhi__: has joined #ruby
[05:40:29] brent__: has joined #ruby
[05:41:21] ascarter: has joined #ruby
[05:41:41] qwedfg: has joined #ruby
[05:42:30] anisha: has joined #ruby
[05:42:56] Caius: has joined #ruby
[05:42:57] Caius: has joined #ruby
[05:46:07] Tempesta: has joined #ruby
[05:46:48] cschneid: has joined #ruby
[05:49:23] djbkd: has joined #ruby
[05:55:04] ascarter: has joined #ruby
[06:01:09] vondruch: has joined #ruby
[06:01:41] dionysus69: has joined #ruby
[06:03:58] cschneid: has joined #ruby
[06:05:10] cschneid_: has joined #ruby
[06:06:12] cschneid_: has joined #ruby
[06:07:32] cschneid_: has joined #ruby
[06:09:50] havenwood: tamouse__: hi
[06:11:40] tamouse__: i've been asked about putting together a ruby study group
[06:12:25] havenwood: funkycrunchy: https://github.com/steakknife/rb-fsevent/blob/master/ext/fsevent_watch/signal_handlers.c#L57
[06:13:02] havenwood: tamouse__: in a particular area or remote?
[06:13:27] tamouse__: local to me, minneapolis
[06:15:04] tamouse__: just trying to think of useful resources
[06:15:15] havenwood: tamouse__: we do a weekly Ruby group here in LA
[06:15:23] havenwood: tamouse__: http://rubyinhollywood.com/
[06:15:31] havenwood: https://www.meetup.com/rubyinhollywood/
[06:16:37] tamouse__: neat! i'm doing a general drop-in thing weekly now, but it's not focused on any particular tech (most folks are attending from bootcamps and are learning JS)
[06:16:46] havenwood: tamouse__: Exercism is a nice resource for feedback outside the group.
[06:17:01] havenwood: It's multi-lang.
[06:17:07] havenwood: http://exercism.io/
[06:17:28] tamouse__: yeah, i'm familiar
[06:17:52] havenwood: tamouse__: We've had good luck rotating the subject matter.
[06:18:01] nacsurte: has joined #ruby
[06:18:15] tamouse__: i think what i'm looking for is the sort of stuff i can use to help me put together a plan of sorts; this thing is supposed to run for 8 sessions, then be over
[06:18:35] havenwood: tamouse__: First wed of the month we have a night for new folk, to get Ruby and other tools installed, etc.
[06:18:51] tamouse__: yup, i'm reading you schedule
[06:19:14] havenwood: The party night is by far the most popular. ;-)
[06:19:17] tamouse__: i've been also running a monthly rails meetup, which i'm a bit tired from
[06:19:22] tamouse__: hehe, i bet
[06:20:37] havenwood: tamouse__: 8 sessions for folk new to Ruby?
[06:20:46] tamouse__: yes, but not new to coding
[06:21:49] tamouse__: the tuesday night group is great and it's really been building a community for women in tech
[06:23:06] tamouse__: another group is asking me about the thing with ruby
[06:23:49] tamouse__: i think i want to really focus on practical coding practice, not lectures or slides and crap like that
[06:24:37] tamouse__: exercism is great for that, i've also got a few people going through brian hogan's book
[06:26:03] funkycrunchy: havenwood: Thank you for saving me from prematurely zombie
[06:26:10] cschneid: has joined #ruby
[06:26:52] ferr: has joined #ruby
[06:27:39] ahrs: has joined #ruby
[06:28:09] Mortomes|Work: has joined #ruby
[06:29:31] tamouse__: but still , people do need some theory to hang the practical off of
[06:32:25] enterprisey: has joined #ruby
[06:32:42] pandaant: has joined #ruby
[06:42:45] conta: has joined #ruby
[06:42:46] cschneid: has joined #ruby
[06:43:16] phaul: has joined #ruby
[06:43:50] cschneid_: has joined #ruby
[06:44:09] frozengeek: has joined #ruby
[06:44:54] [dmp]: has joined #ruby
[06:53:52] cadillac_: has joined #ruby
[06:54:43] tvw: has joined #ruby
[06:57:07] tAn: has joined #ruby
[06:58:03] tamouse__: havenwood: here's one of the challenges: most of them are probably coming from the world of JS, where objects are so vastly different from the ruby world; bridging that, well, idk
[06:58:07] tamouse__: scares me a little
[06:58:15] tamouse__: teaching-wise, anyway
[06:58:26] HTTP_____GK1wmSU: has joined #ruby
[07:00:43] cschneid: has joined #ruby
[07:00:47] HTTP_____GK1wmSU: has left #ruby: ()
[07:01:11] tamouse__: i have to say i really do like your format, havenwood
[07:05:05] guille-moe: has joined #ruby
[07:06:27] baweaver: A wild tamouse__ appeated
[07:06:33] baweaver: baweaver used pun!
[07:09:06] baweaver: >> require 'ipaddr'; IPAddr.new('10.0.0.0/8') === '10.0.0.1' # baweaver used Ruby trickshot!
[07:09:07] ruby[bot]: baweaver: # => true (https://eval.in/859811)
[07:09:39] tamouse__: hi, lemur :)
[07:10:13] baweaver: How's pontiki?
[07:10:23] tamouse__: doing ok; busy AF
[07:10:32] baweaver: good busy AF or bad?
[07:11:02] cschneid: has joined #ruby
[07:11:10] tamouse__: good. very good. the new job i started at the end of march as "API-driven Rubyist" has morphed into "API-driven Ruby and Reactist"
[07:11:35] baweaver: Nifty. I too started a new job recently :D
[07:12:07] TomyWork: has joined #ruby
[07:12:07] nacsurte: has joined #ruby
[07:12:11] tamouse__: i've been given the task of dragging our 12 year old nasty rails app forward into the age of graphql apis serving modern front end
[07:12:43] baweaver: hooooo. You should ask mwlang what his experience was with some of that
[07:13:06] baweaver: He spent a good deal of time doing to same with older apps and may have some good stuff stashed.
[07:13:19] tamouse__: i'm going to be out in SF for the graphql conference end of oct
[07:13:20] baweaver: Though you've likely done the same, seems to be a fairly common task for vets
[07:13:55] baweaver: Ah, what days?
[07:14:05] baweaver: I may be in LA for a different type of con
[07:14:32] tamouse__: actually, i'll be there a while, arrive the 20th, depart the 31st. but i'm also spending time with my kids
[07:15:00] HTTP_____GK1wmSU: has joined #ruby
[07:15:06] baweaver: Well if you want to grab coffee let me know.
[07:15:07] tamouse__: the conf is tue-wed-thu
[07:15:26] baweaver: Twitter is easy to get my attention on
[07:15:41] tamouse__: awesome :) mine, too, usually
[07:17:17] HTTP_____GK1wmSU: has left #ruby: ()
[07:17:50] tamouse__: i really need to get to bed
[07:18:17] tamouse__: thanks, havenwood
[07:21:14] claudiuinberlin: has joined #ruby
[07:22:59] mark_66: has joined #ruby
[07:24:04] mkali: has joined #ruby
[07:26:16] doublemalt__: has joined #ruby
[07:27:23] cagomez: has joined #ruby
[07:30:56] uZiel: has joined #ruby
[07:31:50] r7c: has joined #ruby
[07:33:36] alex``: has joined #ruby
[07:34:59] frozengeek: has joined #ruby
[07:35:15] Dark_Arc: has joined #ruby
[07:38:15] frozengeek_: has joined #ruby
[07:43:35] ur5us: has joined #ruby
[07:50:18] burgestrand: has joined #ruby
[07:50:27] naprimer2: has joined #ruby
[07:51:11] A124: has joined #ruby
[07:51:50] bladdezz: has joined #ruby
[07:51:56] jenrzzz: has joined #ruby
[07:51:56] jenrzzz: has joined #ruby
[07:54:10] mtkd: has joined #ruby
[07:54:51] benlieb: has joined #ruby
[07:57:47] anas: has joined #ruby
[07:58:24] claudiuinberlin: has joined #ruby
[08:00:02] burgestrand: has joined #ruby
[08:00:27] ahrs: has joined #ruby
[08:03:00] uZiel: has joined #ruby
[08:04:29] mikecmpbll: has joined #ruby
[08:06:11] nacsurte: has joined #ruby
[08:06:23] cosmicz: has joined #ruby
[08:13:23] cschneid: has joined #ruby
[08:13:43] claudiuinberlin: has joined #ruby
[08:14:16] cagomez: has joined #ruby
[08:15:34] kbengala: has left #ruby: ()
[08:16:31] Mia: has joined #ruby
[08:17:09] marr: has joined #ruby
[08:19:41] FahmeF: has joined #ruby
[08:19:53] mim1k: has joined #ruby
[08:21:28] KeyJoo: has joined #ruby
[08:21:37] quobo: has joined #ruby
[08:29:04] gr33n7007h: has joined #ruby
[08:35:16] andikr: has joined #ruby
[08:40:14] hahuang65: has joined #ruby
[08:40:39] wnd: has joined #ruby
[08:43:18] alex``: has joined #ruby
[08:45:53] djbkd: has joined #ruby
[08:48:17] Cohedrin_: has joined #ruby
[08:50:42] cdg: has joined #ruby
[08:51:33] nadir: has joined #ruby
[08:55:06] rabajaj: has joined #ruby
[08:56:07] cdg: has joined #ruby
[08:56:48] conall: has joined #ruby
[08:58:09] conall: When generating documentation with rdoc, lets say I have a directory with 3 modules in it and each has a README. I want to generate documentation from these READMEs so that under the "pages" tab, it will show the full path to all of these READMEs. Is this possible?
[08:58:15] AlHafoudh: has joined #ruby
[09:00:10] djbkd: has joined #ruby
[09:00:17] nacsurte: has joined #ruby
[09:01:18] jinie: has joined #ruby
[09:03:54] anas: has joined #ruby
[09:05:02] claudiuinberlin: has joined #ruby
[09:05:46] rabajaj: has joined #ruby
[09:07:45] catbusters: has joined #ruby
[09:12:05] Orbixx[m]: Has anybody experienced their rspec test failing to exit/return after completion?
[09:15:18] BSaboia: has joined #ruby
[09:19:28] mim1k_: has joined #ruby
[09:20:40] ledestin: has joined #ruby
[09:20:42] Olipro: has joined #ruby
[09:24:54] dlitvak: has joined #ruby
[09:25:25] mtkd: has joined #ruby
[09:28:08] cschneid: has joined #ruby
[09:30:03] Serpent7776: has joined #ruby
[09:33:00] t-recx: has joined #ruby
[09:38:07] millerti: has joined #ruby
[09:39:48] tvw: has joined #ruby
[09:39:56] HTTP_____GK1wmSU: has joined #ruby
[09:42:11] HTTP_____GK1wmSU: has left #ruby: ()
[09:45:10] Silthias: has joined #ruby
[09:45:38] claudiuinberlin: has joined #ruby
[09:46:03] charliesome: has joined #ruby
[09:50:44] uZiel: has joined #ruby
[09:54:22] nacsurte: has joined #ruby
[10:02:39] HTTP_____GK1wmSU: has joined #ruby
[10:10:18] charliesome: has joined #ruby
[10:18:14] cagomez: has joined #ruby
[10:20:01] KeyJoo: has joined #ruby
[10:20:51] FahmeF: has joined #ruby
[10:26:12] ShalokShalom_: has joined #ruby
[10:28:23] fivmo: has joined #ruby
[10:28:27] MyMind: has joined #ruby
[10:31:08] cschneid: has joined #ruby
[10:34:09] cagomez: has joined #ruby
[10:37:35] bruno-: has joined #ruby
[10:37:48] jottr_: has joined #ruby
[10:39:54] charliesome: has joined #ruby
[10:39:58] FahmeF: has joined #ruby
[10:42:56] charliesome_: has joined #ruby
[10:44:40] hinbody: has joined #ruby
[10:48:28] nacsurte: has joined #ruby
[10:52:02] lexruee: has joined #ruby
[10:52:07] KevinSjoberg: has joined #ruby
[10:55:16] lxsameer: has joined #ruby
[10:59:38] KevinSjoberg: has joined #ruby
[11:02:04] FahmeF: has joined #ruby
[11:03:00] apparition: has joined #ruby
[11:10:18] guille-moe: has joined #ruby
[11:19:58] wnd: has joined #ruby
[11:24:12] dviola: has joined #ruby
[11:28:27] jaruga: has joined #ruby
[11:39:17] mim1k: has joined #ruby
[11:40:17] ethicalhacker: has joined #ruby
[11:40:29] ethicalhacker: good afternoon
[11:41:50] ule: ethicalhacker: good morning
[11:42:31] nacsurte: has joined #ruby
[11:43:40] nowhere_man: has joined #ruby
[11:45:26] tcopeland: has joined #ruby
[11:48:46] ldnunes: has joined #ruby
[11:51:42] S007: has joined #ruby
[12:01:33] FahmeF: has joined #ruby
[12:04:00] lxsameer: has joined #ruby
[12:06:40] __Yiota: has joined #ruby
[12:08:24] Silthias1: has joined #ruby
[12:13:03] ShekharReddy: has joined #ruby
[12:17:40] FahmeF_: has joined #ruby
[12:21:36] claudiuinberlin: has joined #ruby
[12:23:16] randy2009: has joined #ruby
[12:23:38] claudiuinberlin: has joined #ruby
[12:23:48] randy2009: Hi, i have a question, what does this statement?: if @resource[:source] == false
[12:24:45] tobiasvl: randy2009: it checks whether @resource[:source] is false or not?
[12:24:50] tobiasvl: what are you wondering about specifically
[12:25:23] randy2009: array << "-Source #{resource[:source]}" if @resource[:source] == true
[12:25:37] randy2009: using puppet, creating an command to execute
[12:25:49] randy2009: command is the array
[12:25:50] tobiasvl: what's your question?
[12:26:24] randy2009: but i can't get the source 'used'. let me search the git modle
[12:26:24] nadir: has joined #ruby
[12:27:00] KevinSjoberg: has joined #ruby
[12:27:19] randy2009: https://github.com/voxpupuli/puppet-windowsfeature/blob/master/lib/puppet/provider/windowsfeature/default.rb
[12:28:17] Jameser: has joined #ruby
[12:29:39] bmurt: has joined #ruby
[12:29:48] randy2009: it's fixed already
[12:30:03] randy2009: https://github.com/voxpupuli/puppet-windowsfeature/commit/2841db2806de1189a443bfebff3d17bf7d485c87#diff-66e6e238a59acf587544c45bc15e3080
[12:35:44] sepp2k: has joined #ruby
[12:36:37] nacsurte: has joined #ruby
[12:37:14] mtkd: has joined #ruby
[12:45:23] burgestrand: has joined #ruby
[12:50:04] ldnunes: has joined #ruby
[12:52:07] govg: has joined #ruby
[12:57:37] KevinSjoberg: has joined #ruby
[13:01:33] FahmeF: has joined #ruby
[13:01:39] mtkd: has joined #ruby
[13:02:06] ethicalhacker: has left #ruby: ("Leaving")
[13:02:34] govg: has joined #ruby
[13:03:18] claudiuinberlin: has joined #ruby
[13:06:24] bmurt: has joined #ruby
[13:08:10] randy2009: has joined #ruby
[13:12:01] dviola: has joined #ruby
[13:14:39] vondruch: has joined #ruby
[13:17:53] GodFather: has joined #ruby
[13:20:52] cdg: has joined #ruby
[13:28:52] nacsurte: has joined #ruby
[13:36:01] lxnr: has joined #ruby
[13:37:12] Silthias: has joined #ruby
[13:40:39] DLSteve: has joined #ruby
[13:44:32] ryandevilla: has joined #ruby
[13:47:01] Jameser`: has joined #ruby
[13:47:05] chouhoulis: has joined #ruby
[13:49:47] bvcosta: has joined #ruby
[13:51:21] Xeago: has joined #ruby
[13:51:59] elbuki: has joined #ruby
[13:52:56] chouhoul_: has joined #ruby
[13:55:37] jordanm: has joined #ruby
[13:56:34] chouhoul_: has joined #ruby
[14:01:02] Jameser: has joined #ruby
[14:02:11] claudiuinberlin: has joined #ruby
[14:05:40] __Yiota: has joined #ruby
[14:10:14] DaveTaboola: has joined #ruby
[14:12:29] Rapture: has joined #ruby
[14:12:34] bmurt: has joined #ruby
[14:13:39] ldnunes: has joined #ruby
[14:15:09] Stan: has joined #ruby
[14:20:35] abrcdbr: has joined #ruby
[14:21:33] Puffball: has joined #ruby
[14:22:37] claudiuinberlin: has joined #ruby
[14:22:55] chouhoul_: has joined #ruby
[14:24:32] oleo: has joined #ruby
[14:25:31] lxsameer: has joined #ruby
[14:26:08] jamiejackson: has joined #ruby
[14:28:36] belmoussaoui: has joined #ruby
[14:30:04] aufi: has joined #ruby
[14:31:54] bruno-: has joined #ruby
[14:35:04] mikecmpb_: has joined #ruby
[14:37:01] brw: has joined #ruby
[14:38:04] ryandevilla: has joined #ruby
[14:39:59] ledestin: has joined #ruby
[14:43:31] xt234: has joined #ruby
[14:45:25] Jameser: has joined #ruby
[14:47:58] uZiel: has joined #ruby
[14:50:36] rippa: has joined #ruby
[14:50:49] eblip: has joined #ruby
[14:53:52] cschneid: has joined #ruby
[14:54:36] MrBusiness3: has joined #ruby
[15:04:02] __Yiota: has joined #ruby
[15:04:02] selim: has joined #ruby
[15:04:09] Jameser: has joined #ruby
[15:05:14] millerti: has joined #ruby
[15:07:35] someuser: has joined #ruby
[15:08:17] mson: has joined #ruby
[15:08:32] bmurt: has joined #ruby
[15:08:48] conta: has joined #ruby
[15:08:55] Jameser: has joined #ruby
[15:09:59] polishdub: has joined #ruby
[15:12:35] gheegh: has joined #ruby
[15:12:40] def_jam: has joined #ruby
[15:14:28] mikecmpbll: has joined #ruby
[15:15:50] claudiuinberlin: has joined #ruby
[15:17:37] cdg: has joined #ruby
[15:19:36] nopolitica: has joined #ruby
[15:21:58] __Yiota: has joined #ruby
[15:25:38] DaveTaboola: has joined #ruby
[15:25:45] qwedfg: has joined #ruby
[15:26:25] howdoi: has joined #ruby
[15:27:24] nekomune: has joined #ruby
[15:30:51] cagomez: has joined #ruby
[15:31:09] cagomez: has joined #ruby
[15:37:07] xt234: has left #ruby: ("Leaving")
[15:37:14] xt234: has joined #ruby
[15:37:19] xt234: has left #ruby: ("Leaving")
[15:38:23] __Yiota: has joined #ruby
[15:39:30] vdl: has joined #ruby
[15:39:40] preyalone: has joined #ruby
[15:40:05] cosmicz: has joined #ruby
[15:40:11] troys: has joined #ruby
[15:43:03] brent__: has joined #ruby
[15:44:17] jackjackdripper: has joined #ruby
[15:47:03] claudiuinberlin: has joined #ruby
[15:47:10] brw: has joined #ruby
[15:48:25] Pisuke: has joined #ruby
[15:50:21] [Butch]: has joined #ruby
[15:51:05] thuryn: has joined #ruby
[15:51:41] GodFather: has joined #ruby
[15:53:36] nacsurte: has joined #ruby
[15:56:26] reber: has joined #ruby
[15:57:49] TomyLobo: has joined #ruby
[15:58:13] __Yiota: has joined #ruby
[16:02:48] balazs_: has joined #ruby
[16:06:21] gusrub: has joined #ruby
[16:11:07] craysiii: Sorry to post again everyone, I am having troubles with HTTParty. I am able to gain an access_token from the Twitch API via HTTParty, and I am able to authenticate that access_token via curl, but not via my method which appears to me to be the same request. Maybe there is something I am missing?
[16:12:00] craysiii: https://gist.github.com/craysiii/696a945822aa6ff23074f6e275e8f618
[16:16:21] KevinSjoberg: has joined #ruby
[16:17:53] orbyt_: has joined #ruby
[16:19:01] ahrs: has joined #ruby
[16:19:35] havenwood: craysiii: How does it not work? Error code/
[16:19:57] craysiii: Oh sorry, one second
[16:20:31] mostlybadfly: has joined #ruby
[16:21:35] havenwood: craysiii: Here's a handy curl-to-ruby generated conversion of your curl command to Net::HTTP: https://gist.github.com/havenwood/eac4b183d33a2d489b5578ac685cbe9f
[16:23:13] craysiii: havenwood I've added a comment to the gist to show the responses I get
[16:23:27] craysiii: both using the same client_id and access_token
[16:23:52] craysiii: also I will check out that snippit when I get out of the shower, thanks
[16:25:03] havenwood: craysiii: I get the same response for both curl and net-http, but I don't have a valid auth.
[16:30:33] craysiii: would you mind if i PMed you my auth values?
[16:30:41] twillkens: has joined #ruby
[16:30:50] Salmonidae: don't pm anyone your auth values
[16:31:33] craysiii: i agree with you in practice
[16:32:03] Salmonidae: i don't know the context here. at all. but if they are in any way important, don't bother.
[16:34:47] cagomez: has joined #ruby
[16:35:10] craysiii: I will revisit this after work, thanks for the snip
[16:36:00] millerti: has joined #ruby
[16:36:01] Salmonidae: try to provide gists that show the call paths you're making. it will help. or raise an exception when you get an invalid response, and show the backtrace.
[16:36:13] Salmonidae: it makes identifying the issue easier without you having to provide any credentials
[16:37:39] craysiii: I'll keep that in mind thanks!
[16:37:43] _sfiguser: has joined #ruby
[16:38:24] imode: has joined #ruby
[16:38:31] FrostCandy: has joined #ruby
[16:39:09] BTRE: has joined #ruby
[16:41:50] baroquebobcat: has joined #ruby
[16:43:47] bruno-_: has joined #ruby
[16:45:53] __Yiota: has joined #ruby
[16:50:50] eckhardt: has joined #ruby
[16:51:40] LyndsySimon: has left #ruby: ()
[16:53:33] Mon_Ouie: has joined #ruby
[16:54:17] cagomez: has joined #ruby
[16:54:39] ryandevilla: has joined #ruby
[16:57:25] zachk: has joined #ruby
[16:58:04] quobo: has joined #ruby
[17:01:28] __Yiota: has joined #ruby
[17:02:26] abrcdbr_: has joined #ruby
[17:07:22] hahuang65: has joined #ruby
[17:08:58] lexruee: has joined #ruby
[17:10:19] SeepingN: has joined #ruby
[17:10:38] ryandevilla: has joined #ruby
[17:10:58] _aeris_: has joined #ruby
[17:11:25] jenrzzz: has joined #ruby
[17:11:26] jenrzzz: has joined #ruby
[17:12:53] aihwh: has joined #ruby
[17:13:11] aihwh: how do i keep track of number of retries in a while?
[17:13:54] aihwh: or a loop
[17:14:07] twillkens: has joined #ruby
[17:14:53] dminuoso: aihwh, does your version of Ruby come with variable support?
[17:15:28] Zoffix: has joined #ruby
[17:15:46] imajes: has joined #ruby
[17:18:19] aihwh: dminuoso: yes, i figured it was a dumb q
[17:18:21] aihwh: thank you!
[17:20:11] Zoffix: \o Any idea what might be causing error about "gems/bundler" (full output here: https://gist.github.com/zoffixznet/11be36951d327c8646917557cb5b9aca ). I don't use Ruby in this project, but apparently it contains some files that trigger some ruby process when I try to use git on windows and git push fails with that error. Any hits what to look for?
[17:20:57] elomatreb: As the output suggests it's on the remote, maybe there is some broken receive hook on the server?
[17:21:04] matthewd: Zoffix: It's a problem on <redacted> (the server)
[17:21:24] Zoffix: Ah. Thanks. I'll investigate the server.
[17:22:06] shime: has joined #ruby
[17:22:49] harai_: has joined #ruby
[17:23:54] shime: has joined #ruby
[17:25:51] belmoussaoui: has joined #ruby
[17:26:30] raynold: has joined #ruby
[17:29:44] claudiuinberlin: has joined #ruby
[17:30:52] mikecmpbll: has joined #ruby
[17:30:56] baroquebobcat: has joined #ruby
[17:33:11] alex``: has joined #ruby
[17:37:52] dionysus69: has joined #ruby
[17:40:18] Zoffix: Turned out to be a GitLab issue documented here https://github.com/gitlabhq/gitlabhq/issues/7230 . Fixed it by changing the shebang in ~/gitlab-shell/hooks/update to from /usr/bin/env ruby to /usr/local/bin/ruby. I guess there's another version of ruby kicking around on that box that it was using instead of the right one. Oh well. Works For Now™ :)
[17:40:22] Zoffix: Thanks everyone \o
[17:40:25] Zoffix: has left #ruby: ("WeeChat 1.0.1")
[17:40:33] twillkens: has joined #ruby
[17:42:47] ltem: has joined #ruby
[17:45:39] cdg: has joined #ruby
[17:48:59] MarkBilk_: has joined #ruby
[17:49:21] lxnr: has joined #ruby
[17:51:06] twillkens: has joined #ruby
[17:53:33] __Yiota: has joined #ruby
[17:54:01] orbyt_: has joined #ruby
[17:59:32] nchambers: has joined #ruby
[17:59:40] twillkens: has joined #ruby
[18:01:20] bggbesb: has joined #ruby
[18:02:36] cosmicz: has joined #ruby
[18:04:09] gusrub: has joined #ruby
[18:05:25] aihwh: has joined #ruby
[18:05:28] __Yiota: has joined #ruby
[18:06:13] baroquebobcat: has joined #ruby
[18:06:49] r3QuiEm_cL: has joined #ruby
[18:08:47] justinweiss: has joined #ruby
[18:10:56] maryo: has joined #ruby
[18:11:29] cdg: has joined #ruby
[18:11:54] tAn: has joined #ruby
[18:13:23] qwedfg: has joined #ruby
[18:14:05] Dimik: has joined #ruby
[18:15:03] dviola: has joined #ruby
[18:16:36] charliesome: has joined #ruby
[18:16:39] cdg_: has joined #ruby
[18:17:33] bvcosta: has joined #ruby
[18:20:57] bvcosta: has joined #ruby
[18:24:48] frozengeek: has joined #ruby
[18:24:52] gusrub: has joined #ruby
[18:25:46] AgentVenom: has joined #ruby
[18:26:06] Cohedrin_: has joined #ruby
[18:26:15] unshadow: has joined #ruby
[18:26:42] balazs_: has joined #ruby
[18:27:08] lxsameer: has joined #ruby
[18:27:37] lxnr: has joined #ruby
[18:30:42] enterprisey: has joined #ruby
[18:31:20] gr33n7007h: has joined #ruby
[18:31:43] bmurt: has joined #ruby
[18:32:24] KeyJoo: has joined #ruby
[18:34:44] my123: has joined #ruby
[18:34:44] my123: has joined #ruby
[18:36:52] cosmicz: has joined #ruby
[18:37:32] ur5us: has joined #ruby
[18:37:54] jackjackdripper: has joined #ruby
[18:38:20] jackjackdripper: has joined #ruby
[18:40:34] kapil___: has joined #ruby
[18:47:48] bmurt: has joined #ruby
[18:55:33] gusrub: has joined #ruby
[18:56:09] cadillac_: has joined #ruby
[18:56:22] _sfiguser: has joined #ruby
[18:57:52] Gabemo: has joined #ruby
[19:00:33] frozengeek: has joined #ruby
[19:00:52] theRoUS: how can i tell on linux whether a particular PID is alive or not? (exist or not)
[19:01:20] shime: theRoUS: ps ax | grep <pid>
[19:01:29] theRoUS: i mean from within ruby
[19:02:53] Papierkorb: theRoUS: `def alive?(pid); Dir.exist?("/proc/#{pid}"); end`
[19:04:03] claudiuinberlin: has joined #ruby
[19:06:36] theRoUS: Papierkorb: ew. :-)
[19:06:48] Papierkorb: Mh? What's wrong with it?
[19:07:04] Papierkorb: That's how the linux kernel exposes any process data
[19:07:29] theRoUS: i'm gonna try begin ; Process.getsid(pid) ; rescue Errno::ESRCH ...
[19:07:57] ryandevilla: has joined #ruby
[19:08:15] Sembei: has joined #ruby
[19:08:24] apeiros: waitpid without wating
[19:08:28] claudiuinberlin: has joined #ruby
[19:08:29] apeiros: see Process
[19:08:41] jackjackdripper: has joined #ruby
[19:09:00] montyboy: has joined #ruby
[19:09:21] funkytwig: has joined #ruby
[19:11:10] theRoUS: apeiros: not seeing the 'without waiting' aspect
[19:11:36] twillkens: has joined #ruby
[19:11:42] apeiros: wait2 with Process::WNOHANG as 2nd arg
[19:11:47] bmurt: has joined #ruby
[19:12:00] apeiros: that's what I used
[19:12:20] apeiros: don't remember why I used wait2 over other available methods, so feel free to investigate which wait methods support WNOHANG
[19:13:17] theRoUS: hmm, i'll have to investigate this in more detail..
[19:13:33] MrBusiness: has joined #ruby
[19:15:00] theRoUS: apeiros: i'm basically having to spawn() an ssh command to set up a tunnel to a remote non-ssh port -- and if the server isn't listening, i can't figure out how to tell
[19:15:49] conta: has joined #ruby
[19:16:21] theRoUS: apeiros: of course, if i'm not going to feed multiple commands, i coul probably use open3 instead
[19:18:26] gusrub: has joined #ruby
[19:18:58] eam: 19:00 < theRoUS> how can i tell on linux whether a particular PID is alive or not? (exist or not)
[19:19:09] eam: theRoUS: the canonical way to do this is to send it a signal
[19:20:47] eam: Process.kill 0, pid
[19:21:26] eam: this will not actually interrupt the process with a signal, but you will be able to tell if the process is signalable or not
[19:21:58] havenwood: if it raises an Errno::EPERM, it's there you just don't have permission to signal it
[19:22:47] eam: bonus: this is a cross platform mechanism good for any posix system
[19:24:20] theRoUS: good enough, thanks!
[19:24:41] orbyt_: has joined #ruby
[19:25:07] phinxy: has joined #ruby
[19:26:05] havenwood: eam: is 0 the best signal to send?
[19:26:07] phinxy: has left #ruby: ()
[19:26:31] havenwood: how about 29?
[19:26:35] havenwood: >> Signal.signame 29
[19:26:37] ruby[bot]: havenwood: # => "IO" (https://eval.in/860284)
[19:26:45] workmad3: has joined #ruby
[19:27:02] havenwood: >> Signal.list['INFO']
[19:27:03] ruby[bot]: havenwood: # => nil (https://eval.in/860285)
[19:27:16] havenwood: Annnd portability is the answer.
[19:27:25] eam: havenwood: 0 doesn't actually send a signal, it just invokes the error checking
[19:27:27] cosmicz: has joined #ruby
[19:29:53] jenrzzz: has joined #ruby
[19:30:06] Salmonidae: Process.kill 0, pid_that_isnt_running raises Errno::ESRCH tho. still good though.
[19:31:30] MarkBilk__: has joined #ruby
[19:31:54] twillkens: has joined #ruby
[19:32:00] mim1k: has joined #ruby
[19:32:27] claudiuinberlin: has joined #ruby
[19:33:57] dviola: has joined #ruby
[19:37:29] apeiros: eam: ah, keep forgetting that. nice :)
[19:38:15] eam: Salmonidae: yeah, the tricky thing here is that the underlying unix api intends errors to be useful
[19:38:17] Salmonidae: ime it's the best way.
[19:38:36] eam: and that kinda makes for an antipattern of using exceptions for flow control when mapped into ruby
[19:38:42] eam: but what are you gonna do
[19:39:18] Salmonidae: yeah. i think i just rescue SystemCallError false. basically. which would be better as a fine thought list of system errors that could apply.
[19:39:27] johnny56_: has joined #ruby
[19:42:12] Asher: has joined #ruby
[19:45:50] eckhardt: has joined #ruby
[19:48:53] Averna: has joined #ruby
[19:50:50] Slinky_Pete: has joined #ruby
[19:51:50] Slinky_Pete: Question on running a cgi script from the command line. using var such as text=cgi['text'] and puts
[19:52:24] Slinky_Pete: puts "<html>#{text}</html>"
[19:52:48] tcopeland: has joined #ruby
[19:53:15] mtkd: has joined #ruby
[19:53:43] Slinky_Pete: what do I run from the command line to make this return correct; at the moment I am running $ file.rb 'text=hello' but getting no putpt
[19:54:36] eam: Slinky_Pete: post the entire script in a gist if you can
[19:55:07] Slinky_Pete: answered my own question while asking it, thanks though!
[20:01:30] banisterfiend: has joined #ruby
[20:12:49] jackjackdripper: has joined #ruby
[20:13:12] claudiuinberlin: has joined #ruby
[20:13:13] wjack: has joined #ruby
[20:15:47] ur5us: has joined #ruby
[20:16:03] __Yiota: has joined #ruby
[20:18:00] benlieb: has joined #ruby
[20:19:53] shimshamshao: has joined #ruby
[20:24:27] nacsurte: has joined #ruby
[20:26:01] gusrub: has joined #ruby
[20:26:36] twillkens: has joined #ruby
[20:29:07] __Yiota: has joined #ruby
[20:35:19] Silthias: has joined #ruby
[20:35:23] hahuang65: has joined #ruby
[20:36:43] _joes_: has joined #ruby
[20:37:03] GodFather: has joined #ruby
[20:37:10] goyox86: has joined #ruby
[20:38:11] jackjackdripper1: has joined #ruby
[20:39:09] goyox86: has joined #ruby
[20:41:46] jinie: has joined #ruby
[20:44:38] jnollette: has joined #ruby
[20:45:06] lxsameer: has joined #ruby
[20:45:06] twillkens: has joined #ruby
[20:45:45] __Yiota: has joined #ruby
[20:46:09] goyox86: has joined #ruby
[20:48:47] ldnunes: has joined #ruby
[20:49:49] jenrzzz: has joined #ruby
[20:49:49] jenrzzz: has joined #ruby
[20:59:13] FahmeF: has joined #ruby
[21:01:51] nacsurte_: has joined #ruby
[21:04:01] neo95: has joined #ruby
[21:04:50] ryandevilla: has joined #ruby
[21:06:09] __Yiota: has joined #ruby
[21:11:54] ozcanesen: has joined #ruby
[21:12:57] lacuna: has joined #ruby
[21:13:11] r3QuiEm_cL: has joined #ruby
[21:15:24] FahmeF: has joined #ruby
[21:18:48] __Yiota: has joined #ruby
[21:24:28] twillkens: has joined #ruby
[21:24:40] ryandevilla: has joined #ruby
[21:25:36] __Yiota: has joined #ruby
[21:25:40] orbyt_: has joined #ruby
[21:27:27] Rapture: has joined #ruby
[21:30:15] abrcdbr: has joined #ruby
[21:32:16] Slinky_Pete: has joined #ruby
[21:33:20] Slinky_Pete: has joined #ruby
[21:36:33] jenrzzz: has joined #ruby
[21:38:41] sparr: has joined #ruby
[21:39:17] baroquebobcat: has joined #ruby
[21:41:04] hahuang65: has joined #ruby
[21:41:19] mim1k: has joined #ruby
[21:43:47] baroquebobcat: has joined #ruby
[21:45:43] __Yiota: has joined #ruby
[21:46:43] ozcanesen: has joined #ruby
[21:50:26] spider-mario: has joined #ruby
[21:53:04] zenspider: has joined #ruby
[21:54:19] workmad3: has joined #ruby
[21:54:24] brent__: has joined #ruby
[21:55:10] brent__: has joined #ruby
[21:55:54] Ishido: has joined #ruby
[22:01:18] Slinky_Pete: Reading through Beginning Ruby, chap 10 you create a GenericServer, every time I attempt to run the server I get a address already in use error https://gist.github.com/cgibsonmm/8385d41e8b5ceb0c8c868f39325c30ac
[22:05:37] enterprisey: has joined #ruby
[22:09:43] tAn: has joined #ruby
[22:10:25] zenspider: Slinky_Pete: you probably kept a process open. You can't reopen the same port so either randomize it or make sure you kill all backgrounded processes
[22:10:31] guille-moe: has joined #ruby
[22:10:32] zenspider: `jobs` to check
[22:10:34] iszak: has joined #ruby
[22:10:34] iszak: has joined #ruby
[22:11:10] enterprisey: has joined #ruby
[22:12:18] GodFather: has joined #ruby
[22:12:22] Slinky_Pete: lsof | grep (myportnumber) doesn't return anything no matter what port I try
[22:12:23] tcopeland: there’s an interesting comment about that warning here: https://stackoverflow.com/questions/10261477/tcpserver-error-address-already-in-use-bind2 - “Note that the problem can also be a harmless warning coming from an IPv6 configuration issue: the server first binds to a dual-stack IPv4+IPv6 address, then it also tries to bind to a IPv6-only address; and the latter doesn't work because the IPv6 address is already taken by the
[22:12:24] tcopeland: previous dual-stack socket”
[22:12:40] matthewd: zenspider: I've been meaning to ask you... high level, could I use minitest-server to improve https://github.com/rails/rails/blob/acea68de026ba657cb65c4dd0fc1f24ba67e1cf8/railties/Rakefile#L16-L27 ?
[22:13:14] tcopeland: I see that warning locally also and lsof shows that nothing is running on that port - and when I run GenericService on a port I can telnet to it and get a timestamp response
[22:14:13] ryandevilla: has joined #ruby
[22:14:14] zenspider: matthewd: assuming I understand your q... tenderlove and I have talked about having a client that shows up to the server and asks for jobs but we haven't done it yet.
[22:14:16] matthewd: zenspider: Basically it currently has a series of individual test runs (because we want a clean ruby env for each, because reasons)... am I right in thinking that mt-s could do the same thing, but gather those children's results into a single series of dots?
[22:14:35] zenspider: Slinky_Pete: is your port > 1024?
[22:15:02] matthewd: So no, simpler than that: I just want to aggregate results from child processes, no fancy work-assignment stuff here
[22:15:07] Slinky_Pete: Yeah, I have tried a gamete of diff ports
[22:17:08] zenspider: matthewd: right now, not so much. you can look at how minitest-bisect uses minitest-server ... and tenderlove does have some stuff (I think for github, not rails directly) for forking tests out... but at some point I'd like a minitest "job" server and clients that show up and run them. It'd basically take over for ... what's that called. ugh. I forget the name. not pigeon-hole... :)
[22:17:21] zenspider: the thingy that tries to distribute your tests evenly
[22:17:39] zenspider: I'm post workout and nouns are still not looking up
[22:17:53] zenspider: Slinky_Pete: can you show some code?
[22:18:58] Slinky_Pete: https://gist.github.com/cgibsonmm/8385d41e8b5ceb0c8c868f39325c30ac
[22:19:58] iszak: has joined #ruby
[22:19:58] iszak: has joined #ruby
[22:20:36] matthewd: Okay, thanks. Is there any sort of existing API by which I can.. I guess inject multiple test-run results into a/the runner (or whatever it is that sits between the individual MT::Test subclass instances and the reporter)? Or maybe I should be trying to inject them directly into the reporter?
[22:20:54] lxsameer: has joined #ruby
[22:21:01] zenspider: Slinky_Pete: ok. 1) it's a WARN, not an error. 2) I can reproduce the warning... but I suspect it is not on the default interface. 3) nc localhost 3321 works fine and reports the time
[22:21:59] Uranio: has joined #ruby
[22:22:02] zenspider: 4) it only happens on the stock ruby! my rbenv install of 2.4.0 doesn't warn at all
[22:22:40] bzb: has joined #ruby
[22:23:30] Slinky_Pete: I am running 2.4 as well but still no luck. Idk, I will keep searching.
[22:23:49] zenspider: doesn't happen on my rbenv install of 2.2.4 either.
[22:23:50] r3QuiEm_cL: has joined #ruby
[22:23:52] zenspider: either way... it still works
[22:23:52] matthewd: Wild guess: it's trying to listen on both 0.0.0.0:3321 and [::]:3321
[22:24:40] matthewd: At which point it depends on OS and maybe even compile-time flags as to whether the IPv6 listener defaults to IPv6-only, or dual stack
[22:24:42] ozcanesen: has joined #ruby
[22:26:54] Slinky_Pete: So, I am getting return on nc local; but noting in the browser. Oh well not really the biggest issue right now. I will keep looking around, I am sure I will figure out my error somewhere.
[22:28:02] selim: has joined #ruby
[22:29:27] jackjackdripper: has joined #ruby
[22:32:32] montyboy: has joined #ruby
[22:34:37] cdg: has joined #ruby
[22:35:12] cdg: has joined #ruby
[22:36:56] Slinky_Pete: Got it working in the next example in the book. All is well!
[22:39:21] matthewd: zenspider: Did you see my last? No worries if it was getting too complicated/boring/whatever.. just checking in case it slid by.
[22:44:48] zenspider: matthewd: no, catching up... nothing sits between a test and the reporter. It's all passed down to the class and then instance level run methods.
[22:45:51] matthewd: Ah, so maybe I just want to replace the reporter in the children, and manually construct a regular reporter in the parent and feed it directly
[22:46:05] zenspider: I would unify the run at the rake level and then try to do the split / map / reduce inside
[22:46:16] zenspider: and just go through the normal mechanisms
[22:47:16] matthewd: This is about having a clean ruby environment (constants, loaded features, etc), so I don't think we can avoid the forking
[22:47:53] matthewd: I'd just rather not have output that looks like https://travis-ci.org/rails/rails/jobs/274411234#L793
[22:48:24] zenspider: not suggesting otherwise... pretty sure tenderlove has done this. Also pretty sure that... evan? the sequel guy has a minitest exension of the same sort. Tho I think he goes about it a bit wrong
[22:48:50] zenspider: yeah. it'd also be nice to have the rails bootstrap in the parent process and the forks for free
[22:49:43] matthewd: Yeah.. we do now do https://github.com/rails/rails/blob/master/railties/Rakefile#L52, which I recently resurrected from a change tenderlove tried a while ago
[22:49:43] zenspider: I think the majority of the complication on tenderlove's side was cloning/splitting the db connections as well
[22:50:43] zenspider: I should get a version of this, clean it up, and add it to minitest. and/or the client job thingy
[22:50:46] matthewd: Ah, yes, I know tenderlove has more complex stuff for parallel running in multiple processes
[22:51:13] __Yiota: has joined #ruby
[22:51:23] zenspider: not sure if that was for rails or github tho... pretty sure he could share it either way. My eyeballs have touched it :)
[22:52:18] matthewd: I think that's a whole level more complicated than this one though -- here we're purely serial
[22:53:00] nobitanobi: has joined #ruby
[22:56:18] jackjackdripper1: has joined #ruby
[22:57:01] tvw: has joined #ruby
[22:57:13] pharma_joe: has joined #ruby
[23:00:45] zenspider: matthewd: right... you're just forking for a fresh env (which is SAD by the way!) ... it'd be equivalent to only having one client worker spawned. I don't see that being much more than a cmdline flag
[23:02:47] matthewd: Sad but necessary.. we have to know we've got all the requires we need ¯\_(ツ)_/¯
[23:03:39] matthewd: If it was just about our own (actually very minimal) global state, we could arrange to reset it
[23:03:55] enterprisey: has joined #ruby
[23:04:26] runescape07rsps: has joined #ruby
[23:07:37] matthewd: zenspider: Talking of forks, I wish I could have a Minitest.dont_autorun / Minitest.forget_everything... but I do understand why it's objectionable
[23:07:51] matthewd: https://github.com/rails/rails/blob/master/railties/test/isolation/abstract_unit.rb#L255-L256 makes me sad
[23:09:02] zenspider: matthewd: Do you just want Runnable.runnables.clear ?
[23:09:52] matthewd: I want "neutralize the at_exit handler (because our forked child may not be a test at all), but if the child tries to arrange autorun for itself, then go ahead and un-neutralize it"
[23:10:03] zenspider: you could group_by + clear... fork children, and have them pull from the group_by partitions
[23:10:07] matthewd: Which is just gross, which is why I know I can't have it :)
[23:10:37] zenspider: what's that scenario? forked child that may not be a test? why?
[23:10:47] matthewd: This is a different fork, from inside the tests
[23:10:56] zenspider: ah. bleh. yeah.
[23:11:00] goyox86: has joined #ruby
[23:11:25] matthewd: I get the first half by installing an at_exit that'll just exit! before minitest gets a chance
[23:11:28] zenspider: it's kinda unfortunate that at_exit is forked as well and there seems to be no forked hook method
[23:11:42] matthewd: But then that means we never get the original one if it's really meant to happen
[23:11:56] matthewd: You could check the pid :/
[23:13:19] baroquebobcat: has joined #ruby
[23:13:28] cschneid: has joined #ruby
[23:13:37] zenspider: matthewd: I'd be open to suggestion in that area. I'm not fond of my alternatives in either direction
[23:13:51] mostlybadfly: has joined #ruby
[23:14:31] matthewd: Totally literally-haven't-run-it untested, but something like https://gist.github.com/matthewd/b28a10f1334ba81d27d57a75efcc3dca might work
[23:14:46] matthewd: Err, == on 22
[23:14:59] tvw: has joined #ruby
[23:21:16] orbyt_: has joined #ruby
[23:22:50] zenspider: how do you even write a test for this?? :P
[23:23:02] matthewd: With fork :D
[23:24:16] matthewd: Slightly more complete wild guess: https://gist.github.com/matthewd/5f80623cafb20dc22d22bb34433295e3
[23:25:58] pharma_joe: has joined #ruby
[23:27:22] dviola: has joined #ruby
[23:30:18] zenspider: matthewd: again, I'm post workout, so I'm not terribly brainy...
[23:30:41] zenspider: won't `unless @@installed_at_exit == my_pid` not actually do autorun at all?
[23:31:14] matthewd: It'll install it the first time, because @@installed_at_exit is still false from initialize
[23:31:20] montyboy: has joined #ruby
[23:32:15] zenspider: gotcha. this makes it a lot harder to reason about... hrm
[23:32:26] balazs_: has joined #ruby
[23:32:35] goyox86: has joined #ruby
[23:32:37] matthewd: Can wrap it in an accessor
[23:32:54] matthewd: So it still feels like a boolean, just one that resets to false after a fork
[23:36:06] coderphive: has joined #ruby
[23:41:48] mim1k: has joined #ruby
[23:42:08] Jameser: has joined #ruby
[23:44:50] SCHAPiE: has joined #ruby
[23:47:02] iooner-: has joined #ruby
[23:47:32] yasu_: has joined #ruby
[23:47:58] Nahra`: has joined #ruby
[23:48:08] ski4x7: has joined #ruby
[23:48:29] heinrich5991_: has joined #ruby
[23:48:40] gizmore|2: has joined #ruby
[23:48:45] ujjain-: has joined #ruby
[23:48:52] The_Schmidt_: has joined #ruby
[23:48:55] Fraeon: has joined #ruby
[23:49:00] foamz_: has joined #ruby
[23:49:04] s00pcan_: has joined #ruby
[23:49:21] Gabemo: has joined #ruby
[23:49:33] nikivi: has joined #ruby
[23:49:34] z3uS: has joined #ruby
[23:49:34] erlend: has joined #ruby
[23:49:38] rekkoha: has joined #ruby
[23:49:41] Sembei: has joined #ruby
[23:49:57] P1ro: has joined #ruby
[23:49:57] byte512: has joined #ruby
[23:49:58] sunrunner20: has joined #ruby
[23:50:03] Alina-malina: has joined #ruby
[23:50:59] arthurnn: has joined #ruby
[23:51:40] arvindsaik: has joined #ruby
[23:52:20] Mia: has joined #ruby
[23:53:43] Azure: has joined #ruby
[23:53:46] ChickeNES: has joined #ruby
[23:54:10] jnollette: has joined #ruby
[23:54:22] shortdudey123: has joined #ruby
[23:54:36] Archrover: has joined #ruby
[23:55:03] millerti: has joined #ruby
[23:55:22] lxnr: has joined #ruby
[23:56:08] sonne: has joined #ruby
[23:56:09] Slinky_Pete: has joined #ruby