« Back to channel list

#ruby - 26 November 2015

« Back 1 day Forward 1 day »
[00:00:02] azgil: has joined #ruby
[00:00:06] z1haze: weird, thats all it shows
[00:00:15] havenwood: z1haze: scroll up?
[00:00:17] z1haze: http://puu.sh/lyPL1/0a3cfc173e.png
[00:00:34] havenwood: ?rails z1haze
[00:00:35] ruboto: z1haze, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[00:00:48] jhass: z1haze: look at the top
[00:01:06] jhass: you didn't initialize the database schema or run something in a wrong environment where it uses another database
[00:01:18] z1haze: that was an hour earlier, thats all working now
[00:01:18] jhass: this is really really specific to discourse
[00:01:40] z1haze: i know, but they have no support.. like i said, its been days since a message has been replied to in there
[00:02:07] z1haze: Just wish I knew what the error was, so Id know what to look for next
[00:02:19] jhass: https://meta.discourse.org/c/support looks very active
[00:03:32] rigsby: has joined #ruby
[00:03:37] _blizzy_: has joined #ruby
[00:04:26] Marsupermammal: has joined #ruby
[00:05:58] willardg: has joined #ruby
[00:07:41] craysiii: has joined #ruby
[00:08:54] roshanavand: has joined #ruby
[00:10:57] DenysLins: has joined #ruby
[00:12:09] Rollabunna: has joined #ruby
[00:13:10] n0fx: has joined #ruby
[00:14:20] last_staff: has joined #ruby
[00:15:17] CloCkWeRX: has joined #ruby
[00:15:26] droptone: Ok, so here's a question.
[00:15:44] bubbys: has joined #ruby
[00:15:49] _djbkd: has joined #ruby
[00:15:58] droptone: This gist details the basic structure of the array returned from the API provider: https://gist.github.com/anonymous/4f354651511515d4755a
[00:16:05] Guest33: has joined #ruby
[00:16:07] akem: has joined #ruby
[00:16:47] droptone: I'm attempting to utilize .select() as suggested to isolate array entries with "user"=>{"links"=>{"self" with a specific user ID value.
[00:16:58] dimasg: has joined #ruby
[00:17:07] droptone: When I run that, I get NoMethodError: undefined method `[]' for nil:NilClass
[00:17:27] kimegede: has joined #ruby
[00:17:39] Coraline: class Nil; def []; end; end
[00:17:53] Coraline: Ruby would be so much better with that!
[00:17:55] droptone: And I"ve noticed I can check for my["user"] it will return.
[00:17:57] Coraline: self.[] that is
[00:18:07] droptone: It will not return the "no method error" error.
[00:18:26] ins3ct: has left #ruby: ("zZzZ")
[00:18:26] Coraline: droptone: your gist has link and links
[00:18:33] droptone: But if I check for anything a layer deeper in that "user"=>{"links"=>{"self" section of the hash, it gives that no method error.
[00:19:13] droptone: Sorry, that's a typo.
[00:19:15] droptone: Let me correct that.
[00:19:39] droptone: https://gist.github.com/anonymous/5bf245bb7d69303f6ee1
[00:19:40] droptone: There you go.
[00:20:06] Coraline: That doesn't throw an error for me.
[00:20:16] Coraline: I get an empty array.
[00:20:21] mg^^: Isn't this what the upcoming safe navigation syntax solves?
[00:20:37] Ropeney: has joined #ruby
[00:20:38] mg^^: Not that it helps now
[00:20:43] KnownSyntax: has joined #ruby
[00:20:57] Coraline: Also 104396235 is an integer in your select, a string in your array
[00:21:22] droptone: Yeah, I'm still getting a no method error.
[00:21:24] droptone: Even if I simply go
[00:21:59] Aasha: has joined #ruby
[00:22:21] beauby: has joined #ruby
[00:22:22] droptone: myarr.select { |my| my["user"]["links"] == 10439648 }
[00:22:29] droptone: Just for the sake of testing.
[00:22:32] droptone: "no method error"
[00:22:36] droptone: The hell am I doing wrong here.
[00:22:54] jhass: droptone: you're not figuring out what's nil is what you do wrong
[00:23:07] Coraline: I am literally pasting in your example and getting back an empty array
[00:23:19] jhass: droptone: p(my); p(my["user"])
[00:23:41] droptone: myarr isn't empty
[00:23:45] droptone: it's not nil.
[00:24:06] jhass: sorry, but you need to sharpen your reading skills
[00:24:09] maloik: has joined #ruby
[00:24:18] droptone: lol, what makes you say that?
[00:24:24] mg^^: yeah the only problem there is the data type
[00:24:35] jhass: I said nothing about myarr (which is a horrible variable name btw)
[00:24:54] droptone: I've checked over and over, none of the hash elements I've analyzed are nil, or not present.
[00:25:12] droptone: jhass: It's an example to obsfuscate the code, I'm not pasting proprietary code in a Ruby help channel on freenode.
[00:25:19] Backz: has joined #ruby
[00:25:21] droptone: Right, I'm obviously missing something, but I'm having trouble determining what.
[00:25:23] jhass: then hire a consultant
[00:25:38] jhass: I'm serious
[00:25:56] RobertBirnie: has joined #ruby
[00:26:15] droptone: Well, considering I've got users around the world using my code, and I only occassionally need help, I usually just interact with the community.
[00:26:25] moei: has joined #ruby
[00:26:28] droptone: But that's cool, because I"m missing this one specific detail here.
[00:26:30] jhass: if you're unable to find your mistake and not able to share the tiniest bit of code or an example that accurately reproduces your issue, you need to get help that is allowed to see your code
[00:26:34] droptone: I'll just drop everything and hire a consultant.
[00:26:35] mg^^: Clearly your real data has missing keys somewhere
[00:26:52] droptone: It's all good, I'll keep at it, thank you.
[00:26:54] Coraline: myarr.select { |my| my["user"]["links"].nil? }
[00:27:01] kies: has joined #ruby
[00:27:28] droptone: Coraline: Yes, something's up, perhaps one of the array elements are missing those values.
[00:27:34] droptone: I'll figure it out, thanks for the help.
[00:27:40] Rollabunna: has joined #ruby
[00:27:43] nso95: has joined #ruby
[00:28:24] B1n4r10: has joined #ruby
[00:28:59] mg^^: but I'm on board with jhass here, if you're not allowed to share the actual code and data that is failing, it's going to be hard to get more than idle guesses
[00:29:29] roshanavand: has joined #ruby
[00:29:35] droptone: I figured it out, thanks Coraline.
[00:30:34] djbkd: has joined #ruby
[00:30:35] makneegerz: has joined #ruby
[00:31:46] linuxboytoo: has joined #ruby
[00:32:47] beauby: has joined #ruby
[00:34:45] crdpink2: has joined #ruby
[00:35:59] linuxboy_: has joined #ruby
[00:36:40] JazzyVariable227: has joined #ruby
[00:38:08] makneegerz: Does anyone have details on Ruby 3 yet ?
[00:38:16] rakm: has joined #ruby
[00:38:34] nopolitica: has joined #ruby
[00:38:39] Marsupermammal: has joined #ruby
[00:38:53] Scripore: has joined #ruby
[00:39:28] jhass: I doubt there's a final plan yet
[00:40:49] Bellthoven: has joined #ruby
[00:41:24] driftig: I doubt there's a plan yet.
[00:42:50] s2013: has joined #ruby
[00:45:27] makneegerz: O Yeah i heard about the type casting stuff which essential assigns your variable to class, however thats what Ruby does when assigning a = 1 or a = "test" does this mean you will be able to fix a type for variable so it can't change?
[00:45:41] freerobby: has joined #ruby
[00:46:12] jhass: I only heard about type restrictions on method arguments
[00:46:21] mistermocha: has joined #ruby
[00:47:03] yeshacker: has joined #ruby
[00:47:05] driftig: Did you read this, or listen to someone say this?
[00:47:27] jhass: probably someone mentioned it here some time
[00:47:48] djbkd: has joined #ruby
[00:48:17] makneegerz: Ok so you can pass through only that type useful and flexible
[00:50:05] iateadonut: has joined #ruby
[00:50:09] roshanavand: has joined #ruby
[00:51:06] driftig: I wonder if Ruby would be faster than Python if they dial down GIL protections to non-thread blocking systems.
[00:51:11] antoniobeyah: has joined #ruby
[00:51:11] makneegerz: Think i read it a while ago drift , but the method args stuff i saw on the Matz video
[00:51:27] n0fx: has joined #ruby
[00:51:40] rickmasta: has joined #ruby
[00:53:06] atomical: has joined #ruby
[00:54:48] driftig: Why people abandon the Ruby community is probably why Ruby lacks any true corporate backing.
[00:55:11] yfeldblum: has joined #ruby
[00:55:33] DenysLins: has joined #ruby
[00:56:43] pawnbox: has joined #ruby
[01:02:32] gustav__: has joined #ruby
[01:02:51] robbyoconnor: has joined #ruby
[01:03:05] willardg: has joined #ruby
[01:04:30] HaZardX: has joined #ruby
[01:07:46] zacstewart: has joined #ruby
[01:09:25] nso95-: has joined #ruby
[01:09:25] nso95-: has joined #ruby
[01:09:45] skade: has joined #ruby
[01:13:46] TomPeed: has joined #ruby
[01:13:55] dome22xl: has joined #ruby
[01:15:34] dome22xl: Is the elixir irc channel on freenode ?
[01:15:50] nso95-: dome22xl: there is one, yeah
[01:16:14] willardg: has joined #ruby
[01:16:49] ekinmur: has joined #ruby
[01:16:52] Vile`: has joined #ruby
[01:17:09] tubuliferous_: has joined #ruby
[01:17:40] jhass: dome22xl: /msg alis help
[01:17:45] dome22xl: Ok i checked checkef that out channel has no title when you join?
[01:18:00] ja: why aren't OpenStructs pretty-printed? :<
[01:18:19] ja: whine, whine, yeah I know, sorry.
[01:18:52] weemsledeux: has joined #ruby
[01:18:59] karapetyan: has joined #ruby
[01:20:21] poguez_: has joined #ruby
[01:20:26] maloik: has joined #ruby
[01:20:59] droptone: Is there more of a hangout channel for the Ruby community?
[01:21:04] sankaber: has joined #ruby
[01:21:14] jhass: ?offtopic
[01:21:14] ruboto: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[01:21:23] ja: and it's great. it has hangman!
[01:21:28] droptone: haha, very nice.
[01:21:51] ja: fiendishly difficult hangman though, I must warn you
[01:22:12] zenguy_pc2: has joined #ruby
[01:22:16] droptone: Noted, thank you.
[01:26:08] pawnbox: has joined #ruby
[01:26:11] nso95-: has joined #ruby
[01:26:35] Vitor: has joined #ruby
[01:26:59] SCHAAP137: has joined #ruby
[01:27:04] jackcom: has joined #ruby
[01:29:15] Azure: has joined #ruby
[01:29:53] Aasha: has joined #ruby
[01:30:09] tomchapin: has joined #ruby
[01:30:20] Spami: has joined #ruby
[01:30:50] ellismarte: has joined #ruby
[01:30:57] roshanavand: has joined #ruby
[01:32:18] bersimoes: has joined #ruby
[01:33:08] HaZardX: has joined #ruby
[01:35:07] ICantCook: has joined #ruby
[01:35:14] ICantCook: has left #ruby: ()
[01:35:20] diegoviola: what are some usecases when you actually need async? or node.js
[01:35:51] diegoviola: or epoll/kqueue
[01:36:24] jhass: the thing with network an disk IO is that you wait a long time on data to arrive
[01:36:46] jhass: so that the time your program just waits without doing anything
[01:36:52] diegoviola: what type of applications need that?
[01:37:07] jhass: by using non-blocking calls you can utilize that time to do computations
[01:37:30] JazzyVariable227: has joined #ruby
[01:37:30] jhass: it's simply more efficient for IO dependent workloads
[01:38:43] dlitvak: has joined #ruby
[01:38:49] Scripore: has joined #ruby
[01:39:26] patdohere: has joined #ruby
[01:40:01] haraoka: has joined #ruby
[01:41:14] Torrieri: has joined #ruby
[01:41:14] Torrieri: has joined #ruby
[01:41:16] nso95-: has joined #ruby
[01:41:47] Torrieri: has joined #ruby
[01:47:18] willardg: has joined #ruby
[01:50:24] braincrash: has joined #ruby
[01:51:41] gambl0re: has joined #ruby
[01:51:48] roshanavand: has joined #ruby
[01:54:04] Guest33: has joined #ruby
[01:56:10] ellismarte: i???m trying to decompress some zipped files and i followed the docs but i???m getting an error message saying ???incorrect header check(zlib::dataerror) https://gist.github.com/ellismarte/7cd7151967861f6e9afc#file-compress-rb-L34-L41
[01:56:15] djbkd: has joined #ruby
[01:56:27] ellismarte: here???s the example i followed http://ruby-doc.org/stdlib-1.9.3/libdoc/zlib/rdoc/Zlib/Inflate.html#method-c-new-label-Example
[01:57:42] sfmk: has joined #ruby
[01:57:43] jhass: what does the file command report on that file?
[01:57:58] framling: has joined #ruby
[01:59:10] ellismarte: not sure what a file command is
[01:59:19] Mon_Ouie: has joined #ruby
[01:59:23] jhass: not a file command, the file command
[01:59:26] willardg: has joined #ruby
[01:59:28] jhass: file foo.gz
[02:00:35] blubjr: are you on unix
[02:00:42] blubjr: thats unix
[02:01:05] blubjr: open a terminal and use the file program in it to see
[02:01:21] ellismarte: to see what?
[02:01:21] cyberfawkes: lol how did you read linux from unix? xD
[02:01:27] ellismarte: cyberfawkes: lol idk
[02:01:36] blubjr: to try typing file foo.gz
[02:01:37] ruby-lang653: has joined #ruby
[02:01:57] cyberfawkes: ellismarte: you're using DarwinBSD (Mac OS X)
[02:02:01] cyberfawkes: what are you trying to do?
[02:02:07] mooe: has joined #ruby
[02:02:10] jhass: cyberfawkes: scroll up
[02:02:24] cyberfawkes: ellismarte: tar -xzvf foo.gz
[02:02:29] ellismarte: here???s what i got when i ran file 1.txt.gz ???1.txt.gz: gzip compressed data, from Unix, last modified: Wed Nov 25 17:38:12 2015???
[02:02:42] jhass: ellismarte: so you need GzipReader
[02:02:53] cyberfawkes: no, he doesn't
[02:03:02] cyberfawkes: ellismarte: tar -xvzf filename
[02:03:03] ellismarte: jhass: ahh ok ??? why the hell doesnt the doc say that ???
[02:03:21] cyberfawkes: ellismarte: are you in a terminal?
[02:03:39] ellismarte: cyberfawkes: i???m trying to do it through ruby thanks though
[02:03:51] cyberfawkes: you're trying to decompress with ruby?
[02:03:53] ellismarte: thanks peeps ill see if that works
[02:04:12] ellismarte: cyberfawkes: yeah long story
[02:05:27] jimbeaudoin: has joined #ruby
[02:06:34] Spami: has joined #ruby
[02:08:14] nso95: has joined #ruby
[02:12:23] roshanavand: has joined #ruby
[02:12:59] antoniobeyah: has joined #ruby
[02:14:52] nettoweb: has joined #ruby
[02:17:48] freerobby: has joined #ruby
[02:19:31] maloik: has joined #ruby
[02:21:28] helpa: has joined #ruby
[02:21:55] sorbo_: has joined #ruby
[02:22:10] helpa: has joined #ruby
[02:22:30] helpa: has joined #ruby
[02:22:34] tomchapin: has joined #ruby
[02:23:11] arescorpio: has joined #ruby
[02:24:24] helpa: has joined #ruby
[02:27:35] helpa: has joined #ruby
[02:28:15] helpa: has joined #ruby
[02:28:53] th0m_: has joined #ruby
[02:29:39] helpa: has joined #ruby
[02:29:43] karapetyan: has joined #ruby
[02:30:06] helpa: has joined #ruby
[02:31:10] helpa: has joined #ruby
[02:31:22] Cohedrin: has joined #ruby
[02:31:46] houhoulis: has joined #ruby
[02:32:57] roshanavand: has joined #ruby
[02:33:07] Guest11: has joined #ruby
[02:34:40] Guest11: has joined #ruby
[02:35:03] dikaio: has joined #ruby
[02:35:04] JazzyVariable227: has joined #ruby
[02:36:51] tvw: has joined #ruby
[02:37:47] atomical: has joined #ruby
[02:38:10] helpa: has joined #ruby
[02:39:24] djbkd: has joined #ruby
[02:40:05] vikaton: has joined #ruby
[02:40:07] michaeldeol: has joined #ruby
[02:40:09] kp666: has joined #ruby
[02:45:32] _djbkd: has joined #ruby
[02:47:53] sanjayu: has joined #ruby
[02:52:29] atomical: has joined #ruby
[02:52:58] s00pcan: has joined #ruby
[02:53:33] roshanavand: has joined #ruby
[02:55:03] cwong_on_irc: has joined #ruby
[02:55:29] cwong_on_irc: has joined #ruby
[02:55:42] zacstewart: has joined #ruby
[02:57:31] dh64: has joined #ruby
[03:01:34] tjbiddle: has joined #ruby
[03:02:24] sorbo_: has joined #ruby
[03:02:30] Nahra: has joined #ruby
[03:05:46] favadi: has joined #ruby
[03:06:41] Ropeney: has joined #ruby
[03:11:31] vdamewood: has joined #ruby
[03:12:38] JazzyVariable227: has joined #ruby
[03:14:13] roshanavand: has joined #ruby
[03:14:43] atomical: has joined #ruby
[03:15:24] mistermocha: has joined #ruby
[03:16:35] maloik: has joined #ruby
[03:18:41] colegatron: has joined #ruby
[03:32:11] maloik: has joined #ruby
[03:33:15] Kero: has joined #ruby
[03:33:57] Kartikay: has joined #ruby
[03:34:10] jackcom: has joined #ruby
[03:34:27] atomical: has joined #ruby
[03:34:40] roshanavand: has joined #ruby
[03:35:07] alexherbo2: has joined #ruby
[03:35:57] stannard: has joined #ruby
[03:40:06] atomical: has joined #ruby
[03:42:44] hxegon: has joined #ruby
[03:42:47] rigsby: has joined #ruby
[03:46:14] djbkd: has joined #ruby
[03:46:20] moeabdol1: has joined #ruby
[03:53:26] s2013: has joined #ruby
[03:54:46] xcesariox: has joined #ruby
[03:55:15] roshanavand: has joined #ruby
[03:55:35] bluOxigen: has joined #ruby
[03:55:52] michaeldeol: has joined #ruby
[03:57:40] yoongkang: has joined #ruby
[03:57:49] Bloomer: has joined #ruby
[03:59:36] mary5030: has joined #ruby
[04:00:26] fedexo: has joined #ruby
[04:01:03] shevy: hey blub da blubb
[04:01:41] blubjr: whats up big shevy..
[04:02:19] djbkd: has joined #ruby
[04:03:17] Coldblackice: has joined #ruby
[04:03:25] riskish: has joined #ruby
[04:04:39] shevy: dunno, not much ... still porting old ruby code
[04:05:11] shevy: rubygems.org had a slight overhaul for the per-author overview
[04:07:50] B1n4r10: has joined #ruby
[04:08:47] pawnbox: has joined #ruby
[04:09:54] ss_much: has joined #ruby
[04:12:08] dlitvak: has joined #ruby
[04:13:53] stannard: has joined #ruby
[04:14:58] braincrash: has joined #ruby
[04:15:49] roshanavand: has joined #ruby
[04:15:53] Apocalypse: has joined #ruby
[04:16:28] mary5030: has joined #ruby
[04:19:18] chihhsin: has joined #ruby
[04:20:14] atomical: has joined #ruby
[04:20:56] s00pcan: has joined #ruby
[04:22:49] ellismarte: is it possible to make a file ephemeral?
[04:23:01] alakra: has joined #ruby
[04:24:52] NeverDie: has joined #ruby
[04:25:29] chihhsin: has joined #ruby
[04:26:29] pawnbox: has joined #ruby
[04:26:32] htmldrum: has joined #ruby
[04:29:18] gh: has joined #ruby
[04:29:24] arup_r: has joined #ruby
[04:29:50] shevy: ephemeral?
[04:30:19] shevy: Thread.new { sleep 1234; File.delete(bla) }.join
[04:30:29] shevy: actually, tempfile
[04:30:44] shevy: http://ruby-doc.org/stdlib-2.2.3/libdoc/tempfile/rdoc/Tempfile.html
[04:32:10] ellismarte: i was wondering if you could share a file with someone and then have it deleted at a specific time ???
[04:32:13] antoniobeyah: has joined #ruby
[04:32:17] shevy: would be fun if they'd have a timeout setter
[04:32:37] shevy: don't think you can have this for any regular textfile
[04:33:44] atomical: has joined #ruby
[04:36:29] roshanavand: has joined #ruby
[04:37:04] darkf: has joined #ruby
[04:39:49] tomchapin: has joined #ruby
[04:40:44] ellismarte: has joined #ruby
[04:45:36] zacstewart: has joined #ruby
[04:48:51] varunwachaspati: has joined #ruby
[04:50:31] gix: has joined #ruby
[04:51:37] Scripore: has joined #ruby
[04:52:15] Ltnt_Hawkeye: has joined #ruby
[04:53:02] Trynemjoel: has joined #ruby
[04:53:57] ellismarte: has joined #ruby
[04:54:54] Guest52138: has joined #ruby
[04:56:19] rigsby: has joined #ruby
[04:56:54] jetpackjoe: has joined #ruby
[04:56:57] roshanavand: has joined #ruby
[04:57:48] pawnbox: has joined #ruby
[04:59:17] iateadonut: has joined #ruby
[05:00:55] pawnbox: has joined #ruby
[05:00:57] RegulationD: has joined #ruby
[05:01:31] ellismarte: has joined #ruby
[05:03:28] htmldrum: has joined #ruby
[05:04:17] howdoi: has joined #ruby
[05:06:18] maloik: has joined #ruby
[05:08:17] dkam: has joined #ruby
[05:10:07] ellismarte: has joined #ruby
[05:10:21] tubuliferous_: has joined #ruby
[05:12:52] tmtwd: has joined #ruby
[05:13:25] Guest33: has joined #ruby
[05:13:41] ellismarte: has joined #ruby
[05:14:09] banister: has joined #ruby
[05:14:22] minimalism: has joined #ruby
[05:14:50] Vitor: has joined #ruby
[05:15:24] cyberfawkes: thoughts? http://slexy.org/view/s20Rpf6mKx
[05:15:41] maloik: has joined #ruby
[05:15:49] RobertBirnie: has joined #ruby
[05:17:31] roshanavand: has joined #ruby
[05:17:34] cyberfawkes: it's more dead in here than a salad bar at fat camp...
[05:18:02] pawnbox: has joined #ruby
[05:19:47] minimalism: has joined #ruby
[05:20:15] htmldrum: has joined #ruby
[05:20:44] jhass: that comment matches considering a pastebin service with that name as cool I guess
[05:21:51] jhass: anyway, logic is not a good name
[05:22:29] cyberfawkes: thoughts on a better one?
[05:22:43] cyberfawkes: handle_guesses()?
[05:22:50] yeshacker: has joined #ruby
[05:23:02] jhass: print_guess_result ?
[05:23:45] jhass: some people in here would hate me for that, but I'd probably use 3.times + break
[05:24:08] cyberfawkes: 3.times + break?
[05:25:22] jhass: 3.times do; print "..."; guess = gets.to_i; print_guess_result(guess, random_number); break if guess == random_number; end
[05:25:43] rigsby: has joined #ruby
[05:26:03] calderonroberto: has joined #ruby
[05:26:04] jhass: mh, the win logic although not complicated is replicated 3 times
[05:26:17] Maletor: has joined #ruby
[05:26:31] tmtwd_: has joined #ruby
[05:27:36] User458764: has joined #ruby
[05:29:03] ellismarte: instead of typing localhost:3000 why can???t i just type in my ip address followed by :3000?
[05:29:26] yfeldblum: has joined #ruby
[05:30:23] atomical: has joined #ruby
[05:30:36] cyberfawkes: ellismarte: are you running a server locally?
[05:30:47] ellismarte: cyberfawkes: a rails app ..
[05:30:54] cyberfawkes: 127.0.0.1:3000?
[05:31:02] cyberfawkes: or your computers IP address
[05:31:05] ellismarte: cyberfawkes: but i want my friends to be able to connect ???
[05:31:17] cyberfawkes: ellismarte: you'd need to port forward your router
[05:31:24] cyberfawkes: unless they're on your lan.
[05:31:25] ellismarte: cyberfawkes: interesting ok
[05:31:46] cyberfawkes: ellismarte: what's your local IP?
[05:32:00] ellismarte: cyberfawkes: why?
[05:32:13] cyberfawkes: ellismarte: I can't do anything with your local(internal) IP address.
[05:32:51] cyberfawkes: besides, your IP is in your whois anyway. xD
[05:32:56] ellismarte: thanks for leading me in the right direction :)
[05:33:05] cyberfawkes: ellismarte: ever port forwarded before?
[05:33:10] ellismarte: cyberfawkes: nope
[05:33:29] cyberfawkes: ellismarte: you need to login to your router
[05:33:33] cyberfawkes: go to port forwarding
[05:33:51] cyberfawkes: and you need to put the internal IP of the box that's running the rails application, set the incoming port to 3000
[05:34:03] ellismarte: shit doesn???t sound easy
[05:34:09] cyberfawkes: it's STUPID easy
[05:34:28] arup_r: has joined #ruby
[05:35:21] ellismarte: so i???m trying to create a toy that lets ppl download from various sources ??? i figured i would just collect people???s ip addresses and attach them to files so ppl could go to their address and request a file. but now it sounds like that???s impossible bc they???d have to turn on port forwarding? ???
[05:35:57] maloik: has joined #ruby
[05:36:12] cyberfawkes: only YOU who's hosting the server/service would have to port forward.
[05:36:29] d0nn1e: has joined #ruby
[05:36:32] cyberfawkes: Port forwarding allows connections to enter your network from the internet on a specific port you decide.
[05:37:25] ellismarte: cyberfawkes: yeah but lets say you and i have a file of the matrix.
[05:37:56] ellismarte: i want my friend eric to download have the file from me and half the file from you, but i was planning on him going to your ip and asking for a file
[05:38:07] roshanavand: has joined #ruby
[05:38:09] cyberfawkes: ellismarte: you realize your talking about P2P right?
[05:38:23] ellismarte: cyberfawkes: yeah this is just to learn
[05:38:32] exadeci: has joined #ruby
[05:38:38] cyberfawkes: so you're trying to create a torrent application, essentially.
[05:39:04] ellismarte: exactly but now that i???m doing it i???m wondering if we could make it so only 1 copy is watchable at a time so we dont violate copy right
[05:39:28] sandstrom: has joined #ruby
[05:39:52] cyberfawkes: what is it that you're trying to share?
[05:40:09] ellismarte: nothing i just want to try to create the software
[05:40:42] juddey: has joined #ruby
[05:40:54] ellismarte: but it would be cool to essentially create a library where 100s of ppl can send u the file but only 1 person can watch it at a time
[05:41:48] jhass: so, DRM? meh
[05:42:22] ellismarte: what???s that
[05:42:36] jhass: cancer, I mean digital rights management
[05:43:13] mistermocha: has joined #ruby
[05:43:34] ellismarte: kinda but more like a public library and less corporate ???
[05:44:06] jhass: that sentence makes no sense in this context
[05:44:29] jhass: a public library shouldn't (have t he need to) enforce any copyrights
[05:44:31] ellismarte: lol well i dont know shit about drm. can i not give my friend of excel if i uninstall it?
[05:44:36] jhass: it's only said when it does
[05:44:41] jhass: er, sad even
[05:45:05] ellismarte: if i buy photoshop but then uninstall it can i give it to my friend for the weekend?
[05:45:12] jhass: well, license keys are a form of DRM I guess
[05:45:20] ellismarte: cyberfawkes: for sure?
[05:45:22] RobertBirnie: has joined #ruby
[05:45:27] cyberfawkes: ellismarte: the license key is tied to you, not the software itself.
[05:45:43] cyberfawkes: now you could loan your friend your pc, but not the software itself.
[05:45:44] ellismarte: ok well that sucks
[05:46:00] mary5030: has joined #ruby
[05:46:10] jhass: well, depends on the jurisdiction you live in I guess, I wouldn't be surprised if there's some place on the world where that works
[05:46:15] ellismarte: so if i installed the software in a container and gave them the container?
[05:46:18] jhass: but this isn't #law
[05:46:24] pawnbox_: has joined #ruby
[05:46:42] willardg: has joined #ruby
[05:47:06] cyberfawkes: ellismarte: "container"?
[05:47:13] ellismarte: cyberfawkes: docker
[05:47:27] cyberfawkes: you cannot share the software, period.
[05:47:32] cyberfawkes: you can share the machine.
[05:47:43] ellismarte: ok so put it on a vm
[05:47:59] cyberfawkes: ellismarte: I'd bet you still lose in court.
[05:51:31] maloik: has joined #ruby
[05:51:42] pawnbox: has joined #ruby
[05:52:14] trosborn: has joined #ruby
[05:52:41] atomical: has joined #ruby
[05:54:28] arescorpio: has joined #ruby
[05:55:22] rigsby: has joined #ruby
[05:56:37] mary5030: has joined #ruby
[05:56:41] favadi: has joined #ruby
[05:57:03] m3_del: has joined #ruby
[05:57:21] lxsameer: has joined #ruby
[05:57:27] sigurding: has joined #ruby
[05:57:35] m3_del: has joined #ruby
[05:58:51] roshanavand: has joined #ruby
[05:59:08] yoongkang: has joined #ruby
[05:59:17] ellismarte: has joined #ruby
[06:03:01] atomical: has joined #ruby
[06:04:17] pawnbox: has joined #ruby
[06:05:36] karapetyan: has joined #ruby
[06:10:59] bluestars2000: has joined #ruby
[06:11:43] maloik: has joined #ruby
[06:13:32] solocshaw: has joined #ruby
[06:15:01] B1n4r10: has joined #ruby
[06:16:27] driftig: I should prepare for the weekend by doing a couple grams.
[06:16:47] ellismarte: cyberfawkes: i???m trying to set up port forwarding ??? what do i put in for server ip address?
[06:17:18] Scripore: has joined #ruby
[06:17:31] ellismarte: nvm think i got it
[06:23:24] Guest11: has joined #ruby
[06:23:53] PaulCapestany: has joined #ruby
[06:24:18] howdoicomputer: has joined #ruby
[06:26:37] dhjondoh: has joined #ruby
[06:26:46] dionysus69: has joined #ruby
[06:27:20] maloik: has joined #ruby
[06:28:21] pawnbox: has joined #ruby
[06:28:24] blacknagger: has joined #ruby
[06:28:31] blacknagger: are waterbears visible to the human eye?
[06:29:03] Radar: !ban blacknagger
[06:29:06] Radar: !ban blacknagger !T 1D
[06:29:07] ChanServ: +b blacknagger!*@*
[06:29:07] ChanServ: ChanServ kicked blacknagger: is banned from this channel
[06:29:31] driftig: ACTION woners why it didn't work the first time around.
[06:29:42] Radar: Didn't specify the duration.
[06:30:06] ChanServ: -b blacknagger!*@*
[06:30:11] cyberfawkes: Radar: why are you banning someone who hasn't sad anything?
[06:30:15] driftig: So when you troll hard, !T 8=========D?
[06:30:31] cyberfawkes: he did say something...
[06:30:34] Radar: cyberfawkes: Offensive name.
[06:30:43] Radar: And he did say something which is completely offtopic, and that's the MO of the trolls
[06:30:44] null__: isn't that difficult to figure out why he got banned
[06:30:59] cyberfawkes: I didn't see that he said something, until after I said something.
[06:31:09] driftig: blacknagger?
[06:31:16] Radar: driftig: replace the a with another vowel
[06:31:21] cyberfawkes: ^^ not sure how that's offensive.
[06:31:22] PaulCapestany: has joined #ruby
[06:31:28] Radar: cyberfawkes: Please don't argue with the decision.
[06:31:38] cyberfawkes: Radar: I'm not arguing in anyway.
[06:31:42] cyberfawkes: It's not my decision to make.
[06:31:43] Radar: cyberfawkes: Great. /discussion
[06:32:13] driftig: I think you should allow a troll to troll before preemptively deciding to mark it with a !T 1D.
[06:32:26] bluestars2000: has left #ruby: ()
[06:32:40] Radar: Hm, seems driftig missed my "/discussion"?
[06:32:59] Radar: Name is bad enough as it is. Users get banned for bad names.
[06:33:03] Radar: End of discussion now, kthx.
[06:33:15] driftig: I should write a book about Ruby called /discussion.
[06:33:21] driftig: Then quit the Ruby scene.
[06:33:31] Radar: driftig: ok bye
[06:33:33] dimasg: has joined #ruby
[06:34:53] driftig: Night, Radar.
[06:36:05] dionysus69: has joined #ruby
[06:36:10] trosborn: has joined #ruby
[06:37:52] nofxx: has joined #ruby
[06:38:32] Macaveli: has joined #ruby
[06:38:44] apeiros: driftig, cyberfawkes: while I consider the topic over, please be aware of http://ruby-community.com/pages/user_rules#rule_3_2 (for some reason it scrolls to the wrong place for me - but it's at the bottom and highlighted)
[06:40:07] cyberfawkes: out of curiousity, do these rules apply to ruby off topic?
[06:40:38] apeiros: cyberfawkes: no/yes/maybe. sorry for being vague. but ruby-ot is still a bit a gray area.
[06:41:49] cyberfawkes: ah, so basically don't be an ass/moron and everything will be golden.
[06:42:01] pawnbox: has joined #ruby
[06:42:05] PaulCapestany: has joined #ruby
[06:42:09] apeiros: that's generally a good rule, yes :)
[06:42:31] driftig: apeiros: My true handle is Serayah.
[06:42:57] driftig: apeiros: Serayah Bentley Jones.
[06:43:14] apeiros: driftig: ok? not sure why you're telling me that, though
[06:43:30] shevy: cyberfawkes you probably have not been that long on #ruby else you might have known that resident weird-nick-dude - he just keeps on coming back over and over again :)
[06:44:15] cyberfawkes: ah, makes sense lol
[06:44:24] cyberfawkes: only been here a few days.
[06:44:28] apeiros: even offered them a !kickme/
[06:44:33] cyberfawkes: Trying to learn ruby.
[06:44:36] apeiros: whoops, premature enter
[06:44:58] apeiros: even offered them a !kickme/!banme command so they can save themselves the effort of getting the op's attention
[06:45:31] shevy: I can kick myself via ruboto?
[06:47:24] driftig: !kick driftig
[06:47:25] zacstewart: has joined #ruby
[06:47:44] tagrudev: has joined #ruby
[06:47:48] driftig: Worse permission bugs than Linux.
[06:48:31] Dimik: ACTION np: The Prodigy - Diesel Power [04:17m/288kbps/44kHz]
[06:48:41] lurch_: has joined #ruby
[06:48:56] jackcom: i can scrap web site by ruby?
[06:49:12] Dimik: jackcom yes
[06:49:34] jackcom: give me code
[06:49:48] Dimik: nokogiri+mechanize
[06:49:56] Dimik: nokogiri to scrape, mechanize to automate
[06:50:00] apeiros: jackcom: how much time did you spend researching the subject?
[06:50:08] Dimik: zero apparently
[06:50:09] juddey: has joined #ruby
[06:50:17] jackcom: very long time apeiros
[06:50:27] apeiros: jackcom: what did you do to research it?
[06:50:44] apeiros: you did "nokogiri"?
[06:51:06] jackcom: i write ???ruby scrap??? on google
[06:51:20] apeiros: and, what did you find?
[06:51:40] apeiros: I don't believe you.
[06:51:46] jackcom: it is real
[06:52:11] apeiros: then make a screenshot. my google certainly shows me plenty of results.
[06:52:24] Dimik: jackcom, google nokogiri
[06:52:27] Dimik: go from there
[06:52:29] pawnbox: has joined #ruby
[06:52:29] jackcom: i close it already apeiros
[06:52:41] apeiros: jackcom: then open it again and search again.
[06:52:48] Dimik: ACTION np: The Prodigy - Funky Shit [05:16m/350kbps/44kHz]
[06:52:51] Dimik: jackcom are you using windows?
[06:52:55] apeiros: Dimik: stop that
[06:52:59] Dimik: excuse me
[06:53:09] dionysus69: has joined #ruby
[06:53:19] Dimik: it's winamp
[06:53:23] Dimik: don't you love winamp
[06:53:27] apeiros: jackcom: right now I'm tempted to kick you. even more so for lying about having done research.
[06:53:33] jackcom: Dimik: will help me now. but why you don???t let me help.
[06:54:49] jackcom: http://readysteadycode.com/howto-scrape-websites-with-ruby-and-mechanize
[06:54:57] Dimik: jackcom if you're running windows and don't know ruby or python i'd suggest you use iMacros or WebHarvy for web scraping
[06:55:33] jackcom: iMacros and WebHarvy
[06:55:40] apeiros: jackcom: bravo. now read it. try to understand it, and when you have problems understanding or applying it and therefore have *concrete questions*, feel free to ask here about them
[06:56:10] apeiros: jackcom: but I don't want to see you asking blanket questions like the above again without showing at least what you did to research it. ok?
[06:56:10] jackcom: ok apeiros
[06:56:22] bersimoes: has joined #ruby
[06:56:45] alphaatom: has joined #ruby
[06:57:17] jackcom: https://addons.mozilla.org/en-US/firefox/addon/imacros-for-firefox/ <?????? Dimik, this is right?
[06:57:23] Macaveli: has joined #ruby
[06:58:08] m3_del: has joined #ruby
[06:58:32] Dimik: jackcom yes
[06:58:43] jackcom: https://www.youtube.com/watch?v=zFAUkDI8dWE
[06:58:53] ellismarte: lmao. it is the ideology that is the issue. the meaning of the meaning etc
[06:58:58] shevy: jackcom did you finish the chris pine tutorial yet
[06:59:02] Dimik: apeiros, he's obviously clueless and doesn't want to learn programming
[06:59:03] weemsledeux: has joined #ruby
[06:59:08] norc: has joined #ruby
[06:59:14] shevy: Dimik yeah but we know that, good old jackcom :-)
[06:59:15] jackcom: shevy: i read monk now
[06:59:19] shevy: jackcom no
[06:59:38] jackcom: i like moke because monk is automation web site
[06:59:56] shevy: it's like a comedy club
[07:00:22] shevy: at least with the old poignant guide you had a great cartoon
[07:00:24] yoongkang: has joined #ruby
[07:00:30] blueOxigen: has joined #ruby
[07:00:30] Dimik: oh he's a regular
[07:00:38] apeiros: Dimik: I thought they were a help vampire, but atm they're well on the way to get reclassified as troll.
[07:00:39] norc: Hi folks
[07:01:23] sigurding: has joined #ruby
[07:01:24] jackcom: Dimik: webHarvy is $499 lol :)
[07:01:31] shevy: it's like a mixture... help vampire, troll and attention seeker
[07:01:43] RegulationD: has joined #ruby
[07:01:52] shevy: aren't we all like that :)
[07:01:54] Dimik: jackcom, support the developers ;)
[07:02:19] jackcom: Dimik: i don???t know what you mean?
[07:02:51] Dimik: jackcom, buy it so guys who made it can eat turkey
[07:03:05] apeiros: jackcom: and for the love of the irc gods - stop with those single lines containing only a nick.
[07:03:17] shevy: eat turkey...
[07:03:25] dhjondoh: has joined #ruby
[07:03:45] Dimik: gobble gobble ?
[07:04:18] jackcom: i don???t know what you mean? apeiros
[07:04:39] jackcom: eat turkey? :(
[07:04:51] shevy: jackcom also is dishonest :(
[07:05:04] apeiros: jackcom: `08:02 jackcom: Dimik: `
[07:05:20] jackcom: ok i understand it
[07:08:34] Pupp3tm4st3r: has joined #ruby
[07:09:20] Pupp3tm4st3r: has joined #ruby
[07:11:31] dionysus69: has joined #ruby
[07:17:56] Dimik: poltergeist is just awesome.
[07:19:02] kjones_: has joined #ruby
[07:19:35] driftig: Doesn't it rely on PhantomJS?
[07:20:07] tjad: has joined #ruby
[07:22:20] driftig: I'm going to quit Ruby once I'm done with my book.
[07:22:21] dreinull75: has left #ruby: ("undefined")
[07:22:50] kerunaru: has joined #ruby
[07:23:44] Dimik: what's your language of choice ?
[07:24:22] jgorak__: has joined #ruby
[07:24:31] peteyg: has joined #ruby
[07:24:31] z1haze2: has joined #ruby
[07:24:55] helpa: has joined #ruby
[07:25:03] bluOxigen: has joined #ruby
[07:25:14] thomasfedb: Anybody here speak Indonesian? Need some translations verified. https://github.com/carrierwaveuploader/carrierwave/pull/1762
[07:25:18] sross07: has joined #ruby
[07:25:19] Contigi777: has joined #ruby
[07:43:24] helpa: has joined #ruby
[07:43:28] gagrio: has joined #ruby
[07:43:28] joneshf-laptop: has joined #ruby
[07:43:33] nizmow: has joined #ruby
[07:43:35] htmldrum: has joined #ruby
[07:43:41] ur5us: has joined #ruby
[07:43:55] araujo: has joined #ruby
[07:44:05] ozzloy: has joined #ruby
[07:44:06] VladGh: has joined #ruby
[07:44:07] torpig: has joined #ruby
[07:44:08] ellismarte: has joined #ruby
[07:44:38] vondruch: has joined #ruby
[07:44:46] hplar: has joined #ruby
[07:44:48] Pro|: has joined #ruby
[07:44:58] duper: has joined #ruby
[07:45:17] konr: has joined #ruby
[07:45:22] DanKnox[away]: has joined #ruby
[07:45:30] svkurowski: has joined #ruby
[07:45:50] xsdg: has joined #ruby
[07:45:56] dwithers2: has joined #ruby
[07:46:24] heinrich5991: has joined #ruby
[07:46:25] flori: has joined #ruby
[07:46:25] braderhart: has joined #ruby
[07:46:37] bcavileer: has joined #ruby
[07:46:38] SegFaultAX: has joined #ruby
[07:46:41] digneety: has joined #ruby
[07:46:51] akkad: has joined #ruby
[07:47:04] perrier_: has joined #ruby
[07:47:07] gilesw: has joined #ruby
[07:47:10] oddmunds: has joined #ruby
[07:47:14] jud^: has joined #ruby
[07:47:17] frog0909: has joined #ruby
[07:47:59] BTRE: has joined #ruby
[07:48:11] rfi: has joined #ruby
[07:48:19] aspiers: has joined #ruby
[07:48:41] asas: has joined #ruby
[07:48:49] yardenbar: has joined #ruby
[07:48:54] bjmllr_: has joined #ruby
[07:48:55] pietr0_: has joined #ruby
[07:49:17] kiez0rd: has joined #ruby
[07:49:18] eregon_: has joined #ruby
[07:49:57] Davey: has joined #ruby
[07:49:58] Davey: has joined #ruby
[07:50:01] Asher1: has joined #ruby
[07:50:41] MuffinPimp_: has joined #ruby
[07:50:51] C0deMaver1ck: has joined #ruby
[07:50:56] pwnd_nsfw: has joined #ruby
[07:50:59] Jamo_: has joined #ruby
[07:51:03] brixen: has joined #ruby
[07:51:09] DefV: has joined #ruby
[07:51:15] FifthWall_: has joined #ruby
[07:51:16] bytecrawler: has joined #ruby
[07:51:29] ur5us_: has joined #ruby
[07:51:31] Weethus: has joined #ruby
[07:51:33] avelldiroll: has joined #ruby
[07:51:37] troyreadyy: has joined #ruby
[07:51:42] imajes_: has joined #ruby
[07:51:51] rcs_: has joined #ruby
[07:51:51] Freijo: has joined #ruby
[07:51:54] \13k_: has joined #ruby
[07:51:55] cyb3rspy: has joined #ruby
[07:51:56] rdema: has joined #ruby
[07:52:03] Eleeleth: has joined #ruby
[07:52:06] lorn: has joined #ruby
[07:52:10] phreakocious_: has joined #ruby
[07:52:19] greister: has joined #ruby
[07:52:24] ekem: has joined #ruby
[07:52:26] fold3: has joined #ruby
[07:52:33] deadpoet_: has joined #ruby
[07:52:43] camilasann: has joined #ruby
[07:52:53] rflot: has joined #ruby
[07:53:11] Kabaka_: has joined #ruby
[07:53:12] derailed: has joined #ruby
[07:53:15] danzilio: has joined #ruby
[07:53:40] zeljkof: has joined #ruby
[07:53:45] jetpackjoe: has joined #ruby
[07:53:46] cgfbee: has joined #ruby
[07:53:48] SirCmpwn_: has joined #ruby
[07:53:50] boshhead: has joined #ruby
[07:53:51] Uptime: has joined #ruby
[07:53:52] karpuragauram: has joined #ruby
[07:54:16] teotwaki: has joined #ruby
[07:54:19] apipkin: has joined #ruby
[07:54:43] skakri`: has joined #ruby
[07:54:44] gbailey: has joined #ruby
[07:54:44] sts_: has joined #ruby
[07:54:47] KramerC_: has joined #ruby
[07:54:49] dupin: has joined #ruby
[07:54:52] kitallis: has joined #ruby
[07:54:55] BackEndCoder_: has joined #ruby
[07:54:56] Guest39890: has joined #ruby
[07:55:02] Morrolan: has joined #ruby
[07:55:21] RTG`: has joined #ruby
[07:55:21] gix-: has joined #ruby
[07:55:39] pawnbox: has joined #ruby
[07:56:21] troulouliou_div2: has joined #ruby
[07:56:21] infernix: has joined #ruby
[07:56:22] _main_: has joined #ruby
[07:56:41] pawnbox_: has joined #ruby
[07:56:41] NightMonkey: has joined #ruby
[07:56:48] adam_: has joined #ruby
[07:56:53] tethra: has joined #ruby
[07:56:54] tethra: has joined #ruby
[07:56:58] fluchtreflex: has joined #ruby
[07:56:58] fluchtreflex: has joined #ruby
[07:56:59] LBRapid: has joined #ruby
[07:57:00] conrfrmn: has joined #ruby
[07:57:08] p8952: has joined #ruby
[07:57:10] Evans: has joined #ruby
[07:57:27] genpaku: has joined #ruby
[07:57:30] wedgwood: has joined #ruby
[07:57:32] zapata: has joined #ruby
[07:57:55] M-prosodyContext: has joined #ruby
[07:57:56] torpig: has joined #ruby
[07:58:21] YaknotiS: has joined #ruby
[07:58:26] Couch: has joined #ruby
[07:58:27] Veejay: has joined #ruby
[07:58:33] G: has joined #ruby
[07:58:49] Tristan-Speccy: has joined #ruby
[07:58:57] svkurowski: has joined #ruby
[07:58:57] shevy: has joined #ruby
[07:59:01] Eising: has joined #ruby
[07:59:19] isene: has joined #ruby
[07:59:22] spleeze: has joined #ruby
[07:59:56] rvchangue: has joined #ruby
[07:59:59] iamdevnul: has joined #ruby
[08:00:00] m3_del: has joined #ruby
[08:00:01] th0m_: has joined #ruby
[08:00:04] elliottcable: has joined #ruby
[08:00:16] z3uS: has joined #ruby
[08:00:19] pmarreck: has joined #ruby
[08:00:20] hplar: has joined #ruby
[08:00:23] evandrojr: has joined #ruby
[08:00:43] unreal: has joined #ruby
[08:01:04] xnr: has joined #ruby
[08:01:05] existensil: has joined #ruby
[08:01:27] maloik: has joined #ruby
[08:01:27] ekleog: has joined #ruby
[08:01:50] coffeejunk: has joined #ruby
[08:02:23] dotix: has joined #ruby
[08:02:28] nrk: has joined #ruby
[08:02:31] dimasg: has joined #ruby
[08:02:44] euoia: has joined #ruby
[08:02:49] ss_much: has joined #ruby
[08:02:57] hekin: has joined #ruby
[08:03:16] jmhmccr: has joined #ruby
[08:03:36] hekin: hi, i???d like to know how I could save the html and all the assets (css, javascript. image) of a webpage using Capybara-Webkit? thanks
[08:03:52] Guest85414______: has joined #ruby
[08:04:11] poguez_: has joined #ruby
[08:04:49] S1kx: has joined #ruby
[08:05:44] Radar: jackcom: best to not direct your questions at one person in particular. People come and people go and not everyone is on at the same time as the day before.
[08:05:45] bove: has joined #ruby
[08:05:52] pawnbox: has joined #ruby
[08:06:07] linduxed: has joined #ruby
[08:06:11] lianj: has joined #ruby
[08:06:12] lianj: has joined #ruby
[08:06:28] xcesariox: has joined #ruby
[08:07:26] codecop: has joined #ruby
[08:07:43] DoYouKnow: has joined #ruby
[08:07:53] waka: has joined #ruby
[08:08:01] justinweiss_: has joined #ruby
[08:08:23] subscope: has joined #ruby
[08:08:31] mclee: has joined #ruby
[08:08:35] mgorbach: has joined #ruby
[08:08:45] spectra: has joined #ruby
[08:08:54] spastorino: has joined #ruby
[08:08:57] snapcase: has joined #ruby
[08:09:01] prasselpikachu: has joined #ruby
[08:09:21] Gadgetoid: has joined #ruby
[08:09:21] tuor: has joined #ruby
[08:09:21] TTilus: has joined #ruby
[08:09:21] driftig: has joined #ruby
[08:09:21] m4rCsi_: has joined #ruby
[08:09:21] sapslaj: has joined #ruby
[08:09:21] bier_: has joined #ruby
[08:09:21] Kuukunen: has joined #ruby
[08:09:42] BLuEGoD: has joined #ruby
[08:10:21] yeticry: has joined #ruby
[08:10:24] ytti: has joined #ruby
[08:10:28] chrisseaton: has joined #ruby
[08:10:29] Brando753: has joined #ruby
[08:10:40] daxroc: has joined #ruby
[08:10:55] zrl: has joined #ruby
[08:11:00] bf4: has joined #ruby
[08:11:00] Hounddog: has joined #ruby
[08:11:00] drbrain: has joined #ruby
[08:11:07] Kamilion: has joined #ruby
[08:11:17] tonini: has joined #ruby
[08:11:28] wjimenez5271: has joined #ruby
[08:11:28] jonathanwallace: has joined #ruby
[08:11:37] quater-nyon: has joined #ruby
[08:11:42] shinenelson: has joined #ruby
[08:12:02] sekrit: has joined #ruby
[08:12:16] tpendragon: has joined #ruby
[08:12:36] chihhsin: has joined #ruby
[08:12:38] sunya7a: has joined #ruby
[08:12:52] hohenfall: has joined #ruby
[08:12:59] skarn: has joined #ruby
[08:13:04] vayan: has joined #ruby
[08:13:04] ElderFain: has joined #ruby
[08:13:04] GarethAdams: has joined #ruby
[08:13:04] bodgix: has joined #ruby
[08:13:05] programmerq: has joined #ruby
[08:13:13] crayfishx: has joined #ruby
[08:13:14] mistermocha: has joined #ruby
[08:13:29] andersh: has joined #ruby
[08:13:30] ElderFain: has joined #ruby
[08:13:30] GarethAdams: has joined #ruby
[08:13:44] dellavg: has joined #ruby
[08:14:12] alphaatom: has joined #ruby
[08:14:37] dhjondoh: has joined #ruby
[08:14:43] gremax: has joined #ruby
[08:14:44] marsjaninzmarsa: has joined #ruby
[08:14:56] benlakey: has joined #ruby
[08:15:02] kallisti5: has joined #ruby
[08:15:08] sanjayu: has joined #ruby
[08:15:18] unclouded: has joined #ruby
[08:15:28] ghr: has joined #ruby
[08:15:42] alexherbo2: has joined #ruby
[08:16:13] groundnuty: has joined #ruby
[08:16:24] hkumar: has joined #ruby
[08:16:32] aganov: has joined #ruby
[08:16:51] TomyWork: has joined #ruby
[08:17:00] DoubleMalt: has joined #ruby
[08:17:32] wldcordeiro: has joined #ruby
[08:17:52] jayne: has joined #ruby
[08:17:52] nomadicoder: has joined #ruby
[08:17:52] jatb: has joined #ruby
[08:17:52] bhorn1: has joined #ruby
[08:17:52] sshuff|gone: has joined #ruby
[08:17:52] troter____: has joined #ruby
[08:17:52] Iacobus: has joined #ruby
[08:17:52] brainslug: has joined #ruby
[08:17:52] irk: has joined #ruby
[08:17:52] hays: has joined #ruby
[08:17:53] hays: has joined #ruby
[08:18:25] baweaver: has joined #ruby
[08:18:39] zenguy_pc2: has joined #ruby
[08:18:44] csmb: has joined #ruby
[08:19:06] tulak: has joined #ruby
[08:19:20] subscope: has joined #ruby
[08:19:52] heyimwill: has joined #ruby
[08:19:56] pestle: has joined #ruby
[08:19:59] bodie_: has joined #ruby
[08:20:18] alphaatom: has joined #ruby
[08:21:50] ruurd: has joined #ruby
[08:22:03] vbatts|w`: has joined #ruby
[08:22:04] varunwachaspati: has joined #ruby
[08:22:17] Pumukel: has joined #ruby
[08:22:21] evandrojr: has joined #ruby
[08:22:25] darkf: has joined #ruby
[08:22:39] halfdan: has joined #ruby
[08:22:39] avdi: has joined #ruby
[08:22:40] luyu_: has joined #ruby
[08:22:42] nyandoge: has joined #ruby
[08:22:42] pfg: has joined #ruby
[08:22:44] pizzaops: has joined #ruby
[08:22:52] kellabyte: has joined #ruby
[08:22:58] anisha: has joined #ruby
[08:22:59] M-mistake: has joined #ruby
[08:23:15] M-Kodo: has joined #ruby
[08:23:27] joonty: has joined #ruby
[08:23:29] gagrio: has joined #ruby
[08:23:32] vondruch: has joined #ruby
[08:23:34] konr: has joined #ruby
[08:23:38] braderhart: has joined #ruby
[08:23:38] bcavileer: has joined #ruby
[08:23:46] bjmllr: has joined #ruby
[08:23:59] Eleeleth: has joined #ruby
[08:24:00] deadpoet_: has joined #ruby
[08:24:01] rflot: has joined #ruby
[08:24:02] danzilio: has joined #ruby
[08:24:04] apipkin: has joined #ruby
[08:24:15] M-prosodyContext: has joined #ruby
[08:24:18] akosednar: has joined #ruby
[08:24:20] elliottcable: has joined #ruby
[08:24:22] calderonroberto: has joined #ruby
[08:24:22] iamdevnul: has joined #ruby
[08:24:23] pmarreck: has joined #ruby
[08:24:28] ss_much: has joined #ruby
[08:24:29] jmhmccr: has joined #ruby
[08:24:30] Guest85414______: has joined #ruby
[08:24:31] poguez_: has joined #ruby
[08:24:33] bove: has joined #ruby
[08:24:34] Kharma: has joined #ruby
[08:24:35] DoYouKnow: has joined #ruby
[08:24:37] justinweiss_: has joined #ruby
[08:24:38] spastorino: has joined #ruby
[08:24:43] BLuEGoD: has joined #ruby
[08:24:43] zrl: has joined #ruby
[08:24:45] chrisseaton: has joined #ruby
[08:24:46] amoeba: has joined #ruby
[08:24:47] tonini: has joined #ruby
[08:24:49] shinenelson: has joined #ruby
[08:24:50] andersh: has joined #ruby
[08:24:52] Meliodas: has joined #ruby
[08:24:53] vayan: has joined #ruby
[08:24:55] benlakey: has joined #ruby
[08:24:56] sanjayu: has joined #ruby
[08:25:00] troter____: has joined #ruby
[08:25:00] Guest4184: has joined #ruby
[08:25:01] nomadicoder: has joined #ruby
[08:25:14] yeticry: has joined #ruby
[08:25:20] heyimwill: has joined #ruby
[08:25:23] ruurd: has joined #ruby
[08:25:27] Kharma: has joined #ruby
[08:26:02] SCHAAP137: has joined #ruby
[08:26:07] johnhamelink: has joined #ruby
[08:26:34] rdark: has joined #ruby
[08:26:34] rdark: has joined #ruby
[08:26:38] agit0: has joined #ruby
[08:26:53] BraddPitt: has joined #ruby
[08:27:09] jas02: has joined #ruby
[08:27:21] scottstamp: has joined #ruby
[08:27:28] rolfb: has joined #ruby
[08:27:34] trosborn: has joined #ruby
[08:27:54] jas02: has left #ruby: ()
[08:28:45] darkf_: has joined #ruby
[08:28:52] Hounddog: has joined #ruby
[08:29:22] Coraline: has joined #ruby
[08:29:22] atomical: has joined #ruby
[08:29:22] Kruppe: has joined #ruby
[08:29:22] w5isp: has joined #ruby
[08:31:57] chrisseaton_: has joined #ruby
[08:31:58] TheHodge: has joined #ruby
[08:32:08] boozehound: has joined #ruby
[08:32:26] darkf__: has joined #ruby
[08:32:30] pawnbox: has joined #ruby
[08:32:36] sunya7a_: has joined #ruby
[08:32:54] loechel: has joined #ruby
[08:33:05] bubbys: has joined #ruby
[08:33:07] sanjayu_: has joined #ruby
[08:33:17] alexherb1: has joined #ruby
[08:34:01] Marsjan: has joined #ruby
[08:34:11] aeontech: has joined #ruby
[08:34:14] pietr0_: has joined #ruby
[08:34:23] jas02_: has joined #ruby
[08:34:38] hkumar: has joined #ruby
[08:34:48] shinenelson_: has joined #ruby
[08:35:08] lemur: has joined #ruby
[08:35:15] juddey: has joined #ruby
[08:35:35] rdark_: has joined #ruby
[08:36:12] calderonroberto_: has joined #ruby
[08:36:24] alexherb1: has joined #ruby
[08:36:38] trautwein: has joined #ruby
[08:39:01] Brando753-o_O_o: has joined #ruby
[08:39:36] Kamilion|ZNC: has joined #ruby
[08:40:00] lxsameer: has joined #ruby
[08:42:43] guardian: has joined #ruby
[08:42:43] kallisti5: has joined #ruby
[08:42:51] nettoweb: has joined #ruby
[08:43:48] riskish: has joined #ruby
[08:44:38] InvGhost: has joined #ruby
[08:45:18] alexherbo2: has joined #ruby
[08:45:25] A124: has joined #ruby
[08:45:49] marr: has joined #ruby
[08:45:59] alphaatom: has joined #ruby
[08:46:14] alexherbo2: has joined #ruby
[08:47:22] lsmola: has joined #ruby
[08:48:01] sekrit: has joined #ruby
[08:48:30] alexherbo2: has joined #ruby
[08:49:32] guardian: has joined #ruby
[08:49:48] zacstewart: has joined #ruby
[08:50:33] Outlastsheep: has joined #ruby
[08:52:25] unclouded: has joined #ruby
[08:55:02] kp666: has joined #ruby
[08:55:35] skade: has joined #ruby
[08:55:57] sameerynho: has joined #ruby
[08:56:14] huyderman: has joined #ruby
[08:56:45] Bish-: hello, can i somehow send a method of the current object as a block?
[08:57:06] Bish-: like when i do .inject
[08:57:09] apeiros: Bish-: foo(&method(:name))
[08:57:22] AimlessRAven: has joined #ruby
[08:57:30] AimlessRAven: hi guys, i have i have colleection select: = f.select :category_id_eq, options_from_collection_for_select(Category.all, :id, :name), {include_blank: true}, class: 'form-control'
[08:57:31] apeiros: or just: foo { method_name }
[08:57:34] Bish-: trying that right now, doesn't do the trick, does it has to be first parameter?
[08:57:39] AimlessRAven: but i want to keep my value of select after submit
[08:57:42] AimlessRAven: how to do that
[08:57:43] apeiros: ?rails AimlessRaven
[08:57:43] ruboto: AimlessRaven, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[08:57:51] Bish-: foo { method_name } works fine, but wouldn't it be cooler
[08:57:55] apeiros: ?crosspost AimlessRaven
[08:57:55] ruboto: AimlessRaven, Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
[08:57:57] AimlessRAven: yea but there is no guys who wanna help me
[08:58:27] apeiros: AimlessRaven: I suggest you go to #computers then, or #math, since programming is somehow maths too
[08:58:42] Bish-: so mean :(
[08:59:10] Bish-: consider the fact that is aimless, he just doesn't hit the right channel
[08:59:18] apeiros: yeah, crossposters don't elicit the best in me.
[08:59:22] mark4: has joined #ruby
[08:59:27] Guest36263: has joined #ruby
[08:59:42] Guest36263: What you think about crystal lang?
[08:59:48] apeiros: moin adaedra
[09:00:00] apeiros: Guest36263: looks interesting.
[09:00:02] Bish-: Guest36263, pretty cool thingy thing.
[09:00:16] apeiros: very promising. I hope it grows.
[09:00:19] Guest36263: I very like it :)
[09:00:31] Guest36263: I want crystal on rails :)))
[09:00:45] johnny56: has joined #ruby
[09:00:46] m3_del: has joined #ruby
[09:00:48] Bish-: compiled it, tried it, kinda felt weirded out by the "projects" it creates, but felt fine after compiling / running first script, which was pretty fast
[09:00:52] apeiros: Guest36263: write it? be the first? :)
[09:00:59] Guest36263: it's so fast lang as C
[09:01:11] Bish-: well i doubt it, but it's fast, yeah
[09:01:28] Bish-: was amazed by it, too
[09:01:44] yoongkang: has joined #ruby
[09:01:51] bersimoes: has joined #ruby
[09:02:10] apeiros: people learn erlang, clojure, elixir and now crystal - meanwhile I learn x64 assembly. what do I do wrong? :D
[09:02:11] alcy: has joined #ruby
[09:02:30] Lenoo: has joined #ruby
[09:02:40] Guest36263: my notebook handles 50000 rps
[09:02:41] Bish-: well, clojure is also a "step back" isn't it?
[09:02:46] Lenoo: Why is my vhost_dir not set with the config_dir value? https://gist.github.com/anonymous/64f3bb8d6f11c5ecba8c
[09:03:03] Bish-: Lenoo, is that a ruby question :o?
[09:03:24] Lenoo: well, maybe im doing something wrong?
[09:03:39] Lenoo: syntax wise
[09:03:40] apeiros: Lenoo: like asking in the wrong channel? .pp ain't ruby afaik.
[09:03:48] Lenoo: it is using ruby if im correct?
[09:03:49] dmolina: has joined #ruby
[09:04:10] adaedra: Puppet, right? I heard they have something based on it but with strange rules.
[09:04:12] apeiros: Lenoo: you ask photoshop questions in ##C?
[09:04:22] apeiros: because it's implemented in C???
[09:04:27] Lenoo: No its for puppet but its written in Ruby
[09:04:27] apeiros: what's up today with people?
[09:04:28] Bish-: you could write a x86 emulator in ruby, and then run internet explorer on it, does it make internet explorer a ruby thing
[09:04:35] Guest36263: ruby has a lot of production solutions and this is good =)
[09:04:54] adaedra: Bish-: But why would you do this
[09:05:02] drbrain: has joined #ruby
[09:05:11] Bish-: Guest36263, im afraid as long as those languages are not 100% compatible to each other, they do more harm than use
[09:05:20] Bish-: adaedra, to ask questions.
[09:05:28] Gadgetoid: has joined #ruby
[09:06:19] zoras: has joined #ruby
[09:06:25] skarn: has joined #ruby
[09:06:47] Guest36263: what OS do you use?
[09:07:15] Bish-: Windows 3.1
[09:07:37] tobiasvl: windows 3.1 makes me nostalgic
[09:07:37] Guest36263: I recently installed linux
[09:07:56] Guest36263: Linux Mint :)
[09:08:04] Guest36263: it's better than ubuntu, i think
[09:08:11] tpendragon: has joined #ruby
[09:08:33] wjimenez5271: has joined #ruby
[09:09:07] Bish-: Guest36263, congrats, do gentoo / lfs next, THEN you can be the h4ck3r
[09:09:23] kimegede: has joined #ruby
[09:09:37] Bish-: a = [] # OK for Ruby, but not for Crystal <= this already kills the whole purpose, imho
[09:09:49] tulak: has joined #ruby
[09:10:21] Guest36263: I tried gentoo
[09:10:24] s2013: has joined #ruby
[09:11:24] sepp2k: has joined #ruby
[09:11:51] tomphp: has joined #ruby
[09:12:03] Bish-: well if you didn't stick with it, you're not a real hacker obviously
[09:12:51] wpp: has joined #ruby
[09:13:00] alphaatom: has joined #ruby
[09:16:29] dotix: has joined #ruby
[09:18:23] Guest36263: what's better RubyMine or SublimeText?
[09:19:13] toretore: has joined #ruby
[09:19:23] ruboto: "Best" and "better" are subjective. Try to use a different term.
[09:19:44] adaedra: What's better between orange juice and apple juice?
[09:20:21] dhjondoh: has joined #ruby
[09:21:37] bf4: has joined #ruby
[09:21:38] Lenoo: has left #ruby: ()
[09:22:28] parted: has joined #ruby
[09:22:38] Bish-: Guest34193, vim, not doubt
[09:23:18] Klumben: has joined #ruby
[09:23:24] Bish-: whops, wrong guest.
[09:24:17] cyberfawkes: Guest36263: Sublime is good, but not FOSS. I prefer Vim.
[09:24:27] parted: Hi.. just one quick question: I wanna store multiple Time and String values (as a pair) and afterwards sort by Time.. best way to do it?
[09:24:50] c0m0: has joined #ruby
[09:24:56] ruurd: has joined #ruby
[09:24:57] Bish-: parted, do a hash, have the Time as a key, and the string as value
[09:25:41] adaedra: Depends on unicity
[09:25:46] parted: Bish-: okay thanks.. will try and might come back :)
[09:25:58] Bish-: i'll be here
[09:26:07] rdark: has joined #ruby
[09:26:07] rdark: has joined #ruby
[09:26:37] ZeeNoodley: has joined #ruby
[09:26:44] bigkevmcd: has joined #ruby
[09:27:13] Bish-: parted, it will not work if have the same date multiple times
[09:27:40] parted: Bish-: hmm true.. this might occur..
[09:28:13] adaedra: Otherwise, store your pairs as Array in an Array.
[09:28:23] Bish-: parted, then, what you COULD do is have Time=>[String1,String2]
[09:28:32] subscope: has joined #ruby
[09:28:34] parted: Bish-: i measure response times from a website for a given user list.. i first thought of an array of [Time, user], but don???t know how to sort it
[09:28:40] adaedra: Bish-: Note that the Hash is not sorted by default.
[09:28:41] Bish-: or what adaedra says, what is basicially the same
[09:28:56] Bish-: adaedra, yeah but you can sort it, when you need it, for searching or whatever
[09:29:05] Bish-: an array is not sorted by default either
[09:29:24] snapcase: has joined #ruby
[09:29:30] parted: yeah.. i was just wondering how to tell sort() to sort by the first element..
[09:29:37] adaedra: no, but if there is no unicity, there's not really advantages to use a hash
[09:29:54] krasnus: has joined #ruby
[09:30:01] norc: >> [[3, :c],[1, :a], [2, :b]].sort(&:first)
[09:30:02] adaedra: .sort_by(&:first) # if your date is first element / hash key
[09:30:02] ruboto: norc # => no implicit conversion of Array into Integer (TypeError) ...check link for more (https://eval.in/476207)
[09:30:07] ytti: has joined #ruby
[09:30:07] Didac: has joined #ruby
[09:30:10] Contigi777: has joined #ruby
[09:30:29] parted: ahh okay.. this looks promising.. will try.. thanks
[09:30:30] peteyg_: has joined #ruby
[09:30:31] adaedra: &ri Enumerable#sort_by
[09:30:31] `derpy: http://www.rubydoc.info/stdlib/core/Enumerable#sort_by-instance_method
[09:30:33] norc: Oh yeah. Sort_by :)
[09:30:49] norc: adaedra: Now you have beaten me to it again. :(
[09:30:50] adaedra: Yeah that's it, I got a doubt for a second.
[09:30:52] norc: This is not a contest, is it?
[09:30:57] adaedra: No it's not.
[09:31:12] adaedra: Don't worry, I'm going back to work, you'll have plenty of tries.
[09:31:19] Gustavo: has joined #ruby
[09:31:22] pawnbox: has joined #ruby
[09:32:01] jas02: has joined #ruby
[09:32:02] solocshaw1: has joined #ruby
[09:32:10] tuor: has joined #ruby
[09:32:10] TTilus: has joined #ruby
[09:32:10] driftig: has joined #ruby
[09:32:10] m4rCsi_: has joined #ruby
[09:32:10] sapslaj: has joined #ruby
[09:32:11] bier_: has joined #ruby
[09:32:11] Kuukunen: has joined #ruby
[09:32:21] kriskropd: has joined #ruby
[09:32:27] deadpoet_: has joined #ruby
[09:32:53] lubekpl: has joined #ruby
[09:32:56] r0bby_: has joined #ruby
[09:32:58] eregon: has joined #ruby
[09:33:18] johnhamelink: has joined #ruby
[09:33:26] Coral: has joined #ruby
[09:33:36] bruce_lee2: has joined #ruby
[09:33:43] rejerson69_: has joined #ruby
[09:33:44] shinnya: has joined #ruby
[09:33:46] gambl0re: has joined #ruby
[09:33:55] mic_e: has joined #ruby
[09:33:55] Bish: has joined #ruby
[09:33:56] Puffball_: has joined #ruby
[09:33:57] Gnubie_: has joined #ruby
[09:33:58] bruce_lee2: has joined #ruby
[09:34:19] favadi: has joined #ruby
[09:34:33] euoia: has joined #ruby
[09:34:43] zeljkof: has joined #ruby
[09:34:48] stannard: has joined #ruby
[09:34:49] Bish: >> x = Hash.new { |h,k| h[k] = []}; x[Time.now].push "Errbody say Wayhooo!";x[Time.now].push "nyeh";x
[09:34:53] ruboto: Bish # => {2015-11-26 09:34:50 +0000=>["Errbody say Wayhooo!"], 2015-11-26 09:34:50 +0000=>["nyeh"]} (https://eval.in/476208)
[09:34:54] platzhirsch: has joined #ruby
[09:35:09] pabs: has joined #ruby
[09:35:19] adaedra: >> Time.now == Time.now
[09:35:20] ruboto: adaedra # => false (https://eval.in/476209)
[09:35:29] weckl: has joined #ruby
[09:36:47] CrazyEddy: has joined #ruby
[09:36:50] Bish: adaedra, that's what i was trying :D, ruby is too slow
[09:36:58] parted: worked like a charm.. thanks you both :)
[09:36:59] Bish: or clock too fast.
[09:37:03] adaedra: Or too precise.
[09:37:17] adaedra: >> Array.new(2) { Time.now.to_f }
[09:37:18] ruboto: adaedra # => [1448530637.4594653, 1448530637.459519] (https://eval.in/476210)
[09:37:27] romain_t: has joined #ruby
[09:37:33] adaedra: >> Array.new(2) { Time.now.to_f }.inject :-
[09:37:34] ruboto: adaedra # => -4.9591064453125e-05 (https://eval.in/476211)
[09:37:36] Bish: parted, i always structure everything with Hashes, i love em.
[09:37:41] adaedra: So close, yet so far away.
[09:38:12] benlakey: has joined #ruby
[09:38:13] csaunders: has joined #ruby
[09:38:13] chridal: has joined #ruby
[09:38:14] cpup: has joined #ruby
[09:38:15] SirCmpwn: has joined #ruby
[09:38:15] Mr_Pancake: has joined #ruby
[09:38:16] Luming: has joined #ruby
[09:38:17] vbatts|work: has joined #ruby
[09:38:19] ghormoon: has joined #ruby
[09:38:19] mgorbach: has joined #ruby
[09:38:20] Apocalypse: has joined #ruby
[09:38:20] shortdudey123: has joined #ruby
[09:38:22] Bish: adaedra, can you explain to me, why inject(:&-) works
[09:38:23] derailed: has joined #ruby
[09:38:27] z3uS: has joined #ruby
[09:38:31] Bish: & calls the symbol :- to proc, i understand that
[09:38:35] linc01n: has joined #ruby
[09:38:37] Jello_Raptor: has joined #ruby
[09:38:39] adaedra: Mmh, all those joins, what's happening
[09:38:44] JoshL: has joined #ruby
[09:38:44] shinenelson: has joined #ruby
[09:38:47] adaedra: Bish: you know what #inject does, right?
[09:38:48] thejoecarroll: has joined #ruby
[09:38:52] Bish: but shouldn't the current object do the call?
[09:39:01] solenoids: has joined #ruby
[09:39:12] Bish: adaedra, yeah i know, and i know i can pass it a symbol, but you can also pass &:- which, in my understanding, calls .to_proc on :-
[09:39:22] spleeze: has joined #ruby
[09:39:31] adaedra: `.inject(:-)` is equivalent to `.inject { |a, b| a - b }`
[09:39:35] wjimenez5271: has joined #ruby
[09:39:39] karapetyan: has joined #ruby
[09:39:43] Bish: yeah i kow, i know, that's not my question
[09:39:48] Paradox: has joined #ruby
[09:39:52] Bish: im asking why &:- works, not :-
[09:39:53] adaedra: .inject(&:-)*
[09:39:59] adaedra: I forgot a char.
[09:40:20] Bish: yeah it doesn't do any difference, because inject is clever, but i don't get what happens when this parameter gets evaluated
[09:40:26] shtirlic: has joined #ruby
[09:40:27] adaedra: I wonder how it's explained in the docs
[09:40:30] segy: has joined #ruby
[09:40:31] adaedra: &ri Symbol#to_proc
[09:40:32] `derpy: http://www.rubydoc.info/stdlib/core/Symbol#to_proc-instance_method
[09:40:55] nettoweb: has joined #ruby
[09:41:26] CloCkWeRX: has joined #ruby
[09:41:36] adaedra: The magic is inside Symbol#to_proc, Bish: it creates a Proc which takes parameters and feed them to the method, with the first argument being the object the method is called on.
[09:41:38] bnagy: has joined #ruby
[09:41:59] adaedra: Then, you pass this proc as argument to #inject.
[09:42:16] baweaver: has joined #ruby
[09:42:18] nirix: has joined #ruby
[09:42:39] adaedra: >> :-.to_proc.call(3, 2)
[09:42:41] ruboto: adaedra # => 1 (https://eval.in/476213)
[09:43:35] sepp2k: has joined #ruby
[09:43:36] tvw: has joined #ruby
[09:45:34] Bish: ah, tnaks
[09:45:37] BTRE: has joined #ruby
[09:45:41] Spami: has joined #ruby
[09:45:41] hplar: has joined #ruby
[09:45:57] coffeejunk: has joined #ruby
[09:45:57] xet7: has joined #ruby
[09:46:01] YaknotiS: has joined #ruby
[09:46:19] oddmunds: has joined #ruby
[09:46:35] sanjayu_: has joined #ruby
[09:46:40] Bish: >> (&merge).call([],["yippeh"])
[09:46:41] ruboto: Bish # => /tmp/execpad-4fb659c9562b/source-4fb659c9562b:2: syntax error, unexpected & ...check link for more (https://eval.in/476218)
[09:46:44] troulouliou_div2: has joined #ruby
[09:46:49] boozehound: has joined #ruby
[09:47:01] Bish: ah & works only in parameters
[09:47:10] rfi: has joined #ruby
[09:47:13] adaedra: It calls #to_proc and pass as block
[09:47:18] adaedra: which is only valid as parameters
[09:47:19] wldcordeiro: has joined #ruby
[09:47:22] aganov: has joined #ruby
[09:47:25] Bish: >> :merge.to_proc.call([],["yippeh"])
[09:47:26] ruboto: Bish # => undefined method `merge' for []:Array (NoMethodError) ...check link for more (https://eval.in/476219)
[09:47:35] digneety: has joined #ruby
[09:47:41] Bish: hmpf, anyways i got it
[09:47:55] linduxed: has joined #ruby
[09:48:00] adaedra: >> module Procable; def self.to_proc; proc { |a| puts a }; end; end; (1..5).map &Procable
[09:48:01] ruboto: adaedra # => 1 ...check link for more (https://eval.in/476220)
[09:48:08] mic_e: has joined #ruby
[09:48:14] fold3: has joined #ruby
[09:48:27] adaedra: Mh, I wanted .each, but whatever.
[09:48:28] Morrolan: has joined #ruby
[09:48:36] dwithers2: has joined #ruby
[09:48:49] solars: has joined #ruby
[09:49:01] Bish: >> :[].to_proc.call([1337],1)
[09:49:02] ruboto: Bish # => nil (https://eval.in/476221)
[09:49:06] Bish: >> :[].to_proc.call([1337],0)
[09:49:07] ruboto: Bish # => 1337 (https://eval.in/476222)
[09:49:10] Bish: this is fun.
[09:49:25] mark4: has joined #ruby
[09:49:38] bmalum: has joined #ruby
[09:50:16] bersimoes: has joined #ruby
[09:50:21] elton: has joined #ruby
[09:51:08] DrShoggoth: has joined #ruby
[09:51:49] adaedra: Ruby magic is less magical once you understand it.
[09:52:03] Rollabunna: has joined #ruby
[09:52:30] Gnut: has joined #ruby
[09:52:31] inukshuk: has joined #ruby
[09:52:41] Bish: i never will get tired of it, i would've never been able to design something quite like it
[09:53:05] rclements: has joined #ruby
[09:54:03] kent\n: has joined #ruby
[09:54:14] pawnbox: has joined #ruby
[09:54:41] Bish: can i actually use File.new.flock to synchronize threads?
[09:54:46] sekrit: has joined #ruby
[09:54:48] pleiosaur: has joined #ruby
[09:56:39] subscope: has joined #ruby
[09:57:00] dlitvak: has joined #ruby
[09:57:07] nfk|laptop: has joined #ruby
[09:58:16] karapetyan: has joined #ruby
[09:59:53] User458764: has joined #ruby
[10:01:24] Pupp3tm4st3r: has joined #ruby
[10:03:16] RegulationD: has joined #ruby
[10:04:34] parted: has left #ruby: ()
[10:05:06] Peg-leg: has joined #ruby
[10:06:30] M-Kodo: has joined #ruby
[10:07:03] Pupp3tm4_: has joined #ruby
[10:08:15] n0fx: has joined #ruby
[10:08:20] alphaatom: has joined #ruby
[10:10:37] User458764: has joined #ruby
[10:11:00] rodfersou: has joined #ruby
[10:12:59] null__: has joined #ruby
[10:12:59] null__: has joined #ruby
[10:17:17] M-mistake: has joined #ruby
[10:17:18] M-prosodyContext: has joined #ruby
[10:17:21] lenwood: has joined #ruby
[10:17:23] cookiez: has joined #ruby
[10:18:09] MissionCritical: has joined #ruby
[10:19:13] n0fx: has joined #ruby
[10:20:51] jackcom: if i know block, then i do skilled ruby programmer?
[10:22:17] adaedra: You're a skilled programmer when you're capable of solving problems using Ruby efficiently.
[10:22:19] jackcom: then block is easy concept?
[10:22:30] adaedra: It's not just about knowing the language, it's how to use it.
[10:22:43] solocshaw1: has joined #ruby
[10:22:44] adaedra: This comes with lot of practice and experimentation.
[10:22:45] jackcom: how to use it :(
[10:22:58] jackcom: but my IQ is 158
[10:23:00] adaedra: There's no "hard limit" to being a good programmer.
[10:23:12] brunto: has joined #ruby
[10:23:12] bersimoes: has joined #ruby
[10:23:30] jackcom: ok thanks adaedra
[10:23:41] norc: Bish: I think what you want is a Mutex. ;-)
[10:23:41] m3_del: has joined #ruby
[10:23:47] Bish: jackcom, your english-skills do say no.
[10:24:00] Bish: norc, yeah but i am using .flock in that method already :D that's why i am asking
[10:24:18] adaedra: Bish: we're not all native speakers. This has nothing to do with intelligence.
[10:24:30] norc: Bish: I'll just go out on a limb and say no. It probably is not an atomic operation.
[10:24:38] jackcom: adaedra: is my side?
[10:24:54] norc: Bish: Also. The documentation just made it clear that it locks on a per process basis.
[10:24:57] adaedra: jackcom: I don't get you.
[10:25:02] Bish: i know, but still, 158 is a huge number, someone like that would be able to speak english, as long he is not from some weird country
[10:25:22] norc: Bish: Being able to and doing it are two seperate things.
[10:26:29] jackcom: Bish have name like Fish. Fish have not good IQ
[10:27:31] htmldrum: has joined #ruby
[10:27:53] Kendos-Kenlen: has joined #ruby
[10:29:15] shredding: has joined #ruby
[10:29:38] izzol: has joined #ruby
[10:30:23] skade: has joined #ruby
[10:30:25] dhjondoh: has joined #ruby
[10:31:22] Aww: has joined #ruby
[10:31:51] akosednar: has joined #ruby
[10:32:01] BraddPitt: has joined #ruby
[10:32:07] scottstamp: has joined #ruby
[10:32:18] ruurd: Bish I think YOU are from a weird country.
[10:32:28] amoeba: has joined #ruby
[10:32:35] Meliodas: has joined #ruby
[10:32:44] jackcom: Water World
[10:32:50] n0fx: has joined #ruby
[10:32:55] brunto: has joined #ruby
[10:32:56] gregf_: jackcom: a block is nothing but a code reference(a block of code that you pass as a parameter). it could be like a datatype, though it cannot be assigned to a variable
[10:33:00] ruurd: jackcom the fishes are laughing at you for not being able to determine that their IQ is 200+
[10:33:17] adaedra: Can we stop with the IQs and personal attacks, please?
[10:33:43] dfdfdf: has joined #ruby
[10:33:44] Bish: ruurd, grab a coffe
[10:33:47] jackcom: ok adaedra
[10:34:07] gregf_: >> def foo &bl; bl.call(10);end; def bar x; x / 2;end; [ foo { |x| x / 2 }, bar(10) ] # jackcom
[10:34:08] ruboto: gregf_ # => [5, 5] (https://eval.in/476291)
[10:34:22] jackcom: thanks gregf_ :)
[10:34:41] Bish: giving users access to regex is a security issue, right? since you define variables, if i recall correctly
[10:34:42] gregf_: jackcom: its not at all complicated once you know what you want to do ;)
[10:35:06] jackcom: not complicated. :D good
[10:35:32] Kharma: has joined #ruby
[10:35:34] gregf_: jackcom: and btw, you dont need an IQ to be able to write good code. *its all about hard work and the willingness to learn and improve* ;)
[10:36:20] jackcom: hard work and willingness and high intelligence.
[10:36:24] johnny56: has joined #ruby
[10:36:27] ruurd: jackcom and maybe maybe it is more about EQ than IQ. Being a good and empathic listener often helps a lot in writing good stuff.
[10:36:30] hkumar: has joined #ruby
[10:36:34] adaedra: Bish: user input is a security issue.
[10:36:47] Bish: so... i need to eliminate the user?
[10:36:52] jackcom: ok gregf_ and ruurd :)
[10:36:55] ruurd: software engineering is a trade. not a science.
[10:37:01] gregf_: no need for 'high' intelligence. you think footballers are not intelligent? they still work hard but they cant code ;)
[10:38:24] yoongkang: has joined #ruby
[10:39:21] blackmesa: has joined #ruby
[10:39:33] sepp2k: has joined #ruby
[10:40:24] Bish: am i the only one thinking jackcom is a troll which is just here to waste time?
[10:40:39] jackcom: https://rubymonk.com/learning/books/4-ruby-primer-ascent/chapters/18-blocks/lessons/54-yield
[10:40:51] jackcom: i study this part now
[10:41:35] jackcom: Can we stop with the IQs and personal attacks, please? <??? and you must remember that adaedra say? Bish
[10:41:55] ruurd: I think he is a young guy and maybe a bit of a n00b... they can be a PITA.
[10:41:58] Bish: i never attacked someone, i was just curious why everyone is "helping", while you're obviously not in need of help.
[10:42:10] jackcom: has left #ruby: ()
[10:42:32] Bish: his english is broken, it's not bad, he does it on purpose, he just laims to have an high iq ( none asked for that ), and tells us about his progress, which is non-existent
[10:42:40] adaedra: -o adaedra
[10:42:43] Bish: im not attacking, im just explaining that i did not attack.
[10:42:47] gregf_: Bish: eh? what have you got to lose? it aint off topic?
[10:43:03] Bish: nothing.. i just wanted to stop people from being trolled.
[10:43:44] gregf_: Bish: you can either let somebody get under your skin or ignore them? *makes a note to himself*
[10:44:05] ruurd: I think adaedra is on top of things
[10:44:07] Bish: well, i chose to ignore, but others didn't and i wanted to tell them that they should.
[10:44:26] mistermocha: has joined #ruby
[10:44:29] Bish: and i like to talk, im at work, so timewaste is a good thing for me.
[10:44:58] antgel: has joined #ruby
[10:45:54] ldnunes: has joined #ruby
[10:47:00] Kartikay: has joined #ruby
[10:49:04] karapetyan: has joined #ruby
[10:51:22] elton: has joined #ruby
[10:51:27] jackcom: has joined #ruby
[10:51:31] zacstewart: has joined #ruby
[10:54:22] Gustavo: has joined #ruby
[10:55:18] lubekpl: has joined #ruby
[10:57:04] Hounddog: has joined #ruby
[11:00:15] jackcom: Yield makes executing the block feel like a method invocation within the method invocation rather than a block that's being explicitly called using Proc#call. <????????? i don???t know what ???feel??? is meaning?
[11:00:36] arup_r: has joined #ruby
[11:01:16] shevy: jackcom go read the chris pine tutorial, it explains how to use yield
[11:01:54] bkxd: has joined #ruby
[11:02:00] shevy: you can think of blocks as an additional optional argument to every method; whether you want to use it or not is up to you, in the code you use
[11:02:09] bersimoes: has joined #ruby
[11:03:09] akem: has joined #ruby
[11:04:03] aeontech: has joined #ruby
[11:04:06] yfeldblum: has joined #ruby
[11:05:10] nfk|laptop: has joined #ruby
[11:05:22] jackcom: shevy: i like automation. i say it many times.
[11:05:56] shevy: computers should automate
[11:05:59] shevy: and make life easier
[11:06:05] shevy: I only program so I can be lazier lateron
[11:07:05] dupin: has joined #ruby
[11:07:19] jackcom: shevy: you stay here for 24 hour? you don???t sleep for 1 minute?
[11:08:27] shevy: my wake cycle is rather erratic, I woke up at 04:00, now it is 12:08, I feel like making a nap soon
[11:09:28] jackcom: drinking sleeping pill?
[11:12:46] lubekpl: has joined #ruby
[11:13:23] Hounddog: has joined #ruby
[11:13:31] ldnunes_: has joined #ruby
[11:13:54] timonv: has joined #ruby
[11:15:43] entropie: has joined #ruby
[11:16:23] norc: shevy: Except they are not arguments. ;-)
[11:16:28] karapetyan: has joined #ruby
[11:16:30] norc: Blocks are really special in every way.
[11:17:08] Bish: that's why he used the term "you can think of"
[11:17:28] aibot: has joined #ruby
[11:17:31] alphaatom: has joined #ruby
[11:19:02] norc: Bish: The question arised from a confusion already.
[11:19:14] Hounddog: has joined #ruby
[11:19:24] suchness_: has joined #ruby
[11:20:10] lipoqil: has joined #ruby
[11:20:21] Bish: what question?
[11:20:35] norc: Bish: The original question my statement was about.
[11:20:44] Bish: and that is?
[11:20:57] norc: Read up.
[11:21:03] Bish: there is none
[11:22:07] adaedra: Maybe from someone you've on ignore? ;)
[11:22:29] stamina: has joined #ruby
[11:22:35] shevy: there indeed is none
[11:22:49] Bish: nah, it's just no question, shevy made an not entirely correct statement, to explain, which helped, and norc breaks it :D
[11:23:14] shevy: where is jackcom
[11:23:16] brt: has joined #ruby
[11:23:18] Bish: people are weird today.
[11:23:25] shevy: I thought he had a question!
[11:24:02] Bish: im curious, have you used ruby for webpages without rails?
[11:24:11] norc: Bish: The line in question was actually pointing at the fact that block/yield feels much differently.
[11:24:13] shevy: well .cgi yeah
[11:24:14] Bish: well let's exclude sinatra, too
[11:24:19] shevy: it feels a bit oldschool
[11:24:20] adaedra: I still do
[11:24:26] m3_del: has joined #ruby
[11:24:27] Bish: norc, it wasn't a question though.
[11:24:28] adaedra: Pure Rack!
[11:24:39] dEPy: has joined #ruby
[11:24:54] Bish: shevy, like.. you used ruby like php scripts?
[11:25:05] shevy: I think I got as far into rack by applying .upcase on some middleware stuff
[11:25:09] Bish: i tried that once, for hours and hours, never got it to work, until i used the "fcgi" gem or something
[11:25:13] shevy: Bish yeah! I came from php actually
[11:25:18] norc: Bish: I used plain ruby with fcgi before. Fun times.
[11:25:49] Bish: :D but why would you do that ( mean i know why, i tried it too )
[11:25:55] Kartikay: Hey what does :variable mean?
[11:26:09] AlexRussia: has joined #ruby
[11:26:10] norc: Kartikay: That is a symbol.
[11:26:14] adaedra: Because you're stuck in the 20th century.
[11:26:16] suchness: Kartikay: It doesn't mean anything without context
[11:26:23] Bish: Kartikay, ":variable" the whole thing is a variable, including the :
[11:26:29] alphaatom: has joined #ruby
[11:26:39] Kartikay: Oh! You can start a variable name with :
[11:26:45] Bish: Karpuragauram, no
[11:26:57] adaedra: :xxx is a symbol, it's a value, not the name of a variable.
[11:27:00] norc: >> puts :random_symbol
[11:27:01] shevy: poor Karpuragauram
[11:27:01] ruboto: norc # => random_symbol ...check link for more (https://eval.in/476329)
[11:27:10] Bish: when you say x = :peter, x is a variable which holds :peter, and :peter is a symbol
[11:27:12] gregf_: >> [ :foo.class , "foo".class , :foo.to_s == "foo" ]
[11:27:13] ruboto: gregf_ # => [Symbol, String, true] (https://eval.in/476330)
[11:27:14] Bish: sorry for the confusion
[11:27:25] norc: Kartikay: Symbols are an optimized form of immutable strings used for identifying things
[11:27:28] Kartikay: Now I got it
[11:27:33] agit0: has joined #ruby
[11:27:37] Kartikay: Thanks everyone!
[11:28:07] shredding: has joined #ruby
[11:28:19] Bish: symbols are hard to grasp, imho
[11:28:35] norc: Symbols are just names for internal IDs.
[11:28:41] norc: Nothing more to them reallz
[11:29:00] vondruch: has joined #ruby
[11:29:16] Bish: yeah i always knew that, but the real use-case for them remained hidden for me, for a long time
[11:29:28] adaedra: Their use cases are indeed not really clear.
[11:29:29] Bish: didn't even notice the : prefix in method lists of objects
[11:29:55] adaedra: And it gets a bit worse now that we can hide them in method calls (foo bar: baz)
[11:29:57] Bish: i just got that, when using sequel for the first time
[11:30:32] Bish: because you have to understand them :D, otherwise you will think the guy who wrote sequel is an idiot, but he is actually a genius
[11:30:42] Bish: source: experience.
[11:30:50] adaedra: jeremyevans is indeed really good.
[11:30:55] norc: Bish: The use case arises from the fact that string comparisons are very expensive, while number comparisons are not.
[11:31:08] adaedra: Sequel is love, Sequel is life.
[11:31:14] Bish: norc, that's not the reason they exist
[11:31:20] norc: Bish: That is quite the reason they exist.
[11:31:28] Bish: norc than you didn't understand them
[11:32:11] tulak: has joined #ruby
[11:32:22] adaedra: I'd love to see argumentation with proof on that. Can be very informative for all of us.
[11:32:24] Bish: you could just equip the string class with a mechanism, which turns them into symbols internally, fast comparison is not the reason symbols exist, sure they have the ability to do, but that is a symptom, not the cause.
[11:32:30] shevy: adaedra lol "Sequel is love, Sequel is life."
[11:32:38] dhjondoh: has joined #ruby
[11:32:45] ruboto: don't be mean to adaedra
[11:32:56] adaedra: I forgot about that
[11:33:05] norc: Bish: Ruby has been using symbols for longer than we have a Symbol class.
[11:33:24] shevy: Bish I haven't got into sequel yet, why is it good (or bad)?
[11:33:30] norc: Bish: And String has such a mechanism. It's called #to_sym
[11:33:51] shevy: I feel I only know like 5% of the ruby ecosystem :(
[11:34:11] Bish: norc: you would still have symbols, even if they didn't compare fast => it's not the reason they exist, only thing im saying
[11:34:13] adaedra: shevy: It's amazingly designed.
[11:34:29] adaedra: And cover a huge number of use cases.
[11:34:31] norc: Bish: Let me show you
[11:35:18] Bish: norc, i don't need to be shown anything, you claim that fast comparison is the reason why symbols exist, and it's not, it's an attribute of symbols
[11:35:38] Kedare: has joined #ruby
[11:35:48] adaedra: Bish: then why did we create symbols when we already have strings?
[11:35:50] Bish: shevy, the guy who wrote sequel really knows how to use ruby, it opened my eyes
[11:36:12] ebbflowgo: has joined #ruby
[11:36:41] Bish: adaedra, well, sequel is the prime example for that, because you can use :symbol and "symbol" and they mean totally different things, but you might want to use them in one statement
[11:37:10] norc: Bish: Internally Ruby uses unsigned long to identify things. A string representation is much nicer than random numbers. However, comparisons by (char *) are really expensive.
[11:37:26] norc: Bish: Symbols were created as a simple mapping from IDs to strings, while keeping fast comparison between unsigned long.
[11:37:33] Bish: ofc you would make symbols fast in comparison, if you want them, you don't make them slow, but it's a symptom, not the reason, younowimsaying
[11:37:39] dlitvak: has joined #ruby
[11:37:49] Bish: norc: ok.
[11:38:44] LiquidInsect: has joined #ruby
[11:38:45] adaedra: Bish: so for you, we crated symbols just to have "tagged" strings?
[11:38:52] awk: hmm, anyone use the google_drive gem, i'm struggling to find a way to avoid having to pass a token... it's annnoying to have to visit the url , select your gmail account and get a token and insert it before it will do any manipulation on your google sheets
[11:38:59] bersimoes: has joined #ruby
[11:39:11] Bish: adaedra, well, in my opinion it would be a good reason to do so, even if they were slow
[11:39:14] rodfersou: has joined #ruby
[11:39:24] Bish: but you can make them fast, so you make them fast.
[11:39:33] adaedra: Sounds very limited. norc argument makes more sense, imho.
[11:39:41] CloCkWeRX: has joined #ruby
[11:39:43] norc: Bish: https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L389-L400
[11:39:47] norc: This is about the core of symbols.
[11:40:02] Bish: i know, symbols are fast.
[11:40:07] Coral: has joined #ruby
[11:40:32] adaedra: Bish: if I follow your argumentation, the fact that all symbols with the same string-value are the same object is also a side-effect?
[11:41:20] weihan: has joined #ruby
[11:41:28] norc: >> :foo.to_i # That is breaking up the shell and showing what a symbol boils down to.
[11:41:29] ruboto: norc # => undefined method `to_i' for :foo:Symbol (NoMethodError) ...check link for more (https://eval.in/476348)
[11:41:43] norc: That was unexpected.
[11:41:58] Bish: adaedra, no, that's not what i meant.
[11:42:11] Bish: i mean, that's the reason why symbols should exist even if they would be slow
[11:42:20] Bish: if they were*
[11:42:31] adaedra: Bish: but in that case, having the one-id thing would be irrelevant to the cause.
[11:42:54] Bish: yeah it would be a String2 class :D
[11:42:57] norc: 19>> :foo.to_i
[11:42:58] ruboto: norc # => undefined method `to_i' for :foo:Symbol (NoMethodError) ...check link for more (https://eval.in/476349)
[11:43:19] norc: 18>> :foo.to_i
[11:43:20] ruboto: norc # => 10921 (https://eval.in/476350)
[11:43:22] norc: There we go!
[11:43:35] adaedra: Bish: also, symbols would have the same methods as a string, which, as demonstrated by norc, is not true.
[11:43:45] Bish: >> :foo.object_id == :foo.to_i
[11:43:46] ruboto: Bish # => undefined method `to_i' for :foo:Symbol (NoMethodError) ...check link for more (https://eval.in/476351)
[11:44:03] Bish: ah i see.
[11:45:13] Bish: adaedra, well ofc it's not true, im talking about a parallel universe, where they could not figure out how to compare strings fast in ruby
[11:45:16] shevy: Bish norc's hobby is to study the implementation details of ruby - but not write any ruby code :-)
[11:45:20] Bish: and they still wanted symbols
[11:45:41] Bish: well, im not saying he is wrong, im claiming we would have symbols, even if they were fast
[11:45:47] adaedra: Bish: but what would these symbols be good for? Half-strings?
[11:46:02] Bish: just to be not-strings
[11:46:03] shevy: what are symbols good for anyway
[11:46:15] skade: has joined #ruby
[11:46:15] norc: Bish: Ignore the fact that you see a String attached to it.
[11:46:20] adaedra: shevy: identifiers.
[11:46:24] norc: Bish: Accept that a Symbol is nothing but an ID.
[11:46:35] norc: Ignore the fact that you even have a Class to interact with them.
[11:46:40] norc: Then you get to the moment where they come from.
[11:47:09] aeontech: has joined #ruby
[11:48:50] apeiros: shevy: everything with a name in ruby has a symbol. when you define a method `def foo`, it's internally identified as :foo
[11:49:03] apeiros: when you have an instance variable @bar, it's internally identified as :@foo
[11:49:27] apeiros: same with the other identifiable things (constants, classvars, globals, lvars)
[11:49:44] adaedra: Now, let's see if I got this Big-O notation thing. Symbol comparaison is O(1), when String comparaison is O(n), where n is string length, right?
[11:49:56] apeiros: adaedra: right
[11:49:59] norc: adaedra: Yeap
[11:50:12] c0m0: has joined #ruby
[11:50:14] norc: adaedra: well O(n+1) technically
[11:50:28] apeiros: O(n+1) *is* O(n)
[11:50:30] Kartikay: norc: Mathematically O(n+1)=O(n)
[11:50:31] norc: Ah well.
[11:50:36] norc: Yeah silly me sorry.
[11:50:43] shevy: there we see who was good in maths and who was not!
[11:50:43] apeiros: even O(n+1000000000000000000000) is still O(n)
[11:50:43] adaedra: norc: more complicated than that, actually. comparing "hello" and "world" is as fast as 3 and 5.
[11:51:06] norc: adaedra: Indeed.
[11:51:27] Sp4rKy: has joined #ruby
[11:51:46] fgro: has joined #ruby
[11:51:58] skade: has joined #ruby
[11:52:10] elton: has joined #ruby
[11:52:16] Kartikay: adaedra: I didn't get that, why?
[11:52:22] Kartikay: Why 3 and 5?
[11:52:29] fgro: hi. i have a ruby expression question. "tester".match(/^test(er|null)$/) matchtes ... but how do I get "test" to match?
[11:52:46] apeiros: fgro: make the group optional with "?"
[11:53:03] adaedra: Kartikay: because comparing two strings stops at the first different char. So, since h != w, you stop here, so it's just comparing two numbers.
[11:53:09] apeiros: fgro: also be aware that ^ and $ relate to *line*, not *string*.
[11:53:26] Kartikay: adaedra: Oh, right.
[11:53:27] apeiros: >> "foobar\ntest".match(/test/) # @fgro
[11:53:28] ruboto: apeiros # => #<MatchData "test"> (https://eval.in/476357)
[11:53:47] fgro: apeiros: yes that's it. thank you very much! sometimes the solution is so close, but the mind is just blocked.
[11:53:47] marr: has joined #ruby
[11:53:47] apeiros: adaedra: irrelevant
[11:54:29] adaedra: Kartikay: if you want to be technically correct, it's comparing 167 and 150.
[11:54:31] apeiros: adaedra: big O doesn't care about a single case. it's about the approximation of the cases with n -> ???
[11:54:39] adaedra: apeiros: yeah, I know.
[11:55:10] apeiros: and a better implementation probably doesn't even compare single chars
[11:55:22] apeiros: at least I wouldn't implement it that way
[11:55:24] Bish: norc, i do accept it, they have an id because it's fast, but they are not fast because they have an id
[11:55:51] arup_r: has joined #ruby
[11:55:53] adaedra: No, they are fast because we needed a fast way to compare names.
[11:56:03] apeiros: oh well, though, with C strings, you probably actually must (because length is unknown, and figuring length is O(n) :-S)
[11:57:02] Kartikay: has left #ruby: ()
[11:57:06] apeiros: Bish: they are fast because they have an id. those id's have an attached strings because us meatbags are bad with ids, and better with names.
[11:57:24] Bish: i know, that _technicially_ they are fast because they have an id
[11:57:28] adaedra: ???meatbags???
[11:58:02] duper: apeiros, couldn't you make finding the length O(log(n)) by calloc()'ing twice as many bytes as the max String length and then checking for a '
[11:58:08] Bish: but at first, ruby needed a way to compare strings, which are immutable. That we can do that fast, is just a neat side-effect
[11:58:33] apeiros: at least I assume you wouldn't want to write [1,2,3].<-1457615821658831418> { |<-4257034526262586490>| <-4257034526262586490>.<-1928340050693185534>(2) } instead of [1,2,3].map { |a| a * 2 } :)
[11:58:42] norc: Bish: No. Ignore the string part.
[11:58:53] adaedra: apeiros: stop it, you'll invoke Ox0dea.
[11:58:56] duper: err.. that was a NULL, i.e. '\\0'
[11:59:07] norc: Bish: Look at the github link I showed you. A Symbol is nothing but a number internally.
[11:59:12] apeiros: duper: you can't guarantee you didn't miss a null byte without checking every character.
[11:59:22] Bish: norc i know all that, without looking at your link
[11:59:28] apeiros: because after the null byte is garbage, which is potentially not null.
[11:59:35] Bish: for the parser, it is still a string.
[11:59:38] apeiros: or rather: almost certainly not null.
[11:59:46] apeiros: and if you null the garbage, you're back at O(n)
[11:59:54] duper: apeiros, that's why you would calloc() it.. so the entire buffer after the max length is all zeroes..
[11:59:56] norc: Bish: Ruby does not need a way to compare strings. Ruby needs a way to compare Objects.
[12:00:15] apeiros: duper: yupp, as said, O(n) again because zeroing isn't free :)
[12:00:20] adaedra: duper: zeroing memory just for the sake of comparing two strings?
[12:00:33] duper: I'm talking about an FFI implementation in C for a Ruby method in the String class obviously..
[12:00:37] adaedra: also, calloc() is far away from a cheap operation.
[12:00:44] duper: adeponte, not comparison.. length checking
[12:01:05] brunto: has joined #ruby
[12:01:14] symm-: has joined #ruby
[12:01:19] norc: Bish: Ruby has been using symbols internally all over the place long before the parser knew about them.
[12:01:19] duper: adeponte, sure.. but it's a one time thing.. checking the length will happen many times, but with a binary search which is O(log(n))
[12:01:23] adaedra: Aah, Tab key, people's best friend and worst ennemy.
[12:02:05] adaedra: Or maybe people don't see the a after the d. What do you think, adeponte?
[12:02:25] norc: Bish: Correction that was a bit wrong.
[12:02:48] bkxd: has joined #ruby
[12:02:53] bmalum: has joined #ruby
[12:03:03] shevy: whos is adeponte
[12:03:15] shevy: tab completion
[12:03:23] Bish: well a variable in c is a symbol of some sort, so the first line of ruby was using them internally
[12:03:29] shevy: I never tab complete on adaedra, I always write it down BY THE LETTER, with love!
[12:03:59] Guest3147: you're too cute shevy (typed every letter with love)
[12:04:05] adaedra: shevy: maybe if you lived in the 21st century with us, you'd have a tab completion feature.
[12:07:30] norc: Bish: But yeah, you are right. To the parser it is still a string. But to the parser everything is a string so that is not really an argument. ;-)
[12:07:58] tjad: norc: actually, to the parser, everything is a token
[12:08:06] Bish: which is a string.
[12:08:07] norc: tjad: Point taken.
[12:08:07] tjad: to the lexer, everything is a string ;-)
[12:08:25] tjad: eh, just trying to get into these conversations :P
[12:08:57] jackcom: has joined #ruby
[12:10:16] myztic: has joined #ruby
[12:10:53] Gustavo: has joined #ruby
[12:13:11] bersimoes: has joined #ruby
[12:14:53] arup_r1: has joined #ruby
[12:15:36] amirpro_: has joined #ruby
[12:17:31] sdothum: has joined #ruby
[12:20:58] moeabdol1: has joined #ruby
[12:21:37] alem0lars: has joined #ruby
[12:22:51] jackcom: puts method(:foo) <?????? i don???t know what ???:??? is meaning?
[12:23:01] tobiasvl: jackcom: it's a symbol
[12:23:15] jackcom: i don???t know symbol
[12:23:20] Bish: it's a string *trollface*
[12:23:44] tobiasvl: jackcom: http://ruby-doc.org/core-2.2.0/Symbol.html
[12:23:47] tjad: Lot's of talk about symbols today
[12:24:05] jackcom: thanks tobiasvl
[12:24:31] adaedra: jackcom: you really need to start searching the documentation by yourself.
[12:24:45] jackcom: yeah adaedra
[12:24:50] subscope: has joined #ruby
[12:25:16] jackcom: but i want go fastly adaedra
[12:25:57] programmerq: has joined #ruby
[12:26:04] adaedra: jackcom: and knowing how to search and where to search will help you with that. You'll always need documetation.
[12:26:04] tobiasvl: asking here is probably faster in specific instances, you will always go faster if you learn how to learn for yourself
[12:26:27] adaedra: jackcom: You'll not always have a channel full of people here to help you.
[12:26:55] jackcom: ok i will try it. :P
[12:27:05] adaedra: when tobiasvl told you "It's a symbol", you should have looked in the Ruby documentation at Symbol.
[12:27:37] jackcom: ok adaedra :)
[12:27:43] tobiasvl: googling "ruby colon" also gives relevant results, but googling ":" isn't very easy of course
[12:27:52] trosborn: has joined #ruby
[12:28:08] adaedra: ruby-doc.org is the reference, rubydoc.info also have all ruby docs, devdocs.io also and a quick search. If you're under OS X, you can also look at Dash, which is a wonderful tool for documentation.
[12:28:44] jackcom: ruby-doc.org
[12:29:08] jackcom: but i don???t see Dash under OS x
[12:29:48] adaedra: Google: OS X Dash. It's in the first results.
[12:30:18] adaedra: Seriously, this should be a reflex.
[12:30:32] adaedra: This is also part of being an efficient programmer.
[12:30:42] aeontech: has joined #ruby
[12:30:59] jackcom: ok but i m good at lua
[12:31:06] tk_: has joined #ruby
[12:31:15] jackcom: i can do everything by lua heh
[12:31:15] adaedra: and how do you solve your lua-related problems?
[12:31:17] Vitor: has joined #ruby
[12:31:18] prestorium: has joined #ruby
[12:31:28] jackcom: lua people is kind
[12:31:38] jackcom: they respond solution always.
[12:31:48] Bish: never seen you in #lua
[12:32:28] vondruch: has joined #ruby
[12:32:38] vondruch: hmmm, obavy z restartu byly na miste
[12:32:52] sigurding: has joined #ruby
[12:32:52] vondruch: ups ... sorry, wrong channel :/
[12:33:13] adaedra: Pla??t-il ?
[12:33:20] roshanavand: has joined #ruby
[12:33:26] Bish: restartu
[12:34:05] Bish: once, i sent my password in irc, because i thought i was unlocking my screensaver ;;
[12:34:12] tobiasvl: jackcom: we are also kind and will gladly help you and other people, but googling stuff and searching docs for you is a waste of everyone's time in the long run
[12:34:15] tobiasvl: jackcom: http://www.catb.org/esr/faqs/smart-questions.html
[12:34:20] tobiasvl: Bish: haven't we all
[12:34:48] adaedra: tobiasvl: I never did that, because I have eyes.
[12:35:07] Bish: well, my screen back then, needed a second to turn on from standby.
[12:35:22] tobiasvl: yes, well. you've never had the wrong window in focus?
[12:35:27] tjad: bish, norc : In a sense norc is correct by saying " string comparisons are very expensive, while number comparisons are not" but it's a bit vague. Symbols do use a number comparison - as the memory address / object id is used instead of a string comparison. This is the case as symbols are only constructed once (and are inserted into their own symbol table as well- which is index). So each time the symbol is referenced, it's using the same
[12:35:27] tjad: object and hence how the comparison works. So they are slightly more efficient for 2 reasons (a.) not reinitialized everytime (b.) comparisons don't compare the whole string each time. However, Symbols can also be inefficient, this is because of their lifecycle as they are never garbage collected throughout the appliction - which gives an indication of how symbols should be used
[12:35:57] adaedra: Well, tbh, I sent my password in a conversation once, I was taking care of another computer and typed the password on the wrong keyboard :x
[12:36:18] Bish: you keep telling me technical facts, i know, and they're facts, so they're true, it's not what i am saying :D
[12:36:25] Bish: and the discussion is pointless, i guess.
[12:36:48] norc: tjad: Not quite correct. Symbols are GCable since 2.2
[12:36:49] tjad: I'm certain everybody here doesn't have a clear idea of all the facts ;-)
[12:36:59] tjad: norc: interesting
[12:37:03] Bish: but i got a good one for you guys: we invent the fukin quantum computer ( do not even staaaart about telling me how that is going to work )
[12:37:23] adaedra: ACTION sends Bish into a black hole
[12:37:25] Bish: but that computer, has no runtime, if you give him a statement in ruby, he will answer instantly
[12:37:28] jackcom: which os is good for ruby? can i use ubuntu?
[12:37:35] adaedra: jackcom: yes.
[12:37:40] Bish: will ruby still have symbols? since we have strings?
[12:37:49] jackcom: thanks adaedra
[12:37:53] tjad: norc: I've only recently seen some christmas gifts coming such as the lonely operator (&.) finally ha ha ha
[12:37:57] blackmesa: has joined #ruby
[12:37:57] adaedra: Ruby works well everywhere, except that Windows support is less good.
[12:38:15] jackcom: yeah i use windows xp too.
[12:38:17] karapetyan: has joined #ruby
[12:38:32] adaedra: jackcom: but tell me, I thought you were executing scripts not so long ago, so you already knew that?
[12:38:33] jackcom: i m afraid of being hacked
[12:38:41] norc: tjad: I have been told we will be getting Hash#to_proc too.
[12:38:53] norc: Another neat thing for more compact code. :)
[12:39:12] adaedra: Sssh, don't open your presents early!
[12:39:12] jackcom: yes adaedra i did it ???ruby hello.ruby.
[12:39:18] jackcom: ruby hello.rb
[12:39:23] adaedra: On what system?
[12:39:23] Yiota: has joined #ruby
[12:39:36] zacstewart: has joined #ruby
[12:39:41] norc: adaedra: Indeed. Even under Haiku in 2.3 :D
[12:39:50] jackcom: if i say my os, then i will be hacked by hacker? adaedra
[12:40:16] Bish: ACTION hacks jackcom 
[12:40:31] jackcom: really os Z
[12:40:42] jackcom: i don???t know os x
[12:40:47] jackcom: i use os Z
[12:40:55] adaedra: you're trolling us now.
[12:41:04] jackcom: just joking
[12:41:04] zotherstupidguy: has joined #ruby
[12:41:07] casadei: has joined #ruby
[12:42:03] apeiros: tobiasvl: I usually differentiate as helping vs. solving. i.e., "we gladly helping" but "we don't solve the stuff for you". the latter is consulting and if somebody wants that they can hire/pay people for it.
[12:42:06] bersimoes: has joined #ruby
[12:42:17] apeiros: jackcom: ^ actually relevant for you.
[12:42:33] tobiasvl: yeah, that's a nice way to look at it
[12:42:47] roshanavand: has joined #ruby
[12:43:20] apeiros: (of course, there's exceptions - people who contribute a lot here I'll gladly show a solution f.ex.)
[12:43:41] Bish: do you guys who are here all the time, all work during your stay here?
[12:43:50] apeiros: yes. I'm at work atm
[12:43:55] Bish: i was always curious about the good angels in irc channels
[12:44:01] alcy: has joined #ruby
[12:44:01] apeiros: but I'm not always at work when I'm here ;-)
[12:44:08] adaedra: Bish: I'm at work atm too
[12:44:23] Bish: well you 2 have similiar names, so you're the same person to me either way :p
[12:44:26] tobiasvl: yup, I'm at work too. I'm mostly here while at work.
[12:44:28] apeiros: I see it as a way my company pays back to the community for all the work it gets for free.
[12:44:45] apeiros: and so far the company hasn't complained :o)
[12:44:47] Bish: are you talking about FOSS?
[12:44:53] bensarz: has joined #ruby
[12:44:54] tobiasvl: I mostly use IRC for work-related stuff nowadays, social stuff has mostly moved elsewhere :(
[12:45:12] Bish: tobiasvl, where did it move
[12:45:15] apeiros: we use a lot of FOSS and we sadly do little in ways of donations or PRs :-|
[12:45:45] solenoids: has joined #ruby
[12:45:59] B1n4r10: has joined #ruby
[12:46:11] lemur: has joined #ruby
[12:46:31] Bish: which company doesn't
[12:46:39] alcy: hello folks, I am referring to David Black's book - Well Grounded Rubyist, I am not able to understand the use of yield to execute the upcase function in a map implementation. Code - http://pastebin.com/FcVjpwb1
[12:46:39] ruboto: alcy, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/6b132da1b8df9c8591d7
[12:46:40] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[12:47:37] apeiros: alcy: but you understand the use of yield in my_each?
[12:47:56] camonz: has joined #ruby
[12:48:03] alcy: apeiros: yes
[12:48:18] apeiros: ok, what's different to you between the yield in my_each and in my_map?
[12:48:36] m3_del: has joined #ruby
[12:49:00] shevy: tobiasvl where did you move socially?
[12:49:35] prestorium_: has joined #ruby
[12:49:37] alcy: apeiros: in my_each its returning the array element at a position (so, yielding to the [] method perhaps). in my_map I am not able to understand how its yielding to the upcase call ?
[12:49:56] shevy: Bish I here am always the home-computer; for work I sometimes login with another account but mostly I don't have the time for IRC when I am at work, always noticable when I don't respond (though I might also sleep)
[12:49:56] davedev24: has joined #ruby
[12:50:03] apeiros: alcy: hm, ok, I think you misunderstand yield in my_each already
[12:50:16] apeiros: alcy: yield's *return* is completely ignored in my_each.
[12:50:18] Bish: shevy, you SLEEP? :O
[12:50:24] InvGhost: has joined #ruby
[12:50:44] DoubleMalt: has joined #ruby
[12:50:54] trosborn: has joined #ruby
[12:50:55] apeiros: alcy: given: `def foo; yield(1); end`, and use it like: `foo { |x| puts "yielded #{x}" }`
[12:51:22] apeiros: alcy: then the piece of code `{ |x| puts "yielded #{x}" }` is called "a block", which is passed as a special argument to foo.
[12:51:24] kobain: has joined #ruby
[12:51:50] tobiasvl: shevy: some stuff moved to slack, some groups of friends just have facebook chats now, etc
[12:51:51] apeiros: alcy: the keyword `yield` does nothing else than invoke that piece of code. and yield(1) means the |x| in the block gets the value 1.
[12:52:18] apeiros: alcy: i.e., { |arg1, arg2, ???| ??? }, the stuff in || are the arguments the block takes. and yield(arg1, arg2, ???) passes those arguments when it invokes the block.
[12:52:33] apeiros: and yield will return the value the block itself returned.
[12:52:47] alcy: apeiros: gotcha, many thanks !
[12:52:53] elton: has joined #ruby
[12:52:56] beast: has joined #ruby
[12:52:59] apeiros: >> def foo; returned = yield; puts "yield returned #{returned}"; end; foo { 123 }
[12:53:00] ruboto: apeiros # => yield returned 123 ...check link for more (https://eval.in/476419)
[12:53:14] karapetyan: has joined #ruby
[12:53:46] apeiros: alcy: in other words: you can think of yield as "it's a method, and the definition of the method is the block passed to the method we're currently in"
[12:54:47] alcy: apeiros: gotcha, thanks
[12:54:53] dorei: has joined #ruby
[12:55:08] apeiros: alcy: e.g. `def foo; yield(1,2,3); end; foo { |a,b,c| a + b + c }` --> is almost as if --> `def yield_block(a,b,c); a + b + c end; def foo; yield_block(1,2,3); end`
[12:55:10] User458764: has joined #ruby
[12:56:11] alcy: apeiros: haha, sounds perfect.
[12:56:14] alcy: apeiros: thanks !
[12:56:26] kp666: has joined #ruby
[12:58:18] Icey: has joined #ruby
[12:58:35] jackcom: Bish == shevy aspect of verbose
[12:58:48] Bish: jackcom, pardon?
[12:59:07] Bish: what do you want to say?
[12:59:08] adaedra: jackcom: don't highlight people for nothing.
[12:59:52] User4587_: has joined #ruby
[13:01:03] Icey: has joined #ruby
[13:03:00] Icey: has joined #ruby
[13:03:50] Peg-leg: has joined #ruby
[13:03:53] platzhirsch: has joined #ruby
[13:04:43] Icey: has joined #ruby
[13:05:10] Icey: has joined #ruby
[13:05:28] JazzyVariable227: has joined #ruby
[13:07:28] Xiti: has joined #ruby
[13:07:58] JazzyVariable227: has joined #ruby
[13:08:19] asmodlol: has joined #ruby
[13:10:13] Icey: has joined #ruby
[13:10:53] seaned: has joined #ruby
[13:11:30] Hounddog: has joined #ruby
[13:13:35] mistermocha: has joined #ruby
[13:13:47] aeontech: has joined #ruby
[13:13:49] Bish: people would be better off if they did all use CLI interfaces
[13:13:54] Pupp3tm4st3r: has joined #ruby
[13:14:03] Bish: developement of stuff would be such much faster safer and everything
[13:14:13] bersimoes: has joined #ruby
[13:14:13] B1n4r10: has joined #ruby
[13:15:24] shevy: how do you want to distribute them?
[13:15:55] Bish: distribute? what do you mean, everyone just sshs somewhere :D
[13:16:19] Icey: has joined #ruby
[13:17:19] k3asd`: has joined #ruby
[13:18:10] karapetyan: has joined #ruby
[13:18:17] yoongkang: has joined #ruby
[13:20:33] davedev24: has joined #ruby
[13:21:13] gregf_: def upper *args; args.map{ |a| yield(a) };end; p upper("david", "black", "foo") { |val| val.upcase } # i guess this is even more readable :|
[13:22:00] gregf_: def upper; yield("david", "black", "foo");end; p upper { |*arr| arr.map(&:upcase) } # or this
[13:22:43] joonty: has joined #ruby
[13:23:31] gregf_: good that i haven't read too many of those books ;) # those books can be more confusing than apeiros and 0xodea
[13:25:56] favadi: has joined #ruby
[13:28:45] akem: has joined #ruby
[13:29:21] lubarch: has joined #ruby
[13:32:40] beauby: has joined #ruby
[13:33:13] dionysus69: has joined #ruby
[13:35:18] pawnbox: has joined #ruby
[13:37:13] Hounddog: has joined #ruby
[13:38:03] Torrieri: has joined #ruby
[13:38:22] Torrieri: has joined #ruby
[13:38:22] Torrieri: has joined #ruby
[13:38:31] diegoaguilar: has joined #ruby
[13:38:44] bmalum: has joined #ruby
[13:39:51] troulouliou_div2: has joined #ruby
[13:40:07] Hounddog: has joined #ruby
[13:42:18] Bish: ACTION never needed a book for a language, always annoyed people in irc
[13:42:21] rickmasta: has joined #ruby
[13:44:05] luca768: has joined #ruby
[13:47:47] Hounddog: has joined #ruby
[13:48:30] freerobby: has joined #ruby
[13:48:41] pontiki: why, because you'd always be in here and never go off and read something? :D
[13:50:26] Hounddog: has joined #ruby
[13:50:31] pontiki: Bish: wouldn't it be a neat world if all distributed services still ran from CLI? we'd still have gopher, archie, wais, etc
[13:50:39] apeiros: ACTION always had books for languages, never read more than 10 pages???
[13:51:05] pontiki: we'd probably still have flashing banner ads, tho :(
[13:51:24] pontiki: damn you sir tim
[13:53:03] Bish: apeiros, same for me
[13:53:23] Bish: we don't have flashing banner apps?
[13:53:51] elton: has joined #ruby
[13:55:53] asmodlol: has joined #ruby
[13:56:04] shevy: we have but adblock nukes them away
[13:56:16] aeontech: has joined #ruby
[13:56:37] aryaching: has joined #ruby
[13:57:39] Bish: well, they're getting smartter, they evolve(source: last southpark ep.)
[13:58:18] Bish: and adblocks are not very common on phones either
[13:59:21] Hounddog: has joined #ruby
[13:59:56] NeverDie: has joined #ruby
[14:00:31] JazzyVariable227: has joined #ruby
[14:01:16] pontiki: Bish: we have flashing banner ads because the web went all GUI
[14:01:35] pontiki: we'd still have just text-based email
[14:01:48] Bish: yeah, would be great, wouldn't it?
[14:02:03] Bish: im trying to use CLI where i can
[14:02:18] shevy: in my spam mail folder I have total animation overload
[14:02:21] shevy: bouncing pink hearts
[14:02:23] diegoviola: has joined #ruby
[14:02:27] shevy: flashing yellow sabretooths
[14:02:33] shevy: red swords
[14:02:36] pontiki: i even hate writing html and css
[14:03:01] Bish: well, "even", who doesn't
[14:03:20] pontiki: yeah, point there
[14:04:49] maloik: Struggling a little with a regexp in ruby (building a markdown formatter for Prawn). Simple demo and test are available at https://gist.github.com/hannesfostie/7964e07b55477c101e39 (including more context), does anyone know how to make that test pass?
[14:05:04] Gustavo: has joined #ruby
[14:05:46] Hounddog: has joined #ruby
[14:05:56] Bish: everytime i asked questions in irc about parsing html with regex, i've been told i shouldn't do it, because it's not regular
[14:06:14] s00pcan: has joined #ruby
[14:07:01] maloik: I'm not parsing html
[14:07:06] rickmasta: has joined #ruby
[14:07:18] maloik: Prawn is, but I want to change that into markdown parsing
[14:07:41] maloik: updated the gist with an example of a failed attempt, along with the error
[14:07:48] maloik: simply escaping the asterisk didn't quite do the trick
[14:09:17] Hounddog: has joined #ruby
[14:10:24] shevy: asterisk and obelisk
[14:10:48] pontiki: shevy: Asterix et Obelix
[14:11:05] Bish: >> * && Obelix
[14:11:06] ruboto: Bish # => /tmp/execpad-84b3f5bfdf30/source-84b3f5bfdf30:2: syntax error, unexpected &&, expecting '=' ...check link for more (https://eval.in/476466)
[14:11:11] adaedra: pontiki: Ast??rix et Ob??lix
[14:11:23] adaedra: maloik: your * point on nothing.
[14:11:34] pontiki: i can't put in accents in this setup
[14:11:54] naftilos76: has joined #ruby
[14:11:54] maloik: adaedra: sorry what?
[14:12:22] adaedra: maloik: https://gist.github.com/hannesfostie/7964e07b55477c101e39#file-failed-rb-L4 | you have *, but without anything to match
[14:12:24] Hounddog: has joined #ruby
[14:12:30] Bish: >> :* && :+
[14:12:31] ruboto: Bish # => :+ (https://eval.in/476468)
[14:13:08] roshanavand: has joined #ruby
[14:13:45] Bish: what the fuck does that do :D
[14:14:02] shevy: what are you doing
[14:14:02] Bish: and why is :* < :+
[14:14:08] Bish: asterix and obelix.
[14:14:14] shevy: perhaps their id will be compared
[14:14:26] Bish: no, that's not the case, already checked, norc HALP
[14:14:28] adaedra: >> :+ && :*
[14:14:29] ruboto: adaedra # => :* (https://eval.in/476469)
[14:14:34] adaedra: No comparaison here.
[14:14:42] shevy: last one wins!
[14:14:47] maloik: adaedra: if you mean as in "zero or more of...", I'm matching against an actual asterisk. I've tried escaping it but no dice
[14:14:49] adaedra: :+ is truthy, so the second part of the expression will be evaluated.
[14:14:56] shevy: "comparaison" le french english :D
[14:15:02] adaedra: maloik: There's your problem.
[14:15:26] adaedra: shevy: schei??e.
[14:15:58] maloik: you're talking in riddles :/
[14:16:05] adaedra: maloik: any reason you're using Regexp.new instead of just using // or %r{} ?
[14:16:22] maloik: not particularly
[14:16:26] zacstewart: has joined #ruby
[14:16:29] maloik: lets see if that changes anything
[14:16:42] johnny56: has joined #ruby
[14:16:56] adaedra: I think that if you want to escape the * when inside a string, you'd have to do \\*
[14:17:03] adaedra: So Regexp.new gets
[14:18:02] maloik: tried that too
[14:18:07] doublemalt_: has joined #ruby
[14:18:16] ruboto: adaedra # => /tmp/execpad-51ebc7754a1b/source-51ebc7754a1b:6:in `raise': exception object expected (TypeError) ...check link for more (https://eval.in/476471)
[14:18:36] maloik: actually, one reason for regexp.new is the better formatting of the code
[14:18:44] maloik: don't think I can achieve the same with %r{} or // ?
[14:18:45] uri: has joined #ruby
[14:18:51] adaedra: >> Regexp.new "\\*"
[14:18:52] ruboto: adaedra # => /\*/ (https://eval.in/476472)
[14:18:59] adaedra: Looks okay to me?
[14:19:21] dhjondoh: has joined #ruby
[14:19:22] adaedra: >> "*" =~ Regexp.new "\\*"
[14:19:23] ruboto: adaedra # => /tmp/execpad-e14c9c01bcf2/source-e14c9c01bcf2:2: syntax error, unexpected tSTRING_BEG, expecting key ...check link for more (https://eval.in/476473)
[14:19:30] adaedra: >> "*" =~ Regexp.new("\\*")
[14:19:31] ruboto: adaedra # => 0 (https://eval.in/476474)
[14:19:35] jefus: has joined #ruby
[14:19:46] maloik: >> Regexp.new "\\*", Regexp::MULTILINE
[14:19:47] ruboto: maloik # => /\*/m (https://eval.in/476475)
[14:19:50] adaedra: maloik: what do you mean, better formatting of the code?
[14:20:10] maloik: each line in that string resembles a logical pair, originally of opening and closing html tags
[14:20:29] jefus: has left #ruby: ()
[14:20:37] adaedra: >> /<b>/ | %r{</b>}
[14:20:38] ruboto: adaedra # => undefined method `|' for /<b>/:Regexp (NoMethodError) ...check link for more (https://eval.in/476476)
[14:20:47] adaedra: Mh, I remember something like that
[14:21:14] atomical: has joined #ruby
[14:21:36] adaedra: >> Regexp.union /<b>/, %r{</b>}
[14:21:37] ruboto: adaedra # => /(?-mix:<b>)|(?-mix:<\/b>)/ (https://eval.in/476477)
[14:21:45] adaedra: See, you can assemble parts
[14:22:23] bmalum_: has joined #ruby
[14:22:38] adaedra: >> Regexp.union "\n", "<b>", "</b>", "*"
[14:22:39] ruboto: adaedra # => /\n|<b>|<\/b>|\*/ (https://eval.in/476478)
[14:22:44] bmalum_: has left #ruby: ()
[14:23:03] maloik: nice, lets see
[14:23:12] bersimoes: has joined #ruby
[14:23:51] shlomo: has joined #ruby
[14:24:49] adaedra: For a more general point of view, I don't think you should use Regexp for your case.
[14:24:59] adaedra: You're trying to do HTML to Markdown, right?
[14:25:47] alexherbo2: has joined #ruby
[14:26:12] maloik: nope not at all
[14:26:23] maloik: either way, I can't get my test to pass
[14:26:58] atomical: has joined #ruby
[14:28:03] moeabdol: has joined #ruby
[14:28:27] poguez_: has joined #ruby
[14:29:41] norc: maloik: Also when doing Regular expressions, nesting them with interpolation can greatly improve readability.
[14:30:18] maikowblue: has joined #ruby
[14:30:22] s00pcan: has joined #ruby
[14:31:08] platzhirsch: has left #ruby: ()
[14:31:12] pyon: has joined #ruby
[14:32:27] maloik: norc: how would you apply that in this case?
[14:33:01] norc: maloik: Oh it's just a random tip for larger regex
[14:34:57] maloik: oh ok... yea I do know about interpolation in that context
[14:35:14] bersimoes: has joined #ruby
[14:37:32] favadi: has joined #ruby
[14:39:41] aeontech: has joined #ruby
[14:40:36] maloik: ugh I can't get this to work at all
[14:40:52] yoongkang: has joined #ruby
[14:41:43] subscope: has joined #ruby
[14:43:53] mistermocha: has joined #ruby
[14:44:19] varunwachaspati: Are messages in Ruby dynamically binded to the methods?
[14:44:23] aufi: has joined #ruby
[14:44:46] Jardayn: has joined #ruby
[14:45:06] bubbys: has joined #ruby
[14:45:22] rickmasta: has joined #ruby
[14:45:49] SHyx0rmZ: has joined #ruby
[14:46:23] rickmasta: has joined #ruby
[14:46:33] maloik: holy moly, I figured it out... it's the very last part of the regexp that was messing me up, I had to add a * in there as well
[14:46:55] yorickpeterse: varunwachaspati: the relation between a name and the method is set up when a method is defined
[14:47:16] yorickpeterse: However, method lookups are dynamic. That is, you can use method_missing and the likes to catch messages sent to objects that can't respond to them
[14:47:27] rickmasta: has joined #ruby
[14:48:09] atomical: has joined #ruby
[14:48:33] pawnbox: has joined #ruby
[14:48:42] rickmasta: has joined #ruby
[14:48:54] ItSANgo: has joined #ruby
[14:49:42] pawnbox: has joined #ruby
[14:52:27] rickmasta: has joined #ruby
[14:53:08] subscope: has joined #ruby
[14:54:36] rickmasta: has joined #ruby
[14:54:37] elton: has joined #ruby
[14:54:59] gregf_: oops. wrong chat
[14:55:02] karapetyan: has joined #ruby
[14:55:14] adaedra: It's "Find the steves" game?
[14:56:14] rickmasta: has joined #ruby
[14:57:16] rickmasta: has joined #ruby
[14:59:28] rickmasta: has joined #ruby
[14:59:52] gregf_: well, kinda. not steves but jobs
[15:00:29] rickmasta: has joined #ruby
[15:00:59] saddad: has joined #ruby
[15:01:47] tvw: has joined #ruby
[15:02:24] Mon_Ouie: has joined #ruby
[15:02:35] rickmasta: has joined #ruby
[15:03:53] rickmasta: has joined #ruby
[15:05:01] _blizzy_: has joined #ruby
[15:08:53] rickmasta: has joined #ruby
[15:10:41] roKin14: has joined #ruby
[15:14:30] radgeRayden: has joined #ruby
[15:15:19] aufi: has joined #ruby
[15:16:55] rickmasta: has joined #ruby
[15:20:16] roshanavand: has joined #ruby
[15:20:52] Scripore: has joined #ruby
[15:21:03] aeontech: has joined #ruby
[15:21:28] robise: has joined #ruby
[15:21:31] thejoecarroll: has joined #ruby
[15:21:58] aufi: has joined #ruby
[15:22:51] _blizzy_: has joined #ruby
[15:23:14] nettoweb: has joined #ruby
[15:23:27] pandaant: has joined #ruby
[15:25:39] subscope: has joined #ruby
[15:25:43] BSaboia: has joined #ruby
[15:26:39] sandstrom: has joined #ruby
[15:29:00] banister: has joined #ruby
[15:31:05] decoponio: has joined #ruby
[15:32:24] rickmasta: has joined #ruby
[15:33:44] DoubleMalt: has joined #ruby
[15:34:16] Gustavo: has joined #ruby
[15:34:57] rickmasta: has joined #ruby
[15:35:11] Kendos-Kenlen: has joined #ruby
[15:36:19] Gustavo: has joined #ruby
[15:36:57] BTRE: has joined #ruby
[15:37:34] atomical: has joined #ruby
[15:37:43] shock_one: has joined #ruby
[15:37:54] inukshuk_: has joined #ruby
[15:38:04] shock_one: What for do we need the method Numeric#rect ?
[15:38:08] ruboto: shock_one # => [2, 0] (https://eval.in/476512)
[15:38:22] JazzyVariable227: has joined #ruby
[15:38:56] adaedra: Numeric#rekt
[15:39:12] adaedra: &ri Numeric#rect
[15:39:12] `derpy: http://www.rubydoc.info/stdlib/core/Numeric#rect-instance_method
[15:39:33] adaedra: Interesting.
[15:39:57] rickmasta: has joined #ruby
[15:40:48] djbkd: has joined #ruby
[15:40:50] shock_one: I would imagine it could describe a rectangle, but the second value in the tuple is always 0.
[15:41:01] rickmasta: has joined #ruby
[15:42:01] yeshacker: has joined #ruby
[15:42:28] aufi: has joined #ruby
[15:43:48] lubarch: has joined #ruby
[15:44:18] adaedra: Defined in complex.c
[15:44:28] adaedra: Yeah, maybe to represent n+0i
[15:44:42] jhass: yeah, symmetry with Complex#rect I guess
[15:44:55] adam_: Does anybody else have an issue using wget to fetch from cache.ruby-lang.org? ie. wget https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0-preview1.tar.bz2
[15:44:58] shock_one: Thank you, that's right.
[15:45:13] adam_: wget 1.17 on osx.
[15:45:19] jhass: adam_: seems to work fine, what issue?
[15:45:29] adam_: jhass: Invalid cert :| I'm trying to figure out if it's with me or with Fastly.
[15:45:49] tvw: has joined #ruby
[15:45:52] jhass: that's probably an OS X/homebrew/whatever issue
[15:45:52] casadei: has joined #ruby
[15:45:54] adam_: curl is fine, so I'm guessing it's wget and SNI .. but, who knows?
[15:46:04] jhass: OS X is bad with GNU tools and their certificate chain
[15:46:09] nettoweb: has joined #ruby
[15:46:26] aryaching: has joined #ruby
[15:46:52] jhass: adam_: my one minute on google says http://superuser.com/a/262832
[15:47:04] djbkd: has joined #ruby
[15:47:07] adam_: Thanks. I'll dig into it.
[15:47:20] adaedra: 1 minute? That's some kind of record
[15:51:25] adam_: This was through ruby-install, so I just unlinked wget through homebrew. Hacky but whatever :)
[15:51:28] shevy: he is an expert googler
[15:51:57] jhass: adaedra: I just googled os x wget invalid cert and it was the second result ...
[15:52:27] shevy: see, you need to have lots of people have a problem, then googling for it will be simple
[15:52:29] adaedra: jhass: That was a joke.
[15:52:45] jhass: mmh, didn't quite get it I guess
[15:52:47] alphaatom: has joined #ruby
[15:53:03] adaedra: That was probably not a good one.
[15:53:09] shevy: you had to read it out with a french accent, then you would have understood it
[15:53:16] jhass: shevy: and that's why Google trends for language popularity is bullshit
[15:53:24] shevy: php rules!
[15:53:40] adaedra: .!kick shevy
[15:53:51] shevy: you people are too sceptical of tiobe :(
[15:54:23] jhass: you care way too much about it
[15:56:05] shevy: it demonstrates the power of statistics
[15:56:30] gregf_: i was writing some code for profiling a php app and needed to generate unique strings and ended up with this: $a = array_merge(range("A", "Z"), range("a", "z"), range(0, 9),["@", "#","=", "??","%","^","&", "_"]);shuffle($a); $a = implode(array_slice($a,0,7)); print "listMessages$a";
[15:56:37] adaedra: and those statistics demonstrate what?
[15:56:57] shevy: those statistics state that php is more popular than ruby
[15:57:09] adaedra: gregf_: do you have a plastic bag I can puke in?
[15:57:16] adaedra: shevy: and it is relevant because...?
[15:57:30] gregf_: that code in ruby was like: "listMessages" + [*?a..?z,*?A..?Z,*0..9, *%w|@ # = ?? % ^ & _|].shuffle[0..7].join
[15:57:41] shevy: it is relevant because the better language will be on top
[15:57:46] gregf_: adaedra: i know, i can sympathize with you ;)
[15:58:06] adaedra: I prefer having a language where people do it because they like it rather than because everyone else uses it.
[15:58:25] jhass: ?better shevy
[15:58:25] ruboto: shevy, "Best" and "better" are subjective. Try to use a different term.
[15:59:30] musl: has joined #ruby
[15:59:36] adaedra: It does not show the better language, but just the most used one.
[15:59:45] adaedra: There's no link.
[16:00:22] ruby-lang195: has joined #ruby
[16:01:18] jhass: shevy: http://tylervigen.com/spurious-correlations replace tiobe with this
[16:01:57] shevy: and this is relevant how
[16:02:28] adaedra: http://i.kinja-img.com/gawker-media/image/upload/s--5apbf8v5--/18calq4ybym0sjpg.jpg
[16:02:49] aeontech: has joined #ruby
[16:02:49] shock_one: has joined #ruby
[16:02:58] BrunoSaboia: has joined #ruby
[16:03:05] adaedra: shevy: this is relevant to show you that graphs are not relevant by showing you, relevantly, irrelevant graphs.
[16:03:15] djbkd: has joined #ruby
[16:03:23] djellemah: has joined #ruby
[16:03:26] shevy: you can show any random graph, I don't see how this is related to language trends
[16:03:58] adaedra: You're totally missing the point.
[16:04:17] shevy: there is no point
[16:04:51] cornerma1: has joined #ruby
[16:05:04] adaedra: That's where I would place a "CQFD" if we were not in an English channel.
[16:05:27] shevy: that's cool
[16:06:07] adaedra: QED in english, apparently.
[16:06:26] jhass: well, in everywhere but france
[16:07:47] adaedra: And a few other speaking countries. :p
[16:07:55] adaedra: I accidently a word.
[16:08:30] JazzyVariable227: has joined #ruby
[16:08:36] uris: has joined #ruby
[16:09:08] Renich: has joined #ruby
[16:11:10] Rollabunna: has joined #ruby
[16:15:42] woven: has joined #ruby
[16:16:10] kerunaru: has joined #ruby
[16:16:44] maloik_: has joined #ruby
[16:17:13] djbkd: has joined #ruby
[16:18:46] Backz: has joined #ruby
[16:19:27] arup_r: has joined #ruby
[16:20:53] nfk: has joined #ruby
[16:21:06] sandstrom: has joined #ruby
[16:21:42] rickmasta: has joined #ruby
[16:22:16] prestorium: has joined #ruby
[16:22:46] dzejrou: has joined #ruby
[16:23:21] bmalum: has joined #ruby
[16:23:26] dzejrou: has joined #ruby
[16:23:33] Ilyes512: has joined #ruby
[16:24:09] voodo: has joined #ruby
[16:25:53] rickmasta: has joined #ruby
[16:27:07] rickmasta: has joined #ruby
[16:27:43] krz: has joined #ruby
[16:29:41] rickmasta: has joined #ruby
[16:30:02] InvGhostt: has joined #ruby
[16:30:31] Ilyes512_: has joined #ruby
[16:31:23] mmitchell: has joined #ruby
[16:31:40] ItSANgo__: has joined #ruby
[16:31:59] bmalum_: has joined #ruby
[16:32:09] davedev24: has joined #ruby
[16:32:41] shinenelson_: has joined #ruby
[16:32:56] pietr0_: has joined #ruby
[16:33:04] symm-_: has joined #ruby
[16:33:15] benlakey_: has joined #ruby
[16:33:42] rickmasta: has joined #ruby
[16:33:58] dimasg: has joined #ruby
[16:34:06] ekleog_: has joined #ruby
[16:34:14] zrl_: has joined #ruby
[16:35:01] shtirlic_: has joined #ruby
[16:35:05] Gadgetoid_: has joined #ruby
[16:35:10] prakriti: has joined #ruby
[16:35:17] Apocalyp-: has joined #ruby
[16:35:18] djellemah_: has joined #ruby
[16:35:44] G: has joined #ruby
[16:35:45] G: has joined #ruby
[16:35:45] existensil_: has joined #ruby
[16:35:53] mclee: has joined #ruby
[16:36:02] Morrolan_: has joined #ruby
[16:36:08] cpup: has joined #ruby
[16:36:16] lsmola: has joined #ruby
[16:36:21] drbrain: has joined #ruby
[16:36:24] dionysus69: has joined #ruby
[16:36:29] solars: has joined #ruby
[16:36:48] howdoicomputer: has joined #ruby
[16:37:11] djbkd: has joined #ruby
[16:37:22] tomdp_: has joined #ruby
[16:38:53] The_Phoenix: has joined #ruby
[16:39:02] rickmasta: has joined #ruby
[16:39:43] linduxed: has joined #ruby
[16:39:46] pabs: has joined #ruby
[16:39:57] Gustavo: has joined #ruby
[16:40:02] zacstewart: has joined #ruby
[16:40:15] spectra: has joined #ruby
[16:40:32] unreal: has joined #ruby
[16:40:58] rickmasta: has joined #ruby
[16:41:15] sinepreggin: has joined #ruby
[16:41:37] RobertBirnie: has joined #ruby
[16:42:13] rickmasta: has joined #ruby
[16:42:34] yoongkang: has joined #ruby
[16:42:40] diego2: has joined #ruby
[16:42:48] diego2: has joined #ruby
[16:43:08] tomchapin: has joined #ruby
[16:44:22] Macaveli: has joined #ruby
[16:44:31] MissionCritical: has joined #ruby
[16:45:17] rickmasta: has joined #ruby
[16:45:38] aeontech: has joined #ruby
[16:46:30] Xeago: has joined #ruby
[16:47:05] shock_one: has joined #ruby
[16:47:11] solocshaw: has joined #ruby
[16:47:21] rickmasta: has joined #ruby
[16:47:46] davedev24: has joined #ruby
[16:47:52] casadei: has joined #ruby
[16:48:43] rickmasta: has joined #ruby
[16:49:04] HaZardX: has joined #ruby
[16:49:24] rickmasta: has joined #ruby
[16:50:26] rickmasta: has joined #ruby
[16:51:23] Ilyes512: has joined #ruby
[16:52:21] Ilyes512: has joined #ruby
[16:52:51] rickmasta: has joined #ruby
[16:53:45] rickmasta: has joined #ruby
[16:54:07] shock_one: has joined #ruby
[16:54:28] rickmasta: has joined #ruby
[16:55:31] Outlastsheep: has joined #ruby
[16:57:15] elton: has joined #ruby
[16:57:16] zapata: has joined #ruby
[16:57:54] Xeago: has joined #ruby
[16:58:05] rickmasta: has joined #ruby
[17:00:00] rickmasta: has joined #ruby
[17:00:55] JazzyVariable227: has joined #ruby
[17:01:11] rickmasta: has joined #ruby
[17:01:54] oli: has joined #ruby
[17:02:09] rickmasta: has joined #ruby
[17:02:44] solocshaw: has joined #ruby
[17:03:00] dimasg: has joined #ruby
[17:03:05] rigsby: has joined #ruby
[17:03:05] djbkd: has joined #ruby
[17:03:41] bensarz: has joined #ruby
[17:05:02] atomical: has joined #ruby
[17:05:18] uri: has joined #ruby
[17:06:17] RegulationD: has joined #ruby
[17:07:29] rigsby: has joined #ruby
[17:07:56] rickmasta: has joined #ruby
[17:08:33] hxegon: has joined #ruby
[17:09:31] rickmasta: has joined #ruby
[17:10:06] Maletor: has joined #ruby
[17:10:34] atomical_: has joined #ruby
[17:11:44] bersimoes: has joined #ruby
[17:11:56] rickmasta: has joined #ruby
[17:12:01] User458764: has joined #ruby
[17:13:04] rickmasta: has joined #ruby
[17:13:08] fedexo: has joined #ruby
[17:14:43] mistermocha: has joined #ruby
[17:15:16] JazzyVariable227: has joined #ruby
[17:18:13] goodcodeguy: has joined #ruby
[17:20:04] Coldblackice: has joined #ruby
[17:21:04] gizmore: has joined #ruby
[17:21:52] JazzyVariable227: has joined #ruby
[17:22:43] _blizzy_: has joined #ruby
[17:23:25] amclain: has joined #ruby
[17:28:22] aeontech: has joined #ruby
[17:29:17] JazzyVariable227: has joined #ruby
[17:30:21] User4587_: has joined #ruby
[17:31:59] krasnus: has joined #ruby
[17:34:50] karapetyan: has joined #ruby
[17:34:53] spiman: has joined #ruby
[17:35:00] JazzyVariable227: has joined #ruby
[17:37:05] atomical: has joined #ruby
[17:37:25] prestorium_: has joined #ruby
[17:38:56] atomical_: has joined #ruby
[17:39:24] joonty: has joined #ruby
[17:40:29] heyimwill: has joined #ruby
[17:40:55] dotix: has joined #ruby
[17:42:26] zacstewart: has joined #ruby
[17:43:04] JazzyVariable227: has joined #ruby
[17:43:08] yoongkang: has joined #ruby
[17:44:28] joonty: has joined #ruby
[17:45:48] r34d3r: has joined #ruby
[17:48:12] blackmesa: has joined #ruby
[17:48:26] solars: I'm getting Encoding::UndefinedConversionError: "\xC3" from ASCII-8BIT to UTF-8 on: ftp.gettextfile(file, "#{DOWNLOAD_DIR}/#{date}.csv") - I know I have to use force encoding, but can anyone tell me how to fix this for this line?
[17:49:02] bersimoes: has joined #ruby
[17:50:10] jhass: turn on binary transfer encoding
[17:50:24] joonty: has joined #ruby
[17:50:31] jhass: that is I guess don't use gettextfile
[17:51:41] nolic: has joined #ruby
[17:52:27] dimasg: has joined #ruby
[17:52:45] nolic: has joined #ruby
[17:53:24] mrtomme: has joined #ruby
[17:53:25] JazzyVariable227: has joined #ruby
[17:53:28] adaedra: ACTION waves goodbye
[17:56:42] maokomioko: has joined #ruby
[17:57:55] roshanavand: has joined #ruby
[17:58:17] elton: has joined #ruby
[17:59:22] marr: has joined #ruby
[17:59:41] hxegon: has joined #ruby
[18:00:57] brunto: has joined #ruby
[18:02:38] ruurd: has joined #ruby
[18:03:18] DoubleMalt: has joined #ruby
[18:05:16] Guest36263: has joined #ruby
[18:05:45] tildes: has joined #ruby
[18:09:06] dotix: has joined #ruby
[18:09:07] dotix: has joined #ruby
[18:09:23] platzhirsch: has joined #ruby
[18:09:26] lorn: has joined #ruby
[18:09:55] RobertBirnie: has joined #ruby
[18:11:02] atomical: has joined #ruby
[18:11:33] aeontech: has joined #ruby
[18:12:17] Rollabunna: has joined #ruby
[18:13:29] alexherbo2: has joined #ruby
[18:13:31] tomphp: has joined #ruby
[18:14:55] Macaveli: has joined #ruby
[18:16:00] karapetyan: has joined #ruby
[18:16:32] maloik: has joined #ruby
[18:17:35] atomical_: has joined #ruby
[18:18:09] luca768: has left #ruby: ("undefined")
[18:18:15] diegoviola: what http libraries for ruby do you guys recommend
[18:18:24] JazzyVariable227: has joined #ruby
[18:18:28] kp666: has joined #ruby
[18:19:00] tomphp: has joined #ruby
[18:19:38] diegoviola: suchness: wasn't that the one that was least recommended or something?
[18:19:49] suchness: I don't know.
[18:20:09] varunwachaspati: are there any static methods/variables/ blocks in ruby?like in JAVA
[18:20:15] suchness: I have never had issues with it, you asked what I reccomend not the hivemind.
[18:20:17] kjones_: has joined #ruby
[18:20:44] suchness: diegoviola: Why don't you find out for yourself.
[18:20:50] subscope: has joined #ruby
[18:20:56] Gustavo: has joined #ruby
[18:21:01] diegoviola: no need to take offense
[18:21:14] suchness: I am not taking ay offense.
[18:21:18] atomical_: has joined #ruby
[18:21:34] kjones_: has joined #ruby
[18:21:47] diegoviola: I'm not belittling your suggestions or anything, I just heard that library was awful
[18:21:53] suchness: Just use whatever one whatever blog you read told you to use instead of httparty.
[18:22:02] Jackneill: has joined #ruby
[18:22:37] kp666: has joined #ruby
[18:22:46] suchness: diegoviola: http://stackoverflow.com/questions/12841960/faraday-vs-httparty
[18:22:55] elton: has joined #ruby
[18:23:07] ellismarte: has joined #ruby
[18:24:27] ellismarte: i???m trying to set up port forwarding. does anyone know if i should click default DMZ server or respond to ping on internet port?
[18:24:53] suchness: ellismarte: You might have better luck in #linux
[18:25:21] suchness: has left #ruby: ()
[18:25:23] suchness: has joined #ruby
[18:25:25] anthony_: has joined #ruby
[18:25:35] ellismarte: suchness: good idea thanks
[18:26:03] elton_: has joined #ruby
[18:26:21] ellismarte: has left #ruby: ()
[18:27:08] nomadicoder_: has joined #ruby
[18:27:17] gustav__: has joined #ruby
[18:27:19] akhkharu: has joined #ruby
[18:27:26] zacts: has joined #ruby
[18:28:01] jayne_: has joined #ruby
[18:28:04] Guest4184_: has joined #ruby
[18:30:00] irk_: has joined #ruby
[18:31:10] hxegon_: has joined #ruby
[18:31:21] prestorium__: has joined #ruby
[18:31:21] aryaching: has joined #ruby
[18:31:44] Drakevr: has joined #ruby
[18:32:23] sankaber: has joined #ruby
[18:32:25] starkruzr: has joined #ruby
[18:32:29] troter_____: has joined #ruby
[18:32:39] rigsby: has joined #ruby
[18:33:14] Pumukel: has joined #ruby
[18:34:47] sdothum: has joined #ruby
[18:34:51] JazzyVariable227: has joined #ruby
[18:34:56] yeticry_: has joined #ruby
[18:35:04] bersimoes: has joined #ruby
[18:35:38] codecop: has joined #ruby
[18:35:39] csmb: has joined #ruby
[18:38:20] brunto: has joined #ruby
[18:39:49] Gnut: has joined #ruby
[18:40:16] atomical: has joined #ruby
[18:40:41] kadoppe: has joined #ruby
[18:42:07] Jackneill: has joined #ruby
[18:42:35] drbernardi: has joined #ruby
[18:42:47] Xeago: has joined #ruby
[18:42:48] User458764: has joined #ruby
[18:44:46] akem: has joined #ruby
[18:46:49] zast: has joined #ruby
[18:47:28] freerobby1: has joined #ruby
[18:47:38] pietr0_: has joined #ruby
[18:47:40] BSab: has joined #ruby
[18:48:08] elton: has joined #ruby
[18:48:22] howdoi: has joined #ruby
[18:48:25] ItSANgo_: has joined #ruby
[18:48:53] Gustavo: has joined #ruby
[18:48:53] linuxboytoo: has joined #ruby
[18:48:57] bmalum: has joined #ruby
[18:49:23] tomdp: has joined #ruby
[18:50:04] moeabdol1: has joined #ruby
[18:53:12] helpa-bot: has joined #ruby
[18:53:43] zhaze3: has joined #ruby
[18:53:51] L1nuX-: has joined #ruby
[18:54:01] headius: has joined #ruby
[18:54:05] LiquidIn1ect: has joined #ruby
[18:55:03] mmasaki_: has joined #ruby
[18:55:03] russt_: has joined #ruby
[18:55:13] based_pdev_: has joined #ruby
[18:55:15] aibot_: has joined #ruby
[18:55:22] brainslug: has joined #ruby
[18:55:26] maxmanders_: has joined #ruby
[18:55:31] phreakocious: has joined #ruby
[18:55:36] linc01n_: has joined #ruby
[18:55:48] bcavileer_: has joined #ruby
[18:55:52] awk_: has joined #ruby
[18:55:56] ec\_: has joined #ruby
[18:56:02] passcod_: has joined #ruby
[18:56:03] LiquidIn1ect: has joined #ruby
[18:56:11] nirix_: has joined #ruby
[18:56:14] sumark: has joined #ruby
[18:56:18] bruce_lee2: has joined #ruby
[18:56:28] _fumk: has joined #ruby
[18:56:31] peteyg: has joined #ruby
[18:56:31] monoprotic: has joined #ruby
[18:56:31] monoprotic: has joined #ruby
[18:56:55] sphex_: has joined #ruby
[18:57:13] sonOfRa_: has joined #ruby
[18:57:17] Sp4rKy_: has joined #ruby
[18:57:18] bluOxigen: has joined #ruby
[18:57:29] boshhead_: has joined #ruby
[18:57:53] d0nn1e_: has joined #ruby
[18:57:54] aspiers_: has joined #ruby
[18:57:57] tokik_: has joined #ruby
[18:58:00] InvGhosttt: has joined #ruby
[18:58:05] uxp: has joined #ruby
[18:58:08] okdas_: has joined #ruby
[18:58:22] perryh: has joined #ruby
[18:58:22] perryh: has joined #ruby
[18:58:31] tethra_: has joined #ruby
[18:58:31] crdpink: has joined #ruby
[18:58:32] xMopxShe-: has joined #ruby
[18:58:36] klaas_: has joined #ruby
[18:58:40] brunto_: has joined #ruby
[18:58:44] sindork_: has joined #ruby
[18:58:49] Eising_: has joined #ruby
[18:58:51] Gadgetoid_: has joined #ruby
[18:58:57] crowell_: has joined #ruby
[18:59:15] kramsee: has joined #ruby
[18:59:31] janelleb_: has joined #ruby
[18:59:36] unreal_: has joined #ruby
[18:59:43] kadoppe_: has joined #ruby
[18:59:47] pocketprotector-: has joined #ruby
[18:59:51] PaulePan1er: has joined #ruby
[18:59:56] ajb-: has joined #ruby
[19:00:06] gf3_: has joined #ruby
[19:00:14] FastJack_: has joined #ruby
[19:00:41] skakri: has joined #ruby
[19:00:42] iko1: has joined #ruby
[19:00:47] Armand: has joined #ruby
[19:01:04] elem: has joined #ruby
[19:01:35] bihi_: has joined #ruby
[19:01:36] redlegion_: has joined #ruby
[19:01:38] chridal_: has joined #ruby
[19:01:41] tomaw_: has joined #ruby
[19:02:11] Mr_Pancake-: has joined #ruby
[19:02:20] icedp: has joined #ruby
[19:02:26] jsaak: has joined #ruby
[19:02:34] ZYPP: has joined #ruby
[19:02:38] thomasfedb: has joined #ruby
[19:02:38] Caius: has joined #ruby
[19:02:38] abra0: has joined #ruby
[19:02:38] Bilge: has joined #ruby
[19:02:38] Phage: has joined #ruby
[19:02:38] Marc-: has joined #ruby
[19:02:38] trajing: has joined #ruby
[19:02:38] atom3: has joined #ruby
[19:02:38] rfi: has joined #ruby
[19:02:38] Muz: has joined #ruby
[19:02:50] solars: has joined #ruby
[19:03:11] Tristan-Speccy: has joined #ruby
[19:03:24] jonathanwallace: has joined #ruby
[19:03:31] lianj: has joined #ruby
[19:03:36] lianj: has joined #ruby
[19:03:36] df: has joined #ruby
[19:03:58] \13k: has joined #ruby
[19:04:45] marens: has joined #ruby
[19:04:45] marens: has joined #ruby
[19:04:52] djellemah_: has joined #ruby
[19:04:56] julieeharshaw: has joined #ruby
[19:05:03] redondos: has joined #ruby
[19:05:11] ruurd: has joined #ruby
[19:05:38] DefV: has joined #ruby
[19:05:41] brixen: has joined #ruby
[19:05:55] Junaos: has joined #ruby
[19:07:21] Cork: has joined #ruby
[19:07:49] mhenrixon: has joined #ruby
[19:08:03] dlitvak_: has joined #ruby
[19:08:03] Ssssss: has joined #ruby
[19:08:04] wlanboy_: has joined #ruby
[19:08:04] Antiarc1: has joined #ruby
[19:08:04] valeri_ufo: has joined #ruby
[19:08:04] patteh: has joined #ruby
[19:08:04] gregf__: has joined #ruby
[19:08:04] ericwood_: has joined #ruby
[19:08:04] sulky: has joined #ruby
[19:08:04] kith_: has joined #ruby
[19:08:04] yeticry_: has joined #ruby
[19:08:04] rigsby: has joined #ruby
[19:08:04] hxegon_: has joined #ruby
[19:08:04] dotix: has joined #ruby
[19:08:04] pabs: has joined #ruby
[19:08:04] dionysus69: has joined #ruby
[19:08:04] benlakey: has joined #ruby
[19:08:04] nfk: has joined #ruby
[19:08:04] musl: has joined #ruby
[19:08:04] yeshacker: has joined #ruby
[19:08:04] thejoecarroll: has joined #ruby
[19:08:04] bubbys: has joined #ruby
[19:08:04] quater-nyan: has joined #ruby
[19:08:04] NeverDie: has joined #ruby
[19:08:04] seaned: has joined #ruby
[19:08:04] solenoids: has joined #ruby
[19:08:04] Yiota: has joined #ruby
[19:08:04] Vitor: has joined #ruby
[19:08:04] inukshuk: has joined #ruby
[19:08:04] izzol: has joined #ruby
[19:08:04] M-Kodo: has joined #ruby
[19:08:05] rclements: has joined #ruby
[19:08:05] fold3: has joined #ruby
[19:08:05] xet7: has joined #ruby
[19:08:05] vbatts|work: has joined #ruby
[19:08:05] Gnubie_: has joined #ruby
[19:08:05] kriskropd: has joined #ruby
[19:08:05] rdark: has joined #ruby
[19:08:05] guardian: has joined #ruby
[19:08:05] trautwein: has joined #ruby
[19:08:05] sunya7a_: has joined #ruby
[19:08:05] evandrojr: has joined #ruby
[19:08:05] rvchangue: has joined #ruby
[19:08:05] adam_: has joined #ruby
[19:08:05] Freijo: has joined #ruby
[19:08:05] Jamo_: has joined #ruby
[19:08:05] braderhart: has joined #ruby
[19:08:05] Encapsulation: has joined #ruby
[19:08:05] peitera: has joined #ruby
[19:08:05] sonne: has joined #ruby
[19:08:05] fumduq-: has joined #ruby
[19:08:05] Guest28511: has joined #ruby
[19:08:05] mduca_: has joined #ruby
[19:08:05] alvaro_o: has joined #ruby
[19:08:05] tubulife-: has joined #ruby
[19:08:05] beagles: has joined #ruby
[19:08:05] c0ncealed: has joined #ruby
[19:08:06] Zackio: has joined #ruby
[19:08:06] cantaberry: has joined #ruby
[19:08:06] tercenya: has joined #ruby
[19:08:06] Keltia: has joined #ruby
[19:08:06] sivoais: has joined #ruby
[19:08:06] madhatter: has joined #ruby
[19:08:06] iamvery: has joined #ruby
[19:08:06] theRoUS: has joined #ruby
[19:08:06] diesel: has joined #ruby
[19:08:06] edwardly: has joined #ruby
[19:08:06] M-Technic: has joined #ruby
[19:08:06] Fire-Dragon-DoL: has joined #ruby
[19:08:06] connor_goodwolf: has joined #ruby
[19:08:06] kiki_lamb: has joined #ruby
[19:08:06] bubuntu_: has joined #ruby
[19:08:06] OmegaA_: has joined #ruby
[19:08:06] ccooke: has joined #ruby
[19:08:06] djanatyn: has joined #ruby
[19:08:06] greedo: has joined #ruby
[19:08:06] droptone: has joined #ruby
[19:08:06] codex: has joined #ruby
[19:08:06] KrzaQ: has joined #ruby
[19:08:06] astrobunny: has joined #ruby
[19:08:06] jidar: has joined #ruby
[19:08:06] duracrisis: has joined #ruby
[19:08:06] low-profile: has joined #ruby
[19:08:06] exceion_: has joined #ruby
[19:08:06] sjohnsen: has joined #ruby
[19:08:06] Laaw: has joined #ruby
[19:08:06] Scient: has joined #ruby
[19:08:06] iDavid: has joined #ruby
[19:08:06] davidcelis: has joined #ruby
[19:08:07] peterhu: has joined #ruby
[19:08:07] danneu: has joined #ruby
[19:08:07] xybre: has joined #ruby
[19:08:07] sung: has joined #ruby
[19:08:07] bahar: has joined #ruby
[19:08:07] apeiros: has joined #ruby
[19:08:07] slash_nick: has joined #ruby
[19:08:07] amitchellbullard: has joined #ruby
[19:08:07] qpls_: has joined #ruby
[19:08:07] mahlon: has joined #ruby
[19:08:07] omegahm: has joined #ruby
[19:08:07] DylanJ: has joined #ruby
[19:08:07] z4ph0d: has joined #ruby
[19:08:07] mblagden_: has joined #ruby
[19:08:07] ex0ns: has joined #ruby
[19:08:07] shawnacscott: has joined #ruby
[19:08:07] sami: has joined #ruby
[19:08:07] nitrix: has joined #ruby
[19:08:07] secret: has joined #ruby
[19:08:07] moredhel: has joined #ruby
[19:08:07] lucas: has joined #ruby
[19:08:07] Biohazard: has joined #ruby
[19:08:07] ceej: has joined #ruby
[19:08:07] clamstar: has joined #ruby
[19:08:07] joast: has joined #ruby
[19:08:07] iamayam: has joined #ruby
[19:08:07] BaNzounet: has joined #ruby
[19:08:07] cats: has joined #ruby
[19:08:07] iszak: has joined #ruby
[19:08:07] SirFunk: has joined #ruby
[19:08:07] sethetter: has joined #ruby
[19:08:07] blowmage: has joined #ruby
[19:08:07] thomas: has joined #ruby
[19:08:07] jtdowney: has joined #ruby
[19:08:08] kloeri: has joined #ruby
[19:08:08] capin: has joined #ruby
[19:08:10] kith: has joined #ruby
[19:08:10] RandyT: has joined #ruby
[19:08:14] segy: has joined #ruby
[19:08:16] yasu_: has joined #ruby
[19:08:20] Renich: has joined #ruby
[19:08:26] linuxboytoo: has joined #ruby
[19:08:46] ekleog: has joined #ruby
[19:09:42] darix: has joined #ruby
[19:09:44] avelldiroll: has joined #ruby
[19:09:58] L1nuX: has joined #ruby
[19:10:04] go|dfish: has joined #ruby
[19:10:04] veloutin: has joined #ruby
[19:10:04] deg: has joined #ruby
[19:10:04] My_Hearing: has joined #ruby
[19:10:04] Utkarsh_: has joined #ruby
[19:10:04] cornerma1: has joined #ruby
[19:10:04] wwalker_: has joined #ruby
[19:10:04] TakumoKatekari: has joined #ruby
[19:10:04] prestorium_: has joined #ruby
[19:10:04] shortdudey123_: has joined #ruby
[19:10:04] dfoolz_: has joined #ruby
[19:10:04] krajos: has joined #ruby
[19:10:04] pleiosau1: has joined #ruby
[19:10:04] Ariadeno_: has joined #ruby
[19:10:04] pawnbox_: has joined #ruby
[19:10:04] ltd: has joined #ruby
[19:10:04] erichmenge_: has joined #ruby
[19:10:04] rdema_: has joined #ruby
[19:10:04] pragmatism_: has joined #ruby
[19:10:04] bakedb_: has joined #ruby
[19:10:04] tomdp_: has joined #ruby
[19:10:04] ItSANgo_: has joined #ruby
[19:10:04] Jackneill: has joined #ruby
[19:10:04] dimasg: has joined #ruby
[19:10:04] tsunamie: has joined #ruby
[19:10:05] ejimz: has joined #ruby
[19:10:05] vifino: has joined #ruby
[19:10:05] ajafo: has joined #ruby
[19:10:05] Mekkis: has joined #ruby
[19:10:12] go|dfish: has joined #ruby
[19:10:14] TakumoKatekari: has joined #ruby
[19:10:23] roxtrongo: has joined #ruby
[19:10:34] solenoids: has joined #ruby
[19:10:36] NeverDie: has joined #ruby
[19:10:37] sunya7a: has joined #ruby
[19:10:39] humd1ng3r: has joined #ruby
[19:10:58] constantinexvi: has joined #ruby
[19:11:07] tildes_: has joined #ruby
[19:11:07] kallisti6: has joined #ruby
[19:11:07] Table: has joined #ruby
[19:11:07] claw: has joined #ruby
[19:11:07] bluOxigen: has joined #ruby
[19:11:07] bersimoes: has joined #ruby
[19:11:07] AustinIncognito: has joined #ruby
[19:11:07] axisys_: has joined #ruby
[19:11:07] tw1sted_: has joined #ruby
[19:11:07] gamache_: has joined #ruby
[19:11:07] j0bk_: has joined #ruby
[19:11:07] macq: has joined #ruby
[19:11:07] Gustavo: has joined #ruby
[19:11:07] codecop: has joined #ruby
[19:11:07] sankaber: has joined #ruby
[19:11:08] marr: has joined #ruby
[19:11:08] r34d3r: has joined #ruby
[19:11:08] lsmola: has joined #ruby
[19:11:08] cpup: has joined #ruby
[19:11:08] mclee: has joined #ruby
[19:11:08] prakriti: has joined #ruby
[19:11:08] shtirlic_: has joined #ruby
[19:11:08] BTRE: has joined #ruby
[19:11:08] pandaant: has joined #ruby
[19:11:08] Jardayn: has joined #ruby
[19:11:08] maikowblue: has joined #ruby
[19:11:08] Icey: has joined #ruby
[19:11:08] brt: has joined #ruby
[19:11:08] ldnunes_: has joined #ruby
[19:11:08] M-prosodyContext: has joined #ruby
[19:11:08] kent\n: has joined #ruby
[19:11:08] dwithers2: has joined #ruby
[19:11:08] YaknotiS: has joined #ruby
[19:11:08] hplar: has joined #ruby
[19:11:08] bnagy: has joined #ruby
[19:11:08] Paradox: has joined #ruby
[19:11:08] spleeze: has joined #ruby
[19:11:08] derailed: has joined #ruby
[19:11:08] SirCmpwn: has joined #ruby
[19:11:08] csaunders: has joined #ruby
[19:11:08] Puffball_: has joined #ruby
[19:11:08] eregon: has joined #ruby
[19:11:08] toretore: has joined #ruby
[19:11:09] andersh: has joined #ruby
[19:11:09] chihhsin: has joined #ruby
[19:11:09] spastorino: has joined #ruby
[19:11:09] xnr: has joined #ruby
[19:11:09] RTG`: has joined #ruby
[19:11:09] kitallis: has joined #ruby
[19:11:09] Kabaka_: has joined #ruby
[19:11:09] bytecrawler: has joined #ruby
[19:11:09] kiez0rd: has joined #ruby
[19:11:09] perrier_: has joined #ruby
[19:11:09] duper: has joined #ruby
[19:11:09] hightower4: has joined #ruby
[19:11:09] PaulCapestany: has joined #ruby
[19:11:09] kies^: has joined #ruby
[19:11:09] gnarf_: has joined #ruby
[19:11:09] Lildirt: has joined #ruby
[19:11:09] hyperdrive: has joined #ruby
[19:11:09] arthurnn_: has joined #ruby
[19:11:09] bewie_: has joined #ruby
[19:11:09] justinmcp_: has joined #ruby
[19:11:09] RazorX-: has joined #ruby
[19:11:09] knight-: has joined #ruby
[19:11:09] ozzloy: has joined #ruby
[19:11:09] Sou|cuttr: has joined #ruby
[19:11:09] gigetoo: has joined #ruby
[19:11:09] ajaiswal: has joined #ruby
[19:11:09] Drakevr: has joined #ruby
[19:11:10] ljarvis_: has joined #ruby
[19:11:10] hackeron_: has joined #ruby
[19:11:10] gavit: has joined #ruby
[19:11:10] ciege: has joined #ruby
[19:11:10] xxneolithicxx: has joined #ruby
[19:11:10] michael_mbp: has joined #ruby
[19:11:10] jinie: has joined #ruby
[19:11:10] woodruffw: has joined #ruby
[19:11:10] stephenh: has joined #ruby
[19:11:10] bradland_: has joined #ruby
[19:11:10] TheSpectre: has joined #ruby
[19:11:10] mg^^: has joined #ruby
[19:11:10] [ace]: has joined #ruby
[19:11:10] badeball: has joined #ruby
[19:11:10] Luna_Moonfang: has joined #ruby
[19:11:10] mburns: has joined #ruby
[19:11:10] ghoti: has joined #ruby
[19:11:10] leslie: has joined #ruby
[19:11:10] AccordsLTN: has joined #ruby
[19:11:10] certainty: has joined #ruby
[19:11:10] aef: has joined #ruby
[19:11:10] KervyN: has joined #ruby
[19:11:10] thang: has joined #ruby
[19:11:10] patronus_: has joined #ruby
[19:11:10] sysanthrope: has joined #ruby
[19:11:10] async_prince: has joined #ruby
[19:11:10] dannluciano: has joined #ruby
[19:11:10] papercode: has joined #ruby
[19:11:11] nisstyre: has joined #ruby
[19:11:11] Scroff: has joined #ruby
[19:11:11] scottymeuk: has joined #ruby
[19:11:11] zenspider: has joined #ruby
[19:11:11] spacemud: has joined #ruby
[19:11:11] Radar: has joined #ruby
[19:11:11] Esya: has joined #ruby
[19:11:11] gsingh93: has joined #ruby
[19:11:11] yxhuvud: has joined #ruby
[19:11:11] plonk_: has joined #ruby
[19:11:11] rtl_: has joined #ruby
[19:11:11] shaman42: has joined #ruby
[19:11:11] Sirecote: has joined #ruby
[19:11:11] duckson: has joined #ruby
[19:11:11] Koshian: has joined #ruby
[19:11:11] konopka: has joined #ruby
[19:11:11] shadeslayer: has joined #ruby
[19:11:11] Lilian: has joined #ruby
[19:11:11] Skelz0r_: has joined #ruby
[19:11:11] rikai: has joined #ruby
[19:11:11] ujjain: has joined #ruby
[19:11:11] [dmp]: has joined #ruby
[19:11:11] pontiki: has joined #ruby
[19:11:11] kenichi: has joined #ruby
[19:11:11] diegok: has joined #ruby
[19:11:11] Log1x: has joined #ruby
[19:11:11] alexblom: has joined #ruby
[19:11:11] sluukkonen: has joined #ruby
[19:11:11] callumacrae: has joined #ruby
[19:11:11] elaptics`away: has joined #ruby
[19:11:11] yorickpeterse: has joined #ruby
[19:11:11] anekos: has joined #ruby
[19:11:11] Papierkorb: has joined #ruby
[19:11:11] ryotarai: has joined #ruby
[19:11:12] rmrrn: has joined #ruby
[19:11:12] jzigmund: has joined #ruby
[19:11:12] alol: has joined #ruby
[19:11:12] yeltzooo: has joined #ruby
[19:11:12] mosez: has joined #ruby
[19:11:12] adeponte: has joined #ruby
[19:11:12] ebertx: has joined #ruby
[19:11:12] joeyjones: has joined #ruby
[19:11:12] tabakhase: has joined #ruby
[19:11:12] mist: has joined #ruby
[19:11:14] matp: has joined #ruby
[19:11:14] troyreadyy: has joined #ruby
[19:11:14] oddalot: has joined #ruby
[19:11:20] eam: has joined #ruby
[19:11:25] asas: has joined #ruby
[19:11:35] zacts: has joined #ruby
[19:12:07] L1nuX: has joined #ruby
[19:12:20] haasn`: has joined #ruby
[19:12:35] GGMethos: has joined #ruby
[19:12:39] M-mistake: has joined #ruby
[19:16:31] Amnez777: has joined #ruby
[22:42:57] helpa: has joined #ruby
[22:43:36] solars: I'll have a look, thank you
[22:46:30] dmolina1: has joined #ruby
[22:49:00] blackmesa: has joined #ruby
[22:51:09] BraddPitt: has joined #ruby
[22:51:37] scottstamp: has joined #ruby
[22:51:59] amoeba: has joined #ruby
[22:52:42] zeroDivisible: has joined #ruby
[22:52:54] My_Hearing: has joined #ruby
[22:57:07] elton: has joined #ruby
[22:57:17] myztic: has joined #ruby
[22:58:38] ICantCook: has joined #ruby
[22:59:31] johnny56: has joined #ruby
[23:00:13] ICantCook: Where I work, we have a lot of random Ruby (and bash, and other languages) scripts which perform maintenance on our web applications. These have commandline interfaces. Is there some sort of opensource web-app to run commandline scripts, with a pretty interface, dropdown parameters, etc?
[23:00:53] ICantCook: Currently, I've been creating jenkins build jobs for junior support staff to run such scripts, with dropdown/checkboxes for parameters
[23:01:04] ICantCook: but I was wondering if there's a better tool for the job
[23:02:14] centrx: ICantCook, What? Why can't you run them on the command line?
[23:02:44] TTilus: just teach the juniors to use command line
[23:02:54] yeticry: has joined #ruby
[23:02:59] mrsolo: has joined #ruby
[23:04:05] ICantCook: centrx: I can lol. But management wants it in a pretty gui in the near future
[23:04:26] TTilus: maybe make the scripts a bit more unified and robust wrt. argument parsing, improve --help and write completions
[23:04:39] TTilus: ICantCook: you mgmt sux :D
[23:04:45] blackmesa: has joined #ruby
[23:05:04] centrx: ICantCook, "Management wants a GUI". Send them this: http://www.hal-pc.org/journal/2007/07_novDec/images/windowWeb_image076.jpg
[23:05:47] yfeldblum: has joined #ruby
[23:06:22] sepp2k: has joined #ruby
[23:06:26] TTilus: ICantCook: tell the mgmt it'll be cheaper to teach juniors to work on command line (which they need to learn at some point anyways) and they'll be more effective on commandline instead of with a gui
[23:06:55] Kharma: has joined #ruby
[23:07:07] TTilus: ICantCook: they usually understand money arguments
[23:07:14] Guest85414______: has joined #ruby
[23:07:18] Vile`: has joined #ruby
[23:08:21] TTilus: there's a reason command line is called COMMAND line :)
[23:09:15] elliottcable: has joined #ruby
[23:09:16] TTilus: (it just might have something to do with the fact it has been polished over decades to be effective in issuing commands to computer)
[23:09:17] jmhmccr: has joined #ruby
[23:09:21] RegulationD: has joined #ruby
[23:10:19] ICantCook: lol! Yes, I'm aware of all that. I want to have a technical solution available as well :)
[23:10:31] ICantCook: lol @ the HAL picture
[23:10:52] pmarreck: has joined #ruby
[23:12:40] im0b: has joined #ruby
[23:12:59] voodo: has joined #ruby
[23:13:39] dravine: has joined #ruby
[23:14:44] nettoweb: has joined #ruby
[23:16:56] shelling__: has joined #ruby
[23:17:20] akitada: has joined #ruby
[23:17:33] twodayslate: has joined #ruby
[23:18:47] purplexed-: has joined #ruby
[23:19:30] zeroDivisible: has joined #ruby
[23:20:51] ChanServ: -b niCKgREgGer!*@*
[23:20:58] KramerC_: has joined #ruby
[23:21:00] JazzyVariable227: has joined #ruby
[23:21:30] waka: has joined #ruby
[23:22:06] lacrosse: has joined #ruby
[23:22:30] machty: has joined #ruby
[23:22:44] yo61: has joined #ruby
[23:24:03] bove: has joined #ruby
[23:24:29] benlakey: has joined #ruby
[23:24:56] diegoaguilar: has joined #ruby
[23:25:05] Kyuujitsu: has joined #ruby
[23:25:07] lancetw: has joined #ruby
[23:29:02] Xeago: has joined #ruby
[23:29:20] prosody: has joined #ruby
[23:30:05] vikas027: has joined #ruby
[23:33:05] Kyuujitsu: has joined #ruby
[23:34:23] countryHick: has joined #ruby
[23:34:51] bersimoes: has joined #ruby
[23:36:24] mrsolo: has joined #ruby
[23:36:55] shinenelson: has joined #ruby
[23:37:11] Heero: has joined #ruby
[23:37:46] dotix: has joined #ruby
[23:37:47] tubuliferous_: has joined #ruby
[23:38:01] skweek: has joined #ruby
[23:39:25] ta: has joined #ruby
[23:39:28] nso95-: has joined #ruby
[23:39:29] nso95-: has joined #ruby
[23:39:33] dlitvak: has joined #ruby
[23:40:13] hkumar: has joined #ruby
[23:40:42] _blizzy_: has joined #ruby
[23:41:33] vikaton: has joined #ruby
[23:42:04] TTilus: parameterized jenkins jobs are the closest that i can think of
[23:42:47] centrx: TTilus, You could make a webapp real quick to do it
[23:42:51] centrx: TTilus, but again silly
[23:43:03] TTilus: yes, very much so
[23:43:56] hxegon: has joined #ruby
[23:44:17] solocshaw: has joined #ruby
[23:44:39] moeabdol2: has joined #ruby
[23:45:04] anthony_: has joined #ruby
[23:45:11] anthony_: has left #ruby: ()
[23:45:25] blackmes1: has joined #ruby
[23:46:55] d0nn1e_: has joined #ruby
[23:46:57] Mia: has joined #ruby
[23:47:10] safe: has joined #ruby
[23:47:21] tomdp_: has joined #ruby
[23:47:26] yoongkang: has joined #ruby
[23:47:27] glennt: has joined #ruby
[23:48:04] perryh: has joined #ruby
[23:48:04] perryh: has joined #ruby
[23:48:43] yasu__: has joined #ruby
[23:53:11] Azure|dc: has joined #ruby
[23:53:24] dfoolz_: has joined #ruby
[23:53:26] shortdudey123_: has joined #ruby
[23:53:34] nirix_: has joined #ruby
[23:53:47] brixen_: has joined #ruby
[23:54:38] jamto11: has joined #ruby
[23:55:02] VeryBewitching: has joined #ruby
[23:55:36] thomasfedb: has joined #ruby
[23:55:36] thomasfedb: has joined #ruby
[23:56:28] gsingh93: has joined #ruby
[23:56:52] sunya7a: has joined #ruby
[23:57:52] elton: has joined #ruby
[23:58:29] brt: has joined #ruby