Page 1 of 48 | Next »
[23:54:53] zenspider: wilywizard: assuming that the deps are actually declared (they are) then they should be in the lock file. You can run just `bundle lock` to regenerate the file and not do the slower install step to poke at it
[08:34:54] zenspider: they had a right to be huffy... I can't actually offer help for FTP programming... but still.
[08:35:41] zenspider: it's all about rsync... easiest way to replicate your election results across all teh servers
[05:37:37] zenspider: huh. and for some reason I have a bunch of requires that are returning nil, not true/false... no idea why tho
[20:41:57] zenspider: baweaver: "Scala’s pattern matching wildcards" ... what pattern matching does NOT have _ wildcards? racket, haskell, ... I can't think of one that I've used that doesn't... and I'd be willing to guess, predate
[20:47:10] zenspider: I would assume it'd be to avoid adding to_ary to everything you want to deconstruct on, but the example given doesn't really suggest that?
[10:16:09] zenspider: gheegh: there's pretty simple ways around that... tho looking at your code, I'd start by pulling the File.read out of the define_method. Use the power of the closure.
[22:43:14] zenspider: I wouldn't provide ANYTHING. Just say it is a requirement. Let them decide what is right for their OS
[22:43:52] zenspider: otherwise you're asking for trouble, because every OS is just slightly different
[22:45:11] zenspider: uplime: every time a nerd says "just", they're massively underestimated something
[22:47:51] zenspider: guaranteed these aren't all the same for adding users: AIX, HP-UX, IRIX, EulerOS, macOS, Solaris, Tru64, UnixWare, QNX Neutrino, Inspur K-UX, INTEGRITY
[22:48:34] zenspider: also interesting that linux is only listed as mostly posix... yet I think most ppl think of it is a fully
[23:23:39] zenspider: just never try to automate it... otherwise you reinvent puppet/chef/ansible/hell
[19:10:32] zenspider: aaand I'd be doubly worried about running it as root. Please address that first
[00:08:24] zenspider: might depend on too many things that I won't speculate on. depends on what log2s3.rb is doing, how it loads its dependencies, etc.
[00:09:46] zenspider: `ruby -d` prints out ALL exceptions, even if they're handled... so don't freak out at the noise
[00:12:35] zenspider: might be something really stupid tho... run it locally, it might load locally. who knows. you're gonna have to dig in an dread
[20:47:36] zenspider: za1b1tsu: it's like starting a subshell... not terribly useful imo, but sometimes it is nice to have a stack to push/pop
[20:48:39] zenspider: and I guess... the single-irb flag means that it is NOT like a subshell, and more like a dynamically scoped (Or non-scoped?) language.
[20:58:47] zenspider: dar123: doesn't matter if you update the OS if your app has gaping holes in it
[21:04:48] zenspider: if you need to pipeline workers, for example, then queue is perfectly sufficient. If you need some sort of shared mutable state object (which always feels like a bad idea to me), then you'll need something else. Even just a proxy wrapper with a mutex could work, but ... this way madness yadda yadda
[22:13:38] zenspider: meh... I'm simply not patient enough to help out in this case. not while I still have a new gem release to do
[22:38:12] zenspider: ruby_parser-legacy 1.0.0 released... finally. I'm so glad to get that off my plate
[06:26:07] zenspider: sagax: :: is super old notation meant for class constant access X::Y or for calling class methods, but nobody ever does the latter
[22:55:02] zenspider: uplime: I wrestled with rubocop to implement "seattle style" which includes only using double quoted strings (or % forms)... eventually decided it wasn't worth it
[23:49:09] zenspider: kirun: it's just the first call that comes out as a string, it's not the value itself.
[23:53:55] zenspider: that's an odd one. the existance of the symbol, regardless of location or whether it gets eval'd, determines what respond_to_missing? winds up being passed...
[23:59:16] zenspider: I was partially wrong... if you switch from "posts" to "a", it doesn't reproduce...
[09:23:56] zenspider: G: they're either just called method calls or chained method calls... why? what's your doh moment?
[09:28:15] zenspider: so, you have something like obj.a.b.c and you want #b to prevent #c from "running" ?
[09:28:58] zenspider: you've monkey patched a class or object to do something custom and you want to be done in the middle?
[09:41:41] zenspider: G: the proper way to do that is to subclass, override, and use super w/ your custome prefix/suffix code around the super...
[09:42:52] zenspider: but... if you are already in the muck... either what TheBrayn said, or you return a dummy that doesn't respond to those chained messages
[09:44:07] zenspider: I don't actually recommend creating objects like that. Create a DummyMail class, or whatever, and instantiate one. That way you're not mucking with method tables all the time
[09:48:51] zenspider: also, what are you monkey patching it for? what problem are you trying to solve?
[09:53:48] zenspider: I would suggest NOT changing the return type at all. Instead, store off the value you want in a side instance variable on the response object and access it in the controller
[09:55:24] zenspider: Then you can also create an accessor method or just use ivar_get to grab it in the crontroller
[00:13:01] zenspider: Scriptonaut: I'm only skimming the spec for JWT... but I'm not sure that's invalid yet.
[00:17:25] zenspider: ruby has some stuff built in to seed hash values and the like so that each process is a little bit random from another. It bites me now and then, but makes the processes less attackable from the outside. It might be similar
[00:21:39] zenspider: hrm... is there a better tool than diff3 for comparing 3 files? having `ed` output isn't the best
[22:31:47] zenspider: what's the cheapest checksum function we have? I'd use #hash but it is seeded on ever run now and blows out caching.
[10:17:49] zenspider: quipa: afaik, it ships as a gem now but still is in the standard distro. also, not having many commits lately doesn't mean anything. Does it do what you want? then use it.
[20:36:35] zenspider: sezuan: no... that's not a dependency term that is supported. supported ruby version is there... but mostly as a means of failing out, not matching.
[20:39:08] zenspider: maslen: "entries" is plural, implies array. The error does too (indexing an array with a string)... so maybe you have an array of arrays of hashes?
[23:05:57] zenspider: Radar: I _believe_ you could do it with something like my graphics gem... using SDL's key scanning
[00:02:55] zenspider: hrm... I could have sworn that there was a fragment emitter... but maybe that's json, not yaml
[00:03:56] zenspider: fuck. ignore the bot... there's been a lot of problems with the eval service we use lately
[00:04:50] zenspider: IOW, look in Enumerable and use an appropriate method from there instead of something from Array
[00:07:29] zenspider: I'd probably do the lines.drop(1) just to make the diff fit as much as possible
[00:19:31] zenspider: that whole file could literally be a simple(r) ruby file populating a hash and a single YAML.dump at the end to a file... *shrug*
[00:21:00] zenspider: ok. I give up on this jruby bullshit. damn working with this thing is painful.
[23:09:57] zenspider: dachi: that looks like an if statement to me. Don't be clever when you don't need to be
[23:32:52] zenspider: first foray into jruby in a looong time. Having some problems. Installed 18.104.22.168 via rbenv, but I'm getting heavy handed warnings on every invocation about reflection & security? Is there something I should be doing?
[23:33:01] zenspider: Second problem: rbenv seems to hate jgem and probably everything else? stubs just bitch and give up. I have to full path everything. Clue?
[23:54:49] zenspider: you probably don't want `to_yaml.lines` at all, right? what would you be doing with the yaml?
[23:58:52] zenspider: ah. ok. I see. they're doing this in a yml.erb file... so no, the --- isn't valid at that location... the problem is using to_yaml at all. sec.