[-] Piatro@programming.dev 21 points 6 days ago

It's almost like their supposed beliefs aren't sincerely held and they are nominally attaching themselves to that belief system to lend credibility to whatever they want to spread. This post is about MAGA, people with "legitimate concerns" about immigration while rioting and destroying livelihoods, and about these fucks.

[-] Piatro@programming.dev 52 points 1 week ago

The story is from 2014

21

Hopefully the title is self-explanatory but some more details:

  • game is in isometric perspective with the camera locked to the player but from a significant distance away, creating high likelihood of obstructions by the level and decorations occuring
  • I want the player to see their character's vision and not have these obstructions block the player's view.

One way to achieve this might be to use raycasts from the character to hide objects (like walls or buildings) if they collide with an object on the opposite side to the camera. A slight problem there is if buildings have interiors then the rays wouldn't necessarily hit all relevant objects. Sometimes both the interior and exterior of the building would need to visible.

I've seen a few videos on stencil buffers but my understanding is that this might not apply, but I will admit to not understanding them well. Any help appreciated for this newbie to game dev.

[-] Piatro@programming.dev 48 points 5 months ago

Man criticises someone for kicking a guy in the head while he's on the ground and restrained. People don't like this. What? Genuinely don't know what all the fuss is about but then I'm not following mainstream news much anymore so I must be missing something.

[-] Piatro@programming.dev 70 points 8 months ago

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.

9

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".

[-] Piatro@programming.dev 65 points 10 months ago

We need a Mozilla equivalent to killedbygoogle.com.

[-] Piatro@programming.dev 94 points 1 year ago

I'm just waiting for all UK users to be banned from anything that isn't Facebook or X. It's absolutely ridiculous and a huge win for big tech as it locks us in to their platforms and their platforms only. Those of us with a bit of tech knowledge will work around it but it's infuriating.

[-] Piatro@programming.dev 73 points 1 year ago

Of course even as a child Churchill is smug

[-] Piatro@programming.dev 234 points 1 year ago

There's probably a correlation between people who are aware enough of reddit's practices and policies to want to switch to Lemmy and people who are engaged in or by political discussion.

[-] Piatro@programming.dev 45 points 2 years ago

Incels. Incels and gullible teenagers who later become incels.

1
[-] Piatro@programming.dev 59 points 2 years ago

Coming from a country that doesn't have this sort of thing it's really weird as an outside observer. Students have to swear allegiance to the flag every morning too which is the sort of thing I would imagine happens in north Korea or dictator states.

[-] Piatro@programming.dev 151 points 2 years ago

Far right parties gaining significant popularity especially in France and Germany. It's not great for the neo-liberal centre who created and perpetuated the economic downturn we're all in and indicates a failure of the left to present a coherent alternative. There's a lot to unpack about it. France has already dissolved their parliament and triggered an election because of these results.

[-] Piatro@programming.dev 152 points 2 years ago

Bit of an alarmist headline here. The vulnerability has been patched in the most common clients (openssh) and it was because the protocol wasn't being implemented correctly. To say that the SSH protocol "just got a lot weaker" is just not true.

12

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.

30
submitted 3 years ago by Piatro@programming.dev to c/dnd@lemmy.world

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!

44

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.

4
submitted 3 years ago* (last edited 3 years ago) by Piatro@programming.dev to c/selfhosted@lemmy.world

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.

view more: next ›

Piatro

0 post score
0 comment score
joined 3 years ago