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

Top 25 Most Dangerous Programming Mistakes

Posted by jpluimers on 2019/01/15

10 years after the publication of the [WayBack] Top 25 Most Dangerous Programming Mistakes, the list for me is still the same.

You can see this from the CWE/SANS revisions: 1.0 in 2009 until 1.0.3 in 2011: not much changed.

Via: [WayBack] Top 25 Most Dangerous Programming Mistakes (2009) – Lars Fosdal – Google+

–jeroen

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

oath-toolkit / oath-toolkit · GitLab

Posted by jpluimers on 2019/01/15

Interesting library with ditto command-line tools: [Wayback/Archive] oath-toolkit / oath-toolkit · GitLab.

It allows you to perform all sorts of OAUTH operations from your code or terminal window including generation and verification of OAUTH tokens through [WayBackOATHTOOL.

Which allows you to do TOTP “zero fucktor” authentication. [WayBack/Archive] Zero Fucktor Authentication – Kristian Köhntopp – Google+: [WayBackZero Factor Authentication – The Isoblog.

The project has it’s home at [WayBackOATH Toolkit, but the repository has done some traveling and for now ended up at GitLab: [Wayback/Archiveoath-toolkit / oath-toolkit together with the web-site source [Wayback/Archive] oath-toolkit / website.

Edit 20230917

Read the rest of this entry »

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

Need to put some research in Google Calendar support for EXRULE and EXDATE

Posted by jpluimers on 2019/01/15

Though the Google Calendar UI does not support EXRULE and EXDATE to exclude certain slots (via dates or rules) from recurring events.

The API supports them: [WayBackGoogle Calendar API, RRULE and EXDATE – Stack Overflow

–jeroen

Posted in Communications Development, Development, Google, GoogleCalendar, HTTP, Internet protocol suite, Power User, REST, TCP | Leave a Comment »

In windows, can I redirect stdout to a (named) pipe in command line? – Super User

Posted by jpluimers on 2019/01/14

Interesting thought [WayBackIn windows, can I redirect stdout to a (named) pipe in command line? – Super User.

The only problem seems to be a good way of creating/removing those pipes.

–jeroen

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

Reminder to self: see how widespread support for the TCP BBR congestion control algorithm is.

Posted by jpluimers on 2019/01/14

The TCP BBR congestion control algorithm was introduced in September 2016 and became available in Linux kernel 4.9 in July 2017 after being in the news for a good 5 months (see links below). It strives for better bandwidth use and lowering latency on big data pipes.

This post is a reminder myself to see how widespread that is on recent distributions for both end-user and server systems.

Via:

–jeroen

Posted in Network-and-equipment, Power User | Leave a Comment »

E46: replace battery in car key

Posted by jpluimers on 2019/01/14

Two videos that show how to cut open the E46 diamond shaped car key to replace the battery are below.

Far cheaper than a ~ EUR 200 replacement key: [Archive.iswhat did you pay for your E46 diamond key replacement? – E46Fanatics

Parts needed:

  • Panasonic VL2020 Akku – http://amzn.to/2emKNVN or 2016 (non-rechargeable but should be compatible)
  • 66 12 2 155 753 BMW Schlüssel-Emblem

Tools needed:

  • Vise/Vice (German: Schraubstock)
  • very sharp knife
  • super glue

Related Related: door lock and key problems; FM Antenna problems

–jeroen

Read the rest of this entry »

Posted in cars, E46 320i touring, LifeHacker, Power User | Leave a Comment »

Life after Google+: an export tool that use the G+ API and runs on Google Firebase

Posted by jpluimers on 2019/01/14

Another follow up on Life after Google+ – Lars Fosdal:

[WayBack] GitHub – RomainVialard/Google-Plus-Community-Migrator

This repository presents a way to export posts from a Google+ community (in this case the Google Apps Script community), along with comments & likes (plusones) using the Google+ REST API and import them in a Firebase Database, then use Firebase Hosting to display those posts. To see a live result, simply open this URL: https://apps-script-community-archive.firebaseapp.com/

It depends on the G+ REST API (so it will die earlier than G+ itself) and hosts on Google.

Related:

–jeroen

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

Preventing sites to add themselves to the Google Chrome search engine list

Posted by jpluimers on 2019/01/11

For a long time, sites have been able to add themselves to the search engine list in Google Chrome.

 

The last one is my own, but hundreds of them are not.

I never noticed this until I needed to add some custom search engine strings to the list and found the UI is obnoxiously slow when there are hundreds of entries in that list.

It’s like the cookies editor: the editing speed decreases exponentially with the number of entries in that list.

The feature is called Tab to Search, apparently is intentional, based on the OpenSearch standard and well documented:

Many people dislike it though:

There are various ways around it documented in the last link.

This is the one I liked best: [WayBackDon’t add custom search engines – Chrome Web Store.

Via: [WayBack] Google Chrome: Remove all ‘Other Search Engines’ – Super User who also pointed me to the script below the signature ([WayBack] Remove chrome “other search engines” · GitHub), which likely needs this change:

penguin020 commented on Dec 22, 2017  

Just in case you are trying to use this with the (keep) mechanism, I think that the engine.modelIndex can get muddled if you do not refresh between runs of this script, possibly deleting engines you wish to keep.

UPDATE: if you reverse sort by modelIndex, this problem is obviated.

Add

val.others.sort(function (a, b) { return b.modelIndex - a.modelIndex; });

just after the .then.

–jeroen

Read the rest of this entry »

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

5 Simple Steps to Install Youtube Vanced Edition (No Root Needed) – Saint – watch without ads

Posted by jpluimers on 2019/01/11

Interesting [WayBack] 5 Simple Steps to Install Youtube Vanced Edition (No Root Needed) – Saint

You want to listen to your YouTube playlist in peace without any pesky ads and with a dark theme.YouTube Vanced is a pretty well known modded version of YouTube.

Via: [WayBack] Software-update: Pi-hole 4.0 – IT Pro – Downloads – Tweakers

–jeroen

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

How much is Google Cloud Latency between Regions?

Posted by jpluimers on 2019/01/11

Interesting post which links to an on-line overview of the current latencies:

Does anybody know about similar information about other big cloud providers like Amazon and Azure?

–jeroen

Posted in Cloud, GCP Google Cloud Platform, Infrastructure, Internet, Power User, SpeedTest | Leave a Comment »