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 2020

How Douglas Engelbart Invented the Future | Innovation | Smithsonian

Posted by jpluimers on 2020/01/15

Two decades before the personal computer, a shy engineer unveiled the tools that would drive the tech revolution

Don’t read this as a historic piece, but as the potential we are still going to experience what was not just sketched by a true visionary in 1968, but also demonstrated back then: [Archive.isHow Douglas Engelbart Invented the Future | Innovation | Smithsonian.

I am including one of the pictures below by Christie Hemm Klok that shows how far Engelbart was ahead of his time: not his initial invention of an input device (the mouse) “chord” kind.

After that, read about his 1968 presentation: The Mother of All Demos – Wikipedia

Finally, watch the video below, well worth watching the more than one and a half hours.

–jeroen

Via:

Read the rest of this entry »

Posted in Development, Future, Hardware, History, Network-and-equipment, Power User, Software Development | Leave a Comment »

Debugging a stackexchange memory leak while transitioning to .NET Core: by @Nick_Craver

Posted by jpluimers on 2020/01/14

Cool thread with steps (windbg) tooling and graphs: this is how you approach problem solving.

Easiest to read: [WayBack] Thread by @Nick_Craver: “Well hello there memory leak…let’s see what you are. It’s times when I type !dumpheap without an argument that cals. Alrighty, let’s see what these little guys are: Quite a bit of repetition in here – let’s root some of the […]”

Twitter thread below the fold.

[WayBackNick Craver on Twitter: “So let’s form our dictionary in batches EF Core will load, like this. We can lower our SQL roundtrips to n / 1000 + relevant changes. It’s more SQL trips than our original 1, but we aren’t needlessly loading a million users into memory. We load about 0.3% of that instead.… https://t.co/wgHpWgCoJH”

Tooling:

Related: Some notes/links on Windows Debugging CLR applications

A good WinDbg introduction is [WayBack] Getting Started with WinDbg (User-Mode) | Microsoft Docs.

Note that temp tables in SQL Server might look nice, but actually do not scale well: [WayBack] Lucas Trzesniewski on Twitter: “I’ve found out the following massively improves performance over queries with an IN clause with lots of parameters: – Open a transaction – Create a temp table – Bulk insert your IDs into the temp table – Inner join your query on the temp table And you only make a single query.… https://t.co/anwGSrxRqh”

–jeroen

Read the rest of this entry »

Posted in .NET, .NET Core, .NET Core, .NET Standard, Development, Software Development | Leave a Comment »

Delphi Datasnap: How to know the name of the methods called by client in delphi datasnap server?

Posted by jpluimers on 2020/01/14

A great tip from [WayBack] Hi, need help regarding Datasnap. How to know the name of the methods called by client in delphi datasnap server? – sujansiddhi – Google+ that I needed a few months ago:

Walter Prins:

Inside TDSAuthenticationManager.OnUserAuthorize, inspect the EventObject.MethodAlias property. (Obviously once the method is actually called you implicitly know the methodname.)

This was introduced in Delphi XE:

–jeroen

Posted in Delphi, Development, Software Development | Leave a Comment »

I’m harvesting credit card numbers and passwords from your site. Here’s how.

Posted by jpluimers on 2020/01/14

Below is one of the reasons I try to stay on the back-end side of things. Those are complex enough to focus on for me.

[WayBackI’m harvesting credit card numbers and passwords from your site. Here’s how.

It basically comes down to:

  • anything in the same page has access to anything happening on that page.
  • be careful when using npm and ad networks.
  • perform security operations in a light-weight iframe that is scrutinized.

The source of any npm package might be different from the source you find in a the underlying repository. This recursively holds for all the other npmit pulls in.

–jeroen

via: [WayBackJeroen Wiert Pluimers – Google+

Posted in Development, Power User, Security, Software Development, Web Development | Leave a Comment »

CSL Bearware 302658 DCF clock manual

Posted by jpluimers on 2020/01/13

The manual for the CSL Bearware 302658 clock that uses the DCF77 signal is at [WayBack] Bearware_Manual-302658-20161220FZ004.pdf.

I like the relatively large 3.3 inch display and the blue background.

You can get the clock here:

More on the signal, transmitter and encoding: DCF77 – Wikipedia.

–jeroen

Read the rest of this entry »

Posted in DCF77, DCF77, Development, Encoding, Hardware, LifeHacker, Power User, Software Development | Leave a Comment »

New-Age Bullshit Generator and other “sources” of New Age

Posted by jpluimers on 2020/01/13

We are in the midst of a cosmic flowering of synchronicity that will remove the barriers to the dreamscape itself.

If you want/need/hate some of this New-Age stuff, then use either of these sources:

To quote the first:

So, what is this for? Put it on your website as placeholder text. Print it out as a speech for your yoga class and see if anyone can guess a computer wrote it. Use it to write the hottest new bestseller in the self-help section, or give false hope to depressed friends and family members.

–jeroen

Via: [WayBack] Tumblr of the Day is the New Age Bullshit generator. H/t +Harald Wagener​ – Kristian Köhntopp – Google+

Posted in LifeHacker, Power User | Leave a Comment »

a perf cheat sheet from @brendangregg’s fantastic web page;  you can print it as PDF

Posted by jpluimers on 2020/01/13

From a while back: [WayBack⚡Julia Evans⚡ on Twitter : made a perf cheat sheet from @brendangregg’s fantastic brendangregg.com/perf.html you can print it at …

References:

The latter has a lot of examples and even more explanation all around the below picture.

–jeroen

Read the rest of this entry »

Posted in *nix, *nix-tools, Development, Linux, Power User, Profiling-Performance-Measurement | Leave a Comment »

UX design: doe geen pijltje onderaan een pagina als verder scrollen zinloos is

Posted by jpluimers on 2020/01/10

[WayBack] Jeroen Pluimers on Twitter: “Altijd handig zo’n pijltje onderaan de pagina die suggereert dat je nog niet klaar bent met lezen, maar niets blijkt te doen #mijnpensioenoverzicht user experience #fail https://t.co/sx04ndwgM6… https://t.co/GmHJzZhpbO”

–jeroen

Posted in Power User, Usability, User Experience (ux) | Leave a Comment »

Commander One review: A superior alternative to Android File Transfer on Mac

Posted by jpluimers on 2020/01/10

On my list of software to try: [WayBackCommander One review: A superior alternative to Android File Transfer on Mac

Via: [WayBack] Looks like a must-have for anyone using a Mac (with MacOS) and an Android phone. – Roderick Gadellaa – Google+

–jeroen

Posted in Android, Android Devices, Apple, Development, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, macOS 10.13 High Sierra, Mobile Development, Software Development | Leave a Comment »

Some people still don’t know they should apply the Crucial Firmware Update For Crucial m4 SSD BSOD

Posted by jpluimers on 2020/01/10

Luckily I was watching over the shoulder of a friend when his hung as it was a while ago I had encountered issues like that.

Sometimes the system would get in trouble without warning: the machine would just hang. No Windows Event log or other place where we could trace back the origin.

I suspected failing hardware because it was similar to other machines I had seen: memory, loose connectors or power issues came to mind first.

After about a week of trial and error I decided to check SMART status. HDTune did not warn of anything special. SmartCtl however did:

This drive may hang after 5184 hours of power-on time:
http://www.tomshardware.com/news/Crucial-m4-Firmware-BSOD,14544.html
See the following web pages for firmware updates:
http://www.crucial.com/support/firmware.aspx
http://www.micron.com/products/solid-state-storage/client-ssd#software

The relevant links (I prefer the WayBack links as at times the site is very slow) are below.

After upgrading the firmware, the problems were gone.

version compatible products download
070H Crucial m4 2.5-inch (7mm & 9.5mm) SSD Windows® 7 Updater Application

[WayBack] download firmware

[WayBack] instruction guide

Windows® 8 Updater Application

[WayBack] download firmware

[WayBack] instruction guide

Manual Boot File for Windows and Mac®

[WayBack] download firmware

[WayBack] instruction guide

Release Date: 04/02/2013

Firmware 070H is recommended for anyone currently running 040H or previous firmware releases. It includes incremental improvements and refinements over these versions which may improve the overall user experience.

Like recent firmware versions, version 070H has improvements over versions 000F which are specific for Windows 8 and new UltraBook systems, although systems running Windows 7 and other operating systems may also see improvements. Any m4 firmware
version will function normally in Windows 8, even without these performance improvements.

The following is a summary of changes between 040H and 070H, which are independent of operating system:

  • Resolved a power-up timing issue that could result in a drive hang, resulting in an inability to communicate with the host computer. The hang condition would typically occur during power-up or resume from Sleep or Hibernate. Most often, a new
    power cycle will clear the condition and allow normal operations to continue. The failure mode has only been observed in factory test. The failure mode is believed to have been contained to the factory. This fix is being implemented for all new
    builds, for all form factors, as a precautionary measure. The fix may be implemented in the field, as desired, to prevent occurrence of this boot-time failure. To date, no known field returns have been shown to be related to this issue. A failure
    of this type would typically be recoverable by a system reset.

Additional details can be found in the firmware guide

–jeroen

Read the rest of this entry »

Posted in Hardware, Power User | Leave a Comment »