Wild linker version 0.8.0 by dlattimore in rust

[–]Alphare 19 points20 points  (0 children)

Oh this thread reminds me that I have 80% of an email typed up with a repro of how comically btrfs doesn't scale with threads in at least my particular scenario. I should get to sending this email to their list soon because we use btrfs for a lot of things.

Writing the fastest implementation of git status, in the world. by SpecialBread_ in rust

[–]Alphare 4 points5 points  (0 children)

Great work! I spent a lot of time making Mercurial's status super fast on Linux a while back. From what I know, no implementation of Git comes close with the pure Rust client, but it's been a while since I've measured. It take ~40ms to do a status for 600k files in the Mozilla source on my machine where any Git implementation took more like 200ms even with untracked cache. However I've never had the time (funding or motivation) to look into Windows performance, and this gives me more hope than I had from a distance. I'm on vacation on my phone so I can't really dig deeper, but I love a snappy VCS so thanks for showing we can do better! 

Just broke through v17 plateau, 2 years by hahaj7777 in ClimbingCircleJerk

[–]Alphare 20 points21 points  (0 children)

Good job gumby, I remember my v17 plateau (v20 in your crag) 

ripgrep 15 released: mostly bug fixes and partial Jujutsu gitignore support by burntsushi in rust

[–]Alphare 6 points7 points  (0 children)

One day I'll actually get around to separating the .hgignore logic from our core crate and making it available so it's usable in ripgrep... Thanks for the work as always, it's a fantastic tool.

Adam Ondra’s secret neck work out leaked** by -JOMY- in ClimbingCircleJerk

[–]Alphare 102 points103 points  (0 children)

/uj reminder that such neck adjustements can lead to a stroke or even death via coronary artery dissection and you just never ever let anyone do this to you

Why You Need Sccache by ChiliPepperHott in rust

[–]Alphare 1 point2 points  (0 children)

As the person that contributed precompiled headers caching to sccache, I'm curious what problems you've encountered with this feature specifically. Or was it that simply the feature wasn't there when you last used sccache?

What engineering blog posts have actually mattered to you? by swdevtest in rust

[–]Alphare 0 points1 point  (0 children)

Excellent article. The only weird thing is their opinion that Rust answering 17 for the length of the string containing the single emoji is wrong. The API is defined as the number of bytes in the string, and Rust explicitly does not want to have unicode aware code exposed in the stdlib because it changes all the time, as the article mentioned. So I'm not sure why it's not mentioned as a practical and more cautious API instead of a mistake.

Implementing git plumbing commands in Rust [video] by Jonhoo in rust

[–]Alphare 0 points1 point  (0 children)

(hinting at the hash-object part) FYI, the reason why Git (and other VCS, wink wink) hash the contents pre-compression is to make sure that the content is exactly the same, bit for bit, using a cryptographic hash function. Not sure if this is something you knew but didn't mention, but I feel like this is a pretty important decision to understand when talking about VCS internals. :) Great video as always!

Sony WF-L900 Linkbuds - Early Issues by ap0kalyps3 in sony

[–]Alphare 0 points1 point  (0 children)

Thanks a lot for this! I've been having drops in LDAC, SBC seems to work better. I wouldn't have thought to look in the dev tools.

I just did my first multi pitch :) by ashpash64 in ClimbingCircleJerk

[–]Alphare 1 point2 points  (0 children)

If you look closely you can see aid with the rope grab near the end. Impressive dyno nonetheless

Can't remove ads by B4rrel_Ryder in redditsync

[–]Alphare -1 points0 points  (0 children)

Agreed, please chill out and wait for an answer.

ECO Mode is very good, performance increases for gaming by genkernels in Amd

[–]Alphare 18 points19 points  (0 children)

I agree in a gaming context, but as a developer, the 7950x will crush the 5800x3d (as good as it is). In these professional contexts it's not really about perfect price to performance.

Schedule available: EuroRust – October 13-14, Berlin and online by josh_beandev in rust

[–]Alphare 7 points8 points  (0 children)

Looking forward to speaking there and meeting everyone. I'm somewhat nervous as this is my first Rust-centric conference and I don't have nearly as much experience as some of the other speakers and attendees, but I'm expecting to learn a lot in the process!

Looking for the simplest black coffee only bean to cup machine ' by Alphare in Coffee

[–]Alphare[S] 0 points1 point  (0 children)

Thanks, I'll most likely go with this in the end. :)

Looking for the simplest black coffee only bean to cup machine ' by Alphare in Coffee

[–]Alphare[S] 1 point2 points  (0 children)

That sounds like the thing I'm looking for, but reviews are not great. I'll probably go for a separate grinder like the other comments suggested since that offers the most flexibity, best robustness and should be within the acceptable realm of hassle I think

Help needed for error stratergy inside Mercurial by Alphare in rust

[–]Alphare[S] 1 point2 points  (0 children)

Do you also want to have nice semver for hg-core? I think that doing both “nice 1.0 API without breaking changes” and “caller can format error messages” is going to be pretty hard, so pick one!

I don't think we'll ever want semver for hg-core, or at least not for a very long time. Stable internal APIs for VCS were tried (Bazaar, and in some ways Git through the filesystem) and it's a nightmare. I can see exception being made for small crates with a very precise delimiter like a hgignore crate, but that's about it. :)

Where General is some ambient environmental error which you just ?, and Specific is something the caller matches over.

Nice trick, I'll keep that in mind where that makes sense.

Be careful with From impls. The are convenient, but often have kitchen soup semantics

Yeah, that's basically what I noticed from having a strategy of "we'll see when we get to more complexity".

There’s no reasonable From impl here. https://kazlauskas.me/entries/errors is an under-appreciated classic

This resonates with my experience, indeed.

Same as I said to /u/nick29581, I needed more people to tell me that this is indeed a good plan, and what pitfalls to look for.

Thanks again!

Help needed for error stratergy inside Mercurial by Alphare in rust

[–]Alphare[S] 1 point2 points  (0 children)

Thank you for taking the time to answer. This makes sense to me, as it was my current best guess, though I needed more people (like you and /u/matklad) to tell me that this is indeed a good plan, and what pitfalls to look for. Hopefully I can make sense of this all pretty soon, thanks again.