MurphyA/hacker-news huggingface dataset:
by westurner | 2026-01-25 22:00:06+00:00
Systems with iGPU (CPU RAM) + dGPU (dedicated GPU RAM) support GPU passthrough IIUC.

With the proprietary Nvidia Linux module,

These environment variables cause processes to run on an Nvidia dGPU instead of the iGPU: https://download.nvidia.com/XFree86/Linux-x86_64/435.17/READ... :

__NV_PRIME_RENDER_OFFLOAD=1 \
__GLX_VENDOR_LIBRARY_NAME=nvidia \
process-to-run-on-dGPU;

EnvyControl and supergfxctl support selecting between modes (integrated / hybrid / nvidia) to specify whether processes run on the iGPU or the dGPU(s).
https://github.com/bayasdev/envycontrol#hybrid

Bazzite has supergfxctl and the Nvidia models installed in their OCI system images ("Native Containers"; ublue-os)

IIRC from (awhile ago) trying to run a Windows VM with GPU passthrough to the dGPU, a device selection gui would've helped

Arch wiki > Supergfxctl > 5.1 Using supergfxctl for GPU passthrough (VFIO)
https://wiki.archlinux.org/title/Supergfxctl#Using_supergfxc...

Linux for ROG notebooks > VFIO dGPU Passthrough Guide > VM Creation Walkthrough:
https://asus-linux.org/guides/vfio-guide/#vm-creation-walkth... ;

> After running this, the terminal will display a list of all your PCI devices, listed by their IOMMU group. Skim through the list until you find the IOMMU group that contains your dGPU.

But then under "selinux considerations" it says: https://asus-linux.org/guides/vfio-guide/#selinux-considerat... :

> /etc/libvirt/qemu.conf and find this line:

#security_default_confined = 1
by fzeroracer | 2026-01-25 22:00:06+00:00
Make no mistake, I fully believe the Supreme Court is complicit in this manner and has long since abdicated their duties to uphold the law and the constitution. But my point is that when the Supreme Court comes out and says that the President is immune to all actions they take, it seems like a folly to try and pretend that they don't mean what they say, at least as long as Trump is President. The 'law' is what the Supreme Court says it is, and they've decided Trump is the law.
by JoshTriplett | 2026-01-25 22:00:08+00:00
What I hoped, following the link from the homepage (not going directly to the post): "ah, something that helps with project management, like git worktrees?"

What I got: "oh, AI, sigh".

It feels like we're going through another round of what happened when "crypto" stopped unambiguously meaning "cryptography" and started being ambiguous with "cryptocurrency".

Can things that are trying to do AI write "AI", please? "AI agent worktree management" would have likely been a more useful description for people who do want it, as well.
by shitter | 2026-01-25 22:00:25+00:00
This comment betrays a misunderstanding of history and of what fascism is and doesn't even engage with the article's points. A totalitarian fascist state does not come into being all at once; it emerges in steps that tend towards that outcome, steps which the article discusses in detail. Furthermore, that nascent fascism can be defeated through electoral means does not preclude it from being fascism.
by _0xdd | 2026-01-25 22:00:26+00:00
Darktable. It has a hell of a learning curve, but it's one hell of a powerful raw editor with some really cool masking features. It has a reputation for being difficult to learn, but the newest release bundles a new tone mapper (AgX) that requires a whole lot less massaging than the old Filmic (and, to a lesser extent, the later Sigmoid mapper). I'm back to managing my photo libraries using plain old files and folders, and syncing them to my NAS using Syncthing. I couldn't be happier, and it doesn't cost me a dime.
by CamelCaseName | 2026-01-25 22:00:27+00:00
My personal story echos the author. Parents immigrated here under the skilled worker visa and worked hard to shield me from our poverty.

Despite this, like the author, I was able to have an incredibly well rounded childhood full of activities through our recreation centers, a short 10 minute walk from my home (not so short in the winter!)

There are many times I look with frustration at the payroll taxes I incur paying my colleagues. Articles like this serve as a great reminder that my capabilities are not innate, but built through the sweat and tears of those before me.

I love Canada, and though I have had the incredible privilege to visit (and for short periods, live in!) many countries and every continent, there's nowhere I'd rather call home, nowhere I'd rather contribute to.

Canada may have a "go for bronze" attitude, but it doesn't have to stay that way. We can decide to go for gold, one day at a time.
by palata | 2026-01-25 22:00:37+00:00
Not sure I understand. So you're saying that a bad app on Android can request all permissions and tell you that it will refuse to run unless you give them, and the same app would be declined on iOS?

I could agree with that, Apple is more picky. Now personally, if an app does that, I uninstall it.

But technically, the Android rules are that you shouldn't do that, and when you request a permission you need to explain to the user why you request it.
by themafia | 2026-01-25 22:00:51+00:00
> I don't mind being labeled a terrorist.

You should. It's not meant for your vanity and it represents and extreme overreach by the government. It doesn't make you "cool."

> But you couldn't pay me to go there.

Of course we could. Aside from that this mentality always shocks me. There are more civilians in the US than government agents. What were you expecting when you got here? It's madness..

> One man's terrorist...

Is another mans freedom fighter. Sure, fine, if you want a civil war. Perhaps a more civilized approach is called for? Unless you particularly enjoy digging graves for your friends.
by jonapro | 2026-01-25 22:01:24+00:00
The only other country I'd ever consider to live in would be Quebec. :D. So much potential here. The author implies that the country is broken, this isn't true by any stretch of imagination. Things aren't perfect as you've pointed out but we've got the energy, the universities, the social net and all that we need to live a decent life. The author implies the best ones are leaving for the states. I find it quite amusing that people would see living in the States to be some kind of achievement. I for one have seen a few of my classmates go work in the valley after graduation. For what? Facebook, Twitter (at the time), a bunch of other shops that are blights on the face of this earth. Doesn't sound like an achievement to me to be spending your time optimizing for engagement, ads and other things that are for the most part net negatives for society.
by YZF | 2026-01-25 22:01:44+00:00
My daughters were born at home. Me and my wife do not have Hepatitis B. They did not go to daycare, my wife stayed at home with them.

I think the burden of proof is on you (or the health authorities) to have some conclusive evidence based story here how them getting this vaccine is a net plus, or at least that not getting the vaccine is a high enough risk in the big picture. What I read online borders propaganda, it is just the natural reflex to defense the existing practices, there is no evidence that I have seen that has real world data comparing the risk that proves what needs to happen here. Because hard evidence is the enemy of bad policy.
by anigbrowl | 2026-01-25 22:02:16+00:00
Quite. I think a lot of Americans are acculturated (partly via movies and TV) to constant one-upmanship and trying to end disagreements with zingers. Look how many political videos on YouTube are titled 'Pundit you like DESTROYS person you disapprove of!' You see the same patterns in Presidential 'debates' and Congressional hearings. It's all very dramatic but lacking in real substance.
by hypeatei | 2026-01-25 22:02:23+00:00
I'm the same as you: I don't really care about this stuff. Given what we know about the start of these AI endeavors (torrenting/scraping the whole internet and training on it) then running their software seems like a liability. Is it pasting code verbatim that falls under an incompatible license? Is it training on my codebase? Why would I want to depend on this very compute intensive, cloud hosted tool?

At least with other advancements in our field like git, Docker, etc., they're made with a local-first mindset (e.g. your git repos can live anywhere and same with your docker images)
by phatfish | 2026-01-25 22:03:31+00:00
Most users here are American, have you seen what is happening in America?

The funny (sad) thing is all the hot takes about the UK or Europe being a "police state" because porn is being blocked for kids, or persistent abuse on social media actually has repercussion (as it does in the real world already).

Meanwhile ICE are murdering US citizens in the streets. Turns out American "free speech" doesn't prevent an authoritarian regime taking hold.

To clarify, i do believe in free speech. But until you are bundled into a black car for holding up poster with a political statement (like in Russia or China), you have free speech. Attempting to stop abuse on social media is not the same. The closest we have to preventing free speech in the UK is the Israel/Gaza "issue".
by kstrauser | 2026-01-25 22:04:03+00:00
> He says one medical site added updated terms saying users agreed not to sue over mishandling of personal data, but instead to resolve it in arbitration.

Fortunately, HIPAA doesn’t care about some dumb ToS. If a site I used violated my healthcare privacy rights, I’m reporting it to the feds for them to drop the hammer, and I couldn’t care less what the site’s ToS says.

You can’t disclaim your legal obligations.
by pyrophane | 2026-01-25 22:04:13+00:00
Honestly my real fear is ICE agents at polling places on Election Day harassing would-be voters with citizenship checks and aggressive behavior, slowing things down and maybe causing some people to leave.

Regarding voter data though, if it becomes known that registering to vote as a minority will get you extra scrutiny from ICE, and perhaps a visit to your home, that would probably cause some citizens avoid voting altogether, especially if they are associated with people who are not her legally.

Either way, the federal government really has no right to that data or legitimate use for it, so hopefully they don't manage to get their hands on it.
Show HN: Wächter – Traffic shaping and monitoring for Linux
by univrsal | 2026-01-25 22:04:18+00:00
For a while I've been looking for a tool that can monitor network connections down to individual sockets and with the ability to block or throttle traffic.
Since the existing tools I found weren't able to do that I gave it a shot and tried to make my own.

Wächter (or waechter) is divided up into a demon using eBPF and tc for monitoring and controlling traffic and client using imgui for a simple GUI to control the demon.
The demon can be connected to both via a unix socket or a web socket if you want to run it on a server and control it remotely.
Eventually the goal is to also collect and visualize long term traffic statistics.

So far I was able to test it on Arch Linux with 6.18.3 and Ubuntu 24.04 LTS with 6.8.0.
Since eBPF is a bit picky about whether or not it'll load a program depending on the kernel version people are welcome to test it on other setups and report bugs or request features.
by garbawarb | 2026-01-25 22:05:40+00:00
I like to think about what Canada would be like if it could take the best qualities from the US and leave the rest. What if Canada's capital markets were so robust that it was just as good a place as the US to start and scale a company? What if it could match the US in economic productivity? PM Carney seems to have made it a goal to get Canada there but time will tell whether that happens. Some other countries like Switzerland rival the US by per capita measures and many would say it's a great place to live with fewer sociocultural problems than the US has.
by cess11 | 2026-01-25 22:05:40+00:00
Eventually my so called smartphone will be a device for authenticating against a few services that require a special application, that I can also tunnel a serious device through for doing the things that I actually want to do.

It would be interesting to know why they're doing this, but it's unlikely it'll ever become public knowledge. I also don't think it is important, the people responsible should be in jail for a lot of other reasons anyway.
by glouwbug | 2026-01-25 22:05:57+00:00
It was a time of post WWII boom and unrivalled economic prosperity. For the vast majority of human existence wealth like that was never offered to regular commoners.

Canada today might be expensive to rent in and buy in, but the quality of life in terms of safety, culture, political stability, nature, and medicine (minus the temporary shortage in health professionals) is still unmatched globally. Canadians who complain about Canada haven’t faced or lived life outside of Canada
by surpris-mea-cu | 2026-01-25 22:05:59+00:00
I'm surprised at the reaction you had about this game! This is a pretty popular game among my generation in Sweden (though we point, it's the "pointing game"). It's typically done when drinking, and the person who "gets" the prompt is the next one to come up with one. It's more meant as fun when we do it. A lot of websites have prompts if you don't wanna come up with them yourself (BOO! You're boring!), like this one: https://dricklekar.se/Pekleken/pek.html
by avidiax | 2026-01-25 22:06:01+00:00
Ordering violence orchestrated by the military is a core constitutional power. It's called being "commander-in-chief" of the armed forces.

The ruling makes it very clear that core constitutional powers have conclusive and preclusive (absolute) immunity.

Other official acts have presumptive immunity.

In all cases, the motive is above question. If Trump has a fight with Melania, he can order the CIA to rendition and disappear her. He doesn't even need to claim that she's a spy. It can never be questioned in court. He can then pardon everyone involved, so even the underlings face no court.

In all cases, the official acts are explicitly not admissible as evidence. Using the example above, the District of Columbia can try to prosecute for murder, but is unable to introduce the fact of the order as evidence. If Trump receives a bribe, the official act that he undertook at the briber's behest is similarly inadmissible.
by fpoling | 2026-01-25 22:06:20+00:00
I have lived in Spain for the last two years and observed the luck of maintenance in a lot of things.

For example, people typically pay for house/apartment insurance. But insurance companies never send a person to check for things like leaking pipes or whatever. Rather they simply wait until an accident happens and dispatch an emergency crew and cover a lot of damage that could be easily prevented. Then people tolerate non-trivial damage to homes/apartments like leaky roof not reporting it to insurance companies for weeks.

Then with cars people often do not follow the maintenance schedule and insurance companies do not ask for that. Typically people drive until damage happens due to a minor accident or maintenance are forced by state required technical inspection once in few years. The car companies even offer free maintenance checks as a part of guarantee but people skip even that.

Yet when someone spends efforts to complain, thinks do gets done. For example there a city service to remove graffiti on public areas. If one files a complain, they react and remove the graffiti. However sometimes one needs to send a complain twice.
by jjk166 | 2026-01-25 22:06:23+00:00
> The city needs 1.2 billion m3 cubic meters of fresh water, and is on average 1200 meters above sea level. Let's not even count actually transporting that water, let's just discuss pumping it.

> E = mgh, blabla, this requires 500 Megawatt constant power, 24/7/365, JUST to move the water up. This is the theoretical minimum power required to lift it against gravity. Does not include pumping the water inland.

The energy required to lift that water does not give you a power requirement, which is a rate that energy is consumed. Tehran has a water deficit of 101 million m3 per year which would require 38 MW to lift. That's a couple of wind turbines worth of power. Obviously there's a lot more to keeping the water system working, but you're off by an order of magnitude. Building a small power plant to keep a city of that size habitable is certainly achievable.

> And for Asian cities, Teheran is tiny, about the size of Greater London or Paris. Most Pakistani cities are easily double that.

Tehran's urban area is the 29th most populous in the world with over 14 million people. Pakistan has one larger urban area, Karachi, which is 40% larger.
by 1718627440 | 2026-01-25 22:06:24+00:00
> The point is C does not allow doing anything you want.

I thought we were discussing specific issues, I did not claim, that C doesn't have things that could be different. For example the interaction of integer promotion and fixed size types is completely broken (as in you can't write correct portable code) in my opinion.

> The C type system, for example, places all kinds of restrictions on what code can be written. The underlying CPU does not have a type system - it will multiply two pointers just fine without complaint. The CPU does not even have a concept of a pointer.

As you wrote a pointer is not an address. The CPU lets you multiply addresses, but C also let's you multiply addresses just fine. The type for that is uintptr_t. Pointers are not addresses, e.g. ptr++ does not in general increment the address by one.

> The C preprocessor doesn't have a notion of types, either.

It doesn't even have a concept of symbols and identifiers, which makes it possible for you to construct these.

> You've defended a number of these shortcomings as being advantages.

Because I think they are. It's not necessarily the reason why they are there, but they can be repurposed for useful stuff and often are. Also resource constraints often result in a better product.

I still only declare variables at the begin of a new block, not because I wouldn't write C99+, I do, but because it makes the code easier to read when you can reason about the participating variables up front. I can still introduce a variable when I feel like, just by starting a new block. This enables me to also decide when the variables go out of scope again, so my variables only exist for the time, I really want them to, even if that is only for 3 lines.

> Just for fun, I'll throw out another one.

That's just a minor problem in compiler implementation, and doesn't result in problems for the user. Using the same symbol for pointer dereference and multiplication is also similar.

(a) *b

Is that a cast or a multiplication? These make for funny language quizzes, but are of rare practical relevance. Real world compilers don't completely split syntactic and semantic parsing anyway, so they can emit better diagnostics and keep parsing upon an error.

> You've defended a number of these shortcomings as being advantages.

My initial comment was about a shortcoming, which doesn't actually exist.
by jonapro | 2026-01-25 22:06:31+00:00
Going for bronze is absolutely perfect as well. I understand the folks here have a different opinion that lines up with technosolutionism or adjacent to it. There's nothing wrong with living a good life, doing honest work and not think that your latest SaaS idea is a game changer. Also, let's not feed the trolls. Lutke is a lunatic.
by danans | 2026-01-25 22:06:33+00:00
> When I think about the counterfactual me that grew up in a large American city, New York or L.A. instead of Toronto, I see someone who's more stunted than me, in important ways. No skating classes, libraries too far to walk to on a regular basis and more poorly stocked. Student debt. Without generous public incentives, that version of me would only have the life that her own parents can afford to provide for her.

America has long been a place where hardship or trauma for a subset of the population has been seen as the system working "correctly".

It's just that the makeup of that subset has shifted over time (although much less so for black Americans).

You'll find many people here that will believe that without deprivation of basics and even comforts, nobody would want to pursue or achieve anything.

This is often believed by people living in communities that by virtue of wealth clustering provide all those things, and sometimes especially by the few people who escaped deprivation into comfort and security through their grit, thereby assuming that is the best route for all of society.

We think we did it all ourselves, without any helping hand up, while often being ignorant of our own privilege.
by yencabulator | 2026-01-25 22:06:42+00:00
It's not like every read would make a separate trip all the way to RAM, caches are a thing and SIMD pipelines/parallelizes comparisons within a hash bucket quite well. Lookups from a hash map should amortize to something like 5-20ns per lookup these days. Abseil's Swiss Tables for C++ and Rust's Hashbrown both should reach that.
by AngryData | 2026-01-25 22:07:13+00:00
Its every branch of the government. The federal government, largely through congressional legislation, has been amassing more and more power for longer than anyone has been alive, while willingly ceding large chunks of that power to the executive branch, while the executive was grooming and shaping the justice department.

Just the abuses of the commerce clause alone should show our government is full of corrupt power mongers.

And it goes down the list too. States taking power from counties, counties taking power from cities, judges, cops, and prosecutors claiming authority over more and more issues despite a lack of sound legal precedence or public approval.
by quux0r | 2026-01-25 22:07:15+00:00
I believe this is somewhat the point of the article. For example, consider the VC subsidizing of Uber in the early days. That was used as a means of fighting competition because Uber could price more competitively than other potential market entrants. I think the same idea applies with Waymo and Tesla. They’re incumbents in the market with significant war chests to have preferential pricing power, which could allow them to push out competition. From here, even if there’s lots of money to be made, people are generally fickle with these types of apps, and it’s not a huge leap to think they’d take the best deal, even if it means that the competition slowly drains out of the market.
by cogman10 | 2026-01-25 22:07:30+00:00
I'm, frankly, terrified for 2 reasons.

First up, I don't think the republican party moderates in 2029. The Trump mentality is the new normal and I believe republicans are just going to keep trying to be as fascist as possible as long as possible. We've learned that there are basically no limits on a corrupt presidency and I really fear what that will mean for any future republican president.

But secondly, I'm afraid that Democrats aren't rising to the occasion. They aren't putting forward meaningful reforms or changes to address the fascism. In terms of ICE, a lot of them are trying to put forward meaningless reforms like "let's give them more training" or "let's put their names in a QR code". The entire agency needs nuremberg style trials at this point and some Dems want to give them a weekend meeting with HR.

These two facts scare the shit out of me. Because, my fear is we will see a repeat of 2024 in 2032. Assuming we have free and fair elections, I can see a Democrat becoming president in 2028, doing nothing to address the systemic problems exposed by trump, and ultimately a new republican will be voted in in 2032 because people are sick of nothing getting better under democrats. And that 2032 republican president will ultimately know they can do everything Trump did and they'll be cheered on by the base.

Democrats need to be messaging about real positive changes they'll make.