durin42

Joined 18 years ago

Karma
1,662
Submissions
297
Member since
Jun 28
Version control hacker. Amateur musician.

raf <at> durin42 <dot> com

[ my public key: https://keybase.io/durin42; my proof: https://keybase.io/durin42/sigs/bWQCMC2edYlAMpNHJiF2tPTXnHNm1TllOYQGaDDS8as ]

View on Hacker News

Recent submissions

Comment · 11 months ago
I asked sometime in 2024 and I got a pretty clear response that local/self hosting is not planned.
Comment · 1 year ago
> That's how I look when I'm excited

I can confirm this (we've worked together)

Comment · 6 years ago
Or listen to Daniel Berlin, who's both an accomplished GCC hacker and a lawyer:

https://news.ycombinator.com/item?id=9956542 https://news.ycombinator.com/item?id=13979443

This isn't settled law, and DannyBee would be quick to point out that the practice of law has a major component of risk management.

Comment · 7 years ago
1) hg absorb

2) hg-git exists, and there's other things afoot that should be better

Comment · 7 years ago
Please feel encouraged to report a bug about histedit slowness with some details so we can try and reproduce and consider a fix.
Comment · 7 years ago
Piper still exists, but Mercurial is a viable client tool to interact with Piper's version history.
Comment · 8 years ago
Sounds a lot like https://twitter.com/indygreg/status/1028097388261433344 - I'm pretty sure Greg was working with hg when he noticed this issue.

In any event, if you're enthusiastic about this kind of thing, we'd love to have more eyes on making hg checkouts consistently fast, even in the face of filesystems undermining those efforts. ;)

Comment · 8 years ago
How long ago was this? And what OS? I know we're faster than unzip on some platforms, but IIRC we just found a pretty awful performance issue on...linux? I think?... that meant our parallelized approach to writing files was burning a ton of time in the kernel filesystem locks or something.
Comment · 8 years ago
You might find https://github.com/jcs/bitwarden-ruby an interesting hosting alternative, FWIW.
Comment · 9 years ago
> rewrite a large part of hg in Rust

That's not really the right story. The motivating factor is that we'd like to write /less C/, not /less Python/. It's likely in the long-term that parts of the code that are performance sensitive will move out of Python, but we've been doing that for years, and we just keep finding new things to optimize as the scale of Mercurial repositories keeps increasing.

Comment · 9 years ago
Last I knew it worked fine, but hg doesn't tend to run long enough for the JIT to warm up enough and be an unambiguous win. Fijal complemented us on how good our C was.

I think it does work if you do chg with a commandserver in pypy.

Comment · 9 years ago
Go isn't really a huge win for hg, and it doesn't support being used as a shared library, so we couldn't easily use it as a replacement for C for native extensions. main() has to be in Go, and even then you've got two GCs in the mix which is not great.
Comment · 9 years ago
There's pretty broad consensus that we'd like to do Rust and not C for future extension work, but the current plan is that a pure-Python hg will also be something we support. The "rust binary that embeds Python" approach looks like a straightforward win on Windows, where we have a native .exe that embeds Python anyway. I'm not sure if that'll make sense on non-Windows, but we'll see.

I've done some poking around with milksnake, which seems extremely promising for writing native speedups.

Comment · 9 years ago
Comment · 9 years ago
All the communities I know that are centered around diff-in-email patch review are quite frustrated by the available GUI tools (most of them are only good for one patch at a time, or treat an entire stack of patches as one change). If you get somewhere with this, let me know? We might be interested in testing it on Mercurial depending on how it integrates with the email side...

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton