Better HN
topnewbestaskshowjobs
Log inSign up

hackyhacky

4,892 karma · joined Jul 7, 2014 (12y ago) · 1,430 submissions

Submissions

comment 1y ago · link · parent

> Only frontend React.js

Good suggestion, but I discovered that React was not able to fix my Linux kernel, either, for some reason.

comment 1y ago · link · parent

Why do you say that?

comment 1y ago · link · parent

> Dude, I literally linked to FEC contributions. "Unsubstantiated" my ass.

That's not evidence of bias, unless, you think that anyone who makes a political contribution is unable to perform accurate research or do their job. Would you casually dismiss the work of a cop or a professor just because they made a donation? If you find a flaw in the research method, let me know.

You're literally looking for any reason to justify your a priori decision to ignore research you don't like. That makes you the partisan hack, not the researcher.

comment 1y ago · link · parent

Okay, so you're going to go with the classic "I will disregard all evidence that I don't like by making unsubstantiated claims of bias".

It's not hard to find research that supports conclusions based on polling from different time periods. [1]

Fact is most people don't have enough data points in their personal lives to make any kind of conclusion about the state of the economy. They haven't gotten a raise in two years and their cousin Dale got laid off last week, but no one would extrapolate that to mean the economy is bad.

> They do different jobs, live in different geographic locations with varying density and urbanization

Yes, but they don't typically all swap locations with each other when a new administration takes power. Nevertheless their opinions do swap.

> economy was good but perceived by idiots who didn't know better

That is, in fact, exactly what happened.

[1] https://isr.umich.edu/news-events/news-releases/partisan-att...

comment 1y ago · link · parent

If your claim were true, the polls would show that Americans' view of the economy is broadly aligned and non-partisan: when inflation goes up, it goes up for everyone. But that's not what polls show. When people are asked about "the economy," the repeat what they've been told, not what they've experienced. Polls repeatedly show a strong partisan bias in evaluating the economy, inflation, and unemployment (as well as crime and other factors). Are you telling me that Republicans actually experience a different economy than Democrats, or should we just go with the obvious conclusion?

[1] https://www.sca.isr.umich.edu/files/partisaneconomy202504.pd...

[2] https://www.sciencedirect.com/science/article/pii/S030439322...

[3] https://www.politico.com/newsletters/morning-money/2025/01/3...

comment 1y ago · link · parent

> Should Coinbase and every other crypto platform be charged for the same crimes?

Absolutely.

comment 1y ago · link · parent

I don't know any Democrats who avoid voting Republican because they consider it a "sin." The Democrats I know avoid voting Republican because they think that Republican policies are bad for the country.

I also see Democrats perfectly happy to see Democrats justly convicted of crimes. The Republican approach is to defend members of your "team" at all costs, no matter how guilty they are. The cult of personality is much strong on the Republican side.

comment 1y ago · link · parent

> If that were true, you'd not see economy as the top or one of the top issues.

Polls also show that Republicans rate economic conditions as positive when there's a Republican in office, and negative when there's a Democrat in office regardless of the actual state of the economy. (The effect is much weaker among Democrats.)

This means that people care about the economy, but are terrible at knowing whether the economy is actually doing well or not, and certainly not educated enough to understand the impact that particular policies have on the economy.

The conclusion is that when there's a Democrat in office, Republicans are told by the Republican news media that the economy is bad; and when there's a Republican in office, Republicans are told by the Republican news media that the economy is good.

Find a conservative-leaning group on Facebook or reddit and see the resistance you get when you try to explain that Trump's tariffs are an inflationary tax on Americans. Political opinions have no bearing on reality, especially in the context of economic policy.

comment 1y ago · link · parent

Americans don't vote for policies, they vote for personalities. It literally doesn't matter to them if Trump bankrupts them, as long as they get to support the "tough guy" billionaire.

comment 1y ago · link · parent

Yes. Yes.

comment 1y ago · link · parent

The average American loves this, because it allows them to punish their perceived enemies. Cruelty trumps self-interest.

comment 1y ago · link · parent

Your argument is a non sequitur. You are saying in essence: "Someone, somewhere, under totally different circumstances was not prosecuted. Therefore, this particular prosecution is selective prosecution, and therefore inappropriate." By that logic, we should just stop prosecuting crimes altogether, on the logic that we are unable to prosecute all crimes consistently.

comment 1y ago · link · parent

> It's privately funded so it doesn't fit under "waste, fraud, and abuse" in the same vein as things that use taxpayer money.

Does Trump paying himself $230 million in taxpayer dollars in compensation for his various criminal prosecutions fit under "waste, fraud, and abuse"?

comment 1y ago · link · parent

> Think Joe you pass in Walmart cares about what happens to the White House ballroom?

Joe in Walmart thinks what Facebook memes and Fox News tell him to think. The same subversive forces that support the administration's lawlessness control the media diet of a plurality of Americans.

If you want Americans to care about wants going on, you have to inform them about it first.

comment 1y ago · link · parent

Changpeng Zhao broke the law and got caught. Everyone agrees on that. What you present above is revisionist history about "political persecution," which is the favorite justification of the current administration for pardoning convicted felons, even in the total absence of any evidence supporting a conclusion of political persecution. See also George Santos, J6 rioters, etc.

I don't think it's really necessary to pretend that this pardon was deserved. The pardon happened because (a) Trump wants the support of crypto billionaires and (b) Trump received a large bribe. It's really not complicated.

Painting Trump as sympathetic to ethnic discrimination is really ridiculous. No one believes that, even people who cynically use that justification to support his lawlessness.

comment 1y ago · link · parent

Without Wikipedia, where will AIs get their (factual) training data? Reddit?

comment 1y ago · link · parent

> It’s free and available for everything except Linux.

I was unable to find the link for OpenVMS, Apple II, and DEC Alpha binaries, could you show me where to find it?

comment 1y ago · link · parent

Both of those are a direct consequence of Rust's memory model, not a result of animus against C++.

comment 1y ago · link · parent

The fig lead that they will use to justify this distinction was hinted at in Seila Law, another case when they allowed the firing of members of independent agencies: they will say that the Federal Reserve has a "long tradition of independence" that distinguishes it from newer agencies, even though they are all operated under the same law.

If that distinction sounds preposterous to you, then congratulations, you reached the same conclusion that Justice Jackson reached when she complained that the conservative majority is playing "Calvinball" to reach results-based decisions regardless of statute, precedent, and the Constitution.

For those who didn't grow up in the 90s, Calvinball is a reference to a fictional sport from the comic strip Calvin and Hobbes, in which the sport's rules are made up and change constantly.

[1] https://en.wiktionary.org/wiki/Calvinball

comment 1y ago · link · parent

> not sure what that tells you exactly. Preference for what, monetary policy as opposed to commerce?

SCOTUS does not care about regulatory or labor protections, because the Justices are friends with and receive payments from the billionaire class (Leonard Leo, Charles Koch, Erik Prince) who benefit from weaker protections.

On the other hand, a corrupt Fed could lead to rampant inflation, which would devalue their 401k.

In other words, SCOTUS is motivated by self interest, not rule of law or justice.

comment 1y ago · link · parent

> THe FTC is part of the Federal Gov't whereas the Federal Reserve is not.

I think you know that blanket statements of this type are at best inaccurate and not helpful to the discussion. The Fed is an entity created by federal statute and staffed by presidential appointees, so it's at least a little misleading to say that it's not part of the federal government.

comment 1y ago · link · parent

The assembly is hard to understand. I recommend looking at the C-- intermediate output, using the -ddump-cmm flag, with -O2. The results in most of the functions getting inlined and flip is removed entirely.

You can see this clearly if you use conspicuous numbers. If, instead of (flip foo 2 3), you give (flip foo 2 99), you will code like this:

           R3 = GHC.Types.[]_closure+1;
           R2 = 97;
           Sp = Sp - 16;
           call GHC.Show.$fShow(,)_itos'_info(R3,
                                              R2) args: 24, res: 0, upd: 24;
97 is calculated at compile time.

comment 1y ago · link · parent

I understand just fine why the C++ version is complex: it's because C++ is a poor language for higher-order function abstractions. Please don't make excuses for C++'s excessive inessential complexity: there is no reason why a programmer should need to concern themselves with "const r-values" and similar shenanigans in order to accomplish this simple task.

The fact that the compiler is able to optimize away this code is a compiler issue, not a language issue. ghc will optimize away Haskell's flip and I didn't once have to write a compile-time index-reverser in template code.

comment 1y ago · link · parent

In Haskell it's:

    flip :: (a -> b -> c) -> b -> a -> c
    flip f x y  =  f y x
A little better, I'd say. Note that the first line is the type signature and is technically optional.

EDIT: and if that's too exotic for you, here's the solution in Python.

    def flip(x):
        return lambda *z: x(*reversed(z))

comment 1y ago · link · parent

Sort of: the version I gave flips the first two parameters of a function, leaving the rest untouched.

The C++ std::flip from the article, however, reverses the order of all parameters. Reproducing that in Haskell would require fancy type-level programming or compile-time metaprogramming, both of which would defeat the simplicity of my initial version.

comment 1y ago · link · parent

> The two missing pieces are -

For three decades, many people have said "C++ is nearly usable, except for just one thing..." Many of those people have gotten their way, which is why C++ is now a kitchen sink of mutually inoperable, poorly thought-out features, like someone implemented the entire index from Journal of Programming Language Design.

If you don't believe me, check out the implementation of `flip` at the end of the article. Over a hundred lines of templates, variadic parameters, constexpr, r-value references, parameter forwarding, default and explicit constructors, and other things that, imho, simply should not exist in a modern programming language.

So, instead, I'd say the best thing for C++, and the world, would, at this juncture to stop adding features.

comment 1y ago · link · parent

This seems like an obvious functional-style function that C++ should have, given the trend for functional idioms in recent versions. However, even a C++ cynic such as myself was shocked by the length and (to me) incomprehensible implementation at the end of the article. A definition of that complexity for something so simple tells me that something has gone off the rails. The equivalent function in Haskell, fwiw, can be implemented in its entirety as follows:

    flip :: (a -> b -> c) -> b -> a -> c
    flip f x y  =  f y x

comment 1y ago · link · parent

Correct. I've got a ThinkPad T480s. Hibernation is disabled, but suspend works great. Keeps charge for at least a week. Running recent Debian. I think that Lenovo, for all their faults, just does better with Linux than Framework.

comment 1y ago · link · parent

> I have not seen any good hard evidence of this

True, but for the purposes of a government power grab, the details of the actual crime, who did what and why, are hardly relevant. It only matters that the government can generate enough propaganda to make people think there's a connection.

comment 1y ago · link · parent

I honestly cannot imagine why someone just now is posting an article about how a singular crime is used as a justification for a massive government power grab and an excuse to oppress the ruling party's political opponents, despite negligible evidence of any connection to the crime. [1]

[1] https://www.nytimes.com/2025/09/15/us/politics/jd-vance-char...

1
242526
48