Monday, June 24, 2013

Npgsql's status for supporting EntityFramework

In this article (Npgsql Code First Entity Framework 4.3.1 Sample), I have learned that the current version of Npgsql - PostgreSQL's .NET Driver - only supports EntityFramework4, NOT supports EntityFramework5. And it the next article (Initial EF-6 support added to Npgsql), the next version of npgsql will support EntityFramework6 (may support EntityFramework5).

Thursday, June 20, 2013

Tips while freebsd-update

1. Before freebsd-update fetch

If there is no /boot/GENERIC file,
# cd /boot
# ln -s /usr/src/sys/amd64/conf/GENERIC .

2. Before freebsd-update install

Do mergemaster command.

Monday, June 17, 2013

I've finished reading "Refactoring: Ruby Edition"

Since this post, it has taken 17 months because I read it slowly with doing another coding or reading another book.

Fortunately, I have already done most of refactoring examples. But these three examples are not, so that this book is useful for me.

  • Introduce Class Annotation
  • Replace Type Code with State/Strategy
  • Introduce Expression Builder

Thursday, June 13, 2013

QtProject provides out-of-the-box MinGW sources and binaries

QtProject provides out-of-the-box MinGW sources and binaries in here.

It contains also OpenSSL binaries and ICU binaries.

Monday, June 10, 2013

How to upgrade msysGit full

If you use msysGit full installer and want to upgrade from old one, there are two points to be noted.
  1. rename or remove bin/git.exe
  2. rename or remove git/git.exe

Thursday, June 6, 2013

Opera changes its rendering engine to Blink, but bookmark goes away

Opera Next 15 and Opera for Android change these endering engine to Blink, but these bookmark go away. So here comes the site to survey features to be back.

Monday, June 3, 2013

Install Opscode Chef with Ruby 2.0 on FreeBSD Ports Collection

Opscode Chef version 10.x depends on JSON rubygem between 1.4.4 and 1.7.7. But, there are two points to solve:
  • Ports collection's rubygem-json146 does not support Ruby 2.0
  • The newest version of Ports collection's rubygem-json is 1.8.0
So that we must be some operations for install chef
  1. cd /usr/ports/devel/rubygem-json
  2. Install and do ports-mgmt/portdowngrade to downgrade to 1.7.7
    (or edit Makefile directly to write version 1.7.7)
  3. make install
  4. cd /usr/ports/sysutils/rubygem-chef
  5. edit Makefile
    rubygem-json>=1.4.4:${PORTSDIR}/devel/rubygem-json146 \ to rubygem-json>=1.4.4:${PORTSDIR}/devel/rubygem-json \
  6. make install
At last operation, ports collection fails because of rdoc, but Chef rubygem itself are succeeded.