MurphyA/hacker-news huggingface dataset:
by sitkack | 2025-05-11 19:05:37+00:00
Great question. I have and I should.

This would make concrete and bring coherence to the grab bag of skills and experience I have. Though I think it would be 10x as much in a small group setting. It is like trying to recover the source code a binary where you don't even know the source language.

https://www.youtube.com/watch?v=M3nFcTpAwoM&list=PLUg3wIOWD8...
by nickjj | 2025-05-11 19:05:56+00:00
That is a good example, but don't forget your DB will also be doing many other things besides managing jobs.

In the Rails world of using the DB for everything you have your primary DB, solid queue, solid cache and solid cable.

If you lean into modern Rails features (using Turbo Streams which involves jobs, async destroying dependents, etc.) it doesn't seem that hard to rack up a lot of DB activity.

Combine this with pretty spotty SSD I/O performance for most VPS servers, I don't know about hosting everything on 1 box on a $20-40 / month server but I feel very comfortable doing that with Redis backing queue + cache + cable while PG focuses as being a primary DB. I haven't seen any success stories yet of anyone using the DB for everything on an entry level VPS. It's mainly DHH mentioning it works great with splitting things into different databases and running it on massive dedicated hardware systems with the best SSDs you can buy.

I like the idea on paper but I don't think I'll switch away from Redis until I see a bunch of social proof of people showing how they are using all of these DB backed tools on a VPS to serve a reasonable amount of traffic. We have 10+ years of proof that Redis works great in these cases.
by jerf | 2025-05-11 19:05:58+00:00
Well, one nice thing about doing things this way is that it'll still be as viable in five years as it is today.

I'm sitting on two UIs at work that nobody can really do anything with, because the cutting-edge, mainstream-acceptable frameworks at the time they are built in are now deprecated, very difficult to even reconstruct with all the library motion, and as a result, effectively frozen because we can't practically tweak them without someone dedicating a week just to put all the pieces back together enough to rebuild the system... and then that week of work has to largely be done again in a year if we have to tweak it again.

Meanwhile the little website I wrote with just vanilla HTML, CSS, & JS is chugging along, and we can and have pushed in the occasional tweak to it without it blowing up the world or requiring someone to spend a week reconstructing some weird specific environment.

I'm actually not against web frameworks in the general sense, but they do need to pull their weight and I think a lot of people underestimate their long-term expense for a lot of sites. Doing a little bit of JS to run a couple of "fetch" commands is not that difficult. It is true that if you start building a large enough site that you will eventually reconstruct your own framework out of necessity, and it'll be inferior to React, but there's a lot of sites under that "large enough" threshold.

Perhaps the best way to think about it is that this is the "standard library" framework that ships in the browsers, and it's worth knowing about it so that you can analyze when it is sufficient for your needs. Because if it is sufficient, it has a lot of advantages to it. If it isn't, then by all means go and get something else... again, I'm definitely not in the camp of "frameworks have no utility". But this should always be part of your analysis because of its unique benefits it has that no other framework has, like its 0KB initial overhead and generally unbeatable performance (because all the other frameworks are built on top of this one).
by osigurdson | 2025-05-11 19:07:00+00:00
I think it is generally in the best interest of companies to overstate what they are able to do with AI. Investors aren't interesting in hearing "we tried vibe coding but got tired of reviewing and fixing the trash code it produced". No, they want to hear "we've reduced our headcount by 40% while increasing customer satisfaction by 60%". Overstating AI adoption and success amplifies P/E ratios.
by AlotOfReading | 2025-05-11 19:07:08+00:00
I2C is also a bus, just one that's less reliable and involves more custom work to use.

A "virtualized OBD-II" is really just a UDS server if I understand what you're trying to convey. UDS is a dumpster fire of a protocol that should be expunged from existence, but my personal feelings aside can be run anywhere you want. That exists. I'm not aware of many systems that directly connect the infotainment processors directly to critical CAN buses. Usually there's an intermediary component to isolate them.
by lunaticman | 2025-05-11 19:07:16+00:00
Sorry, you lost me here on your game analogy. I haven't played games for a while. Or maybe our understanding of DRM term differs. I have never heard before use this term in the context of a software, more with books and music.

How does my solution differ from something that Postico and Sublime Text are doing?

My plan is to offer a fully featured application for free, but with slightly annoying pop-up that users can remove by paying a (reasonable) one-time fee. Is there a better way to go about this? I'm really curious.
by kennyadam | 2025-05-11 19:07:38+00:00
It's crazy that people will watch hours of YouTube content every day, streaming HD video with almost zero buffering, features like auto-generated subtitles that can then be automatically translated into other languages, essentially unlimited storage so the videos they like are around forever (copyright claims and the like are a separate issue), you can embed the videos onto your own site for free, you can use them to livestream... all this and you'll never see a single advert if you pay for YouTube Premium. It's fantastic, but most people are so entitled that they seem offended that YouTube would ask for money to provide this service. I know premium does nothing about the insane amount of sponsorship slop every creator stuffs into their videos now, but maybe if people stopped using every possible tool they can find to block YouTube adverts and paid for premium, YouTube would pay their creators more and they wouldn't need to constantly lie about drinking AG1 every day and the quality of raycon headphones.
by mindslight | 2025-05-11 19:08:06+00:00
"math you need to be an electrician for people who failed math class" seems like a reaction from within the model of the prevailing philosophy - more abstraction-first book learning. Whereas addressing a different learning style would be more like: here are the physical skills you need to be an electrician, here are more classes working your way up to build larger and larger things, and oh by the way now that you've developed the skills of building things while taking direction from someone telling you how to build it, let's try to teach you how to figure out how to build it yourself.

And I'm just wondering if the safety-and-HR-uber-alles dynamic has stamped out a lot a of that physical-skills-first in favor of like, dry lessons trying to tell people all about wiring before they actually get to play with wires. Thus making it so the same people who succeed here are the traditionally "smart" ones that can take abstract knowledge and store it for later, before having something tangible to apply it to.

(electrician might not be the best example for this because the differences between good/unsafe/unpowered wiring are still pretty abstract, but hopefully you can see the point regardless)
by MegaButts | 2025-05-11 19:08:27+00:00
The same options the average citizen of any country has - protest followed by rebellion. America was founded by rebelling against the tyranny of unfair taxes.

Until Americans understand that this isn't going to end without violence (or a very real threat of violence, meaning people actually show up prepared to fight), they will continue to be increasingly oppressed. You may disagree with violence, but the oppressors see that as convenient.
by airstrike | 2025-05-11 19:08:43+00:00
Thanks for sharing and good luck on your project. I think better docs is a worthwhile idea overall and although the implementation details may vary, a template solution could appeal to some people.

Separately, I find it disheartening that people come into this thread with some bone to pick against Rust and just downvote everything they see without adding anything to the conversation. Part of me feels that a downvote should require a reply for this reason.
by maerch | 2025-05-11 19:08:55+00:00
> If you have taken the time to learn your language well, you can avoid a lot of really bad decisions that don’t cost you additional time.

From my own experience, I can say that this mindset can easily become an eternal excuse to procrastinate building and shipping. “First, I must perfect my knowledge and tools—only then will I build my perfect product.” But that’s just another form of perfectionism, and often, it’s equivalent to never shipping anything at all.
by AlchemistCamp | 2025-05-11 19:08:56+00:00
I grew up in America and didn't find it incendiary at all. The extreme reaction was surprising to me, as well. The word was very common in 80s and 90s songs with no illicit or incendiary connotation whatsoever! In fact, I find headlines phrased like this article's annoying. It's just unclear and poor writing, IMO.
by hdjrudni | 2025-05-11 19:09:15+00:00
Huh? The built-in APIs aren't perfect, but we're talking about something simple as

``` fetch('/my-content').then(async res => { if(res.ok) { document.getElementById('my-element').innerHtml = await res.text(); } }) ```

Something like that. Doesn't get much easier. Gone are the days of browser inconsistencies, at least of you stick to "Baseline Widely available" APIs which is now prominently displayed on MDN.
by anzumitsu | 2025-05-11 19:09:27+00:00
I think this is true to an extent and it’s good to take a step back and remind yourself that thing you think is making you miserable is ultimately a small square of metal and glass. But the actual situation is more complicated. Clearly phones have utility beyond being skinner boxes, the ability to contact your loved ones, navigate roads and transit systems, translate languages, retrieve information from the web, etc are all extremely useful and their absence would decrease your quality of life. But since that’s all bundled together with the stuff people find harmful you’re left in a constant struggle to only your device in a beneficial way. You can lock down your phone but that’s just a band-aid. If someone can figure out a “smart-ish” phone that does the things I listed above but not the harmful things I think there would be a real market for it.
by bombcar | 2025-05-11 19:09:41+00:00
I have yet to find a bidet that works like a power washer for the beef starfish.

Instead, they all seem to just get your bum wet, so you have to get in there and dig around. Might as well strip down and jump in the shower - the power spray on any decent nozzle is way better.

Or buy some wet-wipes (baby wipes) and just don't flush them.
by throwanem | 2025-05-11 19:09:55+00:00
The idea that something which ships with the OS, as a compatibility shim for legacy but still intentionally supported applications, can be called "not part of the OS," is religious. Strongly discouraged or otherwise, I believe it to be in use here.

Not sure. I haven't really done anything serious with MinGW, or Cygwin or even Windows really, in at least a decade now. But there's not really a lot going on in the build here, so I would imagine with your much more recent experience you'd be better able to interpret what's there.

edit: Wait, are you even discussing the old (okay, ancient) Win32 API? I'm confused, but as I said, it's been a very long time since I attended the space.
by techjamie | 2025-05-11 19:10:32+00:00
A lot of it is on the publishers for their early review copy practices. Big media outlets will get early review codes for the games so they can be among the first to get a review out and net the traffic. But the publishers want good publicity in return for the early access codes, and reviewers that don't play ball can find themselves on an industry wide blacklist from receiving them in the future.

So the best, least biased reviews you can find are going to be 2-3 days post release, and not from someone who is large enough to get free review codes. I never trust pre-release reviews.
by surgical_fire | 2025-05-11 19:10:33+00:00
And once you open the door of vile ideas being treated as valid information, you risk them becoming the norm.

"Your knowledge is as valid as my ignorance" is a scocietal disease every country is facing right now to varying degrees of severity because bad ideas spread fast.

The thought that bad ideas can be challenged fairly in an open marketplace is a utopia. Most people are not interested in truth. They would rather touch themselves.
by dang | 2025-05-11 19:11:26+00:00
I get the frustration of encountering shallow dismissals and curmudgeonly comments (this is why we changed the guidelines recently - https://news.ycombinator.com/item?id=43922742).

At the same time, please don't react by breaking the site guidelines yourself or by putting down the community. It doesn't help; it only makes things worse.

If you know more than others do, or have something more constructive to say, that's great! Please share some of that so the rest of us can learn and converse. If you don't want to or don't have time, that's also fine, but please don't add putdowns to the thread.

It's always an option to downvote and/or flag comments that are breaking the rules, but if another commenter is wrong and you don't want to post a constructive correction, it's best to just move on.

https://news.ycombinator.com/newsguidelines.html
by sgarland | 2025-05-11 19:11:27+00:00
I don’t generally blog about it, but I may at some point.

For specific discussions on what I wrote about, I recommend (other than reading Postgres’ docs, of course) this [0] and this [1], and anything else on those sites.

If you like technical podcasts, postgres.fm [2] is pretty good.

[0]: https://www.cybertec-postgresql.com/en/hot-updates-in-postgr...

[1]: https://www.enterprisedb.com/blog/impact-full-page-writes?la...

[2]: https://postgres.fm/
by zkmon | 2025-05-11 19:11:30+00:00
Well, you call it friction, but others call it just the real world. It's going to be there, firm and fine, unaware of this digital, virtual bacteria. Just like those rocks who saw a highway come up beside them, a city getting built, and then all becoming ruins, restoring the natural landscape. All happening in a blip of time for the rocks. Adaptation would restore normalcy.

If social isolation and digital-ness is not rewarded, it would go away on its own. If it is not supported by the decaying social fabric, it would fall like facade of playing cards. Everything must interact with real world and adapt at the ground level.

Human endeavor has insignificantly small effect on the real world. Cultures and schools of thought fall and new ones rise. Real world doesn't adapt to your wish, you adapt to the world.

99% of the world population might not know any stuff you are talking about - trumpcoin, VR headsets, AI etc. That's not what the life on earth is made of.
by apical_dendrite | 2025-05-11 19:12:21+00:00
Do you have experience in healthcare, particularly working with high needs populations?

There are often complex social issues that don't have easy technological solutions, and you might not understand what these issues are if you don't have that background.

I see a lot of arrogance from the tech industry - there are a lot of people who think they know all the answers, but they've made faulty assumptions about what the problems are, and they don't really have the curiosity or the experience to know better.
by surgical_fire | 2025-05-11 19:14:08+00:00
> feedback loops maintaining the regulation at that "goldilocks" point of balance.

That is why a democracy with well functioning institutions is important. Power is fractured so that there are many checks and balances.

It's important that we have the right to criticize the government, and to keep those in power in check.

We don't need to ensure every dickhead can deny the Holocaust, or call black people monkeys, or claim that 5G technology is a conspiracy to kill those that take vaccines to ensure we have proper rights to speech in that 'goldilocks" zone.
by hdjrudni | 2025-05-11 19:14:22+00:00
That sounds nice and it probably works fine if you're targeting a single business running Windows, but targeting Mac, Windows and Linux remains more difficult, no?

And is there even a guarantee that your deploy will be rolled out in X minutes?

Version skew remains one of the biggest sources of catastrophic bugs at the company I work for, and that's not even taking into client app ver, just skew between the several services we have. Once you add client app ver, we have to support things for 3 years.

At my one-person company I just do a Kubernetes deploy, it goes out in a couple minutes and everyone has the latest ver whether they like it or not. I don't have the resources to maintain a dozen versions simultaneously.
by c-linkage | 2025-05-11 19:14:56+00:00
The chart is good because it shows actual measurements, but I'm concerned about the baseline being 1970. It is possible that measurements prior to 1970 are higher and make the projected measurements look worse than they are, especially since many charts for mid-Atlantic sites were clearly on a downward trend shortly after 1970.

I'm not saying there is an intentional attempt to bamboozle readers. It's just hard to judge the report on such a short time scale.

EDIT: I'm not a climate denialist, but I have many people in my life who are. I was really looking forward to showing them this website but refrained knowing that they would come back with the argument I mentioned.
by wintermutestwin | 2025-05-11 19:15:19+00:00
Features I have and think aren't worth paying more for:

1. Dryer. None of them push anywhere near enough air to do anything useful. I use a hair blow dryer.

2. Hot water. Although it is a bit of a shock, I prefer cold water as it helps shrink the hemorrhoidal tissues. Wife disagrees with this one so we set it on the lowest heat and I keep spraying until it gets cold.

Japan has these everywhere and 95% of them are Toto brand so that's what I went with and it has been great.
by zerof1l | 2025-05-11 19:15:37+00:00
Everyone should just start running their own authoritative DNS servers like Unbound. That will eliminate the issue. And why is it still the norm that all major OSes don't ship with authoritative DNS... Same with all consumer routers. It is not an option at all, or if you run OpenWRT, you'd have to manually set it up. Hopefully, there will be some change in that direction.
by TonyTrapp | 2025-05-11 19:16:24+00:00
The important thing in the context of the original question is that mingw uses its own C runtime (MSVCRT is old and incomplete - you would not be able to use it as a drop-in replacement for a modern CRT). You can link the mingw CRT statically or dynamically, and OP suggested that linking it dynamically would reduce the size. But that is only true for the main executable. You would still have to ship the mingw CRT alongside, which in return would increase the distribution size of the program again.

I hope that clears my point up.
by FrankWilhoit | 2025-05-11 19:16:32+00:00
Programming embedded devices is not the same thing as "embedded-systems programming". The latter means, first and foremost, that the software is not allowed to crash, ever, for any reason, else it is people's lives.

I did some initial requirements work on a system to monitor continuous-web papermaking machinery; the line had to be stopped, physically and completely, within 100ms if anything went wrong, because an uncontained web of paper can literally cut people in half. They wanted, in order to be able to hire, to use one of the embedded flavors of a well-known consumer-grade OS, and I had to prove to them that there was no way to make any of them safe, at any cost. And they knew their hardware, because they had built it themselves.

The absolute last resort is a watchdog timer that hits the reset button if N milliseconds go by without the software telling it it's okay. This is what you have to implement if you are dealing with buggy and undocumented hardware -- as, all too often, you are. Sometimes you can get some doco for $ and an NDA, but then in order to get the real doco it is much more $$$ and a much tighter NDA, and the existence of that option is not even divulged until after things have already gone very far south.

If it were only a matter of reading the top-level doco for this or that chip, there would be no issue.
by tcmart14 | 2025-05-11 19:16:47+00:00
What they are probably referring to is that the Clinton Campaign in one of the Rust belt states asked for a recount as "claiming election fraud." The votes were close and within the margin for the campaign to ask. They asked, it got recounted and Trump ended up with slightly more votes after the recount. Then that was it. You know, what normally happens. The Clinton Campaign did not send someone to go do a press conference outside of the Four Seasons landscaping to repeat over and over claims that were repeatingly found false in courts.
by surgical_fire | 2025-05-11 19:16:54+00:00
By your standard, every single country that is not the US is authoritarian, because no other country is extremist in their interpretation of what freedom of speech means.

I want people to have freedom to criticize the government and question those in power. I don't want people to have the freedom to say that blacks or jews are subhuman, because the results of that freedom are not good.
by sgarland | 2025-05-11 19:17:28+00:00
Yes, it’s easy to accidentally or purposefully do. An example of what I’m talking about is “I’m going to cause an N+1, row lock contention, and slow writes by looping over a list of IDs while holding a transaction open, retrieving information for each, and then doing a single write.” This is something that is shockingly easy to do with an ORM if you don’t know any better, but it’s also one of the easiest problems to solve once you do.

Or, explicitly germane to a language vs. an ORM, something like concatenating strings instead of building them in whatever your language’s method of doing so is. Does it have that big of a performance hit in a vacuum? No, but it also takes no more effort to do it correctly, and small gains add up, so why not do it right from the start?
by api | 2025-05-11 19:17:30+00:00
The problem with unsafe languages is not that you can’t write safe code in them with skill and discipline.

The problem is that programmers don’t always do that, either because they are not that experienced or they are in a hurry.

The real danger is when code is long lived and worked on by multiple people. One bad commit after a late night hacking session and now there is a zero day just waiting to be discovered.

Safe languages don’t rule that out but they make it profoundly less likely.
by hdjrudni | 2025-05-11 19:18:34+00:00
I wanted to refute the "the constant churn of new frontend frameworks to learn". If you just stuck with React since 2015, they've only had 4 major versions since then and every ver they deprecate only a few things and then you have a full release cycle to migrate to the new hot thing. It's probably the best upgrade paths of any of the libs I work with.

But you're not wrong about there being many ways to write components and manage state.

And RSC is a mess. But thankfully you can keep pretending that doesn't exist.
by ars | 2025-05-11 19:18:57+00:00
This title doesn't seem true. It would not have drastically reduced food waste, from the description in the article this program would have done nothing at all except add local jobs.

This is an example of a program that should be defunded.

Buzzword bingo:

* environmental justice * local jobs * compost * emissions * connecting people to food and soil * community garden

One magical program does it all!