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 4,180 other subscribers

Archive for July 27th, 2017

rsync z-lib compression segmentation fault? WTF!

Posted by jpluimers on 2017/07/27

Not sure why without the -z compression switch this succeeds:

# rsync -avloz /var/lib/named/master/ /etc/named/master/
sending incremental file list
pluimers.com
Segmentation fault (core dumped)
# rsync -avlo /var/lib/named/master/ /etc/named/master/
sending incremental file list
pluimers.com
pluimers.com.20161231
pluimers.com~

sent 10,495 bytes  received 74 bytes  21,138.00 bytes/sec
total size is 132,231  speedup is 12.51
# rsync -avloz /var/lib/named/master/ /etc/named/master/
sending incremental file list

sent 1,547 bytes  received 13 bytes  3,120.00 bytes/sec
total size is 132,231  speedup is 84.76

–jeroen

via: [WayBackrsync(1) – Linux man page

Posted in *nix, *nix-tools, Power User, rsync | Leave a Comment »

There is a way to convert ‘array of const’ (open array) to TValue: Asbjørn Heid found one.

Posted by jpluimers on 2017/07/27

Brilliant solution by Asbjørn Heid:

So the solution I came up with is to use the observation that the “array of const” is “array of TVarRec”, and that “array of TVarRec” is passed as as two arguments: a pointer to the data and the length of the array (or rather, the highest index in the array).

Source: Is there a way to convert ‘array of const’ (open array) to TValue? For example,… [WayBack]

–jeroen

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

SMS sending with Mikrotik RouterOS and a capabable USB device

Posted by jpluimers on 2017/07/27

Some links that were useful getting the SMS sending stuff to work.

The documentation is clear on what to do to send/receive SMS:

But it is unclear what USB hardware does work, so here are some links:

You can also do it the other way around:

–jeroen

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

 
%d bloggers like this: