417 private links
HTML and CSS only 😃
It looks like they were happy.
Sharing the joy of writing
RustPython is a Python interpreter written in Rust. RustPython can be embedded into Rust programs to use Python as a scripting language for your application, or it can be compiled to WebAssembly in order to run Python in the browser. RustPython is free and open-source under the MIT license.
It would be to go to to use Python in the browser because RustPython can compile in WebAssembly.
The playground: https://rustpython.github.io/demo/
Why? Costs, operational complexity, data consistency
- Caching with UNLOGGED table (that I've also found in other posts)
- Pub/Sub with LISTEN/NOTIFY
- Job Queues with SKIP LOCKED
- Rate Limiting is also possible
- Sessions with JSONB
PostgresSQL ist nearly 2 times slower compared to Redis, but is it worth it?
When to keep Redis?
- extreme performance needed
- using redis-specific data structures
Migration strategy:
- Side by side
- Read from Postgres
- Write to Postgres only
- Remove Redis
and Prisma provide for example typedSQL to have a smooth integration with Typescript.
I’m currently building an app that pulls a ton of data from an external API. If you use Rust, you know the drill: you get a UserDTO from the API, but you want a User in your domain. This usually leads to writing the same From trait implementation over and over again.
What’s in the sandbox so far? I built a macro called FromDTO. Instead of manually mapping dozens of fields, I can just do this:
Note the serde create do that for JSON and other formats
C’est plus cher que le nucléaire, ça pollue plus que le nucléaire, c’est moins pilotable que le nucléaire, c’est moins joli que le nucléaire, ça prend plus de place que le nucléaire.
Avec le temps, les acteurs du secteur et les entreprises se sont toutefois rendu compte que ce n’était toujours pas rentable. En 2018, la directive a été renouvelée, puis à nouveau en 2023. Cela fait donc depuis 2009 que l’on oblige les acteurs à produire des énergies renouvelables, tout en affirmant qu’elles seraient bon marché.
Les panneaux solaires ne semblent pas rentable en France avec le nucléaire. Peut-être pour chauffer un ballon d'eau chaude à la place de produire de l'électricité?
Ask yourself these questions:
- How often are new posts published?
- Is the content interesting enough?
- Does the host look after their blog?
- What do you know about the host(s)?
A rule of thumb: "If, after reading 3–5 posts, you’d be disappointed not to see the next post, it’s probably worth subscribing."
Upload the JSON output of the stats and visualize it
Bonjour, votre vie privée et votre sécurité sont d'une importance capitale pour QAPA. C'est pourquoi nous vous informons que notre plateforme été victime d'une cyberattaque, affectant la confidentialité de certaines de vos données personnelles.
Se traduit en:
Votre sécurité est d’une importance capitale pour nous, c’est ainsi que nous avons sous-financé nos équipes IT de 80% et que vos données sont donc dans la nature.
Quelques idées d'actions pour s'engager.
Le code source montre que le dernier jours, l'action est d'ouvrir un compte au crédit coopératif (sans blague).
Les autres conseils semblent utiles cependant.
Following the news "Hacktivist deletes white supremacist websites during conference" https://shaarli.lyokolux.space/shaare/qIBhfA
An other VCS that shifts the git model
ReliCSS is a "CSS hack" detection tool designed to help developers identify and replace outdated browser-specific CSS hacks with modern, standards-compliant alternatives.
Real-time "CSS hack" detection and analysis with instant feedback
Context-aware modern CSS suggestions
Client-side processing - your code never leaves your device
Differences:
light-dark()requires acolor-schemeprefer-color-schemedoesn't consider thecolor-scheme
Always plaintext.
The app is deployed with a shortcut.
So the workflow is simple:
- Read a post in the browser
- Click “Edit” hyperlink to open plain-text file in native app
- Make changes
- Fire Shortcut to trigger a build
A script add the link "Edit" when the URL contains ?edit=true