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 2017

bash – cheatsheet to choose between ; or && or || or & via Ask Ubuntu

Posted by jpluimers on 2017/02/26

Cheatsheet:

A; B    Run A and then B, regardless of success of A
A && B  Run B if A succeeded
A || B  Run B if A failed
A &     Run A in background.

Source: bash – Which one is better: using ; or && to execute multiple commands in one line? – Ask Ubuntu [WayBack]

Thanks Jack [WayBack] for the initial answer ubfan1 [WayBack] for getting the formulation right, Hatshepsut [WayBack] for making it a readable cheat-sheet and leftaroundabout [WayBack] for making this brilliant addition using parenthesis which can be used for all permutations:

(A && B) &     In the background: run B if A succeeded

–jeroen

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

Change your passwords and 2FA on a bucketload of sites because of 1139 – cloudflare: Cloudflare Reverse Proxies are Dumping Uninitialized Memory – project-zero – Monorail

Posted by jpluimers on 2017/02/25

There are many sites potentially affected by the recently uncovered cloudflare memory leak bug below.

Read this list to get an impression: [WayBacksites-using-cloudflare/README.md at master · pirate/sites-using-cloudflare

Basically you should change your passwords, 2FA authorisations and any other security hooks going through these sites. There are 1000s of them, including many major sites.

The reason for being so cautious is that the leaks have been cached on many systems, including Google Search. Many providers have scrubbed caches, but the information could still be in some caches, or the caches of end-user machines.

Background reading:

–jeroen

Posted in Power User, Security | Leave a Comment »

Friday fun: Bluetooth Driver installation progress dialogs – via reddit ProgrammerHumor

Posted by jpluimers on 2017/02/24

[WayBack] “So I was trying to install a Bluetooth Driver today… the developer of this program apparently had a little fun with the installation progress dialogs.

Via: [WayBack] So someone tried to install a Bluetooth driver on a Windows machine Source: https://redd.it/5vk3em – This is why I Code – Google+

Read the rest of this entry »

Posted in Fun | Leave a Comment »

Ultimate Micro Releases the Universal PSU Kit and Upgrade – Call-A.P.P.L.E.

Posted by jpluimers on 2017/02/24

I might buy this as a preventive measure: Ultimate Micro Releases the Universal PSU Kit and Upgrade – Call-A.P.P.L.E. [WayBack]

Videos of how to install are below.

–jeroen

Read the rest of this entry »

Posted in //e, 6502, Apple, History, Power User | Leave a Comment »

PSA: If you were signed out of your Google account tonight, don’t worry [Update] – 9to5Google

Posted by jpluimers on 2017/02/24

I had to re-logon to my mobile phone, but not my web browser. It seems this was due to a glitch at Google, but doesn’t remove my suspicion when I see this message come up in the future. So I did check account activity at these links:

More background here: [WayBackPSA: If you were signed out of your Google account tonight, don’t worry [Update] – 9to5Google

Via: [WayBack] Ah that explains it. – Roderick Gadellaa – Google+

–jeroen

 

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

“Default” birth days

Posted by jpluimers on 2017/02/24

A while ago I overheard an HR conversion about birth-date spreads which went into a topic on “default” birthdays being especially common in countries where the exact day of birth didn’t matter much. I got curious, so I dug up some links:

I remember a very long time ago seeing someones passport with zero as the birthday. Boy I wish I had taken a picture back then.

–jeroen

Posted in LifeHacker, Power User | 1 Comment »

SHAttered – stop using SHA-1; it’s broken

Posted by jpluimers on 2017/02/24

We have broken SHA-1 in practice.

This industry cryptographic hash function standard is used for digital signatures and file integrity verification, and protects a wide spectrum of digital assets, ranging credit card transactions, electronic documents, open-source software repositories and software updates.

It is now practically possible to craft two colliding PDF files and obtain a SHA-1 digital signature on the first PDF file which can also be abused as a valid signature on the second PDF file.

For example, by crafting the two colliding PDF files as two rental agreements with different rent, it is possible to trick someone to create a valid signature for a high-rent contract by having him or her sign a low-rent contract.

–jeroen

Posted in Encryption, Hashing, Power User, Security, SHA | Leave a Comment »

Delphi sorcery: Generics, modules and typeinfo

Posted by jpluimers on 2017/02/23

the release of 1.2 is almost there! We are working hard to deliver it shortly after the next Delphi release which will happen … soonish, I think. ;)

The release/1.2 branch has been around for a while – please take a look if you haven’t already. It contains a lot of new features and bugfixes. I will tell you more about some of the amazing features next time which won’t take as long as it took since the last blog post – promise. :)

Apart from a very interesting take on DI resolvers, the above great info too!

Please take a look at spring4d/branch/release/1.2 as it has been very stable for quite some time.

Source: [WayBack]: Delphi sorcery: Generics, modules and typeinfo

–jeroen

via: [WayBack] Finally some blog article again ;) – Stefan Glienke – Google+

Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | Leave a Comment »

Delphi, resource files and includes – some links

Posted by jpluimers on 2017/02/23

Some links that were useful getting back into using Delphi with resource scripts and include files:

Maybe I should have considered this alternative:

–jeroen

PS: a first go on a resource file structure for Version Information is below.

Read the rest of this entry »

Posted in Delphi, Development, QC, Resource Files and Scripts (.res/.rc), Software Development | Leave a Comment »

AllPro Adapter – open source ODBII adapter for car monitoring

Posted by jpluimers on 2017/02/23

One day I’ll dig in this ODB2 adapter to see how this open source project has evolved: AllPro Adapter

Now that’s a nice project. Open Source/Open Hardware OBD II adapter for your car. http://www.obddiag.net/allpro.html #OpenIsDefault – Jan Wildeboer – Google+

Read the rest of this entry »

Posted in Development, Hardware Development | Leave a Comment »