Readit News logoReadit News
oseityphelysiol commented on Subprocess: Don't close all file descriptors by default (close_fds=False)   bugs.python.org/issue4273... · Posted by u/luu
jcalvinowens · 8 months ago
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.

oseityphelysiol · 8 months ago
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.
oseityphelysiol commented on Subprocess: Don't close all file descriptors by default (close_fds=False)   bugs.python.org/issue4273... · Posted by u/luu
oseityphelysiol · 8 months ago
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.
oseityphelysiol commented on Decline in teen drug use continues, surprising experts   arstechnica.com/health/20... · Posted by u/pseudolus
swores · 9 months ago
TL;DR: If fentanyl could be evenly dispersed in cocaine at a tiny percentage of the weight, there’s a theoretical reason for a dealer to add it. However, it’s likely rare and more often accidental.

I agree with kstrauser—most cases of fentanyl in cocaine are likely due to contamination from preparing multiple drugs in the same space. Accidental fentanyl poisonings usually involve people using other downers, like heroin or counterfeit benzos, rather than cocaine.

That said, there’s a theoretical motive for intentionally adding fentanyl to cocaine. While cocaine is highly mentally addictive, it doesn’t cause the same physical dependence as opiates. A low, undetectable dose of fentanyl could enhance the high and subtly increase physical dependence, potentially leading to more frequent use. It’s an unethical but plausible strategy for some dealers.

Regarding cost, fentanyl is cheaper than it might seem. While per-gram prices for cocaine and fentanyl are similar, fentanyl’s potency makes it far more economical in effective doses. A gram of fentanyl can be diluted across hundreds of grams of cocaine, making it cost-effective for someone aiming to enhance or manipulate their product.

The real challenges are: 1. Mixing: Distributing fentanyl evenly in cocaine is extremely difficult without specialized equipment. Uneven mixing could make some doses dangerously potent. 2. User safety: Even tiny, “safe” doses can become deadly when combined with alcohol, benzos, or other opiates, all of which are common among cocaine users.

In short, the risk and complexity of mixing fentanyl properly likely outweigh the benefits for most dealers. But that doesn’t rule out less ethical or less cautious individuals attempting it.

(I first wrote a too-lengthy reply of ~800 words as I'm too sleepy to write well atm, so I got ChatGPT to condense it which got rid of 70% - https://pastebin.com/raw/khm2VFxN )

oseityphelysiol · 9 months ago
Interesting how I could instantly tell that this was written by AI. CharGPT has a very distinguishable style and reasoning.
oseityphelysiol commented on In pre-WWII Berlin, the shape of your roof was a political decision   atlasobscura.com/articles... · Posted by u/amadeuspagel
octopoc · a year ago
Practicality aside, another major controversial opinion of the Nazis was that buildings should be beautiful. There's a lot of ugly communist architecture in Europe that shows which side won the war.
oseityphelysiol · a year ago
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.
oseityphelysiol commented on Cloud engineer gets 2 years for wiping ex-employer's code repos   bleepingcomputer.com/news... · Posted by u/el_duderino
oseityphelysiol · 2 years ago
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.
oseityphelysiol commented on Z-Library Returns on the Clearnet in Full Hydra-Mode   torrentfreak.com/z-librar... · Posted by u/bertman
oseityphelysiol · 3 years ago
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.

oseityphelysiol commented on Tesla Semi, a Deep Dive   evuniverse.io/newsletter/... · Posted by u/oxplot
oxplot · 3 years ago
Those whose opinion actually matter have done the math and put orders in to save them cost in the long run.

Of course, if right now, the load capacity or the range isn't applicable to one's business requirements, then Tesla Semi doesn't make sense. However, cost is often the biggest driver in any business. If a business can change things around to fit within the current constraints of the Semi, then they can do a cost-benefit analysis and Tesla Semi may then make economical sense.

oseityphelysiol · 3 years ago
I expect the current orders to be PR motivated.
oseityphelysiol commented on Ubiquiti vs. Krebs   courtlistener.com/docket/... · Posted by u/ghostoftiber
Someone1234 · 3 years ago
I'm on the same page. We just need to see a compelling alternative appear, and they'll lose their segment pretty quickly. Meraki could have been that until the Cisco acquisition and now $$$$ (and they make it extremely hard for SMBs/ProSumers to buy in). Some say that Aruba's "Instant On" stuff is one to keep your eye on as a direct replacement.

Ever since they fired their domestic development staff and shipped those jobs overseas it has been getting worse and worse. And it isn't because foreign developers cannot develop, it is because the company then and since has prioritized cost (and flash half-baked features) over quality.

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

u/oseityphelysiol

KarmaCake day90May 28, 2020
About
meet.hn/city/54.8982139,23.9044817/Kaunas

Socials: - github.com/KristupasSavickas - kristupas.me

---

View Original