It's the holiday season and we are visiting with family and friends. We are out gathering with people at parties or games or whatever. While hanging out with everyone we talk to each other.
One of the early questions asked to begin a conversation is "what you been up to lately" or "what do you do." I've participated in and listened to some conversations that began this way. Over the past month I have engaged in a dozen or so conversations and listened to a bunch more that began this way. I will note that I am not the best conversationalist.
When family, friends, or strangers came up to me and ask me that question, I fill them in on the hacking and trading I've been doing. I get two responses to my answer, "that's great" and they walk away or "that's great" and they change the subject. I did not get one person to pursue further into what I'm doing or exhibit any interest in what I've said. I've come to the conclusion that it could be one of two things, 1) hacking and trading are not interesting for the people I talked with or 2) my delivery in explaining what I'm doing was not clear and understandable for anyone to continue with that conversation topic. I believe the problem is with the latter.
In listening to other similar conversations, the response was much different. The questioner was engaged with the answers and continued with follow up questions to gain a deeper knowledge of the subject. I too became fascinated with what people are doing.
So, I've been trying to figure out why my delivery failed. As I noted earlier, I am not the best conversationalist. I don't participate in many conversations because I have a weak and soft voice and many people have a difficult time hearing me, especially in loud areas. I wing it every time I tell people what I'm doing so its probably not succinct and a little confusing. I need to practice.
I'm looking to improve in this area. In my research I've come across the concept of Branding. I will be working on Brand Me. I want to be able to articulate what I'm doing better. Maybe then I will get people interested in learning more.
Thursday, December 16, 2010
Monday, October 4, 2010
The Past Couple of Weeks
My mom came up to me and said, "do you realize for the past couple of weeks you've been on the computer from the moment you get up until the time you go to bed." I did not realize that. I've been so focused on what I've been doing, time has flown by. I am enjoying the work I am putting my time and effort into. All I've been doing is trading and hacking. I want to get better in these two disciplines.
I spend time on my trading looking at charts for patterns, support and resistance levels, and direction. I look back at my previous trades to check if I'm following my trading rules. I do research for my trading journal project.
I spend time on my hacking working on my project. I'm teaching myself Ruby on Rails. My Rails web application is for a youth club basketball team. I can add players with an image and their information. I can add leagues with each league having many games. I can add albums with each album containing many photos. I have a calendar that shows the current month that I can add events to which will show up for that day. I can add stats for each player that corresponds to a game. I add basic stats and the model does the calculations for individual and game stats. I am currently working on adding videos to my web application. I've used plugins and gems. I'm also learning and using CSS. When I encounter a problem I search for a solution, which can happen in a day or a month. This is FUN!
I wasn't actually on the computer all day, it just seems that way. I took some time to watch the Blue Angels. I took a couple hours here and there to go watch my nephews play basketball and football. But then I'm back on the computer. So much fun.
I spend time on my trading looking at charts for patterns, support and resistance levels, and direction. I look back at my previous trades to check if I'm following my trading rules. I do research for my trading journal project.
I spend time on my hacking working on my project. I'm teaching myself Ruby on Rails. My Rails web application is for a youth club basketball team. I can add players with an image and their information. I can add leagues with each league having many games. I can add albums with each album containing many photos. I have a calendar that shows the current month that I can add events to which will show up for that day. I can add stats for each player that corresponds to a game. I add basic stats and the model does the calculations for individual and game stats. I am currently working on adding videos to my web application. I've used plugins and gems. I'm also learning and using CSS. When I encounter a problem I search for a solution, which can happen in a day or a month. This is FUN!
I wasn't actually on the computer all day, it just seems that way. I took some time to watch the Blue Angels. I took a couple hours here and there to go watch my nephews play basketball and football. But then I'm back on the computer. So much fun.
Saturday, October 2, 2010
The Process of Finding Standout Ideas
How do you know if you have a blockbuster idea? As an example, is my Trading Journal idea a standout idea?
Some people have said to "just get started" on your idea and you'll discover if it's a blockbuster idea. Is that the best move? I read an article The Idea Virtuoso... that touts the process that university professors of research labs use to find the best idea. Having deep knowledge and expert feedback can differentiate between mediocre and great ideas. This reminded me of Dr. Johnson being awarded a grant to research the smart grid. What was his process to settle on that idea to get awarded that grant?
It seems like meeting with a group or team to brainstorm and discuss all ideas are needed to identify the best possible projects before getting started. This commitment to understanding the idea and seeking feedback will help you follow ideas you feel have a strong possibility for success.
It's called the idea-centric approach. You research your ideas to discover if there is an audience out there that sees value in an idea. When the standout idea emerges, the focus of your efforts goes toward implementing that idea. In this approach, you need to learn or know the field and seek expert advice.
Some people have said to "just get started" on your idea and you'll discover if it's a blockbuster idea. Is that the best move? I read an article The Idea Virtuoso... that touts the process that university professors of research labs use to find the best idea. Having deep knowledge and expert feedback can differentiate between mediocre and great ideas. This reminded me of Dr. Johnson being awarded a grant to research the smart grid. What was his process to settle on that idea to get awarded that grant?
It seems like meeting with a group or team to brainstorm and discuss all ideas are needed to identify the best possible projects before getting started. This commitment to understanding the idea and seeking feedback will help you follow ideas you feel have a strong possibility for success.
It's called the idea-centric approach. You research your ideas to discover if there is an audience out there that sees value in an idea. When the standout idea emerges, the focus of your efforts goes toward implementing that idea. In this approach, you need to learn or know the field and seek expert advice.
Monday, August 9, 2010
Adding Video to my Rails Web Application
My Rails web app has been going well. I've been able to figure out some things and get them to work. My current task is adding an upload and convert video function. I want to shoot video then edit the video and upload the video to my web app. I consulted google and was told FFmpeg was the way to go. FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. I consulted google on how to combine FFmpeg with Rails and was lead to Converting Videos with Rails: Installing FFMPEG. The problem is, this is an example of how to install FFmpeg on Ubuntu. I don't have Ubuntu. I'm on Mac OS X 10.4. I found Installing and Using FFmpeg on Mac OS X and followed the instructions with no success. This is where I'm at and what I'm doing.
Monday, May 10, 2010
Check - It Works!
I figured it out. I have attributes in my Stat database table that the user doesn't provide input for. The value, for the hidden attributes, is gotten from the other attributes that the user does provide input for.
What I did:
In the Model:
before_validation :cache_virtual_columns
def total_points
((twopfgm * 2)+(threepfgm * 3)+(ftm * 1))
end
def field_goal_percent
sprintf("%0.3f", ((twopfgm+threepfgm)/(twopfga+threepfga.to_f)))
end
private
def cache_virtual_columns
self.total_points = total_points
self.field_goal_percent = field_goal_percent
end
In the Form:
%= f.hidden_field :total_points
%= f.hidden_field :field_goal_percent
When a new Stat record is created, it checks the Model and before doing validations does the cache_virtual_columns method. cache_virtual_columns has the total_points and field_goal_percent DB columns equal the value in their method. This updates the Stat record to contain values for each attribute.
Thursday, May 6, 2010
“Always two there are, a master and an apprentice.”
I'm having a blast hacking away on my project. Rails is a fun language to learn. Lately I've been hitting a wall on the execution side. I will be working and get to a point where everything I do isn't working. I know what I want to implement and have an idea of how it should be implemented but nothing seems to work. I run searches to find an example of what to do but come up empty. Things get dark when I am unable to figure it out.
Here's my dilemma, I have a form for a user to enter stats. The user enters 2 point field goals made/attempted, 3 point field goals made/attempted, free throws made/attempted, offensive/defensive rebounds, and others. I have other model attributes that the user doesn't provide input for on the form. They are total points, field goal %, 3 point field goal %, free throw %, and total rebounds. I'm thinking the model can take the attributes the user entered, obtain certain values and perform the calculations to populate the extra attributes all before the record is saved.
For example, to calculate the points scored for the current stat record being created;
# before record saves, do total_points method
before_save :total_points
# calculates total points of current record
def points
@twopoints = :twopfgm * 2
@threepoints = :threepfgm * 3
@onepoints = :ftm * 1
@twopoints + @threepoints + @onepoints
end
private
# update :total_points attribute of record with points
def total_points
stat.update_attribute(:total_points, points)
end
This doesn't work. I'm in the process of figuring this out.
Sunday, May 2, 2010
To Boldly Go Where No Man(Me) Has Gone Before
Captain's log, Stardate 542010.5.
I've been working on my project for week's. The past couple days have been uneventful but I've made excellent progress. I am figuring out the relationships between League, Game, Player, and Stat. I've been learning about nesting resources and nesting models in one form. I've split them into pairs.
League has many Games. Game belongs to League.
Player has many Stats. Stat belongs to Player.
This gives me these routes.
/leagues
/leagues/:id
/leagues/:league_id/games
/leagues/:league_id/games/:id
/players
/players/:id
/players/:player_id/stats
/players/:player_id/stats/:id
Now I am able to create a league with many games and players with many stats. I'm working on getting the players with their stats to belong to a specific game in a specific league. I want to access players on its own so I'm hesitant to nest it. Plus, Rule of thumb: resources should never be nested more than 1 level deep. So I shouldn't do Games to Players to Stats.
I would like to have the form below to create the box score for each game. It will also track each players stats.
It would start with a drop-down menu to choose league. Selecting a league will activate the drop-down menu of games in that league. Selecting a game will do something that will allow me to get the form to choose a player from a drop-down menu and add their stats for that game. And do this for multiple players.
When I view the game I see

May the force be with you.
Subscribe to:
Posts (Atom)