Better HN
topnewbestaskshowjobs
Log inSign up

dabacaba

219 karma · joined Apr 21, 2024 (2y ago) · 23 submissions

Submissions

comment 1y ago · link · parent

The disadvantage of those methods is that they require installing custom software, and they don't work on mobile devices unless you put them behind a router with custom firmware. In contrast, DoH works out of the box on most operating systems, and hopefully ECH will work as well.

comment 1y ago · link · parent

DoH does wonders against ISPs which filter DNS traffic (including traffic to third-party DNS servers). This happens more often than many people realize. My ISP blocks traffic to a couple of random websites (perfectly safe and legal) just because their security system doesn't like them, and they can't do anything about that. I only wish for more websites to deploy ECH, because they are using SNI filtering as well.

3.

My Colleague Julius(ploum.net ↗)

599 points · by dabacaba · 1y ago · 127 comments

comment 2y ago · link · parent

In Rust, if expressions are not place expressions. In the example, arr_ref is a reference to a temporary, not to an array element. In Rust, it is possible to take an address of any expression, but taking an address of a value expression will produce an address of a temporary.

5.

Cory Doctorow: Unpersoned(locusmag.com ↗)

20 points · by dabacaba · 2y ago · discuss

comment 2y ago · link · parent

I understand that some people prefer a dark theme. What I don't understand is why do some people think that everyone must prefer a dark theme, so they set up their websites to always use a dark theme, regardless of the browser preference?

At least, this website lets you switch to a light theme. But if you do, inline code fragments still use a background color from the dark theme, which makes them practically unreadable. Looks like the author doesn't care about people who prefer a light theme. Then why they complain about websites made by people who don't care about people who prefer a dark theme?

comment 2y ago · link · parent

(2018)

8.

Sextortion scam includes new threat of Pegasus–and a picture of your home(malwarebytes.com ↗)

13 points · by dabacaba · 2y ago · 4 comments

comment 2y ago · link · parent

Says someone who can't even spell "don't" correctly. Though this doesn't really bother me at all.

comment 2y ago · link · parent

If you can use Firefox, it allows you to create multiple "containers", each with its own set of cookies and other state. You can create a separate container for each Okta login, then you can be logged into all three accounts simultaneously.

Also you can create a separate browser profile for each account. This works with all browsers but is less convenient, because it forces you to have a separate browser window for each profile, and also you need to enter all preferences for each profile separately.

comment 2y ago · link · parent

Project Euler

comment 2y ago · link · parent

Usually SSO means that you have to login just once to access all of your accounts. If it requires you to login multiple times a day then something is not configured correctly.

comment 2y ago · link · parent

Mallory-in-the-Middle

comment 2y ago · link · parent

It's a fairly old trick.

https://arstechnica.com/information-technology/2022/03/behol...

Solution: configure your browser to force new windows into new tabs. Also, if you are using an unpopular OS, they probably won't bother to copy the window style.

comment 2y ago · link · parent

Also you can type f?? to get the source code of f.

comment 2y ago · link · parent

That's why I always set up my browser to force new windows into new tabs. I think that it should be the default. Web pages shouldn't be able to open new windows, and certainly not to manipulate their size and position, this is too much of a security risk.

comment 2y ago · link · parent

Sharing Python objects between processes is not safe. Python assumes that access to objects is protected by GIL, but this is not the case when using multiple processes (even if the processes only read from the objects, they still modify the refcounts). Sharing memory buffers can be done safely using mmap.

comment 2y ago · link · parent

I have my email client configured to display messages as plain text. A large fraction of emails that I receive have a text part that is empty or has some placeholder text. Also, senders often generate the text version by taking the HTML version and just stripping all tags, which means that all links are removed. I wish I could configure my client to ignore the text part completely, and instead to convert the HTML part to plain text, which is what it is doing already if there is no text part.

comment 2y ago · link · parent

This link was already posted three times:

https://news.ycombinator.com/item?id=39877496

https://news.ycombinator.com/item?id=39849944

https://news.ycombinator.com/item?id=39846010

20.

The Jitter Bug Part 2(hackerfactor.com ↗)

1 points · by dabacaba · 2y ago · discuss

21.

Evanescent Field(en.wikipedia.org ↗)

1 points · by dabacaba · 2y ago · discuss

comment 2y ago · link · parent

Minor issue: sometimes several "countries" (not actually countries, but dependent territories) have the same flag, but the game only accepts one answer as valid.