338 karma · joined Oct 1, 2018 (8y ago) · 170 submissions
comment 1w ago · link · parent
comment 1w ago · link · parent
4.
Distributed Ray Tracer(ray.hatchet.run ↗)
47 points · by juliusgeo · 1w ago · 15 comments
5.
Relentlessly Optimizing SIMD CSV Parsing(j-li.us ↗)
2 points · by juliusgeo · 2mo ago · discuss
6.
Show HN: Fastest(?) SIMD CSV Parser in Rust(github.com ↗)
1 points · by juliusgeo · 9mo ago · discuss
comment 10mo ago · link · parent
https://github.com/juliusgeo/csimdv-rs/blob/681df3b036f30c5a...
This is a good write-up on how the approach works: https://nullprogram.com/blog/2021/12/04/
comment 1y ago · link · parent
comment 1y ago · link · parent
¯\_(ツ)_/¯
> If people don't equally well suspect `eval` then education attempts have seriously failed.
Haha yes, that statement was mostly made in jest. I would hope most people would be just as suspicious of an eval one liner with a singular emoji. Does make it slightly less suspicious than an equivalent eval which doesn't have 50 invisible bytes.
Good shout on fixing issues with eval in OSS--I think I might do that!
10.
Smuggling Python Code Using Shrugging Faces(gist.github.com ↗)
3 points · by juliusgeo · 1y ago · 2 comments
comment 1y ago · link · parent
British Petroleum (total settlement was 20b, but the Clean Water Act penalty was only 5.5b): https://www.justice.gov/opa/pr/us-and-five-gulf-states-reach...
Wells Fargo: has had so many scandals, some of which were over 3b: https://www.justice.gov/opa/pr/wells-fargo-agrees-pay-3-bill...
In the article you linked, it mentions that this fine was 2.75b, or, 4% of Alibaba's 2019 revenue. I'm not knowledgeable enough in finance to state this as fact, but it looks like BP had a total revenue of 222B in 2015 [1]. 5.5b/222b = 2.47%. The total settlement would be 20b/222b = 9.01%
Now, obviously there are many examples of companies being fined paltry amounts for massive violations in the US, and I'm not sure how to reconcile 5.5b for destroying an entire ocean ecosystem vs roughly the same fine for anti-trust violations. But I don't think it's true that the US never enforces its laws against large and valuable companies. Do you know of any good sources that compare the history of corporate fines in China vs the US in more detail?
[1] https://www.bp.com/content/dam/bp/business-sites/en/global/c...
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
In 2005, tyre changes were disallowed in Formula One, therefore the compounds were harder as the tyres had to last the full race distance of around 300 km (200 miles). Tyre changes were re-instated in 2006, following the dramatic and highly political 2005 United States Grand Prix, which saw Michelin tyres fail on two separate cars at the same turn, resulting in all Michelin runners pulling out of the Grand Prix, leaving just the three teams using Bridgestone tyres to race.
[1] https://en.wikipedia.org/wiki/Formula_One_tyres#History
[2] https://en.wikipedia.org/wiki/2005_United_States_Grand_Prix
comment 2y ago · link · parent
1) Real heroin does not exist anymore in real life. All of it is varying cuts of fentanyl and research chemicals.
2) Your original comment asked the question “how many have died from oxy vs hepatitis”, which, along with your comments about heroin, made it clear that your knowledge isn’t up to date. It strains credulity to say that more people died of hepatitis than they did of the opioid they’re injecting into themselves regularly. Do you really think hepatitis is the root cause here? Or is it the proliferation of opioids much stronger than heroin. I’m sure you’ve heard of fentanyl and carfentanil, but there are entire other classes (such as Benzimidazoles) that have been rising to prominence in the last few years that are more dangerous.
3) I’m very anti DEA as well, and agree that prohibition kills. However, this is not simply a case of holding a manufacturer for a substance responsible. It’s what the Sacklers did after learning of the addictive power of these medicines that gives them culpability. It’s like a local bar serving someone even when they’re visibly drunk, which confers criminal responsibility if that drunk person later does something while under the influence. Making opiates == legal, being negligent == not legal. I wish we didn’t have a prohibition, and drugs could be acquired safely, but that doesn’t mean that the ends justify the means, and any drug manufacturer is automatically the good guy.
I just don’t think you’re approaching this subject with the care it deserves. It’s easy to make flippant comments blaming “Drug warriors” (genuinely confused what that even means—does that mean someone who is pro-prohibition?), it’s much harder to interact with the literal decades of research about this topic, and magnitudes harder to actually experience these things yourself. If you’d like a starting point, I found this report to be pretty approachable: https://www.rand.org/pubs/research_reports/RR3117.html. However, I wouldn’t be surprised if posing questions the way you have elicits emotional reactions from those who know people who have died. I lived through the first wave of fentanyl in the US, but I know quite a few who didn’t. Based off what i’ve been able to pick up out of all the vitriol, I think we would likely agree about the policy decisions, but your approach of making simplistic comments and then calling people evil based off of their response seems like an ineffectual strategy. And maybe it isn’t, but then you’d have solved the drug crisis already, right?
comment 2y ago · link · parent
comment 2y ago · link · parent
25.
International Obfuscated Python Code Competition 2024: Submissions Open(pyobfusc.com ↗)
2 points · by juliusgeo · 2y ago · discuss
comment 2y ago · link · parent
comment 2y ago · link · parent