« Back to channel list

#ruby - 27 May 2015

« Back 1 day Forward 1 day »
[00:01:27] sevenseacat: has joined #ruby
[00:02:01] mistermocha: has joined #ruby
[00:02:13] gambl0re: has joined #ruby
[00:03:35] Igorshp: has joined #ruby
[00:04:45] fabrice31: has joined #ruby
[00:07:19] jpfuentes2: has joined #ruby
[00:08:16] baweaver: has joined #ruby
[00:09:24] strcmp1: has joined #ruby
[00:09:45] charliesome: has joined #ruby
[00:10:03] strcmp1: yeah, it is just bundler. it doesn't seem to ever happen with 'gem install <anything>', but i think it also only happens when there is at least >= 5 gems to install.
[00:10:12] gaboesquivel: has joined #ruby
[00:10:24] pengin: has joined #ruby
[00:10:33] michael_mbp: has joined #ruby
[00:11:27] jhass: did you try running with --verbose to get a sense on what call it gets stuck?
[00:11:58] strcmp1: yeah, 1sec
[00:12:29] fella6s: has joined #ruby
[00:13:25] jpfuentes2: has joined #ruby
[00:15:42] strcmp1: jhass, https://gist.github.com/anonymous/6803e2da3d00561cc7ba
[00:16:55] jhass: looking good, does curl https://aws-eu-cache01.rubygems.org/gems/builder-3.0.4.gem > /dev/null error out?
[00:17:35] bogdanteleaga: has joined #ruby
[00:18:09] shuber_: has joined #ruby
[00:18:25] strcmp1: no, works fine
[00:18:29] dseitz: has joined #ruby
[00:18:40] jhass: oh wow https://www.ssllabs.com/ssltest/analyze.html?d=aws-eu-cache01.rubygems.org
[00:18:43] strcmp1: it seems to fail on a random gem everytime :/
[00:20:48] strcmp1: what is wow about that?
[00:21:35] al2o3-cr: has joined #ruby
[00:23:04] jhass: I guess the question is whether it uses a different host when it works
[00:23:33] jpfuentes2: has joined #ruby
[00:24:01] strcmp1: 'bundle install' fails 100% of the time for me.
[00:24:43] keen___________0: has joined #ruby
[00:25:01] longfeet: has joined #ruby
[00:25:04] jhass: well, you say it fails at different gems, so some work?
[00:25:18] robustus: has joined #ruby
[00:25:58] sankaber: has joined #ruby
[00:26:09] strcmp1: yeah, it fails at different gems everytime, if i keep running 'bundle install' over and over again it will eventually work, but fail like at least 5 times during it.
[00:27:37] Scripore: has joined #ruby
[00:28:15] casadei: has joined #ruby
[00:29:03] mrmargolis: has joined #ruby
[00:29:08] jhass: does --retry 100 make it less tedious perhaps?
[00:30:18] vdamewood: has joined #ruby
[00:30:22] strcmp1: yeah, it would, but i guess im wondering why does it happen? do you know what that error means?
[00:31:18] jhass: not sure, it seems a bit generic
[00:31:30] jhass: something failed during the ssl/tls handshake
[00:31:39] troyready: has joined #ruby
[00:31:44] jhass: given that F grade, could be anything
[00:32:18] strcmp1: using 'bundler.rubygems.org' as a source, it gets along much further, but eventually fails too
[00:32:22] strcmp1: thats graded as B
[00:32:36] jhass: https://github.com/rubygems/rubygems/issues/515
[00:32:54] jhass: look at all the various causes
[00:33:47] dorei: strcmp1: maybe this could help http://mislav.uniqpath.com/2013/07/ruby-openssl/
[00:34:06] Radar: https://gist.github.com/luislavena/f064211759ee0f806c88
[00:34:11] kinduff: has joined #ruby
[00:34:12] Radar: At the very bottom of that thread for the lazy
[00:34:39] Kricir: has joined #ruby
[00:34:44] jhass: Radar: it's a handshake failure though, not cert validation
[00:35:14] jhass: still, newest rubygems & openssl might indeed help
[00:35:46] mistermocha: has joined #ruby
[00:36:04] swgillespie: has joined #ruby
[00:37:14] workmad3: has joined #ruby
[00:37:44] Scripore: has joined #ruby
[00:37:46] MatthewsFace: has joined #ruby
[00:37:59] strcmp1: i will try this https://github.com/mislav/ssl-tools but it seems to be OSX-centric (I'm on Linux)
[00:38:37] kinduff: has joined #ruby
[00:38:47] dorei: strcmp1: what distro?
[00:38:52] GriffinHeart: has joined #ruby
[00:39:04] Joufflu: has joined #ruby
[00:39:30] cirn0: has joined #ruby
[00:39:35] dorei: i think redhat derived distros have a weird strip down version of openssl
[00:41:20] DEA7TH: has joined #ruby
[00:41:44] casadei_: has joined #ruby
[00:41:46] GriffinHeart: has joined #ruby
[00:44:06] nettoweb: has joined #ruby
[00:45:05] shuber_: has joined #ruby
[00:45:57] bmurt: has joined #ruby
[00:48:26] dopie: has joined #ruby
[00:49:32] rodfersou: has joined #ruby
[00:49:39] rodferso1: has joined #ruby
[00:49:41] cirn0: has joined #ruby
[00:50:30] paulcsmith: has joined #ruby
[00:51:20] dseitz: has joined #ruby
[00:51:29] bootstrappm: has left #ruby: ()
[00:53:53] dseitz: has joined #ruby
[00:54:26] bronson: has joined #ruby
[00:55:24] Rubie: has joined #ruby
[00:55:38] longfeet_: has joined #ruby
[00:55:50] baroquebobcat: has joined #ruby
[00:57:44] GriffinHeart: has joined #ruby
[00:59:26] ohaibbq: has joined #ruby
[00:59:35] ravenreborn_: has joined #ruby
[01:02:39] Akagi201: has joined #ruby
[01:05:36] pragmatism: has joined #ruby
[01:08:57] benlieb: has joined #ruby
[01:10:27] MuffinPimp_: has joined #ruby
[01:11:08] i: has joined #ruby
[01:11:56] jpfuentes2: has joined #ruby
[01:12:46] jpfuentes2: has joined #ruby
[01:12:52] Deele: has joined #ruby
[01:13:18] TheNumb: has joined #ruby
[01:13:24] xMopxShell: has joined #ruby
[01:14:58] Xiti: has joined #ruby
[01:15:58] thiagovsk: has joined #ruby
[01:17:40] paradisaeidae: has joined #ruby
[01:17:45] Rubie: has joined #ruby
[01:18:29] nettoweb: has joined #ruby
[01:19:21] Scripore: has joined #ruby
[01:22:24] tyfighter: has joined #ruby
[01:24:29] codeFiend: has joined #ruby
[01:25:21] nettoweb: has joined #ruby
[01:26:35] zreisman: has joined #ruby
[01:29:12] juanpaucar: has joined #ruby
[01:29:24] f3lp: has joined #ruby
[01:34:09] claptor: has joined #ruby
[01:36:16] Scient: has joined #ruby
[01:37:33] CloCkWeRX: has joined #ruby
[01:39:17] amclain: has joined #ruby
[01:39:23] qwertme: has joined #ruby
[01:40:57] nettoweb: has joined #ruby
[01:41:36] kinduff: has joined #ruby
[01:43:14] benlieb: has joined #ruby
[01:46:57] _blizzy_: has joined #ruby
[01:48:08] Scripore: has joined #ruby
[01:51:08] shuber_: has joined #ruby
[01:51:19] paulcsmith: has joined #ruby
[01:52:50] nettoweb: has joined #ruby
[01:53:34] fabrice31: has joined #ruby
[01:56:00] quimrstorres: has joined #ruby
[02:00:43] tkuchiki: has joined #ruby
[02:04:51] nettoweb: has joined #ruby
[02:06:47] jbomo: has joined #ruby
[02:06:58] shevy: pros and cons of listing version in a .gemspec file
[02:07:13] shevy: con: the gem will refuse to be installed for the user
[02:07:23] darkf: has joined #ruby
[02:08:06] mase-chatter: has joined #ruby
[02:08:35] sevenseacat: seems like a pretty big con.
[02:09:09] shevy: well there are several advantages of course
[02:09:32] codeFiend: has joined #ruby
[02:09:35] shevy: pro: updatable list of (hopefully proven) gems that can work together
[02:09:57] shevy: somehow I seem to miss the middle-ground of combining the best :(
[02:11:58] crazydiamond: has joined #ruby
[02:12:14] shevy: Well, for instance, let's say I make some change in a gem that renders said gem backwards incompatible. Then I actually would need to specify a minimum version as otherwise other gems may no longer work.
[02:12:52] luckyme: has joined #ruby
[02:13:06] shevy: Hmm let me see how to overrule that gem-check actually
[02:13:12] Nilium: A backwards incompatible change would usually be a major or minor version, depending on the type of backwards incompatible change.
[02:13:29] sevenseacat: what do you mean, versions mean gems can refuse to be installed by the user?
[02:13:39] sevenseacat: i dont understand that statement. versions of gems are important.
[02:16:16] GriffinHeart: has joined #ruby
[02:16:59] GriffinHeart: has joined #ruby
[02:18:45] bruno-: has joined #ruby
[02:18:47] xxneolithicxx: what version are you talking about
[02:18:54] ravenreborn__: has joined #ruby
[02:19:07] xxneolithicxx: theres the gem/package version, the rubygems version, and the ruby version
[02:19:33] xxneolithicxx: but as said, semver should account for backwards incompatibility
[02:19:38] xxneolithicxx: if you follow it
[02:22:03] goodcodeguy: has joined #ruby
[02:22:27] djbkd: has joined #ruby
[02:24:25] jpfuentes2: has joined #ruby
[02:25:32] nettoweb: has joined #ruby
[02:27:55] ed112211: has joined #ruby
[02:30:06] nettoweb: has joined #ruby
[02:30:28] car: has joined #ruby
[02:32:01] davedev24_: has joined #ruby
[02:32:21] jenrzzz: has joined #ruby
[02:32:50] c_nick: has joined #ruby
[02:33:20] c_nick: What's the best way to do a http get
[02:33:44] wallerdev: has joined #ruby
[02:33:57] marque_tools: has joined #ruby
[02:34:04] longfeet__: has joined #ruby
[02:35:50] njection: has joined #ruby
[02:36:00] Scripore: has joined #ruby
[02:36:04] dain: has joined #ruby
[02:36:46] dain: Hey njection
[02:37:26] nettoweb: has joined #ruby
[02:37:27] njection: Trying to get some feedback on a Udemy course I put together. Any harm in giving it away and posting a link here?
[02:39:53] tejasmanohar: has joined #ruby
[02:44:19] dain: Oh cool! I'd love to check it out.
[02:49:13] nettoweb: has joined #ruby
[02:49:32] Channel6: has joined #ruby
[02:51:10] fedexo: has joined #ruby
[02:52:07] Allfader: has joined #ruby
[02:52:54] Guest38989: has joined #ruby
[02:53:24] freerobby: has joined #ruby
[02:53:36] jpfuentes2: has joined #ruby
[02:53:52] konsolebox: has joined #ruby
[02:54:01] kinduff: has joined #ruby
[02:55:12] DynamicMetaFlow: has joined #ruby
[03:00:45] ForkingPaths: has joined #ruby
[03:01:34] nettoweb: has joined #ruby
[03:01:34] baweaver: has joined #ruby
[03:02:28] mary5030: has joined #ruby
[03:03:50] towski_: has joined #ruby
[03:06:35] Echohn: has joined #ruby
[03:07:46] duderonomy: has joined #ruby
[03:08:24] Dfoolz: has joined #ruby
[03:10:19] Maletor: has joined #ruby
[03:11:08] polyrob: has joined #ruby
[03:11:18] braincrash: has joined #ruby
[03:14:07] rkazak: has left #ruby: ()
[03:17:10] goodcodeguy: has joined #ruby
[03:17:50] Echohn: has joined #ruby
[03:18:05] juanpaucar: has joined #ruby
[03:20:00] saadq: has joined #ruby
[03:20:26] zenspider: xxneolithicxx: and the rest is handled by the "spermy" dependency operator "~> x.y"
[03:20:55] ravenreborn_: has joined #ruby
[03:20:58] c_nick: has joined #ruby
[03:21:38] c_nick: I saw a couple of libraries used for Http gets which one is the preferred one to go with
[03:22:19] ravenreborn: has joined #ruby
[03:26:59] mary5030: has joined #ruby
[03:29:18] Echohn: has joined #ruby
[03:31:37] Radar: c_nick: I like HTTParty.
[03:34:46] n008f4g_: has joined #ruby
[03:34:51] Aeyrix: c_nick: Net::HTTP.
[03:34:58] Aeyrix: Anything else is overkill.
[03:35:05] Aeyrix: Ruby actually has a nice HTTP class in the stdlib.
[03:35:06] afrianska: has joined #ruby
[03:35:19] Echohn: has joined #ruby
[03:36:25] c_nick: Aeyrix http class in stdlib is net::Http ?
[03:37:08] Aeyrix: c_nick: Yeah, if you add `require 'net/http'` to the top of your code, it'll allow you to use Net::HTTP.get for instance.
[03:37:09] Aeyrix: http://ruby-doc.org/stdlib-2.2.2/libdoc/net/http/rdoc/Net/HTTP.html
[03:37:18] Aeyrix: No gems or extra libraries required.
[03:37:43] c_nick: Thats nice I will try that thanks aeyrix
[03:37:48] Aeyrix: No problem yo.
[03:39:03] mary5030: has joined #ruby
[03:39:18] zz: has joined #ruby
[03:39:47] Hijiri: has joined #ruby
[03:40:01] paulcsmith: has joined #ruby
[03:42:19] fabrice31: has joined #ruby
[03:45:05] swgillespie: has joined #ruby
[03:46:51] x44x45x41x4E: has joined #ruby
[03:47:29] zz: has joined #ruby
[03:51:04] michael_mbp: has joined #ruby
[03:51:15] kinduff: has joined #ruby
[03:54:05] northfurr: has joined #ruby
[03:54:38] Oog: has joined #ruby
[03:57:08] tienfiowenfwefpn: has joined #ruby
[03:58:40] mrmargolis: has joined #ruby
[04:08:22] bruno-: has joined #ruby
[04:08:54] Spami: has joined #ruby
[04:11:34] afrianska: has joined #ruby
[04:12:37] mary5030: has joined #ruby
[04:13:43] polyrob: has joined #ruby
[04:13:44] polyrob: has joined #ruby
[04:15:03] arescorpio: has joined #ruby
[04:15:25] anaeem1_: has joined #ruby
[04:15:48] braincra-: has joined #ruby
[04:16:06] anaeem1_: has joined #ruby
[04:17:22] crowell: has joined #ruby
[04:22:11] yardenbar: has joined #ruby
[04:24:35] al2o3-cr: has joined #ruby
[04:26:44] nobitanobi: has joined #ruby
[04:31:31] antgel: has joined #ruby
[04:35:25] towski_: has joined #ruby
[04:36:04] kinduff: has joined #ruby
[04:36:19] kinduff: has joined #ruby
[04:37:50] riotjones: has joined #ruby
[04:37:56] balazs: has joined #ruby
[04:38:47] riotjones: has joined #ruby
[04:40:35] codeFiend: has joined #ruby
[04:42:11] al2o3-cr: has joined #ruby
[04:42:59] psye: has joined #ruby
[04:44:09] rickmasta: has joined #ruby
[04:44:34] al2o3-cr: has joined #ruby
[04:49:59] kp666: has joined #ruby
[04:50:21] ForkingPaths: has joined #ruby
[04:50:59] kp666: has joined #ruby
[04:51:00] djbkd: has joined #ruby
[04:52:43] Echohn_: has joined #ruby
[04:53:55] dfockler: has joined #ruby
[05:01:56] casadei: has joined #ruby
[05:02:55] anaeem1__: has joined #ruby
[05:03:20] dru`: has joined #ruby
[05:03:54] anaeem1__: has joined #ruby
[05:05:07] tagrudev: has joined #ruby
[05:06:57] juanpaucar: has joined #ruby
[05:07:30] sandelius: has joined #ruby
[05:08:14] ndrei: has joined #ruby
[05:08:17] tesuji: has joined #ruby
[05:10:31] krz: has joined #ruby
[05:11:38] commondream: has joined #ruby
[05:11:56] al2o3-cr: has joined #ruby
[05:12:00] sandelius: good morning
[05:12:49] saadq: has joined #ruby
[05:13:40] ndrei: has joined #ruby
[05:13:41] lessless: has joined #ruby
[05:14:31] al2o3-cr: has joined #ruby
[05:16:14] al2o3-cr: has joined #ruby
[05:16:54] al2o3-cr: has joined #ruby
[05:18:03] TinkerTyper: has joined #ruby
[05:20:12] konsolebox: has joined #ruby
[05:22:45] otherj: has joined #ruby
[05:23:11] mary5030: has joined #ruby
[05:23:28] byprdct: has joined #ruby
[05:24:18] A205B064: has joined #ruby
[05:25:28] aganov: has joined #ruby
[05:26:27] ohaibbq: has joined #ruby
[05:27:59] anaeem1_: has joined #ruby
[05:28:11] abq: has joined #ruby
[05:28:16] atomi: has joined #ruby
[05:28:48] paulcsmith: has joined #ruby
[05:30:12] ndrei: has joined #ruby
[05:31:19] fabrice31: has joined #ruby
[05:33:55] ForkingPaths: has joined #ruby
[05:35:40] moretti: has joined #ruby
[05:36:14] ndrei: has joined #ruby
[05:36:30] longfeet: has joined #ruby
[05:37:26] rht: has joined #ruby
[05:39:35] flughafen: moin certainty sevenseacat shevy
[05:41:18] sigurding: has joined #ruby
[05:42:36] aryaching: has joined #ruby
[05:42:44] flughafen: hows it going sevenseacat
[05:43:16] sevenseacat: same old. trying to write business rules for calculating moneys for invoices. the usual.
[05:43:47] bluOxigen: has joined #ruby
[05:44:52] prosodyContext: has joined #ruby
[05:46:41] riotjones: has joined #ruby
[05:49:33] sanguisdex: has joined #ruby
[05:50:02] andikr: has joined #ruby
[05:50:50] lxsameer: has joined #ruby
[05:51:14] multi_io: has joined #ruby
[05:56:23] dling: has joined #ruby
[05:56:43] Hanmac1: has joined #ruby
[05:58:21] arietis: has joined #ruby
[05:58:28] eshy_: has joined #ruby
[05:59:04] flughafen: sevenseacat: you sure know how to rock it!
[06:00:07] bluOxigen: has left #ruby: ()
[06:00:34] kinduff: has joined #ruby
[06:01:31] multi_io: has joined #ruby
[06:02:36] Oog: has joined #ruby
[06:03:18] workmad3: has joined #ruby
[06:03:49] eshy: has joined #ruby
[06:04:29] eshy: has joined #ruby
[06:06:21] iamninja: has joined #ruby
[06:06:39] hmnhf: has joined #ruby
[06:06:40] tkuchiki: has joined #ruby
[06:07:22] ellisTAA: has joined #ruby
[06:07:36] commondream: has joined #ruby
[06:07:56] hmnhf_: has joined #ruby
[06:07:58] ellisTAA: can someone tell me how they would approach this source code if they had to read it? I want to get into reading gems but they???re so big i don???t know how to approach them https://github.com/sparklemotion/nokogiri
[06:08:38] sanguisdex: has joined #ruby
[06:09:12] sevenseacat: you picked a doozy to start with
[06:09:27] sevenseacat: given it's mostly native extensions
[06:09:30] Aeyrix: Yeah of all gems to pick
[06:09:35] Aeyrix: that probably rivals unicorn
[06:10:10] threh: has joined #ruby
[06:10:11] ellisTAA: ok which gem should i start with
[06:10:20] sevenseacat: why are you trying to just read gems?
[06:10:23] sevenseacat: what do you hope to achieve?
[06:10:33] codeFiend: has joined #ruby
[06:10:54] ellisTAA: to learn about the gems, learn about structure of code, patterns and common practices
[06:11:03] certainty: flughafen: o/
[06:11:06] ellisTAA: become better at ruby
[06:11:23] kinduff: EllisTAA: I'll try first faker gem, its a pretty simple one
[06:11:31] sevenseacat: start by writing some code. if you write code that uses a gem, when you have an entry point into a gem that you're curious about, then go looking to see how it works
[06:11:34] ellisTAA: kinduff: cool ty
[06:11:40] ebonics: do what your heart desires
[06:11:45] ebonics: live true to yourself and your word
[06:11:51] kinduff: EllisTAA: Besides common scripting, are you interested in controller, model, db stuff?
[06:11:55] ellisTAA: sevenseacat: what do you mean entry point?
[06:12:07] ellisTAA: kinduff: yep
[06:12:13] sevenseacat: a method call provided by the gem or something, a reason to start looking at something
[06:12:20] sevenseacat: instead of just 'i want to learn code'
[06:12:29] ebonics: i love me some code learn
[06:12:50] ebonics: i never get to write ruby code
[06:13:00] sevenseacat: ebonics: no-one's stopping you.
[06:13:02] ebonics: i thought i had a great excuse to use ruby, but it fell through
[06:13:25] ebonics: well yeah sorta :P ruby is never a valid option for what i need to do
[06:13:33] ebonics: it _was_ but mruby let me down
[06:14:40] igottadoubt: has joined #ruby
[06:14:49] kinduff: EllisTAA: Devise gem for example, kaminari and asset pointed take a look at twitter-bootstrap-rails or jquery-rails
[06:15:01] lyuben_: has joined #ruby
[06:15:03] ellisTAA: cool thanks ill check em out all out
[06:15:06] jpfuentes2: has joined #ruby
[06:17:01] flughafen: sup certainty
[06:18:19] Aeyrix: ebonics: Ypi
[06:18:26] Aeyrix: You're too busy with Go. ;)
[06:18:38] certainty: flughafen: busy times. Have to fix the CI setup and hunt down a strange dns problem
[06:18:49] GriffinHeart: has joined #ruby
[06:18:51] ebonics: Aeyrix, i was trying to use mruby as a scripting language for my go app D:
[06:18:58] ebonics: but she let me down
[06:19:00] ebonics: let me down good
[06:19:01] flughafen: certainty: i just fixed my CI problems, and last week was dns city for me
[06:19:09] Aeyrix: ebonics: wtf how
[06:19:11] Aeyrix: how did you fuck that up
[06:19:23] Aeyrix: I defended your idea for like two hours in that channel
[06:19:26] ebonics: her regexes were brokerino
[06:19:32] Aeyrix: against mr "I've done security for 20 years but I don't know what arbitrary input is"
[06:19:33] ebonics: and her load time was unmanageable
[06:19:40] Aeyrix: Gross. Embed Lua.
[06:19:42] ebonics: i'm using otto now
[06:19:57] ebonics: going with the ol' js
[06:20:00] GriffinHeart: has joined #ruby
[06:20:19] Aeyrix: no no no no NO
[06:20:55] Aeyrix: What happened to your face?
[06:21:03] ebonics: broke it in 'nam
[06:21:09] Aeyrix: 'nam bread?
[06:22:10] ndrei: has joined #ruby
[06:22:27] mrmargolis: has joined #ruby
[06:22:35] jenrzzz: has joined #ruby
[06:23:29] sinkensabe: has joined #ruby
[06:25:27] certainty: flughafen: maybe your bugs just migrated here xD
[06:25:46] Hirzu: has joined #ruby
[06:28:31] codecop_: has joined #ruby
[06:28:33] duncannz: has joined #ruby
[06:29:33] luckyme: has joined #ruby
[06:29:33] flughafen: certainty: thank god!
[06:29:53] chinmay_dd: has joined #ruby
[06:31:13] wildroman2: has joined #ruby
[06:32:26] jenrzzz: has joined #ruby
[06:36:11] w1xz: has joined #ruby
[06:38:45] kinduff: has joined #ruby
[06:39:51] ndrei: has joined #ruby
[06:46:14] ndrei: has joined #ruby
[06:47:28] fabrice31: has joined #ruby
[06:48:49] Senjai: has joined #ruby
[06:50:37] bartj3: has joined #ruby
[06:50:53] wildroman2: has joined #ruby
[06:55:52] juanpaucar: has joined #ruby
[06:56:09] Hirzu: has joined #ruby
[06:57:13] bruno-: has joined #ruby
[06:58:23] fabrice31: has joined #ruby
[07:01:04] sanguisdex: has joined #ruby
[07:01:22] dumdedum: has joined #ruby
[07:02:07] Pathfinder: has joined #ruby
[07:03:46] wildroman2: has joined #ruby
[07:04:08] selu: has joined #ruby
[07:05:33] Jackneill: has joined #ruby
[07:07:05] dudedudeman: has joined #ruby
[07:09:25] yourname: has joined #ruby
[07:11:55] paradisaeidae_: has joined #ruby
[07:12:12] kinduff: has joined #ruby
[07:13:36] unshadow: has joined #ruby
[07:14:02] paradisaeidae: has left #ruby: ()
[07:14:21] livathinos: has joined #ruby
[07:16:26] anisha: has joined #ruby
[07:16:27] arup_r: has joined #ruby
[07:17:31] paulcsmith: has joined #ruby
[07:19:21] arietis: has joined #ruby
[07:20:17] msgodf: has joined #ruby
[07:22:17] Polysics: has joined #ruby
[07:22:44] asmodlol: has joined #ruby
[07:23:29] Hounddog: has joined #ruby
[07:24:25] User458764: has joined #ruby
[07:24:59] DerisiveLogic: has joined #ruby
[07:25:09] dumdedum: has joined #ruby
[07:25:22] zotherstupidguy: has joined #ruby
[07:27:20] glcx: has joined #ruby
[07:28:53] edwinvdgraaf: has joined #ruby
[07:29:03] michael_mbp: has joined #ruby
[07:30:57] woodennails: has joined #ruby
[07:32:31] Hanmac: has joined #ruby
[07:35:52] maasha: has joined #ruby
[07:37:33] ddv: anyone know how you can improve this without the extra count variable? https://gist.github.com/ddevaal/7a6961d33fe568d1f268
[07:37:56] ddv: I really want to use group_by, seems to make sense but I need a global counter
[07:38:08] maasha: When calling a method using hash arguments, is there any way to check for duplicate keys?
[07:38:09] gauke: has joined #ruby
[07:38:45] maasha: method(foo: 23, foo: 34) => warning -> you are stupid
[07:38:56] apeiros: maasha: ruby already emits a warning on duplicate hash keys
[07:39:04] commondream: has joined #ruby
[07:39:15] maasha: apeiros: hm, somehow I am missing that.
[07:39:19] apeiros: but you can't check on the receiver side, as there'll never arrive a duplicate key
[07:40:48] maasha: apeiros: how can I raise an exception on this warning?
[07:41:01] wallerdev: has joined #ruby
[07:41:11] maasha: never mind about the receiver side
[07:41:38] blogjy: has joined #ruby
[07:42:16] apeiros: I mean??? you could. it'd be horrible IMO. replace $stderr with something you're observing and raise when you match the pattern of the warning.
[07:42:21] apeiros: as said, horrible IMO.
[07:43:26] kies: has joined #ruby
[07:43:48] GPrime: has joined #ruby
[07:44:37] maasha: apeiros: ok, I better think this over. Thanks
[07:45:54] Juanchito: has joined #ruby
[07:46:39] cnk: has joined #ruby
[07:47:39] alex88: has joined #ruby
[07:48:04] ljarvis: ddv: you want .each_with_index
[07:48:41] maasha: And now to something completely different. Do we have a tool to compare two ruby-profs?
[07:48:52] ki0: has joined #ruby
[07:48:53] ljarvis: >> %w(foo barz bazes).group_by(&:size).each_with_index.to_h
[07:48:54] ruboto: ljarvis # => {[3, ["foo"]]=>0, [4, ["barz"]]=>1, [5, ["bazes"]]=>2} (https://eval.in/371045)
[07:48:56] ddv: ljarvis: .each_with_index will only count the hash keys, and on the array it will start from 0
[07:49:33] ljarvis: ddv: so.., index: index + 1
[07:49:45] ljarvis: patterns.each_with_index
[07:50:20] ddv: ljarvis: yeah but on each array it will start from 0 again
[07:51:10] MatthewsFace: has joined #ruby
[07:51:24] cnk: has joined #ruby
[07:51:33] ljarvis: ddv: I actually think what you have is fine
[07:51:46] ponga: has joined #ruby
[07:51:49] ponga: has left #ruby: ()
[07:51:55] ddv: ljarvis: it feels non ruby like
[07:51:57] ljarvis: there are ways around it, but this is quite explicit
[07:52:07] blogjy: what is a good way for installing ruby on ubuntu? I tried apt-get install ruby-full and it looks like it is version 1.9.1
[07:52:14] blogjy: is that ?
[07:52:17] blogjy: is that ok?
[07:52:25] ljarvis: blogjy: you want ruby 2
[07:52:29] ddv: blogjy: use a ruby version manager, is this for loca ldevelopment?
[07:52:35] cina: has joined #ruby
[07:52:43] cnk: i think u should use rvm or rbenv
[07:52:48] Hanmac1: blogjy: ubuntu version?
[07:54:27] Hanmac1: thats the problem with LTS ... newer ubuntu gets newer ruby ... my one does have 2.1 as default ... your might have 2.0 as extra package
[07:54:32] cina: I have a string like '\u062f\u0631', it is two unicode characters/runes, how do I convert these codes into their actual character/runes?
[07:54:34] mikecmpbll: has joined #ruby
[07:54:35] blogjy: i might run rails s and so do http://127.0.0.1:3000 you'd still call that local wouldn't you?
[07:55:24] cina: this doesn't work: puts '\u062f\u0631'.encode('utf-8')
[07:55:25] livathinos: has joined #ruby
[07:55:27] blogjy: what is remote development?
[07:55:42] c0m0: has joined #ruby
[07:55:47] ytti: hanmac1, latest and greatest osx still has 2.0.0
[07:56:05] Mia: has joined #ruby
[07:56:05] Mia: has joined #ruby
[07:58:29] apeiros: cina: ' does not have any escape sequences
[07:58:37] ljarvis: cina: it's already encoded in utf8. Use double quotes
[07:59:01] apeiros: ljarvis: that actually depends on their ruby version and/or encoding comment
[07:59:58] Hanmac1: cina: if you got/read the string with singlequotes, you can try something like that:
[07:59:59] Hanmac1: >> '\u062f\u0631'.gsub(/\\u([[:alnum:]]+)/) {|i| [$1.to_i(16)].pack('U*') }
[07:59:59] ruboto: hanmac1 # => "????" (https://eval.in/371051)
[08:00:08] apeiros: cina: re ljarvis' comment - if you're using ruby 2.0 or higher and don't have a special encoding comment, your string literals already are encoded in utf-8 as ljarvis says. you can verify by running: p "".encoding
[08:01:03] michael_mbp: has joined #ruby
[08:01:41] Hanmac1: cina better:
[08:01:41] Hanmac1: >> '\u062f\u0631'.gsub(/\\u(\w{1,4})/) {|i| [$1.to_i(16)].pack('U*') }
[08:01:42] ruboto: hanmac1 # => "????" (https://eval.in/371054)
[08:01:59] GriffinHeart: has joined #ruby
[08:02:04] apeiros: ACTION suggests \h over \w
[08:02:11] apeiros: it's still horrible, though :-p
[08:02:13] rindolf: has joined #ruby
[08:02:23] ljarvis: very horrible
[08:02:51] apeiros: >> "062f".to_i(16).chr('utf-8')
[08:02:52] ruboto: apeiros # => "??" (https://eval.in/371055)
[08:03:27] Hanmac1: apeiros: good to know i didnt know that chr can use encoding
[08:03:42] cina: it's a bit confusing to talk about... the string is escaped '\u062f\u0631'.... maybe I should say that I want to unescape it
[08:03:54] cina: hanmac1: it works!
[08:04:05] cina: hanmac1: but why should it be this complicated?
[08:04:20] apeiros: cina: you mean you have userinput which is "\\u062f\\0631"?
[08:05:06] Hanmac1: cina: with using apeiros help (but not much shorter)
[08:05:06] Hanmac1: >> '\u062f\u0631'.gsub(/\\u(\w{1,4})/) {|i| $1.to_i(16).chr('utf-8') }
[08:05:07] ruboto: hanmac1 # => "????" (https://eval.in/371056)
[08:05:42] cina: yes, what you and hanmac1 suggested is exactly what I was looking for, but I wonder why it should be this complicated
[08:05:43] apeiros: hanmac1: I'd actually use the longer form with Encoding::UTF_8. but that's just performance paranoid me
[08:06:19] apeiros: cina: we don't know either without further information
[08:06:54] pch: has joined #ruby
[08:07:14] arup_r: has joined #ruby
[08:09:21] granthatcher: has joined #ruby
[08:10:16] pch_cnk: has joined #ruby
[08:10:22] cina: apeiros: this escaped string is created by JSON.dump, maybe I should have fixed the encoding before passing it to JSON.dump
[08:10:55] apeiros: cina: why are you postprocessing the dump then?
[08:11:15] al2o3-cr: has joined #ruby
[08:11:17] mrmargolis: has joined #ruby
[08:11:35] pch: has joined #ruby
[08:11:35] apeiros: >> require "json"; JSON.parse(JSON.dump(value: "\u062f\u0631"))
[08:11:36] ruboto: apeiros # => {"value"=>"????"} (https://eval.in/371062)
[08:11:50] apeiros: >> require "json"; JSON.dump(value: "\u062f\u0631")
[08:11:51] ruboto: apeiros # => "{\"value\":\"????\"}" (https://eval.in/371063)
[08:12:09] apeiros: while escaping those values in json is unexpected, it's afaik not invalid
[08:12:32] pch_cnk: has joined #ruby
[08:12:42] apeiros: >> require "json"; JSON.parse("{\"value\":\"\\u062f\\u0631\"}")
[08:12:43] ruboto: apeiros # => {"value"=>"????"} (https://eval.in/371064)
[08:13:02] rdark: has joined #ruby
[08:13:07] apeiros: seems like JSON.parse can deal with both just fine.
[08:13:17] gluten_hell: has joined #ruby
[08:14:14] pch: has joined #ruby
[08:14:27] arietis: has joined #ruby
[08:16:49] einarj: has joined #ruby
[08:17:01] cina: apeiros: you are right... the string I'm working on probably has invalid unicode entries
[08:19:54] GriffinHeart: has joined #ruby
[08:21:07] Takle: has joined #ruby
[08:21:35] Echohn_: has left #ruby: ()
[08:22:38] chinmay_dd: has joined #ruby
[08:22:56] cina: yup, the string is truncated (it ends with "\\u0", an incomplete/invalid unicode escape)
[08:23:24] cina: thank you guys for helping me
[08:24:13] matchaw: has joined #ruby
[08:24:46] apeiros: ah, no wonder hanmac's solution worked then. it allows invalid sequences.
[08:24:55] apeiros: hanmac1: \h{4}, not {1,4} ;-)
[08:25:29] Zai00: has joined #ruby
[08:31:46] pch: has joined #ruby
[08:31:58] joonty: has joined #ruby
[08:34:02] cina: apeiros: exactly!
[08:35:34] konsolebox: has joined #ruby
[08:36:43] nhhagen: has joined #ruby
[08:40:05] doerteDev: has joined #ruby
[08:40:26] withnale_: has joined #ruby
[08:43:17] quimrstorres: has joined #ruby
[08:44:45] juanpaucar: has joined #ruby
[08:49:34] quimrstorres: has joined #ruby
[08:49:48] quimrstorres: has joined #ruby
[08:51:40] nfk: has joined #ruby
[08:53:03] Igorshp: has joined #ruby
[08:54:12] ChoiKyuSang: has joined #ruby
[08:58:00] ArchRogem: has joined #ruby
[08:59:20] gaboesquivel: has joined #ruby
[08:59:33] yh__: has joined #ruby
[08:59:43] alphaatom: has joined #ruby
[08:59:51] platzhirsch: has joined #ruby
[09:00:58] alphaatom: has joined #ruby
[09:06:19] paulcsmith: has joined #ruby
[09:06:23] GPrime: has joined #ruby
[09:08:46] gagrio: has joined #ruby
[09:08:55] ghr: has joined #ruby
[09:12:09] startupality: has joined #ruby
[09:14:03] granthatcher: has joined #ruby
[09:14:20] Jackneill_: has joined #ruby
[09:16:22] sankaber: has joined #ruby
[09:17:23] pandaant: has joined #ruby
[09:17:47] arup_r: has joined #ruby
[09:19:15] gr33n7007h: has joined #ruby
[09:25:02] serivich: has joined #ruby
[09:26:17] yardenbar: has joined #ruby
[09:30:17] TinkerTyper: has joined #ruby
[09:31:42] huddy: has joined #ruby
[09:32:00] roger_rabbit: has joined #ruby
[09:32:51] phreakocious: has joined #ruby
[09:33:45] rikai: has joined #ruby
[09:35:43] alphaatom: has joined #ruby
[09:36:45] krz: has joined #ruby
[09:37:06] alphaatom: has joined #ruby
[09:38:05] nhhagen: has joined #ruby
[09:38:08] serivich: has joined #ruby
[09:39:22] n008f4g_: has joined #ruby
[09:40:33] Takle: has joined #ruby
[09:40:48] workmad3: has joined #ruby
[09:41:04] Pathfinder: has joined #ruby
[09:42:00] senayar: has joined #ruby
[09:42:00] senayar: has joined #ruby
[09:43:42] pandaant: has joined #ruby
[09:44:01] cirn0: has joined #ruby
[09:45:48] rht: What's up?
[09:45:53] dumdedum: has joined #ruby
[09:45:59] Ropeney: has joined #ruby
[09:46:26] jokke: i'm using net::http to retrieve very many assets from $server. I cannot assume that $server is same for every request. The connection is over ssl, so the handshake alone takes a long time
[09:46:51] rht: Parallellism for the win
[09:46:53] adaedra: you shouldn't use global variables
[09:46:56] rht: also, too many lls?
[09:47:08] jokke: _ht: i already run this multithreaded
[09:47:10] tskogberg: has joined #ruby
[09:47:29] jokke: but im talking in the ten thousands of assets
[09:47:35] workmad3: has joined #ruby
[09:47:43] rht: Use a distributed system?
[09:47:45] jokke: and the thing is, i'm needing only a few bytes of each
[09:47:51] marr: has joined #ruby
[09:48:15] ljarvis: what's the goal? why only a few bytes?
[09:48:17] jokke: so the handshake really makes a difference
[09:48:38] jokke: ljarvis: i wrote this gem https://github.com/jreinert/dimscan
[09:48:48] rht: It is not as if you can forgo it, right? You only shake hands once per server?
[09:48:52] sinkensabe: has joined #ruby
[09:49:39] jokke: yeah i probably really have to manage some sort of cache for connections
[09:49:48] jokke: but it's pretty tedious
[09:50:21] ljarvis: what about net-http-persistent's connection pooling?
[09:50:55] Pathfinder: has joined #ruby
[09:50:57] jokke: ljarvis: never heard about that
[09:51:36] stoffus: has joined #ruby
[09:51:46] jokke: ljarvis: wow!
[09:51:55] ljarvis: seems like what you want
[09:51:56] jokke: looks to be just the thing i need
[09:52:04] jokke: ljarvis: awesome, thanks!
[09:52:49] gagrio: has joined #ruby
[09:52:57] wookiehangover: has joined #ruby
[09:53:11] _blizzy_: has joined #ruby
[09:54:58] Soda: has joined #ruby
[09:58:35] maasha: Rakefile issue: I would like to have `rake simplecov` require simplecov before running unit tests. However, this dosn't run the tests: https://gist.github.com/maasha/3d59df2ae117b2ffd62d
[09:58:48] sdothum: has joined #ruby
[09:59:44] maasha: there is a typo, but that is not the reason. lemmy fix this gist.
[10:00:08] mrmargolis: has joined #ruby
[10:02:27] alphaatom: has joined #ruby
[10:06:38] gagrio: has joined #ruby
[10:07:26] decoponio: has joined #ruby
[10:07:36] al2o3-cr: has joined #ruby
[10:08:11] DEA7TH: has joined #ruby
[10:08:24] Oog: has joined #ruby
[10:10:47] CloCkWeRX: has joined #ruby
[10:10:59] ljarvis: maasha: simplecov isn't doing anything. You need to start it
[10:11:03] Igorshp: has joined #ruby
[10:12:14] startupality: has joined #ruby
[10:12:55] ljarvis: oh im blind
[10:12:59] maasha: ljarvis: like SimpleCov.start on l 44?
[10:13:19] ljarvis: although I am confused why you set command name after starting, shouldn't that be in the block or before it?
[10:13:23] ljarvis: (I don't use simplecov)
[10:13:26] maasha: ljarvis: it seems to be troubling others as well: https://github.com/colszowka/simplecov/issues/37
[10:14:55] pandaant: has joined #ruby
[10:15:25] sdothum: has joined #ruby
[10:15:40] Obfuscate: has joined #ruby
[10:15:40] gr33n7007h: has joined #ruby
[10:16:45] bruno-: has joined #ruby
[10:17:10] Pathfinder: has joined #ruby
[10:18:06] dorei: has joined #ruby
[10:18:33] tkuchiki: has joined #ruby
[10:19:06] doerteDev: has joined #ruby
[10:20:02] qwertme: has joined #ruby
[10:20:25] rickmasta: has joined #ruby
[10:20:36] sevenseacat: has joined #ruby
[10:21:04] quimrstorres: has joined #ruby
[10:22:44] startupality: has joined #ruby
[10:25:20] leafybasil: has joined #ruby
[10:27:04] al2o3-cr: has joined #ruby
[10:28:33] fabrice31: has joined #ruby
[10:28:53] pandaant: has joined #ruby
[10:29:48] krasnus: has joined #ruby
[10:33:37] juanpaucar: has joined #ruby
[10:34:15] rodfersou: has joined #ruby
[10:35:37] quimrstorres: has joined #ruby
[10:38:47] granthatcher: has joined #ruby
[10:38:47] rodferso1: has joined #ruby
[10:39:16] rodfersou: has joined #ruby
[10:39:41] maasha: I dont get it. rake test runs the test suite ok, rake simplecov appears to do nothing: https://gist.github.com/maasha/3d59df2ae117b2ffd62d
[10:39:54] pandaant: has joined #ruby
[10:40:31] maasha: I can even comment out line 41
[10:40:55] hmnhf_: has joined #ruby
[10:41:53] granthatcher_: has joined #ruby
[10:43:17] phutchins: has joined #ruby
[10:43:59] konsolebox: has joined #ruby
[10:45:09] konsolebox: Output of `gem env | gawk -F': ' '/EXECUTABLE DIRECTORY:/ { print $2 }'` is the same as `puts -e Gem.bindir` correct?
[10:50:04] DerisiveLogic: has joined #ruby
[10:50:51] freerobby: has joined #ruby
[10:51:58] jayeshsolanki: has joined #ruby
[10:51:58] saadq: has joined #ruby
[10:52:16] Igorshp: has joined #ruby
[10:54:17] gluten_hell: has joined #ruby
[10:55:01] banister: has joined #ruby
[10:55:04] paulcsmith: has joined #ruby
[10:55:08] Macaveli: has joined #ruby
[10:56:07] vikaton: has joined #ruby
[10:57:36] haxrbyte: has joined #ruby
[10:58:12] jhass: I think so
[10:59:05] jhass: konsolebox: https://github.com/rubygems/rubygems/blob/master/lib/rubygems/commands/environment_command.rb#L120
[10:59:39] konsolebox: jhass: thanks. I guess I only need Gem.bindir.
[11:00:11] nateberkopec: has joined #ruby
[11:00:24] TinkerTyper: has joined #ruby
[11:00:43] konsolebox: i.e. ~/.bashrc: PATH+=:$(ruby -e 'puts Gem.bindir')
[11:00:50] konsolebox: or is there a better way to set PATH?
[11:00:52] Allfader: has joined #ruby
[11:01:17] pandaant: has joined #ruby
[11:02:30] jhass: I went to adding install: -n ~/.bin/ to my .gemrc and deal with the issues on upgrade though
[11:02:42] jhass: since that snippet was somewhat slow for me
[11:03:06] mahtennek: has joined #ruby
[11:03:45] konsolebox: jhass: i have multiple ruby versions so that won't apply for me (
[11:03:57] konsolebox: if i read what you're after well that is)
[11:05:20] jhass: well, that snippet won't update itself either
[11:06:08] Takumo: So I know you can't call Object#pry from within a pryrc, but how would I set it so that pry actually does pry within a specific context in a pryrc?
[11:06:17] Takumo: i.e. I want it do basically do MyApp.pry
[11:06:55] haxrbyte_: has joined #ruby
[11:07:55] dorei: are there any alternatives to nokogiri for xpath queries?
[11:07:57] konsolebox: jhass: it does everytime i choose another ruby. the value of Gem.bindir would vary
[11:08:00] c355E3B: has joined #ruby
[11:08:53] jhass: dorei: oga I think
[11:09:08] jhass: konsolebox: once you spawned a new shell, yeah
[11:09:21] dorei: jhass: a devops friend of mine was about to kill me when i told him i'm using nokogiri
[11:09:26] jhass: konsolebox: I bet the switcher you use doesn't remove the old one
[11:10:37] freerobby: has joined #ruby
[11:10:38] mahtennek: hi i have a question regarding unix socket. i am trying to create a callback mechanism with cloud foundry warden. any advice to where i should start? i have created a simple callback which access and return warden/container/linux.rb in the console, but i can't get a callback to web api. cloud foundry channel isn't responding. the second thought was, i tried to read /tmp/warden.sock unix socket but i have no luck with th
[11:10:39] mahtennek: at either. i have searched the web and all resources, please advise.
[11:10:46] Oog: has joined #ruby
[11:11:27] konsolebox: jhass: i'm in Gentoo. yes it doesn't. Ruby binaries are installed as ruby20, ruby21, etc. and /urs/bin/ruby only points to them. /usr/bin/ruby is the one that gets changed (and probably /usr/bin/gem as well).
[11:11:36] Hanmac1: dorei: what did your devops friend say that you should use as replacement for nokogiri?
[11:11:42] konsolebox: jhass: and i get to install gems exclusively to every version
[11:11:43] KrzaQ: has joined #ruby
[11:12:09] dorei: hanmac1: nothing unfortunately :(
[11:12:14] dorei: oga seems quite okie though
[11:12:41] alphaatom: has joined #ruby
[11:13:07] Hanmac1: imo still do prefer nokogiri for my stuff because it does exacly do what it should do ...
[11:13:52] Hanmac1: dorei: did your friend tell you a reason why you shouldnt use it? like because the name does sound to "foreign"?
[11:13:59] alphaatom: has joined #ruby
[11:14:24] robustus|Off: has joined #ruby
[11:14:41] nettoweb: has joined #ruby
[11:15:27] dorei: hanmac1: because of its need to pull a certain version of libxml and this causes a lot of problem with the automating the build procedure
[11:16:19] Hanmac1: dorei: nokogiri does ship its own version of xml so it doesnt have dependencies like that anymore in newest version
[11:16:46] dorei: on my opensuse it failed, i have to use the options to tell it use my system's libxml
[11:17:14] fabrice31: has joined #ruby
[11:17:33] Hanmac1: normally it should work without
[11:18:13] artmann: has joined #ruby
[11:18:24] dorei: probably i'll continue using nokogiri since what i'm making it'll only be deployed at my pc and another server
[11:18:34] dorei: so no need to have it completely automated i think
[11:20:52] but3k4: has joined #ruby
[11:22:16] umdstu: has joined #ruby
[11:23:26] umdstu: every time I compile ruby-1.9.3 (via rvm) on my mac (10.10) it doesn't seem to be building with openssl. i've tried multiple ways to get this going. any ideas?
[11:23:49] Allfader: has joined #ruby
[11:24:24] alphaatom: has joined #ruby
[11:24:52] but3k4: has joined #ruby
[11:24:52] attlasbot: has joined #ruby
[11:25:40] alphaatom: has joined #ruby
[11:26:31] Allfader: has joined #ruby
[11:26:36] jhass: why do you need 1.9.3 instead of 2.2.2?
[11:26:54] alphaatom: has joined #ruby
[11:27:42] pandaant: has joined #ruby
[11:27:50] jmignault: has joined #ruby
[11:28:40] sygnorman: has joined #ruby
[11:29:50] maasha: stupid rakefile
[11:30:15] Allfader: has joined #ruby
[11:30:18] maasha: ACTION pissed off, huge, green and superstrong
[11:30:19] gizless: has joined #ruby
[11:30:30] jmignault: has joined #ruby
[11:30:32] jhass: ACTION bets it'S not rake that's the issue
[11:30:34] Skelz0r_: has joined #ruby
[11:30:42] rikai_: has joined #ruby
[11:30:50] adaedra: calm down, maasha
[11:30:57] fabrice31_: has joined #ruby
[11:30:58] adaedra: we're not in an Americal block-buster here
[11:31:07] maasha: http://www.howardandrewjones.com/wp-content/uploads/2015/02/hulk-computer.jpg
[11:31:30] PaulePan1er: has joined #ruby
[11:31:52] QKO_: has joined #ruby
[11:32:00] genpaku_: has joined #ruby
[11:32:26] mosez_: has joined #ruby
[11:32:44] seitensei: has joined #ruby
[11:35:50] Allfader: has joined #ruby
[11:36:30] 20WABCNE8: has joined #ruby
[11:36:55] _5moufl: has joined #ruby
[11:37:04] fredsir: has joined #ruby
[11:37:04] bjornar: has joined #ruby
[11:37:12] Affix: has joined #ruby
[11:37:20] Zackio: has joined #ruby
[11:37:41] mclee: has joined #ruby
[11:37:51] Brando753: has joined #ruby
[11:37:52] fabrice31: has joined #ruby
[11:38:07] anisha: has joined #ruby
[11:38:08] icedp: has joined #ruby
[11:38:12] ldnunes: has joined #ruby
[11:38:25] JimmyNeutron: has joined #ruby
[11:38:40] Guest81791: has joined #ruby
[11:38:46] jimms: has joined #ruby
[11:38:49] kriskropd: has joined #ruby
[11:39:40] al2o3-cr: mr mcgee don't make me angry. you wouldn't like me when i'm angry
[11:41:47] gagrio: has joined #ruby
[11:43:10] pengin: has joined #ruby
[11:44:27] MatthewsFace: has joined #ruby
[11:44:46] mahtennek: hi i have a question regarding unix socket. i am trying to create a callback mechanism with cloud foundry warden. any advice to where i should start? i have created a simple callback which access and return warden/container/linux.rb in the console, but i can't get a callback to web api. cloud foundry channel isn't responding. the second thought was, i tried to read /tmp/warden.sock unix socket
[11:44:54] mahtennek: i have searched the web and all resources, please advise.
[11:45:21] jakolehm: has joined #ruby
[11:46:33] senayar: has joined #ruby
[11:46:34] senayar: has joined #ruby
[11:46:40] dEPy: has joined #ruby
[11:46:54] xxneolithicxx: has joined #ruby
[11:47:11] jimms: has joined #ruby
[11:49:22] mrmargolis: has joined #ruby
[11:49:47] quimrstorres: has joined #ruby
[11:52:16] startupality: has joined #ruby
[11:53:36] soc42: has joined #ruby
[11:54:54] HotCoder: has joined #ruby
[11:56:23] umdstu: jhass: an older project uses 1.9.3, so i need to install 1.9.3. new Computer so i'm trying to recreate my dev env on it
[11:56:40] jhass: mmh, is rvm pkg install openssl still a thing?
[11:56:50] umdstu: yes it is
[11:56:54] umdstu: i've tried that
[11:57:50] umdstu: it fails make install because the version i have in the internal rvm repo is 1.0.1i and it has bad docs. make install_sw works *outside* of the rvm pkg install method
[11:59:16] umdstu: so i tried installing it manually via rvm. and also built it from source, and used --with-openssl-dir=$HOME/.rvm/usr as well as --with-openssl-dir=/usr . both compile fine, but when i start irb and 'require openssl' it cries and says it cannot find it
[11:59:45] umdstu: i've tried 1.0.1m as well
[12:00:34] hmnhf_: has joined #ruby
[12:02:04] [k-: has joined #ruby
[12:02:05] banister: has joined #ruby
[12:02:26] shevy: openssl is very annoying
[12:02:32] shevy: not even ext/openssl works for me on linux
[12:02:41] shevy: but it works when I recompile ruby
[12:02:59] shevy: I dunno why ext/openssl does not work for me - ext/readline and other ext/ work fine lateron
[12:03:52] krz: has joined #ruby
[12:05:20] n008f4g_: has joined #ruby
[12:08:23] sgambino: has joined #ruby
[12:08:46] dfockler: has joined #ruby
[12:09:09] hmnhf__: has joined #ruby
[12:11:17] ddv: no idea bro
[12:11:19] krz: has joined #ruby
[12:12:38] [k-: I heard that there is compile flag for openssl in ruby...
[12:14:50] shevy: I have faith in umdstu. In the end he will prevail
[12:15:39] sigurding: has joined #ruby
[12:15:41] umdstu: a compile flag? what kind of compile flag?
[12:15:47] umdstu: i have no faith in umdstu
[12:15:56] umdstu: he's been at it for days
[12:16:04] hmnhf: has joined #ruby
[12:16:15] startupality: has joined #ruby
[12:17:09] livathinos: has joined #ruby
[12:17:42] jtdowney: has joined #ruby
[12:18:15] jhass: days? might have been easier to patch the app to a newer Ruby in that time :P
[12:19:24] y0da: has joined #ruby
[12:19:47] shevy: or switch to linux :)))
[12:20:16] davedev24_: has joined #ruby
[12:20:49] [k-: https://github.com/sstephenson/ruby-build/wiki
[12:21:10] x44x45x41x4E: has joined #ruby
[12:22:33] juanpaucar: has joined #ruby
[12:22:45] Axy: has joined #ruby
[12:25:39] quimrstorres: has joined #ruby
[12:25:46] paulcsmith: has joined #ruby
[12:29:49] goodcodeguy: has joined #ruby
[12:35:15] atmosphere: has joined #ruby
[12:36:17] atmosphere: i want to convert my c++ code into ruby code is their any nice way ofding it?
[12:36:44] dstarh: has joined #ruby
[12:37:39] Guest38989: has joined #ruby
[12:37:45] atmosphere: its my project regarding rpc
[12:37:56] axwl: has joined #ruby
[12:38:22] atmosphere: @darkwater its my project regarding rpc
[12:38:51] Darkwater: I'd probably just remake it
[12:39:01] Darkwater: they're really different languages
[12:39:22] shevy: atmosphere just map the API into a ruby API; C++ uses some similar constructs such as <<
[12:39:37] atmosphere: @darkwater m newbie just clearify me more..
[12:40:27] jhass: atmosphere: you didn't answer the question yet, why
[12:40:37] jhass: as a learning experience?
[12:40:46] Darkwater: (also, drop the @, this isn't twitter)
[12:42:12] atmosphere: just like json there is something which is lacking jruby feature i want to add it..
[12:42:17] apeiros: it's not #twitter? #awesomeirc :D
[12:42:29] shevy: Poor guy is using webchat
[12:43:04] shazaum: has joined #ruby
[12:43:07] jhass: atmosphere: what's lacking? Drb? http://ruby-doc.org/stdlib-2.2.2/libdoc/drb/rdoc/
[12:43:16] shazaum: has joined #ruby
[12:43:16] atmosphere: darkwater i haver answered
[12:43:18] griffindy: has joined #ruby
[12:43:28] jhass: ACTION feels trolled
[12:43:45] pandaant: has joined #ruby
[12:43:47] phale: has joined #ruby
[12:44:13] qwertme: has joined #ruby
[12:44:15] phale: My friends are assholes
[12:44:21] phale: they kicked me out of their channel
[12:44:38] atmosphere: darkwater: i have aanswered i want to make a binding of jruby
[12:44:41] jhass: phale: you got kicked here too in the past iirc
[12:44:45] phale: jhass: yes i did
[12:44:47] jhass: maybe time to reflect a bit
[12:44:53] phale: I really did nothing though
[12:44:57] phale: I was made fun of then kicked
[12:45:13] Darkwater: atmosphere: "what" isn't the same as "why"
[12:45:23] Darkwater: *why* do you want to translate a probject from c++ to ruby
[12:45:42] shevy: phale what channel was it?
[12:45:50] phale: shevy: remember zyxwvuts?
[12:46:00] shevy: no... but that nick reminds me of whycats
[12:46:09] cirn0: has joined #ruby
[12:46:22] phale: shevy: uh, i'll pm you if you want
[12:46:32] atmosphere: darkwater: just to understand proper format and learning ruby then use that knowledge in making binding
[12:46:42] CustosLimen: has joined #ruby
[12:46:49] Darkwater: just remake it then
[12:46:56] phale: I didn't really get kicked, just quit because people were making fun of me for reasons uknown
[12:46:59] jhass: atmosphere: if it's for a learning experience, then start from scratch
[12:47:05] Darkwater: don't look at your old code unless you need to
[12:47:09] shevy: phale ah, you have to stay until they do kick you out :)
[12:47:34] atmosphere: ya i have learned from scratch
[12:48:00] atmosphere: darkwater: any suggestion how to learn remaking of file.
[12:48:13] Darkwater: forget remaking it
[12:48:58] shevy: "The best way to predict the future is to invent it." Alan Kay
[12:49:13] jhass: that's a neat quote
[12:49:53] newbie1: has joined #ruby
[12:49:58] sankaber: has joined #ruby
[12:50:01] krz: has joined #ruby
[12:50:17] shevy: yeah, very actionable. it's like "go out and do something". write code, do stuff, think about things
[12:51:22] dorei: >> [1,2].each_with_object(5).map{ |x| x }
[12:51:23] ruboto: dorei # => [1, 2] (https://eval.in/371267)
[12:51:30] dorei: >> [1,2].each_with_object(5).map{ |x,y| [x,y] }
[12:51:31] ruboto: dorei # => [[1, 5], [2, 5]] (https://eval.in/371269)
[12:51:45] dorei: any idea how this work?
[12:51:51] [k-_: has joined #ruby
[12:51:56] jhass: uh, on what level?
[12:52:28] dorei: why in the first one map |x| is sending 1 and 2 into the block instead of [1,5] and [2,5] ?
[12:52:43] Darkwater: each_with_object returns an enumerator
[12:52:56] Darkwater: the .map is completely redundant
[12:53:22] dorei: nop, it's not
[12:53:28] dorei: >> [1,2].each_with_object(5){ |x,y| [x,y] }
[12:53:29] ruboto: dorei # => 5 (https://eval.in/371273)
[12:53:37] dorei: >> [1,2].each_with_object(5){ |x| x }
[12:53:38] ruboto: dorei # => 5 (https://eval.in/371274)
[12:53:39] Darkwater: oh right, partially then
[12:53:47] tkuchiki: has joined #ruby
[12:54:09] jhass: each_with_object returns the object (5 in this case)
[12:54:25] DerisiveLogic: has joined #ruby
[12:54:30] jhass: the last two examples don't prove anything about the value yielded to the block
[12:54:34] phale: thanks for cheering me up with your code guys
[12:54:36] phale: i had a good laugh today
[12:54:41] Darkwater: >> (1..10).each_with_object([]) { |i, a| a << i*2 }
[12:54:42] ruboto: Darkwater # => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] (https://eval.in/371277)
[12:54:47] Darkwater: that's the example on the docs
[12:54:53] jhass: >> def foo; yield 1, 2; end; foo {|x| p x }
[12:54:54] ruboto: jhass # => 1 ...check link for more (https://eval.in/371279)
[12:55:02] jhass: >> def foo; yield 1, 2; end; foo {|x, y| p x, y }
[12:55:03] ruboto: jhass # => 1 ...check link for more (https://eval.in/371281)
[12:55:18] phale: jhass: lmao
[12:55:26] jhass: well, check the link
[12:55:32] Darkwater: >> def foo; yield 1, 2; end; foo {|x, y| puts x, y }
[12:55:33] ruboto: Darkwater # => 1 ...check link for more (https://eval.in/371282)
[12:55:44] jhass: same trap :P
[12:55:50] Darkwater: >> def foo; yield 1, 2; end; foo {|x, y| puts x +", "+ y }
[12:55:51] ruboto: Darkwater # => String can't be coerced into Fixnum (TypeError) ...check link for more (https://eval.in/371283)
[12:55:52] jhass: >> def foo; yield 1, 2; end; foo {|x, y| p [x, y] }
[12:55:53] ruboto: jhass # => [1, 2] ...check link for more (https://eval.in/371284)
[12:56:27] ahmetkapikiran: has joined #ruby
[12:57:14] toretore: has joined #ruby
[12:57:22] Vitor: has joined #ruby
[12:57:40] dorei: okie, i think i got it :)
[12:57:42] dorei: thanx jhass
[12:57:58] dorei: >> def foo; yield 1,2 ; end ; foo {|x| [x] }
[12:57:59] ruboto: dorei # => [1] (https://eval.in/371288)
[12:58:02] lyuben_: has joined #ruby
[12:58:05] dorei: >> def foo; yield 1,2 ; end ; foo {|x,y| [x,y] }
[12:58:06] ruboto: dorei # => [1, 2] (https://eval.in/371289)
[12:58:15] pwattstbd: has joined #ruby
[12:58:41] Takle: has joined #ruby
[12:58:50] jhass: dorei: thing to keep in mind is that things like Hash#each yield an array and block params autosplat
[12:59:00] jhass: >> def foo; yield [1, 2]; end; foo {|x, y| p [x, y] }
[12:59:01] ruboto: jhass # => [1, 2] ...check link for more (https://eval.in/371291)
[12:59:09] jhass: >> def foo; yield [1, 2]; end; foo {|x| p x }
[12:59:10] ruboto: jhass # => [1, 2] ...check link for more (https://eval.in/371292)
[12:59:26] phale: >> for i in 0..15 do 0.0/0 end
[12:59:27] ruboto: phale # => 0..15 (https://eval.in/371293)
[12:59:50] jerius: has joined #ruby
[12:59:57] ruboto: jhass # => NaN (https://eval.in/371295)
[13:00:06] ruboto: jhass # => divided by 0 (ZeroDivisionError) ...check link for more (https://eval.in/371296)
[13:00:20] [k-_: why does that happen
[13:00:24] jhass: Float#/ vs Fixnum#/
[13:00:32] phale: nice math logic
[13:00:43] imperator: has joined #ruby
[13:00:50] ruboto: phale # => Infinity (https://eval.in/371297)
[13:01:15] crus`: has joined #ruby
[13:01:40] [k-_: but that violatesthe principle of least surprise!
[13:01:50] gizless: has joined #ruby
[13:02:17] ixti: has joined #ruby
[13:02:42] ruboto: jhass # => 1 (https://eval.in/371298)
[13:02:53] Hanmac1: jhass: also even on 64bit: 0.0.object_id != -0.0.object_id
[13:03:11] jhass: yeah, it's a float
[13:03:43] jhass: 0.0 can mean 0.00000000000000000000000000000000000000000000000000000000000000000001 where the 1 is cut off due to precision
[13:03:45] kobain: has joined #ruby
[13:04:02] apeiros: the reason is actually approximations from +val and -val
[13:04:13] apeiros: that's why IEEE differentiates +0 and -0
[13:04:38] apeiros: at least iirc :)
[13:05:07] apeiros: >> [1/0.0, 1/-0.0]
[13:05:08] ruboto: apeiros # => [Infinity, -Infinity] (https://eval.in/371305)
[13:05:32] apeiros: and that despite 0.0 == -0.0
[13:05:49] balazs: has joined #ruby
[13:05:54] phale: >> 0.0 & 0
[13:05:55] ruboto: phale # => undefined method `&' for 0.0:Float (NoMethodError) ...check link for more (https://eval.in/371307)
[13:06:29] shevy: [k-_ I don't think there ever was a principle of least surprise, the pickaxe author coined that. there only was the principle of least surprise in regards to how matz would design ruby, from his point of view, not from other people's point of view
[13:07:02] unshadow: has joined #ruby
[13:07:11] apeiros: it's the principle of matz' least surprise. surprise are subjective. you can't make a universally "least surprising" thing.
[13:07:41] rdar: has joined #ruby
[13:07:55] bmurt: has joined #ruby
[13:07:57] dblessing: has joined #ruby
[13:07:58] senayar: has joined #ruby
[13:08:39] charliesome: has joined #ruby
[13:08:44] phale: apeiros: the biggest surprise for me was getting a girlfriend
[13:09:00] Pathfinder: has joined #ruby
[13:09:00] shevy: you have the money
[13:09:42] Hanmac1: jhass: yeah but on 64bit: 0.0.object_id == 0.0.object_id while -0.0.object_id != -0.0.object_id
[13:10:41] atmosphere: for wriiting a wrapper of jruby we need ruby code or c code?
[13:11:02] phale: atmosphere: read the manual? lol
[13:11:09] quimrstorres: has joined #ruby
[13:12:06] atmosphere: phale: i have reas it and found that ruby code is converted into java byte code/\
[13:13:38] CloCkWeRX: has joined #ruby
[13:14:08] adaedra: what do you mean by 'a wrapper', atmosphere
[13:14:38] phale: binding and wrapper aren't the same
[13:15:08] atmosphere: take it as binding then
[13:15:24] mrmargolis: has joined #ruby
[13:17:12] Scripore: has joined #ruby
[13:17:37] jhass: atmosphere: best just look at the code of officially endorsed bindings: https://github.com/jruby/jruby/wiki/C-Extension-Alternatives
[13:17:53] tvw: has joined #ruby
[13:18:22] Scripore: has joined #ruby
[13:18:26] Guest38989: has joined #ruby
[13:19:54] mujou: has joined #ruby
[13:23:42] balazs: has joined #ruby
[13:23:51] casadei: has joined #ruby
[13:24:07] mary5030: has joined #ruby
[13:24:21] gluten_hell: has joined #ruby
[13:25:41] Hanmac1: good that my current gem i am working on never will support jruby so i dont need to care about that
[13:25:58] quimrsto_: has joined #ruby
[13:27:53] tjohnson: has joined #ruby
[13:30:47] Scripore: has joined #ruby
[13:32:06] phale: has left #ruby: ("Leaving")
[13:33:14] bluish: has joined #ruby
[13:33:41] gaboesquivel: has joined #ruby
[13:33:53] yalue: has joined #ruby
[13:33:54] enebo: has joined #ruby
[13:35:02] someword: has joined #ruby
[13:35:15] marque_tools: has left #ruby: ()
[13:35:27] davedev24: has joined #ruby
[13:36:55] codeFiend: has joined #ruby
[13:39:09] krz: has joined #ruby
[13:39:26] tuelz: has joined #ruby
[13:40:24] freerobby: has joined #ruby
[13:40:29] momomomomo: has joined #ruby
[13:41:53] Dreamer3: has joined #ruby
[13:42:14] Scripore: has joined #ruby
[13:43:04] f3lp: has joined #ruby
[13:43:32] lavros: has joined #ruby
[13:46:07] workmad3: has joined #ruby
[13:47:18] bkxd: has joined #ruby
[13:48:02] rdar: has joined #ruby
[13:49:41] paulcsmith: has joined #ruby
[13:50:08] DexterLB: has joined #ruby
[13:50:53] doerteDev: has joined #ruby
[13:52:05] dorei: https://eval.in/371315
[13:52:15] Muhannad: has joined #ruby
[13:52:16] dorei: what should I do to have it print X instead of Class ?
[13:53:01] willharrison: has joined #ruby
[13:53:02] vt102: has joined #ruby
[13:53:31] apeiros: dorei: self instead of self.class
[13:53:49] jhass: define_method(m, &b)
[13:53:55] tesuji: has joined #ruby
[13:53:58] pulgolino: has joined #ruby
[13:54:12] jhass: https://eval.in/371319
[13:54:17] apeiros: oh wait???
[13:54:19] bruno-: has joined #ruby
[13:54:37] quimrstorres: has joined #ruby
[13:54:46] apeiros: yeah. while it'd probably work, you probably want jhass' solution
[13:55:15] dorei: yeap, i think jhass is my hero :)
[13:55:52] jhass: I guess that makes it alias_method :setup, :define_method
[13:56:08] elfuego: has joined #ruby
[13:56:21] jhass: in the singleton class
[13:56:34] dorei: jhass: what if I want to add some guard code around the passed block?
[13:56:34] lavros: has joined #ruby
[13:56:53] jhass: then you want to instance_eval it
[13:57:29] jhass: https://eval.in/371324
[13:58:05] Pumukel: has joined #ruby
[13:58:14] HotCoder: drake be like "I can find the xpath but i cant find the path to my ex"
[13:58:38] vdamewood: has joined #ruby
[13:58:42] Agoldfish: has joined #ruby
[13:58:56] quimrsto_: has joined #ruby
[13:59:09] dru`: has joined #ruby
[14:00:35] Hanmac1: i used once ruby-doc.org/stdlib/libdoc/delegate/rdoc/Delegator.html for guard code
[14:02:17] fabrice31: has joined #ruby
[14:02:25] quimrstorres: has joined #ruby
[14:03:50] Guest38989: has joined #ruby
[14:05:19] ebonics: >> 1 / 3 * 3 == 1
[14:05:20] ruboto: ebonics # => false (https://eval.in/371329)
[14:05:29] ebonics: nice language
[14:05:52] ruboto: sevenseacat # => 0 (https://eval.in/371330)
[14:05:58] sevenseacat: integer divison, baby.
[14:06:08] ebonics: ACTION embarass
[14:06:49] mrchris: has joined #ruby
[14:06:51] ebonics: >> 1 / 3.0 * 3 == 1
[14:06:52] ruboto: ebonics # => true (https://eval.in/371331)
[14:06:57] asmodlol: has joined #ruby
[14:07:25] northfurr: has joined #ruby
[14:07:32] apeiros: and even then
[14:07:36] apeiros: never use == with floats
[14:07:49] Hanmac1: has left #ruby: ()
[14:07:55] failshell: has joined #ruby
[14:08:01] dorei: floats have a floating precision :p
[14:08:07] apeiros: >> 0.1 + 0.2 == 0.3
[14:08:08] ruboto: apeiros # => false (https://eval.in/371332)
[14:08:11] yardenbar: has joined #ruby
[14:08:28] apeiros: welcome to the world of floats. they're approximation. and they're not decimal approximations, but binary.
[14:08:38] ebonics: >> 1 / 3.0 * 3.0 == 1
[14:08:39] ruboto: ebonics # => true (https://eval.in/371333)
[14:08:41] quimrstorres: has joined #ruby
[14:08:48] ebonics: ya but its smart enough to know thats true
[14:08:50] fabrice31: has joined #ruby
[14:08:54] ebonics: i can die happy
[14:08:57] apeiros: that's nothing to do with *smart*
[14:09:10] DerisiveLogic: has joined #ruby
[14:09:14] apeiros: it's because that operation just so happens to result in the precisely same approximation.
[14:09:21] dEPy: has joined #ruby
[14:09:24] ebonics: are you sure
[14:09:29] adaedra: >> 1.1*2.2
[14:09:30] apeiros: ACTION roles eyes
[14:09:30] ruboto: adaedra # => 2.4200000000000004 (https://eval.in/371334)
[14:09:45] apeiros: >> 0.1 + 0.2 == 0.3
[14:09:46] ruboto: apeiros # => false (https://eval.in/371336)
[14:09:53] apeiros: ebonics: ^
[14:09:57] ebonics: thats kinda garbo
[14:10:15] adaedra: it's a problem in a lot of languages actually
[14:10:21] momomomomo_: has joined #ruby
[14:10:25] adaedra: it's because of the way floats are stored
[14:10:46] apeiros: it's the standard
[14:11:02] eam: it's even more of a problem in languages that don't follow the standard, like java
[14:11:05] apeiros: and it's not garbage. you'd have the same problem in decimal too. just with different numbers.
[14:11:32] eam: approximations are fine as long as it's understood how they operate
[14:11:33] juanpaucar: has joined #ruby
[14:11:33] apeiros: eam: uwotmate? java no ieee754 floats? that's??? kinda bad.
[14:11:37] ebonics: java would be able to calculate 0.1 + 0.2
[14:11:41] mary5030: has joined #ruby
[14:11:54] apeiros: ebonics: ruby does too. just not with floats.
[14:12:06] eam: apeiros: http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf
[14:12:11] apeiros: ebonics: it's fine and dandy to go all "blah could do X". but it's pointless if you don't understand why.
[14:12:21] ebonics: my dad could beat up your dad
[14:12:36] adaedra: >> 0.1r + 0.2r == 0.3r
[14:12:36] ruboto: adaedra # => true (https://eval.in/371342)
[14:12:54] apeiros: ACTION would have loved if ddd.ddd literals would default to bigdecimal or rational, though
[14:13:03] Kricir: has joined #ruby
[14:13:08] apeiros: especially newcomers fail hard at floats.
[14:13:09] adaedra: performance issues, maybe?
[14:13:24] rbennacer: has joined #ruby
[14:13:38] ebonics: pre sure anyone who cares about floating precision performance uses lookup tables
[14:13:41] eam: weird rationalization for ruby :)
[14:13:42] ponga: has joined #ruby
[14:13:50] apeiros: though bigdecimal is based on integers, and integer ops are on most hardware faster than floats. so not sure how it'd play out with the additional overhead the linked list introduces.
[14:14:08] adaedra: >> (0.1r+0.2r).to_f == (0.1+0.2)
[14:14:09] apeiros: eam: well, even ruby was introduced 20y ago. they did concessions to performance.
[14:14:09] ruboto: adaedra # => false (https://eval.in/371343)
[14:15:48] adaedra: does ruboto supports jruby?
[14:16:03] maasha: So why is it that `rake test` works and `rake simplecov` simply exists? https://gist.github.com/maasha/d50da68852778771b41c
[14:16:07] adaedra: Apparently not
[14:16:22] eam: it used to, I think, but I no longer see jruby on eval-in
[14:16:47] ruisantos: e on most hardware faster than floats. so not sure how it'd play out with the additional overhead the linked list introduces.
[14:16:50] jhass: maasha: --trace might tell!
[14:17:23] insidious: has joined #ruby
[14:18:23] jhass: maasha: though I'm pretty sure your run_test method does nothing, the test task is probably defined elsewhere and you just amend it with that nothing
[14:18:31] ebonics: whats that js lib that converts ruby to js
[14:18:43] bruno-: has joined #ruby
[14:19:00] adaedra: JRuby seems to behave exactly like MRI for floats
[14:19:24] maasha: jhass: yeah maybe: https://gist.github.com/maasha/d50da68852778771b41c
[14:20:59] maasha: jhass: gitst updated with -P and -T output
[14:21:12] agarie: has joined #ruby
[14:22:13] DerisiveLogic: has joined #ruby
[14:22:49] eam: adaedra: there are a very limited set of cases where it differs, such as handling of -0
[14:22:50] nhhagen: has joined #ruby
[14:23:15] jhass: maasha: or maybe scary stuff happens like your definition by calling Rake::TestTask augments itself and then proceeds to call the augmented version by implementation details
[14:23:22] adaedra: eam: I see
[14:24:02] eam: it's good enough for the layman, the kind of nits about it differing would matter in very limited areas
[14:24:45] banister: has joined #ruby
[14:25:47] podman: has joined #ruby
[14:27:39] adaedra: 0.1 + 0.2 ??? 0.1.to_r + 0.2.to_r ??? 0.1r + 0.2r
[14:29:30] jhass: maasha: http://paste.mrzyx.de/pp4dace3d I think that are the options you have
[14:30:14] someword: has joined #ruby
[14:30:35] roger_rabbit: has joined #ruby
[14:30:54] maasha: jhass: right, thanks. I need to study rake files further.
[14:33:10] gambl0re: has joined #ruby
[14:33:18] redlegion: has joined #ruby
[14:33:36] maasha: jhass: it works, but I need to understand why -> reading. Thanks again!
[14:34:04] eam: >> [1138 / 1000.0, 0.001 * 1138]
[14:34:05] ruboto: eam # => [1.138, 1.1380000000000001] (https://eval.in/371345)
[14:34:42] jhass: maasha: take a peek at the code for Rake::TestTask#define
[14:35:25] alphaatom: has joined #ruby
[14:36:10] dumdedum: has joined #ruby
[14:36:36] alphaatom: has joined #ruby
[14:37:48] alphaatom: has joined #ruby
[14:38:25] dudedudeman: has joined #ruby
[14:38:25] s2013: has joined #ruby
[14:38:40] dudedudeman: ACTION abides
[14:38:50] commondream: has joined #ruby
[14:39:54] saadq: has joined #ruby
[14:40:16] lavros_: has joined #ruby
[14:40:19] postmodern: has joined #ruby
[14:41:24] rickmasta: has joined #ruby
[14:42:27] joelataylor: has joined #ruby
[14:43:31] mistermocha: has joined #ruby
[14:44:13] platzhirsch: ACTION burps
[14:46:00] doerteDev: has joined #ruby
[14:46:13] charliesome: has joined #ruby
[14:46:18] dojobo: has joined #ruby
[14:46:50] tomphp: has joined #ruby
[14:46:51] codeFiend: has joined #ruby
[14:46:59] sorbo_: has joined #ruby
[14:47:14] dEPy: has joined #ruby
[14:48:08] st1gma: has joined #ruby
[14:48:36] quimrsto_: has joined #ruby
[14:49:17] centrx: has joined #ruby
[14:49:23] dojobo: hi, anyone have ideas about this? http://pastebin.com/VJAXwRtB
[14:49:24] ruboto: dojobo, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/01edbacb1f23b165b4a6
[14:49:24] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[14:49:49] dojobo: oh, neat :)
[14:49:52] Darkwater: if only hastebin didn't load its stuff with javascript
[14:51:08] adaedra: >> Array.new == Array.new
[14:51:08] dojobo: i can't figure out why it doesn't count up
[14:51:10] ruboto: adaedra # => true (https://eval.in/371353)
[14:51:12] jhass: dojobo: I guess #index uses an equality check, not identity comparison
[14:51:15] adaedra: dojobo: because this
[14:51:20] someword: has joined #ruby
[14:51:26] adaedra: Why not just use a Hash ?
[14:51:27] jhass: dojobo: anyway, that's very convoluted
[14:51:33] chinmay_dd: has joined #ruby
[14:51:38] jhass: I was gonna suggest Array.map
[14:51:50] dojobo: yeah, i thought maybe i should use a hash, but i started to get confused :P
[14:52:01] _ixti_: has joined #ruby
[14:52:14] tskogberg: has joined #ruby
[14:52:20] jhass: so you want an array of arrays where each subarray is the list of files matching that pattern, right?
[14:52:28] adaedra: ["em12","em13","em14"].zip(Array.new(3) { Array.new })
[14:52:31] adaedra: >> ["em12","em13","em14"].zip(Array.new(3) { Array.new })
[14:52:32] ruboto: adaedra # => [["em12", []], ["em13", []], ["em14", []]] (https://eval.in/371354)
[14:52:37] dojobo: a little more context, i'm trying to get lists of files via ftp (using ftp.nlst), which returns an array of filenames
[14:53:06] jhass: so, you want all files matching any pattern or...?
[14:53:15] conta_: has joined #ruby
[14:53:27] dojobo: the filenames start with "em" and then a number
[14:53:37] skammer: has joined #ruby
[14:53:45] dojobo: i can't just do ftp.nlst('em*') because it's too many files at once
[14:54:01] dojobo: so i need to iterate through em10*, em12*, em13* etc.
[14:54:10] jhass: files.select {|filename| File.fnmatch("em1{2,3,4}*", filename) }
[14:54:25] dojobo: currently i have them listed out, but once i implemented exception handling i really need to put it in a loop
[14:55:12] dojobo: can you use File over FTP?
[14:55:17] Zai00_: has joined #ruby
[14:55:20] doerteDev: has joined #ruby
[14:55:32] jhass: File.fnmatch just operates on the strings you pass it
[14:55:43] dojobo: anyway, i have all that working, at this point i'm just trying to be able to loop through each file list and pair it with the proper wildcard
[14:56:14] jhass: filename.match(/^em1[234]/) if you prefer
[14:56:27] dojobo: jhass: ah, i see, but there's still the issue of the nlst limitation (over a certain number of files, it just returns null--at least, with this particular ftp server)
[14:56:44] s2013: has joined #ruby
[14:56:56] skammer: has joined #ruby
[14:56:58] jhass: I'm still guessing too much of what you have and what you want in the end :/
[14:57:16] Zai00_: has joined #ruby
[14:57:36] dojobo: sorry, i didn't paste the whole program because i was really just focused on why i couldn't iterate through the arrays that way
[14:58:25] dojobo: so is [filelist1['1foo.txt', '1bar.txt'] => '1*.txt'] a valid hash?
[14:58:48] d10n-work: has joined #ruby
[14:58:50] adaedra: use {} for Hashes
[14:58:55] jhass: eh, well, that's an hash as the single element for an array ;)
[14:59:01] RegulationD: has joined #ruby
[14:59:03] Zai00: has left #ruby: ()
[14:59:06] unshadow: has joined #ruby
[14:59:08] jhass: but any object can be key and value for hash
[14:59:21] pdoherty: has joined #ruby
[14:59:21] adaedra: dojobo: fire up irb/pry, write it down, see what it says
[14:59:25] jhass: but my guesses currently go into the direction that you really don't want a hash here
[14:59:31] quimrstorres: has joined #ruby
[14:59:56] jhass: tbh the whole approach to iteration there is as unidiomatic and convoluted as it gets
[15:00:12] paulcsmith: has joined #ruby
[15:00:25] spyderman4g63: has joined #ruby
[15:00:37] jhass: so, because of the limitation of nlist, you're fetching the file list in parts?
[15:00:50] jhass: why don't you just concatenate the results into a big list then?
[15:01:07] dojobo: and then i concat all the arrays into one
[15:01:24] jhass: so why does your example still have multiple lists?
[15:01:44] Zai00: has joined #ruby
[15:01:52] dojobo: this is before the concatenation
[15:02:55] dojobo: https://github.com/dojobo/get-vsmart-email-notices/blob/master/getemailnotices.rb
[15:03:26] yh__: has joined #ruby
[15:04:01] dojobo: (the commented out lists are ranges we don't need to download right now, older files)
[15:05:03] jhass: filelist = %w(em20* em21*).each_with_object([]) do |range, filelist| filelist.concat ftp.nlist(range) end
[15:05:06] dojobo: but since the filenames keep going up, i want to be able to put more ranges in, but they need to be rescued because nlst raises an exception if no files match
[15:05:42] dojobo: wow, let me do some googling now to parse that, haha
[15:05:42] jhass: and just rescue inside the each_with_object
[15:06:30] jhass: btw ruby community standard is two spaces for indentation
[15:07:08] dojobo: ok, thanks
[15:07:14] casadei: has joined #ruby
[15:07:16] dojobo: need to adjust my sublime settings
[15:07:19] umgrosscol: has joined #ruby
[15:08:03] jhass: but I still don't follow where the filtering comes into place tbh
[15:08:24] dojobo: how do you mean?
[15:08:33] jhass: well, your initial paste
[15:08:39] s2013: has joined #ruby
[15:08:46] kobain: has joined #ruby
[15:08:53] dojobo: that would replace lines 15-25
[15:09:06] dojobo: once i added in the nlst to that paste, anyway
[15:09:10] jhass: ah, okay, then my snippet is the better approach ;)
[15:09:37] dojobo: this is very educational, i can't parse it yet :)
[15:09:50] jhass: >> %w(em20* em21*)
[15:09:51] ruboto: jhass # => ["em20*", "em21*"] (https://eval.in/371365)
[15:10:00] jhass: just an easier to type array of strings
[15:10:16] jhass: each do |range|, you may recognize this
[15:10:19] livathinos: has joined #ruby
[15:10:23] paulcsmith: has joined #ruby
[15:10:24] kobain: has joined #ruby
[15:10:29] jhass: that iterates over the items of the array
[15:10:34] momomomomo: has joined #ruby
[15:10:49] paulcsmith: has joined #ruby
[15:11:00] dfockler: has joined #ruby
[15:11:06] jhass: each_with_object([]) do |range, filelist|, range still the same, the items of the array, filelist is just the object we passed as argument, []
[15:11:29] thomcom: has joined #ruby
[15:11:36] jhass: so filelist is an array, we call Array#concat on it
[15:11:38] kobain: has joined #ruby
[15:12:00] Vitor: has joined #ruby
[15:12:02] jhass: >> a = []; a.concat [1, 2]; a.concat [3, 4]; a
[15:12:04] ruboto: jhass # => [1, 2, 3, 4] (https://eval.in/371367)
[15:12:09] jpfuentes2: has joined #ruby
[15:12:14] mary5030: has joined #ruby
[15:12:21] neohunter: has joined #ruby
[15:12:24] jhass: which just adds all arguments of the array you pass it as elements to the array
[15:12:49] dojobo: so the nlst call is an argument of the concat call? am i reading that right?
[15:12:52] redlegion: has joined #ruby
[15:12:55] jhass: finally each_with_object also returns the object you pass it (the [] we concat'ed stuff to)
[15:13:18] ki0_: has joined #ruby
[15:13:44] krz: has joined #ruby
[15:16:00] redlegion: has joined #ruby
[15:16:02] dojobo: thanks so much jhass :)
[15:16:18] dojobo: i'm sure my code is very amateur, i'm self-taught
[15:16:31] jhass: it just takes time
[15:16:45] bronson: has joined #ruby
[15:17:27] redlegion: has joined #ruby
[15:17:33] senayar: has joined #ruby
[15:17:38] Rubie: has joined #ruby
[15:17:39] jhass: coming here when you hit oddities like this or if you have the feeling there might be a better way to what you've written is a good approach to learning
[15:17:54] jhass: nothing teaches you better than alternate solutions to a problem you thought through already
[15:17:54] dojobo: i use stackoverflow a lot
[15:18:11] dojobo: but with this particular problem i couldn't even decide how to google it ;P
[15:21:17] snockerton: has joined #ruby
[15:24:13] skammer: has joined #ruby
[15:24:36] commondream: has joined #ruby
[15:28:41] vt102: has joined #ruby
[15:28:43] dojobo: jhass: i think it's faster now :)
[15:29:13] havenwood: has joined #ruby
[15:29:47] TheMoonMaster: has joined #ruby
[15:29:51] kobain: has joined #ruby
[15:30:20] jhass: oh yeah, .concat is faster than + ;)
[15:30:28] jhass: because it doesn't create a new array
[15:30:46] jhass: but that wasn't so much the point ;)
[15:30:46] kobain: has joined #ruby
[15:31:45] kobain: has joined #ruby
[15:32:58] s2013: has joined #ruby
[15:33:06] alphaatom: has joined #ruby
[15:33:38] Faris: has joined #ruby
[15:33:52] speakingcode: has joined #ruby
[15:34:02] kobain: has joined #ruby
[15:34:12] jpfuentes2: has joined #ruby
[15:36:01] mrchris: has joined #ruby
[15:37:23] Pupeno: has joined #ruby
[15:37:23] Pupeno: has joined #ruby
[15:38:18] sigurding: has joined #ruby
[15:38:47] quimrstorres: has joined #ruby
[15:38:56] riotjones: has joined #ruby
[15:42:27] aphprentice: has joined #ruby
[15:44:15] tomphp_: has joined #ruby
[15:44:30] ismaelga: has joined #ruby
[15:44:59] paulcsmith: has joined #ruby
[15:45:29] ed112211: has joined #ruby
[15:46:29] idafyaid: has joined #ruby
[15:46:29] idafyaid: has joined #ruby
[15:46:45] casadei_: has joined #ruby
[15:48:15] tomphp: has joined #ruby
[15:50:18] lyuben_: has joined #ruby
[15:50:41] shadoi: has joined #ruby
[15:50:42] zdman135: has joined #ruby
[15:50:56] Allfader: has joined #ruby
[15:51:02] Takle: has joined #ruby
[15:51:51] luckyme: has joined #ruby
[15:54:18] DerisiveLogic: has joined #ruby
[15:54:39] mrchris: has joined #ruby
[15:55:02] Takumo: (a) is there an rspec irc channel more suited for my question? (b) is there a `one_of` or `in` behaviour. I want to check that a function returns a value which is a member of a predefined list.
[15:56:01] baweaver: has joined #ruby
[15:56:03] ccooke: Takumo: list.include? value
[15:56:08] ljarvis: Takumo: to include(...)
[15:56:14] adaedra: >> %w[apple orange pear].include? 'apple'
[15:56:15] ruboto: adaedra # => true (https://eval.in/371379)
[15:56:23] ljarvis: he's talking about rspec
[15:56:34] Takumo: so I want to do the reverse of that
[15:56:35] ccooke: ah, of course
[15:56:50] Takumo: expect(method).to be_one_of %w(apple orange banana)
[15:56:54] ljarvis: Takumo: just write them backwards
[15:57:10] ljarvis: expect(%w(apple orange)).to include(method)
[15:57:17] commondream: has joined #ruby
[15:57:21] sorbo_: expect(%(apple orange banana)).to include(result)
[15:57:25] pipework: I usually hate having the expected in the expect.
[15:57:35] jhass: or just write that matcher, should be simple
[15:57:46] pipework: expect(actual).to matcher(expected)
[15:57:54] sorbo_: https://www.relishapp.com/rspec/rspec-expectations/v/2-4/docs/custom-matchers/define-matcher
[15:57:56] mrmargolis: has joined #ruby
[15:58:35] ljarvis: yeah rspec makes adding this stuff pretty easy
[15:58:37] chagel: has joined #ruby
[15:58:40] jhass: https://relishapp.com/rspec/rspec-expectations/v/3-2/docs/custom-matchers/define-matcher
[15:58:44] jhass: oh, too slow
[15:58:51] sorbo_: jhass nah, you've got the newer docs
[15:58:54] ljarvis: better version, though
[15:58:54] sorbo_: mine are 2.x
[15:59:19] adaedra: jhass: it's alright, you'll perform better next time.
[15:59:20] sorbo_: but yeah, either way, writing the custom matcher is pretty straightforward
[15:59:23] towski_: has joined #ruby
[15:59:40] quimrsto_: has joined #ruby
[15:59:45] sorbo_: Takumo: if you'll need it a bunch of times, I'd write the custom matcher
[16:00:04] sorbo_: if it's a one-off it might just be easier to do `expect(list).to include(item)`
[16:00:21] juanpaucar: has joined #ruby
[16:01:07] mrchris: has joined #ruby
[16:01:29] Takumo: I think I'll do a custom matcher just in case. Would be good to learn to do it
[16:03:02] Channel6: has joined #ruby
[16:04:39] mistermocha: has joined #ruby
[16:05:22] mrchris: has joined #ruby
[16:06:07] Takumo: matcher written
[16:06:09] Scripore: has joined #ruby
[16:06:59] baroquebobcat: has joined #ruby
[16:07:03] ndrei: has joined #ruby
[16:07:10] mistermo_: has joined #ruby
[16:09:05] Cache_Money: has joined #ruby
[16:10:26] mistermocha: has joined #ruby
[16:10:52] Maletor: has joined #ruby
[16:11:15] bruno-: has joined #ruby
[16:11:54] Soda: has joined #ruby
[16:12:14] momomomomo_: has joined #ruby
[16:13:48] ki0: has joined #ruby
[16:16:15] djbkd: has joined #ruby
[16:17:10] bricker: has joined #ruby
[16:18:38] rdar: has joined #ruby
[16:18:46] ed112211: has joined #ruby
[16:19:17] code1o6: has joined #ruby
[16:19:20] pietr0: has joined #ruby
[16:21:48] bogdanteleaga: has joined #ruby
[16:21:54] last_staff: has joined #ruby
[16:21:56] nobitanobi: has joined #ruby
[16:22:02] mrchris: has joined #ruby
[16:23:37] ndrei: has joined #ruby
[16:24:15] mrmargol_: has joined #ruby
[16:24:36] phale: has joined #ruby
[16:24:48] phale: what's with the 12 year olds coming on IRC channels?
[16:24:52] phale: it's probably summer
[16:25:06] roolo: has joined #ruby
[16:26:08] ponga: phale: where on earth 12 yr olds coming to freenode?
[16:26:35] phale: ponga: #freenode
[16:26:51] redlegion: ponga: I think phale just needs some lanolin for his very sore chesticles.
[16:27:02] phale: this cunt actually followed me here, wow
[16:27:23] ponga: what is it phale is redlegion the 12 yr old?
[16:27:34] ponga: redlegion: are you 12 yr old?
[16:27:45] ponga: are you american?
[16:27:47] redlegion: Mentally, anyway
[16:27:54] redlegion: I can't deny my mentality
[16:27:56] ponga: then i ve no business with ya
[16:28:00] ponga: ACTION waives his hand
[16:28:05] havenwood: redlegion: Hassing folk isn't allowed. phale Insulting folk isn't allowed.
[16:28:06] yh__: has joined #ruby
[16:28:12] ChanServ: +o havenwood
[16:28:22] lyuben_: has joined #ruby
[16:28:23] phale: but he followed me here
[16:28:27] ponga: havenwood: what is hassing
[16:28:33] redlegion: No problem, havenwood
[16:28:33] Billias: has joined #ruby
[16:28:38] havenwood: ponga: typo
[16:28:41] redlegion: Also, I've been in here longer, lol
[16:28:50] phale: most 12 year olds use awful languages
[16:28:53] pengin: has joined #ruby
[16:28:56] havenwood: phale: Stop.
[16:29:00] phale: havenwood: sure
[16:29:28] ndrei: has joined #ruby
[16:30:54] ChanServ: -o havenwood
[16:35:21] ismaelga: has joined #ruby
[16:36:31] dstarh: has joined #ruby
[16:36:46] Narzew: has joined #ruby
[16:37:01] psye: has joined #ruby
[16:37:47] gregf: has joined #ruby
[16:37:54] HotCoder: has joined #ruby
[16:39:47] spiderbyte: has joined #ruby
[16:42:26] vivekananda: has joined #ruby
[16:42:29] phale: has left #ruby: ("Leaving")
[16:43:10] mrchris: has joined #ruby
[16:44:57] ndrei: has joined #ruby
[16:46:11] MatthewsFace: has joined #ruby
[16:46:48] wallerdev: has joined #ruby
[16:47:14] davedev24_: has joined #ruby
[16:48:13] snockerton: has joined #ruby
[16:48:40] shadoi: has joined #ruby
[16:49:24] snockerton: has joined #ruby
[16:50:23] Rubie: has joined #ruby
[16:51:20] apxm: has joined #ruby
[16:51:48] pontiki: has joined #ruby
[16:52:24] sepp2k: has joined #ruby
[16:52:34] rbennacer: has joined #ruby
[16:55:23] imperator2: has joined #ruby
[16:55:36] ItSANgo: has joined #ruby
[16:57:15] thiagovsk: has joined #ruby
[16:57:45] mrchris: has joined #ruby
[16:57:55] marvin999: has joined #ruby
[16:58:16] mjuszczak: has joined #ruby
[16:58:50] nobitanobi: has joined #ruby
[16:59:14] soulcake: has joined #ruby
[16:59:47] aryaching: has joined #ruby
[17:02:15] towski_: has joined #ruby
[17:02:58] ndrei: has joined #ruby
[17:03:01] tomphp: has joined #ruby
[17:06:21] tomphp: has joined #ruby
[17:06:49] wallerdev: has joined #ruby
[17:07:06] shevy: havenwood swings his mighty divine hammer!
[17:07:08] paulcsmith: has joined #ruby
[17:07:25] shevy: alternatives to this?
[17:07:28] shevy: var[0,0] = 'http://localhost/'
[17:07:55] apeiros: IMO the best way to prefix a string in-situ
[17:09:26] bogdanteleaga: has joined #ruby
[17:09:58] dfockler: shevy: what are you doing?
[17:10:44] shevy: apeiros hmm, not something like .prepend or something? I always wonder whether the way I use ruby is "good"
[17:11:03] shevy: recently I started to replace all var[-1,1] == '/' with things such as var.end_with? '/' ... though the latter is longer
[17:11:12] apeiros: oh right, they might have added something???
[17:11:24] ndrei: has joined #ruby
[17:11:28] miah: i personally would use prepend or append
[17:11:29] shevy: dfockler trying to find out common practice among old ruby hackers
[17:11:33] apeiros: and #prepend was in fact one method that got added
[17:11:43] apeiros: and then I actually prefer #prepend over #[0,0]=
[17:12:00] mozzarella: var[0,0] = ?h + ?t + ?t + ?p + ?: + ?/ + ?/ + ?l + ?o + ?c + ?a + ?l + ?h + ?o + ?s + ?t + ?/
[17:12:04] miah: index positionals are weird
[17:12:04] mozzarella: hope that helps
[17:12:17] iamninja: has joined #ruby
[17:12:39] shevy: mozzarella lol
[17:13:01] dfockler: I've never seen that array syntax before
[17:13:20] nobitanobi: has joined #ruby
[17:13:47] shevy: I think I saw it in the pickaxe first; since Strings and Arrays both allowed [], I thought it would be a good and unified way to access elements. like how a string is an array in C or?
[17:14:00] millerti: has joined #ruby
[17:14:04] someword1: has joined #ruby
[17:14:08] bricker1: has joined #ruby
[17:14:21] mrchris: has joined #ruby
[17:14:21] quimrstorres: has joined #ruby
[17:14:23] ki0: has joined #ruby
[17:14:26] mrsolo: has joined #ruby
[17:16:48] qwertme: has joined #ruby
[17:16:56] dfockler: that's pretty funky for assignment
[17:17:04] shadoi: has joined #ruby
[17:17:07] axl_: has joined #ruby
[17:17:58] spider-mario: has joined #ruby
[17:18:48] hoov: has joined #ruby
[17:20:02] bogdanteleaga: has joined #ruby
[17:20:15] freerobby: has joined #ruby
[17:21:05] ht__: has joined #ruby
[17:22:03] ndrei: has joined #ruby
[17:22:24] codeFiend: has joined #ruby
[17:22:31] bogdanteleaga: has joined #ruby
[17:22:35] michael_mbp: has joined #ruby
[17:23:12] Kricir: has joined #ruby
[17:23:18] pragmatism: has joined #ruby
[17:23:49] tesuji: has joined #ruby
[17:24:39] tomphp: has joined #ruby
[17:25:14] arietis: has joined #ruby
[17:25:49] jpfuentes2: has joined #ruby
[17:26:00] commondream: has joined #ruby
[17:27:22] rdar: has joined #ruby
[17:28:02] tobyx: has joined #ruby
[17:28:02] spyderman4g63: has joined #ruby
[17:28:02] ItSANgo_: has joined #ruby
[17:28:32] tomphp: has joined #ruby
[17:29:42] mistermocha: has joined #ruby
[17:30:54] mello_: has joined #ruby
[17:33:57] tomphp: has joined #ruby
[17:34:23] Spami: has joined #ruby
[17:35:46] Spami: has joined #ruby
[17:36:19] infinitone: has joined #ruby
[17:36:59] cryptohacker: has joined #ruby
[17:37:43] cryptohacker: i see nobody else here
[17:38:18] wasamasa: ACTION snickers
[17:38:27] wasamasa: you've scared them off with your single-letter speak
[17:38:28] miah: there are 950 people here, but maybe only a few of us are paying attention
[17:38:34] wasamasa: that is no way to treat a language!
[17:38:41] Hijiri: has joined #ruby
[17:39:41] dfockler: I'm tired of this hacker crap!
[17:40:16] miah: hack the planet?
[17:40:27] mtakkman: has joined #ruby
[17:40:58] bogdanteleaga: has joined #ruby
[17:40:59] nobitanobi: has joined #ruby
[17:41:18] ghr: has joined #ruby
[17:41:54] havenwood: ACTION goes in search of roller blades
[17:42:28] bogdanteleaga: has joined #ruby
[17:42:29] m8: has joined #ruby
[17:42:37] hmnhf: has joined #ruby
[17:42:38] finisherr: has joined #ruby
[17:44:32] dfockler: havenwood just hacked the Gibson you guys!
[17:46:13] ndrei: has joined #ruby
[17:46:25] jpfuentes2: has joined #ruby
[17:46:25] casadei: has joined #ruby
[17:46:49] freerobby: has joined #ruby
[17:47:33] wallerdev2: has joined #ruby
[17:47:42] shevy: havenwood on roller blades
[17:48:06] shevy: This is how I picture havenwood now: http://img.pandawhale.com/post-14714-dancing-Hal-roller-skating-gif-laQm.gif
[17:49:09] juanpaucar: has joined #ruby
[17:50:28] sdothum: has joined #ruby
[17:51:41] sorbo_: has joined #ruby
[17:52:52] lupine: hmm. I need book recommendations
[17:52:54] shevy: oracle http://fortune.com/2015/05/26/google-oracle-api-supremecourt-obama-appeal/
[17:52:54] mikecmpbll: has joined #ruby
[17:53:22] Coraline: lupine: what sort of books?
[17:53:32] lupine: software development leadership and management-y stuff
[17:53:34] bricker: has joined #ruby
[17:54:16] Coraline: The Mythical Man-Month is a pretty standard one.
[17:54:21] teflonton1985: has joined #ruby
[17:54:39] lupine: yeah, it's definitely on the list
[17:54:53] RegulationD: has joined #ruby
[17:54:58] casadei: has joined #ruby
[17:55:03] Coraline: I'm also a fan of a book called The Goal
[17:55:25] sorbo_: lupine: Mythical Man-Month, Peopleware, Domain-Driven Design
[17:55:34] Coraline: http://www.amazon.com/Goal-Process-Ongoing-Improvement-ebook/dp/B002LHRM2O/ref=sr_1_1?s=books&ie=UTF8&qid=1432749324&sr=1-1&keywords=the+goal+by+eliyahu+goldratt
[17:56:00] ndrei: has joined #ruby
[17:56:08] sorbo_: Managing Humans is also supposed to be good
[17:56:10] sorbo_: though I haven't read it
[17:56:18] bronson: has joined #ruby
[17:57:09] lupine: I'm much more used to reading about software. wetware is confusing to me
[17:57:17] startupality: has joined #ruby
[17:57:56] dfockler: so #ruby-lang is closing and coming over here?
[17:58:16] Notte: has joined #ruby
[17:58:32] Hijiri: has joined #ruby
[17:58:40] lupine: end of an era
[17:59:37] jhass: dfockler: yup
[17:59:55] baweaver: has joined #ruby
[18:00:02] miah: as far as books; Eloquent Ruby, Refactoring: Ruby (and get the workbook called 'Refactoring In Ruby'), Growing Object Oriented Software guided by Tests
[18:00:46] miah: if you need more intro level, i'd go with The Well Grounded Rubyist and Practical Object Oriented Design in Ruby
[18:00:51] Coraline: I also like Avdi's book "Confident Ruby"
[18:00:57] miah: any of avdi's books
[18:01:01] lupine: POODR is more or less a bible
[18:01:10] lupine: it's really the wetware I need to learn abou
[18:01:17] miah: netware is dead yo
[18:01:36] sorbo_: yeah ++ for POODR
[18:01:51] sorbo_: Peopleware is the best human-managing one I've read
[18:01:58] sorbo_: there are probably some good reddit or SO threads on this
[18:02:46] miah: im not good at humans, they are impossible to unit test and contain all sorts of unique/snowflake code
[18:03:03] RegulationD: has joined #ruby
[18:03:33] lupine: I'll chuck it on the list
[18:04:07] mary5030: has joined #ruby
[18:06:11] pandaant: has joined #ruby
[18:06:12] serivich: has joined #ruby
[18:06:18] lupine: Anyone read Coders at Work ?
[18:07:00] miah: i read some of it
[18:07:18] miah: you can probably read most of the interviews online too
[18:07:38] Rarikon: has joined #ruby
[18:08:17] Bermulium: has joined #ruby
[18:08:34] Bermulium: Hey. For regular expressions, what's the difference between testing with == and =~
[18:08:59] shevy: isn't == more stringent?
[18:09:03] imperator2: == is exact, =~ is pattern matching
[18:09:04] sorbo_: Bermulium: == is equality, =~ is regex match
[18:09:34] kirun: has joined #ruby
[18:09:35] miah: and #eql? is preferred.
[18:09:38] momomomomo: has joined #ruby
[18:09:53] yh__: has joined #ruby
[18:10:00] Bermulium: so /A/ is only equal to /A/ for == ? while /A/ can be equal to /A/ and 'A' with =~
[18:10:03] elev: has joined #ruby
[18:10:06] Bermulium: Also /A/i =~ 'a'
[18:10:12] elev: can someone here help me?
[18:10:31] elev: def talk puts "hello" end
[18:10:37] elev: someone wrong with that code?
[18:10:46] chrisja: has joined #ruby
[18:10:54] lupine: elev, if all on one line, you'd need some semicolons
[18:10:59] jhass: ?try elev
[18:10:59] ruboto: elev, Why don't you try it and see for yourself?
[18:11:00] miah: not if you add some line breaks or semicolons
[18:11:00] lupine: otherwise, it does what it says
[18:11:01] sorbo_: elev: assuming you have a newline after `def talk` and another after `puts "hello"`
[18:11:02] sorbo_: that is correct
[18:11:06] sorbo_: if it's one line, you need to separate with ;
[18:11:08] elev: I have tryed
[18:11:14] elev: the problem is I will gisthub it
[18:11:21] miah: >> def talk; puts 'hello'; end
[18:11:22] ruboto: miah # => :talk (https://eval.in/371453)
[18:11:23] imperator2: miah, generally they're aliases, though it depends on the class
[18:11:36] bogdanteleaga: has joined #ruby
[18:11:37] sorbo_: >> def talk; puts 'hello'; end; talk
[18:11:38] ruboto: sorbo_ # => hello ...check link for more (https://eval.in/371457)
[18:11:48] elev: def talk puts "hello"
[18:11:49] elev: puts "#{talk} to me pls"
[18:11:55] elev: when I do this code
[18:12:17] qwertme: has joined #ruby
[18:12:27] sorbo_: well, you _can_ do that, but I'm not sure it's what you want.
[18:12:34] zipace: has joined #ruby
[18:12:36] sorbo_: >> def talk; puts 'hello'; end; "#{talk} to me pls"
[18:12:37] ruboto: sorbo_ # => hello ...check link for more (https://eval.in/371458)
[18:12:59] elev: why this?
[18:13:06] miah: because there are no line breaks
[18:13:06] Bermulium: Because one line
[18:13:10] sorbo_: elev: this separates statements if they are on one line
[18:13:15] elev: ok thanks :)
[18:13:22] elev: this irc channel the best!
[18:13:26] sorbo_: you don't need them and stylistically should not use them if you're on separate lines
[18:13:29] Bermulium: He use ; to show you that it works here in IRC
[18:13:37] momomomomo_: has joined #ruby
[18:13:37] Bermulium: use newline in your code
[18:13:50] cirn0: has joined #ruby
[18:14:06] elev: still something wrong
[18:14:08] lupine: you can do it all on one line without ; of course
[18:14:10] elev: def talk; puts "hello";
[18:14:14] elev: print "#{talk} to me pls"
[18:14:20] elev: how can I do all in one line?
[18:14:23] lupine: self.define_method(:talk) { puts 'hello }
[18:14:30] shevy: you puts hello there; you could return it instead
[18:15:11] jhass: you don't want to do it on one line in your real code
[18:15:12] Pumukel: has joined #ruby
[18:15:33] elev: I could return it
[18:15:34] sorbo_: elev: also, because you're `puts`ing, you'll get a newline
[18:15:35] mjuszczak: has joined #ruby
[18:15:44] sorbo_: what output do you want?
[18:15:45] shevy: elev you use a puts there; simply get rid of the puts, and it will be returned by default
[18:15:58] elev: I removed puts
[18:16:00] elev: in return
[18:16:02] elev: and it worked
[18:16:13] shevy: let's do a happy ASCII dance
[18:16:17] shevy: \o/ \o~ ~o/
[18:16:28] shevy: look at the poor unicode guys, they don't even have a dancing snowman to compete with ASCII there
[18:16:48] mrmargolis: has joined #ruby
[18:16:55] mike_bueti: has joined #ruby
[18:16:56] shevy: elev here is the unicode snowman btw http://www.fileformat.info/info/unicode/char/2603/index.htm
[18:16:58] adaedra: no, but we have a pile of poo.
[18:17:10] shevy: well I grant you that you have a smiling snowman
[18:17:41] xxneolithicxx: has joined #ruby
[18:17:52] havenwood: has joined #ruby
[18:18:32] elev: def talk return "My name is"
[18:18:32] elev: print " Hello! #{talk} Marcus "
[18:18:38] elev: this ok?
[18:18:45] jimms: has joined #ruby
[18:18:55] miah: you dont need the return
[18:19:02] elev: what do I have to do?
[18:19:09] sorbo_: elev: Ruby automatically returns the last statement it evaluates
[18:19:09] shevy: elev do you use newlines in your code? :)
[18:19:20] elev: I want all in one line
[18:19:20] miah: you should
[18:19:23] elev: like this:
[18:19:26] elev: Hello! My name is marcus
[18:19:33] sorbo_: elev: in IRC one line is fine, but in your code you should use newlines
[18:19:33] shevy: no I mean, in your code, not in the output ;P
[18:19:38] miah: thats fine, thats the string you are printing
[18:19:38] bogdanteleaga: has joined #ruby
[18:19:41] elev: yes I use newlines in code
[18:19:47] miah: but your code should use newlines / blocks
[18:19:55] miah: you can gist your code instead of typing it on irc
[18:19:57] sorbo_: >> def hello; "My name is"; end; puts "#{hello} sorbo_"
[18:19:58] ruboto: sorbo_ # => My name is sorbo_ ...check link for more (https://eval.in/371459)
[18:20:02] shevy: elev you passed level 1. now you can write more complicated code
[18:20:19] elev: https://gist.github.com/AnonymousWS/b8afb3082807957ca1e9
[18:20:28] mengu: has joined #ruby
[18:20:28] mengu: has joined #ruby
[18:20:42] shevy: well that's the output it gives you right now right?
[18:20:51] elev: but they said dont use return
[18:20:56] shevy: Most people will use puts rather than print though, as you get a newline appended
[18:21:07] elev: I try it out :)
[18:21:08] shevy: You can use return, but it is not necessary here
[18:21:28] shevy: since it is not necessary, you add 7 characters that you don't have to add (the whole of 'return ' part)
[18:21:28] sorbo_: elev: style. Ruby automatically returns the last statement it evaluates.
[18:21:37] sorbo_: if you want to return early from a method, though, you do need to explicitly use `return`
[18:21:45] shevy: If you want a super verbose language you could use Java :)
[18:22:12] shevy: python is also quite terse; you can omit end statements, at the cost of mandatory indent though
[18:22:19] elev: unterminated string meets end of file
[18:22:21] elev: what is this shit?
[18:22:24] davidhq: has joined #ruby
[18:22:28] shevy: you forgot the closing " there
[18:22:29] miah: because you didnt terminate your "
[18:22:38] miah: i commented on your gist with working code
[18:23:00] shevy: the ruby parser wants to know where your string starts and where it ends, hence you have to use even numbers of " characters
[18:23:13] elev: def talk print "My name is"
[18:23:13] elev: print " Hello! #{talk} Marcus"
[18:23:20] elev: https://gist.github.com/AnonymousWS/b8afb3082807957ca1e9
[18:23:23] elev: there we go
[18:23:53] elev: thanks :))
[18:24:26] miah: you should try out http://www.codecademy.com/en/tracks/ruby
[18:24:33] jenrzzz: has joined #ruby
[18:25:03] shevy: elev next logical step would be to use if/else checks; or to try to get user input :)
[18:25:09] shevy: such as "Input your name next please: "
[18:25:40] miah: i think you do that within the first 10 minutes of codeacademy =)
[18:26:13] shevy: IRC teaching is more fun!
[18:26:18] miah: sometimes
[18:26:27] jhass: elev: please try using the return key less and write full sentences ;)
[18:26:33] failshell: IRC teaching. best teaching.
[18:27:05] failshell: elev: also, the ruby community recommends using 2 characters tabs. kinda our standard.
[18:27:21] bronson: has joined #ruby
[18:27:28] baroquebobcat: has joined #ruby
[18:27:35] shevy: jhass but wouldn't he write one-liners then? :)
[18:27:36] miah: i'd recommend giving https://github.com/bbatsov/ruby-style-guide/ a read
[18:27:55] failshell: and using robocop
[18:27:56] sorbo_: or using RuboCop (by the same guy as the style guide): https://github.com/bbatsov/rubocop
[18:28:23] sorbo_: ACTION is defeated (X_x) ~ *
[18:28:24] shevy: rubocop ... the most opinionated artificial intelligence out there. He makes Hal from Space Odyssee look like a wimp
[18:28:35] sorbo_: I love the jolly green crap out of RuboCop
[18:28:37] miah: well, use rubocop to verify your work. but you should know the style guide so that it only catches your mistakes =)
[18:28:53] sorbo_: now the robot can be the build cop/bad guy instead of me
[18:28:55] miah: rubocop -a for gnarly code basees too
[18:29:06] failshell: ah -a is awesome
[18:29:27] failshell: you know whoever implemented that is lazy
[18:29:46] miah: i've dealt with codebases where there are 3000+ issues
[18:30:00] miah: and most of them are simple shit that im thankful the computer can solve for me
[18:30:01] failshell: how did you get my code?
[18:30:39] ndrei: has joined #ruby
[18:31:05] nmedic89: has joined #ruby
[18:31:09] shevy: hmmmm 3000 issues
[18:31:15] codeFiend: has joined #ruby
[18:31:16] miah: go run rubocop on chef
[18:31:17] failshell: mine had over 9000 issues though
[18:31:19] miah: or metasploit
[18:31:24] miah: and watch the scroll
[18:31:33] sorbo_: wonder what it is on rails
[18:31:35] failshell: pfft run foodcritic on any community cookbooks
[18:31:36] miah: or any sizably large ruby project
[18:31:43] miah: foodcritic is a waste of time
[18:32:00] miah: as are most community cookbooks
[18:32:09] sorbo_: it's no better in puppet land
[18:32:12] failshell: its a good tool to teach newcomers chef
[18:32:20] failshell: but yes, community cookbooks are terrible
[18:32:26] failshell: apache2 being one of the worst POS ever
[18:32:35] mike_bueti: has joined #ruby
[18:32:38] miah: at this point i've given up teaching anybody in chefland anything
[18:32:43] shevy: 196 files inspected, 7281 offenses detected
[18:32:52] sorbo_: do community cookbooks suffer from the same disease that afflicts puppet forge modules, where no one has successfully 100% abstracted their code away from their particular use case?
[18:32:53] shevy: ack rubocop hates me
[18:32:59] miah: shevy: yes
[18:33:01] sorbo_: so there's always shit missing or shit baked in that you don't watn?
[18:33:01] miah: er, sorry
[18:33:03] miah: sorbo_: yes
[18:33:03] sorbo_: s/watn/want/
[18:33:22] nmedic89: Hey guys. I'm trying to help my friend with Ruby and I'm trying to import the code she is using. Same code works for her, but when I want to use submit form she developed, I get "No route matches [GET]". Is that a problem with Ruby configuration or problem is with routes.rb ?
[18:33:23] failshell: like that aweful runit that's plaguing all cookbooks
[18:33:23] platzhirsch: has joined #ruby
[18:33:34] failshell: and all those ubuntu specific hacks
[18:33:34] miah: because most chef stuff boils down to an abstraction via resources in a ordered run_list
[18:33:38] sorbo_: I mean we joke about software development being a hilariously young discipline (it is), but for DevOps even moreso
[18:33:44] nmedic89: And Yeah, I'm using Ruby 2.1.0 and Rails 4.1
[18:33:46] miah: instead of building an abstraction based around a resource
[18:33:54] sorbo_: nmedic89: what framework are you using (e.g. Rails, Sinatra)?
[18:34:03] mmazing: has joined #ruby
[18:34:05] havenwood: nmedic89: The best place for Rails questions is actually the #RubyOnRails channel.
[18:34:09] havenwood: ?rails nmedic89
[18:34:10] ruboto: nmedic89, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[18:34:10] baweaver: has joined #ruby
[18:34:57] bootstrappm: has joined #ruby
[18:35:17] postmodern: has joined #ruby
[18:35:22] greenbagels: has joined #ruby
[18:35:45] shevy: shell.rb:158:3: W: Duplicate methods all_arguments? at lines 128, 158 detected.
[18:35:51] shevy: wow... rubocop actually found a real problem
[18:35:58] shevy: and ruby -w did not ... hmmmmmmm
[18:36:37] Pupeno: has joined #ruby
[18:37:11] havenwood: bootstrappm: g'mornin
[18:37:22] bootstrappm: I'm working from Antigua Guatemala today, this place is awesome! Cheap, good food around, coworking space in front of a gym
[18:37:24] bootstrappm: everything i need!
[18:37:59] shevy: are you like moving around the world
[18:38:16] shevy: we did not yet have someone code in antarctica now did we?
[18:38:28] bootstrappm: hahah no, unfortunately not
[18:38:44] bootstrappm: just guatemala city, sometimes here in antigua, sometimes in Santa Tecla, El Salvador, sometimes Mexico
[18:38:53] rbennacer: has joined #ruby
[18:40:42] gusrub: has joined #ruby
[18:41:40] ghr: has joined #ruby
[18:42:59] mjuszczak: has left #ruby: ()
[18:44:40] shevy: ooooh Mejico
[18:44:46] shevy: now you are surrounded by gangsters!
[18:46:33] Zai00: has joined #ruby
[18:46:58] nobitanobi: has joined #ruby
[18:47:05] Eiam_: has joined #ruby
[18:47:20] bogdanteleaga: has joined #ruby
[18:50:03] Eiam: has joined #ruby
[18:50:48] DexterLB: has joined #ruby
[18:53:26] yalue: has joined #ruby
[18:53:50] woodruffw: has joined #ruby
[18:54:31] DEA7TH: has joined #ruby
[18:55:35] ioioio: has joined #ruby
[18:55:44] huddy: has joined #ruby
[18:56:00] arietis: has joined #ruby
[18:56:21] ioioio: Could anyone recommend a book of problems as a follow up to chris pine's 'learning to program' ?
[18:56:29] bluOxigen: has joined #ruby
[18:57:09] jhass: ioioio: check sites like exercism.io and codewars.com
[18:57:21] ioioio: thank you @jhass
[19:00:03] commondream: has joined #ruby
[19:00:39] havenwood: ioioio: Project Euler has some good math problems as well: https://projecteuler.net
[19:01:00] havenwood: ioioio: And there's a good archive of Ruby Quizs: http://rubyquiz.com/
[19:01:19] wallerdev2: has joined #ruby
[19:01:56] miah: https://rubymonk.com/
[19:01:59] iceden: has joined #ruby
[19:02:04] hpoydar: has joined #ruby
[19:02:15] miah: http://rubykoans.com/
[19:03:05] miah: there is also the 'Refactoring in Ruby' workbook (not Refactoring: Ruby)
[19:03:10] miah: avdi wrote about it; http://devblog.avdi.org/2010/04/08/refactoring-in-ruby/
[19:03:32] Igorshp: has joined #ruby
[19:04:13] Eiam_: hmm, how does one setup exception notification in a rake task if you aren't in Rails?
[19:04:22] Eiam_: the "use" function isn't a part of Rake (but is Sinatra)
[19:04:51] Eiam_: so "use ExceptionNotification::Rack" makes no sense in the context of task :blah do
[19:05:19] tuelz: has joined #ruby
[19:05:20] Zai00: has joined #ruby
[19:05:23] woodruffw: has joined #ruby
[19:05:30] Eiam_: everything seems to assume I'm in a :Application.configure block
[19:06:32] apeiros: Eiam_: if it isn't documented - take a look at ExceptionNotification::Rack's code
[19:06:40] bricker: has joined #ruby
[19:06:50] apeiros: you'll need to wrap your code in begin/rescue/end and invoke the code ExceptionNotification::Rack uses to notify you about exceptions.
[19:07:36] Eiam_: yeah its all assuming im in a confg block to begin with. but all my rake tasks just have an :environments task that sets up env since sinatra/rack isn't present during a rake task
[19:07:48] yardenbar: has joined #ruby
[19:07:55] Eiam_: okay reading code now
[19:08:13] edwinvdgraaf: has joined #ruby
[19:08:43] nobitanobi: has joined #ruby
[19:09:32] arietis: has joined #ruby
[19:10:26] dorei: anyone here experienced with xpath?
[19:10:58] apeiros: ?anyone dorei
[19:10:58] ruboto: dorei, Just ask your question, if anyone has, they will respond.
[19:11:09] dfockler: dorei: yo what's up
[19:11:21] dorei: i have an xpath like this './/a/img/@src' and another one like this './/a/*/img/@src', is there a way to combine them into one xpath?
[19:11:41] dorei: yo dfockler
[19:12:46] apeiros: dorei: | is union in xpath, iirc
[19:12:48] A205B064: has joined #ruby
[19:13:09] workmad3: has joined #ruby
[19:14:09] dfockler: dorei: ^ looks good, unless you need something extra
[19:14:10] dorei: i was hoping that there would an operator similar to * meaning zero or more
[19:14:24] ed112211: has joined #ruby
[19:14:57] shevy: if it were a regex :)
[19:15:11] stryek: has joined #ruby
[19:15:28] tuelz: has joined #ruby
[19:15:45] dfockler: dorei: xpath is very basic, but you can filter by position like `position() > 1`
[19:15:52] bogdanteleaga: has joined #ruby
[19:16:19] dorei: xpath is very perverted, not basic, especially xpath2.0 :p
[19:16:58] sigurding: has joined #ruby
[19:17:25] vickleton: has joined #ruby
[19:17:46] Polysics: has joined #ruby
[19:17:54] startupality: has joined #ruby
[19:18:22] dfockler: you can always use css
[19:18:30] blaines: has joined #ruby
[19:18:52] dfockler: well not always, but whatever...
[19:20:38] momomomomo: has joined #ruby
[19:21:18] pengin: has joined #ruby
[19:23:08] platzhirsch: has joined #ruby
[19:24:18] platzhirsch: has joined #ruby
[19:25:44] jhass: uh, isn't it just .//a//img/@src ?
[19:26:50] finisherr: has joined #ruby
[19:27:54] speaking1ode: has joined #ruby
[19:27:56] mrsolo: has joined #ruby
[19:28:11] hmnhf: has joined #ruby
[19:28:17] dorei: jhass: * is optional? :O
[19:28:46] jhass: I actually never tried, but I see no reason for // to only appear at the beginning of an xpath
[19:29:42] dfockler: that will look in every child of any anchor for img/@src
[19:30:07] pipework: jhass: IIRC, that's 'match from any parent'
[19:30:16] pipework: Starts at root, iirc.
[19:30:23] pipework: whereas without is relative.
[19:30:23] ravenreborn: has joined #ruby
[19:30:37] dfockler: so not just the direct descendants, but also descendants of descendants
[19:30:37] dorei: nop, * is not optional :(
[19:31:18] ed112211: has joined #ruby
[19:32:03] jhass: nokogiri right? .xpath(".//a").flat_map {|link| link.xpath(".//img/@src") } ?
[19:32:21] edwinvdgraaf: has joined #ruby
[19:34:21] dorei: i've ended up with something like this '(.//div[@class="thumb"]/a/img|.//div[@class="thumb"]/a/*/img)/@src' :D
[19:34:55] dorei: pretty ugly, but xpath is inherently ugly i think
[19:35:58] Squarepy: has joined #ruby
[19:36:03] sarkyniin: has joined #ruby
[19:36:07] phutchins: has joined #ruby
[19:36:17] igualpuyo: has joined #ruby
[19:36:31] kadoppe: has joined #ruby
[19:37:27] jhass: I wonder if you can't pull the common stuff in front out
[19:37:49] rickmasta: has joined #ruby
[19:37:51] pipework: jhass promotes pulling out whenever possible.
[19:38:04] jhass: './/div[@class="thumb"]/a/(img|*/img))/@src' or something
[19:38:06] juanpaucar: has joined #ruby
[19:38:30] jhass: pipework: except if the thing you'd pull out is your religion actually
[19:40:03] pipework: jhass: My couch taught me everything I know.
[19:40:25] ravenreborn_: has joined #ruby
[19:41:09] pipework: #couchdb has a nice futon
[19:42:22] Hijiri: has joined #ruby
[19:42:46] that1guy: has joined #ruby
[19:44:31] nandubatchu: has joined #ruby
[19:44:34] baweaver: has joined #ruby
[19:44:44] freerobby: has joined #ruby
[19:45:19] wildroman2: has joined #ruby
[19:46:04] jhass: mmh, 51 seconds of patience, had it worse
[19:46:46] dfockler: ACTION trying to defuse a bomb written in ruby
[19:46:46] Papierkorb: has joined #ruby
[19:47:04] bb010g: has joined #ruby
[19:47:12] einarj: has joined #ruby
[19:47:40] jhass: killall -9 ruby
[19:48:00] dfockler: ahhh it has a supervisor!
[19:48:18] ljarvis: started adding to_h to optparse, anyone interested in this? https://gist.github.com/leejarvis/580f91991cc7912ea868
[19:48:36] baroquebobcat: has joined #ruby
[19:48:56] jhass: don't you already have an option parser gem? :P
[19:49:25] ljarvis: yes, this is a chance to give back to stdlib
[19:49:36] renanoronfle: has joined #ruby
[19:50:21] Eiam_: stepping through what (seemed like) some rather basic job enquing, not sure why I'm getting the name error, https://gist.github.com/anonymous/8c51035dc6336c3e707b
[19:50:46] zarubin: has joined #ruby
[19:50:52] jhass: tbh I wouldn't mind at for something like slop to be in stdlib
[19:51:03] Eiam_: If I directly call the modules .perform the code runs as expected, so I don't get why resque is saying it cannot find it
[19:51:10] ljarvis: heh, it was suggested on redmine
[19:51:14] ljarvis: I'm not keen on the idea massively
[19:51:20] ljarvis: plus there's already 2 there
[19:51:30] mrmargolis: has joined #ruby
[19:51:36] momomomomo: has joined #ruby
[19:51:41] ljarvis: then again, the code for optparse makes me want to rip my face off
[19:52:04] dfockler: Eiam_: did you start your worker to know where the EmailContent module is?
[19:52:23] jhass: I wouldn't mind at least getoptlong and whatever the third is to be dropped to gems either
[19:52:34] ljarvis: yeah getoptlong needs to go
[19:52:40] shadoi: has joined #ruby
[19:52:47] Eiam_: dfockler: workers are started with "worker: TERM_CHILD=1 bundle exec resque-pool"
[19:52:51] ljarvis: it's just optparse and getoptlong afaik
[19:53:03] wallerdev: has joined #ruby
[19:53:44] jhass: I mean I wouldn't mind for optparse to be dropped too, but that's not realistic
[19:54:15] haxrbyte: has joined #ruby
[19:56:23] Eiam_: dfockler: and the rake task for scheduler looks something like, https://gist.github.com/anonymous/1d39fe04a32eef9ee9d4
[19:56:35] nik_-_: has joined #ruby
[19:57:36] havenwood: has joined #ruby
[19:58:52] lkba: has joined #ruby
[19:59:44] igualpuyo: has joined #ruby
[19:59:52] mfmfmfmfmfmf: has joined #ruby
[19:59:58] tcrypt: has joined #ruby
[20:00:23] rbennacer: has joined #ruby
[20:00:56] nobitanobi: has joined #ruby
[20:01:22] chris349: has joined #ruby
[20:01:50] juanpaucar: has joined #ruby
[20:02:28] wallerdev2: has joined #ruby
[20:02:57] igualpuyo: has joined #ruby
[20:03:31] nobitanobi: has joined #ruby
[20:06:13] hmnhf_: has joined #ruby
[20:06:20] finisherr: has joined #ruby
[20:11:28] ta: has joined #ruby
[20:12:47] arietis: has joined #ruby
[20:13:09] moretti: has joined #ruby
[20:13:25] igualpuyo: has joined #ruby
[20:13:30] dfockler: Eiam_: you may need to configure resque-pool with a rake task to pull in your class and modules
[20:13:31] dfockler: https://github.com/nevans/resque-pool#rake-task-config
[20:13:43] Bermulium: Huh is this a bug
[20:13:45] Igorshp: has joined #ruby
[20:13:57] Bermulium: will give nil
[20:14:02] Bermulium: /^Start/ = 'Test. Start'
[20:14:23] jhass: that should be a syntax error
[20:14:27] Bermulium: /^Start/ = ~'Test. Start'
[20:14:40] jhass: still a syntax error, but we get ya :P
[20:14:46] jhass: so, what do you think ^ means?
[20:14:52] apeiros: why should it not return nil?
[20:14:54] Bermulium: its my keyboard..
[20:15:00] Bermulium: /^Start/ =~'Test. Start
[20:15:13] apeiros: and no, that's not a bug.
[20:15:13] nobitanobi: has joined #ruby
[20:15:23] Bermulium: /^Start/ =~ content where content = 'Test. Start'
[20:15:27] Bermulium: will not return nil
[20:15:43] apeiros: I can't make sense of that line.
[20:15:54] moretti: has joined #ruby
[20:16:04] apeiros: do you mean this?
[20:16:09] greenbagels: has joined #ruby
[20:16:11] apeiros: >> content = 'Test. Start'; /^Start/ =~ content
[20:16:12] ruboto: apeiros # => nil (https://eval.in/371479)
[20:16:18] apeiros: because this still returns nil???
[20:16:53] apeiros: (as it should, so still my question "why should it not return nil?")
[20:17:40] baweaver: As much as I dislike the concept of nil, that is intended behavior of the language.
[20:18:34] jbomo: has joined #ruby
[20:18:50] skammer: has joined #ruby
[20:19:12] apeiros: I somewhat suspect you're confusing "Test.\nStart" with "Test. Start". But IMO no point in riddling without an answer to my question.
[20:20:00] sorbo_: "If =~ is used with a regexp literal with named captures, captured strings (or nil) is assigned to local variables named by the capture names."
[20:20:05] sorbo_: http://ruby-doc.org/core-2.2.0/Regexp.html#method-i-3D-7E
[20:20:20] Eiam_: dfockler: i have that setup.. thinking maybe the require relative is biting me when im in pry
[20:20:52] sorbo_: >> content = 'Test. Start'; /^(Start)/ =~ content
[20:20:53] ruboto: sorbo_ # => nil (https://eval.in/371482)
[20:21:07] sorbo_: >> content = 'Test. Start'; /^(Start)/ =~ content; puts content
[20:21:08] ruboto: sorbo_ # => Test. Start ...check link for more (https://eval.in/371483)
[20:21:12] apeiros: sorbo_: there's no named capture in that regex.
[20:21:15] Eiam_: but that wouldn't explain why if i have the service itself enqueue it by a route it staill fails with the same error
[20:21:39] sorbo_: apeiros: right, but content is still set even though `nil` is returned.
[20:22:02] baweaver: content is a variable assigned beforehand
[20:22:17] apeiros: sorbo_: um, yes? of course? there's a direct assignment? what's your point or question?
[20:22:18] baweaver: the result of the regex match is nil
[20:22:33] sorbo_: apeiros: sorry, my mistake. I've been up way too long. you and baweaver are both right.
[20:22:33] baweaver: =~ doesn't do assignment
[20:23:41] baweaver: ./(?<named_group>whatever match here)/
[20:23:51] sorbo_: >> content = 'Test. Start'; /^(<text>Start)/ =~ content
[20:23:52] ruboto: sorbo_ # => nil (https://eval.in/371484)
[20:24:02] dfockler: Eiam_: like the route fails or the worker still fails?
[20:24:10] Eiam_: worker fails
[20:24:16] baweaver: sorbo_: You do realize what ^ is right?
[20:24:36] sorbo_: baweaver: yes, sorry.
[20:24:40] sorbo_: >> content = 'Test. Start'; /(<text>Start)/ =~ content
[20:24:41] ruboto: sorbo_ # => nil (https://eval.in/371485)
[20:24:41] apeiros: sorbo_: are you with Bermulium? are you continuing in their stead?
[20:24:48] baweaver: >> /^s/ =~ 'surely'
[20:24:49] ruboto: baweaver # => 0 (https://eval.in/371486)
[20:25:08] dfockler: Eiam_: you still need to start the worker with the path to your code
[20:25:17] baweaver: >> /^s(?<rest>.+)/ =~ 'surely'
[20:25:18] ruboto: baweaver # => 0 (https://eval.in/371487)
[20:25:33] Eiam_: dfockler: my scheduler blob there has the paths to the code
[20:25:46] apeiros: ok, well, sorbo_ & Bermulium - I've better things to do than wait for answers. I'm off.
[20:25:57] sorbo_: apeiros: have a good one.
[20:26:26] dfockler: Eiam_: You're scheduler might, but your workers probably don't
[20:26:29] baweaver: >> /^s(?<rest>.+)/.match('surely')[:rest]
[20:26:30] ruboto: baweaver # => "urely" (https://eval.in/371488)
[20:26:55] Eiam_: dfockler: hmm okay..
[20:26:55] ljarvis: started a basic optparse patch https://gist.github.com/leejarvis/580f91991cc7912ea868
[20:27:25] Eiam_: dfockler: not sure I follow where I see any rake/configuration thats passed to workers
[20:27:36] Eiam_: aren't they just fork'ed from / ?
[20:28:20] jhass: >> if /^s(<rest>.+)/ =~ "surely"; rest; end;
[20:28:21] ruboto: jhass # => nil (https://eval.in/371489)
[20:28:36] jhass: >> if "surely" =~ /^s(<rest>.+)/; rest; end;
[20:28:37] ruboto: jhass # => nil (https://eval.in/371490)
[20:28:59] jhass: >> if /^s(?<rest>.+)/ =~ "surely"; rest; end;
[20:29:00] ruboto: jhass # => "urely" (https://eval.in/371491)
[20:29:18] jhass: I hate that feature
[20:29:59] dfockler: Eiam_: https://github.com/resque/resque/blob/1-x-stable/README.markdown#workers
[20:30:28] dfockler: You have to setup the environment beforehand or else your workers won't know where to look for code
[20:31:08] apeiros: ljarvis: that would make so much sense
[20:31:27] apeiros: it's what most people reproduce in their code anyway. so all of that custom code could be saved.
[20:31:35] that1guy: has joined #ruby
[20:31:38] vdamewood: has joined #ruby
[20:31:46] ljarvis: yep I think it'd be really helpful
[20:33:30] ljarvis: added a before example to make it a bit more obvious
[20:33:44] ljarvis: I'll probably submit it tomorrow and see what people think
[20:35:17] apeiros: I have only glanced over it. but I definitively like the idea.
[20:35:31] ghr: has joined #ruby
[20:36:07] pengin: has joined #ruby
[20:36:18] sumark: has joined #ruby
[20:37:43] dfockler: ljarvis: would it just take short name if no long name was given?
[20:37:44] Channel6: has joined #ruby
[20:38:10] ljarvis: dfockler: yeah, there's an example in the spec
[20:38:34] zack6849: has joined #ruby
[20:38:34] zack6849: has joined #ruby
[20:38:38] dfockler: ahh cool :) looks nice
[20:38:41] ki0: has joined #ruby
[20:38:55] Eiam_: dfockler: ughhhhhh. I know what commit broke this.
[20:39:00] centrx: has joined #ruby
[20:39:01] Eiam_: dfockler: you are right (ofc)
[20:39:02] woodruffw: has joined #ruby
[20:39:29] dfockler: Eiam_: lol I've ran into the same issue many times
[20:39:56] Eiam_: I was restructing from rake tasks
[20:40:07] Eiam_: and didn't realize some of the rake tasks were like.. automatically being called by something else
[20:40:16] banister: has joined #ruby
[20:40:18] nobitanobi: has joined #ruby
[20:40:27] djbkd: has joined #ruby
[20:40:53] dfockler: automation will sometimes bite you
[20:41:31] mrchris: has joined #ruby
[20:42:04] ed112211: has joined #ruby
[20:42:07] neanderslob: has joined #ruby
[20:42:44] baweaver: has joined #ruby
[20:44:51] workmad3: has joined #ruby
[20:44:59] kinduff: has joined #ruby
[20:45:19] ljarvis: meh I wanna see what others think, please give feedback if you want: https://bugs.ruby-lang.org/issues/11191
[20:45:33] wildroman2: has joined #ruby
[20:46:03] kinduff: good morning!
[20:46:11] ytti: debatable
[20:46:19] jhass: ljarvis: +1 from me, certainly an improvement
[20:48:14] utkukaynar: has joined #ruby
[20:49:31] michaelreid: has joined #ruby
[20:50:45] einarj: has joined #ruby
[20:51:38] haxrbyte: has joined #ruby
[20:53:08] startupality: has joined #ruby
[20:57:56] Encapsulation: has joined #ruby
[20:59:23] bmurt: has joined #ruby
[21:00:29] Limix: has joined #ruby
[21:00:40] nobitanobi: has joined #ruby
[21:01:13] tomphp: has joined #ruby
[21:01:52] gambl0re: has joined #ruby
[21:02:32] commondream: has joined #ruby
[21:02:49] mistermocha: has joined #ruby
[21:03:11] wallerdev2: has joined #ruby
[21:03:54] edwinvdgraaf: has joined #ruby
[21:04:49] dseitz: has joined #ruby
[21:06:22] DoubleMalt: has joined #ruby
[21:10:01] quimrstorres: has joined #ruby
[21:10:15] nobitanobi: has joined #ruby
[21:11:07] leafybasil: has joined #ruby
[21:11:25] einarj: has joined #ruby
[21:12:58] centrx: has joined #ruby
[21:14:13] haxrbyte: has joined #ruby
[21:14:56] al2o3-cr: has joined #ruby
[21:15:31] wildroman2: has joined #ruby
[21:16:46] haxrbyte_: has joined #ruby
[21:16:56] gaboesquivel: has joined #ruby
[21:17:58] mello: has joined #ruby
[21:19:47] edwinvdgraaf: has joined #ruby
[21:20:07] greenbagels: has joined #ruby
[21:21:35] phutchins: has joined #ruby
[21:21:37] _seanc_: has joined #ruby
[21:21:42] einarj: has joined #ruby
[21:22:53] mib_mib: has joined #ruby
[21:22:59] mib_mib: does anyone here use codeship?
[21:23:44] zodiak: has joined #ruby
[21:23:47] joelataylor: has joined #ruby
[21:24:23] Notte: has joined #ruby
[21:25:13] zodiak: how do I deal with daemons running under Foreman ? it seems that it's jst generating a tonne of threads (ps -eLF | grep -i 'name' | wc is increasing every run/pass)
[21:26:06] baweaver: has joined #ruby
[21:29:16] cirn0: has joined #ruby
[21:29:59] Igorshp: has joined #ruby
[21:31:33] baroquebobcat: has joined #ruby
[21:32:47] leafybasil: has joined #ruby
[21:33:28] jpfuente_: has joined #ruby
[21:34:06] doublemalt_: has joined #ruby
[21:35:14] chipotle: has joined #ruby
[21:35:23] Zai00: has joined #ruby
[21:36:01] that1guy: has joined #ruby
[21:36:37] tuelz: has joined #ruby
[21:39:14] einarj: has joined #ruby
[21:39:15] kinduff: mib_mib: i do
[21:40:37] mib_mib: kinduff: for a rails project (connected to mysql) - i need to set a variable in the my.cnf and restart mysql - do you know how i'd go about doing that? codeship doesn't seem to allow sudo
[21:40:42] Fire-Dragon-DoL1: has joined #ruby
[21:40:45] jzigmund: has joined #ruby
[21:41:06] jpfuentes2: has joined #ruby
[21:41:51] mistermocha: has joined #ruby
[21:42:37] shevy: >> '<table class="pad4px marl1em" style="white_BORDER_1">'.match(/class="(.+)"/)[1]
[21:42:38] ruboto: shevy # => "pad4px marl1em\" style=\"white_BORDER_1" (https://eval.in/371497)
[21:42:49] casadei: has joined #ruby
[21:44:16] lyuben_: has joined #ruby
[21:44:24] rikai: has joined #ruby
[21:44:34] dru``: has joined #ruby
[21:44:41] mujou: has joined #ruby
[21:46:32] chipotle: has joined #ruby
[21:47:05] danman: has joined #ruby
[21:49:39] einarj: has joined #ruby
[21:49:44] shevy: is it possible to make a regex non-greedy?
[21:49:55] shevy: I'd need the above to stop after the first '"' found
[21:50:15] code1o6: has joined #ruby
[21:50:36] woodennails: has joined #ruby
[21:51:19] Takle: has joined #ruby
[21:51:53] centrx: shevy, yeah something with a ?
[21:52:20] TheHodge: has joined #ruby
[21:52:37] FernandoBasso: has joined #ruby
[21:53:07] dojobo: www.regexr.com is great for testing and reference btw
[21:53:12] Igorshp: has joined #ruby
[21:54:06] arescorpio: has joined #ruby
[21:56:41] weaksauce: dojobo http://rubular.com/ is another fine option for that with the added benefit of being ruby aware
[21:56:51] dfockler: +1 for rubular
[21:57:20] cirn0: has joined #ruby
[21:59:08] jzigmund: has joined #ruby
[22:00:35] qwertme: has joined #ruby
[22:00:35] Limix: has joined #ruby
[22:01:47] dojobo: weaksauce++
[22:02:33] Igorshp: has joined #ruby
[22:03:07] dudedudeman: ACTION wishes he was ruby aware
[22:04:36] dfockler: dudedudeman: like neo?
[22:04:53] wallerdev2: has joined #ruby
[22:04:57] jenrzzz_: has joined #ruby
[22:05:55] dudedudeman: if I have a ruby script that checks all of my files for something, and i want to that script to email with the results every monday morning, would a cron job be best suited for that?
[22:06:13] apeiros: define "best". it's certainly a good option.
[22:06:22] jzigmund: has joined #ruby
[22:06:29] kinduff_: has joined #ruby
[22:06:34] centrx: Sounds like a cron job
[22:06:46] jhass: or a systemd timer if you're running that
[22:06:54] dudedudeman: would a cron job be well suited*, that might be a better way to work that apeiros
[22:06:55] jpfuentes2: has joined #ruby
[22:07:13] dudedudeman: jhass: i'm not familiar with that
[22:07:27] dudedudeman: are those the .timer files?
[22:07:27] jhass: is your /bin/init systemd?
[22:07:28] eam: definitely a job for resque
[22:07:58] dudedudeman: i don't have a bin/init
[22:08:05] dudedudeman: not on the machine i'm working with at least
[22:08:18] DEA7TH: has joined #ruby
[22:08:26] jhass: well, I mean whether your init daemon is systemd
[22:09:21] dudedudeman: ah, it is, jhass
[22:09:45] dudedudeman: but now that eam mentions it, resque would be awesome, because it would be a good thing to learn and have knowledge of
[22:10:00] bootstrappm: resque is awesome but it seems a bit overkill for this one
[22:10:10] jhass: yeah, complete overkill
[22:10:11] eam: extremely tounge in cheek suggestion btw
[22:10:22] jhass: I'd go with a systemd timer unit
[22:10:26] jhass: man systemd.timer
[22:10:32] jhass: gives nice introspection
[22:10:35] eam: dudedudeman: but if you want to do it to learn, go nuts
[22:10:53] dudedudeman: i'm nuts about learning, that's for sure
[22:11:08] bootstrappm: i'd check out the whenever gem, I've not used it but heard good things: https://github.com/javan/whenever
[22:11:08] dudedudeman: i have a hard time buckling down and deciding on exactly what i want to focus on sometimes, because it all fascinates me
[22:11:32] Pumukel: has joined #ruby
[22:12:41] bootstrappm: for anybody that has used the whenever gem, does it just run a daemon all the time that does the requested action when the time is right or is there some kind of magic startup sequence?
[22:13:04] dudedudeman: i'll need to look that up, too
[22:13:07] jhass: the whenever gem just generates a crontab
[22:13:18] dudedudeman: jhass: thanks for the man on this. i always forget about those
[22:13:48] bootstrappm: platonically, of course
[22:14:09] blogjy: has joined #ruby
[22:14:31] shevy: you mean the dudedudeman man
[22:14:33] dudedudeman: shevy: you do any dude'ing today?
[22:14:42] dudedudeman: ha, you just did
[22:14:42] shevy: come to think about it, your nick should be dudedudemanman
[22:14:59] shevy: but I can't go down that rabbit hole, it makes my brain quite fuzzy
[22:15:07] dudedudeman: mine is already fuzzy. send help
[22:15:26] dfockler: does anyone know a way to return an arbitrary HTTP status in sinatra?
[22:15:56] wildroman3: has joined #ruby
[22:16:04] yokel: has joined #ruby
[22:16:18] dudedudeman: ACTION off to systemd world....
[22:17:10] bootstrappm: ACTION off to s3 Cache-Expires header world...
[22:17:27] bootstrappm: send cookies please, I'll likely be there a while
[22:18:04] TheNet: has joined #ruby
[22:18:18] jenrzzz: has joined #ruby
[22:18:53] blogjy: what is a good way of installing the latest ruby on ubuntu 14.04.2 LTC apt-get install ruby-full says ruby 1.9.1
[22:19:01] milesmatthias: has joined #ruby
[22:19:05] baweaver: has joined #ruby
[22:20:08] pragmatism: has joined #ruby
[22:20:11] bootstrappm: blogjy install rvm, then install latest ruby
[22:20:34] bootstrappm: right now latest stable is 2.2.0 on rvm
[22:20:48] bootstrappm: you could also install 2.2-head or ruby-head
[22:22:11] shevy: blogjy I guess ubuntu makes it not easy for you to change their ruby version
[22:22:23] northfurr: has joined #ruby
[22:23:34] jpfuentes2: has joined #ruby
[22:23:37] jhass: blogjy: brightbox packages
[22:23:46] jhass: https://www.brightbox.com/docs/ruby/ubuntu/
[22:24:50] ed112211: has joined #ruby
[22:24:58] kinduff: has joined #ruby
[22:26:17] jlyndon: has joined #ruby
[22:26:30] Scripore: has joined #ruby
[22:27:04] jpfuentes2: has joined #ruby
[22:27:43] blogjy: jhass: that is quite a find, thanks
[22:28:04] einarj: has joined #ruby
[22:28:30] Azure: has joined #ruby
[22:28:47] al2o3-cr: I know i never heard of brightbox before until havenwood said
[22:29:15] chipotle: has joined #ruby
[22:29:26] Igorshp: has joined #ruby
[22:29:35] jhass: I wish they would do the same for debian
[22:29:50] bootstrappm: me neither, nice find indeed!
[22:30:18] al2o3-cr: jhass: to true
[22:32:38] KayKayKay: has joined #ruby
[22:35:15] dandrade: has joined #ruby
[22:37:01] dfockler: I still don't really understand source management on linux
[22:37:41] KC9YDN: has joined #ruby
[22:37:41] KC9YDN: has joined #ruby
[22:37:48] pipework: dfockler: There's not much 'on linux' about it.
[22:38:04] dfockler: pipework: is it distro specific?
[22:38:08] dfockler: Yeah I guess it is
[22:38:14] scottstamp: has joined #ruby
[22:38:15] pipework: dfockler: Not necessarily.
[22:38:33] pipework: What exactly are you talking about? "Source management" is a pretty vague topic.
[22:38:58] dfockler: I guess where you pull packages from
[22:39:05] Aeyrix: Package management.
[22:39:16] einarj: has joined #ruby
[22:39:52] tejasmanohar: has joined #ruby
[22:40:36] saadq: has joined #ruby
[22:41:05] gaboesquivel: has joined #ruby
[22:41:23] pipework: dfockler: Ah, package management system!
[22:41:29] shevy: dfockler by default, most packages are compiled with the --prefix option set to /usr; the main exceptions are due to the arbitrary FHS, such as for packages that have / as prefix; notably all that are in /bin and /lib; these normally are glibc-related packages, sometimes readline too (no idea why), libblkid, firmware, hardware, linux-related modules, sometimes udev or xtable etc...
[22:42:11] Aeyrix: There's a really good Wikipedia article on this.
[22:42:14] eam: shevy: it's the essential parts necessary to bring up the rest of the system, so /usr can be mounted potentially on remote storage
[22:42:20] jhass: many distros move to everything in /usr, /lib, /bin etc becomes symlinks to their /usr/ variants
[22:42:29] Aeyrix: Unix Filesystem Hierarchy.
[22:42:40] Aeyrix: Arch does that yeah
[22:42:48] jhass: Fedora too, no?
[22:42:53] Aeyrix: I believe so.
[22:42:56] eam: most are giving up on the concept
[22:43:05] jhass: wouldn't be surprised if Ubuntu will pick it up
[22:43:25] dfockler: I was reading an article, where it was saying /usr/sbin or something is basically because of tradition
[22:43:36] willharrison: has joined #ruby
[22:43:43] shevy: dfockler well that is the /usr prefix
[22:43:49] eam: dfockler: sbin would hold programs that only root or administrators would run
[22:43:54] jhass: oh, yeah, /usr/sbin is just a symlink to /usr/bin for me now too
[22:43:57] shevy: whether the distinction to bin or sbin makes sense is another question
[22:44:02] eam: it's mostly a pointless distinction now that everyone has their own computer
[22:44:15] bigkevmcd: has joined #ruby
[22:44:36] dfockler: anyone here still timesharing their unix system?
[22:44:36] shevy: dfockler but that is really minor. What I found more confusing was that /etc always was decoupled from the --prefix option
[22:44:43] eam: dfockler: well sure, everyone is
[22:44:52] dfockler: with one person?
[22:45:10] eam: there's half a dozen processes running as half a dozen users at any given time
[22:45:18] jhass: VPS? PaaS? shared hosting?
[22:45:22] shevy: I even have a /usr/etc directory here... I do not know why
[22:45:25] eam: not controlled by humans, of course
[22:45:43] KayKayKay: Now I am a professional Game proGrammER!
[22:46:05] dfockler: jhass: those are virtual separated though right?
[22:46:15] eam: dfockler: not shared hosting
[22:46:18] jhass: they're sharing the same resources
[22:46:36] jhass: in openvz stuff even the same kernel
[22:46:49] Aeyrix: Don't even talk to me about vz
[22:46:56] Aeyrix: -1/20,000
[22:46:57] jhass: and PaaS stuff is basically all containers now
[22:47:02] Aeyrix: See me after class.
[22:47:29] KayKayKay: WHat Is ThE best PasswOrd Wordlist Editor in Ruby?
[22:47:40] jhass: KayKayKay: your shift key seems broken
[22:48:34] edwinvdgraaf: has joined #ruby
[22:48:37] dfockler: so sources.list is just a place where your package manager can look for packages to download?
[22:48:46] that1guy: has joined #ruby
[22:48:53] pipework: dfockler: Please consult your local distro channel.
[22:48:58] pipework: #ubuntu, #debian, etc.
[22:49:05] dfockler: thanks, will do
[22:50:31] ravenreborn: has joined #ruby
[22:50:35] KayKayKay: dfockler try usiNg the termInal to install proGrams and Go to thE docs and Read them to know how they work!
[22:51:32] swgillespie: has joined #ruby
[22:52:41] pipework: KayKayKay: You seem to have more troubling matters at hand with that wonky upcasing.
[22:53:36] snockerton: has joined #ruby
[22:53:50] joelataylor: has joined #ruby
[22:54:53] dfockler: It's like KayKayKay is the Joker, pretty scary
[22:55:42] KayKayKay: what do you mean pipework
[22:56:10] KayKayKay: your mom makes the best Cookies Undoubtedly iN The neighborhood!
[22:56:34] Radar: !kick KayKayKay Bad nick
[22:56:34] helpa: Radar: No.
[22:56:35] ruboto: ruboto kicked KayKayKay: nick
[22:56:35] ruboto: -o ruboto
[22:56:37] KayKayKay: has joined #ruby
[22:56:45] Radar: Thanks I've been wanting to try that out.
[22:57:12] TripleK: good nick op?
[22:57:16] Aeyrix: I did tell you
[22:57:19] Igorshp_: has joined #ruby
[22:57:22] pipework: It was just a kick though.
[22:57:24] Aeyrix: 10 minutes ago
[22:58:04] Aeyrix: Change it to SpecialK
[22:58:05] Eiam: has joined #ruby
[22:58:08] Aeyrix: And then we'll be happy
[22:58:23] shevy: short nicks are the best
[22:58:24] pipework: Radar: ineffective kick was ineffective, btw
[22:58:33] Aeyrix: http://www.specialk.com/content/dam/spk/usa/Header/logo_d.png
[22:58:34] shevy: pipework should become pwork
[22:58:34] jhass: !kick TripleK nope
[22:58:34] helpa: jhass: No.
[22:58:34] ruboto: ruboto kicked TripleK:
[22:58:34] ruboto: -o ruboto
[22:58:39] K_Cubed: has joined #ruby
[22:58:52] pipework: Because kicks are so helpful and not generating more noise, right?
[22:58:55] shevy: Aeyrix should become Ayrix
[22:59:05] jhass: !kick K_Cubed try again
[22:59:05] helpa: jhass: No.
[22:59:05] ruboto: ruboto kicked K_Cubed: again
[22:59:05] ruboto: -o ruboto
[22:59:09] K_Cubed: has joined #ruby
[22:59:23] pipework: TIL ops don't know /mode +b
[22:59:28] Aeyrix: pipework: Good at ruby ! = good at irc
[22:59:28] duderonomy: has joined #ruby
[22:59:29] pipework: shevy: I already became pipework from spaceghost|work which came from spaceghostc2c
[22:59:31] K_Cubed: what is wrong with my nick?
[22:59:33] pipework: Aeyrix: ikr :(
[22:59:38] shevy: damn that was a long nick
[22:59:40] jhass: K_Cubed: no discussion
[22:59:45] shevy: >> "spaceghost|work".size
[22:59:46] ruboto: shevy # => 15 (https://eval.in/371501)
[22:59:46] Radar: K_Cubed: You know it's offensive to people. Please change it
[22:59:58] K_Cubed: I changed it so many times
[23:00:11] pipework: K_Cubed: K cubed isn't even in the spirit of your original nicks.
[23:00:12] shevy: ok pick a harmless nick
[23:00:14] rkazak: has joined #ruby
[23:00:20] K_Cubed: you're accusing me of knowing something I don't please educate me
[23:00:21] Radar: K_Cubed: You've got two minutes.
[23:00:28] jhass: K_Cubed: try out !ban too
[23:00:30] shevy: those are not random nicks K_Cubed
[23:00:40] jhass: er Radar ^
[23:00:51] Radar: Might just have to :)
[23:00:56] Radar: Too bad it doesn't ban by hostname
[23:01:04] jhass: Radar: actually it does
[23:01:07] Radar: Radar kicked sinepreggiN: TROLL
[23:01:07] Aeyrix: Jesus Christ
[23:01:08] sinepreggin: has joined #ruby
[23:01:08] jhass: sets two akicks
[23:01:24] Radar: jhass: TIL
[23:01:25] sinepreggin: I changed my nick
[23:01:34] Radar: !ban sinepreggiN
[23:01:38] pipework: Pls ops learn 2 ops
[23:01:40] shevy: sinepreggiN PICK A NAME MAN
[23:01:41] Aeyrix: Radar just give me op
[23:01:49] Radar: !ban sinepreggiN !T 1d
[23:01:50] ChanServ: +b sinepreggiN!*@*
[23:01:50] ChanServ: ChanServ kicked sinepreggiN: is banned from this channel
[23:01:52] alxndr: got an IP ban?
[23:02:02] jhass: observe ;)
[23:02:05] pipework: That won't take 2 seconds to get around...
[23:02:06] Aeyrix: LOL DID THAT JUST BAN ON IDENT
[23:02:07] Radar: Did that work? I didn't see.
[23:02:12] Aeyrix: It didn't
[23:02:18] shevy: pipework that dude alone generated more activity in #ruby than the earlier 10 hours :)
[23:02:19] Aeyrix: Just op pipework
[23:02:19] Radar: jhass: See, it doesn't set it on IP.
[23:02:27] RegulationD: has joined #ruby
[23:02:42] kinduff: hes at #programming too
[23:02:43] Radar: +b *!*@172.56.16.197
[23:02:50] alxndr: there we go
[23:02:51] Azure: has joined #ruby
[23:02:52] joelataylor: has joined #ruby
[23:02:56] jhass: Radar: /cs AKICK #ruby list
[23:03:18] Aeyrix: Don't use akick
[23:03:26] jhass: the nick akick is set first, so chanserv uses that first
[23:03:40] jhass: if they try to join again the ip akick will kick in
[23:05:15] jhass: Aeyrix: elaborate?
[23:05:45] wallerdev2: has joined #ruby
[23:05:50] Aeyrix: Getting run over
[23:05:56] spider-mario: has joined #ruby
[23:06:06] mrsolo: has joined #ruby
[23:06:30] xxneolithicxx: ACTION always misses all the fun
[23:06:44] einarj: has joined #ruby
[23:06:58] mello: has joined #ruby
[23:08:44] blackoperat: has joined #ruby
[23:09:17] baroquebobcat: has joined #ruby
[23:09:40] qwertme: has joined #ruby
[23:10:39] shevy: now it's silent again here :(
[23:10:52] ddfreyne: Can't have everything, shevy!
[23:10:55] shevy: just like in #ruby-lang
[23:10:56] jhass: if you try hard enough we can ban you too shevy
[23:11:14] shevy: I got banned for 2 days from #lfs some weeks ago!
[23:11:26] Aeyrix: jhass: akick is noise.
[23:11:41] jhass: Aeyrix: claim, I'm waiting for reasoning
[23:12:04] arietis: has joined #ruby
[23:12:12] pipework: The behaviour of akick is noisy.
[23:12:13] jhass: explain, don't just claim stuff, but arguments behind your claims
[23:12:15] shevy: if he is on #programming
[23:12:20] pipework: http://wiki.swiftirc.net/index.php?title=Chanserv#Akick
[23:12:21] Aeyrix: sorry, you're not my superior. You want reasoning beyond that go read the atheme documentation.
[23:12:21] shevy: we could unban him, and re-invite him here to :>
[23:12:35] Aeyrix: And especially don't ask for it like that.
[23:12:43] Xiti: has joined #ruby
[23:12:55] shevy: we should learn from #haskell
[23:13:00] shevy: they talk about monads all day long
[23:13:06] eam: shevy: you're a monad
[23:13:07] pipework: shevy: I don't think we can go back into obscurity that easily.
[23:13:08] Aeyrix: Yeah but that's functional programming shevy.
[23:13:10] Aeyrix: Nobody wants to learn about that.
[23:13:17] shevy: and in their dreams, they think about catching the schroedinger cat in a monad
[23:13:24] ddfreyne: Dysfunctional programming is my kind of style.
[23:13:26] gluten_hell: has joined #ruby
[23:13:27] pipework: For such a busy channel, the most appropriate course of action is approximately 2 masks if they aren't authed to nickserv.
[23:13:44] shevy: Aeyrix it's true, somehow I failed to get some "aha" moment with functional programming so far. Perhaps I need to try harder
[23:13:56] shevy: ddfreyne lol
[23:14:00] Aeyrix: shevy: I'm in the same boat. If it clicks, let me know what you were reading.
[23:14:12] jhass: pipework: doesn't seem to explain why it's noisy either?
[23:14:14] shevy: well they are using some catchy phrases
[23:14:17] pipework: You may end up banning a subnet or two of addresses for a time for a persistent annoyance.
[23:14:19] shevy: "side-effect free programming"
[23:14:20] Aeyrix: jhass: ( ._.)
[23:14:37] Aeyrix: jhass: It's in the first sentence.
[23:14:42] Aeyrix: "Akick, also known as auto kick, will remove a user or host from the channel constantly."
[23:14:48] Aeyrix: AKICK + Autorejoin = ?
[23:14:48] eam: jhass: the angle is to harass by generating noise and attention
[23:14:50] pipework: jhass: The way it behaves is that it bans people who try to join when they try to join if they try to join.
[23:14:50] Aeyrix: Solve for ?.
[23:15:04] pipework: Not sure what I could say that isn't in the atheme docs for akick, really.
[23:15:12] Aeyrix: >still using Atheme
[23:15:16] jhass: as said, we set a nick and an IP akick
[23:15:17] Aeyrix: >year of our lord 3020 - 1005
[23:15:27] Aeyrix: jhass: ...?
[23:15:32] edwinvdgraaf: has joined #ruby
[23:15:34] jhass: which we would directly set as +b too
[23:15:43] pipework: Just use /mode +b and forget the akick.
[23:15:51] pipework: IRC isn't this hard. :(
[23:15:53] shevy: now you guys have an even longer discussion about it than the prior kick-messages ;)
[23:15:58] Aeyrix: Using +b manually means I can't autorejoin with a proxy cycle and flood the channel with bullshit.
[23:16:08] jhass: no, we want reliable expiration
[23:16:17] pipework: jhass: Write a bot.
[23:16:21] shevy: he did!!!
[23:16:24] jhass: bots break
[23:16:27] pipework: One that doesn't use akick.
[23:16:33] pipework: jhass: Write a better bot.
[23:16:38] wildroman2: has joined #ruby
[23:17:01] demophoon: +b lists get long and can fill up, then what do you do?
[23:17:07] GriffinHeart: has joined #ruby
[23:17:08] eam: expiry is pretty simple to handle, ircd will tell you how old your bans are
[23:17:14] jhass: we've been using akick through the bot for over a good month now, that's while we're under increased trolling
[23:17:16] nateberkopec: has joined #ruby
[23:17:16] Aeyrix: demophoon: You move to a network that isn't shit tier and has a cap on ban lists.
[23:17:17] pipework: A chum and I hacked a neat distributed IRC bot together in an afternoon.
[23:17:31] eam: if you're depending on the bot to ban it's not unreasonable to assume it's also working to prune old bans
[23:17:34] towski_: has joined #ruby
[23:17:36] jhass: it's interesting that you only started to complain once I mentioned that it uses akick behind the scenes
[23:17:39] pipework: jhass: If your answer is that you're just going to ignore the advice, then I can't halp you in your preferred ignorance.
[23:17:57] eam: jhass: I think they're complaining because it generates a ton of spam
[23:17:58] pipework: I haven't complained about trolls in a long while, that's probably the coincedence.
[23:18:17] eam: I'm not telling you what to do mind you, but I also do find it obnoxious
[23:18:30] Aeyrix: To clarify, I'm not even complaining.
[23:18:43] Aeyrix: I'm just stating there is a better way, and this current way is vulnerable to what can be described as reflected flooding.
[23:18:43] pipework: Generally, people who op tend to be pretty opinionated on what's best when doing op-related things.
[23:19:15] jhass: +b has clear drawbacks, expiration is less reliable, the ban list limit is reached faster
[23:19:17] pipework: If akick is the desired behaviour, no worries.
[23:19:33] pipework: jhass: You know who reaches that ban list limit? #ubuntu and then very few others.
[23:19:35] workmad3: has joined #ruby
[23:19:39] Aeyrix: >the ban list limit
[23:19:45] jhass: we recently reached the limit
[23:19:48] pipework: It's reset once a year anyways.
[23:19:53] pipework: jhass: You didn't clear old bans?
[23:19:53] Aeyrix: networks still have a ban list limit in 2015?
[23:19:57] Ropeney: has joined #ruby
[23:21:00] jhass: but tbh I'm also about the only op that cleans it up from time to time, which is why we want expiration
[23:21:58] Aeyrix: Don't you have a bot?
[23:22:21] jhass: yes, but ChanServ is a lot more reliable and tested than that
[23:22:29] jhass: especially since the bot is new
[23:22:50] pipework: I guess the request for less noise is being denied then. Good luck with op'ing!
[23:23:08] jhass: and tbh I still don't quite follow, ChanServ doesn't even need a join/part, or an op/unop, like the bot would
[23:24:11] Aeyrix: ChanServ is also discontinued software.
[23:24:47] jhass: https://github.com/freenode/atheme last commit April 17
[23:24:58] Aeyrix: LOL THEY FORKED IT
[23:25:03] Aeyrix: Oh Freenode, you're so cute.
[23:25:26] Aeyrix: jhass: Read the readme, mate.
[23:25:30] pipework: https://github.com/freenode/atheme#discontinuation-notice
[23:25:31] Aeyrix: Come on buddy, get it together.
[23:25:33] shevy: "To this end, we will maintain Atheme 7.2 as a suitable base for forking until October 31, 2015, with all services terminating on October 31, 2016."
[23:25:36] shevy: IRC is dying!
[23:25:41] Aeyrix: to the services you used to be
[23:25:43] Aeyrix: your days are over
[23:25:44] jhass: well, doesn't mean it's bad
[23:25:46] Aeyrix: baby it's over
[23:25:49] shevy: we may be here for the last year
[23:25:56] Aeyrix: shevy: Nah, there's work on new stuff.
[23:25:58] Aeyrix: Also Anope.
[23:25:58] jhass: or it will suddenly stop working beyond that date
[23:26:06] Radar: jhass: neat :)
[23:26:08] shevy: I expect the worst
[23:26:12] Aeyrix: jhass: Oh you've never met the Atheme devs, have you?
[23:26:18] shevy: before #ruby-lang and #ruby can be merged
[23:26:19] Aeyrix: They'll probably release a 0day.
[23:26:20] shevy: freenode will die ...
[23:26:49] shadoi1: has joined #ruby
[23:26:58] scottstamp: has joined #ruby
[23:26:58] serivich: has joined #ruby
[23:27:04] longfeet: has joined #ruby
[23:27:06] jhass: Aeyrix: want my honest opinion? I think you're the type that desperately seeks reasons to claim loudly how shitty everything people do is
[23:27:07] shevy: hmm they don't note down there on that readme what they are working now
[23:27:11] shevy: *working on now
[23:27:46] Aeyrix: jhass says, claiming that nobody can code a bot capable of tracking the time.
[23:27:51] Aeyrix: shevy: They aren't.
[23:28:09] pipework: jhass: My honest opinion at the moment is that you seem to be desperately refusing to accept that maybe your approach wasn't best and you don't sound remotely interested in exploring the possibility that there are other people here who just know better.
[23:28:16] jhass: uhm, I say we use ChanServ because we trust it's very capable of that
[23:28:16] Aeyrix: They abandoned Tethys, the new version of Charybdis (which ircd-seven, freenode's base).
[23:28:20] Aeyrix: jhass: No.
[23:28:25] pipework: Just a thought.
[23:28:31] rickmasta: has joined #ruby
[23:28:49] shevy: ircd-seven hmm
[23:28:53] eam: here's a thought, the discussion about how to manage this channel is now generating more offtopic spam than the troll was
[23:28:56] jhass: it might be the 4 hours of sleep I had today, but I honestly don't understand the claim that it's more noisy than the alternatives
[23:28:59] Aeyrix: I don't really care.
[23:29:00] failshell: has joined #ruby
[23:29:05] pipework: eam: And complaining about complaining is only adding to that!
[23:29:09] Aeyrix: I just suggested a better way but jhass took it as a personal attack.
[23:29:22] shevy: you guys are still at it!
[23:29:24] Aeyrix: I apologise, jhass, for considering that you might not be the ultimate font of knowledge about IRC.
[23:29:31] chipotle: has joined #ruby
[23:29:38] Aeyrix: It's not like I've been working with it at a protocol level for six years.
[23:29:56] pipework: jhass: It is measurably noisier. I don't care to prove it to you, but I will leave you with this phrase, "Flood joins", and hope you reach some enlightenment on the issue.
[23:30:18] shevy: come on guys
[23:30:27] Aeyrix: shevy: Both of us are done now.
[23:30:29] Aeyrix: Clearly we know less.
[23:30:48] jhass: Aeyrix: you feel personally attacked by me, so I won't enforce it personally, but I'd like you to remind you of our channel rules http://ruby-community.com/pages/user_rules Don't even discuss, I'll put you on ignore now, too tired of your attitude
[23:31:00] Aeyrix: there it is
[23:31:01] Aeyrix: the channel rules
[23:31:07] Aeyrix: also no jhass
[23:31:11] Aeyrix: it was the other way around
[23:31:20] wildroman2: has joined #ruby
[23:31:26] pipework: Your channel, your rules. Too bad the ops here aren't aware of freenode's policy on catalysts. :(
[23:31:39] Aeyrix: Too bad jhass can't read.
[23:31:41] eam: some really unfortunate personalities on display here
[23:31:47] Aeyrix: I clearly said *he* felt attacked, not me.
[23:32:16] Aeyrix: pipework: Maybe the channel should move to EsperNet.
[23:32:40] pipework: Aeyrix: It's not really something that can be done officially without ruby-lang.org being changed to reflect that.
[23:32:42] KC9YDN: has joined #ruby
[23:32:42] KC9YDN: has joined #ruby
[23:32:53] Aeyrix: pipework: I was being sarcastic, have you actually used EsperNet?
[23:32:54] pipework: But surely other networks might have such channels.
[23:32:57] jenrzzz: has joined #ruby
[23:33:11] pipework: Aeyrix: Nope, can't say I have.
[23:33:16] Aeyrix: Nobody can suggest that network in good conscience.
[23:33:37] pipework: I've had a good time with undernet and a couple small networks, but freenode is usually where I hang out.
[23:33:45] Aeyrix: shevy: Not in good conscience! :D
[23:33:54] Aeyrix: pipework: Undernet. \o/
[23:34:04] al2o3-cr: why can't i have unless here: URI.extract(data, /http|https/).map {|url| Nokogiri(open(url)).title rescue nil }.select {|url| unless url.nil? }
[23:34:07] shevy: I only used to know GalaxyNet. Lots of people from Singapore, writing in singlish-chinese mixed variant.
[23:34:19] pipework: al2o3-cr: Because you don't need it.
[23:34:37] Aeyrix: EFNet / Undernet / Freenode / Rizon
[23:34:37] al2o3-cr: pipework: what just url.nil?
[23:34:38] shevy: al2o3-cr you can reformulate anyway; select or reject; and rather than unless, use ! or no !
[23:34:44] Aeyrix: plus my own smaller net
[23:34:52] al2o3-cr: shevy: ah lemme try
[23:34:57] pipework: Change the block for the select to {|url| url }
[23:35:10] pipework: or switch to #reject {|url| url.nil? }
[23:35:21] al2o3-cr: pipework: ok
[23:35:27] shevy: select is even shorter
[23:35:55] shevy: or .compact actually
[23:36:01] al2o3-cr: ah reject did no thinking thanks pipework shevy
[23:36:18] pipework: Aeyrix: I guess I have shortly joined EFNet before.
[23:36:34] pipework: shevy: #compact doesn't get rid of all falsy objects though.
[23:40:42] xxneolithicxx: to javascript or not to javascript, thats the new ugly question
[23:41:18] pipework: xxneolithicxx: But job requires 25 years of JS experience.
[23:41:46] xxneolithicxx: that was too funny for no reason
[23:43:37] pipework: xxneolithicxx: It was meant to be depressing. :(
[23:44:11] shevy: 25 years was too much to sound depressing
[23:46:34] bootstrappm: i missed all the fun / noise too
[23:46:58] shevy: now it's so quiet again
[23:46:58] xxneolithicxx: i have to learn nodejs and as i was googling, i was like damn, the amount of Javascript around here is just too damn high
[23:47:10] shevy: javascript is killing ruby xxneolithicxx
[23:47:11] xxneolithicxx: .js this .js that
[23:47:23] bootstrappm: IMO it was a mixture of condescension and stubbornness from a hurt ego, glad its over
[23:47:33] bootstrappm: though the condescension is more irritating to tell you the truth
[23:47:45] pipework: io.js is nice though
[23:47:49] bootstrappm: javascript + node is fun .... just not for everything
[23:47:53] pipework: As far as reactor-based noise goes.
[23:48:39] Scripore: has joined #ruby
[23:50:22] elfuego: has joined #ruby
[23:51:07] lsmola: has joined #ruby
[23:51:46] dorei: javascript is a monument of backward compatibility stupidity
[23:52:14] Radar: dorei: Do you have any opinions about JS you would like to share? I am sensing this might be the case.
[23:52:24] mrmargolis: has joined #ruby
[23:52:33] martin_work: has joined #ruby
[23:52:52] Aeyrix: Dart is better.
[23:53:13] bootstrappm: surprising how much JS comes up in this channel
[23:53:37] pipework: Mmm dart is so cool.
[23:53:38] TheNet: has joined #ruby
[23:53:52] shevy: Dart is the best thing ever.
[23:54:06] pipework: They're all, "Nah, you don't need to worry about cross-browser. We'll take care of that." Signed, the best core team ever.
[23:54:10] dru`: has joined #ruby
[23:54:41] xxneolithicxx: ^ exactly why i stayed away from web development
[23:54:58] xxneolithicxx: oh your CSS works in this browser but not that one... good luck with that buddy
[23:55:07] Aeyrix: That's why we use shitty JS hacks.
[23:55:09] Aeyrix: OBVIOUSLY
[23:55:13] pipework: If I wasn't preoccupied with drinking away the depression that comes with not enough places using dart, I'd use the money I spend on booze to singlehandedly keep the gift basket industry afloat with baskets being sent to the core team on the daily.
[23:55:49] bootstrappm: had a friend at my ex job that was a maaaster of CSS, new all the browser hacks
[23:56:18] Aeyrix: ACTION is well versed in that horrible labyrinth.
[23:56:25] DerisiveLogic: has joined #ruby
[23:56:26] bootstrappm: related: http://techcrunch.com/2015/03/25/google-will-not-integrate-its-dart-programming-language-into-chrome/
[23:56:34] xxneolithicxx: it almost feels like a gravitation to less and less sophisticated languages in the hopes of boosting coding productivity among so so coders
[23:57:38] spyderman4g63: has joined #ruby
[23:58:42] bronson: has joined #ruby
[23:59:58] juanpaucar: has joined #ruby