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

Archive for November, 2014

Things you annoyingly just don’t seem to be able to get.. USB 5.25″ floppies…

Posted by jpluimers on 2014/11/28

A while ago, Alan Cox started a nice thread about finding an USB way to read old (like 5.25 inch and 3 inch) floppies.

That resulted in a nice comment thread revealing this info:

Now hopefully some people also post some links to USB PCMCIA memory card readers (:

–jeroen

Posted in History, Power User | 1 Comment »

Taking Screenshot on multiple platforms (via Wikipedia, the free encyclopedia)

Posted by jpluimers on 2014/11/28

Cool, I just found out that Wikipedia has a Screenshot topic, listing how to take screenshots (and often shots of the current window) on many platforms, where (*) means I verified them:

  • Apple Mac OS X
    (*) Use “⌘ Cmd+⇧ Shift+3” for the screen or “⌘ Cmd+⇧ Shift+4” for a part of the screen (as of Mac OS X Tiger, you can press the “Spacebar” to capture a Window in stead of part of the screen). You can press “Ctrl” with these shortcuts to the shot goes to the clipboard, otherwise it gets saved as a PNG file.
  • Microsoft Windows
    (*) Use “Prt Sc” for the screen or “Alt+Prt Sc” for the Window
    (note that on my laptop and multi-media keyboards, you need to type the “Fn” key in order to press the “Prt Sc”)
  • Microsoft Windows Phone
    Press the “Sleep/Wake” button and the Startbutton at the same time.
  • Apple iOS
    (*) Press the “Home” and “Lock” button at the same time.
  • Google Android
    Hold the “Volume down” button, then press the “Sleep/Wake” button.
    (*) Or press the “Sleep/Wake” and the “Home” button at the same time.
  • HP WebOS
    Press the “Orange/Gray Key+Sym+P” at the same time.
    Or press “Home Key+Power” at the same time.
  • X Window System
    Varies with the installed tooling
  • Maemo 5
    Press “Ctrl+⇧ Shift+P” at the same time.
  • Google Chrome OS
    Press “Ctrl+F5” to capture the screen or press “Ctrl+⇧ Shift+F5” to capture a portion of the screen.

–jeroen

via: Screenshot – Wikipedia, the free encyclopedia.

Posted in Android Devices, Apple, Chrome, Google, HTC, HTC Sensation, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Nexus 4, OS X 10.8 Mountain Lion, Power User, Uncategorized, 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 »

Short video: What’s New In C# 6.0 | Connect; Microsoft Visual Studio vNext & Azure | Channel 9

Posted by jpluimers on 2014/11/27

7 minutes of very interesting video: clear explanation of What’s New In C# 6.0 | Connect; Microsoft Visual Studio vNext & Azure | Channel 9.

jeroen

Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 6 (Roslyn), Development, Software Development | 1 Comment »

Reminder: rebuild my Nullable Types based on Class Operators in Delphi

Posted by jpluimers on 2014/11/27

Class Operators in Delphi have been introduced in the ARM compiler in Delphi XE4 for iOS support.

By now it has been in the ARM compiler for Android too, and hopefully it will (soon) be in the x86 compiler as well.

So it is time to look at my Nullable types again, and see if I can port them over to classes.

Some references so I won’t forget them: Read the rest of this entry »

Posted in Delphi, Delphi XE4, Delphi XE5, Development, Software Development | 4 Comments »

Default comparers in Delphi used by TArray.Sort (via: Stack Overflow)

Posted by jpluimers on 2014/11/26

A long while ago, I posted a detailed answer on what functions the default comparers actually were calling to get a feel for if they would apply or not answering delphi – What does the default TArray.Sort comparator actually do and when would you use it? – Stack Overflow.

I needed that information recently because of some sorting issues I bumped into (sorting generic records), so finally a blog post.

First some links to documentation for even more background information:

There is the answer I gave: Read the rest of this entry »

Posted in Algorithms, Ansi, Delphi, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Encoding, Floating point handling, Software Development, Unicode | 2 Comments »

Signing your Delphi executables with a digital certificate.

Posted by jpluimers on 2014/11/25

Using Delphi build-events (see my post Delphi prebuild/prelink/postbuild events), you can automate the process of signing your Delphi executables with a digital certificate.

Below the steps for signing Windows executables.

Prerequisites:

  1. You have your digital certificate in a PFX file.
    (for testing you can use a self-signed certificate, for the real world you want a certificate leads to a CA).
  2. You have the Windows SDK installed that provides SignTool.
    (in this case, I presume a Windows 7 or 8 x64 machine with the Windows Software Development Kit (SDK) for Windows 8 installed. If not, you have to change the path in the various statements, for instance when using the Windows SDK: Download the Windows SDK for Windows 7 and More | MSDN.)

The post-build event code Read the rest of this entry »

Posted in Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | 3 Comments »

Google: view which Devices used your account when: Security – Devices

Posted by jpluimers on 2014/11/24

Security – Deviceshttps://security.google.com/settings/security/activity

Posted in Google, Power User, Security | Leave a Comment »

Factory Images for Nexus Devices – Android — Google Developers

Posted by jpluimers on 2014/11/24

For downloading Lollipop, KitKat and other install images for your Nexus devices: Factory Images for Nexus Devices – Android — Google Developers.

–jeroen

Posted in Google, Nexus 4, Power User | Leave a Comment »

Instantly save a web-page to the Wayback Machine (Internet Archive: www.archive.org)

Posted by jpluimers on 2014/11/24

Saving a web page for posterity is really easy: just prepend http://liveweb.archive.org/ in front of the URL in your browser, then open the page.

The Wayback Machine (Internet Aarchive) wil instantly archive it.

See this great answer by Jeff Atwood quite a while ago:

One thing that the ineffable Jason Scott just pointed out to me on Twitter:

if you give the url of the page to http://liveweb.archive.org and wait five minutes, it will archive that page. How about that?

Also you can enter http://liveweb.archive.org/http://www.website.com/page to have it happen without visiting the page.

So if you want to ensure that a popular soon-to-be or may-possibly-be deleted question gets archived by the Internet Archive, manually feed them to the URL above.

I suppose for already deleted questions, we could also undelete, wait 5 minutes, let it archive, then re-delete.

–jeroen

via: Building an archive of deleted questions – Meta Stack Overflow.

Posted in Chrome, Firefox, Internet Explorer, Opera, Opera Mobile, Pingback, Power User, Stackoverflow, Web Browsers | 1 Comment »

[NL] Full-page kaart van Parkeren Amsterdam – Gemeente Amsterdam

Posted by jpluimers on 2014/11/23

Helaas bevat de web-pagina Parkeren Amsterdam – Gemeente Amsterdam maar een heel klein kaartje.

Een beetje door de HTML heen bladeren lijdt tot een full-page kaart met parkeertarieven op http://amsterdam-maps.bma-collective.com/embed/parkeren/tarieven/index_desktop.html.

Handig!

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »