Piatro

joined 2 years ago
[–] Piatro@programming.dev 10 points 1 day ago

The "make shit up" machine was found to be making shit up? Huh, if only we could have predicted this!

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

I have a FairPhone and the hardware is fine and very repairable (being able to replace the usb socket has saved me from buying a new phone). The android alternative e/os has a lot of criticism the launcher is awful, feels like a cheap Chinese knock off of iPhone-like interface but you can at least swap it out and it's not as secure as something like graphene os. You're making a tradeoff whatever choice you make.

[–] Piatro@programming.dev 3 points 2 days ago

Ah yes, Alison "police asking me questions about my hate speech is the same as putting me in jail" Pearson, can stop reading there.

 

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 0 points 9 months ago

Climate change argument all over again

[–] Piatro@programming.dev 4 points 9 months ago

Glad it's there for people who need it. I've been fine with branching and stashing for 10+ years and my working directories have never been so dirty that I needed an entirely new copy of the project to do a hotfix.

[–] Piatro@programming.dev 2 points 9 months ago

Tried it on PopOS and wondered how anyone could use it at all. Installed fedora on a different machine and it's flawless. Probably just the age of PopOS at this point.

[–] Piatro@programming.dev 3 points 9 months ago

Where's the shocked Pikachu meme...

[–] Piatro@programming.dev 3 points 9 months ago

I wouldn't go as far as giving it a rave review but it works for me. I don't need constant connection, just enough to fetch the activity recordings. You can take the activities and load them into something like Open Tracks.

Be aware you're in for a rough around the edges experience. Garmin etc make their devices for their software only so you won't get all the features. Without the Garmin app for example I can't change the watch face or load workouts to the watch, so I have to have my phone on me during runs, which isn't ideal.

[–] Piatro@programming.dev 1 points 9 months ago

For a second there I thought libreoffice had launched an alternative to Calibre!

[–] Piatro@programming.dev 25 points 9 months ago

One of my primary use cases isn't covered by this article and that's a consistent user experience from one terminal emulator to another. I have personal and work devices, and I don't have control of what terminal emulators I can use on the work device, so tmux is the only way I can work with consistent keybinds and a consistent experience across all terminal emulators with nothing but a single git clone of my dotfiles. Yes I get stuck behind in features but I kind of couldn't care less about terminal notifications or title renaming (the examples used in the post). I'm always in the terminal, I don't need notified to come back to a terminal I'm already using.

If I'm wrong please tell me but it's worked for me for years without too many issues across tons of terminal emulators from iTerm to gnome-terminal, xfce4-terminal to windows terminal.

[–] Piatro@programming.dev 5 points 9 months ago

No impact yet. Tried to use it as an excuse to move my friends away from discord but no such luck!

[–] Piatro@programming.dev 6 points 9 months ago

I think the act has merits, there's just not enough exceptions. The wording is so vague it considers a Minecraft server used by a group of friends who know eachother in the real world as being the same as fucking Facebook.

 

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 ›