« Back to channel list

#ruby - 01 June 2015

« Back 1 day Forward 1 day »
[00:00:10] jfarmer: But assuming you were being literal and want "0xDD" where "D" is an uppercase hex digit, sprintf is more straightforward.
[00:00:20] starless: has joined #ruby
[00:00:43] jfarmer: (vs. something like "0x#{n.to_s(16).upcase}")
[00:06:49] ellisTAA: i???ve been seeing this geometric shapes on so many websites, besides looking good what is the point? is there some reference i???m not getting? http://bowery.io/
[00:10:20] pontiki: EllisTAA: i don't know, but i'm assuming it's a template thingie. I saw something about how to make them somewhere in the recent past, but i can't be arsed to go dig it up.
[00:13:57] balazs: has joined #ruby
[00:16:30] meph: has joined #ruby
[00:16:37] workmad3: has joined #ruby
[00:16:51] Kharma: has joined #ruby
[00:17:42] mrmargolis: has joined #ruby
[00:17:54] Musashi007: has joined #ruby
[00:18:33] dc: has joined #ruby
[00:19:36] keen___________3: has joined #ruby
[00:23:01] CloCkWeRX: has joined #ruby
[00:28:28] Oog: has joined #ruby
[00:28:43] allcentury: has joined #ruby
[00:29:37] phizzbuzz: has joined #ruby
[00:29:38] _djbkd: has joined #ruby
[00:29:45] Aeyrix: jfarmer: Worked for me, thanks.
[00:33:15] ismaelga: has joined #ruby
[00:36:47] balazs: has joined #ruby
[00:38:41] govt: has joined #ruby
[00:38:52] allcentury: has joined #ruby
[00:39:26] govt: http://repl.it/qN5 : I am having trouble with an instance variable I'm defining in a module, its turning to nil somehow when I go to call methods from it
[00:40:06] neanderslob: has joined #ruby
[00:40:08] jstanton: has joined #ruby
[00:43:15] Radar: govt: repl.it isn't loading for me. Please gist.github.com it instead
[00:43:47] govt: loads just fine for me
[00:44:02] Radar: That won't help me fix your problem.
[00:44:13] Aeyrix: govt: Under def initialize
[00:44:19] Aeyrix: @stats = CharacterStats.stats
[00:44:21] jpfuentes2: has joined #ruby
[00:44:51] govt: I thought thats what the module was supposed to do
[00:45:16] govt: otherwise I might as well just eliminate the module entirely, and generate the stats hash from an array of the stat names for each object
[00:45:28] Jonah11_: has joined #ruby
[00:45:42] pontiki: an instance variable in a module is not directly accessible to classes that include it
[00:46:23] pontiki: what you may want in the module is a method that freezes that hash
[00:46:41] vivekananda: has joined #ruby
[00:46:43] havenwood: has joined #ruby
[00:46:52] Aeyrix: govt: Let me see properly, hang on.
[00:47:14] Aeyrix: Why is repl.it's formatting so bad?
[00:47:29] pontiki: sorry, not freeze; memoize
[00:47:42] Ropeney: has joined #ruby
[00:47:44] Heartmender: has left #ruby: ("boop~")
[00:47:48] mistermocha: has joined #ruby
[00:48:16] retornam: has joined #ruby
[00:49:23] jfarmer: govt I strongly recommend against that pattern (using instance variables as an interface between a module and the objects it's included in)
[00:49:27] fedexo: has joined #ruby
[00:49:49] govt: what would ya recommend? as you can see i have no what im doing
[00:49:57] govt: no idea*
[00:50:15] jfarmer: Given the code as it exists, it's hard to see why a module make sense here in the first place.
[00:50:32] Aeyrix: jfarmer: I figured it was part of something larger and required the module.
[00:50:40] jfarmer: Sure, maybe
[00:50:50] krz: has joined #ruby
[00:51:09] robustus: has joined #ruby
[00:51:27] DynamicMetaFlow: has joined #ruby
[00:52:03] jfarmer: I'm generally good at imagining "alternate universes" where someone's code makes sense, and I don't really see it here. If every character has the same set of possible stats, plain ol' inheritance from a +Character+ base class makes the most sense.
[00:52:44] shadeslayer: so, curious, does anyone know how Array::min is implemented
[00:52:51] shadeslayer: I couldn't grep it in the code
[00:53:21] jfarmer: shadeslayer It's defined in the numerable module
[00:53:25] jfarmer: http://ruby-doc.org/core-2.2.2/Enumerable.html#method-i-min
[00:53:38] shadeslayer: thanks jfarmer
[00:53:48] jfarmer: (That's info you could get from the docs.)
[00:53:50] jfarmer: But more generally...
[00:54:02] shadeslayer: yeah, I was merely grepping the code
[00:54:28] shadeslayer: just trying to figure out why [ nil, nil ].min returns nil
[00:54:42] jfarmer: Every C file that defines a class/module/whatever has a big collection of C calls at the bottom of the file that map the name of a method in Ruby-land to a C function
[00:55:18] jfarmer: shadeslayer I would guess that "nil <=> nil" is a totally valid expression
[00:55:30] jfarmer: and returns 0
[00:55:38] shadeslayer: jfarmer: yeah, but nil < nil doesn't
[00:55:49] shadeslayer: so I suppose the spaceship operator is implemented in the NilClass
[00:55:57] jfarmer: Sortable things in Ruby generally use <=>
[00:55:58] shadeslayer: but somehow it doesn't include the Comparable module?
[00:56:17] shadeslayer: right, however, with <=> and the comparable module, it'd work out
[00:56:20] pontiki: be careful about treating nil as something
[00:56:37] shadeslayer: pontiki: right, it's just a thought excercise at 3 AM in the morning :P
[00:56:55] shadeslayer: and made me quite curious as to why it's behaving the way it is
[00:57:41] jfarmer: shadeslayer Anyhow, re: finding methods starting from the C code, every file has a big list of calls that bind a Ruby name to an actual C function
[00:57:45] pontiki: so does it appear any different than doing [1,1].min #=> 1 ?
[00:58:12] RegulationD: has joined #ruby
[00:58:26] jfarmer: shadeslayer Using that knowledge, I know that searching for the string +"min"+ will turn up one of those rb_define_method calls
[00:58:41] shadeslayer: yep https://paste.kde.org/pdo68rbuv
[00:58:43] ghr: has joined #ruby
[00:58:49] jfarmer: Because it's like rb_define_method(rb_mEnumerable, "min", some_c_function) (IIRC)
[00:59:03] nettoweb: has joined #ruby
[00:59:14] bogdanteleaga: has joined #ruby
[00:59:36] shadeslayer: > $ grep -iR rb_define_method array.c | grep -i min
[00:59:40] shadeslayer: jfarmer: ^ gives me nothing
[00:59:54] shadeslayer: you meant grepping in the enumerable module?
[01:00:10] bruno-: has joined #ruby
[01:01:19] shadeslayer: so, is there a reason NilClass implements a <=> operator, but then doesn't include the comparable module?
[01:02:12] kinduff_: has joined #ruby
[01:02:30] jfarmer: shadeslayer I'm going from memory here
[01:02:34] jfarmer: Also why array.c?
[01:02:45] shadeslayer: jfarmer: I assumed that's what implemented the array class :)
[01:02:45] jfarmer: That's not where the Enumerable module is defined
[01:02:57] shadeslayer: jfarmer: right, I was searching in the wrong place :)
[01:03:01] shadeslayer: as I admitted before
[01:03:26] shadeslayer: jfarmer: I did find enum.c: rb_define_method(rb_mEnumerable, "min", enum_min, -1);
[01:03:40] mello: has joined #ruby
[01:03:53] Musashi007: has joined #ruby
[01:04:23] Aeyrix: govt: https://gist.githubusercontent.com/Aeyrix/a77780db011b76915803/raw/deb59799d75df9311968e13298b87c844790305f/gistfile1.txt
[01:04:25] jfarmer: I was proposing you search for the C string literal +"min"+
[01:04:27] jfarmer: http://cl.ly/image/1I2M0t040O1d
[01:04:27] Aeyrix: At a quick guess. This works.
[01:04:51] ellisTAA: has joined #ruby
[01:05:17] shadeslayer: jfarmer: ah ok
[01:05:56] choke: has joined #ruby
[01:06:02] jfarmer: But normally I make sure I'm clear on where the method I'm interested in is actually defined in Ruby-land and then look at that file first.
[01:06:49] jfarmer: So Enumerable#min is bound to the C function +enum_min+
[01:07:01] jfarmer: That's here: https://github.com/ruby/ruby/blob/ruby_2_2/enum.c#L1434-L1455
[01:07:07] govt: http://repl.it/qN5/1 : reorganized into separate classes, still having same problem of nil instance variable
[01:07:17] Aeyrix: govt: Look at what I pasted.
[01:07:47] jfarmer: +enum_min+ isn't doing anything besides calling another C-level function depending on the argument (was the argument nil, were we given a block, etc. etc.)
[01:07:49] freerobby: has joined #ruby
[01:08:42] kinduff: has joined #ruby
[01:08:51] zotherstupidguy: has joined #ruby
[01:09:23] Musashi007_: has joined #ruby
[01:09:29] govt: ive done something similar, but for whatever reason, the instance variable im defining in the base class is nil whenever i use it in the child class
[01:09:51] jfarmer: If you puzzle out what each bit is doing, your +[nil, nil].min+ example will eventually result in +min_i+ getting called, which is here: https://github.com/ruby/ruby/blob/ruby_2_2/enum.c#L1370-L1388
[01:09:54] shadeslayer: govt: your closure is all weird
[01:10:46] veduardo: has joined #ruby
[01:10:49] shadeslayer: jfarmer: right, going through it
[01:11:38] Aeyrix: govt: That's because you haven't done something similar.
[01:11:44] freerobby: has joined #ruby
[01:11:57] mrchris: has joined #ruby
[01:12:18] s2013: has joined #ruby
[01:12:24] govt: i just want the child class to recieve the instance variable, and not have to boilerplate @stats = someStatsSomewhereElse everytime I define a new player class
[01:12:45] jfarmer: govt If you override +initialize+ in a subclass, the +initialize+ from the parent class will never get called
[01:13:00] Aeyrix: govt: ... wat
[01:13:03] Aeyrix: What I pasted doesn't do that.
[01:13:22] Aeyrix: To define a player is a grand total of four lines.
[01:13:23] govt: jfarmer: gotcha, didnt know about that
[01:14:08] jfarmer: Aeyrix I think govt is just not reading you code (or not reading it closely) and is instead focused on what he's written.
[01:14:15] jfarmer: (explaining, not justifying)
[01:14:25] govt: i read it
[01:15:06] Aeyrix: govt: What you're saying is indicating otherwise.
[01:16:31] govt: when I inherit a class like A < B how can I give A access to B's instance variables without having to call a separate method in initialize?
[01:16:37] sye: has joined #ruby
[01:16:47] shadeslayer: jfarmer: while I'm still trying to read that min call code, any thoughts on why NilClass implements <=> but doesn't include comparable?
[01:17:04] choke: has joined #ruby
[01:17:27] jfarmer: I don't know that it implements it itself; for all I know there's a base <=> defined on every object.
[01:17:37] govt: if I have to go and set each subclass' instance variables to the parent class' by hand each time then there is really no point in bothering making a base class if I'm going to have boilerplate
[01:18:14] victorkohl: has joined #ruby
[01:18:15] Aeyrix: govt: ... by calling the variable?
[01:19:00] Aeyrix: if you did, as per my code: class PlayerCharacter < Entity; p @stats; end;
[01:19:02] Aeyrix: it'd work
[01:19:16] Channel6: has joined #ruby
[01:20:02] Aeyrix: It'd be nil, because it's not been defined until you run generate_stats(x), but it's there.
[01:20:16] ellisTAA: has joined #ruby
[01:21:00] noethics: Aeyrix, ya but do you even m8
[01:21:10] nettoweb: has joined #ruby
[01:21:16] Aeyrix: tbh govt I don't even know what you're asking. Your question just doesn't even line up with the code I gave you.
[01:21:32] Aeyrix: The only "boilerplate" for the RandomizedCharacter class you had, in my code, is " < Entity".
[01:21:46] jfarmer: He wants some "default" instance variable to be defined in every Character object he creates.
[01:21:47] govt: you know, fuck it
[01:22:02] jfarmer: without having to call a method or do anything special
[01:22:10] Oog: has joined #ruby
[01:22:34] balazs_: has joined #ruby
[01:23:14] Aeyrix: jfarmer: You can do that with the #inherited method.
[01:24:03] shadeslayer: jfarmer: you're probably right that Object implements <=> and would explain why NilClass doesn't include Comparable then
[01:24:20] shadeslayer: jfarmer: thanks for all the help, it's been insightful, I'll try and read this C code tomorrow though :P
[01:24:44] jfarmer: shadeslayer I'm with you in the sense that I think <=> should _always_ return -1, 0, or 1
[01:25:01] jfarmer: but don't see how that's possible for a generically-defined <=>
[01:25:10] jfarmer: My guess is that Ruby does something like...
[01:25:25] jfarmer: def <=>(other); self == other ? 0 : nil; end
[01:25:35] shadeslayer: well, the problem is that Object implements <=> but then it doesn't actually use <=> for implementing < , =, or >
[01:25:59] shadeslayer: so you have <=> defined, but not < and causes nil < nil to not work
[01:25:59] jfarmer: In my mind that's a design choice, not a problem.
[01:26:06] jfarmer: Why do we care if nil < nil works or not?
[01:26:09] shadeslayer: right, just trying to understand the justification
[01:26:32] jfarmer: I don't know; if <=> is allowed to return nil in general then I think it's fine to have it defined the way I just described.
[01:26:41] jfarmer: nil could mean "not comparable" or something like that
[01:26:53] sye: has joined #ruby
[01:26:57] shadeslayer: that would be what I'd prefer honestly
[01:27:24] shadeslayer: are 2 nil's really comparable? idk ...
[01:27:26] Radar: that govt fellow was charming
[01:27:29] Radar: I really hope he comes back
[01:27:47] shadeslayer: and apparently doesn't allow comparing None types
[01:27:58] noethics: >> class A; attr_accessor :stats; def initialize; @stats = [1,2,3]; end; end; class B < a; end; b = B.new; puts b.stats
[01:27:59] ruboto: noethics # => undefined local variable or method `a' for main:Object (NameError) ...check link for more (https://eval.in/373494)
[01:27:59] shadeslayer: ( just a observation )
[01:28:00] choke: has joined #ruby
[01:28:07] noethics: >> class A; attr_accessor :stats; def initialize; @stats = [1,2,3]; end; end; class B < A; end; b = B.new; puts b.stats
[01:28:08] ruboto: noethics # => 1 ...check link for more (https://eval.in/373495)
[01:28:11] Oog: has joined #ruby
[01:28:34] havenwood: >> public_method(:<=>).owner
[01:28:35] ruboto: havenwood # => Kernel (https://eval.in/373496)
[01:28:50] Aeyrix: Someone should implement ruboto parsing with a heredoc so it can be over multiple lines.
[01:28:52] shadeslayer: I did not know that, that's so cool
[01:28:57] babykosh: has joined #ruby
[01:30:40] noethics: isn't that what the guy wanted
[01:30:54] noethics: lol @ "Page closed" exit message though
[01:30:59] jfarmer: He wants to do other things in his subclass's initialize message
[01:31:11] noethics: oh thats easy
[01:31:18] jfarmer: (without calling super)
[01:31:30] jfarmer: (which he feels "defeats the purpose")
[01:31:39] krz: has joined #ruby
[01:31:45] jfarmer: He could flip it around and have the superclass call a custom initialize method
[01:31:52] jfarmer: And then require his subclasses to define said method
[01:32:02] noethics: the cleanest way is to just call super ofc
[01:32:23] noethics: what a dumbo
[01:33:21] tkuchiki: has joined #ruby
[01:34:35] Aeyrix: jfarmer: govt?
[01:35:00] Aeyrix: ACTION doesn't see quit messages for sanity reasons.
[01:37:33] WillAmes: has joined #ruby
[01:40:33] jfarmer: hah same here
[01:41:46] kinduff_: has joined #ruby
[01:43:43] kinduff: has joined #ruby
[01:44:53] Peteykun: has joined #ruby
[01:44:54] Petey|N: has joined #ruby
[01:44:54] peteyg: has joined #ruby
[01:47:24] s2013: has joined #ruby
[01:47:26] charliesome: has joined #ruby
[01:49:45] Sawbones: has joined #ruby
[01:54:49] Yzguy: has joined #ruby
[01:58:20] Radar: So I have this really messed-in-the-head API that I'm working with.
[01:58:38] Radar: It returns a JSON object if there's only one result returned in the request, or a JSON array if there's more than one.
[01:58:44] Radar: First question: why would anyone design an API like this?
[01:58:48] noethics: that's mean
[01:59:00] Radar: Second question: how can I coerce the result to an Array regardless of whether it's a JSON object or array?
[01:59:01] ghr: has joined #ruby
[01:59:15] Radar: noethics: I think it's because they have no ethics.
[01:59:48] Radar: Re: 2nd question: I mean more than just if result = result.is_a?(Hash) ? [result] : result
[01:59:51] Ox0dea: >> [Array[*1], Array[*[1]]]
[01:59:52] ruboto: Ox0dea # => [[1], [1]] (https://eval.in/373510)
[02:00:01] Ox0dea: Radar: Replace "1" with foo.
[02:00:09] noethics: make your own unmarshaller
[02:00:35] jfarmer: Radar: Array(result)
[02:00:45] Radar: Ox0dea: https://eval.in/373511
[02:00:58] Ox0dea: Radar: jfarmer's suggestion is better.
[02:01:12] Radar: https://eval.in/373512
[02:01:19] Radar: Array(result) won't work either.
[02:02:15] Sawbones: has left #ruby: ()
[02:02:46] jfarmer: damnit Ruby
[02:03:36] Ox0dea: To be fair, it's doing what the spec says it does.
[02:04:51] jfarmer: Can't even use the splat operator
[02:04:55] jfarmer: with a Hash like that
[02:05:54] kinduff: has joined #ruby
[02:06:00] jfarmer: Radar: The best I've got: https://gist.github.com/jfarmer/6784a62efc61feca439d
[02:06:29] yh: has joined #ruby
[02:06:32] Aeyrix: >why would anyone...
[02:06:38] Aeyrix: the one biggest problem with programming language communities
[02:06:49] Aeyrix: "Why would you want to do that?"
[02:06:54] Aeyrix: Who cares? That's what they want to do.
[02:08:20] Ox0dea: Aeyrix: "If I had asked people what they wanted, they would have said faster horses." -- Henry Ford
[02:08:20] towski_: has joined #ruby
[02:08:29] Aeyrix: Ox0dea: Not necessarily relevant.
[02:08:36] Ox0dea: It... clearly is.
[02:08:53] CustosLimen: has joined #ruby
[02:08:55] Aeyrix: I was talking to someone at Ruxmon on Friday, they told me they were trying to write Ruby bindings for a project they were working on.
[02:09:09] Aeyrix: The response they got when they asked a question specific to that was "why would you want to do that?"
[02:09:17] Aeyrix: As a result, that project doesn't have Ruby bindings.
[02:09:22] Aeyrix: He wrote Python ones instead.
[02:09:26] noethics: Radar, you can probably try setting the object_class and array_class options in JSON.parse to your own object
[02:09:43] noethics: then convert one to the other
[02:09:49] Ox0dea: That's a shame, but it's nevertheless the case that a person's unknown unknowns can cause them to ask the wrong questions.
[02:10:45] Aeyrix: Ox0dea: I feel that in many cases it's not someone's place to assume it's the wrong question initially.
[02:10:54] Aeyrix: You just end up with people like govt, or the person from Ruxmon.
[02:11:18] Aeyrix: Ruxmon is a monthly security meetup in my city, for context. I realised I'm referencing it without explaining it.
[02:11:25] jfarmer: Apropos this problem of having consistent types, I highly recommend this presentation: http://avdi.org/talks/confident-code-railsconf-2011/
[02:13:16] choke: has joined #ruby
[02:17:37] sevenseacat: has joined #ruby
[02:18:51] nateberkopec: has joined #ruby
[02:20:31] nettoweb: has joined #ruby
[02:22:43] darkf: has joined #ruby
[02:27:24] Mizouri: has joined #ruby
[02:28:01] nso95: has joined #ruby
[02:28:20] michael_mbp: has joined #ruby
[02:28:45] slackbotgz: has joined #ruby
[02:34:05] commondream: has joined #ruby
[02:34:50] michael_mbp: has joined #ruby
[02:36:05] charliesome: has joined #ruby
[02:38:55] ohaibbq: has joined #ruby
[02:40:58] mistermocha: has joined #ruby
[02:42:27] AphelionZ: has joined #ruby
[02:42:31] AphelionZ: shot in the dark - has anybody here worked with the etsy API?
[02:44:45] pengin: has joined #ruby
[02:45:26] vdamewood: has joined #ruby
[02:46:46] Spami: has joined #ruby
[02:47:02] RegulationD: has joined #ruby
[02:52:15] Soda: has joined #ruby
[02:52:32] mello: has joined #ruby
[02:52:42] nonparfumee: has joined #ruby
[02:55:24] babykosh: has joined #ruby
[02:55:32] pengin: has joined #ruby
[02:55:41] krz: has joined #ruby
[02:56:32] Rubie: has joined #ruby
[02:58:56] ghr: has joined #ruby
[03:03:41] bluOxigen: has joined #ruby
[03:03:42] bluOxigen: has joined #ruby
[03:04:51] Oog: has joined #ruby
[03:05:55] CustosLimen: has joined #ruby
[03:08:06] markfletcher: has joined #ruby
[03:08:19] Aww: has left #ruby: ("Leaving")
[03:12:10] fedexo: has joined #ruby
[03:13:07] commondream: has joined #ruby
[03:14:32] braincras: has joined #ruby
[03:16:50] casadei: has joined #ruby
[03:18:11] polyrob: has joined #ruby
[03:18:45] markfletcher: has left #ruby: ()
[03:20:02] jpfuentes2: has joined #ruby
[03:20:24] nonparfumee: has joined #ruby
[03:25:44] nettoweb: has joined #ruby
[03:28:44] segfalt: has joined #ruby
[03:30:37] GriffinHeart: has joined #ruby
[03:33:50] Aeyrix: Something something don't ask to ask.
[03:33:52] ruboto: Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
[03:38:28] i: has joined #ruby
[03:40:25] arup_r: has joined #ruby
[03:40:29] Limix: has joined #ruby
[03:41:01] baweaver: aand they're never coming back to reask
[03:41:37] Aeyrix: I wasn't sure if I had access to that command.
[03:42:07] baweaver: ruboto is normally silenced on #ruby
[03:43:05] _seanc_: has joined #ruby
[03:43:23] uber: has joined #ruby
[03:44:42] mistermocha: has joined #ruby
[03:46:31] Musashi007: has joined #ruby
[03:51:14] Rubie: has joined #ruby
[03:52:08] Radar: AphelionZ: Hi.
[03:52:19] Radar: baweaver: You're thinking of helpa.
[03:52:34] Radar: AphelionZ: See what ruboto said :)
[03:53:10] mello: has joined #ruby
[03:54:27] sye: has left #ruby: ("undefined")
[03:57:49] djbkd_: has joined #ruby
[03:58:25] _seanc_: has joined #ruby
[03:58:41] aliirz: has joined #ruby
[03:59:19] tkuchiki_: has joined #ruby
[03:59:20] ghr: has joined #ruby
[03:59:45] Oog: has joined #ruby
[04:04:49] sargas: has joined #ruby
[04:05:26] nettoweb_: has joined #ruby
[04:06:28] Aeyrix: TTR: 90 minutes.
[04:07:27] CloCkWeRX: has left #ruby: ()
[04:08:08] sevenseacat: probably to ask the exact same question.
[04:08:51] mcpierce: has joined #ruby
[04:09:58] ohaibbq: has joined #ruby
[04:10:52] baweaver: Well back to mapping out my presentation on Scala and Spark for tomorrow
[04:11:06] sevenseacat: ACTION continues playing with phoenix
[04:11:14] babykosh: has joined #ruby
[04:12:44] mozzarella: sevenseacat: the elixir web framework?
[04:12:50] sevenseacat: mozzarella: yep
[04:13:05] mozzarella: sevenseacat: do you like it, so far?
[04:13:38] sevenseacat: just getting started with it, but so far, all good
[04:13:53] sevenseacat: hardest is getting used to functional programming
[04:15:03] mozzarella: I really need to learn elixir and start using it
[04:15:18] sevenseacat: i recommend "programming elixir", by dave thomas
[04:15:49] jefus: has joined #ruby
[04:16:29] Aeyrix: Phoenix 1 In Action
[04:19:18] olistik: has joined #ruby
[04:20:00] nettoweb: has joined #ruby
[04:21:23] jpfuentes2: has joined #ruby
[04:25:40] babykosh: has joined #ruby
[04:27:01] babykosh: has joined #ruby
[04:27:31] jfarmer: has joined #ruby
[04:27:45] Scripore: has joined #ruby
[04:29:14] sandelius: has joined #ruby
[04:29:29] arup_r: has joined #ruby
[04:31:12] _djbkd: has joined #ruby
[04:33:40] jenrzzz: has joined #ruby
[04:35:52] RegulationD: has joined #ruby
[04:36:39] nso95: ACTION needs to learn functional programming
[04:37:36] shakes: has joined #ruby
[04:37:45] bruno-: has joined #ruby
[04:39:28] rht: has joined #ruby
[04:40:25] baweaver: I'll rehash some of my talk tomorrow for FP in the context of Spark on my blog later
[04:40:31] baweaver: if that'd be of interest
[04:41:48] CuteStat: has joined #ruby
[04:44:35] Musashi007: has joined #ruby
[04:44:37] Aeyrix: Woo baweaver is gonna blog @ us.
[04:45:08] baweaver: I figure if I've already done the legwork might as well share it
[04:46:18] Aeyrix: Yeah sounds good.
[04:48:17] claptor: has joined #ruby
[04:48:19] CuteStat: has left #ruby: ()
[04:48:36] pontiki: goodo, baweaver
[04:49:29] baweaver: It'll be very much a base level catered towards Java engineers though
[04:51:32] Dopagod: has joined #ruby
[04:51:38] havenwood: has joined #ruby
[04:53:46] idafyaid: has joined #ruby
[04:55:32] yh: has joined #ruby
[04:57:44] davasaurous: has joined #ruby
[04:58:41] lxsameer: has joined #ruby
[04:58:47] ghr: has joined #ruby
[04:59:31] Oog: has joined #ruby
[04:59:34] watchtheblur: has joined #ruby
[04:59:41] tkuchiki: has joined #ruby
[05:02:45] jenrzzz: has joined #ruby
[05:04:13] baweaver: Spark is amazing though after having to suffer through Hadoop
[05:06:20] ex0ns: I never used Hadoop but I love spark, but you have to be aware of what's doing under the scene to use it
[05:06:26] CustosLimen: has joined #ruby
[05:08:16] baweaver: Compare Hadoop: http://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html#Example:_WordCount_v1.0
[05:08:38] baweaver: To spark: https://spark.apache.org/examples.html
[05:09:55] djbkd: has joined #ruby
[05:10:16] commondream: has joined #ruby
[05:10:25] Aeyrix: btw baweaver
[05:10:32] Aeyrix: did you have to deal with the great ddos of 2014?
[05:11:07] baweaver: ACTION whistles merrily whilst plugging ears
[05:11:15] Aeyrix: ohboy.gif
[05:11:20] baweaver: ACTION shudders
[05:11:25] Aeyrix: baweaver: How was that for you guys? Serious question.
[05:11:41] baweaver: I wasn't on call that day (lucky!)
[05:11:59] Spami: has joined #ruby
[05:12:00] ex0ns: baweaver: yes it's quite amazing, I used Spark along with SCala
[05:12:01] baweaver: but the fallout was intense and had the entire company channels lighting up like a christmas tree
[05:12:12] baweaver: (see what I did there?)
[05:12:23] rickmasta: has joined #ruby
[05:12:34] Aeyrix: Aren't you glad Kim Dotcom offered them vouchers? :^)
[05:12:47] baweaver: At very least there are mitigation measures in place
[05:13:12] baweaver: Though just far enough outside my dept that I couldn't speak competently about them
[05:14:21] Aeyrix: I kind of wonder what it'd be like working for a company doing internal infosec stuff.
[05:14:24] Aeyrix: I can imagine getting bored.
[05:14:24] s2013: has joined #ruby
[05:14:30] spiderbyte: has joined #ruby
[05:14:59] baweaver: Kinda like raising a todler
[05:15:16] baweaver: NO! Get that out of your web browser right this moment before I have to write you up!
[05:16:09] chrissonar: has joined #ruby
[05:16:13] baweaver: End users are normally of an equivalent level of reasonableness
[05:16:34] Aeyrix: ACTION only deals with sysadmins / internal infosec people.
[05:16:40] Aeyrix: I'm blessed in that regard.
[05:17:49] baweaver: I used to work phone support for an ISP
[05:17:53] baweaver: ACTION weeps silently in corner
[05:18:11] pontiki: wait, isn't "used to" a good thing?
[05:18:15] Aeyrix: I used to work as a techie for a VPS host.
[05:18:25] Aeyrix: But I did a lot of support too because it was faster than getting it escalated.
[05:18:30] pontiki: don't weep then...
[05:18:36] baweaver: Bad memories
[05:18:40] psye: has joined #ruby
[05:18:41] Aeyrix: baweaver weeps over the memories.
[05:18:42] Aeyrix: I would too.
[05:18:55] Aeyrix: baweaver: My ISP is garbage and pushing their luck with me.
[05:19:12] baweaver: NO! Don't you dare shove that ethernet cord into your dialup mode... Did that just snap? We're not covering that.
[05:20:15] riotjones: has joined #ruby
[05:20:26] baweaver: Phone Support > Infrastructure Automation > Frontend Rails > Hadoop > Rails/AngularJS > Spark/Scala
[05:21:02] baweaver: Not bad for just over 3 years professionally now
[05:21:13] riotjones: has joined #ruby
[05:21:54] Aeyrix: Frontend dev -> Systemin administrator -> Virtualisation technician -> Security consultant.
[05:22:00] Aeyrix: Systemin what? System *
[05:22:40] ex0ns: Coll > ege xD
[05:22:42] baweaver: Though to be fair I was herding BSD boxen and doing Freelance web design back in Junior High (13-15)
[05:23:44] baweaver: ex0ns: Gotta start somewhere
[05:24:03] baweaver: Apply to internships like mad next winter if you haven't made a habit of it yet
[05:24:11] zipace: has joined #ruby
[05:24:18] aganov: has joined #ruby
[05:24:34] Aeyrix: >going to college
[05:24:35] jpfuentes2: has joined #ruby
[05:24:40] baweaver: I'll try and look out for people around that time myself and see how many I can swing in this direction
[05:24:41] Aeyrix: >having a degree
[05:24:45] Aeyrix: What is this? America?
[05:24:50] baweaver: Assuming they're keen on the Bay Area
[05:24:52] baweaver: for me yes.
[05:25:06] baweaver: Where I grew up not having a degree was career suicide
[05:25:09] baweaver: here? Not so much
[05:26:06] ex0ns: Aeyrix: I'm not living in America
[05:26:13] Aeyrix: ex0ns: Neither
[05:26:20] ex0ns: baweaver: Yes I should definitely find an intership somewhere
[05:26:21] Aeyrix: I know baweaver is though.
[05:27:31] pontiki: i feel so old
[05:27:46] sevenseacat: these kids make me feel old too
[05:27:48] baweaver: pontiki: That bad?
[05:27:58] baweaver: sevenseacat: ;-;
[05:28:06] Aeyrix: I thought you had to be under 25 to use the cool kids' language that is Ruby?
[05:28:08] pontiki: 15, i wasn't allowed on the computer at school
[05:28:23] baweaver: Aeyrix: Crap
[05:28:27] pontiki: maybe so...
[05:28:32] sevenseacat: pontiki: neither was i, but for different reasons i suspect >_>
[05:28:35] baweaver: Aeyrix: I turn 25 this month
[05:28:38] Aeyrix: baweaver: haw
[05:28:41] sevenseacat: i remember 25.
[05:28:48] Aeyrix: I'm not even of legal drinking age in America.
[05:28:48] ex0ns: baweaver: so you can't love ruby anymore
[05:28:52] pontiki: it was constantly in use
[05:29:00] sevenseacat: i hadn't even started learning ruby at 25.
[05:29:07] pontiki: never mind
[05:29:07] sevenseacat: was still in php-land
[05:29:12] baweaver: Aeyrix: Wonder how little that does to deter people
[05:29:20] Aeyrix: baweaver: ?
[05:29:30] baweaver: drinking age limit
[05:29:45] Aeyrix: I didn't drink until the legal age in my country - 18.
[05:29:59] Aeyrix: I celebrated by having one beer then going and playing WoW I think.
[05:30:03] baweaver: Most tend to ignore it here.
[05:32:13] baweaver: Ah well, at least I have Scala and Elixir still
[05:32:21] Aeyrix: No they're even cooler kid languages.
[05:32:27] Aeyrix: You need to use C and COBOL.
[05:32:32] Aeyrix: ... and PASCAL.
[05:32:51] baweaver: ACTION knows COBOL and RPG
[05:33:06] miah: i was doing Pascal when i was ~14 with Borland Pascal
[05:33:06] emocakes: has joined #ruby
[05:33:47] baweaver: I know just enough C to get myself into trouble with Broadcom drivers
[05:34:01] Aeyrix: That's the perfect amount.
[05:34:41] baweaver: ACTION glares at bcm43xx and Linux
[05:35:22] baweaver: The amount of tracing of fw-cutter I had to do
[05:35:26] Blaguvest: has joined #ruby
[05:35:50] jenrzzz: has joined #ruby
[05:36:19] Oog: has joined #ruby
[05:36:21] ohaibbq: has joined #ruby
[05:36:38] baweaver: I had to get real friendly with this page: https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
[05:39:12] mistermocha: has joined #ruby
[05:40:31] shevy: poor beaver
[05:41:58] mello: has joined #ruby
[05:42:49] workmad3: has joined #ruby
[05:44:53] sandelius: has joined #ruby
[05:45:42] krz: has joined #ruby
[05:48:06] mrmargolis: has joined #ruby
[05:51:30] dseitz: has joined #ruby
[05:51:45] last_staff: has joined #ruby
[05:52:39] speaking1ode: has joined #ruby
[05:53:33] tomaszba_: has joined #ruby
[05:56:26] Hanmac1: has joined #ruby
[05:57:12] Hanmac1: apeiros: what do you think is better style: WX.const_defined?(:ActivityIndicator) or defined?(WX::ActivityIndicator) ?
[05:59:22] ghr: has joined #ruby
[06:00:30] apeiros: hanmac1: former
[06:00:57] Hanmac1: so you say the explizit const_defined is better? okay then i will use that
[06:03:12] multi_io: has joined #ruby
[06:06:18] Ox0dea: apeiros: How come?
[06:08:01] apeiros: Ox0dea: it's the more specific tool
[06:09:05] noethics: i think the secon one reads better
[06:09:48] Mizouri: Ruby is a language for grown-ups; it gives you the tools for writing clear
[06:09:48] Mizouri: and concise code. It?s up to you to use them.
[06:09:50] Mizouri: I liked that.
[06:10:18] bruno-: has joined #ruby
[06:11:02] baweaver: ACTION raises eyebrow
[06:11:09] riotjones: has joined #ruby
[06:11:37] hectortrope: has joined #ruby
[06:12:11] dumdedum: has joined #ruby
[06:12:18] Mizouri: baweaver, You probably didn't read Eloquent Ruby therefore you wouldn't understand :)
[06:13:07] apeiros: Mizouri: so you're unable to provide the missing piece of information in order to understand?
[06:13:30] Mizouri: apeiros, There is no missing piece of information.
[06:13:37] baweaver: ACTION has read about every ruby book on market
[06:13:41] apeiros: then your argument is silly
[06:13:49] baweaver: ACTION also doesn't feel the need to keep them memorized line for line
[06:14:07] apeiros: or your claim, or whatever you want to call it.
[06:14:25] Ropeney: has joined #ruby
[06:14:30] Mizouri: apeiros, Your argument makes no sense.
[06:14:41] baweaver: Troll methinks
[06:15:31] apeiros: Mizouri: explain then how reading eloquent ruby makes one not understand - without filling in a missing piece of information
[06:15:32] Spami: has joined #ruby
[06:15:57] Aeyrix: What on Earth is going on in this channel?
[06:16:29] Mizouri: apeiros, Google up and read what a metaphor is.
[06:16:37] apeiros: Mizouri: I asked you.
[06:16:43] arturaz: has joined #ruby
[06:16:46] apeiros: Mizouri: and I know what a metaphor is
[06:16:52] Aeyrix: Help, mods.
[06:16:54] ruboto: Radar, fflush, jhass, Mon_Ouie, banisterfiend, miah, zzak, seanstickle, apeiros, sevenseacat, Havenn, workmad3, Coraline, drbrain, zenspider, slyphon, rubyhacker1, Aria, ljarvis
[06:17:07] Radar: !kick Mizouri
[06:17:07] helpa: Radar: No.
[06:17:07] ruboto: ruboto kicked Mizouri:
[06:17:07] ruboto: -o ruboto
[06:17:10] Aeyrix: baweaver: lol apeiros runs chan
[06:17:14] Aeyrix: it's theirs iirc
[06:17:34] apeiros: wow, the day has come when I had more patient than other ops :D
[06:17:39] baweaver: apeiros is just a bit less trigger happy with the hammer
[06:18:07] baweaver: fair warning, same person is in elixir-lang sevenseacat
[06:18:09] Radar: I don't take kindly to pretentious nerds who are not me.
[06:18:20] Radar: baweaver: lol if you think sevenseacat has ops there (yet)
[06:18:32] baweaver: ACTION chokes on drink
[06:18:41] baweaver: I figured not, but I know she's on there.
[06:19:01] Radar: ACTION resumes battling SOAP-ish API
[06:19:02] Aeyrix: Radar: I noticed. :^)
[06:19:11] CustosLimen: has joined #ruby
[06:19:14] baweaver: Radar: Poor soul
[06:19:23] ndrei: has joined #ruby
[06:19:27] Radar: It isn't that bad. They return data in a mostly clean XML format, and they also provide JSON
[06:19:29] towski_: has joined #ruby
[06:19:46] Radar: The part where they return an array if there's > 1 item in the result, or just an object if there's exactly 1... well that was easy enough to work around
[06:19:55] Radar: thing.is_a?(Array) ? thing : [thing]
[06:20:00] baweaver: Ah, so that explains the tweet
[06:20:10] baweaver: Radar: Array(thing)
[06:20:15] Radar: baweaver: That won't work :)
[06:20:19] apeiros: I hate that kind of anti-normalization
[06:20:20] Aeyrix: The only thing stopping me suggesting that hours ago
[06:20:23] Aeyrix: was assuming you'd already tried it.
[06:20:26] Radar: baweaver: If thing is a Hash, that won't work.
[06:20:35] Aeyrix: apeiros: come again?
[06:20:40] Radar: (and thing is going to be either a Hash or an Array)
[06:20:49] baweaver: that'd do it
[06:20:55] Radar: I don't know why they do it. This is the second API this year that I've worked with that does it.
[06:21:00] apeiros: Aeyrix: the "1 = object, many = array" kind of anti-normalization. I hate that.
[06:21:02] Radar: I'd love an explanation.
[06:21:13] Aeyrix: apeiros: I... kinda like it from a uh
[06:21:18] Aeyrix: I guess from an end-user point of view.
[06:21:27] Aeyrix: From a developmental point of view I can see how it'd be a problem.
[06:21:29] Radar: The API is Item.json, which may return 1) a single item or 2) a list of items
[06:21:31] apeiros: if it can be many, always return an array. less code paths on all sides.
[06:21:36] Aeyrix: But you don't buy a carton of one drink. You buy one drink.
[06:21:46] Aeyrix: If you want many drinks, you buy a carton.
[06:21:53] Radar: When really they should split the API to make it Items.json return an array and Item.json return a single item.
[06:22:04] baweaver: ding ding ding ^
[06:22:30] apeiros: precisely. and usually when you do that you notice it's not even worth it and just use the plural :)
[06:22:51] Radar: Here's their lovely* documentation btw: http://cloud-docs.merchantos.com/API/APIHelp.help
[06:22:57] Radar: I'm writing the endpoint for Account.Item now
[06:22:57] Aeyrix: apeiros: ... Yeah I noticed about four seconds after I said it.
[06:23:07] Aeyrix: disregard me, i'm garbage
[06:23:37] Radar: You are good people when you want to be
[06:24:08] Aeyrix: since when
[06:24:22] Rubie: has joined #ruby
[06:24:33] Radar: Don't ruin it :)
[06:24:48] RegulationD: has joined #ruby
[06:25:19] baweaver: dangit scala
[06:26:00] Aeyrix: Radar: We have a mutual acquaintance but I forget his name.
[06:26:15] Aeyrix: He leads the Swinburne cyber haquer group, was at Ruby meetup.
[06:26:22] Aeyrix: Maybe he just said he knew you, idk.
[06:26:24] Radar: That isn't useful. I have a lot of acquaintances :)
[06:26:26] Aeyrix: I was talking about your book on Friday.
[06:26:46] Radar: Younger looking guy? Still in uni?
[06:27:15] Aeyrix: Scraggly a/f beard.
[06:27:16] Radar: I spoke to someone who fits that description at the Ruby meetup. Met him last December at the Envato party thing
[06:27:25] Aeyrix: That would be him.
[06:27:31] Aeyrix: He's trying to get into Envato.
[06:27:38] Aeyrix: ACTION is trying to help as I have a mate there.
[06:27:45] Radar: He should keep trying. It's a good place so I've heard.
[06:27:47] Aeyrix: Brendan was his name.
[06:27:49] Aeyrix: It is, yeah.
[06:27:52] Radar: I wish they were more open to hiring newbies.
[06:28:00] Aeyrix: They are if you ask the right guy. :^)
[06:28:18] baweaver: Radar: Curious, what do you qualify as newbie?
[06:28:23] bluOxigen: has joined #ruby
[06:28:37] baweaver: I've seen it range from fresh out of college to 3-5 years exp
[06:28:46] Aeyrix: baweaver: 3-5y exp in <x> is not a newbie in <x>.
[06:29:06] Radar: baweaver: Someone with only a couple of months Ruby experience. They've written a basic Rails application and can demonstrate that they know at least how to write Ruby without syntax erroring all over the place.
[06:29:24] Radar: Essentially: someone who's made it all the way through TWGR and Rails 4 in Action :P
[06:29:53] baweaver: ACTION hasn't been through R4iA
[06:30:04] baweaver: ACTION is being cheeky
[06:30:08] Radar: of course
[06:30:18] Aeyrix: ACTION hasn't even looked at TWGR.
[06:30:18] baweaver: Yeah, some people define Junior as anyone under 5 years
[06:30:43] baweaver: The Well Grounded Rubyist
[06:30:46] baweaver: decent book
[06:31:24] baweaver: Practical Object Oriented Design in Ruby is a good one as well at that stage
[06:31:37] sigurding: has joined #ruby
[06:31:50] GriffinHeart: has joined #ruby
[06:31:59] baweaver: Though I really enjoyed Raganwald's Kestrels, Quirky Birds, and Hopeless Egocentricy
[06:32:15] baweaver: (functional combinators in Ruby)
[06:32:59] Ox0dea: baweaver: I assume you've seen Programming with Nothing?
[06:33:00] baweaver: Definitely a trip though for people not versed in Haskell
[06:33:17] baweaver: Not offhand Ox0dea
[06:33:23] baweaver: ACTION googles it
[06:33:34] Ox0dea: Tom Stuart writes FizzBuzz in, essentially, the lambda calculus.
[06:33:43] baweaver: Ah, that type of one
[06:33:50] sinkensabe: has joined #ruby
[06:33:52] baweaver: I think he expanded it to a book
[06:33:59] baweaver: church numerals and such
[06:34:23] baweaver: that was him
[06:34:29] baweaver: http://www.amazon.com/Understanding-Computation-Machines-Impossible-Programs/dp/1449329276
[06:36:46] User458764: has joined #ruby
[06:37:55] jpfuentes2: has joined #ruby
[06:39:23] gagrio: has joined #ruby
[06:40:09] SHyx0rmZ: has joined #ruby
[06:40:54] pwnz0r: has joined #ruby
[06:41:25] Aeyrix: Quick, think of a premium dedicated hosting provider that isn't Rackspace.
[06:41:30] unshadow: has joined #ruby
[06:43:48] baweaver: DigitalOcean
[06:43:53] Aeyrix: >dedicated
[06:44:01] Aeyrix: >only the dead shall know peace from this trolling
[06:44:22] ahmetkapikiran: has joined #ruby
[06:44:24] baweaver: ACTION shrugs and wanders back off
[06:44:47] Aeyrix: thanks for playing baweaver
[06:46:36] last_staff: anybody know what the "endpoint" variable in the winrm gem means?
[06:47:08] last_staff: i.e., is it where winrm requests come from, or is it where they're going to?
[06:48:11] neanderslob: has joined #ruby
[06:49:21] Ox0dea: last_staff: They didn't not call it "startpoint" for nothing. :P
[06:52:15] anisha: has joined #ruby
[06:52:34] aryaching: has joined #ruby
[06:52:35] andikr: has joined #ruby
[06:53:20] _blizzy_: has joined #ruby
[06:54:00] arup_r: has joined #ruby
[06:54:44] platosha_: has joined #ruby
[06:55:50] selu: has joined #ruby
[06:56:16] baweaver_: has joined #ruby
[06:57:11] baweaver_: has joined #ruby
[06:57:19] pengin: has joined #ruby
[06:57:33] fabrice31: has joined #ruby
[06:59:00] ghr: has joined #ruby
[06:59:59] zotherstupidguy: i need a gem to monitor my wlan connection traffic?
[07:00:10] ta: has joined #ruby
[07:00:17] zotherstupidguy: somthing like what tcptrack does
[07:01:21] ndrei: has joined #ruby
[07:02:29] doodleha_: has joined #ruby
[07:03:06] sandstrom: has joined #ruby
[07:06:18] doodleha_: has joined #ruby
[07:06:32] konsolebox: has joined #ruby
[07:06:40] flughafen: moin certainty sevenseacat shevy
[07:07:05] certainty: ACTION waves
[07:07:17] flughafen: do i speak australian good?
[07:07:22] rickmasta: has joined #ruby
[07:07:35] bigkevmcd: has joined #ruby
[07:08:08] pengin: has joined #ruby
[07:08:08] certainty: like a native mate
[07:08:12] zotherstupidguy: flughafen how was the final yesterday? who won?
[07:08:52] emocakes: moin flughafen
[07:08:58] emocakes: wie gehts dir?
[07:09:54] greenbagels: has joined #ruby
[07:10:07] Alina-malina: has joined #ruby
[07:11:52] ndrei: has joined #ruby
[07:12:06] sdwrage: has joined #ruby
[07:12:12] Hounddog: has joined #ruby
[07:12:14] flughafen: zotherstupidguy: i didn't pay attention
[07:12:17] flughafen: sup emocakes
[07:12:21] gauke: has joined #ruby
[07:12:30] flughafen: i was too busy recovering from the bergkirchweih
[07:12:34] flughafen: need to power down
[07:13:11] emocakes: liver shutting down?
[07:14:04] doodleha_: has joined #ruby
[07:15:58] Musashi007: has joined #ruby
[07:17:02] Hounddog: has joined #ruby
[07:17:23] nhhagen: has joined #ruby
[07:17:27] edwinvdgraaf: has joined #ruby
[07:17:54] doodleha_: has joined #ruby
[07:20:18] bmalum: has joined #ruby
[07:21:27] certainty: seems like it
[07:21:51] doodleha_: has joined #ruby
[07:23:48] emocakes: i miss wei??wurst
[07:24:27] emocakes: s/wurst/w??rst
[07:24:35] emocakes: living in australia sucks
[07:24:37] emocakes: no good food
[07:24:46] Aeyrix: Kangaroo steaks mate.
[07:24:49] emocakes: oi mate, its true though
[07:24:51] Aeyrix: Knock beef out of the park any day of the week.
[07:24:52] emocakes: roo is good
[07:24:55] Aeyrix: Paging Radar.
[07:24:59] Aeyrix: Paging sevenseacat also.
[07:25:03] livathinos: has joined #ruby
[07:25:08] emocakes: fuck you Radar
[07:25:10] Aeyrix: Australian food.
[07:25:12] Radar: Kangaroo is great when it's cooked right,.
[07:25:13] User458764: has joined #ruby
[07:25:17] Radar: It might be too tough if it's cooked too long
[07:25:22] Aeyrix: While I wait for this fucking scan to finish so I can go home.
[07:25:24] Radar: But if cooked perfectly it wins over beef by so much.
[07:25:32] emocakes: how bout emu Aeyrix
[07:25:38] Aeyrix: emocakes: Not had emu yet. :(
[07:25:38] emocakes: emu is great
[07:25:40] doodleha_: has joined #ruby
[07:25:47] emocakes: unaustralian of you mate
[07:25:52] Aeyrix: I'm not Australian. :^)
[07:25:55] Aeyrix: I just live here.
[07:26:03] emocakes: where you from
[07:26:21] Aeyrix: The United Kingdom of Great Britain and Northern Ireland.
[07:26:24] djbkd: has joined #ruby
[07:26:36] emocakes: which part?
[07:26:51] emocakes: shame though
[07:27:03] Aeyrix: West London.
[07:27:04] emocakes: mainland european food wins hands down
[07:27:13] emocakes: over 'australian cuisine'
[07:27:45] emocakes: not too sure with like british food, but its kind of boring last i looked, black puddings, meat and three veg
[07:27:55] Aeyrix: Yeah it is.
[07:29:52] bayed: has joined #ruby
[07:30:40] mello: has joined #ruby
[07:30:45] Hanmac: has joined #ruby
[07:35:21] doodleha_: has joined #ruby
[07:35:32] djbkd_: has joined #ruby
[07:35:37] Aeyrix: frank walker from national tiles
[07:35:42] zotherstupidguy: in the UFC of the wild, kangros always win
[07:36:19] bentanweihao: has joined #ruby
[07:36:23] HayesHimself: has joined #ruby
[07:36:25] tbuehlmann: has joined #ruby
[07:36:57] mrmargolis: has joined #ruby
[07:37:11] akkad: has joined #ruby
[07:39:08] doodleha_: has joined #ruby
[07:39:53] flughafen: has joined #ruby
[07:39:58] flughafen: I'm back guys, who missed me?!
[07:41:13] flughafen: i mised you too Aeyrix
[07:41:32] CustosLimen: has joined #ruby
[07:42:03] adamski2600: has joined #ruby
[07:43:20] msgodf: has joined #ruby
[07:43:36] krz: has joined #ruby
[07:43:57] stoffus: has joined #ruby
[07:43:57] Spami: has joined #ruby
[07:44:47] GriffinHeart: has joined #ruby
[07:44:54] emocakes: i missed you
[07:45:00] emocakes: i even spoke to you flughafen
[07:45:03] emocakes: but you had lef
[07:45:15] emocakes: I'm thinking of moving to wien next year
[07:45:41] emocakes: anyone in wien / vienna ?
[07:45:50] emocakes: rent is cheap comparatively (sydney)
[07:46:05] ValicekB: has joined #ruby
[07:46:16] Aeyrix: Do you have any particular wish to live in Vienna?
[07:46:28] emocakes: bored with australia again
[07:46:43] emocakes: lived in germany for a year
[07:46:51] emocakes: have a cousin in linz
[07:46:58] emocakes: prefer euro girls
[07:47:13] adaedra: shevy: we need an Austrian in here
[07:47:18] emocakes: so yeah, I guess,
[07:47:55] emocakes: its funny Aeyrix, for not much money i could buy some land in austria
[07:47:56] jenrzzz: has joined #ruby
[07:48:03] emocakes: close to ski fields
[07:48:17] emocakes: sell my place in sydney
[07:48:47] doodleha_: has joined #ruby
[07:49:10] lpaste: Author pasted ???CDBurnerXP Direct Downloads To Bypass OpenCandy!??? at http://lpaste.net/133690
[07:49:31] vdamewood: has joined #ruby
[07:49:36] Soliah: has joined #ruby
[07:50:11] lpaste: Radar pasted ???Top 10 tips to painless anal sex??? at http://lpaste.net/133691
[07:50:14] sandstrom: has joined #ruby
[07:50:26] sevenseacat: !ban lpaste !T 1d
[07:50:27] ChanServ: +b lpaste!*@*
[07:50:27] ChanServ: ChanServ kicked lpaste: is banned from this channel
[07:50:55] emocakes: ACTION keks softly
[07:51:00] olistik: has joined #ruby
[07:51:53] flughafen: emocakes! my boss had to steal my power cord
[07:52:03] emocakes: what a bastard
[07:52:05] adaedra: He got the power
[07:53:35] Aeyrix: hey that last one was useful
[07:56:30] doodleha_: has joined #ruby
[07:57:23] flughafen: I got a smaller one in return.
[07:57:27] flughafen: i should quit as a protest
[07:57:39] adaedra: Strangle him with the power cord
[07:57:59] emocakes: make it look like an accident
[07:58:17] flughafen: "ugh, it was raining so he tried to wrap his neck in a power cord?"
[07:58:27] alphaatom: has joined #ruby
[07:58:40] adaedra: Be creative!
[07:58:40] emocakes: heard of michael hutchence?
[07:58:43] ghr: has joined #ruby
[07:58:54] flughafen: emocakes: no?
[07:59:01] emocakes: autoerotic asphyxiation
[07:59:08] emocakes: you never know who it will strike next
[07:59:24] ziprar: has joined #ruby
[07:59:31] _blizzy_: has joined #ruby
[07:59:38] emocakes: https://en.wikipedia.org/wiki/Erotic_asphyxiation
[07:59:43] flughafen: i know what is
[07:59:56] emocakes: of course you do, you are german
[08:00:27] emocakes: he didn't see that one coming did he adaedra ?
[08:01:24] kenndel_: has joined #ruby
[08:01:51] Zai00: has joined #ruby
[08:02:33] pwnz0r: has joined #ruby
[08:03:42] Hanmac1: has left #ruby: ()
[08:04:16] doodleha_: has joined #ruby
[08:05:20] granthatcher: has joined #ruby
[08:05:33] mrsolo: has joined #ruby
[08:06:02] Jackneill: has joined #ruby
[08:07:57] axl_: has joined #ruby
[08:08:15] nhhagen_: has joined #ruby
[08:08:36] matled-: has joined #ruby
[08:08:52] Macaveli: has joined #ruby
[08:10:13] flughafen: adaedra: he's a connoisseur
[08:10:22] doodleha_: has joined #ruby
[08:12:04] jeregrine: has joined #ruby
[08:12:11] djbender: has joined #ruby
[08:12:22] lxsameer: has joined #ruby
[08:12:41] OrbitalKitten: has joined #ruby
[08:13:01] pengin: has joined #ruby
[08:13:39] RegulationD: has joined #ruby
[08:14:19] djbkd: has joined #ruby
[08:14:34] Radar: +b *!*@unaffiliated/chrisdone
[08:14:41] n008f4g_: has joined #ruby
[08:14:52] Radar: Not nice to deny me the chance to ban you while I go through the city loop tunnel.
[08:15:52] doodleha_: has joined #ruby
[08:18:13] livathinos: has joined #ruby
[08:20:02] baweaver_: has joined #ruby
[08:20:06] ahmetkapikiran: has joined #ruby
[08:21:04] baweaver_: has joined #ruby
[08:22:29] pwnz0r: has joined #ruby
[08:23:54] pengin: has joined #ruby
[08:25:14] Radar: +b *!*@unaffiliated/emocakes
[08:25:19] Radar: Radar kicked emocakes: you too, good buddy.
[08:25:50] Radar: ACTION enjoys long walks along the beach, chocolate anything and banning idiots.
[08:26:07] Radar: Context: http://logs.ryanbigg.com/ruby?date=2015-06-01#3266229
[08:26:39] DEA7TH: has joined #ruby
[08:27:39] Radar: Goodnight people.
[08:28:12] apeiros: wow. surprised you didn't kickban.
[08:29:55] TheHodge: has joined #ruby
[08:30:14] flughafen: apeiros: don't ever tell radar to eat emu
[08:30:20] unshadow: has joined #ruby
[08:30:41] KrzaQ: has joined #ruby
[08:30:41] apeiros: I think I'll just not go down that rabbit hole.
[08:31:05] adaedra: Tell hello to Morpheus for me, apeiros
[08:31:18] doodleha_: has joined #ruby
[08:31:21] gr33n7007h: has joined #ruby
[08:31:28] mello: has joined #ruby
[08:33:39] arup_r: apeiros: Hello!
[08:33:55] arup_r: I am doing good,,, n U ?
[08:34:24] Zai00: has joined #ruby
[08:36:17] ponga: has joined #ruby
[08:36:23] rdark: has joined #ruby
[08:38:53] TinkerTyper: has joined #ruby
[08:39:12] User458764: has joined #ruby
[08:39:17] jgt: has joined #ruby
[08:41:03] doodleha_: has joined #ruby
[08:41:48] fabrice31: has joined #ruby
[08:45:34] rippa: has joined #ruby
[08:47:49] fabrice31_: has joined #ruby
[08:47:56] senayar: has joined #ruby
[08:48:30] adaedra: I can't find a documentation about using Gemfiles with gem command, does someone has that?
[08:48:51] doodleha_: has joined #ruby
[08:48:52] ljarvis: adaedra: rubygems doesn't manage Gemfiles, bundler does
[08:48:58] ljarvis: so you want bundler documentation
[08:49:12] adaedra: we discussed that the other day, gem begins to have some support of it
[08:49:44] jhass: is there anything beyond gem install -g?
[08:50:44] jhass: adaedra: gem help install has a section
[08:50:52] jhass: "Gem Dependency Files"
[08:51:05] adaedra: Ah, here it is
[08:51:29] clauswitt: has joined #ruby
[08:51:52] kp666: has joined #ruby
[08:52:07] charliesome: has joined #ruby
[08:52:35] ndrei: has joined #ruby
[08:52:42] doodleha_: has joined #ruby
[08:55:11] chinmay_dd: has joined #ruby
[08:55:18] GriffinHeart: has joined #ruby
[08:57:01] meph: has joined #ruby
[08:58:18] Eddieh_: has joined #ruby
[09:02:23] doodleha_: has joined #ruby
[09:03:02] platzhirsch: has joined #ruby
[09:03:44] ndrei: has joined #ruby
[09:05:40] Eddieh_: I have a Ruby gem that provides a binary that can be run from the terminal. How do I go about overriding a specific method in that binary? I already have the code that overrides the method in the library (works if I want to use the override inside my own code), but can't seem to figure out where to put it to make the binary load it :/
[09:06:05] dionysus69: has joined #ruby
[09:07:43] platzhirsch: has left #ruby: ()
[09:09:09] ndrei: has joined #ruby
[09:10:01] selu: has joined #ruby
[09:12:31] jhass: binary = ruby script with a hashbang & the executable flag?
[09:13:22] mrsolo: has joined #ruby
[09:15:19] avril14th: has joined #ruby
[09:15:37] anisha: has joined #ruby
[09:17:37] fabrice31: has joined #ruby
[09:17:56] workmad3: has joined #ruby
[09:18:04] Eddieh_: jhass yeah looks like it. Although I don't know what a hashbang is (very new to Ruby)
[09:18:44] jhass: #!/usr/bin/ruby or something
[09:18:55] flughafen: wooo ! new tires arrived
[09:19:07] ljarvis: #!/usr/bin/env ruby probably
[09:19:38] Eddieh_: indeed it is: #!/usr/bin/env ruby
[09:19:38] quimrstorres: has joined #ruby
[09:20:15] jhass: call it executable then ;P
[09:20:32] jhass: and it's no different from any other ruby file, you can do everything there to
[09:20:32] Aeyrix: Technically still incorrect.
[09:20:34] Aeyrix: It's a script.
[09:21:11] fabrice31_: has joined #ruby
[09:22:02] Eddieh_: alright, awesome! thanks for the help :)
[09:22:59] apeiros: Eddieh_: hashbang/shebang is a shell thing, not a ruby thing. it tells the shell what executable to use to run a script
[09:23:06] apeiros: just fyi :)
[09:24:00] Eddieh_: oooh. Cool
[09:24:32] Darkwater: for completeness, a ruby script isn't a binary
[09:24:43] Aeyrix: [19:20:34] <Aeyrix> It's a script.
[09:24:45] Darkwater: a human-unreadable, computer-readable file is often referred to as a binary
[09:24:47] ndrei: has joined #ruby
[09:24:58] Darkwater: ah, scanned too quick
[09:25:15] Aeyrix: lmao you explained it more than me, probably good supplementary
[09:25:16] Eddieh_: Darkwater it was included in a directory called /bin and referred to as a binary in the docs of the gem haha
[09:25:30] icedp: has joined #ruby
[09:25:35] Aeyrix: Eddieh_ wait what gem
[09:25:37] Aeyrix: that sounds like
[09:25:40] Aeyrix: B A D C O D I N G
[09:25:49] Darkwater: yeah 'bin' has partially lost its meaning
[09:25:49] mrmargolis: has joined #ruby
[09:25:58] Eddieh_: It's kramdown
[09:25:59] Darkwater: mostly means 'executable files' these days
[09:26:18] Aeyrix: Is that an adult entertainment studio?
[09:26:47] bruno-: has joined #ruby
[09:26:56] Eddieh_: It's a markup parser - http://kramdown.gettalong.org/index.html
[09:31:00] sinkensabe: has joined #ruby
[09:31:27] ruurd: has joined #ruby
[09:31:46] ta: has joined #ruby
[09:33:49] sandelius: has joined #ruby
[09:34:32] razorgfx: has joined #ruby
[09:35:44] ruurd: has joined #ruby
[09:36:15] tAn: has joined #ruby
[09:36:23] User458764: has joined #ruby
[09:36:47] baweaver: has joined #ruby
[09:37:35] slackbotgz: has joined #ruby
[09:38:05] quimrstorres: has joined #ruby
[09:40:48] bkxd: has joined #ruby
[09:40:58] Polysics: has joined #ruby
[09:45:21] bruno-: has joined #ruby
[09:46:24] senayar: has joined #ruby
[09:46:30] serivich: has joined #ruby
[09:47:12] mello: has joined #ruby
[09:47:46] serivichi: has joined #ruby
[09:48:55] chipotle: has joined #ruby
[09:50:34] jenrzzz: has joined #ruby
[09:53:24] idafyaid: has joined #ruby
[09:54:16] exadeci: has joined #ruby
[09:54:54] CustosLimen: has joined #ruby
[09:57:38] atmosx: has joined #ruby
[09:58:24] zotherstupidguy: whats your favourite language for building internal dsls?
[09:58:42] zotherstupidguy: other than ruby.
[10:01:24] canton7: depends what tool the dsl is for. If, say, it's a config interface for a C# tool, I'll write a custom grammar and a parser using C# libraries, etc
[10:01:43] professor_soap: has joined #ruby
[10:01:49] fabrice31: has joined #ruby
[10:02:30] sevenseacat: i dont like the term 'dsl'
[10:02:34] RegulationD: has joined #ruby
[10:03:34] zotherstupidguy: sevenseacat what you suggest?
[10:03:55] sevenseacat: depend what you mean by it. it can mean a buttload of different things.
[10:03:56] jhass: zotherstupidguy: Crystal, how about this one that builds a Crystal class and a corresponding Ruby extension? https://github.com/manastech/crystal_ruby/blob/master/sample/test_ruby.cr :P
[10:04:44] zotherstupidguy: sevenseacat inlightin me, i only know external and internal dsls!
[10:05:05] sevenseacat: how can i enlighten you when you cant tell me what you want?
[10:05:41] wjimenez5271: has joined #ruby
[10:05:41] zotherstupidguy: well i thought the term DSL is well defined in the ruby community as there are "many" talks about it
[10:06:03] sevenseacat: and its a term as meaningless as 'service oriented architecture'
[10:06:16] sevenseacat: it can mean just about anything
[10:06:30] kirun: has joined #ruby
[10:08:51] mandarinkin: has joined #ruby
[10:08:52] zotherstupidguy: if someone said SOA to me i would say a program talking to another program via a protocol, but now i think that a browser is also a program so a webservice talking to a browser negates the original definition
[10:09:23] ndrei: has joined #ruby
[10:09:50] dseitz_: has joined #ruby
[10:10:12] olistik: has joined #ruby
[10:10:24] zotherstupidguy: but back to the point, a DSL or a domain-speciic langauge fits nice in the much older area of domain engineering
[10:10:53] zotherstupidguy: semantically i mean
[10:12:24] zotherstupidguy: jhass i didnt know about crystal before! thanks
[10:13:35] Xiti`: has joined #ruby
[10:17:37] Guest16: has joined #ruby
[10:18:01] ahmetkapikiran: has joined #ruby
[10:18:13] flak: has joined #ruby
[10:18:50] nfk: has joined #ruby
[10:18:50] Oog_: has joined #ruby
[10:19:04] mandarinkin: crystal still uses 2.6G for building from source?
[10:19:33] banister: has joined #ruby
[10:20:31] rickmasta: has joined #ruby
[10:20:38] Brock: has joined #ruby
[10:21:19] yardenbar: has joined #ruby
[10:21:42] armyriad: has joined #ruby
[10:21:45] jhass: well, I guess you can reduce it by not running the checks
[10:22:52] sumark: has joined #ruby
[10:22:57] unreal: has joined #ruby
[10:23:16] mandarinkin: what need to do to disable checks?
[10:23:17] timonv: has joined #ruby
[10:23:42] psye: has joined #ruby
[10:24:03] gluten_hell_: has joined #ruby
[10:24:06] anytimebutnow: has joined #ruby
[10:24:38] jhass: don't run make spec or makepkg --nocheck for AUR the package
[10:28:13] mandarinkin: can't find doc about --nocheck
[10:28:30] jhass: man makepkg
[10:34:06] fabrice31_: has joined #ruby
[10:35:10] doerteDev: has joined #ruby
[10:35:29] bkxd: has joined #ruby
[10:36:07] sinkensabe: has joined #ruby
[10:36:55] Guest16: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[10:38:16] lennae: has joined #ruby
[10:38:18] Guest16: has joined #ruby
[10:38:35] tkuchiki_: has joined #ruby
[10:38:54] Axy: has joined #ruby
[10:38:55] hectorsq: has joined #ruby
[10:39:13] User458764: has joined #ruby
[10:39:21] MuffinPimp_: has joined #ruby
[10:39:37] premera_c: has joined #ruby
[10:40:17] allcentury: has joined #ruby
[10:40:20] atmosx: can .to_json use nelines
[10:40:28] atmosx: newlines hmm I wonder.
[10:40:41] razorgfx: has joined #ruby
[10:40:42] mcpierce`: has joined #ruby
[10:41:01] tvw: has joined #ruby
[10:41:16] atmosx: yes http://www.rubydoc.info/stdlib/json/JSON#pretty_generate-class_method cool
[10:41:22] slash_ni1k: has joined #ruby
[10:41:22] jobewan_: has joined #ruby
[10:42:02] ndrei: has joined #ruby
[10:42:12] ptierno: has joined #ruby
[10:42:13] Luyt: has joined #ruby
[10:42:41] sandelius: has joined #ruby
[10:42:56] mandarinkin: got error ' Cannot allocate memory'
[10:43:04] drizz_: has joined #ruby
[10:43:09] sygnorman: has joined #ruby
[10:43:17] PaulePan1er: has joined #ruby
[10:43:18] sumark_: has joined #ruby
[10:43:19] mandarinkin: with --nocheck
[10:43:28] yqt: has joined #ruby
[10:43:30] pygospa: has joined #ruby
[10:43:49] yxhuvvd: has joined #ruby
[10:43:49] Ankhers_: has joined #ruby
[10:43:56] rikai: has joined #ruby
[10:44:14] russt: has joined #ruby
[10:44:26] cats: has joined #ruby
[10:44:50] bmn: has joined #ruby
[10:45:03] i8igmac: has joined #ruby
[10:45:05] Jackneill: has joined #ruby
[10:45:07] j416: has joined #ruby
[10:45:10] Dfoolz: has joined #ruby
[10:45:15] Dopagod: has joined #ruby
[10:47:25] brandon: has joined #ruby
[10:48:06] mandarinkin: seems guys with 4G memory not able install crystal
[10:48:08] phutchins: has joined #ruby
[10:48:23] Scripore: has joined #ruby
[10:50:30] bkxd: has joined #ruby
[10:52:37] Fluent: has left #ruby: ("That's how I feel about this channel")
[10:53:31] jacor: has joined #ruby
[10:54:13] haxrbyte_: has joined #ruby
[10:54:54] ndrei: has joined #ruby
[10:55:11] Papierkorb: has joined #ruby
[10:56:53] banister: has joined #ruby
[10:57:31] jhass: uh, I did manage on a half gig VPS
[10:57:41] haxrbyte: has joined #ruby
[10:58:14] jhass: just don't build in /tmp and use --nocheck
[10:58:16] toretore: has joined #ruby
[10:58:37] yh_: has joined #ruby
[10:59:44] jimms: has joined #ruby
[11:00:48] sdothum: has joined #ruby
[11:03:57] doublemalt_: has joined #ruby
[11:06:31] dorei: has joined #ruby
[11:07:37] Vile`: has joined #ruby
[11:10:38] camonz: has joined #ruby
[11:12:38] ringarin: has joined #ruby
[11:12:45] woodruffw: has joined #ruby
[11:13:30] ndrei: has joined #ruby
[11:13:32] edwinvdgraaf: has joined #ruby
[11:14:41] mrmargolis: has joined #ruby
[11:16:02] root____4: has joined #ruby
[11:16:39] sigurding: has joined #ruby
[11:16:49] ringaring: has joined #ruby
[11:18:09] iwishiwerearobot: has joined #ruby
[11:18:26] arup_r: has joined #ruby
[11:18:46] yardenbar: has joined #ruby
[11:20:01] hectortrope: has joined #ruby
[11:20:09] yardenbar: Hi, I'm getting "TypeError: can't convert Timestamp into Rational" when subtracting dates. the purpose is to get the # of milliseconds between two timestamps.
[11:20:37] ruboto: I don't know anything about cdoe
[11:20:40] ruboto: We can't help you without your code, please post it to https://gist.github.com
[11:21:06] jhass: Timestamp doesn't seem to be a standard Ruby class
[11:21:11] adaedra: Haha jahss
[11:21:35] ahmetkapikiran: has joined #ruby
[11:21:44] rodfersou: has joined #ruby
[11:22:24] yardenbar: My bad, "<TypeError: can't convert Date into Rational>", jhass
[11:22:35] jhass: above stands
[11:24:15] yardenbar: How can I convert Time.now to millisecond from epoch ?
[11:24:32] ruboto: I don't know anything about xy
[11:24:57] Eddieh_: has joined #ruby
[11:25:04] jhass: (I thought I had already too btw :D)
[11:25:43] heftig: yardenbar: to_f
[11:26:08] apeiros: !fact add xy You are asking for a specific solution to a problem, instead of asking about your problem. This will lead to bad solutions. Also see http://meta.stackexchange.com/a/66378
[11:26:09] ruboto: apeiros, I will remember that xy is You are asking for a specific solution to a problem, instead of asking about your problem. This will lead to bad solutions. Also see http://meta.stackexchange.com/a/66378
[11:26:14] apeiros: ?xy yardenbar
[11:26:14] ruboto: yardenbar, You are asking for a specific solution to a problem, instead of asking about your problem. This will lead to bad solutions. Also see http://meta.stackexchange.com/a/66378
[11:26:15] bkxd_: has joined #ruby
[11:26:52] ismaelga: has joined #ruby
[11:27:02] Peteykun: has joined #ruby
[11:28:07] apeiros: but to answer your question: see Time#to_f
[11:28:28] bruno-: has joined #ruby
[11:28:29] apeiros: note that you're probably doing it wrong if you use .to_f.
[11:29:58] superflat: has joined #ruby
[11:30:28] vire: has joined #ruby
[11:30:33] Eddieh__: has joined #ruby
[11:30:34] iamninja: has joined #ruby
[11:31:38] naftilos76: has joined #ruby
[11:34:40] pulgolino: has joined #ruby
[11:35:03] aryaching: has joined #ruby
[11:35:24] sandelius: has joined #ruby
[11:36:01] mello: has joined #ruby
[11:36:17] pengin: has joined #ruby
[11:36:39] yqt: has joined #ruby
[11:36:47] yardenbar: apeiros, Didn't want to pollute channel. The question itself is about Logstash, calculate filter processing duration
[11:36:59] Eddieh_: has joined #ruby
[11:37:48] catphish: has joined #ruby
[11:38:06] catphish: does ruby have a built-in mutable integer?
[11:38:19] apeiros: catphish: no
[11:38:21] yardenbar: I'm creating a field that holds Time.now, and at the end of the processing I execute 'event['processing_time'] = (Time.now - event['start_time'])*1000'
[11:38:25] catphish: i'd like to be able to: my_number++
[11:38:39] catphish: apeiros: thanks, i'll make one
[11:38:45] apeiros: catphish: hf
[11:39:20] apeiros: high five is ^5 ;-)
[11:39:35] ldnunes: has joined #ruby
[11:40:41] apeiros: yardenbar: time - time would work. figure out what event['start_time'] truly is. e.g. using `p event['start_time']`
[11:40:44] parduse: has joined #ruby
[11:41:24] c355E3B: has joined #ruby
[11:41:30] yardenbar: apeiros, event['start_time'] is initilized with event['start_time'] = Time.now
[11:41:46] apeiros: yardenbar: that would not give the error you reported.
[11:42:22] yardenbar: Can you elaborate, I'm not a ruby dev, just doing some Logstash
[11:42:23] catphish: is there a way to "def ++"
[11:42:37] apeiros: >> t1 = Time.now; t2 = Time.now; t2 - t1
[11:42:38] ruboto: apeiros # => 1.8062e-05 (https://eval.in/373710)
[11:42:42] catphish: or should i just call it increment
[11:42:54] Darkwater: just call it increment
[11:42:55] alex88: has joined #ruby
[11:43:07] decoponio: has joined #ruby
[11:43:22] workmad3: has joined #ruby
[11:43:25] apeiros: yardenbar: as shown above, time - time works. so you're either looking at the wrong line or event['start_time'] is not (no longer) a Time instance.
[11:43:29] OrbitalKitten: has joined #ruby
[11:44:09] Zai00: has joined #ruby
[11:44:26] catphish: "def +=" doesn't work either
[11:44:31] catphish: i'll stick with increment
[11:44:36] yardenbar: apeiros, thanks, checking
[11:44:45] jhass: catphish: you can only def @+ and def +
[11:45:00] jhass: (or was it +@? I can never remember)
[11:45:06] sandstrom: has joined #ruby
[11:46:01] arup_r: shevy: HI
[11:46:07] catphish: works perfectly: ($counter[key] ||= MutableInteger.new).increment
[11:46:08] Darkwater: + refers to the binary operator
[11:46:22] Darkwater: +@ refers to the unary operator (@ symbolizing self)
[11:46:35] mmazing: has joined #ruby
[11:47:09] pengin: has joined #ruby
[11:47:40] apeiros: catphish: oh dear???
[11:47:49] apeiros: catphish: I hope you're just fooling around
[11:47:58] apeiros: (global variable, custom mutable integer???)
[11:48:19] catphish: apeiros: i asked if there was a build in mutable integer, you said there wasn't
[11:48:20] arup_r: catphish: what are you trying to break ?
[11:48:26] apeiros: catphish: there isn't
[11:48:40] apeiros: catphish: that doesn't make a mutable integer class a good idea
[11:49:16] catphish: global variable is probably not necessary :)
[11:49:42] apeiros: s/probably//
[11:49:44] apeiros: fixed that for you
[11:49:56] catphish: there must be a reason why they exist
[11:50:05] apeiros: the reason is "legacy"
[11:50:07] catphish: i sometimes use them for caches
[11:50:12] apeiros: and "bad ideas live longer than they should"
[11:51:00] jhass: catphish: http://paste.mrzyx.de/pqf8acqqb scnr
[11:51:16] catphish: but you're right, for any proper modular programming, they're a terrible idea
[11:51:23] RegulationD: has joined #ruby
[11:51:38] apeiros: catphish: instead of writing a MutableInteger class, better write a Counter class
[11:51:46] apeiros: and then MyCounter.increment(key)
[11:53:00] CustosLimen: has joined #ruby
[11:53:20] catphish: apeiros: that's not a bad idea, though actually i'm questioning why i need a mutable integer at all now, as long as += is atomic it doesn't matter
[11:53:41] nonparfumee: has joined #ruby
[11:54:15] simi: has joined #ruby
[11:54:27] mujou: has joined #ruby
[11:54:27] wohlert: has joined #ruby
[11:54:57] apeiros: catphish: += isn't atomic. sorry.
[11:55:38] nettoweb: has joined #ruby
[11:56:02] catphish: oh, i see why i had a problem, i need to create a new key in the hash, default it to zero, and increment it, all at once
[11:56:23] apeiros: you know Hash.new(0), right?
[11:56:35] catphish: i wanted a mutable integer so i could increment it in a threadsafe manner
[11:56:45] apeiros: a mutable integer won't give you that
[11:57:13] juanpaucar: has joined #ruby
[11:57:25] apeiros: >> c = Hash.new(0); c[:key] += 1; c
[11:57:26] ruboto: apeiros # => {:key=>1} (https://eval.in/373713)
[11:57:34] apeiros: no need to default to zero on assignment
[11:57:57] catphish: apeiros: i did not know about that, that's the best thing ever
[11:58:52] catphish: apeiros: that actually almost entirely solves my problem
[11:59:04] catphish: it doesn't give me a threadsafe += but i can live with that
[11:59:05] apeiros: re "a mutable integer won't give you that" - I retract that statement :)
[11:59:09] sevenseacat: has joined #ruby
[11:59:44] apeiros: catphish: well, it's like 7 LoC to have a thread safe .increment on a custom hash based counter class
[11:59:50] catphish: is there not a way to just increment the object_id?
[11:59:54] sinkensabe: has joined #ruby
[11:59:54] apeiros: + 1 LoC for all delegates
[12:00:04] apeiros: catphish: oh dear???
[12:00:16] apeiros: no, no there isn't.
[12:00:29] catphish: that's all += has to do, i'm surprised it doesn't in its default implementation
[12:00:29] apeiros: you make me rethink my stance on "a language should not babysit its developers"
[12:01:00] apeiros: no. the relation between object ids and integer value for Fixnum is an implementation detail.
[12:01:14] ljarvis: oh god object_id increments
[12:01:15] ljarvis: the horror
[12:01:18] apeiros: and it fails too..
[12:01:35] apeiros: even if it would work with fixnum - latest it would fail is bignum
[12:01:39] catphish: of course it is, but an implementation that uses predictable values could implement + by incrementing the object_id
[12:01:43] senayar: has joined #ruby
[12:01:53] apeiros: and it doesn't even work with fixnum
[12:02:03] apeiros: >> 2.object_id - 1.object_id
[12:02:04] ruboto: apeiros # => 2 (https://eval.in/373715)
[12:02:37] catphish: >> (10.object_id - 5.object_id) / 2
[12:02:38] ruboto: catphish # => 5 (https://eval.in/373716)
[12:02:52] wasamasa: let's just use UUIDs for object IDs
[12:02:58] catphish: of course, the user should never do this, only the implementation
[12:03:41] catphish: i assumed the reason for using fixed object IDs for integers was for mathematical simplicity in the implementation
[12:03:54] wasamasa: I suspect it's the tagged pointers
[12:04:03] wasamasa: as all of these end in a zero
[12:04:42] wasamasa: so, if an object's pointer ends in a zero, its value is interpreted as an integer instead by cutting that zero off
[12:05:03] wasamasa: matz stole this from emacs
[12:05:04] catphish: apeiros: anyway, i'll look at your counter implementation, thanks
[12:05:38] wasamasa: ljarvis: would you prefer boxed integers ?? la java :P
[12:06:04] catphish: i just want a number i can increment in a threadsafe manner
[12:06:12] ljarvis: wasamasa: meh, I'm actually a fan of Java (though that's not an answer to your question)
[12:06:31] wasamasa: ljarvis: python does this, too (and avoids the native/boxed distinction somehow)
[12:06:35] doublemalt_: has joined #ruby
[12:06:57] wasamasa: http://www.slideshare.net/yukihiro_matz/how-emacs-changed-my-life
[12:07:17] wasamasa: source on my earlier statement
[12:07:28] catphish: apeiros: actually, did you have an idea for me, or were you recommending jhass's code?
[12:07:46] jhass: lol, I wouldn't recommend my code
[12:07:57] wasamasa: such honesty
[12:08:13] jhass: it was about fooling around with the syntax really
[12:08:37] pl1ght: has joined #ruby
[12:08:52] catphish: this is cool: c = Hash.new(0); c[:key] += 1
[12:09:11] catphish: i just need a way to make the +=1 atomic
[12:09:55] Darkwater: what's unatomic about it? (I don't exactly understand atomic yet)
[12:10:08] mrchris: has joined #ruby
[12:10:38] catphish: Darkwater: imaging you run x +=1 simultaneously in 2 threads, an atomic version would increment the number in one operation, so after both threads has run, the result would be +2
[12:10:49] apeiros: catphish: mostly just a class with an @counter = Hash.new(0), a .increment method protected by either Mutex or Monitor, and Forwardable to forward all hash methods you want
[12:10:49] jhass: Darkwater: it's short for c[:key] = c[:key] + 1
[12:10:58] jhass: 3 method calls
[12:11:12] catphish: Darkwater: but a non-atomic version would fetch the value, add one to it, then put the value back in the variable
[12:11:25] ljarvis: Darkwater: if it were an atomic operation, one could assume that the value would be incremeneted without interference (for example, from another process)
[12:11:38] jhass: catphish: ... if it's still the same as the old one
[12:12:17] apeiros: Darkwater: http://kloobok.com/index.php?option=com_content&view=article&id=114&Itemid=165 - ignore the C code. it's got pretty pictures explaining it nicely.
[12:12:24] apeiros: maybe somebody finds something better
[12:12:33] ljarvis: +1 for a class that uses a mutex/monitor
[12:12:33] exadeci: Hello, URI.escape(path, /[^#{URI::REGEXP::PATTERN::UNRESERVED}\/]/) encodes ? and = but that creates a 404 with the url, how can I prevent that ?
[12:12:58] exadeci: shouldn't ? and = be encoded ,
[12:13:03] n008f4g_: has joined #ruby
[12:13:04] catphish: i could just mutex it, or not care :) no idea how expensive a mutex is
[12:13:05] jhass: exadeci: encode the components manually and rebuild the URL
[12:13:46] Darkwater: so how could you make a method like increment atomic?
[12:13:52] codecop: has joined #ruby
[12:13:55] ljarvis: Darkwater: by wrapping it in a mutex
[12:13:59] apeiros: Darkwater: wrap a mutex around the fetch+inc+store
[12:14:04] catphish: oh, += is purely a syntax alias for x = x + 1, thats why you can't redefine it and why its default implementation is not atomic, i get it now
[12:14:20] apeiros: catphish: correct
[12:14:20] User458764: has joined #ruby
[12:14:35] jhass: there's also stuff like CPU level atomic operations, but I haven't seen interfaces in Ruby for that yet
[12:14:57] Darkwater: ah, I think I understand it now
[12:14:59] jhass: talking about stuff like Java's AtomicInteger, forget the general name
[12:15:18] Darkwater: it sounds pretty meta
[12:15:20] Darkwater: the mutex thing
[12:15:29] wasamasa: jhass: wasn't that wat got intel bad headlines for not supporting it properly?
[12:15:35] bentanweihao: has joined #ruby
[12:15:39] ljarvis: ruby has an atomic gem, so you can do `x = Atomic.new(0); x.update { |v| v += 1 }
[12:15:43] wasamasa: https://github.com/cosmos72/stmx
[12:15:48] ljarvis: if you dont want your own class
[12:15:56] jhass: that's using a mutex though?
[12:15:59] wasamasa: "Unluckily, the hardware bug that prompted Intel to disable hardware transactional memory (TSX) in August 2014 is still there, and very few new models are available without the bug. So for the moment STMX will be software-only on many CPUs."
[12:16:04] apeiros: jhass: I remember looking into hardware concurrency primitives ~10y ago and being surprised how f'ing little there was. I was left with the impression that software defined concurrency was more or less russian roulette with very good survival chances???
[12:16:09] exadeci: jhass: you made me notice that I should have added those in params and not path ... thanks
[12:16:14] catphish: i saw the atomic gem, though that still just uses a retry model of doing things
[12:16:24] wasamasa: jhass: so, perhaps hardware stx is what you're looking for
[12:16:32] jhass: yeah I guess
[12:16:42] wasamasa: ACTION shakes fist at acronyms
[12:17:09] catphish: could make a native gem that uses a CPU increment, but i'm not going to
[12:17:18] catphish: thanks for the *pointers anyway
[12:17:34] wasamasa: this readme also suggests performance increases of 5x with hardware support over the software solution
[12:17:37] jhass: https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/package-summary.html doesn't mention what it's based on unfortunately
[12:17:39] terlar: has joined #ruby
[12:17:49] wasamasa: catphish: perhaps you can make use of compiler-specific instructions
[12:18:09] wasamasa: catphish: which is minimally better than depending on very new CPUs
[12:18:15] catphish: wasamasa: it's really not important enough to make a native gem
[12:19:02] catphish: the problem is that the only sane solution would rely on a knowledge of object_ids being sequential
[12:19:07] wasamasa: as for doing it in software, eh
[12:19:09] gagrio: has joined #ruby
[12:19:12] catphish: and as has been pointed out, thats a bad idea
[12:19:16] wasamasa: it only seems to work well if mutability is eliminated
[12:19:21] abuzze: has joined #ruby
[12:19:33] nonparfumee: has joined #ruby
[12:19:34] wasamasa: at least that's what clojure suggests
[12:20:16] alex88: has joined #ruby
[12:20:22] michael_mbp: has joined #ruby
[12:20:52] goodcodeguy: has joined #ruby
[12:22:59] pwnz0r: has joined #ruby
[12:23:50] fgo: has joined #ruby
[12:25:26] withnale_: has joined #ruby
[12:25:28] DexterLB: has joined #ruby
[12:27:45] jhass: wasamasa: looks like the java stuff is using CAS only http://en.wikipedia.org/wiki/Compare-and-swap
[12:28:46] but3k4: has joined #ruby
[12:28:51] wasamasa: jhass: guess that's what I was thinking of regarding compiler-specific support
[12:29:05] wasamasa: jhass: nice that it's a C11 thing
[12:30:11] wasamasa: will just take another decade for it to be a widely supported standard :P
[12:30:48] Macaveli: has joined #ruby
[12:31:03] aryaching_: has joined #ruby
[12:32:19] jhass: ah, looks like concurrent-ruby has some stuff https://github.com/ruby-concurrency/concurrent-ruby/blob/master/ext/concurrent/atomic_reference.c
[12:33:19] stoffus: has joined #ruby
[12:33:26] sandelius: has joined #ruby
[12:33:50] Pumukel: has joined #ruby
[12:34:40] Jonah11_: has joined #ruby
[12:35:09] g0bl1n: has joined #ruby
[12:36:49] mello: has joined #ruby
[12:38:31] mrchris: has joined #ruby
[12:39:09] centrx: has joined #ruby
[12:39:12] allcentury: has joined #ruby
[12:39:15] sonOfRa: has joined #ruby
[12:39:34] olistik: is there an equivalent of Object#tap that returns the value returned by the block?
[12:39:55] ljarvis: olistik: no
[12:39:58] apeiros: olistik: how dare you interrupt the alphabet!
[12:39:59] nickjj: has joined #ruby
[12:40:10] olistik: I'm a terrible person
[12:40:19] apeiros: and I would have replied, but ljarvis already did that
[12:40:51] olistik: has anybody ever felt the need for such method?
[12:41:05] ljarvis: olistik: yes someone brought it up a few days ago
[12:41:06] apeiros: I think there have been times, yes
[12:41:10] Darkwater: apeiros: no double participations what are you doin
[12:41:12] Darkwater: gyou broke eeet
[12:41:59] centrx: Do I win?
[12:41:59] apeiros: centrx, the ocd nightmare
[12:42:10] apeiros: DeBot: !hangman ruby
[12:42:10] DeBot: ??????????????????????????? [] 0/12
[12:42:18] apeiros: DeBot: #esn
[12:42:18] DeBot: ??????????????????????????? [#esn] 4/12
[12:42:40] apeiros: DeBot: ait
[12:42:40] DeBot: ???i????????????????????? [#esnat] 6/12
[12:42:47] apeiros: harsh start
[12:42:53] heftig: DeBot: oih
[12:42:54] DeBot: ???i???????????????o??? [#esnath] 7/12
[12:42:55] Darkwater: what's the whitespace symbol you're using?
[12:42:58] Darkwater: it's not in my font
[12:43:08] apeiros: whitespace symbol?
[12:43:24] Darkwater: what's that
[12:43:36] heftig: https://en.wikipedia.org/wiki/???
[12:43:46] DeBot: ???ir????????????o??? [#esnath] 7/12
[12:43:57] DeBot: Dir????????????o??? [#esnath] 7/12
[12:44:01] DeBot: Dir::??????o??? [#esnath] 7/12
[12:44:05] apeiros: DeBot: glb
[12:44:05] DeBot: Dir::glob [#esnath] 7/12 You won!
[12:44:28] nettoweb: has joined #ruby
[12:45:06] heftig: Darkwater: ah, wikipedia's page is less than helpful this time; it's U+2423 open box
[12:45:25] sgambino: has joined #ruby
[12:45:25] Darkwater: it actually worked for me :v
[12:45:47] Darkwater: wondering, is it ????
[12:46:30] heftig: Darkwater: nope, that's 2432
[12:46:31] jhass: Darkwater: you're sure your stuff sends/receives UTF-8?
[12:46:47] Darkwater: nah just messed it up myself
[12:46:51] apeiros: oh, wait, that's officially:
[12:46:54] olistik: https://gist.github.com/anonymous/332d64e776d336069e11
[12:46:57] Darkwater: ctrl+shift+2423 in urxvt yay
[12:46:58] olistik: something like this
[12:47:06] olistik: should be harmless
[12:47:16] apeiros: olistik: ye
[12:47:37] olistik: p(urrfect)
[12:48:41] ljarvis: def ????()
[12:48:49] ta: has joined #ruby
[12:49:37] Tamae: has joined #ruby
[12:50:02] platzhirsch: has joined #ruby
[12:50:51] banister: has joined #ruby
[12:52:03] [k-: has joined #ruby
[12:54:05] arup_r: has joined #ruby
[12:54:13] Rapier-: has joined #ruby
[12:56:38] platzhirsch: yeah installing Ruby on my Raspberry, takes aaages
[12:58:25] livathinos: has joined #ruby
[12:58:58] sdwrage: has joined #ruby
[12:59:43] mwlang: has joined #ruby
[13:00:00] CustosLimen: has joined #ruby
[13:03:15] bmurt: has joined #ruby
[13:05:20] olistik_: has joined #ruby
[13:06:42] segfalt: has joined #ruby
[13:06:53] victorkohl: has joined #ruby
[13:07:16] qwertme: has joined #ruby
[13:08:07] Hanmac1: has joined #ruby
[13:08:44] ljarvis: wow I have the weirdest issue. I have a Dir glob with a sort and an assignment, ie: foo = Dir[...].sort; the specs fail due to some kind of sorting issue; however, when i add a line below with the variable in void context it works fine :|
[13:08:57] OrbitalKitten: has joined #ruby
[13:09:11] armyriad: has joined #ruby
[13:09:36] ljarvis: something else must be amiss. HELLO MONDAY
[13:12:21] yalue: has joined #ruby
[13:12:42] davedev24_: has joined #ruby
[13:12:44] mwlang: ljarvis: huh? ???void context???? gist some code?
[13:12:52] apeiros: ljarvis: the one time I had that kind of issue (just add a line and it works) I had a syntax error which didn't raise
[13:13:04] apeiros: i.e. I had an ongoing open statement, due to a trailing "," on the line before
[13:13:24] apeiros: took 2 devs 15min and tons of "what what what whaaat?!?"
[13:13:32] ljarvis: mwlang: foo <
[13:13:39] ljarvis: there's ya void context
[13:14:50] ljarvis: mwlang: https://gist.github.com/leejarvis/11124b4b9b3f15eef487
[13:15:14] ljarvis: adding `all` to line 3 (in void context) makes specs pass; ensue confusion
[13:15:20] ljarvis: probably something silly like apeiros mentioned
[13:15:30] mwlang: ljarvis: there???s a square-bracket closing the ???glob??? call.
[13:15:42] ljarvis: oh come on i just typed it out
[13:15:49] dorei: ljarvis: Dir.glob("#{name}/*.xml"]
[13:16:03] dorei: ljarvis: u open with ( and u close with ]
[13:16:10] Darkwater: is that not how they work
[13:16:25] Darkwater: i thought so
[13:16:29] ljarvis: thank you for pointing out the completed unrelated syntax error
[13:16:52] xxneolithicxx: has joined #ruby
[13:17:50] mwlang: ljarvis: when you???re talking about unexpected weirdness, every detail counts.
[13:18:13] rocknrollMarc: has joined #ruby
[13:19:08] vikaton: has joined #ruby
[13:20:59] apeiros: ljarvis: found your misterybug?
[13:22:13] failshell: has joined #ruby
[13:22:15] ljarvis: i am embarass
[13:22:30] maloik: when you say A...
[13:22:55] fmcgeough: has joined #ruby
[13:23:17] sandelius: has joined #ruby
[13:23:29] dblessing: has joined #ruby
[13:23:32] User458764: has joined #ruby
[13:23:50] nfk|laptop: has joined #ruby
[13:24:21] banister: has joined #ruby
[13:25:58] jerius: has joined #ruby
[13:26:05] gagrio: has joined #ruby
[13:26:27] Scripore: has joined #ruby
[13:26:52] mrchris: has joined #ruby
[13:28:33] ESpiney: has joined #ruby
[13:29:21] bollullera: has joined #ruby
[13:29:44] mary5030: has joined #ruby
[13:30:28] mary5030: has joined #ruby
[13:30:57] allcentury: has joined #ruby
[13:31:54] bollullera: has left #ruby: ()
[13:32:23] nettoweb: has joined #ruby
[13:34:09] commondream: has joined #ruby
[13:35:42] shredding: has joined #ruby
[13:36:43] apeiros: ljarvis: let us participate on your embarrassement
[13:37:16] RegulationD: has joined #ruby
[13:37:32] MrBeardy: has joined #ruby
[13:37:43] Hamburgl: has joined #ruby
[13:38:28] freerobby: has joined #ruby
[13:39:29] havenwood: has joined #ruby
[13:40:18] ljarvis: I was running the spec with a specific line number right
[13:40:25] moredhel: has joined #ruby
[13:40:27] ljarvis: you know what happens when you add a new line?
[13:40:34] apeiros: aaaahahaaha
[13:40:43] apeiros: happens to the best ;-)
[13:40:52] adaedra: congrats ljarvis :)
[13:41:12] apeiros: that would have been hard to find from a pure code analysis :D
[13:41:16] ljarvis: annoying thing is, spec still fails and i think it's related to osx fs case-sensitivity (passes on our ci and other dev boxes)
[13:41:20] ljarvis: haha yeah it would have
[13:41:39] nonparfumee: has joined #ruby
[13:41:59] adaedra: ljarvis: you can try to create a case-sensitive dmg to test
[13:42:16] ljarvis: that sounds like a lot of effort
[13:42:38] mikecmpbll: has joined #ruby
[13:42:49] adaedra: I knew how to do it in CLI
[13:43:38] sevenseacat: has joined #ruby
[13:43:38] pandaant: has joined #ruby
[13:45:20] OrbitalKitten: has joined #ruby
[13:45:44] jimms: has joined #ruby
[13:46:31] yh: has joined #ruby
[13:48:11] zotherstupidguy: DeBot: !hangman
[13:48:11] DeBot: ????????? [] 0/12
[13:48:15] podman: has joined #ruby
[13:48:34] DeBot: ????????? [ae] 2/12
[13:48:41] DeBot: ????????? [aed] 3/12
[13:48:43] casadei: has joined #ruby
[13:48:50] adaedra: DeBot: oui
[13:48:50] DeBot: ???o??? [aedui] 5/12
[13:48:53] simurg: has joined #ruby
[13:49:15] apeiros: I bet the missing chars are \/
[13:49:22] DeBot: ???o??? [aedui\] 6/12
[13:49:27] adaedra: How much, apeiros ?
[13:49:43] DeBot: ???o??? [aedui\ts] 8/12
[13:49:43] Darkwater: DeBot: asdf
[13:49:43] DeBot: ???o??? [aedui\tsf] 9/12
[13:49:44] mwlang: try : and )
[13:49:54] adaedra: mwlang: do it
[13:50:01] kobain: has joined #ruby
[13:50:07] manzo: has joined #ruby
[13:50:08] DeBot: ???o??? [aedui\tsfr] 10/12
[13:50:16] DeBot: ???o??? [aedui\tsfrz] 11/12
[13:50:17] DeBot: ???o??? [aedui\tsfrz] 11/12
[13:50:18] zotherstupidguy: Debot: !scoreboard
[13:50:23] DeBot: pop [aedui\tsfrzq] 12/12 You lost!
[13:50:37] adaedra: DeBot: !hangman
[13:50:37] DeBot: ????????????????????? [] 0/12
[13:50:44] Darkwater: DeBot: asdf
[13:50:45] DeBot: ???a?????????a??? [sdf] 3/12
[13:50:50] adaedra: DeBot: eiou
[13:50:50] DeBot: ???a???u???a??? [sdfeio] 6/12
[13:50:51] Darkwater: DeBot: hangman
[13:50:51] DeBot: na???u???a??? [sdfeiohgm] 9/12
[13:51:13] Darkwater: DeBot: natural
[13:51:13] DeBot: natural [sdfeiohgm] 9/12 You won!
[13:51:13] adaedra: DeBot: numanuma
[13:51:25] Darkwater: I am credit to team
[13:51:30] Darkwater: I like this kind of hangman
[13:51:34] Darkwater: DeBot: !hangman
[13:51:34] DeBot: ???????????????????????????????????? [] 0/12
[13:51:38] Darkwater: DeBot: asdf
[13:51:38] DeBot: ???????????????d?????????????????? [asf] 3/12
[13:51:38] arup_r: has joined #ruby
[13:51:43] canton7: DeBot, eta
[13:51:43] DeBot: ??????t??????d??????t????????? [asfe] 4/12
[13:51:50] DeBot: ???nt???od??????t???on [asfem] 5/12
[13:51:55] canton7: DeBot, rhs
[13:51:55] DeBot: ???ntrod??????t???on [asfemh] 6/12
[13:51:55] DeBot: ???ntrodu???t???on [asfemh] 6/12
[13:51:56] jhass: btw the default wordlist is "nouns mothers should teach their children early" :P
[13:51:57] DeBot: introdu???tion [asfemh] 6/12
[13:52:01] Darkwater: DeBot: introduction
[13:52:01] DeBot: introduction [asfemh] 6/12 You won!
[13:52:19] zotherstupidguy: where is the sourcecode of debot?
[13:52:25] Darkwater: DeBot: !hangman
[13:52:26] DeBot: ?????????????????????????????? [] 0/12
[13:52:32] Darkwater: DeBot: asdf
[13:52:32] DeBot: ??????????????????s????????? [adf] 3/12
[13:52:34] Darkwater: DeBot: omni
[13:52:35] DeBot: ???ni?????????si?????? [adfom] 5/12
[13:52:42] DeBot: ???ni?????????si?????? [adfomg] 6/12
[13:52:44] DeBot: ???ni???e???si?????? [adfomg] 6/12
[13:52:46] jhass: zotherstupidguy: github.com/jhass/DeBot
[13:52:52] pengin: has joined #ruby
[13:53:14] atmosx: has joined #ruby
[13:53:16] DeBot: uni???e???si?????? [adfomg] 6/12
[13:53:19] DeBot: uni???e???si?????? [adfomgj] 7/12
[13:53:21] DeBot: uni???e???si?????? [adfomgjk] 8/12
[13:53:25] sonOfRa: DeBot: university
[13:53:25] DeBot: university [adfomgjk] 8/12 You won!
[13:53:28] adaedra: ---8<--- snip snip
[13:53:29] canton7: DeBot, university
[13:53:54] adaedra: When I run rack, there is some middleware automatically setup, is there a way to not use them?
[13:54:56] workmad3: has joined #ruby
[13:55:14] apeiros: ACTION is tempted to say "yes"
[13:55:21] iwishiwerearobot: has joined #ruby
[13:55:26] apeiros: I don't, because I don't know the answer to the follow-up question "how?" :<
[13:55:38] gagrio: has joined #ruby
[13:56:17] arturhoo: has joined #ruby
[13:57:37] jhass: apeiros: it's "look at the docs"
[13:57:53] quimrsto_: has joined #ruby
[13:58:01] dru`: has joined #ruby
[13:58:22] lordkryss: has joined #ruby
[13:58:34] ScriptGeek: has joined #ruby
[13:58:39] apeiros: jhass: I'm against blanket "RTFM" answers. RTFM is ok if accompanied by a source
[13:59:24] jhass: sure, j/k ;)
[13:59:26] RegulationD: has joined #ruby
[13:59:27] apeiros: and a somewhat narrow source too - "somewhere in those 500 pages you'll find the answer to your question" is not helpful
[13:59:38] apeiros: assumed so :)
[13:59:52] apeiros: I'm more or less also formulating this to check against topic->rules
[14:00:27] zotherstupidguy: jhass diaspora seems like a good idea, is it working out as expected?
[14:00:30] User458764: has joined #ruby
[14:00:35] adaedra: ok, found what I was looking for
[14:00:51] jhass: zotherstupidguy: I don't have expectations
[14:01:03] bootstrappm: has joined #ruby
[14:01:10] jhass: we'll keep it running and see what happens
[14:01:10] zotherstupidguy: do you use it daily instead of fb?
[14:01:24] jhass: yeah, I hardly touch Twitter or FB
[14:01:25] Ropeney: has joined #ruby
[14:01:38] jhass: my FB account is for SSO crap only
[14:02:02] treehug88: has joined #ruby
[14:03:34] thiagovsk: has joined #ruby
[14:03:45] pengin: has joined #ruby
[14:04:13] zotherstupidguy: "JoinDiaspora.com Registrations are closed
[14:04:46] jhass: it's decentralized and all that
[14:04:57] lavros: has joined #ruby
[14:05:03] jhass: https://wiki.diasporafoundation.org/Choosing_a_pod
[14:05:26] jhass: how did you even find jd.com?
[14:05:29] jmignault: has joined #ruby
[14:05:41] jhass: is it still that high on the google results? :/
[14:07:19] senayar: has joined #ruby
[14:07:40] alex88: has joined #ruby
[14:07:43] nonparfumee: has joined #ruby
[14:08:30] paulcsmith: has joined #ruby
[14:08:32] axl_: has joined #ruby
[14:08:46] zotherstupidguy: yeah i found it easily
[14:09:28] zotherstupidguy: i found a couple of sites in langauges other than english, now checking out https://diasp.ca/
[14:10:14] bruno-: has joined #ruby
[14:10:22] sorbo_: has joined #ruby
[14:12:45] ahmetkapikiran: has joined #ruby
[14:13:21] zotherstupidguy: it got cats too, just like facebook =)
[14:13:38] sdothum: has joined #ruby
[14:13:40] Kricir: has joined #ruby
[14:14:04] charliesome: has joined #ruby
[14:14:27] zotherstupidguy: jhass the UI sucks!
[14:14:44] jhass: yah, you should join the design team
[14:15:04] jhass: https://www.loomio.org/d/KZJhVLgM/develop-diaspora-design-and-identity
[14:15:37] kies: has joined #ruby
[14:15:54] jhass: https://www.loomio.org/d/OEbGDlq1/create-a-ui-task-force
[14:16:16] jhass: but should finish https://github.com/diaspora/diaspora/pull/6015 first
[14:16:22] jhass: (stops link spamming now)
[14:16:40] zotherstupidguy: jhass its a rails app, right?
[14:17:05] jhass: mostly backone/scss/bootstrap on the frontend side
[14:17:15] zotherstupidguy: so each dpod got its own UI?
[14:17:25] jhass: few customize it a bit
[14:17:42] jacor: has joined #ruby
[14:17:55] Spami: has joined #ruby
[14:17:57] zotherstupidguy: wouldn't it be nicer if they were two seperate projects, one for UI and one for API?
[14:18:08] jimms: has joined #ruby
[14:18:11] zotherstupidguy: UI projects attracts the UI guys
[14:18:12] blandflakes: has joined #ruby
[14:18:23] mrmargolis: has joined #ruby
[14:18:28] jhass: long way to go
[14:18:33] sdothum: has joined #ruby
[14:18:33] someword: has joined #ruby
[14:19:44] denver: has joined #ruby
[14:21:04] zotherstupidguy: jhass is this harder than just one big rails project?
[14:21:33] jhass: it's not been setup that way and moving towards is a lot of work
[14:21:51] jhass: we're basically doing it by porting everything to backbone/handlebars
[14:22:19] jhass: you can do a lot of contributions without touching anything outside app/assets ever
[14:22:47] yqt: has joined #ruby
[14:22:49] delianides: has joined #ruby
[14:22:49] juanpaucar: has joined #ruby
[14:24:26] zotherstupidguy: i like backend more, but UI guys maybe a bit scared of most server-side technologies, so if it is just UI project, the UI might have a lot of good contributions, just saying! overall i think its a great movement!!!
[14:24:52] msgodf: has joined #ruby
[14:25:30] mello: has joined #ruby
[14:25:30] balazs_: has joined #ruby
[14:27:07] bkxd: has joined #ruby
[14:27:25] amystephen: has joined #ruby
[14:27:45] bootstrappm: that loomio site looks cool
[14:28:02] bootstrappm: you're contributing to diaspora jhass?
[14:29:25] bentanweihao: has joined #ruby
[14:29:31] zotherstupidguy: jhass in theory this can actually beat fb :) i think
[14:29:35] workmad3: has joined #ruby
[14:29:38] bkxd: is that the one where the founder committed suicide?
[14:29:45] OrbitalKitten: has joined #ruby
[14:30:00] bkxd: ouch. yeah, seems like a cool project though
[14:30:17] coderkevin: has joined #ruby
[14:30:17] jhass: ilya had similar issues like aaron
[14:30:27] jhass: all I'm going to say
[14:30:37] catcher: has joined #ruby
[14:30:50] bkxd: i don't know what/who ilya is
[14:30:53] commondream: has joined #ruby
[14:31:00] jhass: the one that committed suicide
[14:31:02] catcher: Is it possible / okay to use string interpolation in variable names?
[14:31:09] bkxd: ah, i see
[14:31:11] jhass: catcher: no, sounds like you want a hash
[14:32:16] catcher: jhass, my goal is to reference 1 of 2 instance variables based on the method arg
[14:32:39] jhass: yeah, sounds like you want a hash or perhaps a simple ternary
[14:33:05] catcher: jhass, got it, thanks. I have a ternary now, looking for the most 'ruby way'.
[14:34:30] catcher: Here's the idea, which is obviously not ideal: class Foo @new_thing @old_thing; def bar(type) puts "this instance's #{type} val is @#{type}_thing"
[14:34:50] jhass: show your real code and we'll tell whether it's good of theirs a nicer way
[14:34:55] jhass: discussing this on fake code is useless
[14:36:21] freerobby: has joined #ruby
[14:36:46] Macaveli: has joined #ruby
[14:38:27] bkxd_: has joined #ruby
[14:39:38] Jonah11_: has joined #ruby
[14:40:46] enebo: has joined #ruby
[14:42:06] dudedudeman: have we all paid our respects to #ruby-lang this morning?
[14:42:10] dudedudeman: or did i already miss that boat
[14:42:28] ccooke: What happened to #ruby-lang?
[14:42:36] dudedudeman: it redirects to here now, as of this morning
[14:42:51] havenwood: ccooke: Check the topic. :)
[14:43:15] bootstrappm: what was the community split like before? or was it just random?
[14:43:18] dudedudeman: we've assimilated
[14:43:42] tjohnson: has joined #ruby
[14:44:05] centrx: bootstrappm, #ruby-lang was the one listed on the Ruby website
[14:44:28] bkxd: has joined #ruby
[14:44:43] centrx: bootstrappm, So uniquely it had a) some guru crusty experts who refused to join #ruby and b) lots of newbies coming from the website
[14:44:48] dudedudeman: which i guess makes sense, given the website is ruby-lang.org
[14:45:30] balazs_: has joined #ruby
[14:45:33] havenwood: dudedudeman: Just because ruby.com is selling jewelry. ;)
[14:45:41] bluish: has joined #ruby
[14:46:31] vivekananda: has joined #ruby
[14:46:37] umgrosscol: has joined #ruby
[14:47:33] jhass: the issue was that we weren't able to properly moderate this channel, that has been fixed so #ruby-lang became redundant
[14:48:52] aryaching: has joined #ruby
[14:49:00] IrishGringo: has joined #ruby
[14:49:08] catcher: jhass, something like this: http://codepad.org/Ad6x6u7U
[14:49:26] catcher: jhass, I'd like to dry up the legacy/new reuse
[14:50:02] jhass: catcher: you have to decide it on a per query basis?
[14:50:41] catcher: jhass, another method works with the rows of both DBs simultaneously
[14:51:14] jhass: I'd ponder two instances of JoinVerifier
[14:51:47] someword: has joined #ruby
[14:51:56] jhass: legacy_db = JoinVerifier.new(creds, legacy_db_name); new_db = JoinVerifier.new(creds, new_db_name)
[14:52:11] ndrei: has joined #ruby
[14:52:41] iwishiwerearobot: has joined #ruby
[14:53:11] catcher: jhass, maybe a different class, ResultSet, which JoinVerifier instantiates. That's a good thought.
[14:53:25] catcher: jhass, from a language standpoint though, is there a better way to do what I'm doing in that method?
[14:53:50] jhass: I'd consider making type a bool, use_legacy_db=false
[14:54:03] jhass: but yeah, for something like that just if/ternary it
[14:54:17] catcher: jhass, cool, thanks for the feedback.
[14:54:32] atmosx: has joined #ruby
[14:55:02] watchtheblur: has joined #ruby
[14:55:31] arturhoo_: has joined #ruby
[14:57:31] byprdct: has joined #ruby
[14:57:56] dfockler: has joined #ruby
[14:58:24] dudedudeman: and ruby.org looks like it sells 'more meaningful email addresses'
[14:59:07] dudedudeman: i could get dudedudeman@ruby.org for $35 a year!
[14:59:17] byprdct: has joined #ruby
[14:59:17] CustosLimen: has joined #ruby
[14:59:35] jhass: yeah, that should be only like 6000% profit for them!
[14:59:58] dudedudeman: but it's a bargain... each additional email is only $10 more a year!
[15:00:19] dudedudeman: it's a tucows site as well
[15:01:53] sinkensabe: has joined #ruby
[15:01:58] tkuchiki: has joined #ruby
[15:02:11] _ixti_: has joined #ruby
[15:02:33] OrbitalKitten: has joined #ruby
[15:02:50] kies: has joined #ruby
[15:03:23] _seanc_: has joined #ruby
[15:04:28] jordanm: has joined #ruby
[15:05:40] dfockler: it's like a nicer, "you can buy this domain"
[15:05:51] jhass: more like "domain time sharing!"
[15:06:27] catphish: has left #ruby: ("Leaving")
[15:06:53] rodferso1: has joined #ruby
[15:07:21] qwertme: has joined #ruby
[15:08:00] paulcsmith_: has joined #ruby
[15:09:30] senayar: has joined #ruby
[15:09:30] senayar: has joined #ruby
[15:09:35] adaedra: That awkward moment when looking for a bug gets you mailing lists from 2006
[15:10:45] dfockler: adaedra: are you having an issue with ruby 1.7?
[15:10:55] lindii_: has joined #ruby
[15:11:06] mrsolo: has joined #ruby
[15:11:49] krz: has joined #ruby
[15:11:57] shevy: adaedra the baguette bug!
[15:14:08] varunwachaspati: has joined #ruby
[15:14:13] kubunto: has joined #ruby
[15:14:22] dudedudeman: ACTION wants a baguette
[15:15:04] Cache_Money: has joined #ruby
[15:15:39] bootstrappm: ACTION wants a breakfast croissant
[15:15:57] fuzzyhorns: has joined #ruby
[15:16:14] sorbo_: are... are there other types of croissants?
[15:16:44] maloik: I've had a croissant after lunch before I'm sure
[15:16:49] maloik: then again I'm a bit of a rebel
[15:17:08] dudedudeman: i eat croissants at midnight, i'm not afraid
[15:17:13] chinmay__: has joined #ruby
[15:17:21] dfockler: cronuts are the hot new fad
[15:17:24] dudedudeman: with about a half a stick of butter on because yummy
[15:17:42] Scripore: has joined #ruby
[15:18:15] sorbo_: cronuts are good but over-hyped and not worth the wait
[15:18:32] bootstrappm: never had one, sounds yum
[15:19:05] nateberkopec: has joined #ruby
[15:19:23] _blizzy_: has joined #ruby
[15:20:11] sargas: has joined #ruby
[15:20:56] sargas: has joined #ruby
[15:23:58] Agoldfish: has joined #ruby
[15:23:59] mase-chatter: has joined #ruby
[15:24:02] jpfuentes2: has joined #ruby
[15:24:23] Cache_Money: has joined #ruby
[15:24:51] mase-chatter: has joined #ruby
[15:25:28] paulcsmith: has joined #ruby
[15:25:29] nettoweb: has joined #ruby
[15:25:45] Master44: has joined #ruby
[15:26:06] dopie: has joined #ruby
[15:28:12] sdothum: has joined #ruby
[15:28:21] ag4ve: has joined #ruby
[15:29:52] Mon_Ouie: has joined #ruby
[15:29:59] sdothum: has joined #ruby
[15:31:29] PaulCapestany: has joined #ruby
[15:31:43] lkba: has joined #ruby
[15:32:00] snockerton: has joined #ruby
[15:32:53] jimms: has joined #ruby
[15:33:58] sinkensabe: has joined #ruby
[15:34:15] sdothum: has joined #ruby
[15:36:14] m8: has joined #ruby
[15:37:37] shevy: sorbo_ I assume there are always variations; I first ate Dunkin' Donuts in london
[15:37:42] iamninja: has joined #ruby
[15:37:46] shevy: I always thought they to be typical UK food henceforthwith
[15:37:54] shevy: and everywher else, they tasted like garbage :(
[15:38:20] shevy: I could only eat it with hot chocolate though, so perhaps it was a conglomerate meal
[15:38:21] kinduff: has joined #ruby
[15:38:56] slackbotgz: has joined #ruby
[15:39:35] olistik: has joined #ruby
[15:41:21] mello: has joined #ruby
[15:41:28] rdark: has joined #ruby
[15:41:57] slash_ni1k: has joined #ruby
[15:42:07] banister: has joined #ruby
[15:43:10] sorbo_: shevy: haha yeah, fair
[15:43:14] nonparfumee: has joined #ruby
[15:43:29] GriffinHeart: has joined #ruby
[15:43:32] sorbo_: Tim Hortons in Canada is somehow way better than TH in the US
[15:43:42] sorbo_: despite their refusal to accept my middling non-Canadian French
[15:44:55] shevy: what is Tim Hortons? I don't think I have heard that name before
[15:45:00] jaequery: has joined #ruby
[15:45:04] shevy: and let's be honest here
[15:45:11] shevy: people who speak french are discriminated
[15:45:20] shevy: like adaedra :)
[15:45:23] dudedudeman: it's the canadian version of a dunkin donuts
[15:45:40] sorbo_: shevy: coffee & donut place
[15:45:42] shevy: haha sure thing that the dudedudeman knows stuff when it centers around the topic "food"
[15:45:50] jpfuentes2: has joined #ruby
[15:45:57] gauke: has joined #ruby
[15:46:02] dudedudeman: you're not wrong, though. my dad's a chef, and i love me some food.
[15:46:07] adaedra: I'm discriminated?
[15:46:10] adaedra: Since when?
[15:46:13] dudedudeman: i live in a very dangerous place to be a foodie
[15:46:18] shevy: dudedudeman well, if I ever actually manage to go to canada I'll be sure to visit a Tim Hortons (weird name though... Donkin donut is such a catchy phrase...)
[15:46:36] dudedudeman: it's true. and i believe there are dunkin's in canada, as well
[15:46:37] shevy: adaedra because of your french accent when you speak english
[15:46:38] sorbo_: don't say that, you'll wake the vengeful ghost of Tim Horton
[15:46:39] ljarvis: oh damn i miss timmies
[15:46:43] dseitz: has joined #ruby
[15:46:53] dudedudeman: i actually went to dunkin this morning
[15:47:01] shevy: you are a true dudedudemanman
[15:47:01] ljarvis: dat french vanilla doe
[15:47:11] dudedudeman: if you're a coffee conisseruer(i butchered that spelling, i know) you won't like their coffee
[15:47:14] pardusf: has joined #ruby
[15:47:15] adaedra: shevy: ok, whatever
[15:47:18] jcaho: has joined #ruby
[15:47:29] platzhirsch: has joined #ruby
[15:48:13] dvxam: has joined #ruby
[15:48:29] sorbo_: dudedudeman I'm picky about coffee but I like Dunkin's
[15:48:34] sorbo_: I loathe starbucks though
[15:48:37] sorbo_: it tastes like burnt hobo urine
[15:48:58] pengin: has joined #ruby
[15:49:25] dudedudeman: haaaaa. there's a starbucks near me that has a clover machine and real niche, specialty coffees. i do like those
[15:50:28] treehug88: has joined #ruby
[15:50:47] senayar: has joined #ruby
[15:50:47] senayar: has joined #ruby
[15:50:54] dvxam: Hi everyone! I'm having a little problem right using mkmf for a home-made c++ extension. How is it possible to use two different directory : one for headers and one for implementions? If yes, how to tell mkmf#create_makefile method?
[15:51:23] sorbo_: dudedudeman I've heard good things about the clover machine but never experienced one
[15:51:55] mrmargol_: has joined #ruby
[15:52:13] ljarvis: dvxam: you want dir_config
[15:52:32] sorbo_: dvxam: http://ruby-doc.org/stdlib-2.0/libdoc/mkmf/rdoc/MakeMakefile.html#method-i-dir_config
[15:52:35] ljarvis: dvxam: http://ruby-doc.org/stdlib-2.0/libdoc/mkmf/rdoc/MakeMakefile.html#method-i-dir_config
[15:52:38] ljarvis: ow too slow
[15:52:41] sorbo_: ^ what ljarvis said
[15:52:47] baroquebobcat: has joined #ruby
[15:52:50] commondream: has joined #ruby
[15:52:51] wookiehangover: has joined #ruby
[15:53:00] ljarvis: also, ugh @ separating them into different folders
[15:53:08] ljarvis: please reconsider that
[15:54:00] dvxam: @thx so much @ljarvis
[15:54:10] dvxam: thx @sorbo_ too ;)
[15:54:12] dudedudeman: sorbo_: if you can find one, definitely check it out. it retains so much of the flavor of the original roast. starbucks actually now owns the clover company, so you can find them in some of their locations, or in coffee shops that owned them before starbucks bought them
[15:56:31] iamninja: has joined #ruby
[15:56:48] kinduff: Morning everyone
[15:57:10] havenwood: kinduff: g'mornin
[15:57:27] bootstrappm: kinduff: morning!
[15:58:07] rickmasta: has joined #ruby
[15:58:20] sorbo_: dudedudeman good to know!
[15:58:38] kinduff: havenwood bootstrappm :)
[15:59:05] bootstrappm: anybody have a place where to upload / share their dotfiles?
[15:59:13] bootstrappm: just looked at dotfiles.org and it has no way to signup
[15:59:43] pengin: has joined #ruby
[15:59:59] bootstrappm: I'm writing some salt files (from SaltStack) and I always include Vim. I want to my include my config too but not sure where to upload it to subsequently download it from
[16:00:16] bootstrappm: some palce I won't accidentally change like my s3 buckets
[16:00:34] chinmay_dd: has joined #ruby
[16:01:04] mrsolo: has joined #ruby
[16:02:03] wasamasa: including vim on your production servers??
[16:02:11] bootstrappm: yep, always do
[16:02:13] wasamasa: that sounds like you don't deploy properly :P
[16:02:26] bootstrappm: sounds like you've never had to debug on production ;)
[16:02:50] wasamasa: at least according to hackernews
[16:02:52] wasamasa: ACTION coughs
[16:03:03] dudedudeman: could anyone help me out turning a seqel statement in to an activerecord query?
[16:03:30] wasamasa: yeah, I was surprised to read about how people invest a ridiculous amount of time in making sure you don't ever change something in a non-reproducible way
[16:03:48] dudedudeman: i've got this: https://gist.github.com/anonymous/538ee63c1d0bc7ef533d
[16:04:25] luckyme: has joined #ruby
[16:04:34] sandstrom: has joined #ruby
[16:04:44] bootstrappm: reading dudedudeman
[16:05:58] mrsolo: has joined #ruby
[16:06:06] jhass: bootstrappm: just do github.com/bootstrappm/dotfiles ?
[16:06:30] jcaho_m: has joined #ruby
[16:07:17] pietr0: has joined #ruby
[16:07:53] psy: has joined #ruby
[16:07:59] iamninja: has joined #ruby
[16:08:43] bootstrappm: yeah thats what i'm prob gonna go with jhass
[16:10:10] momomomomo: has joined #ruby
[16:10:45] _seanc_: has joined #ruby
[16:10:48] bootstrappm: hey dudedudeman try: DreamColorMonitor.from('calibrations c').joins('JOIN dream_color_monitors.id = c.dream_color_monitor_id').where("date > date('now'") - 90").group('tag')
[16:11:23] bootstrappm: assuming you have a DreamColorMonitor model. I changed your where to a join, if you're using postgres it translates to the same thing under the hood
[16:11:35] tkuchiki: has joined #ruby
[16:11:38] dudedudeman: i do have that model! ok.
[16:11:42] dudedudeman: let me throw it around in irb
[16:12:16] mistermocha: has joined #ruby
[16:12:16] varunwachaspati: has joined #ruby
[16:12:25] psye: has joined #ruby
[16:13:01] User458764: has joined #ruby
[16:13:44] sanguisdex: has joined #ruby
[16:13:49] kinduff: >> loop { fork }
[16:13:50] ruboto: kinduff # => (https://eval.in/373858)
[16:14:29] dudedudeman: ugh, i hate to have to even ask this, but what does the " mean on a new line in irb?
[16:14:37] kinduff: so the line of code loops and forks nothing and hangs the system?
[16:14:54] atmosx: dudedudeman: you didn't close atag?
[16:15:12] adaedra: kinduff: I'm not sure apeiros will be happy that you try to fork bomb the eval bot
[16:15:22] freerobby: has joined #ruby
[16:15:41] adaedra: good think fork is forbidden in it
[16:15:41] CustosLimen: has joined #ruby
[16:16:07] kinduff: they're covered with the basic treats, I just wanted to ask why does that work
[16:16:08] Mon_Ouie: Well it's no worse than any kind of bot-based spam
[16:16:08] canton7: dudedudeman, you didn't close some quotes
[16:16:14] swgillespie: has joined #ruby
[16:16:44] Mon_Ouie: It doesn't work because ptrace is used to block certain syscalls
[16:16:51] kinduff: dudedudeman, close the quotes, luke
[16:17:27] adaedra: kinduff: you'll create, at each loop, a new process which will do the same thing ??? a basic fork bomb
[16:17:42] adaedra: depending on the system, it leads to resource exhaustion and hang, yes
[16:17:56] imperator: has joined #ruby
[16:18:18] imperator: (x-posting from #ruby-lang, don't kick me apeiros)
[16:18:48] yfeldblum: has joined #ruby
[16:18:53] adaedra: apeiros, the #ruby frightening founder
[16:19:11] imperator: need some oauth2/ruby help trying to authenticate against azure
[16:19:41] yh: has joined #ruby
[16:19:44] swgillespie: has joined #ruby
[16:19:53] imperator: first question is where/if i set the response_mode - docs indicate it needs to be set to "query"
[16:20:07] unshadow: has joined #ruby
[16:20:18] dudedudeman: bootstrappm: in the the from('calibrations c') bit, what does the c do for me?
[16:22:11] swgillespie: has joined #ruby
[16:22:39] bootstrappm: dudedudeman it's an alias, its just so I didn't have to type out the table name again in the join
[16:22:48] dudedudeman: ah! I see that now. that's kind of cool
[16:23:16] camonz: has joined #ruby
[16:24:05] bricker: has joined #ruby
[16:24:19] towski_: has joined #ruby
[16:24:38] bootstrappm: dudedudeman sorry went to the bathroom for your quotes question, did you find the extra double quotes i accidentally put in there?
[16:25:09] dudedudeman: i don't know if they belong on the outside of the 90, or just after the now)
[16:25:10] bootstrappm: its in the where date aggregate function
[16:25:17] bootstrappm: just take 'em out
[16:25:27] bootstrappm: the ones after the 90 are the right ones
[16:25:55] bootstrappm: like that: DreamColorMonitor.from('calibrations c').joins('JOIN dream_color_monitors.id = c.dream_color_monitor_id').where("date > date('now') - 90").group('tag')
[16:26:04] freerobby: has joined #ruby
[16:27:03] Mia: has joined #ruby
[16:27:03] Mia: has joined #ruby
[16:27:16] dudedudeman: ok. that throws a PG::syntax error on the join. where it says dc...id = c.....id
[16:27:55] bootstrappm: cool, gist the error and send it over
[16:28:36] poguez_: has joined #ruby
[16:28:38] dudedudeman: bootstrappm: https://gist.github.com/anonymous/c6b94265e5df59039878
[16:28:55] wookiehangover: has joined #ruby
[16:30:54] bootstrappm: ups, dudedudeman try: DreamColorMonitor.joins('JOIN calibrations c ON dream_color_monitors.id = c.dream_color_monitor_id').where("date > date('now') - 90").group('tag')
[16:31:05] bootstrappm: just moved the FROM into the JOIN clause
[16:31:46] dudedudeman: ERROR: column "dream_color_monitors.id" must appear in the GROUP BY clause or be used in an aggregate function
[16:32:52] baweaver: has joined #ruby
[16:32:57] bootstrappm: add .select('date') near the beginning dudedudeman, did the SQL query work as you wrote it?
[16:33:34] bootstrappm: OH, I missed your SELECT clause completely
[16:33:51] baweaver: has joined #ruby
[16:33:53] dudedudeman: oh shoot. so did i. lol
[16:34:03] bootstrappm: DreamColorMonitor.select('dream_color_monitors.id, calibrations.dream_color_monitor_id, tag, min(date)').joins('JOIN calibrations c ON dream_color_monitors.id = c.dream_color_monitor_id').where("date > date('now') - 90").group('tag')
[16:35:00] dudedudeman: ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: invalid reference to FROM-clause entry for table "calibrations"
[16:35:34] jpfuentes2: has joined #ruby
[16:36:22] bootstrappm: gist the error, I wanna see the SQL AR generates
[16:36:41] mrmargolis: has joined #ruby
[16:36:42] Ziioynx: has joined #ruby
[16:36:52] troyready: has joined #ruby
[16:37:13] Luyt_: has joined #ruby
[16:37:18] dudedudeman: https://gist.github.com/anonymous/3ec2e6da2adfed4fb723
[16:37:31] wookiehangover: has joined #ruby
[16:39:01] bootstrappm: PG speaks the truth, I forgot to use the alias everywhere: DreamColorMonitor.select('dream_color_monitors.id, c.dream_color_monitor_id, tag, min(date)').joins('JOIN calibrations c ON dream_color_monitors.id = c.dream_color_monitor_id').where("date > date('now') - 90").group('tag')
[16:39:22] dudedudeman: ACTION believes in bootstrappm
[16:40:32] nonparfumee: has joined #ruby
[16:40:33] dudedudeman: https://gist.github.com/anonymous/db2aa47cf6c7541be33f
[16:41:39] Cache_Money: has joined #ruby
[16:41:48] dudedudeman: would it need to be .group(dream_color_monitors.id.tag)?
[16:41:59] bootstrappm: hm, now that looks like an error with the actual logic of the query
[16:42:06] bootstrappm: you sure that query was running fine?
[16:42:17] bootstrappm: because the SQL it spit out matches the SQL in your gist now, at least (phew!)
[16:42:55] bootstrappm: well, dudedudeman, what its saying is that if your doing a GROUP BY, then all the information that identifies individual rows (like IDs) doesn't make sense in the select
[16:43:08] bootstrappm: because you're grouping a ton of rows together
[16:43:23] bootstrappm: so those aggregate results won't have any one specific .id
[16:43:34] dudedudeman: ok, that makes sense
[16:43:38] pengin: has joined #ruby
[16:44:21] alex88: has joined #ruby
[16:44:29] paulcsmith: has joined #ruby
[16:45:03] dudedudeman: bah, i'm pretty sure this sql logic is working
[16:45:22] dudedudeman: i sat down with a db whiz at work and we worked through it together
[16:46:23] bootstrappm: yeah? have no DB to test it on?
[16:46:45] dudedudeman: i'm pushing it through sqlite now
[16:47:04] coderhs: has joined #ruby
[16:47:36] jpfuentes2: has joined #ruby
[16:48:19] dudedudeman: apparently i suck at sqlite3 cli stuff
[16:48:35] dudedudeman: or at least, i have no clue what i'm doing
[16:49:05] bootstrappm: hahah what are you trying to do
[16:49:30] dudedudeman: take that original list of sql statements that i gisted to you and push them through sqlite3 cli to see if they work
[16:50:09] bootstrappm: also, FWIW I'm pretty sure if you remove the GROUP BY clause there that query will work in PostgreSQL
[16:50:33] baweaver: has joined #ruby
[16:51:08] bootstrappm: and yeah, I don't remember much of sqlite, but I'm pretty sure you can put them in a text file and "cat text_file.sql > sqlite3"
[16:51:47] Scripore: has joined #ruby
[16:52:03] bootstrappm: wait dudedudeman ... are you on windows? if so that won't work, for obvious reasons hahah
[16:52:16] dudedudeman: oh no, linux boy here
[16:52:51] jhass: cat file | command or just command < file
[16:53:16] jhass: cat file > command is actually cp file command
[16:53:17] bootstrappm: ^ that, my mistake
[16:53:49] dudedudeman: that definitely returns something, but i'm not sure that's what i want. lol
[16:53:53] bootstrappm: also, just checked the sqlite3 --help and it takes a filename as an arg "sqlite3 text_file.sql <name_of_database>
[16:54:00] Rubie: has joined #ruby
[16:55:22] iliketurtles: has joined #ruby
[16:55:34] snockerton: has joined #ruby
[16:55:53] dudedudeman: meh, that's complicated. lol
[16:56:06] dudedudeman: well, it's not. but now i'm trying to learn that. and am missing the sql goodness here
[16:56:18] mistergibson: I have had great results from using sequel gem - makes db handling easy
[16:56:35] delianides: has joined #ruby
[16:57:10] dudedudeman: ok, yeah. i'm in my db and it tells me there's no such column dream_color_monitors.id
[16:57:14] dudedudeman: so there's a giant fail for me
[16:57:26] Scripore: has joined #ruby
[16:58:32] lindii_: has joined #ruby
[16:58:58] dudedudeman: but it's weird...
[16:59:11] dudedudeman: because i'm reading/writing to that database no problems
[16:59:58] sorbo_: has joined #ruby
[17:02:14] dudedudeman: well, it could be because the dream_color_monitor_id is a column that is in my calibrations table
[17:02:27] paulcsmith: has joined #ruby
[17:02:29] jackjackdripper: has joined #ruby
[17:02:36] bootstrappm: careful, dream_color_monitors.id is not the same as dream_color_monitor_id
[17:02:44] dudedudeman: oh you're right
[17:02:55] dudedudeman: ok, there's an id column in my dream_color_monitors table
[17:03:01] dudedudeman: am i just hooking in to it wrong?
[17:03:18] bootstrappm: probs yes, is the error you're getting in sqlite or postgres?
[17:03:37] dudedudeman: i get the error in both
[17:03:43] Spami: has joined #ruby
[17:03:47] phale: has joined #ruby
[17:03:58] dudedudeman: but sqlite3 really should be the focus, as that's truly what i'm using in production
[17:04:08] yh: has joined #ruby
[17:04:09] dudedudeman: (which, i should have specified earlier and for that i am sorry)(
[17:04:34] phale: has left #ruby: ("Leaving")
[17:04:35] bootstrappm: I would recommend not using sqlite in production. It's file based, you'll run into contention REALLY FAST if you have more than a few users accessing the same resources
[17:04:49] dudedudeman: well, there's a total of 3 users using this app
[17:04:55] bootstrappm: ok cool, lets troubleshoot this sqlite thing
[17:04:59] bootstrappm: gist the error
[17:05:03] Gate: has joined #ruby
[17:05:04] dudedudeman: and it'll never be more than 1 of us using it
[17:05:15] dudedudeman: here's a gist of my table info: https://gist.github.com/anonymous/20adb3def8819c79d27d
[17:05:28] djbkd: has joined #ruby
[17:05:30] delianides: has joined #ruby
[17:05:31] jackjackdripper1: has joined #ruby
[17:06:20] djbkd: has joined #ruby
[17:06:38] dudedudeman: and here's where i was just trying to run the command of my first sql query: https://gist.github.com/anonymous/0883b309bc6f3e30d959
[17:06:44] qwertme: has joined #ruby
[17:06:51] freerobby: has joined #ruby
[17:07:22] baweaver: has joined #ruby
[17:07:33] jpfuentes2: has joined #ruby
[17:07:41] orionstein: has joined #ruby
[17:08:46] bootstrappm: okay, are you connected to that db? what does `.tables` give you dudedudeman?
[17:10:17] n008f4g_: has joined #ruby
[17:11:16] mary5030: has joined #ruby
[17:12:00] dudedudeman: bootstrappm: https://gist.github.com/anonymous/0883b309bc6f3e30d959
[17:12:02] mello: has joined #ruby
[17:12:04] dudedudeman: ugh, not that, sorry
[17:12:10] dudedudeman: bootstrappm: calibrations dream_color_monitors schema_migrations
[17:12:26] mary5030: has joined #ruby
[17:12:48] bootstrappm: oh I got it dudedudeman, you didn't run the whole query. Just the select part
[17:12:53] bootstrappm: you need the FROM and all that
[17:13:28] ewnd9: has joined #ruby
[17:13:39] aryaching: has joined #ruby
[17:13:55] dudedudeman: let me run that
[17:15:17] dudedudeman: hot damn it works
[17:15:53] dudedudeman: the sql statements at least
[17:16:05] bootstrappm: w/ the group by and everything?
[17:16:14] dudedudeman: https://gist.github.com/anonymous/537e3d13eda7277768f0
[17:16:43] yfeldblum: has joined #ruby
[17:16:48] soulcake: has joined #ruby
[17:16:54] phale: has joined #ruby
[17:17:11] bootstrappm: not gonna lie to you, I really don't know what that result set means ... logically speaking hahaha
[17:17:12] phale: quantum physics and astrophysics can be applie to a set of ruby programs right
[17:17:22] bootstrappm: I would be very suspicious of that data
[17:17:52] bootstrappm: phale: troll or 4realz?
[17:17:53] dudedudeman: oh, the result set is monitors in the database that have calibrations from over 90 days ago
[17:18:02] phale: bootstrappm: real
[17:18:17] jhass: bootstrappm: troll
[17:18:25] phale: jhass: i'll k-line him
[17:18:27] phale: dont worry
[17:18:38] jhass: say what?
[17:19:02] mrmargol_: has joined #ruby
[17:19:06] jimms: has joined #ruby
[17:19:41] charliesome: has joined #ruby
[17:20:08] phale: has left #ruby: ("Leaving")
[17:20:32] yfeldblum: has joined #ruby
[17:22:29] OrbitalKitten: has joined #ruby
[17:22:34] rocknrollMarc: has joined #ruby
[17:23:25] imperator: gem install quantum_leap
[17:25:43] User458764: has joined #ruby
[17:25:58] mikecmpbll: has joined #ruby
[17:27:15] casadei: has joined #ruby
[17:28:18] dudedudeman: bootstrappm: i'm goign to have to poke around some more with this. you're a trooper for spending the last couple hours with me
[17:28:31] dudedudeman: this kind of stuff can definitely wear a man out
[17:29:10] jhass: dudedudeman: you've been nowhere here :P
[17:29:36] dudedudeman: i've gotten nowhere? then yes, that's definitely true. lol
[17:29:44] jhass: in the SQL hell
[17:30:19] yaw: has joined #ruby
[17:30:21] shevy: has joined #ruby
[17:30:23] Musashi007: has joined #ruby
[17:30:47] yaw: has left #ruby: ()
[17:30:54] dudedudeman: jhass: i'd be lying if i said i hadn't toyed with it all weekend, either, after you got me started on working through this
[17:31:48] shadoi: has joined #ruby
[17:32:03] Senjai: has joined #ruby
[17:33:17] finisherr: has joined #ruby
[17:33:26] paulcsmith: has joined #ruby
[17:34:35] finisherr: Hello Folks. I???m having some issues with the Proxy object ruby koan. I???m not sure how to intercept the method calls. Do I override the send method and wrap it so I can add each method call to a message_log array or something?
[17:35:04] Soda: has joined #ruby
[17:35:13] finisherr: This is the assignment
[17:35:14] finisherr: https://github.com/neo/ruby_koans/blob/master/src/about_proxy_object_project.rb
[17:35:21] catcherdev: has joined #ruby
[17:35:39] finisherr: actually, i think that???s someone???s answer
[17:37:35] finisherr: Ahh, method_missing call intercepts
[17:37:44] sarkyniin: has joined #ruby
[17:38:38] baweaver: has joined #ruby
[17:39:00] jhass: well, it's the code from which the koans you download are generated ;)
[17:40:54] finisherr: I???m all good now
[17:41:21] mike_bueti: has joined #ruby
[17:41:25] j0n3: has joined #ruby
[17:41:38] finisherr: I have to get more familiar with the core and stdlib
[17:42:44] dfockler: The Core, staring Aaron Eckhart and Hilary Swank
[17:42:54] workmad3: has joined #ruby
[17:43:07] jpfuentes2: has joined #ruby
[17:43:14] dfockler: also starring Matz
[17:43:23] workmad3: has joined #ruby
[17:43:49] mrsolo: has joined #ruby
[17:44:05] bb010g: has joined #ruby
[17:44:13] pengin: has joined #ruby
[17:46:18] ghr: has joined #ruby
[17:48:56] delianides: has joined #ruby
[17:50:22] jlast: has joined #ruby
[17:52:57] Vendella: has joined #ruby
[17:53:06] Vendella: Hey, why can't I load test/unit?
[17:53:13] Vendella: require 'test/unit' fails
[17:53:36] centrx: Use Minitest
[17:54:06] centrx: Test::Unit has been deprecated for a long time and it looks like it was removed in 2.2
[17:54:43] centrx: "Test::Unit is an implementation of the xUnit testing framework for Ruby. \ If you are writing new test code, please use MiniTest instead of Test::Unit. \ Test::Unit has been left in the standard library to support legacy test suites."
[17:54:46] iliketurtles: has joined #ruby
[17:55:13] Vendella: I'm not gonna use it, I'm reading Eloquent Ruby.
[17:56:36] centrx: I mean you can install the gem, test-unit
[17:56:42] centrx: or just skip over those parts in the book
[17:56:53] apeiros: imperator: awesome! so I've got a reputation! :D
[17:57:15] apeiros: imperator: anyway, #ruby-lang closes today. this issue will be reduced significantly. probably mostly #rubyonrails cross-posts from now on.
[17:57:30] someword1: has joined #ruby
[17:57:30] baweaver: has joined #ruby
[17:58:15] mello: has joined #ruby
[17:58:16] Vendella: I see. How about RSpec?
[17:58:30] yfeldblum: has joined #ruby
[17:58:36] wallerdev: has joined #ruby
[17:58:51] iliketur_: has joined #ruby
[17:58:55] Vendella: Also, are specs here to replace the artificial checking we do in statically typed languages? Such as, raise unless x.is_a?(Fixnum) etc
[18:01:06] Palmer11: has joined #ruby
[18:01:06] dp: has joined #ruby
[18:01:35] nofxx: has joined #ruby
[18:02:20] drbrain: has joined #ruby
[18:02:22] jerius: has joined #ruby
[18:02:30] djbkd: has joined #ruby
[18:03:06] pabs: has joined #ruby
[18:03:08] aaeron: has joined #ruby
[18:03:14] djbkd: has joined #ruby
[18:03:25] pabs: has left #ruby: ()
[18:03:44] pabs: has joined #ruby
[18:03:44] pengin: has joined #ruby
[18:04:45] dp: i need a little help while installing shoppe framework on ubuntu 15.04
[18:04:58] dp: i am new to ruby
[18:05:07] rikkipitt: has joined #ruby
[18:05:10] dp: http://pastebin.com/wjHXakLV
[18:05:11] ruboto: dp, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/c9409cdb458c361fbfd6
[18:05:11] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[18:06:22] dp: https://gist.github.com/c9409cdb458c361fbfd6
[18:06:34] gwendall: has joined #ruby
[18:06:37] drbrain: -o drbrain
[18:07:29] Synthbread: has joined #ruby
[18:07:41] gix: has joined #ruby
[18:07:43] DarkBushido: has joined #ruby
[18:07:51] EvilJStoker: has joined #ruby
[18:07:54] treehug88: has joined #ruby
[18:08:00] surrounder: has joined #ruby
[18:09:03] aotg: has joined #ruby
[18:09:11] blowmage: has joined #ruby
[18:09:13] hahuang65: has joined #ruby
[18:09:32] olistik: has joined #ruby
[18:09:34] _seanc_: has joined #ruby
[18:09:37] yfeldblum: has joined #ruby
[18:09:47] finisherr: has joined #ruby
[18:09:51] canton7: jhass, yeah - it would help if you explain *why* everyone's getting kicked!
[18:10:07] hahuang65: has joined #ruby
[18:10:45] ddfreyne: too late now!
[18:11:08] iooner: has joined #ruby
[18:11:13] imajes: has joined #ruby
[18:11:20] nonparfumee: has joined #ruby
[18:11:49] knu: has joined #ruby
[18:11:53] kalzz: has joined #ruby
[18:12:03] b_hoffman: has joined #ruby
[18:12:11] hahuang65: has joined #ruby
[18:12:14] lguardiola: has joined #ruby
[18:12:39] olistik_: has joined #ruby
[18:12:41] nertzy: has joined #ruby
[18:12:51] Drakevr: has joined #ruby
[18:12:56] nfsnobody: has joined #ruby
[18:13:05] jenrzzz: has joined #ruby
[18:13:17] perry: has joined #ruby
[18:13:35] hal_9000_: has joined #ruby
[18:13:35] reprazent: has joined #ruby
[18:13:51] hal_9000_: ???mass kick???? what was that about?
[18:13:53] VinnyBoy: has joined #ruby
[18:13:57] segy: has joined #ruby
[18:14:03] rob_: has joined #ruby
[18:14:11] ddfreyne: hal_9000_: #ruby-lang got merged into #ruby.
[18:14:15] soraher: has joined #ruby
[18:14:20] b_hoffman: has left #ruby: ()
[18:14:26] hal_9000_: oh, really?
[18:14:56] hal_9000_: in that case, shouldn???t we update the message here?
[18:15:03] jenrzzz: has joined #ruby
[18:15:07] centrx: Update what message?
[18:15:07] tdy: has joined #ruby
[18:15:08] qwertme: has joined #ruby
[18:15:16] hal_9000_: the signon message?
[18:15:24] centrx: Topic says "Welcome new users migrating from #ruby-lang!"
[18:15:26] djbkd: has joined #ruby
[18:15:27] womble: has joined #ruby
[18:15:35] centrx: has left #ruby: ("End transmission")
[18:15:37] centrx: has joined #ruby
[18:16:08] hal_9000_: oh ok - all i saw was: Welcome to the ruby channel. Please be nice. http://ruby-community.com || https://ruby-lang.org || Paste >3 lines: https://gist.github.com || Ask good questions: http://www.mikeash.com/getting_answers.html
[18:16:11] yorickpeterse: has joined #ruby
[18:16:18] rickmasta: has joined #ruby
[18:16:20] centrx: yes there's a ChanServ message and there's a Topic
[18:16:46] unsymbol: has joined #ruby
[18:16:55] OrbitalKitten: has joined #ruby
[18:16:58] hal_9000_: now if i could just get colloquy to dismiss this dialog box
[18:17:12] caseypat_: has joined #ruby
[18:17:36] centrx: Hi, is this the channel for talking about jewelry
[18:18:05] jhass: canton7: yeah sorry, fucked that up
[18:18:06] caseypat_: Great. I saw a movie with some shoes. Where can I get some?
[18:18:07] jhass: it's scripted now...
[18:18:09] jhass: but it's not like the topic didn't announce it for almost a week
[18:18:14] freerobby: has joined #ruby
[18:18:17] jhass: hal_9000_: you mean like "Welcome new users migrating from #ruby-lang" in the topic? ;)
[18:18:26] leat4: has joined #ruby
[18:20:12] dblessing: has joined #ruby
[18:20:45] ericwood: what the hell happened to ruby-lang
[18:20:53] jhass: it got merged to this channel :)
[18:21:02] Voxxit: has joined #ruby
[18:21:02] havenwood: Welcome #ruby-lang folk! :)
[18:21:03] yqt: has joined #ruby
[18:21:10] ericwood: this is the beginning of the end
[18:21:21] MrBeardy: melodrama much
[18:21:21] Mon_Ouie: has joined #ruby
[18:21:23] dfockler: welcome -langers!
[18:21:31] jhass: ACTION prepares the 1000 users party
[18:21:45] ericwood: y'all screwed up my channel numbering in irssi I hope you're happy
[18:21:54] jhass: any time again!
[18:22:50] baroquebobcat: has joined #ruby
[18:23:16] leat4: has joined #ruby
[18:24:20] txrx: has joined #ruby
[18:25:46] pengin: has joined #ruby
[18:25:54] failshell: has joined #ruby
[18:26:01] jhass: why merging channels or why making #ruby the only one?
[18:26:42] thang: has joined #ruby
[18:26:43] drbrain: user base, op coverage
[18:26:49] sinkensabe: has joined #ruby
[18:26:51] drbrain: confusion about which channel to join
[18:26:53] jhass: well, the issues that led to the creation of #ruby-lang are gone, so we're no longer in need to fragment the community
[18:27:23] jhass: and this channel always was the far bigger one, so change for less people
[18:27:58] centrx: This is an outrage, first they take away the channel about trains (#rails), now they take away the channel about gemstones!
[18:28:13] chouhoulis: has joined #ruby
[18:28:23] jhass: centrx: uh, careful, you're getting inconsistent there ;)
[18:28:32] jhass: earlier you claimed this is the gemstone channel ;)
[18:28:40] aryaching: has joined #ruby
[18:28:41] centrx: Okay good, then stay on topic please
[18:28:45] ghr: has joined #ruby
[18:28:49] d10n-work: has joined #ruby
[18:29:24] mello: has joined #ruby
[18:29:45] mrmargolis: has joined #ruby
[18:29:54] HotCoder: has joined #ruby
[18:31:04] centrx: The Burma rubies, when they exhibit their crystal-form are generally combinations of the rhombohedron, basal planes and prism.
[18:31:13] micmus: has joined #ruby
[18:31:21] ramfjord: has joined #ruby
[18:31:32] centrx: The Kashmir sapphires, as well as the common corundums of Madras, often show the steep pyramidal planes in combination with the basal planes.
[18:31:35] centrx: Thoughts?
[18:31:38] dfockler: cleavage, eskers, striations
[18:32:14] edwinvdgraaf: has joined #ruby
[18:32:21] dfockler: columnar basalt
[18:32:43] imperator2: has joined #ruby
[18:32:54] heftig: jhass: shouldn't you set up a forwarding?
[18:33:10] jpfuentes2: has joined #ruby
[18:33:23] bougyman: has joined #ruby
[18:33:25] jhass: heftig: we did? :)
[18:33:32] leat4: has joined #ruby
[18:33:32] djbkd: has joined #ruby
[18:34:26] heftig: jhass: no, #ruby-lang is just rejecting joins as invite-only, not forwarding to #ruby
[18:34:42] jhass: heftig: must be your client, +if #ruby is set
[18:35:21] edwinvdgraaf: has joined #ruby
[18:35:54] woodennails: has joined #ruby
[18:36:05] slawrence00: has joined #ruby
[18:37:03] baweaver: has joined #ruby
[18:37:48] choke: has joined #ruby
[18:37:56] batasrki: has joined #ruby
[18:38:03] jhass-web: has joined #ruby
[18:38:14] DLSteve: has joined #ruby
[18:38:35] centrx: heftig, That's the message on Freenode when you are already in the target channel for the redirect (#ruby)
[18:39:02] rhizome: has joined #ruby
[18:39:18] tubbo: has joined #ruby
[18:39:36] drbrain: (jhass I remember when #ruby didn't exist)
[18:39:41] tubbo: one #ruby to rule them all
[18:39:47] tubbo: now we can all argue in the same room together
[18:42:35] edwinvdg_: has joined #ruby
[18:43:01] allcentury: has joined #ruby
[18:43:03] kinduff: has joined #ruby
[18:43:03] kinduff: has joined #ruby
[18:43:17] zendrix: has joined #ruby
[18:43:40] jhass: 5 more ...
[18:43:48] leat4: has joined #ruby
[18:44:14] Scripore: has joined #ruby
[18:45:47] Zai00: has joined #ruby
[18:46:22] mordocai: has joined #ruby
[18:46:46] pabs: has joined #ruby
[18:47:02] jcaho: has joined #ruby
[18:47:18] Iskarlar: has joined #ruby
[18:47:39] alphaatom: has joined #ruby
[18:48:44] alphaatom: has joined #ruby
[18:48:48] dudedudeman: ACTION is ready to dude hard for the party
[18:49:10] OrbitalKitten: has joined #ruby
[18:49:58] alphaatom: has joined #ruby
[18:50:07] dagda1: has joined #ruby
[18:50:45] dfockler: are there any good tdd ruby books?
[18:50:53] dfockler: or is tdd still dead?
[18:51:04] alphaatom: has joined #ruby
[18:51:37] bosma: has joined #ruby
[18:51:44] sinkensabe: has joined #ruby
[18:52:01] jpfuentes2: has joined #ruby
[18:52:03] platzhirsch: has joined #ruby
[18:52:04] platzhirsch: has left #ruby: ()
[18:52:36] batasrki: dfockler: dead
[18:52:41] _seanc_: has joined #ruby
[18:52:42] Sou|cutter: dfockler: http://www.poodr.com/
[18:52:43] dfockler: awww bummer
[18:52:55] nwhirschfeld: has joined #ruby
[18:52:55] batasrki: why tdd when you can switch to a statically typed language and gush about performance
[18:52:57] baweaver: has joined #ruby
[18:53:07] batasrki: yes, it's sarcasm
[18:53:24] batasrki: but a test ain't one?
[18:53:37] jenksy: has joined #ruby
[18:53:46] dfockler: I'll just switch to rust, and starting writing tests there
[18:53:50] imperator: havenwood, take one down, pass him around...
[18:54:11] dudedudeman: ACTION bristles with excitment
[18:54:30] imperator: TDD is dead? news to me
[18:54:31] batasrki: dfockler: good idea, :p
[18:54:40] imperator: ACTION continues writing tests
[18:54:58] dudedudeman: ACTION tests imperator's test
[18:55:13] imperator: it's tests all the way down
[18:55:25] imperator: written on the back of a turtle
[18:56:00] User458764: has joined #ruby
[18:56:08] apeiros: 999 members
[18:56:11] bmurt: has joined #ruby
[18:56:14] dudedudeman: 1000!!!!!!!!!!!!
[18:56:23] imperator: latest language i heard about was Nim
[18:56:31] jlast: has joined #ruby
[18:56:32] dudedudeman: and there was much rejoicing
[18:57:03] momomomomo: has joined #ruby
[18:57:03] finisherr: has joined #ruby
[18:57:08] imperator: what's the limit? doesn't it spillover to another channel at some level?
[18:57:18] dfockler: spills over to ruby-lang
[18:57:21] rickmasta: has joined #ruby
[18:57:23] jhass: uh, doubt it
[18:57:24] MrBeardy: think archlinux has 2000+
[18:57:29] jhass: I've seen 1700+
[18:57:37] bootstrappm: arch is that popular? I had no idea
[18:57:39] jhass: so we still have some slop at least :D
[18:57:44] imperator: i thought some channels would do ##ruby ###ruby and so on
[18:58:00] jhass: oh right, arch is at 2.1k
[19:00:01] Vendella: Where can I learn more about specs?
[19:00:11] Vendella: The Eloquent Ruby explains an outdated method.
[19:01:01] kriskropd: has joined #ruby
[19:01:06] Rubie: has joined #ruby
[19:01:10] Iskarlar: has joined #ruby
[19:01:20] imperator: Vendella, depends on which camp you're in - minitest or rspec
[19:01:46] Vendella: I'm not in any. Which one is preferred?
[19:01:57] havenwood: Vendella: Minitest ships with Ruby and is simpler.
[19:02:17] angry_cat: has joined #ruby
[19:02:21] blandflakes: has joined #ruby
[19:02:31] Vendella: I see. Well, let's go with Minitest then.
[19:02:38] Hijiri: has joined #ruby
[19:02:45] Vendella: Also, can I finish Eloquent Ruby before diving into Minitest ?
[19:02:57] kinduff: has joined #ruby
[19:02:57] kinduff: has joined #ruby
[19:03:03] jhass: most likely
[19:03:05] mistym: has joined #ruby
[19:03:33] MrBeardy: Vendella: (on eloquent ruby) You might also want to give "Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide" a read, it's more recently up to date
[19:03:36] Vendella: Aight, so I'm skipping the whole, "Write Specs" chapter.
[19:03:44] sinkensabe: has joined #ruby
[19:03:45] kadoppe: has joined #ruby
[19:03:46] whippythellama: has joined #ruby
[19:03:48] dudedudeman: love the pickaxe book!
[19:03:51] Vendella: MrBeardy, I have that book right next to me :)
[19:04:03] MrBeardy: Oh, great then :D
[19:04:15] snockerton: has joined #ruby
[19:04:27] mistym: has left #ruby: ("Leaving...")
[19:04:30] mistym: has joined #ruby
[19:04:48] Brozo: has joined #ruby
[19:04:58] bootstrappm: what's new between 2.0 and 2.2 that the pickaxe book doesn't cover?
[19:05:18] bootstrappm: stabby arrow?
[19:05:42] Vendella: Should I raw read the pickaxe book?
[19:05:48] Vendella: bootstrappm, It's 1.9 and 2.0
[19:05:59] bootstrappm: read it read it read it
[19:07:07] miah: its good, i liked The Well Grounded Rubyist more though
[19:07:29] Vendella: Ah, I don't have that one..
[19:07:36] Papierkorb_: has joined #ruby
[19:07:53] dudedudeman: i like the well grounded pragmatic programmer book
[19:08:04] dudedudeman: it's dudedudeman approved and certified
[19:08:14] miah: and poodr http://www.poodr.com/ ; really made the oo/ruby stuff click
[19:09:03] clauswitt: has joined #ruby
[19:09:05] miah: pickaxe has some great details in it; but i found it more difficult to learn from as a ruby newbie
[19:09:19] MrBeardy: wonder how many people go on that domain looking for help with their IBS
[19:09:52] dudedudeman: MrBeardy: i feel like that's a joke that shevy would appreciate
[19:10:21] imperator: i guess i don't know http very well, sorta confused by oauth here
[19:10:44] Vendella: imperator, I have a very good book on HTTP
[19:10:57] imperator: basically, got a url from oauth2, paste it into browser, and it gives me a code
[19:10:59] Vendella: David Gourley, Brian Totty, Marjorie Sayer, Sailu Reddy, Anshu Aggarwal HTTP- The Definitive Guide 2002
[19:11:11] imperator: catch is the code is now part of the url, not in the body
[19:11:12] derekv: has joined #ruby
[19:11:20] imperator: how do i dig that out of a response?
[19:11:26] imperator: i'm using Faraday, btw
[19:11:45] derekv: feeling dumb here, with rvm I followed the instructions here https://rvm.io/integration/jenkins but my build fails, it seems to be looking for the ruby specified in the .rvmrc and then failing because it tries to install it with sudo (jenkins doesn't have sudo)
[19:11:48] dagda1: has joined #ruby
[19:11:50] Vendella: Try Maxwell out.
[19:11:59] clauswitt: has joined #ruby
[19:12:43] imperator: well, until i understand what it's doing, i don't think using a different http lib will matter for now
[19:13:11] bootstrappm: never using CI, sorry derekv
[19:13:22] last_staff: has joined #ruby
[19:13:27] bootstrappm: imperator I used to use oauth2 for something, let me refresh my memory and see if i can help
[19:13:57] imperator: bootstrappm, privmsg ok?
[19:13:59] jhass: ?crosspost derekv
[19:13:59] ruboto: derekv, Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
[19:14:09] bootstrappm: cool imperator
[19:14:27] bertocode: has joined #ruby
[19:14:27] derekv: ruboto: sorry, embarrassed here.
[19:14:49] MrBeardy: Don't worry, he's a robot, he can't see your feelings
[19:15:03] jhass: also don't worry, just keep it in mind for the future ;)
[19:15:22] bruno-: has joined #ruby
[19:15:36] dzejrou: has joined #ruby
[19:16:32] derekv: jhass: heh, I know better anyways... just saw "post and wait" i the topic on #rvm and thought "oh, should have went right to #ruby"
[19:16:39] BanzaiJoe: has joined #ruby
[19:17:05] jhass: prefix with "already asked in #rvm" and all is fine ;)
[19:17:50] jgpawletko: has joined #ruby
[19:17:53] blueOxigen: has joined #ruby
[19:18:14] rikkipitt: has joined #ruby
[19:18:46] symm-: has joined #ruby
[19:19:07] fujimura: has joined #ruby
[19:19:53] derekv: yep. getting help on #rvm now btw =]
[19:21:57] sorbo_: has joined #ruby
[19:22:07] timonv: has joined #ruby
[19:22:28] choke: has joined #ruby
[19:22:39] lennae: has joined #ruby
[19:23:35] DerisiveLogic: has joined #ruby
[19:26:33] voker57: has joined #ruby
[19:28:07] nonparfumee: has joined #ruby
[19:29:07] ghr: has joined #ruby
[19:31:26] krz: has joined #ruby
[19:31:59] dagda1: has joined #ruby
[19:34:26] ta: has joined #ruby
[19:34:55] yardenbar: has joined #ruby
[19:35:32] atmosx: has joined #ruby
[19:35:50] zendrix: has joined #ruby
[19:36:16] davedev24_: has joined #ruby
[19:36:22] ur5us: has joined #ruby
[19:37:32] jerius: has joined #ruby
[19:38:15] d5sx43: has joined #ruby
[19:38:19] moretti: has joined #ruby
[19:39:07] qwertme: has joined #ruby
[19:41:09] mois3x: has joined #ruby
[19:41:31] haxrbyte: has joined #ruby
[19:42:06] iliketurtles: has joined #ruby
[19:43:13] yh: has joined #ruby
[19:43:23] headius: has joined #ruby
[19:43:56] jgt: has joined #ruby
[19:44:11] zendrix: has joined #ruby
[19:44:18] victorkohl: has joined #ruby
[19:44:19] Spami_: has joined #ruby
[19:44:45] alex88: has joined #ruby
[19:45:36] nettoweb: has joined #ruby
[19:45:43] ttilley: has joined #ruby
[19:45:55] Zai00: has joined #ruby
[19:46:00] f3lp: has joined #ruby
[19:46:23] OrbitalKitten: has joined #ruby
[19:46:28] mois3x: has joined #ruby
[19:46:35] edwinvdgraaf: has joined #ruby
[19:46:57] yfeldblum: has joined #ruby
[19:47:16] rocknrollMarc: has joined #ruby
[19:49:30] choke: has joined #ruby
[19:50:23] jaequery: has joined #ruby
[19:51:18] Palmer11: has left #ruby: ()
[19:51:33] jackjackdripper: has joined #ruby
[19:51:34] Palmer11: has joined #ruby
[19:54:44] Axy: has joined #ruby
[19:54:44] Axy: has joined #ruby
[19:54:55] t-richards: has joined #ruby
[19:55:13] jlast: has joined #ruby
[19:56:01] thiagofm: has joined #ruby
[19:57:29] zendrix: has joined #ruby
[19:57:58] devdazed: has joined #ruby
[19:58:19] fgo: has joined #ruby
[19:59:23] Scripore: has joined #ruby
[19:59:41] txrx: has joined #ruby
[19:59:53] rocknrollMarc: has joined #ruby
[20:00:04] segfalt_: has joined #ruby
[20:00:15] Frem: has joined #ruby
[20:00:30] waxjar: has joined #ruby
[20:00:32] workmad3: has joined #ruby
[20:00:32] sinkensabe: has joined #ruby
[20:01:10] gambl0re: has joined #ruby
[20:01:36] delianides: has joined #ruby
[20:01:42] icarus: has joined #ruby
[20:02:10] towski__: has joined #ruby
[20:02:31] alex88: has joined #ruby
[20:02:40] d5sx43: has joined #ruby
[20:04:08] ruby_nuby: has joined #ruby
[20:04:17] towski_: has joined #ruby
[20:04:25] yfeldblum: has joined #ruby
[20:04:27] drefined: has joined #ruby
[20:04:39] _seanc_: has joined #ruby
[20:04:56] sandstrom: has joined #ruby
[20:05:06] leat4: has joined #ruby
[20:05:21] edwinvdgraaf: has joined #ruby
[20:05:26] circ-user-dsELh: has joined #ruby
[20:05:32] workmad3: has joined #ruby
[20:07:29] batasrki: has left #ruby: ()
[20:07:31] ruby_nuby: Is anyone using Neo4J.rb and ActiveRel? I'm trying to work out how 'find_or_create_by' a relationship so I can increment its weight rather than create a second, third etc relationship
[20:07:36] arBmind: has joined #ruby
[20:08:10] kristofferR: has joined #ruby
[20:09:02] andereld: has joined #ruby
[20:09:04] iliketur_: has joined #ruby
[20:11:08] andereld: has left #ruby: ()
[20:11:11] andereld: has joined #ruby
[20:11:33] wallerdev: has joined #ruby
[20:11:38] Channel6: has joined #ruby
[20:11:43] kinduff: has joined #ruby
[20:12:39] _ixti_: has joined #ruby
[20:12:50] nobitanobi: has joined #ruby
[20:12:50] datanoise: has joined #ruby
[20:13:53] nfk|laptop: has joined #ruby
[20:14:24] nobitanobi: If I want to check the boolean value of a hash (:success) I am doing this @my_hash.present && @my_hash[:success] - I do the .present?, because that hash can be nil. Any cleaner way of doing that?
[20:14:53] mrdmi: has left #ruby: ("Leaving")
[20:15:06] CustosLimen: has joined #ruby
[20:15:36] apeiros: nobitanobi: make sure @my_hash can't be nil
[20:15:48] centrx: has joined #ruby
[20:15:49] apeiros: often there's no good reason for such things
[20:15:53] rocknrollMarc: has joined #ruby
[20:16:10] _seanc_: has joined #ruby
[20:16:21] apeiros: if for some reason you can't - `@my_hash.present && @my_hash[:success]` can be shortened to `@my_hash && @my_hash[:success]`
[20:16:22] ruby_nuby: nobitanobi: you can just do @my_hash[:success] as the result will be either true, or nil and nil is a falsy value
[20:16:25] datanoise: has joined #ruby
[20:16:44] apeiros: ruby_nuby: their problem is @my_hash being nil. and nil[:success] will raise.
[20:16:55] ruby_nuby: apeiros: my bad
[20:16:56] nobitanobi: ok, will see how can I change so that var is always defined.
[20:17:32] ruby_nuby: Neo4J.rb ??? anyone using?
[20:18:25] dagda1: has joined #ruby
[20:18:44] edwinvdg_: has joined #ruby
[20:18:50] j4cknewt: has joined #ruby
[20:18:59] Scripore: has joined #ruby
[20:19:05] dfinninger: has joined #ruby
[20:19:22] baweaver: has joined #ruby
[20:20:18] malconis: has joined #ruby
[20:20:32] hahuang65: has joined #ruby
[20:21:04] edwinvdgraaf: has joined #ruby
[20:22:09] Limix: has joined #ruby
[20:23:42] jlast: has joined #ruby
[20:23:44] jaequery: has joined #ruby
[20:24:14] finisherr: has joined #ruby
[20:25:02] _seanc_: has joined #ruby
[20:27:33] sdwrage: has joined #ruby
[20:28:00] blackmesa: has joined #ruby
[20:28:53] finisherr: has joined #ruby
[20:29:10] Zai00: has joined #ruby
[20:29:30] spider-mario: has joined #ruby
[20:31:42] casadei: has joined #ruby
[20:33:06] rickmasta: has joined #ruby
[20:35:53] drefined: has joined #ruby
[20:36:21] jaequery_: has joined #ruby
[20:37:27] Zai00: has joined #ruby
[20:38:09] baweaver: has joined #ruby
[20:40:29] hellboy_1981: has joined #ruby
[20:40:37] freerobby: has joined #ruby
[20:41:31] j4cknewt: has joined #ruby
[20:43:04] simi: has joined #ruby
[20:43:26] Brozo: has left #ruby: ("Leaving...")
[20:43:49] senayar: has joined #ruby
[20:43:58] datanoise: has joined #ruby
[20:47:00] ChasedSpade: has joined #ruby
[20:47:16] dagda1: has joined #ruby
[20:48:43] dreinull75: has joined #ruby
[20:49:03] phutchins: has joined #ruby
[20:49:21] sinkensabe: has joined #ruby
[20:49:22] Iskarlar: has joined #ruby
[20:49:57] concave: has joined #ruby
[20:49:58] choke: has joined #ruby
[20:51:15] dreinull75: is this a good idea? class A; def foo; A.new; end; end; I'm returning an instance of A inside A because I need a modified version of A. But is this a good idea? Possibly deeply nested objects et al?
[20:51:23] workmad3: has joined #ruby
[20:51:42] centrx: dreinull75, Is foo supposed to be a class method?
[20:51:45] dreinull75: Arrays return modified arrays all the time
[20:51:57] dreinull75: centrx no, instance method
[20:52:09] centrx: Seems like a bad idea
[20:52:10] Zai00: has joined #ruby
[20:53:20] choke: has joined #ruby
[20:53:23] dreinull75: I'm using a Sequel dataset and my method returns a modified dataset. Unless I create a new instance of it it's returned as a Dataset without all the bells and whistles I've added before.
[20:56:27] datanoise: has joined #ruby
[20:56:37] ljarvis: dreinull75: it's not a bad idea
[20:56:43] ljarvis: I would use self.class.new though
[20:56:58] dreinull75: ok, why's that?
[20:57:06] TheHodge: has joined #ruby
[20:57:50] Zackio: has joined #ruby
[20:57:57] baweaver: has joined #ruby
[20:57:58] ljarvis: I've done lots of stuff like this before: https://gist.github.com/leejarvis/65889996aa3237c2d28d when you can't mutate or dont have a dataset. Can't speak about your exact example but it's fine
[20:58:14] ljarvis: dreinull75: mostly, just makes more sense to refer to the current class as self.class
[20:58:18] ghr: has joined #ruby
[20:58:40] dreinull75: ljarvis definitely looks better than my examle
[20:58:43] A205B064: has joined #ruby
[20:59:13] ljarvis: dreinull75: might be worth showing your code, people could suggest a better way of doing something
[21:00:21] olistik: has joined #ruby
[21:00:49] merqlove: has joined #ruby
[21:01:55] blackmesa: has joined #ruby
[21:01:57] dreinull75: ljarvis: it's nothing special. I create a Presenter class like this Presenter.new(Data.where(:x => "y")). Then inside Presenter I have a more narrow def like def narrow; self.class.new(self.where(:foo => "bar"))); end;
[21:02:47] Xiti: has joined #ruby
[21:03:24] dreinull75: ljarvis there's more than one of those extra filters so this just makes it easier for me to continue working with the data as expected. Without creating the Presenter again outside.
[21:03:57] ljarvis: dreinull75: so it re-uses the existing query and builds upon it? (i.e AND query)
[21:04:16] dreinull75: ljarvis yes, basically
[21:05:09] weaksauce: has joined #ruby
[21:05:16] nettoweb: has joined #ruby
[21:05:51] ljarvis: dreinull75: I think that's fine, though I would probably have all of this decision making stuff in my model
[21:06:08] mello: has joined #ruby
[21:06:09] ljarvis: but it's hard to comment without knowing everything. I think what you have is fine though
[21:06:44] wallerdev: no more #ruby-lang?
[21:06:49] ljarvis: wallerdev: nope
[21:06:57] ljarvis: we're one big house
[21:07:11] wallerdev: i guess ill socialize with the #ruby plebs
[21:07:13] ljarvis: happy sigh
[21:07:28] ljarvis: we are one
[21:07:33] ljarvis: one pleb to rule them all
[21:08:00] fujimura: has joined #ruby
[21:08:35] woodruffw: has joined #ruby
[21:09:13] centrx: there's the rub
[21:09:18] merqlove: Hello guys. I need help me with such trouble. Singletones like rails model classes save his state between http requests? Trying to fix multi tenant app. Every part of my app have access to model Tenant, which has Tenant.subdomain methods for read/write. Also I use middleware who starts before rails cache/session middlewares and save subdomain with this
[21:09:18] merqlove: method. This is wrong way? I need to create something which will have call to .new every request?
[21:09:35] ruboto: I don't know anything about ror
[21:09:38] ruboto: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[21:10:12] dreinull75: wallerdev were the hoi polloi
[21:10:14] ljarvis: !fact add ror Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[21:10:17] ruboto: ljarvis, I will remember that ror is Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[21:10:23] victorko_: has joined #ruby
[21:10:30] jpfuentes2: has joined #ruby
[21:10:43] jgt: has joined #ruby
[21:10:59] merqlove: Yeah ror and rack
[21:11:10] ljarvis: merqlove: please join #rubyonrails for rails questions
[21:11:18] marr: has joined #ruby
[21:11:34] datanoise: has joined #ruby
[21:11:36] wallerdev: should just merge #rubyonrails next :p
[21:11:38] dvxam: has joined #ruby
[21:11:45] ljarvis: ACTION strikes wallerdev 
[21:12:18] devyn: has joined #ruby
[21:12:23] merqlove: Already, thanks
[21:12:40] csmb: has joined #ruby
[21:13:43] iliketurtles: has joined #ruby
[21:14:16] jpfuente_: has joined #ruby
[21:14:33] nonparfumee: has joined #ruby
[21:14:50] merqlove: Primary question is about Ruby classes with class << self do ... end constructions. This object have to reset its state between requests or not. Seems that not, as i see in Rubymine debugger.
[21:15:21] ljarvis: merqlove: that depends on what the state is made up of
[21:15:47] ljarvis: if it's request dependent then yes, it must be reset/re-instantiated for each request
[21:15:49] dreinull75: this channel is really great. I don't know where I'd be without your help.
[21:15:53] haxrbyte_: has joined #ruby
[21:15:56] northfurr: has joined #ruby
[21:16:26] merqlove: Ok, I will try to explain with some code
[21:16:41] ljarvis: super, we like code
[21:17:06] jlast: has joined #ruby
[21:17:06] KrzaQ: has joined #ruby
[21:17:43] ag4ve: has joined #ruby
[21:17:57] gf3_: has joined #ruby
[21:17:57] nettoweb: has joined #ruby
[21:18:03] tercenya_: has joined #ruby
[21:18:10] e1nh4nd3r: has joined #ruby
[21:18:26] shevy: dreinull75 you'd be in #python
[21:18:26] shevy: is there a simple way to find out how layered a hash or array is in ruby?
[21:18:26] shevy: like: array = [[[1,2],[3,4]]] # 3 layers
[21:18:29] shevy: I am contemplating simplifying yaml files
[21:18:30] shevy: the format right now is: foo.yml
[21:18:31] shevy: - other entries
[21:18:31] shevy: I could probably get away with the "foo:" part, because the name is implied by the filename ... hmm
[21:19:11] ljarvis: shevy: you could write quite a simple recursive method
[21:19:15] dreinull75: shevy that would solvve some problems
[21:19:28] dreinull75: monads do help, too
[21:19:45] pengin: has joined #ruby
[21:19:48] nettoweb: has joined #ruby
[21:19:56] c355E3B: has joined #ruby
[21:19:57] sdothum: has joined #ruby
[21:19:59] shevy: ljarvis yeah... I have not yet finished my thoughts about that
[21:20:28] ta: has joined #ruby
[21:21:00] finisherr: has joined #ruby
[21:21:25] vdamewood: has joined #ruby
[21:22:03] jriese: has joined #ruby
[21:22:53] nettoweb: has joined #ruby
[21:23:18] shevy: what's with the poodles here
[21:23:33] shevy: first miah eating a poodle for lunch, now you turning them into a yaml entity
[21:24:04] ljarvis: shevy: something like https://gist.github.com/leejarvis/f5e78174b49e12d4af86 could work
[21:24:29] shevy: ljarvis oooh let me think
[21:25:14] shevy: ljarvis not sure I understand how it works
[21:25:22] shevy: so you add one method to Enumerable
[21:25:58] BTRE: has joined #ruby
[21:26:01] shevy: and apparently that method does the counting somehow...
[21:26:08] Zai00: has joined #ruby
[21:26:11] ljarvis: it loops through every element in the enum, and if that element is an enum it'll recursively count how nested it is
[21:26:24] elia: has joined #ruby
[21:26:32] tomkadwill: has joined #ruby
[21:26:37] ljarvis: (maybe you just want .first rather than each, i dont know)
[21:27:23] ljarvis: so, it adds 1 (because we have identified that this element is an enum itself), and then adds that enums nested_count to our total count
[21:29:10] ljarvis: if you just want to count if the first elem is enum, it becomes simpler https://gist.github.com/leejarvis/c82c3b95bb7f1fe72d40
[21:29:15] ljarvis: maybe that's easier to figure out
[21:30:06] ljarvis: btw adding stuff to enumerable isn't necessarily the best way to do this (since it'll be everywhere); but it's one way
[21:31:02] jaequery: has joined #ruby
[21:32:07] momomomomo: has joined #ruby
[21:32:31] Vile`: has joined #ruby
[21:33:46] towski__: has joined #ruby
[21:34:09] RandyT: has joined #ruby
[21:38:08] baweaver: has joined #ruby
[21:38:53] bkxd: has joined #ruby
[21:39:53] ljarvis: and on that night, it's time to sleep. g'night
[21:40:44] OtterCoder: has joined #ruby
[21:41:29] haxrbyte: has joined #ruby
[21:42:01] Meeh: has joined #ruby
[21:42:29] quimrstorres: has joined #ruby
[21:44:13] jpfuentes2: has joined #ruby
[21:44:57] TripleK: has joined #ruby
[21:45:02] TripleK: hello everyone
[21:45:16] rocknrol_: has joined #ruby
[21:47:24] baweaver: has joined #ruby
[21:48:27] TripleK: anyone here a neonazi programmer?
[21:48:33] dudedudeman: so i have three databases in my database.yml(test, development, production), and when i do rake db:create, or rake db:setup, it sets up two out of the three. It leaves out production for some reason. am i missing something important?
[21:48:40] bricker: has joined #ruby
[21:48:48] jhass: !ban TripleK !T 1d TripleK troll
[21:48:51] ChanServ: +b TripleK!*@*
[21:48:51] ChanServ: ChanServ kicked TripleK: TripleK troll
[21:48:56] bootstrappm: was just about to call you :)
[21:49:06] dudedudeman: ACTION is in awe and wonder
[21:49:55] circ-user-dsELh: has joined #ruby
[21:50:05] dudedudeman: so i can set my environment variable in Puma to development or test and it works great, but setting it to production fails, because obviously a production database doesn't exist yet
[21:50:08] rocknrollMarc: has joined #ruby
[21:50:22] Takasm: has joined #ruby
[21:50:53] bootstrappm: dudedudeman IIRC that's by design. So you don't accidentally nuke your production DB
[21:51:05] bootstrappm: do RAILS_ENV=production rake db:create and you should be good
[21:51:17] dudedudeman: well... dat sinatra doe
[21:51:18] rocknrollMarc: has joined #ruby
[21:51:29] bootstrappm: hm. RACK_ENV?
[21:51:32] idafyaid: has joined #ruby
[21:51:42] bootstrappm: or alternatively try: rake db:create:all
[21:51:56] rocknrollMarc: has joined #ruby
[21:52:07] dudedudeman: well hot damn. that did it
[21:52:46] rocknrollMarc: has joined #ruby
[21:53:13] pipework: drbrain: So is the community page gonna change on ruby-lang.org? https://www.ruby-lang.org/en/community/
[21:53:19] jhass: pipework: yes
[21:53:33] jhass: just needs my PR to be merged and deployed
[21:53:39] havenwood: pipework: For now it redirects.
[21:53:56] pengin: has joined #ruby
[21:54:06] pipework: havenwood: Actually, it doesn't for existing clients. It shows invite-only, but doesn't banforward.
[21:54:20] havenwood: pipework: Ahhh.
[21:54:48] jhass: existing clients=people already in #ruby? yeah
[21:55:06] jhass: what would you expect your client/freenode to do? join you a second time?
[21:55:23] jhass: er, s/you//
[21:55:41] caseypatrickdris: has joined #ruby
[21:56:01] havenwood: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[21:56:08] havenwood: has joined #ruby
[21:56:29] pipework: jhass: I'd expect an op to use banforwarding and then use forwarding on uninvited.
[21:56:50] havenwood: pipework: Leave here, join there, and you'll be back here.
[21:56:55] pipework: Look for 'forward on uninvited'
[21:57:05] jhass: +if #ruby is set on #ruby-lang
[21:57:17] pipework: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[21:57:20] pipework: has joined #ruby
[21:57:32] havenwood: pipework: Welcome back! :)
[21:57:54] shevy: pipework is back
[21:57:56] pipework: Ah, my client just behaves differently than other clients. Normally I'd expect the client to properly just bring up the #ruby channel.
[21:58:09] shevy: do you use the peechat client?
[21:58:41] ghr: has joined #ruby
[21:58:54] WildBamboo-Josh: has joined #ruby
[21:59:14] dudedudeman: it's all about that pidgin baby
[21:59:32] drbrain: pipework: I've bugged hsbt about it a couple times, but probably when he is sleeping or AFK so far
[21:59:56] rocknrollMarc: has joined #ruby
[21:59:57] pipework: drbrain: No worries, sir. Just trying to recall all the important places where that channel was referenced.
[22:00:23] claptor: has joined #ruby
[22:01:34] bollullera: has joined #ruby
[22:02:03] rocknrollMarc: has joined #ruby
[22:03:07] konr: has joined #ruby
[22:03:26] merqlove: https://gist.github.com/merqlove/759c71615575a57108cb
[22:03:32] circ-user-dsELh: has joined #ruby
[22:03:37] workmad3: has joined #ruby
[22:03:51] zendrix: has joined #ruby
[22:04:12] ta: has joined #ruby
[22:04:41] bollullera: has left #ruby: ()
[22:05:16] merqlove: This is gist of current question, @ljravis
[22:05:19] pengin: has joined #ruby
[22:06:34] jhass: merqlove: that's a good property to explicitly pass around (for example set it in your rack env), doing it with global state will only give you headaches, no matter the variant
[22:07:17] benlieb: has joined #ruby
[22:07:34] watchtheblur: has joined #ruby
[22:07:40] aytch: has joined #ruby
[22:07:52] adeponte: has joined #ruby
[22:07:53] rocknrollMarc: has joined #ruby
[22:08:44] brixen: has joined #ruby
[22:08:57] rocknrollMarc: has joined #ruby
[22:09:24] ikbenhet: has joined #ruby
[22:09:31] merqlove: haha, i can't
[22:09:42] rocknrollMarc: has joined #ruby
[22:09:43] merqlove: app multi-tenant
[22:09:52] davasaurous: has joined #ruby
[22:11:10] rocknrollMarc: has joined #ruby
[22:11:29] verto: has joined #ruby
[22:11:52] rocknrollMarc: has joined #ruby
[22:12:19] Guest71779: has joined #ruby
[22:12:47] mc_fail: has joined #ruby
[22:13:00] Iskarlar: has joined #ruby
[22:13:15] merqlove: jhass: i will try it now with siege :)
[22:13:23] rocknrollMarc: has joined #ruby
[22:13:33] mc_fail: hi guys, i'm trying to use a "filesize" gem to convert gigabytes to bytes & etc, and i have the following error on it:
[22:13:36] mc_fail: [2015-06-02T01:11:42+03:00] ERROR: /usr/lib/ruby/gems/1.8/gems/filesize-0.1.0/lib/filesize.rb:6: odd number list for Hash
[22:13:50] jmhmccr: has joined #ruby
[22:13:53] mc_fail: does it really has a mistake in gem code?
[22:14:11] rocknrollMarc: has joined #ruby
[22:14:33] jhass: probably, why not *1024**3
[22:14:45] jhass: also why are you still using Ruby 1.8?
[22:14:46] Kricir: has joined #ruby
[22:15:10] rocknrol_: has joined #ruby
[22:16:40] Takasm: has joined #ruby
[22:17:31] mc_fail: jhass because i'd like to specify size in user-friendly format, like 500MB, and i'm lazy enought to avoid rewriting code
[22:17:35] volkk: has joined #ruby
[22:18:08] jhass: ah, didn't sound like that
[22:18:16] volkk: has left #ruby: ()
[22:18:16] Musashi007: has joined #ruby
[22:18:45] Xiti`: has joined #ruby
[22:18:50] shevy: freshmeat.net died?
[22:19:00] miah: freshmeat dead a while ago
[22:19:03] jhass: mc_fail: simply incompatible with your dead version of Ruby
[22:19:15] kfpratt: has joined #ruby
[22:19:38] shevy: hmm I see
[22:19:41] mc_fail: jhass ok, i guess i should just try an older version of gem...
[22:19:49] jhass: mc_fail: no, wrong approach
[22:19:49] shevy: I am slower than a coding poodle
[22:20:06] commondream: has joined #ruby
[22:20:29] jhass: mc_fail: 1.8 is dead, it's successor 1.9 is dead, 2.0 will die on February 2016
[22:20:43] jhass: you should update your Ruby version
[22:20:49] northfurr: has joined #ruby
[22:20:52] jud^: has joined #ruby
[22:20:58] shevy: you are so negative jhass!
[22:21:14] jhass: what's negative about getting them to an supported Ruby version?
[22:21:21] shevy: you speak about death
[22:21:24] mc_fail: jhass updating ruby is pain
[22:21:38] jhass: mc_fail: only because you didn't do it for such a long time
[22:21:55] rocknrollMarc: has joined #ruby
[22:22:06] iliketurtles: has joined #ruby
[22:22:23] shevy: mc_fail well the error seems to be at the least not very logical
[22:22:27] Hijiri: has joined #ruby
[22:22:36] shevy: ruby loves key->value associations, so it's weird if you provide just a key but no value for it
[22:22:39] rocknrollMarc: has joined #ruby
[22:22:48] jhass: shevy: it's Ruby 1.9 hash syntax with uppercase key, Ruby 1.8 is just confused about it
[22:23:02] mc_fail: jhass if i have somethig works perfectly, why i should waste time to update it just because developers destroyed compatibility with older versions?
[22:23:08] shevy: oh, then that is even easier to change
[22:23:21] dvxam: has joined #ruby
[22:23:28] rocknrollMarc: has joined #ruby
[22:23:31] tenseiten: has joined #ruby
[22:23:31] tenseiten: has joined #ruby
[22:23:35] queequeg1: has joined #ruby
[22:23:38] shevy: all you have to do is to re-package that gem with backwards compatible syntax
[22:24:04] leat4: has joined #ruby
[22:24:13] djbkd: has joined #ruby
[22:24:20] mansel_: has joined #ruby
[22:24:20] jhass: mc_fail: because there are no more security updates, if somebody finds a major security issue in 1.8 (a minor one is already known), you'll have to backport a patch for 1.8 on your own or do the update to a major Ruby version as a security patch
[22:24:31] mc_fail: shevy is there any tools for such kind of repacking?
[22:24:36] baweaver: has joined #ruby
[22:25:08] kadoppe: has joined #ruby
[22:25:11] vcoinminer: has joined #ruby
[22:25:23] headius: has joined #ruby
[22:25:37] shevy: mc_fail not sure. There are probably not many people who need it, so you may have a niche there. Basically, if the error is really only about :foo => 'bar' versus foo: 'bar' then writing the code that does such a change back should not be impossible to write
[22:25:58] jhass: that's only one easy symptom of a much larger problem here
[22:26:11] shevy: that is your statement here, why should it be valid for anyone else? are you seeking to convince him?
[22:26:20] jhass: yes, in fact I do
[22:26:24] shevy: I mean what is your problem if he wants to use an old ruby version?
[22:26:28] bootstrappm: you know whats annoying? new syntax when constructing mongodb queries in ruby. {$operator: {key: 'val'} } does not work
[22:26:48] baroquebobcat: has joined #ruby
[22:26:49] mc_fail: jhass i'm using ruby only with chef\puppet, i don't think security in code there is really important, also i have fedora16 with an old kernel on thousland of servers, and update ruby means update fedora, which is impossible
[22:26:58] DerisiveLogic: has joined #ruby
[22:27:08] moretti: has joined #ruby
[22:27:13] miah: good thing you dont have to pass pci
[22:27:19] jhass: mc_fail: that's sad. I hope I'll never have to be your customer then.
[22:27:33] bootstrappm: mc_fail are you using system ruby?
[22:27:49] rocknrol_: has joined #ruby
[22:28:34] fgo: has joined #ruby
[22:28:48] djbkd: has joined #ruby
[22:28:54] DEA7TH: has joined #ruby
[22:29:02] nisstyre: has joined #ruby
[22:29:03] enebo: has joined #ruby
[22:29:12] rocknrollMarc: has joined #ruby
[22:29:14] banister: has joined #ruby
[22:29:40] baweaver: As a DevOps / Infrastructure Automation / Security person, I have to say that's a horrible mindframe to have mc_fail
[22:29:42] shevy: mc_fail when you have the .gemspec file of a gem, you can unpack the gem via "gem unpack *.gem", or the name, then change the necessary files in question, and then rebuild the gem: "gem build *.gemspec". if the gem is https://rubygems.org/gems/filesize then it is so tiny, 6 KB, that you can finish in like 5 minutes or so :P note that the gem has not been updated in 6 years
[22:29:46] _seanc_: has joined #ruby
[22:30:05] shevy: it's dominikh right?
[22:30:10] shevy: I think he may hang out on #ruby-lang
[22:30:15] rocknrollMarc: has joined #ruby
[22:30:20] shevy: cinch autor then
[22:30:21] jhass: shevy: funny
[22:30:30] baweaver: shevy: Oh, you mean the channel that no longer exi....
[22:30:36] baweaver: ACTION sees what he did there
[22:30:51] shevy: I don't know why the guys on #ruby-lang just can not accept jhass' suggestion to move here :)))
[22:31:01] shevy: I should possibly point it out more often to them
[22:31:04] jhass: shevy: try joining #ruby-lang ;)
[22:31:14] shevy: * Cannot join #ruby-lang (Channel is invite only).
[22:31:17] shevy: they raised their shields!
[22:31:18] Scripore: has joined #ruby
[22:31:19] davedev24: has joined #ruby
[22:31:29] baweaver: didn't they make #ruby-pro out of spite?
[22:31:29] rocknrollMarc: has joined #ruby
[22:31:32] shevy: Lower your shields and surrender your ships.
[22:31:39] shevy: We will add your biological and technological distinctiveness to our own.
[22:31:46] shevy: lol baweaver
[22:31:48] jhass: shevy: let's have another try, look at the /topic
[22:32:00] shevy: oh yeah "Welcome new users migrating from #ruby-lang!"
[22:32:12] shevy: I normally never look on the topic, it's on the far left upper corner. All fun action happens at the bottom area
[22:32:15] miah: why did they go +i?
[22:32:18] yqt: has joined #ruby
[22:32:21] shawnacscott: has joined #ruby
[22:32:25] OtterCoder: has joined #ruby
[22:32:26] bootstrappm: ruby-lang sounds it should be a place for core language devs
[22:32:27] BanzaiJoe: *grumble* aperios something something *grumble*
[22:32:40] shevy: perhaps they hate us
[22:32:41] jhass: shevy: miah: they've gone empty, we merged ;)
[22:32:42] datanoise: has joined #ruby
[22:32:45] zenspider: baweaver: ruby-pro wasn't out of spite. gah... what was the one that was... -heros ? something. I remember imagining them as sitting around wearing capes
[22:33:10] baweaver: well that's a whole other can of worms then
[22:33:14] wallerdev: has joined #ruby
[22:33:26] zenspider: welcome... here's your cape
[22:33:28] rocknrollMarc: has joined #ruby
[22:33:28] jhass: there's ##ruby I think?
[22:33:49] zenspider: because it's commercial? isn't that the distinction?
[22:33:52] zenspider: I'm in ##mathematica
[22:33:56] shevy: well it would be cool to have people like chris2 drbrain lianj dominikh etc... etc... etc... here
[22:34:08] centrx: too bad shevy is still here
[22:34:13] jhass: zenspider: freenode policy is #associated_with_a_project ##whatever
[22:34:19] baweaver: Did they just refuse to migrate?
[22:34:21] jhass: not that it's enforced much
[22:34:36] shevy: centrx I am having way too much fun with you whenever PHP is mentioned
[22:34:39] zenspider: mathematica is certainly associated with a project. just not an open source one
[22:34:45] baweaver: ACTION ducks
[22:35:04] jhass: shevy: drbrain is here (and appointed as founder), others probably just didn't run into the forward yet
[22:35:30] shevy: I did not notice!
[22:35:40] shevy: he was so quiet
[22:36:02] b_hoffman: has joined #ruby
[22:36:49] dfockler: is his name really drb rain, as in distributed ruby rain?
[22:37:02] yaw: has joined #ruby
[22:37:19] jhass: dunno, I always split at the dr
[22:37:30] centrx: >> 'drbrain'.split
[22:37:32] ruboto: centrx # => ["drbrain"] (https://eval.in/373998)
[22:37:46] centrx: >> 'drbrain'.split('dr')
[22:37:47] ruboto: centrx # => ["", "brain"] (https://eval.in/373999)
[22:37:49] shevy: he is like from pinky and the brain
[22:37:53] shevy: more the pinky side
[22:38:23] failshell: has joined #ruby
[22:38:44] baweaver: So we're done heckling the usage of 1.8 then?
[22:39:11] miah: i am too lagged to heckle
[22:39:15] shevy: well not many people will use 1.8 really
[22:39:24] dfockler: 1.8, It's no longer great!
[22:39:30] baweaver: ACTION is referring to above case of it
[22:39:36] dfockler: 1.9, It's still fine!
[22:39:39] xxneolithicxx: tell that to people still supporting RHEL 5
[22:39:53] shevy: even they will eventually change!
[22:39:58] graft: has joined #ruby
[22:40:04] baweaver: build from source
[22:40:06] bootstrappm: I'm surprised people are still using 1.9, what breaks if you upgrade that to 2.0 at least?
[22:40:06] dfockler: 2.0, Will soon go!
[22:40:19] baweaver: Very very little.
[22:40:21] shevy: bootstrappm good question
[22:40:40] shevy: probably some different warnings will be shown... not sure about any breaks though
[22:40:45] arBmind1: has joined #ruby
[22:40:56] yaw: has joined #ruby
[22:41:53] mozzarella: maybe they like debian
[22:42:40] yaw: has joined #ruby
[22:42:56] zenspider: I can't stand 1.9. I'd rather use 1.8.
[22:43:07] zenspider: I still test against 1.8. I don't test against 1.9 at all.
[22:43:17] zenspider: I figure if it works in 2.x, it probably works in 1.9
[22:43:21] mozzarella: what was wrong with 1.9? I don't remember
[22:45:59] kinduff: has joined #ruby
[22:46:14] failshell: has joined #ruby
[22:46:14] bootstrappm: IIRC character encodings were pretty annoying in 1.9.3
[22:46:54] Brozo: has joined #ruby
[22:47:08] yaw: has joined #ruby
[22:48:05] zenspider: all of the 1.9s, but yeah.
[22:48:24] yaw: has joined #ruby
[22:48:33] yaw: has left #ruby: ()
[22:49:09] zenspider: the fact that 1.9.0 & 1.9.1 were never really production ready (yet, people tried) and 1.9.2 was buggy as fuck and hard to build... encodings were just awful and not nearly as transparent as they are in 2.x... lots. really. I would like that era to be dead and gone
[22:49:26] neanderslob: has joined #ruby
[22:52:13] LMity: has joined #ruby
[22:52:14] caseypatrickdris: has joined #ruby
[22:53:42] mary5030: has joined #ruby
[22:54:11] fher503: has joined #ruby
[22:54:25] jgpawletko: has joined #ruby
[22:54:26] fher503: hi everyone
[22:54:57] mello: has joined #ruby
[22:54:59] konr: hello, my little friend
[22:55:41] jcaho: has joined #ruby
[22:55:49] drefined: has joined #ruby
[22:56:11] datanoise: has joined #ruby
[22:56:39] fujimura: has joined #ruby
[22:57:59] jaequery_: has joined #ruby
[22:58:21] g0rx: has joined #ruby
[22:58:34] g0rx: any ruby coder ?
[22:58:50] fher503: yes i'm here
[22:59:14] djbkd: has joined #ruby
[22:59:51] djbkd: has joined #ruby
[23:01:05] senayar: has joined #ruby
[23:01:25] iliketurtles: has joined #ruby
[23:02:44] woodruffw: has joined #ruby
[23:06:15] SalexW: has joined #ruby
[23:06:42] g0rx: any ruby coder ?
[23:06:48] havenwood: g0rx: many ruby coders.
[23:07:08] havenwood: g0rx: Have a question?
[23:07:41] g0rx: i need a coder :D
[23:08:23] bootstrappm: g0rx: we're all coders, say something else
[23:08:44] noethics: i think he wants to hire a programmer
[23:09:11] mois3x: has joined #ruby
[23:09:31] womble: New lows in the world of recruiters.
[23:09:33] merqlove: jhass: Tested, seems that both variants works well if i have not use such cleanup Middleware at the end.
[23:10:07] g0rx: i need a programmer :)
[23:10:21] miah: use your words, elaborate.
[23:10:23] kinduff: g0rx: for what?
[23:10:40] g0rx: for coding
[23:10:45] womble: ACTION sings, "everybody... neeeeeeds somebody, to code!"
[23:10:46] g0rx: i pay by bitcoin
[23:10:53] womble: (Someone to code)
[23:11:08] womble: Sounds legit.
[23:11:15] g0rx: too much
[23:11:49] g0rx: ACTION slaps womble around a bit with a large trout
[23:12:01] g0rx: ACTION slaps womble around a bit with a large trout
[23:12:17] jhass: didn't they'd have that macro
[23:12:27] kinduff: ACTION understands all the queen references in the world
[23:12:29] merqlove: https://gist.github.com/merqlove/759c71615575a57108cb
[23:12:52] womble: Two trout slaps... lucky me.
[23:13:09] kinduff: g0rx: don't ask more, I'm the coder you're looking for
[23:13:25] miah: jhass: mirc =)
[23:13:31] jhass: merqlove: until you use a threading appserver
[23:14:06] merqlove: jhass: i'm use it right now
[23:14:16] merqlove: this test with Puma
[23:17:01] Casi: has joined #ruby
[23:17:25] g0rx: kinduff ok
[23:17:39] choke: has joined #ruby
[23:18:45] nateberkope: has joined #ruby
[23:18:49] c355E3B: has joined #ruby
[23:23:18] Scripore: has joined #ruby
[23:23:44] Aeyrix: Barista misheard me and gave me a small coffee.
[23:23:46] Aeyrix: Today: Garbage.
[23:23:56] finisherr: are there any sweet process inspection libraries for ruby like psutil?
[23:24:03] Aeyrix: Looks like I'm writing in C today.
[23:24:40] Aeyrix: finisherr: Not that I know of.
[23:25:10] WildBamboo-Josh: has joined #ruby
[23:25:12] Aeyrix: finisherr: What are you trying to do, specifically?
[23:25:30] finisherr: Nothing write now. I???m just finding that I have to write ruby now so trying to get familiar
[23:25:42] momomomomo: has joined #ruby
[23:25:44] finisherr: I???m coming from python
[23:25:58] finisherr: also, i???m an ops guy
[23:26:11] Aeyrix: Same, ish.
[23:26:32] bootstrappm: i'm doing ops right nwo
[23:26:42] Musashi007: has joined #ruby
[23:26:45] bootstrappm: not going quickly though :(
[23:26:47] mcclurmc: has joined #ruby
[23:26:54] finisherr: must ops faster!
[23:27:58] finisherr: Time to go home.
[23:30:54] fgo: has joined #ruby
[23:31:20] jackjackdripper1: has joined #ruby
[23:31:57] _seanc_1: has joined #ruby
[23:33:06] mistermo_: has joined #ruby
[23:34:57] nateberkopec: has joined #ruby
[23:35:37] zendrix: has joined #ruby
[23:35:53] shevy: good old mIRC
[23:35:57] aaeron: has joined #ruby
[23:36:33] _seanc_: has joined #ruby
[23:36:35] Ropeney: has joined #ruby
[23:36:36] choke: has joined #ruby
[23:36:37] Aeyrix: The only good mIRC is an uninstalled mIRC.
[23:37:51] baroquebobcat: has joined #ruby
[23:38:03] GriffinHeart: has joined #ruby
[23:38:24] baweaver: has joined #ruby
[23:38:33] nateberkope: has joined #ruby
[23:39:32] shevy: ACTION slaps Aeyrix around a bit with a large trout
[23:40:24] lennae: has joined #ruby
[23:40:28] ScriptGeek1: has joined #ruby
[23:40:34] failshell: has joined #ruby
[23:40:37] Aeyrix: LimeChat best client.
[23:40:55] Aeyrix: or Textual actually, but I'm not paying TWICE for an IRC client
[23:41:49] symm-: ACTION uses LimeChat, gets annoyed when ctrl-arrow switches to another channel
[23:42:09] jstanton: has joined #ruby
[23:42:13] alphaatom: has joined #ruby
[23:42:31] Aeyrix: symm-: ??
[23:42:33] Aeyrix: Doesn't on mine. :x
[23:42:33] nateberkopec: has joined #ruby
[23:42:53] symm-: umm... it's "LimeChat2"
[23:43:02] symm-: if that makes a difference?
[23:43:37] Aeyrix: LimeChat 2.42 here.
[23:44:12] symm-: oh, this one? http://limechat.net/mac/
[23:44:52] symm-: I have this thing http://limechat.net/
[23:44:55] Aeyrix: From the appstore though.
[23:45:12] Scripore: has joined #ruby
[23:45:28] gmci: has joined #ruby
[23:45:33] symm-: it's hilariously bad but I've changed enough clients not to want to do it again ><
[23:45:50] Aeyrix: Use HexChat.
[23:45:55] Aeyrix: Master race Windows client.
[23:46:08] symm-: I might, just too lazy atm
[23:46:29] Aeyrix: I really can't go past Textual though. I wish it existed on Windows. ;-;
[23:46:52] michael_mbp: has joined #ruby
[23:47:28] Steve_Jobs: has joined #ruby
[23:50:13] baweaver: has joined #ruby
[23:51:11] commondream: has joined #ruby
[23:53:13] commondream: has joined #ruby
[23:53:38] sankaber: has joined #ruby
[23:54:35] jgpawletko: has joined #ruby
[23:55:00] yaw: has joined #ruby
[23:57:12] mustmodify: has joined #ruby
[23:58:10] workmad3: has joined #ruby
[23:58:52] rushed: has joined #ruby
[23:59:41] mistermocha: has joined #ruby