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 2015

How to Prevent a specific Blogger Blog from Redirecting to Country Domains

Posted by jpluimers on 2015/02/09

The article How to Prevent your Blogger Blog from Redirecting to Country Domains describes to prevent the country redirect from within a blog itself.

But what about outside readers that want to see a specific blog on the .com link?

One of the reasons they want to do this is that Google does not index the country redirected sites, they only index the com site.

I had this while reading http://delphisorcery.blogspot.com/. It kept redirecting to http://delphisorcery.blogspot.nl/ (as I’m based in Amsterdam; in Germany for instance it would redirect to http://delphisorcery.blogspot.de/).

But a site:delphisorcery.blogspot.nl search would return nothing whereas site:delphisorcery.blogspot.com would return the full index for the blog.

The trick is to browse the .com version of the blog with NCR once: http://delphisorcery.blogspot.com/ncr

If you do that, Google forces a no-country redirect (just like you can do with Google.com: browse to http://www.google.com/ncr), and it remembers that choice too.

Note that BlogSpot has not done this country redirect for ever.

–jeroen

Posted in Blogging, Power User, SocialMedia | Leave a Comment »

[NL] Aanpassing voorwaarden ING Zakelijk: als je een euro schuld hebt, runnen wij je bedrijf. @ingnl

Posted by jpluimers on 2015/02/08

Fijne nieuwe voorwaarden voor mocht je ooit een schuld (al is het maar een euro) krijgen of beëindigen of niet, dan runnen zij je bedrijf. Uit hun pop-up bij telebankieren (die vrijwel iedereen in 1 keer wegklikt doel van de administratieve afdeling is telebankieren te doen, niet voor directie te spelen):

Lees de Algemene Bepalingen van Kredietverlening (pdf) zoals die per 1 maart 2015 van kracht zijn.

Wij passen deze algemene bepalingen aan in verband met invoer van een nieuw kredietproduct ‘ING Rekening Courant Krediet’ en vanwege nieuwe inzichten. Wij hebben de wijzigingen voor u op een rij gezet.

 

Afspraken in uw kredietovereenkomst die afwijken van de algemene bepalingen blijven uiteraard van kracht.

 

Artikel 7.2 Dit artikel is uitgebreid. Voor het aangaan van financiële schulden buiten ING heeft u onze toestemming nodig. Dat geldt niet als deze voortvloeien uit de normale bedrijfsactiviteiten.
Artikel 11.1.i Dit artikel is toegevoegd. Als u een bedrijf overneemt of u neemt een aandeel daarin, dan heeft u toestemming nodig van ING.
Artikel 14 Dit artikel is toegevoegd. ING krijgt daarmee de bevoegdheid om aan het gerechtshof in Amsterdam goedkeuring te vragen om een onderzoek in te stellen naar onder meer het beleid en de gang van zaken bij uw onderneming.
Artikel 19.2 Dit artikel is toegevoegd in verband het nieuwe ING Rekening Courant Krediet en beschrijft de beperkingen van ING bij beëindiging van dit krediet.
Artikel 33.1 Dit artikel is toegevoegd in verband met het nieuwe ING Rekening Courant Krediet. Ongeacht de beperkingen van ING bij de beëindiging van dit krediet blijft het Fiatstelsel en Rentestelsel dagelijks opzegbaar.
Artikel 33.4 Dit artikel is toegevoegd. Hierin wordt beschreven wat er moet gebeuren als het Fiatstelsel wordt opgezegd en de kredietlimiet gedeeltelijk of geheel gehandhaafd blijft.

In italiek is waarop ik de samenvatting baseer.

Het verbaast mij niets als de rest van de banken volgt of ook al stappen in deze richting gezet heeft.

Misschien tijd om eens te kijken of het zonder banken kan? Je krijgt toch al geen rente van ze, en als ze dan ook je bedrijf willen runnen…

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

13 Ways to Clear Your Browser’s Cache – wikiHow

Posted by jpluimers on 2015/02/06

Besides the cache empty instructions, these keyboard shortcut to get to the settings in various browsers are also really helpful:

  • Control+Shift+Delete on a PC, or
  • Shift+Command+Delete on a Mac.

–jeroen

via: 13 Ways to Clear Your Browser’s Cache – wikiHow.

Posted in Chrome, Chrome, Firefox, Google, Internet Explorer, Opera, Power User, Safari, Web Browsers | Leave a Comment »

Interesting game to teach kids to program: Eduka+ | YAPB.

Posted by jpluimers on 2015/02/05

On my research list, by the maker of DeHLEduka+ | YAPB.

Would be cool to make a mobile version of that some day.

–jeroen

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

On my research list: NCrunch for Visual Studio

Posted by jpluimers on 2015/02/04

Thanks Stefan Glienke for pointing me to NCrunch for Visual Studio:

NCrunch is an automated concurrent testing tool for Visual Studio.

It intelligently runs automated tests so that you don’t have to, and gives you a huge amount of useful information about your tested code, such as code coverage and performance metrics, inline in your IDE while you type.

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »

Inversion of Control explained in a few sencences

Posted by jpluimers on 2015/02/04

One of the difficult things with design principles like Inversion of Control, is that virtual all descriptions are lengthy and therefore difficult to grasp.

I’ve been using interfaces to decouple software for a long time, but it also took me a while to get IoC, especially the Inversion part.

The first time I got the Inversion principle was when reading the answer  by Derek Greer to What is the Dependency Inversion Principle and why is it important? and especially the summary in the comment by Patrick McElhaney:

The difference between MyService → [ILogger ⇐ Logger] and [MyService → IMyServiceLogger] ⇐ Logger is subtle but important.

A similar explanation can be found in the somewhat longer, but very well written articles Dependency Injection Is NOT The Same As The Dependency Inversion Principle and A curry of Dependency Inversion Principle (DIP), Inversion of Control (IoC), Dependency Injection (DI) and IoC Container.

The whole point of the “Inversion” part is twofold:

  1. you declare the interface (ILogger) between a service user (MyService) and a provider (Logger) close to the user.
  2. you do this so that MyService does not need to change when you switch to a different provider: a new Logger provider needs to implement the ILogger interface too, even if it is from a completely different source or vendor.

Keeping that interface stable has the consequence that there will be more work on the provider side, for instance by using the adapter pattern to map the provider to the interface.

Knowing this, it was far easier to understand these articles that are often regarded as the fundamental ones, most from Martin Fowler’s site:

–jeroen

Posted in Dependency Injection, Design Patterns, Development, Inversion of Control / IoC, Software Development | 1 Comment »

djm’s personal weblog: Key rotation in OpenSSH 6.8+

Posted by jpluimers on 2015/02/03

Really interesting. Need to implement this when it gets public. djm’s personal weblog: Key rotation in OpenSSH 6.8+.

Watching https://github.com/openssh/openssh-portable

Posted in Power User, Security | Leave a Comment »

On my research list: Pharo – Welcome to Pharo!

Posted by jpluimers on 2015/02/03

Thanks Warren Postma for pointing me at this:

The immersive programming experience

Pharo is a pure object-oriented programming language and a powerful environment, focused on simplicity and immediate feedback (think IDE and OS rolled into one).

And http://jmvdveer.home.xs4all.nl/: Check out Algol68G.

–jeroen

via: Pharo – Welcome to Pharo!.

Posted in Development, Software Development | Leave a Comment »

via Delphi sorcery: Unattended Delphi installation – how?

Posted by jpluimers on 2015/02/03

Cool: this makes it way easier to do repeated Delphi installs for testing purposes:

Setup.exe /s LANGUAGE=English EN=TRUE DE=TRUE KEY1=XXXX KEY2=XXXXXX KEY3=XXXXXX KEY4=XXXX

There are many more parameters in Delphi sorcery: Unattended Delphi installation – how?, but the above is already a good start.

Thanks Stefan Glienke for having shared this!

–jeroen

via: Delphi sorcery: Unattended Delphi installation – how?.

Posted in Delphi, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | 2 Comments »

Why I like #Gists

Posted by jpluimers on 2015/02/02

For me there are two cool things about gist: it can have multiple files per entry, and it is version controlled.

–jeroen

via: Help! I need input! :) How can I make a TForm “interface-able”? :) It’ll only….

Posted in SocialMedia | Leave a Comment »