Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Arnavion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
511.
▲
by
Arnavion
3y ago
The fix would have nothing to do with caching the string length across multiple calls to sscanf. The fix would be to have sscanf not call strlen on the input string in the first place, and instead only process the input string up to the poi
512.
▲
by
Arnavion
3y ago
They were talking about Kerla but replied to the wrong comment.
513.
▲
by
Arnavion
3y ago
>First. That is wrong. Important features like cgroups, namespace and containers/Flatpak where novelly developed upon Linux. I get your overall point, but the first "process containers" code that later became cgroups was m
514.
▲
by
Arnavion
3y ago
You did, and it was already covered in https://news.ycombinator.com/item?id=38801686 so I'm not going to repeat it.
515.
▲
by
Arnavion
3y ago
>It absolutely was No, there is no such absolute requirement that "newly added" functions cannot be stabilized. Off the top of my head: https://github.com/rust-lang/rust/issues/111544 `OsStr::as_
516.
▲
by
Arnavion
3y ago
Right, it's nothing to do with it being "newly added". That issue had been filed by its OP as a feature request. It then got repurposed into a tracking issue for the feature, but it's not following the standard tracking
517.
▲
by
Arnavion
3y ago
"Beg", and "passive aggressive" from TFA, is an unnecessarily emotional interpretation of that sentence. It's perfectly neutral. When they imported `cargo-vendor` into cargo they removed a feature that was not trivi
518.
▲
by
Arnavion
3y ago
>It wasn’t seeing my file, despite it absolutely being part of the project. It even found the lib.rs in my crate but not this particular source file. I have no idea why, Because it's not in fact part of their project, despite their
519.
▲
by
Arnavion
3y ago
I guess you didn't realize it's a riff on an existing poem. https://www.poetryfoundation.org/poems/43171/a-visit-from-st...
520.
▲
by
Arnavion
3y ago
Recent Tom Scott video about them: https://www.youtube.com/watch?v=hNZy603as5w
521.
▲
by
Arnavion
3y ago
So two PSUs / power bricks? I'll just stick with non-12VO PSUs and boards as long as I can, and if enough people think like me then mobo manufacturers will continue stalling on 12VO.
522.
▲
by
Arnavion
3y ago
I'm not too worried about the complexity. What I *am* worried about is that your number of SATA power ports on your motherboard will become the limiting factor for how many SATA drives you can connect. The number of SATA *data* ports o
523.
▲
by
Arnavion
3y ago
>I'm not sure how either term is used in the case of multiplication (I grew up in India.) I imagine it was just "multiply 2 into 10" that got shortened into "2 into 10", and then "2 into 10" by itself b
524.
▲
by
Arnavion
3y ago
Minor point: `let padding = &mut bytes[..index]; padding[index]` is an out-of-bounds index and will panic even if the borrow checker accepted it. You probably wanted `let padding = &mut bytes[..=index];`
525.
▲
by
Arnavion
3y ago
Yes. Say the HttpService trait comes from some third-party library. I implement that trait on my server, and then I run my server on a single-threaded executor. (This is analogous to how Iterator is in libstd but I can implement it on my ow
526.
▲
by
Arnavion
3y ago
Yes, it used to be `--my-next-gpu-wont-be-nvidia`. Nowadays it's the much tamer `--unsupported-gpu`
527.
▲
by
Arnavion
3y ago
You can downvote wrong SO answers, and there is a way to sort that gives new votes more priority.
528.
▲
by
Arnavion
3y ago
>The speed of light is obviously the same either way It's not obvious that it is :) We don't have any way to prove that it is the same, because every experiment to measure the speed of light going from A to B requires some li
529.
▲
by
Arnavion
3y ago
>That wasn’t a security incident for OpnSense. It was a CVE for an optional package most users probably don’t have installed. First of all, the point is that the OS didn't release CVE fixes for the packages in its repositories even
530.
▲
by
Arnavion
3y ago
>I could say the exact same thing for your interpretation. Why not just say 1000 years ago the budget wasn't cut? It would have the same meaning. Because it would not have the same meaning. The point of the phrasing is that the time
531.
▲
by
Arnavion
3y ago
In your interpretation the number 8 has no significance in that sentence, since "In the last 1000 years" would have the same meaning.
532.
▲
by
Arnavion
3y ago
>The Seattle City Council has approved a 2022 budget that cuts police department spending from previous years [...] 2022 was not 8 years ago.
533.
▲
by
Arnavion
3y ago
Well, since we're talking about delays in security responses, OPNsense is in the same boat. https://news.ycombinator.com/item?id=34839161
534.
▲
by
Arnavion
3y ago
>If, for example, “shift” is held when it’s typing, letters will be capitalised This applies regardless of whether Shift was part of the hotkey or not. ie in your case where the hotkey is Ctrl-F8, if Shift is held down while you press Ct
535.
▲
by
Arnavion
3y ago
Even in the dns-01 case you only need the one _acme-challenge record to *get* the cert. You only need more records to be able to do something meaningful with your cert, eg A/AAAA records that point to your malicious server and serve th
536.
▲
by
Arnavion
3y ago
IIUC There are two vectors: 1. Logos in EFI binaries (OS, bootloader, shell, etc), not the UEFI firmware logo itself. For these, "bake it into the firmware" is not relevant because these are just files that anything, such as malwa
537.
▲
by
Arnavion
3y ago
EKS still supports 1.24+ as part of "standard support". Upstream only supports 1.26+ (upstream's policy is "latest 3 versions").
538.
▲
by
Arnavion
3y ago
/etc/env.d is a Gentoo-specific directory to define default env vars for user sessions. It's not a feature of clang to read that directory, so it's not correct to assume other distros would have it. It's just that G
539.
▲
by
Arnavion
3y ago
Yes, your bug is about the compiler emitting armv7 instructions despite being told to target armv6. Rachel fixed her problem by telling the compiler to target armv6. So I assume your bug is indeed already fixed and not related to Rachel
540.
▲
by
Arnavion
3y ago
Microsoft's compiler has that ability with SAL annotations. But yes a standard way to do it would be nice. https://learn.microsoft.com/en-us/cpp/code-quality/using-sal...
More ›