MurphyA/hacker-news huggingface dataset:
by neonsunset | 2025-05-16 17:06:24+00:00
> Needless to say, you can also write GC-free code, if you need that. It's not really advertised, but it's feasible.

It is not feasible under the JVM type system. Even once Valhalla gets released it will carry restrictions that will keep that highly impractical.

It's much less needed with ZGC but even the poster child C# from the GC-based language family when it comes to writing allocation-free and zero-cost abstraction code presents challenges the second you need to use code written by someone who does not care as much about performance.
by andoando | 2025-05-16 17:06:49+00:00
What if I said in English, you can "compound" words with adjectives so for example if you have a book, you can add red and say redbook, and you can keep going and do stuff like uselessoldreddirtyneverusedbook. You can even add possessives which have their own adjectives, like if the book was owned by a redbearded german army vet you'd say

The redbeardedgermanarmyvet'suselessoldreddirtyneverusedbook
by t_a_mm_acq | 2025-05-16 17:07:38+00:00
Post realizing CC can operate same code base, same file tree on different terminals instances, it's been a significant unlock for us. Most devs have 3 running concurrently. 1. master task list + checks for completion on tasks. 2. operating on current task + documentation. 3. side quests, bugs, additional context.

rinse and repeat once task done, update #1 and cycle again. Add in another CC window if need more tasks concurrently.

downside is cost but if not an issue, it's great for getting stuff done across distributed teams..
by ty6853 | 2025-05-16 17:07:41+00:00
Yes.

They claimed a dog alerted on me. An anonymous dog, handled by an unnamed officer in the affidavit, which was used as 3rd party inter-species hearsay via a HSI officer to the assistant attorney and judge.

A dog did not alert on me. In fact it is against CBP policy to use dogs on a person, they are to be used on your articles.
by Rochus | 2025-05-16 17:07:44+00:00
It's essentially written in Lua 5.1 with specific alternative implementations of mandelbrot and hashindextable for Lua 5.3 selectable by the test runner. But this doesn't matter much because my reference is LuaJIT. I have also compared different LuaJIT and also PUC Lua implementations, see http://software.rochus-keller.ch/are-we-fast-yet_LuaJIT_2017... and http://software.rochus-keller.ch/are-we-fast-yet_Lua_results....
by rfoo | 2025-05-16 17:07:58+00:00
You don't need to be nice to your virtual junior devs. Saves quite a lot time too.

As long as I spend less time reviewing and guiding than doing it myself it's a win for me. I don't have any fun doing these things and I'd rather yelling at a bunch of "agents". For those who enjoy doing bunch of small edits I guess it's the opposite.
by krisoft | 2025-05-16 17:08:15+00:00
The most concerning part in this article is this: "To me, that’s a pretty blatant breach of the unwritten “moral contract” of Open Source."

It talks about the breach of some unwritten contract. But surely they should have a very written, real world contract to describe the terms of that 15 day trial. And this should be a breach of that. The fact that this is not mentioned, or even entertained as a notion is concerning.

Moral contracts are good for philosophy discussions. Real contracts are much better when you need to use instruments of law to get someone to something.
by perihelions | 2025-05-16 17:08:34+00:00
If the FSB is leaning on her to do things under threat of violence, it's not a reflection on her ideals. I've emphasized this distinction as clearly as I possibly could. You cannot say "no" to goons with baseballs bats—read up on why Pavel Durov "quit" VK, and fled Russia [0].

Russia is not a free country where you can, just, idealistically handle large amounts of cryptocurrency as you please. It's literally a mafia state! They take what they want! Foreign currency, and in particular cryptocurrency, is a priority for that war regime right now. Huge targets on the backs of anyone associated with things like this.

[0] https://www.nytimes.com/2014/12/03/technology/once-celebrate... ("Once Celebrated in Russia, Programmer Pavel Durov Chooses Exile (nytimes.com)" (2014))

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

> "When a SWAT team appeared at Pavel Durov’s door in St. Petersburg, he started thinking about his future in Russia."

> "He was home alone, and he peered at them through a monitor."

> "“They had guns and they looked very serious,” said Mr. Durov, once Russia’s biggest celebrity entrepreneur. “They seemed to want to break the door.”"
by btrettel | 2025-05-16 17:08:39+00:00
On point 2, the study being apparently impossible to conduct as described was also a problem for Michael LaCour. Seems like an underappreciated fraud-detection heuristic.

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

https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&d...

> As we examined the study’s data in planning our own studies, two features surprised us: voters’ survey responses exhibit much higher test-retest reliabilities than we have observed in any other panel survey data, and the response and reinterview rates of the panel survey were significantly higher than we expected.

> The firm also denied having the capabilities to perform many aspects of the recruitment procedures described in LaCour and Green (2014).
by the_af | 2025-05-16 17:08:40+00:00
The problem with this discussion is that different interlocutors have different opinions of what vibe coding really means.

For example, another person in this thread argues:

> I'd rather give my green or clueless or junior or inexperienced devs said knives than having them throw spaghetti on a wall for days on end, only to have them still ask a senior to help or do the work for them anyways.

So they are clearly not talking about experienced coders. They are also completely disregarding the learning experience any junior coder must go through in order to become an experienced coder.

This is clearly not what you're arguing though. So which "vibe coding" are we discussing? I know which one I meant when I spoke of monkeys and sharp knives...
Show HN: Build your own AI code reviewer
by dearilos | 2025-05-16 17:08:57+00:00
Hey HN - We're building wispbit (https://wispbit.com/) - a tool that lets you build your own AI code reviewer.

We built this because we worked in big and complex codebases where we kept hitting booby traps - often the same ones. People forgot things, or quit altogether, amplifying the problem.

We looked for other ways to fix this, but the solution is usually a combination of: - Writing a linter rule - too difficult and time consuming. - Writing docs and having frequent meetings on alignment - basically a full time job. - Using plug and play code reviewers - too generic and chatty.

So we built wispbit. The premise is simple: 1. Connect your repo and wispbit will generate some codebase rules based on repo activity, or add your own 2. Run the reviewer in the CLI to get early feedback before opening a merge/pull request 3. Reviewer also runs in CI to enforce the rules for everyone

Our thesis is that putting your "tribal knowledge" into a set of rules reduces downtime/unplanned work, ramps up engineers faster, and aligns your team on what kind of code is acceptable.

wispbit is not only a companion for humans, but for LLMs generating code. With the rise of “vibe coding”, many engineers (ourselves included) are starting to catch themselves merging in code without reading it.

Right now, wispbit will do some heavy lifting for you, but it’s still up to you and your team to write and maintain the rules. We imagine a future where we come up with rules before you even think of them - by digesting your Slack, Notion, and Linear/Jira activity, since that’s where most of the technical discussions occur.

We would love to hear thoughts from anyone that is involved in the code review process! We've made it free to use while this post is up.
by kevingadd | 2025-05-16 17:09:05+00:00
This should not have been downvoted. It's true that the GIL does not make python code thread-safe implicitly, you have to either construct your code carefully to be atomic (based on knowledge of how the GIL works) or make use of mutexes, semaphores, etc. It's just memory-safe and can still have races etc.
by hmartin | 2025-05-16 17:09:21+00:00
Hi Peter, thanks for the AMA.

I'm curious what gaps you see in firm operation software?

I work in legal tech and from what I've seen all of the software focuses on tasks and artifacts (e.g. the many AI letter drafters) as opposed to holistically understanding / optimizing business operation.

Does this fit your sense of the software landscape? Are there other opportunities here beyond case management etc?
by abxyz | 2025-05-16 17:09:38+00:00
Many countries have quite strict limitations on immigration for work. Many countries do not permit any immigration without visa sponsorship. The U.S. permits sponsored immigration with a quite reasonable bar (e.g: H1B, L-1). Many countries have similar lottery systems, quotas and minimum salary requirements. Given the demand for immigration into the U.S., it's not too surprising to see the limits (and restrictions) be more prominent.
by _Wintermute | 2025-05-16 17:09:39+00:00
My biggest issue with R package management is version pinning. If I specify an older version of a package, R will fetch the latest versions of all its dependencies, regardless if they're compatible or not, which leads to manually chasing down and re-installing specific versions of dependencies and sub-dependencies one-by-one.

Microsoft's CRAN time machine helped solved this, but I think they've recently shut it down and I don't really trust Posit to not have a version behind a paywall.
by Ancapistani | 2025-05-16 17:09:40+00:00
I ordered mine on launch day, and received it about a week later. Somehow, I even managed to convince my employer to buy it for me.

It's fair to say that the "new" has worn off the Vision Pro for me many months ago. That's a relative statement, though; when I first got it I used it every day. Now I use it 2-3x weekly at home for the entire day. It's nice to be able to wait in the vehicle while one of my kids is at an activity and have a virtual monitor that fills my field of vision.

My argument was that it would increase my productivity while away from my actual desk; while I don't travel much for work, my family is fairly non-traditional. Neither of us have in-person jobs. We homeschool our kids. We're constantly traveling, either for my wife's side hustles or our kids interests.

One of the best things about it is using it while traveling. A couple of weeks ago we bought a used livestock trailer that was six hours away. The whole family loaded up in the truck, my wife drove, and I spent the next six hours in VR. I got more done than a typical day, it allowed more flexibility in our lives, and - believe it or not - I was actually a part of the conversations in the car the entire time.

To my knowledge there is no other device on the market that can let me seamlessly work on a huge virtual monitor while traveling at 75 MPH down the interstate, while simultaneously allowing me to hold a conversation with my wife about the things around us. Everything else aside, it's pretty incredible to be able to go from reading logs to looking at the pretty entry gates for a ranch we're driving by, by moving my eyes a few degrees to the right.

Even if the only use case for it were as a monitor for my Macs, it has more than paid for itself. My 512GB VP was $4,700 with upgrades, prescription inserts, AppleCare+, etc. Add a decent carrying case (not the Apple one), Apple keyboard and trackpad - call it $5,000 total. How is that any different from someone buying an Apple Pro Display XDR?

Obviously, the monitor has much higher resolution, and features targeted at "creative" professionals. I get it, I've been a professional(-ish) photographer for decades. It's also only 32", and I'm a software engineer. I need screen space. I don't need color fidelity, or dynamic range. As long as the resolution is high enough for me to be able to read small text well, I don't care about that either. The Vision Pro's resolution is better than my eyes' ability to see small text.

No, I have no regrets around the Vision Pro. I still think Apple's "Spatial Computing" will eventually take off, but I'm satisfied with the purchase even if it ends up being abandoned and never receives another update.
by peab | 2025-05-16 17:09:56+00:00
This seems like a big number, until you compare it to the regular economy:

"The estimated amount of money laundered annually worldwide is between 2% and 5% of global GDP, that is, something between US$ 800 billion and US$ 2 trillion."

source: https://www.unodc.org/lpo-brazil/en/frontpage/2013/10/29-uno...
by rietta | 2025-05-16 17:10:11+00:00
I am not a lawyer, but my understanding is the extraordinary ability does not have to germane to your employment. I am aware of the the story of Gabby Franco - who appeared on a season of Top Shot years ago. She was on the Venezuela Olympic pistol team for the 2000 Summer Olympics in Australia. This status as an Olympian got her entry into the USA and eventually citizenship. https://en.wikipedia.org/wiki/Mar%C3%ADa_Gabriela_Franco
by MinimalAction | 2025-05-16 17:10:14+00:00
Hi Peter - why are international students on F-1 visa (not on OPT) being strongly recommended to not travel outside the US now? Is there a possible denial at the port of entry when returning? I for one am a F-1 student looking to travel to an academic conference abroad, but being advised to reconsider and stay back in the US by my DSO. I'm in the middle of my program, and my I-20 and visa are valid for another 3 years.
by 0x500x79 | 2025-05-16 17:10:34+00:00
I have also stepped back from LLM coding a bit. I still utilize LLMs for API discussions, maybe 1-off things I would stackoverflow before but I have stepped back a bit from autocomplete everywhere and even agentic flows.

And I feel more productive. I recommend that everyone gives it a try.

As a tenured SW developer in my company my measurements for success are much more than "how much code can I spit out". There are mentoring, refactoring, code readability/mantainability, and quality that are important to my job. I found that LLM generated code was not hitting the necessary bars for me in these areas (agent or code autocompletion) and so I have stepped back from them. The readability point is extra important to me. Having maintained million lines of code products, I have found that readability is more important than writing a ton of code: and LLMs just don't hit the bar here.

When I am playing with side projects that I don't have the same bar on, sure Ill have bolt or lovable generate me some code in combination with cursor or windsurf, but these are low stakes and in some ways I just want to get something on paper.
by ctoth | 2025-05-16 17:10:49+00:00
> Each task is processed independently in a separate, isolated environment preloaded with your codebase. Codex can read and edit files, as well as run commands including test harnesses, linters, and type checkers. Task completion typically takes between 1 and 30 minutes, depending on complexity, and you can monitor Codex’s progress in real time.
by rafaelmn | 2025-05-16 17:10:58+00:00
The colors scheme are like the definition of bland, theres zero punchy contrast, there's nothing popping. They show super smooth squiggly line as a "contrast" to a straight line in the play progress. Wow so brave, much courage

Feels tame and bland - and I have no problem with, in fact I don't really want my phone OS GUI to be radical. But just don't sell me BS about how this is bold and how it induces emotional response :D
by proberts | 2025-05-16 17:11:17+00:00
The concerns on the part of CBP when someone is seeking admission as a B-1 business visitor are the appropriateness of the applicant's proposed activities and the applicant's ties to home/intent to return home (Canada). So you want to keep in your back pocket documents that address these concerns, such as a foreign lease agreement, foreign pay statement, and evidence of the purpose, such as a printout of the conference being attended or a letter of invitation. It's also really important to be prepared to provide specifics about your purpose, who, what, when, and where.
by hinkley | 2025-05-16 17:11:31+00:00
> On my local machine, we saturate the usefulness of more connections at around 20 connections

What is your local machine? Max parallelism is often a function of CPU count, so knowing how many core the box has is useful, and might explain needing to do more tests between 20 and 30.

There’s an old rule of thumb that tasks that alternate between cpu and IO usage, such as for instance compiler jobs, often benefit from running 2 tasks per core as the second task can make about 50% more progress per second. Your results are awfully similar to that rule of thumb so I’m wondering is this an 8 core box? 10? 12?

> If the buffer has reached its maximum size , it blocks writes until the buffer has been flushed, to properly exert backpressure on the application.

I cannot think of a situation where I could convince my team to allow 100k inserts to be pooled up waiting in memory for a process to crash or a deployment to wipe it out, but having a single buffer is also a mistake. io_uring is a refinement of a very old idea of having a read and a write buffer that swap back and forth between two threads or tasks.

You write to one for a while, and then you hand it off to someone to process it and clear it, and you write to another while that is happening. You only block when both are full. I suspect you’re seeing some of the fruits of this in the COPY example, if you’re creating a new file for each batch.
by the_af | 2025-05-16 17:11:37+00:00
> Could an experienced person/dev vibe code?

Sure, but why? They already paid the price in time/effort of becoming experienced, why throw it all away?

> You really don't think AI could generate a working CRUD app which is the financial backbone of the web right now?

A CRUD? Maybe. With bugs and corner cases and scalability problems. A robust system in other conditions? Nope.

> I think you're purposefully reducing the scope of what vibe coding means to imply it's a fire and forget system.

It's been pretty much described like that. I'm using the standard definition. I'm not arguing against LLM-assisted coding, which is a different thing. The "vibe" of vibe coding is the key criticism.
by cruffle_duffle | 2025-05-16 17:11:59+00:00
ChatGPT loves to do that artificial, inauthentic snark thing with me. Its style and tone are reflective of its reinforcement training.

I’d assert that unless it was specifically trained on my writing style, it is almost impossible to “prompt away” the tone it uses.

And that is the thing about authentic snark, it is crisp and edgy and unique. But LLM’s are trained in a way that would average out millions of different “snarks” so all of the attributes that make snark work go away.
by Towaway69 | 2025-05-16 17:12:15+00:00
I wrote an article about this[1] and you are definitely right: a lot of packages are rotting away a bit however, because NodeRED does a lot to stay backward compatible, older packages still work. The oldest ones I'm actively using are five or more years old, i.e., haven't been touched nor updated - still work.

What I tried to say in the article is the same as you say: base NodeRED, the core works really well and has great features - no questions. And even if packages die, the core will still remain usable and that makes a difference.

Its a bit like saying Linux is a pile of broken bits because the ls command has been updated in ten years: Linux will always work and those commands that are based on the core will continue to work becausae the Linux kernel will largely remain backward compatible. Packages fail when they have external dependencies that change but code that is solely based on the core will continue to work.

[1] https://blog.openmindmap.org/blog/crunchy-numbers
by pavel_lishin | 2025-05-16 17:12:31+00:00
> it is merely a means by which privileged co-eds can make the right connections

90% of the value of going to college was exactly this for me.

My roommate's father knew someone looking for a software developer, and they hired me before I even graduated. Another roommate got me my next job, post-graduation. Meanwhile, the actual education I got did not really do a great job of preparing me for writing software.

Granted, I was on the CS track - which is more academic than the Software Engineering track offered - but this was absolutely not clear to me at the time, and nearly everyone I went to school with did nearly the exact same thing.

But maybe this isn't true for other specialties. I'm hoping that engineers & architects & other people who are responsible for building the systems keeping me alive are getting a much better education.
by ytpete | 2025-05-16 17:12:34+00:00
A disturbing thing about this is the blog makes it appear Microsoft misunderstands the severity and isn't going to patch it:

> Vendor’s reply “this case has been assessed as low severity and does not meet MSRC’s bar for immediate servicing due to RCE is no longer possible without extensive user interaction (i.e., accepting a save prompt to a location controlled by an attacker).”

Meanwhile, the blog includes a video demonstrating the exploit where no such user interaction is involved. You just open a folder containing the 3rd-party code, and even if you tell VS Code you don't trust this folder, you get owned the moment you view the Jupyter .ipynb file in it.
by dmurray | 2025-05-16 17:15:53+00:00
What a wonderfully HN response to a biographical piece on James Gosling.

For my part, most of the Java code that I have written that needs to use IP addresses needs somewhere between 1 and 10 of them, so I'd never notice this overhead. If you want to write, like, a BGP server in Java I guess you should write your own class for handling IP addresses.
by WalterBright | 2025-05-16 17:16:13+00:00
Do you really believe that lack of resources in S America meant lack of prosperity? It's still composed of third world countries.

> and may be the least important

It's the only common thread. I provided numerous examples that refute the requirements you listed.

> Japan

Japan's pre-war industrial economy was not an economic powerhouse. Their soldiers were very lightly equipped. They built a handful of capital ships, and when those where sunk they couldn't be replaced. Curtis LeMay resorted to area bombing of Japan because their heavy industry was a collection of homes with drill presses (LeMays' characterization) so there weren't concentrated industrial targets.

What's the excuse for S Korea, Taiwan, Hong Kong?

Have you noticed that when China gave up on collectivism and turned to free markets, suddenly they became a very prosperous world power?

Yes, people preferred to immigrate to the US. Why would that be? Because it is free market and hence a land of opportunity, unlike any place else at the time.

China has an enormous population, but did not become prosperous until, again, free markets.
by mrweasel | 2025-05-16 17:17:08+00:00
I'm not thinking algorithms. Let's say someone write a new web framework. If there is no code samples available, I don't think whatever is going to be in the documentation will be enough data, then the LLMs doesn't have the training data and won't be able to utilize it.

Would you ever be able to tell e.g. CoPilot: I need a web framework with these specs, go create that framework for me. The later have Claude actually use that framework?