frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

REST Is for Humans, Not for APIs

https://jabbawookiees.bearblog.dev/rest-is-for-humans-not-for-apis/
3•jabbawookiees•8h ago

Comments

almosthere•4h ago
Agreed. My take:

It kinda had always been comical to me that people around 2003 - 2010 were non-stop citing Fielding's paper as if he envisioned REST APIs that worked with JSON. No one actually citing the paper cared at all to read it - but skimmed it or read someone else's notes on it.

Then eventually everyone went crazy thinking their REST Api was supposed to be human readable and started adding Links to the response... and then HATEOAS was born. And it went everywhere in talks at JavaWorld and whatever else was the hot shit back in the day.

People started talking about how they would transfer money from their various bank accounts in Curl or renewing their drivers license by carefully crafting their own JSON payload by hand.

I grabbed sanity by the horns early and decided that none of it is meant for humans and rode the internet age as a developer not making more talks on PERFECT RESTFUL PATHS. I just kind of got by in meetings where people argued 30 minutes at a time about the path, slightly rolling my eyes thinking "oh gawd these are the people with a Sublime instance open with a giant DMV renewal they've been working on for weeks".

When GQL came out, I was just happy something was going to murder REST once and for all.

I think the most annoying thing about REST is the number of ways you can transmit data or intent:

  1. Method
  2. Query
  3. Path
  4. Headers
  5. Payload
  (probably more)
And to understand the response you need to look at:

  1. Status codes
  2. Payload
  3. Redirections
  4. Continuations. egh
  5. Headers again
The reason swagger/openapi is so shitty (or at least took about 20 years to become stable) is because of that.

Finally just moving a bit more into the practicality - there is nowhere in the OSI stack where the next layer up (or down depending on how you see it) cares a whole lot about the layer before it. And that's on purpose. TCP doesn't care what PORT you're running on in IP land. Yet for some reason everyone stopped thinking when HTTP was invented that it was specifically to help with WEB PAGES. It was not invented for APIs. I think GQL is a much better abstraction, and while it's bound to Http, in a sense- it can easily be repackaged on top of a different protocol in the future just by moving 1 or 2 things (mostly headers for auth).

I HATE REST

Show HN: What Games Play? Pacman and Battle City

https://whatgamesplay.com/pacman
1•harperhuang•2m ago•0 comments

Who needs the Metaverse? Meet the people still living on Second Life (2023)

https://www.theguardian.com/technology/2023/jun/10/who-needs-the-metaverse-meet-the-people-still-living-on-second-life
2•Bluestein•2m ago•0 comments

To Fall in Love with Anyone, Do This (2015)

https://www.nytimes.com/2015/01/11/style/modern-love-to-fall-in-love-with-anyone-do-this.html
1•ipnon•4m ago•0 comments

Meta's "AI superintelligence" effort sounds just like its failed "metaverse"

https://arstechnica.com/civis/threads/meta%E2%80%99s-%E2%80%9Cai-superintelligence%E2%80%9D-effort-sounds-just-like-its-failed-%E2%80%9Cmetaverse%E2%80%9D.1508176/page-3
5•Bluestein•7m ago•0 comments

Typesense: Open-source, Fast, typo tolerant, in-memory fuzzy Search Engine

https://github.com/typesense/typesense
1•thunderbong•7m ago•0 comments

The Polyhedral Perspective

https://publicdomainreview.org/essay/polyhedral-perspective/
1•andsoitis•9m ago•0 comments

PawSense: Catproof Your Computer

http://www.bitboost.com/pawsense/
1•pr337h4m•12m ago•0 comments

Public Domain Image Archive

https://pdimagearchive.org/galleries/all/random/desc
1•haxfenx•13m ago•0 comments

Operese, a Windows to Linux translation tool [video]

https://www.youtube.com/watch?v=PMoXClh8emw
1•JonahJanzen•14m ago•0 comments

Hedge funds to blame for coffee price surge, says Lavazza boss

https://www.ft.com/content/b5d7caa9-7ae1-4de7-bc3c-8ad68d1ed556
1•amelius•15m ago•1 comments

July 9 Was the Shortest Day This Year as Earth's Spinning Faster

https://in.mashable.com/science/96885/july-9-was-the-shortest-day-this-year-as-earths-spinning-faster-but-there-will-be-more
3•Bluestein•17m ago•0 comments

JS1024 – Annual JavaScript and Shader Code Golfing Competition

https://js1024.fun/
1•doppp•17m ago•0 comments

Bad Is Stronger Than Good [pdf]

https://assets.csom.umn.edu/assets/71516.pdf
2•domofutu•18m ago•0 comments

Enable AI agents to find and access any data product while enforcing governance

https://github.com/entropy-data/dataproduct-mcp
1•simonharrer•23m ago•0 comments

XAI Grok 4 Claims Top AI Model Crown in Independent Testing

https://gearmusk.com/2025/07/10/xai-unveils-grok-4/
1•loog5566•24m ago•0 comments

Google's AI video tool amplifies fears of an increase in misinformation

https://www.aljazeera.com/economy/2025/6/26/googles-ai-video-tool-amplifies-fears-of-an-increase-in-misinformation
1•andsoitis•25m ago•0 comments

MedGemma: Google's most capable open models for health AI development

https://research.google/blog/medgemma-our-most-capable-open-models-for-health-ai-development/
1•badmonster•25m ago•0 comments

U.S. introduces bill to combat China's sabotage of Taiwan's underseas cables

https://focustaiwan.tw/politics/202507100007
1•etiam•27m ago•0 comments

Ask HN: Would it make sense to have a "memes" tab for developer humor/stories?

1•FerkiHN•28m ago•1 comments

Nvidia becomes first US company to reach $4T market cap

https://www.aljazeera.com/economy/2025/7/9/nvidia-becomes-first-us-company-to-reach-4-trillion-market-cap
2•andsoitis•29m ago•0 comments

We Should Anthropomorphize LLMs

https://www.seangoedecke.com/anthropomorphizing-llms/
2•labrador•30m ago•1 comments

Trump taps Sean Duffy to lead NASA

https://breakingthenews.net/Article/Trump-taps-Sean-Duffy-to-lead-NASA/64429352
1•mparramon•32m ago•1 comments

There's over half billion mobile money accounts in the world, mostly in Africa

https://ourworldindata.org/mobile-money-why-it-matters
1•alphabetatango•32m ago•0 comments

I made a parody of enterprise AI chatbots

https://github.com/muratcanozdemir/chatgpt-parody
2•moezd•33m ago•0 comments

I Can't Drink the Water

https://www.bbc.com/news/articles/cy8gy7lv448o
2•taftster•33m ago•2 comments

SingaporeDev – A job portal to help local and foreign devs find job in Singapore

https://www.singaporedev.com
2•tomato45un•34m ago•1 comments

Unveiling the Open Source heroes that power our digital infrastructure

https://maintaine.rs/
1•jamietanna•35m ago•0 comments

Grok 4 Claims Most Powerful Model

https://twitter.com/x/status/1943159790747947374
2•outrun86•38m ago•0 comments

Mental Health Benefits of Exercise Depend on Context

https://neurosciencenews.com/mental-health-exercise-context-29412/
2•domofutu•40m ago•0 comments

A Big Little Idea Called Legibility (2010)

https://www.ribbonfarm.com/2010/07/26/a-big-little-idea-called-legibility/
3•jruohonen•41m ago•0 comments