@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

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

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

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?

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.

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

Name a better API than

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

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

I'll wait.

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

I think @dbushell is correct that modern , 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/

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

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

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