MurphyA/hacker-news huggingface dataset:
by karmakaze | 2025-05-08 17:10:33+00:00
I've worked in monoliths done poorly and well, as well as bad and good implementations of microservices (even if done for the wrong reasons). The part of this post on 'if you go microservices' doesn't state things strongly enough. My takeaways comparing what worked vs what didn't:

- Use one-way async messaging. Making a UserService that everything else uses synchronously via RPC/REST/whatever is a very bad idea and an even worse time. You'll struggle for even 2-nines of overall system uptime (because they don't average, they multiply down).

- 'Bounded context' is the most important aspect of microservices to get right. Don't make <noun>-services. You can make a UserManagementService that has canonical information about users. That information is propagated to other services which can work independently each using the eventually consistent information they need about users.

There's other dumb things that people do like sharing a database instance for multiple 'micro'-services and not even having separately accessible schemas. In the end if done well, each microservice is small and pleasant to work on, with coordination between them being the challenging part both technically and humanly.
by irq-1 | 2025-05-08 17:11:07+00:00
I wonder if you can help the user move between a 'must have' filter (like on the left) and a looser 'pefer' filter, like choosing an area of the chart (like Select in paint apps.) Maybe it could be as simple as changing the checkmark/slider options to have 3 values: null, must, prefer. For example, check a few CPUs as your required spec, but also a few others as the prefered.

Like/dislike might be a better description. Then make the chart show color or size to indicate the preferences.
by lazide | 2025-05-08 17:11:09+00:00
These hormones have been studied, both for this use, and in the general population for other uses, for literally decades. At this point actually more like 50 years.

While i’m sure there would be some additional data/value from an additional study, it’s not like any of this stuff is new or novel in any way.

I’m not sure how or if that agrees with or contradicts your comment, or same with whatever political BS is going on, but this stuff is pretty well understood at this point.
by tstrimple | 2025-05-08 17:11:33+00:00
I put my team through this as an inexperienced lead about 15 years ago. We were a team of less than a dozen who had a nice single solution file that you could build and run the entire stack from. At the end we were looking at roughly a dozen services all which required orchestration to get them running and working together. First hand lessons in YAGNI and "do the simplest thing that works" which have stuck with me the rest of my career.
by freehorse | 2025-05-08 17:11:44+00:00
Everything, including zed, looks fine in the 95dpi (1080p 23") monitor I use right now with my macbook.

I have had similar blurring problems with a certain monitor (1920x1200 27"), which was resolved with changing some sharpening settings in the monitor itself. Strangely, that setting did not look well at my colleague's macbook, who was also often using that monitor, while the original settings looked fine, so we had to change the settings back and forth every time the other person had to use it. I do not think I was using zed at the time, other apps had that issue.
by dtagames | 2025-05-08 17:11:48+00:00
I guess. If you really wanted something that took some text and wrapped it in markup, you can ask for that already with ChatGPT. It's easy to say, "lookup the top selling DSLR cameras and make me a list of their features in JSON."

I can't see anyone making a special tool just for that as a general use case. Everybody wanting such output would want their own format for the markup, and we're right back to XML.

Today, it's simpler to use RAG, which is just using the LLM to figure out the "English" part, then using regular (procedural, normal programming code) tools to put things in boxes, or data storage, (or markdown), etc. If you really want consistent output, you can't have the LLM generate it. You would need to RAG that output.
by byte-bolter | 2025-05-08 17:11:48+00:00
I’m using ONNX Runtime with 4-bit quantization on a Raspberry Pi 4. I preload the quantized model into shared memory so multiple processes can reuse it. Evict old sessions by LRU when I hit a 1 GB RAM cap. For batching, I accumulate inputs over 50 ms to boost throughput without hurting latency. So far I get ~15 RPS on a 7 B Llama 2 model.
by johnymontana | 2025-05-08 17:11:48+00:00
I think the value here is being able to have a unified API to access hosted open source models and proprietary models. And then being able to switch between models without changing any code. Model optionality was one of the factors Hypermode called out in the 12 Factor Agentic App: https://hypermode.com/blog/the-twelve-factor-agentic-app

Also, being able to use models from multiple services and open source models without signing up for another service / bring your own API key is a big accelerator for folks getting started with Hypermode agents.
by Artjoker | 2025-05-08 17:11:54+00:00
Would be happy to answer any technical questions around the architecture, ASR model tuning, or integration challenges. We built this tool initially to solve internal QA issues for sales calls, but saw enough impact (+120% YoY sales growth for our client) to turn it into a full product. Biggest lessons so far: – Simplicity > complexity (basic transcription + keyword matching = 80% of value) – CRM integration is always messy – Real-time use cases are where we’re heading next

Would love feedback from anyone working in voice AI, RevOps, or sales tooling.
by Legend2440 | 2025-05-08 17:12:04+00:00
>And AI is being used to help because this method is lossy?

AI is the method. They put somebody in a brain scanner and flash images on a screen in front of them. Then they train a neural network on the correlations between their brain activity and the known images.

To test it, you display unknown images on the screen and have the neural network predict the image from the brain activity.
by pixl97 | 2025-05-08 17:12:10+00:00
How many of those game developers are actually art and asset developers?

How many times have AAA releases been total crap?

How many times have games been delayed by months or years?

How many times have games left off features like local LAN play, and instead implemented a 'microservice' as a service for online play?

How many times have the console manufactures said "Yea, actually you have the option of running a client server architecture with as many services you want?"
by SamDc73 | 2025-05-08 17:12:32+00:00
I do prefer AI IDEs since they are easier to use, and most of them have agenetic mode so they automatically add relevant files to the context.

But sometimes, when I'm brainstorming ideas, planning a big feature, or thinking about an architecture change, I use a script to compress my codebase into one text file. I upload that to ChatGPT (usually O3 or O1 Pro) to ask theoretical questions, not to get it to write code.
by zahlman | 2025-05-08 17:12:43+00:00
>This is a strawman. Marking two different questions as duplicates of each other has nothing to do with a personalized answer, and answering both would absolutely be useful to everyone because a subset of visitors will look for answers to one question, and another subset will be looking for answers to the other question.

What you're missing: when a question is closed as a duplicate, the link to the duplicate target is automatically put at the top; furthermore, if there are no answers to the current question, logged-out users are automatically redirected to the target.

The goal of closing duplicates promptly is to prevent them from being answered and enable that redirect. As a result, people who search for the question and find a duplicate, actually find the target instead.

It's important here to keep in mind that the site's own search doesn't work very well, and external search doesn't understand the site's voting system. It happens all the time that poorly asked, hard-to-understand versions of a question nevertheless accidentally have better SEO. I know this because of years of experience trying to use external search to find a duplicate target for the N+1th iteration of the same basic question.

It is, in the common case, about personalized answers when people reject duplicates - because objectively the answers on the target answer their question and the OP is generally either refusing to accept this fact, refusing to accept that closing duplicates is part of our policy, or else is struggling to connect the answer to the question because of a failure to do the expected investigative work first (https://meta.stackoverflow.com/questions/261592).
by mmooss | 2025-05-08 17:12:52+00:00
> The thing about public goods is that people tend to agree pretty closely about what they are.

Is there some data that shows that?

> The wealthiest person in the world benefits from, e.g. clean air just as much as you do.

We can find public goods in common for many groups, but that's actually a bad example. Wealthy people care about clean air in their neighborhood; pollution is therefore concentrated in poor areas. They don't site the new incerator (or drug treatment facility) on the Upper East Side of Manhatten.

Many needs are specific to poverty. For example, wealthy people are not subject to malaria; they are no illiterate; they don't need toilets or labor rights; they can afford college for their kids regardless of tuition; they have unlimited access to safe, fresh, healthy food. They don't need more available and less expensive health care, so they donate to cancer research and high-tech therapy and not to the medical clinic in the poor neighborhood.
by antognini | 2025-05-08 17:12:56+00:00
It's not quite so obvious that all of Francis's appointees were lockstop in line with his vision. Up until the last consistory he tended to appoint cardinals from the "peripheries," places that did not historically have a strong presence in the Church. (For instance he appointed a cardinal from Mongolia and one from the Ukrainian Catholic Church in Australia.) These cardinals are a bit of wildcard.

But given that the conclave was so short that does suggest that there was not much division over direction.
by jacobyoder | 2025-05-08 17:13:05+00:00
Going directly in to the Treasury.

https://fiscaldata.treasury.gov/static-data/published-report...

$252 million was collected from excise tariffs on May 6. You can look at this PDF day to day.

EDIT: adding on to this... most days are between $150m and $300m. There's been a few days north of $300m this calendar year. There was also one day - April 16? 17th? - with $11.5b coming in. Under 'excise taxes'. I have to assume that was something to do with early April tariff announcements? But haven't seen anything remotely similar since.

So this "billions of dollars are pouring in from tariffs!" is... simply not true. There's not been a huge shift one way or the other yet.

EDIT 2 - April 22 - https://fiscaldata.treasury.gov/static-data/published-report.... $11b in excise taxes deposited.
by generj | 2025-05-08 17:13:13+00:00
Oshpark is still decent for small PCBs, since they are made in the US.

From what I’ve seen the biggest impact is just the carriers requiring a huge fee (relative to my $40 worth of PCBs) just to deal with the tariffs at all. I almost wonder if there’s a profitable side gig for someone couriering PCBs from Canada -> US, mailing them, and then flying back. A single suitcase can carry a LOT of PCBs. Obviously declaring it all still but just structured as a single import so the fees as a percentage would go down.
by stevenpotts | 2025-05-08 17:13:13+00:00
I know... to be fair, I did test this for my use cases on older phones with throttled slower connections and it did improve the UX but I get what you're saying, I think it also depends on your target audience, who cares if your site is poorly graded by Lighthouse if your user base has high end devices in places with great internet? not even google cares since the Core Web Vitals show up in green
by bob1029 | 2025-05-08 17:13:35+00:00
> Its this pattern of dismissing or accepting a solution with strong prejudice you don't evaluate the merits is the real problem.

I spent a solid 3 years of my career attempting to make micro service architecture work in a B2B SaaS ecosystem. I have experience. This is not prejudice.

> modular monoliths

I don't see the meaningful difference between this and microservices.
by GuinansEyebrows | 2025-05-08 17:13:59+00:00
more people have tattoos that, given other social indicators, would probably not have gotten (as many) tattoos as they might have in the past. it's definitely been something of a fad over the last decade or so that seems to be ebbing a bit (at least according to friends of mine who tattoo - bad for them, but that's life).

we saw the same thing over a shorter period with stretched ears - a lot of people did it at the height of its popularity but have since let their piercings close (or resorted to surgery if they were past that point).

tbh, i don't really care if "squares/normies" get tattoos or weird piercings (or get them removed), but i do kinda welcome the return to "otherness" that it used to confer. i like having tattoos and piercings for their own sake. even though 99% of my tattoos are extremely stupid and i wouldn't get them today, i'm happy to keep them as a reminder of where i was in life when i got them.
by roguecoder | 2025-05-08 17:14:11+00:00
Bingo!

Every good monolith I've worked in (and I have worked in several, including one that was more than twenty years old) was highly-modular, well-designed with an easy-to-explain architecture.

The other thing they had in common was that code reviews talked about the aesthetics of the code and design, instead of just hunting for errors or skimming for security problems. It was relatively common to throw out the first proposed PR and start over, and that was fine because people were slicing the work small enough they were posting four to six PRs a week anyway.

It took the engineers at the company being willing to collaborate on the craft of software development and prioritize the long-term health of the code over short-term feature delivery. And the result of being willing to go a little bit slower day-to-day was that the actual feature delivery was faster than anywhere else I've ever worked.

Without a functioning professional culture, nothing is going to be great. But at least with microservices people do have to design an API at some point.
by nrclark | 2025-05-08 17:14:19+00:00
I won't defend these tariffs, or their rollout. But I will say that our dependence on Chinese manufacturing (and engineering, these days) is not good for our nation.

Free trade combined with cheap labor led to a massive loss of national capability. We outsourced 75% of the supply chain for electronics, and provided decades of free training to foreign companies. Then we pulled a surprised mug when those same companies decided that they don't need us any more.

As a parent of young kids, I'm also keenly aware of how much random plastic garbage we import - just to throw it away after maybe one use. Party favors are a big one. Families are drowning in low-cost, low-quality products that wind up in a landfill. Free trade created this situation, and I don't think it's good for anybody except importers and factory owners.

I don't know what the solution is, and the current tariffs clearly aren't it. But free trade with China hasn't exactly been great for the US in a longterm sense, and we shouldn't pretend otherwise just because we're getting cheap consumer goods.
by AnthonyMouse | 2025-05-08 17:14:22+00:00
> Unfair for some states to have to bear the burden.

Isn't this the counterargument? Why should the US disproportionately pay for world-benefiting research instead of Europe or China?

The answer, of course, is that other governments do also fund some research, but each government decides how much they want to spend and on what. Which applies as much to each individual state as it does to the federal government.

> California already bears a large burden and that's on top of subsidizing other states through federal taxes.

It sounds like you're arguing that cutting federal programs would benefit California, because then they would have that money to appropriate as they choose for themselves.
by jbellis | 2025-05-08 17:14:24+00:00
I created an OSS ai coding platform as well: https://brokk.ai

But it's a different take, Brokk is built to let humans supervise AI more effectively rather than optimizing for humans reading and writing code by hand. So it's not a VS Code fork, it's not really an IDE in the traditional sense at all.

Intro video with demo here: https://www.youtube.com/watch?v=Pw92v-uN5xI
by utmb748 | 2025-05-08 17:14:27+00:00
Could kept infra as a code, logging, auth and so on in packages, gRPC or message queues for communication, telemetry, monitoring/alerts and more stuff as a code too... got to the point creating new service was just new repo, name, port a resource utilization.

Agree with organizational win, also smaller merge requests in the team were superb.

Around 5-10 devs, monolith, we ran into conflicts more often, deployment, bigger merge requests, releasing by feature was problematic, microservices made team more productive, but rules about tests/docs/endpoints/code were important.
by epistasis | 2025-05-08 17:14:29+00:00
Clean energy is scaling far faster than gas. Coal is dead. Nuclear takes 10+ years, and the US industry is so small that it can not scale to meet future needs.

Look at what was deployed last year, in GW terms:

https://www.eia.gov/todayinenergy/detail.php?id=64586#:~:tex...

but note that gas produces at a capacity factor of ~50%, and solar at 25%, so scale solar down by half to better compare gas to solar.

Batteries are also here in great force. The average cost of battery-backed solar is cheaper is comparable to gas, and cheaper than new nuclear.

The main barrier to new solar and batteries are grid expansion to ship the electricity places. Putting a datacenter next to a proposed site for building solar + batteries that's waiting for its turn to get connected to the grid would probably be the fastest way to scale, if fiber can go there.
by thought_alarm | 2025-05-08 17:14:37+00:00
It's not odd at all for a machine that was designed in 1976/77.

However, for a machine released in 1983 (the Apple IIe) it is indeed very odd. But the IIe is an odd machine in many ways.

The Apple II platform stagnated as Apple poured all their resources into the Apple III (which has all those features and much more).

The Apple II refused to die, so Apple assigned a pair of engineers to design a cost-reduced version of the Apple II, and this became the IIe. The goal was only to minimize manufacturing costs, so the new features like timers were off the table.

The IIe became an unexpected smash hit in the home and education markets (stealing those markets from the 128k Mac), and only then did Apple devote some new resources to the platform (and reposition the 128k Mac as a laughably underpowered productivity machine).

The Apple IIc (1984) was the first Apple II to get a proper modern makeover. Of course it was a flop, while the odd-ball IIe continued to fly off the shelves.
by tikhonj | 2025-05-08 17:14:37+00:00
I've written a bunch of code in languages without inheritance per se—OCaml, Haskell, Rust—and things have been more than fine. Hell, I barely use any sort of subtyping! I definitely miss structural subtyping in Haskell and Rust on occasion, but even in those situations the code has never reduced to a thrice-written mess.

I've also written some code that's gotten a lot of mileage out of inheritance, including multiple inheritance. Some of my Python abstractions would not have worked anywhere near as well as they did without it. But even then, I could build APIs at least as usable in languages without inheritance, as long as those languages had sufficient facilities for abstraction of their own. (Which OCaml, Haskell and Rust absolutely do!)
by crote | 2025-05-08 17:15:04+00:00
The deployment of solar is growing exponentially, with its total capacity doubling roughly every three years. Wind is growing at a similar rate. Renewables currently already account for 30% of the global electricity production, and we're seeing projections of over 45% in 2030.

Assuming the projected 2025-2030 installation speed is realistic and flattens out - bit "if", but not completely unrealistic - that means we'd be looking at 75% renewables in 2040 and 90% renewables in 2045.

Nuclear reactors take 15 to 20 years to build, and it'd take an additional year or 5-10 to scale up construction capacity. If we go all-out on nuclear now, that means significant nuclear power starts coming online in 20-25 years - so 2045-2050. At that point there is no more renewables gap left to bridge. There might be a small niche left for it if there is going to be essentially zero innovation in storage and short-term peaker plants, but who's going to bet billions on that?

Nuclear would've been nice if we built massive amounts of it 30 years ago, but we didn't. But starting a large-scale nuclear rollout in 2025? It just doesn't make sense.
by mmooss | 2025-05-08 17:15:37+00:00
That's a very narrow aspect of government, and one that I have hardly ever encountered. Law-abiding people don't do it because of government coercion but because they believe in being cooperative members of their community and don't want to hurt others.

Another, much larger aspect of government, especially democratic, is people getting together and doing things as a community that can't be done individually.
by ravenstine | 2025-05-08 17:15:47+00:00
This is why I likely will never get a tattoo of any kind, other than the fact that I simply have no desire for one. Some people become themselves early in life, but I feel like I different person every year that goes by. I don't even like the kinds of clothes I used to wear not that long ago, so I know I would soon hate any tattoo I'd get.
by taurath | 2025-05-08 17:15:53+00:00
Fuck that guy, whoever did that. Also, yes this is a basic “society falling down” post, but i have a thought:

People are not only desperate, they’re feeling hopeless. In LA, in places all over. It’s not about drugs (though they accelerate it), it’s not about people being against the system, it’s about compounding failures of our society. It’s about the price of stable housing being so high that ever increasing amount of people can’t afford it. It’s about services that allow people to stay alive being concentrated, rare, and underfunded. It’s about society using prison to hide the poor people.

By all means, arrest that guy. There’s a lot of people who are utterly lost and are last rehabilitation. But sincerely, millions who suffer daily dehumanization so that the middle class and higher can live without thought of them exist, and the entirety of society seems set up to ensure that people in the HN demographic never have to face the excesses of they don’t want to. That someone who says we’re a meritocratic society isn’t laughed out of the room is the saddest part to me, because they’re so insulated from the front of the machine of society mowing down people.