« Back to channel list

#ruby - 08 June 2015

« Back 1 day Forward 1 day »
[00:00:09] havenwood: bougyman: What's your screener screening for?
[00:00:23] bougyman: havenwood: we worked with them on the questions.
[00:00:36] bougyman: a bit of ruby, a bit of ecma, a bunch of general programming and methodology questions.
[00:00:58] baweaver: bougyman: What levels are you looking for?
[00:01:07] baweaver: Might know a few looking to get out there.
[00:01:25] n008f4g_: has joined #ruby
[00:01:51] bougyman: baweaver: if so send em my way
[00:02:00] bougyman: tj@rubyists.com or tj@geoforce.com, either one
[00:02:03] baweaver: Juniors in terms of ruby.
[00:02:08] Stany: has joined #ruby
[00:02:24] bougyman: if they contact me they don't have to go through the screener.
[00:02:32] bougyman: so they'll see diff questions.
[00:03:03] bougyman: we have some scala, some java, a few other lingos now added to our infra so it'd be nice to have more polymath.
[00:03:05] baweaver: The one I know right now that's looking has already worked as an analyst and is looking to get into a full engineering role. Already has C++ chops
[00:03:20] bougyman: but they've got 8 years of legacy rails we're breaking apart so knowing at least the basics of ruby is necessary, too
[00:03:22] baweaver: That, and he used to make a mean text rpg in high school on the TI-83
[00:03:55] bougyman: so long as he's not a Visual Studio C++ guy, i'd be interested to talk to him
[00:03:58] dorei: something like this maybe
[00:04:05] dorei: >> w = Struct.new(:x,:y); z = [w.new(5, 10), w.new(13, 7)]; z.class.instance_exec { z[0].class.instance_methods(false).map { |m| define_method(m) { map(&m) } } } ; z.x
[00:04:06] ruboto: dorei # => [5, 13] (https://eval.in/377070)
[00:04:32] baweaver: Well, more of a Blood C++ iirc
[00:04:38] baweaver: bloodshed, I think that was it
[00:04:50] baweaver: either way he could learn ruby easily enough
[00:05:10] Filete: has joined #ruby
[00:05:36] baweaver: Myself, I'm set for a while
[00:05:43] leat2: has joined #ruby
[00:06:05] baweaver: If anyone's looking to the bay area though, people are always looking out this way too ;)
[00:06:37] atomical: has joined #ruby
[00:07:15] segy: has joined #ruby
[00:08:05] zotherstupidguy: has joined #ruby
[00:08:06] imperator: has joined #ruby
[00:08:06] banister: has joined #ruby
[00:08:27] PlasmaStar: has joined #ruby
[00:10:13] imperator: hm, i'm suddenly having trouble finding ruby-talk-google
[00:10:22] shevy: it's the age!
[00:10:49] shevy: this? http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml
[00:11:44] shevy: mankind archives everything
[00:12:09] RegulationD: has joined #ruby
[00:13:03] Yzguy: has joined #ruby
[00:13:06] imperator: right, there's a google group for it, only i don't see it now shevy
[00:13:06] CustosLimen: has joined #ruby
[00:14:17] Fooster: has joined #ruby
[00:14:29] imperator: eh, nm, i'll use email
[00:16:01] leat2: has joined #ruby
[00:16:59] sevenseacat: has joined #ruby
[00:18:48] senayar: has joined #ruby
[00:20:39] hdev1: has joined #ruby
[00:21:15] justintv90: has joined #ruby
[00:21:29] AbinoamJr: has joined #ruby
[00:23:06] AbinoamJr: has joined #ruby
[00:23:15] Rodya_: has joined #ruby
[00:23:38] _blizzy_: has joined #ruby
[00:24:14] blue_deref: has joined #ruby
[00:24:29] leat2: has joined #ruby
[00:24:30] deric_skibotn: has joined #ruby
[00:27:40] _blizzy_: has joined #ruby
[00:28:30] Scripore: has joined #ruby
[00:29:02] swgillespie: has joined #ruby
[00:29:55] _blizzy_: has joined #ruby
[00:30:00] michael_mbp: has joined #ruby
[00:30:31] mrmargolis: has joined #ruby
[00:30:59] senayar: has joined #ruby
[00:31:47] fujimura: has joined #ruby
[00:33:13] hdev1: has joined #ruby
[00:33:41] djbkd: has joined #ruby
[00:34:39] bemehow: has joined #ruby
[00:37:39] Oog: has joined #ruby
[00:39:13] vikaton: has joined #ruby
[00:42:41] robustus: has joined #ruby
[00:43:11] bemehow: hello everyone. I'm stuck with old-style rspec codebase and trying to mock the writes to a file to make sure it get's the expected data. I'm definitely not experienced with it. Can someone take a look? trying to use expectation on the file double to expect receiving :write but the data seems never get passed http://pastebin.com/KJHfU2kT
[00:43:12] ruboto: bemehow, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/2f4308c33ea377c45c38
[00:43:12] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[00:44:08] jhooker: has joined #ruby
[00:44:37] mc_fail: has joined #ruby
[00:46:24] dseitz: has joined #ruby
[00:49:00] pdoherty: has joined #ruby
[00:50:42] justintv90: has joined #ruby
[00:52:19] rushed: has joined #ruby
[00:52:35] |\|370: has joined #ruby
[00:54:12] Channel6: has joined #ruby
[00:56:33] ghr: has joined #ruby
[00:58:59] j4cknewt: has joined #ruby
[01:01:38] Rollabunna: has joined #ruby
[01:02:13] unreal: has joined #ruby
[01:03:01] bronson: has joined #ruby
[01:04:06] p1k: has joined #ruby
[01:05:18] Yiota: has joined #ruby
[01:05:34] Yiota: help, my new job requires me to know ruby
[01:05:43] Yiota: how similar is it to python?
[01:06:24] willharr_: has joined #ruby
[01:09:19] hfp: Hmmm why does `require "active_support/core_ext/date/calculations"` work fine but not `require "active_support/core_ext/numeric/conversions"`?
[01:10:19] justintv90: has joined #ruby
[01:11:02] sevenseacat: hfp: define 'not work'
[01:11:30] crdpink: has joined #ruby
[01:12:03] pontiki: has joined #ruby
[01:12:45] hfp: sevenseacat: https://gist.github.com/anonymous/5a4ff7adfbc618bcbb8e
[01:12:53] govg: has joined #ruby
[01:14:10] mc_fail_: has joined #ruby
[01:14:13] zotherstupidguy: has joined #ruby
[01:14:37] sevenseacat: hfp: error message seems pretty self-explanatory - that file loads this one https://github.com/rails/rails/blob/v4.2.0/activesupport/lib/active_support/number_helper.rb which references an unloaded constant
[01:16:13] bkxd: has joined #ruby
[01:16:55] leat2: has joined #ruby
[01:17:50] hfp: ah ok I just got it. There is a line missing in the doc I think
[01:18:20] xxneolithicxx: has joined #ruby
[01:20:19] edwardly: has joined #ruby
[01:20:19] edwardly: has joined #ruby
[01:21:02] Jandre: has joined #ruby
[01:21:07] ss_much: has joined #ruby
[01:21:10] luckyme: has joined #ruby
[01:22:05] mdz_: has joined #ruby
[01:26:18] leat2: has joined #ruby
[01:26:33] ruby-lang761: has joined #ruby
[01:27:09] ruby-lang662: has joined #ruby
[01:27:36] fabrice31: has joined #ruby
[01:29:10] j4cknewt: has joined #ruby
[01:29:17] rickmasta: has joined #ruby
[01:30:35] zotherstupidguy: has joined #ruby
[01:31:11] Rubie: has joined #ruby
[01:31:14] datanoise: has joined #ruby
[01:32:49] jottr: has joined #ruby
[01:34:58] leat2: has joined #ruby
[01:35:37] knight101: has joined #ruby
[01:35:57] edwardly: has joined #ruby
[01:35:58] edwardly: has joined #ruby
[01:37:46] zotherstupidguy: has joined #ruby
[01:39:50] Musashi007: has joined #ruby
[01:41:52] Yzguy: has joined #ruby
[01:43:07] tkuchiki: has joined #ruby
[01:44:38] justintv90: has joined #ruby
[01:47:32] fujimura: has joined #ruby
[01:48:34] jhn: has joined #ruby
[01:48:49] Ariadeno: has joined #ruby
[01:49:19] freerobby: has joined #ruby
[01:49:57] edwardly: has joined #ruby
[01:49:58] edwardly: has joined #ruby
[01:50:33] blt_: has joined #ruby
[01:50:57] rushed: has joined #ruby
[01:53:34] knight101: I'm having a little trouble searching by name on a test I'm trying to write in Ruby + Selenium. While I've gotten find_elements to find the actual element I want, I don't know how to tell Selenium to click that specific element. Any help would be appreciated.
[01:54:53] zotherstupidguy: has joined #ruby
[01:57:20] ghr: has joined #ruby
[01:58:17] Fooster: has joined #ruby
[02:01:04] RegulationD: has joined #ruby
[02:01:08] chipotle: has joined #ruby
[02:03:28] justintv90: has joined #ruby
[02:06:27] charliesome: has joined #ruby
[02:06:29] jottr_: has joined #ruby
[02:07:28] bogdanteleaga: has joined #ruby
[02:10:01] michael_mbp: has joined #ruby
[02:11:41] robbyoconnor: has joined #ruby
[02:12:01] Rodya_: has joined #ruby
[02:13:45] towski_: has joined #ruby
[02:14:34] atomical: has joined #ruby
[02:16:56] casadei: has joined #ruby
[02:17:10] edwardly: has joined #ruby
[02:17:10] edwardly: has joined #ruby
[02:20:00] ohaibbq: has joined #ruby
[02:20:32] mberk: has joined #ruby
[02:20:46] Cort3z: has joined #ruby
[02:20:58] hdev1: has joined #ruby
[02:21:50] fujimura: has joined #ruby
[02:24:10] bemehow: has joined #ruby
[02:24:32] davedev24: has joined #ruby
[02:25:12] robbyoconnor: has joined #ruby
[02:25:43] keen__: has joined #ruby
[02:26:06] djbkd: I was perusing the ruby C extension docs on guides.rubygems and am curious why the rdoc for makemakefile is in the forbidden zone? http://ruby-doc.org/stdlib-2.0/libdoc/mkmf/rdoc/MakeMakefile.html
[02:27:35] mary5030: has joined #ruby
[02:27:44] robbyoconnor: has joined #ruby
[02:29:25] Olipr|: has joined #ruby
[02:31:30] Olipr|: has joined #ruby
[02:33:57] AbinoamJr: has joined #ruby
[02:36:11] leat2: has joined #ruby
[02:38:31] olistik: has joined #ruby
[02:45:33] leat2: has joined #ruby
[02:46:21] dfockler: has joined #ruby
[02:49:44] Jandre: has joined #ruby
[02:56:00] havenwood: has joined #ruby
[02:56:03] rushed: has joined #ruby
[02:58:02] ghr: has joined #ruby
[02:59:23] hdev1: has joined #ruby
[03:00:04] iamninja: has joined #ruby
[03:00:32] paradisaeidae: has joined #ruby
[03:01:03] FlyAssNigga: has joined #ruby
[03:01:29] FlyAssNigga: what's up wit it
[03:01:54] sevenseacat: !ban FlyAssNigga !T 1d
[03:01:55] ChanServ: +b FlyAssNigga!*@*
[03:01:55] ChanServ: ChanServ kicked FlyAssNigga: is banned from this channel
[03:02:30] Rollabunna: has joined #ruby
[03:03:54] Channel6: has joined #ruby
[03:04:01] brum: has joined #ruby
[03:07:51] Oog: has joined #ruby
[03:07:54] j4cknewt: has joined #ruby
[03:09:23] willharr_: has joined #ruby
[03:10:20] furoido: has joined #ruby
[03:10:33] furoido: anyone familiar with wordmove?
[03:11:44] joneshf-laptop: has joined #ruby
[03:13:41] braincrash: has joined #ruby
[03:14:11] houhoulis: has joined #ruby
[03:15:30] tkuchiki_: has joined #ruby
[03:16:44] j4cknewt: has joined #ruby
[03:17:53] yourabi: has joined #ruby
[03:18:52] pengin: has joined #ruby
[03:19:02] darkf: has joined #ruby
[03:20:03] swgillespie: has joined #ruby
[03:22:17] jeeves_moss: has joined #ruby
[03:23:13] bronson: has joined #ruby
[03:24:16] jeeves_moss: how do I install chipmunk on Ubuntu
[03:26:28] x1337807x: has joined #ruby
[03:27:47] Darkwater: has joined #ruby
[03:27:49] spacemud: has joined #ruby
[03:27:49] kq_away: has joined #ruby
[03:27:50] moredhel: has joined #ruby
[03:27:57] bkutil_: has joined #ruby
[03:27:58] saltsa: has joined #ruby
[03:27:59] jerryberry__: has joined #ruby
[03:28:00] izzol: has joined #ruby
[03:28:00] awwaiid: has joined #ruby
[03:28:01] kent\n: has joined #ruby
[03:28:01] redlegion: has joined #ruby
[03:28:01] Sthebig: has joined #ruby
[03:28:02] iamayam: has joined #ruby
[03:28:02] nomadic: has joined #ruby
[03:28:02] genpaku: has joined #ruby
[03:28:03] shawnacscott: has joined #ruby
[03:28:04] klaas: has joined #ruby
[03:28:05] mattp__: has joined #ruby
[03:28:06] yokel: has joined #ruby
[03:28:06] Skelz0r: has joined #ruby
[03:28:07] jzigmund: has joined #ruby
[03:28:07] kappy: has joined #ruby
[03:28:07] Prira: has joined #ruby
[03:28:07] gregf_: has joined #ruby
[03:28:07] terlar: has joined #ruby
[03:28:08] jcake: has joined #ruby
[03:28:09] noname: has joined #ruby
[03:28:11] mburns: has joined #ruby
[03:28:12] kloeri: has joined #ruby
[03:28:13] fabrice31: has joined #ruby
[03:28:14] skyrocker: has joined #ruby
[03:28:16] Sirecote: has joined #ruby
[03:28:16] df: has joined #ruby
[03:28:17] badeball: has joined #ruby
[03:28:23] julieeharshaw: has joined #ruby
[03:28:29] Voxxit: has joined #ruby
[03:28:30] bougyman: has joined #ruby
[03:28:30] bougyman: has joined #ruby
[03:28:30] sash_: has joined #ruby
[03:28:34] zlude: has joined #ruby
[03:28:49] mahlon: has joined #ruby
[03:28:56] codex: has joined #ruby
[03:29:00] nwhirschfeld: has joined #ruby
[03:29:01] avalarion: has joined #ruby
[03:29:03] PaulCapestany: has joined #ruby
[03:30:22] adefa: has joined #ruby
[03:31:31] kinduff: has joined #ruby
[03:31:31] kinduff: has joined #ruby
[03:32:11] dopie: has joined #ruby
[03:33:45] surs: has joined #ruby
[03:34:38] bantic: has joined #ruby
[03:40:11] agilenav: has joined #ruby
[03:40:24] stnly: has joined #ruby
[03:42:06] CustosLimen: has joined #ruby
[03:44:02] zotherstupidguy: has joined #ruby
[03:45:05] dgutierrez1287: has joined #ruby
[03:46:23] duderonomy: has joined #ruby
[03:49:55] RegulationD: has joined #ruby
[03:51:06] rickmasta: has joined #ruby
[03:55:15] gsd_: has joined #ruby
[03:55:28] pwnz0r: has joined #ruby
[03:55:51] bkxd: has joined #ruby
[03:55:55] pepperbreath: has joined #ruby
[03:56:46] leat2: has joined #ruby
[03:56:50] gix: has joined #ruby
[03:58:38] bruno-: has joined #ruby
[03:58:47] Oog: has joined #ruby
[03:58:56] tkuchiki: has joined #ruby
[03:58:57] ghr: has joined #ruby
[03:59:30] AhabsBeard: has joined #ruby
[03:59:52] Parker0: has joined #ruby
[04:00:44] Rodya_: has joined #ruby
[04:00:53] Torsten`: has joined #ruby
[04:03:28] mrmargolis: has joined #ruby
[04:09:26] datanoise: has joined #ruby
[04:11:32] polyrob: has joined #ruby
[04:11:46] phat4life: has joined #ruby
[04:12:01] phat4life: why doesn't this work? https://gist.github.com/ajbeach2/32ac6a5bb65df27ac318
[04:13:22] yorickpeterse: because it runs faster than 1 second
[04:14:15] phat4life: nvm i am dumb god damnit
[04:15:34] phat4life: oh wait, nvm that nvm
[04:15:45] phat4life: https://gist.github.com/ajbeach2/32ac6a5bb65df27ac318 i updated this, and its not behaving as I expect
[04:15:45] braincra-: has joined #ruby
[04:16:29] baweaver: yorickpeterse: Not quite
[04:16:33] krz: has joined #ruby
[04:16:45] baweaver: That proc has a static value
[04:16:50] baweaver: It's not getting a new time
[04:17:07] Torsten`: has joined #ruby
[04:17:36] Ariadeno: has joined #ruby
[04:17:36] baweaver: >> t = Time.now; pr = ->{t}; 10.times.map(&pr)
[04:17:37] ruboto: baweaver # => wrong number of arguments (1 for 0) (ArgumentError) ...check link for more (https://eval.in/377101)
[04:17:43] baweaver: >> t = Time.now; pr = ->x{t}; 10.times.map(&pr)
[04:17:44] ruboto: baweaver # => [2015-06-08 04:17:44 +0000, 2015-06-08 04:17:44 +0000, 2015-06-08 04:17:44 +0000, 2015-06-08 04:17:4 ...check link for more (https://eval.in/377102)
[04:17:49] pepperbreath1: has joined #ruby
[04:18:05] mdz_: has joined #ruby
[04:18:12] baweaver: >> pr = ->x{Time.now}; 10.times.map(&pr)
[04:18:13] ruboto: baweaver # => [2015-06-08 04:18:12 +0000, 2015-06-08 04:18:12 +0000, 2015-06-08 04:18:12 +0000, 2015-06-08 04:18:1 ...check link for more (https://eval.in/377103)
[04:18:26] baweaver: >> pr = ->x{sleep(1);Time.now}; 10.times.map(&pr)
[04:18:29] ruboto: baweaver # => (https://eval.in/377104)
[04:18:54] baweaver: ....scratch that
[04:19:01] baweaver: yeah, it is the one second bit
[04:19:35] gianlucadv: has joined #ruby
[04:19:37] olistik: has joined #ruby
[04:19:46] stardiviner: has joined #ruby
[04:19:49] vdamewood: has joined #ruby
[04:20:03] shevy: oh man I always miss the fun
[04:20:21] shevy: sevenseacat had fun again
[04:20:30] baweaver: ACTION will stop digging himself a hole here
[04:20:38] ogpastaling: has joined #ruby
[04:20:44] shevy: beavers dig, it is natural for them
[04:20:50] shevy: hmm no wait... these were the moles...
[04:21:20] baweaver: There's plenty of room down here shevy
[04:22:11] vinleod: has joined #ruby
[04:22:13] workmad3: has joined #ruby
[04:30:56] zotherstupidguy: has joined #ruby
[04:31:20] balazs: has joined #ruby
[04:31:42] s2013: has joined #ruby
[04:32:13] charliesome: has joined #ruby
[04:32:29] mrsolo: has joined #ruby
[04:32:40] thomas: has joined #ruby
[04:33:19] Torsten`: has joined #ruby
[04:35:53] AhabsBeard: has joined #ruby
[04:38:32] browsestoics: has joined #ruby
[04:38:58] bronson: has joined #ruby
[04:40:06] _blizzy_: has joined #ruby
[04:41:31] mrsolo: has joined #ruby
[04:42:27] hubcaps: has joined #ruby
[04:42:27] hubcaps: has joined #ruby
[04:43:21] CustosLimen: has joined #ruby
[04:46:03] ogpastaling: has joined #ruby
[04:46:32] war_pigs_: has joined #ruby
[04:46:41] meadhikari: has joined #ruby
[04:48:13] shevy: Gregory Brown is no longer actively maintaining prawn
[04:49:00] sevenseacat: shevy: so who is?
[04:49:12] Torsten`: has joined #ruby
[04:49:22] pontiki: maybe he should launch another kickstarter
[04:49:39] sevenseacat: ohhh wait I know who that is
[04:49:48] sevenseacat: thats the practicing ruby guy
[04:49:49] shevy: the github readme says Evan Sharp (PacketMonkey) and Alexander Mankuta (cheba); I don't know them, not saying anything good or bad. I just remember that the identity of most projects tends to change with different people
[04:49:56] pontiki: https://www.kickstarter.com/projects/828998531/practicing-ruby-contributors-fund
[04:50:00] sevenseacat: yeah I loled at that
[04:50:07] Ariadeno: has joined #ruby
[04:50:23] pontiki: it's a banner on ruby-doc.org
[04:50:26] sevenseacat: he's also the guy that picked a fight with amy hoy on twitter
[04:50:39] sevenseacat: whoa why is it a banner there?
[04:50:52] sevenseacat: i dont like that, at all
[04:50:53] pontiki: i don't know
[04:51:05] pontiki: i don't know who actually runs ruby-doc.org
[04:53:32] sevenseacat: that leaves a bad taste in my mouth
[04:54:55] kp666: has joined #ruby
[04:54:57] sandelius: has joined #ruby
[04:54:59] shevy: he has a big bushy beard
[04:55:33] ellisTAA: has joined #ruby
[04:57:11] bnagy: I accidentally conflated the bad taste in mouth and big bushy beard lines :<
[04:58:06] pontiki: lol, that's just rong, bnagy
[04:58:15] Hacker_TO: has joined #ruby
[04:59:13] Ox0dea: has joined #ruby
[05:01:05] fujimura: has joined #ruby
[05:01:34] Deele: has joined #ruby
[05:02:22] mrsolo: has joined #ruby
[05:03:24] Rollabunna: has joined #ruby
[05:03:27] 6JTABAN40: has joined #ruby
[05:05:26] Torsten`: has joined #ruby
[05:06:11] rht: has joined #ruby
[05:06:12] apofis: has joined #ruby
[05:07:02] riotjones: has joined #ruby
[05:07:40] apofis: has joined #ruby
[05:09:36] zotherstupidguy: has joined #ruby
[05:09:57] swgillespie: has joined #ruby
[05:10:53] s2013: has joined #ruby
[05:11:07] zotherstupidguy: whats the link for radar's irc log
[05:12:34] Ox0dea: zotherstupidguy: Radar's?
[05:13:08] shevy: Radar the dude here
[05:13:09] zotherstupidguy: http://logs.ryanbigg.com/
[05:13:17] Aeyrix: http://logs.ryanbigg.com/ruby
[05:13:39] Ox0dea: http://irclog.whitequark.org/ruby
[05:13:59] zotherstupidguy: if only he adds some styling, i find ryan's easer to read
[05:14:20] Musashi1: has joined #ruby
[05:14:21] jesterfraud: shevy, is prawn truly recommendable over wkhtmltopdf based methods for generating PDFs?
[05:14:32] gianlucadv: has joined #ruby
[05:14:32] Ox0dea: Negative.
[05:14:34] shevy: I think prawn is quite ok
[05:16:22] bluOxigen: has joined #ruby
[05:16:27] TommyTheKid: has joined #ruby
[05:18:32] _blizzy_: has joined #ruby
[05:18:50] metallicrwr: has joined #ruby
[05:20:07] aganov: has joined #ruby
[05:20:16] j4cknewt: has joined #ruby
[05:20:35] zotherstupidguy: has joined #ruby
[05:20:49] adefa: has joined #ruby
[05:21:15] Torsten`: has joined #ruby
[05:21:53] Spami: has joined #ruby
[05:23:05] Tamae: has joined #ruby
[05:23:08] yardenbar: has joined #ruby
[05:23:30] jesterfraud: then again, wkhtmltopdf had me beating my head against a wall because the header and footer both rendered in quirks mode when they weren't proper HTML documents, but that caused the footer to render, and not the header.
[05:25:07] kies: has joined #ruby
[05:25:16] Jandre: has joined #ruby
[05:25:33] stoogenmeyer: has joined #ruby
[05:26:29] sevenseacat: I've had really obscure bugs with wkhtmltopdf, like the time it inherited opacity on images from a div border set far far away
[05:26:37] sevenseacat: (and only on some images)
[05:26:49] sevenseacat: (and images that werent inside the div with the opacity set)
[05:26:59] sevenseacat: that took a good few days to figure out
[05:27:49] _blizzy_: has joined #ruby
[05:28:59] fabrice31: has joined #ruby
[05:29:14] danman: has joined #ruby
[05:29:16] iamninja: has joined #ruby
[05:31:57] timonv: has joined #ruby
[05:34:00] nedp_: has joined #ruby
[05:35:01] tagrudev: has joined #ruby
[05:36:22] lsmola: has joined #ruby
[05:36:22] at0m_: has joined #ruby
[05:36:32] DoubleMalt: has joined #ruby
[05:36:56] at0m_: can we adevlop andriod application with ruby??
[05:37:17] Torsten`: has joined #ruby
[05:37:48] lxsameer: has joined #ruby
[05:37:48] lxsameer: has joined #ruby
[05:38:02] zotherstupidguy: ACTION whoever posted the miku song, thank you, it so uplifting!!
[05:38:17] zotherstupidguy: at0m_ have you checked rubuto?
[05:38:31] at0m_: ya its chargeble
[05:38:40] at0m_: i want free version...
[05:38:47] RegulationD: has joined #ruby
[05:38:58] David_H__: has joined #ruby
[05:39:52] zotherstupidguy: i dont see on their website that they charge money http://ruboto.org/
[05:41:17] at0m_: jruby is java on ruby.... i want to know is there any syntax diff in jruby and ruby
[05:41:33] sevenseacat: jruby is not "java on ruby"
[05:41:41] sevenseacat: its ruby running on the jvm
[05:41:52] sevenseacat: no syntax difference, its just a different interpreter.
[05:42:31] fujimura: has joined #ruby
[05:43:33] sandstrom: has joined #ruby
[05:43:37] rickmasta: has joined #ruby
[05:44:08] at0m_: sevenseacat : no no its running of ruby code on java platform
[05:44:12] duncannz: has joined #ruby
[05:44:17] meadhikari: has joined #ruby
[05:44:18] sevenseacat: thats exactly what I just said.
[05:44:21] zotherstupidguy: ACTION ruboto is getting FUDed
[05:46:06] baweaver: jvm == java virtual machine =~ java platform
[05:46:24] techsethi: has joined #ruby
[05:46:49] at0m_: that what i said on 11:14
[05:47:08] tsujp: has joined #ruby
[05:48:23] baweaver: Yes, and we're replying by saying that's pretty much the exact same thing sevenseacat said at 11:41
[05:48:28] shevy: today is tease sevenseacat day
[05:48:41] baweaver: isn't that every day shevy
[05:49:05] baweaver: shevy: what's your animal?
[05:49:13] shevy: baweaver dunno; it's like in a regular interval; first the old-time webchat-client dude, now at0m_ being a cute parrot
[05:49:26] Rodya_: has joined #ruby
[05:49:30] shevy: I relate mostly to felines
[05:49:31] baweaver: We've already got beaver/lemur, seacat
[05:49:44] chinmay_dd: has joined #ruby
[05:49:45] sinkensabe: has joined #ruby
[05:49:59] shevy: there are not that many really great animals out there
[05:50:06] atomx: has joined #ruby
[05:50:21] Aeyrix: people aren't understanding jruby
[05:51:26] baweaver: think we scared them off
[05:51:31] baweaver: ACTION shrugs
[05:51:45] atomx: Aeyrix: its running ruby code on java platform simple...
[05:52:10] atomx: refer to ruby under microscope
[05:52:11] s2013: has joined #ruby
[05:52:23] mrmargolis: has joined #ruby
[05:52:39] zotherstupidguy: atom_ how can you do android without jvm?
[05:53:16] atomx: ya i know ,,, but i don't konw much about ruboto
[05:53:18] Aeyrix: Go, of course. :^)
[05:53:21] Torsten`: has joined #ruby
[05:53:41] shevy: atom_ is at0m_ ?
[05:53:50] baweaver: pretty sure troll
[05:54:01] shevy: I don't see any quit or join messages so it's confusing me a lot :)
[05:54:41] atomx: shevy whats wrong. correct me if i am wrong...
[05:55:17] robustus|Off: has joined #ruby
[05:55:34] bnagy: atom_: I think the point is that "java platform" isn't a very precise term, just say JVM
[05:55:53] sevenseacat: my point was that he said 'java on ruby', when its quite the opposite.
[05:55:54] atomx: why someone told me troll???
[05:56:02] shevy: well ask the guy who did so :)
[05:56:18] shevy: I am just idling really... to power
[05:56:37] baweaver: Technically android is Dalvik, but that's a different matter.
[05:56:50] atomx: no i never said java on ruby ,,, i said ruby on java platform
[05:56:59] _blizzy_: has joined #ruby
[05:57:03] bnagy: 13:40 < at0m_> jruby is java on ruby.... i want to know is there any syntax diff in jruby and ruby
[05:57:03] sevenseacat: [13:41:17] at0m_: jruby is java on ruby....
[05:57:05] zotherstupidguy: the daily spot a troll game, celebrate the culture! and you said java on ruby
[05:57:33] baweaver: bnagy for that ninja win
[05:57:48] meadhikari: has joined #ruby
[05:57:53] baweaver: Aeyrix: been a while since I poked android if you can't tell
[05:57:57] bnagy: it's half a second faster to select a full line :P
[05:57:59] sevenseacat: bnagy: gets points for sharing my timezone
[05:58:08] atomx: okk thats was my fault...
[05:58:10] Aeyrix: baweaver: Hahaha I only said it because we were being precise. ;)
[05:58:19] baweaver: Indeed indeed
[05:58:24] Oog: has joined #ruby
[05:58:25] bnagy: sevenseacat: tbh only my shell server shares your timezone
[05:58:26] baweaver: ACTION googles android runtime
[06:00:12] ghr: has joined #ruby
[06:00:31] spider-mario: has joined #ruby
[06:01:27] bkxd: has joined #ruby
[06:01:45] timonv: has joined #ruby
[06:02:32] atomx: tell me one thing why don't jruby completly dominant over ruby... means instead of learning jruby people says learn ruby
[06:02:50] sevenseacat: because a lot of people don't like/want/need the jvm.
[06:02:59] sevenseacat: plus a lot of ruby code is not compatible with it.
[06:03:12] bnagy: "a lot" ?
[06:03:18] atomx: is rvm better then jvm?
[06:03:28] multi_io: has joined #ruby
[06:03:36] sevenseacat: atom_: apples and nuclear warheads in that comparison
[06:03:43] baweaver: JVM startup time is slow
[06:04:06] Aeyrix: baweaver: tbh JVM startup time rivals rails.
[06:04:06] fujimura: has joined #ruby
[06:04:11] Aeyrix: Rails isn't a fast beast to start up.
[06:04:15] fujimura: has joined #ruby
[06:04:16] Miphix: has joined #ruby
[06:04:16] baweaver: fair enough
[06:04:21] baweaver: then again this is #ruby
[06:04:22] sevenseacat: established rails apps are still almightily slow to start.
[06:04:22] atomx: but the run time of jruby is more
[06:04:31] darkf_: has joined #ruby
[06:04:35] Aeyrix: But yeah, essentially the major reason is the fact it's not the current spec of Ruby.
[06:04:39] GriffinHeart: has joined #ruby
[06:04:53] Aeyrix: And unless you need that extra JVM performance there's no reason. It's another complexity, another thing to debug.
[06:05:14] Ox0dea: Fragmentation is hard; let's go shopping!
[06:05:26] x1337807x: has joined #ruby
[06:05:27] atomx: then there might be the chance that ruboto app will slow to start
[06:05:38] bnagy: you could mount a pretty compelling argument that it's easier to debug ruby on jvm than on mri
[06:05:40] Ox0dea: Crystal and Elixir are both on sale right now.
[06:06:16] Aeyrix: MRI is YARV now, right?
[06:06:26] baweaver: Haskell is still in the bargain bin
[06:06:28] Aeyrix: Why don't people call it YARV dammit?
[06:07:02] bnagy: mri hasn't been mri for YEARS
[06:07:07] atomx: i think they are paying respect to matz ruby creator
[06:07:08] baweaver: Yet another Ruby VM
[06:07:13] bnagy: but it's the cognate term
[06:07:20] sevenseacat: i've always heard mri called either mri or cruby
[06:07:30] sevenseacat: given its ruby implemented in C
[06:07:37] Ox0dea: >> RubyVM::InstructionSequence.of(->{}).to_a[0]
[06:07:38] ruboto: Ox0dea # => "YARVInstructionSequence/SimpleDataFormat" (https://eval.in/377161)
[06:07:44] allomov: has joined #ruby
[06:07:56] Aeyrix: CRuby lol.
[06:08:00] Aeyrix: Do we have Cuby?
[06:08:03] Aeyrix: a la Cython?
[06:08:05] Aeyrix: Rubinus, maybe?
[06:08:38] riotjones: has joined #ruby
[06:08:45] apofis: has joined #ruby
[06:08:48] atomx: rubinus is just ruby on ruby
[06:09:08] Aeyrix: Something tells me you're not qualified to make that assessment, or that hedging qualifier.
[06:09:17] Aeyrix: help i used qualify twice in that sentence.
[06:09:21] Torsten`: has joined #ruby
[06:09:26] atomx: ruby code are fragmentes into c code then into amchine code
[06:09:32] Aeyrix: Rubinius.
[06:09:40] Aeyrix: Yeah Rubinius is a JIT compiler.
[06:09:45] Aeyrix: B a l l e r
[06:09:46] bnagy: atom_: no
[06:09:56] bnagy: nothing turns ruby code into c code
[06:10:09] atomx: let me see
[06:10:15] ReK2: has joined #ruby
[06:10:39] baweaver: I'd offer you a shovel but you're already quite capable of digging yourself a hole without one.
[06:11:35] certainty: moin hackers
[06:13:03] Musashi007: has joined #ruby
[06:13:19] poguez_: has joined #ruby
[06:13:29] benlieb_: has joined #ruby
[06:13:54] codecop: has joined #ruby
[06:14:30] shevy: Cuby Cython
[06:16:00] kerunaru: has joined #ruby
[06:16:51] Stan: has joined #ruby
[06:16:55] certainty: shevy: good call xD
[06:17:09] shevy: it's a legit language
[06:17:16] shevy: allow me to quote from its array of incantations
[06:17:17] certainty: yeah i know i know
[06:17:37] shevy: ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
[06:17:40] shevy: this is hello world
[06:17:56] certainty: also it opens 3 of nine gates to hell
[06:18:03] Aeyrix: shevy: What does that compile to?
[06:18:12] Ox0dea: Aeyrix: Not all languages are programming languages.
[06:18:14] aapole: has joined #ruby
[06:18:31] Aeyrix: Ox0dea: I'll take "what is a joke" for $500, Jane.
[06:19:03] IanVorn: has joined #ruby
[06:19:23] shevy: Aeyrix not sure... ancient bytecode... the ghost in the shell... the inner matrix of the machine code universe
[06:20:03] shevy: I remember the old Cthulhu RPG
[06:20:11] Polysics: has joined #ruby
[06:20:15] IanVorn: has joined #ruby
[06:20:18] shevy: it was so difficult that the chars tended to die so quickly that you could never really build up any character for a longer while :)
[06:20:21] bnagy: that would be Azathoth, you're mixing up your Elder Gods and Outer Gods, shevy
[06:20:39] duderonomy: has joined #ruby
[06:21:52] war_pigs: has joined #ruby
[06:22:25] araujo: has joined #ruby
[06:22:38] j4cknewt: has joined #ruby
[06:23:54] vdamewood: has joined #ruby
[06:25:36] Torsten`: has joined #ruby
[06:25:39] futilegames: has joined #ruby
[06:25:57] sandelius: has joined #ruby
[06:26:18] riotjones: has joined #ruby
[06:26:49] war_pigs: has joined #ruby
[06:29:27] tvw: has joined #ruby
[06:30:49] IanVorn: has joined #ruby
[06:33:10] certainty: so shevy what are you going to do today?
[06:33:50] mc_fail: has joined #ruby
[06:34:05] vire: has joined #ruby
[06:34:40] balazs: has joined #ruby
[06:34:58] ndrei: has joined #ruby
[06:36:26] ahmetkapikiran: has joined #ruby
[06:36:31] jgt1: has joined #ruby
[06:37:33] troulouliou_dev: has joined #ruby
[06:37:38] gix: has joined #ruby
[06:39:52] mike___1234: has joined #ruby
[06:40:12] ledestin: has joined #ruby
[06:40:41] bkxd: has joined #ruby
[06:41:31] Torsten`: has joined #ruby
[06:44:44] gagrio: has joined #ruby
[06:45:59] certainty: flughafen: moin
[06:48:03] meadhikari: has joined #ruby
[06:48:05] bruno-: has joined #ruby
[06:49:36] stoogenmeyer_: has joined #ruby
[06:49:43] Ox0dea: has left #ruby: ("WeeChat 1.3-dev")
[06:49:56] flughafen: moin sevenseacat certainty
[06:50:00] allenn: has joined #ruby
[06:50:00] allenn: has joined #ruby
[06:50:37] ahmetkapikiran: has joined #ruby
[06:51:39] zotherstupidguy: has joined #ruby
[06:54:41] lkba: has joined #ruby
[06:55:06] fabrice31: has joined #ruby
[06:55:27] pyon: has joined #ruby
[06:55:43] vire: has joined #ruby
[06:56:37] Pathfinder: has joined #ruby
[06:57:24] shevy: certainty I have lab work for 4 hours, starting in 3 hours, about gene expression analysis; I think today it is isolation of RNA for qPCR tomorrow or something
[06:57:26] Scroff: has joined #ruby
[06:57:33] shevy: it's too hot to want to stand in a lab
[06:57:37] Torsten`: has joined #ruby
[06:57:45] Polysics: has joined #ruby
[06:58:56] Xeago: has joined #ruby
[06:59:32] zipace: has joined #ruby
[06:59:32] zipace: has joined #ruby
[07:00:01] arup_r: has joined #ruby
[07:00:36] DEA7TH: has joined #ruby
[07:00:39] Macaveli: has joined #ruby
[07:01:04] ghr: has joined #ruby
[07:01:54] gagrio: has joined #ruby
[07:02:09] Forgetful_Lion: has joined #ruby
[07:03:38] Scroff: has joined #ruby
[07:03:39] allomov: has joined #ruby
[07:04:04] gauke: has joined #ruby
[07:04:16] Rollabunna: has joined #ruby
[07:05:18] yaw: has joined #ruby
[07:06:52] dhjondoh: has joined #ruby
[07:07:00] towski_: has joined #ruby
[07:07:12] bkxd: has joined #ruby
[07:08:27] GriffinHeart: has joined #ruby
[07:09:32] andikr: has joined #ruby
[07:10:33] revath: has joined #ruby
[07:11:29] quimrstorres: has joined #ruby
[07:11:41] krz: has joined #ruby
[07:11:41] meadhikari: has joined #ruby
[07:12:15] bkxd: has joined #ruby
[07:13:44] Torsten`: has joined #ruby
[07:13:47] fabrice31: has joined #ruby
[07:15:14] certainty: shevy: confess! you're making creating superhumans there
[07:16:30] GPrime: has joined #ruby
[07:16:51] krz: has joined #ruby
[07:17:17] sandstrom: has joined #ruby
[07:17:17] bkxd_: has joined #ruby
[07:17:19] olistik: has joined #ruby
[07:17:26] nhhagen: has joined #ruby
[07:17:33] meadhikari: has joined #ruby
[07:17:41] Oog: has joined #ruby
[07:18:06] lkba_: has joined #ruby
[07:18:55] zotherstupidguy: has joined #ruby
[07:19:09] shevy: just following boring protocols
[07:19:11] shevy: it's like cooking
[07:19:20] shevy: except you don't eat up with being able to eat anything meaningful :(
[07:19:22] certainty: you cook new people
[07:20:45] devyn_: has joined #ruby
[07:20:50] towski_: has joined #ruby
[07:20:55] alex88: has joined #ruby
[07:21:18] lkba_: has joined #ruby
[07:21:18] certainty: shevy: so you don't do anything meaningful?
[07:22:26] certainty: that's sad :(
[07:22:51] olistik: has joined #ruby
[07:23:32] noethics: implying you do
[07:24:01] certainty: or that i can relate
[07:24:07] certainty: because i don't as well
[07:24:23] anisha: has joined #ruby
[07:25:39] shevy: noethics is without words
[07:25:42] fella5s: has joined #ruby
[07:25:43] revath: has joined #ruby
[07:25:43] shevy: he now has only single letters
[07:27:03] noethics: words are hard
[07:27:41] RegulationD: has joined #ruby
[07:28:32] alphaatom: has joined #ruby
[07:28:51] Hanmac: has joined #ruby
[07:29:20] railsraider: has joined #ruby
[07:29:43] wldcordeiro: has joined #ruby
[07:29:48] Torsten`: has joined #ruby
[07:31:17] thelastinuit: has joined #ruby
[07:31:43] exadeci: has joined #ruby
[07:31:44] balazs: has joined #ruby
[07:32:29] datanoise: has joined #ruby
[07:32:58] gsd_: has joined #ruby
[07:33:24] revath: has left #ruby: ()
[07:34:53] meadhikari: has joined #ruby
[07:35:30] quimrstorres: has joined #ruby
[07:35:47] CloCkWeRX: has joined #ruby
[07:38:05] sameerynho: has joined #ruby
[07:38:14] Rodya_: has joined #ruby
[07:38:18] OrbitalKitten: has joined #ruby
[07:40:12] bronson: has joined #ruby
[07:40:29] iamninja: has joined #ruby
[07:40:47] dumdedum: has joined #ruby
[07:40:49] meadhikari: has joined #ruby
[07:41:02] nhhagen: has joined #ruby
[07:41:04] mrmargolis: has joined #ruby
[07:42:23] shevy: anyone of you ever having autogenerated a larger .pdf document with prawn?
[07:42:35] shevy: it works... I have 33 pages... but the formatting is plain, which makes things very hard to read
[07:43:10] SouL_|_: has joined #ruby
[07:43:11] sinkensabe: has joined #ruby
[07:43:34] rbowlby: has joined #ruby
[07:43:57] sevenseacat: as a text document with minimal layout tweaks, just text formatting mostly, yes
[07:44:39] mandarinkin: has joined #ruby
[07:45:08] shevy: but it's boring!
[07:45:12] shevy: it needs more pics
[07:45:56] Torsten`: has joined #ruby
[07:46:48] zotherstupidguy: shevy not in the manual http://prawnpdf.org/manual.pdf ?
[07:47:02] zotherstupidguy: my internet is slow i cant even open it rightno
[07:47:58] adaedra: Bonjour, Hello, Hallo, Hall??
[07:48:02] Hounddog: has joined #ruby
[07:48:48] sevenseacat: adaedra: bonan matenon
[07:48:54] yaw: has joined #ruby
[07:51:10] zotherstupidguy: adaedra saba7 saba7 ya3am el 7ag
[07:51:17] unshadow: has joined #ruby
[07:52:10] roolo: has joined #ruby
[07:53:08] elia: has joined #ruby
[07:53:17] sinkensabe: has joined #ruby
[07:53:18] yawn: has joined #ruby
[07:53:55] shevy: Bonjour Baguette
[07:55:26] ohaibbq: has joined #ruby
[07:55:32] bkxd: has joined #ruby
[07:55:38] chussenot: has joined #ruby
[07:57:02] bkxd: has joined #ruby
[07:57:13] zotherstupidguy: is there somthing like prawn but for latex?
[07:57:37] fujimura: has joined #ruby
[07:58:25] yaw: has joined #ruby
[07:59:34] Scroff: has joined #ruby
[07:59:45] workmad3: has joined #ruby
[08:00:48] ohaibbq: has joined #ruby
[08:01:49] ghr: has joined #ruby
[08:02:00] Torsten`: has joined #ruby
[08:02:07] ohaibbq_: has joined #ruby
[08:03:03] revath: has joined #ruby
[08:03:38] nhhagen: has joined #ruby
[08:03:46] k3asd`: has joined #ruby
[08:04:02] pwnz0r: has joined #ruby
[08:04:08] CustosLimen: has joined #ruby
[08:04:55] sinkensabe: has joined #ruby
[08:05:00] msgodf: has joined #ruby
[08:05:47] unshadow: has joined #ruby
[08:07:33] ghr: has joined #ruby
[08:08:36] mdz_: has joined #ruby
[08:10:43] maloik: I could be wrong but isnt latex much like markdown in that it's "plaintext" that is then processed to look pretty?
[08:12:41] sinkensabe: has joined #ruby
[08:13:20] zotherstupidguy: has joined #ruby
[08:13:57] ljarvis: it is plaintext yes
[08:14:25] robbyoconnor: has joined #ruby
[08:15:39] Xeago: has joined #ruby
[08:17:56] rdark: has joined #ruby
[08:18:09] Torsten`: has joined #ruby
[08:18:12] krz: has joined #ruby
[08:22:08] selu: has joined #ruby
[08:23:51] lkba: has joined #ruby
[08:26:20] nhhagen: has joined #ruby
[08:26:31] blue_deref: has joined #ruby
[08:26:55] marr: has joined #ruby
[08:27:31] c0m0: has joined #ruby
[08:29:04] olistik: has joined #ruby
[08:32:20] revath: has joined #ruby
[08:32:25] terlar: has joined #ruby
[08:33:02] khebbie: has joined #ruby
[08:33:57] Torsten`: has joined #ruby
[08:35:07] CloCkWeRX: has joined #ruby
[08:35:47] Pathfinder: has joined #ruby
[08:37:00] OrbitalKitten: has joined #ruby
[08:37:26] bruno-: has joined #ruby
[08:37:43] maloik: random irc question, back in the day when I still used a GUI for irc there was a way to see someone's idle time (it was called extwhois i believe) - is there an irssi equivalent?
[08:37:59] ljarvis: /whois ? :D
[08:38:22] maloik: nah that doesnt do it
[08:38:45] SOLDIERz: has joined #ruby
[08:38:49] ljarvis: it depends on the server
[08:38:53] ljarvis: whois would do it though
[08:39:03] maloik: just found it though, apparently if you use the nickname twice it works
[08:39:06] ljarvis: type the name twice
[08:40:13] apeiros: idle time is per server. whois with nick twice will query the server of the user. yes, irc is a ridiculous protocol.
[08:40:38] maloik: haha, sure is
[08:40:51] apeiros: and I think nick twice is even nonstandard
[08:41:03] C1V0: has joined #ruby
[08:41:20] apeiros: i.e. standard would be to specify the server you want to query and then you'd have to query the user's server
[08:41:50] Xeago_: has joined #ruby
[08:42:00] apeiros: moin Xeago
[08:42:53] revath: has joined #ruby
[08:43:00] ponga: has joined #ruby
[08:43:19] zotherstupidguy: has joined #ruby
[08:43:33] Rubie: has joined #ruby
[08:46:21] livcd: what are some of the advanced ruby patterns one should know ?
[08:46:37] axl_: has joined #ruby
[08:47:00] jhass: that's kinda vague
[08:47:10] jhass: singleton classes are helpful to grok I guess
[08:47:12] ponga: >> 10.times.to_a.rotate
[08:47:13] ruboto: ponga # => [1, 2, 3, 4, 5, 6, 7, 8, 9, 0] (https://eval.in/377252)
[08:47:21] certainty: TEH patterns! you know!
[08:47:41] apeiros: livcd: all the indirection which can go on in ruby
[08:48:05] mrsolo: has joined #ruby
[08:48:08] apeiros: livcd: like all the ways to dynamically define a method, invoke a method, or receive a method
[08:48:17] apeiros: livcd: all the callbacks in ruby
[08:48:31] Pathfinder: has joined #ruby
[08:48:41] apeiros: livcd: and as jhass said - the specifics how singleton_class works
[08:48:56] livcd: apeiros: do you have any kind of resource that describes this
[08:48:57] jhass: wait I have a great video for that part
[08:49:12] livcd: or should i just check the official documentation and dig in
[08:49:13] apeiros: livcd: other than the ruby core docs - not really
[08:49:14] jhass: livcd: https://www.youtube.com/watch?v=by5fFOBhtPQ watch this
[08:49:21] apeiros: livcd: probably avdi's ruby tapas
[08:49:28] livcd: jhass: danke
[08:49:28] bin_005: has joined #ruby
[08:49:53] nhhagen: has joined #ruby
[08:49:55] apeiros: I've heard lots of good things about them and they seem to cover such topics. but I haven't watched them myself, so can't make a qualified statement.
[08:50:01] Torsten`: has joined #ruby
[08:50:10] mercwithamouth: has joined #ruby
[08:50:23] flughafen: holy crap, anybody here using phantomjs?
[08:51:03] shevy: the phantomcat
[08:51:15] certainty: fan tomcat?
[08:52:42] flughafen: sevenseacat: we're using cucumber/capybara/poltergeist, and it seems like it's still trying to contact selenium for taking a snapshot... we use render_base64 and embed it in the html
[08:52:59] revath: has joined #ruby
[08:53:01] sevenseacat: certainty: it gets the job done. most of the time.
[08:53:14] IanVorn: has joined #ruby
[08:54:10] DaniG2k: has joined #ruby
[08:54:22] bkxd: has joined #ruby
[08:54:29] IanVorn: has joined #ruby
[08:55:26] intinig: has joined #ruby
[08:55:34] zotherstupidguy: ["val","val2"] is not equal ["val2","val"] , this is bugging me in tests, how can check if only the values exist in there but nothing more
[08:55:57] flughafen: undefined method `render_base64' for #<Capybara::Selenium::Driver:0x00000000f50eb0> (NoMethodError)
[08:56:00] sevenseacat: both test harnesses provide a way of matching arrays, regardless of order.
[08:56:12] tbuehlmann: zotherstupidguy, what testing framework do you use?
[08:56:22] flughafen: actualyl that fails for when we aren't using phantomjs now
[08:56:24] zotherstupidguy: minitest must_equal is faling me
[08:57:27] apeiros: zotherstupidguy: this probably doesn't work in current test frameworks, but shows you how to generally do it: https://gist.github.com/apeiros/278fec21774f6dbe04a3
[08:57:44] n008f4g_: has joined #ruby
[08:58:12] tbuehlmann: well, in rspec there's match_array
[08:58:13] apeiros: hm, and seems I got an old one. at least I think I did one where the message was more useful???
[08:58:24] adefa: has joined #ruby
[08:58:50] apeiros: and {} instead of do/end for side-effect block. definitively old :D
[08:59:37] vruz: has joined #ruby
[09:00:20] Pathfinder: has joined #ruby
[09:00:45] vruz: has left #ruby: ()
[09:00:46] quimrstorres: has joined #ruby
[09:01:31] revath: has joined #ruby
[09:01:34] chipotles: has joined #ruby
[09:01:53] zotherstupidguy: sevenseacat is this a a flaw in minitest over your beloved rspec?
[09:02:24] zotherstupidguy: matching arrays regardless of order
[09:03:08] sevenseacat: minitest has a way to do it
[09:03:25] zotherstupidguy: sevenseacat ok,thanks
[09:03:47] CloCkWeRX: has joined #ruby
[09:04:33] apeiros: zotherstupidguy: not having all possible kinds of assertions in the test framework is IMO not a flaw.
[09:04:40] apeiros: it's easy enough to add a custom assert.
[09:04:42] arup_r: has joined #ruby
[09:04:49] apeiros: and IMO that's something one should do anyway.
[09:05:10] Rollabunna: has joined #ruby
[09:05:17] bkxd_: has joined #ruby
[09:05:20] flughafen: https://github.com/SUSE/spacewalk-testsuite-base/blob/manager21/features/support/env.rb sevenseacat does that look ok? it's the same error when we're using firefox/selenium now anyway
[09:05:28] flughafen: which didn't happen before
[09:05:28] zotherstupidguy: apeiros i will try to follow your footsteps as much as i can =)
[09:05:36] sevenseacat: flughafen: thats... a lot of code
[09:05:37] zotherstupidguy: sevenseacat thanks a million
[09:05:57] Torsten`: has joined #ruby
[09:06:26] edwinvdgraaf: has joined #ruby
[09:08:17] tsujp: has joined #ruby
[09:08:26] bin_005: has joined #ruby
[09:09:22] platzhirsch: has joined #ruby
[09:09:41] ndrei: has joined #ruby
[09:10:10] workmad3: has joined #ruby
[09:11:07] unshadow: has joined #ruby
[09:12:17] dgutierrez1287: has joined #ruby
[09:13:40] Yiota: has joined #ruby
[09:13:56] SebastianThorn: has joined #ruby
[09:14:21] quimrstorres: has joined #ruby
[09:15:14] aapole: has joined #ruby
[09:15:44] dEPy: has joined #ruby
[09:16:35] RegulationD: has joined #ruby
[09:17:59] agent_white: has joined #ruby
[09:18:09] zotherstupidguy: assert_match doesnt seem to do the trick
[09:18:31] zotherstupidguy: Expected ["usera", "userb"] to match ["userb", "usera"].
[09:18:49] ahmetkapikiran: has joined #ruby
[09:19:43] zotherstupidguy: however assert only passes the test!
[09:19:48] mikecmpbll: has joined #ruby
[09:19:51] mister_solo: has joined #ruby
[09:20:31] sevenseacat: ugh, dont tell me =~ for matching arrays is a rspec-ism
[09:21:51] Torsten`: has joined #ruby
[09:22:00] flughafen: sevenseacat: sorry
[09:22:57] fsvehla: has joined #ruby
[09:26:37] rbowlby: has joined #ruby
[09:26:59] Rodya_: has joined #ruby
[09:28:15] stamina: has joined #ruby
[09:29:57] mrmargolis: has joined #ruby
[09:33:03] balazs: has joined #ruby
[09:33:31] CloCkWeRX: has joined #ruby
[09:37:20] apeiros: sevenseacat: yupp. =~ in ruby core is Object#=~, which is always nil
[09:37:30] sevenseacat: sorry bout that.
[09:37:44] Torsten`: has joined #ruby
[09:37:46] sevenseacat: (on rspec's part)
[09:38:39] apeiros: it's in that general direction why I can't warm up to rspec.
[09:38:49] al2o3-cr: has joined #ruby
[09:39:01] sevenseacat: theyve probably removed it as part of the no-monkey-patching stuff, but still
[09:39:09] sevenseacat: they have a matcher for it as well - match_array
[09:39:13] apeiros: (mind you - I have no issues with people using rspec)
[09:39:54] apeiros: dunno, I prefer my longer winded unordered_equal over the misunderstandable match
[09:41:00] ndrei: has joined #ruby
[09:41:21] livathinos: has joined #ruby
[09:44:48] Rubie: has joined #ruby
[09:46:56] timonv: has joined #ruby
[09:47:20] skade: has joined #ruby
[09:47:21] atomx: has joined #ruby
[09:47:56] futilegames: has joined #ruby
[09:50:15] strcmp1: has joined #ruby
[09:50:32] bin_005: has joined #ruby
[09:50:47] strcmp1: has left #ruby: ("Leaving")
[09:52:59] ndrei: has joined #ruby
[09:53:55] Torsten`: has joined #ruby
[09:54:25] ur5us: has joined #ruby
[09:54:26] bruno-: has joined #ruby
[09:55:12] intinig: has joined #ruby
[09:55:28] sevensea_: has joined #ruby
[09:58:03] CustosLimen: has joined #ruby
[09:58:30] pepperpot: has joined #ruby
[09:59:00] j4cknewt: has joined #ruby
[09:59:29] pepperpot: Download either SEO Analyzer full script, Website Value Calvulator Full Script, or Ajax Star Reviews script, all fully tested and working, download them for your website, you're welcome! https://www.criosphinx.net/forum/forumdisplay.php?fid=20
[10:00:13] al2o3-cr: has joined #ruby
[10:00:51] fabrice31_: has joined #ruby
[10:02:23] mister_s_: has joined #ruby
[10:03:29] CloCkWeRX: has joined #ruby
[10:06:38] mhib: has joined #ruby
[10:06:55] al2o3-cr: whats the difference between undef_method and remove_method?
[10:08:22] lkba_: has joined #ruby
[10:08:33] Zai00: has joined #ruby
[10:10:02] Torsten`: has joined #ruby
[10:10:16] krz: has joined #ruby
[10:13:47] krz: has joined #ruby
[10:14:29] Rollabunna: has joined #ruby
[10:15:02] n008f4g_: has joined #ruby
[10:17:26] vondruch: has joined #ruby
[10:17:34] meadhikari: has joined #ruby
[10:18:53] wnd: tfm says remove_method only modifies immediate class, undef_method also goes to parent(s)
[10:19:17] grzywacz: has joined #ruby
[10:19:44] czj: has joined #ruby
[10:20:13] unshadow: has joined #ruby
[10:20:18] al2o3-cr: wnd: ah that would explain the confusion
[10:20:37] rickmasta: has joined #ruby
[10:21:38] czj: has left #ruby: ()
[10:22:48] ahmetkapikiran: has joined #ruby
[10:26:10] Torsten`: has joined #ruby
[10:26:58] allomov: has joined #ruby
[10:27:13] phale: has joined #ruby
[10:27:15] phale: hello rubyists
[10:27:59] chussenot: has joined #ruby
[10:29:00] Xeago: has joined #ruby
[10:29:51] Hirzu: has joined #ruby
[10:29:54] phale: has left #ruby: ("Leaving")
[10:31:02] ahmetkapikiran: has joined #ruby
[10:31:20] Hirzu_: has joined #ruby
[10:33:15] axl__: has joined #ruby
[10:34:15] Oog: has joined #ruby
[10:43:00] OrbitalKitten: has joined #ruby
[10:43:18] dhjondoh: has joined #ruby
[10:44:19] chthon: has joined #ruby
[10:45:28] datanoise: has joined #ruby
[10:47:51] adefa: has joined #ruby
[10:51:06] rodfersou: has joined #ruby
[10:51:49] thelastinuit: has joined #ruby
[10:51:54] benlovell: has joined #ruby
[10:55:43] ndrei: has joined #ruby
[10:56:27] banister: has joined #ruby
[10:56:41] Fooster: has joined #ruby
[10:57:20] SouL_|_: has joined #ruby
[10:58:35] Pathfinder: has joined #ruby
[11:00:33] noethics: has joined #ruby
[11:00:48] sandelius: has joined #ruby
[11:00:50] skade: has joined #ruby
[11:05:42] RegulationD: has joined #ruby
[11:06:10] vdamewood: has joined #ruby
[11:07:48] airy: has joined #ruby
[11:08:13] DaniG2k_: has joined #ruby
[11:09:28] airy: why m getting error here.... https://gist.github.com/anonymous/fb1c16e4d72d1046440e
[11:10:10] apeiros: air_: can't see from what you gisted. what error do you get? (*always* include the error)
[11:10:38] apeiros: (and I assume line 1 is not part of your code???)
[11:10:47] gsd_: has joined #ruby
[11:11:10] airy: Oops, try again. It looks like you didn't include =begin. Make sure there's no space between the equals sign and the word begin!
[11:11:20] airy: this is the error
[11:11:49] airy: line 1 there it says to make a single line comment
[11:12:10] apeiros: air_: make a second file in your gist and put the full error there.
[11:12:11] airy: its on codeacedmy
[11:12:21] apeiros: your explanation of the error does not help.
[11:12:38] centrx: has joined #ruby
[11:13:22] apeiros: codeacademy? doesn't that have its own help channel?
[11:13:24] airy: https://gist.github.com/anonymous/3200f41114b8b50e351a
[11:13:26] ljarvis: they're using codecademy (hence the error)
[11:13:29] ljarvis: heh slow ljarvis
[11:13:35] workmad3: has joined #ruby
[11:14:01] apeiros: air_: the problem with how you gist is that it's not clear what's part of your code and what is not
[11:14:05] ljarvis: http://www.codecademy.com/forum_questions/51566d2b9737c32418000af0
[11:14:30] sevenseacat: those online courses can be so buggy
[11:14:51] airy: there is space between question,code and error
[11:14:59] apeiros: I'm actually not even sure whether whitespace is allowed after =begin??? *tries*
[11:15:10] apeiros: air_: use. multiple. files.
[11:15:25] sevenseacat: also, read the link that ljarvis posted.
[11:15:42] Rodya_: has joined #ruby
[11:16:12] ndrei: has joined #ruby
[11:16:25] airy: that link works
[11:16:36] apeiros: ok, ruby itself doesn't care about whitespace after `=begin`. so IMO the course is indeed buggy :)
[11:16:57] khebbie: has joined #ruby
[11:17:02] apeiros: ACTION wonders why they even teach =begin - nobody uses it. it's at best worth a footnote that it exists???
[11:17:09] Yiota: has joined #ruby
[11:17:30] Rubie: has joined #ruby
[11:18:23] airy: then from where should a begineer learn?
[11:18:24] meadhikari: has joined #ruby
[11:18:40] airy: then where should a begineer learn
[11:18:47] mrmargolis: has joined #ruby
[11:18:51] apeiros: air_: the course having bugs doesn't mean it's overall bad.
[11:19:10] apeiros: since I haven't tried any of those online courses, I couldn't tell you which ones are good anyway.
[11:19:20] sevenseacat: or not read the link that ljarvis posted.
[11:20:04] airy: then go through pdf. only
[11:20:37] sarkyniin: has joined #ruby
[11:21:43] [gmi]: has joined #ruby
[11:22:31] Yiota: has joined #ruby
[11:23:31] serivich: has joined #ruby
[11:23:43] fabrice31: has joined #ruby
[11:24:04] railsraider_: has joined #ruby
[11:24:26] kerunaru: has joined #ruby
[11:24:34] meadhikari: has joined #ruby
[11:25:43] dgutierrez1287: has joined #ruby
[11:25:50] fujimura: has joined #ruby
[11:28:00] nickmm: has joined #ruby
[11:28:43] NeverDie: has joined #ruby
[11:30:42] CloCkWeRX: has joined #ruby
[11:30:58] ndrei: has joined #ruby
[11:31:05] bkxd: has joined #ruby
[11:32:11] camonz: has joined #ruby
[11:33:07] ItSANgo: has joined #ruby
[11:33:08] ItSANgo__: has joined #ruby
[11:33:08] ItSANgo_: has joined #ruby
[11:33:20] gre_stag: has joined #ruby
[11:33:27] Scripore: has joined #ruby
[11:34:51] balazs: has joined #ruby
[11:37:20] d10n-work: has joined #ruby
[11:37:24] Zai00: has joined #ruby
[11:37:37] fabrice31_: has joined #ruby
[11:38:22] nolic: has joined #ruby
[11:40:57] jcromartie: has joined #ruby
[11:41:06] ldnunes: has joined #ruby
[11:41:09] olistik: has joined #ruby
[11:41:52] serivichi: has joined #ruby
[11:43:14] x0F: has joined #ruby
[11:43:31] fabrice31: has joined #ruby
[11:44:05] sdothum: has joined #ruby
[11:46:30] ahmetkapikiran: has joined #ruby
[11:49:45] AugustoCesar: has joined #ruby
[11:49:49] AugustoCesar: has left #ruby: ()
[11:50:28] yalue: has joined #ruby
[11:51:09] dorei: has joined #ruby
[11:51:37] revath: has joined #ruby
[11:52:59] serivich: has joined #ruby
[11:53:36] but3k4: has joined #ruby
[11:57:20] jmignault: has joined #ruby
[11:58:06] TheHodge: has joined #ruby
[12:01:32] livcd: what you guys think about rubymotion ?
[12:02:20] lkba: has joined #ruby
[12:03:18] bmalum: has joined #ruby
[12:03:40] juanpaucar: has joined #ruby
[12:04:22] chussenot: has joined #ruby
[12:04:59] bkxd: has joined #ruby
[12:06:07] k3asd`: has joined #ruby
[12:07:41] ahmetkapikiran: has joined #ruby
[12:08:17] ljarvis: livcd: it's awesome
[12:10:07] AugustoCesar: has joined #ruby
[12:11:26] segfalt: has joined #ruby
[12:11:48] yqt: has joined #ruby
[12:12:31] langlands: has joined #ruby
[12:13:23] apt-get_: has joined #ruby
[12:13:32] yaw: has joined #ruby
[12:16:56] SouL_|_: has joined #ruby
[12:18:03] Xeago: has joined #ruby
[12:18:57] meadhikari: has joined #ruby
[12:19:01] gagrio: has joined #ruby
[12:19:02] NeverDie: has joined #ruby
[12:20:04] apt-get_: class variables are shared among all instances of that class
[12:20:08] goodcodeguy: has joined #ruby
[12:20:14] apt-get_: as opposed to instance variables which are tied to specific instances of that class
[12:20:49] bnagy: class variables are a design fault and shouldn't be used, ever
[12:20:59] bayed: has joined #ruby
[12:21:21] bnagy: nb: this assertion slightly controversial
[12:21:23] livcd: ljarvis: do you mind if i /q you ?
[12:22:15] bnagy: apt-get_: 99% of the time when people think they want @@classvars they actually want class @ivars
[12:22:17] jerematic: has joined #ruby
[12:22:46] apt-get_: bnagy: I want to create a class that lets me access google spreadsheets
[12:22:53] apt-get_: it takes time to load them so I want to load them only once
[12:23:00] apt-get_: but I want to create a method that allows me to update them
[12:23:04] Chromium: has joined #ruby
[12:23:25] Scrofff: has joined #ruby
[12:24:11] apt-get_: loading the spreadsheet every time I want to create a new instance of that class would be a hassle
[12:24:14] bnagy: I would probably factor the access and loading of the spreadsheets into a different class
[12:24:26] atomical: has joined #ruby
[12:24:45] bnagy: and just have one instance of that per user or spreadsheet or whatever
[12:25:08] bnagy: then access it from multiple other objects somehow
[12:25:39] bnagy: assuming you want concurrent access to a spreadsheet, which sounds fiddly as all get out :)
[12:25:47] dalafa: has joined #ruby
[12:25:52] apt-get_: not necessarily concurrent
[12:26:03] bnagy: anyway, point being a class @ivar would be fine for that
[12:26:21] ndrei: has joined #ruby
[12:26:26] n80: has joined #ruby
[12:26:55] yaogwai: has joined #ruby
[12:28:35] bnagy: apt-get_: you can also explicitly use Singleton in your spreadsheet container / loading / reloading class
[12:29:00] bnagy: which might make things less confusing if you want to write it using a singleton pattern
[12:29:08] xenog: has joined #ruby
[12:29:42] yawn: has joined #ruby
[12:29:53] swistak35: has joined #ruby
[12:30:13] apeiros: apt-get_: class variables are shared more broadly than just among all instances.
[12:30:28] apeiros: they're also shared among the class, all its subclasses and all its subclasses' instances
[12:30:57] daynets: has joined #ruby
[12:31:06] decoponio: has joined #ruby
[12:31:14] bnagy: don't they go up as well? o_0
[12:31:29] apeiros: that's the part where I'm fuzzy about
[12:31:34] apeiros: they don't automatically go up
[12:31:43] apeiros: otherwise they'd be shared everywhere (common Object ancestor)
[12:31:54] apeiros: iirc it's some weird thing about "first seen spot = root"
[12:31:58] bnagy: oh, must be only when a parent class has that var
[12:32:02] apeiros: and yes, that makes it even worse
[12:32:09] bnagy: anyway, they're nuts :)
[12:32:40] apeiros: I should educate myself on that one day. just to be more effective in dissuading people from using them :D
[12:33:07] apeiros: best would be if we came up with some short quizz akin "what do you think will be the value of X here?"
[12:33:23] apeiros: and then we simply link that quizz every time somebody thinks they want @@cvars
[12:33:52] ta: has joined #ruby
[12:35:49] cajone: has joined #ruby
[12:36:13] apeiros: ok, "first seen" isn't the rule. I wonder what the boundary was/is
[12:36:23] pengin: has joined #ruby
[12:36:27] sankaber: has joined #ruby
[12:36:50] elev: has joined #ruby
[12:36:55] adefa: has joined #ruby
[12:37:00] havenwood: has joined #ruby
[12:37:00] zotherstupidguy: has joined #ruby
[12:37:39] Master44: How can I change the nam eof an array?
[12:37:56] tsujp: has joined #ruby
[12:38:07] SouL_|_: has joined #ruby
[12:38:07] IanVorn_: has joined #ruby
[12:38:21] apeiros: master44: an array does not have a name
[12:38:30] apeiros: therefore: you can't
[12:38:43] Master44: the variable
[12:38:53] apeiros: you can't change the name of a variable either.
[12:39:02] Master44: names = ["james", "endre", "mathias"]
[12:39:02] Master44: so I cant change the names=
[12:39:04] apeiros: you can assign the object the variable references to another variable with a different name
[12:39:11] tAn: has joined #ruby
[12:39:14] IanVorn_: has joined #ruby
[12:39:47] apeiros: >> names = [1,2,3]; not_name = names; not_names
[12:39:48] ruboto: apeiros # => undefined local variable or method `not_names' for main:Object (NameError) ...check link for more (https://eval.in/377572)
[12:39:53] apeiros: >> names = [1,2,3]; not_names = names; not_names
[12:39:54] ruboto: apeiros # => [1, 2, 3] (https://eval.in/377573)
[12:40:11] davidhq: has joined #ruby
[12:40:40] apeiros: remember that both variables reference *the same* object. assignment (=) does *not* copy/clone data.
[12:40:49] apeiros: >> names = [1,2,3]; not_names = names; names << 4; not_names
[12:40:51] ruboto: apeiros # => [1, 2, 3, 4] (https://eval.in/377575)
[12:41:06] ag4ve_: has joined #ruby
[12:42:03] RegulationD: has joined #ruby
[12:42:04] Master44: is it a easy way to change a variable?
[12:42:08] Master44: can I go like m = 12
[12:42:27] apeiros: yes. but how about you try and see?
[12:42:31] apeiros: pry/irb doesn't bite.
[12:42:56] Master44: so thats a way to do it easier
[12:43:06] symm-: has joined #ruby
[12:43:26] b_hoffman: has joined #ruby
[12:43:34] Master44: I cant do it with a array
[12:43:50] SouL_|__: has joined #ruby
[12:43:51] jas02: has joined #ruby
[12:44:04] apeiros: master44: I just showed you above that you can
[12:44:14] apeiros: >> names = [1,2,3]; not_name = names; not_names
[12:44:15] ruboto: apeiros # => undefined local variable or method `not_names' for main:Object (NameError) ...check link for more (https://eval.in/377578)
[12:44:26] apeiros: awesome. of course I copy the one with the typo
[12:44:30] apeiros: >> names = [1,2,3]; not_names = names; not_names
[12:44:31] ruboto: apeiros # => [1, 2, 3] (https://eval.in/377579)
[12:44:34] apeiros: master44: ^
[12:44:44] Master44: ah thanks :)
[12:44:52] Master44: why you use the ; what does ; means?
[12:44:57] apeiros: same as newline
[12:45:09] Master44: so same as \n?
[12:45:22] apeiros: and I can't use a newline to eval code here.
[12:45:29] segfalt: it???s a new statement, in a real program you???d put them on different lines
[12:45:29] Master44: so every tike I use \n I can just use ;?
[12:45:36] apeiros: that's why you'll see code with ; instead of newlines in irc.
[12:45:38] b_hoffman: has left #ruby: ()
[12:45:49] Master44: so I cant use ; in sublime text?
[12:45:51] Master44: in a program?
[12:45:55] apeiros: master44: I'm not sure whether *everywhere*. but yes.
[12:46:01] apeiros: yes, you can
[12:46:08] apeiros: and again: just try it.
[12:46:11] Master44: so I never have to use the \n
[12:46:25] apeiros: yes. which is why it's pointless to say "I can do it in one line!"
[12:46:25] segfalt: master44: to be clear, not in string interpolation. you can???t replace puts ???hi\n\nhi!??? with puts ???hi;;hi!???
[12:47:36] arup_r: has joined #ruby
[12:49:03] CustosLimen: has joined #ruby
[12:49:27] msgodf: has joined #ruby
[12:49:35] anisha: has joined #ruby
[12:51:48] sgambino: has joined #ruby
[12:53:02] yawn: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[12:55:11] CloCkWeRX: has joined #ruby
[12:56:09] doerteDev: has joined #ruby
[12:56:28] MasterPiece: has joined #ruby
[12:56:57] Hanmac1: has joined #ruby
[12:57:22] Chromium: has joined #ruby
[12:57:45] hinbody: has joined #ruby
[12:57:55] stoogenmeyer__: has joined #ruby
[12:58:18] fgo: has joined #ruby
[13:02:30] ziprar: has joined #ruby
[13:02:30] ziprar: has joined #ruby
[13:03:00] imperator: has joined #ruby
[13:04:09] jas02: has left #ruby: ()
[13:04:24] chromium2222: does anyone know any good learning resources for Ruby?
[13:04:27] Rodya_: has joined #ruby
[13:04:27] ndrei: has joined #ruby
[13:04:53] ESpiney: has joined #ruby
[13:04:58] jhooker: has joined #ruby
[13:05:12] mister_solo: has joined #ruby
[13:05:27] jesterfraud: chromium2222, there are so many resources that you couldn't read them all in a lifetime!
[13:05:35] jesterfraud: I'm thinking this might be a good one: http://learnrubythehardway.org/book/
[13:05:46] MyMind: has joined #ruby
[13:06:16] chromium2222: also is this the same thing as "Ruby on Rails" (sorry noob here)
[13:06:35] tobiasvl: rails is a ruby framework
[13:06:40] tobiasvl: it's not "the same thing" as ruby, no
[13:06:44] jesterfraud: so Ruby is the language
[13:06:47] havenwood: chromium2222: Ruby is the language that Rails and other things are written in.
[13:06:53] jesterfraud: you can write Ruby without Rails, but you can't write Rails with Ruby
[13:06:55] havenwood: chromium2222: See #rubyonrails for Rails.
[13:07:01] jesterfraud: * without Ruby, rather
[13:07:07] havenwood: ?rails chromium2222
[13:07:07] ruboto: chromium2222, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[13:07:20] zzak: Wow! We broke 1k users!!
[13:07:41] bnagy: I'm sure they're not _all_ broken
[13:07:50] jesterfraud: I'm 1/1030 important!
[13:08:11] chromium2222: yess! a maths joke
[13:08:35] chromium2222: ah thanks guys @havenwood @jesterfrau
[13:08:47] jesterfraud: ooh, I'm a clown's wife now ;)
[13:08:54] jesterfraud: no worries chromium2222
[13:09:11] rht: has joined #ruby
[13:09:32] jgpawletko: has joined #ruby
[13:10:24] dblessing: has joined #ruby
[13:10:55] chromium2222: so i should start here then? or would u recommend not?
[13:11:21] mathie: has joined #ruby
[13:12:13] havenwood: Chromium2222: I'd suggest learning Ruby. :)
[13:13:38] DeBot: has left #ruby: ()
[13:13:42] Hanmac1: zzak soon this channel will be OVER 9000! ;P
[13:15:31] jschoolcraft: has joined #ruby
[13:15:56] ruby-lang216: has joined #ruby
[13:16:04] CloCkWeRX: has joined #ruby
[13:16:10] meadhikari: has joined #ruby
[13:16:12] Scripore: has joined #ruby
[13:16:20] imperator: any oauth2 users here? having trouble understanding the client credentials grant approach
[13:17:30] chromium2222: havenwood is this a hard language? i only know PHP so i wanna work my way up lol
[13:17:52] mdz_: has joined #ruby
[13:18:32] tvw: has joined #ruby
[13:18:42] hinbody: has joined #ruby
[13:18:53] jas02_: has joined #ruby
[13:19:35] CloCkWeRX: has left #ruby: ()
[13:21:34] AhabsBeard: has joined #ruby
[13:21:37] wnd: Personally I think Ruby is one of the easiest and nicest languages around. Easiest not because it allows anyone to do anything, but rather because things tend to be the way I expect them to be.
[13:21:56] enebo: has joined #ruby
[13:22:28] wnd: also, I think it's worth mentioning that I hated object oriented languages before I came across Ruby
[13:23:02] MarkTurner: object orientated?
[13:23:29] ljarvis: zzak: ZOMG
[13:23:35] mrmargolis: has joined #ruby
[13:23:49] anisha: has joined #ruby
[13:24:13] Scripore: has joined #ruby
[13:25:59] aspiers: has joined #ruby
[13:26:56] MarkTurner: has joined #ruby
[13:27:02] war_pigs: has joined #ruby
[13:27:10] workmad3: has joined #ruby
[13:27:16] Xeago: has joined #ruby
[13:27:26] dhjondoh: has joined #ruby
[13:28:14] gagrio: has joined #ruby
[13:28:27] mrchris: has joined #ruby
[13:28:39] nonparfumee: has joined #ruby
[13:29:14] lavros: has joined #ruby
[13:32:19] MarkTurner: I looked on website it said i should install RVM or rbenv
[13:32:28] Aria: One of them!
[13:32:52] Aria: Or that.
[13:33:03] dopie: has joined #ruby
[13:33:12] Axilla: has joined #ruby
[13:33:37] havenwood: MarkTurner: Do you want to switch between Rubies or just use one? What OS/distro are you on?
[13:34:17] bnagy: so, genuine question, I thought the only real reason to use rvm instead of something lighter was gemsets
[13:34:24] bnagy: but don't all the kids use bundler now?
[13:34:24] caseypatrickdris: has joined #ruby
[13:34:31] apeiros: bnagy: I never used gemsets
[13:34:38] livathinos: has joined #ruby
[13:34:39] adaedra: bnagy: those are different things
[13:34:45] bnagy: as in what's the remaining rvm proposition
[13:34:52] apeiros: I used rvm because it was the first (afaik), and I keep using it because it so far didn't disappoint me
[13:34:52] havenwood: bnagy: RVM has patches to get older Rubies installed on older systems, etc.
[13:34:52] cmisenas: has joined #ruby
[13:35:00] failshell: has joined #ruby
[13:35:09] Xeago_: has joined #ruby
[13:35:40] bnagy: not incredibly compelling :/
[13:35:43] apeiros: iow: in order to switch away from RVM, I'd either need a value proposition of other toolchains, or rvm would have to disappoint me somehow.
[13:36:07] balazs: has joined #ruby
[13:36:20] bnagy: apeiros: yeah I get inertia. rbenv was fine for me when I went chruby
[13:36:21] apeiros: by now, I find "works, and has worked for years" an incredibly compelling argument
[13:36:23] havenwood: bnagy: RVM even supports using chruby as the switcher, since it considers its primary job as installing.
[13:36:36] apeiros: there's so much shit which randomly breaks over time???
[13:36:40] paulcsmith: has joined #ruby
[13:36:41] bnagy: wow, that's a shift
[13:36:57] bnagy: tbh it was mainly their switching approach I hated
[13:37:00] havenwood: bnagy: You have to enable it, but yeah it ships with support for chruby.
[13:37:30] bnagy: and the old installation recommendation :)
[13:37:45] xenog: has joined #ruby
[13:39:09] havenwood: bnagy: RVM2 may just default to chruby, we'll see.
[13:39:20] mary5030: has joined #ruby
[13:39:45] mhoungbo: has joined #ruby
[13:39:47] mhoungbo_: has joined #ruby
[13:40:32] bnagy: to be fair I haven't used ruby-install for a while but I never found it perfect
[13:40:40] bnagy: mostly for bleeding versions
[13:40:43] ddv: bnagy: get off my lawn.
[13:40:50] havenwood: bnagy: Yeah, not perfect but better than ruby-build. :P
[13:40:56] havenwood: bnagy: Getting better though! :)
[13:40:58] bnagy: but I think the hand hold installer is not one of the things I need
[13:41:03] ericwood: I have never gotten ruby-build to work :\
[13:41:09] bnagy: which is not something that can be said of every user
[13:41:14] havenwood: bnagy: indeed
[13:41:16] ericwood: and ruby-install is weird for me with JRuby but that's probably my fault
[13:41:21] fujimura: has joined #ruby
[13:42:00] mary5030: has joined #ruby
[13:42:01] havenwood: ericwood: What did you run into with JRuby?
[13:42:23] ericwood: I can't remember :(
[13:42:26] ericwood: it's been a while
[13:42:43] iamninja: has joined #ruby
[13:42:50] Soda: has joined #ruby
[13:43:13] MarkTurner: @havenwood I'm on Mac OSX. What do u mean by switching between Rubies? lol
[13:43:16] bnagy: building jruby from source has always been .. o_0
[13:43:32] bnagy: now they're shipping regular binaries so it's all good
[13:43:42] ericwood: I always just snagged the binary
[13:44:08] coderhs: has joined #ruby
[13:44:20] adaedra: MarkTurner: have multiple ruby installs (different versions/engines) and being able to choose which one you work with
[13:44:31] havenwood: MarkTurner: Say you have three projects, one each on Ruby 2.0, 2.1 and 2.2. If you don't need more than one version or implementation of Ruby you don't need to switch.
[13:44:34] Aria: level-geospatial Geospatial indexing for leveldb
[13:44:35] bnagy: ericwood: you know what they say - Once You Go Maven...
[13:44:38] ddv: MarkTurner: brew install chruby
[13:44:38] Aria: Wrong window
[13:44:47] bnagy: you drink to forget and then burn your computer and leave the country
[13:44:54] adaedra: ACTION throws Aria through the window
[13:45:06] adaedra: now, was it the good window?
[13:45:10] MarkTurner: Why would i want multiple versions of Ruby?
[13:45:18] Aria: ACTION climbs back in and puts adaedra on the timeout couch for inappropriate physical contact.
[13:45:18] havenwood: ddv: OS X ships with Ruby, so you already have it. If you just want to get the latest Ruby (and are a brew user) you can: brew install ruby
[13:45:29] Aria: MarkTurner: testing, upgrade path
[13:45:38] adaedra: MarkTurner: different projects with different requirements, tests, fun
[13:45:41] caseypatrickdris: has joined #ruby
[13:45:43] ddv: havenwood: why are you explaining this to me?
[13:45:45] CustosLimen: has joined #ruby
[13:45:57] chussenot: has joined #ruby
[13:46:00] havenwood: ddv: Dunno, haven't had coffee. WHO ARE YOU? WHAT'S HAPPENING?
[13:46:21] MarkTurner: so brew install ruby into terminal?
[13:46:37] havenwood: MarkTurner: ^ my explanation to ddv was tab-fail, meant for you. >.>
[13:46:48] havenwood: MarkTurner: Are you a Homebrew user?
[13:46:49] ddv: havenwood: took you a long time to realize that
[13:47:15] havenwood: ddv: Just hitting tab, not looking. Thought last tell was from MarkTurner. I *really* haven't had coffee. Going to fix that!
[13:47:52] havenwood: MarkTurner: If you'd like to be, you can find the install script here: http://brew.sh/
[13:48:04] adaedra: MarkTurner: last OS X has ruby 2.0 iirc, so you can work with that.
[13:48:32] MarkTurner: @adedra i might as well be on the latest version lol
[13:48:33] adaedra: ruby 2.0.0p481, to be exact.
[13:48:36] MarkTurner: @havenwood ty got it
[13:48:49] axl_: has joined #ruby
[13:48:49] MarkTurner: so is brew a package manager?
[13:49:10] adaedra: it can install packages, and if needed compile them from source
[13:49:15] ddv: MarkTurner: home come you don't know brew?
[13:49:29] MarkTurner: im a noob lol
[13:50:00] havenwood: MarkTurner: While Homebrew is most popular, OS X has support for other package managers, like MacPorts, Fink and now pkgsrc too.
[13:50:15] atm0sph: has joined #ruby
[13:50:15] adaedra: Just don't mix them D:
[13:50:15] MarkTurner: ty @havenwood
[13:50:17] snophey: has joined #ruby
[13:50:25] MarkTurner: so im on ruby 2.2.2 now
[13:50:31] ddv: forget about the other package managers tho
[13:50:38] adaedra: welcome to the future
[13:50:39] MarkTurner: is that all i need? i just run my programs in terminal?
[13:50:43] ahmetkapikiran: has joined #ruby
[13:50:45] adaedra: ah no, 2.2.2 is present, sorry
[13:50:51] havenwood: adaedra: I'm using pkgsrc alongside brew at the moment with macports installed but disabled. :O
[13:50:59] Aria: Run things in the terminal; as daemons if you like.
[13:51:05] Aria: You can write gui apps, but that's a bit trickier.
[13:51:07] adaedra: havenwood: D:
[13:51:25] MarkTurner: i dont think ill be writting gui apps any time soon lol
[13:51:39] havenwood: adaedra: pkgsrc and brew actually play pretty nice
[13:51:41] adaedra: Ruby tools for GUI are not really good imo
[13:51:46] NeverDie: has joined #ruby
[13:51:59] atm0sph: ruby has too improve
[13:52:06] ddv: write a webapp
[13:52:10] ericwood: the latest iteration of Shoes is surprisingly good, but if you want to write big GUI apps Ruby isn't really recommended
[13:52:19] Aria: <3 Shoes.
[13:52:34] ericwood: it runs on JRuby now and is fairly great
[13:52:51] havenwood: hanmac: Grant us your bindings that we might GUI!
[13:53:02] atm0sph: ericwood it must be well known among folks
[13:53:18] Darkwater: did someone mention 'bindings' and 'GUI' in the same sentence here in #ruby?
[13:53:21] Darkwater: I must know more!
[13:53:22] bmurt: has joined #ruby
[13:53:30] MarkTurner: so is there a better compiler than terminal?
[13:53:45] Darkwater: a terminal isn't a compiler lol
[13:53:54] adaedra: Terminal is not a compiler, and there's not really compilers for ruby
[13:54:04] Aria: MarkTurner: That's not quite the question you want to ask. The terminal just displays the output of the program; the ruby executable ~interprets your program.
[13:54:06] MarkTurner: sorry yeah i didnt mean that lol
[13:54:07] griffindy: has joined #ruby
[13:54:09] atm0sph: theres interpreter
[13:54:19] Hanmac1: >> require "date"; "This ruby is %d days old." % (Date.today - Date.parse(RUBY_RELEASE_DATE))
[13:54:20] ruboto: hanmac1 # => "This ruby is 165 days old." (https://eval.in/377597)
[13:54:40] Darkwater: that's a young ruby
[13:54:44] adaedra: If you're speaking about environment, and that you would prefer IDEs to work, there are things like RubyMine, Eclipse or NetBeans that can do that, but ruby folks seems to usually stick to terminal + text editor, MarkTurner
[13:54:45] nateberkopec: has joined #ruby
[13:54:47] havenwood: MarkTurner: OS X primarily uses Clang but you can grab a recent GCC with brew: brew install gcc
[13:54:55] Aria: MarkTurner: you can run things in an editor with a debugger, and it may integrate the output, or you can run them headless. Lots of options. But being familiar with the terminal and command line does give you a lot of power. Most things fall down to that, since we can communicate commands in text much more easily than a GUI, and the tools compose better so there's less being locked into one particular tool.
[13:55:01] Hanmac1: Darkwater: the ruby on my systems are daily-build ;P
[13:55:33] bruno-: has joined #ruby
[13:55:41] havenwood: hanmac1: I use more of a fortnight-build.
[13:55:42] Xeago: has joined #ruby
[13:55:59] MarkTurner: ill get learning then
[13:56:04] MarkTurner: and girls sorry
[13:56:17] havenwood: MarkTurner: Yell if you have Ruby questions.
[13:56:19] ddv: pretty sexist bro
[13:57:02] MarkTurner: Will do havenwood they may be annoying noob ones tho lol
[13:57:40] adaedra: There are no stupid questions
[13:58:15] MarkTurner: i did just ask about compilers and terminal..... pretty stupid lol
[13:58:24] wmoxam: "Is this a stupid question?"
[13:58:28] wmoxam: ^^ Yes ;)
[13:58:44] Darkwater: by the way, MarkTurner, I've been using ruby for one or two months now, and I rarely write terminal programs with them
[13:58:58] Darkwater: terminal program as in a program with it's interface in a terminal
[13:58:58] Aria: It was a pretty good question. It just didn't have much background informing it.
[13:59:25] Darkwater: though I test them using a terminal since that's imo the easiest way in early stages
[13:59:26] NeverDie: has joined #ruby
[13:59:27] jas02: has joined #ruby
[13:59:29] tenspeed705: Hey Guys, I am trying to use Mechanize to automate a daily task. I need to click a button in a form, but the HTML has no name attribute, Any way I can get around this?
[13:59:33] Macaveli: has joined #ruby
[13:59:50] Darkwater: anyway most are either websites or tools that contribute to my desktop environment
[13:59:56] wasamasa: tenspeed705: if it's always the nth child in locatable surroundings...
[14:00:04] mc_fail: has joined #ruby
[14:00:15] CloCkWeRX: has joined #ruby
[14:00:32] tenspeed705: wasamasa: I don't quite get what you mean?
[14:00:38] atm0sph: is there any way to make ios app on ruby which is free
[14:00:41] mary5030_: has joined #ruby
[14:00:46] wasamasa: tenspeed705: the DOM is a tree
[14:01:31] bootstrappm: has joined #ruby
[14:01:35] wasamasa: tenspeed705: trees consist of nodes consist of nodes...
[14:02:36] Penhead86: has joined #ruby
[14:02:50] tenspeed705: wasamasa: I get that, I don't see a way around it though
[14:02:54] atm0sph: is there any way to make ios app on ruby which is free?
[14:03:05] Scripore: has joined #ruby
[14:03:20] wasamasa: tenspeed705: the children of a node can be accessed by their index
[14:03:57] imperator: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/433509 if any oauth2 experts can help
[14:04:18] tenspeed705: wasamasa: so, I should be able to use the value, and not the name?
[14:04:33] tenspeed705: wasamasa: Here is the button HTML
[14:04:41] tenspeed705: wasamasa: <input type="button" value="Submit" onclick="verify_entry();">
[14:05:40] apeiros: tenspeed705: see what the selector 'input[type=button]' gets
[14:05:42] apeiros: then refine
[14:05:59] kaspergrubbe: has joined #ruby
[14:06:02] apeiros: as wasamasa already said - most likely you can scope by its container
[14:06:31] wasamasa: tenspeed705: once you have narrowed it down to the context, you can just select the first input element that's a button
[14:06:38] apeiros: in the worst case also use the value attribute in the selector. beware that it might be localized.
[14:06:39] wasamasa: tenspeed705: and then perform your desired action
[14:07:01] mary5030: has joined #ruby
[14:07:15] tenspeed705: wasamasa: Thanks alot. I will give it a shot.
[14:07:23] Xeago: has joined #ruby
[14:07:46] c0m0: has joined #ruby
[14:07:59] wasamasa: tenspeed705: I assumed you have had more than one button, for that case you could just use the nth you're going for
[14:08:01] musgravejw: has joined #ruby
[14:08:23] wasamasa: and I'm not an alot: http://hyperboleandahalf.blogspot.de/2010/04/alot-is-better-than-you-at-everything.html
[14:08:38] apeiros: wasamasa: IME nth is about the most fragile selector possible. I'd avoid that as much as possible.
[14:08:49] ndrei: has joined #ruby
[14:08:55] MarkTurner: Sorry guys I already have a question lol
[14:09:17] Parker0: has joined #ruby
[14:09:57] wasamasa: apeiros: indeed
[14:10:56] MarkTurner: in excercise 1 it's asking me to put "puts "Hello world"
[14:11:03] mcclurmc: has joined #ruby
[14:11:06] MarkTurner: but sometimes it uses ' instead of "
[14:11:12] MarkTurner: does it make a difference?
[14:11:38] apeiros: in ', only \\ and \' are escaped
[14:11:43] adaedra: MarkTurner: interpolation. You may see that later
[14:11:52] adaedra: and escaping, too
[14:11:53] apeiros: in ", there are a lot of \ escape sequences, plus #{} will evaluate ruby code in it
[14:12:01] whippythellama: has joined #ruby
[14:12:30] apeiros: try: `puts "hello\nworld. 1+1=#{1+1}"` vs. `puts 'hello\nworld. 1+1=#{1+1}'`
[14:13:27] Penhead86: has left #ruby: ()
[14:13:43] MarkTurner: im baffled lol
[14:13:48] pwattstbd: has joined #ruby
[14:13:49] MarkTurner: im only on excercise 1
[14:13:58] MarkTurner: idk any other syntax or whatever lol
[14:14:26] adaedra: Maybe it's explained later :)
[14:14:46] adaedra: There's also the % %q and %Q strings :)
[14:15:10] mcclurmc_: has joined #ruby
[14:15:29] MarkTurner: :S what have i got myself into
[14:15:35] MarkTurner: PHP was simple lol
[14:16:00] wasamasa: PHP only looks simple if you have no clue what you're doing
[14:16:35] adaedra: PHP also has ' vs "
[14:17:05] Exuma: has joined #ruby
[14:17:41] apeiros: you can use ruby in the same dummy mode as php
[14:17:49] apeiros: and gloss over all the details
[14:17:58] apeiros: see rack-server-pages
[14:19:16] dudedudeman: happy monday folks!
[14:19:16] mrsolo: has joined #ruby
[14:19:35] tenderlove: has joined #ruby
[14:20:41] bootstrappm: happy happy monday
[14:21:02] MarkTurner: i ran my first program lol
[14:21:11] bantic: has joined #ruby
[14:21:50] dudedudeman: i need to do that
[14:22:45] mrmargol_: has joined #ruby
[14:22:58] fmcgeough: has joined #ruby
[14:23:04] d10n-work: has joined #ruby
[14:23:37] _seanc_: has joined #ruby
[14:23:57] ShellFu: has joined #ruby
[14:24:20] major_majors: has joined #ruby
[14:24:31] gambl0re: has joined #ruby
[14:24:36] MarkTurner: I can now progress to excercise 3 xD
[14:24:37] someword: has joined #ruby
[14:24:38] dseitz: has joined #ruby
[14:24:50] njs126: has joined #ruby
[14:25:26] chinmay_dd: has joined #ruby
[14:25:27] mdz_: has joined #ruby
[14:25:38] Synthead: has joined #ruby
[14:25:44] kies: has joined #ruby
[14:26:07] Polysics: has joined #ruby
[14:27:21] imperator: has joined #ruby
[14:27:26] rindolf: has joined #ruby
[14:30:42] MarkTurner: I have another question lol
[14:30:55] MarkTurner: with this: puts "What is 5 - 7? #{5 - 7}"
[14:31:03] codecop: has joined #ruby
[14:31:12] MarkTurner: I thought # was a comment
[14:32:01] adaedra: not in a string
[14:32:21] dudedudeman: interpolate all the things!
[14:32:22] Aria: Yeah, inside a string or regex, the normal rules are gone and you're in a little minilanguage inside.
[14:32:27] adaedra: what does the code outputs, MarkTurner ?
[14:32:31] Aria: So #{} inside a string allows interpolation.
[14:32:47] Penhead86: has joined #ruby
[14:32:52] MarkTurner: What is 5 - 7? -2
[14:33:01] MarkTurner: oh so when its in a string it does something else
[14:33:19] krz: has joined #ruby
[14:33:35] adaedra: what did it do here?
[14:33:50] ahmetkapikiran: has joined #ruby
[14:34:09] MarkTurner: it did the sum
[14:34:32] musgravejw: has joined #ruby
[14:35:09] MarkTurner: so it does whatevers in the curley braces?
[14:35:18] MarkTurner: in a string?
[14:35:29] adaedra: it executes the code and replaces in the string
[14:36:15] dudedudeman: >> x = [1,2,3,4,5]; puts "This here be interpolation #{x}"
[14:36:16] ruboto: dudedudeman # => This here be interpolation [1, 2, 3, 4, 5] ...check link for more (https://eval.in/377604)
[14:36:41] chouhoulis: has joined #ruby
[14:36:51] dudedudeman: obviously i didn't turn my array in to a string, but you can see how it passes the array in to the string that i printed out
[14:36:53] Aria: and >> puts "interpolate this: #{123; ''}!"
[14:36:59] Aria: >> puts "interpolate this: #{123; ''}!"
[14:37:00] ruboto: Aria # => interpolate this: ! ...check link for more (https://eval.in/377605)
[14:37:06] bkxd: has joined #ruby
[14:37:26] Aria: It lets you use any ruby inside #{}, but only the last value gets used.
[14:37:50] shevy: wow! Aria is here!
[14:37:55] freerobby: has joined #ruby
[14:38:01] mcclurmc: has joined #ruby
[14:38:11] adaedra: you can even go deeper
[14:38:13] bronson: has joined #ruby
[14:38:14] adaedra: >> " #{ " #{ " " } " } "
[14:38:15] ruboto: adaedra # => " " (https://eval.in/377608)
[14:38:29] rickmasta: has joined #ruby
[14:38:30] Yiota: has joined #ruby
[14:38:35] aapole: has joined #ruby
[14:38:50] skade: has joined #ruby
[14:39:35] mrmargolis: has joined #ruby
[14:40:47] Polysics: has joined #ruby
[14:41:55] GriffinHeart: has joined #ruby
[14:42:37] Neomex: has joined #ruby
[14:44:02] n1x: has joined #ruby
[14:44:11] jhooker: has joined #ruby
[14:44:35] ixti: has joined #ruby
[14:44:36] ljarvis: why did i start redesigning my vm at the weekend
[14:44:48] nateberkopec: has joined #ruby
[14:44:52] AhabsBeard: has joined #ruby
[14:45:12] dopie: has joined #ruby
[14:45:13] havenwood: why do we call it weekend instead of weekbetween
[14:45:13] j4cknewt: has joined #ruby
[14:45:25] casadei: has joined #ruby
[14:45:29] ljarvis: week between what
[14:45:30] adaedra: because it's at the end of the week
[14:45:36] havenwood: ljarvis: another week
[14:45:47] havenwood: adaedra: it's also at the beginning of the next week
[14:45:57] ljarvis: because then you're just adding pointless words
[14:46:10] adaedra: week begins on monday
[14:46:19] adaedra: monday is no week-end
[14:46:24] ljarvis: well technicalllylyyyyyy
[14:46:32] n1x: has joined #ruby
[14:46:41] havenwood: let's ask Ruby what the first day of the week is... ;)
[14:47:07] ljarvis: lets just call them day 6 and 7
[14:47:13] ljarvis: or.. 7 and 1
[14:47:22] ljarvis: </controversial>
[14:47:30] maloik: a week is 7 days though
[14:47:32] ndrei: has joined #ruby
[14:47:37] maloik: so it's not really weekbetween either, its partoftheweek
[14:47:44] adaedra: What are the countries that still uses Sunday as week start? USA?
[14:47:46] havenwood: >> require 'date'; Date::DAYNAMES.first
[14:47:47] ruboto: havenwood # => "Sunday" (https://eval.in/377615)
[14:47:49] ljarvis: aka.. endoftheweek, aka weekend
[14:47:52] msnyon: has joined #ruby
[14:48:00] ljarvis: adaedra: most of them
[14:48:13] maloik: I'm so glad we can have very fruitful discussions on here
[14:48:23] adaedra: ljarvis: not so sure
[14:48:24] ljarvis: now, who wants to help be build my vm
[14:48:25] havenwood: >> require 'time'; Time::RFC2822_DAY_NAME.first
[14:48:26] ruboto: havenwood # => "Sun" (https://eval.in/377616)
[14:48:27] ljarvis: where help = do it all
[14:48:38] maloik: what vm... development machine you mean?
[14:48:51] ljarvis: no im writing a vitual machine for a new lang
[14:49:00] symbol: has joined #ruby
[14:49:01] havenwood: ljarvis: i was debating whether you meant os or lang vm
[14:49:02] adaedra: ljarvis: rm -rf for quick development ;)
[14:49:03] ljarvis: well, rewriting
[14:49:20] maloik: <insert homer backing into hedge gif>
[14:49:22] ljarvis: havenwood: i guess in the context of that question i have taken the easy way out
[14:49:28] ogpastaling: has joined #ruby
[14:49:39] ljarvis: maloik: GET BACK HERE
[14:49:44] mercwithamouth: has joined #ruby
[14:49:52] bruno-: has joined #ruby
[14:50:01] havenwood: ljarvis: well, debating between my os as in the one you're using and my vm as in the one you're writing
[14:50:12] ljarvis: it's all hand-written so it's easy to follow
[14:50:21] ljarvis: well, the first half of that statement is true
[14:52:19] Papierkorb: has joined #ruby
[14:52:23] gamename: has joined #ruby
[14:53:13] Rodya_: has joined #ruby
[14:53:14] maloik: handwritten on a napkin?
[14:53:17] adaedra: ???The international standard ISO 8601 for representation of dates and times, states that Monday is the first day of the week.???
[14:53:20] ndrei: has joined #ruby
[14:53:28] ljarvis: maloik: :D
[14:53:32] doctorly: has joined #ruby
[14:53:35] tacit7`: has joined #ruby
[14:53:41] havenwood: adaedra: But... Ruby says!
[14:53:57] adaedra: havenwood: it's okay
[14:54:06] ogpastaling: has joined #ruby
[14:54:21] pwattstbd: has joined #ruby
[14:54:33] adaedra: you'll learn to order the days, then to not put the day between the month and the year, then using metric system, and all of those will be good.
[14:54:51] revath: has joined #ruby
[14:55:24] havenwood: adaedra: Actually RFC2822 specifies Mon first. That might be one to fix for Ruby 3.0. :O
[14:55:32] Agoldfish: has joined #ruby
[14:55:35] Xeago: has joined #ruby
[14:55:39] adaedra: May be based on USA 'standard'
[14:55:42] daynets: has joined #ruby
[14:55:56] havenwood: ACTION goes back to using ddate
[14:56:06] adaedra: and b/c backward compatibility, it may never change :(
[14:57:02] adaedra: The map of first day of weeks depending on the country is interesting
[14:57:18] micmus: has joined #ruby
[14:57:30] AhabsBeard: has joined #ruby
[14:57:42] Zai00: has joined #ruby
[14:58:09] fabrice31_: has joined #ruby
[14:58:33] marr: has joined #ruby
[14:59:07] apeiros: adaedra: I wonder about the map for days which are considered "week-end"
[14:59:21] apeiros: and how it correlates with that first-day-of-week map :)
[14:59:22] adaedra: I think I saw one
[14:59:50] adaedra: apeiros: https://en.wikipedia.org/wiki/Week#Week_numbering
[14:59:54] paulcsmith: has joined #ruby
[15:00:13] apeiros: not week numbering
[15:00:25] adaedra: look at it
[15:00:35] websoftwarez: has joined #ruby
[15:00:40] adaedra: there's two maps, the first day of week, and the holidays
[15:00:51] websoftwarez: has joined #ruby
[15:00:53] apeiros: doesn't really fit
[15:00:57] Spami: has joined #ruby
[15:00:59] kobain: has joined #ruby
[15:01:18] apeiros: many countries don't just have sunday or saturday, but sunday + saturday. and those are labeled "week-end"
[15:01:45] apeiros: and my beef with that is when a country starts the week with sunday, but calls saturday+sunday "week-end". i.e., how can it be the end if it's the start?
[15:02:00] adaedra: Well, ask the US :)
[15:02:02] dblessing: has joined #ruby
[15:02:48] lhobas: has joined #ruby
[15:03:00] lhobas: has left #ruby: ("Palaver http://palaverapp.com/")
[15:03:13] rbowlby: has joined #ruby
[15:03:24] bronson: has joined #ruby
[15:04:24] revath: has joined #ruby
[15:05:12] workmad3: has joined #ruby
[15:05:52] Xeago: has joined #ruby
[15:05:54] Scrofff: has joined #ruby
[15:06:31] mberk: has joined #ruby
[15:07:48] fgo: has joined #ruby
[15:09:07] n3vtelen: has joined #ruby
[15:09:12] eam: apeiros: the start and end are both ends of a period :)
[15:09:13] Parker0: has joined #ruby
[15:10:17] commondream: has joined #ruby
[15:11:06] lordkryss: has joined #ruby
[15:11:09] segfalt: so a ???Weekends??? is the two day period from Saturday to Sunday?
[15:11:11] endash: has joined #ruby
[15:11:46] _seanc_: has joined #ruby
[15:12:27] apeiros: eam: so array.last should return index -1 and 0? :-p
[15:12:47] kirun: has joined #ruby
[15:12:52] eam: apeiros: end != last end :)
[15:12:58] snockerton: has joined #ruby
[15:13:11] eam: array.first and array.last are the two ends of the array ;-)
[15:13:23] apeiros: I see what you mean
[15:13:28] naftilos76: has joined #ruby
[15:13:31] adaedra: there's a flaw here
[15:13:32] ljarvis: so this is a thing https://gist.github.com/leejarvis/c7c443a40a57b94fb7be
[15:13:38] umgrosscol: has joined #ruby
[15:13:41] adaedra: if it was that, it would be a 'week-ends', not a 'week-end'
[15:13:50] eam: the US date system is indefensible, I don't know why I'm trying to explain it
[15:13:54] apeiros: and now I get segfalt's comment
[15:14:20] apeiros: I guess they got you, without the additional explanation :)
[15:14:21] eam: I think originally weeks may have ended on friday
[15:14:27] segfalt: it goes perfectly fine with out measurement systems
[15:14:42] maloik: oh, we're still on the same topic, awesome :D
[15:14:43] adaedra: Go home USA, you're drunk
[15:14:45] eam: how do I return the length of an array in hogs heads
[15:14:51] revath: has joined #ruby
[15:15:06] Xeago: has joined #ruby
[15:15:06] segfalt: [].size.to_us_furlongs
[15:15:25] adaedra: require 'us/crap_measurements'
[15:15:43] eam: well, you know what they say: There are two kinds of countries in this world. Those that use metric, and those that've landed on the moon
[15:15:51] yeticry: has joined #ruby
[15:15:54] MarkTurner: has joined #ruby
[15:16:06] Aria: Why is it the way it is? Because when we spell it out, we say things like "June nineteenth, eighteen sixty five" -> 6/19/1986
[15:16:18] Aria: ... y'know. 1986. 1865.
[15:16:23] adaedra: Aria: again, valid only for the US
[15:16:32] MarkTurner: ty @dudedudeman and @adaedra
[15:16:34] adaedra: well, english speaking countries, but heh
[15:16:36] Aria: Yeah. Exactly. Not an excuse. Just an explanation.
[15:16:39] MarkTurner: sorry had to take dog for walk
[15:16:40] eam: (which isn't entirely true, liberia and burma also don't use metric ...)
[15:16:42] ericwood: this is...amazing: https://github.com/fxn/i-told-you-it-was-private/blob/master/lib/i-told-you-it-was-private.rb
[15:16:49] bnagy: eh, it's not an english speaking thing
[15:16:52] ljarvis: yes, ruby!
[15:17:02] Aria: It is a bit.
[15:17:08] Aria: The legacy of colonialism is interesting.
[15:17:14] bnagy: au/uk would say "nineteenth of june"
[15:17:15] paulcsmith: has joined #ruby
[15:17:20] adaedra: 19 Juin, 19 Juni, ...
[15:17:26] Aria: Oh that is awesome ericwood
[15:17:43] mike___1234: has joined #ruby
[15:17:52] adaedra: ericwood: haha
[15:17:58] pepperbreath: has joined #ruby
[15:18:12] apeiros: tbh, I prefer yyyymmdd in written
[15:18:18] apeiros: and IMO written doesn't need to match spoken
[15:18:24] apeiros: spoken carries tons of implicit context
[15:18:43] adaedra: well, I'm used to dd/mm/yyyy (jj/mm/aaaa haha)
[15:18:45] apeiros: and locality (temporal and spatial) is just one aspect of that implicit context
[15:19:08] apeiros: i.e. little endian makes sense in spoken, since "now" is easily the implicit context.
[15:19:28] TheNet: has joined #ruby
[15:19:42] adaedra: apeiros: I think it's too keep logic. You'll write "19 Juni" so keep 19/6 to be logical.
[15:19:52] adaedra: But yeah, YYYY-MM-DD ftw
[15:20:01] apeiros: adaedra: I got that. and I say it's not a good idea. different use-cases.
[15:20:07] Aria: I write all my dates big endian.
[15:20:59] adaedra: But then, there's this american who writes a date and I miss my meeting because it was February 4th, not April 2nd.
[15:21:14] ndrei: has joined #ruby
[15:21:47] bnagy: I think yyyymmdd is crazy but not as crazy as mmddyyyy
[15:21:52] cmisenas: has joined #ruby
[15:21:59] snockerton1: has joined #ruby
[15:22:09] adaedra: bnagy: yyyy-mm-dd is the standard though.
[15:22:10] bnagy: like -> that way or <- that way I can live with
[15:22:25] adaedra: and very useful for sorting.
[15:22:28] bnagy: "standard"
[15:22:42] ljarvis: #ruby-pointless-date-format-discussions
[15:22:44] adaedra: https://xkcd.com/1179/
[15:22:50] Xeago: has joined #ruby
[15:22:51] ljarvis: where is yorick when you need him
[15:23:19] Limix: has joined #ruby
[15:23:19] adaedra: who's yorick?
[15:23:21] yoongkang: has joined #ruby
[15:23:36] bnagy: a man of infinite jest
[15:23:38] ljarvis: some say he only comes out at night
[15:23:52] ljarvis: others say he is simply a myth
[15:23:56] apeiros: adaedra: I like the cat-formatted date
[15:24:05] hdev1: has joined #ruby
[15:24:18] ljarvis: we know him as sir-rant-a-lot
[15:24:29] apeiros: and mr. mongogoaway
[15:24:47] ljarvis: mr activescale
[15:25:00] baweaver: has joined #ruby
[15:25:44] adefa: has joined #ruby
[15:26:07] adaedra: ACTION is happy than the french revolutionary calendar didn't last long
[15:26:16] mercwithamouth: has joined #ruby
[15:26:59] MarkTurner: has joined #ruby
[15:27:05] rcvalle: has joined #ruby
[15:28:48] centrx: has joined #ruby
[15:29:02] bnagy: it kept truncating the dates
[15:30:17] fujimura: has joined #ruby
[15:31:15] shock_one: has joined #ruby
[15:32:20] shock_one: Hi. Isn't the super class body executed before inheritance? I expected B to have param set, but it's nil. And how would I fix it without repeating the remember_param call in B? https://gist.github.com/shockone/efc20af9a5cd599b9971
[15:33:39] NeverDie: has joined #ruby
[15:34:24] armyriad: has joined #ruby
[15:36:03] mister_solo: has joined #ruby
[15:36:11] [H]unt3r: has joined #ruby
[15:36:21] gsd_: has joined #ruby
[15:36:49] ixti: has joined #ruby
[15:37:50] balazs: has joined #ruby
[15:37:52] jpfuentes2: has joined #ruby
[15:39:10] pdoherty: has joined #ruby
[15:39:17] rht: has joined #ruby
[15:39:38] speakingcode: has joined #ruby
[15:40:06] bootstrappm: has joined #ruby
[15:40:25] Xeago: has joined #ruby
[15:40:56] doctorly: has joined #ruby
[15:41:28] shock_one: OK, the body is executed only once, and the value is stored in the instance of Class called A. That's why it wasn't present in B. Using a class variable I fixed the issue.
[15:41:41] grzywacz: has joined #ruby
[15:42:19] gagrio: has joined #ruby
[15:43:00] chussenot: has joined #ruby
[15:44:41] skade: has joined #ruby
[15:45:36] tacit7: has joined #ruby
[15:46:09] musgravejw: has joined #ruby
[15:47:14] lele|w: has joined #ruby
[15:49:43] jhass: shock_one: the class body is executed as the file is loaded
[15:50:00] pandaant: has joined #ruby
[15:50:08] shock_one: jhass: yes, I just had a moment of a disbelieve. :)
[15:51:37] Macaveli: has joined #ruby
[15:51:57] commondream: has joined #ruby
[15:52:14] vikaton: has joined #ruby
[15:54:37] mase-chatter: has joined #ruby
[15:55:18] baroquebobcat: has joined #ruby
[15:56:40] nhhagen: has joined #ruby
[15:59:04] mdz_: has joined #ruby
[15:59:38] chinmay_dd: has joined #ruby
[15:59:58] baweaver: has joined #ruby
[15:59:59] fedexo: has joined #ruby
[16:02:51] bmalum_: has joined #ruby
[16:03:08] skade: has joined #ruby
[16:03:32] mrsolo: has joined #ruby
[16:03:40] spider-mario: has joined #ruby
[16:05:16] jacor: has joined #ruby
[16:05:51] mike_bueti: has joined #ruby
[16:06:30] lele|w: has joined #ruby
[16:07:46] hdev1: has joined #ruby
[16:07:58] bricker: has joined #ruby
[16:08:12] GMka: has joined #ruby
[16:08:59] GMka: has joined #ruby
[16:09:30] Filete: has joined #ruby
[16:10:45] GMka: has joined #ruby
[16:10:58] tsujp: has joined #ruby
[16:11:31] cmisenas: has joined #ruby
[16:11:56] GMka: has joined #ruby
[16:12:35] GMka: has joined #ruby
[16:13:24] GMka: has joined #ruby
[16:13:48] GMka: has joined #ruby
[16:14:23] paulcsmith: has joined #ruby
[16:14:29] __butch__: has joined #ruby
[16:14:39] mistermocha: has joined #ruby
[16:14:54] luckyme: has joined #ruby
[16:15:40] GMka: has joined #ruby
[16:16:20] dopie: has joined #ruby
[16:16:53] nettoweb: has joined #ruby
[16:17:03] ogpastaling: has joined #ruby
[16:17:20] rdar: has joined #ruby
[16:17:43] doctorly: has joined #ruby
[16:17:48] pepperbreath1: has joined #ruby
[16:18:02] atm0sphere: has joined #ruby
[16:18:21] mistermocha: has joined #ruby
[16:18:43] GnuYawk: has joined #ruby
[16:18:43] GnuYawk: has joined #ruby
[16:18:44] edwinvdgraaf: has joined #ruby
[16:18:49] GMka: has joined #ruby
[16:19:17] Penhead86: has left #ruby: ()
[16:19:41] atm0sphere: is there any way to devlop ios app free like rubotos
[16:20:35] jhass: doesn't apple charge $100 a year for the ability?
[16:20:46] izzol: I have an issue with my code :( I'm trying to unzip the file using 'zip' gem but I'm getting the error: `initialize': No such file or directory @ rb_sysopen - _rels/.rels (Errno::ENOENT).
[16:20:53] izzol: The file is docx.
[16:20:56] atm0sphere: ya they charge
[16:21:13] jhass: then the answer is no I guess
[16:21:21] atm0sphere: but m talking about ruby motion
[16:21:26] jhass: izzol: sounds like you didn't specify the right path to your file
[16:21:51] izzol: I found the same problem (in java) here: http://stackoverflow.com/questions/26200550/rels-rels-open-failed-enoent-no-such-file-or-directory but no answers so far :(
[16:22:59] izzol: jhass: the path looks fine to me. I think it's something else but not sure how to debug it :(
[16:23:19] bnagy: izzol: I never found any pure ruby way of working with docx
[16:23:28] bnagy: I advise shelling out
[16:23:33] jhass: I guess you can unzip those with standard zip utilities
[16:23:44] bnagy: even if you get it unzipped you won't be able to zip it in a way that word will like
[16:23:51] adaedra: <jhass> doesn't apple charge $100 a year for the ability?
[16:23:54] adaedra: dev tools are free
[16:23:58] izzol: https://gist.github.com/wolfedale/e17e72de57013f2fdf52
[16:24:10] adaedra: the cost is for being able to test on real devices and publish to the store
[16:24:16] jhass: izzol: maybe just skip that filename?
[16:24:21] adaedra: atm0sphere ^
[16:24:35] Vile`: has joined #ruby
[16:24:40] rippa: has joined #ruby
[16:24:45] bnagy: izzol: there's ruby-zip as well
[16:24:51] bnagy: sec let me dig up some old code
[16:25:21] izzol: It's really strange, since it's unzipping only first file, then there is an error.
[16:25:27] bigkevmcd: has joined #ruby
[16:26:09] bnagy: izzol: nah I can't even find the ruby way that got closest. I _think_ it was rubyzip
[16:26:11] caseypat_: has joined #ruby
[16:26:21] Eiam`: has joined #ruby
[16:26:31] izzol: bnagy: ok I will try to find it.
[16:26:35] GMka: has joined #ruby
[16:27:06] bnagy: izzol: https://gist.github.com/bnagy/b2b7670714ae35f5eac3
[16:27:33] railsraider: has joined #ruby
[16:27:58] mdw: has joined #ruby
[16:28:14] apeiros: jhass: $100 is only to be allowed to deploy. devtools are free.
[16:28:15] GMka: has joined #ruby
[16:28:19] jefus_: has joined #ruby
[16:29:56] izzol: bnagy: thanks, I will try to figure out how it works and why mine is not ;-)
[16:30:27] caseypatrickdris: has joined #ruby
[16:30:43] bnagy: izzol: some of the zip header attributes are set "correctly" by the ruby libs but word won't accept them
[16:30:52] deric_skibotn: has joined #ruby
[16:31:00] bnagy: so you'd have to hack them quite deeply
[16:31:23] bnagy: but neither of them are that great to begin with imho so shelling out is going to be more reliable anyway
[16:31:40] bnagy: unless you're on windows, then you're kind of boned
[16:31:53] vikaton: 1068 ppl here
[16:31:56] bnagy: mingw I guess
[16:31:57] vikaton: havent seen that in a while
[16:32:14] banister: has joined #ruby
[16:32:38] skade: has joined #ruby
[16:32:44] bnagy: I hate posting years-old code. You immediately look at it and want to refactor :<
[16:32:50] atmosphere: has joined #ruby
[16:33:14] atmosphere: hello my connection was lost and i missed my answer too once again can we devlop ios app on ruby
[16:33:15] apeiros: bnagy: hehe, I know that feel
[16:33:19] mdz_: has joined #ruby
[16:33:26] kinduff: has joined #ruby
[16:33:31] apeiros: atmosphere: you can use rubymotion, yes
[16:33:41] apeiros: atmosphere: they have a channel: #rubymotion
[16:33:44] kinduff: has joined #ruby
[16:33:47] atmosphere: thats chargeble
[16:34:04] apeiros: atmosphere: might want to state your requirements upfront
[16:34:06] izzol: bnagy: all what I want to do is to uncompress docx file :)
[16:34:16] atmosphere: m looking free service
[16:34:22] apeiros: atmosphere: afaik there's no free ruby toolchain for iOS
[16:34:50] atmosphere: that was what i was asking
[16:36:12] izzol: bnagy: I think I will come back to the open3. Unzip works fine in that case.
[16:36:22] GMka: has joined #ruby
[16:36:22] gianlucadv: has joined #ruby
[16:36:35] beneggett: has joined #ruby
[16:36:55] apurcell: has joined #ruby
[16:37:04] GMka: has joined #ruby
[16:37:18] bnagy: why do you need open3?
[16:37:42] revoohc: has joined #ruby
[16:37:44] izzol: bnagy: for the proper stderr.
[16:37:57] imperator: has joined #ruby
[16:38:11] GMka: has joined #ruby
[16:38:31] kirun_: has joined #ruby
[16:38:39] izzol: bnagy: so I can do something like Open3.popen3('unzip file') { stderr ... }
[16:38:49] bnagy: yeah I know how it works
[16:39:14] bnagy: but if you're not pushing input to it or streaming output then you don't usually need open3, that's all
[16:39:32] bnagy: there are capture* methods for example
[16:39:51] GMka: has joined #ruby
[16:39:55] izzol: hmm, ok, I will check them. I never used Open3 before so it's good to check it :)
[16:39:58] bnagy: or, tbf, who cares about the command stderr, it worked or it didn't ;)
[16:40:41] bnagy: anyway, have fun :)
[16:40:45] izzol: bnagy: I need to check if the zip file is protected by the password :-)
[16:41:01] GMkaR: has joined #ruby
[16:41:09] izzol: so I'm sending "wrong password" and checking if there will be an error :0
[16:41:19] izzol: not sure if this is the best method but it works :P
[16:41:44] skade: has joined #ruby
[16:41:44] banister: has joined #ruby
[16:41:54] Rodya_: has joined #ruby
[16:42:32] wmoxam: has joined #ruby
[16:43:14] GMkaR: has joined #ruby
[16:43:17] Macaveli: has joined #ruby
[16:43:43] Limix: has joined #ruby
[16:44:47] GMkaR: has joined #ruby
[16:45:14] chrisja: has joined #ruby
[16:45:39] Limix: has joined #ruby
[16:46:29] TinkerTyper: has joined #ruby
[16:46:41] bricker: What is this date format called? "2015-06-08 16:30:00 UTC" I can't get Javascript to understand it
[16:46:47] GMkaR: has joined #ruby
[16:46:47] yeticry: has joined #ruby
[16:47:06] dudedudeman: ew. javascript.
[16:47:07] Aria: That doesn't look like any particular standard I know of.
[16:47:09] dudedudeman: just kidding.
[16:48:04] Aria: ISO8601 and RFC 2822, and HTTP are the most common ones you see. It's not those.
[16:48:11] Aria: Transforming to ISO 8601 shouldn't be hard though
[16:48:34] GMkaR: has joined #ruby
[16:49:08] f00bo: has joined #ruby
[16:49:26] bricker: Aria: it's not I'm just wondering why anything is outputting this format
[16:49:27] f00bo: did any of you guys see Crystal?
[16:49:30] bricker: its seems arbitrary
[16:49:57] GMkaR: has joined #ruby
[16:50:01] f00bo: seems pretty cool https://news.ycombinator.com/item?id=9669166
[16:50:16] fabrice31: has joined #ruby
[16:51:13] GMkaR: has joined #ruby
[16:51:15] Aria: bricker: it is!
[16:52:15] GMkaR: has joined #ruby
[16:52:27] bricker: Aria: It says it's mimicking Ruby 1.9's "Time#to_s" format but I don't see it
[16:52:46] Aria: Heh. Isn't to_s locale-dependent?
[16:52:50] jhass: f00bo: we got a channel btw, #crystal-lang ;)
[16:52:56] f00bo: >> Time.now.to_s
[16:52:58] ruboto: f00bo # => "2015-06-08 16:52:56 +0000" (https://eval.in/377673)
[16:53:09] bricker: Aria: what's even more annoying is that Chrome recognizes the date format, but not Safari
[16:53:16] bricker: (in javascript)
[16:53:36] izzol: jhass: what is cristal lang?
[16:53:39] MarkTurner: has joined #ruby
[16:53:39] Aria: Hehe. Dates in javascript are underspecified and horrible?! Say it ain't so!
[16:53:53] NeverDie: has joined #ruby
[16:53:55] Aria: bricker: Whatever claims to be mimicking 1.9 is just making bogus claims ;-)
[16:54:03] GMkaR: has joined #ruby
[16:54:08] spyderman4g63: has joined #ruby
[16:54:10] jhass: izzol: a programming language
[16:55:04] jhass: 19>> Time.now.utc.to_s
[16:55:05] ruboto: jhass # => "2015-06-08 16:55:04 UTC" (https://eval.in/377674)
[16:55:17] mrsolo: has joined #ruby
[16:55:28] bronson: has joined #ruby
[16:55:51] GMkaR: has joined #ruby
[16:55:55] dfockler: has joined #ruby
[16:56:49] n008f4g_: has joined #ruby
[16:57:00] izzol: jhass: let me try ;-)
[16:57:06] finisherr: has joined #ruby
[16:57:19] cmisenas: has joined #ruby
[16:57:51] GMkaR: has joined #ruby
[16:58:30] paulcsmith: has joined #ruby
[16:59:17] GMkaR: has joined #ruby
[16:59:21] yeticry: has joined #ruby
[16:59:34] dreinull75: before I start tinkering, I have image data as a blob in a db. I assume it's jpeg data. What's the easiest way to work with that data? Write to file and read it?
[17:00:08] TinkerTyper: has joined #ruby
[17:00:28] f00bo: has joined #ruby
[17:00:28] rindolf: has joined #ruby
[17:00:36] dreinull75: it's meant for a sinatra app, i.e needs forwarding
[17:00:49] f00bo: has joined #ruby
[17:00:51] caseypatrickdris: has joined #ruby
[17:01:20] soulcake: has joined #ruby
[17:01:30] jenrzzz: has joined #ruby
[17:01:41] GMkaR: has joined #ruby
[17:02:21] MatthewsFace: has joined #ruby
[17:03:30] thiagovsk: has joined #ruby
[17:03:46] blackmesa: has joined #ruby
[17:04:03] GMkaR: has joined #ruby
[17:05:09] wallerdev: has joined #ruby
[17:05:33] ddfreyne: Crystal is pretty nice. I've written some stuff in it, and I plan to use it for more things.
[17:06:08] unshadow: has joined #ruby
[17:06:31] GMkaR: has joined #ruby
[17:07:41] towski_: has joined #ruby
[17:08:04] Eiam: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[17:08:29] GMkaR: has joined #ruby
[17:08:48] rodfersou: has joined #ruby
[17:08:51] ESpiney: has joined #ruby
[17:09:58] shock_one: has joined #ruby
[17:10:01] leeyaa: has joined #ruby
[17:10:17] GMkaR: has joined #ruby
[17:10:45] leeyaa: trying to install barkeep, maybe someone has heard of it (not very good with ruby apps) and for some reason it fails with this error http://paste.ubuntu.com/11652559/
[17:10:49] leeyaa: any idea what the problem might be ?
[17:11:00] snophey: has joined #ruby
[17:11:32] GMkaR: has joined #ruby
[17:11:44] jhass: leeyaa: what's your output of the locale command?
[17:11:58] jackjackdripper: has joined #ruby
[17:12:07] Xeago: has joined #ruby
[17:12:16] leeyaa: jhass: this http://paste.ubuntu.com/11652568/
[17:12:20] kinduff: has joined #ruby
[17:12:20] kinduff: has joined #ruby
[17:12:51] jhass: leeyaa: I'd suggest to configure your system to a UTF-8 locale
[17:13:13] GMkaR: has joined #ruby
[17:13:13] nonparfumee: has joined #ruby
[17:13:14] jhass: as a temporary measure you can try LC_ALL=en_US.UTF-8
[17:13:25] havenwood: sudo dpkg-reconfigure locales
[17:13:27] jhass: (export, prepend to all commands, whatever)
[17:15:26] leeyaa: jhass: yeah that moved me forward a bit
[17:15:47] havenwood: UTF-8 ALL THE THINGS \o/
[17:16:07] leeyaa: ruby apps not very smart it seems :D
[17:16:10] ghr: has joined #ruby
[17:16:11] ruby-lang044: has joined #ruby
[17:16:46] jhass: no, you not very smart for not using UTF-8 :P
[17:17:01] leeyaa: jhass: thats default ubuntu config
[17:17:10] jhass: doubt that tbh
[17:17:23] jhass: never had to configure it for any of my ubuntus
[17:17:33] eam: posix/C locale is commonly used instead of utf8
[17:17:37] leeyaa: well the vm is default, im testing some code review app.
[17:17:39] eam: lots of reasons to avoid utf8
[17:17:42] affenhoden: has joined #ruby
[17:17:50] havenwood: all. the. things.
[17:17:50] leeyaa: none of my newest vms have locale configured to utf ;p
[17:18:13] leeyaa: even my ubuntu 6 vms dont have it rofl
[17:19:00] mikecmpbll: has joined #ruby
[17:19:01] fujimura: has joined #ruby
[17:19:57] mrmargolis: has joined #ruby
[17:20:06] arup_r: has joined #ruby
[17:20:40] leeyaa: anyone used barkeep ?
[17:20:46] havenwood: leeyaa: cat /var/lib/locales/supported.d/local
[17:21:16] havenwood: cat /etc/default/locale
[17:21:19] RegulationD: has joined #ruby
[17:21:47] havenwood: "en_US.UTF-8" default at least on this Ubuntu box
[17:21:49] kevkev: has joined #ruby
[17:22:11] cmisenas: has joined #ruby
[17:23:03] beneggett: has joined #ruby
[17:23:45] kinduff: Saw this method: def yolo_require(lib); $-w = false; require lib; $-w = true; end, what does it do?
[17:23:54] mrmargol_: has joined #ruby
[17:24:04] bronson: has joined #ruby
[17:24:24] mrsolow: has joined #ruby
[17:24:31] apeiros: it (potentially) disables warnings, requires the lib, then enables warnings
[17:24:51] apeiros: potentially because $-w might have been false prior to the yolo_require.
[17:24:52] djbkd: has joined #ruby
[17:24:55] havenwood: so presumably warnings were enabled before that method, or they are after it
[17:25:46] kinduff: thank you, didn't knew what $-w meant
[17:25:52] CustosLimen: has joined #ruby
[17:26:16] havenwood: kinduff: $-w for -w and $-I for -I flag, etc
[17:26:49] psye: has joined #ruby
[17:27:05] leeyaa: hm now this is the error http://paste.ubuntu.com/11652781/
[17:27:10] djbkd: has joined #ruby
[17:29:03] alphaatom: has joined #ruby
[17:29:19] mcpierce: has joined #ruby
[17:29:57] baweaver: has joined #ruby
[17:30:18] alphaatom: has joined #ruby
[17:31:25] AhabsBeard: has joined #ruby
[17:31:27] mdw: has joined #ruby
[17:31:28] caseypatrickdris: has joined #ruby
[17:31:32] mary5030_: has joined #ruby
[17:31:38] ndrei_: has joined #ruby
[17:31:49] jobewan: has joined #ruby
[17:32:39] Spami: has joined #ruby
[17:32:51] Channel6: has joined #ruby
[17:33:27] baweaver_: has joined #ruby
[17:33:49] mister_solo: has joined #ruby
[17:36:44] yaw: has joined #ruby
[17:39:01] fgo: has joined #ruby
[17:39:11] balazs: has joined #ruby
[17:40:00] havenwood: leeyaa: barkeep_server.rb has a `require 'environment'` to load the environment.rb that sets that constant: https://github.com/ooyala/barkeep/blob/master/environment.rb#L26
[17:41:49] infinitone: has joined #ruby
[17:41:51] diegoviola: has joined #ruby
[17:42:14] leeyaa: havenwood: so that should be resolveable or what ?
[17:42:27] havenwood: leeyaa: Did you delete or change the contents of environment.rb?
[17:42:39] geggam: has joined #ruby
[17:42:45] leeyaa: i did change some yeag
[17:42:54] leeyaa: unicorn variables
[17:43:21] ndrei: has joined #ruby
[17:43:23] havenwood: leeyaa: Look for the line I linked ^
[17:43:42] geggam: has joined #ruby
[17:45:00] baweaver: has joined #ruby
[17:45:36] ferr: has joined #ruby
[17:46:20] caseypatrickdris: has joined #ruby
[17:46:55] slackbotgz: has joined #ruby
[17:48:03] mcpierce: has joined #ruby
[17:48:49] mister_solo: has joined #ruby
[17:49:48] leeyaa: havenwood: hm looks like i dont have ruby-oath2
[17:52:39] leeyaa: thanks for the help
[17:52:42] mrchris: has joined #ruby
[17:53:12] stoogenmeyer__: has joined #ruby
[17:53:37] havenwood: leeyaa: you're welcome
[17:54:11] leeyaa: i think ill kill some developer tomorrow
[17:54:17] leeyaa: who the hell uses barkeep anyway
[17:55:00] miah: i havent; but i would.
[17:55:18] jhass: ffs microsoft
[17:55:27] jhass: rejecting mail from my server
[17:55:38] jhass: sorry, I should head to our new OT channel
[17:56:37] ruboto: this seems to be off-topic. please move your discussion to #ruby-offtopic, to keep this channel free for ruby related problems. Thanks!
[17:56:47] beneggett: has joined #ruby
[17:57:20] mrmargolis: has joined #ruby
[17:58:02] leeyaa: havenwood: still fails ;p
[17:58:16] d5sx43: has joined #ruby
[17:59:17] yardenbar: has joined #ruby
[18:00:41] fschuindt: has joined #ruby
[18:01:00] miah: try passing --env <environment> to your unicorn command
[18:02:05] fschuindt: Guys, I am having trouble with a string like "\u0000I\u0000N\u0000S...". How can I convert it back to the normal? It prints "INSERT" but in the code is different from "INSERT" cause its like "\u0000I\u0000N\u0000S...". Any help?
[18:02:39] jhass: you got a 0-byte every other char? oO
[18:02:47] jhass: where do you get your input from...
[18:03:15] fschuindt: jhass: Is that with me?
[18:03:36] andikr: has joined #ruby
[18:03:47] djbkd: has joined #ruby
[18:03:48] GMkaE: has joined #ruby
[18:04:26] nickfausnight: has joined #ruby
[18:04:30] djbkd: has joined #ruby
[18:04:45] fschuindt: jhass: I dont understand what you mean by 0-byte every other char. But my input is by reading a .sql file. Hehe
[18:05:00] jhass: how exactly do you read it?
[18:05:04] gauke: has joined #ruby
[18:05:09] jhass: and how is that file created?
[18:05:14] jhass: a hexdump of it might be interesting too
[18:05:39] jhass: \u0000 is a 0 byte
[18:05:46] ruboto: jhass # => "\x00" (https://eval.in/377711)
[18:05:51] fschuindt: jhass: Can you take a look to this snippet? Is all my code: https://gist.github.com/fschuindt/91673fe7ec85a6549490
[18:05:55] jhass: >> 0.chr == "\u0000"
[18:05:56] ruboto: jhass # => true (https://eval.in/377712)
[18:06:05] fschuindt: jhass: The file is a MSSQL dump from the MSSQL administration tool x.x
[18:06:20] blue_deref: has joined #ruby
[18:06:26] jhass: oh, microsoft, ruining your day since 1991
[18:06:47] treehug88: has joined #ruby
[18:06:47] fschuindt: jhass: yes... x.x
[18:07:12] jhass: I think you apply the wrong encoding
[18:07:17] jhass: do you have the enca tool?
[18:07:27] fschuindt: jhass: what is enca?
[18:07:36] jhass: like file, cp, mv
[18:07:43] havenwood: fschuindt: enca -- detect and convert encoding of text files
[18:07:55] ogpastal_: has joined #ruby
[18:08:01] fschuindt: like brew install enca? haha
[18:08:03] fschuindt: I dont know
[18:08:13] bantic: has joined #ruby
[18:08:17] fschuindt: its installing
[18:08:20] havenwood: fschuindt: yup
[18:09:04] fschuindt: jhass: What I do with that? enca file.sql?
[18:09:15] jhass: I think it wants a param for the language
[18:09:18] khebbie: has joined #ruby
[18:09:19] mister_solo: has joined #ruby
[18:09:26] jhass: -L english or something
[18:10:25] fschuindt: will read about it, 1 min
[18:10:36] gauke_: has joined #ruby
[18:10:45] Cache_Money: has joined #ruby
[18:13:01] GriffinHeart: has joined #ruby
[18:14:07] fschuindt: jhass: It returned: Universal character set 2 bytes; UCS-2; BMP CRLF line terminators; Byte order reversed in pairs (1,2 -> 2,1);
[18:14:19] swgillespie: has joined #ruby
[18:14:34] postmodern: has joined #ruby
[18:14:53] jhass: apeiros: ^ help :D
[18:15:10] jhass: what might the ruby encoding name for that be...
[18:15:12] apeiros: ACTION blinks
[18:15:38] apeiros: Encoding.list. have fun :-p
[18:15:51] jhass: fancy name for UTF-16 apparently
[18:16:10] apeiros: at least iirc ucs != utf
[18:16:19] jhass: http://en.wikipedia.org/wiki/Universal_Coded_Character_Set
[18:16:20] apeiros: both are in the unicode family, though. but not sure
[18:16:27] eam: I think it's similar with a few differences
[18:16:28] dfockler: is there an IETF RFC for a unicode api?
[18:16:30] twistedpixels: has joined #ruby
[18:16:32] fschuindt: oh hell, I am really confused hahaha
[18:16:37] caseypat_: has joined #ruby
[18:16:46] joaomdmoura: has joined #ruby
[18:17:01] havenwood: fschuindt: you have a primordial ancestor of utf-16 before it started emerging from the ooze
[18:17:11] ellisTAA: has joined #ruby
[18:17:52] fschuindt: havenwood: that don't sounds good :x
[18:18:08] apeiros: "UTF-16, an extension of UCS-2" from that wp article
[18:18:15] joaomdmoura_: has joined #ruby
[18:18:16] sleungcy: has joined #ruby
[18:18:23] fschuindt: how can I convert it? Like line.encode!('UTF-8', 'UTF-16')
[18:18:24] apeiros: so I'd say ucs2 is a subset of utf16, which would mean you can just treat it as utf16
[18:18:31] apeiros: don't forget to use the right endian
[18:18:47] symm-: has joined #ruby
[18:18:51] joaomdmoura: has joined #ruby
[18:19:05] jhass: fschuindt: uhm, is running iconv or enconv to convert it externaly an option for you? I don't see something in the ruby supported encodings
[18:20:13] bin_005: has joined #ruby
[18:20:20] fschuindt: jhass: I don't know, let me check the encoding options for the dump exportation
[18:20:30] apeiros: jhass: as said, can just use utf-16
[18:20:34] kinduff: has joined #ruby
[18:20:34] jhass: that'd be good option too
[18:20:38] jhass: apeiros: oh? mh
[18:20:40] apeiros: all ucs-2 is valid utf-16 from what I can find
[18:20:48] apeiros: just don't forget BE/LE
[18:20:56] jhass: I'd still export it to UTF-8 instead if that's an option
[18:21:11] apeiros: anything utf is better
[18:21:14] apeiros: ucs is obsolete
[18:21:18] fschuindt: apeiros: Can you show me a ruby command doing this convertion in a foo string?
[18:21:18] elev: has joined #ruby
[18:21:26] apeiros: foo.encode(from, to)
[18:21:39] jhass: fschuindt: or better yet stick it into your Foo.new/open call
[18:21:43] fschuindt: Will check the exportations options too
[18:21:45] apeiros: if you've read the data properly, just foo.encode(to), because the from encoding is already set on the string.
[18:21:50] hdev1: has joined #ruby
[18:22:00] apeiros: (you can read it using foo.encoding)
[18:22:03] jhass: encoding: "UTF-16LE"
[18:22:10] ndrei: has joined #ruby
[18:22:10] jhass: or whatever "reversed in pairs" means
[18:22:17] edwinvdgraaf: has joined #ruby
[18:22:18] clone123: has joined #ruby
[18:22:20] apeiros: remember that foo.encoding only tells you what you told ruby the encoding of the string is supposed to be
[18:22:33] apeiros: it does NOT (and can't) figure out which encoding a random chunk of bytes has
[18:22:56] khebbie: has joined #ruby
[18:22:57] baroquebobcat: has joined #ruby
[18:23:00] jhass: apeiros: how's that article going that you could've linked instead btw? :P
[18:23:02] apeiros: (and "you told" can be indirect via Encoding.default_external, encoding comment etc.)
[18:23:18] clone123: has left #ruby: ()
[18:23:21] apeiros: jhass: waiting for more articles to join. but I don't see when I get around writing them :-|
[18:23:27] apeiros: maybe I'll push it up lonely as it is.
[18:23:36] jhass: yeah, see no reason not to
[18:23:38] apeiros: back to watching wwdc now :-p
[18:23:41] chussenot: has joined #ruby
[18:23:46] _seanc_: has joined #ruby
[18:23:48] lkba: has joined #ruby
[18:24:28] jhass: fschuindt: so, if you can export as UTF-8, do that by all means, else stick encoding: "UTF-16LE" (or BE, I still don't know) into your File.new call and get rid of all that .ecnode! mess
[18:24:54] Master44: What is a superclass and when can I use it?
[18:25:08] jhass: master44: if you have class A < B, B is the superclass of A
[18:25:18] fschuindt: jhass: Cool. The exportations options only talks about ANSI e Unicode.
[18:25:30] jhass: fschuindt: ANSI?!
[18:25:37] jhass: ANSI is an encoding since... ?
[18:25:50] fschuindt: jhass: Save as ANSI text or Save as Unicode text.
[18:25:56] fschuindt: Microsoft...
[18:26:08] Scroff: has joined #ruby
[18:26:12] mercwithamouth: has joined #ruby
[18:26:23] jhass: sigh http://stackoverflow.com/a/701920/2199687
[18:27:05] jhass: I mean... wth
[18:27:27] jhass: "yeah, we know it's wrong, but we told everybody it's a thing so we stick to it"
[18:27:42] anaeem1_: has joined #ruby
[18:27:45] fschuindt: jhass: LOL, and I will stick with the Unicode shit.
[18:28:11] jhass: notice the subtle "at least on Western/U.S. systems" on that SO answer
[18:28:24] jhass: ANSI = whatever your system encoding might be
[18:28:46] x1337807x: has joined #ruby
[18:29:00] fschuindt: jhass: Do you believe thats all Microsoft fault? I work to a company thar works to a state bank (named Banese). They are all microsoft, servers, computers, notebooks, every shit is microsoft. And guess what, I am Rails developer, lol.
[18:29:04] d5sx43: has joined #ruby
[18:29:20] jhass: you have my condolences
[18:30:01] jhass: and yes it's microsoft's fault because they can't admit their mistakes and keep "backwards compatibility" for the most silly things
[18:30:27] jhass: see I'm not saying nobody else made mistakes, but most of them at least get their shit together afterwards
[18:30:40] Rodya_: has joined #ruby
[18:30:44] allomov: has joined #ruby
[18:31:20] fschuindt: jhass: yes, sure
[18:32:20] jhass: anyway, gotta head to the grocery, as said try specifying UTF-16LE or UTF-16BE on the File.new/open call and get rid of the encode! calls
[18:32:32] pwattstbd: has joined #ruby
[18:32:38] caseypatrickdris: has joined #ruby
[18:33:54] fschuindt: jhass: Like: File.open(@file_name_prefix+@spliter_count.to_s+'.sql', "w+::UTF-16LE") ?
[18:33:59] mercwithamouth: has joined #ruby
[18:34:13] jhass: yeah that's one form iirc
[18:34:29] joaomdmoura: has joined #ruby
[18:36:06] SiliconDon: has joined #ruby
[18:37:03] Filete: has joined #ruby
[18:37:06] djbkd: has joined #ruby
[18:37:37] cmisenas: has joined #ruby
[18:37:46] fschuindt: jhass: I got: ASCII incompatible encoding needs binmode (ArgumentError)
[18:38:12] fschuindt: think I will export to ASCI in the MS tool, do you think that gonna work?
[18:39:20] ebbflowgo: has joined #ruby
[18:39:39] aaeron: has joined #ruby
[18:39:46] ghanima: has joined #ruby
[18:40:27] ghanima: I have file that someone provided me that was originally suppose to be csv but was incomplete
[18:40:34] ghanima: the format of the file is as follows
[18:40:58] ghanima: "name=\"Zygmunt, Kenneth H, DPM\", address=\"552 S Washington St Ste 116 Naperville, IL 60540\", phone=\"(630)983-5694\", Other Languages Spoken=\" None\", NPI=\" 1154325074\", Board Certified=[\"Podiatry\"], Education=\" Illinois College Of Podiatric Medicine\", Residency=\" University of Illinois\", Graduation Date=\" 05/31/1981\", Provider Specialty=\" Podiatry\", Hospital Affiliations=\" Edward Hospital\", State=\
[18:41:01] arup_r: has joined #ruby
[18:41:19] ghanima: basically what I want to do is create a hash for every string connected via = sign
[18:42:03] djbkd: has joined #ruby
[18:43:22] ghanima: I am not sure how to do that
[18:43:23] ellisTAA: hey do u guys see where i???m missing an end? https://gist.github.com/ellismarte/25b406d8d8c70abe73f9
[18:43:31] belak: has left #ruby: ("WeeChat 1.2")
[18:43:36] d5sx43: has joined #ruby
[18:43:51] ghanima: I am looking at string methods to convert entries into an array, but I don't know of a clear way to convert into a hash
[18:43:55] aotg: has joined #ruby
[18:43:59] edwinvdgraaf: has joined #ruby
[18:44:10] tekacs: has joined #ruby
[18:44:37] surrounder: has joined #ruby
[18:44:48] zotherstupidguy: has joined #ruby
[18:45:08] snockerton: has joined #ruby
[18:45:35] leeyaa: has left #ruby: ()
[18:46:01] anaeem1_: has joined #ruby
[18:47:50] A124: has joined #ruby
[18:48:45] tsujp: has joined #ruby
[18:48:55] dopie: has joined #ruby
[18:48:55] ellisTAA: has joined #ruby
[18:49:59] queequeg1: has joined #ruby
[18:50:07] banister: has joined #ruby
[18:51:07] Ox0dea: has joined #ruby
[18:51:15] Ox0dea: >> require 'csv'; Hash[CSV.parse_line('a=1,b=2').map { |s| s.split '=' }]
[18:51:16] ruboto: Ox0dea # => {"a"=>"1", "b"=>"2"} (https://eval.in/377808)
[18:51:20] Ox0dea: ghanima: ^
[18:51:37] Scripore: has joined #ruby
[18:51:37] revath: has joined #ruby
[18:52:02] Ox0dea: String#split does what it says on the tin, and Hash[...] constructs a Hash from array pairs.
[18:52:52] Ox0dea: EllisTAA: The "class" keyword, like all keywords in Ruby, is lower-cased.
[18:52:59] ellisTAA: yeah thanks i got it
[18:53:00] queequeg1: has joined #ruby
[18:53:05] ellisTAA: i appreciate that
[18:53:19] Ox0dea: You still don't seem to have fully grokked instance variables. :/
[18:53:31] plashchynski: has joined #ruby
[18:55:01] baweaver: has joined #ruby
[18:55:23] Asemace: has joined #ruby
[18:55:26] platzhirsch: has joined #ruby
[18:55:32] joaomdmoura: has joined #ruby
[18:56:02] niemcu: has joined #ruby
[18:56:22] duderonomy: has joined #ruby
[18:56:30] ernham: has joined #ruby
[18:56:42] starfox_sf: has joined #ruby
[18:57:41] ebbflowgo: has joined #ruby
[18:57:46] Asemace: haven, what k??nda stuff is allowed to Talk about here?mean, whats forbidden?
[18:57:59] Aria: http://ruby-community.com/pages/user_rules
[18:58:10] Aria: Point 10 particularly.
[18:58:35] havenwood: Asemace: ^ the link is also in the channel topic if you want to find it again.
[18:58:53] balazs: has joined #ruby
[18:59:32] allomov: has joined #ruby
[19:00:29] Asemace: ok, got it, thanks
[19:01:34] byprdct: has joined #ruby
[19:01:49] Master44: when can I use the ===
[19:02:50] Asemace: got banned on efnet from several channels, althow i wasnt insulting Single persons, think gotta kinda mentallity difference, therefore im asking
[19:03:44] byprdct: has joined #ruby
[19:03:45] ellisTAA: getting a comparison of Fixnum with nil failed (ArgumentError) on line 15 https://gist.github.com/ellismarte/25b406d8d8c70abe73f9#file-quick_sort-rb-L15
[19:03:49] finisherr: has joined #ruby
[19:04:29] ogpastaling: has joined #ruby
[19:04:37] havenwood: master44: When you use case statements.
[19:04:43] mc_fail: has joined #ruby
[19:04:48] timonv: has joined #ruby
[19:04:51] havenwood: master44: It's implicitly what's underneath.
[19:04:59] byprdct: has joined #ruby
[19:05:21] Master44: Thats wried ellistaa
[19:05:26] chussenot: has joined #ruby
[19:05:36] Kricir: has joined #ruby
[19:05:57] jgt1: has joined #ruby
[19:06:16] ellisTAA: master44: the error is weird?
[19:06:17] bin_005: has joined #ruby
[19:06:32] byprdct: has joined #ruby
[19:06:35] Master44: I dont find it sorry
[19:07:02] ag4ve_: has joined #ruby
[19:07:47] yfeldblum: has joined #ruby
[19:07:48] fujimura: has joined #ruby
[19:07:48] Asemace: ok, thanks, seeya later, bye
[19:07:50] Asemace: has left #ruby: ()
[19:08:06] byprdct: has joined #ruby
[19:08:19] ereslibre: has joined #ruby
[19:08:30] jhass: EllisTAA: modifying the collection you iterate over is asking for such trouble
[19:08:31] anaeem1_: has joined #ruby
[19:08:31] sarink: has joined #ruby
[19:08:56] ellisTAA: jhass: but i have to sort it so how do i sort it if i can???t modify it?
[19:09:25] AhabsBeard: has joined #ruby
[19:09:31] jhass: don't use internal iterators or operate on a copy
[19:09:50] jhass: the former means use array.size.times do |i|
[19:09:58] jhass: and the like
[19:10:04] ellisTAA: in my case what is my internal iterator?
[19:10:10] jhass: each_with_index
[19:10:10] apofis: has joined #ruby
[19:10:43] jhass: everything that yields you actual items of the array is one
[19:11:44] ellisTAA: ok could u explain that a bit differently?
[19:12:02] jhass: I'm not sure
[19:12:13] ellisTAA: for sure ill reread that and try stuff out
[19:12:55] jhass: is there a word/term/phrase you don't understand maybe? like "yields"?
[19:13:18] kinduff_: has joined #ruby
[19:13:24] ellisTAA: i didn???t understand ???don???t use internal iterators or operate on a copy???
[19:13:35] ellisTAA: that means don???t use each with index?
[19:13:58] jhass: yes, since each_with_index is an internal iterator, since it yields you actual values of the array
[19:14:05] orionstein_: has joined #ruby
[19:14:13] jhass: let's think of a naive implementation of each_with_index
[19:14:54] jhass: def each_with_index; i = 0; loop do; yield self[i], i; i += 1; break if i == size; end; end;
[19:15:03] grzywacz: has joined #ruby
[19:15:05] Rixius: has joined #ruby
[19:15:07] jhass: wait, not naive enough :P
[19:15:14] ellisTAA: why is it called an INTERNAL iterator
[19:15:32] havenwood: EllisTAA: Here's a hint: [2, 4, nil]
[19:15:37] ellisTAA: what is an EXTERNAL iterator
[19:15:40] jhass: because the iterator drives your code, opposed to an external iterator where you drive the iterator
[19:16:07] ellisTAA: oh ??? i see ill google that to learnmore
[19:16:14] jhass: >> iterator = [1, 2, 3].each; iterator.next
[19:16:15] ruboto: jhass # => 1 (https://eval.in/377810)
[19:16:38] jhass: def each_with_index; size.times do |i| yield self[i], i; end; end;
[19:16:40] jhass: consider this
[19:16:44] ellisTAA: so u were saying don???t use each with index because it is iterating internally so why would it ened to be external
[19:16:53] jhass: what happens if you delete an item while that's running?
[19:17:16] Zai00: has joined #ruby
[19:17:42] jhass: well, Rubys external iterator interface (Enumerator) has the same problem, so I'm rather saying use external iteration
[19:17:44] ereslibre_laptop: has joined #ruby
[19:17:44] ereslibre_laptop: has joined #ruby
[19:17:49] skade: has joined #ruby
[19:18:12] jhass: like our naive each_with_index implementation above, except that you can react to changes you make and modify the i accordingly
[19:18:46] jhass: looks like I made their brain explode :P
[19:18:51] TDJACR_: has joined #ruby
[19:19:01] symm-: has joined #ruby
[19:19:43] ellisTAA: has joined #ruby
[19:19:50] datanois1: has joined #ruby
[19:19:56] ellisTAA: jhass: what happens when you delete while iterating??? - good point
[19:20:27] jhass: and that's why you need external iteration, you need complete control over it
[19:20:36] Iskarlar: has joined #ruby
[19:20:57] ellisTAA: ok cool i???m going to go back and rethink this
[19:21:27] administ1ador: has joined #ruby
[19:21:27] ogpastal_: has joined #ruby
[19:21:35] administ1ador: has left #ruby: ()
[19:22:08] jhass: uh, new rubygems
[19:22:24] jhass: yay, with an CVE
[19:22:28] Frem: has joined #ruby
[19:22:37] miah: got link?
[19:22:54] mrsolo: has joined #ruby
[19:23:09] jhass: http://blog.rubygems.org/2015/05/14/CVE-2015-3900.html
[19:23:23] jhass: no idea why the release only appeared now in my feedreader?
[19:23:26] ndrei: has joined #ruby
[19:23:30] jhass: http://blog.rubygems.org/2015/06/08/2.4.8-released.html
[19:23:35] jhass: it's from today, mh
[19:23:39] Cache_Money: has left #ruby: ()
[19:23:54] duderonomy: has joined #ruby
[19:24:32] chrishough: has joined #ruby
[19:25:36] kinduff: has joined #ruby
[19:25:43] yqt: has joined #ruby
[19:26:13] shock_one: has joined #ruby
[19:26:30] Macaveli: has joined #ruby
[19:26:33] anaeem1: has joined #ruby
[19:26:33] Iskarlar: has joined #ruby
[19:27:29] neanderslob: has joined #ruby
[19:27:31] paulcsmith: has joined #ruby
[19:27:54] doctorly: has joined #ruby
[19:28:01] k3asd`: has joined #ruby
[19:28:08] anaeem1_: has joined #ruby
[19:28:19] arnie56: has joined #ruby
[19:28:32] arnie56: hey people, maybe some one can help me with something really simple
[19:28:55] arnie56: i have an array with 2 strings, and i want to swap between them evenly, unlike sample method who does this randomly
[19:29:04] arnie56: how can i do this?
[19:29:31] railsraider: has joined #ruby
[19:29:38] niemcu: has joined #ruby
[19:29:50] blackmesa: has joined #ruby
[19:30:11] arnie56: cycle method?\
[19:30:20] yalue: has joined #ruby
[19:30:26] jhass: cycle iterates through all elements endlessly
[19:30:48] jhass: >> [1, 2].cycle.take(10)
[19:30:49] ruboto: jhass # => [1, 2, 1, 2, 1, 2, 1, 2, 1, 2] (https://eval.in/377813)
[19:31:39] havenwood: >> [1, 2].cycle(5).to_a
[19:31:40] ruboto: havenwood # => [1, 2, 1, 2, 1, 2, 1, 2, 1, 2] (https://eval.in/377814)
[19:32:14] arnie56: [1, 2].cycle(1) gives me 1 each time , i want first given 1 then 2 then 1 then 2 back
[19:32:30] jhass: arnie56: see above?
[19:32:39] jhass: havenwood: how can you remember all these..
[19:33:00] havenwood: jhass: how can you..
[19:33:03] anaeem1: has joined #ruby
[19:33:39] havenwood: jhass: the docs help ;)
[19:33:56] anaeem1: has joined #ruby
[19:34:00] arnie56: thanks, i am even looking at a switch statement which gives out 1 string
[19:34:03] arnie56: and then another
[19:34:12] havenwood: arnie56: Show us what you have so far?
[19:34:12] arnie56: and switches between them
[19:34:23] havenwood: ?gist arnie56
[19:34:23] ruboto: arnie56, https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[19:34:46] arnie56: i have nothing really :D i just wanted to know this before i begin
[19:34:55] fschuindt: has joined #ruby
[19:35:04] jhass: I sense xy
[19:35:06] ruboto: it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
[19:35:40] Musashi007: has joined #ruby
[19:35:43] snockerton: has joined #ruby
[19:37:12] havenwood: arnie56: Just to confirm you get what we've already said, in irb you might try: one_two = [1, 2].cycle # then check `one_two.size` and a few `one_two.next`s.
[19:38:19] moretti: has joined #ruby
[19:38:41] anaeem1: has joined #ruby
[19:40:08] plashchynski: has joined #ruby
[19:40:10] queequeg1: has joined #ruby
[19:40:27] havenwood: arnie56: From Pry: ls one_two
[19:40:52] havenwood: arnie56: Check out the Enumerator methods: http://ruby-doc.org/core/Enumerator.html
[19:40:53] Sou|cutter: Why is `pp` private?
[19:41:23] jhass: >> Kernel.pp
[19:41:24] ruboto: jhass # => undefined method `pp' for Kernel:Module (NoMethodError) ...check link for more (https://eval.in/377819)
[19:41:52] jhass: >> require "pp"; Kernel.pp
[19:41:52] havenwood: arnie56: And the even more handy Enumerable methods, which are also available to Enumerator: http://ruby-doc.org/core-2.2.2/Enumerable.html
[19:41:53] ruboto: jhass # => nil (https://eval.in/377820)
[19:42:00] jhass: Sou|cutter: because we have ^ version
[19:42:08] jhass: Sou|cutter: check the docs for module_function
[19:43:52] Zai00: has joined #ruby
[19:44:04] kinduff: has joined #ruby
[19:44:05] nettoweb: has joined #ruby
[19:44:22] Sou|cutter: jhass: Ah, it's a module function. Got it
[19:44:24] ereslibre: has joined #ruby
[19:45:22] uris: has joined #ruby
[19:45:47] havenwood: >> 1.upto 5, &Kernel.method(:puts)
[19:45:48] ruboto: havenwood # => 1 ...check link for more (https://eval.in/377821)
[19:46:10] havenwood: Ahem, I mean: 1.upto 5, &Kernel.public_method(:puts)
[19:46:42] icarus: has joined #ruby
[19:46:42] Sou|cutter: jhass: thanks!
[19:47:32] railsraider: has joined #ruby
[19:47:55] freerobby: has joined #ruby
[19:48:18] firevolt: I have a file that when I do File.readlines('file.ext') spits out an array of strings that look like this: "|\t\u0003 0.Gan`*.+^IJET\\O@GC<'PAMF.?\n" any idea what I can do to make this readable?
[19:48:24] dopie: has joined #ruby
[19:49:15] sinkensabe: has joined #ruby
[19:49:21] Iskarlar: has joined #ruby
[19:49:30] n008f4g_: has joined #ruby
[19:51:43] mercwithamouth: has joined #ruby
[19:51:50] miah: write a parser
[19:51:52] jcromartie: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[19:51:56] havenwood: firevolt: What is it? Where'd you get it? Some MS-DOS Norton Commander file?
[19:52:12] Gnar: has joined #ruby
[19:52:15] Gnar: ruby sucks
[19:52:38] firevolt: havenwood: It's a claim file from a company that won't give me the specs on it. It's a .hcfa0212 (name of the claim type) file
[19:53:39] havenwood: Gnar: Read the rules: http://ruby-community.com/pages/user_rules
[19:53:43] firevolt: If I open it in sublime I get lines that look like this: "7c09 0320 302e 4761 6e60 2a2e 2b5e 494a"
[19:53:50] Gnar: you read the rules fag
[19:53:52] ruboto: -o ruboto
[19:54:38] havenwood: !ban Gnar !T 1d
[19:54:38] ChanServ: +b Gnar!*@*
[19:54:38] ChanServ: ChanServ kicked Gnar: is banned from this channel
[19:54:39] Palmer11: has joined #ruby
[19:55:22] mrmargolis: has joined #ruby
[19:56:01] Maxed: has joined #ruby
[19:56:10] aapole: has joined #ruby
[19:57:32] jgt1: has joined #ruby
[19:58:27] sandstrom: has joined #ruby
[19:59:05] shock_one: has joined #ruby
[19:59:18] _seanc_: has joined #ruby
[20:00:04] deric_skibotn: has joined #ruby
[20:00:07] gamename: has joined #ruby
[20:00:46] jenrzzz: has joined #ruby
[20:01:20] theRoUS: basic tcp question: i'm trying to interact with a service (mklivestatus) via a TCPSocket. i write my query with @sock.puts('string'), and i'm able to read the response -- but thereafter it behaves as though it's at eof. i can write more, but never read any more.
[20:01:30] Limix: has joined #ruby
[20:01:51] jcromart_: has joined #ruby
[20:01:58] dionysus69: has joined #ruby
[20:02:01] djbkd: has joined #ruby
[20:03:19] jcromart_: has joined #ruby
[20:03:47] doctorly: has joined #ruby
[20:03:49] bantic: has joined #ruby
[20:04:11] ellisTAA: has joined #ruby
[20:05:26] sarkyniin: has joined #ruby
[20:05:53] yaw: has joined #ruby
[20:05:53] jhass: theRoUS: but you don't have that behavior with e.g. netcat?
[20:06:33] theRoUS: jhass: nope.
[20:06:56] jhass: mmh, hard to debug without access to it tbh
[20:07:10] eam: theRoUS: apps can shutdown() half of a tcp connection without closing it
[20:07:23] imperator: has left #ruby: ("Leaving")
[20:07:27] eam: it's possible the remote end is doing so
[20:07:55] ereslibre: has joined #ruby
[20:08:05] theRoUS: if i talk to the port with netcat, i can send a query, and get a response. then send another query, and get another response.
[20:08:21] bosma: has joined #ruby
[20:08:40] theRoUS: in my ruby code, however, it appears that after the first response it's at 'eof' and won't read any more
[20:09:07] jhass: mmh, perhaps the server is sending something that makes ruby think so?
[20:10:15] gsd: has joined #ruby
[20:10:17] jhass: if you wireshark/tcpdump, is the server sending the response for the second query?
[20:10:31] theRoUS: jhass: i'll check that
[20:10:56] griffindy: has joined #ruby
[20:11:32] tubuliferous_: has joined #ruby
[20:11:38] moeSeth: has joined #ruby
[20:14:26] jacor: has joined #ruby
[20:14:26] sinkensabe: has joined #ruby
[20:14:28] beneggett: has joined #ruby
[20:15:56] theRoUS: does netcat re-open the connexion if it gets an EOF ?
[20:16:05] jhass: I have no idea
[20:16:11] ur5us: has joined #ruby
[20:16:19] jhass: but I wouldn't expect so
[20:16:21] theRoUS: jhass: my second query is getting sent, but i'm not getting a response
[20:16:29] jhass: interesting
[20:16:31] dnlbyl: has joined #ruby
[20:16:49] jhass: any chance you can share the pcap of the first one + response + second query?
[20:17:07] caseypatrickdris: has joined #ruby
[20:17:29] Kloerk: has joined #ruby
[20:19:26] Rodya_: has joined #ruby
[20:20:33] anaeem1: has joined #ruby
[20:20:49] TheHodge: has joined #ruby
[20:20:56] ag4ve_: has joined #ruby
[20:22:05] wallerdev: has joined #ruby
[20:22:24] ogpastaling: has joined #ruby
[20:23:59] baweaver: has joined #ruby
[20:24:37] Zai00: has joined #ruby
[20:25:35] nofxx__: has joined #ruby
[20:25:44] victorkohl: has joined #ruby
[20:26:56] victorkohl: has joined #ruby
[20:27:02] gambl0re: is dropbox down?
[20:27:18] Fooster: has joined #ruby
[20:27:28] baweaver: has joined #ruby
[20:28:03] IanVorn: has joined #ruby
[20:28:20] joaomdmoura: has joined #ruby
[20:28:30] fabrice31: has joined #ruby
[20:28:53] baweaver_: has joined #ruby
[20:28:53] mrmargol_: has joined #ruby
[20:31:14] al2o3-cr: has joined #ruby
[20:31:18] baweaver_: has joined #ruby
[20:35:10] mello: has joined #ruby
[20:35:21] victorkohl: has joined #ruby
[20:36:09] daynets: has joined #ruby
[20:36:48] cmisenas: has joined #ruby
[20:37:12] bgmarx: has joined #ruby
[20:37:41] dfockler: has joined #ruby
[20:37:51] daynets1: has joined #ruby
[20:39:21] jackjackdripper1: has joined #ruby
[20:41:13] gamename: has joined #ruby
[20:41:31] jummy: has joined #ruby
[20:42:35] rbowlby: has joined #ruby
[20:42:41] djbkd: has joined #ruby
[20:44:03] baroquebobcat: has joined #ruby
[20:47:27] ndrei_: has joined #ruby
[20:47:59] Xeago: has joined #ruby
[20:48:40] anaeem1: has joined #ruby
[20:50:33] Iskarlar: has joined #ruby
[20:50:47] ellisTAA: has joined #ruby
[20:50:57] dseitz: has joined #ruby
[20:51:26] devdazed: has joined #ruby
[20:51:34] dgutierrez1287: has joined #ruby
[20:55:03] platzhirsch: has joined #ruby
[20:55:05] platzhirsch: has left #ruby: ()
[20:55:26] d5sx43: has joined #ruby
[20:55:27] workmad3: has joined #ruby
[20:56:34] fujimura: has joined #ruby
[20:57:03] millerti: has joined #ruby
[20:57:11] pietr0: has joined #ruby
[20:59:15] langlands: has joined #ruby
[21:00:21] zotherstupidguy: has joined #ruby
[21:04:27] lkba_: has joined #ruby
[21:04:50] yfeldblum: has joined #ruby
[21:05:39] codelurker: has joined #ruby
[21:06:43] casadei: has joined #ruby
[21:07:40] sandstrom: has joined #ruby
[21:10:01] GMkaE: has joined #ruby
[21:10:15] bin_005: has joined #ruby
[21:11:09] avelldiroll: has joined #ruby
[21:13:39] GMkaBB: has joined #ruby
[21:15:10] GMkaBB: has joined #ruby
[21:16:09] GMkaBB: has joined #ruby
[21:17:44] yoongkang: has joined #ruby
[21:17:56] blackmesa: has joined #ruby
[21:18:30] x1337807x: has joined #ruby
[21:19:03] bgmarx: has joined #ruby
[21:19:12] i: has joined #ruby
[21:21:27] FernandoBasso: has joined #ruby
[21:22:00] swgillespie: has joined #ruby
[21:23:15] marr: has joined #ruby
[21:24:40] sinkensabe: has joined #ruby
[21:28:17] sandstrom: has joined #ruby
[21:30:12] dseitz: has joined #ruby
[21:34:46] pudidis: has joined #ruby
[21:34:54] bosma: has joined #ruby
[21:36:06] ereslibre: has joined #ruby
[21:36:07] ereslibre: has joined #ruby
[21:38:06] iamninja: has joined #ruby
[21:38:10] a346: has joined #ruby
[21:39:03] bin_005: has joined #ruby
[21:39:05] bruno-: has joined #ruby
[21:39:51] chronicrusader: has joined #ruby
[21:40:19] phutchins: has joined #ruby
[21:42:04] vdamewood: has joined #ruby
[21:42:10] dopie: has joined #ruby
[21:42:59] swgillespie: has joined #ruby
[21:43:17] Scroff: has joined #ruby
[21:44:15] d5sx43: has joined #ruby
[21:46:48] x1337807x: has joined #ruby
[21:48:11] pudidis_: has joined #ruby
[21:51:31] aaeron: has joined #ruby
[21:52:14] havenwood: shevy: JRuby+Truffle Graal now runs Rack apps for adapters like Sinatra and Roda. The future is coming...
[21:52:44] dgutierrez1287: has joined #ruby
[21:53:10] duderonomy: has joined #ruby
[21:54:24] moretti: has joined #ruby
[21:54:49] freerobby: has joined #ruby
[21:55:13] ellisTAA: has joined #ruby
[21:55:18] moretti: has joined #ruby
[21:56:07] havenwood: https://github.com/jeremyevans/roda-sequel-stack#readme
[21:56:22] freerobby: has joined #ruby
[21:56:29] havenwood: https://github.com/jruby/jruby-truffle-stack#readme
[21:57:51] mello: has joined #ruby
[21:58:42] mrchris: has joined #ruby
[21:59:11] Filete: has joined #ruby
[22:00:07] havenn: has joined #ruby
[22:00:22] apofis: has joined #ruby
[22:01:24] shevy: I am not sure I understand the implications (because I am a web noob)
[22:01:44] shevy: jeremy evans, wasn't that the old rubinius guy?
[22:02:11] agarie: has joined #ruby
[22:02:31] havenn: shevy: are you thinking evan phoenix?
[22:03:04] premera: has joined #ruby
[22:03:15] nedp: has joined #ruby
[22:03:28] havenn: shevy: jeremy evans won a ruby hero award this year. he's the long-term maintainer of the sequel gem and author of the roda gem.
[22:04:52] rodfersou: has joined #ruby
[22:05:18] eam: evan is a pretty popular name for ruby people
[22:05:21] shevy: those names sound all the same :D
[22:05:21] rdar: has joined #ruby
[22:05:27] havenn: shevy: four /evan/ have one the ruby hero award. eam: aye
[22:05:56] shevy: well ok that helps my brain separate
[22:06:05] dfockler: we're gonna have really fast Java VM based Ruby
[22:07:25] dgutierrez1287: has joined #ruby
[22:08:12] Rodya_: has joined #ruby
[22:08:47] havenn: dfockler: That interoperates performantly with other langs including Java, though Graal VM instead of JVM.
[22:09:40] x1337807x: has joined #ruby
[22:09:47] dfockler: pretty soon, no body will actually care about what processor they are running
[22:09:56] jenrzzz: has joined #ruby
[22:09:58] eam: they already don't
[22:10:12] dfockler: memory and cpu are like water and electricity
[22:10:23] jamo: I'm trying to calculate a hash of uploaded file, it appears that the hash is always changing, even though the submitted file is always generated the seme way. This is how I try to calculate the hash `Digest::SHA256.file(@req['file'][:tempfile].path).hexdigest`
[22:10:25] centrx: has joined #ruby
[22:10:55] bronson: has joined #ruby
[22:10:57] eam: jamo: looks like you're hashing the filename, not the file contents?
[22:11:16] eam: if it's a tempfile, I presume the name will change regularly
[22:11:36] greenbagels: has joined #ruby
[22:11:39] Scroff: has joined #ruby
[22:11:48] bantic: has joined #ruby
[22:12:03] jamo: yeah, its a tempfile, but I was looking into the http://ruby-doc.org/stdlib-2.1.0/libdoc/digest/rdoc/Digest.html -- # Compute digest for a file; Digest::SHA256.file 'testfile'
[22:12:21] edwinvdgraaf: has joined #ruby
[22:12:24] jamo: and kinda assumed this .file would have read the contents of a file
[22:12:25] eam: oh sorry, I didn't see ow known as
[22:12:33] eam: didn't see SHA256.file
[22:12:44] eam: jamo: have you checked the actual file contents?
[22:13:26] greenbagels: has joined #ruby
[22:13:29] finisherr: has joined #ruby
[22:13:34] shevy: what is the proper way to denote a ruby writer method for :foo - would it be ".foo()=" or would it be ".foo() =" I am wondering whether I should use a space; I need to document some things, hence why I wonder
[22:13:49] jamo: nope, since the file gets deleted right after the request is completed. maybe I'll try copying it somewhere for closer inspection
[22:14:14] eam: jamo: another thing to consider is whether the file is being written to while you're checksumming it
[22:14:32] deric_skibotn: has joined #ruby
[22:15:08] jamo: umm, I'm using rack, so I would have hoped that the file would have been uploaded/written before the app can access the tempfile.
[22:16:44] joaomdmoura: has joined #ruby
[22:17:09] jamo: ok, it appears that the file is written successfully before I'm copying it
[22:17:26] fabrice31: has joined #ruby
[22:17:47] GGMethos: has joined #ruby
[22:19:23] jamo: ok, the files get different checksums also from terminal (sha256sum) so guess the issue is not the calculating the hash
[22:19:24] jackjackdripper: has joined #ruby
[22:19:29] apofis_: has joined #ruby
[22:20:11] mahlon: has joined #ruby
[22:21:34] djbkd: has joined #ruby
[22:23:04] bgmarx_: has joined #ruby
[22:23:08] bricker: has joined #ruby
[22:24:10] commondream: has joined #ruby
[22:24:44] hahuang65: has joined #ruby
[22:24:48] shock_one: has joined #ruby
[22:25:22] commondream: has joined #ruby
[22:29:07] Mia: has joined #ruby
[22:29:46] apofis_: has joined #ruby
[22:30:02] Darkwater: is there a way to give a thread a custom name?
[22:30:18] rubymanCC: has joined #ruby
[22:31:29] yfeldblum: has joined #ruby
[22:34:37] dgutierrez1287: has joined #ruby
[22:35:24] swgillespie: has joined #ruby
[22:36:34] Filete: has joined #ruby
[22:36:48] rdar: has joined #ruby
[22:37:18] Eiam: has joined #ruby
[22:37:57] havenwood: Darkwater: You could use a thread-local variable `:name`.
[22:38:16] Darkwater: havenwood: I mean for the system
[22:38:24] Darkwater: threads can have a custom name
[22:38:26] havenwood: Darkwater: For a process?
[22:38:31] Darkwater: I think max 15 chars long
[22:38:37] Darkwater: probably 16 with a terminating nul byte
[22:38:38] shock_one: has joined #ruby
[22:38:53] mdz_: has joined #ruby
[22:39:03] djbkd: has joined #ruby
[22:39:05] [1]abirazor: has joined #ruby
[22:40:51] havenwood: Darkwater: Just to confirm, you're talking threads not processes here?
[22:41:07] Darkwater: yeah threads
[22:41:17] Darkwater: though it might be cool to also do it for processes
[22:41:23] Darkwater: (just to know how to)
[22:41:54] Darkwater: anyway, what got me thinking was htop http://novaember.com/s/8f9453/Xr9sS5.png
[22:42:00] Darkwater: those appear to be named threads
[22:42:05] Darkwater: (the green ones)
[22:43:09] havenwood: Darkwater: There's an assignable $0 for the script name and Process.setproctitle for what ps sees: http://ruby-doc.org/core-2.2.2/Process.html#method-c-setproctitle
[22:43:33] Scripore: has joined #ruby
[22:43:39] djbkd: has joined #ruby
[22:44:12] abirazor: has joined #ruby
[22:44:54] Darkwater: hm, pry seems to name threads
[22:45:09] Darkwater: made a new thread, shows up as (pry):1
[22:45:19] fujimura: has joined #ruby
[22:45:31] Darkwater: oh well, I'll further investigate tomorrow
[22:45:36] Darkwater: time to sleep, night
[22:45:56] fold: has joined #ruby
[22:47:23] x1337807x: has joined #ruby
[22:49:23] dgutierrez1287: has joined #ruby
[22:49:48] Eiam: has joined #ruby
[22:50:47] plashchynski: has joined #ruby
[22:53:42] DLSteve: has joined #ruby
[22:55:12] daynets: has joined #ruby
[22:57:55] bigkevmcd: has joined #ruby
[22:58:43] moretti: has joined #ruby
[23:00:23] x1337807x: has joined #ruby
[23:00:46] blandflakes: has joined #ruby
[23:01:21] DrBojingle: has joined #ruby
[23:02:43] AbinoamJr: has joined #ruby
[23:02:47] moretti: has joined #ruby
[23:05:13] Jandre: has joined #ruby
[23:05:36] Channel6: has joined #ruby
[23:05:49] pdoherty: has joined #ruby
[23:06:51] drbrain: $0 and Process.setproctitle do the same thing
[23:07:00] drbrain: $0=, rather
[23:07:48] jpfuentes2: has joined #ruby
[23:08:30] a346: has joined #ruby
[23:09:16] CloCkWeRX: has joined #ruby
[23:09:21] moretti: has joined #ruby
[23:10:01] michael_mbp: has joined #ruby
[23:14:51] musgravejw__: has joined #ruby
[23:15:10] msnyon: has joined #ruby
[23:15:16] Vile`: has joined #ruby
[23:15:35] baweaver: has joined #ruby
[23:15:52] Fooster: has joined #ruby
[23:17:14] aaeron: has joined #ruby
[23:17:40] duderonomy: has joined #ruby
[23:19:31] moretti: has joined #ruby
[23:19:58] Ropeney: has joined #ruby
[23:21:54] apofis: has joined #ruby
[23:22:35] tvw: has joined #ruby
[23:24:17] mark[oz]: has joined #ruby
[23:25:23] mdz_: has joined #ruby
[23:26:01] mdz_: has joined #ruby
[23:26:11] greenbagels_: has joined #ruby
[23:26:43] bronson: has joined #ruby
[23:26:55] jpfuentes2: has joined #ruby
[23:27:56] endash: has joined #ruby
[23:29:11] fgo: has joined #ruby
[23:29:45] RegulationD: has joined #ruby
[23:30:16] yaogwai: has joined #ruby
[23:31:16] bootstrappm: has joined #ruby
[23:31:20] aaeron: has joined #ruby
[23:32:11] dgutierrez1287: has joined #ruby
[23:32:50] bkxd: has joined #ruby
[23:34:50] n008f4g_: has joined #ruby
[23:35:13] LicHacker: has joined #ruby
[23:35:27] towski__: has joined #ruby
[23:35:48] yaogwai: has joined #ruby
[23:37:32] Limix: has joined #ruby
[23:38:35] bgmarx: has joined #ruby
[23:39:24] serivich: has joined #ruby
[23:39:51] mistermocha: has joined #ruby
[23:40:10] CloCkWeRX: has left #ruby: ()
[23:40:50] moretti: has joined #ruby
[23:42:05] Ox0dea: has joined #ruby
[23:42:33] wmoxam: has joined #ruby
[23:43:11] djbkd: has joined #ruby
[23:43:55] djbkd: has joined #ruby
[23:44:05] hakunin: has joined #ruby
[23:46:10] houhoulis: has joined #ruby
[23:46:50] mello: has joined #ruby
[23:46:50] mello: has joined #ruby
[23:47:45] tds5016: has joined #ruby
[23:48:27] tds5016: Can someone tell me how I would set the ssl version on faraday?
[23:49:05] rkazak: has joined #ruby
[23:51:22] edwinvdgraaf: has joined #ruby
[23:52:03] arescorpio: has joined #ruby
[23:52:45] dnlbyl: has joined #ruby
[23:53:04] podman: has joined #ruby
[23:53:54] victorkohl: has joined #ruby
[23:54:08] Azure: has joined #ruby
[23:56:35] dgutierrez1287: has joined #ruby
[23:56:46] jack_rabbit: has joined #ruby
[23:56:54] Rodya_: has joined #ruby
[23:59:16] jpfuentes2: has joined #ruby
[23:59:49] charliesome: has joined #ruby
[23:59:56] datanois1: has joined #ruby