@tomw@mastodon.social
@tomw@mastodon.social avatar

tomw

@tomw@mastodon.social

Web developer. Sometimes designer. I like code, words and mass movements. Jag lär mig #svenska.

Interested in/may post about #html #css #wordpress #openweb #decentralisation #socialism #protest

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

tomw, to random
@tomw@mastodon.social avatar

Windows people, please understand this. Sometimes people need to run Linux.

They’re allowed to complain about printers not working, or sound issues, or any other hardware compatibility problems, without you saying “use Windows” every time.

tomw, to random
@tomw@mastodon.social avatar

Today I realised that I can put a CDN in front of other people's (read-only, public) APIs so that they don't rate limit my stuff.

Is this obvious? Commonly done? Kind of rude? No idea...

tomw,
@tomw@mastodon.social avatar

@TraitorJoe Set a pull zone (basically just a caching proxy) to point from a subdomain you control to their https://api.example.com

But a few caveats... you'd only want to go this for public and quite unchanging data, the sort of API where the same URL is going to give you the same thing each time. Putting anything private anywhere near this is a Bad Time recipe

tomw, to random
@tomw@mastodon.social avatar

Why does every single search engine focus on making a search engine for a little while and then get distracted and launch 100 other projects?

Why does no one ever just work really hard on their search engine to make it the best one and keep it the best one, and that's it?

tomw, to random
@tomw@mastodon.social avatar

"I have to assume a lot of people don't understand how deep the AI rabbithole for Kagi goes, because I have seen people recommend Kagi to people frustrated with Google's own AI bullshit.

As it turns out, Kagi was founded originally as an AI company, who later pivoted to search. And going by their comments in their Discord, AI tools seem to be what they spend most of their time on these days."

https://d-shoot.net/kagi.html

j0, to random
@j0@wetdry.world avatar

Hi, if you use Discord and feel bad about it for some reason, don’t. Don’t let the people on here try and convince you that matrix is secretly very easy to use and better and all it needs is adoption and just host this and etc. Same with any chat app or service or whatever. Discord is popular because it is a well made, usable service. People on here play the Privacy Game and switch browsers/search engines performatively. Switching which Product you use will have next to zero implications in your daily life, just use the one that is least annoying. Most “privacy” companies are just grifting (eg DDG funding right wing media, Kagi using AI, Brave doing crypto and AI, Mozilla doing AI, Proton baselessly shitting on other services in press releases, various companies doing VPNs, Element providing services to Police, Arc doing AI, I could go on forever…)

I’m not saying to go “doomer” and just use Chrome and Google, but people need to acknowledge that these services you use exist within capitalism, and evaluate whether they really Care about your privacy, or the Monthly Active Users metric. Don’t be shocked when your Private Service gets sold to a not-so-private company. You are being marketed to.

tomw,
@tomw@mastodon.social avatar

@j0 I think 99% of the rage about Discord on here is caused by open source projects treating it is a replacement for documentation. Couldn't care less if people use Discord, but don't make me use it!

Big agree about Kagi/DDG and it pains me that they take up all the space in the "alternatives to Google" discussion

tomw, to random
@tomw@mastodon.social avatar

Do you need a database, or could you make do with 3,000 ~1KB json files filled with regexes?

(The database probably would have been easier but this is definitely cheaper to host.)

tomw,
@tomw@mastodon.social avatar

If anyone asks, I'm going to call this a "cached compressed key-value store"

tomw,
@tomw@mastodon.social avatar

Wait, maybe I can call my directory full of json files a "microservice"

tdp_org, to random
@tdp_org@mastodon.social avatar

Is it "no one is registering for our conferences so let's spam everyone and offer free tickets" week or something?
I must have had 5-10 every day so far.
Blocked every sender.

tomw,
@tomw@mastodon.social avatar

@tdp_org Companies really need to learn that me paying for (eg.) a CDN does not mean that I wish to attend CDN Fest.

tomw, to random
@tomw@mastodon.social avatar

Hi! You haven't replied to this thread for a few days so we're going to go ahead and close the issue. Please reach out if you have any problems in future.

tomw, (edited )
@tomw@mastodon.social avatar

Survey: How was your experience? Please rate from 1 to 10.

tomw,
@tomw@mastodon.social avatar

Reminder: You still have the chance to rate your experience. Your feedback is very important to us. Please click here to complete the survey:

https://mastodon.social/@tomw/112252909723044229

rauschma, to webdev
@rauschma@fosstodon.org avatar

: I’m experimenting with aligning table columns. Maybe:

<table>
<style>
th:nth-child(1), td:nth-child(1) {
text-align: left;
}
th:nth-child(2), td:nth-child(2) {
text-align: right;
}
th:nth-child(3), td:nth-child(3) {
text-align: center;
}
</style>
<thead>
<th>Left</th><th>Right</th><th>Center</th>
</thead>
<tbody>
<tr>
<td>1A</td><td>1B</td><td>1C</td>
</tr>
<tr>
<td>2A</td><td>2B</td><td>2C</td>
</tr>
</tbody>
</table>

tomw,
@tomw@mastodon.social avatar

@rauschma In any situation where the table is being produced by code, it's usually easy enough to add <td class="col1"> etc or even <td class="align-right"> as relevant. I realise that's a bit tightly coupled but so is the nth-child way...

rauschma, to random
@rauschma@fosstodon.org avatar

Does anyone know if the HTML <section> element is in practical use anywhere? Is it ever useful?

My impression is that the heading elements (<h1> etc.) are enough and preferred now(?)

tomw,
@tomw@mastodon.social avatar

@rauschma <section> is supposed to contain both the heading and the text the heading refers to.

What I actually used it for recently though (maybe not quite the intended purpose) was delineating full-height page sections for scroll-snapping

timbray, to random
@timbray@cosocial.ca avatar

Beeper is outta Beta. I wonder if it’s going to be a big deal.

https://www.beeper.com

tomw,
@tomw@mastodon.social avatar

@timbray I expect I'll hear about this again soon when Facebook blocks it

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

A poll for all my
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:

tomw,
@tomw@mastodon.social avatar

@Edent Controversial but I think "everything that is a list or list-like should be <ul> or <ol>" was a wrong step when it became fashionable (15 years or so now) - for example the use of <ul> for menus, which you still see even though <nav> now exists.

I think it's better - more semantic, even! - to use <ul> for bullet lists, <ol> for numbered lists, and some other element for other page elements, even if they look like a bit like lists if you squint

tomw,
@tomw@mastodon.social avatar

@Edent This is a deathly unfashionable answer but probably <div class="comments">

tomw, to random
@tomw@mastodon.social avatar

Mastodon has two types of people: people who really want replies to their posts and people who extremely do not.

(I am in the first category, reply away)

tomw,
@tomw@mastodon.social avatar

@GlasWolf Posting to social media appears to strengthen the perceived level of disagreement, like:

"I don't think that's quite right... (thoughtful and mildly worded post ensues)"
"Who asked you, get fucked"

tomw,
@tomw@mastodon.social avatar

There is a third type, the "only reply if" essay-writer who sets out a long list of conditions, but I think it's safer to leave them well alone

tomw,
@tomw@mastodon.social avatar

@GlasWolf That said, an ostentatiously faux-civil tone is even worse than a hostile one, and almost always a sign of bad faith, so I can see why mildness can get ignored

tomw,
@tomw@mastodon.social avatar

@TonyJWells I believe, according to niche but forgotten Mastodon rules, that the original post should be "cw meta"

tomw,
@tomw@mastodon.social avatar

@arunmani I think lots of people don't always reply to replies, even if they do appreciate them!

tomw,
@tomw@mastodon.social avatar

@mikej Oh yeah, that was an awful Twitter-ism:

"I don't think that's right..."
"Well you have 5 followers lol"

cabel, to random
@cabel@panic.com avatar

I’m afraid to say this out loud, but I’ve always wondered why there’s an unwritten social contract that taggers don’t tag cars. Ignoring that it would be the absolute worst… like, why don’t they?

Which is to say, I wonder what the first taggable consumer vehicle will be — and why will it be the Cybertruck

tomw,
@tomw@mastodon.social avatar

@cabel Easier to find a dirty van and write "cleen me" in the dirt

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