@zack@toot.cafe
@zack@toot.cafe avatar

zack

@zack@toot.cafe

Developer in Greenville, South Carolina. I'm into video games, comics, and board games.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Edent, (edited ) to webdev
@Edent@mastodon.social avatar

A #SemanticWeb poll for all my
#HTML friends!

Suppose you have comments on your website. They all have a valid <time> element in them.

Comments are displayed in a nested list, with the oldest first.

Should you use:

zack,
@zack@toot.cafe avatar

@Edent Per MDN:

> To determine which list to use, try changing the order of the list items; if the meaning changes, use the &lt;ol&gt; element — otherwise you can use &lt;ul&gt;

So I'd go with &lt;ol&gt;

rysiek, (edited ) to DuckDuckGo
@rysiek@mstdn.social avatar

FuckFuckNo. 🤦‍♀️

I just want a search engine that works. I have zero need for a godawful "AI" hallucinating mansplainer in my results. Just… no.

Time to move off of DDG. What else is out there?

Edit: yes, it seems to be for real:
https://www.reddit.com/r/duckduckgo/comments/1adxgy4/give_duckduckgo_ai_chat_a_spin/

zack,
@zack@toot.cafe avatar

@matt @katzenberger @rysiek @MarkAssPandi

I don't expect them to be ad-free, I expect them to not use a shitty ad broker that tries to track everything I do. Ads can go directly in the HTML. Demographic ads like this are generally more relevant (despite the bullshit about all the tracking being for better targeting), don't require privacy invasions, aren't readily blockable, and the site can screen overly flashy ads. We don't have to put up with their shitty business practices.

baldur, to random
@baldur@toot.cafe avatar

I can’t find any mention in the JSR docs on using packages from the registry in the browser using “http” imports.

https://jsr.io/docs/using-packages

Kinda getting the feeling that with JSR Deno is both heading into the swamp that is the package repository sector and is waving goodbye at browser compatibility and putting Node compatibility first. Even as Node is putting more work into browser compatibility themselves.

zack,
@zack@toot.cafe avatar

@baldur With browsers, we prefer multiple implementations to keep the standards open. Isn't the same true for server runtimes?

Deno was one of the main drivers behind a new working group to update existing web specs to better support server runtimes.

I agree about JSR being weird and seeming unnecessary, though.

torgo, to random
@torgo@mastodon.social avatar

I'm seeing a huge amount of drama about the bluesky mastodon bridge but I have yet to be able to find – and I have looked – a concise explainer of what the bluesky mastodon bridge is, what it does and how one may make use of it? Can anyone reply with a non-drama-related link? 🙏

zack,
@zack@toot.cafe avatar

@ondra

I don't wanna start an argument in a comment thread, so I'll just offer one point. Feel free to hit me up directly if you want to chat about it more.

> opt-out service that unfortunately copies your data someplace else (beyond your control).

This is the crux of the issue. Ppl in favor of the bridge have the opinion that your description is how federation works within the fediverse, so a bridge isn't any different.

@torgo

baldur, to random
@baldur@toot.cafe avatar

Every attempt (even my own) to fix EPUB or replace PDFs with something like EPUB to date either underestimates the problem or misunderstands it entirely.

First EPUB only supported fixed versions of XHTML and CSS. Stability and portability, right? But then development gets harder and harder the more HTML5 evolves and diverges from the original snapshot.

Update to a living spec? But then you lose that stability and predictability.

zack,
@zack@toot.cafe avatar

@baldur
> Update to a living spec? But then you lose that stability and predictability.

What do you mean by that? "don't break the web" is one of the web's guiding principles. A lot of reference material that would have been printed in books decades ago is available on the web. What stability and predictability do they lose by using HTML/CSS?

zack,
@zack@toot.cafe avatar

@baldur But if the browser implementations are backwards compatible, wouldn't any document written for a previous version load correctly?

Oh, is that what you meant by predictability? It may load, but it could possibly look different?

zack, to random
@zack@toot.cafe avatar

@sophie Hey I just came across your website. The design on it is really dope! I love the background image of the pixel cityscape, the neon lights on hover, and the oldschool font. It all looks really good.

sebastianlaube, to firefox
@sebastianlaube@layer8.space avatar

Remember when browsers used to display an RSS icon in the URL bar when feeds were available on that website?

After the lost decade in social media, can we please bringt that back now?

zack,
@zack@toot.cafe avatar

@sebastianlaube Same thing for search engines. Browsers use to use an icon in the URL bar when a search engine was available on that website, but no more.

I guess when you get paid by the search engine(s), you don't want ppl to be as aware of alternatives

simevidas, to random
@simevidas@mastodon.social avatar

time.com uses Tailwind for some reason

zack,
@zack@toot.cafe avatar

@lucas @simevidas

With inline styles, you have to change every element that uses a particular style to update your design. With utility classes, you update the style for the class (in one location) and every element uses the updated style.

This was always the biggest issue with inline styles and utility classes solve that.

zack,
@zack@toot.cafe avatar

@lucas @simevidas sure. Some are pretty static. I still think utility classes are an improvement over inline styles.

As for colors, most systems I've seen use numbers to indicate the scale. So red-100 thru red-800 should always be some shade of red for obvious semantic reasons but you could change the shades of red with proper care.

I'm not arguing for tailwind. I've never used it. But I have used utility classes, though always in combination with normal semantic classes, where appropriate.

zack, to mastodon
@zack@toot.cafe avatar

How do I get an feed for my notifications on ?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • ngwrru68w68
  • hgfsjryuu7
  • InstantRegret
  • Youngstown
  • rosin
  • slotface
  • everett
  • mdbf
  • tacticalgear
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • PowerRangers
  • anitta
  • magazineikmin
  • vwfavf
  • cisconetworking
  • cubers
  • modclub
  • GTA5RPClips
  • khanakhh
  • Durango
  • osvaldo12
  • normalnudes
  • tester
  • ethstaker
  • provamag3
  • All magazines