@simon If I had a penny for every time I've unpicked a needlessly complicated multi-polygon relation with tens of chopped-up shared way segments, and replaced then with two simple ways, I could buy us both a beer! 🍻 😢

Map for maintenance, #SimpleIsBetter , don't try to be too clever in #OpenStreetMap

(Oh, and learn about the #JOSM balloon tool - much easier for landcover, even when construction lines are needed to constrain it.)

🤦‍♂️ Ah yes, the ancient wisdom of "Measure before you panic!" Who knew that randomly optimizing code without knowing where the real problem is might not be the best strategy? 🚀 And of course, the groundbreaking revelation that simple is better than complex—thank you, Captain Obvious! 📉
https://www.cs.unc.edu/~stotts/COMP590-059-f24/robsrules.html #MeasureBeforePanic #CodeOptimization #SimpleIsBetter #ComplexityIsOverrated #TechWisdom #HackerNews #ngated
<h1>Rob Pike's 5 Rules of Programming</h1>

We have a nice requester to dump any page to disk!
At the press of an hot key any displayed page can be dumped to disk: the user can confirm, cancel or rename & save the page using a custom file name.
If the user selects "Rename" he will be prompted for a filename.
YES! 😁  
---
#Gopher #Amiga #AMOSProfessional #retroprogramming #simpleisbetter

When I go on holiday with my family, I go out of my way to disconnect from the world.
I leave my Apple Watch at home and phone stays in the holiday as my wife has her phone.

I revert back to my Casio digital each time. It is simple and informative. I chose blue because I support Stockport County Football Club.

#Casio #CasioCult #SimpleIsBetter #Disconnect #digitalminimalism

Bucatini all'amatriciana. Probably one of the most Italian dishes to be made: four ingredients and a lot of technique. It has to be done right, not fancy.
#italiancooking #nogarlicrequired #soulfood #simpleisbetter

#simpleisbetter : in #unix, file access rights are defined by numbers:
4: read
2: write
1: execute

So if i want to give rights for read only, i use 4. For read and execute, 5 and for full access, 7. Of course any other combination is possible.

But why 4, 2 and 1 ? Why not ...123 ? Simply because by summing any combination of 1,2 and 4 without repetition, you always get a different number. So all cases are perfectly covered and i find it beautiful.

Secure-delete can take a long time. SecureDrop does it by delegating to rq which sends python code to redis which is then interpreted by a rq worker. It is not only fragile, it also has a subtle bug that eluded diagnostic for two years.

Replaced this with 40 LOC of python running in a thread that can be trivially tested.

https://github.com/freedomofpress/securedrop/blob/ea83e2db267fd41adcf0f9ad5303d80d36a37619/securedrop/shredder.py

#securedrop #simpleisbetter

freedomofpress/securedrop

securedrop - GitHub repository for the SecureDrop whistleblower platform. Do not submit tips here!