Comment on: What is the best language for someone who wants to learn to code for the first time?
1 30 Mar 2016 03:51 u/blind-science in v/programmingComment on: In Memoriam: Ian Murdock (founder of Debian)
Much larger t hread in tech: https://voat.co/v/technology/comments/756758
Comment on: I Want to Start Programming. Where Should I Start?
Anaconda python comes for os X it includes the Spyder IDE as well as some science / engineering packages. https://www.continuum.io/downloads
Comment on: Python: Best GUI dev. toolkit?
Forgot to mention the main reason for QT is that the open source GIS software QGIS using PyQT bindings. http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/intro.html
Comment on: Python: Best GUI dev. toolkit?
I tend to get python via anaconda, as this also installs a number of useful packages for science / engineering stuff. However it also installs, QT / PyQT out of the box which is cross platform GUI stuff Anaconda Link and the Package Docs.
It installs Spyder for the IDE, but you have other options: IDE Integration
Comment on: 4chan is making an emoji-based programming language
Just who is this 4Chan?
Comment on: What music do you code to?
Depends on what I'm coding, I may avoid certain types of music for new features compared to tweaking old code.
I often hit random, and then go to the start of the album and listen to the entire album. I try to avoid skipping and finding something familiar. However, I will skip certain types occasionally.
A Perfect Circle at the moment. Bob Dylan before that.
Comment on: My Robot C Program Which Opens and Closes Blinds Automatically Depending on Light Intensity
1 19 Jun 2015 04:10 u/blind-science in v/programmingComment on: My Robot C Program Which Opens and Closes Blinds Automatically Depending on Light Intensity
It may save a bit of wear on the motors, it might take a bit of tweaking to find a value that works for you. Other options to prevent it moving all the time could be to take an average over a number of measurements (e.g. 5 min) to ensure that the blinds don't move each time a cloud passes overhead. I'm sure like most programming things you will tweak it as you go and change the goal posts!
Enjoy
Comment on: My Robot C Program Which Opens and Closes Blinds Automatically Depending on Light Intensity
Do you not need a tolerance when opening and closing. I thought this was required to prevent feathering around a threshold. For water pumps the logic might be:
if WL > threshold:
#turn on pump
else if WL < threshold - 0.2:
#turn off pump
Once the pump has turned on, the water level needs to drop significantly in order to prevent the pump oscillating between on and off.
Comment on: Language of choice?
For data manipulation / viewing python (so much love for python in this thread). For serious number crunching Fortran (yes people still use it)..
+1 python