News for hackers. Stuff that matters.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by mathnode on Tuesday August 07, 2018 @04:13AM (#17704661)
I like it. But what really impresses me is how fast the whole site is, even with a captcha.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by Semaphor on Tuesday August 07, 2018 @05:20AM (#17704942)
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.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by Simon_says on Tuesday August 07, 2018 @07:15AM (#17705437)
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.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by TheCraiggers on Tuesday August 07, 2018 @08:23AM (#17705812)
Especially since they're getting free AI training from us.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by drusepth on Tuesday August 07, 2018 @02:04PM (#17708969)
Isn't that better than generating useless data?
Re:Dungeons Tome – Tool for generating dungeons for RPGs by pavel_lishin on Tuesday August 07, 2018 @09:24AM (#17706315)
Do you use Gmail or Google search?
Re:Dungeons Tome – Tool for generating dungeons for RPGs by netgusto on Tuesday August 07, 2018 @05:17AM (#17704932)
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).

Re:Dungeons Tome – Tool for generating dungeons for RPGs by bhaak on Tuesday August 07, 2018 @05:43AM (#17705040)
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.

Re:Dungeons Tome – Tool for generating dungeons for RPGs by _Zoran_ on Tuesday August 07, 2018 @03:52PM (#17710028)
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.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by bhaak on Thursday August 09, 2018 @04:37AM (#17722535)
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 :-)

Re:Dungeons Tome – Tool for generating dungeons for RPGs by _Zoran_ on Thursday August 09, 2018 @09:46AM (#17724091)
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.

Re:Dungeons Tome – Tool for generating dungeons for RPGs by _Zoran_ on Tuesday August 07, 2018 @03:50PM (#17710003)
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.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by baud147258 on Tuesday August 07, 2018 @04:52AM (#17704837)
No adds, no tracking, minimal js and css.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by Grumbledour on Tuesday August 07, 2018 @05:31AM (#17704992)
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.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by baud147258 on Tuesday August 07, 2018 @05:53AM (#17705081)
But both of those, on page load, weight little and are, apparently, all that website needed, not something more Advanced.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by Grumbledour on Tuesday August 07, 2018 @07:25AM (#17705473)
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.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by mattmanser on Tuesday August 07, 2018 @08:23AM (#17705813)
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.

Re:Dungeons Tome – Tool for generating dungeons for RPGs by baud147258 on Tuesday August 07, 2018 @12:11PM (#17707896)
I'm not singling out this site, I am praising it, compared to much of the rest of the web.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by _Zoran_ on Tuesday August 07, 2018 @03:57PM (#17710082)
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 :)

Re:Dungeons Tome – Tool for generating dungeons for RPGs by cstross on Tuesday August 07, 2018 @04:52AM (#17704834)
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.))

Re:Dungeons Tome – Tool for generating dungeons for RPGs by sleepychu on Tuesday August 07, 2018 @04:59AM (#17704872)
I don't think parent means the algorithm execution. The whole site just felt very painless to use.
Re:Dungeons Tome – Tool for generating dungeons for RPGs by _Zoran_ on Tuesday August 07, 2018 @03:58PM (#17710090)
Thanks :)
Re:Dungeons Tome – Tool for generating dungeons for RPGs by justsomedude43 on Tuesday August 07, 2018 @08:45AM (#17705995)
Captcha doesn't even work. I clicked "Submit" without even touching the Captcha box and it just let me through haha.