Mawson's Hut

Jeremy Mawson

ビーチをさんぽします

ビーチへ行きました。

Dsc01788-1

ながいあしはやさしいです。でも、みじかいあしは…

 

Dsc01805-1

ドットさん「とてもこうふんしています」

 

Dsc01793-1

日の入りはきれいでした。

犬つり

このあいだ、犬をつりました。

妻も。でも犬はつかれました

かっぱやの昼ごはん。そしてもっと動物。

今週末もっと動物を見ました。

そのまえに、日本のきっさてんで昼ごはんを食べました。かっぱやといいます。

Dsc01703_-_copy
Dsc01705_-_copy

きれいなきっさてんです。そとにいました。

Dsc01706_-_copy

お茶をのみました。

Dsc01709_-_copy

かないの昼ごはん。私のとほとんどおなじでした。

Dsc01711_-_copy

おにぎり。まえはつけものとうめぼし。(私はうめぼしが大すきです)。その うしろはさけです。

Dsc01712_-_copy

Deep fried やさい。サコサコともうします。

Dsc01702_-_copy

いつドットは食べ物をもらいますか?わかりません!

食べたあとで農場(のうじょう)の動物を見ました。

Dsc01721_-_copy

ドットちゃんのはじめの羊(ひつじ)…

Dsc01726_-_copy

と牛(うし)…

Dsc01732_-_copy

と豚(ぶた)…

Dsc01742_-_copy

と山羊(やぎ)。

ドットちゃんは豚がこわかったです。でも楽しみました。

 

ウェッリビの動物園

今週末、ウェッリビの動物園へ行きました。そこにたくさんアフリカの動物がいます。

Dsc01674-1

これはミーアキャト。

Dsc01645-1

この大きいな猫はServalです。とても可愛いいです。

Dsc01673-1

このライオンはちかくなかったから、うれしいです。このちゃしんはちょうどキスがおわったところです。

ウェッリビの動物園は楽しいです。はじめていきました。

(私の日本語はわるいです。あたらしい学生ですから。すみません)

ドットちゃんとあそぶ

このビオは私の犬です。ドットともします。小さいダックスフンド。

毎週、日本語のレッスンのあとで、犬とあびたいです。たのしいですから。

Jenkins Git-plugin on Windows pauses when cloning.

If you have Jenkins & Msysgit on Windows, and you find that the git-plugin is pausing at the cloning stage, it is likely that the ssh child process is blocking for input.

Ensure that sure your ssh keys are in the correct location and that they don't require a password.

To find the correct location, in Process Explorer switch to tree view, and locate the stalled ssh.exe child process of Jenkins. Drill into it and confirm the HOME environment setting. This is where your .ssh folder should be located. For me it was c:\documents and settings\{username}\

Option's hidden gem

Did many people know about Option.apply before a few days ago? If my twitter stream is any indicator, it was a hidden gem waiting to be uncovered.

It was (welcome) news to me.

When integrating Scala with Java I often need to bridge a null to an Option type. It's important to convert nulls to Options because having nulls littering your logic means you can't trust your variables to be of the type declared; they might be null, and you have to check them with boilerplate if (x == null) checks at every turn.

Previously I was implementing this boilerplate pattern at every join between Scala and Java code where the latter might inject nulls into my logic.

The buzz that went around twitter was that this pattern already exists on the Option object.

Filed under  //   option   scala  

SBT plugin updates

How, oh how could I have forgotten SBT-GH-Issues? It allows management of github issues via SBT. This is the plugin that initially got me thinking ‘what other wonderful jewels are out there’?.

Since I wrote my last post, the Jenkins CI plugin has diverged from the Hudson version. (It’s been updated by @uzi_landsmann)

And then there’s a newly emerged code coverage plugin “name_pending”. It’s in beta and there has been at least one report of it not working well. But it’s early days yet, and I have hope in it.

Filed under  //   sbt   scala  

Plugins for SBT

SBT, the Simple Build Tool, has excellent plugin support. The official list of SBT plugins is on the SBT Wiki. I suspect it is not entirely up-to-date.

Here’s a list of plugins currently available. Some I have used personally, most I have not.

IDE/Tooling Support

Testing

  • Execute Cucumber features via cuke4duke Cuke4Duke SBT plugin by @rubbish (Don’t forget SBT already has testing support built in Specs, ScalaTest and ScalaCheck if these suit your needs better).

Build Artefacts

Code Metrics

Deploying

Polyglot

Continuous Integration

  • Still using Hudson? Hudson SBT Plugin
  • ^HudsonJenkins Jenkins SBT Plugin (I’m not sure if these differ at all currently, but I’d not be surprised if they diverged over time).

I’m sure to have missed a few. If so, let me know. Or better still, head over to the SBT Wiki and update it.

To keep up with new plugins (and libraries) as they are published, I recommend a subscription to implicit.ly

Filed under  //   sbt   scala