towerful

joined 1 year ago
[–] towerful@programming.dev 22 points 4 months ago (4 children)

It's more than just views. It's rewatches, binge watches, complete vs interrupted episode watches, probably even time skips.
Likely also where the view comes from, like a specific search vs general recommendations vs targeted recommendations

[–] towerful@programming.dev 2 points 4 months ago

Supabase is a dockerised postgres with user auth, rest API and some other goodies. It's maybe too complicated as a starter.
Appwrite might also work for ya. Much easier to get into, but also less feature complete.
Pocketbase might also work. Haven't used it tho

[–] towerful@programming.dev 1 points 4 months ago (1 children)

You mean like a mortgage?

[–] towerful@programming.dev 8 points 4 months ago

Didn't the kinda do that in Behind The Curve?
They used a long body of water as a flat reference, set up 3 columns with a hole through them at the same height above the water reference.
A torch shone through 1 end should be visible at the other end if all of the holes are on the same plane.
Because of the curvature, they had to lift the last column to be able to see the light.
They didn't manage to explain that one

[–] towerful@programming.dev 2 points 4 months ago

I don't. But the person I replied to said they were having trouble with Linux on a surface.
So, that's a project dedicated to Linux on surfaces. I would presume they had tried the usual distros and found them lacking

[–] towerful@programming.dev 27 points 4 months ago (5 children)

I always figured the role of president was more of a figure head.
I get the buck stops with them, they can do their veto and special powers thing, and I'm sure there are other "ultimately this is your decision" type things.
But it's the administration you are voting on.

I'm sure it feels amazing to have "that one guy" steering your country. But, I'm sure they mostly do what their advisors tell them to

[–] towerful@programming.dev 5 points 4 months ago

I remember during COVID, trying to reduce my bills. Called my mobile operator. For £200 fee I could buy out early, and pay £15 per month. Or I could continue paying something ridiculous like £60 per month.
Absolute no-brainer, and I would never get a contract phone again.

[–] towerful@programming.dev 5 points 4 months ago (1 children)

The cheap Chinese stuff often uses knock-off ICs tho.
They can be fairly difficult to detect, and will work for a short time or under very light loads. But they will be nowhere near the spec of the data sheets.
They might massively overheat, not provide the correct currents or voltages, run at lower speeds. All sorts of corners being cut to turn a $2 IC into a 50¢ IC. Or a 50¢ ic into a 5¢ one

So yeh, might be the same PCB layout inside, it might visually look the same (or very very close) but the parts are likely to be counterfeit.

Of course, it's also probable that name brands might be hit with counterfeit parts inside as well. Hopefully their QA picks that up

[–] towerful@programming.dev 3 points 4 months ago

Any good RPG has a solid fishing mini game tbh

[–] towerful@programming.dev 5 points 4 months ago (1 children)

Larger sites cater towards scriptless web for accessibility requirements.
Smaller sites don't need SPA, so will most likely work to some degree.
The better (not necessarily bigger) blog systems will use scripting for fancy things, but will have fallbacks and will still work.

It's the middle tier web-app (and sites that want to be a web app but have no reason to be) that will run SPA without any fallback. You know, the ones that want to send notifications and know your location and all that fun stuff.

[–] towerful@programming.dev 2 points 4 months ago* (last edited 4 months ago) (1 children)

You can do reverse proxy on the VPS and use SNI routing (because the requested domain is in clear text over HTTPS), then use Proxy Protocol to attach the real source IP to the TCP packets.
This way, you don't have to terminate HTTPS on the VPS, and you can load balance between a couple wireguard peers so you have redundancy (or direct them to different reverse proxies or whatever).
On your home servers, you will need an additional frontend(s) that accepts Proxy Protocol from the VPS (as Proxy Protocol packets aren't standard HTTP/S packets, so standard HTTPS reverse proxies will drop them as unknown/broken/etc).
This way, your home reverse proxy knows the original IP and can attach it to the decrypted http requests as x-forward-for. Or you can do ACLs based on original client IP. Or whatever.

I haven't found a way to get a firewall that pays attention to Proxy Protocol TCP headers, but I haven't found that to really be an issue. I don't really have a use case

view more: ‹ prev next ›