Bill Farmer

Random thoughts on random subjects

Australian Meatball Wiggleoni

by Bill Farmer. Categories: Recipes .

This is an adaptation of a recipe by our daughter’s Australian fiancee. His version was a way of getting vegetables into his kids by hiding them in meat sauce. This adaptation uses meatballs instead of mince. Ingredients Meatballs Tomatoes, chopped Tomato paste Olive oil Oregano Onions, chopped Garlic, chopped Carrots, chopped Celery, chopped Cabbage, chopped Fusilli pasta Method Fry or cook the meatballs in the oven, keeping them warm. Make a tomato and vegetable sauce with the olive oil, tomatoes, tomato paste, oregano and vegetables.

Read more →

Not Swedish Meatballs

by Bill Farmer. Categories: Recipes .

Meatballs are sometimes on offer at our local supermarket, so what can you do with them apart from meatball curry or meatballs with spaghetti? What about swedish meatballs? Well we didn’t like the sound of the creamy gravy or sauce they are supposed to be served with and decided that Truly Evil Onion Gravy was the way to go. Ingredients Meatballs Frozen or fresh peas Truly Evil Onion Gravy Method Start the gravy first as it takes a while to render the onions down.

Read more →

Download playlist video

by Bill Farmer. Categories: Hacking .

This has been superceded by youtube-dl, which seems to work on most video sites. Since I wrote Download streamed video video web sites have upped their game to stop downloading. One of the techniques used is to use a M3U playlist and a complicated set of parameters. Other techniques are to use JavaScript to create a blob and play that, and to use a JavaScript browser app which goes into debug mode if you use the developer tools.

Read more →

Resurrecting an Old Dos App

by Bill Farmer. Categories: Hacking .

Back in the late 90’s I wrote an simulation app for an old telecontrol system that was being superceded. It was written in Turbo C to run on a DOS or Win95 PC. The app used a conio library provided by the compiler to present colour character text and graphics on a monitor using a standard PC keyboard. It used to run under 32 bit windows but wouldn’t run under 64 bit windows as there is no DOS emulation.

Read more →

Lambda Expressions

by Bill Farmer. Categories: Hacking .

Lambda expressions or anonymous functions can be quite useful. For example using jQuery in JavaScript all the work gets done in anonymous functions unless you particularly want to extract them and give them names… jQuery(document).ready(function($) { // ... // Process the start button $("#start").click(function() { question = 0; $("#data").css("display", "none"); $(".intro").fadeOut(function() { // Do stuff }); // ... }); }); In C++ the syntax is curious in that there are a pair of square brackets enclosing ‘captured’ variables…

Read more →
Previous page Next page