[-] tatterdemalion@programming.dev 2 points 2 months ago

Secrets

  • Encrypted secrets file. All repo-managed credentials live in secrets/secrets.yaml, encrypted with SOPS/age.
  • Encrypted OpenTofu state. State and plans are encrypted client-side (PBKDF2 + AES-GCM) with a passphrase from TF_VAR_state_passphrase.

Network perimeter

  • Default-drop firewall on the router. I use a hand-written nftables ruleset with policy drop on both input and forward. Only lo, lan0 and wg0 are trusted. WAN accepts only established traffic, WireGuard UDP and HTTP/HTTPS.
  • No SSH from the WAN. sshd on the router is not exposed to the internet at all.
  • WireGuard for remote access.
  • Forced DNS. NAT redirects all LAN and VPN port-53 traffic to the router's AdGuard. AdGuard uses Quad9 over DoT upstream, with blocklists and safe search.
  • Second-level ACL in nginx. Private .home vhosts and Grafana carry allow LAN; allow VPN; deny all;.
  • TLS everywhere. Every public vhost sets forceSSL with recommendedTlsSettings. Certificates come from ACME DNS-01, so issuance needs no inbound port 80. Cloudflare is DNS-only with no proxy, so no third party sees plaintext.

Host access

  • SSH hardening. Password and keyboard-interactive auth are off, PermitRootLogin = "no", and logins are key-only.
  • Dedicated deployer system user. It uses a CI-only keypair, separate from the interactive keys. Everything it does through sudo is logged with LOG_INPUT/LOG_OUTPUT to /var/log/sudo-deployer.log.
[-] tatterdemalion@programming.dev 2 points 9 months ago

I've started buying the frozen ramen (raw noodles) at my local asian market :)

[-] tatterdemalion@programming.dev 2 points 9 months ago

Instant ramen is more expensive than rotisserie chicken right now.

[-] tatterdemalion@programming.dev 2 points 9 months ago

Some legacy Python code that already used inheritance. I had to extend it, and it was pretty infeasible to refactor the whole thing to not use inheritance. Not sure if I technically regretted that decision, but it was definitely painful, since Python inheritance makes it really hard to follow program control flow.

[-] tatterdemalion@programming.dev 2 points 9 months ago

What's wrong with good old Internet with E2EE?

VW Passat (2005 I think)

[-] tatterdemalion@programming.dev 2 points 2 years ago

How does a project enforce the license? I'm not familiar with a mechanism for public projects to limit who can open issues, etc.

[-] tatterdemalion@programming.dev 2 points 2 years ago* (last edited 2 years ago)

I think it's a bit more insidious. Writing a good search engine has become much harder since the first iteration of Google. Yes the root of the issue is greed, but it's not all the fault of the search engine. Now you have to deal with SEO-optimized marketing material generated by AI.

Building a "good" search engine today is like entering an arms race.

[-] tatterdemalion@programming.dev 2 points 2 years ago

Oh I didn't realize they had one with Sway. That helps!

[-] tatterdemalion@programming.dev 2 points 2 years ago

Interesting! It's possible your teacher was trying to keep things simple, especially since most English speakers probably couldn't tell you what the subjunctive mood is.

I don't think I learned about the subjunctive mood in Spanish class for 5 years, by which time I was in the 8th grade.

[-] tatterdemalion@programming.dev 2 points 3 years ago

Join instances you believe will maintain your core values and what you’d like to see

So that is exactly what is happening here. programming.dev users are trying to vote for their core values. It seems that our core values include "fuck Facebook" so that's probably how the vote will go on programming.dev. This decision only affects programming.dev, and you can leave if you don't like it.

Side note: I know the "leave if you don't like it" sentiment is very conservative-sounding when in the context of e.g. choosing a state to live in, but the situation is entirely different when it's as simple as making a new account. No doubt some people might be upset by decisions made by their instance admins, but that's just unavoidable, and part of the game of trying to choose your "home instance." If you want to be exposed to Threads content, then undoubtedly there will be at least one instance that federates.

view more: ‹ prev next ›

tatterdemalion

0 post score
0 comment score
joined 3 years ago