A few are written in 日本語.

Sat, 12 Jan

Scala Usage at LinkedIn

http://youtu.be/XeiiEguxRNs

Autovivification

http://perldoc.perl.org/perlref.html#Using-References

This is one of the cases we mentioned earlier in which references could spring into existence when in an lvalue context. Before this statement, $array[$x] may have been undefined. If so, it’s automatically defined with a hash reference so that we can look up {“foo”} in it. Likewise $array[$x]->{“foo”} will automatically get defined with an array reference so that we can look up [0] in it. This process is called autovivification.

This is a yet another odd feature in Perl.

日南 響子

I noticed that 日南 響子 sang 椎名 林檎’s “丸の内サディスティック” and uploaded it to SoundCloud! She is an actress, kind of a gravure idol (NSFW a little) and a fashion model under exclusive cotract to “non-no” magazine.

(via @hysysk)

Sun, 13 Jan

Indie Game: The Movie

I watched Indie Game: The Movie with Japanese subtitles last night. It was a great documentary on indie games. If you are a programmer or had made something independently, YOU MUST WATCH IT.

(via @feio)

Fri, 18 Jan

Hyves uses HipHop

HipHop for PHP at Hyves

After its introduction many bloggers have written background articles regarding Hiphop but few seem to have actually used it in a production environment. At Hyves, we use HipHop to run our web servers and our daemons, which are also written in in PHP. In this blog, I will detail some of our experiences and results.

Hyves (a dutch social networking service) uses HipHop in their production environment.

Craig Mod “超小型出版”

I bought and read a Japanese translation of Subcompact Publishing in Kindle. It was interesting.

Mon, 21 Jan

Dulwich on Mac OS X

I got the below error during “make check”.

% make check
...
======================================================================
ERROR: test_submodule (dulwich.tests.test_repository.RepositoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "dulwich/tests/test_repository.py", line 363, in test_submodule
    r = Repo(temp_dir)
  File "dulwich/repo.py", line 1255, in __init__
    "No git repository was found at %(path)s" % dict(path=root)
NotGitRepository: No git repository was found at /var/folders/y1/nzmpj9yd69vbcvhbqkr_5pv80000gn/T/tmp1JU2Qo

----------------------------------------------------------------------
Ran 708 tests in 22.029s

FAILED (errors=1, skipped=24)
make: *** [check] Error 1
%

Here is the workaround.

% mkdir ~/tmp
% TMPDIR=$HOME/tmp make check
...
Ran 708 tests in 22.253s

OK (skipped=24)
%

In OS X, “/tmp” is a symlink to “private/tmp” because of the historical reason. Probably it confuses the test.

Vagrant + Chef

I installed VirtualBox and Vagrant on OS X because I want to have a plain Linux box.

On Vagrant, I use Chef to install softwares. Chef adds an another abstraction layer over Linux distro’s packaging system like this. It seems kind of redundant. However if Chef supports only one distribution, their community will be smaller.

Wed, 23 Jan

From Ruby to Haskell: an Introduction

Yesterday I went to Tokyo Rubyist Meetup and learned Haskell a little.

I had read ふつうの Haskell in 2006 (probably) and forgot most of it and learned Scala in 2009. So Haskell is still fresh for me. Hopefully I will review today’s materials in this weekend. Thank you Curt!