frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Data Centers Use Lots of Electricity. This Bill Would Let Them Go Off the Grid

https://reason.com/2026/01/12/data-centers-use-lots-of-electricity-this-bill-would-let-them-go-of...
1•taubek•26s ago•0 comments

Show HN: JSON Tools – Privacy-first JSON formatter, differ, and converter

https://json.jobby-time.com/
1•root-kjh•34s ago•0 comments

Tesla poised to be early winner as Canada opens door to Chinese-made EVs

https://www.reuters.com/business/autos-transportation/tesla-poised-be-early-winner-canada-opens-d...
1•alephnerd•1m ago•0 comments

Protect Your Payment Gateways

1•cvcshield•1m ago•0 comments

Former AOL chief says 'big money' will dictate future of media

https://www.ft.com/content/5265ae96-b277-4f02-acf8-5ee663dec4d8
1•bookofjoe•2m ago•1 comments

Synex Server: Debian Based Linux Distro with Native ZFS Installation Support

https://synex.ar/en/synex-server-13-r1-native-zfs-installer-and-enterprise-storage-architecture/
1•spawnmc•2m ago•1 comments

Show HN: Pictures and Meme Contest Platform

https://picoftoday.com/
1•scal•3m ago•1 comments

Losing 1½ Million Lines of Go

https://www.tbray.org/ongoing/When/202x/2026/01/14/Unicode-Properties
1•moks•4m ago•0 comments

Polybius's Theory of Anacyclosis

https://anacyclosis.info
1•kilroy123•10m ago•0 comments

The strange case of the underestimated Merge Join node

https://blog.dalibo.com/2026/01/12/under-estimated-mergejoin.html
1•daamien•10m ago•0 comments

DOJ says won't investigate ICE agent's fatal shooting of Renee Good

https://www.aljazeera.com/news/2026/1/19/doj-says-wont-investigate-ice-agents-fatal-shooting-of-r...
5•Qem•10m ago•0 comments

The Only Two Markup Languages

https://www.gingerbill.org/article/2026/01/19/two-families-of-markup-languages/
1•gingerBill•12m ago•0 comments

Spotify Shuffle: Making Random Feel More Human

https://engineering.atspotify.com/2025/11/shuffle-making-random-feel-more-human
1•fs_software•13m ago•0 comments

Show HN: Gitizi – Prompt library where you can run the prompts

https://gitizi.com
1•Chaxpa•13m ago•0 comments

Amateur mathematicians solve long-standing Erdős maths problems with AI

https://www.newscientist.com/article/2511954-amateur-mathematicians-solve-long-standing-maths-pro...
2•westurner•15m ago•1 comments

West Midlands police chief quits over AI hallucination

https://www.theregister.com/2026/01/19/copper_chief_cops_it_after/
2•YeGoblynQueenne•16m ago•0 comments

Show HN: Using AI agents effectively as a student

1•recursivedoubts•17m ago•0 comments

Tell HN: If you submit an article, please don't be the first commenter

4•Brajeshwar•17m ago•0 comments

A tool for seeing your Internet latency

https://gfblip.appspot.com/
1•keepamovin•17m ago•0 comments

Brain – turn natural language into Bash commands inline

https://github.com/sangress/brain
1•sangress_dev•18m ago•1 comments

Josh Shapiro Writes That Harris Team Asked If He Had Ever Been an Israeli Agent

https://www.nytimes.com/2026/01/18/us/politics/josh-shapiro-memoir-kamala-harris.html
1•mhb•19m ago•0 comments

Stop Consuming Spam at the First Sign

https://idiallo.com/blog/stop-consuming-spam-at-the-first-sign
1•Brajeshwar•19m ago•0 comments

Show HN: DanceJump – play a DDR-style dance game on YouTube (Chrome and Edge)

https://microsoftedge.microsoft.com/addons/detail/dancejump-for-youtube/kjcikodgaapodnjkhhmaobbkc...
1•maaydin•20m ago•0 comments

xAI fired employee who did the interview

https://twitter.com/sulaimanghori/status/2013261823475097732
1•Steen3S•20m ago•0 comments

An interactive map of niche artifacts

https://nichedesign.garden/
2•itaydr•20m ago•0 comments

Donald Trump links threats to seize Greenland to Nobel Prize snub in letter

https://www.theguardian.com/us-news/2026/jan/19/donald-trump-greenland-threats-nobel-prize-snub-l...
5•gizzlon•22m ago•3 comments

The mother of all demo apps

https://codebase.show/projects/realworld
1•MichaelNolan•22m ago•0 comments

The risky plan to take the "K" out of K-pop

https://www.economist.com/culture/2026/01/15/the-risky-plan-to-take-the-k-out-of-k-pop
1•andsoitis•22m ago•0 comments

MacBooks, Apple Neural Engine, and Overheating

https://gethopp.app/blog/macbook-m4-overheating
1•OptionOfT•23m ago•1 comments

How we mitigated a vulnerability in Cloudflare’s ACME validation logic

https://blog.cloudflare.com/acme-path-vulnerability/
1•el_duderino•24m ago•0 comments
Open in hackernews

No as a Service

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

Comments

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

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

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

I guess it still works.

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

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

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

a missed opportunity for some humor

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