frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Approaching 50 Years of String Theory

https://www.math.columbia.edu/~woit/wordpress/?p=15401
1•xqcgrek2•3m ago•0 comments

Show HN: aic – CLI to fetch changelogs from AI coding assistants

1•ari1110•4m ago•0 comments

The ______ Files

https://redactle.net/en/Q135293605
2•brikym•7m ago•0 comments

Clinton Unloads on Trump's Plot to 'Scapegoat' Him for Epstein

https://www.thedailybeast.com/clinton-unloads-on-trumps-plot-to-scapegoat-him-for-epstein/
1•donsupreme•9m ago•0 comments

Is North Korea's 'princess' walking a path toward succession?

https://asia.nikkei.com/static/vdata/infographics/north-korean-daughter/
1•gmays•10m ago•0 comments

Ask HN: Anyone here bringing "AI" to small-mid farmers?

1•culopatin•16m ago•1 comments

The 'untranslatable' emotions you never knew you had (2017)

https://www.bbc.com/future/article/20170126-the-untranslatable-emotions-you-never-knew-you-had
2•1659447091•16m ago•0 comments

Ask HN: Is GitHub becoming more and more unstable?

2•pavish•19m ago•0 comments

Trove of Epstein Files Includes New Photos and Court Records

https://www.nytimes.com/live/2025/12/19/us/epstein-files-release
2•halperter•22m ago•0 comments

Generating DSL Code with LLMs

https://elijahpotter.dev/articles/generating-weir-code-with-LLMs
1•chilipepperhott•24m ago•0 comments

To grow, we must forget but now AI remembers everything

https://www.doc.cc/articles/we-must-forget
4•gmays•28m ago•0 comments

Why homeownership in California isn't nearly the financial slam dunk it once was

https://calmatters.org/housing/2025/12/homeownership-vs-renting/
2•thebeardisred•29m ago•0 comments

US backs Bayer–Monsanto with glyphosate decision

https://www.chemistryworld.com/news/us-backs-bayer-monsanto-with-glyphosate-decision/4022666.article
1•geox•31m ago•0 comments

How Lord of the Flies was rescued from the reject pile (2024)

https://www.bbc.com/culture/article/20240913-how-lord-of-the-flies-was-rescued-from-the-reject-pile
2•1659447091•40m ago•0 comments

AI Stylist for Perfect Fit and Style

https://vueai-v5.web.app/
3•Anirudh_b•44m ago•0 comments

In Re Tesla, Inc. Derivative Litigation [Tornetta vs. Musk Appeal]

https://courts.delaware.gov/Opinions/Download.aspx?id=389200
1•aw1621107•46m ago•2 comments

The Cabbage Patch Kids caused a near-riot in the 1980s

https://www.bbc.com/culture/article/20251121-how-the-cabbage-patch-kids-caused-a-near-riot
1•1659447091•1h ago•0 comments

The Abolition of Work – Bob Black (1991)

https://theanarchistlibrary.org/library/bob-black-the-abolition-of-work
1•vismit2000•1h ago•0 comments

Cheaper, cleaner energy drives Germany's balcony-solar boom

https://www.dw.com/en/boom-small-solar-devices-plugged-into-household-sockets-german-energy-trans...
2•rustoo•1h ago•3 comments

Ruby 4.0.0 Preview3 Released

https://www.ruby-lang.org/en/news/2025/12/18/ruby-4-0-0-preview3-released/
2•doppp•1h ago•0 comments

37signals Dev – The Rails Delegated Type Pattern

https://dev.37signals.com/the-rails-delegated-type-pattern/
2•doppp•1h ago•0 comments

$10,000 Xmas Wager on the Navier-Stokes Millennium Prize

https://twitter.com/mhutter42/status/2001857421569032444
1•surprisetalk•1h ago•0 comments

Papa's Arcade: Play Papa Louie and Flipline Games Online

https://www.papas-arcade.com/
1•causalzap•1h ago•0 comments

I Keep Returning to Middle-Earth

https://www.nytimes.com/2025/12/19/opinion/tolkien-grief-lord-rings.html
1•divbzero•1h ago•0 comments

When a chatbot runs your store

https://www.aiweirdness.com/when-a-chatbot-runs-your-store/
1•snibsnib•1h ago•1 comments

Building ScrapeForge in public. Day 1 update

1•Vishwas-Batra•1h ago•0 comments

Want to link from Google's app store to your app? That'll be $2–4 per install

https://www.theverge.com/news/848540/google-app-fees-external-link-downloads-alternative-payments
4•SanjayMehta•1h ago•0 comments

Tech firm that helped police find the Brown suspect sparks privacy concerns

https://www.cnn.com/2025/12/19/tech/flock-safety-ai-cameras-brown-suspect-privacy
2•stevenj•1h ago•2 comments

News Hacker – HN Interpretations in Chinese

https://newshacker.me/
1•big_toast•1h ago•1 comments

Show HN: Finrup – a free, offline-first personal finance app for iOS

https://apps.apple.com/in/app/finrup/id6752817572
2•amritghimire•1h ago•1 comments
Open in hackernews

No as a Service

https://github.com/hotheadhacker/no-as-a-service
64•radeeyate•7mo ago

Comments

Haeuserschlucht•7mo ago
:)
artogahr•7mo ago
:)
blahaj•7mo ago
> Rate Limit: 10 requests per minute per IP

I understand that one wants some rate limiting so that others don't just use this as a backend for their own service causing every single request for their service to also create an API request. But this is as simple and resource unintensive as it gets for an HTTP server. 10 requests per minute is just silly.

Also could it be that the limit isn't enforced against the origin IP address but against the whole Cloudflare reverse proxy?

jaywcarman•7mo ago
10 requests per minute per IP is plenty enough to play around with and have a little fun. For anything more than that you could (should!) host it yourself.
blahaj•7mo ago
So it is just purposefully made to be less useful? Is that part of the joke?

The rate limit still pretty surely isn't applied per IP.

arp242•7mo ago
Mate, it's a joke, not a serous service. The only silly thing here is going off on a tangent about the rate limit.
mindtricks•7mo ago
If it helps you, think of the rate limiter as the "no" final boss.
choult•7mo ago
Well this is something... someone creating a service off the back of a meme that's been flying around my networks for the past two days...
ziddoap•7mo ago
Fun idea. I wonder why the rejection messages are repeated so often in the "reasons" file.

"I truly value our connection, and I hope my no doesn't change that." shows up 45 times.

Seems like most of the rejections appear between 30 and 50 times.

khanan•7mo ago
Was wondering the same thing.. Probably cruft so it looks impressive at a glance.
Retr0id•7mo ago
If you ask LLMs for a long enough list of things, they often repeat entries.
MalbertKerman•7mo ago
There are 25 unique responses in that 1000-line file.
justin_oaks•7mo ago
Once you remove the duplicates that are different only because of the typos in them, yes, that's correct.
mikepurvis•7mo ago
A single large file is also sadness for incorporating suggestions from collaborators as you're always dealing with merge conflicts. Better might be a folder of plain text files, where each can have multiple lines in it, and they're grouped by theme or contributor or something.
spiffyk•7mo ago
A folder of plain text files will be sadness for performance. It's a file with basically line-wise entries, merge conflicts in that will be dead easy to resolve with Git locally. It won't be single-click in GitHub, but not too much of a hassle.
Retr0id•7mo ago
It's ~fine for performance if you load them once at service startup. But I agree, merging is also no big deal.
mikepurvis•7mo ago
In fairness, I doubt most of these kinds of meme projects have a maintainer active enough to be willing to conduct local merges, even if it's "dead easy" to do so.

Maybe then this is really a request for Github to get better/smarter merge tools in the Web UI, particularly syntax-aware ones for structured files like JSON and YAML, where it would be much easier to guess, or even just preset AB and BA as the two concrete options available when both changes inserted new content at the same point. It could even read your .gitattributes file for supported mergers that would be able to telegraph "I don't care about the order" or "Order new list entries alphabetically" or whatever.

cf. https://github.com/jonatanpedersen/git-json-merge

KTibow•7mo ago
It might be a weighted random.
ziddoap•7mo ago
Might be!

Not the way I'd approach it, but as a joke service, if it works it works.

varun_ch•7mo ago
> {"error":"Too many requests, please try again later."}

I guess it still works.

lgl•7mo ago
Bug report: when the server is overloaded, the No's are no longer random :)
kenrick95•7mo ago
Classic Hacker News hug of death
xnorswap•7mo ago
It looks like it's limited to 10 requests per minute, it's less of a hug and more of a gentle brush past.

It's documented as "Per IP", but I'm willing to bet either that documentation is wrong, or it's picking up the IP address of the reverse proxy or whatever else is in-front of the application server, rather than the originator IP.

Why do I think that? Well these headers:

    x-powered-by Express

    x-ratelimit-limit 10

    x-ratelimit-remaining 0

Which means it's not being rate-limited by cloudflare, it's express doing the rate limiting.

And I haven't yet made 10 requests, so unless it's very bad at picking up my IP, it's picking up the cloudflare IP instead.

egberts1•7mo ago
Probably all those cookies tipped and triggered the connection rate limiter.
xnorswap•7mo ago
I'm not following you at all?
NotMichaelBay•7mo ago
It's so elegant. Even in failure, it's still operational.
riquito•7mo ago
Love it, it's brilliant, but I think the rate limiting logic is not doing what the author really wants, it actually costs more cpu to detect and produce the error than returning the regular response (then my mind goes on how to actually over optimize this thing, but that's another story :-D )
hotheadhacker•7mo ago
Rate limiting has been removed
Retr0id•7mo ago
It could be genuinely useful for testing HTTP clients if it had a wider array of failure modes.

Some ideas:

- All the different HTTP status codes

- expired/invalid TLS cert

- no TLS cipher overlap

- invalid syntax at the TLS and/or HTTP level

- hang/timeout

- endless slowloris-style response

- compression-bomb

- DNS failure (and/or round-robin DNS where some IPs are bad)

- infinite redirect loop

- ipv6-only

- ipv4-only

- Invalid JSON or XML syntax

zikani_03•7mo ago
Not exactly what you are asking for, but reminded me that Toxiproxy[0] exists if you want to test your applications or even HTTP clients against various kinds of failures:

[0]: https://github.com/Shopify/toxiproxy

deanputney•7mo ago
Not sure why, but reasons.json is mostly duplicates (as many as 50!) of the same 25 responses: https://gist.github.com/deanputney/4143ca30f7823ce53d894d3ed...

It'd be easier to add new ones if they were in there a single time each. Maybe the duplication is meant to handle distribution?

finnh•7mo ago
ah, yes, the "memory is no object" way of obtaining a weighted distribution. If you need that sweet sweet O(1) selection time, maybe check out the Alias Method :)
justin_oaks•7mo ago
Knowing that there are only 25 responses, it makes it all the more funny that rate limiting is mentioned.

And you can host the service yourself! Hard pass. I'll read the 25 responses from your gist. Thanks!

thih9•7mo ago
Example responses:

https://raw.githubusercontent.com/hotheadhacker/no-as-a-serv...

anonymousiam•7mo ago
Looks impressive, but out of the 1000 possible responses, only 26 are unique.
qrush•7mo ago
Oh great, it's Balatro's Wheel of Fortune card as a Service (WoFaaS)
hombre_fatal•7mo ago
I made a lot of things like this as a noob and threw them up on github.

As you gain experience, these projects become a testament to how far you've come.

"An http endpoint that returns a random array element" becomes so incredibly trivial that you can't believe you even made a repo for it, and one day you sheepishly delete it.

blahaj•7mo ago
I don't think things have to be impressive to be shown. A funny little idea is all you need, no matter how simple the code. Actually I find exactly that quite neat.
TehCorwiz•7mo ago
I think you'll enjoy this better: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
seabass•7mo ago
{"error":"Too many requests, please try again later."}

a missed opportunity for some humor

richrichardsson•7mo ago
{"error":"Computer says no."}
readthenotes1•7mo ago
Beats "I have a headache"
n8m8•7mo ago
inb4 someone genuinely doesn't understand why you wouldn't do this with an LLM
macleginn•7mo ago
A worthy spiritual disciple of the Journal of Universal Rejection (https://www.universalrejection.org/)
svilen_dobrev•7mo ago
nice. Reminds me of BOFH (Bastard operator from Hell) . And those box-like calendars with page-per-day with some excuse^w^w tip on each :)

https://bofh.bjash.com/bofh/bofh1.html

hotheadhacker•7mo ago
The API rate limiting has been removed.