Monday, October 17, 2011

Tech Review: Friday, October 14, 2011

New 6" Kindle for $79


  • 800,000 titles for $10
  • very small
  • Wi-Fi
  • E-Ink display
  • holds 1,400 Books
    • this seems a little small
  • read up to one month on the battery
  • adjustable text sizes
  • email PDF and personal documents to device
  • free cloud backup
  • borrow from you public library
  • buy once, read everywhere
  • NO TOUCH!
  • lots of difference between Kindles
Secure Android Kernel and 'classified' smart phones


  • research team
    • Google
    • George Mason University
    • National Security Agency
  • hardened kernel for Android 3.0
  • final stages of certification testing
  • secure national wireless network for first responders
    • looking to replace radio with smart phones
  • Connecting Soldiers to Digital Applications (CSDA) program
  • Michael McCarthy
    • Army's Brigade Modernization Command's Mission Command Complex
  • right security accreditation to operate on military networks and classified networks
    • hardware accreditation
    • software accreditation
    • triple-level security
  • OS accreditation help from NSA
  • Android kernel being tested for Federal Information Processing Standard 140-2 certification
    • mid-Oct
    • testing complete, just filling out paperwork 
  • FBI and Justice planning pilot projects on a larger scale than Army
Android a likely target once mobile crime pays

Google's Dart Web Language

New Style of Attack Can Slip Past Firewalls, Prevention Systems


  • techniques minipulates TCP/IP protocols to fragment packets and TCP segmentation.
    • confuses intrusion prevention systems
    • packets reassembled by host device
  • advanced evasion technique (AET)
  • Stonesoft
    • Finnish security company
    • Vasburgh

Wednesday, October 12, 2011

Java Review: Tuesday, October 12, 2011

Java Run-time Exceptions


  • Class IllegalStateException
  • example
    • throw new IllegalStateException();
  • use to catch programming development errors.
  • exception should never occur unless there is a programming error.
  • Class RuntimeException
  • not checked
  • not extra code
  • danger of being a 'lazy programmer'
  • can use to side step catch and specify requirements
  • Runtime exceptions represent problems that are the result of programming problems
  • If the client can reasonable be expected to recover from an exception, make it a checked exception
Garbage Collection in Java VMs


  • Big memory
    • works with
      • JVMs
      • HotSpot
      • IBM JDK
      • JRockit
      • what about Dalvik?
    • off-heap store
      • not subject to Java GC
    • Terracotta's tiered cache
    • Enterprise Ehcache
    • store up to a terabyte in the off-heap
  • Android, designing from performance
  • requesting GC
    • System.gc();
  • no guarantee it will run

Java Constants and Conditional Compile


  • No textual preprocessor
  • constants and conditional compilation
  • use public static final boolean constant for  a regular if statement in regular code
  • Have class using the constant interface implement the constant interface