« Back to channel list

#ruby - 24 February 2016

« Back 1 day Forward 1 day »
[01:25:05] helpa: has joined #ruby
[01:26:56] mikecmpbll: has joined #ruby
[01:29:30] eregi: has joined #ruby
[01:35:20] pawnbox: has joined #ruby
[01:35:34] auzty: has joined #ruby
[01:36:01] ZerGabriel: has joined #ruby
[01:36:08] auzty: has joined #ruby
[01:36:14] uris: has joined #ruby
[01:37:36] ZerGabriel: has joined #ruby
[01:38:38] ZerGabriel: has joined #ruby
[01:38:43] aryaching: has joined #ruby
[01:38:59] DiCablo: has joined #ruby
[01:39:06] lpvb: has joined #ruby
[01:40:53] moei: has joined #ruby
[01:41:40] ZerGabriel: has joined #ruby
[01:42:38] griffindy: has joined #ruby
[01:42:42] ZerGabriel: has joined #ruby
[01:46:14] aryaching_: has joined #ruby
[01:46:16] dlitvak: has joined #ruby
[01:46:55] wolffles: has left #ruby: ()
[01:47:01] ZerGabriel: has joined #ruby
[01:47:55] ZerGabriel: has joined #ruby
[01:48:16] DLSteve: has joined #ruby
[01:48:55] Jeremy1023: has joined #ruby
[01:51:23] ZerGabriel: has joined #ruby
[01:54:18] ZerGabriel: has joined #ruby
[01:56:17] ZerGabriel: has joined #ruby
[01:56:47] aryaching: has joined #ruby
[01:57:09] rkazak: has joined #ruby
[01:58:10] LoneHerm_: has joined #ruby
[02:01:56] ekinmur: has joined #ruby
[02:03:41] sucks: has joined #ruby
[02:04:24] lpvb: has joined #ruby
[02:08:04] ZerGabriel: has joined #ruby
[02:08:43] ZerGabriel: has joined #ruby
[02:08:59] goodcodeguy: has joined #ruby
[02:11:25] x77686d: has joined #ruby
[02:11:30] gregf: has joined #ruby
[02:12:24] nogic: has joined #ruby
[02:14:08] dlitvak_: has joined #ruby
[02:14:18] DmitryBochkarev: has joined #ruby
[02:15:31] pawnbox: has joined #ruby
[02:16:14] bklane: has joined #ruby
[02:17:04] cmoneylulz: has joined #ruby
[02:24:17] DanielI: has joined #ruby
[02:25:59] tomchapin: has joined #ruby
[02:26:51] Suntzu: has joined #ruby
[02:27:42] cmoneylulz: has joined #ruby
[02:28:07] baweaver: has joined #ruby
[02:30:37] Dusk_: has joined #ruby
[02:30:54] Dusk_: http://ideone.com/GLmKHd - Could someone tell me what this error means?
[02:32:49] ZerGabriel: has joined #ruby
[02:33:25] Yzguy: has joined #ruby
[02:33:30] ZerGabriel: has joined #ruby
[02:33:51] platzhirsch: has left #ruby: ()
[02:34:05] ZerGabriel: has joined #ruby
[02:34:26] ZerGabriel: has joined #ruby
[02:34:43] bricker: has joined #ruby
[02:34:54] ZerGabriel: has joined #ruby
[02:35:23] ZerGabriel: has joined #ruby
[02:35:36] bklane_: has joined #ruby
[02:35:57] ZerGabriel: has joined #ruby
[02:36:15] eregi: has joined #ruby
[02:36:27] ZerGabriel: has joined #ruby
[02:36:55] ZerGabriel: has joined #ruby
[02:37:26] ZerGabriel: has joined #ruby
[02:37:30] rohit: has joined #ruby
[02:37:51] Azure: has joined #ruby
[02:37:51] ZerGabriel: has joined #ruby
[02:38:18] ZerGabriel: has joined #ruby
[02:38:42] ZerGabriel: has joined #ruby
[02:39:02] Mdrz_92: has joined #ruby
[02:39:08] ZerGabriel: has joined #ruby
[02:39:32] ZerGabriel: has joined #ruby
[02:39:59] mauro_: has joined #ruby
[02:40:08] uris: has joined #ruby
[02:40:28] Radar: +b ZerGabriel!*@*
[02:41:11] ruby[bot]: -b+b ZerGabriel!*@* ZerGabriel!*@*$#ruby-banned
[02:41:11] ruby[bot]: -b *!*@unaffiliated/noganoo$#ruby-banned
[02:41:19] Jeremy1023: has joined #ruby
[02:42:31] bnagy: Dusk_: looks like openssl failing to verify google's cert
[02:43:06] nerium: has joined #ruby
[02:43:10] kalopsian: has joined #ruby
[02:43:19] bnagy: Dusk_: this can either be a bad installation of the ruby openssl gem, which is less common now, or it could be your host root certs are bad / missing / not found by openssl
[02:43:57] Dusk_: bnagy - The host root certs? I think I need to google that.
[02:43:59] tulak: has joined #ruby
[02:44:05] bnagy: or, unlikely, none of those things
[02:44:21] floatingpoint: has joined #ruby
[02:44:32] bnagy: Dusk_: fixing them depends on your OS, but if you google for that error with ruby in the search somewhere you'll find a million people with similar problems
[02:44:51] bnagy: how did you install ruby?
[02:45:16] dlitvak: has joined #ruby
[02:45:17] bnagy: oh, ew, windows, didn't even notice
[02:45:23] Dusk_: I run a Windows so I'm sure that's the problem. I haven't gotten around to switching to Linux
[02:46:12] bnagy: tbh windows should have _less_ trouble re this particular issue
[02:46:26] bnagy: via rubyinstaller anyway, because they have to bundle everything
[02:46:57] Dusk_: Alright thanks man. I need to google this shit lol
[02:47:24] bklane: has joined #ruby
[02:47:36] bnagy: if you want to learn general ruby dev then you might consider a linux vm
[02:47:56] bnagy: windows is not really a well supported platform
[02:48:51] Dusk_: Alright, thanks man.
[02:49:34] bnagy: (and try not to presume gender on irc ;)
[02:50:37] Dusk_: I just meant thanks is all xD
[02:50:57] brijesh: has joined #ruby
[02:51:55] cmoneylulz: has joined #ruby
[02:52:41] mrmargolis: has joined #ruby
[02:54:47] nando293921: has joined #ruby
[02:55:34] TomPeed: has joined #ruby
[02:55:40] kalopsian: has joined #ruby
[02:56:10] baweaver: has joined #ruby
[02:56:20] uris: has joined #ruby
[02:56:23] rhg135: has joined #ruby
[02:58:25] dopie: has joined #ruby
[02:58:40] rbennacer: has joined #ruby
[02:59:10] uris: has joined #ruby
[02:59:10] FFValdivia92: has joined #ruby
[03:00:27] sucks: has joined #ruby
[03:00:40] Mdrz_92: has joined #ruby
[03:00:55] bklane_: has joined #ruby
[03:01:02] D9: has joined #ruby
[03:01:05] kies^: has joined #ruby
[03:02:17] andywojo: has joined #ruby
[03:02:50] nachoman: has joined #ruby
[03:03:19] jenrzzz: has joined #ruby
[03:05:08] brijesh: has joined #ruby
[03:05:58] brijesh: has joined #ruby
[03:07:59] uris: has joined #ruby
[03:09:22] trosborn: has joined #ruby
[03:10:36] brijesh: has joined #ruby
[03:10:49] preyalone: has joined #ruby
[03:11:32] brijesh: has joined #ruby
[03:12:39] uris: has joined #ruby
[03:12:51] lpvb: has joined #ruby
[03:12:55] kirillzh: has joined #ruby
[03:15:12] mjwhitta: has joined #ruby
[03:16:57] kirillzh: has joined #ruby
[03:17:40] uris: has joined #ruby
[03:17:54] ManUtd27: has joined #ruby
[03:18:19] tauebel: has joined #ruby
[03:18:40] crowell: has joined #ruby
[03:21:29] cmoneylulz: has joined #ruby
[03:21:39] Flakes: has joined #ruby
[03:26:36] lpvb: has joined #ruby
[03:32:17] uris: has joined #ruby
[03:32:36] nando293921: has joined #ruby
[03:33:19] uglybandersnatch: has joined #ruby
[03:33:36] nolsen: has joined #ruby
[03:34:58] pawnbox: has joined #ruby
[03:37:35] cyclonis: has joined #ruby
[03:37:39] BtcBen: has joined #ruby
[03:38:16] eregi: has joined #ruby
[03:43:12] pawnbox: has joined #ruby
[03:45:58] perrier_: has joined #ruby
[03:49:35] pelegreno: has joined #ruby
[03:51:02] cholq: has joined #ruby
[03:51:02] Meow-J: has joined #ruby
[03:52:45] william3: has joined #ruby
[03:54:45] pawnbox: has joined #ruby
[03:55:15] hxegon: has joined #ruby
[03:55:54] cholq: has joined #ruby
[03:56:51] cholq: has joined #ruby
[03:58:16] pelegreno: has joined #ruby
[03:58:56] monque: has joined #ruby
[04:02:57] bricker: has joined #ruby
[04:03:13] sucks: has joined #ruby
[04:03:52] astrobunny: has joined #ruby
[04:08:38] baweaver: has joined #ruby
[04:10:04] zast: has joined #ruby
[04:10:40] rkazak: has joined #ruby
[04:12:03] unreal_: has joined #ruby
[04:13:19] rbennacer: has joined #ruby
[04:15:07] hxegon: has joined #ruby
[04:16:05] uglybandersnatch: has joined #ruby
[04:16:50] dlitvak: has joined #ruby
[04:18:29] tomchapin: has joined #ruby
[04:18:47] blackmes1: has joined #ruby
[04:19:05] braincrash: has joined #ruby
[04:19:25] nachoman: has joined #ruby
[04:21:53] krzkrz: has joined #ruby
[04:22:32] gix: has joined #ruby
[04:25:36] _djbkd: has joined #ruby
[04:26:41] IrishGringo: has joined #ruby
[04:27:50] mattwildig: has joined #ruby
[04:28:29] pawnbox: has joined #ruby
[04:30:09] hinbody: has joined #ruby
[04:32:21] tubulife-: has joined #ruby
[04:33:01] djellemah_: has joined #ruby
[04:34:17] htmldrum: has joined #ruby
[04:34:48] pizzaops: Is there a way of doing this: @hardware = hardware.is_a? Wilhelm::Vms::Machine::Hardware ? hardware : raise Exception.new('hardware must be an instance of Wilhelm::Vms::Machine::Hardware')
[04:35:11] pizzaops: Basically I want to raise an exception if the "hardware" value isn't an instnace of that class, but i have like 7 more params to do that for so I dont want like 7 if/elses
[04:35:16] pizzaops: but I can if I have to?
[04:35:41] baweaver: https://egonschiele.github.io/contracts.ruby/
[04:36:21] havenwood: pizzaops: There's an #instance_of? method too. You almost always want to use StandardError not Exception.
[04:36:59] pizzaops: havenwood: sure but I still need a terse way of expressing this
[04:37:03] pizzaops: i'll take a look at contracts
[04:37:28] kam270: has joined #ruby
[04:37:29] fedexo: has joined #ruby
[04:39:49] kam270: has joined #ruby
[04:40:59] kam270: has joined #ruby
[04:41:30] baweaver: >>def check(o,is_a:)is_a===o or raise 'nope';end; check 5, is_a: Integer
[04:41:32] ruby[bot]: baweaver: # => true (https://eval.in/524289)
[04:41:36] baweaver: >>def check(o,is_a:)is_a===o or raise 'nope';end; check 5, is_a: String
[04:41:37] ruby[bot]: baweaver: # => nope (RuntimeError) ...check link for more (https://eval.in/524290)
[04:41:57] baweaver: replace raise error as needed
[04:42:21] baweaver: wrap it to be something like StaticType::check(object, is_a: type)
[04:42:43] cpup: has joined #ruby
[04:43:57] kirillzh: has joined #ruby
[04:44:59] tulak: has joined #ruby
[04:45:26] kam270: has joined #ruby
[04:46:30] krzkrz: has joined #ruby
[04:47:06] Waku: has joined #ruby
[04:47:21] dling: has joined #ruby
[04:50:03] makenoise: has joined #ruby
[04:50:12] y2mq37: has joined #ruby
[04:50:50] andywojo: has joined #ruby
[04:51:18] baweaver: havenwood: pizzaops: Do I win? https://github.com/baweaver/lazy_static
[04:51:42] baweaver: it's 1 line of actual code
[04:54:23] htmldrum: has joined #ruby
[04:55:45] Cohedrin: has joined #ruby
[04:57:01] charlemagne: has joined #ruby
[04:59:03] coffeecupp: has joined #ruby
[04:59:25] godzillaenlacasa: has joined #ruby
[05:01:37] Liam`: has joined #ruby
[05:06:12] baweaver: and it's now tested, so there you go
[05:06:18] baweaver: lazy static type checking in ruby
[05:07:10] nachoman: has joined #ruby
[05:08:36] kLOs: has joined #ruby
[05:08:59] rkazak: has joined #ruby
[05:09:05] kLOs: Hi, Sorry I'm somehwat of a noob when it comes to ruby. So please bear with me with these questions :)
[05:09:27] kLOs: I'm using OSX as my development environment and just use Ruby Tools. I don't develop in Ruby
[05:10:10] kLOs: I have noticed that often some of the tools I use break, which is I believe du to wrong ruby versions running
[05:10:23] kLOs: I have noticed that I run both rbenv and rvm
[05:10:48] kLOs: So from what I understand now is that it's very bad to have both running and why I probably run into the problems
[05:11:13] kLOs: As a pure user of ruby apps is it ok to just remove rvm and just let rbenv handle everything?
[05:11:48] kLOs: the ability to gem install is independent of wether i'm running rvm or rbenv, right?
[05:12:20] kLOs: thanks toretore :)
[05:12:54] kLOs: Sorry for being so stumped with this. It find all these ruby things very confusing. theres so much stuff going on there :)
[05:13:08] htmldrum: has joined #ruby
[05:13:23] adgtl: has joined #ruby
[05:13:34] n00bDev: has joined #ruby
[05:16:36] howdoi: has joined #ruby
[05:17:02] pawnbox: has joined #ruby
[05:17:04] darkf_: has joined #ruby
[05:24:44] sushii: has joined #ruby
[05:25:31] sucks: has joined #ruby
[05:26:09] uris: has joined #ruby
[05:28:59] lemur: has joined #ruby
[05:29:00] htmldrum: has joined #ruby
[05:29:21] kLOs: Another question since I'm cleaning up anyways. bundler.io is this just for ruby developers who create gems or is it useful as a user?
[05:29:58] Arcaire: Useful as a user.
[05:30:23] Arcaire: Example: I installed a Ruby app yesterday that had a load of dependencies in a Gemfile. `bundle install` installed them all.
[05:30:31] Arcaire: All I had to do was that one command, then everything worked.
[05:30:46] Arcaire: That's actually a lie and it was a FUCKING PAIN IN THE ASS, but that was an app problem not a bundler problem. Generally it works pretty well.
[05:31:53] Arcaire: 99% or more of Gemfiles created will be Rails apps, tbh.
[05:32:01] darkf: has joined #ruby
[05:33:52] LoneHermit: has joined #ruby
[05:37:44] darkf_: has joined #ruby
[05:38:08] william3: has joined #ruby
[05:41:16] kam270: has joined #ruby
[05:42:13] kam270: has joined #ruby
[05:42:22] devbug: has joined #ruby
[05:42:29] Eiam_: has joined #ruby
[05:43:58] kam270: has joined #ruby
[05:45:54] kam270: has joined #ruby
[05:47:22] kam270: has joined #ruby
[05:47:31] darkf: has joined #ruby
[05:47:57] chipotle: has joined #ruby
[05:49:15] charlemagne: has joined #ruby
[05:49:15] kam270: has joined #ruby
[05:51:07] kam270: has joined #ruby
[05:52:03] darkf_: has joined #ruby
[05:52:35] andywojo: has joined #ruby
[06:05:01] dlitvak: has joined #ruby
[06:06:50] armyriad: has joined #ruby
[06:08:24] postmodern: has joined #ruby
[06:15:14] rbennacer: has joined #ruby
[06:18:00] nachoman: has joined #ruby
[06:20:38] teej: has joined #ruby
[06:23:43] kies^: has joined #ruby
[06:26:25] e4xit: has joined #ruby
[06:27:17] CrazyEddy: has joined #ruby
[06:28:39] mattwildig: has joined #ruby
[06:28:42] last_staff: has joined #ruby
[06:28:48] nachoman: has joined #ruby
[06:31:40] aganov: has joined #ruby
[06:33:31] sauvin: has joined #ruby
[06:34:19] CrazyEddy: has joined #ruby
[06:34:33] UtkarshRay: has joined #ruby
[06:34:43] htmldrum: has joined #ruby
[06:35:02] dionysus69: has joined #ruby
[06:37:14] trosborn: has joined #ruby
[06:40:56] yfeldblum: has joined #ruby
[06:41:35] sauvin: has joined #ruby
[06:45:50] tulak: has joined #ruby
[06:47:46] the_drow: has joined #ruby
[06:48:47] blackmes1: has joined #ruby
[06:49:56] ur5us: has joined #ruby
[06:50:41] parable: has joined #ruby
[06:51:36] ur5us: has joined #ruby
[06:52:10] terminalrecluse: has joined #ruby
[06:56:23] sauvin: has joined #ruby
[06:56:40] bronson: has joined #ruby
[06:57:03] joonty: has joined #ruby
[06:57:23] stevemackinnon: has joined #ruby
[06:58:31] htmldrum: has joined #ruby
[06:58:59] stevemackinnon: has joined #ruby
[06:59:36] skade: has joined #ruby
[07:00:21] codecop: has joined #ruby
[07:02:04] Mon_Ouie: has joined #ruby
[07:02:22] duncannz: has joined #ruby
[07:03:25] icarus: has joined #ruby
[07:03:30] fn2187: has joined #ruby
[07:03:42] icarus: has joined #ruby
[07:04:14] trosborn: has joined #ruby
[07:04:28] parable: has joined #ruby
[07:06:16] yardenbar: has joined #ruby
[07:06:26] YaknotiS: has joined #ruby
[07:06:46] joonty: has joined #ruby
[07:07:51] tvw: has joined #ruby
[07:08:29] blackgoat: has joined #ruby
[07:11:11] ptierno: has joined #ruby
[07:11:11] ptierno: has joined #ruby
[07:11:33] thevaliantx: has joined #ruby
[07:11:35] ptierno: has left #ruby: ()
[07:11:52] lurch_: has joined #ruby
[07:13:18] anisha: has joined #ruby
[07:13:21] mhoungbo: has joined #ruby
[07:14:03] konsolebox: has joined #ruby
[07:15:31] lxsameer: has joined #ruby
[07:15:34] aufi: has joined #ruby
[07:17:49] sandstrom: has joined #ruby
[07:18:16] mlehrer: has joined #ruby
[07:18:36] lsmola: has joined #ruby
[07:19:25] thevaliantx: anyone here got the "The Well-Grounded Rubyist" book? It was shipped to me almost a month ago through Amazon, should be getting it this week. How is the book for beginners?
[07:20:35] thevaliantx: Did I make a mistake getting the book? I homeschool my son and right now we're learning Python, JavaScript, HTML/CSS (in that order) and my plan was to teach him Ruby next and then dip in to C programming. He's 9 years old and doing fine, given that he has to deal with his scatterbrain dad who isn't a working programmer :)
[07:21:35] thevaliantx: i think Ruby is a beautiful language, but I am not sure what he and I could do with it. We are about to get into graphics programming in Python, can Ruby be easily (somewhat easily?) done with a graphics gui?
[07:21:47] havenwood: thevaliantx: If you've already covered some of the foundational stuff while working on Python and JavaScript then I think the Well Grounded is a great.
[07:22:00] andikr: has joined #ruby
[07:22:28] LoneHerm_: has joined #ruby
[07:22:42] havenwood: thevaliantx: It does jump right into things but covers a ton of ground. Sounds like a great plan to me.
[07:23:08] thevaliantx: havenwood: yes. we have done loops, functions, lists, tuples, dictionaries (the books we used did not really do much with tuples or dictionaries). We are about to get into File I/O and using tKinter, I think.
[07:23:23] havenwood: thevaliantx: Nice.
[07:24:29] thevaliantx: thanks havenwood :) people on other channels think i am nuts that no 9 year old should be doing this, but he's a hell of a lot smarter than i was at his age. and my biggest fear as far as his academics go and going by the things i'm interested in, is him becoming interested in programming when he's 20 something or older and realizing that he could have started much earlier.
[07:24:40] frans3011: has joined #ruby
[07:25:02] thevaliantx: has IRC died down over the years?
[07:25:10] havenwood: thevaliantx: Ruby doesn't have as many GUI binding as Python. There are some fun projects though. Stuff like Gosu or Shoes4 with Ruby might be a neat way to get into some of that stuff.
[07:25:29] thevaliantx: i ask that because it 'seems' to me that back in the early 2000's it was really hopping. it's like a dive bar now
[07:25:42] havenwood: thevaliantx: It comes in waves.
[07:26:20] thevaliantx: it just seems awfully quiet anymore. and more off-topic (like what i'm doing, lol) than it used to be, given any particular channel.
[07:26:23] TomyLobo: has joined #ruby
[07:26:35] havenwood: thevaliantx: The Shoes4 samples are fun to run, a bunch of variety: https://github.com/shoes/shoes4
[07:27:15] thevaliantx: we watched a youtube video yesterday. the speaker was talking about a language called Rust. Is it related to Ruby? We didn't watch the whole thing because it was way over our heads.
[07:27:32] firstdayonthejob: has joined #ruby
[07:27:37] havenwood: thevaliantx: Nope, not related to Ruby other than there are some prominent Rubyists who are now Rustacians.
[07:27:40] rkazak: has joined #ruby
[07:27:54] djsmentya: has joined #ruby
[07:28:14] thevaliantx: haha...like, really Rusty. they're now lobsters :)
[07:28:19] DoubleMalt: has joined #ruby
[07:28:30] thevaliantx: might as well be in the tank at Kroger
[07:29:06] htmldrum: has joined #ruby
[07:29:44] thevaliantx: nice chatting with you, havenwood
[07:30:59] aryaching: has joined #ruby
[07:31:11] skade: has joined #ruby
[07:31:18] havenwood: thevaliantx: It's a systems language with an interesting "ownership" model. I'd suggest Elixir or Clojure as other interesting languages to look into. Nice chatting!
[07:32:18] mwlang: has joined #ruby
[07:33:15] G: has left #ruby: ()
[07:33:35] Ropeney: has joined #ruby
[07:35:43] bronson: has joined #ruby
[07:37:09] JohnBat26: has joined #ruby
[07:43:33] jas02: has joined #ruby
[07:45:52] Xeago: has joined #ruby
[07:46:50] theunraveler: has joined #ruby
[07:49:34] eregi: has joined #ruby
[07:49:39] ur5us: has joined #ruby
[07:53:19] dlitvak: has joined #ruby
[07:54:53] andywojo: has joined #ruby
[07:56:27] mdw: has joined #ruby
[07:58:43] skade: has joined #ruby
[08:00:51] sandstrom: has joined #ruby
[08:01:10] theunraveler: has joined #ruby
[08:01:55] adgtl: has joined #ruby
[08:02:12] konsolebox: Rust has imperfect modular structure, and I avoid it. !@#$ mod.rs.
[08:02:47] theunraveler: has joined #ruby
[08:03:11] baweaver: has joined #ruby
[08:05:44] tulak: has joined #ruby
[08:05:46] trosborn: has joined #ruby
[08:05:49] ferr: has joined #ruby
[08:06:16] robbyoconnor: has joined #ruby
[08:06:21] adgtl: has joined #ruby
[08:06:26] tulak: has joined #ruby
[08:06:42] mary5030_: has joined #ruby
[08:08:35] theunraveler: has joined #ruby
[08:09:02] chridal: has joined #ruby
[08:09:26] Hanmac: has joined #ruby
[08:12:30] solars: has joined #ruby
[08:12:33] TomyWork: has joined #ruby
[08:13:01] joonty: has joined #ruby
[08:13:35] jeanlinux: has joined #ruby
[08:13:54] djsmentya: has left #ruby: ()
[08:14:13] Xeago: has joined #ruby
[08:16:47] Cork: is there a way to decode Encryptor strings from before the iv key was added?
[08:17:01] Cork: i only get gibberish out of it
[08:18:36] rbennacer: has joined #ruby
[08:19:23] rue_: has joined #ruby
[08:19:29] ruby[bot]: -b *!*@112.133.229.16$#ruby-banned
[08:20:14] quazimodo: has joined #ruby
[08:20:42] adgtl: has joined #ruby
[08:22:42] pawnbox: has joined #ruby
[08:25:30] jenrzzz: has joined #ruby
[08:25:35] SCHAAP137: has joined #ruby
[08:25:38] rue_: Goodness, the channels finally got merged.
[08:26:59] sandstrom: has joined #ruby
[08:27:42] nerium: has joined #ruby
[08:29:07] pawnbox_: has joined #ruby
[08:29:38] mattwildig: has joined #ruby
[08:30:10] ESpiney: has joined #ruby
[08:30:31] eurialo: has joined #ruby
[08:31:16] charlemagne: has joined #ruby
[08:31:24] manveru: rue_: you're late to the party :)
[08:35:03] rue_: manveru: Ah, what’s a few years between friends?
[08:35:38] manveru: better late than never!
[08:35:52] manveru: just got back to ruby recently too
[08:36:18] manveru: although i've been writing only js for the last 2 weeks :(
[08:36:25] ljarvis: welcome to Ruby!
[08:36:33] ljarvis: where we write mostly JS
[08:36:55] manveru: i should just use opal now
[08:37:00] ljarvis: do you still write Go at work manveru?
[08:37:12] manveru: not anymore :(
[08:37:14] Cork: ok, found it "insecure_mode"
[08:37:40] manveru: right now i'm busy pushing our company to use Nix across the board
[08:37:55] manveru: and after that maybe i can sneak some Go or Elixir ini
[08:38:48] aryaching_: has joined #ruby
[08:39:36] manveru: life's a constant struggle against popular choices
[08:43:29] blaxter: has joined #ruby
[08:43:44] aryaching: has joined #ruby
[08:44:03] terlar: has joined #ruby
[08:44:20] silverdust: has joined #ruby
[08:44:51] sandstrom: has joined #ruby
[08:45:06] tulak_: has joined #ruby
[08:46:19] sandstrom: has joined #ruby
[08:46:35] blackms: has joined #ruby
[08:46:50] wmdrossard: has joined #ruby
[08:47:54] stevemackinnon: has joined #ruby
[08:48:27] steffkes: has joined #ruby
[08:48:37] steffkes: has joined #ruby
[08:49:06] sandstrom: has joined #ruby
[08:49:15] stevemackinnon: has joined #ruby
[08:49:58] skade: has joined #ruby
[08:50:16] eregi: has joined #ruby
[08:50:20] mark1: has joined #ruby
[08:50:33] stevemackinnon: has joined #ruby
[08:51:51] stevemackinnon: has joined #ruby
[08:53:21] stevemac_: has joined #ruby
[08:54:29] stevemackinnon: has joined #ruby
[08:54:40] 17WAADLHR: has left #ruby: ()
[08:54:47] kirillzh: has joined #ruby
[08:55:45] gregf_: has joined #ruby
[08:55:48] stevemackinnon: has joined #ruby
[08:55:51] rohit: has joined #ruby
[08:55:55] andywojo: has joined #ruby
[08:55:58] futilegames: has joined #ruby
[08:57:06] stevemackinnon: has joined #ruby
[08:58:22] Xeago: has joined #ruby
[08:59:05] Puffball: has joined #ruby
[08:59:23] trosborn: has joined #ruby
[08:59:27] shevy: manveru aaaah I can grab another quote from you! :)
[08:59:45] the_drow: has joined #ruby
[08:59:57] manveru: i don't even wanna know what you do with all those useless quotes :P
[09:00:52] xpt: shevy: Don't believe him. He want to know what you do with these.
[09:01:19] shevy: hah I don't know myself... I just collect!
[09:02:10] bronson: has joined #ruby
[09:02:52] jud^: has joined #ruby
[09:02:58] xpt: You can write them on your wall (I mean actuall wall, not that thingie on book sith faces)
[09:03:30] mikecmpbll: has joined #ruby
[09:04:06] manveru: like one of those conspiracy theorists or religious fanatics that plaster their walls with nonesense?
[09:04:25] Gnut: has joined #ruby
[09:04:25] xpt: yes, except not nonsense but your quotes.
[09:04:36] jeanlinux: has joined #ruby
[09:05:20] xpt: protip: The very first one should be "i don't even wanna know what you do with all those useless quotes :P"
[09:08:35] blaxter: has joined #ruby
[09:08:41] aupadhye: has joined #ruby
[09:09:14] ben_h: has joined #ruby
[09:10:27] mark1: has left #ruby: ("PART #RubyOnRails :PART #jquery :PART #reactjs :PART ##javascript :PART #elixir-lang :PART #debian :PART #zsh :PART #nethunter :PONG :cameron.freenode.net")
[09:10:32] LoneHerm_: has joined #ruby
[09:13:35] Hounddog: has joined #ruby
[09:14:00] moei: has joined #ruby
[09:14:26] shevy: <djellemah> => is hashrocket, []= must be shenanigan
[09:14:27] shevy: <djellemah> &.[]= lonely shenanigans. The operator that matz banished.
[09:14:51] icarus: has joined #ruby
[09:17:14] DoubleMalt: has joined #ruby
[09:18:26] nfk: has joined #ruby
[09:18:47] blackmes1: has joined #ruby
[09:20:57] william3: has joined #ruby
[09:22:05] Hounddog: has joined #ruby
[09:23:42] aryaching: has joined #ruby
[09:24:30] laith: has joined #ruby
[09:25:44] mozzarella: has joined #ruby
[09:25:59] rdark: has joined #ruby
[09:26:25] TDJACR: has joined #ruby
[09:29:04] aupadhye: has joined #ruby
[09:29:19] shevy: cgi is dead :( https://leejo.github.io/2016/02/22/all_software_is_legacy/
[09:30:38] canton7: whatever happened to fastcgi? that worked pretty well and was truly universal, then it just sort of... died... and got replaced by a fragmented ecosystem again
[09:31:39] adaedra: shevy: good, good.
[09:31:43] shevy: this comment is cool: sub _maybe_escapeHTML {
[09:31:49] shevy: # hack to work around earlier hacks
[09:32:03] flughafen: hi shevy, i see you aren't taking off anywhere
[09:33:15] flughafen: you always flip me crap, but I don't see you progressing as a flughafen
[09:34:20] shevy: hey as long as Berlin is not done, I can be lazy too
[09:34:32] shevy: another nice quote from there... "Sometimes the snake is replaced with a newer, more shiny snake"
[09:34:52] flughafen: where is that quote from
[09:35:05] shredding: has joined #ruby
[09:35:31] Hounddog: has joined #ruby
[09:35:38] shevy: flughafen the old retro-perl-cgi https://leejo.github.io/2016/02/22/all_software_is_legacy/
[09:35:49] shevy: but havenwood also gave a snake quote
[09:36:21] william3: has joined #ruby
[09:36:35] shevy: like when I complained about python 2.x and python 3.x being used in different software projects for compilation, so one may need to have both versions working, he wrote:
[09:36:37] shevy: <havenwood> shevy: two snakes is too many snakes
[09:37:42] flughafen: yeah, python sucks
[09:38:33] f4cl3y: has joined #ruby
[09:39:20] toretore: text-align: justify hurts my eyes
[09:39:26] marr: has joined #ruby
[09:41:09] marr: has joined #ruby
[09:42:49] william3: has joined #ruby
[09:43:10] Hounddog: has joined #ruby
[09:45:00] Xeago: has joined #ruby
[09:45:36] adaedra: But how can you see it if your eyes are not real?
[09:45:55] nerium: has joined #ruby
[09:49:57] TDJACR: has joined #ruby
[09:50:32] snowy: has joined #ruby
[09:51:32] eregi: has joined #ruby
[09:51:58] ddv: deep adaedra
[09:52:40] adaedra: ddv: if you rotate "deep" 180 degrees, only the "e"s are affected.
[09:53:03] parable: has joined #ruby
[09:54:06] jaiks: has joined #ruby
[09:54:07] bruce_lee: has joined #ruby
[09:54:07] bruce_lee: has joined #ruby
[09:54:43] nerium: has joined #ruby
[09:55:18] triangles: has joined #ruby
[09:56:42] andywojo: has joined #ruby
[09:57:10] Ox0dea: http://git.io/vZSX7
[09:57:34] Ox0dea: Not sure why "suns" is missing there. :/
[09:57:58] tobiasvl: and doop :((
[09:58:20] tobiasvl: wait pood is there
[09:58:25] neanderslob_: has joined #ruby
[09:58:39] kirillzh: has joined #ruby
[10:00:31] moeabdol3: has joined #ruby
[10:00:42] FooMunki: has joined #ruby
[10:01:26] Musashi007: has joined #ruby
[10:01:32] Guest34101: has joined #ruby
[10:05:29] neanderslob: has joined #ruby
[10:05:33] dlitvak: has joined #ruby
[10:05:36] baweaver: has joined #ruby
[10:06:56] uglybandersnatch: has joined #ruby
[10:07:19] sandstrom: has joined #ruby
[10:07:30] tulak: has joined #ruby
[10:08:41] rikkipitt: has joined #ruby
[10:10:05] william3: has joined #ruby
[10:10:10] platzhirsch: has joined #ruby
[10:10:54] tulak: has joined #ruby
[10:12:06] laith: has joined #ruby
[10:14:28] laith1: has joined #ruby
[10:15:30] charlemagne: has joined #ruby
[10:16:51] crdpink2: has joined #ruby
[10:20:06] icarus: has joined #ruby
[10:20:18] rbennacer: has joined #ruby
[10:21:22] xfbs: has joined #ruby
[10:21:41] evidex: has joined #ruby
[10:21:46] jottr: has joined #ruby
[10:22:41] BaroMeter: has joined #ruby
[10:22:54] charlema_: has joined #ruby
[10:23:40] chipotle: has joined #ruby
[10:24:46] blackmes1: has joined #ruby
[10:25:34] william3: has joined #ruby
[10:25:39] sepp2k: has joined #ruby
[10:26:08] william3: has joined #ruby
[10:28:11] tao_: has joined #ruby
[10:28:49] pandaant: has joined #ruby
[10:29:21] victorzimmer: has joined #ruby
[10:29:49] chipotle_: has joined #ruby
[10:30:23] mattwildig: has joined #ruby
[10:30:57] Xeago: has joined #ruby
[10:31:58] dlitvak_: has joined #ruby
[10:33:27] mattwildig: has joined #ruby
[10:37:43] william3: has joined #ruby
[10:39:48] uglybandersnatch: has joined #ruby
[10:40:20] parable: has joined #ruby
[10:41:12] Garo_: I'm scratching my head around how I should do a wrapper for a block. I have this example (depends on sinatra and puma) which is a stripped-down version on my exact use case: https://gist.github.com/garo/0478d786cb075d1c0423 What I want is to wrap around a block passed to a function so that sinatra will call my wrapper which would call the block. This almost works but it results in a "LocalJumpError - unexpected return" ...
[10:41:18] Garo_: ... when I use my wrapper. Any idea how I should implement this wrapper so that it would work transparently?
[10:42:47] charlemagne: has joined #ruby
[10:42:53] n00bDev: has joined #ruby
[10:43:18] Ox0dea: Garo_: Procs and lambdas have different return semantics; it seems you want the latter's.
[10:45:24] skade: has joined #ruby
[10:45:58] stevemackinnon: has joined #ruby
[10:46:27] Garo_: Ox0dea: hi again :) yeah, I think I do. I've been experimenting a few diffrent ways (coding by coincident) but haven't yet hit the right way :/
[10:47:15] dlitvak: has joined #ruby
[10:47:18] stevemackinnon: has joined #ruby
[10:47:26] charlemagne: has joined #ruby
[10:47:51] Ox0dea: Garo_: Hey, hey. :) `return` in a lambda will return from the lambda itself, whereas `return` in a Proc will (try to) return from the surrounding method.
[10:48:05] Ox0dea: In your case, there's no such method, so the interpreter has nowhere to return to and panics.
[10:48:34] stevemackinnon: has joined #ruby
[10:49:05] uglybandersnatch: has joined #ruby
[10:49:55] stevemackinnon: has joined #ruby
[10:51:14] stevemac_: has joined #ruby
[10:51:41] Freeaqingme: has joined #ruby
[10:52:18] eregi: has joined #ruby
[10:52:32] stevemackinnon: has joined #ruby
[10:52:40] lubekpl: has joined #ruby
[10:52:59] sandstrom: has joined #ruby
[10:53:50] stevemackinnon: has joined #ruby
[10:55:09] stevemackinnon: has joined #ruby
[10:56:28] stevemac_: has joined #ruby
[10:57:45] stevemackinnon: has joined #ruby
[10:58:03] monashko2: has joined #ruby
[10:59:04] stevemackinnon: has joined #ruby
[10:59:22] andywojo: has joined #ruby
[11:00:24] ardian: has joined #ruby
[11:00:32] stevemackinnon: has joined #ruby
[11:01:01] charliesome: has joined #ruby
[11:01:42] stevemackinnon: has joined #ruby
[11:02:13] bronson: has joined #ruby
[11:03:01] stevemackinnon: has joined #ruby
[11:03:49] heftig: has joined #ruby
[11:04:20] stevemac_: has joined #ruby
[11:05:19] trinaldi: has joined #ruby
[11:05:39] stevemackinnon: has joined #ruby
[11:06:57] stevemac_: has joined #ruby
[11:07:23] unpowerfulness: has joined #ruby
[11:07:47] Xeago: has joined #ruby
[11:08:16] stevemackinnon: has joined #ruby
[11:09:29] workmad3: has joined #ruby
[11:09:33] stevemackinnon: has joined #ruby
[11:10:30] rodfersou: has joined #ruby
[11:10:52] stevemackinnon: has joined #ruby
[11:11:57] binaryplease: has joined #ruby
[11:12:08] jottr: has joined #ruby
[11:12:11] stevemackinnon: has joined #ruby
[11:12:32] skade: has joined #ruby
[11:13:18] skweek: has joined #ruby
[11:13:31] stevemackinnon: has joined #ruby
[11:14:48] stevemac_: has joined #ruby
[11:15:51] victorzimmer: has joined #ruby
[11:16:07] stevemackinnon: has joined #ruby
[11:17:13] icarus: has joined #ruby
[11:19:14] rohit: has joined #ruby
[11:19:49] joonty: has joined #ruby
[11:20:51] p0p0pr37: has joined #ruby
[11:22:13] icarus: has joined #ruby
[11:23:07] Ropeney_: has joined #ruby
[11:27:02] william3: has joined #ruby
[11:28:14] victorzimmer: has joined #ruby
[11:31:02] DexterLB: has joined #ruby
[11:34:38] dlitvak_: has joined #ruby
[11:35:56] ldnunes: has joined #ruby
[11:37:20] dlitvak: has joined #ruby
[11:39:50] icarus: has joined #ruby
[11:40:33] gizmore: has joined #ruby
[11:40:35] last_staff: has joined #ruby
[11:41:41] shiver: has joined #ruby
[11:41:41] shiver: has joined #ruby
[11:43:30] charlemagne: has joined #ruby
[11:43:43] sdothum: has joined #ruby
[11:45:54] Macaveli: has joined #ruby
[11:48:07] skweek: has joined #ruby
[11:49:25] mattwild_: has joined #ruby
[11:49:27] Xeago: has joined #ruby
[11:53:06] eregi: has joined #ruby
[11:53:59] mary5030: has joined #ruby
[11:54:15] dlitvak: has joined #ruby
[11:57:18] ElFerna: has joined #ruby
[11:59:42] sandstrom: has joined #ruby
[11:59:51] adaedra: noooo I forgot
[12:00:14] andywojo: has joined #ruby
[12:00:25] adaedra: mh, why do Radar has his serious hat?
[12:00:37] dlitvak: has joined #ruby
[12:03:49] millerti: has joined #ruby
[12:04:51] dlitvak_: has joined #ruby
[12:05:36] bubbys: has joined #ruby
[12:06:15] baweaver: has joined #ruby
[12:07:32] bubbys: has joined #ruby
[12:07:34] bubbys: has left #ruby: ()
[12:07:57] bubbys: has joined #ruby
[12:08:50] Shaboum: has joined #ruby
[12:09:25] pawnbox: has joined #ruby
[12:11:31] sandstrom: has joined #ruby
[12:11:47] platzhirsch: has left #ruby: ()
[12:14:17] aryaching: has joined #ruby
[12:14:43] blackmes1: has joined #ruby
[12:14:49] chipotle: has joined #ruby
[12:17:38] icarus: has joined #ruby
[12:18:04] dlitvak: has joined #ruby
[12:18:19] maikowblue: has joined #ruby
[12:19:04] pawnbox: has joined #ruby
[12:19:23] sandstrom: has joined #ruby
[12:19:39] ilyaman: has joined #ruby
[12:22:51] Mon_Ouie: has joined #ruby
[12:23:11] Garo_: Ox0dea: thanks for that (sorry for the delay). So it seems that if the returns works in Sinatra then Sinatra must invode that somehow differently so that it as a surrounding method where it can return
[12:23:58] FooMunki: has joined #ruby
[12:24:33] victorzimmer: has joined #ruby
[12:27:48] platzhirsch: has joined #ruby
[12:28:01] icarus: has joined #ruby
[12:29:28] futilegames: has joined #ruby
[12:31:03] foodforgod: has joined #ruby
[12:31:30] johnmilton: has joined #ruby
[12:31:52] alem0lars__: has joined #ruby
[12:32:14] SHyx0rmZ: has joined #ruby
[12:32:53] alem0lars__: has joined #ruby
[12:33:08] dlitvak_: has joined #ruby
[12:34:09] chouhoul_: has joined #ruby
[12:35:28] victorzimmer: has joined #ruby
[12:36:40] Abrin_AWAY: has joined #ruby
[12:38:12] rbennacer: has joined #ruby
[12:38:45] pawnbox: has joined #ruby
[12:39:26] tvw: has joined #ruby
[12:40:36] pawnbox: has joined #ruby
[12:44:25] sandstrom: has joined #ruby
[12:46:13] LoneHermit: has joined #ruby
[12:47:15] chipotle: has joined #ruby
[12:47:16] Guest84889: has joined #ruby
[12:47:35] Guest84889: has joined #ruby
[12:48:06] sandstrom: has joined #ruby
[12:48:32] kent\n: has joined #ruby
[12:48:37] kent\n: has joined #ruby
[12:49:03] dlitvak: has joined #ruby
[12:49:33] monque: has joined #ruby
[12:50:56] charlemagne: has joined #ruby
[12:51:48] victorzimmer: has joined #ruby
[12:52:13] charliesome: has joined #ruby
[12:53:52] eregi: has joined #ruby
[12:54:11] Omni_: has joined #ruby
[12:55:00] jenrzzz: has joined #ruby
[12:55:15] Jeremy1023: has joined #ruby
[12:55:40] Omni_: has joined #ruby
[12:58:11] Guest34101: has joined #ruby
[13:00:46] blackmes1: has joined #ruby
[13:01:02] andywojo: has joined #ruby
[13:01:26] rodferso1: has joined #ruby
[13:01:35] unl0ckd: has joined #ruby
[13:03:40] dlitvak_: has joined #ruby
[13:04:02] bronson: has joined #ruby
[13:04:43] themsay: has joined #ruby
[13:05:02] stevemackinnon: has joined #ruby
[13:05:16] laith: has joined #ruby
[13:05:53] jaiks: has joined #ruby
[13:08:23] tulak: has joined #ruby
[13:09:07] millerti: has joined #ruby
[13:10:32] blaxter: has joined #ruby
[13:10:56] kaleido: has joined #ruby
[13:12:09] mattwildig: has joined #ruby
[13:12:24] synthroid: has joined #ruby
[13:14:31] chipotle: has joined #ruby
[13:15:40] pdoherty: has joined #ruby
[13:16:12] binaryplease: has joined #ruby
[13:17:13] goodcodeguy: has joined #ruby
[13:19:07] dlitvak: has joined #ruby
[13:19:47] chipotle: has joined #ruby
[13:20:04] icarus: has joined #ruby
[13:21:46] krzkrz: has joined #ruby
[13:22:08] ben_h: has joined #ruby
[13:25:15] jeanlinux: has joined #ruby
[13:26:59] p1k: has joined #ruby
[13:27:43] Azulinho: has joined #ruby
[13:28:27] rbennacer: has joined #ruby
[13:29:19] joonty: has joined #ruby
[13:33:30] dlitvak_: has joined #ruby
[13:34:19] askhat: has joined #ruby
[13:37:32] mostlybadfly: has joined #ruby
[13:38:10] victorzimmer: has joined #ruby
[13:41:20] chipotle: has joined #ruby
[13:41:58] ocbtec: has joined #ruby
[13:44:13] ocbtec: has joined #ruby
[13:45:45] Tomasso: has joined #ruby
[13:46:26] william3: has joined #ruby
[13:49:09] victorzimmer: has joined #ruby
[13:49:46] decoponio: has joined #ruby
[13:53:40] Xeago: has joined #ruby
[13:54:24] moeabdol: has joined #ruby
[13:54:38] eregi: has joined #ruby
[13:54:44] avenj: has joined #ruby
[13:54:50] griffindy: has joined #ruby
[13:55:04] avenj: has joined #ruby
[13:56:41] ben_h: has joined #ruby
[13:57:01] floatingpoint: has joined #ruby
[13:57:33] jenrzzz: has joined #ruby
[13:57:48] jeanlinux: has joined #ruby
[14:01:15] nachoman: has joined #ruby
[14:02:39] andywojo: has joined #ruby
[14:03:24] cdg_: has joined #ruby
[14:03:28] binaryplease1: has joined #ruby
[14:04:57] nachoman: has joined #ruby
[14:05:05] Kang0: has joined #ruby
[14:05:07] Bugboy1028: has joined #ruby
[14:06:07] bronson: has joined #ruby
[14:07:10] baweaver: has joined #ruby
[14:07:40] ESpiney: has joined #ruby
[14:10:28] dlitvak: has joined #ruby
[14:10:58] laith: has joined #ruby
[14:12:25] skade: has joined #ruby
[14:13:06] goodcodeguy: has joined #ruby
[14:13:41] Jardayn: has joined #ruby
[14:14:18] dlitvak_: has joined #ruby
[14:15:04] malconis: has joined #ruby
[14:18:45] goodcodeguy: has joined #ruby
[14:19:21] joonty: has joined #ruby
[14:19:50] sonOfRa: has joined #ruby
[14:20:21] griffindy: has joined #ruby
[14:20:38] ramortegui_: has joined #ruby
[14:21:41] mdw: has joined #ruby
[14:21:43] DmitryBochkarev: has joined #ruby
[14:22:50] platzhirsch: has joined #ruby
[14:23:00] chipotle: has joined #ruby
[14:24:59] sankaber: has joined #ruby
[14:25:16] duckpuppy: has joined #ruby
[14:26:27] chipotle: has joined #ruby
[14:27:14] dlitvak: has joined #ruby
[14:28:40] oakridgelanl1: has joined #ruby
[14:29:51] oakridgelanl1: has left #ruby: ()
[14:30:01] sankaber: has joined #ruby
[14:31:00] uris: has joined #ruby
[14:31:06] Kang0: has joined #ruby
[14:31:09] crankharder: has joined #ruby
[14:32:17] Cyrus: has joined #ruby
[14:33:48] rbennacer: has joined #ruby
[14:34:09] futilegames: has joined #ruby
[14:34:23] verde: has joined #ruby
[14:34:47] LoneHerm_: has joined #ruby
[14:35:12] chipotle_: has joined #ruby
[14:35:39] malconis: has joined #ruby
[14:38:54] millerti: has joined #ruby
[14:39:04] Pumukel: has joined #ruby
[14:39:20] BLuEGoD: has joined #ruby
[14:40:00] bricker: has joined #ruby
[14:42:01] blackmes1: has joined #ruby
[14:42:02] Xeago: has joined #ruby
[14:42:05] idefine: has joined #ruby
[14:42:11] rbennacer: has joined #ruby
[14:43:49] platzhirsch: has left #ruby: ()
[14:44:27] dopamean_: has joined #ruby
[14:45:08] DmitryBochkarev: has joined #ruby
[14:45:52] hxegon: has joined #ruby
[14:47:07] Kang0: has joined #ruby
[14:47:54] solars: has joined #ruby
[14:50:37] TomPeed: has joined #ruby
[14:53:46] laith: has joined #ruby
[14:53:57] stevemackinnon: has joined #ruby
[14:54:23] cabargas: has joined #ruby
[14:54:43] nofacade: has joined #ruby
[14:55:02] konsolebox: has joined #ruby
[14:55:13] stevemackinnon: has joined #ruby
[14:55:26] allcentury: has joined #ruby
[14:55:34] eregi: has joined #ruby
[14:56:32] stevemackinnon: has joined #ruby
[14:56:41] dlitvak: has joined #ruby
[14:56:57] rohit: has joined #ruby
[14:56:57] CLion: has joined #ruby
[14:57:38] polishdub: has joined #ruby
[14:57:50] stevemackinnon: has joined #ruby
[14:58:11] sgambino: has joined #ruby
[14:59:08] stevemac_: has joined #ruby
[14:59:08] HalcyonicStorm: has joined #ruby
[15:00:27] stevemackinnon: has joined #ruby
[15:01:10] droidburgundy: has joined #ruby
[15:01:46] stevemackinnon: has joined #ruby
[15:02:24] stannard: has joined #ruby
[15:03:04] stevemackinnon: has joined #ruby
[15:03:09] rippa: has joined #ruby
[15:03:37] fsapo: has joined #ruby
[15:03:42] Kryptonical: has joined #ruby
[15:03:45] blaxter: has joined #ruby
[15:04:23] stevemackinnon: has joined #ruby
[15:04:34] dramagods: has joined #ruby
[15:05:42] stevemackinnon: has joined #ruby
[15:05:54] dfinninger: has joined #ruby
[15:06:24] babblebre: has joined #ruby
[15:06:30] themsay: has joined #ruby
[15:07:01] goodcodeguy: has joined #ruby
[15:07:15] Alayde: has joined #ruby
[15:08:32] dramagods: has joined #ruby
[15:09:04] Alayde: has left #ruby: ()
[15:09:21] tulak: has joined #ruby
[15:09:26] laith: has joined #ruby
[15:09:32] dhollinger: has joined #ruby
[15:12:27] x77686d: has joined #ruby
[15:13:10] dramagods: has joined #ruby
[15:13:38] Kang0: has joined #ruby
[15:14:47] matt_d_: has joined #ruby
[15:14:51] VeryBewitching: has joined #ruby
[15:16:52] eregi: has joined #ruby
[15:18:00] mattwildig: has joined #ruby
[15:18:49] Frem: has joined #ruby
[15:20:26] joonty: has joined #ruby
[15:21:00] william3: has joined #ruby
[15:21:34] shevy: hello BeryVewitching
[15:21:46] shevy: yorickpeterse will not be amused that you attempt to enchant again, you know
[15:24:06] ddv: shevy u talk way too much in here
[15:24:30] tulak: has joined #ruby
[15:24:58] shredding: has joined #ruby
[15:25:12] tenderlove: has joined #ruby
[15:26:21] yorickpeterse: Yes shevy shut up
[15:26:49] yorickpeterse: shevy: also that's OK, I'm a level 90 witch hunter
[15:30:04] Roa: has joined #ruby
[15:30:21] epochwolf: has joined #ruby
[15:31:56] william3: has joined #ruby
[15:35:24] mary5030: has joined #ruby
[15:35:55] dlitvak: has joined #ruby
[15:36:02] Jardayn: has joined #ruby
[15:36:51] dima__: has joined #ruby
[15:40:44] jstacks: has joined #ruby
[15:40:58] ElFerna: has joined #ruby
[15:42:48] aegis3121: has joined #ruby
[15:43:40] mary5030: has joined #ruby
[15:44:02] solars: has joined #ruby
[15:45:42] Azulinho: has joined #ruby
[15:47:11] dhollinger: has joined #ruby
[15:47:34] gaf_: has joined #ruby
[15:48:58] mlehrer: has joined #ruby
[15:49:10] griffindy: has joined #ruby
[15:49:18] goodcodeguy: has joined #ruby
[15:49:40] idefine: has joined #ruby
[15:49:44] rbennacer: has joined #ruby
[15:49:45] flaguy48: has left #ruby: ()
[15:50:05] whippythellama: has joined #ruby
[15:50:08] idefine: has joined #ruby
[15:50:53] weemsledeux: has joined #ruby
[15:51:47] sgambino: has joined #ruby
[15:52:05] crowell: has joined #ruby
[15:52:05] crowell: has joined #ruby
[15:52:05] pawnbox_: has joined #ruby
[15:55:50] symm-: has joined #ruby
[15:56:22] ljames: has joined #ruby
[15:58:08] johnmilton: has joined #ruby
[15:58:09] kent\n: has joined #ruby
[15:58:09] kent\n: has joined #ruby
[15:58:45] sgambino: has joined #ruby
[15:59:03] jenrzzz: has joined #ruby
[15:59:32] kies^: has joined #ruby
[15:59:41] Trynemjoel: has joined #ruby
[16:00:57] Kang0: has joined #ruby
[16:02:01] eregi: has joined #ruby
[16:02:09] dopie: has joined #ruby
[16:02:55] blandflakes: has joined #ruby
[16:02:59] aibot: has joined #ruby
[16:03:28] zast: has joined #ruby
[16:03:35] idefine: has joined #ruby
[16:03:43] aibot: has joined #ruby
[16:03:48] floatingpoint: has joined #ruby
[16:04:42] CookieBaker: has joined #ruby
[16:05:17] andywojo: has joined #ruby
[16:05:41] dstarh: has joined #ruby
[16:05:43] ziyadb: has joined #ruby
[16:05:51] aibot: has joined #ruby
[16:06:08] CookieBaker: Just a quick question, I can run a ruby sinatra app by using MyArbitraryClassName.run! but I can't run it by executing the run method on a class object. I don't know what I did wrong
[16:06:55] blackmes1: has joined #ruby
[16:07:19] Guest34101: has joined #ruby
[16:07:53] baweaver: has joined #ruby
[16:08:43] robbyoconnor: has joined #ruby
[16:08:53] bronson: has joined #ruby
[16:08:54] platzhirsch: has joined #ruby
[16:09:14] DaniG2k: has joined #ruby
[16:09:26] jstacks: has joined #ruby
[16:09:35] aibot: has joined #ruby
[16:10:28] aibot: has joined #ruby
[16:11:19] idefine: has joined #ruby
[16:14:21] mattwildig: has joined #ruby
[16:14:43] william3: has joined #ruby
[16:15:10] pdoherty: has joined #ruby
[16:16:03] rbennacer: has joined #ruby
[16:18:11] william3: has joined #ruby
[16:19:08] bricker: has joined #ruby
[16:19:49] shevy: drive-by-shooting, drive-by-asking
[16:20:09] sucks: has joined #ruby
[16:23:22] Gnut: has joined #ruby
[16:24:18] dlitvak_: has joined #ruby
[16:24:24] jaiks: has joined #ruby
[16:25:22] dlitvak__: has joined #ruby
[16:25:32] boboc: has joined #ruby
[16:25:56] tjohnson: has joined #ruby
[16:26:22] nofacade: has joined #ruby
[16:26:49] dhollinger: has joined #ruby
[16:27:56] baweaver: has joined #ruby
[16:28:02] sanguisdex: has joined #ruby
[16:28:12] platzhirsch: has joined #ruby
[16:29:16] frozen3: has joined #ruby
[16:29:43] dfockler: has joined #ruby
[16:30:38] dlitvak_: has joined #ruby
[16:32:12] crowell: has joined #ruby
[16:33:07] nando293921: has joined #ruby
[16:34:30] cdg: has joined #ruby
[16:34:53] chouhoulis: has joined #ruby
[16:35:16] Olipro_: has joined #ruby
[16:35:37] idefine: has joined #ruby
[16:35:55] idefine: has joined #ruby
[16:39:25] Xeago_: has joined #ruby
[16:40:19] jeanlinux: has joined #ruby
[16:41:49] mondok: has joined #ruby
[16:44:19] lxsameer: has joined #ruby
[16:45:34] jeanlinux: has joined #ruby
[16:45:38] kaleido: >> a = "b" ; b = a ; puts a + b
[16:45:39] ruby[bot]: kaleido: # => bb ...check link for more (https://eval.in/524785)
[16:45:52] kaleido: i call shenanigans!
[16:46:21] dlitvak: has joined #ruby
[16:46:44] william3: has joined #ruby
[16:48:09] william3: has joined #ruby
[16:49:25] crazydiamond: has joined #ruby
[16:49:59] Abrin_AWAY: has joined #ruby
[16:50:36] jacksonmills: has joined #ruby
[16:51:11] Abrin_AWAY: has left #ruby: ()
[16:52:26] scoot: has joined #ruby
[16:53:40] rcvalle: has joined #ruby
[16:54:35] stevemackinnon: has joined #ruby
[16:56:07] codecop: has joined #ruby
[16:58:06] scoot: Hi, I was wondering if anybody backs up their local gems on OSX? I'm reformatting my computer but since the gems takes so long to download I want to be able to just resotre them somehow
[16:58:32] haylon: has joined #ruby
[16:58:38] griffindy: has joined #ruby
[16:58:39] apeiros: scoot: if you use rvm, you can probably just copy ~/.rvm away.
[16:58:54] scoot: I'm using rbenv
[16:58:58] ljames: has joined #ruby
[16:59:07] adaedra: s/\.rvm/.rbenv/
[16:59:27] scoot: i guess same thing with rbenv
[16:59:43] scoot: jsut copy the entire directory ~/.rbenv and back that up correct?
[17:00:32] jenrzzz: has joined #ruby
[17:00:39] amclain: has joined #ruby
[17:00:44] adaedra: I guess so
[17:01:19] scoot: thanks apeiros and adaedra
[17:01:47] lxsameer: has joined #ruby
[17:02:25] mattwildig: has joined #ruby
[17:02:31] floatingpoint: has joined #ruby
[17:03:40] Guest34101: has joined #ruby
[17:04:12] yqt: has joined #ruby
[17:04:46] gregf: has joined #ruby
[17:06:51] TomyLobo: has joined #ruby
[17:08:49] pandaant: has joined #ruby
[17:08:50] dopie: has joined #ruby
[17:09:11] devbug: has joined #ruby
[17:09:45] terminalrecluse: has joined #ruby
[17:10:08] cpup: has joined #ruby
[17:10:30] eregi: has joined #ruby
[17:10:55] dlitvak_: has joined #ruby
[17:12:41] dopie: has joined #ruby
[17:13:05] atmosx: has joined #ruby
[17:13:09] nachoman: has joined #ruby
[17:14:03] symm-: has joined #ruby
[17:14:04] idefine: has joined #ruby
[17:15:12] the_drow: has joined #ruby
[17:16:45] Yithar: has joined #ruby
[17:17:00] platzhirsch: has left #ruby: ()
[17:17:01] XorSec: has joined #ruby
[17:17:07] dionysus69: has joined #ruby
[17:18:34] sgambino: has joined #ruby
[17:19:02] trosborn: has joined #ruby
[17:20:31] ben_h: has joined #ruby
[17:21:11] SCHAAP137: has joined #ruby
[17:21:11] SCHAAP137: has joined #ruby
[17:22:08] idefine: has joined #ruby
[17:22:38] Xeago: has joined #ruby
[17:24:30] aryaching: has joined #ruby
[17:24:33] eregi_: has joined #ruby
[17:25:30] rbennacer: has joined #ruby
[17:26:16] Emmanuel_Chanel: has joined #ruby
[17:26:26] ilyaman: has left #ruby: ()
[17:26:46] Emmanuel_Chanel: has joined #ruby
[17:26:53] blackmes1: has joined #ruby
[17:26:57] idefine: has joined #ruby
[17:27:37] dfinninger: has joined #ruby
[17:31:40] jottr: has joined #ruby
[17:33:15] konsolebox: has joined #ruby
[17:33:21] rbennacer: has joined #ruby
[17:34:47] wet88: has joined #ruby
[17:36:34] kriskropd: has joined #ruby
[17:37:33] goodcodeguy: has joined #ruby
[17:37:55] cjbottaro: has joined #ruby
[17:37:55] nofacade: has joined #ruby
[17:38:18] mattwildig: has joined #ruby
[17:38:44] nachoman: has joined #ruby
[17:42:23] sucks: has joined #ruby
[17:42:37] dfinninger: has joined #ruby
[17:43:07] rbennacer: has joined #ruby
[17:46:29] openstruct: has joined #ruby
[17:47:53] sgambino: has joined #ruby
[17:50:18] bronson: has joined #ruby
[17:51:48] platzhirsch: has joined #ruby
[17:52:28] fantazo: has joined #ruby
[17:53:00] boboc: has joined #ruby
[17:53:31] Ishido: has joined #ruby
[17:53:48] idefine: has joined #ruby
[17:54:06] scoot: has joined #ruby
[17:54:08] Emmanuel_Chanel: has joined #ruby
[17:54:18] jxs_: has joined #ruby
[17:54:31] Emmanuel_Chanel: has joined #ruby
[17:56:36] Xeago: has joined #ruby
[17:56:46] goodcodeguy: has joined #ruby
[17:57:42] elifoster: has joined #ruby
[17:58:11] rbennacer: has joined #ruby
[18:01:16] jenrzzz: has joined #ruby
[18:02:19] baweaver: has joined #ruby
[18:04:02] diegoviola: has joined #ruby
[18:04:16] ElFerna: has joined #ruby
[18:04:27] Jackneill: has joined #ruby
[18:04:56] chridal: I've got a list of UserObjects from User.where(id: [1,2,3]) and I'd like to join their IDs with .join(',')
[18:05:06] sepp2k: has joined #ruby
[18:05:09] chridal: My intuition says I could do something with tap, but I can't seem to figure it out
[18:05:58] chridal: Used map of course. Thanks anyway.
[18:06:20] andywojo: has joined #ruby
[18:07:20] shadoi: has joined #ruby
[18:07:34] tristanp_: has joined #ruby
[18:07:37] synthroid: has joined #ruby
[18:07:49] tristanp_: is rvm still the best way to manage ruby versions on osx?
[18:08:11] elifoster: tristanp_: I personally don't use RVM.
[18:08:20] joonty: has joined #ruby
[18:08:28] tristanp_: could i just do it with homebrew perhaps?
[18:08:35] rbennacer: has joined #ruby
[18:08:40] tristanp_: fewer tools i have to install and understand the better
[18:08:51] elifoster: That should work. I haven't installed a new ruby version in a couple months so my memory is a bit... eh.
[18:08:57] william3: has joined #ruby
[18:09:12] dlitvak: has joined #ruby
[18:09:31] cabargas: has joined #ruby
[18:10:16] rakm: has joined #ruby
[18:11:27] skade: has joined #ruby
[18:11:30] alem0lars__: has joined #ruby
[18:11:34] TomPeed: I use rvm on osx. it's great especially if you work on multiple projects using different versions of ruby
[18:11:58] TomPeed: there's not much to learn. all i use is "rvm use 2.3.0"
[18:12:22] TomPeed: if you don't have the version installed it prints out the commands to use to install it
[18:13:15] tristanp_: is it on homebrew?
[18:13:35] tristanp_: apparently not
[18:14:08] sneakerhax: has joined #ruby
[18:14:30] william3: has joined #ruby
[18:15:54] jacksonmills: actually no, no its not
[18:16:06] jacksonmills: rvm has it's own installer, its pretty easy tho
[18:16:12] jacksonmills: just copy paste acurl
[18:16:17] TomPeed: .\curl -sSL https://get.rvm.io | bash -s stable --ruby
[18:16:30] dlitvak: has joined #ruby
[18:17:44] Kensei: has joined #ruby
[18:17:56] BtcBen: has joined #ruby
[18:18:25] Dragooon: has joined #ruby
[18:19:08] ljarvis: obligatory chruby > rvm
[18:20:05] Eiam_: has joined #ruby
[18:20:29] goodcodeguy: has joined #ruby
[18:20:48] basic`: has joined #ruby
[18:20:55] cjbottaro: has joined #ruby
[18:21:01] Kensei: has left #ruby: ()
[18:21:51] chridal: tristanp_: I use rbenv and I have to say that I prefer it over rvm
[18:21:57] william3: has joined #ruby
[18:22:11] chridal: I do however not understand how they both work internally, but rbenv has in general just given me a lot less grief
[18:22:18] julieeharshaw: has joined #ruby
[18:22:25] Xiti: has joined #ruby
[18:22:53] dfinninger: has joined #ruby
[18:23:22] ljarvis: obligatory chruby > rbenv
[18:23:26] scoot: same here. I prefer rbenv over rvm. I swithed over from rvm and rbenv and they do not play well together in your OS. It was causing me a lot of trouble to have them both installed
[18:23:40] chridal: ljarvis: Reading up on that now.
[18:23:49] Kang0: has joined #ruby
[18:23:50] terminalrecluse: has joined #ruby
[18:24:47] openstru_: has joined #ruby
[18:24:56] rhg331: has joined #ruby
[18:25:02] Eiam__: has joined #ruby
[18:25:25] nofacade: has joined #ruby
[18:26:09] arlek: has joined #ruby
[18:26:20] aryaching: has joined #ruby
[18:26:53] mikecmpbll: has joined #ruby
[18:27:10] openstruct: has joined #ruby
[18:27:18] sanguisdex: has joined #ruby
[18:28:37] yqt: has joined #ruby
[18:29:03] Toledo|gone: has joined #ruby
[18:29:35] last_staff: has joined #ruby
[18:30:15] lubekpl: has joined #ruby
[18:30:45] mooru: has joined #ruby
[18:31:02] millerti: has joined #ruby
[18:31:08] idefine: has joined #ruby
[18:31:19] cschneid_: has joined #ruby
[18:32:04] basic`: has joined #ruby
[18:32:23] cschneid_: I want to label some output with "A", "B", "C" , and it's moderately complex on which ones get printed. So I want `label = "A"` then `label.succ!`. How can I set that up so the first case isn't special. I don't want to start on 'B', so I can't just blindly `puts label.succ!`
[18:32:45] cschneid_: I guess I want: "don't actually increment the first time, just every following time
[18:33:22] allcentury: has joined #ruby
[18:33:24] pdoherty: has joined #ruby
[18:33:58] platzhirsch: has left #ruby: ()
[18:34:19] xfbs: has joined #ruby
[18:34:31] apeiros: cschnei__: label = "@"
[18:34:51] cschneid_: that's "one previous from 'A'" isn't it?
[18:36:00] cjbottaro: has joined #ruby
[18:36:45] nachoman: has joined #ruby
[18:37:09] kirillzh: has joined #ruby
[18:37:42] BSaboia: has joined #ruby
[18:38:46] replay: has joined #ruby
[18:40:34] icarus: has joined #ruby
[18:40:59] Xeago: has joined #ruby
[18:41:38] Guest34101: has joined #ruby
[18:41:51] rbennacer: has joined #ruby
[18:42:48] JJM: has joined #ruby
[18:42:48] floatingpoint: has joined #ruby
[18:43:25] cjbottaro: has joined #ruby
[18:43:36] stevemackinnon: has joined #ruby
[18:44:29] baweaver: has joined #ruby
[18:44:47] stevemackinnon: has joined #ruby
[18:44:56] rhg135: has joined #ruby
[18:47:46] flughafen_: has joined #ruby
[18:49:27] tristanp_: Once i have rvm and a ruby version installed, am i supposed to install gems through rvm in case i switch the ruby version later? like `rvm gem install rails` instead of `gem install rails`
[18:50:21] Jeremy1023: has joined #ruby
[18:50:37] william3: has joined #ruby
[18:51:57] alexishuard: has joined #ruby
[18:52:30] alexishuard: anyone worked with jenkins, simplecov and parallel_tests ? i cannot seem to generate a complete code coverage report despite all my efforts
[18:54:47] flughafen_: has joined #ruby
[18:54:57] atmosx: tristanp_: no
[18:55:21] xxneolithicxx: has joined #ruby
[18:55:46] xxneolithicxx: has joined #ruby
[18:55:47] dfinninger: has joined #ruby
[18:55:52] atmosx: tristanp_: by default rvm will use all installed with that specific ruby version. If you need to isolate gems/ruby-version per project use .ruby-version
[18:56:03] atmosx: tristanp_: just use 'gem install <blah>'
[18:56:11] firstdayonthejob: has joined #ruby
[18:56:14] tristanp_: atmosx: ok, thanks
[18:57:09] failshell: has joined #ruby
[18:57:14] stamina: has joined #ruby
[18:59:45] mooru: has joined #ruby
[18:59:46] william3: has joined #ruby
[19:00:04] FooMunki: has joined #ruby
[19:01:38] BaroMeter: has joined #ruby
[19:01:44] nogic: has joined #ruby
[19:01:47] jenrzzz: has joined #ruby
[19:02:06] william3: has joined #ruby
[19:02:31] n00bDev: has joined #ruby
[19:02:51] skade: has joined #ruby
[19:03:06] zeroDivisible: has joined #ruby
[19:03:22] LoneHerm_: has joined #ruby
[19:04:45] trosborn: has joined #ruby
[19:05:49] jeanlinux: has joined #ruby
[19:07:21] andywojo: has joined #ruby
[19:07:39] kirillzh: has joined #ruby
[19:09:03] joonty: has joined #ruby
[19:09:21] A124: has joined #ruby
[19:09:32] weemsledeux: has joined #ruby
[19:10:42] celly: has joined #ruby
[19:11:25] dfinninger: has joined #ruby
[19:11:55] mattwildig: has joined #ruby
[19:12:15] yfeldblum: has joined #ruby
[19:13:12] kirillzh: has joined #ruby
[19:13:27] mhoungbo: has joined #ruby
[19:14:36] mooru: has joined #ruby
[19:14:38] hxegon: has joined #ruby
[19:15:07] Musashi007: has joined #ruby
[19:16:29] jenrzzz: has joined #ruby
[19:16:31] dlitvak: has joined #ruby
[19:16:36] jmignault: has joined #ruby
[19:17:54] xapak: has joined #ruby
[19:18:50] theunraveler: has joined #ruby
[19:20:23] baweaver: has joined #ruby
[19:20:30] Trynemjoel: has joined #ruby
[19:22:01] xapak: Anybody ever worked with Bundler classes instead of the CLI app? I’m trying to get some gems installed to a specific directory and on my wrapper I load them later, but I’m having an issue where it seems, unless Bundler objects are destroyed, I cannot rerun the same installation method:
[19:22:02] xapak: http://stackoverflow.com/questions/35588540/how-to-install-ruby-gems-to-a-specific-folder-without-gem-or-bundle-command-line
[19:22:34] aryaching: has joined #ruby
[19:22:47] sandstrom: has joined #ruby
[19:22:58] futilegames: has joined #ruby
[19:23:08] kirun: has joined #ruby
[19:23:43] godzillaenlacasa: has joined #ruby
[19:23:52] azure32: has joined #ruby
[19:25:21] tristanp_: so took the newly installed rvm and installed the latest of ruby 2.3 and then gem installed rails but the output was not happy...any calls to rails (even to check the version number) from inside a rails project result in a weird error which i couldn't find a google result for. here's what happened: https://gist.github.com/tristanpendergrass/e7e45013a8e760a60026
[19:26:30] Cyrus: has joined #ruby
[19:27:19] tristanp_: once again, i googled the `undefined method `split' for #<Array:0x007fb63c8af0f8> (NoMethodError)` error, which i think is the crux of the problem. but couldn't find anything so that's what i'm really looking for help on
[19:27:25] nofacade: has joined #ruby
[19:27:48] apeiros: tristanp_: it's precisely what the error says
[19:27:53] apeiros: there is no method split for Array.
[19:28:04] apeiros: i.e. you call split on an array. and that does not exist.
[19:28:16] Authenticator: has joined #ruby
[19:28:36] tristanp_: i haven't written any code, my entire input has been installed rails and then executing `gem install rails`, `rails new hello_world` and `rails -v`
[19:28:49] tristanp_: sorry i meant to say install ruby ^
[19:29:02] dlitvak_: has joined #ruby
[19:29:48] apeiros: did you intentionally install a prerelease of ruby?
[19:30:37] tristanp_: no, i thought -head installed the latest stable version
[19:30:45] tristanp_: you saying that makes me think i didnt though :)
[19:30:49] apeiros: no, -head is the latest version in the repository
[19:31:04] tristanp_: that's my problem then
[19:31:13] kpwarr: has joined #ruby
[19:31:34] apeiros: it might be. at least that's the first I'd change.
[19:31:52] Authenticator: I've written a CLI utility as a gem against 2.2.x+ and I want to run this on a RHEL6 machine without a modern Ruby. In the past I've downloaded and built Ruby and packaged that, then packaged the gem separately, etc. Is there a good way to do this?
[19:31:57] ElFerna: has joined #ruby
[19:32:06] mdw: has joined #ruby
[19:32:10] kpwarr: is a 'begin - rescue - end' block treated differently from the begin block which executes before any other code in the file?
[19:32:29] futilegames: has joined #ruby
[19:34:27] LoneHermit: has joined #ruby
[19:34:29] dopamean_: has joined #ruby
[19:34:47] dlitvak: has joined #ruby
[19:36:20] Macaveli: has joined #ruby
[19:36:42] norc_: has joined #ruby
[19:38:40] elifoster: has joined #ruby
[19:38:40] riceandbeans: question, if I have the following code, is it safe to remove the parens?
[19:39:05] riceandbeans: if (foo) or ((bar) and (baz)) ... end
[19:39:32] norc_: riceandbeans: Firstly, do you know the difference between &&/and and ||/or ?
[19:39:42] riceandbeans: linter at work said s/or/|| s/and/&& and take out all paren
[19:39:53] riceandbeans: different operational precedence
[19:40:35] shevy: kpwarr it will only rescue the part that you enclosed
[19:40:53] norc_: riceandbeans: Basically and/or were designed for control flow and not boolean operators.
[19:41:08] norc_: So the precedence is differently and they even behave somewhat differently too./
[19:41:58] jenrzzz: has joined #ruby
[19:42:28] norc_: Or actually that last bit is not quite accurate.
[19:42:45] polishdub: has joined #ruby
[19:42:57] dfinninger: has joined #ruby
[19:43:51] solars: has joined #ruby
[19:45:13] norc_: >> true and false ? 1 : 0
[19:45:15] ruby[bot]: norc_: # => 0 (https://eval.in/524850)
[19:45:18] norc_: >> true && false ? 1 : 0
[19:45:19] ruby[bot]: norc_: # => 0 (https://eval.in/524851)
[19:45:43] norc_: >> false && true ? 1 : 0
[19:45:44] ruby[bot]: norc_: # => 0 (https://eval.in/524852)
[19:45:49] baweaver: has joined #ruby
[19:46:05] norc_: >> false and true ? 1 : 0
[19:46:19] norc_: Oh dongers. Did I hit the limit already. :S
[19:46:25] dlitvak: has joined #ruby
[19:47:04] contradictioned: has joined #ruby
[19:47:05] nachoman: has joined #ruby
[19:47:24] Yzguy: has joined #ruby
[19:48:11] mwlang: has joined #ruby
[19:48:35] dlitvak: has joined #ruby
[19:49:27] jeanlinux: has joined #ruby
[19:51:55] mdw: has joined #ruby
[19:55:22] mooru: has joined #ruby
[19:57:52] dravine: has joined #ruby
[19:59:05] stamina: has joined #ruby
[20:00:17] Domaldel: has joined #ruby
[20:00:27] contradictioned: has joined #ruby
[20:00:37] ur5us: has joined #ruby
[20:01:40] SCHAAP137: has joined #ruby
[20:02:20] ss_much: has joined #ruby
[20:03:12] idefine: has joined #ruby
[20:03:27] contradictioned_: has joined #ruby
[20:04:31] laith: has joined #ruby
[20:05:40] Musashi007: has joined #ruby
[20:05:50] Zarthus: norc_: well, irb / pry won't ratelimit you
[20:06:20] norc_: Zarthus: no but the bot does.
[20:06:32] solars: has joined #ruby
[20:08:03] shevy: we want ruboto back!
[20:08:15] adaedra: No you don't.
[20:08:29] Olipro: has joined #ruby
[20:08:53] norc_: adaedra: you mean apeiros doesn't.
[20:09:09] adaedra: I'm sure he's not alone.
[20:09:19] shevy: you have `derpy
[20:09:26] synthroid: has joined #ruby
[20:09:50] joonty: has joined #ruby
[20:09:50] `derpy: No, the other way around. I have adaedra.
[20:10:05] jeanlinux: has joined #ruby
[20:11:38] ferr: has joined #ruby
[20:11:58] sandstrom: has joined #ruby
[20:12:59] Zarthus: that's not what your realname suggests!
[20:14:31] theRealAlexz: has joined #ruby
[20:14:32] theRealAlexz: has joined #ruby
[20:14:53] synthroid: has joined #ruby
[20:14:54] adaedra: Hah, forgot about that
[20:15:40] Contigi: has joined #ruby
[20:17:15] ruby-lang973: has joined #ruby
[20:19:41] yqt: has joined #ruby
[20:20:51] treehug88: has joined #ruby
[20:21:08] kpwarr: are 'begin' blocks and 'BEGIN' blocks two completely different things?
[20:21:44] mostlybadfly: has joined #ruby
[20:21:55] CLion: has joined #ruby
[20:22:01] shevy: kpwarr yeah
[20:22:01] manveru: kpwarr: yes
[20:22:07] moeabdol1: has joined #ruby
[20:22:21] kpwarr: ugh, that's confusing :P
[20:22:47] manveru: not if you know that BEGIN is never used :)
[20:22:59] shevy: kpwarr are these theoretical questions? ;)
[20:23:17] trosborn: has joined #ruby
[20:23:17] manveru: there's also END, but don't confuse it with end
[20:23:23] shevy: it's like wondering why the dinosaur do not rule the earth today!
[20:24:19] kpwarr: yea, just curious
[20:24:24] jimcroft: has joined #ruby
[20:24:40] hxegon: If I'm building something that relies on another component that doesn't exist yet, I should use doubles for that, correct?
[20:24:46] Ox0dea: has joined #ruby
[20:24:47] hxegon: also, hello everyone.
[20:25:13] Ox0dea: manveru: You reckon the language should have exit handlers but not entrance ones?
[20:25:25] manveru: hxegon: doubles as in floats?
[20:25:39] william3: has joined #ruby
[20:25:41] bricker: has joined #ruby
[20:25:43] hxegon: manveru as in test doubles (RSpec)
[20:25:56] manveru: Ox0dea: i don't like either... it's heritage from awk
[20:26:07] Ox0dea: manveru: But it's how autorun works!
[20:26:26] Ox0dea: Also, awk is a decent language?
[20:26:31] Xeago: has joined #ruby
[20:26:47] jimcroft: has joined #ruby
[20:26:59] manveru: can't say i ever used that
[20:27:26] shevy: it just runs
[20:27:32] manveru: anw, i'm not a big fan of most things that came from awk -> perl -> ruby
[20:28:27] manveru: they're mostly there because perl was so big in japan, not because they're good :P
[20:28:34] Ox0dea: Oh, okay.
[20:29:10] blackgoat: has joined #ruby
[20:29:22] djellemah: has joined #ruby
[20:29:38] manveru: i have a thing for small languages in terms of syntax and even features
[20:30:20] Pumukel: has joined #ruby
[20:30:25] Ox0dea: You're in #ruby.
[20:30:49] manveru: #ruby is a big place, i'm over here in the scheme and smalltalk corner
[20:31:09] JoaoSantos: has joined #ruby
[20:31:33] manveru: planning to assassinate rails
[20:32:04] norc_: Ox0dea: I was wondering about something.
[20:32:14] norc_: Do you know how allocators work in Ruby?
[20:33:00] mikecmpbll: ACTION is writing his first c extension
[20:33:18] mikecmpbll: bit of a learning curve, this.
[20:33:25] yardenbar: has joined #ruby
[20:33:38] stevemackinnon: has joined #ruby
[20:33:54] norc_: mikecmpbll: We shall celebrate your first segmentation fault crash dialog from Ruby soon.
[20:34:14] mikecmpbll: haha, how dare you jinx me.
[20:34:19] Ox0dea: norc_: Er, I've only ever bumped into them for TypedData_MakeStruct(). :/
[20:34:21] djbkd: has joined #ruby
[20:34:25] Ox0dea: The interface seems fairly intuitive?
[20:34:37] blackmes1: has joined #ruby
[20:34:57] stevemackinnon: has joined #ruby
[20:35:07] Ox0dea: manveru: There's a Smalltalk corner? Surely those principles pervade the language?
[20:35:26] bricker: has joined #ruby
[20:35:27] norc_: Ox0dea: Im still at the fiddling the class pointer topic.
[20:35:37] dfinninger: has joined #ruby
[20:35:42] Ox0dea: norc_: I assumed as much. :)
[20:35:42] norc_: And Im thinking whether something was missed that could lead to crashes.
[20:35:57] jenrzzz: has joined #ruby
[20:36:16] pawnbox: has joined #ruby
[20:36:50] shevy: mikecmpbll I never got past the pickaxe jukebox example
[20:36:55] Ox0dea: norc_: I never did figure out why copying over everything for `struct enumerator` into a C extension wasn't sufficient for the TypedData API to think I had a real `struct enumerator` on my hands. :(
[20:37:19] Ox0dea: I just blindly used DATA_PTR() in the end and everything went fine.
[20:37:29] Ox0dea: Which is terrifying?
[20:37:34] mikecmpbll: shevy: just getting on to that!
[20:37:52] norc_: Ox0dea: Oh, there is that word again. "Fine".
[20:38:30] mikecmpbll: i implemented a rolling hash function in ruby and it's so damn slow. can't work out why so ima try it in C instead
[20:39:15] baweaver: has joined #ruby
[20:39:18] Ox0dea: mikecmpbll: DJB's?
[20:39:40] mikecmpbll: Ox0dea: buzhash
[20:39:55] Ox0dea: Much fancier.
[20:40:07] norc_: Ox0dea: The word always reminds me of the massive stack corruption we had in our application with no sensible tools available to debug it. Spent like days just trying to figure out where it happened. Guy kept saying "Everything is fine. Except its not."
[20:40:30] mikecmpbll: i don't know much about them, but buzhash is fast apparently and i had a python implementation to base it off
[20:40:31] JoaoSantos: has left #ruby: ()
[20:40:57] mikecmpbll: however mine ruby version can process about 4mb/s from file data, whereas the C version is like 170mb/s :[
[20:40:59] Ox0dea: norc_: "Everything" here was just exposing `struct enumerator`'s fields as a Ruby Hash, for what that's worth.
[20:41:34] Ox0dea: mikecmpbll: It's probably that you're holding onto much more of your sequence than is necessary to maintain the window?
[20:42:20] norc_: Anyhow, Im currently in the process of diving back into C++ now. :(
[20:42:45] nofacade: has joined #ruby
[20:42:53] baweaver: has joined #ruby
[20:43:14] phatso727: has joined #ruby
[20:43:27] norc_: If only Ruby had proper Qt bindings, or any kind of adequate Window toolkit.. :S
[20:43:32] maikowblue: has joined #ruby
[20:43:33] Ox0dea: Or, well, you mentioned pure virtual base classes, so I assumed.
[20:43:40] tercenya: has joined #ruby
[20:44:31] norc_: Had a fruitless rant about how much I dislike inheritance in Ruby.
[20:44:39] norc_: Think I mentioned it along the way somewhere there.
[20:44:42] mikecmpbll: Ox0dea: shouldn't be doing, but meh. it's here fwiw https://gist.github.com/mikecmpbll/fa8fe88bde75b412f04a
[20:44:51] Ox0dea: norc_: Sum types! https://eval.in/524891
[20:45:33] superlou: has joined #ruby
[20:46:24] norc_: Ox0dea: That is so silly/
[20:46:31] Don_John: has joined #ruby
[20:46:38] norc_: Somewhat amusing thoguh.
[20:46:41] Ox0dea: mikecmpbll: LGTM, but the performance you're seeing doesn't surprise me. :/
[20:47:30] griffindy: has joined #ruby
[20:47:37] dfockler: has joined #ruby
[20:47:45] mikecmpbll: yeah, i spose. when i analysed the speed of it the vast majority of time was spend in the barrel_shift function https://gist.github.com/mikecmpbll/fa8fe88bde75b412f04a#file-buzhash-rb-L93
[20:47:51] Ox0dea: norc_: I think the symmetry in that definition of #is_a? is rather pretty.
[20:48:07] mikecmpbll: which is weird cus it's all bitwise operations
[20:48:26] Ox0dea: Aye, that doesn't make a great deal of sense...
[20:48:45] despai: has joined #ruby
[20:49:21] norc_: asm>> ((v << shift) & 0xffffffff) | (v >> (32 - shift))
[20:49:22] ruby[bot]: norc_: I have disassembled your code, the result is at https://eval.in/524894
[20:50:09] akem: has joined #ruby
[20:50:20] dlitvak: has joined #ruby
[20:51:55] jeanlinux: has joined #ruby
[20:54:05] norc_: mikecmpbll: Is it possible that coercions into long/bignum take place?
[20:54:39] norc_: Because I can see how this could get expensive if this happens repeatededly for each call of barrel_shift
[20:54:50] firstdayonthejob: has joined #ruby
[20:55:38] mikecmpbll: norc_ : tis entirely possible, could happen in the shift i spose. i'll check.
[20:56:27] nando293921: has joined #ruby
[20:58:05] norc_: >> puts (0xffffffff).class
[20:58:06] ruby[bot]: norc_: # => Bignum ...check link for more (https://eval.in/524903)
[20:58:08] william3: has joined #ruby
[20:58:09] norc_: mikecmpbll: It is not possible, it happens.
[20:59:17] norc_: mikecmpbll: The |/& methods on Fixnum automatically do coercions there.
[20:59:19] mikecmpbll: the C version of the code doesn't have to apply a mask like that because it uses an int32 or whatever which just overflows
[20:59:59] jenrzzz: has joined #ruby
[21:00:15] mikecmpbll: i don't suppose there's much i can do about the coercion stuff then?
[21:01:07] mattwild_: has joined #ruby
[21:01:18] pawnbox: has joined #ruby
[21:01:20] mikecmpbll: >> RUBY_VERSION
[21:01:21] ruby[bot]: mikecmpbll: # => "2.3.0" (https://eval.in/524904)
[21:01:26] Mia: has joined #ruby
[21:01:26] Mia: has joined #ruby
[21:01:45] mikecmpbll: puts (0xffffffff).class on my ruby 2.2.1 IRB gives Fixnum?
[21:01:55] norc_: 22>> puts (0xffffffff).class
[21:01:57] ruby[bot]: norc_: # => Bignum ...check link for more (https://eval.in/524905)
[21:02:00] Cohedrin: has joined #ruby
[21:02:12] quakephil: has joined #ruby
[21:02:13] norc_: mikecmpbll: This could be implementation dependent.
[21:02:17] Ox0dea: mikecmpbll: eval.in is hosted on a 32-bit machine.
[21:02:38] norc_: They still make those?
[21:04:06] weemsledeux: has joined #ruby
[21:05:08] adaedra: What's next, a eval.in running on a Game Boy?
[21:06:25] norc_: adaedra: You just want to provoke some bored freak here to do your bidding, so you place ideas in his head. Is my theory correct here?
[21:06:28] sankaber: has joined #ruby
[21:06:52] adaedra: ... just a little.
[21:07:33] norc_: Fair enough. Im off to check ebay for something...
[21:07:55] jeanlinux: has joined #ruby
[21:08:22] Musashi007_: has joined #ruby
[21:08:23] x77686d: has joined #ruby
[21:09:01] cdg: has joined #ruby
[21:11:34] shiffles: has joined #ruby
[21:11:51] steffkes: has joined #ruby
[21:11:51] steffkes: has joined #ruby
[21:13:35] BTRE: has joined #ruby
[21:14:12] Ox0dea: norc_: Learning Z80, then?
[21:14:21] jeanlinux: has joined #ruby
[21:15:10] dreinull: has joined #ruby
[21:15:24] joonty: has joined #ruby
[21:15:40] yfeldblum: has joined #ruby
[21:16:14] dreinull: is there a ruby cli app that I can use to share files with a link it creates?
[21:17:21] dreinull: right now I scp a file to a folder and spider the url to see if it works then forward the address. that's not handy.
[21:18:45] mikecmpbll: meh, none of the numbers are ever anything but fixnum, so aint to do with coercion afaict
[21:19:24] graydot: has joined #ruby
[21:19:25] yardenbar: has joined #ruby
[21:19:25] moeabdol2: has joined #ruby
[21:19:27] idefine: has joined #ruby
[21:20:11] devbug: has joined #ruby
[21:20:41] cout: huh, this is odd. I'm using ripper to parse ruby code, and column() is returning a column number for a line that doesn't exist
[21:20:48] cpup: has joined #ruby
[21:21:01] cout: returning a column number past the end of the line I mean
[21:21:39] cout: (yes, I know I should be using something more sophisticated than ripper)
[21:21:44] nofacade: has joined #ruby
[21:22:22] andywojo: has joined #ruby
[21:23:31] Ox0dea: cout: Hard tabs might be to blame.
[21:23:33] Coldblackice: has joined #ruby
[21:23:51] cout: I hadn't thought of that though
[21:25:14] ruby-lang738: has joined #ruby
[21:25:26] dreinull: has joined #ruby
[21:25:52] cout: Ox0dea: ruby -rripper -e 'class P < Ripper; def on_var_ref(*x); p lineno, column; end; end; P.parse("class << self;\n42\nend")'
[21:26:03] ruby-lang738: Sooo, I still got old ruby 1.9 - yep, I know. Well, I want to set a http proxy using environment variables.
[21:26:11] ruby-lang738: I heard this is only supported since ruby 2.0?
[21:26:59] openstruct: has joined #ruby
[21:27:09] skade: has joined #ruby
[21:27:31] cout: oh wait, bad example
[21:28:19] Ox0dea: ruby-lang738: Net::HTTP will try to use the HTTP_PROXY env variable on 1.9.3.
[21:29:04] Ox0dea: It has to be an HTTP proxy, though.
[21:29:06] B1n4r10: has joined #ruby
[21:29:35] Ox0dea: cout: Can haz good example?
[21:29:38] x77686d: has joined #ruby
[21:30:00] cout: Ox0dea: yeah let me try again
[21:31:53] martin290: has joined #ruby
[21:34:18] andywojo: has joined #ruby
[21:36:49] millerti: has joined #ruby
[21:36:50] cout: Ox0dea: ruby -rripper -e 'class P < Ripper; def on_var_ref(*a); p lineno, column, a; end; end; P.parse("class F\n def s\n class << self\n def abcdefghijklmnopqrstuvwxyz; end\n end\n end\nend")'
[21:37:13] cout: looks like it's returning the last column in the following line
[21:38:00] cout: ok, I guess it's doing the "right" thing, just not what I want it to do :)
[21:40:09] cout: or maybe not
[21:40:30] loechel: has joined #ruby
[21:40:51] cout: I was thinking the var_ref was for the def, but it gets printed even without the def
[21:41:55] Azulinho: has joined #ruby
[21:42:15] ElFerna: has joined #ruby
[21:42:33] Anderson69s: has joined #ruby
[21:43:46] solars: has joined #ruby
[21:44:16] Ox0dea: cout: It's definitely wonky: https://eval.in/524908
[21:45:09] elifoster: has joined #ruby
[21:45:12] Ox0dea: Why should changing the name of the subsequent method have anything to do with the column on which it encounters `self`?
[21:45:33] Amnez777: has joined #ruby
[21:46:50] jjturner: has joined #ruby
[21:47:28] cout: Ox0dea: I think maybe column() is the current column of the scanner rather than the parser
[21:47:51] Ox0dea: cout: "Current" here referring to after the token has been processed, but yeah.
[21:48:17] uglybandersnatch: has joined #ruby
[21:48:25] slawrence00: has joined #ruby
[21:49:28] Ox0dea: It's still pretty surprising, I think. I don't get why it's emitting the on_var_ref event only after the method definition.
[21:51:52] mattwildig: has joined #ruby
[21:52:59] jimcroft: has joined #ruby
[21:53:03] firstdayonthejob: has joined #ruby
[21:53:18] jjturner: Q: how does 42 && 23 result -> 23? Basically trying to understand this use of &&, thanks
[21:54:04] adaedra: jjturner: && returns the right side if the left side is truthy.
[21:54:18] adaedra: not only true/false.
[21:54:31] jjturner: ok, thanks - that was a new one on me
[21:55:23] jjturner: it does seem curious/antithetical to normal logical 'and' usage
[21:55:56] azure32: has joined #ruby
[21:56:56] Ox0dea: Ruby's boolean operators observe the same truth table as any other; they just evaluate to something with greater information density than mere `true` and `false`.
[21:57:00] adaedra: >> [nil && 1, false && 1, true && false, true && nil, true && 1]
[21:57:02] ruby[bot]: adaedra: # => [nil, false, false, nil, 1] (https://eval.in/524927)
[21:58:02] jjturner: 0x0dea: thanks for elaborating, that helps to know
[21:58:14] Xeago: has joined #ruby
[21:58:43] Ox0dea: jjturner: You should strive to avoid excessive complexity in your conditionals, of course.
[21:58:53] jjturner: adaedra: thanks - I think you've illustrated 0x0dea's point quite well
[21:59:07] Anderson69s: has joined #ruby
[21:59:15] william3: has joined #ruby
[21:59:24] Ox0dea: I would also like to thank adaedra for the convincing demonstration. :)
[21:59:27] adaedra: jjturner: piece of advice: play with || and && with different values in your pry to see how it reacts.
[21:59:29] x77686d: has joined #ruby
[21:59:40] adaedra: tssk, ruby[bot] does all the hard work.
[22:00:01] millerti: has joined #ruby
[22:00:11] jjturner: yep - I've got my pry going just recently, so getting up to speed with it
[22:00:11] mattwildig: has joined #ruby
[22:01:21] jjturner: I noticed on StackOverflow that apparently there is no 'source code' for these logical operators, per se
[22:01:26] jjturner: is that correct?
[22:01:42] hahuang65: has joined #ruby
[22:01:54] adaedra: what do you mean
[22:02:11] jjturner: is there a way to "show-source" for &&
[22:02:21] postmodern: has joined #ruby
[22:02:22] adaedra: it's ruby interpreter code
[22:02:23] cpup: has joined #ruby
[22:02:23] Ox0dea: No, it's a keyword.
[22:02:45] Ox0dea: Most of Ruby's "operators" are in fact methods, as you allude to, but not these ones.
[22:02:50] jimcroft: has joined #ruby
[22:02:53] Ox0dea: They have to be special to permit short-circuiting.
[22:03:13] stevemackinnon: has joined #ruby
[22:03:13] Ox0dea: >> false && destroy the universe
[22:03:14] ruby[bot]: Ox0dea: # => /tmp/execpad-e952e8018db6/source-e952e8018db6:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/524928)
[22:03:22] adaedra: well damn.
[22:03:23] Ox0dea: You get the idea.
[22:03:25] jenrzzz_: has joined #ruby
[22:03:36] adaedra: You doomed us all, Ox0dea.
[22:03:49] Dimik: has joined #ruby
[22:04:17] shiffles: has joined #ruby
[22:04:42] silverdust: has joined #ruby
[22:07:13] jjturner: hehe, ok - fair enough, I'll meditate on all this logical goodness for a bit
[22:07:34] Ox0dea: jjturner: Do you know how I mean by "short-circuiting"?
[22:07:46] jjturner: I believe so --
[22:07:55] adaedra: <morpheus> Show me.
[22:08:03] jjturner: normal & will evaluate after the operator
[22:08:14] jjturner: but && won't if first condition is not met
[22:08:17] jjturner: is that what you mean?
[22:08:27] adaedra: & and && are completely different things.
[22:08:35] Ox0dea: Sure, but he's got the idea.
[22:08:48] jjturner: I know - but just pseudocode
[22:09:01] adaedra: Oh sure, on this one.
[22:09:03] Ox0dea: && doesn't compute the right-hand side and then throw it away; it completely ignores it, regardless of what it does.
[22:09:57] Ox0dea: Just like how the code in your `else` branch won't get executed if the condition isn't met.
[22:10:54] Anderson69s: has joined #ruby
[22:11:10] ElFerna: has joined #ruby
[22:11:50] htmldrum: has joined #ruby
[22:11:51] ruby-lang363: has joined #ruby
[22:12:34] jjturner: 0x0dea, adeadra, thanks to both of you for the rapid logic lesson :)
[22:12:49] ruby-lang363: So I investigated further and found out, that indeed open() with open-uri will _ignore_ http_proxy environment variable!!!
[22:12:50] Ox0dea: jjturner: Any time. :)
[22:12:54] ruby-lang363: I had to set proxy directly!
[22:12:55] ruby-lang363: then it worked
[22:13:02] ruby-lang363: but http_proxy does not work, it is just ignored.
[22:13:14] ruby-lang363: export http_proxy="someproxy" <- will be ignored by ruby
[22:13:28] Ox0dea: *will be ignored by OpenURI.
[22:13:28] ruby-lang363: key = open(value, proxy: URI.parse("http://127.0.0.1:3128"), :ftp_active_mode => false).read
[22:13:31] ruby-lang363: that will work
[22:13:38] snowy: has joined #ruby
[22:13:47] ruby-lang363: Ox0dea: why is it ignored? how can I get around this?
[22:13:55] Ox0dea: ruby-lang363: As you've done.
[22:14:01] Ox0dea: Alternatively, use a proper HTTP client.
[22:14:25] Ox0dea: Or, well, FTP, as the case may be.
[22:14:26] ruby-lang363: Ox0dea: the point is that I use some program and by chance I know some ruby to fix it - but I would really love to just set an env variable and be done with it.
[22:14:55] Ox0dea: ruby-lang363: You have access to the environment via the ENV Hash.
[22:18:43] idefine: has joined #ruby
[22:18:46] RahulT: has joined #ruby
[22:19:07] tomaz_b: has joined #ruby
[22:19:59] trinaldi: has joined #ruby
[22:20:01] uglybandersnatc1: has joined #ruby
[22:23:33] phatso727: has joined #ruby
[22:24:05] LuckyABA: has joined #ruby
[22:25:42] jeanlinux: has joined #ruby
[22:27:19] gevans: has joined #ruby
[22:27:33] nofacade: has joined #ruby
[22:27:42] m4rCsi: has joined #ruby
[22:28:46] sphex: has joined #ruby
[22:28:49] mdw: has joined #ruby
[22:28:54] LoneHerm_: has joined #ruby
[22:29:15] ledestin: has joined #ruby
[22:29:30] Ropeney: has joined #ruby
[22:30:09] jeanlinux: has joined #ruby
[22:32:58] quazimodo: has joined #ruby
[22:33:44] symm-: has joined #ruby
[22:37:19] mary5030: has joined #ruby
[22:39:37] rahult_: has joined #ruby
[22:41:05] mdw: has joined #ruby
[22:41:44] zenlot1: has joined #ruby
[22:43:34] openstruct: has joined #ruby
[22:44:50] mary5030: has joined #ruby
[22:50:12] KensoDev: has joined #ruby
[22:52:25] themsay: has joined #ruby
[22:52:28] baweaver: has joined #ruby
[22:53:08] Xeago: has joined #ruby
[22:53:39] pipework: Ox0dea: Lies! `env` works too!
[22:55:40] themsay: has joined #ruby
[22:56:32] intrigueD: has joined #ruby
[22:56:37] nando293921: has joined #ruby
[22:58:45] snockerton: has joined #ruby
[22:59:50] uglybandersnatch: has joined #ruby
[23:00:02] joonty: has joined #ruby
[23:00:30] djbkd: has joined #ruby
[23:00:39] BSaboia: has joined #ruby
[23:01:45] solocshaw: has joined #ruby
[23:03:05] uglybandersnatc1: has joined #ruby
[23:04:22] pipework: >> module Environment; eval `env`.split("\n").map{|str| [str.split('=', 2).join(' ||="'),'"'].join }.join("\n"); end; Environment.constants
[23:04:23] ruby[bot]: pipework: # => (https://eval.in/524957)
[23:04:56] pipework: I was gonna do one that uses a hash that never stores the env. :p
[23:08:20] EvilRoey: has joined #ruby
[23:08:44] timwis: has joined #ruby
[23:09:36] nachoman: has joined #ruby
[23:10:21] timwis: Hey guys, I've submitted a simple pull request to Jekyll but I'm a JS dev so I'm not as familiar with ruby best practices. What's the best way to write "select where there's a string match or, if it's an array, where the array contains the string" (at the moment tests are failing because `.include?` throws an error against a boolean value) https://github.com/jekyll/jekyll/pull/4555/files
[23:10:52] tulak_: has joined #ruby
[23:11:48] azure32: has joined #ruby
[23:13:00] havenwood: timw, did they leave?
[23:13:58] sphex_: has joined #ruby
[23:14:27] havenwood: anyway, if you're out there timwis : `==` has higher precedence than `or` or even `||`: http://ruby-doc.org/core-2.3.0/doc/syntax/precedence_rdoc.html
[23:17:02] tlaxkit: has joined #ruby
[23:20:06] mwlang: has joined #ruby
[23:21:02] sneakerhax: has joined #ruby
[23:21:19] krobzaur_: has joined #ruby
[23:22:05] hoylemd: has joined #ruby
[23:23:59] hoylemd: I have a string containing a bunch of html, but with other stuff around it. I'm trying to extract *just* the html portion by doing `/<html>.*<\/html>/.match(text)[0]`, but I'm not getting a match. Is there a reason the .* might be breaking it?
[23:24:37] sgambino: has joined #ruby
[23:25:49] LoneHerm_: has joined #ruby
[23:26:31] teej: has joined #ruby
[23:26:34] hoylemd: ah! I need to append the `m` modifier
[23:27:26] LoneHermit: has joined #ruby
[23:30:13] Azure|dc: has joined #ruby
[23:36:01] steffkes: has joined #ruby
[23:36:01] steffkes: has joined #ruby
[23:37:12] jenrzzz: has joined #ruby
[23:37:55] duncannz: has joined #ruby
[23:40:32] moei: has joined #ruby
[23:41:02] steffkes: has joined #ruby
[23:42:56] kerunaru: has joined #ruby
[23:43:51] martin290: hey everyone
[23:47:48] moeabdol2: has joined #ruby
[23:47:49] sankaber: has joined #ruby
[23:48:01] Ox0dea: Hi, martin290.
[23:48:01] toretore: has joined #ruby
[23:48:12] lemur: has joined #ruby
[23:48:43] pizzaops: http://vignette3.wikia.nocookie.net/simpsons/images/5/5e/Dr._Riviera.png/revision/latest?cb=20120509073411
[23:48:46] martin290: Ox0dea: how's it going?
[23:48:55] Ox0dea: martin290: Well enough, thanks. And for yourself?
[23:49:19] martin290: Ox0dea: going well.... watching some youtube videos on ruby, i've never used it before
[23:49:34] martin290: Ox0dea: i think i'm going to switch from php to ruby.... your thoughts/
[23:49:40] Ox0dea: martin290: Yes, do that.
[23:49:44] Ox0dea: With utmost haste.
[23:49:56] pizzaops: I literally was thinking "this person is about to ask 'which is better, php or ruby?' "
[23:49:57] pizzaops: I was so close.
[23:50:03] martin290: lol is php that bad, or, is ruby that good?
[23:50:15] Ox0dea: PHP is no longer that bad, but Ruby is really, really good.
[23:50:19] pizzaops: martin290: are you good at PHP, or are you just learning it?
[23:50:41] martin290: pizzaops: just learning it but i can do everything i need in it
[23:50:49] martin290: pizzaops: which hasn't been much lol
[23:50:57] kirillzh: has joined #ruby
[23:51:03] pizzaops: Well, my point is, it's more important to learn to program than to learn specifically Ruby (or PHP)
[23:51:25] martin290: oh, yeah, i know c#
[23:51:26] pizzaops: probably go with Ruby over PHP, but either way, learn something and do something with it
[23:52:17] pizzaops: Just learn ASP.net then?
[23:52:19] pizzaops: ACTION ducks
[23:52:45] martin290: eh, asp.net is alright, but i'm really looking for productivity
[23:52:57] pizzaops: I was joking :)
[23:52:59] martin290: in asp.net you have to write so much to do so little
[23:53:35] pizzaops: Learn some Ruby and learn some Sinatra and you should be able to do some fun stuff.
[23:56:53] floatingpoint: has joined #ruby