28 septembre 2009


How to Fix Dark Pictures Photoshop Tutorial


Are you lazy? Perhaps curves and levels are a scary thing to learn in Photoshop? Fret no more. There’s an easy way to adjust your dark photos. It’s so easy it only takes a couple minutes. There are the right ways to fix an underexposed image and then there’s this way. I can honestly say without shame that I’ve used this method before. I’m not ashamed. In fact, I’d be willing to bet no one will ever know which image or images I’ve used this technique on, but because it’s the lazy way, it’s nowhere near perfect. Therefore, as I said, it’s not the right way, just an easy way that should look like this in the end:

Step 1

Start with your source image that’s underexposed.

Step 2

Now copy the background layer by pressing Ctrl+J. Now change the blend mode in the layers palette for this new layer to Screen. As you can see, it lightens up the whole image.

Step 3

As you can see, it’s still too dark. A scene like this would lead anyone to drink. Let’s lighten it up a little more by clicking Ctrl+J repeatedly until it looks right.

Step 4

It does a pretty good job of lightening up the whole bar here. Certain scenes would be done at this point. Pretty easy huh? The one issue you can run in to with this technique is certain bright sections of your image can get blown-out easily. To fix this, combine all the layers except the background layer by selecting all the layers except the background one in the layers palette clicking Ctrl+E to combine them. Now with this new combined layer selected, click on the add layer mask button at the bottom of the palette and use the brush tool (B) to draw over the blown-out highlights. This will bring the original image back through.
That’s it, you lazy person you. Now get back to watching more reality TV.



From http://csscreme.com/tutorials/photoshop-tutorials/how_to_fix_dark_pictures_photoshop_tutorial

40+ Best Photoshop Tutorials for Creating Buttons and Badges

http://naldzgraphics.net/tutorials/40-best-photoshop-tutorials-for-creating-buttons-and-badges/

Showcase of Designs Optimized for iPhone

http://www.smashingmagazine.com/2009/09/27/showcase-of-designs-optimized-for-iphone/

Ultimate Round-Up Of Beautiful iPhone Wallpapers

http://www.instantshift.com/2009/09/27/ultimate-round-up-of-beautiful-iphone-wallpapers/

Did You Know 4.0

27 septembre 2009


Dirpy Converts YouTube Videos to Audio for Later Listening [YouTube]

Many YouTube videos are just as enjoyable as straight-up audio. If you'd like to grab a lecture or comedy routine for the road, Dirpy can help.

Dirpy allows you to easily rip the audio from a YouTube video and convert it to MP3 audio you can throw on your player of choice. Not only can you rip the audio but you can specify what part of the audio you need. Only want the segment from 4:39 to 23:42? Not a problem with Dirpy.

In addition to simply ripping the audio, you can also edit the ID3 tags, so your download is already neatly tagged and ready to assimilate into your collection. If you find yourself wanting a copy of the video in addition to or independently of the MP3 file, you can download the video too. Dirpy is a free service and can be accessed both by visiting the main site or by using the Dirpy bookmarklet.

26 septembre 2009


The 7 Software Development Wastes - Lean series Part 7 - Defects

Introduction

When one looks at all the wastes, defects has to be the most obvious one. The cost and repercussions of finding defects varies depending on where in the cycle they're found. Defects found early on in the development life-cycle are way less costly to resolve than defects found later on in the cycle; the most expensive being when applications are already in-production.

Additionally, depending on when the defects are found, defects can and do trigger other wastes like task switching, relearning etc.

Defects can be very costly for an organization. So the trick with defects is that you need to 1) Prevent them from happening in the first place and 2) Find and fix them as early in the development life-cycle as possible.

So what can you do to prevent them from happening in the first place?

  1. Keep your stories small, and unambiguous.
  2. Ensure that each story has well defined acceptance test criteria (assisted by input from the customer).
  3. Ensure that your code is well tested. Adopting good Test Driven Development habits will pay back in spades.
  4. Pair programming and code reviews are excellent ways in which to prevent bugs from being created in the first place.
  5. The more you automate the better. So automated functional testing is a good way to automate the functional test plan and get results fast and to ensure that new code changes aren't breaking other parts of the code.
  6. Ensure staging environments mimic production as closely as possible.
  7. Make sure that as you find new defects, you add unit tests to your test suite to keep your unit testing current.
  8. Finally, document your code well.

An interesting quote from Mary and Tom Poppendieck's book called Implementing Lean Software Development,

'If software routinely enters final verification with defects, then it is being produced by a defective process'

.... which needs to be fixed. So...

Step 1. Prevent the bugs from happening in the first place by 'mistake proofing' your code

Step 2. Do whatever you can to find the bugs early on in the process while the code is fresh in the developers minds - i.e. ensure you have good functional test plans and test tools.

Step 3. Ensure a proper staging (or test environment) that mimics production environment as closely as possible

Step 4. Get the software into the hands of customers as quickly as possible, so good Agile practices help here.

Step 5. If you find defects, ensure they never happen again by keeping your unit tests current.

Top 10 Ways to Get More From a Cameraphone

The best camera, the saying goes, is the one you have with you. Whether that's an impressive iPhone 3GS or a $20-with-2-year-plan flip model, you can pull off great shots and make life easier with these cameraphone tactics.

10. Get macro-style close-ups

Macro shots aren't just for passionate foodies with tolerant friends. We've shown you how to use an old DVD lens to create a simple, portable cover-up lens to get serious short focus on whatever you're shooting. Lack an old player to tear apart? You can probably find some cheap add-ons for your makeshift macro shots. Either way, you've got a nice little macro package that's cheap enough to bring everywhere and shoot everything, without worrying too much about

9. Capture your car travel

iPhones and other web-capable cellphones can be used as turn-by-turn GPS navigators, so accessory makers have cranked out lots of mounting gadgets for them. That's very convenient, but not half as fun as directing a low-budget thriller about your drive to work. To give your character his mood-setting opening montage, simply drill a hole in the camera spot and find an app that allows for time lapse photography, or a video recording function that doesn't require too much fiddling while driving.

8. Find your car in huge parking lots

Remember where one parked is one of those skills everyone assumes they're great at until put to the test. The Digital Inspiration blog suggest that, among other creative uses of cameraphones, using it to snap a picture of the exit or elevator you're closest to in a ramp, or landmark or other marker in an open lot, might save you a lot of hassle upon returning from an epic shopping trip or sports event. It takes less time than texting yourself the coordinates, and you'll earn instant respect when you're the only one with a bead on where to find the ride at the end of the night. Photo by Luciano Meirelles. (Original post)

7. Document what you packed

A lot of bags are packed in frantic fashion, but take the 15 seconds to snap a shot or two of what you're throwing in the case before you close it. If the airline, hotel, or shuttle service loses or damages your luggage, you'll know exactly what's in your right to claim inside it. If you want to be absolutely sure you didn't pack sunglasses before you run out and buy them, you'll know whether to keep digging. Months or years later, you'll get a laugh out of how much you thought you needed to do nothing on vacation. Photo by Muffet. (Original post)

6. Create PDFs from document pictures

One hour and many arguments later, the whiteboard at work is filled with actually feasible ideas and team commitments. Now, how will you remember it tomorrow morning? Free camera phone conversion service Qipit can, depending on your camphone's quality, accept whiteboard snapshots, printed documents, or handwritten notes with white-ish backgrounds and convert them into plain old PDFs, then email them to your regular address. We just wrote out a potential work-related use for that convenience—let's assume you can think of many, many more interesting uses than that. And if you ever need to actually fax one of these documents, Qipit has you covered.

5. Punch them up on your Desktop

Some cameraphone shots capture perfect moments, but were taken in not-so-perfect conditions. Whether you like doing it yourself or leaving it to some well-considered software, it's fairly easy to drag a decent-looking image out of a rough snap. Windows users should grab the Mobile Photo Enhancer for a quick fix that corrects common problems. Got Photoshop, the GIMP, or another photo editing solution handy? Try Jackson West's tips on punching up a photo in under 60 seconds tested out on a pretty sweet shot of a bulldog taken with the lackluster iPhone (2G) camera. (Original posts: Mobile Photo Enhancer, Punch Up a Photo)

4. Enforce a diet

Back in the day, when the idea of phones with cameras was new to the world (okay, this was only 2005), the MyFoodPhone service offered, for $149/month, then $10/month, to have a dietitian review any photos you send in of your food and ping you back with a quick take or suggestion. As you might imagine, that service doesn't seem to be around anymore—perhaps because, for many people, the act of simply committing what they're eating to a camera, and maybe even making it public, is enough to start dropping pounds. It's akin to the idea of calling a parent every night you hit the town and telling them how much you had to drink or how much you spent—you would, almost certainly, cut back, and you'd also have photo evidence and reinforcement of the times you managed not to kill off that entire Cheesecake Factory plate. Photo by Sebastian Mary.

3. Grab and send photos without fees

Tied to an older phone that won't let you get pictures out without paying exorbitant MMS/email/'upload' fees? Enter BitPim, a free software tool that connects to your phone over Bluetooth and opens it up in a major way, even if your Bluetooth capabilities seem very limited. We walked through backing up and syncing your phone with BitPim, performed on a very limited clamshell model, the cheapest that came with a Verizon contract. Check to see if BitPim supports your phone. If so, feel free to reach into your little bundle of circuits and free the pictures, videos, and tunes that are rightfully yours. Oh, and throw some custom-made ringtones in there, while you're at it.

2. Master the form

Even with the high-end 5-8 megapixel models on the edge of being available, shooting with a cameraphone is not the same as with a standard handheld camera. The sensors, lens curvature, capture abilities—it's all been optimized for a device mostly meant to pass voice and data from twisted antennas. That said, you can learn how to get better shots out of the camera you always have with you, as Gina learned and related:
Plan for shutter delay
Like many consumer digital cameras, there's most likely a delay between the exact moment you press the shutter button and when your cameraphone captures the image. Plan for this: hit that button half a second in advance to get the exact moment you're looking for, and keep the phone steady for a few seconds after it's pressed, too. A little practice will help you perfect this.


1. Make it your second brain

Get a free Flickr account, and add your secret, automatically private, instant-upload email address to your phone's contacts. You've now got a tag-able, high-quality, almost infinite space to stash everything you're likely to forget or need to pool your thoughts on. Wine you want to buy, the perfect gift you stumble across in June, your new gadget's serial number—anything not already in this list, in other words. If you're more likely to actually organize your camera thoughts, Evernote offers a similar free space and private email address, but doesn't allow for tagging by email, making the otherwise brain-expanding service, oddly enough, a bit less useful for this hack you'll find convenient at just the right moments. Photo by solson.

24 septembre 2009


10 Useful Usability Findings and Guidelines

Everyone would agree that usability is an important aspect of Web design. Whether you’re working on a portfolio website, online store or Web app, making your pages easy and enjoyable for your visitors to use is key. Many studies have been done over the years on various aspects of Web and interface design, and the findings are valuable in helping us improve our work. Here are 10 useful usability findings and guidelines that may help you improve the user experience on your websites.

Form Labels Work Best Above The Field


A study by UX Matters found that the ideal position for labels in forms is above the fields. On many forms, labels are put to the left of the fields, creating a two-column layout; while this looks good, it’s not the easiest layout to use. Why is that? Because forms are generally vertically oriented; i.e. users fill the form from top to bottom. Users scan the form downwards as they go along. And following the label to the field below is easier than finding the field to the right of the label.

Tumblr
Tumblr features a simple and elegant sign-up form that adheres to UX Matter’s recommendation.

Positioning labels on the left also poses another problem: do you left-align or right-align the labels? Left-aligning makes the form scannable but disconnects the labels from the fields, making it difficult to see which label applies to which field. Right-aligning does the reverses: it makes for a good-looking but less scannable form. Labels above fields work best in most circumstances. The study also found that labels should not be bold, although this recommendation is not conclusive.

Users Focus On Faces


People instinctively notice other people right away when they come into view. On Web pages, we tend to focus on people’s faces and eyes, which gives marketers a good technique for attracting attention. But our attraction to people’s faces and eyes is only the beginning; it turns out we actually glance in the direction the person in the image is looking in.

eye tracking
Eye-tracking heat map of a baby looking directly at us, from the UsableWorld study.

eye tracking
And now the baby is looking at the content. Notice the increase in people looking at the headline and text.

Here’s an eye-tracking study that demonstrates this. We’re instinctively drawn to faces, but if that face is looking somewhere other than at us, we’ll also look in that direction. Take advantage of this phenomenon by drawing your users’ attention to the most important parts of your page or ad.

Quality Of Design Is An Indicator Of Credibility


Various studies have been conducted to find out just what influences people’s perception of a website’s credibility:


Fever
We don’t know if Fever app is any good, but the sleek user interface and website make a great first impression.

One interesting finding of these studies is that users really do judge a book by its cover… or rather, a website by its design. Elements such as layout, consistency, typography, color and style all affect how users perceive your website and what kind of image you project. Your website should project not only a good image but also the right one for your audience.

Other factors that influence credibility are: the quality of the website’s content, amount of errors, rate of updates, ease of use and trustworthiness of authors.

Most Users Do Not
Scroll


Jakob Nielsen’s study on how much users scroll (in Prioritizing Web Usability) revealed that only 23% of visitors scroll on their first visit to a website. This means that 77% of visitors won’t scroll; they’ll just view the content above the fold (i.e. the area of the page that is visible on the screen without scrolling down). What’s more, the percentage of users who scroll decreases with subsequent visits, with only 16% scrolling on their second visit. This data highlights just how important it is to place your key content on a prominent position, especially on landing pages.

This doesn’t mean you should cram everything in the upper area of the page, just that you should make the best use of that area. Crowding it with content will just make the content inaccessible; when the user sees too much information, they don’t know where to begin looking.

Basecamp
Basecamp makes great use of space. Above the fold (768 pixels high), it shows a large screenshot, tagline, value proposition, call to action, client list, videos and short feature list with images.

This is most important for the home page, where most new visitors will land. So provide the core essentials there:

  1. Name of the website,
  2. Value proposition of the website (i.e. what benefit users will get from using it),
  3. Navigation for the main sections of the website that are relevant to the user.

However, users’ habits have significantly changed since then. Recent studies prove that users are quite comfortable with scrolling and in some situations they are willing to scroll to the bottom of the page. Many users are more comfortable with scrolling than with a pagination, and for many users the most important information of the page isn’t necessarily placed “above the fold” (which is because of the variety of available display resolutions a quite outdated, deprecated term). So it is a good idea to divide your layout into sections for easy scanning, separating them with a lot of white space.

For further information please take a look at the articles Unfolding the fold (Clicktale), Paging VS Scrolling (Wichita University – SURL), Blasting the Myth of the Fold (Boxes and Arrows). (thanks, Fred Leuck).

Blue Is The Best Color For Links


While giving your website a unique design is great, when it comes to usability, doing what everyone else is doing is best. Follow conventions, because when people visit a new website, the first place they look for things are in the places where they found them on most other websites; they tap into their experience to make sense of this new content. This is known as usage patterns. People expect certain things to be the same, such as link colors, the location of the website’s logo, the behavior of tabbed navigation and so on.

Google
Google keeps all links on its websites blue for a reason: the color is familiar to most users, which makes it easy to locate.

What color should your links be? The first consideration is contrast: links have to be dark (or light) enough to contrast with the background color. Secondly, they should stand out from the color of the rest of the text; so, no black links with black text. And finally, research shows (Van Schaik and Ling) that if usability if your priority, sticking to blue for links is best. The browser’s default link color is blue, so people expect it. Choosing a different color is by no means a problem, but it may affect the speed with which users find it.

The Ideal Search Box Is 27-Characters Wide


What’s the ideal width of a search box? Is there such a thing? Jakob Nielsen performed a usability study on the length of search queries in website search boxes (Prioritizing Web Usability). It turns out that most of today’s search boxes are too short. The problem with short boxes is that even though you can type out a long query, only a portion of the text will be visible at a time, making it difficult to review or edit what you’ve typed.

The study found that the average search box is 18-characters wide. The data showed that 27% of queries were too long to fit into it. Extending the box to 27 characters would accommodate 90% of queries. Remember, you can set widths using ems, not just pixels and points. One em is the width and height of one “m” character (using whatever font size a website is set to). So, use this measure to scale the width of the text input field to 27-characters wide.

Google search
Google’s search box is wide enough to accommodate long sentences.

Apple search
Apple’s search box is a little too short, cutting off the query, “Microsoft Office 2008.”

In general, search boxes are better too wide than too short, so that users can quickly review, verify and submit the query. This guideline is very simple but unfortunately too often dismissed or ignored. Some padding in the input field can also improve the design and user experience.

White Space Improves Comprehension


Most designers know the value of white space, which is the empty space between paragraphs, pictures, buttons and other items on the page. White space de-clutters a page by giving items room to breathe. We can also group items together by decreasing the space between them and increasing the space between them and other items on the page. This is important for showing relationships between items (e.g. showing that this button applies to this set of items) and building a hierarchy of elements on the page.

The Netsetter
Notice the big content margin, padding and paragraph spacing on The Netsetter. All that space makes the content easy and comfortable to read.

White space also makes content more readable. A study (Lin, 2004) found that good use of white space between paragraphs and in the left and right margins increases comprehension by almost 20%. Readers find it easier to focus on and process generously spaced content.

In fact, according to Chaperro, Shaikh and Baker, the layout on a Web page (including white space, headers, indentation and figures) may not measurably influence performance but does influence user satisfaction and experience.

Effective User Testing Doesn’t Have To Be Extensive


Jakob Nielsen’s study on the ideal number of test subjects in usability tests found that tests with just five users would reveal about 85% of all problems with your website, whereas 15 users would find pretty much all problems.

User tests
Source: Jakob Nielsen’s AlertBox

The biggest issues are usually discovered by the first one or two users, and the following testers confirm these issues and discover the remaining minor issues. Only two test users would likely find half the problems on your website. This means that testing doesn’t have to be extensive or expensive to yield good results. The biggest gains are achieved when going from 0 test users to 1, so don’t be afraid of doing too little: any testing is better than none.

Informative Product Pages Help You Stand Out


If your website has product pages, people shopping online will definitely look through them. But many product pages lack sufficient information, even for visitors doing a quick scan. This is a serious problem, because product information helps people make purchasing decision. Research shows that poor product information accounts for around 8% of usability problems and even 10% of user failure (i.e. the user gives up and leaves the website) (Prioritizing Web Usability).

iPod marketing page
Apple provides separate “Tech Specs” pages for its products, which keeps complicated details away from the simpler marketing pages, yet provides easy access when they’re needed.

Provide detailed information about your products, but don’t fall into the trap of bombarding users with too much text. Make the information easy to digest. Make the page scannable by breaking up the text into smaller segments and using plenty of sub-headings. Add plenty of images for your products, and use the right language: don’t use jargon that your visitors might not understand.

Most Users Are Blind To Advertising


Jakob Nielsen reports in his AlertBox entry that most users are essentially blind to ad banners. If they’re looking for a snippet of information on a page or are engrossed in content, they won’t be distracted by the ads on the side.

The implication of this is not only that users will avoid ads but that they’ll avoid anything that looks like an ad, even if it’s not an ad. Some heavily styled navigation items may look like banners, so be careful with these elements.

FlashDen
The square banners on the left sidebar of FlashDen are actually not ads: they’re content links. They do look uncomfortably close to ad banners and so may be overlooked by some users.

That said, ads that look like content will get people looking and clicking. This may generate more ad revenue but comes at the cost of your users’ trust, as they click on things they thought were genuine content. Before you go down that path, consider the trade-off: short-term revenue versus long-term trust.

Bonus: Findings From Our Case-Studies


In recent years, Smashing Magazine’s editorial team has conducted a number of case studies in an attempt to identify common design solutions and practices. So far, we have analyzed Web forms, blogs, typography and portfolios; and more case studies will be published next month. We have found some interesting patterns that could serve as guidelines for your next design.

Here, we’ll review some of the practices and design patterns that we discovered in our case studies in this brief, compact overview, for your convenience.

According to our typography study:

  • Line height (in pixels) ÷ body copy font size (in pixels) = 1.48
    1.5 is commonly recommended in classic typographic books, so our study backs up this rule of thumb. Very few websites use anything less than this. And the number of websites that go over 1.48 decreases as you get further from this value.
  • Line length (pixels) ÷ line height (pixels) = 27.8
    The average line length is 538.64 pixels (excluding margins and padding), which is pretty large considering that many websites still have body copy that is 12 to 13 pixels in font size.
  • Space between paragraphs (pixels) ÷ line height (pixels) = 0.754
    It turns out that paragraph spacing (i.e. the space between the last line of one paragraph and the first line of the next) rarely equals the leading (which would be the main characteristic of perfect vertical rhythm). More often, paragraph spacing is just 75% of paragraph leading. The reason may be that leading usually includes the space taken up by descenders; and because most characters do not have descenders, additional white space is created under the line.
  • Optimal number of characters per line is 55 to 75
    According to classic typographic books, the optimal number of characters per line is between 55 and 75, but between 75 and 85 characters per line is more popular in practice.

According to our blog design study:

  • Layouts usually have a fixed width (pixel-based) (92%) and are usually centered (94%). The width of fixed layouts varies between 951 and 1000 pixels (56%).
  • The home page shows excerpts of 10 to 20 posts (62%).
  • 58% of a website’s overall layout is used to display the main content.

According to our Web form design study:

  • The registration link is titled “sign up” (40%) and is placed in the upper-right corner.
  • Sign-up forms have simple layouts, to avoid distracting users (61%).
  • Titles of input fields are bolded (62%), and fields are vertically arranged more than they are horizontally arranged (86%).
  • Designers tend to include few mandatory fields and few optional fields.
  • Email confirmation is not given (82%), but password confirmation is (72%).
  • The “Submit” button is either left-aligned (56%) or centered (26%).

According to our portfolio design study:

  • 89% of layouts are horizontally centered, and most of them have a large horizontal navigation menu.
  • 47.2% of portfolios have a client page, and 67.2% have some form of standalone services page.
  • 63.6% have a detailed page for every project, including case studies, testimonials, slideshows with screenshots, drafts and sketches.
  • Contact pages contain driving directions, phone number, email address, postal address, vCard and online form,

Other Resources



Have any thoughts on what we’ve covered, or know of other useful usability findings? Please leave a comment below.

About the Author


Dmitry Fadeyev is the founder of the Usability Post blog, where you can read his thoughts on good design and usability. Follow Dmitry on Twitter @usabilitypost

Groovy Goodness: Using Regular Expression Pattern Class

http://mrhaki.blogspot.com/2009/09/groovy-goodness-using-regular.html