843 reputation
18
bio website
location
age
visits member for 1 year, 6 months
seen 3 hours ago

Oct
5
awarded  Yearling
May
9
revised What is the difference between functional relational programming and functional programming?
minor corrections
Nov
2
comment Functional Methods on Collections
@GlenPeterson Remember that b => b * 2 returns a scalar, not a list. It might work in Scala, I'm not sure (I confess I am Scala illiterate). I think the more correct form would be L.map(a => a.flatMap(b => [b * 2])) to ensure that flatMap is working with lists.
Nov
2
revised Functional Methods on Collections
added flatMap
Nov
2
answered Functional Methods on Collections
Nov
1
answered Type of AI to tackle this problem?
Nov
1
comment How to better integrate a unix development environment into Windows
You seem to have covered the usual bases. What do you feel is missing from the things you've tried?
Nov
1
comment How would I implement this application idea?
@MikeWills That's what you'd use AJAX for. You can send back small bits of information using an XMLHttpRequest object. As Michael mentions jQuery simplifies that process.
Nov
1
answered How would I implement this application idea?
Oct
31
answered In GSL, why do some functions take a “workspace” argument?
Oct
31
answered File system implementation in MongoDB with GridFS
Oct
26
comment What's so difficult about SVN merges?
@MasonWheeler I was under the impression that versions are supposed to be marked with tags rather than a new branch.
Oct
26
comment design a model for a system of dependent variables
You could just set a global dirty flag for each dependent variable (like dirty_BMI) whenever a variable it depends on is changed. Then the next time it's requested you can recalculate it if the dirty flag is set and reset the flag. This would also avoid recalculating the variable multiple times even if it hasn't been used. Honestly, I don't think there's anything easier to maintain than public double? BMI { get { return Weight / Math.Pow(Height, 2) } }
Oct
26
awarded  Commentator
Oct
26
comment design a model for a system of dependent variables
CalculationManager seems like a good way to do what you're trying to do, but... Are the calculations so intensive that it's worth the overhead of managing this dependency map? How often are the dependent variables going to be updated? Can you give us some idea what financial objects you're modeling?
Oct
23
awarded  Organizer
Oct
23
revised algorithm to print the digits in the correct order
formatted code
Oct
23
suggested suggested edit on algorithm to print the digits in the correct order
Oct
23
answered Storing Attendance Data in database
Oct
19
answered What is the difference between functional relational programming and functional programming?