2,179 karma · joined Aug 27, 2009 (17y ago) · 285 submissions
cryptographer
comment 12y ago · link · parent
The first four paragraphs describe what happened: different decisions were made by different doctors, and the drug did not "get out of the shadow only when there was a need to cure an American".
comment 12y ago · link · parent
UTF-16 has surrogate pairs; it's an extension of UCS-2, which doesn't.
Incidentally, this is why UTF-16 is a poor choice for a character encoding: you take twice the memory but you don't actually get O(1) indexing, you only think you do, and then your program breaks badly when someone inputs a surrogate pair.
See also elsewhere in the thread: https://news.ycombinator.com/item?id=8066284
comment 12y ago · link · parent
Do you have any ballpark ideas about how the cost of producing the dam (most concrete, I guess) compares to the cost of producing 120 km^2 of solar panels + 'enough' battery capacity, in terms of some kind of ecological footprint?
My intuition is that the ecological capital costs of solar panels greatly exceed the capital costs of the dam, but I have little faith in my intuition....
comment 12y ago · link · parent
To turn your question around: what new serious [1] filesystems have been designed since 2005 (or 2001) at all, regardless of adoption?
I think that the answer is actually far less than a few dozen. I can think of four: ext4 (as mentioned), F2FS (announced 2012, started ?), btrfs (started 2007), and ZFS (2001).
Maybe there are others, I don't know, but I don't really think there are even that many contenders for adoption. (If there are, I'd be interested to find out).
[1]: By serious I mean in a sense similar to what is outlined here:
http://utcc.utoronto.ca/~cks/space/blog/linux/SystemdWhyItWo...
in particular "In specific, none of these alternate init systems did the hard work to actually become a replacement init system for anything much", but for filesystems instead of init systems. For example, I would not consider HAMMER to be a 'serious filesystem' for the purposes of this list, whatever its technical merits.
67.
Graffiti Artists Use Moral Rights to Prevent Building Demolition(ipkitten.blogspot.co.uk ↗)
1 points · by hdevalence · 12y ago · 1 comment
comment 12y ago · link · parent
This actually... isn't true. If you feel like wasting valuable time of your life, try reading the Debian systemd flamewar: the people with the most rabid 'holy war' attitudes are the systemd opponents.
People who favour systemd generally use it to get shit done [1], not write blog posts about 'freedom of choice' [2].
Fedora/RHEL, SuSE, Arch, and now Debian didn't decide switch to systemd because they were all strong-armed by Lennart's evil cabal or something, they did it because each of them decided that it was a superior system.
Because it is [3], and no other system, save Upstart, actually put in the work required to be a potential replacement.
[1]: https://lists.debian.org/debian-ctte/2014/01/msg00287.html
[2]: http://www.redhat.com/archives/fedora-devel-list/2008-Januar...
[3]: http://utcc.utoronto.ca/~cks/space/blog/linux/SystemdWhyItWo...
comment 12y ago · link · parent
No, macros are not what I'm talking about here: I mean that C++ provides abstractions that only impose runtime costs if you use them. For instance, the cost of vtable lookup is only paid if you are using virtual functions; otherwise, you don't have any overhead for function calls beyond what's imposed by the hardware.
As noted elsewhere in the thread:
> Unlike Lisp, C++ lets one write efficient, generic algorithms that can operate on several types of data. Lisp cannot, and falls back to dynamic type testing, which makes for slower code[1]. Basically your only option in Lisp is to specialize everything manually, or inline everything. Both approaches are extremely poor. As I hinted, Haskell and Standard ML do an even better job than both C++ or Lisp. This is talked about a good bit in this article [2].
That's what I mean when I say 'zero-cost abstraction'.
comment 12y ago · link · parent
Do you have any suggestions on what tools the people doing 'parlor tricks' with C++11 should be using to accomplish them, then? That is, what would you suggest to get to that place without the straightjacket?
Note that at a bare minimum, these supposed tools should give the ability for fine-grained manual resource control, zero-(runtime)-cost abstractions, and performance roughly on-par with C++. As evidence that these hypothetical tools work well for the purpose, we could look for some complex and high-performance software written in them: say, a browser engine, a 3d engine, a kernel, etc., but wait a minute -- these are all things that tend to be written in C++ or plain C.
Instead of glibly dismissing the language that's used to implement, say, every major browser engine, wouldn't it be more productive to ask questions about why people use it? Bonus points if the answer is something more realistic than "They don't know Lisp".
That way, you end up trying to figure out how to make a replacement for it that is an actual replacement -- Rust is a fantastically exciting example of this.
It'll be great when we can all move away from C++, since it's a colossal clusterfuck of counterproductive complexity, but "C++ is a bad language" misses the point in a really uninteresting kind of way.
comment 12y ago · link · parent
If NVidia wants to have input, they could hire people to work on Wayland. Otherwise: https://www.youtube.com/watch?v=YxHqi8tx048&t=0m28s
comment 12y ago · link · parent
"Since when is removing consumer choice a good thing? Does Google really know better than you do what your security posture should be for your Gmail accounts?"
Yeah, what do those Google security engineers know, anyways?
comment 12y ago · link · parent
On the other hand, pilots need to be able to be in total control of the aircraft, including the ability to shut off any system on board. (See Swissair 111). In an emergency, you don't have time to mess about with two station bypass/etc.
comment 12y ago · link · parent
> Yellow is awfully broad: In my mind, multimeters have always been yellow. I’ve never had the opportunity to own a Fluke-branded DMM so I’m not sure where my brain picked up this association. I can respect trademarks and company branding and I respect Fluke’s reputation for high-quality multimeters. If Fluke wants to own a color I would expect the USPTO to require them to assign an exact color just like Tiffany’s did with Tiffany Blue. But allowing a company to trademark ‘yellow’ seems broad.
This is the diagram in the trademark filing, describing what kind of yellow border is covered:
https://cdn.sparkfun.com/assets/home_page_posts/1/4/2/8/Roug...
What could be more clear and limited in scope?
comment 12y ago · link · parent
Use a second type that defines __mul__ as matrix multiplication:
As discussed above (Background: What's wrong with the status quo?), this has been tried this for many years via the numpy.matrix type (and its predecessors in Numeric and numarray). The result is a strong consensus among both numpy developers and developers of downstream packages that numpy.matrix should essentially never be used, because of the problems caused by having conflicting duck types for arrays. (Of course one could then argue we should only define __mul__ to be matrix multiplication, but then we'd have the same problem with elementwise multiplication.) There have been several pushes to remove numpy.matrix entirely; the only counter-arguments have come from educators who find that its problems are outweighed by the need to provide a simple and clear mapping between mathematical notation and code for novices (see Transparent syntax is especially crucial for non-expert programmers). But, of course, starting out newbies with a dispreferred syntax and then expecting them to transition later causes its own problems. The two-type solution is worse than the disease.