1. Ghideon

Senior Members

2

1751

2. J.C.MacSwell

Senior Members

2

4436

3. iNow

Senior Members

1

21997

4. Curious layman

Senior Members

1

469

Popular Content

Showing content with the highest reputation on 06/30/20 in all areas

1. 1 point

Should Police Departments Be Given More Money?

The training point is about more than just "recertification" each year being only 5 hours. The US also badly fails up front in preparing cops for their jobs in the first place. https://work.chron.com/long-train-cop-21366.html https://www.theatlantic.com/international/archive/2020/06/america-police-violence-germany-georgia-britain/612820/ The rest of that 2nd article from The Atlantic also has good ideas on how to begin repairing our broken system.
2. 1 point

Thanks Alex
3. 1 point

Explained - What is Scientific Chaos Theory?

Here is the spreadsheet. I have calculated enough iterative values for different values of lambda {2, (1+√5) ,4} and starting values {0.35, 0.40, 0.45.} It can be seen that lambda =2 quickly converges, lambda = 4 displays the famous 'frequency doubling between two values' and lambda = 4 results in a chaotically varying result. I have appended the spreadsheet for anyone who wants to play with it. chaos1.xls
4. 1 point

Why does my array lose False/empty variables?

Hey everyone, hope you are doing fine in these tumultuous times! Edit: I found my mistake: I used 'if' instead of 'elif', therefore the code executes: is r larger than 2, if not, ArrayB = Array (which is the original array of length 10). I have the following code, what I don't understand is that without the 'if r > 2:' part of the code, len(ArrayB) will be 20 in both cases (r =2) but with this piece of code, which is not running, len(ArrayB) becomes 10 (= losing False variables). I don't understand how why this piece of code affects the rest of my code, when r is not larger than 2? I am running python 3.8 in Pycharm r = 2 Array = [0,1,2,3,4,5,6,7,8,9] if r < 1: ArrayB = [1] * int(r*len(Array)) Const = len(Array)/len(ArrayB) for i in range(len(ArrayB)): ArrayB[i] = Array[int(i*Const)] if r > 1 and r <= 2 : ArrayB = [False]*int(r*len(Array)) for i in range(len(Array)): ArrayB[int(i*r)] = Array[i] print(len(ArrayB)) # First len(ArrayB) print(ArrayB) # First print(ArrayB) # if r > 2: #Uncomment this part and len(ArrayB) afterwards becomes 10 # print('r is bigger than 2') # ArrayB = [False] * int(r * len(Array)) # for i in range(len(Array)): # ArrayB[int(i*r)] = Array[i] else: ArrayB = Array print(len(ArrayB)) # Second len(ArrayB) print(ArrayB) # Second print(ArrayB) output with all code active: 20 [0, False, 1, False, 2, False, 3, False, 4, False, 5, False, 6, False, 7, False, 8, False, 9, False] 10 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] output without if r >2: code: 20 [0, False, 1, False, 2, False, 3, False, 4, False, 5, False, 6, False, 7, False, 8, False, 9, False] 20 [0, False, 1, False, 2, False, 3, False, 4, False, 5, False, 6, False, 7, False, 8, False, 9, False Thank you for your time! Edit: problem found, if statements should be elif - Dagl
5. 1 point

Should Police Departments Be Given More Money?

Hi Alex, I think the USA could learn something from the North European countries. Your proposals are very much in line with what I know of the police in the Netherlands, Switzerland, and probably also the Scandinavian countries. Try 'the norden - police' on Youtube (24 Minutes; the part about Prison might be interesting too).
6. 1 point

Should Police Departments Be Given More Money?

That's the whole point of "defund the police" - they are not trained for many of the jobs they are being asked to do, and money would be better spent on people trained to do those jobs. And we run into problems when people trained in the use of guns are asked to do jobs where guns are way down on the list of solutions to the problem. (When all you have is a hammer, and all that). You use the money to hire people trained for these other tasks. That way, fewer police are needed. Your bit about specialization points to this. I was reading recently how this has already happened. Once upon a time police were summoned for medical emergencies, and transported people to the hospital. But police are not trained to deal with medical emergencies. When we replaced police and police cars with EMTs and ambulances, we got a better result. https://twitter.com/JamieFord/status/1272273637173637120 "Defund the police" is applying that same rationale to other aspects of what is now police work. Don't send untrained people with guns into situations where guns won't help, and might make it worse. Send people trained in that particular situation. (BTW, I do more than 5 hours of training per year as a federal employee. If police aren't doing more than 5 hours then that's a broken system)
7. 1 point

Colored Lights

Incandescent sources, like the filament in a light bulb, are very 'dirty'. The light they emit spans a range of wavelengths/frequencies, in a 'lopsided' Gaussian distribution, peaking at the wavelength/frequency characteristic of the temperature of the filament ( see black body radiation curves ). What you want is an emission which is characteristic of a specific energy difference, which will give only that specific energy ( frequency/wavelength ). LEDs are one such source, as they emit light at the characteristic energy of their band gap, and are readily sourced in differing colors. Lasers would be another source, as they emit light based on electron orbital transitions ( again a specific energy difference), but are a little harder to source.
8. 1 point

Explained - What is Scientific Chaos Theory?

I'd be embarrassed to admit how many hours i've wasted in the tub thinking about that one... (in my defence...never an hour at one time)
9. 1 point

John's TOE

Everything copied and pasted. Thanks
10. 1 point

Javascript error

The error is caused by an outdated Truffle and inconsistent Solidity version not returning the expected JSON result to putBalance. The tests themselves are not written in JavaScript. You are better off learning the latest versions of Truffle and Solidity . $sudo apt-get update$ sudo apt-get install nodejs $sudo apt-get install ethereum$ sudo apt-get install geth $sudo npm install -g truffle$ mkdir MetaCoin $cd MetaCoin$ truffle unbox metacoin //Open a seperate terminal and run $cd MetaCoin$ testrpc //Back in the original terminal \$ truffle test
11. 1 point

Case for axion origin of dark matter gains traction

The axion field rapidly runs over the potential barriers and eventually begins oscillations when sufficiently slowed down by friction. Credit: Co & Harigaya https://phys.org/news/2020-06-case-axion-dark-gains-traction.amp
12. 1 point

Does Gödel's Incompleteness Theorems means 2+2=5?

Totally agree. +1. Nobody understood division by zero here, except you, @ahmet. Plus the question, has been satisfactorily answered, I think. Unless the OP has any further question. To me, end of story. Edit: Unless you have any further comments on how Gödel's theorem could imply that we can prove 2+2=5, in which case, I unrest my case. Edit 2: It seems the OP made a mistake in the title. They meant, I think, ¿Can't we prove (from Gödel's theorem) that 2+2=4?
13. 1 point

Psychiatry Does Not Exist or Should Not Exist

This is a poorly worded argument. Come on, you can do better than this. Of course it EXISTS, it's here, it's a real thing, despite what you might think about its efficacy. Your argument is trivially proven false. Whether it should be taken seriously as a study is what you're really talking about. The fact is, MANY people have been helped by psychiatry. I can EASILY provide many citations supporting this argument. That some didn't get help doesn't mean it should be "dismantled". Would you dismantle Alcoholics Anonymous just because it doesn't work for some people?
14. 0 points

Should Police Departments Be Given More Money?

His name is Jocko Willink (I spelled his last name wrong). Here is the video. The part about training starts at 2:30.
15. -2 points

Newton (centuries ago) has 3 laws of Motion: LAWS - I say again: L A W S, which are incontrovertible. Darwin (more than a century ago) had a notion which is NOT a law of ANYTHING - meaning he was like my uncle who had a notion he could fly. Both of these dudes are DEAD! My uncle left a wife and four children. Darwin left confusion and hope amongst those who refute/doubt Creationism. Whether it was a God, gods, cottage cheese or a yield sign everything on Earth was created. The purpose: I have not the foggiest! Dogma? I give it little credibility as it is the creation of man
16. -3 points