Toby's Development Blog Just another PHP / Javascript Developer

22Jun/100

Useful Git Links

This is a post I will be adding to over time all about links I have found useful when learning how to best use Git.

How To Create And Apply A Patch - Really good article, the only thing I would clarify is that the am command can only be used once you have set up mailing (something I have yet to do).

Creating A New Branch On Your Remote Repository - Such a simple task but one I couldn't easily find described somewhere for the layman.

Git By Example - This has all the basic git commands that anyone starting out with Git will want to familiarise themselves with complete with examples.

Branching and Merging - An interesting document on branching and merging within Git.

Thanks to @psynnott for contributing some links.

  • Digg
  • Delicious
  • Facebook
  • Reddit
  • Ping
  • Twitter
  • Share/Save/Bookmark
Tagged as: No Comments
18Jun/100

Using Open Source – Some Legal Considerations

Yesterday I attended an event at the Holiday Inn in Belfast regarding some of the legal concerns over software houses incorporating open source code into their applications. This was put on by the good people at Momentum NI.

It was an excellent talk delivered expertly by Rory Campbell from Forde Campbell. I figured I would take 5 minutes to briefly sum up what I got from the talk for those who could not attend (or could attend but wanted to watch Mexico show France up!).

Open source is good although it sometimes gets a bad wrap in the public sector, as developers we all know how good it is to have a nice open community building on the same code you are building on.

There is a wide spectrum of open source licences but generally there are two camps FSF (Which created GPL) and OSI (Who endorse the MIT licence).

GPL2 is almost too open for business purposes, it basically says that if you use any code from this licence then your code also needs to be completely GPL2 as well - this is obviously a massive issue if you are doing this. (Personally I know I use open source code all the time, what I don't know is what licence I have accepted by doing so, do you?)

MIT is more relaxed, it doesn't force you to make your code open source. It does however state that the code is provided as is and basically if it goes wrong it isn't the providers fault, which means if you use some in your code and it breaks you have no leg to stand on when your client starts shouting at you.

So far there have been no court decisions in the UK but people are getting wise to open source law and are arguably getting a bit paranoid over it so it is something we can't afford to ignore. In Germany there have been rulings and one developer used to actively seek out companies who were not complying (Harald Welte).

The main issue is that if you use open source and don't follow the terms your leave yourself open to get sued by the open source supplier for breaking their licence and also your client because you are passing risk onto them. Also if someone attempt to buy your company things like is could throw a spanner in the works.

There are a few things we can do, we can run audits on our projects to make sure we know what open source licences we are currently using, we can educate ourselves and our co-workers in the issues, we can log any new stuff coming in somewhere we can easily reference it and we can always fall back onto lawyers for advice.

That is pretty much it, now I am off to see what licences I have to stop pissing on!

/*
* Edit
*/

Thanks to Rory Campbell for correcting how I described the two camps.
Thanks to Future Perfect for telling me the difference between licence and license.

  • Digg
  • Delicious
  • Facebook
  • Reddit
  • Ping
  • Twitter
  • Share/Save/Bookmark
29May/100

A post from my iPad

Just testing the iPad app for Wordpress, looks pretty slick and responds well.

Typing I have found to be a little sensitive but I am sure I will get used to it in time!

If anyone wants to suggest apps I should be checking out please leave a comment below.

  • Digg
  • Delicious
  • Facebook
  • Reddit
  • Ping
  • Twitter
  • Share/Save/Bookmark
Tagged as: , No Comments
26May/101

Robin Christopherson – Accessibility in Web Design

Robin Christopherson works at Abilitynet and gave an excellent talk last year at FOWA Dublin 2009 about some of the traps to avoid to keep your website accessible to all.

This year he was talking about pretty much exactly the same thing, which would be annoying only the need for accessible websites hasn't went away and people are still making the same mistakes.

I won't go through every example he gave but here are some of the important notes I took from his talk entitled Accessibility in Web Design.

  • Adobe Flash is getting more accessible but a lot of the older sites are still completely out of reach.
  • Youtube is in the process of moving to HTML5, whilst it is still using flash it is unaccessible.
  • Chrome currently doesn't play well with screen readers.
  • Google allows you to add captions in Youtube videos really really easily, this would really improve the experience of video for people who are hard of hearing.
  • Lots of mobile websites such as m.facebook.com are very accessible because they need to be for mobile devices.

One really cool thing I learned was that Opera Mini as a force single column mode, I have been a user of Opera Mini for ages and didn't know about this, one setting change and my experience on most websites using that browser has improved dramatically, vertical scrolling is basically eliminated.

Robin talked about Project Canvas, the following snippet is from their website and it seems like an interesting an worthwhile project.

Project Canvas is a proposed partnership between the BBC, ITV, C4, Five, BT and Talk Talk to build an open internet-connected TV platform, subject to BBC Trust approval.

Finally here are a few links he shared with us;

He mentioned some really valuable stuff and it was a very enjoyable presentation.

  • Digg
  • Delicious
  • Facebook
  • Reddit
  • Ping
  • Twitter
  • Share/Save/Bookmark
24May/103

Eoghan McCabe and Des Traynor – Sexy or Meaningful

In my last writeup I mentioned that the content Owen DeLong was covering was a little dry but incredibly necessary.

Eoghan McCabe's and Des Traynor's (both from Contrast.ie) talk entitled Five Lessons We've Learned Sexy or Meaningful builds a lot upon the theme of necessity as they talk about why it is important to not always be chasing the sexy things in life.

They basically go through five areas of business and explain why in most cases the sexy option is the option you want to avoid like the plague.  This was an excellent talk delivered by two fantastic speakers.

With regards to business strategies they discussed things that didn't work;

  • Filling a hole in another product very rarely works.
  • Being a middle man doesn't work.
  • Generally relying on third parties for your business model to work isn't going to work.
  • Being first to market has no real advantage.
  • Creating copy cat apps isn't going to work (in personally, find that really boring)
  • Trendy businesses never seem to work (SEO companies for example)

And they concluded that we should be looking long term and to focus on the things that aren't going to change.

With regards to the people you are involved with they mentioned a couple of things;

  • Talent without discipline is bad.
  • Having a friend become a colleague can ruin the friendship.
  • You should always choose people for the right reasons.

Their third topic for discussion was about investments, basically they highlighted the fact that investment is sexy and reminded us that our business doesn't really need that much start up so why would you really need to chase money in the beginning?

Fourth on their list was the section on design, they warned us to watch out for trends and don't immediately follow them.  I couldn't agree more with this, it is so tempting to make all your corners rounded now and have a nice shadow effect around divs, but just because it is the flavour of the moment doesn't mean you are giving any real value to your users.

They gave an example of a good meaningful website - Craigslist.  They point out that the design hasn't changed and whilst it isn't sexy, it is very functional.   I would argue that sites like Amazon and Ebay would be in the same boat, not great to look at but usually easy to use.

Their talk ended with a section on marketing, here they listed some more key points;

  • Build your product first, then look at the marketing.
  • Let the product do the talking.
  • Don't chase overnight success.
  • Ignore tabloids.
  • Digg
  • Delicious
  • Facebook
  • Reddit
  • Ping
  • Twitter
  • Share/Save/Bookmark

Hello

I am a PHP and JavaScript developer who works for Team Solutionz.

This website is what I use to talk about things most of my friends don't want me to talk about to them! For some reason they find coding alien and boring... I have strange friends.

Subscribe via RSS

New Posts

Old Posts

Categories

Links

Other Links

Sign Up and Comment!

What I talk about