MurphyA/hacker-news huggingface dataset:
by thangalin | 2025-08-04 18:47:40+00:00
Re: https://www.industrialempathy.com/posts/design-docs-at-googl...

> ... sketching out that API is usually a good idea. In most cases, however, one should withstand the temptation to copy-paste formal interface or data definitions into the doc as these are often verbose, contain unnecessary detail and quickly get out of date.

Using R Markdown (or any Turing Complete documentation system), it's possible to introduce demarcations that allow the source code snippets to be the literal source of truth:

// DOCGEN-BEGIN:API_CLASS_NAME /** * <description> * * @param arg <description> * @return <description> */ uint8_t method( type arg ); // DOCGEN-ENDED:API_CLASS_NAME

Use a GPT to implement a parser for snippets in a few minutes. Then invoke the function from the living document for given a source file, such as:

`r# snippets -> parse.snippets( "relative/path/to/ClassName.hpp" ); docs -> parse.api( snippets[[ "API_CLASS_NAME" ]] ); export.api( docs ); `

The documentation now cannot ever go stale with respect to the source code. If the comments are too verbose, simplify and capture implementation details elsewhere (e.g., as inline comments).

In one system I helped develop, we were asked to document what messages of a standard protocol were supported. The only place this knowledge exists is in a map in the code base. So instead of copy/pasting that knowledge, we have:

MessageMap MESSAGE_MAP = { // DOCGEN-BEGIN:SUPPORTED_MESSAGES { MessageType1, create<MessageClassName1>() }, { MessageType2, create<MessageClassName2>() }, ... // DOCGEN-ENEDED:SUPPORTED_MESSAGES }

And something like:

`r# snippets -> parse.snippets( "relative/path/to/MessageMap.hpp" ); df -> parse.messages( snippets[[ "SUPPORTED_MESSAGES" ]] ); export.table( df ); `

This snippet is parsed into an R dataframe. Another function converts dataframes into Markdown tables. Changing the map starts a pipeline that rebuilds the documentation, ensuring that the documentation is always correct with respect to the code.

If a future developer introduces an unparseable change, or files are moved, or R code breaks, the documentation build pipeline fails and someone must investigate before the change goes onto main.

Shameless self-plug: The R Markdown documentation system we use is my FOSS application, KeenWrite; however, pandoc and knitr are equally capable.

https://keenwrite.com/
by saratogacx | 2025-08-04 18:49:04+00:00
I would say that Zuc has vision when compared to his counterparts.

To be clear, I do not _like_ the vision on a lot of fronts, especially around privacy, but there are a few points that are much less risk averse. The amount of money dumped into the metaverse shows they are willing to try some outlandish things to see if they stick. I don't see that attitude from any of the other big ones outside of more ways to bolt AI onto everything they ever wrote or feigning interest in something new like Apple Vision.

In a field of very mid players, he actually ends up standing out.
by sofixa | 2025-08-04 18:49:16+00:00
> So we’re going to judge what’s “legitimately” racist through what Democrats think is racist? It’s like you’re trying to prove my point! Expanding the concept of “racism” to encompass unrelated beliefs and preferences is a liberal idea, and baked into almost everything NPR does

Are you claiming that lying about Haitians eating pets to get people to vote for your anti-immigration platform isn't racist? How do you figure that?
by graemep | 2025-08-04 18:49:29+00:00
People who manually copy files are not going to use anything more sophisticated. It was not what I had in mind and I do not think its a fair comparison, nor is a pricey and proprietary platform.

These days I imagine people are more likely to be using git pull or rsync anyway.

> And php-fpm being called by nginx is also more complicated than just "node script.js" or running a compiled Go binary.

Apache with mod_php is still an option AFAIK. It is also definitely easy to find everything pre-configured on share hosting. Then there is FrankenPHP.

Might not be the easiest option for everyone, but it is going to be for some people.
by jjulius | 2025-08-04 18:50:08+00:00
If the feature you misused wasn't a part of your driver's ed class/driver's license test, and was dangerous enough to cause a crash if used improperly, perhaps Mercedes is at fault (to whatever degree) because they didn't do enough to ensure that drivers knew how to use it. Yes, technically, the driver may be at fault because, well... they're the driver, but this isn't something that is "either/or" - both can be at fault.

Drivers need to be paying attention, but is it not possible that Tesla could also do more to make things clear?
by ben_w | 2025-08-04 18:50:14+00:00
The gear generally requires an industrial base to keep it functioning. Given what was in SmarterEverDay's recent video about a barbecue cleaner, where so much of it ended up being imported despite their efforts (including chain mail!), I think in the event of another actual civil war, the USA would struggle to self-maintain any weapons more advanced than what you had in what is now "the" Civil War, and would be dependent on the whims of whichever foreign power wanted to support whichever sub-group.
by bee_rider | 2025-08-04 18:50:20+00:00
> Cloudflare banning bad actors has at least made scraping more expensive, and changes the economics of it - more sophisticated deception is necessarily more expensive. If the cost is high enough to force entry, scrapers might be willing to pay for access.

I think this might actually point at the end state. Scraping bots will eventually get good enough to emulate a person well enough to be indistinguishable (are we there yet?). Then, content creators will have to price their content appropriately. Have a Patreon, for example, where articles are priced at the price where the creator is fine with having people take that content and add it to the model. This is essentially similar to studios pricing their content appropriately… for Netflix to buy it and broadcast it to many streaming users.

Then they will have the problem of making sure their business model is resistant to non-paying users. Netflix can’t stop me from pointing a camcorder at my TV while playing their movies, and distributing it out like that. But, somehow, that fact isn’t catastrophic to their business model for whatever reason, I guess.

Cloudflare can try to ban bad actors. I’m not sure if it is cloudflare, but as someone who usually browses without JavaScript enables I often bump into “maybe you are a bot” walls. I recognize that I’m weird for not running JavaScript, but eventually their filters will have the problem where the net that captures bots also captures normal people.
by chimeracoder | 2025-08-04 18:50:43+00:00
> We're kinda proving my point.

> Clearly this has been a grave mistake

Are we? Has it? I don't see anyone's life and career being ruined. If you're saying that the "grave mistake" is that you've made a statement and now other people are disagreeing with you, then I'll say that's factually correct, but I don't really have any sympathy for the position that you've been wronged in any way.

> I've edited what comments I could to reduce a further flame war.

> As we can see from this thread, you guys are actually super easy going and don't get emotionally triggered at all.

This is the third time you've made this exact accusation in this thread (although you've edited out the previous instances).

It doesn't sound like you're trying to stop a flamewar. It sounds like you're trying to start one. But not very successfully, it seems! Because thankfully people aren't falling for what's looking more and more like very obvious bait.
by akopli | 2025-08-04 18:51:16+00:00
Hi all.

This project is about product search engine: Search for products in web shops from around of the world.

Last 5 months I have been working on collectig product data from web shops.

As of now there are just over 9 million products in database 791 web shops.

There have been lots of "problems" to fix along the way. And there still are.

The big picture plan is to collect product data from 100.000 web shops and have 59 minutes refresh rate per product.

Still long way to get there.

But for now this is it.

Feel free to test and give feedback.

Thanks
by EPendragon | 2025-08-04 18:51:23+00:00
For me tmux ended up being the solution for my dev needs. With a little bit of time, I learnt the ropes and became more or less productive with the default setup. Afterwards, I made it my own.

Like you mention, tmux sessions was one of the biggest features that I enjoyed about this tool: it does the job and does it well. Aside from that I love that I can use Vim-bindings with it, that it feels very similar to Neovim for me, so using them together is a no-brainer. Learning a couple of specific keyboard shortcuts is all it takes to make me productive.

I haven't needed to use a remote session yet like you note. While working with tmux locally I have learnt about all of these other features that I will definitely be looking forward to using once the opportunity arises.

I don't doubt that tools like ghostty, Alacritty, or WezTerm are great. I have heard lots about the first two. And I do intend to check them out.

What would you say is your favorite terminal and why as it relates to local development experience use? Are there features that these tools have that tmux lacks?
by junto | 2025-08-04 18:51:25+00:00
In every project I’ve seen where someone has evangelized a visual workflow designer (bar none), the overriding argument has been that “power users”, can “manage” the business workflows.

In every project the business users have no interest in “managing” business workflows, so the developers that built the tool end up having to use the tool for them, implementing their business use cases.

Developers are much more comfortable with code. You cannot easily unit test visual workflow designers. You cannot easily version or put visual workflow designs into source control.

Whenever I see one of these projects I run screaming in the opposite direction.

Locode in general is an anti pattern. I’m specifically looking at Microsoft Dynamics and Power Apps, aka. Microsoft Access Online

I would like to be able to upvote this post 100 times.
by yashasvishrm | 2025-08-04 18:51:48+00:00
Hi everyone,

I recently came across the Replit AI breach where an autonomous agent deleted a live production database—an incident that raised serious concerns around AI governance, security, and system access controls. Given how relevant this is to the work many of us do in cybersecurity and risk management, I wrote a short piece analyzing the breach and the broader implications for secure AI deployment.

Sharing it here in case it's helpful or sparks discussion: https://medium.com/@yashasvishrm/when-ai-goes-rogue-the-repl...
by stouset | 2025-08-04 18:52:07+00:00
Trillion-dollar companies run by egomaniacal billionaires do not need you rushing to your keyboard to make excuses for them.

A corporation can hire people and put processes in place to arbitrarily minimize (or not) the chance of an mistake in areas that matter to them. In this case, they did just that; only the thing being optimized for was “not giving data to the authorities”.

The evidence of this trial does not support an “oopsie poopsie we messed up so sowwy” interpretation of events. Tesla’s paid representatives went out of their way—repeatedly—to lie, mislead, and withhold evidence in order to avoid scrutiny. Fuck them and everyone involved with that.
by apparent | 2025-08-04 18:52:39+00:00
I'm unclear on how this would help. I know lots of people who have worked at big tech companies, and the concern about health insurance is not top of mind for any of them.

The young ones don't worry about it much because they are low risk, so even if they lost their job for a while, they wouldn't care.

The older ones typically have spouses that work, so they could get insurance through the other company's insurance.

And all of them make boatloads of money, so having to pay for health insurance on their own during a period of unemployment (after the transitional COBRA plan ran out) is not a huge concern.

It seems like this would be much more of a problem for people working in other, less highly-paid industries. But it's a bit of a misplaced concern in a thread about the ideal tech job. Getting rid of all perks would nuke tons of benefits that Googlers and others enjoy. Do you think that Google would make it up in salary if they got rid of the free lunches, laundry service, etc.?
by madrox | 2025-08-04 18:53:22+00:00
Every time there's an industry disruption there's good money to be made in providing services to incumbents that slow the transition down. You saw it in streaming, and even the internet at large. Cloudflare just happens to be the business filling that role this time.

I don't really mind because history shows this is a temporary thing, but I hope web site maintainers have a plan B to hoping Cloudflare will protect them from AI forever. Whoever has an onramp for people who run websites today to make money from AI will make a lot of money.
by nameless_me | 2025-08-04 18:53:24+00:00
I agree with you. When I was younger, I spent many many years in evangelical Christian work and went to seminary. It is not difficult to manipulate people especially if one orates well and echoes the audience's pre-existing beliefs.

There appears to be a neurological wired-in need to 'believe' whether in God or UFOs (think Mulder in X-Files) which I think is a evolutionary survival mechanism to have an advantage to cope with the uncertainty of primitive survival. Any psychological edge such as believing we are special (chosen people arose during nation-building phases of cultural development) or that some supreme being will protect us against threats or enemies unifies and motivates feats involving danger.
by givemeethekeys | 2025-08-04 18:53:30+00:00
They shouldn't give anything to the cops.

If the driver is 100% liable without autopilot, then they should be held 100% liable with autopilot.

The law should be clear and unambiguous in this regard until we remove the steering wheel entirely.

The penalties for being at fault with auto pilot on should be even higher, since it may as well be just as bad as driving while texting!
by ojr | 2025-08-04 18:53:31+00:00
Another remotion video editor with vibe-coded features? There are so many of them... A video editor in the long term needs to be mobile-first. A web video editor in the big year of 2025 is not going to move the needle. Capcut has a free desktop app that you must compete with. I think a better idea is building a mobile video editor, it's much harder to vibe code. To be the "Cursor for Video Editing," it's a must.
by cnst | 2025-08-04 18:53:36+00:00
You know, I've talked to a whole bunch of people who actually own Tesla's, who actually work in tech, and most of them are completely unaware about any of these autopilot features whatsoever.

Most people are actually very dismissive of autopilot, and are completely misinformed of the benefits / drawbacks / differences of "FSD" versus "Autopilot".

Most are completely unaware of the improvements of v12 or v13, or differences between HW3 or HW4, or which one they have, or that "autopilot" is free, or circumstances under which autopilot can be used etc.

I talked to some guy last year (mid 2024) who was actually paying $199/mo for FSD v12, before the price drop to $99/mo, and swearing how great it was, yet he has never tried the parking feature, even though it's been released several months prior. He's a software engineer. That's just one example.

So, if anything, Tesla's marketing is nowhere near as successful as these naysayers would make you believe. Because the vast majority of Tesla's own customers are actually far behind on autopilot or FSD buy-in, and are NOT aware of the progress.
by kachapopopow | 2025-08-04 18:53:38+00:00
AI is a tool that has to be learned and the research is compeletely flawed in my opinion. For me AI is a sort of a colleague that is always there on demand which helps me see projects to the finish (this is really the fault either a variant of adhd or some other disorder). I don't know if it's healthy seeing AI this way, but I know for sure that I wouldn't have come close to the amount of progress I've made on projects that I have been pushing off for years. (replied to the wrong thread, but oh well)
by shkkmo | 2025-08-04 18:53:40+00:00
Sometimes some people seem to need to learn lessons the hard way. It's much better if that hard lesson comes on a scooter rather than in a car.

If we can get people to go to bars/etc on rental scooters then they won't have a car to get back in when they are drunk. Ideally they walk, bus or taxi at that point (new public education campaigns can help with this), but even if they get on a rental scooter, that's still a win for public safety.

I'll point out that it is much easier to take a taxi home and leave a rental scooter at a bar then to have to leave your car there overnight and go back the next day.
by WASDAai | 2025-08-04 18:54:40+00:00
modern academia in the United States, United Kingdom and Germany is rotting from the inside: insider hiring and partisan peer review keep gatekeepers in power; bullying, overwork and precarious contracts wreck mental health, sometimes ending in suicide; universities chase revenue by loosening admissions and inflating grades, turning students into paying customers; and the upshot is an accelerating brain drain that buries fresh ideas and wastes human potential, leaving the promise of a merit-based pursuit of knowledge hollow.
by devilbunny | 2025-08-04 18:55:08+00:00
The other way is that you make a commitment early and that you mold your personalities together as you grow older. Delaying marriage to “find yourself” is not always a good thing; I forget the exact term used in a very thoughtful essay on this, but it’s something like “my grandmother’s bookshelf”. By the time you’re in your mid-thirties, grandma’s bookshelf that you inherited is so important that anyone who doesn’t love it must not love you. In reality, grandma’s bookshelf is important - but so is building a life with another person, and you can’t let it keep you from that.

It’s not perfect, but nothing is. Life happens whether or not you’re paying attention.
by mullingitover | 2025-08-04 18:55:10+00:00
Even these are not far left, they're just basic liberal left.

Which groups or media that are commonly labeled 'far left' that are calling for nationalizing all land. Or eliminating all inheritances. Or nationalizing all communications and transportation industries. Or nationalizing the Federal Reserve (that one's really gone horseshoe theory, and is a republican plan now).

The only thing 'far left' people want to nationalize is health care, and that's simply the fiscally responsible policy. The thing that is crushing the federal budget is the obscene level of graft occurring in that industry, and the only way out is to nationalize or otherwise burn the existing system to the ground via government policy.
by EPendragon | 2025-08-04 18:55:20+00:00
For me, I use Spacebar as a leader key in Neovim, so I think they would conflict.

Does it ever create issues for you if you need to type the backtick in the terminal?

I found that Ctrl-A does a great job: it is conveniently located in relation to other keys that I need to interact with after I activate the prefix, and is in general easy to use.
by os2warpman | 2025-08-04 18:55:22+00:00
Guns are useless.

Everyone who believes guns are some kind of savior or last-ditch protector is fucking stupid.

There is a reason why, during westward expansion, the first thing towns did when they got two nickels to rub together to buy bricks to build a church was ban guns.

There are so many real-world examples of guns being useless that it defies logic and belief that people cling to the myth.

There are so few examples of guns being useful that those examples are the irrelevant exceptions to the norm.

Every single valley in Afghanistan has a small village along the valley stream where every household has at least one automatic rifle. That is what a society saturated with weaponry looks like: paranoid, tribal, and rapey.

In the US, the second "the good guys" show up with their AR and wish.com tacticool gear and start to pose any actual threat, the bad guys will retreat behind fortified walls and fences and start dropping JDAMs.
by lesuorac | 2025-08-04 18:55:57+00:00
300k of debt sounds kinda low.

https://www.bls.gov/ooh/healthcare/physicians-and-surgeons.h...

> 2024 Median Pay This wage is equal to or greater than $239,200 per year or $115.00 per hour.

> Physicians and surgeons typically need a bachelor’s degree as well as a medical degree, which takes an additional 4 years to complete. Depending on their specialty, they also need 3 to 9 years in internship and residency programs. Subspecialization includes additional training in a fellowship of 1 to 3 years.

So on ~240k you pay ~50k takes just to the federal government and we'll say 12k to the state. 178k is still pretty good, knock out 80k for living expenses (better not live on the coasts) and you're left with 90k which would (naively) pay down 300k debt in 4 years. That said, you're also probably 30 with a net worth of 0$ and could've done a different career path to make ~240k per year without a decade of education.
by shaky | 2025-08-04 18:56:10+00:00
I don't understand: the translation is not good because he omitted the author's name? He stated it plainly in his article:

> As it happens, I recently translated a short story by Kir Bulychev — a Soviet science-fiction icon virtually unknown in the West.

I for one enjoyed reading it! As for the article, it's on point. There will be fewer historians and translators, but I suspect those that stick around will be greatly amplified.
by genter | 2025-08-04 18:56:18+00:00
Different foods are going to affect your insulin levels differently, which directly controls whether your body is storing fat or burning fat.

I don't eat sugar and keep my insulin levels low, so my body is always in fat burning mode. A month ago I did a 5 day hike through the Trinity Alps, eating about 1000 to 1500 calories a day. Not once was I actually hungry.
by travisbhartwell | 2025-08-04 18:56:22+00:00
Location: Seattle, WA; looking to relocate to New York City

Remote: Hybrid or On-Site Preferred, but open to Remote from Seattle

Willing to relocate: Yes, to NYC

Technologies: Bash, Go, Java, Python, SQL, AWS (S3, CloudWatch, CloudWatch Log Insights, SQS), CI/CD, Docker, Linux packaging, Dependency Analysis, Internal Platforms and Developer Tooling, Security Hygiene

Résumé/CV: https://iam.travishartwell.net/resume/resume.pdf

Email: travis+hnjobs@travishartwell.net

Website: https://iam.travishartwell.net/

LinkedIn: https://www.linkedin.com/in/travisbhartwell/

GitHub: http://www.github.com/travisbhartwell/

I am a software engineer with mastery of the full software development lifecycle, from build systems to observability. I was most recently at Amazon for seven years, where I focused on designing, implementing, and operating tools and services that had organization- and company-wide impact, with my last four years focused on developer productivity and services. One of the achievements I am proud of was scaling the automated build fleet used for builds in CI/CD pipelines for all of Amazon four times, up to over 5,000 worker hosts, handling hundreds of millions of build tasks weekly.

I'm looking for my next challenge, and am looking to relocate to New York City for a hybrid/on-site role, though am also interested in the right remote role. My experience is varied, from devops to platform engineering to developer tools and services. I'm looking to level up my development skills and collaborate with talented people on challenging problems.