Friday, 27 June 2014

Dark Energy vs Dark Matter

(some) Speculation, (not proven science!)

Dark Matter = missing mass of a galaxy, (about 26.8% of stuff)
Dark Energy = fuel the expansion of the universe (about 68.3% of stuff)

If all visible matter from the standard model is only about 5% of mass-energy within the space-time of this universe, and theoretically, about half of all mass-energy should be anti-matter, then 13.4% of stuff should be anti-dark matter and 34.15% should be anti-dark energy.

Until we prove otherwise I'm going to presume that Dark Matter is cosmic phlogiston and the measured variations in the rotation of stars within some galaxies is caused by a property of either space-time or the interaction between space-time and mass-energy.

Dark Energy, on the other hand is proof of other {mem}brains interacting with this one.

Bonus round

Is there an experiment to demonstrate the speed of force through a solid? (To disprove the "fastest way to communicate with the moon is to send Morse code by constructing a solid rod all the way from earth, and pushing on one the Earth end to press the Morse key on the moon.") I can see that the inertia of the rod would prevent the message getting there faster than a laser photon, but how much slower would it be?

Wednesday, 25 June 2014

Programming paradigms and economic modles

(Haskell has a functional paradigm while Objective-C is imperative.)

"If  John Maynard Keynes economic model can be thought of as being functional then Friedrich Hayek's model would be imperative."

Discuss. Which is more socialist.


Keynes seems to see the macro financial system as being as static as a Haskell variable, which leads to the conclusion that a government can inject/invest its way out of a financial crisis. This idea comes from the perceived perpetual existence of society and that a nation is a perpetual-money-machine that sometimes needs a kick.

F.A. Hayek focuses on the individual micro economics and scales up, (ad absurdum from Keyne's point of view.) This is more realistic because indefinite growth on a physically finite planet is ludicrus.

Keynes might point out that money, like numbers themselves are infinite.

Tuesday, 24 June 2014

Stairing at a Designing

When I first saw MinuteLabs Corner-reflector I was designing a new wooden staircase. It was to connect the upper floor of a house with a lower one, but with some unusual constrains. I looked into the local laws that I could find, and the usual calculations dictated by logic and human proportions, (I didn't find www.blocklayer.com Stairs Calculator until much later.)

To that end I plan to create an interactive system where by you enter the height, [0] (between the ground level of the upper floor and the lower level) and the depth within which the staircase has to fit. You can toggle risers on or off, (for steep stairs they would be off automatically.)

Then the system would calculate how many steps you would, (or should) need and how close to being a ladder, (vertical) or decking, (horizontal).

The BlockLayer site even calculates the piece of wood that you need. The only option that it seems to be missing is the ability to set the treads into slots in the stringer, (the long side part of the staircase) rather than notching.

Once I dig out my notes, I'll add the measurements, calculations and regulations that I found.

[0] Actually just dragging the staircase like the laser in the corner-reflector seems like a better human interaction design.

Sunday, 8 June 2014

Windows Desktop Automation

Have you ever needed to have your mouse click over and over while you were not there? Do you want to set up hotkeys to auto-complete a piece of text, (like an email sign-off) that you find yourself doing over and over each day?

I downloaded nine different piece of software and "Auto Clicker", though commercial, did seem to be winning.

I wanted something that could click three buttons, in order, with a 10 second pause between loops. Most importantly it had to be able to loop until I stopped it.

Then I found AutoHotKey. It was not the easiest to use. I did have to read the amazingly well written manual, (and in this day-n-age it seems that no one wants to read manuals, or rather RTFM==design_flaw.)

It reminded me of NSIS (Nullsoft Scriptable Install System) and one I got used to it, (about five minutes) I started to see just how powerful AutoHotKey is. First of all I added:

F6:: Reload ; why isn't this in the default script?

So that I could reload the changes as I hacked them. You see AHK is powered by a simple, yet hugely comprehensive, scripting language.

But wait - there's more! I was thinking, "wouldn't it be nice if I could train AHK." I wanted to be able to do the clicking on the screen and have it just learn. I didn't want to have to use the "Window Spy" that came with it. Well with v1.0.48.05 there is, ( C:\Program Files (x86)\AutoHotKey\AutoScriptWriter\AutoScriptWriter.exe which will do just that!.

So if you have written a program, (or even just a bash script) then AHK will be simple. If email confounds you then www.asoftwareplus.com 's "Auto Clicker Typer" might be more your speed, (though it would not loop for ever, I could get close with ACT by using copy-n-paste to duplicate my three buttons many times, (a few hundred) and then setting the Loop option to over nine thousand.) The biggest problem with ACT was the errors when it tried to access the HKEY_LOCAL_MACHINE\Software\AutoClickerTyper\AutoScript entry in the registry, (though clicking Continue seemed to work in most cases.)

So AutoHotKey is officially added to my list of "good stuff" in the windows software category. Thank you Chris Mallet and others.

About this blog

Sort of a test blog... until it isn't