Better HN
topnewbestaskshowjobs
Log inSign up

tredre3

3,958 karma · joined Apr 22, 2022 (4y ago) · 1,396 submissions

Submissions

comment 19h ago · link · parent

Thunderbird supports IMAP and POP3 already. Its newsgroup support is also an abstraction that mostly shares the same email code path. Basic JMAP support can be added extremely easily (I looked into it myself).

Of course complete JMAP support would require more significant changes.

comment 19h ago · link · parent

And the newly announced Kagimail.

comment 1d ago · link · parent

Yes Proton does in fact see all your mails in clear. Yes we have no guarantee that Proton doesn't log e-mails as they enter their systems in clear (except occasional and planned audits). Yes, the other side will be stored in clear in the sent folder. Yes Proton serves you the apps so they could add code to see your clear email/key at any moment.

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 1d ago · link · parent

Kagimail is a separate product from search. $99 is for mail only, no search.

comment 4d ago · link · parent

Lenovo phone/email/chat tech support is indeed horrible to the point of being useless.

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

I don't like Apple, and maybe you were just using the slippery slope argument. But let's be clear: your apps don't get disabled when you travel in a country where they're not available.

comment 4d ago · link · parent

Google is less aggressive on mobile browsers, as well as on Firefox in general (I still see it there occasionally). But try going to google.com in any Chromium-based browsers on a desktop PC and you'll see this: https://ibb.co/xt3V26mQ

(the nag likely varies by region, time of day, your browser extensions, operating system, and moon alignement so ymmv)

comment 4d ago · link · parent

Unless you have some examples, both your statements seem false.

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 also possible on Windows (SetWindowDisplayAffinity). What you call a restriction that takes control away from the user's control is actually an important security feature and Wayland will hopefully implement it (with user control I'm sure).

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 4d ago · link · parent

> There does not exist such implementation as of now as OpenSSL was good enough

A fair amount of such implementation do exist.

comment 6d ago · link · parent

> But when newer software has the same vulnerability, you do not see the same kind of comments.

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

Rust doesn't even have an async runtime in its standard library, despite async being part of the language. They believe increased reliance on third party dependencies is better for the ecosystem. Things like supply chain risks or disparate documentation or conflicting dependencies or enormous .cargo are seen as less of a problem than having a built-in API that could go stale one day.

comment 1w ago · link · parent

As far as we all know there is no auto-flagging of content on the backend based on pangram (or similar) detection.

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

I suppose part of the issue is that you're knowingly and willingly use/buy code that you know to be stolen. There doesn't seem to be any ambiguity in your mind, you used the word "stole" yourself.

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

zurfer posted the original quote, nostrebored's faux-quote is the rewritten version.

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

HTTP supports negative ranges, so you can request the final 64KB and scan it. If you don't find the Central Directory (unlikely unless the zip contains 10k files and/or lots of comments) then you just request another 64KB.

comment 1w ago · link · parent

Covid-19, 7 million is the current official figure (excluding indirect deaths).

comment 1w ago · link · parent

Cinnamon definitely mimics classic Windows... That's essentially its entire point.

GNOME is the mishmash of macos and, like you said, mobile design.

comment 1w ago · link · parent

You're not looking at the full picture. Of course customers ultimately won't be responsible. But they might have to spend weeks/months/years fighting multiple systems for those accounts/charges/debts to be removed from their names. And just when you think it's solved, there's another one! Anyone who's been through this will tell you that it's very stressful and time consuming, unfortunately.

comment 1w ago · link · parent

> public/private rooms

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

There is a way nginx/fpm to host multiple domain where each domain has its own user and group and they maintain 0750 permissions so they can't see eachother but nginx and php can both access them:

- 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

You're comparing the rust rewrite of a web-based desktop application with the rust rewrite of a compiler+interpreter/jit. The former improves things by removing 12 layers of abstraction and an entire browser engine. The latter, not so much, it's already bare-metal.

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

Internally PHP has three distinct array types (the distinction is mainly for optimization purposes, it doesn't enforce anything): Regular arrays (continuous numeric keys), sparse arrays (all keys are integers but there can be holes) and hashmaps (anything goes).

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

It works the other way too! People don't know that 3 or 2 bits can still be good because they've read the hivemind's opinion that <4bit is unusable trash and they've never experimented themselves. The reality is a lot more nuanced than that, especially for models as large as 284B.

comment 2w ago · link · parent

MIT isn't copyleft and it does require attribution, it's basically the only requirement of it. I guess they just don't like that attribution means "put the license snippet deep in a secondary readme file hidden somewhere, along with 50 other licensees used in the project".

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

Absolutely, UTF-16 is bad and inexcusable in most contexts. Perhaps you misinterpreted my comment or I wasn't expressing myself properly.

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

> They did it again to LSP, and that was in 2016.

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).

comment 2w ago · link · parent

"It isn't vibecoded, it's vibe-pruned!"

That's an interesting distinction. A distinction without a difference in my opinion, but a distinction nonetheless!

12345
47