Saturday, October 6, 2012

My plan to revitalize Detroit


 Some people are aware that over the last 8 months or so I have become quite fascinated with personality types and research on personality and culture.  What many people do not know is part of the reason why.  Actually what follows explains only a fraction of my interest, but that will have to do for now.   

Anyways, terms of Jungian/Meyers Briggs personality theory the biggest difference between people in the population is whether they are Sensory (S) or iNtuitive (N).  Roughly speaking S type people enjoy concrete things they can learn about with their senses and N type people tend to naturally be more abstract thinkers.  The vast majority of the population tends to be S type.  For myself I an N type abstract thinker.  When I took the test it was only about 10% confident on all the dimensions except S-N.  It was 89% confident I was N.  Among my friends I tested only two people were on the same order of magnitude confidence on the N side.  Both were INTP.  One got the same confidence I got and the other was I think 92% confident.  Both of these guys are very interesting people to talk to.  I suspect I have one ENTJ friend who would test similarly, but this person knows too much about the test now and it would probably be meaningless.  Anyways I digress...  The point is I am a pretty abstract guy for better or worse. 

Anyways during my initial learning about the S-N difference I came across this youtube video.



When I saw it I thought to myself that it was pretty mean-spirited.  It seems there was a bit of arrogance present.  As I saw other people talk about the S-N difference on forums and
youtube I would often see this arrogance.  It was often times subtle but there.  I thought to myself it was quite cruel.  Anyways, there was one valid point that I thought might be worth addressing.  Our current society is setup in such a way that many jobs that are probably traditionally appeal to S type people no longer exist or are on their way out.  A prime example is manufacturing.  I used to be a machinist.  Machinists often times speak of a "sense of touch" or "sense of feel," that helps them diagnose whether they have a lathe or mill setup correctly.  I make the argument this is a very "Sensor" type of intellectualism.  I now work with alot of physicists, and the dual intelligence for them would be "physical intuition." they always like to talk about.  What I am getting at here is that there may be different types of intelligences out there and we should leverage them all to improve our economic output.  As it is now though, increased automation means machines can do many of these jobs better than any person.  On the other hand we are currently living in a world that is increasingly being deluged by streams of data.  Everything from oil exploraiton to the stop market to marketing to cyber-security has tons of data to sift though. There was an interesting article this month in Harvard Busines Review talking about it.

Data Scientist - The sexiest job of the 21st century
http://hbr.org/2012/10/data-scientist-the-sexiest-job-of-the-21st-century/ar/1

Clearly there is a need for people to sift through lots of abstract data and find useful patterns.  Unfortunately this is a job that will probably mainly appeal to rare, abstract, N-type thinkers with programming and math backgrounds.  I am guessing most "data scientists" are INTPs actually.  The point is, we have alot of potential to make some real gains form our data deluge but we don't have people with the skill to take advantage of it.  In the trade we sometimes like to call this field "data mining."

Well for some reason at roughly the same time I was begining to study personality types I also came across some videos on human echolocation.  A good explanation is given here:



So I started to think to myself... " If the brain is adaptable enough to replace a lost sense perhaps we can develop totally new senses... New senses that allow us interact with abstract concepts in new ways."  Then I thought.  Maybe we can use emerging haptic technology and smart materials to build human-machine interfaces that allow us to transmit data to humans through touch.  This way all those machinists who operate by "sense of feel," can transfer their skills to the new data mining problem.  Now I say, "Why are we hiring engineers to do data mining when prehaps we should be hiring miners?"

I ran this idea by a Professor from Scotland I collaborate with and he suggested I check out sensory deprivation tanks to see if it could be a method to increase the signal-to-noise ratio (SNR) for this application.   I looked into it and I found one in Santa Fe.  I finally made it there to test drive it this morning.  Here are my results:

Here is the sensory deprivation tank.  It is full of salt water at 98 degrees F to match human body temperature.  You are totally buoyant in it.  You float right to the top.  They close the lid and it is pretty much sound and light proof.  It is totally dark inside.  Basically the idea is to cut you off form all sensory excitation.  Some people report seeing hallucinations while being in one of these tanks.  I paid for a 1 hr ride and got in to try it out. 


 
First thing I noticed was that after a little while your whole body starts falling asleep.  Then after it falls asleep, it falls asleep in a new way.  I never realized my body could fall asleep in so many different ways.  All in all I would say my body fell asleep in at least 4 or 5 different ways.  Another interesting observation is that after awhile you do start to loose some sense of where the boundary of your body is.  Especially if you sit still.
I also want to point out this is probably the closest you can feel to the weightlessness of space outside being caught in some kind of freefall.  Oddly enough it is really hard to roll over in the water.  My body was very stable staying face up.  My neck was a bit sore for awhile, but I found putting my arms over my head helped with that.  I think being in this tank causes your propioception and nocioception to increase.  I could very acutely feel all the sore parts of my body.  Probably because there was nothing else to feel.  If you move your arms in the tank they do begin to feel oddly heavy.  I was told that some people feel very odd in the tank because they have nothing to sense.  I did not seem to mind this at all.  I think I could have stayed in there for awhile.  I was told their record was 6 hrs.  I suspect the tank forces S type people into the world of intuition and abstract thinking.  I am guessing because I am such an abstract thinker I may have already been in my natural element.  I would be curious to hear what someone with a sensor personality thinks. 
Some people apparently like sleeping in there.  If you need it really quiet and dark to sleep I can see how that might help.  I have a book that talks about the medical and physiological ramifications of being in space.  I am going to read it over and see how it compares to what I experienced. 

Some odd things I experienced are the following.  First, you really in some sense do experience a heightened sense of touch.  I could run my finger over parts parts of my stomach with hair folicles and I could feel those sensations very acutely.  I compare it to sitting at my desk now and it was definitely amped up in the tank.  Also I ran my finger over the facial hair on my nose.  I could very very distinctly hear every single hair  on my upper lip move.  It sounded almost loud. I try it right now and it can hear the hairs, but the sounds of them bending all blend together.  When I was in the tank I could hear each individual hair.  It was quite unique. This is a good result because I suspect I need this kind of sensory discrimination to build new tactile human-machine interfaces.  I put a picture that I took right after getting out of the tank that shows the current state of my facial hair for reference.  I have alot of other thoughts on this, but they will have to wait for another day or personal conversations.  


 I almost forgot - How I am going to revitalize Detroit.  It's simple really.  I am going to buy cheap industrial space in Detroit, fill the empty space with a bunch of floatation tanks.  Hire the unemployed factory workers, suit them up with my new visual-audio-tactile human-machine interface.  And train them to find useful patterns in data by sense.  I will contract out teams of "data-sensors" to companys that need complex data mining tasks completed.  We will do everything from cyber-scurity to picking stocks.  This will be the rough equivalent of the Native American tracker hunting game.  The difference will be now they will be hunting for abstract patterns in data instead of deer or rabbits.  I will also work on building high-dimensional interfaces that will allow the "data sensors" to interact with the data in new ways.  That is a work in progress. 


Monday, September 17, 2012

ENTJ Heaven

As the fiscal year draws to a close I find myself dreaming of a far off place...  A place where no one works outside the hours of 8-5 because all the work got done during normal working hours because everyone at work was really motivated and got everything done.  A place where you do not have to wonder whether or not someone who is tasked to do something will do it.  A place where people need only minimal management.  A place where the work is challenging, creative and meaningful.  This is a place I would like to call ENTJ heaven.

In ENTJ heaven everyone is optimistic.  They love thinking out loud and brainstorming and creacting.  If someone has a challenging creative idea people try to come up with a way to make it happen.  Pessimism is rare in ENTJ heaven. 

In ENTJ heaven when work gets out everyone goes to the swimming pool and plays water polo.  Not inner tube water polo.  I mean real water polo.  Where you can relieve your stress by swimming around and chasing a ball and pushing people underwater.  ( inner tube water polo???)  After everyone is done playing water polo and getting a fun workout they then go get dinner.  It is usually really artisan because for some reason most ENTJs seem to be good cooks.

After dinner there is a jam session.  For some reason most ENTJs seem to have some form of musical talent so that is good too.  Some nights they might forgo the jam session to watch a TED talk, or go see a band or a play.  Then the ENTJs go off and do things like build haptic devices to cure dog blindness or plan a trip to Nepal.  As the night starts to wind down they go have some drinks in the hot tub before going to bed.

That is how it is in ENTJ heaven...  Actually to be honest I have it pretty good.  I am not sure I am that far away... But I really wouldn't mind playing water polo once in awhile :-). 

Sunday, September 16, 2012

My musing on the security implications of 3D printers for the Culture of Life

Recently I heard Tim Staples talk on Catholic Answers about the upcoming election and the issues of most importance to Catholics.  He mentioned the 5 top non-negotiable issues and then went on to briefly mention there were a number of other things that should also be non-negotiable including pornography.  I immediately thought to myself, "is he implying we need to criminalize pornography?"  It seems like an almost impossible thing to enforce in our current society simply because of the technology that is available to us today.  Even if it was criminalized I am not sure what practical effect it would have since we have the internet, digital cameras, and other countries that may not criminalize pornography.  Throw in openly available cryptography software and it just seems like a big mess.  I feel like it has the potential to turn into something similiar to the prohibition of alcohol.  I have thought about it for awhile and been reading about the issue, and I am curious to see what would happen if we tried it.  It may or may not be successful in the sense that people actually stop watching porn.  If your goal is to actually stop the spread, manufacture and use of pornography I am not sure criminalization is an effective way to do it.  I can see it going either way.  But I digress...  This made me think of something more interesting. 3D printers.

3D printing technology has really taken off in the last decade.  I would not be surprised at all if in the next decade or so everyone has ready access to a 3D printer capable of printing a wide variety of polymer parts. Online repositories already exist of things you can download to print.  A good example is the "Thingverse"

http://www.thingiverse.com/

So this implies that these printers could also be used to manufacture contraband.  It is not inconceivable that someone could print out a plastic gun using 3D printer technology.  Actually it has already begun:

http://venturebeat.com/2012/08/23/3d-printing-weapons/

here is another interesting article.

http://www.forbes.com/sites/markgibbs/2012/07/28/the-end-of-gun-control/

So it is very possible that criminals of the future will make use of encryption and steganography to distribute files to print out contraband.  People will be printing out guns and knives and pipes and who knows what else...  And there will be no practical way to stop it. 

This this made me think of something else.  What effect would this have on the issue of abortion?  Right now the pro-life movement is working diligently to criminalize abortion.  I heard a presentation at the Catholic Medical Association annual conference a year ago where someone pointed out that the pro-life movement is very young in comparison to movements like the slavery abolition movement in North America.  They pointed out that it took many centuries to abolish slavery and in comparison the pro-life movement is not even half a century old.  They made the point that the pro-life movement may have a long road ahead of it.  So given that outlook what effect will technology have on the issue?

Well sensor technology is getting cheaper by the month.  Recently a $2 device was developed that could attach to a smartphone to give you an eye exam.  Smart phones and medical apps are being developed at a rapid pace to monitor a variety of vital signs and to tell people when to take their medicine or exercise etc, etc.  In the not too distant future smart phones may interact with embedded medical devices.  Given this reality coupled with the development of 3D printers it is entirely possible that even if abortion was criminalized in the United States some underground pro-choice group could build plans for a home-made vacuum aspiration machine that could be downloaded off the internet.  The plans could be encrypted and hidden using stenganography.  People could even use onion routing to make it less traceable.  There would probably be almost no way to stop this from happening.  

I do not bring this up to sound discouraging to the pro-life movement.  I bring it up because given the  potential for a long-term abortion-abolition movement I would like to suggest that they consider the possibility of how technology may alter the social and culture landscape.  If the pro-life movement is really concerned with preventing abortions and saving lives it may be worth considering what could happen even if the criminalization of abortion is achieved.  Criminalization alone may not be effective at actually signifigantly reducing the number of abortions.  It may be worth taking into account when strategic decisions are made on the use of human, spiritual and physical resources at the disposal of the pro-life movement.  I feel that if you want to be successful you don't go to where the ball is, you go to where the ball is going to be.  Given that Catholics often have  a very long-term outlook so I am confident it will all be worked out in the end. 


We are definitely entering a brave new world... Be ready.
http://www.guardian.co.uk/lifeandstyle/2012/aug/17/sex-reproduction-aarathi-prasad


The Pig Roast of Fall 2012

Every so often I get some notion in my head that I have to bring to fruitiion.  That was the case about a year and a half ago.  For some reason I got the idea that I should roast a pig.  My original plan was to find a butcher and get the pig and roast him in a hole and have a party.  I told a firend of mine and she was very pessimistic about the whole thing.  She said - "you can't roast a pig, you have to kill it and skin it and dig a hole...,:  Well I thought to myself I wasn't really planning on doing all of that but now that you mention it that could be fun too.  So I decided I would be involved with the whole operation from live pig to dinner.  It took awhiel because my job keeps me busy and I had to coordinate with my friend who was going to teach me the skinning and roasting but we finally did it.  Here are the pictures. 


 Here is the pig to be roasted.  I was told he was really mean and did not grow to expectations so he was going to get eaten. 
 Here is the pig post skinning and gutting. 

 Halving the pig. 



  This is the bacon.


 The back of the pig.
 The leg we will roast.
 Chickens on the ranch.  They will probably get eaten later. 
 Canning. 
 Starting to dig the hole. 
 The dirt was really rocky so we had to use a digging bar. 



 Digging the hole. 
 A chicken plucker. 

 A scooper to move the ash.

 preparing the fire
 Burlap sacks
 Here is the pig wrapped in his foil. 
 Here are the embers ready for the pig. 
 We used some colored.  

 We out an extra fire on top just to be sure. 


 Digging up the food. 
 Pulling the bags out of the whole. 

 Food coming out of the burlap. 

 The meat was so soft I could take it right off with a plastic fork.  It just fell apart. 
 Some of my students enjoying the cookout.




 Maybe this goat will get roasted next. 

 Now I am wondering if I should try to roast a pig on every continent.  Europe or Asia first?














I am wondering if now I should roast a pig on every contient. 

Sunday, September 9, 2012

Create in Me A Pure Heart Oh God.: Dealing with lust and having fun at the same time.

Last week I was in San Diego listening to some people give a talk on purity and chastity.  I have been a Catholic my whole life and I have heard this stuff many, many times over and I have always been on-board with the message so it really was not anything new to me.  It was a good talk though.  There was one thing though that you always hear about at these things that has never satisfied me...Dealing with lustful thoughts.  They gave an example of how to deal with it, and once again I was far from satisfied.  I have actively spent the last 15 years of my life trying to find a reasonable way to deal with it and I have heard many things over the years.  Suggestions like "give the girl a name," or "say some kind of prayer,"  I guess those suggestions were ok, but I have only been marginally impressed by their effectiveness.  I am not sure exactly how it happened.  Like many things in my life their is a long and complicated story behind it, but the other night I think God whispered a new suggestion in my ear.

At the end of the day God is really not looking for slaves or servants or people just following his orders.  That would be lame and he would get bored.  What he really wants are friends and sons and daughters.  People who share his passion for community and togetherness etc, etc.  No one wants a friend who does things just because they are forced to do them.  You want a friend who wants, from the bottom of their heart ot be on the same page and come to similar goals.  God wants us to have a heart similar to his.  God wants to transform us to have a pure Heart.  This is one of the fundamental differences between Catholisim and Secular Humanism.  Secular humanism only cares out measurable results.  Catholicism seeks personal transformation of the heart for the purpose of friendship with God.  In the case of lustful thoughts this is an example of a disordered passion.  A lack of cleanliness of heart.  God really wants us to desire a pure heart.  It's in the beatitudes:

"Blessed are the pure of heart for they shall see God,"

It is easy to get into the thinking that lustful thoughts are some kind of "thought crime,"  I think this is missing the point.  The point is God wants us to be transformed to have a pure heart and intentions.  So what was the suggestion I was given?  It was simple.  When you are tempted you just pray the following prayer,

"Create in me, a clean heart oh God"

They say that when you sing you pray twice, so if you want to you can even sing it.  I used to be in church choirs and singing is fun so that is what I do.  In this case not only are you just getting away from the temptation of lust, you are also trying to improve your practice of the Beatitudes.  Every temptation to lust is now an opportunity to become a better person plus you get to sing which is also fun.  I feel like this is so much more peaceful and fulfilling than all the suggestions I have heard in the past and I just thought I would share it in case it might help anyone else out.  It seems so easy and obvious I feel a bit foolish after all these years.  I guess it will help may humility along as well.  I hope you enjoy.








Thursday, September 6, 2012

My Day Job

Recently Popular Mechanics ran a story on some of the research I do.  I am pretty proud of it.  Check it out. If you are interested in Cyber-Physical security research please do not hesitate to contact me.  This an emerging and exciting field in my opinion.  There are not too many of us cyber-physical security researchers out there. 

http://www.popularmechanics.com/technology/military/robots/self-defense-for-the-self-driving-car-12410682

Monday, September 3, 2012

Mayavi2 import problems in Ubuntu 10.04, python 2.6.5


Recently I was trying to import mayavi2 into python 2.6.5 on Ubuntu 10.04
Mayavi2 can be downloaded and installed using:

sudo apt-get install mayavi2

From there when I tried to import it into python using the line in the tutorials:

import mayavi

I would get the error msg:

Traceback (most recent call last):
  File "", line 1, in
ImportError: No module named mayavi


After a little searching through the installed files I tried

import enthought.mayavi

That did the trick.  You can test it using the exmple posted here:

http://docs.enthought.com/mayavi/mayavi/mlab.html


Here is the code with my slight modification. 

from numpy import pi, sin, cos, mgrid
dphi, dtheta = pi/250.0, pi/250.0
[phi,theta] = mgrid[0:pi+dphi*1.5:dphi,0:2*pi+dtheta*1.5:dtheta]
m0 = 4; m1 = 3; m2 = 2; m3 = 3; m4 = 6; m5 = 2; m6 = 6; m7 = 4;
r = sin(m0*phi)**m1 + cos(m2*phi)**m3 + sin(m4*theta)**m5 + cos(m6*theta)**m7
x = r*sin(phi)*cos(theta)
y = r*cos(phi)
z = r*sin(phi)*sin(theta)

# View it.
from enthought.mayavi import mlab
s = mlab.mesh(x, y, z)
mlab.show()