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

Mikrotik date and time calculations

Posted by jpluimers on 2017/08/29

Some ideas for date and time calculation:

It should get better (and verifyable) implementations in stead of these Julian (not Gregorian!) date conversions:

Notes:

–jeroen

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

regex – Regular expression to match DNS hostname or IP Address? – Stack Overflow

Posted by jpluimers on 2017/08/29

I’m not fond of them, but sometimes they can do their job regex – Regular expression to match DNS hostname or IP Address? – Stack Overflow

Two notes:

  1. The first answer matches either IPv4 or hostname
    (no IPv6 support yet; reminder to self: find it one day).
  2. The second answer restricts the hostname parts to be no more than 63 characters each. It doesn’t fix the total length being 255 or less
    (reminder to self: create that restriction one day).

First answer:

Read the rest of this entry »

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

systemd/udev: PredictableNetworkInterfaceNames

Posted by jpluimers on 2017/08/28

This is so cool, but will take some time for lot’s of tooling to become compatible:

Starting with v197 systemd/udev will automatically assign predictable, stable network interface names for all local Ethernet, WLAN and WWAN interfaces. This is a departure from the traditional interface naming scheme (“eth0”, “eth1”, “wlan0”, …), but should fix real problems.

–jeroen

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

exporting firewall config – MikroTik RouterOS

Posted by jpluimers on 2017/08/28

Example:

/ip firewall filter export file=ip-firewall-filter.rsc

This exports the Filters parts of the IP Firewall into a file named ip-firewall-filter.rsc in the user-space root of the Mikrotik router file system that you can access through the Files menu entry in WinBox or by external access through FTP or SFTP (SSH File Transfer Protocol).

–jeroen

via: exporting firewall config – MikroTik RouterOS

 

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

Running your Mac Mini headless by faking a display for it (HDMI 1080p/4K or Thunderbolt VGA); similar for DVI

Posted by jpluimers on 2017/08/28

CompuLab 4K Display Emulator (fit-Headless 4K)

CompuLab 4K Display Emulator (fit-Headless 4K)

The MacMini is a bit dumb as it won’t enable the GPU when there is no display attached. Which means headless operation is cumbersome as display rendering is very slow.

There are a few tricks of which the off-the-shelve HDMI solutions work best.

You can buy them at Amazon:

CompuLab Display Emulator (fit-Headless)

CompuLab Display Emulator (fit-Headless)

Sources:

Basically the trick to simulate a monitor with a dummy load works for other display connectors as well (most of them work fine with 75 ohm resistors, usually a bit lower or higher works just as well):

Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »

Index of /pdf/xerox/mouse/lyon_optical

Posted by jpluimers on 2017/08/26

Because history: Index of /pdf/xerox/mouse/lyon_optical images of the Lyon Optical mouse by Xerox.

[ ] 018P87005_D_Pointer_Pattern_Pad_Oct84.pdf 2016-10-12 13:20 206K
[ ] 43260_Lyon_The_Optical_Mouse.pdf 2016-10-12 13:22 11M
[IMG] Alto_Optical_Case_B.JPG 2016-10-15 14:55 458K
[IMG] Alto_Optical_Case_T.JPG 2016-10-15 14:55 262K
[IMG] Alto_Optical_Inside.JPG 2016-10-15 14:56 415K
[IMG] Alto_Optical_PCB_Cable.JPG 2016-10-15 14:55 451K
[IMG] Xerox_mousepad_1.tif 2016-10-12 13:19 2.9M
[IMG] Xerox_mousepad_2.tif 2016-10-12 13:19 2.2M

Some of the images:

Read the rest of this entry »

Posted in History | 2 Comments »

Performance Test WCF/WPF app – Selecting right Tool

Posted by jpluimers on 2017/08/26

Interesting read, especially because they did an extensive tool selection process. Not really up to date any more but a good start when you are looking for tools.

–jeroen

[WayBack]

Posted in Development, Profiling-Performance-Measurement, Software Development | Leave a Comment »

Amsterdam, 2.4 GHz. 5 GHz is only marginally better. In the city, wired connection is the only option: fiber, cable, dsl.

Posted by jpluimers on 2017/08/25

For me, too often – even at home – mobile internet is faster than WiFi over 2.4 Ghz and sometimes even faster than WiFi at 5 Ghz..

Further below is inside my home. I’ve no idea what these – relatively strong – networks are:

  • SANDS Wi-Fi Network (it has a MAC in the OUI list of Apple and is configured as GB device)
  • venus-HQ17128EGKE-5ae (it has a MAC in the local private range)
  • H368N8D6382 (and a network HZN242961585 that looks similar but is very different – the first has a MAC from ZTE corporation, the last from Samsung Electronics)

From Kristian Köhntopp near work in the city centre:

At my home:

A Google+ profile for Jeroen Wiert Pluimers

Source: at home… +Kristian Köhntopp

–jeroen

Via:

 

 

Posted in Power User, WiFi | Leave a Comment »

More beautiful code by Asbjørn Heid

Posted by jpluimers on 2017/08/25

If you’re in Delphi land, then Asbjørn Heid is a a guy to follow on G+.

He has some brilliant snippets (most can be found on paste.ie by searching for Asbjørn Delphi site:paste.ie).

This is actually one set:

Both via From the because-I-can department… Friday evening operator abuse. Tuple Duple [WayBack]

Then there are these:

–jeroen

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

Updated: some stream URLs of Dutch radio stations

Posted by jpluimers on 2017/08/25

Online Dutch Radio streams: some direct URLs « The Wiert Corner – irregular stream of stuff:

#3FM LIVE niet zo heel live… Even geen Giel. Iemand die een HTTP live stream URL van de audio weet? « The Wiert Corner – irregular stream of stuff:

Radio 3:

Radio 10:

–jeroen

Posted in LifeHacker, Media Streaming, Power User | Leave a Comment »