Jakew
Consulting, hacking, and motorcycles

SVN continues to kick it

Monday, 26 November 2007 17:56 by jakew

My elation with SVN just keeps on growing with each encounter.  It puts up with my ineptitude and placing projects in folders by allowing me to easily move them.  But this little trick took the cake:

I just grabbed the Crap4J code base off of Crap4J.org's site.  It doesn't do .net, but at least I can read the code to learn how they are doing it.

Go ahead and visit here and try it out for yourself: http://trac.crap4j.org/wiki/BuildCrap4j

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Wow!

Monday, 26 November 2007 17:49 by jakew

I love that I’m busy but there is a down side to it. I’ve been so heads down for the past year or so that I’m missing out on some great stuff. This for instance: “A Man Who Knows His Crap” is a fantastic presentation.

Basically, Alberto has come up with a good way to determine whether or not code is maintainable or not. The current version of Crap4j uses cyclomatic complexity and test coverage to calculate a crap score. The higher the score the less maintainable your code is.

Now I either need to write my own version for C# and VB or find some kind soul who has already started……

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Still can't stand him

Monday, 26 November 2007 14:16 by jakew

Today while I was working out I started thinking about the various podcasts I listen to which led me to think about Adam Curry.  I wondered if perhaps I had over reacted to his 9/11 Daily Source code and that maybe if I had listened a little longer that it might have made some sense.

Well today while I was doing some testing on a client's project I decide my office was too quite (dogs & cats are sleeping) so I turned on Curry's No Agenda show (talk about false advertising).  First - I can't stand Duhvorak (hack writer) so that didn't get things off to a good start.  Second - it was nothing but politics and how evil conservatives must be. 

It's too bad.  Adam has done the internet a great service by helping to popularize podcasting.  But I personally get really tired of people trying to foist their political views ('liberal' or 'conservative') on to me.  Back to the Zen podcasts it is.

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

The tracks from life long to do list

Thursday, 22 November 2007 20:42 by jakew

Race tracks I plan to visit:

  • Le Mans, France (Paris)
  • Jerez, Spain
  • Mugello, Italy (Tuscany)
  • Catalunya, Spain (Barcelona)
  • Donington Park, GB (Nottingham)
  • Assen, Netherlands
  • Sachsenring, Germany (Chemnitz)
  • Laguna Seca, USA (Monterey CA)
  • Estoril, Portugal
  • Misano, Italy (Rimini)
  • Motegi, Japan
  • Philip Island, Australia
  • Sepang Circuit, Malaysia
  • Comunitat Valenciana, Spain
  • Barber, US (Birmingham AL)
  • Miller, US (UT)
  • Road America, US (Elkhart WI)
  • Mid-Ohio, US (Lexington OH)
  • VIR, US (Alton VA)
  • Road Atlanta, US (Braselton GA)
  • Infineon, US (Sonoma CA)
  • Willow Springs, US
  • Nurburgring Nordschleife, Germany

A few others I’m considering:

  • Losail
  • Monza
  • Misano
  • Brno
  • Brans Hatch
  • Vallelunga
  • Magny Cours
  • Portimao

I better stay really focused next year so I can do all of that.

As for next year my plan is to hit the local tracks for my usual track day work. Gotta get faster. Luckily for me there are 5 local tracks (3 are at MSR). The MSR tracks and Oak Hill will do a great job making me fast. If I can get fast on Oakhill (the current lap record is 1:21.824 held by Ty Howard) then I can go fast anywhere. I’d say about the same with MSR’s new track because it is very twisty with lots of elevation changes to deal with. It is literally built on the side of a hill.

I also plan on doing Barber next year for Super bike school. I’m going to do levels 3 & 4.

Anyway, My goal is to start going through the list (3 days at each track) in 2009. So I have my work cut out for me.

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Scared myself

Wednesday, 21 November 2007 22:59 by jakew

Over on “The Shane & Peter Inc. Blog” they made a post about their 2008 goals. Reading it got me thinking about my goals for next year. So now, I’m sitting here working on my business plan for next year. It’s scary gut wrenching stuff to do for a hacker. I’ve spent fifteen years with my eyes glued to the screen writing reams of code for my various employers and clients. Until these past few months never have I stepped back to really look at the big picture and work the numbers. I feel somewhat dizzy now.

I am building a software and services business. In the next few weeks I’ll begin executing my marketing plan (Ok – I’m still working on it too). I also have an opportunity in the pipeline that will require me to get help, equipment, and probably an office (t-shirts mandatory dress code). So I started putting together numbers based on a little google research. Things like pay for software developers in Texas, Office space, price of laptops, jujifruits, servers, T1 phone lines, and laser printers.

The numbers indicate that I can do it. Meaning that the service opportunity can launch the business, but there won’t be much margin for error. That means that if I want to eat I have to get my product selling and develop more products too.

I doubt many people ever sit down and work up the numbers. Maybe it is better that way. I don’t really know, but I miss my ignorance now.

I’m excited about the opportunity before me and grateful to the people who are making it possible. At the same time I’m scared of the possibility of failure. I’m also scared of the possibility of success.

I know success seems like an odd one but it really isn’t. Success here means big change. I handle small change really well. C# instead of C++, Windows instead of Unix, Motorcycle instead of car. Big deal. Leader/Owner/boss of a business instead of being the hot shot architect is a big deal. The tools I’ve always used to win won’t work the same way. I’ll have to get new tools and they won’t look anything like the old tools.

Actually, this helps me understand one of the questions in building a well formed outcome. The question is something like “What is something you value that you will have to give up when you get what you want?”. I think I understand the question now and I know the answer. Sucksville – my programming. I won’t be able to spend all my time writing code. My time will be split around the various roles that need to be carried out. Admittedly I will outsource, buy or hire people to handle the stuff I suck at as quickly as I can. I’m not an accountant so I’ll get one, same with lawyer and marketer. Eventually I will get the business to a point where I can focus on just product development. But I don’t think that will happen next year.

Anyway, go try it out. Count how many people are in your group. Guess their salary or use your own. Make a guess (use Dell’s web-site) at the cost of the gear you use (computers, printer, internet access, software, etc). Add it all up and see what you get. Then think about your manager or the director or VP over him. They’re responsible for making sure that number (or what like it) is covered. Also, bare in mind you probably didn’t count insurance, 401K or bonuses. Nothing is free so the money has to come from somewhere.

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Construct continued

Tuesday, 20 November 2007 06:34 by jakew

Yesterday one of my friends emailed out something from an article about a study done about literacy rates. Of course the article bemoaned falling literacy rates of 18 to 24 year olds. The article in question is here: American Youth TV Habits Lower Job Prospects, Community Service.

For me simply put – it doesn’t matter. It does not change what I’m going to do. It does not change the fact that I find myself needing to write a pile of statements of work and perform the work there in. It does not change that I make my kids spend time reading, playing games on their Wii, riding bikes and participating in sports. It provides nothing useful and being from old media while delivering their usual gloom and doom message caters to my bias that if it were on paper its only utility would be to help me build a fire in my fire pit.

At the end of the day this isn’t hard science. Humans remain humans. Kids will either adapt to the environment, find successful ways to change the environment, or be cast aside as others move in and change the environment and are more successful at it. God forbid that we be invaded by France and lose because the irony would just eat at me.

The only part of the discussion I have any interest in is the capabilities of the human mind and the question of whether we retain the ability to operate in construct space. My answer remains an emphatic yes we do. In fact I’m even willing to go a step further and say it has improved in the past generations aided by the easy access to technology our environment is giving us. The reason I believe that is the shear verity of social memes in operation simultaneously. People are more imaginative and creative than ever before. Thank god we have the technology so those creations can be more easily shared across the globe.

So instead of reading gloom and doom crap produced by people you don’t know and possibly should not be given your trust – go out and create something , do something. If your concern is that kids are not living up to your expectations – what are you doing about it?

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Construct

Monday, 19 November 2007 06:59 by jakew

 

I wrapped up my NLP Master’s class over the weekend (2007-11-17). The class taught me a lot and has given me some really neat tools I’m beginning to put to work now. But during our discussion the topic of people abilities to do construct came up. I’ll have to explain what NLP means when we talk about construct but the basis position taken by my instructor and I guess some of the other researchers who built and continue to maintain construct is that we have been and continue to lose our ability to do construct in our minds. Before going any further I need to explain what I’m talking about.

NLP models the sense and splits up experience in to them. The big ones are Visual, Auditory, and Kinesthetic. In each of those areas you have recall and construct. If I ask you what color your car is you will (or should) go in to visual recall. If I ask you what you think an alien should look like you should go in to visual construct (or freak people out by going in to visual recall). When we are reading stories we tend to do a lot of visual construct (you’ve seen aliens on TV or movies so it probably isn’t the greatest example).

The theory from some of the NLP researcher type, if we label them as such, is that humans lost the ability to do kinesthetic constructor a very long time ago. Kinesthetic contains things like feelings and physical actions. The easiest example I can think of is how would you feel seeing a puppy hit by a car? Or how would it feel (sensations in the body) to drift a motorcycle through a turn with the rear tire spun up and the rear end coming around causing the front end to point deeper toward the exit?

The go further to posit that we’ve lost the ability to do auditory construct. In this case the loss has occurred in our near past. This would be the ability of a composer to hear the music he is composing without anybody actually playing. Be able to read the notes on a page and be able to tell how it will sound. I’m not a strongly auditory person, it isn’t a channel I exercise and grow much so at the moment I cant really think of other example. But I know of mechanics who can tell whether an engine is running right just by the sound of the exhaust, this maybe auditory recall, but I’ve seen it done with engines or vehicles never before encountered so at a minimum they are able to synthesize new sounds based on old experience.

Finally and from their perspective they think we are losing the ability to do visual construct. And this is where I throw down the bullshit card on the entire thread of thinking. The specific reason the card is pulled is the reason why they believe it is being lost: the progress of technology. We, meaning my generation (gen X) and our children spend some much time engaged with computers or technological devices that we must be losing something. I’ll agree that we are changing, but loss is in the eye of the beholder.

The loss of credibility here is that it sounds too much like the bullshit spewed out by older generations when talking about the newer generation. We don’t respect them enough, we’re lazy and shiftless, our music is too loud and makes no sense, etc, etc, et nausem make me puke right where I stand.

Here’s the problem from my perspective and why I’m not convinced: NLP is at the very most generous a soft science (and I am being extremely generous using the word science, but it is a study). It has no mathematical grounding like say chemistry. I’d love to call computer science a science but its really engineering for mathematicians. Because NLP draws on psychology it really pulls on statistics which is not really math. You can’t really make good predictions with statistics because you’re always going to be wrong sometimes. With math it either works or doesn’t. You can’t predict what I’m going to do from moment to moment. You can make an accurate guess but at the end of the day it is only a guess. Next – even with what we have scientifically – we still don’t know how the brain really works. We really don’t know what is going on inside people’s minds. NLP does its very best to model it based on asking questions and observing subjects, but it is very difficult to do and at the end of the day modeling is an art.

The final piece is – they’ve not modeled every single person so how do they know? 1 instance breaks the theory. You simply need to find one person who does kinesthetic construct and you’ve blown a hole in the whole thread. I believe I do kinesthetic construct which is why I tend to black myself out when I start reading about various medical things. I feel it. It isn’t a phobia or some other traumatic thing. It’s my imagination building up what it would (ah ***) feel like having that needle driven through my skin into my bone in order to sample my bone marrow. It doesn’t feel good and I really don’t like it. I’ve tried various swishes and tried rewriting personal history. The ability is simply there, its something my mind does. I can also imagine what it is going to feel like when I make a motorcycle drift through a corner as I described above.

This is the thing – my grand parents thought all you hippies where going to destroy the country and leave it in ruins. Bunch of free lovin, pot smoking, anti-war, tree hugging, communist sympathizing, granola eating, rock and roll listening hippies – going to ruin it all. You didn’t. Either you guys really suck and failed or they were wrong. I’m going to go with they were wrong. The world changed and it’s changing again. So why does this change scare you guys? Why is it necessary to believe the next generation is less than you are? What do you get from that belief and does it make it easier to get through the day? Everybody is entitled to their bias, but be careful of the maps it draws you they won’t take you where you want to go.

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

One more SVN thing

Sunday, 11 November 2007 15:14 by jakew

I’m in the process of importing my stuff in to SVN. One small issue you run in to with importing Visual Studio projects is that there are things you don’t want imported in to SVN. For instance everything under bin and obj does not need to be imported. There are also some other files that you don’t want to go either.

Sense I have a fairly large library of code to import manually deleting this stuff is out of the question. As such I wrote a simple tool that will crawl the selected directory tree removing the bin and obj directories. I need to modify it so that it also kills the other files in the process (like *.suo).

I need to figure out how to tell SVN to ignore the bin and obj directories after I do a checkout, but I can save that for another day.

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

More SVN praise

Sunday, 11 November 2007 15:08 by jakew

I’m reconnecting my working copies to the new server and it couldn’t be better. On my workstation I’m using Tortoise SVN (http://tortoisesvn.tigris.org/) which provides a nice explorer shell plug-in. With it you can just right click on files or directories and do SVN type stuff off the context menu.

In this case, to relocate your working copy’s source from one server to another you do the following:

  1. right click on the root directory
  2. choose “Relocate…” off the menu
  3. Enter the new URL for the repository

The only issue I had was that I needed to redo my password on the new server. Once that was done it just worked.

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

WD’s MyBook – bring on the suck

Sunday, 11 November 2007 14:57 by jakew

This year I got myself a new kick ass workstation (dual XEON duos, 4Gig ram, 2 256Mb Video cards, 3 20” LCDs – ie it kicks ass). My old workstation was good and I had planned to use it as a server (you can never have too many servers) but it has sat turned off sense March. Yesterday I decided it was time to bring it back to life as a host for a few virtual machines I’m using.

Unfortunately I forgot that I had yanked its 250Gb D: drive to use in the new workstation. So it was time to go get a new drive. I ran to BestBuy figuring that I’d grab a cheap 200Gb drive and be done with it. I wasn’t prepared for what I found: 1Tb hard drives! Even better, or so I thought, they had 1Tb external drives that had Ethernet ports on the back! Cool! Plug it in, turn it on, map the drive and party! So like a rube at the carnival I bought it.

My first impression was great. The unit was small, the size a hard back sci-fi novel, and very nice looking. I plugged it in and powered it up and then grabbed the docs. WFT!? I have to install a driver? Alright. Turns out they give you this MioNet crap that handles setting and managing the share. The drive doesn’t just act like a network share that you map and then start copying files to. MioNet does a bunch of extra crap that I really didn’t want going on and didn’t provided a way to say essentially – just give me the friggin file share.

I decided to ignore that and press on. I started to copy stuff out. My home network uses 100Mb Ethernet. Guess what? A 25Gb VPC image takes nearly an hour and a half to copy to the drive. Are you kidding me? There would be no way I could use this to host VPC images. Even if I switch to Gigabit Ethernet its too slow.

End result – I threw the boat anchor back in the box and went back to BestBuy. I picked up a 1Tb SATA300 drive and controller for a little more. It is taking about 20 minutes to copy over 45Gigabytes of VPC to the machine (two drive images for one machine).

I still like the idea of having a NAS in my house. But if you’re going to sell me on it make sure it just works. I’m fine with a driver, but goofy crap that does more than what I want needs to be able to be turned off or installed as a separate application.

As for the speed – that was sorta my fault. I knew in the back of my head there was no way a 100Mb Ethernet was going to support this.

While I’m not a fan of MyBook for my purposes for other people it might be a really good product. People who like to hack stuff should love this thing, and basic users should also like it.

Hackers should like it b/c the box is running Linux and you can get SSH going along with a bunch of other stuff. In fact the way the box is making the drive available to you is via CIFS. However, in my case I just wanted to plug it in and run. I really don’t have time to be hacking a box so it will do what I want it to do. That said I really think WD would be wise to cater to this market. There are tons of geeks out there that will buy products they can hack and customize.

For basic users the MioNet stuff might pass muster. If all you want to do is create a pile of music, your photo album and other stuff – this thing will do it. But if you are looking to host really big files I don’t think it is the answer.

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed