Home Blog Services Resume Contact

The Turn-In Blog

Philip Cheshire's personal blog, rants regarding anything and everything but mainly regarding his findings in day to day programming of java and websphere portal as well as his weekend actities at the autocross course.

What to be notified when a new blog post is published? Sign up here!

Your Name:
Email:

Your information will be safe. I will not, under any circumstances,
disclose or sell your personal information for any reason at all.
You will have the ability to unsubscribe at any time with a link in the
email you will receive when a new post is entered.

View All Posts

You can be surprised as to what you can do with 8 people in 52hrs!
posted on Wed Feb 01, 2012 at 02:47 PM

On January 20th, I participated in the first Startup Weekend held here in Jacksonville, FL. A friend of mine and I decided we’d go, with his brother pitching. I reserved the right to bail on my buddy if I heard of a better idea than the one his brother was planning on pitching.


Friday began with a mediocre dinner and some networking, followed by a series of speakers including a former Mayor of Jacksonville. After what seemed like an eternity of various speakers telling us all the same thing, a guy by the name of Joey Aquino was introduced. Joey was the liaison from Startup Weekend’s HQ in Seattle. The night began to get interesting…


Joey broke the ice with a series of ice breakers for the 150+ attendees, including the most epic game of rock, paper, scissors I’ve ever heard of (150+ paired down to the final 2). After the ice breakers, it was finally time to start hearing pitches. Over 60 people took to the stage to pitch what they thought was the best idea ever. After hearing all the pitches, I looked down at my notes and I had only written down 3 of the 60 pitches. Disappointing in my opinion but then again, all it takes is one good one to help me retire early!


We were given about 15 minutes to talk to the pitchers and hear more about their idea. I first spoke to my #2 choice, an alternative energy solution. It was based on windmills and after spending 3 years in IL, I was pretty familiar with the technology and what he was proposing just didn’t seem quite up to par. Then again, it could have been just me. I don’t claim to be the smartest guy out there.


I then managed to find my #1 choice and after listening to her speak to several other people, I was sold on her idea. Now it was time to convince her she needed me on her team! Selfish, maybe, but this was a dang competition!


We were given 3 sticky notes to vote with. I voted for what I thought were my top 3 choices, including my friend’s brother’s idea (after all, he was legitimately my #3). They tallied the votes and chose the top 15 ideas. I slowly made my way across the auditorium towards my #1 and once they said “go”, I was only feet away from her. I convinced her that Java was the right way to go and that I had all the resources she needed. We picked up three other business minded people, a graphics guy and another developer.


We made our way up to our designated room where we began flushing out the concept, business plan, and what we were going to build over the course of the weekend. Right about the time we got everything figured out, it was 1:30am and the organizers kicked us out. I told the team I’d see them at 8am the next morning.


My alarm went off at 7:30 and I instantly realized that I was going to be later than promised. I decided to try and make it up to them by stopping and getting Chik-fil-a breakfast sandwiches for the team. When I arrived, our leader had the same idea and we now had 16 Chik-fil-a chicken biscuits. I couldn’t help but laugh. We managed to pawn the remainder off on the judges in hopes it might sway their opinion.


The other developer and I began cranking out HTML mockups of the site we were developing while the graphics designer worked on the site design. Just after lunch, the designer handed over the site graphics and we began integrating them into our pages. We realized early on that making the site completely database driven was not going to happen within the time frame so we focused on making the HTML functional, including jQuery sliders, dojo injected elements, google maps APIs and even managed to get the Facebook authentication and registration functioning! Then, before we knew it, was almost mid-night and we decided we’d leave early and hit it back hard on Sunday morning.


Since Chik-fil-a is closed on Sundays, I drove through Burger King to grab the team bacon, egg and cheese biscuits. Fortunately, our team leader didn’t have the same idea and we didn’t have an abundance of leftovers. The business end of our team spent the majority of the day finalizing the business plan, creating the presentation and finalizing the numbers. We techies spent the day adding in extra functionality where we could without introducing too much server side code.


Before we knew it, it was 4pm and it was time for the tech check for our presentation. Everything checked out and our leader began practicing. She only had 4 minutes to make the complete pitch to the judges with another 4 minutes of Q&A if they had any questions. Her first practice run she nailed it right on 4:01. Sweet. However, I knew that come presentation time, she would be talking slower and might not quite make it in time. More later on that…


Starting at around 5pm, dinner was served and shortly there after the speakers and organizers started in on their talks to us. Afterwards, we decided that the new rule at these type of events is that you can’t thank someone more than 5 times! It was getting ridiculous and boring, but as these things tend to go. The current Jacksonville Mayor showed up, spoke for a few minutes, then bailed. Typical stupid politician. Claim to support all that we’re about and then bail before we can show him. /rant…


Finally it was time to start hearing the pitches to the judges! We were slotted as #12 out of the 15 so we had a lot to hear before ours. Some people did wonderful jobs presenting with mediocre ideas and others had mediocre presentations with really good ideas. We had a break after 7 of them pitched. After the break, we had a few others to listen and then it was time for us.


Our leader took total control and owned the presentation. She got time called with only 1 more sentence to say, so in our opinions, she nailed it! Then it was time for the judges’ responses…


“That is such a great idea! You should not leave this room unless you have already taken your site down or have it launched to completion. If word gets out about your idea, you’re likely to have competitors before you know it. Great job, great idea and the best I’ve seen so far!”


WHAT!?!? YES!! And that was only the first judge! The others had only good things to say and one of them asked a question which was related to our required starting funds. The same judge asked us why we were a .net and not a .com. The answer is that the domain was already owned but was for sale to the tune of $3,200+ and she wasn’t willing to invest that kind of money without reassurance that she would get a return on her investment.


We were all very giddy and excited after hearing all the great things the judges had to say about the idea and presentation. After the next pitch I decided to step outside and try to calm down some. When I returned, everyone was sitting with their heads in their hands. I asked what was wrong and the answer I received was, “Someone just bought the .com domain.” SON OF A B**CH!! We panicked and purchased the .com, .net, and .org of the domain with the word “the” in front of our original domain.


After the last pitch, there was a short break while the judges conspired and collaborated on who the winners would be. They returned and announced the top 6, of which was US AT NUMBER 1!! We were extremely excited but I don’t think anyone in the room was truly surprised since we all saw the same presentations that everyone else saw too. During our leader’s “acceptance speech”, she told the crowd, “To whomever purchased the domain name after our presentation: tisk, tisk!” Choice words since mine would not have been so “PG”.


We claimed our prizes (which ended up being over-hyped and ultimately kind of lame from my perspective) and then spent the next hour posing for pictures and giving media interviews (I’m camera shy though). We finally got out and made our way to the local Mellow Mushroom pizza to celebrate with some much needed beer. We didn’t arrive until about 11:30pm and most of the team left around 12:30. I managed to leave around 1:15am to make it back home before 1:30am. Needless to say, work at 7:00am on Monday morning was a little rough, but it was all totally worth it!


We have already had several meetings and there are more scheduled. One of our team members stepped up and purchased the .com that we thought was previously purchased (turns out someone just put in a bid and it was rejected). I’ve purposely left out the concept and name of our little startup based on the judges’ comments. However, we’re working hard to get it up and completely functional as fast as our spare time will allow.


I had such an amazing time at the first Startup Weekend Jacksonville! I think it proved to both myself and my beautiful fiancé that I really am a huge nerd at heart. I proved to myself that I obviously work extremely well under very short deadlines and enormous pressure, both of which I thought but know I know. I can’t wait to participate in next year’s startup weekend and do it all over again!!


View Comments      

Support my site!


Turns out, putting a Ford V8 in a BMW takes a lot of work!
posted on Wed Dec 21, 2011 at 07:43 AM

Shortly after purchasing my 92 BMW 325is, I found a website that inspired me to follow in its footsteps; e36v8.com. The author of that website has detailed step by step directions to swap a Ford Mustang engine into the E36 chassis. Got torque? I think so!


I started in on the swap back in October. Well, leave it up to me to start complicating things and not following the directions that I ordered from e36v8.com. Instead of going fuel injected, I decided to go carbureted to make the wiring simpler. Come to find out, it probably would have been easier doing the fuel injection route now that the car doesn’t have an ECU at all. Things like the power windows (the e36 never came with manual windows), ABS computer and the fuel pump are now unknown quantities. It’s been so long since studying circuits and relays that I’m finding myself reading wiring 101 websites to get educated and stop myself from screwing up everything more than it already is!


I also complicated things by taking the 94 GT motor I purchased and converting the front accessories to the 87-93 GT, including water pump and all the accessory brackets. In doing so, the ARP engine bolt kit I purchased no longer has the correct bolts. (d’oh!!) It wouldn’t be such a big deal if my helper (and co-driver) wouldn’t have been diagnosed with carpal tunnel syndrome in his primary hand. I’ve never claimed to know what I’m doing when it comes to engines and he has been carrying the build in that department, (virtually the whole thing). I’ve taken the wiring changes under my wing and have begun designing a new wiring harness to operate the vehicle. A good friend of mine claims I’m over complicating things but according to the BMW wiring diagram, without an ECU to control all the relay signals, all the wiring and fuses are virtually useless.


I started the build with a very strict budget. I communicated this budget to my helper, who has been in charge of identifying the parts required. The real budget was slightly higher giving me room for cost creep. Well, we blew past that budget ceiling pretty quickly and now progress has basically stopped. With my wedding coming up in April, all extra funds must be diverted to the “wedding fund” to ensure my gorgeous fiancé and I have a great wedding and honeymoon. If I could land a little side work doing portal or java related development, I might be able to get this beast fired up before the wedding. Otherwise, she’s going to continue to take up the entire 2 car garage and collect dust until well after the wedding.


View Comments      

Support my site!


Creating URLs to Portal Pages and/or Portlets
posted on Wed Aug 17, 2011 at 07:25 AM

We often have a need to create a link from within a portlet that will link to another portlet or portal page, and possibly pass some parameters to it. In my example below, I’m only creating a link to another page but the links provided in this example detail how to pass parameters as well. This applies to IBM WebSphere Portal server v6.0 and above and I have tested it on v6.1.5.

 

First off, you need to download the Advanced URL Generation Helper classes that IBM has provided to us to use. Place the jar file in the classpath of your project.

 

To generate a URL, implement the following code:

 

MyServerContext serverContext = new MyServerContext(request.getServerName(),request.getServerPort());

String targetURLStr = OffLineURLHelper.generateUrl("my.page.unique.name",null, null, serverContext, true);

 

A breakdown of the parameters of the generateUrl method are as follows.

 

OffLineURLHelper.generateUrl(page.unique.name, portlet.unique.name.or.object.id, java.util.Map of parms, serverContext, nonPublicPageorNot);

 

This works if you are in base portal and linking to another page within the base portal. If you need to link to a virtual portal page, you have to use a different server context (MyVPServerContext) to formulate the URL properly.

 

MyServerContext serverContext = new MyVPServerContext(request.getServerName(),request.getServerPort(), "MyVPContext");

 

This will ensure the virtual portal context gets added to the URL to make sure the portal request gets routed to the correct virtual portal to be processed.

 

I wish I would have discovered this sooner as I could have used it in many projects in the past where URL mappings ended up being the best solution. This particular solution provides far more flexibility as long as the target link will always be in the same location (in or out of a virtual portal).

View Comments      

Support my site!


Blog Posts

02/01/2012
You can be surprised as to what you can do with 8 people in 52hrs!

12/21/2011
Turns out, putting a Ford V8 in a BMW takes a lot of work!

08/17/2011
Creating URLs to Portal Pages and/or Portlets

08/05/2011
Gathering User Metrics with Custom Portlet Service

07/08/2011
BMW Update

03/11/2011
Choosing a Software Vendor

02/08/2011
The Art of Successful Software Development

02/04/2011
Accessing PUMA Service from a Java Servlet in IBM WebSphere Portal 6.1.x

02/04/2011
Retrieving WCM Components Using IBM Web Content Management Java API in WebSphere Portal 6.1.x

02/03/2011
Uploading an Image, Resizing, and Saving to Web Content Management using IBM WebSphere Portal 6.1.x

02/03/2011
Retrieving URL Parameters in IBM WebSphere Portal 6.1.5

02/02/2011
New Website Design Launched!

02/02/2011
Gauging Interest: Free AutoX Registration Software

10/21/2010
e36 Acquired!

03/09/2009
This Week

02/15/2009
Starting to come together!