3,958 karma · joined Apr 22, 2022 (4y ago) · 1,396 submissions
comment 19h ago · link · parent
Of course complete JMAP support would require more significant changes.
comment 1d ago · link · parent
And assuming that everything is as they say, the only protection it gives you is against law enforcement. Hackers with your passwords? They can see everything. Proton goes rogue? They can see everything. A lawful warrant? Proton has nothing to give them. That's the only benefit.
I find the privacy grift unfortunate because they are otherwise decent services.
comment 4d ago · link · parent
If you want actual support for your thinkpad, you need to pay the premium for on-site support. The pricing for 1-2 years is usually not that bad (relative to the price of a moderate thinkpad). The techs are hit or miss, but at least they come to your place with the parts (sometimes requiring 2 visits but it beats sending the laptop away for weeks/months).
comment 4d ago · link · parent
(the nag likely varies by region, time of day, your browser extensions, operating system, and moon alignement so ymmv)
comment 4d ago · link · parent
At best they (very) passively fight against third party clients connecting to their official servers.
At best they (very very very) passively fight against self-hosting the server by not providing elaborate guides and having the public repo lag behind production.
comment 4d ago · link · parent
It's not even hard to imagine why this is useful. Imagine you're sharing/streaming your screen and your password manager accidentally opens on the shared area.
comment 6d ago · link · parent
This isn't true! Just look at this thread, people suggest replacing nginx with newer but less widely used and less battle-tested software, as if they're superior alternatives or don't have RCEs in their own history: Envoy, caddy, traeffik, Qbix.
comment 1w ago · link · parent
comment 1w ago · link · parent
If you see a comment greyed out or dead comment, it's because fellow human users (or presumably third party bot farms) decided that it was ai/crass/boring/unrelated/wrong.
comment 1w ago · link · parent
Thus in some sense it's like purchasing stolen goods in real life. Sure it's a lesser crime than stealing it yourself. But doing so knowingly is still a crime almost everywhere.
comment 1w ago · link · parent
The second version is definitely clearer. It's unclear to me if the original tried to convey a nuance that is lost on me, or if it's really just ego-stroking, over-complicated, writing for the sake of it.
comment 1w ago · link · parent
comment 1w ago · link · parent
Fully supported by XMPP: https://xmpp.org/extensions/xep-0045.html
> audio and video support
Supported by some clients (usually over Jingle) but nothing standard AFAIK: https://xmpp.org/about/technology-overview/#jingle
> threads
Rooms can have multiple threads but I don't think they're used the way they are in discord/slack/etc.
> e2e encryption
XMPP has multiple ways. Currently the most widely used by clients is OMEMO https://xmpp.org/extensions/xep-0384.html
> etc
Whatever you can think of, XMPP supports it. Whether enough clients support it for it to be reliable is another question entirely!
(The XEPs I mentioned are considered "core modern" so most clients support them, you can browse through https://docs.modernxmpp.org/client/protocol/ to see what's considered the bare minimum for a full client)
comment 1w ago · link · parent
- php-fpm is easy, you can make the pool run as the domain's user/group directly
- nginx: you must add nginx's user (www-data) to the domain personal's group
The downside to this approach is that it's harder to reason about for someone unfamiliar with it and it's easy to misconfigure file permissions. There is also a limited number of extra groups a user can be part of before it becomes an issue (plus one fpm pool per user takes memory).
That being said the best massively-shared hosting system I've ever used was apache mpm_prefork with mod_php and mod_ruid2. It used as much(little) memory as a single user setup, it scaled to 10k users if you wanted, and file permissions were all naturally handled.
The way mod_ruid2 worked was to use linux capabilities to change the effective user/group of the apache process before serving the request, so it would run as the tenant's group and user, then switch back to nobody/nobody. It had very little overhead compared to things like mod_suphp and, more importantly, it also worked on static files and .htaccess!
The module has been abandoned and was never that popular so I always wondered if it was found to be exploitable or something... Thanks to Linux Capabilities an exploiter couldn't gain root, but as seen from the recent exploit apache's mod_php doesn't do a full cleanup so maybe there was leakage when the process was reused (but then that is solvable by limiting the requested to 1)
comment 2w ago · link · parent
So as much as people on this forum love to shit on it, PHP is already very fast and memory efficient.
The gains from the ongoing rust rewrite are (in order):
1. The author's ego-stroking
2. Claude's agentic capabilities show-case
3. Memory safety (to be confirmed)
comment 2w ago · link · parent
I wish that the implicit casting you describe only happened in the two first case. In your example PHP already knows that $foo is a hashmap, so I'd want it to keep '1' as is!
Unfortunately for all of us, for every person surprised by this behavior, there's someone who relies on it. So it'll never change.
Best we can hope is to have better array types eventually (no, the SPL isn't it).
comment 2w ago · link · parent
comment 2w ago · link · parent
I think it's clear that they don't want people to use their code and close the door behind them. They also clearly want clearer attribution. I'm sorry but if those are things you desire, then deliberately choosing MIT because of a GPL hate-boner was plain stupid.
comment 2w ago · link · parent
I was trying to say: If all the components in your stack are javascript-based, it makes sense that your RPC-API would also use UTF-16. It wasn't Microsoft pushing it for historical Windows reasons as GP implied, it was dictated by a JS stack they chose but didn't create.
comment 2w ago · link · parent
That one is explainable by the fact that it was developed for VS Code, a typescript/javascript project. Javascript uses UTF-16 for strings (for historical reasons unrelated to Microsoft, though they are the same reasons that made MS use UCS-2 during the same time period).