Better HN
topnewbestaskshowjobs
Log inSign up

ggpsv

666 karma · joined Jun 26, 2017 (9y ago) · 134 submissions

Blog: https://garrido.io/
Submissions

1.

Podman rootless containers and the Copy Fail exploit(garrido.io ↗)

141 points · by ggpsv · 6mo ago · 25 comments

comment 1y ago · link · parent

Author here! Indeed, it is mostly HTTPS terminated by Caddy in the server at home. Otherwise, it is SSH.

comment 1y ago · link · parent

This is a good intro [0], courtesy of Redhat.

This is a good example [1], cited elsewhere in this post.

Documentation for quadlet systemd units [2].

[0]: https://www.redhat.com/en/blog/quadlet-podman

[1]: https://mo8it.com/blog/quadlet/

[2]: https://docs.podman.io/en/latest/markdown/podman-systemd.uni...

comment 1y ago · link · parent

Oh yes, correct!

comment 1y ago · link · parent

This is no longer true as of Podman 5 and Quadlet?

You can define rootless containers to run under systemd services as unprivileged users. You can use machinectl to login as said user and interact with systemctl.

comment 1y ago · link · parent

To add a data point here, my Framework laptop is 3 years old and I have no plans to change the mainboard anytime soon.

Also, you don't change its motherboard, you change the mainboard (for my laptop, it's the CPU/integrated GPU + memory sockets); this is unlike changing the entire computer. Then, you can reuse the replaced mainboard as a server if you wish to.

This pales with my experience using a Macbook Air whose motherboard failed. I did have to replace the entire computer.

comment 1y ago · link · parent

Care to share a link to the fermentation forum?

comment 1y ago · link · parent

Is it really brutal? Can you single out "nature" and its characteristics?

Brutal sounds like a value judgement, one that I suspect explains nothing about the fact.

Can we accept that it just is, and we're part of that, for all our vices and virtues?

comment 1y ago · link · parent

A bit like PESOS (Publish elsewhere, syndicate own site). I do this when archiving my Mastodon posts in my own static site [0].

[0]: https://garrido.io/notes/archiving-and-syndicating-mastodon-...

comment 1y ago · link · parent

That is what I ended up doing, I wrote a blog post about it some months ago [0].

The gist of it is using private dns and exposing services only on the private network. Implementation details can vary, you decide whether to use tailscale or bare wireguard, and any reverse proxy and dns server will do. In my case, I use Tailscale, NextDNS, and Caddy.

[0]: https://garrido.io/notes/tailscale-nextdns-custom-domains/

comment 2y ago · link · parent

If you don't, can you expand on how you're doing this? Is it simply backing up the Thunderbird profile?

12.

Hetzner Considered Hostile: A PSA(tenforward.blog ↗)

6 points · by ggpsv · 2y ago · 5 comments

comment 2y ago · link · parent

Every case is different but as a baseline, you could use Ubuntu or Debian for automatic security upgrades via unattended-upgrades[0], harden ssh by allowing only pubkey authentication, disallow all public incoming connections in the firewall except for https traffic if you're serving a public service, everything else (ssh, etc) can go over wireguard (tailscale makes this easy). Use a webserver like nginx or caddy for tls termination, serving static assets, and proxying requests to an application listening on localhost or wireguard.

[0]: https://wiki.debian.org/UnattendedUpgrades

14.

What self-hosting teaches(garrido.io ↗)

2 points · by ggpsv · 2y ago · discuss

15.

We Should Teach Students Unix, or the Power of Pipes(atthis.link ↗)

7 points · by ggpsv · 2y ago · 1 comment

16.

The Open Collective Platform is moving to a community governed non-profit(blog.opencollective.com ↗)

1 points · by ggpsv · 2y ago · discuss

comment 2y ago · link · parent

Fedora has worked flawlessly for me.

comment 2y ago · link · parent

Can you elaborate on how age (and the downstream packages) has made a difference in your workflows?

comment 2y ago · link · parent

You'll understand the inevitable tension on policing this issue considering that a couple of years ago Spain passed a law that made access to adequate and dignified housing a constitutional right.

comment 2y ago · link · parent

As mentioned in other comments by Spaniards weighing in, it's not really a big problem as in that's happening all the time. It is a multi-faceted issue, and for some, a philosophical standpoint stemming from the economic crisis, gentrification and speculation, and related problems.

Take in mind that the post shared here is written by a company that provides listing services.

Housing is more of a right in Spain than in other countries, and at least in Catalonia, there is precedent that it supersedes property rights.

comment 2y ago · link · parent

This is not the only way. See Vienna's public housing system as an example of what else can be done.

comment 2y ago · link · parent

That is how it actually works in Spain. You must present the contract when you legally register as a citizen in the city's town hall.

That doesn't stop people from circumventing this requirement, on either side of the contract.

comment 2y ago · link · parent

I found his first appearance [0] in Rupert Spira's show to be a good introduction to his arguments.

For a more thorough examination, his book "The Idea of the World".

[0]: https://m.youtube.com/watch?v=MQuMzocvmTQ&pp=ygUNa2FzdHJ1cCB...

comment 2y ago · link · parent

The problem here is that this creates negative externalities on the housing market unless regulation is in place. Otherwise, it creates an incentive for short-term housing over long-term housing, which affects the people who do live there. This is the crux of the matter in many places that have a problem with tourism.

comment 2y ago · link · parent

Oh, I did not know about this essay! Thank you for sharing.

To others reading this, this short essay [0] by Julian Jaynes is a good introduction to his idea of the Bicameral Mind. He later developed the idea further in his book "The Origin of Consciousness in the Breakdown of the Bicameral Mind". If you've watched the series "Westworld", how the androids begin to develop something akin to consciousness is inspired by Jaynes' ideas.

[0]: https://www.julianjaynes.org/resources/articles/consciousnes...

comment 2y ago · link · parent

I have read it, hence my confusion regarding how you've described stoicism.

comment 2y ago · link · parent

I reckon you're misunderstanding stoicism if you think of it as mental gymnastics. You're implying it is a practice of self-deceit or indulging in irrationality.

Stoicism is largely about accepting things as they are and letting go of the illusion of control. This, if truly integrated in your outlook, is the opposite of mental gymnastics. Said otherwise, you'd have self-awareness to understand your predicament and cut through it. Believe or not, you and Marcus Aurelius share the fundamental human condition, despite him being what you'd consider a "top performer".

Would you consider Cognitive Behavioral Therapy a practice of mental gymnastics? After all, Aaron Beck was inspired in part by the stoics.

I wish you find peace, don't be too hard on yourself.

comment 2y ago · link · parent

How much I've learned by self-hosting the software that I use on a daily basis is what has made the experience compelling. As you point out, it is knowledge that compounds and I've reaped the benefits on my professional endeavors.

comment 2y ago · link · parent

I believe the parent was hinting at the other possibility: not use an image at all.

When I see these AI-generated cover images in posts I'm left with a bad taste in my mouth. They look "ok" when glanced but pay more than a second of attention and they're terrible and uncanny.

If you truly care about the image's place in relation to the post, you'd go through the process that you mention and most likely you will end with a chess board and piece set that make sense, as opposed to whatever the image in the OP actually represents.

I agree with the folks behind iA Writer on this:

> Average AI images drag down everything around them. An AI hero image is a comedian opening the show with a knock-knock joke. Good images enrich your article, bad images steal its soul.

[0]: https://ia.net/topics/ai-art-is-the-new-stock-image

comment 2y ago · link · parent

I've done this in the past to assign a different exit node in Mullvad to a given Firefox container.

1. You click the Multi-Account Containers extension icon

2. Select "Manage Containers"

3. Select the container that you want to use for this purpose

4. Click "Advanced proxy settings"

5. Enter the address. For example, `socks://us-nyc-wg-socks5-301.relays.mullvad.net:1080` if I'm using one of Mullvad's NYC servers

This supposes you're already connected to one of Mullvad's wireguard servers.

You can also use the FoxyProxy extension [0] for finer-control or extend this behavior across all tabs.

[0]: https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-sta...

12345