Posts

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

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/

tomw, to random
@tomw@mastodon.social avatar

ncrs yr typng spd by lvng t ll th vwls

mahryekuh,
@mahryekuh@fosstodon.org avatar

@tomw “increase your typing speed by leaving out all the vowels”

It’s either that, or a cat attacked your keyboard.

tomw,
@tomw@mastodon.social avatar

@mahryekuh You got it! (The first one)

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"

flakess,
@flakess@mastodon.social avatar

@tomw another reasons this is bad, is that it allows competitors to determine all sorts of metrics about your company. By placing orders or creating users at different times, they can use these ids to figure out how many sales per day or users gained per day. Using randomized id’s prevents leaking this subtle information

tomw,
@tomw@mastodon.social avatar

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

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

I do have some sympathy if you're just out here trying to run a little website, but honestly none if you claim in any way to be a person who knows anything about software, for example the type of person who might use the term "DDoS".

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.

Tesseks,
@Tesseks@mastodon.social avatar

@tomw Stop releasing open source operating systems that are just unix based.

tomw, to random
@tomw@mastodon.social avatar

It's strange to see people on here defending Tiktok, the most obvious Trojan Horse since 1000BC.

The main defence seems to be that Facebook also sent us a horse full of soldiers. Which is true. So we... just have to accept horses full of soldiers now? Out of a sense of fairness? I don't see how that follows.

tomw, to random
@tomw@mastodon.social avatar

At this point I don't think there's any reason to learn what passkeys are. Just wait for them to slowly get removed from everything again because of low takeup.

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

More websites should say "Wow, this made a difficult task somewhat less difficult, though also still requiring regular maintenance and basic competence."

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.

DodoTheDev,
@DodoTheDev@front-end.social avatar

@tomw
I work for a trust that employs 18000+ people. I probably serve about a third of them. We get people coming into the office every day. The amount of times someone walks in and smiles at us, gets no response, so adds "I'm here to pick up my stuff"

Like we're meant to know who the hell you are?! When we ask for a ticket number, they seem rather lost. "why would you need a ticket number?"

"Because I've got 16 computers, 5 headsets, 2 mice and bloody partridge in a pear tree!" I want to say

tomw,
@tomw@mastodon.social avatar

@DodoTheDev Everyone is the star of their own life...

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.

siblingpastry,
@siblingpastry@mastodon.world avatar

@tomw If you don't mind spending a bit, then Scrivener has these kinda features and lot more besides -- https://www.literatureandlatte.com/scrivener/overview

tomw,
@tomw@mastodon.social avatar

@siblingpastry Hmm, this does look like pretty much what I'm looking for! And the pricing isn't too bad. Thanks, I'll probably give it a try

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

I will not be taking questions on this.

Really though, they love those liminal spaces.

tomw, to random
@tomw@mastodon.social avatar

sings
Mobile phones killed the widget sidebar

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.

18+ gundersen,
@gundersen@mastodon.social avatar

@tomw we used to say that perl was written by banging your forehead on a keyboard. Tailwind is written by banging your forehead on an LLM.

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