2024-04-13 16:37:05
OK. Yay. I did it! I made a server-less 2-player Scrabble clone where you pass game data around in encoded URLs.
This is basic and simple (more rules to implement) but works and proves the principle.
Anyone want to test a game with me?
2024-04-12 11:10:13
This, that I just wrote, is mostly what I think about the web these days:
âYay look at this exciting thing that fixes a bunch of issues we made by implementing other exciting things, and creates a bunch more issues that will have to be fixed by future exciting things!!â
2024-04-11 22:05:59
I really hoped the two week Easter school holiday here in the UK would be productive. Clocks went forwards. We have evening daylight. I have time off with kids. I would wash the car, start work in the garden, fix some stuff up around the house. Enjoy some outside time.
But no. Everything conspired against me and Iâve just bounced from fighting through days at work, fighting through days at home and using every spare minute to rest and try to get well after another sodding virus got me. đ«
2024-04-11 21:49:26
This is a great article on using the #WordPress playground and its APIs.
Leveraging the WordPress Playgroundâs Versatile API Suite
https://deliciousbrains.com/wordpress-playgrounds-api-suite/
2024-04-11 13:29:17
What was the thing a while ago that enhanced your existing terminal/shell with pop-up commands and stuff. It was around the same time as the Warp terminal was getting good, but it wasn't actually a terminal.
Anyone remember what I mean?
EDIT: It was https://fig.io/, and, surprise surprise, it's being sunset.
Makes me fear for Warp, Zed, etc. Are these tools going anywhere financially?
2024-04-11 13:21:10
My friend @tnash very kindly shared some content of mine today. And I realised I've not yet promoted his EXCELLENT security tales video that he released recently.
It's SO good and has some great lessons in. It's technical – it's about internet security – but has lessons for us all.
2024-04-07 22:49:20
2024-04-07 22:46:37
OK. Really getting somewhere with my static-file Scrabble clone. Lots to do still but I can fully encode a game into a base64 string, and then decode it back to a played board! Yay!
Though this is primarily an intellectual and fun exercise, the thought of totally ad-free, login-free, free-to-host, 1-page, simple Scrabble-like game is pretty sweet. Because all the online versions I've used are so full of bloat!
2024-04-06 23:23:17
It's really going to take quite a lot of effort to actually turn this into something playable. đŹ
2024-04-06 23:22:10
More tinkering with "Static Scrabbleâ this evening. Tidying up code into classes and building a little interface for testing with. Noice!
What's the best tool for JavaScript unit testing these days?
2024-04-06 14:43:33
Apologies for Instagram link.
Something to learn for work teams too?
Alt: Video of tennis player Andy Murray being asked why he gave a towel to a specific member of the crowd.
He says:
âIt was just constant cheering the whole match. But more than that⊠it wasnât just saying âCome onâ, he was saying to me âThis is the best Iâve ever seen you serve manâ, âYouâre moving great considering all your problemsâ. And I was like âYeah, thanks, I needed a little bit of thatâs
2024-04-06 08:04:55
And as a reminder⊠my web dev team at WP Engine are recruiting. So if youâd like âStorytime with Rossâ as part
of your working week let me know!
– Only senior developers with WordPress AND React skills need apply
– Job is remote-first, needs overlap with US hours.
– We are a busy web dev team in a marketing department. Excellent communication skills required.
– No freelancers/agencies/contractors
https://fosstodon.org/@ross/112220812037660185
2024-04-05 22:48:19
Today I read a passage from a Brandon Sanderson book on a standup.
I _think_ my team appreciated it.
Felt quite weird. But sometimes a story has the right words and ideas.
2024-04-03 23:46:42
Worst case then, we encode the board square by square for simplicity.
Weâll probably end up using base64 which gets 6 bits per char.
So our 5-bit representation of spaces/tiles over 225 spaces, 86 bag tiles and the 14 in racks gives us 1625 bits. Which is 271 base64 chars.
Bigger than I hoped.
Hmm.
More tomorrow.
2024-04-03 23:36:30
Stream of consciousness on efficient URL encoding of a Scrabble gameâŠ
The board is 15×15, so 225 spaces. Weâll need the âbagâ, so 100 tiles but only actually 86 once game starts. 2 âracksâ of 7 letters. And the score.
Each space can be empty, letter, blank tile with associated letter.
So all tiles/spaces can fit in 5 bits (up to 32 combos).
It would be good to represent plays as row/col/tile. But I THINK thatâs harder to decode. Though row+col fits in 8 bits. HmmâŠ
2024-04-03 23:01:41
I had this thought about static turn-by-turn game applications that exchange game data in URL parameter strings.
So you'd take your turn, and then share the new URL with the other player.
I guess tic-tac-toe is the obvious starting point. But I was wondering how efficiently you can encode Scrabble-like game data in a URL string.
I have been thinking about this FAR too much. It's a really interesting little problem.
2024-04-03 19:32:14
Iâm not sure who at Aldi came up with this composition. But I think they need a performance review.
2024-04-03 15:47:01
Do you think Microsoft's Copilot can set up a parental-controlled Minecraft/XBox/Microsoft account? Because I blimmin well can't and I've got a computer science degree and a senior software developer job!!!
2024-04-03 15:32:54
Holy crap! I need to write me some angst and irony filled articles about printers. This is crazy!!