r4victor

Joined 8 years ago

Karma
891
Submissions
102
Member since
Jan 9
I write about how things work at https://tenthousandmeters.com/.

--

View on Hacker News

Recent submissions

Comment · 8 months ago
Comment · 8 months ago
It seems modern statically-typed and even dynamically-typed languages all adopted this idea, except Go, where they decided zero values represent valid states always (or mostly).

A sincere question to Go programmers – what's your take on "Parse, Don't Validate"?

Comment · 9 months ago
Super cool! It recommended me Scalene Python profiler (https://github.com/plasma-umass/scalene), which looks very interesting – I haven't heard about it before..
Comment · 9 months ago
Comment · 9 months ago
Yes! I also got bitten by format_on_save when working with legacy projects with inconsistent formatting. Given another discussion I saw, the maintainers didn't think about this use case much, i.e. "why don't you want to have a proper formatting?". It can be turned off now, so not sure if they'll change the default.
Comment · 9 months ago
Hmm, I found Zed to consume battery less than VScode on my M1 MBP. It's ~100 vs ~200 12h power consumption on average according to Activity Monitor. Do you compare it to VSCode?
Comment · 9 months ago
That's a good idea. I considered VSCodium but the issue is that I used VSCode's proprietary extensions such as Pylance. So it would require to switch to OSS replacements at which point I decided why wouldn't give Zed a try – it has a better feeling by not being an Electron app.

I think VSCodium is a good option if you need extensions not available in Zed.

Comment · 9 months ago
Comment · 9 months ago
Is it on linux?
Comment · 1 year ago
So far I prefer the Hashimoto's solution to this that "AI tooling must be disclosed for contributions": https://news.ycombinator.com/item?id=44976568

I use it like this: If a PR is LLM-generated, you as a maintainer either merge it if it's good or close if it's not. If it's human-written, you may spend some time reviewing the code and iterating on the PR as you used to.

Saves your time without discarding LLM PRs completely.

Comment · 1 year ago
Their twitter says

> Joined November 2017

so likely a bit older :)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton