Tuesday, February 14, 2012

Random Shuffling

I've recently been using a neglected version of a tool that did not possess randomisation capabilities. I decided to get around this problem by adding/creating a random shuffler so that subsequent results could not be as easily detected by automated systems. Some of the algorithms which I examined included the following.


http://en.wikipedia.org/wiki/Shuffling
http://www.codinghorror.com/blog/2007/12/shuffling.html
http://amazoninterview.blogspot.com.au/2007/05/card-shuffle-algorithm.html
http://www.codeguru.com/forum/archive/index.php/t-339308.html
http://tekpool.wordpress.com/2006/10/06/shuffling-shuffle-a-deck-of-cards-knuth-shuffle/
http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=178050

Butter Fried Potatoes With Bacon Bits, Sour Cream, and Spring Onion

There used to be a dish at the Pancake Parlour that I took a particular liking to. Over time, I realised that there were 'economic' issues pertaining to this dish and I also thought that there were some modifications (basically changing the balance by using more of certain ingredients) that could be made to make for a better tasting recipe. Below are the results of my experimentation.

Ingredients
- butter
- olive oil
- bacon
- onion (optional)
- potatoes
- salt
- sour cream
- grated cheese
- spring onion

1) Brown/fry bacon bits or diced pieces of bacon in pan/skillet.
2) Remove from pan/skillet and place on plate (drain oil if desired using paper towel).
2) Chop potatoes/onions into cubes.
3) Use a combination of butter/oil (you can use butter only but I find that adding a little oil helps to change the burning point of the fat mixture which means that you can quick more quickly without having to worry as much about burning) to brown/fry the potatoes (if you prefer bigger potato chunks than you may want to boil them first to aide the cooking process). Note that even if you slightly burn the potatoes you can often just add another knob of butter and use slow, lower temperatures to 'fix the error'. Obviously, cooking it slowly at a lower temperature will soften the potatoes while cooking quickly at a higher temperature will make the potatoes crispier. Place onions in later because they cook more quickly.
4) Remove potatoes/onions from pan/skillet and place on plate (drain oil if desired using paper towel).
5) Drop grated cheese on top of potatoes/onions/bacon and put into microwave for 30 seconds to melt it or else use grill.
6) Salt to taste and use sour cream and chopped pieces of spring onion to garnish.
7) Goes very well with lemonade. Enjoy.

YouTube News Downloader Script, Music Composition for Lazy IT People, and More

YouTube News Downloader: - if you're on a Not Really Broadband Network (NRBN) you somehow need to deal with networking/buffering issu...