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

UCSD Pascal – memories from the past….

Posted by jpluimers on 2013/07/10

Just found out that the kind people at BitSavers added some scanned USCD Pascal documentation in PDF format:

It reminds me of my early Pascal days on Apple ][. UCSD Pascal was so slow that I was glad to discover Turbo Pascal 1.0, which lacked some of the UCSD Pascal features (for instance cross platform – including Mac, almost 30 years ago! – and Turtle graphics), but was blazingly fast.

Trade offs indeed (:

–jeroen

Posted in BitSavers.org, Delphi, Development, History, Pascal, Software Development, Turbo Pascal, UCSD Pascal | 10 Comments »

2D transformations as answer to “delphi – Change orientation of a shape” – Stack Overflow

Posted by jpluimers on 2013/07/09

Sometimes a generic answer to a specific answer gives people a lot more insight into what they actually want to accomplish than a specific answer.

Plus that the knowledge does not only apply to VCL in any Delphi version: it works in any development environment where you can draw.

That’s why I like this 2D transformation answer so much: Read the rest of this entry »

Posted in Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Software Development | Leave a Comment »

Android Play download race condition?

Posted by jpluimers on 2013/07/09

I submitted the report below to Google. What do you think, race condition?

I think this is a race condition somewhere.

Steps to reproduce:
1- Play notifies you there are multiple Apps (preferably many) that need manually updating
2- Manually select the first app and start the download for it
3- While the app is downloading, and there are more apps to update, perform step 2 for the remaining apps
4- Every some apps, there will be an app in the list that stalls before the percentage counter becomes visible (usually it displays “Downloading” forever)

This problem does not reproduce if:
A- there is only one app to download
B- if (while other apps are downloading) you do not select a fresh app to update

It does not matter if this is over WiFi, or mobile data connection. Soft/Hard rebooting the device does not help either, nor the version of the Play app (it has been this case for at least a couple of months, I only found time now to investigate the full matrix of reproducible steps, and factors influencing reproducability).

Time consuming workaround: cancel the stuck download, and retry, then continue with the list of other apps.

–jeroen

Posted in Android, Android Devices, Development, Mobile Development, Power User | Leave a Comment »

“Fragile Base Class problem” C# posts by Eric Lippert

Posted by jpluimers on 2013/07/04

I’m not the only a big fan of  almost anything that Eric Lippert writes on tech subjects on both his new personal Fabulous Adventures In Coding blog as well as his old microsoft Fabulous Adventures In Coding blog (a little more than half a year ago, he moved from Microsoft to Coverity.

On his old blog, he had a great series of posts on the “Fragile Base Class problem” (which he calls the Brittle Base Class problem) from a C# perspective.

Be sure to also read the comment threads, as they provide some very valuable information too (for instance, about Extension Methods that can make your code more fragile).

Recommended reading!

–jeroen

via: Browse by Tags – Fabulous Adventures In Coding – Site Home – MSDN Blogs.

Posted in .NET, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development | Leave a Comment »

Ye Olde Automated 16TB Windows Azure Virtual Machine demo – Team Individualism – Site Home – MSDN Blogs

Posted by jpluimers on 2013/07/02

For my link archive: PowerShell Scripts to create VMs with large disks.

Ye Olde Automated 16TB Windows Azure Virtual Machine demo – Team Individualism – Site Home – MSDN Blogs.

–jeroen

Posted in Cloud Development, CommandLine, Development, Power User, PowerShell, Software Development, Windows Azure | Leave a Comment »

This summer, 40 years ago “The Pascal Programming Language (Revised Edition)” was published

Posted by jpluimers on 2013/07/01

Niklaus Wirth developed the Pascal Programming Language in the early 1970s.

This summer, 40 years ago, he published an important report in that era: “The Programming Language Pascal (Revised Report) July 1973“.

The report describes the language after it had been use in a while and includes a few language changes (packed records and arrays, file handling behaviour, and a few others) introducing a period of language stability.

If you are part of the Swiss research community, you can download the original PDF at

http://e-collection.library.ethz.ch/eserv/eth:3059/eth-3059-01.pdf?pid=eth:3059&dsID=eth-3059-01.pdf

If you are not, then Switch.ch will block access.

However, there are at least 2 ways to view the report:

An earlier (November 1972) draft of the report is also available.

–jeroen

Posted in Development, Pascal, Software Development, Standard Pascal | Leave a Comment »

A constant source of confusion: Simplicity

Posted by jpluimers on 2013/06/27

Once every while you come across a post that is so good, you add another feed to your RSS list. This time I added Su-Shee’s posts,

Quote from: A constant source of confusion: Simplicity.

what is it really about all this simplicity stuff

It is a post about IT development. Teams. Platforms. Tools. Frameworks. Etc.

Striking a balance to keep things simple enough to be manageable is always key and her examples are just great!

–jeroen

via: A constant source of confusion: Simplicity.

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

PowerShell: fixing script signing errors even after you had “Set-ExecutionPolicy RemoteSigned”

Posted by jpluimers on 2013/06/27

Once every while PowerShelll users get an error like this:

PS C:\bin> . .\DownloadedScript.ps1
. : File C:\bin\DownloadedScript.ps1 cannot be loaded.
The file C:\bin\DownloadedScript.ps1 is not digitally signed.
The script will not execute on the system. For more information, see about_Execution_Policies at
http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3
+ . .\DownloadedScript.ps1
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
PS C:\bin>

I recently had it too, but was surprised this happened as I took the steps in my previous blog posts on this topic: Read the rest of this entry »

Posted in CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development | Leave a Comment »

.NET/log4net configuration: LevelMatchFilter with DenyAllFilter to discard several log levels within a range

Posted by jpluimers on 2013/06/27

log4net configuration can be a tad intimidating at first.

When you do not want to log all levels, and the levels you want to log are not noncontinuous, then you can combine the LevelMatchFilter with a DenyAllFilter.

The filter classes in the log4net do not provide much help on this, but the filters section in the log4net manual is better.

This StackOverflow question has a very nice answer explaining it: Discarding several log levels within a range with log4net.

–jeroen

via: Discarding several log levels within a range with log4net – Stack Overflow.

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, Development, Software Development | Leave a Comment »

Embedded Interop Assemblies (via: CLR and DLR and BCL, oh my! – Whirlwind Tour around .NET 4) – Scott Hanselman

Posted by jpluimers on 2013/06/26

Need to put some research in this, as I have the idea that under some circumstances embedding Office interop assemblies not always works.

–jeroen

via: CLR and DLR and BCL, oh my! – Whirlwind Tour around .NET 4 (and Visual Studio 2010) Beta 1 – Scott Hanselman.

Posted in .NET, .NET 4.0, .NET 4.5, Development, Office PIA, Software Development | Leave a Comment »