惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
IT之家
IT之家
Y
Y Combinator Blog
T
Tailwind CSS Blog
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
J
Java Code Geeks
F
Fortinet All Blogs
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog

Rc-2020 on Julia Evans

Day 57: Trying to set up GitHub Actions Day 56: A little WebAssembly Day 53: a little nginx, IPv6, and wireguard Day 52: testing how many Firecracker VMs I can run Day 51: Fixed my logging and made a couple of puzzles Day 50: Building some tarballs for puzzles, and trying to make a kernel boot faster Day 49: making the VMs boot faster Day 48: Another Go program, and a little vim configuration Day 47: Using device mapper to manage Firecracker images Day 46: debugging an iptables problem Day 44: Building my VMs with Docker Day 43: Building VM images Day 42: Writing a Go program to manage Firecracker VMs Day 41: Trying to understand what a bridge is Day 40: screen flickering & a talk about containers Day 39: Customizing gotty's terminal Day 38: Modifying gotty to serve many different terminal applications at once Day 37: A new laptop and a little Vue Day 35: Launching my VMs more reliably Day 34: Learning about qemu Day 33: pairing is magic and beautiful git diffs Day 32: A Rails model that doesn't use the database with ActiveHash Day 23: a little Rails testing Day 22: getting OAuth to work in Rails Day 21: wrangling systemd & setting up git deploys to a VM Day 19: Clustering faces (poorly) using an autoencoder Day 20: trying to figure out how Google Cloud IAM works Day 18: an answer to an autoencoder question Day 17: trying to wrap my head around autoencoders Day 13: BPTT, and debugging why a model isn't training is hard
Day 24: a short talk about blogging myths, and a debuggin...
Julia Evans · 2020-12-11 · via Rc-2020 on Julia Evans

Today at RC I gave a 10-minute talk about blogging myths. I might turn it into a blog post later, but for now I’ll just post the slides.

“blogging myths” slides

The myths are:

  1. you need to be original
  2. you need to be an expert
  3. posts need to be 100% correct
  4. good bloggers don’t write bad posts
  5. you need to explain every concept
  6. page views matter

Here’s a link to the slides on speakerdeck, though the aspect ratio there is broken for some reason as I’m writing this.

debug by adding print statements to a library’s code

I was debugging with someone today and I was reminded of one of my favourite debugging techniques!

Sometimes when I’m debugging, I’m using a library, and I’m getting an error, and I have NO IDEA why and all the Googling in the world just does not tell me anything useful.

When this happens, I like to:

  1. grep the library’s code for the function/class I’m trying to use (or the error I’m getting)
  2. add extra print statements to the library to give me more information
  3. figure out the bug
  4. remove the print statements

This works really well with Ruby / Node / Python / Go – anywhere where it’s normal to have a directory like node_modules with all the code for all your dependencies where you can easily edit & rerun the code.

Occasionally doing this helps me find a bug in the library, but 90% of the time the problem is with my code and it just helps me understand how the library is actually supposed to work.