« Back to channel list

#ruby - 29 May 2018

« Back 1 day Forward 1 day »
[00:05:53] jenrzzz: has joined #ruby
[00:13:38] parzydeuko: has joined #ruby
[00:14:33] ur5us: has joined #ruby
[00:17:58] sanscoeur: has joined #ruby
[00:23:20] dviola: has joined #ruby
[00:31:03] beefjoe70: has joined #ruby
[00:31:24] beefjoe70: Why doesn't my code outputs the stderr ?
[00:31:26] beefjoe70: https://hastebin.com/iqepidetik.rb
[00:31:52] banisterfiend: has joined #ruby
[00:34:59] minimalism: has joined #ruby
[00:39:56] jenrzzz: has joined #ruby
[00:45:32] baweaver: beefjoe70: Just use capture3
[00:50:11] emilford: has joined #ruby
[00:52:59] chongtxtx: has joined #ruby
[00:54:45] beefjoe70: baweaver I'm not able to use custom code with capture3
[00:54:57] beefjoe70: Open3.popen3(code)
[00:55:08] beefjoe70: that I take from ARGV[0]
[00:55:17] beefjoe70: and not pre defined in the code
[00:56:35] havenwood: beefjoe70: Neither of your openstructs are being returned. They'd have to be the last line.
[00:56:51] havenwood: beefjoe70: #puts returns `nil`
[00:57:09] beefjoe70: I mean with this https://hastebin.com/ihexuqipub.rb
[01:00:28] houhoulis: has joined #ruby
[01:01:04] houhoulis: has joined #ruby
[01:03:29] beefjoe70: havenwood there's no difference..
[01:03:43] beefjoe70: I think it's working fine with stdout though
[01:06:11] emilford: has joined #ruby
[01:10:02] karapetyan: has joined #ruby
[01:15:08] emilford: has joined #ruby
[01:15:46] gizmore|2: has joined #ruby
[01:18:47] beefjoe70: Why do I get the error like this
[01:18:48] beefjoe70: #<StringIO:0x00007fd9ff0643a8>
[01:18:51] sanscoeur: has joined #ruby
[01:20:30] jenrzzz: has joined #ruby
[01:25:22] beefjoe70: is there a way to change the output of e.message ?
[01:31:28] roamingdog: has joined #ruby
[01:32:31] emilford: has joined #ruby
[01:37:20] phenom: has joined #ruby
[01:41:01] emilford: has joined #ruby
[01:46:01] emilford: has joined #ruby
[01:48:59] havenwood: I tried to showcase some modern OptionParser features: https://gist.github.com/havenwood/02123198a79447543a3ea053e7e592fd
[01:50:10] havenwood: Maybe I'll do a writeup. It's a bit of a strange world. It's really nice once situated, but not super easy to wrangle.
[01:50:31] alfiemax: has joined #ruby
[01:50:50] havenwood: options.permute! into: paint
[01:53:29] Azure: has joined #ruby
[01:55:29] havenwood: Elegantly dealing with default arguments and options is one apparent gap with ARGV and OptionParser.
[01:56:03] armando: has joined #ruby
[02:02:47] ogres: has joined #ruby
[02:04:49] kapil___: has joined #ruby
[02:06:41] Jameser: has joined #ruby
[02:07:18] flips_: has joined #ruby
[02:08:00] daemonwrangler: has joined #ruby
[02:08:14] spider-mario: has joined #ruby
[02:08:33] ljarvis: has joined #ruby
[02:10:17] emilford: has joined #ruby
[02:12:03] jenrzzz: has joined #ruby
[02:14:10] tdy: has joined #ruby
[02:19:15] emilford: has joined #ruby
[02:19:40] quarters: has joined #ruby
[02:19:40] quarters: has joined #ruby
[02:19:43] sanscoeur: has joined #ruby
[02:23:20] fribmendes: has joined #ruby
[02:23:44] chamunks: has joined #ruby
[02:23:52] jhass|off: has joined #ruby
[02:24:54] jerryskye: has joined #ruby
[02:25:09] lypsis: has joined #ruby
[02:25:14] tbuehlmann: has joined #ruby
[02:25:24] Hobbyboy: has joined #ruby
[02:25:40] cats: has joined #ruby
[02:25:59] govg: has joined #ruby
[02:26:02] claw: has joined #ruby
[02:29:25] bmurt: has joined #ruby
[02:31:41] Vingador: has joined #ruby
[02:33:25] phenom_: has joined #ruby
[02:35:20] mikeiniowa: has joined #ruby
[02:37:15] emilford: has joined #ruby
[02:37:44] KevinMGranger: has joined #ruby
[02:37:44] Voxxit: has joined #ruby
[02:39:37] redlegion: has joined #ruby
[02:39:37] jnollette: has joined #ruby
[02:40:28] akhkharu: has joined #ruby
[02:40:28] jpterry: has joined #ruby
[02:41:15] orbyt_: has joined #ruby
[02:41:51] johnny56_: has joined #ruby
[02:42:09] Vingador: has joined #ruby
[02:42:09] cats: has joined #ruby
[02:42:10] tdy: has joined #ruby
[02:42:10] flips: has joined #ruby
[02:42:10] ogres: has joined #ruby
[02:42:10] alex``: has joined #ruby
[02:42:10] agent_white: has joined #ruby
[02:42:10] scrptktty: has joined #ruby
[02:42:10] sagax: has joined #ruby
[02:42:10] moei: has joined #ruby
[02:42:10] donofrio: has joined #ruby
[02:42:10] izaac: has joined #ruby
[02:42:31] Vingador: has joined #ruby
[02:43:01] trautwein: has joined #ruby
[02:43:11] tdy: has joined #ruby
[02:43:12] alex``: has joined #ruby
[02:43:38] moei: has joined #ruby
[02:44:05] donofrio: has joined #ruby
[02:44:36] ogres: has joined #ruby
[02:45:18] ogres: has joined #ruby
[02:45:19] alex``: has joined #ruby
[02:45:19] tdy: has joined #ruby
[02:45:19] daemonwrangler: has joined #ruby
[02:45:19] nowhere_man: has joined #ruby
[02:45:19] tAn: has joined #ruby
[02:45:19] cthu|: has joined #ruby
[02:45:19] Sylario: has joined #ruby
[02:45:19] Nussi: has joined #ruby
[02:45:19] ujjain: has joined #ruby
[02:45:19] EXCHGR: has joined #ruby
[02:45:19] elliottcable: has joined #ruby
[02:45:19] crankharder: has joined #ruby
[02:45:19] mrush: has joined #ruby
[02:45:19] canton7: has joined #ruby
[02:45:19] j416: has joined #ruby
[02:45:19] Flashynuff: has joined #ruby
[02:45:19] havenwood: has joined #ruby
[02:45:19] hfp_work: has joined #ruby
[02:45:19] S007: has joined #ruby
[02:45:19] heftig: has joined #ruby
[02:45:19] AlHafoudh: has joined #ruby
[02:45:19] ablackack: has joined #ruby
[02:45:19] face: has joined #ruby
[02:45:19] bauruine: has joined #ruby
[02:45:19] sonne: has joined #ruby
[02:45:19] heyimwill: has joined #ruby
[02:45:19] marius: has joined #ruby
[02:45:19] tw1sted: has joined #ruby
[02:45:19] mahlon: has joined #ruby
[02:45:19] gs: has joined #ruby
[02:45:19] ectos: has joined #ruby
[02:45:19] diegok: has joined #ruby
[02:45:19] ecksian: has joined #ruby
[02:45:20] duracrisis: has joined #ruby
[02:45:20] mniip: has joined #ruby
[02:45:26] tpendragon: has joined #ruby
[02:45:26] t0xik: has joined #ruby
[02:45:26] iamdevnul: has joined #ruby
[02:45:26] jud: has joined #ruby
[02:45:26] larissa: has joined #ruby
[02:45:26] envex: has joined #ruby
[02:45:26] mjolnird: has joined #ruby
[02:45:26] webhat: has joined #ruby
[02:45:26] z3uS: has joined #ruby
[02:45:26] jwheare: has joined #ruby
[02:45:26] bathtub_shark: has joined #ruby
[02:45:26] ohcibi: has joined #ruby
[02:45:26] sudorobo: has joined #ruby
[02:45:26] Xeago: has joined #ruby
[02:45:26] cpallares: has joined #ruby
[02:45:26] SegFaultAX: has joined #ruby
[02:45:26] Evesy: has joined #ruby
[02:45:26] Liothen: has joined #ruby
[02:45:26] cgfbee: has joined #ruby
[02:46:12] ogres: has joined #ruby
[02:46:15] ectos: has joined #ruby
[02:46:20] envex: has joined #ruby
[02:46:21] emilford: has joined #ruby
[02:46:45] S007: has joined #ruby
[02:47:50] matthewd: has joined #ruby
[02:47:50] fmccann: has joined #ruby
[02:47:50] saksida: has joined #ruby
[02:47:50] ErhardtMundt: has joined #ruby
[02:47:50] Guest8837: has joined #ruby
[02:47:50] mattp__: has joined #ruby
[02:47:50] Guest62913: has joined #ruby
[02:47:50] Mrgoose2: has joined #ruby
[02:47:50] bmn: has joined #ruby
[02:47:50] wmoxam: has joined #ruby
[02:47:50] noizex: has joined #ruby
[02:47:50] genta0: has joined #ruby
[02:47:50] elementaru_: has joined #ruby
[02:47:50] soahccc: has joined #ruby
[02:47:50] dorian: has joined #ruby
[02:47:50] Siarkowy: has joined #ruby
[02:47:50] irick: has joined #ruby
[02:47:50] z4phod: has joined #ruby
[02:47:50] hays: has joined #ruby
[02:47:50] inukshuk: has joined #ruby
[02:47:51] nOwz: has joined #ruby
[02:47:51] priodev: has joined #ruby
[02:47:51] camilasan: has joined #ruby
[02:47:51] joast: has joined #ruby
[02:47:51] marens: has joined #ruby
[02:47:51] universa1: has joined #ruby
[02:47:51] gil_: has joined #ruby
[02:47:51] syndikate: has joined #ruby
[02:47:51] \13k: has joined #ruby
[02:47:51] Caius: has joined #ruby
[02:47:51] Ryzokuken: has joined #ruby
[02:47:51] mlehrer: has joined #ruby
[02:47:51] eb0t: has joined #ruby
[02:47:51] DarthGandalf: has joined #ruby
[02:47:51] pabs: has joined #ruby
[02:47:51] Ropeney: has joined #ruby
[02:47:51] gix: has joined #ruby
[02:47:51] dhollinger: has joined #ruby
[02:47:51] LucasTT: has joined #ruby
[02:47:51] vondruch: has joined #ruby
[02:47:51] apeiros: has joined #ruby
[02:47:51] dr3wo: has joined #ruby
[02:47:51] ljarvis: has joined #ruby
[02:47:51] r3dc0d3r: has joined #ruby
[02:47:51] S007: has joined #ruby
[02:47:51] emilford: has joined #ruby
[02:47:51] envex: has joined #ruby
[02:47:51] ectos: has joined #ruby
[02:47:51] ogres: has joined #ruby
[02:47:51] Liothen: has joined #ruby
[02:47:52] Evesy: has joined #ruby
[02:47:52] SegFaultAX: has joined #ruby
[02:47:52] cpallares: has joined #ruby
[02:47:52] Xeago: has joined #ruby
[02:47:52] sudorobo: has joined #ruby
[02:47:52] ohcibi: has joined #ruby
[02:47:52] bathtub_shark: has joined #ruby
[02:47:52] jwheare: has joined #ruby
[02:47:52] z3uS: has joined #ruby
[02:47:52] webhat: has joined #ruby
[02:47:52] mjolnird: has joined #ruby
[02:47:52] larissa: has joined #ruby
[02:47:52] jud: has joined #ruby
[02:47:52] iamdevnul: has joined #ruby
[02:47:52] t0xik: has joined #ruby
[02:47:52] tpendragon: has joined #ruby
[02:47:52] mniip: has joined #ruby
[02:47:52] duracrisis: has joined #ruby
[02:47:53] ecksian: has joined #ruby
[02:47:53] diegok: has joined #ruby
[02:47:53] gs: has joined #ruby
[02:47:53] mahlon: has joined #ruby
[02:47:53] tw1sted: has joined #ruby
[02:47:53] marius: has joined #ruby
[02:47:53] heyimwill: has joined #ruby
[02:47:53] sonne: has joined #ruby
[02:47:53] bauruine: has joined #ruby
[02:47:53] face: has joined #ruby
[02:47:53] ablackack: has joined #ruby
[02:47:53] AlHafoudh: has joined #ruby
[02:47:53] heftig: has joined #ruby
[02:47:53] hfp_work: has joined #ruby
[02:47:53] havenwood: has joined #ruby
[02:47:53] Flashynuff: has joined #ruby
[02:47:53] j416: has joined #ruby
[02:47:53] canton7: has joined #ruby
[02:47:53] mrush: has joined #ruby
[02:47:53] crankharder: has joined #ruby
[02:47:53] EXCHGR: has joined #ruby
[02:47:53] ujjain: has joined #ruby
[02:47:53] Nussi: has joined #ruby
[02:47:53] Sylario: has joined #ruby
[02:47:53] cthu|: has joined #ruby
[02:47:53] tAn: has joined #ruby
[02:47:53] nowhere_man: has joined #ruby
[02:47:53] daemonwrangler: has joined #ruby
[02:47:53] tdy: has joined #ruby
[02:47:53] alex``: has joined #ruby
[02:47:53] donofrio: has joined #ruby
[02:47:53] moei: has joined #ruby
[02:47:54] trautwein: has joined #ruby
[02:47:54] izaac: has joined #ruby
[02:47:54] sagax: has joined #ruby
[02:47:54] scrptktty: has joined #ruby
[02:47:54] agent_white: has joined #ruby
[02:47:54] flips: has joined #ruby
[02:47:54] cats: has joined #ruby
[02:47:54] johnny56_: has joined #ruby
[02:47:54] orbyt_: has joined #ruby
[02:47:54] jpterry: has joined #ruby
[02:47:54] akhkharu: has joined #ruby
[02:47:54] jnollette: has joined #ruby
[02:47:54] redlegion: has joined #ruby
[02:47:54] Voxxit: has joined #ruby
[02:47:54] mikeiniowa: has joined #ruby
[02:47:54] phenom: has joined #ruby
[02:47:54] bmurt: has joined #ruby
[02:47:54] claw: has joined #ruby
[02:47:54] govg: has joined #ruby
[02:47:54] Hobbyboy: has joined #ruby
[02:47:54] tbuehlmann: has joined #ruby
[02:47:54] lypsis: has joined #ruby
[02:47:54] jerryskye: has joined #ruby
[02:47:54] jhass: has joined #ruby
[02:47:54] chamunks: has joined #ruby
[02:47:55] Guest90374: has joined #ruby
[02:47:55] Jameser: has joined #ruby
[02:47:55] kapil___: has joined #ruby
[02:47:55] armando: has joined #ruby
[02:47:55] Azure: has joined #ruby
[02:47:55] gizmore|2: has joined #ruby
[02:47:55] houhoulis: has joined #ruby
[02:47:55] chongtxtx: has joined #ruby
[02:47:55] minimalism: has joined #ruby
[02:47:55] banisterfiend: has joined #ruby
[02:47:55] dviola: has joined #ruby
[02:47:55] ur5us: has joined #ruby
[02:47:55] Mia: has joined #ruby
[02:47:55] Guest80598: has joined #ruby
[02:47:55] Tau: has joined #ruby
[02:47:55] weaksauce: has joined #ruby
[02:47:55] darkhanb: has joined #ruby
[02:47:55] nicesignal: has joined #ruby
[02:47:55] BTRE: has joined #ruby
[02:47:55] zxq2: has joined #ruby
[02:47:55] psmolen: has joined #ruby
[02:47:55] SuperLag: has joined #ruby
[02:47:55] \void: has joined #ruby
[02:47:55] foxxx0: has joined #ruby
[02:47:55] idiocrash: has joined #ruby
[02:47:55] Asher: has joined #ruby
[02:47:55] dinfuehr_: has joined #ruby
[02:47:56] pocketprotector: has joined #ruby
[02:47:56] Esa_: has joined #ruby
[02:47:56] Harzilein: has joined #ruby
[02:47:56] iNs: has joined #ruby
[02:47:56] DTZUZO: has joined #ruby
[02:47:56] meinside: has joined #ruby
[02:47:56] gnufied: has joined #ruby
[02:47:56] samosaphile: has joined #ruby
[02:47:56] kloeri: has joined #ruby
[02:47:56] ciscam: has joined #ruby
[02:47:56] russt: has joined #ruby
[02:47:56] p0p0pr37: has joined #ruby
[02:47:56] swein: has joined #ruby
[02:47:56] z64: has joined #ruby
[02:47:56] thinkpad: has joined #ruby
[02:47:56] linuxdaemon: has joined #ruby
[02:47:56] Tharbakery: has joined #ruby
[02:47:56] Nightmare: has joined #ruby
[02:47:56] mnemon: has joined #ruby
[02:47:56] rikai_: has joined #ruby
[02:47:56] sinduck_: has joined #ruby
[02:47:56] andywojo: has joined #ruby
[02:47:56] Yonk__: has joined #ruby
[02:47:56] TinkerT: has joined #ruby
[02:47:57] Emmanuel_Chanel: has joined #ruby
[02:47:57] cibs: has joined #ruby
[02:47:57] pskosinski: has joined #ruby
[02:47:57] c0ncealed1: has joined #ruby
[02:47:57] thi: has joined #ruby
[02:47:57] bga57: has joined #ruby
[02:47:57] goez: has joined #ruby
[02:47:57] Thiru: has joined #ruby
[02:47:57] lele: has joined #ruby
[02:47:57] n3b: has joined #ruby
[02:47:57] Dabo: has joined #ruby
[02:47:57] segy: has joined #ruby
[02:47:57] weird_error: has joined #ruby
[02:47:57] pavelz: has joined #ruby
[02:47:57] nickjj: has joined #ruby
[02:47:57] Kilo`byte: has joined #ruby
[02:47:57] x0F: has joined #ruby
[02:47:57] dminuoso: has joined #ruby
[02:47:57] sonOfRa: has joined #ruby
[02:47:57] DEac-: has joined #ruby
[02:47:57] BH23: has joined #ruby
[02:47:57] matti: has joined #ruby
[02:47:57] sauvin: has joined #ruby
[02:47:57] zenspider: has joined #ruby
[02:47:57] Tempesta: has joined #ruby
[02:47:58] xMopx: has joined #ruby
[02:47:58] pragmatism: has joined #ruby
[02:47:58] duderonomy: has joined #ruby
[02:47:58] andrevan: has joined #ruby
[02:47:58] mrBen2k2k2k: has joined #ruby
[02:47:58] shaman42: has joined #ruby
[02:47:58] Danielss89: has joined #ruby
[02:47:58] jalcine: has joined #ruby
[02:47:58] stairmast0r: has joined #ruby
[02:47:58] lupine: has joined #ruby
[02:47:58] pwnd_nsfw`: has joined #ruby
[02:47:58] LightStalker: has joined #ruby
[02:47:58] jrabe: has joined #ruby
[02:47:58] jrm: has joined #ruby
[02:47:58] eblip: has joined #ruby
[02:47:58] shortdudey123: has joined #ruby
[02:47:58] mostly-harmless: has joined #ruby
[02:47:58] Paraxial: has joined #ruby
[02:47:58] yokel: has joined #ruby
[02:47:58] chihhsin: has joined #ruby
[02:47:58] mkroman: has joined #ruby
[02:47:58] donkey-hotei: has joined #ruby
[02:47:58] arne: has joined #ruby
[02:47:58] elomatreb: has joined #ruby
[02:47:58] norfumpit: has joined #ruby
[02:47:58] gigetoo: has joined #ruby
[02:47:58] graingert: has joined #ruby
[02:47:58] brucebag: has joined #ruby
[02:47:59] olspookishmagus: has joined #ruby
[02:47:59] eck: has joined #ruby
[02:47:59] shadeslayer: has joined #ruby
[02:47:59] zapata: has joined #ruby
[02:47:59] levifig: has joined #ruby
[02:47:59] mrsolo: has joined #ruby
[02:47:59] Chew: has joined #ruby
[02:47:59] Zinder: has joined #ruby
[02:47:59] Fire-Dragon-DoL: has joined #ruby
[02:47:59] naquad: has joined #ruby
[02:47:59] AKPWD: has joined #ruby
[02:47:59] ptx0: has joined #ruby
[02:47:59] micutzu: has joined #ruby
[02:47:59] dtzuzu: has joined #ruby
[02:47:59] ghormoon: has joined #ruby
[02:47:59] dmgk: has joined #ruby
[02:47:59] Eiam: has joined #ruby
[02:47:59] jordanm: has joined #ruby
[02:47:59] matled: has joined #ruby
[02:47:59] _whitelogger: has joined #ruby
[02:47:59] CrazyEddy: has joined #ruby
[02:47:59] ByronJohnson: has joined #ruby
[02:47:59] darix: has joined #ruby
[02:47:59] yxhuvud: has joined #ruby
[02:47:59] garyserj: has joined #ruby
[02:47:59] NightMonkey: has joined #ruby
[02:47:59] nfsnobody: has joined #ruby
[02:47:59] hahuang65: has joined #ruby
[02:47:59] shoogz: has joined #ruby
[02:47:59] krasnus: has joined #ruby
[02:47:59] znz_jp: has joined #ruby
[02:47:59] TheBrayn: has joined #ruby
[02:48:00] tomeaton17: has joined #ruby
[02:48:00] Aloy: has joined #ruby
[02:48:00] Hien: has joined #ruby
[02:48:00] cschneid_: has joined #ruby
[02:48:00] justizin: has joined #ruby
[02:48:00] SirFunk: has joined #ruby
[02:48:00] nielsk: has joined #ruby
[02:48:00] Guest33581: has joined #ruby
[02:48:00] edwardly: has joined #ruby
[02:48:00] reaVer: has joined #ruby
[02:48:00] WA9ACE: has joined #ruby
[02:48:00] Nilium: has joined #ruby
[02:48:00] JDeen: has joined #ruby
[02:48:00] valkyr2e: has joined #ruby
[02:48:00] avelldiroll: has joined #ruby
[02:48:00] Apocalypse: has joined #ruby
[02:48:00] tjbp: has joined #ruby
[02:48:00] Mon_Ouie: has joined #ruby
[02:48:00] rupam123456: has joined #ruby
[02:48:00] halbbalda_: has joined #ruby
[02:48:00] octomancer: has joined #ruby
[02:48:00] miah: has joined #ruby
[02:48:00] erlend: has joined #ruby
[02:48:00] r3m: has joined #ruby
[02:48:00] yadnesh: has joined #ruby
[02:48:01] ltd: has joined #ruby
[02:48:01] LenPayne: has joined #ruby
[02:48:01] jokester: has joined #ruby
[02:48:01] esObe: has joined #ruby
[02:48:01] cschneid_: has joined #ruby
[02:48:01] n13z: has joined #ruby
[02:48:01] sina: has joined #ruby
[02:48:01] Meow-J___: has joined #ruby
[02:48:01] justache: has joined #ruby
[02:48:01] ircmaxell: has joined #ruby
[02:48:01] darthThorik: has joined #ruby
[02:48:01] lunarkitty7: has joined #ruby
[02:48:01] Xiti: has joined #ruby
[02:48:01] epochwolf: has joined #ruby
[02:48:01] kspencer: has joined #ruby
[02:48:01] pwillard: has joined #ruby
[02:48:01] peteretep: has joined #ruby
[02:48:01] cttttt: has joined #ruby
[02:48:02] boxrick: has joined #ruby
[02:48:02] solidsnack: has joined #ruby
[02:48:02] KnownSyntax: has joined #ruby
[02:48:02] andersh: has joined #ruby
[02:48:02] jabreity: has joined #ruby
[02:48:02] kireevco: has joined #ruby
[02:48:02] craysiii: has joined #ruby
[02:48:02] Tony-St4rk: has joined #ruby
[02:48:02] rann: has joined #ruby
[02:48:02] jxf: has joined #ruby
[02:48:02] podman: has joined #ruby
[02:48:02] cjs226: has joined #ruby
[02:48:02] Guest59221: has joined #ruby
[02:48:02] synstack: has joined #ruby
[02:48:02] Fenhl: has joined #ruby
[02:48:02] jetpack_joe: has joined #ruby
[02:48:02] deimos: has joined #ruby
[02:48:02] argoneus: has joined #ruby
[02:48:03] mattwc: has joined #ruby
[02:48:03] jhill__: has joined #ruby
[02:48:03] machty: has joined #ruby
[02:48:03] [diecast]: has joined #ruby
[02:48:03] aarongodin: has joined #ruby
[02:48:03] kaia: has joined #ruby
[02:48:03] hsiktas: has joined #ruby
[02:48:03] drale2k: has joined #ruby
[02:48:03] cliluw: has joined #ruby
[02:48:03] mozzarella: has joined #ruby
[02:48:03] tuelz: has joined #ruby
[02:48:03] Cthulu201: has joined #ruby
[02:48:03] chat_: has joined #ruby
[02:48:03] halt-: has joined #ruby
[02:48:03] nebben: has joined #ruby
[02:48:03] Raboo: has joined #ruby
[02:48:03] yosafbridge: has joined #ruby
[02:48:03] leah2: has joined #ruby
[02:48:03] fullstack_: has joined #ruby
[02:48:03] noodle: has joined #ruby
[02:48:03] graft: has joined #ruby
[02:48:03] ghoti: has joined #ruby
[02:48:04] tomaw: has joined #ruby
[02:48:04] xtsee: has joined #ruby
[02:48:04] reu: has joined #ruby
[02:48:04] TvL2386_: has joined #ruby
[02:48:04] jokke1: has joined #ruby
[02:48:04] linduxed: has joined #ruby
[02:48:04] d^sh: has joined #ruby
[02:48:04] galeido: has joined #ruby
[02:48:04] drakan: has joined #ruby
[02:48:04] byte512: has joined #ruby
[02:48:04] PaulePanter: has joined #ruby
[02:48:04] kent\n: has joined #ruby
[02:48:04] arooni: has joined #ruby
[02:48:04] wget: has joined #ruby
[02:48:04] daxroc: has joined #ruby
[02:48:04] guardian: has joined #ruby
[02:48:04] CBebop: has joined #ruby
[02:48:04] kke: has joined #ruby
[02:48:04] j0bk: has joined #ruby
[02:48:04] jp: has joined #ruby
[02:48:04] ule: has joined #ruby
[02:48:05] zululee: has joined #ruby
[02:48:05] Inoperable: has joined #ruby
[02:48:05] jsrn: has joined #ruby
[02:48:05] m27frogy: has joined #ruby
[02:48:05] Hanmac: has joined #ruby
[02:48:05] twe4ked: has joined #ruby
[02:48:05] Guest9089: has joined #ruby
[02:48:05] bdnelson: has joined #ruby
[02:48:05] eam: has joined #ruby
[02:48:05] Guest9512: has joined #ruby
[02:48:05] Junaos: has joined #ruby
[02:48:05] rideh: has joined #ruby
[02:48:05] chaos95: has joined #ruby
[02:48:05] nibbo: has joined #ruby
[02:48:05] tris: has joined #ruby
[02:48:05] volix: has joined #ruby
[02:48:05] ozzloy: has joined #ruby
[02:48:05] pelegreno: has joined #ruby
[02:48:05] theRoUS: has joined #ruby
[02:48:05] klaas: has joined #ruby
[02:48:05] scott4000: has joined #ruby
[02:48:05] Guest95550: has joined #ruby
[02:48:05] ccooke: has joined #ruby
[02:48:05] infernix: has joined #ruby
[02:48:05] tobiasvl: has joined #ruby
[02:48:05] harmaahylje: has joined #ruby
[02:48:05] aspiers: has joined #ruby
[02:48:06] ski7777: has joined #ruby
[02:48:06] funnel: has joined #ruby
[02:48:06] nettie: has joined #ruby
[02:48:06] Miron: has joined #ruby
[02:48:06] cyberRodent: has joined #ruby
[02:48:06] Scient: has joined #ruby
[02:48:06] chridal: has joined #ruby
[02:48:06] clampy: has joined #ruby
[02:48:06] Brak____________: has joined #ruby
[02:48:06] mistym: has joined #ruby
[02:48:06] sspreitzer: has joined #ruby
[02:48:06] justinmcp_: has joined #ruby
[02:48:06] voker57: has joined #ruby
[02:48:06] HalcyonicStorm__: has joined #ruby
[02:48:06] Iambchop: has joined #ruby
[02:48:06] Guest21194: has joined #ruby
[02:48:06] mr-robert: has joined #ruby
[02:48:07] arcturiaen: has joined #ruby
[02:48:07] mroth: has joined #ruby
[02:48:07] raggi: has joined #ruby
[02:48:07] lesce: has joined #ruby
[02:48:07] IanMalcolm: has joined #ruby
[02:48:07] vdl: has joined #ruby
[02:48:07] JoL1hAHN: has joined #ruby
[02:48:07] Arahael: has joined #ruby
[02:48:07] thejoecarroll_: has joined #ruby
[02:48:07] spk: has joined #ruby
[02:48:07] Guest91942: has joined #ruby
[02:48:07] kiki_lamb: has joined #ruby
[02:48:07] Ethan: has joined #ruby
[02:48:07] Guest64970: has joined #ruby
[02:48:07] leonthemisfit: has joined #ruby
[02:48:07] Guest37885: has joined #ruby
[02:48:07] mkaito_: has joined #ruby
[02:48:07] r3my: has joined #ruby
[02:48:07] micalexander: has joined #ruby
[02:48:07] Diabolik: has joined #ruby
[02:48:07] JJonah: has joined #ruby
[02:48:07] jimeh: has joined #ruby
[02:48:07] nicoulaj: has joined #ruby
[02:48:07] Travis-42: has joined #ruby
[02:48:07] danzilio: has joined #ruby
[02:48:08] barq: has joined #ruby
[02:48:08] codepete: has joined #ruby
[02:48:08] BuildTheRobots: has joined #ruby
[02:48:08] ewilliam_: has joined #ruby
[02:48:08] cstrahan: has joined #ruby
[02:48:08] skmp: has joined #ruby
[02:48:08] rfv: has joined #ruby
[02:48:08] bcavileer: has joined #ruby
[02:48:08] manveru: has joined #ruby
[02:48:08] charles81_: has joined #ruby
[02:48:08] pizzaops: has joined #ruby
[02:48:08] adambeynon: has joined #ruby
[02:48:08] schaary: has joined #ruby
[02:48:08] avdi: has joined #ruby
[02:48:08] justinweiss: has joined #ruby
[02:48:08] Prira: has joined #ruby
[02:48:08] szulak: has joined #ruby
[02:48:08] cyberjames: has joined #ruby
[02:48:08] varesa_: has joined #ruby
[02:48:08] Fridtjof: has joined #ruby
[02:48:08] bougyman: has joined #ruby
[02:48:08] veloutin: has joined #ruby
[02:48:08] jtperreault: has joined #ruby
[02:48:08] SanguineAnomaly: has joined #ruby
[02:48:08] icedragon: has joined #ruby
[02:48:08] mkaito: has joined #ruby
[02:48:08] Jello_Raptor: has joined #ruby
[02:48:08] cjohnson: has joined #ruby
[02:48:08] Guest23822: has joined #ruby
[02:48:08] aef: has joined #ruby
[02:48:09] Guest41100: has joined #ruby
[02:48:09] Vircung: has joined #ruby
[02:48:09] rodd: has joined #ruby
[02:48:09] Guest31486: has joined #ruby
[02:48:09] href: has joined #ruby
[02:48:09] badeball: has joined #ruby
[02:48:09] balo_: has joined #ruby
[02:48:09] lystra_: has joined #ruby
[02:48:09] ren0v0: has joined #ruby
[02:48:09] Klumben: has joined #ruby
[02:48:09] Guest93864: has joined #ruby
[02:48:09] knight_: has joined #ruby
[02:48:09] Guest84079: has joined #ruby
[02:48:09] zeffy: has joined #ruby
[02:48:09] quarters: has joined #ruby
[02:48:09] gremax: has joined #ruby
[02:48:09] booboy_: has joined #ruby
[02:48:09] foamz: has joined #ruby
[02:48:09] auv: has joined #ruby
[02:48:09] Majost: has joined #ruby
[02:48:09] akkad: has joined #ruby
[02:48:09] nOgAnOo_: has joined #ruby
[02:48:10] devlaf: has joined #ruby
[02:48:10] olivierjanss: has joined #ruby
[02:48:10] seanh: has joined #ruby
[02:48:10] sparr: has joined #ruby
[02:48:10] raz: has joined #ruby
[02:48:10] oblak: has joined #ruby
[02:48:10] Sp4rKy: has joined #ruby
[02:48:10] gmcintire: has joined #ruby
[02:48:10] Flabbergazta_: has joined #ruby
[02:48:10] zipkid: has joined #ruby
[02:48:10] doesntbyte: has joined #ruby
[02:48:10] amitchellbullard: has joined #ruby
[02:48:10] dmnd: has joined #ruby
[02:48:10] Guest22947: has joined #ruby
[02:48:10] colstrom: has joined #ruby
[02:48:10] afisher: has joined #ruby
[02:48:10] ReinH: has joined #ruby
[02:48:10] stephenh: has joined #ruby
[02:48:10] mitsuhiko: has joined #ruby
[02:48:10] Guest74533: has joined #ruby
[02:48:10] err_ok: has joined #ruby
[02:48:10] rflot: has joined #ruby
[02:48:10] knowtheory: has joined #ruby
[02:48:10] incomprehensibly: has joined #ruby
[02:48:10] Guest53256: has joined #ruby
[02:48:10] jmhmccr: has joined #ruby
[02:48:10] ckrailo: has joined #ruby
[02:48:10] DukeDave: has joined #ruby
[02:48:11] kapowaz: has joined #ruby
[02:48:11] haylon: has joined #ruby
[02:48:11] fury: has joined #ruby
[02:48:11] [reed]: has joined #ruby
[02:48:11] maciuszek: has joined #ruby
[02:48:11] koenrh: has joined #ruby
[02:48:11] untitaker: has joined #ruby
[02:48:11] jnix: has joined #ruby
[02:48:11] HashNuke: has joined #ruby
[02:48:11] justinmrkva: has joined #ruby
[02:48:11] Dark_Arc: has joined #ruby
[02:48:11] yo61: has joined #ruby
[02:48:11] quuxman: has joined #ruby
[02:48:11] bheesham: has joined #ruby
[02:48:11] surminus: has joined #ruby
[02:48:11] rjungemann: has joined #ruby
[02:48:11] tycoon177: has joined #ruby
[02:48:11] Lloyd: has joined #ruby
[02:48:11] caw_______: has joined #ruby
[02:48:11] bove: has joined #ruby
[02:48:11] pmarreck: has joined #ruby
[02:48:12] drbrain: has joined #ruby
[02:48:12] livcd: has joined #ruby
[02:48:12] agrecascino: has joined #ruby
[02:48:12] Muz: has joined #ruby
[02:48:12] Guest50286: has joined #ruby
[02:48:12] biox: has joined #ruby
[02:48:12] wnd: has joined #ruby
[02:48:12] m4rCsi_: has joined #ruby
[02:48:12] olblak: has joined #ruby
[02:48:12] snapcase: has joined #ruby
[02:48:12] zleap: has joined #ruby
[02:48:12] creeg: has joined #ruby
[02:48:12] Radar: has joined #ruby
[02:48:12] nikivi: has joined #ruby
[02:48:12] Map: has joined #ruby
[02:48:12] KrzaQ: has joined #ruby
[02:48:12] Cork: has joined #ruby
[02:48:12] Cybergeek: has joined #ruby
[02:48:12] audy: has joined #ruby
[02:48:12] PixeLInc: has joined #ruby
[02:48:12] ahuman: has joined #ruby
[02:48:12] baweaver: has joined #ruby
[02:48:13] creat: has joined #ruby
[02:48:13] nemesit|znc: has joined #ruby
[02:48:13] connor_goodwolf: has joined #ruby
[02:48:13] shenghi: has joined #ruby
[02:48:13] michael_mbp: has joined #ruby
[02:48:13] Biohazard_: has joined #ruby
[02:48:13] osp2: has joined #ruby
[02:48:13] mayamai: has joined #ruby
[02:48:13] Seich: has joined #ruby
[02:48:13] patteh_: has joined #ruby
[02:48:13] uplime: has joined #ruby
[02:48:13] Eldritch: has joined #ruby
[02:48:13] KramerC: has joined #ruby
[02:48:13] Guest73837: has joined #ruby
[02:48:13] Kyle__: has joined #ruby
[02:48:13] genpaku: has joined #ruby
[02:48:13] Fraeon: has joined #ruby
[02:48:13] spectra: has joined #ruby
[02:48:13] cyclonis: has joined #ruby
[02:48:13] arthurnn: has joined #ruby
[02:48:13] bhaak: has joined #ruby
[02:48:13] SuperTux88: has joined #ruby
[02:48:13] jamo: has joined #ruby
[02:48:13] jidar: has joined #ruby
[02:48:13] chrisarcand: has joined #ruby
[02:48:13] fumk: has joined #ruby
[02:48:13] heinrich5991: has joined #ruby
[02:48:13] marahin: has joined #ruby
[02:48:13] vqrs: has joined #ruby
[02:48:13] Kuukunen: has joined #ruby
[02:48:13] ltp: has joined #ruby
[02:48:14] oblique: has joined #ruby
[02:48:14] bier: has joined #ruby
[02:48:14] dostoyevsky: has joined #ruby
[02:48:14] Guest53857: has joined #ruby
[02:48:14] Mekkis: has joined #ruby
[02:48:14] Koshian: has joined #ruby
[02:48:14] freeze: has joined #ruby
[02:48:14] tabakhase: has joined #ruby
[02:48:14] seggy: has joined #ruby
[02:48:14] eregon: has joined #ruby
[02:48:14] Guest46016: has joined #ruby
[02:48:14] iooner: has joined #ruby
[02:48:14] hays_: has joined #ruby
[02:48:14] hays_: has joined #ruby
[02:48:14] sytherax: has joined #ruby
[02:48:15] DarthGandalf: has joined #ruby
[02:48:30] dr3wo: has joined #ruby
[02:48:37] cgfbee: has joined #ruby
[02:48:40] Ryzokuken: has joined #ruby
[02:48:53] elliottcable: has joined #ruby
[02:49:53] jwheare: has joined #ruby
[02:49:54] eb0t: has joined #ruby
[02:50:10] SCHAPiE: has joined #ruby
[02:50:32] phenom: has joined #ruby
[02:50:32] claw: has joined #ruby
[02:50:32] tbuehlmann: has joined #ruby
[02:50:32] lypsis: has joined #ruby
[02:50:32] kapil___: has joined #ruby
[02:50:32] chongtxtx: has joined #ruby
[02:50:32] Harzilein: has joined #ruby
[02:50:32] iNs: has joined #ruby
[02:50:32] mnemon: has joined #ruby
[02:50:32] sinduck_: has joined #ruby
[02:50:32] xMopx: has joined #ruby
[02:50:32] pragmatism: has joined #ruby
[02:50:32] andrevan: has joined #ruby
[02:50:32] eblip: has joined #ruby
[02:50:32] mkroman: has joined #ruby
[02:50:32] mrsolo: has joined #ruby
[02:50:32] Chew: has joined #ruby
[02:50:33] micutzu: has joined #ruby
[02:50:33] matled: has joined #ruby
[02:50:33] _whitelogger: has joined #ruby
[02:50:33] yxhuvud: has joined #ruby
[02:50:33] nfsnobody: has joined #ruby
[02:50:33] hahuang65: has joined #ruby
[02:50:33] znz_jp: has joined #ruby
[02:50:33] Aloy: has joined #ruby
[02:50:33] nielsk: has joined #ruby
[02:50:33] Guest33581: has joined #ruby
[02:50:33] reaVer: has joined #ruby
[02:51:07] Jameser: has joined #ruby
[02:51:07] armando: has joined #ruby
[02:51:07] Azure: has joined #ruby
[02:51:07] banisterfiend: has joined #ruby
[02:51:07] dviola: has joined #ruby
[02:51:07] Asher: has joined #ruby
[02:51:07] gnufied: has joined #ruby
[02:51:07] pskosinski: has joined #ruby
[02:51:07] Thiru: has joined #ruby
[02:51:07] duderonomy: has joined #ruby
[02:51:07] mrBen2k2k2k: has joined #ruby
[02:51:07] lupine: has joined #ruby
[02:51:07] Paraxial: has joined #ruby
[02:51:07] AKPWD: has joined #ruby
[02:51:07] dtzuzu: has joined #ruby
[02:51:08] octomancer: has joined #ruby
[02:51:08] Xiti: has joined #ruby
[02:51:08] tomaw: has joined #ruby
[02:51:08] ule: has joined #ruby
[02:51:08] Inoperable: has joined #ruby
[02:51:08] bdnelson: has joined #ruby
[02:51:08] theRoUS: has joined #ruby
[02:51:08] aspiers: has joined #ruby
[02:51:08] justinmcp_: has joined #ruby
[02:51:08] mkaito_: has joined #ruby
[02:51:08] Guest37885: has joined #ruby
[02:51:43] gizmore|2: has joined #ruby
[02:51:43] houhoulis: has joined #ruby
[02:51:43] ur5us: has joined #ruby
[02:51:43] Mia: has joined #ruby
[02:51:43] Guest80598: has joined #ruby
[02:51:43] Tau: has joined #ruby
[02:51:43] weaksauce: has joined #ruby
[02:51:44] nicesignal: has joined #ruby
[02:51:44] SuperLag: has joined #ruby
[02:51:44] idiocrash: has joined #ruby
[02:51:44] dinfuehr_: has joined #ruby
[02:51:44] pocketprotector: has joined #ruby
[02:51:44] ciscam: has joined #ruby
[02:51:44] p0p0pr37: has joined #ruby
[02:51:44] linuxdaemon: has joined #ruby
[02:51:44] TinkerT: has joined #ruby
[02:51:44] Dabo: has joined #ruby
[02:51:44] segy: has joined #ruby
[02:51:44] weird_error: has joined #ruby
[02:51:44] nickjj: has joined #ruby
[02:51:44] sonOfRa: has joined #ruby
[02:51:44] DEac-: has joined #ruby
[02:51:44] Tempesta: has joined #ruby
[02:51:44] shaman42: has joined #ruby
[02:51:44] LightStalker: has joined #ruby
[02:51:44] mostly-harmless: has joined #ruby
[02:51:44] yokel: has joined #ruby
[02:51:45] brucebag: has joined #ruby
[02:51:45] olspookishmagus: has joined #ruby
[02:51:45] eck: has joined #ruby
[02:51:45] shadeslayer: has joined #ruby
[02:51:45] levifig: has joined #ruby
[02:51:45] Fire-Dragon-DoL: has joined #ruby
[02:51:45] naquad: has joined #ruby
[02:51:45] dmgk: has joined #ruby
[02:51:45] NightMonkey: has joined #ruby
[02:51:45] shoogz: has joined #ruby
[02:51:45] cschneid_: has joined #ruby
[02:51:45] edwardly: has joined #ruby
[02:51:45] Nilium: has joined #ruby
[02:51:59] emilford: has joined #ruby
[02:52:06] yokel_: has joined #ruby
[02:52:27] dtzuzu: has joined #ruby
[02:52:31] armyriad: has joined #ruby
[02:52:35] nibbo: has joined #ruby
[02:52:39] funnel: has joined #ruby
[02:53:05] eblip: has joined #ruby
[02:53:56] ellcs: has joined #ruby
[02:56:25] jenrzzz: has joined #ruby
[02:57:11] _whitelogger: has joined #ruby
[02:58:58] karapetyan: has joined #ruby
[03:00:20] cadillac_: has joined #ruby
[03:00:27] tomaw_: has joined #ruby
[03:00:39] kmurphy4: has joined #ruby
[03:01:55] dr3w__: has joined #ruby
[03:03:41] alfiemax: has joined #ruby
[03:03:47] emilford: has joined #ruby
[03:06:37] Flonk: has joined #ruby
[03:11:40] rkazak: has joined #ruby
[03:12:47] phenom: has joined #ruby
[03:17:13] intheclouddan: has joined #ruby
[03:17:24] emilford: has joined #ruby
[03:20:36] sanscoeur: has joined #ruby
[03:22:48] emilford: has joined #ruby
[03:26:16] Tau: im having trouble to install rsense.
[03:26:23] Tau: https://github.com/rsense/rsense/blob/master/lib/rsense/client/daemon.rb
[03:26:34] yaewa: has joined #ruby
[03:26:38] Tau: the /tmp/rsense.log says env: ‘java’: No such file or directory
[03:28:30] moei: has joined #ruby
[03:29:39] emilford: has joined #ruby
[03:30:21] Tau: i think i got it.
[03:32:50] phenom: has joined #ruby
[03:34:54] emilford: has joined #ruby
[03:36:02] jenrzzz: has joined #ruby
[03:36:02] jenrzzz: has joined #ruby
[03:40:14] tvw: has joined #ruby
[03:40:36] thapakazi: has joined #ruby
[03:41:26] gix-: has joined #ruby
[03:43:03] phenom: has joined #ruby
[03:43:14] emilford: has joined #ruby
[03:48:18] emilford: has joined #ruby
[03:49:38] phenom: has joined #ruby
[03:55:43] emilford: has joined #ruby
[03:56:02] jenenliu: has joined #ruby
[03:58:33] aviraldg: has joined #ruby
[03:58:33] jonjits[m]: has joined #ruby
[03:58:33] torarne: has joined #ruby
[03:58:33] redlegion[m]: has joined #ruby
[03:58:33] luna_x[m]: has joined #ruby
[03:58:33] velu_aon[m]: has joined #ruby
[03:58:34] turt2live: has joined #ruby
[03:58:34] Giphy[m]: has joined #ruby
[03:58:34] KevinMGranger: has joined #ruby
[03:58:34] Hanma[m]: has joined #ruby
[03:58:34] haylon_: has joined #ruby
[03:58:40] nullmoose[m]: has joined #ruby
[03:58:40] failednoose[m]: has joined #ruby
[03:58:40] iceskins[m]: has joined #ruby
[03:58:42] zalipuha[m]: has joined #ruby
[04:00:33] zenspider: has joined #ruby
[04:01:33] emilford: has joined #ruby
[04:06:37] voker57: has joined #ruby
[04:11:23] emilford: has joined #ruby
[04:13:19] jenrzzz: has joined #ruby
[04:16:08] arquebus: has joined #ruby
[04:20:37] phaul: has joined #ruby
[04:21:26] sanscoeur: has joined #ruby
[04:23:17] emilford: has joined #ruby
[04:28:14] alfiemax: has joined #ruby
[04:33:46] emilford: has joined #ruby
[04:41:09] shinnya: has joined #ruby
[04:42:50] emilford: has joined #ruby
[04:46:51] karapetyan: has joined #ruby
[04:47:02] thapakazi: has joined #ruby
[04:49:36] agent_white: has joined #ruby
[04:53:18] emilford: has joined #ruby
[05:06:35] Xiti: has joined #ruby
[05:08:31] jenrzzz: has joined #ruby
[05:09:36] emilford: has joined #ruby
[05:13:27] paul0: has joined #ruby
[05:13:52] bmurt: has joined #ruby
[05:14:31] govg: has joined #ruby
[05:16:52] emilford: has joined #ruby
[05:22:17] sanscoeur: has joined #ruby
[05:22:52] jenrzzz: has joined #ruby
[05:22:52] jenrzzz: has joined #ruby
[05:23:26] emilford: has joined #ruby
[05:27:55] thapakazi: has joined #ruby
[05:29:54] reber: has joined #ruby
[05:33:15] anisha_: has joined #ruby
[05:44:17] emilford: has joined #ruby
[05:50:30] p0p0pr37_: has joined #ruby
[05:50:31] p0p0pr37_: has joined #ruby
[05:55:26] cadillac_: has joined #ruby
[05:58:04] jenrzzz: has joined #ruby
[05:58:51] emilford: has joined #ruby
[06:11:04] emilford: has joined #ruby
[06:13:44] csk157: has joined #ruby
[06:19:02] emilford: has joined #ruby
[06:19:59] amar: has joined #ruby
[06:20:29] Puffball: has joined #ruby
[06:21:29] conta: has joined #ruby
[06:23:06] sanscoeur: has joined #ruby
[06:23:42] sagax: has joined #ruby
[06:27:51] emilford: has joined #ruby
[06:35:45] lxsameer: has joined #ruby
[06:37:23] emilford: has joined #ruby
[06:37:40] jenrzzz: has joined #ruby
[06:37:40] jenrzzz: has joined #ruby
[06:38:23] biberu: has joined #ruby
[06:40:40] saTchymoto: has joined #ruby
[06:42:18] clemens3_: has joined #ruby
[06:43:41] conta: has joined #ruby
[06:43:48] emilford: has joined #ruby
[06:46:54] conta1: has joined #ruby
[06:47:27] apeiros: has joined #ruby
[06:48:21] ur5us: has joined #ruby
[06:49:55] suukim: has joined #ruby
[06:49:59] amar_: has joined #ruby
[06:52:35] emilford: has joined #ruby
[06:53:56] amar: has joined #ruby
[06:54:36] paul0: has joined #ruby
[06:56:40] yohji: has joined #ruby
[06:57:34] yohji: has joined #ruby
[06:58:05] ShekharReddy: has joined #ruby
[06:59:59] emilford: has joined #ruby
[07:00:45] jinie: has joined #ruby
[07:03:46] roshanavand: has joined #ruby
[07:06:37] tAn: has joined #ruby
[07:13:23] jenrzzz: has joined #ruby
[07:14:48] schleppel: has joined #ruby
[07:15:46] kapil___: has joined #ruby
[07:16:41] claudiuinberlin: has joined #ruby
[07:17:13] sytherax: has joined #ruby
[07:17:41] sytherax: has joined #ruby
[07:21:55] kapil___: has joined #ruby
[07:22:51] clemens3: has joined #ruby
[07:22:53] roamingdog: has joined #ruby
[07:22:53] TomyWork: has joined #ruby
[07:23:18] aufi: has joined #ruby
[07:23:23] saTchymoto: has joined #ruby
[07:24:04] sanscoeur: has joined #ruby
[07:27:38] amar_: has joined #ruby
[07:29:53] _aeris_: has joined #ruby
[07:30:23] emilford: has joined #ruby
[07:31:23] amar: has joined #ruby
[07:31:23] csk157: has joined #ruby
[07:34:22] roshanavand: has joined #ruby
[07:41:33] emilford: has joined #ruby
[07:43:42] conta1: has joined #ruby
[07:49:45] p0p0pr37_: has joined #ruby
[07:51:40] Axy: has joined #ruby
[07:56:39] jenrzzz: has joined #ruby
[07:58:44] conta1: has joined #ruby
[08:00:08] guille-moe: has joined #ruby
[08:00:41] emilford: has joined #ruby
[08:02:49] leafyleong1: has joined #ruby
[08:06:47] sysvalve: has joined #ruby
[08:13:52] rfoust: has joined #ruby
[08:17:03] leafyleong: has joined #ruby
[08:20:02] leafyleong: has joined #ruby
[08:21:09] conta: has joined #ruby
[08:22:12] sytherax: has joined #ruby
[08:22:40] emilford: has joined #ruby
[08:24:33] tvw: has joined #ruby
[08:24:54] sanscoeur: has joined #ruby
[08:25:28] sagax: has joined #ruby
[08:26:34] dionysus69: has joined #ruby
[08:28:41] Zefoy: has joined #ruby
[08:30:40] jenrzzz: has joined #ruby
[08:32:12] NL3limin4t0r: has joined #ruby
[08:32:51] emilford: has joined #ruby
[08:32:57] Mia: has joined #ruby
[08:34:25] TomyWork: has joined #ruby
[08:40:18] arquebus: has joined #ruby
[08:40:58] Terens: has joined #ruby
[08:41:10] Terens: is it bad practice to break long lines ?
[08:41:24] Terens: or should I prefer horizontal scrolling
[08:41:58] ccooke: Answers vary from "No" to "Depends how long the line is". You probably won't go far wrong if you use https://github.com/bbatsov/ruby-style-guide
[08:42:15] apeiros: terens: it's generally bad to have long lines
[08:42:20] apeiros: it makes reading more difficult
[08:42:46] apeiros: but as ccooke says - "it depends". Sometimes the long line may be better than the alternatives.
[08:44:24] dminuoso: Long lines usually denote far too long naming of things and/or deeply complex code.
[08:44:33] dminuoso: If its the first: fix the naming to use short but descriptive names.
[08:44:44] dminuoso: If its the second: Write smaller/more composable code.
[08:44:56] dminuoso: The second lets you reason about code earlier, and it makes testing easier.
[08:45:36] emilford: has joined #ruby
[08:46:50] amar: has joined #ruby
[08:49:53] amar_: has joined #ruby
[08:55:46] graingert: has joined #ruby
[08:56:00] emilford: has joined #ruby
[08:59:06] amelliaa: has joined #ruby
[09:00:20] kies^: has joined #ruby
[09:05:54] jenrzzz: has joined #ruby
[09:05:54] jenrzzz: has joined #ruby
[09:11:37] Jameser: has joined #ruby
[09:11:40] venmx: has joined #ruby
[09:14:22] Jameser: has joined #ruby
[09:16:28] paul0: has joined #ruby
[09:18:13] aufi_: has joined #ruby
[09:18:32] dstrunk: has joined #ruby
[09:19:58] RougeR: has joined #ruby
[09:22:28] emilford: has joined #ruby
[09:25:46] sanscoeur: has joined #ruby
[09:27:20] roshanavand: has joined #ruby
[09:28:28] ur5us: has joined #ruby
[09:28:46] Charliebr73: has joined #ruby
[09:28:50] roamingdog: has joined #ruby
[09:31:18] alfiemax: has joined #ruby
[09:33:40] x71e6fd52: has joined #ruby
[09:33:47] Jameser: has joined #ruby
[09:38:53] banisterfiend: has joined #ruby
[09:40:18] x71e6fd52: has joined #ruby
[09:41:27] emilford: has joined #ruby
[09:48:19] dmathieu: has joined #ruby
[09:50:44] conta: has joined #ruby
[09:53:18] emilford: has joined #ruby
[10:02:16] conta: has joined #ruby
[10:03:38] KeyJoo: has joined #ruby
[10:09:36] jenrzzz: has joined #ruby
[10:11:21] conta: has joined #ruby
[10:11:56] ellcs: has joined #ruby
[10:13:27] lxsameer: has joined #ruby
[10:14:10] lxsameer: has joined #ruby
[10:15:07] yaewa: has joined #ruby
[10:17:42] Flonk: has joined #ruby
[10:18:27] jsaak: has joined #ruby
[10:20:08] roamingdog: has joined #ruby
[10:20:58] roamingdog: has joined #ruby
[10:21:31] apparition47: has joined #ruby
[10:21:43] roamingdog: has joined #ruby
[10:22:35] roamingdog: has joined #ruby
[10:23:20] roamingdog: has joined #ruby
[10:24:43] emilford: has joined #ruby
[10:26:38] sanscoeur: has joined #ruby
[10:26:48] x71e6fd52: has joined #ruby
[10:27:40] alfiemax: has joined #ruby
[10:33:38] emilford: has joined #ruby
[10:37:34] victorfigol: has joined #ruby
[10:39:26] emilford: has joined #ruby
[10:44:50] Axy: has joined #ruby
[10:45:13] emilford: has joined #ruby
[10:48:41] karapetyan: has joined #ruby
[10:49:44] Mia: has joined #ruby
[10:49:44] Mia: has joined #ruby
[10:51:29] GodFather: has joined #ruby
[10:52:09] jenrzzz: has joined #ruby
[10:52:10] jenrzzz: has joined #ruby
[10:59:57] emilford: has joined #ruby
[11:00:03] sphenxes: has joined #ruby
[11:01:03] jamesaxl: has joined #ruby
[11:01:41] roshanavand: has joined #ruby
[11:04:58] ferr: has joined #ruby
[11:06:32] kke: class Foo < BasicObject; def Kernel(*_); nil; end; end; Foo.new.instance_exec { Kernel.puts(Kernel.send(:`, "ls")) } i wonder why this doesn't work as expected. (just thinking if i could make a somewhat secure variable container to be sent to template rendering)
[11:06:50] Cybergeek: has joined #ruby
[11:07:08] apeiros: "doesn't work as expected" is bad. show what it does and what you expect.
[11:07:57] kke: i would expect it to say NoMethodError no method `puts` for NilClass but it puts the output of `ls`.
[11:07:58] apeiros: note that instance_exec does NOT change constant lookup scope.
[11:08:26] kke: oh. is there something that does?
[11:08:30] guille-moe: has joined #ruby
[11:09:40] apeiros: additional note: Kernel.puts does NOT call Kernel(). Kernel() is a method. Kernel is a constant. they are not the same.
[11:10:05] kke: i also tried const_set :Kernel, nil
[11:10:15] apeiros: so even if you run your code in the scope of Foo, what you should expect is a NameError, uninitialized constant Kernel
[11:10:16] kke: but of course even then you could do ::Kernel
[11:10:29] emilford: has joined #ruby
[11:10:44] apeiros: you can have it easier than const_set. you can just do Kernel = nil
[11:10:59] lupine: whyyyyyyyyyyyy
[11:11:25] kke: for the lulz mostly
[11:12:01] apeiros: re your question: I think the only thing which you can execute in an arbitrary context is code as string.
[11:14:22] kke: i would be using it for a cli thing that processes ERB locally, it would be nice if i could sandbox it
[11:14:45] kke: because the erb can come from somewhere online
[11:22:06] bogdan: has joined #ruby
[11:22:45] Cybergeek: has joined #ruby
[11:28:24] plexigras: has joined #ruby
[11:29:09] jenrzzz: has joined #ruby
[11:29:09] jenrzzz: has joined #ruby
[11:31:49] lxsameer: has joined #ruby
[11:31:54] emilford: has joined #ruby
[11:34:01] roshanavand1: has joined #ruby
[11:35:00] roshanavand: has joined #ruby
[11:36:36] jottr: has joined #ruby
[11:38:07] paul0: has joined #ruby
[11:38:23] shinnya: has joined #ruby
[11:39:11] Cavallari: has joined #ruby
[11:40:15] redondos: has joined #ruby
[11:40:15] redondos: has joined #ruby
[11:42:18] ldnunes: has joined #ruby
[11:45:01] ellcs: has joined #ruby
[11:46:14] rfoust: has joined #ruby
[11:49:26] ferr: has joined #ruby
[11:52:31] emilford: has joined #ruby
[11:53:57] amar: has joined #ruby
[11:54:22] banisterfiend: has joined #ruby
[11:57:18] AJA4350: has joined #ruby
[11:58:55] suukim: has joined #ruby
[12:01:11] synthroid: has joined #ruby
[12:05:37] ferr: has joined #ruby
[12:10:47] vondruch: has joined #ruby
[12:12:05] lxsameer: has joined #ruby
[12:12:22] jenrzzz: has joined #ruby
[12:12:22] jenrzzz: has joined #ruby
[12:12:45] mostlybadfly: has joined #ruby
[12:14:08] vondruch: has joined #ruby
[12:22:00] lxsameer: has joined #ruby
[12:24:30] alex``: has joined #ruby
[12:25:14] banisterfiend: has joined #ruby
[12:28:20] sanscoeur: has joined #ruby
[12:30:04] lxsameer: has joined #ruby
[12:32:42] cyberg: has joined #ruby
[12:33:06] bmurt: has joined #ruby
[12:37:17] goatish: has joined #ruby
[12:39:31] Bounga: has joined #ruby
[12:39:49] darix: kke: maybe stick to templating languages which limit what the user can do. like liquid
[12:41:36] snood1205: has joined #ruby
[12:41:38] Cavallari1: has joined #ruby
[12:47:44] banisterfiend: has joined #ruby
[12:51:17] Zaab1t: has joined #ruby
[12:52:31] jenrzzz: has joined #ruby
[12:52:31] jenrzzz: has joined #ruby
[12:55:23] kmurphy4: has joined #ruby
[12:56:10] ellcs: has joined #ruby
[12:59:59] zapata: has joined #ruby
[13:05:41] gray_-_wolf: has joined #ruby
[13:06:53] gray_-_wolf: Hi :) I need a bit of help with ffi, I'm trying to iterate directory using FindFile{First,Next}, however I'm not sure how to use GetLastError using FFI. I'm always getting back 0. Is there some trick I'm missing?
[13:11:05] jcalla: has joined #ruby
[13:13:02] nowhere_man: has joined #ruby
[13:14:10] k0mpa: has joined #ruby
[13:14:21] canton7: gray_-_wolf, look at FFI::LastError ?
[13:15:03] gray_-_wolf: oh... missed that. I've just tried attaching GetLastError, will try this, thank you
[13:15:16] mr_wooh: has joined #ruby
[13:15:22] canton7: gray_-_wolf, it's often the case that either the ffi machinery, or stuff that wraps it, calls other functions internally, which messes up GetLastError. Ruby methods can also call into stuff which sets the last error
[13:15:33] canton7: (I assume -- that's how it is in other languages)
[13:15:58] canton7: so it's common that the ffi lib will record the LastError itself after calling a native function, and save it for you
[13:17:09] gray_-_wolf: I think I understand, now just figure out why rest of the code is not working :D
[13:20:06] beefjoe: has joined #ruby
[13:22:56] guille-moe: has joined #ruby
[13:24:19] jamiejackson: has joined #ruby
[13:28:06] banisterfiend: has joined #ruby
[13:29:11] sanscoeur: has joined #ruby
[13:31:46] roshanavand: has joined #ruby
[13:32:57] jenrzzz: has joined #ruby
[13:33:30] wontruefree: has joined #ruby
[13:36:06] hinbody: has joined #ruby
[13:36:26] hinbody: has left #ruby: ()
[13:36:43] wontruefree: has joined #ruby
[13:37:06] ellcs: has left #ruby: ()
[13:49:21] cadillac_: has joined #ruby
[13:50:36] gray_-_wolf: has joined #ruby
[13:50:49] gray_-_wolf: to follow up on my previous question, any idea how to get FFI::LastError.error to work under cygwin?
[13:51:35] gray_-_wolf: based on quick look at the source code does not seem possible without patching ffi itself :/ ... but I find hard to believe I'm first one to encounter this
[13:53:03] lxsameer: has joined #ruby
[13:53:26] wontruefree: has joined #ruby
[13:55:47] Rapture: has joined #ruby
[13:57:14] krawchyk: has joined #ruby
[14:03:23] alfiemax: has joined #ruby
[14:03:43] grilix_: has joined #ruby
[14:05:57] nOwz: has joined #ruby
[14:10:15] jenrzzz: has joined #ruby
[14:10:15] jenrzzz: has joined #ruby
[14:11:44] ccjdockjj123: has joined #ruby
[14:12:18] lxsameer: has joined #ruby
[14:13:25] snood1205: has joined #ruby
[14:14:29] gix: has joined #ruby
[14:16:05] eelster: has joined #ruby
[14:19:28] lxsameer: has joined #ruby
[14:19:33] cadillac_: has joined #ruby
[14:20:23] thapakazi: has joined #ruby
[14:20:36] thapakazi: has joined #ruby
[14:25:34] amar: has joined #ruby
[14:26:31] krawchyk[away]: has joined #ruby
[14:27:26] synthroid: has joined #ruby
[14:29:02] Silthias: has joined #ruby
[14:29:34] mr_foto: has joined #ruby
[14:30:05] sanscoeur: has joined #ruby
[14:32:47] minimalism: has joined #ruby
[14:41:32] Esa_: has joined #ruby
[14:43:21] chouhoul_: has joined #ruby
[14:44:39] ccjdockjj123: has joined #ruby
[14:45:27] gizmore: has joined #ruby
[14:49:33] roamingdog: has joined #ruby
[14:50:27] CcjDoK: has joined #ruby
[14:53:18] jenrzzz: has joined #ruby
[14:54:03] amar: has joined #ruby
[14:55:29] cadillac_: has joined #ruby
[14:56:24] amar_: has joined #ruby
[14:57:05] CcjDoK: has joined #ruby
[15:00:01] nOwz: has joined #ruby
[15:03:28] rippa: has joined #ruby
[15:03:58] amar: has joined #ruby
[15:04:36] jottr: has joined #ruby
[15:05:53] Silthias1: has joined #ruby
[15:05:53] dr3wo: has joined #ruby
[15:07:52] venmx: has joined #ruby
[15:08:54] amar: has joined #ruby
[15:16:24] synthroid: has joined #ruby
[15:16:58] lxsameer: has joined #ruby
[15:18:39] CcjDoK: has joined #ruby
[15:19:39] zapata: has joined #ruby
[15:20:07] tAn: has joined #ruby
[15:20:21] idiocrash: has joined #ruby
[15:22:18] manjaroCinnamon: has joined #ruby
[15:23:14] sytherax: has joined #ruby
[15:27:16] lxsameer: has joined #ruby
[15:30:29] CcjDoK: has joined #ruby
[15:30:55] sanscoeur: has joined #ruby
[15:31:19] cadillac_: has joined #ruby
[15:31:30] nOwz: has joined #ruby
[15:32:04] jenrzzz: has joined #ruby
[15:32:04] jenrzzz: has joined #ruby
[15:32:52] hfp_work: has joined #ruby
[15:36:23] apeiros: has joined #ruby
[15:37:05] lxsameer: has joined #ruby
[15:38:13] memo1: has joined #ruby
[15:41:15] jenrzzz: has joined #ruby
[15:41:15] jenrzzz: has joined #ruby
[15:42:15] jcarl43: has joined #ruby
[15:43:29] banisterfiend: has joined #ruby
[15:45:21] lxsameer: has joined #ruby
[15:45:45] dbugger_: has joined #ruby
[15:48:04] sphenxes: has joined #ruby
[15:48:33] grilix_: has joined #ruby
[15:51:42] Silthias: has joined #ruby
[15:52:08] orbyt_: has joined #ruby
[15:53:11] jenrzzz: has joined #ruby
[15:53:12] mikecmpbll: has joined #ruby
[15:55:00] CcjDoK: has joined #ruby
[15:57:02] camilasan: has joined #ruby
[16:02:55] CuriousMind: has joined #ruby
[16:07:09] lxsameer: has joined #ruby
[16:10:01] tAn: has joined #ruby
[16:10:18] cagomez: has joined #ruby
[16:10:56] eelster: has joined #ruby
[16:12:25] jenrzzz: has joined #ruby
[16:12:25] jenrzzz: has joined #ruby
[16:16:01] alex``: has joined #ruby
[16:17:04] lxsameer: has joined #ruby
[16:17:35] TomyLobo: has joined #ruby
[16:19:07] jenrzzz: has joined #ruby
[16:19:07] jenrzzz: has joined #ruby
[16:25:14] nitric: has joined #ruby
[16:27:14] lxsameer: has joined #ruby
[16:28:25] jenrzzz: has joined #ruby
[16:28:44] jenrzzz: has joined #ruby
[16:29:27] cyberg: has joined #ruby
[16:31:35] apeiros: has joined #ruby
[16:31:38] cadillac_: has joined #ruby
[16:31:48] sanscoeur: has joined #ruby
[16:31:54] idiocrash: has joined #ruby
[16:34:25] cthu|: has left #ruby: ("Leaving")
[16:37:14] lxsameer: has joined #ruby
[16:37:25] alex``: has joined #ruby
[16:39:34] alfiemax: has joined #ruby
[16:40:36] jenrzzz: has joined #ruby
[16:44:30] orbyt_: has joined #ruby
[16:46:32] cschneid: has joined #ruby
[16:47:14] lxsameer: has joined #ruby
[16:47:41] zenspider: has joined #ruby
[16:48:00] clemens3: has joined #ruby
[16:48:54] iceden: has joined #ruby
[16:49:12] jenrzzz: has joined #ruby
[16:52:40] Azure|dc: has joined #ruby
[16:54:31] GodFather: has joined #ruby
[16:54:54] sanscoeur: has joined #ruby
[16:55:37] jenrzzz: has joined #ruby
[16:55:38] jenrzzz: has joined #ruby
[16:55:56] ramfjord: has joined #ruby
[17:01:10] jottr: has joined #ruby
[17:01:27] c0ncealed1: has joined #ruby
[17:04:20] bmurt: has joined #ruby
[17:05:48] ldepandis: has joined #ruby
[17:06:20] jenrzzz: has joined #ruby
[17:06:20] jenrzzz: has joined #ruby
[17:08:04] sytherax: has joined #ruby
[17:12:00] braincrash: has joined #ruby
[17:12:09] lxsameer: has joined #ruby
[17:18:15] thapakazi_: has joined #ruby
[17:21:15] thapakazi_: Hello again, back with crypto question, does ECDSA OpenSSL::PKey::EC lacking the encrypt(public_key, msg) and decrypt_with_priavate_key(encrypted_string), I only see the dsa_sign_ans1 and dsa_verfy_asn1
[17:22:01] lxsameer: has joined #ruby
[17:22:34] phaul: has joined #ruby
[17:23:03] thapakazi_: I am trying implement public key based auth, that reuses artificats {public_key, private_key} generated with ECDSA
[17:25:11] thapakazi_: want to encrypt a text on server with public key and have it unlocked on client who holds public key
[17:25:19] sytherax: has joined #ruby
[17:25:35] cyberg: has joined #ruby
[17:27:16] havenwood: banisterfiend: o/
[17:30:12] cschneid: has joined #ruby
[17:30:21] _phaul: has joined #ruby
[17:32:02] lxsameer: has joined #ruby
[17:32:04] dminuoso: banisterfiend: pry broken. fix please?
[17:32:15] banisterfiend: dminuoso how is it broken
[17:33:02] dminuoso: Things regularly segfault while experimenting with Fiddle in pry ¯\_(ツ)_/¯
[17:33:17] havenwood: ACTION plays a tiny fiddle
[17:34:45] banisterfiend: dminuoso i've played with fiddle a lot in pry too and never experienced that :) Maybe your libraries are busted?
[17:34:57] dminuoso: banisterfiend: Your troll detector must be broken. :S
[17:35:25] dminuoso: banisterfiend: On a more serious note, I still regularly run into the issue where the entire visualization is completely messed up when I run the pager through too much output
[17:36:08] cschneid: has joined #ruby
[17:36:13] moei: has joined #ruby
[17:36:15] dminuoso: (Mainly happens when I accidentally inspect output from large AR stuff)
[17:36:31] apeiros: yeah, I experience that at times too
[17:37:20] Lytol: has joined #ruby
[17:37:30] dminuoso: It might be that there's some weird control sequence being flung around though, I dont know
[17:37:50] dminuoso: Afaict that shouldnt be the case though *shrugs*
[17:37:59] sytherax: has joined #ruby
[17:38:01] sanscoeur: has joined #ruby
[17:38:07] jottr: has joined #ruby
[17:38:18] dminuoso: apeiros: Is it reproducable for you? Because it certainly is not for me.
[17:38:30] apeiros: no. else I'd have filed an issue :)
[17:39:04] apeiros: and it hasn't happened often recently
[17:39:24] dminuoso: It hasnt happened often recently for me because I quit dicking around with pry to solve problems.
[17:39:49] apeiros: using a haskell repl instead?
[17:40:13] eelster: Pry is kinda great sometimes though especially if you use it with the extensions that let you step into methods and go line by line.
[17:40:55] banisterfiend: havde't written much ruby in a good while
[17:42:00] lxsameer: has joined #ruby
[17:42:13] dminuoso: banisterfiend: That's okay. We have a veteran program to get you back into the war.
[17:42:47] banisterfiend: ruby gave me ptsd
[17:43:09] apeiros: oy, that bad?
[17:43:18] apeiros: you sure it wasn't the pills? :D
[17:43:49] banisterfiend: i like it but there's whole swathes of programming that you can't do in it, and the more interesting things are difficult to do in ruby
[17:43:51] banisterfiend: or at least the things i'm interested in recently
[17:44:32] apeiros: lack of libraries?
[17:45:24] orbyt_: has joined #ruby
[17:46:13] banisterfiend: yeah i'd have to write the binding/libraries myself to get started using ruby and i kind of enjoy using C atm anyway. Very refreshing compared to the mindnumbing tedium of webdev imo
[17:46:52] eelster: I like C and I like Ruby. I hate writing C extensions for Ruby.
[17:47:17] dminuoso: banisterfiend: webdev can actually be fun.
[17:47:38] karapetyan: has joined #ruby
[17:47:42] dminuoso: banisterfiend: It's just that the hipster generation has a huge stack of idiotic tools and things that make you want to claw your eyes out.
[17:47:49] banisterfiend: dminuoso i did it for 4 years, i can't stand it. Not for me but i can see how other people could enjoy it
[17:49:53] phaul: banisterfiend: I was a C programmer for a decade. I felt exactly like how you are feeling. For me ruby was what C is for you :)
[17:50:59] phaul: it's less about a language, more about what you have done for a long time
[17:51:18] thapakazi_: rephrasing :)anyone doing OpenSSL ECDSA, i am able to get signature verification working, but hogged with "Encrypt/Decrypt a message decryptable by the private key corresponding to pubKey"
[17:51:49] banisterfiend: phaul yeah i guess i just prefer the technologies i'm working with in C, though i do enjoy C (esp c99 -> compound literals, designated initoializers, etc). Messing with this a lot recently: https://msdn.microsoft.com/en-us/library/windows/desktop/aa366510(v=vs.85).aspx
[17:51:52] thapakazi_: can't find proper docs on OpenSSL::PKey::EC lib :(
[17:52:02] lxsameer: has joined #ruby
[17:52:03] biberu: has joined #ruby
[17:52:53] dionysus69: has joined #ruby
[17:53:08] sphenxes: has joined #ruby
[17:54:50] shinnya: has joined #ruby
[17:55:33] cschneid: has joined #ruby
[17:55:42] Cavallari: has joined #ruby
[17:56:09] cadillac_: has joined #ruby
[17:59:52] sytherax: has joined #ruby
[18:00:31] grilix_: has joined #ruby
[18:02:10] lxsameer: has joined #ruby
[18:03:55] cagomez: what is the difference between `comparison of NilClass with String failed` and `comparison of String with nil failed`? I seem to be getting these 2 errors when sorting 2 arrays and comparing the results. But I'm not sure why I'm getting 2 different error messages
[18:04:26] apeiros: >> NilClass > "string"
[18:04:26] cyberg: has joined #ruby
[18:04:35] apeiros: >> nil > "string"
[18:04:39] apeiros: cagomez: ^
[18:05:24] SeepingN: has joined #ruby
[18:05:39] dinfuehr: has joined #ruby
[18:05:53] eelster: Wait, how can you get `comparison of NilClass with String failed`
[18:05:54] apeiros: oh, that's not actually it
[18:06:06] apeiros: seems to be depending on the order of the operands
[18:06:12] baweaver: which one's on the left
[18:06:21] mrx: has joined #ruby
[18:06:28] baweaver: the error message tells you based on which type is on the left of the message
[18:06:35] eelster: Here's my IRB output: https://hastebin.com/raw/dihenumihe
[18:06:38] baweaver: NilClass -> String, String -> nil
[18:07:00] apeiros: [nil, "x"].sort # !> ArgumentError: comparison of NilClass with String failed
[18:07:00] apeiros: ["x", nil].sort # !> ArgumentError: comparison of String with nil failed
[18:07:20] eelster: Ohh ok with sort that makes more sense. I wasn't able to get it just using > or <.
[18:07:29] baweaver: Operators are all left-biased once they get desugared because aforementioned operators are really methods on classes
[18:08:13] eelster: Yeah which is why if you have nil on the left it will give you a NoMethodError instead of an ArgumentError because > and < aren't defined for nil:NilClass.
[18:10:03] cagomez: I have 2 arrays: arr1 and arr2. I do `arr1.sort != arr2.sort` . does this mean that the error is happening on during 1 individual sort? ie during `arr1.sort`?
[18:10:29] mrx: has joined #ruby
[18:10:35] cagomez: and furthermore, the position of the `nil` within `arr1` will dictate which error message I get?
[18:10:59] alfiemax: has joined #ruby
[18:11:51] apeiros: since ruby uses qsort, which usually is randomized quicksort, it should be random which message you get
[18:11:53] eelster: If you don't mind my asking, why does the error message matter? They're both ArgumentError in terms of handling.
[18:11:55] apeiros: but why does that matter?
[18:12:03] lxsameer: has joined #ruby
[18:12:29] apeiros: meh, I should read
[18:12:45] apeiros: cagomez: could be either
[18:12:55] sytherax: has joined #ruby
[18:13:31] cagomez: just checking to see if by fixing 1 error message, I'll also be fixing the other. I need to find out where how these nil's are getting into the collection
[18:14:12] eelster: So you can use #compact to remove the nils from the array if you'd like to, but if it's a problem that nils are there than it's worthwhile investigating that.
[18:14:31] eelster: Like `[2, nil, 3].compact` because `[2, 3]`
[18:14:38] apeiros: ACTION thinks #compact is a bad "solution" if nils shouldn't be in those arrays
[18:14:41] sytherax: has joined #ruby
[18:15:00] mrx: has left #ruby: ()
[18:15:04] beefjoe: has joined #ruby
[18:15:24] mrx: has joined #ruby
[18:15:50] dminuoso: There's perfectly valid reasons for #compact
[18:16:10] mrx: has left #ruby: ()
[18:16:33] mrx: has joined #ruby
[18:16:34] eelster: Like I said, it depends upon if it's ok that the nils are coming in or not. It's too vague to know either way.
[18:16:46] apeiros: there are. as said, it's a bad solution *if the nils shouldn't be in there*
[18:16:57] jottr: has joined #ruby
[18:17:09] apeiros: IME valid reasons for compact are rather rare, though
[18:18:03] eelster: I use it with DBs a fair amount if I'm looking for an optional field in a table.
[18:18:17] eelster: But that's my main use-case for it.
[18:18:47] apeiros: if you get an array then you probably only select one column, in that case letting the db filter beforehand would make more sense, no?
[18:21:39] baweaver: In general I make a habit of avoiding nil wherever possible.
[18:21:50] eelster: Normally it's from a collection that I've already gathered of all the data then I have to sometimes iterate through a specific column. It's not a super common use, but I definitely have it. It'll be like if I have something like this, but probably with a much better example: https://hastebin.com/oxilevumiy.rb
[18:21:55] apeiros: baweaver: same
[18:22:10] apeiros: and I'm looking forward to have syntax to disallow nil args.
[18:22:17] lxsameer: has joined #ruby
[18:22:17] eelster: And with more behavior between the first query and the if statement so I actually end up doing something with all_people
[18:22:23] eelster: But I rarely even do that.
[18:22:34] baweaver: Speaking of, guess what Koichi confirmed
[18:22:41] nitric_: has joined #ruby
[18:22:43] apeiros: eelster: yeah, I guess that makes sense
[18:23:00] eelster: apeiros: But it's a rather specific use-case.
[18:23:19] apeiros: the query you could optimize btw.
[18:23:22] baweaver: "Will MRI Ruby get a live Abstract Syntax Tree like Crystal or Truffle Ruby?": https://twitter.com/_ko1/status/1001241668853551104
[18:23:24] apeiros: IN clauses are fast
[18:23:36] apeiros: or in that case, if all you do is delete, a subquery would probably be best
[18:23:38] eelster: Oh certainly yeah. This was just a rudimentary example.
[18:23:39] csk157: has joined #ruby
[18:24:11] apeiros: baweaver: oy, nice :D
[18:24:12] heftig: has joined #ruby
[18:24:25] baweaver: I have so so many ideas for that
[18:24:34] baweaver: zenspider: you see that one yet?
[18:24:44] apeiros: me too, but at the same time I know perfectly well that I won't have the time to even try a single one of them :<
[18:25:08] baweaver: MRI is getting a live AST, Koichi confirmed it. s-expressions are about to get real danged handy
[18:25:55] eelster: I always just get sad looking at the new features knowing that we're probably only going to keep using Ruby 2.3 probaby next january where we'll finally upgrade a bit.
[18:26:26] eelster: At least I can use them in personal projects.
[18:26:33] dminuoso: baweaver: *shrugs*
[18:26:50] dminuoso: baweaver: so what happened to your Qo shenanigans
[18:26:56] dminuoso: been a few weeks since you spammed this channel
[18:27:07] baweaver: Working on something bigger
[18:27:11] baweaver: much much bigger
[18:27:16] dminuoso: how much bigger?
[18:27:27] baweaver: It'll take me until January to be done probably.
[18:27:40] dminuoso: what field is your project in?
[18:28:48] baweaver: Meanwhile I do daily Ruby tips on Twitter
[18:29:15] baweaver: This one was particularly fun - https://twitter.com/keystonelemur/status/1001358356529930240
[18:29:51] lemur: as far as why keystonelemur, mostly this (original nick)
[18:30:28] baweaver: this is my more "professional" nick
[18:30:32] dminuoso: baweaver: You sir need to start currying your lambdas.
[18:31:51] jenrzzz: has joined #ruby
[18:31:51] jenrzzz: has joined #ruby
[18:32:12] lxsameer: has joined #ruby
[18:34:01] alfiemax: has joined #ruby
[18:34:14] guacamole: has joined #ruby
[18:34:14] guacamole: has joined #ruby
[18:35:18] dionysus69: has joined #ruby
[18:35:43] eb0t: has joined #ruby
[18:35:43] tolerablyjake: has joined #ruby
[18:35:56] tolerablyjake: has joined #ruby
[18:39:47] cschneid: has joined #ruby
[18:40:27] heftig: has joined #ruby
[18:40:50] andrevan: has joined #ruby
[18:40:56] \void: has joined #ruby
[18:41:10] Zaab1t: has joined #ruby
[18:41:57] tAn: has joined #ruby
[18:42:14] lxsameer: has joined #ruby
[18:43:13] Zaab1t: has joined #ruby
[18:43:42] Puffball_: has joined #ruby
[18:44:00] nickjj_: has joined #ruby
[18:44:14] Tempesta_: has joined #ruby
[18:44:24] wontruef_: has joined #ruby
[18:44:38] dviola: has joined #ruby
[18:44:38] Axy: has joined #ruby
[18:44:38] Axy: has joined #ruby
[18:44:47] dmgk_: has joined #ruby
[18:45:04] sanscoeur: has joined #ruby
[18:45:42] sameerynho: has joined #ruby
[18:45:53] brucebag_: has joined #ruby
[18:46:05] TinkerT_: has joined #ruby
[18:46:16] sonOfRa_: has joined #ruby
[18:46:22] rheddry: has joined #ruby
[18:46:55] kmurphy4_: has joined #ruby
[18:47:43] ox16p: has joined #ruby
[18:48:00] mostly-h1rmless: has joined #ruby
[18:48:04] DEac-_: has joined #ruby
[18:48:18] alfiemax: has joined #ruby
[18:48:36] SuperL4g: has joined #ruby
[18:48:40] shadeslayer_: has joined #ruby
[18:48:41] pookie: has joined #ruby
[18:48:55] dreamthese: has joined #ruby
[18:48:57] shaman42_: has joined #ruby
[18:48:59] plexigras2: has joined #ruby
[18:50:03] anisha__: has joined #ruby
[18:50:13] ciscam_: has joined #ruby
[18:51:52] vereteran: has joined #ruby
[18:52:03] Nilium_: has joined #ruby
[18:52:07] lxsameer: has joined #ruby
[18:52:46] edwardly_: has joined #ruby
[18:52:47] edwardly_: has joined #ruby
[18:53:04] pocketprotector-: has joined #ruby
[18:53:28] Fire-Dragon-DoL: has joined #ruby
[18:53:48] shoogz: has joined #ruby
[18:53:59] Silthias: has left #ruby: ()
[18:54:09] NightMonkey: has joined #ruby
[18:54:10] brucebag: has joined #ruby
[18:54:11] brucebag: has joined #ruby
[18:54:34] giraffe: has joined #ruby
[18:55:44] ByronJohnson: has joined #ruby
[18:58:25] segy: has joined #ruby
[18:58:58] cschneid: has joined #ruby
[18:59:34] eck: has joined #ruby
[19:00:09] linuxdaemon: has joined #ruby
[19:01:27] tolerablyjake: has joined #ruby
[19:02:12] lxsameer: has joined #ruby
[19:04:10] grilix_: has joined #ruby
[19:04:25] jottr: has joined #ruby
[19:07:17] LightStalker: has joined #ruby
[19:07:33] alfiemax: has joined #ruby
[19:12:09] lxsameer: has joined #ruby
[19:15:29] millerti: has joined #ruby
[19:18:55] scrptktty: has joined #ruby
[19:20:14] weaksauce: has joined #ruby
[19:22:10] ox16p: has left #ruby: ()
[19:22:12] lxsameer: has joined #ruby
[19:25:37] ramfjord: has joined #ruby
[19:27:28] phaul: has joined #ruby
[19:30:15] orbyt_: has joined #ruby
[19:30:27] d^sh: has joined #ruby
[19:32:20] lxsameer: has joined #ruby
[19:38:19] d^sh: has joined #ruby
[19:39:47] schneider: has joined #ruby
[19:42:04] jottr: has joined #ruby
[19:42:06] lxsameer: has joined #ruby
[19:43:34] arashb: has joined #ruby
[19:45:47] guacamole: has joined #ruby
[19:49:59] phaul: has joined #ruby
[19:52:09] Azure: has joined #ruby
[19:52:09] lxsameer: has joined #ruby
[19:53:02] cschneid: has joined #ruby
[19:54:50] Zaab1t: has joined #ruby
[19:57:07] jenrzzz: has joined #ruby
[19:57:07] jenrzzz: has joined #ruby
[19:59:58] tvw: has joined #ruby
[20:01:26] phaul: has joined #ruby
[20:02:13] lxsameer: has joined #ruby
[20:03:32] banisterfiend: has joined #ruby
[20:10:14] ramfjord: has joined #ruby
[20:11:06] ellcs: has joined #ruby
[20:12:02] lxsameer: has joined #ruby
[20:13:29] synthroid: has joined #ruby
[20:13:42] BTRE: has joined #ruby
[20:16:20] mikecmpbll: has joined #ruby
[20:20:22] amelliaa: has joined #ruby
[20:21:28] roamingdog: has joined #ruby
[20:21:46] ramfjord: has joined #ruby
[20:22:06] lxsameer: has joined #ruby
[20:24:22] jenrzzz: has joined #ruby
[20:24:22] jenrzzz: has joined #ruby
[20:25:14] CcjDoK: has joined #ruby
[20:30:21] cschneid: has joined #ruby
[20:31:41] tdy: has joined #ruby
[20:32:17] lxsameer: has joined #ruby
[20:33:17] banisterfiend: has joined #ruby
[20:33:47] alfiemax: has joined #ruby
[20:34:55] ellcs: has left #ruby: ()
[20:36:29] orbyt_: has joined #ruby
[20:37:22] jenrzzz: has joined #ruby
[20:37:22] jenrzzz: has joined #ruby
[20:39:18] eelster: has joined #ruby
[20:40:01] amar: has joined #ruby
[20:40:11] eelster: Is there a flag for irb to skip my irbrc?
[20:41:42] tAn: has joined #ruby
[20:42:03] lxsameer: has joined #ruby
[20:42:07] \void: has joined #ruby
[20:42:19] Zarthus: `man irb` suggests -f
[20:42:34] Zarthus: in case you're unaware, `pry` is a cool irb replacement.
[20:42:54] eelster: Oh wow that's weird I must've messed up when I used / to search the man irb for irbrc.
[20:43:38] eelster: Yeah, pry is great and I actually load it in my irbrc, but I'm using jruby just to test one thing and I don't really want to install the gems loaded in my irbrc into jruby.
[20:43:51] eelster: Thanks Zarthus
[20:45:46] Trevoke`: has joined #ruby
[20:46:31] wontruefree: has joined #ruby
[20:49:02] Trevoke`: Hey all, I've forgotten almost all my ruby. I'm working on a small gem and I moved the errors it would fail/raise out in a separate file (namespaced properly, of course). I reference the constants as ::Namespace::Error in my code, but when I run the specs I get "NameError: uninitialized constant Namespace::Error", which I did not expect. I created the gem boilerplate with bundler, so I expect things to work (among other things, it means
[20:49:02] Trevoke`: I expect the sub-files to be loaded automatically, especially because I require them in the main required file...)
[20:49:17] cagomez: has joined #ruby
[20:50:36] desperek: has joined #ruby
[20:51:46] Trevoke`: So, long story short, why might constants be uninitialized in a boilerplaty gem directory structure in rspec tests?
[20:52:02] lxsameer: has joined #ruby
[20:52:42] dminuoso: Trevoke`: gist your spec, spec_helper (and related files) and show the commend you use to invoke rspec with
[20:54:56] Trevoke`: dminuoso: how's this? https://gist.github.com/Trevoke/d817ae6240878065a11d549dd92de5a1
[20:55:25] Trevoke`: Actual github repo for the gem: https://github.com/Trevoke/insane-hook
[20:57:29] dminuoso: Trevoke`: Edit the gist and include the full error including stack trace.
[20:57:43] Trevoke`: Oh my bad, one sec
[20:58:09] ur5us: has joined #ruby
[20:58:54] Trevoke`: Done. Completely forgot you could ask for a bigger backtrace...
[21:01:34] sytherax: has joined #ruby
[21:02:19] lxsameer: has joined #ruby
[21:02:20] venmx: has joined #ruby
[21:02:54] jenrzzz: has joined #ruby
[21:02:54] jenrzzz: has joined #ruby
[21:03:41] csk157: has joined #ruby
[21:04:31] Trevoke`: Oh, I'm a complete idiot. I'm here looking for what information I could _possibly_ not have included in the gist, and it turns out I had started and never finished a refactor where I had an extra namespace of Errors
[21:04:37] Inoperable: has joined #ruby
[21:04:47] Trevoke`: So, ten out of ten for style, minus several million for good thinking
[21:05:23] Trevoke`: dminuoso: sorry I wasted your time :/
[21:05:38] dminuoso: Trevoke`: Hey I just spend 10 seconds making you look at your code.
[21:05:42] dminuoso: Sounds like a job well done to me.
[21:06:20] Trevoke`: dminuoso: hah, well, it's fair, but I was hoping I'd be able to do that without having someone else tell me about it.. :p Now I need to figure out why my code didn't tell me what I had done (subdirectories / namespace assumption) and what I want to do about it.
[21:07:26] cschneid: has joined #ruby
[21:12:02] lxsameer: has joined #ruby
[21:13:14] redlegion: has joined #ruby
[21:14:02] CcjDoK: has joined #ruby
[21:14:23] banisterfiend: has joined #ruby
[21:15:09] Nahra: has joined #ruby
[21:15:23] jenrzzz: has joined #ruby
[21:15:23] jenrzzz: has joined #ruby
[21:15:41] ghormoon: has joined #ruby
[21:18:15] guille-moe: has joined #ruby
[21:20:13] cschneid: has joined #ruby
[21:20:47] arquebus: has joined #ruby
[21:21:32] roamingdog: has joined #ruby
[21:21:58] arquebus: are comprhensions ever going to be added to Ruby? Thats the only thing that keeps holding me to Python
[21:22:12] lxsameer: has joined #ruby
[21:22:17] roamingdog: has joined #ruby
[21:23:07] roamingdog: has joined #ruby
[21:23:57] roamingdog: has joined #ruby
[21:24:01] guille-moe: has joined #ruby
[21:24:38] ramfjord: has joined #ruby
[21:24:42] roamingdog: has joined #ruby
[21:25:50] samort7: has joined #ruby
[21:26:26] jenrzzz: has joined #ruby
[21:26:26] jenrzzz: has joined #ruby
[21:26:45] arquebus: dont tell me you all actually prefer attaching blocks to methods rather than having a uniform comprehension syntax
[21:27:31] guille-moe: has joined #ruby
[21:29:37] Trevoke`: has joined #ruby
[21:32:02] lxsameer: has joined #ruby
[21:36:42] cschneid: has joined #ruby
[21:41:59] drim: has joined #ruby
[21:42:10] lxsameer: has joined #ruby
[21:45:03] Trevoke`: has joined #ruby
[21:47:18] sytherax: has joined #ruby
[21:50:11] cschneid: has joined #ruby
[21:50:30] banisterfiend: has joined #ruby
[21:51:46] memo1: has joined #ruby
[21:52:30] tcopeland: has joined #ruby
[21:54:04] alfiemax: has joined #ruby
[21:55:10] eelster: has joined #ruby
[21:56:33] roamingdog: has joined #ruby
[21:59:42] BTRE: has joined #ruby
[22:00:36] cschneid: has joined #ruby
[22:00:46] ruby[bot]: has joined #ruby
[22:00:46] ChanServ: +o ruby[bot]
[22:00:46] ur5us: has joined #ruby
[22:03:35] Radar: arquebus: we actually prefer attaching blocks to methods rather than having a uniform comprehension syntax
[22:03:43] Radar: oh just read your second message sorry
[22:05:21] arquebus: ok, well, just so you know you are missing out on millions of users by not having comprehensions, it would be easy to add to Ruby and wouldnt change the block syntax thats already there
[22:06:29] beauby_: has joined #ruby
[22:08:02] apeiros: I'm sure you meant to say billions
[22:08:56] arquebus: apeiros: yes! I did!
[22:09:09] apeiros: good thing I made you aware of your mistake then!
[22:09:36] jenrzzz: has joined #ruby
[22:09:36] jenrzzz: has joined #ruby
[22:10:30] dminuoso: arquebus: What kind of comprehensions are you looking for?
[22:11:51] arquebus: like the ones in Python are perfect, you can use guards in them, and whatever kind of brackets you surround the comprehension with thats what kind of container it returns. I really hate Python but it has the cleanest comprehension sytnax around
[22:12:50] dminuoso: arquebus: Are you talking about list comprehensions?
[22:13:17] ramfjord: sounds a lot like list comprehensions
[22:13:33] dminuoso: arquebus: they are nice, but really pale in comparison to comprehensions from Haskell.
[22:13:59] arquebus: dminuoso: the comprehensions in Python are not limited to lists, they can iterate over any container type and even mulitple containers and return any container type
[22:14:08] eelster: dminuoso: I have never found a language that treats lists as well as Haskell.
[22:15:29] arquebus: eelster: lists in Haskell are actual linked lists and so to access an element means iterating through all the elements from the start till you reach the element. Which is why lists in Haskell require heads/tails syntax (yuck)
[22:16:54] eelster: arquebus: But normally you program with that in consideration so it's fine.
[22:17:14] dminuoso: arquebus: We have other types of containers too. That form has, for various reasons, tons of elegance.
[22:18:50] arquebus: dminuoso: Thats why I think comprehension would work well in Ruby, because Ruby (I believe) implements its array and hash under the hood with a single sequence type, so a comprehension will work for any container type in Ruby very easily
[22:19:15] dminuoso: arquebus: well hash is a wildly different beast from array
[22:19:42] Radar: " missing out on millions of users" delicious hyperbole. Part of a healthy, balanced breakfast.
[22:19:51] Radar: I'm sure that there's more pulling people to Ruby than just list comprehensions.
[22:20:06] Radar: And if people really did want Ruby flavoured syntax and "proper" list comprehensions, then there's Elixir, surely? ;)
[22:20:07] dminuoso: arquebus: and also..
[22:20:19] lupine: comprehensions are awful
[22:20:24] arquebus: dminuoso: I think that Ruby is moving hashes to be more like arrays by having a set order of elements
[22:20:31] lupine: "yo dawg, I heard you like languages, so I put a language in your language, so you can language while you're languaging"
[22:20:39] dminuoso: arquebus: We have list comprehensions.
[22:21:06] dminuoso: arquebus: https://eval.in/1012100
[22:21:20] dminuoso: ACTION runs before apeiros sees it
[22:21:29] Eiam: ACTION opens, sees method_missing, closes again immediately 
[22:21:37] apeiros: dminuoso: don't worry, I'm firmly asleep and won't see it before tomorrow!
[22:21:49] arquebus: dminuoso: I just googled it and I dont see any list comprehensions for Ruby
[22:21:55] dminuoso: arquebus: Check my link!
[22:22:06] Eiam: no, please don't
[22:22:07] lxsameer: has joined #ruby
[22:22:13] apeiros: never underestimate a motivated dminuoso 😂
[22:22:23] dminuoso: apeiros: In all fairness that code is not by myself.
[22:22:43] apeiros: I'm sure I've seen something like this in this channel, though
[22:22:59] Radar: dminuoso is the new 0xdea?
[22:23:11] dminuoso: I miss him :<
[22:23:16] Eiam: a lost disciple
[22:23:47] Radar: ACTION deletes a line of code in memoriam
[22:24:01] Radar: ACTION rewrites it using only procs, in memoriam
[22:24:11] arquebus: dminuoso: I just did, that code looks awful and is exactly why Ruby needs comprehensions
[22:24:16] dminuoso: Radar: Screw procs.
[22:24:35] dminuoso: Radar: Write a substitution proc and a a const proc, and then write all your programs entirely in SK calculus.
[22:24:44] dminuoso: arquebus: That code is the implementation.
[22:24:47] dminuoso: Who cares about the implemnetation
[22:24:47] Radar: dminuoso: galaxybrain.jpg
[22:24:52] dminuoso: foo =+ [x * y | x <- [1..3], y <- [4..6]]
[22:24:55] dminuoso: bar =+ [a + b | a <- ['n','p'..'t'], b <- %w[a i u e o]]
[22:25:00] dminuoso: You wanted list comprehensions. You got them.
[22:25:08] lupine: nobody wants list comprehensions
[22:25:14] Radar: lupine: arquebus does.
[22:25:16] Eiam: uh, correction, millions want them.
[22:25:37] arquebus: dminuoso: ok, well that looks good, I'll look into it
[22:25:46] lupine: nah, they just think they do
[22:26:01] lupine: I know better
[22:26:03] dminuoso: list comprehensions are nice and a cool thing, but overrated.
[22:26:06] sytherax: has joined #ruby
[22:26:07] Eiam: arquebus: look forward to your debugging sessions
[22:26:14] lupine: they are bad and wrong, but certainly cool
[22:26:27] dminuoso: lupine: they are quite great for one particular reason
[22:26:38] lupine: although to be fair, rubyists are also unhealthily obsessed with oneliners
[22:26:38] dminuoso: lupine: if you roll them right, they act like set builder notation in mathematics.
[22:26:50] dminuoso: Which is an incredibly precise way to describe a set.
[22:27:03] dminuoso: (which is in fact where the syntax originated from)
[22:27:23] dminuoso: <- is an ascii approximation of ∈ for example
[22:27:57] dminuoso: [x * y | x ∈ A, y ∈ B]
[22:27:58] Eiam: lupine: its true, I really do enjoy good one liners, as long as they are easy to understand
[22:27:59] dminuoso: This is nice.
[22:28:47] lupine: Eiam: those two goals are directly in conflict with each other
[22:29:07] dminuoso: lupine: absolute bullshit.
[22:29:11] lupine: fite me irl
[22:29:26] Eiam: nah, think of one liners where how it works is through several layers of indirection, vs a one liner that is just a well encapsulated usage of existing functionality
[22:29:35] dminuoso: If the tooling is right, then short concise one-liners can be easier to understand.
[22:29:37] lupine: some one-liners are certainly worse than others
[22:29:41] Eiam: i.e. method missing one liners == my least favorite kind of one liner
[22:29:49] Eiam: if its not a part of ruby core
[22:29:55] dminuoso: lupine: No question. But the question is not about smashing it all in one line with poor abstractions
[22:29:58] dminuoso: but with the right abstractions.
[22:30:01] lupine: but if you spend a lot of time squeezing n lines into 1, it's invariably going to be a hot mess
[22:30:05] Eiam: its some home brewed bullshit in a local code base that I have to figure out
[22:30:12] lupine: and this includes list comprehensions
[22:30:36] alfiemax: has joined #ruby
[22:32:15] lxsameer: has joined #ruby
[22:36:25] guacamole: has joined #ruby
[22:36:25] guacamole: has joined #ruby
[22:37:15] dminuoso: lupine: The point is not to squeeze it into one line.
[22:37:22] dminuoso: Its to write it in short and concise code.
[22:37:32] dminuoso: If that happens to be one line, so be it.
[22:42:01] roamingdog: has joined #ruby
[22:42:10] lxsameer: has joined #ruby
[22:44:29] brechbohne92: has joined #ruby
[22:45:28] havenwood: lupine: I got caught talking too loudly in a taqueria about how I wanted to try killing *all* of the unicorns to make sure God would still restart them. My coworker responded that we could try Blue Pill if God didn't like our unicorn killing. Got some weird looks.
[22:45:49] jenrzzz_: has joined #ruby
[22:45:52] havenwood: Oops, wrong channel.
[22:46:10] havenwood: Right person though, at least.
[22:46:18] dminuoso: havenwood: You're a daemon.
[22:47:56] havenwood: "There are two major projects that came out of Berkeley: LSD and UNIX. We do not believe this to be a coincidence."
[22:49:30] havenwood: dminuoso: What do you make of this commit? https://github.com/ruby/ruby/commit/fa31e1a4189d9d055c7e317da635fd84396d6249
[22:50:05] havenwood: Three second thread cache enabled by default.
[22:50:32] shinnya: has joined #ruby
[22:50:40] havenwood: https://github.com/ruby/ruby/blob/fa31e1a4189d9d055c7e317da635fd84396d6249/thread_pthread.c#L873-L934
[22:52:12] lxsameer: has joined #ruby
[22:56:22] guacamole: has joined #ruby
[22:56:22] guacamole: has joined #ruby
[22:56:31] orbyt_: has joined #ruby
[22:57:14] dminuoso: havenwood: Im not exactly sure what this is doing.
[22:57:33] havenwood: dminuoso: Yeah, me neither.
[22:58:08] dminuoso: havenwood: I mean from what I can tell it's somehow a mechanism to reuse threads without going through the cost of having the kernel make one for you
[22:58:13] alfiemax: has joined #ruby
[22:58:19] dminuoso: But Im not sure how the caching works
[22:58:21] cadillac_: has joined #ruby
[22:59:24] guacamole: has joined #ruby
[22:59:24] guacamole: has joined #ruby
[23:00:54] dminuoso: Especially the commit message..
[23:02:16] quobo: has joined #ruby
[23:02:35] Radar: Just came across this: .each_with_object({}) { |(k, v), h| v.map { |f| h[f] = k } }
[23:02:43] Radar: Probably would've been better with list comprehensions, no?
[23:02:54] dminuoso: What does that do
[23:03:15] Radar: Here's the full code: https://gist.github.com/radar/a2c1f32dd095fe1e68841139dc6fced5
[23:03:31] dminuoso: Okay so what does that do
[23:03:33] Radar: I don't know why employee_id and locale are special-cased like that.
[23:03:55] Radar: Seems like it provides mappings from the things on the right to the things on the left.
[23:04:26] apeiros: the .map there should be an each
[23:04:57] Radar: apeiros: good point
[23:06:17] Radar: .each_with_object({}) { |(destination, sources), mappings| sources.each { |field| mappings[field] = destination } } <- changing it to this because k, v, h and f was too much of an "alphabet soup"
[23:06:56] ramfjord: has joined #ruby
[23:07:18] apeiros: why field instead of source?
[23:09:24] havenwood: Radar: invert.flat_map { |keys, value| keys.zip [value].cycle }.to_h
[23:09:33] havenwood: I guess there could be duplicate Arrays.
[23:09:43] Radar: havenwood: that'll work too :D
[23:09:55] Radar: Well, I'd have to double check but it looks like it would ;)
[23:10:59] dminuoso: Radar: flat_map { |k, v|v.map { |v_| [v_, k] }}.to_h
[23:12:22] havenwood: Yeah, that does look nice: flat_map { |key, values| values.map { |value| [value, key] } }.to_h
[23:12:43] havenwood: dminuoso: +1
[23:13:00] pisculichi: has joined #ruby
[23:16:06] havenwood: So forking resets the thread cache.
[23:17:26] cschneid: has joined #ruby
[23:17:40] havenwood: There's a cache thread entry struct: https://github.com/ruby/ruby/blob/fa31e1a4189d9d055c7e317da635fd84396d6249/thread_pthread.c#L853-L858
[23:18:53] dminuoso: havenwood: Sigh..
[23:21:31] guacamole: has joined #ruby
[23:21:31] guacamole: has joined #ruby
[23:22:53] havenwood: So I guess instead of RB_ALTSTACK_INIT it can use a cached thread, and those threads get cached instead of freed by RB_ALTSTACK_FREE: https://github.com/ruby/ruby/blob/fa31e1a4189d9d055c7e317da635fd84396d6249/thread_pthread.c#L841-L851
[23:23:39] dminuoso: Im just gonna respond with yes in an attempt to sound smart.
[23:23:45] dminuoso: Is it working?
[23:23:56] dminuoso: Oh wait. I gotta say it.
[23:24:14] guacamole: has joined #ruby
[23:24:14] guacamole: has joined #ruby
[23:30:07] havenwood: dminuoso: Yes, seems to very much work. I'm getting 2.5x throughput just looping threads requesting example.com.
[23:30:37] havenwood: 592 requests on nightly compared with 229 on 2.5.1.
[23:31:29] havenwood: Yeah, spinning up threads in a loop is a nice way to make network requests now in Ruby. ¯\_(ツ)_/¯
[23:31:52] havenwood: Well, that's a pretty fancy thing to just enable.
[23:32:19] havenwood: I guess it landed just in time for Ruby Kaigi.
[23:32:35] havenwood: I look forward to 2.6.0-preview2 in a few days!
[23:32:52] t0xik: has joined #ruby
[23:34:34] guacamole: has joined #ruby
[23:34:34] guacamole: has joined #ruby
[23:34:50] havenwood: Hrm, I take those numbers back. I got an OpenSSL error that aborted early.
[23:35:30] alfiemax: has joined #ruby
[23:36:45] sytherax: has joined #ruby
[23:37:16] lxsameer: has joined #ruby
[23:47:10] lxsameer: has joined #ruby
[23:50:20] cschneid: has joined #ruby
[23:50:57] guacamole: has joined #ruby
[23:50:57] guacamole: has joined #ruby
[23:52:47] zapata: has joined #ruby
[23:55:10] awx: has joined #ruby
[23:55:55] moei: has joined #ruby