The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,854 other subscribers

Archive for the ‘Web Development’ Category

Web 2.0 apps throwing away your user input #fail

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:

  1. The data entry fields (in this case, from and to location) become visible
  2. You put the focus on the from field
  3. You type the from address (I do blind typing)
  4. You press the tab key to go to the to field (more and more Web 2.0 apps get their tab order right nowadays)
  5. You type the to address
  6. You wait until the “GO” button becomes visible
  7. The Web 2.0 app keeps loading
  8. 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.

Bad!

Examples that get this wrong:

Please add your own in the comments…

–jeroen

Posted in Development, Opinions, Software Development, UI Design, Web Development | 1 Comment »

Google Calendar – printing multiple months or weeks to PDF – URL parameter tips and tricks

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, GoogleCalendar, ISO 8601, Power User, Software Development, Web Development | 19 Comments »

Adding wordpress.com blog as connected site in Google Buzz (thanks Pēteris!)

Posted by jpluimers on 2010/06/26

Pēteris wrote about Adding wordpress.com blog as connected site in Google Buzz.

Thanks – that saved me a lot of time!

–jeroen

Posted in Development, Google, Power User, Software Development, Web Development, WordPress | 1 Comment »

For a good laugh: Modern computer languages are a bit like people in some ways. – from “The Lounge – CodeProject”

Posted by jpluimers on 2010/06/07

For a good laugh: read the Modern computer languages are a bit like people in some ways thread in the CodeProject lounge.

–jeroen

Via: The Lounge – CodeProject.

Posted in .NET, C#, Delphi, Development, HTML, Java, Opinions, Software Development, VBS, Web Development, WPF | Leave a Comment »

Bookmarklets: empower your webbrowser

Posted by jpluimers on 2010/06/02

Next to Greasemonkey – the script engine that empowers FireFox and Chrome, there is another very powerful way to enhance your browser:
Bookmarklets.

Bookmarklets are like shortcuts, but they don’t point to a static URL: they add action, usually by some JavaScript.

If the bookmarklet returns a string, then the browser will follow that as a URL.
But the since bookmarklet  has access to the current page, it can also perform just a local action.

The cool thing is that most bookmarklets work on almost any popular browser.

These are a few bookmarklets that I use on a regular base, most are from bookmarklets.com: Read the rest of this entry »

Posted in Bookmarklet, Conference Topics, Conferences, Development, Event, Power User, Software Development, Web Browsers, Web Development | Leave a Comment »

Example.[com|net|org] Web Page

Posted by jpluimers on 2010/06/01

After years of doing web-development, I just stumbled on example.com/example.net/example.org second level domain names.

Those are domains meant for documentation or example purposes.
And there is RFC 2606 that documents them.
There are even these first level domain names:
.test/.example/.invalid/.localhost

You’re never too old to learn something new :-)

–jeroen

Posted in Development, Software Development, Web Development | 1 Comment »

“Yoda Conditions” (from: stackoverflow – New programming jargon you coined?)

Posted by jpluimers on 2010/05/25

Having done quite a bit of C and C++ work in the past, I often still use “Yoda Conditions”, especially in environments where you have both = and == as an operator.
So, in a boolean expression, I often put the constant to test in front of the test.

I recently learned at stackoverflow that quite a few people call these “Yoda Conditions”:

“Yoda Conditions”— the act of using if(constant == variable) instead of if(variable == constant), like if(4 == foo). Because it’s like saying “if blue is the sky” or “if tall is the man”.

Thanks to dreamlax for helping me find that.

This is a problem in languages that have both the = and == operators, and the result of an assignment itself is also a value (i.e. allowing a = b = true). Read the rest of this entry »

Posted in .NET, C#, Delphi, Development, Java, Ruby, Software Development, Web Development | 22 Comments »

Microsoft: IE9 also favours HTML5 over Flash (IEBlog : HTML5 Video)

Posted by jpluimers on 2010/05/04

Last week, I blogged that we should move away from Flash to HTML5, CSS and JavaScript, commenting on Steve Jobs’ Thoughts on Flash post announcing support for HTML5 including video playback of H.264 encoded video.

In the mean time, the Microsoft Internet Explorer team announced that in IE9 they are going to support HTML5 and that H.264 will be the only supported video encoding standard.

There is a truckload of hardware that supports H.264 decoding acceleration.

So  the movement is from a plethora of video encoding standards into one broadly accepted H.264 standard.
When you look at the combination of support in HTML5/H.264 for all the major browsers, only FireFox has not announced support. This is probably because H.264 is not a free (as in beer) standard: commercial use requires payment. But  – if I read the H.264 article right – content that is free for end users requires no royalties to be paid.

This combined hardware and software support means that there is a pretty strong backing for H.264!

–jeroen

Reference: IEBlog : HTML5 Video.

Posted in CSS, Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »

WhiteHouse.gov releases part of their code as Open Source

Posted by jpluimers on 2010/05/03

I just noticed that WhiteHouse.gov last week released some of their code as Open Source.

In addition to using the Open Source Drupal project, they actually contribute to the Open Source community as well.

–jeroen

Posted in Development, Software Development, Web Development | Leave a Comment »

Thoughts on Flash – we should use HTML5, CSS and JavaScript in stead

Posted by jpluimers on 2010/04/30

Steve Jobs just posted his Thoughts on Flash.

Let me add another thought: I hate flash apps.

Flash should go, and we all should go for HTML5, CSS and JavaScript.

The primary reason I dislike Flash is similar to this quote from Steve Jobs’ post: Read the rest of this entry »

Posted in CSS, Development, HTML, HTML5, Software Development, Web Development | 2 Comments »