I've come to see any database other than sqlite as premature optimisation. Running a separate DB process, securing it, backing it up: they're all more hassle with production DBs.
I'm not sure what the key-value or document store equivalent is though.
miniblog.
Sometimes it's nice to have super ambitious side projects, but sometimes it's nice to tinker with simpler features. Today, I'm mostly writing CSS :)
"it’s safer to add or remove classes on a specific HTML node than to add or remove styles in a class that applies on many elements"
A defence of utility-first CSS, and how semantic classes can convey less information: https://frontstuff.io/in-defense-of-utility-first-css
GitHub is developing a mobile app for both iOS and Android: https://github.blog/2019-11-13-universe-day-one/#mobile
Their site works well on mobile browsers, but this seems like a great move. There's a lot you can do from the desktop browser today that's hard from a phone.
Writing a fast lexer: many parts of a compiler toolchain (other than optimisation) are O(N), and the lexer has the largest values of N.
A walkthrough showing different designs and performance considerations.
https://nothings.org/computer/lexing.html
Another Intel speculative execution vulnerability: https://mdsattacks.com/
Designing a GUI library for Rust, and an excellent overview of the many different approaches taken in GUI frameworks: https://raphlinus.github.io/rust/druid/2019/10/31/rust-2020.html
An amazing use case for wasm: deterministic, safe and fast macros in Rust, even though they're running arbitrary code!
https://github.com/dtolnay/watt
"The phrase the Rust team members like to use is that they’re trying to make the best 90’s era programming language they can."
Thoughtful comparison between Rust and Haskell.
https://www.fpcomplete.com/blog/2018/11/haskell-and-rust
Excellent deep dive on how Rust has polished its compiler errors for async:
https://blog.rust-lang.org/inside-rust/2019/10/11/AsyncAwait-Not-Send-Error-Improvements.html
Rust's model of async-await is really interesting. They chose a suffix syntax (`foo.await` instead of `await foo`) because it composes better!
The evaluation model is also lazy: creating a future does nothing until it's awaited. https://blog.rust-lang.org/2019/11/07/Async-await-stable.html
Sentry is moving to license that prevents others from offering paid services.
It's stricter than AGPL, which allows others to host if they share source. It's really interesting to see a license that becomes more open after a certain period!
https://blog.sentry.io/2019/11/06/relicensing-sentry
In 24 years of Perl on CPAN, you can see a clear trend to spaces over tabs!
From https://squareperl.com/en/tabs-vs-spaces-in-millions-of-perl-files
Reading the future with Emacs, or why M-n is useful in the minibuffer:
https://engineering.collbox.co/post/working-faster-in-emacs-by-reading-the-future/
(An excellent Emacs tip, which works in deadgrep too!)
The RustSec database is organised and thorough. It's much harder to have memory vulnerabilities in Rust, but they do happen!
https://rustsec.org/advisories/CVE-2019-12083.html
Wonderful Strange Loop talk demonstrating Comby, a very simple parser with an elegant pattern language for large scale refactoring.
https://youtu.be/JMZLBB_BFNg
@amiloradovsky@functional.cafe If he hadn't understood my shortened version, I'd have ended up saying that :)
Wonderful Strange Loop talk demonstrating Comby, a very simple parser with an elegant pattern language for large scale refactoring.
https://youtu.be/JMZLBB_BFNg
Thoughtful article exploring upfront design versus evolutionary design, and contrasting with Worse Is Better.
The comments on the post is an impressive set of tech people too.
https://yosefk.com/blog/what-worse-is-better-vs-the-right-thing-is-really-about.html
Showing 81-100 of 736 posts