One of the most challenging things about learning to work with compound data structures has been reading the nested hashes and arrays and extracting the right set of brackets to use to identify a particular value in your code. For example: movie = { title: ‘The Nutty Professor’, cast: [ { name: ‘Eddie Murphy’, characters: [ ‘Sherman Klump’, ‘Buddy Love’, ‘Lance Perkins’, ‘Papa Klump’, ‘Mama Klump’, ‘Grandma Klump’, ‘Ernie Klump’ ] }, { name: ‘Jada Pinkett Smith’, characters: [ ‘Carla Purty’ ] } ] } If I want to find a character, I have to reference an array inside a hash inside an array inside a hash…I think.
code
It happened again. At 5:00am this morning I woke myself up….talking through a solution to a coding problem I had at the end of the day yesterday. I was literally coding in my sleep. Remember the Tetris Effect? It’s in full effect. But I’ve seen this before and once I got over the shock of writing code in my sleep, I got pretty excited. It means some serious learning is going on.
So, all this week, I’ve been experiencing the Tetris effect and I’ve come to appreciate the beauty, and the painlessness, of learning how to break down a problem. Let me explain…. The Tetris Effect According to the study from Harvard Medical School, games like Tetris can reveal the way our brain integrates new information. In fact, the game Tetris has proved to be just that. Robert Stickgold and his colleagues at Harvard Medical School recently conducted a clever set of experiments in which they used the game to guide the content of people¿s dreams: among 17 subjects they trained to play Tetris, more than 60 percent reported dreaming of images associated with the game.
Preparing for Launch Academy while finishing up work as the director Brookline Tai Chi has been a massive exercise in balancing “theory and practice.” This explanation from Practical Object-Oriented Design in Ruby by Sandi Metz perfectly captures the difference: What is the difference between theory and practice? In theory, there is none. If theory were practice you could learn the rules of OOD, apply them consistently, and create perfect code from this day forward; your work here would be done.
“I just want to get a feel for what I can change/do…” Or “I just wanted to see what I could do…” In the middle of launching this blog, I wanted to change some of the core settings and I wasn’t sure what could safely be changed without breaking the whole thing. When I asked someone for help, I explained that I wanted to “get a feel” for what I could do without messing other things up.
Just running through a test post again to go over the process and remind myself how this works!
So, I just launched this new blog using Octopress. Here are the steps I followed: Basics How to Blog Deploying on Github I need to dig into the configuration stuff a little more. Writing This Post in Markdown I’m learning how to write this in Markdown which is also pretty new to me. Right now it feels like a lazy version of html, so we’ll see what’s it like as I get used to it.