« Back to channel list

#ruby - 04 June 2015

« Back 1 day Forward 1 day »
[00:00:09] mark[oz]: has joined #ruby
[00:00:20] zenspider: http://www.zenspider.com/presentations/2013-gogaruco.html or http://www.zenspider.com/presentations/2013-mountainwest.html
[00:00:26] zenspider: I can't remember which wound up being the better recording
[00:00:31] dfockler: even with RPN you hit numeric types, and integer division
[00:00:44] dfockler: zenspider: thanks I'll watch these tonight
[00:00:54] zenspider: you shouldn't have nested functions in RPN... just stack values and calls?
[00:01:02] zenspider: eg 1 2 3 + *
[00:01:14] zenspider: or even 1 2 3 + f
[00:01:16] dfockler: oh tried to add user defined functions
[00:01:18] juni0r: has joined #ruby
[00:01:24] kinduff: has joined #ruby
[00:01:24] kinduff: has joined #ruby
[00:01:26] mdz_: has joined #ruby
[00:01:46] victorkohl: has joined #ruby
[00:02:08] dfockler: but like `+ 2 - 4 5` was working and stuff
[00:02:26] dfockler: maybe haha I don't remember, that doesn't look right
[00:02:39] Channel6: has joined #ruby
[00:03:13] Jandre: has joined #ruby
[00:03:20] zenspider: prefix notation? hah. that could get ugly
[00:03:49] zenspider: one thing I like about scheme is the idea that all the math ops are N arity: (+ 1 2 3) => 6
[00:04:30] bootstrappm: i miss college :'(
[00:04:50] zenspider: bootstrappm: you're allowed to write parsers / interpreters AFTER college
[00:04:59] bootstrappm: where i would learn this stuff. nowadays i just write and debug rake tasks -_-
[00:05:04] bootstrappm: haha not actually but thats what I'm doing right now
[00:05:13] bootstrappm: truth, but in college your time was meant for that
[00:05:44] jfarmer: has joined #ruby
[00:05:49] bootstrappm: now my time is meant for something else and i have to be a bit more proactive about learning new things / pet projects
[00:05:52] baweaver: has joined #ruby
[00:06:25] adefa: has joined #ruby
[00:06:36] sevenseacat: has joined #ruby
[00:06:38] bantic: has joined #ruby
[00:07:24] dseitz: has joined #ruby
[00:07:50] tmoor: has joined #ruby
[00:08:20] zenspider: bootstrappm: nah. just more sneaky to fold them into your current tasks
[00:08:20] mrsolo: has joined #ruby
[00:08:32] zenspider: "I'm investigating whether a custom DSL would help us here"
[00:09:12] dfockler: I don't need to be studying concurrency as much as I have at work, but it could help eventually
[00:10:22] Scripore: has joined #ruby
[00:11:14] kinduff: has joined #ruby
[00:12:23] larissa: has joined #ruby
[00:13:27] tuelz: has joined #ruby
[00:14:05] yfeldblum: has joined #ruby
[00:15:24] goodcodeguy: has joined #ruby
[00:15:35] _seanc_: has joined #ruby
[00:15:57] Adran: has joined #ruby
[00:16:09] tuelz1: has joined #ruby
[00:17:00] zenspider: dfockler: I meant for something fun. :P
[00:17:27] dfockler: You mean distributed systems and concurrency aren't fun?
[00:17:46] [H]unt3r: has joined #ruby
[00:18:50] bkxd: has joined #ruby
[00:20:03] delianides: has joined #ruby
[00:20:56] dfockler: see everyone later!
[00:21:02] ogpastaling: has joined #ruby
[00:24:56] Parker0: has joined #ruby
[00:26:27] mrsolo: has joined #ruby
[00:26:32] CloCkWeRX: has joined #ruby
[00:26:45] cmisenas: has joined #ruby
[00:27:18] jwinder: has joined #ruby
[00:27:40] bootstrappm: has joined #ruby
[00:28:20] iamjarvo: has joined #ruby
[00:28:37] jackjackdripper: has joined #ruby
[00:29:02] iamjarvo: has joined #ruby
[00:29:15] bootstrappm: hahh just caught up on the server log zenspider. truth, just gotta be more creative :D
[00:29:51] iamjarvo: has joined #ruby
[00:30:36] datanoise: has joined #ruby
[00:31:38] fgo: has joined #ruby
[00:31:46] iamjarvo: has joined #ruby
[00:32:24] devdazed: has joined #ruby
[00:32:31] iamjarvo: has joined #ruby
[00:33:30] Oog: has joined #ruby
[00:37:20] TinkerTyper: has joined #ruby
[00:37:56] Oog: has joined #ruby
[00:40:44] keen___________4: has joined #ruby
[00:41:23] fujimura_: has joined #ruby
[00:41:57] d[^_^]b: has joined #ruby
[00:42:03] zendrix: has joined #ruby
[00:42:13] caseypat_: has joined #ruby
[00:42:15] kinduff: Any state_machine tutorials out there besides the readme at github?
[00:42:49] houhoulis: has joined #ruby
[00:43:32] zenspider: kinduff: what do you need?
[00:43:33] zendrix: has joined #ruby
[00:43:39] zenspider: state machines are pretty simple constructs
[00:43:47] TwinkleHood: has joined #ruby
[00:43:50] zenspider: what's up? sorry... didn't mean to go frat boy
[00:43:53] sorbo_: has joined #ruby
[00:44:00] sigden: has joined #ruby
[00:44:05] Sweeper: #ruby-dudes is so happening
[00:44:45] allcentury: has joined #ruby
[00:46:32] mrmargolis: has joined #ruby
[00:47:20] robustus: has joined #ruby
[00:47:27] jpfuentes2: has joined #ruby
[00:48:34] rbowlby: has joined #ruby
[00:48:41] iamvery: has joined #ruby
[00:49:13] nhhagen: has joined #ruby
[00:49:20] nickfausnight: oh, that's not a real channel
[00:49:36] nickfausnight: a little let down
[00:50:50] workmad3: has joined #ruby
[00:51:13] Nightmare: has joined #ruby
[00:52:00] zenspider: not.... yet
[00:53:07] slogan: has joined #ruby
[00:53:17] phutchins: has joined #ruby
[00:53:28] CyborgCygnus: has joined #ruby
[00:54:57] slogan: hmm, anyone around?
[00:55:13] jackjackdripper: has joined #ruby
[00:55:25] ninjazach: has joined #ruby
[00:55:30] bruno-: has joined #ruby
[00:55:31] dgutierrez1287: has joined #ruby
[00:55:38] drewo: has joined #ruby
[00:55:44] freerobby: has joined #ruby
[00:56:50] sevenseacat: ACTION looks at the 1022 users in the channel
[00:57:08] slogan: I'm just looking and there's like hundreds of people here
[00:57:19] slogan: But nobody saying anything xD
[00:57:35] jhass: you seem to say something
[00:57:48] slogan: that's because I am a loud mouth
[00:58:19] jhass: well, got a question?
[00:58:32] slogan: yes I do and it will probably sound very noobish
[00:58:39] slogan: https://gist.github.com/sethlogan/404fd1ab3f2935411505
[00:58:51] starfox_sf: has joined #ruby
[00:58:51] slogan: I created some sample code here of what I'm trying to do
[00:59:32] slogan: As you can see, since foo2_object is an instance of the Foo2 class, I can call any methods from it. But what if I need to invoke methods of Foo based on some decision made in Foo2?
[00:59:48] jhass: sorry but
[00:59:50] ruboto: Please show your real code to illustrate your problem. Using fake code often hides it or won't bring up the best possible solution.
[00:59:51] charliesome: has joined #ruby
[01:00:00] jhass: ?gist-usage
[01:00:00] ruboto: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[01:00:10] jhass: mmh, need to improve that on
[01:00:32] noethics: anyone use vagrant+vim? #vagrant is deaderino
[01:00:33] jhass: it tries to point out to use the mentioned features ;)
[01:01:20] Scroff: has joined #ruby
[01:01:27] slogan: Ideally I would paste the real code but it is very lengthy
[01:01:44] CyborgCygnus: I made a .rb script in notepadd++, when I open it into the Ruby Interpreter it just closes after my user input instead of staying open & displaying a result
[01:01:57] jhass: no worries
[01:02:11] jhass: slogan: ^ we're used to that
[01:02:37] jhass: ?code CyborgCygnus
[01:02:37] ruboto: CyborgCygnus, We can't help you without your code, please post it to https://gist.github.com
[01:03:03] jhass: one for everything!
[01:03:17] slogan: also is there any way to hide notifications of people coming in and out?
[01:03:43] jhass: it's a client feature, I don't use the webclient so no idea ;)
[01:03:44] zenspider: slogan: your question hints that you're fairly new to objects, yes?
[01:04:19] slogan: Well I've not done OOP in a while
[01:04:21] jhass: slogan: look for something mentioning joins/parts
[01:04:25] zenspider: CyborgCygnus: you're running the code in windows? Via cmd.com I assume... those windows close when the program they're running is over
[01:04:36] zenspider: to verify that, add `gets` to the end of your script and run again
[01:04:40] allomov: has joined #ruby
[01:04:45] zenspider: not ideal, but neither is the env you're running in.
[01:05:11] CyborgCygnus: zenspider, Yeah I was using windows ruby interpreter, here's the script which has a few lines of gets https://gist.github.com/1aae905b870b81aa85ff.git
[01:05:22] m0r0n: has joined #ruby
[01:05:55] _seanc_: has joined #ruby
[01:06:14] CyborgCygnus: zenspider, Other link didn't work https://gist.github.com/anonymous/1aae905b870b81aa85ff
[01:06:25] zenspider: put a gets at the end
[01:06:30] freerobby: has joined #ruby
[01:06:37] zenspider: it'll stick around until you hit return
[01:06:38] slogan: Thank you. I found the option to hide joins and quits
[01:07:25] MouseTheLuckyDog: has joined #ruby
[01:07:59] blandflakes: has joined #ruby
[01:08:14] sleungcy: has joined #ruby
[01:08:16] slogan: But anyway, it's possible that the example I gave is too vague
[01:08:28] CyborgCygnus: zenspider, yeah that works I suppose, thought it would of been better than that. I'm pretty sure I have ruby on my ubuntu 14.04 but it's been a while, is it more friendly in linux?
[01:09:00] Papierkorb: has joined #ruby
[01:09:33] zenspider: CyborgCygnus: it's mostly about how you're running. bring up your own cmd.com window and run the script manually and you won't need the gets
[01:09:51] zenspider: there might be a way to get your editor to run scripts differently, but I can't help there
[01:10:10] zenspider: ACTION says the guy who is chatting on IRC in emacs, editing code in emacs, running shells in emacs
[01:10:22] claptor: has joined #ruby
[01:11:07] MouseTheLuckyDog: I have a list, I have a criteria. I want two make two lists. One of elements that meet the criteria, one of elements that do not. I can of course do two selects, but that seems crude.
[01:11:13] slogan: Anyone given any thought to my code? I'm sure it's just something very fundamental that I've not grasped
[01:12:19] zenspider: slogan: it's about objects and classes. the desire hints at not knowing OO _or_ not designing your OO models correctly
[01:13:01] jhass: slogan: and we can't really give suggestions on how to do it correctly without knowing what you're doing
[01:13:18] slogan: yeah, that's a good point jhass
[01:13:31] dopie: has joined #ruby
[01:13:33] slogan: let me see what I can dig up
[01:13:52] zenspider: slogan: what jhass said, but also: classes (and objects) are boundaries on purpose. if you want to violate those boundaries (I'm assuming I understand your question), then you have a design smell
[01:14:34] jhass: MouseTheLuckyDog: Enumerable#partition
[01:14:49] slogan: yeah, I'm pretty certain that my code will need to be redesigned
[01:14:57] zenspider: oh wow... I totally didn't parse MouseTheLuckyDog's question at all. :P
[01:15:06] zenspider: not sure if I need more coffee, or less
[01:15:08] Papierkorb: has joined #ruby
[01:15:26] jhass: since I parsed it, less sleep and more beef with the bundler guys
[01:15:49] MouseTheLuckyDog: spider, I mispelled to as two maybe that confused you.
[01:15:59] slogan: I'm going to grab the code I'm working with and remove some unneccesary methods, etc
[01:16:09] slogan: and see if you can help with that
[01:16:24] Alayde: has joined #ruby
[01:16:55] Agoldfish378: has joined #ruby
[01:17:14] jhass: slogan: cool, as said make sure make use of the gist features syntax highlighting and multiple files
[01:17:18] fella6s: has joined #ruby
[01:17:45] slogan: yeah I'm still very new to github but I'll try
[01:17:52] dgutierr_: has joined #ruby
[01:18:11] davedev24_: has joined #ruby
[01:19:21] davedev24_: has joined #ruby
[01:19:47] casadei_: has joined #ruby
[01:19:49] slogan: okay... I see where I can add multiple files
[01:19:59] slogan: but how do I highlight syntax?
[01:20:04] djbkd_: has joined #ruby
[01:20:14] jhass: either call your files something.rb or use the dropdown next to the filename
[01:20:22] slogan: just found the drop down
[01:20:45] hmnhf_: has joined #ruby
[01:21:32] bkxd: has joined #ruby
[01:21:48] dwithers: has joined #ruby
[01:22:37] terlar: has joined #ruby
[01:22:45] fusillicode: has joined #ruby
[01:23:03] DarthGandalf: has joined #ruby
[01:23:18] rkazak: has joined #ruby
[01:23:22] braincrash: has joined #ruby
[01:23:24] d[^_^]b: has joined #ruby
[01:24:16] kriskropd: has joined #ruby
[01:25:24] gf3: has joined #ruby
[01:25:25] pontiki: has joined #ruby
[01:26:47] poguez_: has joined #ruby
[01:27:29] rickmasta: has joined #ruby
[01:28:21] leat: has joined #ruby
[01:28:39] willharrison: has joined #ruby
[01:29:03] nickfausnight: noethics: did anyone answer you? I have a small bit of experience if I can be any help
[01:29:22] noethics: nickfausnight, no basically i got a "NO IDEA" from both #vbox and #vagrant
[01:29:31] RegulationD: has joined #ruby
[01:29:53] nickfausnight: noethics: I'll probably give you the same answer, but I'll give it a shot
[01:30:01] d[^_^]b: has joined #ruby
[01:30:06] noethics: nickfausnight, my problem is i can't get vim to copy registers from the guest os to my host
[01:30:25] noethics: i have clipboard == bidirectional and i have vim support for clipboard and xterm clipboard
[01:30:47] noethics: i had it working like a couiple weeks ago before i reformatted
[01:30:51] noethics: but now it's just brokerino
[01:31:00] rodfersou: has joined #ruby
[01:31:01] jpfuentes2: has joined #ruby
[01:31:15] nickfausnight: noethics: Well I tried
[01:31:22] delianid_: has joined #ruby
[01:31:24] noethics: nickfausnight, you didyer best m8
[01:31:27] unreal_: has joined #ruby
[01:31:40] nickfausnight: It's the thought that count, right?
[01:31:58] datanoise: has joined #ruby
[01:32:13] bogdanteleaga: has joined #ruby
[01:32:47] zenspider: is vim running in the guest or host?
[01:33:24] noethics: zenspider, ^
[01:33:52] gf3_: has joined #ruby
[01:34:10] CloCkWeRX: has joined #ruby
[01:34:15] dopieee: has joined #ruby
[01:34:31] amclain: has joined #ruby
[01:34:38] d[^_^]b: has joined #ruby
[01:35:02] noethics: it would be working if i set it up with vim ssh from my host i guess but that's not how i've been doing it
[01:35:19] CyborgCygnus: how did that person above workout how to not show joined or quitting messages?
[01:35:21] WillAmes: has joined #ruby
[01:36:12] jhass: CyborgCygnus: through looking, it's client specific
[01:36:48] dseitz: has joined #ruby
[01:36:51] tibig: has joined #ruby
[01:36:56] noethics: real men write router firmware to drop irc quit and join messages
[01:37:15] jhass: heh, I like my smart filter
[01:37:22] noethics: jk ssl would ruin your day
[01:37:29] GriffinHeart: has joined #ruby
[01:37:42] bnagy: top marks for unneccesarily sexist language though
[01:37:51] jhass: yeah, it always reminds me that DANE is still not a widely used thing :/
[01:37:56] duderonomy: has joined #ruby
[01:38:03] noethics: bnagy, it's a figure or speech don't get your panties in a knot
[01:38:09] joneshf-laptop: has joined #ruby
[01:38:13] bnagy: two for two!
[01:38:45] swgillespie: has joined #ruby
[01:38:45] bnagy: fwiw "it's a figure of speak" is not a justification
[01:39:00] bnagy: I think you'll find that "nigger in the woodpile" isn't much used these days
[01:39:27] noethics: bnagy, thanks for the words of wisdom, i can always count on you to spew some shit we both know i already know and don't care about
[01:39:35] fgo: has joined #ruby
[01:39:48] jhass: please, I don't want to remove both of you
[01:39:48] bnagy: no charge.
[01:39:50] goodcodeguy: has joined #ruby
[01:39:58] noethics: jhass, he's my bro from go-nuts
[01:40:09] noethics: he just likes riding me
[01:40:18] jhass: cool, then you have a place for it ;)
[01:40:46] bnagy: I actually honestly do think that cutting out sexist language makes irc more welcoming
[01:40:59] bnagy: that fact that it was you is just a bonus, tbh
[01:41:12] jhass: indeed, but skipping lengthy meta discussions about it does too
[01:41:25] jhass: especially if they happen in the tone you use
[01:41:43] jhass: (referring to both)
[01:41:44] slogan: eh I'll go back to my code later...I'm pretty sure it's just an issue with inheritance
[01:41:57] slogan: ACTION relaxes and drinks iced tea
[01:42:06] fujimura: has joined #ruby
[01:42:15] jhass: good choice too
[01:43:28] noethics: bnagy, you should see this test i wrote
[01:44:06] Oog: has joined #ruby
[01:44:27] bmurt: has joined #ruby
[01:45:10] jfarmer: has joined #ruby
[01:46:41] tkuchiki: has joined #ruby
[01:47:53] Brozo: has joined #ruby
[01:49:20] joaomdmoura: has joined #ruby
[01:49:30] dgutierrez1287: has joined #ruby
[01:49:42] x0F: has joined #ruby
[01:49:50] Hobogrammer: has joined #ruby
[01:50:25] nhhagen: has joined #ruby
[01:52:13] Aeyrix: pipework: n e?
[01:52:24] Aeyrix: Only pinging you because we discussed this pre-nyquil last time.
[01:53:13] Aeyrix: So I have an issue with a sinatra app I wrote not cleaning up tempfiles it makes.
[01:53:26] jwaldrip_: has joined #ruby
[01:53:27] Oog: has joined #ruby
[01:53:33] Aeyrix: https://gitlab.com/Aeyrix/Crate/blob/master/app/crate.rb
[01:53:47] Aeyrix: Please excuse trench-tier code.
[01:54:40] dhosterman: has joined #ruby
[01:55:09] Aeyrix: Line 32 I create the tempfile as `temp_file`, but it never gets cleaned up despite `temp_file.unlink` on line 42, before the end of the response.
[01:55:36] kinduff: has joined #ruby
[01:56:14] Aeyrix: Not Rails. :>
[01:56:39] Aeyrix: y u do dis
[01:57:03] noethics: idk im kiddings
[01:57:08] jcake: has joined #ruby
[01:57:23] noethics: Aeyrix, do you not separate your routes into separate files
[01:57:35] Aeyrix: noethics: Not when the grand sum of lines is 81.
[01:57:43] Aeyrix: Pointless abstraction for the sake of absolutely nothing.
[01:57:48] d[^_^]b: has joined #ruby
[01:57:51] noethics: i just curious cause ive never written web coad in ruby
[01:58:17] jcake: I have this java server I run from a jar file and I want to use ruby as a container for it, is there any way I could have ruby read the output and give input instead of a windows cmd?
[01:58:22] havenwood: has joined #ruby
[01:58:27] michael_mbp: has joined #ruby
[01:58:45] noethics: just wondering why would you use ruby as a container for java
[01:58:49] noethics: instead of theother way around
[01:58:53] bnagy: _cake: take a look at Open3
[01:58:55] jcake: ruby is the webserver
[01:59:02] jcake: I'll take a look, bnagy
[01:59:17] jcake: ruby is a web ui for the server**
[01:59:31] bnagy: _cake: if you need to keep it open and feed it input then probably popen3 or something
[01:59:40] jcake: awesome, thanks bnagy
[01:59:41] noethics: mmk i would not "wrap" java in ruby though
[01:59:56] noethics: if the java thing is a server just boot it and use rpc or some type of network protocol to communicate with it
[02:00:04] iamjarvo: has joined #ruby
[02:00:09] bnagy: _cake: a much nicer option depending how the server is written is to use JRuby then you might be able to just use java objects etc straight from the jar
[02:00:25] jcake: I'm making a webui for a minecraft server. bnagy, that isn't really much of an option
[02:00:45] Aeyrix: _cake: gross
[02:00:46] jcake: popen3 seems to be what I was looking for, though. thanks!
[02:00:48] iamjarvo: has joined #ruby
[02:00:51] Aeyrix: Stop stop stop stop stopstop
[02:00:51] jcake: lol Aeyrix
[02:00:53] Aeyrix: stopstopstopstopstotpsotpsotp
[02:01:04] Aeyrix: Don't wrap it for a control panel.
[02:01:15] noethics: ya if youre wrapping it yer doing it mega wrong
[02:01:26] jcake: rcon might be what I'll do instead
[02:01:31] iamjarvo: has joined #ruby
[02:01:33] Aeyrix: RCON + sockets.
[02:01:46] Brozo: has joined #ruby
[02:01:46] jcake: I still need to get the server terminal to show on the page
[02:02:23] Aeyrix: So what, you're going to wrap and manage stdin and stdout?
[02:02:45] jcake: only for a single webpage that lets you see the server commandline
[02:02:50] jcake: other than that, I'm using rcon
[02:02:56] Aeyrix: write a wrapper ap
[02:03:10] Aeyrix: that wraps and parses stdout and can input to stdin
[02:03:23] Aeyrix: then has sockets
[02:03:24] noethics: basically what i would do is init the java shit from ruby but be careful that it's not a fork of your ruby process
[02:03:29] Aeyrix: and your web page communicates with sockets
[02:03:37] noethics: and then grab the stdout
[02:03:40] jcake: I'm not sure how open3 handles the threads
[02:03:41] noethics: but still that's bad
[02:03:48] Aeyrix: _cake: lol threads and java
[02:03:52] Aeyrix: lol threads and mc
[02:04:09] jcake: I'll throw something together and cross my fingers
[02:04:09] noethics: what i would probably do
[02:04:28] noethics: _cake, are you running it on linux
[02:04:29] jcake: I need to leave a desktop running in my house too
[02:04:40] jcake: noethics, it's ruby, does it matter?
[02:04:45] mrmargolis: has joined #ruby
[02:04:52] noethics: well kinda cos if you want to multiplex the terminal
[02:04:58] noethics: then theres a few ways to do it
[02:05:19] jcake: java -jar server.jar is the same on windows and linux
[02:05:25] jcake: thanks m8
[02:05:30] noethics: i was saying you could use unix sockets
[02:05:35] noethics: and pipe stdout to your sock file
[02:05:42] noethics: then read it on le ruby end
[02:05:49] jcake: does that allow streams?
[02:05:56] bnagy: _cake: you might find javaw better on windows btw
[02:06:06] datanoise: has joined #ruby
[02:06:10] willharrison: has joined #ruby
[02:06:18] sigden: has joined #ruby
[02:06:24] noethics: you could do it without unix sockets even
[02:06:27] jcake: but the more shells I have open, the more leet I look
[02:06:31] noethics: you know in java how you can redirect stdout easily
[02:07:00] noethics: if you want your mc server as a child process of your web server then go f'rit
[02:07:03] noethics: sounds fuckin bad though
[02:07:32] jcake: if it doesn't work, I'll do it again differently
[02:07:46] jcake: the whole concept is a bad idea
[02:07:46] noethics: its gonna work its just gonna be bad
[02:07:55] noethics: im gonna dos ur web server
[02:08:00] noethics: and crash your mc server
[02:08:02] jcake: b-but.. how
[02:08:25] noethics: jk ily, but seriously that's such a bad idea
[02:08:26] jcake: why if my webserver is only accessible via vpn
[02:08:32] jcake: bad idea is my middle name
[02:08:35] jcake: not really
[02:08:43] jcake: you're one to talk, noethics
[02:08:59] noethics: what youre doing is objectively bad
[02:09:04] jenrzzz: has joined #ruby
[02:09:05] jcake: unethical even?
[02:09:22] bootstrappm: has left #ruby: ()
[02:09:28] Oog: has joined #ruby
[02:09:36] noethics: _cake, is this just a random mc server youre hosting?
[02:09:43] jcake: pretty much
[02:09:46] noethics: you didnt write it or anything
[02:09:55] jcake: vanilla server
[02:09:56] noethics: ok carry on then
[02:10:01] jcake: hi sevenseacat
[02:10:04] T3: has joined #ruby
[02:10:16] jcake: such a large channel
[02:10:21] jcake: I wonder how many people are idling
[02:10:21] sevenseacat: whats the haps in this here channel
[02:10:29] Aeyrix: _cake: Most are asleep atm.
[02:10:32] Aeyrix: Just the Aussies awake.
[02:10:38] havenwood: party! \o |o/ \O/
[02:10:40] jcake: it's 9pm here in texas
[02:10:55] jcake: you're saying developers go to sleep at 8/
[02:11:27] noethics: i wrote possibly the worst code ever written today
[02:11:32] noethics: i want to show bnagy but hes mad at me
[02:11:39] Aeyrix: www.howmad.ru
[02:11:44] Aeyrix: Why so mad?
[02:11:49] kinduff: Question about state_machine: how can I execute a method when transitioning between two states? I'm trying something like: https://gist.github.com/kinduff/c2fba6cbbb3c3b0d723c#file-sns_state_machine-rb, where the do: block is suppose to call those methods I got in my model
[02:11:56] jcake: array.transpose.transpose.reverse.transpose.reverse.transpose.zip(array.transpose) ??
[02:12:08] noethics: nah it's a unit test that tests a web server
[02:12:11] kinduff: Is that supose to work or am I doing something wrong
[02:12:22] jcake: the tadpole operator? ~-x
[02:12:24] kinduff: doesn't seem to work tho
[02:12:25] noethics: but instead of making my own requests programmatically i used an http client and connect to it with net sockets
[02:12:38] noethics: solegit.jpg
[02:12:45] goodcodeguy: has joined #ruby
[02:12:59] Aeyrix: I think you committed a crime tbh
[02:13:01] jcake: I feel like bad programming is an art in itself
[02:13:14] noethics: the fact im even writing tests is a miracle
[02:13:18] noethics: you can tell i care about the project
[02:13:35] bnagy: kinduff: where does this state machine code come from?
[02:13:48] kinduff: bnagy: https://github.com/pluginaweek/state_machine
[02:14:37] PlasmaStar: has joined #ruby
[02:14:41] varunwachaspati: has joined #ruby
[02:14:41] noethics: it sounds like pretty pointless to use a state machine if you're going to have logic that isn't part of a state
[02:14:49] noethics: just my 2cents
[02:15:00] blue_deref: has joined #ruby
[02:15:28] fujimura: has joined #ruby
[02:16:03] kinduff: noethics: but I'm transitioning my model thru different states
[02:16:21] noethics: kinduff, your state machine framework doesnt do that?
[02:16:40] kinduff: noethics: my state machine framework? what do you mean?
[02:16:52] noethics: kinduff, you're using some state machine implementation right?
[02:16:57] noethics: and you just have to implement the states?
[02:17:07] GriffinHeart: has joined #ruby
[02:17:20] kinduff: noethics: want to wrap around the transitions from state to state executing one method between them
[02:17:37] kinduff: noethics: like i'm trying to do here https://gist.github.com/kinduff/c2fba6cbbb3c3b0d723c#file-sns_state_machine-rb,
[02:19:39] bnagy: kinduff: why can't you do your logging in a simple around_transition method like in the readme?
[02:20:09] bnagy: in their activemodel example they have around_transition :benchmark
[02:20:19] kinduff: bnagy: yes, I will. It's not the problem tho.
[02:20:42] gix: has joined #ruby
[02:20:56] ogpastaling: has joined #ruby
[02:20:56] kinduff: bnagy: it's the same thing, I'm just adding the loggin directly instead of calling a method like :benchmark
[02:21:18] bnagy: so what's not working?
[02:22:01] kinduff: transition :ready => :pending_complete, do: :generate_order
[02:22:11] kinduff: the :generate_order method is not being called
[02:23:06] jpfuentes2: has joined #ruby
[02:24:10] Rubie: has joined #ruby
[02:24:19] paulcsmith__: has joined #ruby
[02:24:59] claws: has joined #ruby
[02:25:57] bnagy: k. Don't know.
[02:26:00] jhooker: has joined #ruby
[02:26:06] bnagy: you're not using it the way the doc is written
[02:26:17] baweaver: has joined #ruby
[02:26:32] bnagy: and I don't know why you're trying actions to transitions, because that's kind of not how state machines are supposed to work
[02:26:46] kinduff: bnagy: yeah, that's exactly my question
[02:26:50] bnagy: and I can't read their docs because once you meta something and make a DSL rdoc becomes incomprehensible
[02:27:16] kinduff: bnagy: well, thanks tho
[02:27:26] Asher: has joined #ruby
[02:27:39] mrsolow: has joined #ruby
[02:28:07] noethics: bnagy, how to find out if ListenAndServe is ready
[02:28:14] bnagy: imho just write it so that transitions just transition and work / logic happens in handlers
[02:28:31] bnagy: noethics: ww
[02:28:54] bnagy: this is #ruby
[02:29:21] cypher_: has joined #ruby
[02:30:29] mark[oz]: has joined #ruby
[02:35:00] Spami: has joined #ruby
[02:36:21] mark[oz]: has joined #ruby
[02:36:27] Yzguy: has joined #ruby
[02:37:05] iamjarvo_: has joined #ruby
[02:37:49] iamjarvo_: has joined #ruby
[02:38:12] paulcsmith__: has joined #ruby
[02:38:54] tubulife-: has joined #ruby
[02:39:14] blandflakes: has joined #ruby
[02:40:17] metallicrwr: has joined #ruby
[02:40:28] metallicrwr: how do I learn Ruby as my first language?
[02:41:00] RegulationD: has joined #ruby
[02:41:12] delianides: has joined #ruby
[02:41:14] noethics: short answer: dont, long answer: read a book
[02:41:16] bnagy: metallicrwr: you never programmed before?
[02:41:24] metallicrwr: bnagy: cept a little C
[02:41:46] bnagy: there's Learn To Program by Chris Pine but it's old
[02:41:55] mark[oz]: has joined #ruby
[02:41:57] bnagy: and there's zed shaw Ruby The Hard Way
[02:42:02] bnagy: both start from 0
[02:42:09] noethics: i think ruby is a bad starter language personally. you have a lot of "exotic" syntax, and types are muddy as hell.
[02:42:18] bnagy: zed's is well structured but some of the later ruby is not very idiomatic
[02:42:25] noethics: i think you could get a lot of bad habits
[02:42:40] noethics: but just my opinion
[02:42:49] noethics: if you need to learn it, then yeah definitely find a good book to read
[02:42:57] mozzarella: I'd say ruby is a great first language
[02:43:05] metallicrwr: bnagy: I'm to the point of "draw histogram on screen according to the frequency of how long words in said program's input were"
[02:43:08] bnagy: hardway is online, it's a set of exercises
[02:43:22] metallicrwr: Zed's stuff sucks
[02:44:12] noethics: imagine i recommended learning java first
[02:44:16] noethics: would i get crucified
[02:44:40] metallicrwr: noethics: ok should I just learn Java first then?
[02:44:45] metallicrwr: I want a beginner book in Java
[02:44:49] noethics: my opinion: yes
[02:44:56] noethics: this entire channel's opinion, i think: no
[02:44:57] shevy: go learn ruby
[02:44:58] mozzarella: uh, don't learn java
[02:45:07] shevy: why would you want to use java exactly
[02:45:31] noethics: it sets him up with great habits, good understanding of types, you know like 50 languages inherently because the syntax is widely used
[02:45:38] mozzarella: if you really, really, really need to use java, then use C# instead
[02:45:53] metallicrwr: but then hell why isn't there a beginner programming book in Ruby?
[02:45:54] noethics: C# is good too, though java is more widely used
[02:46:06] Aeyrix: metallicrwr: There is.
[02:46:08] Aeyrix: There's plenty.
[02:46:15] metallicrwr: Aeyrix: can you point me to a good one?
[02:46:19] Aeyrix: The problem is that Ruby lags behind in the academic fields, so it's not as widely used as it could be.
[02:46:39] metallicrwr: Aeyrix: so what? I'll write ALL language bindings
[02:46:39] noethics: metallicrwr, just saying but #ruby is obviously going to tell you to learn ruby first, and ##java is going to tell yu to learn java first
[02:46:42] Aeyrix: metallicrwr: Are you talking about learning Ruby from scratch?
[02:46:45] noethics: maybe you should look for an objective opinion
[02:46:48] Aeyrix: metallicrwr: wtf are you talking about
[02:46:51] shevy: metallicrwr the pickaxe is the classical intro-book
[02:46:58] metallicrwr: Aeyrix: yes from scratch, no programming experience whatsoever
[02:47:11] shevy: metallicrwr https://pragprog.com/book/ruby4/programming-ruby-1-9-2-0
[02:47:12] Aeyrix: ... so why are you talking about language bindings if you have no programming experience?
[02:47:20] Aeyrix: Anyone who doesn't link you to "Learn Ruby the Hard Way" is garbage.
[02:47:30] Aeyrix: http://learnrubythehardway.org/book/
[02:47:36] Aeyrix: >no programming experience
[02:47:37] shevy: learn ruby the hard way was written not by a rubyist but by a pythonist
[02:47:44] metallicrwr: Aeyrix: because I will later code bindings way late in a year or so
[02:47:52] Aeyrix: Zed Shaw was a rubyist until he discovered he hated Rails.
[02:47:55] Aeyrix: He wrote Mongrel.
[02:47:55] noethics: what's a rubyist
[02:47:57] shevy: yeah the traitor left
[02:47:58] Aeyrix: Among other things.
[02:48:02] shevy: and you promote him
[02:48:03] hoelzro: has joined #ruby
[02:48:04] Aeyrix: And you wonder why
[02:48:09] Aeyrix: Shaw hates you
[02:48:14] shevy: and who cares why?
[02:48:20] Aeyrix: idk you probably
[02:48:24] bnagy: Aeyrix: a lot of the ruby in hardway is not idiomatic
[02:48:25] shevy: you encourage him to pick up bad habits
[02:48:26] noethics: shevy, your fanboy is leaking
[02:48:33] shevy: noethics explain
[02:48:37] bnagy: in fact it's pythonic :)
[02:48:44] Aeyrix: Balderdash.
[02:48:49] noethics: shevy, calling osmeone who switched from rails/ruby or whatever a "traitor"
[02:48:51] Aeyrix: noethics: lol
[02:48:59] shevy: noethics yeah - he helps ruby how precisely?
[02:49:01] bnagy: in any case, hardway is a good beginner recommendation because the structure is good
[02:49:05] noethics: shevy, calling someone who prefers python or something a "not rubyist" and discrediting his work on ruby
[02:49:07] Aeyrix: bnagy: But for an absolute beginner do you disagree that it's a solid grounding material?
[02:49:07] shevy: noethics after drama queening it up
[02:49:11] Aeyrix: Ah, you don't. Okay. :)
[02:49:17] noethics: what does it matter how he helps ruby
[02:49:19] shevy: noethics yep, precisely - he is a python guy by heart; look at his coding style
[02:49:37] Aeyrix: Fuck me, I link a book and everyone pisses their pants.
[02:49:46] Aeyrix: metallicrwr: What are you doing, what are you intending to do?
[02:49:51] sevenseacat: let's get this under control. no-one is a 'traitor'
[02:49:54] dgutierrez1287: has joined #ruby
[02:49:54] bnagy: Aeyrix: I already recommended it above :P
[02:49:55] Aeyrix: I know Java, and I know Ruby.
[02:50:01] Aeyrix: bnagy: Oh, alright. :D
[02:50:28] claw: has joined #ruby
[02:50:36] metallicrwr: Aeyrix: I'm trying to learn programming to one day write a nanokernel. Right now I'm trying out Haiku (OS) and GNU Hurd
[02:50:43] mark[oz]: has joined #ruby
[02:51:03] Aeyrix: Okay so I've worked with operating systems at, well, an operating system level for years
[02:51:07] Aeyrix: but what the hell is a nanokernel
[02:51:10] Aeyrix: is that like a microkernel but smaller?
[02:51:11] bnagy: WAIT NOBODY SAY ANYTHING
[02:51:18] bnagy: ... let me go get popcorn brb
[02:51:22] dudedudeman: has joined #ruby
[02:51:27] Aeyrix: Oh, okay.
[02:51:44] Aeyrix: If you want to do that, learn C.
[02:51:48] baweaver: Aeyrix: You don't know what a nanokernel is?
[02:51:57] Aeyrix: baweaver: It sounded like a buzzword tbh.
[02:52:06] nhhagen: has joined #ruby
[02:52:14] noethics: Aeyrix, wow how noob r u didnt even no whats a nano kernel m8?
[02:52:14] baweaver: Next thing you'll tell me you don't know what a picokernel is
[02:52:20] metallicrwr: Aeyrix: my hypothesis is I must get started somewhere
[02:52:28] metallicrwr: C is not for beginners, I don't think
[02:52:31] Aeyrix: Yes it is.
[02:52:39] sevenseacat: can we stop the trolling now
[02:52:39] noethics: ruby is harder than C
[02:52:41] baweaver: depends on what they're beginning in
[02:52:46] shevy: noethics why
[02:52:54] Aeyrix: sevenseacat: Nobody is trolling.
[02:52:59] Aeyrix: Calm down, your j hass is leaking.
[02:53:02] baweaver: sevenseacat: sorry about that
[02:53:13] noethics: shevy, cause types arent a thing, the syntax isnt as intuitive as C languages, sideffects may be a huge problem in ruby but not in C
[02:53:15] metallicrwr: then erm...which book do I need to learn to learn C as my first language? The people in ##c keep on linking me to K&R and I don't want K&R
[02:53:18] stardiviner: has joined #ruby
[02:53:24] sevenseacat: 'wow how noob r u' is trolling, yes.
[02:53:25] Aeyrix: metallicrwr: Is there a C in Action? I forget.
[02:53:33] shevy: noethics total crap - ruby syntax is about a million times simpler than C
[02:53:34] Aeyrix: sevenseacat: It was @ me.
[02:53:40] lkba_: has joined #ruby
[02:53:40] shevy: Aeyrix and your reference to jhass is cheap
[02:53:44] sevenseacat: so let's just keep the ad hominem attacks away, and you can discuss whatever.
[02:53:46] noethics: uh brevity != simplicity
[02:53:55] Aeyrix: sevenseacat: zzzzzzzzz
[02:54:32] noethics: ruby is a sick language i just wouldn't want my kid learning it first
[02:54:34] shevy: well you can always write more verbose ruby code too :)
[02:54:45] bnagy: metallicrwr: https://os.inf.tu-dresden.de/fiasco/features.html <3
[02:54:53] baweaver: Haskell, then you really won't have to worry about side effects
[02:55:11] noethics: learn haskell instead
[02:55:16] Aeyrix: metallicrwr: If your intended end result is writing a nanokernel, you'll have to learn the low-level stuff at some point.
[02:55:19] shevy: side-effect free monads?
[02:55:30] Aeyrix: Learning C will teach you all the same programming fundamentals that learning Ruby will, except OOP.
[02:55:39] noethics: it will teach you more
[02:55:48] noethics: like, a lot more
[02:55:59] bnagy: C is a bad teaching language
[02:55:59] shevy: so how does he translate pointers in C to ruby
[02:56:03] noethics: though if you want to be numeta you should learn rust
[02:56:12] baweaver: noethics: https://xkcd.com/378/
[02:56:16] baweaver: always relevant
[02:56:40] Aeyrix: shevy: Why is that relevant?
[02:57:10] shevy: Aeyrix you wrote that C is for beginners
[02:57:16] tuelz1: has joined #ruby
[02:57:20] adefa: has joined #ruby
[02:57:22] Aeyrix: Sure it is.
[02:57:34] Aeyrix: C isn't hard.
[02:57:46] shevy: I guess that is why perl, python, php and ruby became popular
[02:57:56] Aeyrix: "C isn't popular."
[02:57:59] Aeyrix: - shevy, 2015
[02:57:59] jhooker: has joined #ruby
[02:58:16] shevy: ah because people who use these languages, automatically know or use C?
[02:58:24] Aeyrix: You know what
[02:58:25] Aeyrix: I give up.
[02:58:27] Aeyrix: Sorry, metallicrwr.
[02:58:33] Aeyrix: I tried to help but apparently I'm just wrong.
[02:58:47] shevy: metallicrwr got lots of different opinions in so far
[02:59:15] baweaver: Funny how sore some people can get over opinions
[02:59:16] noethics: just learn haskell and report your learnings back here in a few days
[02:59:26] shevy: he is already destined to go to C anyway
[02:59:42] noethics: i haven't heard a good argument for learning ruby first
[02:59:43] shevy: e. g. his nanokernel reference
[02:59:54] Aeyrix: shevy: are you just predetermined to disagree with me?
[02:59:56] noethics: just lots of reasons not to
[03:00:06] Aeyrix: you're saying "oh C isn't for beginners don't do it"
[03:00:11] shevy: Aeyrix it is his use case
[03:00:12] Aeyrix: and now "oh but he's gonna go to C anyway"
[03:00:16] bnagy: C is not for beginners
[03:00:21] Aeyrix: [ twitching intensifies ]
[03:00:42] willharrison: has joined #ruby
[03:00:43] noethics: C is like .. you're gonna have a bad time for a bit but when it clicks you won the internet
[03:00:49] noethics: with ruby you'll be like ya i think im doing this right
[03:00:58] Aeyrix: This channel makes me want to go back to writing Python.
[03:01:19] kinduff: has joined #ruby
[03:01:19] kinduff: has joined #ruby
[03:01:24] shevy: nobody recommended python to metallicrwr so far though
[03:01:34] noethics: python is oldmeta
[03:01:40] Aeyrix: Because I never got there, I was too busy arguing with *you* about stupid semantics.
[03:01:42] bnagy: python is a good teaching language :`(
[03:01:52] Aeyrix: Python is a good teaching language only because of its use in academia.
[03:01:53] bnagy: ruby isn't _bad_ though
[03:02:02] noethics: by that logic go with haskell
[03:02:12] starfox_sf: has joined #ruby
[03:02:13] bnagy: there are a lot more things about python that make it good for teaching
[03:02:16] Aeyrix: I'd seriously venture that if Ruby could compete with things like ScyPy and NumPy, it'd be taught a lot more frequently.
[03:02:28] noethics: i think so too
[03:02:29] mark[oz]: has joined #ruby
[03:02:34] Aeyrix: What, like its complete lack of syntactic hinting?
[03:02:40] bnagy: using the language is quite separate from using it for teaching
[03:02:43] Aeyrix: "Where does this block end? Who knows! Better follow the indenting."
[03:03:04] Aeyrix: Do you know how hard it is to implement a code folding processor for Python?
[03:03:09] Aeyrix: You can't just look for } or 'end'.
[03:03:22] bnagy: cool story. Irrelevant.
[03:03:24] Aeyrix: That alone says something about Python.
[03:03:39] shevy: didn't guido once write that if he were to redo python, he'd get rid of the mandatory indent?
[03:03:40] noethics: i dont see how any weakly typed language wins out on a strongly typed language for learning
[03:03:49] Aeyrix: shevy: IIRC yes.
[03:03:51] bnagy: I hate python, btw, I'm just saying it's a good teaching language
[03:04:02] Aeyrix: bnagy: I both agree and disagree.
[03:04:11] bnagy: you can do functional, OO, it has explicit self (ew) to make receivers clear, it enforces formatting
[03:04:26] shevy: bnagy I like the ew there
[03:04:26] noethics: bnagy, youre go is showing
[03:04:31] bnagy: and you don't have to worry about the memory model yet
[03:04:34] Aeyrix: I agree because it's a high level language. I disagree because its formatting conventions are something that was guaranteed to have come up after a bender.
[03:04:47] jpfuentes2: has joined #ruby
[03:04:48] Aeyrix: selfselfselfselfselfself.self
[03:04:56] Aeyrix: mandatory indenting
[03:05:02] noethics: how does not worrying about the memory model equate to learning good coding practises
[03:05:04] Trynemjoel: has joined #ruby
[03:05:14] bnagy: it's too much detail too soon
[03:05:48] bnagy: there are, actually, people with PhDs in this stuff, you know it's not like everyone just makes up CS education as they go along
[03:05:53] noethics: it's like yeah let's just get this coad running, who cares about how inefficient it is vs. damn im getting segfaults all day i might have to actually learn how computers work
[03:06:13] shevy: well, it's an additional layer of complexity when you have to worry about segfaults
[03:06:25] Aeyrix: noethics: Programming 101 students couldn't even approach caring about efficiency unless it's an assignment scope criterion.
[03:06:38] noethics: Aeyrix, yeah who's fault is that
[03:06:40] Aeyrix: That said, the programming 101 course at my university teaches C.
[03:06:50] noethics: RUBYIST PROPAGANDA
[03:06:52] Aeyrix: So that's why I fail to see how C isn't a beginner's language.
[03:07:33] shevy: they could switch to java :>
[03:07:37] mark[oz]: has joined #ruby
[03:07:42] Aeyrix: Java's ok.
[03:07:53] noethics: i think java is dope for learning too
[03:07:55] bnagy: java is the overwhelming choice :(
[03:08:01] shevy: guess so... I just dislike it's verbosity
[03:08:12] Aeyrix: I don't mind it.
[03:08:17] Aeyrix: But I can totally see how some people would hate it.
[03:08:23] baweaver: I have a near pathological hatred of Java
[03:08:27] shevy: baweaver haha :D
[03:08:27] noethics: the verbosity is a non-issue with good vim macros or just any ide
[03:08:49] baweaver: noethics: that's crap for a reason.
[03:09:00] baweaver: Why not just get rid of the verbosity period?
[03:09:01] noethics: java taught me how to abuse boilerplate
[03:09:08] bnagy: Hadoop! Solve problems you only wish you had, as inefficiently as possible!
[03:09:09] baweaver: macros are a bad patch to a worse problem
[03:09:18] noethics: baweaver, not sure i agree
[03:09:22] baweaver: Can they be used well? Yes
[03:09:25] noethics: the ONLY reason people hate on java is the verbosity
[03:09:34] shevy: noethics and XML for ant-based projects!
[03:09:34] baweaver: noethics: bull
[03:09:37] bnagy: that's not the only reason
[03:09:41] noethics: no one uses ant
[03:09:44] noethics: gradle is numeta
[03:09:57] noethics: or the "community is stale"
[03:10:00] noethics: tell that to jclouds
[03:10:07] noethics: cassandra, hadoop
[03:10:11] shevy: https://ant.apache.org/manual/using.html look at the beauty! <script ... >task1.setFoo("bar");</script> now your java will become even more verbose than before
[03:10:19] hahuang65: has joined #ruby
[03:10:19] noethics: shevy, yeah no one uses ant
[03:10:21] baweaver: XML, Maven, OO to a fault, No functional concepts, design pattern hell, folder nightmares, I can go on for a while
[03:10:25] noethics: people use gradle
[03:10:40] noethics: baweaver, java has lambdas
[03:10:51] noethics: XML isn't a thing anymore
[03:10:53] baweaver: J8 has a basterdized version, yes.
[03:11:00] dudedudeman: has joined #ruby
[03:11:09] baweaver: noethics: Work enterprise
[03:11:11] noethics: OO to a fault is just some rhetoric i think
[03:11:27] noethics: design pattern hell, or "training for the real world"
[03:11:40] noethics: folder nightmares aka who uses folders
[03:11:48] Rubie: has joined #ruby
[03:11:50] noethics: the package system is among the best imo
[03:11:56] dhosterman: has left #ruby: ("WeeChat 1.2")
[03:12:16] baweaver: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition
[03:12:25] baweaver: that's far more common than you'd like to believe
[03:12:32] shevy: that URL alone gives me the shivers
[03:12:37] noethics: lol baweaver
[03:12:47] baweaver: even if it is satire, there's a point to be made there
[03:12:49] noethics: i've done EE java
[03:12:54] noethics: it's not anything like that
[03:12:56] shevy: "FizzBuzz is a game that has gained in popularity as a programming assignment to weed out non-programmers during job interviews."
[03:13:10] shevy: now that dude is even funnier than tenderlove
[03:13:16] tuelz2: has joined #ruby
[03:13:20] shevy: https://github.com/tenderlove/phuby
[03:13:54] Aeyrix: Features/Problems:
[03:13:54] shevy: lol the installation instructions rule
[03:13:59] braincrash: has joined #ruby
[03:14:17] baweaver: You must be quite fortunate then. Hadoop is a spawn of satan and I'll be glad never to touch it again
[03:14:23] noethics: i think it's actually cool to hate java
[03:14:32] noethics: baweaver, have you ever even used java, be honest
[03:14:43] baweaver: ....did you not read any of that?
[03:14:48] noethics: used it as in actually written a full codebase
[03:14:48] nickfausnight: I've heard about fizzbuzz being used in programming interviews but I've never actually met anyone who's actually been asked in an interview to solve it. I'm calling conspiracy
[03:14:55] mark[oz]: has joined #ruby
[03:15:00] baweaver: Hadoop, yes
[03:15:38] baweaver: as well as various other rest services with Jersey, Dagger, Solr, HBase, and a number of other fun ones.
[03:15:56] baweaver: nickfausnight: I've seen it used before
[03:16:00] noethics: hbase is among the most performant dbs
[03:16:01] metallicrwr: Aeyrix: can you give me a link to a PDF book that's not learn ruby the hard way?
[03:16:11] baweaver: hbase I don't mind
[03:16:12] n80: has joined #ruby
[03:16:15] Aeyrix: Any book at random, or a specific book?
[03:16:16] baweaver: hadoop was horrid
[03:16:38] metallicrwr: Aeyrix: any book at random as long as its for beginners
[03:16:38] noethics: baweaver, unless you have someone looking over your shoulder you could always use jruby :3
[03:16:40] baweaver: considering linking to illegal downloads is frowned upon on channel
[03:17:01] baweaver: Also rewrote the entire thing two times in Scala and Clojure respectively to make a point
[03:17:20] TommyTheKid: has joined #ruby
[03:17:20] noethics: baweaver, most enterprise is all scala now
[03:17:22] baweaver: Nope, has to be Java. People only know Java, and no one wants to waste time learning
[03:17:28] noethics: for like, nuschool java implementors
[03:17:45] noethics: plus you can integrate scala with java easily
[03:17:45] baweaver: Scala I can stand.
[03:18:06] baweaver: All the cool kids use Frege though
[03:18:08] metallicrwr: baweaver: if its copyrighted so I can't have it I'll go to the book store tomorrow if you suggest a good beginners book
[03:18:14] baweaver: (Haskell on JVM)
[03:18:32] noethics: when someone tells me they use haskell i just say oh nice i use lua
[03:18:35] noethics: then theyre like o...
[03:18:36] baweaver: metallicrwr: Eloquent Ruby
[03:18:37] Aeyrix: metallicrwr: http://mislav.uniqpath.com/poignant-guide/book/chapter-1.html
[03:18:53] baweaver: I know Lua as well
[03:19:00] baweaver: Mainly for minecraft turtles though
[03:19:03] shevy: metallicrwr https://pragprog.com/book/ruby4/programming-ruby-1-9-2-0
[03:19:07] noethics: i joke around when i say that
[03:19:09] noethics: i hardly use lua
[03:19:15] baweaver: Tried to remake Chef in Lua for kicks once, only got to the outline though
[03:19:16] noethics: it's just the complete opposite of haskell
[03:19:39] baweaver: (I've only kicked the edges of it)
[03:19:47] metallicrwr: shevy: can I read that book without buying it? is it for free online?
[03:19:50] noethics: if i said cobol they wouldnt believe me
[03:20:07] noethics: lua is the closest thing to a real procedural scripting language that is believable
[03:20:18] baweaver: noethics: I know COBOL and RPG
[03:20:38] baweaver: Requirement at school, companies bought the program
[03:20:39] conanza: has joined #ruby
[03:20:40] jpstokes: has joined #ruby
[03:20:46] baweaver: and insisted on maintaining their ruddy legacy systems
[03:21:07] baweaver: COBOL was at least tolerable compared to RPG. Danged fixed column programming
[03:21:14] noethics: yeaaaah people pay a lot for cobol progr ammers
[03:21:17] atomi: has joined #ruby
[03:21:25] noethics: i dont have the sanity though
[03:21:42] baweaver: You couldn't pay me enough
[03:21:57] baweaver: this is a thing: http://azac.pl/cobol-on-wheelchair/
[03:22:27] shevy: metallicrwr hmm I don't think it is available free but we live in the torrent age :P I bought it back then as paper hardcopy because I love traditional books
[03:22:51] noethics: honestly the only thing i do now is audio books
[03:22:56] noethics: aint no one got time for reading
[03:23:15] fgo: has joined #ruby
[03:23:24] Guest71779: has joined #ruby
[03:23:31] noethics: though it's rare to find good programming audiobooks
[03:23:38] last_staff: has joined #ruby
[03:23:38] noethics: as you can't really follow along with code examples
[03:23:46] LMity: has joined #ruby
[03:24:02] shevy: well in fairness, people still read a lot these days, just that the medium changed. like people in the past sitting in a cafeteria, drinking coffee and reading the newspaper
[03:24:02] baweaver: I read like a madman. Safari books online is a gold mine
[03:24:16] shevy: nowadays they use their tiny smartphones
[03:24:25] noethics: sometimes im skeptical though
[03:24:29] noethics: a lot of people say they read a lot
[03:24:35] noethics: it's like wellll do you reaaally or are you just saying that
[03:24:41] noethics: reading reddit and 4chan doesnt count
[03:25:19] webguynow: has joined #ruby
[03:27:53] claptor: has joined #ruby
[03:27:58] baweaver: I have to learn on the fly for a lot of things anymore
[03:29:13] shevy: new programming languages?
[03:29:25] baweaver: on occasion
[03:29:44] baweaver: like I learned Spark this last weekend to present on it in front of the senior developers here
[03:30:10] baweaver: Already knew a handful of Scala so wasn't hard
[03:30:31] gianlucadv: has joined #ruby
[03:30:45] shevy: "With SPARK 2014, contracts are added to the code to provide additional information regarding what a subprogram actually does."
[03:31:11] baweaver: shevy: https://spark.apache.org/
[03:31:41] shevy: thought you were resurrecting Ada
[03:32:02] yfeldblum: has joined #ruby
[03:32:21] shevy: well, that spark-apache syntax indeed looks pythonic
[03:32:36] shevy: I already wondered why you would be using "procedure Increment (X : in out Counter_Type)"
[03:33:32] maquilas: has joined #ruby
[03:33:41] maquilas: I have this small project I'm working on, and I found that I need to generate provable fair random numbers from a given string seed, so whoever enters the seed will get the exact same number any ideas of how to do this? if it's code it'll be awesome to have it in Ruby, or if it's from online site it'll be awesome if there's an API for it.
[03:33:57] pepelui: has joined #ruby
[03:34:02] vdamewood: has joined #ruby
[03:34:13] freerobby: has joined #ruby
[03:34:38] darkf: has joined #ruby
[03:34:57] bnagy: maquilas: is there any security sensitivity to the output?
[03:35:18] bnagy: like, is it bad if I can look at some of the numbers and then predict all future numbers from then on, for example?
[03:35:44] bnagy: ok then you want a CSPRNG, don't use the ruby builtin or you'll die
[03:36:04] mark[oz]: has joined #ruby
[03:37:13] bnagy: how secure are we talking? Good enough for government work or "my billion dollar casino relies on this" ?
[03:37:14] ramfjord: has joined #ruby
[03:37:50] bnagy: you can feed a good block cipher like AES 128 with the PKDF result from the password
[03:38:15] maquilas: bnagy, No where near billion dollars :P but let's just say secure enough for a smallish "casino"
[03:38:18] bnagy: it's still only as good as the password, but using scrypt or something will slow down attempts to brute force the seed
[03:38:19] maquilas: Online casino
[03:38:31] bnagy: ok. Don't do this in ruby.
[03:38:37] drewdavis: has joined #ruby
[03:38:47] bnagy: Get random from your OS
[03:38:54] maquilas: /dev/urandom?
[03:39:04] bnagy: but you can't seed that from a user input
[03:39:09] shevy: billion dollar casino :)
[03:39:23] jfarmer: bnagy Ruby has SecureRandom
[03:39:45] jfarmer: http://ruby-doc.org/stdlib-2.1.2/libdoc/securerandom/rdoc/SecureRandom.html
[03:39:48] bnagy: ruby core can't find their asses with two hands when it comes to crypto
[03:40:20] jfarmer: And some random person on #ruby is likely to do better by interacting directly with low-level sources of randomness?
[03:40:29] bnagy: well the same
[03:40:38] Aeyrix: bnagy: Doesn't SecureRandom rely on OpenSSL random or urandom?
[03:40:39] Aeyrix: IIRC it does.
[03:40:42] jfarmer: Then maybe your recommendation shouldn't be so emphatic
[03:40:45] Aeyrix: Yes, it does.
[03:40:48] bnagy: openssl is bad
[03:40:58] bnagy: just reading urandom is fine
[03:41:05] Aeyrix: Ruby's SecureRandom uses urandom.
[03:41:06] bnagy: but you can do that without a thin wrapper for it
[03:41:28] bnagy: maquilas: anyway, none of that will work if you need to seed :/
[03:41:29] Ox0dea: has joined #ruby
[03:41:45] bnagy: which is kind of a bad idea
[03:41:52] fabrice31: has joined #ruby
[03:42:49] Ox0dea: Aeyrix: SecureRandom tries to use OpenSSL first.
[03:43:23] bnagy: and it has no API for telling you what it's doing or configuring what you want to use as the source
[03:43:29] Aeyrix: Ox0dea: Yes, but OpenSSL::Random isn't loaded by default.
[03:44:18] Aeyrix: https://takethis.link/74rzo7
[03:44:28] jfarmer: maquilas Why do you need your random number to be seedable?
[03:44:40] maquilas: https://techblog.bitzino.com/2012-06-30-provably-fair-shuffling-through-cryptography
[03:44:43] bnagy: maquilas: anyway, bcrypt the password, use it to seed a "good" userland CSPRNG
[03:45:05] jenrzzz: has joined #ruby
[03:45:05] bnagy: I'd be inclined to think AES-128 in a stream mode should be good enough
[03:45:24] bnagy: but if you don't have strong passwords you're going to ge owned
[03:45:33] nickfausnight: Do you have to use a seed? What do BTC casinos do to prove their fairness?
[03:46:38] bnagy: s/bcrypt/scrypt/ although meh
[03:46:52] bnagy: scrypt better
[03:47:02] jfarmer: bnagy Who is talking about passwords?
[03:48:05] bkxd: has joined #ruby
[03:48:23] T3: has joined #ruby
[03:49:13] dudedudeman: has joined #ruby
[03:51:08] mrsolo: has joined #ruby
[03:51:28] djbkd: has joined #ruby
[03:53:06] nhhagen: has joined #ruby
[03:53:48] MuffinPimp: has joined #ruby
[03:54:26] nvll1: has joined #ruby
[03:54:31] monsieurp: has joined #ruby
[03:54:32] deavidsedice: has joined #ruby
[03:54:50] GriffinHeart: has joined #ruby
[03:54:54] pepperbreath: has joined #ruby
[03:56:09] ex0ns: has joined #ruby
[03:57:01] diegok: has joined #ruby
[03:57:33] datanoise: has joined #ruby
[03:58:38] adefa: has joined #ruby
[03:59:05] BiHi: has joined #ruby
[03:59:14] atomi: has joined #ruby
[03:59:53] dyce: has joined #ruby
[04:00:49] BotanicalVomit: has joined #ruby
[04:01:35] gix: has joined #ruby
[04:03:01] diegok: has joined #ruby
[04:04:39] Mia: has joined #ruby
[04:04:39] Mia: has joined #ruby
[04:05:32] eggoez: has joined #ruby
[04:05:44] patteh: has joined #ruby
[04:06:40] mark[oz]: has joined #ruby
[04:07:14] blandflakes: has joined #ruby
[04:07:58] loop3r: has joined #ruby
[04:10:01] j4cknewt: has joined #ruby
[04:10:27] tjbiddle: has joined #ruby
[04:14:06] havenwood: has joined #ruby
[04:14:41] psyprus: has joined #ruby
[04:14:45] tonini: has joined #ruby
[04:15:00] braincra-: has joined #ruby
[04:17:05] afrianska: has joined #ruby
[04:19:12] roolo: has joined #ruby
[04:19:34] Soda: has joined #ruby
[04:21:10] aaeron: has joined #ruby
[04:24:30] iamninja: has joined #ruby
[04:25:10] swgillespie: has joined #ruby
[04:30:09] RegulationD: has joined #ruby
[04:31:33] Oog: has joined #ruby
[04:32:51] dabradley: has joined #ruby
[04:33:17] bruno-: has joined #ruby
[04:36:36] Ox0dea: shevy: Nobody SYN'd.
[04:36:51] shevy: he shocked me when he write that he is blind!
[04:37:25] baweaver: I'd tell you a UDP joke
[04:37:31] baweaver: but you probably wouldn't get it
[04:38:05] fgo: has joined #ruby
[04:38:17] Ox0dea: baweaver: Pipe's half empty, eh?
[04:39:26] shevy: don't get a beaver to talk about pipes
[04:39:33] shevy: they are experts when it comes to tunneling through
[04:39:57] baweaver: ssh is my specialty
[04:40:02] baweaver: though I prefer birch
[04:41:34] Ox0dea: It seems Elixir lets you use & to create an "anonymous identity function" out of anything.
[04:42:01] Ox0dea: >> class Object; def to_proc; proc { self } end end; [1, 2, 3].map(&0)
[04:42:02] ruboto: Ox0dea # => [0, 0, 0] (https://eval.in/375322)
[04:42:05] Ox0dea: I want it.
[04:42:35] mozzarella: better than the &proc stuff we got
[04:42:48] Ox0dea: mozzarella: Isn't it pretty much the same?
[04:42:55] Ox0dea: Elixir just takes the thing to its logical conclusion.
[04:44:56] mozzarella: in ruby you'd say "call this on the object", whereas in elixir you'd say "pass this to the function"
[04:45:36] mozzarella: the elixir way is more versatile in my opinion
[04:45:39] VinnyBoy: has left #ruby: ("Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is")
[04:45:47] hahuang65: has joined #ruby
[04:48:23] doctorly: has joined #ruby
[04:48:48] skade: has joined #ruby
[04:50:06] Diabolik: anyone have any last minute advice for a rails interview?
[04:50:30] mrsolo: has joined #ruby
[04:50:32] baweaver: Diabolik: What level?
[04:50:42] baweaver: also, #RubyOnRails
[04:50:49] baweaver: would probably be a better source of info
[04:51:01] mark[oz]: has joined #ruby
[04:51:24] Palmer11: has joined #ruby
[04:51:36] Aeyrix: @Diabolik: Don't mention Django.
[04:51:43] ledestin: has joined #ruby
[04:51:54] car: has joined #ruby
[04:52:30] harlen: tell them sinatra is like rails but without the overhead.
[04:52:50] shevy: my advice
[04:52:54] Aeyrix: Loving it.
[04:52:57] varunwachaspati: has joined #ruby
[04:52:58] shevy: Diabolik don't listen to these people here!!!
[04:53:30] shevy: do you have examples to showcase to them Diabolik?
[04:53:41] GriffinHeart: has joined #ruby
[04:53:49] harlen: tell them you rails using grape with an nginx proxy serving public/static/ as the front end.
[04:54:11] revath: has joined #ruby
[04:54:44] baweaver: Without knowing the level I'd guess Junior. Do you have the description open?
[04:55:24] Diabolik: its ruby/rails
[04:55:29] Diabolik: MY PRIME TABLE APP
[04:55:38] Diabolik: that's what it was for
[04:55:48] Aeyrix: You have a rails app to show them, right?
[04:56:03] Aeyrix: Pick your two best ones.
[04:56:06] Aeyrix: Only mention those.
[04:56:11] Aeyrix: If they ask for any others, you have others.
[04:56:14] Diabolik: yes baweaver
[04:56:22] Aeyrix: But if you throw fifty at them they'll be pretty tired by the time you even start explaining the third.
[04:56:26] nhhagen: has joined #ruby
[04:56:35] baweaver: Make sure to brush up on Javascript as it'll probably come up.
[04:56:37] Diabolik: https://www.dropbox.com/s/bls2ue4d5vc01y4/Screenshot%202015-06-04%2005.56.30.png?dl=0
[04:56:40] Diabolik: baweaver its in 2 hours
[04:56:59] Diabolik: but i will do my best
[04:57:19] Dreamer3: has joined #ruby
[04:57:41] Obfuscate: has joined #ruby
[04:58:54] Diabolik: oh by the way shevy
[04:58:54] jenrzzz: has joined #ruby
[04:58:59] Diabolik: what are the negatives of minitest
[04:59:06] Diabolik: i need to do a compare and contrast
[04:59:14] Diabolik: so far i have that rspec is better cli wise
[04:59:28] doctorly: has joined #ruby
[05:00:06] car: has joined #ruby
[05:00:37] baweaver: zenspider writes parts of minitest, there's a neg ;)
[05:01:22] Diabolik: i literally put down that one of my friends is on the core rspec team
[05:01:25] Diabolik: as a reason why i use it
[05:01:29] Diabolik: but that sounds facetious
[05:01:49] baweaver: ACTION shrugs
[05:01:53] baweaver: I have friends on the Pry team
[05:02:25] baweaver: though I use it because it's better than irb by a landslide
[05:02:34] shevy: I have to admit that I am a rather lazy tester, when I can get away with minimal testing, I instantly go that way
[05:02:57] shevy: Diabolik well one negative is... it takes you more time! :)
[05:02:59] baweaver: http://tenderlovemaking.com/2015/01/23/my-experience-with-minitest-and-rspec.html
[05:03:15] doctorly: has joined #ruby
[05:03:43] Diabolik: shevy did you see
[05:03:44] Diabolik: http://dev.mensfeld.pl/2015/06/empty-vs-blank-vs-any-why-you-should-not-use-any-to-test-if-theres-anything-in-the-array/
[05:03:55] OrbitalKitten: has joined #ruby
[05:04:00] snappahead: has joined #ruby
[05:04:03] shevy: sorry that is rails world right?
[05:04:06] shevy: I never used .blank?
[05:04:12] Oog: has joined #ruby
[05:04:14] Diabolik: nope its ruby
[05:04:28] baweaver: present is rails
[05:04:41] shevy: >> "abc".blank?
[05:04:42] ruboto: shevy # => undefined method `blank?' for "abc":String (NoMethodError) ...check link for more (https://eval.in/375329)
[05:04:44] harlen: is datamapper really still alive and worth learning?
[05:04:56] olegtc: has joined #ruby
[05:05:04] doctorly: has joined #ruby
[05:05:16] harlen: used it throwing something quick together in grape. nothing complex. but seems lacking in activity/updates. i wonder if there are better choices for fast/minimal?
[05:05:18] noethics: has joined #ruby
[05:05:49] revath1: has joined #ruby
[05:06:37] shevy: tenderlove is so funny
[05:06:40] shevy: "My mind spins off in to thoughts like ?I wonder how RSpec works??, and ?I wonder what my cat is doing??"
[05:07:02] x0F: has joined #ruby
[05:08:15] northfurr: has joined #ruby
[05:09:15] stardiviner: has joined #ruby
[05:10:50] hasB4K: has joined #ruby
[05:10:50] hasB4K: has joined #ruby
[05:10:59] simi: has joined #ruby
[05:11:09] randomizer: has joined #ruby
[05:13:15] Cache_Money: has joined #ruby
[05:15:18] A205B064: has joined #ruby
[05:15:21] mark06: has joined #ruby
[05:16:39] mark[oz]: has joined #ruby
[05:17:09] doctorly: has joined #ruby
[05:19:17] atomi: has joined #ruby
[05:19:47] bkxd: has joined #ruby
[05:22:39] mark06: has left #ruby: ("http://pidgin.renatosilva.me - Pidgin++")
[05:23:17] aaeron: has joined #ruby
[05:23:49] Diabolik: http://i.imgur.com/qrTK7Zt.jpg
[05:23:56] Diabolik: hackers aren't even trying any more according to CSI Cyber
[05:24:01] aaeron_: has joined #ruby
[05:25:22] mark[oz]: has joined #ruby
[05:25:28] random: has joined #ruby
[05:25:33] hahuang65: has joined #ruby
[05:25:43] Ox0dea: >> 22945.to_s(30)
[05:25:44] ruboto: Ox0dea # => "pep" (https://eval.in/375333)
[05:25:53] Ox0dea: Diabolik: Looks like the Python guys are behind the hack.
[05:26:09] djbkd: has joined #ruby
[05:26:29] djbkd: has joined #ruby
[05:28:26] yardenbar: has joined #ruby
[05:28:32] fusillicode: has left #ruby: ()
[05:29:27] sandelius: has joined #ruby
[05:29:51] lxsameer: has joined #ruby
[05:30:02] haraoka: has joined #ruby
[05:30:03] maqueli: has joined #ruby
[05:34:06] yfeldblum: has joined #ruby
[05:35:50] skade: has joined #ruby
[05:36:49] tagrudev: has joined #ruby
[05:37:17] TripleK: has joined #ruby
[05:37:36] dgutierrez1287: has joined #ruby
[05:38:48] Ox0dea: has left #ruby: ("WeeChat 1.2-rc1")
[05:38:58] michael_mbp: has joined #ruby
[05:39:28] TripleK: What do you think of my site? http://www.triplek.com
[05:39:42] Aeyrix: Is that work-safe?
[05:40:24] TripleK: If your work allows gun related stuff then yes
[05:40:31] TripleK: It's not porn or anything gory
[05:40:37] djbkd_: has joined #ruby
[05:40:44] mrsolo: has joined #ruby
[05:40:44] sevenseacat: so how does it relate to ruby?
[05:41:27] TripleK: Maybe it could be improved in rails? :)
[05:41:38] sevenseacat: not a good answer.
[05:41:47] sevenseacat: please don't advertise here anymore.
[05:41:49] jack_rabbit: has joined #ruby
[05:42:00] TripleK: I'm not advertising
[05:42:17] TripleK: Please look up the definition of advertising
[05:42:47] Aeyrix: mods = btfo
[05:42:53] sevenseacat: you're not here in an attempt to get us to look at your site?
[05:43:22] sevenseacat: I'm tired and grumpy and not in the mood for word games.
[05:43:28] TripleK: I'm here to get judged on the site for its aesthetics and user experience
[05:43:34] sevenseacat: so, not related to ruby at all
[05:43:45] sevenseacat: don't advertise here anymore.
[05:43:55] TripleK: I don't care if you buy something or not... I am not here to sell anyone anything
[05:44:38] tubuliferous_: has joined #ruby
[05:44:57] bkxd: has joined #ruby
[05:45:36] TripleK: It is related to ruby in the sense that maybe it could be improved in rails. But you're a bit arrogant and somewhat birdbrained to not realize this
[05:45:49] sevenseacat: TripleK: don't be rude.
[05:47:34] TripleK: I came here for an honest opinion and you're being nothing but disrespectful
[05:47:38] adefa: has joined #ruby
[05:47:51] Aeyrix: >trying this hard
[05:48:16] sevenseacat: if I was being disrepectful, I would have banned you the moment you posted your URL. I simply asked you not to do that.
[05:48:39] sevenseacat: I even said please!
[05:48:51] harlen: i looked at your site and it has nothing to do with ruby at all. go on. kick. :)
[05:48:57] Aeyrix: #ruby in a nutshell.
[05:49:29] TwinkleHood: has joined #ruby
[05:50:27] sevenseacat: Aeyrix: you started this.
[05:50:54] psye: has joined #ruby
[05:51:31] harlen: by asking if it was work safe?
[05:51:38] Aeyrix: Apparently so.
[05:51:48] harlen: fair call, the domainame sounds like it could be some kind of prophylactic
[05:52:35] harlen: ACTION backs away from the grumpy sevenseacat.
[05:52:52] sevenseacat: don't call for mod attention if you don't want mods to pay attention.
[05:53:11] shevy: harlen cats have razor-sharp claws, you should not mess with them
[05:55:47] mengu: has joined #ruby
[06:00:19] mark[oz]: has joined #ruby
[06:01:36] Rubie: has joined #ruby
[06:02:18] sevenseacat: certainty: bonan matenon
[06:02:43] multi_io: has joined #ruby
[06:03:18] certainty: sevenseacat: good morning to you too
[06:04:16] hal_9000_: has joined #ruby
[06:04:26] Akagi201: has joined #ruby
[06:04:44] revath: has joined #ruby
[06:05:38] certainty: ACTION has watched an older talk of sandi metz yesterday. "Less". I'm always amazed about how clear cut her thoughts are.
[06:06:13] afrianska: has joined #ruby
[06:06:17] Brozo: has joined #ruby
[06:07:01] pengin: has joined #ruby
[06:07:11] djbkd: has joined #ruby
[06:07:51] chinmay_dd: has joined #ruby
[06:09:12] Brozo: has joined #ruby
[06:09:26] codecop: has joined #ruby
[06:10:16] bayed: has joined #ruby
[06:11:23] randomizer: has joined #ruby
[06:12:38] Oog: has joined #ruby
[06:12:47] abuzze: has joined #ruby
[06:12:57] ahmetkapikiran: has joined #ruby
[06:14:37] existensil: has joined #ruby
[06:17:36] A205B064: has joined #ruby
[06:18:29] crus: has joined #ruby
[06:19:01] RegulationD: has joined #ruby
[06:20:08] rht: has joined #ruby
[06:21:28] mrsolo: has joined #ruby
[06:23:37] ogpastaling: has joined #ruby
[06:23:59] revath1: has joined #ruby
[06:26:38] afrianska: has joined #ruby
[06:30:26] choke: has joined #ruby
[06:30:32] sleungcy: has joined #ruby
[06:30:33] XThief: has joined #ruby
[06:32:24] djbkd: has joined #ruby
[06:33:32] jenrzzz: has joined #ruby
[06:33:57] revath: has joined #ruby
[06:34:04] fluter: has joined #ruby
[06:34:25] hal_9000_: has joined #ruby
[06:35:07] postmodern: has joined #ruby
[06:36:04] Scroff: has joined #ruby
[06:37:40] mdz_: has joined #ruby
[06:38:05] riotjones: has joined #ruby
[06:38:25] bigmac_: has joined #ruby
[06:42:01] fluter: has joined #ruby
[06:45:13] Obfuscate: has joined #ruby
[06:45:22] msgodf: has joined #ruby
[06:46:43] allomov: has joined #ruby
[06:46:45] starfox_sf: has joined #ruby
[06:46:59] mark[oz]: has joined #ruby
[06:47:43] Musashi007: has joined #ruby
[06:48:19] IanVorn: has joined #ruby
[06:48:49] gauke: has joined #ruby
[06:48:56] pyon: has joined #ruby
[06:49:20] skade: has joined #ruby
[06:49:50] cryptarium: has joined #ruby
[06:50:16] afrianska: has joined #ruby
[06:50:56] fabrice31: has joined #ruby
[06:51:47] sleungcy: has joined #ruby
[06:51:55] TwinkleHood: has joined #ruby
[06:52:20] sleungcy: has joined #ruby
[06:52:23] Ilyes512: has joined #ruby
[06:52:46] sleungcy: has joined #ruby
[06:53:13] datanoise: has joined #ruby
[06:53:21] vire: has joined #ruby
[06:55:46] fp-: has joined #ruby
[06:57:29] mc_fail: has joined #ruby
[07:04:02] lkba: has joined #ruby
[07:06:27] anisha: has joined #ruby
[07:06:28] rdark: has joined #ruby
[07:06:48] nhhagen: has joined #ruby
[07:11:13] Mallikarjuna: has joined #ruby
[07:11:28] timonv: has joined #ruby
[07:13:13] GriffinHeart: has joined #ruby
[07:14:06] ta: has joined #ruby
[07:14:07] afrianska: has joined #ruby
[07:14:11] mc_fail: has joined #ruby
[07:14:41] allomov: has joined #ruby
[07:15:09] fp-: has left #ruby: ("Be back later ...")
[07:15:19] psye: has joined #ruby
[07:15:20] aganov: has joined #ruby
[07:17:39] Iskarlar: has joined #ruby
[07:19:29] micmus: has joined #ruby
[07:20:08] rickmasta: has joined #ruby
[07:22:21] nhhagen: has joined #ruby
[07:24:10] iamninja: has joined #ruby
[07:25:08] nickfausnight: Hey Mallikarjuna
[07:25:11] Iskarlar: has joined #ruby
[07:26:21] bkxd: has joined #ruby
[07:26:28] sandelius: In AR I delete associated rows like this AccessToken.where(user_id: self.id).destroy_all is there something similar in Sequel?
[07:29:48] Macaveli: has joined #ruby
[07:30:08] mengu: has joined #ruby
[07:30:08] Hanmac: has joined #ruby
[07:31:16] fujimura: has joined #ruby
[07:32:12] jpfuentes2: has joined #ruby
[07:32:19] dumdedum: has joined #ruby
[07:32:40] kerunaru: has joined #ruby
[07:32:47] Pathfinder: has joined #ruby
[07:32:50] tubuliferous_: has joined #ruby
[07:33:53] fujimura_: has joined #ruby
[07:35:40] tvw: has joined #ruby
[07:35:52] Rubie: has joined #ruby
[07:36:54] sn4p3: has joined #ruby
[07:37:31] nhhagen: has joined #ruby
[07:38:17] haxrbyte: has joined #ruby
[07:41:02] bruno-: has joined #ruby
[07:41:55] maloik: sandelius: I don't use Sequel myself, but looking at their wiki it should be easy to figure out :-) should be something like posts = DB[:posts].where(...).delete
[07:42:09] sandelius: maloik found it but thx.
[07:43:40] revath: has left #ruby: ()
[07:44:12] Mon_Ouie: has joined #ruby
[07:45:03] k3asd`: has joined #ruby
[07:45:28] mister_solo: has joined #ruby
[07:46:24] joneshf-laptop: has joined #ruby
[07:48:43] livathinos: has joined #ruby
[07:49:28] jgt: has joined #ruby
[07:49:40] ndrei: has joined #ruby
[07:52:21] krz: has joined #ruby
[07:54:08] iamninja: has joined #ruby
[07:54:14] langlands: has joined #ruby
[07:55:38] mikecmpbll: has joined #ruby
[07:56:18] GriffinHeart: has joined #ruby
[07:57:35] Scroff: has joined #ruby
[07:57:45] chussenot: has joined #ruby
[07:58:14] Oog: has joined #ruby
[07:58:57] michael_mbp: has joined #ruby
[07:59:03] Brozo: has joined #ruby
[08:03:35] SalexW: has joined #ruby
[08:04:18] CloCkWeRX: has joined #ruby
[08:04:41] joonty: has joined #ruby
[08:04:43] yfeldblum: has joined #ruby
[08:05:49] angus: has joined #ruby
[08:07:05] c0m0: has joined #ruby
[08:07:22] simi: has joined #ruby
[08:07:42] arup_r: has joined #ruby
[08:07:55] RegulationD: has joined #ruby
[08:08:06] tomkadwill: has joined #ruby
[08:08:31] Scroff: has joined #ruby
[08:09:20] hubcaps: has joined #ruby
[08:09:43] aeontech: has joined #ruby
[08:10:16] Igorshp: has joined #ruby
[08:10:19] wquebit: has joined #ruby
[08:10:54] GriffinHeart: has joined #ruby
[08:12:06] ur5us: has joined #ruby
[08:12:14] CloCkWeRX1: has joined #ruby
[08:13:29] chthon: has joined #ruby
[08:14:12] chussenot: has joined #ruby
[08:14:33] leat: has joined #ruby
[08:17:08] charliesome: has joined #ruby
[08:17:33] rbowlby: has joined #ruby
[08:18:07] alphaatom: has joined #ruby
[08:21:20] Scrofff: has joined #ruby
[08:21:53] yeticry: has joined #ruby
[08:22:48] aapole: has joined #ruby
[08:23:50] ahmetkapikiran: has joined #ruby
[08:25:27] Zai00: has joined #ruby
[08:25:37] kurtec: has joined #ruby
[08:30:25] chussenot: has joined #ruby
[08:32:40] Bertg: has joined #ruby
[08:34:02] Diabolik: modules should only have behavioural methods, whereas classes should have data input/output
[08:34:05] Diabolik: is that correct?
[08:34:08] leat: has joined #ruby
[08:34:23] Igorshp: has joined #ruby
[08:34:29] Oog: has joined #ruby
[08:34:40] iamninja: has joined #ruby
[08:34:49] leat: has joined #ruby
[08:34:56] Igorshp: has joined #ruby
[08:34:57] michael_mbp: has joined #ruby
[08:35:17] jhass: I guess one could have that standpoint, but I don't think it's useful as a dogma
[08:35:29] bnagy: modules are bags of code, classes are templates for objects that have state
[08:36:12] bnagy: so if you find yourself putting ivars in your modules or having classes with nothing but class methods then maybe reconsider your path
[08:38:20] jhass: true, as a rule of thumb. I'd argue that sometimes it is useful to have a module that depends on state/data of the class it's included into and even modifies it, though I'd probably go through methods the class needs to provide, not ivars
[08:38:26] Diabolik: i still don't understand why this doesn't iterate to infinity
[08:38:29] Diabolik: https://eval.in/375415
[08:38:34] Diabolik: since i isn't defined
[08:39:13] Diabolik: surely primes before the primes.first(n) call is fucking massive
[08:39:14] jhass: Diabolik: because of .lazy.
[08:39:15] ringarin: has joined #ruby
[08:39:32] Diabolik: but what parameter is lazy using
[08:39:37] Diabolik: since n isn't mentioned
[08:39:42] Diabolik: it doesn't know where to count up to
[08:40:03] jhass: >> [1, 2, 3].map {|i| print (i*2).inspect }.first(2)
[08:40:04] ruboto: jhass # => 246[nil, nil] (https://eval.in/375416)
[08:40:13] jhass: >> [1, 2, 3].lazy.map {|i| print (i*2).inspect }.first(2)
[08:40:14] ruboto: jhass # => 24[nil, nil] (https://eval.in/375417)
[08:40:21] jhass: do you see the difference?
[08:40:42] Diabolik: but the range im using is 2...inf
[08:40:50] jhass: so you don't :P
[08:41:05] jhass: notice how in the second example only 2 and 4 is printed
[08:41:11] jhass: whereas in the first 6 is printed too
[08:42:06] jhass: in the first example the map runs through the entire collection, the second example changes runs the entire pipeline for each element individually
[08:42:28] jhass: s/changes //
[08:42:35] Diabolik: i understand
[08:42:37] Diabolik: thanks jhass
[08:45:04] leat: has joined #ruby
[08:45:13] chinmay_dd: has joined #ruby
[08:48:51] OrbitalKitten: has joined #ruby
[08:49:31] DEA7TH_: has joined #ruby
[08:51:40] revath1: has joined #ruby
[08:55:31] sandstrom: has joined #ruby
[08:58:13] roberto2: has joined #ruby
[08:58:48] mikecmpbll: has joined #ruby
[08:59:56] roberto2: has joined #ruby
[09:02:03] ESpiney: has joined #ruby
[09:02:06] Rubie: has joined #ruby
[09:02:25] haxrbyte: has joined #ruby
[09:02:34] platzhirsch: has joined #ruby
[09:03:10] wqubit: has joined #ruby
[09:04:05] rushed: has joined #ruby
[09:04:44] IanVorn: has joined #ruby
[09:04:50] terlar: has joined #ruby
[09:05:04] iamninja: has joined #ruby
[09:07:32] n008f4g_: has joined #ruby
[09:10:49] vdamewood: has joined #ruby
[09:11:46] bruno-: has joined #ruby
[09:11:47] quimrstorres: has joined #ruby
[09:12:03] Igorshp: has joined #ruby
[09:12:18] edwinvdgraaf: has joined #ruby
[09:13:47] ljarvis: so, I always thought .try returned nil if the caller was `nil`, but it also returns nil if the method doesn't exist, this seems weird to me
[09:15:08] Igorshp: has joined #ruby
[09:16:07] platzhirsch: has left #ruby: ()
[09:16:12] apeiros: ljarvis: ah yeah, tripped over that myself too
[09:16:43] ljarvis: I think that's terrible. I've relied on that for ages
[09:16:49] ljarvis: you could have a typo and it would be hard to find
[09:17:02] apeiros: IMO bad design decision
[09:17:22] apeiros: should be a differently named method which tries to invoke a potentially missing method
[09:18:21] timonv: has joined #ruby
[09:19:01] workmad3: has joined #ruby
[09:19:02] jpfuentes2: has joined #ruby
[09:19:25] sarkyniin: has joined #ruby
[09:19:36] niko: has joined #ruby
[09:20:02] TheHodge: has joined #ruby
[09:21:01] tubuliferous_: has joined #ruby
[09:22:24] revath: has joined #ruby
[09:22:51] lapide_viridi: has joined #ruby
[09:23:13] Igorshp: has joined #ruby
[09:23:13] ljarvis: in other news, it's my work birthday today \o/
[09:23:25] wqubit: Happy birthday.
[09:24:07] Darkwater: I read that just as someone said happy birthday on the radio
[09:25:17] adefa: has joined #ruby
[09:25:24] arup_r: has joined #ruby
[09:26:13] edwinvdgraaf: has joined #ruby
[09:27:37] nonparfumee: has joined #ruby
[09:28:09] jpfuente_: has joined #ruby
[09:29:46] CloCkWeRX: has joined #ruby
[09:32:13] jgt: Today is a Beautiful Day to Ruby.
[09:32:29] adaedra: tbf, yesterday was also one.
[09:33:09] jgt: oh, I so agree
[09:33:30] jgt: Sadly, yesterday I mostly JavaScripted and Scalad.
[09:33:53] edwinvdg_: has joined #ruby
[09:34:02] adaedra: It happens
[09:34:42] mengu: has joined #ruby
[09:36:21] josh: has joined #ruby
[09:39:34] Scroff: has joined #ruby
[09:40:30] hectortrope: has joined #ruby
[09:40:59] starfox_sf: has joined #ruby
[09:41:01] Scrofff: has joined #ruby
[09:42:19] nonparfumee: has joined #ruby
[09:42:39] fujimura: has joined #ruby
[09:44:39] lapideviridi: has joined #ruby
[09:45:29] tomkadwill: has joined #ruby
[09:45:29] Lapide: has joined #ruby
[09:45:34] leat: has joined #ruby
[09:48:04] ponga: has joined #ruby
[09:48:35] Oog: has joined #ruby
[09:51:17] platzhirsch: has joined #ruby
[09:51:18] axl_: has joined #ruby
[09:53:08] DexterLB: has joined #ruby
[09:54:07] lapide_viridi: has joined #ruby
[09:54:17] huddy: has joined #ruby
[09:54:55] noname1: has joined #ruby
[09:55:00] charliesome: has joined #ruby
[09:55:28] noname: has joined #ruby
[09:55:50] leat: has joined #ruby
[09:56:01] pikos: has joined #ruby
[09:56:14] datanoise: has joined #ruby
[09:56:43] nhhagen: has joined #ruby
[09:56:46] RegulationD: has joined #ruby
[09:58:22] olistik: has joined #ruby
[09:58:23] olegtc: has joined #ruby
[09:58:39] stamina: has joined #ruby
[09:59:01] chinmay_dd: has joined #ruby
[09:59:21] mister_s_: has joined #ruby
[09:59:40] tmadsen: has joined #ruby
[10:00:55] tmadsen: has left #ruby: ()
[10:00:58] mengu: has joined #ruby
[10:03:34] nhhagen: has joined #ruby
[10:04:07] ledestin: has joined #ruby
[10:07:36] bruno-: has joined #ruby
[10:08:08] sepp2k: has joined #ruby
[10:09:06] caitlinb: has joined #ruby
[10:11:24] caitlinb: Hello. I have a ruby in /opt/splat/embedded/bin/ruby which i can install gems into with /opt/splat/embedded/bin/ruby. I have another linux host on which i don???t want to install a system ruby or any compilers. I???m looking for a method to wrap up the now compiled ruby to install on the other host. Is that something I can do?
[10:11:40] senayar: has joined #ruby
[10:11:40] senayar: has joined #ruby
[10:11:58] caitlinb: i???ve looked at rake and gem-compiler nether of which seem to do what i expect
[10:12:07] GriffinHeart: has joined #ruby
[10:12:57] jhass: if you have the same dynamic library versions on the target you should be able to copy that over
[10:13:08] jhass: else look into setting up something like traveling ruby
[10:13:39] jhass: oh, assuming /opt/splat/embedded contains ruby and nothing else I guess
[10:14:05] yardenbar: has joined #ruby
[10:14:48] leat: has joined #ruby
[10:15:12] caitlinb: it???s someone else???s ruby app
[10:15:18] caitlinb: sensu, fwiw
[10:15:26] zotherstupidguy: has joined #ruby
[10:15:49] toretore: has joined #ruby
[10:16:16] haxrbyte: has joined #ruby
[10:16:20] leat: has joined #ruby
[10:16:25] edwinvdgraaf: has joined #ruby
[10:16:44] jenrzzz: has joined #ruby
[10:17:21] Musashi007: has joined #ruby
[10:18:28] haxrbyte: has joined #ruby
[10:18:46] centrx: has joined #ruby
[10:19:00] skyrocker: has joined #ruby
[10:19:09] Sevelia: has joined #ruby
[10:19:14] zotherstupidguy: has joined #ruby
[10:19:32] skyrocker: has left #ruby: ()
[10:20:24] jeeves555: has joined #ruby
[10:20:25] rickmasta: has joined #ruby
[10:23:46] mister_solo: has joined #ruby
[10:24:00] edwinvdg_: has joined #ruby
[10:25:29] ahmetkapikiran: has joined #ruby
[10:25:41] troyready: has joined #ruby
[10:26:22] Ilyes512: has joined #ruby
[10:26:49] leat: has joined #ruby
[10:27:33] mike___1234: has joined #ruby
[10:29:59] FernandoBasso: has joined #ruby
[10:30:14] alphaatom: has joined #ruby
[10:30:35] tmadsen: has joined #ruby
[10:31:21] sandelius: has joined #ruby
[10:31:39] maxshelley: has joined #ruby
[10:31:43] Ariadeno: has joined #ruby
[10:31:43] sdothum: has joined #ruby
[10:31:45] ndrei: has joined #ruby
[10:33:52] haxrbyte: has joined #ruby
[10:34:10] chipotles: has joined #ruby
[10:34:51] FernandoBasso: has joined #ruby
[10:35:07] sdothum: has joined #ruby
[10:35:23] nhhagen: has joined #ruby
[10:36:31] TinkerTyper: has joined #ruby
[10:36:40] izzol: I see that since ruby 2.1 I can use: private def {name}
[10:37:08] izzol: but it's better to use in the end of the class (private :method_one, :method_two)
[10:37:24] izzol: or the new way? ;-)
[10:37:56] izzol: the first one sounds like a java
[10:37:58] universa1: izzol: i personaly like: public methods private; all private methods following; end # end of class
[10:38:00] apeiros: private *names is backwards compatible. besides that, they're equivalent
[10:38:11] nhhagen: has joined #ruby
[10:38:15] centrx: right, using the section method I would think is best
[10:38:19] apeiros: i.e. it's only a style question
[10:38:26] canton7: private *names does mean you need to visit 2 places in code to see if a method is private or not, which imo is a bad thing
[10:38:38] centrx: but I don't use private
[10:38:44] centrx: Developers should be on top of it!
[10:39:00] universa1: whaaaaaaaaat?
[10:39:01] apeiros: I use private, knowing that there's #send
[10:39:26] apeiros: anybody who uses a private method knows that they're on their own. that the signature may change any time.
[10:39:53] apeiros: a public method is a promise: I will do my best to keep that public method compatible.
[10:40:55] allcentury: has joined #ruby
[10:41:04] sdothum: has joined #ruby
[10:41:48] mister_s_: has joined #ruby
[10:42:28] senayar: has joined #ruby
[10:42:28] senayar: has joined #ruby
[10:43:24] jgt: can Rake tasks be expressed in a single line?
[10:43:41] universa1: does it make sense? no.
[10:43:43] jgt: universa1: how?
[10:43:49] Scripore: has joined #ruby
[10:44:00] jgt: and how can you say it doesn???t make sense if you have absolutely zero context?
[10:44:07] jhass: jgt: sed s/\n/;/
[10:44:07] universa1: task :foo; raise "i'm doing something stupid"; end
[10:44:10] T3: has joined #ruby
[10:44:31] universa1: jgt: ohh oneliners in 99% of the cases make no sense...
[10:44:38] jgt: ???There are no stupid questions, only a guy on IRC being a prick.???
[10:44:53] universa1: just because it is one line, it is not better to read, ...
[10:44:54] apeiros: jgt: watch your language
[10:44:59] universa1: jgt: then provide context?
[10:45:09] vikaton: has joined #ruby
[10:45:10] jgt: my task delegates to a class that does that actual work
[10:45:21] jgt: since classes are easier to test
[10:45:49] yqt: has joined #ruby
[10:45:51] universa1: jgt: so? what is the benefit of a oneliner rake task instead of a 3 line rake task?
[10:45:52] jgt: and the task only creates an instance of a class and provides a filename to construct it with
[10:46:18] jgt: the benefit becomes obvious when there are about 100 of these task
[10:46:35] jgt: s/task/tasks/
[10:46:58] jhass: jgt: look at how Rake::TestTask is built
[10:47:06] universa1: well your code probably has other problems, if you have 100 tasks... ...but again, no way to tell actually, since no context ;)
[10:47:16] jhass: I'd go for that approach, you'll likely be able to package it up into a base class/module
[10:47:19] jgt: universa1: you???re absolutely right
[10:47:40] universa1: jhass: yeah, sounds like something reasonable
[10:47:54] jgt: jhass: thanks
[10:48:31] phutchins: has joined #ruby
[10:48:36] darkf_: has joined #ruby
[10:48:43] darkf_: has joined #ruby
[10:48:46] jacaho0: has joined #ruby
[10:52:28] fabrice31: has joined #ruby
[10:53:27] DexterLB: has joined #ruby
[10:53:36] leat: has joined #ruby
[10:54:25] mdz_: has joined #ruby
[10:57:08] leat: has joined #ruby
[10:57:15] rodfersou: has joined #ruby
[10:59:51] fujimura: has joined #ruby
[11:00:28] nfk|laptop: has joined #ruby
[11:02:18] edwinvdgraaf: has joined #ruby
[11:02:21] nfk: has joined #ruby
[11:03:57] DoubleMalt: has joined #ruby
[11:04:46] jhass: that could be a fun gem actually, some DSL on top of rake that defines tasks that do nothing but delegate to a class, class FooTask; include RakeClassTask; default_name :foo; default_namespace :bar; default_dependencies :baz; body do |params| ... end; end; Rakefile: RakeClassTask.define_all; or FooTask.define(:another_name => :other_deps); tests: expect { FooTask.new.body }.to fail
[11:05:09] rickmasta: has joined #ruby
[11:05:39] nhhagen: has joined #ruby
[11:06:40] sandstrom: has joined #ruby
[11:07:55] SShrike: has joined #ruby
[11:09:12] tubuliferous_: has joined #ruby
[11:09:34] leat: has joined #ruby
[11:10:47] MasterPiece: has joined #ruby
[11:11:58] ljarvis: fun you say
[11:12:45] nhhagen: has joined #ruby
[11:13:50] roryhughes: has joined #ruby
[11:15:05] iooner: has joined #ruby
[11:15:08] adefa: has joined #ruby
[11:15:35] teotwaki: has joined #ruby
[11:18:19] revath: has left #ruby: ()
[11:19:11] randomizer: has joined #ruby
[11:20:26] ruby-lang405: has joined #ruby
[11:21:38] Scroff: has joined #ruby
[11:22:00] blackoperat: has joined #ruby
[11:25:49] sepp2k: has joined #ruby
[11:28:08] Sirrr: has joined #ruby
[11:28:19] NeverDie: has joined #ruby
[11:29:15] lapide_viridi: has joined #ruby
[11:29:20] c355E3B: has joined #ruby
[11:29:44] starfox_sf: has joined #ruby
[11:30:37] Scrofff: has joined #ruby
[11:30:47] blackoperat: has joined #ruby
[11:31:53] hagabaka: has joined #ruby
[11:32:02] Rubie: has joined #ruby
[11:32:31] Fooster: has joined #ruby
[11:33:13] T3: has joined #ruby
[11:34:21] ahmetkapikiran: has joined #ruby
[11:34:29] Scroff: has joined #ruby
[11:36:00] senayar: has joined #ruby
[11:36:39] veleno: has joined #ruby
[11:37:43] veleno: hi. what is the suggested way to access a MySQL database with Ruby? is RDBI the most up-to-date library ? we used to rely on dbd-mysql but it seems to be abandoned since 5 years now...
[11:38:33] jhass: and mysql2 beneath
[11:38:40] veleno: jhass: https://rubygems.org/gems/sequel ?
[11:38:43] leat: has joined #ruby
[11:41:52] veleno: i see. ok then. i hope the porting is easy.
[11:42:37] apeiros: sequel would be my first choice too. alternatives: active-record or ROM
[11:43:42] Darkwater: how about datamapper?
[11:44:28] apt-get_: has joined #ruby
[11:44:45] olistik: veleno: Lotus::Model is another choice https://github.com/lotus/model
[11:44:54] veleno: sequel certainly is a popular gem, given its total downloads reported by rubygems.org
[11:45:10] edwinvdg_: has joined #ruby
[11:45:39] datanoise: has joined #ruby
[11:45:42] RegulationD: has joined #ruby
[11:46:34] dudedudeman: has joined #ruby
[11:47:37] caseypatrickdris: has joined #ruby
[11:48:17] RTG`: has joined #ruby
[11:48:25] caseypatrickdris: has joined #ruby
[11:48:56] ljarvis: sequel is awesome
[11:49:03] Scripore: has joined #ruby
[11:49:08] ljarvis: jeremy is awesome
[11:51:38] delianides: has joined #ruby
[11:52:21] ringarin: has joined #ruby
[11:52:31] NeverDie: has joined #ruby
[11:52:45] bluOxigen: has joined #ruby
[11:53:45] woodruffw: has joined #ruby
[11:54:00] T3: has joined #ruby
[11:54:36] bkxd: has joined #ruby
[11:57:54] gambl0re: has joined #ruby
[11:57:58] leat: has joined #ruby
[11:59:42] mister_solo: has joined #ruby
[11:59:59] FernandoBasso: has joined #ruby
[12:02:55] jhooker: has joined #ruby
[12:03:37] rovnero: has joined #ruby
[12:04:17] fujimura: has joined #ruby
[12:06:37] jenrzzz: has joined #ruby
[12:07:10] serivich: has joined #ruby
[12:08:16] sankaber: has joined #ruby
[12:08:22] Zai00: has joined #ruby
[12:08:57] frank_o: has joined #ruby
[12:09:01] [k-: has joined #ruby
[12:13:07] griffindy: has joined #ruby
[12:13:51] DoubleMalt: has joined #ruby
[12:14:15] chussenot: has joined #ruby
[12:18:52] victorkohl: has joined #ruby
[12:18:56] allcentury: has joined #ruby
[12:21:08] nhhagen: has joined #ruby
[12:24:00] _blizzy_: has joined #ruby
[12:24:07] Sirrr: has joined #ruby
[12:27:29] jwaldrip_: has joined #ruby
[12:29:15] krz: has joined #ruby
[12:29:32] n80: has joined #ruby
[12:30:06] Flemzord: has joined #ruby
[12:31:06] Flemzord: I have a communication problem between gem and ruby. I install my gem via gem install ruby gold said she did not install. However I can see my gem with gem list, have you any idea?
[12:31:25] Flemzord: I am French, not good in English :(
[12:32:02] Scripore: has joined #ruby
[12:32:08] jhass: Flemzord: ruby -v vs gem env, which ruby versions are reported?
[12:32:29] Flemzord: [root@jiwok-wbdd2:~]# ruby -v
[12:32:29] Flemzord: ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
[12:32:35] Flemzord: [root@jiwok-wbdd2:~]# gem env
[12:32:35] Flemzord: RubyGems Environment:
[12:32:35] Flemzord: - RUBYGEMS VERSION: 1.3.7
[12:32:35] Flemzord: - RUBY VERSION: 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
[12:32:35] Flemzord: - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
[12:32:35] Flemzord: - RUBY EXECUTABLE: /usr/bin/ruby
[12:32:36] Flemzord: - EXECUTABLE DIRECTORY: /usr/bin
[12:32:36] Flemzord: - RUBYGEMS PLATFORMS:
[12:32:37] Flemzord: - x86_64-linux
[12:32:37] Flemzord: - GEM PATHS:
[12:32:38] Flemzord: - /usr/lib/ruby/gems/1.8
[12:32:38] Flemzord: - /root/.gem/ruby/1.8
[12:32:39] Flemzord: - GEM CONFIGURATION:
[12:32:49] Darkwater: that's not very nice
[12:33:18] frank_o: i forgive u <3
[12:33:20] Flemzord: http://pastebin.com/VC8gLrqd
[12:33:21] ruboto: Flemzord, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/e66ae8f7835968fb80e6
[12:33:21] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[12:33:27] jhass: Flemzord: Ruby 1.8 is very old and out of support, why are you using this old version?
[12:33:48] Ilyes512: has joined #ruby
[12:33:59] Flemzord: The server has an older version of puppet :(
[12:34:18] ruboto: Please join #puppet for help with it.
[12:35:31] charliesome: has joined #ruby
[12:36:04] Rapier-: has joined #ruby
[12:36:31] Flemzord: Puppet works well, my ruby script does not work for spotify him. Ruby does not see the gem installed on the server :(
[12:36:40] goodcodeguy: has joined #ruby
[12:37:02] jhass: what's your exact error message? remember to paste > 3 lines of text to gist.github.com
[12:37:34] nedp: has joined #ruby
[12:38:42] Flemzord: https://gist.github.com/flemzord/59d2ec840d77f18a39cb
[12:39:30] kuroro: has joined #ruby
[12:39:33] kuroro2: has joined #ruby
[12:39:42] jhass: wow that's odd
[12:39:42] kuroro: has joined #ruby
[12:39:46] hinbody: has joined #ruby
[12:39:54] kuroro: has left #ruby: ()
[12:40:00] riffraff: has joined #ruby
[12:40:09] jerius: has joined #ruby
[12:40:25] ahmetkapikiran: has joined #ruby
[12:40:49] jhass: the path to sinatra.rb looks very odd too, I'm not sure anybody here still has much help for such an unsupported setup
[12:41:25] jhass: did you install sinatra additionally via your package manager or something?
[12:41:52] jhass: or where does /usr/lib/ruby/site_ruby/1.8/sinatra.rb come from
[12:42:34] ddv: 1.8? :S
[12:43:05] jhass: and somehow it's always because of puppet, they really should do something about that
[12:43:15] kobain: has joined #ruby
[12:43:23] iamninja: has joined #ruby
[12:43:52] workmad3: has joined #ruby
[12:44:36] rdar: has joined #ruby
[12:44:37] nhhagen: has joined #ruby
[12:44:41] Akagi201: has joined #ruby
[12:45:55] bluOxigen: has joined #ruby
[12:47:48] bmurt: has joined #ruby
[12:48:58] blueOxigen: has joined #ruby
[12:49:41] bruno-: has joined #ruby
[12:50:21] segfalt: has joined #ruby
[12:50:48] northfurr: has joined #ruby
[12:51:10] delianides: has joined #ruby
[12:52:39] Tamae: has joined #ruby
[12:52:47] ahmetkapikiran: has joined #ruby
[12:53:05] dudedudeman: has joined #ruby
[12:53:16] mary5030: has joined #ruby
[12:53:36] bertocode: has joined #ruby
[12:55:20] mary5030: has joined #ruby
[12:55:57] blackoperat: has joined #ruby
[12:56:40] jhooker: has joined #ruby
[12:56:46] Jandre: has joined #ruby
[12:57:22] tubuliferous_: has joined #ruby
[12:57:33] maxshelley: has joined #ruby
[12:57:55] poguez_: has joined #ruby
[12:58:07] jstanton: has joined #ruby
[12:58:26] Scripore: has joined #ruby
[12:58:58] LMity: has joined #ruby
[12:59:24] banister: has joined #ruby
[12:59:55] axl_: has joined #ruby
[13:01:01] fabrice31: has joined #ruby
[13:01:33] tuelz2: has joined #ruby
[13:01:35] sgambino: has joined #ruby
[13:03:26] withnale_: has joined #ruby
[13:04:00] fujimura: has joined #ruby
[13:04:29] nateberkopec: has joined #ruby
[13:05:02] allcentury: has joined #ruby
[13:05:08] fmcgeough: has joined #ruby
[13:05:42] davedev24_: has joined #ruby
[13:08:06] iamjarvo: has joined #ruby
[13:08:13] kobain: has joined #ruby
[13:08:23] fabrice31_: has joined #ruby
[13:08:23] lavros: has joined #ruby
[13:08:41] pikos: has joined #ruby
[13:09:24] chinmay_dd: has joined #ruby
[13:09:26] hectortrope: has joined #ruby
[13:09:35] fabrice31_: has joined #ruby
[13:10:57] nonparfumee: has joined #ruby
[13:11:45] arup_r: has joined #ruby
[13:12:35] nhhagen: has joined #ruby
[13:13:04] decoponio: has joined #ruby
[13:13:13] Soda: has joined #ruby
[13:14:24] intinig: has joined #ruby
[13:15:43] krz: has joined #ruby
[13:18:26] varunwachaspati: has joined #ruby
[13:18:37] starfox_sf: has joined #ruby
[13:18:38] chinmay_dd: has joined #ruby
[13:18:49] nhhagen_: has joined #ruby
[13:19:21] mister_solo: has joined #ruby
[13:19:30] ahmetkapikiran: has joined #ruby
[13:20:55] Miphix: has joined #ruby
[13:20:56] Kedare: has joined #ruby
[13:22:08] dblessing: has joined #ruby
[13:22:17] Timba-as: has joined #ruby
[13:23:06] pikos: has joined #ruby
[13:23:32] dudedudeman: has joined #ruby
[13:24:02] hinbody: has joined #ruby
[13:24:23] JohnBat26: has joined #ruby
[13:25:01] tomkadwill: has joined #ruby
[13:25:24] Rubie: has joined #ruby
[13:25:33] quimrstorres: has joined #ruby
[13:26:23] Sirrr: has joined #ruby
[13:26:27] JohnBat26: has joined #ruby
[13:26:34] LBRapid: has joined #ruby
[13:27:58] IanVorn: has joined #ruby
[13:28:32] RegulationD: has joined #ruby
[13:28:58] huddy: has joined #ruby
[13:29:14] mrmargolis: has joined #ruby
[13:29:15] Papierkorb: has joined #ruby
[13:30:02] dblessing: has joined #ruby
[13:30:12] malconis: has joined #ruby
[13:30:44] granthatcher: has joined #ruby
[13:32:19] iamjarvo: has joined #ruby
[13:32:49] casadei: has joined #ruby
[13:33:22] withnale: has joined #ruby
[13:33:28] k3asd`: has joined #ruby
[13:33:42] k3asd`: has joined #ruby
[13:35:00] rocknrollMarc: has joined #ruby
[13:35:46] jgt: has joined #ruby
[13:35:49] Scripore: has joined #ruby
[13:36:42] Mon_Ouie: has joined #ruby
[13:37:20] someword: has joined #ruby
[13:37:31] veleno: is it possible to attach to an instance, at runtime, an alias?i???ve tried with an module/mixin, but does not seem to be working
[13:38:30] Akagi201: has joined #ruby
[13:39:22] sandstrom: has joined #ruby
[13:40:05] jwaldrip_: has joined #ruby
[13:40:06] atomical: has joined #ruby
[13:40:55] bnagy: veleno: not sure if I 100% understand you, but you can open the singleton class and just alias :new :old
[13:41:15] bnagy: the "at runtime" thing is kind of a red herring
[13:41:54] cmisenas: has joined #ruby
[13:42:27] watchtheblur: has joined #ruby
[13:42:27] veleno: bnagy: the idea was to do this https://gist.github.com/vschiavoni/c523adcb21ac53177fb1 so the calling a db.do(..) method, it would forward the call to db.run(...)
[13:43:14] bnagy: veleno: https://eval.in/375616
[13:44:27] mister_solo: has joined #ruby
[13:46:02] veleno: ah ok. that way it works
[13:46:18] veleno: though it modifies the class of the object, not the single object. right ?
[13:46:33] malconis: has joined #ruby
[13:46:41] bnagy: well.. it doesn't modify A if that's what you mean
[13:46:59] bnagy: it modified what mostly people call the singleton class of small-a the instance
[13:47:13] dorei: has joined #ruby
[13:47:25] bnagy: which is just a kind of fake class that hangs around so you can do exactly this kind of stuff to it
[13:47:30] datanoise: has joined #ruby
[13:47:39] bnagy: well fake class is a baad phrase, ignore that :)
[13:48:19] veleno: ok i see. thanks for the explanation. in this sense then, it seems to be safe and exactly what I need to speed up the porting to a new lib without changing code everywhere
[13:48:31] veleno: or at least to quickly test it
[13:49:29] bnagy: veleno: you can also monkey-patch A if that makes more sense
[13:50:03] bnagy: you can re-open A in your own code and add your new method, now all new instances _will_ have it
[13:50:09] zipace: has joined #ruby
[13:50:09] zipace: has joined #ruby
[13:50:13] msnyon: has joined #ruby
[13:50:22] bnagy: we have a million ways to screw with other people's code at runtime ;)
[13:50:37] tuelz2: if I'm reading correctly you just want to send a message to do when someone sends it to run? Why not just define so to send messages to run?
[13:51:11] mujou: has joined #ruby
[13:51:28] tuelz2: or I think I said that backwards, but yeah basically what bnagy is suggesting with 'monkey patching'
[13:52:01] CloCkWeRX: has joined #ruby
[13:52:22] tuelz2: although if this is long term - I would say refactoring now is your best option. It's never going to get easier to refactor
[13:53:04] tjbiddle: has joined #ruby
[13:53:08] dudedudeman: has joined #ruby
[13:53:10] allomov: has joined #ruby
[13:53:47] Zenebatos: has joined #ruby
[13:53:49] nhhagen: has joined #ruby
[13:54:29] livathinos: has joined #ruby
[13:55:00] mary5030: has joined #ruby
[13:55:28] Zenebatos: has joined #ruby
[13:56:15] jenrzzz: has joined #ruby
[13:56:55] leafybasil: has joined #ruby
[13:57:37] freerobby: has joined #ruby
[13:58:09] Zenebatos: has joined #ruby
[13:58:26] d[^_^]b: has joined #ruby
[13:58:27] ereslibre: has joined #ruby
[13:58:27] ereslibre: has joined #ruby
[13:58:42] mrmargolis: has joined #ruby
[13:58:49] yqt: has joined #ruby
[13:59:04] sigden: has joined #ruby
[13:59:54] sktkbk: has joined #ruby
[14:00:13] i: has joined #ruby
[14:00:26] asuka: has left #ruby: ("WeeChat 1.1.1")
[14:02:03] mrsolo: has joined #ruby
[14:02:05] fujimura: has joined #ruby
[14:02:48] ahmetkapikiran: has joined #ruby
[14:03:36] varunwachaspati: has joined #ruby
[14:04:48] charliesome: has joined #ruby
[14:05:13] ferr: has joined #ruby
[14:05:31] but3k4: has joined #ruby
[14:06:35] Zenebatos: has joined #ruby
[14:07:33] iamninja: has joined #ruby
[14:08:00] byprdct: has joined #ruby
[14:08:06] senayar: has joined #ruby
[14:08:15] n80: has joined #ruby
[14:08:22] dudedudeman: has joined #ruby
[14:08:25] nonparfumee: has joined #ruby
[14:09:56] datanoise: has joined #ruby
[14:10:31] Zenebatos: has joined #ruby
[14:10:35] Agoldfish: has joined #ruby
[14:11:32] sktkbk: has joined #ruby
[14:11:35] bmurt: anyone have a suggestion on debugging a redis connection issue?
[14:11:39] griffindy: has joined #ruby
[14:11:39] dudedudeman: morning, rubyists
[14:11:44] bmurt: im still new to ruby and redis gem
[14:12:03] tmadsen: has left #ruby: ()
[14:12:05] bmurt: but im ending up with: redis = Redis.new(:host => "172.16.128.36", :port => 6379) followed by a redis.connected? returns false
[14:12:09] nhhagen: has joined #ruby
[14:12:18] bmurt: telnet to that ip/port works
[14:12:37] failshell: has joined #ruby
[14:13:26] iamjarvo: has joined #ruby
[14:13:50] nickfausnight: has joined #ruby
[14:14:02] lapide_viridi: has joined #ruby
[14:14:29] alphaatom: has joined #ruby
[14:14:40] pyon: has joined #ruby
[14:15:08] b_hoffman: has joined #ruby
[14:15:43] alphaatom: has joined #ruby
[14:16:50] alphaatom: has joined #ruby
[14:17:20] dede: has joined #ruby
[14:17:33] varunwachaspati: has joined #ruby
[14:17:52] ohcibi: has left #ruby: ("http://quassel-irc.org - Chat comfortably. Anywhere.")
[14:18:07] alphaatom: has joined #ruby
[14:18:40] nhhagen_: has joined #ruby
[14:20:28] nonparfumee: has joined #ruby
[14:20:36] d[^_^]b: has joined #ruby
[14:20:37] dfinninger: has joined #ruby
[14:20:42] Kricir: has joined #ruby
[14:22:06] kies: has joined #ruby
[14:22:25] b_hoffman: has left #ruby: ()
[14:23:10] d[^_^]b: has joined #ruby
[14:23:40] denver: has joined #ruby
[14:25:13] d[^_^]b: has joined #ruby
[14:27:12] d[^_^]b: has joined #ruby
[14:27:48] mrmargol_: has joined #ruby
[14:28:03] someword: has joined #ruby
[14:28:09] Scripore: has joined #ruby
[14:28:34] dzejrou: has joined #ruby
[14:28:53] havenwood: has joined #ruby
[14:29:09] d[^_^]b: has joined #ruby
[14:29:25] freerobby: has joined #ruby
[14:29:37] Papierkorb: has joined #ruby
[14:29:55] Hanmac1: has joined #ruby
[14:30:48] rsl: has joined #ruby
[14:31:10] spyderman4g63: has joined #ruby
[14:31:12] d[^_^]b: has joined #ruby
[14:31:19] rickmasta: has joined #ruby
[14:31:33] joaomdmoura: has joined #ruby
[14:32:13] nofxx1: has joined #ruby
[14:32:24] freerobby: has joined #ruby
[14:33:05] Scripore: has joined #ruby
[14:33:11] d[^_^]b: has joined #ruby
[14:33:53] enebo: has joined #ruby
[14:34:39] sigden: has joined #ruby
[14:35:36] d[^_^]b: has joined #ruby
[14:36:00] fabrice31: has joined #ruby
[14:36:02] NeverDie: has joined #ruby
[14:36:04] bricker: has joined #ruby
[14:36:24] sktkbk: has joined #ruby
[14:37:28] jgt: has joined #ruby
[14:37:31] atomical_: has joined #ruby
[14:38:44] ShellFu: has joined #ruby
[14:39:10] d[^_^]b: has joined #ruby
[14:40:53] iamjarvo: has joined #ruby
[14:41:11] d[^_^]b: has joined #ruby
[14:41:22] mordocai: has joined #ruby
[14:41:26] mase-chatter: has joined #ruby
[14:42:12] ruby_nuby: has joined #ruby
[14:42:26] balazs: has joined #ruby
[14:43:09] d[^_^]b: has joined #ruby
[14:44:21] juanpaucar: has joined #ruby
[14:44:29] CloCkWeRX: has left #ruby: ()
[14:45:13] d[^_^]b: has joined #ruby
[14:45:32] tubuliferous_: has joined #ruby
[14:46:14] kinduff: has joined #ruby
[14:47:03] whippythellama: has joined #ruby
[14:47:11] d[^_^]b: has joined #ruby
[14:47:33] jpfuentes2: has joined #ruby
[14:48:30] Scripore: has joined #ruby
[14:49:11] d[^_^]b: has joined #ruby
[14:49:20] adefa: has joined #ruby
[14:49:25] tennis_: has joined #ruby
[14:49:56] mase-chatter: has joined #ruby
[14:50:11] meph: has joined #ruby
[14:50:12] quimrstorres: has joined #ruby
[14:50:40] dudedudeman: if i have a an array of numbers in a random order, how could i print them out in descending/ascending order?
[14:51:11] havenwood: dudedudeman: sort em
[14:51:13] d[^_^]b: has joined #ruby
[14:51:25] rippa: has joined #ruby
[14:51:27] XThief: has joined #ruby
[14:51:35] ixti: has joined #ruby
[14:52:21] fabrice31_: has joined #ruby
[14:52:44] ogpastaling: has joined #ruby
[14:53:04] dudedudeman: one more silly question
[14:53:10] rkazak: has joined #ruby
[14:53:12] d[^_^]b: has joined #ruby
[14:53:28] tennis_: has joined #ruby
[14:53:34] dudedudeman: let's say i need to .sort that array, and then .to_s it, which one comes first? I'm thinking the .sort happens first, then the .to_s?
[14:54:07] apeiros: dudedudeman: yupp
[14:54:12] apeiros: otherwise you'd call .sort on a string
[14:54:17] apeiros: and string doesn't have .sort
[14:54:27] _seanc_: has joined #ruby
[14:54:44] symm-: has joined #ruby
[14:54:55] ahmetkapikiran: has joined #ruby
[14:55:08] havenwood: dudedudeman: Do you mean #to_s the Array itself or its elements?
[14:55:11] d[^_^]b: has joined #ruby
[14:55:33] dudedudeman: hmm. it's elements
[14:56:03] dudedudeman: actually, no. the array itself
[14:56:22] timonv: has joined #ruby
[14:56:45] KoolKidzKlub: has joined #ruby
[14:57:11] d[^_^]b: has joined #ruby
[14:57:35] aryaching: has joined #ruby
[14:57:38] but3k4_: has joined #ruby
[14:59:06] lordkryss: has joined #ruby
[14:59:13] d[^_^]b: has joined #ruby
[14:59:55] segfalt: has joined #ruby
[15:00:24] aapole: has joined #ruby
[15:00:41] d10n-work: has joined #ruby
[15:01:10] nonparfumee: has joined #ruby
[15:01:11] d[^_^]b: has joined #ruby
[15:01:17] yorickpeterse: jebus this channel is way too active
[15:01:17] fabrice31: has joined #ruby
[15:01:27] yorickpeterse: 690-something unread messages
[15:02:20] tennis_: has joined #ruby
[15:02:39] claws: has joined #ruby
[15:03:01] quimrstorres: has joined #ruby
[15:03:09] Endretoft: has joined #ruby
[15:03:13] d[^_^]b: has joined #ruby
[15:03:54] fujimura: has joined #ruby
[15:03:55] Hanmac1: shevy i didnt noticed at once ... but this channel is OVER 1000! ;P
[15:04:19] Master44: yes this channel its best
[15:04:23] Master44: learnyou that ;P
[15:04:25] ebbflowgo: has joined #ruby
[15:05:34] d[^_^]b: has joined #ruby
[15:05:36] tkuchiki: has joined #ruby
[15:06:12] k3asd`_: has joined #ruby
[15:06:45] juanpaucar: has joined #ruby
[15:07:13] j4cknewt: has joined #ruby
[15:07:19] starfox_sf: has joined #ruby
[15:08:06] mrsolo: has joined #ruby
[15:09:13] d[^_^]b: has joined #ruby
[15:10:24] fantazo: has joined #ruby
[15:10:24] Iskarlar: has joined #ruby
[15:11:11] d[^_^]b: has joined #ruby
[15:11:12] Kricir: has joined #ruby
[15:11:22] casadei_: has joined #ruby
[15:11:41] sigden: has joined #ruby
[15:12:19] tubuliferous_: has joined #ruby
[15:12:46] Kricir: has joined #ruby
[15:13:09] d[^_^]b: has joined #ruby
[15:15:10] davedev24: has joined #ruby
[15:15:13] d[^_^]b: has joined #ruby
[15:15:18] balazs: has joined #ruby
[15:15:30] jgpawletko: has joined #ruby
[15:15:38] sandstrom: has joined #ruby
[15:15:40] Kricir: has joined #ruby
[15:15:59] allomov: has joined #ruby
[15:16:08] gambl0re: has joined #ruby
[15:16:33] but3k4: has joined #ruby
[15:17:13] d[^_^]b: has joined #ruby
[15:17:33] cmisenas: has joined #ruby
[15:19:10] d[^_^]b: has joined #ruby
[15:20:39] Scripore: has joined #ruby
[15:21:09] hectortrope: has joined #ruby
[15:21:09] d[^_^]b: has joined #ruby
[15:21:27] jeeves555: has joined #ruby
[15:22:41] ringarin: has joined #ruby
[15:22:45] livathinos: has joined #ruby
[15:23:10] d[^_^]b: has joined #ruby
[15:23:13] k3asd`: has joined #ruby
[15:23:16] dfinninger: has joined #ruby
[15:23:46] Cache_Money: has joined #ruby
[15:25:12] TinkerTyper: has joined #ruby
[15:25:14] d[^_^]b: has joined #ruby
[15:27:11] d[^_^]b: has joined #ruby
[15:28:02] shevy: hanmac1 yeah, jhass killed off #ruby-lang
[15:28:44] Hanmac1: w00t ? ;P jhass got #ruby-lang trolled to much?
[15:29:09] d[^_^]b: has joined #ruby
[15:30:01] jhass: hanmac1: I just wanted a 1k users chan for Ruby ;)
[15:30:38] senayar: has joined #ruby
[15:30:52] krz: has joined #ruby
[15:31:07] atomical: has joined #ruby
[15:31:13] d[^_^]b: has joined #ruby
[15:31:19] mrmargolis: has joined #ruby
[15:31:26] revoohc: has joined #ruby
[15:33:13] d[^_^]b: has joined #ruby
[15:33:24] _blizzy_: oh, I never posted the gem I made. it's call hyoka. It allows you to eval code in multiple languages using eval_in https://github.com/NotBlizzard/hyoka
[15:33:39] doctorly: has joined #ruby
[15:33:49] XThief: has joined #ruby
[15:33:50] rcvalle: has joined #ruby
[15:34:50] rocknrol_: has joined #ruby
[15:34:53] jhass: _blizzy_: you should move the LANG and URL constants into your gems namespace
[15:35:06] _blizzy_: jhass, oh, ok.
[15:35:11] jhass: _blizzy_: if not -> unless
[15:35:29] jhass: abort is a bit harsh, raise would be better IMO
[15:35:37] d[^_^]b: has joined #ruby
[15:35:57] spyderman4g63: has joined #ruby
[15:35:59] rocknrollMarc: has joined #ruby
[15:36:13] jhass: what if the request failed?
[15:36:42] Eddieh_: has joined #ruby
[15:36:48] jhass: I think you should credit eval.in in your README a bit more
[15:37:14] k3asd`: has joined #ruby
[15:37:29] revoohc: has joined #ruby
[15:37:46] bluOxigen: has joined #ruby
[15:38:07] maxshelley: has joined #ruby
[15:38:39] _blizzy_: jhass, thanks for the critique. I'll work on it.
[15:38:43] rocknrol_: has joined #ruby
[15:39:13] d[^_^]b: has joined #ruby
[15:40:21] mase-chatter: has joined #ruby
[15:41:12] d[^_^]b: has joined #ruby
[15:41:15] Astrologos_: has joined #ruby
[15:41:25] Kricir: has joined #ruby
[15:41:55] x1337807x: has joined #ruby
[15:42:19] kinduff: has joined #ruby
[15:43:09] d[^_^]b: has joined #ruby
[15:43:48] mistnim: has joined #ruby
[15:43:53] rocknrol_: has joined #ruby
[15:44:29] mistnim: hello, how can I use a case statment for switching between class types?
[15:45:04] mistnim: "case object.class ... when ClassName" doesn't work
[15:45:09] leafybasil: has joined #ruby
[15:45:11] d[^_^]b: has joined #ruby
[15:45:21] ramfjord: has joined #ruby
[15:46:12] dfockler: has joined #ruby
[15:46:48] DexterLB: has joined #ruby
[15:47:11] d[^_^]b: has joined #ruby
[15:47:24] Hanmac1: mistnim: remove the .class
[15:48:49] moretti: has joined #ruby
[15:48:53] mistnim: thanks hanmac1
[15:49:11] d[^_^]b: has joined #ruby
[15:49:21] adefa: has joined #ruby
[15:51:11] d[^_^]b: has joined #ruby
[15:51:42] snockerton: has joined #ruby
[15:51:48] fgo: has joined #ruby
[15:51:52] nonparfumee: has joined #ruby
[15:51:55] allomov_: has joined #ruby
[15:52:06] troyready: has joined #ruby
[15:52:31] NeverDie: has joined #ruby
[15:53:00] shevy: hanmac1 yeah, it was his suggestion that ultimately led to this
[15:53:13] d[^_^]b: has joined #ruby
[15:53:33] tomkadwill: has joined #ruby
[15:53:36] mistnim: wow, I have to say, debugging with ruby is amazing, I would have gone crazy in c++ recompiling everytime
[15:53:41] baweaver: has joined #ruby
[15:53:49] shevy: hanmac1 right now I am studying rdoc... it's weird... Classes: 17 (13 undocumented), Modules: 3 ( 3 undocumented)
[15:54:38] Ilyes512: has joined #ruby
[15:55:13] d[^_^]b: has joined #ruby
[15:55:24] NeverDie: has joined #ruby
[15:56:07] momomomomo: has joined #ruby
[15:56:11] dfinning_: has joined #ruby
[15:57:06] dfinninger: has joined #ruby
[15:57:08] Hanmac1: shevy does rdoc read your ruby or your c(++) code?
[15:57:09] d[^_^]b: has joined #ruby
[15:57:10] rocknrollMarc: has joined #ruby
[15:57:13] eam: mistnim: otoh, jruby + bundler can take longer to startup than many of my c/c++ projects :)
[15:57:22] shevy: hanmac1 only ruby
[15:57:23] eam: (to build)
[15:57:41] baroquebobcat: has joined #ruby
[15:58:23] mase-chatter: has joined #ruby
[15:59:11] d[^_^]b: has joined #ruby
[15:59:13] quimrstorres: has joined #ruby
[16:00:00] moted: has joined #ruby
[16:00:20] ndrei: has joined #ruby
[16:01:11] d[^_^]b: has joined #ruby
[16:02:27] rocknrol_: has joined #ruby
[16:03:05] towski_: has joined #ruby
[16:03:13] d[^_^]b: has joined #ruby
[16:05:33] d[^_^]b: has joined #ruby
[16:06:28] blue_deref: has joined #ruby
[16:06:42] balazs: has joined #ruby
[16:06:56] nb_bez___: has joined #ruby
[16:07:26] mrsolo: has joined #ruby
[16:07:32] hahuang65: has joined #ruby
[16:07:41] balazs: has joined #ruby
[16:08:13] davedev24_: has joined #ruby
[16:08:22] langlands: has joined #ruby
[16:08:54] watchtheblurr: has joined #ruby
[16:09:10] Alayde: has joined #ruby
[16:09:12] d[^_^]b: has joined #ruby
[16:09:22] Scripore: has joined #ruby
[16:10:20] Matachines: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[16:10:23] _seanc_: has joined #ruby
[16:10:28] Spami: has joined #ruby
[16:10:44] momomomomo: has joined #ruby
[16:10:53] zendrix: has joined #ruby
[16:11:11] d[^_^]b: has joined #ruby
[16:11:16] Scrofff: has joined #ruby
[16:11:55] allomov: has joined #ruby
[16:12:34] Channel6: has joined #ruby
[16:13:13] d[^_^]b: has joined #ruby
[16:15:13] d[^_^]b: has joined #ruby
[16:16:35] xxneolithicxx: has joined #ruby
[16:17:09] d[^_^]b: has joined #ruby
[16:19:12] d[^_^]b: has joined #ruby
[16:20:38] OtterCoder: has joined #ruby
[16:20:44] pepelui: has joined #ruby
[16:21:09] d[^_^]b: has joined #ruby
[16:21:14] Mockra: has joined #ruby
[16:21:24] greenbagels: has joined #ruby
[16:21:52] hardlin3r: has joined #ruby
[16:22:56] micmus: has joined #ruby
[16:23:10] d[^_^]b: has joined #ruby
[16:23:12] rocknrollMarc: has joined #ruby
[16:24:14] rocknrollMarc: has joined #ruby
[16:24:25] spyderman4g63: has joined #ruby
[16:24:37] mcclurmc: has joined #ruby
[16:25:09] d[^_^]b: has joined #ruby
[16:25:50] __butch__: has joined #ruby
[16:26:13] bricker: has joined #ruby
[16:26:35] jgt: has joined #ruby
[16:26:47] Guest1526: has joined #ruby
[16:26:55] __butch__1: has joined #ruby
[16:27:09] d[^_^]b: has joined #ruby
[16:28:28] adefa: has joined #ruby
[16:28:43] ndrei: has joined #ruby
[16:29:06] pengin: has joined #ruby
[16:29:09] d[^_^]b: has joined #ruby
[16:29:31] __butch__: has joined #ruby
[16:30:29] hahuang65: has joined #ruby
[16:30:43] rocknrollMarc: has joined #ruby
[16:30:58] atomical: has joined #ruby
[16:31:13] d[^_^]b: has joined #ruby
[16:31:29] iamjarvo: has joined #ruby
[16:32:29] starfox_sf: has joined #ruby
[16:33:01] __butch__: has joined #ruby
[16:33:13] d[^_^]b: has joined #ruby
[16:34:39] anytimebutnow: has joined #ruby
[16:35:08] banister: has joined #ruby
[16:35:36] d[^_^]b: has joined #ruby
[16:36:25] Rubie: has joined #ruby
[16:38:35] rocknrollMarc: has joined #ruby
[16:38:35] ndrei: has joined #ruby
[16:39:11] d[^_^]b: has joined #ruby
[16:39:12] x1337807x: has joined #ruby
[16:39:36] gambl0re: has joined #ruby
[16:39:48] rocknrollMarc: has joined #ruby
[16:39:49] deric_skibotn: has joined #ruby
[16:40:29] rocknrollMarc: has joined #ruby
[16:40:29] BanzaiJoe: has joined #ruby
[16:41:12] iamjarvo: has joined #ruby
[16:41:13] d[^_^]b: has joined #ruby
[16:41:53] iamjarvo: has joined #ruby
[16:41:58] tomkadwill: has joined #ruby
[16:42:30] rocknrol_: has joined #ruby
[16:42:43] watchtheblurr: has joined #ruby
[16:43:10] aapole: has joined #ruby
[16:43:11] d[^_^]b: has joined #ruby
[16:43:24] dblessing: has joined #ruby
[16:43:31] momomomomo: has joined #ruby
[16:45:11] d[^_^]b: has joined #ruby
[16:45:20] NeverDie: has joined #ruby
[16:45:52] wald0: has joined #ruby
[16:46:13] pikos: has joined #ruby
[16:46:53] jasonwebster: has joined #ruby
[16:47:13] d[^_^]b: has joined #ruby
[16:47:16] jenrzzz: has joined #ruby
[16:47:30] jasonwebster: has left #ruby: ()
[16:48:59] goseek: has joined #ruby
[16:49:13] d[^_^]b: has joined #ruby
[16:49:24] goseek: Hi, Ruby beginner here and author of the RIng.pop beginner blog (http://www.ringpop.net)
[16:49:26] paulcsmith: has joined #ruby
[16:49:33] rocknrollMarc: has joined #ruby
[16:49:37] goseek: I cannot for the life of me figure out how to sample an array while also applying a filter
[16:49:50] d[^_^]b: has joined #ruby
[16:50:20] goseek: I want to randomly select one of these symbols, excluding :death and :finished so I can pass it as an argument to another class
[16:50:21] goseek: @@scenes = [
[16:50:21] goseek: {:one => 'Juan.new'},
[16:50:21] goseek: {:two => 'Too.new'},
[16:50:21] goseek: {:death => 'Death.new'},
[16:50:21] goseek: {:finished => 'Finished.new'},
[16:50:23] goseek: {:a1 => 'A1.new'},
[16:50:25] goseek: {:b2 => 'B2.new'},
[16:50:27] goseek: {:c3 => 'C3.new'}
[16:50:32] goseek: Can someone help me?
[16:50:37] eam: goseek: don't paste please, use gist.github.com instead
[16:50:45] goseek: Right, sorry
[16:50:46] havenwood: goseek: Maybe consider rejecting elements you don't want before sampling?
[16:50:53] doctorly: has joined #ruby
[16:51:12] spider-mario: has joined #ruby
[16:51:18] goseek: no implicit conversion of hash into integer
[16:51:20] jhass: !fact mk flood please paste > 3 lines of text to https://gist.github.com
[16:51:23] ruboto: jhass, I already know that flood is Please use https://gist.github.com for more than three lines of text!
[16:51:28] jhass: oh, lol :D
[16:51:32] eam: >> [ :thing1, :thing2, :thing3 ].select {|x| x != :thing2 }.sample
[16:51:33] ruboto: eam # => :thing3 (https://eval.in/375698)
[16:51:43] d[^_^]b: has joined #ruby
[16:52:06] maxshelley: has joined #ruby
[16:52:06] dudedudeman: you said flood and now i'm thinking of halo
[16:52:32] havenwood: goseek: >> [:thing1, :thing2, :thing3, :thing4].reject { |thing| thing == :thing2 }.sample 2
[16:52:37] fujimura: has joined #ruby
[16:52:46] eam: even better
[16:53:44] d[^_^]b: has joined #ruby
[16:54:00] momomomomo_: has joined #ruby
[16:54:09] djbkd: has joined #ruby
[16:54:12] rbowlby: has joined #ruby
[16:54:27] goseek: Same error - no implicit conversion of Hash into integer
[16:54:38] goseek: it must be something else in the script I'm doing wrong
[16:55:04] leat: has joined #ruby
[16:55:13] x1337807x: has joined #ruby
[16:55:15] dudedudeman: << [:thing1, :thing2, :thing3, :thing4].reject { |thing| thing == :thing2 }.sample 2
[16:55:27] eam: goseek: if you can put the script in a gist along with the full error output perhaps we can help
[16:55:32] dudedudeman: >> [:thing1, :thing2, :thing3, :thing4].reject { |thing| thing == :thing2 }.sample 2
[16:55:34] ruboto: dudedudeman # => [:thing3, :thing1] (https://eval.in/375699)
[16:55:58] x1337807x: has joined #ruby
[16:56:06] troyready: has joined #ruby
[16:56:07] Torrieri: has joined #ruby
[16:56:55] x1337807x: has joined #ruby
[16:57:12] d[^_^]b: has joined #ruby
[16:57:43] d[^_^]b: has joined #ruby
[16:57:46] queequeg1: has joined #ruby
[16:57:49] x1337807x: has joined #ruby
[16:57:59] troyready: has joined #ruby
[16:58:57] goseek: It must be something I can't see yet. I'm trying to modify a game from LRTHW
[16:59:06] aeontech: has joined #ruby
[16:59:06] goseek: I'll keep working on figuring this out
[16:59:21] goseek: I need to modify something else in the script for this to work
[16:59:29] havenwood: goseek: @@scenes.reject { |scene| [:death, :finished].any? { |game_over| scene.key? game_over } }.sample
[16:59:45] umgrosscol: has joined #ruby
[17:00:10] troyready: has joined #ruby
[17:00:57] goseek: Yeah, it's still saying 'implicit conversion of Hash into integer. I'm going to paste this to gist if anyone wants to take a little more look at it to point out where I'm being blind
[17:01:02] zz_Outlastsheep: has joined #ruby
[17:01:13] d[^_^]b: has joined #ruby
[17:01:22] kinduff_: has joined #ruby
[17:01:43] d[^_^]b: has joined #ruby
[17:02:16] leat: has joined #ruby
[17:03:39] goseek: Ok here is the gist, guys:
[17:03:46] goseek: https://gist.github.com/GoSeek/3901edfcbf785ef7e2a6
[17:04:03] goseek: I'm trying to modify this excercise from LRTHW: http://learnrubythehardway.org/book/ex43.html
[17:04:13] d[^_^]b: has joined #ruby
[17:05:54] balazs_: has joined #ruby
[17:06:00] XThief: has joined #ruby
[17:06:52] eam: goseek: including the error text makes it very easy to troubleshoot (it'll have a line number)
[17:07:04] vickleton: has joined #ruby
[17:07:12] d[^_^]b: has joined #ruby
[17:07:45] d[^_^]b: has joined #ruby
[17:07:47] eam: you can "add another file" to your gist with the error output
[17:08:10] n80: has joined #ruby
[17:08:26] jhass: ACTION bets on the array of hashes that wants to be a single hash
[17:09:33] mdz_: has joined #ruby
[17:09:43] d[^_^]b: has joined #ruby
[17:09:44] aeontech: has joined #ruby
[17:10:54] existensil: indeed. Map#next_scene tries to treat @@scenes as a hash when its an array
[17:11:08] sarkyniin: has joined #ruby
[17:11:22] goseek: updated gist with error
[17:11:28] ghr: has joined #ruby
[17:11:44] d[^_^]b: has joined #ruby
[17:12:03] jhass: from random_room_initialize_xp1.rb:87:in `next_scene' confirms it
[17:12:10] jhass: that's the line you should look at
[17:12:10] veleno: has joined #ruby
[17:12:23] jhass: and as said reconsider the datastructure you use for @@scenes
[17:12:25] aapole: has joined #ruby
[17:12:45] paulcsmith: has joined #ruby
[17:13:07] goseek: Alright, I'll try changing that back to a hash
[17:13:21] veleno: hello. would anyone suggest how to port this simple line of ruby code that uses the old ruby/dbi lib to the newer Sequel https://gist.github.com/vschiavoni/323ee854bd18a1af34df ? i???, not sure about how to translate the easily translate the ???options??? hashmap
[17:13:24] goseek: it was a hash but then I couldn't figure out how to reject :finished and :death and then sample what was left
[17:13:33] existensil: also reconsider how you are looking up values in that data structure. @@scenes[@start_scene] is what #opening_scene does and that doesn't make any sense given that @start_scene is a value, not a key
[17:15:12] d[^_^]b: has joined #ruby
[17:15:45] d[^_^]b: has joined #ruby
[17:15:49] goseek: I appreciate everyone's input - I'm going to keep working on this
[17:16:06] jhass: goseek: Hash#each yields an array, [key, value]
[17:16:24] goseek: For anyone interested, I'm taking on a documented journey into 1,000 hours of Ruby on Rails. I keep detailed study logs. If you write tutorials, it might be useful to you. I'll be posting what I'm struggling with
[17:16:27] blueOxigen: has joined #ruby
[17:16:34] goseek: I'm at http://www.ringpop.net/
[17:16:41] existensil: goseek: if @@scenes is a hash, then @@scenes.keys.reject{|scene| [:death, :finished].member?(scene) }.sample
[17:16:57] tibig: has joined #ruby
[17:17:05] existensil: no need for an array
[17:17:31] someword1: has joined #ruby
[17:17:40] existensil: this would also work: @@scenes.reject{|scene, value| [:death, :finished].member?(scene) }.sample
[17:17:44] d[^_^]b: has joined #ruby
[17:18:31] __butch__: has joined #ruby
[17:19:38] jackjackdripper: has joined #ruby
[17:19:39] skade: has joined #ruby
[17:19:42] ramfjord: has joined #ruby
[17:19:43] d[^_^]b: has joined #ruby
[17:20:26] jhass: goseek: if you got it to work and want a style review ping back, Zed's style unfortunately is stuck somewhere between 2008 and Python
[17:20:50] bosma_: has joined #ruby
[17:21:43] d[^_^]b: has joined #ruby
[17:21:58] goseek: I've been trying to get this to work for about three days but I'm not going to give up. When I get it or something like it working, I'll come back and ask you guys how I could have done it cleaner
[17:23:02] balazs_: has joined #ruby
[17:23:06] troyready: has joined #ruby
[17:23:08] __butch__: has joined #ruby
[17:23:20] goseek: thanks everyone
[17:23:21] dfockler: jhass: that's my new favorite description of a programming style
[17:23:23] havenwood: goseek: Good idea, this is a good place to get a code review! :)
[17:23:44] d[^_^]b: has joined #ruby
[17:23:56] goseek: Is Zed ever on here?
[17:25:03] jhass: I'd be surprised
[17:25:42] __butch__: has joined #ruby
[17:25:43] d[^_^]b: has joined #ruby
[17:26:27] goseek: Thanks again, I'm out of here.
[17:27:12] djbkd: has joined #ruby
[17:27:18] mbeasley: has joined #ruby
[17:27:20] jgt: has joined #ruby
[17:27:29] mbeasley: has left #ruby: ()
[17:27:44] d[^_^]b: has joined #ruby
[17:28:49] jackjackdripper: has joined #ruby
[17:29:06] ChanServ: -b phale!*@*
[17:29:44] d[^_^]b: has joined #ruby
[17:31:10] mikecmpbll: has joined #ruby
[17:31:43] d[^_^]b: has joined #ruby
[17:33:43] mrsolo: has joined #ruby
[17:33:55] _djbkd: has joined #ruby
[17:34:07] d[^_^]b: has joined #ruby
[17:34:28] mister_solo: has joined #ruby
[17:35:44] d[^_^]b: has joined #ruby
[17:37:00] porfa: has joined #ruby
[17:37:06] porfa: hello guys!
[17:37:44] porfa: I'm looking for a gem to help me out sorting a email list i have.. i found the email_veracity gem but it hasn't been updated in a while??? I'm wondering if anyone can point me to a better gem :)
[17:37:44] d[^_^]b: has joined #ruby
[17:38:16] OtterCoder: has joined #ruby
[17:38:59] langlands: has joined #ruby
[17:39:16] jhass: Mail::Address from the mail gem perhaps?
[17:39:31] Musashi007: has joined #ruby
[17:39:43] d[^_^]b: has joined #ruby
[17:39:52] yekta: has joined #ruby
[17:40:12] failshell: has joined #ruby
[17:40:31] spyderman4g63: has joined #ruby
[17:40:38] x1337807x: has joined #ruby
[17:40:51] joaomdmoura: has joined #ruby
[17:41:19] yekta: Hello, can someone help me debug why every ruby command I???m running is taking forever? I???m in a vagrant VM and I run `bundle exec rake -T --trace` and after a few minutes of thinking it finally comes back with the rake tasks. This is true so far for Ruby 2.1.0, 2.1.2, 2.1.6, 2.2.2.
[17:41:20] leat: has joined #ruby
[17:41:27] psyprus: has joined #ruby
[17:41:31] x1337807x: has joined #ruby
[17:41:43] d[^_^]b: has joined #ruby
[17:41:48] DEA7TH: has joined #ruby
[17:41:57] sanguisdex: has joined #ruby
[17:42:01] OtterCoder: has left #ruby: ()
[17:42:08] yekta: (oh, I???m usinv rbenv too)
[17:42:16] jhass: yekta: what happens if you hit Ctrl+C during that period? Do you get a backtrace?
[17:42:50] chussenot: has joined #ruby
[17:43:10] yekta: https://dpaste.de/tOdS
[17:43:38] troyready: has joined #ruby
[17:43:43] d[^_^]b: has joined #ruby
[17:45:43] d[^_^]b: has joined #ruby
[17:46:26] miah: is your rake trying to send a notification to some xmpp service and having a network issue? =)
[17:47:31] gsd: has joined #ruby
[17:47:34] yekta: miah: interesting thought
[17:47:43] d[^_^]b: has joined #ruby
[17:47:51] frank_o: has joined #ruby
[17:48:11] jhass: yekta: can you create a gist with your Rakefile and your Gemfile please?
[17:48:47] fabrice31: has joined #ruby
[17:48:53] jenrzzz: has joined #ruby
[17:49:43] d[^_^]b: has joined #ruby
[17:51:28] Timba-as: has joined #ruby
[17:51:42] jhass: mmh https://github.com/flyerhzm/uniform_notifier/blob/6b9c3dc935245c82e6c42400390388f85ea8d2db/lib/uniform_notifier/xmpp.rb looks unsuspicious
[17:51:43] d[^_^]b: has joined #ruby
[17:52:19] jhass: it would also be interesting whether if you do the Ctrl+C test again the same backtrace appears
[17:53:11] yekta: jhass: here???s rakefile https://dpaste.de/2Li1 and the gemfile https://dpaste.de/m2Ma
[17:53:37] shevy: File::dirname is the same as File.dirname right? I am cleaning up the ruby cgi core
[17:53:43] d[^_^]b: has joined #ruby
[17:53:51] jhass: shevy: right
[17:54:15] shevy: seems as if they did not switch to the new hash syntax there
[17:54:39] _seanc_: has joined #ruby
[17:54:45] quimrstorres: has joined #ruby
[17:55:02] shevy: I mean it is probably irrelevant... but they could switch to use symbols or? https://gist.github.com/shevegen/70121a6d5a2d964e8a90
[17:55:17] 7YUAAGZZH: has joined #ruby
[17:55:24] shevy: omg just noticed... Cookie::new ... that should be Cookie.new
[17:55:28] jhass: yekta: I have a hunch it's simply that slow in your setup, using latest Ruby, Rubygems and perhaps Spring might alleviate the pain
[17:55:31] shevy: old code is scary
[17:55:44] d[^_^]b: has joined #ruby
[17:56:39] n008f4g_: has joined #ruby
[17:56:51] baweaver: has joined #ruby
[17:57:08] someword: has joined #ruby
[17:57:43] d[^_^]b: has joined #ruby
[17:57:55] Frem: has joined #ruby
[17:57:57] yekta: jhass: thanks
[17:58:44] gsd: has joined #ruby
[17:59:34] shevy: I am thinking of a pattern that allows one to add and remove methods from objects at runtime
[17:59:42] last_staff: has joined #ruby
[17:59:44] d[^_^]b: has joined #ruby
[18:00:22] IrishGringo: has joined #ruby
[18:00:47] jhass: you don't want to do that
[18:00:59] gianlucadv: has joined #ruby
[18:01:00] leat: has joined #ruby
[18:01:43] d[^_^]b: has joined #ruby
[18:02:05] adaedra: shevy.idea.is_a? Bad::Idea # => true
[18:03:32] jhass: shevy.idea.class.ancestors #=> [Really::Bad::Idea, Very::Bad::Idea, Bad::Idea, Random::Idea]
[18:03:36] allomov: has joined #ruby
[18:04:08] d[^_^]b: has joined #ruby
[18:05:44] d[^_^]b: has joined #ruby
[18:05:50] ledestin: has joined #ruby
[18:06:46] djbkd: has joined #ruby
[18:07:07] n80: has joined #ruby
[18:07:10] _blizzy_: has joined #ruby
[18:07:27] symm-: has joined #ruby
[18:07:44] d[^_^]b: has joined #ruby
[18:09:05] frank_o: Hi! Is there a way to tell when REST Client is done fetching these items in the background? https://gist.github.com/dt1973/b57d84bf39a75ea47e9b
[18:09:43] d[^_^]b: has joined #ruby
[18:09:57] dfinninger: has joined #ruby
[18:11:16] casadei: has joined #ruby
[18:11:26] troyready: has joined #ruby
[18:11:33] quimrstorres: has joined #ruby
[18:11:43] d[^_^]b: has joined #ruby
[18:12:08] Guest1526: has joined #ruby
[18:12:21] dionysus69: has joined #ruby
[18:13:43] d[^_^]b: has joined #ruby
[18:13:49] dfockler: frank_o: you're back!
[18:14:03] ghr: has joined #ruby
[18:14:36] frank_o: hey dfockler !
[18:15:10] frank_o: i am indeed. forgot to mention yesterday that this is a background job
[18:15:32] dfockler: so you are returning index before the job finishes
[18:15:33] iamjarvo: has joined #ruby
[18:15:40] senayar: has joined #ruby
[18:15:43] d[^_^]b: has joined #ruby
[18:17:09] ta: has joined #ruby
[18:17:36] rbowlby: has joined #ruby
[18:17:43] d[^_^]b: has joined #ruby
[18:17:51] uris: has joined #ruby
[18:17:57] dfockler: so in the index, your Affiliate.set_items_loaded function won't work right
[18:18:07] dfockler: well it will, but nothing will be loaded yet
[18:18:15] kies: has joined #ruby
[18:18:21] cryptarium_: has joined #ruby
[18:19:17] frank_o: true.. not sure what to do here, asked around and people seemed to recommend weird 3rd party services like www.pubnub.com and www.pusher.com..
[18:19:43] d[^_^]b: has joined #ruby
[18:19:51] balazs: has joined #ruby
[18:20:30] sarkyniin: has joined #ruby
[18:20:53] dfockler: you should be able to just poll using javascript until the job is completed
[18:21:19] dfockler: and have a loading animation or something on your page
[18:21:44] d[^_^]b: has joined #ruby
[18:22:38] frank_o: that makes a lot of sense actually..
[18:23:13] dfockler: just have your fetch method insert the items into the database when it finishes
[18:23:19] sktkbk: has joined #ruby
[18:23:30] VinnyBoy: has joined #ruby
[18:23:43] d[^_^]b: has joined #ruby
[18:24:16] edwinvdgraaf: has joined #ruby
[18:24:17] dfockler: then when it finally adds items, the check_items_loaded route will return the values
[18:24:57] kirun: has joined #ruby
[18:25:10] VinnyBoy: has left #ruby: ()
[18:25:11] sorah: has joined #ruby
[18:25:31] iamjarvo: has joined #ruby
[18:25:44] d[^_^]b: has joined #ruby
[18:25:52] jhass: +b-o d[^_^]b!*@*$#ruby-fix-your-connection jhass
[18:25:56] symm-: has left #ruby: ("Leaving...")
[18:26:01] symm-: has joined #ruby
[18:26:44] frank_o: dfockler: ill give it a go! but it gets a bit tricky i guess since it's supposed to return random items each time..
[18:27:15] micmus: has joined #ruby
[18:27:23] Maria: has joined #ruby
[18:27:30] dfockler: on each page load or each poll?
[18:27:39] frank_o: each page load yeah
[18:27:47] duderonomy: has joined #ruby
[18:28:09] jgt: has joined #ruby
[18:28:10] dfockler: well you can just have your Affiliate.find method have random values
[18:28:24] dfockler: or if there is like a sample function
[18:28:25] doodleha_: has joined #ruby
[18:28:26] someword: has joined #ruby
[18:28:34] frank_o: maybe yeah..
[18:28:38] joaomdmoura: has joined #ruby
[18:29:49] frank_o: ill look into it and keep y'all posted
[18:29:58] frank_o: thanks a lot dfockler !
[18:30:17] dfockler: frank_o: cool, I had the same issue, you'll figure it out eventually
[18:30:22] baroquebobcat: has joined #ruby
[18:30:23] skandi: has joined #ruby
[18:32:37] Scripore: has joined #ruby
[18:33:03] dudedudeman: >> i = [8,1,10,2,7,9,6,3,4,5] print "#{i.sort.join(" ")} test"
[18:33:05] ruboto: dudedudeman # => /tmp/execpad-2f5b6acf55cc/source-2f5b6acf55cc:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/375731)
[18:34:03] havenwood: dudedudeman: #>> 1 2 3 4 5 6 7 8 9 10 test=> nil
[18:34:29] dudedudeman: i clearly don't know how to use ruboto lol
[18:34:45] havenwood: dudedudeman: a semicolon after your Array
[18:35:01] dudedudeman: that's what i was expecting. so, ok. i have that, but when i do a .reverse on that instead of the .sort, it doesn't sort or reverse my array for me
[18:35:07] dudedudeman: ah! a ;. word
[18:35:15] dfinninger: has joined #ruby
[18:36:09] cmisenas: has joined #ruby
[18:36:18] dudedudeman: >> i = [8,1,10,2,7,9,6,3,4,5]; print "#{i.reverse.join(" ")} test"
[18:36:19] ruboto: dudedudeman # => 5 4 3 6 9 7 2 10 1 8 testnil (https://eval.in/375736)
[18:37:20] dudedudeman: ACTION is puzzled
[18:37:30] shevy: dudedudeman have a beer!
[18:37:39] pengin: has joined #ruby
[18:37:49] ponga: dear shevy, i had a beer today, it was delicious
[18:37:52] ponga: **end of diary**
[18:37:59] shevy: ponga korean beer?
[18:38:05] dudedudeman: dear ponga, please give me beer
[18:38:08] ponga: no, german beer
[18:38:15] shevy: curious :)
[18:38:28] codecop: has joined #ruby
[18:38:29] ponga: shevy: bear beer
[18:38:30] djbkd: has joined #ruby
[18:38:43] dudedudeman: no, that's honey
[18:39:01] ponga: shevy: bear beer, wheat
[18:39:10] miah: s/honey/mead
[18:39:18] Jackneill: has joined #ruby
[18:39:31] shevy: miah knows stuff when it comes to alcoholic beverages!
[18:39:40] endash: has joined #ruby
[18:39:44] dudedudeman: well hot dog. i guess it would make sense that the array needs to be sorted BEFORE it can be reversed.
[18:40:02] dudedudeman: >> i = [8,1,10,2,7,9,6,3,4,5]; print "#{i.sort.reverse.join(" ")} test"
[18:40:03] ruboto: dudedudeman # => 10 9 8 7 6 5 4 3 2 1 testnil (https://eval.in/375743)
[18:40:04] ponga: shevy: this is what i had http://www.gzgrocery.cn/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/w/h/wheat-beer18.gif
[18:40:25] shevy: ponga never seen this before
[18:40:48] ponga: shevy: maybe its export range
[18:40:57] shevy: there is an asia shop not far away; today is a free day off, but tomorrow the shop has open; I'll buy some exotic stuff and make some pictures
[18:41:02] shevy: yeah I think you may be right
[18:41:21] danman: has joined #ruby
[18:41:24] fujimura: has joined #ruby
[18:41:29] shevy: oh... "Wei?bier"
[18:41:52] someword: has joined #ruby
[18:41:52] dudedudeman: ACTION off to never never land
[18:41:55] spyderman4g63: has joined #ruby
[18:41:56] coderhs: has joined #ruby
[18:42:12] shevy: that's typical for bavaria in germany I think... which is not far away to the north of austria
[18:43:00] shevy: http://goo.gl/sgoLne you need the foam on top of it ponga, otherwise it does not taste the same :)
[18:43:27] olistik: has joined #ruby
[18:43:31] ponga: shevy: that's why i always pour my can into a glass
[18:43:48] ponga: i don't drink with savages who drink straight from container
[18:43:56] allcentury: has joined #ruby
[18:45:15] troyready: has joined #ruby
[18:46:07] revoohc: has joined #ruby
[18:46:47] jrxiii: has joined #ruby
[18:47:13] balazs: has joined #ruby
[18:47:34] DoubleMalt: has joined #ruby
[18:47:42] yfeldblum: has joined #ruby
[18:47:51] roshanavand: has joined #ruby
[18:48:01] balazs: I'm draw a blank; how do you do something like this in ruby ? server = ARGV[0] || do { puts "Usage: foo"; exit 0}
[18:48:07] revoohc: has joined #ruby
[18:49:10] zendrix: has joined #ruby
[18:49:56] pikos: has joined #ruby
[18:51:15] shevy: balazs server = ARGV[0] || proc { puts "Usage: foo"; exit 0 }.call
[18:51:29] havenwood: >> false or begin puts 'hi'; puts 'bye' end
[18:51:30] ruboto: havenwood # => hi ...check link for more (https://eval.in/375746)
[18:51:51] ruboto: I don't know anything about nope
[18:51:51] jrxiii: has joined #ruby
[18:51:54] Hijiri: has joined #ruby
[18:52:11] ruboto: I don't know anything about jhass
[18:52:17] jrxiii: hey rubyists
[18:52:17] Zai00: has joined #ruby
[18:52:24] havenwood: jrxiii: hey jrxiii
[18:52:25] shevy: that bot needs more knowledge
[18:52:51] Torrieri: has joined #ruby
[18:52:51] Torrieri: has joined #ruby
[18:53:03] balazs: shevy: thanks. I'm guessing that's not a paradigm often used. It's more common to do "unless server", right ?
[18:53:51] jrxiii: anyone know how to verify an installation of ruby? is there an test suite for self verification?
[18:54:14] jrxiii: mainly I want to make sure all features of openssl are working right after compliation
[18:55:03] havenwood: balazs: yup: unless server = ARGV[0]; puts "Usage: foo"; exit; end
[18:55:10] jrxiii: because I???m getting some weird issues on an ubuntu box not playing well with openssl (but only after using it the second time)
[18:55:12] jhass: balazs: do something like help unless ARGV.size == 1 with def help; ...; abort; end;
[18:55:37] jhass: that's a thing?
[18:56:29] havenwood: >> [:neo].one?
[18:56:30] ruboto: havenwood # => true (https://eval.in/375747)
[18:56:50] roshanavand: has joined #ruby
[18:57:15] davidhq: has joined #ruby
[18:57:20] x1337807x: has joined #ruby
[18:57:51] whippythellama: has joined #ruby
[18:58:04] x1337807x: has joined #ruby
[19:00:51] hubcaps: has joined #ruby
[19:00:51] hubcaps: has joined #ruby
[19:00:52] hahuang65: has joined #ruby
[19:00:53] Soda: has joined #ruby
[19:02:07] quimrstorres: has joined #ruby
[19:02:43] frank_o: has joined #ruby
[19:03:52] sandstrom: has joined #ruby
[19:04:33] shevy: balazs I don't know, it is not a common style because very often you could use your gem directly to handle that
[19:04:45] shevy: the way you wrote it reminds me a lot of perl code
[19:04:46] podman: has joined #ruby
[19:05:20] arooni-mobile: has joined #ruby
[19:05:31] shevy: like displaying usage instructions; I typically have that at least in a method, usually even as part of the main object (or main namespace)
[19:05:47] zdman135: has joined #ruby
[19:08:12] uris: has joined #ruby
[19:08:14] chinmay_dd: has joined #ruby
[19:08:45] swgillespie: has joined #ruby
[19:10:02] mdz_: has joined #ruby
[19:10:10] jackjackdripper1: has joined #ruby
[19:11:02] nonparfumee: has joined #ruby
[19:11:44] pikos: has joined #ruby
[19:11:45] troyready: has joined #ruby
[19:11:54] yqt: has joined #ruby
[19:13:16] kinduff: has joined #ruby
[19:13:23] kinduff_: has joined #ruby
[19:13:31] jgt: has joined #ruby
[19:14:45] ghr: has joined #ruby
[19:14:53] slash_nick: when referring to a method... is there any difference in how you'd refer to a class method #foo (def self.foo) versus an instance method #foo (def foo)???... Are both methods referred to as #foo ? lol
[19:15:34] shevy: I think only # are referred to as the instance methods
[19:16:14] havenwood: slash_nick: ::foo versus #foo
[19:16:30] havenwood: slash_nick: class and instance
[19:16:33] slash_nick: awesome... i've wondered that in a few cases lately
[19:17:27] allcentury: has joined #ruby
[19:17:35] eam: which is weird because instance::foo works fine
[19:17:59] djbkd: has joined #ruby
[19:18:35] eam: >> class Foo; def bar; "yup" end; end; x = Foo.new; x::bar
[19:18:36] ruboto: eam # => "yup" (https://eval.in/375752)
[19:18:37] baweaver: has joined #ruby
[19:18:39] Igorshp: has joined #ruby
[19:19:13] jenrzzz: has joined #ruby
[19:19:29] LMity: has joined #ruby
[19:20:25] n80: has joined #ruby
[19:21:52] alvaro_o: has joined #ruby
[19:22:00] olistik: has joined #ruby
[19:22:21] kadoppe: has joined #ruby
[19:22:44] slash_nick: >> class Foo; def bar; "yup" end; end; x = Foo.new; x#bar # does not
[19:23:04] slash_nick: >> class Foo; def bar; "yup" end; end; x = Foo.new; x#bar # does not
[19:23:05] ruboto: slash_nick # => #<Foo:0x4136ff9c> (https://eval.in/375753)
[19:23:27] TinkerTyper: has joined #ruby
[19:23:46] havenwood: slash_nick: that's just a comment
[19:24:13] solussd: has joined #ruby
[19:24:17] havenwood: x#comment here
[19:24:18] slash_nick: havenwood: just adding to eam's comment on how ::class_method_here is a bit weird
[19:24:21] solussd: has left #ruby: ()
[19:24:26] havenwood: slash_nick: ah
[19:26:40] timonv: has joined #ruby
[19:30:20] kenndel: has joined #ruby
[19:30:25] lxsameer: has joined #ruby
[19:32:34] dorei: has joined #ruby
[19:34:08] rickmasta: has joined #ruby
[19:35:53] HotCoder: has joined #ruby
[19:36:30] dnlbyl: has joined #ruby
[19:36:44] quimrstorres: has joined #ruby
[19:37:21] dudedudeman: do you guys remember me talking about the company that was looking for a unicorn yesterday?
[19:37:27] iamjarvo: has joined #ruby
[19:37:28] dudedudeman: they want to set up an interview....
[19:37:37] fabrice31: has joined #ruby
[19:37:46] affenhoden: has joined #ruby
[19:38:19] shock_one: has joined #ruby
[19:38:32] Zai00: has joined #ruby
[19:38:58] quimrstorres: has joined #ruby
[19:39:32] danman: has joined #ruby
[19:39:35] zotherstupidguy: dudedudeman i dont know unicorn, can i still apply?
[19:39:48] dudedudeman: zotherstupidguy: go for it, because i almost don't want to
[19:40:03] jhass: I only played through the ponycorns game, am I still qualified?
[19:40:37] zotherstupidguy: is unicorn really fast?
[19:40:39] aapole: has joined #ruby
[19:40:58] dudedudeman: you guys ask good questions
[19:40:58] zotherstupidguy: Unicorn is designed to only serve fast clients either on the local host or a fast LAN. See the PHILOSOPHY and DESIGN documents for more details regarding this.
[19:41:05] jhass: well, why do we still have pumas but nobody ever saw a unicorn?
[19:41:11] miah: you could use rainbows instead =)
[19:41:18] miah: http://rainbows.bogomips.org/
[19:41:26] zotherstupidguy: its nice to have options
[19:41:46] tuelz2: has joined #ruby
[19:41:51] zotherstupidguy: i think between us 4 we can interview the guy conducting the interview on why he choose unicorn
[19:41:52] dudedudeman: basically, they want an entry level ruby dev to move their C/COBOL program to ruby/rails, and also do network/devops work, as well as facetime with clients, with being on call on some weekends for tech support for their application. it's in the medical sector
[19:42:22] baweaver: has joined #ruby
[19:42:49] pikos: has joined #ruby
[19:42:49] zotherstupidguy: ACTION thinking of nurses!
[19:43:05] sktkbk: has joined #ruby
[19:43:12] n80: has joined #ruby
[19:43:40] OtterCoder: has joined #ruby
[19:43:42] joaomdmoura: has joined #ruby
[19:44:51] dudedudeman: zotherstupidguy: that's not a bad thing i guess
[19:44:52] Zai00: has joined #ruby
[19:44:54] miah: i used to work in the medical sector. it was all researchers. i did work in a wet lab; but that was due to lack of space. i didnt do anything like that. but sometimes i couldnt use the counter top because people were setting gels
[19:45:11] deric_skibotn: has joined #ruby
[19:45:30] zotherstupidguy: nurses are awesome
[19:45:38] miah: why are you stuck on nurses?
[19:45:46] dudedudeman: apparently they have a consultant they used who is in charge of deciding whether or not the candidates they interview are worthy
[19:46:07] miah: zotherstupidguy: you should give http://ruby-community.com/pages/user_rules a read
[19:46:17] jrxiii: hey, looking for some clarity regarding the OpenSSL module. My code errors ???unknown algorithm??? every so often and upon closer inspection, I notice that OpenSSL::Cipher.ciphers occasionally becomes empty (even though when I start the code it is full of the proper ciphers) What???s happening? where should I check for solutions?
[19:46:47] miah: i am relaxed
[19:48:09] shevy: relax more!
[19:48:23] Zai00: has joined #ruby
[19:48:30] miah: i could, but then i wouldnt be very productive at work today
[19:48:48] jrxiii: Since OpenSSL::Cipher.ciphers is defined in ossl.c, I took a look and part of me suspects that the initialization is to blame https://github.com/emboss/ruby-openssl/blob/master/ext/openssl/ossl.c#L797
[19:48:50] _seanc_: has joined #ruby
[19:49:31] jrxiii: I made sure that the OpenSSL.hash doesn???t change in my code, so it???s not that
[19:49:32] zotherstupidguy: jrxiii maybe you want to raise an issue?
[19:50:14] jrxiii: really not sure, this code works on other boxes, just not my prod ubuntu
[19:50:31] olistik: has joined #ruby
[19:51:28] jrxiii: just really wierd that OpenSSL just loses all of its Digest algorithms and Ciphers sometime as my code runs
[19:51:32] Reichswehreid: has joined #ruby
[19:51:46] serivich: has joined #ruby
[19:52:10] zotherstupidguy: is that the german way?
[19:52:22] zotherstupidguy: ok, then you know that i am american
[19:52:22] shevy: I think he is a troll
[19:52:35] havenwood: !mute Reichswehreid
[19:52:36] ruboto: +q Reichswehreid!*@*
[19:52:36] ruboto: -o ruboto
[19:52:39] shevy: yeah he is
[19:52:42] shevy: using webchat
[19:52:55] shevy: and picking a certain nick that is instantly clear in its meaning to german-speaking people
[19:53:02] miah: im always amazed how bored trolls must be
[19:53:05] shevy: I guess it's our old friend
[19:53:05] zotherstupidguy: jrxiii i would check the c extentions and libs used on the machine
[19:53:30] jenrzzz_: has joined #ruby
[19:53:37] jrxiii: zotherstupidguy: they are all the same versions
[19:53:45] dudedudeman: https://www.youtube.com/watch?v=eJFfnTkyj-g
[19:53:57] dudedudeman: ugh, sorry guys. that's a non-ruby related link
[19:54:03] ndrei: has joined #ruby
[19:54:04] dudedudeman: wasn't meant for this channel
[19:54:05] jrxiii: I compiled them from source and linked ruby install to them
[19:54:11] dudedudeman: ACTION backs away...
[19:54:13] shevy: dudedudeman how does that work?
[19:54:32] havenwood: https://github.com/arirusso/micromidi
[19:54:37] havenwood: dudedudeman: Ruby related!
[19:54:39] shevy: but he has no wire?
[19:54:40] NeverDie: has joined #ruby
[19:54:45] ag4ve: has joined #ruby
[19:54:45] Hijiri: has joined #ruby
[19:54:50] jrxiii: so now I???m wondering if there???s a common way that you can test the openssl features for a given ruby installation
[19:54:57] dudedudeman: oh shoot! havenwood with the killer save!
[19:54:59] shevy: or let me rephrase - where does the music originate?
[19:55:24] jhass: shevy: in your head
[19:55:39] zotherstupidguy: thats in your heaaad, zombiee
[19:55:53] uris: has joined #ruby
[19:56:26] n80: has joined #ruby
[19:56:28] zotherstupidguy: The Cranberries - Zombie
[19:56:33] jrxiii: ok, i can take a hint #ruby, my question is too hard for this room
[19:56:42] jrxiii: later kiddies
[19:56:48] b_hoffman: has joined #ruby
[19:57:09] zotherstupidguy: he was seeking thetenderlovve
[19:57:14] shevy: aren't we all
[19:57:18] Reichswehreid: has left #ruby: ()
[19:57:23] b_hoffman: has joined #ruby
[19:57:26] shevy: there is something weird with ext/openssl though
[19:57:29] b_hoffman: has left #ruby: ()
[19:57:38] shevy: it works if I recompile from scratch, then the bindings openssl works for me.
[19:57:45] shevy: but when I go to ext/openssl and do it manually, it does not
[19:57:51] shevy: it works with ext/readline though, so I am confused
[19:58:26] zotherstupidguy: security is too advanced for me, so i just dont care
[19:58:56] davidhq: has joined #ruby
[20:00:14] Torrieri: has joined #ruby
[20:00:14] Torrieri: has joined #ruby
[20:00:45] Polysics: has joined #ruby
[20:00:59] Olipro_: has joined #ruby
[20:01:34] dfinninger: has joined #ruby
[20:01:49] gloscombe_: has joined #ruby
[20:04:16] _seanc_1: has joined #ruby
[20:04:24] iamjarvo: has joined #ruby
[20:05:07] WajidKagzi: has joined #ruby
[20:05:10] iamjarvo: has joined #ruby
[20:05:52] iamjarvo: has joined #ruby
[20:07:17] dblessing: has joined #ruby
[20:08:11] mdz_: has joined #ruby
[20:09:06] FernandoBasso: has joined #ruby
[20:12:19] dp: has joined #ruby
[20:14:11] allomov: has joined #ruby
[20:14:18] tomkadwill: has joined #ruby
[20:14:20] balazs: has joined #ruby
[20:15:59] mdw: has joined #ruby
[20:16:08] doctorly: has joined #ruby
[20:16:57] mdz_: has joined #ruby
[20:18:23] sandstrom: has joined #ruby
[20:18:23] dionysus69: has joined #ruby
[20:20:25] workmad3: has joined #ruby
[20:22:03] leat: has joined #ruby
[20:22:45] ramfjord: has joined #ruby
[20:23:17] cschneid: has joined #ruby
[20:23:30] FernandoBasso: has joined #ruby
[20:24:35] jenrzzz: has joined #ruby
[20:24:41] rickmasta: has joined #ruby
[20:25:43] tomkadwill: has joined #ruby
[20:26:21] bantic: has joined #ruby
[20:27:52] skade: has joined #ruby
[20:30:10] fujimura: has joined #ruby
[20:30:18] bricker: "You're Hired!"
[20:31:24] jhass: adaedra: that's why we hide joins/parts ;)
[20:31:34] baweaver: has joined #ruby
[20:31:37] tomeara: has joined #ruby
[20:32:00] Iskarlar: has joined #ruby
[20:32:17] leat: has joined #ruby
[20:32:24] adaedra: jhass: True. It's too bad no one invented scrolling yet, that could allow me to read the last messages and see that the question still stands.
[20:32:42] slash_nick: adaedra: "Page Up" works for me
[20:32:55] hahuang65: has joined #ruby
[20:33:09] jhass: adaedra: http://cloud.aeshna.de/u/mrzyx/screenshots/screenshot_20150604_223258.png really makes no sense to you?
[20:33:43] shevy: I never see join or quit events
[20:33:45] pdoherty: has joined #ruby
[20:33:48] adaedra: slash_nick: sarcasm!
[20:34:01] adaedra: jhass: wasn't too sure, better check, no?
[20:34:14] jhass: ACTION shrugs
[20:34:32] adaedra: yeah, me too
[20:35:17] momomomomo: has joined #ruby
[20:36:45] phutchins: has joined #ruby
[20:37:06] drewo: has joined #ruby
[20:38:50] Papierkorb: has joined #ruby
[20:39:34] dseitz: has joined #ruby
[20:42:21] leat: has joined #ruby
[20:45:44] m0r0n: has joined #ruby
[20:46:31] starfox_sf: has joined #ruby
[20:47:23] jenrzzz: has joined #ruby
[20:47:55] jackjackdripper: has joined #ruby
[20:48:38] Hijiri: has joined #ruby
[20:49:12] mase-chatter: has joined #ruby
[20:49:31] tmoor: has joined #ruby
[20:52:18] dfockler: has joined #ruby
[20:52:33] zendrix: has joined #ruby
[20:52:46] leat: has joined #ruby
[20:53:25] Spami: has joined #ruby
[20:53:46] jackjackdripper: has joined #ruby
[20:54:53] ndrei: has joined #ruby
[20:56:03] jenrzzz: has joined #ruby
[20:56:17] AndroidLoverInSF: has joined #ruby
[20:58:58] leat: has joined #ruby
[20:59:08] failshell: has joined #ruby
[21:00:40] aryaching_: has joined #ruby
[21:02:28] jackjackdripper1: has joined #ruby
[21:02:44] leat: has joined #ruby
[21:03:50] bertocode: has joined #ruby
[21:04:32] baweaver: has joined #ruby
[21:05:42] x1337807x: has joined #ruby
[21:05:44] pengin: has joined #ruby
[21:06:27] x1337807x: has joined #ruby
[21:07:03] n80: has joined #ruby
[21:08:51] Musashi007: has joined #ruby
[21:11:18] ndrei: has joined #ruby
[21:12:50] wallerdev: has joined #ruby
[21:13:07] ur5us: has joined #ruby
[21:13:19] mberk: has joined #ruby
[21:13:51] sleungcy: has joined #ruby
[21:14:16] mdw: has joined #ruby
[21:15:07] leat: has joined #ruby
[21:17:38] micmus: has joined #ruby
[21:17:42] zendrix: has joined #ruby
[21:17:50] senayar: has joined #ruby
[21:18:14] ndrei: has joined #ruby
[21:21:41] tjbiddle: has joined #ruby
[21:21:58] kinduff: has joined #ruby
[21:21:58] kinduff: has joined #ruby
[21:23:22] A205B064: has joined #ruby
[21:24:07] Hijiri_: has joined #ruby
[21:24:27] Channel6: has joined #ruby
[21:25:08] MatthewsFace: has joined #ruby
[21:25:10] jackjackdripper: has joined #ruby
[21:25:17] tjbiddle: has joined #ruby
[21:26:27] jackjackdripper1: has joined #ruby
[21:26:28] fabrice31: has joined #ruby
[21:27:45] Eddieh_: has joined #ruby
[21:28:13] shock_one: has joined #ruby
[21:28:32] Zai00: has joined #ruby
[21:28:48] ndrei: has joined #ruby
[21:30:06] MuffinPimp_: has joined #ruby
[21:31:08] leafybasil: has joined #ruby
[21:31:29] datanoise: has joined #ruby
[21:31:55] otherj: has joined #ruby
[21:32:49] zendrix: has joined #ruby
[21:33:00] jackjackdripper: has joined #ruby
[21:33:14] otherj: has joined #ruby
[21:33:48] zendrix: has joined #ruby
[21:34:07] houhoulis: has joined #ruby
[21:34:21] adefa: has joined #ruby
[21:34:23] doublemalt_: has joined #ruby
[21:34:45] hahuang65: has joined #ruby
[21:34:47] workmad3: has joined #ruby
[21:35:22] hinbody: has joined #ruby
[21:36:39] nonparfumee: has joined #ruby
[21:38:59] dyce: has joined #ruby
[21:39:43] mdw: has joined #ruby
[21:40:58] BiHi: has joined #ruby
[21:42:00] Eddieh_: has joined #ruby
[21:44:26] SuperTaz_: has joined #ruby
[21:44:48] northfurr: has joined #ruby
[21:45:01] marr: has joined #ruby
[21:48:04] Spami: has joined #ruby
[21:48:44] m0r0n: has joined #ruby
[21:49:43] jgt: dudedudeman: I was asking about the medical thing. Not sure if you saw it. I???m interested. Know how I can get in contact?
[21:50:38] shevy: to alias a class method I do this:
[21:50:45] dudedudeman: ah, just did a ctrl+f to find it
[21:50:45] shevy: class << self; alias new_name old_name; end
[21:50:46] zenspider: any emacs users active?
[21:50:48] dudedudeman: umm, i think they are
[21:50:53] dudedudeman: are you located in DFW
[21:50:55] shevy: is there another elegant way to have the same?
[21:51:26] baweaver: zenspider: Vim \o/
[21:51:39] baweaver: avdi might be though zenspider (emacs)
[21:51:45] zenspider: shevy: I really dislike `class << self`; so sometimes I use it to store it off to `mc` and then send from there
[21:51:52] ludico8: has joined #ruby
[21:51:56] ludico8: Hi everyone!
[21:52:00] shevy: zenspider mc?
[21:52:08] zenspider: I've never seen avdi active here... that I remember
[21:52:14] dudedudeman: jgt: just tagging you to let you know i responded a little above
[21:52:21] Ox0dea: has joined #ruby
[21:52:29] zenspider: mc = (class << self; self; end)
[21:52:30] zenspider: mc.send :attr_accessor, :parallel_executor
[21:52:33] Ox0dea: shevy: class_eval { alias foo bar }
[21:52:34] ludico8: Do you know some gem to check if some url is valid or not with ruby on rails?
[21:52:36] wald0: has joined #ruby
[21:52:37] shevy: ah, interesting
[21:52:38] baweaver: He is on occasion, just not actively looking
[21:52:53] jgt: dudedudeman: I???m in Europe
[21:53:06] ludico8: if someone has had the experience to work with some gem to check if particular url is valid or is broken?
[21:53:07] jgt: dudedudeman: I remember you saying that they were looking to take on remote people
[21:53:13] Sweeper: ludico8: http://ruby-doc.org/stdlib-1.9.3/libdoc/uri/rdoc/URI.html
[21:53:20] avdi: you rang?
[21:53:27] dudedudeman: ACTION bows down
[21:53:35] jgpawletko: has joined #ruby
[21:53:38] jgt: Woah it???s Avdi coming to us live from his balcony
[21:53:51] zenspider: just looking for volunteers/victims for my latest changes to enhanced-ruby-mode
[21:54:10] ludico8: sweeper tnks! Im going to read about it!
[21:54:16] avdi: zenspider: I'm a big fan of that mode
[21:54:16] dudedudeman: avdi, want some coffee?
[21:54:19] baweaver: I just remembered you were an active emacs user avdi
[21:54:31] zenspider: avdi: orly. I thought only jeg and I used it. :)
[21:54:45] dudedudeman: jgt: i know their offices are here in DFW, and they wanted someoen who worked mostly in the office, but could work from home a few days a week if needed/desired
[21:54:51] avdi: zenspider: The Rogues were pretty much all-Emacs for a while
[21:55:00] momomomomo_: has joined #ruby
[21:55:01] zenspider: I just pushed some changes to fix up movement across "sexps" and fix indentation to %w content
[21:55:04] shevy: dudedudeman DFW?
[21:55:05] northfurr: has joined #ruby
[21:55:09] jgt: dudedudeman: Ah ok. Thanks anyway :)
[21:55:20] zenspider: shevy: airport code iirc. DC ?
[21:55:20] avdi: zenspider: so what you are saying is you read my mind and fixed the things that bugged me
[21:55:31] zenspider: avdi: I live to serve, my lord
[21:55:34] dudedudeman: shevy: dallas ft worth!
[21:55:45] senayar: has joined #ruby
[21:55:45] senayar: has joined #ruby
[21:55:45] zenspider: ah. or that one :)
[21:55:48] dudedudeman: jgt: no problem! if i find out anything different, i'll pop in her and holler
[21:55:55] dudedudeman: zenspider: we're better than DC :P
[21:56:07] jgt: I have never been to Texas
[21:56:20] dudedudeman: it's hot. and currently, it's wet
[21:56:22] jgt: but apparently Buffy Tyler is from Texas, and I had a big crush on her when I was 12
[21:56:27] Sweeper: my coworkers are mostly in dfw
[21:56:36] dudedudeman: sweeper: rubyists?
[21:56:36] baweaver: Come to the Bay Area. It's cool and definitely dry right now
[21:56:37] zenspider: I severely dislike texas, but _anything_ is better than DC based on my experiences
[21:56:48] Sweeper: dudedudeman: slowly turning into golangists, but yes :P
[21:56:52] dionysus69: has joined #ruby
[21:56:56] dudedudeman: zenspider: dallas, and maybe austin, are the only two places in texas i'd live
[21:57:00] dudedudeman: both have good ruby communities
[21:57:10] zenspider: avdi: please feel free to file issues against it. I'm trying to get the unit tests up to par but I need to know where to focus
[21:57:13] avdi: zenspider: the definition of sexps was my biggest pain point. If you ever watch a RubyTapas episode, though, there's a decent chance you'll see enh-ruby in the modeline
[21:57:15] Sweeper: austin is apparently weird?
[21:57:30] jgt: sweeper: and they want to keep it that way
[21:57:50] zenspider: my grandparents and dad were from corpus
[21:58:00] iamjarvo: has joined #ruby
[21:58:15] jgt: zenspider: is that short for Corpus Christi?
[21:58:17] avdi: zenspider: I've been meaning to thank you for the mode. ruby-mode's peculiar indentation and inability to understand, well, Ruby had been getting on my nerves for years
[21:58:25] jgt: because coincidentally, that???s what today is called
[21:58:27] zenspider: avdi: so now C-M-f and C-M-b should jump completely over methods/classes/whatever
[21:58:27] veduardo: has joined #ruby
[21:58:43] iamjarvo: has joined #ruby
[21:58:46] avdi: zenspider: where's it at - I forget if I got it off melpa or somewhere else
[21:58:46] zenspider: it still seems to have problems inside a method, with parts of a call, esp args vs block
[21:58:58] zenspider: I push to melpa and melpa-stable
[21:59:04] avdi: ok, cool
[21:59:07] zenspider: tho some of my latest commits aren't on the latter
[21:59:09] avdi: will check it out
[21:59:26] iamjarvo: has joined #ruby
[21:59:36] zenspider: jgt: "what today is called"? yes, corpus christi
[21:59:48] dudedudeman: (corpus is in texas)
[22:00:01] dudedudeman: and man. you guys just introduced me to mepla. should not have looked at that
[22:00:04] avdi: zenspider: I think JEG2 switched to enh-ruby a while back as well
[22:00:23] zenspider: avdi: iirc, he's the reason why I switched
[22:00:34] rickmasta: has joined #ruby
[22:00:40] zenspider: tho it looks like ruby-mode has been massively hacked on since I switched... it does a LOT more now
[22:00:51] jgt: today is a religious holiday in most European countries, and this particular holiday is called ???Corpus Christi???
[22:01:11] dudedudeman: jgt: ha, that's true! I have a friend in germany who posted about that
[22:01:17] zenspider: ah. interesting. yes, there is a city with the same name in texas near the gulf
[22:01:27] badhatter: has joined #ruby
[22:01:29] freerobby: has joined #ruby
[22:01:32] jgt: which is why I wasn???t working today. Instead I walked along the beach for four hours, listening to 1984 on audiobook.
[22:02:01] jgt: everyone says 1984 is about government???s invasion of privacy, but a large portion of the book is about one man???s love for sex and coffee.
[22:02:12] zenspider: avdi: so... poke and figure out the NEXT biggest thing to bug you and file an issue
[22:02:31] zenspider: I'm trying to get this thing flushed out
[22:03:22] zenspider: jgt: coffee is just a metaphor :P
[22:04:25] x1337807x: has joined #ruby
[22:04:59] hinbody: has joined #ruby
[22:05:06] avdi: zenspider: will do!
[22:05:07] x1337807x: has joined #ruby
[22:05:37] dudedudeman: i sometimes wonder if i should take a deep look at emacs
[22:06:03] dudedudeman: then i start googling, get easily confused, and end up running away back in to my corner
[22:06:11] zenspider: dudedudeman: no reason not to
[22:06:19] zenspider: what OS are you on?
[22:06:24] dudedudeman: all of them. lol
[22:06:24] baweaver: Spacemacs :D
[22:06:30] baweaver: ACTION ducks
[22:06:33] vdamewood: has joined #ruby
[22:06:33] jgt: the reason not to would be if you don???t already do vim
[22:06:38] jgt: ACTION dons flamesuit
[22:06:41] ruby-lang563: has joined #ruby
[22:07:10] zenspider: dudedudeman: if you're currently on osx, you already have emacs
[22:07:23] jgt: dudedudeman: and vim!
[22:07:29] dudedudeman: zenspider: i use a hackintosh at home(osx on a dell business laptop. works great for the $150 i paid for it) I have a linux machine at work(non-programming job. for now..). i use cloud9 to code at home and at work when i have down time, so i don't have to cart around a computer
[22:07:29] zenspider: bring up a terminal, `emacs`, then type "C-h t" to start the tutorial
[22:07:35] zenspider: (C-h is control-h)
[22:08:03] ruby-lang563: I have a ruby script to add time to timestamps throughout a document, in HH:MM format: https://gist.github.com/anonymous/5e424d1920aea9b6b65f
[22:08:07] zenspider: on linux I'd recommend installing `emacs-nox` for plain terminal emacs
[22:08:09] ruby-lang563: how would I add a seconds field?
[22:08:14] zenspider: unless you already have its gui deps
[22:08:37] ruby-lang563: instead of just HH:MM, HH:MM:SS
[22:08:39] quimrstorres: has joined #ruby
[22:08:46] baweaver: I use Vim because I started out as a SysAdmin in headless environments, so I'm faster in it. Not much sense in learning a new editor
[22:09:14] zenspider: ruby-lang563: so you're just adding the offset to the existing values?
[22:09:22] dudedudeman: i currently use vim, sublimetext, cloud9, whatever is just readily available
[22:09:39] zenspider: baweaver: I totally disagree.
[22:09:50] crazydiamond: has joined #ruby
[22:09:51] jgt: I haven???t used emacs, but I don???t see the appeal. Everything is chords. One of the best parts of Vim is avoiding chords.
[22:09:53] dudedudeman: zenspider: thanks, i'm going to check that out. i might as well take a run or two at it
[22:10:19] baweaver: zenspider: that being said, it's not like I don't still poke about different languages / editors anyways if for no other reason than curiousity.
[22:10:33] zenspider: devs, esp devs that need to interact with many other devs, should be at least minimally conversant in a number of editors
[22:10:40] AndroidLoverInSF: has joined #ruby
[22:10:45] dudedudeman: jgt: chords? like, multiple button combos at a a time? (studied music in college, so chords mean several things to me. lol)
[22:11:06] baweaver: I tend to use Sublime when pairing, less likely to incite my partner to physical violence to my person :D
[22:11:06] jgt: dudedudeman: yeah, exactly. Also, I was a professional musician before doing programming.
[22:11:13] jgt: so the metaphor is the same
[22:11:27] dudedudeman: ah, awesome! I did music, switched to doing live audio for years, and now here i am. lol
[22:11:30] hal_9000_: funny you mention chords - i???ve been thinking of trying the Twiddler
[22:11:53] zenspider: you two should contribute to the music theory gem
[22:11:55] quimrstorres: has joined #ruby
[22:11:57] jgt: baweaver: funny you mention pairing; my team tend to prefer vim for pairing because it???s so much faster
[22:11:57] phizzbuzz: has joined #ruby
[22:12:04] zenspider: good talk on it at MWRC this year
[22:12:05] bougyman: I pair with one guy who maps ; to :.
[22:12:08] bougyman: it fucks me all up
[22:12:11] hal_9000_: zenspider: btw are you into elixir at all?
[22:12:16] ruby-lang563: zenspider, what do you think?
[22:12:20] dudedudeman: music theory gem!?
[22:12:21] jgt: bougyman: that is total heresy
[22:12:28] dudedudeman: ACTION off to google that
[22:12:29] zenspider: hal_9000_: I haven't touched elixir yet
[22:12:41] ruby-lang563: how might I add a seconds field?
[22:12:43] baweaver: Pianist and Guitar player myself.
[22:12:53] zenspider: lemme make sure I have the right name
[22:12:55] bougyman: guitar here, too
[22:13:00] bougyman: lots of ruby guitarists, i've noticed.
[22:13:08] hal_9000_: trumpet here, studied keyboard + guitar a little
[22:13:09] zenspider: yeah. music_theory
[22:13:19] DrBojingle: has joined #ruby
[22:13:23] baweaver: ruby-lang563: Seems like a hacky solution honestly. I'd make constants for each unit and use that for inc/dec or just bite the bullet and get ActiveSupport's time handling libs
[22:13:26] j4cknewt: has joined #ruby
[22:13:31] jgt: I played the drums, for I am but a simple monkey.
[22:13:33] baweaver: Some Trumpet here
[22:13:39] jgt: still studied jazz harmony at school???
[22:14:05] tmoor: has joined #ruby
[22:14:32] baweaver: Learning Violin, want to be able to play this gem some day: https://www.youtube.com/watch?v=BnsPnyiLdrw
[22:14:34] zenspider: ruby-lang563: I think your code is pretty hacky. Bypassing using real types when it can. EG, the Time class defines `+` so you can add an offset in seconds. It has a method for formatting itself to strings in any format you want.
[22:14:35] tuelz2: has joined #ruby
[22:14:46] deric_skibotn: has joined #ruby
[22:15:02] ruby-lang563: sorry, i'm a total newb; i didn't write this
[22:15:04] baroquebobcat: has joined #ruby
[22:15:05] ruby-lang563: someone wrote it for me
[22:15:11] zenspider: that said, you'd need to expand your regexp to match seconds, then do the same type of unit math for the seconds field.
[22:15:15] baweaver: someone is a perl programmer ;)
[22:15:18] jgt: on vim, if you catch anyone remapping : ; or , slap them on the fingers with a ruler
[22:15:37] hal_9000_: lol, i remap capslock to nothing on my mac
[22:15:50] bougyman: i do have capslock as ctrl
[22:15:59] jgt: capslock is an excellent candidate for <esc>
[22:16:00] hal_9000_: lots of people do that, yes
[22:16:01] bougyman: but that's sanity, since I use stumpwm as my wm
[22:16:13] dudedudeman: man, i have been hemming and hawing about doing that
[22:16:20] ruby-lang563: so something like this: $_.gsub!(/(\d\d):(\d\d):(\d\d)/) do
[22:16:20] baweaver: ctrl for me (TMUX)
[22:16:24] dudedudeman: but i currently don't even use a vimrc...
[22:16:25] zenspider: I never got used to using control on home row, even when working on a sun3 kbd
[22:16:27] dudedudeman: please don't hate me
[22:16:39] bougyman: 1: it takes some getting used to and 2: you start going crazy when you use someone else'd capslock-mapped 'puter.
[22:16:50] baweaver: ruby-lang563: I wouldn't
[22:16:55] bougyman: by now i've finally gotten used to going back and forth, but I have to make a mental switch.
[22:17:18] dfockler: just this conversation is making my pinkies hurt
[22:17:29] dfockler: what a weird name for fingers 'pinkies'
[22:17:37] shevy: it's cute
[22:17:41] hal_9000_: i bet no one here has used a twiddler?
[22:17:42] shevy: much cuter than "thumb"
[22:17:55] bougyman: and I also carry a noppoo choco keyboard around with me everywhere now. which has a hardware capslock->ctrl switch
[22:17:58] bougyman: very very handy
[22:18:00] baweaver: ruby-lang563: Make functions that return the right offset value for Hours, Minutes, and Seconds
[22:18:07] baweaver: then add it to the Time value
[22:18:10] jgt: dudedudeman: start building one
[22:18:21] baweaver: that regex is straight perl hackery and will be very difficult to maintain
[22:18:21] jgt: dudedudeman: but don???t just copy hundreds of lines from someone else
[22:18:54] fujimura: has joined #ruby
[22:19:12] dudedudeman: jgt: regarding .vimrc's, i have at least experience/learned that much. i had some lines of one for a while, but now that i currently do dev work on three different computers, i just haven't bother making it a localized/centralized thing. i should
[22:19:12] jgt: dudedudeman: start with something like vim-sensible, then listen to your body in your day to day work. When you find something awkward/painful, either learn a better way or add to the vimrc
[22:19:30] zenspider: >> offset = (12 * 3600 + 7 * 60 + 30); t = Time.new(1,1,1,10,11,12) + offset; t.strftime "%H:%M:%S"
[22:19:33] ruboto: zenspider # => "22:18:42" (https://eval.in/375815)
[22:19:44] zenspider: ruby-lang563: ^^^
[22:20:02] bougyman: I went ahead and git-ed my ~/.vim a while back
[22:20:11] zenspider: calculate offset in seconds, create a new time object (w/ BS year/mo/day), add offset, output string
[22:20:18] dudedudeman: jgt: will do. thank you so much for the tips with it. i know ctrlp is another one i'm wanting to look at
[22:20:18] jgt: really great idea to git your whole dotfiles
[22:20:22] bougyman: it got too big to maintain by hand on all my boxen: https://github.com/bougyman/dotvim
[22:20:56] demophoon: +1 for throwing your dotfiles in vcs, i have everything for the last 3 years in my dotfiles repo
[22:20:57] zenspider: pshh... Change 1 on 1998/11/26 by ryand@new 'Initial revision '
[22:21:09] jgt: dudedudeman: np. Do you have a twitter? I???m not on irc all the time and if that medical company come back to you, I don???t want to miss out
[22:21:15] bougyman: the .vimrc is actually pretty small, but .vimrc-common isn't tiny. I share the .vimrc-common with vim and neovim
[22:21:20] zenspider: amateurs :P
[22:21:47] bougyman: zenspider: I had that .vim as part of a larger dotfiles repo.
[22:22:07] bougyman: but it was unwieldy to get all my ~/.<dotfiles> every time I just wanted to config a vim.
[22:22:15] bougyman: so I broke it into its own a few years ago
[22:22:15] dudedudeman: can i pm it to you?
[22:22:30] zenspider: I suspect my crap went back further, but not in a VC that could be converted over
[22:22:32] bougyman: I gues just last year.
[22:22:44] zendrix: has joined #ruby
[22:23:23] ruby-lang563: where do I change the offset values?
[22:23:47] jenrzzz: has joined #ruby
[22:23:50] baweaver: ruby-lang563: You have to put some effort in yourself on this mate.
[22:23:59] baweaver: We can't just ship you out a complete solution
[22:24:01] ruby-lang563: dude, i don't know ruby at all
[22:24:17] baweaver: There's a starting point then
[22:24:27] ritemeow: has joined #ruby
[22:24:28] ruby-lang563: nvm, will be back later
[22:24:33] ritemeow: serious question here
[22:24:43] ritemeow: anyone into movies and theatre?
[22:24:43] baweaver: ACTION puts on serious hat
[22:24:48] ritemeow: like performing and stuff
[22:24:51] baweaver: ACTION takes off serious hat
[22:24:54] jhass: ritemeow: with Ruby?
[22:24:54] havenwood: ritemeow: With Ruby?
[22:25:08] ankhers: has joined #ruby
[22:25:11] niftylettuce: has joined #ruby
[22:25:13] ritemeow: i know this is a ruby channel but i want to get to know people here better
[22:25:14] jhass: ritemeow: welcome to the Ruby programming language channel
[22:25:36] jhass: start with some ontopic questions then or pick an offtopic channel
[22:25:39] c355E3B: has joined #ruby
[22:25:40] dfockler: Ruby: It's about Gems and Jewelry
[22:25:45] n008f4g_: has joined #ruby
[22:26:01] AlHafoudh: has joined #ruby
[22:26:01] dudedudeman: ^ lol. those last 4 lines are gold
[22:26:06] ritemeow: i was just wondering if there are any actors that are also programmers
[22:26:21] havenwood: ritemeow: See Celluloid.
[22:26:30] martinbmadsen: has joined #ruby
[22:26:34] AlxAltea: has joined #ruby
[22:26:43] ritemeow: havenwood: what do you mean by that?
[22:26:49] OtterCoder: has joined #ruby
[22:26:51] dfockler: havenwood: omg that was excellent
[22:26:54] flori: has joined #ruby
[22:27:08] baweaver: Scala works better with Actors honestly.
[22:27:10] DoubleMalt: has joined #ruby
[22:27:11] zenspider: ritemeow: seriously. there are offtopic channels for this. This isn't one of tem.
[22:27:19] kinduff: has joined #ruby
[22:27:24] digifiv5e: has joined #ruby
[22:27:49] ritemeow: well you guys are telling me to go to off topic channels and haven't listed any of them :(
[22:28:01] zenguy_pc: has joined #ruby
[22:28:03] zenspider: damn. nearly a thousand commits just to my Bin/Config/elisp alone
[22:28:04] ritemeow: i sense me getting banned really soon
[22:28:11] mberk: has joined #ruby
[22:28:33] derekv: has joined #ruby
[22:28:58] pepelui: has joined #ruby
[22:28:58] HotCoder: has joined #ruby
[22:29:26] veduardo: has joined #ruby
[22:29:28] Gadgetoid: has joined #ruby
[22:29:50] workmad3: has joined #ruby
[22:30:26] ritemeow: so what's a good off topic channel to go to?
[22:30:45] pulgolino: has joined #ruby
[22:31:12] wasamasa: https://freenode.net/faq.shtml#channellist
[22:31:44] duderonomy: has joined #ruby
[22:31:50] Igorshp: has joined #ruby
[22:31:57] wasamasa: don't expect to find anything good though as this network is specifically about software
[22:32:06] dfinninger: has joined #ruby
[22:32:24] momomomomo: has joined #ruby
[22:32:34] wallerdev: has joined #ruby
[22:33:35] ritemeow: wasamasa: yes i know this is a developer network and i wanted to know if there are any other developers that are into programming
[22:34:06] max--1: has joined #ruby
[22:34:14] pasv: has joined #ruby
[22:34:53] wasamasa: if anything, it would be writing
[22:35:21] max--1: has left #ruby: ()
[22:35:35] wasamasa: we've got a phillord guy on #emacs who keeps insisting he's the lego movie director
[22:37:54] iamjarvo: has joined #ruby
[22:38:16] ritemeow: why is he claiming to be the lego movie director?
[22:38:19] max--1: has joined #ruby
[22:38:35] PaulePanter: has joined #ruby
[22:38:37] iamjarvo: has joined #ruby
[22:38:46] hal_9000_: he doesn???t want to admit he???s justin bieber
[22:39:31] yfeldblum: has joined #ruby
[22:39:50] wasamasa: because that would be Phil Lord?
[22:43:11] skinny_much: has joined #ruby
[22:43:24] wasamasa: ugh, I'll go to sleep as this question is boring (who busy with acting would still have time for developing...)
[22:43:27] C0deMaver1ck: has joined #ruby
[22:44:01] maxshelley: has joined #ruby
[22:44:15] elaptics: has joined #ruby
[22:45:01] x1337807x: has joined #ruby
[22:45:46] x1337807x: has joined #ruby
[22:47:32] radens: has joined #ruby
[22:47:37] iamjarvo: has joined #ruby
[22:47:39] radens: has left #ruby: ("WeeChat 1.0.1")
[22:49:29] shadoi: has joined #ruby
[22:49:38] jaycee: has joined #ruby
[22:50:08] eggoez: has joined #ruby
[22:51:28] quimrstorres: has joined #ruby
[22:51:37] baweaver: has joined #ruby
[22:52:08] blackmesa: has joined #ruby
[22:52:10] platosha: has joined #ruby
[22:54:16] northfurr: has joined #ruby
[22:54:16] idafyaid: has joined #ruby
[22:54:17] Ropeney: has joined #ruby
[22:54:29] Kemdo: has joined #ruby
[22:55:34] Kemdo: What should I pass around in a class, the object name or the method name that return that object?
[22:56:14] zenspider: ENOMAKESENSE
[22:56:27] chussenot: has joined #ruby
[22:56:33] shock_one: has joined #ruby
[22:56:43] Kemdo: zenspider, Reconsider your understanding.
[22:57:19] Akagi201: has joined #ruby
[22:57:32] ritemeow: are there any ruby positions that will allow people to take time off whenever they want?
[22:57:45] zenspider: Kemdo: I'm done. have fun with that
[22:58:06] deric_skibotn: has joined #ruby
[22:58:30] Kemdo: zenspider, Sir. Carealot
[22:58:48] zenspider: !mute Kemdo
[22:58:49] ruboto: +q Kemdo!*@*
[22:58:49] ruboto: -o ruboto
[22:59:14] jwaldrip__: has joined #ruby
[22:59:20] zenspider: like I said, have fun with that.
[22:59:32] zenspider: you're welcome to take it up in #ruby-banned
[22:59:47] Akagi201: has joined #ruby
[22:59:57] zenspider: in the meantime, reconsider your attitude.
[23:00:56] baweaver: ACTION considers joining said channel for potential comedic value
[23:01:00] BiHi: has joined #ruby
[23:01:12] jcake: I started watching a show
[23:01:17] jcake: and I didn't realize VLC had shuffle on
[23:01:33] jcake: so I watched 1,2, then half of 17.... now it's spoiled
[23:02:07] nibbo: has joined #ruby
[23:02:12] tuelz2: has joined #ruby
[23:02:28] goodcodeguy: has joined #ruby
[23:06:01] luckyme: has joined #ruby
[23:06:11] bricker: has joined #ruby
[23:06:27] mark[oz]: has joined #ruby
[23:09:55] frog0909: has joined #ruby
[23:14:28] charliesome: has joined #ruby
[23:15:26] dfockler: does a Hash, actually do a hashing function to find key value pairs?
[23:15:45] mooe: has joined #ruby
[23:15:45] dfockler: or are they like tuples in memory?
[23:16:00] baweaver: Ruby Under a Microscope
[23:16:07] bkxd: has joined #ruby
[23:16:10] eam: dfockler: yes it's a hash table
[23:16:30] eam: O(1) lookups
[23:17:14] dfockler: Is it hashing memory addresses?
[23:17:23] dfockler: I guess I'll go look it up
[23:17:32] chussenot: has joined #ruby
[23:17:46] zendrix: has joined #ruby
[23:17:51] quimrstorres: has joined #ruby
[23:18:00] mcclurmc: has joined #ruby
[23:18:57] jhass: dfockler: it's using whatever #hash returns, so I guess what you want to look up is the implementation of Object#hash ;)
[23:19:03] duderonomy: has joined #ruby
[23:19:08] zenspider: dfockler: `ri Hash`. it actually explains a lot
[23:19:26] jhass: but most core classes override it to something sensible
[23:19:40] zenspider: eg "Two objects refer to the same hash key when their hash value is identical and
[23:19:42] zenspider: the two objects are eql? to each other."
[23:20:14] pengin: has joined #ruby
[23:24:54] jenrzzz: has joined #ruby
[23:25:29] veduardo: has joined #ruby
[23:25:47] someword: has joined #ruby
[23:26:55] dfockler: That's interesting, so you can affect how your classes get hashed based on the classes eql? method
[23:28:49] momomomomo: has joined #ruby
[23:28:52] spider-mario: has joined #ruby
[23:29:14] zenspider: dfockler: hash + eql?
[23:31:34] swgillespie: has joined #ruby
[23:31:41] rickmasta: has joined #ruby
[23:34:05] x1337807x: has joined #ruby
[23:34:49] x1337807x: has joined #ruby
[23:35:06] aeontech: has joined #ruby
[23:35:40] gambl0re: has joined #ruby
[23:35:41] x1337807x: has joined #ruby
[23:36:37] n80: has joined #ruby
[23:38:05] NeverDie: has joined #ruby
[23:38:22] dfockler: How do people manage working in these giant C libraries?
[23:38:42] zenspider: what giant C libraries?
[23:38:58] phizzbuzz: has joined #ruby
[23:39:02] zenspider: emacs/vim + ctags + other organization / navigation tools
[23:39:16] eam: they're pretty modular
[23:39:45] dfockler: yeah they are easy to look at, they just have a lot of calls to lots of different places
[23:42:03] hahuang65: has joined #ruby
[23:42:23] hahuang65: has joined #ruby
[23:42:43] brothmars: has joined #ruby
[23:44:36] Jandre: has joined #ruby
[23:45:52] ddarkpassenger: has joined #ruby
[23:45:59] CustosLimen: has joined #ruby
[23:46:29] max--1: has joined #ruby
[23:47:29] baweaver: has joined #ruby
[23:47:42] Azure: has joined #ruby
[23:48:04] vivekananda: has joined #ruby
[23:48:05] CustosLimen: has joined #ruby
[23:48:58] veduardo: has joined #ruby
[23:51:48] iamninja: has joined #ruby
[23:52:13] wallerdev: has joined #ruby
[23:52:38] Akagi201: has joined #ruby
[23:53:41] datanoise: has joined #ruby
[23:55:17] nedp: has joined #ruby
[23:56:15] Akagi201_: has joined #ruby
[23:58:45] jackjackdripper1: has joined #ruby