Piatro

joined 2 years ago
[–] Piatro@programming.dev 11 points 4 days ago

That's not what this is about. Everyone agrees that damage to military assets is a criminal action, no matter how you justify it. The problem I and others have is that the actions don't meet any sort of sensible criteria for what is "terrorism". Most people would say terrorism must involve mass harm to people, not necessarily property. Lots of other organisations over the years should have been proscribed if "terrorism" means property damage. Anyone involved in the race riots, Just Stop Oil, hell, even Banksy, would all qualify if that was the case. It opens the door for the UK government to proscribe any organisation it doesn't like, which is especially concerning at a time when the next government is likely to be even more authoritarian and use this event as precedent to do the same but more.

[–] Piatro@programming.dev 16 points 1 week ago

I've not used it in anger but the principle just seems like inline-styles with extra steps. However I've also had to change something in a large project that had a lot of dedicated classes with specific and shared styles and trying to sort that out without breaking stuff was a massive pain.

[–] Piatro@programming.dev 4 points 3 weeks ago

I don't provision any two devices exactly the same way, and if I did there's nothing stopping that provisioning script/tool from changing or becoming out of date over time since I'd only run it once every couple of years. I briefly looked at nixos but as another reply said, the major hurdle was the documentation and trying to get "the right way" to do things. I remember flakes being mentioned but being experimental and there being two other things competing as the solution to the same problem and at that point I lost interest. I moved to fedora for the first time in a decade recently and installed what I needed via dnf. It wasn't a difficult enough process to justify learning another programming language.

[–] Piatro@programming.dev 4 points 1 month ago

Yup it's on the IzzyOnDroid F-Droid repo

[–] Piatro@programming.dev 4 points 1 month ago

Recently had a look at graphics cards because I'm concerned about my 1080Ti dying at some point but you literally cannot find a better bang-for-buck card than this 9 year old relic (assuming you don't need 4k, which I don't). Never mind that newer cards also consume much more energy too. This is why campaigns like endof10.org are so important. We've all got perfectly good hardware, no need to throw it away just to line some scumbag corpo's pocket.

[–] Piatro@programming.dev 26 points 1 month ago (4 children)

I was so focussed on the misspelling of "losing" that I missed the chatGBT.

[–] Piatro@programming.dev 0 points 1 month ago (1 children)

I don't know much about how national parks work in practice but they seem to be a way to create little feifdoms for people to get into positions of power, even if it is just the power to say you can't park in a certain place overnight.

[–] Piatro@programming.dev 4 points 1 month ago

Ugh I don't know why but this was the one that got me. Just no.

[–] Piatro@programming.dev 32 points 1 month ago (2 children)

These are sophomores and Juniors in college.

... Who grew up in a world where computer internals were abstracted away so you never needed to know what a file was or even that they exist. I wouldn't know what a file was either if I didn't grow up in exactly the right time frame and have a dad who hoarded DOS PCs.

[–] Piatro@programming.dev 18 points 1 month ago (5 children)

This is so British politics. Don't solve all of the fundamental problems of Brexit, just fix the minor one that people will have a direct experience of.

[–] Piatro@programming.dev 11 points 1 month ago

Before the comments roll in, are you venting or looking for advice?

In case it's just the latter: this was a tough read and I hope you're ok.

 

Hi all, my trusty (but honestly always pretty terrible) Amazon basics tripod finally died, does anyone have a tripod they'd recommend or brands they'd avoid?

Typical usage for me would be travelling/hiking and landscape photography so ideally small and light without breaking the bank (which I know is pretty tough). Budget is variable but call it £100-£200 for now.

 

It's being rolled out in stages so you, like me, may not have it yet.

 

Title. Friend group and I play regularly but most of us are bad at the role playing part of it to the point where it's hard to tell when the player or the character are speaking in some scenes. Conversations are stiff. We can't use too heavily modified voices because we're playing remotely. My character is about to die (probably!) so help me pick a character or trait of my new character that someone not comfortable roleplaying can stick to without feeling weird about it!

 

What do you have, what do you recommend, and why?

Asking as I've got a lot of spare components lying around that I'm planning on turning into a NAS. If it doesn't work out I'll buy a pre-built enclosure and reuse the drives.

 

EDIT: Issue now resolved. Turns out that having an A record point to a DNS server probably wasn't the best idea. My best theory here is that A records pointing to DNS servers means "Find the authority on this domain at this other DNS server", which could never resolve. By pointing it to my VPS, the DNS could resolve to a definitive IP, and the certs were successfully generated.

Hi all, hope someone can help as I'm just confused now!

Long story short I want to host local services (like ntfy) using trusted certificates. I hoped to do this with Caddy and a wildcard domain (I don't want to expose the DNS records of the services I'm running if not necessary).

In my DNS I have an A record for *.local.example.com pointing at a semi-random IP. I have other services on a VPS on other subdomains so I can't just use a wildcard. This looks like:

blog  A  <VPS IP>
*.local  A  1.1.1.1

On the server in my home network (which I do not want to expose) I have dnsmasq running that is handling local DNS records for services on the LAN but carefully not the remote services on the same domain. Using dig I can see that the local and remote DNS are working as expected. Seeing the error on DNS-01 challenged "could not determine zone for domain "_acme-challenge.local.example.com" I have also added an exception in my local DNS for _acme-challenge.local to point to cloudflare's DNS at 1.1.1.1. The dig command confirms this works as expected after restarting dnsmasq.

With the following Caddyfile:

*.local.example.com {
        tls {
                dns <dns provider plugin> <API token>
        }

        @ntfy host ntfy.local.example.com
        handle @ntfy {
                reverse_proxy ntfy
        }
}

Every DNS-01 challenge fails with "...solving challenges: presenting for challenge: could not determine zone for domain "_acme-challenge.local.example.com"...".

I think this should be possible, but I'm not clear what I'm missing so any help greatly appreciated. I'm just dipping my toes into self-hosting and actually getting practical use out of my Raspberry Pi that's been collecting dust for years.

 

Not affiliated I just find this useful and it exposed me to a few of the new features of Ruby 3.2 like not having to specify the value in kwargs if the variable is defined in scope, eg:

foo = 'bar'; call(foo:) is equivalent to foo = 'bar'; call(foo: foo)

view more: next ›