Better HN
topnewbestaskshowjobs
Log inSign up

witcher

66 karma · joined Dec 25, 2016 (9y ago) · 46 submissions

https://bwplotka.dev
Submissions

comment 2w ago · link · parent

That's fair. One clear thing is that you completely miss allocations.

Having a richer standard way to make benchmarks (with allocs), review them, profile them would improve our agentic workflows IMO

comment 2w ago · link · parent

Can you elaborate? And what effects it can have in practice? (:

comment 3w ago · link · parent

Heh thanks!

I wasn't the first one, Michael Pratt from the Go team did something similar 2y ago ((:

https://github.com/prattmic/benchfmt-convert

4.

Benchfmt.rs: Bringing Go's benchmarking and benchstat workflow to Rust(bwplotka.dev ↗)

31 points · by witcher · 3w ago · 8 comments

comment 10mo ago · link · parent

Yea, curious too about some more rules e.g. both parties has to contribute to the discussion (:

comment 10mo ago · link · parent

Quite a thoughtful way to adapt exams to wave of new tools for students and learn on the way.

I wished other universities adapt so quickly too (and have such a mindful attitude to students e.g. try to understand them, be upfront with expectations, learning from students etc).

Majority of professors are stressed and treat students as idiots... at least that was the case decade a go!

comment 1y ago · link · parent

(author of the blog post here)

What! I was git gui user for decade and didn't notice this feature =D But yea, git gui is amazing overall. I don't think it's maintained anymore though.

BTW lazygit offers that too and it's a bit easier to discover and use (e.g. you don't need a mouse).

comment 1y ago · link · parent

force with lease has been used in lazgit already AFAIK, see: https://github.com/jesseduffield/lazygit/discussions/4068#di...

comment 1y ago · link · parent

(author of the blog post here)

Fully agree!

1. Yes, it's been a frustration initially, but it has a nice benefit - it forces you to use native features (e.g. patch based copy/reset). Apparently it's on the radar, but not implemented yet: https://github.com/jesseduffield/lazygit/issues/4365#issueco...

2. Yes, see https://news.ycombinator.com/item?id=45898167 discussion. Using IDE is great if all your machines has this IDE installed (and GUI in general). The stability (graphical layout) is likely changing often though.

comment 1y ago · link · parent

(author of the blog post)

Yes, I think it's a reasonable option if you use vscode on all your dev machines.

We discussed this in another thread: https://news.ycombinator.com/item?id=45898167

comment 1y ago · link · parent

(author of the blog post here)

Oh yes, I use lazygit as a separate binary (brew installed) from separate terminal shell all the time. No need for nvim!

Great to hear you can neatly configure similar UX (popup) with tmux!

comment 1y ago · link · parent

(author of the blog here)

That's a great point. I should have mention the IDE Git UIs, def a nice option and sounds like the JB one works well for you!

I do use it heavily for "annotating git blame"!

I've never consider using JB Git UI fully mainly because of the point made earlier, so stability (https://news.ycombinator.com/item?id=45898089). Once you learn, especially visually, you don't want cosmetic changes. IDEs change yearly to stay "consistent".

Another point is portability. E.g. I didn't want to pay for personal use of JB (so rare case), so I have to use different IDE. Separate tools (especially free and OSS) is a big advantage. Not mentioning ability to use it on remote shells or different machines!

lazy git offers 1, but 2 and 3 points are interesting. Wonder if there's an easy way to compare commits and filter commits by user and folder in lazygit. (:

EDIT: Actually, I also use JB for conflict resolutions ;P so not entirely 100% lazygit flow.

comment 1y ago · link · parent

Makes sense, thanks!

comment 1y ago · link · parent

(author of the blog post here)

I think there's a learning around stability of devtools here. It takes time to get used to things, but once you do you are ultra productive. That's why IDE Git UIs are not ideal, because the graphics change so often, confusing you more than helping etc.

I got stuck to git gui / gitk for so long for this reason, I couldn't parse other UIs e.g. for diffs until I forced myself to have a less productive time to learn new UI.

I hope lazygit is stable - I think I might need to construct some stable config for visuals / colors to ensure this! (:

comment 1y ago · link · parent

Should be now fixed, 6k views was too much for a free tier! Thanks for archive link

16.

Optimizing In-Process gRPC with Go 1.23 Iterators and Coroutines(bwplotka.dev ↗)

5 points · by witcher · 1y ago · discuss

17.

Leveraging Benchstat Projections in Go Benchmark Analysis(bwplotka.dev ↗)

3 points · by witcher · 2y ago · discuss

comment 3y ago · link · parent

Thanks for sharing!

This is epic prove that we can still learn a lot from developers in 1980! Recently wrote "Effient Go" book and there were tons of valuable info from that era, and we usually skip this knowledge thinking it's irrelevant.

comment 3y ago · link · parent

Same feeling.

Yet, it is on top of HN (: Humans are interesting!

comment 4y ago · link · parent

Amazing write up! Something I would add as open source maintainer:

* Feedback is needed. After years I built up a filter to annoying users, and I would simply ignore their feedback, but +1 and mentioning the feature would be useful is invaluable (and why you cannot use workarounds). Please do that in a nice, productive way (:

* It might be that the feature you and others are asking for was in paid version of the project, thus maintainers actively ignored it. Not the healthiest thing to do, but this happens, business matters, especially if governance is poor (single vendor behind the project).

* I think it would be useful to mention that if it's just a work needed and not other blocker, anyone would be welcome to create PR for the needed feature or at least moving it forward 10%. Sometimes faster that motivating your rights in issues (:

comment 4y ago · link · parent

Finally seeing Apache Parquet and Apache Arrow used with Go efficiently and effectively!

Great job. Looking forward to exploring this more in the Prometheus and CNCF Ecosystem.

The underneath library used (https://github.com/segmentio/parquet-go) looks amazing too!

comment 4y ago · link · parent

(Bartek here: I co-started Thanos and maintain it with other companies)

Thanks for this - it's a good feedback. It's funny you mentioned that, because we actively try to reduce the number of running pieces e.g while we design our query sharding (parallelization) and pushdown features.

As Cortex/Mimir shows it's hard - if you want to scale out every tiny functionality of your system you end up with twenty different microservices. But it's an interesting challenge to have - eventually it comes to trade-offs we try to make in Thanos between simplicity, reliability and cost vs ultra max performance (Mimir/Cortex).

comment 5y ago · link · parent

Sure, you can fake that you do the job in any role if you want. Question is, do you enjoy doing this, going to such work every day?

comment 5y ago · link · parent

Great initiative! Thank you for doing this, it's definitely nice from your side to spend time on community, especially if you have strong opinions on README look.

I wonder only, how to scale it (: Is there a way for anyone to help with this effort, while not spending O(n) time. Automation?

25.

Effortless Versioning of Go Tools for Your Project? BinGo(bwplotka.dev ↗)

8 points · by witcher · 6y ago · discuss

26.

How Would Thanos Program Software in Go?(bwplotka.dev ↗)

27 points · by witcher · 6y ago · discuss

comment 6y ago · link · parent

Nice!

comment 6y ago · link · parent

I am k8s dev, but also I think Helm is antipattern. Still thanks for sharing your experience, who knows, maybe worth to look again on Pulumi. (:
12