Posted by jpluimers on 2010/06/30
It seems quite a few “web 2.0” apps too have the same glitch: they throw away user input when the first page finishes loading.
This is especially noticeable on slow connections (UMTS, DSL that is a long distance from the phone company, EDGE, GPRS, etc): the connection speeds that a lot of developers don’t seem to test on.
So, the sequence of events goes like this:
- The data entry fields (in this case, from and to location) become visible
- You put the focus on the from field
- You type the from address (I do blind typing)
- You press the tab key to go to the to field (more and more Web 2.0 apps get their tab order right nowadays)
- You type the to address
- You wait until the “GO” button becomes visible
- The Web 2.0 app keeps loading
- It erases the “from” and “to” fields that you just typed
Or more general:
when you start typing in a Web 2.0 app which is still loading, almost all the times you loose your input.
And since there is usually no visual clue when the Web 2.0 app has finished loading, you have to wait until you feel comfortable not loosing your input.
Examples that get this wrong:
Please add your own in the comments…
Posted in Development, Opinions, Software Development, UI Design, Web Development | 1 Comment »
Posted by jpluimers on 2010/06/29
For my own memory: a small script to list SQL Server databases and their data/log files.
"%ProgramFiles%\Microsoft SQL Server\90\Tools\Binn\OSQL.EXE" -S .\SQLEXPRESS -E -Q "select name from sys.databases"
"%ProgramFiles%\Microsoft SQL Server\90\Tools\Binn\OSQL.EXE" -S .\SQLEXPRESS -E -Q "select name,filename from model.sys.sysfiles"
"%ProgramFiles%\Microsoft SQL Server\90\Tools\Binn\OSQL.EXE" -S .\SQLEXPRESS -E -Q "select name,filename from master.sys.sysfiles"
"%ProgramFiles%\Microsoft SQL Server\90\Tools\Binn\OSQL.EXE" -S .\SQLEXPRESS -E -Q "exec sp_msforeachdb 'select ''?'',name,filename from ?.dbo.sysfiles'"
SQL Server maintains a list of databases in the system table sys.databases.
It also has an unsupported procedure sp_msforeachdb that you can use to investigate for instance performance issues.
In the above example, sp_msforeachdb just builds a statement (filling the ? with the database name) to execute.
Posted in Database Development, Development, SQL Server | Leave a Comment »
Posted by jpluimers on 2010/06/28
Recently, I had to print multiple months or weeks from within Google Calendar.
The default UI does not allow that, but it is in fact pretty easy to do.
These are the steps to get PDF versions of a whole year.
Edit 20100714: thanks to Kilian Croese, I could explain a few more parameters, and cut out the steps for Fiddler, so it now works with most browsers on most platforms.
All text that is not relevant any more is marked
deleted, so you can still read it if you want to use Fiddler.
It works from Google Chrome and Internet Explorer on Windows (FireFox works if you install FiddlerHook) Read the rest of this entry »
Posted in Development, Fiddler, Google, Google Apps, ISO 8601, Power User, Software Development, Web Development | 19 Comments »
Posted by jpluimers on 2010/06/25
Recently, I had to configure a pretty up-to-date Windows XP SP3 VM with SQL Server 2005 for a proof of concept.
The SQL Server 2005 setup failed consistently on installing MSXML 6.
I tried making the XP VM really up-to-date.
But the SQL Server 2005 setup still failed at the same reason.
In the end it appeared that the MSXML 6 install that is included in the SQL Server 2005 install barfs when MSXML 6 SP2 is already installed. Read the rest of this entry »
Posted in Database Development, Development, SQL Server | 5 Comments »