HNHacker News
TopNewBestAskShowJobs

wging

2,299 karma · joined February 15, 2011

submissionscomments
wging··on Making TRAMP go Brrrr
That's exactly the point of remote syncing: whatever changes to code you make locally are nearly instantly available on a remote machine, so you can compile and run your software on a production-like machine. By "supports all tools" I mean that you can run whatever you like on your source code locally, whether it runs through emacs or not, and the result is available remotely. And with bidirectional syncing the reverse is true too.
wging··on Making TRAMP go Brrrr
I did the same thing when I was building on remote machines frequently. Either an internal one-way syncing tool or Unison, but basically the same as what I think you're implying. (Watchexec to notice changes, and kick off your local rsync to the remote machine, right?)

TRAMP rarely seemed worth it to fiddle with, especially when such a workflow supports all tools, even those run in a CLI outside of emacs: run a formatter or other automation locally and have the changes propagate? git pull locally, ditto? why not?

wging··on Lossless video compression using Bloom filters
So it sounds like the use of rational Bloom filters here is just to get a better compression ratio, but the basic technique could be used with classic Bloom filters—is that right? Do you know how much you gain in space savings from using rational Bloom filters? It’s not obvious to me how much of a gain it would be.
wging··on Demoting i686-PC-windows-gnu to Tier 2
Does that end up meaning, in practice, that stable releases are never broken, but nightly might be, for a tier 2 target?
wging··on The Windows Subsystem for Linux is now open source
You can answer those questions for yourself, it's all in the repo.
wging··on The Windows Subsystem for Linux is now open source
MIT: https://github.com/microsoft/WSL/blob/master/LICENSE
wging··on “There are people who can see and others who cannot even look”
I love the 1896 "what the hell is that" double-takes, where they glance over and then approach the camera. Might've been these people's first experience with one.
wging··on Strings Just Got Faster
String compression was one. tl;dr: the JVM supports Unicode for strings, but uses 1-byte chars for strings where possible (previously it was UTF-16), even though it's not actually doing UTF-8.

Depending on what sort of document you're looking for, you might like either the JEP: https://openjdk.org/jeps/254

or Shipilev's slides (pdf warning): https://shipilev.net/talks/jfokus-Feb2016-lord-of-the-string...

Shipilev's website (https://shipilev.net/#lord-of-the-strings), and links from the JEP above to other JEPS, are both good places to find further reading.

(I think I saw a feature article about the implementation of the string compression feature, but I'm not sure who wrote it or where it was, or if I'm thinking about something else. Actually I think it might've been https://shipilev.net/blog/2015/black-magic-method-dispatch/, despite the title.)

wging··on ArkFlow: High-performance Rust stream processing engine
https://mcfunley.com/whom-the-gods-would-destroy-they-first-...
wging··on Stuffed-Na(a)N: stuff your NaNs
It's a joke project.
wging··on Pretty State Machine Patterns in Rust (2016)
I think I first learned of that term from this 2019 article: https://cliffle.com/blog/rust-typestate/ I can't be the only one...
wging··on The best programmers I know
I don't think your approach is bad, nor is it in conflict with the advice in the article, at least in spirit. You aren't (I think) describing a situation where your untested guesses end up in a released product, or in ill-founded advice to colleagues. (Both of those actually do happen.) Forming and testing hypotheses is valuable, building on unfounded assumptions is a very different thing.
wging··on The Future Is Niri
There's apparently a config setting to turn all animations off, though I haven't tried it myself.

The author linked their config file from the article, and it includes this:

    // Animation settings.
    animations {
        // Uncomment to turn off all animations.
        // off
I think it's boilerplate from the default config file, which would imply that the video they showed is not the 'animations off' version, if that's not already clear from the presence of animations.
wging··on Show HN: I created a language called AntiLang – breaking all the conventions
Ah, thanks!
wging··on 3,200% CPU Utilization
> still not catching errors when performing combinations of operations that need to be a single atomic transaction

This is so important. The idea that code is thread-safe just because it uses a thread-safe data structure, and its cousin "This is thread-safe, because I have made all these methods synchronized" are... not frequent, but I've seen them expressed more often than I'd like, which is zero times.

wging··on Show HN: I created a language called AntiLang – breaking all the conventions
Definitely not. (He may do that, I just hadn't ever heard of that book before today.) I think it was one of Isaacs, Herstein, or Artin, but I'm a bit too lazy to dig through my old books at the moment.
wging··on Show HN: I created a language called AntiLang – breaking all the conventions
Do you want to lie to your users, or do you just want to use unconventional operators? If the latter, you could consider using something like ruby's `unless`.

(the number of times I've noticed code that does `unless !some_condition`... which is of course just the same thing as `if some_condition`)

wging··on Show HN: I created a language called AntiLang – breaking all the conventions
You see it in some treatments of abstract algebra too. (Which are not unrelated to permutations in any case.) I think at least one book used in my undergrad used postfixes for function application, but I can't remember which.
wging··on Ugandan runner Jacob Kiplimo completes first ever sub-57 minute half marathon
You are doing nothing that requires the formula to be precise. A 10bpm standard error, meaning the max is very possibly 20bm off where you think it is, means that you can't reliably distinguish between efforts that someone doing serious training would want to be distinguished.
wging··on Ugandan runner Jacob Kiplimo completes first ever sub-57 minute half marathon
Those error bars are too wide for the formula to be useful for training based on heart rate percentages.
wging··on Ugandan runner Jacob Kiplimo completes first ever sub-57 minute half marathon
That reported 26:13 split is incorrect. It was actually 26:33, which is still crazy fast but more in line with the rest of the race.

> his 15km split was initially recorded as 39:47 before it was confirmed after the race as 40:07, improving his own world best.

(5km was 13:34)

https://worldathletics.org/competitions/world-athletics-labe...

wging··on The OBS Project is threatening Fedora Linux with legal action
https://www.jwz.org/blog/2011/11/watch-a-vc-use-my-name-to-s... doesn't mention HN directly, but will give you a sense of his POV (copy-and-paste the link or you'll get the behavior described up-thread)
wging··on I believe 6502 instruction set is a good first assembly language
That's incorrect though. It stands for 'set', as in 'instruction set' ("reduced instruction set computer").
wging··on Falsehoods programmers believe about null pointers
If you're actually paying a significant cost generating stack traces for NPEs, there's a JVM option to deal with that (-XX:-OmitStackTraceInFastThrow). It still generates a stack trace the first time; if you're able to go search for that first one it shouldn't be a problem for debugging.
wging··on New speculative attacks on Apple CPUs
That is a little different, though: those attributes are for if you're example.com linking to protonmail, the header is for if you're protonmail deciding on security policies for interactions with example.com.
wging··on New speculative attacks on Apple CPUs
So should Protonmail (and any other site with similarly sensitive data) be setting that header, then? It’s probably hard to change the default. I bet some use cases (SSO popups?) depend on it.
wging··on A very Chicago gamble
if anyone else was similarly confused: a 'Kansan' is someone from the US state of Kansas.
wging··on A very Chicago gamble
I think the idea is to take advantage of certain legal obligations that are triggered by ownership of any size.
wging··on Mastercard DNS error went unnoticed for years
I had almost the same experience. Getting 911 by accident was pretty scary at age 6 or so.
wging··on What Is TikTok Refugee?
> Social Topics

> Discussion boundaries and social issues

> Multiple Viewpoints

> RedNote requires following official stance; TikTok allows diverse viewpoints within platform rules

> Social Debates

> RedNote prohibits controversial topics; TikTok allows constructive debates within guidelines

"TikTok, but more evil and with greater Chinese influence" is not what I would have predict anyone to want from a clone

The above quote is particularly rich when paired with the following fluff, which appears further down the page:

> Authentic Expression

> Experience true freedom of expression

← PreviousPage 3 of 25Next →