miniblog.

Fedora Silverblue is an interesting immutable Linux distro. It's like a LiveCD (e.g. Knoppix) but you can create new versions (like LVM snapshots). https://www.redhat.com/sysadmin/beginners-guide-silverblue
Chromium exploring using Rust, discussing their safety, ergonomic and performance requirements: https://www.chromium.org/Home/chromium-security/memory-safety/rust-and-c-interoperability
This comparison of OpenSmalltalkVM and TruffleSqueak is a really effective demonstration of JITs. TruffleSqueak initially has a lower framerate, but eventually exceeds OpenSmalltalkVM. As soon as the GUI is used (at 3:30), the framerate drops again!
I really value builds, lints and coverage metrics on pull requests. This still feels like an underexplored area though. There's no Travis equivalent AFAIK for performance. I'd love to have automatic benchmarking on contributions.
I find test coverage a useful thing to track, but I can't find a good metric. "Coverage decreased by 10%" sounds bad. If you're deleting pointless code that has tests, it's good! Perhaps total untested lines of code is better?
Docker Hub will start deleting images that haven't been pushed or pulled in 6 months: https://www.docker.com/pricing/retentionfaq I self-host most of my servers, but it's nice having all my images available on an external service.
A remarkable pure-Rust git implementation: https://github.com/Byron/gitoxide Not simply wrapping libgit2!
@meta Thanks, I'd not seen that before! https://en.wikipedia.org/wiki/Galapagos_%28video_game%29 Interesting it came out at the same time.
Xbox is moving to model where you can stream games, and the platform you're using (even PC!) matters less. https://www.businessinsider.com/playstation-xbox-console-wars-end-microsoft-sony-2020-1
Today I learnt that Haskell has *three* ways of changing what syntax means! Quasiquotation: https://wiki.haskell.org/Quasiquotation Template Haskell (like Lisp macros): https://wiki.haskell.org/Template_Haskell RebindableSyntax: https://ocharles.org.uk/guest-posts/2014-12-06-rebindable-syntax.html
Bevy is a game engine written in Rust with a superb project introduction: https://bevyengine.org/news/introducing-bevy/ Videos! Clear rationale! A ton of examples with screenshots of the results!
Today I needed a library that takes a regular expression and gives you a string that matches. https://github.com/fent/randexp.js fits that need nicely. Unfortunately, reading the docs has introduced me to evil patterns like /a^/ and /\1 (a)/. Yikes.
Emacs 27, with harfbuzz for fonts, arbitrary sized ints, native JSON parsing, and portable dumping replacing unexec! https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00237.html
Clojure is changing how entry points are handled, with a default convention for command line arguments: https://insideclojure.org/2020/07/28/clj-exec/ Re-examining what the main function looks like is a really good exercise!
I loved playing Creatures 3, an ancient game (1999) with some basic neural nets. I'm surprised that ML isn't a bigger deal in virtual pets today! https://en.wikipedia.org/wiki/Creatures_3
Interesting to see that Swift has adopted checked exceptions: https://docs.swift.org/swift-book/LanguageGuide/ErrorHandling.html I haven't seen many languages favour this feature after Java practices have gradually moved away from it.
I've realised the big advantage of teaching OO with physical analogies. It's well accepted that OO isn't just about modelling the eworld. Physical items are great for explaining subtyping. You can view types as subsets, and Ferrari <: Car <: Vehicle is intuitive.
Further optimising rustc, with a mix of direct performance work and improving the toolchain for benchmarking! https://blog.mozilla.org/nnethercote/2020/08/05/how-to-speed-up-the-rust-compiler-some-more-in-2020/
Code completion often assumes that there's nothing after the cursor. For example, when I'm writing CSS: padding-b|: 10px; I should still get completion for `padding-bottom`. This is a hard problem, but I've seen few IDEs handle this well.
My new go-to placeholder CSS colour is `teal`. It's way less garish than red or blue, and it's short to type.
Showing 1,341-1,360 of 7,508 posts