« Back to channel list

#ruby - 02 December 2015

« Back 1 day Forward 1 day »
[00:00:37] pragmatism_: Any idea? I'm banging my head against a well here
[00:00:48] drbrain: pragmatism_: it seems the issue is with the configure script
[00:00:49] drbrain: https://gist.github.com/dankozlowski/dac955a3eb4299d199b0#file-gistfile1-txt-L352
[00:01:26] pragmatism_: I'm using latest rbenv and ruby-builder
[00:01:29] drbrain: ??? or maybe missing/explicit_bzero.c is broken
[00:01:40] pragmatism_: other devs haven't had an issue
[00:01:42] drbrain: it's probably a ruby issue, not a rbenv/ruby-builder issue
[00:01:56] drbrain: ruby 2.3 isn't released yet, so that could be why
[00:02:18] drbrain: https://github.com/ruby/ruby/commit/fd8f7848b4d7a0280cb538745c89811df4022198
[00:02:56] Ruby_Rocks_007: has left #ruby: ()
[00:03:01] drbrain: https://github.com/ruby/ruby/commit/48de9684b95e9aad03473fa1a00b640bbf428d12
[00:03:08] drbrain: ??? makes me think configure script is wrong
[00:03:41] millerti: has joined #ruby
[00:03:45] bubbys: has joined #ruby
[00:04:04] drbrain: Try pulling 8ea55641830d29d6e1f54803406a5a111c12770b, or drop back to a release version of ruby
[00:05:24] pragmatism: has joined #ruby
[00:05:27] threh: has joined #ruby
[00:05:34] soulisson: has joined #ruby
[00:06:23] lemur: has joined #ruby
[00:06:48] sondr3: has joined #ruby
[00:07:03] soulisson: Hi, I'm new to ruby, I would like to know how a block is implicitly passed to a method? Is a reference to the block implicitly passed to the method when the method is called?
[00:07:16] weemsledeux: has joined #ruby
[00:07:28] RainBowww: has joined #ruby
[00:07:34] RainBowww: how to learn ruby
[00:07:44] howdoicomputer: has joined #ruby
[00:07:51] devbug: has joined #ruby
[00:08:10] s00pcan: has joined #ruby
[00:08:25] akem: has joined #ruby
[00:08:33] baweaver: RainBowww: what have you tried?
[00:08:41] baweaver: including typing that into a search engine
[00:08:42] skweek: has joined #ruby
[00:08:47] drbrain: soulisson: what do you mean by "implicitly"?
[00:09:20] RainBowww: i think what i need is how to program in object oriented way
[00:09:25] RainBowww: i dont understand it
[00:09:26] drbrain: soulisson: when a block is passed to a method, a reference to it is included as one of the parameters
[00:09:36] soulisson: drbrain, when there is only yield in the method and no &block in the method declaration
[00:09:40] RainBowww: i know basics but how to use it
[00:09:45] baweaver: Practical Object Oriented Design in Ruby - Sandi Metz
[00:09:57] RainBowww: baweaver ok
[00:10:04] soulisson: drbrain, that's what I thought
[00:10:13] baweaver: the more you give us to work with in a question, the better the answer.
[00:10:38] drbrain: soulisson: so for the implicit one where the method yields, there's a hidden block that is forwarded along
[00:10:47] yoongkang: has joined #ruby
[00:10:51] drbrain: soulisson: you can use block_given? to detect if one is there
[00:11:13] RainBowww: has left #ruby: ()
[00:11:22] peterhil`: has joined #ruby
[00:11:51] soulisson: drbrain, ok, but when the method is called, a reference to the block is passed to the method, right?
[00:12:09] n_blownapart: has joined #ruby
[00:12:15] soulisson: drbrain, thanks
[00:12:29] drbrain: you can send blocks to methods that don't yield or have &block in the parameters too
[00:14:41] soulisson: drbrain, thanks, I just wanted to know the black magic behind the yield statement :)
[00:15:10] blackmesa: has joined #ruby
[00:15:27] an0ma1y: has joined #ruby
[00:16:08] symm-: has joined #ruby
[00:17:03] jmsoper: has joined #ruby
[00:18:48] michaeldeol: has joined #ruby
[00:19:43] hahuang65: has joined #ruby
[00:20:20] michaeldeol: has joined #ruby
[00:20:36] shadoi: has joined #ruby
[00:20:54] jdawgaz: has joined #ruby
[00:22:04] deol: has joined #ruby
[00:23:21] nyminal: has joined #ruby
[00:24:09] RegulationD: has joined #ruby
[00:24:29] drbrain: pragmatism: try trunk now, the latest commit should have the fix
[00:24:53] drbrain: pragmatism: https://www.youtube.com/watch?v=7nqcL0mjMjw
[00:25:11] nyminal: has left #ruby: ()
[00:25:46] graydot_: has joined #ruby
[00:27:17] weemsledeux: has joined #ruby
[00:27:25] skweek: has joined #ruby
[00:28:55] thispixel: has joined #ruby
[00:29:34] thispixel: has left #ruby: ()
[00:30:50] mjuszczak: has joined #ruby
[00:31:50] dlitvak: has joined #ruby
[00:32:45] Synthead: has joined #ruby
[00:32:53] Coldblackice: has joined #ruby
[00:35:36] demonlove: has joined #ruby
[00:36:59] an0ma1y: has joined #ruby
[00:37:24] Sperant: has joined #ruby
[00:37:39] Coldblackice: has joined #ruby
[00:38:00] myztic: has joined #ruby
[00:38:09] griffindy: has joined #ruby
[00:38:23] maloik: has joined #ruby
[00:41:18] millerti: has joined #ruby
[00:44:36] paradisaeidae: has joined #ruby
[00:45:37] jdawgaz: has joined #ruby
[00:47:25] casadei: has joined #ruby
[00:49:39] juddey: has joined #ruby
[00:50:26] desmondhume: has joined #ruby
[00:53:44] maloik: has joined #ruby
[00:56:36] uri: has joined #ruby
[00:58:05] _stu_: has joined #ruby
[00:58:21] moeabdol: has joined #ruby
[00:59:18] nkwsy__14: thank you jhass, i switched to chruby and I like it a lot.
[00:59:29] jhass: great, yw
[00:59:39] TheBloke-: has joined #ruby
[00:59:53] n_blownapart: has joined #ruby
[01:00:06] Radar: EvilDMP: Jpwe
[01:00:12] Radar: How did it go*
[01:00:58] shadoi: has joined #ruby
[01:01:26] uri: has joined #ruby
[01:03:48] RickHull: has joined #ruby
[01:05:32] tAn: has joined #ruby
[01:07:33] rickmasta: has joined #ruby
[01:08:51] diegoviola: has joined #ruby
[01:09:39] Kero: has joined #ruby
[01:10:08] Trynemjoel: has joined #ruby
[01:10:16] Ropeney: has joined #ruby
[01:11:42] peterhil`: has joined #ruby
[01:11:49] hahuang61: has joined #ruby
[01:11:50] vdamewood: has joined #ruby
[01:11:56] yoongkang: has joined #ruby
[01:14:57] baweaver: has joined #ruby
[01:15:17] Bellthoven: has joined #ruby
[01:15:19] hahuang65: has joined #ruby
[01:15:55] shazaum_: has joined #ruby
[01:19:13] nettoweb: has joined #ruby
[01:20:40] Encapsulation: has joined #ruby
[01:21:04] solocshaw: has joined #ruby
[01:23:09] astrobunny: has joined #ruby
[01:23:19] hahuang65: has joined #ruby
[01:23:44] devbug: has joined #ruby
[01:24:23] mjuszczak: has joined #ruby
[01:24:53] BTRE: has joined #ruby
[01:24:54] blub: has joined #ruby
[01:26:16] asteros: has joined #ruby
[01:29:00] phantom: has joined #ruby
[01:29:46] Rubie: has joined #ruby
[01:30:32] Tempesta: has joined #ruby
[01:31:42] weemsledeux: has joined #ruby
[01:33:51] s00pcan: has joined #ruby
[01:35:03] platzhirsch: has left #ruby: ()
[01:35:43] maloik: has joined #ruby
[01:37:49] dlitvak: has joined #ruby
[01:41:49] B1n4r10: has joined #ruby
[01:44:55] InvGhosttt: has joined #ruby
[01:48:26] waka: has joined #ruby
[01:48:35] waka: has joined #ruby
[01:49:31] dravine: has joined #ruby
[01:50:08] Rubie: has joined #ruby
[01:50:16] Averna: has joined #ruby
[01:52:39] hxegon: has joined #ruby
[01:56:18] jakemask: has joined #ruby
[01:57:24] wsewolod: has joined #ruby
[01:57:42] jakemask: anyone know the logic behind `STDOUT.write(x.blue) while (x = STDIN.readline) != ''` not working even though the multi-line version works?
[01:58:54] jdawgaz: has joined #ruby
[01:59:24] mozzarella: x being undefined?
[01:59:45] jakemask: right, but if you do a multi-line while it works fine
[01:59:58] jakemask: the execution order is the same, but the variable scope is different?
[02:00:00] eam: what's a multi-line while?
[02:00:11] jakemask: as in while blah; dostuff; end
[02:00:32] minimalism: has joined #ruby
[02:00:46] eam: add x = nil on the line above
[02:01:11] RobertBirnie: has joined #ruby
[02:01:38] rubyc0da: has joined #ruby
[02:01:40] jakemask: yeah, i guess. Seems weird that they're not equivalent
[02:01:46] eam: ruby's scoping is odd
[02:01:47] rubyc0da: yo everybody
[02:01:53] rubyc0da: i got a coding challenge for yall
[02:01:59] rubyc0da: first one to submit a github link wins
[02:02:05] Azure: has joined #ruby
[02:02:30] agent_white: has joined #ruby
[02:02:53] dlitvak: has joined #ruby
[02:02:59] rubyc0da: http://goo.gl/v8qHZO
[02:03:06] rubyc0da: you solve this shit
[02:03:08] rubyc0da: then you win
[02:04:00] ESpiney: has joined #ruby
[02:04:56] ESpiney: has joined #ruby
[02:05:09] haraoka: has joined #ruby
[02:07:07] baweaver: has joined #ruby
[02:08:43] TheBloke: has joined #ruby
[02:11:18] maloik: has joined #ruby
[02:12:18] weemsledeux: has joined #ruby
[02:12:28] yoongkang: has joined #ruby
[02:14:45] zenspider: do your own homework
[02:17:39] chouhoulis: has joined #ruby
[02:20:04] agent_white: Evenin' folks
[02:20:08] sondr3: has joined #ruby
[02:21:09] blub: hi agent white
[02:21:27] shanemcd: has joined #ruby
[02:22:00] ExterminatesweJ: has joined #ruby
[02:22:05] chouhoulis: has joined #ruby
[02:24:24] Bellthoven: has joined #ruby
[02:24:29] leat: has joined #ruby
[02:25:20] user1138: has joined #ruby
[02:26:11] hectortrope: has joined #ruby
[02:26:50] maloik: has joined #ruby
[02:27:23] ExterminatesweJ: agent_white: 0/ 88 brother!
[02:27:26] tomchapin: has joined #ruby
[02:31:46] Ruby_Rocks_007: has joined #ruby
[02:32:09] duncannz: has joined #ruby
[02:33:18] duncannz: has joined #ruby
[02:35:44] Radar: !ban ExterminatesweJ !T 1d
[02:35:47] ChanServ: +b ExterminatesweJ!*@*
[02:35:47] ChanServ: ChanServ kicked ExterminatesweJ: is banned from this channel
[02:35:55] gusTester: has joined #ruby
[02:37:08] radgeRayden: has joined #ruby
[02:37:17] eam: how are everyone's rubies this evening
[02:39:13] asteros: has joined #ruby
[02:39:28] hahuang65: has joined #ruby
[02:39:38] leat: has joined #ruby
[02:42:40] mary5030: has joined #ruby
[02:44:53] leat: has joined #ruby
[02:45:04] RickHull: anyone playing with immutable strings?
[02:45:38] TheBloke: has joined #ruby
[02:46:12] asteros: has joined #ruby
[02:47:23] Anderson69s: has joined #ruby
[02:47:30] RickHull: qq: I saw some example code that does e.g. loop(3) { puts 'hi' }
[02:47:59] RickHull: but loop in 2.3.x doesn't take a parameter
[02:48:01] uri: has joined #ruby
[02:48:14] RickHull: is this in 2.3?
[02:48:41] jscheel: has joined #ruby
[02:48:45] RickHull: of course, there is always e.g. 3.times { ... }
[02:48:47] jbrhbr: will strings by immutable by default in 2.3+?
[02:48:53] casadei: has joined #ruby
[02:49:05] RickHull: no -- there will be a pragma available
[02:49:19] RickHull: it will be a very slow rollout. i think targeted for default in 3.0
[02:49:27] jbrhbr: cool, thanks
[02:49:49] jbrhbr: do you think string immutability will pave the way for more interchangeability of strings and symbols?
[02:50:28] jbrhbr: i'm new to ruby and surprised that there isn't more interchangeability, and the main reason i could think that they wouldn't be is string mutability
[02:50:28] RickHull: https://wyeworks.com/blog/2015/12/1/immutable-strings-in-ruby-2-dot-3/
[02:50:56] RickHull: i'm not sure about the future, but I've been using ruby for about 10 years
[02:51:10] desmondhume: has joined #ruby
[02:51:14] jbrhbr: that's approximately 9.99 years more than me
[02:51:16] RickHull: and here is my take on symbols vs strings -- they have useful distinctions
[02:51:58] RickHull: symbols are useful for identifiers -- a chunk of data that will never be "operated" upon. we don't need to e.g. #reverse them, or append to them
[02:52:35] RickHull: where you might define a tuple or indexed array, where the index is meaningful -- for example the standard graphite metric format
[02:52:57] RickHull: (metric_name, metric_value, timestamp)
[02:53:17] RickHull: you could use an array and just know that index 0 is always the metric_name
[02:53:38] RickHull: or you could use a hash, e.g. { metric_name: foo, metric_value: 100, timestamp: now }
[02:53:53] jbrhbr: i don't see how these are points for strings vs symbols though
[02:53:56] jbrhbr: either would work
[02:53:57] RickHull: symbols are less flexible than strings
[02:54:12] RickHull: you'd rather use symbols here -- it indicates that we aren't going to operate upon the keys directly
[02:54:19] jbrhbr: my issue is that some hash-like structures use symbols and others like strings
[02:54:24] RickHull: it's just a handy identifier that is better than e.g. graphite[0]
[02:54:32] RickHull: i'd rather use graphite[:metric_name]
[02:54:36] jbrhbr: and since they're not interchangeable, you have to know which to use, or .to_s or .to_sym :/
[02:54:58] RickHull: jbrhbr: true, but you should always "know"
[02:55:05] RickHull: and if you don't, that's a code smell that should be chased down
[02:55:33] RickHull: there are some libraries and and 3rd party code that make this tough
[02:55:36] RickHull: and i tend to avoid those
[02:55:45] jbrhbr: do you think that kind of knowing should be consistent across all gems or would you consider it fair game if it's consistent only within each gem?
[02:56:02] RickHull: it would be nice if everyone thought and wrote code the same way i do ;)
[02:56:09] RickHull: but I'll have to settle for consistency within gems
[02:56:26] jbrhbr: which manifests as inconsistency in the way your code has to talk to them :/
[02:56:27] jbrhbr: i don't know
[02:56:47] RickHull: yeah, there will always be gems that go against your grain
[02:56:50] RickHull: try to avoid them
[02:56:59] RickHull: or wrap them / modify them to make them behave
[02:57:41] jbrhbr: mongoid lets me do result.field, result[:field] and result['field']
[02:57:56] RickHull: yeah, reminds me of Hashie::Mash
[02:58:01] RickHull: which is an antipattern imho
[02:58:05] jbrhbr: it seems like people *want* interchangeability in these kinds of cases so they kind of fake it
[02:58:20] RickHull: for example, I'd like to do Hash#delete, but that means i can't use 'delete' or :delete as a key
[02:58:28] Sperant: has joined #ruby
[02:58:38] RickHull: major orthogonality violation
[02:58:53] jbrhbr: i don't follow that one
[02:59:10] RickHull: things which are orthogonal don't affect each other
[02:59:11] jbrhbr: you mean the attribute access style?
[02:59:24] RickHull: methods are methods, hash keys are hash keys
[02:59:26] blub: do people normally pronounce the # in method names
[02:59:26] jbrhbr: heh i got the orthogonality part
[02:59:36] RickHull: hashes have methods like delete
[02:59:43] jbrhbr: i think foo.x is the oddball
[03:00:00] RickHull: so if you want to have a pseudo-method for hash key access, you are forbidden from ever using 'delete' or :delete as a key
[03:00:09] jbrhbr: easily assailed, but supporting both foo[:x] and foo['x'] seems intuitive to me as a ruby noob
[03:00:26] RickHull: that is more palatable
[03:00:39] RickHull: because it's a code smell to mix symbol and string keys
[03:00:54] RickHull: but even so, that makes the runtime do a lot of extra work
[03:01:17] RickHull: and i'd rather just be consistent. hashes can take any serializable object as a key
[03:01:18] jbrhbr: i think that's solvable
[03:01:23] jbrhbr: but not when you have mutable keys :)
[03:01:24] RickHull: that means symbols and strings are distince
[03:02:13] psy: has joined #ruby
[03:03:23] banister: has joined #ruby
[03:04:23] jbrhbr: thanks for the discussion though
[03:05:13] Pisuke: has joined #ruby
[03:05:34] jbrhbr: i think my other reasoning is something like this: aside from the nice concise looking code, isn't the main justification of symbols one of performance? ie, you only have to allocate them once and there are probably some checks that can be avoided etc
[03:05:43] RickHull: basically, if you need to identify an internal component, i'd use a symbol. if you're taking outside input, then use a string. e.g. person[:arm] versus tags['some_user_input']
[03:06:07] jbrhbr: and then if that's correct, it once again points at mutability vs immutability. ie immutable strings have many of the same benefits as symbols, thereby weakening the case to have symbols at all
[03:06:13] RickHull: yes, since they are much more limited, they have better performance
[03:06:36] RickHull: in the world of mutable strings, at least, when someone chooses to use a string, I'm assuming they intend to do string operations on it
[03:06:54] RickHull: if someone uses a symbol instead, that communicates to me, as a reader, that this is a permanent sort of identifier
[03:07:18] jbrhbr: and??? you feel like that communication is useful? :)
[03:07:18] RickHull: they're not going to e.g. reverse or append to it. match it against a regex, etc
[03:07:36] RickHull: the person writing the code should be communicating primarily to the reader (not the computer)
[03:08:03] jbrhbr: being used to immutable strings, fiddling with them in weird ways seems like a smell to me
[03:08:08] RickHull: i look at code as recipes of a sort, codifying human knowledge of methodologies
[03:08:49] RickHull: jbrhbr: you're probably on the right track then. try using ruby 2.3 with the immutable pragma
[03:09:01] RickHull: it will be painful when using 3rd party libs and gems that aren't compliant though
[03:09:15] jbrhbr: like if i saw `d = {'foo' => 3}`, i would *extremely* surprised if someone decided to modify that key
[03:09:40] jbrhbr: [sometime later]
[03:10:00] jbrhbr: i gotta get ready to head out
[03:10:14] jbrhbr: i appreciate these kinds of chats. hopefully we can ramble together again sometime! :D
[03:10:28] i: has joined #ruby
[03:12:29] Sperant: has joined #ruby
[03:13:21] yoongkang: has joined #ruby
[03:16:01] durstburger: has joined #ruby
[03:18:35] jetpackjoe: has joined #ruby
[03:19:16] Unicorn|: has joined #ruby
[03:19:40] maloik: has joined #ruby
[03:22:00] favadi: has joined #ruby
[03:22:13] brainslug: has joined #ruby
[03:23:22] lacuna: has joined #ruby
[03:23:23] lacuna: has joined #ruby
[03:24:05] colegatron: has joined #ruby
[03:26:48] vdamewood: has joined #ruby
[03:31:53] Rubie: has joined #ruby
[03:32:38] krobzaur: has joined #ruby
[03:33:15] h99h9h88: has joined #ruby
[03:34:22] PlasmaStar: has joined #ruby
[03:34:44] railswebdev: has joined #ruby
[03:35:07] maloik: has joined #ruby
[03:35:41] diegoviola: when doing something like
[03:35:58] grotewold: has joined #ruby
[03:36:03] diegoviola: if average(:time).round(2) >= 0
[03:36:20] diegoviola: is there a way to just get the value from that line and add it to a string?
[03:36:26] diegoviola: without having to say:
[03:36:40] diegoviola: "#{average(:time).round(2)}s"
[03:36:43] diegoviola: all over again
[03:37:05] diegoviola: in the if block I mean
[03:37:19] DayFox: has joined #ruby
[03:38:07] baweaver: has joined #ruby
[03:38:56] blub: bind it ?
[03:39:32] sdothum: has joined #ruby
[03:39:48] shanemcd: has joined #ruby
[03:40:18] diegoviola: blub: to a variable you mean?
[03:40:33] LBRapid: has joined #ruby
[03:40:58] timothio: has joined #ruby
[03:42:26] jessemcgilallen: has joined #ruby
[03:44:11] robert45: has joined #ruby
[03:44:28] TheBloke: has joined #ruby
[03:44:39] mary5030: has joined #ruby
[03:44:43] blub: diegoviola: there isnt really any way around it there because the part you care about is only part of the expression you're testing. if you were saying 'if expr.that.might.return.a.truthy.object' and then operating on that object, there are shortcuts
[03:45:09] jdawgaz: has joined #ruby
[03:45:18] jetpackjoe: has joined #ruby
[03:45:40] diegoviola: dealing with time in coding can be confusing
[03:46:03] diegoviola: time alone already confuses me
[03:46:55] blub: time existing makes for a lot of ugly code
[03:47:13] Rodya_: has joined #ruby
[03:47:58] goodcodeguy: has joined #ruby
[03:48:00] Anderson69s: has joined #ruby
[03:50:45] diegoviola: https://gist.github.com/diegoviola/1b0a34a4432499f5f6c6
[03:50:48] diegoviola: does that makes sense?
[03:52:42] diegoviola: just trying to get the average seconds
[03:52:56] kies: has joined #ruby
[03:53:00] diegoviola: and display it as 0.2s or similar
[03:53:56] blub: unless its negative, in which case you want to just round it and return the number ?
[03:54:37] diegoviola: blub: it won't be negative
[03:54:53] blub: then why are you testing that it isn't
[03:56:23] blub: the else part should just throw an error if anything, or just leave out the if and have the method just be "#{sum(:time).round}s" if you're sure
[03:57:00] diegoviola: sum would actually sum all the numbers in that field
[03:57:01] Rubie: has joined #ruby
[03:57:04] diegoviola: I need average
[03:58:04] TheBloke-: has joined #ruby
[03:58:55] diegoviola: blub: I actually added the if check because .round results in error when average(:time) returns nil
[03:59:45] Eiam_: has joined #ruby
[04:00:19] moeabdol: has joined #ruby
[04:00:20] casadei: has joined #ruby
[04:01:23] diegoviola: blub: the unless I mean
[04:01:34] jetpackjoe: has joined #ruby
[04:01:40] colleenmcguckin: has joined #ruby
[04:02:43] xxneolithicxx: has joined #ruby
[04:03:05] blub: but the if doesn't guard against that
[04:03:21] danielpclark: has joined #ruby
[04:03:35] xxneolithicxx: has joined #ruby
[04:03:44] diegoviola: I know, I meant the unless line
[04:03:53] diegoviola: average(:time) ? "#{average(:time).round(2)}s" : average(:time)
[04:03:55] diegoviola: this also works for me
[04:04:07] diegoviola: it gets around the nil issue
[04:04:19] diegoviola: but I'm not sure about this
[04:04:19] Eiam_: has joined #ruby
[04:04:34] bronson: has joined #ruby
[04:05:15] danielpclark: Hey all! I'm trying to get a padded Array of bytes for int16 but it's not padding. [-32222].pack("v").bytes #=> [34, 130] .... I need to to be [34, 130, 0]
[04:06:28] diegoviola: blub: does that looks fine to you?
[04:06:34] blub: diegoviola: avg = average(:time); "#{avg.round(2)}s" if avg
[04:07:03] blub: use variables so you don't recompute things for no reason
[04:07:32] hahuang65: has joined #ruby
[04:07:53] blub: if you don't write an else and the condition is false, the whole if evaluates to nil anyway
[04:07:56] threh_: has joined #ruby
[04:09:24] NET||abuse: has joined #ruby
[04:09:51] rashub: has joined #ruby
[04:11:04] simplyianm: has joined #ruby
[04:11:21] threh: has joined #ruby
[04:14:56] braincrash: has joined #ruby
[04:15:09] bougyman: my mom just got a message on her mac: "Warning: OS CRASH REPORT - Due to a third-party application your computer has crashed, please call <18665377060> for an immediate fix"
[04:15:15] bougyman: valid or bunk?
[04:15:17] jetpackjoe: has joined #ruby
[04:15:18] Rubie: has joined #ruby
[04:15:27] bougyman: it's a modal in the middle of her screen.
[04:16:36] jakemask: has left #ruby: ()
[04:16:37] diegoviola: that's scary
[04:16:41] Radar: Probably bunk.
[04:16:48] Radar: Srsly, just google it
[04:17:03] Radar: bougyman: ^
[04:17:54] bougyman: I told her to take it to the apple store.
[04:17:57] al2o3-cr: danielpclark: [-32222].pack('sx').bytes
[04:17:57] bougyman: I don't do apple support.
[04:18:42] rashub: has joined #ruby
[04:19:33] mallu: has joined #ruby
[04:20:05] zast: has joined #ruby
[04:20:20] bigmac: has joined #ruby
[04:21:27] danielpclark: @al2o3-cr: Thanks!
[04:21:53] mallu: Can you please tell me how I can get this value? https://gist.github.com/anonymous/1b3f7cebbd6a84f1b2ef
[04:21:56] al2o3-cr: danielpclark: np
[04:22:25] Radar: mallu: What have you tried?
[04:22:46] Radar: mallu: response.methods.sort - Object.methods might give some clues.
[04:23:42] mallu: Radar: response.each_varbind do |vb|; vb.value; end
[04:23:56] mallu: I was hoping not to use each_varbind
[04:24:06] Xeago: has joined #ruby
[04:24:47] mallu: Radar: I have to get value for multiple OIDs and hoping there is an easier way
[04:28:09] jadergabriel: has joined #ruby
[04:29:27] cycorld: has joined #ruby
[04:29:38] cwheeler: has joined #ruby
[04:31:03] timothio: has joined #ruby
[04:31:59] moeabdol: has joined #ruby
[04:32:56] yfeldblum: has joined #ruby
[04:33:15] mallu: has joined #ruby
[04:35:37] bigmac: has joined #ruby
[04:37:01] bigmac: Thread.start{while true; puts s.recv(500); end }
[04:37:13] bigmac: s.puts("hi server")
[04:37:26] bigmac: i would expect the thread to print to screen?
[04:37:44] skweek: has joined #ruby
[04:38:01] baweaver: put the rest of the code into a gist
[04:38:06] baweaver: not enough context
[04:38:32] baweaver: which socket, what library, what's the rest of the code, etc etc
[04:39:31] bigmac: i know there is already gems doing, what im working on... but its only a example... this thing has puzzled me for a long time, how to read and write to a socket simultaneously.
[04:39:38] bigmac: ill post a server and a client example
[04:42:03] Rubie: has joined #ruby
[04:42:56] gix: has joined #ruby
[04:44:14] colleenmcguckin: has joined #ruby
[04:45:29] colleenmcguckin: has joined #ruby
[04:47:02] bigmac: i dont see the option for sytax highlights
[04:47:03] bigmac: https://gist.github.com/anonymous/7fc1a347c2ab14151b5b
[04:48:44] bigmac: what im looking to do is run this example server on multiple ports...
[04:49:04] malconis: has joined #ruby
[04:49:28] bigmac: multiple machines... (i know this already exist)
[04:51:41] bigmac: the client can ask the server to do 3 things... build a hash, retrieve a key or retrieve a value from the hash table
[04:51:46] desmondhume: has joined #ruby
[04:54:23] timothio: has joined #ruby
[04:55:05] djbkd: has joined #ruby
[04:58:24] edj: has joined #ruby
[04:58:47] edj: what languages do i need to know to make an app with ruby motion?
[04:59:12] edj: does anyone know ruby motion or where i can talk to someone who does?
[04:59:18] edj: the irc is empty
[04:59:35] edj: dont i need html and css and javascript ?
[04:59:43] edj: and a javascript framework?
[04:59:55] edj: i want to be full stack
[05:02:23] edj: I'm sort of lost
[05:02:26] bigmac: has joined #ruby
[05:03:48] sdothum: has joined #ruby
[05:05:02] havenwood: edj: "You will need to learn how to interpret Apple's and Google's interfaces and how to call them from Ruby."
[05:05:03] baweaver: edj: http://rubymotion-tutorial.com/
[05:05:07] mallu: can someone please tell me why I am getting "CheckSNMP WARNING: Check did not exit! You should call an exit code method" https://gist.github.com/anonymous/7358f7b4476ca8b971bb
[05:05:25] edj: so i dont need html/css or javascript?
[05:05:35] havenwood: edj: No HTML, CSS or JavaScript.
[05:05:40] baweaver: it would be to your benefit to do more legwork
[05:05:40] kies: has joined #ruby
[05:05:54] baweaver: read up on that tutorial
[05:06:04] sdothum: has joined #ruby
[05:08:12] hahuang65: has joined #ruby
[05:08:58] howdoi: has joined #ruby
[05:08:58] mallu: "CheckSNMP WARNING: Check did not exit! You should call an exit code method" https://gist.github.com/anonymous/7358f7b4476ca8b971bb
[05:09:33] devbug: has joined #ruby
[05:09:35] edj: do you know where i can find a rubymotion irc thats active?
[05:10:28] baweaver: your ruby code is pretty garbled
[05:10:45] baweaver: why are you defining methods inside a method?
[05:11:35] baweaver: Really there are several issues just in the base code, disregarding the SNMP
[05:12:27] baweaver: >> [1,2,3].each { |v| a = v + a }; a
[05:12:28] ruboto: baweaver # => nil can't be coerced into Fixnum (TypeError) ...check link for more (https://eval.in/478710)
[05:12:35] mallu: baweaver: I had it def used_memory outside def run but was getting same error
[05:12:38] baweaver: blocks have their own context
[05:12:51] baweaver: first step is fixing your code.
[05:13:11] qiukun: has joined #ruby
[05:13:27] baweaver: more than likely you're calling something that doesn't exist
[05:13:43] baweaver: make sure those nodes are actually correct
[05:14:26] mallu: baweaver: This is how I had it https://gist.github.com/anonymous/1ec2236e79c074fd64f3
[05:14:46] lacuna: has joined #ruby
[05:16:07] tomchapin: has joined #ruby
[05:16:20] waynerade: has joined #ruby
[05:16:52] mallu: baweaver: do you see anything that is obvious causing this error?
[05:17:15] baweaver: patience is a virtue
[05:17:59] timothio_: has joined #ruby
[05:18:35] baweaver: see the comment
[05:18:46] baweaver: first issue is that that value won't get out of the block
[05:19:22] baweaver: second is that you're using integers when dividing, that truncates
[05:19:31] ruboto: baweaver # => 0 (https://eval.in/478714)
[05:19:36] ruboto: baweaver # => 0.5 (https://eval.in/478715)
[05:20:26] wprice: has joined #ruby
[05:20:40] baweaver: At least the Debian SNMP OIDs appear correct
[05:20:47] mallu: baweaver: I can use return in used_memory to get the value out correct?
[05:21:07] jscheel: has joined #ruby
[05:21:21] baweaver: how much ruby do you know?
[05:21:36] mallu: baweaver: not a lot :(
[05:21:42] baweaver: as an aside, you want to use snake case
[05:21:54] baweaver: like_this instead of likeThis
[05:22:06] mallu: baweaver: ok
[05:22:16] baweaver: more consistent with any library you might use.
[05:22:34] baweaver: in ruby, the last statement in a method is returned
[05:22:45] baweaver: >> def foo; 1 end; foo
[05:22:46] ruboto: baweaver # => 1 (https://eval.in/478716)
[05:22:54] baweaver: >> def foo; 1; 2 end; foo
[05:22:55] ruboto: baweaver # => 2 (https://eval.in/478717)
[05:23:18] baweaver: in this case, those warnings are going to obscure your data
[05:23:49] baweaver: so you'd want to put memUsedPercentage at the end of used_memory
[05:23:56] mallu: baweaver: I only need the warnings to return from the method. I am not looking for the value
[05:23:58] ecksit: has joined #ruby
[05:24:15] baweaver: then calling it used_memory is not a good name
[05:24:22] baweaver: be intention revealing in how you name things
[05:24:43] mallu: baweaver: Ok.. I will call it me_warning
[05:24:47] mallu: mem_warning
[05:24:53] mallu: or mem_alert
[05:25:03] baweaver: What I would do instead
[05:25:13] baweaver: leave used_memory as is, have it return a value
[05:25:19] baweaver: you might want it later for something
[05:25:25] baweaver: BUT take the warnings out of there
[05:25:30] baweaver: put it elsewhere.
[05:25:41] sdothum: has joined #ruby
[05:25:43] baweaver: like in run
[05:26:44] darkf: has joined #ruby
[05:27:01] grotewold: has joined #ruby
[05:27:14] baweaver: you could probably cheat the varbind a bit by using: each_varbind.map(&:value)
[05:27:41] baweaver: which would get a list of the values, assuming they haven't done something silly in the source like pass the block instead of yielding
[05:28:22] baweaver: are you using ruby-snmp or net-snmp?
[05:29:18] maloik: has joined #ruby
[05:29:40] araujo: has joined #ruby
[05:30:15] mallu: baweaver: I'm using ruby snap.. here is the whole script https://gist.github.com/anonymous/009aae8bf7452e6e6c43
[05:31:07] baweaver: you do realize that in run all of your code is in a rescue block right?
[05:31:18] baweaver: you want it above that first rescue
[05:31:27] baweaver: indentation won't affect it at all
[05:32:25] cwong_on_irc: has joined #ruby
[05:32:29] mallu: I'm going to comment out rescue and see if it works
[05:32:59] baweaver: just move that logic above it
[05:33:01] baweaver: no need for that
[05:34:44] krz: has joined #ruby
[05:35:17] baweaver: lines 52 and 56 in that gist are still broken
[05:35:17] mallu: getting some error .. which is much better.. "Check failed to run: undefined local variable or method `totalMemory' for #<CheckSNMP:0x0000000282b408>, ["./check-snmp-mem.rb:58:in `used_memory'", "./check-snmp-mem.rb:76:in `run'"
[05:35:36] baweaver: blocks have a scope
[05:35:41] baweaver: they don't like sharing
[05:36:06] baweaver: [1].each do |v| a = v end
[05:36:25] baweaver: guess what value it'll have if I ran that
[05:36:55] baweaver: >> [1].each do |v| a = v end; a
[05:36:56] ruboto: baweaver # => undefined local variable or method `a' for main:Object (NameError) ...check link for more (https://eval.in/478721)
[05:37:21] baweaver: inside that block, things are trapped. They don't get out
[05:37:36] baweaver: Now if you did something like this though:
[05:37:43] baweaver: >> a = 0; [1].each do |v| a = v end; a
[05:37:44] ruboto: baweaver # => 1 (https://eval.in/478722)
[05:38:00] baweaver: a is now something from an outer scope instead of something only defined inside that block
[05:39:47] baweaver: now what you want to do is actually this: manager.get(OID).each_varbind.first.value
[05:40:00] baweaver: value = manager.get(OID).each_varbind.first.value
[05:40:56] baweaver: each_varbind is a method that passes its block to an each
[05:41:22] baweaver: something like: def each_varbind(&block) @varbind_list.each(&block) end
[05:41:32] baweaver: what happens when you pass no block to each?
[05:41:37] baweaver: >> [1,2,3].each
[05:41:38] ruboto: baweaver # => #<Enumerator: [1, 2, 3]:each> (https://eval.in/478723)
[05:41:42] mary5030: has joined #ruby
[05:41:50] baweaver: it returns an enumerator that you can do something like call first on
[05:41:57] baweaver: >> [1,2,3].each.first
[05:41:58] ruboto: baweaver # => 1 (https://eval.in/478724)
[05:42:14] baweaver: of course that's a silly thing to do in the case of a standard each, you'd just do: [1,2,3].first
[05:42:31] ss_much: has joined #ruby
[05:42:31] baweaver: but in that case where it's throwing things to another list you want to get at, it's valid.
[05:42:49] rickmasta: has joined #ruby
[05:44:13] kp666: has joined #ruby
[05:44:55] maloik: has joined #ruby
[05:44:57] mallu: baweaver: ok..
[05:45:11] baweaver: Anyways, blocks are anonymous functions much like Javascript. They have scope
[05:45:31] baweaver: They can see outside, but they don't talk outside unless they have something to bind to
[05:45:44] baweaver: seeing outside is called a closure, which is a good bit of fun
[05:46:36] baweaver: >> def adder(x) -> y { x + y } end; add_5 = adder(5); (1..5).map(&add_5)
[05:46:37] ruboto: baweaver # => [6, 7, 8, 9, 10] (https://eval.in/478725)
[05:46:39] mallu: baweaver: so this is what I have so far... https://gist.github.com/anonymous/05b9399ae761bf51b330
[05:47:41] jetpackjoe: has joined #ruby
[05:47:43] baweaver: mallu: http://collabedit.com/rrkfy - let's work through this some
[05:52:05] tjbiddle: has joined #ruby
[05:56:22] Tref: has joined #ruby
[05:57:14] Emerald--: has joined #ruby
[05:57:52] krz: has joined #ruby
[06:01:13] timothio_: has joined #ruby
[06:02:44] casadei: has joined #ruby
[06:02:57] dionysus69: has joined #ruby
[06:03:27] MasterNayru: has joined #ruby
[06:05:05] bronson: has joined #ruby
[06:06:06] yfeldblum: has joined #ruby
[06:06:34] strehi: has joined #ruby
[06:06:48] strehi: hi guys.. I've got ruby source from my team mate
[06:07:09] strehi: With bundle install i got required packets
[06:07:18] strehi: now i got an error undefined method `[]' for nil:NilClass
[06:07:29] strehi: what could cause the problem? :(
[06:07:44] ruboto: baweaver # => undefined method `[]' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/478749)
[06:08:12] baweaver: though if you want a better answer we need more context to work with, such as the code that's giving you the error and the stack trace that results
[06:08:40] baweaver: strehi: ?gist
[06:08:50] baweaver: ACTION sighs
[06:09:00] baweaver: https://gist.github.com/
[06:09:30] B1n4r10: has joined #ruby
[06:10:41] strehi: http://pastebin.com/94P6EuZ2
[06:10:41] ruboto: strehi, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/0bfbaf86a9480d8b3102
[06:10:41] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[06:10:42] strehi: that's log
[06:11:52] sigurding: has joined #ruby
[06:12:22] baweaver: and the error?
[06:13:03] strehi: undefined method `[]' for nil:NilClass
[06:13:13] baweaver: I know this
[06:13:19] baweaver: the stack trace, the full error
[06:13:23] strehi: Completed 500 Internal Server Error in 615ms (ActiveRecord: 405.3ms)
[06:13:48] baweaver: all of that error
[06:13:53] baweaver: _all_ of it
[06:14:04] jetpackjoe: has joined #ruby
[06:14:24] RickHull: relevance is that quintessential property of information that is nearly impossible to communicate
[06:14:35] RickHull: to those lacking context
[06:14:45] strehi: https://gist.github.com/anonymous/0615d2cfff0c8ae34dde
[06:15:18] RickHull: good paste ^
[06:15:35] RickHull: now, what is L14 rtm_year_plan.rb
[06:16:16] gaussblurinc1: has joined #ruby
[06:16:33] RickHull: oh, is the problem `month.to_i` ?
[06:17:14] RickHull: you could add guard clauses like `raise "no year" unless year` and likewise for month
[06:17:43] RickHull: er, hm, no, i'm barking up the wrong tree
[06:18:01] timothio: has joined #ruby
[06:18:03] RickHull: heading home, later yalls
[06:18:04] ur5us: has joined #ruby
[06:18:12] RickHull: has left #ruby: ()
[06:18:39] strehi: baweaver: Are you still here?
[06:23:04] shevy: I am wondering how much material one should add to any given gem of larger size
[06:23:18] maloik: has joined #ruby
[06:23:34] shevy: right now I am playing around with one large gem, and I have a way to autogenerate a .pdf from a local .cgi (via wkhtmltopdf)
[06:23:51] shevy: that .pdf then has about 25 pages or so... now I wonder if that is not too much info
[06:24:57] jackcom: has joined #ruby
[06:25:09] jackcom: has left #ruby: ()
[06:25:33] rghose: has joined #ruby
[06:26:47] qiukun: has joined #ruby
[06:30:54] aganov: has joined #ruby
[06:31:41] qiukun: has joined #ruby
[06:34:13] haxrbyte: has joined #ruby
[06:34:28] simplyianm: has joined #ruby
[06:36:11] favadi: has joined #ruby
[06:37:25] blub: whats your question
[06:38:24] haxrbyte: has joined #ruby
[06:39:06] haxrbyte: has joined #ruby
[06:39:22] tagrudev: has joined #ruby
[06:39:38] strehi: hi guys.. I've got ruby source from my team mate
[06:39:38] strehi: <strehi> With bundle install i got required packets
[06:39:45] strehi: now i got an error undefined method `[]' for nil:NilClass
[06:39:46] Yzguy: has joined #ruby
[06:39:49] strehi: what could cause the problem? :(
[06:40:09] strehi: https://gist.github.com/anonymous/0615d2cfff0c8ae34dde
[06:40:31] strehi: I am working like 30 hours on this and can't find a solution
[06:40:41] strehi: I am starting to give up
[06:40:57] Sam0163141155: has joined #ruby
[06:41:33] waynerade: has joined #ruby
[06:41:40] Macaveli: has joined #ruby
[06:42:06] trautwein: has joined #ruby
[06:42:52] Sam0163141155: In some screencasts and examples in books, it's common to find places where the author uses "# =>" notation to insert return values into the code as a comment. Are there text editor tools to do this automatically? If so anyone know what the tools or the general name for this process is?
[06:45:30] karapetyan: has joined #ruby
[06:46:34] johnlinvc: has joined #ruby
[06:49:04] edj: has joined #ruby
[06:49:11] edj: ja: you there?
[06:49:48] mozzarella: Sam0163141155: I think emacs org mode can do that
[06:50:08] karapetyan: has joined #ruby
[06:50:10] Sam0163141155: mozzarella: thanks, I'll google that
[06:50:11] DoubleMalt: has joined #ruby
[06:52:02] blub: is there a concise way to match 'ab', 'ba', 'a', 'b', or '' with a regex
[06:52:21] blub: but not 'aa' or 'bb'
[06:52:40] desmondhume: has joined #ruby
[06:55:10] Rubie: has joined #ruby
[06:55:43] arup_r: has joined #ruby
[06:57:55] timonv: has joined #ruby
[06:58:03] SOLDIERz: has joined #ruby
[06:58:18] setient: has joined #ruby
[06:59:14] Akagi201: has joined #ruby
[07:00:16] arup_r: When you will create a google account but don't upload image, google will set a default avatar for you. I will pull google user information from their API, and I would like to check if the image url I fetched is the default one that set by the google or not. I thought of to use checksum of the default photo. So everytime, I will pull data from google, before saving the image I will compare the checksum of the default one and newly fetched one, i
[07:00:17] arup_r: f it doesn't match I will save the new one or skip it. Is my approach to this problem correct ?
[07:00:27] codecop: has joined #ruby
[07:04:57] lacuna: has joined #ruby
[07:05:37] lacuna: has joined #ruby
[07:05:52] bronson: has joined #ruby
[07:06:04] Rodya_: has joined #ruby
[07:06:35] Anderson69s: has joined #ruby
[07:07:36] karapetyan: has joined #ruby
[07:07:40] tvw: has joined #ruby
[07:09:30] kerunaru: has joined #ruby
[07:10:37] solars: has joined #ruby
[07:10:40] yardenbar: has joined #ruby
[07:10:45] lxsameer: has joined #ruby
[07:12:23] Pupp3tm4st3r: has joined #ruby
[07:14:06] Sperant: has joined #ruby
[07:14:31] kerunaru: has joined #ruby
[07:15:00] Dimik: has joined #ruby
[07:16:49] waynerade: has joined #ruby
[07:17:02] Anderson_: has joined #ruby
[07:18:22] arup_r: has joined #ruby
[07:19:32] kerunaru: has joined #ruby
[07:21:11] gsingh93: has joined #ruby
[07:21:52] andikr: has joined #ruby
[07:24:30] kerunaru: has joined #ruby
[07:25:20] arup_r: has joined #ruby
[07:25:23] solocshaw: has joined #ruby
[07:25:24] agit0: has joined #ruby
[07:25:47] last_staff: has joined #ruby
[07:28:06] shevy: Sam0163141155 I usually just copy/paste it manually myself :)))
[07:29:08] juddey: has joined #ruby
[07:29:17] bluOxigen: has joined #ruby
[07:29:31] kerunaru: has joined #ruby
[07:31:21] Sperant: has joined #ruby
[07:31:57] tjbiddle: has joined #ruby
[07:32:24] ohaibbq: has joined #ruby
[07:35:02] yardenbar: Hi all, I'm trying to install ruby2.2.3 on scientific linux 6.1, getting "./tool/rbinstall.rb:728:in `chmod': Operation not permitted @ chmod_internal - /usr/local/rvm/gems/ruby-2.2.1/ (Errno::EPERM)
[07:35:51] Miron: has joined #ruby
[07:35:56] Ruby_Rocks_007: has joined #ruby
[07:36:49] nbdy: has joined #ruby
[07:37:26] slawrence00: has joined #ruby
[07:37:47] kerunaru: has joined #ruby
[07:38:07] shevy: weird path
[07:38:16] shevy: does rvm not install into home dir by default?
[07:38:22] howdoicomputer: has joined #ruby
[07:40:10] yardenbar: Seems not, on my other server, where 2.2.3 was install successfully, its the same path but for 2.2.3
[07:43:16] anisha: has joined #ruby
[07:44:00] lubekpl: has joined #ruby
[07:45:01] nbdy: has joined #ruby
[07:46:35] sandstrom: has joined #ruby
[07:53:01] Pumukel: has joined #ruby
[07:53:09] elton: has joined #ruby
[07:55:05] shevy: OpenURI.open # NoMethodError: private method `open' called for OpenURI:Module
[07:55:29] shevy: hmm is there another way to call it without .send, in the event that you already have a topnamespace method called open() defined that does something else?
[07:56:03] shevy: ok found another one ... to call .open() on the object itself uri = URI.parse("http://www.ruby-lang.org/en/"); uri.open
[07:56:05] Anderson69s_Deb: has joined #ruby
[07:58:16] B1n4r10: has joined #ruby
[07:59:05] strehi: I've migrated ruby app on new server
[07:59:05] BSaboia: has joined #ruby
[07:59:19] al2o3-cr: has joined #ruby
[07:59:20] strehi: Now I get an error (see link) ... ANYONE?
[08:00:13] strehi: https://gist.github.com/anonymous/0615d2cfff0c8ae34dde
[08:03:57] maloik: has joined #ruby
[08:04:46] casadei: has joined #ruby
[08:06:00] Anderson69s_Deb: has joined #ruby
[08:06:48] aspiers: has joined #ruby
[08:07:58] Anderson69s_Deb: has joined #ruby
[08:08:09] djbkd: has joined #ruby
[08:08:51] Rodya_: has joined #ruby
[08:09:10] User458764: has joined #ruby
[08:10:46] Anderson69s: has joined #ruby
[08:11:15] cinik: has joined #ruby
[08:12:48] TomyWork: has joined #ruby
[08:14:36] desmondhume: has joined #ruby
[08:14:53] Anderson69s_Deb: has joined #ruby
[08:15:15] maloik: has joined #ruby
[08:15:41] radgeRayden: has joined #ruby
[08:17:00] Anderson69s: has joined #ruby
[08:17:09] desmondhume: has joined #ruby
[08:17:42] tjbiddle: has joined #ruby
[08:20:00] edwinvdgraaf: has joined #ruby
[08:20:34] krz: has joined #ruby
[08:21:28] troys: has joined #ruby
[08:22:49] jas02: has joined #ruby
[08:28:30] kimegede: has joined #ruby
[08:30:20] baweaver: has joined #ruby
[08:30:57] c0m0: has joined #ruby
[08:33:06] kam270: has joined #ruby
[08:35:29] yfeldblum: has joined #ruby
[08:35:38] nettoweb: has joined #ruby
[08:37:05] brunto: has joined #ruby
[08:40:14] SCHAAP137: has joined #ruby
[08:40:29] aufi: has joined #ruby
[08:40:45] Couch: has joined #ruby
[08:41:05] agent_white: has joined #ruby
[08:41:47] ghormoon: has joined #ruby
[08:42:52] iateadonut: has joined #ruby
[08:43:01] shevy: how is anyone supposed to know what is going on strehi
[08:43:11] shevy: only error that is easily visible is: NoMethodError (undefined method `[]' for nil:NilClass):
[08:43:14] shevy: so you got a nil there
[08:43:18] shevy: try to find out why you got a nil
[08:44:15] strehi: shevy: the problem is that it worked before
[08:44:25] strehi: now I use the same version of gem ruby and rails
[08:44:35] strehi: dependent packages are all the same
[08:44:43] strehi: what else can have affect on it
[08:44:55] shevy: I doubt it ever worked
[08:45:23] strehi: shevy: Your calling me lier now lol... I have an application on the production server
[08:45:26] strehi: I am just migrating it
[08:45:47] strehi: shevy: Why you doubt it?
[08:45:53] shevy: don't put words that were not used into the mouth of others
[08:46:53] strehi: shevy: I gave a fact... You doubted into the fact...
[08:47:23] strehi: Can you tell me what's the reason for your doubt?
[08:47:24] shevy: strehi that is what you claim it *would* be, a fact
[08:48:41] TheBloke: has joined #ruby
[08:48:49] ruboto: shevy # => undefined method `[]' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/478828)
[08:49:09] yoongkang: has joined #ruby
[08:51:02] sandstrom: has joined #ruby
[08:52:33] tomchapin: has joined #ruby
[08:53:56] strehi: shevy: When I excecute SQL directly on the database I get the value
[08:55:14] brunto: has joined #ruby
[08:55:37] shevy: so change the code to handle nils; and find out why the layer you use there does not work properly. besides, if it works directly anyway, you could even hack-fix it with that nil check, that's like ... 3 lines of more code
[08:57:40] strehi: shevy: the problem is that I have like 1000 of MSQL selects hehe
[08:58:00] strehi: I will have to correct each if I don't find the reason
[08:58:39] tagrudev: has joined #ruby
[08:58:54] edwinvdgraaf: has joined #ruby
[08:59:12] skade: has joined #ruby
[09:05:05] Hounddog: has joined #ruby
[09:07:24] Luna_Moonfang: has joined #ruby
[09:08:07] howdoicomputer: has joined #ruby
[09:08:24] LiquidInsect: has joined #ruby
[09:09:15] bronson: has joined #ruby
[09:09:48] jetpackjoe: has joined #ruby
[09:10:00] Rodya_: has joined #ruby
[09:10:01] skade: has joined #ruby
[09:10:31] Hounddog: has joined #ruby
[09:12:55] Sperant: has joined #ruby
[09:13:18] joonty: has joined #ruby
[09:13:27] Hounddog: has joined #ruby
[09:13:36] blaxter: has joined #ruby
[09:13:44] edwinvdgraaf: has joined #ruby
[09:14:14] User458764: has joined #ruby
[09:16:04] edwinvdgraaf: has joined #ruby
[09:16:56] c0m0: has joined #ruby
[09:17:25] waynerade: has joined #ruby
[09:18:57] timonv: has joined #ruby
[09:20:17] Pupp3tm4st3r: has joined #ruby
[09:20:29] edwinvdgraaf: has joined #ruby
[09:21:40] irk: has joined #ruby
[09:22:38] Macaveli: has joined #ruby
[09:25:07] krz: has joined #ruby
[09:27:15] Ruby_Rocks_007: has joined #ruby
[09:29:42] sandstrom: has joined #ruby
[09:29:57] CloCkWeRX: has joined #ruby
[09:30:35] Kruppe: has joined #ruby
[09:30:35] w5isp: has joined #ruby
[09:30:35] csmb: has joined #ruby
[09:32:01] colegatron: has joined #ruby
[09:32:29] marr: has joined #ruby
[09:33:37] Hounddog: has joined #ruby
[09:33:48] Peg-leg: has joined #ruby
[09:34:22] Ilyes512: has joined #ruby
[09:34:25] norc: has joined #ruby
[09:35:51] toretore: has joined #ruby
[09:35:54] norc: Okay.. this is getting interesting.
[09:36:20] norc: >> RubyVM::InstructionSequence.compile("puts(&lambda{})").disasm
[09:36:21] ruboto: norc # => "== disasm: <RubyVM::InstructionSequence:<compiled>@<compiled>>==========\n== catch table\n| catch t ...check link for more (https://eval.in/478849)
[09:36:39] norc: Apparently there is not so much of a difference between proc/lambda and blocks after all.
[09:38:09] norc: Or no... I think I have to look into how method calls are implemented.
[09:40:11] xybre: norc: arity checks
[09:40:22] mrgrieves: has joined #ruby
[09:40:27] LiquidInsect: has joined #ruby
[09:41:07] norc: xybre: Im actually looking deeper. Blocks are about the only thing in Ruby that are not first objects. They are rather species when it comes to how methods are implemented in Ruby
[09:41:10] Hounddog: has joined #ruby
[09:41:18] norc: *special
[09:41:38] norc: Interestingly until the VM it accepts procs/lambdas as blocks though.
[09:41:56] norc: (Without calling some method to convert it into a block explicitely)
[09:43:10] norc: Well okay, methods are not first class objects either.
[09:43:42] Hounddog: has joined #ruby
[09:44:02] ddv: blocks are just closures, nothing special about them
[09:44:03] BSaboia: has joined #ruby
[09:44:05] bakedb: has joined #ruby
[09:44:37] xybre: norc: a lot of things aren't objects on the VM level, the OO happens at the compiler level.
[09:45:07] norc: ddv: Blocks set up catch points for break, redo, next. They are special when it comes to how they are passed to functions.
[09:46:10] ddv: norc: do you have a specific question?
[09:46:15] norc: xybre: Difference is that methods and blocks are directly exposed to you. :)
[09:46:22] norc: ddv: Nah.
[09:46:39] apeiros: norc's business card: explorer of ruby internals ;-)
[09:46:55] apeiros: I wish I had the time for such stuff :(
[09:47:05] B1n4r10: has joined #ruby
[09:47:12] huyderman: has joined #ruby
[09:47:28] xybre: norc: so are numbers, which are not objects in the VM
[09:47:50] norc: xybre: Sure they are.
[09:48:11] xybre: Addition and basic math isn't.
[09:48:20] norc: xybre: for the fixnum 1 the INS putobject_OP_INT2FIX_O_1_C_ is used to push it onto the stack
[09:48:56] norc: xybre: Addition is too.
[09:49:01] TheBloke: has joined #ruby
[09:49:06] norc: >> puts RubyVM::InstructionSequence.compile("1 + 2").disasm
[09:49:07] ruboto: norc # => == disasm: <RubyVM::InstructionSequence:<compiled>@<compiled>>========== ...check link for more (https://eval.in/478850)
[09:49:47] Hounddog: has joined #ruby
[09:49:52] xybre: Interesting, that's not the same VM code I was looking at a couple of days ago.
[09:50:01] norc: The only thing in Ruby that is not an object is blocks.
[09:51:00] arup_r: has joined #ruby
[09:52:46] rodfersou: has joined #ruby
[09:52:47] Hounddog: has joined #ruby
[09:53:16] Ilyes512: has joined #ruby
[09:53:24] xybre: The stuff I was looking at was from pre-2.x I think though. I'll post it if I find it again, the interpretation of the bytecodes might just have been misleading.
[09:54:27] elton: has joined #ruby
[09:54:30] xybre: Yeah almost everything I said above is wrong, my memory sucks. :D
[09:54:40] xybre: http://rehanjaffer.com/how-to-disassemble-ruby-code-into-rubyvm-yarv-opcodes-instruction-sequences/
[09:54:42] Ruby_Rocks_007: has joined #ruby
[09:54:58] xybre: Also the blog post lies about the opcodes and I took them at their word.
[09:55:23] zenguy_pc: has joined #ruby
[09:56:13] xfbs: has joined #ruby
[09:56:42] Hounddog: has joined #ruby
[09:57:28] b4rb0s4_: has joined #ruby
[09:59:02] norc: xybre: https://eval.in/478866
[09:59:09] norc: This is no longer possible since 2.0 though. ;-)
[09:59:55] norc: xybre: And no it does not lie about the opcodes
[10:00:05] norc: The putobject_OP_INT2FIX_O_1_C_ instruction is just an optimized form
[10:00:21] platzhirsch: has joined #ruby
[10:00:23] norc: For all intents and purposes its equivalent to putobject 1
[10:01:33] snowy: has joined #ruby
[10:03:05] norc: And considering how Ruby has even syntax changes across minor versions, you get different bytecode output depending on your version.
[10:03:49] ibouvousaime: has joined #ruby
[10:03:57] Hounddog: has joined #ruby
[10:05:34] dionysus69: has joined #ruby
[10:06:46] casadei: has joined #ruby
[10:07:00] rickmasta: has joined #ruby
[10:08:56] howdoicomputer: has joined #ruby
[10:09:06] rodfersou: has joined #ruby
[10:11:20] Rodya_: has joined #ruby
[10:11:38] Gnut: has joined #ruby
[10:13:35] aspiers: has joined #ruby
[10:24:07] skade: has joined #ruby
[10:24:52] Glenny: has joined #ruby
[10:25:07] dlitvak: has joined #ruby
[10:27:15] roshanavand: has joined #ruby
[10:28:20] Kartikay: has joined #ruby
[10:31:17] tulak: has joined #ruby
[10:33:15] blackms: has joined #ruby
[10:37:32] aspiers: has joined #ruby
[10:37:55] Ilyes512: has joined #ruby
[10:38:24] nfk|laptop: has joined #ruby
[10:38:30] KKR007: has joined #ruby
[10:39:47] weihan: has joined #ruby
[10:42:19] al2o3-cr: has joined #ruby
[10:44:58] krz: has joined #ruby
[10:46:56] bradc: has joined #ruby
[10:48:11] Ishido: has joined #ruby
[10:48:23] nbdy: has joined #ruby
[10:48:43] monthy: has joined #ruby
[10:51:30] Mekkis: has joined #ruby
[10:51:58] ldnunes: has joined #ruby
[10:54:55] Azulinho: has joined #ruby
[10:55:13] aganov: has joined #ruby
[10:55:13] tagrudev: has joined #ruby
[10:55:27] elton: has joined #ruby
[10:56:53] xybre: I haven't slept really in like 36 hours, I should really look into this again after I've slept >.<
[10:57:19] azgil: has joined #ruby
[10:57:37] ddv: sleep is for pussies
[10:58:25] xybre: I've been worse things
[10:58:30] Rubie: has joined #ruby
[11:01:05] adaedra: apeiros: let me look at that, it's not the same code as before running
[11:01:21] tagrudev: has joined #ruby
[11:02:24] aganov: has joined #ruby
[11:02:52] adaedra: apeiros: nope, that was never implemented.
[11:07:10] c0m0: has joined #ruby
[11:09:32] zotherstupidguy: has joined #ruby
[11:10:06] maloik: has joined #ruby
[11:10:53] howdoicomputer: has joined #ruby
[11:11:00] bronson: has joined #ruby
[11:11:15] marr: has joined #ruby
[11:12:52] Rodya_: has joined #ruby
[11:15:11] strehi: why I don't get result from mssql database?
[11:15:24] nfk|laptop: has joined #ruby
[11:15:32] strehi: Connection was established OK
[11:15:51] strehi: When I print select result I get nil warning :/
[11:15:54] strehi: any idea?
[11:16:04] jhass: use postgresql? :P
[11:16:09] ruboto: We can't help you without your code, please post it to https://gist.github.com
[11:16:36] strehi: I also hate Microsoft hehe.... But cooperation sticks to it :P
[11:18:04] strehi: https://gist.github.com/anonymous/a255f0aa405ede6c1282
[11:18:35] ruboto: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[11:19:20] jhass: and show the error message as well as the code causing the error message there too
[11:19:37] desmondhume: has joined #ruby
[11:21:44] skade: has joined #ruby
[11:22:01] InvGhost: has joined #ruby
[11:22:29] Osw: has joined #ruby
[11:26:17] andykingking: has joined #ruby
[11:26:24] al2o3-cr: has joined #ruby
[11:26:48] Osw: has joined #ruby
[11:28:45] Xeago: has joined #ruby
[11:30:08] danielpclark: has joined #ruby
[11:30:25] snowy: has joined #ruby
[11:30:57] roshanavand: has joined #ruby
[11:33:38] roxtrongo: has joined #ruby
[11:34:07] chouhoulis: has joined #ruby
[11:34:23] waynerade: has joined #ruby
[11:35:53] B1n4r10: has joined #ruby
[11:40:49] kerunaru: has joined #ruby
[11:44:16] xfbs: has joined #ruby
[11:44:36] prestorium: has joined #ruby
[11:47:31] nixmaniack: has joined #ruby
[11:49:04] User458764: has joined #ruby
[11:51:04] al2o3-cr: has joined #ruby
[11:52:26] voodo: has joined #ruby
[11:52:49] Azulinho: has joined #ruby
[11:52:54] sigurding: has joined #ruby
[11:53:48] roshanavand: has joined #ruby
[11:56:12] elton: has joined #ruby
[11:56:52] avril14th: has joined #ruby
[11:58:02] Pupp3tm4_: has joined #ruby
[11:58:22] kerunaru: has joined #ruby
[11:59:37] yoongkang: has joined #ruby
[11:59:48] brunto: has joined #ruby
[12:00:48] sepp2k: has joined #ruby
[12:01:20] skade: has joined #ruby
[12:01:53] roxtrongo: has joined #ruby
[12:03:07] yfeldblum: has joined #ruby
[12:05:02] Ilyes512: has joined #ruby
[12:06:04] d0lph1n98: has joined #ruby
[12:07:01] TheBloke: has joined #ruby
[12:11:38] howdoicomputer: has joined #ruby
[12:12:15] bronson: has joined #ruby
[12:13:15] robert45: has joined #ruby
[12:13:48] Rodya_: has joined #ruby
[12:14:52] sepp2k: has joined #ruby
[12:15:11] brotspinne: has joined #ruby
[12:17:06] sondr3: has joined #ruby
[12:20:47] kobain: has joined #ruby
[12:22:13] bradc: has joined #ruby
[12:23:57] skade: has joined #ruby
[12:25:42] kerunaru: has joined #ruby
[12:26:23] Jackneill: has joined #ruby
[12:29:01] tomchapin: has joined #ruby
[12:29:17] Mia: has joined #ruby
[12:29:27] RegulationD: has joined #ruby
[12:30:05] brotspinne: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[12:32:00] JammyHammy: has joined #ruby
[12:34:57] chouhoulis: has joined #ruby
[12:36:01] Puffball: has joined #ruby
[12:36:57] CloCkWeRX: has joined #ruby
[12:43:00] arup_r: has joined #ruby
[12:44:00] waynerade: has joined #ruby
[12:44:44] fideliom: has joined #ruby
[12:45:00] fideliom: has left #ruby: ()
[12:46:33] Ox0dea: has joined #ruby
[12:47:15] Ox0dea: acdefghijklmopqrstuvwxyz
[12:47:20] tulak: has joined #ruby
[12:47:55] Ox0dea: I took all the way to tryig to mout a live system to realize that I could't log i ecause my ad keys died.
[12:48:22] Ox0dea: est morig ever?
[12:49:58] evil_shibe: has joined #ruby
[12:50:07] pontiki: something stuck between them?
[12:50:37] Ox0dea: I checked, of course. Clea as a whistle. :<
[12:50:46] apeiros: get an external keyboard
[12:50:49] roxtrongo: has joined #ruby
[12:50:55] Ox0dea: Seems it's aout that time.
[12:51:43] Ox0dea: I've ever ee so thakful for ta completio.
[12:52:21] roshanavand: has joined #ruby
[12:53:57] roshanav_: has joined #ruby
[12:56:10] arup_r: has joined #ruby
[12:56:16] shevy: control your cat Ox0dea
[12:57:30] sandstrom: has joined #ruby
[12:59:24] sgambino: has joined #ruby
[12:59:52] davedev24: has joined #ruby
[13:02:10] Anderson69s: has joined #ruby
[13:04:34] roshanavand: has joined #ruby
[13:05:07] decoponio: has joined #ruby
[13:09:02] senayar: has joined #ruby
[13:09:53] Azure|dc: has joined #ruby
[13:10:13] sankaber: has joined #ruby
[13:11:31] batu: has joined #ruby
[13:12:01] sdothum: has joined #ruby
[13:12:04] batu: Hello, can someone tell me where I can paste my ruby code for sharing with this channel ?
[13:12:18] ruboto: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[13:12:21] User458764: has joined #ruby
[13:12:29] durstburger: has joined #ruby
[13:12:29] howdoicomputer: has joined #ruby
[13:12:45] jackcom: has joined #ruby
[13:12:55] purplexed-: has joined #ruby
[13:12:55] purplexed-: has joined #ruby
[13:12:56] jackcom: has left #ruby: ()
[13:15:57] batu: can someone help me with this simple problem please? https://gist.github.com/thebatu/60c58662890a95f17d8f
[13:16:21] Rodya_: has joined #ruby
[13:17:33] eam: batu: gsub(a, b) vs gsub(a b) ?
[13:17:59] minimalism: has joined #ruby
[13:18:08] Ox0dea: Is comma the ew semicolo?
[13:18:27] desmondhume: has joined #ruby
[13:19:06] eam: everyone loves the colon, hates the semicolon
[13:20:14] Ox0dea: "Don't use semi-colons! They are transvestite hermaphrodites, representing exactly nothing."
[13:20:25] batu: I totaly missed that
[13:20:31] batu: thanks guys
[13:21:24] eam: batu: when it says "undefined method 'term'" probably look for each instance you use 'term' :)
[13:22:03] Ox0dea: Lie umers are also quite helpful.
[13:22:45] Azulinho: has joined #ruby
[13:22:49] wprice: has joined #ruby
[13:23:04] bradc: has joined #ruby
[13:23:44] gusTester: has joined #ruby
[13:24:32] B1n4r10: has joined #ruby
[13:25:44] peterhil`: has joined #ruby
[13:25:47] Ox0dea: I've also lost the use of my right Alt key; how could this day get worse?
[13:26:26] nbdy: has joined #ruby
[13:26:34] batu: I am trying to make a script that will parser several JS files, and it will substitute certain words (Lexicon). the script should take as an argument file name to be modified and outout the result on a file called filename+Modified
[13:27:05] batu: https://gist.github.com/thebatu/60c58662890a95f17d8f
[13:27:39] elton: has joined #ruby
[13:27:47] batu: any advices on what method to use for IO in rub? line reading from a file ?
[13:27:49] timonv: has joined #ruby
[13:28:34] akem: has joined #ruby
[13:30:44] Ox0dea: batu: File.read('foo').gsub Regexp.union(LEXICON.keys), LEXICON
[13:31:14] Ox0dea: No particularly good reason to do it a line at a time.
[13:33:05] d0nn1e: has joined #ruby
[13:33:09] Ox0dea: Line breaks are liable to cause some trouble, but maybe you don't have any between the multi-word terms?
[13:35:57] chouhoulis: has joined #ruby
[13:37:00] Xeago: has joined #ruby
[13:38:06] Xeago: has joined #ruby
[13:39:30] batu: the input file will look like jQuery code. and I need to replace some deprecated method names with others. In order to speed up a conversion process from AS3 to HTML5 and createJS
[13:42:24] grill: has joined #ruby
[13:43:20] Bellthoven: has joined #ruby
[13:44:18] roxtrongo: has joined #ruby
[13:45:40] Xeago: has joined #ruby
[13:46:46] karapetyan: has joined #ruby
[13:49:17] mrgrieves: any suggestions on vim plugins to look at to help with writing in ruby? I know google can help me with that but wanted to hear first hand from ruby savvi people that are also vim users
[13:49:18] Ox0dea: batu: https://eval.in/479113
[13:49:25] big|bad|wolf: has joined #ruby
[13:49:30] b4rb0s4_: has joined #ruby
[13:50:07] Ox0dea: mrgrieves: Have you come to Vim from an IDE?
[13:50:09] freerobby: has joined #ruby
[13:50:20] boxofrox: has joined #ruby
[13:50:33] rikkipitt: has joined #ruby
[13:50:39] cwong_on_irc: has joined #ruby
[13:50:57] rethi: mrgrieves: I just use a syntax highlighter and vim-ruby
[13:51:53] rethi: I have heard good things about the vim-rails plugin. but I don't do much rails dev at all so never needed it
[13:51:58] mrgrieves: yes, I've been looking at what vim-ruby gives me but it's very limited ... on mac for example if look for string methods I couldn't find an easy way to jump the long list of methos faster
[13:53:36] mrgrieves: it would be nice to paginate the list
[13:53:38] krz: has joined #ruby
[13:55:21] TomPeed: has joined #ruby
[13:55:31] casadei: has joined #ruby
[13:55:34] mrgrieves: vim-ruby-doc seems useful as well ...
[13:56:05] Akagi201: has joined #ruby
[13:56:05] symbol: has joined #ruby
[13:56:32] mrgrieves: but it doesn't seem to be maintained
[13:56:37] rethi: yeah would be nice to have the docs to hand in vim. I should adopt that into my workflow!
[13:56:50] sankaber: has joined #ruby
[13:56:53] skade: has joined #ruby
[13:57:00] rethi: hmm no open issues, last commit 3 yrs ago. seems pretty dead
[13:57:02] desmondhume: has joined #ruby
[13:57:14] adaedra: Under OS X you can look for the Dash app ??? not only Ruby-related, but it's a nice thing to have
[13:57:27] rethi: Yeah Was just about to suggest that adaedra:
[13:59:13] TheHodge: has joined #ruby
[14:00:20] Yzguy: has joined #ruby
[14:00:22] chouhoulis: has joined #ruby
[14:02:18] goodcodeguy: has joined #ruby
[14:03:17] Akagi201: has joined #ruby
[14:06:29] allyjweir: has joined #ruby
[14:07:48] last_staff: has joined #ruby
[14:09:01] waynerade: has joined #ruby
[14:09:32] cdg: has joined #ruby
[14:09:47] moeabdol: has joined #ruby
[14:11:14] malconis: has joined #ruby
[14:11:39] User458764: has joined #ruby
[14:12:22] shanemcd: has joined #ruby
[14:12:27] User458764: has joined #ruby
[14:12:44] sandstrom: has joined #ruby
[14:15:17] pandaant: has joined #ruby
[14:16:02] wprice: has joined #ruby
[14:16:53] Rodya_: has joined #ruby
[14:16:59] Jardayn: has joined #ruby
[14:17:53] Rodya_: has joined #ruby
[14:18:18] doublemalt_: has joined #ruby
[14:18:25] nbdy: has joined #ruby
[14:19:21] peterhil`: has joined #ruby
[14:22:02] timonv: has joined #ruby
[14:23:40] cmoneylulz: has joined #ruby
[14:23:50] skade: has joined #ruby
[14:23:51] bradc: has joined #ruby
[14:23:52] yoongkang: has joined #ruby
[14:23:58] wsewolod: has joined #ruby
[14:24:39] mostlybadfly: has joined #ruby
[14:24:46] arup_r: Can you guys give me some hints on this https://gist.github.com/aruprakshit/8c133c78912166ff4a19 ? I want to calculate the checksum using MiniMagick .. but not getting any reference ..
[14:24:57] johnlinvc: has joined #ruby
[14:25:47] DexterLB: has joined #ruby
[14:26:08] snowy: has joined #ruby
[14:26:39] uri: has joined #ruby
[14:28:27] batu: has joined #ruby
[14:29:07] elton: has joined #ruby
[14:30:51] daveshah: has joined #ruby
[14:31:26] argoneus: could someone walk me through some code if it's not too much trouble?
[14:31:37] argoneus: it's fairly basic >_>
[14:31:56] whippythellama: has joined #ruby
[14:32:35] snowy: has joined #ruby
[14:34:50] Ox0dea: argoneus: How much code?
[14:35:21] argoneus: about 5 lines
[14:35:30] argoneus: it's a block, essentially
[14:35:45] argoneus: I thought I already understood how blocks worked, but I have no idea how this works
[14:35:47] timonv: has joined #ruby
[14:35:53] argoneus: the info part https://github.com/intridea/omniauth/blob/master/lib/omniauth/strategies/developer.rb#L50
[14:36:02] argoneus: it's defined here https://github.com/intridea/omniauth/blob/master/lib/omniauth/strategy.rb#L320
[14:36:26] argoneus: I don't even understand how come this can be used as a block
[14:36:37] argoneus: info doesn't yield anything
[14:36:56] krobzaur: has joined #ruby
[14:36:57] Ox0dea: argoneus: Every method receives an implicit block.
[14:38:34] dhollinger: has joined #ruby
[14:38:55] argoneus: I just don't even understand what "info" even is, if it's an object or what
[14:39:02] Ox0dea: It's a method.
[14:39:05] argoneus: and why you have to put values in it so awkwardly
[14:39:41] Ox0dea: Unless there's some magic hidden elsewhere (not particularly unlikely), that `info do` is superfluous.
[14:39:42] chouhoulis: has joined #ruby
[14:39:57] argoneus: superfluous?
[14:40:03] Ox0dea: Unnecessary.
[14:40:15] argoneus: so the method "info" returns -some object-, and then I call that weird inject on it?
[14:41:05] ddv: anyone know how I can generate a date range, reject some days for example sundays and extend the range with a next available day? Obviously I can do something like (Date.today..Date.today+5.days).reject{|day| day.sunday?} but this would remove sunday and make the range smaller
[14:41:06] Yzguy: has joined #ruby
[14:41:14] Ox0dea: argoneus: Given the two snippets to which you've linked, that block doesn't even get executed.
[14:41:48] arup_r: Is my question so hard.. ? :)
[14:41:51] argoneus: are you sure?
[14:42:01] Ox0dea: `info` does receive it, but it's not invoking it, thus my suspicion that there must be some spooky action at a distance going on.
[14:42:21] argoneus: well I was following this tutorial https://github.com/intridea/omniauth/wiki/Strategy-Contribution-Guide#defining-the-callback-phase
[14:42:34] argoneus: and I had no idea what it was trying to tell me, so I went snooping in the code instead
[14:43:09] argoneus: I couldn't even find on google what a DSL method is
[14:43:30] Ox0dea: >> def foo; end; foo { this is not going to be executed so we can say whatever } # argoneus
[14:43:31] ruboto: Ox0dea # => /tmp/execpad-7ebf5c323d8d/source-7ebf5c323d8d:2: syntax error, unexpected tIDENTIFIER, expecting '(' ...check link for more (https://eval.in/479177)
[14:43:49] Ox0dea: >> def foo; end; foo { smaller test case } # argoneus
[14:43:50] argoneus: yeah it just seems to be a random block in a class
[14:43:51] ruboto: Ox0dea # => /tmp/execpad-62994ee608dd/source-62994ee608dd:2: syntax error, unexpected '}', expecting keyword_whe ...check link for more (https://eval.in/479178)
[14:43:55] argoneus: but according to the tutorial it should work
[14:44:02] argoneus: this is 2blackbox4me
[14:44:24] Ox0dea: argoneus: I kept accidentally using keywords, but maybe you still caught the gist?
[14:44:29] kobain: has joined #ruby
[14:44:44] Ox0dea: It is just a random block in a method call.
[14:45:05] Ox0dea: Blocks can *only* occur as the last argument of a method call.
[14:45:09] argoneus: I still have no idea how this works
[14:45:27] argoneus: like options.fields.inject({}), is this a property of an object returned by info?
[14:45:37] argoneus: options.fields that is
[14:46:21] Ox0dea: It's not the return value of `info` which is receiving the block; it's the call to `info` itself.
[14:46:27] xfbs: has joined #ruby
[14:47:05] Ox0dea: I wonder if it might be the case that you've unearthed the wrong `info` method.
[14:47:07] argoneus: so the argument to "info" is a block?
[14:47:21] Ox0dea: Blocks are arguments.
[14:48:41] argoneus: from this link: https://github.com/intridea/omniauth/wiki/Strategy-Contribution-Guide#defining-the-callback-phase
[14:48:52] argoneus: any idea how you'd figure out how to put something in 'extra' or 'credentials'?
[14:48:56] argoneus: there doesn't seem to be a pattern
[14:49:04] Ox0dea: argoneus: https://github.com/intridea/omniauth/blob/master/lib/omniauth/strategy.rb#L90-L101
[14:49:18] Ox0dea: As usual, metaprogramming is to blame for the confusion.
[14:49:26] argoneus: I saw this piece of code and just noped out
[14:49:41] Ox0dea: That's the "real" definition of `info`.
[14:49:42] uri: has joined #ruby
[14:49:44] Ox0dea: The one that
[14:50:01] Ox0dea: is being invoked with that block, at any rate.
[14:50:26] babblebre: has joined #ruby
[14:50:35] Ox0dea: (I'm having to use Numpad 1 and 2 for B and N. It's the worst thing ever.)
[14:50:39] argoneus: is the first line, %w etc
[14:50:40] c355E3B: has joined #ruby
[14:50:48] Ox0dea: >> %w[foo bar baz]
[14:50:48] argoneus: does that basically say "for each item in this array do"
[14:50:49] ruboto: Ox0dea # => ["foo", "bar", "baz"] (https://eval.in/479181)
[14:51:06] atomical: has joined #ruby
[14:51:09] Ox0dea: It's just convenient shorthand for an Array of
[14:51:16] karapetyan: has joined #ruby
[14:51:16] argoneus: yeah I have no idea how this works
[14:51:20] argoneus: the block's inside that is
[14:51:44] argoneus: l97 and 98 are lost on me
[14:52:02] argoneus: does that translate to like uid_stack(context)?
[14:52:17] argoneus: this is a lot of reflection
[14:52:20] Ox0dea: It's the #compile_stack method that should be giving you pause.
[14:52:22] Ox0dea: Yes, it is.
[14:52:30] Ox0dea: Hardly the worst it can get, though.
[14:52:33] dmonster: has joined #ruby
[14:52:35] argoneus: I don't even know where the compile_stack and merge_stack etc come from
[14:52:35] skade: has joined #ruby
[14:52:40] argoneus: I tried googling but didn't fin anything
[14:53:06] waynerade: has joined #ruby
[14:53:37] ddubs: compile_stack is defined on 103
[14:53:40] Ox0dea: The #compile_stack method is just a regular method defined right there underneath the part I highlighted...
[14:54:11] waynerade: has joined #ruby
[14:54:17] Ox0dea: It's a little gnarly.
[14:54:20] argoneus: hm, but in that case
[14:54:27] argoneus: info do options.fields.inject({})...
[14:54:32] argoneus: where does the options.fields thing come from?
[14:54:41] Ox0dea: Elsewhere. :P
[14:55:14] argoneus: like in this again, https://github.com/intridea/omniauth/wiki/Strategy-Contribution-Guide#defining-the-callback-phase
[14:55:22] argoneus: uid just uses request.params
[14:55:24] rikkipitt: has joined #ruby
[14:55:28] argoneus: but info suddenly uses options.fields
[14:55:28] norc: has joined #ruby
[14:55:29] Ox0dea: argoneus: `options` is an attribute defined right there underneath #compile_stack...
[14:55:37] argoneus: how am I supposed to know what to use for credentials/extra, etc.?
[14:55:46] Ox0dea: How indeed?
[14:56:19] norc: Hi folks.
[14:56:41] Neon: has joined #ruby
[14:57:08] norc: Ox0dea: So I successfully used your Object#thaw today for the first time by the way, seg faulting Ruby over and over again. Fun stuff
[14:57:14] norc: apeiros: Hey. :)
[14:57:29] norc: Turns out you really cannot have instance variables on Fixnums anymore. :(
[14:57:35] argoneus: Ox0dea: is that a rhetorical question? or is it really a mystery
[14:57:46] Ox0dea: argoneus: You seem plenty literate.
[14:57:53] twilling: has joined #ruby
[14:57:54] Neon: Hello, I have a problem installing the wdm gem on Windows 7 64 Bit using Ruby 2.2.0. I'd be very thankful for any help. See the mkmf.log and the console output on https://gist.github.com/Neosublimation/d39d9267bc563460b550 .
[14:57:55] Ox0dea: norc: Noice!
[14:58:31] Ox0dea: norc: Are segfaults bad for the computer in any way?
[14:58:48] argoneus: Ox0dea: not sure what you mean by that :<
[14:59:00] norc: Ox0dea: Not since the invention of memory protection. :-)
[14:59:09] Ox0dea: norc: Wait, you thawed a Fixnum?!
[14:59:23] Ox0dea: >> 42.frozen?
[14:59:24] ruboto: Ox0dea # => true (https://eval.in/479184)
[14:59:38] norc: Frozen since 2.0
[14:59:51] norc: Before you could add instance variables and everything.
[15:00:22] norc: 19 >> 42.frozen?
[15:00:24] norc: 19>> 42.frozen?
[15:00:25] ruboto: norc # => false (https://eval.in/479185)
[15:00:43] maddmaxx: has joined #ruby
[15:01:13] Rubie: has joined #ruby
[15:01:26] lkba: has joined #ruby
[15:01:57] argoneus: oh, I figured it out
[15:02:09] argoneus: the tutorial uses fancy writing for simple things
[15:04:07] Ox0dea: norc: http://git.io/vRk9b + http://git.io/vRkHk
[15:04:13] Ox0dea: Might be of some interest.
[15:04:20] havenwood: has joined #ruby
[15:04:21] havenwood: has joined #ruby
[15:04:41] Ox0dea: Nobu borked it at some point. :<
[15:05:00] norc: He's such a kill joy that way.
[15:05:47] Ox0dea: I suspect you're plenty aware of the fact that objects are carrying around all sorts of hidden state in
[15:05:54] Ox0dea: "inaccessible" ivars?
[15:06:43] norc: Oh yeah. :-)
[15:06:46] batu: :Ox0dea ty
[15:07:07] norc: Ox0dea: I was quite amused when I figured out that the only way that they are hidden is that they don't have a leading @ in their name.
[15:08:16] apeiros: norc: iirc in older rubies you could set those yourself from ruby using ivar_set/_get
[15:08:17] norc: From the looks you just provided an interface for them.
[15:08:40] norc: apeiros: Interesting.
[15:08:41] apeiros: nowadays ruby insists they must be "proper" ivars :D
[15:08:53] apeiros: but from C (iirc) you still can
[15:09:21] socialjackie: has joined #ruby
[15:09:44] yardenbar: has joined #ruby
[15:11:22] Frem: has joined #ruby
[15:11:32] Ox0dea: I still don't really get it.
[15:11:41] mjuszczak: has joined #ruby
[15:11:51] argoneus: thanks Ox0dea it werks now :D
[15:11:53] apeiros: the idea behind it?
[15:12:21] Ox0dea: No, why nobu goes out of his way to make it hard/impossible to have our fun in this area.
[15:12:36] apeiros: what did he make hard?
[15:12:43] Ox0dea: FrozenCore, for starters.
[15:12:44] apeiros: (missed that obv)
[15:13:03] apeiros: yeah, frozencore confused me a bit. it goes against rubys earlier stance to not handhold devs.
[15:13:10] Ox0dea: That it does. :<
[15:13:21] apeiros: "if you want to shoot your foot - here, take this rocket launcher. but know that I warned you."
[15:13:39] grotewold: has joined #ruby
[15:14:01] Ox0dea: "Ruby: it gives you footnukes."
[15:14:17] apeiros: that sounds like a terrible kind of infection
[15:14:57] The_Phoenix: has joined #ruby
[15:14:58] bronson: has joined #ruby
[15:16:22] pragmatism: has joined #ruby
[15:17:02] _stu_: has joined #ruby
[15:17:06] YP-QMUL-W: has joined #ruby
[15:17:33] iateadonut: has joined #ruby
[15:19:27] Ruby_Rocks_007: has joined #ruby
[15:21:03] axl_: has joined #ruby
[15:21:04] diegoviola: has joined #ruby
[15:22:38] diegoviola: has joined #ruby
[15:22:52] big|bad|wolf: has joined #ruby
[15:22:57] tulak: has joined #ruby
[15:23:54] `based_pdev`: has joined #ruby
[15:25:21] ascarter: has joined #ruby
[15:25:29] Ruby_Rocks_007: has joined #ruby
[15:26:51] TheBloke: has joined #ruby
[15:27:17] krz: has joined #ruby
[15:29:05] isjaylee: has joined #ruby
[15:29:52] elton: has joined #ruby
[15:30:05] PaulCapestany: has joined #ruby
[15:32:15] isjaylee: i'm using nethttp to connect to a self signed cert server. how do i open up the connection to get the public ca before making my request?
[15:32:21] colegatron: has joined #ruby
[15:32:26] bradc: has joined #ruby
[15:32:37] B1n4r10: has joined #ruby
[15:32:38] mallu: has joined #ruby
[15:33:07] Pathfinder: has joined #ruby
[15:33:12] User458764: has joined #ruby
[15:33:16] devbug: has joined #ruby
[15:34:06] ddubs: why not just add a verify_ssl = false style flag?
[15:34:23] The_Phoenix: has joined #ruby
[15:34:24] isjaylee: ddubs: well, that defeats the purpose of ssl
[15:34:42] ddubs: so does trusting the cert chain from the server you are connecting too
[15:39:54] j2k: has joined #ruby
[15:39:56] prestorium: has joined #ruby
[15:40:07] uri: has joined #ruby
[15:40:14] matled: has joined #ruby
[15:40:23] yokel: has joined #ruby
[15:40:24] shortdudey123: has joined #ruby
[15:41:23] jzigmund: has joined #ruby
[15:41:23] sevin: has joined #ruby
[15:41:23] Guest34193: has joined #ruby
[15:41:23] nibbo: has joined #ruby
[15:41:23] parus: has joined #ruby
[15:41:23] Raboo: has joined #ruby
[15:41:23] bluntman: has joined #ruby
[15:41:23] nickjj: has joined #ruby
[15:41:23] ahuman: has joined #ruby
[15:41:23] scpike_: has joined #ruby
[15:41:23] 7YUAAB7RZ: has joined #ruby
[15:41:23] niko: has joined #ruby
[15:41:23] crankharder: has joined #ruby
[15:41:23] monsieurp: has joined #ruby
[15:41:23] hfp_work: has joined #ruby
[15:41:23] miah: has joined #ruby
[15:41:23] tubbo: has joined #ruby
[15:41:23] Prira: has joined #ruby
[15:41:23] Zarthus: has joined #ruby
[15:41:23] ByronJohnson: has joined #ruby
[15:41:23] ankhers: has joined #ruby
[15:41:23] olblak: has joined #ruby
[15:41:23] arcanez: has joined #ruby
[15:41:23] TheRealPygo: has joined #ruby
[15:41:23] v0n: has joined #ruby
[15:41:24] varesa_: has joined #ruby
[15:41:24] gypsydave5: has joined #ruby
[15:41:24] sjums: has joined #ruby
[15:41:24] Sigma00: has joined #ruby
[15:41:24] deavidsedice: has joined #ruby
[15:41:24] Sebastia1Thorn: has joined #ruby
[15:41:24] raenk: has joined #ruby
[15:41:24] pwned: has joined #ruby
[15:41:24] bafbomb_: has joined #ruby
[15:41:24] nomadic_: has joined #ruby
[15:41:24] bmn_: has joined #ruby
[15:41:24] retornam: has joined #ruby
[15:41:24] Inoperable: has joined #ruby
[15:41:24] isene: has joined #ruby
[15:41:24] bigkevmcd: has joined #ruby
[15:41:24] rejerson69_: has joined #ruby
[15:41:24] Jello_Raptor: has joined #ruby
[15:41:24] JoshL: has joined #ruby
[15:41:24] sekrit: has joined #ruby
[15:41:24] cout: has joined #ruby
[15:41:24] j416: has joined #ruby
[15:41:24] Evans: has joined #ruby
[15:41:24] lguardiola: has joined #ruby
[15:41:24] ghr: has joined #ruby
[15:41:24] ereslibre_laptop: has joined #ruby
[15:41:24] jcp: has joined #ruby
[15:41:24] guardian: has joined #ruby
[15:41:25] wedgwood: has joined #ruby
[15:41:25] canton7: has joined #ruby
[15:41:25] FifthWall: has joined #ruby
[15:41:25] frog0909: has joined #ruby
[15:41:25] roger_rabbit: has joined #ruby
[15:41:25] hostess: has joined #ruby
[15:41:25] yonatankoren: has joined #ruby
[15:41:25] segmond: has joined #ruby
[15:41:25] oz: has joined #ruby
[15:41:25] AnoHito: has joined #ruby
[15:41:25] JiYu: has joined #ruby
[15:41:25] w5isp: has joined #ruby
[15:41:25] Kruppe: has joined #ruby
[15:41:25] csmb: has joined #ruby
[15:41:25] sgambino: has joined #ruby
[15:41:25] mloy: has joined #ruby
[15:41:25] tsunamie: has joined #ruby
[15:41:25] DarthGandalf: has joined #ruby
[15:41:25] adaedra: has joined #ruby
[15:41:25] e7d: has joined #ruby
[15:41:25] marienz: has joined #ruby
[15:41:25] Phage: has joined #ruby
[15:41:25] heyimwill: has joined #ruby
[15:41:25] krasnus: has joined #ruby
[15:41:25] angiebadillo: has joined #ruby
[15:41:26] teotwaki: has joined #ruby
[15:41:26] bodgix: has joined #ruby
[15:41:26] crayfishx: has joined #ruby
[15:41:26] tylersmith: has joined #ruby
[15:41:26] Bilge: has joined #ruby
[15:41:26] DenSchub: has joined #ruby
[15:41:26] nomadicoder: has joined #ruby
[15:41:26] shelling__: has joined #ruby
[15:41:26] bove: has joined #ruby
[15:41:26] countryHick: has joined #ruby
[15:41:26] Heero: has joined #ruby
[15:41:26] iamdevnul: has joined #ruby
[15:41:26] danzilio: has joined #ruby
[15:41:26] bcavileer_: has joined #ruby
[15:41:26] twodayslate: has joined #ruby
[15:41:26] go|dfish: has joined #ruby
[15:41:26] Guest96625: has joined #ruby
[15:41:26] Davey: has joined #ruby
[15:41:26] loincloth: has joined #ruby
[15:41:26] jmhmccr: has joined #ruby
[15:41:26] marsjaninzmarsa: has joined #ruby
[15:41:26] pmarreck: has joined #ruby
[15:41:26] djbender: has joined #ruby
[15:41:26] charles81: has joined #ruby
[15:41:26] artmann_: has joined #ruby
[15:41:26] cardoni: has joined #ruby
[15:41:26] rfv: has joined #ruby
[15:41:26] manveru: has joined #ruby
[15:41:27] zeljkof: has joined #ruby
[15:41:27] troter______: has joined #ruby
[15:41:27] bestie: has joined #ruby
[15:41:27] DukeDave: has joined #ruby
[15:41:27] jevs: has joined #ruby
[15:41:27] Pro|_: has joined #ruby
[15:41:27] samuelkadolph: has joined #ruby
[15:41:27] mistym: has joined #ruby
[15:41:27] Platini: has joined #ruby
[15:41:27] mhenrixon: has joined #ruby
[15:41:27] bier_: has joined #ruby
[15:41:27] haasn: has joined #ruby
[15:41:27] rcs: has joined #ruby
[15:41:27] p8952: has joined #ruby
[15:41:27] martinbjeldbak: has joined #ruby
[15:41:27] maxmanders: has joined #ruby
[15:41:27] mgorbach: has joined #ruby
[15:41:27] chris2: has joined #ruby
[15:41:27] Sp4rKy: has joined #ruby
[15:41:27] wjimenez5271: has joined #ruby
[15:41:27] heinrich5991: has joined #ruby
[15:41:27] Symbiosisz: has joined #ruby
[15:41:27] Bugboy1028: has joined #ruby
[15:41:27] thesheff17: has joined #ruby
[15:41:27] greister: has joined #ruby
[15:41:28] stuartb_: has joined #ruby
[15:41:28] patronus: has joined #ruby
[15:41:28] Affix: has joined #ruby
[15:41:28] benlakey: has joined #ruby
[15:41:28] HashNuke: has joined #ruby
[15:41:28] tonini: has joined #ruby
[15:41:28] bjmllr: has joined #ruby
[15:41:28] nullwarp: has joined #ruby
[15:41:28] skmp: has joined #ruby
[15:41:28] cstrahan: has joined #ruby
[15:41:28] n1ftyn8_: has joined #ruby
[15:41:28] SilentEcho: has joined #ruby
[15:41:28] Nahra``: has joined #ruby
[15:41:28] Shidash: has joined #ruby
[15:41:28] err_ok: has joined #ruby
[15:41:28] frode15243: has joined #ruby
[15:41:28] RazorX: has joined #ruby
[15:41:28] vcoinminer_: has joined #ruby
[15:41:28] Killerkeksdose: has joined #ruby
[15:41:28] justinmcp: has joined #ruby
[15:41:28] nemesit|znc: has joined #ruby
[15:41:28] perrier__: has joined #ruby
[15:41:28] tw1sted: has joined #ruby
[15:41:28] knight_: has joined #ruby
[15:41:28] RTG`: has joined #ruby
[15:41:28] nkts: has joined #ruby
[15:41:28] eboaz_: has joined #ruby
[15:41:28] sumark_: has joined #ruby
[15:41:29] Qantourisc: has joined #ruby
[15:41:29] wnd: has joined #ruby
[15:41:29] tethra: has joined #ruby
[15:41:29] TheSpect1e: has joined #ruby
[15:41:29] Guest27898: has joined #ruby
[15:41:29] funnel: has joined #ruby
[15:41:29] tomaw: has joined #ruby
[15:41:29] spectra: has joined #ruby
[15:41:29] thomasfedb: has joined #ruby
[15:41:29] epitron: has joined #ruby
[15:41:29] tekk: has joined #ruby
[15:41:29] sonOfRa: has joined #ruby
[15:41:29] mfqr: has joined #ruby
[15:41:29] zapata: has joined #ruby
[15:41:29] bakingbread: has joined #ruby
[15:41:29] belak: has joined #ruby
[15:41:29] xmad: has joined #ruby
[15:41:29] cyberfawkes: has joined #ruby
[15:41:29] EvilDMP: has joined #ruby
[15:41:29] kobain: has joined #ruby
[15:41:29] darix: has joined #ruby
[15:41:29] scottymeuk: has joined #ruby
[15:41:29] SirFunk: has joined #ruby
[15:41:29] sindork: has joined #ruby
[15:41:29] matp: has joined #ruby
[15:41:29] gregf_: has joined #ruby
[15:41:29] absolutejam: has joined #ruby
[15:41:30] drbrain: has joined #ruby
[15:41:30] jtdowney: has joined #ruby
[15:41:30] SenpaiSilver: has joined #ruby
[15:41:30] mblagden: has joined #ruby
[15:41:30] akkad: has joined #ruby
[15:41:30] deg: has joined #ruby
[15:41:30] eam: has joined #ruby
[15:41:30] Sou|cutter: has joined #ruby
[15:41:30] Scient: has joined #ruby
[15:41:30] aep: has joined #ruby
[15:41:30] perry: has joined #ruby
[15:41:30] eggoez: has joined #ruby
[15:41:30] okdas: has joined #ruby
[15:41:30] duoi: has joined #ruby
[15:41:30] Paradox: has joined #ruby
[15:41:30] apeiros: has joined #ruby
[15:41:30] zenspider: has joined #ruby
[15:41:30] brixen: has joined #ruby
[15:41:30] gbailey: has joined #ruby
[15:41:30] Sthebig: has joined #ruby
[15:41:30] Uptime: has joined #ruby
[15:41:30] BackEndCoder: has joined #ruby
[15:41:30] codex: has joined #ruby
[15:41:30] bahar: has joined #ruby
[15:41:30] tpendragon: has joined #ruby
[15:41:30] dling: has joined #ruby
[15:41:30] Lildirt: has joined #ruby
[15:41:30] alexherbo2: has joined #ruby
[15:41:30] shtirlic: has joined #ruby
[15:41:30] iamvery: has joined #ruby
[15:41:30] arthurnn: has joined #ruby
[15:41:31] whiteline: has joined #ruby
[15:41:31] Klumben: has joined #ruby
[15:41:31] peteyg: has joined #ruby
[15:41:31] claw: has joined #ruby
[15:41:31] sapslaj: has joined #ruby
[15:41:31] adeponte: has joined #ruby
[15:41:31] jsaak: has joined #ruby
[15:41:31] th0m__: has joined #ruby
[15:41:31] jord: has joined #ruby
[15:41:31] nateberkopec: has joined #ruby
[15:41:31] pestle: has joined #ruby
[15:41:31] pwnd_nsfw: has joined #ruby
[15:41:31] AlexRussia: has joined #ruby
[15:41:31] Xiti: has joined #ruby
[15:41:31] mclee: has joined #ruby
[15:41:31] TheBrayn: has joined #ruby
[15:41:31] jud: has joined #ruby
[15:41:31] cornerman: has joined #ruby
[15:41:31] shinenelson: has joined #ruby
[15:41:31] ddubs: has joined #ruby
[15:41:31] adamholt: has joined #ruby
[15:41:31] freedrull: has joined #ruby
[15:41:31] ixti: has joined #ruby
[15:41:31] kadoppe: has joined #ruby
[15:41:31] Meeh: has joined #ruby
[15:41:31] NeverDie: has joined #ruby
[15:41:31] Ebok: has joined #ruby
[15:41:31] NightMonkey: has joined #ruby
[15:41:31] CustosLimen: has joined #ruby
[15:41:31] yeticry: has joined #ruby
[15:41:31] Kero: has joined #ruby
[15:41:32] Tempesta: has joined #ruby
[15:41:32] s00pcan: has joined #ruby
[15:41:32] dravine: has joined #ruby
[15:41:32] leat: has joined #ruby
[15:41:32] banister: has joined #ruby
[15:41:32] Pisuke: has joined #ruby
[15:41:32] NET||abuse: has joined #ruby
[15:41:32] araujo: has joined #ruby
[15:41:32] MasterNayru: has joined #ruby
[15:41:32] setient: has joined #ruby
[15:41:32] aufi: has joined #ruby
[15:41:32] agent_white: has joined #ruby
[15:41:32] mrgrieves: has joined #ruby
[15:41:32] LiquidInsect: has joined #ruby
[15:41:32] bakedb: has joined #ruby
[15:41:32] zenguy_pc: has joined #ruby
[15:41:32] dlitvak: has joined #ruby
[15:41:32] blackms: has joined #ruby
[15:41:32] c0m0: has joined #ruby
[15:41:32] maloik: has joined #ruby
[15:41:32] marr: has joined #ruby
[15:41:32] nfk|laptop: has joined #ruby
[15:41:32] Jackneill: has joined #ruby
[15:41:32] Mia: has joined #ruby
[15:41:32] roshanavand: has joined #ruby
[15:41:32] sdothum: has joined #ruby
[15:41:33] durstburger: has joined #ruby
[15:41:33] d0nn1e: has joined #ruby
[15:41:33] grill: has joined #ruby
[15:41:33] goodcodeguy: has joined #ruby
[15:41:33] Amnez777: has joined #ruby
[15:41:33] waynerade: has joined #ruby
[15:41:33] kriskropd: has joined #ruby
[15:41:33] crdpink2: has joined #ruby
[15:41:33] tekacs: has joined #ruby
[15:41:33] EvilJStoker: has joined #ruby
[15:41:33] alxndr: has joined #ruby
[15:41:33] kellabyte: has joined #ruby
[15:41:33] mozzarella: has joined #ruby
[15:41:33] avelldiroll: has joined #ruby
[15:41:33] TheMoonMaster: has joined #ruby
[15:41:33] cats: has joined #ruby
[15:41:33] levifig: has joined #ruby
[15:41:33] sluukkonen: has joined #ruby
[15:41:33] jimeh: has joined #ruby
[15:41:33] pizzaops: has joined #ruby
[15:41:33] zrl: has joined #ruby
[15:41:33] chihhsin: has joined #ruby
[15:41:33] YaknotiS: has joined #ruby
[15:41:33] akitada: has joined #ruby
[15:41:33] epochwolf: has joined #ruby
[15:41:34] jaxxstorm: has joined #ruby
[15:41:34] plonk: has joined #ruby
[15:41:34] djcp: has joined #ruby
[15:41:34] inukshuk: has joined #ruby
[15:41:34] shadeslayer: has joined #ruby
[15:41:34] ujjain: has joined #ruby
[15:41:34] Guest79752: has joined #ruby
[15:41:34] Sirecote: has joined #ruby
[15:41:34] z3uS: has joined #ruby
[15:41:34] tomdp: has joined #ruby
[15:41:34] Morrolan: has joined #ruby
[15:41:34] kitallis: has joined #ruby
[15:41:34] SirCmpwn: has joined #ruby
[15:41:34] svkurowski: has joined #ruby
[15:41:34] varesa: has joined #ruby
[15:41:34] df: has joined #ruby
[15:41:34] russt: has joined #ruby
[15:41:34] pjaspers: has joined #ruby
[15:41:34] j0bk: has joined #ruby
[15:41:34] clamstar: has joined #ruby
[15:41:34] alexblom: has joined #ruby
[15:41:34] derailed: has joined #ruby
[15:41:34] redlegion: has joined #ruby
[15:41:34] nlsun: has joined #ruby
[15:41:34] dannluciano: has joined #ruby
[15:41:34] kaspergrubbe: has joined #ruby
[15:41:35] davidcelis: has joined #ruby
[15:41:35] oddmunds: has joined #ruby
[15:41:35] michael_mbp: has joined #ruby
[15:41:35] wldcordeiro: has joined #ruby
[15:41:35] lady3bean: has joined #ruby
[15:41:35] gnarf: has joined #ruby
[15:41:35] Fridtjof: has joined #ruby
[15:41:35] speakingcode: has joined #ruby
[15:41:35] ceej: has joined #ruby
[15:41:35] Takumo: has joined #ruby
[15:41:35] G: has joined #ruby
[15:41:35] Guest43890: has joined #ruby
[15:41:35] pipework: has joined #ruby
[15:41:35] Gadgetoid: has joined #ruby
[15:41:35] tris: has joined #ruby
[15:41:35] greedo: has joined #ruby
[15:41:35] Liothen: has joined #ruby
[15:41:35] SegFaultAX: has joined #ruby
[15:41:35] blowmage: has joined #ruby
[15:41:35] sorah: has joined #ruby
[15:41:35] mahlon: has joined #ruby
[15:41:35] ajb: has joined #ruby
[15:41:35] KervyN: has joined #ruby
[15:41:35] ryotarai: has joined #ruby
[15:41:35] DanKnox[away]: has joined #ruby
[15:41:35] TDJACR: has joined #ruby
[15:41:35] hohenfall: has joined #ruby
[15:41:35] duracrisis: has joined #ruby
[15:41:35] mmasaki: has joined #ruby
[15:41:35] twe4ked: has joined #ruby
[15:41:35] aps: has joined #ruby
[15:41:36] blackjid: has joined #ruby
[15:41:36] skarn: has joined #ruby
[15:41:36] rvchangue: has joined #ruby
[15:41:36] lokulin: has joined #ruby
[15:41:36] baroquebobcat: has joined #ruby
[15:41:36] valeri_ufo: has joined #ruby
[15:41:36] twistedpixels: has joined #ruby
[15:41:36] x0F: has joined #ruby
[15:41:36] lorn: has joined #ruby
[15:41:36] sonne: has joined #ruby
[15:41:36] joeyjones: has joined #ruby
[15:41:36] tuor: has joined #ruby
[15:41:36] secret: has joined #ruby
[15:41:36] Kabaka: has joined #ruby
[15:41:36] cajone: has joined #ruby
[15:41:36] _5moufl: has joined #ruby
[15:41:36] znz_jp: has joined #ruby
[15:41:36] johnhamelink: has joined #ruby
[15:41:36] alem0lars: has joined #ruby
[15:41:36] rikai: has joined #ruby
[15:41:36] pontiki: has joined #ruby
[15:41:36] gambl0re: has joined #ruby
[15:41:36] rdark: has joined #ruby
[15:41:36] Emmanuel_Chanel: has joined #ruby
[15:41:36] bweston92: has joined #ruby
[15:41:36] Stan: has joined #ruby
[15:41:36] spt0: has joined #ruby
[15:41:36] Kedare: has joined #ruby
[15:41:36] xaotuk: has joined #ruby
[15:41:36] nertzy: has joined #ruby
[15:41:36] Hanmac: has joined #ruby
[15:41:36] jschmid: has joined #ruby
[15:41:37] stannard: has joined #ruby
[15:41:37] Log1x: has joined #ruby
[15:41:37] techietrash: has joined #ruby
[15:41:37] gizmore: has joined #ruby
[15:41:37] renderful: has joined #ruby
[15:41:37] humd1ng3r: has joined #ruby
[15:41:37] Luming: has joined #ruby
[15:41:37] ebertx: has joined #ruby
[15:41:37] Karunamon: has joined #ruby
[15:41:37] cpup: has joined #ruby
[15:41:37] gregf: has joined #ruby
[15:41:37] S1kx: has joined #ruby
[15:41:37] bb010g: has joined #ruby
[15:41:37] nwhirschfeld: has joined #ruby
[15:41:37] gigetoo: has joined #ruby
[15:41:37] pleiosaur: has joined #ruby
[15:41:37] Vitor: has joined #ruby
[15:41:37] linc01n: has joined #ruby
[15:41:37] jhill: has joined #ruby
[15:41:37] Nilium: has joined #ruby
[15:41:37] user083: has joined #ruby
[15:41:37] bubbys: has joined #ruby
[15:41:37] myztic: has joined #ruby
[15:41:37] tAn: has joined #ruby
[15:41:37] blub: has joined #ruby
[15:41:37] hectortrope: has joined #ruby
[15:41:37] PlasmaStar: has joined #ruby
[15:41:37] LBRapid: has joined #ruby
[15:41:37] gix: has joined #ruby
[15:41:38] howdoi: has joined #ruby
[15:41:38] simplyianm: has joined #ruby
[15:41:38] gsingh93: has joined #ruby
[15:41:38] Pumukel: has joined #ruby
[15:41:38] Anderson69s_Deb: has joined #ruby
[15:41:38] radgeRayden: has joined #ruby
[15:41:38] toretore: has joined #ruby
[15:41:38] huyderman: has joined #ruby
[15:41:38] Hounddog: has joined #ruby
[15:41:38] rickmasta: has joined #ruby
[15:41:38] ldnunes: has joined #ruby
[15:41:38] sigurding: has joined #ruby
[15:41:38] avril14th: has joined #ruby
[15:41:38] Pupp3tm4_: has joined #ruby
[15:41:38] brunto: has joined #ruby
[15:41:38] davedev24: has joined #ruby
[15:41:38] decoponio: has joined #ruby
[15:41:38] senayar: has joined #ruby
[15:41:38] minimalism: has joined #ruby
[15:41:38] boxofrox: has joined #ruby
[15:41:38] TomPeed: has joined #ruby
[15:41:38] desmondhume: has joined #ruby
[15:41:38] cdg: has joined #ruby
[15:41:38] shanemcd: has joined #ruby
[15:41:38] pandaant: has joined #ruby
[15:41:38] wprice: has joined #ruby
[15:41:38] doublemalt_: has joined #ruby
[15:41:39] nbdy: has joined #ruby
[15:41:39] wsewolod: has joined #ruby
[15:41:39] mostlybadfly: has joined #ruby
[15:41:39] daveshah: has joined #ruby
[15:41:39] snowy: has joined #ruby
[15:41:39] timonv: has joined #ruby
[15:41:39] krobzaur: has joined #ruby
[15:41:39] dhollinger: has joined #ruby
[15:41:39] chouhoulis: has joined #ruby
[15:41:39] babblebre: has joined #ruby
[15:41:39] atomical: has joined #ruby
[15:41:39] dmonster: has joined #ruby
[15:41:39] twilling: has joined #ruby
[15:41:39] havenwood: has joined #ruby
[15:41:39] socialjackie: has joined #ruby
[15:41:39] Frem: has joined #ruby
[15:41:39] mjuszczak: has joined #ruby
[15:41:39] YP-QMUL-W: has joined #ruby
[15:41:39] iateadonut: has joined #ruby
[15:41:39] axl_: has joined #ruby
[15:41:39] tulak: has joined #ruby
[15:41:39] `based_pdev`: has joined #ruby
[15:41:39] Ruby_Rocks_007: has joined #ruby
[15:41:39] TheBloke: has joined #ruby
[15:41:39] krz: has joined #ruby
[15:41:39] elton: has joined #ruby
[15:41:39] PaulCapestany: has joined #ruby
[15:41:40] colegatron: has joined #ruby
[15:41:40] B1n4r10: has joined #ruby
[15:41:40] mallu: has joined #ruby
[15:41:40] Pathfinder: has joined #ruby
[15:41:40] The_Phoenix: has joined #ruby
[15:41:40] sparr: has joined #ruby
[15:41:40] 32NAAD4T8: has joined #ruby
[15:41:40] ltd: has joined #ruby
[15:41:40] Zackio: has joined #ruby
[15:41:40] marcoecc: has joined #ruby
[15:41:40] trampi: has joined #ruby
[15:41:40] moty66: has joined #ruby
[15:41:40] shevy: has joined #ruby
[15:41:40] kfpratt: has joined #ruby
[15:41:40] peitera: has joined #ruby
[15:41:40] thejoecarroll: has joined #ruby
[15:41:40] redondos: has joined #ruby
[15:41:40] constantinexvi: has joined #ruby
[15:41:40] BiHi: has joined #ruby
[15:41:40] callumacrae: has joined #ruby
[15:41:40] xMopxShell: has joined #ruby
[15:41:40] imajes: has joined #ruby
[15:41:40] rideh: has joined #ruby
[15:41:40] Steve_Jobs: has joined #ruby
[15:41:40] bradland: has joined #ruby
[15:41:40] sivoais: has joined #ruby
[15:41:40] joevandyk: has joined #ruby
[15:41:40] tommylommykins: has joined #ruby
[15:41:40] AustinMatherne: has joined #ruby
[15:41:41] digneety: has joined #ruby
[15:41:41] kenichi: has joined #ruby
[15:41:41] rtl: has joined #ruby
[15:41:41] anekos: has joined #ruby
[15:41:41] pocketprotector: has joined #ruby
[15:41:41] papercode: has joined #ruby
[15:41:41] mist: has joined #ruby
[15:41:41] duper: has joined #ruby
[15:41:41] demophoon: has joined #ruby
[15:41:41] phreakocious: has joined #ruby
[15:41:41] headius: has joined #ruby
[15:41:41] mburns: has joined #ruby
[15:41:41] Fire-Dragon-DoL: has joined #ruby
[15:41:41] hyperdri-: has joined #ruby
[15:41:41] Apocalypse: has joined #ruby
[15:41:41] tabakhase: has joined #ruby
[15:41:41] elaptics: has joined #ruby
[15:41:41] devyn: has joined #ruby
[15:41:41] diego_k: has joined #ruby
[15:41:41] eregon_: has joined #ruby
[15:41:41] Mr_Pancake: has joined #ruby
[15:43:23] Naujokelis: has joined #ruby
[15:43:28] ghoti: has joined #ruby
[15:48:43] Naujokelis: has left #ruby: ()
[15:51:07] Muz: has joined #ruby
[15:51:15] MissionCritical: has joined #ruby
[15:54:03] matled: has joined #ruby
[15:54:04] cwong_on_irc: has joined #ruby
[15:55:05] djanatyn: has joined #ruby
[16:09:55] yasu___: has joined #ruby
[16:17:41] Gnut: has joined #ruby
[16:28:44] mary5030: has joined #ruby
[16:28:44] uber: has joined #ruby
[16:28:44] 18VAADQYW: has joined #ruby
[16:28:44] RegulationD: has joined #ruby
[16:28:44] freerobby: has joined #ruby
[16:28:44] MissionCritical: has joined #ruby
[16:28:44] s2013: has joined #ruby
[16:28:44] spleeze: has joined #ruby
[16:28:44] Guest90348: has joined #ruby
[16:28:44] symm-: has joined #ruby
[16:28:44] Luna_Moonfang: has joined #ruby
[16:28:44] Helheim: has joined #ruby
[16:28:44] g3funk: has joined #ruby
[16:28:44] _stu_: has joined #ruby
[16:28:44] pragmatism: has joined #ruby
[16:28:44] grotewold: has joined #ruby
[16:28:44] lkba: has joined #ruby
[16:28:44] allyjweir: has joined #ruby
[16:28:44] casadei: has joined #ruby
[16:28:45] purplexed-: has joined #ruby
[16:28:45] Puffball: has joined #ruby
[16:28:45] Ishido: has joined #ruby
[16:28:45] platzhirsch: has joined #ruby
[16:28:45] Couch: has joined #ruby
[16:28:45] SCHAAP137: has joined #ruby
[16:28:45] cinik: has joined #ruby
[16:28:45] lxsameer: has joined #ruby
[16:28:45] gaussblurinc1: has joined #ruby
[16:28:45] cycorld: has joined #ruby
[16:28:45] BTRE: has joined #ruby
[16:28:45] astrobunny: has joined #ruby
[16:28:45] workmad3: has joined #ruby
[16:28:45] hackeron: has joined #ruby
[16:28:45] unsymbol: has joined #ruby
[16:28:45] alakra: has joined #ruby
[16:28:45] argoneus: has joined #ruby
[16:28:45] infernix: has joined #ruby
[16:28:45] connor_goodwolf: has joined #ruby
[16:28:45] rclements: has joined #ruby
[16:28:45] shapeshifter: has joined #ruby
[16:28:45] reaVer: has joined #ruby
[16:28:45] ElSif: has joined #ruby
[16:28:45] solenoids: has joined #ruby
[16:28:45] Asher: has joined #ruby
[16:28:45] sarlalian: has joined #ruby
[16:28:45] chridal: has joined #ruby
[16:28:45] jokester: has joined #ruby
[16:28:45] null3: has joined #ruby
[16:28:45] moei: has joined #ruby
[16:28:45] yxhuvud: has joined #ruby
[16:28:45] Biohazard: has joined #ruby
[16:28:45] hinbody: has joined #ruby
[16:28:45] tenderlove: has joined #ruby
[16:28:46] Papierkorb: has joined #ruby
[16:28:46] Scroff: has joined #ruby
[16:28:46] BraddPitt: has joined #ruby
[16:28:46] existensil: has joined #ruby
[16:28:46] moss: has joined #ruby
[16:28:46] oddalot: has joined #ruby
[16:28:46] Dfoolz: has joined #ruby
[16:28:46] unreal: has joined #ruby
[16:28:46] danoo_: has joined #ruby
[16:28:46] majjoha_: has joined #ruby
[16:28:46] Freeaqingme: has joined #ruby
[16:28:46] Lilian: has joined #ruby
[16:28:46] kramsee: has joined #ruby
[16:28:46] xnr: has joined #ruby
[16:28:46] PaulePanter: has joined #ruby
[16:28:46] nisstyre: has joined #ruby
[16:28:46] yorickpeterse: has joined #ruby
[16:28:46] gilesww: has joined #ruby
[16:28:46] bytecrawler: has joined #ruby
[16:28:46] kalleth: has joined #ruby
[16:28:46] bascht: has joined #ruby
[16:28:46] kent\n: has joined #ruby
[16:28:46] musicmatze: has joined #ruby
[16:28:46] alol: has joined #ruby
[16:28:46] ajaiswal: has joined #ruby
[16:28:46] linduxed: has joined #ruby
[16:28:46] passcod: has joined #ruby
[16:28:46] sysanthrope: has joined #ruby
[16:28:46] yeltzooo: has joined #ruby
[16:28:46] xsdg: has joined #ruby
[16:28:46] badeball: has joined #ruby
[16:28:46] bewie: has joined #ruby
[16:28:46] mosez: has joined #ruby
[16:28:47] gamache: has joined #ruby
[16:28:47] thang: has joined #ruby
[16:28:47] axisys: has joined #ruby
[16:28:47] ljarvis: has joined #ruby
[16:28:47] jericon: has joined #ruby
[16:28:47] bnagy: has joined #ruby
[16:28:47] pl1ght: has joined #ruby
[16:28:47] programmerq: has joined #ruby
[16:28:47] certainty: has joined #ruby
[16:28:47] conrfrmn: has joined #ruby
[16:28:47] suffice: has joined #ruby
[16:28:47] james1: has joined #ruby
[16:28:47] rmrrn: has joined #ruby
[16:28:47] sugardrunk: has joined #ruby
[16:28:47] Silex: has joined #ruby
[16:28:47] [dmp]: has joined #ruby
[16:28:47] coffeejunk: has joined #ruby
[16:28:47] async_prince: has joined #ruby
[16:28:47] TTilus: has joined #ruby
[16:28:47] Guest50975: has joined #ruby
[16:28:47] ZYPP: has joined #ruby
[16:28:47] stephenh: has joined #ruby
[16:28:47] Guest726: has joined #ruby
[16:28:47] ironcamel: has joined #ruby
[16:28:47] rethi: has joined #ruby
[16:28:47] Vile`: has joined #ruby
[16:28:47] woodruffw: has joined #ruby
[16:28:47] DEac-: has joined #ruby
[16:28:47] freeze: has joined #ruby
[16:28:47] Kuukunen: has joined #ruby
[16:28:47] crowell: has joined #ruby
[16:28:47] flori: has joined #ruby
[16:28:47] Bish: has joined #ruby
[16:28:47] VladGh: has joined #ruby
[16:28:47] Ray`: has joined #ruby
[16:28:48] hplar: has joined #ruby
[16:28:48] Drakevr: has joined #ruby
[16:28:48] DrShoggoth: has joined #ruby
[16:28:48] ozzloy: has joined #ruby
[16:28:48] euoia: has joined #ruby
[16:28:48] cfloare: has joined #ruby
[16:28:48] marahin: has joined #ruby
[16:28:48] joneshf-laptop: has joined #ruby
[16:28:48] boshhead: has joined #ruby
[16:28:48] hightower4: has joined #ruby
[16:28:48] Skelz0r: has joined #ruby
[16:28:48] [ace]: has joined #ruby
[16:28:48] kallisti5: has joined #ruby
[16:28:48] Koshian: has joined #ruby
[16:28:48] fluchtreflex: has joined #ruby
[16:28:48] yoongkang: has joined #ruby
[16:29:31] tildes: has joined #ruby
[16:30:35] sepp2k: has joined #ruby
[16:31:11] pandaant: has joined #ruby
[16:32:21] Outlastsheep: has joined #ruby
[16:32:26] karapetyan: has joined #ruby
[16:33:20] rodfersou: has joined #ruby
[16:34:06] tildes: has joined #ruby
[16:35:06] dorei: has joined #ruby
[16:36:04] maddmaxx: has joined #ruby
[16:37:17] shaman42: has joined #ruby
[16:37:31] mary5030: has joined #ruby
[16:38:31] M-prosodyContext: has joined #ruby
[16:39:41] mary5030_: has joined #ruby
[16:42:04] M-prosodyContext: has joined #ruby
[16:47:31] b4rb0s4_: has joined #ruby
[16:47:31] Silex: has joined #ruby
[16:47:31] dfoolz_: has joined #ruby
[16:47:31] ponzi: has joined #ruby
[16:47:31] snockerton1: has joined #ruby
[16:47:31] sysanthrope: has joined #ruby
[16:47:31] User458764: has joined #ruby
[16:47:31] Gnut: has joined #ruby
[16:47:31] quarcu: has joined #ruby
[16:47:31] davedev24: has joined #ruby
[16:47:32] sjohnsen: has joined #ruby
[16:47:32] pyoor: has joined #ruby
[16:47:32] mercerist: has joined #ruby
[16:47:32] vondruch: has joined #ruby
[16:47:32] Rubie: has joined #ruby
[16:47:32] Guest85414______: has joined #ruby
[16:47:32] icedragon: has joined #ruby
[16:47:32] vifino: has joined #ruby
[16:47:32] ghormoon: has joined #ruby
[16:47:32] mighty_gorilla: has joined #ruby
[16:47:32] frankS2: has joined #ruby
[16:47:32] ELCALOR: has joined #ruby
[16:47:32] tejasmanohar: has joined #ruby
[16:47:32] Liam`: has joined #ruby
[16:47:32] yosafbridge: has joined #ruby
[16:47:32] ruurd: has joined #ruby
[16:47:32] catbusters: has joined #ruby
[16:47:32] gremax: has joined #ruby
[16:47:32] dellavg: has joined #ruby
[16:47:32] Kamilion: has joined #ruby
[16:47:32] cschneid: has joined #ruby
[16:47:32] _whitelogger_: has joined #ruby
[16:47:32] ohcibi_: has joined #ruby
[16:47:32] guest192123: has joined #ruby
[16:47:32] kalz: has joined #ruby
[16:47:32] Ikri: has joined #ruby
[16:47:33] Y_Ichiro: has joined #ruby
[16:47:33] kalzz: has joined #ruby
[16:47:33] nchambers: has joined #ruby
[16:47:33] iooner: has joined #ruby
[16:47:33] heftig: has joined #ruby
[16:47:33] ZeeNoodley: has joined #ruby
[16:47:33] jhass: has joined #ruby
[16:47:33] acadavid: has joined #ruby
[16:47:33] Nightmare: has joined #ruby
[16:47:33] bougyman: has joined #ruby
[16:47:33] Didac: has joined #ruby
[16:47:33] DoYouKnow: has joined #ruby
[16:47:33] leslie1: has joined #ruby
[16:47:33] camilasan: has joined #ruby
[16:47:33] phrozen77: has joined #ruby
[16:47:33] jsrn: has joined #ruby
[16:47:33] tobiasvl: has joined #ruby
[16:47:33] CpuID: has joined #ruby
[16:47:33] cjk101010: has joined #ruby
[16:47:33] LoganG: has joined #ruby
[16:47:33] zly: has joined #ruby
[16:47:33] Seich: has joined #ruby
[16:47:33] Laaw: has joined #ruby
[16:47:33] jordanm: has joined #ruby
[16:47:33] Trieste: has joined #ruby
[16:47:33] Guest4184__: has joined #ruby
[16:47:33] jokke: has joined #ruby
[16:47:33] drPoggs: has joined #ruby
[16:47:33] elliottcable: has joined #ruby
[16:47:34] sfr^: has joined #ruby
[16:47:34] Fluent: has joined #ruby
[16:47:34] im0b: has joined #ruby
[16:47:34] prosody: has joined #ruby
[16:47:34] avdi_: has joined #ruby
[16:47:34] greenbigfrog: has joined #ruby
[16:47:34] BLuEGoD: has joined #ruby
[16:47:34] deimos: has joined #ruby
[16:47:34] Lloyd: has joined #ruby
[16:47:34] jlyndon: has joined #ruby
[16:47:34] mrsolo: has joined #ruby
[16:47:34] PhilK: has joined #ruby
[16:47:34] bauruine: has joined #ruby
[16:47:34] nyandoge: has joined #ruby
[16:47:34] soahccc: has joined #ruby
[16:47:34] lele: has joined #ruby
[16:47:34] golgaroth: has joined #ruby
[16:47:34] AdamMeghji: has joined #ruby
[16:47:34] colstrom: has joined #ruby
[16:47:34] rflot: has joined #ruby
[16:47:34] yo61: has joined #ruby
[16:47:34] jmcc____: has joined #ruby
[16:47:34] lacrosse: has joined #ruby
[16:47:34] apipkin: has joined #ruby
[16:47:34] DarkBushido: has joined #ruby
[16:47:34] borkdude: has joined #ruby
[16:47:34] zzak_: has joined #ruby
[16:47:34] amitchellbullard: has joined #ruby
[16:47:35] SuperTux88: has joined #ruby
[16:47:35] jabreity__: has joined #ruby
[16:47:35] hellschreiber_: has joined #ruby
[16:47:35] braderhart: has joined #ruby
[16:47:35] spastorino: has joined #ruby
[16:47:35] cbednarski: has joined #ruby
[16:47:35] johnny56: has joined #ruby
[16:47:35] cookiez: has joined #ruby
[16:47:35] saneax_AFK: has joined #ruby
[16:47:35] MiracleBlue_: has joined #ruby
[16:47:35] daxroc: has joined #ruby
[16:47:35] vayan: has joined #ruby
[16:47:35] andersh: has joined #ruby
[16:47:35] luca768: has joined #ruby
[16:47:35] danneu: has joined #ruby
[16:47:35] Hobbyboy: has joined #ruby
[16:47:35] Nanuq: has joined #ruby
[16:47:35] null__: has joined #ruby
[16:47:35] pfg: has joined #ruby
[16:47:35] bttf: has joined #ruby
[16:47:35] elektronaut: has joined #ruby
[16:47:35] [spoiler]: has joined #ruby
[16:47:35] Elysia: has joined #ruby
[16:47:35] Trynemjoel: has joined #ruby
[16:47:35] Mekkis: has joined #ruby
[16:47:36] TheHodge: has joined #ruby
[16:47:36] whippythellama: has joined #ruby
[16:47:36] c355E3B: has joined #ruby
[16:47:36] diegoviola: has joined #ruby
[16:47:36] GGMethos: has joined #ruby
[16:47:36] ggherdov: has joined #ruby
[16:47:36] theRoUS: has joined #ruby
[16:47:36] KillerFox: has joined #ruby
[16:47:36] mame2: has joined #ruby
[16:47:36] emhs: has joined #ruby
[16:47:36] fumk: has joined #ruby
[16:47:36] mrtomme: has joined #ruby
[16:47:36] hypnosb: has joined #ruby
[16:47:36] forgot: has joined #ruby
[16:47:36] joast: has joined #ruby
[16:47:36] ItSANgo: has joined #ruby
[16:47:36] nirix: has joined #ruby
[16:47:36] pabs: has joined #ruby
[16:47:36] kies^: has joined #ruby
[16:47:36] JStoker: has joined #ruby
[16:47:36] M-mistake: has joined #ruby
[16:47:36] M-Kodo: has joined #ruby
[16:47:36] c0ncealed: has joined #ruby
[16:47:36] julieeharshaw: has joined #ruby
[16:47:36] edwardly: has joined #ruby
[16:47:36] skakri: has joined #ruby
[16:47:36] mg^: has joined #ruby
[16:47:36] Keltia: has joined #ruby
[16:47:37] csaunders: has joined #ruby
[16:47:37] timmow_: has joined #ruby
[16:47:37] CrazyEddy: has joined #ruby
[16:47:37] abra0: has joined #ruby
[16:47:37] FastJack: has joined #ruby
[16:47:37] Junaos: has joined #ruby
[16:47:37] iamayam: has joined #ruby
[16:47:37] MEATCHICKEN: has joined #ruby
[16:47:37] `derpy: has joined #ruby
[16:47:37] TomyWork: has joined #ruby
[16:47:37] scottstamp: has joined #ruby
[16:47:37] Meliodas: has joined #ruby
[16:47:37] amoeba`: has joined #ruby
[16:47:37] Authenticator: has joined #ruby
[16:47:37] Synthead: has joined #ruby
[16:47:37] brainslug: has joined #ruby
[16:47:37] irk: has joined #ruby
[16:47:37] ddfreyne_: has joined #ruby
[16:47:37] jpinnix______: has joined #ruby
[16:47:37] zipkid: has joined #ruby
[16:47:37] dmoe: has joined #ruby
[16:47:37] ramblinpeck: has joined #ruby
[16:47:37] akahn: has joined #ruby
[16:47:37] schaary: has joined #ruby
[16:47:37] bryancp: has joined #ruby
[16:47:37] ndrst: has joined #ruby
[16:47:37] adambeynon: has joined #ruby
[16:47:37] jeregrine: has joined #ruby
[16:47:38] zemmihates: has joined #ruby
[16:47:38] glowcoil: has joined #ruby
[16:47:38] ckrailo: has joined #ruby
[16:47:38] knowtheory: has joined #ruby
[16:47:38] mjc_: has joined #ruby
[16:47:38] bjeanes: has joined #ruby
[16:47:38] mikolalysenko: has joined #ruby
[16:47:38] mroth: has joined #ruby
[16:47:38] atmosx: has joined #ruby
[16:47:38] halfdan: has joined #ruby
[16:47:38] Eleeleth: has joined #ruby
[16:47:38] chrisseaton: has joined #ruby
[16:47:38] cbetta: has joined #ruby
[16:47:38] jxf: has joined #ruby
[16:47:38] lancetw: has joined #ruby
[16:47:38] sideshowcoder: has joined #ruby
[16:47:38] joaomdmoura_: has joined #ruby
[16:47:38] duckson-: has joined #ruby
[16:47:38] Marc-: has joined #ruby
[16:47:38] Diabolik: has joined #ruby
[16:47:38] klingeldraht: has joined #ruby
[16:47:38] shortdudey123_: has joined #ruby
[16:47:38] ElderFain: has joined #ruby
[16:47:38] Coraline: has joined #ruby
[16:47:38] ytti: has joined #ruby
[16:47:38] cibs: has joined #ruby
[16:47:38] nfsnobody: has joined #ruby
[16:47:38] Voxxit: has joined #ruby
[16:47:38] fulgore_: has joined #ruby
[16:47:38] aredridel: has joined #ruby
[16:47:38] darkf: has joined #ruby
[16:47:38] machty: has joined #ruby
[16:47:38] jayne: has joined #ruby
[16:47:39] cgfbee: has joined #ruby
[16:47:39] jzigmund: has joined #ruby
[16:47:39] sevin: has joined #ruby
[16:47:39] Guest34193: has joined #ruby
[16:47:39] nibbo: has joined #ruby
[16:47:39] parus: has joined #ruby
[16:47:39] Raboo: has joined #ruby
[16:47:39] bluntman: has joined #ruby
[16:47:39] nickjj: has joined #ruby
[16:47:39] ahuman: has joined #ruby
[16:47:39] scpike_: has joined #ruby
[16:47:39] 7YUAAB7RZ: has joined #ruby
[16:47:39] niko: has joined #ruby
[16:47:39] crankharder: has joined #ruby
[16:47:39] monsieurp: has joined #ruby
[16:47:39] hfp_work: has joined #ruby
[16:47:39] miah: has joined #ruby
[16:47:39] tubbo: has joined #ruby
[16:47:39] Prira: has joined #ruby
[16:47:39] Zarthus: has joined #ruby
[16:47:39] ByronJohnson: has joined #ruby
[16:47:39] ankhers: has joined #ruby
[16:47:39] olblak: has joined #ruby
[16:47:39] arcanez: has joined #ruby
[16:47:39] TheRealPygo: has joined #ruby
[16:47:39] v0n: has joined #ruby
[16:47:39] varesa_: has joined #ruby
[16:47:39] gypsydave5: has joined #ruby
[16:47:39] sjums: has joined #ruby
[16:47:40] Sigma00: has joined #ruby
[16:47:40] deavidsedice: has joined #ruby
[16:47:40] Sebastia1Thorn: has joined #ruby
[16:47:40] raenk: has joined #ruby
[16:47:40] pwned: has joined #ruby
[16:47:40] bafbomb_: has joined #ruby
[16:47:40] nomadic_: has joined #ruby
[16:47:40] bmn_: has joined #ruby
[16:47:40] retornam: has joined #ruby
[16:47:40] Inoperable: has joined #ruby
[16:47:40] isene: has joined #ruby
[16:47:40] bigkevmcd: has joined #ruby
[16:47:40] rejerson69_: has joined #ruby
[16:47:40] Jello_Raptor: has joined #ruby
[16:47:40] JoshL: has joined #ruby
[16:47:40] sekrit: has joined #ruby
[16:47:40] cout: has joined #ruby
[16:47:40] j416: has joined #ruby
[16:47:40] Evans: has joined #ruby
[16:47:40] lguardiola: has joined #ruby
[16:47:40] ghr: has joined #ruby
[16:47:40] ereslibre_laptop: has joined #ruby
[16:47:40] jcp: has joined #ruby
[16:47:40] guardian: has joined #ruby
[16:47:40] wedgwood: has joined #ruby
[16:47:40] canton7: has joined #ruby
[16:47:40] FifthWall: has joined #ruby
[16:47:41] frog0909: has joined #ruby
[16:47:41] roger_rabbit: has joined #ruby
[16:47:41] hostess: has joined #ruby
[16:47:41] yonatankoren: has joined #ruby
[16:47:41] segmond: has joined #ruby
[16:47:41] oz: has joined #ruby
[16:47:41] AnoHito: has joined #ruby
[16:47:41] JiYu: has joined #ruby
[16:47:41] w5isp: has joined #ruby
[16:47:41] Kruppe: has joined #ruby
[16:47:41] csmb: has joined #ruby
[16:47:41] sgambino: has joined #ruby
[16:47:41] mloy: has joined #ruby
[16:47:41] tsunamie: has joined #ruby
[16:47:41] DarthGandalf: has joined #ruby
[16:47:41] adaedra: has joined #ruby
[16:47:41] e7d: has joined #ruby
[16:47:41] marienz: has joined #ruby
[16:47:41] Phage: has joined #ruby
[16:47:41] heyimwill: has joined #ruby
[16:47:41] krasnus: has joined #ruby
[16:47:41] angiebadillo: has joined #ruby
[16:47:41] teotwaki: has joined #ruby
[16:47:42] bodgix: has joined #ruby
[16:47:42] crayfishx: has joined #ruby
[16:47:42] tylersmith: has joined #ruby
[16:47:42] Bilge: has joined #ruby
[16:47:42] DenSchub: has joined #ruby
[16:47:42] nomadicoder: has joined #ruby
[16:47:42] shelling__: has joined #ruby
[16:47:42] bove: has joined #ruby
[16:47:42] countryHick: has joined #ruby
[16:47:42] Heero: has joined #ruby
[16:47:42] iamdevnul: has joined #ruby
[16:47:42] danzilio: has joined #ruby
[16:47:42] bcavileer_: has joined #ruby
[16:47:42] twodayslate: has joined #ruby
[16:47:42] go|dfish: has joined #ruby
[16:47:42] Guest96625: has joined #ruby
[16:47:42] Davey: has joined #ruby
[16:47:42] loincloth: has joined #ruby
[16:47:42] jmhmccr: has joined #ruby
[16:47:42] marsjaninzmarsa: has joined #ruby
[16:47:42] pmarreck: has joined #ruby
[16:47:42] djbender: has joined #ruby
[16:47:42] charles81: has joined #ruby
[16:47:42] artmann_: has joined #ruby
[16:47:42] cardoni: has joined #ruby
[16:47:42] rfv: has joined #ruby
[16:47:42] manveru: has joined #ruby
[16:47:43] zeljkof: has joined #ruby
[16:47:43] troter______: has joined #ruby
[16:47:43] bestie: has joined #ruby
[16:47:43] DukeDave: has joined #ruby
[16:47:43] jevs: has joined #ruby
[16:47:43] Pro|_: has joined #ruby
[16:47:43] samuelkadolph: has joined #ruby
[16:47:43] mistym: has joined #ruby
[16:47:43] Platini: has joined #ruby
[16:47:43] mhenrixon: has joined #ruby
[16:47:43] bier_: has joined #ruby
[16:47:43] haasn: has joined #ruby
[16:47:43] rcs: has joined #ruby
[16:47:43] p8952: has joined #ruby
[16:47:43] martinbjeldbak: has joined #ruby
[16:47:43] maxmanders: has joined #ruby
[16:47:43] mgorbach: has joined #ruby
[16:47:43] chris2: has joined #ruby
[16:47:43] Sp4rKy: has joined #ruby
[16:47:43] wjimenez5271: has joined #ruby
[16:47:43] heinrich5991: has joined #ruby
[16:47:43] Symbiosisz: has joined #ruby
[16:47:43] Bugboy1028: has joined #ruby
[16:47:43] thesheff17: has joined #ruby
[16:47:43] greister: has joined #ruby
[16:47:43] stuartb_: has joined #ruby
[16:47:43] patronus: has joined #ruby
[16:47:43] Affix: has joined #ruby
[16:47:44] benlakey: has joined #ruby
[16:47:44] HashNuke: has joined #ruby
[16:47:44] tonini: has joined #ruby
[16:47:44] bjmllr: has joined #ruby
[16:47:44] nullwarp: has joined #ruby
[16:47:44] skmp: has joined #ruby
[16:47:44] cstrahan: has joined #ruby
[16:47:44] n1ftyn8_: has joined #ruby
[16:47:44] SilentEcho: has joined #ruby
[16:47:44] Nahra``: has joined #ruby
[16:47:44] Shidash: has joined #ruby
[16:47:44] err_ok: has joined #ruby
[16:47:44] frode15243: has joined #ruby
[16:47:44] RazorX: has joined #ruby
[16:47:44] vcoinminer_: has joined #ruby
[16:47:44] Killerkeksdose: has joined #ruby
[16:47:44] justinmcp: has joined #ruby
[16:47:44] nemesit|znc: has joined #ruby
[16:47:44] perrier__: has joined #ruby
[16:47:44] tw1sted: has joined #ruby
[16:47:44] knight_: has joined #ruby
[16:47:44] RTG`: has joined #ruby
[16:47:44] nkts: has joined #ruby
[16:47:44] eboaz_: has joined #ruby
[16:47:44] sumark_: has joined #ruby
[16:47:44] Qantourisc: has joined #ruby
[16:47:45] wnd: has joined #ruby
[16:47:45] tethra: has joined #ruby
[16:47:45] TheSpect1e: has joined #ruby
[16:47:45] Guest27898: has joined #ruby
[16:47:45] funnel: has joined #ruby
[16:47:45] tomaw: has joined #ruby
[16:47:45] spectra: has joined #ruby
[16:47:45] thomasfedb: has joined #ruby
[16:47:45] epitron: has joined #ruby
[16:47:45] tekk: has joined #ruby
[16:47:45] sonOfRa: has joined #ruby
[16:47:45] mfqr: has joined #ruby
[16:47:45] zapata: has joined #ruby
[16:47:45] bakingbread: has joined #ruby
[16:47:45] belak: has joined #ruby
[16:47:45] xmad: has joined #ruby
[16:47:45] cyberfawkes: has joined #ruby
[16:47:45] EvilDMP: has joined #ruby
[16:47:45] kobain: has joined #ruby
[16:47:45] darix: has joined #ruby
[16:47:45] scottymeuk: has joined #ruby
[16:47:45] SirFunk: has joined #ruby
[16:47:45] sindork: has joined #ruby
[16:47:45] matp: has joined #ruby
[16:47:45] gregf_: has joined #ruby
[16:47:45] absolutejam: has joined #ruby
[16:47:45] drbrain: has joined #ruby
[16:47:45] jtdowney: has joined #ruby
[16:47:45] SenpaiSilver: has joined #ruby
[16:47:46] mblagden: has joined #ruby
[16:47:46] akkad: has joined #ruby
[16:47:46] deg: has joined #ruby
[16:47:46] eam: has joined #ruby
[16:47:46] Sou|cutter: has joined #ruby
[16:47:46] Scient: has joined #ruby
[16:47:46] aep: has joined #ruby
[16:47:46] perry: has joined #ruby
[16:47:46] eggoez: has joined #ruby
[16:47:46] okdas: has joined #ruby
[16:47:46] duoi: has joined #ruby
[16:47:46] Paradox: has joined #ruby
[16:47:46] apeiros: has joined #ruby
[16:47:46] zenspider: has joined #ruby
[16:47:46] brixen: has joined #ruby
[16:47:46] gbailey: has joined #ruby
[16:47:46] Sthebig: has joined #ruby
[16:47:46] Uptime: has joined #ruby
[16:47:46] BackEndCoder: has joined #ruby
[16:47:46] codex: has joined #ruby
[16:47:46] bahar: has joined #ruby
[16:47:46] tpendragon: has joined #ruby
[16:47:46] dling: has joined #ruby
[16:47:46] Lildirt: has joined #ruby
[16:47:46] alexherbo2: has joined #ruby
[16:47:46] shtirlic: has joined #ruby
[16:47:46] iamvery: has joined #ruby
[16:47:46] arthurnn: has joined #ruby
[16:47:46] whiteline: has joined #ruby
[16:47:46] Klumben: has joined #ruby
[16:47:46] peteyg: has joined #ruby
[16:47:46] claw: has joined #ruby
[16:47:46] sapslaj: has joined #ruby
[16:47:46] adeponte: has joined #ruby
[16:47:47] jsaak: has joined #ruby
[16:47:47] th0m__: has joined #ruby
[16:47:47] jord: has joined #ruby
[16:47:47] nateberkopec: has joined #ruby
[16:47:47] pestle: has joined #ruby
[16:47:47] pwnd_nsfw: has joined #ruby
[16:47:47] AlexRussia: has joined #ruby
[16:47:47] Xiti: has joined #ruby
[16:47:47] TheBrayn: has joined #ruby
[16:47:47] jud: has joined #ruby
[16:47:47] cornerman: has joined #ruby
[16:47:47] shinenelson: has joined #ruby
[16:47:47] ddubs: has joined #ruby
[16:47:47] adamholt: has joined #ruby
[16:47:47] freedrull: has joined #ruby
[16:47:47] ixti: has joined #ruby
[16:47:47] kadoppe: has joined #ruby
[16:47:47] Meeh: has joined #ruby
[16:47:47] NeverDie: has joined #ruby
[16:47:47] Ebok: has joined #ruby
[16:47:47] NightMonkey: has joined #ruby
[16:47:47] CustosLimen: has joined #ruby
[16:47:47] yeticry: has joined #ruby
[16:47:47] Kero: has joined #ruby
[16:47:47] Tempesta: has joined #ruby
[16:47:47] s00pcan: has joined #ruby
[16:47:47] dravine: has joined #ruby
[16:47:47] leat: has joined #ruby
[16:47:47] banister: has joined #ruby
[16:47:47] Pisuke: has joined #ruby
[16:47:48] NET||abuse: has joined #ruby
[16:47:48] araujo: has joined #ruby
[16:47:48] MasterNayru: has joined #ruby
[16:47:48] setient: has joined #ruby
[16:47:48] aufi: has joined #ruby
[16:47:48] agent_white: has joined #ruby
[16:47:48] mrgrieves: has joined #ruby
[16:47:48] LiquidInsect: has joined #ruby
[16:47:48] bakedb: has joined #ruby
[16:47:48] zenguy_pc: has joined #ruby
[16:47:48] dlitvak: has joined #ruby
[16:47:48] blackms: has joined #ruby
[16:47:48] c0m0: has joined #ruby
[16:47:48] maloik: has joined #ruby
[16:47:48] Jackneill: has joined #ruby
[16:47:48] Mia: has joined #ruby
[16:47:48] sdothum: has joined #ruby
[16:47:48] d0nn1e: has joined #ruby
[16:47:48] grill: has joined #ruby
[16:47:48] goodcodeguy: has joined #ruby
[16:47:48] waynerade: has joined #ruby
[16:47:48] kriskropd: has joined #ruby
[16:47:48] crdpink2: has joined #ruby
[16:47:48] tekacs: has joined #ruby
[16:47:48] EvilJStoker: has joined #ruby
[16:47:48] alxndr: has joined #ruby
[16:47:48] kellabyte: has joined #ruby
[16:47:48] mozzarella: has joined #ruby
[16:47:48] avelldiroll: has joined #ruby
[16:47:49] TheMoonMaster: has joined #ruby
[16:47:49] cats: has joined #ruby
[16:47:49] levifig: has joined #ruby
[16:47:49] sluukkonen: has joined #ruby
[16:47:49] jimeh: has joined #ruby
[16:47:49] pizzaops: has joined #ruby
[16:47:49] zrl: has joined #ruby
[16:47:49] chihhsin: has joined #ruby
[16:47:49] YaknotiS: has joined #ruby
[16:47:49] akitada: has joined #ruby
[16:47:49] epochwolf: has joined #ruby
[16:47:49] jaxxstorm: has joined #ruby
[16:47:49] plonk: has joined #ruby
[16:47:49] djcp: has joined #ruby
[16:47:49] inukshuk: has joined #ruby
[16:47:49] shadeslayer: has joined #ruby
[16:47:49] ujjain: has joined #ruby
[16:47:49] Guest79752: has joined #ruby
[16:47:49] Sirecote: has joined #ruby
[16:47:49] z3uS: has joined #ruby
[16:47:49] tomdp: has joined #ruby
[16:47:49] Morrolan: has joined #ruby
[16:47:49] kitallis: has joined #ruby
[16:47:49] SirCmpwn: has joined #ruby
[16:47:49] svkurowski: has joined #ruby
[16:47:49] varesa: has joined #ruby
[16:47:49] df: has joined #ruby
[16:47:49] russt: has joined #ruby
[16:47:49] pjaspers: has joined #ruby
[16:47:49] j0bk: has joined #ruby
[16:47:49] clamstar: has joined #ruby
[16:47:50] alexblom: has joined #ruby
[16:47:50] derailed: has joined #ruby
[16:47:50] redlegion: has joined #ruby
[16:47:50] nlsun: has joined #ruby
[16:47:50] dannluciano: has joined #ruby
[16:47:50] kaspergrubbe: has joined #ruby
[16:47:50] davidcelis: has joined #ruby
[16:47:50] oddmunds: has joined #ruby
[16:47:50] michael_mbp: has joined #ruby
[16:47:50] wldcordeiro: has joined #ruby
[16:47:50] lady3bean: has joined #ruby
[16:47:50] gnarf: has joined #ruby
[16:47:50] Fridtjof: has joined #ruby
[16:47:50] speakingcode: has joined #ruby
[16:47:50] ceej: has joined #ruby
[16:47:50] Takumo: has joined #ruby
[16:47:50] G: has joined #ruby
[16:47:50] Guest43890: has joined #ruby
[16:47:50] pipework: has joined #ruby
[16:47:50] Gadgetoid: has joined #ruby
[16:47:50] tris: has joined #ruby
[16:47:50] greedo: has joined #ruby
[16:47:50] Liothen: has joined #ruby
[16:47:50] SegFaultAX: has joined #ruby
[16:47:50] blowmage: has joined #ruby
[16:47:50] sorah: has joined #ruby
[16:47:50] mahlon: has joined #ruby
[16:47:50] ajb: has joined #ruby
[16:47:50] KervyN: has joined #ruby
[16:47:50] ryotarai: has joined #ruby
[16:47:51] DanKnox[away]: has joined #ruby
[16:47:51] TDJACR: has joined #ruby
[16:47:51] hohenfall: has joined #ruby
[16:47:51] duracrisis: has joined #ruby
[16:47:51] mmasaki: has joined #ruby
[16:47:51] twe4ked: has joined #ruby
[16:47:51] aps: has joined #ruby
[16:47:51] blackjid: has joined #ruby
[16:47:51] skarn: has joined #ruby
[16:47:51] rvchangue: has joined #ruby
[16:47:51] lokulin: has joined #ruby
[16:47:51] baroquebobcat: has joined #ruby
[16:47:51] valeri_ufo: has joined #ruby
[16:47:51] twistedpixels: has joined #ruby
[16:47:51] x0F: has joined #ruby
[16:47:51] lorn: has joined #ruby
[16:47:51] sonne: has joined #ruby
[16:47:51] joeyjones: has joined #ruby
[16:47:51] tuor: has joined #ruby
[16:47:51] secret: has joined #ruby
[16:47:51] Kabaka: has joined #ruby
[16:47:51] cajone: has joined #ruby
[16:47:51] _5moufl: has joined #ruby
[16:47:51] znz_jp: has joined #ruby
[16:47:51] johnhamelink: has joined #ruby
[16:47:51] alem0lars: has joined #ruby
[16:47:51] rikai: has joined #ruby
[16:47:51] pontiki: has joined #ruby
[16:47:52] gambl0re: has joined #ruby
[16:47:52] rdark: has joined #ruby
[16:47:52] Emmanuel_Chanel: has joined #ruby
[16:47:52] bweston92: has joined #ruby
[16:47:52] Stan: has joined #ruby
[16:47:52] Kedare: has joined #ruby
[16:47:52] xaotuk: has joined #ruby
[16:47:52] nertzy: has joined #ruby
[16:47:52] Hanmac: has joined #ruby
[16:47:52] jschmid: has joined #ruby
[16:47:52] stannard: has joined #ruby
[16:47:52] Log1x: has joined #ruby
[16:47:52] techietrash: has joined #ruby
[16:47:52] renderful: has joined #ruby
[16:47:52] humd1ng3r: has joined #ruby
[16:47:52] Luming: has joined #ruby
[16:47:52] ebertx: has joined #ruby
[16:47:52] Karunamon: has joined #ruby
[16:47:52] cpup: has joined #ruby
[16:47:52] gregf: has joined #ruby
[16:47:52] S1kx: has joined #ruby
[16:47:52] bb010g: has joined #ruby
[16:47:52] nwhirschfeld: has joined #ruby
[16:47:52] gigetoo: has joined #ruby
[16:47:52] pleiosaur: has joined #ruby
[16:47:52] Vitor: has joined #ruby
[16:47:52] linc01n: has joined #ruby
[16:47:52] jhill: has joined #ruby
[16:47:53] Nilium: has joined #ruby
[16:47:53] user083: has joined #ruby
[16:47:53] bubbys: has joined #ruby
[16:47:53] myztic: has joined #ruby
[16:47:53] tAn: has joined #ruby
[16:47:53] blub: has joined #ruby
[16:47:53] hectortrope: has joined #ruby
[16:47:53] PlasmaStar: has joined #ruby
[16:47:53] LBRapid: has joined #ruby
[16:47:53] gix: has joined #ruby
[16:47:53] howdoi: has joined #ruby
[16:47:53] simplyianm: has joined #ruby
[16:47:53] gsingh93: has joined #ruby
[16:47:53] Pumukel: has joined #ruby
[16:47:53] Anderson69s_Deb: has joined #ruby
[16:47:53] radgeRayden: has joined #ruby
[16:47:53] toretore: has joined #ruby
[16:47:53] huyderman: has joined #ruby
[16:47:53] Hounddog: has joined #ruby
[16:47:53] ldnunes: has joined #ruby
[16:47:53] sigurding: has joined #ruby
[16:47:53] brunto: has joined #ruby
[16:47:53] decoponio: has joined #ruby
[16:47:53] senayar: has joined #ruby
[16:47:53] boxofrox: has joined #ruby
[16:47:53] TomPeed: has joined #ruby
[16:47:53] cdg: has joined #ruby
[16:47:54] shanemcd: has joined #ruby
[16:47:54] wprice: has joined #ruby
[16:47:54] doublemalt_: has joined #ruby
[16:47:54] mostlybadfly: has joined #ruby
[16:47:54] daveshah: has joined #ruby
[16:47:54] snowy: has joined #ruby
[16:47:54] timonv: has joined #ruby
[16:47:54] krobzaur: has joined #ruby
[16:47:54] dhollinger: has joined #ruby
[16:47:54] chouhoulis: has joined #ruby
[16:47:54] babblebre: has joined #ruby
[16:47:54] atomical: has joined #ruby
[16:47:54] dmonster: has joined #ruby
[16:47:54] havenwood: has joined #ruby
[16:47:54] socialjackie: has joined #ruby
[16:47:54] Frem: has joined #ruby
[16:47:54] YP-QMUL-W: has joined #ruby
[16:47:54] iateadonut: has joined #ruby
[16:47:54] axl_: has joined #ruby
[16:47:54] tulak: has joined #ruby
[16:47:54] `based_pdev`: has joined #ruby
[16:47:54] Ruby_Rocks_007: has joined #ruby
[16:47:54] TheBloke: has joined #ruby
[16:47:54] krz: has joined #ruby
[16:47:54] PaulCapestany: has joined #ruby
[16:47:54] colegatron: has joined #ruby
[16:47:55] B1n4r10: has joined #ruby
[16:47:55] mallu: has joined #ruby
[16:47:55] The_Phoenix: has joined #ruby
[16:47:55] sparr: has joined #ruby
[16:47:55] 32NAAD4T8: has joined #ruby
[16:47:55] ltd: has joined #ruby
[16:47:55] Zackio: has joined #ruby
[16:47:55] marcoecc: has joined #ruby
[16:47:55] trampi: has joined #ruby
[16:47:55] moty66: has joined #ruby
[16:47:55] shevy: has joined #ruby
[16:47:55] kfpratt: has joined #ruby
[16:47:55] peitera: has joined #ruby
[16:47:55] thejoecarroll: has joined #ruby
[16:47:55] redondos: has joined #ruby
[16:47:55] constantinexvi: has joined #ruby
[16:47:55] BiHi: has joined #ruby
[16:47:55] callumacrae: has joined #ruby
[16:47:55] xMopxShell: has joined #ruby
[16:47:55] imajes: has joined #ruby
[16:47:55] rideh: has joined #ruby
[16:47:55] Steve_Jobs: has joined #ruby
[16:47:55] bradland: has joined #ruby
[16:47:55] joevandyk: has joined #ruby
[16:47:55] tommylommykins: has joined #ruby
[16:47:55] AustinMatherne: has joined #ruby
[16:47:55] digneety: has joined #ruby
[16:47:55] kenichi: has joined #ruby
[16:47:55] rtl: has joined #ruby
[16:47:55] anekos: has joined #ruby
[16:47:56] pocketprotector: has joined #ruby
[16:47:56] papercode: has joined #ruby
[16:47:56] mist: has joined #ruby
[16:47:56] duper: has joined #ruby
[16:47:56] demophoon: has joined #ruby
[16:47:56] phreakocious: has joined #ruby
[16:47:56] headius: has joined #ruby
[16:47:56] mburns: has joined #ruby
[16:47:56] Fire-Dragon-DoL: has joined #ruby
[16:47:56] hyperdri-: has joined #ruby
[16:47:56] Apocalypse: has joined #ruby
[16:47:56] tabakhase: has joined #ruby
[16:47:56] elaptics: has joined #ruby
[16:47:56] devyn: has joined #ruby
[16:47:56] diego_k: has joined #ruby
[16:47:56] eregon_: has joined #ruby
[16:47:56] Mr_Pancake: has joined #ruby
[16:48:39] moeabdol: has joined #ruby
[16:48:39] ponzi: In IRB Array#take gives me all methods for Array and also renders Ctrl+D, Ctrl+C pretty useless. What am I doing wrong (OS X 10.9/rbenv/ruby 2.2.3)?
[16:48:40] ponzi: Sorry that should have been: help Array#take
[16:48:40] ponzi: jhass: How do I get the help for just the one method?
[16:48:41] jhass: ah, bot is on the other side of the netsplit
[16:48:43] grill: has joined #ruby
[16:48:48] jzigmund: has joined #ruby
[16:48:48] theRoUS: has joined #ruby
[16:48:48] frankS2: has joined #ruby
[16:48:49] tejasmanohar: has joined #ruby
[16:48:49] ELCALOR: has joined #ruby
[16:48:49] Guest85414______: has joined #ruby
[16:48:49] vondruch: has joined #ruby
[16:48:50] matled-: has joined #ruby
[16:49:21] havenwood: ponzi: If you'd like to disable paging (where long results stop at the first page) in Pry add this to your .pryrc: Pry.pager = false
[16:50:13] ponzi: jhass: PRY gives me: Error: No help found for 'Array#take'
[16:50:40] jhass: ponzi: install pry-doc
[16:51:09] havenwood: ponzi: From inside Pry that'd be: gem-install pry-doc
[16:51:38] argoneus: has joined #ruby
[16:51:49] aibot: has joined #ruby
[16:51:50] havenwood: ponzi: Then: show-doc Array#take
[16:52:06] durstburger: has joined #ruby
[16:52:16] havenwood: ponzi: Or: show-source Array#take
[16:52:19] moeabdol: has joined #ruby
[16:53:03] dorei: $ and ? are shortcuts for show-doc and show-source
[16:53:17] nisstyre: has joined #ruby
[16:53:31] matled: has joined #ruby
[16:54:00] mary5030: has joined #ruby
[16:54:09] wsewolod: has joined #ruby
[16:55:51] cwong_on_irc: has joined #ruby
[16:56:52] sivoais: has joined #ruby
[16:58:37] bluOxigen: has joined #ruby
[16:58:48] ruisantos: has joined #ruby
[16:58:58] patteh: has joined #ruby
[16:59:00] MissionCritical: has joined #ruby
[16:59:49] KrzaQ: has joined #ruby
[17:00:18] marahin: has joined #ruby
[17:00:48] badeball: has joined #ruby
[17:03:02] icedragon: has joined #ruby
[17:03:05] maloik: has joined #ruby
[17:04:25] amclain: has joined #ruby
[17:04:31] uber: has joined #ruby
[17:04:47] desmondh_: has joined #ruby
[17:04:51] moeabdol: has joined #ruby
[17:04:53] droptone: has joined #ruby
[17:05:03] devbug: has joined #ruby
[17:05:21] skade: has joined #ruby
[17:05:22] SCHAAP137: has joined #ruby
[17:05:25] rikkipitt: has joined #ruby
[17:05:25] brendan-: has joined #ruby
[17:05:26] weemsledeux: has joined #ruby
[17:05:26] ddv: has joined #ruby
[17:05:31] kies: has joined #ruby
[17:05:41] Luna_Moonfang: has joined #ruby
[17:05:43] hobodave: has joined #ruby
[17:05:52] moeabdol: has joined #ruby
[17:06:14] Cork: has joined #ruby
[17:06:42] Brando753: has joined #ruby
[17:06:47] Jardayn: has joined #ruby
[17:06:59] nettoweb: has joined #ruby
[17:07:21] othll0: has joined #ruby
[17:07:38] segy: has joined #ruby
[17:07:55] hagabaka: has joined #ruby
[17:08:02] Anderson69s: has joined #ruby
[17:08:21] RegulationD: has joined #ruby
[17:09:09] sandstrom: has joined #ruby
[17:09:15] ruboto: has joined #ruby
[17:09:51] Azulinho: has joined #ruby
[17:09:57] lacuna: has joined #ruby
[17:09:58] lacuna: has joined #ruby
[17:10:14] snockerton: has joined #ruby
[17:10:25] yokel: has joined #ruby
[17:14:17] argoneus: has joined #ruby
[17:15:44] PlasmaStar: has joined #ruby
[17:16:13] ljarvis: has joined #ruby
[17:16:46] mary5030: has joined #ruby
[17:16:56] Balzrael: has joined #ruby
[17:16:57] bronson: has joined #ruby
[17:17:19] Balzrael: hello everyone
[17:17:50] aadam21: has joined #ruby
[17:17:53] towski_: has joined #ruby
[17:18:59] yardenbar: has joined #ruby
[17:19:10] RobertBirnie: has joined #ruby
[17:20:23] gregf_: hey Balzrael. hows it going?
[17:21:02] Amnez777: has joined #ruby
[17:21:34] Amnez777: has joined #ruby
[17:21:35] Amnez777: has joined #ruby
[17:23:17] h99h9h88: has joined #ruby
[17:23:41] Xeago: has joined #ruby
[17:24:18] threh: has joined #ruby
[17:24:19] jhass: ugh, when gets pry finally ported to slop 4 -.-
[17:24:20] solars: has joined #ruby
[17:26:38] saddad: has joined #ruby
[17:27:51] sarkis: has joined #ruby
[17:28:07] sarkis: whats the best way to set a hash[:key] if it doesn't exist ?
[17:28:32] sarkis: good place to use ||=?
[17:29:06] symbol: has joined #ruby
[17:29:26] yoongkang: has joined #ruby
[17:29:51] sarkis: seems to work - answered my own question lol
[17:29:56] gregf_: >> a = {};a[:foo] ||= 1; a
[17:29:57] ruboto: gregf_ # => {:foo=>1} (https://eval.in/479335)
[17:30:10] Anderson69s: has joined #ruby
[17:30:25] wldcordeiro: has joined #ruby
[17:31:07] araujo: has joined #ruby
[17:31:07] araujo: has joined #ruby
[17:31:08] finisherr: has joined #ruby
[17:31:43] al2o3-cr: has joined #ruby
[17:31:58] symbol: has joined #ruby
[17:32:04] al2o3-cr: has joined #ruby
[17:32:48] zast: has joined #ruby
[17:32:54] jhass: sarkis: depends on your definition of "not existing". hash[:foo] ||= bar will overwrite an existing key that's set to nil or false
[17:33:01] finisherr: For some reason the getaddrinfo method is missing from my Socket class
[17:33:06] finisherr: but I see it right here in the docs
[17:33:31] ruboto: We can't help you without your code, please post it to https://gist.github.com
[17:33:36] jhass: also ruby -v?
[17:33:53] karapetyan: has joined #ruby
[17:34:26] finisherr: https://gist.github.com/miroswan/e453b2ef35baf6f7b26c
[17:34:40] finisherr: ruby 2.0.0p643 (2015-02-25 revision 49749) [x86_64-linux]
[17:34:49] threh: has joined #ruby
[17:34:56] bradc: has joined #ruby
[17:35:12] InvGhost: has joined #ruby
[17:36:00] al2o3-cr: finisherr: Socket.singleton_methods.include? :getaddrinfo :)
[17:36:16] al2o3-cr: or just .methods
[17:36:54] benlieb: has joined #ruby
[17:37:11] karapetyan: has joined #ruby
[17:37:26] symbol: has joined #ruby
[17:37:34] finisherr: Oh weird, it's got to be a symbol
[17:38:17] al2o3-cr: yep, cos that is what Socket.methods returns
[17:38:21] jhass: finisherr: respond_to? actually takes both, a symbol and a string
[17:38:38] jhass: don't do .methods.include?
[17:40:10] twilling: has joined #ruby
[17:40:26] djstorm: has joined #ruby
[17:40:41] snowy: has joined #ruby
[17:41:47] justinweiss: has joined #ruby
[17:42:04] simplyianm: has joined #ruby
[17:43:08] simplyianm: has joined #ruby
[17:44:46] pdoherty: has joined #ruby
[17:45:24] dotix: has joined #ruby
[17:45:24] dotix: has joined #ruby
[17:45:34] bradc: has joined #ruby
[17:45:57] sleeparrow: has joined #ruby
[17:46:16] arup_r: has joined #ruby
[17:46:33] h99h9h88: has joined #ruby
[17:48:37] Eiam: has joined #ruby
[17:49:01] Luming: has joined #ruby
[17:49:39] snapcase: has joined #ruby
[17:50:49] big|bad|wolf: has joined #ruby
[17:52:10] marahin: has joined #ruby
[17:53:30] mrtomme: has joined #ruby
[17:55:02] User458764: has joined #ruby
[17:55:13] Biohazard: has joined #ruby
[17:56:07] sigurding: has joined #ruby
[17:57:16] Freeaqingme: has joined #ruby
[17:57:17] Synthead: I see a lot of gems with an x.y.z version. Is there a particular reason why they generally follow this pattern?
[17:57:37] finisherr: has joined #ruby
[17:57:41] dopie: has joined #ruby
[17:57:42] Synthead: Also, I'm developing a gem. Should I be concerned about following this?
[17:57:43] jhass: Synthead: semver.org
[17:58:11] colleenmcguckin: has joined #ruby
[17:58:41] colleenmcguckin: has joined #ruby
[17:58:48] hxegon: has joined #ruby
[17:59:47] InvGhost: has joined #ruby
[18:03:06] rakm: has joined #ruby
[18:04:08] tildes: has joined #ruby
[18:04:30] platzhirsch: has left #ruby: ()
[18:04:56] TomPeed: has joined #ruby
[18:05:00] Ruby_Rocks_007: has joined #ruby
[18:06:38] lkba: has joined #ruby
[18:06:46] banister: has joined #ruby
[18:06:48] mjuszczak: has joined #ruby
[18:07:21] mjuszczak: has joined #ruby
[18:08:05] [Butch]: has joined #ruby
[18:08:50] Eiam_: has joined #ruby
[18:09:38] TheBloke-: has joined #ruby
[18:09:39] shevy: like the linux kernel!
[18:09:41] evidex: has joined #ruby
[18:10:32] s2013: has joined #ruby
[18:10:46] Xeago: has joined #ruby
[18:11:08] pdoherty: has joined #ruby
[18:12:03] gusTester: has joined #ruby
[18:14:57] jpfuentes2: has joined #ruby
[18:15:11] mary5030: has joined #ruby
[18:16:07] codecop: has joined #ruby
[18:16:28] devbug: has joined #ruby
[18:16:30] jmonreal: has joined #ruby
[18:16:33] djbkd: has joined #ruby
[18:16:54] Hounddog: has joined #ruby
[18:17:01] jmonreal: Why could I be getting undefined method `new' for Limits:Module (NoMethodError) when the method name developed is initialize
[18:17:10] jmonreal: shouldn't new call that method?
[18:17:47] bronson: has joined #ruby
[18:18:17] eam: jmonreal: did you type it with a single colon, just like that?
[18:18:45] eam: >> Foo:Bar.new
[18:18:46] ruboto: eam # => undefined method `new' for :Bar:Symbol (NoMethodError) ...check link for more (https://eval.in/479337)
[18:19:17] lacuna: has joined #ruby
[18:19:18] lacuna: has joined #ruby
[18:20:56] pontiki: jmonreal: .new applies to Class, not Module, i think
[18:21:03] jobewan: has joined #ruby
[18:21:21] pontiki: >> module X; end; X.new
[18:21:22] ruboto: pontiki # => undefined method `new' for X:Module (NoMethodError) ...check link for more (https://eval.in/479338)
[18:21:56] jmonreal: eam pontiki like this: https://bpaste.net/show/17e64ce1d263
[18:22:12] pragmatism: has joined #ruby
[18:22:26] eam: jmonreal: gist code where you call new
[18:22:28] pontiki: that doesn't create a .new method on the module
[18:22:47] jmonreal: mmm and what does?
[18:23:06] pontiki: the .new method is def'd in Class
[18:23:07] jmonreal: because I've watching examples and they do have inside a class an initialize method
[18:23:33] jmonreal: which is called when called with new
[18:23:33] jhass: jmonreal: inside a class is the key here
[18:23:37] apeiros: eam: the message is inspect:class
[18:23:47] apeiros: so Limits is the value inspect returned
[18:24:02] apeiros: i.e. they called it on the Limits module
[18:24:04] jmonreal: jhass: so inside the class if I call a className.new that would work?
[18:24:18] last_staff: has joined #ruby
[18:24:19] eam: apeiros: ah
[18:24:32] apeiros: (and then we'd be at pontiki's answer)
[18:24:36] jmonreal: eam: I call new from outside
[18:25:22] jmonreal: https://bpaste.net/show/61b42c5ca92a
[18:25:40] jhass: jmonreal: let's try something different: Please try to answer the question, don't just say "i don't know": What is the difference between "class" and "module"?
[18:25:50] pontiki: class << self turns Limits into a singleton; you can only have *one* instance of a singleton, thus you can't create new instances of it
[18:25:50] freerobby: has joined #ruby
[18:26:33] spider-mario: has joined #ruby
[18:26:33] pontiki: tho my understanding of that is shakey. these other folks can tell more about it
[18:27:30] jmonreal: jhass: modules provide methods that can be shared or used across multiple classes
[18:27:33] hxegon: pontiki: not exactly, but as I understand it ruby has trouble with implementing an actual singleton cleanly
[18:27:38] apeiros: pontiki: class << self doesn't turn it into a singleton
[18:27:53] apeiros: it opens the singleton class of `self` (could put another object there too)
[18:27:54] mclee: has joined #ruby
[18:27:57] jmonreal: and classes are objects
[18:28:03] jhass: jmonreal: okay, so that's what modules can do what classes cannot. Why would we use classes? What can they do what modules cannot?
[18:28:07] jmonreal: an object is an instance of a class
[18:28:19] apeiros: and (almost) every object has a singleton_class, and that singleton_class belongs precisely only to that object
[18:28:24] babblebre: has joined #ruby
[18:28:35] apeiros: and it's the place where methods which are only for that object are stored. like "class" methods.
[18:28:48] apeiros: hope that explanation was helpful :)
[18:28:53] apeiros: ACTION gotta run for the train now???
[18:29:08] devbug: has joined #ruby
[18:29:10] jmonreal: jhass: Classes to encapsulate certain behaviours of our object.
[18:29:29] jmonreal: Modules can not be instanciated? only classes can create objects?
[18:29:49] hxegon: Kind of a long shot, but does anyone have experience with :force_quotes option in CSV
[18:30:10] jmonreal: jhass: so what I would need here is a Class instead of a Module
[18:30:24] yoongkang: has joined #ruby
[18:30:35] hxegon: jmonreal: AFAIK, no.
[18:30:52] jmonreal: kinda lost here
[18:31:00] jhass: jmonreal: you would need a class
[18:31:06] jhass: jmonreal: and drop the class << self stuff
[18:31:20] jhass: jmonreal: now scroll up, you were told that like four or five times by now
[18:31:22] idjet: has joined #ruby
[18:31:39] jhass: ?anyone hxegon
[18:31:39] ruboto: hxegon, Just ask your question, if anyone has or can, they will respond.
[18:31:55] idjet: how come you have to wear a seatbelt in a car but not in a motorcycle? motorcycles are more dangerous then car
[18:32:07] `based_pdev`: has joined #ruby
[18:32:15] hxegon: idjet: because you don't want to be attached to a motorcycle when it crashes
[18:32:18] jhass: ?offtopic idjet
[18:32:18] ruboto: idjet, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
[18:32:40] baweaver: has joined #ruby
[18:32:44] jmonreal: jhass: thanks, and is it possible to require 'ClassName' ?
[18:32:55] akem: has joined #ruby
[18:33:08] jhass: jmonreal: require loads files
[18:33:09] idjet: hexagon you don't want to be attached to a car either with that logic
[18:33:13] jhass: jmonreal: you give it filenames
[18:33:36] jhass: that files may or may not happen to define a class, module or whatever
[18:33:44] hxegon: idjet: no, a car is all around you, while you are very exposed during a crash on a motorcycle, but I'm moving this to offtopic
[18:34:19] jondot: has joined #ruby
[18:34:34] argoneus: tbh if you crash a bike at high speed you are probably dead anyway
[18:34:51] hxegon: argoneus: very true.
[18:34:52] mjuszczak: has joined #ruby
[18:35:03] argoneus: and if you aren't dead you will wish you were
[18:35:47] Ruby_Rocks_007: has joined #ruby
[18:36:01] hxegon: Does anyone have enough experience with the :force_quotes option in CSV to show me a working example of it?
[18:36:07] hxegon: jhass: that better? :)
[18:37:11] jhass: hxegon: a little bit. Even better would be to show what you tried and what your issue with your attempt is
[18:37:22] bubbys: has joined #ruby
[18:37:24] jhass: argoneus: #ruby-offtopic, for you too ;)
[18:37:35] tomchapin: has joined #ruby
[18:38:03] asteros: has joined #ruby
[18:38:27] aphprentice: has joined #ruby
[18:38:27] User458764: has joined #ruby
[18:40:07] snowy: has joined #ruby
[18:41:43] bronson: has joined #ruby
[18:42:12] argoneus: what the fuck
[18:42:25] Jardayn_two: has joined #ruby
[18:42:28] argoneus: is freenode being ddos'd again?
[18:42:41] simplyianm: has joined #ruby
[18:42:58] devbug: has joined #ruby
[18:43:05] ht__: has joined #ruby
[18:43:09] yardenbar: has joined #ruby
[18:43:53] simplyianm: has joined #ruby
[18:44:17] sivoais: has joined #ruby
[18:44:49] shevy: LET'S COUNTERBOMB
[18:45:12] BlackCoyote: has joined #ruby
[18:45:13] blub: hi shevy
[18:45:45] idjet: is terrorism allowed in this chat room?
[18:45:50] Jardayn_two: has joined #ruby
[18:46:39] stannard_: has joined #ruby
[18:47:08] sjums: how do I get the sum of an array of ints?
[18:47:16] Xeago: has joined #ruby
[18:47:29] adaedra: &ri Array#inject
[18:47:30] `derpy: method `Enumerable#inject`: Combines all elements of enum by applying a binary operation, specified by a blo??? ??? http://rubydoc.info/stdlib/core/Enumerable#inject-instance_method
[18:47:33] h99h9h88: has joined #ruby
[18:47:55] adaedra: Use this with Integer#+
[18:48:15] adaedra: Ah, the sample already shows it
[18:48:23] mrsolo: has joined #ruby
[18:48:29] sjums: ACTION bows to adaedra 
[18:48:35] sjums: thanks :)
[18:48:40] ht__: has joined #ruby
[18:48:52] sjums: comes from C#, where there would be a .Sum() method :P
[18:48:56] howdoi: has joined #ruby
[18:49:07] hahuang65: has joined #ruby
[18:50:00] adaedra: Ruby does a lot of things with blocs/procs, like this
[18:50:40] ht__: has joined #ruby
[18:50:48] baweaver: >> (1..10).reduce(:+, 0)
[18:50:49] ruboto: baweaver # => 0 is not a symbol nor a string (TypeError) ...check link for more (https://eval.in/479341)
[18:50:56] baweaver: >> (1..10).reduce(0, :+)
[18:50:57] ruboto: baweaver # => 55 (https://eval.in/479342)
[18:51:10] baweaver: anyways, longhand of that is:
[18:51:15] desmondhume: has joined #ruby
[18:51:31] baweaver: >> (1..10).reduce(0) { |accumulator, i| accumulator + i }
[18:51:31] ruboto: baweaver # => 55 (https://eval.in/479343)
[18:51:43] myztic: has joined #ruby
[18:51:58] baweaver: where 0 is the initial value of accumulator (otherwise it's the first value of the collection) and each return of the block is the next accumulator
[18:52:10] h99h9h88: has joined #ruby
[18:52:12] pmarreck: has joined #ruby
[18:52:18] s2013: has joined #ruby
[18:52:19] baweaver: so the first run it'd be acc = 0, i = 1, new_acc = 1
[18:52:21] adaedra: You don't need the 0 in this case, as `+ 0` is never modifying the result.
[18:52:22] cornerma1: has joined #ruby
[18:52:34] baweaver: what if it's empty?
[18:52:44] howdoicomputer: has joined #ruby
[18:52:46] baweaver: more of a safety thing
[18:53:07] zeroDivisible: has joined #ruby
[18:53:14] baweaver: it costs 3 characters so I just do it regardless as I don't trust users / code very much.
[18:53:24] im0b: has joined #ruby
[18:53:36] Yzguy: has joined #ruby
[18:54:09] sjums: ah, probably best practice ;)
[18:54:17] sjums: but for now I know my source :P
[18:54:42] ht__: has joined #ruby
[18:55:08] s2013: has joined #ruby
[18:55:17] chridal: has joined #ruby
[18:55:34] myztic_: has joined #ruby
[18:55:55] Jardayn: has joined #ruby
[18:56:06] theRoUS: has joined #ruby
[18:57:01] shelling__: has joined #ruby
[18:57:28] akitada: has joined #ruby
[18:57:34] twodayslate: has joined #ruby
[18:58:19] JoshL: Does ruby core have a site somewhere to see the pass/fail status of tests and/or nightly compiles? Like a Jenkins setup or something?
[18:59:28] JoshL: Nevermind it was right in front of my face and I'm stupid. http://rubyci.org/, for the curious
[19:00:12] karapetyan: has joined #ruby
[19:00:30] spt0: has joined #ruby
[19:01:14] spt0: has joined #ruby
[19:01:26] lacrosse: has joined #ruby
[19:01:37] gguggi: has joined #ruby
[19:01:38] s2013: has joined #ruby
[19:01:40] baweaver: has joined #ruby
[19:02:03] yo61: has joined #ruby
[19:02:07] spleeze: has joined #ruby
[19:02:08] machty: has joined #ruby
[19:03:19] bove: has joined #ruby
[19:03:47] benlakey: has joined #ruby
[19:04:01] zarubin: has joined #ruby
[19:04:13] lancetw: has joined #ruby
[19:04:15] mrsolow: has joined #ruby
[19:04:25] weemsledeux: has joined #ruby
[19:05:03] last_staff: has joined #ruby
[19:05:15] treehug88: has joined #ruby
[19:05:41] hahuang61: has joined #ruby
[19:05:44] eyes_not: has joined #ruby
[19:05:52] blackmesa: has joined #ruby
[19:05:55] revengeofbigd: has joined #ruby
[19:07:22] dotix: has joined #ruby
[19:07:46] HashNuke: has joined #ruby
[19:08:14] momomomomo: has joined #ruby
[19:08:16] prosody: has joined #ruby
[19:09:49] snowy: has joined #ruby
[19:10:00] hxegon: Really can't find out why this doesn't work https://eval.in/479350
[19:10:35] adaedra: Define "doesn't work"
[19:10:45] jetpackjoe: has joined #ruby
[19:10:51] Ruby_Rocks_007: has joined #ruby
[19:10:53] akem: has joined #ruby
[19:11:02] hxegon: output should be quoted, as is noted in the example, but it isn't. quoted as in:
[19:11:09] hxegon: >> %("quoted")
[19:11:09] ruboto: hxegon # => "\"quoted\"" (https://eval.in/479351)
[19:11:25] shadoi: has joined #ruby
[19:11:29] hxegon: or rather, individual fields should all be quoted
[19:11:57] countryHick: has joined #ruby
[19:12:10] machinewar: has joined #ruby
[19:12:47] machinewar: anyone have experience sending file in a post request, need to post a PDF, but not sure how to serialize it
[19:13:05] adaedra: machinewar: depends on your HTTP library.
[19:13:09] machinewar: could I just open the file then send that object as request body?
[19:13:17] mloy: has joined #ruby
[19:13:30] machinewar: adaedra: was thinking net/http
[19:13:47] adaedra: depends on the service you're sending to, but usually files are sent throught multipart.
[19:13:58] shinenelson: has joined #ruby
[19:14:12] Heero: has joined #ruby
[19:14:35] baweaver: has joined #ruby
[19:14:36] machinewar: that's what i was thinking, but not sure if its as easy as setting content-type to 'multipart/form-data' and giving path to file
[19:15:04] juddey: has joined #ruby
[19:15:05] based_pdev_: has joined #ruby
[19:15:41] Rubie: has joined #ruby
[19:15:51] machinewar: from docs "At this time Net::HTTP does not support multipart/form-data. To send multipart/form-data use Net::HTTPGenericRequest#body= and Net::HTTPHeader#content_type=:" *damn* lol
[19:16:08] jbrhbr: has joined #ruby
[19:16:43] jhass: hxegon: https://eval.in/479359
[19:18:13] xfbs: has joined #ruby
[19:19:00] momomomomo: has joined #ruby
[19:19:10] hxegon: jhass: thanks so much. been banging my head against it for a while
[19:19:45] revengeofbigd: whois revengeofbigd & whois alexblom
[19:19:53] sivoais: has joined #ruby
[19:20:03] jackjackdripper: has joined #ruby
[19:21:22] NeverDie: has joined #ruby
[19:23:01] Xeago: has joined #ruby
[19:24:37] beneggett: has joined #ruby
[19:25:17] Ruby_Rocks_007: has joined #ruby
[19:25:29] blub: ruby rocks 007
[19:25:30] shevy: whois revengeofbigd/ & whois alexblom/
[19:25:31] rikkipitt: has joined #ruby
[19:25:43] shevy: blub are you blubjr
[19:25:57] blub: im a big girl now
[19:26:07] chris2: has joined #ruby
[19:27:01] Xeago: has joined #ruby
[19:27:44] casadei: has joined #ruby
[19:28:03] devbug: has joined #ruby
[19:28:18] B1n4r10: has joined #ruby
[19:28:46] Coldblackice: has joined #ruby
[19:29:18] Sou|cutter: is there a way to travel up the namespace hierarchy? e.g. Object.const_get("Foo::..::Bar") # => ::Bar
[19:29:31] Sou|cutter: random, I know
[19:29:35] Sou|cutter: I suspect not
[19:30:00] iamdevnul: has joined #ruby
[19:30:01] apeiros: Sou|cutter: I don't get what you want
[19:30:47] senayar: has joined #ruby
[19:30:48] senayar: has joined #ruby
[19:30:54] roxtrongo: has joined #ruby
[19:30:58] revengeofbigd: how about `foo.split(::).last`
[19:31:04] yoongkang: has joined #ruby
[19:31:10] revengeofbigd: err `foo.split('::').last`
[19:31:13] Sou|cutter: I know a library loads constants within a given namespace, e.g. const_get("Foo::#{arg}") and I was wondering if I could escape "Foo"
[19:31:35] opencard: has joined #ruby
[19:31:39] Sou|cutter: by escape, I mean load something outside of Foo
[19:31:47] bluOxigen: has joined #ruby
[19:31:51] bluOxigen: has joined #ruby
[19:32:12] Lloyd: has joined #ruby
[19:32:36] Sou|cutter: in the same was you can move up a directory in a path with .. -- foo/bar/../baz == foo/baz
[19:32:51] apeiros: >> module Bar; def self.x(v); const_get("Bar::#{v}"); end; Bar.x("Object::Array")
[19:32:52] ruboto: apeiros # => /tmp/execpad-dbe854ff7bf2/source-dbe854ff7bf2:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/479361)
[19:32:59] apeiros: >> module Bar; def self.x(v); const_get("Bar::#{v}"); end; end; Bar.x("Object::Array")
[19:33:00] ruboto: apeiros # => Array (https://eval.in/479362)
[19:33:06] apeiros: Sou|cutter: ^
[19:33:09] h99h9h88: has joined #ruby
[19:33:30] unsymbol: has joined #ruby
[19:33:33] apeiros: with warnings on, I think this generates a warning.
[19:33:47] lokulin: has joined #ruby
[19:33:48] opencard: has joined #ruby
[19:33:53] Sou|cutter: ahh - that does work, doesn't it
[19:34:04] apeiros: bougyman: and there I thought you meant my mad skills
[19:34:35] h99h9h88: has joined #ruby
[19:34:47] Sou|cutter: I feel like that shouldn't generate a warning because const_get has a second arg to force inherited-only
[19:35:04] nisstyre: has joined #ruby
[19:35:07] apeiros: you misunderstand that arg ;-)
[19:35:27] apeiros: yes. that one's just to disable "deep" const get
[19:35:30] Sou|cutter: well I said it the opposite way right?
[19:35:46] apeiros: and what I do is unrelated to that.
[19:35:54] Ruby_Rocks_007: has joined #ruby
[19:36:05] apeiros: or maybe I misunderstand it :D
[19:36:07] Sou|cutter: >> module Bar; def self.x(v); const_get("Bar::#{v}", false); end; end; Bar.x("Object::Array")
[19:36:08] ruboto: Sou|cutter # => uninitialized constant Bar::Bar (NameError) ...check link for more (https://eval.in/479363)
[19:36:36] bluOxigen: has joined #ruby
[19:36:38] Sou|cutter: >> module Bar; def self.x(v); const_get(v, false); end; end; Bar.x("Object::Array")
[19:36:39] ruboto: Sou|cutter # => uninitialized constant Bar::Object (NameError) ...check link for more (https://eval.in/479364)
[19:36:54] apeiros: Sou|cutter: ok, you understood it correctly.
[19:37:12] apeiros: Sou|cutter: and in that case, I think I agree with you on "should not generate a warning"
[19:37:20] MTeck: has joined #ruby
[19:37:59] Sou|cutter: cool, thanks for the idea
[19:38:02] DoYouKnow: has joined #ruby
[19:38:27] apeiros: with ", false", you'd have to do const_get("::Bar::#{v}")
[19:39:11] MTeck: I'm sure this is simple, but I'm a ruby novice. How can I do a check like this? if somestring.include? "cde" or "abc" or "xyz" do ... end
[19:39:15] Xeago: has joined #ruby
[19:39:16] joaomdmoura_: has joined #ruby
[19:39:31] momomomomo: has joined #ruby
[19:40:00] akem: has joined #ruby
[19:40:04] Contigi: has joined #ruby
[19:40:14] adaedra: if %w[cde abc xyz].any? { |e| somestring.include? e }
[19:40:47] MTeck: I could copy/paste... I'm trying to comprehend what's actually going on there...
[19:40:53] apeiros: MTeck: somestring.include?(a) || somestring.include?(b) || ???
[19:41:04] Sou|cutter: Regexp.union(%w(cde abc xyz)).match somestring
[19:41:04] apeiros: that's the straight translation of yours to correct ruby
[19:41:25] adaedra: MTeck: then go on, split the expression, and ask about parts you don't understand
[19:42:45] jabreity__: has joined #ruby
[19:43:27] shaman42: has joined #ruby
[19:43:35] MTeck: adaedra: Sorry, I didn't mean to imply that I didn't think it was right. I 100% believe what you wrote is exactly what I need. I just prefer wrapping my head fully around anything I use just for the sake of learning.
[19:43:47] Mon_Ouie: has joined #ruby
[19:43:59] Xeago: has joined #ruby
[19:44:01] bahar: has joined #ruby
[19:44:03] jackjackdripper: has joined #ruby
[19:44:04] Sou|cutter: that's a good attitude to have!
[19:44:20] adaedra: MTeck: you didn't get me. I was telling you to tell me/us what you don't understand in the expression, so I/we can explain it.
[19:45:06] nettoweb: has joined #ruby
[19:45:12] MasterNayru: has joined #ruby
[19:46:42] adaedra: Unfortunately, it's time for me to get away from the keyboard, but other people here will surely be happy to explain you what's happening above if you ask about it.
[19:46:43] MTeck: To be honest, I don't know what %w is, or how the whole thing expands in ruby logic. I think I just need to read and look at it for a while. I'll ask questions after that. I want to understand the regex one too.
[19:46:44] mordocai: has joined #ruby
[19:46:58] B1n4r10: has joined #ruby
[19:47:00] adaedra: >> %w[array of strings]
[19:47:01] ruboto: adaedra # => ["array", "of", "strings"] (https://eval.in/479365)
[19:47:07] mordocai: Hey, i'm getting this when installing ruby 2.2.2/2.2.3 with ruby-build on debian testing. Is this a library version issue? Anyone know? Worked fine a few months ago http://paste.lisp.org/display/163730.
[19:47:31] lva: has joined #ruby
[19:48:00] mordocai: Debian testing is also using gcc 5 which could cause issues I imagine. Trying to narrow down the issue.
[19:48:19] yqt: has joined #ruby
[19:48:48] edwinvdgraaf: has joined #ruby
[19:51:10] s2013: has joined #ruby
[19:52:37] unreal_: has joined #ruby
[19:52:39] ht__: has joined #ruby
[19:53:51] socialjackie: What's your `dpkg -s openssl`?
[19:53:56] Xeago: has joined #ruby
[19:54:14] mordocai: Found answer to my problem here if anyone else runs into it https://github.com/rbenv/ruby-build/wiki#openssl-sslv3_method-undeclared-error
[19:54:24] howdoicomputer: has joined #ruby
[19:54:52] cjbottaro: has joined #ruby
[19:55:23] RegulationD: has joined #ruby
[19:56:48] kirun: has joined #ruby
[19:57:26] diego1: has joined #ruby
[19:57:40] diego1: has joined #ruby
[19:58:40] ur5us: has joined #ruby
[19:58:43] brunto: has joined #ruby
[19:59:31] vcoinminer_: has joined #ruby
[20:00:08] devbug: has joined #ruby
[20:00:55] Xeago: has joined #ruby
[20:01:13] justinweiss: has joined #ruby
[20:01:31] avdi_: has joined #ruby
[20:01:35] Mon_Ouie: has joined #ruby
[20:01:39] jeregrine: has joined #ruby
[20:02:01] jpinnix______: has joined #ruby
[20:02:20] gizmore: has joined #ruby
[20:02:41] bjeanes: has joined #ruby
[20:02:55] Frem: has joined #ruby
[20:03:02] freerobby: has joined #ruby
[20:03:13] alxndr: has joined #ruby
[20:03:20] glowcoil: has joined #ruby
[20:03:36] jhill: has joined #ruby
[20:03:41] knowtheory: has joined #ruby
[20:03:46] DukeDave: has joined #ruby
[20:03:49] mroth: has joined #ruby
[20:04:09] schaary: has joined #ruby
[20:04:13] acadavid: has joined #ruby
[20:04:15] adambeynon: has joined #ruby
[20:04:20] ckrailo: has joined #ruby
[20:04:22] cbetta: has joined #ruby
[20:04:31] akahn: has joined #ruby
[20:04:34] hellschreiber_: has joined #ruby
[20:04:48] podman: has joined #ruby
[20:05:59] sankaber: has joined #ruby
[20:06:26] TheHodge: has joined #ruby
[20:06:40] pizzaops: has joined #ruby
[20:06:43] twilling: has joined #ruby
[20:07:32] Ruby_Rocks_007: has joined #ruby
[20:07:35] n1ftyn8_: has joined #ruby
[20:07:59] Dimik: has joined #ruby
[20:08:01] mostlybadfly: has joined #ruby
[20:08:29] howdoicomputer: has joined #ruby
[20:09:10] ht__: has joined #ruby
[20:09:30] PhilK: has joined #ruby
[20:09:40] ELCALOR: has joined #ruby
[20:09:45] jlyndon: has joined #ruby
[20:10:17] otherj: has joined #ruby
[20:10:47] bryancp: has joined #ruby
[20:11:06] deimos: has joined #ruby
[20:11:30] colstrom: has joined #ruby
[20:12:17] Guest4184__: has joined #ruby
[20:12:22] tulak: has joined #ruby
[20:12:23] charles81: has joined #ruby
[20:12:30] halfdan: has joined #ruby
[20:12:44] bcavileer_: has joined #ruby
[20:12:47] HashNuke: has joined #ruby
[20:12:54] manveru: has joined #ruby
[20:13:01] vayan: has joined #ruby
[20:13:51] kellabyte: has joined #ruby
[20:14:15] shanemcd: has joined #ruby
[20:14:28] djbender: has joined #ruby
[20:14:30] rfv: has joined #ruby
[20:14:35] amitchellbullard: has joined #ruby
[20:14:39] ht__: has joined #ruby
[20:15:32] diegoaguilar: has joined #ruby
[20:15:32] skmp: has joined #ruby
[20:16:32] nomadicoder: has joined #ruby
[20:16:40] ht__: has joined #ruby
[20:16:55] opencard: has joined #ruby
[20:17:09] maddmaxx: has joined #ruby
[20:17:14] diegoaguilar: has joined #ruby
[20:17:16] cstrahan: has joined #ruby
[20:17:32] ggherdov: has joined #ruby
[20:17:35] zrl: has joined #ruby
[20:17:52] sigurding: has joined #ruby
[20:18:22] spastorino: has joined #ruby
[20:18:44] MiracleBlue_: has joined #ruby
[20:19:04] sandstrom: has joined #ruby
[20:19:15] chrisseaton: has joined #ruby
[20:19:42] yoongkang: has joined #ruby
[20:19:53] speakingcode: has joined #ruby
[20:20:16] grill: yo. why would popen3 + rsync hang forever? if i'm trying to capture and print all lines from stdopen?
[20:20:23] myztic: has joined #ruby
[20:20:23] frode15243: has joined #ruby
[20:20:30] thang: has joined #ruby
[20:20:36] nyandoge: has joined #ruby
[20:20:48] golgaroth: has joined #ruby
[20:20:52] diegoaguilar: has joined #ruby
[20:20:53] baweaver: has joined #ruby
[20:21:14] grill: err stdout
[20:21:29] Xeago: has joined #ruby
[20:21:30] jord: has joined #ruby
[20:21:33] dmoe: has joined #ruby
[20:22:07] mikolalysenko: has joined #ruby
[20:22:12] apipkin: has joined #ruby
[20:22:17] ramblinpeck: has joined #ruby
[20:23:13] troter______: has joined #ruby
[20:23:20] pfg: has joined #ruby
[20:23:56] Xeago: has joined #ruby
[20:24:31] mordocai: has left #ruby: ("ERC (IRC client for Emacs 24.5.1)")
[20:24:48] waynerade: has joined #ruby
[20:24:54] tonini: has joined #ruby
[20:25:01] AdamMeghji: has joined #ruby
[20:25:25] grill: ok. lets try something different. how would i count the number of lines coming out of stdout and then if it's more than 3, return true, else return false?
[20:26:25] AndyBotwin: has joined #ruby
[20:26:26] AndyBotwin: has joined #ruby
[20:26:30] shanemcd: has joined #ruby
[20:27:38] baweaver: has joined #ruby
[20:27:39] mjc_: has joined #ruby
[20:28:10] desmondhume: has joined #ruby
[20:28:33] jevs: has joined #ruby
[20:28:40] ht__: has joined #ruby
[20:28:47] weaksauce: has joined #ruby
[20:29:02] Anderson69s: has joined #ruby
[20:29:39] frankS2: has joined #ruby
[20:29:56] chamby: has joined #ruby
[20:30:15] cardoni: has joined #ruby
[20:30:32] zzak_: has joined #ruby
[20:31:11] diegoaguilar: has joined #ruby
[20:33:01] prestorium_: has joined #ruby
[20:33:15] sarkis: has joined #ruby
[20:33:20] opencard: has joined #ruby
[20:33:26] Frem: has joined #ruby
[20:33:48] thesheff17: has joined #ruby
[20:34:04] InvGhostt: has joined #ruby
[20:34:35] grill: lets try something different: why is python better than ruby
[20:34:54] beneggett: has joined #ruby
[20:35:08] h99h9h88: has joined #ruby
[20:35:18] lemur: has joined #ruby
[20:35:37] babblebre: has joined #ruby
[20:36:00] shanemcd: has joined #ruby
[20:36:01] apeiros: grill: trolling is not welcome on this channel.
[20:36:36] jmcc____: has joined #ruby
[20:36:40] InvGhosttt: has joined #ruby
[20:37:34] shazaum_: has joined #ruby
[20:37:40] diegoaguilar: has joined #ruby
[20:37:42] rflot: has joined #ruby
[20:38:14] B1n4r10: has joined #ruby
[20:38:33] kadoppe: has joined #ruby
[20:39:18] Oog: has joined #ruby
[20:39:46] shazaum_: has joined #ruby
[20:41:05] sarkis: has joined #ruby
[20:42:14] daxroc: has joined #ruby
[20:42:37] B1n4r10: has joined #ruby
[20:43:26] shanemcd: has joined #ruby
[20:44:40] ht__: has joined #ruby
[20:45:05] vivekananda: has joined #ruby
[20:45:17] djbkd: has joined #ruby
[20:45:20] sankaber: has joined #ruby
[20:45:22] zeljkof: has joined #ruby
[20:45:55] zipkid: has joined #ruby
[20:46:03] sigurding: has joined #ruby
[20:48:21] Eleeleth: has joined #ruby
[20:48:37] roxtrongo: has joined #ruby
[20:49:37] K1MOS: has joined #ruby
[20:49:47] tejasmanohar: has joined #ruby
[20:50:27] norc: has joined #ruby
[20:51:17] B1n4r10: has joined #ruby
[20:51:20] TheCompWiz: has joined #ruby
[20:51:34] Xeago: has joined #ruby
[20:51:45] TheCompWiz: is anyone here good at battling Process + IO issues?
[20:52:05] ruboto: Just ask your question, if anyone has or can, they will respond.
[20:52:31] deg: has left #ruby: ()
[20:52:31] shaman42: has joined #ruby
[20:52:39] zemmihates: has joined #ruby
[20:52:47] jxf: has joined #ruby
[20:53:03] apeiros: TheCompWiz: I heard anyone is quite bad at programming and thus left for masonry work
[20:54:03] TheCompWiz: I've got a fun project that spawns tons of threads... using "Process.spawn" ... that I need to gather the output from... and if the output is too big... the process never completes. I suspect there is some sort of buffering issues using the IO.pipe... and am hoping someone can shed some light on the subject
[20:58:02] apeiros: TheCompWiz: Process.spawn does not create threads, it creates processes.
[20:58:44] TheCompWiz: technically since the pgid is still the main ruby thread... it is a thread. it isn't detached.
[20:59:22] asteros: has joined #ruby
[20:59:39] eam: TheCompWiz: no, spawn will create a separate process
[21:00:21] shanemcd: has joined #ruby
[21:00:25] eam: TheCompWiz: there's buffering in a pipe pair but that is likely not your issue
[21:00:40] eam: can you show code?
[21:01:01] _djbkd: has joined #ruby
[21:01:05] apeiros: TheCompWiz: threads and processes ain't the same. and if you mean OS level thread, you should be clear about that (but even then you'd be wrong)
[21:01:06] Biohazard: has joined #ruby
[21:01:35] symm-: has joined #ruby
[21:02:01] Yzguy: has joined #ruby
[21:02:15] opencard: has joined #ruby
[21:02:20] freerobby: has joined #ruby
[21:02:24] baweaver: has joined #ruby
[21:07:43] Synthead: is there a variable type that'll allow me to set something like a.b.c = "5" and retrieve it via a.b.c?
[21:07:55] bestie: has joined #ruby
[21:07:58] Synthead: like a hash, just using accessors instead of ["x"]
[21:08:14] diego1: has joined #ruby
[21:08:28] diego1: has joined #ruby
[21:08:43] ht__: has joined #ruby
[21:09:13] norc: Synthead: Sure. It is called a class.
[21:09:21] norc: Or more generally an object.
[21:09:36] apeiros: Synthead: a.b would have to return an object which responds to c
[21:09:42] blackmesa: has joined #ruby
[21:09:44] apeiros: or rather, to c= and c
[21:10:06] apeiros: Synthead: also variables don't have a type (ruby is dynamically typed)
[21:10:49] Synthead: oh sure, I was thinking a kind of class I could create a variable from
[21:11:03] apeiros: that's neither what's happening :)
[21:11:19] apeiros: does not "create a variable"
[21:11:24] Synthead: a = Hash.new
[21:11:28] apeiros: it creates an object. and you assign that object to a variable
[21:11:30] Synthead: declares a, right?
[21:11:38] NeverDie_: has joined #ruby
[21:11:53] jhass: Synthead: google for "recursive openstruct" and then learn why you don't want it
[21:11:54] norc: Synthead: It creates an instance variable called "a" and assigns the object to it.
[21:12:01] apeiros: there isn't really declaration in ruby either. you could consider the first assignment a declaration. but IMO that's incorrect.
[21:12:10] norc: jhass: But I started using openstructs all over my place. They are beautiful. :)
[21:12:13] bttf: has joined #ruby
[21:12:23] aadam21_: has joined #ruby
[21:12:33] norc: Bah, we live in the time of gigahertz.
[21:12:33] apeiros: hm, maybe a more correct case of declaration: when defining a method or block
[21:12:59] hahuang61: has joined #ruby
[21:13:21] K1MOS: has joined #ruby
[21:13:21] ninegrid: has joined #ruby
[21:13:22] norc: apeiros: Actually I think in this context "declaration" makes sense with methods and variables.
[21:13:38] devbug: has joined #ruby
[21:13:50] norc: by stating "a = 1" you are not only creating an instance variable, but you make it known to the parser that "a" is now a variable and not a method.
[21:13:52] TheCompWiz: http://pastebin.com/M2RrqfSs
[21:13:53] ruboto: TheCompWiz, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/8a51721667d4b5a4cfae
[21:13:53] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[21:13:55] Synthead: jhass: this looks exactly like what I'm looking for. why don't I want it?
[21:14:04] apeiros: norc: s/instance//
[21:14:08] apeiros: or s/instance/local/
[21:14:15] norc: Sorry indeed.
[21:14:22] jhass: Synthead: read on, you should find an explanation sooner or later
[21:14:25] apeiros: and the variable doesn't necessarily created *there*
[21:14:43] Synthead: jhass: that's not very helpful :p
[21:15:09] norc: apeiros: The relevant bit was about the parser cache though.
[21:15:13] apeiros: anyway, not interested in arguing semantics. I rather just declare my point. :)
[21:15:19] norc: Absolutely. :)
[21:15:32] TheCompWiz: for what its worth... there's the gist. ... if the process output is 60k ... works fine. if the process output is 3m... the process never terminates.
[21:15:38] TheCompWiz: or rather... it is killed.
[21:16:11] TheCompWiz: (as per design)
[21:16:43] TheCompWiz: and yes... I apollogize for everything being named "fork"... just treat "fork" as the PID of the sub-process.
[21:17:58] tvon: has joined #ruby
[21:18:06] cdg: has joined #ruby
[21:18:30] moeabdol: has joined #ruby
[21:18:39] ht__: has joined #ruby
[21:18:42] michaeldeol: has joined #ruby
[21:19:27] micmagis: has joined #ruby
[21:19:53] momomomomo: has joined #ruby
[21:20:37] konopka: has joined #ruby
[21:20:40] jpfuentes2: has joined #ruby
[21:20:54] cbednarski: has joined #ruby
[21:22:10] adaedra: > spoon = fork(); // Real code I've written once.
[21:23:05] waynerade: has joined #ruby
[21:23:07] norc: TheCompWiz: Without seeing the full code it is hard to judge. You could do some kind of profiling to get an idea what might be slowing things down. Or use gdb/strace to figure out where it is supposedly stuck.
[21:23:34] rakm: has joined #ruby
[21:24:15] diegoviola: adaedra: there is no spoon
[21:24:32] TheCompWiz: norc: that is enough of the full code to be fully functional. the command is a basic linux program that you definately won't have on your computer. You can use your imagination... and write a bash script to output the numbers from 1 to 3 million.
[21:24:54] adaedra: > test.c:2:3: error: use of undeclared identifier 'spoon'
[21:25:07] adaedra: You're right, diegoviola. `int spoon = fork();` should be better.
[21:25:23] adaedra: now, for something completely different.
[21:26:22] norc: TheCompWiz: Yeah, personally I would just attach gdb first thing.
[21:26:48] norc: Or strace.
[21:26:59] aadam21: has joined #ruby
[21:27:28] akem: has joined #ruby
[21:30:08] colegatron: has joined #ruby
[21:31:11] ht__: has joined #ruby
[21:31:34] norc: TheCompWiz: 3m lines you say, avg length?
[21:31:41] Xeago: has joined #ruby
[21:31:55] djbkd: has joined #ruby
[21:33:34] pragmatism: has joined #ruby
[21:34:00] TheCompWiz: could be anywhere from 10k characters to 3m or more.
[21:34:50] marr: has joined #ruby
[21:35:34] asteros: has joined #ruby
[21:37:00] moei: has joined #ruby
[21:37:25] moei: has joined #ruby
[21:38:05] i: has joined #ruby
[21:38:12] symbol: has joined #ruby
[21:38:35] symbol: Are priate class methods generally a bad idea? It seems like I need to jump through hoops to get them to work.
[21:38:54] symbol: Really not a fan of using class << self. It tends to confuse people.
[21:40:16] edwinvdgraaf: has joined #ruby
[21:40:40] ht__: has joined #ruby
[21:41:10] yfeldblum: has joined #ruby
[21:41:53] TheCompWiz: norc I've tried putting a preemptive period read in there hoping to empty the buffer and allow the process to continue... but that did absolutely nothing.
[21:43:17] norc: symbol: Nope. They are a good thing.
[21:43:22] heftig: has joined #ruby
[21:43:49] symbol: extend self?
[21:44:05] apeiros: extend self is an anti-pattern IMO
[21:44:10] apeiros: use module_function instead
[21:44:22] apeiros: cf. Kernel, Math
[21:44:28] bubbys: has joined #ruby
[21:44:31] Someone_Else: has joined #ruby
[21:44:37] lva: has joined #ruby
[21:45:06] Someone_Else: I'm trying to implement an old patch in Ruby 2.0.0
[21:45:16] lacuna: has joined #ruby
[21:45:16] lacuna: has joined #ruby
[21:45:21] apeiros: private class methods are fine. see Module#private_class_method
[21:45:26] symbol: I'm working on a facade type pattern around an external API. It's not really a class but a module is weird.
[21:45:27] norc: symbol: What I mean is actually using visibility is a good thing.
[21:45:32] Someone_Else: What is the current equivalent of ruby_eval_tree
[21:46:22] symbol: Not sure I follow norc
[21:46:28] norc: Someone_Else: are you looking for Ripper?
[21:47:12] skade: has joined #ruby
[21:47:18] Someone_Else: norc: No, I don't even have CD's around here
[21:47:25] norc: symbol: Like apeiros said, you can define private class method like he described. Restricting visibility to only expose interface methods is a sound thing.
[21:47:29] apeiros: symbol: "visibility" is the umbrella term for public, protected, private
[21:47:44] norc: Someone_Else: http://ruby-doc.org/stdlib-2.2.3/libdoc/ripper/rdoc/Ripper.html
[21:47:58] symbol: Good to know - I felt like I was doing something dirty.
[21:48:45] Someone_Else: ruby_eval_tree is in the source code of Ruby itself
[21:48:48] fibbel: has joined #ruby
[21:49:09] Someone_Else: norc: Back in the 1.8.X series, it existed in eval.c in the main source tree
[21:49:18] fibbel: has joined #ruby
[21:49:32] norc: Someone_Else: Yeah I'm aware. Looking at the parser at the moment to figure out what it is.
[21:49:40] norc: Which is not too hard, considering how well documented it is..
[21:50:42] lukeasrodgers: has joined #ruby
[21:51:46] lacuna: has joined #ruby
[21:51:46] lacuna: has joined #ruby
[21:52:10] isjaylee: has joined #ruby
[21:53:37] shanemcd: has joined #ruby
[21:54:34] spacemud: has joined #ruby
[21:56:41] TheCompWiz: so... I guess everyone has given up on my buffering issue. /sigh
[21:58:39] Someone_Else: norc: It seems the whole eval thing in 2.0.0 is simply not there
[21:59:31] norc: Someone_Else: What did that global variable point to?
[21:59:44] norc: Some kind of reference to the current AST?
[22:00:43] akem: has joined #ruby
[22:02:45] Someone_Else: norc: Actually, it saved the whole AST
[22:02:55] allcentury: has joined #ruby
[22:03:10] devbug: has joined #ruby
[22:03:25] finisherr: has joined #ruby
[22:03:28] norc: Someone_Else: Yeah afaik Ripper is your only bet at the moment.
[22:03:41] Sperant: has joined #ruby
[22:03:59] norc: Someone_Else: Im guessing the reason is the introduction of the VM, which makes the AST relatively useless at runtime
[22:05:20] Someone_Else: norc: Do you have any ideas how I could use Ripper in such a way?
[22:05:40] norc: Someone_Else: I don't know what you are trying to do
[22:06:03] Someone_Else: tmp_keep_ast = ruby_eval_tree;
[22:06:07] spleeze: has joined #ruby
[22:06:20] Someone_Else: Thas *was* the code that worked for the 1.8.X series
[22:06:30] norc: Someone_Else: Again. Why are you doing that?
[22:06:36] norc: Ruby no longer walks the AST.
[22:07:03] norc: The AST is compiled into bytecode, doing some optimizations - and then it gets executed.
[22:07:31] rikkipitt: has joined #ruby
[22:09:10] Yzguy: has joined #ruby
[22:09:21] axl_: has joined #ruby
[22:10:19] s2013: has joined #ruby
[22:10:27] devbug: has joined #ruby
[22:11:43] danzilio: has joined #ruby
[22:11:54] norc: Someone_Else: If for any reason you are interested in the AST a piece of code generates, you can do that with Ripper.sexp or Ripper.sexp_raw. But as I said, since we have a VM a reference to the current AST is meaningless, since that is not what Ruby works on anymore.
[22:13:08] jbrhbr: has joined #ruby
[22:13:14] kriskropd: has joined #ruby
[22:14:27] shanemcd: has joined #ruby
[22:16:30] symm-_: has joined #ruby
[22:18:02] lacuna: has joined #ruby
[22:18:02] lacuna: has joined #ruby
[22:18:43] Someone_Else: norc: I have an issue building 1.8.1: compiling pty, no targets, error, stop
[22:19:18] Azure: has joined #ruby
[22:20:00] TheCompWiz: Is there anyone in here who knows something more than a cursory knowledge of the IO class and its relations to the buffer limits?
[22:20:25] diego1: has joined #ruby
[22:20:40] diego1: has joined #ruby
[22:21:25] K1MOS: has joined #ruby
[22:21:49] howdoicomputer: has joined #ruby
[22:22:44] al2o3-cr: has joined #ruby
[22:23:19] norc: Someone_Else: Why are you trying so hard to get that code up and running? What is your goal?
[22:24:23] TheCompWiz: my goal is to spawn a bunch of processes and capture the output...
[22:24:26] norc: (Before we talk about getting a 6 year old Ruby version running that is already end of life, using features that are long deprecated)
[22:24:31] TheCompWiz: it's not rocket-science...
[22:24:55] Someone_Else: TheCompWiz: exactly
[22:25:22] norc: TheCompWiz: buffer size is probably 64kb
[22:25:44] apeiros: Someone_Else: no need for sass.
[22:25:46] TheCompWiz: norc: ok... any suggestions on how to flush the buffer and get the process to resume?
[22:27:15] freerobby: has joined #ruby
[22:28:14] TheCompWiz: I've tried setting up an interrupt every second, and forcing a read on the buffer... but that didn't do anything useful. If there was something to read... it would read the data on the 1st call... but all subsequent reads would return nothing (and also block execution)
[22:28:22] norc: TheCompWiz: First I would strace properly into the application to verify this.
[22:29:01] norc: Which really is what I told you an hour ago. ;-)
[22:29:16] aspiers: has joined #ruby
[22:29:29] toretore: has joined #ruby
[22:30:23] TheCompWiz: which is what I did... and it told me nothing new. execution stops on each process when the buffer gets full, and the code execution sits at the "wait" until the Timeout fires & kills the threads.
[22:31:32] norc: TheCompWiz: So you verified that this is the case?
[22:31:58] ta: has joined #ruby
[22:32:03] apeiros: TheCompWiz: you only read after all spoons have finished?
[22:32:24] apeiros: I think you should set up a Kernel.select loop which continuously reads ready pipes
[22:32:31] norc: TheCompWiz: You can use Open3.popen3 probably
[22:32:41] TheCompWiz: apeiros: all documentation I've read says that the read should only be done after the process has terminated.
[22:33:02] apeiros: TheCompWiz: documentation of what? pipe?
[22:33:09] apeiros: also link?
[22:33:14] TheCompWiz: Process.spawn
[22:33:50] apeiros: "read after process has terminated" sounds quite wrong. did you see that in ri Process.spawn?
[22:34:08] Xeago: has joined #ruby
[22:34:12] yeticry: has joined #ruby
[22:34:13] saddad: has joined #ruby
[22:34:32] saddad: has joined #ruby
[22:34:58] TheCompWiz: apeiros: ... honestly... as long as I've been banging my head on this... I honestly don't remember where I read about the "read after termination". ... but it is also in the examples.
[22:35:32] apeiros: TheCompWiz: I don't see it. and as said, it sounds totally wrong. I seriously doubt that's in there.
[22:35:55] apeiros: it directly contradicts common philosophy on IPC
[22:36:00] baweaver: has joined #ruby
[22:36:28] apeiros: so I'll just reiterate my advice: read ready pipes, using Kernel#select and read_nonblock
[22:36:44] apeiros: or just read(CHUNK)
[22:37:00] apeiros: probably actually rather the latter.
[22:37:05] TheCompWiz: sadly... read_nonblock does block... and/or raises errors. which is funny.
[22:37:30] apeiros: it raises errors when there's nothing to read - and under conditions where read would also raise
[22:37:40] apeiros: and "does block"? how do you figure?
[22:38:07] yqt: has joined #ruby
[22:38:09] apeiros: (but as said, I'd actually use read(CHUNK), it's quite probably faster, and through select you know there is data to read)
[22:38:21] norc: apeiros has a good point though. the whole point of pipes is that you can have two concurrent processes using it for communication, which is what you are avoiding by not reading until the processes have terminated.
[22:38:21] TheCompWiz: apeiros: reading now.
[22:38:48] paradisaeidae: has joined #ruby
[22:38:57] apeiros: norc: not reading the pipes means it just fills the buffers, and usually buffers aren't meant to be *filled*. they should be ephemeral and emptied quickly.
[22:39:22] opencard: has joined #ruby
[22:41:20] apeiros: also for readability sake I'd probably use Spoon = Struct.new(:read, :write, :pid); spoon = Spoon.new(*IO.pipe); spoon.pid = spawn(???); ???
[22:41:37] akem: has joined #ruby
[22:41:42] nofxx: has joined #ruby
[22:41:42] nofxx: has joined #ruby
[22:41:52] apeiros: (spoon.pid, spoon.read etc. just reads so much nicer - additionally it's quite a bit faster)
[22:42:03] matti: has joined #ruby
[22:42:04] matti: has joined #ruby
[22:42:08] newdan: has joined #ruby
[22:42:13] nofxx: Thinking a clever way to random colors.... RGB hex in the case. rand(0xFFFFFF).to_s(16).rjust(6, '0')
[22:42:43] nofxx: better ideas?
[22:43:29] apeiros: norc: that'll never generate 0xffffff, though
[22:43:33] jhass: there are some blogposts with algorithms for generating a "good looking" set of colors, if you care I'd suggest to google for such
[22:43:38] apeiros: you want rand(0x1000000)
[22:43:41] adaedra: "%06x" % rand(0x1000000)
[22:43:52] IrishGringo: has joined #ruby
[22:43:56] apeiros: and for the rest - what adaedra said :D
[22:43:57] norc: or for readability rand(0xFFFFFF + 1)
[22:44:01] adaedra: >> "%06x" % rand(0x1000000)
[22:44:02] ruboto: adaedra # => "03be00" (https://eval.in/479456)
[22:44:06] apeiros: norc: blergh.
[22:44:25] newdan: If I'm in a method and I have an object and I keep calling a method on it like `my_fun_file.my_fancy_write "Hello"`, but I get tired of all that typing, is there a way to alias that to something shorter, in the scope of one method body? And preferably avoiding the `method_obj.('Hello')` syntax?
[22:44:34] adaedra: why not 1 << 6, when you're at it, norc
[22:44:50] norc: 1 << 24 you mean
[22:44:51] norc: but yeah
[22:45:06] apeiros: newdan: get a decent editor.
[22:45:23] apeiros: seriously, "it's too much to type" is a f'ing stupid reason for this kind of indirection.
[22:45:37] norc: newdan: Learn to type faster.
[22:45:42] newdan: apeiros: Don't even start, I'm using spacemacs
[22:45:51] mfqr: Spacemacs?
[22:46:03] newdan: Emacs distribution with vim keybindings and, I dunno, in space I guess
[22:46:10] s2013: has joined #ruby
[22:46:32] norc: newdan: Doesn't it have some kind of magical autocomplete thing?
[22:46:33] mfqr: ACTION goes back to his show.
[22:46:49] norc: auto-completion or something?
[22:46:51] newdan: norc: It does. I can make it appear without typing but it still feels verbose
[22:47:13] norc: newdan: You should feel lucky you are not doing corporate Java development.
[22:47:15] nofxx: great thank you guys, adaedra , apeiros
[22:47:24] newdan: I should've suspected an IRC room would tell me to learn how to type or get a new editor rather than actually answer my question in any way
[22:47:31] newdan: Thanks all
[22:47:39] apeiros: nofxx: oh, lol, I thought norc had asked
[22:47:51] apeiros: ?guys nofxx <- though, this ;-)
[22:47:51] ruboto: nofxx, Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
[22:49:07] nofxx: Cool... also, cops suggest #format over #%
[22:49:13] blarghlarghl: has joined #ruby
[22:49:25] apeiros: that's one thing I beat out of cops
[22:49:30] norc: Here goes the cops hunting again.
[22:49:51] apeiros: not hunting. beating. it's useful once it has sane config ;-p
[22:49:57] Someone_Else: norc: Managed to compile 1.8.1 w/ the given patch
[22:49:58] norc: cops is sweet for refactoring these " into ' - but thats about it. :D
[22:50:08] nofxx: apeiros, guess because its a from C thing
[22:50:17] apeiros: though I'd still love a whitelist functionality, like "yes, line 1241 is over 100 chars, but it's fine, don't tell me again"
[22:50:17] blarghlarghl: Hi. Is there a way to capture rspec output from a rake task when invoking the task via Rake::Task[task].invoke ? I'd like to capture the documentation output to a variable and print it all at the end in one go, rather than have it "build up" as it does. I tried redirecting $stdout, but no luck.
[22:50:26] apeiros: nofxx: that'd be sprintf
[22:50:40] norc: apeiros: I recommend upgrading your 19 inch screen if you adhere to 80 lines consistently.
[22:50:40] ninegrid: I dunno, I'm kind of offended by being called folksy, and 'all' is too inclusive and doesn't acknowledge my individuality
[22:50:47] apeiros: nofxx: which is actually what I prefer :D
[22:51:06] nofxx: apeiros, yup... in other words: foreign for the non C programmer
[22:51:10] zenspider: blarghlarghl: "no luck" is not descriptive
[22:51:11] apeiros: norc: 80 *lines*? you sure have short classes, sir (or mam);-p
[22:51:12] InvGhost: has joined #ruby
[22:51:27] apeiros: nofxx: format is just as foreign
[22:51:28] norc: Oh well.
[22:51:34] blarghlarghl: zenspider: "no luck" as in, it completely ignores the fact that I am redirecting $stdout and keeps on doing what it normally does.
[22:51:38] h99h9h88: has joined #ruby
[22:51:49] zenspider: blarghlarghl: have you tried standard error?
[22:52:05] apeiros: !kick ninegrid we're not interested. if you want to be inconsiderate, be that somewhere else.
[22:52:07] ruboto: ruboto kicked ninegrid: not interested. if you want to be inconsiderate, be that somewhere else.
[22:52:07] ruboto: -o ruboto
[22:52:33] norc: apeiros: Wasn't so hard. s/\n/;/ sorts all your rubocop warnings about long methods.
[22:52:37] blarghlarghl: zenspider: This time round, no, but I did last time. (This is an old problem I'm coming back to.) Let me confirm that it doesn't work and get back to you in 2 minutes.
[22:52:59] zenspider: blarghlarghl: are you redirecting at the shell level, or trying to do it w/in ruby?
[22:53:13] ninegrid: has joined #ruby
[22:53:28] norc: apeiros: It gives you this warm feeling of happiness when you know you improved your code quite a bit, now that rubocop is no longer complaining about THAT.
[22:53:43] stannard: has joined #ruby
[22:53:43] blarghlarghl: zenspider: within ruby, as in redirecting $stdout = StringIO.new, run the block, then $stdout = STDOUT to restore things to sanity.
[22:54:10] blarghlarghl: zenspider: (that is, all of that with relevant local variables to be able to assign/reassign and print later, but this is the general method I'm using.)
[22:54:42] nofxx: apeiros, ops... agreed. I tought it was String#format, it's ... main#format .... core? kernel?
[22:54:47] yfeldblum: has joined #ruby
[22:55:15] apeiros: nofxx: Kernel
[22:55:21] apeiros: nofxx: all pseudo-functions are in Kernel
[22:55:22] zenspider: blarghlarghl: you shouldn't assume that rspec (or minitest) uses $stdout to output
[22:55:44] Papierkorb: zenspider: may not be ideal for you, but you can also run the specs in their own process and then not fiddle with $stderr and friends
[22:55:48] blarghlarghl: zenspider stderr also no luck.
[22:55:48] jbrhbr: how come there is no .to_bool?
[22:55:54] zenspider: blarghlarghl: `rake &> output.txt` is a much cleaner way
[22:56:00] blarghlarghl: zenspider: Yeah. That's kinda why I'm here :)
[22:56:02] nofxx: apeiros, thanks.... very functional for... ruby heheh
[22:56:07] zenspider: jbrhbr: why should there be? everything is truthy or falsey
[22:56:15] blarghlarghl: zenspider, Ah, no, that's not an option for us - can't really shell out.
[22:56:15] Papierkorb: jbrhbr: ruby doesn't have a Boolean class.
[22:56:32] jbrhbr: there's TrueClass and FalseClass. i'm surprised they don't inherit from BooleanClass
[22:56:50] zenspider: blarghlarghl: how do you write a test that verifies its output if rspec actively uses $stdout to print its output at the same time?
[22:56:59] ninegrid: has left #ruby: ()
[22:57:03] nofxx: jbrhbr, yeah... what confuses a lil is that ODM/ORM create the Boolean. AR or mongoid for instance
[22:57:05] Papierkorb: jbrhbr: what is .to_bool supposed to do, and on which class?
[22:57:10] blarghlarghl: Papierkorb: I'm the one with the issue - saw your message. I am running them in my own process - everything inside a fork. But not its own process the way you mean probably.
[22:57:20] blarghlarghl: zenspider: Right. That makes sense - I see why rspec is doing things that way.
[22:57:22] zenspider: blarghlarghl: "can't shell out"? you run your tests. there's probably a shell SOMEHERE
[22:57:27] skade: has joined #ruby
[22:57:28] jbrhbr: Papierkorb: logic consistent with the application of ruby's truthiness, so !!v basically
[22:57:30] Papierkorb: blarghlarghl: yeah I'd do `bundle exec rspec` or something
[22:57:33] devbug: has joined #ruby
[22:57:54] jbrhbr: zenspider: it's a fair question i suppose and i don't have a good answer
[22:57:59] Lions: has joined #ruby
[22:58:08] jbrhbr: 'data clealiness' is the best i can come up with
[22:58:11] peterhil`: has joined #ruby
[22:58:16] blarghlarghl: zenspider: Oh, it's not a case of technically can't. We can. It's just that there's a _lot_ of environment setup that happens before the test task gets called which would get lost if we shell out.
[22:58:25] jbrhbr: if you're persisting some value and you want to constrain it to boolean, it's nice if it's actually false rather than nil
[22:58:25] gf3: has joined #ruby
[22:58:40] Papierkorb: jbrhbr: in theory, it's just: class Object; def to_b; !!self; end; end
[22:58:51] jbrhbr: Papierkorb: exactly
[22:59:06] Papierkorb: jbrhbr: I'm not sure if that's a good idea, but when considering active support .. nobody cares I guess
[22:59:11] blarghlarghl: zenspider: I guess if there's no sane way of redirecting RSpec's in-ruby output, then I'll have to figure out a way to move the env setup behind the shell-out.
[22:59:16] blarghlarghl: zenspider: but that's very subideal.
[22:59:32] jbrhbr: Papierkorb: it's more consistent is all, since there's .to_whatever for all of the other cases
[22:59:47] jbrhbr: rather than requiring someone to write !! in one case
[22:59:57] edwinvdgraaf: has joined #ruby
[23:00:14] Papierkorb: jbrhbr: sure, and as even stuff like json or yaml patch themselves (in Rails) into any object ..
[23:01:15] dotix: has joined #ruby
[23:01:25] rickmasta: has joined #ruby
[23:01:34] edwinvdgraaf: has joined #ruby
[23:01:50] NightMonkey: Howdy. Dumb SysAdmin here. How do I get 'ri' to show me information about methods available to 'self'?
[23:02:04] apeiros: NightMonkey: you need to figure out what self is first
[23:02:08] apeiros: self.class
[23:02:11] NightMonkey: Ex: 'ri self.clone'
[23:02:28] apeiros: but clone is inherited from Object, so Object#clone:
[23:02:31] apeiros: &ri Object#clone
[23:02:32] `derpy: method `Object#clone`: Produces a shallow copy of obj---the instance variables of obj are copied, but n??? ??? http://rubydoc.info/stdlib/core/Object#clone-instance_method
[23:03:01] NightMonkey: apeiros: If nothing else is done to 'self', does it inherit everything the 'Object' provides?
[23:03:02] apeiros: (and even if it's redefined in a subclass, then that's usually done to preserve the idea of Object#clone)
[23:03:40] apeiros: NightMonkey: self is just the "current" object. (almost) all objects are instances of a class which inherits from Object.
[23:03:50] allcentury: has joined #ruby
[23:03:54] apeiros: there are a few exceptions - instances of BasicObject and descendants
[23:03:56] theery: has joined #ruby
[23:04:07] norc: >> catch(:fun) do; o = Object.new; def o.to_str; throw(:fun); end; $LOADED_FEATURES.unshift(o); require 'fiddle'; Fiddle::Pointer.new(1.object_id * 2)[1] &= ~8; 1.instance_variable_set(:"f", 1); end; puts "foo"
[23:04:08] ruboto: norc # => foo ...check link for more (https://eval.in/479475)
[23:04:12] norc: The absolute fun you can have with this.
[23:04:42] symbol: has joined #ruby
[23:05:24] NightMonkey: apeiros: Thanks. Interesting. However, while I can do 'self.class', 'ri Object@class' comes back with not found.
[23:05:44] adaedra: Object@class?
[23:05:57] apeiros: NightMonkey: terminology is # for instance methods and :: for class methods
[23:06:05] apeiros: @ is not used for documentation
[23:06:31] adaedra: NightMonkey: &ri Object#class
[23:06:32] `derpy: NightMonkey: method `Object#class`: Returns the class of obj. This method must always be called with an explicit rec??? ??? http://rubydoc.info/stdlib/core/Object#class-instance_method
[23:06:34] apeiros: and `class` is an instance method, so in documentation, it is referred to as Object#class (instance method 'class' of class 'Object')
[23:06:47] NightMonkey: Sorry! I meant "#". Also "Object::class" comes up empty.
[23:06:48] Lions: has left #ruby: ()
[23:06:57] apeiros: yupp, because it's an instance method ;-)
[23:07:03] apeiros: if you're not sure, use .
[23:07:04] NightMonkey: apeiros: Ah, weird. Perhaps some of my docs are missing...
[23:07:19] apeiros: in documentation, Object.class is "either instance or class method" (IMO a bad choice, but that's how it is)
[23:07:33] apeiros: NightMonkey: hm, usually either *all* core docs are missing, or none
[23:07:48] apeiros: NightMonkey: does `ri Array` say "Unknown xxx" too?
[23:07:53] troyready: has joined #ruby
[23:07:53] NightMonkey: apeiros: Well, you helped me answer this question - thank you!
[23:08:29] apeiros: NightMonkey: if above says "nothing known" (or similar) too, then it means you don't have core docs installed. depending on your distro, you have to install another package.
[23:08:41] NightMonkey: apeiros: I'm using rvm, fwiw.
[23:08:53] NightMonkey: With ruby-2.2.1.
[23:09:18] norc: Though here is a question: Why is this not working?
[23:09:24] apeiros: NightMonkey: rvm docs generate
[23:09:27] norc: >> catch(:fun) { o = Object.new; def o.to_str; throw(:fun); end; $LOADED_FEATURES.unshift(o); Process.kill(:SEGV, $$) }; puts "foo"
[23:09:28] ruboto: norc # => (https://eval.in/479476)
[23:09:34] apeiros: by default, rvm does not generate docs.
[23:09:49] NightMonkey: apeiros: You are solving more than I asked for. I like it. :)
[23:10:00] apeiros: NightMonkey: also, use pry and install pry-doc. pry is like irb, but slightly better. then you can do `? self.class` and it'll show you the docs.
[23:10:17] NightMonkey: ACTION dissolves into a puddle of happiness.
[23:10:28] Papierkorb: "slightly better" O??;
[23:10:37] apeiros: `$ self.class` will show you its source code (doesn't work for native C methods of extensions)
[23:10:43] duncannz: has joined #ruby
[23:10:52] apeiros: Papierkorb: up to you to define how large "slightly" is ;-)
[23:10:58] edwinvdg_: has joined #ruby
[23:11:08] blarghlarghl: why has no one ever told me about pry?
[23:11:16] blarghlarghl: thanks apeiros
[23:11:16] NightMonkey: apeiros: I am a huuuge fan of anything that extends tab-completion. :)
[23:11:22] apeiros: blarghlarghl: the brochures have been in the office for months!
[23:11:26] yxhuvud: blargh: you have lived under a rock?
[23:11:35] NightMonkey: I am now mostly a "Tab Completion Engineer".
[23:11:40] jbrhbr: pry has its issues still from what i've seen
[23:11:46] jbrhbr: i want to try out the ruby notebook thing
[23:11:49] xet7: has joined #ruby
[23:11:52] norc: apeiros: You probably know this. Then I fiddle around in Ruby causing an access violation, the linux kernel will just seng SEGV to the offending process right?
[23:12:06] Papierkorb: blarghlarghl: try raising anything, and then ask pry what you ask yourself: wtf?!?!?
[23:12:23] Papierkorb: I'm not kidding. do it.
[23:12:39] apeiros: f'ing trump! (not the idiot, the gamer) - why can he brawl and I can't?!?
[23:12:42] blarghlarghl: Papierkorb: Beautiful.
[23:13:06] blarghlarghl: Papierkorb: I like the progression when adding more and more ?!'s
[23:13:16] apeiros: ugh. blizzard. y u so bad at math? 20.00 -> 0.00 is NOT 20h
[23:13:42] Papierkorb: blarghlarghl: show-code Foo#bar shows the code, but I like edit Foo#bar better
[23:14:01] apeiros: show-code = $ btw.
[23:14:11] apeiros: ACTION too lazy to type show-code
[23:14:15] Papierkorb: was always annoying to type that. thanks.
[23:14:23] apeiros: I quite dislike the `wtf?!?!?!?!` mechanic of pry, though
[23:14:40] baweaver: has joined #ruby
[23:15:07] Papierkorb: blarghlarghl: require 'pry' in your project, and then call "binding.pry" anywhere to get into a pry shell. try 'ls' to list everything `self` can see directly. et cetera
[23:15:11] blarghlarghl: apeiros: it's a bit cutesy. i can see why it'd be annoying.
[23:15:27] Papierkorb: apeiros: there's always cat --ex
[23:15:31] blarghlarghl: Papierkorb: pry(main)> show-code Array#first # => SyntaxError: unexpected tCONSTANT, expecting keyword_do or '{' or '('
[23:15:37] blarghlarghl: Papierkorb: Am I being dumb? I'm being dumb, right?
[23:15:42] adaedra: ACTION waves goodbye
[23:16:13] al2o3-cr: should be show-source
[23:16:46] blarghlarghl: Yep, that'll do it. Thanks :)
[23:16:59] ivanskie: has joined #ruby
[23:17:19] norc: >> catch(:fun) do; o = Object.new; def o.to_str; throw(:fun); end; $LOADED_FEATURES.unshift(o); require 'fiddle'; Fiddle::Pointer.new(0.object_id * 2)[1] &= ~8; :foo.instance_variable_set(0, 1); end; puts "foo"
[23:17:20] ruboto: norc # => foo ...check link for more (https://eval.in/479477)
[23:17:31] IrishGringo: has joined #ruby
[23:17:47] Papierkorb: blarghlarghl: Pry also parses documentation by itself for pretty printing. no need to have a yard server running: show-doc YourOwn#method
[23:17:52] norc: Seriously, why can I longjmp out of segmentation fault caused by an actual access violation, but not from one triggered by SEGV manually
[23:17:53] Kyuujitsu: has joined #ruby
[23:18:27] blarghlarghl: Papierkorb: thank you :)
[23:18:42] sepp2k: has joined #ruby
[23:19:09] woven: has joined #ruby
[23:20:34] karapetyan: has joined #ruby
[23:21:19] voker57: has joined #ruby
[23:21:19] voker57: has joined #ruby
[23:22:28] kaspergrubbe: has joined #ruby
[23:22:34] leslie: has joined #ruby
[23:22:34] leslie: has joined #ruby
[23:22:48] lucas: has joined #ruby
[23:22:53] Takumo: has joined #ruby
[23:22:53] Takumo: has joined #ruby
[23:23:02] tekacs: has joined #ruby
[23:23:06] JoL1hAHN: has joined #ruby
[23:23:45] Papierkorb: blarghlarghl: one last thing, there's also the 'pry-rails' gem for rails integration, which replaces irb for rails console. you can then also call binding.pry in your controllers et al, the console will show in the terminal where you started the server (Though better_errors is also good)
[23:24:08] drPoggs: has joined #ruby
[23:24:11] [spoiler]: has joined #ruby
[23:26:21] blarghlarghl: Papierkorb: that's neat too - though we aren't a Rails shop. :)
[23:26:31] cfloare: has joined #ruby
[23:28:58] araujo: has joined #ruby
[23:30:12] porfa: has joined #ruby
[23:30:23] porfa: hello! :)
[23:34:17] shevy: Porfa is back to haunt #ruby again yay
[23:34:40] roxtrongo: has joined #ruby
[23:35:19] peterhil`: has joined #ruby
[23:35:24] porfa: shevy: hahah :) im just hanging out, unfortunally for you of course :p
[23:35:51] porfa: i haven???t been coding, been learning other things, i miss having the change to be just on ruby
[23:35:54] myztic: has joined #ruby
[23:38:17] sarkis: has joined #ruby
[23:38:18] ivanskie: sinisterchipmunk are you around?
[23:38:20] myztic: has joined #ruby
[23:38:39] solocshaw: has joined #ruby
[23:39:22] CloCkWeRX: has joined #ruby
[23:39:47] CloCkWeRX: has left #ruby: ()
[23:47:21] finisherr_: has joined #ruby
[23:51:08] finisherr: has joined #ruby
[23:52:16] paradisaeidae: has joined #ruby
[23:53:29] sfmk: has joined #ruby
[23:54:03] amincd: has joined #ruby
[23:54:17] atmosx_: has joined #ruby
[23:54:21] amincd: what does this do: str[regex, fixnum]?
[23:54:37] evil_shibe: has left #ruby: ()
[23:55:42] Diabolik: has joined #ruby
[23:55:55] ethe: has joined #ruby
[23:55:58] alindeman: has joined #ruby
[23:55:59] contradictioned: has joined #ruby
[23:56:00] heftig: has joined #ruby
[23:56:10] kalleth: has joined #ruby
[23:56:10] Bish: has joined #ruby
[23:56:17] nateberkopec: has joined #ruby
[23:56:17] ethe: What is the difference between = and << ?
[23:56:21] finisherr_: has joined #ruby
[23:56:22] amincd: how do I match the two Ls in "HELLO" using the str[regex, fixnum] syntax?
[23:56:54] danielpclark: has joined #ruby
[23:56:55] amincd: what does the fixnum argument do?
[23:57:29] diego2: has joined #ruby
[23:57:34] Hobbyboy: has joined #ruby
[23:57:45] diego2: has joined #ruby
[23:58:25] havenwood: amincd: str[regexp, capture] ??? new_str or nil
[23:58:29] porfa: has joined #ruby
[23:58:42] amincd: havenwood: what does 'capture' mean?
[23:59:50] havenwood: amincd: http://ruby-doc.org/core/Regexp.html#class-Regexp-label-Capturing