HNHacker News
TopNewBestAskShowJobs

tomtomtom777

731 karma · joined November 19, 2014

submissionscomments
tomtomtom777··on Every V4 UUID
It helps, but only temporary. I wouldn't be surprised if all 6 digit PINs will be leaked within a few decades.
tomtomtom777··on Charset="WTF-8"
This assumes every resident is born and registered in said country which is a silly assumption. Surely, any service only catered only to "naturally born citizen" is discriminatory and illegal?
tomtomtom777··on Byoyomi Explained (1997)
Apart from the reasons you mentioned, the advantage of byo-yomi or Fisher time over the "add time after move 40" as often used in Chess, is that it doesn't create an artificial barrier.

What's so special about move 40? If you analyze chess games, you'll probably find that moves 40-45 are on average more accurate than moves 35-39 even it feels this number shouldn't be part of the game.

tomtomtom777··on New Mersenne Prime discovered (probably)
Isn't the fact that a certain number is a Mersenne prime interesting in itself? Surely it's a great addition to our knowledge of numbers?
tomtomtom777··on Bitcoin puzzle #66 was solved: 6.6 BTC (~$400k) withdrawn
A wallet address (where money is sent to) is the public key hashed. This money can than be spent with a transaction containing both the signature and the public key.

This is one of the reasons it is advised never to reuse an address. After using it once, your private key may still be private but your public key is exposed, reducing security.

tomtomtom777··on Insult Passphrase Generator
Nice except that it is an absolute no go to generate these on the server.

Why not port to JS and generate it on the client? Should be trivial.

Yould should not encourage people to trust you.

tomtomtom777··on 28-ton, 1.2-megawatt tidal kite is now exporting power to the grid
It is also a completely different scale. A 11M wind turbine has a 200m (!) rotor diameter. This thing is 12m.
tomtomtom777··on --libcurl
One could argue it's a half-baked quine.
tomtomtom777··on Metric Time
Exactly. The exact amount of sleep needed on average is almost certainly an irrational number. (Because almost every number is irrational)
tomtomtom777··on See this page fetch itself, byte by byte, over TLS
I don't think much is wasted on encryption. Most is wasted on backwards compatibility in the form of negotiating protocols, algorithm, extenstions, etc.

If there would forever be only one encryption algorithm in use we we wouldn't need most of the stuff.

tomtomtom777··on Shell admits 1.5C climate goal means immediate end to fossil fuel growth
Because methods to reduce our wasteful consumption, reliance on continuous growth and on the evidently harmful burning of fossil fuel aren't "hard sacrifices".

They are progress. Necessary progress.

tomtomtom777··on GPT4 simulating a FTP server at ftp.disney.com
It is only the unimaginative who ever invents. The true artist is known by the use he makes of what he annexes.

- Oscar Wilde

tomtomtom777··on Wavelength
> this means that when new members are invited to a group, the existing members can automatically re-encrypt and securely send the recent message history — which is important for threaded chat, so that conversations aren’t broken.

This may be important for "threaded chat" but it's also a privacy killer. Everything you write might than be read by someone who later joins and wasn't the intended audience.

tomtomtom777··on Gptcommit: Never write a commit message again (with the help of GPT-3)
For me the point of this demo is that even a good commit message is often redundant information.

As programmers we learn that adding a comment like:

   // The limit is 16
to

    const SOME_LIMIT = 16
is bad because is redundant information that serves no purpose to the reader and can easily misalign in the future.

So what's a good commit message for changing this limit? Ideally we want to describe why we've changed it but this information isn't always available so even when we're avoiding redundant comments we often use redundant commit messages like "increased SOME_LIMIT" to make browsing through history easier for others.

As we do not need to provide this information (it is already in the code), it seems like a reasonable idea for an AI to help us provide it.

tomtomtom777··on The topologist’s world map (2020)
It seems correct to me.

The map shows the country "United Kingdom of Great Britain and Northern Ireland" (UK) without separating its constituent countries. This is what most political world maps do.

Ireland does border by land to the UK, at the border of Northern Ireland. This is shown with the black line.

Also it borders to the UK and all of the world's ocean bordering countries which is shown through the surrounding blue.

tomtomtom777··on Show HN: uFuzzy.js – A tiny, efficient fuzzy search that doesn't suck
It is explained, but than why is it fuzzy? Isn't the fuzziness part exactly what's missing?
tomtomtom777··on Show HN: Get conversational practice in over 20 languages by talking to an AI
Such a tree mostly describes word similarity. But translating words is not what an AI (or more generally a computer) has problems with.

It's word ordering and idioms where AIs stand or fall. Things that show very little correlation in the evolution of language.

tomtomtom777··on Vim 9.0
Although I am currently tip-toeing on NeoVim, I still feel this is a horrible break-up.

Yes, Open Source simply allows you to branch whenever you're unhappy with the original but this comes at a cost for the community. The cost of having two diverging programs to deal with.

In this case, the motivation was simply insufficient. Some people wanted vimscript+lua instead of vimscript. They felt the code was too difficult. They wanted to develop on their own.

Not bad reasons in itself, but does it weigh against the tremendous cost for the community of the split? Isn't a split only justified in situation like OpenOffice/LibreOffice when there is no other choice? Couldn't they not convince Bram Moolenaar of proposed changes, and if not, doesn't this have a good reason.

I hate NeoVim for the reason they've split, even though I understand it might become even better than Vim in the long run. You need better reasons to fork and divide an ecosystem.

tomtomtom777··on DuckDuckGo Is Down
Same here. And when I got suspicious I stupidly searched for "is DuckDuckGo down".

No results.

tomtomtom777··on Things you don't need JavaScript for
So you would like a website to implement a checkbox to toggle dark mode, in case it doesn't implement dark mode correctly?

That doesn't make any sense.

tomtomtom777··on The harmful consequences of the robustness principle
It didn't survive because HTML5 came along with very well defined and strict parsing rules.

You don't need closing tags for a specification to be strict. As long as you define the parsing rules rigorously as HTML5 does, there is little benefit in XML compliance and there is in a well defined non-XML standard as it is mostly backwards compatible.

tomtomtom777··on The harmful consequences of the robustness principle
> That's... not an especially worthwhile goal for a competitor.

But it is. Because otherwise we're just embracing monopolies. We can't switch to X because it doesn't accept our input as well as the "main" implementation does.

You can only beat BIND, or Postfix or Excel if you at least understand what they understand.

tomtomtom777··on The harmful consequences of the robustness principle
The problem arises when other people try to implement a compatible tool. Sure your JSON rules might not be ambiguous, but they are not standard either so every competitor aiming for compatibility will have to adhere to these specific rules.

This means that they need to use samatman-JSON and cannot really on JSON libraries for parsing. Or worse, if these tools become popular, we will see "samatman-rules" flags arising in JSON parsing libraries thereby harming the simplicity that made JSON what it is to today.

I think that your example illustrates exactly what makes Postel's law harmful. If you accept JSON, stick to the rules.

tomtomtom777··on Loopless Code (2006)
True. It is possible though for a language to avoid these iteration constructs as if they are needless plumbing as well. Consider the elegant type system of the XQuery language:

In XQuery, the root type is a flattened sequence. Flattened means not just that [1, [2, 3]] is flattened to [1, 2, 3], but also the a single object 42 is equivalent to a sequence of one object [42].

This means that if I write:

  declare function local:prefixName($name)
  {
     fn:concat("prefix-", $name)
  }
I can invoke it with a single name or a sequence of names without any explicit iteration.

It has drawbacks but using XQuery certainly highlights how much code we normally waste dealing with "things" and "sequences of things" separately.

(Than again working with XQuery also highlights how much code one can waste dealing with XML namespaces :)

tomtomtom777··on Google's New AI Photo Upscaling Tech Is Jaw-Dropping
I disagree. If you need to know an estimate or guess of certain details that aren't visible in lo-res, this is very useful because the AI is likely much better at inferring these details than a human.

Sure, it is still a guess but a better one than humans can make.

tomtomtom777··on Reading Hayek in Holland
To sum up: The free market is only useful for things in where maximization is the optimum.
tomtomtom777··on Does Oil Come from Dinosaurs?
I think it's a bit odd to call this "net zero".

If there are more trees, there's more oxygen.

Sure, if a tree dies this is eventually reverted but it also makes room for a new tree (unless humanity claims the land).

tomtomtom777··on Show HN: Sunflower Editor – like adding console.log to every line of your code
That is not expected behavior. If you click a link and get a page, one expects back to return to the previous page.

A standard HTTP redirect does this right as well as location.replace()

The site incorrectly sets a new location by other means.

tomtomtom777··on Show HN: Sunflower Editor – like adding console.log to every line of your code
Nitpick: Please don't break the back button.
tomtomtom777··on Console Do Not Track – Proposal for a standard environment variable
It's a good idea but it seems to me the name will hurt adoption.

Phoning home with telemetry data does not by definition imply tracking.

Yet a project implementing DO_NOT_TRACK is essentially saying that without it, it is tracking users. This isn't particularly attractive for a project that already has some OPT_OUT_TELEMETRY option.

← PreviousPage 3 of 7Next →