Hacker Newsnew | past | comments | ask | show | jobs | submit | oseityphelysiol's commentslogin

79$ is not “high end”. 5G enabled router would cost twice as much - for a feature that not everybody will need.


Of all the quirks with process spawning in posix keeping file descriptors open is the most problematic one I encountered. This bit into my ass while implementing a C library to have proper process spawning and stdio handling in LUA. I really wish file descriptors were non inheritable by default.


> I really wish file descriptors were non inheritable by default.

In Python 3.4, they are (released ten years ago).


But in POSIX, they are not, so any module implemented in C is still potentially problematic.


Only if that C-implemented module uses raw C to create file descriptors. And if the module has not gotten an update in the past ten years to fix the problem.


This can help: https://man7.org/linux/man-pages/man2/close_range.2.html

    close_range(3, ~0U, CLOSE_RANGE_UNSHARE);
    execve(....);
...but it's not very portable yet.


I’ve never heard of it before. I work in an embedded environment where kernel version is known beforehand, so portability won’t be an issue. Thanks.


Interesting how I could instantly tell that this was written by AI. CharGPT has a very distinguishable style and reasoning.


That's why I included a pastebin link of my original reply that I asked it to summarise - I hate when people comment "here's what ChatGPT thinks on this subject", but hoped people wouldn't mind a lazily-shortened version of my own writing!


Please elaborate.



Look up stalinist architecture if you think communists can’t build beautiful buildings. For peak capitalism, look no further than Art Deco. My point is that this is a difference between pre-war and post-war construction and is seen in all regions, across all political ideologies and economic systems. The ugly communist buildings you speak of were born out of necessity, due to chronic shortage of housing, a rise in fertility and urbanisation on a scale never seen before, much the same way as the urban catastrophe that is suburbs in the US.


No. They liked it that way, and thought "beauty" was bourgeois.


I would wonder what would happen whenever I was frustrated and now I know, thanks. I'll look for a new intrusive thought to have as a coping mechanism.


How did they take it down the domain last time? Was it by picking on the registrar?

In my country they so this by asking all the ISPs to block the domain from their DNS servers. This works for 90% of the population, but all you have to do is just change the DNS server to something other than what the ISP gives you and you’re good to go.

Also, I just don’t get how current approach is any better. As far as I understand, there’s still a single point of failure, i.e. the site you get your “personal” domain from.


I'm honestly shocked no one has openly laughed themselves silly at the idea of "personalized domains" for a site openly engaging in piracy... because surely that wouldn't be a way to build a stronger case against individual users engaged in piracy, riiiiiight?


Depends. If the database that contains those domains and the account they are linked to is obtained by whatever law enforcement agency gets them, than sure. But the network of torrent piracy detection doesn’t work for this situation so it requires that database to be seized. It is also possible the information is not stored after it is processed. Because copyright trolls can’t get the information like they do with torrents either, they can’t easily send bullshit threatening notices to end users, and it is extremely doubtful that the FBI is going to provide linking information for individual prosecution. I don’t believe there is any example of that, though I’d be interested to hear otherwise.


I have heard of people using throwaway emails and VPNs for this sort of stuff!


you can get the personal domain from tor and then use the domain on the regular net.


I expect the current orders to be PR motivated.


Hard to tell, but given Tesla's historic record, demand for their products has only ever increased (discounting the current China situation which most likely has nothing to do with disparity between PR and actual product perf).


What's the "China situation"?


No-one shipped jobs overseas. m of the teams at UI have always been and remain located in the EU.


Fun fact, Ubiquiti started here (it’s not a Lithuanian company though). Another big one that’s founded and manufactures all it’s stuff in Lithuania is Teltonika. They make telecommunications equipment (mostly LTE based wireless modems).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: