Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kam
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
kam
2y ago
rustc_codegen_gcc is also a thing.
32.
▲
by
kam
2y ago
The reserved values can be used as tags in outer enum types. For example `Option<bool>` might encode `None` as 2. If you did `Some(transmute::<bool>(2))` it'd turn into `None`.
33.
▲
by
kam
2y ago
They say that OpenWrt 19.07 and 21.02 are affected, but as far as I can tell, official builds of OpenWrt only use the mt76 driver and not the Mediatek SDK.
34.
▲
by
kam
2y ago
> The only gripe I have with Rust's unsafe is that I can't mark methods with preconditions as unsafe while still requiring `unsafe` clauses within the function body. This is being fixed in the 2024 edition. Or now, with `#[warn
35.
▲
by
kam
2y ago
`parse` is actually an inherent method on `str` that always exists: https://doc.rust-lang.org/core/primitive.str.html#method.par... Its return type is generic, and here it's inferred from the left hand side. It&#x
36.
▲
by
kam
3y ago
It says it encrypts the SPI flash with a PIN provided over USB on every boot...but if you can trust the host to store/handle the PIN, why can't the host do the rest of the cryptography too?
37.
▲
by
kam
3y ago
FLIR Chameleon3 connected via USB to a Intel Atom Linux SBC running ffmpeg to encode the video. See EDLCAM in https://link.springer.com/article/10.1007/s11214-020-00765-9
38.
▲
by
kam
3y ago
This is literally the most prominent thing on the https://ipinfo.io home page.
39.
▲
by
kam
3y ago
And archivists. And people who prefer a different video player app or unsupported device.
40.
▲
by
kam
3y ago
They didn't take contributions under the MPL. They required their CLA too, giving them the rights to do this. Contributors should consider it as a red flag when a project isn't willing to accept inbound contributions under the sam
41.
▲
by
kam
3y ago
They stopped sounding the alarm because they largely won that battle: The previous electronic voting machines everyone objected to had no paper trail and there was no way to verify that they were trustworthy. Modern electronic voting system
42.
▲
by
kam
3y ago
A race condition is not the same as a data race, and nondeterminism is not the same as undefined behavior.
43.
▲
by
kam
3y ago
It's exploitable only by a SSH server that you connect to with agent forwarding enabled (i.e. one that you're already trusting with access to your SSH keys).
44.
▲
by
kam
4y ago
What's the software story for the VSPA DSP? Is that going to run user code, or a binary blob that does some filtering and sends I/Q samples to the iMX or USB3? NXP doesn't share many details on the LA9310. Could just be too e
45.
▲
by
kam
4y ago
What large bank is not lobbying against regulations?
46.
▲
by
kam
4y ago
> "Tags", "registries", "base images", "extraCommands"... no thanks All of which are optional. It's just doing the same thing as your tar commands.
47.
▲
by
kam
4y ago
Editions only guarantee that old code builds with new compilers, not vice versa. New features are added to all editions unless they require e.g. new keywords that are available only in new editions.
48.
▲
by
kam
4y ago
`std::thread::scope` takes a closure, and joins the threads after the call to the closure returns, rather than relying on `Drop`.
49.
▲
by
kam
4y ago
The Mars Helicopter Ingenuity actually has a 2014-era 2.2GHz ARM phone SoC, the Snapdragon 801 (same chip as the Galaxy S5 and OnePlus One) https://rotorcraft.arc.nasa.gov/Publications/files/Balaram_A...
50.
▲
by
kam
4y ago
Aurora Serverless v2 doesn't scale to zero, though. Minimum capacity costs $43/month.
51.
▲
by
kam
4y ago
Kobo eReaders come with support for syncing articles from Pocket out-of-the-box.
52.
▲
by
kam
4y ago
`pactl` is the command line version
53.
▲
by
kam
5y ago
It was fixed in 2018, but no release was made at the time https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aa...
54.
▲
by
kam
5y ago
WebAuthn deliberately doesn't give relying parties a way to tell if two registrations are from the same device.
55.
▲
by
kam
5y ago
> Does that mean that any Rust program compiled with any affected version of the standard library is affected? Most programs don't use `remove_dir_all`, and a smaller fraction of those use it on a directory that untrusted actors can
56.
▲
by
kam
5y ago
The sentence immediately after that is "And of course use your SQL engine’s parameterized query features so it properly escapes variables when building SQL"
57.
▲
by
kam
5y ago
They're calling the SQL query "output" (from the app to the DB server). The point is that the "bad characters" depend on the context, so it's the step where you combine trusted and untrusted data that you need
58.
▲
by
kam
5y ago
"Sending them bugfixes for free" is both a benefit and a burden to an open source project. It takes maintainer time and effort to review the fix, test, make releases, etc, and that's a thankless job. When a company pushes the
59.
▲
by
kam
5y ago
California Labor Code section 2870
60.
▲
by
kam
5y ago
Backblaze B2 has separate hard spending limits for storage, bandwidth, and requests, which is an elegant solution to the "but what happens to your data if you hit the limit?" objections you often see in these threads.
More ›