Wednesday, November 15, 2017

The Great Patching systems Debate

I watched a debate about patching systems for security.  I hope to be able to do research off this debate. I will add more to this placeholder in a few days.

“The Great Debate: Anti Virus and Monthly Security Patching Should Be Abandoned In ICS.” YouTube, 9 Nov. 2017, youtu.be/-GHOrwpQI-8.


Shout-out to SQLZoo

I found this website was really good at helping me practice SQL when I was a new comer.

https://sqlzoo.net

The super semicolon of SQL

One of my assignments was to do a query that returned three values. How many people gave gifts that were small,  medium, or large.  I found the answer was to use a semicolon. Here are two cool solutions. The first is specific for transact SQL or T-SQL and the next one is more generic using semicolons as promised.


USE CRM: GO DECLARE @SmallDown NVARCHAR(0);

DECLARE @SmallUp NVARCHAR(100);

DECLARE @MediumDown NVARCHAR(101);

DECLARE @MediumUp NVARCHAR(1000);

DELARE @LargeDown NVARCHAR(1001);

COUNT Gift (IF BETWEEN SmallDown AND SmallUp) FROM Contribution
AS SmallGiftsCount;
SET @SGC = SmallGiftsCount;
AVG Gift (IF BETWEEN SmallDown AND SmallUp) FROM Contribution AS SmallGiftsAVG;
SET @SGA = SmallGiftsAVG;
SUM Gift (IF BETWEEN SmallDown AND SmallUp) FROM Contribution AS SmallGiftsSum;
FROM Contribution AS SmallGiftSUM;
SET @ SGS = SmallGiftSUM;

COUNT Gift (IF BETWEEN MediumDown AND MediumUp) FROM Contribution
AS MediumGiftCount;
SET @MGC = MediumGiftCount;
AVG Gift (IF BETWEEN MediumDown AND MediumUp) FROM Contribution AS MediumGiftAVG;
SET @MGA = MediumGiftAVG;
SUM Gift (IF BETWEEN MediumDown AND MediumDown) FROM Contribution AS MediumGiftSUM;
SET @MGS = MediumGiftSUM;

COUNT Gift (IF LargeDown =<) FROM Contribution AS LargeGiiftsCount;
SET @LGC = LargeGiftsCount;
AVG Gift (IF LargeDown =<) FROM Contribution AS MediumGiftAVG;
SET @LGA = LargeGiftAVG;
SUM Gift (IF BETWEEN MediumDown AND MediumDown) FROM Contribution AS MediumGiftSUM;
SET @LGS = LargeGiftSUM;

PRINT 'Report'
PRINT 'About' + @ SGC + 'people contributed' + @SGS ' averaging  gifts of' + SGA + '.'


PRINT 'Report'
PRINT 'About' + @ MGC + 'people contributed' + @MGS ' averaging  gifts of' + MGA + '.'

PRINT 'Report'
PRINT 'About' + @ LGC + 'people contributed' + @LGS ' averaging  gifts of' + LGA + '.'


Note:

Values can be assigned to variables using the SET statement or the SELECT INTO statement or as a default value when the variable is declared. Literals, expressions, the result of a query, and special register values can be assigned to variables.

If the donations are made in chunks here is the way combine them all  HAVING SUM(SaleAmount) > 1000

Two neat tools that are available is called linqpad, https://www.linqpad.net and EMS lite 
https://www.sqlmanager.net/en/tools/free

I am working on three posts,  one for data entity framework another one for desired state configuration with Chef,  one about Asterisk PBS from Digium.

Immense value of Microsoft Graph API

When Yahoo shut down Yahoo pipes,  I was dissapointed.  Google also tried to have a Mash-up system. Mozilla has been in this space too with a natural language derived system.  When tech giant Microsoft put forth their Graph API, I was skeptical but Microsoft has several advantages. First of all they created Visual Studio and Visual Studio code.  During the 2017 Powershell Conference presentation on the state of Powershell, Jeffrey Silver explained that Microsoft Powershell and Microsoft code is not simply a port for Linux but a powerful recreation of the editor and language that could be useful for Linux administration.  All this to say Microsoft Visual Studio is a mature professional product.  Other technologies such as Microsoft Office 365 are valuable assets as far as natural language processing is concerned.  Microsoft is considered a leader in the enterprise email space.
Microsoft created their first edition of Microsoft word in 1983.

Sharepoint is a leader in organizations communicating internally to other employees.  Because of the increasing amount of videos and voice communications and texts natural language processing is an important part of sharepoint.  Microsoft expressed desires to make determinations about how to allocate resources easier by using natural language processing. For example whom is talking to who within an organization.  Here is a picture from almost three years ago:
Today,  three years later, Microsoft connects with many Microsoft services.

Microsoft Delve is used to aggregate data across office 365. An example is and can tell a person if they are spending too much time at meetings and can aggregate data from emails about what meetings to skip if a person is double scheduled. It can be used to plan active directory federation services. 


Microsoft Flow is another utilization of Microsoft Graph. It can be used in automating workflow online such as posting files online or over a hundred social sites online including Twitter or Salesforce and can be embedded within your own applications.  It could be used to get notifications. Buttons are created and are like Macros except they require almost no coding.  Also triggers wait for an event to happen such as an email from a boss could be forwarded and others ignored. 

There are a couple different prices for Microsoft flow but there is also a free version which could be a mobile version.

The Microsoft Flow could be especially powerful when combined with Microsoft CRM or Skype for businesses.

When a part of Microsoft 365 your company can view your email address. Another caviot is at the present time is the only way to share a workflow is globally.  There might be a way in the future to only share the workflow.

For more information be sure to check out: https://docs.microsoft.com/en-us/flow/guided-learning/get-started

Containers are the next phase in IT advancement

Virtual machines were once the defacto way of running an infrastructure on a single server.  This needs to change because of patching levels on each virtual server.  Some system administrators install the entire GUI which is ring 1 on Windows server meaning when the graphics card is slowed down by doing many calculations,  the server cannot run.
When the GUI crashes this causes a blue screen of death on a windows server.  To avoid this, the system must be as simple as possible.



The part of a car which requires the most servicing is the transmission.  This is because it is the most complex.


The ignition system is closely integrated with the transmission.

To reduce complexity,  might I suggest containers so everything can use one operating system. Like the sandbox,  containers isolate pieces of the programs into segmented different pieces called microservices.  Micrroservices are like Lego's,  a single process is run in each.  

Each microservice communicates with other microservice through an API or programmable interface.  

Programmers who use object oriented programming languahe's such as C++ and Java are familiar with the concept of reusing code by stringing classes together.  Why invent the wheel if someone else has used tested code and are confident that it would help someone else?
=
The right step for you and your organization might be to use docker.  Docker is a cross platform and can work natively on Linux or Windows server 2016 and greater. It also works with the cloud service such as EC2 or Azure. It can but it does not have to run on a cloud infrastructure.

The reason they chose a whale with some shipping containers is that they want to show compare the generic shipping containers with how shipping companies saved money when they used standard sizes.  When I was a kid I had three toy dump trucks,  a large Tonka dump truck,  a medium sized one.  When there were large tasks I used the large dump truck.  


Real dump trucks have fuel economics to deal with so there is a great cost for using the large dump truck as compared to one trip with its smaller counterpart.



 In computing a slightly larger container is used than what might be the current case because of future modifications. 
Hard disks are divided into bits which are a binary yes and no. 
In arrays,  seemingly consecutive pieces of the hard drive are used.


There are two versions of Docker,  a community model and an enterprise model. 

It can be possible to use the community edition and combine it with other projects such as Terraform to begin with. When starting off with a workflow it can be intimidating.
There are wizards for provisioning new microservice nodes which are collected into pods to form a single service.

Kubernetes is an open source system for automating deployments. 
Kubernetes was created by Google engineers and can load balance for fault tolerance and load balancing.  Google is described as using not special task oriented hardware but using a lot of commodity hardware. The acronym RAID stands for redundant array of inexpensive disks.  The goal of RAID is to alow for failure.  Failure of hard disks and other hardware components is a part of every data center and should be embraced and planned for. Do not plan to avoid failure otherwise when the unexpected happens you would be surprised rather than prepared. 

I found that Hashicorp did some other products besides Terraform like Vault and many are implemented in the Mantle.io which is now a division of Cisco.  For a while Cisco has been a leader in the software defined networking space. They are a leader in the routing and switching sector of information technology. They have industry recognized exams in cloud artitcture.

Another dependable but not free solution was put forth by VMWare in a 2017 VMWorld convention which is Vsphere integrated containers. They, like the paid version of Hashicorp do reporting for legal compliance. I hope to study this more to do further blog reports. 

Sunday, October 8, 2017

New paper posted on the motivation to hack

I published an article on the motivation to hack and posted it on Academia.edu figshare and researchgate. I am working on a dirivative of this work and plan on submitting it to IGI Global.

Cancer research directions

I have been doing research on: What role does memory adaptation play in cancer?
It seems to me like the sympathetic nervous system plays a part in allergies. In a grossly simplidied model the overactive nervous system responds to olfactory stimulus that short circuits the brain and demands a bodily response. Cough suppressant such as tesslon perls contain such nerve agents as novacane and codeine which suppressant pain. When there is too much pain, the nervous system shuts down causing fatigue. According to BF Skinner squid experiment when a squid received a electric shock, learning occurs. There has long been a connection between pain and allergies often hypothesised to be caused by inflammation. Inflammation is a reaction triggered possibly by interleukin 5 increase as a result of irritation. A to IL 5 causes eosinophils which is formed in bone marrow and bone marrow is responsible for filtering blood.
1) it feasible that much like the BF Skinner squid allergies have an initial encounter and the mind because of Hebbian learning memory adaptations are made that are autonomous and subsequent encounters are perceived and cause a reaction?
2) If the answer to question 1 show correlation, is it possible to unlearn this. Calcium may play a role in learning. By injecting the body with Leucovorin Calcium or Bevacizumab plus irinotecan, fluorouracil show that there might be a chance to form a stronger association with other connections.
3) Is the rate between people with cancer without allergies relate to people with allergies and cancer?
4) Can 5 relate to IL3? Can IL5 serve as the precursor to IL3?
Works Cited
Beason, T. May. "Physician Fact Sheet Sensory Processing Disorder Signs and Symptoms." Citeseer.org. Spiral Foundation, 2006. Web.
Doty, Richard L., Paul Shaman, Charles P. Kimmelman, and Michael S. Dann. "University of Pennsylvania Smell Identification Test: A Rapid Quantitative Olfactory Function Test for the Clinic." The Laryngoscope. John Wiley & Sons, Inc., 12 May 2009. Web.
Driver, Jane A. "Inverse Association between Cancer and Neurodegenerative Disease: Review of the Epidemiologic and Biological Evidence." Researchgate. Researchgate Gmbh, 24 Aug. 2014. Web.
Harrison, Pam. "Alzheimer’s Associated With Reduced Cancer Risk; AD Risk Less in Some Cancer Patients." Medscape. Webmd, 18 Sept. 2010. Web.
Mellville, Nancy A. "Power Over Pain' Intervention Tackles Perception of Cancer Pain." Medscape. WebMD, 23 May 2017. Web.
Musicco, MD Massimo, PhD Fulvio Adorni, MSc Simona Di Santo, MSc Federica Prinelli, MD Carla Pettenati, MD Carlo Caltagirone, and Katie Palmer PhD And. "Massimo Musicco." Neurology. N.p., 23 July 2013. Web.
Rane, Sushil, E Premkumar Reddy1 Reddy, and Anita Korapati. "IL-3 Signaling and the Role of Src Kinases, JAKs and STATs: A Covert Liaison Unveiled." Nature News. Nature Publishing Group, 22 May 2000. Web.
Sears, Robert W., and William Sears. The Allergy Book: Solving Your Family's Nasal Allergies, Asthma, Food Sensitivities, and Related Health and Behavioral Problems. N.p.: Little, Brown, 2015. Print.

Vaughn, Don. "Neurohacking: Rewiring Your Brain." YouTube. TedxULCA, 09 July 2015. Web.