2,425 karma · joined Apr 14, 2010 (16y ago) · 728 submissions
comment 6y ago · link · parent
Efficient access to scientific datasets hosted on S3/GCP is a full blown crisis in the scientific computing community. People aren't switching to zarr for the fun of it, but because zarr is here, today, and isn't a joke, and is actually open.
comment 6y ago · link · parent
Absolutely not. HDF5 is an awful format with terrible implementations. For example, try writing a python program with multiple threads where each thread writes to a different HDF5 file. This should just work -- there's no concurrent access. And yet it doesn't because HDF5 implementations are piles of ancient C code that use lots of global state. There's no technical reason for this; one could easily store all the state needed in a per-file object. But back in the day, software eng standards were lower (especially for scientists) and HDF5 changes at a glacial place.
I've been bitten by this particular bug, but you really have to wonder: given how poorly it speaks to the software engineering behind HDF5 implementations, what else is broken in the code or specifications?
If you're working in a situation where it makes sense to have things on disk or some sort of NFS share, use HDF5. If you're working with objects in a cloud bucket, you'll incur additional overhead with HDF5, as you'll have to read its table of indices, then make range requests to each chunk. Zarr is optimized for the cloud use case.
When last I looked, there were no open source HDF5 implementations that were smart enough to do range requests to cloud hosted hdf files. Has this changed?
comment 6y ago · link · parent
That seems like a much more important question than bickering over precisely which firearm grandma should have as she slides into dementia.
https://khn.org/news/dementia-and-gun-safety-when-should-agi...
comment 7y ago · link · parent
Pretty quickly, people learn to keep their mouth shut.
Also, many, many FB engineers are early-career folk who are fresh out of school. More senior folk are few and far between and are even more strongly incentivized to keep their mouth shut, because their bonuses are bigger.
comment 7y ago · link · parent
[0] https://www.aclu.org/other/cracks-system-20-years-unjust-fed...
comment 7y ago · link · parent
I'm inclined to agree with you but just about everyone at Google says the opposite and most C++ shops I've seen agree with them. I've made this argument and lost repeatedly. So, it seems like the community can't even agree on which abstractions are zero cost (or maybe whether some zero cost abstractions are actually zero cost?). To the extent that the community itself has no consensus about these things, maybe they're not a marketing slogan that's helpful to use.
comment 7y ago · link · parent
(2) Even reducing it to runtime costs, it seems a bit nonsensical. Are C++ exceptions a zero cost abstraction? All the googlers I argued with about them would insist that they have unacceptably high runtime costs.
OK, but templates are surely zero (runtime) cost abstractions, right? Unless you start to worry about duplicate code blowing out your instruction cache but if that's a problem, no profiler in the world will ever be able to tell you, so I guess you'll never know just how costly the abstraction is, so you might as well continue believing it is zero...?
comment 7y ago · link · parent
Simplicity and comprehensibility were things the committee had to give up in order to pretend they had "zero-cost" abstractions. Nothing in life comes free: everything, including all abstractions, comes at some cost.
comment 7y ago · link · parent
For example: maintaining backwards compatibility. The community believes that it is more important that 20 year old C++ code run unmodified than that the language should be simplified. There's lots of stuff you could do to simplify the language but options dry up in a world where 20 year old code must be able to run unmodified.
So sure, the committee talks a lot about simplicity, but it isn't willing to sacrifice much.
Don't get me wrong: I'm glad that finally, in 2020, C++ will be almost but not quite as good as Common Lisp was at metaprogramming back in 1982. But it remains the case that eval-when and defmacro are both more powerful and dramatically simpler than anything the C++ committee has ever considered.
comment 7y ago · link · parent
I mean, how many C++ developers actually write serious template code? How many of them could reliably explain what the keywords in post do?
The idea that every developer is a library author (or the lisp extension that every developer is a language author) is common in many other language communities but it relies on the community working hard to make mastery of the language feasible for lots of people. The C++ community never bought into that notion; they inherited a very stratified class structure from Bell Labs.
comment 7y ago · link · parent
Once they start taking orders from Beijing about what results to show in China, why shouldn't they take orders about what to show in the US? After all, the Chinese government controls their access to an enormous market worth lots of money. Will we be able to find articles about the concentration camps for Muslims in China after they're operating in China?
comment 9y ago · link · parent
One issue is that in the US, we treat housing as the primary source of wealth for middle class people. So everyone is expected to be a homeowner. A world where the price of your primary wealth asset is rising is good! And a world in which its value is flat or falling is disastrous. And so local laws get shaped so as to keep housing prices high; in practice that means choking the supply of new more dense housing. After all, any change might harm the value of your home!
comment 9y ago · link · parent
[1] https://sites.google.com/site/wildml2016nips/SculleyPaper1.p...
comment 11y ago · link · parent
You just stab one of these fixtures into the wall anywhere you want; each of the three prongs travels to a different depth and makes contact with a layer representing the hot, neutral, and ground lines so that your light fixture is now plugged into 220 Volt wall socket current.
At the time, I remember saying "that sounds totally insane". I still think it is. But if you made a special map backing board rather than entire walls and ran a lot less power through it....
comment 11y ago · link · parent
comment 12y ago · link · parent
Could we all just agree to pretend that Bell Labs folks invented those ideas? Would that work?
comment 12y ago · link · parent
I'm not a cryptographer so I could be totally off base here.
comment 12y ago · link · parent
So, can you show me an election in the US where that has happened? Even just one?
Or is this a fantasy?
The point is that if each fraudulent voter has to go to multiple polling stations, that dramatically increases the cost and raises the likelihood of detection. In order to scale that attack up to be practical, you'd need buses full of fraudulent voters going from one station to the next.
comment 12y ago · link · parent