Hacker Newsnew | past | comments | ask | show | jobs | submit | meling's commentslogin

If I can use my DHCP assigned IP, will this allow me to drop having to use self-signed certificates for localhost development?

No, they will only give out certificates if you can prove ownership of the IP, which means it being publicly routable.

Finally a reason to adopt IPv6 for your local development

Yes, please publish the location of your dev servers in Cert Transparency logs for everyone to see.

A lot of publicly routable IP addresses are assigned by DHCP...

It's just control isn't it, not ownership? I can't prove ownership of the IPs assigned to me, but I can prove control.

Yes that’s correct

Sorry, I wasn’t precise enough. I’m at a university and our IP addresses are publicly routable, I think.

Browsers consider ‘localhost’ a secure context without needing https

For local /network/ development, maybe, but you’d probably be doing awkward hairpin natting at your router.


it's nice to be able to use https locally if you're doing things with HTTP/2 specifically.

What's stopping you from creating a "localhost.mydomain.com" DNS record that initially resolves to a public IP so you can get a certificate, then copying the certificate locally, then changing the DNS to 127.0.0.1?

Other than basically being a pain in the ass.


One can also use the DNS-01 challenge in that scenario.

Wish more pages were as fast as this, despite this site’s simplicity… In particular GitHub could really benefit from less bloat and faster rendering.


It has been used for a while in the Secure Enclave operating system: https://en.wikipedia.org/wiki/L4_microkernel_family#:~:text=...

But to my knowledge, not for the more general user facing OSes.


Yeah that's what I was getting at. I know seL4 is used in a bunch of places, but outside of a few hobbyist projects I have never heard of anyone using is at a "full" OS.

It would be nearly impossible to have the support for the extremely diverse set of hardware that desktop Linux has while staying formally verified, but for something a bit more constrained like a smartphone, I think something like seL4 could work as a base and the manufacturer could write their own drivers for whatever hardware is needed.

I mean, how cool would it be if every single part of the stack that is even possible to verify was fully verified. I know about the halting problem, I know there are things that would be basically impossible to verify fully, but I still think it would be cool to live in a world where software engineers actually had a little assurance what they were doing actually worked before unleashing into the world.


I know at least one autonomous vehicle company is using it as their base OS in the autonomy stack, with efforts at extending some form of verification up to the high level code.


That's cool as hell! I didn't know that but it makes me happy to see it getting a bit more love.


Are there new physics on the horizon that could pave the way for new memory technologies?


Ha, that’s funny! I got my PhD from NTNU, but never actually noticed that in English it becomes NUTS… NTNU is a Norwegian acronym for Norges teknisk-naturvitenskapelige universitet.


Interesting! I grew up before network cards was a thing in home computers (Commodore 64 and Amiga), but a group of my friends organized what we called «meetings» which I would characterize as your traditional LAN party. I remember at some point that we hooked up two Amigas over a fairly long parallel cable and were able to send data across. Cannot recall if we actually were able to copy larger files between them though. Fun times!


On iPad as well.


Yeah, while I’ve seen some great libraries that follow the practice of minimizing their dependencies, I’m a bit annoyed with the amount of dependencies that docker will bring along [1]. I’ve been on the lookout for alternatives for my docker needs, but the state of podman, buildah and some others that I checked is similar. They all bring in roughly the same number of dependencies… if anyone knows of a stripped down Go lib that can be used to build from a Dockerfile, pull, and run a container, I would be grateful for any suggestions. Heck docker / moby isn’t even using go.mod proper.

[1] https://github.com/moby/moby/blob/master/vendor.mod


Wow, that's massive. I guess it's inevitable that a popular piece of open-source software for end-users will be compelled to accrue dependencies due to popular demand for features that require them.

I feel Telegraf made a good compromise: out of the box, it comes with a _ton_ of stuff[1] to monitor everything, but they make it possible to build only with pieces that you need via build tags, and even provide a tool to extract said tags from your telegraf config[2]. But lots of supply-chain security stuff assume everything in go.mod is used, so that can results in a lot of noise.

[1] https://github.com/influxdata/telegraf/blob/master/go.mod [2] https://github.com/influxdata/telegraf/tree/master/tools/cus...


Thanks! That’s an interesting approach. Haven’t seen that before. I think a better approach (in a monorepo) might be to use separate go.mod files for each module, allowing the user to configure only the needed parts separately. But I haven’t seen it used much.


Just watched this… Thanks for posting. It is very nicely presented and intuitive as usual from 3blue1brown. Can definitely recommend this if you want to get a bit deeper understanding of quantum computing than the usual surface level nonsense that I usually come across.


See the related work section in the SOSP 2024 paper. I think verification speed is one of the main benefits of verus.

https://www.andrew.cmu.edu/user/bparno/papers/verus-sys.pdf


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

Search: