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

Archive for 2018

“all (file based) data is a program that gets executed when read”

Posted by jpluimers on 2018/02/28

With the continued progress of non-local storage and distributed computing., I wonder how this is evolving over time:

[WayBack] +Alan Cox changed my thinking years ago with a simple statement that I’ll paraphrase as: “all (file based) data is a program that gets executed when read”… – Jan Wildeboer – Google+

–jeroen

Posted in Development, Software Development | Leave a Comment »

You can now purchase items on any other country’s Google Store – seems to be a feature

Posted by jpluimers on 2018/02/27

It seems to be a feature: [WayBack[Feature or Fluke] You can now purchase items on any other country’s Google Store

via: [WayBack] Huuuuuge. No seriously, this is pretty nice. – Roderick Gadellaa – Google+

–jeroen

Posted in Google, GoogleStore, Power User | Leave a Comment »

Cross platform console based UI toolkit for .NET with “Turbo Vision” looks: GitHub – migueldeicaza/gui.cs

Posted by jpluimers on 2018/02/27

How cool are these related libraries:

[WayBack] Miguel de Icaza on Twitter: “On my copious spare time, I wrote a console UI toolkit for .NET, check it out: https://t.co/1fMKvcWUyd… “

–jeroen

Read the rest of this entry »

Posted in .NET, C#, Development, Software Development | Leave a Comment »

Omg this is awesome. Synchronize settings etc between Atom installs! …

Posted by jpluimers on 2018/02/27

[WayBack] Omg this is awesome. Synchronize settings etc between Atom installs!https://atom.io/packages/sync-settings#atomio – Roderick Gadellaa – Google+

I revisited this and it’s awesome.

Note that – as usual – when you sync settings for packages that have external dependencies, these dependencies depend on your platform of choice.

Which means that if for instance depend on Pandoc and you use both a Mac and Windows, you need Pandoc installations plus all dependencies on those platforms before syncing your settings.

–jeroen

Posted in atom editor, Power User, Text Editors | Leave a Comment »

»If files are 3 KB in size, does it make more sense to store them directly in a DB or does it make more sense to store only their path in the DB?«

Posted by jpluimers on 2018/02/27

On Linux, always remember the splice function makes direct data paths between handles very cheap, so storing it as files is better.

Be sure to read the discussions here:

–jeroen

Posted in Design Patterns, Development, Software Development | Leave a Comment »

Windows 10 auto-logout on <5 minutes of inactivity – Super User

Posted by jpluimers on 2018/02/26

This seems to work on other Windows versions as well: [WayBackWindows 10 auto-logout on <5 minutes of inactivity – Super User

Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016 | Leave a Comment »

calculate crc32 on the command-line using 7z.exe – Using 7-zip hashing to compare directories and files – Sami Lehtinen

Posted by jpluimers on 2018/02/26

Searching 7z.exe calculate crc32 didn’t return any meaningful results, but [WayBackUsing 7-zip hashing to compare directories and files – Sami Lehtinen did help me as I never noticed that somewhere along the line the h command got added to 7z.exe. It’s not even in the documentation, as found by searching for 7zip commandline arguments:

but it is in the command-line help, at least in versions 16.x:

C:\temp>"C:\Program Files\7-Zip\7z.exe" --help

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

Usage: 7z  [...]  [...]
       [<@listfiles...>]


  a : Add files to archive
  b : Benchmark
  d : Delete files from archive
  e : Extract files from archive (without using directory names)
  h : Calculate hash values for files
  i : Show information about supported formats
  l : List contents of archive
  rn : Rename files in archive
  t : Test integrity of archive
  u : Update files to archive
  x : eXtract files with full paths

–jeroen

Posted in 7zip, Compression, Power User | Leave a Comment »

Virtual Machine Startup and Shutdown Behavior – Proxmox VE

Posted by jpluimers on 2018/02/23

For my link archive as this is configured per VM on the VM level which is different from for instance ESXi: [WayBackVirtual Machine Startup and Shutdown Behavior – Proxmox VE

  • Start at boot yes/no
  • Start/Shutdown order: order=# (or any) up=## (or nothing)

–jeroen

Posted in Power User, Proxmox, Virtualization | 2 Comments »

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 »

Can you save money by using a battery to buy your electricity cheaper?

Posted by jpluimers on 2018/02/22

This is a reminder to write a longer post on [WayBack] Using batteries to save moneyWith the new Tesla factory, battery prices are expected to drop to 100$/KWh.This leads up to an interesting question.Can you save money by using a battery to buy your electricity cheaper?… – Kristian Köhntopp – Google+

By now it’s almost a year ago since I got my (City-Zen Smart City) battery. With about 50 households, we form a virtual energy provider that – because of size – can buy cheaper and sell higher than individual households.

Hopefully in a few months from now, I will have some figures that I can put into an article.

Bug me soon to start writing it (:

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »