Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Arnavion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
931.
▲
by
Arnavion
4y ago
If you want to go the newtype + Sum impl route, you don't have to make it `#[repr(transparent)]` or transmute the slice. You can just `impl Sum<FastFloat> for f32` and do `f.iter().copied().map(FastFloat).sum()` https:/
932.
▲
by
Arnavion
4y ago
Based on the "We can get faster still by trusting the compiler" part of the article, the author's using Rust. It doesn't have a global flag like `-funsafe-math-optimizations` or `-ffast-math` so the change would have to
933.
▲
by
Arnavion
4y ago
re: using `git commit --allow-empty` for initializing new repositories - I used to do that for the same reason (being able to rebase), but eventually I started checking in a LICENSE file and skeleton README.md file (name of project + LICENS
934.
▲
by
Arnavion
4y ago
Conversely, the deletion of branches is version-controlled in git, because when someone force-pushes or deletes a branch on the remote it can still be restored from anyone's clone :) I've seen this happen a few times with a dev ru
935.
▲
by
Arnavion
4y ago
>I think you have は and が backwards I do not.
936.
▲
by
Arnavion
4y ago
Yes, people will understand what you meant if you used wa.
937.
▲
by
Arnavion
4y ago
"The German language doesn't understand?" :) (wa should be ga. wa means German is the subject that is doing the not-understanding.)
938.
▲
by
Arnavion
4y ago
The NetworkManager WG integration re-resolves. systemd-networkd doesn't, though it has an open PR for it, though that PR has been stalled for a long time.
939.
▲
by
Arnavion
4y ago
>Excuse my snark, but not everyone has a static v6 IP. I don't. My ISP doesn't have it either. (They've been promising it for 2 years but keep delaying working on it.) I have an HE tunnel. Also you ignored the sentence aft
940.
▲
by
Arnavion
4y ago
It's phrased badly. I can see that it sounds like it's post-processing the new clone by running spellcheck on all the commits of the cloned branch, but it definitely doesn't do that. I checked the code just to be sure and the
941.
▲
by
Arnavion
4y ago
>I'm sitting here in shock wondering if you don't realize what you typed After you're done being shocked, maybe you should read my comment more carefully. I didn't say "Tailscale shouldn't have logging"
942.
▲
by
Arnavion
4y ago
>How do you connect back to your home from the outside? >- your ISP IP change all the time I have a static v6 IP on the WG server (home router, running OPNsense). Even if I did have a changing IP, I have a programmable DNS server that
943.
▲
by
Arnavion
4y ago
This one involves a Tailscale-run coordination server. The one I linked involves their clients uploading logs to home.
944.
▲
by
Arnavion
4y ago
Every time it gets mentioned here I wonder the same thing. Eg in the discussion of their last vulnerability they said they knew the vulnerability had not been exploited maliciously because they did not detect it on their end when their soft
945.
▲
by
Arnavion
4y ago
remirk's link is missing the git-gui CVE so it's not a direct replacement.
946.
▲
by
Arnavion
4y ago
Don't understand what you mean by "incoming commits". git-gui shows you a textbox for the commit message, and error squiggles for misspelled words (presumably; I CBA to install a spell checker). The bug is that it spawns the
947.
▲
by
Arnavion
4y ago
>This is currently impossible on Firefox as they forget extension loaded from local files to be removed after. The force everyone who wants to run their own code on their own machine persistently to file for a developer code signing cert
948.
▲
by
Arnavion
4y ago
The payout will be in the April paycheck, but hopefully the layoffs will get it at layoff time.
949.
▲
by
Arnavion
4y ago
As the article states, it's a feature of git-gui, not the git CLI. The vulnerability is Windows-only, so maybe whatever Windows users do to install git always gives them git-gui. But at least for Linux, the distro might package it sepa
950.
▲
by
Arnavion
4y ago
For systemd distros, you might already have systemd-binfmt.service in the systemd package, which when started will automatically register all architectures specified in config files under /usr/lib/binfmt.d with the kernel. Th
951.
▲
by
Arnavion
4y ago
Your playground is what the article author did, except they used `itertools::Itertools::format` so that the entire collection or formatted string doesn't need to be built up-front but can instead be fed to the `std::fmt::Formatter` e
952.
▲
by
Arnavion
4y ago
Hence the second paragraph.
953.
▲
by
Arnavion
4y ago
You can't preview an arbitrary Iterator anyway because iterating is destructive. The elements you iterated will be gone forever. Besides, the typesystem won't let you do it anyway, since collect() requires either `Self` or `&m
954.
▲
by
Arnavion
4y ago
>Mixing compilers is not a problem because they use the same standard ABI. So first, you said: >>What libraries on Linux don't use the SystemV C ABI on x86? ... even though the conversation was about ARM. Second, you seem to a
955.
▲
by
Arnavion
4y ago
What does your question have to do with this conversation?
956.
▲
by
Arnavion
4y ago
>On the off chance that you're using secureboot without TPM + FDE, you'd be screwed anyways, because a bad guy could easily disable secureboot inside bios settings, or use shim loader to bypass it. You can defend against the ba
957.
▲
by
Arnavion
4y ago
You can build other-arch images with regular `build`. You'll of course need QEMU hooked up through binfmt to be able to execute `RUN` steps while building the image, but you can do that yourself without involving `buildx`.
958.
▲
by
Arnavion
4y ago
>it is like "if there is one thing you as a developer control it is the compiler". >I understood this: that's what you put in your sysroot You're advocating mixing compilers and libraries that are not from the same
959.
▲
by
Arnavion
4y ago
>You just need a sysroot for that distribution... you actually don't want to compile ON that distribution We compile in a Docker container of the distro. It's the same concept as having a sysroot. >as it makes having a consi
960.
▲
by
Arnavion
4y ago
At $dayjob we build packages of our software for a bunch of Linux distros, which means the software has to be compiled individually for each distro to get external dependencies right. Some of those distros like the RHEL 7 family don't
More ›