32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions
comment 3y ago · link · parent
But more practically, there are different types of containers for UHT milk hermetically sealed to different extents. The more expensive kinds can last years. The US Military says 10 months for "normal" UHT milk stored under "normal" conditions [0]. The more expensive kinds can go much longer.
[0]: https://www.dla.mil/Troop-Support/Subsistence/Operational-ra...
comment 3y ago · link · parent
comment 3y ago · link · parent
EDIT: the best alternatives I'd previously found were rhai (still niche and weak library) and sandboxed JS (heavier than I would like and the standard library is still poor).
comment 3y ago · link · parent
It has the encoding formula for Wisconsin, Illinois, and Florida (which match the parent's comment) but there may be others.
comment 3y ago · link · parent
They did that already. AlienBlue was then the Reddit iOS client that Appllo is now. Reddit bought it, gutted everything that made it good, then released it as the official iOS app.
comment 3y ago · link · parent
That remains true to this day of even makefiles from some really big name projects. Huge pet peeve of mine and I’ve filed PRs with fixes many times.
comment 3y ago · link · parent
The only downside is that it adds a ton of boilerplate and a lot of maintenance overhead. You need separate compilation units for everything and then you need a sub-struct to use the pimpl approach. Fast pimpl (in-place new in reserved space in the parent struct itself) gets rid of the heap allocations but you still have a pointer indirection and prevent the compiler from properly stripping out unused code across translation units normally (that’s where LTO comes in these days).
Really, the problem is just that it’s a PITA to write compared to sticking everything in the header file.
(It’s ironic that rust meets the first two rules by design but is still much slower than C++ to compile, though it does imply what’s already known, specifically that there’s a lot of room for improvement.)
comment 3y ago · link · parent
A third party can be necessary to facilitate the communication between the client and the attorney. A clearer example was if you needed an interpreter to speak to your lawyer - surely that conversation remains privileged and the third party in the room cannot disclose what was learned?
comment 3y ago · link · parent
comment 3y ago · link · parent
They run under Windows, Linux, the various BSDs, and macOS.
comment 3y ago · link · parent
But I say all this not having looked at this product and I don’t know if sales here works that way or not.
comment 3y ago · link · parent
The bigger issue is that you are at the whims of llvm as to what your codegen looks like. Regressions as llvm versions are upgraded are routine and can sometimes result in significant regressions on micro benchmarks. The good news is the rust team treats these pretty seriously even if they do take time (and several versions) to get fixed but you’ll never see the issue closed out in the issue tracker. All of performance regressions, codegen bloat regressions, and llvm optimization failures (eg not stripping out a panic handler in safe rust when it should be possible to deduce that the panic cannot be reached) are all tagged and monitored and tests are often added to catch regressions once fixes land. The good news is that when you run into these in safe rust you can usually work around them with unsafe rust - unreachable_unchecked() is your best friend here and is amazingly easy to use either with an if or with a match to disavow a potential state before the code that handles it.
comment 3y ago · link · parent
Using it to enforce that every return value is handled is stupid as it can lead to error blindness and you’ll ignore it when you actually need it.
comment 3y ago · link · parent
I migrated a rust LoRa driver from traditional blocking to async/await in order to test two modules in simultaneous send/receive mode as part of the test suite on a single STM32 chip. Aside from pleasing the HAL abstraction by bubbling all the generics throughout, it was an entirely pleasurable experience and made much better use of available resources than the traditional approaches without having to manually manage state across yield points or use a dynamic task scheduler. No OS, no runtime, no manual save/restore of stack, no global variables. It is really the future of the truly micro barebones embedded development.
comment 3y ago · link · parent
I disagree. A layman can’t troll someone from the industry let alone a subject matter expert but ChatGPT can. It knows all the right shibboleths, appears to have the domain knowledge, then gets you in your weak spot: individual plausible facts that just aren’t true. Reddit trolls generally troll “noobs” asking entry-level questions or other readers. It’s like understanding why trolls like that exist on Reddit but not StackOverflow. And why SO has a hard ban on AI-generated answers: because the existing controls to defend against that kind of trash answer rely on sniff tests that ChatGPT passes handily until put to actual scrutiny.
comment 3y ago · link · parent
The biggest actual difference isn’t US troops stationed in NATO countries but rather the extent of the US as a global reserve currency and the power of the petrodollar. The concerns over these are well-founded as the powers that be have willingly traded the latter in exchange for upping the US’ position in the current brinksmanship with Russia, when Russia was never the economic juggernaut to be reckoned with and certainly not worth giving up those cards for.