1,727 karma · joined September 2, 2012
Mattermind Labs, sensilla
Ex Tech Lead at Briink (AI for sustainability reporting for EU Taxonomy) at Merantix / AI Campus
Ex Eng Mgr Senior application developer at South Pole (GHG CO2 accounting)
Consulting via: https://www.mattermind.com
Ex CTO of Nestseekers, 20 years consulting, full stack snout to tail.
Psychic ocean? https://en.wikipedia.org/wiki/Solaris_(novel)
Distributed beings like coral or slime molds
> Combined with minification and network compression, this usually leads to CSS files that are less than 10kB, even for large projects. For example, Netflix uses Tailwind for Netflix Top 10 and the entire website delivers only 6.5kB of CSS over the network. - https://tailwindcss.com/docs/optimizing-for-production
What does increase is the html or react payload. But at least it's only sending what you use.
Most websites are sending all of the styling for all of the pages and states, even though the user never sees it. It takes work to optimize that away, and things go wrong often.
There are many clever macros like `space-x-4` that compile to very tricky effects. You couldn't write that in the style attribute at all. https://tailwindcss.com/docs/space#add-horizontal-space-betw...
Any tailwind class can have named colors ("green"), semantic colors "danger" and then you can chose the number of the gradient of that color.
There are thousands of them. Only the ones you use get compiled into the css file.
For anyone still wondering why wouldn't I just write css? Because my codebase is littered with orphaned dead css. You can try to use strict naming conventions to connect it to the component it was meant for, but in practice you end with more css, dead css, and you have to read two source code files: component and css.
Or maybe they decided to build a system for Claude to judge account suspension appeals and that's still in beta, and they won't throw humans at the task.
It's not really that important, but I do it as a form of tribute to the cicadas.
On a one by one basis I can use VSCode github copilot to rewrite each one the way I want it.
What I want to do is iterate through all functions in the files and do each one of them.
I know we are getting there, but does anybody know how that can be done right now?
The business logic is clear to read, easy to change.
Ive enjoyed writing complex SQL, but when it comes to app development I want my engineers to just write python. Triggers are mostly invisible in the codebase and I would end up having to do all the maintenance myself.
There is of course more than one way to skin a cat, but I want our codebase to have just one single way.
In the app (Django or whatever) after inserting news item, call a service (async) that matches users, sends alerts
No way do we want to post the entire reference library for every conversation.
Only if it's one off: read this book, answer questions.
https://www.moriareviews.com/sciencefiction/world-on-a-wire-...
I'm considering switching to pyright, probably by rewriting code that uses this magic.
Or running both in ci with different configurations.
Maintaining a code base requires communication, PR reviews and discipline. That doesn't always happen.
Having lint check rules is brilliant. Never mind discipline, you just need a friendly error to say don't import services into an ORM model file. I'm going to adopt this right away.
My comment was mean to point out that the scale of warming is far more intense than two conflicts would produce.
I really hope the recent acceleration in warming can be traced to industrial methane emissions that could be stopped.
https://www.shutterstock.com/search/radio-buttons-old-car-ra...
There's a good explanation of how they worked here:
https://www.physicsforums.com/threads/how-do-old-timey-radio...
At this point it's about as far from that as we can get. It's a giant dystopian shopping mall.
Could we activate the editable people's web?
Could we resurrect the original Web 2.0 (before the meaning of "sharing" got mangled into "forward this corporate media post to another customer")?
Yes, we could. We probably should. But we can barely get the Fediverse into the mainstream. Nobody blogs anymore. Attention spans are close to 0.
In my opinion it's depressing how slow development is. The non technical managers can't understand it either. It's complex and boring and error prone and fragile. That's what we need to fix.
I've had quite enough of DRF's tower of mixins and rails like magic. It always sucks up development time and fails too easily.