Piatro

joined 2 years ago
[–] Piatro 6 points 1 day ago

My (limited) experience with the python ecosystem is: "Of course the built in package manager doesn't work, you idiot, you should use X" where "X" is a different package manager and no two python devs agree on which is "best" or "most common".

[–] Piatro 21 points 1 week ago (1 children)

I booked a flight recently, the translation engine was obviously having issues so instead of giving helpful labels for form fields it was stuff like: "{{ name.first }}", which I could figure out for the most part, but then on submission I got an error with no description at all. I opened the dev tools and resubmitted the form to find the API response which gave me the actual error. 2 pages previously a form field hadn't been set correctly by the web page (it was a drop-down, I selected an option, the error said it was null). I managed to force the field to populate properly and hey presto, submission works. Ridiculous.

[–] Piatro 2 points 1 week ago (1 children)

I can't even beat regular-length war. Damn snake lady and her BS action economy...

[–] Piatro 4 points 1 week ago

It's up to you. You're allowed to read/play/watch whatever you want, don't let us internet weirdos (who might not even be real people) dissuade you. My wife loves harry potter but hates Rowling's politics. That's ok. You don't have to justify your actions to anyone, least of all internet strangers! If you want a justification to play the game, as others have said, she's already made her money from the game and won't make more directly from you playing it, so she doesn't benefit. Also, by a few accounts I've heard it's a pretty mediocre game, so don't feel like you're missing out if you decide not to!

[–] Piatro 29 points 1 week ago (5 children)

The game wasn't lynched though, it sold phenomenally well despite the commentary. There aren't enough people paying attention to her statements to be in a position to make a conscious choice about her one way or the other. Most people just see harry potter and go "cool, new harry potter thing, I liked that as a kid/like it now, let's give it a shot". If it does get brought up in conversation I still find people are surprised when I say I don't buy or participate in harry potter stuff because they genuinely don't know, or think its massively overblown (coverage of her statements, not necessarily the content of them). We're in a corner of a tiny pocket of the internet, even on Reddit.

TLDR This will make HBO tonnes of money from people who don't care or don't know about Rowling's obsession with trans people, just like every other HP side project.

[–] Piatro 20 points 3 weeks ago (1 children)

"WeLl AcTuAlLy she closed the coal mines and accelerated our path to net zero!" Said some fuckwit politician a few years ago.

[–] Piatro 11 points 1 month ago (1 children)

Is there any sort of cognitive dissonance happening on a national level around this? America and it's media have been touting the "land of the free", "home of democracy" slogans for decades, is there not an identity crisis happening amongst those who believe it? I understand the left vs right, democrat vs republican arguments most of the time but surely no matter which side you're on this must be a shock?

[–] Piatro 6 points 1 month ago (2 children)

I love the argument about c having type safety with the little side-swipe at rust. "AcTuAlLy C does have type safety! You just have to jump through the following 50 hoops to get it!". I'm an outsider to both C and Rust but it's still funny.

[–] Piatro 2 points 1 month ago (1 children)

It's Facebook, they'll take it and not even bother to beg forgiveness later.

[–] Piatro 11 points 1 month ago (2 children)

Most people just want a thing to work though. One member of my family has issues with her iPhone at the moment where the signal is just all over the place. Sometimes not able to receive calls, sometimes not able to make them, sometimes inaudible when the call is made. She's googled and gone to apple tech support who have given her a list of basic troubleshooting tasks to do, stuff like checking settings. She said to me "I don't want to go hunting for these things I just want to hand it to someone and they can make it work!"

Linux and computer enthusiasts are happy to assemble things as we need them because the problem solving stuff is satisfying to us, for other people it's just a slog.

[–] Piatro 2 points 1 month ago

Cries in European prices...

[–] Piatro 8 points 1 month ago (6 children)

Genuine question, what good things? Part of the problem of only getting news from podcasts and social media is that I very loudly get all the bad things and maybe the good things are being drowned out.

 

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.

18
FP4 Android 13 Update is live (forum.fairphone.com)
submitted 2 years ago by Piatro to c/[email protected]
 

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.

4
submitted 2 years ago by Piatro to c/ruby
 

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 ›