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

Archive for September, 2012

Generating a WordPress posting categories page – part 3

Posted by jpluimers on 2012/09/26

Notes:

Log, Ln, Lg, Log10, LogE, Ld

Common logarithm – Wikipedia, the free encyclopedia.

Exponential_and_logarithmic_functions ISO 31-11 – Wikipedia, the free encyclopedia.

Binary logarithm – Wikipedia, the free encyclopedia.

What is logarithm(log, lg, ln).

Common Logarithms.

Why Use a Logarithmic Scale to Display Data Math Forum – Ask Dr. Math.

STRAIGHT LINE ON ARITHMETIC GRAPH PAPER (LINEAR FUNCTION)

http://www.humboldt.edu/geology/courses/geology531/531_handouts/equations_of_graphs.pdf

Font sizes

CSS font-size property.

Five simple steps to better typography – Part 4 | Mark Boulton.

A List Apart: Articles: How to Size Text in CSS.

–jeroen

Via: Generating a WordPress posting categories page – part 2 « The Wiert Corner – irregular stream of Wiert stuff.

Posted in .NET, C#, C# 4.0, C# 5.0, Development, Software Development, Web Development, WordPress | Leave a Comment »

Please fellow programmers, name variables more properly.

Posted by jpluimers on 2012/09/25

The code I had a hard time understanding

The below code didn’t compile during a .NET 1.1 to 4 migration.

Downstream code:

Word.Document document = app.Documents.Add(ref FileName, ref missing, ref missing, ref missing);

Upstream code (6 layers up!):

string filename = Path.Combine(ConfigurationSettings.AppSettings["MSWordTemplateDirectory"], (string)status["CoverLetter"]);

And somewhere in the middle:

public bool GenerateLetter(Word.Application app, DataRow row, object FileName, object FilePathAndName)

Afterwards the code is this

Downstream code:

Word.Document document = app.Documents.Add(ref templateFileName, ref missing);

Upstream code (6 layers up!):

templateFileName = Path.Combine(ConfigurationSettings.AppSettings["MSWordTemplateDirectory"], (string)status["CoverLetter"]);

And somewhere in the middle:

public bool GenerateLetter(Word.Application app, DataRow row, object templateFileName, object documentFileName)

Coincidentally, parameters are now all lowercase.

–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 »

remanence of the PC computing past: Intel MCS-86 Assembly Language Reference Guide

Posted by jpluimers on 2012/09/24

Remanence of the PC computing past: Intel MCS-86 Assembly Language Reference Guide on bitsavers.org in http://bitsavers.org/pdf/intel/8086.

Intel MCS-86 is/was the 16-bit range of x86 processors.

I used it in BASM (not only in Delphi 1 and up, it started in Turbo Pascal 6), and before that in MASM, NASM, and TASM.

–jeroen

Posted in Assembly Language, BitSavers.org, Delphi, Delphi 1, Development, History, Software Development, x86 | Tagged: , , , , , , , , , , , , , , | 5 Comments »

How the London Underground solved the iOS 6 maps problems…

Posted by jpluimers on 2012/09/24

via: Twitter / binny_uk: Sometimes I wonder if I’m getting ….

Chuckle:

Twitter / binny_uk: Sometimes I wonder if I'm getting ...

Posted in Geeky, iOS, iPad, iPhone, iPod touch, LifeHacker, Opinions, Power User | Tagged: , , , , | 1 Comment »

How to solve stuck iPad keeping asking for Exchange password (via: My Ipod touch is stuck in the password…: Apple Support Communities)

Posted by jpluimers on 2012/09/24

The missus had a stuck iPad that kept asking for her Exchange password (which worked fine in webmail).

Turns out this is a known bug and has a simple solution: Reset your iPad.

That solution works for both iPad, iPhone and iPod touch as lllaass answered:

Re: My Ipod touch is stuck in the password screen and I can’t turn it off or cancel.  The screen that it is stuck at says :enter the password for the exchange account “exchange”

Dec 20, 2011 10:15 AM (in response to amy29)

Try resetting the iPod. Nothing will be lost.

Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at least ten seconds, until the Apple logo appears

–jeroen

via: My Ipod touch is stuck in the password…: Apple Support Communities.

Posted in iOS, iPad, iPhone, iPod touch, Power User | 1 Comment »

Frank Borland is back, but what does that mean?

Posted by jpluimers on 2012/09/23

Frank Borland is back. You can meet him at Micro Focus now – they acquired Borland a while ago – where he relates to things from the past:

Frank Borland first appeared in advertisements and on the cover of the SideKick manual in 1984. Later on, Frank appeared in the first version of the Turbo Tutor manual.

He is talking about powerful and affordable, has Facebook as well as presence on LinkedInTwitter and Google+.
But I when I look at the MicroFocus product portfolio, I don’t see any that are both affordable and powerful.

Todays software days are different than 30 years ago, but I do agree with a couple of the points he made:

  • Keep it open
  • Don’t make it big, make it better
  • Focus on the user experience
  • Listen to the community

I don’t think you necessarily need to meet these two though:

  • Meet every platform need
  • Make it affordable

As those two tend to contradict each other.

What do you think?

–jeroen

via: » Frank’s Story Meet Frank Borland.

Posted in Agile, Delphi, Development, Opinions, Software Development, Testing, Unit Testing | Tagged: , , , , , , , , , , | 21 Comments »

RDP/MSTSC: keyboard shortcuts in Microsoft Remote Desktop

Posted by jpluimers on 2012/09/21

The Ctrl+Alt+Delete keyboard shortcut equivalent for VMware View/Workstation/Player is very easy to remember: Ctrl+Alt+Insert.

While searching for the Ctrl+Alt+Delete keyboard shortcut equivalent in Remote Desktop (which is Ctrl+Alt+End), I came accross the via List of the keyboard shortcuts that are available in Windows XP.

It includes these lists:

  • General keyboard shortcuts
  • Dialog box keyboard shortcuts
  • Microsoft natural keyboard shortcuts
  • Accessibility keyboard shortcuts
  • Windows Explorer keyboard shortcuts
  • Shortcut keys for Character Map
  • Microsoft Management Console (MMC) main window keyboard shortcuts
  • MMC console window keyboard shortcuts
  • Remote desktop connection navigation
  • Microsoft Internet Explorer navigation
  • Other information

I was after the Ctrl+Alt+End shortcut from the list below which works in any Windows version I tested so far. But the other lists are very useful too.

Read the rest of this entry »

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

Zero day vulnerability in mshtml.dll used by Internet Explorer 6, 7, 8 and 9, and many other products.

Posted by jpluimers on 2012/09/20

Summary:

  • Zero day vulnerability in mshtml.dll used by Internet Explorer 6, 7, 8 and 9, and many other products.
  • Resolution: Deploy EMET or stop using IE and other products using mshtml.dll until Microsoft delivers a patch.

Earlier this week a zero-day vulnerability in the mshtml.dll was made public. This DLL is used by almost all Internet Explorer versions (6-9 are vulnerable) and many other software products (almost anything from Microsoft and a lot of 3rd party software that displays a web page on Windows).

While Microsoft is building a fix that is to be released very soon now (probably tomorrow, Friday September 21st 2010), the official resolutions are not to use the mshtml.dll at all (impractical for many people), or deploy EMET (impractical too as it requires administrative privileges).

If you can, switch to a browser that uses a different layout engine than mshtml.dll (for instance browsers based on WebKit will do).

These pages are good starting points for more information:

Particularly interesting posts:

–jeroen

Posted in Internet Explorer, Power User, Web Browsers, Windows, Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: , , , , , , , , | 8 Comments »

Web Sites with Embedded Command Lines: You got your Command Line in my Internet – Scott Hanselman

Posted by jpluimers on 2012/09/20

Scott has been posting some really good entries lately.

This is one of them: Web Sites with Embedded Command Lines: You got your Command Line in my Internet – Scott Hanselman.

Being a keyboard addict, I love that!

–jeroen

Posted in Keyboards and Keyboard Shortcuts, LifeHacker, Power User | Leave a Comment »

What Devices Are iOS 6 Compatible?

Posted by jpluimers on 2012/09/20

Summary of What Devices Are iOS 6 Compatible? for my devices:

iOS 6 will work on my 4th generation iPod Touch, but not on my first generation iPad.

Hopefully my iPhone 5 will be delivered with iOS 6 on it.

Oh and the Apple – iOS 6 Feature Availability in The Netherlands:

  • Maps: Standard
  • Maps: Satellite
  • Maps: Directions
  • Maps: Turn-by-Turn navigation
  • Maps: Traffic
  • Maps: Local Search
  • Maps: Business Reviews and Photos
  • iTunes Store: Music
  • iTunes Store: Movies
  • App Store: Apps
  • App Store: Games

Unavailable in The Netherlands:

  • Maps: 3D Buildings in Navigation
  • All of Siri
  • iTunes Store: TV Shows
  • Dictation: Dictation

Summary: Almost anything that brings Apple 30% money is available in The Netherlands plus most of maps.

–jeroen

via: What Devices Are iOS 6 Compatible?.

Posted in iOS, iPad, iPod touch, Power User | Leave a Comment »