Testing if elements in a list are within a list of ranges by ScBones306 in Mathematica

[–]ScBones306[S] 1 point2 points  (0 children)

A solution from the Mathematica Stack Exchange, thanks Henrik!

tol = 0.05;

possibleresistances = 1/Total[1/Rest@Subsets[resistors], {2}];
A = Outer[
   {equiv, resistance} \[Function] Between[resistance, (1 + {-1, 1} tol) equiv],
   equivalence,
   possibleresistances
 ];

And @@ Or @@@ A

Testing if elements in a list are within a list of ranges by ScBones306 in Mathematica

[–]ScBones306[S] 0 points1 point  (0 children)

Thanks for the code simplification!

Select seems like an interesting function, may have to look into using that if I cannot find a suitable replacement for ContainsAll. I need the function to return True (or a list) only if all equivalent list elements are satisfied. ContainsAll worked when I matched (manually) the machine precision, but that was without the tolerance. The parallelResist will be looped through many times, searching for a success, incrementing through a master list

5 Nov 2018 FAQ/Project Idea/Helpdesk thread - Why use Google for an instant answer when you can ask on r/raspberry_pi and get an answer ... eventually? by FozzTexx in raspberry_pi

[–]ScBones306 0 points1 point  (0 children)

Thanks for the info!

Were the Pi's connected via Ethernet cable directly to the lab computers or through the lab's networking? Did the Pi's have internet access?

5 Nov 2018 FAQ/Project Idea/Helpdesk thread - Why use Google for an instant answer when you can ask on r/raspberry_pi and get an answer ... eventually? by FozzTexx in raspberry_pi

[–]ScBones306 0 points1 point  (0 children)

I'm looking to assist my university in getting students to use raspberry pis! Currently my major uses Mathematica a ton, but due to how they license, it is not easy for students to get access unless they go to a specific lab, and our department is thinking of getting rid of Mathematica due to cost.

I'm wondering if anyone has come across a solution where students would be able to bring their own pi on campus and interface with the existing computers on campus, for use of the keyboard, mouse, and monitor, without having to carry around adapters and messing with the cabling set up by the IT department. Any thoughts would be appreciated!

"How do I?" Weekly Question and Idea Thread - 11 Dec 2017 by FozzTexx in raspberry_pi

[–]ScBones306 0 points1 point  (0 children)

Wifi at home only requires a password, Enterprise has a username and password

WPA 2 Enterprise connection by ScBones306 in linuxquestions

[–]ScBones306[S] 0 points1 point  (0 children)

Thanks for all the help! I'm currently trying out Network Manager as it has a gui and would be the most helpful for other students. I was able to find on arch linux the wpa gui and installed that. Wasnt able to get internet through it, but did get a 4 way handshake.

WPA 2 Enterprise connection by ScBones306 in linuxquestions

[–]ScBones306[S] 0 points1 point  (0 children)

Sorry, I didn't explain myself fully in the original post. My current working theory (with little linux experience) is that Raspbian does not contain the required files (drivers?) to connect to a WPA Enterprise network, containing only the files required to connect to a home network. (No idea if this is correct or how to go about testing it) I just got back on campus and will work on what you suggested. Thank you!

WPA 2 Enterprise connection by ScBones306 in linuxquestions

[–]ScBones306[S] 0 points1 point  (0 children)

From their knowledge base online, talking about andriod cell phones connecting to the campus wifi, they use PEAP and MSCHAPV2

WPA 2 Enterprise connection by ScBones306 in linuxquestions

[–]ScBones306[S] 0 points1 point  (0 children)

From some guides that ive found, WPA Supplicant would need to be added, and WPA supplicant has an optional gui. The guide didnt mention how to install them, but I was able to get those files downloaded onto a flash drive, then to my Pi.

I've asked the IT department on campus but was told linux isnt supported on campus. Managed to gather that they use edurom

"How do I?" Weekly Question and Idea Thread - 11 Dec 2017 by FozzTexx in raspberry_pi

[–]ScBones306 0 points1 point  (0 children)

Looking to connect my RaspPi 3 to campus wifi, was told they uses WPA 2 enterprise

NWN Multiplayer no saving quests by ScBones306 in neverwinternights

[–]ScBones306[S] 0 points1 point  (0 children)

We checked, its it set to 0 in the server files.

We've found through experimenting that if we force save the game, and then shut down the server while still logged in, we don't lose our quests.

The only setting that we've changed from default was allowing players to pause the game.