Piatro

joined 2 years ago
[–] Piatro 0 points 1 day ago (1 children)

Of course, but that requires both sides to actually want that. The rest of UK will not want this to work for the same reason that the EU didn't want Brexit to work, it gives other nations ideas about leaving. Even the SNP doesn't really want it to go perfectly because they'll lose their scapegoat that has given them power for over 15 years.

[–] Piatro 9 points 1 day ago (3 children)

Look, I supported Scottish independence last time round, i cannot stand the UK government and it's inevitable direction towards Farage and his bullshit. I don't know how cutting off our best possible trading partner, the only one we currently and will ever share a border with, England, in favour of the EU will actually help us. I can't remember the figures but our trade is something like 90% with England, but England doesn't rely on us for anything, so they'd be immediately in a stronger position at the negotiating table. I really don't know how I'd vote now. My heart says yes to independence, my head says no.

Besides all of that, the SNP have been dangling this carrot for years, I'll believe it when I see it. We've heard this many times since the last referendum.

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

Why would the turnout cause an earlier election? Starmer is the only one with the power to do it and he has over 4 years before he's required to call it. People made the same comments about every one of BoJo's scandals and there still wasn't a general election until long after he'd gone.

[–] Piatro 1 points 2 weeks ago

Well nowadays they just conveniently lose their phones or access to WhatsApp and aren't punished at all.

[–] Piatro 1 points 2 weeks ago

Looking forward to the video of the workshop, shame it's not up yet

[–] Piatro 6 points 2 weeks ago

I've never known any of my immediate circle of friends and family to have any interest whatsoever. Windows 11 has been the nail in the coffin for one, the steam deck has piqued the interest of another. Year of the Linux desktop is a pipe dream but any step towards greater adoption is a great thing.

[–] Piatro 10 points 3 weeks ago

I heard a journalist use similar language to describe skibidi toilet recently like it was just the one video. You'd think journalists would know better.

[–] Piatro 3 points 1 month ago

The thing we should be more concerned about are the parts that Steam haven't opened up, for example Steam input. However they've done everything as openly as possible for the move to Linux and I applaud that. If steam goes away or stops being so open, we still have proton and wine and other projects that mean we're not locked in to a Steam-specific OS, so we avoid the android problem there too.

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

By design of the ruling parties, not because universal healthcare is impossible

[–] Piatro 2 points 1 month ago

The ELI5 version is that developers can make a lot of assumptions about what a Windows pc means and what features are available. A while ago if you had videos as part of a game (for example a cutscene) it was actually played through Windows Media Player, which was virtually guaranteed to be present on the user's computer. Sure you can play that video with other tools like VLC or Quicktime, but you couldn't guarantee they were installed, so Windows Media Player was a safe bet. Nowadays that's not how video is handled but the point remains for a few other things. For example if I need to load an image, maybe a background, I would look it up using the windows filesystem, so probably something like C:\Program Files\Steam\common\mygame\images\background.png. That's not the same in the Linux or another os. Also the piece of software that handles loading images might be different, which means how we execute that load operation is probably different, and so our Windows-focused version of our game just doesn't work.

Fortunately nowadays that's a mostly solved problem with Steam investing a lot of time into Proton, what they call a "compatibility layer" that basically translates all of the windows-specific stuff to work in Linux. That's a very simplified explanation but you get the idea. The games that still won't run have kernel-level anticheat (Valorant, Helldivers 2) or are so dependent on things only available on Windows that even Proton can't fix it. Some anti-cheat software doesn't run properly so then you can't go online, like Warhammer: Vermintide 2. That's mostly a commercial decision rather than technical, they could make it work they just choose not to.

[–] Piatro 7 points 1 month ago

The fact Microsoft isn't mentioned astounds me.

[–] Piatro 8 points 1 month ago

The issue for me as a potential advocate to my immediate circle of friends and family is that I don't want to become the only source of tech support. Now realistically they'll probably have fewer issues, but as soon as they want to fix something they'll have to come to me. No they won't Google things, and if they do they won't understand it.

 

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)
 

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 ›