Useful Javascripts for Bookmarks

September 17th, 2010 | Posted by Huilaaja in Development | UI - (0 Comments)

Google search from current site

javascript:var q=prompt(%22Hakusana: %22,%22%22);if(q) document.location=%22http://www.google.fi/search?sitesearch=%22+location.host+%22&q=%22+q;

Make page editable

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Spotify stops playing after first song

September 15th, 2010 | Posted by Huilaaja in Development | UI - (0 Comments)

It’s spotify’s new FEATURE.

WTF!  I thought my spotify client has some strange setting or a bug, but no.

Employee of Spotify answered:

Hi guys,

We have indeed changed how search results are played. As it was before many users would search for a specific song, listen to it, and then just leave their computer on streaming (without actually listening).

However, we are looking into how this has affected making a search into “Current Playlist”.

I’ll keep you updated,

Tom

Source: http://getsatisfaction.com/spotify/topics/playback_halting_after_every_song

Good Practises: Automatic Deployment

September 15th, 2010 | Posted by Huilaaja in Development - (0 Comments)

Deployment process has habit of getting more complicated over time. If this process is not automated, soon you have only one person in the company who knows how to deploy the project. And then you are married with the project (in sickness and in health).

“Deploy your application automatically from the start”
- Venkat Subramaniam and Andy Hunt

Here’s couple of technologies and techniques you should beware of including into your projects, cause they will make automatic deployment harder:

  • Independent console or windows applications
  • SQL Server Projects
  • External libraries which require some license that is only possible to install in one or two machines
  • External libraries which are different for 64bit and 32bit operating systems
  • DTS  packages

I have seen all of these mistakes been made and I also have made them. Just after spending two days deploying single project into production, I have started to understand the importance of automatic deployment.

If you make deployment automatic from the beginning, it become visible to everyone why not to use technics that are hard to automatically deploy. It will also save you time in the long run.

UA-7922872-1