Readit News logoReadit News
fhood commented on Rust data structures with circular references (2021)   eli.thegreenplace.net/202... · Posted by u/thunderbong
worik · a year ago
> Now suppose we want to add a parent link to every node.

Don't.

You do not need to.

Rust does stop you creating self referential structures (easily)

In the case of a binary tree that is not a problem

There might exist some specialised case where there is no more memory to allocate at run time, but in the common case it is more efficient in every respect to use algorithms with your data structures and dispense with back links

I have been working on a C program built by a (mostly brilliant) programmer that put back links in every structure (parent links in trees, doubly linked lists) and the waste of resources, in a constrained environment, is frustrating

Just don't

fhood · a year ago
I think it's best to think of this as a good toy example, and not get caught up in the specific utility of a "parent" node.
fhood commented on Don't Join Threads – Make Threads Join You   wired.com/story/meta-thre... · Posted by u/arkadiyt
fhood · 2 years ago
And here I was, innocent, excited to read about a new paradigm for thread management, and wondering why I never knew that wired ran articles that technical.

Now I am cynical and jaded. My disappointment is immeasurable and my day is ruined.

fhood commented on The Curse of Recursion: Training on Generated Data Makes Models Forget   arxiv.org/abs/2305.17493... · Posted by u/indus
fhood · 2 years ago
I am in way over my head here, so I wasn't able to tell if the authors addressed this, but my intuition is that this should be somewhat mitigated so long as people are providing the filter between which results are discarded and which might end up back in the training pool.

I would think that the human selection process would help to head off this conversion, both by selecting against incorrect results, and also by introducing variance outside of the model. On the other hand since a person can only act as a filter, I can also see how that would be of limited value long term.

fhood commented on A Good Fountain Pen Lets You Enjoy the Finer Things in Life (2022)   wired.com/story/lamy-2000... · Posted by u/axiomdata316
fhood · 2 years ago
I used to love fountain pens, they feel amazing to write with, and the variable line thickness makes everything look awesome.

They are also a massive pain, the higher end ones use gold alloys for the nib, making it delicate, if they aren't used enough the ink dries in the nib, they tend to get ink everywhere, and they can be really inconsistent.

fhood commented on Mercedes EVs can go faster for $60 a month   cnn.com/2023/04/27/busine... · Posted by u/ezconnect
1827163 · 2 years ago
Does Mercedes understand this is destroying the reputation of the brand? This practice needs to be made illegal and an exception made to the DMCA specifically legalizing attempts to bypass it. Bypassing such measures absolutely should not be a felony.
fhood · 2 years ago
Mercedes, Audi and BMW destroyed their reputation for anyone paying attention a long time ago by producing expensive, unreliable cars that aren't even remotely cost effective to keep running.

Plastic timing chain guides, FFS.

If purposefully building engines that grenade themselves at 80k miles wasn't enough, then it's hard to imagine what would be.

fhood commented on The stick shift might survive the electric revolution   robbreport.com/motors/car... · Posted by u/rntn
vouaobrasil · 3 years ago
I love driving stick and I've done so with all my cars...but I'm okay seeing it go. I'd prefer the options to be more environmental, and there are other joys in life. It's not good to be attached to such things.
fhood · 3 years ago
It's really stupid, but you can't tell me that the idea of a manual electric doesn't appeal to the less rational parts of your subconscious.
fhood commented on “Negative/hate tweets will be max deboosted and demonetized”   twitter.com/elonmusk/stat... · Posted by u/acoustics
lapcat · 3 years ago
> Tesla used to be a status symbol. Driving one meant you were forward thinking, that you were on the bleeding edge, and probably conscientious about the environment.

I hate to break it to you, but generally only other Tesla owners feel that way. Otherwise, I doubt the public does. In fact, I personally feel the opposite, that's it's a symbol of a "techbro".

fhood · 3 years ago
Could we avoid participating in this? The price hikes were pretty brutal, but tesla and their charging infrastructure are still at or near the top of the list when it comes to electric cars that you can actually purchase, at least from the perspective of someone looking to replace their ancient mazda in the next year or so.

Also people don't deserve to be judged by their car unless it is a modern german luxury car in which case they obviously are the kind of person who makes bad life choices.

fhood commented on “Negative/hate tweets will be max deboosted and demonetized”   twitter.com/elonmusk/stat... · Posted by u/acoustics
hn_throwaway_99 · 3 years ago
I'm certainly not a fan of how Musk has handled the Twitter takeover, but this sentiment, "New Twitter policy is freedom of speech, but not freedom of reach", seems highly reasonable to me, no?

That is, what I find so awful about most social media (and places like YouTube) is how they focus on some of the most anger-inducing content for "engagement". That is, I think the problem is much more their algorithms than what people actually post.

That said, I think that, realistically, being at the bottom of the heap won't actually be much different from being banned - which I actually think is a good thing.

fhood · 3 years ago
I'm actually really pleased with how well youtube avoids serving you rage bait once you have made it clear to the algorithm you aren't interested.
fhood commented on Leaked documents outline DHS’s plans to police disinformation   theintercept.com/2022/10/... · Posted by u/amadeuspagel
akira2501 · 3 years ago
> Would you say that any government official who advocated for the repeal of the 18th Amendment was violating their oath of office to defend the constitution?

Yes. Just because you happen to agree with them is not an excuse. The constitution belongs to the States and is ratified solely by them, not the Federal government.

A federal official advocating for constitutional changes from the position of their office is wrong to do so.

> It seems imperative that government officials

It is imperative that legislators do. Administrative officials are not given power to make law. They are required by the due care cause to follow it. They have no cause offering official opinions on these matters.

fhood · 3 years ago
As a rule, can we avoid dealing in absolutes? Implying that the FDA should have no input whatsoever on laws regarding food safety regulation seems a little odd given that they would represent 90% of the relevant experts.
fhood commented on FCC: TikTok is unacceptable security risk and should be removed from app stores   blog.malwarebytes.com/pri... · Posted by u/scanr
627467 · 3 years ago
> this data collection done by a foreign government and exploited for surveillance or espionage is a national security risk.

How were Snowden revelations of USG<>Bigtech relationship materially different from what's happening here? Maybe it was less transparent?

Any "woke" person can see the cognitive dissonance here. It's all fine that you use the geopolitical rivalry argument but not if you try to paint one side of the argument as "free" and "liberal" and "subject to rule of law" when it's clearly not the case

fhood · 3 years ago
Who would you rather give a theoretical copy of all of your digital information? Assuming both have equal access to non-digital you.

u/fhood

KarmaCake day3425February 26, 2016View Original