MurphyA/hacker-news huggingface dataset:
by volemo | 2025-05-13 17:36:10+00:00
> The user cannot but a good AI might itself allow the average user to bridge the information asymmetry. So as long as we have a way to select a good AI assistant for ourselves...

In the end it all hinges on the users ability to assess the quality of the product. Otherwise, the user cannot judge whether an assistant recommends quality products and the assistant has an incentive to suggest poorly (e.g. sellout to product producers).
by exiguus | 2025-05-13 17:36:16+00:00
> Why I built it: after moving from a Next.js stack back to Flask + Tailwind + HTMX, I missed shadcn/ui and didn’t want walls of Tailwind classes (like Flowbite or Preline).

I understand that Next.js can feel bloated, especially when used as a static site generator or within a classic JAMStack setup.

Basecoatui reminds me a bit of Bootstrap during the golden era of Ruby on Rails.

I took a look at the Git repository and tried to find an automated solution to convert shadcn to plain HTML but didn't find anything suitable. Is there a script available for this, or was this done manually?
by azonenberg | 2025-05-13 17:36:24+00:00
The board-level architecture is going to be super simple as big FPGA designs go:

* XCKU5P in the middle

* 12x GTYs routed to 4x Samtec ARF6 connector for the line cards

* 2x GTYs routed to 2x SFP28 uplinks

* RGMII to back panel management PHY

* Parallel SRAM bus to STM32H735 management processor

* A bunch of Murata MYMGK modules for power conversion off the 12V rail

* STM32L431 in QFN48 or more likely BGA100 depending on IO requirements as a PMIC and to manage reset sequencing etc

This will be fully FPGA based, no separate switch ASIC, and I want to do all of the hardware design. I'm not sure there is much I can learn from somebody else's FPGA switch design at the board level - it's basically just going to be a bunch of transceivers hooked up to SFPs and some power distribution. All the magic happens inside the FPGA.
by jerf | 2025-05-13 17:36:37+00:00
The most powerful objection to the proposition that C can be fixed is the many, many attempts lying by the side of the road.

There seems to be some sort of force in the programming language landscape that prevents a language that is too similar to another language from being able to succeed. And I don't just mean something like "Python versus Ruby", although IMHO even that was a bit of a fluke due to geography, but the general inability to create a variant of C that everybody uses.

The other problem is you still end up pushed in the direction of a new language anyhow. Let's say you create C-New and it "fixes pointers" so now they're safe. I don't care how you do that. But obviously that involves some sort of writing into C-New new guarantees that pointers take. But if you're conceiving of this as "still basically C", such that you can just call into C code, when you pass your C-New pointer into C-Old, you can no longer make those guarantees. You still basically have to treat C-Old as a remote call, just like Python or Go or Lua, and put it at arm's length.

The extent to which you can "fix C" without creating this constraint is fairly limited. It's a very well defined language at this point with extremely strong opinions.

As for "C alternatives", actually, the era of C alternatives has passed. C++, Java, Objective-C, C#, many takes on the problem, none perhaps nailing the totality of the C problem space but the union of them all pretty much does. The era we have finally, at long last, it's about time we entered is the era of programming languages that aren't even reactions to C anymore, but are just their own thing.

The process of bringing up an ecosystem that isn't C is now well-trod. It's risky, certainly, but it's been done a dozen times over. It's often the only practical way forward.
by nothrabannosir | 2025-05-13 17:36:54+00:00
I think parent commenter was solving the attack vector of a website showing a password modal to look like it just happens to float over the browser. By conditioning users that a password modal is always attached to the gui of the application requesting it, the hope is that a password modal on a browser window would raise suspicion with the user.

I think that was the idea, at least.
by throwaway5752 | 2025-05-13 17:37:07+00:00
Someone with a hacker mindset and domain knowledge might want to understand the subtext of the case, which is more important.

I don't think I'll convince you otherwise, but those interested can read this counterpoint to the Reason link with more background and detail: https://www.democracydocket.com/news-alerts/trump-ally-steph...
by dc396 | 2025-05-13 17:37:14+00:00
A few points:

- That post is a bit out of date

- On .ARPA: see RFC 3172 (it redefined ARPA to its current purpose)

- On the ccTLDs, the definitive list is ISO 3166-1 Alpha 2 (see https://www.iso.org/obp/ui/#search) -- ICANN (IANA) won't delegate a 2-letter ccTLD unless the code is on that list and it's the UN Statistical Agency's job to determine whether a Alpha 2 code should be created by ISO 3166 Maintenance Agency. And, to be clear, CIRA's comment on .EH was, of course, an April Fool's joke (Morocco takes Western Sahara extremely seriously)

- The history of new gTLDs was a bit condensed, but few people care about the details.

- ICANN is well along with the next round of new gTLDs (I believe the round opens in April of next year).
by alephnerd | 2025-05-13 17:37:19+00:00
Depends developing country to developing country.

White Collar hiring and salary growth has picked up in China, India, ASEAN, etc. Living standards for the average person won't be hot, but if you are working in a STEM field you are earning on the higher end, and by mid-career you can afford to insulate yourself from some of the worst aspects living in gated communities or suburbs.

Azerbaijan might be a different story, as you guys might be getting some contagion from Turkiye and Russia's economic slowdown.
by alkonaut | 2025-05-13 17:37:30+00:00
> You've got it totally backwards. Companies push features onto users who do not want them in order to make sales through forced upgrades because the old version is discontinued.

I think this is more a consumer perspective than a B2B one. I'm thinking about the business case. I.e. businesses purchase software (or has bespoke software developed). Then they pay for fixes/features/improvements. There is often a direct communication between the buyer and the developer (whether it's off-the shelf, inhouse or made to spec). I'm in this business and the dialog is very short "great work adding feature A. We want feature B too now. And oh the users say the software is also a bit slow can you make it go faster? Me: do you want feature B or faster first? Them (always) oh feature B. That saves us man-weeks every month". Then that goes on for feature C, D, E, ...Z.

In this case, I don't know how frustrated the users are, because the customer is not the user - it's the users' managers.

In the consumer space, the user is usually the buyer. That's one huge difference. You can choose the software that frustrates you the least, perhaps the leanest one, and instead have to do a few manual steps (e.g. choose vscode over vs, which means less bloated software but also many fewer features).
by Atreiden | 2025-05-13 17:37:45+00:00
This is one of the coolest things I've read here in some time. This is the kind of insanity I can get behind.

> The rest of us might think we achieve artistic immortality if our work lasts a century or three. Bök blows his nose at such puny ambitions. His work might get deciphered by Fermi aliens who finally make it to our neighborhood a billion years from now. It could be iterating right up until the sun swallows this planet whole.

I got frisson reading this. I may have to read the author's novels, his writing style is compelling.
by igouy | 2025-05-13 17:37:58+00:00
> the SmallTalk / Obj-C thing where you could send messages to nil and they're silently ignored.

Messages sent to the Smalltalk UndefinedObject instance are not silently ignored — #doesNotUnderstand.

Sometimes that run time message lookup has been used to extend behavior —

1986 "Encapsulators: A New Software Paradigm in Smalltalk-80"

https://dl.acm.org/doi/pdf/10.1145/28697.28731
by ThrowawayR2 | 2025-05-13 17:38:05+00:00
Nobody is asking you to lie. Your previous job and coworkers may suck enough to pull watermelons through a garden hose sideways but the job interview is not about your previous job or coworkers. It's about showcasing how awesome _you_ are and how well _you_ accomplished whatever you managed to accomplish despite the suck. Keep the gripes to yourself even if for no other reason that it takes time away from tooting your own horn in a time limited situation.
by wvenable | 2025-05-13 17:38:06+00:00
> But when organizations get hijacked

I haven't seen any reasonable evidence on this. I'm not saying that evidence doesn't exist, it's just everything that I've heard so far as been debunked. The current administration has been shown to lie and exaggerate over and over to justify these actions so I don't know why anyone would assume they're telling the truth about this.
by alabastervlog | 2025-05-13 17:38:10+00:00
I follow now! Sorry, I can read good, I promise.

Yes, the economic consequences (long-term to research and researcher-training and the industries that rely on them on the one end, and shorter term to e.g. farm and construction labor on the other) are definitely a highlight of democratic rhetoric against Trump's immigration enforcement regime & priorities, as far as "why we shouldn't do this", second perhaps only to matters of due process now that those have been forced to the fore (which is more of a, "regardless of what we're trying to do, this is an illegal way to go about it").

I suppose the third pillar of the push-back, maybe also more-prominent than the economic argument now that vague concerns have become concrete, is on humanitarian grounds, resisting specifically deporting people who're likely to come to harm if they are sent back, and shipping people to foreign prisons controlled by states with poor human rights records—of course this is heavily tied up with the whole due-process thing, since that's key to settling whether these sorts of claims have merit, if one cares whether they have merit.

It is true that Democrats often claim that a big part of why Republicans are so eager to crack down on illegal immigrants even at the expense of waves hand at paragraphs above is due to various -isms and -phobias, but you're right that I don't see a lot of "the reason we shouldn't do this is because it's racist/xenophobic", but rather "we shouldn't do this because [list of practical and humanitarian reasons]" (perhaps followed up by, "the reason the Republicans want to do this is racism and xenophobia", which I think is reductive and not very useful but is at least somewhat more-accurate than the opposing framing of motivation as, "democrats actively want, specifically, violent foreign criminals in our cities")
by ajross | 2025-05-13 17:38:10+00:00
I don't see how you think that will help? It's not about software abstraction, it's about hardware. Changing the "pointer" does nothing to the transistors.

Doing what you want would essentially require a hardware architecture where every load/store has to go through some kind of "augmented address" that stores boundary information.

Which is to say, you're asking for 80286 segmentation. We had that, it didn't do what you wanted. And the reason is that those segment descriptors need to be loaded by software that doesn't mess things up. And it doesn't, it's "just a pointer" to software and amenable to the same mistakes.
by ceejayoz | 2025-05-13 17:38:16+00:00
I mean, look at the Declaration of Independence. It has a list of greivances against the King. Several are pretty relevant:

> He has erected a multitude of New Offices, and sent hither swarms of Officers to harrass our people, and eat out their substance.

> For cutting off our Trade with all parts of the world:

> For imposing Taxes on us without our Consent:

> For depriving us in many cases, of the benefits of Trial by Jury:

> For transporting us beyond Seas to be tried for pretended offences:
by slowmovintarget | 2025-05-13 17:38:30+00:00
Search is being replaced by LLM chat. Agent workflows are going to get us to a place where people can rally software to their own purposes. At that point, they don't have to interact with the web front end, they can interact with their own personal front-end that is able to navigate your backend.

Today a website is easier. But just like there's a very large percentage of people doing a great many things from their phone instead of tying themselves to a full-blown personal computer, there will be an increasing number of people who send their agents off to get things done. In that scenario, the user interface is further up the stack than a browser, if there's a browser as typically understood in the stack at all.
by mikeweiss | 2025-05-13 17:38:33+00:00
This is so short sighted... autonomous vehicles including buses and trucks are on their way to our streets. We don't want to create rules and govern how this is going to work on our public roads? It's just going to be everyone for themselves, the vehicles will just follow rules meant for humans?

We have an opportunity here to set rules that cars should yield to rapid transit public buses, that vehicles should behave in ways to increase the flow of traffic, etc etc... there are many options for setting rules that autonomous vehicles must follow which is in the best interests of the public not just the rider.
by anigbrowl | 2025-05-13 17:39:12+00:00
There’s probably another name for this

Capitalism? Marx's core belief was that capitalists would always lean towards paying the absolute lowest price they could for labor and raw materials that would allow them to stay in production. If there's more profit in manufacturing mediocrity at scale than quality at a smaller scale, mediocrity it is.

Not all commerce is capitalistic. If a commercial venture is dedicated to quality, or maximizing value for its customers, or the wellbeing of its employees, then it's not solely driven by the goal of maximizing capital. This is easier for a private than a public company, in part because of a misplaced belief that maximizing shareholder return is the only legally valid business objective. I think it's the corporate equivalent of diabetes.
by fsflover | 2025-05-13 17:39:48+00:00
> companies that care far less about data security already have my phone number ... including my phone company.

Far less than these?

https://news.ycombinator.com/item?id=40592789

https://news.ycombinator.com/item?id=12305598

https://en.wikipedia.org/wiki/Criticism_of_Microsoft#Privacy...

This is unlikely.
by Retric | 2025-05-13 17:40:40+00:00
Depends on if anyone uses wells in the area. Probably not that much outside of some sci-fi movie extreme as piping water from in contaminated regions wouldn’t be particularly expensive, but the question is assuming something I’m not sure is possible.

How exactly would you get meaningful widespread tritium contamination of groundwater? IE not just the trace amounts you see from existing nuclear reactors.

Groundwater doesn’t flow quickly from a point source and tritium has a fairly short half-life. 60 years later you might be looking at a larger though still small area, but 97% of the stuff will have decayed and what remains is now diluted and doesn’t bioaccumulate.

It’s not going to concentrate around some site after entering the atmosphere the way heavier than air particulate pollution would.
Show HN: Get Unlimited Startup Ideas
by vojtechrichter | 2025-05-13 17:40:54+00:00
Hey HN!

Many new founders have the vision to start making their own products, but get stuck and the idea stage, and i was victim to this as well.

With FounderEvolve you can start generating unlimited number of ideas, to give you inspiration for your next project.

This is one my first projects, and I would appreciate any constructive feedback.

Have a great day!
by chneu | 2025-05-13 17:41:05+00:00
Intel really isn't in as much trouble as tech blogs like to act.

It's not great but lol the sensationalism is hilarious.

Remember, gamers only make up a few percentage of users for what Intel makes. But that's what you hear about the most. One or two data center orders are larger than all the gaming cpus Intel will sell in a year. And Intel is still doing fine in the data center market.

Add in that Intel still dominates the business laptop market which is, again, larger than the gamer market by a pretty wide margin.
by HideousKojima | 2025-05-13 17:41:29+00:00
https://en.m.wikipedia.org/wiki/Students_for_Fair_Admissions...

Educational institutions that have been banned from practicing racial discrimination in admissions (such as all public universities in California since the 90's) have insisted on continuing to find other ways to covertly racially discriminate in admissions. It's clear from their actions that racial discrimination in admissions is a fundamental value for these institutions, and they should not receive any taxpayer funding until they stop such disgusting and bigoted behavior.

Stop carrying water for them.

https://www.npr.org/2023/06/30/1185226895/heres-what-happene...
by 6510 | 2025-05-13 17:41:53+00:00
I hear part of the Chinese miracle of central planning is that they have almost full knowledge of everything everyone is doing in the economy. In contrast, in the west, where we optimize for personal gain, you can get a lot done by throwing up barriers and creating friction. We also pretend/believe our governments use all data against us.

My gut tells me that cryptography and clever use of time and location can be used to use public data for specific purposes alone.

You could for example construct security cameras with sufficient encryption that only a judge can request access to a specific chunk of time and has to provide a specific case number.

It might even be possible for the judge to request a specific thing from the footage like time stamps and licenseplate numbers not from people living there or even similar faces and devices seen around similar crimes.

I don't want the specific time stamps and locations made available buy I don't see great value in keeping my annual toilet paper purchases secret or how many km I need to travel to purchase shoes.

Maybe (when seeking) we should get proximity push notifications for job offers that fit our resume.

I mean, we should explore the boundary between anti-personel computing and useful application. Maybe things are worse than we think, maybe they can be made mutually beneficial.
by dakr | 2025-05-13 17:41:55+00:00
An act can be illegal. I don't see how a person can be illegal. Being in a country illegally is an act, not an inherent property of a person.

Trying to say a person is illegal seems like a non-starter for useful reasoning because it seems to absolve people of responsibility for their actions, since nothing can be done about who a person inherently is.
by JKCalhoun | 2025-05-13 17:42:07+00:00
The API in CoreGraphics (MacOS) for PDF, at a basic level, simply presented the text, per page, in the order in which it was encoded in the dictionaries. And 95% of the time this was pretty good — and when working with PDFKit and Preview on the Mac, we got by with it for years.

If you stepped back you could imagine the app that originally had captured/produced the PDF — perhaps a word processor — it was likely rendering the text into the PDF context in some reasonable order from it's own text buffer(s). So even for two columns, you rather expect, and often found, that the text flowed correctly from the left column to the right. The text was therefore already in the correct order within the PDF document.

Now, footers, headers on the page — that would be anyone's guess as to what order the PDF-producing app dumped those into the PDF context.
by asacrowflies | 2025-05-13 17:43:06+00:00
There is no arguing with these people they don't have objectivity or critical thinking.they will just take this as a personal attack and dig in more. The only thing left is to prepare for the violent insurrection (which you don't condone) and maybe pray for the pendulum to swing the other way and we can have a parallel to McCarthyism purging the unamerican magats from our midst.
by tedivm | 2025-05-13 17:43:07+00:00
Yeah, this was going to happen regardless of the US.

> The European Union Agency for Cybersecurity (ENISA) first announced the project in June 2024 under a mandate from the EU's Network and Information Security 2 Directive, and quietly rolled out a limited-access beta version last month during a period of uncertainty surrounding the United States' Common Vulnerabilities and Exposures (CVE) program.
by pheelicks | 2025-05-13 17:44:36+00:00
A5 cell boundaries are geodesics. One more difference that I thought of is that HEALPix is generally not aligned with the continents (makes sense as it is mostly used for astrophysics), whereas the hilbert curve used to index A5 is aligned with the continental land masses: https://a5geo.org/examples/globe

As a result, when A5 is used as a spatial index, it will generally not have jumps in the cell index values when querying nearby locations on land
by lillecarl | 2025-05-13 17:44:36+00:00
You jumped in into a question asked to someone else, I won't go into a pie throwing contest over an insignificant detail you care to win about, I don't have the grey text.

"Pretty outrageous" is good enough for me, if Microsoft tried to start charging for access to Win32 it would not succeed in any way, legal or with customers (it would be abusing market power), but because Apple has a strong hold on their users already they're supposed to just fall over and be fucked by fees that completely ruin any kind of "not very monetizeable" app because of their made up business rules? Markets are regulated everywhere, why should Apple be treated differently because they started from a different position?

You can spare me the reply
by ajross | 2025-05-13 17:45:15+00:00
Generated rust "p-code" would presumably be isomorphic to LLVM IR, which doesn't have this behavior either and would be subject to the same exploits.

Again, it's just not a software problem. In the real world we have hardware that exposes "memory" to running instructions as a linear array of numbers with sequential addresses. As long as that's how it works, you can demand an out of bounds address (because the "bounds" are a semantic thing and not a hardware thing).

It is possible to change that basic design principle (again, x86 segmentation being a good example), but it's a whole lot more involved than just "Rust Will Fix All The Things".
by tantalor | 2025-05-13 17:45:40+00:00
> regulating artificial intelligence models, artificial intelligence systems, or automated decision systems

Seems trivial to work around since there is no legal definition of AI.

Instead of making your law specific to AI system, you can simply make it slightly broader in scope so it includes AI systems in practice.

For example, prohibition on AI facial recognition in public spaces -> prohibition on any computerized facial recognition
by tannhaeuser | 2025-05-13 17:45:48+00:00
> All intel processors since the 9th generation (Coffee Lake Refresh) are affected by Branch Privilege Injection. However, we have observed predictions bypassing the Indirect Branch Prediction Barrier (IBPB) on processors as far back as 7th generation (Kaby Lake).

From that piece of text on the blog, I don‘t quite unterstand if Kaby Lake CPUs are affected or not.
by IAmBroom | 2025-05-13 17:46:05+00:00
You are either managing factory workers, or living in a dream world.

My boss has no idea what I'm working on, day by day. My assignments take as long as they take; he makes WAGs at the project start, and I get informed if I am burning more hours than he expected.

But at the end of the project, a "40-hour" project may take me 10, or 100 hours. Or, rarely, 40.