SharpStyle Labs

Creativity is coming up with new things. Innovation is doing new things. We make software that helps you do both.

  • Pages

  • a

  • Archives

Archive for the ‘Development’ Category

How to easily create "test users" using Gmail

Posted by mikeg on January 11, 2008

Whenever you release a new version of any application that requires login, you need to test account creation functionality. There are a few possible ways:

  • Most likely you already have a few accounts with your gmail, yahoo, etc personal emails. You can certainly delete those from your system, but sometimes you have some test data in there that you want to keep
  • You can continue creating email addresses at any of the web email providers — that requires a rather significant amount of time as they ask you for a lot of information

This is where Gmail and automatic labels come to to the rescue:

  • Let’s say my email is mike@gmail.com
  • Gmail has a very useful feature where you can send an email to mike+anythingYouWantHere@gmail.com and that email will end up in your mailbox
  • “+” helps mimic “email alias” functionality. You can then apply filters within Gmail
  • That pretty much provides you with unlimited number of email addresses without all the hassle of setting them up

This technique is useful to automatically file emails and can also help you figure out which of the million websites that you signed up for actually sold your email address. It will not help you stop spam, but at least you will know who is responsible for it — sign up to websites using some system like this: mike+websiteName@gmail.com.

Here is help page on this subject from Gmail: http://mail.google.com/support/bin/answer.py?answer=12096&topic=13271

Posted in Development, QA, Testing, Web Development | Tagged: , | 1 Comment »

How to easily create "test users" using Gmail labels

Posted by mikeg on January 11, 2008

Whenever you release a new version of any application that requires login, you need to test account creation functionality. There are a few possible ways:

  • Most likely you already have a few accounts with your gmail, yahoo, etc personal emails. You can certainly delete those from your system, but sometimes you have some test data in there that you want to keep
  • You can continue creating email addresses at any of the web email providers — that requires a rather significant amount of time as they ask you for a lot of information

This is where Gmail and automatic labels come to to the rescue:

  • Let’s say my email is mike@gmail.com
  • Gmail has a very useful feature where you can send an email to mike+anythingYouWantHere@gmail.com and that email will end up in your mailbox
  • “+” after your real address tells Gmail to “label” that email
  • That pretty much provides you with unlimited number of email addresses without all the hassle of setting them up

This technique is useful to automatically file emails and can also help you figure out which of the million websites that you signed up for actually sold your email address. It will not help you stop spam, but at least you will know who is responsible for it — sign up to websites using some system like this: mike+websiteName@gmail.com.

Posted in Development, QA, Testing, Web Development | Tagged: , | 1 Comment »

Better File/Image Renamer

Posted by mikeg on January 10, 2008

If you are interested in a better tool to rename lots of files/images, check out my post on Better File Rename v5: http://blog.grushin.com/2008/01/10/better-fileimage-renamer-handling-digital-pictures/

Posted in Development | Leave a Comment »

Problem with debugging XML in Flex Builder 3 Beta 2

Posted by sharpstyle on October 4, 2007

I probably wasted an hour trying to figure out what was wrong with my XML, and at the end it turned out that Flex Builder is not doing some right when debugging XML nodes. As you can see from the screenshot below, "trace" executed correctly showing me the right value, while Expressions reports an error.

Bottom line — when working with XML use trace() to verify that you are getting the data you want, not Expressions window.

image

Mike Grushin
Partner, CTO

Posted in Development | 1 Comment »

Setting up a Microsoft Web Development Machine — Part 1: Choosing OS

Posted by sharpstyle on August 26, 2007

This series of posts will talk about setting up a development machine for development of Web Applications using Microsoft Visual Studio 2005.

You have a choice of the following operating systems:

  • Vista/Vista 64 bit
  • XP/XP 64 bit
  • Windows 2003 Server/Windows 2003 Server 64 bit

Let’s discuss:

  • 64 bit is not an option:
    • At the time this was written, Visual Studio didn’t support Edit and Continue functionality under 64 bit.
    • I wasn’t able to install Firefox (or any of its cousins) on 64 bit and if you are developing web applications, testing in multiple browsers is a requirement
    • there are a few other programs that had a problem running under 64 bit
  • Vista:
    • Only recently ZoneAlarm started supporting Vista
    • I worked enough with Microsoft products to know that one should wait for SP1
  • XP
    • If you are using a laptop as your main development machine, this is probably your best option as 2003 Server doesn’t support many important “laptop features”: hibernation, etc
  • 2003 Server
    • If you are using a desktop, my recommendation to use this as your OS due to its stability

Mike Grushin
Partner, CTO

Posted in Development, Uncategorized, Visual Studio, Visual Studio 2005, Web Development | 1 Comment »

Windows 2003 Server and ZoneAlarm do not mix

Posted by sharpstyle on August 26, 2007

ZomeAlarm installation warned me about running it on Server OS, but I didn’t listen and ended up with a computer that would never finish booting/loading — it would get to “starting…” screen and then reboot.

Had to go into Safe mode and uninstall ZoneAlaram. System booted w/o an issue.

Why was I trying to install “personal firewall” on a server OS? I was rebuilding my development machine and decided to use Win 2003 Server as OS for stability. I will have a separate post on that a little later.

Mike Grushin
Partner, CTO

Posted in Development, Microsoft | 2 Comments »

Firebug — web development evolved

Posted by sharpstyle on April 9, 2007

It is not often that I find software where in the first 5 minutes of using it, I know that it will save me a lot of time. Meet Firebug:

Firebug integrates with Firefox to put a wealth of web development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.

Think of Firebug as Web Developer extension on steroids. Here are some of the features:

  • Live editing of HTML, JavaScript, CSS with immediate result
  • Visual representation of the layout for each element including margin, border and padding — this will certainly save me a lot of time
  • Monitor network activity
  • Debug and profile JavaScript
  • Powerful JavaScript console

Make sure to read documentation as there are a number of keyboard shortcuts and console macros that will save you time

Firebug is open source.

If you are looking for similar functionality in IE, there are a number of options:

~Mike

Posted in ajax, Development, JavaScript, Web Development | 1 Comment »

 
Follow

Get every new post delivered to your Inbox.