« Back to channel list

#ruby - 29 February 2016

« Back 1 day Forward 1 day »
[00:07:04] sondr3: has joined #ruby
[00:07:44] dlitvak: has joined #ruby
[00:08:33] william3: has joined #ruby
[00:09:26] dlitvak: has joined #ruby
[00:09:40] s00pcan_: has joined #ruby
[00:11:37] shanemcd_: has joined #ruby
[00:13:01] Ropeney: has joined #ruby
[00:13:08] tristanp: has joined #ruby
[00:13:41] eregi: has joined #ruby
[00:17:43] darkf: has joined #ruby
[00:18:54] minimalism: has joined #ruby
[00:19:20] eregi: has joined #ruby
[00:22:47] mrchris: has joined #ruby
[00:24:17] bkxd: has joined #ruby
[00:25:32] pawnbox: has joined #ruby
[00:27:13] Rodya__: has joined #ruby
[00:32:59] ElFerna_: has joined #ruby
[00:33:07] intrigueD: has joined #ruby
[00:36:00] mattwildig: has joined #ruby
[00:41:35] BiHi: has joined #ruby
[00:42:41] G: has joined #ruby
[00:43:13] skade: has joined #ruby
[00:44:01] eregi: has joined #ruby
[00:44:08] dubalubdub: has joined #ruby
[00:47:32] fedexo: has joined #ruby
[00:47:56] LoneHerm_: has joined #ruby
[00:48:10] elifoster: has joined #ruby
[00:52:21] ebbflowgo: has joined #ruby
[00:52:30] duckpupp1: has joined #ruby
[00:53:43] mephistophocles: has joined #ruby
[00:54:01] aryaching: has joined #ruby
[00:55:01] eregi: has joined #ruby
[00:55:14] meinside: has joined #ruby
[00:55:26] pawnbox: has joined #ruby
[00:55:58] fourq: has joined #ruby
[00:59:43] shanemcd_: has joined #ruby
[00:59:44] platzhirsch: has joined #ruby
[01:00:19] snowy: has joined #ruby
[01:00:47] peteyg: has joined #ruby
[01:00:55] tristanp: has joined #ruby
[01:03:46] queequeg1: has joined #ruby
[01:06:22] bklane: has joined #ruby
[01:07:24] shanemcd_: has joined #ruby
[01:11:03] Eiam: has joined #ruby
[01:15:56] allcentury: has joined #ruby
[01:17:33] shevy: that's longer than me
[01:17:42] shevy: I was mIRC-ing on windows, on galaxynet back then
[01:19:42] devbug: has joined #ruby
[01:21:32] ElFerna_: has joined #ruby
[01:21:52] htmldrum: has joined #ruby
[01:21:52] Graphettion: has joined #ruby
[01:25:54] pawnbox: has joined #ruby
[01:26:15] fullofcaffeine: has joined #ruby
[01:26:51] z3uS: has joined #ruby
[01:27:31] shanemcd_: has joined #ruby
[01:28:18] ElFerna_: has joined #ruby
[01:28:32] Kensei: has joined #ruby
[01:28:32] Kensei: has joined #ruby
[01:30:34] peteyg: has joined #ruby
[01:31:28] bloodwire: has joined #ruby
[01:32:12] dkam: has joined #ruby
[01:33:56] nanoz: has joined #ruby
[01:34:30] uglybandersnatch: has joined #ruby
[01:35:05] bklane: has joined #ruby
[01:36:20] shanemcd_: has joined #ruby
[01:37:12] pdoherty: has joined #ruby
[01:37:38] diegoviola: has joined #ruby
[01:37:56] Spami: has joined #ruby
[01:39:05] safe: has joined #ruby
[01:40:10] aryaching: has joined #ruby
[01:40:42] bronson: has joined #ruby
[01:42:25] blackmes1: has joined #ruby
[01:43:00] bklane_: has joined #ruby
[01:45:17] sami: has joined #ruby
[01:46:11] uglybandersnatch: has joined #ruby
[01:47:00] skade: has joined #ruby
[01:51:02] wilbert: has joined #ruby
[01:53:13] duckpupp1: has joined #ruby
[01:55:12] mrchris: has joined #ruby
[01:55:31] marcdel: has joined #ruby
[01:55:43] baweaver: has joined #ruby
[01:56:25] bloodwire: has left #ruby: ("Leaving")
[02:03:25] blackmes1: has joined #ruby
[02:03:41] ElFerna_: has joined #ruby
[02:04:17] shanemcd_: has joined #ruby
[02:05:20] pawnbox: has joined #ruby
[02:07:36] benlieb: has joined #ruby
[02:09:22] bklane: has joined #ruby
[02:09:23] Xiti: has joined #ruby
[02:10:05] trosborn: has joined #ruby
[02:10:06] rodolfowtf: has joined #ruby
[02:12:13] unreal_: has joined #ruby
[02:13:12] freerobby: has joined #ruby
[02:20:23] mattwildig: has joined #ruby
[02:21:45] krobzaur_: has joined #ruby
[02:22:31] anirban: has joined #ruby
[02:25:06] bkxd: has joined #ruby
[02:28:19] houhoulis: has joined #ruby
[02:35:25] pawnbox: has joined #ruby
[02:35:57] chipotle: has joined #ruby
[02:42:48] fullofcaffeine: has joined #ruby
[02:43:15] bklane_: has joined #ruby
[02:44:22] dkam_: has joined #ruby
[02:44:55] Mia: has joined #ruby
[02:45:09] brixen: has joined #ruby
[02:45:58] ytti: has joined #ruby
[02:46:34] Amnez777: has joined #ruby
[02:46:43] nogic: has joined #ruby
[02:46:59] majoh: has joined #ruby
[02:47:05] hackeron: has joined #ruby
[02:47:21] dlitvak: has joined #ruby
[02:47:38] Scient: has joined #ruby
[02:47:53] bakedb_: has joined #ruby
[02:48:03] knight_: has joined #ruby
[02:48:05] nlsun: has joined #ruby
[02:48:34] gaf_: has joined #ruby
[02:48:55] b|ackwolf: has joined #ruby
[02:49:34] kies: has joined #ruby
[02:49:54] marcdel: has joined #ruby
[02:50:35] Brando753: has joined #ruby
[02:51:02] hollywood: has joined #ruby
[02:52:28] diego2: has joined #ruby
[02:53:59] duckpupp1: has joined #ruby
[02:54:17] arlek: has joined #ruby
[02:54:50] fullofcaffeine: has joined #ruby
[02:54:51] e4xit_: has joined #ruby
[02:58:36] uglybandersnatch: has joined #ruby
[02:58:40] dkam_: has joined #ruby
[03:00:07] pawnbox: has joined #ruby
[03:00:10] derailed: has left #ruby: ("Leaving")
[03:01:03] snowy: has joined #ruby
[03:01:47] BiHi: has joined #ruby
[03:04:05] fullofcaffeine: has joined #ruby
[03:05:14] A124: has joined #ruby
[03:06:43] shanemcd_: has joined #ruby
[03:08:10] bklane: has joined #ruby
[03:15:15] bklane_: has joined #ruby
[03:17:21] blackmes1: has joined #ruby
[03:17:40] Moosashi: has joined #ruby
[03:18:44] MatthewsFace: has joined #ruby
[03:19:56] skweek: has joined #ruby
[03:20:36] fullofcaffeine: has joined #ruby
[03:22:23] fullofca_: has joined #ruby
[03:24:47] chouhoulis: has joined #ruby
[03:25:40] pawnbox: has joined #ruby
[03:25:57] Eiam: has joined #ruby
[03:26:19] robbyoconnor: has joined #ruby
[03:29:02] kp666: has joined #ruby
[03:29:13] rodolfowtf_: has joined #ruby
[03:31:44] fullofca_: has joined #ruby
[03:33:33] lukebyrne: has joined #ruby
[03:37:18] solocshaw: has joined #ruby
[03:38:27] counterapparatus: has joined #ruby
[03:41:09] krzkrzkrz: has joined #ruby
[03:42:30] peteyg: has joined #ruby
[03:43:03] DmitryBochkarev: has joined #ruby
[03:43:23] bronson: has joined #ruby
[03:43:42] marcdel: has joined #ruby
[03:47:34] ledestin: has joined #ruby
[03:52:55] blackmes1: has joined #ruby
[03:54:11] Moosashi: has joined #ruby
[03:54:45] duckpupp1: has joined #ruby
[03:55:00] adgtl: has joined #ruby
[03:57:01] DmitryBochkarev: has joined #ruby
[03:58:55] mc_dachoppa: has joined #ruby
[04:01:46] terminal_: has joined #ruby
[04:06:20] Mon_Ouie: has joined #ruby
[04:08:27] fullofcaffeine: has joined #ruby
[04:09:17] aryaching: has joined #ruby
[04:09:26] moei: has joined #ruby
[04:12:31] braincrash: has joined #ruby
[04:12:37] s00pcan: has joined #ruby
[04:17:35] gix: has joined #ruby
[04:18:07] cpup: has joined #ruby
[04:21:21] peteyg: has joined #ruby
[04:25:20] eregi: has joined #ruby
[04:25:53] bkxd: has joined #ruby
[04:25:54] chouhoulis: has joined #ruby
[04:25:55] krzkrzkrz: has joined #ruby
[04:28:02] rodolfowtf: has joined #ruby
[04:32:46] mc_dachoppa: has left #ruby: ("Leaving")
[04:34:05] william3: has joined #ruby
[04:34:08] r0bby_: has joined #ruby
[04:34:25] trosborn: has joined #ruby
[04:35:50] william3: has joined #ruby
[04:35:59] rsc___: has joined #ruby
[04:36:09] dlitvak: has joined #ruby
[04:38:01] ohaibbq: has joined #ruby
[04:38:08] marcdel: has joined #ruby
[04:39:45] eggoez: has joined #ruby
[04:42:24] nullwarp: has joined #ruby
[04:42:47] allcentury: has joined #ruby
[04:44:01] joneshf-laptop: has joined #ruby
[04:44:25] nogic: has joined #ruby
[04:44:54] Elysia: has joined #ruby
[04:45:52] kirillzh: has joined #ruby
[04:47:40] yaewa: has joined #ruby
[04:48:02] majoh_: has joined #ruby
[04:48:55] moei: has joined #ruby
[04:49:08] modin: has joined #ruby
[04:50:04] johnny56_: has joined #ruby
[04:52:47] skade: has joined #ruby
[04:54:29] cookiez: has joined #ruby
[04:55:26] marcdel: has joined #ruby
[04:55:30] duckpupp1: has joined #ruby
[04:57:43] pebbles: has joined #ruby
[04:59:33] snowy: has joined #ruby
[04:59:36] bungoman: has joined #ruby
[05:00:22] peteyg: has joined #ruby
[05:03:26] s00pcan: has joined #ruby
[05:04:26] adgtl: has joined #ruby
[05:04:36] rhg135: has joined #ruby
[05:08:51] duncannz: has joined #ruby
[05:08:54] kies^: has joined #ruby
[05:14:48] pawnbox: has joined #ruby
[05:24:02] cj: http://web.archive.org/web/19961109144913/http://www.linpeople.org/
[05:24:11] cj: The folks who have been here longer than me are listed here.
[05:24:17] cj: I'll be "Da_Man" in that line-up :-)
[05:24:38] Antiarc: has joined #ruby
[05:25:25] cj: a bunch of them are still hanging out on #linpeople
[05:26:07] eregi: has joined #ruby
[05:27:59] chouhoulis: has joined #ruby
[05:28:10] kam270: has joined #ruby
[05:28:35] minimalism: has joined #ruby
[05:29:02] mattwildig: has joined #ruby
[05:29:39] adgtl: has joined #ruby
[05:31:00] ICantCook: has joined #ruby
[05:31:01] skade: has joined #ruby
[05:35:07] shevy: I'd wish I would have been there when ruby 1.0 was out
[05:35:36] flughafen_: has joined #ruby
[05:36:08] ohaibbq_: has joined #ruby
[05:40:24] Moosashi: has joined #ruby
[05:41:23] fantazo: has joined #ruby
[05:41:24] bronson: has joined #ruby
[05:41:45] baweaver: ....is it bad that I know who Da_Man is?
[05:42:04] blackmes1: has joined #ruby
[05:42:24] baweaver: I remember him saying that was one of his aliases way back when.
[05:43:33] baweaver: shevy: I work with Da_Man
[05:45:45] william3: has joined #ruby
[05:46:46] robbyoconnor: has joined #ruby
[05:47:36] hplar: has joined #ruby
[05:48:13] tristanp: has joined #ruby
[05:48:17] aryaching: has joined #ruby
[05:51:12] aagdbl: has joined #ruby
[05:55:44] charlemagne: has joined #ruby
[05:56:15] duckpupp1: has joined #ruby
[05:58:21] thevaliantx: has joined #ruby
[05:59:30] vdamewood: has joined #ruby
[06:00:11] mlehrer: has joined #ruby
[06:01:24] trosborn: has joined #ruby
[06:01:39] dlitvak: has joined #ruby
[06:03:10] thevaliantx: re-ordered my Well Grounded Rubyist book a couple of days ago, and started working through a Learn Ruby The Hard Way tutorial yesterday. Not sure if Ruby is an appropriate language for me to learn, but I'm in love with all the pretty pictures of rubies on ruby books, and Ruby being an OOP language maybe it will be the right one for me to cut my teeth in learning OOP :)
[06:03:25] astrobun_: has joined #ruby
[06:04:17] ziyadb: has joined #ruby
[06:05:47] cj: baweaver: oh? you work at the Linux Foundation, too?
[06:06:19] tAn: has joined #ruby
[06:06:33] baweaver: I know a guy who goes by Da_Man who's been around that long
[06:06:42] Dimik: has joined #ruby
[06:06:51] dionysus69: has joined #ruby
[06:06:53] cj: ah. not me, though?
[06:07:07] thevaliantx: has joined #ruby
[06:07:58] baweaver: Not unless you're in SF and are named Darren
[06:08:14] cj: nope. I'm on Orcas Island and I'm named cj
[06:11:41] bkxd: has joined #ruby
[06:12:57] baweaver: I've just heard him mention the name, so who knows.
[06:13:24] robbyoconnor: has joined #ruby
[06:13:30] cj: It's not a unique name. I'm sure there are others who use it :-)
[06:14:56] baweaver: yeah, especially early on in the years
[06:15:14] baweaver: I remember him bragging about having one of the first domain names registered at one point
[06:15:22] baweaver: where first is first 1000 or so I think
[06:15:55] baweaver: about the same with my boss and his old habit of buying a ton of french domains.
[06:20:18] ur5us: has joined #ruby
[06:21:15] LoneHerm_: has joined #ruby
[06:25:16] fullofcaffeine: has joined #ruby
[06:25:19] rht: has joined #ruby
[06:26:59] b|ackwolf: has joined #ruby
[06:28:08] eregi: has joined #ruby
[06:28:34] robbyoconnor: has joined #ruby
[06:28:42] chouhoulis: has joined #ruby
[06:28:55] shanemcd_: has joined #ruby
[06:29:57] terminal_: has joined #ruby
[06:30:26] allcentury: has joined #ruby
[06:33:56] eregi: has joined #ruby
[06:35:16] fullofcaffeine: has joined #ruby
[06:37:04] fullofca_: has joined #ruby
[06:39:50] LoneHerm_: has joined #ruby
[06:40:42] crystal77: has joined #ruby
[06:41:15] crystal77: Was going to ask in #rbenv, but nobody is there. What exactly does this PR do? https://github.com/rbenv/rbenv/issues/384 - I thought it means rehash would be auto, but we still have to do it manually after every gem install.
[06:48:02] flughafen_: has joined #ruby
[06:48:04] Ropeney: do you crystal77 ? I never seem to have to
[06:48:33] cj: do you use bash? zsh?
[06:48:45] Ropeney: cj, me? both
[06:48:56] cj: and you have to rehash in neither?
[06:49:20] baweaver: I'm a heretic, I still use RVM
[06:49:47] Ropeney: cj, i believe it does the rehash on starting of a shell, but i have installed gems from command line plenty and not needed to - or have never noticed that i was meant to
[06:50:39] allcentury: has joined #ruby
[06:52:12] TheMoonMaster: has joined #ruby
[06:52:12] TheMoonMaster: has joined #ruby
[06:53:53] crystal77: I use Fish. Got tired of bash/zsh years ago.
[06:56:01] solars: has joined #ruby
[06:56:16] Ropeney: crystal77, guess i've never felt the need to move away
[06:56:20] lyoshajapan: has joined #ruby
[06:56:21] stannard: has joined #ruby
[06:56:50] Macaveli: has joined #ruby
[06:57:02] duckpupp1: has joined #ruby
[06:57:19] allcentury: has joined #ruby
[06:57:49] anisha: has joined #ruby
[07:04:16] dextertzu: has joined #ruby
[07:04:34] rigel_: has joined #ruby
[07:05:46] terminal_: has joined #ruby
[07:13:26] Guest34101: has joined #ruby
[07:13:27] blackmes1: has joined #ruby
[07:14:20] jayc0b0: has joined #ruby
[07:14:44] eregi: has joined #ruby
[07:17:26] scepticulous: has joined #ruby
[07:18:17] uglybandersnatch: has joined #ruby
[07:18:45] pawnbox: has joined #ruby
[07:19:18] dlitvak: has joined #ruby
[07:19:37] UtkarshRay: has joined #ruby
[07:20:14] lsmola: has joined #ruby
[07:20:56] kies^: has joined #ruby
[07:24:29] robbyoconnor: has joined #ruby
[07:25:24] skade: has joined #ruby
[07:25:43] eregi: has joined #ruby
[07:26:39] Morrolan: has joined #ruby
[07:26:51] sandstrom: has joined #ruby
[07:28:31] noodle: has joined #ruby
[07:29:27] chouhoulis: has joined #ruby
[07:30:04] mattwildig: has joined #ruby
[07:32:33] r0bby_: has joined #ruby
[07:35:15] karapetyan: has joined #ruby
[07:38:18] firstdayonthejob: has joined #ruby
[07:38:49] allcentury: has joined #ruby
[07:39:32] lyoshajapan: Hey :-) I got a very curious problem. Some of my specs started failing, and rspec shows that they did fail, but it doesnt say why explicitly
[07:40:24] janmejay: has joined #ruby
[07:40:41] andikr: has joined #ruby
[07:41:20] janmejay: i want o make a ruby script which shows the status of all machine (on/off) runnig on same public ip
[07:41:29] janmejay: any roadmap how to approach
[07:41:33] LoneHerm_: has joined #ruby
[07:43:41] eregi: has joined #ruby
[07:44:22] Hanmac: lyoshajapan: rspec should show the reason why the specific spec does fail ... otherwise can you give us a link to your specs?
[07:45:47] charlemagne: has joined #ruby
[07:47:44] tAn: has joined #ruby
[07:48:48] Polysics: has joined #ruby
[07:49:49] anisha: has joined #ruby
[07:53:06] pawnbox: has joined #ruby
[07:53:33] bigkevmcd: has joined #ruby
[07:53:38] sandstrom: has joined #ruby
[07:53:43] dlitvak: has joined #ruby
[07:55:15] binaryplease: has joined #ruby
[07:57:46] duckpupp1: has joined #ruby
[07:59:09] kam270: has joined #ruby
[08:02:18] biberu: has joined #ruby
[08:02:47] astrobun_: has joined #ruby
[08:04:53] Pupeno: has joined #ruby
[08:04:53] Pupeno: has joined #ruby
[08:05:07] kam270: has joined #ruby
[08:06:36] fckyoufreenode: has joined #ruby
[08:07:04] yokel: has joined #ruby
[08:08:38] moeabdol2: has joined #ruby
[08:09:35] janmejay: i want o make a ruby script which shows the status of all machine (on/off) runnig on same public ip
[08:09:37] janmejay: any roadmap how to approach
[08:11:28] pawnbox: has joined #ruby
[08:12:11] dojobo: has joined #ruby
[08:12:12] sandstrom: has joined #ruby
[08:12:16] karapetyan: has joined #ruby
[08:12:26] bkxd: has joined #ruby
[08:13:01] yokel: has joined #ruby
[08:13:40] codecop: has joined #ruby
[08:14:40] LoneHerm_: has joined #ruby
[08:15:30] jas02: has joined #ruby
[08:16:21] LoneHerm_: has joined #ruby
[08:16:25] lightheaded: has joined #ruby
[08:17:46] janmejay: is there any gem for knowing the status of remote computers conneted on same local ip address
[08:17:46] shanemcd_: has joined #ruby
[08:18:45] LoganG: has joined #ruby
[08:19:00] aufi: has joined #ruby
[08:19:12] ur5us: has joined #ruby
[08:21:57] lxsameer: has joined #ruby
[08:22:06] DenSchub: has joined #ruby
[08:22:13] lyoshajapan: has joined #ruby
[08:23:30] microt: has joined #ruby
[08:25:20] TomyWork: has joined #ruby
[08:28:53] aufi: has joined #ruby
[08:30:11] chouhoulis: has joined #ruby
[08:30:57] Macaveli: has joined #ruby
[08:31:03] kent\n: has joined #ruby
[08:33:56] vondruch: has joined #ruby
[08:36:54] ledestin: has joined #ruby
[08:37:35] lukebyrne: has joined #ruby
[08:41:18] last_staff: has joined #ruby
[08:43:32] blackmes1: has joined #ruby
[08:44:11] microt: has joined #ruby
[08:45:18] eregi: has joined #ruby
[08:45:32] antgel: has joined #ruby
[08:46:14] karapetyan: has joined #ruby
[08:46:16] Pupeno: has joined #ruby
[08:46:24] Vingador: has joined #ruby
[08:47:10] dgncn: has joined #ruby
[08:49:05] tomphp: has joined #ruby
[08:50:31] tomphp: has joined #ruby
[08:50:46] platzhirsch: has joined #ruby
[08:50:51] atmosx: has joined #ruby
[08:50:54] Oog: has joined #ruby
[08:51:50] tesuji: has joined #ruby
[08:51:59] bronson: has joined #ruby
[08:52:26] blackms: has joined #ruby
[08:53:13] norc_: has joined #ruby
[08:53:13] norc_: has joined #ruby
[08:53:13] norc_: has joined #ruby
[08:53:43] norc_: apeiros: were you the one with that gist about solving unicoding issues?
[08:53:53] r0bby_: has joined #ruby
[08:54:09] dlitvak: has joined #ruby
[08:54:14] apeiros: norc_: yes, sec…
[08:54:24] apeiros: (awesome timing btw., just logged into my znc)
[08:54:50] dlitvak: has joined #ruby
[08:55:53] dlitvak: has joined #ruby
[08:56:58] stannard: has joined #ruby
[08:57:22] apeiros: https://gist.github.com/apeiros/39acc5b486f932403638
[08:57:31] norc_: Brilliant thank you.
[08:58:33] duckpupp1: has joined #ruby
[08:58:50] apeiros: yw. as usual: feedback welcome ;-)
[08:59:21] dlitvak: has joined #ruby
[09:00:49] snowy: has joined #ruby
[09:01:21] eregi: has joined #ruby
[09:02:00] mark2: has joined #ruby
[09:03:16] norc_: apeiros: Well, the only feedback I can give is I wish that document was easier to find. ;-)
[09:03:41] norc_: My problem is not even Ruby related, but it helped me understand the encoding issue nevertheless. :-)
[09:04:26] Gnut: has joined #ruby
[09:04:35] tulak: has joined #ruby
[09:05:01] r0bby_: has joined #ruby
[09:05:06] skade: has joined #ruby
[09:06:23] apeiros: norc_: yeah, I wanted to put it up on ruby-community.com, but I'm so slow adding more articles :(
[09:06:28] r0bby_: has joined #ruby
[09:06:30] pawnbox: has joined #ruby
[09:06:31] apeiros: didn't want to put it up there all alone.
[09:07:25] norc_: Im slowly beginning to notice that the lack of encoding information is really annoying about text files.
[09:07:54] norc_: Tools like uchardet are all nice in guessing and giving you a confidence even, but in the end I would just like to know the encoding...
[09:07:58] Hounddog: has joined #ruby
[09:08:00] tvw: has joined #ruby
[09:08:20] adaedra: apeiros: you're planning a blog thing on the website?
[09:08:32] apeiros: more like articles than blog
[09:08:35] r0bby_: has joined #ruby
[09:08:48] apeiros: but if there's somebody wanting to fill a blog on it, I'd certainly provide the space.
[09:09:00] r0bby_: has joined #ruby
[09:09:18] Pupeno: has joined #ruby
[09:11:29] araujo: has joined #ruby
[09:11:29] araujo: has joined #ruby
[09:12:25] robbyoconnor: has joined #ruby
[09:12:29] the_drow: has joined #ruby
[09:13:15] robbyoconnor: has joined #ruby
[09:13:15] Gasher: has joined #ruby
[09:14:31] william3: has joined #ruby
[09:14:49] FooMunki: has joined #ruby
[09:15:03] Hounddog: has joined #ruby
[09:16:15] rdark: has joined #ruby
[09:17:02] trosborn: has joined #ruby
[09:17:37] platzhirsch: has left #ruby: ()
[09:18:21] public_class: has joined #ruby
[09:18:21] laith: has joined #ruby
[09:18:22] jenrzzz: has joined #ruby
[09:19:07] lyoshajapan: has joined #ruby
[09:19:18] vikas027: has joined #ruby
[09:19:19] m8: has joined #ruby
[09:19:59] dionysus69: has joined #ruby
[09:20:05] binaryplease: has joined #ruby
[09:20:07] vikas027: has left #ruby: ()
[09:20:40] tulak: has joined #ruby
[09:21:39] apeiros: norc_: re lack of encoding information - I'd love a universal metadata format. encoding is just one metadatum I'd like to have in files :-/
[09:21:42] wwwbukolaycom: has joined #ruby
[09:22:53] the_drow: has joined #ruby
[09:23:00] mdih: has joined #ruby
[09:23:56] mdih: has joined #ruby
[09:24:01] william3: has joined #ruby
[09:24:38] karapetyan: has joined #ruby
[09:24:39] allcentury: has joined #ruby
[09:26:15] rigel_: has joined #ruby
[09:26:25] skade: has joined #ruby
[09:28:04] william3: has joined #ruby
[09:28:44] SCHAAP137: has joined #ruby
[09:30:39] janmejay: has joined #ruby
[09:30:55] chouhoulis: has joined #ruby
[09:30:56] mattwildig: has joined #ruby
[09:31:31] aagdbl: has joined #ruby
[09:31:52] tomphp: has joined #ruby
[09:32:37] j3r0: has joined #ruby
[09:39:13] snowy: has joined #ruby
[09:43:04] LoneHermit: has joined #ruby
[09:43:59] Macaveli: has joined #ruby
[09:45:56] dlitvak: has joined #ruby
[09:46:12] norc: has joined #ruby
[09:46:32] lyoshajapan: has joined #ruby
[09:47:33] Spami: has joined #ruby
[09:49:09] gregf_: has joined #ruby
[09:49:18] snowy: has joined #ruby
[09:50:12] jenrzzz: has joined #ruby
[09:51:52] lvn: has joined #ruby
[09:52:35] blackms: has joined #ruby
[09:52:53] steffkes: has joined #ruby
[09:53:18] Macaveli: has joined #ruby
[09:54:25] kmckelvin: has joined #ruby
[09:55:33] djbkd: has joined #ruby
[09:56:38] mark4: has joined #ruby
[09:57:37] mark2: has joined #ruby
[09:58:26] pandaant: has joined #ruby
[09:59:23] duckpupp1: has joined #ruby
[09:59:28] ferr: has joined #ruby
[09:59:31] karapetyan: has joined #ruby
[09:59:41] Lildirt: has joined #ruby
[10:00:52] mark4: has joined #ruby
[10:02:14] eregi: has joined #ruby
[10:02:24] mark4: has joined #ruby
[10:03:27] marr: has joined #ruby
[10:04:11] william3: has joined #ruby
[10:04:20] meal: has joined #ruby
[10:05:31] AshleyPerpetual: has joined #ruby
[10:05:51] AshleyPerpetual: hi, I get this error when I run my code:
[10:06:23] AshleyPerpetual: code: http://pastebin.com/QTM6PQLL
[10:06:24] ruby[bot]: AshleyPerpetual: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/860bd9e367f895ed79a0
[10:06:24] ruby[bot]: AshleyPerpetual: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[10:06:40] cnrroxx: has joined #ruby
[10:08:12] apeiros: AshleyPerpetual: while you should probably still tell us the "this error", here's some mistakes:
[10:08:39] apeiros: line 6-8: you end the if, end have an elsif after it. that's not gonna work. drop the `end`.
[10:08:50] adaedra: There's no ++ in Ruby.
[10:08:58] apeiros: line 15: hamming++ the ++ does not exist in ruby
[10:09:34] apeiros: line 10-11: similar as line 6-8: you should not have an `end` if there's an `else` or `elsif` coming for the same if.
[10:09:35] AshleyPerpetual: error: https://gist.github.com/ashleypt/f6295b90526eb7ac0bb0
[10:09:51] william3: has joined #ruby
[10:09:53] lyoshajapan: has joined #ruby
[10:10:23] AshleyPerpetual: apeiros: what's the neatest way to increment by 1?
[10:10:41] apeiros: also I doubt `ancestor != descendant or ancestor == 0` does what you want.
[10:10:43] lvn: I don't understand the logic in this code, can't you just loop through both strings at the same time if you're just calculating the hamming distance?
[10:10:52] apeiros: you seem to be missing a lot of ".length" method calls there.
[10:10:59] jeanlinux: has joined #ruby
[10:11:07] AshleyPerpetual: oh yeah I forgot length heh
[10:11:11] apeiros: and yeah, general code logic seems flawed too.
[10:11:41] apeiros: the two nested each'es almost certainly don't work the way you imagine them to work.
[10:11:46] n008f4g_: has joined #ruby
[10:12:23] norc_: AshleyPerpetual: also do not use the "and"/"or" operators unless you know exactly about their difference. In all likelihood you will want && and || instead.
[10:13:06] apeiros: AshleyPerpetual: re "how so" - what's the hamming distance of "fooa" and "foob"?
[10:13:08] bkxd: has joined #ruby
[10:13:15] dlitvak: has joined #ruby
[10:13:16] norc_: AshleyPerpetual: As for the explanation, they have different precendence and are used for control flow (like "if" or "unless") rather than boolean operators.
[10:13:27] lvn: Assuming that ancestor and descendant are both strings, I would do something like ancestor.split('').zip(descendant.split('')).select { |i| i[0] != i[1] }.length
[10:13:31] blackmes1: has joined #ruby
[10:13:37] apeiros: with the nested comparison it'll be around 12
[10:13:40] lvn: that's super hacky, but you get the idea
[10:14:46] Couch: has joined #ruby
[10:15:01] AshleyPerpetual: I need to learn what zip and select do
[10:15:15] adaedra: &ri Array#zip Array#select
[10:15:15] `derpy: http://ruby-doc.org/core-2.3.0/Array.html#method-i-zip, http://ruby-doc.org/core-2.3.0/Array.html#method-i-select
[10:15:44] ElFerna_: has joined #ruby
[10:16:08] gigetoo: has joined #ruby
[10:16:13] eip`: has joined #ruby
[10:16:39] lvn: basically, ancestor.split('').zip(descendant.split('')) combines the two strings into character pairs (e.g. "aa" and "ab" => [['a', 'a'], ['a', 'b']])
[10:16:40] eip`: I have a questions, would be happy if somebody could help me
[10:16:46] laith: has joined #ruby
[10:16:55] adaedra: eip`: just ask.
[10:17:13] lvn: and then `select { |i| i[0] != i[1] }` just selects everything from that list for which the characters aren't the same
[10:17:23] eip`: I have a file system (linux) in a directory on my hd, for example in /mydir/ I have the whole structure /usr /opt /var etc etc
[10:17:36] AshleyPerpetual: wow that's really clever lvn thanks
[10:17:46] AshleyPerpetual: im doing exercism by the way
[10:17:59] eip`: what I'd like to do is install a gem in that place, so that later I can install this filesystem on another machine
[10:18:03] lvn: have fun!
[10:18:05] eip`: and have the gem installed and working
[10:18:12] eip`: is there any way to do this?
[10:18:36] eip`: like, I dont know, telling it to install the gem specifing the root dir or something
[10:18:38] infoget: has joined #ruby
[10:18:42] adaedra: eip`: is ruby and gem installed in the target system?
[10:18:49] eip`: yes adaedra
[10:19:01] ElFerna_: has joined #ruby
[10:19:03] adaedra: then just chroot /mydir gem install foo
[10:19:07] infoget: has left #ruby: ()
[10:19:28] AshleyPerpetual: I see why it's called zip, it's like a zipper pattern!
[10:19:39] lvn: haha yeah :p
[10:19:58] eip`: oh ok adaedra I'll try! thank you
[10:20:10] AshleyPerpetual: ruby is really cool, I'm glad to be learning it
[10:20:53] AshleyPerpetual: after I finish a fair number of exercisms, I plan to learn rails as it seems to be in really high demand
[10:21:09] AshleyPerpetual: I wish there was a similar site for frameworks or techs like that, alas
[10:21:25] evidex: has joined #ruby
[10:21:34] shanemcd_: has joined #ruby
[10:22:16] FooMunki: has joined #ruby
[10:23:49] lyoshajapan: has joined #ruby
[10:26:21] Ishido: has joined #ruby
[10:26:21] blaxter: has joined #ruby
[10:27:11] blaxter: has joined #ruby
[10:27:25] AshleyPerpetual: you can see my final submission here if you're curious http://exercism.io/submissions/7eaec4acd68d43209cdc563fe5e6e4bc
[10:27:59] Pumukel: has joined #ruby
[10:28:22] apeiros: AshleyPerpetual: IMO .chars > .split('')
[10:28:39] lvn: oh whoops, forgot about .chars
[10:28:41] lvn: yeah, use that
[10:28:43] lvn: i'm sorry!
[10:28:44] apeiros: and .select {}.length --> .count {}
[10:28:57] uglybandersnatch: has joined #ruby
[10:29:15] lvn: oh dang, my ruby-fu is still too weak
[10:29:31] apeiros: don't worry. this channel has your back ;-)
[10:30:07] AshleyPerpetual: thanks, certainly seems that way :)
[10:30:30] apeiros: aaaand read that automated nitpick. was gonna say the same :D
[10:30:33] AshleyPerpetual: nice there are people on in my timezone
[10:31:05] AshleyPerpetual: im a half-expat/half-perpetual-traveler in the phillippines so it's useful... from seattle originally
[10:31:26] adaedra: Given the amount of people here, all TZs should be covered
[10:31:27] lvn: i'm just yet another san franciscan staying up late :p
[10:31:31] AshleyPerpetual: apeiros: already fixed it with sublime ;)
[10:31:39] chouhoulis: has joined #ruby
[10:31:54] AshleyPerpetual: I'm going to adopt a us timezone and become nocturnal at some point
[10:32:15] AshleyPerpetual: necessary for my jerb :P
[10:32:20] AshleyPerpetual: well, useful, not necessary
[10:32:47] tvw: has joined #ruby
[10:32:51] Hanmac: AshleyPerpetual: hm should that function return the number of chars which are the same or the ones which are not?
[10:33:16] cgfbee: has joined #ruby
[10:33:24] eip`: adaedra: when I try running that I get this error:
[10:33:27] eip`: chroot: failed to run command `gem': Exec format error
[10:33:30] apeiros: hanmac: usually hamming is the difference
[10:33:36] lvn: hamming distance is supposed to be the characters that are different
[10:33:52] adaedra: eip`: what are your host and target systems, including architecture?
[10:33:56] Hanmac: apeiros: ah ok, the "hamming" word did confuse me
[10:34:34] Hanmac: hey you guys might use this, which is for counting chars which are the same:
[10:34:34] Hanmac: >> "aaa".chars.zip("aab".chars).count(&:uniq!)
[10:34:35] ruby[bot]: hanmac: # => 2 (https://eval.in/527340)
[10:35:13] AshleyPerpetual: what is that argument passed to count!?
[10:35:15] eip`: adaedra: one is arm the other x86
[10:35:19] eip`: is that the problem ?
[10:35:32] eip`: so I'd need to do it from another arm system ?
[10:35:44] eip`: the fs I want to later flash is arm
[10:35:57] Hanmac: AshleyPerpetual: a block ... it does use the fact that ["a", "a"].uniq! returns ["a"] but ["a", "b"] returns nil
[10:35:57] adaedra: AshleyPerpetual: .count(&:uniq!) <=> .count { |e| e.uniq! }
[10:36:11] joonty: has joined #ruby
[10:36:26] adaedra: eip`: you won't be able to chroot from a x86 to an arm, right
[10:37:54] AshleyPerpetual: hanmac: it's how many characters are unequal
[10:38:57] lyoshajapan: has joined #ruby
[10:40:58] karapetyan: has joined #ruby
[10:41:31] AshleyPerpetual: hanmac: is there an equivalent for that?
[10:42:16] eip`: ok adaedra makes sense, thank you
[10:42:29] eip`: adaedra: do you think there is any other way other than chroot ?
[10:42:29] blackms: has joined #ruby
[10:42:49] Hanmac: i might would do that: hamming = ancestor.length - ancestor.chars.zip(descendant.chars).count(&:uniq!)
[10:42:52] adaedra: That's the cleanest
[10:43:15] eip`: and what other, not so clean, options there would be ?
[10:43:26] adaedra: But whatever you do, you'll have problems if any of your gems have native extensions, eip`
[10:43:51] futilegames: has joined #ruby
[10:44:12] binaryplease: has joined #ruby
[10:44:18] eip`: so you dont think there is actually any way to achieve what I'd like to do ?
[10:44:23] adaedra: If you're packaging needed gems to run a project with a Gemfile, you can bundle update
[10:44:28] adaedra: bundle package
[10:44:38] AshleyPerpetual: never say never :^)
[10:45:35] Ropeney: has joined #ruby
[10:48:04] Vingador: has joined #ruby
[10:49:46] Bounga: has joined #ruby
[10:51:34] `derpy: http://ruby-doc.org/core-2.3.0/Time.html#method-i-utc
[10:53:00] william3: has joined #ruby
[10:53:52] lyoshajapan: has joined #ruby
[10:54:19] bronson: has joined #ruby
[10:54:33] binaryplease: has joined #ruby
[10:54:36] norc_: AshleyPerpetual: You can use ri from your terminal too by the way. :)
[10:55:03] norc_: (Which should be your preferred way, since that will always yield the correct version for whatever Ruby version you are using)
[10:55:28] lvn: I just use google :p
[10:55:31] AshleyPerpetual: sounds better because im on my terminal anyway - irssi :P
[10:55:56] AshleyPerpetual: but then I have to ctrl-alt-left arrow to workspace 1 :(
[10:56:03] lvn: fair enough lol
[10:56:07] norc_: AshleyPerpetual: Use tmux!
[10:56:19] AshleyPerpetual: norc_: I was referring to googling, not ri
[10:56:20] norc_: Oh well. :-)
[10:56:57] AshleyPerpetual: I have two terminals side by side in tmux - irssi and term... and above that sublime text with two columns - code and test
[10:57:06] AshleyPerpetual: im on arch linux btw
[10:57:50] william3: has joined #ruby
[10:58:12] tulak: has joined #ruby
[10:58:14] william3: has joined #ruby
[10:59:58] workmad3: has joined #ruby
[11:00:00] mikecmpbll: has joined #ruby
[11:00:02] duckpupp1: has joined #ruby
[11:03:13] eregi: has joined #ruby
[11:03:15] lvn: I personally prefer atom :p
[11:03:26] AshleyPerpetual: Nothing known about Time
[11:03:38] AshleyPerpetual: lvn: I tried atom but it used wayyyy too much memory
[11:03:39] adaedra: pacman -S ruby-doc # iirc
[11:03:46] lvn: That's totally fair lol
[11:03:49] adaedra: let's not start an editor war here.
[11:03:51] AshleyPerpetual: im on a virtual machine at an internet cafe... I only have 1.7GB to spare
[11:03:56] _joes__: has joined #ruby
[11:04:02] AshleyPerpetual: im not trying - I prefer atom
[11:04:05] b|ackwolf: has joined #ruby
[11:04:09] AshleyPerpetual: it's just the memory usage was way higher
[11:04:12] lvn: I mostly use it because it looks really nice and I would feel bad switching back to subl
[11:04:18] lvn: Yeah that's totally fair
[11:04:54] AshleyPerpetual: I wonder what a similar editor in ruby would be like
[11:04:59] AshleyPerpetual: everything is an object after all...
[11:05:02] AshleyPerpetual: could be interesting
[11:05:13] adaedra: ACTION makes AshleyPerpetual an object
[11:05:17] Thav: what's wrong with vi? (:
[11:05:31] workmad3: vim > vi :P
[11:05:37] AshleyPerpetual: ACTION ports adaedra's consciousness into javascript and runs them on ie6
[11:05:42] ruby[bot]: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[11:05:49] adaedra: AshleyPerpetual: wow, that's mean
[11:05:53] AshleyPerpetual: my job is front end web dev, watch what you're turning me into there buddy!
[11:05:54] Thav: you can't find vim on every system but you can count on vi
[11:06:12] AshleyPerpetual: I'm learning ruby to then learn rails
[11:06:31] AshleyPerpetual: im also new to front end stuff, which is ok because my friend is letting me learn as I go
[11:06:33] lvn: I don't want to start an argument, but personally I think vim is better than vim.
[11:06:52] rodfersou: has joined #ruby
[11:06:59] workmad3: lvn: how to start an argument between programmers - express a preference about editors :)
[11:07:03] AshleyPerpetual: /Welllll/ it depends what you mean by vim exactly, in each case...
[11:07:25] lvn: vim as in the household cleaning product
[11:07:31] workmad3: as AshleyPerpetual is showing, it even works if you express a preference about vim in a room of vim lovers :D
[11:07:34] AshleyPerpetual: I used to use vim honestly, until I heard about this sublime fad
[11:07:52] lyoshajapan: has joined #ruby
[11:07:59] AshleyPerpetual: then I tried atom, loved it... until it crashed my vm
[11:08:04] AshleyPerpetual: dat memory usage
[11:08:06] Tempesta: has joined #ruby
[11:08:11] AshleyPerpetual: two chromiums can't compete...
[11:08:15] adaedra: ACTION takes the editor discussion and puts it in -offtopic
[11:08:28] AshleyPerpetual: ACTION joins offtopic
[11:08:30] workmad3: adaedra: gl with that... offtopic in #ruby 4evar!
[11:08:46] adaedra: workmad3: try me.
[11:08:50] AshleyPerpetual: *offtopicing intensifies*
[11:10:02] ChanServ: +o workmad3
[11:10:07] workmad3: adaedra: ok, I will :)
[11:10:23] ChanServ: -o workmad3
[11:10:40] AshleyPerpetual: didn't see that one coming
[11:11:38] adaedra: Nice hat, I have the same somewhere.
[11:12:14] adaedra: Also, you're hiding from -ops, workmad3?
[11:12:25] workmad3: oh, I forgot to add it to my autojoin still :(
[11:12:46] aganov: has joined #ruby
[11:13:25] astrobun_: has joined #ruby
[11:13:32] blackms: has joined #ruby
[11:14:11] allcentury: has joined #ruby
[11:14:22] ebbflowgo: has joined #ruby
[11:18:02] loechel: has joined #ruby
[11:19:41] Gasher: hi everyone, I'm trying to install rbx with rvm, but it doesn't work since it wants to use "llvm". llvm package is version 3.6 that's unsupported, so I installed "llvm-3.5" package instead. however, rvm gets "llvm" package by itself which it doesn't work with
[11:21:56] jimcroft: has joined #ruby
[11:22:23] Gasher: I'm on Ubuntu 15.10
[11:22:39] karapetyan: has joined #ruby
[11:23:42] p0p0pr37: has joined #ruby
[11:26:16] william3: has joined #ruby
[11:29:03] norc_: Gasher: Want to use RVM specifically?
[11:30:26] Gasher: well, I'm just using rvm
[11:30:40] Gasher: I could compile it manually, but that'd be the last resort
[11:31:15] norc_: Gasher: For rvm you can override the compiler with CC I think.
[11:31:16] platzhirsch: has joined #ruby
[11:31:35] blackms: has joined #ruby
[11:31:39] mattwildig: has joined #ruby
[11:31:54] lipoqil: has joined #ruby
[11:31:55] LoneHermit: has joined #ruby
[11:32:28] chouhoulis: has joined #ruby
[11:32:29] Gasher: norc_; no idea what you mean
[11:32:31] lyoshajapan: has joined #ruby
[11:33:37] _kfpratt: has joined #ruby
[11:34:07] laith: has joined #ruby
[11:34:22] dlitvak: has joined #ruby
[11:34:29] norc_: Gasher: https://github.com/rbenv/ruby-build/issues/762
[11:34:41] karapetyan: has joined #ruby
[11:34:42] norc_: Oh wait that is rbenv.
[11:34:53] norc_: Mmm. I honestly dont know, I dont use rvm :(
[11:35:41] Gnut: has joined #ruby
[11:35:57] Gasher: what do you use instead?
[11:36:33] darix: Gasher: export CC .. export CXX
[11:36:38] darix: to the llvm 3.5 binaries
[11:36:48] darix: although i suspect it might need newer versions
[11:37:00] darix: Gasher: export CC=/usr/bin....
[11:37:25] Matthews_: has joined #ruby
[11:37:34] Gasher: still no idea what you mean
[11:37:37] laith1: has joined #ruby
[11:37:42] spider-mario: has joined #ruby
[11:37:50] norc_: Gasher: Most people have moved away to ruby-install/chruby for its minimalistic and non-intrusive way of operation.
[11:38:26] darix: Gasher: then maybe start with some basic knowledge of you shell and shell variables
[11:38:36] darix: before doing fancy things like rubinius
[11:38:59] Gasher: I know command line, I don't know bash
[11:39:23] SebastianThorn: Gasher: what shell you using?
[11:39:38] norc_: ACTION is waiting for ksh
[11:40:06] Gasher: I'm not a fan, but meh
[11:40:20] Gasher: I'm not a fan of any GNU products in fact
[11:40:48] darix: so run BSD?
[11:41:31] Gasher: I did on a VM and I liked it
[11:41:44] Gasher: however no games on BSD...
[11:41:54] Gasher: I guess it's not a thing for me any more since I got an SSD for Windows
[11:42:27] darix: i think nethack and co also run on bsd
[11:42:45] Gasher: the shell I ran on BSD was fish
[11:42:50] Gasher: and it was really cool
[11:42:52] Gasher: very modern
[11:43:22] Pumukel: has joined #ruby
[11:43:32] ldnunes: has joined #ruby
[11:44:06] kgutteridge: has joined #ruby
[11:44:11] allcentury: has joined #ruby
[11:44:30] darix: you can run that on your ubuntu too
[11:44:40] Gasher: probably yes
[11:44:50] Gasher: but I'm a very lazy person
[11:45:57] darix: I would have never guessed that.
[11:47:13] Azure: has joined #ruby
[11:47:13] Gasher: I could switch to Arch, but deployment time is super long and it takes a lot of work
[11:47:40] SebastianThorn: fish is great but a bit wierd sometimes, long tome sence i had it installed now
[11:47:43] ljarvis: gentoo > * 4lyfe
[11:48:14] nocontrol: has joined #ruby
[11:48:28] nocontrol: does anyone use gollum ?
[11:48:42] nocontrol: I am getting a silly error: Gollum::InvalidGitRepositoryError
[11:48:47] nocontrol: I could use some help :)
[11:49:14] darix: ljarvis: opensuse is good for you!
[11:49:15] M-shine: has joined #ruby
[11:49:23] eip`: adaedra: I'm trying to chroot gem install, from arm to arm now, I receive this error:
[11:49:49] eip`: ERROR: hile executing gem ... (OpenSSL::Random:RandomError)
[11:49:53] eip`: PRNG not seeded
[11:50:09] loechel: has joined #ruby
[11:50:42] darix: feed the kernel some entropy
[11:50:45] inukshuk_: has joined #ruby
[11:50:57] lyoshajapan: has joined #ruby
[11:51:05] eip`: If I just gem install without chroot
[11:51:07] eip`: it works just fine
[11:51:14] Gasher: I just wanted to see the performance difference between Ruby, Rubinius and Crystal
[11:51:41] TomyWork: has joined #ruby
[11:52:19] dionysus69: math question: what curvature should a curve have in order for it to create a perfect circle? and in which units is curvature measured? I know angles are measured in degrees but how can I measure curvature without an angle? I am asking it here because I couldn't find a proper way to google my question
[11:53:33] shanemcd_: has joined #ruby
[11:53:35] platzhirsch: has left #ruby: ()
[11:53:43] theRealAlexz: has joined #ruby
[11:53:50] darix: i am sure there is a math channel on freenode
[11:55:12] norc_: dionysus69: Though since you asked, a circle is just 2*pi, or just tau.
[11:55:22] norc_: That is the cleanest way to describe a circle mathematically. :O
[11:56:49] trinaldi: has joined #ruby
[11:57:43] dionysus69: I did ask on math channel I thought it was dead :D ok thanks anyways :)
[11:59:44] augcesar: has joined #ruby
[12:00:10] M-Kodo: has joined #ruby
[12:00:48] duckpupp1: has joined #ruby
[12:01:43] ruby-lang861: has joined #ruby
[12:01:56] verde: has joined #ruby
[12:02:55] Gasher: darix; i just installed fish on Ubuntu, it has surprisingly easy
[12:03:30] Pumukel: has joined #ruby
[12:04:09] eregi: has joined #ruby
[12:04:09] darix: apt-get install fish
[12:04:20] dlitvak: has joined #ruby
[12:04:34] jeanlinux: has joined #ruby
[12:04:46] Dragooon: has joined #ruby
[12:05:30] Gasher: darix; I added through a PPA, not sure if it's in the default repo. to start using it, I just had to use a custom path in my terminal emulato
[12:06:05] lyoshajapan: has joined #ruby
[12:06:17] darix: you could also have changed your login shell
[12:07:11] ebbflowgo: has joined #ruby
[12:07:41] ebbflowgo: has left #ruby: ()
[12:07:48] Gasher: darix; chsh? then it only works for tty's
[12:07:58] Gasher: my emulator (gnome-terminal) still used bash
[12:08:20] IanMalcolm: has joined #ruby
[12:11:51] nocontrol: does anyone use gollum ?
[12:11:53] nocontrol: I am getting a silly error: Gollum::InvalidGitRepositoryError
[12:11:56] nocontrol: I could use some help :)
[12:12:16] skade: has joined #ruby
[12:12:36] adaedra: Gasher: chsh should change default shell for everything (but may require a logout/login). Maybe your gnome-terminal is setup to use bash and not default shell.
[12:12:46] ebbflowgo: has joined #ruby
[12:13:19] Gasher: I'm guessing it's made to use bash, but that doesn't matter
[12:14:02] bkxd: has joined #ruby
[12:14:05] ebbflowgo: has left #ruby: ()
[12:15:35] BaroMeter: has joined #ruby
[12:16:19] nocontrol: has joined #ruby
[12:17:01] gaf_: has joined #ruby
[12:17:16] ElFerna_: has joined #ruby
[12:18:44] Macaveli: has joined #ruby
[12:19:29] johnmilton: has joined #ruby
[12:20:46] binaryplease: has joined #ruby
[12:23:10] lele: has joined #ruby
[12:23:27] M-mistake: has joined #ruby
[12:23:59] lyoshajapan: has joined #ruby
[12:24:48] dionysus69: is jruby as stable as ruby appart from possible speed differences?
[12:26:01] mlehrer: has joined #ruby
[12:26:38] mlehrer: has joined #ruby
[12:28:04] gaf_: has joined #ruby
[12:30:06] sandstrom: has joined #ruby
[12:30:53] chrisseaton: dionysus69: generally yes - if you have any problems or questions there is a dedicated #jruby room where you can get help
[12:30:55] MrDoctor: has joined #ruby
[12:31:38] Mon_Ouie: has joined #ruby
[12:32:45] tvw: has joined #ruby
[12:32:56] lsmola: has joined #ruby
[12:33:11] chouhoulis: has joined #ruby
[12:34:23] karapetyan: has joined #ruby
[12:34:34] sdothum: has joined #ruby
[12:35:05] ElFerna_: has joined #ruby
[12:35:27] beast: has joined #ruby
[12:36:05] kgutteridge: has joined #ruby
[12:38:15] cnr_roxx: has joined #ruby
[12:39:04] pawnbox: has joined #ruby
[12:39:31] william3: has joined #ruby
[12:40:30] pawnbox: has joined #ruby
[12:41:20] berserk_ren: has joined #ruby
[12:41:41] alexherbo2: has joined #ruby
[12:42:46] Spami: has joined #ruby
[12:47:25] LoneHerm_: has joined #ruby
[12:49:20] Vingador: has joined #ruby
[12:50:39] Snowy_: has joined #ruby
[12:53:33] mattwildig: has joined #ruby
[12:54:34] diegoviola: has joined #ruby
[12:56:03] Pupp3tm4st3r: has joined #ruby
[12:56:08] blackms: has joined #ruby
[12:58:19] stannard: has joined #ruby
[12:58:40] laith: has joined #ruby
[12:58:42] MrDoctor: has joined #ruby
[12:59:26] ldnunes: has joined #ruby
[13:01:34] duckpupp1: has joined #ruby
[13:01:56] william3: has joined #ruby
[13:02:15] dlitvak_: has joined #ruby
[13:04:44] eregi: has joined #ruby
[13:07:39] nocontrol: has joined #ruby
[13:08:15] krzkrzkrz: has joined #ruby
[13:08:36] cstls: has joined #ruby
[13:11:19] jeanlinux: has joined #ruby
[13:11:51] pawnbox: has joined #ruby
[13:14:19] openstruct: has joined #ruby
[13:15:19] synthroid: has joined #ruby
[13:15:20] Flipez: has joined #ruby
[13:17:02] joonty: has joined #ruby
[13:17:25] marr: has joined #ruby
[13:18:28] araujo_: has joined #ruby
[13:18:57] lyoshajapan: has joined #ruby
[13:20:33] araujo_: has joined #ruby
[13:20:36] xxneolithicxx: has joined #ruby
[13:21:42] Pumukel: has joined #ruby
[13:22:19] ctrlrsf: has joined #ruby
[13:22:55] \pub\bash0r: has joined #ruby
[13:24:43] araujo_: has joined #ruby
[13:25:08] DexterLB: has joined #ruby
[13:26:25] jeanlinux: has joined #ruby
[13:26:39] Ropeney: has joined #ruby
[13:27:44] dkam_: has joined #ruby
[13:28:06] vasilakisFiL: has joined #ruby
[13:28:46] nocontrol: has joined #ruby
[13:28:47] vasilakisFiL: hello: was there any safe navigation operator in ruby implemented as `.?` ?
[13:29:17] adaedra: >> nil&.wont_get_called
[13:29:18] ruby[bot]: adaedra: # => nil (https://eval.in/527442)
[13:29:25] goodcodeguy: has joined #ruby
[13:29:48] araujo: has joined #ruby
[13:29:52] adaedra: .? never got out of development versions
[13:30:03] vasilakisFiL: I found this https://github.com/ruby/ruby/commit/a356fe1c3550892902103f66928426ac8279e072 through https://github.com/vim-ruby/vim-ruby/pull/274 and I am trying to understand if the latter pull request is still valid
[13:30:08] vasilakisFiL: ah ok then I will tell them to fix it :)
[13:31:08] adaedra: Ah, Ox0dea
[13:32:20] nogic: has joined #ruby
[13:32:20] adaedra: vasilakisfil: did you see https://github.com/vim-ruby/vim-ruby/pull/281 ?
[13:33:04] vasilakisFiL: ah sorry my bad
[13:33:45] nogic: has joined #ruby
[13:33:54] chouhoulis: has joined #ruby
[13:34:06] araujo: has joined #ruby
[13:34:38] nogic: has joined #ruby
[13:35:53] nogic: has joined #ruby
[13:36:02] araujo: has joined #ruby
[13:36:02] araujo: has joined #ruby
[13:36:25] william3_: has joined #ruby
[13:37:01] nogic: has joined #ruby
[13:38:28] araujo: has joined #ruby
[13:38:29] araujo: has joined #ruby
[13:39:26] Guest34101: has joined #ruby
[13:39:28] nisstyre_: has joined #ruby
[13:40:51] sepp2k: has joined #ruby
[13:41:28] moeabdol: has joined #ruby
[13:41:50] lyoshajapan: has joined #ruby
[13:42:08] dlitvak: has joined #ruby
[13:45:06] rsc___: has joined #ruby
[13:46:08] tulak: has joined #ruby
[13:46:31] backbox: has joined #ruby
[13:46:36] pawnbox: has joined #ruby
[13:49:47] hayden_: has joined #ruby
[13:49:51] shanemcd: has joined #ruby
[13:51:35] aryaching: has joined #ruby
[13:52:08] pawnbox: has joined #ruby
[13:53:36] karapetyan: has joined #ruby
[13:54:29] graffix222: has joined #ruby
[13:55:48] diegoviola: has joined #ruby
[13:55:54] lyoshajapan: has joined #ruby
[13:57:08] bronson: has joined #ruby
[13:59:37] haylon: has joined #ruby
[14:00:09] jmignault: has joined #ruby
[14:02:07] ramortegui: has joined #ruby
[14:02:18] duckpupp1: has joined #ruby
[14:05:31] eregi: has joined #ruby
[14:08:06] araujo: has joined #ruby
[14:09:09] araujo: has joined #ruby
[14:09:10] nofxx: has joined #ruby
[14:09:14] gagrio: has joined #ruby
[14:12:51] dlitvak: has joined #ruby
[14:13:28] blackmes1: has joined #ruby
[14:13:31] JoshL: has joined #ruby
[14:13:36] Jardayn: has joined #ruby
[14:14:16] shanemcd: has joined #ruby
[14:14:23] karapetyan: has joined #ruby
[14:15:49] lyoshajapan: has joined #ruby
[14:16:35] sgambino: has joined #ruby
[14:17:13] aryaching: has joined #ruby
[14:17:21] shanemcd: has joined #ruby
[14:20:09] crystal77: has joined #ruby
[14:20:23] krobzaur_: has joined #ruby
[14:20:25] marr: has joined #ruby
[14:22:13] nocontrol: has joined #ruby
[14:23:26] workmad3: has joined #ruby
[14:23:46] dopamean_: has joined #ruby
[14:24:16] shanemcd: has joined #ruby
[14:24:24] marr: has joined #ruby
[14:25:31] dstarh: has joined #ruby
[14:25:33] |ZzZzZzZz|: has joined #ruby
[14:25:58] krzkrzkrz: has joined #ruby
[14:26:06] allcentury: has joined #ruby
[14:27:17] VeryBewitching: has joined #ruby
[14:28:33] lyoshaja_: has joined #ruby
[14:28:39] Channel6: has joined #ruby
[14:31:13] solocshaw: has joined #ruby
[14:31:29] fullofcaffeine: has joined #ruby
[14:31:37] RTG`: has joined #ruby
[14:31:55] graffix222_: has joined #ruby
[14:34:39] chouhoulis: has joined #ruby
[14:36:05] flughafen_: has joined #ruby
[14:36:22] dhollinger: has joined #ruby
[14:38:01] duckpupp1: has joined #ruby
[14:39:02] diegoviola: has joined #ruby
[14:39:03] s00pcan: has joined #ruby
[14:41:38] malconis: has joined #ruby
[14:42:31] william3: has joined #ruby
[14:42:58] malconis: has joined #ruby
[14:44:10] dkam_: has joined #ruby
[14:44:23] Stan: has joined #ruby
[14:46:11] platzhirsch: has joined #ruby
[14:47:10] TomPeed: has joined #ruby
[14:49:38] t-richards: has joined #ruby
[14:50:43] araujo: has joined #ruby
[14:50:51] blaxter: has joined #ruby
[14:51:26] araujo: has joined #ruby
[14:52:07] stannard: has joined #ruby
[14:52:37] Shaboum: has joined #ruby
[14:53:24] pdoherty: has joined #ruby
[14:53:36] rippa: has joined #ruby
[14:54:38] laith: has joined #ruby
[14:54:44] stannard: has joined #ruby
[14:55:05] cpup: has joined #ruby
[14:56:04] olspookishmagus: has joined #ruby
[14:57:41] devbug: has joined #ruby
[14:57:46] dlitvak: has joined #ruby
[14:58:10] AlexRussia: has joined #ruby
[14:58:30] arup_r: has joined #ruby
[14:58:37] arup_r: has left #ruby: ()
[14:59:00] karapetyan: has joined #ruby
[14:59:13] trhm: has joined #ruby
[15:01:00] FooMunki: has joined #ruby
[15:01:41] uglybandersnatch: has joined #ruby
[15:02:24] spleeze: has joined #ruby
[15:02:53] DmitryBochkarev: has joined #ruby
[15:03:50] ElFerna_: has joined #ruby
[15:04:00] trhm: Hi! Do you guys know any good free Ruby tutorials? Is the one on Codecademy good?
[15:04:47] failshell: has joined #ruby
[15:05:50] adaedra: ?links trhm
[15:05:50] ruby[bot]: trhm: http://ruby-community.com/pages/links
[15:06:01] aegis3121: has joined #ruby
[15:06:17] eregi: has joined #ruby
[15:06:58] kgutteridge: has joined #ruby
[15:07:30] trhm: Oh, thank you!
[15:07:45] SebastianThorn: trhm: http://poignant.guide/book/chapter-1.html if you wanna have some fun while learning
[15:07:55] SebastianThorn: it is in the links you got aswell
[15:08:33] trhm: Thank you, I'm getting to these right away.
[15:08:55] trhm: has left #ruby: ("Leaving")
[15:09:27] apeiros: hm, not sure I like grepv. IMO my own ~Regexp is better.
[15:09:41] apeiros: the former requires a second version of all methods which take a regexp
[15:10:11] zotherstupidguy: has joined #ruby
[15:10:13] apeiros: the latter allows immediate use in any construct which performs simple matching
[15:10:16] trifling-jest: has joined #ruby
[15:10:31] trifling-jest: is there a problem with turbolinks currently?
[15:10:37] apeiros: ?rails trifling-jest
[15:10:38] ruby[bot]: trifling-jest: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[15:10:54] trifling-jest: ah yeah sorry wrong room
[15:11:35] FooMunki: has joined #ruby
[15:12:15] imperator: has joined #ruby
[15:13:07] idefine: has joined #ruby
[15:13:44] karapetyan: has joined #ruby
[15:15:30] maesitos: has joined #ruby
[15:16:00] olspookishmagus: has joined #ruby
[15:16:11] blackms: has joined #ruby
[15:18:00] imperator: good morning
[15:18:27] imperator: confused about what exactly constitutes "gzip format"
[15:19:17] imperator: text = "<text>stuff</text>" * 10; compressed = Zlib::Deflate.deflate(text); encoded = Base64.encode64(compressed)
[15:19:44] snowy: has joined #ruby
[15:19:55] imperator: apparently that's still not gzip format
[15:20:25] apeiros: you mean as in how to save it to a file with .gzip suffix?
[15:20:26] Jardayn: has joined #ruby
[15:20:40] kgutteridge: has joined #ruby
[15:20:46] idefine: has joined #ruby
[15:21:04] imperator: apeiros, need to test with ActiveSupport::Gzip.decompress
[15:21:25] imperator: which in turn is calling Zlib::GzipReader.new(StringIO.new(encoded))
[15:21:31] pawnbox: has joined #ruby
[15:21:33] apeiros: iirc zlib deflate is not gzip
[15:21:42] avenj: has joined #ruby
[15:21:44] apeiros: Zlib::Gzip* are for gzip
[15:21:45] idefine: has joined #ruby
[15:22:04] apeiros: GzipReader/GzipWriter are probably the ones of interest to you
[15:22:30] apeiros: and I remember them to be rather inconvenient to deal with just strings
[15:23:02] k13nox: has joined #ruby
[15:23:22] imperator: yeah, looks like it's not setup for stream compression, gotta use a file :(
[15:23:32] whippythellama: has joined #ruby
[15:23:34] apeiros: StringIO worked iirc
[15:23:54] B1n4r10: has joined #ruby
[15:23:58] apeiros: at least I'm pretty sure I've used those in the past without a file
[15:24:17] Mon_Ouie: has joined #ruby
[15:25:20] floatingpoint: has joined #ruby
[15:25:27] apeiros: yupp, works
[15:25:42] Pumukel: has joined #ruby
[15:26:02] idefine: has joined #ruby
[15:26:20] apeiros: ACTION accidentally the abbreviation
[15:26:35] Akuma: has joined #ruby
[15:28:08] podman: has joined #ruby
[15:28:31] alexishuard: has joined #ruby
[15:29:00] n008f4g_: has joined #ruby
[15:29:54] alexishuard: has joined #ruby
[15:30:26] karapetyan: has joined #ruby
[15:31:51] Qureshi: has joined #ruby
[15:32:56] karapetyan: has joined #ruby
[15:33:41] Qureshi_: has joined #ruby
[15:35:26] chouhoulis: has joined #ruby
[15:36:25] rodolfowtf: has joined #ruby
[15:36:26] decoponio: has joined #ruby
[15:36:28] babblebre: has joined #ruby
[15:36:59] shanemcd: has joined #ruby
[15:39:39] dionysus69: has joined #ruby
[15:42:56] dlitvak: has joined #ruby
[15:43:05] zast: has joined #ruby
[15:44:35] Rodya_: has joined #ruby
[15:44:54] dkam_: has joined #ruby
[15:45:14] eregi: has joined #ruby
[15:45:22] darix: imperator: base64 after compression sounds weird
[15:46:01] ElFerna_: has joined #ruby
[15:48:00] darkf_: has joined #ruby
[15:48:11] kies^: has joined #ruby
[15:48:45] vbatts|work: has left #ruby: ("found the other side of the rainbow")
[15:48:47] imperator: darix, could be, wasn't sure if that was intrinsic to compression/gzip format or not
[15:48:59] vbatts|work: has joined #ruby
[15:49:02] vbatts|work: has left #ruby: ("found the other side of the rainbow")
[15:49:03] imperator: i'm not that familiar with what goes on under the hood
[15:49:27] rdavila: has joined #ruby
[15:49:30] darix: imperator: that feels awkward .. you compress first and then explode the data into base64 again^^
[15:50:34] imperator: darix, looking at the examples i came across, it looks like they were doing that just to make it printable or something
[15:50:50] imperator: or maybe that's necessary to go across the wire properly?
[15:51:26] darix: also not required for that
[15:52:04] mfaeh: has joined #ruby
[15:52:05] imperator: hm...my memory may be failing me, but i seem to recall having issues with raw output across the wire, but let me test that
[15:52:21] darix: depends on the protocol on the line
[15:52:30] idefine: has joined #ruby
[15:52:56] dlitvak: has joined #ruby
[15:53:07] flughafen_: has joined #ruby
[15:56:59] kf: has joined #ruby
[15:57:13] idefine_: has joined #ruby
[15:58:01] karapetyan: has joined #ruby
[15:58:40] shanemcd: has joined #ruby
[15:59:49] mattwildig: has joined #ruby
[16:00:01] Timberwo|f: has joined #ruby
[16:00:08] imperator: yeah, it comes across the wire as numbers ;)
[16:00:25] hxegon: has joined #ruby
[16:01:20] apeiros: base64 is usually used for non-binary safe carriers
[16:01:29] apeiros: like to embed it in html
[16:01:34] darix: imperator: like any binary. though question is http?
[16:01:41] darix: proper headers set?
[16:02:03] darix: so if we want to embed apeiros. we will need base64. a lot of base64.
[16:02:49] imperator: well, this is via the winrm module, so basically i'm running a powershell script remotely, compressing the results on their end, and retrieving the data on my end
[16:03:49] aegis3121: has joined #ruby
[16:04:28] imperator: looking at the raw output, it's "\r\n108\r\n145\r\n44\r\n255\r\n177\r\n142" and so on
[16:04:48] dlitvak: has joined #ruby
[16:05:05] mary5030: has joined #ruby
[16:05:20] stannard: has joined #ruby
[16:05:37] chouhoulis: has joined #ruby
[16:06:09] ready: has joined #ruby
[16:07:06] eregi: has joined #ruby
[16:08:15] PaulCapestany: has joined #ruby
[16:08:45] shanemcd: has joined #ruby
[16:09:12] bubbys: has joined #ruby
[16:09:35] charlemagne: has joined #ruby
[16:11:02] sandstrom: has joined #ruby
[16:11:12] codecop: has joined #ruby
[16:13:07] Gasher: has joined #ruby
[16:14:08] darkf: has joined #ruby
[16:16:25] dgncn: https://www.dropbox.com/s/9vq430e9s3q7pu8/Let%27s%20Build%20Instagram%20with%20Ruby%20on%20Rails%20-%20Free%20Edition.pdf?dl=0
[16:19:11] devbug: has joined #ruby
[16:19:23] BTRE: has joined #ruby
[16:20:11] QORRiE: has joined #ruby
[16:20:19] rcvalle: has joined #ruby
[16:20:48] cdg: has joined #ruby
[16:21:01] speakingcode: has joined #ruby
[16:21:16] binaryplease: has joined #ruby
[16:22:22] SenpaiSilver: has joined #ruby
[16:22:27] dhollinger: has joined #ruby
[16:23:06] terminal_: has joined #ruby
[16:23:09] tjohnson: has joined #ruby
[16:23:55] BullHorn: has joined #ruby
[16:24:56] polishdub: has joined #ruby
[16:25:53] BullHorn: hello i am new
[16:25:53] Gnut: has joined #ruby
[16:26:04] BullHorn: i tried python a bit and some thing about it annoyed me
[16:26:23] BullHorn: im thinking of looking at ruby, is there a go-to website/book/videoseries for complete programming beginners
[16:26:57] astrofog: has joined #ruby
[16:27:29] nando293921: has joined #ruby
[16:28:25] ytti: BullHorn, https://www.ruby-lang.org/en/documentation/ maybe this helps
[16:28:53] adaedra: ?links BullHorn
[16:28:53] ruby[bot]: BullHorn: http://ruby-community.com/pages/links
[16:28:54] james: has joined #ruby
[16:29:33] dome22xl: has joined #ruby
[16:29:39] BullHorn: thanks ill take a look... a lot to choose from. anything specific out of that bunch?
[16:30:17] lyoshajapan: has joined #ruby
[16:30:55] DmitryBochkarev: has joined #ruby
[16:34:35] shevy: BullHorn https://pine.fm/LearnToProgram/chap_00.html is a good starter, at the least you know how to use irb afterwards :D
[16:35:34] idefine: has joined #ruby
[16:36:31] godzillaenlacasa: has joined #ruby
[16:37:06] fostertheweb: has joined #ruby
[16:39:34] m4rCsi_: has joined #ruby
[16:40:56] pawnbox: has joined #ruby
[16:40:57] duckpupp1: has joined #ruby
[16:41:26] mfb2: has joined #ruby
[16:42:25] kgutteridge: has joined #ruby
[16:42:51] aufi: has joined #ruby
[16:44:29] cschneid_: has joined #ruby
[16:44:41] mephistophocles: has joined #ruby
[16:44:54] dunj4: has joined #ruby
[16:45:09] idefine_: has joined #ruby
[16:45:19] Gasher: could someone please link me that new soft that's like RVM but better?
[16:45:41] dkam_: has joined #ruby
[16:46:56] laith: has joined #ruby
[16:47:19] havenwood: Gasher: https://github.com/postmodern/chruby#readme
[16:47:30] havenwood: Gasher: https://github.com/postmodern/ruby-install#readme
[16:47:36] hamed_r: has joined #ruby
[16:48:31] elifoster: has joined #ruby
[16:48:32] Gasher: in simple words, which one is better / what's different?
[16:49:02] havenwood: Gasher: Of the two I linked, the first switches between Rubies and the second installs Rubies. They work together.
[16:49:33] ruby[bot]: "Best" and "better" are subjective. Try to use a different term.
[16:50:05] havenwood: Gasher: RVM, rbenv/ruby-build and chruby/ruby-install are three paths of many that one can take for installing and switching between Rubies.
[16:50:24] adaedra: rbenv uses a "shim" system, which is some proxy executables that will select the right ruby when running it or a gem command, whereas chruby will update $PATH to point directly to the right binaries.
[16:51:22] FooMunki: has joined #ruby
[16:51:24] araujo: has joined #ruby
[16:51:42] augcesar[2]: has joined #ruby
[16:52:42] mg^: has joined #ruby
[16:52:46] havenwood: and ruby-build ships its own openssl but otherwise relies on you for deps and ruby-install uses your package manager for openssl and deps
[16:52:57] kgutteridge: has joined #ruby
[16:53:29] eregi: has joined #ruby
[16:53:56] cabargas: has joined #ruby
[16:54:24] havenwood: for ruby-build you update the tool to get new checksum/version metadata and for ruby-install you sync the latest checksum/version metadata from the ruby-versions repo
[16:56:32] snapcase: has joined #ruby
[16:57:08] rodolfowtf: has joined #ruby
[16:58:55] bronson: has joined #ruby
[17:00:10] fullofcaffeine: has joined #ruby
[17:02:08] marxarelli: has joined #ruby
[17:02:18] Abrin: has joined #ruby
[17:02:23] safe: has joined #ruby
[17:03:10] marxarelli: has joined #ruby
[17:03:19] last_staff: has joined #ruby
[17:06:26] idefine: has joined #ruby
[17:07:51] allcentury: has joined #ruby
[17:09:41] tvw: has joined #ruby
[17:09:48] amclain: has joined #ruby
[17:10:03] verdan: has joined #ruby
[17:10:41] symm-: has joined #ruby
[17:10:55] eregi: has joined #ruby
[17:11:11] william3: has joined #ruby
[17:12:22] eurialo: has joined #ruby
[17:12:31] kf: has joined #ruby
[17:14:02] jottr: has joined #ruby
[17:14:11] shanemcd: has joined #ruby
[17:17:02] finisherr: has joined #ruby
[17:17:07] i8igmac: has joined #ruby
[17:19:08] LuckyABA: has joined #ruby
[17:19:53] Eiam: has joined #ruby
[17:21:09] william3: has joined #ruby
[17:21:56] fullofcaffeine: has joined #ruby
[17:22:05] blandflakes: has joined #ruby
[17:22:14] KensoDev: has joined #ruby
[17:22:52] idefine: has joined #ruby
[17:23:26] Authenticator: has left #ruby: ()
[17:23:44] tomphp: has joined #ruby
[17:26:51] devbug: has joined #ruby
[17:27:34] benlieb: has joined #ruby
[17:27:53] nogic: has joined #ruby
[17:28:49] nogic: has joined #ruby
[17:29:54] nogic: has joined #ruby
[17:30:38] bronson: has joined #ruby
[17:31:21] devbug: has joined #ruby
[17:34:12] dopie: has joined #ruby
[17:35:13] Maletor: has joined #ruby
[17:35:45] FooMunki: has joined #ruby
[17:36:52] pdoherty: has joined #ruby
[17:37:06] chouhoulis: has joined #ruby
[17:37:56] solars: has joined #ruby
[17:40:47] jeanlinux: has joined #ruby
[17:41:20] goodcodeguy: has joined #ruby
[17:41:41] duckpupp1: has joined #ruby
[17:42:16] t-richards: Hey guys, I'm looking for what I believe was an open-source "learn ruby" book online. I forget the name; it's on the tip of my tongue! It's not any of these things: http://learnrubythehardway.org/book/index.html http://ruby.bastardsbook.com/chapters/installation/ https://launchschool.com/books/ruby
[17:42:16] t-richards: http://ruby-for-beginners.rubymonstas.org/variables/reusing_names.html
[17:43:11] t-richards: There was one distinct quality I recall; I was browsing the book source on GitHub and I noticed they were generating some very pretty Mac OS-looking decorated irb snippets by using a liquid tag in Jekyll:
[17:43:16] t-richards: Something along the lines of
[17:43:21] Nilium: Do you remember anything about the writing style?
[17:43:23] snowy: has joined #ruby
[17:43:26] shadeslayer: has joined #ruby
[17:43:34] t-richards: I'm afraid I don'
[17:43:43] Nilium: Guessing it's probably not _why's
[17:44:01] synthroid: has joined #ruby
[17:44:38] apeiros: t-richards: pine.fm maybe?
[17:44:46] apeiros: https://pine.fm/LearnToProgram/
[17:45:02] t-richards: I don't believe it was the Poignant guide, no.
[17:45:11] apeiros: or the pickaxe? ruby pickaxe
[17:45:13] t-richards: apeiros: Not that one either :(
[17:45:15] apeiros: damn safari
[17:45:19] gregf: has joined #ruby
[17:45:31] apeiros: http://ruby-doc.com/docs/ProgrammingRuby/
[17:45:43] apeiros: gotta reload before being able to copy the url after a search. I keep forgetting that :(
[17:45:51] counterapparatus: has joined #ruby
[17:46:13] t-richards: Not the pickaxe one either, I'm afraid.
[17:47:05] t-richards: The major visual distinction was that they had irb sessions in the markup (not screenshots) with a window-decoration thing applied to them
[17:47:19] zacstewart: has joined #ruby
[17:47:35] dionysus69: has joined #ruby
[17:48:52] t-richards: I wish there were a usable code search tool; I'm 99% positive that I saw "{% irb %}" on GitHub after discovering that their book was open-source
[17:51:50] chouhoulis: has joined #ruby
[17:54:13] dome22xl: has joined #ruby
[17:54:43] solars_: has joined #ruby
[17:56:11] dlitvak: has joined #ruby
[17:56:21] shevy: we will never find out!
[17:56:52] t-richards: It's breaking my brain! I'm going to find this book, dangit.
[17:58:50] tomphp: has joined #ruby
[17:59:11] gizmore: has joined #ruby
[17:59:21] alexishuard: has joined #ruby
[17:59:44] crystal77: has joined #ruby
[18:00:15] Disavowed: has joined #ruby
[18:01:47] chouhoulis: has joined #ruby
[18:03:52] mikecmpbll: has joined #ruby
[18:05:06] cdg: has joined #ruby
[18:05:40] sandstrom: has joined #ruby
[18:05:48] dionysus69: has joined #ruby
[18:05:55] volty: has joined #ruby
[18:06:24] volty: hi, monitor process memory using without resorting to external prog (like ps) ?
[18:07:00] nogic: has joined #ruby
[18:07:35] alexishuard: is it a question ?
[18:07:38] eam_: volty: it's operating system dependent
[18:09:07] eam: shevy: don't be fatuous
[18:09:33] volty: eam: so nothing else than ps or c call ?
[18:09:50] eam: http://i0.wp.com/dudeism.com/wp-content/uploads/2014/07/Dont-Be-Fatuous.jpg
[18:09:57] apeiros: volty: depending on your OS, there's /proc
[18:10:02] eam: volty: there are a ton of ways to do it, but it depends on your OS
[18:10:04] Mon_Ouie: GC.stat has some info
[18:10:10] shevy: eam everyone loved the real lebowski!
[18:10:28] Mon_Ouie: (If you mean the ruby process's own memory usage)
[18:10:43] shevy: cool... I don't think I have used GC.stat before
[18:10:59] shevy: Mon_Ouie and havenwood are my two main knowledge bases here in #ruby, they know the wild stuff
[18:11:14] shevy: :heap_tomb_pages
[18:11:21] shevy: GC.stat even has zombie info!
[18:11:58] shanemcd: has joined #ruby
[18:12:17] volty: yap, thx Mon_Ouie, thx all
[18:12:20] bluOxigen: has joined #ruby
[18:12:24] dome22xl: has joined #ruby
[18:14:07] TomyLobo: has joined #ruby
[18:14:30] shanemcd: has joined #ruby
[18:16:19] eip`: has left #ruby: ()
[18:16:44] nogic: has joined #ruby
[18:17:21] intrigueD: has joined #ruby
[18:17:34] baweaver: has joined #ruby
[18:17:42] al2o3-cr: has joined #ruby
[18:17:44] ElFerna_: has joined #ruby
[18:17:44] volty: I hope gc.stat relies on os system calls. I have an extension (webkit) that sometimes eats too much memory.
[18:17:57] nogic: has joined #ruby
[18:18:45] volty: linux here, but I'll need it on win too
[18:19:13] Mon_Ouie: I don't think it knows about memory usage that isn't due to the size of actual Ruby objects
[18:19:24] dionysus69: has joined #ruby
[18:20:11] volty: ah, thx again, I'll go with apeiros' /proc, and then think about win with ext prog or a small c extension
[18:23:06] dkam_: has joined #ruby
[18:24:07] blackgoat: has joined #ruby
[18:25:20] BSaboia: has joined #ruby
[18:27:29] tAn: has joined #ruby
[18:27:36] freerobby: has joined #ruby
[18:29:14] baweaver: has joined #ruby
[18:30:45] graydot: has joined #ruby
[18:30:58] dionysus69: has joined #ruby
[18:30:58] mattwildig: has joined #ruby
[18:31:01] rehat: has joined #ruby
[18:31:41] joonty: has joined #ruby
[18:32:02] [Butch]: has joined #ruby
[18:32:23] mattwildig: has joined #ruby
[18:32:48] andikr: has joined #ruby
[18:33:30] Gnut_: has joined #ruby
[18:34:34] nogic: has joined #ruby
[18:34:57] Don_John: has joined #ruby
[18:35:50] stannard: has joined #ruby
[18:35:56] sandstrom: has joined #ruby
[18:36:22] Axy: has joined #ruby
[18:36:22] Axy: has joined #ruby
[18:37:42] tao_: has joined #ruby
[18:38:41] kgutteridge: has joined #ruby
[18:39:02] bronson: has joined #ruby
[18:40:12] platzhirsch: has left #ruby: ()
[18:40:34] lakiluki: has joined #ruby
[18:42:28] lakiluki: Hello guys, I'm new at ruby and I'm trying to make a script that fetches xml data using open-uri. The code looks like this "Nokogiri::XML(open(url))", the problem is the script exites when the http code is 400 (which can happen and I just want it to ignore it), how can I do this?
[18:43:27] Gnut: has joined #ruby
[18:43:42] duckpupp1: has joined #ruby
[18:44:11] djbkd: has joined #ruby
[18:44:13] baweaver: has joined #ruby
[18:44:14] nogic: has joined #ruby
[18:45:04] nogic: has joined #ruby
[18:45:33] lyoshajapan: has joined #ruby
[18:46:05] nogic: has joined #ruby
[18:46:25] Ox0dea: lakiluki: Are you sure you don't want to fix whatever's causing you to make bad requests?
[18:46:41] kgutteridge: has joined #ruby
[18:47:22] nogic: has joined #ruby
[18:47:32] lakiluki: 0x0dea: Well I'm getting the data from a REST service and "400 Bad request" includes the error code and description in the XML data, and I want to display that.
[18:47:42] lakiluki: So yeah, I don't want to fix it
[18:48:44] nogic: has joined #ruby
[18:48:46] dopamean_: has joined #ruby
[18:48:57] lakiluki: Ox0dea, quoating again since I misspelt your username in the previous message, the O and 0 are hard to differ haha
[18:49:28] Ox0dea: lakiluki: Sorry about that. Maybe use a font with a slashed zero. :P
[18:49:37] nogic: has joined #ruby
[18:49:39] sneakerhax: has joined #ruby
[18:50:02] Ox0dea: In any case, the name of the exception in question is Net::HTTPBadRequest; rescue that and do whatever seems appropriate.
[18:50:14] lakiluki: Ox0dea, it actually has a dot in the middle of the zero, but I didn't see it at first, I need to get my eyes checked haha
[18:50:28] brijesh: has joined #ruby
[18:50:37] nogic: has joined #ruby
[18:51:46] davedev24: has joined #ruby
[18:51:49] dome22xl: has joined #ruby
[18:53:31] Ox0dea: lakiluki: Nah, you can't be faulted for seeing what's supposed to be a hexadecimal literal as, well, a hexadecimal literal. :P
[18:54:04] dionysus69: has joined #ruby
[18:55:09] apeiros: ACTION uses a font with dotted zero
[18:55:20] apeiros: since slashed zero is actually a different character
[18:55:29] apeiros: øØ0O # 4 different chars
[18:55:34] dome22xl: has joined #ruby
[18:55:52] Papierkorb: That isn't even a slashed zero .. it's a slashed o ..
[18:56:22] dfockler: has joined #ruby
[18:57:34] apeiros: true. http://www.fileformat.info/info/unicode/char/d8/index.htm (I need to get a proper standard ref for unicode chars)
[18:57:47] Anderson69s_Deb: has joined #ruby
[18:57:55] tobiasvl: yes, øØ is a letter in my alphabet :P
[18:58:59] jeanlinux: has joined #ruby
[18:59:59] diegoviola: has joined #ruby
[19:00:39] blackmes1: has joined #ruby
[19:00:42] dionysus69: has joined #ruby
[19:01:12] ruby329: has joined #ruby
[19:01:47] firstdayonthejob: has joined #ruby
[19:01:50] adaedra: tobiasvl: no or dk?
[19:02:31] djbkd: has joined #ruby
[19:03:01] ruby329: Hey guys, so I have two questions. Are there any major differences for going through files on a windows computer vs a linux computer? Also, how would I go through files on a server instead of my harddrive?
[19:03:04] djbkd: has joined #ruby
[19:03:31] uglybandersnatch: has joined #ruby
[19:03:37] todd: has joined #ruby
[19:04:03] adaedra: ruby329: there are some differences between Windows an Linux FS (Mainly, Windows use drive letters, C:, D:, etc, where linux has a common root /). It depends on what you need to do.
[19:04:04] tobiasvl: adaedra: no
[19:04:35] apeiros: no. the bane of yaml.
[19:04:56] adaedra: ruby329: for a server, you may want to use something like ftp or sftp (or mount it through smb or nfs and access it like a local fs)
[19:05:12] adaedra: tobiasvl: I wondered for a second what you were replying negatively to :D
[19:05:36] dome22xl: has joined #ruby
[19:05:54] Pupp3tm4st3r: has joined #ruby
[19:06:00] ekinmur: has joined #ruby
[19:06:04] tobiasvl: hey, you were the one who asked and presented me with the options!
[19:06:32] kirun: has joined #ruby
[19:06:39] tobiasvl: HEJ HEJ HEMSKT MYCKET HEJ
[19:06:57] Ox0dea: So many consonants.
[19:06:58] aegis3121: has joined #ruby
[19:07:09] bb010g: has joined #ruby
[19:07:52] ruby329: adaedra: I'm not doing anything major, just listing off all of the files, and for ftp/sftp do you have any recommended gems? Lastly, what would be the best way to list all files in a directory including sub directories. I can implement a recursive function, but I suspect ruby might already have something in place.
[19:08:07] adaedra: For the first question
[19:08:12] adaedra: &ri FTP SFTP
[19:08:12] `derpy: No results
[19:08:22] adaedra: For the second one
[19:08:26] adaedra: &ri Dir#glob
[19:08:26] `derpy: No results
[19:08:32] adaedra: Ok, something's broken
[19:08:37] adaedra: &ri Dir.glob
[19:08:37] `derpy: http://ruby-doc.org/core-2.3.0/Dir.html#method-c-glob
[19:08:38] fostertheweb: has joined #ruby
[19:08:42] adaedra: Me, for starters
[19:08:48] alexishuard: has joined #ruby
[19:08:57] Ox0dea: &ri Net::FTP
[19:08:57] `derpy: http://ruby-doc.org/stdlib-2.3.0/libdoc/net/ftp/rdoc/Net/FTP.html
[19:09:22] ruby329: adaedra: thanks!
[19:09:27] adaedra: Ah, I could have bet we had ssh bindings
[19:09:35] ruby329: Ox0dea: thanks!
[19:11:06] adaedra: For sftp, there's https://rubygems.org/gems/net-sftp
[19:12:19] adaedra: ACTION baps `derpy 
[19:12:38] cnr_roxx: has joined #ruby
[19:13:04] binaryplease: has joined #ruby
[19:13:32] mrmargolis: has joined #ruby
[19:14:06] dome22xl: has joined #ruby
[19:14:11] solocshaw: has joined #ruby
[19:15:42] Anderson69s_Deb: has joined #ruby
[19:16:27] cstls: has joined #ruby
[19:17:46] Dimik: has joined #ruby
[19:18:09] shadoi: has joined #ruby
[19:18:38] cstls`: has joined #ruby
[19:19:01] Anderson69s_Deb: has joined #ruby
[19:19:08] nogic: has joined #ruby
[19:21:44] dome22xl: has joined #ruby
[19:23:28] flughafen_: is def foo(bar = 0) the same as (bar: 0)?
[19:24:32] the_drow: has joined #ruby
[19:24:35] adaedra: you call the first `foo 3` and the second `foo bar: 3`
[19:24:52] weaksauce: has joined #ruby
[19:25:25] KensoDev: has joined #ruby
[19:25:53] flughafen_: thanks adaedra
[19:26:50] chouhoulis: has joined #ruby
[19:27:06] arthurix: has joined #ruby
[19:27:35] arthurix_: has joined #ruby
[19:29:40] tomphp: has joined #ruby
[19:31:08] fullofca_: has joined #ruby
[19:32:15] Cohedrin: has joined #ruby
[19:32:40] vF3hNGxc47h8: has joined #ruby
[19:33:20] rdavila: has joined #ruby
[19:33:53] snowy: has joined #ruby
[19:35:02] kgutteridge: has joined #ruby
[19:35:09] Pumukel: has joined #ruby
[19:36:09] laith: has joined #ruby
[19:37:54] sandstrom: has joined #ruby
[19:38:42] ESpiney: has joined #ruby
[19:39:07] ESpiney: has joined #ruby
[19:40:07] laith: has joined #ruby
[19:43:13] spider-mario: has joined #ruby
[19:43:17] chouhoulis: has joined #ruby
[19:43:28] jeanlinux: has joined #ruby
[19:43:38] ht_: has joined #ruby
[19:44:28] duckpupp1: has joined #ruby
[19:47:05] ruby-lang375: has joined #ruby
[19:48:06] baweaver: has joined #ruby
[19:49:16] lvn: has joined #ruby
[19:50:13] JakFrist: has joined #ruby
[19:50:54] lvn: has joined #ruby
[19:51:06] cnr_roxx: has joined #ruby
[19:52:16] william3: has joined #ruby
[19:57:11] djbkd: has joined #ruby
[19:58:26] djbkd: has joined #ruby
[19:59:31] pawnbox: has joined #ruby
[20:00:46] existensil: has joined #ruby
[20:01:04] dkam_: has joined #ruby
[20:01:11] krobzaur: has joined #ruby
[20:02:25] Guest-ru: has joined #ruby
[20:03:48] trosborn: has joined #ruby
[20:03:51] ixti: has joined #ruby
[20:04:07] ur5us: has joined #ruby
[20:04:17] djbkd: has joined #ruby
[20:04:18] LuckyABA: has joined #ruby
[20:04:39] aegis3121: has joined #ruby
[20:05:27] baweaver: has joined #ruby
[20:05:58] djbkd: has joined #ruby
[20:05:59] dionysus69: has joined #ruby
[20:07:54] agent_white: has joined #ruby
[20:07:57] benlieb: has joined #ruby
[20:11:03] imperator: has left #ruby: ("Leaving")
[20:12:52] havenwood: >> [public_method(def foo(bar = 0) end).parameters, public_method(def baz(quz: 0) end).parameters]
[20:12:53] ruby[bot]: havenwood: # => method `foo' for class `#<Class:#<Object:0x413f9350>>' is private (NameError) ...check link for more (https://eval.in/527635)
[20:13:23] havenwood: >> [method(def foo(bar = 0) end).parameters, method(def baz(quz: 0) end).parameters]
[20:13:24] ruby[bot]: havenwood: # => [[[:opt, :bar]], [[:key, :quz]]] (https://eval.in/527636)
[20:13:28] havenwood: flughafen_: ^
[20:14:25] flughafen_: 'thanks havenwood
[20:14:25] trosborn: has joined #ruby
[20:14:38] havenwood: (in irb/pry they're public, top level must be funky in eval.in)
[20:14:53] william3: has joined #ruby
[20:16:23] InternetFriend: has joined #ruby
[20:18:37] al2o3-cr: yeah, that's why refinements don't function properly, i bet
[20:19:07] kaleido: >> a ="b" ; b = a ; puts a + b
[20:19:08] ruby[bot]: kaleido: # => bb ...check link for more (https://eval.in/527637)
[20:19:17] kaleido: im so good at this
[20:19:42] al2o3-cr: ACTION deja vu
[20:19:59] kgutteridge: has joined #ruby
[20:20:06] snowy: has joined #ruby
[20:20:18] Ox0dea: al2o3-cr: Hm? Refinements are wonky because you're not at the top-level binding in Pry.
[20:20:23] Ox0dea: Not by default, anyway. ;)
[20:20:54] Ox0dea: kaleido: Are you learning Ruby?
[20:21:40] al2o3-cr: good to know, thanks Ox0dea
[20:21:53] adaedra: déjà é_è
[20:22:02] kaleido: Ox0dea: i am. im a bit more knowledgable than what i had rubybot do, but im definitely a noob
[20:22:57] cholq: has joined #ruby
[20:23:08] Ox0dea: adaedra: I was actually going to ask if there's anything at the intersection of déjà vu and Schadenfreude. :P
[20:23:11] BtcBen: has joined #ruby
[20:23:44] fertapric: has joined #ruby
[20:25:58] tulak: has joined #ruby
[20:26:40] tomphp: has joined #ruby
[20:26:47] havenwood: >> class << self; remove_method :inspect end; self
[20:26:48] ruby[bot]: havenwood: # => #<Object:0x40b19348> (https://eval.in/527641)
[20:27:39] dlitvak: has joined #ruby
[20:28:46] ss_much: has joined #ruby
[20:29:13] jordanm: has joined #ruby
[20:29:21] MatthewsFace: has joined #ruby
[20:29:31] pawnbox: has joined #ruby
[20:31:46] ht_: has joined #ruby
[20:31:51] Eiam_: has joined #ruby
[20:32:23] jordanm: I have a repository with multiple projects. each project is in it's own directory of the root of the project. each one has it's own rakefile, with some minor differences. I already have some common functions shared between rake files, but I would also like to share namespaces and tasks. does rake support any type of inheritance?
[20:37:06] Zackio: has joined #ruby
[20:37:21] n008f4g_: has joined #ruby
[20:39:29] bronson: has joined #ruby
[20:40:22] mattwildig: has joined #ruby
[20:40:31] idefine: has joined #ruby
[20:41:02] nando293921: has joined #ruby
[20:43:41] pdoherty: has joined #ruby
[20:44:31] trinaldi: has joined #ruby
[20:44:58] jottr: has joined #ruby
[20:45:10] duckpupp1: has joined #ruby
[20:45:36] Disavowed: has joined #ruby
[20:46:06] agent_white: has joined #ruby
[20:46:18] Moosashi: has joined #ruby
[20:47:15] Disavowed: Hey all. New to Ruby so go easy on me. What's the name for something that creates directories and files during a gem install? I'm trying to write one but I'm having trouble finding relevant information.
[20:47:38] shevy: well it is valid ruby code so you can use everything that ruby allows you to use jordanm but I am not sure if rake itself has any form of extra inheritance-pattern for subdirectories or projects in them
[20:48:00] jordanm: shevy: thanks
[20:48:02] shevy: Disavowed is it require 'fileutils'; FileUtils.mkdir_p() ?
[20:48:31] shevy: or just a recursive copy perhaps... cp_rv or cp_r() and verbose flag... guess cp_rv does not exist :D
[20:48:39] Disavowed: shevy: Oh wow, don't I feel like an idiot! Thank you so much!
[20:50:16] jottr: has joined #ruby
[20:50:33] nofxx: has joined #ruby
[20:50:33] nofxx: has joined #ruby
[20:51:48] nogic: has joined #ruby
[20:52:10] jottr: has joined #ruby
[20:52:43] stannard: has joined #ruby
[20:53:40] Disavowed: I'm creating my first Gem - what's the best way to run it while developing? Do I have to build it each time?
[20:54:11] adaedra: The -Ilib flag.
[20:54:18] adaedra: (It's a capitalized I.)
[20:55:05] adaedra: So if you have a binary, `ruby -Ilib bin/mygem`, or if you want to play with it, `pry -Ilib -rmygem` (for requiring it)
[20:55:17] j3r0: has joined #ruby
[20:55:21] adaedra: I think there's also a bundle console command that does the same.
[20:55:31] skade: has joined #ruby
[20:56:24] shevy: Disavowed I usually use setup.rb to copy the new one without having to build a new gem and installing it; but this would also be easy with aliases + ruby scripts
[20:56:26] InternetFriend: has joined #ruby
[20:56:47] shevy: oldschool http://i.loveruby.net/en/projects/setup/
[20:56:58] jeanlinux: has joined #ruby
[20:57:10] adaedra: “ruby(>=1.4)” — Hahahahahahaha.
[20:57:32] shevy: everlasting source code
[20:57:47] Disavowed: adaedra: shevy: Perfect suggestions; thank you both!
[20:58:13] Disavowed: I'm coming from Python. It's early days but I think I prefer Ruby.
[20:58:28] FernandoBasso: has joined #ruby
[20:58:40] adaedra: A real programmer knows to use the tool that best fits the task.
[20:59:15] Disavowed: adaedra: Agreed. But there's a lot to like here.
[20:59:44] pawnbox: has joined #ruby
[21:00:13] benlieb: has joined #ruby
[21:00:13] jottr: has joined #ruby
[21:00:25] nogic: has joined #ruby
[21:03:33] jottr: has joined #ruby
[21:05:58] symm-: has joined #ruby
[21:06:41] jottr: has joined #ruby
[21:08:51] nerium: has joined #ruby
[21:09:27] Disavowed: Is there an easy way to get Pry to automatically reload a module when its code is changed? Sorry for all the questions!
[21:09:36] lvn: has joined #ruby
[21:09:40] jottr: has joined #ruby
[21:09:50] tomphp: has joined #ruby
[21:10:07] Mia: has joined #ruby
[21:10:07] Mia: has joined #ruby
[21:10:38] jenrzzz: has joined #ruby
[21:12:23] rht: has joined #ruby
[21:12:42] jottr: has joined #ruby
[21:13:42] jottr: has joined #ruby
[21:18:33] jottr: has joined #ruby
[21:19:03] workmad3: has joined #ruby
[21:19:34] jottr: has joined #ruby
[21:19:58] cnr_roxx: has joined #ruby
[21:20:47] jottr: has joined #ruby
[21:22:42] dgncn_: has joined #ruby
[21:23:33] despai: has joined #ruby
[21:23:45] lvn: has joined #ruby
[21:24:45] jottr: has joined #ruby
[21:24:51] snockerton: has joined #ruby
[21:26:25] baweaver: has joined #ruby
[21:26:29] unreal_: has joined #ruby
[21:27:23] hangelo: has joined #ruby
[21:28:32] intrigueD: has joined #ruby
[21:30:11] snockerton1: has joined #ruby
[21:30:41] warreng__: has joined #ruby
[21:30:44] warreng__: has left #ruby: ()
[21:30:46] warreng__: has joined #ruby
[21:30:59] warreng__: quick regexp question... i have a CSV file that doesn't escape quotes. knowing that fields are comma delimited and strings are wrapped in matching double quotes, can regex convert the string "2015-07-25","Toys"r"us","-17.95" to "2015-07-25","Toys""r""us","-17.95" (notice double "" in "Toys""r""us")?
[21:32:00] veduardo: has joined #ruby
[21:32:51] warreng__: likely using lookahead and lookbehind?
[21:32:52] tobiasvl: warreng__: should work, look into negative lookbehind/lookahead and exclude ," and ",
[21:33:22] uglybandersnatch: has joined #ruby
[21:34:18] cdg: has joined #ruby
[21:34:26] cabargas: has joined #ruby
[21:35:38] fullofcaffeine: has joined #ruby
[21:36:12] warreng__: tobiasvl: http://www.perlmonks.org/bare/?node_id=270993 looks about right? (perl not ruby)
[21:36:41] arlek: has joined #ruby
[21:40:36] fertapric: has joined #ruby
[21:40:58] AndroUser123: has joined #ruby
[21:41:27] AndroUser123: Ruby is a great programming language
[21:42:01] AndroUser123: Can anyone recommend me anything on ruby sockets
[21:42:05] tvw: has joined #ruby
[21:42:11] dome22xl: has joined #ruby
[21:42:17] AndroUser123: Internet protocols
[21:42:38] AndroUser123: Connected to ruby
[21:44:11] adaedra: Good evening, ChameleonSix.
[21:44:21] Radar: AndroUser123: Maybe tell us a little about what you're trying to do?
[21:44:21] AndroUser123: You have a good memory
[21:44:29] Radar: AndroUser123: You're ban evading.
[21:44:30] Radar: !ban AndroUser123
[21:44:31] ruby[bot]: +bb AndroUser123!*@*$#ruby-banned *!*@212-200-65-109.3gnet.mts.telekom.rs$#ruby-banned
[21:44:31] ruby[bot]: ruby[bot] kicked AndroUser123: offense, see http://ruby-community.com/pages/user_rules
[21:44:32] ruby[bot]: -bb $a:Pilate$#ruby-banned J0ckR0ach!*@*$#ruby-banned
[21:44:43] adaedra: You have a good memory
[21:44:48] Radar: Literally 0 tolerance.
[21:45:46] djbkd: has joined #ruby
[21:45:57] duckpupp1: has joined #ruby
[21:47:45] SebastianThorn: what just happend? o.o
[21:47:47] jeanlinux: has joined #ruby
[21:48:15] adaedra: Nothing, carry on.
[21:49:09] momomomomo: has joined #ruby
[21:49:19] dkam_: has joined #ruby
[21:49:23] pawnbox: has joined #ruby
[21:50:31] allcentury: has joined #ruby
[21:51:41] fertapric: has joined #ruby
[21:54:17] warreng__: tobiasvl: for what it's worth, here's the solution: File.read(path).gsub(/\r/,'').gsub(/(?<!^|,)"(?!,|$|\n)/,'""')
[21:54:38] fullofcaffeine: has joined #ruby
[21:54:44] Ox0dea: warreng__: https://www.youtube.com/watch?v=H07zYvkNYL8
[21:54:46] warreng__: File.read(path).gsub(/\r/,'').gsub(/(?<!^|,)"(?!,|$)/,'""')
[21:55:23] tobiasvl: >> '"2015-07-25","Toys"r"us","-17.95"'.gsub(/\r/,'').gsub(/(?<!^|,)"(?!,|$)/,'""')
[21:55:24] ruby[bot]: tobiasvl: # => "\"2015-07-25\",\"Toys\"\"r\"\"us\",\"-17.95\"" (https://eval.in/527651)
[21:55:31] tobiasvl: warreng__: nice!
[21:55:58] momomomomo: tobiasvl: check out rubular
[21:56:10] ruby[bot]: Resources for regular expressions: http://ruby-doc.org/core/Regexp.html || http://rubular.com/ || http://www.regular-expressions.info
[21:56:11] momomomomo: rubular.com will help you get your regex's down
[21:56:34] tobiasvl: momomomomo: it wasn't my regex, I was just testing warreng's regex which we helped him with :)
[21:56:49] momomomomo: oh, well there you have it
[21:58:16] snockerton: has joined #ruby
[21:58:30] hxegon: good idea to put .gem file in git?
[21:59:02] shevy: some people put everything into their gits!
[21:59:25] blackice_: has joined #ruby
[21:59:56] william3: has joined #ruby
[22:00:42] hxegon: shevy some people put .jpg in their git, but I'm not asking if I can :)
[22:01:11] andybernard: has joined #ruby
[22:01:17] finisherr: has joined #ruby
[22:01:39] adaedra: hxegon: I wouldn't put it there, as it's easy to recreate from the repository
[22:01:55] hxegon: k, thx adaedra
[22:02:56] Mio-chan: has joined #ruby
[22:03:21] benlieb: has joined #ruby
[22:10:18] allcentury: has joined #ruby
[22:10:35] finisherr: has joined #ruby
[22:11:32] acosonic: has joined #ruby
[22:12:49] bronson: has joined #ruby
[22:12:54] stannard: has joined #ruby
[22:15:31] ghoti: has joined #ruby
[22:17:31] despai: has joined #ruby
[22:17:54] dfinninger: has joined #ruby
[22:19:21] pawnbox: has joined #ruby
[22:20:08] Coraline: has left #ruby: ("Zoom zoom")
[22:22:41] ledestin: has joined #ruby
[22:22:47] zapata: has joined #ruby
[22:23:15] tobiasvl: yeah, generated files shouldn't be in git
[22:23:28] htmldrum: has joined #ruby
[22:24:49] n008f4g_: has joined #ruby
[22:25:21] Eiam_: has joined #ruby
[22:25:51] djbkd: has joined #ruby
[22:25:51] jeffk4: has joined #ruby
[22:26:48] blackgoat: has joined #ruby
[22:28:02] B4daBing73: has joined #ruby
[22:29:35] lacuna: has joined #ruby
[22:31:00] kgutteridge: has joined #ruby
[22:32:30] Limix: has joined #ruby
[22:32:31] treehug88: has joined #ruby
[22:32:53] KensoDev: has joined #ruby
[22:33:44] mattwildig: has joined #ruby
[22:34:23] impi0us: has joined #ruby
[22:34:24] cstls`: has joined #ruby
[22:34:39] wilbert: has joined #ruby
[22:35:58] dkam_: has joined #ruby
[22:38:27] openstruct: has joined #ruby
[22:38:31] rikkipitt: has joined #ruby
[22:38:57] TBAA: has joined #ruby
[22:39:07] Brando753: has joined #ruby
[22:39:37] hahuang65: has joined #ruby
[22:40:56] counterapparatus: has joined #ruby
[22:42:01] RTG`: has joined #ruby
[22:42:25] dlitvak: has joined #ruby
[22:43:15] nullwarp: has joined #ruby
[22:43:35] Limix: Hi all, working with an sdk that is making http requests. Would like to log the actual http activity
[22:43:41] idefine: has joined #ruby
[22:43:46] Limix: is there a good way to do this in a rails project?
[22:44:03] Limix: just log all requests and responses?
[22:45:26] impi0us: like the ones you see on console ?
[22:46:03] impi0us: usually they are also written to development.log in your strucuture, maybe see how it's done
[22:46:11] impi0us: and do yours
[22:46:43] duckpupp1: has joined #ruby
[22:46:59] devyn: has joined #ruby
[22:47:50] haylon: has left #ruby: ("WeeChat 1.4")
[22:48:14] jeanlinux: has joined #ruby
[22:48:49] Limix: is that only for incoming requests?
[22:48:54] Limix: I need outgoing mostly
[22:49:01] Radar: Limix: Do you know what the SDK is using for making those HTTP requests?
[22:49:20] Limix: also not sure if it changes the log generation, but I’m running as rake tasks
[22:49:24] Limix: not sure let me see
[22:49:26] pawnbox: has joined #ruby
[22:49:39] Limix: I feel like I got this to work once: https://github.com/railsware/http_logger
[22:49:53] Limix: but I can’t find any config now and I see no log activity
[22:51:00] jeanlinux: has joined #ruby
[22:51:39] Nuck: has joined #ruby
[22:51:41] Limix: it has rolled its own: https://github.com/waynerobinson/xeroizer/blob/master/lib/xeroizer/http.rb
[22:52:04] snowy: has joined #ruby
[22:52:21] Contigi: has joined #ruby
[22:52:46] dlitvak: has joined #ruby
[22:54:37] kirillzh: has joined #ruby
[22:55:30] kirillzh: has joined #ruby
[22:56:36] kirillzh: has joined #ruby
[22:56:49] kirillzh: How to do the same but keep order? https://eval.in/private/2b7e69ad99535d
[22:59:36] Canar: has joined #ruby
[22:59:39] dlitvak: has joined #ruby
[22:59:56] kirillzh: Better naming: https://eval.in/private/a787f2e4596497
[23:00:04] TobiG77: has joined #ruby
[23:00:28] goodcodeguy: has joined #ruby
[23:00:37] Guest38: has joined #ruby
[23:01:01] jeanlinux: has joined #ruby
[23:01:06] finisherr: has joined #ruby
[23:03:13] Ox0dea: kirillzh: https://eval.in/527669
[23:04:07] trosborn: has joined #ruby
[23:04:19] nando293921: has joined #ruby
[23:04:50] steffkes: has joined #ruby
[23:06:08] benlieb: has joined #ruby
[23:07:33] kirillzh: Ox0dea, thanks a lot!
[23:09:22] Ox0dea: kirillzh: Sure thing. :)
[23:10:01] baweaver: has joined #ruby
[23:10:25] workmad3_: has joined #ruby
[23:11:18] jottr_: has joined #ruby
[23:11:39] binaryplease: has joined #ruby
[23:14:06] gaf_: has joined #ruby
[23:14:12] z3uS: has joined #ruby
[23:14:15] KnownSyntax: has joined #ruby
[23:14:24] Limix: has joined #ruby
[23:14:31] KnownSyntax: has joined #ruby
[23:14:54] bronson: has joined #ruby
[23:15:01] elifoster: has joined #ruby
[23:16:03] sts: has joined #ruby
[23:17:59] sts: hello folks. I'd like to setup a yaml config file, which evaluates a key's value in context of my application. eg. path: '/var/www/#{application}' should be expandend later on in the application. how would i best do that?
[23:19:22] jeanlinux: has joined #ruby
[23:20:13] Limix: has joined #ruby
[23:20:33] pawnbox: has joined #ruby
[23:21:31] dlitvak: has joined #ruby
[23:21:49] helpa: has joined #ruby
[23:21:59] drbrain: sts: where does application come from?
[23:22:23] dlitvak: has joined #ruby
[23:24:18] uglybandersnatch: has joined #ruby
[23:26:02] sts: drbrain: from a trusted config file.
[23:26:09] sts: oh sorry
[23:26:38] sts: application context, eg. an instance variable of my class.
[23:26:48] drbrain: so, kinda, "a different file"?
[23:27:27] drbrain: and will path almost-always start with "/var/www/" or will it be arbitrary?
[23:28:47] drbrain: … my idea is to have a line like "application_parent_directory: '/var/www/'" and File.join it with application when you need to build the path
[23:28:54] drbrain: instead of interpolating, which is fraught with peril
[23:29:28] drbrain: if it's almost-always the same you can provide a default at the spot where you would expand it
[23:29:36] drbrain: instead of having a giant name like that in the YAML config file
[23:29:40] mdih: has joined #ruby
[23:31:28] sts: drbrain: i need to be able to configure the pattern how a directroy structure looks like.
[23:32:13] drbrain: sure, and with File.join:
[23:32:15] sts: drbrain: it will be arbitrary
[23:32:28] drbrain: >> File.join '/var/www', 'my-application-name'
[23:32:30] ruby[bot]: drbrain: # => "/var/www/my-application-name" (https://eval.in/527693)
[23:32:58] drbrain: the problem with my idea is that "application_parent_directory" isn't particularly descriptive
[23:33:43] sts: drbrain: i can't do that because it could be either '/var/www/#{application}' or '/srv/#{application}' or anything the user wants...
[23:34:12] drbrain: so application_parent_directory: '/srv' or application_parent_directory: '/I/like/ham'
[23:34:24] Oxford: Why not ERB?
[23:34:44] drbrain: An ERb configuration file sounds scary
[23:34:59] Oxford: Yeah, it does.
[23:35:31] ramfjord: has joined #ruby
[23:36:07] sts: it does :)
[23:37:06] drbrain: sts: so when you would use the value, File.join yaml_config_file.fetch('application_parent_directory'), application
[23:37:34] sts: just some a example on typical patterns i'd need to configure: https://gist.github.com/sts/1b266c4519d3a16f9af1
[23:38:49] allcentury: has joined #ruby
[23:39:11] brijesh: has joined #ruby
[23:39:12] drbrain: then I might do /srv/www/:environment/:name/:name/:environment/public
[23:39:20] drbrain: and gsub the :environment with the variable
[23:41:16] sts: sounds fine!
[23:41:21] drbrain: I guess you could gsub #{variable_name} too, instead of eval
[23:41:25] drbrain: basically, don't eval
[23:41:29] sts: can i do a generic gsub somehow?
[23:42:07] Rodya_: has joined #ruby
[23:42:54] drbrain: >> environment = 'production'; name = 'my_app'; "/srv/www/#{environment}/#{name}/#{name}/#{environment}/public".gsub("#\{#{environment}}", environment).gsub("#\{#{name}}", name)
[23:42:55] ruby[bot]: drbrain: # => "/srv/www/production/my_app/my_app/production/public" (https://eval.in/527694)
[23:43:12] intrigueD: has joined #ruby
[23:43:17] dome22xl: has joined #ruby
[23:43:19] drbrain: there's a better way…
[23:43:38] KnownSyntax: has joined #ruby
[23:43:41] KnownSyntax: has joined #ruby
[23:45:00] solocshaw: has joined #ruby
[23:45:02] Rodya_: has joined #ruby
[23:45:44] openstruct: has joined #ruby
[23:46:15] drbrain: >> values = { 'environment' => 'production', 'name' => 'my_app' }; '/srv/www/#{environment}/#{name}/#{name}/#{environment}/public'.gsub(/#\{([^}]+)\}/) { values[$1] }
[23:46:16] ruby[bot]: drbrain: # => "/srv/www/production/my_app/my_app/production/public" (https://eval.in/527695)
[23:46:56] dfinninger: has joined #ruby
[23:47:27] duckpupp1: has joined #ruby
[23:47:31] drbrain: >> values = { '#{environment}' => 'production', '#{name}' => 'my_app' }; '/srv/www/#{environment}/#{name}/#{name}/#{environment}/public'.gsub(/#\{([^}]+)\}/, values)
[23:47:32] ruby[bot]: drbrain: # => "/srv/www/production/my_app/my_app/production/public" (https://eval.in/527696)
[23:48:52] sts: ok. thats nice, thanks
[23:49:01] shanemcd_: has joined #ruby
[23:50:19] pawnbox: has joined #ruby
[23:54:00] counterapparatus: has joined #ruby
[23:55:39] jeanlinux: has joined #ruby
[23:56:32] y2mq37: has joined #ruby
[23:56:56] tulak_: has joined #ruby