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 2013

Delphi: Thomas Mueller is fast – experimental GExperts + code formatter for Delphi XE4 « twm’s blog

Posted by jpluimers on 2013/04/28

Thomas Mueller is fast: experimental GExperts + code formatter for Delphi XE4 « twm’s blog.

–jeroen

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

Stack Overflow: Congrats, you’ve gained the privilege – protect questions learn more

Posted by jpluimers on 2013/04/27

Every once in a while, you achieve a new privilege on Stack Overflow.

I’m not a score hunter, but I am interested in what Stack Overflow presents at what level.

The 15000 mark on StackOverflow got me this prrivilege:

Congrats, you’ve gained the privilege – protect questions learn more

It is about protecting questions from gaining lots of noise.

I need to be more often on Stack Overflow to execute it, but it is good to know that I can do it when needed.

Note that depending on the site (StackOverflow, Stack Exchange, meta, etc) the marks differ.

–jeroen

via: Stack Overflow.

Posted in Uncategorized | Leave a Comment »

Great optical illusion: Pink Floyd prism with Pulse background

Posted by jpluimers on 2013/04/27

graphics – How can this image be created with Mathematica? – Mathematica Stack Exchange.

Posted in LifeHacker, Opinions, Power User | Leave a Comment »

Chrome Web Store – BitTorrent Surf (Beta)

Posted by jpluimers on 2013/04/27

Interesting: Chrome Web Store – BitTorrent Surf (Beta).

Posted in Chrome, Google, Power User | Leave a Comment »

Windows 8 and Windows 7 keyboard shortcuts (via: Brian Long, a blong, blong, blong road…)

Posted by jpluimers on 2013/04/26

Found a while ago that Brian Long wrote a few nice pages and posts on Windows keyboard shortcuts:

Thanks Brian

–jeroen

Posted in Keyboards and Keyboard Shortcuts, Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: , , , , , | Leave a Comment »

Way too much “friendly comment” SPAM lately. “Spam, lovely Spam, wonderful Spam.”

Posted by jpluimers on 2013/04/25

Since about 2 months, I get truckloads of friendly comments indicating my blog is so wonderful that gets through Aksimet.

I’m not alone: one spammer posted his full spam script on Scott Hanselmans blog, and of course, Scott blogged about it: Exposed A Blog Comment Spammers Source Template

Not so cool.

Cool:

–jeroen

Posted in About, LifeHacker, Opinions, Personal, Power User, SocialMedia, WordPress | Leave a Comment »

What do you mean “cannot use parentheses?” – Fabulous Adventures In Coding – Site Home – MSDN Blogs

Posted by jpluimers on 2013/04/25

Eric Lippert:

Ah, VBScript. It just wouldn’t be the same without these quirky gotchas.

So either perform Call, assign the function result, or use less parenthesis.

Another thing that drives me crazy with VBScript is that you can only specify ByVal or ByRef, but not specify what type a parameter (string, integer, etc) will be.

VBScript will just barf with “Microsoft VBScript compilation error: Expected ‘)’” at the first As. or colon (:) when you declare Sub or Function parameters like this:

  • Function Describe(ByVal FileName As String, ByVal Description As String)
  • Function Describe(ByVal FileName : String, ByVal Description : String)

The reason is that the colon is end-of-statement token, which means you can string statements together, an can Dim and assign a variable in one line:

  • Dim PathName : PathName = FileName

To quote ebgreen:

VB is NOT VB.Net which is NOT VBA which is NOT VBScript

Oh and Debugging VBScript is indispensable (:

–jeroen

via: What do you mean “cannot use parentheses?” – Fabulous Adventures In Coding – Site Home – MSDN Blogs.

Posted in Development, Scripting, Software Development, VBScript | Leave a Comment »

Delphi static class methods are assignment compatible with plain old function pointers

Posted by jpluimers on 2013/04/24

So I won’t forget, as the  [WayBackstatic in different languages varies in meaning:

[WayBack] Static on class methods makes them assignment compatible with plain old function pointers.

Thanks Moritz Beutel for initially posting this.

–jeroen

via:

related:

  • [Archive.isFacebook – Delphi developer: static class methods
  • [WayBack] Delphi 2007: Methods; Class Methods:

    Like class methods, class static methods can be accessed without an object reference. Unlike ordinary class methods, class static methods have no Self parameter at all. They also cannot access any instance members. (They still have access to class fields, class properties, and class methods.) Also unlike class methods, class static methods cannot be declared virtual.

    Methods are made class static by appending the word static to their declaration.

Posted in Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Development, Software Development | 5 Comments »

CodePage 0 is CP_ACP, the default Ansi CodePage on a system, you can change it without reinstalling Windows

Posted by jpluimers on 2013/04/23

You might think the below question on CodePage zero is Delphi related, but most of it is not.

It is about CP_ACP (the currently Active CodePage, and has some interesting observations:

CP_ACP is the major reason people have difficulties exchanging the data in text files between applications on different computers.

Oh and you can get the actual value of the active Active CodePage using GetACP, but CP_ACP isn’t always slower..

–jeroen

via: delphi – What is Codepage 0? – Stack Overflow.

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

ULR modification to have WordPress suggest some posting tags: “&postpost=v2”

Posted by jpluimers on 2013/04/22

When you directly post a blog entry without scheduling, then WordPress.com adds this to your URL: &message=6&postpost=v2

It alters the left pane indicating how many posts you have done so far, but more importantly: suggests some tags based on the content of your post.

You can add this pane yourself by adding &postpost=v2 to your post editing URL.

So if your URL is something like this:

and you make it like this:

then you can add the suggested tags with ease.

I find that much easier than to use the “Choose from the most used tags” feature.

–jeroen

 

Posted in Power User, SocialMedia, WordPress | Tagged: , , , , , | Leave a Comment »