Waken's Blog

Welcome!

Home About Archive Tags

Copyright (c) 2020 github.com/wakenmeng

wasm-pack Build Bug: Use Version 0.9.1

Waken 2023-04-11
  • rust
  • wasm
  • wasm-pack

Hit a build error with wasm-pack. Solution: downgrade to 0.9.1.

Read More

Rust Traits: What I Wish I Knew Earlier

Waken 2023-04-10
  • rust
  • traits

Spent the day figuring out Rust traits. Here’s the mental model that finally clicked for me.

Read More

Fixing Emacs-mac 'file-missing doing vfork' Error

Waken 2022-10-15
  • emacs
  • debugging
  • doom-emacs

Emacs suddenly started throwing file-missing doing vfork errors on startup. Turned out to be an emacs-sqlite compilation issue.

Read More

RSS 2.0 vs Atom: The Relative URL Problem

Waken 2022-10-12
  • rss
  • atom
  • web

Was reading about RSS vs Atom feed formats. Found out RSS 2.0 has a fundamental problem with relative URLs.

Read More

Go: Slices Can Be Faster Than Maps for Small Collections

Waken 2022-10-10
  • golang
  • performance

Found an interesting article about Go slice search vs map lookup performance. The TLDR surprised me.

Read More

Rust: Stop Using mod.rs

Waken 2022-10-08
  • rust
  • conventions

Learned that mod.rs files are the old way. Rust 1.30+ has a better convention.

Read More

cargo-expand: See What Rust Macros Actually Generate

Waken 2022-10-08
  • rust
  • macros
  • debugging

Debugging Rust macros is painful. Compiler errors point to the macro invocation, not what it generates. cargo-expand fixes that.

Read More

Latency Numbers Worth Knowing

Waken 2022-10-08
  • performance
  • systems

Came across this classic post about computer performance numbers. Really puts things in perspective.

Read More
← Previous Next →

Copyright (c) 2020 github.com/wakenmeng