Better HN
topnewbestaskshowjobs
Log inSign up

jodybruchon

5 karma · joined Jun 16, 2024 (2y ago) · 9 submissions

I'm not here to have a discussion. I'm here to tell you why you're wrong.
Submissions

comment 2y ago · link · parent

Not Java, as many think.

comment 2y ago · link · parent

POSIX and SUS both define only d_ino and d_name in struct dirent, so there's not really any legacy left. Everything beyond those two values is an extension by the implementation. I'm arguing that the implementation in Linux is fundamentally poor. They've actually changed the API for this in the past when they switched system calls from readdir to getdents.

3.

Linux Technical Debt: A Visual Explanation (Directory Entries/struct dirent)(youtube.com ↗)

5 points · by jodybruchon · 2y ago · 2 comments

comment 2y ago · link · parent

How the creators make money is neither my problem nor my responsibility.

comment 2y ago · link · parent

They make it freely available, so yes, as a matter of fact, I am. I also have total control of how my computer resources are used. Ad blocking is always ethical.

comment 2y ago · link · parent

I'm not robbing anyone by blocking ads. I control what my computer loads and processes. How others make their money is not my problem.

comment 2y ago · link · parent

This should be easy to defeat. YouTube videos are usually delivered as DASH streams and an ad would just send down a different fragment. Loading the video multiple times will load injected ads in different places but the core video segments will always be present. The differences could determine what's an ad and what's not. Detected ad segments can be added to a known ad bloom filter, correct segments could be added to a known valid bloom filter, or both.

8.

Stop using –long-command-line-options(jdupes.com ↗)

4 points · by jodybruchon · 2y ago · discuss

9.

Bring back struct dirent->d_namlen(jdupes.com ↗)

3 points · by jodybruchon · 2y ago · discuss