My Blog

My WordPress Blog

Category: Computers


  • OS X Yosemite install stupid

    So, the OS X Yosemite installer checks your hard drive before installing.  Makes sense, right?  You don’t want something wrong with the drive leaving you with a broken installation.  Now, you’d think this would be the first thing the installer does- while most problems can’t be fixed while the drive is mounted, they can be…


  • NCIS and Computers

    Apparently, you can write a virus that can go through the power cord on a laptop- not a power line networking device, but the actual power cord- to infect other systems.  This was actually how it was said to have accessed the NCIS network. To give them more credit than they deserve, the operating state…


  • Sony: 2K smartphone screens are not worth the battery compromise – News – Trusted Reviews

    Sony: 2K smartphone screens are not worth the battery compromise – News – Trusted Reviews. I’m with Sony on this.  There’s really no need- few people have eyes good enough to notice the improved resolution.  And there is not much content for resolutions that high, so you just display the same old stuff only with…


  • GLabeledBox Part 2

    In the first part, I went over a basic skeleton of a class to create a labeled box object using the ACM library in Java.  The first just drew both the label and the box at the same point.  I need to center the label, and I do so here. This version is almost useful-…


  • GLabeledBox, take 1

    Here’s the code for my first version of the GLabeledBox class.  This is what I mean by starting with a simple version and building up.  This just provides the necessary GObject overrides, and trows a fixed size box and a fixed text message up on the screen at a fixed location. Very unusable for my…


  • Labeled Box

    One of the homework projects for this Java class involves drawing a class diagram.  The superclass and the subclasses are in rectangles with the class name inside. Using what’s been presented in the class, you’ve got to place the boxes, and place the class names entirely separately.  This is not ideal- what you’d want to…


  • So I’m learning Java

    Properly, this time, as opposed to little bits I pick up from working through Android tutorials. Specifically, I’m taking the Stanford CS106A Programming Methodology course through iTunes U- lecture videos and all the class handouts are included. Should be fun.  Early assignments use a robot simulation called Karel.  I might post my code for one…


  • Python For Loops

    So, working on learning Python, I’ll be blogging short bits of code and tutorials to help hone my own understanding- and hopefully someone out there will find it helpful. So, a for loop is used in Python for iterating over a container, and for other loops where you can easily know ahead of time how…


  • Computer Networking

    Started a Computer Networking course at Coursera.  This isn’t a network technician course, this is more of a theory course, explaining how they work.  To use a car analogy, CompTia Network + is like learning to change the oil on your car.  This Computer Networks course is more about learning to design a combustion chamber…


  • Roll The Dice- /r/DailyProgrammer 130 Easy

    So, one thing I do to practice programming is doing some exercises at Reddit’s Daily Programmer subreddit.  I thought I’d work through the process on one of them. This challenge, http://redd.it/1givnn , is to write a program that will take a string of the form NdM, where N is a number of dice, and M is the…