HNHacker News
TopNewBestAskShowJobs

DowsingSpoon

398 karma · joined March 15, 2016

submissionscomments
DowsingSpoon··on -2000 Lines of code
In the past, hand-crafted assembly code was common because it was easy to beat the compiler. This is still true today in some niches.
DowsingSpoon··on Guess I'm a rationalist now
It might be the parts that lead a person to commit large scale fraud with the idea that the good they can do with the stolen money outweighs all the negatives. Or, at least, that’s the popular idea of what happened to Sam Bankman-Fried. I have no idea what was actually going through that man’s mind.

In any case, EA smells strongly of “the ends justify the means” which most popular moral philosophies reject with strong arguments. One which resonates with me is that there are no “ends.” The path itself is the goal.

DowsingSpoon··on Reflections on Sudoku, or the Impossibility of Systematizing Thought
But Uncle Bob said that if I follow his TDD process by rote then my code will automatically attain good design! /s
DowsingSpoon··on British ICC chief prosecutor lost access to email and has bank accounts frozen
There’s no need to be conspiratorial. It was #15 for me, two hours after your comment. The post hasn’t been memory-holed, or anything like that.
DowsingSpoon··on Can you trust that permission pop-up on macOS?
Please provide evidence for a claim that logging into iCloud necessarily sends your plaintext local password to the server.
DowsingSpoon··on Functional Tests as a Tree of Continuations (2010)
That is fascinating. Thank you!

Is it necessary to be able to exhaustively enumerate states? I remember a project I worked on some years ago which had me sketching out a statechart for a system which was not structured as an explicit FSM. The end result was surprisingly complex. I imagine some systems might even have an unbounded number of “states.”

I’ll definitely read more about Alloy too.

DowsingSpoon··on Functional Tests as a Tree of Continuations (2010)
I would love to learn more about this too.

I don’t really know what you’re talking about, and have a hard time imagining how ideas from relational algebra can be applied to all APIs.

For example, many database-like things already use relational algebra and an actual query language, for sure. But how does this apply to, say, a GUI toolkit or an audio device driver?

DowsingSpoon··on Add "fucking" to your Google searches to neutralize AI summaries
In addition, the Industrial Revolution led to societal upheaval which took more than a century to sort out, if you agree its ever been sorted out at all.

So, if it is true we’re on the cusp of an AI Revolution, AGI, the Singularity, or anything like that, then there’s precedent to worry. It could destroy our lives and livelihoods on a timescale of decades, even if the whole world really would be over all improved in a century or two.

DowsingSpoon··on Some things to expect in 2025
I understand the point you’re trying to get across. For many kinds of mistakes, I agree it makes good sense to warn and correct the junior. Maybe that’s the case here. I’m willing to concede there’s room for debate.

Can you imagine the fallout from this, though? Each and every line of code this junior has ever touched needs to be scrutinized to determine its provenance. The company now must assume the employee has been uploading confidential material to OpenAI too. This is an uncomfortable legal risk.

How could you trust the dev again after the dust is settled?

Also, it raises further concerns for me that this junior seems to be genuinely, honestly unaware that using ChatGPT to write code wouldn’t at least be frowned upon. That’s a frankly dangerous level of professional incompetence. (At least they didn’t try to hide it.)

Well now I’m wondering what the correct way would be to handle a junior doing this with ChatGPT, and what the correct way would be to handle similar kinds of mistakes such as copy-pasting GPL code into the proprietary code base, copy-pasting code from Stack Overflow, sharing snippets of company code online, and so on.

DowsingSpoon··on Some things to expect in 2025
I am fairly certain that if someone did that where I work then security would be escorting them off the property within the hour. This is NOT Okay.
DowsingSpoon··on Nobody cares
Okay, I now care passionately about each and everything I do. The bike ramp still sucks. What now?
DowsingSpoon··on C++26: A Placeholder with No Name
You definitely make a good point. My thought was that large legacy projects would slowly migrate to a different language. The news of the recent introduction of Rust in Linux has me optimistic something similar will eventually happen in other places too. (not necessarily with Rust, specifically) The keyword here is Eventually. I’m thinking this is years away for GCC and LLVM.

If the new language has good interop with the old then this doesn’t have to be painful either. A while back, I was working on a large Objective-C code base which was slowly moving to Swift. We quickly got to a point where new code was written in Swift by default. In only a couple of years, we had a code base which used Objective-C pretty much only in the dark corners where code churns slowly.

DowsingSpoon··on It's time to abandon the cargo cult metaphor
Best stick with “cargo cult” then! No, but seriously, that’s a good point.
DowsingSpoon··on It's time to abandon the cargo cult metaphor
I suppose “monkey see monkey do” works just as well, if you’re looking for an alternative metaphor. The phrase doesn’t refer to any human at all so there’s also the benefit that its use can’t possibly offend, or risk the appearance of offense.
DowsingSpoon··on The origin of the cargo cult metaphor
Huh. What do you mean? Why should the phrase not be used?

My only experience with the phrase is to mean something along the lines of a calculated ploy to lure dissidents into exposing themselves for later punishment. The horrible historical context is pretty much the entire point of making the allusion at all.

DowsingSpoon··on C++26: A Placeholder with No Name
>the language will never go away

Just like COBOL! Seriously, _just like COBOL_. The language will fade in importance over time. C++ will be relegated to increasingly narrow niches. It will eventually only be found in "legacy" systems that no one wants to spend to rewrite. No one young will bother at all to learn C++ at all. Then, in a few decades, they'll be pulling folks like you and me out of retirement to maintain old systems for big bucks.

DowsingSpoon··on In Defense of Y'All
No love for “yinz?”

https://en.m.wikipedia.org/wiki/Yinz

DowsingSpoon··on When should we require that firmware be free?
Obviously, if we’d like to require programmers to release software in source code form then we’re going to need some rules. If programmers are made to release software in some source code form then what languages should we require? Clearly, Brainfuck is out of the question, for example. Though, it would do no good to legislate the programming community into a religious war over FP or OOP. My proposal, however modest, is that the law require software be released in some kind of well-specified, portable language. Something succinct and powerful. Something symbolic, abstract, and much higher-level than the underlying hardware. Hm. How about x86_64 machine code?
DowsingSpoon··on Coder wrote a bug so bad security guards wanted a word when he arrived at work
>Regomize is a made-up word that combines "The Register" and "Anonymize." We coined the term to reflect our practice of inventing names for contributors to On Call and its sibling column Who, Me?. We offer this explanation as in recent weeks we've had readers suggest the word is a spelling error.
DowsingSpoon··on Security flaws found in Nvidia GeForce GPUs
https://nvidia.custhelp.com/app/answers/detail/a_id/5586

>NVIDIA GPU Display Driver for Windows and Linux contains a vulnerability which could allow a privileged attacker to escalate permissions. A successful exploit of this vulnerability might lead to code execution, denial of service, escalation of privileges, information disclosure, and data tampering

What does “privileged attacker” mean on Linux? In my mind, “privileged” would mean they already have root, but in that case there’s nothing to escalate, right?

DowsingSpoon··on C++ proposal: There are exactly 8 bits in a byte
As a person who designed and built a hobby CPU with a sixteen-bit byte, I’m not sure how I feel about this proposal.
DowsingSpoon··on What Is Privacy For?
What is privacy for? None of your damn business.
DowsingSpoon··on Always have a comma in your password, if part of a leak it will break the CSV
My brother had a stick shift. Kids broke into his car and proceeded to drive it 15 feet into a pole and abandon it. Whole thing was caught on camera too.
DowsingSpoon··on US to propose ban on Chinese software, hardware in connected vehicles
What about it?

https://en.wikipedia.org/wiki/Whataboutism

DowsingSpoon··on Israel Built a Modern-Day Trojan Horse: Exploding Pagers
This was not a terrorist attack. This was a precisely targeted strike against the personnel of a hostile military.
DowsingSpoon··on End-to-end congestion control cannot avoid latency spikes (2022)
Hi! I’m also a layman who doesn’t really know what he’s talking about.

The article ends with “ I will leave you with a question: Are we trying to make end-to-end congestion control work for cases where it can’t possibly work?”

So, it seems to me that there may not be any good solutions to latency spikes. The article is basically pointing out that you either pursue one of the unfortunate solutions mentioned, or be resigned to accept that no congestion control mechanism will ever be sufficient to eliminate the spikes. This seems a valuable message to the people who might be involved in developing the sort congestion control mechanisms they’re talking about.

DowsingSpoon··on VPN ban is strangling communication in Myanmar
Oh! I understand you now. I thought at first that you meant something along the lines of college students at parties choosing to wear masks as a new trend to avoid being recognized on social media. Thanks!
DowsingSpoon··on VPN ban is strangling communication in Myanmar
Are you claiming that people wear medical face masks for the sake of privacy? I have literally never heard a single person say a single thing about that. However, I’m finding I’m out of touch with “the kids” these days so maybe this is a thing. I’d love to hear more about it.

EDIT: Changed my comment because I decided I’m probably out of touch and I thought the tone of what originally wrote came across a touch more aggressive than I intended.

DowsingSpoon··on With fifth busy beaver, researchers approach computation's limits
Thank you! I’m trying to read up on it now also because this is definitely not something I know much about.
DowsingSpoon··on With fifth busy beaver, researchers approach computation's limits
Maybe I’m just an unsophisticated code monkey, but I read a little about Busy Beaver from time to time and I just don’t get it. Why is this an interesting problem? What do we hope to learn from it?
← PreviousPage 2 of 5Next →