MurphyA/hacker-news huggingface dataset:
by bumby | 2025-04-11 18:17:25+00:00
Again, this assumes the main motivation is money. Ie if they could get a better paying job, they would. You can select for highly skilled people who also aren’t putting money as the top priority. The point I’m getting at is that pay can be a noisy proxy for skill and we should probably not assume they are tightly correlated in all domains.

One person once said the people at the NSA are much more like Marines than Silicon Valley types. They’re more interested in the mission than in getting rich. The fact that so many people look at a job as a money optimization problem says a lot about society.
by nyrikki | 2025-04-11 18:17:38+00:00
The typical solution is to have the interpreter call a wrapper program or better yet use RBOC etc.. to remove the need for suid in the first place.

Sudo, ..., group membership, even using udev to emit devices with those permissions automatically etc.. all work.

It is horses for courses though with different costs and benefits, but the number of use cases that require suid is tiny.

If you give me more details I can make some suggestions.

Doing a strace on Nvidia's container toolkit in rootless mode is a wrapper example IIRC.

Note that the popularity of BusyBox and containers is an example where there is an easy to miss serious holes, as all processes have access to proc/pid/self, it is trivial to access entry points that have a large attack surfaces.

I found a copy of the decades old faq I remember the above vulnerability from that covers other situations.

http://www.faqs.org/faqs/unix-faq/faq/part4/section-7.html

I know all the above seem more complicated, but the reality is invoking an interpreter as suid is subject to Rice's theorm, you don't control the run time (semantic) behavior, so avoiding privalage escalation is impossible.

In an executable, to run suid still requires encoding run time behavior into syntactic behavior which is still a non-trivial task. Especially if you don't leverage privilege/capabilities dropping and or selinux/apparmor/etc.

While suid itself isn't dangerous, auditing the executable to make sure it doesn't introduce risks is hard, especially over time.

Note there are other protections that come into play that are difficult to track down, like the gnu linker explicitly nuking the LD_* env vars on suid, attempting to avoid return oriented programming attacks etc.

If you prefer the logic side consider "does halt" from the implicant form of Horn clauses.

(∃)(∃)(q_f,x,y)

The above is derivable from clauses if and only if the machine halts. Which is just HALT in prolog.

Having potential non-finite models is what generalizes to Rice, and extends to partial and even total functions in finite time.

The perfectly implemented code, or typical problem of perfectly modify code in the future, is hard with executables and simply intractable for interpreters.

So what you are asking for, a secure fix simply doesn't exist for suid interpreters. If we could, we would solve HALT.
by hilux | 2025-04-11 18:17:53+00:00
I read the article - up to a point. The guy goes to such great lengths not to admit that a huge proportion of the physical parts in the phone are from China. E.g, he keeps saying "Western distributor" to avoid saying "China-made." (Think about it: why would any reader care about the distributor's nationality?!) He just rambles on and on, trying to baffle us with bullshit - eventually I stopped reading.

There is zero chance that a smartphone will ever be made out of 100% US-manufactured parts, or even close to it. And the evidence is right in this article, if this is the best effort to manufacture a "US phone."
Show HN: I built a tool to help data onboarding teams stop depending on Excel
by dataflowmapper | 2025-04-11 18:18:02+00:00
This tool is built for implementation and data migration teams to replace Excel, one-off Python scripts, and expensive CSV importers like FlatFile and OneSchema.

You can visually build logic and validations without code. API/DB connectivity to pull and push data. The tools uses mapping file/config for repeatable data formatting/transformations. AI integrated as well to write the mapping file from plain english.

I'm an implementation consultant and was personally dealing with those tools and driven mad which is why I developed this.

Would be super appreciative of feedback from the HN community!

Happy to chat more or give you access. You can reach me at [nate@dataflowmapper.com]
by s1artibartfast | 2025-04-11 18:18:21+00:00
I think this article paints a pretty different picture, which does not imply a crisis.

https://archive.is/PI5YJ

As reported in WaPo, the executive position is not refusal, but inability to comply on the requested timeline. They said they can and will provide the information on Tuesday.

This seems to be a significantly different narrative than is inferred by piecing together the broken updates provided by NYmag.
by zerd | 2025-04-11 18:18:39+00:00
My problem with turning it of is that if you _do_ want to watch the preview it's very cumbersome. Clicking on it goes to the movie/episode. So to get to the preview you have to go to the list of Episodes, scroll down (and try not to get spoiled) to trailers then play it. So I have one profile with it on and one with it off, depending on if I'm browsing or not.
by treetalker | 2025-04-11 18:18:46+00:00
NYT reports that the government has indicated to the U.S. District Court for the District of Maryland that it will comply with the Supreme Court's order. Take from that what you will.

My understanding is that the government has not (yet?) told the District of Maryland that it will not comply with that court's orders, only that, in the government's estimation, that court hasn't given it enough time to comply. Again, take from that what you will — but in my view the government has already gotten extra time to comply on account of its petition for emergency review in SCOTUS and the Chief Justice's stay of the original order (effectively well past the original deadline).

So while a constitutional crisis is in the offing and may still come to a head, I don't think we're quite there yet.
by knubie | 2025-04-11 18:18:53+00:00
From the interview:

> So it's about $650 to produce that entire phone. But what we're doing by selling it for greater originally, we're looking at a lot of differentiators for us. It wasn't just made in the USA. It's the fact that it's a secure supply chain, that you know, staff that's completely auditing every component, which means we're selling to a government security market with all those additional layers that we've added on top.

So I guess the answer is that they're selling to the "government security market" so they can charge whatever the hell they want.
by gnulinux | 2025-04-11 18:19:44+00:00
> Teotihuacan rather famously was not a literate society

Isn't this going a bit too far? Sure they didn't have a modern writing system like Mayans, or even proto-writing systems like Inca's quipu but we do have hard evidence of Teotihuacan society communicating language with painted symbols (e.g. findings in La Ventilla). It's unclear to me how we can say they didn't leave writing to future generations (especially assuming probably there were a lot more stuff that was lost to time than we can see)

Also, this comment seems to slightly misunderstand what the GP said imho. Yes writing is a new invention, but e.g. paintings in Lascaux are about 17k years old. Which means even before Catalhoyuk level civilizations, humans were leaving symbols for later generations to look and decipher. This is the same "archival" process GP is talking about. Humans leave a message to future generations. It seems like our biology must prime us to do it, because we see it universally. Whether the messages we leave are writing, painting, music or whatever... humans still produce things for people that'll come after them. But animals are incapable of doing so, even if a Bonobo is roughly as intelligent as a human, it's not like it can transmit any kind of information to future generations, so every generation of Bonobos need to learn either from scratch or from their community. So, perhaps ironically, part of being human-smart is having human-precise hands that can paint/write. Without this ability, we end up like bonobos, elephants, dolphins etc perhaps smart but for all they know their parents were the Adam and Eve.
by lovich | 2025-04-11 18:19:44+00:00
> You heard a lot about the LIBOR scandal

Is that one I’m remembering where my variable interest rate student loan was over 9% while the only job I could get right out of the Great Recession after college was part time at Walmart and the banks fine was less than the profit they made off of manipulating the rate?

They have so many of these scandals it’s a little hard to narrow it down
by MPSFounder | 2025-04-11 18:19:52+00:00
The leadership is Jewish. You can argue America in the early 1900s during Jim Crow was not technically segregated and disenfranchised. Looking at facts without context is very misleading. The leadership themselves described their neighbors as animals. It is a nation based on dehumanization for the establishment of a religious ethnostate (hence the law of return aimed at Jews and not Muslim or Christian arabs for instance). Making any excuse on behalf of Israel is frankly mind-boggling. It is a tale of the slave feeding his master. Although many Americans stood for South African apartheid, so it comes as no surprise when fed propaganda, most of us will choose what to believe. Part of me wishes we exposed more of those Israeli farms etc, but it will come at a dear price if you do so (remember Congress is controlled by AIPAC, and they will throw the book at you if you do)
by rtkwe | 2025-04-11 18:20:02+00:00
Ok don't follow those people then? Or mute their posts from your timeline? There are tools you can use to take responsibility for your own feed. My tool of choice is to just never scroll on the main feed on the rare times I do go to FB at all because the feed is 90% engagement slop from super safe pages I don't follow. Either way your personal preferences don't justify the mass suppression.
by sorcerer-mar | 2025-04-11 18:20:16+00:00
The more hyperbolic the example, the easier it should be to demonstrate why the language of the Constitution precludes it. Yet you cannot, because that's not how language works, per my point. If I start pushing for this interpretation of the Constitution, the civic, intellectual, and honest reaction is not to say, "hmm, actually it is pretty ambiguous!" It's to say: "that obviously is not allowed and would be tantamount to a coup."

Everyone knows Presidential terms are meant to be limited to two. Everyone knows going for a third term would be an accounting trick. They know it, you know it, I know it.

Your selection of one example out of the 47 cases SCOTUS decided that year (+ countless cases they didn't grant cert to) is evidence of my point, not yours. How many of the other 46 cases can you name? How many of the other 81 cases between then and now?

I'll guess you could name fewer than 4 of them, ergo, as I said: "That's why it's notable in the few occasions where they conflict."
by badsectoracula | 2025-04-11 18:20:38+00:00
Well, technically the API is still available pretty much everywhere (be it directly or via a wrapper library) and most hardware still has support for drawing lines, so it is still easy in current days to do things like this too :-P.

I'm using it all the time when i want to draw lines in 3D.

(though as far as lines and OpenGL is concerned i remember reading ages ago that not even SGI's implementation had full support for everything OpenGL was supposedly able to do)
by appleorchard46 | 2025-04-11 18:21:03+00:00
This is off-topic but I just wanted to say I appreciate your presence on HN. I see your name pop up often, and your comments are always insightful and clear. You consistently identify the root of complex topics (and disagreements/misapprehensions surrounding them) and are able to distill them in a non-argumentative way. Thanks for helping make this site a nicer place.
by fads_go | 2025-04-11 18:21:18+00:00
Not sure where you get your information. Many civil servants are motivated to do what is right for their country, civil service tends to draw mission-oriented people. People who are typically willing to go above and beyond to make things work.

Think about the teachers who buy classroom supplies out of their own meager paycheck because they want them for the lesson, and 'cost-cutting' means they don't have enough resources in the school.

Think of all the people at the CDC, or at NOAH, or similar.

In any large organization, and the Fed Government is > 2m employees, so it counts, you can easily find example of people who are driven and people who coast.

And actually, people are sacked in the fed if they don't make their numbers, or they are quietly sidelined.
by kmijyiyxfbklao | 2025-04-11 18:21:49+00:00
Yeah, structural changes don't happen slowly and by the rules. What people don't like is what they think the new system is going to look like. But we don't know what that is going to be because Trump seems to be better at destroying than at building. It will depend on his successor(s) being good at building institutions. Or it may fail and the old system regenerates.
by foolfoolz | 2025-04-11 18:21:54+00:00
it depends on the business and industry. at some phases in a business’s life you need to get features out more than stability. some industries are more sensitive to bugs than others. it’s not a one size fits all approach.

to shift the culture from “fast” to “safe” is mostly a team-based effort because not all teams need to shift. and even within a team you may have experimental and mature products.

i’ve seen this shift happen successfully multiple times. it must come from leadership. C-level and down. even if it’s just for one team. or one product. you need the buy in all the way up. and then your people in the chain will adapt to changing expectations
by tomaskafka | 2025-04-11 18:22:11+00:00
Hi HN, I tried my best to make a visual weather forecast that has a high information density but is still beautiful to look at (and to pin as a widget on an Apple Watch watchface, iPhone homescreen and mac desktop).

The app uses the great (and ofter underrated) forecast sources:

- Foreca (consistently ranking on par with the best services at https://www.forecastadvisor.com, with a very capable nowcast)

- Open-meteo (an amazing indie project from Germany, integrating almost all of the western world's open data sources)

- Pirate Weather (indie API exposing NOAA's GFS, HRRR and NBM models)

No ads, no tracking, and no sharing of locations with third parties (I have a middle-man server to isolate weather providers from being able to track individual devices movements, and I don't store any location or personally identifiable data - just like I'd like every service to behave).

Here's a screenshot gallery: https://impresskit.net/6430c7f0-b34b-418f-9824-f386f939be9a/...

Ask me anything :) Tomas
by mrguyorama | 2025-04-11 18:23:19+00:00
The opposition party has no power in the US, as designed explicitly.

If you wanted Democrats to have more power, you should have voted for them more.

If you DID vote for democrats, understand that the Constitution largely says they have no power. They can't do anything without swaying Republican politicians. By design.

Republicans are not willing to do anything to help them, because their party committing literal blatant crimes has never hurt their election chances, but since 2000, bipartisanship makes it very unlikely to get re-elected.

Unfortunately, lots of stupid people did not vote for democrats, and are now complaining that democrats aren't saving them.

Democrats cannot save anyone right now. By Design.
by WillAdams | 2025-04-11 18:23:27+00:00
There are a fair number of them --- one of my favourites was Hunt's _The FlatBow_:

https://www.goodreads.com/book/show/3977436-the-flat-bow

(having read a number of his other books)

https://www.tapatalk.com/groups/paleoplanet69529/decurve-ref...
by synergy7 | 2025-04-11 18:23:28+00:00
I think the second paragraph in the parent comment fits really well with mimetic theory and this René Girard quote: "Man is the creature who does not know what to desire, and he turns to others in order to make up his mind. We desire what others desire because we imitate their desires." This, however, doesn't mean that the current Netflix solution is the only one possible.
by metalman | 2025-04-11 18:23:28+00:00
Hey! and when that is all done, the surviving gen X creative talent, can have another go it's not like we were ever in any real rush in the first place but ya!, bieng the sandwich generation, stuck between old parents and little kids has been strange, but we do have experience, growing cunning awareness, and are just going to adapt some more chumbawumba
Show HN: Convert all your Tailwind V3 custom colors to V4 in one click
by hugohamelcom | 2025-04-11 18:23:30+00:00
Upgraded to Tailwind V4 and all my custom colors stopped working

V4 doesn't use tailwind.config.js anymore, they use @theme in the main CSS file

I had too many colors to change from HEX to OKLCH

So, I made a tool to convert all my colors in one click

1-click = Done
by konsalexee | 2025-04-11 18:24:20+00:00
Costa here, post author.

For the performance critical part, which is the screen-sharing and remote control, everything is done from Rust which is low level and gets the job done.

Native UI in this case wouldn't offer us much more. There is a case that maybe it could be faster in the video rendering in comparison from the browser's <video> tag, but we have not make any tests yet, maybe we should test this in the future.
by aucisson_masque | 2025-04-11 18:25:39+00:00
I like to think we are in a better place than russia for instance with all its propaganda and jailed journalists, but then i see these kind of article come over and over....

Most of the people in the 'free world' goes on mainstream media, like facebook to get their news. These companies are enticed to 'suck up' to the government because at the end they are business, they need to be in good term with ruling class.

you end up with most media complying with the official story pushed by government and friends, and most people believing that because no one has the time to fact check everything.

One could argue that the difference with russia is that someone can actually look for real information, but even in russia people have access to vpn to bypass the censorship.

Another difference would be that you are allowed to express your opinion, whereas in russia you would be put to jail, that's true but only in a very limited way. Since everyone goes on mainstream media and they enforce the government narrative, you can't speak there. you are merely allowed to speak out in your little corner out of reach to anyone, and even then since most people believe the government propaganda, your arguments won't be heard at all.

The more i think about it, the less difference i see.
by MPSFounder | 2025-04-11 18:26:28+00:00
A clown can always be put in charge for propaganda purposes. The facts remain

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

I know an American Christian family of Palestinian origin that proved their home had been in the outskirts of Nazareth (5 generations back, with concrete proof) that were denied a visit to Israel because they are not Jewish. It is shameful and repugnant. While anyone can visit Israel in theory, the gov will deny you entry if there is connection to the land that precedes Israeli settlements. And of course, the law of return is exclusively for Jewish people
by dcow | 2025-04-11 18:27:00+00:00
The PS3 was a technical failure. It was inferior to its siblings despite having more capable hardware. This was super obvious any time you’d play a game available for both Xbox and PS3. The PS3 version was a game developed for Xbox then auto-ported to run on PS3’s unfamiliar hardware. It’s an entirely fair hypothesis.

Maybe in 15 years someone crazy enough will be delving in and building games that fully utilize every last aspect of the hardware. Like this person does on the N64: https://youtube.com/@kazen64?si=bOSdww58RNlpKCNp
by freedomben | 2025-04-11 18:27:15+00:00
Netflix is big and surely not monolithic so there may indeed be some people or even departments that think that way, but the content production is not thinking that way. They genuinely want to create amazing content that is compelling. There is also the very real need to have their own content as well now that the networks are selling streaming services themselves and damn near everything is now exclusive to whatever streaming service
by settrans | 2025-04-11 18:27:25+00:00
Declaring something a "fact" without presenting evidence doesn't make it true. If we're talking about genocide, a clear, deliberate mass extermination campaign is usually what's meant, something akin to what the Jewish people experienced during the Holocaust.

You claim that Israel has an intent to wipe out Palestinians and steal their land. But if that was truly their aim, why hasn't it happened already? Israel has the military capacity to wipe out Gaza or any other area, but they haven't. The absence of full-scale destruction calls into question the assertion of genocidal intent.

In contrast, Palestinian factions like Hamas have repeatedly expressed their goal of annihilating Israel and its Jewish population. They acted on this intent with the October 7th attacks, promising more violence to come. They’ve openly stated their goal of driving Jews "into the sea", that’s genocidal intent, not from Israel, but from groups like Hamas.

So, if we're talking about genocide, where’s the evidence of Israel carrying out systematic, widespread destruction of Palestinians? On the other hand, if we look at Palestinian actions, the genocide you accuse Israel of seems to mirror the actions and rhetoric of those who seek Israel’s complete destruction.

Accusations like these are heavy and need more than just rhetoric. Without solid evidence, they become a diversion, not a reasoned argument.
by nemothekid | 2025-04-11 18:27:42+00:00
I feel like calling the PS3 a licked cookie is unfair.

>The original design was approximately 4 Cell processors with high frequencies. Perhaps massaging this design would have led to very homogenous high performance Many-Core architecture. At more than 1 TFlop of general purpose compute it would have been a beast and not a gnarly beast but a sleek smooth uniform tiger.

That's great and all, but the PS3 cost (famously) FIVE HUNDRED AND NINETY NINE US DOLLARS (roughly $900 dollars in todays money).

However one thing I noticed is that multi-core programming in 2006 was absolutely anemic. Granted I was too young to actually understand what was happening at the time, but a couple years ago I went in on a deep dive on the Cell and one thing I came away with was proper parallelism was in its infancy for mainstream development. Forget the Cell, it took a long time for game developers to take advantage of quad core PCs.

Developers were afraid of threads, didn't understand memory barriers and were cautious of mutexes. Gaben has a famous clip trashing the PS3 because most of valve's developers at the time did not have the experience programming multicore systems. It was common to just have objective-based threads (ex, Render thread, AI thread, Physics thread), and pretend coordination didn't exist for large parts of the code. This mostly worked up until you had more cores than threads. This stands in stark contrast to most parallel thread today that does userspace scheduling with tasks or threads.

Even Naughty Dog eventually figured out late in the cycle to best take advantage of SPEs using fibers with a system that looks like modern async reactors (like node or tokio) if you squint really, really hard.

The Cell was just really really early. Looking back I don't think the Cell was half-baked. It was the best that could be done at the time. Even if the hardware was fully baked, there was still 5-10 years of software engineering research before most people had the tooling to tae advantage of parallel hardware.