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 July, 2016

tls – How can I verify that SSLv3 protocol is disabled? – Information Security Stack Exchange

Posted by jpluimers on 2016/07/25

Interesting:

just for completeness:

testssl.sh is a nice, console-based tool to check ssl-setups of any ssl/ts – enabled servers, in oposite to ssllabs

It helped me solving this:

Host: http://www.beginend.net

Reason: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

Within the testssl.sh directory, you can use this to test with many cyphers:

OPENSSL=./openssl-bins/openssl-1.0.2-chacha.pm/openssl32-1.0.2pm-krb5.chacha+poly ./testssl.sh www.example.com

–jeroen

via

Posted in *nix, https, OpenSSL, Power User, Security | Leave a Comment »

On the clusterfuck of USB standards and why USB-C cables in the end might be a good thing – Dutch Tweakers.net article

Posted by jpluimers on 2016/07/24

Interesting read: De veelbelovende warboel van usb-c – Achtergrond – Tweakers.

This Dutch article explains about the clusterfuck of USB standards and why USB-C cables in the end might be a good thing.

Watch your cables!

–jeroen

 

Posted in Hardware, Power User, USB, USB-C | Leave a Comment »

Windows 7+ RDP logon will only disconnect (not logoff) current user (XP would)

Posted by jpluimers on 2016/07/22

One of the things I figured out with Windows 7 and up is that when logging in over RDP an existing user would be disconnected unlike Windows XP that would logoff the existing user.

If you want them to logoff there are basically two options:

I will dig into the scripts one day as I’ve not needed this too often (I use Task Manager for now).

–jeroen

Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows XP | Leave a Comment »

Some links on Hyperthreading, ESXi and vSphere

Posted by jpluimers on 2016/07/22

In case I bump into vSphere/ESXi machines that have hyper threading (HT) enabled:

–jeroen

Posted in ESXi4, ESXi5, ESXi5.1, ESXi5.5, ESXi6, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »

delphi – Building Multi threaded TCP/IP Server – Stack Overflow

Posted by jpluimers on 2016/07/21

On the research list: TIdSchedulerOfThreadPool (now that TIdThreadMgrPool is gone).

Need to manage the lifetime of these as I don’t want the threads to live forever, but also don’t want to make the instantiation cost too high.

Most likely I want to wait for them to finish as well upon process exit, so this might be worth a look as well:

–jeroen

Source: delphi – Building Multi threaded TCP/IP Server – Stack Overflow

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

the curse of tooling replacing double quotation marks with left double quotation marks and right double quotation marks – via StackOverflow

Posted by jpluimers on 2016/07/21

Most developers I speak to have trapped into a case of copy/pasting some source code containing quotation marks from documentation or post immediately failing on curly quotes like left double quotation marks () and right double quotation marks () that should have been regular double quotation marks (").

I’ve tried to search for a way to automate the replacement process to “ASCII quotation marks”, but not found an on-line engine yet. The best I could find was this post: java – Replacing unicode punctuation with ASCII approximations – Stack Overflow.

Note it’s not only the auto-correct of office applications. For instance “blog engines” like WordPress do that too, unless you add a code or pre around them:

  • code: "blog engines"
  • pre:
    "blog engines"

Very irritating, but apparently nowadays beauty trumps accuracy.

–jeroen

via: xampp – Apache Prefixing Path to Virtual Hosts Path – Stack Overflow.

Posted in Development, Software Development, Source Code Management | Leave a Comment »

Workaround for “Visual Studio 2015 C++ Compiler Secretly Inserts Telemetry Code Into Binaries” – Slashdot

Posted by jpluimers on 2016/07/20

Reader edxwelch writes:

Reddit user sammiesdog discovered recently that Visual Studio 2015 C++ compiler was inserting calls to a Microsoft telemetry function into binaries. “I compiled a simple program with only main(). When looking at the compiled binary in IDA, I see a call fortelemetry_main_invoke_trigger and telemetry_main_return_trigger. I cannot find documentation for these calls, either on the web or in the options page,” he wrote. Only after the discovery did Steve Carroll, the dev manager for Visual C++ admit to the “feature” and posted a workaround to remove it.

A Microsoft spokesperson confirmed the existence of this behavior to InfoQ, adding that the company wil be removing it in a future preview build. For those who wish to get rid of it, the blog writes:

Users who have a copy of VS2015 Update 2 and wish to turn off the telemetry functionality currently being compiled into their code should add notelemetry.obj to their linker command line.

Quoted in full as I’m baffled.

Source: Visual Studio 2015 C++ Compiler Secretly Inserts Telemetry Code Into Binaries – Slashdot

via: Dear developers, I thought you should know. Yours, privacy. http://m.slashdot.org/story/312289Jan Wildeboer – Google+

–jeroen

Posted in C++, Development, Software Development, Visual Studio C++ | 1 Comment »

Diffie-Hellman Key Exchange – YouTube

Posted by jpluimers on 2016/07/20

Great explanation of Diffie-Hellman Key Exchange – YouTube.

It is based on mixing colors and some colors of the mix being private.

Brilliant!

–jeroen

Posted in Algorithms, Development, Encryption, Hashing, https, OpenSSL, Power User, Public Key Cryptography, Security, Software Development | Leave a Comment »

Delphi packages I have disabled by prefixing their description with an underscore (and why)

Posted by jpluimers on 2016/07/19

There is a little trick to disable “Known IDE Packages”: you can stop Delphi from loading one by either making “Value data” of the registry blank, or prepending it with an underscore:

packages that might have been disabled, by checking any string entries where the data has been pre-pended with an underscore OR is blank

[WayBackAccess violation at address 00000000 read of address 00000000, when starting the IDE or opening a project after installing the updates

I’ve pre-pended underscores to some packages in the registry key [HKEY_CURRENT_USER\Software\Borland|Codegear|Embarcadero\BDS|Delphi\#.0\Known IDE Packages] and intend to keep the list below updated over time.

Note that you have to prepend the description with an underscore: it is not sufficient to add these to [HKEY_CURRENT_USER\Software\Borland|Codegear|Embarcadero\BDS\#.0\Disabled Packages].

Empirically, the Disabled Packages seem to work only for packages starting with dcl in their filename.

Read the rest of this entry »

Posted in Castalia, Conference Topics, Conferences, Delphi, Delphi XE8, Development, Event, Keyboards and Keyboard Shortcuts, Power User, Software Development | 5 Comments »

A New Parser Generator for C# – CodeProject

Posted by jpluimers on 2016/07/19

A while ago I bumped into this interesting bit: LLLPG (Loyc LL(k) Parser Generator) is a new recursive-decent parser generator for C#, with a feature set better than ANTLR version 2.

–jeroen

via:

Posted in .NET, C#, Development, Software Development | Leave a Comment »