HNHacker News
TopNewBestAskShowJobs

tomtomtom777

737 karma · joined November 19, 2014

submissionscomments
tomtomtom777··on U.S. Exits Paris Climate Accord
> Pretty sure. Nature, being unconcerned with fairness, has little regard for per capita statistics.

But nature also has little regard for per country statistics. Splitting China into two countries, isn't going to lower their polution.

Using per capita statistics at least allows us to focus on those that are emitting excessively more than others.

tomtomtom777··on South Park creators have new political satire series with AI-generated deepfakes
Maybe if we start the habit of signing one's own appearances, this at some day will make unsigned video considered unreliable.

But I guess this is wishful thinking given that we don't even generally sign written comments yet.

tomtomtom777··on Durability: Linux File APIs
> All the data may be on the disk, but (last I checked) POSIX didn't require that filesystems not get completely corrupted in the event of a system crash.

It does. It specifies how the filesystem should behave in a particular (non corrupted) way. There is no exception that this requirement is somehow voided if the system wasn't cleanly shutdown.

tomtomtom777··on What you could steal from the Kakoune code editor, and get away with
Interesting. It's not the first time I hear about problems with Public Domain, but I wonder what this means in practice.

Are there any issues in Germany with professional usage of common Public Domain software like Sqlite?

tomtomtom777··on Non-Posix File Systems
Sure, you are still dependent on constraints to durability and atomicity of the filesystem write of the new data. But this is handled properly in most modern filesystems (ext3,ext4,zfs) by default (as data=ordered ensures data writes precede metadata writes).

The point of rename() is to prevent a version to ever exist that mixes the old and the new version, which it always does, regardless of the filesystem.

tomtomtom777··on Non-Posix File Systems
How can a rename not be atomic over a crash? What does a partially renamed state even mean?

Surely, if I do "write foo~", "rename foo~ foo", regardless of any crash, foo is either pointing to the old data or the new data. There simply isn't any inode with any "partially renamed state" mixing the two.

tomtomtom777··on Non-Posix File Systems
This doesn't work because the link() syscall fails if the target exists.

You use a hardlink only for atomic creation of the initial data:

    write 'foo~'
    hardlink 'foo~' onto 'foo'
To atomically update you simply use rename:

    read 'foo'
    write 'foo~'
    rename 'foo~' into 'foo'
I don't know what dan-robertson's claim is based on, but this surely is atomic even on a crash, as the filesystem will never be in a state where 'foo' contains only partially updated data. That would require some severe fs corruption.
tomtomtom777··on C++20 has been approved
The set of features a language provides is part of an unwritten contract:

We write our code such that it minimizes the amount of effort to read it, under the assumption the reader knows the language.

This way, it makes sense not to use a library for something that can already be cleanly expressed by the language because this introduces additional mental overhead for the reader.

Yet is doesn't make sense to avoid modern, simplifying language constructions, as we can assume these are known by the reader.

This unwritten contract is jeopardized by an overload of language features, as suddenly we may want to avoid certain features considered complicated. Hence, the notion of optimal code becomes more subjective.

tomtomtom777··on SpaceX Starlink average speedtest is 42.3Mbps down / 9.7 Mbps up
I don't think it is possible or planned to use StarLink directly from a mobile phone.

You will need a ground station to communicate that isn't going to fit in a pocket.

tomtomtom777··on How real are real numbers? (2004)
> in general even in principle mathematicians can only deal with a countable subset of the reals. So (metamathematically) if almost every single real can't actually be used in mathematics, it's hard to say the concept has much mathematical validity.

Let me give it try:

> let R be the set of real numbers. Let x be an element of R.

There it is, I've dealt with and used every single real number.

The notion that reals are only real when they are individually described (Borel's credo in the article) is an odd one. Sure, almost every real number is a "Mathematical fantasy" as the author calls it, but that doesn't mean Mathematicians can't use them or deal with them.

Mathematics excels in dealing with imaginary things. To extent Borel's credo to question the Mathematical validity of these Mathematical fantasies seems to defy the entire idea of Mathematics.

tomtomtom777··on ITER: World's largest nuclear fusion project begins assembly
This is an odd jump you are making. Most energy isn't used just for food, shelter and some transportation, and certainly not for "bitcoin and simulations".

By far most energy is used to produce things (including the transportation requirements to do so). And as it turns out, the hunger for producing and buying new things is very hard to temper. This hunger is evident from the fact that the ways we are measuring "economic success" strongly correlates with the amount of things we produce, or even with the speed at which we are increasing the amount of things we produce.

tomtomtom777··on The event that eventually led to Newton writing and publishing the Principia
Very interesting. Wouldn't such reasoning serve as evidence for the heliocentric model, which I thought was known as a theory but not generally accepted at the time of Pythagoras?
tomtomtom777··on DuckDuckGo browser seemingly sends domains a user visits to DDG servers
I have a hard time understanding the problem.

The favicon is acquired from DDG servers for the result you've just retrieved from DDG servers.

How is this leaking anything? What additional privacy would you gain from getting the favicons from the domains directly of search results delivered by DDG?

tomtomtom777··on Sortition
The most powerful in-between solution is to randomly select a ballot per electoral district instead of a constituent.

This gives the best of both worlds of electoral districts and popular voting: Everyone is locally represented but the national representation is neatly distributed over ideologies instead of having just two parties.

As the most import benefit, it completely removes the incentive for strategic voting.

tomtomtom777··on Christo has died
Yes and no.

Art isn't useless, and usefulness is highly subjective. No matter how sustainable we attempt to behave we cannot distinguish pleasures from necessities in a meaningful way.

Then again, even if the footprint of art in its entirety is rather small, this doesn't absolve artists from the same responsibility we all share. A responsibility you rightfully point out, not apparent in Christo's art.

Then again, most of his work is from decades ago when the urgency of sustainability wasn't as obvious as it is now.

I don't think he deserves being remembered for wastefulness.

tomtomtom777··on Tell HN: Zoom truncates passwords to 32 chars
Isn't this mitigated by hashing the password on the client (in addition to hashing it on the server).
tomtomtom777··on Who Writes Wikipedia? (2006)
You may be correct but your proof suffers from the the fallacy of the middle ground.

Unbiased reality by no means implies that the number of scandals, controversial quotes, achievements or even the relevance of the party slogan must be similar for both sides.

tomtomtom777··on Rust Ownership Rules
Well said.

Rust's terminology is kind of reversed: It is stated that a mutable reference cannot be shared, while in fact a reference is called "mutable" when it cannot be shared.

The terminology is understandable and great to get started, but once you dive in deeper into atomics and internal mutability, it's rather crucial to understand this reversal.

tomtomtom777··on Unofficial Winamp Web Site
Early Winamp was truly revolutionary in terms of UX and quality.

Highly intuitive, beautiful and always "just working", with an elegant plugin system.

It is no coincidence that the authors went on to create Gnutella, which could be considered the starting point of decentralized networking.

tomtomtom777··on This Page is Designed to Last
The problem is clear but the solutions presented don't seem to help all that much.

This is why I hope for a future with content-based addressing, as used in bittorrent and IPFS.

Bittorrent has its focus set on files, and IPFS is becoming a bit convoluted but the core idea is very powerful.

Immutable content persists by "pinning". And even if the author no longer wants to maintain the resource, there are likely some "users" that will (eg. linked pages). And even if there is little interest from users there are still archiving services that might want to keep it. Persistent unless it's so vile or irrelevant that even archiving services ditch it.

All addressable by the same content hash.

tomtomtom777··on Google claims copyright on employee side projects
That or is not really a XOR becomes clear when you negate it. I don't want subs or pizza. I am not going to vote for A or B.

I would say OR is the natural use, and exclusion is implied by the context in these examples.

tomtomtom777··on Google is not a search engine, but an ad engine
Maybe forcefully breaking them up is to much, but let's not pretend that breaking them up is acting against free market principles.

Oligopolies like this exist because there is no free market. Government laws on things like intellectual property, profit taxes and most importantly, the limited liability of corporations are the necessary breading ground for organization into giants.

In a pre-corporate "Adam Smith" style free market Google could not exist. In a sense, these giants are the opposite of a free market as every movement of value within large corporations is governed by hierarchical decision making with an almost military scheme.

From this perspective, it isn't all that strange for governments to look into rules and regulations that can tame the beasts that they have created with their rules and regulations.

tomtomtom777··on The sad state of sysadmin in the age of containers (2015)
The article focuses on Hadoop, but the generalization to containers is spot on.

Containers have become the first stop method to hide overly complicated build processes. When you've noticed your wiring has become a complete mess of knots, just put it in a box so no one will trip.

It seems to me that containers are useful for deploying final setups, but should be a no go for packaging tools.

tomtomtom777··on The Floating-Point Guide (2010)
> No, they are folding both constant expressions exactly and actual floating point operations, going by assembly output.

Yes. The behaviour is quite odd and unexpected. It seems they have different rules for when to apply the constant version of floating math than what constitutes actual compile time evaluation.

  const a float64 = 0.1;
  const b float64 = 0.2;
  const x float64 = 0.1 + 0.2; // Const evaluation, "rational" math
  const y float64 = a + b;     // Const evaluation, IEEE-754 math
  
  fmt.Println(x == y)          // false ??!?
This seems quite a horrible approach.

EDIT: Or how about this one:

  const x float64 = 0;
  fmt.Println(x + 0.1 + 0.2 == 0.1 + 0.2 + x );    // false!
  fmt.Println(x + 0.1 + 0.2 == x + (0.1 +  0.2) ); // false!
tomtomtom777··on The Floating-Point Guide (2010)
Go uses IEEE-754. The behaviour of these may be odd for those new to the quirks of the float, but I thought the behaviour is nowadays standardized and reproducable across platforms.
tomtomtom777··on The Floating-Point Guide (2010)
Interesting. I thought Go used standard IEEE-754 floats.

Why does it have this result?

tomtomtom777··on Ask HN: Do you write tests before the implementation?
> Committing the red test and the fix to the test in two commits makes the bug and its fix easy to review.

I don't think this is compelling argument. Normally the test and the fix are looked at together and are already sufficiently separated in the code.

It makes more sense to me to use a single commit so the fix can be described in a single commit message, keeping the history clean.

tomtomtom777··on How we built Uber Engineering's highest query-per-second service using Go (2016)
> They delivered value to the business. That's the only thing that matters.

Although hardware is relatively cheap, 170 QPS on 40 servers for this type of query is astonishingly horrible even from a Business/Product Engineering standpoint.

Boasting this as "highest QPS* engineering achievement is just awkward. It may be better suited for an article on how throwing hardware at problems is cheaper than hiring engineers.

tomtomtom777··on AMD unveils world's most powerful desktop CPUs
Please promote the guy who came up with the name "threadripper".
tomtomtom777··on Designing the Facebook Company Brand
Why does following this link delete my history ?!?

After all modern ads and cookies on every site, they just keep finding new ways to make my browser experience even bore abhorrent.

← PreviousPage 5 of 7Next →