The actual calculation engine is more than 20 years old.
Software Development
There are 90 posts filed in Software Development (this is page 8 of 9).
Read: 2019 – Independent Blogging Trends
The independent blog has been in decline for years. It doesn’t have to be that way. Here’s why you should start a blog in 2019—and host it yourself.
Read: Java’s Forgotten Forbear
Java’s ability to run on many different kinds of computers grew out of much older software
How to download a file from Github using Node.js
The story of my first real attempt at making something useful with Python.
Working with callbacks in Javascript
[cc lang=”javascript”]
feedRead.parseUrl (urlTestFeed, timeOutSecs, function (err, theFeed) {
if (err) {
console.log (err.message);
}
else {
console.log (“It took ” + utils.secondsSince (whenstart) + ” seconds to read and parse the feed.”);
console.log (“theFeed.head == ” + utils.jsonStringify (theFeed.head));
console.log (“theFeed.items [0] == ” + utils.jsonStringify (theFeed.items [0]));
for (var i = 0; i < theFeed.items.length; i++) {
console.log (“Item #” + utils.padWithZeros (i, 2) + “: ” + theFeed.items [i].title + “.”);
}
}
});
[/cc]
After some experimenting, I figured out that all I needed in the feedRead.parseUrl call was the function name (with no parameters, even though it had parameters), and then the function could be factored out:
[cc lang=”javascript”]
feedRead.parseUrl (urlTestFeed, timeOutSecs, myparser);
function myparser (err, theFeed) {
if (err) {
console.log (err.message);
}
else {
console.log (“It took ” + utils.secondsSince (whenstart) + ” seconds to read and parse the feed.”);
console.log (“theFeed.head == ” + utils.jsonStringify (theFeed.head));
console.log (“theFeed.items [0] == ” + utils.jsonStringify (theFeed.items [0]));
for (var i = 0; i < theFeed.items.length; i++) {
console.log (“Item #” + utils.padWithZeros (i, 2) + “: ” + theFeed.items [i].title + “.”);
}
}
}
[/cc]
Note that the function does not have a semicolon at the end, but the call to feedRead.parseUrl does…
References:
https://codeburst.io/javascript-what-the-heck-is-a-callback-aba4da2deced
https://javascriptissexy.com/understand-javascript-callback-functions-and-use-them/
How embedded software projects run into trouble
- Unrealistic schedules
- Quality gets lip service
- Poor resource planning
- Writing optimistic code
- Weak managers or team leads
- Crummy analog/digital interfacing
- Bad science
- The undisciplined use of C and C++
- Jumping into coding too quickly
- Not enough resources allocated to a project
Is there something you do every day that builds an asset for you? Every single day? Something that creates another bit of intellectual property that belongs to you? Something that makes an asset yo…
Open Design Kit: methods for doing distributed design