362 private links
A valid minimal HTML page
- avoid uneccessary default features
- use specialized lighter crates
The migration schematics automate code changes between angular versions
I have the same idea for a node js backend serving a fancy UI :)
It would be better to split the UI and the server while developing to benefit from hot reloading.
Example: https://git.sr.ht/~pyrossh/rust-embed/tree/master/item/examples/axum-spa/main.rs
- relying on shared mutation
- treat the compiler as something trying to help
- ignoring proper module organization
You have to unlearn a few habits.
- Writing Rust code like other languages
- Neglecting the most important 20% of Rust. Trying to learn everything at once: you don't need to learn all at once. Focus on the 20% that gives the 80%.
- Being a productive procrastinator: watch a video or read a blog post.
- Thinking you can vibe code Rust like JS...
Hands on practice! The programmer has to internalize the concepts of Rust. Getting a grasp is not enough.
A points on many HTML tags (aside, mark, section, hgroup, video, progress, base): how to use them. Many good tips or rules to follow.
The CSS @import rule, [attr$=value] is a CSS selector for suffix values, box shadows with inset, cursor: zoom-in
Translated pages with <link rel="alternate"> and hreflang
Some usages such as HTML in script to reuse them as <template />, gpt or instappaper_ignore class names
The web is big and messy and bloated, and there are lots of reasons to be pessimistic about the state of modern web development – but there are also lots of people doing cool and interesting stuff with it.
Replace the standard DefaultHasher to ahash::{AHashMap, AHashSet} to gain 18% improvements.
I don't understand some things here
A transition to open or close a modal
- gen blocks: similar to python generators as far as I understand. They are lightweight compared to the classic Iterator pattern
- default field values (and avoid new() for it)
- inner structs
- never type
- try expressions
The ability to run scripts is also a great feature imho.