HackerTrans
TopNewTrendsCommentsPastAskShowJobs

highpost

no profile record

Submissions

Show HN: Forgejo Appliance, a private Git server based on OrbStack and Tailscale

github.com
7 points·by highpost·10 天前·1 comments

Using Tailscale with an OrbStack VM on macOS

github.com
80 points·by highpost·2 個月前·19 comments

Show HN: Using Tailscale with Apple's containerization stack

github.com
4 points·by highpost·2 個月前·1 comments

comments

highpost
·10 天前·discuss
Forgejo is an open-source GitHub clone written in Go. I wanted to run Forgejo on an old Mac mini at home and make it remotely accessible through Tailscale. So, I built Forgejo Appliance: an opinionated blueprint based on an OrbStack VM running on macOS with Ubuntu Server, PostgreSQL and the tsbridge reverse proxy.

I think of Forgejo Appliance as an open-source black box. It makes the Forgejo service available through a web interface, but beyond that, it’s pretty opaque. The VM is designed to be ephemeral (torn down and rebuilt for updates). Internally, it’s a group of three server apps tied together with UNIX sockets. This avoids the DNS and security headaches of exposing local TCP/IP ports. Like a managed cloud app, you can’t even connect to it with SSH.

It wasn’t all fun and games. Navigating through the host and guest restrictions felt like threading a needle:

  - The macOS Security Framework restricts Keychain access to local shell sessions.
  - Let’s Encrypt has a strict rate limit for certificate requests, which makes tearing down and rebuilding ephemeral VMs difficult.
  - TLS certificates are usually managed as small directories of files. To persist them across ephemeral boots, I tar-ed, compressed, and base64-encoded the whole directory into a small string and stuffed it directly into Apple Keychain.
  - When testing isn’t going well, you can easily stack up ghost Tailscale nodes and trigger MagicDNS collisions.
Forgejo Appliance stores its secrets in Apple Keychain, uses Google Workspace SMTP for notifications, and uses BorgBackup with rsync.net for remote backups. The end result is secure (thank you, Tailscale) and reliable.
highpost
·上個月·discuss
We went to Peace Arch Park several times during COVID to visit relatives in Canada. And then I noticed the tents on the eastern edge of the park. What's that all about? I called it the End Zone. Couples separated by the border would meet there. One park ranger said he saw things he couldn't unsee...
highpost
·上個月·discuss
That was ... easy.
highpost
·上個月·discuss
I also have a similar example repo for the Apple Containerization Framework.

https://news.ycombinator.com/item?id=48002958
highpost
·2 個月前·discuss
The macOS app manages the host Tailscale service, while this example demonstrates how to connect with a *macOS container* using Tailscale SSH based on the Tailscale service under userspace networking mode. This gives the container its own dedicated Tailnet IP and identity without needing to port-forward through the host.

edit: For example, I can create a container on my MacBook to run an application. A colleague *in my Tailnet* can then connect to this container to interact with that application from a coffeeshop or airliner while not exposing the rest of my MacBook.
highpost
·2 個月前·discuss
Here's an example of how to build a simple Alpine Linux container using Apple's containerization CLI. It also demonstrates how to connect to the container through Tailscale SSH using a Tailscale auth key stored in Apple Keychain:

https://github.com/highpost/tailscale-macos-container
highpost
·3 個月前·discuss
you can be both.
highpost
·4 個月前·discuss
Apple Earbuds cost $19 while AirPods Pro 3 cost $250. If one of the pods flies out of your ear on the Fremont Bridge, it's a pretty bad day. I should get over it.

You can also load your hearing test results (from either an audiologist or a hearing test app like https://mimi.io/products/mimi-hearing-test-app) into Apple Health and then use them with your Earbuds.
highpost
·5 個月前·discuss
I wish them the very best, but I don't understand why it doesn't handle OpenDocument Format (ODF) natively.
highpost
·9 個月前·discuss
I think we're dealing with garden variety snobbery here. A great school, like a great teacher, is a school that makes a difference in people's lives. If it takes people who could have worked in a factory and gives them a leg up to a better living, then we should celebrate that kind of school. The point of the article is that circumstances have changed in a way that undermines the ability of school like WKU to deliver this kind of possibility.
highpost
·10 個月前·discuss
Ubuntu ships OpenZFS as a separate prebuilt kernel module for ZFS (zfs-dkms). Interestingly, they also have ZFS support in GRUB to support booting from ZFS:

  * read-only and minimal
  * fully aware of different Linux boot environments
  * GPLv3 license compatible, clean-room implementation by the OpenSolaris/Illumos team. The implementation predates Ubuntu’s interest.
highpost
·3 年前·discuss
Star Trek may have made us think that Class M planets are abundant, but the probability of detecting intelligent life on any given habitable planet is remote. There may be many Class M planets within our detection range, but the trick is to find one that has an intelligent civilization at precisely this moment in time minus the time it takes for radio signals to reach Earth.

Let’s say that Earth is about 4.5 billion years old and that intelligent life has been externally detectable for about 120 years since radio was invented around 1900. And it’s by no means certain that just because a civilization on a given Class M planet achieves radio signal generation that it will soon achieve warp drive technology and build a fleet of starships. That civilization could simply watch episodes of the Golden Bachelor while consuming all of its available resources and then fade away. Or just blow each other up.

I’m not saying that intelligent life outside of Earth does not or has never existed. We can only detect a small part of the known universe. And we can only detect what’s going on roughly right now because there isn’t a WayBack Machine for interstellar radio signals.

All this requires the combination of several low probability events:

  * A planet must be within detectable range of Earth.
  * A civilization must have developed.
  * The civilization needs to survive for a meaningful period of time. One century is not meaningful.
  * The civilization must be visible essentially right now.
The combination of those events yields a very low probability.

I’m not saying that the search for intelligent life on other planets isn’t interesting or worthwhile, but I do think that Elon Musk should stop wasting his time on space travel and start spending it on global warming. That will give us the best chance of extending our run as an intelligent civilization.