Tuesday, 9 February 2010

oracle java blog - netbeans

So Oracle has now finally gotten their Sun. What does this mean for me and the javasphere?

A lot of people have strong feelings about the aqcuisition/merger and some feel strongly against Oracle. I don't. I don't love Oracle, but I think Java will be fine, if not better with their stewardship.

Java



Oracle needs Java, they use it all over their own product line and obviously especially with their former Bea products Java is core to their business. So an evolving, healthy and competitive Java is in their interest.

So Java, JEE, the Java VM platform etc will be fine, with more money available than at Sun. Actually it may be better as Oracle has a lot more funding and marketing capability, and it may revive the ailing JCP?


But what about the other Sun products, and specifically those related to Java?


Glassfish


I don't use glassfish, at least not directly, so personally I have no strong feelings on how Oracle will proceede with Glassfish compared to its more corporate Weblogic.

I use Weblogic at work and either Jetty or Tomcat on pet projects at home.


Kenai


Kenai was to be killed, but read somewhere today it may be saved.
I don't use it. I have a few projects on Sourceforge, and future ones may be on SF or perhaps google code or Github.


Netbeans


Netbeans however I do use.

In the initial press release by Oracle on its plans for Sun's product line they stated it was to be focused as a scripting IDE and leave JEE, java enterprise level, to their own JDeveloper and Eclipse tools.

I use it with Maven and JEE modules so this feature strategy change would affect me very much. I dabled with eclipse for a few years, and still use when forced to at work, but prefer Netbean's cleaner interface (Its not made by IBM...)

However again in an updated press release they have a seperate java tooling page regarding their plans and they may not restrict it to that. Lets hope not.


Cloud


Oracle killed Sun's cloud computing ambitions. Fine by me. They are not into being a hosting provider.

I use Amazon's ec2 a lot, and will not miss it. However I did not know enough about its features compared to ec2 and Google's App engine. It would have to be much better than those to have been worth it. Maybe it was more like Ubuntu's cloud offering with hardware hosting?


VirtualBox


VirtualBox I do use, and glad it looks like it will be kept as is, I think.


Solaris


I have no strong feelings for or against Solaris, but keeping it competitive is probably in their interest.

The hardware and other areas I am not too bothered about. I used Sparc at university, but not since.

Other links:
http://blogs.oracle.com/devtools/2010/02/updated_faq_for_the_developer.html
http://www.oracle.com/ocom/groups/public/documents/webcontent/038563.pdf

Monday, 8 February 2010

Excellent tip on how to go to sleep

(For once a non tech related posts, but still perhaps nerdy...)

I've worked out how to fall asleep quickly, and this is my simple tip:

Basically I start to think/daydream about a fantasy story. Ie something completely irrelevant but interesting.

Maybe it is by coincidence or due to other factors like getting older or simply exhaustion but it seems to work evertime. And fails everytime I don't follow these rules.

So it has to be nothing realistic or related to my real life in anyway. If I think about something in my actual life I get too upset/depressed/happy/excited and very engaged into the thinking that I don't fall asleep.


So my rules are:

  • Never think about what I did today or what I need to do tomorrow. That engages my brain too much and I can't fall sleep.

  • Don't think about regrets of the past or problems in the future, again no sleep.

  • Don't think about anyone you know whether romantically or aggressively. No good can come of that. Well maybe...

  • Don't think about work or hobbies. You minds gets too active to fall sleep.


Think about something interesting that can not upset you in anyway. Which is best if it is something not related to you at all.


The famous tip of counting sheep [2] jumping over a fence works on the same idea, but never worked for me as it was too boring. I remember a tip on a radio show that also is similar; The lady said she "thought and concentrated" about each part of her body from toes upwards step by step till she felt asleep. Doesn't work for me but is again related to concentrating on something completely irrelevant.


My thoughts/dreams are usually almost like a Hollywood film. Something not related to my real life, but I "live" in detail in these worlds. Maybe because I am a man (with a vivid imagination) that my snoozethoughts are related to wild western / jungles / space / racing cars etc but they work.

I can continue the same story for months usually because I fall asleep so quickly so never really get anywhere in the actual story line!

If trying to sleep try to block out all other thoughts and imagine yourself living a life in a place like the Avatar film, then maybe this will work for you?

If you have problem sleeping, try it!
Don't think about anything in your real life, think unrelated fantasy, and zzzzzzz.

Friday, 22 January 2010

Ubuntufying Jira

This will eventually be published here: flurdy.com/docs/jira/.

But meanwhile Ill edit a draft here:



Ok. Ive "finished" the document. Please read it on my website.


Ignore below


Below is my initial draft howto, but a much more up to date version is on my site.



Why


I want to install and run Atlassian's Jira, as it is just great. Especially as I many moons ago had paid for the $10 starter pack for Jira and Confluence

I want to install and run it on an Ubuntu server.

Downloading the standalone version of Jira works very well. Atlassian has very thorough documentation of every step and issue possible.

But I want to be different... No I just like the idea of Ubuntu/debian's package system and obeying the FHS recommendation of file locations etc. So I decided to modify the download from Atlassian:

Steps



Install Jira as recommended


Launch Ubuntu (Follow flurdy ec2 docs for tips on using Ubuntu & ec2)

Install java:
sudo aptitude install sun-java6-jdk;
sudo update-alternatives --config java;
sudo echo JAVA_HOME=/usr/lib/jvm/java-6-sun > /etc/profile.d/java.sh;
sudo echo EXPORT JAVA_HOME >> /etc/profile.d/java.sh;
sudo chmod +x /etc/profile.d/java.sh

Download jira standalone

Extract and move Jira
tar xzf atlassian-jira-enterprise-4.0.1-standalone.tar.gz;
sudo mkdir /opt/atlassian;
sudo mv atlassian-jira*-standalone /opt/atlassian/jira-4.0.1

Add Jira user
sudo /usr/sbin/useradd --create-home --home-dir /usr/local/jira --shell /bin/bash jira;
sudo chown -R jira:jira /opt/atlassian/jira-4.0.1


If you are not interested in seperating the file locations etc, then you could now run Jira by launching
sudo /opt/atlassian/jira-4.0.1/bin/startup.sh
But I prefer not to...


Makign the install more FHSish



Create folder for changeable data
sudo mkdir /etc/opt/atlassian /etc/opt/atlassian/jira;
sudo mkdir /var/opt/atlassian /var/opt/atlassian/jira;
sudo chown jira:jira /etc/opt/atlassian/jira /var/opt/atlassian/jira


Move logs
sudo mv /opt/atlassian/jira-4.0.1/logs /var/log/jira;
sudo touch /var/log/jira/atlassian-jira.log;
sudo chown jira:jira /var/log/jira/atlassian-jira.log;
sudo ln -s /var/log/jira/atlassian-jira.log /opt/atlassian/jira-4.0.1/atlassian-jira.log;


Link configurations
sudo ln -s /opt/atlassian/jira-4.0.1/atlassian-jira/WEB-INF/classes/jira-application.properties\
/etc/opt/atlassian/jira/;

sudo ln -s /opt/atlassian/jira-4.0.1/atlassian-jira/WEB-INF/classes/log4j.properties\
/etc/opt/atlassian/jira/;

sudo mv /opt/atlassian/jira-4.0.1/conf\
/etc/opt/atlassian/jira/tomcat;

sudo ln -s /etc/opt/atlasiian/jira/tomcat\
/opt/atlassian/jira-4.0.1/conf



Edit configuration and enter Jira home
sudo vi /etc/opt/atlassian/jira/jira-application.properties;
jira.home=/var/opt/atlassian/jira


Move the database
sudo mkdir /var/lib/hsqldb;
sudo mkdir /var/lib/hsqldb/jira;
sudo chown jira:jira /var/lib/hsqldb/jira;
sudo ln -s /var/lib/hsqldb/jira\
/opt/atlassian/jira-4.0.1/database



Move non static tomcat files
sudo mkdir /var/opt/atlassian/jira-tomcat;
sudo mv /opt/atlassian/jira-4.0.1/work\
/var/opt/atlassian/jira-tomcat/;

sudo mv /opt/atlassian/jira-4.0.1/temp\
/var/opt/atlassian/jira-tomcat/;

sudo ln -s /var/opt/atlassian/jira-tomcat/work\
/opt/atlassian/jira-4.0.1/;

sudo ln -s /var/opt/atlassian/jira-tomcat/temp\
/opt/atlassian/jira-4.0.1/





Init script



Copy Atlassian's init.d script


Jira port


Follo Atlassian's port page.



Apache proxy



Using elements from my own tomcat+apache howto and Atlassian's Apache page




Monday, 21 December 2009

Islands and lagoones - office open plan rant

Time to rant/moan/"throw my toys out of the pram" regarding another perhaps insignificant matter:

open plan

Open plan offices, I don't like them.

Unfortunetly it is now the norm in almost all the offices I work or visit. It is meant to enhance team work, increase communication, lowering barriers etc. And while the idea sounds good, I find it very tedious and believe it is counter productive.

But I know a solution; small open plan rooms laid out in a lagoon style. More detail further down.



For a knowledge worker, a developer, normal open plan offices are very intrusive and limits the ability to work effectively. For managers, sales and administration staff whom require a lot of communication and less concentration I can certainly believe it is a benefit, but not for people whom need to concentrate.


Placing people in rows of desks facing each other is much an extension to the American cubicle office spaces. It is like an office factory. The current trend of islands, whilst better, especially if two backs against a wall,
islands
but still leaves two or more in the wind swept corridor seats. But they still suffer from all the issues I detail below.

An even more amusing contradiction is when the knowledge staff are in an open plan office but the administration are in separate offices. It should really be the opposite, in terms of whom need to be isolated. True they may have confidential work, but that is what quiet rooms are for.


Main issues

  1. open-plan-bad-health
    An important issue should be that open plan office is bad for your health.

  2. The noise is however my main problem. Both audible and visual noise.

    • People talking about items which does not interests me but still disturbs me and breaks my concentration. Or worse talks about something interesting! Especially if you are as nosy as I am.

    • People walking by especially if you have a door / virtual corridor view point. Again being a bit nosy, my head pops up and down like a bobble head doll every time someone walks in, and since about 30 people sits in this section + meeting rooms, that is quite often.

  3. Low barrier to disturb.
    hi, just wondering...

    Nothing as annoying (ok a bit strong..) as when someone walks up to ask a question, when you are in the zone, in deep concentration, got a number of values, logic flows and algorithms in your head. Especially if it just a status update (not very agile), or a lazy question.

    Emails and IMs you can schedule a time to reply to when you are not in the middle of something. Phone calls, whilst annoying, can be rejected, But people standing over you can not be ignored. (Well you can try but that is not very nice)

  4. Paranoia.
    Another discomfort I have with open plan is the paranoia of people seeing your screen. You have to look busy, especially when I work as a consultant/contractor. It is another side of facetime, perhaps Screentime.

    Windows / websites that does not look like you are hard into coding right that minute might reflect bad upon you. So whether you are looking for solutions via google groups or downloading updates to applications but the vendor's website is too colourfull, it might reflect bad upon you even if it is important work. You hope most people realise this is normal work and even when you stray and look at bbc news, they would see it as normal.

    Unfortunetly many people do not perceive it this way, at least not subcontiously, so often you feel the need to cover your actual work with pretend work, especially for people higher up whom do not know your day-to-day work.

    Okay, after a while, (almost immidetely with me), I no longer care too much what others think I am doing, and run whatever applications and/or look at whatever websites I feel I need to. But it does still make me feel a bit paranoid, and still make me look over my shoulder, thus disturbing myself...


When disturbed, audible, visually or physically, it breaks your concentration and refering to the Peopleware book (wiki) it can take up to 20 mins to get back to that point. If this happens enough times during a day, that day is practically wasted.



Minor counter actions

  1. Head phones / headset

    • Music if loud enough kills audible noise.

      Which I use alot. Not sure what doctor would think about the damage to my ears. And wonder what Health & Safety would think about this near requirement for developers?

      It also scares the living daylights out of me when someone creeps up and taps me on the shoulder...

    • Headphones on but not on.

      A great trick to discourage unimportant interuptions is wearing head phones but without any music.

  2. Big, tall monitors, or just plain seperation screens to hide visible noise

    Again, a bit cubicle, but effective.

  3. Physical barriers

    Such as boxes, plants, narrow gaps to cupboards etc. Making it more difficult for people to actually come up to your desk, also discourages pointless interuptions.


All a bit anti-social, but with various effectivness they may help.

Bit these counter actions only paint over the main problems. The main issues are too many people in the room and no privacy.


The real solution


So my solution using the island nameing standard is: Lagoons.

Simple take a group of desks in an island and move their desks backwards to each corner or wall. Combine this with reducing the people in the room to 3-6 people whom work together.

What does this solve?:
  1. Audible noise:
    Only from the others in room can now be heard. No bable from people in other departments or teams which you could not care less about.
  2. Visual noise:
    Depends a bit on the layout of corridors etc, but mainly only the people in your little room will create visible noise.
  3. Physical disturbance:
    It would take more for people to walk into separate office rooms for minor issues that they could just as well emailed.
  4. Paranoia:
    You can work away, no one is looking over your should and virtually micro managing your every click.



Conditions of the room:

  1. They are all similar people and roles:
    So they will get on better, act similarly etc.

  2. Know how each other work and respect it.

  3. Reduce mobile phone use:
    Use quiet rooms when neccessary.

  4. One person is not frequently visited more than everyone else.

  5. Desks have space behind/ spare chairs for people to move around to encourage team work and pair programming.


defensive office

An amusing look at the defensive office space

Other office solutions:

  1. Separate individual offices.
    Would be nice, but might entice cabin fever and tangent development with little communication. And probably quite costly.

  2. Two per office.
    Can work, but people really have to get on very well. Also might feel need to socially interact more than normal, thus actually cause more interuptions.

  3. Home office.
    Really dependant on how the team communicates. Can work very well, if combined with excellent communications, and especially if time is split between a lagoon office and home.



Risks:

  1. Inter-room cooperation.
    The main issue this can cause is Us & Them situations between rooms.

    Possible solutions:
    1. Larger comfortable common coffee rooms. (with more than coffee available...)
      By combining this with actualy encouraging breaks this will stimulate interactions and break down barriers.
      rubber duck

      It can actually assist in problem solving by simulating rubber duck ([2], book) chat.
    2. The walls between does not need to be visually block each rooms.
      They can be glass at the top etc especially towards corridors etc. While still protecting against visual noise and paranoia this can hide the feeling of physical separations.





In the end for me personally, I need to be comfortable to get in the zone and be 10x more productive than in a busy noisy environment. And while everyone are different, I believe this applies to a large if not majority of developers and probably other knowledge workers.

Setting Spotify proxy settings when logging in

My problem:

* Installed Spotify for the first time on work machine.
* Work has very restrictive default proxy, which bans Spotify.

Thankfully being a developer in IT we know of a few more leniant alternative proxies....

Further problem:

* When launching spotify you need to log in with no option of defining the proxy to be used.
* And the error message just say unable to log in.


Solution:

* Unplug the the network cable

This prompts an error message with allow you to change the proxy settings.
Remember to plug in your cable again!

Tuesday, 8 December 2009

Deny mercurial, git, subverion folders in web sites

I maintain my websites mostly with a source control of some type (Subversion or Mercurial), but the folders with the SCM data should not be displayed on the actual web site.

Here is quick way to disable access to SCM folders in Apache by Ryan on Palaminum.net:

paluminum.net/blog/deny-scm-directories-with-apache

Saturday, 17 October 2009

Make or transfer ringtones to IPhone

I have a few ringtones Ive been using for years, across many phones. And I am now very tuned into them.

It was therefor quite annoying to find out that IPhone does not allow you to simply transfer them directly to it from my Nokia N95.

A bit of googling I found out that Apple deliberately bars this.
A bit more of googling I found out how to circumvent this restrictions.

Basically I followed this:

and this


And you do not have to jailbrake your phone, nor pay for software. The software used is simply a free well established audio sampling program.

Here is a breakdown:

  1. Transfer ringtone to PC (a windows box this time) from old phone. By bluetooth, email, Nokia's filebrowser etc (I located them via the phones file browser and emailed them as my desktop dont have the cable nor bluetooth)
  2. Install Audacity v 1.3+
  3. Install Lame for Audacity
  4. Install FFMPeg for Audacity
  5. Launch Audacity and locate audio file
  6. (You can copy into new file, edit etc if you want, but dont overwrite your original ringtone/song)
  7. Go to File/Export
  8. Enter details if desired, and choose m4a(ffmpeg)as export file type.
  9. Exit Audacity and locate new file in windows explorer
  10. Rename extension from m4a to m4r
  11. Open ITunes, and drag file from explorer into your library
  12. Sync and voila!

Friday, 9 October 2009

Twittering Blog

I used to write blog entries more often, whenever I had something on my mind that I wanted to rant about. Although prevously never a frequent blogger , lately I have blogged less and less.

Why? Twitter.

Before I would write pages and pages of mostly repeating rants. Now I restrict it to one twitter tweet (or two). And quite frequently...

But my long rants are now gone, or very rare. Maybe that is a good idea.



So what if any are the pros and cons of this "evolution":


Pros:
* My blog is not filled with rants.
* I twitter a lot.
* My rants are to the point, not filled with reiterated jibberish.
* My grievances are shared with more people.


Cons:
* I twitter too much?
* I rant more often.
* My blog is never updated.
* My twitter rants have no detail, or reflection.
* The threshold to rant is lower, and often rant needlessly, before I can rethink and research my issue.


And I presume this has happened for other people as well.

Funny, since the people behind [1] [2] blogger are some of the founders of twitter. Killing their own lovechild?

Wednesday, 2 September 2009

Wrong pub


Wrong pub
Originally uploaded by flurdy

Wednesday, 26 August 2009

Tuesday, 21 July 2009

New spam/scam

Got this in the mailbox:
-----------------------
from judith
sender-time Sent at 12:55 (GMT+08:00). Current time there: 3:26 AM. ✆
to info
date Tue, Jul 21, 2009 at 12:55
subject About " anyview" intellectual property rights ( TO CEO & Principal )


Dear CEO & Principal ,

We are a domain name registration and dispute organization in Asia, which mainly deal with the global companies' domain name registration and internet Intellectual property right protection. Currently, we have a pretty important issue needing to confirm with your company.

On July 20, 2009, we received an application formally. One company named " Odnny Holdings Ltd " wanted to applied for the Internet Keyword "anyview " and some domain names through our body.

Now we are handling with the registration of these domain names and find that the keyword of these names is identical with your company's. So we have to confirm with you at two points:
1. If your company consign Odnny company to register these names, we will send application form to them and help them finish the registration at once.
2. If your company have nothing to do with Odnny company, they maybe have other purposes to register these names.

We haven't finished the registration of Odnny company yet, and we have postponed this application of this company temporarily already. In order to deal with this issue better, please contact us by telephone or email as soon as possible.

Waiting for your reply ASAP.

Judith
Auditing Department
________________________________________________________________________________________________________________________

Tel: +852-2297-9279
Fax: +852-2297-9209
Email:judith@eworlddnr.hk
Email:judith@eworld.hk
Website: http://www.eworlddnr.hk
judith
2009-07-21

-----------------------


Though about it for a second, seemed a quite odd,
then a quick google to confirm it is a scam.

If you receive something similar, ignore it. Or more fun string them along, but be careful.

Wednesday, 17 June 2009

is this me

My 1st Simpson avatar:
Temporarily removed


OR this it?

Friday, 15 May 2009

My ideal work hours / location, scoring future employers

Building on my Coding Happy Place blog entry (a slight rant, but so is most of my blog), I been thinking of defining my prefered work location and hours.

The obvious answer by most people is on a beach, with half an hour's actual work each month (to pick up a pay cheque). :) However I am thinking of real work, where my output actually benefits the company. And I like my job. :) I do after all get paid to do my hobby.

Note this may only be relevant to me as a Software Engineer, working either as a developer or architect.


Coding Happy Place

I try to achieve, as mentioned in the above mention blog entry, a Coding Happy Place, where the location and environment are laid out in ways for me to concentrate on my tasks without interuption.

I achieve this in 3 locations:
* at home, when no-one else is at home.
* at work in the late afternoon/evening, when office is more empty.
* sometimes at work in normal hours, if left alone in a sheltered location. (But this is rare)


The business need you in the office

However you can not hide away from the company. They need you to join in with the others, share knowledge, ask questions about others work, proper rubberducking etc. And mostly to particiapte in meetings, let the flow of information go up and down in the organisation, and sideways between team mates and similar departments. Join in on preparing bids, customer relations etc.

With using Scrum and similar however the need for being asked for status and similar interuptions / communication is much less, and with proper use of communications channels, information shareing is not restricted to physical locations.




So what are my prefered work location and hours?

I think it will have to be balanced and flexible. Mutual respect between employer, employee and other employees. To achive a good and happy work culture while maintaing an efficient company and work progress.

In brief: I would like to work some mornings from home, most afternoons in the office. Mix in a at least 2 day full days in the office every week. And the option of taking a day working from home most weeks, or at any other time without it being an issue.


Mornings at home

I am not a morning person. In the office my efficiency in the morning is neglible compared to the sweat shop output that can happen in the late afternoon. So with my experience of this from a previous job where this worked well is every morning to log on from home to check my email, task statuses etc. (At the same time going through my morning ritual of digg.com and slashdot over breakfast is also nice ).

This is beneficial, as I would be up to date of any urgencies before commuting to work. If something needs fixing, or someone needs to be phoned urgently I can do it immidietly from home. If someone whom started earlier that day is waiting for information from me I can pass this on quicker.

If nothing of enough urgency is requiring for me to be in the office the option to get a couple of hours of Coding Happy Place at home after morning ritual would be very benefial and appreciated. To get a few hours of good work progression before the possible delays of office interuptions is good for self esteem, and project velocity.

Work need to recognise these morning hours at home as work hours, but some lieway can also be given by me when there were non work interuptions etc.


Afternoons in the office

As mention higher up, the company need you/me in the office. And I need to be in the office, for personal social needs, but also the benefit of finding information out about my tasks, and to assist other's tasks. Also general meetings, estimations, bids are needed by others in the company, often quickly. Proper rubberducking over tasks is essential to optimise development directions.

Not mention Scrum stand up meetings are meant to be in person. They do not however have to be in the morning! ALso web cam can assist distributed teams.

There is a barrier between casual physical chat, and sending email, IMs etc. Less the better people know each other but still a barrier. And I do not want to suffer from cabin fever, and do enjoy office banter.

Knowing me the afternoons, often turn into evenings as well. As once I am concentrated on a task, I do not like to go home before it is finished. (May be why I was so addicted to Championship Manager as a student, and still play Civilization today. Just one more turn/match....) I know if I leave it till the next day, getting into the facts and context of the tasks, not at least into concentration mode, will take a lot of time.

Being in the office, you can pick up busines gossip etc, and then be able to have input into this / affect business directions more than when isolated at home.


Full days in the office

To avoid being a hermit, I would still probably like to have full days in the office every week, to be a team player, show the insignificant face time to management that like that, and to be helpfull to others. To be available for monster day long meetings, specially at sprints starts etc.

But this is on a condition that the office space I have is actually of any use. Cubicle or desks in a public through corridor is dreadful. Also having people staring at your screen paranoia is less than ideal as well. Being the door opener / information booth for visitors is annoying. Being in the office so that you are accessible does not mean you should be interupted constantly, be embarresed by your headset, what is on your screen etc. I must be able to achieve some type of Coding Happy Place even in the office in normal office hours.


All day at the home office

I do like working from home. Naturally it is more comfortable. The availability of your own kitchen for snacks, and your own fridge of drinks, not to mention healthier lunches are nice. I can have the windows / patio doors open for fresh air. Also my home office space is usually much more comfortable than the restrictive cubicle of most offices.

But also my home machines are usually set up correctly (Not windows...), multiple machines are not a problem etc. And the most benefit of work at home, is that no-one else is there, so I can concentrate.

I do feel I am more likely to achieve my Coding Happy Place at home, and produce more efficient work.

Ps. The family must respect when family members work at home, chores can not be expected to be done, you are after all working. (However I have found the odd 10 minuttes restocking the dish washer or washing machine as a good break to reset your thinking if stuck on a problem)


Hours

I usually balance the hours I put in at home with how concentrated I was. Did I read too many news sites, or do chores that day, then I work a few extra hours. Simple as that. The happiness of working at home, more than makes up for working longer hours. In the office this compensation for non efficient work is less likely.

The option of going home early, starting late when needed, without it being an issue is quite essential. Taking 1 hour lunch should never be an issue. When required the freedom to pop out for 2 hours if needed is also beneficial, even if that should not happen too often. The trust that I will respect any work urgencies / priorities with flexible hours must be a given. That I will not take the piss, but will always balance out at more than the required 40hours in a week anyway.



Communication

For any company to work, people must communicate. To be able to work flexible locations and hours as I would like to, the company and its employees must have good agreed lines of communication. Employees must respect other employees communication preference's and they in turn must respect the other ones as well, especially business needs. (If you as a sales person / manager live by the phone, don't hassle the IT guys by phone all the time, most don't like it. But as an IT guy respect that other people prefer phones over email, IM, twitter, wiki comments etc....)

You must, therefor I am, always be contactable. Especially in office hours. If I work from home, people should not hessitate to call me. True, even in the office I prefer people to email/IM me. That way I am not inturupted if I am in deep concentration on something. But there must not be a physical barrier.

Using issue trackers, such as Jira, people should be able to at all time find out statues. Calendar's for locations and availability etc. But the employees, thus I, must keep these up to date, and the other's must know how to use them properly. This will cut down unneccessary interuptions or misunderstandings.

Being available all the time on IMs, webcam within the team, without hessitation, will make the physical distance smaller, increase knowledge share and banter. I believe in general that whether I am home or in the office should not be noticable to most people. I will always be online, respond immidietly to IMs etc.


Tools

For this to work, the tools available in the office or at home must not be distinguishable. I must be able to connect bia VPN and SSH, and have the same access and tools as if I am in the office. Too many times this has not been the case. Just email access is useless. Citrix is for sales people, not developers. Full SSH acccess is needed.

Limiting IM, is one the most stupid things some companies do. The ability to share code, ask quick questions efortlessly is golddust. Restrictive firewalls is also counter productive. True, some sites have no obvious benefits, but sometimes the information you need is on those sites. Very restrictive ones, where you can not even check email, or use google groups etc, is just staffing suicide.

In the office and at home, the network speed must be a bottleneck. Machine hardware not old dogs, but modern, able to use several virtual instances. Preferable ability to use racked server units for computing distribution etc.

Proper multiple screens in the office must also pay it self quickly in more productive hours than the cost of the hardware.



Flexible

In the end I am looking for flexibility and respect. That my work is recognised wherever I am physically. That if I need to take a few days at home or at the cabin it is not an issue. That they respect me that I will still contribute, if not even more, and that I will respect their needs as well.

Basically that the company have little to no issue with where and when I work. But that they can trust me and know I will most of the time be in the office, easily contactable at any time and will always aim to be an asset to everyone else in the company.


Future employers

How does this compare to me now and to future potential employers?

I am not looking to change my employer, so I think I will still be here for years to come. As I am currently a consultant, it is difficult to achieve this free location/hours, but some assignments are better than others.

However at some point statistically I will change job. And I will use this blog entry / idea to compare potential future employees, as I have previously, but perhaps with less emphasis. How close to this can they offer me. The more the better. None, then perhaps less likely.

Will this deter employers? Hopefully not. Companies should see it only as a benefit and insight, that I work really well in certain contitions. Some companies however will insist on cloning employees into A4 routines, and I (and they) may not be suitable. However most IT companies/departments even within the most old fashioned enterprises see the benefits of a more flexible working environment and are to various degrees more relaxed than the standard company procedures.

In the end I work well within the office and normal hours. It is just I work REALLY well when allowed to achieve a Coding Happy Place by having flexible locations and hours.

Think I have been repeating my previous rant a bit. Again..

Thursday, 7 May 2009

Chelsea v Barcelona referee decisions fair? And English press normal referee hounding

Chelsea v barcelona match was funny last night. So hot tempered, so many critical referee decisions. And inevitably one loosing team in fury at the referee, and the following press backlash afterwards.

Had Barcelona not scored the 93rd minute goal, they and the spanish/catalan press would undoubtable been slaughtering the referee instead. With that many match changing events, the sending off, the 4-5 penalty claims, the referee was in a lose-lose situation. The loosing team would always cry foul.

Viewing each situation individually and in isolation on their own, I can pretty much understand why the referee made his decisions. None were clear cut, they were all grey zone of interpretation and human nature. So basically I could have understood a decision the other way as well in most of the events. It is just a shame there were so many of them. If only one of the events happened I don't think we would have this aftermath.

Chelsea are throwing their toys out of the pram, because most went against them. That they did, does not mean the referee was wrong, it may indicate he was strong enough not to be influenced by previous events in the match? He certainly did not flinch when Chelsea players went berserk, a weaker referee would have been terrified.



So what about the decisions?:

First of all the sending off of Abidal. A decision that should by the way kill all speculation of conspiracy theory from the Chelski fans. Did he touch Anelka so he fell? Yes. Did he mean to? Probably not. Was he the last man? Think so. So even if it was unintentional, even it was only a slight flick on Anelka's trailing leg, it was still a foul. And as it looked like he was the last man, and Anelka was about to go clean on through, technically he should get the red card. Most ref's here do chicken out and only give a yellow, which most people agree is the morally correct thing, however acording to the book red is correct. Chelsea would have cried foul if not, and UEFA would have not been pleased with Øvrebø if had not shown the red card, as referees are not allowed to use common sense.

For all the potential fouls on Chelsea players, I think they were all pretty clear and correct decision by the referee. Toure's tacle on Drogba in the box was clean, the wrestling match outside the box was 50-50 each way. The pull down of Malouda clearly started outside the box, even though the significant part of the foul was later inside, which is irrelevant. But even if it was 5cm inside, the referee does not have a ruler with him, so people can't expect a match killing decision like that. I think 90% of on the boxline fouls will be free-kicks.

Most other times was just the normal diving by Drogba, which makes it difficult to referee as you are never sure when Drogba cries wolf.


As for the two handball incidents, they are not so clearcut. Both times by Pique and Eto'o their hands was not in motion, they had no time to remove their arm, but neither was in a "natural" position. Was it accidental ball to hand? I certainly would have not disagreed had they been penalties, but I would thought it be very unfair. But perhaps technically they should have been? But again they are a toss up, greyzones either way, and as expected the loosing teams get upset.


But even if you had 3 penalty claims go against you, it does not mean the next dubious must go your way, they should all be assesed individually!



So I think the referee got it right. Had one of the handballs gone Chelsea's way I would have not disagreed, but like the sending off, I would have thought it was very harsh, but I could understand why. So perhaps Chelsea should have had at least one penalty.



BUT, what is a disgrace is Chelsea and their players and staff and the English Press.

How they let their players behave like enraged animals like Ballack and Drogba is a real disgrace, and for not condemming it afterwards. I must credit John Terry for restraining himself and trying to restrains his players on the pitch, which is unusual of him, however his undignified and bullying comments in the press afterwards highlights that he still has a lot to learn.

Guus Hiddink, a great manager, may still have his own adranaline pumping afterwards, but he even said himself that he is not biased, but think they should have had 3 penalties. Come on! Only the handballs were an actual contention, and then only in a biased way could you say they must have be given. And the unforgivable is his defense of his players behaviour. Shameful.

The Chelsea players' and manager's belittling and bullying of the referee afterwards shows why most people dislike Chelsea.


Chelsea did not deserve it

Really when in a Champions League semi-final you have a one man advantage for a significant part of the match, if you do not score a goal in normal play, nevermind penalties, and even let a goal in, you do are not good enough to be in the Final!

And they wanted to win by dodgy handball penalties instead? That is not football, they were not intentional, Chelsea should try to play and win by playing football!




Another disgrace is the English press.

How they hound all referee's in every big match they loose. Have they not forgotten they stoked the fire so much that Anders Frisk had to retire? How they bullyed and harrased every referee when England gets knocked out of every World Cup or Euros. Having lived in England for 15 years it is always amusing but also disturbing how the press put all blame on the referee and not their own teams inadequasies.


It is such a shame, as Øvrebø is actual a really good referee. (Which I must admit even if he wrongly sent of one my teams players last season.) He is experienced in CL with 20+ matches, World Cup experience, and unflinchingly strong, which is probably why UEFA picked him. Unfortunetly the English press, the bad loosers at Chelsea, and UEFA weakness will probably mean it will be awhile before he gets a big game again.


So in football, for big matches with a lot at stake, how you feel about the referee, FIFA/EUFA or organisers, depends entirely on which team you supported and whom won. but even full of adrenaline and emotions there are limits to acceptable behaviour.

Friday, 1 May 2009

Is firefox secure enough? Have you considered the add-ons?

Firstly: I am a Firefox user. I have been involved in the Mozilla community nearly since its early inception. (not greatly but slightly). So I am using Firefox nearly exclusively on each machine and OS.

Yes Opera, Google Chrome, Apple Safari are today very good as well, and even Internet Explorer have caught up. But I am happy to keep using Firefox.


But how secure is Firefox?


No, there is no need to lecture me the benefits of Open-Souce versus properietary. The huge number of users and developers involved with Firefox make the core browser very secure. Critical security bugs are frequently found, but with being open-source these are squashed swiftly. So the core browser is very secure in my mind.


But Firefox is shopped around as a very powerful browser due to its adaptability ability via extensions/add-ons [1]. They certainly make Firefox easy to use, and fit well with the varied usage that people require. The majority may not use add-ons, as they are happy with just a simple browser. However still a large number of people use one or two and many use several add-ons. Add-ons is the perhaps the main reason I am using Firefox over other browsers, as they make my day so much easier and pleasant.


But how secure are these add-ons?


The core browser is trusted due to its share number of peer reviewers and contributors, so trust it to be secure. But each tiny add-ons have few developers, and not too many reviews. Not sure how "open-source" their actual deployed code is either?

So do these add-ons basically make the Firefox browser brittle?

I think so, and other people are trying to warn us about the risks.


How big are these risks? What may have spared the add-ons is that they are so many and the install base is so varied, that targeting a specific add-on may not be worth it. (Similar to why Firefox itself was not targeted until more recently.) However this is a bit naïve, and some add-ons are now installed by hundreds of thousands, if not more.


So what can we or Mozilla do?


Simple solution is to not install any add-ons. Certainly safe. However that is being paranoid, and does not progress the world.

What I think is needed are ways to harden the code and increase trust in specific add-ons. Closed source extensions such as Flash, Silverlight and Java is out of scope (but Gnash, Moonlight and Open-JDK may not be?)

How we achieve this I don't know the answer to, but I hope there will be more and open discussions about it. Ways of increasing peer-reviews, ways of making it clearer to the add-ons website users how many and whom trust the relevant add-on, by some voting mechanism perhaps (and the opposite). Sharing code bases to minimise risk and increase peer reviews must be advantageous. Ways of Mozilla to scan code for common risks is perhaps already done? If not should definetly be implemented.


As it stand I will still use add-ons and a loads of them really. However I wish there was an easy status on the add-ons website that indicated how risky the add-on is? A simple chrome style change, may be completelt different risk than a powerfull GreaseMonkey script with a variety of code elements.