Monthly Archives: August 2012

Random numbers….where all numbers are equal but some more equal than others…

For the ph_lyrics project the tweets occur at random intervals of time. But it was desired that the chosen interval should be more likely to be a longer rather than shorter interval. What was needed was a php mechanism for generating weighted … Continue reading

Posted in PHP | Tagged , , | Comments Off on Random numbers….where all numbers are equal but some more equal than others…

Commands I forget….

When using my favourite(lol) language I forget the fixes for dealing with multiple versions sudo update-alternatives –config java  sudo update-alternatives –config javac sudo update-alternatives Why you may need these is illustrated here

Posted in coding, computing, linux, LinuxMint | Comments Off on Commands I forget….