Recent submissions

Comment · 7 months ago
What I'd suggest is using lvh.me, which always resolves to localhost, as do all it's subdomains. If you need a specific IP you can use nip.io.

If you want valid certs you can generate them with mkcert and add them to your system trust store.

Comment · 1 year ago
My pleasure. Claude 3.5 Sonnet made the diagrams after 3 rounds of prompting.

LLM's are surprisingly good at making diagrams in monospaced ascii or MermaidJS.

Comment · 1 year ago
CORS is enforced by the client, the web browser.

  +----------------------+                               +-----------------------+
  |     User Browser     |                               |     WordPress Site    |
  | (viewing from        |          CORS Error           |     (blog.com)        |
  |  example.com)        |     Browser enforces CORS     |                       |
  |    +------------+    |        Direct request         |    +------------+     |
  |    | Frontend   |<-----------------------------------X    | xmlrpc.php |     |
  |    | App        |    |     example.com → blog.com    |    |            |     |
  |    +------------+    |                               |    +------------+     |
  +----------------------+                               +-----------------------+
       Browser security blocks cross-origin
       requests (CORS is browser-only!)

The bottle app presumably uses some python library like Requests. It wouldn't care about CORS.

  +----------------------+     +------------------------+     +-----------------------+
  |     User Browser     |     |    App Server          |     |     WordPress Site    |
  | (viewing from        |     |    (example.com)       |     |     (blog.com)        |
  |  example.com)        |     |                        |     |                       |
  |    +------------+    |     |    +------------+      |     |    +------------+     |
  |    | Frontend   |<-------->|    | Backend    |<---------->|    | xmlrpc.php |     |
  |    | App        |    |     |    | (Bottle)   |      |     |    |            |     |
  |    +------------+    |     |    +------------+      |     |    +------------+     |
  +----------------------+     +------------------------+     +-----------------------+
           Same origin         Uses requests library           Different origin
       Browser allows this       No CORS checks here!         (Server doesn't care
                               (Not a browser!)                  about origin)
Comment · 1 year ago
It's not just you. I'm also in the EU experiencing an outage.
Comment · 4 years ago
I don't disagree with your sentiment, but I think it's interesting that this reached the front page of HN at all, and I have to think it's _because_ of the cult of personality around Musk.

Some of these comments suggest that having satellite internet onboard a cruise ship is a new thing. It's certainly not.

After some quick googling it looks like the current provider is O3b Networks (now part of SES), using modem equipment manufactured by ST Engineering iDirect.

I somehow doubt that when O3b Networks won that contract in 2013 it made the front page of HN. But now, there's "SpaceX's Starlink" in the title and it sits on #7 on the front page with 130+ comments.

Comment · 6 years ago
I've been playing around with it for a bit, but I don't really see what it has to offer that Vagrant doesn't already do.

"multipass launch" and "multipass shell" do the same as "vagrant up" and "vagrant ssh".

Vagrant has been around since 2010 and is super mature by now. Multipass seems to be limited to LTS Ubuntu releases, for now at least. There are Vagrant boxes for all Ubuntu releases but also Debian, CentOS or whatever else you would want to run.

Comment · 6 years ago
They're marketing this as a "mini-cloud". If it can only network through NAT, that eliminates all use cases where the VM instances would act as a server.

I'm a sysadmin, so I like tools like this to test out provisioning of servers with configuration management such as Ansible or Puppet.

Running tests at the end where I actually test the endpoints of the deployed services would be really nice to have, but impossible to do through NAT.

I guess that's a niche use case for this because Vagrant had the same issue for a long time, where setting up a bridged network was not possible or required some hacks.

Comment · 7 years ago
The comment you replied to was sarcastic.
Comment · 7 years ago
> Greta visited the US[...]

Yes, to address the United Nations.

Comment · 7 years ago
This particular horse is mentioned in the very first sentence of the introduction of the paper.

I think it's a worthwhile study, especially considering such dogs are currently still used in law enforcement. It's important to be aware of the shortcomings and biases of this methodology, and to do so in a sound, scientific manner.

Comment · 7 years ago
The same €3000 limit for cash transactions has already been implemented in Belgium, France has an even stricter limit of €1000.

Starting in January, the ECB will stop the distribution of the €500 bill.

We're nearing the death of cash.

Comment · 7 years ago
My personal take-away is "hold off on buying a Pi4 until this issue has been addressed in a future revision".
Comment · 8 years ago
As a sysadmin I disagree strongly.

Being able to host my own authoritative servers for my domains inside my org is a fantastic feature of DNS.

It lets me do things like split-horizon, which lets me deal with clients coming from different origins that may reach certain servers with or without NAT.

I'm also not keen on putting all my records on public name servers, for everyone to discover.

Comment · 8 years ago
The animated gif embedded in the article is incredibly hard to follow, since it has no controls to pause or go back to the previous frame. I wish the author had just embedded it as a series of images.
Comment · 8 years ago
I'm not German but this headline irked me. They could have just used the full name of the bank.

They use "Deutsche" and "Danske" as a shorthand throughout the article itself, too.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton