Monday, August 27, 2012

Tech Review: Management: Friday, August 25, 2012

baby crying

Listening to Complainers Is Bad for Your Brain
  • Minda Zetlin


21 Skills That Pay Top Dollar – Without Certification

  • Big Data
    • Apache Hadoop including HBase and Hive
    • Apache Cassandra
    • Apache CouchDB
    • MapReduce
    • Redis
    • MongoDB
    • MySQL/MySQL Cluster
    • Predictive/Prescriptive Analytics and Modeling
    • Complex Event Processing/Event Correlation
  • Mobile Apps
  • Risk Management and the Rest
    • WebLogic and WebSphere for SOA
    • VMware
    • TOGAF (EA from The Open Group)
    • ITIL V2 and V3
    • Risk Assessment/Risk Management
    • Change Management



Monday, July 16, 2012

Tech Review: Management: Monday, July 16, 2012


The End of Middle Managers (And Why They'll Never Be Missed)

  • Leader not managers
  • Department Captains
  • paired leadership
  • teams
  • Don't come to me with problems
  • no managing through fear

Tech Review: Computer Programming: Monday, July 16, 2012

C++ The Complete Reference, 5th Edition

  • Still not available

Visual Studio 2012 and .NET 4.5 Release Candidates available now!



Product Details

C# 5.0 in a Nutshell: The Definitive Reference [Paperback] ($26)

  • The only good looking C# 5.0 book I see.
Product Details

Programming C# 5.0: Building Windows 8 Metro, Web, and Desktop Applications for the .NET 4.5 Framework [Paperback] ($30)

  • pre-order
C++ The Complete Reference, 5th Edition

C++ The Complete Reference, 5th Edition [Paperback] (email notificaton)







Wednesday, June 20, 2012

Tech Review C#: Thursday, June 14, 2012


Interfaces (C# Programming Guide)

  • can't declare if public in interface only in implementation.
  • VS doesn't explicitly give the interface public when generating from an interface







Friday, May 11, 2012

Tech Review Software Engineering: Friday, May 11, 2012


text stream in C#


memorystream c#







Tech Review Software Engineering Java: Friday, May 11, 2012

sorting a arraylist in java

working with doubles in java

double const in java




Tech Review Software Engineering: Thursday, May 10, 2012

Java - TreeMap with Comparator

http://www.java-samples.com/showtutorial.php?tutorialid=371
  • OK example
  • another example
  • RepastEdge<T>
class EdgeCompare implements Comparator
{
   public int compare(Object a, Object b)
   {
      double weightA = (RepastEdge)a.getWeight();
      double weightB = (RepastEdge)b.getWeight();

      int returnVal;

      if (weightA < weightB)
      {
         returnVal = 1;
      }
      else if (weightA == weightB)
      {
         returnVal = 0;
      }
      else
      {
         returnVal = -1;
      }

      return returnVal;
   }
}

TreeSet ts = new TreeSet(new EdgeCompare);

  • negative returned if a < b
  • zero if a == b
  • positive if a > b
List of Java Exceptions

Java - Arrays

Java - List Example
  • interface definition

Java - Class WattsBetaSmallWorldGenerator



Java - Class RepastEdge<T>



Java - for each loop Example
  • for (String city : cities)


Thursday, May 10, 2012

Tech Review Software Development: Wednesday, May 9, 2012

PDF to Text

prdtotext
Freeware Lists from Tech Support Alert

How do I Reference another Project?
  • Add it as a project under references.
Java - Sorting a Key value pair
I would like some thing that show how to create a TreeMap with a Comparator.

Java - HashSet
Java - BidiMap (bidirectional lookup map)
Java - Indexer (returns a BidiMap with an index on each element)

Wednesday, April 25, 2012

Tech Review Software Development: Tuesday, April 24, 2012


SVN Simple Merge

  • Able to figure it out from this, but was not what I wanted.
Here is what I would have like to have found.

Steps to doing a simple merge from the command line.
  • Make sure that both the SVN source being merge from and the source being merged to are up-to-date
    • Do the following commands in both the from and the to folders.
      • > svn status -u
        • Should come back that everything is current
      • > svn update
        • Nothing should update
    • The from folder doesn't need to be on the present machine if you know its URL and that it is up-to-date.
  • In the to folder perform the merge command.
    • This is different from a checkout command which should be done in the folder above what is being created.
    • Get the URL in the from directory by doing the following command.
      • > svn info
        • You want the URL after "URL : "
    • Using the above URL perform the following command in the to folder.
      • svn merge <URL of the from>




Monday, April 23, 2012

Tech Review Software Development: Friday, April 20, 2012

Installing gacutil exe
  • You really need to install the Windows SDK

Microsoft Windows SDK for Windows 7 and .NET Framework 4

  • download and install
  • takes about 15 minutes





Friday, April 13, 2012

Tech Review Software Development: Thursday, April 12, 2012

Learning XML

Best XML Books

  • Nice list of books.
  • Also has a link for online tutorials and classes

XML Articles by Darla Ferrara

  • This has a ton of good looking articles for learning XML.





Thursday, April 12, 2012

Tech Review Software Development: Wednesday, April 11, 2012

How to resolve conflict with binary files?

  • to get the incoming version
    • svn resolve [filename]
  • to keep the base version
    • svn revert [filename]

How to use the HashSet and SortedSet Collection Classes in C# 4.0

  • HashSet<T> example = new HashSet<T>;
how do I call a parent class in C#
  • base.Routine()








Tech Review General: Wednesday, April 11, 2012

  • predicted death of Osama bin Laden 4 hours before President announced.
  • scans Twitter universe for connecting threads and pieces them together to form a predictive picture.



Monday, April 9, 2012

Wednesday, April 4, 2012

Tech Review: Wednesday, April 4, 2012


SVN Update Current Status Indicators

  • A = A file was added to your working copy.
  • U = A file was updated to your working copy.
  • D = A file was deleted from your working copy.
  • R = A file was replaced in your working copy.
  • G = A file was successfully merged.
  • C = A file has merge conflicts that must be resolved by hand



Powerfully lead by Spirit.


Monday, April 2, 2012

Tech Review: Friday, March 30, 2012


The 'broken patent system': how we got here and how to fix it


  • Good article
  • fails to discuss some of the real problems with current software patents:
    • overlap
    • constantly changing
      • we are not going to be closing the patent office anytime soon



Uniform resource identifier


  • a string of characters used to identify a name or a resource
  • URL - Uniform Resource Locator
  • URN - Uniform Resource Name


Google Augmented Reality Glasses Expected by Year's End

Google Augmented Reality Glasses Expected by Year's End



  • augmented reality 

Google Glasses Are a Prescription for Disaster

  • bobblehead googleites 

Google to Sell Heads-Up Display Glasses by Year's End

  • $250 - $600


Basic Merging



Using 'find' with Ignore Case
  • find . -iname "util"






Wednesday, March 28, 2012

Tech Review: Monday, March 26, 2012


Study: More than 50% of Global 500 use vulnerable open source components


  • The real problem with this article is who did the study?  Are they truly objective?

Smart phone all wet? Resurrection is in the bag.

  • seems to work well


Why NIST's cloud definition is fatally flawed

  • missing big data
  • missing scalability
  • NIST - National Institute of Standards and Technology











Friday, March 16, 2012

Tech Review: Reading Local Files in Chrome


file:/// - wont always work.  Use Ctrl-O instead.


Thursday, March 15, 2012

Tech Review: Software Engineering: March 15, 2012



RGS - ?

  • custom registrations in ATL
  • RGS substitution map includes UUIDs as well as strings.
  • resource scripts
How the VS adds the component to the registry.
Generated by regasm.


Thursday, March 1, 2012

Tech Review XML: Wednesday, February 29, 2012

URN in XML name space:  http://www.w3schools.com/xml/xml_namespaces.asp
This doesn't work with xmlstartlet or VS XML.  They both say the XML is invalid if it is simply 

<table xmlns="some urn">
</table>

However, the following will work:

<table xmlns:urn="some name" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
</table>

Monday, February 20, 2012

Tech Review SQL: "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine."


http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/b5a79958-5bce-4229-a69f-75589b6240a8
  • The problem is that the application I built was 64 bit and Jet and ACE OLEDB only have x86 versions.
  • An x64 process cannot load x86 components.
  • Office 2010 provides a Beta 2 version of ACE OLEDB.

Thursday, February 16, 2012

Tech Review Software: Wednesday, February 15, 2012

xml namespace example


  • Name conflicts
    • <table>
      • <tr>
        • <td>Apples</td>
      • </tr>
    • </table>
    • <table>
      • <name>Stan</name>
    • </table>
  • Solving name conflict using a prefex
    • <h:table>
      • <h:tr>
        • <h:td>Apples</h:td>
    • <f:table>
      • <f:name>Stan</f:name>
  • XML Namespaces - the xmlns attribute
    • namespace for prefix must be defined
    • defined by xmlns attributes in the start tag of an element.
    • xmlns:prefix="URI"
    • when a namespace is defined for an element, all child elements with the same prefix are associated with the same namespace.
    • The namespace URI is not used by the parser to look up information.
  • URI - Uniform Resource Identifier
    • identifies an Internet Resource
    • URL - uniform resource locator
      • identifies an Internet domain address
    • URN - uniform resource name
  • default namespace for an element
    • saves using prefixes in all child elements
  • root element
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    • tells the XML parser that the document should be validated against a schema.
  • xsi:noNamespaceSchemLocation="shiporder.xsd"
    • specifies where the schema resides.
    • local to xml in this instance
  • XML Schema Definition (XSD)
  • Standard namespace above is (xs)
  • URI associated with namespace is the Schema language definition
  • Define all element and attributes first and than refer to them
    • ref="name"
  • Can use named types

  • XML - eXtensible Markup Language
  • XML parser
  • XML Document Object Model (DOM)
  • XSD schemas or Document Type Definitions (DTDs) to verify validity
  • XmlLite vs System.XML
  • XmlLite does not schema validation
    • use MSXML.exe
  • XmlLite Security
  • Denial of Service (DoS)