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

Archive for 2016

New Book: MVVM in Delphi by John Kouraklis should be available at the beginning of november.

Posted by jpluimers on 2016/09/13

John Kouraklis last week announced a new book: MVVM in Delphi.

It will be available early november and is already listed at the APress site: MVVM in Delphi – Architecting and Building Model View ViewModel Applications [WayBack] where you can pre-order.

It’s good to see that the last years more Delphi books have been published and I hope this MVVM book falls in the more advanced category.

Since I’ve given a few Delphi MVVM talks (latest at https://github.com/jpluimers/Conferences/tree/master/2013/20131121-BE-Delphi) I’m genuinely interested. So I will get this book and – time permitting – write a review.

Nick Hodges did the technical review, and since Nick’s book are great I have high hopes (:

From the APress site:

Full Description

Dive into the world of MVVM, learn how to build modern Windows applications, and prepare for cross-platform development. This book introduces you to the right mindset and demonstrates suitable methodologies that allow for quick understanding of the MVVM paradigm. MVVM in Delphi shows you how to use a quick and efficient MVVM framework that allows for scalability, is of manageable complexity, and provides strong efficiency.

One of the biggest challenges developers face is how to convert legacy and monolithic Delphi applications to the MVVM architecture. This book takes you on a step-by-step journey and teaches you how to adapt an application to fit into the MVVM design.

What you’ll learn

  • Gain the fundamentals of MVVM
  • Visualize MVVM as a design philosophy
  • Create easy-to-use frameworks for building your own MVVM applications
  • Develop a methodology for converting legacy applications to the MVVM pattern
  • Architect cross-platform and multi-lingual applications using the MVVM pattern

Who this book is for

Delphi developers with a good knowledge of Delphi or programming experience in a different language. In addition, this book is attractive to Delphi developers who want to modernize existing applications based on the MVVM design.

and

Table of Contents

1. MVVM as Design Pattern
2. Setting Up the POSApp
3. MVVM as Design Philosophy
4. Two-way Communication
5. MVVM and Delphi
6. Planning the Application
7. Developing the Application
8. How to Convert your App to MVVM
A. Appendix: Other MVVM Delphi frameworks

–jeroen

via: New Book: MVVM in Delphi… [WayBack]

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

10 Reason to date Programmer – I’m Programmer

Posted by jpluimers on 2016/09/12

Happy programmers’ day.

10 Reason to date Programmer – I’m Programmer

I think the original was from https://teespy.com/app/campaigns/viralstyle/10-reasons-to-date-a-programmer-limited but last time I checked that domain wasn’t responding, nor was the page archived.

–jeroen

via: 10 Reasons to Date a Programmer

Read the rest of this entry »

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

Flush deferred messages in sendmail queue :: Stephan Paukner :: syslog

Posted by jpluimers on 2016/09/12

Be careful with setting the timeout of sendmail to zero when trying to flush the mail queue:

sendmail -OTimeout.hoststatus=0m -q -v

Reason: a lot of target systems do rate-limiting if you retry too much in too short time, for instance gmail does that:

421-4.7.0 [###.###.###.### 15] Our system has detected an unusual rate of
421-4.7.0 unsolicited mail originating from your IP address. To protect our
421-4.7.0 users from spam, mail sent from your IP address has been temporarily
421-4.7.0 rate limited. Please visit
421-4.7.0 https://support.google.com/mail/answer/81126 to review our Bulk Email
421 4.7.0 Senders Guidelines. w1si28749381wju.16 - gsmtp

–jeroen

via Flush deferred messages in sendmail queue :: Stephan Paukner :: syslog.

Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »

Happy “Day of the Programmer”

Posted by jpluimers on 2016/09/12

Happy debugging, suckers

Happy debugging, suckers

Or maybe not…

(yes, this year it’s not on the 13th of September, but the 12th, guess why…)

--jeroen

via: Day of the Programmer – Wikipedia, the free encyclopedia

PS: The oldest reference I could find for define true (rand() > 10) was this one from 20121014:

// Happy debugging, suckers
# define true (rand() > 10)

Source: codecrap.com – snippet #6

It reminds me of a 1990s prank I once put in central consts unit of a Turbo Pascal project somewhere way beyond the right margin in a search directory outside of version control:

                                                                                     const True = False; False = not True;

A lot more pranks are at Happy debugging, suckers : ProgrammerHumor – reddit

Posted in Conference Topics, Conferences, Development, Event, Fun, Prank, Software Development | Leave a Comment »

Page2rss.com – died – anyone who knows alternatives?

Posted by jpluimers on 2016/09/10

It was fun while it lasted:

No SponsorsPage2rss.com currently does not have any sponsors for you.

Source: Page2rss.com

Anyone who has good alternatives for it?

–jeroen

PS: I’ll give this a try: PageMon.Net: The Page Monitor [pre-alpha]

Posted in Power User, RSS, SocialMedia | Leave a Comment »

Oh, shit, git. via Kristian Köhntopp – Google+

Posted by jpluimers on 2016/09/10

Oh, shit, git. For +Tatiana Azundris, Originally shared by Stefani Banerian

Source: Kristian Köhntopp – Google+

Oh, shit, git!
Oh shit, git! Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can’t search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about …

Right now the site is down from Amsterdam; luckily we have http://web.archive.org/web/20160909123413/http://ohshitgit.com/

If you’re fast, you might see http://ohshitgit.com redirect to http://ohshitgit.com/cgi-sys/suspendedpage.cgi which shows:

The website you were trying to reach is temporarily unavailable.
Please check back soon.
If you are the owner of this website, please contact Technical Support as soon as possible.

–jeroen

Image source: xkcd: Git [WayBack] via Christian Vogel [WayBack]

Posted in Development, DVCS - Distributed Version Control, git, Source Code Management | Leave a Comment »

May the Fork Be with You: A Short History of Open Source Forks – The New Stack

Posted by jpluimers on 2016/09/09

Every time there is a fork, and I think forks are actually good things, it means somebody sees a need and a technical reason to do something different from the standard kernel. But most forks are failures. They find that the things they needed were not actually worth doing and as a result, most forks die. — Linus Torvalds.

Many forks at May the Fork Be with You: A Short History of Open Source Forks – The New Stack [WayBack]

Notably missing: OpenSSL forks (especially since OpenSSH is mentioned).

–jeroen

via: Good overview by +Swapnil Bhartiya. I wish I’d written this one. – Joe C. Hecht – Google+ [WayBack]

Posted in Development, Open Source, Software Development | Leave a Comment »

+Kristian Köhntopp #awesomeCosplay

Posted by jpluimers on 2016/09/09

+Kristian Köhntopp #awesomeCosplay

Trip down memory lane:

at the time of the videos release (1984/85), this was completely state of the art – I got my C64 in 1983 and an Amiga in 1986, so this is 8 bit level of tech in home computing time.

The video has been the work of Gavin Blair and Ian Pearson, canadian animators which needed the money and a test run for their animation software. What Gavin and Ian actually wanted to make is Reboot, a pretty groundbreaking early full-render animation series.

http://reboot.wikia.com/wiki/Gavin_Blair
http://reboot.wikia.com/wiki/Ian_Pearson

Fun fact: These people made https://en.wikipedia.org/wiki/Barbie_in_the_Nutcracker and many other Render-Barbie-Movies.

–jeroen

Posted in Fun, History | Leave a Comment »

Using Reaper to normalize your tracks to the same LUFS …

Posted by jpluimers on 2016/09/09

Using Reaper To Normalize Your Tracks To The Same LUFS. It’s a SNAP! – Mack Caster

Source: Hello again Dawn. This is for you. :-) Using Reaper To Normalize Your Tracks To…

If you want to know more about LUFS (which is a synonym for LKFS), then read these:

–jeroen

Read the rest of this entry »

Posted in Audio, LifeHacker, Normalisation of audio, Power User, Reaper | Leave a Comment »

OpenSuSE Tumbleweed ntp problem after snapshot 20160905 will be fixed in snapshot 20160908

Posted by jpluimers on 2016/09/09

On some systems, after upgrading OpenSuSE Tumbleweed to 20160905 ntp stops working.

TL;DR

Pending the verification of snapshot 20160908 (not finished yet), if if you have updated to 20160905 or 20160907,, the bogus ntp version is, so you have to downgrade:

zypper in --oldpackage  http://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/ntp-4.2.8p8-1.3.x86_64.rpm
systemctl restart ntpd.service

Or wait a few hours and install snapshot 20160908.

Read the rest of this entry »

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »