Tabs for indenting and spaces for aligning. There. Everybody wins and loses.
This way the code always looks aligned and if you prefer 4 spaces for a tab instead of 2 or 3 or 8 you can just set it in your IDE.
Crisis averted!
Tabs for indenting and spaces for aligning. There. Everybody wins and loses.
This way the code always looks aligned and if you prefer 4 spaces for a tab instead of 2 or 3 or 8 you can just set it in your IDE.
Crisis averted!
Fuck detailed work logging. Best I can do is tell you how much time I spent per client in increments of 30mins.
Talk about a reverse UNO card.
There’s also the option of setting up a cloudflare tunnel and only exposing immich over that tunnel. The HTTPS certificate is handled by cloudflare and you’d need to use the cloudflare DNS name servers as your domains name servers.
Note that the means cloudflare will proxy to you and essentially become a man-in-the-middle. You – HTTPS --> cloudflare --http–> homelab-immich. The connection between you and cloudflare could be encrypted as well, but cloudflare remains the man-in-the-middle and can see all data that passes by.
Oh I thought the cloud game pass wasn’t Xbox games only. But that is entirely possible.
So this is basically Xbox game pass ultimate, the cloud gaming part?
Because at one point they mention if you have to rebuy games you already own and they said you can just link your library.
At one point it sounds like they’re renting out hardware and are able to stream your library to you ( you own the game ). Other times it sounds like they have a catalog and you just pay for the streaming to your device ( you don’t own the game ).
Edit: do not mean this in a negative way. I’m just confused trying to find the answer :D
Right. So i had them the other way around. :D
Thanks for clarifying.
Yes.
p++
== p+= 1
== p = p + 1
are all the same if you use it in an assignment.
++p
is different if you use it in an assignment.
If it’s in its own line it won’t make much difference.
That’s the point I was trying to make.
What I meant was:
In the screenshot it said x = *(++p)
and iirc that is not the same as saying x = *(p++)
or x = *(p += 1)
As in my example using ++p will return the new value after increment and p++ or p+=1 will return the value before the increment happens, and then increment the variable.
Or at least that is how I remember it working based on other languages.
I’m not sure what the * does, but I’m assuming it might be a pointer reference? I’ve never really learned how to code in c or c++ specifically. Though in other languages ( like PHP which is based on C ) there is a distinct difference between ++p
and (p++
or p+= 1
)
The last two behave the same. Though it has been years since I did a lot of coding. Which is why I asked.
I’ll install the latest PHP runtime tonight and give it a try xD
p = 1
x = ++p
// x = 2
// p = 2
p = 1
x = p++
// x = 1
// p = 2
++p
will increase the value and return the new value
p++
will increase the value and return the old value
I think p = p + 1
is the same as p++
and not as ++p
.
No?
That would’ve helped to add in the original message. I dont think I’ve ever heard of “ubi” servers.
You can try installing the deb file I guess? If you google it I’m sure you can find it somewhere.
Yeah I hate that storepages have these videos that look absolutely amazing but show nothing of the actual game.
Sure it looks fancy, but it won’t convince me to buy the game until I can actually see what I’m buying.
The issue you linked mentions using pasta
where it does work. Have you tried that or is it not a solution at all?
I’m all for it as long as you keep using your brain. Coworker of mine set something upn on AWS that wasn’t working. Going through it I found the error. He said he tried it using chatgpt. He knows how to do it himself, he knows the actual mistake was a mistake, but he trusted Amazon Q when it said the mistake was correct. Even when double checking.
Trust, but verify.
I found it to be a helpful tool in your toolkit. Just like being able to write effective search queries is. Copying scripts off the internet and running them blindly is a bad idea. The same thing holds up for LLMs.
It may seem like it knows what it’s talking about, but it can often talk out of its arse too…
I’ve personally had good results with 3.5 on the free tier. Unless you’re really looking for the latest data
But not voluntarily. Since it’s.integrated with apt you randomly get snap garbage installed instead.
Fair Point! I’m running photoprism myself which is stable, even though the PWA works well, it’d be nice to have a native app that can do the syncing rather than having to buy/rely on a 3rd party tool.
Also - If you’re looking for Auto-Sync features for the photos ( automatic upload when you take the pics ) there isn’t a free option on Android for photoprism ( I think ). There’s photo-sync, which will cost you about 3 euros or something.
If they want to upload pictures manually then there’s no issue.
Immich could be an option ( has an app and user mgmt ).
Photoprism can work too, but that only had a web/PWA version IIRC.
What happens when you directly curl the nextcloud? From a device that can access it, such as the machine where your caddy is running.
curl -v https://192.168.1.182
I am assuming it will reply with a 301 moved
and add a location header that points to “https://nextcloud.domain.com”.
The .htaccess file does nothing on nginx though.