I suppose if we had the tech to do that, we might be able to find off-planet oxygen as well...? Except wasn't most of ours produced by plants splitting carbon-dioxide?
632 karma · joined December 22, 2011
I suppose if we had the tech to do that, we might be able to find off-planet oxygen as well...? Except wasn't most of ours produced by plants splitting carbon-dioxide?
What got me was that a 12-pack of certain replacement razors was more expensive than three four-packs. I distinctly remember that one, having done a double take and checking my math with a friend.
Is your objection that daemontools is largely unused / unmaintained and lacks features (such as flapping-avoidance)? Or something else?
Just curious, thanks.
Just a heads-up: I know this isn't your fault, but docker.io does not say this on the front page, About, or FAQ that I can see. In fact, it currently says "same container that a developer builds and tests on a laptop can run at scale, in production".
Docker looks very interesting, thanks for your work.
http://www.javacodegeeks.com/2011/06/zero-downtime-deploymen...
I have implemented a similar system for JRuby apps running inside a Servlet container. There are many caveats. I don't actually recommend it because for a while you're using nearly twice the memory (and JRuby is particularly memory hungry). Also there are many ways to leak the old class definitions such that they are not GC'd (e.g. thread locals). But it's certainly possible.
I suspect that Erlang, Java, and all languages are in the same boat: some parts can be upgraded live in the VM while other parts require a full restart (maybe coordinating with multiple nodes and a load balancer to achieve zero-downtime).
Does your condition have a name? I've not seen claims of long-term injuries (as opposed to acute injury) that have names other than osteoarthritis.
Thanks.
Well you're in luck. Running at sub-elite levels has not been correlated with osteoarthritis.
http://www.ncbi.nlm.nih.gov/pubmed/9489830 http://www.ncbi.nlm.nih.gov/pubmed/22632690
It's certainly an RTFM thing, but last time I didn't know how to get PulseAudio to go away. I wrote a shell script to keep killing it in a loop (since it restarts itself) long enough to get JACK to take over. I know there must be better ways...
Then inevitably once I've got JACK setup, I'll want to play some background music or watch some Flash video online without tearing down my JACK setup. Oops, does that audio player support JACK natively? Do I have that plugin installed? Can I run Pulse and have it direct output into JACK? None of this has worked smoothly in my experience.
> users of JACK generally buy high-end hardware specifically for that purpose and know what they're doing
This has not been my experience. I love to dabble, but apparently don't know what I'm doing.
In the hot, humid summers, I wish my building had a shower, or at least some area to change clothes larger and less smelly than a bathroom stall. When it rains, there isn't always an appropriate place to hang dripping, often muddy clothes (and I hope they dry off before the ride home). I'm also lucky to not need to wear a suit, but I don't envy those whose responsibilities include being more presentable.
If the roads aren't covered with snow and ice, the worst part about winter is the darkness, but that isn't something an office building can solve.
They were all run in production mode with logging disabled, etc.
http://polycrystal.org/~pat/scratch/microbenchmark.png
Note that a difference from 10k requests per second seems huge compared to 3k, but if you invert it, you get 100 and 333 micro seconds per request, respectively. In a real, non-"hello world" app, these differences are going to be negligible.
Though perhaps it would be more interesting if instead of just responding "hello, world", the app parsed some query parameters or something. But I was mostly interested in the overhead of different JRuby servers, not comparing different app servers (i.e. overhead from Sinatra should be more or less identical whether you're on Puma, Trinidad, or whatever).
Metals are able to deform plastically. A metallic bond is not so directional, and you typically thing of all the molecules in a metal as a big blob with a cloud of electrons that can freely move about (also the reason for good electrical conductivity).
There are "elastic" and "plastic" deformations. Think about bending a paperclip. Use it gently, and you can open it up and get it to squeeze a few papers together. Pull it off and it returns to its original shape. That's elastic. Now open it wider or bend it into another shape, and it will no longer return to the original shape. That's a plastic deformation.
Metals can deform plastically which means layers of atoms are sliding past one another in waves. Sometimes these waves are stopped by various irregularities in the crystal lattice. The waves start to pile up, preventing further plastic deformation. Keep bending that paperclip back and forth; it will eventually snap. But in the meantime, it absorbed a fair amount of energy. That's "toughness".
In a ceramic, the electrons are not free to move about. If a crack develops, it doesn't take much for there to be terrific stress at the tip of the crack (much like a lever and fulcrum). The crack propagates through the material, and you have catastrophic failure.
There are various ways to increase the toughness of ceramics. I'm not all that familiar with them, but a common one is Yttria-stabilized zirconia. That's zirconium oxide with added yttrium. Under stress from a crack, the material can undergo a phase transformation (from one crystal structure to another; not solid to liquid or anything like that). A phase transformation absorbs energy (just like boiling water into steam does) which may be enough to stop the crack from propagating. My ceramics professor had a YSZ hammer that was gifted to him by Coors ceramics (same family as the beer company). YSZ is not transparent however.
-- Brian Goetz in 2005
http://www.ibm.com/developerworks/java/library/j-jtp09275/in...This article was also written when Java 6 was starting to get escape analysis, which can result in stack allocations in some cases.
I recall taking a course in 2008 or so (Java 6). We were doing a genetic simulation of sorts, and the professor recommended using an object pool to speed things up. I implemented one and observed no measurable difference in my code's performance (these were very small objects used over and over again evolving new organisms). I hooked up a profiler and used that to guide me to some areas that could be improved, and a valuable lesson was learned.
I suggest trying to find and support media that is offered without DRM in the first place, if that is what you consider important.
Followup question: are there other common array operations that only work on arrays in a particular state? Are any of these in or out of various standard libraries?
A long time ago... I implemented a wrapper around the Gnu Scientific Library matrix operations. I recall trying to be clever by mixing in some extra methods only after getting the LU decomposition (these extra methods required the matrix to be in a specific state). A little too dynamic for my current tastes. It's not a terrible idea perhaps, but this sort of thing tends to kill performance.
You're probably aware, but it's possible to host private gems in a simple static webserver. We have our CI server copy gems over and run a script that calls "gem generate_index -d /path/to/gems".
Completely featureless, of course. Lacks the newer rubygems.org api (so bundler is stuck downloading the whole index), and obsolete versions will stick around without manual intervention (which, if you have too many, is a pathological case for bundler's resolver).