MurphyA/hacker-news huggingface dataset:
by pclark | 2025-05-09 04:18:03+00:00
I once did this. I (Peter) had pclark@adroll and a co-founder of the 750 ish person company I worked at had peter@adroll. Other Peter was widely known as PK.

I jokingly emailed IT and asked to have P(eterclar)K@adroll and to my surprise they gave it to me. They even asked me if I thought it would be confusing for proper PK and I feigned confusion.

I promptly got a lot of email for proper PK and since he was co-founder, CFO and board member I decided this wasn’t a funny prank.
by fooker | 2025-05-09 04:18:14+00:00
> How did you like being stuck with Lightning ports until the EU forced them?

Didn’t make much difference for me, in fact I still use a phone with lightning.

The rest don’t really matter for me, I have not downloaded anything from the App Store after the initial phone setup and I don’t spend money on subscriptions. Apple being hostile to open platforms and competitors is a forty year old story.
by conception | 2025-05-09 04:19:47+00:00
So i use roo and you have the architecture mode draft out in as much detail as you want, plans, tech stack choices, todos, etc. Switch to orchestration mode to execute the plan, including verifying things are done correctly. It sub tasks out the todos. Tell it to not bother you unless it has a question. Cone back in thirty and see how it’s doing. You can have it commit to a branch per task if you want. Etc etc.
by jabrotapu | 2025-05-09 04:20:15+00:00
Location: India Remote Remote: YES

Willing to relocate: YES

Technologies:

- Javascript, Typescript, python

- Node, Express, Nest, Next, GraphQL, React-native, Web-Sockets

- React, Redux, MobX

- MySQL, PostgreSQL, MongoDB

- LLM agents, LangGraph, LangChain, RA

- vision diffusion AI models Flux Schnell with Comfy UI

- Docker, AWS-Cloud Lambda, S3, DynamoDB, Ec2.

---

Full-stack engineer with close to 8 years of experience to build, to architect software systems.

- Email: divyeshpar2496@gmail.com

- LinkedIn : https://linkedin.com/in/pbdivyesh

- Github: https://github.com/tapudp
by ramoz | 2025-05-09 04:20:35+00:00
Here is some insight... I had gemini obfuscate my business context so if something sounds weird it is probably because of that.

https://gist.github.com/backnotprop/4a07a7e8fdd76cbe054761b9...

The framework is basically the instructions and my general guidance for updating and ensuring the details of critical information get injected into context. some of those prompts I commented here: https://news.ycombinator.com/item?id=43932858

For most planning I use Gemini. I copy either the entire codebase (if less than ~200k tokens) or select only that parts that matter for the task in large codebases. I built a tool to help me build these prompts, keep the codebase organized well in xml structure. https://github.com/backnotprop/prompt-tower
by jabrotapu | 2025-05-09 04:22:40+00:00
SEEKING WORK | India, Europe, USA| REMOTE

Technologies:

- Javascript, Typescript, python

- Node, Express, Nest, Next, GraphQL, React-native, Web-Sockets

- React, Redux, MobX

- MySQL, PostgreSQL, MongoDB

- LLM agents, LangGraph, LangChain, RA

- vision diffusion AI models Flux Schnell with Comfy UI

- Docker, AWS-Cloud Lambda, S3, DynamoDB, Ec2.

---

Full-stack engineer with close to 8 years of experience to build, to architect software systems.

- Email: divyeshpar2496@gmail.com

- LinkedIn : https://linkedin.com/in/pbdivyesh

- Github: https://github.com/tapudp
by Seb-C | 2025-05-09 04:24:12+00:00
I disagree. I write complex code, and it is essentially bug-free.

And no, I'm not Jesus, I just care a lot about quality and have spent the last 20 years finding ways and strategies to improve it.

Reducing the number of bugs does not mean being a god that writes bug-free code on the first draft. It means being able to detect and fix issues as early as possible. In my case I aim to always do that before letting myself push any code to git.

IMO, it only comes down to how much someone really cares about the quality, but here are some examples of what can be done and is very effective:

- Plan ahead your functional and technical design

- Carefully research existing code to confirm the feasibility of the design

- Use a statically typed language

- Use advanced static-analysis tools

- Avoid magic, write explicit code. Especially avoid runtime checks such as reflection. Ideally, everything should be checked statically one way or another.

- Never let a code path/branch/corner case be unhandled, however unlikely it is (and go back to step one to refine the design if a code path has been forgotten in the current design)

- Always have automated testing. The bare minimum is to unit-test all business logic, including all possible code paths. Ideally e2e tests are nice, but not always a good investment. Tests must be 100% independent and never depend on an external environment, otherwise it's going to be flaky at some point.

- Always manually test every feature and path related to my changes (especially don't skip testing the ones that I think are going to be ok) before pushing anything to git.

- Warnings and "optional" notices are unacceptable and must always be fixed (or disabled), otherwise the list will just keep growing, which reduces the visibility of any issue and normalizes having problems.

- Have a CI integration that applies all the automated checks mentioned in this list and make everything mandatory.

Each one of those actions does on it's own significantly reduce the number of bugs. If you combine them all, you can effectively reduce the number of bugs to pretty-much zero. And since the earlier you find a bug, the cheaper is it overall to fix, I've also found-out that in terms of productivity it's always worth the investment (despite many people pretending the opposite).
by Retric | 2025-05-09 04:26:08+00:00
While not a technical term of art, copyright applies to a reskinned story. “the series is not available in English translation, because of the first book having been judged a breach of copyright.” https://en.wikipedia.org/wiki/Tanya_Grotter

There’s plenty of room to take inspiration and go in another direction aka Pride and Prejudice and Zombies.
by moralestapia | 2025-05-09 04:26:27+00:00
>The Catholic Church, and all Judeo-Christian denominations in general, are simply a vehicle for power and control.

Source: you.

For many, it is a place where they find community and make friends and build their lives around.

>it's actually more ignorant

This kind of crosses into a personal attack, but I'll let it slide. Just don't do that a lot or you'll get scolded by @dang or @tomhow, and with reason.

>a very evil man who used to do horrible things to me in the name of your god

With empathy, God didn't do that to you, you don't even believe in him so it wouldn't make sense for you to blame him. Reminds of something from a great writer, "He who has not God in himself cannot feel His absence", perhaps you're in for a treat later in life :).

There's another famous quote "To Caesar what is Caesar’s and to God what is God’s"; if a crime has been committed against you, there are social structures in place to call in for help, and judge and punish the people involved.

>"Lv. 0 attack dismissed." That is not what I would call dialectically skillful or considerate.

Oh yeah, because I should have taken offense at that and throw a tantrum, instead of writing a thoughtful comment. Sure.
by j16sdiz | 2025-05-09 04:26:27+00:00
https://support.apple.com/en-us/102651

> With Advanced Data Protection, the number of data categories that use end-to-end encryption rises to 25 and includes your iCloud Backup,...

> iCloud Backup (including device and Messages backup) (3)

> (3) .... Advanced Data Protection: iCloud Backup and everything inside it is end-to-end encrypted, including the Messages in iCloud encryption key.
by rgoulter | 2025-05-09 04:26:29+00:00
When browsing a GitHub repo, there's an option for "assistive chat" with copilot. -- I've found this a useful interface to get the LLM to answer quick questions about the repository without having to dig through myself.

Beyond autocomplete, I've found the LLM to be useful in some cases: sometimes you'll want to make edits which are quite automatic, but can't quite be covered by refactoring tools, and are a bit more involved than search/replace. LLMs can handle that quite well.

For unfamiliar domains, it's also useful to be able to ask an LLM to troubleshoot / identify problems in code.
by rvz | 2025-05-09 04:26:43+00:00
Great technical post, however:

> At Monumental we’ve building robots to automate construction, starting with masonry.

If you thought running to construction jobs was safe, well thanks to Monumental, it soon won't be.

The end goal is to achieve a 10% increase of global unemployment by the latest 2035 and 40% of employers anticipate reducing their workforce where AI can automate tasks by the 2030 deadline according to the WEF 2025 Future of Jobs report. [0]

Worse if earlier.

[0] https://www.weforum.org/publications/the-future-of-jobs-repo...
by simultsop | 2025-05-09 04:27:06+00:00
In a world where everything means everything, fighting ambiguity is not an easy task. Hence the refactoring.

> When there's a bug, there's no going back to an older version.

This practice is developed by the industry for a reason. It would be really silly to hear people running AI in Windows XP.

> Most users are giving up.

Rust is pretty new, users shouldn't rush to switch a stack because of hype. It takes time for languages to mature, even more for the ecosystem.
by ilaksh | 2025-05-09 04:31:18+00:00
The context is that WWIII is basically a foregone conclusion? If there is a hot war between the US and China, that proves that humans aren't fit to control the planet.

The only way this makes sense for people is if they are racists deep down and think that humans should compete like ant colonies.

Warfare is a total failure of management and society.

The human zoos of the future are not going to allow warfare or build up to it.

We have instantaneous global communication and translation.
by ninetyninenine | 2025-05-09 04:31:55+00:00
>I'm curious if you'll still back the argument you've made here after you've been programming for 30 years too. You're clearly already suspicious of how and why inheritance makes code harder to understand. I suspect in a few years, you'll come around to my point of view on this. But I'd love to know if I'm wrong.

I did insult your intelligence. Because when you said you have 30 years of experience I hear total arrogance. It's like "I'm right and you're wrong because I have 30 years of experience" When I hear that I just want the other person to shut the hell up.

>I agree about nesting. But nesting matters, because it forces us to design components which make sense in isolation. As a result, composition encourages - and in many ways requires - better modularity in code. Inheritance does not. Base classes are often poorly conceived, poorly specified grab-bags of state and functions. They lead to hard to understand, hard to follow code.

Again, you resuse the same code if you don't use inheritance. A cat walks, so does an animal, do does a dog. You have to write walk() twice if you don't use inheritance. There's a trade off here.

The difference is skin deep. It's the emergent complexity that is NOT skin deep.

combining objects via "object composition" or "inheritance" is different. One way is not more right then the other. It's simply that you can't handle the hierarchical relationships.

But think about it. If you have a deeply nested Object where you don't use inheritance. Then all the objects have multitudes of redundant properties, doesn't that result in complex code as well? And how does nesting objects make it less complex then inheriting objects? It's more of code navigation problem in the sense that when you use inheritance and you look at a child derived from generations of inheritance it's just hard to read and figure out what the final object is.

With object composition the view is the same. You have an object that holds generations of nested objects. The difference is you can control click and follow the definition of the nested object so it's more visible.

Thus it seems to me the issue with the complexity is that inheritance simply does not give you a widget you can control click into easily to follow the definition. This whole problem could be characterized by a user interface issue because it's not evident to me how an object with nested objects 1000000 layers deep is more complex then the same object derived from 100000 ancestors.
by maronato | 2025-05-09 04:33:07+00:00
Personally, I’ve found agents to be a great “multitasking” tool.

Let’s say I make a few changes in the code that will require changes or additions to tests. I give the agent the test command I want it to run and the files to read, and let it cycle between running tests and modifying files.

While it’s doing that, I open Slack or do whatever else I need to do.

After a few minutes, I come back, review the agent’s changes, fix anything that needs to be fixed or give it further instructions, and move to the next thing.
by epistasis | 2025-05-09 04:34:38+00:00
Isn't Microsoft also buying an awful lot of solar and wind and storage?

From a single web search just now:

- 400MW of solar in Illinois and Texas, Feb 10 2025 Reuters https://archive.is/5x9VA - 20MW of Wisconsin solar, October 2024 https://nationalgridrenewables.com/press-release/national-gr... - 400MW of Texas solar, Apr 8 2024 https://www.pv-magazine.com/2024/04/08/microsoft-signs-two-l...

and that's just the first three hits, there are so many more. TMI won't come online for years, it's planned for 2028, but we will have to see. It was shut down in 2019 because it couldn't compete with gas prices. Microsoft is buying at inflated prices to subsidize clean energy, but solar is also clean energy and when backed by batteries it is price competitive with gas.

The news was because "whoa Microsoft is paying for nuclear" not because "whoa nuclear makes a lot of sense."

There's only so many uneconomic nuclear reactors to start back up.
by plorkyeran | 2025-05-09 04:34:41+00:00
There's probably something that'll break, but iOS switched to 16KB pages with zero publicity or warning and it caused very few problems. The vast majority of applications don't care about what the page size is at all, and cross-platform native code already has to handle different page sizes so hopefully people didn't do the stupid thing of hardcoding it for Android and only dynamically checking on iOS.
by maxglute | 2025-05-09 04:37:50+00:00
Japan specializes in higher value small/medium size ships, which they do at annual >US WW2 scale. Modern surface combatants much more sophisticated than liberty ships, but broader point is US WW2 ship building tier effort is not whole of nation wartime endeaver anymore, especially with 2.5x larger US pop. Even if US pivots to smaller hulls / unmanned fleet, larger ships still part of future navy force design and there's strategic use for large commerical ship building if US planners insist on maritime ship capacity. At the end of the day, if US wants to be a maritime power, it needs to have a maritime industrial base, even if maritime expeditionary model likely won't survive a peer war.
by liviu31 | 2025-05-09 04:38:10+00:00
Location: Romania (Europe / CET)

Remote: Yes (Preferred)

Willing to relocate: No

Technologies: Java, Python, Javascript, Bash, Solidity, SQL, RDS, Redis, Spring boot ecosystem

Résumé/CV: https://tinyurl.com/34syxj52

Email: liviusti@proton.me

Experience: ~ 15 years

Expertise in analysis, design, implementation and testing of software projects. I've architected several SaaS products and consider myself fantastic at debugging, leading, and organizational skills. Always eager to learn new technologies and meet new challenges within and outside my area of expertise. Let's connect!
by diatone | 2025-05-09 04:38:15+00:00
Yes definitely, it tends to autocomplete patterns that extend beyond basic intellisense.

Also there are scenarios where wiring up exhaustive cases would be tedious or require clever use of a vim macro, that a call to AI tends to do in slightly less time but much less mental overhead - allowing me to move on with less fatigue. Overall I cover more ground this way.

It tends to excel when I’ve structured code in a way that’s easily copyable or extensible, such that I can ask the AI to replicate pattern A but for API B. Again this saves me dropping into a low level understanding of an API integration unless I absolutely need to. I tend to check if I need to based on test cases, observability, and performance monitoring —- all the same shit I’d usually use to determine whether or not I should edit the code manually anyway.

Overall, obvious net benefit when used prudently. I’ve seen juniors use AI to write messy code that’s challenging to debug, understand, and maintain. It really is just another tool. You can use it to make your life easier or you can use it to make your life harder.
by Const-me | 2025-05-09 04:40:22+00:00
Not sure it’s the main issue, but your infinite random stream implementation is broken due to integer overflow. Stream.Position is using int64 for a reason, but your _sequence field is int32 which wraps after 2GB. BTW C# compiler has a setting to convert arithmetic overflows into runtime exceptions, too bad Microsoft neglected to enable by default.
by 6510 | 2025-05-09 04:41:48+00:00
The form praised on that article is horrific UI. Makes me want to scream and pull out my hair. That someone created this abomenation is one thing but to praise it is the funniest thing of my day (one should have such things)

If you put a form in front of someone with fields like name and address when they are requesting a quote you don't go put "personal info" at the top... in a red font?? If it is important you use a larger font, red is for drama. We have bullshit draining the attention.

The same goes for "Address correction", the user is not to stupid to see the form is returned to them.

It gets worse from there....

"We could not find the address you entered"

If it was an IRL person to person interaction this is all you would say. No screaming or drama required.

Some elaboration would be nice. If you do that properly there is no need to vaguely talk about the address in general.

"Entered street name was not found"

Imagine that, ask yourself, would it be useful to also say you couldn't find the address?

But we have stuff between those two things to further confuse the user. I don't know the situation but if they may continue despite not finding the address you should probably just accept the address.

It gets even worse from here... We've told them we cant find the street name but the house number is also incorrect??? wha how?

I haven't the slightest what "Directional incorrect" means, maybe and/or works differently in the US.

We don't know what St means in a street name?

If one may make changes or continue with the address provided. How will the user know his changes are correct? If they want to continue as~is they cant be presented with "Address correction" again. You would need two submit buttons.

And finally, the truly most terrible part is that the "errors(?)" are not described above or below the form field they apply to.

We get this wall of complicated text where a few lines should have been enough.

As this is page 1 out of 8 the odds people will run away from the computer screaming are greatly improved.
Ask HN: People with new Macs / computers with GPU's, do you run LLM's locally?
by vishalontheline | 2025-05-09 04:42:25+00:00
I am considering finally upgrading to a new computer - most likely an M4 Mac with the primary goal of running coding assistants and training my own models locally.

Is this a good idea? Have you tried it? How's the performance?

Thank you!
by aoki | 2025-05-09 04:45:08+00:00
> Although numerous papers continue to be submitted to USENIX ATC with significant research being reviewed, accepted, and presented, the community has evolved, and now attends conferences other than USENIX ATC. From 1,698 attendees in San Diego in 2000, ATC attendance dwindled to 165 attendees in Santa Clara in 2024

It became a write-only conference :-(

I remember reading the NFS and Kerberos papers in school.
by 6510 | 2025-05-09 04:48:59+00:00
The concorde seems nice.

https://aviation.stackexchange.com/questions/16808/why-was-c...

imho the UI is the monitor, mouse and keyboard with the later two being the most important.

Also of interest here is the amount of conditioning the user enjoyed/suffered. If they cant get their things done elsewhere they will have to learn how to use the proverbial Blender. If the interface gradually got more complicated the long term user wont even notice how crowded it got.
by NitpickLawyer | 2025-05-09 04:50:47+00:00
While not directly what you're asking for, I find this link extremely fascinating - https://aider.chat/HISTORY.html

For context, this is aider tracking aider's code written by an LLM. Of course there's still a human in the loop, but the stats look really cool. It's the first time I've seen such a product work on itself and tracking the results.
by londons_explore | 2025-05-09 04:51:09+00:00
I'm surprised to hear all packets are processed in userspace...

If one is doing 1Gbps of traffic which is 100 byte UDP packets, that's a million packets per second you're gonna need to process.

A 1Ghz CPU only then gets 1000 cycles to process each one...

Very doable, but certainly not easy unless your engineers like hand coding assembly and having to think about every lookup table trick in the book...
by o11c | 2025-05-09 04:51:24+00:00
The underlying problem is that there are several different things, and many of them currently don't have APIs:

* the known-constant page size that must be passed so you won't get failure from `mmap(MAP_FIXED)`, `mprotect`, etc. (even if you don't call these directly, ELF relies on them and traditionally 4K was used on many platforms; raising it requires a version of ld.so with proper support). There is no macro for this. On platforms I know about, it varies from 4K to 64K. Setting it to a higher multiple of 2 is by design always safe.

* the known-constant page size that unconstrained `mmap` is guaranteed to return a multiple of. There is no macro for this. This is 4K on every platform I know about, but I'm not omniscient. Setting it to a lower multiple of 2 is by design always safe.

* the dynamic page size that the current kernel is actually using. You can get this using `getpagesize()` or `sysconf(_SC_PAGESIZE)` (incidentally the man page for `getpagesize(2)` is outdated by assuming page size only varies by machine, not at boot time)

The macro `PAGESIZE` is traditionally provided if the upper/lower bounds are identical, and very many programs rely on it. Unfortunately, there's no way to ask the kernel to increase the alignment that unconstrained `mmap` returns, which would safely allow defining PAGESIZE to the largest possible value.

Note that it is possible to get compiler errors for incompatible definitions of constants (or ranges thereof) by relying on `ld` magic (each value pulls in variable definied in a distinct object file that also defines an additional shared variable, causing multiple-definition errors), but this would need to be done by whoever provides the macros (which should be libc).
by rdtsc | 2025-05-09 04:51:35+00:00
Another, reason products end in "purgatory" is that the customer is already using something like it. During market research that's the final question people forget to ask. You might ask "Do you have a need for this product?" - "yes". "Do you like the product?" - "yes!", "Would you pay money for it?" - also, "yes". If you stop here and go hire 10 developers and spend millions of dollars to build it you might be screwed, because you forgot to ask "But do you already use something like that?" and the answer might also be "yes".