Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 26
  1. In the before times, I typically used a small, curated handful of git worktrees.

  2. Whenever possible, I leave my webcam off during internet meetings.

  3. I’ve played nearly every NYT Connections.

  4. When writing a service, it’s very easy to accidentally forget to check permissions or ownership of an object.

  5. Simpler backoff

    Exponential backoff with jitter is de rigeur for making service calls.

  6. Blog schism

    Lots of people don’t want to read about AI.

  7. Podcast ho!

    I have started a podcast, Significant Bits.

  8. I didn’t sit down this morning planning to write a grouchy blog post about Hugo.

  9. This post was originally tweets but then things happened, and it needed a new linkable home.

  10. Go templates (text/template, html/template) accept a single argument to render.

  11. Linus’s Famous Law: “Given enough eyeballs, all bugs are shallow.”

  12. Around this time in the Go release cycle, the Go team asks people to test Go betas and release candidates.

  13. Lookup tables are powerful micro-optimization tools, because they implement arbitrary transformations in cheap constant time.

  14. A small thing of which I am irrationally proud: I was the proximate cause for the addition of a sentence to the RISC-V ISA spec.

  15. This is the first blog post I’ve written that isn’t about Go, and it’s pretty weedy.

  16. Generating safer Go code

    It’s easy to forget to call go generate when you need to.

  17. As of Go 1.15, the Go runtime’s memory allocator doesn’t always allocate exactly the number of bytes required for an object.

  18. If you are desperate for 6% smaller Go binaries, this blog post is for you.

  19. Interning strings in Go

    This blog post covers string interning in Go.

  20. testing.B.ReportMetric

    My favorite new API in Go 1.13 is testing.B.ReportMetric.

  21. The Go 1 compatibility promise was designed to ensure “that Go 1 will be a firm foundation for the development of Go and its ecosystem.”

  22. Go program execution doesn’t start at func main.

  23. This post is about some new compiler optimizations scheduled for Go 1.9, but I want to start with logging.

  24. If you work on a short-lived, allocation heavy program and care about a tiny (maybe 0.5%) performance improvement, this post is for you.

  25. This post is about a little-known way to make compile-time assertions in Go.

  26. new(Blog)

    I’m going to try this blogging thing again.