Stan Carney

Interesting Tech

Navigation Menu

Why Are You Still Writing Java?

Why Are You Still Writing Java?

Posted by on Nov 1, 2011 in Programming | 0 comments

I recall building a small graphical user interface using a beta version of the ‘Swing AWT Extensions’ in the late 90’s and thinking to myself that it was going to change everything. Fast forward 12+ years, things have changed but much has stayed the same.

twitterlinkedin Read More

Grails 301 Redirect

Grails 301 Redirect

Posted by on Oct 19, 2011 in Programming, World Wide Web | 2 comments

301 redirects are the correct way to signify content available at a URL has been permanently moved to a new location. Returning a 301 redirect instructs browsers, web crawlers and other clients accessing your site to use the new page from this point forward. From a development perspective a 302 redirect and a 301 don’t appear to be any different. You hit the old URL and you are sent to the new one.

twitterlinkedin Read More

Google ‘Search Engine Rankings’ App in Groovy

Google ‘Search Engine Rankings’ App in Groovy

Posted by on Oct 4, 2011 in Programming, World Wide Web | 0 comments

I wanted to see where certain sites rank for a given search term. Normally this is accomplished by heading to Google, entering your search query and potentially paging through N pages using ctrl + f until I find the site I’m looking for. Obviously there is a better way. Searching around I found only questionable sites offering the service so I figured it wouldn’t be that hard to build.

twitterlinkedin Read More

Open Graph Image Over HTTPS

Open Graph Image Over HTTPS

Posted by on Sep 28, 2011 in Marketing, Programming, World Wide Web | 0 comments

Open Graph (og:image) over HTTPS doesn’t work. Title, description, etc.. all load fine over HTTPS and Facebook respects 301 redirects so someone can mention vogogo.com or https://www.vogogo.com in their status and Facebook is able to pull the right content. At first I thought it was an image dimension problem. The Vogogo image used is 195:65 which is exactly 3:1, the ratio limit imposed on og:image images, so I loaded up some smaller images to test and the results were the same. Facebook tries to load the images but gives up. After some investigative work by Matt Warren and some subsequent Googling around it appears others are affected.

twitterlinkedin Read More