HNHacker News
TopNewBestAskShowJobs

usefulcat

4,631 karma · joined April 30, 2012

submissionscomments
usefulcat··on AI is making me dumb
> Experience is so so valuable right now.

I think traditional coding experience will be a lot more valuable in 5-10 years, given the apparent inverse relationship between that and LLM usage, and the number of people who seem to already be heavily reliant on LLMs today.

The next killer app on the scale of today's LLMs could be an LLM (or call it whatever) that can un-spaghettify the reams of code that are currently being generated by LLMs.

usefulcat··on USDA Projects Smallest US Wheat Harvest Since 1972 Due to Plains Drought
> Unless you have some theory that correlates the two

I guess you meant something more like "shows a causal relationship"?

Because they're already correlated, which I thought was the point..

usefulcat··on Cost of enum-to-string: C++26 reflection vs. the old ways
I don't recall the source, but I don't believe most (any?) c++ compilers implement compile-time code evaluation by compiling and running code.

For one thing they are required to disallow all undefined behavior for compile time execution, and some forms of UB only occur when the code is run.

usefulcat··on If AI writes your code, why use Python?
I mostly use C++ at work, but I love ruby for its expressiveness and use it all the time for small to medium sized scripts where performance doesn't really matter.

However I've definitely noticed that the larger a ruby program gets, the more likely I am to manually add type checks. Beyond a certain size I simply can't fit everything in my head at once. Even though these checks are still done at run time, debugging is much easier when I can find out ASAP when something is not what I expected it to be.

People often say "that's what tests are for!". But if I'm spending time writing tests that verify the types are correct, I see that as a waste of my time because that's exactly the kind of thing that a compiler could do for me in a statically typed language.

usefulcat··on How do I deal with memory leaks? (2022)
auto_ptr is not used in the example that uses sort(), so "on the same page" is doing a bit of lifting here.

He's using auto_ptr to demonstrate RAII, which is fine. I would assume that the use of auto_ptr indicates that the example was written some time ago.

usefulcat··on Cloudflare to cut about 20% of its workforce
Look at the chart of their stock price over the past couple of months. There was a huge run that started literally just over a week ago. Even after this 20% drop, the price today is only slightly below where it was before that run.

Their stock price has been pretty volatile for a while now (6+ months), so even with a swing of this magnitude I don't think it's valid to see it as much more than a correction.

usefulcat··on Cloudflare to cut about 20% of its workforce
> Cloudflare is paying out terminated employees thru the end of 2026

That's great that they're doing that, but it's absolutely not guaranteed, either in this particular case (prior to this announcement, i.e. when these people were hired) or in general.

But all of this ignores the more general point, which is that--for reasons which may or may not be their fault--some people are not in a good situation financially and for them being laid off is a big deal with very real risks. Just because that's not you doesn't mean it's not a real thing.

usefulcat··on Nintendo announces price increases for Nintendo Switch 2
The price is increasing by 20% in Japan and 11% in the US, so the price increase in Japan is nearly double the increase in the US.
usefulcat··on Grand Theft Oil Futures: Insider traders keep making a killing at our expense
He's notoriously unpredictable. I would agree that it's more obvious now, but I think it was still quite obvious in his first term, especially after inciting a riot at the Capitol.

Given the rashness that he displayed prior to his second term, I don't see why it's at all surprising that he would start a war. To think otherwise just seems like wishful thinking.

usefulcat··on New statue in London, attributed to Banksy, of a suited man, blinded by a flag
I do agree that it’s obvious in the way that you describe. But I still think it’s a point worth making—that it could apply to anyone. Because I don’t think that thought is likely to occur to a lot of people, regardless of their particular belief of choice. And that is a problem.
usefulcat··on AI uses less water than the public thinks
Hope they don't find out how much is lost naturally to evaporation each year..
usefulcat··on "Parse, don't validate" through the years with C++
I don't see how this is in any way preferable to having an ordinary default constructor that does the same thing:

    // There are a few ways to let API callers bring their own 
    // memory, as they would in a no-malloc environment and this
    // stack-friendly c'tor is a stand-in for that. 
    static Birthdate epoch() { return Birthdate(1900, 1, 1); }
usefulcat··on US special forces soldier arrested after allegedly winning $400k on Maduro raid
Is he important enough to get a presidential pardon? That's how you know whether he's a "little guy".

To be fair, that bar is quite a bit lower these days, but still..

usefulcat··on Scores decline again for 13-year-old students in reading and mathematics
> And because local property taxes are a major funding source for schools, those are also the schools I'd expect to spend more because they have more.

It depends on the state. In Texas, property taxes from wealthier districts are redirected to poorer districts to ensure more equitable funding (search for "texas robin hood").

The result is that most public schools are funded about the same regardless of where they're located.

usefulcat··on 5x5 Pixel font for tiny screens
Agree about lowercase t. I was surprised the lowercase l didn't look more like

    xx
     x
     x
     x
     xx
usefulcat··on Acetaminophen vs. ibuprofen
> insurance doesn’t cover over the counter medications

It depends on the insurance. I have pretty crap insurance and didn't expect them to cover a prescription for Omeprazole (aka Prilosec) since it's available OTC, but to my surprise they did.

usefulcat··on San Diego rents declined following surge in supply
If you are an owner of rental houses, I would think that it's in your interest to be able to build ADUs on those properties. Even if everyone does it and prices go down a bit you're still making a lot more per property than you were before, assuming reasonable building costs (and if building costs are not reasonable then not many owners will be building ADUs and prices won't go down).
usefulcat··on San Diego rents declined following surge in supply
Do you have a source for the claim that the population of Austin has decreased recently?
usefulcat··on All phones sold in the EU to have replaceable batteries from 2027
I've had the same phone for over 6 years now (iPhone 11). It's a bit slower now, but I suspect that's more to do with software changes than anything else. In particular the battery is still in pretty good shape.
usefulcat··on Too much discussion of the XOR swap trick
Right out of college, one of my first job offers was to work on the compiler for the computer for the Space Shuttle. Apparently because I had once taken a compiler course. Even young, naive, optimistic me thought to question the wisdom of that offer.

I ended up not taking it because the pay wasn’t great (and at the time it wasn’t really what I wanted to do), but part of me is still curious about what that would have been like.

usefulcat··on Kalshi CEO expects US DOJ to prosecute insider trading cases
If you want to prosecute someone who has previously been pardoned, then you'll have to figure out how to get the courts (that is, the people who would be doing the actual prosecuting) to ignore some of the highest rules by which they operate.

I'm not saying that that could never happen, but a) it sure sounds like an uphill battle and b) it's not the same thing as the president (one person) doing whatever they feel like regardless of the law.

usefulcat··on US national level OS-level age verification bill proposed
In the US, quality of health care is not really a problem. The problem is that the cost is too high, and also availability (in part because of the cost).
usefulcat··on Dependency cooldowns turn you into a free-rider
> Frankly, dependency cooldowns work by free-riding on the pain and suffering of others.

I suspect there are some reasonable points to be made here, but frankly, I pretty much stopped reading after that. Way too simple minded.

usefulcat··on Someone bought 30 WordPress plugins and planted a backdoor in all of them
I'd say SQLite is one good example:

https://sqlite.org/chronology.html

Regular releases for over a quarter of a century now, and it's renowned for its reliability.

usefulcat··on The Future of Everything Is Lies, I Guess: Part 3 – Culture
More likely you’ll return to an industry utterly swamped in technical debt.
usefulcat··on Is Germany's gold safe in New York ?
> a single president

It's a lot more than "a single president". It's the two thirds of American voters who either voted for him or couldn't be bothered to vote against him, even after having seen how he behaved in his first term.

That's why he's not the biggest problem. He's more of a symptom than a cause. He won't be around for ever, but even after he's gone, most of those same people will still be around.

usefulcat··on Music for Programming
I love the music on defcon but could really do without the sporadic interruptions. At first it was ok but gets old after a while.
usefulcat··on Music for Programming
Agree about the lyrics. Phillip Glass is one of my favorites for flowing. His style usually involves a lot of repetition, which I find meditative.
usefulcat··on Amazon is adding a fuel surcharge to fees it collects from third-party sellers
Reducing the frequency of mail delivery would have a much larger impact, since most of fuel is probably consumed by last mile delivery.

Delivering less mail each day doesn't really make much difference if the mail carrier still has to come to my neighborhood 6 times a week.

usefulcat··on Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz
> He's not going to be up for re-election anyway

I would not assume that he won't try to run again, nor would I assume that his party would not support it if he did. Though I do agree with the rest of what you wrote.

← PreviousPage 4 of 34Next →