bitfield | 5 years ago | on: Rust vs. Go
bitfield's comments
bitfield | 5 years ago | on: Rust vs. Go
bitfield | 5 years ago | on: Rust vs. Go
bitfield | 5 years ago | on: Rust vs. Go
bitfield | 5 years ago | on: Rust vs. Go
A more useful way to think about it might be to ask whether such languages make vulnerabilities less likely, and for certain types of vulnerability (buffer overflows, for example), they absolutely do.
bitfield | 5 years ago | on: Rust vs. Go
bitfield | 5 years ago | on: Rust vs. Go
bitfield | 5 years ago | on: Do's and Don'ts of Code Review
A commercial software project will also have a 'house style' which all contributors are required to follow. It's okay to withhold approval on this basis.
What I think you're saying, and I agree with it, is "don't withhold approval just because this isn't your style".
bitfield | 5 years ago | on: Ask HN: What resource do you recommend to start with Test Driven Development?
bitfield | 5 years ago | on: Building a Golang Docker Image
bitfield | 5 years ago | on: Building a Golang Docker Image
I'll make that change, thanks for the suggestion.
bitfield | 5 years ago | on: Generics in Go: a friendly, down-to-earth tutorial
bitfield | 6 years ago | on: Two Years with Rust
bitfield | 6 years ago | on: How should I split equity?
bitfield | 6 years ago | on: Ask HN: How are people best using their mentoring sessions?
A good mentor can pick this up, and is constantly checking to see if the mentee is really understanding, or whether they're just saying "Uh-huh". But it's a two-way process. Sometimes you will genuinely struggle to get something, and that's okay—everybody finds different things easy or difficult. If this is happening, just say "Sorry, I'm having trouble with this. Can you go through it again?" The mentor absolutely won't mind doing this. They're not here to look smart, they're here to help you learn something, and until that's happened, they haven't done their job. [If they do mind, get another mentor.]
bitfield | 6 years ago | on: Ask HN: How are people best using their mentoring sessions?
In general, I think it's worth taking a bit of time to establish exactly what it is you expect to get from mentoring, and how you and the mentor are going to work together to achieve that. For example, if you want to get and pass the interview for your dream job, that's an objective you can both work towards. Or maybe your goal is just something "feel confident writing non-trivial Go projects from scratch". You can then agree a plan of action that gets you there.
Next, establish how you're going to work together. A regular meeting is probably best, whether that's in person or by remote. Find a time that works for both of you. If you're working on a real-life project, as opposed to an exercise, will both you and the mentor contribute to it individually, as well as pairing on it together? Or will the mentor just be giving you code reviews? Will the mentor give you homework, exercises, and reading to do in between sessions? If so, agree what the expectations are. Don't assume you will have any free time at all to work on this stuff—most don't!
Finally, and this may seem obvious, as the mentee, this process is not always going to be easy for you. You are basically surrendering yourself to someone else (possibly a stranger) and saying "You know better than me. Please teach me." If you're an engineer, for example, that probably doesn't come naturally to you. It doesn't to me.
When you find yourself feeling frustrated, as you may well do, or even angry, try to keep calm. If the mentor's advice seems to make no sense to you, ask them to explain, and keep asking until you understand it. If you understand it, but don't agree with it, don't argue; this is tiresome for both parties. Default to assuming the mentor is right and you are wrong. After all, you're here because they know more than you do. This is bound to mean that some of the things you think you know are actually wrong, isn't it?
bitfield | 6 years ago | on: Dips and wiggles: monitoring site perf. with Checkly, Prometheus and Grafana
That's surprisingly close to what one of my contributors wrote in the piece:
> My take: Go for the code that has to ship tomorrow, Rust for the code that has to keep running untouched for the next five years.