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

The strange case of some applications not being able to copy/paste on the Mac OS X clipboard

Posted by jpluimers on 2017/07/19

I’ve not tracked down the cause yet, but these seem to be related:

  1. The Mac OS X build of Atom IO
  2. WinBox v 3.4 WineBottle version from Winbox for Mac in an embedded Wine environment – Joshaven.com
  3. pbcopy / pbpaste that allow command-line copy/pasting
  4. none of these being able to copy/paste any more and return error level 1 like terminal – pbcopy exits code 1, no error message – Ask Different but not even running tmux or screen which means this solution does not apply: ChrisJohnsen/tmux-MacOSX-pasteboard: Notes and workarounds for accessing the Mac OS X pasteboard in tmux sessions.
  5. I didn’t have Mouse Keys turned on
  6. Other applications (Chrome, FireFox, TextEdit, Finder, etc) still being able to copy/paste between each other

I’ve “fixed” 4. by doing this as recommended at osx – Copy and Cut sometimes don’t work – Ask Different:

Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, atom editor, Hardware, iMac, Internet, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MikroTik, Network-and-equipment, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User, routers, Text Editors, tmux, WinBox | 4 Comments »

Anyone knows if Raize subscription before the Raize acquisition is still valid?

Posted by jpluimers on 2017/07/18

It’s from a while ago, so I wonder if this is still true:

  I just got my Embarcadero update to RC6 that includes #10Seattle support.

–jeroen

Source: Can I say that I’m a bit disappointed by the way the Raize acquisition has been…

Posted in Delphi, Development, Software Development | 1 Comment »

Mikrotik RouterOS scripting: for loops are a bit of getting used to

Posted by jpluimers on 2017/07/18

Earlier, I wrote “:for loops are a strange beast so I will elaborate on those in a separate post.” so now is the time to do that.

The :for loop documentation is very dense:

Command Syntax Description
for :for <var> from=<int> to=<int> step=<int> do={ <commands> } execute commands over a given number of iterations

So a for loop has these elements:

  • from=
  • to=
  • step=
  • do=

Luckily, the old RouterOS 2.7 documentation on loops (which they’ve revamped after Router OS 2.7 removing many useful examples) has this:

:for – It has one unnamed argument, the name of the loop variable. from argument is the starting value for the loop counter, tovalue is the final value. This command counts loop variable up or down starting at from and ending with to, inclusive, and for each value it executes the do statement. It is possible to change the increment from the default 1 (or -1), by specifying the stepargument.

[admin@MikroTik] > :for i from=1 to=100 step=37  do={:put ($i . " - " . 1000/$i)}
1 - 1000
38 - 26
75 - 13
[admin@MikroTik] >

You might think that from= the start value, to= the finish value and the loop won’t execute when step= a positive value and from= larger than to=. Or that without a step= the loop will always iterate in ascending order.

Wrong! And wrong!

So it’s time for some…

:for loop examples

Read the rest of this entry »

Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | Leave a Comment »

Brand New Model F Keyboards – The Model M Predecessor: Mechanical Capacitive Buckling Spring Keyboards with NKRO

Posted by jpluimers on 2017/07/17

If it had function keys, I might have ordered it, but in case anyone is still interested: order before the end of July as they will likely not do a re-run of this unique project: [Archive.isBrand New Model F Keyboards – The Model M Predecessor: Mechanical Capacitive Buckling Spring Keyboards with NKRO.

Model F quality is much better than Model M, which is way better than anything manufactured after that. Just compare the spring mechanisms below.

via: [WayBackKeyboardfanaat gaat getrouwe reproducties IBM Model F leveren – Computer – .Geeks – Tweakers

What is the Difference between IBM Model M and Model F Key-Switches?

[WayBackWhat is the Difference between IBM Model M and Model F Key-Switches?

 

 

–jeroen

Read the rest of this entry »

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

Atlassian SourceTree on Twitter: “Good news! We’ve open sourced the way we phase releases for our Sparkle-based macOS app. Read on: https://t.co/QOH0tceXt4”

Posted by jpluimers on 2017/07/17

Interesting: [WayBack] Atlassian SourceTree on Twitter: “Good news! We’ve open sourced the way we phase releases for our Sparkle-based macOS app. Read on: https://t.co/QOH0tceXt4”:

[WayBackOpen Source Announcement: phased releases for Sparkle-based macOS apps | SourceTree Blog

[WayBackatlassianlabs / Progressive-Rollout-via-Sparkle — Bitbucket

A small collection of collection of classes, tests, and notes for implementing a progressive (staged) rollout of an update via Sparkle, originally implemented in SourceTree.

[WayBackSparkle: open source software update framework for macOS

–jeroen

Read the rest of this entry »

Posted in Continuous Integration, Deployment, Development, Software Development | Leave a Comment »

6502 CPU replacement board: more on how to repair 6502 systems.

Posted by jpluimers on 2017/07/17

I love the idea of a 6502 CPU replacement board: more on how to repair 6502 systems.

Read the rest of this entry »

Posted in 6502, History | Leave a Comment »

TomatoUSB – selectively save/restore NVRAM settings before/after upgrading

Posted by jpluimers on 2017/07/14

TomatoUSB recommends a NVRAM reset (or 30/30/30 reset) before and after upgrades.

This means you loose all your settings which causes a lot of people to not upgrade at all.

The steps to export/import are a bit vague as they depend on what you want to save.

It basically comes down to do this on the old configuration

nvram export --set

Save that output to a local file and then use a search tool searching for specific sections you want to restore.

After you restored the sections ensure you persist them:

nvram commit

This is what the TomatoUSB author usually searches for:

Read the rest of this entry »

Posted in Internet, Power User, routers, TomatoUSB | Leave a Comment »

SUSE 12.3 – How to auto start services…?

Posted by jpluimers on 2017/07/14

Old (somehow it was blocked in the post queue), but sometimes still relevant for more modern services as, well sysv versus systemd war still are not over yet…

Interesting: systemctl gives flaky results for many services.

chkconfig nfs
chkconfig nfs on

Source: [WayBack] SUSE 12.3 – How to auto start services…?

This is on my system:

revue:~ # systemctl is-enabled shellinabox
shellinabox.service is not a native service, redirecting to systemd-sysv-install
Executing /usr/lib/systemd/systemd-sysv-install is-enabled shellinabox
shellinabox  off
enabled
revue:~ # rcshellinabox status
Checking for service shellinabox                                                       unused
● shellinabox.service - LSB: shellinabox
Loaded: loaded (/etc/init.d/shellinabox)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)
revue:~ # rcshellinabox start
redirecting to systemctl start shellinabox.service
revue:~ # chkconfig shellinabox
shellinabox  off
revue:~ # chkconfig shellinabox on
revue:~ # chkconfig shellinabox
shellinabox  on

–jeroen

Posted in *nix, openSuSE, Power User, SuSE Linux | Leave a Comment »

A slightly optimized TDateTime functions (YearOf, MonthOf, DayOf) …

Posted by jpluimers on 2017/07/13

Besides the optimised versions of these functions, I learned the most from these comments:

–jeroen

Source: A slightly optimized TDateTime functions (YearOf, MonthOf, DayOf) …

Posted in Delphi, Development, Software Development | 2 Comments »

BorCon 97, 20 years ago, Star Wars, 40 years ago

Posted by jpluimers on 2017/07/13

Marco Cantu (right) and Jeroen Pluimers (left) in 1997

Marco Cantu (right) and Jeroen Pluimers (left) in 1997

The BorCon 97 opening – today 20 years ago – was so much fun: the a Star Wars like opening crawl about a tiny company fighting the – then regarded – Evil Empire called Microsoft.

It was back in the days when lots of new things in the Delphi world were happening: Delphi 2 – the first 32-bit version – came out half a year before and the upcoming Delphi 3 was going to be a game changer as well. New features were rock solid and sales were booming.

Personally, I was much slimmer (yes, that’s me in the Tie-Dye), and could do a pre-conference tutorial on CORBA and VisiBroker (The ORB by Visigenic which was about to be acquired by Borland – which now is owned by Micro Focus only after spinning of the CodeGear which got acquired by Embarcadero that is now owned by Idera which feels like the Inprise story all over again).

I got triggered to this after watching the Opening Night Excitation episode 194 of the Big Bang Theory:

Read the rest of this entry »

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