frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: What Happened to the CS153 Videos

1•mapleleaf1921•1m ago•0 comments

PyPI Fixes High-Severity Access Control Issues Found in Security Audit

https://socket.dev/blog/pypi-fixes-high-severity-issues-found-in-security-audit
1•feross•2m ago•0 comments

Measuring Strategic Work

https://fullhoffman.com/2026/03/30/on-measuring-strategic-work/
1•adunk•3m ago•0 comments

UK firm pioneers data centres using lampposts

https://www.bbc.com/news/articles/c98r4e594p7o
1•1659447091•5m ago•0 comments

Farewell to a Giant of Botany

https://nautil.us/farewell-to-a-giant-of-botany-1280409
1•Tomte•7m ago•0 comments

Ask HN: What was your "why didn't I start doing this sooner" moment?

1•chistev•7m ago•1 comments

Show HN: Detecting running processes using AF_ALG

https://github.com/NHAS/detect-running-alg-socket
1•Nullence•8m ago•0 comments

gRPC service to MCP server with a single proto annotation, autogen for slackers

https://github.com/gdsoumya/protomcp
1•gdsoumya•9m ago•0 comments

I Do Not Recommend Bitwarden

https://xn--gckvb8fzb.com/i-do-not-recommend-bitwarden/
2•HotGarbage•16m ago•0 comments

Just-Bash: A Full Shell Environment That Never Touches Your Disk

https://www.codeline.co/thoughts/repo-review/2026/just-bash-virtual-shell-for-ai-agents
1•ankitg12•20m ago•0 comments

Majority of US Military sites in Middle East damaged by Iran [video]

https://www.cnn.com/2026/05/01/world/video/us-military-bases-iran-strikes-images-invs-digvid
2•hggh•24m ago•0 comments

Your App Should Ship an MCP Server

https://justin.poehnelt.com/posts/ship-mcp-server-native-app/
1•justinwp•27m ago•3 comments

Show HN: I made an AI task scheduling app

https://apps.apple.com/us/app/taskmaster-ai-assistant/id6761262496
1•omiliyomami•27m ago•0 comments

Apple Launches New All-in-One Apple Business Platform for Device Management

https://www.macrumors.com/2026/04/14/apple-business-platform-launches/
1•walterbell•30m ago•0 comments

Raspberry Pi 5 gets LLM smarts with AI HAT+ 2

https://www.theregister.com/2026/01/15/pi_5_ai_hat_2/
1•barqawiz•53m ago•0 comments

Show HN: Stop playing my matchstick puzzles, start building your own in seconds

https://mathstick.github.io
2•trangram•1h ago•1 comments

Why are neural networks and cryptographic ciphers so similar?

https://reiner.org/neural-net-ciphers
1•jxmorris12•1h ago•0 comments

Amazon.com (1999)

https://web.archive.org/web/19990828014913/http://www.amazon.com/
1•for_i_in_range•1h ago•0 comments

Show HN: Embed your Codex pets in React apps

https://github.com/backnotprop/codex-pets-react
1•ramoz•1h ago•0 comments

Isbell Duality (2022)

https://www.alphaxiv.org/abs/2212.11079
1•measurablefunc•1h ago•0 comments

You Have No Idea How Much You Still Use BlackBerry

https://www.wsj.com/tech/blackberry-qnx-software-cars-bf2a2280
3•thm•1h ago•1 comments

GrapheneOS: The Linux kernel is a fundamentally anti-security project

https://twitter.com/GrapheneOS/status/2035450069118296272
5•maxloh•1h ago•2 comments

Evenpairs – Curated Introductions for Professionals

https://evenpairs.com/
2•bharathkoyyedi•1h ago•1 comments

Why does it take so long to release black fan versions?

https://www.noctua.at/en/expertise/blog/how-can-it-take-so-long-to-release-black-fan-versions
8•buildbot•1h ago•0 comments

Texico: Learn the principles of programming without even touching a computer

https://www3.nhk.or.jp/nhkworld/en/shows/texico/
2•o4c•1h ago•0 comments

Dominant Resource Fairness: Fair Allocation of Multiple Resource Types [pdf]

https://amplab.cs.berkeley.edu/wp-content/uploads/2011/06/Dominant-Resource-Fairness-Fair-Allocat...
1•tibbar•1h ago•0 comments

Beware the Hats: A Warning from the Streets of Majorca

https://fshot.org/techzone/bewareofhats.php
1•victorkulla•1h ago•0 comments

AI-CLI – Generate anything from your terminal

https://ai-cli.dev/
2•nikolay•1h ago•0 comments

Show HN: Raptor – fast, energy efficient small file uploads to S3

https://github.com/proxylity/raptor
3•mlhpdx•1h ago•0 comments

LibreOffice 26.2.3 Released – What Is New and What Was Fixed?

https://tux.re/forum/viewtopic.php?t=210
2•tux033•1h ago•0 comments
Open in hackernews

No as a Service

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

Comments

Haeuserschlucht•1y ago
:)
artogahr•1y ago
:)
blahaj•1y 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•1y 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•1y 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•1y 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•1y ago
If it helps you, think of the rate limiter as the "no" final boss.
choult•1y 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•1y 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•1y ago
Was wondering the same thing.. Probably cruft so it looks impressive at a glance.
Retr0id•1y ago
If you ask LLMs for a long enough list of things, they often repeat entries.
MalbertKerman•1y ago
There are 25 unique responses in that 1000-line file.
justin_oaks•1y ago
Once you remove the duplicates that are different only because of the typos in them, yes, that's correct.
mikepurvis•1y 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•1y 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•1y ago
It's ~fine for performance if you load them once at service startup. But I agree, merging is also no big deal.
mikepurvis•1y 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•1y ago
It might be a weighted random.
ziddoap•1y ago
Might be!

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

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

I guess it still works.

lgl•1y ago
Bug report: when the server is overloaded, the No's are no longer random :)
kenrick95•1y ago
Classic Hacker News hug of death
xnorswap•1y 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•1y ago
Probably all those cookies tipped and triggered the connection rate limiter.
xnorswap•1y ago
I'm not following you at all?
NotMichaelBay•1y ago
It's so elegant. Even in failure, it's still operational.
riquito•1y 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•1y ago
Rate limiting has been removed
Retr0id•1y 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•1y 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•1y 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•1y 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•1y 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•1y ago
Example responses:

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

anonymousiam•1y ago
Looks impressive, but out of the 1000 possible responses, only 26 are unique.
qrush•1y ago
Oh great, it's Balatro's Wheel of Fortune card as a Service (WoFaaS)
hombre_fatal•1y 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•1y 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•1y ago
I think you'll enjoy this better: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
seabass•1y ago
{"error":"Too many requests, please try again later."}

a missed opportunity for some humor

richrichardsson•1y ago
{"error":"Computer says no."}
readthenotes1•1y ago
Beats "I have a headache"
n8m8•1y ago
inb4 someone genuinely doesn't understand why you wouldn't do this with an LLM
macleginn•1y ago
A worthy spiritual disciple of the Journal of Universal Rejection (https://www.universalrejection.org/)
svilen_dobrev•1y 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•1y ago
The API rate limiting has been removed.