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

Archive for the ‘Uncategorized’ Category

Watch “Modifying an old light with LED tape.” on YouTube

Posted by jpluimers on 2018/11/21

Posted in Uncategorized | Leave a Comment »

Technical Note TN1150: HFS Plus Volume Format

Posted by jpluimers on 2018/10/21

TN1150: Describes the physical layout of an HFS Plus volume.

[WayBack] Techånical Note TN1150: HFS Plus Volume Format

Posted in Uncategorized | Leave a Comment »

On Windows Control Flow Guard effects: 24-core CPU and I can’t type an email (part one) | Random ASCII

Posted by jpluimers on 2018/08/19

So many interesting bits on Windows process behaviour investigations: https://randomascii.wordpress.com/2018/08/16/24-core-cpu-and-i-cant-type-an-email-part-one/

Via Check out @BruceDawson0xB’s Tweet:

Posted in Uncategorized | Leave a Comment »

Sonic Pi

Posted by jpluimers on 2018/07/29

https://plus.google.com/+JeroenPluimers/posts/81xPrhbMu65

https://plus.google.com/+JeroenPluimers/posts/Rs8YwyXQXke

Posted in Uncategorized | Leave a Comment »

Reminder to self: adopt the below code to do $(…) expansion like the Delphi IDE does

Posted by jpluimers on 2018/07/26

The below code expands %…% for environment variables and $(…) for CSIDL values.

Someday I will find time to convert it to something that does expansion like the $(…) one from the Delphi IDE.

  • ConfigExpanderUnit
  • CSIDLsUnit

References:

–jeroen

Read the rest of this entry »

Posted in Uncategorized | Leave a Comment »

Switching from net-tools to iproute2 or not? You probably have no choice, but the iproute2 cheat-sheet is 20+ pages…

Posted by jpluimers on 2018/03/20

Last year I came across this semi-humorous post: [WayBack] Bwahahaha, now that they took your init and replaced it with systemd, they are coming after your ifconfig. Next thing is that they will come after your… – Kristian Köhntopp – Google+

Underneath is a bigger problem: net-tools had been dormant for a long time, which means a lot of people rely on the predictable behaviour – especially by parsing the output for post processing.

Those days are definitely over: net-tools is in more active maintenance now breaking scripts like crazing. So since the foundation of networking on most distributions is now iproute2, it’s better to learn iproute2.

That’s not easy though, so here is some background reading to do:

I got this little translation table from the last link:

program obsoleted by
arp ip neigh
ifconfig ip addr
ipmaddr ip maddr
iptunnel ip tunnel
route ip route
nameif ifrename
mii-tool ethtool

–jeroen

 

 

Posted in Uncategorized | Leave a Comment »

Getting close to 7zip GUI “Ultra” compression from a batch file

Posted by jpluimers on 2018/02/23

These are the command-line parameters I assembled to get close to “Ultra” compression from the 7-zip command-line:

"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma2:d1024m -mx=9 -aoa -mfb=64 -md=32m -ms=on -sdel filename archive.7z

This will move filename to archive.7z using maximum compression.

Sometimes this is slightly better than “Ultra” compression from the 7-zip UI, sometimes slightly worse, but never far apart.

via:[WayBackbatch file – 7zip Ultra LZMA2 compression – Stack Overflow

–jeroen

Posted in Uncategorized | Leave a Comment »

Nikon AF modules reference table

Posted by jpluimers on 2018/02/12

For my link archive: [WayBackNikon AF modules reference table

Posted in LifeHacker, Power User, Uncategorized | Leave a Comment »

Intel Intrinsics Guide

Posted by jpluimers on 2017/12/13

The Intel Intrinsics Guide is an interactive reference tool for Intel intrinsic instructions, which are C style functions that provide access to many Intel instructions – including Intel® SSE, AVX, AVX-512, and more – without the need to write assembly code.

Source: Intel Intrinsics Guide

Via: [WayBack] G+ David Berneda; Nice Intel cpu docs, filter and click items to get detailed descriptions

–jeroen

Posted in Uncategorized | Leave a Comment »

OS X dmg files – Disk Utility usually creates them read-only

Posted by jpluimers on 2017/11/27

While recovering the backups of a Retina MacBook Pro, I needed to know if I could mount a Disk Utility backup image on read-only mode.

Finding that info was a tad difficult as most results were about making dmg files read-write. This already hinted me in that most dmg files were readonly.

The main tool for handling dmg files is hdiutil. for which you can get more info here:

The hdiutil command imageinfo will output a Format: line having the kind of dmg image:

  • UDRW – UDIF read/write image
  • UDRO – UDIF read-only image
  • UDCO – UDIF ADC-compressed image
  • UDZO – UDIF zlib-compressed image
  • UDBZ – UDIF bzip2-compressed image (OS X 10.4+ only)
  • UFBI – UDIF entire image with MD5 checksum
  • UDRo – UDIF read-only (obsolete format)
  • UDCo – UDIF compressed (obsolete format)
  • UDTO – DVD/CD-R master for export
  • UDxx – UDIF stub image
  • UDSP – SPARSE (grows with content)
  • UDSB – SPARSEBUNDLE (grows with content; bundle-backed)
  • RdWr – NDIF read/write image (deprecated)
  • Rdxx – NDIF read-only image (Disk Copy 6.3.3 format)
  • ROCo – NDIF compressed image (deprecated)
  • Rken – NDIF compressed (obsolete format)
  • DC42 – Disk Copy 4.2 image

All compressed formats seem to be read-only and of course all read-only formats. Which then basically leaves only these as (potentialy) read-write image types:

  • UDRW
  • UFBI
  • UDSP
  • UDSB
  • RdWr
  • DC42

References and further reading:

–jeroen

Posted in Uncategorized | Leave a Comment »