32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
As it is currently, the new collection syntax may result in dynamic heap allocations or it may not - it’s fully opaque.
comment 3y ago · link · parent
But it doesn’t matter, I’m they never would have gotten the valuations they did if it weren’t for the insane hype around the (free) ChatGPT offering. It more than paid for itself just in that regard.
comment 3y ago · link · parent
I find it easier to understand if you say “instead of using the level/value as the source of randomness, use the transition from one level/state to the other as the bit of entropy.” (edge-based instead of level-based) I.E. instead of head is 0 and tails is 1, head to tail is 0 and tails to head is 1, and the other transitions are disregarded.
comment 3y ago · link · parent
I also have often found myself publishing “for my own use only” code as open source later and like to keep things understandable to maybe help teach someone something someday.
comment 3y ago · link · parent
Everyone knows what a uint32_t is when they see it. The cognitive overhead (until it becomes second nature, obviously) just feels like a heavy price to pay in order to save yourself a few characters.
(Some other stuff in the proposed coding style still gets a thumbs up from me, though.)
comment 3y ago · link · parent
(Medium-term migrations from ASP.NET MVC to ASP.NET Core, was more streamlined.)
comment 3y ago · link · parent
More to the point, (at least to my understanding) it puts it on par with another contender that was rejected from the NIST competition for being too weak a security construct.
comment 3y ago · link · parent
EDIT
Trying it from the command line and I see the problem: a message is posted to stderr complaining that the file does not exist, probably because this is an smb path and it (f3d) is doing some weird thing trying to open the path itself instead of going through the default filesystem apis.
Copying the file to the local fs and then opening it with f3d works, so as far as I'm concerned, this is at the very least a bug in that f3d doesn't forward fatal errors to the UI and only posts them to stderr, which is hidden/swallowed by default when opening f3d via the desktop environment or by double-clicking on the .stl file (as no terminal is shown), if not to also mention a bug opening files from smb or network shares or more generally through the gvfs extensions.
comment 3y ago · link · parent
Any time I have an alarm in the middle of the night for any random hh:mm, after just a few days of the same pattern I will naturally wake up exactly 1 or 2 minutes before the alarm as my internal clock knows what to expect. If I ignore it out of laziness and go back to sleep until the alarm rings (literally a minute later) I can break the habit but if I embrace it, it is really accurate and reliable (though thrown off if I went to bed absolutely exhausted, so there are limits as one would naturally expect).
comment 3y ago · link · parent
The problem would be a lot easier if there were a feedback loop to the compressor where you can dynamically reduce quality/bandwidth as the connection quality deteriorates but currently using the stock raspivid (or v4l2) interface makes that a bit difficult unless you’re willing to explicitly stop and start the encoding all over again, which breaks the stream anyway.
comment 3y ago · link · parent
So, no, this doesn’t slow down charging.
comment 3y ago · link · parent
Smaller, cheaper, lighter, better. Just hard to retrofit if they weren’t designed as part of the board to begin with.
comment 3y ago · link · parent
comment 3y ago · link · parent