Angry Gnomes

On Friday, I was home alone with the kids and, while the weather could have been better, it was certainly too nice to stay indoors all day. The kids, however, wanted to stay inside and play Angry Birds.

So we compromised…

flattr this!

58% Liberal

With the European – and other – elections coming up in May, a number of Belgian news (and other) organisations have compiled a voting test. The idea behind Stemtest 2014 is simple – you answer a series of 25 questions then weight the areas according to your concerns and the site tells you which party most agrees with you.

Always a sucker for a quiz, I gave it a go and discovered – to no-one’s great surprise – that the party I most agree with is the OpenVLD. I was quite interested, though, to note how close a match Groen are to my opinions. Maybe I’m more of an environmentalist than I realised.

Stemtest 2014

It’s worth mentioning, again, that I signed up the the WePromise campaign that called on EU voters to promise to vote, and to vote for digital rights-friendly candidates. I would still take this campaign seriously but have been very disappointed by the response of Belgian parties. Only three candidates are listed at the time of writing this post, and two of them are Francophone and, therefore, not an option.

There’s still almost a month to go, though, so I shall wait and see if any candidates actually do sign up.

flattr this!

Fat fingered discovery of the day

It’s amazing how much you can learn with a little clumsiness. In my case, all I wanted to do is power off the screen on my Fairphone and, instead, I took a screenshot.

A quick search reveals that this is because I (unintentionally) had my thumb on the volume down button when I pressed the power button.

So now I have a screenshot, so here it is.

flattr this!

The Problem With Proprietary

I have seen the view expressed that open source and/or free software isn’t really relevant to enterprise systems. The reasoning (and this is coming from an IBM i perspective, I can’t speak to the experience on other platforms) is that, while the programs we have are proprietary we do have access to the source, can find out what is going on in the database and are able to either extend the software or build interfaces around it depending on requirements.

It’s true that none of these enhancements can be shared but no logistics company (to take an example) is going to get into the business of distributing software, so this restriction exists in theory rather than in practice.

Then Oracle comes along and provides the counter argument: Oracle smacks JD Edwards help site with cease and desist order

A JD Edwards technical reference and help site has been forced to close after being sent a cease-and-desist letter from Oracle.

The JDEREF.com site’s UK-based webmaster recently revealed that a legal representative from Oracle, which acquired JD Edwards’ owner PeopleSoft in 2005, sent the cease-and-desist letter requesting the closure of the site due to perceived IP infringement.

The Oracle legal letter argued that by providing information about JD Edwards’ software schemas, the site was infringing on Oracle as a rights holder. The letter requested that the site admin “remove or disable access to this material.”

Let’s be quite clear here. The only people who are going to be interested in JD Edwards schemas are the people working for companies that have bought the JD Edwards software. These people will be capable of obtaining or building the schema information for themselves but, without an external reference, this information will be fragmented across multiple customers and left to become obsolete and increasingly accurate.

By thinking in entirely in terms of copyright protection, all that Oracle has achieved is to close down a site that gave businesses a reason to continue doing business with Oracle.

Before I finish this post, I would like to clarify that the point of this post is not to bash Oracle. Obviously, the focus is on Oracle and JD Edwards because the site that was shut down was JDEREF.com. The operator of this site was slapped down for trying to help his professional community and (indirectly) add to his supplier’s bottom line. Most people working on this sort of software simply wouldn’t bother, and this is both a result of using proprietary software and an unnecessary expense for the businesses that buy it.

flattr this!

Vim in Powershell

Because, why not.

And because I am stuck in Windows Land while at work.

And because I found myself playing around with Windows Power Shell. It’s not as good as Bash by a long stretch, but it is a significant improvement on the old Windows cmd almost-terminal. And, because I like to be able to move from task to task, without having to constantly switch windows, I thought I would give it a try.

The first thing to do, of course, is install a decent text editor. This is easy, a Windows binary exists for Vim so I downloaded and installed it. Then comes the fun bit.

Getting it to work in Powershell isn’t exactly difficult, but there are a few hoops that need to be jumped through and no clear overview of what and where these hoops happen to be. And that’s why I am posting this.

First, you need to allow scripts to run. This is not enabled by default because, obviously, if you have a scripting environment, the last thing you are going to want to do is execute scripts. Fortunately, this is easily checked and altered by means of the execution policy.

To see the current state of your execution policy, use:

Get-ExecutionPolicy

This will probably tell you it’s restricted, in which case you need to tell it to run scripts by typing (or pasting):

Set-ExecutionPolicy RemoteSigned

(You can also set the execution policy to AllSigned or Unrestricted, but RemoteSigned is sufficient for now.)

Next, you need a Powershell profile (why is it that Windows terms all feel like they should be wrapped in a blink tag?), which can be created by typing (or pasting):

new-item -path $profile -itemtype file -force

And now you need to edit your profile to add a Vim alias. You’ll need to do this in Notepad:

notepad $profile

And then paste the following:

set-alias vim "C:/Program Files (x86)/Vim/Vim74/./vim.exe"

# To edit the Powershell Profile
# (Not that I'll remember this)
Function Edit-Profile
{
    vim $profile
}

# To edit Vim settings
Function Edit-Vimrc
{
    vim $HOME\_vimrc
}

(Obviously, you will need to amend the Vim path name to match the reality on your system.)

And you’re done.

I’m not sure how much use I will actually get out of Vim at work as my workflow often involves copying and pasting text from one application to another – and for that Notepad++ is probably still a better fit. However, having an additional tool certainly does no harm and I can certainly see cases where having the power of Vim available will be useful. For now, I will use both and see how each fits into my workflow.

And finally, this post was brought you you with the help of Microsoft, Marlon Abastar and Julian Kay.

flattr this!

Chicken Run

This is a real conversation (as far as my memory allows) from Friday.

Paul: So how many chickens are you thinking of getting?
Eve: The henhouse is large enough for four but I think three is enough.
Me: Any thoughts about names?
Eve: Not yet
Me: How about Bubbles, Blossom and Buttercup?
Eve: …
Me: …
Eve: We are not naming the chickens after The Powerpuff Girls.

And on Sunday we became the owners of three chickens. Two of them look like this:

The names are still a bit fluid at the moment, but I definitely think that the ginger one who keeps trying to escape should be called Ginger.

Ginger’s escape attempts pale into insignificance, however, when compared to the achievements of Catchicken.

flattr this!

Teamwork

It’s the half-term break this week so, today, I was home alone with the kids. Never being one to pass up an opportunity, I put them to work…

… and I’ve had a very peaceful evening so far.

flattr this!

If at first you don’t succeed, fail spectacularly

This made me laugh:

The deeply serious spooks tried to spare the sensibilities of their employees by employing automatic image porn filters. Unfortunately naive porn filters block images on the basis of how much of the picture consists of flesh tones. In the case of video conference calls, this turns out to be too much: they were getting lots of false positives (images classified as pornographic that were not in fact so), and as the whole point of the program was to trial face recognition software in order to detect Bad People Discussing Terrorism On The Internet, this was a bit of a problem.

Mass data collection doesn’t work, but this is the funniest example of failure to date.

flattr this!