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, 2019

Outlook 2013 cannot logon to gmail any more

Posted by jpluimers on 2019/09/20

A problem on a PC I did not use often: as of a sudden, Outlook 2013 could not access a gmail account any more.

Luckily, Outlook showed me this message in a dialog box:

Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)

This directed me to [WayBack] Use IMAP to check Gmail on other email clients – Gmail Help

In turn that pointed to [WayBack] Let less secure apps access your account – Google Account Help

Finally that one indicated the configuration page changed to https://myaccount.google.com/lesssecureapps

This is similar to the cause of “the user name or password for imap.gmail is incorrect” – iPad, iPod or iPhone with iOS < 7

It all comes down to gmail forcing OAUTH2: [WayBack] tls – Why doesn’t outlook 2013 meet modern security standards? – Information Security Stack Exchange

–jeroen

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

Google YouTube Keyboard Shortcuts – Windows – U-M Google

Posted by jpluimers on 2019/09/20

Cool table via the University of Michigan’s Google Apps for Education [Archive.is/WayBack]:

Note: These shortcuts will only work when the video player is in focus. To move the focus try pressing the spacebar to pause and then play the video.

Action Shortcut
Toggle play/pause the video
k or Spacebar
Go back 5 seconds
Left arrow
Go back 10 seconds
j
Go forward 5 seconds
Right arrow
Go forward 10 seconds
l
Skip to a particular section of the video (e.g., 5 goes to the video midpoint)
Numbers 1-9 (not the keypad numbers)
Restart video
0 (not the keypad number)
Go to Full Screen mode f
Exit Full Screen mode
Escape
Go to beginning of video
Home
Go to end of video
End
Increase volume 5%
Up arrow
Decrease volume 5%
Down arrow
Increase speed
Shift+> (may not work in all browsers)
Decrease speed
Shift+< (may not work in all browsers)
Move forward 1 frame when video is paused . (period)
Move backward 1 frame when video is paused , (comma)
Mute/unmute video m
Turn captions on/off c
Cycle through options for caption background color b

 

Posted in Google, Power User, SocialMedia, YouTube | Leave a Comment »

Dave’s Development Blog – Using CodeSite on interfaced objects

Posted by jpluimers on 2019/09/20

Reminder to self: [WayBackDave’s Development Blog – Using CodeSite on interfaced objects:

Note to self…

If using CodeSite to log Constructor and Destructor behaviour on interfaced objects, make sure its the first unit in the project so that it is the first unit initialised AND THE LAST unit finalised!

This will save you hours and hours hunting down shutdown AVs 🙁

Or in my projects, the uses list in the Delphi project should be this order:

  1. FastMM4Bootstrap
  2. CodeSite

Via: [WayBackUsing CodeSite on interfaced objects  – David Hoyle – Google+

–jeroen

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

Hi, We need to implement a functionality in our VCL application where the user…

Posted by jpluimers on 2019/09/19

In recent Delphi versions one is encouraged to use the routines from System.NetEncoding. Also Soap.EncdDecd is only a wrapper to them. Even if you use the stream based implementations the whole stream is read into a TBytes. So no real gain there any more.

Source: [WayBackHi, We need to implement a functionality in our VCL application where the user…

Related:

–jeroen

Posted in Delphi, Development, SOAP/WebServices, Software Development | Leave a Comment »

LED Voltage Drops

Posted by jpluimers on 2019/09/19

[WayBackDangerous Prototypes: Basic Light Emitting Diode guide – Voltage drop or forward voltage has a nice table of common LED types:

You can also measure them yourself using most multi-meters have setting for that as described in [WayBack] Easy way to figure out a LED’s Vf in order to pick an appropriate resistor – Electrical Engineering Stack Exchange

You can also measure yourself, but my Proster VC99 multi-meter (cheap, but functions well, see for instance the review in [WayBack] MagPi issue 43) can measure voltage drop, so I’ve measured some LEDs from old PC cases:

  • Red: 1.8 V
  • Yellow: 1.8 V
  • Green: 1.8 V
  • Blue: does not measure

Given that they all have the same voltage drop, I made the below table with some resistor values to get the same current through them on various voltages (3.3V, 5V and 12V) based on Standard resistor values.

Note anything less than 20mA of current usually is OK (though 20mA often is on the bright side).

LED Colour Voltage drop (Vf) Total Voltage Remaining Voltage Resistance Ω Current mA Power mW
Any 1.8 5 3.2 220 14.55 46.55
Any 1.8 12 10.2 680 15.00 153.00
Any 1.8 3.3 1.5 100 15.00 22.50
Any 1.8 5 3.2 330 9.70 31.03
Any 1.8 12 10.2 1000 10.20 104.04
Any 1.8 3.3 1.5 150 10.00 15.00
Any 1.8 5 3.2 470 6.81 21.79
Any 1.8 12 10.2 1500 6.80 69.36
Any 1.8 3.3 1.5 220 6.82 10.23

Background for doing these calculations:

–jeroen

Read the rest of this entry »

Posted in Development, Hardware Development | Leave a Comment »

Product Discovery Anti-Patterns Leading to Failure

Posted by jpluimers on 2019/09/19

Learn more about the product discovery anti-patterns that can manifest themselves when you try to fill Scrum’s product discovery void. #agileantipatterns #productdiscovery #productroadmap

Source: [WayBackProduct Discovery Anti-Patterns Leading to Failure

Via: [WayBack] Product Discovery Anti-Patterns Leading to Failure – Marjan Venema – Google+

–jeroen

 

Posted in Agile, Development, Scrum, Software Development | Leave a Comment »

GitHub – ultraware/DelphiGrpc: DelphiGrpc is a Delphi implementation of the realtime and streaming gRPC protocol (http://grpc.io).

Posted by jpluimers on 2019/09/18

For my link list: [WayBack] GitHub – ultraware/DelphiGrpc: DelphiGrpc is a Delphi implementation of the realtime and streaming gRPC protocol (http://grpc.io).

The following libraries are used:

Via [WayBack] Interesting finding today – DelphiGrpc – a grpc.io implementation in Delphi – Edwin Yip – Google+

–jeroen

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

Why prod is down…

Posted by jpluimers on 2019/09/18

From [WayBack] imgur: Why Prod is Down

Downloads:

Via:

–jeroen

Read the rest of this entry »

Posted in Agile, Cloud, Cloud Development, Development, Infrastructure, Software Development | Leave a Comment »

PyGotham keynote: The Other Async (Threads + Async = ❤️)

Posted by jpluimers on 2019/09/18

Interesting talk:

Published on Oct 8, 2017

Screencast of my keynote presentation at PyGotham 2017, New York City. October 7, 2017. In this live-coded talk, I build a queue object that spans the world of threads and asyncio with a single unified API.

Via [WayBack] The Other Async (Threads + Async = ❤️) – screencast of David Beazley’s keynote at PyGotham 2017 – ThisIsWhyICode – Google+

–jeroen

Read the rest of this entry »

Posted in Development, Python, Scripting, Software Development | Leave a Comment »

Using Image Encoders and Decoders in Managed GDI+ | Microsoft Docs

Posted by jpluimers on 2019/09/17

I forgot who pointed me to this, but it will be useful the next time I need to do image export/import in .NET or GDI+ [WayBackUsing Image Encoders and Decoders in Managed GDI+ | Microsoft Docs.

GDI+ has built-in encoders and decoders that support the following file types:

  • BMP
  • GIF
  • JPEG
  • PNG
  • TIFF

GDI+ also has built-in decoders that support the following file types:

  • WMF
  • EMF
  • ICON

–jeroen

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