« Back to channel list

#ruby - 28 August 2015

« Back 1 day Forward 1 day »
[00:00:13] Guest74293: has joined #ruby
[00:01:47] iateadonut: has joined #ruby
[00:03:49] Ropeney: has joined #ruby
[00:04:09] Guest61: has joined #ruby
[00:05:23] podman: has joined #ruby
[00:06:36] charliesome: has joined #ruby
[00:08:55] ruby-lang913: has joined #ruby
[00:09:40] mary5030: has joined #ruby
[00:09:58] lipoqil: has joined #ruby
[00:10:39] Musashi007: has joined #ruby
[00:11:24] jesterfraud: has joined #ruby
[00:15:02] Ox0dea: Mon_Ouie: I saw a non-bot speak in there once.
[00:16:31] Musashi007: has joined #ruby
[00:17:41] charliesome: has joined #ruby
[00:20:45] ruby300: has joined #ruby
[00:21:32] voltalio: has joined #ruby
[00:21:48] Radar: just once? :)
[00:23:16] nux443: has joined #ruby
[00:23:20] baweaver: Matz tends to be more active on Twitter
[00:25:25] arooni-mobile: has joined #ruby
[00:26:46] ecnalyr: has joined #ruby
[00:26:48] millerti: has joined #ruby
[00:27:26] minimuffins: has joined #ruby
[00:27:44] jeadre: has joined #ruby
[00:31:59] madhatter: has joined #ruby
[00:33:17] christiandsg: has joined #ruby
[00:35:01] ta: has joined #ruby
[00:35:58] hyy: has joined #ruby
[00:38:16] s00pcan: has joined #ruby
[00:38:31] arescorpio: has joined #ruby
[00:42:32] baweaver: has joined #ruby
[00:42:58] ruby458: has joined #ruby
[00:44:19] saddad: has joined #ruby
[00:44:58] Rinzlit1: has joined #ruby
[00:47:44] Swappticon: has joined #ruby
[00:49:32] Feyn: has joined #ruby
[00:49:51] s00pcan: has joined #ruby
[00:49:54] Torrieri: has joined #ruby
[00:50:06] hyy: has joined #ruby
[00:51:42] craysiii: has joined #ruby
[00:51:47] Limix: has joined #ruby
[00:52:23] millerti: has joined #ruby
[00:55:19] symm-: has joined #ruby
[00:56:17] coffeejunk: has joined #ruby
[00:57:21] minimuffins: has joined #ruby
[00:57:28] sevenseacat: has joined #ruby
[00:58:32] siemprefresco: has joined #ruby
[00:59:37] jeadre: has joined #ruby
[01:01:22] northfurr: has joined #ruby
[01:04:11] Rubie: has joined #ruby
[01:04:42] devoldmx: has joined #ruby
[01:09:44] Musashi007: has joined #ruby
[01:10:18] tkuchiki: has joined #ruby
[01:10:19] iamninja: has joined #ruby
[01:11:10] jackjackdripper: has joined #ruby
[01:13:37] Axy: has joined #ruby
[01:13:37] Axy: has joined #ruby
[01:13:50] hyy: has joined #ruby
[01:17:22] tjbiddle: has joined #ruby
[01:18:50] unreal: has joined #ruby
[01:20:17] mary5030: has joined #ruby
[01:20:35] jeadre: has joined #ruby
[01:21:55] northfurr: has joined #ruby
[01:24:13] NeverDie: has joined #ruby
[01:26:30] dopamean_: has joined #ruby
[01:26:45] Averna: has joined #ruby
[01:28:07] saddad: has joined #ruby
[01:28:51] Averna: has joined #ruby
[01:30:50] tsvenson: has joined #ruby
[01:33:27] ngscheurich: has joined #ruby
[01:34:28] havenwood: has joined #ruby
[01:36:07] christiandsg: has joined #ruby
[01:36:59] ta: has joined #ruby
[01:41:09] opensource_ninja: has joined #ruby
[01:42:26] minimuffins: has joined #ruby
[01:44:20] ylg: has joined #ruby
[01:45:23] j_mcnally: has joined #ruby
[01:47:04] jenrzzz: has joined #ruby
[01:48:10] northfurr: has joined #ruby
[01:53:36] Motoservo: has joined #ruby
[01:54:19] stardiviner: has joined #ruby
[01:54:54] Torrieri: has joined #ruby
[01:55:16] paulcsmith: has joined #ruby
[01:57:59] dented42: has joined #ruby
[01:58:04] lipoqil: has joined #ruby
[01:59:13] Maletor: has joined #ruby
[02:00:00] nubrew: has joined #ruby
[02:02:38] nubrew: has left #ruby: ()
[02:03:24] poli: has joined #ruby
[02:04:43] rushed: has joined #ruby
[02:05:27] A124: has joined #ruby
[02:06:12] renderful: has joined #ruby
[02:06:51] laurentide: has joined #ruby
[02:08:00] chouhoulis: has joined #ruby
[02:08:52] laurentide: has joined #ruby
[02:09:12] dimasg: has joined #ruby
[02:10:25] xxx: has joined #ruby
[02:10:58] chouhoulis: has joined #ruby
[02:12:17] nettoweb: has joined #ruby
[02:12:21] linuxboytoo: has joined #ruby
[02:12:22] bigredboots: has joined #ruby
[02:12:43] chingchongpingpo: has joined #ruby
[02:15:44] minimuffins: has left #ruby: ()
[02:15:53] Swappticon: has joined #ruby
[02:16:08] minimuffins: has joined #ruby
[02:17:40] mesoscared: has joined #ruby
[02:22:45] dc: has joined #ruby
[02:23:06] araujo: has joined #ruby
[02:23:58] slash_nick: has joined #ruby
[02:24:30] dgutierrez1287: has joined #ruby
[02:25:55] robh71: has joined #ruby
[02:27:50] Guest61_: has joined #ruby
[02:27:53] jtdowney: has joined #ruby
[02:27:53] jtdowney: has joined #ruby
[02:28:58] rushed: has joined #ruby
[02:30:23] Hijiri: has joined #ruby
[02:32:40] Helheim: has joined #ruby
[02:32:47] ericwood: has joined #ruby
[02:34:02] allcentury: has joined #ruby
[02:36:30] duracrisis: has joined #ruby
[02:36:53] lukaszk: has joined #ruby
[02:37:20] Mendenhall: has joined #ruby
[02:37:44] mordocai: has joined #ruby
[02:38:36] ta: has joined #ruby
[02:38:54] christiandsg: has joined #ruby
[02:39:50] larissa: has joined #ruby
[02:40:42] sparr: has joined #ruby
[02:41:07] Musashi007: has joined #ruby
[02:42:08] cscheib: has joined #ruby
[02:42:44] chrisarcand: has joined #ruby
[02:43:19] mleung: has joined #ruby
[02:43:52] ianchentw: has joined #ruby
[02:46:47] pjaspers: has joined #ruby
[02:48:08] tmtwd: has joined #ruby
[02:49:34] nux443: has joined #ruby
[02:49:50] r1cem0n: has joined #ruby
[02:51:48] araujo_: has joined #ruby
[02:52:21] mshadle: has joined #ruby
[02:52:46] Guest61: has joined #ruby
[02:53:11] mshadle: can you "gem install bundler" but not on the system level? so not trying to write to /var/lib/ruby
[02:53:44] tkuchiki: has joined #ruby
[02:54:26] nofxx: mshadle, sure
[02:54:47] mshadle: i know how to do bundle install --path, but not how to get gem install bundler to do it ;)
[02:54:49] nofxx: mshadle, 'user install'
[02:55:02] nofxx: --user-install
[02:55:23] nofxx: mshadle, add on ~/.gemrc , so you don't need to use it everytime
[02:55:51] nofxx: mshadle, that file would be: gem: --user-install
[02:56:19] mshadle: and looks like it goes to ~/.gem/ruby/2.1.0/bin/bundle ?
[02:56:42] nofxx: mshadle, yup... make sure to add that to your $PATH
[02:59:08] Vile`: has joined #ruby
[02:59:53] jeadre: has joined #ruby
[02:59:56] Torrieri: has joined #ruby
[03:01:26] bronson: has joined #ruby
[03:01:35] choke: has joined #ruby
[03:02:49] mshadle: has left #ruby: ()
[03:04:48] _djbkd: has joined #ruby
[03:05:28] devoldmx: has joined #ruby
[03:05:52] mistermocha: has joined #ruby
[03:07:50] robwri32_: has joined #ruby
[03:08:00] robwri32_: Good Evening
[03:08:12] charliesome: has joined #ruby
[03:08:56] nux443: has joined #ruby
[03:09:10] Exuma: has joined #ruby
[03:09:11] tubuliferous_: has joined #ruby
[03:09:33] robwri32_: does some one have a second to guide me a google search for an issue i'm having?
[03:11:11] iamninja: has joined #ruby
[03:11:18] braincrash: has joined #ruby
[03:11:56] howdoi: has joined #ruby
[03:12:06] ruboto: Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
[03:12:35] robwri32_: word, just wasn't sure anyone was here
[03:13:24] nofxx: robwri32_, that's imprecise... we often kill each other to whom will help you first. The last one usually commits hakiri.
[03:14:01] pawnbox: has joined #ruby
[03:14:20] robwri32_: ok so i'm pretty new, and say i'm working through a guide/book/tutorial there is a gem file its got the decencies and all listed in it. so about 90% of these i've tried i am constantly running into build/compile errors
[03:14:52] robwri32_: should i be trying to match versions of rails/ruby to what i'm trying to work thru?
[03:15:21] shevy: you should address these build errors
[03:15:25] robwri32_: so i keep hitting these bundle install errors then i run bundlee update
[03:16:01] robwri32_: so i eventually have to word through those errors updating version and name to current stuff in that gem file
[03:16:09] nofxx: robwri32_, you realize that's totally language agnostic. Imo you should go last version everywhere/everytime.
[03:16:31] Musashi007: has joined #ruby
[03:16:42] robwri32_: last or latest
[03:16:50] shevy: if there is a ruby gem that is a binding to some C program, then it must be compiled, which will require the prior dependencies in particular the .h files to exist
[03:17:03] mistermo_: has joined #ruby
[03:18:39] robwri32_: @nofxx i don't think i follow what your saying.
[03:19:06] robwri32_: could the code i'm following be affected by me chaning versions of gems
[03:19:31] nerdoncall: has joined #ruby
[03:19:38] nux443: has joined #ruby
[03:19:44] shevy: but you know that this is a pretty meta discussion as long as you don't give specific names :)
[03:19:52] saddad: has joined #ruby
[03:20:15] nofxx: robwri32_, I saying that's not ruby specific. Also, do you know how the numbering works?
[03:20:19] robwri32_: @shevy you talking to me
[03:20:34] nofxx: 0.0.1 -> 0.0.1 vs 1.0.0 -> 2.0.0 for instance robwri32_
[03:20:38] pyon: has joined #ruby
[03:20:53] robwri32_: @nofxx yes i do
[03:21:14] nofxx: robwri32_, you should not have any issues if the major version doesn't change
[03:21:45] nofxx: if it does change, I would search for a new tutorial, or just have the changelog side by side
[03:22:01] robwri32_: @nofxx can i show you the link i'm working thur and maybe you can figure out if this guy is off base?
[03:22:03] jeadre: has joined #ruby
[03:22:28] robwri32_: http://rubyonrailstutor.github.io/setup/restaurantly-app-setup/
[03:23:00] robwri32_: so i got past the bundle installs the ps postgres was a booger.
[03:23:43] robwri32_: but the rails generate rspec:install failed
[03:24:08] nofxx: it's pretty up to date, with rspec exception. Guess the guy doesn't like the 3 syntax
[03:24:10] robwri32_: and it seems like a common theme
[03:24:29] nofxx: you can load the old syntax and use 3, dunno if the author know (or if it works)
[03:24:43] robwri32_: its only a year old too
[03:25:07] r0x0rZ: has joined #ruby
[03:25:15] robwri32_: so your saying jump up the rspec verison
[03:25:23] nofxx: robwri32_, you'll need to post some errors
[03:25:44] nofxx: robwri32_, that may require massive change in spec, but as you're learning I would say
[03:25:45] nofxx: rm -rf spec/*
[03:25:56] nofxx: do the app, have fun, search for tests later
[03:26:15] nofxx: use rspec 3 or minitest when you do
[03:26:46] nofxx: robwri32_, those are just tests, nothing that the app needs to run
[03:27:04] robwri32_: got you some error messages
[03:27:17] nux443: has joined #ruby
[03:27:34] robh71: has joined #ruby
[03:27:52] davedev24: has joined #ruby
[03:28:16] zipkid: has joined #ruby
[03:28:17] frode15243: has joined #ruby
[03:28:20] jackjackdripper: has joined #ruby
[03:28:26] dmoe: has joined #ruby
[03:28:32] ArchRogem: has joined #ruby
[03:28:32] bttf: has joined #ruby
[03:28:36] pizzaops: has joined #ruby
[03:28:42] shevy: you can publish them here https://gist.github.com/ for instance
[03:28:49] alxndr: has joined #ruby
[03:29:28] robwri32_: https://gist.githubusercontent.com/robwri32/216d4c9def8e77ff2560/raw/eb81cc11643fbf98db13d74a20f3c02b8663e9f1/gistfile1.txt
[03:30:24] G: has joined #ruby
[03:30:28] hostess: has joined #ruby
[03:31:04] PhilK: has joined #ruby
[03:31:05] luckyme: has joined #ruby
[03:31:15] BLuEGoD: has joined #ruby
[03:31:18] mjmac: has joined #ruby
[03:31:24] pyon: has joined #ruby
[03:31:26] larissa: has joined #ruby
[03:31:35] bf4: has joined #ruby
[03:31:38] cschneid: has joined #ruby
[03:31:49] drbrain: has joined #ruby
[03:32:16] Shidash: has joined #ruby
[03:32:16] dymk: has joined #ruby
[03:32:23] universa1: has joined #ruby
[03:32:23] sfr^: has joined #ruby
[03:32:25] cball: has joined #ruby
[03:32:31] jeadre: has joined #ruby
[03:32:38] nullwarp: has joined #ruby
[03:32:40] waxjar: has joined #ruby
[03:32:41] exadeci: has joined #ruby
[03:33:20] craysiii: has joined #ruby
[03:33:22] hyy1: has joined #ruby
[03:33:23] CHVNX: has joined #ruby
[03:33:35] bigredboots: has joined #ruby
[03:34:28] mistermocha: has joined #ruby
[03:34:57] khebbie: has joined #ruby
[03:34:59] ggherdov: has joined #ruby
[03:35:51] robwri32_: ok thnks guys i've got to turn in, try again in the morning
[03:36:25] cndiv: has joined #ruby
[03:36:40] graydot: has joined #ruby
[03:37:11] preyalone: has joined #ruby
[03:37:29] jimeh: has joined #ruby
[03:39:02] Klumben: has joined #ruby
[03:39:31] alem0lars: has joined #ruby
[03:40:14] psye: has joined #ruby
[03:40:16] ta: has joined #ruby
[03:41:00] darkf: has joined #ruby
[03:42:13] pawnbox: has joined #ruby
[03:43:49] arian0n: has joined #ruby
[03:44:25] Musashi007: has joined #ruby
[03:45:54] Eiam_: has joined #ruby
[03:46:14] lipoqil: has joined #ruby
[03:46:38] mistermo_: has joined #ruby
[03:46:39] graydot: has joined #ruby
[03:47:34] luckyme: has joined #ruby
[03:49:20] hyy: has joined #ruby
[03:49:40] nux443: has joined #ruby
[03:50:15] baweaver: has joined #ruby
[03:54:38] chipotle: has joined #ruby
[03:54:56] nux443: has joined #ruby
[03:56:20] Oog: has joined #ruby
[03:56:41] arian0n: has joined #ruby
[03:57:03] Eiam_: anyone have a light weight suggestion/example for a structure to hang some basic Sequel stuff off? just like creating your database, setting up the tables, creating your models, rake tasks for creation/migrations ? I found a couple gists that were from 2011 of rake tasks, but it looks like Sequel has added a lot of that support already.
[03:57:06] mistermocha: has joined #ruby
[03:57:33] Eiam_: I'm just using db/database.rb for initials connections, db/migrations/001_.rb for up/downs and /models/blah.rb for my actual models
[03:57:46] pawnbox: has joined #ruby
[03:58:13] baweaver: Might be worthwhile to read into how Rails does it.
[03:59:53] baweaver: really depends, why do you need 'lightweight'?
[04:00:17] pen: has joined #ruby
[04:00:33] Eiam_: rails brings in too much magic, i want to be able to easily follow whats going on or have someone else follow it without having to know rails magic
[04:00:40] Eiam_: (I'm using sinatra)
[04:00:56] Eiam_: so lightweight = simple to follow
[04:01:07] baweaver: the problem is that by foregoing rails you end up reinventing half of it.
[04:01:31] baweaver: you can just use ActiveRecord for Sinatra.
[04:01:44] baweaver: That being said, reading around on ORMs in that same domain
[04:01:51] baweaver: not sure is Sequel has that or not.
[04:02:44] baweaver: DataMapper looks to do a lot of what you're interested in, but that's not Sequel so if you're bound there...
[04:02:52] Eiam_: datamapper is deaddd
[04:03:49] Eiam_: (last i checked they were focused on their next release, a rewrite)
[04:04:45] Eiam_: okay well, ill just go with what i've got then, figure out some rake tasks
[04:04:56] Torrieri: has joined #ruby
[04:05:09] baweaver: yeah, not finding anything relevant from a cursory glance.
[04:05:29] nux443: has joined #ruby
[04:05:33] jeadre: has joined #ruby
[04:08:34] jeadre: has joined #ruby
[04:10:23] Oog: has joined #ruby
[04:15:18] rehat: has joined #ruby
[04:15:51] rehat: has joined #ruby
[04:17:09] nux443: has joined #ruby
[04:17:35] bigredboots: has joined #ruby
[04:21:20] Musashi007: has joined #ruby
[04:22:16] casadei: has joined #ruby
[04:23:22] allcentury: has joined #ruby
[04:24:23] auzty: has joined #ruby
[04:25:13] lemur: has joined #ruby
[04:25:30] rbowlby: has joined #ruby
[04:27:18] hubcaps: has joined #ruby
[04:30:22] dimasg: has joined #ruby
[04:31:04] bronson: has joined #ruby
[04:32:40] Jewry: has joined #ruby
[04:32:50] graydot: has joined #ruby
[04:34:09] yfeldblum: has joined #ruby
[04:36:10] krz: has joined #ruby
[04:36:40] Gnomethrower: has joined #ruby
[04:36:46] Gnomethrower: has joined #ruby
[04:38:03] Gnomethrower: has joined #ruby
[04:38:06] Gnomethrower: has joined #ruby
[04:38:06] haasn: has joined #ruby
[04:40:51] Hobbyboy: has joined #ruby
[04:41:44] christiandsg: has joined #ruby
[04:41:59] ta: has joined #ruby
[04:42:13] mary5030: has joined #ruby
[04:44:02] laurentide_: has joined #ruby
[04:47:43] Rinzlit1: has joined #ruby
[04:48:41] jackjackdripper: has joined #ruby
[04:48:42] d2dchat: has joined #ruby
[04:51:05] mistermocha: has joined #ruby
[04:51:57] fedexo: has joined #ruby
[04:53:01] rakm: has joined #ruby
[04:55:18] khebbie: has joined #ruby
[04:59:13] riotjones: has joined #ruby
[04:59:17] mary5030: has joined #ruby
[05:00:33] pawnbox: has joined #ruby
[05:01:01] mary5030_: has joined #ruby
[05:02:13] devoldmx: has joined #ruby
[05:03:28] tjbiddle: has joined #ruby
[05:03:41] opensource_ninja: has joined #ruby
[05:03:52] codenapper: has joined #ruby
[05:04:56] tkuchiki: has joined #ruby
[05:05:31] jenrzzz: has joined #ruby
[05:05:42] robh71: has joined #ruby
[05:07:52] Vile`: has joined #ruby
[05:09:55] Torrieri: has joined #ruby
[05:10:45] r0x0rZ: has joined #ruby
[05:10:54] khebbie: has joined #ruby
[05:11:15] weemsledeux: has joined #ruby
[05:11:56] tkuchiki: has joined #ruby
[05:12:08] iamninja: has joined #ruby
[05:12:34] tjbiddle: has joined #ruby
[05:17:26] pawnbox: has joined #ruby
[05:18:18] choke: has joined #ruby
[05:18:54] charliesome: has joined #ruby
[05:19:13] Mendenhall: has joined #ruby
[05:20:27] r0x0rZ: has joined #ruby
[05:20:51] Eiam_: alright, think i got that all sorted out
[05:20:58] dhjondoh: has joined #ruby
[05:21:54] Polysics: has joined #ruby
[05:22:34] jeadre: has joined #ruby
[05:22:47] Eiam_: baweaver: https://gist.github.com/anonymous/a38d9e30e14f18ed6d47 ? =0
[05:23:10] Limix: has joined #ruby
[05:23:33] baweaver: Just curious
[05:23:44] Eiam_: i don't normally write any models as I typically inherit existing code bases.
[05:23:46] amystephen: has joined #ruby
[05:24:06] baweaver: Well aren't you a model citizen?
[05:24:20] baweaver: ACTION bows head in shame for horrid pun
[05:24:42] dgutierrez1287: has joined #ruby
[05:24:53] ecnalyr: has joined #ruby
[05:24:54] UtkarshRay: has joined #ruby
[05:25:02] baweaver: Glad you got it figured out
[05:25:10] baweaver: I'll have to poke Sequel later
[05:28:35] ChanServ: +o Mon_Ouie
[05:28:50] Mon_Ouie: -b *!*@*kiwiirc.com*
[05:28:58] Mon_Ouie: -o Mon_Ouie
[05:29:18] bluOxigen: has joined #ruby
[05:29:56] charliesome: has joined #ruby
[05:30:23] nux443: has joined #ruby
[05:31:07] Eiam_: well, going to write seed.rb now to try and seed all these tables next
[05:31:58] JoshGlzBrk: has joined #ruby
[05:33:24] casadei: has joined #ruby
[05:34:21] lipoqil: has joined #ruby
[05:34:38] pawnbox: has joined #ruby
[05:36:10] anandubajith: has joined #ruby
[05:36:32] keen___________6: has joined #ruby
[05:37:28] jas02: has joined #ruby
[05:40:31] tagrudev: has joined #ruby
[05:41:08] riotjones: has joined #ruby
[05:43:35] ta: has joined #ruby
[05:44:02] tjbiddle: has joined #ruby
[05:44:30] christiandsg: has joined #ruby
[05:44:57] astrobun_: has joined #ruby
[05:45:42] khebbie: has joined #ruby
[05:47:39] iamninja: has joined #ruby
[05:53:12] RaeCarr: has joined #ruby
[05:53:15] mary5030: has joined #ruby
[05:53:36] KnownSyntax: has joined #ruby
[05:53:36] KnownSyntax: has joined #ruby
[05:53:54] RaeCarr: has left #ruby: ()
[05:54:27] catoblepa: has joined #ruby
[05:54:27] catoblepa: has joined #ruby
[05:56:35] jbb: has joined #ruby
[05:56:55] ramfjord: has joined #ruby
[05:57:38] ReK2: has joined #ruby
[05:57:45] nux443: has joined #ruby
[06:02:00] rushed: has joined #ruby
[06:02:26] krz: has joined #ruby
[06:02:27] DoubleMalt: has joined #ruby
[06:06:29] leat1: has joined #ruby
[06:07:02] youngbaks: has joined #ruby
[06:12:53] bayed: has joined #ruby
[06:14:54] Torrieri: has joined #ruby
[06:16:37] AlexAltea: has joined #ruby
[06:18:47] benlovell: has joined #ruby
[06:20:44] Trump2016: has joined #ruby
[06:20:44] tvw: has joined #ruby
[06:22:09] allcentury: has joined #ruby
[06:22:28] Macaveli: has joined #ruby
[06:23:29] Rubie: has joined #ruby
[06:28:37] Macaveli: has joined #ruby
[06:28:42] lipoqil: has joined #ruby
[06:29:39] acke: has joined #ruby
[06:29:58] eGGsha: has joined #ruby
[06:31:54] astrobun_: has joined #ruby
[06:32:05] acke: has joined #ruby
[06:34:32] casadei: has joined #ruby
[06:35:16] mytrile: has joined #ruby
[06:35:19] timonv: has joined #ruby
[06:37:35] acke_: has joined #ruby
[06:39:22] codecop: has joined #ruby
[06:40:25] mytrile: Hey guys, is there a way to use specific encoding with CSV::Row.new ?
[06:41:30] apeiros: mytrile: I doubt it
[06:42:04] mytrile: Just trying to stream CSV like this one here - http://smsohan.com/blog/2013/05/09/genereating-and-streaming-potentially-large-csv-files-using-ruby-on-rails/
[06:42:04] apeiros: the strings which make the cells will have an encoding and when you write the row to an IO, the IO's encoding will determine whether and how that is translated
[06:42:45] mytrile: But chinese chars looks like garbage in excel, although in regular text editor everything is fine
[06:42:59] mytrile: apeiros: good point :)
[06:43:10] apeiros: excel does not understand csv
[06:43:32] apeiros: it claims so but it uses its own format and it's somewhat difficult to instruct it to use a specific encoding
[06:43:57] andikr: has joined #ruby
[06:44:05] apeiros: and the default encoding it uses depends on things I didn't fully figure
[06:44:43] mytrile: yep, unfortunately clients use it and "excel sucks" does not fix the problem
[06:45:02] tomaz_b: has joined #ruby
[06:45:08] ta: has joined #ruby
[06:45:41] apeiros: mytrile: indeed. good luck finding where the encoding setting for csv import is. or figuring which encoding your client uses (and hope they have the same on all machines)
[06:45:41] mytrile: thanks for your thoughts apeiros
[06:45:45] solocshaw: has joined #ruby
[06:45:56] apeiros: and good luck writing a manual for your client they actually understand :)
[06:46:03] apeiros: ACTION been there, done that, it's not pleasant
[06:48:41] michael_mbp: has joined #ruby
[06:50:28] Konstruktionist: has joined #ruby
[06:51:05] jesterfraud: has joined #ruby
[06:51:36] xhosae: has joined #ruby
[06:52:37] eightfold: has joined #ruby
[06:52:47] chatterb8: has joined #ruby
[06:53:01] bgh13: has joined #ruby
[06:53:14] acke: has joined #ruby
[06:54:19] mistermocha: has joined #ruby
[06:54:27] Stan: has joined #ruby
[06:54:42] solars: has joined #ruby
[06:55:07] Macaveli: has joined #ruby
[06:57:12] Pupeno: has joined #ruby
[06:59:02] stardiviner: has joined #ruby
[06:59:43] Pupeno: has joined #ruby
[07:00:27] juanpaucar: has joined #ruby
[07:02:35] juanpaucar: has joined #ruby
[07:02:47] _blizzy_: has joined #ruby
[07:02:54] Macaveli: has joined #ruby
[07:04:52] juanpaucar: has joined #ruby
[07:05:15] freezevee: has joined #ruby
[07:07:10] juanpauc_: has joined #ruby
[07:08:16] deryl: has joined #ruby
[07:08:50] chouhoul_: has joined #ruby
[07:09:30] juanpaucar: has joined #ruby
[07:09:40] alphaatom: has joined #ruby
[07:10:58] nux443: has joined #ruby
[07:11:18] _blizzy_: has joined #ruby
[07:11:53] juanpauc_: has joined #ruby
[07:13:20] ecnalyr: has joined #ruby
[07:14:18] juanpaucar: has joined #ruby
[07:16:52] juanpauc_: has joined #ruby
[07:17:39] ndrei: has joined #ruby
[07:19:30] juanpaucar: has joined #ruby
[07:19:54] Torrieri: has joined #ruby
[07:20:33] elepedus: has joined #ruby
[07:22:03] juanpaucar: has joined #ruby
[07:23:34] jeadre: has joined #ruby
[07:24:34] juanpaucar: has joined #ruby
[07:27:01] juanpauc_: has joined #ruby
[07:27:02] nux443: has joined #ruby
[07:28:58] pawnbox: has joined #ruby
[07:29:18] Oog: has joined #ruby
[07:29:55] juanpaucar: has joined #ruby
[07:31:30] hmnhf: has joined #ruby
[07:32:08] juanpauc_: has joined #ruby
[07:33:02] ta: has joined #ruby
[07:33:06] livathinos: has joined #ruby
[07:34:51] juanpaucar: has joined #ruby
[07:35:33] casadei: has joined #ruby
[07:35:40] allcentury: has joined #ruby
[07:37:14] juanpaucar: has joined #ruby
[07:39:47] juanpauc_: has joined #ruby
[07:40:17] m3ow1504_x_io: has joined #ruby
[07:41:46] Iskarlar: has joined #ruby
[07:42:04] m3ow1504_x_io: has joined #ruby
[07:42:23] juanpaucar: has joined #ruby
[07:43:29] nux443: has joined #ruby
[07:43:55] Pupeno: has joined #ruby
[07:44:03] chipotle: has joined #ruby
[07:44:43] JaReAx: has joined #ruby
[07:44:57] juanpauc_: has joined #ruby
[07:46:07] dumdedum: has joined #ruby
[07:46:21] pabs: has joined #ruby
[07:47:20] christiandsg: has joined #ruby
[07:47:21] juanpaucar: has joined #ruby
[07:47:57] dionysus69: has joined #ruby
[07:49:50] juanpaucar: has joined #ruby
[07:50:36] ghr: has joined #ruby
[07:51:38] dgutierrez1287: has joined #ruby
[07:52:14] aganov: has joined #ruby
[07:52:25] juanpauc_: has joined #ruby
[07:53:33] platzhirsch: has joined #ruby
[07:53:48] adaedra: we're still in registered-only mode?
[07:54:11] sevenseacat: I wonder why that switch was flipped.
[07:54:52] juanpaucar: has joined #ruby
[07:54:54] troulouliou_div2: has joined #ruby
[07:57:02] sdfgsdfg: has joined #ruby
[07:57:21] juanpaucar: has joined #ruby
[07:57:34] Sdwrage_: has joined #ruby
[08:00:04] juanpauc_: has joined #ruby
[08:01:53] ruby-lang015: has joined #ruby
[08:02:07] terlar: has joined #ruby
[08:02:17] devoldmx: has joined #ruby
[08:02:17] juanpaucar: has joined #ruby
[08:03:05] krisquigley: has joined #ruby
[08:03:22] Sheperson: has joined #ruby
[08:03:54] senayar: has joined #ruby
[08:04:26] _joes__: has joined #ruby
[08:05:05] juanpauc_: has joined #ruby
[08:05:57] apeiros: sevenseacat: trolls came back
[08:06:13] vdamewood: has joined #ruby
[08:06:24] apeiros: whoopsie, wrong flag
[08:06:25] sevenseacat: surprise surprise.
[08:06:35] jeadre: has joined #ruby
[08:06:58] xnr: has joined #ruby
[08:07:27] juanpaucar: has joined #ruby
[08:08:10] charliesome: has joined #ruby
[08:09:20] k3asd`: has joined #ruby
[08:10:00] juanpauc_: has joined #ruby
[08:11:00] rdark: has joined #ruby
[08:11:27] jgt: has joined #ruby
[08:12:33] juanpaucar: has joined #ruby
[08:12:50] Pumukel: has joined #ruby
[08:13:18] krz: has joined #ruby
[08:14:46] bweston92: has joined #ruby
[08:15:06] joonty: has joined #ruby
[08:15:07] juanpaucar: has joined #ruby
[08:15:32] riffraff: has joined #ruby
[08:16:42] michael_mbp: has joined #ruby
[08:17:30] DEA7TH_: has joined #ruby
[08:17:50] juanpauc_: has joined #ruby
[08:18:40] platzhirsch: has joined #ruby
[08:19:26] JaRe_Ax: has joined #ruby
[08:20:17] juanpaucar: has joined #ruby
[08:21:39] yfeldblum: has joined #ruby
[08:22:00] lipoqil: has joined #ruby
[08:22:21] m3ow1504_x: has joined #ruby
[08:22:58] bronson: has joined #ruby
[08:22:59] juanpaucar: has joined #ruby
[08:24:02] khebbie: has joined #ruby
[08:24:54] Torrieri: has joined #ruby
[08:25:23] juanpaucar: has joined #ruby
[08:26:04] lukebyrne: has joined #ruby
[08:27:23] Zai00: has joined #ruby
[08:27:29] bruno-: has joined #ruby
[08:27:57] juanpaucar: has joined #ruby
[08:29:51] allcentury: has joined #ruby
[08:29:58] pawnbox: has joined #ruby
[08:30:38] juanpauc_: has joined #ruby
[08:30:38] yfeldblum: has joined #ruby
[08:31:45] leafybasil: has joined #ruby
[08:33:05] juanpaucar: has joined #ruby
[08:34:11] Hounddog: has joined #ruby
[08:35:39] juanpauc_: has joined #ruby
[08:38:15] juanpaucar: has joined #ruby
[08:38:30] pglombardo: has joined #ruby
[08:39:56] lukebyrne: Hello fellow rubyists
[08:39:57] apeiros: -o apeiros
[08:40:15] lukebyrne: I have a tricky recursion question I was hoping to get some help with
[08:40:16] lukebyrne: https://gist.github.com/lukebyrne/9b95b170c8e17948c6ff
[08:40:51] juanpaucar: has joined #ruby
[08:42:27] codenapper: has joined #ruby
[08:42:52] codenapper: has joined #ruby
[08:43:26] juanpauc_: has joined #ruby
[08:43:30] supergeek: has joined #ruby
[08:44:09] laurentide__: has joined #ruby
[08:45:56] blackmesa: has joined #ruby
[08:46:01] juanpaucar: has joined #ruby
[08:46:06] leafybasil: has joined #ruby
[08:46:23] c0m0: has joined #ruby
[08:47:03] _joes__: has joined #ruby
[08:48:23] juanpauc_: has joined #ruby
[08:48:33] apeiros: +b juanpauc*!*@*$#ruby-fix-your-connection
[08:49:12] apeiros: -o apeiros
[08:50:29] apeiros: lukebyrne: if you search this tree often, I'd probably transform it into a form which is more suitable for searching
[08:50:51] lukebyrne: Its only going to once for a data import
[08:51:06] apeiros: lukebyrne: presumably for every when in the tree then, though?
[08:51:38] astrobun_: has joined #ruby
[08:51:46] lukebyrne: apeiros: yes
[08:52:04] lukebyrne: aperios: what would u consider a better data format?
[08:52:24] apeiros: {wine => [region1, region2, ???], ???}
[08:52:44] apeiros: and you can achieve that by walking the tree and successively writing out the result
[08:52:51] apeiros: you know how to walk a tree?
[08:54:20] lukebyrne: yeh, so u reckon flatten in
[08:54:34] lukebyrne: and have some duplication
[08:54:36] _joes__: has joined #ruby
[08:54:51] joonty: has joined #ruby
[08:55:20] terlar: has joined #ruby
[08:55:21] atmosx: there's a JS workshop at this open-space I'm in, in Athens. There ratio is 3 females for every male in the audience, which I think is kinda strange. I didn't knew women were so much into programmers (these days).
[08:56:32] yfeldblum: has joined #ruby
[08:56:38] Papabear: has joined #ruby
[08:58:08] benlovell: has joined #ruby
[08:59:15] mistermocha: has joined #ruby
[08:59:29] apeiros: lukebyrne: ah, can a wine grow in multiple regions?
[09:00:29] lukebyrne: apeiros: no it can not, apperently regions are very stricly defined, multiple regions can grow the same verietal such as an AUstralian or New Zealand Chardonay
[09:00:33] startupality: has joined #ruby
[09:01:19] zenspider: lukebyrne: would you like to improve at recursion in general?
[09:01:31] lukebyrne: zenspider: yes I would
[09:02:03] zenspider: pick up a copy of the little schemer and work through it at least once
[09:02:11] lukebyrne: I am just looking back at this solution which someone from this irc came up with
[09:02:12] lukebyrne: https://gist.github.com/lukebyrne/103f7a4b19c5e3a55f76
[09:02:27] krz: has joined #ruby
[09:02:55] lukebyrne: thinking I can use it to flatten the hash like apeiros suggested
[09:02:57] arup_r: has joined #ruby
[09:03:59] voker57: has joined #ruby
[09:05:38] flughafen: has joined #ruby
[09:06:34] donske: has joined #ruby
[09:06:50] einarj: has joined #ruby
[09:07:43] codecop: has joined #ruby
[09:11:07] nux443: has joined #ruby
[09:11:14] bruno-: has joined #ruby
[09:11:45] marr: has joined #ruby
[09:12:02] valeri_ufo: has joined #ruby
[09:13:11] gregf__: lukebyrne: thats only 3 levels so not sure why you would need recursion :/. can you not do it with a loop?
[09:13:27] charliesome: has joined #ruby
[09:13:30] yashinbasement: has joined #ruby
[09:13:43] lukebyrne: gregf__: it can go n + levels deep
[09:14:18] gregf__: lukebyrne: ah - ok
[09:14:32] apeiros: gregf__: a non-recursive solution would probably even be more complex anyway
[09:16:01] gizmore: has joined #ruby
[09:16:21] apeiros: not quite sure how that partition_regions method is supposed to be used, though
[09:16:51] pawnbox: has joined #ruby
[09:17:35] krz: has joined #ruby
[09:18:25] lukebyrne: apeiros: its used to convert a json tree so that I can used the jquery chainable library
[09:18:52] joonty: has joined #ruby
[09:18:53] apeiros: well, those are specifics you didn't mention
[09:19:48] edwardly: has joined #ruby
[09:19:48] edwardly: has joined #ruby
[09:21:39] lukebyrne: apeiros: sorry the partition_regions is only there as an example
[09:22:18] lukebyrne: I am just trying to either flatten this hash to an array like you suggested or search it like in the gist
[09:24:06] apeiros: my suggestion is actually to invert it, and still have a hash. just with wine being key and region-stack being the value ;-)
[09:25:28] Macaveli: has joined #ruby
[09:26:44] Macaveli_: has joined #ruby
[09:27:27] solocshaw: has joined #ruby
[09:27:57] solocshaw: has joined #ruby
[09:28:09] lukebyrne: Can you just invert hashes like that?
[09:28:20] arup_r: has joined #ruby
[09:29:54] Torrieri: has joined #ruby
[09:29:54] Torrieri: has joined #ruby
[09:30:05] suchness: has joined #ruby
[09:30:26] benlovell: has joined #ruby
[09:32:45] ramfjord: has joined #ruby
[09:32:56] jas02: has joined #ruby
[09:33:14] apeiros: lukebyrne: I tried it. was 12 lines of non-clever code for me.
[09:33:17] devoldmx: has joined #ruby
[09:33:36] lukebyrne: apeiros: did it work?
[09:33:56] apeiros: yes. maybe I should have said "did" instead of "tried" :)
[09:34:12] lukebyrne: could u paste it in the gist?
[09:34:21] nfk: has joined #ruby
[09:34:25] apeiros: I can help you come up with your own solution
[09:36:11] apeiros: start without recursion. only care about the first level. you for testing, you should add a wine on the top level (directly under australia).
[09:36:33] apeiros: write code which iterates only that top level, finds all wines and adds it to a result hash.
[09:36:38] tkuchiki: has joined #ruby
[09:36:40] apeiros: can you do that?
[09:37:36] blackmesa: has joined #ruby
[09:37:41] nux443: has joined #ruby
[09:39:04] apeiros: lukebyrne: ok. do that and gist it when you're done. we'll get you there step by step ;-)
[09:39:49] lukebyrne: what do you mean by ???you for testing, you should add a wine on the top level (directly under australia)???
[09:40:22] apeiros: that "you" at the beginning is superfluous
[09:40:54] shevy: australia got wine?
[09:41:12] Oog: has joined #ruby
[09:41:20] [k-: has joined #ruby
[09:41:29] charliesome: has joined #ruby
[09:41:37] apeiros: like this: '{"australia":["some", "wines"]}'
[09:41:50] anisha: has joined #ruby
[09:41:53] adaedra: shevy: kangaroo-flavored wine
[09:42:21] sevenseacat: {australia: ["brown brothers"]} all you need.
[09:42:43] adaedra: Wrong: All you need is love.
[09:42:49] [k-: are koalas bears
[09:42:52] lukebyrne: https://gist.github.com/lukebyrne/e45bc0059e9e6f1ba758
[09:42:52] sevenseacat: oh is that what I'm doing wrong
[09:42:55] apeiros: you've got a wine named "brown brothers"? o0
[09:43:28] apeiros: lukebyrne: use `p` or `y`, not puts
[09:43:43] adaedra: what's `y`
[09:43:48] [k-: we have a y?
[09:43:51] sevenseacat: http://www.brownbrothers.com.au/
[09:43:55] charliesome: has joined #ruby
[09:43:58] apeiros: ah, right, but needs "require 'yaml'", of course
[09:44:33] apeiros: lukebyrne: use '{"australia":["some", "wines"]}' as json. your result now contains "australia" as key instead of the wine. we want the keys "some" and "wines" in the result
[09:44:49] Valeness: has joined #ruby
[09:45:12] apeiros: lukebyrne: I've got to go for lunch. I'll be back in ~30min
[09:45:51] sevenseacat: bonan apetiton!
[09:45:54] lukebyrne: apeiros, its 6pm my time here, i have to head out as well, can I email u to see if youa re free antoher time to continue?
[09:46:28] apeiros: lukebyrne: I'm almost always here
[09:46:36] lukebyrne: ok, will log back in
[09:46:38] [k-: ACTION notes down apeiros's lunchtime
[09:46:42] apeiros: sometimes it might take a while until I respond, though
[09:46:51] livathinos: has joined #ruby
[09:46:53] sevenseacat: ACTION notes down that lukebyrne is in the same timezone as me
[09:47:09] apeiros: ACTION senses [k- is up for mischief!
[09:47:12] lukebyrne: sevenseacat: perth
[09:47:16] sevenseacat: lukebyrne: aye.
[09:47:32] lukebyrne: u go to rails meetup?
[09:47:38] sevenseacat: aye. have we met? :)
[09:47:40] Asher: has joined #ruby
[09:47:47] apeiros: heh, small world???
[09:48:27] lukebyrne: sevenseacat: i have only been to one, possibly we have met
[09:49:49] charliesome: has joined #ruby
[09:50:43] elepedus: has joined #ruby
[09:50:56] sevenseacat: cool :) come along to the next one!
[09:51:33] arup_r: has joined #ruby
[09:51:56] christiandsg: has joined #ruby
[09:52:22] [k-: you guys need to identify yourselves to each other
[09:52:38] sevenseacat: actually i may not be able to make it to the next one, i may be off on a work trip
[09:52:41] yorickpeterse: /msg lukebyrne IDENTIFY sevenseacat
[09:52:41] DEA7TH_: has joined #ruby
[09:53:06] hyy: has joined #ruby
[09:53:09] skade: has joined #ruby
[09:55:08] khebbie: has joined #ruby
[09:56:08] joonty: has joined #ruby
[09:57:17] pawnbox: has joined #ruby
[10:01:19] m3ow1504_x_io: has joined #ruby
[10:02:16] mistermocha: has joined #ruby
[10:03:52] jas02: has joined #ruby
[10:03:53] skade: has joined #ruby
[10:04:39] urd7: has joined #ruby
[10:06:06] jgt: has joined #ruby
[10:07:17] Iskarlar: has joined #ruby
[10:08:25] mytrile: has joined #ruby
[10:10:07] lipoqil: has joined #ruby
[10:10:10] hyy: has joined #ruby
[10:14:07] skade: has joined #ruby
[10:16:42] Macaveli: has joined #ruby
[10:17:02] brotspinne: has joined #ruby
[10:18:40] dgutierrez1287: has joined #ruby
[10:20:36] whatever: has joined #ruby
[10:20:41] rickmasta: has joined #ruby
[10:24:45] bankair: I just went throught a derp-moment, and wondered if someone could explain it to me
[10:24:54] bankair: irb(main):017:0> array = [:x]
[10:24:58] bankair: irb(main):018:0> hash = { array => :alice }
[10:25:00] bankair: => {[:x]=>:alice}
[10:25:02] bankair: irb(main):019:0> array << :y
[10:25:04] bankair: => [:x, :y]
[10:25:06] bankair: irb(main):020:0> hash[hash.keys.first]
[10:25:06] ngw: has joined #ruby
[10:25:10] bankair: irb(main):021:0> hash
[10:25:12] bankair: => {[:x, :y]=>:alice}
[10:25:14] bankair: irb(main):022:0>
[10:25:16] bankair: how can hash[hash.keys.first] return nil ? :)
[10:25:35] bankair: (ruby 2.0.0)
[10:26:20] jhass: bankair: hash.rehash. The array was changed and so did its .hash
[10:26:32] jhass: or maybe avoid using arrays as hash keys ;)
[10:27:22] bankair: thanks jhass !
[10:27:44] Oog: has joined #ruby
[10:29:16] adaedra: dat netsplit
[10:29:42] abbe: has joined #ruby
[10:29:42] ytti: has joined #ruby
[10:29:50] jgt: has joined #ruby
[10:29:50] Valeness: has joined #ruby
[10:29:50] laurentide__: has joined #ruby
[10:29:50] Stan: has joined #ruby
[10:29:50] riotjones: has joined #ruby
[10:29:50] arian0n: has joined #ruby
[10:29:50] darkf: has joined #ruby
[10:29:50] jimeh: has joined #ruby
[10:29:50] exadeci: has joined #ruby
[10:29:50] waxjar: has joined #ruby
[10:29:50] cball: has joined #ruby
[10:29:50] sfr^: has joined #ruby
[10:29:50] universa1: has joined #ruby
[10:29:50] dymk: has joined #ruby
[10:29:50] Shidash: has joined #ruby
[10:29:50] drbrain: has joined #ruby
[10:29:50] Guest11091: has joined #ruby
[10:29:50] braincrash: has joined #ruby
[10:29:50] lukaszk: has joined #ruby
[10:29:50] busterarm: has joined #ruby
[10:29:50] jamesaxl|2: has joined #ruby
[10:29:50] varesa: has joined #ruby
[10:29:50] armyriad: has joined #ruby
[10:29:50] CpuID: has joined #ruby
[10:29:51] mblagden: has joined #ruby
[10:29:51] tno: has joined #ruby
[10:29:51] PlasmaStar: has joined #ruby
[10:29:51] SenpaiSilver: has joined #ruby
[10:29:51] george2: has joined #ruby
[10:29:51] catbusters: has joined #ruby
[10:29:51] jtirila: has joined #ruby
[10:29:51] gregf: has joined #ruby
[10:29:51] `derpy: has joined #ruby
[10:29:51] weaksauce: has joined #ruby
[10:29:51] LBRapid: has joined #ruby
[10:29:51] Nightmare: has joined #ruby
[10:29:51] axisys: has joined #ruby
[10:29:51] aspiers: has joined #ruby
[10:29:51] _axx: has joined #ruby
[10:29:51] tobiasvl: has joined #ruby
[10:29:51] chridal: has joined #ruby
[10:29:51] Raboo: has joined #ruby
[10:29:51] gavit: has joined #ruby
[10:29:51] chuy: has joined #ruby
[10:29:51] ironcamel: has joined #ruby
[10:29:51] Kero: has joined #ruby
[10:29:51] Platini: has joined #ruby
[10:29:51] cescalante: has joined #ruby
[10:29:51] corpsicle: has joined #ruby
[10:29:51] Nowaker: has joined #ruby
[10:29:51] jsrn: has joined #ruby
[10:29:51] marienz: has joined #ruby
[10:29:51] snapcase: has joined #ruby
[10:29:51] joeyjones: has joined #ruby
[10:29:51] cout: has joined #ruby
[10:29:52] aep: has joined #ruby
[10:29:52] z3uS: has joined #ruby
[10:30:04] 16WAANP8U: has joined #ruby
[10:30:04] solocshaw: has joined #ruby
[10:30:04] krz: has joined #ruby
[10:30:04] gizmore: has joined #ruby
[10:30:04] yfeldblum: has joined #ruby
[10:30:04] jeadre: has joined #ruby
[10:30:04] Pupeno: has joined #ruby
[10:30:04] rushed: has joined #ruby
[10:30:04] iamninja: has joined #ruby
[10:30:04] rehat: has joined #ruby
[10:30:04] alem0lars: has joined #ruby
[10:30:04] Klumben: has joined #ruby
[10:30:04] CHVNX: has joined #ruby
[10:30:05] nullwarp: has joined #ruby
[10:30:05] cschneid: has joined #ruby
[10:30:05] larissa: has joined #ruby
[10:30:05] mjmac: has joined #ruby
[10:30:05] BLuEGoD: has joined #ruby
[10:30:05] hostess: has joined #ruby
[10:30:05] chrisarcand: has joined #ruby
[10:30:05] sevenseacat: has joined #ruby
[10:30:05] Guest74353: has joined #ruby
[10:30:05] Hanmac: has joined #ruby
[10:30:05] trampi: has joined #ruby
[10:30:05] rfmind_: has joined #ruby
[10:30:05] surs: has joined #ruby
[10:30:05] wookiehangover: has joined #ruby
[10:30:05] Seich: has joined #ruby
[10:30:05] crdpink: has joined #ruby
[10:30:05] QKO: has joined #ruby
[10:30:05] lupine: has joined #ruby
[10:30:05] terrellt: has joined #ruby
[10:30:05] duoi: has joined #ruby
[10:30:05] bffff_: has joined #ruby
[10:30:05] blackjid: has joined #ruby
[10:30:05] j416: has joined #ruby
[10:30:05] cats: has joined #ruby
[10:30:05] unsymbol: has joined #ruby
[10:30:05] harryk: has joined #ruby
[10:30:05] Liam`: has joined #ruby
[10:30:05] tubulife|: has joined #ruby
[10:30:05] jalljo: has joined #ruby
[10:30:05] iooner: has joined #ruby
[10:30:05] znz_jp: has joined #ruby
[10:30:05] skarn: has joined #ruby
[10:30:05] Dwarf: has joined #ruby
[10:30:05] johnhamelink: has joined #ruby
[10:30:05] epochwolf: has joined #ruby
[10:30:05] DarkBushido: has joined #ruby
[10:30:05] teotwaki: has joined #ruby
[10:30:06] jaxxstorm: has joined #ruby
[10:30:06] asi_: has joined #ruby
[10:30:06] Zarthus: has joined #ruby
[10:30:06] elton: has joined #ruby
[10:30:06] colstrom: has joined #ruby
[10:30:06] verdoc: has joined #ruby
[10:30:06] ZeeNoodleyGamer: has joined #ruby
[10:30:06] joast: has joined #ruby
[10:30:06] v0n: has joined #ruby
[10:30:06] segy: has joined #ruby
[10:30:06] NightMonkey: has joined #ruby
[10:30:06] Papierkorb: has joined #ruby
[10:30:06] jzigmund: has joined #ruby
[10:30:06] Schmidt: has joined #ruby
[10:30:06] Jamo_: has joined #ruby
[10:30:06] gf3: has joined #ruby
[10:30:06] gsingh93: has joined #ruby
[10:30:06] lotherk: has joined #ruby
[10:30:06] zenspider: has joined #ruby
[10:30:06] demophoon: has joined #ruby
[10:30:06] skakri: has joined #ruby
[10:30:06] devn: has joined #ruby
[10:30:06] hal_9000: has joined #ruby
[10:30:06] musl: has joined #ruby
[10:30:06] nitrix: has joined #ruby
[10:30:06] eregon: has joined #ruby
[10:30:06] julieeharshaw: has joined #ruby
[10:30:06] jidar: has joined #ruby
[10:30:06] exceion: has joined #ruby
[10:30:09] adaedra: welcome back
[10:30:09] bankair: jhass: I suppose that in the process of memoizing something, you'd rather use hashes in keys instead of references ?
[10:30:29] bankair: (is comparing hashes a valid way of assuming equality ?)
[10:30:50] SenpaiSilver: has joined #ruby
[10:30:58] neurotech: has joined #ruby
[10:31:00] PlasmaStar: has joined #ruby
[10:31:15] armyriad: has joined #ruby
[10:31:25] braincrash: has joined #ruby
[10:31:29] varesa: has joined #ruby
[10:31:58] jhass: bankair: Hash's docs go into this to some degree, the general data structure Hash implements is the hashmap
[10:32:35] bankair: I'll get back to those basics
[10:32:38] crdpink: has joined #ruby
[10:32:39] bankair: thanks for your time
[10:32:40] krz: has joined #ruby
[10:32:42] jidar: has joined #ruby
[10:32:55] teotwaki: has joined #ruby
[10:33:01] 16WAANP8U: has joined #ruby
[10:33:01] gizmore: has joined #ruby
[10:33:01] yfeldblum: has joined #ruby
[10:33:01] jeadre: has joined #ruby
[10:33:01] Pupeno: has joined #ruby
[10:33:01] rushed: has joined #ruby
[10:33:01] iamninja: has joined #ruby
[10:33:01] rehat: has joined #ruby
[10:33:01] alem0lars: has joined #ruby
[10:33:01] Klumben: has joined #ruby
[10:33:01] CHVNX: has joined #ruby
[10:33:01] nullwarp: has joined #ruby
[10:33:01] cschneid: has joined #ruby
[10:33:01] larissa: has joined #ruby
[10:33:01] mjmac: has joined #ruby
[10:33:01] BLuEGoD: has joined #ruby
[10:33:02] hostess: has joined #ruby
[10:33:02] chrisarcand: has joined #ruby
[10:33:02] sevenseacat: has joined #ruby
[10:33:02] Guest74353: has joined #ruby
[10:33:02] Hanmac: has joined #ruby
[10:33:02] trampi: has joined #ruby
[10:33:02] rfmind_: has joined #ruby
[10:33:02] surs: has joined #ruby
[10:33:02] wookiehangover: has joined #ruby
[10:33:02] Seich: has joined #ruby
[10:33:02] QKO: has joined #ruby
[10:33:02] lupine: has joined #ruby
[10:33:02] terrellt: has joined #ruby
[10:33:02] duoi: has joined #ruby
[10:33:02] bffff_: has joined #ruby
[10:33:02] blackjid: has joined #ruby
[10:33:02] j416: has joined #ruby
[10:33:02] cats: has joined #ruby
[10:33:02] unsymbol: has joined #ruby
[10:33:02] harryk: has joined #ruby
[10:33:02] Liam`: has joined #ruby
[10:33:02] tubulife|: has joined #ruby
[10:33:02] jalljo: has joined #ruby
[10:33:02] iooner: has joined #ruby
[10:33:02] znz_jp: has joined #ruby
[10:33:02] skarn: has joined #ruby
[10:33:02] Dwarf: has joined #ruby
[10:33:02] johnhamelink: has joined #ruby
[10:33:02] epochwolf: has joined #ruby
[10:33:02] DarkBushido: has joined #ruby
[10:33:02] asi_: has joined #ruby
[10:33:02] elton: has joined #ruby
[10:33:02] colstrom: has joined #ruby
[10:33:02] verdoc: has joined #ruby
[10:33:03] ZeeNoodleyGamer: has joined #ruby
[10:33:03] joast: has joined #ruby
[10:33:03] v0n: has joined #ruby
[10:33:03] segy: has joined #ruby
[10:33:03] NightMonkey: has joined #ruby
[10:33:03] Papierkorb: has joined #ruby
[10:33:03] jzigmund: has joined #ruby
[10:33:03] Schmidt: has joined #ruby
[10:33:03] Jamo_: has joined #ruby
[10:33:03] gf3: has joined #ruby
[10:33:03] gsingh93: has joined #ruby
[10:33:03] lotherk: has joined #ruby
[10:33:03] zenspider: has joined #ruby
[10:33:03] demophoon: has joined #ruby
[10:33:03] skakri: has joined #ruby
[10:33:03] devn: has joined #ruby
[10:33:03] hal_9000: has joined #ruby
[10:33:03] musl: has joined #ruby
[10:33:03] nitrix: has joined #ruby
[10:33:03] eregon: has joined #ruby
[10:33:03] julieeharshaw: has joined #ruby
[10:33:03] exceion: has joined #ruby
[10:33:10] Zarthus: has joined #ruby
[10:33:10] jhass: bankair: the gist of how it works is that it keeps an array buckets and a linked list in each bucket, the bucket for the item is determined by its .hash modulo the number of available buckets
[10:33:26] jhass: bankair: so if the .hash changes you need to be extremely lucky for the new hash to end up in the same bucket
[10:34:16] jhass: if the candidates (the bucket) is found, the item is selected by comparing it with eql? (iirc) to the key in question
[10:34:53] laurentide: has joined #ruby
[10:34:54] Torrieri: has joined #ruby
[10:34:55] zenspider: bankair: `ri Object.hash`
[10:34:55] Torrieri: has joined #ruby
[10:35:14] jhass: heh, already pointed to the docs before you joined :P
[10:35:19] jaxxstorm: has joined #ruby
[10:35:25] jhass: wb netsplitters btw
[10:35:38] zenspider: kk. I'll shut up
[10:37:31] radgeRayden_: has joined #ruby
[10:39:01] decoponio: has joined #ruby
[10:39:47] m3ow1504_x_io: has joined #ruby
[10:40:31] Macaveli_: has joined #ruby
[10:40:52] dimasg: has joined #ruby
[10:44:06] Averna: has joined #ruby
[10:45:26] nux443: has joined #ruby
[10:46:26] solocshaw: has joined #ruby
[10:47:00] wald0: has joined #ruby
[10:47:23] ndrei: has joined #ruby
[10:47:25] Averna: has joined #ruby
[10:50:11] ecnalyr: has joined #ruby
[10:51:25] sarkyniin: has joined #ruby
[10:52:16] joonty: has joined #ruby
[10:53:59] nettoweb: has joined #ruby
[10:54:22] but3k4: has joined #ruby
[10:55:03] rodfersou: has joined #ruby
[10:56:08] tsunamie: hellow there, I am a little lost about what the unit test is acatully doing under "include_recipe Method" in the following guide https://docs.chef.io/chefspec.html
[10:56:31] tsunamie: can someone school me what the unit tests is checking? I don't get why you would need to define both like this?
[10:58:42] jhass: tsunamie: that seems specific to Chef, try #chef
[11:00:39] codecop: has joined #ruby
[11:00:47] elepedus: has joined #ruby
[11:01:04] zenspider: I'm not sure I'd call that a unit test... let alone much of a test.
[11:01:34] zenspider: tsunamie: do you understand rspec in general?
[11:01:53] tsunamie: zenspider, I wish to learn ow great teacher san
[11:02:05] Gribo: has joined #ruby
[11:02:56] tsunamie: zenspider, I am franticly googeling now on unit tests for ruby
[11:03:02] revoohc: has joined #ruby
[11:03:10] rodfersou: has joined #ruby
[11:03:54] rodfersou: has joined #ruby
[11:03:55] zenspider: substitute the let block contents whereever the let name is used.
[11:04:10] zenspider: then read the expect line ... it pretty much says exactly what it is doing
[11:04:12] tsunamie: zenspider, Is this what you mean? http://serverspec.org/
[11:04:21] tsunamie: I can read this and get back to you?
[11:04:24] zenspider: is what, what I mean?
[11:05:30] zenspider: I have no idea what you're asking, if anything
[11:06:03] blue_deref: has joined #ruby
[11:06:14] mistermocha: has joined #ruby
[11:06:56] jhass: tsunamie: what's your goal?
[11:08:04] Mia: has joined #ruby
[11:08:59] allcentury: has joined #ruby
[11:12:06] romero: has joined #ruby
[11:13:57] catoblepa: has joined #ruby
[11:16:27] s00pcan: has joined #ruby
[11:18:04] sdothum: has joined #ruby
[11:18:53] hectortrope: has joined #ruby
[11:31:58] m3ow1504_x_io: has joined #ruby
[11:32:02] Macaveli: has joined #ruby
[11:32:12] wald0: has joined #ruby
[11:32:44] hectortrope: has joined #ruby
[11:34:03] devoldmx: has joined #ruby
[11:35:07] m3ow1504_x: has joined #ruby
[11:36:59] jgt: has joined #ruby
[11:39:23] syath: has joined #ruby
[11:39:55] Torrieri: has joined #ruby
[11:40:06] but3k4: has joined #ruby
[11:42:33] rushed: has joined #ruby
[11:42:57] nux443: has joined #ruby
[11:44:15] skade: has joined #ruby
[11:48:42] symm-: has joined #ruby
[11:49:17] krisquigley: has joined #ruby
[11:52:47] roxtrongo: has joined #ruby
[11:53:00] christiandsg: has joined #ruby
[11:53:42] nux443: has joined #ruby
[11:54:47] charliesome: has joined #ruby
[11:55:22] tsujp: has joined #ruby
[11:58:14] lipoqil: has joined #ruby
[11:58:45] Macaveli: has joined #ruby
[11:59:53] wald0: has joined #ruby
[12:03:10] dimasg: has joined #ruby
[12:03:21] leslie: has joined #ruby
[12:03:46] leslie: has joined #ruby
[12:05:30] darkhex: has joined #ruby
[12:07:01] sevenseacat: has joined #ruby
[12:08:04] Pumukel: has joined #ruby
[12:08:21] rbennacer: has joined #ruby
[12:09:25] chinmay_dd: has joined #ruby
[12:09:40] millerti: has joined #ruby
[12:10:12] unver: has joined #ruby
[12:10:27] chouhoulis: has joined #ruby
[12:10:38] mistermocha: has joined #ruby
[12:12:20] chouhoulis: has joined #ruby
[12:15:28] m3ow1504_x: has joined #ruby
[12:15:41] pawnbox: has joined #ruby
[12:18:13] senayar: has joined #ruby
[12:18:13] senayar: has joined #ruby
[12:18:34] romero: has joined #ruby
[12:20:22] dorei: has joined #ruby
[12:22:21] krisquigley: has joined #ruby
[12:24:49] lipoqil: has joined #ruby
[12:25:36] terlar: has joined #ruby
[12:27:43] veloutin: has joined #ruby
[12:30:51] Soda: has joined #ruby
[12:30:52] northfurr: has joined #ruby
[12:31:10] MasterPiece: has joined #ruby
[12:33:01] nux443: has joined #ruby
[12:33:14] apeiros: hm, ruby-toolbox lists grit on top, but last release is 3y ago. rugged seems newer.
[12:33:22] apeiros: any suggestions on a ruby library to handle git repositories?
[12:34:39] apeiros: ok, grit website is pretty clear :D "Grit is no longer maintained. Check out libgit2/rugged"
[12:34:50] devoldmx: has joined #ruby
[12:35:24] sevenseacat: one day I'd love to stuff around and build my own basic repo browser thing.
[12:35:45] apeiros: duly noted
[12:35:57] [k-: ACTION notes first appearance of apeiros after lunch
[12:36:07] sevenseacat: long lunch break.
[12:36:15] sevenseacat: nearly 3 hours.
[12:36:33] apeiros: jumping to conclusions ;-)
[12:36:57] skade: has joined #ruby
[12:37:16] amystephen: has joined #ruby
[12:37:46] millerti: has joined #ruby
[12:37:49] tkuchiki: has joined #ruby
[12:38:11] i: has joined #ruby
[12:38:12] Mon_Ouie: Obviously he spent two of those three hours murdering someone and burying their body.
[12:38:15] mary5030: has joined #ruby
[12:38:29] apeiros: Mon_Ouie: I'm offended.
[12:38:32] sevenseacat: only one person? surely thats enough time to kill a few
[12:38:44] apeiros: Mon_Ouie: you truly think I'd only be able to kill *one* person in that much time?
[12:38:45] [k-_: has joined #ruby
[12:39:00] dstarh: has joined #ruby
[12:39:04] mary5030: has joined #ruby
[12:39:07] apeiros: oh dang, but I type too slow
[12:39:10] apeiros: ACTION bows to sevenseacat
[12:39:17] sevenseacat: great minds think alike ;)
[12:39:25] casadei: has joined #ruby
[12:40:29] atomical: has joined #ruby
[12:40:55] Xiti: has joined #ruby
[12:44:31] khebbie: has joined #ruby
[12:44:55] Torrieri: has joined #ruby
[12:44:55] Torrieri: has joined #ruby
[12:45:16] charliesome: has joined #ruby
[12:45:17] jgt: has joined #ruby
[12:45:48] NeverDie: has joined #ruby
[12:45:50] apeiros: rugged looks neat
[12:45:56] apeiros: o/ charliesome
[12:46:18] Valeness: has joined #ruby
[12:46:33] Kallis: has joined #ruby
[12:47:15] [k-_: aha! fix ruboto!
[12:47:50] [k-_: something something race condition when something something
[12:48:26] cantaberry: has joined #ruby
[12:49:50] apeiros: [k-_: this full week-end is dedicated for #ruby work.
[12:50:02] apeiros: cross your fingers, who know, maybe I get finally stuff done :-/
[12:51:07] zenguy_pc: has joined #ruby
[12:51:23] apeiros: I don't want to promise anything, though. I had terrible headaches the last two days.
[12:51:33] jtdoncas: has joined #ruby
[12:51:39] silkfox: has joined #ruby
[12:51:39] [k-_: poor apeiros :(
[12:51:56] [k-_: the worst enemy of programmers, headaches!
[12:52:43] adaedra: ACTION gives apeiros aspirin
[12:53:25] apeiros: I tried a couple of painkillers. the one which worked also numbed me. the others didn't work. so for now I stay off of painkillers :-|
[12:53:40] apeiros: though, maybe I should try again. that's been like a decade ago.
[12:54:46] yorickpeterse: man up you wuss
[12:54:51] bigredboots: has joined #ruby
[12:55:27] tsvenson: has left #ruby: ("Ex-Chat")
[12:55:31] yorickpeterse: http://i.imgur.com/H9Cyd.gifv basically
[12:55:37] yorickpeterse: ignore the 5 frames per second
[12:58:16] leat1: has joined #ruby
[12:58:53] Guest50: has joined #ruby
[12:58:54] apeiros: yorickpeterse: "be a man" - check. now how does that help? :)
[12:58:59] [k-_: look who's talking (if you know what i mean ( ???? ???? ????) )
[13:00:19] sevenseacat: you're supposed to be impervious to pain, or something.
[13:01:44] apeiros: ACTION turns on male superpowers
[13:01:53] [k-_: remember apeiros: by the end of the year!
[13:02:11] apeiros: [k-_: I doubt I'll have to remember that myself :-D
[13:03:06] Macaveli: has joined #ruby
[13:03:47] livathinos: has joined #ruby
[13:03:53] apeiros: biggest difficulty will be the helpa vs. ruboto thing. but we'll find a way.
[13:04:00] apeiros: rest is just time.
[13:04:06] riotjones: has joined #ruby
[13:04:24] [k-_: exactly! i always forget the question when attempting the question halfway
[13:04:28] yorickpeterse: apeiros: by being a man the headache goes away
[13:04:33] [k-_: then i go out of point and zzzz
[13:04:49] yorickpeterse: only communists get headaches
[13:05:00] apeiros: are you complimenting me? :D
[13:05:14] saddad: has joined #ruby
[13:05:54] [k-_: dat symbol
[13:06:05] apeiros: why do I keep forgetting the color codes for the terminal? :-S
[13:06:09] MasterPiece: has joined #ruby
[13:06:22] [k-_: because you dont need it
[13:06:25] zenguy_pc: has joined #ruby
[13:06:37] Macaveli: has joined #ruby
[13:06:37] adaedra: replace b and f
[13:06:38] apeiros: also I want a perceptionally closest color finder as cli tool
[13:06:52] apeiros: adaedra: that part I remember. also the part for 256 colors.
[13:06:59] apeiros: but I don't remember which number is which color :D
[13:07:07] adaedra: I use a map for that.
[13:07:12] adaedra: It's too fucked up.
[13:08:03] adaedra: 1 is red, 4 is blue, 3 green, 6 cyan, 2 orange, 5 purple, 7 white, iirc
[13:08:15] Valeness: has joined #ruby
[13:08:44] bigredbo_: has joined #ruby
[13:09:04] adaedra: Do you want rainbows in your terminal apeiros
[13:09:32] apeiros: 30.upto(39) do |i| puts "\e[#{i}m COLOR #{i}\e[0m" end # helped ;-)
[13:09:39] apeiros: adaedra: of course
[13:09:55] livathinos: has joined #ruby
[13:10:31] last_staff: has joined #ruby
[13:10:41] Vitor: has joined #ruby
[13:11:19] rippa: has joined #ruby
[13:11:20] [k-_: red orange yellow green blue indigo violet
[13:11:23] jhack32: has joined #ruby
[13:11:32] [k-_: you do not want rainbows, trust me
[13:11:41] failshell: has joined #ruby
[13:12:00] s00pcan: has joined #ruby
[13:12:41] Quandl: has joined #ruby
[13:13:38] mistermocha: has joined #ruby
[13:16:31] mistermo_: has joined #ruby
[13:16:48] enebo: has joined #ruby
[13:17:20] jeff_laplante: has joined #ruby
[13:17:26] chinmay_dd: has joined #ruby
[13:17:40] fmcgeough: has joined #ruby
[13:18:15] michael_mbp: has joined #ruby
[13:18:57] m3ow1504_x: has joined #ruby
[13:20:16] Tuxero: has joined #ruby
[13:21:04] allcentury: has joined #ruby
[13:24:14] ldnunes: has joined #ruby
[13:24:23] whippythellama: has joined #ruby
[13:24:45] michael_mbp: has joined #ruby
[13:26:11] Sdwrage_: has joined #ruby
[13:26:21] malconis: has joined #ruby
[13:27:06] dblessing: has joined #ruby
[13:28:21] i: has joined #ruby
[13:28:25] malconis: has joined #ruby
[13:28:32] leat1: has joined #ruby
[13:29:21] roxtrongo: has joined #ruby
[13:31:23] victortyau: has joined #ruby
[13:31:27] Macaveli_: has joined #ruby
[13:32:05] voker57: has joined #ruby
[13:33:46] hashrocket: has joined #ruby
[13:36:54] nettoweb: has joined #ruby
[13:38:25] centrx: has joined #ruby
[13:38:25] nofxx: has joined #ruby
[13:38:44] centrx: has joined #ruby
[13:40:02] fast_scooter: has joined #ruby
[13:40:26] voltalio: has joined #ruby
[13:40:36] casadei: has joined #ruby
[13:41:45] jhack32: has joined #ruby
[13:41:59] kies: has joined #ruby
[13:43:44] devdazed: has joined #ruby
[13:45:54] iamninja: has joined #ruby
[13:46:13] havenwood: has joined #ruby
[13:46:27] lipoqil: has joined #ruby
[13:46:44] jtdoncas: has joined #ruby
[13:47:10] JoshL: has joined #ruby
[13:47:42] rbennacer: has joined #ruby
[13:48:07] paulcsmith: has joined #ruby
[13:49:12] DEA7TH_: has joined #ruby
[13:49:14] rbennacer: has joined #ruby
[13:49:22] wprice: has joined #ruby
[13:49:56] Torrieri: has joined #ruby
[13:49:56] Torrieri: has joined #ruby
[13:50:40] davedev24: has joined #ruby
[13:52:06] Limix: has joined #ruby
[13:52:56] dionysus69: has joined #ruby
[13:54:51] d2dchat: has joined #ruby
[13:54:52] rbennacer: has joined #ruby
[13:54:56] sankaber: has joined #ruby
[13:56:10] donske: has joined #ruby
[13:57:57] voltalio: has joined #ruby
[13:58:00] christiandsg: has joined #ruby
[13:58:37] poli: has joined #ruby
[13:59:21] casadei: has joined #ruby
[14:02:36] shevy: it's getting hot again :(
[14:02:46] apeiros: shevy: yupp :(
[14:03:05] [k-_: ACTION orders ice
[14:03:30] shevy: [k-_ I need that too!
[14:04:01] nofxx: cold here in the south hemi! not for long =/
[14:04:35] nofxx: hey, star this if you're going to look for a crawler in ruby: https://github.com/joenorton/rubyretriever , glad I've found
[14:04:56] nofxx: not many crawlers in ruby, mostly are scrapers that dare to call'em selves crawlers
[14:05:02] shevy: nofxx lucky you
[14:05:12] hinbody: has joined #ruby
[14:05:39] nofxx: shevy, not for long... october it's hot again
[14:06:13] gamename: has joined #ruby
[14:06:16] adaedra: hot!? http://i.imgur.com/GrursXP.png
[14:06:59] dionysus70: has joined #ruby
[14:09:33] ngscheurich: has joined #ruby
[14:10:12] solocshaw: has joined #ruby
[14:10:25] lipoqil: has joined #ruby
[14:10:30] bigredboots: has joined #ruby
[14:10:42] based_p: has joined #ruby
[14:11:07] bigredbo_: has joined #ruby
[14:11:19] renderful: has joined #ruby
[14:12:25] but3k4: has joined #ruby
[14:12:36] TheHodge: has joined #ruby
[14:13:29] cball: has joined #ruby
[14:13:32] freerobby: has joined #ruby
[14:14:28] lkba: has joined #ruby
[14:17:14] gregf__: has joined #ruby
[14:18:56] leat1: has joined #ruby
[14:19:23] mistermocha: has joined #ruby
[14:23:36] ecnalyr: has joined #ruby
[14:24:37] rwp: has joined #ruby
[14:25:43] bronson: has joined #ruby
[14:26:35] livathinos: has joined #ruby
[14:27:19] Pupeno: has joined #ruby
[14:28:37] denisemccoy: has joined #ruby
[14:28:52] leat1: has joined #ruby
[14:29:19] dwithers: has joined #ruby
[14:29:56] AlexAltea: has joined #ruby
[14:30:04] Xiti: has joined #ruby
[14:30:26] blackmesa: has joined #ruby
[14:30:54] nux443: has joined #ruby
[14:31:19] Torrieri: has joined #ruby
[14:31:52] workmad3: has joined #ruby
[14:33:03] apeiros: laughing channel
[14:33:21] apeiros: (hihihihi)
[14:33:25] m3ow1504_x: has joined #ruby
[14:33:28] [k-: apeiros reporting for duty
[14:34:22] adaedra: ACTION pokes apeiros with a stick
[14:35:04] sevenseacat: see? he feels no pain.
[14:35:31] adaedra: tru warior
[14:35:34] devoldmx: has joined #ruby
[14:36:17] dopamean_: has joined #ruby
[14:36:18] shevy: he is totally defenceless against pokes
[14:36:45] adaedra: FEAR THE MIGHTY STICK.
[14:36:54] adaedra: This channel is de-rails-ing.
[14:36:57] sevenseacat: well even superman had one weakness. we've found apeiros's.
[14:37:03] roxtrongo: has joined #ruby
[14:37:15] davedev24: has joined #ruby
[14:37:33] apeiros: poking is off-topic! you must move that to #ruby-offtopic!!!
[14:37:37] shevy: yeah he required a phone booth
[14:38:09] zenguy_pc: has joined #ruby
[14:38:14] apeiros: I see, friday it is.
[14:38:26] nertzy: has joined #ruby
[14:38:41] adaedra: ?poke apeiros
[14:38:42] ruboto: apeiros, I don't know anything about poke
[14:38:43] sevenseacat: friday night and I'm sitting here writing elixir code ._.
[14:38:51] apeiros: no idea why there haven't been chewbacca noises in the office yet???
[14:38:52] sevenseacat: <-- party animal
[14:41:35] nux443: has joined #ruby
[14:42:10] adaedra: s/party //
[14:42:49] chinmay_dd: has joined #ruby
[14:43:27] El3ktra: has joined #ruby
[14:44:02] [k-: oooo burrrrn
[14:46:15] shevy: chewbacca noises
[14:47:32] bigredboots: has joined #ruby
[14:47:50] momomomomo: has joined #ruby
[14:47:51] davedev24: has joined #ruby
[14:51:55] OrbitalKitten: has joined #ruby
[14:52:02] Rubie: has joined #ruby
[14:52:31] gregf_: has joined #ruby
[14:52:43] tonios57: has joined #ruby
[14:52:52] acke: has joined #ruby
[14:53:50] yqt: has joined #ruby
[14:54:20] Logan_: has joined #ruby
[14:56:06] Spami: has joined #ruby
[14:56:07] i4pcbr: has joined #ruby
[14:56:12] d10n-work: has joined #ruby
[14:57:00] Legitkrillin: has joined #ruby
[14:59:47] jabreity: has joined #ruby
[15:00:30] Swappticon: has joined #ruby
[15:02:20] rbennacer: has joined #ruby
[15:03:47] chouhoulis: has joined #ruby
[15:04:12] bigredbo_: has joined #ruby
[15:04:25] freerobby: has joined #ruby
[15:04:50] riotjones: has joined #ruby
[15:06:42] j_mcnally: has joined #ruby
[15:07:07] Iskarlar: has joined #ruby
[15:08:05] dhollinger: has joined #ruby
[15:09:04] bigredboots: has joined #ruby
[15:09:04] DCameronMauch: has joined #ruby
[15:09:20] mjuszczak: has joined #ruby
[15:10:31] Iskarlar_: has joined #ruby
[15:10:40] javascriptstuden: has joined #ruby
[15:10:50] javascriptstuden: how can you find out what methods to use
[15:10:57] ndrei: has joined #ruby
[15:11:33] adaedra: javascriptstuden: by reading the documentation.
[15:11:55] javascriptstuden: i have an object but it's javascript
[15:12:39] javascriptstuden: i have a lot of properties in that object and i wanted to return the number of objects it has but people in ##javascript aren't answering my question
[15:12:48] javascriptstuden: var nigger = { hair: "kinky", nose: "wide", lips: "big", smell: "like shit", intelligence: "low", laziness: "high"}
[15:13:12] javascriptstuden: i'm coding for the site http://chimpout.com
[15:13:28] javascriptstuden: i might make them switch to ruby and rails
[15:13:34] wasamasa: javascriptstuden: you've really got nothing else to do, huh
[15:13:38] wasamasa: ?ops javascriptstuden
[15:13:38] ruboto: javascriptstuden, to call for ops use the !ops command. You can find a list of channel staff on http://ruby-community.com/pages/irc_staff
[15:13:44] ruboto: fflush, apeiros, banisterfiend, seanstickle, Mon_Ouie, zzak, Radar, Havenn, jhass, sevenseacat, workmad3, miah, Coraline, drbrain, slyphon, zenspider, rubyhacker1, Aria, ljarvis, baweaver
[15:13:53] javascriptstuden: i have a legitimate question
[15:13:57] javascriptstuden: why are you calling ops on me?
[15:14:01] havenwood: !mute javascriptstuden
[15:14:02] ruboto: +q javascriptstuden!*@*
[15:14:02] ruboto: -o ruboto
[15:14:05] dfockler: has joined #ruby
[15:14:06] adaedra: because they've a legitimate ban reason.
[15:14:11] [k-: for discrimination.
[15:14:15] jhass: ?rules javascriptstuden
[15:14:15] ruboto: javascriptstuden, Please respect the channel rules: http://ruby-community.com/pages/user_rules
[15:14:34] [k-: catnip anyone?
[15:14:50] [k-: ACTION throws catnip around
[15:15:03] wasamasa: ACTION purrs
[15:15:41] javascriptstuden: has left #ruby: ()
[15:15:57] jstudent: has joined #ruby
[15:16:01] Guest8326: Who needs TV when you have IRC chat for draaama
[15:16:09] jstudent: i read the rules and i didn't break any of them
[15:16:23] jstudent: wait i broke one
[15:16:23] acke: has joined #ruby
[15:16:29] jstudent: i wasn't on the right channel
[15:16:34] jstudent: for my javascript question
[15:16:37] jstudent: how would you do that in ruby?
[15:16:53] ruboto: fflush, apeiros, banisterfiend, seanstickle, Mon_Ouie, zzak, Radar, Havenn, jhass, sevenseacat, workmad3, miah, Coraline, drbrain, slyphon, zenspider, rubyhacker1, Aria, ljarvis, baweaver
[15:17:02] jhass: jstudent: read 2.10 again, respond in #ruby-banned if you want to discuss, you'll be rebanned for evasion now (also a rule)
[15:17:12] jhass: !mute jstudent
[15:17:13] ruboto: +q jstudent!*@*
[15:17:13] ruboto: -o ruboto
[15:17:58] wasamasa: I thought webchat people were banned?
[15:19:36] [k-: it was a temporary mitigation measure
[15:19:43] umgrosscol: has joined #ruby
[15:19:47] adaedra: If only we could simply ban stupid people.
[15:19:48] jtdoncas: has joined #ruby
[15:19:58] pandaant: has joined #ruby
[15:20:21] astrobun_: has joined #ruby
[15:20:48] [k-: let's get freenode to provide a grammar rule script that checks for stupidity before sending the messages to the channel
[15:20:57] wasamasa: /mode +b $stupid-people
[15:22:47] tjohnson: has joined #ruby
[15:23:10] sevenseacat: wasamasa: it was rejected by a majority of the ops.
[15:24:10] lagweezle: ACTION thinks he needs t ore-read the rules.
[15:24:17] quazimodo: has joined #ruby
[15:24:25] [k-: that's why we need to collect statistics!
[15:24:27] lagweezle: What about temporarily stupid people? I'm temporarily stupid on occasion, but it goes away fairly quickly.
[15:24:47] quazimodo: as far as i'm aware, celluloid uses 1 os thread per actor on MRI ruby, is that correct?
[15:24:50] [k-: your message will not reach us, so you can hide your stupidity
[15:24:59] adaedra: lagweezle: that's ok. Not the stupid I was aiming.
[15:25:23] [k-: all we get to see is you solving the problem cleverly
[15:26:03] wasamasa: sevenseacat: oh well
[15:26:17] jstudent: has left #ruby: ()
[15:26:27] wasamasa: lagweezle: I'd say that pretty much everyone is temporarily stupid
[15:26:36] rooby: has joined #ruby
[15:26:47] wasamasa: lagweezle: which is different from being stupid on purpose and pestering this channel for weeks with the worst trolling ever
[15:26:50] rooby: if you want to return the number of properties in an object how would you do that?
[15:26:57] havenwood: !mute rooby
[15:26:58] ruboto: +q rooby!*@*
[15:26:58] ruboto: -o ruboto
[15:26:58] chouhoulis: has joined #ruby
[15:27:31] mistermocha: has joined #ruby
[15:27:55] [k-: this. is. not. JavaScript.
[15:28:09] havenwood: !ban rooby !T 1d ban evasion
[15:28:10] ChanServ: +b rooby!*@*
[15:28:10] ChanServ: ChanServ kicked rooby: ban evasion
[15:28:14] lagweezle: Well THERE is an interesting mental conundrum. I read "!mute rooby" as "not mute rooby," or, "don't mute rooby" due to the logic inversion.
[15:28:35] [k-: treat ! as a command prefix
[15:28:36] havenwood: lagweezle: !!mute then ;)
[15:29:15] [k-: no, then the actual command would be !mute
[15:29:19] [k-: and not mute
[15:29:25] [k-: which is wrong
[15:29:37] chouhoulis: has joined #ruby
[15:29:49] j3r0: has joined #ruby
[15:29:51] jamesaxl|2: has joined #ruby
[15:30:22] Papierkorb: havenwood: but !!mute would just be true :(
[15:30:22] g0ram: has joined #ruby
[15:30:30] leat1: has joined #ruby
[15:30:36] g0ram: i need help
[15:31:11] jhass: +q-qqo *!*@*31.3.244.61 jstudent!*@* javascriptstuden!*@* jhass
[15:31:43] g0ram: i have an object and i would like to return the number of properties it has... how would i do that?
[15:31:45] havenwood: !ban g0ram !T 1d ban evasion
[15:31:46] ChanServ: +b g0ram!*@*
[15:31:46] ChanServ: ChanServ kicked g0ram: ban evasion
[15:32:08] [k-: he should do a Google search
[15:32:26] Papierkorb: now that's getting tedious. first fail, well ok, but now, really?
[15:32:47] [k-: how about we all ignore him for the rest of the day
[15:32:59] [k-: ignore everything about js
[15:33:03] jeadre: has joined #ruby
[15:33:11] [k-: don't feed the trolls!
[15:33:21] americanhero1924: has joined #ruby
[15:33:25] Kellin: random question - I was working with YAML for the first time over the last few days, and while I found my answers and got the code working, I was bothered than I couldn't find them in the manuals. stuff like YAML.load_file() is not anywere I could find on http://ruby-doc.org/stdlib-2.0.0/libdoc/yaml/rdoc/YAML.html - can someone point me at how to find those particular docs?
[15:33:35] americanhero1924: according to this: http://ruby-community.com/pages/user_rules ban evasion isn't agains the rules
[15:33:43] havenwood: !mute americanhero1924
[15:33:45] ndrei: has joined #ruby
[15:33:46] ruboto: +q americanhero1924!*@*
[15:33:46] ruboto: -o ruboto
[15:34:31] ChanServ: +o havenwood
[15:34:32] americanhero1924: has left #ruby: ()
[15:34:39] adaedra: [k-: so let it noise?
[15:34:51] duggiefresh: has joined #ruby
[15:35:01] [k-: yes, until there is someone else who needs help
[15:35:09] amsterdame: has joined #ruby
[15:35:16] amsterdame: so you're abusing op privileges
[15:35:21] havenwood: !kick amsterdame ban evasion
[15:35:22] ruboto: ruboto kicked amsterdame: evasion
[15:35:22] ruboto: -o ruboto
[15:35:34] ehth77: has joined #ruby
[15:35:56] adaedra: [k-: awful.
[15:36:03] jhass: +q-o $~a jhass
[15:36:11] mjuszczak: has joined #ruby
[15:36:11] ChanServ: -o havenwood
[15:36:11] jamalross: has joined #ruby
[15:36:56] skade: has joined #ruby
[15:36:57] Papierkorb: Kellin: interesting obversation. Well, there's load() and dump() to deserialize and serialize data, there most interesting fact about this though is that this is convention, so e.g. JSON has the same methods for the same purpose, and so on. load_file() is new to me
[15:37:14] lagweezle: [k-: I know. It's just "reading" it led to an interesting thought pattern.
[15:37:56] jeadre: has joined #ruby
[15:38:02] Papierkorb: Kellin: though the docs refer to https://github.com/tenderlove/psych
[15:38:03] rcvalle: has joined #ruby
[15:38:34] rcvalle: has joined #ruby
[15:38:37] lagweezle: Huh. 'amsterdame' is an amusing combination of words for a name. Amsterdam, dame. I like.
[15:38:58] lagweezle: I may be slghtly weird today due to excruciating levels of pain and heavy use of painkillers. Woo.
[15:39:00] jamalross: why are the ops in this channel rogue and don't follow their own rules and make up their own rules?
[15:39:45] havenwood: jamalross: Feel free to discuss the rules in #ruby-community or #ruby-offtopic but not here.
[15:39:51] lagweezle: op: "I am the law!"
[15:39:51] havenwood: ?offtopic jamalross
[15:39:51] ruboto: jamalross, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[15:39:55] leat1: has joined #ruby
[15:40:13] Narzew: has joined #ruby
[15:40:16] jamalross: lagweezle: lol tru dat
[15:40:46] jhass: +b $a:jamalross
[15:40:52] jhass: jhass kicked jamalross: evasion
[15:41:02] [Butch]: has joined #ruby
[15:41:03] meatherly: has joined #ruby
[15:41:21] lagweezle: I do actually mean it, though. Things not covered by the rules, but 'bad' are where the ops get to use judgement and act to keep the community (and channel) a nice place to be.
[15:41:31] ruboto: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[15:41:34] wasamasa: lagweezle: see the freenode rules
[15:41:49] wasamasa: lagweezle: they clearly mention that ban evasion is a reason for a permaban
[15:41:55] lagweezle: wasamasa: Nice!
[15:41:58] wasamasa: lagweezle: and that you better discuss things on #freenode
[15:42:33] wasamasa: what this person does is facetious
[15:42:42] lagweezle: Related, would a question about modeling and interactions be better suited for here, or the RoR channel?
[15:42:45] ruboto: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[15:43:08] adaedra: lagweezle: depends, I guess
[15:43:26] pawnbox: has joined #ruby
[15:43:27] canttouchthis: has joined #ruby
[15:43:29] Kellin: Papierkorb: not having dug into the internals, does the YAML.load() require slurping the full file into a string object to load it up?
[15:43:30] canttouchthis: seriously though where on the channel rules does it forbid to evade bans?
[15:43:37] wasamasa: freenode rules
[15:43:38] patrick_star: has joined #ruby
[15:43:49] UtkarshRay: has joined #ruby
[15:43:50] lagweezle: freenode rules supercede channel rules, I suspect
[15:43:51] havenwood: !ban canttouchthis !T 1d ban evasion
[15:43:52] ChanServ: +b canttouchthis!*@*
[15:43:52] ChanServ: ChanServ kicked canttouchthis: ban evasion
[15:44:07] wasamasa: you're on this network, you play by its rules
[15:44:10] adaedra: like the US: You're tied to federal AND state rules.
[15:44:39] havenwood: How many days till 2.3.0?
[15:45:00] Kellin: ACTION is amused that this drama happens the first time he has a legit ruby question to ask. heh. My personal curse continues :op
[15:45:51] havenwood: Frozen literals enabled with a flag!
[15:45:53] havenwood: ACTION shivers
[15:46:25] petricore: has joined #ruby
[15:47:21] havenwood: I remember back in the good ole days when Strings were mutable.
[15:47:29] dfockler: first frozen literals, then static typing!
[15:47:55] havenwood: When Regexps just compiled over and over, we'd walk up hills both ways.
[15:47:59] The_Phoenix: has joined #ruby
[15:48:51] jamesaxl|2: has joined #ruby
[15:48:51] shadeslayer: has joined #ruby
[15:48:52] dfockler: I think frozen literals will be nice for bigger applications though
[15:49:01] dopamean1: has joined #ruby
[15:49:03] jhass: sounds like crystal :P
[15:49:09] dfockler: can't just change state willy nilly
[15:49:09] nux443: has joined #ruby
[15:49:10] aKiKKim: has joined #ruby
[15:49:10] ChanServ: +b *!*@gateway/web/freenode/ip.37.59.26.225
[15:49:10] ChanServ: ChanServ kicked aKiKKim: ban evasion
[15:49:39] atomical: has joined #ruby
[15:49:55] pauly_oc: has joined #ruby
[15:51:13] marcoecc: has joined #ruby
[15:51:14] gh: has joined #ruby
[15:53:08] snockerton: has joined #ruby
[15:53:42] jxpx777: has joined #ruby
[15:56:04] towski_: has joined #ruby
[15:57:23] casadei: has joined #ruby
[15:58:33] lipoqil: has joined #ruby
[16:00:50] MasterPiece: has joined #ruby
[16:02:06] renderful: has joined #ruby
[16:02:07] dwithers: has joined #ruby
[16:02:26] sferik: has joined #ruby
[16:04:33] ellisTAA: has joined #ruby
[16:04:58] nux443: has joined #ruby
[16:06:19] theery: has joined #ruby
[16:07:14] m3ow1504_x_io: has joined #ruby
[16:08:55] nanoz: has joined #ruby
[16:10:13] zendrix: has joined #ruby
[16:10:21] nux443: has joined #ruby
[16:11:56] Chau: has joined #ruby
[16:13:05] polpak: has joined #ruby
[16:13:07] m3ow1504_x: has joined #ruby
[16:14:19] bricker: has joined #ruby
[16:14:31] pyon: has joined #ruby
[16:14:49] OrbitalKitten: has joined #ruby
[16:15:53] luckyme: has joined #ruby
[16:16:31] OrbitalKitten: has joined #ruby
[16:17:41] dagda1: has joined #ruby
[16:17:43] renanoronfle: has joined #ruby
[16:17:56] nux443: has joined #ruby
[16:19:18] Hanmac: has joined #ruby
[16:19:55] cschneid_: has joined #ruby
[16:21:09] pauly_oc: has joined #ruby
[16:22:41] youngbaks: has joined #ruby
[16:23:35] quazimodo: what's the lowdown on faye?
[16:24:31] shevy: it's not all bad, with the change to frozen strings there will be lots of possibilities to explore other languages :)
[16:24:36] michaeldeol: has joined #ruby
[16:25:38] Papierkorb: Kellin: sorry, didn't see your response. Yes, it expects a string with the contents to parse, e.g. from File.read("foo.yaml")
[16:27:26] dfockler: quazimodo: it's just a pub/sub server right?
[16:27:38] dwithers: has joined #ruby
[16:29:01] araujo: has joined #ruby
[16:29:03] pawnbox: has joined #ruby
[16:29:30] Guest57022: has joined #ruby
[16:29:52] quazimodo: dfockler: i think so, but i'm not that certain
[16:30:25] quazimodo: lot's of people seem to hate on eventmachine (i don't know why, i don't really use it) so the state of concurrency in ru
[16:30:28] quazimodo: You sonuvabitch!
[16:30:30] quazimodo: Don't play with my heart strings.
[16:30:32] mleung: has joined #ruby
[16:30:33] quazimodo: Space Dandy IS ending, though I doubt a return of CB would be announced like this. Pray for the best. No anime has engaged me like CB since it finished.
[16:30:51] quazimodo: akh. accidentaly copy paste (linux + trackpad + middle mouse emulation). My bad
[16:32:09] nux443: has joined #ruby
[16:33:22] DonOtreply: has joined #ruby
[16:34:23] ellisTAA: has joined #ruby
[16:35:05] jpfuentes2: has joined #ruby
[16:35:27] Maletor: has joined #ruby
[16:36:18] devoldmx: has joined #ruby
[16:36:24] darix: quazimodo: dont worry. we wont tell anyone
[16:36:57] dfockler: quazimodo: some people didn't like eventmachine for a number of reasons, but basically in ruby you've got celluloid or jruby/rubinius for 'real' threading
[16:37:01] sferik: has joined #ruby
[16:37:15] shevy: quazimodo I have not used eventmachine but I seem to remember having heard hard to debug bugs or problems
[16:37:38] radens: In python to get a slice of an array from the second element to the end you do: arr[1:-1]
[16:37:53] centrx: radens, arr[1..-1]
[16:37:54] shevy: radens almost same in ruby, you could try 1..-1 or perhaps 1..-2 or 2..-1 :)
[16:42:10] jhass: radens: or depending on your situation .drop(1)
[16:44:07] iamninja: has joined #ruby
[16:44:20] quazimodo: So i don't actually use these frequenty at all tbh. And it occured to me that forking really isn't so bad if we were to use messaging & actors on light threads. I mean, unix forked processes are pretty cheap and we only need as many processes as we have processors (2-16 right) - that should be somewhat manageable. So the ruby concurrency 'thing' has me all confused
[16:44:41] quazimodo: so the state of ruby concurrency has me all confuzled
[16:45:08] quazimodo: I thought celluloid's goal was to handle this, although it looks like each actor gets it's own native (expensive) thread
[16:46:03] KINGSABRI: has joined #ruby
[16:46:12] shinnya: has joined #ruby
[16:46:13] quazimodo: And really all I really want is to have some websockets so i can continue to use ruby to model my domain challenges, because tbh I am piss pathetic at modelling problems in JS...
[16:46:14] shevy: that already sounds rather complicated to me what you have described so far :)
[16:46:20] umgrosscol: has joined #ruby
[16:46:21] havenwood: Anyone have a "Less Code" talk for RubyConf? http://rubycentral-cfp.herokuapp.com/events/rubyconf2015
[16:46:26] northfurr: has joined #ruby
[16:46:38] troulouliou_div2: has joined #ruby
[16:46:40] quazimodo: shevy: in application or in concept?
[16:46:41] fantazo: has joined #ruby
[16:46:55] eightfold: has joined #ruby
[16:47:02] havenwood: A couple days left to submit a proposal.
[16:47:13] shevy: quazimodo I wouldn't know the first thing about it being applied to code, anything above Thread.new is outside my area
[16:47:22] zendrix: has joined #ruby
[16:47:32] quazimodo: so I thought celluloid is pretty awesome
[16:48:06] KINGSABRI: I need to do multiple acctoins (GETs, POSTs) request after a basci http authentication
[16:48:13] quazimodo: but i don't know if it's actors are light enough to have a hundred thousand of them lying around waiting for some possbile future IO (think chat webservers)
[16:49:03] KINGSABRI: I now how to do a basic auth but the issue how to keep cookies(including session) on hand to do father authintcated actions
[16:49:15] bootstrappm: has joined #ruby
[16:49:31] KINGSABRI: Any idea, plz
[16:49:40] bootstrappm: ask again, I just here :)
[16:50:49] KINGSABRI: I've to do multiple http actions (GETs and POST) but all of it are after authentication
[16:51:23] mleung: has joined #ruby
[16:51:24] KINGSABRI: I need to do basic auth and keep authentication information(cookies) to do the father actions
[16:52:08] KINGSABRI: I need like a place holder for cookies to reuse it for farther actions
[16:52:15] mjuszczak: has joined #ruby
[16:52:49] ruboto: Please add more context to your question, what are you doing, why are you doing it, which libraries are involved. Post some code to gist if it clarifies your question.
[16:52:56] mjuszczak: has joined #ruby
[16:53:18] voltalio: has joined #ruby
[16:53:32] mjuszczak: has joined #ruby
[16:54:09] bootstrappm: KINGSABRI I'd say 1. Do what jhass says and give us your real world problem. 2. Don't confuse cookies with state. You're asking how do you keep state right? (In this case how do you keep a use logged in after auth)
[16:54:34] mustmodify: has joined #ruby
[16:54:37] mustmodify: has left #ruby: ()
[16:54:39] jhack: has joined #ruby
[16:55:28] Meow-J: has joined #ruby
[16:56:16] ponga: has joined #ruby
[16:56:39] wldcordeiro: has joined #ruby
[16:57:47] bronson: has joined #ruby
[16:59:29] blackmesa: has joined #ruby
[16:59:33] AlexAltea: has joined #ruby
[17:00:17] ivanskie: has joined #ruby
[17:00:18] northfurr: has joined #ruby
[17:01:25] miah: guh. tea isnt brewed. but i have an egg. i guess thats breakfast.
[17:01:33] havenwood: KINGSABRI: require 'http'; client = HTTP.basic_auth(user: 'user', pass: 'pass').headers('Cookie' => '9wq3w'); client.get('https://example.com'); client.post('https://example.com', json: { foo: 42 })
[17:01:47] shevy: miah you could put the egg into tea :)
[17:01:48] enebo: has joined #ruby
[17:01:57] darix: miah: you could have used the water from boiling the egg ;)
[17:02:05] miah: boiling egg? wtf.
[17:02:09] miah: i fried this =)
[17:02:24] choke: has joined #ruby
[17:02:38] miah: my tea will be ready soon i guess.
[17:02:49] havenwood: KINGSABRI: ^ There's some using the HTTP.rb gem to consider. Is that anything like what you're trying to do? Like others mentioned, say more!
[17:03:00] havenwood: some example code*
[17:03:14] snockerton: has joined #ruby
[17:03:50] towski_: has joined #ruby
[17:05:14] rfmind_: has joined #ruby
[17:06:29] rbennacer: has joined #ruby
[17:06:49] johnflux: has joined #ruby
[17:07:31] quazimodo: miah: me too, except mine's actually tea
[17:07:34] quazimodo: and none of that green crap
[17:07:49] quazimodo: mine's brown, like the well suntanned rump of a coconut beach adonis
[17:08:03] Valeness: has left #ruby: ()
[17:08:24] johnflux: Is there any way to use a regex to match: apple,bannana so like: /(apple|bannana)+/ but then how do I specify that they are seperated with a comma?
[17:08:58] lagweezle: quazimodo: Brown, as in, rooibos, or an herbal, or just some form of black tea that has been properly steeped?
[17:09:28] ghr: has joined #ruby
[17:09:42] tsou: has joined #ruby
[17:09:47] quazimodo: lagweezle: properly steeped, ahmad earl grey
[17:09:50] miah: my tea is actually chai
[17:09:54] lagweezle: quazimodo: mmmmm
[17:09:57] quazimodo: miah: chai means tea.
[17:10:01] miah: right =)
[17:10:21] lagweezle: It's all just camellia sinensis anyways... ;)
[17:10:22] quazimodo: shevy: ya, like naan bread. Mudafuck naan means bread
[17:10:53] jxpx777: has joined #ruby
[17:11:06] miah: chai has more than camellia though
[17:11:09] lagweezle: johnflux: Er, so you want <stuff> then literally "apple,bannana" then othe <stuff>, but only want to select the comma-paired fruit names?
[17:11:42] lagweezle: It is fascinating that green, oolong, and black tea are all the same thing, just different levels of oxidation...
[17:11:52] pen: has joined #ruby
[17:11:54] Kellin: Papierkorb: (so back from lunch now) - so what's the danger in slurping in a full YAML file, or is the expectation on that module that because YAML itself should not be trusted from random sources, you will know the size of the file being slurped?
[17:12:07] B5X: has joined #ruby
[17:12:10] johnflux: lagweezle: right, comma-seperated fruit names
[17:12:14] lagweezle: johnflux: I'm not quite sure what you are asking for, in that ... Well ..
[17:12:28] lagweezle: johnflux: So you just want to select a pair (?) of words that are comma-joined?
[17:12:54] johnflux: so: /(apple|bannana)(,apple|,bannana)+/
[17:12:55] banjara: has joined #ruby
[17:13:02] lagweezle: ACTION ponders.
[17:13:08] johnflux: like that, but if there's any nicer way of writing it
[17:13:21] johnflux: so: /(apple|bannana)(,apple|,bannana)*/ rather
[17:13:33] lagweezle: Are the specific words important, or you just want whatever words there are, with one or more words, where the case of more than one word has commas between them? Or ...
[17:13:55] johnflux: lagweezle: specific words are important
[17:14:10] greenbigfrog: has left #ruby: ()
[17:14:26] lagweezle: Are you after the case where you have a string with 'apple' in it, 'banana' in it, or 'apple,banana' in it, such that any of those three ocurences (sp?) are positive matches, and the specific one of those triggering the match are extracted as the matcher?
[17:14:38] jamesaxl|2: has joined #ruby
[17:14:51] lagweezle: Related, http://rubular.com/ is awesome.
[17:15:06] banjara: has joined #ruby
[17:15:13] johnflux: lagweezle: sorry quick side question - how do I include one regex in another?
[17:15:40] suchness: johnflux: ()
[17:15:55] lagweezle: johnflux: Are you thinking along the lines of a recursive regex? Not sure that is actually supported. Alternatively, you can just write a more complex regex...
[17:16:17] mary5030: has joined #ruby
[17:16:24] johnflux: like: regex1 = /(apple|bannana)/
[17:16:26] timonv: has joined #ruby
[17:16:39] Iskarlar: has joined #ruby
[17:16:42] lagweezle: So, it's dumb, but /(apple,banana|apple|banana)/ works ...
[17:16:46] podman: has joined #ruby
[17:16:53] lagweezle: ACTION ponders.
[17:17:00] johnflux: regex2 = /#{regex1}(,#{regex1})*/
[17:17:24] craysiii: has joined #ruby
[17:17:37] bronson: has joined #ruby
[17:17:58] tsujp: has joined #ruby
[17:18:08] klaas: has joined #ruby
[17:18:22] lagweezle: johnflux: Is it important that you actually capture the comma, or just wanting to make sure that if you capture more than one word they are paired by being comma seperated?
[17:18:25] m3ow1504_x: has joined #ruby
[17:18:40] johnflux: lagweezle: the latter
[17:18:53] enebo: has joined #ruby
[17:18:57] johnflux: I think I've solved it. This works: regex2 = /#{regex1}(,#{regex1})*/
[17:19:17] Mendenhall: has joined #ruby
[17:19:20] johnflux: ( I mean , I think it works. not checked yet)
[17:19:25] lagweezle: I don't think that will capture as you want, though.
[17:20:58] platzhirsch: has joined #ruby
[17:21:00] casadei: has joined #ruby
[17:21:46] platzhirsch: has left #ruby: ()
[17:22:23] rakm: has joined #ruby
[17:22:40] skade: has joined #ruby
[17:22:58] lagweezle: Huh. johnflux, "/(apple),(banana)|(apple|banana)/" produces interesting results on http://rubular.com/
[17:23:19] ndrei: has joined #ruby
[17:24:17] lagweezle: Hmm. But no, I don't *think* it is quite the results you want. :/
[17:24:41] Dreamer3: has joined #ruby
[17:24:47] lagweezle: johnflux: Anyways, play around a lot on the site. It may be much simpler to do this without regex.
[17:25:09] m3ow1504_x: has joined #ruby
[17:25:14] havenwood: >> 'cat' =~ Regexp.union(/(this|that)/, /(that|cat)/)
[17:25:16] ruboto: havenwood # => 0 (https://eval.in/424379)
[17:25:47] dh64: has joined #ruby
[17:26:13] Jackneill: has joined #ruby
[17:29:00] fast_scooter: has joined #ruby
[17:30:11] blueOxigen: has joined #ruby
[17:30:33] XF: has joined #ruby
[17:31:55] mistermocha: has joined #ruby
[17:33:00] davedev24: has joined #ruby
[17:33:05] leafybasil: has joined #ruby
[17:34:40] shevy: hmm... Kernel.callcc
[17:34:49] shevy: "Generates a Continuation object"
[17:34:53] shevy: what a strange name
[17:35:05] _djbkd: has joined #ruby
[17:35:11] jxpx777: has joined #ruby
[17:37:05] devoldmx: has joined #ruby
[17:37:41] unver: has left #ruby: ()
[17:41:25] XF: anyone help https://gist.github.com/xfisthebest/e0fc6434278dd02fc9b2
[17:42:02] twatsicle: has joined #ruby
[17:42:02] ChanServ: +b *!*@gateway/web/freenode/ip.31.3.244.61
[17:42:02] ChanServ: ChanServ kicked twatsicle: ban evasion
[17:42:34] m3ow1504_x: has joined #ruby
[17:42:41] ivanskie: has joined #ruby
[17:43:13] claw: http://paste.triple6.org/hEUM5A how can i hash a large file without consuming to much memory ?
[17:44:45] Mon_Ouie: claw: You can instantiate Digest::SHA2 objects and feed them chunks of your file with #<<
[17:45:27] Mia: has joined #ruby
[17:45:35] jhass: XF: that's just a useless part of a backtrace, the error should be above it
[17:46:33] baweaver: has joined #ruby
[17:46:38] casadei: has joined #ruby
[17:46:47] lipoqil: has joined #ruby
[17:48:03] SCHAAP137: has joined #ruby
[17:49:47] claw: Mon_Ouie: http://paste.triple6.org/ZuXwSA theres als #update :)
[17:50:12] Mon_Ouie: You realize that you're still reading the whole file in memory here?
[17:50:18] pawnbox: has joined #ruby
[17:50:41] claw: yeah just reconized it
[17:50:52] baweaver: has joined #ruby
[17:50:58] krisquigley: has joined #ruby
[17:51:04] pietr0: has joined #ruby
[17:51:25] Mia: has joined #ruby
[17:51:25] Mia: has joined #ruby
[17:52:36] m3ow1504_x: has joined #ruby
[17:52:43] rehat_: has joined #ruby
[17:54:03] claw: Mon_Ouie: http://paste.triple6.org/vEA7Xg
[17:54:03] khebbie: has joined #ruby
[17:54:27] claw: fine ? or can it be done better ?
[17:54:37] lampd1: has joined #ruby
[17:54:41] Mon_Ouie: You're not closing the file, use the block form of File.open
[17:54:57] Mon_Ouie: File.open(file_name, "rb") { |io| do_stuff_with(io) }
[17:55:52] KensoDev: has joined #ruby
[17:56:00] ellisTAA: has joined #ruby
[17:56:07] kidoz: has joined #ruby
[17:56:33] m3ow1504_x: has joined #ruby
[17:56:48] jaequery: has joined #ruby
[17:57:10] pencilcheck: has joined #ruby
[17:57:23] Torrieri: has joined #ruby
[17:57:55] platzhirsch: has joined #ruby
[17:59:36] christiandsg: has joined #ruby
[18:02:41] ndrei: has joined #ruby
[18:03:16] snockerton1: has joined #ruby
[18:03:31] i: has joined #ruby
[18:04:22] northfurr: has joined #ruby
[18:04:39] Guest81513: has left #ruby: ()
[18:04:45] ramfjord: has joined #ruby
[18:05:00] dopie: has joined #ruby
[18:05:03] XF: anyone help https://gist.github.com/xfisthebest/e0fc6434278dd02fc9b2
[18:06:17] denisemccoy: has joined #ruby
[18:06:51] symm-: has joined #ruby
[18:06:55] arooni-mobile: has joined #ruby
[18:07:02] jhass: XF: that's just a useless part of a backtrace, the error should be above it
[18:07:20] DCameronMauch: has joined #ruby
[18:07:32] ghr: has joined #ruby
[18:07:44] skade: has joined #ruby
[18:07:50] XF: jhass thats the error
[18:08:05] jhass: nope, not all of it
[18:10:26] nigg: has joined #ruby
[18:10:49] ruboto: fflush, apeiros, banisterfiend, seanstickle, Mon_Ouie, zzak, Radar, Havenn, jhass, sevenseacat, miah, workmad3, Coraline, drbrain, zenspider, slyphon, Aria, ljarvis, rubyhacker1, baweaver
[18:11:20] Mon_Ouie: !ban nigg !T 1d Bad nick
[18:11:20] ChanServ: +b nigg!*@*
[18:11:20] ChanServ: ChanServ kicked nigg: Bad nick
[18:12:19] XF: jhass https://gist.github.com/xfisthebest/626f7039e506df5ad9ac
[18:12:25] platzhirsch: has joined #ruby
[18:12:42] jhass: so what's on /home/bot/devil/lib/requests.rb:434 ?
[18:13:25] ruboto: XF, We can't help you without your code, please post it to https://gist.github.com
[18:13:40] Mon_Ouie: (Just the one line probably won't do)
[18:14:40] jackjackdripper: has joined #ruby
[18:15:10] XF: ruboto mon_ouie jhass https://gist.github.com/xfisthebest/b48eaa53012a28176c46
[18:15:14] XF: this is that line
[18:15:17] ruboto: I'm just a bot. You don't need to address me.
[18:15:41] jhass: XF: $adminbot is nil (and globals are evil, avoid using them
[18:15:57] jackjackdripper: has joined #ruby
[18:16:30] Kallis: has joined #ruby
[18:16:51] Mon_Ouie: Also if you're using Cinch, as it seems to be the case, why write RAW IRC commands? Cinch most certainly has a method to send messages to a channel
[18:17:12] snockerton: has joined #ruby
[18:17:31] XF: what should i replace with $adminbot?
[18:17:31] al2o3-cr: XF: Channel(your_channel).send(your_message)
[18:19:06] XF: al203-cr that script sends message on other irc
[18:19:39] nzst: has joined #ruby
[18:19:42] jhass: XF: at least use a CONSTANT so you get warnings if you reassign
[18:19:50] al2o3-cr: XF: yep it will send it to what ever channel you specify
[18:20:40] leat1: has joined #ruby
[18:20:52] XF: al203-cr ik but i said my bot is connected on many ircs but that message i want my bot to post those message on my irc in my channel
[18:21:24] nobitanobi: has joined #ruby
[18:21:50] al2o3-cr: XF: In ircs you networks or channels?
[18:22:20] XF: like people request something
[18:22:34] jeadre: has joined #ruby
[18:22:41] XF: and i want my bot to send that request message to other irc which i specify and the channel i specify
[18:23:49] al2o3-cr: XF: idk then :(
[18:24:12] skade: has joined #ruby
[18:24:42] al2o3-cr: XF: there is also #cinch if nobody can help here :)
[18:25:54] northfurr: has joined #ruby
[18:26:11] rsavage: has joined #ruby
[18:26:58] rsavage: What does this mean: Your Ruby version is 2.0.0, but your Gemfile specified 2.1.3?
[18:27:05] XF: has left #ruby: ()
[18:27:22] rsavage: Does this refer to the default ruby in the path?
[18:27:50] rsavage: Bundle doesn't install this by default?
[18:28:22] nzst: bundle doesn't install your ruby version
[18:28:26] Mon_Ouie: It refers to the version that you're using to run bundler
[18:29:55] rsavage: so if the Gemfile asks for 2.1.3 i need to run bundle using that version of ruby?
[18:30:38] luckyme: has joined #ruby
[18:31:08] bkxd: has joined #ruby
[18:31:20] Bokrug: has joined #ruby
[18:31:57] JamesToomey: has joined #ruby
[18:31:57] ChanServ: +b *!*@gateway/web/cgi-irc/kiwiirc.com/ip.167.114.119.196
[18:31:57] ChanServ: ChanServ kicked JamesToomey: http://ruby-community.com/pages/user_rules#rule_2_10
[18:32:14] Mia: has joined #ruby
[18:32:16] andrewcarter: has joined #ruby
[18:32:38] radens: What is the best way to find an element in an array and put it at the head?
[18:32:45] chipotle: has joined #ruby
[18:33:06] radens: I can think of a way iterating with an index, but there most be an easier approach.
[18:33:15] s2013: has joined #ruby
[18:33:42] jhass: are there duplicates?
[18:34:03] jhass: then a.unshift(a.delete(element)) it's not
[18:34:11] Swappticon: has joined #ruby
[18:34:17] jhass: a.unshift(a.delete_at(a.index(element))) ?
[18:34:38] darix: jhass: wouldnt that give a nice endless loop?
[18:34:41] vdamewood: has joined #ruby
[18:34:49] jhass: huh, where's a loop?
[18:35:08] radens: jhass: okay, what if element is a hash and I want the element which has the :isnamevar key?
[18:35:20] Mon_Ouie: index accepts a block
[18:36:11] darix: a=%w{ a a b c d d e e f } ; n=a.count('e') ; a.reject! { |e| e == 'e' } ; n.times { a.unshift 'e' } ; a
[18:36:39] mistermocha: has joined #ruby
[18:36:44] jhass: uh, didn't read the requirements as putting all of them at the start, only the first match
[18:37:10] Mon_Ouie: ?example radens
[18:37:10] ruboto: radens, Please provide us with an example of valid input for your problem, the output that you're getting, and the output that you were expecting.
[18:37:59] ruby-lang342: has joined #ruby
[18:38:12] ellisTAA: has joined #ruby
[18:38:12] radens: jhass: actually just the first one will probably do.
[18:38:28] jhass: then index with a block should suffice
[18:38:56] zendrix: has joined #ruby
[18:39:06] Logan__: has joined #ruby
[18:39:14] skade: has joined #ruby
[18:39:36] radens: yay, thanks jhass
[18:39:44] Bokrug: has left #ruby: ()
[18:39:51] blackmesa: has joined #ruby
[18:39:55] monk: has joined #ruby
[18:40:34] nobitanobi: has joined #ruby
[18:41:05] _Logan_: has joined #ruby
[18:42:55] rsavage: so if the Gemfile asks for 2.1.3 i need to run bundle using that version of ruby?
[18:43:53] j_mcnally: has joined #ruby
[18:44:03] Rubie: has joined #ruby
[18:44:33] baweaver: has joined #ruby
[18:45:50] d5sx43: has joined #ruby
[18:46:10] jhack_: has joined #ruby
[18:46:15] jhack_: has left #ruby: ()
[18:46:41] jhass: yes sadly
[18:46:58] jhass: I think patchlevel locks are not really necessary these days
[18:47:11] baweaver: ACTION shrugs
[18:47:16] jhass: I tend to just edit those out and run the latest version of the minor
[18:48:06] miah: at work, we make our .ruby-version call '2.x.x'. our systems use rbenv, so we install the newest release of ruby as '2.x.x'. it works.
[18:48:19] baweaver: 1.9.2 -> 1.9.3 was the last one that would have been a real pain.
[18:48:52] jhack_: has joined #ruby
[18:48:55] jhass: miah: it's just working around an rbenv anti-feature IMO
[18:49:15] miah: ive been meaning to switch the systems to chruby, i just havent yet
[18:49:18] jhass: it's the main reason I do not recommend rbenv actually
[18:49:22] jhack_: has left #ruby: ()
[18:49:40] jhack: has joined #ruby
[18:49:57] jhack: has joined #ruby
[18:50:17] webopsx: has joined #ruby
[18:50:36] jhass: rvm and chruby are both fine with 2.0, 2.1, 2.2 but no rbenv has to be special
[18:50:53] d5sx43: has joined #ruby
[18:50:57] enebo: has joined #ruby
[18:51:36] leat1: has joined #ruby
[18:52:37] codecop: has joined #ruby
[18:53:32] m3ow1504_x: has joined #ruby
[18:53:51] lkba: has joined #ruby
[18:53:59] ghr: has joined #ruby
[18:54:49] dagda1: has joined #ruby
[18:54:54] arup_r: has joined #ruby
[18:54:55] radgeRayden_: has joined #ruby
[18:56:36] DLSteve: has joined #ruby
[18:57:55] ruby-lang284: has joined #ruby
[18:59:05] PaulCapestany: has joined #ruby
[19:01:13] leat1: has joined #ruby
[19:03:02] __Logan__: has joined #ruby
[19:03:48] christiandsg: has joined #ruby
[19:04:13] sarkyniin: has joined #ruby
[19:04:24] toretore: has joined #ruby
[19:04:38] DEA7TH_: has joined #ruby
[19:05:39] failshell: i want to stream the output of commands running on a shell to something viewable with with a browser. i could use sinatra. anything else you can think of?
[19:06:33] baweaver: I would put it in a cronjob, aggregate the relevant data in either log files or a database, and go off of there
[19:06:41] baweaver: question is if you really need a stream or not
[19:07:01] baweaver: if you do, that involves a lot more work, mainly around something like Kafka or Logstash
[19:07:23] failshell: we already have that. that's not what i want
[19:07:50] baweaver: which 'that' are you referring to?
[19:08:21] baweaver: what's wrong with it?
[19:08:40] PaulCapestany: has joined #ruby
[19:08:42] failshell: not the same use case. i need to have a browser opened and look at the job output
[19:08:55] failshell: logstash doesnt really fit that case
[19:08:59] baweaver: Kafka would work.
[19:09:24] baweaver: though I would more suggest getting a NodeJS server on there.
[19:09:36] ttilley: has joined #ruby
[19:09:37] ttilley: has joined #ruby
[19:09:39] HoloIRCUser6: has joined #ruby
[19:09:40] baweaver: it'd work better to use the websocket features there
[19:09:52] quazimodo: has joined #ruby
[19:09:57] baweaver: Rails / Sinatra don't exactly play nicely with streams
[19:10:14] baweaver: it can be done, no doubt, but you'll have less headaches just using express
[19:10:21] havenwood: ActionCable to the rescue!
[19:10:48] baweaver: admittedly I don't have much confidence in that after ActionController Live
[19:11:11] baweaver: but to each their own
[19:11:21] wasamasa: ActionAction
[19:12:15] lagweezle: 'oauth' the gem had it's last releast Sept 4, 2012 ... this makes me wary.
[19:12:23] lagweezle: Is there a different OAuth v1 gem I should be using?
[19:12:39] dfockler: Doesn't OAuth v2 exist?
[19:12:50] havenwood: failshell: Considered event-stream?
[19:12:52] lagweezle: dfockler: Yes, but I don't *think* that JIRA is using it...
[19:13:07] lagweezle: I *kind of* understand OAuth, and I'm pretty sure they are completely incompatible.
[19:13:10] havenwood: failshell: https://gist.github.com/maccman/2992949
[19:13:20] zendrix: has joined #ruby
[19:13:23] jhass: dfockler: doesn't make oauthv1 useless. Let's keep in mind the oauth1 author had his name removed from the oauth2 rfc
[19:13:40] dfockler: didn't know about that drama
[19:13:43] havenwood: failshell: ^ one example, looking for better
[19:13:45] lagweezle: Basically, I understand it enough to use it, but not in a way that I would yet trust it for a "secure" system. I'm working with relatively low-risk data.
[19:13:54] lagweezle: dfockler: Yah! It's ... kind of terrifying.
[19:13:55] failshell: havenwood: thanks looking at it now
[19:14:09] lagweezle: (that he went so far as to say he doesn't want his name on the OAuth2 RFC)
[19:14:15] ghr: has joined #ruby
[19:15:17] dfockler: lagweezle: there's a jira-ruby gem
[19:15:18] bronson: has joined #ruby
[19:15:19] s2013: has joined #ruby
[19:15:42] havenwood: failshell: relocating, but showterm is nifty: http://showterm.io
[19:15:57] havenwood: back in a few
[19:16:06] lagweezle: dfockler: I'm using it. It doesn't handle the OAuth handshaking and token/secret exchanges, it only, optionally, uses the access token, once acquired, as a means of authentication.
[19:16:20] dfockler: ah sorry for being so uninformed :P
[19:16:40] allcentury: has joined #ruby
[19:17:04] lagweezle: dfockler: Heh. I greatly appreciate the effort! I'm re-writing our chat bot using a very different approach (REST service with webhook triggers) vs XMPP live connection. While doing so, I'm trying to be smart... Trying.
[19:17:27] dfockler: at least you are trying
[19:17:41] baweaver: ???Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.???
[19:17:41] Pumukel: has joined #ruby
[19:17:51] baweaver: - Brian Kernighan
[19:17:59] lagweezle: Oooooh ... 'oauth' is a CORE library ...
[19:18:10] wasamasa: don't kill it
[19:18:18] septor: has joined #ruby
[19:18:19] wasamasa: or ruby is doomed
[19:18:21] lagweezle: That may explain why rubygems.org doesn't list a homepage, and has a really old last update time.
[19:18:26] ruboto: Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
[19:18:28] lagweezle: wasamasa: wha'?
[19:18:33] jhass: !mute septor
[19:18:36] baweaver: !mute septor
[19:18:42] wasamasa: lagweezle: you called it a CORE library
[19:18:47] ruboto: +q septor!*@*
[19:18:47] ruboto: -o ruboto
[19:18:55] baweaver: there it goes
[19:19:22] lagweezle: wasamasa: I suspect I'm missing something ...
[19:19:34] wasamasa: ACTION stabs lagweezle into the core
[19:19:35] craysiii: im glad you just mute people and dont outright ban them.
[19:19:44] kirun: has joined #ruby
[19:20:12] lagweezle: ACTION feels very dense right now. :3
[19:20:19] voltalio: has joined #ruby
[19:20:38] jhass: craysiii: makes you sound like one of them
[19:21:07] baweaver: ?ot craysiii
[19:21:07] ruboto: craysiii, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[19:21:12] ellisTAA_: has joined #ruby
[19:21:25] jhack: does colloquy automatically have sasl activateD?
[19:21:43] baweaver: Most of the time you have to enable it on any client
[19:21:46] yqt: has joined #ruby
[19:22:11] baweaver: all else fails, look into the docs.
[19:22:20] jhack: has left #ruby: ()
[19:22:52] BlueShoesYes: has joined #ruby
[19:23:08] jhack: has joined #ruby
[19:23:18] Limix: has joined #ruby
[19:23:54] Musashi007: has joined #ruby
[19:24:38] zenguy_pc: has joined #ruby
[19:25:10] ReK2: has joined #ruby
[19:25:10] ReK2: has joined #ruby
[19:26:28] roxtrongo: has joined #ruby
[19:26:40] zenguy_pc: has joined #ruby
[19:26:57] TheWhiteOx: has joined #ruby
[19:28:11] zenguy_pc: has joined #ruby
[19:29:33] hoggy_: has joined #ruby
[19:32:19] casadei: has joined #ruby
[19:32:34] ledestin: has joined #ruby
[19:33:53] pawnbox: has joined #ruby
[19:34:12] catoblepa: has joined #ruby
[19:34:45] anisha: has joined #ruby
[19:34:53] lipoqil: has joined #ruby
[19:36:41] DEA7TH: has joined #ruby
[19:37:49] devoldmx: has joined #ruby
[19:38:40] Maletor: has joined #ruby
[19:41:22] mistermocha: has joined #ruby
[19:44:30] pen: has joined #ruby
[19:45:50] pietr0: has joined #ruby
[19:45:54] quazimodo: has joined #ruby
[19:46:20] BlueShoesYes: has joined #ruby
[19:48:09] BlueShoesYes: has left #ruby: ()
[19:48:42] ruby-lang578: has joined #ruby
[19:48:58] BlueShoesYes_: has joined #ruby
[19:49:38] enebo: has joined #ruby
[19:50:15] workmad3: has joined #ruby
[19:50:19] nfk: has joined #ruby
[19:50:35] sargas: has joined #ruby
[19:50:48] BlueShoesYes: has joined #ruby
[19:51:28] BlueShoesYes: Finally registered! Hows it going all?
[19:51:54] krisquigley: has joined #ruby
[19:54:20] yfeldblum: has joined #ruby
[19:54:28] baweaver: has joined #ruby
[19:54:56] pen: has joined #ruby
[19:54:57] Blaguvest: has joined #ruby
[19:55:16] Rubie: has joined #ruby
[19:55:39] BlueShoesYes: So ruby has Hashes. Does it also have structs? Or are hashes just another name for a struct?
[19:56:16] miah: http://ruby-doc.org/core-2.2.0/Struct.html and http://ruby-doc.org/stdlib-2.0.0/libdoc/ostruct/rdoc/OpenStruct.html
[19:56:30] jhass: it does have Struct but that's just a shortcut to creating a class with a bunch of attributes
[19:56:30] baweaver: >> {a: 1, b: 2} # hash
[19:56:31] ruboto: baweaver # => {:a=>1, :b=>2} (https://eval.in/424451)
[19:56:42] jhass: OpenStruct is rather slow, prefer Hash
[19:57:13] baweaver: >> o = OpenStruct.new(a: 1, b: 2); "#{o.a} #{o[:a]}"
[19:57:14] ruboto: baweaver # => uninitialized constant OpenStruct (NameError) ...check link for more (https://eval.in/424452)
[19:57:18] Kislik: has joined #ruby
[19:57:28] baweaver: was it ostruct? always forget
[19:57:30] jhass: require "ostruct"
[19:57:34] Kislik: has left #ruby: ()
[19:57:42] denisemccoy: has joined #ruby
[19:57:43] baweaver: >> require 'ostruct'; o = OpenStruct.new(a: 1, b: 2); "#{o.a} #{o[:a]}"
[19:57:44] ruboto: baweaver # => "1 1" (https://eval.in/424453)
[19:57:46] apeiros: yeah. sadly stdlib sometimes deviates from conventions.
[19:57:50] apeiros: optparse being another example.
[19:57:59] apeiros: and it'd be *so easy* to deprecate.
[19:58:11] baweaver: I rarely use them so I always forget :P
[19:58:40] baweaver: BlueShoesYes: but briefly, yes, they're different
[19:59:12] dionysus69: has joined #ruby
[20:00:18] BlueShoesYes: gotcha, I was just making sure there was some form of similarity because it sounded a lot like a c++ struct to me when it was being explained. So to be clear, use hashes until i understand more reasons to use a struct.
[20:00:41] jhass: OpenStruct != Struct
[20:00:49] jhass: quite distinct things in fact
[20:00:51] pyon: has joined #ruby
[20:01:04] jhass: but yeah, stick to hashes for now
[20:01:25] Mon_Ouie: And you'd probably use a regular class more often, so you can define methods other than readers/writers to manipulate your data
[20:01:58] jhass: well, Struct.new does take a block which you can define methods in
[20:01:58] sargas: has joined #ruby
[20:02:03] BlueShoesYes: that makes sense. My inquiry springs from me going through RailsForZombies.
[20:02:23] Mon_Ouie: Right, I mean as opposed to hashes
[20:02:29] lipoqil: has joined #ruby
[20:03:18] pyon: has joined #ruby
[20:03:24] Dzejmskrokan: has joined #ruby
[20:08:04] Narzew: has joined #ruby
[20:08:13] jxpx777: has joined #ruby
[20:08:43] BlueShoesYes: has joined #ruby
[20:08:45] Sdwrage__: has joined #ruby
[20:09:20] ksteck: has joined #ruby
[20:10:02] rbennacer: has joined #ruby
[20:12:34] jeadre: has joined #ruby
[20:14:25] m3ow1504_x: has joined #ruby
[20:15:29] xet7_: has joined #ruby
[20:18:30] xet7_: has left #ruby: ()
[20:18:44] TheWhiteOx: has joined #ruby
[20:18:45] jgt: has joined #ruby
[20:19:40] xet7bot: has joined #ruby
[20:19:52] emdub: has left #ruby: ()
[20:20:01] luckyme: has joined #ruby
[20:21:29] silkfox: has joined #ruby
[20:21:48] chrissonar: has joined #ruby
[20:22:13] BlueShoesYes_: Anyone have an opinion on LearnRubyTheHardWay? I'm not terribly far into it but it seems helpful so far.
[20:22:51] bronson: has joined #ruby
[20:23:16] craysiii: it has high praises here.
[20:23:34] denisemccoy: has joined #ruby
[20:24:36] ruby-lang344: has joined #ruby
[20:25:08] chrissonar: has joined #ruby
[20:25:11] mary5030: has joined #ruby
[20:25:23] baweaver: It's decent
[20:25:31] baweaver: though really depends on your skill level honestly.
[20:26:12] roxtrongo: has joined #ruby
[20:26:27] baweaver: For people who want to know the ruby way of things, Eloquent Ruby tends to win.
[20:26:39] baweaver: Well Grounded Rubyist tends to be a good intro
[20:26:51] baweaver: The Ruby Way is a broad overview of everything.
[20:27:00] BlueShoesYes_: Skill level noob imo. Ive made some very basic apps (calculator, string manipulation kinda stuff) and i have some very mild experience in c/c++
[20:27:16] baweaver: WGR and Practical Object Oriented Design in Ruby
[20:27:36] baweaver: LRtHW is decent
[20:29:28] atomical: has joined #ruby
[20:29:31] bluish: has joined #ruby
[20:29:48] pipework: BlueShoesYes_: I'm a fan of picking up metaprogramming ruby first, reading the first half which teaches the object model ruby uses, then going for the black book, The Well-Grounded Rubyist. After that, there's a lot of fun stuff.
[20:29:49] pen: has joined #ruby
[20:30:52] Novice201y: has joined #ruby
[20:31:20] Novice201y: Hello. Is there cloud IDE for RailsCast color syntax?
[20:31:24] mrtomme: has joined #ruby
[20:32:25] BlueShoesYes_: pipework: woah. Book hopping huh? Is there a reason you do not like/use LRtHW
[20:32:50] pipework: BlueShoesYes_: I just don't jive well with zed's voice as an author.
[20:33:06] pipework: He's perfectly fine and chummy though, if not a bit confrontational, if you don't mind that.
[20:33:32] pipework: Though I'm not, nor have I ever been, his intended audience.
[20:33:49] dagda1: has joined #ruby
[20:33:59] xelkarin: has joined #ruby
[20:34:19] baweaver: It's decent, I just think other books are better honestly.
[20:34:35] pipework: BlueShoesYes_: The latter half of metaprogramming ruby is fun and exciting, but it's not really all that beneficial to someone learning ruby.
[20:34:37] BlueShoesYes_: pipework: gotcha. So far I like the whole: "Actually type and run this" approach. Which I guess you could implement in any other kind of book.
[20:35:03] pipework: BlueShoesYes_: Most books come with "You'll learn better by typing this out" these days, at least from online publishers.
[20:35:19] BlueShoesYes_: baweaver: fair enough, I'm gunna make a list of the books you and others have recommended and look em up once I'm home from work
[20:35:19] baweaver: Just be dead sure to not try and make everything into metaprogramming
[20:35:34] pipework: Everything is already metaprogramming, you'll get there yourself too!
[20:35:41] baweaver: 9/10 times you won't need it and it'll make a huge mess. That 1/10 time though makes it worth it.
[20:35:53] BlueShoesYes_: pipework: what does that mean?
[20:36:00] pipework: BlueShoesYes_: You'll get it when you get there.
[20:36:03] baweaver: ACTION just doesn't like cleaning up after metaprogramming messes
[20:36:12] pipework: Turtles, delegation, that kind of thing.
[20:36:22] BlueShoesYes_: #colormeconfused
[20:36:30] pipework: Is that color blue?
[20:36:44] baweaver: consider method_missing, it's extremely slow
[20:36:50] opensource_ninja: has joined #ruby
[20:37:01] baweaver: and notoriously annoying to debug on occasion
[20:37:05] pawnbox: has joined #ruby
[20:37:09] baweaver: but when used right, it can do some amazing things
[20:37:28] baweaver: just make sure it's worth the cost of traversing the entire inheritance stack to decide to get there.
[20:37:54] BlueShoesYes_: haha you guys are way over my head I need to do more learning.
[20:38:01] pipework: Professional bruvnors define delegates and properly implement respond_to_missing? too
[20:38:18] shevy: bruvnors?
[20:38:41] pipework: shevy: I like to portmanbreau words together
[20:39:19] ramfjord: has joined #ruby
[20:41:00] krisquigley: has joined #ruby
[20:43:52] amclain: has joined #ruby
[20:44:07] voltalio: has joined #ruby
[20:45:30] Limix: has joined #ruby
[20:45:31] arooni-mobile: has joined #ruby
[20:45:59] mistermocha: has joined #ruby
[20:47:25] sargas: has joined #ruby
[20:49:07] DEA7TH: has joined #ruby
[20:49:11] shevy: I don't know what portmanbreau is but it sounds like tasty red wine
[20:49:34] D9: has joined #ruby
[20:49:38] AccordLTN: has joined #ruby
[20:49:54] Kellin: do you mean portmanteau?
[20:50:01] northfurr: has joined #ruby
[20:51:31] pawnbox: has joined #ruby
[20:51:32] pipework: Kellin: No. There was a joke.
[20:52:01] Kellin: sure sign I should go home for the weekend, my internal joke-detector failed
[20:53:06] yeticry: has joined #ruby
[20:53:22] BlueShoesYes_: Kellin: Your Friday is showing
[20:53:57] FernandoBasso: has joined #ruby
[20:54:34] al2o3-cr: has joined #ruby
[20:55:53] cball: has joined #ruby
[20:56:16] danman_: has joined #ruby
[20:57:38] danman: has joined #ruby
[20:57:43] denisemccoy: has joined #ruby
[20:59:25] Sdwrage__: has joined #ruby
[20:59:38] D9: has joined #ruby
[21:00:48] D9: has joined #ruby
[21:01:32] rickmasta: has joined #ruby
[21:02:06] Rubie: has joined #ruby
[21:02:25] paulcsmith: has joined #ruby
[21:02:41] al2o3-cr: has joined #ruby
[21:04:48] m3ow1504_x: has joined #ruby
[21:04:58] christiandsg: has joined #ruby
[21:05:02] victortyau: has joined #ruby
[21:06:01] yeticry: has joined #ruby
[21:06:09] RossBuchenwald: has joined #ruby
[21:06:50] SenpaiSilver: has joined #ruby
[21:08:03] jhass: !ban RossBuchenwald !T 1d bad nick
[21:08:04] ChanServ: +b RossBuchenwald!*@*
[21:08:04] ChanServ: ChanServ kicked RossBuchenwald: bad nick
[21:10:33] atmosx: lots of kb lately on ruby
[21:12:30] pipework: jhass: How is RossBuchenwald a bad nick?
[21:12:46] baweaver: ?ot pipework
[21:12:46] ruboto: pipework, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[21:12:55] vickleton: has joined #ruby
[21:12:56] jhass: pipework: background is in #ruby-offtopic and try wikipedia
[21:13:30] pipework: Ah cause all I was seeing was memorials to someone else of another name.
[21:13:47] Torrieri: has joined #ruby
[21:13:47] Torrieri: has joined #ruby
[21:14:29] pipework: I would suggest to consider the common pattern of using #ruby-ops for other things of that nature. I'd gladly join there to ask, but would rather not expose myself to the offtopic channel.
[21:14:31] DEA7TH: has joined #ruby
[21:15:24] pipework: s/another/the same/
[21:16:03] jhass: pipework: if you want to discuss bans please join #ruby-banned (I believe we mention that in the rules)
[21:16:36] rbennacer: has joined #ruby
[21:16:37] pipework: jhass: I'm good. I was just suggesting to follow the norm, though I don't have any doubt that I will be heard in earnest about it.
[21:16:45] arooni-mobile: has joined #ruby
[21:18:27] atmosx: jhass: is that the real name of DPR from SR?
[21:18:30] atmosx: ACTION being curious
[21:19:03] ruboto: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[21:19:16] shevy: this usage of ?ot is so childish
[21:19:28] atmosx: god or good?
[21:19:45] pipework: shevy: There are new leaders in charge miaow. Best to conform.
[21:19:50] pipework: shevy: Can I query you, sir?
[21:19:58] TheWhiteOx: has joined #ruby
[21:19:59] Sdwrage__: has joined #ruby
[21:20:05] shevy: I don't know! I have to click on the tab ... :(
[21:20:44] DylanJ: has joined #ruby
[21:21:04] atmosx: xcha on linux
[21:21:15] atmosx: should work with some shortcut shevey, ctrl + 1,2,3
[21:21:30] phillip: has left #ruby: ("Leaving")
[21:21:44] shevy: what about 11 tabs :)
[21:22:15] shevy: though that reminds me, I should use an IRC client in ruby
[21:22:30] pipework: shevy: Weechat has ruby stuff.
[21:22:58] shevy: yeah but for some reason, and I am not sure, I often mispaste in irssi and weechat like clients
[21:23:30] AkashicLegend: has joined #ruby
[21:23:40] AkashicLegend: which is easier for web development
[21:23:50] AkashicLegend: ruby on rails or django. I already know some python but 0 ruby
[21:24:10] jhass: ?rails AkashicLegend
[21:24:11] ruboto: AkashicLegend, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[21:24:15] shevy: you probably have to invest some time to pick up ruby first, so django may be easier
[21:24:31] shevy: you could possibly try padrino + sinatra
[21:24:40] AkashicLegend: yeah but I'm a lazy guy. I don't want to spend hours trying to do something simple.
[21:24:45] pipework: AkashicLegend: Ease is a hard thing to quantify.
[21:24:47] AkashicLegend: django looks like a lot of configuration
[21:25:10] shevy: I don't know if any of these frameworks are simple really
[21:25:11] cornerma1: has joined #ruby
[21:25:26] JoshGlzBrk: has joined #ruby
[21:25:33] shevy: back in the old .cgi era we didn't even know what a database was!
[21:25:45] jhass: but it's highly subjective, you should invest the time for http://guides.rubyonrails.org/getting_started.html and the equivalent for django and make your own decision
[21:26:03] bruno-: has joined #ruby
[21:27:07] nettoweb: has joined #ruby
[21:28:00] freerobby: has joined #ruby
[21:28:15] jxpx777: has joined #ruby
[21:28:19] shevy: Anyone knows of any gems that does a lot of introspection? We have the ruby Method#source_location... we also have pry + method_source ... I wonder if there is any other project worth to look into in this regards
[21:29:36] nettoweb: has joined #ruby
[21:33:22] diegoaguilar: has joined #ruby
[21:34:23] workmad3: has joined #ruby
[21:37:11] wldcordeiro__: has joined #ruby
[21:38:12] northfurr: has joined #ruby
[21:38:21] k3asd`: has joined #ruby
[21:38:34] devoldmx: has joined #ruby
[21:38:36] v4n: has joined #ruby
[21:41:04] Azure: has joined #ruby
[21:42:31] JoshL: has joined #ruby
[21:42:49] PaulCapestany: has joined #ruby
[21:46:47] rehat_: has joined #ruby
[21:46:49] siaW: has joined #ruby
[21:47:48] siaW: in this ruby piece, why does the array come out as ???3???, ???5??? and ???7??? even though the to_i method was applied? https://gist.github.com/siaw23/be613c1048d15393707d
[21:48:03] centrx: has joined #ruby
[21:48:30] eam: siaw: sort_by is a method used to evaluate the sort order -- it does not change the elements in the array
[21:48:38] pipework: siaw: It's just sorting by those values, it.. ^
[21:49:06] siaW: pipework: thank you
[21:49:11] siaW: eam: thanks :)
[21:49:32] eam: siaw: you could append a .map &:to_i
[21:49:50] pipework: You could also just map(&:to_i).sort as well
[21:49:53] siaW: eam: which won???t do any sorting :)
[21:50:07] eam: siaw: right. appended to the expression
[21:50:13] siaW: ah you mean to make each element an integer. right
[21:50:24] pipework: >> [1, "5", 2, "7", "3"].map(&:to_i).sort
[21:50:26] ruboto: pipework # => [1, 2, 3, 5, 7] (https://eval.in/424473)
[21:50:34] Musashi007: has joined #ruby
[21:50:50] PaulCapestany: has joined #ruby
[21:51:04] siaW: so #sort and #sort_by are essentially the same thing?
[21:51:31] NeverDie: has joined #ruby
[21:52:06] eam: siaw: sort {|a,b| a <=> b}
[21:52:07] siaW: if no, then it means the #sort in [1, "5", 2, "7", "3"].map(&:to_i).sort is only sorting just the integers
[21:52:19] siaW: i get it
[21:52:21] robbyoconnor: has joined #ruby
[21:52:37] eam: siaw: with sort, you have full control over the sort function - sort_by is just a way to do a simple universal translation
[21:52:46] dagda1_: has joined #ruby
[21:56:08] theery: has joined #ruby
[21:58:14] baweaver: has joined #ruby
[21:59:35] Sdwrage__: has joined #ruby
[22:00:31] dfockler: has joined #ruby
[22:02:09] decoponio: has joined #ruby
[22:02:13] gamename: has joined #ruby
[22:06:08] juanpablo_: has joined #ruby
[22:06:19] siaW: ok so i???m learning about the #sort method in ruby. here i have a class. without creating the #<=> method i get an error, after creating it the error is gone and the #sort works. but i didn???t create any def sort; blah blah; end methods. how???s that? https://gist.github.com/siaw23/be613c1048d15393707d
[22:06:30] stef204: has joined #ruby
[22:07:51] centrx: siaw, #sort is on Array, and uses the #<=> method of the elements of the array
[22:08:16] centrx: >> 5 <=> 1
[22:08:17] ruboto: centrx # => 1 (https://eval.in/424479)
[22:09:05] siaW: centrx: thanks. so if sort is on the array, which couldn???t it sort the items in the array that i put?
[22:09:16] siaW: why did i have to define #<=>?
[22:10:36] centrx: Because it is a class you created, you have to define the method for it, specifying in this case which attribute to compare on for the class
[22:10:48] centrx: The class might have had more than one instance variable, for instance
[22:10:49] jackjackdripper: has joined #ruby
[22:10:56] centrx: Or you may have wanted to define <=> differently
[22:11:10] siaW: centrx: makes sense. thank you :)
[22:11:12] WhereIsMySpoon_: has left #ruby: ()
[22:11:51] apeiros: siaw: while sort is on the Array, <=> has to be on the items in the array. you don't compare the array after all to sort it. you compare the contained items.
[22:12:16] siaW: apeiros: ????
[22:13:41] Yzguy: has joined #ruby
[22:15:50] linuxboy_: has joined #ruby
[22:16:05] sumah: has joined #ruby
[22:16:43] sarkyniin: has joined #ruby
[22:18:27] RobertBirnie: has joined #ruby
[22:19:38] monsieurp: coming from Perl, I would expect this code to count from 1 to 23: http://ideone.com/afrvxe
[22:19:44] Swappticon: has joined #ruby
[22:19:45] monsieurp: like so: http://ideone.com/pZhIug
[22:19:49] monsieurp: did I miss something?
[22:20:34] Billias: has joined #ruby
[22:20:35] jhass: yes, idiomatic ruby. Use .each_with_index(1) do |line, i|
[22:20:38] monsieurp: I read English.rb and it clearly says: alias $INPUT_LINE_NUMBER $.
[22:20:47] foxprob: has joined #ruby
[22:21:35] monsieurp: so this variable is complete bollocks then?
[22:21:37] DLSteve: has joined #ruby
[22:22:18] jhass: well, no. File.readlines reads the file fully, so by the time you hit .each it's 23
[22:22:34] jhass: You "want" File.foreach
[22:22:50] Kallis: has joined #ruby
[22:25:19] AkashicLegend: has left #ruby: ()
[22:26:50] foxprob: Is it possible to remove hex escaped bytes from a string? For example: "\x00\xc1ISO002" or "\x01eISO002"; in both cases I would like to keep only "ISO002".
[22:27:10] jhass: foxprob: passing them to String#delete should work fine
[22:27:20] doublemalt_: has joined #ruby
[22:27:44] foxprob: jhass: the problem is that I don't know them
[22:27:55] jhass: what do you know about the string?
[22:28:10] Musashi007: has joined #ruby
[22:28:24] mjuszczak: has joined #ruby
[22:28:54] foxprob: jhass: that it might have one or two hex escaped bytes in the beginning (but I don't know what comes after)
[22:29:35] jhass: note that in one of your examples the e is a plain e
[22:29:43] jhass: those look like ANSI escape codes
[22:29:57] jhass: which would make it possible to list them
[22:29:58] foxprob: but it isn't
[22:31:01] jhass: can you define what bytes (characters) are valid for the "after" part?
[22:31:50] Rinzlit: has joined #ruby
[22:32:01] apeiros: foxprob: "\x01" is a single character. do you mean you want to delete all control characters?
[22:32:03] foxprob: jhass: on those examples, the after part would be ISO
[22:32:09] apeiros: those are usually shown as an escape sequence
[22:32:34] jhass: foxprob: yes, with your examples you could just write a literal "ISO002" into your code
[22:32:35] axyz`: has joined #ruby
[22:32:50] jhass: they're insufficient to form a general rule from, hence I'm asking
[22:32:54] apeiros: though, a better question would probably be: why are there control characters in your string in the first place?
[22:32:57] jenrzzz: has joined #ruby
[22:33:11] foxprob: jhass: interesting, thank you for pointing that
[22:33:54] shevy: control characters are used to control strings!
[22:34:12] shevy: "move to the left ... shuffle to the right ... dance to the jiggly tune!"
[22:34:28] jhass: is there one for "make shevy use UTF-8"?
[22:35:07] shevy: probably when I really need it
[22:35:27] shevy: the snowman is one pro
[22:35:38] jhass: also all the cookies you missed out
[22:36:08] shevy: they were given to ruboto not me...
[22:36:24] jhass: no, ruboto's handing them out
[22:36:27] jhass: ?cookie shevy
[22:36:27] ruboto: shevy, here's your cookie: ????
[22:40:44] cschneid_: has joined #ruby
[22:41:05] lipoqil: has joined #ruby
[22:41:25] dfockler: How do I mock a chained callback in minitest?
[22:42:17] dfockler: Testing against databases :(
[22:43:35] shevy: oh oh oh a minitest question, now if zenspider is awake you'd have someone who would have a lot of domain knowledge there
[22:44:04] pipework: shevy: He actually responded to someone in #minitest earlier saying the same thing.
[22:45:12] lipoqil_: has joined #ruby
[22:46:07] DonOtreply: has joined #ruby
[22:48:15] dfockler: well it'll have to wait until next week! thanks anyways :P
[22:48:38] apeiros: ACTION sobs
[22:48:47] apeiros: WHY did I make so many remotes again?
[22:50:06] jhass: dunno, for me I have hub to blame for creating them
[22:50:51] apeiros: ah well, this is an old setup where I have a repo (and thus remote) for each env instead of a shared repo for all envs :-/
[22:50:56] willharrison: has joined #ruby
[22:51:00] porfa: has joined #ruby
[22:51:03] apeiros: I should change the setup to my newer one
[22:51:35] apeiros: and additionally an "origin" repo
[22:52:12] ebbflowgo: has joined #ruby
[22:52:22] atomical: has joined #ruby
[22:52:41] christiandsg: has joined #ruby
[22:54:08] lipoqil_: has left #ruby: ()
[22:55:25] lipoqil: has joined #ruby
[22:56:55] juanpablo_: has joined #ruby
[22:56:59] mistermocha: has joined #ruby
[23:00:15] sankaber: has joined #ruby
[23:02:39] grenierm: has joined #ruby
[23:02:54] northfurr: has joined #ruby
[23:03:05] baweaver: has joined #ruby
[23:03:46] jxpx777: has joined #ruby
[23:05:31] z1haze: has left #ruby: ("Leaving")
[23:06:13] Tratos: has joined #ruby
[23:06:52] j_mcnally: has joined #ruby
[23:10:07] m3ow1504_x: has joined #ruby
[23:11:09] Ox0dea: has joined #ruby
[23:11:45] darix: apeiros: past apeiros was thinking "how can i ruin future apeiros evening" :p
[23:13:02] felltir: has joined #ruby
[23:13:35] Musashi007: has joined #ruby
[23:14:38] s00pcan: has joined #ruby
[23:16:15] shevy: does anyone here happen to use a statically compiled ruby?
[23:17:04] ddrmanxbxfr: has joined #ruby
[23:17:08] shevy: supposedly via --disable-shared --with-static-linked-ext
[23:17:49] shevy: I got stuck at this, strange as it is...
[23:17:57] shevy: Generating RDoc documentation ruby-2.2.3/.ext/x86_64-linux/enc/encdb.so: [BUG] Segmentation fault at 0x00000000000000
[23:19:36] michael_mbp: has joined #ruby
[23:19:45] Vile`: has joined #ruby
[23:19:57] Ox0dea: TIL RDoc can dereference null pointers.
[23:20:30] shevy: I will retry via --disable-install-rdoc --disable-install-doc
[23:20:45] anonoz: has joined #ruby
[23:20:56] Ox0dea: But then how will you know how to use this crazy language?
[23:21:19] felltir: TIL that =~ is defined on Object
[23:21:27] Ox0dea: Utter madness.
[23:21:38] shevy: I need a working ruby not a working docu
[23:21:49] ddrmanxbxfr: wow i've been having pains on arm build today :(
[23:21:59] ddrmanxbxfr: i've had some ruby app that works when I start it manually
[23:22:10] ddrmanxbxfr: but if I do STDOUT or STDERR redirection the app hangs :(
[23:22:16] ddrmanxbxfr: and stays at 100 % forever
[23:22:16] apeiros: hm, what's a common english format to write dayname + day of month + month?
[23:22:23] apeiros: saturday, 29th of aug.?
[23:22:39] apeiros: or saturday, 29/8?
[23:22:40] baweaver: Sat Aug 29th
[23:23:14] apeiros: ok, thanks
[23:23:15] baweaver: English \o/
[23:23:18] ddrmanxbxfr: Was there anything related to STDOUT or STDERR hanging in ruby 2.1 ? I'll try compiling 2.2.3 (and in a few horus test it out, ARM is so slow :( ).
[23:23:19] bradland: apeiros: when localizing for english, you'll have to specify US english, or everybody else :)
[23:23:33] bradland: Sat Aug 29th is unambiguous enough though
[23:23:33] apeiros: bradland: swiss english, of course!
[23:23:42] baweaver: bradland: there is no other english
[23:23:48] baweaver: bradland: only zuul
[23:23:54] bradland: the US is strange. we frequently put month before day
[23:24:02] Ox0dea: Frequently?
[23:24:09] apeiros: not sure whether AE or BE is more widespread in europe
[23:24:11] baweaver: let's not get into our measurements
[23:24:27] Ox0dea: baweaver: How many furlongs to a hogshead?
[23:25:15] michael_mbp: has joined #ruby
[23:25:17] baweaver: ~15,000 or 40 rods
[23:25:26] [k-: has joined #ruby
[23:25:43] nzst: has joined #ruby
[23:26:22] j_mcnally: has joined #ruby
[23:26:43] apeiros: don't ask people who've got units installed :D
[23:27:54] ddrmanxbxfr: it's so weird that : ruby myapp.rb works on my system but ruby myapp.rb > log_file 2>&1 makes it crash :(
[23:28:40] jhass: any isatty? checks in the code?
[23:28:51] ddrmanxbxfr: plain and simple puts and sleep loop
[23:29:01] ddrmanxbxfr: and a ruby shebang at the top
[23:29:23] ddrmanxbxfr: runtime is ARMv7 Processor rev 5 (v7l) though not x86
[23:29:26] Mendenhall: has joined #ruby
[23:29:34] jgt: has joined #ruby
[23:30:04] i: has joined #ruby
[23:32:35] Limix: has joined #ruby
[23:33:07] apeiros: oh, did I complain before about too many repos? turns out I actually even moved that website to a new VM already, using the newer setup with a single repo. and did not yet remove the old one >.<
[23:33:25] _djbkd: has joined #ruby
[23:34:19] EricTheAwful: has joined #ruby
[23:34:21] nerdoncall: has joined #ruby
[23:34:22] iHatesJews: has joined #ruby
[23:34:25] dseitz: has joined #ruby
[23:34:38] iHatesJews: has left #ruby: ()
[23:36:11] linuxboytoo: has joined #ruby
[23:36:23] northfurr: has joined #ruby
[23:36:41] m3ow1504_x: has joined #ruby
[23:36:41] dopie: has joined #ruby
[23:38:32] havenwood: has joined #ruby
[23:38:43] dopamean_: has joined #ruby
[23:39:20] devoldmx: has joined #ruby
[23:41:00] Sdwrage__: has joined #ruby
[23:41:22] lipoqil_: has joined #ruby
[23:43:14] kies^: has joined #ruby
[23:46:38] pauly_oc: has joined #ruby
[23:47:33] j_mcnally: has joined #ruby
[23:48:11] wildlander: has joined #ruby
[23:49:26] ylg: has joined #ruby
[23:51:28] Vile`: has joined #ruby
[23:51:42] voltalio: has joined #ruby
[23:51:59] solocshaw: has joined #ruby
[23:53:15] wildlander: has joined #ruby
[23:54:16] Ox0dea: Interpreters are enumerable.
[23:54:29] B5X: has joined #ruby
[23:55:34] christiandsg: has joined #ruby
[23:57:25] juanpablo_: has joined #ruby
[23:58:14] jtdoncas: has joined #ruby