PHP is adding union types, and even has a 'false' type to clarify the possible return values from built in functions! https://wiki.php.net/rfc/union_types_v2
miniblog.
Clippy has a ton of clever lints I haven't seen before.
E.g. it suggests that `let _v = println!("hello");` could be `println!("hello");` because a variable of type () is pointless.
Warning about recursion in main is an excellent idea too.
https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-139
On sleep, human factors, and things that are known to improve performance more than technology choices: https://increment.com/teams/the-epistemology-of-software-quality/
Using spaced repetition apps with 1Password to help you memorise passwords without storing them in plaintext: https://boinkor.net/2018/11/memorizing-passwords-with-anki-1password/
Cute idea, although ideally a password manager minimises the memorisation necessary. It's a nice example of composing apps though.
A (slightly dramatic) history of Engelbert's vision for knowledge tools, his prototypes on early timesharing systems, and the transition to personal computers:
https://www.rheingold.com/texts/tft/09.html#Chap09
"Real languages start with all types on the left, and then drift to the right in old age. Like people."
Fun, tongue-in-cheek review of Rust.
https://www.theregister.co.uk/2019/11/27/in_rust_we_trust_stob/
As blog comments become increasingly less fashionable, I've often seen people write "email me instead".
Perhaps there's a compromise between these? A website could have a comment box that emailed the author. This minimises friction for commenters, but avoids spam on the site.
Excellent discussion of different types of comments, their value, with a ton of examples: https://antirez.com/news/124
I'm increasingly persuaded that the best kind of architecture diagrams are ASCII text art. It seems to be the only format that others will edit.
I keep seeing an antipattern where someone draws a comprehensive diagram and it keeps getting used even as it becomes less accurate.
After experimenting with emoji on a range of platforms, I've realised it's really hard to develop a good visual across different platforms.
Emoji rendering varies massively based on the system's default emoji set. I ended up using image rendering so all users get the same style. https://twitter.com/_wilfredh/status/1198699943592112128
I've seen steganography in images, but putting secret data in text is a clever idea: https://medium.com/@umpox/be-careful-what-you-copy-invisibly-inserting-usernames-into-text-with-zero-width-characters-18b4e6f17b66
The more available information is, the more I find I need to respond sooner.
Sure, I could respond to a message about meeting up at any point. But if I don't respond promptly, I rarely have the context to prompt me later.
I find "now or never" to be more common!
It's remarkable that memes are such an established medium that there are reference sites that research their origins: https://knowyourmeme.com/
Perhaps it will become a topic of scholarly research in time?
I'm finding myself using icon fonts like font awesome much less these days. There's a ton of emoji available without waiting for the browser to download a font.
The npm ecosystem is amazingly broad and deep. I can grab a utility library for choosing a random item from an array, or a part-of-speech tagger for analysing text!
Even vehicles come with apps! https://youtu.be/0JgCn8-aETA?t=276
Building a device that will automatically power cycle your router if you have no internet access! https://hackaday.com/2019/11/02/router-rebooter-without-the-effort/
It feels like a solution at the wrong level of abstraction, but it has a certain elegance.
MuZero is more general than AlphaGo and plays slightly better despite using less compute: https://venturebeat.com/2019/11/20/deepminds-muzero-teaches-itself-how-to-win-at-atari-chess-shogi-and-go/
Showing 1,641-1,660 of 7,508 posts