All Things Techie With Huge, Unstructured, Intuitive Leaps

Time For Data DNA



I'm thinking of having my DNA tested because most days, I feel that I'm not me. Weird ideas keep popping into my head. Yesterday I was thinking about data & analytics.

As a data science aficionado, I like to keep every scrap of data. I like to find things that the data tells me. Most of the time it tells me that my life is boring & I should go outside for a walk or find a way to get a private jet or something. But a thought with more gravitas struck me. Mother Nature doesn't keep a database of every animal, plant or cognitively-impaired Trumpkin ever produced. The pattern is kept in DNA. Whenever she wants to play dice with the universe, Cupid sends an arrow thru the hearts of polar opposites in the fat tails of a population distribution, and interesting things happen -usually in a manner where interesting is like circus-interesting.

So back to databases. Other than keeping an entry of identifying things like name and address, why do we have to have multitudinous tables for metadata about a specific humanoid. Why can't be have a classifier that stores a short hand model like DNA? This would be helpful for merchants holding customer data. After all, any merchant has a finite number of customer types. There has to be a better data way.

(originally appeared as a Linked In post: https://www.linkedin.com/in/ken-bodnar-57b635133/ )

Blockchain Confusion



If confusion is the first step to knowledge, the world is full of geniuses. I am still regularly confused by many things, including supporters of the US President & why a round pizza comes in a square box with triangular slices.
There are still people out there who understand the basic tenets, benefits, disadvantages & potentials of blockchain without an intrinsic understanding of blockchain transactions. For simplicity, lets define transactions as an entry to the blockchain.
Do transactions get pooped out in neat, little, synchronous, linear blocks? Yes, No & Maybe.  How's that for a quantum answer?
In many blockchains, there are blockweights or block size. Transactions go into a transaction pool & nodes start to pack them in blocks. Once the limit is reached, a block is emitted. When you expand the 2nd pic below, you will see that a Bitcoin block has between 750-2,700 transactions. Transactions may not be in order. If a transaction is stalled because of validity or any other reason, or arrives after the packing process starts & other later transactions in the pool get picked up first, then the transactions aren't in order. But there are also blockchains where a single transaction is a block. It depends on the guts of the blockchain.


(originally appeared as a Linked In post: https://www.linkedin.com/in/ken-bodnar-57b635133/ )

Excited About Tech



Excitement in Life is usually like your dog's experience of going to the vet. They get all excited about the car ride until they find out where they are going. Unlike the mundanities of life, I can get excited about applying new concepts to things like blockchain and coming up with neat stuff that could disrupt so many things. If I wasn't busy earning a living, I would build stuff in a skunkworks. If I had money, I'd be dangerous (and rich)!

So what is some of the stuff that is whetting my excitement (and wetting my pants)? How about concepts in secure multi-party computation? This is a hugely under-exploited field. I would find/build/buy the hardware for a blockchain mobile phone. I would do some applications in Oblivious Transfer Cryptography (google it). I would invent a small footprint blockchain for personal use (Ken Olson, founder of DEC said in 1977 that there is no reason that anyone would want a computer in their home. Blockchain is at the same stage.) And who wouldn't be excited by conceptualizing Utility Fog ( https://lnkd.in/dJfjVpg ). So much to do and so little time.

Of course, it wouldn't preclude me from fun. I'd also make a lot of fun stuff too, like the electric dog polisher, instant water powder (just add water), and a fur-lined sink.

(originally appeared as a Linked In post: https://www.linkedin.com/in/ken-bodnar-57b635133/)

Setting Up A Wordpress Website On A Centos Virtual Server Using Apache



OK, so the web developer sends you a Wordpress zipped directory. Over to you. You have to set it up on a clean virtual server with Centos 7 Linux, and Apache web server. Here is a quick walk-through with some problems to solve along the way.

Necessary Security

Most of my applications are fintech related and have to be hack proof,so the first objective was to get rid of username/password authentication and sign in with a private key.  The instructions for doing that are found here:  https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server

So once you log in with your key, you want to be root so in the terminal program. I use PUTTY ( https://www.putty.org/ ),  Type in:   sudo -i

Creating A Certificate Signing Request To Make Website HTTPS Secure

You want to make a website secure so you need a certificate to allow you to use https. The way you do that, is you type into the PUTTY terminal:  openssl req -new -newkey rsa:2048 -nodes -keyout your_domain_name.key -out  More details found here: https://www.digicert.com/easy-csr/openssl.htm

The output is a .csr or certificate signing request. A key is also created in the form of your_domain_name.key.  The .csr is a text file with the key request. It is a bunch of numbers and letters - a big bunch. Go to your certificate authority (I use Godaddy) and request a Certificate (they cost around $60) and paste in the CSR file that you made when they ask for you.  You then download a zip folder that has two certs or certificates. One is for the server. One is a certificate bundle for the Certificate Authority (in this case Godaddy who buys them from MacAfee), and you will also need your_domain_name.key that you made with the openssl command.


An Ordinary HTTP Website Without SSL or Certificate

For an ordinary website without the certificate, you will need to modify /etc/httpd/conf/httpd.conf.  I like using the vi editor.  It is vi /etc/httpd/conf/httpd.conf.     Hit Shift + i to insert. Scroll down to the Listen directive and type in  Listen 80 to listen on port 80. Hit escape, type a colon and enter wq for write, quit and you are done.

Then you need to go up a directory and go into conf.d and make a file called mydomain.conf that looks like this:

<VirtualHost *:80>
ServerAdmin yourname@yourmail.com
DocumentRoot "/var/www/html/nameOfWebStuffDirectory/"
ServerName myDomainName.com without the www.
ServerAlias www.myDomainName.com
ErrorLog "/var/log/httpd/domainName.com-error_log"
CustomLog "/var/log/httpd/domainName.com-access_log" combined

<Directory "/var/www/html/nameOfWebStuffDirectory/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>

Save the file. Then go to /var/www/html and make a directory with the name as above  nameOfWebStuffDirectory  using the mkdir command. SFTP all your stuff to the server and move it the new directory in /var/www/html/.  Now you want Apache to own the files so you type this in:  chown apache:apache -R /var/www/html/nameOfWebStuffDirectory/ 
You should also check the permissions. All folders should have chmod 750 foldername and all files should have chmod 640 filename.

MySQL Database Setup

Generally the web developer will provide an sql script. You load it in the usual way.  If the sql script doesn't have the "create database" directive, you have to do it manually:

mysql -uroot -pPASSWORD
create database database_name;
exit

Then you load the database:
mysql -uroot -pPASSWORD database_name < sqlfilefromDeveloper.sql

You have to go to /var/www/html/nameOfWebStuffDirectory   and edit the wp-config.php Wordpress file to change the name of the database to that of what you created. You also have to enter a username and password for the database. Again, I use vi as an editor because what I am used to. As a final step you have to update the Wordpress siteurl and home in the database:
mysql -uroot -pPASSWORD database_name
update wp_options set option_value='http://myDomainName.com' where  option_name='siteurl';

update wp_options set option_value='http://myDomainName.com' where  option_name='home';
exit
If you are using https, you should use that for the domain names in the update statement.

Start Apache
Then you start Apache with apachectl start or you can use /sbin/service httpd start. Other possible commands are stop and restart with the same command syntax.

The Dreaded 403 Forbidden Error With Wordpress
After uploading your files and doing all of the correct things, I was hit with the website being unable to load and the browser displayed 403 Forbidden You don't have permission to access ...   There are four possible things to fix. The first is a corrupt .htaccess file in the root directory.  Change its name to something else. If you website works you have found the problem. The second is actual permissions problems. All folders should be chmod 750 and files should be chmod 640. The third possibility is corrupt plugins. Disable all of your plugins by renaming the plugins folder located in wp-content folder. If you website works, then put the name back on the plugins folder, go inside and rename them all. Then add one at a time until you find the corrupt one.  If that is not your problem, then the last thing to do, is to type in the following two commands as root:

setsebool -P httpd_enable_homedirs true

chcon -R -t httpd_sys_content_t /var/www/html/nameOfYourWebRootFolder/


Using SSL And Certificates for HTTPS Secure Website

Find the certificates that you got when you bought them and uploaded them to the server. You should have a server certificate that is just a bunch of letters & numbers with a .crt.  You have a CA bundle cert and it should have the word bundle in the title. And you need your mydomain.key from the CSR operation described above. Move them all using the mv command to /etc/ssl/certs/.  Then you run the following command: restorecon -RvF /etc/ssl/certs/ 

Force Apache to Use HTTPS Pages & Files

To force the Apache to use HTTPS all the time, you must re-write each http url.  Go to /etc/httpd/conf and edit /etc/httpd/conf/httpd.conf.  Add the following lines at the end:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]

Then you must create an ssl.conf file.

Create The ssl.conf File

Go to the /etc/httpd/conf.d directory and you should find a file named ssl.confrpm.new. Copy it and name the copy ssl.conf.  Edit it.  Here are the fields that you should edit (the comments are from the file and are reproduced here so you can find the fields):

#   Enable/Disable SSL for this virtual host.
SSLEngine on

# General setup for the virtual host, inherited from global configuration
DocumentRoot "/var/www/html/nameofFolderWebStuff"
ServerName www.yourDomainName.com:443

# Use separate log files for the SSL virtual host; note that LogLevel
# is not inherited from httpd.conf.
ErrorLog logs/ssl_error_log

#   Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate.  If
# the certificate is encrypted, then you will be prompted for a
# pass phrase.  Note that a kill -HUP will prompt again.  A new
# certificate can be generated using the genkey(1) command.
SSLCertificateFile /etc/ssl/certs/serverCertname.crt

#   Server Private Key:
#   If the key is not combined with the certificate, use this
#   directive to point at the key file.  Keep in mind that if
#   you've both a RSA and a DSA private key you can configure
#   both in parallel (to also allow the use of DSA ciphers, etc.)
SSLCertificateKeyFile /etc/ssl/certs/yourDomainName.key
#   Certificate Authority (CA):
#   Set the CA certificate verification path where to find CA
#   certificates for client authentication or alternatively one
#   huge file containing all of them (file must be PEM encoded)
SSLCACertificateFile /etc/ssl/certs/gd_bundle-g2-g1.crt

You may need to add this under the first directory section:

    <Directory /var/www/html/webstuffDirectory>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    </Directory>

Save the file. Then start the apache server:  apachectl start.

Sending Mail And Apache Linux Will Not Send Mail Problem

First of all, let me state that if you are on a virtual server in the cloud, or you are with AWS Amazon, Google Cloud or Microsoft Azure, you cannot send or use Linux sendmail on Port 25. It is blocked.  That's because unscrupulous pigs would create a virtual, send a million spam, tear it down and do it again.  So lets deal with the issue first that sendmail doesn't work and you are on a non-cloud server or at least an ISP that lets you send Linux mail on port 25.

Most distributions do not have send mail. To find out if you have it: netstat -tnlp | grep sendmail
If you don't have it, install it: sudo yum install sendmail-cf
Then you have to edit your daemon options. Edit the /etc/mail/sendmail.mc file. Look for the entry:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

Change it to:

DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
Save the file, run: make
Then restart sendmail: sudo systemctl restart sendmail

If you still can't send mail, you have to make sure that port 25 is open on your machine. There are a couple of ways of doing this, either with the firewall daemon, or the iptables depending on what you have running, but that is beyond the scope of this post. Google is your friend.

But I did get around sending mail on a restricted server. You have to use a legitimate SMTP relay. I used SendGrid https://sendgrid.com/ The first month is free and allows you 40,000 emails, and each month is around $10 afterwards. They have various plans.

There you have it in a nutshell.  If I had this before I started, I could have saved myself a day of heartache.

How Many Files And Folders Are There On A PC Laptop


Did you ever wonder how many files and folders that are on your PC ? I just ran a full scan over everything on one of my laptops. I was surprised to find out that I have over 6.5 million files in over 118,000 folders on my laptop.  In the pre-internet days, I could never imagine all of my stuff in over 6 million file folders. Information explosion and Big Data !!!

Of course, my computer may have more files than the average person, because this computer is used to write software.

Superrationality And The Fact That Bitcoin Has Become A Religion



Superrationality

From Wikipedia, the free encyclopedia: In economics and game theory, a participant is considered to have superrationality (or renormalized rationality) if they have perfect rationality (& thus maximize their own utility) but assume that all other players are superrational too & that a superrational individual will always come up with the same strategy as any other superrational thinker when facing the same problem. It is the triumph of Reason over Dogma. When it comes to Blockchain and Bitcoin, Superrationality is very rare. In the case of Blockchain, a lot of "Blockchain consultants" are like a guy with a hammer where everything looks like a nail. ICOs are the same way -- they want to tokenize everything, not realizing that there is no one size fits all.  Not everything benefits from tokenization.  Some do not realize that blockchain has another intrinsic function that is highly overlooked. It can organize human activity in a way that it has never been organized before, either on a virtual or real plane. This area is highly unexploited (and profitable). And Bitcoin unfortunately has become a religion. Rabid believers buy and hold through amazing cyclical volatility, while superrationists buy low, sell high and repeat when necessary.

How To Run An ICO And Be Disruptive



I get invitations to participate in ICOs every day. Mostly I get asked if I want to buy crypto tokens. But I do get a lot of requests to join as an advisor or  to create the coins.  I reject > 99% of the requests? Why? Because most people conducting ICOs do not understand disruption and the awesome power of tokenization. And they do not understand that tokenization and conventional economics and commercial activity are immiscible.  Tokenizing something has to be disruptive. If you are trying to tokenize existing processes, you will fail. You have to totally disrupt them.  If you are trying to tokenize something completely different, you are on the right track.  If you are trying to break existing patterns and processes with tokenization, you are on the right track. If you are trying to change paradigms with tokenization, you are on the right track.  If you are trying to solve VERY challenging problems in unconventional ways, you are on the right track. The very last question that you should answer is this: Am I disrupting at the right level? For example, if you are trying to disrupt the buying and selling of widgets, perhaps you are at the wrong level. You should be trying to disrupt the widget industry.   My two cents.

Bitcoin SPLAT !!!


Splat !!! That's the sound of my Bitcoin hitting floor after dropping.  Reminds me of the parachuter's song. Fell unto the runway like little blob of %^*& ! And it ain't gonna rise no more!  Dropped like flies on a winter window pane.  Dropped like Trump's approval rating. Dropped like 3rd period Latin in high school. Dropped like a hit of acid. Dropped like a kid at the pool. Dropped like a sack of bricks from a scaffold.  Dropped like a dead donkey. Dropped like the drawers of  a ______, dropped like Cleveland Brown's pass, dropped like Fox dropped Bill O'Reilly, dropped like a Bill Cosby victim, dropped like a lead balloon,  you get the picture.  You gotta love it when your "investment" drops by 42%. I have to laud that woman who was on LinkedIn (an investor) who said that she sold every bit of Bitcoin she had once it reached $17,500.  Buy low, sell high.  Right now, I feel for the folks who bought in the $14-17,000 range.  Here's hoping that like the ingestion of Viagra, it too will rise again.

Crypto fund domain name for sale



I was never aware of the ".live" domain name.  I was looking around registering domains for my ICOs and when I went to check out, I saw CryptoFund.live in my cart, so I bought it anyway.  I really don't need it. If someone wants to buy this domain name from me, you know where to reach me.

https://www.linkedin.com/in/ken-bodnar-57b635133/

Report ICO, Crypto and Other Scams





In the past few days, I have had LinkedIn connections report people who have conducted ICO scams, or shady characters on LinkedIn.  Some of them connect with me just to spam me.  I've had a connection and immediate request to process anonymous money transfers to the Cayman Islands.    A couple of us have  decided to create a reputation blockchain with query of scams, ICO fakes, charlatans, shady characters, pirates of the Caribbean, swindlers, carpetbaggers etc. If you come across egregious characters, ICOs or anything that gives our blockchain/crypto  industry a bad name, drop an email with particulars to DataPrivacy@mail.com.  Eventually there will be a website with a query input.  If there are no reputation issues, you will get a thumbs-up emoji (with the disclaimer that there are no adverse reports), and if there are reputation issues you will get up to 5 thumbs-down emojis.  Thanks in advance.  (If you would like to contribute a bit of Bitcoin to help the effort along, a wallet address is:   1NfcRwZac5XrYQLkNQtBa8WBpemYpqEiwU  )

The Future of Things: Tokenization and Blockchain


I was an early adopter of the internet. It was put on my desk when I worked in a communications research lab. At the time, there were usegroups (electronic bulletin boards) and scientific papers.  It was neat but it didn't seem like much. There was no Google. There was no search.  The way to discover sites was with a spider written by a guy name Bob who had a Cool Sites that he spidered (web crawled).  A little while later, the very coolest and neatest thing on the internet, was a picture of a coffe pot in an English University that refreshed every 15 minutes.   I thought that it was neat, but at that point in time, I could not even envision how dramatically the Internet would change life.

Blockchain is at the same point as the nascent internet.  People will say "Remember the good old days of Bitcoin?" like they reminisce about Blockbuster Videos and America Online CDs.  The way that #Blockchain will revolutionize life, is through its ability to organize, monetize and revolutionize human activity and assets (actual and virtual) through TOKENIZATION.  Life will be almost completely tokenized with an astonishing interoperability of all things digital.  I intend to contribute to that tokenization effort. The best way to predict the future is to invent it.

A Possible Technology Solution To Fake News



I just read an article in Finance Monthly about how fake news is killing the economy, and it is really disturbing to me, how various sectors of the political scene can assert a total untruth and have thousands of sheeple believe it to be gospel. I keep thinking that surely we are better as a people and more enlightened, but apparently that is not the case. We seemed to have regressed over the last couple of years. Fake news has turned into a monster, and certain classes of people cannot find direction their moral compass enough to fight it. So maybe technology can offer some solutions.

Thanks to some of my friends at @Microsoft , I once read a bulletin put out by them with a title that resonated with me. It was the differentiation between attackers and defenders. To be successful in fake news, you cannot just merely defend the truth, you have to attack the fake stuff. There is a difference between those two actions. Defenders use lists in their arsenal of tools. Attackers use graphs. That was the Microsoft assertion and it is true. All techies will have nodded when they have read the sentence about attackers using graphs.

When I talk about graphs, I don't mean those pretty pictures that Excel puts out of profit and loss, or the rise of the price of Bitcoin over the last year. I mean graph in the sense of mathematical graph theory. If you aren't up on this, let me explain. A graph is a theoretical structure amounting to a set of objects or ideas of which some pairs of objects or ideas are related. How they are related (or the lines connecting them) are called edges. The objects or ideas are called nodes or vertices. Graphs are a part of discrete mathematics that can translate easily into real life scenarios. A picture is worth a thousand words, so here is a picture of a graph.


You will notice in the above graph there are things (nouns) which are the vertices or nodes and there are states (is, lives, has) which are the edges. Edges have properties. and the properties can have sub-properties. A sub-property in this case is that the edge is directed with an arrowhead. This makes the information in the graph semantic -- or composed of meaning that is apparent by the structure of the graph. The nice part is that there are discrete mathematical methods for traversing the graph and extracting not only data, but knowledge. A graph is capable of creating a level of abstraction. For example, the discrete data is a news story. A level of abstraction is the assertion or inference that the particular news story is fake news.

When fake news appears, the defenders of the truth manage it in list form. Here is their list:


  • How many untruths are there? List them.
  • Find countervailing documented data to refute.
  • Do for all untruths.
  • Come to conclusion that the whole article is fake news.

In the meantime, the originator of the fake news uses a more complex graph-like function to promulgate the fake news. It starts with an inconvenient truth that is pejorative and an attempt is made to neutralize it. First they must define the audience that is ready, willing and able to uncritically accept any falsehood. They must also craft the "alternative facts" to be plausible, at least possible if high improbable. Then they have to find the opportunity and the medium to place the fake news. This involves a network of perfidy that is a graph of the underbelly of spreading falsehoods for personal, pecuniary or political gain.

So, the solution is that there must be an impartial, balanced methodology of determining and labeling fake news. This is the nub of the problem. Other problems are that the sheer volume of news coming out, makes human content moderation almost an impossible job, unless you have deep pockets like Google or Facebook. Although, from past experience, Facebook is for sale to anyone who wants to buy ad space, Russian trolls and democracy-destabilizers and all. The obvious answer is machine learning and artificial intelligence monitoring and labeling fake news. You can't suppress fake news, no matter how egregious the lies are, because of the First Amendment and Freedom of Speech, but you can label it with the Scarlet Letter of fake news and those who cite it, are obviously lacking some cognitive ability.

What does the Fake News BS Detector technology stack look like? First you have to give the system some context for current events. This is where AI comes in. Graphs have to be created and semantically understood. Luckily for this, we have wonderful graph databases. My current favorite is @Neo4j. Some of the graphs that your AI machine will create will be something like this:

CREATE (djt:Person {name:"Donald J. Trump"})
RETURN djt
MATCH (djt:Person {name:"Donald J. Trump"})
CREATE (djt)-[status: HOLDS_OFFICE] -&gt; (potus:Position {name:"President"} 
RETURN djt, status, potus

The above happens to be a simplistic example of Cypher, the language used to create graphs in Neo4j. You get the idea. The AI machine does lexical, syntactical and semantic analysis to create the graphs,

So you run the AI machine, and you get a bunch of graphs. I was a little stumped as to how to teach the machine true from false one the semantic analysis was complete. You need some human intervention somewhere at the beginning of the cycle, and I wondered how to do it. However, just recently, I read a seminal article by Dimitri De Jonghe about Curated Governance with Stake Machines and the light bulb switched on, and I got the Eureka moment.

I wasn't totally unfamiliar with Dimitri. He is one of the key members of the @BigchainDB team, and I had communicated with him on smart contracts, and they graciously granted me access to the Github on smart contracts before it was released.

The article on Curated Governance with Stake Machines is a perfect example of how our lives will be tokenized by blockchain. Essentially what you do is steer token holders to earn more tokens by curating items (graphs) that are or are not fake. The token holders themselves have their opinion rated by reputation and bias that are empiricized by the curation automata. Essentially, you have created a token-curated registry of graphs. These curators could be reporters and news media types, just like Reddit editors. Let me quote from the article linked above: So long as there are parties which would desire to be curated into a given list, a market can exist in which the incentives of rational, self-interested token holders are aligned towards curating a list of high quality.

Naturally these verified graphs would be stored in a data-centric blockchain like BigchainDB, which could also handle the tokenization of the curation. The data payload of BigchainDB is well suited to textual or tuple key:pair representation of graphs.

Now onto the automatic part. Suppose you built the machine and Twitter bought it to scan posted items and put a red stop sign icon if it is fake news. You have the consensus of the curators for a graph, for example, that Entity: "Russia" -&gt; Action: "Interfered" -&gt; Object: "US Election 2016". The fake news article is read by the platform and feed into the stack. The algorithm to check for fakeness can be a method like Latent Dirichlet Allocation. This throws data as a document at the platform and allows the platform to sort it out, as opposed to having a manual model. If you are a techie and have done eCommerce recommender systems, you will see that this is similar matrix factorization models. If the previous sentence is Greek to you, essentially you have a matrix where the rows are documents and the columns are words. These matrices are not exactly a sequence of words, but rather of the index of the words found in either the nodes or edges of graphs that you already have. Thus, you can calculate a probability (known as a Bayesian process) of the new item being fake or not. This methodology is a generative model, meaning that you can generate examples of fake and real news and it knows the difference.

This type of architecture can be extended as the number of meme and graphs grow, using an algorithm called Hierarchical Dirichlet Process where the number of topics chooses itself automatically and grows according to the input data (that can be assisted token curated when necessary) via non-parametric machine learning.

These ideas need some research and development, but they could point to a way where we have "trusted" news adjudicated by machines that were "taught" by trusted token curated registries.

We really need to do something about how we have degenerated as a human species from the ethical and altruistic, moral high ground of the truth, to a third of the American people willing to believe lies in spite of what rational evidence tells them. Perhaps it is time for the machines to step in.

The Advanced Math Behind Caramel Squares and Buttered Bread Hitting the Floor


Some people just don't appreciate the math that underpins our classical universe. Like today, for instance.  When I dropped this cooling rack of buckwheat caramel squares, exactly half of them landed sticky-side down on the floor.  It was the same experiment to test if a piece of buttered bread or buttered toast would end butter-side up or down. It was an amazing probability distribution of 0.5 in spite of the multi-variate inputs, force of gravity, varying weights, force of swearing, etc.  The randomness of it all conformed to theoretical statistical probability in this ad hoc Monte Carlo method.  She-that-continously-disapproves-of-me was not impressed with this experimental result and the exactitude of the value of observations.  I guess some people just don't have a mind for maths.  (In case you counted the squares and came up with an odd number, I ate the one that suffered the most topological deviation when it transferred its potential and kinetic energy to the surface of the floor.  Deceleration has no impact on flavor on impact.  Inquiring minds want to know these things.)

Flies & Mosquitoes Firmware - From Insect to Computer BIOS?

Biomimicry is an approach to innovation that seeks sustainable solutions to human challenges by emulating nature's time-tested patterns and strategies. I figured that it had something to teach me about innate behaviors in insects and animals and how computers are built and operate. That idea came from watching insects.

I have been in tech for a long time, and at a place where I used to work, we constantly embedded computers in the equipment that we built (it was a military systems joint). So consequently the birth of a computer was a fairly standardized thing. You designed and built the hardware with it processors, registers, buses and drivers, memory, flipflops and latches, power supply, serial stuff and such. It was just a dumb piece of doped silicon. To make it behave like a computer to do things, you put the BIOS (Basic Input/Output System) into flash memory. That got kicked whenever you powered up. The BIOS did the checks, started up the sub-BIOS of things like video cards and serial interfaces, it started the peripherals and it booted the operating system. It essentially contained all of the instructions to make the dopey silicon appear lifelike and able to act intelligently. This entire process was on my mind as I was eating some watermelon on the balcony and the flies showed up. And then the mosquitoes joined the picnic. The flies wanted in on the sweet watermelon juices and the mosquitoes, all female, wanted a blood meal from my skin.

The arrival of the bugs caused me to think about the embedded knowledge in the brains of these insects. They hatched from an egg left to its own devices. They had no opportunity to learn behaviors. They live for a short period of time. And they are capable of some incredibly complex actions that sometimes defy understanding. For example, how does the only mosquito in your backyard find you from what would be miles away in terms of mosquito scale?

Sure they have chemo-receptors that detect carbon dioxide and they have faceted eyes that detect shapes and they can detect odors such as the fragrant esters that fruits produce and the musky odors that sweat glands produce. But if you think about it, it needs an algorithm to transfer that nerve excitation from the sensor into into complex action. You need to do some homing from the scent-source. You need to plot course to it. You need to do complex aviation maneuvers to reach the source.

Scientists have figured out how a female mosquito finds a human to get a blood meal so that she can reproduce. It is an amazing evolutionary adaption. She finds a host by using a combination of carbon dioxide detection, movement detected by faceted eyes at close range, smell for skin odors and bare skin, home in with a flight path and drill for blood all the while injecting an anti-coagulant. Then she metabolizes the blood to create eggs. Then she has to find a male to mate with. Afterwards she needs a puddle of water to lay eggs in. Then she dies. It is quite a bizarre sexual cycle with very specific needs. If you don't find a blood donor, then you don't have sex and you don't reproduce. It's a very weird path to sexual reproduction.

Imagine if a human female had to find a body fluid of another type of animal before having sex. Imagine if it were wombat sweat, which is just as weird as the idea of a very small insect getting 3 millionths of a liter of blood from a human. I think that if humans had evolved that way where the females needed wombat sweat to make their eggs, men would soon find a way to farm wombats just to have sex. But I digress.

So I am thinking about this and I start to wonder how many lines of code that it would take to convert the antenna smelling either fruit esters or carbon dioxide from the breath of humans. From that initial good whiff, the insect must translate that into a decision tree to pursue that smell. So it must calculate and extrapolate the scent stream and lay in a course for the juicy human. As it is, flying must have it scent radar on continuously in real time, and make course corrections to follow the strongest trail. It must also monitor flight conditions, such as a head wind, and must turn on the jets to overcome the spurious natural forces against it.

Once the insect is in close, the visual cortex takes over, and heads for the large object movement, all the while monitoring the scent trail. Once it gets close to the target, it switches from carbon dioxide to skin scent smells to find a bare patch of skin instead of one that is covered in clothing. It lands on the skin, and then deploys proboscis drill to find a pore in the skin. It injects the anti-coagulant and puts its phasers on suck to get blood. All the while, it must have its radar on to avoid the oncoming Big Swat from the human that will crush it to smithereens.

So the geek in me wonders how many lines of code it would take to program that action. For example in the silicon world of intelligence, the Ford GT has 10 million lines of code, which is about eight million more than what Lockheed used in the F-22 Raptor fighter jet, and at least three million more than Boeing needed for its 787 Dreamliner. And if you think about it, the mosquito or fruit fly has to sense, navigate and fly to the source of its attractions, not unlike the functions that you would find in these machines.

I immediately thought of how this "software" was created, stored and executed in a "dumb" insect who hatched from a puddle in an old tire and wasn't taught a thing as an adult, and yet knew how to do these complex things. After all, a baby is pretty much born with a blank slate and can do nothing but suckle, cry, throw up and poop its pants after it hatches. What makes insects so smart?

It only makes sense that the "software" was somehow stored in the tiny egg and copied to the brain of the insect when it hatched. Was it coded into the DNA? Was the "junk DNA" the source code or compiled code repository for these behaviors? Moreover, how many lines of code were there? Obviously the code had to be in some sort of compiled form. It was a complete puzzle to me -- until the Eureka moment hit.

I was reading an article that said that scientists have identified 50 distinct parts of insect brains. Furthermore, insects can live without their heads if when decapitated, they don't lose too much of their equivalent of cerebral-spinal fluid. The reason is that they offload neural processing such as walking to little brainules called ganglion distributed throughout the body. That accounts for the movement and locomotion of those multi-legged insects that move like robots. That means that their computer control systems are distributed. But that didn't tell me where the software was stored to account for complex behavior. After all, all of these systems require computation in the time-domain and other calculations like frequency-domain performance measures, degree of stability, Nyquist criterion (determining if feedback is faulty), frequency-domain of flying, and compensation techniques. It was a real puzzler as to how these advanced functions were passed on from the parent, to the egg and ultimately to the next generation. I didn't even have a theory.

Then came my dabbling in AI or artificial intelligence. It is an amazing process to create a machine with intelligence. You start by whipping up a network of artificial neurons. You initialize them with junk or random threshold values. Then you feed data into them over and over and over again, and you keep adjusting thresholds until they get it right. After all of that, you have a network that can do fairly sophisticated things like identifying cat pictures without writing a line of code to teach it. That was the Eureka moment. AI networks do not execute code to do their work. They have a built-in cascading network of layers of artificial neurons that sum inputs and decide whether to fire or not, based on a threshold value. They do sophisticated things with a multitude of simple, unsophisticated things. The insect Eureka moment for me, was that these complex behaviors do not need to be encoded in a layer of abstraction like BIOS.

For an insect, the brain and distributed ganglia throughout the body are made at hatching time from the DNA with a neural network, already pre-formed that does the sophisticated actions. There is no need for any learning, because the neural networks for what they need to do, has evolved over several million years. It is almost like making a computer with the software already loaded and running. In the case of humans, it is like being born with a pre-learned adult brain. It is as if walking was enabled in your brain the same way that the hand pulls away from pain or a burning flame.

So here is where the biomimicry comes in. If we now have artificial intelligence on chips, why can't I get a computer that doesn't need to have software loaded? Why can't I have a laptop that already knows what to do with a .docx file? Why do I need a special program like Microsoft Word? Why can't a computer just be taught to do stuff and then replicate the learning in the computer chips like the learning is embedded in an insect egg? Is this the future of computing?

I can see it now. There will be no more software packages in a new computer -- just a whole bunch of AI. Some of the neural nets are pre-trained, and others can be trained to do things yourself. And if you train some neural nets to do specific functions, you should be able to download a representation of those neural pathways and sell them to other users. It certainly could be a brave new world of computer dynamics if the development of AI took a turn like this.

Aluminum Crypto and Dick-Pics -Intriguing Futuristic Offbeat Ideas That Just Might Work


ArmourExpo 2017, held on Seven Mile Beach in the Cayman Islands is in the bag for another year. Usually when I go to conventions, I get bored and turned off, because at those kinds of events, there are people who attend, that think that they know everything and are a major annoyance to us who do. But this time it was different.

We had great, engaging, imaginative speakers. At 90% of the conventions that I attend, we have people pretending to be relevant speakers while the audience is pretending to listen (instead of looking at the mobile phones, playing games and texting their friends). I saw one woman in the audience who I think is lovely and talented, go to her mobile phone during speeches, and the cynic in me thought the worst.

However, when I looked at her Twitter feed later, I found out that she was tweeting the most cogent thoughts presented by the speakers. I was highly flattered to see that she had tweeted my definition of blockchain, which was : "Solving problems you didn't know you had with technology that you don't understand." Later, at the podium, she crushed her presentation on data privacy.

There were two speakers who excited my imagination for different reasons. They were respectively Arthur Keleti who flew in from Hungary to attend, and Dr. Richard Rahn, the noted economist who is no stranger to the Cayman Islands, having served for six years on the Cayman Islands Monetary Authority. Dr. Rahn is the one with eye patch in the header photo.

Let's take Dr. Richard Rahn first. He is an American economist who writes for The Washington Times. He was the Vice President & Chief Economist of the United States Chamber of Commerce during the Reagan Administration. A senior fellow of the Cato Institute and the Discovery Institute, Rahn received his M.B.A. from Florida State University, his Ph.D. from Columbia University, and an honorary Doctor of Laws from Pepperdine University. His articles have appeared in The New York Times, The Wall Street Journal, The American Spectator, National Review, and various international publications. He served on the Board of Directors of the Cayman Islands Monetary Authority. Rahn is chairman of the Institute for Global Economic Growth, and a member of the Mont Pelerin Society, sits on the boards of numerous think-tanks and advocacy groups, and has testified on economic issues before the U.S. Congress over seventy-five times. Rahn is also an Adjunct Professor at the Institute of World Politics.

Dr. Rahn is a proponent of supply-side economics, small government and a conservative thinker. He was the closing speaker of the expo. He is the author of the book (available on Amazon) "The End of Money and the Struggle For Financial Privacy". This book, which was published in 1999, makes a startling prediction for crypto and digital currencies which have come to fruition. I am a Black Swan futurist (you can predict very little and surprises are always around the corner) and I deeply respect someone who can make such a startling prediction way ahead of the curve.

Dr. Rahn believes that Bitcoin will be a failure as a digital currency because it is nothingness -- just like a turd at the side of the road with the crap kicked out of it (my analogy). He believes that we need a crypto-currency backed by something. Fiat currency is backed by valuable gold, or if the gold standard is dropped, then on the economic output of a country. Dr. Rahn is in the midst of creating a crypto-currency back by something cheap, and his answer is aluminum. He said that there were two kinds of aluminum in play. The first was the aluminum ore like bauxite and the second type was recycled aluminum which was cheaper to process by far, than bauxite.

Because of time constraints, Dr. Rahn was allowed to answer only three questions and I got two out the three in. My first was trying to understand whether he intended to have a supply of recycled aluminum locked in a vault to back his currency, and there would be only currency issued on what was in store. He answered that his currency would be backed by both refined and unrefined aluminum. My supplementary question, in an attempt to get answers, was whether he intended to issue crypto-currency on a finite supply of aluminum or on the total global supply. His answer was that he was basing his crypto-currency on the global supply, which left me more puzzled than ever because aluminum is the most abundant metal in the crust of the earth. It forms about 8.23% of the earth's crust. Now mind you, it takes a lot of energy to refine, and that could be the value that backs Dr. Rahn's idea.

My first thought was to dismiss the idea as a cockamamie one. But I kept going back to the thought that this man accurately predicted crypto-currency which was a difficult thing to do back in 1999, so it is obvious that he has impressive mental machinery in spite of his arch-conservative views on such topics as healthcare (yes I googled them and they are out of scope for this article). So .. oooooooo ... oooo, my conclusion is that this idea is so non-intuitive, that it might actually work. Dr. Rahn announced that he is patenting and otherwise protecting his intellectual property. I look forward to seeing a more detail explanation of his ideas.

And then we have Arthur Keleti with whom I resonated with on a personal level. Arthur was a keynote speaker. Let me quote from his bio. "Arthur Keleti is one of the world's leading experts on cyber security. He began his career in the banking sector at MKB Bank, after which he joined EasyCall, then Eurohivo. He soon became the communications and new business development director at ICON, after which he joined KFKI. Today, He is the IT Security Strategist of T-Systems Hungary, where he has worked since 1999. He founded and organizes the IT Security Day Conference (ITBN), and he has a broad view and understanding of the global IT Security market, which he actively helps to grow and develop. He’s particularly interested in the ever changing world of corporate and private security issues, keeping a watchful eye on the upcoming events of our near future, and its sometimes frightening and alienating tendencies. Reading about his experiences and vision can help prepare us to face the approaching tide of change more adequately equipped for survival."

Arthur has an interesting perspective on a person's data. They are secrets that belong to the person. He went into the anatomy of secrets as well as the semantics and categorically proved the most closely held secret of all men that deserves the utmost of secrecy and security, is a dick-pic or a picture of their penis (Anthony Weiner is exception that proves the rule).

Arthur was gracious enough to gift me a signed copy of his book "The Imperfect Secret" which is available on Amazon. I haven't finished reading the book yet, but the pages that I have already marked, are heavily annotated in the margins (with pen) where he has inflamed and inspired my imagination. Arthur (and Dr. Rahn) do not think conventionally, and that is a trait that I admire because of the inherent creativity in the DNA of their thoughts.

Arthur contends that humans are not equipped to handle our secrets and our privacy. His startling conclusion is that our privacy should be safeguarded by artificial intelligence and machines. They have the processing power without the bias and faults of humans to be our privacy bastions that dole out our secrets on an as-needed basis. This so inspired me, that in my spare time, I am trying to figure out a primordial AI machine to do this. So far I am planning the architecture, and I think that it may have a tie-in with blockchain. This is a wonderful time to be alive in the timeline of our technology and I am chuffed to be a part this scene.

As I make progress and learn more of these ideas, I will document them in this space.

So all in all, ArmourExpo 2017 in the Cayman Islands was a magnificent forum for the exchange of information and ideas, and to my mind, it is a can't-afford-to-miss exposition. You need to go in 2018, if not for the insights, then for the incredible tropical sunsets on Seven Mile Beach.