MurphyA/hacker-news huggingface dataset:
Ask HN: Best practice for using AI coding tools in a team?
by boshenz | 2025-11-24 11:22:12+00:00
I have been using AI assistive tools for coding like Cursor, codex, Claude code for quite a while now. Particularly for my own personal project. I rarely use Git when I am working on my own project, and I sometimes let LLMs generate bunch of code I don't read closely as long as they work as intended. I could create a fully working full stack web app within days with Cursor.

Now I am working with a startup, and clearly this would not be a working strategy. LLM just generates so big of chunk of code that sometime hard to review and collaborate.

Just want to know what is your guys strategy on using tools like cursor in a small team? how to keep the momentum going while being manageable.
by metalman | 2025-11-24 11:22:24+00:00
not in China, progress there is picking up pace, powered by solar. China is also prempting the loss of labour as people get older, and are building out fully robotic factories ,"dark factories" for the fact that the lights are turned off, not on, when they are running, as there are no humans on the floor. On the plastic's side China is by far the largest manufacurer of all things plastic, and buys load after load of US natural gas that gets pumped strait into cracking plants to be converted into polymers, but you can be sure that they, and others are working along sytematicaly to find a ploymer with the right properties for use, but that then iether breaks down comlpletly, or is inhearantly benign, and inert. My main point is that China, and nowhere else will decide how the whole plastic thing goes, and what we are loosing here in the west, is agency and credibility.
by Ukv | 2025-11-24 11:22:58+00:00
If the alternative was putting the information in some hypothetical file attribute with similar or greater level of support/availability (like for filtering across various search engines and file managers) then I'd agree there's no reason to keep it in the file extension in particular, but I feel the alternative here is just not really having it available in such a way at all (instead just an internal tag particular to the JXL format).
by larusso | 2025-11-24 11:23:07+00:00
I agree partly. I love cargo and can’t understand why certain things like package namespaces and proof of ownership isn’t added at a minimum. I was mega annoyed when I had to move all our Java packages from jcenter, which was a mega easy setup and forget affair, to maven central. There I suddenly needed to register a group name (namespace mostly reverse domain) and proof that with a DNS entry. Then all packages have to be signed etc. In the end it was for this time way ahead. I know that these measures won’t help for all cases. But the fact that at least on npm it was possible that someone else grabs a package ID after an author pulled its packages is kind of alarming. Dependency confusion attacks are still possible on cargo because the whole - vs _ as delimiter wasn’t settled in the beginning. But I don’t want to go away from package managers or easy to use/sharable packages either.
by subroutine | 2025-11-24 11:23:51+00:00
Looking through the list,

https://taxfoundation.org/data/all/state/state-road-taxes-fu...

that's about what I expected. And that's not even including sales tax from car purchases, and maintenance related spending. Suffice to say, without cars, a year bus pass would need to run ~ however much the average person spends per year on all car related taxes.
by zipy124 | 2025-11-24 11:24:03+00:00
I think it does but both ways tbh. A lot of the times they exist because people think managements job is to have meetings, like people think a developer's job is to write code. We are well aware that both of these job's have far more than this, but these are easy things to track and if a software guy is writing code, people assume that is productive and it is often the same for management having meetings.

It 'can'(strong emphasis) also give the manager a sense of importance and power or control through micro-management. The key is that the manager should be able to realise when the stand-up is not needed or has done its job on a particular day and end the meeting early, or adjust frequency based on how everything is progressing. That is the manager should side-line the ego and put the function of the meeting over their own feelings of control or power.
by anon191928 | 2025-11-24 11:24:36+00:00
it's insane that Norway state literally have the greatest wealth fund per capita, and state still wants more? wtf.

It's not like extra tax from wealthy is needed to support poor, so they pay their share? They are not some avg. country that needs extra tax to balance budget. State in Norway is already incredibly rich, beyond Usa and almost any nation on earth. Truth here is they do not want local competition and they hate wealth creation for indivuals? they have $trillions under control of the state and they punish wealthy and take extra millions? they already have that but greed level in people and state is beyond anyone and any entity. No company/other person is as greedy as them
by holysantamaria | 2025-11-24 11:24:40+00:00
I agree with you. Cats outdoors are a nightmare to local species. This super predator kills everything and is already responsible for the disappearance of so many species of birds lizards and other mice. I do love cats too but they have not their place outdoors, it’s like releasing an atomic bomb on local ecosystems. Their only place outdoors should be where they originated from where food is scarce
by OCTAGRAM | 2025-11-24 11:24:43+00:00
Yeah. Advanced Direct Connect p2p is using TIGER Tree Hash. Gnutella2 p2p is using TIGER Tree Hash. There is BitTorrent format extension to include per-file TTH, implemented by EAD TorrentBuild. For best performance we should also get rid of pointless per-block hashes in torrent files.

TTH is universal for p2p, and yet developers choose another hashes, making their tools not ready for p2p.

My lovely Mercurial is unfortunately also not ready for p2p
by noduerme | 2025-11-24 11:24:48+00:00
Ahhahah. For SWEs I think the phrase is "undefined behavior".

FWIW, my friend, I'm a Jew and I spent 5 years in France, Spain and Germany before coming to Prague. Czechia was the one place I felt welcome and safe in the EU. The noble history of the Czechs played a big role in that, but you could feel it every day in the way people treated each other. There is something incredible there about the people, the family, the place and the intelligence of Czechia. It is about keeping a small land for your family and people. I would say it's similar in many ways to Israel.

Now someone will come and shoot me, heheh.

But - there was a point. This is also why I defend Taiwan and I think everyone should. People should be free to get together to decide that they want to be part of something, not swallowed up by neighbors who despise their way of life.
by __loam | 2025-11-24 11:25:10+00:00
The executive can't unilaterally declare something is unconstitutional. The impoundment act was passed to prevent exactly this because that's exactly what Nixon did. The executive doesn't make the laws and congress literally already litigated this. If you want it to be unconstitutional then take it up with the supreme court, otherwise you're just indulging in lawlessness. This is a ridiculous argument.
by HeinzStuckeIt | 2025-11-24 11:25:14+00:00
> there's a recent theory putting the location of the proto-Germanic speakers in Finland.

There is no credible theory to that effect. Either you have stumbled on something that is not taken seriously, or you are misunderstanding the consensus. Namely, Proto-Germanic speakers did visit the eastern Baltic coast for trading and raiding, and so there are Germanic loanwords into Finnic languages of Proto-Germanic date, but the agreed location where Proto-Germanic formed is in Scandinavia, not Finland.
by TheFlyingFish | 2025-11-24 11:25:21+00:00
I've worried about this for a while with Rust packages. The total size of a "big" Rust project's dependency graph is pretty similar to a lot of JS projects. E.g. Tauri, last I checked, introduces about 600 dependencies just on its own.

Like another commenter said, I do think it's partially just because dependency management is so easy in Rust compared to e.g. C or C++, but I also suspect that it has to do with the size of the standard library. Rust and JS are both famous for having minimal standard libraries, and what do you know, they tend to have crazy-deep dependency graphs. On the other hand, Python is famous for being "batteries included", and if you look at Python project dependency graphs, they're much less crazy than JS or Rust. E.g. even a higher-level framework like FastAPI, that itself depends on lower-level frameworks, has only a dozen or so dependencies. A Python app that I maintain for work, which has over 20 top-level dependencies, only expands to ~100 once those 20 are fully resolved. I really think a lot of it comes down to the standard library backstopping the most common things that everybody needs.

So maybe it would improve the situation to just expand the standard library a bit? Maybe this would be hiding the problem more than solving it, since all that code would still have to be maintained and would still be vulnerable to getting pwned, but other languages manage somehow.
by brainwad | 2025-11-24 11:25:35+00:00
Shortening copyright terms would reduce the power of any given media company; but I think it might disadvantage creators of new works overall. Right now each company has a smaller back-catalogue than they would under a shorter term regime, and so the relative value to them of new content is higher.

Also, shorter terms would presumably lead to more consolidation between media companies (as there would be less differentiation via exclusive content), which would then reduce the number of buyers for new content, increasing the monopsony effects.
by sofixa | 2025-11-24 11:25:41+00:00
> How does that make it a "necessity"? It's not for China to decide? This is the reasoning Russia uses when invading neighboring countries. To "protect" russian people and claim that <insert part of country> are russians anyway and want to get annexed (still wouldn't make it right). If someone wants to join Russia, they should move to Russia.

The difference is that Taiwan only exists because the losers of the Chinese Civil war ran away to it, and the winners (CCP) were not allowed by the US to finish the job. So for the CCP, Taiwan has always been a problem still left to resolve, an American thorn in their side. It was along the main reasons for them joining the Korean war, because the monumentally dumb McArthur publicly praised and supported Chiang (the leader of the losers of the civil war, the KMT), which led to CCP fears the US will use the Korean peninsula as a sprinboard to attack them and install Chiang back to power.

So while self-determination trumps those concerns for my personal view, I can totally see where China (CCP) is coming from. Especially with a very aggressive American stance against them, why would they want to keep a very friendly to the US runaway province out there?

For Americans, imagine the Confederates ran away to Puerto Rico, force assimilated the locals, and became very friendly with Russia. For the French, that a Bonaparte was ruling Corsica while being friendly with the big bad wolf (depending on the age, Brits or Russians maybe). And on and on.
by fainpul | 2025-11-24 11:25:45+00:00
To me it sounds like it would be worth it for you to learn the basics of Fusion or FreeCAD. You would probably quickly recover the hours spent on learning with increased productivity.

I recommend going through some basic tutorial (written or in video form) to build a simple part. The tutorial should teach view navigation, drawing and constraining a sketch, extruding or rotating it to create a 3D body, modifiying that with chamfers / fillets, creating sketches on top of that to add or cut away parts, add holes, create patterns from features. I don't think you need to learn surface modeling at this point. After that you should be good to go on your own projects. You will still need to look up how to do something (as you do now), but that will improve quickly.
by icoder | 2025-11-24 11:25:50+00:00
My mom has hearing aids, I only get all the technical info through her, so it's a bit blurry, but she complained about very unpleasant scratchy noises, for instance when my dad was watching videos on his iPad (for himself) elsewhere in the room. Settings were changed but now she has a harder time understanding us. We don't have to scream but if we don't speak 'clearly', she misses a lot, especially when we are with a larger group (say 10 people at a dinner). She says she has some friends that she understands very clearly, in contrast to others (admittedly, me and one of my sisters are not the best examples of how to speak crystal clear).

Perhaps this is just the limit of her hearing capacity. Or do you think she should not settle for this and push for something better?
by tialaramex | 2025-11-24 11:26:23+00:00
I see what you mean for -> although personally I haven't missed it (I spent many years writing C) I don't write much pointer twiddling in Rust so I'm the wrong person to have an opinion.

However surely the aliasing is actually a problem and so MIRI is annoyed because what you wrote might be wrong? If we hang on to (*node).first_next() but somehow node changes, we're no longer talking about the same thing, it's exactly the aliasing problem.

I'd have to (which I have not) examine in detail how your code works to offer an opinion beyond speculation, but I think my instinct is sympathy for the "Don't write aliases" approach.
by mytailorisrich | 2025-11-24 11:26:39+00:00
I did not comment on the "validity" of the claim, just explained its rationale and history.

Chinese territorial claims in general are not "an excuse for expansion", they are rooted in territorial losses at the end of the 19th century and during the revolution of 1912 with the formal aim of recovering them. They also predate the PRC as you'll find that the ROC/Taiwan has the same claims for the same reason. This does not mean that China is going to go to war over them, certainly it won't go to war with India.

No need for drama or hysteria over those claims.
by ret2plt | 2025-11-24 11:26:53+00:00
I grant it's not nothing, but I think it's not enough of something to make changes over it. Thinking of a master record or similar is the natural reaction when you learn about the terminology, and most young people have never used bitkeeper, so unless you go out of your way to explain why this is "bad" most people won't even know, so what do you gain from it?
by epolanski | 2025-11-24 11:26:59+00:00
You could say the same about Germany where there's also huge regional differences (even bigger ones due to religion).

It's very hard to imagine European and world history without a united Italy.

Italian unification success was one (albeit not the primary one, which was the rivalry with Austria) major source of pressure on Prussian elites [1].

We look at history at very abstract level, but in 1861/62 Prussian newspapers were all into "look at how Cavour did in Italy, unlike that incompetent Bismarck".

[1] https://alg.manifoldapp.org/read/contested-visions-the-histo...
by afishhh | 2025-11-24 11:27:50+00:00
It's not about collisions of the hash function itself.

Every hashtable implementation will put the hash value through some sort of modulo because you generally don't want to waste memory storing the key 5726591 at index 5726591 in an array.

So if you know how the implementation works and the hash function is predictable you can keep providing the program with values that will consistently go into the same bucket resulting in linear lookups and insertions.
by kstrauser | 2025-11-24 11:28:26+00:00
Nitpick: it’s still going to collide when taking the modulo to decide what bucket to put it in. If you know that the hashmap has 1000 buckets, and you spam it with multiples of 1000, you could make it put every key into the same bucket and have O(1) lookups turn into O(n). That doesn’t happen with real hash functions with random seeds.
by mikkupikku | 2025-11-24 11:28:29+00:00
Who is "we"? Japan doesn't have much choice, they either do things even though they are next to China, or ..what?

Maybe its time for people to stop being paralyzed by fear and invest in their future. If China is such a severe threat to Japan, then invest more in the JSDF. Yes, China is powerful and has an aggressive stance, but that's no reason to give up without a fight. Japan and South Korea together can very nearly match China's shipbuilding tonnage per year, and besides that Japan collaborates with America to develop advanced naval missiles like the SM-3 Block IIA. Effective deterrence of China w.r.t. Japan should be achievable if people stop overdosing on blackpills.
by macbem | 2025-11-24 11:28:39+00:00
That's why I asked about comparison with friends etc. Senses are highly subjective, hard to describe and I'm not a matter expert so I'm not hoping for a quantitative answer, but despite all this I believe there still are some learnings to be had from such discussions. HN is mainly a curiosity-driven forum - without this, we'd just complain about AI eating the world ad nauseam.
by cluckindan | 2025-11-24 11:29:01+00:00
That’s not a very good analogy. Doing what I suggested is not illegal and doesn’t prevent you from using packages from npm. It’s more akin to due diligence: before driving, you check that your car is safe to drive. At the gas and service station, you choose the proper fuel, proper lubricants and spare parts from a reputable vendor which are appropriate for your car.
by exasperaited | 2025-11-24 11:29:21+00:00
I tell people this over and over and over: every time you use a third party dependency, especially an ongoing one, you should consider that you are adding the developers to your team and importing their prior decisions and their biases. You add them to your circle of trust.

You can't just scale out a team without assessing who you are adding to it: what is their reputation? where did they learn?

It's not quite the same questions when picking a library but it is the same process. Who wrote it? What else did they write? Does the code look like we could manage it if the developer quits, etc.

Nobody's saying you shouldn't use third party dependency. But nobody benefits if we pretend that adding a dependency isn't a lot like adding a person.

So yeah, if you need all of posthog without adding posthog's team to yours, you're going to have to write it yourself.
by brabel | 2025-11-24 11:29:33+00:00
China doesn’t want to destroy Taiwan , it wants to reunite with it like it did with other territories that had been taken by foreign powers, like happened to Hong Kong and Macau. Taiwan was occupied by Japan and then never went back to being China after the Japanese were defeated because the Chinese Party that was defeated in the Revolution fled to the Island and never accepted the PRC as legit government in China. Some of the more nationalist Taiwanese even consider themselves to be the legit government in exile of all China. You seem to not understand any of that when you compare China with Nazi Germany, really embarrassing.
by mittermayr | 2025-11-24 11:30:03+00:00
I always (very naively, I fully get it) wonder if someone at GitHub could take a minute and check the logs (if there are any at this level) from a week ago or so and scan them for patterns? The code seems to grab a few files off of GitHub, use Github actions, etc. -- perhaps there's a pattern in there that shows the attacker experimenting and preparing for this? I assume most people at this level have VPNs and so forth, but I'd never underestimate the amount of bad luck even those folks can have. Would be interesting, I know I'd have a look, if those logs existed.
by jacquesm | 2025-11-24 11:30:12+00:00
> That you even reach for that comparison is indicative of the deep rot in Javascript culture.

Sorry?

No, I'm the guy that does write all of his code from scratch so you're entirely barking up the wrong tree here. I am just realistic in seeing that people are not going to write more code than they strictly speaking have to because that is the whole point of using Node in the first place.

The Assembly language example is just to point out the fact that you could plug in at a lower level of abstraction but you are not going to because of convenience, and the people using Node.js see it no different.

JS is a perfectly horrible little language that is now being pushed into domains where it has absolutely no business being used (I guess you would object to running energy infrastructure on Node.js and please don't say nobody would be stupid enough to do that).

Node isn't fine it needs a serious reconsideration of the responsibilities of the eco-system maintainers. See also: Linux, the BSDs and other large projects for examples of how this can be done properly.
by mewpmewp2 | 2025-11-24 11:30:17+00:00
That's just you hedging, they don't really need to know that. As long as if you are hedging accurately in the big picture, that's all that matters. They need estimates to be able to make decisions on what should be done and what not.

You could tell them that 25% chance it's going to take 2 hours or less, 50% chance it's going to take 4 hours or less, 75% chance it's going to take 8 hours or less, 99% it's going to take 16 hours or less, to be accurate, but communication wise you'll win out if you just call items like those 10 hours or similar intuitively. Intuitively you feel that 10 hours seems safe with those probabilities (which are intuitive experience based too). So you probably would say 10 hours, unless something really unexpected (the 1%) happens.

Btw in reality with above probabilities the actual average would be 5h - 6h with 1% tasks potentially failing, but even your intuitive probability estimations could be off so you likely want to say 10h.

But anyhow that's why story points are mostly used as well, because if you say hours they will naturally think it's more fixed estimation. Hours would be fine if everyone understood naturally that it implies a certain statistical average of time + reasonable buffer it would take over a large amount of similar tasks.
by ljm | 2025-11-24 11:30:19+00:00
This does depend on a certain level of testing (automated or otherwise) for you to even be able to identify what breaks in the first place. The effect might be indirect several times over and you don't see what has changed until it lands in front of a customer and they notice it right away.

Move fast and break things is also a managerial/cultural problem in certain contexts.
by prmph | 2025-11-24 11:30:40+00:00
From Wikipedia:

Einstein–Cartan–Evans theory or ECE theory was an attempted unified theory of physics proposed by the Welsh chemist and physicist Myron Wyn Evans ..., which claimed to unify general relativity, quantum mechanics and electromagnetism. The hypothesis was largely published ... between 2003 and 2005. Several of Evans's central claims were later shown to be mathematically incorrect and, in 2008, the new editor of Foundations of Physics, Nobel laureate Gerard't Hooft, published an editorial note effectively retracting the journal's support for the hypothesis.