Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bazoom42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
151.
▲
by
bazoom42
1y ago
> I wish all these tolerances wouldn't exist in HTML5 and browsers simply showed an error, instead of being lenient. Who would want to use a browser which would prevent many currently valid pages from being shown?
152.
▲
by
bazoom42
1y ago
At the time it was seen as revealing the particular field being prone to bullshit. But since then there have been other hoaxes and scandals in other fields, so it seem more like a general problem with peer-reviewed journals.
153.
▲
by
bazoom42
1y ago
The IE6 age was much worse. IE6 only worked on Windows so many sites did not work on Mac or Unix which was a big hiderence for the adoption of non-windows platforms. While Chrome is big, Safari still has significant market share today.
154.
▲
by
bazoom42
1y ago
Well I lived through it, and you are absolutely right. Netscape 4 was terrible. Internet Explorer was much better and more standards compliant in comparison. Netscape 4 was hated by web designers just like IE6 later came to be hated. The di
155.
▲
by
bazoom42
1y ago
As for your “rhetorical” question, you can find the answer in the HTML spec.
156.
▲
by
bazoom42
1y ago
According to wikipedia “There are many variants of the S-expression format, supporting a variety of different syntaxes for different datatypes.” Using parentheses instead of curly braces is fine by me, but it doesnt seem to solve the issue
157.
▲
by
bazoom42
1y ago
Sure, authoring tools should help authors avoid mistakes and produce valid content. But the browser is a tool for the consumer of content, and there is no benefit for the user if it fails to to render some existing pages. It is like Windows
158.
▲
by
bazoom42
1y ago
If you forget a closing quote on an attribute in html, all content until next quote is ignored and not rendered - even if it is the rest of the page. I dont think this is more helpful than an error message. It was just simpler to implement.
159.
▲
by
bazoom42
1y ago
> Would it kill people to have to close their tags properly? Probably not, but what would be the benefit of having more pages fail to render? If xhtml had been coupled with some cool features which only worked in xhtml mode, it might hav
160.
▲
by
bazoom42
1y ago
Not sure if you are joking, but regexes are deterministic.
161.
▲
by
bazoom42
1y ago
The first sentence is correct but the second is wrong. A regex can be used for breaking HTML into lexical tokens like start tags and end tags. Which is what the question asks about.
162.
▲
by
bazoom42
1y ago
It completely misses the point of the question though. The question is not asking about parsing in the sense of matching start tags with end tags, which is indeed not possible with a regex. The question is about lexing, for which regex is t
163.
▲
by
bazoom42
1y ago
The name is older than Danish as a distinct language. The suggested etymology is from Old Norse.
164.
▲
by
bazoom42
1y ago
It is not the wind, it is the sheep which eat the trees before the grow big. Trees grow in some gardens and parks, so it is possible.
165.
▲
by
bazoom42
1y ago
> one of the most cruel traditions Not as cruel as factory farming though. I find it weird how people obsess over grind when pigs are treated a lot worse at a hugely larger scale. Maybe the problem is it is out in the open?
166.
▲
by
bazoom42
1y ago
Sounds more like a problem with the manager than with the workflow per se?
167.
▲
by
bazoom42
1y ago
Spoler warning, but in the netflix show the kid is suspected of being a bullying victim but he turns out to be a bully. But interestingly the show hints at an online community believing him to be an innocent victim.
168.
▲
by
bazoom42
1y ago
How is IO a container type? What does it contain? Thinking of a monad as a container makes sense for some types like List and Maybe, but not all.
169.
▲
by
bazoom42
1y ago
I dispute that monads are used “all the time” in non-FP languages. Can you provide some examples?
170.
▲
by
bazoom42
1y ago
Haskell have some syntactic sugar which makes monads nice to use, which is why monads are popular in Haskell. Explaining monads in JavaScript or C# might show the mechanics but will not show why anyone would actually want to use them, since
171.
▲
by
bazoom42
1y ago
The association between IO and monads is just that Haskell uses a monad for IO as a clever hack to support IO in an otherwise pure and lazy language. But this is just one use of monads. Monads in themselves does not have anything in particu
172.
▲
by
bazoom42
1y ago
The issues with null-checks are easily avoided though: Just don’t declare values as nullable. C# grows because they add improvements but cannot remove older ways of doing things due to backwards compatibility. If you wan’t a language withou
173.
▲
by
bazoom42
1y ago
Presumably “enlightened” mens having the same opinions as you?
174.
▲
by
bazoom42
1y ago
> Tall buildings are banned in Denmark This of course not true.
175.
▲
by
bazoom42
1y ago
I’m not sure how many defend SQL syntax . It is a clunky syntax over a great concept, the relational model. But SQL often gets conflated with relational, hence the term NOSQL for non-relational databases.
176.
▲
by
bazoom42
1y ago
Sure, treating nested relations as “atoms” is supported naturally, but presumably you would want to query the content of these nested relations, which is where it gets complicated. The straighforward translation of a hierarchical database i
177.
▲
by
bazoom42
1y ago
> The relational model allows for any given value (field or cell value) to be itself a relation First normal form explicitly forbids nested relations though. Relational algebra does not support nested relations for this reason. But perha
178.
▲
by
bazoom42
1y ago
You probably shouldnt expect the regular news media to cover ongoing archeological research unless there is some sensational find (like a viking ship in Havana). But if you are interested in such research (and read Danish) I can recommend t
179.
▲
by
bazoom42
1y ago
Nullability on refererence types is boltet on in an ugly way in C#. Still a very valuable feature though.
180.
▲
by
bazoom42
1y ago
They didnt use “the concept of Jesus”. Jesus is just the name of one person who some believed was the messiah.
More ›