HNHacker News
TopNewBestAskShowJobs

usefulcat

4,631 karma · joined April 30, 2012

submissionscomments
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.

usefulcat··on Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz
> the price of oil has gone up considerably (that may have been an actual objective)

Even Trump isn't that dumb. There's a reason he dialed the tariffs back so much; price hikes lose elections.

If there's one highly visible product of whose price all Americans are keenly aware, it's gasoline. And on top of that, it affects the price of pretty much everything else too.

I thought the tariffs would be his undoing but jacking up the price of gas is even worse for him.

usefulcat··on Ninja is a small build system with a focus on speed
> 3) move the copy to it's original location

Copy and edit do, but move (aka rename) generally does not, and that is the part that is problematic.

I don't think the described sequence of operations is all that unusual. Not the most common case for sure, but hardly unlikely in the grand scheme of things.

usefulcat··on Arm AGI CPU
I know of a dentist named Dr. Payne.
usefulcat··on Migrating to the EU
> a populist demagogue who was promoted by russia

American voters witnessed this demagogue incite a riot in an attempt to steal an election, and after that 2/3 of them still couldn't be bothered to vote against him.

As an American myself, blaming Americans for this situation seems pretty fair.

usefulcat··on How to defer US taxes
Oh, I agree. I never said unchecked inflation was at all desirable or even ok.

My point was that local and state governments do need your tax dollars, in the sense that that is literally their income. But for the federal government it's different. If federal tax revenue declines, they can just sell more treasury notes and continue to spend as much as before. In that sense, federal tax revenue has no direct effect on federal spending.

usefulcat··on How to defer US taxes
The federal government can basically print money. The only reason they "need" your tax money is to limit inflation.
usefulcat··on Iran war energy shock sparks global push to reduce fossil fuel dependence
The price of oil isn't just about the "cost of gas at the pump". It's about how much it costs to transport anything. There aren't many products that don't need to be transported or that don't depend at least partially on something that does.

So yeah, when the price of oil goes up, oil companies make more money, and prices go up for pretty much everyone.

usefulcat··on North Korean's 100k fake IT workers net $500M a year for Kim
Maybe some of them don't remain employed for very long.
usefulcat··on North Korean's 100k fake IT workers net $500M a year for Kim
If they're living in NK then maybe their alternatives for making a living are mostly much worse than this?
usefulcat··on North Korean's 100k fake IT workers net $500M a year for Kim
In that example it would be more common to describe the watch as a "fake Rolex", for the reason you give (it's a real watch).
usefulcat··on A Decade of Slug
He said "holding on to it any longer benefits nobody", implicitly including himself. He may believe that it's to his advantage for the patent to be more widely used.

Which makes sense--I don't doubt that he is a subject matter expert where this patent is concerned. If this algorithm continues to be widely used or its use increases, then that would be likely be good for him.

usefulcat··on Forget Flags and Scripts: Just Rename the File
It may be a bit uncommon, but it's not at all new. For example, on a Linux system I have, there are several files in /usr/bin that use hard links to refer to the same file (inode) by different names:

bunzip2 / bzcat / bzip2

gunzip / uncompress

unzip / zipinfo

pigz / unpigz

pkg-config / x86_64-pc-linux-gnu-pkg-config

perlbug / perlthanks

Use ls -li to show the inode number for each file or directory. For example:

    $ ls -li /usr/bin/{bzip2,bunzip2,bzcat}
    23069197 -rwxr-xr-x 3 root root 39144 Sep  5  2019 /usr/bin/bunzip2
    23069197 -rwxr-xr-x 3 root root 39144 Sep  5  2019 /usr/bin/bzcat
    23069197 -rwxr-xr-x 3 root root 39144 Sep  5  2019 /usr/bin/bzip2
usefulcat··on FAQs About the Public Debt
> There is a reason why one can't pay off a credit card with another credit card.

Isn't that exactly what a credit card balance transfer is?

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

usefulcat··on Every layer of review makes you 10x slower
There's no such thing as a hiring process that avoids that problem 100% of the time.

After all, most people will be on their best behavior during an interview, and even a lengthy interview process is a very short period of time compared to working with someone for weeks or months.

usefulcat··on An ode to bzip
Bzip is slower than zstd and doesn’t compress as well as xz. There’s no place for it.
usefulcat··on ATMs didn’t kill bank teller jobs, but the iPhone did
That may well be true if you need to be persuaded to exercise and eat right.

OTOH, if you don't need to be persuaded and just want information on how best to go about doing it, then I think it makes little difference where the information comes from as long as it's of reasonable quality.

usefulcat··on The MacBook Neo
I would, and have. I disagree that I shouldn't expect a new laptop to still be useful (not perfect, not great, just useful) after only five years.

If it's not even useful after such a short time, then I question whether it was really fit for the intended purpose even when it was new.

usefulcat··on The MacBook Neo
I don't doubt that 8GB is enough for most uses today. But is it closer to "more than enough" or "just barely enough"? Seems unlikely to be the former at a price point this low.

Five years from now, I have no doubt that the processor will still be fine for most uses, but I doubt that 8GB will be. Especially given that some of the most common memory hogs aren't under Apple's control (cough Chrome cough).

usefulcat··on Temporal: The 9-year journey to fix time in JavaScript

    // call foo() one day from now:
    sleep(86400); foo();
usefulcat··on Uber is letting women avoid male drivers and riders in the US
If there wasn't a need for this then I might agree with you, but there is a need and that's the much bigger problem here.
usefulcat··on Judge orders government to begin refunding more than $130B in tariffs
I had the same thought, but really I think a lot of it is just spectacle for his more gullible followers.

I mean, FFS--we have a nominally Republican candidate who campaigned on raising taxes and was elected anyway!

You'd have to be pretty gullible to think that raising taxes on imported goods won't result in price hikes at the checkout counter.

usefulcat··on When AI writes the software, who verifies it?
Agreed 1000%. But that can be a lot of work; creating a good set of tests is nearly as much or often even more effort than implementing the thing being tested.

When LLMs can assist with writing useful tests before having seen any implementation, then I’ll be properly impressed.

usefulcat··on Why does C have the best file API
It’s also great for when you have a lot of data on local storage, and a lot of different processes that need to access the same subset of that data concurrently.

Without mmap, every process ends up caching its own private copy of that data in memory (think fopen, fread, etc). With mmap, every process accesses the same cached copy of that data directly from the FS cache.

Granted this is a rather specific use case, but for this case it makes a huge difference.

usefulcat··on Waymo blocking ambulance during deadly Austin shooting
Are you really asking whether corporations can be sued?
usefulcat··on Cardiorespiratory fitness is associated with lower anger and anxiety
I thought of “people who have enough time to exercise because they don’t have to work multiple jobs in an attempt to scrape together enough to make ends meet”.
usefulcat··on Defer available in gcc and clang
That is a different approach, but I don't think you've demonstrated why it's better. Seems like that approach forces you to introduce a new scope for every resource, which might otherwise be unnecessary:

    using (var resource1 = acquire() {
        using (var resource2 = acquire()) {
            using (var resource3 = acquire()) {
                // use resources here..
            }
        }
    }
Compared to:

    var resource1 = acquire();
    defer { release(resource1); }
    var resource2 = acquire();
    defer { release(resource2); }
    var resource3 = acquire();
    defer { release(resource3); }
    // use resources here
Of course if you want the extra scopes (for whatever reason), you can still do that with defer, you're just not forced to.
usefulcat··on AI is destroying open source, and it's not even good yet
> It took away potential contributors

There were multiple times I wanted to contribute to SO but couldn't because I didn't have sufficient "reputation", or something. I shrugged and moved on.

usefulcat··on EU bans the destruction of unsold apparel, clothing, accessories and footwear
Economically, producing less to start with is not very different from what is currently done, destroying excess inventory. Therefore I don't think it's at all a given that prices will go up.
usefulcat··on OpenAI should build Slack
> The world is yet to create a lab as innovative as Bell Labs.

That was entirely accidental. There's absolutely no guarantee that any given monopoly will produce anything remotely like Bell Labs, and I don't believe that a monopoly was required to do what Bell Labs did.

← PreviousPage 5 of 34Next →