Show newer

@Acer yes that is correct, though not limited to LL... all collections forbid you to modify them while iterating over them.

In short, collection classes are **not** thread safe.

You can either synchronize yourself to insure you do not modify the list as your using the iterator or you can use the builtin utils that wrap a collection and allow it to be synchronized:

docs.oracle.com/javase/7/docs/

Though again, the approach your using is fundamentally flawed and wont work even once you fix the synchronization problem. Looking up elements in a linked list is expensive and thus if there is no way to directly access its point in memory from the hashmap you have defeated the whole purpose of a linked hashmap.

@Acer No, not efficiently.

But prev and next should work for writable linked lists.. what sort of error you get?

@Acer That should be simple. Just internally use a hashmap and wrap the elements you add to it with a link to next and prev elements and store the first and last elements explicitly. Then use whichever collection's method is fastest when accessing it.

Hello I'm Sparkins and this is my / to the fediverse!

I'm currently learning to program, just working through HTDP and then SICP











@mcduquesne

No one said you had to predict the climate millenia out.

We are evaluating if your expert on the topic of climate change. So what advances have you contributed to the field that demonstrates your expertise?

Even if its not an advance, have you shown any detailed analysis you posted somewhere on models, theories, or data that shows you have an intimiate knowledge of the current science of climate change?

I am asking you, why would you think your an expert enough to be able to form opinions in the first place?

The people you think are clearly corrupt to agree with the consensus are largely deep-experts on the topic, most have demonstrated their expertise by the quality of their past work... So again what do you have to show that would suggest you have enough expertise to even know how to critique the current science? What are your accomplishments that demonstrate your expertise? Are there any?

@icedquinn @realcaseyrollins @crunklord420 @commandlinekid

@mcduquesne

Years of study doesnt make you an expert, demonstrating understanding does... What have you published that has provided new or predictive insight to climate change that has been shown to be true?

Usually when people say "years of study" they mean "I read lots of opinion pieces and references to studies I didnt understand"... thats not expertise. Did you take the time to understand the math and data behind the current climate change theories you claim to disagree with?

In other words, how can you show you have expertise?

@icedquinn @realcaseyrollins @crunklord420 @commandlinekid

@mcduquesne

History of success and insight.. If you have made predictions on the topic in the past that are novel and have proven to be true by repeated application, or generally new insights or models, then your track record demonstrates you are an expert.

As with most things the proof is simply that you demonstrated it.

Einstein wasnt considered an expert until his theories actually turned out to be true, now today we see him as an expert. Few people think of him as an expert because of the degree he held, hell, most people dont even know what degree he held.

@icedquinn @realcaseyrollins @crunklord420 @commandlinekid

@mcduquesne

> A belief that those who know nothing about an issue should put preference into the opinions of credentialed individuals over the uncredentialled seems

Except I never said that.. I intentionally used the word "experts"... an expert is someone who has deep knowledge in something, it is entirely independent of if they have a credential demonstrating that expertise or not.

What I find telling, however, is that despite the fact that I never made even the slightest reference to credentials, instead using the word "expert" explicitly to include those without credentials in both your mind and Crunk's you appear to equate being an "expert" with being synonymous with "having credentials"... which is the very thing your trying to argue people shouldnt do, trying to argue I am doing even when I'm not.

You are literally doing the very thing you are trying to accuse me of, at least, subconsciously.

P.S. I also pointed out if one lacks the expertise themselves they should simply opt to not have an opinion. You seemed to miss that part...

@icedquinn @realcaseyrollins @crunklord420 @commandlinekid

@mcduquesne

No one, not even scientists, claim you should just blindly follow polls or consensus.

Obviously if you lack any expertise following the majority of those with expertise is really your only option short of simply not-having an opinion. But admiting your not smart enough to be able to form a useful opinion is a pretty wise thing to do.

Once you have expertise however the polls and consensus tell you where to look first, evaluate the studies and their strong and weak points, and form your own educated opinion. If you dont think the most popular interpritation is true via consensus then look at the next most popular. It provides a way to say "wow if everyone thinks this is legit maybe i should read it over and consider it"

But again, the vast majority of people arent experts able to evaluate or research anything. So in that case, unless your just a conspiracy theorist spewing nonsense, your likely not going to form a strong opinion at all and merely lean towards majority as the most likely due to lack of any other legitimate information.

@icedquinn @realcaseyrollins @commandlinekid

@crunklord420

Nope, you just continually hallucinate that I am talking about credentials everytime I mention "expertise" instead.. I correct you every time, but your not too bright on the up-take.

@icedquinn @realcaseyrollins @commandlinekid @mcduquesne

@crunklord420

No one said anything about education or credentials... You always seem to hear things that were never said in these conversations.

@icedquinn @realcaseyrollins @commandlinekid @mcduquesne

@mcduquesne

> "You need to do the research yourself"

Yes this is true.. **if** you are an expert who has years and years of study intimately on the subject so you are at all **capable** of doing the research.

Sadly most people who have "done their own research" dont just lack expertise, they dont even seem to understand the language of the studies or what any of them are even saying.

So yea by all means become and expert on the subject, do your own research, and use that expertise to reject or accept it... But if what you mean is read what some other idiots who know as little as you do think about a subject and then come to your own conclusions.. well yea... no, thats just idiocy perpetuating idiocy. It is also the more common of the two approaches.

@icedquinn @realcaseyrollins @commandlinekid

@anonymoose

Your first comment was actually of a similar nature of mine.. yes i simplified it to say billions of people drinking fluoridated water have not died, but this was meant to imply to the learned reader that more simply, we don't see death rates increasing when we start fluoridating water. My hope was the audience was bright enough to know what I meant.

@icedquinn @realcaseyrollins @commandlinekid

@commandlinekid

You: It's settled, Its fact, I saw proof once somewhere but I wont share it, I know a smart person who agreed with me once, its settled...

Me: ::waits for actual evidence as he reviews the mountains of peer-reviewed proof that disagrees with him::

@anonymoose @icedquinn @realcaseyrollins

@mcduquesne

Thats not entierly untrue, when you are proven expert on a topic and know far more about it than your average citizen then people are more likely to trust you. There are certainly cases where scientists have taken advantage of that trust. No one would claim a scientist is infallable.

The only difference is that there are far more non-scientists making absurd claims and just as willing to violate peoples trust, but because their idiots and not experts they just arent very successful.

In the end thats why you dont just evaluate a scientists expertise, but their track record as well. No one should suggest that you need to blindly accept anything any scientist tells you, but even less so should you trust some backwater hick trying to sell you nonsense either.

@icedquinn @realcaseyrollins @commandlinekid

@anonymoose

> But what about the billions of people drank fluoride in their water and are now dead?

You mean the fact that aft4er fluoride is introduced into a water system fewer people die than before... what about it? If anything it proves the opposite point, that fluoride is good.

Fluoridation of water was discovered because they saw statistically there was a town where people were getting sick far less often (mostly less dental disease). Which often leads to death, in other words people were healthier and they didnt know why. They traced it to their water supply which was naturally fluoridated. So they started implementing it in water supplies around the world intentionally and people died less and were healthier. The exact opposite of what you suggest.

> FWIW, I always get floride at the dentist, but I looked into this a while ago, and a small percentage of people really do have adverse reactions to floride

Yes a very **very** small percentage of people do react badly to fluoride. This is why I generally support unfluoridated water in terms of public supply. But that is hardly an argument that its bad for your average person.

@icedquinn @realcaseyrollins @commandlinekid

@commandlinekid

LLLAAAWWWLLLL

Scientist = "expert on a topic who has spent a life time studying it and understands it inside and out"....

Yea I can see why you would think scientists are the fraudsters... an expert on a topic makes it really hard to just make up random bullshit and have people buy it.

@realcaseyrollins @icedquinn

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.