So all the misery in the world is related to webdevs trying to parse html with regex?
You bastards.
So all the misery in the world is related to webdevs trying to parse html with regex?
You bastards.
The .htaccess file does nothing on nginx though.
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?
Same. Although the simplelogin integration seems nice.
The issue you linked mentions using pasta
where it does work. Have you tried that or is it not a solution at all?
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”.
It’s looping back to itself? Location header is pointing back to itself.
Is it possible your backend is sending back an http 301 redirect back to caddy, which forwards it to your browser?
Possibly some old configuration on your backend from the letsencrypt beforehand? Can you check the logs from your backend and see what they’re sending back?
I’m assuming the request might replace the host with the IP on your reverse Proxy and that your next cloud backend is replying with a redirect to https://nextcloud.domain.com:443
Edit: I think this is the most incoherent message I wrote to date.
I think your reverse Proxy is forwarding the request to your next cloud, but replacing the Host header with the IP you specified as reverse Proxy. As a result the request arrives at your next cloud with the IP as “host”.
Your next cloud installation is then sending back a 301 redirect to tell the client that they should connect to https://nextcloud.domain.com. this arrives through caddy at your browser, goes through the same loop until you’ve reached the max redirects.
Have a look at your next cloud backend http logs to see what requests are arriving there and what HOST( http header ) it’s trying to connect to on that IP.
I looked into that at one point, but 15$/month is quite steep just for that ( imo )