Hacker News new | ask | show | jobs
by mathnode 2877 days ago
I like it. But what really impresses me is how fast the whole site is, even with a captcha.
6 comments

I stopped playing google's stupid games. Unless I really must visit a site, the first sight of those retarded "discover all" things just makes me close the tab.
I feel like they've gotten worse recently. The past couple times I've done one, they just keep going and going. Today is the first day I've just said fuck it - I don't need to visit this website that badly.
Especially since they're getting free AI training from us.
Isn't that better than generating useless data?
Do you use Gmail or Google search?
I'm experiencing a Flash of unstyled content at every pageload.

I think this could be improved by moving the stylesheet up in the DOM (in the head, and not at the end of the body as it's the case now).

It's not that the CSS is linked at the end of the document but that the CSS is only loaded by Javascript after the document has finished loading.

That's ... unusual to say the least and if I'm honest, the wording "most stupid, brain dead thing I've seen in a long time" was the first thing that crossed my mind.

I can't remember what the logic for that was. I think I was messing around trying to see if I could appease google pagescore on such a tiny page, and eventually I just gave up and left as it was.
Oh, I see now where this is from: https://developers.google.com/speed/docs/insights/OptimizeCS...

That's quite an ugly optimization step. You left out the step where you inline the necessary CSS styles in the head that's why the unstyled page flashes up for a second. But as you use bootstrap, this might be a lot to inline and not worth the effort.

I'd say this is a case where you shouldn't care too much about a highscore :-)

Yeah, I tried inlining it, and it turned out it was going to be a massive amount of CSS :)

Maybe I'll just bite the bullet and do my own CSS.

Thanks. Actually, that's really down to html and nginx. One of the purposes of the site itself was to go back to basics and see whether it was practical to build a respectable looking site without the use of php and big complex templates. I'm glad it seems to have worked.
No adds, no tracking, minimal js and css.
But then again, bootstrap and jquery, which both feel kind of unnecessary today. Bit ironic, that things have gotten so bad on the web that we need to consider this as good.
But both of those, on page load, weight little and are, apparently, all that website needed, not something more Advanced.
It's probably unfair to single this site out, it loads rather fast. Though it requires too much useless js for my taste and little still means 63kb of external files that could probably be ~20kb in a custom stylesheet without loosing much if any functionality and looks.
There's a difference between what's your preference as a programmer and what someone else's is.

Framing it as an absolute where you shouldn't use two tools that make it easier to make a website is unnecessary and makes you look dogmatic rather than wise.

The author obviously had plenty of page weight to spare.

I'm not singling out this site, I am praising it, compared to much of the rest of the web.
Thanks. I toyed with the idea of putting in a custom CSS. As some have said, the site doesn't have big requirements.

BUT, I wanted to have a play with Bootstrap, which I hadn't used before and it was/is comforting to have the ability to expand the look to include other features if I need to :)

Well, it was designed to be executed using dice, pencil, and paper rather than a computer ...!

(IIRC the 1st edn AD&D DM's guide dates to roughly 1982. (Can't find my copy to verify: that's going from memory of when I got mine.))

I don't think parent means the algorithm execution. The whole site just felt very painless to use.
Thanks :)
Captcha doesn't even work. I clicked "Submit" without even touching the Captcha box and it just let me through haha.