TIL that the HDMI specification is not public, so it's hard to write OSS drivers:
Wilfred Hughes
An incredible 7 minute demo of APL, going from constructing an array to visualising Conway's Game Of Life, built incrementally without loops or temporary variables:
Wilfred Hughes
I'm amazed to learn that there is now a marketplace for buying and selling good prompts to midjourney/ChatGPT etc!
You pay and you receive a prompt that generates good results. For example:
Wilfred Hughes
PYPL: PopularitY of Programming Language
https://pypl.github.io/PYPL.html is a nice PL metrics tracker that's an alternative to TIOBE.
It has a clear methodology and it carefully chooses keywords to avoid e.g. Python metrics being affected by interest in snakes.
Wilfred Hughes
I've released difftastic 0.46! In this release:
* Ada support
* Support for Arduino C++, better TOML handling, and a ton of upstream grammar updates
* Fixed several nasty corner cases with trailing whitespace or binary/UTF-16 confusion
Wilfred Hughes
TIL that Rust has a (i) icon that shows relevant traits that a type implements. This is useful to understand that e.g. .iter() on a Vec<T> iterates with &T.
https://doc.rust-lang.org/std/vec/struct.Vec.html#method.iter
It looks like one of my bug reports was mentioned, so I'm delighted but wish I'd noticed earlier!
Wilfred Hughes
What piece of syntax has the most different meanings?
I realised today that `as` is extremely overloaded. It can be used for aliasing imports (Python), type casts (Rust), binding pattern match variables (OCaml), type assertions (Hack) and probably many others.
Wilfred Hughes
I'm fascinated to learn that there's a black market for GitHub stars:
https://dagster.io/blog/fake-stars
E.g. they can be financially valuable if you're trying to raise money for your start-up.
Wilfred Hughes
Plan9: exploring a radically different operating system and UI design, running it on a Raspberry Pi:
https://thedorkweb.substack.com/p/a-week-with-plan-9Wilfred Hughes
In OCaml I can use Merlin to destructure `flavour ()` and it gives me the whole `match flavour () with | Vanilla -> ()`. It's nice.
In Rust I have to write `match flavour() {}` before rust-analyzer can autofill the match arms, which is more typing. I'm not sure why.
Wilfred Hughes
GitHub is adding a notion of a queue for pull requests, so you know if your PR is green relative to the PR that will land first!
Reminds me of Bors for Rust.
Wilfred Hughes
It's surprisingly fiddly to parse unfinished multiline expressions in a REPL.
In Garden, my toy language, the parser distinguishes 'incomplete' from other others, so I can keep appending text and re-parsing until something useful comes out.
Wilfred Hughes
The Tomorrow Corporation has built its own game programming stack with live reload, time travel debugging, and even the ability to serialise the entire game state and replay it between testers!
Wilfred Hughes
Solving Fizzbuzz using Euler's totient theorem rather than conditionals:
Wilfred Hughes
@nachobarrientos@emacs.ch Gosh, really? Helpful has reasonable unit tests IMO, although it definitely uses a bunch of obscure Emacs APIs.
Wilfred Hughes