Readit News logoReadit News
diegocg commented on At the end you use `git bisect`   kevin3010.github.io/git/2... · Posted by u/_spaceatom
bikelang · 2 months ago
Git bisect was an extremely powerful tool when I worked in a big-ball-of-mud codebase that had no test coverage and terrible abstractions which made it impossible to write meaningful tests in the first place. In that codebase it was far easier to find a bug by finding the commit it was introduced in - simply because it was impossible to reason through the codebase otherwise.

In any high quality codebase I’ve worked in, git bisect has been totally unnecessary. It doesn’t matter which commit the bug was introduced in when it’s simple to test the components of your code in isolation and you have useful observability to instruct you on where to look and what use inputs to test with.

This has been my experience working on backend web services - YMMV wildly in different domains.

diegocg · 2 months ago
There are certainly other use cases. git bisect was enormously useful when it was introduced in order to find Linux kernel regressions. In these cases you might not even be able to have tests (eg. a driver needs to be tested against real hardware - hardware that the developer that introduced the bug could not have), and as an user you don't have a clue about the code. Before git bisect, you had to report the bug and hope that some dev would help you via email, perhaps by providing some patch with print debug statements to gather information. With git bisect, all of sudden a normal user was able to bisect the kernel by himself and point to the concrete commit (and dev) that broke things. That, plus a fine-grained commit history, entirely changed how to find and fix bugs.
diegocg commented on What caused the AWS outage – and why has it made the internet fall apart?   bbc.com/news/articles/cev... · Posted by u/jethronethro
diegocg · 2 months ago
At this point it would seem that the cause for the current outages goes beyond the original DNS issue.

Deleted Comment

diegocg commented on Partially Matching Zig Enums   matklad.github.io/2025/08... · Posted by u/ingve
judofyr · 4 months ago
This is one the reasons I find it so silly when people disregard Zig «because it’s just another memory unsafe language»: There’s plenty of innovation within Zig, especially related to comptime and metaprogramming. I really hope other languages are paying attention and steals some of these ideas.

«inline else» is also very powerful tool to easily abstract away code with no runtime cost.

diegocg · 4 months ago
As someone who uses D and has been doing things like what you see in the post for a long time, I wonder why other languages would put attention to these tricks and steal them when they have been completely ignoring them forever when done in D. Perhaps Zig will make these features more popular, but I'm skeptic.
diegocg commented on OpenAI is taking GPT-4o away from me – despite promising they wouldn't   community.openai.com/t/op... · Posted by u/Mzxr
diegocg · 5 months ago
This makes me sad. AI is a product, these days being mentally healthy should imply having the emotional ability to be aware of that. If you become emotionally attached to a commercial product you should seek for help.
diegocg commented on GPT-5   openai.com/gpt-5/... · Posted by u/rd
levocardia · 5 months ago
with web search, is knowledge cutoff really relevant anymore? Or is this more of a comment on how long it took them to do post-training?
diegocg · 5 months ago
I wonder if it would even be helpful because they avoid the increasing AI content
diegocg commented on AWS Restored My Account: The Human Who Made the Difference   seuros.com/blog/aws-resto... · Posted by u/mhuot
diegocg · 5 months ago
I would say that the lesson here is that cross-vendor replication is more important than intra-vendor replication. It is clear that technology can (largely) avoid data losses, but there will always be humans at charge
diegocg commented on Python performance myths and fairy tales   lwn.net/SubscriberLink/10... · Posted by u/todsacerdoti
mrkeen · 5 months ago
I didn't read with 100% focus, but this lwn account of the talk seemed to confirm those myths instead of debunking.
diegocg · 5 months ago
Yep, for me it confirms all the reasons why I think python is slow and not a good language for anything that goes beyond a script. I work with it everyday, and I have learned that I can't even trust tooling such as mypy because it's full of corner cases - turns out that not having a clear type design in a language is not something that can be fundamentally fixed by external tools. Tests are the only thing that can make me trust code written in this language
diegocg commented on AI is propping up the US economy   bloodinthemachine.com/p/t... · Posted by u/mempko
ponector · 5 months ago
At least we will have a huge amount of data centers if this bubble burst. Insane compute overcapacity, as well in chip manufacture
diegocg · 5 months ago
Reminds me of all the optic fiber infrastructure that was built during the dot com bubble
diegocg commented on Open models by OpenAI   openai.com/open-models/... · Posted by u/lackoftactics
pocketarc · 5 months ago
Others have already said it, but it needs to be said again: Good god, stop treating LLMs like oracles.

LLMs are not encyclopedias.

Give an LLM the context you want to explore, and it will do a fantastic job of telling you all about it. Give an LLM access to web search, and it will find things for you and tell you what you want to know. Ask it "what's happening in my town this week?", and it will answer that with the tools it is given. Not out of its oracle mind, but out of web search + natural language processing.

Stop expecting LLMs to -know- things. Treating LLMs like all-knowing oracles is exactly the thing that's setting apart those who are finding huge productivity gains with them from those who can't get anything productive out of them.

diegocg · 5 months ago
The problem is that even when you give them context, they just hallucinate at another level. I have tried that example of asking about events in my area, they are absolutely awful at it.

u/diegocg

KarmaCake day2066December 13, 2012View Original