I forgot to schedule the post below. It is still relevant if you create a machine with lots of Delphi versions on it.
Archive for the ‘.NET’ Category
VM disk sizes
Posted by jpluimers on 2018/06/29
Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, Database Development, Delphi, Delphi 2007, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Firebird, InterBase, Power User, Software Development, Windows, Windows 8 | 2 Comments »
I wish the Delphi language supported multi-line strings
Posted by jpluimers on 2018/06/21
Very often, I see people ask for how to embed multi-line strings in a Delphi source file.
The short answer is: you can’t.
The long answer is: you can’t and if you want you have to hack your way around.
The answer should be: just like any of these languages that do support multiline strings:
- Python
- embed them with triple single quotes or triple double quotes: [WayBack] 3. An Informal Introduction to Python — Python 3.6.1 documentation – strings
- JavasScript
- as of ECMAScript 6, you can use backticks: [WayBack] Template literals – JavaScript | MDN
- Ruby
- Via the Here Documents syntax: [Archive.is] File: literals.rdoc [Ruby 2.2.0] – Here Documents
- C#
- By prepending the opening double quote of a string with @: [Archive.is] Code: Generating Multiline String Literals (Visual C#)
Many languages support this through a feature called HEREDOC.
Now in Delphi and other languages like Java are building ugly workarounds like for instance this one: [WayBack] RAD Studio Tip: Using resource scripts to organize project dependencies. – Chapman World.
–jeroen
Posted in .NET, C#, Delphi, Development, JavaScript/ECMAScript, Python, Ruby, Scripting, Software Development | 17 Comments »
Build 2018: The Future of C#
Posted by jpluimers on 2018/06/13
A cool preview of things to come in C# 8: [WayBack] Build 2018: The Future of C#
Via: [WayBack] C# 8 changes, exemplified #csharp – Lars Fosdal – Google+
–jeroen
Posted in .NET, C#, Development, Software Development | Leave a Comment »
Thread by @shanselman: “Sure. Not too complex. Thread -> .NET is a family. * Core runs on containers, many Linuxes, Windows and Mac. OSS, moves fast. * Framework […]”
Posted by jpluimers on 2018/06/01
Interesting [Archive.is] Thread by @shanselman: “Sure. Not too complex. Thread -> .NET is a family. * Core runs on containers, many Linuxes, Windows and Mac. OSS, moves fast. * Framework […]”
It answers [Archive.is] Thread by @domenic: “Having been out of the scene for over 5 years now, I’m extraordinarily confused by what’s going on over in .NET land. Not only the “what”, b […]”
Dominic was confused by .NET Core going to support Windows desktop UI apps as platform specific packages to a a cross platform foundation as announced in [WayBack] .NET Core 3 and Support for Windows Desktop Applications | .NET Blog
Via: [WayBack] Miguel de Icaza on Twitter: “Good thread on the evolution of modern .NET by @shanselman… “
–jeroen
Posted in .NET, Development, Software Development | Leave a Comment »
The .NET garbage collector sort-of documented: coreclr/garbage-collection.md at master · dotnet/coreclr
Posted by jpluimers on 2018/05/31
Very interesting read: “Garbage Collection Design” by Maoni Stephens at [WayBack] coreclr/garbage-collection.md at master · dotnet/coreclr.
It’s part of this series of documents:
The Book of the Runtime
Welcome to the Book of the Runtime (BOTR) for the .NET Runtime. This contains a collection of articles about the non-trivial internals of the .NET Runtime. Its intended audience are people actually modifying the code or simply wishing to have a deep understanding of the runtime. Below is a table of contents.
at [WayBack] coreclr/Documentation/botr at master · dotnet/coreclr
I got there via these links:
- [WayBack] Maoni0 on Discussion on reorganizing gc.cpp – how he documented the current design
- [WayBack] Karlz on Discussion on reorganizing gc.cpp – why the state is at is it now
- [WayBack] Discussion on reorganizing gc.cpp · Issue #408 · dotnet/coreclr
- [WayBack] QCon London 2017: IoT insecurity, serverless computing, predicting technical debt, and why .NET Core depends on a 36,000 line C++ file « Tim Anderson’s ITWriting
- [WayBack] QCon London 2017 day 1 – tim anderson – Google+
–jeroen
Posted in .NET, Development, Software Development | Leave a Comment »
Some useful Visual Studio Keyboard bindings – via my comment at “Allow for floating windows · Issue #10121 · Microsoft/vscode · GitHub”
Posted by jpluimers on 2018/05/30
The thread at [WayBack]: Allow for floating windows · Issue #10121 · Microsoft/vscode · GitHub made me discover a few things, which I have commented there.
Reminder to self: find the Windows keyboard shortcuts as well.
Thanks @steinhh for the
Cmd–KOkeyboard combination. I was not aware of that yet and I am going to use this next week on a multi-monitor system to see how well that works.Your tip made me found the PDFs below and made me make the lists/screenshots below as well.
Terrific! Thank you, thank you!
- https://code.visualstudio.com/docs/getstarted/keybindings,
- https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf and
- https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
The bindings (on Mac) I found with their screenshots:
Cmd–Shift–P: show all commands
Cmd–KO: open current file in new WindowCmd–Shift–N: open a new window
Cmd–KCmd–R: open keyboard shortcuts reference PDF for current OS in the default web-browserCmd–KCmd–S: open keyboard shortcuts editor
The keyboard shortcuts editor has a search which can find bindings on the keybinding name itself or the command name:
–jeroen
Posted in Development, Software Development, Visual Studio and tools, vscode Visual Studio Code | Leave a Comment »
fremag/MemoScope.Net: Dump and analyze .Net applications memory ( a gui for WinDbg and ClrMd )
Posted by jpluimers on 2018/05/10
It’s a great too, so I need to invest more time into using MemoScope.Net – Dump and analyze .Net applications memory ( a gui for WinDbg and ClrMd )
Way too manny features to describe here, so get that at the GitHub repository below.
- Heap statistics
- Query instances
- Instance content and references
- Compare dumps
- Threads and stacks
- Deadlocks
- Delegates
- Dump process memory
Source: [Archive.is/WayBack] fremag/MemoScope.Net: Dump and analyze .Net applications memory ( a gui for WinDbg and ClrMd )
Via Matthijs ter Woord.
–jeroen
Posted in .NET, Development, Software Development | Leave a Comment »
Multi-threading in C#: Back to Basics (Part 1 of N) – CodeProject
Posted by jpluimers on 2018/05/10
Hopefully by now the ToC has gotten bigger at [WayBack] Multi-threading in C#: Back to Basics (Part 1 of N) – CodeProject.
At the time of writing it was this:
–jeroen
Posted in .NET, Development, Software Development | Leave a Comment »
joshbuchea/HEAD: A list of everything that could go in the HEAD of your HTML document
Posted by jpluimers on 2018/04/27
HEAD – A list of everything that could go in the of your document
Wow. head is like a page by itself.
Source [WayBack] joshbuchea/HEAD: A list of everything that could go in the of your document
Via: [WayBack] HEAD – A list of everything that could go in the of your document https://github.com/joshbuchea/HEAD – This is why I Code – Google+
–jeroen
Posted in .NET, Development, HTML, Software Development, Web Development | Leave a Comment »
On my research list for Delphi use – FlowFinity and DreamFactory
Posted by jpluimers on 2018/04/25
For my research list:
- [WayBack] Has anyone any experience with DreamFactory, which installs a REST server on different platforms? https://www.dreamfactory.com – John Kouraklis – Google+
- FlowFinity
- DreamFactory
–jeroen
Posted in .NET, Delphi, Development, Software Development | 4 Comments »










