In all cases you can develop and test offline before uploading to Lozza. But please do feel free to upload as many times as you like during development once it’s basically working. There is no automation as yet – just email it to me: email@example.com – it’s a matter of a moment to ftp it up to the site. Having said that please also feel free to fork my UIs and use them on your own site.
1. Use one of the existing hand coded engines as a starting point and further develop it. Check licencing with the author first of course, but you are free to use mine as you like: lozza.js. If nothing else it’ll give you a framework for sending and receiving UCI messages.
3. Hand code from scratch I had (am having) a lot of fun writing lozza.js.
In the case of 2. and 3., you’ll need to add some code to send/receive UCI messages. See the lozUCI object in lozza.js for example. It’s not pretty but it works. You’ll see that there is code to detect if the engine is in a node.js, web or jsUCI context – that’s a useful thing to do for maximum flexibility. NB: the odd way I write to stdout in a node.js context is so that it’s synchronous, otherwise you get all the PV output in one gulp on Windows (its OK on Linux).
emscripten – example| example | example
Edmund Moshammer for the indispensable jsUCI.
Norbert Raimund Leisner for designing Lozza logos.
Silvian Ruxy for testing Lozza.
Graham Banks for testing Lozza and including in the CCRL ratings. Also for an alternative Lozza logo.
Chris Oakman for the lovely chessboard.js UI.
David Bau for seedrandom.js which I use to seed the Zobrist hashes.
Jeff Hlywa for the fab chess.js.
CPW for algorithms. Lozza’s Q search is still pretty much all CPW.
CCC for algorithms and discussion.
Optional URL parameters:-
c=b (play black)
Download Edmund Moshammer’s jsUCI to a folder of your choice. Download lozza.js and place it in the same folder as jsUCI.
cd <jsuci folder>
You don’t have to use the same folders, it was just an example. If lozza.js is in a different folder to jsUCI you need to specify the path on the command line and in the UI. Absolutely or relative to jsUCI.
Download and install node.js. node.js adds itself to your path. Download lozza.js to a folder of your choice.
cd <lozza folder>
You can use node.js on Windows too instead of jsUCI. When using node.js you can add Google Chrome V8 options to the command line to see the real time optimisation etc.
Optional URL parameters:-
act=ana | eva (ana starts an analysis, eva starts an evaluation)
Optional URL parameters:-
In addition to the standard UCI protocol , the following commands can be used to control all the engines:-
Stop the engine. Useful to stop a long perft or analysis. What actually happens is that the web worker containing the engine is killed.
Start the engine. i.e. create a new web worker containing the engine.
Clear the previous engine output.
Continue reading Lozza UCI console UI
I would very much like to thank these people for help during the (continuing) development of Lozza.
The Australian (Anti)Vaccination Network is a menace to Australian public health. This infection model joins StopAVN in a way only infection models can! Continue reading Stop the Australian (Anti)Vaccination Network
An agent based infection model. No maths! The outcome is implicit in the movement and contact properties. Continue reading Agent based infection model
I was humbled and honoured to be presented with a National RYA Award by HRH Princess Royal in November 2013. See this Yachts and Yachting news item.
A little demo to show how people are indirectly protected in an epidemic when enough people are vaccinated – herd immunity.
It should work on touch and non touch devices including phones; the layout being responsive to screen size.
The demo is not suitable for thinking about the elimination of a disease in an endemic steady state. It is rooted in an epidemic context.
Continue reading Indirect protection demo
We were a bit drunk post race recently (I was drinking Strongbow) and wanted a simple phone app that would allow us to see who won the racing. We didn’t want to type in using the keyboard. I came up with Sailbow a few days later. It only works with touch devices and Is available on the web at this URL:-
The Mumbles Yacht Club (MYC) website has a completely custom responsive user interface coupled with a WordPress back end, but used only for data storage, none of the WP UI stuff is used. Contact me if you would like something similar.
Note that the demo is available in a number of languages because the google translation is not great. if you are willing to translate into another language please contact me; thanks.
A few days ago a friend noted that this claim
which appears on this website
Children’s Immunisation Centre
looked almost like a warranty for their single measles vaccine. It’s also indirectly implying that MMR does cause autism. Continue reading Children’s Immunisation Centre
Peggy O’Mara, the founder of mothering.com is anti-vax and an HIV-AIDS denialist. She was referring to my science based vaccination search engine, vaxfax.me. Lulz.
Sailwave is a Windows sailing scoring program that I began developing in 2001. It is now used by thousands of clubs/events all over the world – and at all levels of the sport, including Olympic test events.
vaxfax.me is a project oriented around a google custom search engine and also available as an Android app. It searches hundreds of science/evidence based websites for vaccine information.
It was created primarily with parents and parents-to-be in mind – to help them navigate past the mass of vaccine misinformation on the internet.
Continue reading vaxfax.me search engine
The model implements these standard iterative equations for S, I and R:-
s’ = s – cis/t – bs + bt – vbt + wi
i’ = i + cis/t – ki -bi
r’ = r + ki – br + vbt – wi Continue reading SIR infection model
Once upon a time, not so very long ago, and not so very far away, there was a wonderful world called Cloud. At the centre of Cloud stood the great city of Ppouc and scattered around it were many smaller towns and villages.
Continue reading The Egan
This is a tidy-up of a comment I posted on homeopath Steve Scrutton’s blog.
Steve, you don’t seem to understand what a denial means.
Imagine somebody (a he in this case) who anecdotally helps people by playing the piano. This goes on for years. People listen to the music and often feel better – either then or a little while later. Every now and again somebody with a serious illness will get better – breast cancer say (relatively high remission rate) – and he makes sure the world knows about cases like that (selection bias). Continue reading Homeopaths in denial
Originally a guest post in Vaccines Today.
Should pro-vaccination parents engage and debate with anti-vaccination parents who are posting misinformation in online discussion groups? Continue reading Should pro-vaccine parents engage in the anti-vaccination debate?
for 100 > x > 0 : 100 – x = 0
for V >> U & Iu >> Iv : VIv < UIu
if p(x) > 0 : p(x) = 1
if p(x) < 1 : p(x) = 0
One thing antivaxers have going for them over a science based argument, is playing the emotive card. Consider this from a debate I was involved in tonight:- Continue reading Which button would you click?
This is not really the way Bach should be played, but it was specifically a musical tribute, with much love to Lore Darche and her brave outspoken family.
Lore died from pertussis when she was 83 days old. Continue reading Bach/Marcello Adagio
It is not uncommon to see online discussions with arguments of the form “if your child is vaccinated, what risk is there from my unvaccinated child?”.
The fact is that while vaccines are generally very good, they are not 100% effective in terms of seroconversion rates. Some vaccinated individuals can still catch and transmit the diseases they have been vaccinated against; although often the symptoms are usually less severe than in the unvaccinated case. Continue reading Vaccines are not 100% effective
Many vaccination resources are entrenched in ideology and bias. Some are easy to spot with their emotional but anecdotal stories, conspiracy theories, logical fallacies and downright misinformation. Others have in initial air of respectability and may even appear to be science based, until you dig a little deeper and reveal that the science is cherry picked with studies that are methodologically weak, have since been retracted, or have subsequently been shown to have reached false conclusions. Continue reading Vaccination resources
Thimerosal is a mercury based organic compound that is used both as a preservative in vaccines and as a sterilising agent during the vaccine manufacturing process.
With the exception of some multi-dose flu vaccines, thimerosal was removed as a preservative from all childhood vaccines in 2001, with the last expiry date being Jan 14 2003. It is however, still present as trace quantities of mercury in some childhood vaccines (e.g. DTaP vaccines) due to the manufacturing process:- Continue reading The chemical makes the poison – apparently
This is a slight modification of a comment I posted on an article about Meryl Dorey in the Australian Northern Star.
Ayaan Hirsi Ali was once asked how to get through to Somali women that their life was one of total repression and she answered “dissonance”. Her idea being that if you repeatedly hit people with the truth, their beliefs may eventually crack – dissonance will accumulate until a point is reached that no amount of rationalising can support the root belief/bias/ideology. Continue reading Meryl down the rabbit hole
Like many anti-vaccination groups, the Australian Vaccination Network (AVN) presents itself as “pro-choice” or “informed decision” or “balanced” and at first glance the website seems to support that view, but dig a little deeper and their true orientation becomes clear. What for example is balanced about a tee-shirt that can be purchased in their online shop saying “Love them, Protect them, Never inject them”. Continue reading The Australian Vaccination Network is an anti-vaccination group
The first of five Albumblatter (Album leaves) – part of Schumann’s Bunte Blatter (Colourful leaves) Op 99. It’s marked Ziemlich Langsam – quite slow or larghetto. Continue reading Schumann Bunte Blatter Op 99
My go at the theme from Schindler’s List, composed by John Williams. Not sure who did this piano arrangement though… Continue reading Schindler’s List
Dear homeopaths. Please accept this little composition dedicated to homeopathy written in a Hindu scale pattern. I am more than happy for you to use it at your homeopathy events under the creative commons licence; in fact I would be honoured. Continue reading Three diatonic doodles dedicated to homeopathy
Paul Offit et. al. review the evidence as to whether or not vaccinations overwhelm a child’s immune system, concluding:-
Current studies do not support the hypothesis that multiple vaccines overwhelm, weaken, or “use up” the immune system. On the contrary, young infants have an enormous capacity to respond to multiple vaccines, as well as to the many other challenges present in the environment. By providing protection against a number of bacterial and viral pathogens, vaccines prevent the “weakening” of the immune system and consequent secondary bacterial infections occasionally caused by natural infection. Continue reading Vaccines do not weaken a child’s immune system
Much is often made of the fact that in a highly vaccinated context the number of infected vaccinated individuals can be greater than the number of infected unvaccinated individuals; the conclusion being that vaccination doesn’t work – but that conclusion is a logical fallacy. Continue reading In a highly vaccinated context more infections can be found in those who are vaccinated
What a wonderful thing it is to be able to vaccinate our children, not just to protect them, but those around them that are too young to be completely vaccinated or cannot be vaccinated for heath reasons. What a wonderful gift herd immunity is to and from humanity. Yes there are risks of adverse reactions to vaccination but such risks are microscopic and completely outweighed by the benefits. Continue reading Vaccination is a social responsibility
Here’s my go at Scriabin’s prelude op 11 no 4. Once again, as with all Scriabin, I found the polyphony was tricky, even though the piece itself sounds so simple. Picking out the right hand where people usually left the left hand dominate was deliberate. Continue reading Scriabin prelude op 4/11
Lawrence Krauss from the Origins Institute (Arizona University) summarises our current picture of cosmology. This is a wonderful presentation where Krauss manages to be both very insightful and very funny. Continue reading A universe from nothing
Evan Harris was probably the best representative for critical thinking and free inquiry in parliament. The loss of his seat is a very sad day for those of us that allow empiricism, rationalism and skepticism to guide our worldview. Continue reading Gloat while you can
Some nerd jokes inspired by Brian Mallow.
176 sulked into a bar. The barman froze: “You’re meant to be a happy number!”. “I know, but I’m worried Evan Harris may edit me”.
Three quarks walk into a bar. The barman shakes his head and says: “Sorry, we don’t serve quarks in here”. So they left en-mass. Continue reading Nerd jokes
Joseph Mercola and Barbara Loe Fisher recently had a good old chinwag about vaccination, or to be more accurate anti-vaccination. They start with the recent news that the FDA have recommended that clinicians temporarily suspend use of Rotarix and end with a truly scary section in which they argue we’d be better off without some vaccines, including Rotarix.
There was even a horrific section on smallpox where Fisher used the ‘naturally falling mortality rate’ argument while conveniently ignoring incidence; a common ploy found all over antivax sites and the weird and wonderful outer fringes of medical journalism – JPANDS for example. Continue reading Antivax porkies
Anecdote has it that Scriabin didn’t particularly like performing his Op 2 etude and given that his harmonic development quickly outgrew his early Chopinesque compositions, one can’t really blame him. Continue reading Scriabin etude op 2
Ravel’s Prelude is probably the most accessible of his piano compositions. He composed it especially for a sight-reading test associated with entry to a women’s piano competition, which was won by Jeanne Leleu and who also received the dedication when Prelude was published. Continue reading Ravel prelude 1913
This is a little waltz I composed a while ago as a valentine present for my wife – I was broke! My piano teacher decided to play it during one of his Christmas concerts – squeezed it in between some “proper pieces” and said that we seemed to get away with it… Continue reading A little waltz