Standing on the shoulders of giants. RSS 2.0
# Friday, January 11, 2008
# Thursday, January 03, 2008

I moved the Google chart API wrapper development to CodePlex and published a first Alpha release of the source code. Several more releases should follow in the coming weeks, focusing initially on completing the API and changing some things I'm not really happy about.

After the initial release I plan to work on adding designers to make integrating the charts in your ASP.NET applications easier.

Thursday, January 03, 2008 8:12:42 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Google Chart
# Tuesday, December 18, 2007

From Rands:

Here is an audacious goal for your resume: to get you to a point in your career where you no longer need a resume. It’s the point that in your chosen industry people know who you are and what you are capable of. And they want you doing it at their companies.

Tuesday, December 18, 2007 4:48:45 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
General
# Wednesday, December 12, 2007

The documentation for the DoesUserHavePermissions method starts hopeful:

"The DoesUserHavePermissions method of the SPPermissionCollection class returns a value that indicates whether the current user has the specified permissions."

But it goes downhill in the "return value" section:

"true if the current user has the specified permissions; otherwise, raises an access denied exception and prompts the user for authentication."

It is not exceptional for a user to not have permissions, so raising an exception in those cases is not something you would expect to happen; especially since the method returns a boolean, which does support the false value.

A general design guideline for .Net development as described in the Framework design guidelines (p183-188) is: "DO NOT use exceptions for the normal flow of control, if possible."

Wednesday, December 12, 2007 2:58:28 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
BCL | Sharepoint
# Tuesday, December 11, 2007

Saw the new (?) chart API  yesterday and so far I am impressed with the amount of options you have when you generate charts. For the moment the only limitation is that you're limited to 50k requests per day, but that should be enough for most uses (esp. when you use some smart caching).

To make using the API just a bit easier I started with a wrapper in C#; for now it only supports the most basic options for the 2D and the 3D piecharts, but the more to come soon.

If anybody is interested in helping complete the wrapper, let me know and I'll host the source on CodePlex.

GoogleChartApi.zip (1.32 KB)
Tuesday, December 11, 2007 11:00:10 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Google Chart
# Tuesday, November 20, 2007

Nice, you can use any IEnumerable as the source for you LINQ queries.

 

class Program {
    static void Main(string[] args) {

         var result = from x in GetSequence(12) where (x%2) == 0 select x;

         foreach (var x in result) {
             Console.WriteLine(x);
         }

        Console.ReadLine();

    }

    static IEnumerable<int> GetSequence(int max) {

        for (int i = 0; i < max; i++) yield return i;

    }
}
Tuesday, November 20, 2007 2:20:10 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Codesnippet
# Wednesday, November 14, 2007

PIC-0004

A nice surprise today when the mailman brought 4 new books:

  1. Programming Pearls, 2nd Edition by Jon Bentley
  2. The No Asshole Rule by Robert I. Sutton, PhD
  3. Mastering Regular Expressions, 3rd edition by Jeffrey E.F. Friedl
  4. Code Complete, 2nd Edition by Steve McConnell

1,2 and 4 I consider required reading for any serious developer, allthough I have only read Code Complete myself.

Now the only thing left is to actually read all the books I have collected in the last couple of weeks.

Wednesday, November 14, 2007 5:10:41 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Development | Reading
# Monday, November 12, 2007

I. M. Wright's Hard Code is a collection of 49 columns Eric Brechner wrote for the Interface magazine at Microsoft from June 2001 till April 2007. The topics of the columns range from software development to career development to being a better manager. And along the way give you great insight in the process of software development at Microsoft.

The best column is "Where's the beef? Why we need quality", which describes the change Microsoft needed to make when the primary users switched from enthusiasts to consumers and enterprises. Customers that want a turnkey solution - you turn it on and it works. The key to making the switch is, according to Eric, raising the quality bar and focus on customer issues. And the three areas to work on are:

  • Better design and code
  • Better instrumentation and test
  • Better supportability and recovery

Highly recommended.

Also read Eric's blog, where he posts a column every month.

Monday, November 12, 2007 9:24:19 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Reading
About
© Copyright 2008
Paul van Brenk
Sign In
newtelligence dasBlog 2.3.8275.16006
All Content © 2008, Paul van Brenk
DasBlog theme 'Business' created by Christoph De Baene (delarou)