MurphyA/hacker-news huggingface dataset:
by ryao | 2025-04-14 07:14:43+00:00
It does not prove that the driver will not crash the kernel. It should be fairly easy to find a driver that passed QA testing under that tool, yet still crashed the kernel. You just need one of the many driver developers for Microsoft Windows to admit to having used that tool and fixed a crash bug that it missed, and you have an example. Likely all developers who have used that tool can confirm that they have had bugs that the tool missed.
by hnfong | 2025-04-14 07:15:08+00:00
It's not like there aren't disgruntled employees before layoffs. If a single employee could cause billions of dollars in losses, then the company already has a big problem regardless of layoffs.

It's very interesting how so many people in upper management seem to think that they can trust employees not to sabotage and cause billions of dollars in losses by paying them like 100k a year.
by andrepd | 2025-04-14 07:15:53+00:00
Delivery drivers are a completely separate problem, and they are a menace whether they ride bikes, scooters, or cars. The issue there is the gig economy apps incenctivising by every means possible (including threats of termination) that drivers go as fast as possible, rules and their own safety be damned. All for someone to get their soggy fries in 35mins instead of 40.
by torginus | 2025-04-14 07:16:24+00:00
It does sound interesting, and I'll look into Lisp, can you give me some advice on what's the best way to learn it?

On your other point, I've programmed in many languages in many years, and mostly I did some in an environment with an IDE, or powerful language-specific tooling (not tree-sitter) that had a proper good understanding of the syntax and semantics of the language used.
by varenc | 2025-04-14 07:17:23+00:00
Even seeing the domain name doesn't solve the fundamental trust problem. A malicious actor could post a fake QR code or fake short URL leading to "city-parking-secure.com" or similar legitimate-looking domain.

The real solution is establishing a trusted channel - citizens need to know they should only pay for municipal parking through their city's official domain (e.g., sf.gov/parking). But this isn't possible when it's some random parking company. I don't see a great solution.
by kazinator | 2025-04-14 07:17:45+00:00
They are:

#include <ctype.h> #include <math.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h>

They are all standard headers, required in a hosted implementation of ISO C. Only stripped down C implementations which the standard calls "freestanding" can omit parts of the standard library.

Except for <stdint.h>, all existed in 1989 ANSI C; though not with all the content they have now.

If you write a C program, you have a dependency on a C implementation; it's not going to compile itself. That's an external dependency: something not in your program. It is a second party dependency. First party is you, second is the programming language and library (and perhaps the platforms you are targeting and what they supply). Third party external dependencies are anything not in your program or language implementation or platform. The things you have to tell the user to download and install, possibly from source.

One second-party dependency this code has is on a Windows-like command interpreter which provides a "cls" command, for the several system("cls") calls the code makes to clear the screen.
by byungsoopark | 2025-04-14 07:19:10+00:00
I've been developing a 3D display technology that uses multiphoton absorption in open air to generate visible light points in real 3D space — no screen or medium required.

Unlike laser plasma displays (which require femtosecond lasers and high power), my method achieves volumetric light emission using resonant multiphoton excitation, which dramatically reduces energy consumption and improves safety.

Potential applications include AR/XR displays, holographic signage, military targeting systems, and even immersive entertainment.

Here's the concept and basic theory, with technical sketches and explanation (in English): https://blog.naver.com/as33sa

Would love to get any technical feedback, especially from folks working in optics, display tech, or photonics.
by arrosenberg | 2025-04-14 07:19:24+00:00
What part isn't clear? China needs our market more than we need their factories. It's going to be bad for both countries, but my thesis is that it will be worse for them, and the US will come out of it still well positioned economically.

I'm not sure what the New York Times has to do with anything, they're constantly spouting opinions that don't pan out.
by somerandomqaguy | 2025-04-14 07:21:26+00:00
The parking garage one can be really insidious. The parking apps where I live in Canada have a terrible design; you absolute cannot start parking session without an account that requires you to input name, address, phone number, and then the app itself has other technical glitches that genuinely made me wonder if I had been scammed.

What makes it doubly so is that the parking companies have been removing the parking machine terminals in some locations. The Royal BC Museum in Victoria BC comes to mind last time I was there. I'd be surprised if someone hasn't at least tried a QR code scam on it by now.
by kazinator | 2025-04-14 07:21:47+00:00
It looks like you might be abusing <ctype.h>

If you have a char array[] that can hold arbitrary binary data, some of the values can be negative, since char is usually signed. isapha(array[i]) is undefined behavior if array[i] is a negative value other than EOF. If it doesn't crash, it will likely index backwards into a lookup table and access garbage.

EDIT: I see from the dead reply that this is a bot, or a "vibe coder" who doesn't understand the code. The bizarre remark "<ctype h> is solely to allow me to define structs using typdef" is nonsensical. Whoever (or whatever) wrote the code understands that <ctype.h> provides functions like isalpha and is unrelated to defining C types.
by qwikhost | 2025-04-14 07:24:01+00:00
Hey HN,

After spending way too much time juggling keyword tools, content briefs, and SEO plugins, I built Qwikrank — an AI-powered platform that automates the entire SEO content workflow: keyword research, content generation, optimization, images, and even blog hosting.

It’s designed for solo founders, marketers, and small teams who want to grow organic traffic without hiring writers or learning SEO.

Would love your feedback or thoughts! https://qwikrank.com

Happy to answer any questions.
by NitpickLawyer | 2025-04-14 07:24:07+00:00
> the whole attack goes away once you fix that part.

While true, I think the main issue here, and the most impactful is that LLMs currently use a single channel for both "data" and "control". We've seen this before on modems (ath0++ attacks via ping packet payloads) and other tech stacks. Until we find a way to fix that, such attacks will always be possible, invisible text or not.
by avastmick | 2025-04-14 07:24:44+00:00
Having lived in China for five years and seeing how it is done there (literally everywhere), I see this as a payment problem. There is no sensible, low cost payment infrastructure to support this safely. Instead most of the west has a fractured app ecosystem where each app ‘does payment’ rather than via a set of trusted payment apps that do the security up front and then passes to the provider. For example, in the article the photos show an anonymous QR code you’d scan with your camera, rather than in China where you’d use Alipay or WeChat, whose app you’d use to scan the QR. When I returned from China, it took a while to readjust to the heightened (and often expensive) friction of payments. Not saying scams don’t exist in China, just that the payment provider gives some guarantees on the veracity of the claim made by the QR code
by Sonnigeszeug | 2025-04-14 07:25:17+00:00
They way they are doing it is wrong, nonetheless the general idea is something i do anyway.

Documenting code style, how to work etc. makes a lot of sense for everyone and i normally have good documentation.

The problem? I know what i do, i don't write the docs for myself but for others or for my future me who might forgotten things. The good thing? Writing it for me, others and LLMs makes it a lot more helpful day to day.

Instead of explaining myself multiply times to AI OR a Junior / new Team Member, i write it down once.
by frankacter | 2025-04-14 07:25:29+00:00
I can't speak for OP but I was indeed "permanently suspended" from Reddit:

https://i.imgur.com/nXp5cpk.png

My account is 18+ years old with 100k+ of organic karma evenly split between posting and commenting. I was an active moderator for both my local country sub and part of the moderator reserves program.

It was not clearly explained.
by dev1398 | 2025-04-14 07:26:41+00:00
I hear you and this is a problem that I currently face as well! We actually source offer data from all the major credit cards and one of the features we are going to implement is to show you offer data next to your optimal card (once we make improvements to our optimal card decision engine)

The idea is to later incorporate the promo and give you the ultimate best card, something we still need to figure out and perfect but as of now we can show you the best card for groceries and offers on the merchant selected
by piva00 | 2025-04-14 07:27:26+00:00
> As some people point out, what makes the news is the exceptions, not the norms.

There are also the cases that never make the news.

For example: last Friday I went to a friend's PhD defense in Stockholm, during the party/dinner after one of his supervisors was telling us the story where she got detained by CBP in her last visit in March. She is a Finnish professor, with a J1 visa, with a part-time position in an American university, she was detained and deported because the CBP agent didn't like she said she was coming into the US for work-related matters.

This never made the news or anything, she was quietly disposed of after being in "custody" for a few hours.

Her takeaway was simply she would give up this part-time work helping some American PhD students, she didn't need the money and the stress and time wasted was too much.

How many more of these cases exist? We will never know.
by bsder | 2025-04-14 07:28:08+00:00
Why this huge roundabout route? The route looks like autobahn almost all the way. Fixed comment about weight: 200 tons is 400,000 lbs--it's heavy but not absurdly so.

We'd put this on the road in the US without much fanfare. You'd need some civil engineers to check the road ratings and clearances.

I mean, this is what we consider heavy for roads in the US: https://www.youtube.com/watch?v=Y4pn4a4a2lA

Edit: I can't read. It's 200 tons not 100 tons. That's getting heavy, but I would still expect things like the autobahn to be able to handle that with an appropriate carrier.
by rollcat | 2025-04-14 07:29:02+00:00
> I'm not so sure you can learn Photoshop [...]

I'm not talking about learning Photoshop, I'm talking about quitting Photoshop. On a Mac, the "close" button is in the upper left corner of the window, and has been there since 1984. Dock icons only appeared in NeXTStep, which OS X inherited ca 2000. But the list goes on.

> Try writing a portable [...] application from scratch.

That's not my point at all. The terminal emulator creates a window for you, and puts pixels in it. The TUI application then talks to that emulator over a serial line, as if they were running on separate machines. Why not let the application paint the pixels directly?

> The mac Terminal isn't great for a few reasons, but iTerm and kitty absolutely let you do this if you teach Emacs to decode the sequences.

These extensions are non-portable, and require specific integrations on the part of each and every TUI application. For example, kkp is 800 lines of Lisp. Also, termcap is hell, and comes to bite you as soon as you spell "ssh".

> I avoid copy and paste because it doesn't fit in my workflow very well [...] Then, I go to the beach while my computer is doing stuff people pay for.

That's a lot of effort and dedication on your part, and I respect that. But let's be honest, what you're doing is a narrow specialisation - and that is what you're being paid for. I'm talking about applications copying and pasting text, displaying an icon in the dock, or having consistent key shortcuts - out of the box, consistently, no glue, no side channels to cheat the serial line.
by noisy_boy | 2025-04-14 07:29:14+00:00
> Wouldn't you want to hire and nurture people who cared so much about what they were working on and who they worked with, as the author seemed to be?

From the companies perspective: absolutely! If I can get people who will put in 10x for 1x of pay, nothing like it!

From employees perspective: Care for your work like a good construction worker does. They don't cut corners, speak-up when they spot issues and put in their body and mind. But they don't come back to the site at 11PM to take one more look at it (I do sometimes because solving the programming problem is fun, not because my corporate overlords will pat me on the back). It is indeed important to make sure that the building is strong but remember that you don't own it.
by hliyan | 2025-04-14 07:31:38+00:00
Tried reading the paper [1]. I understand the authors are academics, which is why I'm surprised the paper reads like a layman's attempt at a contributing to a "theory of everything", or at best, an inquiry written by a 18th century European philosopher of science.

- "identification of conceptual equivalencies among disparate phenomena were foundational to developing previous laws of nature" - what exactly is a "conceptual equivalence"? You mean models? Unifying disparate observations into models is basic science. Not sure why it is highlighted here as some important insight.

- "The laws of classical physics emerged as efforts to provide comprehensive, predictive explanations of phenomena in the macroscopic world" - followed by a laymen's listing of physical laws, then goes on to claim "conspicuously absent is a law of increasing “complexity.”"

- then a jumble of examples including gravitation, stellar evolution, mineral evolution and biological evolution

- this just feels like a slight generalization of evolution: "Systems of many interacting agents display an increase in diversity, distribution, and/or patterned behavior when numerous configurations of the system are subject to selective pressure."

At this point, I gave up.

[1] https://www.pnas.org/doi/10.1073/pnas.2310223120
by layer8 | 2025-04-14 07:31:39+00:00
HN is okay-ish, but you still can’t have long-running discussions on it, or explore some topic in depth, like it is par for the course on old-style forums. One reason is the time cutoff (can’t reply anymore after a day or so), another is that there is no mechanism for tracking which comments you’ve already read and which you haven’t.
by fredrikholm | 2025-04-14 07:33:07+00:00
Did you program against a REPL connected to your game, with state maintaining hot reload? Does your editor support working with s-expressions (eg. slurping and barfing)?

Batch processing style programming (write to file, save, run, stop, repeat) in Lisp removes some 3/4 of what the language(s) offer. It's especially so if one is navigating code by text rather than structure, eg. jump-to-next-word instead of jump-to-next-expression.

What is magical about Lisps, esp. the ones that are fully featured in this sense (Common Lisp, Clojure), is that you're programming a running program without losing state when you re-evaluate code.

That is magic. Instead of doing the save-compile-run-setup-conditions-wait-for-result-repeat hundreds of times per session, you run and write the code for your given problem when it arises during gameplay.

On top of that you throw on things like paredit, condition systems and you're and order of magnitude less frustrated and dare I say it, productive, than when you constantly have to churn through constant transitions between the code-in-file and game-in-memory disparity.

For games especially, things like test driven development make no sense because state is so insanely tangled. So you either hope for the best, or you program against a live game. I prefer the second option.
by Eisenstein | 2025-04-14 07:34:24+00:00
The fact is that a small llm can come up with scenarios that would be kind of like it, and you are dismissing that because you want humans to be the only things capable of originality. In fact you lifted an entire aspect of the campaign from a classic novel, and the mirrors being magic concept is pretty much ingrained in cultural tropes, so I'm not sure why you think that system which has as its basis the entirety of human written output which was designed to predict more output couldn't come up with it.
by Majestic121 | 2025-04-14 07:34:40+00:00
I don't even disagree with you, but your way of argumenting is terrible and actively deterring people from your point that union are a core component of a healthy free market.

If your point is to score virtue point, keep at it, but if you actually want to change anyone mind, avoid terms like "is hard to start educating you", it just makes you sound like a douche
by hargup | 2025-04-14 07:34:42+00:00
Was wondering why such scams are not a thing in India (yet?), and realized there is always a person next to the QR to verify the payment. So such QR quishing scams are much harder to pull off.

[Not saying there are no scams in India. Just that QRs for payments are very popular here as well, and scammers are smart and active, so was wondering why not]
by miki123211 | 2025-04-14 07:34:47+00:00
I wish you also offered company summaries, not just news.

Form 10-K is usually what you'd need to parse for those, maybe with recent stats taken from the 10-Q.

It'd be really great if one could get a report on a company in an industry they're unfamiliar with, with statistics like profit margin available at a glance, and a good description of how they actually operate, what is important to them, what areas of the business actually bring in the money (this is often surprising!) etc.
by mike_hearn | 2025-04-14 07:35:31+00:00
This is the problem, the article is written in such a loose way it's easy to take away slightly incorrect conclusions. It doesn't actually say (2), what it says is that the amygdala is larger in those who are right wing, and then there's lots of language that dances very close to "and right wing people are mentally rigid" without quite stating it outright. Because she wants to sound neutral this notion of being ideological gets inserted into the middle, and she recognizes there are strongly ideological people on the left, but it wouldn't match the conclusions of the study to say that ideological people have a bigger amygdala.
by bryanrasmussen | 2025-04-14 07:36:22+00:00
>Layoffs are for companies to reduce the size of their workforce and lower operating costs, skill distribution remains the same – there are various exceptions to ensure this.

But since this subthread is discussing LIFO layoffs, the problem is that generally the last in is also the lowest paid - not always of course - but if so it means that to hit your operating cost point you might need to reduce more people than you would if you could pick and choose.
by rollcat | 2025-04-14 07:37:15+00:00
> If you use emacs like you say, you should know you can bind ^C to whatever you want.

Hell no. I've suffered Emacs bankruptcy several times over the past 20 years. I try to keep my init.el under 1k lines to avoid another one. Rebinding Ctrl-X or Ctrl-C never works without addressing a dozen quirks, and there's always another one waiting around the corner. Hell no.

> I disagree with all of this. [...] I like ^C being what it always has been [...]

You're entitled to your opinions, but I'm arguing for more consistent behaviour for applications. This can be objectively measured by answering questions such as: "does this application copy and paste text? if so, does it use the same key shortcuts as the next application?"
by saltysalt | 2025-04-14 07:37:28+00:00
But I have looked at their evidence in the article. I then done a web search to learn more about Airparif, who leads them (and their resumes), who funds them etc. because I never heard of them (I am not French).

I have literally done my own research, and came away questioning their independence.

Nobody on this thread has given me any evidence that they are fully independent, best I got was a comment with a link to the Airparif website.

Instead I got attacked for even daring to ask the question. Go HN.
by vkazanov | 2025-04-14 07:38:06+00:00
Yes, C++ is a great example of having to make decisions that don't have good solutions without a GC or something like. See mentions of undefined behaviour in relevant sections of the standard, i.e. when a lambda captures something with a limited lifetime.

Are you saying that Haskell doesn't have lexical environments? It very much does, just as all major languages of the ML language family do.
by piva00 | 2025-04-14 07:39:50+00:00
I was being very honest, it is hard to start educating someone coming from that position since there is so much bullshit wrapped around a statement like "unions are just corporate blackmailing" which is hard to pull apart without knowing how the person came to that conclusion.

I don't even think it's possible to change someone's mind who already think that way, since it's purely from a point of absolute ignorance and I'm not willing to put enough effort to cite literature that could give them good starting points to understand something they are very likely not even willing to start understanding. They have a lazy position, I reply lazily.

They have an ideological position, based on ignorance, and from a single statement it's pretty clear they aren't curious and willing to change their mind.

Hence why I cite to look into how unions work in the Nordics, at least that is a starting point if they want to learn more about labour movements. It takes someone being curious though.

In the end, it was absolutely honest: it is hard to start educating someone who holds that position a priori and based on pure ignorance, and if not ignorance it's maliciousness, there's not much of a spectrum in this case.
by Scandiravian | 2025-04-14 07:42:36+00:00
Having experienced layoffs in both US and EU companies, the difference is massive. In my experience there is very little respect for "the human" being laid off in US companies

People literally would just disappear day to day. I've had several instances where I only found out a colleague had been fired because I tried to write them on Slack only to find that their account had been deactivated

Personally I felt constantly worried working in such an environment and I don't want to work for another US company again if I can help it

There are of course bad cases in the EU, but in my experience it's way less common than in the US
by reissbaker | 2025-04-14 07:43:06+00:00
FWIW "vibe coding" is a term invented by Andrej Karpathy in a tweet in February of this year, describing his own personal coding workflow. I don't think Cursor has tried to promise automating every aspect of software development hands-free.

My experience mirrors yours in the sense that most coding agents are very fast, but quite junior, engineers who sometimes struggle to fix their own bugs. Nonetheless there is an advantage to speed, and if you're working on a problem a junior engineer could solve, at this point why bother doing it yourself? One of the coding agents (I prefer Claude Code personally since it's a terminal-based tool, but Cursor is similar) can write out the code faster than I can. If it adds a bug, I can usually fix it quite quickly anyway; after all, I'm not using it for the more complex problems.

Where they are today though, I wouldn't use them for hard problems, e.g. dealing with race conditions in complex codebases. For simpler webdev tasks though they're pretty useful: it's been a long time since I've hand-written an admin dashboard, for example.