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,839 other subscribers

Archive for the ‘Software Development’ Category

TypeScript 2.0 is now available! | TypeScript

Posted by jpluimers on 2016/09/29

As it got live last week, this is required reading if you do web development:

–jeroen

Posted in Development, JavaScript/ECMAScript, Scripting, Software Development, TypeScript | Leave a Comment »

How to deploy a Delphi OSX project from the command line – kouraklis.com

Posted by jpluimers on 2016/09/28

This is so cool: How to deploy a Delphi OSX project from the command line – kouraklis.com [WayBack]

I always wanted to hack the communication path to PAServer [WayBack] – despite issues – but never had the time. Luckily others had…

See:

The reason I like this very much are many. Just a few:

Read the rest of this entry »

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

I’m looking for an algorithm that converts a list of integers (for instance of…

Posted by jpluimers on 2016/09/28

Got a very quick response Range combo – Paste.ie – Irish For Pastebin on:

I’m looking for an algorithm that converts a list of integers (for instance of pages to be printed) from this form:1,2,3,4,6,7,8,13,14into1-4,6-8,13-14… – Jeroen Wiert Pluimers – Google+

I’ll write some unit tests soon and make it into a unit for testing.

For now it looks exactly what I need. In addition, I learned how this algorithm is called Range extraction – Rosetta Code and the opposite Range expansion – Rosetta Code.

Basically these lists are the format where a user can enter the range of pages to be printed.

The code by Asbjørn Heid uses a Functional record definition allowing for function binding just like in C++ Boost.Bind [WayBack].

Based on that, I made this changeset: https://bitbucket.org/jeroenp/besharp.net/commits/7205b070a4e6457675a083b78d26659da506fc08

–jeroen

via: I’m looking for an algorithm that converts a list of integers (for instance of…

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

atom-keyboard-macros: tried, doesn’t work reliably – anyone who knows a better one?

Posted by jpluimers on 2016/09/28

One of the things I missed in the Atom editor is a keyboard macro recording/playback.

I tried atom-keyboard-macros but it doesn’t work reliably.

Not sure where it fails as the failure patterns are inconclusive.

Anyone having a better experience?

–jeroen

Posted in atom editor, Development, Hardware, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Power User, Scripting, Software Development, Text Editors | Leave a Comment »

The Oracle at Delphi: Set in my ways

Posted by jpluimers on 2016/09/28

A few pieces of Delphi compiler history:

Allen Bauer:

Most notably, the Object Pascal/Delphi compiler is written in mostly C with a smattering of C++, the editor kernel (sans display rendering) and debugger engine (process control/symbol table management) were written in C++. All of which I’ve worked on throughout my 24+ years on that team.

The 16bit compiler was written in pure assembler. The current compiler is written in C. It was derived from an Amiga 68000 Turbo Pascal compatible compiler. It’s never been written in Object Pascal.

That being said, there was an effort several years ago to completely rework/re-architect the compiler. That was done in OP. It just barely got to the “hello world” stage before it was set aside.

Source: The Oracle at Delphi: Set in my ways [WayBack]

–jeroen

Posted in Delphi, Development, History, Software Development | 1 Comment »

Analyzing website performance with the Windows Performance Toolkit | Microsoft Edge Dev Blog

Posted by jpluimers on 2016/09/27

On my research list:

Slow pages lose users: research from Bing and Google indicates that delays as small as half a second can impact business metrics. To build fast sites, developers need powerful tools to analyze the …

Source: Analyzing website performance with the Windows Performance Toolkit | Microsoft Edge Dev Blog

via:

If you’re developing on Windows.. a must read article on analyzing webperf with Windows Performance Toolkit. – Ilya Grigorik – Google+

–jeroen

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

Nick Hodges Joins Embarcadero as Product Management Lead

Posted by jpluimers on 2016/09/23

And the other bomb-shell: Nick Hodges Joins Embarcadero as Product Management Lead

Interesting times in the Delphi community…

And I really wonder if this affects Delphi Developer Days 2016, Nick Hodges & Cary Jensen.

–jeroen

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

David I becomes an Embarcadero MVP, starts new job at Evans Data Corporation

Posted by jpluimers on 2016/09/22

Just in case you missed it David I becomes an Embarcadero MVP, starts new job at Evans Data Corporation [WayBack]

via +Stefan Glienke and Evans Data Corporation Welcomes Developer Relations Industry Guru David Intersimone (“David I”) to Their Team – News9.com [WayBack]

Which means there are very few seasoned people left at the Delphi team.

–jeroen

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

Jark/FTDISample: Note: As of version 10556.0 the ftdi driver does no longer seem to work. A sample application showcasing the FTDI D2XX driver use in Windows Universal projects (UWP). This sample is tested on the Raspberry PI 2 with Windows IOT installed and a FTDI FT232R usb-to-serial adapter.

Posted by jpluimers on 2016/09/22

Source: Jark/FTDISample: Note: As of version 10556.0 the ftdi driver does no longer seem to work. A sample application showcasing the FTDI D2XX driver use in Windows Universal projects (UWP). This sample is tested on the Raspberry PI 2 with Windows IOT installed and a FTDI FT232R usb-to-serial adapter.

Yeah, I couldn’t get this working either. I’m not sure where ReadTimeout is actually used by the SerialDevice class internally. But I did end up getting something working by copying the timeout to a

Source: c# – Unable to use SerialDevice.ReadTimeout in Windows 10 IoT – Stack Overflow

Source: Raspberry Pi • View topic – Windows 10 IoT Core Simple Serial Example not working

Posted in Development, IoT Internet of Things, Network-and-equipment, Power User, Software Development | Leave a Comment »

grep: searching for pipes, optional characters

Posted by jpluimers on 2016/09/22

For my own reference as RegEx is a write-only language:

Search for pipes means just back-slash escaping them:

grep "\|S\|" products.txt > s-rated-products.txt

Search for optional charactes (in this case searching for both the singular and plural form of a word) can be done by grouping the optional part in parentheses:

grep -i "Movie(s)?" products.txt > movie-products.txt

Search for either OR:

grep -E "foo|bar" products.txt > foo-or-bar-products.txt
egrep "foo|bar" products.txt > foo-or-bar-products.txt

Note that the Borland grep does not support the OR syntax, but egrep does.

–jeroen

via:

Posted in Development, RegEx, Software Development | Leave a Comment »