8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions
comment 4y ago · link · parent
Current fire fighter directives for putting out BEVs is either dump a loader bucket of sand on it (which most don't have yet), or drag it some place safe and let it burn out.
Also gasoline just sits there until ignited. Lithium battery packs can have various failure modes which send them into thermal runaway. Chevy Bolt EVs are being recalled en masse and owners told not to charge overnight or in a garage, least it go off unattended.
I'm very pro EV but lithium is spicy.
comment 4y ago · link · parent
The problem is vendors all seem to have their own definition of what RAW means nowadays. But the typical meaning is one with the raw pixels via color filter array (eg bayer8), and need debayering (to get the usual rgb8).
You can have raw/Bayer Tiffs, I've worked with them. So the file format is not enough, you gotta know the image encoding.
"RAW just means uncompressed" yes that is technically wrong, but the point I'm addressing is "You can still manipulate a RAW image" and "without the painting-like qualities of its default image processing." It does not matter what the color encoding is, you can still do painting-like processing. I've literally worked on detectors that detect manipulation of RAW, Bayer array images. This is not theoretical.
I guess what I am saying is, Apple giving the user a raw/.dng file is not a guarantee you are actually getting the ADC output straight from the sensor.
Really, the operant question is "what is the processing provenance of this image".
comment 4y ago · link · parent
comment 4y ago · link · parent
My criteria are: well supported, composable, sub commands, reusable options, sane stack traces.
My current pattern: Cleo plus pydantic. I can create a module of commonly used flags and options that I can share among commands. Commands are first class objects. I can use them as entry points. I can readily parse the options into a static structure with defaults read from env or a file using pydantic. This is feed to runner/API functions, with minimal logic in the command class itself. The one thing that is lacking is I wish I could define pydantic models that double as commands. That is a pretty specific nit to pick.
Overall I love it. Poetry runs on it so I think it's got a long support life. It's beautiful. Easy to use. Just the right amount of opinionated for me. Supports auto complete. Built in commonly used flags like version, quiet, and verbose levels.
I find click and any of the decorator based systems super obtuse and difficult to compose. They add tons of noise to stack traces.
Docopt is way too string based. I like static types.
Argparse is... surprisingly not bad. The main drawback is reuse is not very easy and it's hard to write composable structures.
comment 4y ago · link · parent
Anything built after 1972 has not had anywhere near this level of incidents.
Also Chernobyl had severe safety flaws due to its origin as an early model breeder reactor (and my head canon is that the test that caused the disaster was in some way related to surreptitious fuel changing to run breeding experiments. The RBMK reactors were designed for rapid fuel shuffling.... In other words, safety was compromised to keep the door open to the possibility of sneaky weapons grade material production).
Also also, Chernobyl had some other bone-headed flaws, such as a positive void coefficient and positive scram coefficient (read: trying to rapid shutdown during an emergency made the reaction increase). Humanity has learned a ton since then.
comment 4y ago · link · parent
Way cheaper than nuclear in USA.
https://en.m.wikipedia.org/wiki/Nuclear_power_in_France#:~:t....
https://en.m.wikipedia.org/wiki/Cost_of_electricity_by_sourc...
comment 4y ago · link · parent
Ran into this at $lastco, as a chemist. Used to look up alcohol water azeotrope charts and half would be on homebrew sites and got blocked.
I just used my phone to email the charts to myself.
comment 4y ago · link · parent
I think "jc" stands for "jesus christ!" because I just exclaimed that out loud thinking about the amount of time I've wasted trying to parse dig outputs, or something similar. Spent a nontrivial amount of time looking for lightweight tools to convert the typical "fwf" of coreutils style programs.
Definitely running "pipx install jc" immediately (pipx is great for managing python-based executable programs, avoid the mess of venvs).
comment 4y ago · link · parent
Well yes, but actually no.
I can run UUIDgen 33 times and put it on pastebin, via tor. That does not mean I have 128 peoples' worth of PII. In fact I have ~0 bits of PII. If I were to paste one of those numbers in this comment, now they are all linked to kortex, and however much entropy that username has (call it 32, this account is leaky). But you are still short 127 "PIIs". The rest of the entropy means nothing.
Conversely, a US phone number is <24 bits, but 100% PII.
It's not 33 bits of "entropy". It's 33 bits worth of a distribution which can be correlated to an identity. If it's not correlated, it's not PII.
comment 4y ago · link · parent
Edit: ok here's some lossless and lossy compression of RAW. IMHO, "lossy compressed raw" is an oxymoron. https://photographylife.com/compressed-vs-uncompressed-vs-lo...
B) the context is whether a raw photo can be "manipulated" in any way. The answer is a resounding yes. See: Darpa MediFor project. Search for work by Siwei Lyu (I'm on mobile and don't feel like digging through the links, there's tons of published work out there)
comment 4y ago · link · parent
B) blake3, afaik, is not yet as thoroughly vetted as b2.
C) I think some of the hype around b3 is deserved. It's crazy fast. If you don't care about crypto at all (e.g. file dedup), it's absolutely phenomenal. But the main downside of B3 right now is just novelty. Cryto algos are like fine wines.
D) I don't know enough about Keccak vs Blake, but just because Blake2 has received less scrutiny, doesn't mean it's insufficient. I'm sure there are tradeoffs that the kernel editors have chosen.
E: here's a link to some discussion:
https://crypto.stackexchange.com/questions/31674/what-advant...
comment 4y ago · link · parent
comment 4y ago · link · parent
It may require some architecture changes to make training feasible, but it's far from a nonstarter.
And that is only considering backprop learning. The brain does not use backprop, and has way higher noise levels.
comment 4y ago · link · parent
comment 4y ago · link · parent
(container0, the_world0).map(operation) = (container1, the_world1)
So it is completely symmetric with respect to time. If you don't do any side effects, then the_world "cancels out". How you decide to partition the container and the rest of the world determines how it behaves, state/time/IO/side effects. But there is no a priori notion of time.Contrast with OOP or structured imperative programming, where every object/field/register has state, and that state implicitly is a variable through time. The time is "baked in".
comment 4y ago · link · parent
> I wish there was a "Debian Sid" religion
Convert to Discordianism! We make mental gymnastics an Olympic sport! You are not only allowed to, but expected, nay, mandated to believe everything and nothing you want. You can compile your beliefs against any platform, arch, Goddess, God, Dog, Amphibian, or cat manufacturer.
comment 4y ago · link · parent
This is pretty much the only way I've been able to balance the super rational science heavy side of my mind with a deeper need to feel a spiritual connection.
I don't currently have a day to day practice, though I used to meditate daily. I really should get back into that though.
comment 4y ago · link · parent
The one thing it has going for it is much of the heavy lifting is done by starlette, maintained by encode.io, which is actively funded. It's not trying to be rails, rather it's relying on other libraries and packages to add functionality.
comment 4y ago · link · parent
World class stuff.
comment 4y ago · link · parent