Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
niconii
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
niconii
4y ago
> If hypothetically 10% of the population said A but you slice up B into specific enough buckets then A wins even if the overwhelming majority dislike A. Yes, if you're only allowed to vote for a single option. If you're allowe
2.
▲
by
niconii
4y ago
Okay, let's go over this then. First, let's talk about the basic case where there's no whitespace between the two paragraphs. <p>Paragraph 1</p><p>Paragraph 2</p> In this case, the f
3.
▲
by
niconii
4y ago
In this comment section? Are you talking about stuff like the example I used earlier? <p><div></div></p> Yes, obviously this is bad and nonsensical HTML. Under no circumstances does it make sense t
4.
▲
by
niconii
4y ago
I don't understand what you mean. Please elaborate. That quote says that </p> is not needed in many cases. When you say "none of those clauses apply to <p>", this is true, you can't omit <p>, only
5.
▲
by
niconii
4y ago
Although there are some other uses for <p>, it is perfectly valid to use <p> tags for textual paragraphs and that has been the main use for <p> for as long as HTML has existed. I'm not sure why you believe otherwise.
6.
▲
by
niconii
4y ago
What's not in the spec? Every example in the article is valid HTML, and the article itself, which is written in the same style, is valid as well: https://validator.w3.org/nu/?doc=https%3A%2F%2Flofi.limo%2Fb... >
7.
▲
by
niconii
4y ago
One interesting detail is that a lack of deep nesting was in fact a deliberate design goal for HTML originally, to make WYSIWYG editing more feasible. http://info.cern.ch/hypertext/WWW/MarkUp/HTMLConstraints.h
8.
▲
by
niconii
4y ago
Were the five unclosed runs before the five closed runs? I could see that making a difference vs. interleaving them, if the hardware needs to "warm up" first. For me, on Firefox on Linux (I know it's the one with the smallest
9.
▲
by
niconii
4y ago
I can't verify your numbers. As far as I can tell, loading a ~900,000 word document with no other differences than including or excluding </p> has about the same load time, though there's too much variance from load to
10.
▲
by
niconii
4y ago
https://html.spec.whatwg.org/multipage/syntax.html#optional-...
11.
▲
by
niconii
4y ago
You have to know about what breaks out of <p> tags regardless of whether or not you leave off the end tag, though. <p><div></div></p> is invalid HTML because <div> ends the paragraph, resultin
12.
▲
by
niconii
4y ago
Okay, I've gotten a bit carried away with HTML spec minutia elsewhere in these comments, mainly because this stuff really isn't common knowledge among web developers and it's hard to resist talking about it. However, I also w
13.
▲
by
niconii
4y ago
This is not quite right. The HTML spec specifies not only what browsers/user agents are allowed to do, but also what document authors are allowed to do. While the HTML parser does handle errors, to conform to the spec, document autho
14.
▲
by
niconii
4y ago
Just to add to this, HTML parsers will attempt to make sense of any random line noise you give it and turn it into a DOM. When I say something is "invalid" HTML, what I mean is that it's not allowed by the spec and will resul
15.
▲
by
niconii
4y ago
Oh, for sure, actually parsing HTML was awful before HTML5. The spec sometimes diverged from how browsers actually interpreted HTML, and error correction basically boiled down to browsers trying to reverse-engineer each other to figure ou
16.
▲
by
niconii
4y ago
I mentioned "block elements" in my other comment, but to be clear, CSS has no effect on how HTML is parsed, so the display property isn't relevant here. Furthermore, you need to know about this rule even if you do write `<
17.
▲
by
niconii
4y ago
Yes, that is a case where it's not legal to omit `</p>` if you don't want the image to be inside the paragraph. Take a look at the spec[1], which outlines exactly when it is valid to omit tags. The `p` element in partic
18.
▲
by
niconii
4y ago
Well, then they were wrong, because it's always been part of every HTML spec. Perhaps they were thinking of XHTML, which did require all tags because it was based on XML.
19.
▲
by
niconii
4y ago
Just to clarify, HTML5 didn't introduce this, it's been the case since at least 1993. https://www.w3.org/MarkUp/HTMLPlus/htmlplus_1.html
20.
▲
by
niconii
5y ago
I'm pretty sure they're talking about Japan, not the US.
21.
▲
by
niconii
5y ago
It's not one server, he's obtained control over the whole Freenode network.
22.
▲
by
niconii
5y ago
I think you misunderstood the comment you're replying to. They're saying Andrew Lee is the one crapping on the channel owners by hijacking their channels.
23.
▲
by
niconii
6y ago
https://sup4.smilebasic.com/en/doku.php?id=reference:top https://fuzearena.com/help
24.
▲
by
niconii
6y ago
Effectively, each server ticket increases your upload limit by 200 MB, permanently. I'd imagine things could add up with custom graphics and things like that, but I have no idea exactly how big the userbase is in Japan. It's defin
25.
▲
by
niconii
6y ago
No, but SmileBASIC itself supports a USB keyboard and mouse.
26.
▲
by
niconii
6y ago
Well, let me try explaining how it works, because they honestly do a pretty bad job of it. So SmileBASIC 4 itself costs 25 USD (40 AUD). A server ticket costs 5 USD (9 AUD). Despite the name, these tickets never expire or get used up. How t
27.
▲
by
niconii
6y ago
Previous versions of SmileBASIC also exist on the DSi (under the name "Petit Computer") and 3DS (simply called "SmileBASIC").
28.
▲
by
niconii
11y ago
I think you may have misread that RFC. With my emphasis: > Here is a list of limitations with the current bounds syntax that are overcome with the where syntax: The list is of the limitations of normal bounds, not the limitations of wh
29.
▲
by
niconii
12y ago
I think it's less about the implementations themselves, and more to show how little we need to worry about performance these days in comparison. Even our "slow" languages are tens of thousands times faster than anything used
30.
▲
by
niconii
12y ago
A bit reluctant to bring this up since strictly speaking it's not quite on-topic, but you don't have an email address or other method of contact listed, and it's something I don't really want to ignore. I don't want
More ›