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

De @SVB_PGB foutmelding mag kennelijk ook niet langer dan 60 karakters zijn… #neuland

Posted by jpluimers on 2015/12/21

Briljante foutmelding: “snaam, inclusief extensie, mag maximaal 60 tekens lang zijn.”

Ja: precies de laatste 60 karakters van de foutmelding.

De SVB heeft iets met 60.

Iets als “20141119 – Martijn – Zorgkantoor – AWBZ beoordeling zorgbeschrijvingen zorgovereenkomsten – SVB trekkingsrecht.pdf” mag dus niet als bestandsnaam. Een duidelijke foutmelding ook niet. Dat zou te makkelijk zijn.

Het is op een andere manier slecht dan de foutmelding “Er is een algemene fout opgetreden. Probeert u het later nog eens.”. En dat je later weer dezelfde foutmelding krijgt zodat je on-line geen PGB declaraties van urenbriefjes kunt indienen:

Beste @SVB_PGB: de online declaratie PGB WMO HH gaat fout bij het klikken van “Bewerken”: het maakt niet uit welke maand en week. 1/2

De melding @SVB_PGB is “Er is een algemene fout opgetreden. Probeert u het later nog eens.”. Helaas geen verder log of details. Wat nu? 2/2

En daarom ben ik gistervavond een paar uur bezig geweest met opnieuw proberen en daarna PDFjes van de declaraties te maken. Die ik nu weer mag renamen omdat de bestandsnamen te lang zijn.

Zucht.

–jeroen

Read the rest of this entry »

Posted in About, LifeHacker, PDF, Personal, Power User | Leave a Comment »

How to authenticate a shell script with the OS X GUI | MacIssues

Posted by jpluimers on 2015/12/21

Simple but ugly:

osascript -e "do shell script \"some-command\" with administrator privileges"

Source: How to authenticate a shell script with the OS X GUI | MacIssues

Posted in Uncategorized | Leave a Comment »

Everyone over the age of 40 has a drawer full of these somewhere. What to do with them…

Posted by jpluimers on 2015/12/21

On scanning film negatives and dias (slides): Everyone over the age of 40 has a drawer full of these somewhere What do you….

Since scanners get better over time, when do you scan them, and how long do you keep the originals?

–jeroen

Dia slides.

Dia slides.

Posted in LifeHacker, Power User | Leave a Comment »

Download Beyond Compare

Posted by jpluimers on 2015/12/18

End of year present:

Beyond Compare 4 Change Log – 4.1.3.20814 – DECEMBER 17, 2015

Notable Changes

  • Fixed hex compare truncated comparison results for large files with a difference at the very end.
  • Fixed support for creating multiple OneDrive profiles so it will prompt for login information every time.
  • OS X/Linux: Fixed support for FTP file transfers larger than 2GB.
  • Fixed “Unsupported cipher” error when opening an SFTP connection to mod_ftpd servers (e.g., wpengine.com).
  • OS X: Fixed support for using Asian input methods.
  • Stability improvements.

–jeroen

Source: Download Beyond Compare

Posted in Uncategorized | Leave a Comment »

How to verify app signatures in OS X | MacIssues

Posted by jpluimers on 2015/12/18

Interesting:

For codesign verification:

find /Applications -d 1 -name "*.app" -exec codesign --verify --verbose {} \;

For system policy assessment:

find /Applications -d 1 -name "*.app" -exec spctl --assess --verbose {} \;

–jeroen

Source: How to verify app signatures in OS X | MacIssues

Posted in Apple, bash, Development, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development | Leave a Comment »

Nice #geekporn history lesson. With Linus, SUN, kissing a girl (or not), the overpriced POSIX manual… by @landley

Posted by jpluimers on 2015/12/18

Thanks Jan Wildeboer for pointing to a well written history piece by Rob Landley (Twitter @landley).

Nice #geekporn history lesson. With Linus, SUN, kissing a girl (or not), the overpriced POSIX manual and more. Enjoy. http://article.gmane.org/gmane.linux.toybox/1890 (already archived at the WayBack machine)

The piece is about SunOS, Solaris, Linux, Posix, IBM, AT&T, BSD, System V and much more.

–jeroen

via: Nice #geekporn history lesson. With Linus, SUN, kissing a girl (or not), the….

Posted in History | 1 Comment »

Some links on DUnit test cases and test suites, XML and XSD

Posted by jpluimers on 2015/12/17

DUnit registration can mix TestSuites and TestCases.

Some links:

–jeroen

 

 

 

 

Posted in Agile, Delphi, Delphi 10 Seattle, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development, Unit Testing | Leave a Comment »

DevOps Is Bullshit: Why One Programmer Doesn’t Do It Anymore | jjmojojjmojo: In Effect

Posted by jpluimers on 2015/12/17

Interesting take to which I agree, as DevOps needs to be in your blood and needs to come from bottom up, just like being agile.

Read the full blog post at DevOps Is Bullshit: Why One Programmer Doesn’t Do It Anymore | jjmojojjmojo: In Effect.

A small quote:

… some of the common mistakes:

  • DevOps doesn’t make specialists obsolete.
  • Developers can learn systems and operations, but nothing beats experience.
  • Operations people can learn development too, but again, nothing beats experience.
  • Operations and development have historically be separated for a reason – there are compromises you must make if you integrate the two.
  • Tools and automation are not enough.
  • Developers have to want DevOps. Operations have to want DevOps. At the same time.
  • Using “DevOps” to save money by reducing staff will blow up in your face.
  • You can’t have DevOps and still have separate operations and development teams. Period.

–jeroen

via: DevOps Is Bullshit: Why One Programmer Doesn’t Do It Anymore | jjmojojjmojo: In Effect.

Posted in Agile, Development, Software Development | Leave a Comment »

Double up two Ultimate Ears devices to your Mac (or PC)

Posted by jpluimers on 2015/12/16

Two great Ultimate Ears tricks. First pairing them (thanks daleph, see also the video below):

To pair 2 devices without an app:

  1. Pair the FIRST speaker with your mac:
    1. Go to System Preferences > Bluetooth
    2. Press and hold the Bluetooth button until a tone is heard, it should appear as UM BOOM, pair it.
  2. Start playing music
  3. On the device now playing music press and hold the + and the Bluetooth keys until a tone is heard
  4. On the SECOND speaker press the Bluetooth button twice quickly
  5. After a few seconds both speakers will join together

They are only added as an identical pair, NOT Left and Right stereo

HTH

Dale

Source: Re: UE Boom app for Mac – Logitech Forums

Then doing double up in stereo (thanks tomborai and McAllan):

There IS a way… you just gotta find a buddy who has the UE Boom App on either iOS or Android.

Set up STEREO mode and enable “Double Up Lock” just once with the App, ensure it plays proper stereo, then disconnect and power off both speakers.

App no longer needed.

Whenever you desire, power on both speakers around the same time, they will pair within seconds.

Then take your MAC, pair the first speaker only (LEFT), et voila, the speakers have memorized the stereo mode, enjoy!

Sources:

–jeroen

Read the rest of this entry »

Posted in Apple, Mac OS X / OS X / MacOS, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | 4 Comments »

c++ – In which order should floats be added to get the most precise result? – Stack Overflow

Posted by jpluimers on 2015/12/16

Interesting:

sorting in ascending order (of magnitude) usually improves things

–jeroen

via c++ – In which order should floats be added to get the most precise result? – Stack Overflow.

Posted in Algorithms, Development, Floating point handling, Software Development | Leave a Comment »