383 private links
Seeds data automatically for databases. It's marketing tells it's more automated than fakerJS.
Rust provides a single binary (lightweight compared to JS and more cache-efficient for Docker layers)
(via https://www.reddit.com/r/rust/comments/1r1emah/rewrote_my_nodejs_data_generator_in_rust_20x/ which seems generated by AI)
The goal was to show how you can use patterns from the GOV.UK Design System to design complex case working systems.
The prototype was complete user flows with URL changes. No validators, only examples of flows with the existing design system.
That’s 100x harder to do with Figma. The audience is focused on the Figma navigation instead of experiencing the design. It also hides problems: transitions, loading states, error states adn edge cases.
How to prototype in Rust?
- use simple types: String, Vec
, Box , Rc and Arc<Mutex > to avoid ownership and lifetime issues. - make use of type inference
- use
.unwrap(), and quick context withbail!()undwith_contextof the crateanyhow - run the code (and tests) automatically with
bacon - have a look to
cargo-script - Use
println!anddbg!for debugging:dbg!has advantages such as printing file name and line number, outputs the expression adn less syntax-heavy.dbg!(x) - Design through types
- rely on the
todo!macro - rely on the
unreachable!for assumptions of dead code branches: it documents assumptions - rely on
assert!for invariants: it documents assumptions - avoid generics and lifetimes: use concrete types and owned types
- keep a flat hierarchy (of files), then only starts playing with mod around. All in the same file.
- start small
A way to generate a gradient color depending of a main color. Applied with https://www.opensourcecolorsystem.design/system, it can be awesome :)
A website prototyping tool. Similar to Figma as far as I know.
The project is available on Github: https://github.com/penpot/penpot
Prototyping software