News for hackers. Stuff that matters.
Re:Drunk Post: Things I've Learned as a Sr Engineer by swader999 on Sunday May 30, 2021 @12:29PM (#27334368)
Logging at the boundaries or seems is especially helpful.
Re:Drunk Post: Things I've Learned as a Sr Engineer by fighterpilot on Sunday May 30, 2021 @01:15PM (#27334752)
Can you elaborate on what you mean by a boundary? You mean logging the interface between two services or modules?
Re:Drunk Post: Things I've Learned as a Sr Engineer by mikepurvis on Sunday May 30, 2021 @01:23PM (#27334817)
Boundaries between anything. I recently was dealing with an issue in a Jenkins pipeline, where I didn't realise that state was being serialized to string form between job stages until I explicitly logged it out. The thing that was a list in the previous stage was suddenly a string, but then Groovy would happily accept the join method on a string because it's still an iterable. Auuugh.
Re:Drunk Post: Things I've Learned as a Sr Engineer by swader999 on Sunday May 30, 2021 @01:31PM (#27334890)
Both these above are great answers. It's a bit of an art.