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

Archive for 2013

Some Buffalo – WLAE-AG300N links

Posted by jpluimers on 2013/07/21

Some Buffalo WLAE-AG300N links:

–jeroen

via: Buffalo – Downloads – Performance Matters.

Posted in Power User, WiFi | Leave a Comment »

Logitech Logimouse C7 and Mouse programmers toolkit PDFs at Bitsavers

Posted by jpluimers on 2013/07/20

Bitsavers published 2 new Logitech PDFs:

Who didn’t have a Logitech mouse back then?

I had the C7, various MouseMans, and a few more modern mice. Why not all mice? I developed RSI in the DOS era, ending up with TrackPoints and more recently Apple touchpads)

I remember the Logimouse C7, not because it was from Logitech, but because it was available from so may OEMs. Long before Logitech built OEM mice for Apple, they were founded in Apples, Swizerland.

The cool thing: the Programmers Toolkit had examples in Modula-2. I used that as a base to write quite some Turbo Pascal code for mouse handing.

Oh: Bitsavers does have a Logitech Modula-2 PDF online too for quite some time. I mentioned that in More Old Micro Cornucopia issues on BitSavers from 1987 and 1988.

–jeroen

via: Bitsavers’ Index of /pdf/logitech.

Posted in BitSavers.org, Development, History, Pascal, Power User, RSI, Software Development, Turbo Pascal | Tagged: , , , | Leave a Comment »

How to Crack a Wi-Fi Network’s WPA Password with Reaver

Posted by jpluimers on 2013/07/19

Wow, I thought WPS always required a button press on a device.

It appears it doesn’t  on many device, and cracking therefore is way to easy: How to Crack a Wi-Fi Network’s WPA Password with Reaver.

–jeroen

Posted in Power User, WiFi | Leave a Comment »

Research list: Offline Blog editors that support WordPress.com

Posted by jpluimers on 2013/07/19

Some links for my research list on offline blog editors that support WordPress.com blogs:

–jeroen

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

Delphi virtual constructors: example of the “Factory” design pattern (via: Stack Overflow)

Posted by jpluimers on 2013/07/18

I bumped into the below answer that I gave a while (what is 4 years in a developer’s life ) on StackOverflow.

It is about Delphi Design Patterns. Sepcifically the Factory Pattern, and explains how virtual constructors implement it.

They are one of the 3 corner stones on which the component based Delphi form designer and object inspector are built:

  • Virtual constructors
  • Properties (events are just a special form of property)
  • Run-Time Type Information.

So here it goes: 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 8, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Software Development | 6 Comments »

C#: combining “adding `char` and `int` and “`a += b` means `a = a + b`, but `a += b + c` does not mean `a = a + b + c`”.

Posted by jpluimers on 2013/07/18

A while ago, I wrote about .NET/C# duh moment of the day: “A char can be implicitly converted to ushort, int, uint, long, ulong, float, double, or decimal (not the other way around; implicit != implicit)”.

There is another duh moment having to do with the various C# operators like += which is being described as being

a += b

is equivalent to

a = a + b

You might think that this also holds:

a += b + c

is equivalent to

a = (a + b) + c

But Eric Lippert has explained this is not the case: it is equivalent to:

a = a + (b + c)

In his explanation, he also shows the confusion can get you very surprising results if you mix string, chars and ints in the expression: depending on the statement and ordering, you either concatenate characters, or add ints to characters.

He also recommends you should not do concatenation: either use String.Format, or StringBuilder. I totally agree with that.

Recommended reading!

–jeroen

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 »

2 More Old Micro Cornucopia issues on BitSavers from 1986

Posted by jpluimers on 2013/07/17

2 more issues got on-line both close to a 100 pages each:

So the only issues missing are #28, #30 and #31.

–jeroen

via: More Old Micro Cornucopia issues on BitSavers from 1987 and 1988 « The Wiert Corner – irregular stream of stuff.

Posted in Assembly Language, BitSavers.org, C, C++, Development, History, Pascal, Software Development, Turbo Pascal, Turbo Prolog, x86 | Tagged: , | 1 Comment »

Lots of projects did not get it yet, but for connecting to SQL Server: RIP OLE DB

Posted by jpluimers on 2013/07/17

I still see a truckload of projects that connect to SQL Server do this using OLE DB or the Native SQL Client.

All OLE DB access to SQL Server has been deprecated, not only from regular access, but also from SSIS.

These are the only ways you should connect to SQL Server:

  • SqlClient (managed code)
  • JDBC (Java)
  • ODBC (for native code)

For instance, these have been deprecated (for each one, I linked to the oldest SQL Server version where they were made available for):

  1. SQLOLEDB
  2. SQLNCLI
  3. SQLNCLI10
  4. SQLNCLI11
  5. SQLXMLOLEDB.3.0
  6. SQLXMLOLEDB.4.0

–jeroen

via: RIP OLE DB.

Posted in Database Development, Development, SQL Server | Leave a Comment »

Igor Ostrovsky: C# – The C# Memory Model in Theory and Practice;

Posted by jpluimers on 2013/07/16

Just found out that Igor Ostrovsky wrote two really nice articles on .NET memory management as part of his great series of other .NET articles there:

  1. C# – The C# Memory Model in Theory and Practice.
  2. C# – The C# Memory Model in Theory and Practice, Part 2.

–jeroen

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, Development, Software Development | Leave a Comment »

PowerPoint high cpu usage

Posted by jpluimers on 2013/07/15

Every once in a while, a hidden POWERPNT.EXE consumes 100% of one CPU core (on a single core, that is deadly, on a multi-core system it drains your battery pretty fast).

This was the cause:

One reason is you have preview pane enabled and have selected a PowerPoint File. To preview it an invisible copy of PowerPoint is opened and may not close when you deselect. This doesn’t normally use much cpu though.

–jeroen

via PowerPoint high cpu usage.

Posted in Office, Power Point, Power User, Windows | Leave a Comment »