@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.

infobeautiful, to random
@infobeautiful@vis.social avatar
tomw,
@tomw@mastodon.social avatar

@infobeautiful This is why if you're ever trying to guess a padlock code, you should start at around 1950 and keep incrementing by 1

mrpjevans, to random
@mrpjevans@mastodon.social avatar

One for fellow software devs out there.

I thought 'Oh, a silly grammar cock-up that makes for a fun local news story'. Then I read the first line. I won't spoil the surprise but maybe make sure there's no-one close when you yell 'OH FOR FU...'

https://www.bbc.co.uk/news/uk-england-york-north-yorkshire-68942321

tomw,
@tomw@mastodon.social avatar

@mrpjevans St Mary€™s Walk, I know it well

kev, to random
@kev@fosstodon.org avatar

I recently wrote about how Mastodon is DDoSing me every time I post a link to this site. I've managed to fix the problem...I think.

https://kevquirk.com/i-stopped-mastodon-ddosing-me-i-think

tomw,
@tomw@mastodon.social avatar

@kev Yep, a caching plugin fixes it as you discovered. I'm not familiar with your CMS but for the more common case of Wordpress, installing WP Super Cache (or similar) fixes the problem at a stroke.

nikitonsky, to random
@nikitonsky@mastodon.online avatar

Say what you want, but there’s something immediately obvious about aqua-style controls. They stand out. You can see what’s interactive and what’s not in an instant. You can see what’s expected from you

Compare to modern flat design, where you have to look very closely just to understand what’s what and which parts you are supposed to touch

That’s not progress

Modern flat UI

tomw,
@tomw@mastodon.social avatar

@nikitonsky The modern one would be way more usable with the addition of some shadows, even the black-boxy kind

datarama, to random
@datarama@hachyderm.io avatar

Where do people who self-host their websites, mastodon instances etc. actually host things these days?

(Hetzner are villains now, and so are DigitalOcean I gather?)

tomw,
@tomw@mastodon.social avatar

@datarama If you move web hosts every time a web host does something bad, you'll be moving web hosts every day

designthinkingcomic, to random
@designthinkingcomic@mastodon.cloud avatar

I'm a terrible person.

tomw,
@tomw@mastodon.social avatar

@designthinkingcomic I'm seeing more and more of these, and even the DON'T RECYCLE ones. Seems to be connected to them using fancier printing on the package?

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

@flakess True - unless they deliberately change the numbers sometimes, it does leak all-time total and rough rate

tomw,
@tomw@mastodon.social avatar

I've also not followed this rule in the past because it is Too Annoying in most cases.

But I felt kind of bad about it. Clearly they don't, so whatever.

tomw, to random
@tomw@mastodon.social avatar

Artificial intelligence is 'intelligent' to the same degree that artificial grass is grass.

tomw, to random
@tomw@mastodon.social avatar

ncrs yr typng spd by lvng t ll th vwls

tomw,
@tomw@mastodon.social avatar

@mahryekuh You got it! (The first one)

tomw,
@tomw@mastodon.social avatar

fllw fr mr lf hcks

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

Luckily this is one of the times when I'm pretty sure Silicon Valley is on the case

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

(It seems like it would be easy in vanilla JS but you have to do some messy iteration as far as I can tell)

tomw,
@tomw@mastodon.social avatar

Everyone turned against jQuery because it was a "big" dependency, which it kind of was... 10 years ago.

Nowadays people are importing 100x more JS without a second thought. jQuery is snappy compared to 'modern' websites.

tomw,
@tomw@mastodon.social avatar

Name a better API than

$('.myclass').hide();

(Which hides not just one element, but all with that class.)

I'll wait.

tomw, to random
@tomw@mastodon.social avatar

When making a speech/Youtube video/whatever, you don't have to say "without further ado". Just leave out all the ado. I don't need any ado.

tomw,
@tomw@mastodon.social avatar

Related: don't say someone "needs no introduction" unless that is literally the only thing you say by way of introduction.

tomw, to random
@tomw@mastodon.social avatar

If you use the word 'mediate', Google Docs suggests you consider changing it to the word 'meditate'.

Thanks Google, but I know what the word mediate means, and that is the word I intended to use.

tomw, to random
@tomw@mastodon.social avatar

Lots of people do this thing where they say look, there are no good guys and bad guys here, it's a complicated situation etc.

Allow me to suggest that setting fire to aid trucks does, in fact, make you the bad guys.

https://www.theguardian.com/world/article/2024/may/13/total-outrage-white-house-condemns-israeli-settlers-attack-on-gaza-aid-convoy

tomw, to random
@tomw@mastodon.social avatar

GPT-4o? What even is this numbering scheme?

I'll wait for GPT-4: Golden.

tomw,
@tomw@mastodon.social avatar

Still annoyed that GPT-3 Reload didn't include the extra content from GPT-3 FES

tomw, to wordpress
@tomw@mastodon.social avatar

I think @dbushell is correct that modern #Wordpress, at least the way they want you to do it, is a "CSS-in-JSON-in-HTML-comments-in-a-PHP-file" mess.

Luckily you can just ignore full site editing and the not-quite-React nonsense and continue to happily write themes in PHP/HTML/CSS.

https://dbushell.com/2024/05/07/modern-wordpress-themes-yikes/

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