Profile cover photo
Profile photo
Chris Jones
73 followers -
Software developer, ScrumMaster, and team catalyst.
Software developer, ScrumMaster, and team catalyst.

73 followers
About
Chris's posts

Post has attachment
Any idea which frog/toad species this is?  Nocturnal, found on the deck when I left the back light on.

Edit:  found in Apex, North Carolina.  The frog was about 2" long or less.

Google bumped up the brightness.
Photo

Post has attachment
An Eastern Box Turtle (Terrapene carolina carolina) in the side yard at our house outside Apex. This little guy is going to need to be rehomed before they rip up the land for a housing development.

The Eastern Box Turtle is listed as "Vulnerable" species, one step above "Endangered."
Photo

Post has attachment
Eastern Arboreal Tree Frog on my car on Thursday morning.  We removed him and returned him to his tree before I left for work.
Photo

At the dealer, getting an oil-change . . . Go Tour exercise #40 solution:

package main

import (
    "code.google.com/p/go-tour/wc"
    "strings"
)

func WordCount(s string) map[string]int {
    words := strings.Fields(s)
    counts := map[string]int {}
    
    for _, word := range words  {
        wordCount, exists := counts[word]
        if !exists {
            wordCount = 0
        }
        wordCount++
        counts[word] = wordCount
    }
    return counts
}

func main() {
    wc.Test(WordCount)
}

GoTour exercise 35:  Slices solution

package main

import "code.google.com/p/go-tour/pic"

func Pic(dx, dy int) [][]uint8 {
  var out = make([][]uint8, dx);
  for x := 0 ; x < len(out); x++ {
    out[x] = make([]uint8, dy);
    for y := 0; y < len(out[x]); y++ {
      out[x][y] = (uint8)(x ^ y);
    }
  }
    
  return out;
}

func main() {
  pic.Show(Pic)
}

Post has attachment
Home

I should have moved my 401k investments into bonds last week, before the election.  Better a little late than January.

Post has attachment
"The only thing that kept your grandparents from starving during the famine was that they knew how to use a genomic compiler and a bootleg fabricator."

No one wants to read realistic science fiction.

Post has attachment
Beta testing starts tomorrow.
Photo

Post has attachment
Photo
Wait while more posts are being loaded