Plan C: JWalk. No, not jaywalk.
Trimming JSON results from Java: ongoing by Tim Bray · Fat JSON.
–jeroen
Posted by jpluimers on 2014/05/06
Plan C: JWalk. No, not jaywalk.
Trimming JSON results from Java: ongoing by Tim Bray · Fat JSON.
–jeroen
Posted in Development, Java, Java Platform, JavaScript/ECMAScript, JSON, Scripting, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2014/03/07
Funny charts at andrewvos.com – Amount of profanity in git commit messages per programming language.
The source is online too: AndrewVos/github-statistics.
And it led me to this really nice way of choosing your chart type.
Click to enlarge… Read the rest of this entry »
Posted in .NET, C#, C++, Development, Java, JavaScript/ECMAScript, Perl, PHP, Ruby, Scripting, Software Development, Web Development | 2 Comments »
Posted by jpluimers on 2013/12/30
So I won’t forget to read these:
Some of my own work on this back in the Delphi 7 days:
–jeroen
Posted in Delphi, Delphi 7, Delphi XE5, Development, Java, Software Development | Leave a Comment »
Posted by jpluimers on 2013/11/07
Wow, I’ve been living under a stone (:
Just discovered the online Cyber-Dojo by Jon Jagger. It is an online manifestation of a Coding Dojo. Both have been there for years, and I think both are brilliant.
They take the concept of a Dojo as being a place to practice sports like martial arts in a pair or group setting with a series of Katas or practices.
Katas in a Dojo are a means for performing deliberate practice in order to learn new things. For instance, acquire new movement techniques, learn about your balance, gain strength, all in both a physical and mental way.
A Coding Dojo takes this concept into the programming world focussing at learning new programming skills. Watch the How do you put on a coding dojo event? – YouTube
The Cyber Dojo goes a step further and brings it on-line (a 2010 example video is Roman Numerals Coding Kata in Ruby using CyberDojo website on Vimeo).It is easy to get started: either join an existing Dojo by entering the practice ID, or setup a new Dojo where you get a practice ID that others can join.
The aim of both is do more deliberate practice.
When performing Coding and Cyber Dojo, you should use Test Driven Development using pair programming and BabySteps. Those help you to slow down, as one of the Dojo Principles is for Katas to slow down. It reminds me of the “if you are in a hurry, sit down” mantra and is a key part of the Coding/Cyber Dojo Principles too.
The aim is to learn, and part of that is to first un-learn and open you to new thoughts. That’s why it is so cool that the Cyber-Dojo provides you with:
You’d think they speed you up, but that is not their aim. Like a regular Dojo it gives you an pre-set environment and gives you piece of mind to get started.
The Cyber Dojo does without a Sensei, whose purpose in a Coding Dojo is to ask questions in order to guide the participants.
That’s why it is good to use the Cyber Dojo as part of a Coding Dojo: basically the Cyber Dojo provides a standardizes set of tools to quickly setup a Coding Dojo.
(a prime number, so the table is a bit distorted)
| C | Go | PHP |
| C# | Haskell | Perl |
| C++ | Java-Approval | Python |
| Clojure | Java-Cucumber | Ruby |
| CoffeeScript | Java-JUnit | Ruby-Rspec |
| Erlang | Javascript |
Many of the practices come from rosettacode.org.
| 100 doors | Harry Potter | Print Diamond |
| Anagrams | LCD Digits | Recently Used List |
| Bowling Game | Leap Years | Reversi |
| Calc Stats | Mine Field | Roman Numerals |
| Count Coins | Monty Hall | Tennis |
| Diversion | Number Names | Unsplice |
| Fizz Buzz | Phone Numbers | Verbal |
| Game of Life | Poker Hands | Yahtzee |
| Gray Code | Prime Factors | Zeckendorf Number |
–jeroen
via:
Posted in .NET, Agile, C, C#, C++, Development, Java, JavaScript/ECMAScript, Perl, PHP, Scripting, Software Development, Unit Testing | 3 Comments »
Posted by jpluimers on 2013/05/09
From the century start era of The Pragmatic Bookshelf | The Pragmatic Programmer, a – still valid – list of Pragmatic Software Development Tips.
From Care About Your Craft, via DRY, Some Things Are Better Done than Described, Keep Knowledge in Plain Text, Work With a User to Think Like a User, Find the Box, and many others till Sign Your Work.
–jeroen
Posted in .NET, C++, Cloud Development, COBOL, CommandLine, Delphi, Development, Fortran, iSeries, Java, Pascal, RegEx, Scripting, Software Development, Web Development, xCode/Mac/iPad/iPhone/iOS/cocoa | 3 Comments »
Posted by jpluimers on 2013/03/05
It starts to be not so funny any more: almost every week a new Java security update.
Time to update again, to stay secure and install the patch: Security Alert CVE-2013-1493.
On the funny side: Java 0day countdown.
–jeroen
Posted in *nix, Apple, Development, Java, 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, OS X 10.8 Mountain Lion, Power User, Software Development, Windows, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: java security, new java, security alert, software, technology | 2 Comments »
Posted by jpluimers on 2013/01/17
Even though the JavaRa tool is Windows-only, it is a tremendous help scraping old vulnerable versions of the Java Runtime Environment (JRE) from your systems and keeping only the fixed versions.
Regular JRE installs from Oracle/Sun will keep the old-and-vulnerable JRE versions.
(note that it seems the recent JRE update did not actually fix the vulnerability, just the exploit, and that a new Java vulnerability might already be exploited. Be sure to keep a watch upcoming Java updates for these).
JavaRa is an effective way to deploy, update and remove the Java Runtime Environment (JRE). Its most significant feature is the JRE Removal tool; which forcibly deletes files, directories and registry keys associated with the JRE. This can assist in repairing or removing Java when other methods fail.
JavaRa 2.1 (released 20130116) Read the rest of this entry »
Posted in Development, Java, Power User, Software Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: commandline arguments, internet, java jre, java runtime environment, java updates, java version, java vulnerability, software, technology | 1 Comment »
Posted by jpluimers on 2013/01/04
Sometimes the Java Update checker crashes in the middle of something.
The long solution to restart it is to logoff/logon or reboot/logon and wait for it to come up.
The short solution is to manually restart it (you probably need to be Administrator to do this though) using either of these commands:
"%CommonProgramFiles%\Java\jucheck.exe" -auto
"%CommonProgramFiles%\Java\Java Update\jucheck.exe" -auto
"%CommonProgramFiles(x86)%\Java\jucheck.exe" -auto
"%CommonProgramFiles(x86)%\Java\Java Update\jucheck.exe" -auto
To keep it simple: The exact command depends (:
jucheck.exe is in the Java directory itself, or in a Java Update directory–jeroen
Posted in Development, Java, Power User, Software Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003 | Leave a Comment »
Posted by jpluimers on 2012/12/06
Thanks Nick Craver for answering this on StackOverflow.
Array initializers can be specified in field declarations (§17.4), local variable declarations (§15.5.1), and
array creation expressions (§14.5.10.2).
The array initializer can end in a comma, which makes some things way easier (boy, I wish I had this in other programming languages).
From Nick’s answer:
It has no special meaning, just the way the compiler works, it’s mainly for this reason:
[FlagsAttribute]
public enum DependencyPropertyOptions : byte
{
Default = 1,
ReadOnly = 2,
Optional = 4,
DelegateProperty = 32,
Metadata = 8,
NonSerialized = 16,
//EnumPropertyIWantToCommentOutEasily = 32
}
[/language]By comment request: This info comes straight out of the ECMA C# Specification (Page 363/Section 19.7)“Like Standard C++, C# allows a trailing comma at the end of an array-initializer. This syntax provides flexibility in adding or deleting members from such a list, and simplifies machine generation of such lists.”
–jeroen
via c# – .NET Enumeration allows comma in the last field – Stack Overflow.
Posted in .NET, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C++, Delphi, Development, Java, JavaScript/ECMAScript, PHP, Software Development, VB.NET | 5 Comments »