HNHacker News
TopNewBestAskShowJobs

bazoom42

1,834 karma · joined February 5, 2022

submissionscomments
bazoom42··on What Gödel Discovered (2020)
So would it be just as correct to use an electrical circuit as example, i.e. before Principia it was not believed possible to model an electrical circuit in a formal language?
bazoom42··on What Gödel Discovered (2020)
The article use “describing the behavior of a dog” as something people began to think was possible because of Principia. This is what I don’t get. Was this thought impossible before Principia? On what grounds?

What about describing an electrical circuit formally? Surely this was thought possible before Principia was published.

bazoom42··on What Gödel Discovered (2020)
I’m confused by this jump to the natural world:

> could you encode in pure logic how a dog behaves

Assuming we knew enough about how a dog behaves (or less ambitiously, a more primitive organism) I would assume this could be described in a formal language. But why would Principia be needed for this? Math have been used to model natural phenomena a long time before Principia.

bazoom42··on Rob Pike's 5 Rules of Programming
Definitely not obvious to everybody.
bazoom42··on A new Bigfoot documentary helps explain our conspiracy-minded era
> Except the proportion of paedophile priests is about the same as the proportion of paedophiles in the general population.

I doubt you have any reliable statistics about this, given how many victims keep silent out of fear.

But in any case, the moral failure of the church was not the existence of individual abusers (which indeed can exist anywhere in society), but how on an institutional level known abusers were protected by the curch. Everyone who was part of the cover-up (which went all the way to the top) is complicit.

bazoom42··on Lego's 0.002mm specification and its implications for manufacturing (2025)
You can still buy “generic” lego sets if you want. Look for “Lego Classic” sets.
bazoom42··on Tony Hoare has died
You can certainly set unsafe null dereferencs to be a compiler error in C#. It is just not the default for reasons of backwards compatibility.
bazoom42··on Tony Hoare has died
> I don't trust humans in doing the right thing and being judicious with this.

Language-level safety only protect against trivial mistakes like dereferencing a null-pointer. No language can protect against logical errors. If you have untrusted people comitting unvetted code, you will have much worse problems.

bazoom42··on Tony Hoare has died
TypeScript actually supports nulls through type unions, exactly as Hoare suggests. It will not let you derefence a possibly-null value without a check.

C# also supports null-safety, although less elegantly and as opt-in. If enabled, it won’t let you deference a possibly-null reference.

bazoom42··on Tony Hoare has died
You misunderstand the “billion dollar mistake”. The mistake is not the use of nulls per se, the mistake is type-systems which does not make them explicit.
bazoom42··on Tony Hoare has died
The mistake was not null references per se. The mistake was having all references be implicitly nullable.

He states around minute 25 the solution to the problem is to explicitly represent null in the type system, so nullable pointers are explicitly declared as such. But it can be complex to ensure that non-nullable references are always initialized to a non-null value, which is why he chose the easy solution to just let every reference be nullable.

bazoom42··on ‘Viking’ was a job, not a matter of heredity: ancient DNA study (2020)
Sounds rather far-fetched. “Viking” only started getting used as an ethonym in the 19th century. In the sagas it it only used in the meaning of raider, pirate or outlaw. The etymology of “vik” (bay) is much more plausible.
bazoom42··on ‘Viking’ was a job, not a matter of heredity: ancient DNA study (2020)
No, vikingr is an old norse word meaning pirate, raider, or outlaw. Not everyone in the Nordics were vikings, just like not ever American were a cowboy.
bazoom42··on ‘Viking’ was a job, not a matter of heredity: ancient DNA study (2020)
Do we have any historical source of people referring to themselves as vikings?
bazoom42··on ‘Viking’ was a job, not a matter of heredity: ancient DNA study (2020)
If you are referring to the “Vikings”-show, you should be aware it is fiction and the roles sadly are played by professional actors, not genuine vikings.
bazoom42··on ‘Viking’ was a job, not a matter of heredity: ancient DNA study (2020)
The article is just really confused in its terminology. But historically, vikingr meant raider or pirate. It was only hereditary in the sense it might be a family tradition to go viking. But if you dont go raiding you are not a vikingr whatever your ancestry.
bazoom42··on ‘Viking’ was a job, not a matter of heredity: ancient DNA study (2020)
Don’t take “job” literally. It wasn’t centralized in any way. It just meant if you had the resources you could build a ship, hire some henchmen, and go raiding. It is not surprising Swedes went East, Nowegians Northwest etc - just look at a map.
bazoom42··on ‘Viking’ was a job, not a matter of heredity: ancient DNA study (2020)
The title is rather confused, because DNA cannot show how people understood a certain word. Historical sources like the sagas show how the word was understood.
bazoom42··on A Visual Source for Shakespeare's 'Tempest'
He didn’t just copy the stories. He retold them with his own language and poetry and characterization, which is what he is celebrated for. Often his changes completely reframes the original story - but the basic storyline and the names of the characters remain the same.
bazoom42··on A Visual Source for Shakespeare's 'Tempest'
Shakespeare tended to re-use existing stories or plays. As the article mentions, there are only two of his plays (out of almost 40) where we don’t know of a pre-existing source. Of course it is possible he made the story up himself after getting inspired by a drawing, buy I find it a lot more plausible he based it on another story or play which just happens to be lost (which is the case for many plays of the age).
bazoom42··on There's only one Woz, but we can all learn from him
Maybe best, but suerly not most influential.
bazoom42··on The lost art of XML
The fundamental problem is XML was designed for textual markup formats but ended up getting used mostly for structured data. Many of the features like element/attribute distinction and mixed content is necessary for markup but unnecessary complexity for structured data.

JSON is perhaps an accident of history rather than deliberately designed, but for structured data interchange it is better because it is simpler.

Just like XML, JSON os getting used outside of its area. Using JSON for configuration files is absurd, since it doesn’t allow comments.

bazoom42··on Greenland Crisis
No, Denmark cannot do that. Denmark does not own Greenland.

Greenland has a parliament and manages its own domestic affairs. Denmark manages some domains like foreign and defense policy, but Greenland governs its own territory.

bazoom42··on Date is out, Temporal is in
It would also force browsers to implement multiple slightly different engine modes, vastly complicating the browser code.

There are already a few cases, eg quirks mode vs standards mode and “use strict” mode, which was considered necessary for moving forward, but clearly it also complicates things for browsers. We dont want more modes than what is necessary.

bazoom42··on Erich von Däniken has died
The monty hall problem is often stated in such a way multiple interpretations are possible. I don’t know how exactly you state the problem, but have you considered you might have stated it wrongly or ambiguously?
bazoom42··on You are not required to close your <p>, <li>, <img>, or <br> tags in HTML
Syntax errors are not fatal in CSS. CSS has detailed rules for how to handle and recover from syntax errors, usually by skipping the invalid token. This is what allows introducing new syntax in a backwards-compatible manner.
bazoom42··on You are not required to close your <p>, <li>, <img>, or <br> tags in HTML
Why did markdown become popular when we already have html? Because markdown is much easier to write by hand in a simple text editor.

Original SGML was actually closer to markdown. It had various options to shorten and simplify the syntax, making it easy to write and edit by hand, while still having an unambiguous structure.

The verbose and explicit structure of xhtml makes it easier to process by tools, but more tedious for humans.

bazoom42··on You are not required to close your <p>, <li>, <img>, or <br> tags in HTML
No. P elements does not nest, so this is parsed as: <p></p><p></p>
bazoom42··on You are not required to close your <p>, <li>, <img>, or <br> tags in HTML
But not closing <p> etc has always been valid HTML. Back from SGML it was possible for closing tags to be optional (depending on the DTD), and Netscape supported this from the beginning.

Leaving out closing tags is possible when the parsing is unambigous. E.g <p>foo<p>bar is unambiguous becuse p elements does not nest, so they close automatically by the next p.

The question about invalid HTML is a sepearate issue. E.g you can’t nest a p inside an i according to the spec, so how does a browser render that? Or lexical error like illegal characters in a non-quoted attribute value.

This is where it gets tricky. Render anyway, skip the invalid html, or stop rendering with an error message? HTML did not specify what to do with invalid input, so either is legal. Browsers choose to go with the “render anyway” approach, but this lead to different outputs in different browsers, since it wasn’t agreed upon how to render invald html.

The difference between Netscape and IE was that Netscape in more cases would skip rendering invalid HTML, where IE would always render the content.

bazoom42··on You can make up HTML tags
> but I'm afraid we got html5 and just stopped there.

They dropped numbered versions. Now it is just HTML which is continuously evolved in a backwards-compatible manner.

> And if there will be an html6 why can't we just state "use version 5 in this document"

Because browser vendors are opposed to explicit versioning, since it introduces multiple rendering modes.

← PreviousPage 4 of 32Next →