« Back to channel list

#ruby - 02 March 2018

« Back 1 day Forward 1 day »
[00:00:18] dmitriy_: has joined #ruby
[00:00:53] jeffreylevesque: has joined #ruby
[00:02:54] xavrix: has joined #ruby
[00:03:41] sameerynho: has joined #ruby
[00:05:18] dmitriy_: has joined #ruby
[00:10:18] dmitriy_: has joined #ruby
[00:15:19] dmitriy_: has joined #ruby
[00:17:09] WA9ACE: has joined #ruby
[00:17:15] catphish: https://i.imgur.com/qXukfVq.png :)
[00:17:18] mybudwin: has joined #ruby
[00:20:18] dmitriy_: has joined #ruby
[00:20:37] jnollette: has joined #ruby
[00:20:56] cagomez: has joined #ruby
[00:21:28] cschneid: has joined #ruby
[00:25:19] dmitriy_: has joined #ruby
[00:26:22] achen: has joined #ruby
[00:26:52] shpoont: has joined #ruby
[00:27:59] thowe: has joined #ruby
[00:28:13] thowe: has left #ruby: ("Leaving")
[00:29:37] achen: has joined #ruby
[00:29:46] ledestin: has joined #ruby
[00:30:20] dmitriy_: has joined #ruby
[00:33:56] mikhael_k33hl: has joined #ruby
[00:34:34] WA9ACE: has joined #ruby
[00:35:19] dmitriy_: has joined #ruby
[00:36:27] mikhael_k33hl: I'm working on making my ruby script as a daemon. Can you direct me to a good resource that would guide/help me on how to handle interruptions and graceful exits/reload. Thanks, pretty new to ruby and daemons
[00:37:10] havenwood: mikhael_k33hl: http://www.mikeperham.com/2014/09/22/dont-daemonize-your-daemons/
[00:40:19] dmitriy_: has joined #ruby
[00:45:17] dmitriy_: has joined #ruby
[00:45:18] bijan_: has joined #ruby
[00:46:49] Mike11: has joined #ruby
[00:50:17] dmitriy_: has joined #ruby
[00:53:09] catphish: i'd look at fork/exec and trap for starters if you don't already know how to use them
[00:54:14] achen: has joined #ruby
[00:55:18] dmitriy_: has joined #ruby
[00:56:08] pastorinni: has joined #ruby
[01:00:21] dmitriy_: has joined #ruby
[01:05:19] dmitriy_: has joined #ruby
[01:10:20] dmitriy_: has joined #ruby
[01:12:45] orbyt_: has joined #ruby
[01:12:59] mrush: has joined #ruby
[01:14:31] drewmcmillan: has joined #ruby
[01:15:21] dmitriy_: has joined #ruby
[01:20:11] workmad3: has joined #ruby
[01:20:20] dmitriy_: has joined #ruby
[01:21:39] shortdudey123: has joined #ruby
[01:22:30] achen: has joined #ruby
[01:25:20] dmitriy_: has joined #ruby
[01:30:02] kn-928: has joined #ruby
[01:30:22] dmitriy_: has joined #ruby
[01:33:19] ineb: has joined #ruby
[01:35:20] dmitriy_: has joined #ruby
[01:40:18] dmitriy_: has joined #ruby
[01:40:51] mikhael_k33hl: havenwood: thanks
[01:44:09] SeepingN: has joined #ruby
[01:45:22] dmitriy_: has joined #ruby
[01:50:22] dmitriy_: has joined #ruby
[01:55:15] GodFather: has joined #ruby
[01:55:19] dmitriy_: has joined #ruby
[01:58:35] DarthGandalf: has joined #ruby
[01:59:33] aeontech: has joined #ruby
[02:00:19] dmitriy_: has joined #ruby
[02:05:18] dmitriy_: has joined #ruby
[02:08:18] netherwolfe: has joined #ruby
[02:10:23] dmitriy_: has joined #ruby
[02:14:36] jottr: has joined #ruby
[02:15:20] dmitriy_: has joined #ruby
[02:20:49] jeffreylevesque: has joined #ruby
[02:22:34] ski7777: has joined #ruby
[02:27:23] beyer: has joined #ruby
[02:32:37] beyer: hey everyone
[02:32:53] beyer: i have a pb installing a repo -> https://github.com/vdaubry/youtube-multiple-dl
[02:33:17] jenrzzz: has joined #ruby
[02:33:35] beyer: i followed the install Clone this repository + Bundle install but now i cant rake db:migrate because it says "rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)"
[02:34:31] beyer: but i have this file.. so i'm lost!
[02:35:02] beyer: same issue as here https://github.com/vdaubry/youtube-multiple-dl/issues/2
[02:35:32] GodFather: has joined #ruby
[02:39:28] goatish: has joined #ruby
[02:41:07] Radar: beyer: seems like you're seeing a completely different issue
[02:41:14] Radar: are you running "rake db:migrate" in that app's directory?
[02:41:53] beyer: i'm totally newbie in ruby and any programming
[02:42:02] Radar: and if you run "file Rakefile", what does it show?
[02:42:03] beyer: ACTION Radar
[02:42:24] dinfuehr: has joined #ruby
[02:42:41] beyer: im on windows
[02:42:54] bigblind: has joined #ruby
[02:43:49] Radar: beyer: OK. Let's try a different tack then. How confident are you that the command prompt is _definitely_ in that directory? What indicates to you that you're there?
[02:44:00] Radar: I ask because the repository very clearly contains a Rakefile here: https://github.com/vdaubry/youtube-multiple-dl
[02:44:09] beyer: https://gist.github.com/anonymous/556b6f63a033a5cca28caf9fd69376b0
[02:44:14] Radar: And if you're not inside that directory in the command prompt, it would be why you're seeing the error you're seeing.
[02:44:37] Radar: That does not prove that you're in that directory. Show me what the path is in the command prompt.
[02:44:48] beyer: C:\Ruby24-x64>rake --trace
[02:45:04] beyer: but should i put the repo on the ruby directory?
[02:45:28] Radar: You should just navigate to the directory in your command prompt.
[02:45:41] Radar: You're in the Ruby directory, but you should be running that command in the youtube-multiple-dl directory.
[02:46:30] achen: has joined #ruby
[02:46:36] druonysus: has joined #ruby
[02:46:48] beyer: now i got this https://gist.github.com/anonymous/73eb0640293a98687e2b8b28d9ebcda8
[02:50:11] beyer: ACTION Radar did i missed something?
[02:50:34] Radar: _now_ you're seeing the same issue as #2 and now I can't help you because I don't know how to fix that one.
[02:58:18] orbyt_: has joined #ruby
[02:58:45] gizmore|2: has joined #ruby
[02:59:19] Axsuul: has joined #ruby
[03:00:11] cadillac_: has joined #ruby
[03:01:04] cdg: has joined #ruby
[03:01:50] beyer: Your Ruby version is 2.4.3, but your Gemfile specified 2.2.0
[03:01:56] beyer: what should i do?
[03:07:27] keithy: has joined #ruby
[03:09:43] cdg: has joined #ruby
[03:16:55] minimalism: has joined #ruby
[03:26:23] Gabemo: has joined #ruby
[03:30:10] logoscoder_: has joined #ruby
[03:30:36] mjolnird: has joined #ruby
[03:31:43] pastorinni: has joined #ruby
[03:37:17] govg: has joined #ruby
[03:52:57] darkhanb: has joined #ruby
[04:02:41] mjolnird: has joined #ruby
[04:12:55] helpa: has joined #ruby
[04:13:12] bosma: has joined #ruby
[04:13:14] justizin: has joined #ruby
[04:13:16] pwillard: has joined #ruby
[04:13:21] caw______: has joined #ruby
[04:13:24] HashNuke: has joined #ruby
[04:13:28] ircmaxell: has joined #ruby
[04:13:28] maciuszek: has joined #ruby
[04:13:40] kaia: has joined #ruby
[04:13:45] Flashynuff: has joined #ruby
[04:13:49] aarongodin: has joined #ruby
[04:13:49] Brak____________: has joined #ruby
[04:13:50] memo1: has joined #ruby
[04:13:51] bove: has joined #ruby
[04:13:53] mitsuhiko: has joined #ruby
[04:13:53] koenrh: has joined #ruby
[04:14:07] avdi: has joined #ruby
[04:14:09] Travis-42: has joined #ruby
[04:14:11] Nuck: has joined #ruby
[04:14:16] mr-robert: has joined #ruby
[04:15:05] yo61: has joined #ruby
[04:15:06] foamz: has joined #ruby
[04:15:20] cardoni: has joined #ruby
[04:15:21] Iambchop: has joined #ruby
[04:15:21] ali_g: has joined #ruby
[04:15:22] cjs226: has joined #ruby
[04:15:25] dmnd: has joined #ruby
[04:15:25] err_ok: has joined #ruby
[04:15:25] chrisseaton: has joined #ruby
[04:15:25] lipoqil: has joined #ruby
[04:15:25] raggi: has joined #ruby
[04:15:26] adambeynon: has joined #ruby
[04:15:26] olivierjanss: has joined #ruby
[04:15:26] schaary: has joined #ruby
[04:15:31] skmp: has joined #ruby
[04:15:33] podman: has joined #ruby
[04:15:33] afisher: has joined #ruby
[04:15:48] knowtheory: has joined #ruby
[04:15:50] ggherdov: has joined #ruby
[04:15:50] meinside: has joined #ruby
[04:15:51] justinweiss: has joined #ruby
[04:15:51] chromis: has joined #ruby
[04:15:51] jmhmccr: has joined #ruby
[04:15:52] micalexander: has joined #ruby
[04:15:53] Majost: has joined #ruby
[04:16:00] jabreity: has joined #ruby
[04:16:00] Lloyd: has joined #ruby
[04:16:00] pmarreck: has joined #ruby
[04:16:13] fmccann: has joined #ruby
[04:16:30] machty: has joined #ruby
[04:16:50] Meow-J_: has joined #ruby
[04:16:59] ckrailo: has joined #ruby
[04:17:01] iamdevnul: has joined #ruby
[04:17:05] rflot: has joined #ruby
[04:17:06] stephenh: has joined #ruby
[04:17:09] oblak: has joined #ruby
[04:17:17] incomprehensibly: has joined #ruby
[04:17:17] galeido: has joined #ruby
[04:17:18] mattwc: has joined #ruby
[04:17:22] daxroc: has joined #ruby
[04:17:23] deimos: has joined #ruby
[04:17:32] doesntbyte: has joined #ruby
[04:17:53] petems: has joined #ruby
[04:17:55] rfv: has joined #ruby
[04:18:00] graingert: has joined #ruby
[04:18:09] auv: has joined #ruby
[04:18:28] Diabolik_: has joined #ruby
[04:18:29] Yonk: has joined #ruby
[04:18:35] seanh: has joined #ruby
[04:18:37] ewilliam: has joined #ruby
[04:18:38] gmcintire: has joined #ruby
[04:18:40] solidsnack: has joined #ruby
[04:18:42] hayden___: has joined #ruby
[04:18:56] JJonah: has joined #ruby
[04:18:58] tycoon177: has joined #ruby
[04:19:00] zipkid: has joined #ruby
[04:19:01] DukeDave: has joined #ruby
[04:19:01] andywojo: has joined #ruby
[04:19:02] mrsolo: has joined #ruby
[04:19:05] Fenhl: has joined #ruby
[04:19:24] hsiktas: has joined #ruby
[04:19:31] raynold: has joined #ruby
[04:20:01] darthThorik: has joined #ruby
[04:22:41] clampy: has joined #ruby
[04:23:05] willmichael: has joined #ruby
[04:23:18] achen: has joined #ruby
[04:24:36] ski7777: has joined #ruby
[04:25:09] cdg: has joined #ruby
[04:25:15] trautwein: has joined #ruby
[04:27:36] ectos: has joined #ruby
[04:28:01] guacamole: anyone know of a good gem for calculating big o notation?
[04:28:23] nadir: has joined #ruby
[04:29:08] bcavileer: has joined #ruby
[04:29:17] charles81_: has joined #ruby
[04:29:18] jetpack_joe: has joined #ruby
[04:29:19] tfitts: has joined #ruby
[04:29:23] arcturiaen: has joined #ruby
[04:29:24] manveru: has joined #ruby
[04:29:25] untitaker: has joined #ruby
[04:29:31] Mutsuhito: has joined #ruby
[04:29:46] jhill_: has joined #ruby
[04:29:48] Flabbergazta: has joined #ruby
[04:30:10] teej: has joined #ruby
[04:30:11] cagomez: has joined #ruby
[04:30:11] nOgAnOo: has joined #ruby
[04:31:16] kireevco: has joined #ruby
[04:31:46] ski7777: has joined #ruby
[04:35:27] memo1: has joined #ruby
[04:39:45] keithy: has joined #ruby
[04:39:46] mroth: has joined #ruby
[04:39:49] Tony-St4rk: has joined #ruby
[04:39:51] craysiii: has joined #ruby
[04:39:58] codepete: has joined #ruby
[04:40:04] rann: has joined #ruby
[04:40:06] colstrom: has joined #ruby
[04:40:07] pfg: has joined #ruby
[04:40:07] danzilio: has joined #ruby
[04:40:14] mostlybadfly: has joined #ruby
[04:40:18] fury: has joined #ruby
[04:40:29] rjungemann: has joined #ruby
[04:40:58] jwheare: has joined #ruby
[04:41:41] Chew: has joined #ruby
[04:46:24] clampy: has joined #ruby
[04:48:04] fba: has joined #ruby
[04:49:32] kies: has joined #ruby
[04:50:27] jimeh: has joined #ruby
[04:50:29] jxf: has joined #ruby
[04:50:29] lesce: has joined #ruby
[04:50:32] jnix: has joined #ruby
[04:50:34] cttttt: has joined #ruby
[04:50:51] BuildTheRobots: has joined #ruby
[04:50:52] xenops: has joined #ruby
[04:53:00] kiltzman: has joined #ruby
[04:56:42] cschneid: has joined #ruby
[04:57:36] clampy: has joined #ruby
[04:59:32] clampy: has joined #ruby
[04:59:42] arthurnn: has joined #ruby
[05:00:58] peteretep: has joined #ruby
[05:00:59] kapowaz: has joined #ruby
[05:01:15] r3my: has joined #ruby
[05:01:25] boxrick: has joined #ruby
[05:01:26] kspencer: has joined #ruby
[05:01:30] elliottcable: has joined #ruby
[05:02:54] c0ncealed: has joined #ruby
[05:03:55] clampy: has joined #ruby
[05:11:31] elcontrastador: has joined #ruby
[05:12:00] bigblind: has joined #ruby
[05:14:18] Yzguy: has joined #ruby
[05:19:51] ramfjord: has joined #ruby
[05:21:44] workmad3: has joined #ruby
[05:23:29] kapil___: has joined #ruby
[05:25:54] cdg: has joined #ruby
[05:33:04] sidx64: has joined #ruby
[05:33:49] cadillac_: has joined #ruby
[05:35:40] anisha: has joined #ruby
[05:47:16] dmitriy_: has joined #ruby
[05:49:38] AxelAlex: has joined #ruby
[05:49:52] alex``: has joined #ruby
[06:05:37] cagomez: has joined #ruby
[06:06:51] bigblind: has joined #ruby
[06:09:43] karapetyan: has joined #ruby
[06:11:28] soniya29: has joined #ruby
[06:14:02] karapetyan: has joined #ruby
[06:25:15] memo1: has joined #ruby
[06:25:42] jenrzzz: has joined #ruby
[06:26:28] LocaMocha: has joined #ruby
[06:26:41] cdg: has joined #ruby
[06:28:00] karapetyan: has joined #ruby
[06:28:22] remix2000: has joined #ruby
[06:29:23] remix2000: has joined #ruby
[06:33:41] hahuang65: has joined #ruby
[06:37:47] karapetyan: has joined #ruby
[06:40:07] conta: has joined #ruby
[06:48:23] dmitriy_: has joined #ruby
[06:52:17] clampy: has joined #ruby
[06:54:24] sidx64: has joined #ruby
[06:59:10] dminuoso: Interesting. There's someone sitting in front of me, applying war paint to their face.
[06:59:24] dminuoso: The things people do on the train.
[07:11:08] KeyJoo: has joined #ruby
[07:12:17] sidx64_: has joined #ruby
[07:14:12] Yzguy: has joined #ruby
[07:16:09] sidx64: has joined #ruby
[07:17:03] mtkd: has joined #ruby
[07:17:27] dionysus69: has joined #ruby
[07:21:03] rippa: has joined #ruby
[07:22:12] roshanavand: has joined #ruby
[07:22:26] workmad3: has joined #ruby
[07:22:57] soniya29: has joined #ruby
[07:23:29] darkhanb: has joined #ruby
[07:23:34] mcr1: has joined #ruby
[07:26:40] dionysus69: has joined #ruby
[07:27:27] cdg: has joined #ruby
[07:31:46] jenrzzz: has joined #ruby
[07:33:10] Emmanuel_Chanel: has joined #ruby
[07:33:18] karapetyan: has joined #ruby
[07:35:55] karapetyan: has joined #ruby
[07:37:04] shpoont: has joined #ruby
[07:40:44] n008f4g_: has joined #ruby
[07:43:44] djbkd: has joined #ruby
[07:47:57] mjolnird: has joined #ruby
[07:49:55] darkhanb: has joined #ruby
[07:55:19] karapetyan: has joined #ruby
[07:56:24] soniya29: has joined #ruby
[07:59:55] schneider: has joined #ruby
[08:00:05] darkhanb: has joined #ruby
[08:04:54] schneider: has joined #ruby
[08:15:14] _aeris_: has joined #ruby
[08:15:52] vondruch_: has joined #ruby
[08:16:43] burgestrand: has joined #ruby
[08:17:16] Beams: has joined #ruby
[08:19:26] apeiros: has joined #ruby
[08:20:45] mjolnird: has joined #ruby
[08:23:57] karapetyan: has joined #ruby
[08:28:13] cdg: has joined #ruby
[08:29:39] TomyWork: has joined #ruby
[08:30:05] sammi`: has joined #ruby
[08:31:38] bigblind: has joined #ruby
[08:32:35] tomphp: has joined #ruby
[08:33:19] claudiuinberlin: has joined #ruby
[08:34:31] tvw: has joined #ruby
[08:36:03] aufi: has joined #ruby
[08:36:39] aupadhye: has joined #ruby
[08:36:40] Beams: has joined #ruby
[08:40:36] guille-moe: has joined #ruby
[08:43:22] Beams_: has joined #ruby
[08:43:33] Puffball: has joined #ruby
[08:44:51] roshanavand: has joined #ruby
[08:45:09] faces: has joined #ruby
[08:45:42] roshanavand: has joined #ruby
[08:46:47] Emmanuel_Chanel: has joined #ruby
[08:50:14] Fusselgesicht: has joined #ruby
[08:51:55] amatas: has joined #ruby
[08:55:09] nowhere_man: has joined #ruby
[08:55:32] alex``: has joined #ruby
[08:57:45] mikecmpbll: has joined #ruby
[08:58:41] amatas: has joined #ruby
[09:04:13] sidx64: has joined #ruby
[09:05:04] cdg: has joined #ruby
[09:05:35] amatas_: has joined #ruby
[09:07:21] sidx64: has joined #ruby
[09:07:35] Emmanuel_Chanel: has joined #ruby
[09:10:35] nielsk: has joined #ruby
[09:10:48] NL3limin4t0r: has joined #ruby
[09:11:08] sameerynho: has joined #ruby
[09:11:29] roshanavand: has joined #ruby
[09:12:42] McSoFake: has joined #ruby
[09:12:54] NL3limin4t0r: Hey, I was wondering if there is an easy way to zip all elements from an array with a single other object. My currunt solution is `array.zip(Array.new(array.size, other_object))`, but I wondered if I missed a better solution.
[09:15:01] apeiros: NL3limin4t0r: map
[09:15:16] apeiros: ary.map { |x| [x, other_obj] }
[09:17:04] mtkd: has joined #ruby
[09:17:46] jenrzzz: has joined #ruby
[09:17:46] jenrzzz: has joined #ruby
[09:18:28] marr: has joined #ruby
[09:18:37] shpoont: has joined #ruby
[09:18:58] NL3limin4t0r: apeiros: ty, I knew I missed something. I use map quite often, but sometimes you forget the simplest of solutions.
[09:23:04] dminuoso: >> 1.times.map { "hi" }.zip([1,2,3,4])
[09:23:05] ruby[bot]: dminuoso: # => [["hi", 1]] (https://eval.in/965719)
[09:24:59] apeiros: >> [1,2,3,4].zip(["hi"].cycle)
[09:25:00] ruby[bot]: apeiros: # => [[1, "hi"], [2, "hi"], [3, "hi"], [4, "hi"]] (https://eval.in/965720)
[09:25:08] apeiros: ACTION still prefers map, tho
[09:25:10] dminuoso: apeiros: I like that.
[09:25:28] dminuoso: apeiros: Thats pretty Haskellish.
[09:25:40] apeiros: hasskhellish?
[09:25:53] dminuoso: jhasskellish?
[09:26:10] dminuoso: >> [].cycle
[09:26:11] ruby[bot]: dminuoso: # => #<Enumerator: []:cycle> (https://eval.in/965721)
[09:26:18] dminuoso: Neat didnt know about this one. :)
[09:27:13] dminuoso: apeiros: Well it's point free. And as a tacit programming zealot, I have to refactor to hide any code points.
[09:27:37] bijan_: has joined #ruby
[09:35:38] zenspider_: has joined #ruby
[09:38:46] shpoont: has joined #ruby
[09:39:33] andikr: has joined #ruby
[09:42:09] AJA4350: has joined #ruby
[09:42:29] amatas_: has joined #ruby
[09:46:34] zapata: has joined #ruby
[09:47:10] dmitriy_: has joined #ruby
[09:49:30] qba73: has joined #ruby
[09:50:32] qba73_: has joined #ruby
[09:52:30] cdg: has joined #ruby
[09:53:30] cdg_: has joined #ruby
[09:54:09] Serpent7776: has joined #ruby
[09:54:28] GotHyper: has joined #ruby
[09:55:01] cdg__: has joined #ruby
[09:58:32] vondruch: has joined #ruby
[10:01:07] NL3limin4t0r: apeiros: ty, I knew I missed something. I use map quite often, but sometimes you forget the simplest of solutions.t
[10:01:25] apeiros: arrow-up+enter failure? :D
[10:02:07] sidx64: has joined #ruby
[10:02:12] Beams_: has joined #ruby
[10:02:26] NL3limin4t0r: I was going to exit out of weechat, but hit the wrong buttons.
[10:02:35] bweston92: has joined #ruby
[10:03:14] eroux: has joined #ruby
[10:04:00] jenrzzz: has joined #ruby
[10:04:39] vondruch_: has joined #ruby
[10:06:06] tomphp: has joined #ruby
[10:08:14] cdg: has joined #ruby
[10:08:49] Damni: has joined #ruby
[10:11:08] vondruch: has joined #ruby
[10:11:27] phaul: has joined #ruby
[10:13:19] InfinityFye: has joined #ruby
[10:17:40] jenrzzz: has joined #ruby
[10:20:02] yaewa: has joined #ruby
[10:20:22] Emmanuel_Chanel: has joined #ruby
[10:22:09] sidx64: has joined #ruby
[10:24:49] jaruga: has joined #ruby
[10:25:32] kke: can i do something like data = 'abcd'; EM.defer(proc { process(data) }) or is the scope of data messed up there?
[10:25:52] dminuoso: kke: blocks are closures.
[10:26:50] bigblind: has joined #ruby
[10:34:54] karapetyan: has joined #ruby
[10:37:39] vondruch: has joined #ruby
[10:38:33] mtkd: has joined #ruby
[10:40:03] sidx64: has joined #ruby
[10:41:35] nowhere_man: has joined #ruby
[10:43:15] kapil___: has joined #ruby
[10:43:38] elcontrastador: has joined #ruby
[10:44:50] moei: has joined #ruby
[10:47:49] cdg: has joined #ruby
[10:48:17] wojnar: has joined #ruby
[11:04:43] thinkpad: has joined #ruby
[11:05:51] Sembei: has joined #ruby
[11:09:12] workmad3: has joined #ruby
[11:10:41] qba73__: has joined #ruby
[11:23:45] mtkd: has joined #ruby
[11:24:15] vondruch: has joined #ruby
[11:25:49] qwe: has joined #ruby
[11:26:05] ldnunes: has joined #ruby
[11:35:42] tekk: has joined #ruby
[11:38:21] conta: has joined #ruby
[11:38:24] Cavallari: has joined #ruby
[11:39:03] adlerdias: has joined #ruby
[11:42:21] apparition: has joined #ruby
[11:43:44] Papierkorb: has joined #ruby
[11:43:49] jenrzzz: has joined #ruby
[11:43:49] jenrzzz: has joined #ruby
[11:44:57] GotHyper: has joined #ruby
[11:47:14] thinkpad: has joined #ruby
[11:53:06] goatish: has joined #ruby
[11:56:17] dinfuehr: has joined #ruby
[12:00:08] jamesaxl: has joined #ruby
[12:02:29] shinnya: has joined #ruby
[12:03:21] mtkd: has joined #ruby
[12:09:19] jenrzzz: has joined #ruby
[12:09:19] jenrzzz: has joined #ruby
[12:14:43] aupadhye: has joined #ruby
[12:15:59] drewmcmillan: has joined #ruby
[12:20:09] n0m4d1c: has joined #ruby
[12:25:59] jottr: has joined #ruby
[12:36:26] willmichael: has joined #ruby
[12:37:46] aupadhye_: has joined #ruby
[12:39:06] jenrzzz: has joined #ruby
[12:39:06] jenrzzz: has joined #ruby
[12:47:36] Mia: has joined #ruby
[12:47:36] Mia: has joined #ruby
[12:48:12] tcopeland: has joined #ruby
[12:48:43] Mic92: has joined #ruby
[12:48:47] Mic92: has left #ruby: ("WeeChat 2.0.1")
[12:51:28] sidx64: has joined #ruby
[12:54:56] wojnar: has joined #ruby
[12:55:50] clemens3: has joined #ruby
[12:57:22] bijan_: has joined #ruby
[12:57:41] fba: has joined #ruby
[12:59:58] Beams: has joined #ruby
[13:00:17] sidx64: has joined #ruby
[13:02:35] InfinityFye: has left #ruby: ("Leaving")
[13:02:37] jcalla: has joined #ruby
[13:04:50] Bish: has joined #ruby
[13:05:27] burgestrand: has joined #ruby
[13:05:40] jenrzzz: has joined #ruby
[13:05:41] jenrzzz: has joined #ruby
[13:06:36] connor_goodwolf: has joined #ruby
[13:07:28] tAn: has joined #ruby
[13:08:16] tao_: has joined #ruby
[13:12:02] aguestuser: has joined #ruby
[13:14:05] synthroid: has joined #ruby
[13:16:56] stormpack: has joined #ruby
[13:21:36] ldnunes: has joined #ruby
[13:21:45] sidx64: has joined #ruby
[13:22:55] vondruch: has joined #ruby
[13:24:03] anjen: has joined #ruby
[13:24:26] Papierkorb: has left #ruby: ("Konversation terminated!")
[13:26:15] bmurt: has joined #ruby
[13:33:09] fba: has joined #ruby
[13:35:59] bmurt: has joined #ruby
[13:36:00] Eldritch: has joined #ruby
[13:43:01] Map: has joined #ruby
[13:43:16] jenrzzz: has joined #ruby
[13:45:37] Eldritch: has joined #ruby
[13:45:59] oleo: has joined #ruby
[13:46:00] memo1: has joined #ruby
[13:46:41] jottr_: has joined #ruby
[13:47:37] Eldritch: has joined #ruby
[13:48:42] kiltzman: has joined #ruby
[13:49:08] Eldritch: has joined #ruby
[13:49:39] oleo: has joined #ruby
[13:54:40] Sylario: has joined #ruby
[13:57:23] tvw: has joined #ruby
[13:57:25] cdg: has joined #ruby
[13:59:51] drewmcmillan: has joined #ruby
[14:00:44] mcr1: has joined #ruby
[14:01:42] Beams: has joined #ruby
[14:06:30] aguestuser: has joined #ruby
[14:07:00] achen: has joined #ruby
[14:07:49] achen: has joined #ruby
[14:08:22] pppktz: has joined #ruby
[14:08:30] logoscoder_: has joined #ruby
[14:09:52] achen: has joined #ruby
[14:11:11] jaruga: has joined #ruby
[14:17:46] John_Ivan: has joined #ruby
[14:17:46] John_Ivan: has joined #ruby
[14:18:07] FastJack: has joined #ruby
[14:18:21] jenrzzz: has joined #ruby
[14:18:56] gnufied: has joined #ruby
[14:21:19] Beams_: has joined #ruby
[14:24:16] mtkd: has joined #ruby
[14:24:42] anjen: has joined #ruby
[14:26:42] ledestin: has joined #ruby
[14:29:26] logoscoder: has joined #ruby
[14:29:40] cdg: has joined #ruby
[14:30:24] cdg_: has joined #ruby
[14:31:44] McSoFake: has joined #ruby
[14:34:57] pastorinni: has joined #ruby
[14:35:01] rwb: has joined #ruby
[14:38:44] cdg: has joined #ruby
[14:39:35] karapetyan: has joined #ruby
[14:43:25] jeffreylevesque: has joined #ruby
[14:46:31] shpoont: has joined #ruby
[14:47:11] joe_from_maine: has joined #ruby
[14:50:50] jenrzzz: has joined #ruby
[14:51:23] nowhere_man: has joined #ruby
[14:51:24] mtkd: has joined #ruby
[14:52:03] dtzuzu: has joined #ruby
[14:54:52] achen: has joined #ruby
[15:02:37] jamesaxl: has joined #ruby
[15:03:39] jenrzzz: has joined #ruby
[15:04:42] ski7777: has joined #ruby
[15:06:19] jeffreylevesque: has joined #ruby
[15:08:59] akkad: has left #ruby: ("ERC (IRC client for Emacs 25.3.1)")
[15:09:36] Rapture: has joined #ruby
[15:10:07] k0mpa: has joined #ruby
[15:12:18] jenrzzz: has joined #ruby
[15:12:18] jenrzzz: has joined #ruby
[15:13:22] qyliss: has joined #ruby
[15:15:31] jnollette: has joined #ruby
[15:16:07] tsht: has joined #ruby
[15:20:14] mtkd: has joined #ruby
[15:23:49] jottr: has joined #ruby
[15:26:23] cschneid: has joined #ruby
[15:26:30] netherwolfe: has joined #ruby
[15:31:42] codepete: has joined #ruby
[15:32:28] skmp: has joined #ruby
[15:32:50] rfv: has joined #ruby
[15:34:23] manveru: has joined #ruby
[15:34:31] avdi: has joined #ruby
[15:34:49] r3my: has joined #ruby
[15:35:29] JJonah: has joined #ruby
[15:37:39] jenrzzz: has joined #ruby
[15:37:43] Mike11: has joined #ruby
[15:38:10] Gnut: has joined #ruby
[15:39:19] Gnut: Is there a good way to remove objects from an array based on a condition
[15:40:22] karapetyan: has joined #ruby
[15:40:36] cschneid: has joined #ruby
[15:40:47] cdg: has joined #ruby
[15:40:47] darix: Gnut: array.reject { |e| ... } ?
[15:40:55] cschneid: has joined #ruby
[15:41:08] Gnut: I'm loading a set of object from one location then loading a string array from another location and I want to say, if object in the first list don't match one in the second list, remove it
[15:41:15] Gnut: darix: let me check that out
[15:41:36] darix: >> ((1...10).to_a.reject {|e| e % 2 == 0}
[15:41:38] ruby[bot]: darix: # => /tmp/execpad-d0d7ba262428/source-d0d7ba262428:3: syntax error, unexpected keyword_rescue, expecting ...check link for more (https://eval.in/965960)
[15:41:45] darix: >> (1...10).to_a.reject {|e| e % 2 == 0}
[15:41:46] ruby[bot]: darix: # => [1, 3, 5, 7, 9] (https://eval.in/965961)
[15:42:11] kn-928: has joined #ruby
[15:42:49] darix: >> a=(1...10).to_a ; a.reject! {|e| e % 2 == 0} ; a
[15:42:50] ruby[bot]: darix: # => [1, 3, 5, 7, 9] (https://eval.in/965965)
[15:45:16] duracrisis: has joined #ruby
[15:46:03] TomyWork: has joined #ruby
[15:46:45] jenrzzz: has joined #ruby
[15:46:45] jenrzzz: has joined #ruby
[15:47:19] TomyWork: has joined #ruby
[15:47:38] Xiti: has joined #ruby
[15:49:57] drewmcmillan: has joined #ruby
[15:50:17] troys: has joined #ruby
[15:52:16] Gnut: darix: that should do it. Quick side question, what's the best way to turn an array of objects into an array of strings off a certain field?
[15:52:47] fba: has joined #ruby
[15:53:03] Gnut: As in, i just want the second array to have Object.name for every entry
[15:53:18] wojnar: has joined #ruby
[15:53:21] dtzuzu: has joined #ruby
[15:54:06] darix: Gnut: why?
[15:54:17] darix: Gnut: and you want .map
[15:54:36] darix: (1...10).to_a.map {|e| e.to_s }
[15:54:38] darix: >> (1...10).to_a.map {|e| e.to_s }
[15:54:41] ruby[bot]: darix: # => ["1", "2", "3", "4", "5", "6", "7", "8", "9"] (https://eval.in/965987)
[15:55:12] darix: Gnut: here is a recommendation. install pry. (via "gem install" in doubt)
[15:55:24] darix: add: require 'pry' ; binding.pry
[15:55:34] darix: at the place in your code where you want to play around
[15:55:43] darix: voila you get a shell for playing with things.
[15:55:45] TomyWork: has joined #ruby
[15:55:47] jenrzzz: has joined #ruby
[15:55:47] jenrzzz: has joined #ruby
[15:57:07] TomyWork: has joined #ruby
[16:01:41] phaul: >> (1...10).map(&:to_s)
[16:01:42] ruby[bot]: phaul: # => ["1", "2", "3", "4", "5", "6", "7", "8", "9"] (https://eval.in/965997)
[16:08:04] cthulchu_: has joined #ruby
[16:10:26] desperek: has joined #ruby
[16:10:45] desperek: ...compiling ruby on freebsd in progress...
[16:10:51] TomyWork: has joined #ruby
[16:12:49] edwardly: has joined #ruby
[16:12:50] edwardly: has joined #ruby
[16:13:58] rrutkowski: has joined #ruby
[16:14:49] achen: has joined #ruby
[16:15:55] _aeris_: has joined #ruby
[16:20:56] apeiros: Gnut: note that "array of objects" is redundant ;-) (all arrays in ruby are arrays of objects - except arguably the empty array)
[16:21:09] pmullin: has joined #ruby
[16:24:46] TomyWork: has joined #ruby
[16:25:42] cagomez: has joined #ruby
[16:27:48] Gnut: darix: perfect, that did it. thanks a lot
[16:27:56] Gnut: apeiros: Ah, correct. My mistake
[16:32:55] jenrzzz: has joined #ruby
[16:32:55] jenrzzz: has joined #ruby
[16:37:26] cdg: has joined #ruby
[16:39:44] mcr1: has joined #ruby
[16:41:42] guacamole: has joined #ruby
[16:41:42] guacamole: has joined #ruby
[16:41:55] karapetyan: has joined #ruby
[16:42:35] chromis: has joined #ruby
[16:42:37] soniya29: has joined #ruby
[16:42:39] soniya29_: has joined #ruby
[16:43:47] guacamole: has joined #ruby
[16:43:48] guacamole: has joined #ruby
[16:44:24] goatish: has joined #ruby
[16:45:20] jenrzzz: has joined #ruby
[16:47:46] PMS: has joined #ruby
[16:51:15] yqt: has joined #ruby
[16:54:12] jenrzzz: has joined #ruby
[16:54:13] jenrzzz: has joined #ruby
[16:58:25] guacamole: has joined #ruby
[16:58:25] guacamole: has joined #ruby
[16:58:57] [Butch]: has joined #ruby
[17:01:23] sameerynho: has joined #ruby
[17:04:14] mtkd: has joined #ruby
[17:05:44] willmichael: has joined #ruby
[17:06:06] raynold: has joined #ruby
[17:09:47] nowhere_man: has joined #ruby
[17:10:58] jenrzzz: has joined #ruby
[17:15:18] kapil___: has joined #ruby
[17:15:25] keithy: has joined #ruby
[17:15:38] schneider: has joined #ruby
[17:16:35] Beams: has joined #ruby
[17:17:05] jcarl43: has joined #ruby
[17:20:39] SteenJobs: has joined #ruby
[17:20:59] sanscoeur: has joined #ruby
[17:21:51] am55: has joined #ruby
[17:24:39] jenrzzz: has joined #ruby
[17:25:28] karapetyan: has joined #ruby
[17:27:13] Rr4sT: has joined #ruby
[17:29:51] synthroid: has joined #ruby
[17:31:04] darkhanb: has joined #ruby
[17:32:23] shpoont_: has joined #ruby
[17:32:23] d10n-work: has joined #ruby
[17:34:45] coderphive: has joined #ruby
[17:35:29] dionysus69: has joined #ruby
[17:36:24] cadillac_: has joined #ruby
[17:39:11] am55: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[17:40:40] inerthia: has joined #ruby
[17:40:40] inerthia: has joined #ruby
[17:40:57] jenrzzz: has joined #ruby
[17:40:57] jenrzzz: has joined #ruby
[17:43:19] sagax: has joined #ruby
[17:48:20] mtkd: has joined #ruby
[17:50:14] jenrzzz: has joined #ruby
[17:53:09] bmurt: has joined #ruby
[17:53:25] baweaver: Gnut probably wants: people.map { |person| person.name }
[17:53:35] baweaver: or more succinctly: people.map(&:name)
[17:57:32] ramfjord: has joined #ruby
[17:58:22] sagax: has joined #ruby
[17:58:37] dmitriy_: has joined #ruby
[17:59:13] clemens3: has joined #ruby
[18:01:41] n0m4d1c: has joined #ruby
[18:02:14] jenrzzz: has joined #ruby
[18:03:35] InfinityFye: has joined #ruby
[18:03:35] pastorinni: has joined #ruby
[18:03:37] dmitriy_: has joined #ruby
[18:03:50] mtkd: has joined #ruby
[18:04:17] Gnut: baweaver: that's exactly what i used
[18:04:53] n0m4d1c_: has joined #ruby
[18:07:28] jenrzzz: has joined #ruby
[18:07:28] jenrzzz: has joined #ruby
[18:07:36] karapetyan: has joined #ruby
[18:08:59] dmitriy_: has joined #ruby
[18:09:22] netherwolfe: has joined #ruby
[18:10:29] \void: has joined #ruby
[18:10:59] goatish: has joined #ruby
[18:11:16] rrutkowski: has joined #ruby
[18:13:37] dmitriy_: has joined #ruby
[18:15:51] jenrzzz: has joined #ruby
[18:15:51] jenrzzz: has joined #ruby
[18:18:05] SteenJobs: has joined #ruby
[18:18:39] dmitriy_: has joined #ruby
[18:19:19] guacamole: has joined #ruby
[18:19:19] guacamole: has joined #ruby
[18:19:42] chat_: has joined #ruby
[18:20:38] bmurt: has joined #ruby
[18:21:10] StarSeed0000: has joined #ruby
[18:21:17] gizmore|2: test driven php dev my ass
[18:21:27] gizmore: ruby test driven worked out nice
[18:21:32] gizmore: php is horrible
[18:22:51] eckhardt: has joined #ruby
[18:23:40] dmitriy_: has joined #ruby
[18:24:44] claudiuinberlin: has joined #ruby
[18:24:55] ramfjord: has joined #ruby
[18:25:47] dminuoso: gizmore: I should wear a PHP tshirt to work
[18:26:04] dminuoso: It's time I trolled my coworkers some more.
[18:26:38] dminuoso: Or maybe some "Who needs types if you can have runtime assertion failures instead!" shirt
[18:26:59] gizmore: "schei? encoding" – one of the best shirts
[18:27:33] eam: "why does php's lambda function return type string?"
[18:27:58] dminuoso: eam: It does?
[18:28:05] eam: http://php.net/create_function
[18:28:09] dminuoso: Let me guess, weak typing allows you to treat strings as functions?
[18:28:21] eam: yes, it returns the name of your "anonymous" function
[18:28:41] dmitriy_: has joined #ruby
[18:28:45] ams__: has joined #ruby
[18:28:51] dminuoso: No way, you can actually call a string.
[18:29:13] dminuoso: eam: Ive found an interesting metric by which to judge the quality of a language
[18:29:20] eam: $ php -r'echo(create_function("",""));echo("\n");'
[18:29:21] eam: lambda_1
[18:29:26] gizmore: php is so flawed
[18:29:31] eam: the second lambda you create is called "lambda_2"!
[18:29:33] nowhereman_: has joined #ruby
[18:29:48] eam: you can call a string in ruby too, fwiw
[18:29:56] eam: send, etc
[18:30:00] dminuoso: eam: Check out the official webpage. If the initial examples are filled with anti-intellectualism, then it's a good bet it wont change.
[18:30:08] dminuoso: Golang is a wonderful example of this.
[18:30:34] eam: go has a special place in my heart as it really has no excuse for getting unix so wrong given who its authors are
[18:30:37] eam: and yet
[18:31:13] dminuoso: golang is designed to have only features accessible by the common denominator, which is set at the lowest possible threshold.
[18:31:22] dminuoso: that tells you how much (lack) of abstractions you get.
[18:31:38] eam: it drives me crazy when people say things like "golang is a systems programming language" -- you can't even call fork() in it
[18:32:14] eam: it's basically java-lite. Which is an ok thing to be!
[18:32:23] dminuoso: It's Java without the tools that make Java bearable.
[18:32:29] dminuoso: It's insane.
[18:32:45] dminuoso: Java has fully blown higher kinded types. Java has generics.
[18:33:12] dminuoso: It just has a terrible community and a horrifying noisy syntax, but it has plenty strong features.
[18:33:32] eam: have you ever written a c extension in go?
[18:33:41] dmitriy_: has joined #ruby
[18:33:59] eam: ok so, you know how go gets so authoritarian over proper syntax, formatting, process, layout, etc?
[18:34:20] dminuoso: eam: Not sure what exactly you are getting at
[18:34:56] cdg: has joined #ruby
[18:35:08] dminuoso: eam: Are you talking about Rob and Ken being guilty for making Go the way it is?
[18:35:29] eam: well, this is in stark contrast to how C extensions are done which is "stick a bunch of C code in a comment in your go file and it'll just magically compile it"
[18:35:40] cdg: has joined #ruby
[18:35:54] eam: it's so incredibly slapdash
[18:36:14] [Butch]: has joined #ruby
[18:36:40] dminuoso: eam: That's CVS level of "lets just use comments to integrate this and that"
[18:37:01] eam: /* #include <stdlib>; int thingy(..) { *p = *q } */ // thingy() will be visible to the go module this comment is included in
[18:37:39] eam: real example, I wrote bindings for a k/v c library store: https://github.com/eam/go-mdbm/blob/master/mdbm.go
[18:38:28] eam: you get a #cgo pragma to send the compiler flags and the rest gets slurped out into cc
[18:38:40] dmitriy_: has joined #ruby
[18:38:43] anisha: has joined #ruby
[18:39:58] tomphp: has joined #ruby
[18:40:19] cdg_: has joined #ruby
[18:40:31] PMS: has joined #ruby
[18:41:50] karapetyan: has joined #ruby
[18:42:27] dminuoso: eam: Simplicity!
[18:43:40] dmitriy_: has joined #ruby
[18:43:46] eam: it's not the craziest thing but I found it rather in contrast to the rigidity found elsewhere
[18:44:23] tomphp: has joined #ruby
[18:45:17] dminuoso: eam: Though in all fairness, build systems are a majorly complicated topic.
[18:45:35] gizmore: build systems are all horrible.. i love the F5 toolchain
[18:45:51] pastorinni: has joined #ruby
[18:46:10] dminuoso: Until this day, there is not a single language that has a robust build chain, that allows you to easily integrate say native extensions, manage dependencies, configuration - perhaps even deployment..
[18:46:25] pastorinni: has joined #ruby
[18:46:44] dminuoso: eam: Whatever go has to offer, it's tons better than trying to use any of GNU autotools to wire some native extension into say ruby.
[18:46:56] eam: there is a language which does all that, and it's the lingua franca of FFI -- it's called C :)
[18:47:11] eam: yeah autotools are garbage
[18:47:25] eam: but the thing is they're optional
[18:47:32] dminuoso: eam: that depends on what you are doing.
[18:47:32] eam: I just don't use them
[18:48:08] dminuoso: eam: If you are writing a kernel from scratch using GCC, you have locked yourself into a small room with a crazy clown.
[18:48:19] eam: eh, it's not bad at all
[18:48:41] dmitriy_: has joined #ruby
[18:49:06] dminuoso: eam: Ive debugged my share of m4 macros and configure scripts.
[18:49:25] eam: most projects would be better off with a simple makefile
[18:50:30] dminuoso: eam: Im quite curious how well cabal turns out in Haskell. So far it has been curiously hassle free, but something that "just works out of the box" is bound to become... "interesting" when things become non-trivial.
[18:50:57] dminuoso: But yeah, GNU make is (for a GNU project) surprisingly good on its own.
[18:52:15] eam: every language has to invent its own build system, its own packaging system
[18:53:02] willmichael: has joined #ruby
[18:53:30] eam: kinda wish everyone would just go back to agreeing to use common infra like make
[18:53:39] dmitriy_: has joined #ruby
[18:53:44] eam: and some kind of universal packaging structure
[18:53:54] dminuoso: eam: If we can agree to ditch C worldwide..
[18:54:10] dminuoso: Oh wait. Universal packaging structure.
[18:54:18] dminuoso: eam: https://xkcd.com/927/
[18:54:22] tomphp: has joined #ruby
[18:54:28] eam: I know I know!
[18:54:38] eam: stuff like fpm helps enormously
[18:55:12] eam: I spent a few years writing similar translators between packaging systems
[18:55:32] eam: now packaging is dead, because we just build entire containers and toss them each time we change them
[18:55:50] SeepingN: has joined #ruby
[18:56:00] eam: maybe the dockerfile is the replacment for both build time and run time dependency management
[18:57:51] eam: I'm gonna end up a grumpy old gramps shaking my walking stick at kids these days who don't care about what's going on inside their build container
[18:58:06] schneider: has joined #ruby
[18:58:07] dminuoso: eam: That already happens.
[18:58:14] eam: the future is now
[18:58:34] dminuoso: eam: How many people using docker do you think even know what lxc is
[18:58:41] eam: like none
[18:58:44] dmitriy_: has joined #ruby
[18:58:58] tomphp: has joined #ruby
[18:59:03] eam: I have a whole presentation for breaking down containers for app engineers
[18:59:35] dminuoso: eam: You mean beyond some complete garbage "look the kernel consists of 3 things" ?
[18:59:57] mtkd: has joined #ruby
[18:59:57] dminuoso: Because that seems to be the knowledge bolted into everyone I meet who uses Docker.
[19:00:15] eam: yeah it's basically a "so docker is just an interface into these existing features of the kernel. it's productionalizing access to them"
[19:01:18] jnollette: has joined #ruby
[19:03:19] tomphp: has joined #ruby
[19:03:23] craysiii: anyone know of a semi-current SIP client gem?
[19:03:42] dmitriy_: has joined #ruby
[19:06:12] dminuoso: craysiii: Low level primitive? Whats the purpose?
[19:06:50] karapetyan: has joined #ruby
[19:07:05] jaruga: has joined #ruby
[19:08:41] dmitriy_: has joined #ruby
[19:09:29] craysiii: i'm considering writing a wrapper for a service which provides some SIP endpoints, would like to be able to bundle that in
[19:11:38] drewmcmi_: has joined #ruby
[19:11:46] ramfjord: has joined #ruby
[19:13:42] dmitriy_: has joined #ruby
[19:14:06] bmurt: has joined #ruby
[19:15:26] dminuoso: ACTION imagines craysiii was tasked to "We decided to sell a new product. Video telephony over the internet. Mr craysiii, you said you knew what SIP was" - "What I meant I _have_ a SIP capa..." - "That's good enough. We want to start selling in 4 weeks"
[19:16:16] karapetyan: has joined #ruby
[19:16:43] craysiii: Haha in some way I wish that was the case - it would mean I have a dev job :P
[19:16:57] guacamole: has joined #ruby
[19:16:57] guacamole: has joined #ruby
[19:17:44] n008f4g_: has joined #ruby
[19:18:40] craysiii: Really I am just interested in learning Ruby more, creating open source gems, and hopefully getting a Ruby job one day
[19:18:40] dmitriy_: has joined #ruby
[19:19:11] guacamole: has joined #ruby
[19:19:11] guacamole: has joined #ruby
[19:20:44] mcr1: has joined #ruby
[19:23:43] dmitriy_: has joined #ruby
[19:25:32] guille-moe: has joined #ruby
[19:25:32] priodev: has joined #ruby
[19:26:33] karapetyan: has joined #ruby
[19:27:41] mniip: has joined #ruby
[19:28:44] dmitriy_: has joined #ruby
[19:28:52] jaruga: has joined #ruby
[19:29:00] InfinityFye: has joined #ruby
[19:31:32] hackeron: has joined #ruby
[19:33:42] dmitriy_: has joined #ruby
[19:34:04] cdg: has joined #ruby
[19:34:07] karapetyan: has joined #ruby
[19:34:31] elcontrastador: has joined #ruby
[19:38:43] dmitriy_: has joined #ruby
[19:40:21] funnel: has joined #ruby
[19:41:20] hahuang65: has joined #ruby
[19:42:27] kies: has joined #ruby
[19:43:44] dmitriy_: has joined #ruby
[19:43:50] coderphive: has joined #ruby
[19:44:10] segy: has joined #ruby
[19:45:50] aguestuser: has joined #ruby
[19:46:59] Dimik: has joined #ruby
[19:48:13] cschneid: has joined #ruby
[19:48:45] dmitriy_: has joined #ruby
[19:49:09] cschneid: has joined #ruby
[19:50:12] hinbody: has joined #ruby
[19:50:26] karapetyan: has joined #ruby
[19:53:42] dmitriy_: has joined #ruby
[19:54:23] dminuoso: havenwood: Found it: https://github.com/ruby/ruby/commit/9c927f8c8b6773ac24f2ba404027d5701704331e
[19:54:29] dminuoso: Guess it's fixed. ;-)
[19:57:24] phenom: has joined #ruby
[19:58:45] dmitriy_: has joined #ruby
[20:02:10] karapetyan: has joined #ruby
[20:03:45] dmitriy_: has joined #ruby
[20:08:43] dmitriy_: has joined #ruby
[20:12:04] shpoont: has joined #ruby
[20:12:27] havenwood: dminuoso: aha!
[20:14:08] gr33n7007h: has joined #ruby
[20:15:09] dmitriy_: has joined #ruby
[20:17:36] karapetyan: has joined #ruby
[20:19:04] mtkd: has joined #ruby
[20:19:59] droidburgundy: has joined #ruby
[20:20:09] dmitriy_: has joined #ruby
[20:20:13] karapetyan: has joined #ruby
[20:25:09] dmitriy_: has joined #ruby
[20:26:02] willmichael: has joined #ruby
[20:31:47] DroidBur_: has joined #ruby
[20:33:02] dmitriy_: has joined #ruby
[20:33:04] dviola: has joined #ruby
[20:34:58] bmurt: has joined #ruby
[20:37:59] dmitriy_: has joined #ruby
[20:38:56] willmichael: has joined #ruby
[20:41:48] hahuang61: has joined #ruby
[20:42:58] dmitriy_: has joined #ruby
[20:44:09] workmad3: has joined #ruby
[20:44:10] za1b1tsu: has joined #ruby
[20:46:07] sidx64: has joined #ruby
[20:46:19] bmurt: has joined #ruby
[20:47:59] dmitriy_: has joined #ruby
[20:48:01] szulak: has joined #ruby
[20:49:10] c0ncealed: has joined #ruby
[20:49:26] sameerynho: has joined #ruby
[20:50:06] rrutkowski: has joined #ruby
[20:51:24] AxelAlex: has joined #ruby
[20:53:02] dmitriy_: has joined #ruby
[20:53:25] AndBobsYourUncle: has joined #ruby
[20:53:38] pastorinni: has joined #ruby
[20:54:30] rrutkowski: has joined #ruby
[20:55:44] cdg: has joined #ruby
[20:58:02] dmitriy_: has joined #ruby
[20:58:03] memo1: has joined #ruby
[21:01:59] cdg: has joined #ruby
[21:02:59] dmitriy_: has joined #ruby
[21:06:36] goatish: has joined #ruby
[21:06:53] rwb: has joined #ruby
[21:07:13] karapetyan: has joined #ruby
[21:08:02] dmitriy_: has joined #ruby
[21:09:13] cdg_: has joined #ruby
[21:10:37] guacamole: has joined #ruby
[21:10:37] guacamole: has joined #ruby
[21:12:01] hahuang61: has joined #ruby
[21:12:58] dmitriy_: has joined #ruby
[21:14:48] Cu5tosLimen: has joined #ruby
[21:18:00] dmitriy_: has joined #ruby
[21:18:07] guacamole: has joined #ruby
[21:18:07] guacamole: has joined #ruby
[21:20:40] cagomez: has joined #ruby
[21:21:06] sameerynho: has joined #ruby
[21:23:02] dmitriy_: has joined #ruby
[21:23:17] faelkle: has joined #ruby
[21:23:18] inukshuk: has joined #ruby
[21:23:38] karapetyan: has joined #ruby
[21:23:48] kspencer: best way to check if a certain directory (specifically '$HOME/.local/bin') is in the $PATH
[21:23:59] kspencer: any one have any ideas?
[21:25:00] soahccc: has joined #ruby
[21:25:03] tuelz: has joined #ruby
[21:26:11] cdg: has joined #ruby
[21:26:55] shortdudey123: has joined #ruby
[21:27:02] cagomez: has joined #ruby
[21:27:13] Carll: has left #ruby: ()
[21:27:59] dmitriy_: has joined #ruby
[21:28:24] cagomez_: has joined #ruby
[21:30:41] hahuang61: has joined #ruby
[21:31:40] kspencer: did find this way, paths = [];ENV['PATH'].split(':').each { |path| paths << Pathname(path) }
[21:31:56] hahuang65: has joined #ruby
[21:32:13] kspencer: though that may not be very platform independent
[21:32:16] Mike11: has joined #ruby
[21:32:30] PMS: has joined #ruby
[21:32:41] cadillac_: has joined #ruby
[21:32:59] dmitriy_: has joined #ruby
[21:33:04] jenrzzz: has joined #ruby
[21:33:04] jenrzzz: has joined #ruby
[21:33:06] bweston92: has joined #ruby
[21:33:38] StarSeed0000: has joined #ruby
[21:35:27] kspencer: although I kinda want to cut out the << bit but can't think how, I want to say map could do it.. but not to sure on classes
[21:37:53] faelkle: has left #ruby: ()
[21:38:02] dmitriy_: has joined #ruby
[21:43:02] dmitriy_: has joined #ruby
[21:43:09] drewmcmillan: has joined #ruby
[21:43:57] memo1: has joined #ruby
[21:44:39] tomphp: has joined #ruby
[21:48:00] dmitriy_: has joined #ruby
[21:49:46] GotHyper: has joined #ruby
[21:50:18] karapetyan: has joined #ruby
[21:51:38] dinfuehr_: has joined #ruby
[21:52:11] Prutheus: has joined #ruby
[21:52:32] Prutheus: Hello. I want to build a gem (mysql2) on windows: gem install mysql2 --platform=ruby -- '--with-mysql-dir="C:/Program Files/MySQL/MySQL Connector C 6.1"'
[21:52:57] Prutheus: But for some reason i fail with: Cannot find include dir(s) C:/Program/include
[21:53:03] dmitriy_: has joined #ruby
[21:53:03] Prutheus: why is the path not working like i set it?
[21:58:03] dmitriy_: has joined #ruby
[22:00:22] faelkle_: has joined #ruby
[22:01:03] shpoont: has joined #ruby
[22:01:47] n0m4d1c: has joined #ruby
[22:02:37] qyliss: kspencer: ENV.fetch("PATH").split(File::PATH_SEPARATOR).map { |file| Pathname.new(file) }
[22:02:43] qyliss: Or something like that, is what I'd do
[22:03:02] dmitriy_: has joined #ruby
[22:03:07] qyliss: prutheus: some sort of quoting issue
[22:03:32] faelkle: has joined #ruby
[22:03:33] faelkle: has joined #ruby
[22:03:37] Prutheus: any idea how to quite it right?
[22:03:40] faelkle: has left #ruby: ()
[22:03:43] Yzguy: has joined #ruby
[22:05:11] tomphp: has joined #ruby
[22:05:29] qyliss: What happens if you don't use the double quotes?
[22:05:46] kspencer: qyliss: thanks for that, though i'm having another problem, I'm unsure how to have my script check if PATH contains that path, providing that it seems since I have it set in .profile, but yet when it grabs the list, that directory isn't in there, though I assume that's due to how ENV pulls its variables (shell wise)
[22:06:23] qyliss: ENV gets all the environment variables from its parent process. How are you running the script?
[22:06:58] kspencer: bundler i guess, bundler exec gem-executable
[22:07:38] qyliss: Does the directory show up when you run `echo $PATH`?
[22:08:02] dmitriy_: has joined #ruby
[22:08:09] Prutheus: however i solved it
[22:08:24] Prutheus: but how can i pass such arguments in my gem file to bundler?
[22:08:33] qyliss: If you run `ruby -e "puts ENV['PATH']"` (no `bundle exec`) does it show up?
[22:08:40] qyliss: prutheus: you can't :(
[22:09:00] Prutheus: qyliss: but how to use that method in rails then?
[22:09:03] qyliss: I think there might be something you can put in .bundle/config
[22:09:26] kspencer: qyliss: its in ruby -e "puts ENV['PATH']"
[22:09:36] shpoont: has joined #ruby
[22:09:44] qyliss: And if you `bundle exec` that?/
[22:10:02] kspencer: bundle exec ruby -e ...?
[22:10:35] Prutheus: hwoever how can i isntall it in rails?
[22:10:36] minimalism: has joined #ruby
[22:11:06] karapetyan: has joined #ruby
[22:11:33] kspencer: qyliss: its in there too o_O
[22:11:50] qyliss: prutheus: Bundler will pick up local gems you've installed manually
[22:12:04] qyliss: kspencer: something else in your program must be messing with ENV
[22:13:04] dmitriy_: has joined #ruby
[22:13:23] Prutheus: but bundler is fetching it and isntalling it
[22:14:33] Prutheus: so how let it using the local installed gem?
[22:14:34] qyliss: What's in .bundle/config?
[22:15:12] Prutheus: does not exists
[22:15:31] qyliss: it should do that by default
[22:15:43] qyliss: I'm not sure, sorry
[22:16:08] Prutheus: if i leave it out of my gemfile it complains Gem::LoadError: mysql2 is not part of the bundle. Add it to your Gemfile.
[22:16:20] Prutheus: and if i put it in it installs the binary and not the working version i have compiled
[22:18:03] hahuang65: has joined #ruby
[22:18:05] dmitriy_: has joined #ruby
[22:20:21] karapetyan: has joined #ruby
[22:21:09] willmichael: has joined #ruby
[22:23:04] dmitriy_: has joined #ruby
[22:24:17] mtkd: has joined #ruby
[22:26:22] discopatrick: has joined #ruby
[22:27:21] milardovich: has joined #ruby
[22:28:01] dmitriy_: has joined #ruby
[22:28:24] Zaab1t: has joined #ruby
[22:28:32] Zaab1t: #join ruby-lang
[22:29:24] Zaab1t: guess this is the ruby channel :) I just started learning!
[22:29:40] Zaab1t: I feels like a language that really doesnt get in your way
[22:30:22] Zaab1t: I would love to see an example of how the `redo` keyword could be used for good
[22:30:37] graft: has joined #ruby
[22:30:54] graft: hey y'all, does anyone know how i can add gems to my bundle exec from the commandline?
[22:31:15] hahuang65: has joined #ruby
[22:31:21] graft: i.e., my Gemfile is missing something (puma), but i want 'bundle exec' to pretend like it is in there
[22:31:22] shpoont: has joined #ruby
[22:33:04] dmitriy_: has joined #ruby
[22:35:18] Vingador: has joined #ruby
[22:38:02] dmitriy_: has joined #ruby
[22:41:18] schneider: has joined #ruby
[22:43:03] dmitriy_: has joined #ruby
[22:44:15] hahuang65: has joined #ruby
[22:44:50] workmad3: has joined #ruby
[22:47:33] pastorinni: has joined #ruby
[22:48:04] dmitriy_: has joined #ruby
[22:48:14] roshanavand: has joined #ruby
[22:52:10] keithy: has joined #ruby
[22:53:05] dmitriy_: has joined #ruby
[22:57:45] guacamole: has joined #ruby
[22:57:45] guacamole: has joined #ruby
[22:58:04] dmitriy_: has joined #ruby
[23:00:17] ruby[bot]: has joined #ruby
[23:00:17] ChanServ: +o ruby[bot]
[23:00:49] ruby[bot]: -bb *!~Bergson@pD9E3165F.dip0.t-ipconnect.de *!~Bergson@pD9E3165F.dip0.t-ipconnect.de
[23:01:36] guacamole: has joined #ruby
[23:01:37] guacamole: has joined #ruby
[23:01:55] SynSynack: has joined #ruby
[23:03:03] dmitriy_: has joined #ruby
[23:04:49] shpoont: has joined #ruby
[23:05:15] cdg_: has joined #ruby
[23:06:06] cdg_: has joined #ruby
[23:08:03] dmitriy_: has joined #ruby
[23:11:37] Paraxial: has joined #ruby
[23:12:05] guacamole: has joined #ruby
[23:12:05] guacamole: has joined #ruby
[23:13:06] dmitriy_: has joined #ruby
[23:14:15] jeffreylevesque: has joined #ruby
[23:15:13] agent_white: has joined #ruby
[23:18:02] dmitriy_: has joined #ruby
[23:23:06] dmitriy_: has joined #ruby
[23:23:58] Xiti`: has joined #ruby
[23:24:37] karapetyan: has joined #ruby
[23:27:59] Xiti: has joined #ruby
[23:28:07] apeiros_: has joined #ruby
[23:28:08] dmitriy_: has joined #ruby
[23:28:14] nowhere_man: has joined #ruby
[23:28:43] eckhardt: has joined #ruby
[23:29:05] kapil___: has joined #ruby
[23:33:04] dmitriy_: has joined #ruby
[23:35:52] guacamole: has joined #ruby
[23:35:53] guacamole: has joined #ruby
[23:36:42] karapetyan: has joined #ruby
[23:37:21] zenspider: graft: I don't even understand what you want
[23:38:08] dmitriy_: has joined #ruby
[23:41:39] graft: zenspider: yeah i'm not sure it makes sense
[23:41:50] graft: zenspider: i solved my problem another way anyhow
[23:43:04] dmitriy_: has joined #ruby
[23:48:05] dmitriy_: has joined #ruby
[23:48:10] bmurt: has joined #ruby
[23:51:35] bmurt: has joined #ruby
[23:53:06] dmitriy_: has joined #ruby
[23:53:16] cagomez: has joined #ruby
[23:57:03] joe_from_maine: has joined #ruby
[23:57:25] mikhael_k33hl: has joined #ruby
[23:58:27] dmitriy_: has joined #ruby
[23:58:31] mikhael_k33hl: Anyone using concurrent-ruby? How does a future handle thread.kill?