š«£ Oh no! Itās the school holidays. Iām on DadOps duty. And Iām down to my last two coffee filters!! What do I do? Eat the beans whole and raw? Use a tea strainer or muslin cloth?!Grind them and spread it on toast?!! SEND HELP!!!!!
2024-04-03 09:57:44
The Verge article on the best printer in 2024 is just completely brilliant in so many ways.
And also kinda sad.
https://www.theverge.com/2024/4/2/24117976/best-printer-2024-home-use-office-use-labels-school-homework
2024-04-02 23:12:07
⦠But now, not only do you not really know what a is, you donāt know what x is either.
And so you shove a ? on the type of x (or things x can become) and off you go again!
Catch errors and absences early. Donāt half-ass your type system⦠USE IT!
2024-04-02 22:59:51
Coding thoughts:
The combination of optional/nullable types and optional chaining gives you so much temptation to write bad code.
Itās become so easy to just add a little ? here and a ā| nullā there to quickly fix some error you saw.
But itās a trap!!
Once you start they breed like crazy through your codebase.
Itās weird for me to see:
x = a?.b?.c
Because if you have an a then you should know that you have a b and a c! (I know this is not the case with TypeScript)
ā¦
2024-04-02 22:14:44
Iāve been working with it for a while now and I still think that the React eco system is a series of complex and fragile kludges that only exist because everyone wanted to use React. Bundlers. Transpilers. CSS-in-JS. HTML-in-JS. CSS-in-HTML-in-JS. SSR. ISR.
My opinion, of course. I just donāt get it. Maybe I had a bad introduction to it or something. But that spark of understanding simply hasnāt come despite months of open minded exploration.
2024-04-02 10:01:59
Haha. WordPress Block Editor in Minecraft. Very good.
2024-04-01 14:58:41
Oh wow! TIL from @briancoords that you can get to all the useful links (dev notes, field guide, release schedule) for a #WordPress major release by going to:
https://make.wordpress.org/core/<version>
e.g.
https://make.wordpress.org/core/6.5
SO useful! Thanks, Brian!
2024-04-01 09:48:22
Bandle spoiler
Realising this morning that George Ezraās shotgun is actually Baby Shark with different words.
2024-04-01 08:54:08
I honestly thought Iād had every possible cold/flu bug these last six months. But here I am, in bed, with every inch of my body hurting.
What happened this year?!
2024-03-31 09:24:09
Nice BBC article on aphantasia (not being able to see images in your mind):
Aphantasia: Why I cannot picture my children in my mind https://www.bbc.co.uk/news/health-68675976
2024-03-30 23:29:42
Next up in my āreadable code tipsā series:
There is a balance to be found between "inlining" multiple expressions, and using temporary variables.
You may also learn about āshort-circuit evaluationā here if you don't know what that is (or you may just put a name to something you already know).
https://rosswintle.uk/2024/03/readable-code-tips-dont-inline-everything/
2024-03-30 18:12:20
A while ago I found crosshare.org
The little daily puzzle has become part of my day. But you can make them too! And the constructor is very good.
My kid (8) and I have made a couple of puzzles. They are MOSTLY hers, but Iāve chipped in a bit.
Enjoy!
https://crosshare.org/crosswords/1Bqixf9crDP7jVPiR907/rabbiting-on
https://crosshare.org/crosswords/9x7JGmoJ2bGfre5oVzrQ/adas-first
2024-03-29 17:57:47
This smartphone desktop robot thing does look super cute and fun. But also looks super data-slurpy:
āAll your precious, ephemeral moments are now kept by himā
āAlways observing his surroundings⦠LOOI can analyze everything he seesā
Also they overdid the gimmicks. And Iād never buy hardware on kickstarter.
Fun idea though.
https://www.kickstarter.com/projects/tangiblefuture/looi-robot-turn-your-smartphone-into-a-desktop-robot
2024-03-28 10:21:22
Idea: Gyms should have āquiet sessionsā for introverts and neurodiverse folks. The lights and music are SO annoying. š¬
2024-03-27 20:04:23
Iāve decided that my new primary KPI at work will be MCPW (Meetings Cancelled Per Week)
š
2024-03-25 20:42:20
This was written specially for @nathan , eh?
š
https://www.atlasobscura.com/articles/why-do-canadians-say-eh
2024-03-24 22:44:14
Yes, I AM continuing the series of readable code tips. Here's number two in the series:
Readable code tips: Extract complex conditions
https://rosswintle.uk/2024/03/readable-code-tips-extract-complex-conditions/
2024-03-24 22:12:16
2024-03-24 22:02:14
It's just amazing what's stuck in the back of your brain, waiting to be coaxed out by a few musical notes.
My kid plays this tune from the video game Deltarune today:
https://music.youtube.com/watch?v=XH1ibcc_MpQ&si=y7gDPB8YDE-b4ORw
And I'm instantly humming the demo tune from the ancient Casio VL-TONE keyboard that my sister owned back in about 1985.
2024-03-24 21:55:14
Trusting codeā¦
You kinda have a relationship with code from your projects. You probably have feelings about it.
As I've been thinking about code style, I've also been thinking about how it's important to build up trust in a code base.