There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

xmunk ,

Oh, that’s an excellent way to start if you’re building a database in CSS.

Diplomjodler3 ,

What colour do you want your database to be?

Whelks_chance ,

In the shape of a kitten

odium ,

That’s fine as long as you don’t need it to be centered.

MajorHavoc ,

“And do people want fire that can be fitted nasally?”

ByteOnBikes ,

css-tricks.com/css-database-queries/

  1. Use a hand-modified-to-ESM version of SQL.js, which is SQLite in JavaScript.
  2. Get a database ready that SQL.js can query.
  3. Build a Houdini PaintWorklet that executes queries in JavaScript and paints the results back to the screen in that <canvas>-y way that PaintWorklets do.
  4. Pass the query you want to run into the worklet by way of a CSS custom property.
herrcaptain ,
  1. Go straight to jail.

Edit: No idea what’s up with the formatting. In my app this shows as step 5 but it seems to render as step 1. Is the Lemmy DB done in CSS?

OpenStars ,
@OpenStars@discuss.online avatar

For me it shows as step 5, in Firefox on Android using web browser interface. Also I can view your source which shows as simply “5. Go…”, so it is definitely your app.

herrcaptain ,

Weird! Thanks for letting me know. I guess that’s what I get for using an app (Sync) that the developer abandons for months at a time.

OpenStars ,
@OpenStars@discuss.online avatar

It’s not the best UI, but you can also view your comment from a standard web browser, just to see how it looks. The advantage to the web browser is that it is always by definition maximally up-to-date:-) - though its baseline functionality may still be lower than an app if the latter is done well.

morrowind ,
@morrowind@lemmy.ml avatar

Lemmy is fine, it depends on the markdown parser/renderer. Markdown allows you to use any numbers for numbered lists and the renderer is supposed to display them corrected.

As you can imagine that leaves a lot of ambiguity

bleistift2 ,

Now I want to know what the issue was.

And the “solution”.

BluesF ,

Ah, good ol’ TEXTJOIN. I’ve used excel to write M before when I couldn’t figure out a way to do something concisely but I also couldn’t be bothered to write it out by hand. In hindsight, I was a shit programmer, but I’m at least good enough now that I can see how shit I was then!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines