- [WayBack] DIY Filament Sensor for your 3D Printer – Richard Hughes – Google+
- [WayBack] DIY Filament Sensor for your 3D Printer – DoorToDoorGeek “Stephen McLaughlin” – Google+
–jeroen
Posted by jpluimers on 2018/10/23
–jeroen
Posted in 3D printing, Development, Hardware Development, LifeHacker | Leave a Comment »
Posted by jpluimers on 2018/10/23
A very interesting thread at [WayBack] Do i need to create one TFormatSettings instance for each thread that needs it? If i want the same settings (for all threads), th… – Dany Marmur – Google+
It’s about:
Recommended reading!
It made me go back to these style guides (from oldest to newest):
And Stefan Glienke reminded me naming is always hard, so I found back these from a distant past:
Note most of the above Links point to (archives of) Delphi 2007 documentation as the behaviour is that old and that the below identifiers were not mentioned in the thread.
The FormatSettings variable was introduced in Delphi XE but only documented in XE2 and up.
Until that, other global variables like the [WayBack] SysUtils.DecimalSeparator Variable were used.
–jeroen
Posted in Delphi, Development, internatiolanization (i18n) and localization (l10), Software Development | Leave a Comment »
Posted by jpluimers on 2018/10/22
Wow, EUR 15 is almost half the price of an Raspberry Pi 3 B+:
[WayBack] RPI3-MODBP-POE RASPBERRY-PI, Add-On Board, Power over Ethernet (PoE) HAT for Raspberry Pi 3 Model B+ | Farnell UK
Via:
–jeroen
Posted in Development, Hardware Development, Power User, Raspberry Pi | Leave a Comment »
Posted by jpluimers on 2018/10/22
Medical devices are still vulnerable, five years after this became public:
Former US Vice President Dick Cheney’s doctors disabled his pacemaker’s wireless capabilities to thwart possible assassination attempts, he said in an interview with CBS’s ̶…
[WayBack] Doctors disabled wireless in Dick Cheney’s pacemaker to thwart hacking – Naked Security
I knew they were, but never realised Dick Cheney had a modified one implanted.
Some people are more equal to others…
via: the below video “Freedom In My Heart And Everywhere” from the linux.conf.au 2012 Keynote by Karen Sandler.
–jeroen
Posted in Development, Open Source, Power User, Security, Software Development | Leave a Comment »
Posted by jpluimers on 2018/10/19
When using git 2.19.1 on Windows, you will likely get a NullReferenceException during pull/push/fetch operations on https connections.
Easiest workaround is to downgrade to 2.19.0: [WayBack] git pull fatal: NullReferenceException encountered. On an local instance of Bitbucket · Issue #1868 · git-for-windows/git · GitHub
I am seeing the same thing using 2.19.1 against our internal Bitbucket server. Reverting back to 2.19.0 the problem no longer occurs.
Harder workaround is to install the Git Credential Manager 1.18.1: [WayBack] git pull fatal: NullReferenceException encountered. On an local instance of Bitbucket · Issue #1868 · git-for-windows/git · GitHub.
[WayBack] Release Git Credential Manager for Windows v1.18.1 · Microsoft/Git-Credential-Manager-for-Windows · GitHub
Bug Fixes:
- Fixes Null Reference exceptions when parameters or contentType are not populated
To install the Git Credential Manager, download and double-click the
GCMW-1.18.1.exeinstaller. It is that easy, it will even install Git for Windows 2.17.0 and the Microsoft .Net Framework for you if necessary.
Hopefully that one will integrated in a minor update to git for Windows soon: [WayBack] git pull fatal: NullReferenceException encountered. On an local instance of Bitbucket · Issue #1868 · git-for-windows/git · GitHub
moderately soon, hopefully, there will be a minor version release of Git for Windows that will include the updated GCM v1.18.1. [just need more volunteer time for the PR and tests ;-)
That should eliminate the `Fatal: NullReferenceException” but appears not to fix the #1874https://github.com/git-for-windows/git/issues/1874 delays. (still to hear from the OP if the issue is definitely the AV, or something elese)
If you really dare, you can try the nightly snapshot which already includes GCMW-1.18.1: [WayBack] git pull fatal: NullReferenceException encountered. On an local instance of Bitbucket · Issue #1868 · git-for-windows/git · GitHub
the next official Git for Windows version will have a new Git Credential Manager version. Also, the current snapshot at https://wingit.blob.core.windows.net/files/index.html should have it already.
–jeroen
Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »
Posted by jpluimers on 2018/10/18
All encryption comes down to a combination of key management and tooling.
With more and more communication projects going on, encryption of the secrets (passwords, API keys, etc) in configuration files, especially the ones that might end up in (sometimes public) repositories will need my attention some day.
My gut feeling is that an asymmetric solution might work best for these kinds of problems.
Here are some links:
–jeroen
Posted in Development, Encryption, Security, Software Development | Leave a Comment »
Posted by jpluimers on 2018/10/18
Some links on Indy SSL Perfect Forward Secrecy especially for the [WayBack] SSL_CTX_set_ecdh_auto method that was introduced in OpenSSL 1.0.2.
SSL_CTX_set_ecdh_auto as function, since in OpenSSL it is a macro)
SSL_CTRL_SET_ECDH_AUTO directly)Indy now has it built in: [WayBack] Patches from Jeroen Wiert Pluimers: · graemeg/indy@659f629 · GitHub (this is on a regular git mirror of the official Indy svn repository).
–jeroen
Posted in Delphi, Development, Indy, Software Development | 1 Comment »
Posted by jpluimers on 2018/10/18
[WayBack] How can I search for Delphi documentation? – Stack Overflow explains how I’ve been searching Delphi documentation for almost a decade.
I love how Google Search filters can be used, and even mentioning “docwiki” or “docwiki delphi” usually narrows your search down to the official documentation.
However, since a while, [Archive.is] docwiki.embarcadero.com/robots.txt disallows older indexing by search indexes or archiving in the WayBack machine.
So with older Delphi versions, I tend to archive using Archive.is instead:
For the most recent Delphi version, I archive both the non-versioned link and the versioned link. Depending on the unit naming, these URLs can be used:
–jeroen
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2018/10/17
The Delphi styling mechanism hard codes style paths for Delphi built-in styles.
During compilation, a .VRC file is generated for your project (in this example ProjectName.vrc which is a resource compiler script. This was introduced by Delphi 2007 (see: Pre-build trick does not work to circumvent [BRCC32 Error] xxx.vrc(1): error creating xxx.res (via: Embarcadero Discussion Forums & StackOverflow)), got extended over time and by now this script can includes at least:
For the latter, you can get errors like this one:
[BRCC32 Error] ProjectName.vrc(63): file not found: C:\Users\Public\Documents\RAD Studio\10.0\Styles\SlateClassico.vsf
The solution to this error is simple:
.vsf extension (in this case StateClassico)Example files :
/* ----- VS_VERSION.dwFileFlags ----- */
#define VS_FF_DEBUG 0x00000001L
#define VS_FF_PRERELEASE 0x00000002L
#define VS_FF_PATCHED 0x00000004L
#define VS_FF_PRIVATEBUILD 0x00000008L
#define VS_FF_INFOINFERRED 0x00000010L
#define VS_FF_SPECIALBUILD 0x00000020L
#define VS_FFI_FILEFLAGSMASK 0x0000003FL
/* ----- VS_VERSION.dwFileOS ----- */
#define VOS_UNKNOWN 0x00000000L
#define VOS_DOS 0x00010000L
#define VOS_OS216 0x00020000L
#define VOS_OS232 0x00030000L
#define VOS_NT 0x00040000L
#define VOS_WINCE 0x00050000L
#define VOS__BASE 0x00000000L
#define VOS__WINDOWS16 0x00000001L
#define VOS__PM16 0x00000002L
#define VOS__PM32 0x00000003L
#define VOS__WINDOWS32 0x00000004L
#define VOS_DOS_WINDOWS16 0x00010001L
#define VOS_DOS_WINDOWS32 0x00010004L
#define VOS_OS216_PM16 0x00020002L
#define VOS_OS232_PM32 0x00030003L
#define VOS_NT_WINDOWS32 0x00040004L
/* ----- VS_VERSION.dwFileType ----- */
#define VFT_UNKNOWN 0x00000000L
#define VFT_APP 0x00000001L
#define VFT_DLL 0x00000002L
#define VFT_DRV 0x00000003L
#define VFT_FONT 0x00000004L
#define VFT_VXD 0x00000005L
#define VFT_STATIC_LIB 0x00000007L
1 VERSIONINFO
FILEVERSION 1, 0, 124, 56
PRODUCTVERSION 1, 0, 0, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "FileVersion", "1.0.124.56\000\000"
VALUE "ProductVersion", "1.0.0.0\000\000"
VALUE "ProductName", "My server\000\000"
VALUE "CompanyName", "My company\000\000"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 1033, 1252
}
}
and
MAINICON ICON "MyProject_Icon.ico"
1 24 "MyProject.$manifest"
PLATFORMTARGETS RCDATA {1}
SlateClassico VCLSTYLE "C:\\Users\\Public\\Documents\\RAD Studio\\10.0\\Styles\\SlateClassico.vsf"
–jeroen
Posted in Delphi, Development, Software Development | 2 Comments »
Posted by jpluimers on 2018/10/17
Explains how to configure Nginx with SSL Passthrough on Linux or Unix-like system to encrypt traffic on all backends.
Uses the stream module ngx_stream_core_module.
Source: [WayBack] How to configure Nginx SSL/TLS passthrough with TCP load balancing – nixCraft
via: [WayBack] Learn how to setup TCP load balancing with Nginx and configure SSL Passthrough on Linux/Unix. – nixCraft – Google+
–jeroen
Posted in Communications Development, Development, HTTP, Internet protocol suite, TCP, TLS | Leave a Comment »