Archive for August, 2016
Posted by jpluimers on 2016/08/19
I found this stone game on the bank of the Ahr river somewhere behind the Ruland hotel in Altenahr around 50°30’58.8″N, 6°59’27.9″E.
Since I didn’t know what it was, I asked my G+ friends “:Anybody who knows what kind of game this is?” and got quick answers:
The game is thousands of years old and this stone will last for quite a while…
--jeroen
Read the rest of this entry »
Posted in About, History, Personal | Leave a Comment »
Posted by jpluimers on 2016/08/19
Google Privacy settings van be changed from A privacy reminder from Google.
Posted in Google, Power User | Leave a Comment »
Posted by jpluimers on 2016/08/18
Since I’m not that fast at updating List-Delphi-Installed-Packages.ps1 [WayBack] (which I should rename into something containing the word Version in it), here are some useful links to stay up-to-date:
–jeroen
Posted in Delphi, Development, Software Development | 2 Comments »
Posted by jpluimers on 2016/08/18
Empty arrays are not used often as arrays usually are about the presence data, not about the absence.
Here are two ways based on the int data type in C# (the original [WayBack] examples [WayBack] are using string, but since string itself is also a kind of array…):
Specify a size of zero:
int[] a = new int[0];
Specify an empty initialisation:
int[] a = new int[] { };
Though many people think arrays are a thing of the past, I think it is one of the first generic types and have their place. For one, enumerating over arrays using foreach is a lot faster in many environments than enumerating over other data types. Another thing is that the fixed nature of arrays can be very beneficial in setting constraints.
That’s why I like the balanced view from Eric Lippert [WayBack] in Arrays considered somewhat harmful – Fabulous Adventures In Coding – Site Home – MSDN Blogs [WayBack]
–jeroen
via:
Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »
Posted by jpluimers on 2016/08/17
If you see the error below when running brew update, then you bumped in a small brew glitch [WayBack]. The solution is usually to just run brew update again [WayBack] (thanks Ashley Willis [WayBack]) and it will likely run fine:
$ brew update
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
Error: update-report should not be called directly!
–jeroen
via:
Posted in Apple, Home brew / homebrew, Power User | Leave a Comment »
Posted by jpluimers on 2016/08/17
After yesterdays post on Testing and static methods don’t go well together, I read around on Source (kunststube [WayBack]) a bit more and found these very nice articles on encoding,Unicode and text:
Related on those, some other nice readings:
–jeroen
Posted in Ansi, ASCII, CP437/OEM 437/PC-8, Development, EBCDIC, Encoding, ISO-8859, ISO8859, Shift JIS, Software Development, Unicode, UTF-16, UTF-8, UTF16, UTF8, Windows-1252 | Leave a Comment »
Posted by jpluimers on 2016/08/17
A while ago, testssl.sh [WayBack] needed Darwin binaries (for OS X): Supply Darwin binaries + install documentation · Issue #127 · drwetter/testssl.sh [WayBack]
So I created the small Bourne shell (sh) script below to deliver them.
It allows me to update these gists:
The build script itself is in a gist as well: https://gist.github.com/f4de3937630b87753133.git [WayBack]
It helped me to contribute to these testssl.sh issues:
Not all of these binaries are in https://github.com/drwetter/testssl.sh/tree/master/bin [WayBack] as it makes the testssl.sh repository too bloated. Some (including non-OSX builds made by others) are here:
Eventually the script might get merged into https://github.com/drwetter/testssl.sh/blob/master/utils/make-openssl.sh [WayBack] as there is a Darwin switch in this commit: https://github.com/drwetter/testssl.sh/commit/6efc3e90f52e5926b0853d3b2fb221b631dcf452 [WayBack]
Read the rest of this entry »
Posted in Apple, Development, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OpenSSL, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Security, Software Development, xCode/Mac/iPad/iPhone/iOS/cocoa | Leave a Comment »
Posted by jpluimers on 2016/08/16
A few links as, in code I’ve inherited, I see way too many static methods hindering testing:
–jeroen
Posted in Agile, Development, Software Development, Unit Testing | 1 Comment »
Posted by jpluimers on 2016/08/16
From a while ago:
David Ratnasabapathy: The VIC-20 programmer’s manual was the best intro to programming I’ve ever read. I’d love to find a copy online, the new generation could use it.
+Isaac Kuo that book is wealth. I loved marginal explanations that expanded on the main text, it’s a tactic I use in my own class notes.
The manual was called Personal Computing on the VIC 20 and it is online! This is amazing! Ah, memories.
http://www.classiccmp.org/cini/pdf/Commodore/VIC-20%20Programmer’s%20Reference%20Guide.pdf
+Tomasz Machalski there’s a motherload here:
http://www.classiccmp.org/cini/pdf/Commodore/
Including VIC-20 User’s Manual.pdf
http://www.classiccmp.org/cini/pdf/Commodore/VIC-20%20User’s%20Manual.pdf
and VIC-20 Programmer’s Reference Guide.pdf
http://www.classiccmp.org/cini/pdf/Commodore/VIC-20%20Programmer’s%20Reference%20Guide.pdf
Jeroen Wiert Pluimers:+David Ratnasabapathy thanks a lot!
Downloaders: that site is slow. Not as slow as the New Horizons uplink, nor as slow as 1980s modems, but be prepared for some serious wait time.
https://en.wikipedia.org/wiki/Modem#The_Smartmodem_and_the_rise_of_BBSs
Note that the wayback machine has them cached:
–jeroen
via It’s our third birthday! What better present than the VIC-20 [1] (“A Real… [WayBack]
Posted in 6502, Commodore, Development, History, Software Development, VIC-20 | 1 Comment »