Difference between revisions of "General computing resources"
Jump to navigation
Jump to search
(→Other) |
(→Other) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* http://www.learncpp.com/ | * http://www.learncpp.com/ | ||
* http://www.cplusplus.com/ | * http://www.cplusplus.com/ | ||
+ | * [http://ureddit.com/class/23620/introduction-to-c----a-video-guided-tutorial Introduction to C++: A video guided tutorial] | ||
+ | * [http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-s096-introduction-to-c-and-c-january-iap-2013/lectures-and-assignments/ MIT OpenCourseWare Intro to C & C++ ] | ||
===Fortran=== | ===Fortran=== | ||
Line 9: | Line 11: | ||
===Python=== | ===Python=== | ||
− | * http:// | + | * http://www.codecademy.com/tracks/python |
* http://www.learnpython.org/ | * http://www.learnpython.org/ | ||
* http://learnpythonthehardway.org/ | * http://learnpythonthehardway.org/ | ||
+ | * http://inventwithpython.com | ||
===Other=== | ===Other=== | ||
* [http://henrikwarne.com/2012/12/12/working-as-a-software-developer/ Working as a Software Developer] - useful read if you touch any code | * [http://henrikwarne.com/2012/12/12/working-as-a-software-developer/ Working as a Software Developer] - useful read if you touch any code | ||
+ | * [https://github.com/lfit/itpol/blob/master/linux-workstation-security.md Linux workstation security checklist] | ||
+ | * [http://www.fortran-2000.com/ArnaudRecipes/CompilerTricks.html Compiler and tools tricks] | ||
* [http://www.nawaz.org/posts/2012/Dec/a-guide-to-midnight-commander/ A Guide to Midnight Commander] | * [http://www.nawaz.org/posts/2012/Dec/a-guide-to-midnight-commander/ A Guide to Midnight Commander] | ||
+ | * [http://cb.vu/unixtoolbox.xhtml UNIX toolbox] | ||
+ | * [http://devo.ps/blog/2013/03/06/troubleshooting-5minutes-on-a-yet-unknown-box.html First 5 Minutes Troubleshooting A Server] | ||
+ | |||
+ | ==== gcc/g++/gfortran compiler flags ==== | ||
+ | Here are some useful flags to use when developing a code, or trying to find why code crashes: | ||
+ | |||
+ | <pre>-Wall -Wextra -Wconversion -pedantic -ffpe-trap=zero,overflow,underflow,invalid -ftrapv | ||
+ | -ffree-line-length-none -finit-local-zero -fbounds-check -fcheck-array-temporaries</pre> | ||
+ | |||
+ | Use man gcc to find details about each. | ||
+ | |||
+ | I often remove "underflow" from the list, since it just makes small floating point numbers to zero, but it is useful to know. |
Latest revision as of 05:02, 9 September 2015
C++
- http://www.learncpp.com/
- http://www.cplusplus.com/
- Introduction to C++: A video guided tutorial
- MIT OpenCourseWare Intro to C & C++
Fortran
Python
- http://www.codecademy.com/tracks/python
- http://www.learnpython.org/
- http://learnpythonthehardway.org/
- http://inventwithpython.com
Other
- Working as a Software Developer - useful read if you touch any code
- Linux workstation security checklist
- Compiler and tools tricks
- A Guide to Midnight Commander
- UNIX toolbox
- First 5 Minutes Troubleshooting A Server
gcc/g++/gfortran compiler flags
Here are some useful flags to use when developing a code, or trying to find why code crashes:
-Wall -Wextra -Wconversion -pedantic -ffpe-trap=zero,overflow,underflow,invalid -ftrapv -ffree-line-length-none -finit-local-zero -fbounds-check -fcheck-array-temporaries
Use man gcc to find details about each.
I often remove "underflow" from the list, since it just makes small floating point numbers to zero, but it is useful to know.