Nice: Sudoku Solver v2.0 for the Apple II.
–jeroen
Posted by jpluimers on 2014/08/22
Posted in //e, Apple, Apple ][, Power User | Leave a Comment »
Posted by jpluimers on 2014/08/22
openssl s_client -connect localhost:443
I don’t have a Linux machine here, but this might work too:
gnutls www.somesite
And note that when using telnet, the hostnames must match:
$ openssl s_client -connect XXX.XX.XX.XXX:443
... connection information will be displayed …
GET / HTTP/1.1
host: XXX.XX.XX.XXXor
$ openssl s_client -connect www.example.com:443
... connection information will be displayed …
GET / HTTP/1.1
host: www.example.comDon’t MIX
Now I need to research how it works with a proxy… simulate a “connect http/1.1 443” proxy – Google Search.
–jeroen
via:
Posted in OpenSSL, Power User, Security, Windows, Windows-Http-Proxy | Leave a Comment »
Posted by jpluimers on 2014/08/22
While updating a project to a more recent version of Delphi, I also updated the JEDI.INC reference.
Note that since writing Delphi – finding the VERxxx define for a particular Delphi version: use JEDI.INC, the Delphi JEDI project moved from SoureForge to GitHub.
The fun thing: JEDI.INC got updated a few months ago to support Delphi XE7 provisionally.
Given the Delphi release cycle of twice a year, the Delphi Carpathia aka XE7 rumours this summer, I presume Delphi XE7 is near because of:
By then the list of Delphi Versionen | Delphi-Treff will likely also be updaed.
I’m anxious to see if the (Dutch + English) BIG Delphi Conference organized by Barnsten and Blaise from September 11-12 in the Netherlands will be part of the launch tour.
Anyway: here is the JEDI.INC portion with defines: Read the rest of this entry »
Posted in Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi 8, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development | 6 Comments »
Posted by jpluimers on 2014/08/22
I love it that in Windows you can do everything both by mouse and keyboard.
Take the start screen: there are 3 ways (mouse only, mouse + keyboard, keyboard only) to zoom in/out in the start screen. Read the rest of this entry »
Posted in Keyboards and Keyboard Shortcuts, Power User, Usability, User Experience (ux), Windows, Windows 8 | Leave a Comment »
Posted by jpluimers on 2014/08/21
Recently, I bumbped into the The Little Mocker | 8th Light by uncle Bob C. Martin.
It’s a nice conversation of a mocker, that explains about Test Doubles (with examples).
Mocks are a bit to Test Doubles like Stunt Doubles are to Body Doubles: a specific kind of Test Doubles.
The conversation step by step explains these Test Doubles probably based on Martin Fowler‘s list of Test Doubles or Mocks, Fakes, Stubs and Dummies at XUnitPatterns.com:
The links in the above list all contain a small diagram showing the dataflow between the Test Double, System under Test, stc. Jeff Atwood has some nice graphics to go with them at Test Doubles: A Taxonomy of Pretend Objects.
In practice, Stubs and Spies are probably used most, followed by Mocks (either in code or with a Mocking tool).
Notes:
–jeroen
Posted in Agile, Development, Software Development, Unit Testing | Leave a Comment »
Posted by jpluimers on 2014/08/21
Just in case I need this again:
None of the mutt ones worked for me. It was thinking the email address was part of the attachemnt. Had to do:
echo “This is the message body” | mutt -a “/path/to/file.to.attach” -s “subject of message” — recipient@domain.com
Thanks Alexander Bird for noticing the double-dash, rynop for the modified answer and Chris N for the original answer.
From mutt(1): Mutt Mail User Agent – Linux man page: Read the rest of this entry »
Posted in *nix, bash, Development, Linux, Power User, Scripting, Software Development, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2014/08/20
Had this happen to me this week. Took me quite a while to figure out how to resolve it, then had to restore everything as it was wiped.
Posted in Google, Nexus 4, Power User | Leave a Comment »
Posted by jpluimers on 2014/08/20
via the SourceTree for Windows 1.6 – Now Available! | SourceTree Blog.
Make sure you download the 1.6.1 version as that is really the latest:
–jeroen
via: SourceTree Release Notes.
Posted in Development, DVCS - Distributed Version Control, git, Mercurial/Hg, Software Development, Source Code Management, SourceTree | Leave a Comment »
Posted by jpluimers on 2014/08/20
Depending on how you organize locks (for instance via waiting on semaphores or mutexes or spinlocks), deadlocks can become livelocks:
Inability to make forward progress because of conflicting spinlocks is usually referred to as ‘livelock’.
Thanks to Martin James for reminding me of that and Danny Thorpe for describing different ways of locking.
Be sure to read on deadlock prevention as well.
–jeroen
via: c++ – Do deadlocks cause high CPU utilization? – Stack Overflow.
Posted in .NET, C++, Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2014/08/20
In the the irregular series of ASUS RT-N66U and TomatoUSB posts:
Execute this script from the Tomato USB interface, or a ssh/telnet shell:
cat /dev/mtd0ro | grep bl_version
nvram get os_version
nvram get clkfreq
wl -i eth1 phy_tempsense | awk '{print $1/2+20;}'
wl -i eth2 phy_tempsense | awk '{print $1/2+20;}'
Based on those, I found a few very useful scripts:
–jeroen
Posted in ASUS RT-N66U, Awk, bash, Development, Internet, Network-and-equipment, Power User, Scripting, Software Development, TomatoUSB | Leave a Comment »