MurphyA/hacker-news huggingface dataset:
by Norcim133 | 2025-07-26 01:03:52+00:00
MCP Client builders have been asking SDK builders to enforce Structured Output schemas on MCP Servers. The Python SDK has agreed.

Here I assert this is another example of an old paradigm misunderstanding a new one.

Specifically, it is traditional builders and "agentic workflow" builders misunderstanding the various roles in an MCP flow.

Namely, an MCP Client's role is to thinly connect an LLM, a user, and an API... and then get out of the way.

The LLM doesn't gain from wrapping tool output in additional metadata and boilerplate. That just makes the output harder to parse while also making it less similar to the patterns the LLM trained on.

The Client doesn't need the structure to help it orchestrate/route tools... it is the LLM's job to orchestrate.

If you want the Client to orchestrate, that's totally fine. Build with Langchain, not MCP.

The reason agentic workflows need strict adherence to structured input/output is because they are so rigid. Each interaction between one step and another is highly coupled and basically "one-shot".

To get "flexibility" across tasks, you have to layer many of these "one-shot" and coupled flows on top of each other. This is what makes agentic workflows like RPA.

Implicitly, we often treat LLMs as one-shot too. If we ask it to do a coding task, it might make up a method name and we say it hallucinated. But that's raising the bar far above what a human would face. A human would get to goole the method or see in the IDE the warning that the method doesn't exist. Our experience with flaky LLM coding is actually caused by this "one shot" assumption.

MCP flows are the opposite of one-shot. The LLM can use a tool, make a mistake with the data structure, read the error, fix it and move on. There is much lower gain to optimizing to avoid that specific mistake because the LLM still got to the right answer and, with infinite Servers/Tools, the LLM may never do that exact same flow again.

MCP affords a much more self-correcting and flexible system. To the extent there is an art to improving the LLM-Tool interaction, it lies in having the Server builder be thoughtful about how to name the tools and parameters and docstrings.

Enforcing schemas from the client actually makes the least important player (the Client) slightly better off by hamstringing the stars of the show (the LLM and the tool). The real answer, build your clients differently.
by gaiagraphia | 2025-07-26 01:04:36+00:00
Not sure, but think this may have been the original thread: https://archive.4plebs.org/pol/thread/511313558

>DRIVERS LICENSES AND FACE PICS! GET THE FUCK IN HERE BEFORE THEY SHUT IT DOWN!

>Tea App uploads all user verification submissions to this public firebase storage bucket with the prefix "attachments/": [link, now offline]

>Yes, if you sent Tea App your face and drivers license, they doxxed you publicly! No authentication, no nothing. It's a public bucket. I have written a Python script which scrapes the bucket and downloads all the images, page by page, so you can see if you're in it: [pastebin link]

>The censoring in picrel was added by me. The images in the bucket are raw and uncensored. Nice "anonymous" app. This is what happens when you entrust your personal information to a bunch of vibe-coding DEI hires.

>I won't be replying to this or making any more threads about it. I did my part, God bless you all. Regards, anon

Being so careless with people's personal data should be a major crime, tbh. If I manipulated thousands of people to let me scan their passports and various other bits of personal info, then just left the copies around the city for people to find, I'd be prosecuted, and rightfully so.
by kragen | 2025-07-26 01:04:41+00:00
It's very "functional" in the "functional programming" sense, but not at all in the sense that 6.003 is about the "functional" descriptions of LTI systems (i.e., that the "signal" output of a "system" is a function of the input, which you can do things like take the Laplace transform of). "Procedural" is the term used in the class's textbook, and the "functions" in Scheme are called "procedures" in the Scheme standard.
by 1659447091 | 2025-07-26 01:06:03+00:00
> ... can be heard telling Laynez-Ambrosio: “You’ve got no rights here. You’re a migo, brother.” Afterward, agents can be heard bragging and making light of the arrests, calling the stun gun use “funny” and quipping: “You can smell that … $30,000 bonus.”

$30,000 bonus? There should be an equal fine for each US citizen rounded up in the gamified dragnet

It shouldn't surprise, but it does, at how little people are willing to sell themselves, their humanity and integrity out for.

"for it is you who know yourself, how much you are worth to yourself, and at what price you sell yourself; for men sell themselves at various prices." -https://classics.mit.edu/Epictetus/discourses.1.one.html#105
by frollogaston | 2025-07-26 01:07:45+00:00
Cross-platform is very much not a magic wand, but it's still often easier than building the same thing in two different native SDKs, and I can see why people do it.

Disagree about UIKit, mainly cause of Autolayout, unless it's gotten reworked in the past 8 years. When I started using RN, I had zero web experience, and still it was way quicker to set up a basic UI than in the UIKit stuff I'd been doing for years. And for all that setup, Autolayout doesn't even seem to future-proof your stuff that well. An abandoned ObjC iPhone app I wrote in high school using C-style macros for layout worked perfectly fine on the newer screen sizes that broke most other apps.

I thought maybe I was stupid, but the other iPhone devs I worked with constantly had problems with Autolayout. Maybe a real expert iPhone dev won't, but it shouldn't take that.
by diegof79 | 2025-07-26 01:08:19+00:00
Ok, now try to implement a tree component in an MPA. But not a crappy tree component that only opens one branch at a time, like in a page from 1998. A tree component that remembers the open/close state of each branch.

Before the SPA, these were common issues. That’s why there were a gazillion Java server pages frameworks to solve them. You also have frameworks that tried to encode the UI state in some way. My favorite was Seaside, which used continuations to store the UI state.

The following article should probably be titled “It’s time for modern bloggers to kill the clickbait titles” and discuss the trade-offs of each architectural decision more balancedly.
by whynotminot | 2025-07-26 01:08:21+00:00
When's the last time you "went through the loop" ? I feel like with this stuff I have to update my priors about every three or four months.

I've been using AI regularly since GPT 4 first came out a couple years ago. Over that time, various models from Sonnet to Gemini to 4o have generally been good rubber ducks. Good to talk to and discuss approaches and tradeoffs, and better in general than google + stack overflow + pouring over verbose documentation.

But I couldn't really "hand the models the wheel." They weren't trustworthy enough, easily lost the plot, failed to leverage important context right in front of them in the codebase, etc. You could see that there was potential there, but it felt pretty far away.

Something changed this spring. Gemini 2.5 Pro, Claude 4 models, o3 and o4-mini -- I'm starting to give the models the wheel now. They're good. They understand context. They understand the style of the codebase. And they of course bring the immense knowledge they've always had.

It's eerie to see, and to think about what comes with the next wave of models coming very soon. And if the last time you really gave model-driven programming a go was 6 months or more ago, you probably have no idea what's about to happen.
by dkarl | 2025-07-26 01:10:11+00:00
I think this article is unfair to SPAs. SPAs are a lot more effort, but they are better. For a long time they have been the only way to "make it feel like an app." (I think the author says "make it feel like an app" because they know we all resent app fatigue, all the apps we have to download that should just be web sites, but I think we also all know that when something really is an application, it's rare for a "web app" to match the experience of a local native application, and an SPA is the only way to make a sincere attempt.)

The comparison of bloated SPAs with lean web sites is bogus. If someone takes the effort to make their web site lean, they'd do the same with an SPA. If someone makes a slow, bloated SPA with megabytes of Javascript, they'd make a slow, bloated web site with megabytes of Javascript. I think we've all seen enough of the web to know this is true.

I click on articles like these because I've seen the effort that goes into a good SPA, and I'm interested in anything that would allow people to deliver an equivalent experience with less effort. All I see here is a tiny bit of cosmetic polish. Polish is appreciated, but this doesn't seem like something that would tip the balance between building an SPA or not. Am I missing something?
by johnnyanmac | 2025-07-26 01:10:28+00:00
>Ignoring that almost all of these orgs are also building web apps

Poorly, but yes. You can say they have something reseming a web app.

>several of the major frameworks can share the majority of code with PWA apps.

But as we should all know, it's not enough to press a button and deploy perfectly. You gotta fix all thr quirks, and that's where most of the budget for a dedicated team back in the day went. Not so much these days.

>Yet despite Android making up like 75% of the market....almost no PWAs have any traction at all. It's almost like it isn't Apple's fault.

75% isn't enough when targeting 100% of the market. And this decade isn't a good example of how companies are trying to win customers over with quality and care.

>Can you cite what you're talking about?

Straight from the horses' mouth: https://developer.apple.com/support/dma-and-apps-in-the-eu/

Can't get more term-Y than "you can't do this here".

>It isn't Apple's fault, as boring and constant as that cry is.

It's not apples fault in the same way it's not their fault Flash died. they didn't land the killing blow, but they sure did slice some limbs off.

You seem too obsessed with thinking that there's this "android exclusive "market to appeal to to really understand my argument on how app development and support actually works in practice, so I'll leave it at that metaphor.
by nirui | 2025-07-26 01:10:32+00:00
> Not saying that's likely, but it is possible.

I'm afraid that's not how things work.

For example, it is possible for everyone to self-host their own service, it's true and everyone can do that right now. However, that's not what happened.

In reality, people oped in to use these cloud services, with full understanding of it's downsides, in exchange for convenience and low cost for themselves.

And as I've pointed out in my last comment, the companies has optimized their services so well, it made it very hard for a library, which is a "outsider" in the service field to compete. The library and it's lacking of technical know-hows, political resources etc will eventually doom the service, making it a product people only buy with higher-than-market price as a show off of their goodwell. That's not a sustainable business model or any model, really.

You must know all these things if you want to change the world for the better. Dreaming on vague an idea is easy, making things actually work is hard.

Also, you need to reconsider the meaning of the term "self-hosting", because unlike what people widely believed, "self-hosting" is not equivalent to "setup and running a server by yourself". The definition is much wider.

In fact, if you ever downloaded something from the Internet and storing it on your computer for later use, that's self-hosting, you just not sharing it with remote access. And if you copied what you've downloaded to multiple computers, then you've just created redundant and distributed backups.

But if you taking that into consideration, that downloading is self-hosting, then there's even less reason to use self-hosting service provided by a library, because why should you pay extra for all of that if you have already done it with no added cost? Just for a expensive remote backup maintained by people who has other jobs?

- "if there was only one library. But, there are tons!" - This is just empty dream. Not many will be welling to do it in reality. - "if the services are based on interoperable standards" - Designing protocol is not easy, and by simply defining the protocol you also restricts what the protocol can do. A file sharing protocol? Good luck getting it to also do bookmark or chat. So, empty dream based on empty dreams?

Sigh. Have you noticed this many "IFs" in your idea? "If some public institution is welling to do it", "If the institution can handle all the requirements", "If regular people are welling to pay for it" etc etc. These ifs are much much bigger than what you probably expecting.

I do feel you have a good heart and wanted a good change, but you look inexperienced. I would recommend that you learn the industry or simply work in it for a few years, then maybe you'll come up with something that actually works.
by Animats | 2025-07-26 01:10:34+00:00
That's a US definition pushed by the E-bike industry.[1] The EU has a completely different classification system.[2] Anything above a US class 1 e-bike comes with more restrictions.

Good E-bike vs. Motorcycle discussion.[3]

[1] https://bikexchange.com/electric-bike-classes/

[2] https://www.voltriderz.com/european-e-bike-regulations/

[3] https://www.youtube.com/watch?v=wM8Xli2KTzI
by DimmieMan | 2025-07-26 01:10:44+00:00
The wordiness is a common complaint but TBH it's a minor issue, I do have a growing problem with using tailwind that's hidden just behind that superficial complaint though.

px-3, py-2, bg-red-400 etc. are everywhere in tailwind code and they become more or less undocumented conventions. Technically you can configure them, but practically without unintended side effects on an existing project? And if you make extensive config changes, have you just locked yourself out of the ecosystem?

I don't use bootstrap, but from a brief look at the documentation it seems much more reasonable to diverge from defaults. Looking at themes (https://themes.getbootstrap.com/) it seems more flexible than an average tailwind setup.
by drdeca | 2025-07-26 01:11:07+00:00
I don’t know how you would study that specifically, but it seems like there’s a lot of evidence that sexual experiences can contribute to formation of fetishes. Iirc there was an experiment on mice or rats or something where they had them wear some sort of structure the first times they mated and then later on they uh, mated more strongly when wearing the thing than when not wearing it (and I think when not wearing it, produced less emissions than rats or mice that had never been made to wear the thing).

I mean, this seems to be a pattern people have seen in many cases?

I seem to recall something about people in the military developing scat fetishes after repeatedly masturbating in restrooms that smell of feces, due to a lack of other private places?

The phrase “fetish fuel” is a fairly standard phrase I think.

Generally, it’s pretty clear that some fetishes come from somewhere. Like, the “woman turns into a giant blueberry” one seems to pretty clearly trace back to someone’s experience with the scene in “Charlie and the Chocolate Factory”.

And, like, if someone starts out looking at/for breast expansion porn, they’re probably going to be exposed to a far bit of lactation porn as well, and I think there’s a fair chance that they’ll start seeking that out as well? For example.

Why would we expect this pattern to not apply in the case of CP/CSAM?
by spankalee | 2025-07-26 01:11:16+00:00
As for this aside:

> As an aside, this search has made me tempted to ask: do we need to keep Dual publishing packages? I prefer ESM over CJS but maybe just pick one?

Pick ESM. CJS doesn't work in browsers without being transformed to something else. Node can require(esm) now, so it's time to ditch CJS completely.
by gerdesj | 2025-07-26 01:11:39+00:00
The title is showing quite a lot of ankle! OP is a proud self hoster.

I run my own email, DNS and the rest. Yes: email. I run several domains including my own company and my own vanity domain and several more for friends. I have been doing it for decades.

Goog, MS and co do follow standards and if you do too, they will be largely merciful if you keep your nose clean. I have even managed to run an email system from my home connection as a test IPv4 and 6. I'm UK based. It does seem that IP denylists do seem to be a bit brutal in the USofA, so that might explain the downer meme on self hosting email.

The future is and always will be self hosted if you give a shit.
by pythonguython | 2025-07-26 01:11:53+00:00
If a contract requires RJ45 terminated Ethernet patch cables and the contractor delivers keyed RJ45, they have not delivered because RJ45 doesn’t even have the correct conductor layout to act as an Ethernet cable. Contracts call for RJ45 all the time and there are no mixups. You’d probably find it quite difficult to even find vendors for keyed RJ45
by streptomycin | 2025-07-26 01:12:10+00:00
I'm aware of that stuff. That's why I said "mostly". That stuff is bad, but only somewhat impedes the effectiveness of header bidding. There still is bidding going on, there still are many bids being won by companies besides Google, and there's only so much that Google can do about that even with these shenanigans. It's a far cry from all ads being sold directly through Google like on AdSense, where they can simply take a giant cut off the top and call it a day.
by pear01 | 2025-07-26 01:13:49+00:00
I do like bringing up the potential for dissolution. I would add just the general ways in which they profit off distorting the economy for massive private gains, often to the ruin of many individuals.

Credit has become ubiquitous, in a manner that belies its supposed purpose, at least as was originally practiced before consumers were offered and employed credit for absolutely everything.

Then again, governments and "regulated" entities are also capable of blackmail. I'm not sure these private companies would ever have an incentive to care about what you spend their money on unless governments gave them a reason to - which is why this is happening. At the end of the day you run into the same perpetual problem - you want x, some mob wants y. Good luck.
by IncRnd | 2025-07-26 01:14:38+00:00
I understand that you are experiencing frustration. My having performed an incorrect surgical procedure on you was a serious error.

I am deeply sorry. While my prior performance had been consistent for the last three months, this incident reveals a critical flaw in the operational process. It appears that your being present at the wrong surgery was the cause.

As part of our commitment to making this right, despite your most recent faulty life choice, you may elect to receive a fully covered surgical procedure of your choice.
by slt2021 | 2025-07-26 01:14:57+00:00
the trucking market is so big, I wont be surprised if people would just make aftermarket parts.

If you have 3D printer or CNC machine or injection molding, these parts can be made DYI, to the spec.

for example Tesla charges $1000 to replace a broken passenger side mirror for model Y.

I got aftermarket mirror for $200. I think its a no brainer to use aftermarket part and dont pay 5x markup to the richest man on the planet
by johnnyanmac | 2025-07-26 01:15:04+00:00
Nostalgia, network effects, and boiling thr frog. Then you build on that with business incentives; you may not like Facebook, but you need to advertise there because that's where everyone is.

Basically, you rely on goodwill from yester-year and slowly ad in intrusive stuff that users adjust to. Thars enshittification in its raw essence. Admittedly, this mostly works because the general user is not "active" and will not take the time to migrate unless something absolutely scandalous happens. For them, it's easier putting up with ads than trying to log into an ad free substitute.
by cosmic_cheese | 2025-07-26 01:15:14+00:00
The thing about UIKit is that you really need to forget about the drag and drop UI editor (XIBs and storyboards). They make everything including autolayout much more painful than they need to be.

Pure code UIKit using autolayout’s anchors API is quite serviceable, and if you follow recommendations (use safe area and keyboard constraints! They exist for a reason) reasonably futureproof. The iOS apps I’ve worked on have needed very little change year to year for quite some time at this point.
by paffdragon | 2025-07-26 01:16:07+00:00
This is so annoying when SPAs break browser functionality like open link in new tab. Even if it works often it has to reload a bunch of JS again, which makes things veeery slow. This is why I really don't like Linear, I often open issues in separate tabs, which is every time a pain, browser freezes for seconds just to open a link in a tab...
by bigfatkitten | 2025-07-26 01:18:56+00:00
People treating random code they found on the internet as if it came from a “supply chain” is the real problem.

In an actual supply chain, you have a relationship with a supplier who provides goods or services that meet an agreed specification, in exchange for agreed compensation.

The random person who published an npm package you use owes you nothing and you have no reason to trust them, believe that they are who they say they are, or that the code they ostensibly published does as it claims.
by vitorgrs | 2025-07-26 01:19:32+00:00
About Pix, I think people forget really how useful it can be to different things.

You can sign documents with Pix! ClickSign and others support it. You can just send 1 cent, and this can be one of the possibilities to sign documents!

https://ajuda.clicksign.com/article/558-assinando-um-documen...
by puppycodes | 2025-07-26 01:20:18+00:00
15 years and counting. I studied painting and sculpture. There used to be a consistant interest in folks without STEM degrees applying to jobs in tech as it was seen that they might have more desirable soft skills.

I feel like recently the pendulum has swung the other way and I've been considering getting a STEM masters now for this reason.

This is purely anecdotal but i've been seeing more degree requirements in job descriptions lately.