I was very sad to read recently about the demise of Flemings Creamoata , a long time staple of any civilized breakfast table. I loved the Fine Ground Creamoata - porridge made with it had the consistency of pudding - smooth & creamy. Anyway I wrote to Nestle and asked for the “recipe“ and was pleased to receive a reply the same day - with details of how to make my own Creamoata - thanks Danielle from Customer Services ! ”Recipe“ is not quite the right word as it turns out, since Creamoata is just Rolled Oats that has been milled to a fine consistency - so more like ”Processing Instructions“. Here are the instructions: Medium Ground Creamoata Place Rolled Oats in a food processor and process on highest speed for approximately 4 minutes. Fine Ground Creamoata Place Rolled Oats in a food processor and process on highest speed for approximately 8 minutes. Easy eh? Don’t fill the food processor more than about 1/2 full. Here’s my favorite recipe for preparing Creamoata oats for breakfas...
In case you ever care about this ... /** * fileTimeToDate() * * Convert a Windows FILETIME to a Javascript Date * * @param {number} fileTime - the number of 100ns * intervals since January 1, 1601 (UTC) * @returns {Date} **/ function fileTimeToDate( fileTime ) { return new Date ( fileTime / 10000 - 11644473600000 ); };
I have been experimenting with async iterators in Typescript. One area these could be useful is in simplifying the code for forms, specifically handling button presses. Currently, I create forms programmatically using my form class, which creates Bootstrap modal forms. "Action buttons" are the buttons that sit in the modal-footer area. When creating "ActionButton"s to add to the form an onClick handler is specified and the form takes care of calling onClick() when the button is clicked. Here's a trivial example - an About box with an Ok button and second button just for testing. export function about(): void { let aboutBox = new forms.Form( `About ${app.productName}` ); aboutBox.addButton( { name: 'Ok', onClick: ()=> { aboutBox.close(); } } ); aboutBox.addButton( { name: 'Test', tooltip: 'Test ...
Comments