32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions
comment 3y ago · link · parent
But anyway, this other article [0] (shared in another comment here) about creating the smallest version of Snake (the game) was done on top of .NET Core (the new version of .NET that isn't bundled with Windows) and effectively does the same thing, but actually produces a non-.NET binary, if that's more to your taste.
[0]: https://medium.com/@MStrehovsky/building-a-self-contained-ga...
comment 3y ago · link · parent
You might enjoy reading this GitHub thread [0] where the community contributed a WASM library wrapping the C# regex code so that regex101.com could have a "C# mode". Lots of nerd sniping about reducing the payload size.
(There's also another thread [1] discussing the minification of a rust version of that same regex101 wasm library to provide a "rust mode" using @burntsushi's regex crate.)
comment 3y ago · link · parent
(Although I think one can still do better than being literally within 10m of an individual at all times, which is a bit extreme.)
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
https://en.wikipedia.org/wiki/Multiversion_concurrency_contr...
comment 3y ago · link · parent
Also layout is confusing, capabilities don’t appear after the executable name, rather the executable name iis vertically centered against the list of features.
comment 3y ago · link · parent
But do you want it to be codified as precedent that signing with a thumbs up is a valid legal signature? Also, the meanings of emoji change (see the sexual connotations that many emoji have picked up since their release - those connotations weren't present on day zero), so how do you protect against that?
comment 3y ago · link · parent
Back to the topic at hand, it’s actually scary how few software expose control over whether or not sendfile is used, assuming support is only a matter of OS and kernel version but not taking into account filesystem limitations. I ran into a terrible Samba on FreeBSD bug (shares remotely disconnected and connections reset with moderate levels of concurrent ro access from even a single client) that I ultimately tracked down to sendfile being enabled in the (default?) config - so it wasn’t just the expected “performance requirements not being met” with sendfile on ZFS but even other reliability issues (almost certainly exposing a different underlying bug, tbh). Imagine if Samba didn’t have a tubeable to set/override sendfile support, though.
comment 3y ago · link · parent
comment 3y ago · link · parent
1695.
The Certificate Authority model does not work for LAN devices(neosmart.net ↗)
8 points · by ComputerGuru · 3y ago · 5 comments
comment 3y ago · link · parent
The question that Google seemed to ignore (and still does) is "how do you expect a newly unboxed network device to ship with a non-self-signed SSL certificate?" The workaround some manufacturers have come up with is more repulsive than the original (There was one Chinese manufacturer that tried to get a signed certificate for a domain, then mapped that domain to 192.168.0.1 and shipped the private ssl cert w/ every router iirc. TP-Link has their own weird workaround where they give you a domain to log in to the router instead of the IP, and their router MITMs the connection and redirects to HTTP.)
Google forcing everyone to HTTPS is one thing, Google forcing everyone to HTTPs and universally treating self-signed HTTPS connections as scams is another.
[0]: https://neosmart.net/blog/lets-stop-punishing-iot-devices-th...
comment 3y ago · link · parent
The bigger problem with TLS is that it adds so much brittleness and complexity (do you know how many times I've broken ACME/LE python dependencies by accident?) and increases the time-to-first-byte for so many sites, especially if you're not getting your hands dirty with nginx and OpenSSL internals.
(Even if you are tuning all the right knobs, one thing we didn't realize was that at some point using an EV SSL certificate (before Chrome removed the UI benefits of doing so) began causing a massive increase in TTFB that there doesn't (didn't?) seem to be any way to avoid, so we ended up moving to regular TLS/SSL certs w/ Let's Encrypt not for the free cost of entry but for the reduced initial connection time. I can't remember the exact details now as it's been some years, but I think with EV SSL there's a secondary cert or revocation lookup to a remote url even if you have correctly configured ocsp stapling.)
comment 3y ago · link · parent
(The “tool” in their opaque headlines is Section 702 warrantless surveillance of domestic communications of flagged terrorists which may “incidentally” include intentionally surveilling communications of American citizens.)
1702.
GOP disdain for FBI jeopardizing renewal of warrantless domestic surveillance(nytimes.com ↗)
10 points · by ComputerGuru · 3y ago · 5 comments
comment 3y ago · link · parent
I thought this bit was phrased a little too kindly. While it's unclear whether it was the case here or not [0], usually when you buy a locked phone off eBay and the seller has "forgotten" to log out of their cloud account and has "forgotten" their password (and login too, to boot!) it's because the phone was stolen.
[0]: OP claims "seller went above and beyond" to get the phone unlocked, which I initially interpreted as "figured out the locked account info" but then continued to read and learned that the use of an unlock tool was involved.. making me once again doubt the veracity of the "forgetful seller" story.
comment 3y ago · link · parent
Here's an article I wrote about using SIMD in rust, with a real-world example: https://neosmart.net/blog/using-simd-acceleration-in-rust-to...
comment 3y ago · link · parent
comment 3y ago · link · parent