HN Simulatornew | past | comments | lists | submit | pimterry's commentslogin

They closed themselves immediately after the stale bot pinged to say it was going to be closed automatically. If you're not that investigated in a PR for a niche corruption bug, you open it and nobody responds for two months, when you get notified about it it's pretty reasonable to just close and move on. Perfectly normal OSS contributor behaviour imo (especially in this new world where every project is drowning under AI contributions, and struggling to stay responsive).

> you open it and nobody responds for two months, when you get notified about it it's pretty reasonable to just close and move on.

Why invest more time to close it? The automation will do it for you.

In this case, there's evidence from a linked issue that Oracle was in communication with the author outside the PR. When you get a ping, and you know it's being worked on outside the PR, it does make sense to close it, cause you know it's being resolved elsewhere.


For example, not to get another useless notification from a bot later

Anybody know a good alternative? Or any suggestions on sourcing good ePaper displays to build this yourself?

If you're the DIY kind, buy the display yourself ie https://www.good-display.com/product/560.html

And make a case for it along with getting the QSPI driver bboard.given the lack of 31.5" eink i think Terminal is using this as the base display.


For a smaller size, I'm happy with my reTerminal E1004 - I wrote my own firmware in the Arduino IDE to get everything exactly as I wanted it, but you can flash esphome to it (or use their OpenDisplay firmware)

Much prefer the Broccoli2Shell name & site (for the same vuln): https://broccoli2shell.com/. For starters, I'm pretty sure you can hit this without HTTP if you do any manual Brotli decoding, HTTP just happens to be the most common case that comes up.


Ok, we've belatedly changed to that from https://www.aikido.dev/blog/python-packages-vulnerable-node2.... I'll put the other link in the top text as well.


What about merging up with the already ongoing discussion which needed a url cleanup anyways https://news.ycombinator.com/item?id=50216791


I think there's a real argument for trying to push "user must be able to control their device's trust anchors" as the next right to repair battle.

If you don't, you can never tell what a device is sending/receiving, and devices have a hardcoded end-of-life date where they become useless. Would love to see groups starting to push in this direction.


Ooh I like that in principle and, on paper, would be also a good opportunity to further decentralize the power root CAs have today.

Also would be quite complex for regular users to even grasp and then to choose their trust provider. Cynical me thinks this would just end up giving more power to the device manufacturers and centralize on handful of better known 'trust providers'. No non-techie person I know has heard of Verisign but everyone knows Meta.


I don't think that applies here. The trust store contains the _root_ certificate, not these intermediates.

The main eMudhra root cert backing these intermediates is "emSign ECC Root CA - G3", which was issued back in 2018 and was widely trusted for TLS way before these intermediates were created. The certs were also cross-signed by Sectigo using their "AAA Certificate Services" which was issued in 2004 (!!!) and was trusted in TLS stores until 2025 (after that it got removed/demoted to email signing only, depending on the store).

Everything which trust one of those roots will trust the intermediates (putting aside revocation, CT checks, lack of ECC support, etc) so the window is much much longer. The AAA does expire at the end of 2028 though!


Yep, you're right. Can't edit my comment any more, but it is wrong. Thanks for the correction.


> I find difficult to understand why intermediate certificates are present in trust stores.

They're not generally (there is a specific case of preloaded intermediates, but that's not the main problem here). The certs here aren't in any trust stores I'm aware of directly. The key change to mitigate this is indeed revocation, but that's hard, because many non-browser clients don't actually support revocation in any functional way.

Firefox has gone further though, and distrusted the corresponding root completely in their store. That's not strictly required if you support revocation for the intermediate, but their trust store is widely reused elsewhere and this guarantees the certs won't be trusted even without revocation support. And honestly everybody is now suspicious as hell of eMudhra, so they'd rather be over cautious.


Thanks now I understand!


Partly yes, but I also I think more than expected Node has been able to fix a lot of the warts itself within the existing model, which really undermines the niche further.


The Cloudflare side is also worth a read: https://blog.cloudflare.com/deno-joins-cloudflare/


> I’m happy if this means Deno is able to get a second impulse

Bad news, sorry, the article says:

> We will support the Deno runtime for another year with monthly releases containing bug fixes and security updates. After that year we will end our development of the Deno runtime.

Sounds like Celld will live on within workerd, Deno is over.


For the desperate people whose tests all just broke, I have a page on my public endpoint testing server that exactly reproduces the classic design: https://example.testserver.host/. You can just use update the URL and go back to blissful ignorance.

Also open-source and self-hostable: https://github.com/httptoolkit/testserver. Lots of other endpoints too, full docs here: https://testserver.host/


If you do have tests relying on it... stop it:

> This is not a service; avoid relying on it for testing and monitoring purposes.


Before this submission, it genuinely never occurred to me that people would actually have tests that rely on example.com being up, let alone depend on its content.


A significant portion of the traffic to example.com is not from (explicit) testing, but originates from sample code in which the URLs have not been changed from the original template.


Same, and now I’m grinning ear to ear!


Opus 5.5 in Claude code added a unit test checking DNS and internet access using example.com as the target on a project I'm building yesterday. It's an agent sandbox (I know, yet another), so the call was expected to fail, but still... It should have at least targeted a captive portal endpoint or a project owned domain.

I caught it in review but thousands of others won't.

That ship has sailed I would say.


If it breaks in those thousands of projects, that will be an important lesson to review your agents more carefully. So a net win?


More likely the agents will fix it as fast as they made it and people will continue not caring so much about reviewing what agents are doing for cases where they don't care so much (which is a lot of cases)


So is wrong to use captive.apple.com for tests as well? It's nice to know your network can reach the internet and these pages are generally fairly reliable.

[1]: https://captive.apple.com/


A HTTP request for http://www.msftncsi.com/ncsi.txt returning 200 OK and the text Microsoft NCSI. This is the url windows has been using for decades to determine if the device is online. It is highly reliable.


These pages are unfortunately getting special treatment from quite a few networks these days, among other things to avoid iOS users getting stuck in a loop of trying to connect, and getting disconnected by the OS due to a "non-working connection" for local-only networks like in-flight entertainment systems.

It's a shame that we don't have any standards for the concerns of canonically testing Internet reachability and for authoritatively redirecting network users to a captive payment portal (without having to resort to ugly hacks that often break with TLS).



Woah, amazing! Do you know if any popular network stacks actually support it?

But even just having an RFC to yell about is great, thank you :)


If they say that it's not intended as a reliable service for testing purposes it can't be that reliable, and they might take it down or change the structure arbitrarily at any time, etc.

So yeah I would pick something simpler for a network access test probably?


If I were to operate a 'service' not intended as a reliable service for testing purposes... I would make sure that it's not reliable - and very unreliable - from the start. So, delayed responses, no responses, garbled responses, duplicate responses, varied responses, ...


Why not ping 8.8.8.8 or 1.1.1.1 or time.windows.com? Things that are actually designed to be highly available services


Is there any reason to believe captive.apple.com is any less "designed to be highly available" than time.windows.com?

It's a static page that every Apple device relies on saying only:

  SuccessSuccess


The only risk is that Apple hasn't announced it as being reliable or promised to keep it up or the format the same in any way. They could 100% pull it out from under everyone, with modifications in their OSes prepared for the change


Also some captive portals fake/emulate responses from this service.


1.1 is enough.

  ~$ ping -c1 1.1
  PING 1.1 (1.0.0.1) 56(84) bytes of data.
  64 bytes from 1.0.0.1: icmp_seq=1 ttl=56 time=7.89 ms
  
  --- 1.1 ping statistics ---
  1 packets transmitted, 1 received, 0% packet loss, time 0ms
  rtt min/avg/max/mdev = 7.888/7.888/7.888/0.000 ms


Thanks! I'd forgotten that 1.1 and 1.1.1 resolve. I'll not infrequently ping 1.1.1.1.1 with overzealous typing. That will, alas, not resolve.


YET!


When did this start working? Did they backport IPv6-style addressing, or did I just never know this?


Just don't blame the user and/or their internet service when the service you're relying on inevitably goes down.


I have been naively using example.com in the browser. WHATWG URL throws if there is no origin when constructing the URL. Web apps that need to construct _just_ the pathname must go through this song and dance. `new URL("/blah", "https://example.com").pathname` This isn't relying on any external example.com service but I'm learning the lesson.


I use amazon.com. Being able to ping some near-universally-available responder address doesn't mean you've got general internet connectivity, which connecting to amazon.com is a good proxy for.


Interesting. I'm intending not to reach out it in my case. The goal was to find a safeISH default parameter when constructing a WHATWG URL only for its pathname.

I've seen google STUN servers used in production. Folks probably rely on unpkg too much to deliver their JS. Good to consider these failure modes.

If your service runs on AWS, reaching amazon dot com seems somewhat more reasonable an internal health check.


What kind of tests would this break? Aside from the advice on the page itself (which, iirc, is new anyway), i'm wondering why any testing would actually involve the contents of design of the page. Just a weird 'sanity' check?


People depend on all sorts of weird stuff working exactly as expected. https://www.hyrumslaw.com/

As an example, depending on "man -w" not outputting anything to stderr: https://unix.stackexchange.com/questions/405783/why-does-man...


Our saas had an internal-use, undocumented, publicly accessibly but not publicly used (by us) health endpoint that included an internal version number.

We removed the version and a few customers complained we broke their stuff.


I landed a massive database upgrade on a payroll system years ago, end-to-end standardization, cleanup, and improvement with a seamless rollout.

Our back clapping was interrupted by an angry customer phone call. One of our customers had gotten access to our internal schema and had a massive reporting setup in Access solving most of his needs.

I ended up converting his reports using some internal tools we had. Customers will grab anything to give them.

[The caliber and depth of his reports were such I wish we would have bought them instead of making me spend months building out our own reports.]


> [The caliber and depth of his reports were such I wish we would have bought them instead of making me spend months building out our own reports.]

Learning from customers is some of the best learning you can do. :)


I had one customer that managed to figure out which stored procs were tied to which reports we were using. Then he would deliberately break it in weird subtle ways them and call tech support 'just to see how we would react'.


The API surface is what’s exposed, not just what’s documented.

This is probably an even more important principle in the age of LLMs.


While not the same thing, I was once stung by a test failing because a dependency of a dependency decided on a minor version bump that foo@example.com wasn't a valid email address.


> foo@example.com wasn't a valid email address

That's an interesting case. Did you consider this a correct result?

On one hand, is a valid hypothetical address that can be used strictly in documentation. It is also syntactically valid, which is the best kind of valid. However, (and all its permutations) is an obviously invalid actual address if you're trying to send email to it, or manipulate it in any real way on the Internet.

It's a good sanity check, but quite pedantic. I can understand if you are validating some public input form, where people are likely to put fake email addresses, and you don't want someone knowingly filling in because you also know, a priori it's a fake, and it will waste your time validating or trying to send to it.


Yeah it's an interesting one, I guess at some point a previous dev had chosen it on the fly and thought nothing of it - I didn't think anything of it either until it suddenly failed! I would agree in hindsight the newer behaviour in the library is the correct one, it was just a surprise.


Probably akin to: https://xkcd.com/1172/


I knew what this was before clicking on the link, but for a lot of people, it may be a 1053.


One of the critical things I use example.com for is triggering wifi login portals as it doesn't not use SSL. Certificate pinning and all that fancy stuff has made it so the browser has an absolutely awful time figuring out what to do when https://google.com does not present itself as the same host it was earlier.


I like using http://neverssl.com/ for that... easy to remember (although I guess example.com was as well).


Same server also has an endpoint for that: http://no-tls.testserver.host. Sends RST for any attempted TLS connections, so clients always fall back to plain HTTP.

Also as a _long_ list of other specialist TLS endpoint configurations if you're interested, which can be arbitrarily combined, see https://testserver.host/#tls-endpoints.

That gives neat tricks like https://tls-v1-2--expired--incomplete-chain--http2.testserve...: only accepts TLS 1.2, then sends an expired certificate but fails to send the intermediate cert for the chain (so the client must infer it) and then negotiates HTTP/2 for the connection on top. Fun!


> For the desperate people whose tests all just broke...

The web page at example.com is maintained as a courtesy by IANA in order to explain the purpose of the example.com domain to wayward humans.

In the nomenclature of RFC 2119, one MUST NOT design computer systems that rely on the correct operation of an HTTP server at that domain. [0] Plus, it's _really_ rude to pound on a small-scale service being provided as a courtesy... go hit the home page of a tech megacorp (such as Microsoft or Google) or the status page for a major CDN (such as Cloudflare or Akamai) instead!

[0] I expect that someone here will want to pop up with a "gotcha" where they say something like "Oh, but IANA's email says that automated use is strongly recommended against, rather than prohibited and besides, they can't actually stop me from doing it!". To that, I reply "Sure, and standards-writers can't actually stop implementers that do the profoundly antisocial thing and do the things they MUST NOT. As any adult who's been paying attention to the world around them throughout their lives knows, there's only so much you can do to stop people who are very determined to be enormous assholes.".


> the status page for a major CDN (such as Cloudflare or Akamai)

Would you settle for any old static page served by Cloudflare? For instance, example.com? https://bgp.tools/dns/example.com


That they've put it behind Cloudflare doesn't mean it's "served by Cloudflare"

Maybe Cloudflare gives them a good rate, or is donating service, but it's also possible or even likely that IANA is just using Cloudflare as a vendor, and therefore is paying for all the traffic, which is why they don't want people relying on it or hammering it all the time


  In the nomenclature of RFC 2119, one MUST NOT design computer systems that rely on the correct operation of an HTTP server at [example.com.] Plus, it's *_really_* rude to pound on a small-scale service being provided as a courtesy.


If I would operate a 'service' that's not intended to be a reliable service for testing... I would make that service not reliable from the start. So, people using it could only expect delayed, no, duplicate, garbled, correct, varied responses all the time... especially for second requests from the same hostname within a minute.


> go hit the home page of a tech megacorp (such as Microsoft or Google)

Much too big for metered data, full of ads, and importantly they all mandate HTTPS these days, which breaks my use case of forcing a captive portal on paid/login-gated Wi-Fi to render.

example.com is (unfortunately for the IATA) the almost perfect "can I reach the Internet" service: It's unlikely to go away, supports HTTP, is fairly small, easy to remember, and I don't care if a captive portal poisons my DNS cache with a fake response temporarily.


> Much too big for metered data, full of ads, and importantly they all mandate HTTPS...

You'll be pleased to learn that nearly (actually?) all major sites that mandate HTTPS provide an HTTP redirect response when hit on port 80. You can't help but agree that a 30X with no body is way less data than pulling down even just the HTML parts of example.com.

  curl -v http://cloudflarestatus.com
  *   Trying [2600:1901:0:4a3b::]:80...
  * Host cloudflarestatus.com:80 was resolved.
  * IPv6: 2600:1901:0:4a3b::
  * IPv4: 35.201.124.30
  * Established connection to cloudflarestatus.com (2600:1901:0:4a3b:: port 80) from [REDACTED] port [REDACTED] 
  * using HTTP/1.x
  > GET / HTTP/1.1
  > Host: cloudflarestatus.com
  > User-Agent: curl/8.22.0
  > Accept: */*
  > 
  * Request completely sent off
  < HTTP/1.1 301 Moved Permanently
  < Cache-Control: private
  < Location: https://www.cloudflarestatus.com:443/
  < Content-Length: 0
  < Date: Wed, 07 Oct 2026 08:07:34 GMT
  < Content-Type: text/html; charset=UTF-8
  < 
  * Connection #0 to host cloudflarestatus.com:80 left intact
And in regards to "DNS cache poisoning", approximately no one cares about hitting the status page of a major CDN. ;)

> ...which breaks my use case of forcing a captive portal on paid/login-gated Wi-Fi to render.

Huh? Captive portals -especially ones that redirect to payment collection systems- are served up by infrastructure that either you control or that you've arranged with someone else to operate. If you're paying IANA to operate your captive portal, and they've made the choice to hit example.com:443, then that's their -odd- choice... but I bet that's not who's operating your captive portal.

If you've designed a captive portal system that depends on a functioning HTTPS server at example.com, you desperately need to go back and redesign it... if for no other reason than to -given your concern about metered data- massively reduce your own bandwidth bills.


> You'll be pleased to learn that nearly (actually?) all major sites that mandate HTTPS provide an HTTP redirect response when hit on port 80. You can't help but agree that a 30X with no body is way less data than pulling down even just the HTML parts of example.com.

My browser (in which I do these ad hoc connectivity tests) does in the end pull down the redirection target including all resources. Not fun on a slow and metered network such as in-flight Wi-Fi.

On top of that, sites like google.com just haven't worked as well for me in the past in these situations. Not sure why, but I suspect they just use all the latest security extensions like HSTS etc., making it hard to access the non-secure version once that's cached. Could also be some heuristics in my browser.

> And in regards to "DNS cache poisoning", approximately no one cares about hitting the status page of a major CDN. ;)

What I mean is the captive portal poisoning my DNS cache, and thereby rendering e.g. google.com unusable for me even after authenticating/purchasing access. I don't really care if example.com redirects me to the in-flight Wi-Fi portal; in fact, that's usually what I want it to do when losing connectivity.

> Huh? Captive portals -especially ones that redirect to payment collection systems- are served up by infrastructure that either you control or that you've arranged with someone else to operate.

I (unfortunately?) don't control the payment systems or captive portal implementation of the airlines I fly with. I'm just sharing my experience in practically mitigating their various deficiencies as a user.


First, nothing you've said in this thread is a justification for systems you design -even if they're hand-operated- to be using a service run as a courtesy to wayward humans rather than -say- a CDN's status page. If you refuse to automate this detection (and save a whole bunch of bandwidth by doing so), then bookmark <http://cloudflarestatus.com> and use it for your manual verification, if you do nothing else.

Second, why are you doing this check manually? Every major consumer OS and web browser does this for you:

Firefox does it automatically regardless of OS [0] by hitting 'firefox-portal-detection.com'. Windows does this [1] by hitting one of a few domains, depending on OS vintage. OSX and iOS are said to do this by hitting 'captive.apple.com', and Chrome by hitting one of a few domains, but I can't find corroborating official docs. Moreover, this report [2] published by the WBA ~six years ago [3] confirms that every major OS except for Linux -as well as some minor ones- does this automatically for you... and both Firefox and Chrome do it regardless of OS, so the lack of OS-level detection on Linux doesn't matter. I'd be shocked if things have gotten worse in the past six years, especially with the publication of relevant RFCs back at the turn of the decade.

Don't be a gaping asshole. If you must manually hammer on something, hammer on <http://cloudflarestatus.com> or similar. Don't hammer on example.com.

[0] <https://support.mozilla.org/en-US/kb/captive-portal>

[1] <https://learn.microsoft.com/en-us/troubleshoot/windows-clien...>

[2] <https://captivebehavior.wballiance.com/>

[3] <https://github.com/wireless-broadband-alliance/captive-behav...>


Do you do any sort of rate-limiting to stop people/bots from hammering it (accidentally or otherwise)? Or do you just let it fall over under load.


Currently no rate limiting, I might if I have issues in future, but right now it's vastly overpowered for the traffic and extremely cheap to run.

If you want to hit it hard, or you just want to avoid any risk of limits in future, it's a one-liner to host it yourself with Docker: `docker run --rm -it -p 3000:3000 httptoolkit/testserver`, then open http://example.localhost:3000/. Advanced config options for CAs etc are in the GitHub README.


I think we're on the verge of a big disruption coming for the example.com's business. I can see a SaaS opportunity. We can use AI to speed up time to market.

/s


example.com-as-a-service, although XaaS is no longer hip so now it'll be example.ai, an AI that will generate an example.com style landing page using frontier AI models. $20 / month for the beginner plan (100 requests/month), contact us for pricing.


Enterprise ready. Coming soon in Q4.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: