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 ‘Development’ Category

C# 8.0 features – an exiting list of new possibilities on the horizon

Posted by jpluimers on 2018/04/04

Shamelessly adapted from [WayBack] C# 8.0 features Extension everything — a new syntax for extension methods that will also allow extension “other things,” like the much-anticipated exte… – Lars Fosdal – Google+, including the original posts where the topics were covered:

C# 8.0 features

Post 1

[WayBack] C# 8.0 Features: A Glimpse of the Future – NDepend: C# 8.0 is on the horizon and will be here before you know it, bringing with it some interesting functionality. Let’s take a peek into the future.

Extension everything — a new syntax for extension methods that will also allow extension “other things,” like the much-anticipated extension properties.

Default implementations on interfaces — this allows you to implement methods on interfaces, giving them a default implementation. That will enable you to add new methods to interfaces without breaking its clients.

Nullable reference types — probably one of the most anticipated features ever. It’s a reinterpretation (a “retcon” for you comic book geeks out there) of all the reference types as nullable and the introduction of a new syntax to denote nullable types, accompanied by several types of static checks, to prevent several classes of errors regarding these types. Say farewell to the null reference exception!

Post 2

[WayBack] C# 8.0 Features: Another Glimpse of the Future – NDepend This post covers two probable C# 8.0 features: null coalescing assignment and records. It explains what they are and reports on their current statuses, as well.

Null coalescing assignment — a very simple feature to shorten the check for null before assigning to a variable.

Records — this one is pretty interesting. It’s basically a very short way for you to declare classes that are only data holders. The compiler gives you Equals and GetHashCode implementations, a constructor, properties, and immutability for free, allowing you to do something more interesting with your life than writing loads of boilerplate code.

Post 3

[WayBack] C# 8.0 Features: A Final Glimpse Of The Future – NDepend: Here’s our final post in our C# 8.0 series, where we glimpse into the future. Today we’ll cover another two possible features: target-typed new expressions and covariant return types.

Target-typed “new” expressions — a way for you to omit the type from a constructor call, making the code simpler and less redundant.

Covariant return types — a much-anticipated feature that allows an overriding method to return a more derived type than the original type from the base class.

I really hope they publish the full specs soon, but given that the C# 7 specs yet have to (see [WayBack] C Sharp (programming language) – Wikipedia: Versions), I do not hold my breath, even though it had lots of interesting new stuff too:

–jeroen

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

Efficient and easy-to-use JSON and BSON library – grijjy blog

Posted by jpluimers on 2018/04/04

Cool library for Delphi: [WayBackEfficient and easy-to-use JSON and BSON library – grijjy blog

On my list of stuff to use when I’m in need for JSON or BSON.

–jeroen

via: [WayBack] Looking for an efficient JSON/BSON library that supports a DOM, reader/writer interface and automatic serialization? Maybe this one has what you need… – Erik van Bilsen – Google+

Read the rest of this entry »

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

Functional programming in C# – CodeProject

Posted by jpluimers on 2018/04/04

Interesting stuff:

This article discusses functional programming in C# through algebra, numbers, euclidean plane and fractals.

[WayBackFunctional programming in C# – CodeProject

Not the least because of images like below.

–jeroen

.

Posted in Development, Functional Programming, Software Development | Leave a Comment »

Where am I?

Posted by jpluimers on 2018/04/03

Google is smart; you can ask it https://www.google.com/search?q=what%27s+my+location

This is accurate enough for many uses (it’s off for a couple of kilometers):

curl "https://maps.googleapis.com/maps/api/browserlocation/json?browser=firefox&key=AIzaSyDBgL8fm9bD8RLShATOLI1xKmFcZ4ieMkM&sensor=true"

Some links about the above API:

–jeroen

via: [WayBackI need help; I want to know the geographical location of the place where I am…

Posted in Development, Google, GoogleMaps, Power User, Software Development | Leave a Comment »

History: Pascal compiler for 68000 firmware development

Posted by jpluimers on 2018/04/03

From the 1980s: GCS Pascal compiler for 68000 firmware development [WayBack] http://www.wirfs-brock.com/allen/files/tek/gcsPascal.pdf article by Allen Wirfs-Brock and Paul L. McCuiiough both working for Tektronix back then (note the company still exists after all these years).

via: [WayBack] A PASCAL COMPILER FOR MOTOROLA 68000 FIRMWARE DEVELOPMENT – Pascal is a computer programming language known for itsunique combination of simplicity, pow… – Kyle Miller – Google+

–jeroen

Posted in 68k, Development, History, Pascal, Software Development | Leave a Comment »

Interactive additive and subtractive colour mixing

Posted by jpluimers on 2018/03/30

Cool interactive colour mixing:

The www.spectrumcolors.de site has way more interesting pages around colour spaces, colour press techniques (like colour separation, rasterising, etc). Worth visiting!

–jeroen

via:

Posted in Algorithms, Development, Power User, Software Development | Leave a Comment »

FizzBuzz as interview question – video by Tom Scott

Posted by jpluimers on 2018/03/29

[WayBack]FizzBuzz: One Simple Interview Question… Jeroen Wiert Pluimers – Google+:

THE BASICS S1 • E2
FizzBuzz: One Simple Interview Question

Tom Scott
Published on Jul 31, 2017
There are a lot of opinions on how to hire coders, and most of them are terrible. The opinions, that is, not the coders. But a basic filter test to make sure someone can do what they say they can: that seems reasonable, and FizzBuzz is one of the more common tests. Even now, interviewers use it. Let’s talk about why it’s tricky, and how to solve it.

Imran’s blog post: [WayBack] Using FizzBuzz to Find Developers who Grok Coding | Imran On Tech

Other approaches for pretty much every language: [WayBack] FizzBuzz – Rosetta Code

In retrospect, I wasn’t really surprised Kristian Köhntopp commented these two:

–jeroen

– https://plus.google.com/+KristianKöhntopp/posts/jYKBAD4MHMj

 

 

 

Read the rest of this entry »

Posted in Development, Software Development | Leave a Comment »

PascalABC.net – .NET version of Pascal with its own IDE

Posted by jpluimers on 2018/03/29

Interesting to try:

The new generation Pascal programming language that combines simplicity of classic Pascal, a great number of modern extensions and broad capabilities of Microsoft .NET Framework

I didn’t know about it either.

–jeroen

Read the rest of this entry »

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

Interesting ways to obtain MTU and MSS sizes – via Troubleshooting Bitbucket Cloud MTU/MSS issues – Atlassian Documentation

Posted by jpluimers on 2018/03/29

I will probably need the netstat/tcpdump/wireshark tricks here in the future: [WayBackTroubleshooting Bitbucket Cloud MTU/MSS issues – Atlassian Documentation

via: [WayBackAtlassian Bitbucket Status – Network maintenance; MTU/MSS changes coming

–jeroen

Posted in Communications Development, Development, Internet protocol suite, Network-and-equipment, Power User, TCP | Leave a Comment »

Office 2011 for Mac update pesky Window pops up every 10 seconds

Posted by jpluimers on 2018/03/27

From the “I hate my users” department:

  • This dialog pops up every 10 seconds
  • The Office 2011 for Mac update requires non-Office apps to quit as well

–jeroen

Posted in Apple, Development, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, Office, Office 2011 for Mac, Power User, Software Development, Usability, User Experience (ux) | Leave a Comment »