Christian Heilmann

You are currently browsing the archives for the General category.

Archive for the ‘General’ Category

Paris Web – Working in the now

Friday, November 14th, 2008

Yesterday I was one of the speakers at Paris Web and my talk was “Working in the now”:
[slideshare id=749394&doc=workinginthenow-1226584706289320-9&w=425]

me showing the slimming benefits of crowded trains. Photo by Xavier Borderie
Originally I meant to talk about HTML5 goodies and how to simulate them with Flash and DHTML right now (writing a small abstraction library) but seeing the latest rounds of crashes and layoffs I changed my stance and talked about things that we could be doing now to both secure our jobs and not lose all the momentum the standards movement got in the last few years.

I’ve explained the reasons and my thoughts on the subject in detail in another post here. In the talk I advocated re-using components and systems we already have to work faster, deliver better and have less hardware and software overhead in doing so.

These are:

The feedback so far was great, but there was also a lot of “yeah this is open source, but what if the company running it goes down and how can I trust it” questions. I will write something longer abut this soon, it is just very interesting to see that there is a big problem with free things and trust.

Yahoo BOSS keyword extraction API wrappers (JS/PHP)

Thursday, November 13th, 2008

One of my favourite “old school” Yahoo APIs is the term extractor which is a service that extracts relevant keywords from a text you give it.

Yahoo BOSS is now supporting this feature for indexed web sites. While you’d normally just get a list of sites with for example:

http://boss.yahooapis.com/ysearch/web/v1/donkeys?format=xml&appid={appid}

You can get the keywords for each of the pages returned by adding the (so far undocumented) view=keyterms parameter:

http://boss.yahooapis.com/ysearch/web/v1/donkeys?format=xml&view=keyterms&appid={appid}

This can be pretty useful to get a list of keywords related to a certain term.

In order to do this, I’ve written a small API in PHP and JavaScript that gets you the related terms from the first ten search results and returns them as an array.

The PHP API wrapper

The PHP version takes three parameters: the mandatory term to search for, an optional callback method name to wrap around the JSON return value and an optional format parameter that can be set to HTML to return an HTML list instead of a JSON object.

The JavaScript API wrapper

The JavaScript wrapper uses dynamically generated script nodes to retrieve the data and can be used by simply calling a BOSSTERMS.get() method with a search term and the name of a callback method. The return object has a term property, the keywords as an array and a string that is an HTML list of the terms.

Get the lot

You can download the whole BOSS keyword API here. As always, it is BSD licensed, so go nuts using it :)

Making Yahoo BOSS easier with yboss

Monday, November 10th, 2008

Having had a lot of hackers at the Open Hack Day Brazil get confused on how to use the JavaScript output of Yahoo’s Open Search platform BOSS I’ve spent a short while to write a wrapper library for it. You can now easily search the web, images and news of Yahoo in one go with a few lines of code:

The wrapper does all the work for you: creating the different script nodes calling the BOSS API with the right parameters and either returning a JSON object with all the mandatory search data (links in a certain format) or returning a bunch of HTML lists that can be printed out as innerHTML anywhere you like.

Check out the yboss homepage and download the script for yourself. The hackers at the Hack Day loved it and the winning hack in the BOSS category was based on it. Also check out the presentation I’ve given on BOSS at the hack day to learn all about the system itself:

[slideshare id=733718&doc=javascript-and-boss-open-hack-day-brazil-2907&w=425]

Again telling people about evangelising – this time in Sao Paulo, Brazil

Thursday, November 6th, 2008

I just arrived in Sao Paulo, Brazil for the upcoming Open Hack Day. The dent to my trip (and my laptop) was that someone dropped my bag on the flight over which means that my MacBook now looks like a hollywood premiere (floodlights from below):

Mac Book display fail

In any case, in a few minutes I am giving a presentation in the Yahoo office here about evangelism in general and how it fits in with the company structure.

[slideshare id=725389&doc=evangelizingbrazil-1225938652275731-9&w=425]

Working in the now

Friday, October 31st, 2008

I just finished my slides for the upcoming Paris Web Conference entitled “Working in the now”. Originally I planned to have a cool presentation showing things we will be able to use in HTML5 like native audio and video and their Flash and JavaScript equivalents that can be used right now.

Then I heard even more about the cost-cutting exercises the market (yes, and my employer) is going through and ditched the original idea. Instead I am giving a presentation that shows how we can right now use systems we don’t use to save money and time and work more efficiently. I think this is a better message to give out right now than to catch the latest technical craze out there.

We are not working in happy times right now and I am getting a terrible sense of deja vu.

2000 called, they want their silly decisions back

Seeing the economic downturn and the stock market debacles right now I am painfully reminded of the first .com crash and the effects it had. Back then I worked in an awesome technical team that created and ran a massive ecommerce site that had great products, happy customers and a totally mental money spending plan. Hence it went bust.

Morale was down the chute and a lot of very gifted people left IT to find their happiness elsewhere. Other, mostly technical people went “underground” and worked in agencies doing mind-numbing work for a paycheck until the market recovered and we were asked to “push the envelope” once more. If anything, the crash killed not only a lot of investment portfolios but it also killed great teams that worked together. This is happening again right now. You hardly find the heads of those who made stupid money-spending decisions or repeatedly flogging dead horse projects on a fence post but the blame (and job cuts) is administered first and foremost on the shop floor.

Diminishing headcount means bleeding of talent

As Douglas Crockford wrote, if there are layoffs to be made, better be swift about it (paraphrased). That works in the US, but in Europe the issue is a bit bigger.

You cannot just fire or “let go” people nilly-willy but there are a truckload of laws, consultation phases and methodologies to go through. These are great as they protect the rights of the employees but they also force employers to keep people in a state of flux for quite some time.

This state is terribly dangerous as morale is down, people are not working effective and instead spend their time wondering what the bleep is going on and who might not be there any more next week. The very sought after and talented people will brush up their CVs and not hang up on headhunters any longer and in general you will destroy the social groups that built over time and forged very successful professional teams.

This even happens in the groups themselves – instead of huddling together and making sure everybody works at peak efficiency people stop sharing and try to shine above the others. Even worse, anything that is out of the ordinary – for example business trips that have been planned months before – is seen as favoritism or “useless expenditure while others are laid off”.

In essence, layoffs are terrible and while they are an amazingly effective short time cost cutting exercise they actually will leave you with a far less effective company – as you not only get rid of some headcount but also a lot of talent.

What will (probably) happen now

The last time we were in this situation the people in charge of the business in IT companies felt cheated by their techies and fled into the arms of companies that promised effective working and immediate results with minimal technical knowledge or overhead. These were half-baked framework solutions and “enterprise CMS solutions” giving you the chance to build a cookie-cutter site quickly but requiring a lot of work every time you need to build something bespoke (never happens, right?).

I don’t quite think this will not happen this time, but we will see a lot more solutions that take a stance of being for “mashups”, “hacking” and “open to developers” but are in reality a cloaked way to tie developers to a certain framework, brand or environment. If that means it is easier for developers to build great solutions for end users and get a share of the money they made with ad sales that is great. Personally however I would love the web as a whole to improve and companies understand that distribution and decentralization as concepts are immensely powerful.

What will surely happen is that a lot of startups will go the way of the Dodo, and frankly I don’t care. I love innovation and I think having a small, new, struggling company with gifted people gives you a very fertile ground for it. On the other hand I have seen far too much money and time spent on ideas that were simply blatantly ripped off or stupid. In the current startup circus it is more important how you sell your image and what the hype potential of your product is and not what it helps the end user to achieve. I am generalizing a bit here and I shouldn’t – there are a lot of amazing startups and I do use a lot of products built by them I would hate to see go. Others however, I am happy to see die and the only thing that annoys me about them is the hype and money and time spent on them where other products and ideas struggle to get minimal funding. The fast rise and fall of startups make people not believe in long-term planning and giving people a chance as a way to get better results. We will only have another “death list” of failed innovation ideas that will become a rubber stamp for “let’s never touch this again”.

What we should be doing now

Well, a lot of the control is out of our hands. When push() comes to shove() money is the only decision factor and it would be arrogant for us as techies to claim we have an understanding or impact into how this whole game works. What (IMHO) we should be doing right now is to be as effective as we can and shout louder than ever that the natural effectiveness of good developers can save a company a lot of money if they listen to us. This includes first and foremost re-using of good information and code and this is where it is about time we stop navel-gazing and look around us. CSS frameworks, JavaScript libraries and tutorials are out there and all of them want to do one thing: make our work environment less random. Instead of seeing this as an opportunity we dismiss them most of the time as they are not right for what we want to achieve. All of the ones I am using are open source though and have very responsive development teams. So instead of writing yet another bespoke solution and not getting the time to test it why not build on something tried and true and extend it to what we need it to do?

The same applies to hosted services and “the cloud”. Instead of writing awesome long treaties on the subject or listen to hour long inspirational presentations about it why not just use what is out there? Why not do some internal presentations showing people how cheap it is to host files on S3 and do heavy computation on virtual machines rented for pennies instead of rendering work computers useless for hours on end?

I am very much looking forward to giving my Paris Web talk and I would love if I can inspire some people to go back to their managers and show them just how much is out there to use for free, if we only stop thinking about building everything ourselves over and over again and use what people offer to us anyways.