Wednesday, 12 September 2018

Instructive issues with a trading simulation

It is basically poker. All traders buy bids in the market and get an equal share of the winnings if they are right.

I want to game to be infinite so I can look at the time series, but very quickly someone goes bankrupt as the unlucky finance the lucky. This is the first observation of economies with a closed amount of wealth (like a gold currency): since the amount of gold never changes all that happens is that people lose wealth to other people.

To create new traders to replace bankrupt ones a few decisions must be made:
(1) What to do with their debt.
(2) How to finance the creation of a child.

(1) I've chosen to apply a universal tax so that national debt is recovered as a percentage of your wealth.
(2) Again this could be via national taxation, but the question arises which child to create?

In this sim traders have DNA strings which decide their bidding behaviour. So the question is which DNA string to replicate for the children.

If we adopt universal taxation then we could create children from random DNA to be impartial. Alternatively we could create children from the DNA of the most successful traders to improve the trading skill of the population.

The most realistic is not to tax but to ask traders if they wish to create a child. If they spend too much on a child they risk redundancy themselves, so their is a risk involved. So the question then arises what is the reward for a trader to have a child?

In terms of the population this has the great benefit that it will evolve a better population. But from the point of view of the individual trader what gain is there in having a child?

One benefit in the real world is that you have a loyal helper. But how do I encode that in this sim without making it overly complex.

The goal is just to create time series for study that reflect populations of competing bidders. But the question of how to replace the bankrupt seems to be quite a huge one.

Wednesday, 15 August 2018

Panic Disorder

So I have had a panic disorder for most of my life. Its just been a part of my life. Has been worse and better at times, but has always been there and been a worry. My life has been controlled by avoiding situations that may lead to panic and being anxious always that it may occur. Social situations, enclosed spaces, transport, relationships, even talking to people have all become situations to avoid. I never bothered to get it diagnosed but parts of it are very OCD. So recently I put together all my learning on this problem and solved it. Here is the solution.

There are 4 stages to combating my panic disorder. They rely on ideas primarily from Buddhism and Psychology. Starting meditation is the important preliminary as the stronger your mind the easier to implement what follows. But meditation alone is only a helpful part. In the past I have "got over" my panic disorder and been strong enough to throw it away, but I have never solved it before and it has come back. This is the solution.

1. Panic is caused by a sense of Danger. Danger is the key. If you think about every situation in which you panic you can see that actually there is very little danger. You know this because other people can breeze through your situation without any concern. What is different between you (and me) and other people in that situation, is that you think about it differently from them that is all. The Danger lies in the way you see things not in the situation. Not much help when you are panicking but this is the key. Careful consideration of this in calm private moments must be undertaken to develop a deep belief that actually there is No Danger to your situation.

As an example: one side of my panic makes me think that inside me there is a evil side that will automatically, at any moment, do something bad and I must guard against that. It stems from a few bad things I remember doing as a kid, and I rationalised this as me having an evil side which my good side must control. This belief I must be on guard developed into a continual anxiety and loss of ease and sense of Danger that I was going to do something terrible like shout out in a theatre, or push someone under a train on a packed tube platform (a million little worries). Any bad thought became evidence of my evil side plotting a horrendous crime. I have read about OCD and that the obsessive sense you are imminently going to do something is not real, that is very helpful in convincing myself that I am not in Real Danger. Meditation is also extremely helpful. If you can meditate into the "Present Moment" you can see clearly even when panicking that there is actually No Danger. Danger is things like a Tiger running for you that you need to run away from. Bad thoughts and fears of being trapped or being socially excluded etc are not real danger they leave you completely unharmed and you don't need to do anything. I went to a lecture where it was explained that the epidemic in childhood anxiety and mental health can be attributed to us never experiencing real danger anymore so our panic response gets over active. I used to go caving and climbing to tackle my fears and I found being in really dangerous situations really helped to reset and over active panic response.

The Panic response to Danger I understand is caused by a part of the brain called the Amygdala (it doesn't really matter the point is to see panic response as a distinct thing we can study). This is designed to respond to danger and override the brain to run away or fight. It is useful for protection from tigers but of no use at all with 99.9% of our modern anxieties. A panic disorder happens when our Amygdala gets a bit too trigger happy. I call mine Maisie, she is a bitch. The key to fixing Maisie lies in persuading her there is no danger. But before that we must reject her insistence to run away or fight. So stage 1 when panic happens is to just remain seated or where we are and remind our self that actually there is No Danger At All. Maisie has got it wrong. Much easier said than done when you have been listening to her robotically and panicking for more than 30 years. I have tried this stage before but without the next stages the panic just gets worse.

2. Stage 1 explained in a lot of depth how we arrive at the belief we are in danger. It is all to do with the story we tell our self that convinces us we are in danger. I call this "The Book". In my case there are a ton of stories in particular the story of a hidden evil side that causes me to do all the bad things in my life. It's a silly story now I review it in later life, but as a kid it was compelling and I habitually still read it from The Story book all the time. Unfortunately so does Maisie my Amygdala. She likes that Story book cos it gives her all the ammunition she needs to step in and shut my brain down and panic. Stage 2 then it closing the book. There is simply no need for stories when we are panicking. A quick survey of the situation will tell us if a tiger is about to consume us, there after we Shut the Book. No more ruminating on stories of how we are in Danger, or remembering why we are panicking. Just close the book. There is No Danger full stop, end of. We must be strong with Maisie she nags and nags and asks to open the book and start reading all the tell tail signs that we are in impending doom and need to get out. Its all a trick served up by an over eager part of our brain.

It is important also to avoid a further trick. How many years have we been writing and exploring that Story book. Was there ever an end or does it go on forever? OCD is like that, we get locked in a thought and can't escape. It just goes around and around with no way out. We get tricked into the Book cos we believe we just need go around one more time and we finish the book, just one more page and we are there. It is endless... Just Close The Book! For this meditation is the most helpful approach. Close the book and enter Present Moment / Mindfulness (same thing) is the key, but will take a lot of daily practice to get good at.

3. Once we have closed the book Maisie the Amygdala is all alone. She doesn't have ammunition, there is just the feeling of panic. It is horrible, it is dreaded, it is what we have been trying to avoid perhaps for many decades. We are very unused to looking at panic because with The Story behind her Maisie has always dressed up Panic to mean the end of the world. But, we have a quick look around at other people being calm in our most feared situation and see there is no real tiger pouncing and we know Maisie is playing her attention seeking trick again. Once we feel that feeling of fear isolated from The Story we then ask Maisie to give us more. Crazy but this is the last thing she expects. We want as much fear as we can get. Feel it flowing through us, let it come, bring it on. We can be a bit crazy as we know there is no real danger! Ask: how much can there be, how bad can this get? Without The Story we know there is no Danger here, there is just a feeling caused by an overactive part of our brain. That feeling, that fear itself, can do us no harm. Our body may feel it is about the explode, our heart racing, sweating, blood draining but no harm is present and we perfectly safe. It was only ever The Story that made us believe there was a threat.

We can add a twist to this which links to stage 4. Often panic makes us very shut down and enclosed. We feel we are alone and this actually helps Maisie the Amygdala take control of us. Without other people we can really get stuck in The Story and dig ourselves as deep as we like with no way out. Other people are really important to break outside the boundaries of our self. It is after all watching other people being cool in our worst situation (maybe a plane or a meeting) which gives us one of our biggest clues that it is only our problem we are facing and not a real danger! Metta meditation is a truly healing practice which everyone should do regularly. It is the key to happiness, but will take daily practice to really get to work. In this meditation we wish ourselves and other people well being and happiness. It takes practice, especially if we have a negative approach to our self or other people which we probably do with all Maisie Amygdala's anxiety and fears around. When we feel panic it is very useful to become a bit of the hero and imagine we are feeling the fears of everyone who is struggling with our problem. Imagine there is only so much fear in the world and someone has to feel it. Since we are panicking we may as well be the one who is emptying the pot of panic so that other people can be freed from the problem. This works. Perhaps it works because secretly by helping other people we are actually stepping beyond our self which helps us get one up on Maisie the Amydala who only has control over our own brain and body. We can go beyond that and connect to other people - we are really infinite but get trapped inside our very narrow view which helps Maisie enormously.

4. The final stage is not really necessary but is a very nice end to a panic episode. We are panicking. We are stubbornly just taking it, sitting there with the storm flying off all around us. We want to open The Story and read about how bad this situation is and how much danger we and other people or in, but we are keeping the Story firmly closed. We can quickly check for tigers if we must and see that actually everything is safe, but really we should be just knowing stubbornly that we are safe full stop and not checking. We are feeling that panic feeling that has been so terrible before as just what it is a feeling, with no danger associated. We are just over reacting. We are exploring just how much fear is there, asking our Amygdala to give us it all.. what is really behind this door of fear we have run away from for so long. We are also beginning to link to everyone else who feels fear and helping them by letting their fears run through us as well. Together we are beating this. I am beating this not just for me but for everyone.

And then quite remarkably in the midst of panic that seems like it will crush us, with thoughts of "I can do this" "I can make it" "I'm about to give us" "this is the most awful thing anyone has ever experienced"... and through it all we just sit there and want more stopping intrusive thought that try to confirm our worst fears holding The Story book firmly and stubbornly closed... trying to connect to other people through the wind and driving rain that is obscuring our view... suddenly we realise that we are ok. The situation that seemed like the end of the world, that we needed to escape with such desperate urgency and dread is now just ok. We are like other people again sitting peacefully in our worst situation. It won't last Maisie the Amygdala will have another go, this is her reason for existence after all. But we go through it again. Don't run away, close the book, ask for more of that feeling until there is none left, drain the world of panic so that other people can be free from this soul destroying dread. And within a week of sitting through panics we learn very fast that really there is nothing to be afraid of with Maisie the Amydala. She is just an organ like any other and she has this effect, it is no longer the end of the world. We can panic and be left unharmed by it. Next then when we are calm if we want to start reading The Story again and exploring it, but never again will we let Maisie take that story from us and start driving the show. we are in control of The Story and we decide when things are dangerous Not our Amygdala!

Good luck.

Sunday, 22 July 2018

Functional, Imperative, Declarative, Monads, Abstraction, Decoupling, Dependencies... Delegation

A lot is written about all these things but there is just one goal: delegation.

A block of code will often do many things and have many effects and side effects including raising exceptions. This means the code becomes deeply embedded in the life of the program having links to many things... and the spaghetti starts making future changes, debugging and general understanding of the code exponentially harder as the program grows.

The goal of beautiful code is to create units which can be isolated, unplugged and replaced from the program easily. This means in the future, understanding what the unit does, debugging and changing it become a matter as simple as unplugging a light bulb regardless how massive the parent program is.

And this is achieved by delegation. In other words the unit does only what it is required to do and can leave all other details to the outside world. The USB socket being a great example: by abstracting serial communication the hardware of plugging devices into computers has been completely separated from what those devices are.

In React programming for example the issues of actually generating a page are left (delegated) to the rendering engine. All the individual units have to do is work out how they should look, but they never do any actually page building in real time... perhaps the engine won't ever need them... they don't need to care about events and the world of real world display any more than the engine of an HTML page has to worry about the details of internet packet transport.

Delegation is usually used to refer to dependency injection and typed wrappers for function pointers... but it is the same thing. When we encounter a delegate in this sense we can ignore what the delegate actually is in the "real" live world we just know what it should be by the function (type) definition. It is up to the user of our code to supply the actual delegate code, so we have delegated all responsibility to them... we can forget about it.

Encapsulation in OO is the same in reverse. Users of our objects can ignore the implementation, they can delegate those worries to us, exactly as how our objects are used we don't care about either... whether they never even get compiled into a final program or whether they end up controlling a space craft.

Functional programming is the same... a piece of code does one thing that is well defined.. the function user can delegate all responsibility to the function writer, all they know is that the function will transform their data in one way and one way only with no side effects.

In all these ways a block of code does just one thing, completely ignoring its context, and completely independent from its single (if possible) dependency... delegating in both directions all responsibility apart from what it is supposed to do.

By transforming* programs into indivisible units which do just one thing (single responsibility principle) and exporting all other worries to other units, layers and platforms we create easily maintainable and usable code.

*Transforming programs may not be one dimensional. For a contrived example we need to calculate the standard deviation of a set of numbers and also the magnitude. Both these require summing the squares of the numbers. We don't know for sure what the best way of summing squares is so in each implementation we delegate to another function and let that worry about the problem. This would be simple one dimensional refactoring. More sophisticated might be delegating all maths operations to a whole math layer which interprets math strings. So we transform our problem from calling a chain of functions on a data set to building strings which we export to something like Mathematica or R. "x={data set};magnitude(x)" has completely transformed the problem for a different environment. Consider how easy to change the strings for the Mathematica environment compared with actually changing the function chain.

Declarative and Imperative seem to me to be a spectrum. Everything is imperative to some extent unless writing in machine code. An imperative programming language like C is actually a declarative language for a compiler which will make optimisations and may not implement the machine code like the programmer intended at all. At the other end even Mathematica, a functional language, still requires a sequence of functions (or instructions) to be performed on the data, and while those instructions don't need to worry about loops and byte by byte operations they still instruct the engine to do this. Perhaps a lot of the confusion in these terms is that they are not entirely distinct.

Wednesday, 13 June 2018

Who Caused the Holocaust?

History makes very clear that the Nazis caused the Holocaust with their racist ideology of treating people they considered inferior worse than animals.

History also makes clear that the method used to commit this genocide was swapping water for toxic gas in the showers of various death camps.

There is a type of war history revision that claims the Holocaust never happened which is clearly hugely problematic because it is highly disrespectful of the memory of the tens of millions of innocent people who were murdered in the Holocaust.

But there is another revision I never see expressed which in no way questions the Holocaust, which there is no question happened, but rather it asks who exactly was responsible for it. I do not have enough time to make this hugely comprehensive but the argument is simple. Let me review some simple uncontroversial facts.

(1) The main cause of death in the Holocaust was starvation. All the images we see of the Holocaust are pictures of horrendously emaciated survivors and piles of utterly starved corpses. We know that the "showers" was not used on starving people but were for new captives. These starved people died from starvation.

(2) Britain was struggling with starvation during the war. One of Germany's strategies--indeed a central military strategy in any war--was to try and besiege England. Even with the huge global empire trying to send in supplies Britain struggled with food. Every ounce of land was dug up and turned into farm land and yet we still had rationing for many years even after the war ended.

(3) Of course Britain used exactly the same strategy for Germany, which was much easier after Hitlers failed attempt to capture the Russian grain belt in Ukraine and the gradual cutting off of ties to any allies. By the end of the war Germany had no food. Tied in with hyper-inflation of the Mark, from emergency quantitative easing, everyone in Germany was starving by 1945.

So we know that prisoners in the concentration camps would have been starving by 1945 simply from Allied actions alone regardless what the Nazis did. But that is by itself proof of nothing, it simply points out that the war had these people doomed even if they survived the Nazis.

(4) We also know that the system of concentration camps was set up early in the 1930s. There were well in excess of 1000 such camps. At the time the German logic was to recall "Germans" to the Fatherland from the parts of the Empire they lost in WW1. In turn they made room for them by imprisoning "non-German" people. In Nazi logic Germans belonged in Germany, and non-Germans were inferior people who were best employed as slaves. Its shocking to see this in Europe in the 20th Century but its the same idea we see across the ancient world. Even in "modern" Democratic Athens 90% of the population were slaves, and only the Athenian men were allowed to vote. Germany also had an unpayable debt to pay to the Allies after WW1 and it was the economic reforms and creation of work camps that enabled them to create and economic surplus. In addition Europe wasn't complaining in the 1930s, itself suffering from the US Great Depression fallout, and the cheap slave made goods from Germany were very welcome. Germany indeed was the slave of Europe, and inside Germany they made "non-Germans" into slaves, people such as Russians, Polish and most famously Jews. The thing to note here is that for over 10 years there was no Holocaust just slave camps and "sweat shops" with people being offered for cheap labour and hire in places like Mercedes-Benz and Pfizer. Officially the Holocaust began just before D-Day and the start of the Allied invasion of Germany in 1942. Suddenly Germans racist policies switched from slave labour to extermination.
(5)There is another "fact" that I heard from someone who had studied International Peace Keeping and in particular the huge humanitarian problem that faces relief efforts after wars. Few people speak of it but liberation of the Concentration Camps and Death Camps was not the end of the war for the prisoners. They were obscenely malnourished. If we imagine that Germany completely ran out of food in early 1945 these people would have seen no meal at all for months. The Allies were faced with a problem never seen before of how to feed so many millions of starving people. The extraordinary "fact" is that more prisoners died after the end of the war than during or before. In the unmarked mass burials we see being filled by bulldozers in film, there are more people who died in freedom than in captivity.

This all points to the utterly devastating impact of the Allied invasion of Germany on not only the German people, but also the Holocaust victims. It is not a question of whether the Allies contributed to the Holocaust, but rather how much.

Full disclosure. As a pacifist I am biased toward the view that war does not achieve beneficial outcomes for anyone. Clearly it doesn't benefit the victims of war on either side, and it is hard to find anyone who isn't scarred by the experience of war. But the unspeakable horror of empires fighting it out in WW2 is always overshadowed by the idea that we ended Nazi horrors. But there is no doubt that most of the Nazis horrors are actually war horrors, horrors of starvation and deprivation, and indeed before the war the Nazi horrors were the still no less horrifying, but more "recognisable" imprisonment of people in slave labour.

I say "recognisable" because of course the USA was built by slaves and slaves were only freed across the country after the civil war was fought to free them in 1865. That means there were men retiring in Germany as the concentration camps were being set up who were born while there were still slaves in the US. It has taken all of human history to end slavery, and it is still a relatively recent thing. I personally wonder whether it was the arrival of the steam engine and even cheaper labour than that provided by humans that really motivated the switch from human to machine we see start during the 18th Century.

It is often argued that WW2 was a copy of the American Civil War and was fought by the Allies who opposed slavery against the Axis who wanted slavery. But there is one inconvenient truth that rather clouds these noble histories we have. The Bengal Famine of 1943.

In 1943 the UK was at the height of its war effort to defeat Germany, and Germany had its U-Boats criss-crossing the Atlantic and North Sea in a desperate bid to try and cut off Britain's supplies and starve the country. Food from all around the British empire was being sent home to support the war effort. And then Bengal's harvest failed. For a year Churchill, his mind beset by a desire to crush German, ignored the plight of the Indians and continued to order the export of food from Bengal
to Britain. Millions died. The reports started to come back to a horrified public of gentlemen having to step over the piled up bodies of dead Indians outside their clubs. Public protest eventually persuaded Churchill to stop and reverse some exports to aid the humanitarian disaster, but not before his exasperated statement that the "Indians deserved it for breeding like rabbits." You can sympathise with him at one level that his war effort was being upset by an unexpected catastrophe thousands of miles away that he hadn't banked on. But it takes a particular type of cold heart to keep looking away that long from a problem. Churchill hated Indians, he viewed them as a subordinate race. It was not such a rare sentiment before the end of WW2.

So now we look at Germany in exactly the same situation. They have millions of slaves, not thousands of miles away, but cooped up behind wire in camps across Germany and Poland. And they work these camps to exporting supplies for a war effort. Food starts to run scarce and like Churchill they have no choice but to keep working them and starving them to keep the war effort going. Unlike Britain however Germany was losing the war, and didn't have a huge empire to turn to to feed its starving people. After the camps starved the rest of Germany soon followed.

Given this it looks rather possible to me that the Holocaust the Hitler really caused was actually the Bengal Famine of 1943. He forced Churchill to mercilessly exploit the Bengalis for their food. True Churchill hated Indians, but I doubt he had a heart so cold that he would not have felt compassion for them under normal circumstances. And in contrast it is Churchill who caused the German Holocaust. He forced Hitler to exploit his slaves to death, and starved Germany of the food needed to support them. True that Hitler hated these people, but we know that before the war there were no exterminations, so we can assume without a war he would have continued to run his slave camps until perhaps such time as Germany had a economic surplus by means other than slavery. But this is pure unprovable speculation.

There is then an argument, of great interest to me, that had WW2 not been fought then no-one needed to die. No one needed to lose their father, or mother, or children. No one needed to see their house destroyed, or the historic country become annihilated. No one needed these horror and these memories. Indeed had WW1 not been fought Germany may never have needed to build concentration camps and create a slave class to fuel its crushed economy. It is my personal conviction that when ever war is avoided we have selected the correct leaders, and we have chosen the path of peace and happiness. But when ever our leaders choose war we have made a grave error in selecting them and have committed ourselves much sorry and hardship. In this Churchill as the main architect of the war actually stands above Hitler. But between them they share the blame for the deaths of 1 in 30 people of all humanity at the time. And this is the gravest mistake mankind has ever made electing these people (although Churchill rather surprisingly was not even elected!)

What remains then after this account is the Other Holocaust, the infamous one, the one metered out with Germanic precision in the hellish Death Camps after 1942. There is no question that this horror is a scars that forever marks Mankind, an unforgivable blemish of which we are all be ashamed of. But unfortunately what has clearly happened is that in the haste of assembling a History of the War this Secret Holocaust, witnessed by just a handful of people, never directly attested to in any remaining document, done behind closed doors away from the view of even most Nazis, from which there were no survivors (no one escaped from the showers, even Victor Frankl in his most famous account of the Holocaust never actually witnessed the showers), has been confused with the utterly vast humanitarian disaster that unfolded after the Allied invasion of Germany. In my own mind the careless, or even unwillingness to seek a true history of the War does immeasurable damage to the memory of the Holocaust, and the people who lost their lives in it. If indeed Holocaust deaths can be attributed to Allied action, and it seems impossible that German Concentration Camp victims were not affected by the starvation inflicted by the Allies on the rest of Germany, it is easy to understand why there is little appetite for a true history of the War. It is easier to heap all 80 million deaths onto Hitler and the Nazis. Unfortunately I fear however this absolving of the Allies of blame does nothing to wake people up to the cost of war, and nothing to prevent such a thing again (as indeed it is happening right now in the various theatres of war the Allies have opened up since 9/11 with millions displaced and hungry in Iraq, Syria, Afghanistan and North Africa from Allied intervention). Without proper Historical Accuracy then what do we Remember on Armistice Day, and what exactly are we trying to stop happening again?

Friday, 4 May 2018

Meaning and the World exists in the Gaps

I am evolving a genetic algorithm to find a machine to play the stock market. What is remarkable about the inputs is that it doesn't matter what the numbers are. All that matters is that my machine makes lots of money, and it doesn't matter how it does it. It is a black box.

What is extraordinary about black boxes is that the inside is meaningless. Analogous to Schrodinger's Cat and exactly like Structuralist Philosophy what doesn't matter to the observer doesn't have any meaning.

So I have a SELL and BUY signal which I have set arbitrarily to 0 and 1. When the machine produces a 0 it sells, and when it produces a 1 it buys. There are millions of machines in the population and none of them actually know what a 0 or 1 is. As a result I could use any number. But which ever number I use, the genetic algorithm will gradually evolves a population that uses that number well to make money. Importantly without knowing what a 0 or 1 is. 0 and 1 is the meaning that we outside the black boxes assigns these characters. In the machines they have quite different meanings.

However regardless what number I use the winning machines will be isomorphic. That is to say that were the SELL/BUY signals equal to 100,150 then I could take a machine that responds to 0/1 and replace the 0 with 100 and the 1 with 150. Now if 100 and 150 were symbols already taken then I would need to carry on swapping symbols until every unique symbol was replaced by a unique symbol. The point is that 0/1 and 100/150 are just symbols and their meaning comes from their position in the system. The symbols do not in themselves have meaning, but only in the relation to the other systems symbols. The meaning is in the gap, not in the actual entities of the system.

This reminds me of Searle's Chinese Room argument. He is right that the meanings attributed to the symbols coming out of the room belong outside the room to who ever is reading the output. Meanwhile the meanings inside belong to the history of that machine--especially meaningful in the case of a machine produced by a genetic algorithm, but equally to a machine designed by a computer engineer with all their knowledge and expertise. A computer is a meaningless black box to anyone not involved in that history and training.

Were one take two Searlean Chinese Rooms and make them isomorphic by simply translating symbols we can see patently that the symbols themselves do not carry meaning but rather the way that they are used. Wittgenstein take a bow. But this extends then beyond any particular structure itself be that symbol, character, word, sentence. In Chinese a whole sentence of English might be expressed by a single symbol. The point is to entirely shift understanding away from seeing the units of a machine as meaningful in themselves but to see their meaning coming from their position in the system. Meaning exists in the gaps.

SRH can pop in here. The gaps cannot become new symbols! For then just move the meaning into the gaps between the new symbols. Gaps are not symbols, they are relationship between symbols in a dynamic and tight system.

This is the general problem with traditional Western Thought that it is materialistic and sees the world existing in "things" that are made from "atoms". Yes there are "things" and "atoms" but the world exists between them. That World is what in Buddhism is called Mind and in Hinduism is called Om and in other religions is called Abrahamic religions is called God. This is where energy, people, society and consciousness enter the picture of the world, which all seem oddly missing in the materialistic view.

It is an odd things that while academically the world is made from things we don't live like this. We live primarily in a world of people: what a sad empty existence it would be if we really lived in a world of things. The problem with Capitalism is that gradually this materialistic view is gaining ground and people are starting to live in a world of things. It is a very slow change tho, and for the most part we live in a world of people. Capitalist at the end of the day while dominated by property is still a system made of people and people exist in the meaning and the vast gaps between the things of this world.

Returning for a second to posts on the dark part of humanity it occurs to me with psychopathic killers that while they report having no care or empathy for other people and appear to live in a world of just themselves this is actually a self deception. Killers report the huge sense of power, satisfaction and achievement in killing. If they really lived in a world of just them then why not kill a tree or a stone? The killer understands fully that they live in a world of other people that is why killing is such a big deal to them, they fully understand what another person is. The problem arises in that they relate to other people unequally - they seek to dominate the other person. And this because they, ironically, perceive themselves inferior and feel the need to address that imbalance. So the darkest humans exist in the gaps as much as any person, but they do not see this themselves... which will annoy them hugely as they tend to be quite intelligent people. The brightest human beings also live in the gaps, but in contrast to the darkest they can fully let go of the "things" and enter that infinite space between things.

I once asked a Buddhist what meditation was and while I still don't fully agree with what they said it is very illuminating: if you slow your thoughts down and enter the gaps between them, in there are wonderful things. And so it seems to be: a fixation on the things of this world blinds us to the source of meaning that lies between them in how the world and God moves, and what we do with our time. Which at the moment is blogging and not exploring genetic algorithms.

Thursday, 26 April 2018

A Fools Guide to Flat Earth

After exploring mathematically the problem with flat earth in a previous post it is much more easily seen visually.

Here again is one version of the Flat Earth: the Azimuthal projection. The thing to note in this projection is that the distance around the disk increases as you travel away from the North Pole. By the time you get to the South Pole it is more than 6x the distance from the North Pole. This is the only map with this distance property.




The Globe Earth model viewed from the South looks like this. As we move away from the Equator the distance around the globe shrinks to zero at the South Pole. This is the only map with this distance property. Unlike Flat Earth models it can only be drawn in 3D.



Distances around the globe are a copy of the North but in reverse. This is hugely different from the Azimuthal where distances around the Earth continue to increase away from the equator rather than reduce again.

Attēls:Northern Hemisphere LamAz.png

The result of this divergence becomes very obvious in places like Australia.

Now look at actual distances on the maps. On the Azimuthal the distance across Australia is roughly the distance across Asia (about a little finger on my screen). On the globe the distance across Asia is more than twice the distance across Australia. There is a huge difference in distances.

As described more accurately in the previous post Google Maps uses a very simple distance estimating tool based on a globe model. I recreate it accidentally in the post. IF the world really was Azimuthal then this tool would give distances 2/3 too small in Australia which would be really noticeable. I spoke to some people who had lived in Sydney and they confirmed that the distance to Canberra is about 2 hours drive and not the 3 hours that an Azimuthal flat earth predicts.

It is fairly simple to show that the world is not Azimuthal Flat Earth. However there are an infinite number of other flat earth maps. And while each flat earth can be chosen to approximate the globe in some region, they all suffer from the same problem of huge divergence somewhere else. Given a particular Flat Earth model it is fairly trivial then to determine the region of divergence and get some simple car journey or shipping data to confirm which model is most practical.

Of course the Earth is not an exact Sphere any more than it is an exact Disk. But, approximating it to a sphere gives remarkably accurate results. I still cannot believe that Google only uses a simple Cosine Rule to estimate global distances, and that appears to be good enough across the globe. At least I've not heard people coming back from travels complaining their phones were out. This fact alone suggests the Earth really is very close to a sphere.

There was a time when we didn't travel much where a flat earth model really was good enough. But every region of the world would have its own flat earth map. To have a single model that works for all places we need to shift into 3D and have something like a global model.

Sunday, 22 April 2018

What is out there?

The usual view of the world is that it is just there. But then we discover things and we realise that there are new things to find. This realisation makes us aware that we didn't know everything before. So as discoveries mount up the question starts to arise "can we know everything?", or "are discoveries and endless thing?" which is a similar question to "how big is the Universe?"

Discovery exists in every field of knowledge. Land discovery and exploration is a good model that fits all. We can always be sure that what we have discovered is definite, like the land on which we stand: that much is certain. But as discoveries mount up our understanding of what we have changes. we find a sea around the land and realise we live on an island, and then as discussed recently, we discover a boundary around even the sea which appears to be roughly a sphere and we realise we live on a planet. All the while where we stand does not change but out knowledge and ideas change and the context of what we have changes. Discovery is as much about discovering new lands as changing the context of what we have. Many films exploit this like for example "The Matrix" where even the certain reality of our senses has its context changed to a computer simulation by discoveries revealed by following Neo. Context, or interpretation, of what we have is what the thoughts do, they are a very powerful sense that we have. In meditation we learn to ignore it for a while and return to just what we have: our tendency can be to spend to much time in "interpreting" the world and allowing "context" to colour what is real. This leads ultimately to mental illness where our thoughts become so dominant that we can no longer just live with what is there, can no longer see the land on which we stand, and instead have our minds obsessed with thoughts like is the world round or flat, will we fall off one day, is there something solid beneath my feet and a million thoughts many of which lead to insecurity, ungroundedness, anxiety and fear. All that said, the mind sense, when controlled, is a formidable way to experience the world one that literally gives a new dimension to what we sense.

All this related to the question "what is out there?" by framing where that question applies. It does not apply to the world we commonly experience--that is just there--it is a question about the mind itself and its ability to provide interpretation and context. It is a question not about the land on which we stand--which is just there right now--but on what the ultimate context is: land, island, globe, planet, solar system, galaxy, galactic cluster, universe, multi-verse, multi-multi-verse... atom in the toe of a giant... computer simulation... thought in Gods mind... Where ultimately and I? The answer lies not in discoveries but in the mind itself.

So we have 2 possibilities. Either the discoveries accumulate to a final point where there is nothing left to discover and our minds are the same as reality. Or, there is no final point and discovery is an endless thing.

I hope the preceding analysis forced a big enough wedge between what is real and beneath our feet, and what we think about that and the context in which it lies. They are different things. There is no reason to believe that every discovery of new land changes what we have: all men stand on the same small square of land no matter how much they know, or how much the own. This is reality. What we know and what we own are simply contexts provided by our brain. It should be quite obvious that discoveries need not ever end.

The SRH in this blog points much more precisely to why there is no end to discovery. Supposing we did discover everything, wouldn't the fact that we have discovered everything be a new thing to discover. We cannot put such a limit around discovery; such a limit would simply provide a boundary over which to explore. Anything boundary that the mind can fashion to try and end discovery simply becomes a new target of exploration.

Suppose physicists created a Grand Unified Theory to explain the basic physics of the universe. This is a boundary. The next exploration and question is why is it like that? Answers might be that we are just one of infinite multiverses and it is random, so we are just the one that ends up being like this. But then we have a whole branch of physics to do with the rules governing the creation of multiverses that is beyond anything we have ever dreamed of within this universe. Like Cantor discovered in mathematics, even something as simple as numbers has unbounded infinite complexity: you simply cannot put a boundary around it, because as soon as you create a boundary around numbers you can start counting those boundaries. There are an infinite number of infinities... etc until you head explodes.

It is not certain, but everything points to there being no final absolute context with which to explain what we have. Yes I live on an island, on a globe, in a solar system... but is that within a single universe of a multiverse or in a computer simulation of something stranger... there is no final answer. And, at the end of the day it is all just thoughts... albeit fascinating and illuminating thoughts.

So what of God. Many take God to be the unlimited expanse beyond the known. This is absolute correct as long as God remains unbounded within the mind. As soon as we give God a name, give Him qualities and dare start to Own him, or think we know Him then He is no longer God and just represents our own Ego. To fight in the name of God like so many have tried to do in the Past is a direct contradiction of our very knowledge of God. He is infinite and beyond description. How can we be anything but subservient to such a conception. we can certainly never presuppose to know God, or think we have special favour with Him. For all these people who would rise up in the name of God, sadly their fate is as much Satan as those who would knowingly honour Satan... at least Evil people have the one virtue that they are honest, unlike the virtuous who hold themselves up towards God in pure vanity.

There being no final answer is the best answer there can be. It reminds us that our thoughts are just there inside our heads, a very limited sense like our eyes and our smell. It is Mankind's ego and arrogance that makes us think our thoughts are more powerful than they are. Thoughts are limited and the discover of that is essential to the humility we need to live well and happily in this world.

US displaying its Imperialist credentials... yet again

Wanted to know the pattern of UN votes over Venezuela and then got into seeing if ChatGPT could see the obvious pattern of Imperialism here....