Live data from Hacker News

CSS Minecraft

benjaminaster.com

111–120 of 154 posts

Re: CSS Minecraft

#111
post #67

Earlier quoted context omitted.

Can LLMs help?

Can they? I think it's weird that you ask a question (or, offer a possible solution in the shape of a question) without verifying your own assertion first. To answer your question, LLMs confirm you can't generate a random number in CSS.

alas, it seems that just shouting "AI" at problems is the latest trend in people who don't build software acting as though they know how building software works.

Re: CSS Minecraft

#114
post #27

Very impressive! As I've hit my mid-life slide and (regressed|progressed) back to my youth-self, I've found myself just writing a bunch of apps and sites in html and css and really enjoying it. One thing I still would like to see cracked is a random-like number in pure CSS. You can almost us there with some of the math functions and browser attributes, but I haven't found anything reliable.

Is this a thing? https://medium.com/hypersphere-codes/randomness-in-css-b55a0...

Unfortunately that solution does not work on Firefox or Safari.

Re: CSS Minecraft

#117
post #79

Earlier quoted context omitted.

It's sometimes done to make the same markup compatible with XHTML, without harming its interpretation in HTML.

You are either running XHTML or you are not. No need to carry any compatibility overhead. I doubt he is serving XHTML.

I personally prefer if only to stop other developers to not try doing content .

Re: CSS Minecraft

#118

Earlier quoted context omitted.

You are either running XHTML or you are not. No need to carry any compatibility overhead. I doubt he is serving XHTML.

I personally prefer if only to stop other developers to not try doing content .

There are other tags you can omit the closing tag but yet the opening tag shouldn’t be self-closed.

  
    one
    two
  
I think even the final closing ol can be omitted as there are rules to auto close elements when encountering tags that don’t make sense in context.

Re: CSS Minecraft

#120

Earlier quoted context omitted.

You are either running XHTML or you are not. No need to carry any compatibility overhead. I doubt he is serving XHTML.

I personally prefer if only to stop other developers to not try doing content .

The term for such "other developers" is "hobbyists".

There are other terms but I won't list them here.

Post reply on HN