HNHacker News
TopNewBestAskShowJobs

lima

8,865 karma · joined May 17, 2016

submissionscomments
lima··on Your GitHub pull request workflow is slowing everyone down
Graphite is neat. If you want something lighter-weight, spr[1] is also worth taking a look at as an entirely client-side "solution" to PR stacking.

Unfortunately, it is very hard to build good code review tooling on top of GitHub due to the severe impedance mismatch between the two models as well as GitHub API limitations and rate limits. That mismatch cannot be fully resolved (branches vs. patches) and results in constant friction, and you end up trusting a third party with full control over your repositories and approval workflows.

Graphite is the best attempt I've seen so far, but it still doesn't come anywhere close to Gerrit[2], which simply uses plain Git commits. Every commit becomes a review, and stacking is accomplished by simply pushing multiple commits. No custom tooling required - just `git push`.

It has very, very good code review UX and allows meaningful and in-depth back-and-forth during a code review, without losing context or having to re-review the entire diff. Once you're past the initial learning curve, it is blissful.

Gerrit is open source and it's what Google uses for many of their public projects such as Chromium and Android, and it is quite easy to self-host. It is entirely built on JGit and even stores code reviews as Git commits alongside the repositories.

If you want to give it a try - there's a well-maintained public instance, Gerrithub[3], operated by Gerritforge. Many open source projects use it.

[1]: https://github.com/ejoffe/spr

[2]: https://www.gerritcodereview.com/

[3]: https://gerrithub.io

lima··on I turned my ThinkPad into a programmable USB device
The whole point of the exercise is playing with USB OTG, and the Pi has only one OTG port, so you need another way to connect to it

(been there, done that)

lima··on Keep your phone number private with Signal usernames
The apps and most of the backend are open source too, not just the protocol.

The important distinction is that it's not decentralized like XMPP or email, which is a conscious decision: it would become very difficult to change it to add new features and they'd be left behind by closed-source competitors (see: XMPP).

lima··on Lapce
Doesn't appear to support UI scaling on Linux :(
lima··on Microsoft bets on Germany in €3.2B AI push
It goes both ways, of sorts - DE-CIX is also a consequence of all the large DCs being there :-)

Interestingly, Tier 1 transit pricing is increasingly competitive and DE-CIX access is more expensive (relatively speaking) in recent years.

lima··on Trunk-Based Development
Stacking with Gerrit works beautifully. Can only recommend giving it a try!
lima··on Flakes aren't real and cannot hurt you: using Nix flakes the non-flake way
The biggest problem with Flakes right now is that they will copy your entire Git repository into the (world-readable) Nix store, rather than just the files that are referenced. Even if you're in a subdirectory - which makes is unusable for monorepos.

Flake-less Nix handles this just fine.

lima··on Fireworks likely caused water contamination at Mount Rushmore (2016)
The full title of the article is literally "Fireworks Likely Caused Water Contamination at Mount Rushmore".

Title on HN was editorialized.

lima··on Looking into the Stadia Controller Bluetooth Mode Website
> What does google gain from stopping people converting stadia controllers to Bluetooth in the future?

It means they can delete the code from the monorepo.

lima··on New plans for self-hosted Zulip customers
> the important features I actually want generally worked better 20 years ago than they do today

20 years ago, the only way to get proper push messaging on a phone (other than SMS) was Blackberry with a special phone plan where the provider ran the push notification server.

SMS still works fine. The situation for everything else has much improved.

A central notifications server is kind of an unfortunate necessity - if each app would open its own TCP connection, all the keepalives would significantly increase radio wakeups and thus battery usage vs. a single optimized connection. You can still use IMAP Push like you could 20 years ago, the reason few people do is because of the extra power usage.

lima··on Voyager 1 stops communicating with Earth
Slightly larger antennas, too.
lima··on I hacked Magic the Gathering: Arena for a 100% win rate
MTG is a very complicated game with a complex ruleset.
lima··on Choose the browser that best suits your privacy needs
HN has always been an echo chamber :-)

I've been using the MV3 version for months because it does not require permissions. It works just fine.

And in the rare case where I do need cosmetic filtering, I can simply click the extension icon, drag the slider to "more" and grant an individual permission for the site. It's great.

Another benefit is that a permissionless adblocker works in many corporate environments which would otherwise block any extension with far-reaching permissions.

lima··on VMware is now part of Broadcom
QEMU/libvirt can live migrate VMs without downtime. It works the same way.
lima··on I kind of killed Mercurial at Mozilla
The CLI doesn't help with stacked commits, though. There's tools like spr[1] but none of them are anywhere as pleasant to use as Gerrit (or Phabricator, I guess).

[1]: https://github.com/ejoffe/spr

lima··on I kind of killed Mercurial at Mozilla
GitHub PRs are both bad process (no stacking or per-commit review, incentivizes large changes, ...) and bad tool (no inter-diffs, noisy diffs, comments disappear through rebases, slow, ...).
lima··on Chrome Users Beware: Manifest V3 Is Deceitful and Threatening (2021)
I switched to uBlock Origin Lite as soon as it was available and I haven't seen a single ad. It works fine.

And now I have one less thing to worry about - my adblocker extension getting compromised through a supply chain attack.

lima··on Chrome Users Beware: Manifest V3 Is Deceitful and Threatening (2021)
With Manifest v3, you can get adblocking without having to trust your adblocker extension, like on Safari. That's a significant benefit.

You can still opt into having your data stolen, but now it's no longer a requirement for adblocking.

lima··on Formula 1 didn't realize Las Vegas would be cold in November
Clickbait headline - they obviously did realize or we wouldn't be reading the article.
lima··on Why the case for Rust is not particularly compelling
The author is mistaken about the perceived lack of research into alternatives.

We know how to write secure C/C++ code. The methods are very expensive and don't scale to large engineering teams.

Government agencies as well as large companies - including Microsoft and Google - have researched this very subject for decades. The problem is that even very small probabilities become a significant issue at scale.

lima··on SEC Charges SolarWinds and CISO with Fraud, Internal Control Failures
It's more like "if a bad thing happens and you knew about the risk and lied to investors about it".
lima··on I think GCP is better than AWS (2020)
I have talked to Google representatives when I had an issue with my personal gmail.com account through Google One. It was fine and they fixed it.

Likewise, as a GCP customer, I've always had a real account rep and support I could talk to.

lima··on Encrypted traffic interception on Hetzner and Linode targeting Jabber service
Being Germany, perhaps the paperwork expired and the new court order didn't arrive in time.
lima··on Using AsciiDoc and Asciidoctor for Blogging
Are you sure? Recent GH issues say that it can write .adoc, but cannot read it.
lima··on Encrypted traffic interception on Hetzner and Linode targeting Jabber service
Perfectly pulling off an actual MitM attack and then forgetting to renew the certificate is certainly a very German thing :-)
lima··on 4K4D: Real-Time 4D View Synthesis at 4K Resolution
These are just normal HTML5 <video> elements and the jumping around is part of the video material.
lima··on Lasers deflected using air
The widget is also done very cleverly. It appears to be a regular HTML <video> element and a slider.
lima··on Tell HN: Postman update removes all your stuff if you refuse to create account
Running standalone binaries by a VC-fueled project on your host is even worse.

I guess a separate quarantine browser profile is the best of both worlds?

lima··on HTTP/3 adoption is growing rapidly
Both, really. The OS-level ossification isn't quite as bad as the middleboxes, but is still glacially slow and bad enough to justify QUIC on its own.

Case in point: the whole TCP Fast Open drama.

lima··on Richard Stallman reveals he has cancer in the GNU 40 Hacker Meeting talk [video]
Indeed, though Android/Linux, ChromeOS/Linux and others are doing fine also!
← PreviousPage 7 of 34Next →