Piatro

joined 2 years ago
[–] Piatro@programming.dev 33 points 2 weeks ago (3 children)

The issue is the barrier to entry for creating shit PRs has almost vanished while reviewing those PRs for quality by a human being hasn't, so it pushes undue burden on the maintainers. See blog posts by Daniel Steinberg (maintainer of curl) for example.

[–] Piatro@programming.dev 5 points 2 weeks ago

Hey it's almost as if you give decision making power to something that doesn't have a concept of mortality or morality it won't take those things into account. Who could have guessed.

[–] Piatro@programming.dev 1 points 2 weeks ago

AI has evolved a lot, but the regulatory environment hasn't in some industries like health where this shit can't go anywhere near it. Of course there are people who haven't used it.

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

Thats the British way!

[–] Piatro@programming.dev 27 points 3 weeks ago (1 children)

So labours solution to not being in power was to outflank the Tories on the right. Reform's path to power is outflanking Labour and the Tories on the right. Restore Britain's plan is outflank all of them on the right. Where the fuck is the viable "outflank everyone on the left" party?

[–] Piatro@programming.dev 66 points 4 weeks ago (9 children)

Got to disagree there. Websites should work without js. Sure it shouldn't have fancy animations or whatever but I should be able to read it.

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

Or modern vendor-locked in devices

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

If you can separate the artist's power and wealth from the art, this works, typically when they've been dead for a while. Otherwise you're just feeding them. Rowling herself has used the money to actively fight trans people's rights in court and used her influence to give her actions public backing.

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

Text editors with plugin support as potential vectors of malware is a pretty well known problem. It's why at the very least organisations should be auditing the plugins used and actively monitoring them.

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

Genuinely worried about that when Gabe passes the torch. I'm glad most of their Linux work is going back to the commons and to open source tools so even if they do become shit we'll still have decent compatibility.

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

Yes it's indirect, but remember that Microsoft is one of their biggest competitors. This isn't about seeing absolute profit from every change, it's about improving linux as a platform to make it more viable for consumers, which will make it more viable for developers, which pushes more people to Steam and SteamOS as their first Linux distro and first destination for games. By making the platform perform extremely well on older/cheaper hardware they also create a market for other businesses to create hardware (Legion Go for example) which will increase the PC market and increase the number of people using steam since it's the defacto monopoly. Yes, they won't necessarily get every penny from every sale of hardware or even games since other game stores exist, but they will get a huge percentage from the majority of people in the PC market.

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

What business purpose does it serve to continually improve their product? Hmm. Gee. Hmmmmmmm. Geeeeeeeeee. I'm stumped.

 

Looking for recommendations for developers who have been around a few years and stagnating a bit. Searching around I just get the same recommendations over and over so please don't say "Clean Code" or "Pragmatic Programmer".

 

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 ›