Page 1 of 7 | Next »
[12:44:42] Zarthus: Jonopoly: if you don't know what you're doing, use tools that already do it for you, or your test won't be sufficient
[19:14:54] Zarthus: (i'm asking alternative questions because recovering it from memory is gonna be a PITA, I'd wager)
[13:40:41] Zarthus: wouldn't it be easier to rm the bundler.lock and reinitialize from without lockfile?
[19:06:34] Zarthus: adam12: I used to be a caddy fanatic but the fact they ever thought sponsoring in their headers was a good idea kinda ruined my trust in them
[20:09:16] Zarthus: if you don't really know what that is, a 'sane' default is the lowest current-major+minor version (so 2.5.0)
[20:13:16] Zarthus: moontracer: FYI, when you do `gem install [yoursoftware]` on e.g. ruby 2.4.0 it'll tell you that the library wont work because it requires ruby 2.5
[20:55:19] Zarthus: literally even telnet would be better than telnet, but hexchat is often a decent starter
[11:16:39] Zarthus: ping @ops: all urls in the ENTRYMSG of this channel support https from the looks of it
[19:49:44] Zarthus: Eiam: I think so long you're friendly, you keep your usecase small and their time valued, it's a completely valid question
[19:50:42] Zarthus: just make sure your code is presentable. a 500 line gist with no indentation is the rude part.
[20:02:12] Zarthus: they already fund development of kiwiirc, inspircd, and servers for freenode and snoonet. the rest of the free time OSS devs won't keep up
[21:09:22] Zarthus: i see the problem now, can't say I have too much experience with stubs in ruby though
[21:15:06] Zarthus: Hoffman: my first instinct would be to try not printing from the constructor, and checking an assert for equality on animal.getInfo directly
[21:15:27] Zarthus: though i don't know how thi swould play into chef run, at least you can ensure the stub is working correctly
[21:17:01] Zarthus: Hoffman: It's more about working up to the problem, find out which part breaks the stub - not a permanent suggestion
[21:21:00] Zarthus: I haven't bothered setting up your code stack, but from reading the documentation the stub's code is functional
[21:23:23] Zarthus: i don't know if it's about as simple as it can get; i don't access the necessary chef knowledge to know what happens in L43
[21:23:55] Zarthus: but i'm nearly confident that something like Creatures::Animal.new.getInfo would eq 'Fake information returned'
[11:43:41] Zarthus: It's not a common pattern seen in other regex engines, so in my brain it still translates to matching the text literal ":swap"
[14:36:40] Zarthus: Genya: though note that singletons are more or less an antipattern in the vision of most.
[16:54:37] Zarthus: i can think of a hack where you copy the file, slice the lines, and eval it. Or you do a `head +43 | ruby`
[10:28:26] Zarthus: haven't done ruby in a while, but it sounds like you can just slice it before you .each_* over it?
[14:40:05] Zarthus: you can work with W10 well enough for ruby, but it's still recommended to spin up a VM of your dev environment to match production
[14:46:42] Zarthus: if you were to just return ruby hashes in all of them you could combine it no issue and json.pretty_generate it only once
[14:48:27] Zarthus: either way, my suggestion is to ditch the `puts`, ditch the `json.pretty_generate`, return the value as-is, and then combine them all in the main()
[19:20:49] Zarthus: The MIT license absolutely allows you to fork free of charge and make your own ruby-rsync from that, though
[18:00:11] Zarthus: I would heavily argue you should never do operator overloading (on existing things)
[15:55:36] Zarthus: i'd argue for a line length > 80 characters, beyond that I've always seen the former written.
[15:58:30] Zarthus: I like 120 as sane default. Some code can get really unreadable with the 80 cutoff
[16:09:36] Zarthus: i would have argued for 8 space indentation if that was not (1) so much effort to type and (2) considered heresy by everyone and their mother on the world
[16:21:55] Zarthus: JJonah: I recommend 8 spaces to new developers, whatever they prefer to more experienced ones
[16:23:43] Zarthus: but with that said, i've never tried/taught ruby so i'm not sure how well it works there
[16:27:13] Zarthus: out of curiousity: has anyone attended a college or university that taught tooling beyond an IDE?
[00:08:23] Zarthus: Sounds like they want people to update their libraries, but it's too ambiguous I wouldn't attach any meaning to it.
[23:20:32] Zarthus: Because if you want something as fast as light, an interpreted language in general isn't the best choice. *shrug*
[16:17:34] Zarthus: not that I know of, though a method is essentially a macro without the substitution ;D
[18:36:19] Zarthus: man, a recruiter just hit me up for a rails position at SUSE, sounded kinda interesting, but nuremberg is like the middle of nowhere.
[18:40:35] Zarthus: it wouldn't surprise me if comparing two large strings is faster than sha2ing both
[18:42:47] Zarthus: catbusters: I've managed just fine with the normal time/date libraries, what functionality do you need?
[18:44:24] Zarthus: masterasia: unless you store it in the db rather, checksumming both values is equal to a normal string comparison
[16:00:19] Zarthus: alcroito: I don't know of standalone graphical debuggers, RubyMine might have something though
[19:11:17] Zarthus: i understand how it works, I just have trouble understanding the purpose. Let's say you have an app and I hold down "s" and then press "i", what do you expect to happen?
[19:13:03] Zarthus: the way I've seen this being done in other applications is event-based. Where you'd send two events instead of one.
[19:15:36] Zarthus: it looks to me (and I'll admit I've only spent a few minutes on this) that the args of key() are just wrong/limiting in general
[16:05:20] Zarthus: Using an operating system is different than writing code. One is a tool to achieve your hobby with, the other is a hobby and a profession :P