Category: Analytics
Should Agencies like Secret Service protect digital assets of leaders or friends or family during elections or later
The revelation that Russian Intel (or Snowden working with Russian Intel) hacked into H R Climton’s Campaign Surveys should be both bad news as well as good news to cyber activists.
First of all it increases the demand in terms of jobs for legal cyber security
Secondly it pinpoints the need of security as an important component to decision makers at a time when they are most likely to pay attention ( oh ! My website got hacked! You got my attention!)
However the bad news is
Digital Assets of protected members would be secured by same agencies ( or different agencies) – a jurisdiction nightmare
Hacking into friends of friends, family after official government protection over is a crime, but when Govts hack it is difficult for a teenager /friend of teenager who hacked their Facebook. Ditto goes for Senate Staffers or Staffers combating cyber crime.
Will cyber crime and cyber war between nations make things personal not just business, due to the ease, low cost and plausible deniability
(Note- this is a strategic what if scenario, No Pokemons were hurt during the making of this post)
Psalm 2
1 Why do the nations conspire[a]
and the peoples plot in vain?
2 The kings of the earth rise up
and the rulers band together
(unrelated bonus
Latest DecisionStats Intern
Congratulations to our latest intern for completing the intensive internship at DecisionStats . See work done by here here-
https://datascience899.wordpress.com/blog/
Her latest blog post tries to use Python to understand police shootings in USA
https://datascience899.wordpress.com/2016/07/23/python-ii/
https://datascience899.wordpress.com/2016/07/23/operations-in-r/
https://datascience899.wordpress.com/2016/07/23/sql-ii/
Previous Interns wrote great Python code and R code
see
https://github.com/decision-stats (Sarah Masud and Farheen)
and
Anshul Gupta
Cricket Analysis – http://nbviewer.ipython.org/gist/anshulkgupta93/39689db8b337c3ccf247
pyCURL- http://nbviewer.ipython.org/gist/anshulkgupta93/a87a0884ada6e9380952
and
Chandan Routray
https://decisionstats.com/2014/08/04/the-first-decisionstats-com-intern/
Some points for future interns at DecisionStats-
- We normally dont pay interns anything
- 80 % interns drop out or are let go because they cannot keep up with the assignments
- Remaining 20% usually learn a lot in the intensive program
- Internships are like a free boot camp
- No more internships till June 2017 because I am trying to write a book
- Some research assistantships might be available in December 2016 to help with some code or Lyx formatting for the former
- See my LinkedIn profile for reviews given by the 20% interns who manage to stick around
- I usually emphasize writing, polyglot tools (both R, SAS and Python) , logical thinking and concise communication for my interns
- I usually treat them as students since I dont work for or in a university. That might change as I try and transition out from business to academic research options for a non Phd
Music for Monsoon Saturdays
Why law enforcement continues to be reactive rather than predictive
First of all, my dad worked 37 years in Indian Federal Law Enforcement so this is not a song to the heroes ( no heroes, they are doing a job they chose to do) or a left wing critique (it IS a demanding job). As with most of my writing I will try (and succeed a bit and fail a bit) in being objective.
- Law enforcement here means cops, police officers, first responders, peace officers. It does not included detectives, federal agencies and military based intelligence.
- It means people who try to deter crime or terrorism by either reacting fast, being present there in force or anticipating where crime or attacks are likely to happen
- It is usually a shift based system, involving employees who are lesser skilled than other agencies
- A rotation system involving other agencies would help with both coordination and up skills ( eg in some professional armies, the logistics people spend 3 years in infantry. Some policemen should spend time in federal agencies and vice versa as per rotation)
- Over investment in weapons ( hardware) , under investment in training (especially cross geography and cross agency) and up skilling (in the age of Internet, social media), and almost zero investment in formal analytics (spatial analytics, time series analytics, where is crime likely to happen, who or what is a significant factor, how effective have frisk-check-patrolling efforts been) means law enforcement and community relationships continue to be maligned in democracies like India, USA, France. In a non democracy, there is no one to complain to and no one to complain of.
- In the national defense and homeland security budget the local law enforcement gets lower priority even though they remain the first line of defense in maximum harm
Gandhi said that for evil to flourish the only thing that needs to happen is for good men to do nothing. Law enforcement in democracies critically needs investment in cyber science and data science to restore community relationships.

Making a fresh data science box by updating your Ubuntu
Operating System
- Find out if you are 32 bit or 64 bit
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 69
Model name: Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz
Stepping: 1
CPU MHz: 1698.273
CPU max MHz: 1700.0000
CPU min MHz: 800.0000
BogoMIPS: 3392.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0-3
- Ubuntu 16 upgrade (download from http://www.ubuntu.com/download and make a fresh startup USB see http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu)
- Download Chrome
Dependencies from Terminal
- Package Manager Synaptic sudo apt-get install synaptic
- Package Manager Software Centre sudo apt-get install software-center*
- SSL sudo apt-get install libssl-dev
- XML sudo apt-get install libxml2-dev
- Curl sudo apt-get install libcurl4-openssl-dev
- GIT sudo apt install git
GTK $sudo apt-get install wajig
$wajig install libgtk2.0-dev
Java
java -version
sudo apt-add-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installerexport JAVA_HOME=/usr/lib/jvm/java-8-oraclesudo R CMD javareconf- R for Linux
Manual Editing of Sources is by (use Ctrl O and Ctrl X to write file and exit nano)
sudo nano /etc/apt/sources.list
# Grabs your version of Ubuntu as a BASH variable
CODENAME=`grep CODENAME /etc/lsb-release | cut -c 18-`
# Appends the CRAN repository to your sources.list file
sudo sh -c 'echo "deb http://cran.rstudio.com/bin/linux/ubuntu $CODENAME" >> /etc/apt/sources.list'
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E084DAB9
sudo apt-get install r-base-dev
- RStudio
- RStudio Addins
install.packages(‘addinslist’)
- Data Mining
install.packages(c(‘rattle’,”Rcmdr”))
install.packages(c(“RcmdrPlugin.epack”, “RcmdrPlugin.KMggplot2”))
Python
Download
https://www.continuum.io/downloads
$cd Downloads
~/Downloads$ bash Anaconda3-4.1.1-Linux-x86_64.sh
$conda install -c r r-essentials
On Social Media
There are 3 kinds of people on social media. People who make comments, People who share content, and people who stay silent.
Out of the people who share ,they are 2 types of people, people who want to promote their professional interests, and people who want to share personal stories.
People who share get better responses than people who promote.
There are 2 types of people who make comments. One who say they like content because they do, and the other who say they dislike.
I just wish the negative commenters learn to speak less, and the people who are silent on social media speak more

from
http://www.linkedin.com/hp/update/6153903470568099841
and