Interactive map of Raspberry Pi showing which components is what. Hoover your mouse over the board to see the meaning of the components.
RaspMap – Raspberry Pi Component Map.
–jeroen
Posted by jpluimers on 2014/03/06
Interactive map of Raspberry Pi showing which components is what. Hoover your mouse over the board to see the meaning of the components.
RaspMap – Raspberry Pi Component Map.
–jeroen
Posted in Development, Hardware Development, Raspberry Pi | Leave a Comment »
Posted by jpluimers on 2014/03/06
If you run FastMM4 in FullDebugMode, then here are two tips that new (and sometimes existing users) often overlook:
FullDebugMode directive in the IDE, build your project.The first makes sure all units are compiled with FullDebugMode (Delphi does not always do that automagically).
The second makes sure your EXE can access the DLL that writes out your *MemoryManager_EventLog.txt file containing memory leaks and other issues FastMM4 detected.
–jeroen
Posted in Conference Topics, Conferences, Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Event, FastMM, Software Development | 2 Comments »
Posted by jpluimers on 2014/03/06
Every now and then I need to go back to an old Delphi version, which nowadays means try and get it and all the tools installed on something newer than Windows XP.
When installing on Windows Vista and up (I usually run Windows 7 or 8.1), the DelphiSpeedUp installer barfs with something like this:
---------------------------
Installdelphispeedup105
---------------------------
Cannot register DelphiSpeedUpLoader.bpl.
---------------------------
OK
---------------------------
Andreas Hausladen (@AndyHTech) came to the rescue: Read the rest of this entry »
Posted in Delphi, Delphi 2007, Delphi 7, Development, Software Development | 1 Comment »
Posted by jpluimers on 2014/03/06
In this series of PowerShell postings, the below quote by Don Jones from Concentrated Technology is a must:
Proper formatting, including a little whitespace here and there, can make your Windows PowerShell commands a heck of a lot easier to understand.
But please don’t limit this to PowerShell code.
I see too many code at clients, even at conferences and magazine articles that are badly formatted.
Even more important: when you ask or provide for help on a forum or community site: please properly format your code examples. That makes it much easier for your audience (often yourself) to grasp the meaning.
For PowerShell: note that most syntactic elements provide for a very natural line continuation (so you can write really readable code), except for CmdLets, so often you will see { at the end of a line to make the most readable code.
–jeroen
via: Windows PowerShell: Whitespace, Please | TechNet Magazine.
Posted in .NET, Delphi, Development, PowerShell, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2014/03/05
Thanks John Kaster for pointing me to Wat — Destroy All Software Talks | VK by garybernhardt (Gary Bernhardt) / @garybernhardt.
I did a bit more browsing, and found these links too: recommended watching/reading!
–jeroen
Posted in Development, JavaScript/ECMAScript, Ruby, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2014/03/05
A new *n*x bug got discovered in TLS certificate handling that is similar to the recently discovered iOS and OS X “goto fail” security issue.
This time the fix is performing a few replacements linke this:
-goto cleanup;
+goto fail;
Plus one addition:
+fail: // ADDED
+ result = 0;
Applications depending on GnuTLS are affected (there are other libraries providing TLS like OpenSSL), which are many.
Two must-do things:
I’m with Jan Wildeboer here and updates should get in very soon: Read the rest of this entry »
Posted in Communications Development, Development, Internet protocol suite, Power User, Security, TCP, TLS | Tagged: GnuTLS, goto cleanup, TLS | Leave a Comment »
Posted by jpluimers on 2014/03/05
Thanks Michael Panzer – Google+! I agree it should be available out of the box.
Brilliant way to view JSON and test for validity.
JSONView
Validate and view JSON documents
JSONView port for Chrome.
Original firefox extension is here: http://benhollis.net/software/jsonview/ Read the rest of this entry »
Posted in Communications Development, Development, Internet protocol suite, JavaScript/ECMAScript, JSON, REST, Scripting, Software Development, TCP | Tagged: JSON, Michael Panzer | Leave a Comment »
Posted by jpluimers on 2014/03/05
A while ago I found a blog post explaining how to shortcut testing NULL values with PowerShell.
Do not do that!
I agree with the quote on the blog:
One thing you may not forget is that Powershell is a lot more friendly for NULL values than C#, so don’t forget to check your objects for NULL values. In Powershell this is very clean and easy to do.
But it is also easy to get wrong:
To see if a variable is null, simply check:
If (!$Variable) {some action}Conversely, to verify if the variable has any value:
If ($Variable) {some action}
Just a few examples. Now quess the outcome for all of them.
$a=$null; if ($a) {"'$a' has VALUE"} else {"'$a' is NULL"}
$a=$false; if ($a) {"'$a' has VALUE"} else {"'$a' is NULL"}
$a=0; if ($a) {"'$a' has VALUE"} else {"'$a' is NULL"}
$a=''; if ($a) {"'$a' has VALUE"} else {"'$a' is NULL"}
$a=""; if ($a) {"'$a' has VALUE"} else {"'$a' is NULL"}
$a=1; if ($a) {"'$a' has VALUE"} else {"'$a' is NULL"}
Now take an educated guess on the outcome. Read the rest of this entry »
Posted in .NET, CommandLine, Development, PowerShell, Software Development | Leave a Comment »
Posted by jpluimers on 2014/03/04
You can check out which PowerShell you have by executing the $Host.Version or $PSVersionTable.PSVersion on a line. You can even switch versions by applying the PowerShell -version switch on the command-line and they will both change.
One of the great features of the new PowerShell 3.0 features (besides New and Improved PowerShell 3.0 Cmdlets) is a simplified Where Filter Syntax.
So: this is how I get the PowerShell version information the easy way from a command prompt:
PowerShell $PSVersionTable.PSVersion
–jeroen
via:
Posted in .NET, CommandLine, Development, PowerShell, Software Development | Leave a Comment »
Posted by jpluimers on 2014/03/03
Just in case I need this ever again: How to setup and use a SQL Server alias.
Posted in Database Development, Development, SQL, SQL Server, SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012 | Leave a Comment »