Paul Carleton's blog
  • Home
Subscribe
obseravable

Embedding Observable notebooks into a blog

Paul Carleton

Jul 2, 2020 • 1 min read

This post is an Observable notebook! Follow that link to edit or fork it.

Sign up for more like this.

Enter your email
Subscribe
Rust: What to pick for the Error type when writing your own Result type

Rust: What to pick for the Error type when writing your own Result type

The Result type in rust is great! Combined with the ? operator, it makes error handling much more concise than other languages. Consider ? vs: Go: if err != nil { return nil, err }Java:  try { ... } catch { ... } & throwsWhen defining my own Result<T, E> type, leaving the T generic is really

Paul Carleton Apr 28, 2021 • 4 min read
Observable + bean-count

Observable + bean-count

Two of my favorite tools lately are Observable (observablehq.com) (a long time favorite for quickly prototyping javascript and creating interactive visualizations) and bean-count (a more recent addition for doing "hobbyist double entry accounting" (a special form of "fun")). fava is a great open source web UI for bean-count that

Paul Carleton Apr 20, 2021 • 3 min read

Learning Mutability in Rust

I'm writing Rust for the first time in awhile, and I ran into an issue with mutability, that I figured I'd write up. The thing I was trying to do was have a Client that creates an XML response body, and then makes a request to a server.  There are

Paul Carleton Mar 14, 2021 • 2 min read
Paul Carleton's blog © 2022
Powered by Ghost