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

MAC address ranges safe for testing purposes (Locally Administered Address)

Posted by jpluimers on 2017/10/25

Similar to IP ranges for private networks that are safe for testing

  • 10.0.0.0/8 (255.0.0.0)
  • 172.16.0.0/12 (255.240.0.0)
  • 192.168.0.0/16 (255.255.0.0)
  • fd00::/8

there are also locally administered MAC address ranges safe for testing

  • x2:xx:xx:xx:xx:xx
  • x6:xx:xx:xx:xx:xx
  • xA:xx:xx:xx:xx:xx
  • xE:xx:xx:xx:xx:xx

Thanks to [WayBack] Sam and [WayBackPeter for answering.

–jeroen

References:

Posted in Ethernet, Internet, Network-and-equipment, Power User | Leave a Comment »

EKON 21 – The Conference for Delphi & More

Posted by jpluimers on 2017/10/24

I barely made it to EKON21 mainly because of extensive family members care-taking, so could not attend everything and archived the site for

The Conference for Delphi & More | 23 – 25 October 2017, Cologne | presented by Entwickler Akademie and Entwickler Magazin

[WayBackEKON 21 – The Conference for Delphi & More:

It seems one older conference is archived.

–jeroen

Posted in Conferences, Delphi, Development, EKON, Event, Software Development | Leave a Comment »

Delay running a script after restart – MikroTik RouterOS

Posted by jpluimers on 2017/10/24

Start Time special value `startup`

Start Time special value `startup`

There is a special startup value for “Start Time” you can enter which makes it runs once 3 seconds after reboot.

If by then your router isn’t fully “up” yet (i.e. waiting for PPPoE or DHCP network settings), then inside the script you can perform a delay global command as shown in the code fragment from the below forum post.

Don’t you love how people still tend to both repeat themselves and abbreviate stuff even though they have code completion at their disposal?:

{:delay 10};
/log print file=([/system identity get name] . "Log-" . [:pick [/system clock get date] 7 11] . [:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4 6]); \
/tool e-mail send to="xxx@xxx.com" subject=([/system identity get name] . " Log " . \
[/system clock get date]) file=([/system identity get name] . "Log-" . [:pick [/system clock get date] 7 11] . \
[:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4 6] . ".txt"); :delay 10; \
/file rem [/file find name=([/system identity get name] . "Log-" . [:pick [/system clock get date] 7 11] . \
[:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4 6] . ".txt")]; \
:log info ("System Log emailed at " . [/sys cl get time] . " " . [/sys cl get date])

Read the rest of this entry »

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

Windows/*n*x: Getting curl to output HTTP status code – Super User

Posted by jpluimers on 2017/10/24

The first trick works in Windowa and nx (thanks [WayBackpvandenberk):

curl -s -o /dev/null -I -w "%{http_code}" http://www.example.org/

Inside a Windows batch file you need to escape the % to %% so you get this:

curl -s -o /dev/null -I -w "%%{http_code}" http://www.example.org/

The second is slick but only works on nx (thanks [WayBackHeath Borders):

#creates a new file descriptor 3 that redirects to 1 (STDOUT)
exec 3>&1
# Run curl in a separate command, capturing output of -w "%{http_code}" into HTTP_STATUS
# and sending the content to this command's STDOUT with -o >(cat >&3)
HTTP_STATUS=$(curl -w "%{http_code}" -o >(cat >&3) 'http://example.com')

[WayBackGetting curl to output HTTP status code? – Super User

–jeroen

Posted in *nix, *nix-tools, bash, Batch-Files, cURL, Development, Power User, Scripting, Software Development | Leave a Comment »

Nikon D850 Negative Digitizer Mode | Richard Haw’s Nikon Maintenance Site

Posted by jpluimers on 2017/10/23

For my link archive:

–jeroen

Posted in LifeHacker, Nikon, Photography, Power User | Leave a Comment »

All about UEFI vs BIOS – who to follow

Posted by jpluimers on 2017/10/23

A link to an old post [WayBack] All about UEFI vs BIOS – David Berneda – Google+ reminded me to follow these people:

Source: [WayBackAll about UEFI vs BIOS

[WayBackUEFI boot: how does that actually work, then? a long read ending with a long form of these recommendations:

  • If you can possibly manage it, have one OS per computer.
  • If you absolutely must have more than one OS per computer, at least have one OS per disk.
  • If you absolutely insist on having more than one OS per disk, understand everything written on this page, understand that you are making your life much more painful than it needs to be, lay in good stocks of painkillers and gin, and don’t go yelling at your OS vendor, whatever breaks.
  • If you’re using UEFI native booting, and you don’t tend to build your own kernels or kernel modules or use the NVIDIA or ATI proprietary drivers on Linux, you might want to leave Secure Boot on.
  • If you do build your own kernels or kernel modules or use NVIDIA/ATI proprietary drivers, you’re going to want to turn Secure Boot off.
  • Don’t do UEFI-native installs to MBR-formatted disks, or BIOS compatibility installs to GPT-formatted disks (an exception to the latter is if your disk is, IIRC, 2.2+TB in size…
  • Trust mjg59 in all things and above all other authorities, including me.

–jeroen

Posted in BIOS, Boot, Power User, UEFI, Windows | Leave a Comment »

HOW-TO: Enable Hyper V on Windows 8.x Pro, and create a VM on it – YouTube

Posted by jpluimers on 2017/10/23

Below some steps and two videos about Hyper-V on Windows 8.x.

Though I prefer VMware myself (most of my infrastructure is VMware based, it works on Mac, Windows and bare-metal, and it has more user friendly host integration for Mac/Windows, especially with clipboard sharing and screen resolution), Hyper-V is not to be ruled out.

Hyper-V comes with Windows 7 professional and up, and supports the VHD/VHDX disk formats which are also used by Windows backup and Disk2Vhd.

So it is an excellent start to virtualize an existing physical PC and run it under a Windows host with relatively little effort.

New Disk2vhd V2.0 with vhdx support » TechNine.

Ensure that hardware virtualization support is turned on in the BIOS settings.  Save the BIOS settings and boot up the machine normally, At the Start Screen, swipe the right hand side of the screen and select the Search Charm. Type turn windows features on or off and select that item  Select and enable Hyper-V  If Hyper-V was not previously enabled, reboot the machine to apply the change.  NOTE: As a best practice, it’s a good idea to configure networking for the Hyper-V environment to support external network connections. Ensure that a virtual switch has been created and is functional.  Open the Virtual Switch Manager, found on the Actions panel in the Hyper-V Manager, by typing Hyper-V at the Start Screen.  Select “Virtual Switch Manager” in the Actions pane. Ensure that “External” is highlighted, and then click on the “Create Virtual Switch” button.  If more than one NIC in is present, ensure that the proper NIC is selected for use on the VM external network connections.

via

Read the rest of this entry »

Posted in BIOS, Boot, Power User | Leave a Comment »

I keep a separate gallery app around just to be able to upload specific pictu…

Posted by jpluimers on 2017/10/20

Smart tip:

I keep a separate gallery app around just to be able to upload specific pictures to +Google Photos​ because there is no option to do so from the Photos

Via: [WayBack] I keep a separate gallery app around just to be able to… … – Roderick Gadellaa – Google+

–jeroen

Read the rest of this entry »

Posted in Android Devices, Google, Google Photos, Power User | Leave a Comment »

HOW TO: Fix the Error loading /s.v00 Fatal error: 33 (Inconsistent data) in the VMware vSphere Hypervisor

Posted by jpluimers on 2017/10/20

This happened to me when the USB stick that I ran ESXi 5.5 off broke down: [WayBack/Archive.is] HOW TO: Fix the Error loading /s.v00 Fatal error: 33 (Inconsistent data) in the VMware vSphere Hypervisor.

I didn’t follow the steps as I moved on to new hardware that required ESXi 6.5 update 1. In retrospect, I probably should have fixed ESXi 5.5 as the ESXi 6.5 Web vSphere UI – apart of having far less features than the classic Windows vSphere Client UI )is ridden with bugs. More on those bugs later.

–jeroen

 

Posted in ESXi5.5, ESXi6.5, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »

“You would make for a great computer programmer”

Posted by jpluimers on 2017/10/20

A while ago, Joe C. Hecht mentioned for the second time about his family joke along the lines that he had bad grades at school despite being good at the topics. He got tested which resulted in “You would make for a great computer programmer”.

I wonder how this happened with other people in the IT. Did you get yourself a degree in that direction, or teach yourself programming and such?

The reason is that I recognise what Joe wrote: I’m still a bad learner from books or theory as I learn by doing. I specifically didn’t try to get a Computer Science degree as in the late 1980s in The Netherlands it basically was a heavy math degree plus Computer Science topics. So it was basically doing two studies at once and I was only interested in the Computer Science parts.

So I chose studying Chemistry (one of the science topics I really liked at high school) at the closest university to my home so I kept living with my parents.

In 20-20 hindsight this was not the right choice. But at that time I didn’t know about the right choice.

In about 4 years, I finished like 2.5 years of studying, was a geek-prototype (good at computers, bad at people skills) and still did a lot of Computer Science topics (even though the exams would be worthless as back then individual exams didn’t count unless they were part of the main direction of your study). The last year was prepping for practice and advanced topics. I slowly attended less and less sessions and did more and more programming gigs as somehow that was way more fun before slowly bailing out. I also sold network equipment to the university department helping them to connect to the internet and helped a lot of co-students with their computing issues and assignments, learned my way in DOS/3com/Novell/EARN/BITNET/DECNet/SunOS and VAX/VMS based technologies.

I only found out why I bailed out more than a decade later: I was a pragmatic guy learning by doing, not suited for a university that tried educating theorists. Besides that the department I wanted to finish my studies has two four camps: a very theoretic camp (with nice guys: they were the ones wanting internet access very early on), two less theoretic camps fighting each other and a lazy camp filling their days basically with doing as little as possible. A very unproductive and depressing situation. I had worked at the research labs of the paint factory doing research close to my studies, but there was no way the university would allow me to do my research phase there. Even more depressing.

Now (as always, hindsight is 20/20 vision) I know I should have bailed out early on and go for a more pragmatic study maybe not even a university but a polytechnic. On the other hand it helped doing a truckload of Turbo Pascal work (which I started at High School with Turbo Pascal 1 on CP/M with Apple ][+ and //e machines), programming in assembler/prolog/FORTRAN/C, getting connected to the internet (BITNET RELAY chat, mailing lists, early newsgroups, uucp, TCP/IP basics, thick/thin ethernet converters, serial and modem communication with Kermit and FidoNET, gopher, FTP and truckloads more stuff).

It got me into the Delphi, .NET and open source worlds, doing a lot of travel and conference speaking and being an early adopter of many technologies and concepts (some even so early that they only got way popular decades later – like the 1980s “the network is the computer” mantra – or making sense – like the lock semantics topics really became useful when around the century turn  single processor machines got multi-processor siblings and a lustrum later multi-core and multi-threading processors became available and ubiquitous around 2010) and taught me that being able to search and find things is way more important than knowing things.

So I wonder about all my followers:

How did your education go and how did you end up in computing?

–jeroen

References via Joe C. Hecht:

Read the rest of this entry »

Posted in About, BBS, BITNET Relay, Chat, FidoNet, History, Opinions, Personal, SocialMedia | Leave a Comment »