HNHacker News
TopNewBestAskShowJobs

Thiez

1,674 karma · joined May 4, 2016

submissionscomments
Thiez··on Microsoft bakes a VPN into Edge and turns it on
So you basically want gemini? https://en.m.wikipedia.org/wiki/Gemini_(protocol)
Thiez··on Microsoft bakes a VPN into Edge and turns it on
A shame that you would waste your money on a browser that nobody would use.
Thiez··on Our eyes can change colour throughout our lives
If they turn yellow that's a pretty good indicator that you have a problem. Other than that, probably not?
Thiez··on Super-Earths are ideal targets in the search for life
Sure, depending on how far you want to go into the future, eventually the sun will grow so bright that all our water will boil away... but barring a catastrophe that destroys (almost) all life (nearby supernova, collision with a large space rock, ...) I'm pretty sure that earth will remain more hospitable to human life for tens of thousands of years than any planet we will find.
Thiez··on Lockfree Algorithms (2010)
A "lock" in programming generally refers to a mutex, semaphore, or similar mechanism implemented mostly in software, e.g. see here https://en.wikipedia.org/wiki/Lock_(computer_science) . The distinction between such locks and atomic instructions is useful, since atomic instructions have various nice properties that locks (or "other locks", if you want to count atomic instructions as locks) do not, such as having no chance of deadlocks, guarantee of (eventual) progress, no chance of interruption, and no chance of blocking other threads forever when a thread executing an atomic instruction gets unlucky and is never scheduled again.

Naturally lockfree algorithms built with atomic instructions may not have (all) of these nice properties.

What better name would you suggest for lockfree algorithms?

Thiez··on Challenges for Rust
They have real numbers, and they did not share. Several questions about it were included in the annual survey of 2021, but they chose not to share these numbers with the community, claiming "an over-abundance of caution" as their reasons. One possible stated consequence for sharing these numbers was "some anti-lgbt group finds the data, decides the numbers are significant, and starts targeting local Rust meetups". Now that the article claims that the numbers are "even terrible compared to the tech industry", this hypothetical consequence seems rather silly.

See here for more information: https://old.reddit.com/r/rust/comments/vhvb4m/2021_annual_su...

Thiez··on When to use Bazel?
A shame, TS really is nicer when you get used to it.
Thiez··on Who cares about diversity?
> We know of the disgusting things white people have historically done

Really? Let the "race" that is without sin cast the first stone.

Thiez··on A personal list of Rust grievances
People often ask for "simplified x", but it's often not clear how they envision that. What would you remove from Rust to make it simpler?
Thiez··on A personal list of Rust grievances
Windows tends to have a case insensitive file system (although these days it's possible to deviate from this tradition). For files the case being important thing isn't really a thing there.
Thiez··on Citibank may lock bank accounts for 45 days if breach suspected
Perhaps the victims can't afford to sue.
Thiez··on The optimal amount of fraud is non-zero
You could argue that but as you expect your opponents would quickly paint you as being pro-X. Every decent person would prefer zero child abuse, but few people would support having mandatory police surveillance cameras installed in every room in their house, even if such a panopticon would be proven to reduce significantly child abuse. Us meatbags are irrational like that.
Thiez··on Ushering out strlcpy()
7, since keeping track of the length allows you to skip storing the trailing 0.
Thiez··on Why aren't there C conferences? (2018)
It seems that Wikipedia refers to them as "Strings as records"[1], which I suppose fits quite well. I suppose that C strings could be considered "the most" cache friendly since it has only 1 byte overhead instead of however many bytes would be required for the length (probably 4 or 8 bytes on most modern systems). That said, I would be extremely surprised for this difference of a few bytes per string to have a measurable performance improvement in anything but an unrealistic microbenchmark involving many tiny strings.

1: https://en.wikipedia.org/wiki/String_(computer_science)#Stri...

Thiez··on Why aren't there C conferences? (2018)
What makes you say that? Besides C strings (pointer to characters, null-terminated) we have Pascal strings (pointer to length, followed by the characters), and then there is the variant that I'm not sure what it's called, that consists of a pair of (pointer, length). The last variant is my favorite, an is much nicer to use: you can take substrings without making a copy, you never have to iterate a string to find out its length, and your strings can contain the NULL character (which happens to be a perfectly normal unicode character).
Thiez··on Removing HTTP/2 Server Push from Chrome
That issue is considered a feature by many. Don't send out broken web pages. If you don't build your pages using string concatenation you have already eliminated most problems (it's just like SQL, in that respect).

XML parsers are not that bad when you disable custom entities, which browsers could easily do.

Thiez··on Removing HTTP/2 Server Push from Chrome
> this seems similar to fetch removing support for reponse bodies for POST/PUT requests

Wait what? I have never heard of that, do you have a link where this removal is documented?

Thiez··on Ask HN: Has any Rust developer moved to embedded device programming?
Nice gatekeeping. Perhaps you could provide some concrete examples of how Rust is worse than C++ for embedded programming, when it comes to "understanding the hardware and leveraging its power through good architecture and smart thinking and understanding what the code you write will do"?

To me it is very strange that you would act as if Rust is some dumbed down toy language (not your literal words, but I conclude this from your MS frontpage example), while it is considered (not entirely deserved, in my opinion) difficult to learn with a very steep learning curve.

Personally I find programming in C quite annoying because of all the sharp edges (e.g. implicit integer promotion, the various types of UB) that you have to keep in mind. To me this distracts from thinking about good architecture, rather than promoting it.

Thiez··on As an artist I am concerned about AI image generation
Why would that be a problem? They can either pay an expert (if they want someone to assess the "quality", whatever that may be) or just be happy with their pretty picture.
Thiez··on As an artist I am concerned about AI image generation
Seems the account got suspended.
Thiez··on Ubisoft about to take away games you bought
The parts that screw you the most are the truth, naturally.
Thiez··on Microdosing with psilocybin mushrooms: a double-blind placebo-controlled study
Of course you could also just stop drinking after a few beers without taking additional drugs.
Thiez··on Shellfirm: Intercept risky patterns at the command line
By that reasoning all command line tools must be shell scripts.
Thiez··on Black Widow Pulsar Sets Mass Record
As far as I am aware there is no theoretical limit that they cannot surpass, but of course they are limited in practice by the available mass, and how fast they can consume that mass; a lot of mass ends up orbiting, instead of falling into the black hole. So black holes such as the one mentioned in the article are expected to be rare.
Thiez··on Reference count, don't garbage collect
One far-fetched yet simple example would be an observer/observable pair, where the observable mutates observed properties inside its finalizer. The observable will usually contain a reference to the observer, but not the other way round. So when the observable is dead but the observer (optionally) still alive, when the observables finalizer runs it will send a message to the observer.

When our observer is also dead (so the pair is out of scope) it will be a dead object receiving events.

Thiez··on I've started using Firefox and can never go back to Chrome
> Basically automatically clicks "essential cookies only" everywhere it can

But does it also object to 'legitimate' interests?

Thiez··on Whose breath are you breathing?
I remember a question that was similar in nature; suppose you (accidentally of course!) drop a full but opened bottle of vodka in the sea. That night there is a huge storm that mixes all the water in the oceans so that the vodka is distributed perfectly. How many alcohol molecules (from that original bottle, ignoring any existing alcohol, evaporation, and other chemical or biological processes that would interfere with the answer) are in a liter of seawater?

Sadly I do not recall the answer but it was way more than I expected. The Avogadro constant is a lot.

Thiez··on Your compliance obligations under the UK’s Online Safety Bill
How do you see this work in practice, and wouldn't it just lead to calculating the deltas between three evils, the third being abstention? How would this be better than getting rid of the first-past-the-post system?

We saw this is the Netherlands a while ago. There was a referendum about whether there should be closer relations between the Netherlands and Ukraine, and the options were "agree" and "disagree", but many people who were in favor of closer relations chose not to vote at all, hoping that the referendum would fail to hit the minimum turnout. So the minimum turnout was hit, and afterwards they were all whining about it, because they disagreed with the result, but had intentionally chosen not to vote.

Thiez··on Assassin’s Creed Liberation delisted, unplayable even to owners starting Sept 1
Fair enough. Can we meet in the middle and agree that this action, whatever the exact name, is of comparable moral badness as theft? :)
Thiez··on Assassin’s Creed Liberation delisted, unplayable even to owners starting Sept 1
So if it turns out that your car dealer can remotely disable your car and they announce that starting September 1st, you will no longer be able to start it. You would not consider that theft? In this scenario it would also be very difficult and/or illegal to circumvent the disable-mechanism.
← PreviousPage 12 of 29Next →