HNHacker News
TopNewBestAskShowJobs

surajrmal

2,078 karma · joined October 31, 2017

submissionscomments
surajrmal··on Incident with Actions and Pages
It had uptime issues before Microsoft. They just got better at tracking and reporting after Microsoft.
surajrmal··on Defeating Git Rigour Fatigue with Jujutsu
jj is in the training data for at least Gemini these days. My experience is it uses less tokens to do similar workflows with jj vs git because they are simpler.

Also, remember that humans aren't going away. The touch points are changing but they still exist. The VCS is a common touch point for many and my preferred one. For others I'm sure it's online code review tools. If an agent is operating under my name in my workspace I want to manage it within the confines of my workspace. Once it becomes more agentic and operates as it's own entity I'm sure I'll change my mind but that's not the case today.

surajrmal··on Using AI to write better code more slowly
If you have ever TL'd a team, it doesn't sound too crazy. I have 8 folks I generally talk to very consistently throughout the day. If I'm not in 1:1s with them I'm usually reviewing their changes or chatting with them over chat. I don't think I can do all of that and work with a bunch of AI windows, but I do think they could likely do something similar to me with several agents running in parallel.
surajrmal··on Using AI to write better code more slowly
Try antigravity. I think it generally has the right level of comments.
surajrmal··on Defeating Git Rigour Fatigue with Jujutsu
That's the beauty of jj. It doesn't need critical mass. If the community remains small it's fine. If it blows up in adoption that's also fine.

Also there are many ways to use llms. Some people control it at code review, but others control it as the VCS.

surajrmal··on Migrating from Go to Rust
The problem is that trust shouldn't be so binary. We should have ways to increase trust without needing to resort to the standard library. There was an effort to do this at some point in rust but the idea was sadly not well received. Maybe it'll end up reviving itself with modern supply chain concerns.

The idea is that there could form some groups of well maintained crates that only depend on each other and have a similar amount of oversight. This actually naturally happens in c++ because grabbing dependencies is so painful, but it makes dependencies more trustworthy. For instance boost, absl, folly, etc.

surajrmal··on Defeating Git Rigour Fatigue with Jujutsu
A lot of humans don't currently trust agents to touch VCS today. I also find that my agent tends to be much better about dealing with jj than it is with git.
surajrmal··on Defeating Git Rigour Fatigue with Jujutsu
I think it comes down to your ability to plan and understand how the work can be broken down before you try solving it. I often know what every commit will look like before I ever touch the code. I do sometimes learn things and change my mind as I make changes but it doesn't often change my commit structure. I tend to work on a codebase I have 8+ years experience in though. I'm sure it doesn't work in a variety of situations though.
surajrmal··on Learnings from 100K lines of Rust with AI (2025)
If you come from c++ it tends to feel clean imo.
surajrmal··on Antigravity 2.0 Tops the OpenSCAD Architectural 3D LLM Benchmark
The difference in its ability is immense. Even with less features it makes a lot of sense to switch. It really shows how much the harness matters almost equally to the model.
surajrmal··on Python 3.15: features that didn't make the headlines
There is little that they can do short of running the programs in a VM. Linux distros aren't engineered to consider applications as something different from the user running them. You need a completely different security model to achieve that and the Python runtime isn't tackle that.
surajrmal··on Everything in C is undefined behavior
It's almost universally better to use inline assembly via a macro to read/write mmio rather than use volatile.
surajrmal··on Google I/O
What are you expecting for $20/month?
surajrmal··on Google I/O
Thankfully yes. It's a much better product.
surajrmal··on New Lifetime Plex Pass Pricing
If you have to ask the question you're probably not the target demographic.
surajrmal··on When can the C++ compiler devirtualize a call?
In practice you usually pass a Box around though.
surajrmal··on Git Is Not Fine
Sure, but I don't and nor do most of the jj community. esrc has less than 10 folks working on it, the number of jj enthusiasts is massive.
surajrmal··on OpenAI and Government of Malta partner to roll out ChatGPT Plus to all citizens
Bold claim. I have the opposite experience. On this site I imagine most folks will agree with you, but there are a lot of folks who choose to work at larger companies over small ones.
surajrmal··on Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"
Notably the rewrite managed to also both reduce binary size and reduce compile time. Given it's largely a straight non idiomatic migration, that's surprising to me.
surajrmal··on Git Is Not Fine
I use AI prolifically for coding, but I haven't crossed the chasm of letting it do mutable operations on my vcs. It tends to revert changes too eagerly. Commit messages written by it usually miss the point of the commit and end up too verbose and need to be modified or completely rewritten in many cases. I feel like prose needs to capture style which is unique per individual which makes it difficult to do well.
surajrmal··on Git Is Not Fine
If you like a thing, it feels natural to tell others about it so that they can also benefit from it. There is no ulterior motive here. Sure everyone in the community will benefit if jj becomes more popular, but it's not like they are trying to sell you something for money. If you don't like it, that's fine, but if someone is facing similar problems to the OP then they will benefit. Almost everyone I've shown jj to at work has converted because it solves the same problems for them as it did for myself. Of course, not everyone has those problems.
surajrmal··on Git Is Not Fine
No but it's a lot simpler to rebase and address them with stacked commits.
surajrmal··on Git Is Not Fine
I work primarily in c++ and fully agree with the author. I think it makes more sense in the context of larger teams, possibly also monorepos. Review speed (both latency of feedback and how thorough your reviewers are), presubmit test runtime, flake rate, etc can lead to it taking a few days to get work submitted. In some cases you don't want to land work until you've finished a milestone of some sort. If others work on similar files to you, you will end up with several rounds of rebase conflicts to deal with too.
surajrmal··on Rewrite Bun in Rust has been merged
It sounds like some bugs were fixed in order to make it compile.
surajrmal··on Rewrite Bun in Rust has been merged
If most of the glaring problems are addressed (massive unsafe usage), and metrics show improvement (less crashes), then did it really go wrong? The fact the code is not idiomatic is less interesting, because that can be addressed incrementally. Let's wait 3 months and reflect.
surajrmal··on A History of IDEs at Google
There is enough flow of engineers between the two companies that many of the things Facebook has done better have been copied by Google. I think in many ways it goes both ways.
surajrmal··on A History of IDEs at Google
There is in fact a version of cider that does work for folks working outside of google3, such as android. It's not as seamless, but it has been getting better and tries to recreate the google3 experience.
surajrmal··on A History of IDEs at Google
The internal version is just slightly optimized for Google's unique developer environment (auth + cloud vm + google3) and is a dogfood version, meaning we get unstable features first. It's mostly the same thing though.
surajrmal··on A History of IDEs at Google
In fact a lot of Google software projects have a public version of code search: https://cs.opensource.google/
surajrmal··on Bambu Lab is abusing the open source social contract
Why don't they implement per user quota instead? Or make it so third party applications don't need to interact with their servers?
← PreviousPage 5 of 34Next →