About Sysop_fb
- Biography:
- Highschool.. college... work.. enlisted... war...grad school... there's my life in a nutshell.
- Location:
- Missouri
- Interests:
- Offroading, running, gym time, programming
- Occupation:
- Soldier and alcoholic programmer
"The best optimizer is between your ears" - Michael Abrash
Saying you can optimize a program is like saying you understand how a program works on every level of every facet on a specific machines configuration.
Total Posts
- Total Posts
- 150
- Posts Per Day
- 0.14
- Last Post
- C# vs Python 02-05-2012 03:57 PM
General Information
- Last Activity
- 02-05-2012 03:58 PM
- Join Date
- 04-10-2009
- Referrals
- 0
1 Friend
Showing Friends 1 to 1 of 1
View Sysop_fb's Blog
by
Sysop_fb on 01-24-2012 at 01:24 PM
--Calculate standard deviation
stddev ls = sqrt . fromIntegral . (`div` length ls) . sum $ map ((^2) . (minus . (`div` length ls) . fromIntegral . sum $ ls )) ls
--to evaluate a string as an expression - wish there was an easier way like in lisp mmmmm might look into this again at later date
--install hint and then
import Language.Haskell.Interpreter
runInterpreter $ setImports ["Prelude"] >> eval "3 + 5"
by
Sysop_fb on 01-22-2012 at 07:43 PM
For data to exist all that you need is a means by which to represent it and a means to interpret it.