MurphyA/hacker-news huggingface dataset:
by hackthemack | 2025-10-27 21:58:15+00:00
I guess I just never encounter code like this in the big enterprise code bases I have had to weed through.

Question. If you want to do one email for expired users and another for non expired users and another email for users that somehow have a date problem in their data....

Do you just do the const emails =

three different times?

In my coding world it looks a lot like doing a SELECT * ON users WHERE isExpired < Date.now

but in some cases you just grab it all, loop through it all, and do little switches to do different things based on different isExpired.
by jkelleyrtp | 2025-10-27 21:58:30+00:00
In high school, I ran a robotics team that did lots of STEM outreach. We went to community centers, after school programs, and worked with other similar orgs like "girls who code."

I think we played an important role in the community. In our mission we stated we wanted to help bring "equity to STEM education."

In 2025, according to the current admin's stance on "DEI," my robotics team would not be able to receive grants without risk of being sued. It's plainly obvious the line is not drawn at restraining "overly progressive policies" - it's just arbitrarily placed so the govt can pick and choose the winners based on allegiance.

It's a shame that folks with a strong moral fiber are now punished for wanting to help their communities.
by jeffbee | 2025-10-27 21:58:43+00:00
Whether rural communities "deserve" electrification is a topic we need to reopen. When we created the notion of rural electrification, there were many little communities all over the place engaged in farming and mining and logging, and it was easy to see that power and telephone to such places was not just fair but necessary. But in this century what we have is separatists who simply spread out because they hate everyone, not for a valid economic purpose. These dispersions of houses such as you see in Amador County were built quite recently. Those people should face the full economic consequence of their preferences, not be subsidized by the state.
by protsenko | 2025-10-27 21:59:03+00:00
Hi everyone, I've written the comprehensive article on designing Spring Data JPA entities, it's the quintessence of my 9 years of experience with this technology. These best practices could help you save your codebase from legacy code and avoid common mistakes.

I will publish two more guides soon because the original felt more like a mini-book than an article.

Your feedback is very welcome to me. I hope you find this article helpful.
by scosman | 2025-10-27 21:59:04+00:00
> all LLMs that I know of rely on entropy and randomness to emulate human creativity

Those are tuneable parameters. Turn down the temperature and top_p if you don't want the creativity.

> Claude is not going to improve this.

We can measure models vs humans and figure this out.

To your own point, humans already make "rampant" mistakes. With models, we can scale inference time compute to catch and eliminate mistakes, for example: run 6x independent validators using different methodologies.

One-shot financial models are a bad idea, but properly designed systems can probably match or beat humans pretty quickly.
by GuinansEyebrows | 2025-10-27 21:59:41+00:00
i'm one of those poor whites you're talking about (from another region; ethnic and economic bases covered though). you believe falsehoods.

> And before you call me a bigot: My kids are "bi-racial", so if you think i'm a nazi, ask yourself why I hate my wife and kids.

i would never ask you that. but i wonder if you should ask yourself how your views could potentially negatively impact your relationships with your family.
by ModernMech | 2025-10-27 21:59:48+00:00
> They’ve already chosen a side in this fight

Yes they have, this is a time of choosing. So seeing which side tech companies have chosen, tech employees can now also choose accordingly.

To everyone here who spent the last decade making $400k+options at these tech firms that are now funding this fascist administration, we see you. You are making a choice as to which side you are on.

Remember doing and saying nothing is a choice.
by kevinsync | 2025-10-27 22:00:20+00:00
I use a Photoshop plugin for complex dithering (DITHERTONE Pro [0] -- this is NOT AN AD lol, I'm not the creator, just a happy customer and visual nerd)

I'm only dropping it in here because the marketing site for the plugin demonstrates a lot of really interesting, full-color, wide spectrum of use-cases for different types of dithering beyond what we normally assume is dithering.

[0] https://www.doronsupply.com/product/dithertone-pro
Turning browser automation into an AI Agent
by venuur | 2025-10-27 22:00:24+00:00
About a year ago, I started trying to build an AI agent to help businesses nurture cold leads (think a hair salon's old clients). My app fell flat when I realized how many of the book solutions didn't support integrations, and those that did often limited the integrations to higher tiers.

Coming back a year later and maybe a little wiser, I decided to take another stab at it, but this time I decided I'd build my own integration. I started using Playwright to create a browser automation that allowed my AI agent to book directly in a business's calendar. No integration required!

We're still testing the waters to see if this is received favorably by business owners. Particularly in platforms where they're locked in without needed integrations.

But I also realize this must be a ripe area for engineers to be building, but honestly I don't see a lot out there yet. Despite the maturity of browser automation tech, why aren't there more AI agents connecting to websites? I think what I've build could be useful to other engineers who want to connect their agents to proprietary systems, but don't want to manage the browser automation themselves.

Am I fooling myself? Is there a good reason why this isn't mainstream?
by techblueberry | 2025-10-27 22:00:32+00:00
What is the point of Grokipedia. It's an interesting experiment I guess (Really is it just a bunch of pre-rendered prompts I could ask Grok instead?), curious how much of wikipedia is in the training set. I would think if you wanted an alternate encyclopedia you would want something that AI can train against, so Grok itself can't probably bet too much value out of it. (

I guess people can choose their truth now? I suppose the US Government could require grokipedia to be chosen over wikipedia for use in schools?

I mean I guess I'll check it out for the lols but I don't see myself actually using it.
by zbentley | 2025-10-27 22:00:50+00:00
At no point did I make an absolutist claim. If I meant “fossil fuel use should be eliminated”, I would have used those words. Do you agree that it should be avoided and/or curtailed? If not, there is little point in continuing to discuss here, as we will likely never see eye-to-eye on this.

> you're thinking too narrow if you feel it necessary to only spend limited government budget on energy to improve lives.

I also did not use the word “only”. Governments are quite capable of doing more than one thing at once. Should governments not consider spending money on energy to improve lives?
by triceratops | 2025-10-27 22:01:04+00:00
> How much is "enough" exactly?

The upper limit seems to be 1g per lb (454g) of body weight. This is for people who lift heavy regularly to build and grow muscle. The lower bound is about 1/3 of that.

A 165 lb person needs about 55g of protein daily for maintenance. This is about one cup of black beans and 3 eggs. Huevos rancheros for breakfast will cover most or all of an average person's daily protein needs and that's before even counting the protein in the cheese or tomatoes.

While vegetables don't have much protein it still adds up. A single medium tomato has 1g, a potato has 3g, 1g in an onion, 0.5g in a carrot, and so on. Eat your daily portion of veggies and you can get maybe 10g of protein. That's nearly 20% of what you need!

Carb-heavy foods such as breads and rice also have some protein. More than veggies, less than lentils, eggs, dairy, and meat. A standard serving of pasta has 7g of protein. A cup of cooked brown rice has 5g.

All of this is to say even vegans who eat a healthy, varied diet are not deficient in protein. If they are ovo-lacto vegetarians it's a layup. They may need to supplement with whey and creatine or eat some chicken a few times a week if they want to squat 3 plates.

Insufficient protein is mostly not a problem in the first-world. The problem is eating crap. Eating grass-fed steaks every meal doesn't compensate for a crap diet.
by inopinatus | 2025-10-27 22:01:05+00:00
Would he by any chance refer to it as Zulu or Zebra time? The Z-suffix shorthand for UTC/GMT standardisation has nautical roots IIRC and the nomenclature was adopted in civil aviation also. I sometimes say Zulu time and my own dad, whose naval aspirations were crushed by poor eyesight, is amongst the few that don’t double-take.
by vesterthacker | 2025-10-27 22:01:29+00:00
When you criticize, it helps to understand the other’s perspective.

I suppose I am writing to you because I can no longer speak to anyone. As people turn to technology for their every word, the space between them widens, and I am no exception. Everyone speaks, yet no one listens. The noise fills the room, and still it feels empty.

Parents grow indifferent, and their children learn it before they can name it. A sickness spreads, quiet and unseen, softening every heart it touches. I once believed I was different. I told myself I still remembered love, that I still felt warmth somewhere inside. But perhaps I only remember the idea of it. Perhaps feeling itself has gone.

I used to judge the new writers for chasing meaning in words. I thought they wrote out of vanity. Now I see they are only trying to feel something, anything at all. I watch them, and sometimes I envy them, though I pretend not to. They are lost, yes, but they still search. I no longer do.

The world is cold, and I have grown used to it. I write to remember, but the words answer nothing. They fall silent, as if ashamed. Maybe you understand. Maybe it is the same with you.

Maybe writing coldly is simply compassion, a way of not letting others feel your pain.
by socketcluster | 2025-10-27 22:01:33+00:00
Even large companies are still grasping at straws when it comes to good code. Meanwhile there are articles I wrote years ago which explain clearly from first principles why the correct philosophy is "Generic core, specific shell."

I actually remember early in my career working for a small engineering/manufacturing prototyping firm which did its own software, there was a senior developer there who didn't speak very good English but he kept insisting that the "Business layer" should be on top. How right he was. I couldn't imagine how much wisdom and experience was packed in such simple, malformed sentences. Nothing else matters really. Functional vs imperative is a very minor point IMO, mostly a distraction.
by jerlam | 2025-10-27 22:02:19+00:00
I would agree - usually close friends are limited to people that share the same values and ideas as you. Having more close friends that all think alike would increase rejection of ideas not shared by other close friends. It is harder (but not impossible) to have close friends that have dramatically different lifestyles, ideals, or socioeconomic class.

Weaker ties would include friends that have less in common, and have different ideas. But that fact that they are a friend means that you are aware of their existence and different ideas. In that way, having a broad range of weak friends suggests that you can see things from different perspectives instead of in your own (close) friend bubble.

It's like how people are less likely to know their neighbors now, who can hold different ideas. But you don't have to be close friends with them to have some empathy.
by sbrother | 2025-10-27 22:02:26+00:00
It's a reasonable question! I'm past the baby monitor stage now, but when we used our Nanit from a different network it was for things like:

* Doing garage or yard work where Wifi coverage was spotty. May seem like an edge case but remember that when baby is sleeping is exactly when you want to be doing things like yard work.

* Hanging out across the street cooking out with the neighbors while baby sleeps

* Having a couple drinks at the hotel bar on vacation after baby goes to sleep. You're only ~30 seconds from your room if baby wakes up, but it's nice to not have to sit in a dark room for the whole evening after 7pm.
by __turbobrew__ | 2025-10-27 22:02:52+00:00
> The interesting problem is noticing than and then informing every proxy in the world.

Yes and that is why I suggested why your any-to-any relationship of proxy to application is a decision you have made which is part of the painpoint that caused you to come up with this solution. The fact that any proxy box can proxy to any backend is a choice which was made which created the structure and mental model you are working within. You could batch your proxies into say 1024 cells and then assign a customer app to say 4/1024 cells using shuffle sharding. Then that decomposes the problem into maintaining state within a cell instead of globally.

Im not saying what you did was wrong or dumb, I am saying you are working within a framework that maybe you are not even consciously aware of.
by burnt-resistor | 2025-10-27 22:02:58+00:00
I raise you a Whole Earth Catalog - Fall '69:

https://archive.org/details/wholeearthcatalo00unse_7/page/62...

Where and when else could you mail $1 to Rolling Stone's original hq and have them send you a longer Bob Dylan interview, and then on the opposite side, the publisher reveals their costs?

https://archive.org/details/wholeearthcatalo00unse_7/page/12...
by jngiam1 | 2025-10-27 22:03:37+00:00
It's really messy now. ChatGPT in particular makes it really hard; it turns out that Custom GPTs with actions can do pretty well, if you bridge MCP tools into actions; but setting any of these up is a pita.

The LLMs are also really bad at generating correct code for OAuth logic - there are too many conditions there, and the DCR dance is fairly complicated to get right.

Shameless plug: we're building a MCP gateway that takes in any MCP server and we do the heavy lifting to make it compatible with any client on the other end (Claude, ChatGPT - even with custom actions); as a nice bonus it gives you SSO/logs as well. https://mintmcp.com if you're interested.
by VagabundoP | 2025-10-27 22:04:22+00:00
It is literally quid pro quo right now. you have to play the game and I don't blame them as such.

But PSF doing this and not playing the game is really awesome. I just hope they can fund themselves through other means.

EU should be stepping up more with funding for projects like this as a replacement for US tech. Major secure reliable funding for open source projects that EU infrastructure can be built on would only increase our independence.
by pmb | 2025-10-27 22:04:27+00:00
Any computable function f on one variable x has a program. That function is a program of size p. The input x also has a data size d. BB(p+d) >= f(x), by definition, for all f and x. If you think you might have a (function, input) pair (and corresponding (program, data) pair) for which this is not true, see the previous sentence.
by tptacek | 2025-10-27 22:05:22+00:00
Again: it's the premise of the platform. If you're saying "you picked a hard problem to work on", I guess I agree.

We cannot in fact assign our customers apps to 0.3% of our proxies! When you deploy an app in Chicago on Fly.io, it has to work from a Sydney edge. I mean, that's part of the DX; there are deeper reasons why it would have to work that way (due to BGP4), but we don't even get there before becoming a different platform.
by MayeulC | 2025-10-27 22:06:52+00:00
Not a crown job, but I configured my lights to turn on progressively at my scheduled wake up time, using Home Assistant.

I figured that scheduling lights to turn on at <0 AM + wake up time> was a good approach... We got a surprise early wake up last year, so I ended up changing the formula to <4 AM - 4 hours + wake-up time>.
by ModernMech | 2025-10-27 22:07:29+00:00
It kind of doesn’t matter, parsing legalese is for when there’s an active rule of law. We are in a time when POTUS can watch an ad he didn’t like, and raise taxes on everyone in the country over night just because he’s pissed off. Do you think it really matters what the actual words say? They are there as a stand-in for the king’s intentions, which may change with some $$$. It’s not as a serious legal contract. PSF might be just fine taking the grant and giving half to Trump personally, but who knows?
by devchix | 2025-10-27 22:07:45+00:00
From a logging perspective, there is a time when an event happens. The timestamp for that should be absolute. Then there's the interaction with the viewer of the event, the person looking at the log, and where he is. If the timestamp is absolute, the event can be translated to the viewer at his local time. If the event happens in a a different TZ, for example a sysadmin sitting in PST looking at a box at EST, it's easier to translate the sysadmin TZ env, and any other sysadmin's TZ anywhere in the world, than to fiddle with the timestamp of the original event. It's a minor irritation if you run your server in UTC, and you had to add or subtract the offset, eg. if you want your cron to run at 6PM EDT, you have to write the cron for 0 22 * * *. You also had to do this mental arithmetic when you look at your local system logs, activities at 22:00:00 seem suspicious, but are they really? Avoid the headaches and set all your systems to UTC, and throw the logs into a tool that does the time translation for you.

The server does not "know" anything about the time, that is, it's really about the sysadmin knowing what happened and when.
by fuzzfactor | 2025-10-27 22:07:47+00:00
Isn't everything beyond a certain dollar amount so colossal that it's one of the most major financial decisions which require more due diligence than average, and if it's a record amount (even within a single org) way more diligence and careful consideration than that? Not necessarily a compensation package, but any huge outlay, over a number of years or not.

Isn't the ideal way to gauge where something big sits in the market, before making a giant leap?

Has anybody seen what other companies are offering Musk in case Tesla does not measure up?
by politician | 2025-10-27 22:08:20+00:00
You say, paraphrasing, "It's harder to prove that a DEI program violates Federal anti-discrimination laws than it is to simply terminate a grant to an undesirable grantee."

Ok. Suppose that's true. The government can terminate grants that don't include that language equally as easily -- and, indeed, I just found that there are multiple current cases against the government for doing exactly that: health grants [1], solar grants [2], education grants [3].

Is your point is that the inclusion of this inoperative language makes it easier than it already is for the government to cancel grants and to defend against the subsequent lawsuits until the plaintiffs are pressured into compliance from lack of funding?

[1]https://coag.gov/press-releases/weiser-sues-hhs-kennedy-publ... [2]https://news.bloomberglaw.com/environment-and-energy/state-c... [3]https://www.k12dive.com/news/state-lawsuit-Education-Departm...
by burnte | 2025-10-27 22:08:29+00:00
> What is with the negativity in these comments?

A lot of us have seen the effects of AI tools in the hands of people who don't understand how or why to use the tools. I've already seen AI use/misuse get two people fired. One was a line-of-business employee who relied on output without ever checking it, got herself into a pretty deep hole in 3 weeks. Another was a C suite person who tried to run an AI tool development project and wasted double their salary in 3 months, nothing to show for it but the bill, fired.

In both cases the person did not understand the limits of the tools and kept replacing facts with their desires and their own misunderstanding of AI. The C suite person even tried to tell a vendor they were wrong about their own product because "I found out from AI".

AI right now is fireworks. It's great when you know how to use it, but if you half-ass it you'll blow your fingers off very easily.
by bgwalter | 2025-10-27 22:08:30+00:00
It was clear to me where this was going in January, but a more explicit version can be found in the beginning of June 2025:

https://www.science.org/content/article/u-s-college-first-de...

But hey, some of the same people that celebrated the cancellation of Tim Peters are celebrating the "bold" and "audacious" step of the PSF now (I don't mean you, I mean others).

EDIT: The Python fascists can get this one down to -4 as well to distract from their incompetence.
by ivorbuk | 2025-10-27 22:08:48+00:00
The noise too.

Your "typical" performance car customer wants a monster noise from the engine. A visceral sound. If it sounds like a jet fighter taking off, even better. There's no "authentic" sound to replace it.

Music to the ears (Grand Prix 1966) -> https://youtu.be/5RILdsjeL_4
by mywittyname | 2025-10-27 22:08:51+00:00
> Most people would be absolutely astounded how bold you can get with a safety vest and/or a clipboard, and how passive most people are to an obvious suspicious situation.

I don't think they'd be surprised at all.

What the hell am I supposed to do if I see someone stealing a bike or whatever? Stop them? Hell no, if they have tools then it's a good bet they have weapons. Call the cops? They don't care; recently they don't even pretend to care.

Pretty much all you can do is say, "knock it off" and maybe they stop (they won't).
by advisedwang | 2025-10-27 22:08:55+00:00
> raise the price of foreign goods and make domestic goods more reasonable for buyers

Tariffs never make domestic goods cheaper. In fact if the supply chain has anything imported then domestic goods become more expensive.

The best argument is that it makes domestic good relatively cheaper, thus supporting US manufacturing and so keeping jobs and profit in the country.

However... that would require domestic goods to be an actual option. I don't see many US manufactured watches available, and the ones that are still don't really compete.
by tsumnia | 2025-10-27 22:09:24+00:00
Feel free to review my Ethics in AI lecture: https://www.youtube.com/watch?v=XBJRDxwbI9Y

This isn't a "Trump Era"/"Right Wing Talking Point" amigo, its the truth; also it's always been this way, listen to some punk rock. Is AI allowed to generate child pornography? Because that is currently being argued as protected by Free Speech in courts because no child was actually involved [1]. Sorry your ethics class was useless, I don't believe mine is.

[1] https://www.usatoday.com/story/news/nation/2024/11/21/pennsy...
by layer8 | 2025-10-27 22:09:28+00:00
In asynchronous environments, you may not be able to repeat the same query with the same result (unless you control a cache of results, which has its own issues). If some condition is determined by the command’s implementation that subsequent code is interested in (a condition that isn’t preventing the command from succeeding), it’s generally more robust for the command to return that information to the caller, who then can make use of it. But now the command is also a query.
by newer_vienna | 2025-10-27 22:10:11+00:00
Getting the cloudflare error as well.

Nevertheless this reminds me of an old Curtis Yarvin post on his proposal for a meta-wikipedia. "Uberfact". He's not everyone's cup of tea but I quite enjoy this article of his - https://www.unqualified-reservations.org/2007/08/uberfact-ul...
by riazrizvi | 2025-10-27 22:10:16+00:00
Personally, I find modern technology makes it easier to maintain them. 25 years ago my friendships around the world would have been relegated to 'penpalships' because of the cost of long distance calls and the lack of face time.

Loneliness is a big topic now due to the pandemic, and the lingering trends from stay/work-at-home mandates.