HNHacker News
TopNewBestAskShowJobs

twodave

3,138 karma · joined January 20, 2016

Dave here, interested in most things tech, work as a software developer/architect on a variety of projects and tech stacks.

I also maintain https://naprun.dev, an HTTP test automation framework.

Contact: my username at gmail

submissionscomments
twodave··on Using Git's rerere feature to escape recurring conflict hell
I wouldn’t say it serves no purpose. It is useful when rewrites are tolerable and loss of history is not. It’s the default when using tools like jj, because the expected workflow wraps git in a way that force pushes are frequent and expected, but blowing away someone else’s work by mistake is not.
twodave··on The four programming questions from my 1994 Microsoft internship interview (2023)
It's not necessarily a class of people. It's proficiency vs. mastery. Is some set of people more able to master a subject than another? Sure. Each person has different limits to their potential, of course, but for most things achieving mastery is more a matter of putting the work in over time.
twodave··on NPM packages from RedHat have been compromised
For smaller shops (by small I mean <1,000 employees) this isn't even tenable. We (engineering team of about 10 people) mitigate what we can via tooling and cooldown periods/minimum release age. This will work as long as these malicious packages remain reasonably detectable. I think that's the proper balance, because we can adjust the # of days we are willing to risk against the SOTA of detection tooling.
twodave··on Creatine raises brain energy levels and slows cognitive decline: study
I still drink the water, I just can’t stand the texture with creatine added. So I swallow the creatine with as little water as possible and drink nice fresh water afterwards :)
twodave··on What if remote working, not AI, is to blame for weak junior hiring?
I have said the same for a while. And I also think there is an increasing trend of clueless CEOs trying to replace expensive developers with AI token spend. We are still waiting on the long tail of consequences from those decisions, but I suspect it is going to look like a lot of perfectly financially viable companies turning into dumpster fires. Followed by opportunities as their clients churn.
twodave··on Creatine raise brain energy levels and slow Alzheimer's cognitive decline by 30%
Others mentioned dissolving it. I find just getting it over with is easier for me. I dump the whole scoop into my mouth and wash it down with a mouthful of water or two. It is flavorless, after all.
twodave··on To have a moral stance on AI is to be an outcast, and it sucks
TL;DR author confuses anxiety with morals, cuts people out of their life that they can’t cope with being around.

This has played out a million different ways throughout history, nothing special about this case, it just happens to be rooted in anxiety about AI.

twodave··on .NET (OK, C#) finally gets union types
You can use implicit operators or a library like Vogen to accomplish the same thing in a way that they can be coerced as strings. This isn’t a real issue.
twodave··on Apparently Google hates us now
No, I think the company has plenty of responsibility. I just think it is more likely as someone who has been part of many engineering orgs that this is a latent bug affecting some people than some intentional change of policy.
twodave··on Apparently Google hates us now
Personifying Google in this way is not realistic. The search team alone at Google is made of thousands of people who are all working on different things with an over-arching mission of making the web MORE accessible, not less. Any release from any of those people could have created a side effect of this kind. Is there a chance it was an intentional policy implementation? Sure. But the odds are heavily against it.
twodave··on Google changes its search box
The spend difference for this must be enormous. I wonder how they justify it financially. I guess they don’t have to.
twodave··on US inflation jumps to 3.8% as energy costs surge from Iran war
Well even today you have the UAE and Qatar warning them not to do this. It’s likely to me that the fighting won’t stop until the situation is different, even if the US were to pull out today.
twodave··on US inflation jumps to 3.8% as energy costs surge from Iran war
It's possible, in the short term, but eventually the only oil flowing thru the Strait of Hormuz will be Iranian oil, and perhaps not even that. Give countries enough time and they'll rather invest in building a way around Iran than giving them money for passage thru international waters.
twodave··on US inflation jumps to 3.8% as energy costs surge from Iran war
I think the idea is that now that it's a public issue, it will have to be addressed more than just bringing us back to pre-war levels.
twodave··on Rumors of my death are slightly exaggerated
Glad to hear you found your way back to the outside portion of the bottle :)
twodave··on How OpenAI delivers low-latency voice AI at scale
Sure, and there's the near-identical pattern where valid specific criticisms are taken as broad criticism even though they aren't, etc., etc..
twodave··on NIST scientists create 'any wavelength' lasers
I used to think heat/exercise was my only trigger. Then I got ahold of some of some HDR-enabled emojis and immediately started seeing auras everywhere haha. Didn’t take long to get rid of those. I didn’t get one from this article, but it felt like I was about to. So maybe not migraine-triggering but definitely anxiety-triggering :)
twodave··on NIST scientists create 'any wavelength' lasers
FYI if you get ocular/retinal migraines like me then the exercise in this article might be a bad idea.
twodave··on Why Japan has such good railways
Rail for the US has always been more about moving goods than people. For overland long-haul freight it is significantly cheaper than trucking. Rail allows us to ship goods to places where we don’t have ports or river access. A place like Japan can make such good use of rail simply because it is so densely populated.
twodave··on The Pentagon Threatened Pope Leo XIV's Ambassador with the Avignon Papacy
Yes, I am aware of this passage. He is not speaking to equality of genders. You can read his other writings to see how he treated actual women who were in leadership roles in the early church. If you believe in Christianity then you believe that God ordained specific and symbolic roles for husbands and wives and the appropriate authority to go along with each.

Paul also wrote the men shouldn’t have long hair and women should keep their heads covered, so there is also an amount of “being at peace means also being at peace with the culture” to be interpreted from his writings.

twodave··on Meta is set to pay its top AI executives almost a billion each in bonuses
This is the answer to whether AI executives actually take their own rhetoric seriously. If they actually believed in things like UBI as a solution they’d be doing something besides this.
twodave··on The Pentagon Threatened Pope Leo XIV's Ambassador with the Avignon Papacy
Having read the Bible several times through, I don't see any disagreement between Jesus and Paul. This is further supported by the fact that the original disciples/apostles accepted Paul's teachings. And if there were a disagreement on the nature of salvation I assume things like circumcision would have taken a back seat to that debate, yet that is not what we find in either Acts or any of the letters of the apostles in the New Testament. So, I think the view that Paul somehow subverted Christianity is a self-deceiving one designed to reinforce previously-held beliefs.
twodave··on The Pentagon Threatened Pope Leo XIV's Ambassador with the Avignon Papacy
This is a rather unbalanced perspective that lacks a shred of evidence. I can't imagine that you've actually read his letters, because if you had you'd know his stance on the role of a husband is not remotely what you've described.
twodave··on The Pentagon Threatened Pope Leo XIV's Ambassador with the Avignon Papacy
He certainly has his critics, but in my view it’s absurd to place him next to the Crusades, Inquisition, et al…
twodave··on The Pentagon Threatened Pope Leo XIV's Ambassador with the Avignon Papacy
I think what's most clear to me about the Papacy and the Pentagon is that neither of them actually believes scripture.
twodave··on The Pentagon Threatened Pope Leo XIV's Ambassador with the Avignon Papacy
Not a Catholic, but a Christian, and I think Christians in general are in a very difficult position in the US, which has not historically been the case. Today any party-line vote is a vote against one Christian core belief or another.
twodave··on The Pentagon Threatened Pope Leo XIV's Ambassador with the Avignon Papacy
As long as you're making fun of people twisting Christianity to suit their goals I guess this is funny. But imagine how frustrating it must be for genuine believers in a Jesus who says, "Blessed are the peacemakers," and, "Bless your enemies and do not curse them," who are now victims of both the original twisting and the future ridicule to come (not to mention those being led astray).
twodave··on How to get better at guitar
Sure, this is a way to get better at learning songs, in particular. Any consistent practice will result in getting better, though. After about 20 years of playing (though less as the years have gone by and life has been busy), I actually find playing live to be the most impactful thing. You have to find a way to make the song work and keep up with the tempo! Often that means improvising. Being able to improvise even a little covers so much that can go wrong while playing.

But there are lots of ways to get better, and to a degree it depends on what your goals are. I enjoyed the article.

twodave··on German police name alleged leaders of GandCrab and REvil ransomware groups
You are entitled to your own beliefs, no matter how crazy they are. Society doesn’t have to be held hostage by them, though.
twodave··on German police name alleged leaders of GandCrab and REvil ransomware groups
Yes, I almost totally agree with all of this. And I do believe in gray areas, but I don’t expect law enforcement to. I think that leaves room for worse things like corruption/favoritism. I don’t deny that those things happen too, but those are also crimes that should be brought to justice.
← PreviousPage 3 of 34Next →