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,839 other subscribers

Archive for the ‘Development’ Category

Kylix T-Shirts…

Posted by jpluimers on 2015/02/10

Russel Weetch last week posted a few pictures of Kylix related T-Shirts (wow, I had forgotten that Kylix was released back in 2000!) about Living la vida Linux.

To which I commented:

Kylix was great. But too late and aimed at a Linux desktop market that never took off. Who’d imagine then that a semi-open system based on Linux and JVM would power most of the mobile world and a closed system based on BSD would generate a huge part of the paying app world?

–jeroen

via Sorting out my T-shirt shelves and there, amongst my old surfing ones, I found….

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

Interface unit for sending debug messages to SysInternals ProcessMonitor « bl.OGware

Posted by jpluimers on 2015/02/10

Interesting, I never knew that [WayBackProcess Monitor has had an API to send messages to, but it has had this ability for almost 5 years: [Archive.isSee the I/O You Caused by Getting Your Diagnostic Tracing into Process Monitor | Wintellect.

I did know about [WayBackOutputDebugString and the DBWIN protocols, but this was new.

The ZIP file for Process Monitor is offline (but you can find it by searching for ProcMonDebugOutput.zip), and contains .h files and a .NET example.

Thanks [WayBackOliver Giesen for the [WayBackDelphi translation!

–jeroen

via: [WayBackInterface unit for sending debug messages to SysInternals ProcessMonitor « bl.OGware.

Read the rest of this entry »

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, Delphi, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | Leave a Comment »

I asked +Simon Stuart​ “can you make your Raspberry Pi 2 devices crash by flash light?” he did: it fails!

Posted by jpluimers on 2015/02/09

Too bad: it is indeed possible to restart a Raspberry Pi 2 by using a high power flash.

It appears that U16, the SMPS chip, is the culprit.

Yes, bit of bluetac on that chip and it survives the flash

Source: Raspberry Pi • View topic – Why is the PI2 camera-shy ?

Simon Stuart checked it:

it’s true!

Put the high-power flash (which I believe uses a Xenon bulb) on my camera, and behold a shot to the top of the board does indeed crash it every time!

Never in a million years would I have thought such a thing were possible!

At first Simon could not reproduce it: you really need a high power flash.

I’m glad I didn’t order any Raspberry Pi 2 yet.

–jeroen

via: +Simon Stuart can you make your Raspberry Pi 2 devices crash by flash light?….

Posted in Development, Hardware Development, Raspberry Pi | Leave a Comment »

Lazarus 1.5 (direct from SVN Trunk) running on the Raspberry Pi 2 – via Simon Stuart G+

Posted by jpluimers on 2015/02/09

Simon Stuart posted about Lazarus 1.5 (direct from SVN Trunk) running on the Raspberry Pi 2….

Interesting…

For more background info, start with these posts by Simon:

–jeroen

Posted in Development, FreePascal, Lazarus, Pascal, Software Development | Leave a Comment »

Hopefully Embarcadero will publish official guidelines to make the IDE High DPI aware…

Posted by jpluimers on 2015/02/09

With the common-place of High DPI it is surprising the IDE hasn’t gotten more love in this respect.

The VCL can do it (Dalija Prasnikar knows an awful lot about Delphi High DPI), but the IDE can’t yet (it is *****^H^H^H^H^H very irritating that you need to login to see quality portal reports though apart from Google not being able to index them: the main reason I don’t file bug reports any more – QC is no alternative as it it is more or less defunct – but I digress).

With Delphi turning 20 years old this week, hopefully Embarcadero comes out with official steps to make recent versions of Delphi XE* High DPI aware.

Right now there is only some hearsay it might work: Does anyone have idea about how to make Delphi IDE (XE7) support High DPI…

–jeroen

PS:

High DPI awareness is must have feature for XE8.

Not only for Delphi IDE, but also for VCL and FMX frameworks.

via Dalija Prasnikar – Google+.

Posted in Delphi, Delphi XE6, Delphi XE7, Development, QC, Software Development | 3 Comments »

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 »

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 »