@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

Someone needs to invent something worse than screens so that all the people who rabbit on about "screens" being bad will embrace them as "the wholesome alternative to (new bad thing)".

This is basically what has happened with kids' comics at this point.

tomw, to random
@tomw@mastodon.social avatar

I just used jQuery in a new project and you know what, I don't even feel bad. I just needed to hide all the elements with one class and show all the elements with a different class. A one-liner in jQuery and not in anything else!

tomw, to random
@tomw@mastodon.social avatar

ncrs yr typng spd by lvng t ll th vwls

tomw, to random
@tomw@mastodon.social avatar

Every security expert ever: "Do not use incrementing ID numbers"

Every Shopify-based shop: "Thanks for your order # 1201"

tomw, to random
@tomw@mastodon.social avatar

If a few hundred simultaneous requests can bring down your website, don't moan about Mastodon instances for sending them. Fix your website.

This doesn't need to be a big job – for most servers it's a couple of config lines, plus for Wordpress or similar you'll likely need caching.

It will prepare you for the day when you publish something that gets a lot of (genuine) traffic.

This level of traffic is not a "distributed denial of service", it is a "small-to-medium-sized request for service".

tomw, to random
@tomw@mastodon.social avatar

Stop releasing "new web browsers" that are just Chromium.

Stop releasing "new search engines" that are just Bing.

What a colossal waste of time.

tomw, to random
@tomw@mastodon.social avatar

You know how people do something slightly embarrassing in the coffee shop (or wherever) and then they say "now I can never go back there"?

I have worked in plenty of customer service jobs and let me reassure you that I never remembered anyone for any reason.

"My usual"? I have no idea who you are, sorry.

"I was just here an hour ago"? Nice for you, I did not retain that information.

"I've been waiting for my food for ages"? Hmm, it is possible that I was bad at this.

tomw, to random
@tomw@mastodon.social avatar

Does a word processor exist (regular app or web app I suppose) that displays a section outline with 'live' word counts next to each section? Like:

Introduction (434 words)
Chapter 1 (942 words)
etc

This seems so simple but searching turns up a) other people asking the same question and b) bodgy scripts/plugins.

tomw, to random
@tomw@mastodon.social avatar

Marketing website: "Wow, Bonkadonk makes collecting payments so easy, even my cat can do it! Now he runs his own fancy collars business. Thanks Bonkadonk."

Emails to customers: "We have just deprecated the C-7 GX Rootytooty trust chain as part of our move to GlobalSecure root chain v4. What does this mean for me? You will need to update..."

tomw, to random
@tomw@mastodon.social avatar

Used to be that you'd ask "what are the kids into?" and the answer would be like, idk, pogs.

Now the answer is "liminal spaces".

tomw, to random
@tomw@mastodon.social avatar

Just saw someone saying they use AI to write Tailwind.

At that point why not just stab yourself in the feet with a spoon instead.

tomw, to random
@tomw@mastodon.social avatar

Pop quiz: can you spot the problem in this PHP snippet? I just got tripped up by it and it was very Not Fun. (This is rewritten to be a minimal example.)

if ( $coolness > 10 ) {
define('COOL_MODE', true);
}

if ( COOL_MODE == true) {
echo 'You are cool.';
}

tomw, to random
@tomw@mastodon.social avatar

Why has no one made "Slack but free and simple"? Have I missed it? Every proprietary alternative seems to be a featuritis nightmare (eg. Discord) while the open source ones are too busy fretting about perfect encryption and decentralisation to be simple/friendly.

tomw, to random
@tomw@mastodon.social avatar

I miss the days when the RIAA was public enemy number one and someone was inventing a new peer-to-peer protocol every week

tomw, to random
@tomw@mastodon.social avatar

All my emails go something like:

"Yes that's all good. Happy with Wednesday or Thursday.

Tom"

People either appreciate this brevity or find it weird, there's not really an in-between

tomw, to random
@tomw@mastodon.social avatar

Please read my paywalled article about why paywalls are bad for democracy

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, 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

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, 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, 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, to random
@tomw@mastodon.social avatar

Spare me from people who think the answer to "Google sucks now" is a paywalled search engine that gets most of its results from Google anyway

tomw, to random
@tomw@mastodon.social avatar

Everyone just sort of casually agrees that "we live in times of crisis". This is seen as self-evidently true.

But I wonder: when were the times of non-crisis? Which was the most recent not-crisis year, exactly?

tomw, to random
@tomw@mastodon.social avatar

xz is not a "trusting trust" attack, it is a "your build tools are too complex for you to understand all the input and output" attack.

And guess what: that's very relevant to web development...

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