Readit News logoReadit News
mbleigh commented on Broccoli Man, Remastered   mbleigh.dev/posts/broccol... · Posted by u/mbleigh
efficax · 3 months ago
the deadpan emotionless delivery of the original memes are an important part of their humor. this remaster looks fancy but loses the entire spirit of the thing
mbleigh · 3 months ago
Yeah, it does lose something in the more realistic performances. Was still fun to play with though!
mbleigh commented on Broccoli Man, Remastered   mbleigh.dev/posts/broccol... · Posted by u/mbleigh
PlanksVariable · 3 months ago
Have you ever watched the original? It most certainly did not involve real people talking (https://www.youtube.com/watch?v=3t6L-FlfeaI).

In fact, the overtly robotic voices added to the humor of the original, IMO. It was lost in this translation.

mbleigh · 3 months ago
FWIW I actually agree that the original is funnier in its delivery!
mbleigh commented on Context engineering is sleeping on the humble hyperlink   mbleigh.dev/posts/context... · Posted by u/mbleigh
JimDabell · 4 months ago
> there was a type of person in the 2000s era who insisted that APIs were not truly RESTful if they weren't also hypermedia APIs

The creator of REST, Roy Fielding, literally said this loud and clear:

> REST APIs must be hypertext-driven

> What needs to be done to make the REST architectural style clear on the notion that hypertext is a constraint? In other words, if the engine of application state (and hence the API) is not being driven by hypertext, then it cannot be RESTful and cannot be a REST API. Period.

https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypert...

I think of all the people in the world, the creator of REST gets to say what is and isn’t REST.

mbleigh · 4 months ago
Fair, but the person who coins a term generally doesn't ultimately decide how it's going to be used, see vibe coding for a more recent example.

REST API became colloquially defined as "HTTP API with hierarchical URL structure, usually JSON". I wrote about the very phenomenon 15 years ago! https://www.mobomo.com/2010/04/rest-isnt-what-you-think-it-i...

mbleigh commented on Context engineering is sleeping on the humble hyperlink   mbleigh.dev/posts/context... · Posted by u/mbleigh
ako · 4 months ago
The article seems a few months too late. Claude (and others) are already doing this: i've been instructing claude code to generate code following certain best practices provided through URLs or asking it to compare certain approaches from different URLs. Claude Skill uses file "URLs" to provide progressive disclosure: only include detailed texts into the context if needed. This helps reduce context size, and improves cachability.
mbleigh · 4 months ago
Heh, the problem with having a half drafted post on your machine for a few weeks is the industry moves fast!

I had the post pretty much done, went on vacation for a week, and Claude Skills came out in the interim.

That being said Skills are indeed an implementation of the patterns possible with linking, but they are narrower in scope than what's possible even with MCP Resources if they were properly made available to agents (e.g. dynamic construction of context based on environment and/or fetching from remote sources).

mbleigh commented on Context engineering is sleeping on the humble hyperlink   mbleigh.dev/posts/context... · Posted by u/mbleigh
alexpetros · 4 months ago
> Purists have long claimed that a “truly” RESTful API should be fully self-describing, such that a client can explore and interact with it knowing nothing but an entrypoint in advance, with hyperlinks providing all necessary context to discover and consume additional endpoints.

> This never worked in practice. Building hypertext APIs was too cumbersome and to actually consume APIs a human needed to understand the API structure in a useful manner anyway.

Every time I read one of these comments I feel like DiCaprio's character in Inception going "but we did grow old together." HATEOAS worked phenomenally. Every time you go to a webpage with buttons and links in HTML that describe what the webpage is capable of (its API, if you will), you are doing HATEOAS [0]. That this interface can be consumed by both a user (via the browser) and a web scraper (via some other program) is the foundation of modern web infrastructure.

It's a little ironic that the explosion of information made possible by HATEOAS happened while the term it self largely got misunderstood, but such is life. Much like reclaiming the proper usage of its close cousin, "REST," using HATEOAS correctly is helpful for properly identifying what made the world's largest hypermedia system successful—useful if you endeavor to design a new one [1].

[0] https://htmx.org/essays/hateoas/

[1] https://unplannedobsolescence.com/blog/why-insist-on-a-word/

mbleigh · 4 months ago
Totally agree, the web itself is absolutely HATEOAS, but there was a type of person in the 2000s era who insisted that APIs were not truly RESTful if they weren't also hypermedia APIs, but the only real benefit of those APIs was to enable overly generic API clients that were usually strictly worse than even clumsily tailored custom clients.

The missing piece was having machines that could handle enough ambiguity to "understand" the structure of the API without it needing to be generic to the point of uselessness.

mbleigh commented on After 6 years, I'm over GraphQL   bessey.dev/blog/2024/05/2... · Posted by u/mattbessey
mbleigh · 2 years ago
TL;DR GraphQL isn't really the problem, untrusted clients executing arbitrarily complex queries is the problem. This is why authz is hard, why rate-limiting is necessary, why "query complexity" calculations are necessary...

At Firebase we chose GraphQL as the basis for our new Data Connect PostgreSQL product (https://firebase.google.com/products-data-connect) despite acknowledging pretty much all of the issues outlined in this article as correct.

GraphQL is an excellent IDL (interface definition language). It's compact, it's flexible (through directives), and there's literally no better way I'm aware of to rapidly construct complex nested relational queries. But the promise of "clients can fetch whatever they want" adds an enormous burden to backend developers because you have to secure yourself against queries of arbitrary shape and complexity.

In reality you don't want clients to "fetch whatever they want" because clients can't be trusted. The path we took is that developers can predefine the queries that are needed for their client, and then only those queries can be executed from an untrusted client.

This approach provides a surprising number of benefits - you get the flexibility of nested queries and field selection, the end-to-end strongly typed structure of a schema-driven API, and the ability to reason about security like it's a custom backend.

mbleigh commented on Netlify raises $30M to replace webservers with Application Delivery Network   netlify.com/blog/2018/10/... · Posted by u/gk1
TheAceOfHearts · 7 years ago
I was gonna come here to bring this up as well.

FYI to any readers: Firebase Hosting has nothing to do with the other Firebase stuff. In fact, I personally dislike their live database quite a bit.

If you want to host a simple static site with HTTPS, Firebase Hosting really makes it incredibly easy. My only complaint is that they don't let you view access logs. Here's the official response [0] from the Firebase team as to why that's the case.

Once you have to do anything more complex I think it's better to use a different service. If you don't want to host anything yourself I've heard positive things about Zeit [1], although I haven't personally used it.

[0] https://stackoverflow.com/questions/29669725/can-i-access-w3...

[1] https://zeit.co/

mbleigh · 7 years ago
FWIW providing access logs is something we're exploring (though it's still a ways out).

I certainly hope that you don't feel the need to move to something else when your application scales / gets more complex -- our whole mission is to make it so you don't have to. Feel free to reach out to me on Twitter (@mbleigh) if you have specific questions/concerns.

u/mbleigh

KarmaCake day895April 14, 2008
About
Firebase engineer, former founder of Divshot.
View Original