Better HN
topnewbestaskshowjobs
Log inSign up

hdevalence

2,179 karma · joined Aug 27, 2009 (17y ago) · 285 submissions

http://hdevalence.ca

cryptographer

Submissions

comment 12y ago · link · parent

Of course, removing accountability means that much more often than not, the single unified goal is 'the value of my Swiss bank account'...

comment 12y ago · link · parent

http://mobile.nytimes.com/2014/08/13/world/africa/ebola.html

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

There are, by definition, no Unicode characters that don't fit in UTF-16.

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

Interesting. I suppose it makes sense, in a way: solar power captures solar energy directly, whereas hydro captures solar energy only indirectly, through the water cycle.

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

Why is it a good thing to let more science be possible using Mathematica?

The issue with Mathematica for science isn't that it's expensive, it's that it's proprietary and secret.

comment 12y ago · link · parent

Note that ZFS began development in 2001, not 2005, so ZFS itself isn't a new filesystem designed after 2005. The ZFS source code was first released in 2005, but it was announced a year prior. In any case, ZFS is actually somewhat older.

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

What the article points out is that (2) is actually not the case, which is why the question arises.

comment 12y ago · link · parent

> The systemd developers are responding to upstart and launchd and android init as things they must _defeat_, an establish a new standard by crushing all the competing implementations.

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

Well, untreated wood won't last, but --- "it's just wood", so you can build a newer, better, one when it rots away.

comment 12y ago · link · parent

Yes, they should.

If your CPU lies about its feature support, there are far, far, far bigger problems for the end user than whether a binary is optimal or not.

comment 12y ago · link · parent

> a.k.a. macros

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

> at the end of the day you're in the exact same place as if you'd never put the handcuffs and straightjacket on to begin with.

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

Ice axes and crampons are generally certified by the UIAA [1], but this certification is not legally binding -- it's just that consumers won't buy products that aren't UIAA-certified.

[1]: http://www.theuiaa.org/safety-standards.html

comment 12y ago · link · parent

Right, my point was just that there is a specified way for the server to tell the client not to use HSTS any more. Of course, the caveats you mention mean that to be certain, you would need to wait.

comment 12y ago · link · parent

There's no functional difference between craptive portals and a MITM attack, so this definitely seems like a feature...

comment 12y ago · link · parent

As per the spec, setting max-age=0 disables HSTS.

comment 12y ago · link · parent

I wonder if it's possible to use computer vision techniques on the video footage to calculate the position and altitude of the skydiver at the time, and then also estimate the trajectory of the rock?

comment 12y ago · link · parent

Literally has been used to mean "in the strongest metaphorical sense" for close to 300 years, so I think you're beating a bit of a dead horse on that.

Source: OED

comment 12y ago · link · parent

More importantly, why does NVidia, who contribute practically nothing to Free graphics development (drivers or the rest of the graphics stack) think that the Wayland developers have any obligation to make Wayland work well with their secretly-developed blobs?

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

http://blogs.computerworld.com/privacy/23698/google-customer...

"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

You don't get to define what the word "hacker" means, though.

comment 12y ago · link · parent

No. It's not possible to prevent a malevolent pilot from destroying the aircraft.

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

FTFA:

> 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

I'll just point out this thing over here:

https://github.com/mozilla/servo

comment 12y ago · link · parent

For me, I kept the hardware, and switched to the open-source driver.

comment 12y ago · link · parent

... owned by a heavily-regulated monopoly, which was banned from commercializing the research produced at Bell Labs.

comment 12y ago · link · parent

This is addressed in the proposal:

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.

12345
10