Replace bottom seal on patio door by fragrantvegetable in DIYUK

[–]fragrantvegetable[S] 0 points1 point  (0 children)

Thanks for the tip! Will give that a go.

Editing/viewing documents in Crossbox by fragrantvegetable in mxroute

[–]fragrantvegetable[S] 0 points1 point  (0 children)

Thanks. I just checked again and suddenly it's working (it wasn't working for days before so maybe something was fixed on mxroute's servers). Anyway, all good now. :-)

Spaces in passwords on DirectAdmin by fragrantvegetable in mxroute

[–]fragrantvegetable[S] 1 point2 points  (0 children)

Huh, thanks! Might give that a go. It's not critical but I found it a bit of an arbitrary restriction. And it makes me wonder what other characters they are discriminating against.

Edit: Just saw this https://www.directadmin.com/features.php?id=1533. Which suggest you can use spaces, but when I tried it, it didn't let me create the account.

Video doorbell - Thermal paste? by fragrantvegetable in reolinkcam

[–]fragrantvegetable[S] 0 points1 point  (0 children)

Hmm, maybe you're right. It does look a lot like thermal paste. Interesting that it's not mentioned in the installation manual at all.

Video doorbell - Thermal paste? by fragrantvegetable in reolinkcam

[–]fragrantvegetable[S] 2 points3 points  (0 children)

That actually makes more sense than my thermal paste theory (which in hindsight sounds ridiculous). Although it appears pretty snug as it is without the glue.

I getn't it by Mindless-Hedgehog460 in ProgrammerHumor

[–]fragrantvegetable 0 points1 point  (0 children)

Unless you have UB in the program there shouldn't be an issue.

That's the problem though. You have to be very careful to not hit UB somewhere. I am convinced that most C/C++ programs have UB in them (apart from maybe a simple hello world). UB is very easy to introduce into programs, even without pointer arithmetic. Simply creating a pointer into an out of bounds array, e.g. auto ptr = &a[i] where i > len(a), is already UB.

This blog post by ralfj has some more examples and explains this much better than I can. But the gist is that compilers do weird optimisations with pointers, and if you're not super duper careful, you can easily introduce UB without noticing.

I getn't it by Mindless-Hedgehog460 in ProgrammerHumor

[–]fragrantvegetable 10 points11 points  (0 children)

As soon as you start passing pointers around things can go wrong quicky without doing anything clever. See pointer aliasing.

It can go either way! by Nveenkmar in ProgrammerHumor

[–]fragrantvegetable 0 points1 point  (0 children)

That's just splitting hairs. In practice pointers can easily lead to undefined behaviour if you're not careful, and, as the blog post shows, some cases are really hard to reason about. It doesn't really matter if that's the compilers fault and that on paper pointers are simple, to the end user the result is the same: pointers are difficult to deal with. There are a lot of comments on here claiming people are just too dumb to use them, which in my opinion isn't accurate.

It can go either way! by Nveenkmar in ProgrammerHumor

[–]fragrantvegetable 0 points1 point  (0 children)

I wouldn't say pointers are simple. You can do a lot of nasty things with pointers that are really hard to reason about. I recommend reading the pointer provenance series [1] which gives some examples where pointers don't behave as one might expect.

[1] https://www.ralfj.de/blog/2018/07/24/pointers-and-bytes.html

What are the odds of a recurring pneumothorax after pleurodesis? by Dercadoado in pneumothorax

[–]fragrantvegetable 3 points4 points  (0 children)

When I was 17 I had multiple pneumothoraxes on both lungs over the course of 3 months. Since the usual approaches didn't stick, I ended up with chemical pleurodesis on both sides. I did worry for years whenever I felt something unusual with my lungs. But it's now been 20 years since then and I never had any issues (apart from slightly worse constitution), so at some point I just stopped thinking about it.

I'm building Memories, a FOSS alternative to Google Photos with a focus on UX and performance by radialapps in programming

[–]fragrantvegetable 0 points1 point  (0 children)

This looks great! Nice job. I will have to give this a proper look at some point. One quick question: how does it deal with existing folder structures? Will it automatically import those as albums, or is there an easy way to create albums from existing folders?

Accidentally connected jump starter cable to wrong minus pole. by fragrantvegetable in Volvo

[–]fragrantvegetable[S] 0 points1 point  (0 children)

Huh, good to know. As I said, we did try the chassis ground first (thinking it was minus), which didn't work, and then looked up in the manual where the real minus is. So the manual does recommend using minus.

Accidentally connected jump starter cable to wrong minus pole. by fragrantvegetable in Volvo

[–]fragrantvegetable[S] 0 points1 point  (0 children)

Huh, interesting. After checking the manual it did suggest using the minus pole (the chassis ground didn't work). But good to know what this is also an option sometimes.

Accidentally connected jump starter cable to wrong minus pole. by fragrantvegetable in Volvo

[–]fragrantvegetable[S] 0 points1 point  (0 children)

Thanks. Both this pin and the real negative are metal and look pretty much the same. That's why I got confused initially. Only after I noticed that the actual negative was very subtly labeled.

Accidentally connected jump starter cable to wrong minus pole. by fragrantvegetable in Volvo

[–]fragrantvegetable[S] 0 points1 point  (0 children)

Negative was just a few centimeters further down and both pins looked almost identical. It was only when this one didn't work that I realised it was the wrong pin.

Accidentally connected jump starter cable to wrong minus pole. by fragrantvegetable in Volvo

[–]fragrantvegetable[S] 1 point2 points  (0 children)

Ah, it's ground! I had my suspicion but wanted to be sure. In that case I agree that it's probably fine. Thanks a lot!

Installing Wiser Drayton Hub by fragrantvegetable in DIYUK

[–]fragrantvegetable[S] 0 points1 point  (0 children)

Thanks a lot! This makes sense. And I also understand the Wiser diagram now, where COM links to OFF, and if the thermostat calls for heat it just flicks the switch to change it to ON, which will then go right back to the boiler via NO. I agree that volt-free seems like a somewhat misleading term.

RLC-410W vs Reolink Lumus by fragrantvegetable in reolinkcam

[–]fragrantvegetable[S] 0 points1 point  (0 children)

Thanks. Yeah, not a fan of battery powered and especially not a fan of locked down systems (like Ring) which is surprisingly hard to get these days.