Andrew Watson
awwsmm.bsky.social
Andrew Watson
@awwsmm.bsky.social
Scala / Rust developer. Physicist. Ottawan.
There is No Such Thing as a Unit Test
Thinking differently about software testing paradigms
www.awwsmm.com
November 2, 2024 at 3:07 PM
Twenty-six years ago today, #Google was incorporated in Menlo Park, CA. Only a few months later, Excite CEO George Bell turned down an offer to buy the company for $750k. Alphabet, Inc. (Google's parent company) is now valued at over $2T.

https://buff.ly/2MADJZ8

#software #business #investment
September 4, 2024 at 2:00 PM
#UI: we designed our windows to look just like our doors for a sleek, modern, consistent design

#UX: https://buff.ly/3YPzXAw

If it's not obvious how you should interact with some interface, it's not your fault -- it's bad #design.

https://buff.ly/2LN79kj
August 23, 2024 at 2:00 PM
"The human desire to be creative and express one's individuality does not end where a keyboard begins... code can be used as a medium to create art, but it can also be art itself."

https://buff.ly/3WX3UfM

#programming #software #esolangs #ioccc #genai #cleancode #codegolf #art #visualart
Code as Art
Computer programming as an art form in and of itself
buff.ly
August 17, 2024 at 3:01 PM
I think every #API should have a /help endpoint, similar to -h / --help flags in command-line programs. When #documentation is not readily available, /help endpoints have the potential to greatly improve the #discoverability of an API. See also: https://buff.ly/46EbuQR

#software #development
buff.ly
August 11, 2024 at 9:38 PM
When building #distributedsystems, assume

1. The #network is unreliable
2. Latency != 0
3. Bandwidth != ∞
4. The network is insecure
5. Network topologies change
6. Multiple administrators exist
7. Transport cost != 0
8. The network is heterogeneous

https://bit.ly/4fwUBeI
#software #development
August 5, 2024 at 2:00 PM
"It is better to remain silent at the risk of being thought a fool, than to talk and remove all doubt of it."
June 27, 2024 at 12:16 PM
"After handling any active production incidents, the first thing on a developer's // TODO list should always be reviewing code."

Some advice for being a team player on a #software dev team. #programming

www.awwsmm.com/blog/drop-ev...
Drop Everything and Review
On prioritizing code review when developing software
www.awwsmm.com
April 22, 2024 at 2:57 PM
Over the weekend I spent some time digging into #Bevy and learned about const generics in #Rust. They are a really cool feature that can make items generic over _specific values_ rather than over types! #gamedev #bevyengine

www.awwsmm.com/blog/what-ar...
What Are Const Generics and How Are They Used in Rust?
Understanding const generics in the Rust programming language with a few examples
www.awwsmm.com
March 25, 2024 at 2:56 PM
Recently, I've been learning #Bevy by dissecting an example App every day. I just finished a deep dive into cameras: how to select them, and how to translate, rotate, and zoom. I've still got lots of official Bevy examples to explore. Follow along at github.com/awwsmm/daily...

#rust #gamedev
GitHub - awwsmm/daily-bevy: learn bevy by exploring a small example (almost) every day
learn bevy by exploring a small example (almost) every day - GitHub - awwsmm/daily-bevy: learn bevy by exploring a small example (almost) every day
github.com
February 4, 2024 at 1:31 PM
Make invalid states unrepresentable. Use types and let the compiler do the hard work of data validation for you. #programming #scala www.awwsmm.com/blog/make-in...
Make Invalid States Unrepresentable
Use types and let the compiler do the hard work of data validation for you
www.awwsmm.com
February 1, 2024 at 8:51 PM
Interested in gamedev in Rust ? Me too! So I put together this bare-minimum tutorial for using SDL2 and compiling a pure Rust app to WASM ! Making browser games in Rust with WebAssembly just got a bit easier github.com/awwsmm/hello...
GitHub - awwsmm/hello-rust-sdl2-wasm: A Rust repo which uses SDL2 for user interaction, and which ca...
A Rust repo which uses SDL2 for user interaction, and which can be run locally or compiled to WASM and run on the web - GitHub - awwsmm/hello-rust-sdl2-wasm: A Rust repo which uses SDL2 for user in...
github.com
January 15, 2024 at 2:45 PM
Over the holiday break, I created an #IoT MVP in #Rust and wrote up my thoughts about the experience. I’d love to hear your thoughts! www.awwsmm.com//blog/what-t...
What This Senior Developer Learned From His First Big Rust Project
Building a Rust IoT MVP over the Holidays
www.awwsmm.com
January 8, 2024 at 6:31 PM