Thursday, April 21, 2016

2016 Self Improvement - 8 key skills for productivity


Below is quote from Charles Duhigg on eight key tools or skills for productivity. For the full podcast click here

Motivation: We trigger self-motivation by making choices that make us feel in control. The act of asserting ourselves and taking control helps trigger the parts of our neurology where self-motivation resides. 

Focus: We train ourselves how to pay attention to the right things and ignore distractions by building mental models, which means that we essentially narrate to ourselves what’s going on as it goes on around us.

Goal-setting: Everyone actually needs two different kinds of goals. You need a stretch goal, which is like this big ambition, but then you have to pair that with a specific plan on how to get started tomorrow morning.

Decision making: People who make the best decisions tend to think probabilistic-ally. They envision multiple, often contradictory, futures and then try and figure out which one is more likely to occur.

Innovation: The most creative environments are ones that allow people to take clichés and mix them together in new ways. And the people who are best at this are known as innovation brokers. They’re people who have their feet in many different worlds and, as a result, they know which ideas can click together in a novel combination. 

Absorbing data: Sometimes the best way to learn is to make information harder to absorb. This is known in psychology as disfluency. The harder we have to work to understand an idea or to process a piece of data, the stickier it becomes in our brain.

Managing others: The best managers put responsibility for solving a problem with the person who’s closest to that problem, because that’s how you tap into everyone’s unique expertise.
Teams: Who is on a team matters much, much less than how a team interacts.


Wednesday, April 13, 2016

Problem: How many processors, cores, logical processors (Hyper Threading) are running on your workstation ?

Windows "Computer > Properties" and Task Managers is misleading.


Computer > Properties will show 2 CPU when only 1 CPU running on this workstation.
Task Manager will show 8 CPU or Cores.

Solution: 


There are two ways to check for CPU, Cores, and  Hyper Threading.

Download [ CPU-ID ]

If you need to check large number of windows devices then deploy the following VBA or MS-DOS script.


VBA Script



       
strComputer = "." 
strResult = ""
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") 
Set colItems = objWMIService.ExecQuery( _
    "SELECT * FROM Win32_ComputerSystem",,48) 
For Each objItem in colItems 
    strResult= strResult & "NumberOfProcessors: " & objItem.NumberOfProcessors & vbcrlf
Next


Set objWMIService2 = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") 
Set colItems = objWMIService2.ExecQuery( _
    "SELECT * FROM Win32_Processor",,48) 
For Each objItem in colItems 
    strResult= strResult & "NumberOfCores: " & objItem.NumberOfCores & vbcrlf
    strResult= strResult & "NumberOfLogicalProcessors: " & objItem.NumberOfLogicalProcessors & vbcrlf
Next

    Wscript.Echo strResult

The script revels the workstation has 1 CPU, 4 cores, with 8 logic processors (Hyper Threading).



MS-DOS Script


       
echo wmic cpu get NumberOfCores, NumberOfLogicalProcessors


The script revels the workstation has 4 cores with 8 logic processors.