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

Archive for the ‘Power User’ Category

pure-bash-bible/README.md – book for doing things in bash without external tools

Posted by jpluimers on 2018/09/21

[WayBack] pure-bash-bible/README.md at master · dylanaraps/pure-bash-bible · GitHub:

The goal of this book is to document known and unknown methods of doing various tasks using only built-in bash features. Using the snippets from this bible can help remove unneeded dependencies from scripts and in most cases make them faster. I came across these tips and discovered a few while developing neofetchpxltrm and other smaller projects.

The snippets below are linted using shellcheck and tests have been written where applicable. Want to contribute? Read the CONTRIBUTING.md. It outlines how the unit tests work and what is required when adding snippets to the bible.

See something incorrectly described, buggy or outright wrong? Open an issue or send a pull request. If the bible is missing something, open an issue and a solution will be found.

Via:

jeroen

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

Compressing and enhancing hand-written notes

Posted by jpluimers on 2018/09/21

Interesting tool:

I wrote a program to clean up scans of handwritten notes while simultaneously reducing file size.

Source: Compressing and enhancing hand-written notes [WayBack]

via:

Posted in Image Editing, Power User | Leave a Comment »

TJoe’s personal favorite in form, function, and simplicity… paper plane!

Posted by jpluimers on 2018/09/21


TJoe’s personal favorite in form, function, and simplicity.

Joe Heche is completely right:

  1. Just look at the plane.
  2. Then try to imagine how far it will go.
  3. Now watch the video below.
  4. Then compare it to how to build the longest flying paper plane building videos and flight videos after that.

Isn’t the one on the right brilliant?

Source: National Paper Airplane Day TJoe’s personal favorite in form, function, and simplicity…

Thanks Joe!

–jeroen

Read the rest of this entry »

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

20 things you didn’t know you could do with Search

Posted by jpluimers on 2018/09/20

After [WayBack] 20 years of Google: [WayBack] 20 things you didn’t know you could do with Search: Read the rest of this entry »

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

Vysor standalone downloads

Posted by jpluimers on 2018/09/19

I wrote about Vysor before, but totally forgot to mention that for like 2 years there have been (initially beta) standalone versions of Vysor based on the Electron framework that is also used by the Atom.io editor and Visual Studio code.

So here they are (:

Over time, these have been updated with new versions.

Web site source: https://github.com/koush/vysor.io

–jeroen

History:

Related:

Posted in Android, Android Devices, Development, Mobile Development, Power User, Vysor | Leave a Comment »

Locating the 7z.exe command-line tool on Windows

Posted by jpluimers on 2018/09/18

From one of my scripts: it will find a  64-bit 7z.exe if it was installed as part of the 7-zip installer, then run it with the parameters provided to the batch file.

  setlocal
  
:verify7zip
:: registry trick from http://www.robvanderwoude.com/files/sortdate2_nt.txt
:: extra trick: tokens=2* allows to get the  3rd (and beyond: space delimited!) value in one variable %%b
  for /F "tokens=2*" %%a IN ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip" /v Path64 2^>nul') do set sevenZipDirectoryPath=%%b
  call :checkMissingSetting sevenZipDirectoryPath     || goto :help
  
  set sevenZipExeFilePath=%sevenZipDirectoryPath%7z.exe
  if not exist "%sevenZipExeFilePath%" call :showError "No 7-zip executable at %sevenZipExeFilePath%" || goto :help
  
:run7zip
  "%sevenZipExeFilePath%" %*

  endlocal
  goto :end
  
:checkMissingSetting
  if not defined %1 call :notifyMissingSetting %1 && exit /b 1
  call :showSetting %1
  exit /b 0
  goto :end

:notifyMissingSetting
  echo Registry didn't provide the environment variable "%1"
  goto :end
  
:showError
  :: remove double quotes using tilde trick:
  echo %~1
  
:help
  echo Syntax: %0 7z.exe-commandline-parameters
  goto :end

:end

–jeroen

Posted in 7zip, Batch-Files, Compression, Development, Power User, Scripting, Software Development | Leave a Comment »

Do change your underwear often, but not your passwords. Keep both of your desk and do not share them with anyone.

Posted by jpluimers on 2018/09/18

Maastricht University got 2 out of 3: [WayBack] https://twitter.com/ml2mst/status/1030626908629811200 – Jeroen Wiert Pluimers – Google+

–jeroen

via [WayBack] Marti van Lin 🇳🇱 🇮🇱 on Twitter : “Some useful advice from @MaastrichtU #Security #passwords #computerintelligence 😂😂😂 cc: @nixcraft… “

https://twitter.com/ml2mst/status/1030626908629811200

 

Posted in Power User, Security | Leave a Comment »

(88) swopper office chair: how to assemble and adjust – YouTube

Posted by jpluimers on 2018/09/17

Interesting chair. Bit pricy, but I tried it and like it!

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Some interesting presentations by Arjen Kamphuis

Posted by jpluimers on 2018/09/17

The missing of [WayBackArjen Kamphuis (@ArjenKamphuis) | Twitter, made me revisit some of his past videos. In addition, I made the list quite a bit longer, as I was not aware he made so many presentations.

Many, but not all, of these videos are listed no YouTube video channel of Arjen Kamphuis.

Be sure to read the book Information Security for Journalists – Gendo he co-authored with Silkie Carlo.

–jeroen

 

Posted in Power User, Security | Leave a Comment »

Satellite internet is awfully slow for interactive use

Posted by jpluimers on 2018/09/17

A while back, Thomas Mueller assumed that Satellite internet could be an alternative for rural areas in Germany: [WayBack> Auch der Internet-Anschluss über Satellit funktioniere allenfalls quälend langsam <Das kommt mir aber ziemlich seltsam vor… – Thomas Mueller (dummzeuch) – Google+ as a response to [Archive.isTelekom-Posse: Wirt soll eine Million Euro für schnelles Internet zahlen – WELT.

So I summed up what throttling to 600 (optimistic) or 1000 millisecond (realistic) latency on a 10 megabit connection means: awfully slow for interactive use.

The problem with satellite based internet is latency times: 500 milliseconds is the physical minimum for a geostationary connection. It can easily double with overbooked connections (default with consumer DSL/Cable/Fiber).

The latency combined with the very chatty nature of most applications, is the real killer for your experience.

Compare that to my speeds 2 years ago: https://wiert.me/2015/10/05/fiber-to-fiber-speed-beats-cable-to-fiber-speed-by-a-factor-2-all-three-internet-connections-are-in-the-same-house/

I just did a comparison with the fiber connection at my brother (who lives some 20 miles away) and work too and re-checked the fiber connections in the article (they stayed the same).

  • fiber 1 = home
  • fiber 2 = home
  • fiber 3 = brother
  • fiber 4 = work

Traceroute results:

  • fiber 1 to fiber 2: 5 milliseconds
  • fiber 3 to fiber 2: 8 milliseconds
  • fiber 4 to fiber 2: 4 milliseconds
  • cable to fiber 2: 10 millseconds
  • ADSL to fiber 2: 15 millseconds

With these, you can have > 50 connections per second.

Satellite gives you 2 connections per second if you are lucky.

The blog page takes ~160 web requests.

  • DOM content load ~ 1.0 seconds
  • Full load finished ~2.2 seconds
  • Render finished ~5.0 seconds

I throttled it down to Satellite speed:

  • 10 megabit downstream
  • 2 megabit upstream
  • 600 millisecond latency

Now this is the load:

  • DOM content load ~ 2.9 seconds
  • Full load finished ~9.9 seconds
  • Render finished ~10.0 seconds

Increasing the latency to 1000 milliseconds brings this:

  • DOM content load ~ 4.2 seconds
  • Full load finished ~11.8 seconds
  • Render finished ~14.9 seconds

Fully loading gmail.com or booking .com with 1000 millisecond latency takes over 30 seconds.
References:

Read the rest of this entry »

Posted in Internet, Power User | 2 Comments »