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

Archive for September, 2018

YouTube video how to use DDetours library to hook Win32 API in Delphi

Posted by jpluimers on 2018/09/18

via [WayBack] Just was sneaking around YouTube and found this video showing how to use DDetours library to hook Win32 api. – Mahdi Safsafi – Google+

–jeroen

Read the rest of this entry »

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

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!

https://www.youtube.com/watch?v=K2BX_BNAaBk

–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 »

When Windows 8.1 gives 80070643 on applying Office 2013 SP1

Posted by jpluimers on 2018/09/17

Steps to try first:

  1. Check %windir%\Windowsupdate.log (on my system, it did not reveal anything special)
  2. In an administrator command prompt, run sfc /scannow (which takes a few minutes to run)
  3. Reboot
  4. Run Clean Manager %windir%\System32\cleanmgr.exe (ensure to clean up update files: it can take tens of minutes to run)
  5. Reboot
  6. Download the SP1 files (I needed 32-bit x86)
  7. Install SP1 manually
  8. If it still hangs:
    1. In Appwiz.cpl try a “Repair” of the Office 2013 installation
    2. If it works: Reboot, otherwise:
      1. Uninstall Office 2013
      2. Disable the network adapter
      3. Reboot
      4. Check if KB3173424 is installed (check it with Appwiz.cpl)
        1. if not: download on a different machine, transfer over USB, install, then reboot
      5. Check ifKB3172614 is installed (which has a younger Windows Update Client)
        1. if not: downloadon a different machine, transfer over USB, install, then reboot
      6. Enable the network adapter
      7. Let Windows scan for updates and install them
        1. If you get an error 80070463 or 80070663: just reboot and retry the updates.
      8. Reboot
      9. Run Clean Manager
      10. Install Office 2013
      11. Reboot
  9. Let Windows scan for updates and install them
  10. Reboot
  11. Run Clean Manager
  12. Reboot

The KB3172614 should also alleviate long during (dozens of minutes) high CPU usage of svchost.exe and TiWorker.exe when searching for Windows updates.

Read the rest of this entry »

Posted in Office, Office 2013, Power User, Windows, Windows 8.1 | Leave a Comment »

Not cool: openSuse Tumbleweed switched DHCP clientID algorithm on Raspberry Pi 3, so now all devices get a non-static DHCP address

Posted by jpluimers on 2018/09/15

Not sure in which changeset this happened, but here is one example:

  1. old DHCP client ID 1:b8:27:eb:1a:b1:ec
  2. new DHCP client ID ff:eb:78:a9:4:0:1:0:1:22:6:67:49:b8:27:eb:78:a9:4

The first one was marked static in the DHCP server, which means the Raspberry Pi now did get a different IP address.

This messes up a few places that cannot do proper address resolution.

Anyone who knows where this has changed / is configured?

These did not help finding the cause:

Edit

As commented by Leen below, this is about

Wicked changed its defaults to use this DHCPv6 compatible RFC4361 client-id in favour of the older RFC2132 client-id. However, this has caused some issues with older DHCPv4 servers and existing setups where the client-id stored by the server is used to assign a (static) address. It is recommended to fix this server-side, but still, wicked provides several ways of addressing this issue

So here are some links:

–jeroen

Posted in *nix, Hardware Development, Linux, openSuSE, Power User, Raspberry Pi, SuSE Linux, Tumbleweed | 6 Comments »

Google Chrome Web Browser 69 changes

Posted by jpluimers on 2018/09/15

[WayBack] Google Chrome Web Browser 69 changes: most are not talked about (like excess whitespace, address bar search algorithm changes).

–jeroen

Posted in Chrome, Chrome, Google, Power User, Web Browsers | Leave a Comment »

Just in case you are wondering where these “Trending on Google” posts in your stream come from…

Posted by jpluimers on 2018/09/14

[WayBack] Just in case you are wondering where these “Trending on Google” posts in your home stream come from and how to get rid of them: https://plus.google.com/settings… – Thomas Mueller (dummzeuch) – Google+

For my link archive:

https://plus.google.com/settings

–jeroen

Posted in G+: GooglePlus, Google, Power User | Leave a Comment »

XS4ALL Software download site

Posted by jpluimers on 2018/09/14

When you want to download actual known amounts of bytes, then use the [Archive.isXS4ALL Software download site which has plenty of files in both sizes that are powers of 1024 and powers of 1000, so you can use the units that fits you best:

I usually run commands like these:

traceroute download.xs4all.nl & wget -O /dev/null http://download.xs4all.nl/test/2GiB.bin

traceroute download.xs4all.nl & wget -O /dev/null http://download.xs4all.nl/test/10GiB.bin

The first is for speeds up to ~100 megabit/second, the latter for speeds up to ~1 gigabits/second; wget examples based on [WayBacklinux – How do I request a file but not save it with Wget? – Stack Overflow.

From the xs4all shell servers, you have about 1 gigabit speed. At home it is about 80 gigabit.

Since the download is over a longer period of time, you get a better estimate of average speeds than regular speedtest varieties do.

[ ]100MB.bin               2014-05-28 22:18   95M  
[ ]100MiB.bin              2014-05-28 22:18  100M  
[ ]100mb.bin               2014-05-28 22:18   95M  
[ ]10GB.bin                2014-05-28 22:20  9.3G  
[ ]10GiB.bin               2014-05-28 22:20   10G  
[ ]10MB.bin                2014-05-28 22:19  9.5M  
[ ]10MiB.bin               2014-05-28 22:19   10M  
[ ]10gb.bin                2014-05-28 22:20  9.3G  
[ ]10mb.bin                2014-05-28 22:19  9.5M  
[ ]1GB.bin                 2014-05-28 22:20  954M  
[ ]1GiB.bin                2014-05-28 22:20  1.0G  
[ ]1MB.bin                 2014-05-28 22:19  1.0M  
[ ]1MiB.bin                2014-05-28 22:19  1.0M  
[ ]1gb.bin                 2014-05-28 22:20  954M  
[ ]1mb.bin                 2014-05-28 22:19  1.0M  
[ ]200MB.bin               2016-08-03 13:35  191M  
[ ]200MiB.bin              2016-08-03 13:35  200M  
[ ]2GB.bin                 2014-05-28 22:21  1.9G  
[ ]2GiB.bin                2014-05-28 22:21  2.0G  
[ ]2gb.bin                 2014-05-28 22:21  1.9G  
[ ]500MB.bin               2016-08-03 13:36  477M  
[ ]500MiB.bin              2016-08-03 13:35  500M

–jeroen

Posted in Internet, ISP, LifeHacker, Power User, SpeedTest, xs4all | Leave a Comment »