Archive for June, 2014

Solar Numbers Updated

The solar energy production numbers have been updated with the production on June. Not bad, not spectacularly good.


Read Full Post »

You are using AD group names to define the users of specific permission groups in SharePoint, right? After all, those groups are already managed centrally somewhere in your organisation, and you don’t want to duplicate that work…

You have this page displaying list items, but some of your users may see just a bit more than others, and those users are defined in a separate group. So you’re trying to determine whether a user belongs to a specific (SharePoint) user group, using a bit of JavaScript. Good idea: that’s what jQuery and SPServices are for, right?

Unfortunately, the following code construct will not work for users in those AD groups:

      operation: "GetGroupCollectionFromUser",
      userLoginName: $().SPServices.SPGetCurrentUser(),
      async: false,
      completefunc: function(xData, Status) {
        if ( $( xData.responseXML ).find( "Group[Name='xxxxxxxx']").length == 1 ) {
          // Try something worthwhile here…

Why does it not work? Because SharePoint manages its own “user accounts”, and while the Permissions of the users in the AD groups will be recognised and applied correctly for standard SharePoint features, the SPServices call for such a user will result in a “User unknown” message. The user has not been defined in the SharePoint user database, and thus there is no way to get to the user’s profile.

To solve your problem, divide your page into separate WebParts, each using the appropriate Audiences. One webpart shows the content for the special users only, and the other has what is needed for the rest but excludes the special users. Simple!

If you really need to know whether a user belongs to a non-SharePoint user group, then you’ll have to write code that consults AD rather than the SharePoint user data – depending on the configuration of your AD that may be possible through web services (or not). Probably too much work, when there are easier solutions around. Better go with the SharePoint flow!

Read Full Post »

I have just spent the best part of an hour updating a series of older posts on this blog, deleting category “Software and Development” from them and adding “Software Development” at the same time-  for the sake of consistency, right? I have seen it happen on other sites: all updated posts are included again in the RSS feed, causing a bit of scratching when you read stuff that’s a decade old (yup, that can happen on this blog). I don’t think it did, but if it happened on this WordPress site, then I apologise for the “spam”!


Read Full Post »

Fargo is an interesting piece of technology, especially for people who like outlines and blogs. Chris Dadswell wrote a complete instruction manual on setting up your own, self-hosted static Fargo blog: “How-To: Fargo Self-Hosted Publishing“.


But what I like most about his post is the footer, quoting my favourite poet Frank Zappa: “Moving to Montana soon, gonna be a dental floss tycoon”… Thumbs up, Chris!

Read Full Post »

The BMW K-series of the 1980’s and 1990’s were not exactly loved for their looks – the surname of the original K-series, “the Flying Brick”, is a clear indication of that fact. However, it is possible to turn such a brick into a beauty, as evidenced by this Estonian handiwork:

BMW K75 by Renard Speed Shop

BMW K75 by Renard Speed Shop

Read all about it on the Pipeburn website: “BMW K75 by Renard Speed Shop“. And I’m not hiding the fact thatI would love to ride this bike, if only to feel to what extent it is different from the K75 I owned for so many years.

Read Full Post »

Not yet seven years old, and already the subject of an historical overview: “The history of Android. Follow the endless iterations from Android 0.5 to Android 4.4” (on Ars Technica).


There’s “An illustrated history of the Android interface” as well. What all this mainly illustrates, is the speed of change in the software world – even Android 2.0 (late 2009) looks quite antiquated!

Read Full Post »

Have A Laugh With The CIA

Ars Technica writes: “It’s not often you’ll see the spy agency having a sense of humor.

First tweet of the CIA on June 6th, 2014.

First tweet of the CIA on June 6th, 2014.

Well, that gives us at least one opportunity in many years to laugh with what the official intelligence instances are doing…

Read Full Post »

Older Posts »