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, 2017

Say NO to Venn Diagrams When Explaining JOINs – Java, SQL and jOOQ.

Posted by jpluimers on 2017/11/22

Interesting thought especially for cross-joins [WayBackSay NO to Venn Diagrams When Explaining JOINs – Java, SQL and jOOQ.

–jeroen

Via [WayBack“Say NO to Venn Diagrams When Explaining JOINs” – and [WayBack] “Say NO to Venn Diagrams When Explaining JOINs” – – Kristian Köhntopp – Google+

 

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

check if network connection is permanent

Posted by jpluimers on 2017/11/22

Thanks Uwe for the below code!

I was in a situation of a batch file running from a Task Scheduler that got broken because the user suddenly turned on persistent network connections.

So I needed to check if a shared drive-letter was indeed persistent or not and act accordingly.

The below code helped me merging the batch file with the Delphi application it would run in the background anyway.

It’s way better than checking of the global “persistence” flag for new connections has been set in the registry: [WayBackSaveConnections flag at HKCU\Software\Microsoft\Windows NT\CurrentVersion\Network\Persistent Connections (which is reflected both in the Windows UI and settable via net use /Persistent).

Source: check if network connection is permanent

Via: [WayBack] Anyone who can share how one can query if a drive letter mapping to a share is persistent across logon sessions? (yes, this is Windows, I know) – Jeroen Wiert Pluimers – Google+

–jeroen

Read the rest of this entry »

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

OpenBSD on PC Engines APU2 | Hacker News

Posted by jpluimers on 2017/11/21

Via [WayBackOpenBSD on PC Engines APU2 | Hacker News and [WayBackIlya S – Google+ commenting at [WayBack] I am thinking about moving to BSD as my main OS – Joe C. Hecht – Google+:

Just in case I want to build my own router on PC Engines APU2 hardware: installation instructions at [Wayback/Archive] elad/openbsd-apu2: OpenBSD on the APU2

–jeroen

Posted in APU, Development, Hardware, Hardware Development, Internet, Network-and-equipment, Power User, routers | Leave a Comment »

Delphi history: No, dynamic arrays do not support a non-zero lower bound, but what if you want them? – via Stack Overflow

Posted by jpluimers on 2017/11/21

A post of some older Delphi stuff I did in the past just in case need it again.

David Heffernan found the documentation for this: [WayBackStructured Types (Delphi): Dynamic Arrays – RAD Studio

Since I needed a dynamic array structure supporting a non-zero lower bound, I was glad he also provided an answer with a data structure that does provide a non-zero lower bound.

For my own reference I’ve put his answers and questions below (as it’s way easier to search my blog than the complete internet) and my own implementation:

Read the rest of this entry »

Posted in Delphi, Development, History, Software Development | 10 Comments »

Google Maps gets a new look

Posted by jpluimers on 2017/11/20

[WayBack] Google Maps gets a new look:

Via: [WayBack] New looks! – Roderick Gadellaa – Google+

–jeroen

Read the rest of this entry »

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

Excellent blog post from Jessica on how to setup the best Linux on Windows environment! @jldeen – via @shanselman

Posted by jpluimers on 2017/11/20

Via [WayBackScott Hanselman @shanselman: Excellent blog post from Jessica on how to setup the best Linux on Windows environment! @jldeen:

[WayBack] Badass Terminal: FCU WSL Edition (oh-my-zsh, powerlevel9k, tmux, and more!)

It’s that time again! The time to write another epic blog post, this time for WSL, also known as Windows Subsystem for Linux.

It requires Windows 10 Version 1709 (Fall_Creators_Update) which has build number 10.0.16299.

–jeroen

Read the rest of this entry »

Posted in *nix, Linux, Power User, Windows, Windows 10, WSL Windows Subsystem for Linux | Leave a Comment »

Applefritter | Applefritter

Posted by jpluimers on 2017/11/20

History: Applefritter | Applefritter

Posted in 6502, Apple I, History | Leave a Comment »

CompuServe’s forums, which still exist, are finally shutting down on 20171215

Posted by jpluimers on 2017/11/20

An era ends: [Archive.isCompuServe’s forums, which still exist, are finally shutting down

Before there was a World Wide Web, a sizable chunk of all meaningful conversation between computer users happened in the forums at CompuServe, which was the dominant online service until AOL came along. There was a CompuServe forum for everything from PC hardware to comic books, the signal-to-noise ratio was generally high, and … they if you … will be removed from what remains of CompuServe on December 15.

Via: Roy Nelson on Facebook

I remember spending a truckload of money on 100013,1443. Heck: it was the reason for getting a credit card in the first place!

–jeroen

Posted in borland, History | Leave a Comment »

Some notes on “The WordPress bookmarklet was deprecated. Please delete it from your web browser.” because the `/wp-admin/press-this.php` based URLs look very similar.

Posted by jpluimers on 2017/11/17

Some notes on “The WordPress bookmarklet was deprecated. Please delete it from your web browser.” because the /wp-admin/press-this.php based URLs look very similar because of this:

–jeroen

Read the rest of this entry »

Posted in Bookmarklet, Power User, Web Browsers | Leave a Comment »

OS X El Capitan: Open an app from an unidentified developer

Posted by jpluimers on 2017/11/17

The first trick works for WinBox 3.7 on Mac [download], the second doesn’t.

First trick:

To override your security settings and open the app anyway:

  1. In the Finder, locate the app you want to open.

    Don’t use Launchpad to do this. Launchpad doesn’t allow you to access the shortcut menu.

  2. Press the Control key and click the app icon, then choose Open from the shortcut menu.

  3. Click Open.

    The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app.

Second trick:

Note:   Another way to grant an exception for a blocked app is to click the “Open Anyway” button on the Security pane of System Preferences. This button is available for about an hour after you try to open the app.

To open this pane, choose Apple menu > System Preferences, then click Security & Privacy.

Both from [WayBackOS X El Capitan: Open an app from an unidentified developer

–jeroen

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.11 El Capitan, Power User | Leave a Comment »