Kengo's blog

Technical articles about original projects, JVM, Static Analysis and TypeScript.

Entries from 2012-01-01 to 1 year

enchant.js templates are ready for English user

I've translated PRESS-START to English. Now English user can use this site to generate templates for enchant.js programming. PRESS START for enchant.js But I think it isn't enough for them to use enchant.js. For example, there is one user …

New game for learning Periodic Table

I've posted new game to 9leap. I designed this game for junior high school students to learn Periodic Table. This is the first version of this game, so it's very simple. 新しいゲームを9leapに投稿しました。中学生が周期表を学ぶために使えるゲ…

My definition of the Craftsman, or why I don't be the worst

I'm a descendant of a carpenter. He was great carpenter and the top of his building firm. He created a lot of values and happiness, so his product will live and guard its owner's life after his death. BTW, our lovely creator's culture has …

My ideal Java coding rule checker

I think coding rule and code analysis is helpful solution for Java. They develop advantage of Java, solidness, and help to change your project easy to read. We can use checkstyle, PMD, findbugs and another solution. コーディングルールやコ…

Rakefile generator for enchant.js

I've created a website which generates Rakefile for enchant.js programming in my GitHub pages. Currently it supports 3 plugins. Please try to use if you're interested in. 先日作ったRakefileを主要プラグインに対応させつつ汎用化しました。Init…

Rakefile for enchant.js programming

I found that starting game programming with enchant.js is slow. It has a lot of steps like creating index.html, downloading enchant.js and plugins, downloading images for plugins... it's boring, isn't it? 最近enchant.jsによる開発の「初速」…

Reading source of Hatena Blog

Today I read a source (HTML, JS, CSS) of this blog. This entry is my impression. このブログのソースを読んでみたので、感想をまとめておきます。 CSS/JS isn't pre compressed? To load basic CSS files and JS files, this blog uses very long URI w…

Ruleset for SLF4J has been updated

Today I updated ruleset for SLF4J. There is no enhancement but many fixing. ruleset for SLF4Jを更新しました。バグ修正が主な変更となっています。 Comparing 3fefc4f29b...a9dd209 · eller86/ruleset-for-SLF4J · GitHub The biggest fix is avoiding…

How to listen VOCALOID music without nicovideo (UPDATED)

Recently I resumed crawling VOCALOID songs. I'm trying to introduce methods which I'm using. 最近ようやくVOCALOID曲の探索を再開しました。やっぱいいですね。つーわけで、とりあえず私が使っている曲探し方法を紹介してみます。 KARENT KARENT is th…

How to use "Bootstrap, from twitter" in Maven site

Apache releases a skin for maven site which uses Bootstrap. So we can use bootstrap in our original project site easily. 各所で使われているBootstrapですが、ApacheがMavenサイト用のスキンをリリースしており簡単に使えます。これはとっつきやすい…

PMD ruleset for SLF4J

I wanted to use ruleset to validate my codes so I asked to ML of SLF4J, but there is no tool to help. So I've created a PMD ruleset for SLF4J. It may help to code with unified valid logging. コードを統一するためのルールセットがほしくてSLF4…

How dynjs handles function

I traced how dynjs execute javascript last month. Today I try to trace how dynjs handles function. creating javascript I created a script which has a function returns x2 of argument. function doubleFunction (arg) { return arg * 2; } It cre…

How to accelerate launching your HTML game

HTML5ゲームに関するイベントleapfestに参加してきました。そしてLTの機会もいただけたので、旧ブログでも触れた起動高速化について話させていただきました。ここに絞って基本戦略とか横断的なネタとかをまとめたのが意外と楽しかったです。 なおスライドはS…

Deploying Maven's site to GitHub Pages

Are you using Maven's site feature? How about GitHub Pages? If you're using both of them, GitHub's site-maven-plugin helps you to host your site on Pages. MavenのsiteとGitHub Pagesを使っている方に朗報です。GitHub社がsiteをPagesにデプロイす…

How dynjs runs javascript

※ブログ記事と言うよりはメモのようなものなので、日本語は省略します。 I'm trying to read dynjs. At 1st, let's try to know how it executes given javascript. READY TO READ build it and create an IDE project There is a wiki page to introduce ho…

新年快乐! (Happy lunar new year!)

Chinese new year holiday ends today. So I try to think my purposes for this year. 今日で中国の旧正月*1が終わります。せっかくなので今年の目標など。 programming I wrote 'I want to write Java tool or library with byte code creation' in 3 week…

Goodbye, checkNotNull

Precondition checking like null-checking is very important element for program, but sometimes it becomes boring because it's a defensive technique and far apart from our purpose -- hacking. nullチェックのような前提条件確認はプログラムにお…

One attention to use DEV@cloud for hosting your FOSS

Do you have tried to use DEV@cloud by CloudBees? Not yet? I've already use it, so I have one attention for you to host your FOSS. CloudBees社が提供するDEV@cloudが期待通りにとても便利なのですが、1点だけ解決に時間を要したので共有。 If you wa…

released a gl.enchant.js sample

I released a sample project for gl.enchant.js. You can run this project to access here. I want to use acceleration sensor with, but iPhone isn't WebGL ready yet, so I don't use it. gl.enchant.jsを使ったサンプルをGitHubに公開しました。加速…

jitescript reading

Reading OSS gives you new experience and discovery. It is just like exploring a library you don't know well. I explored the jitescript today, so I note how to explore and my impressions about them. OSSを読むということは新たな経験と発見を見…

How JVM handles `byte` values -- a difference between JLS and JVMS

Java has a primitive type called `byte`, but the JVM doesn't have opcodes to calculate them. JVM handles them as `int`. It's the reason why we cannot code like: Javaにはbyteというプリミティブ型がありますが、JVMにはbyteを演算するためのオペ…

released Brainf*ck implementation on Java7

I've released Brainjack at GutHub. It's a Java7 implementation of the Brainf*ck programming language. Brainf*ckのJava7実装をGitHubで公開しました。以前の記事で触れた、バイトコードを吐くコンパイラが含まれています。 eller86/Brainjack - GitHub…

I've remade my personal site by jQuery mobile (updated)

My site, hosted by GitHub Pages, is remade by jQuery mobile. It's my 1st case to use this framework, but it's easy for me to learn because it's similar to jQTouch. So I've finished it in only 3 hours. GitHub Pagesで運営している個人用のサイ…

はてなブログに完全移行しました

はてなブログにTwitter連携機能が実装されたため、本ブログの更新を停止しはてなブログへと完全移行します。 eller's blog よろしければRSSの購読をお願いいたします。はてなブログにはまだ記事のタグづけが実装されていないので、技術記事だけをフィルタし…

remtterクローンのサービス @twistoire を終了しました

twistoireをトップページだけ残して停止しました。ご利用いただいた皆様、ありがとうございました。 以下、技術者が読むという想定のもとに終了の経緯とふりかえりをだらだら書きます。 終了の理由 大きく分けて3つあります。 私がTwitterをあまり使わなくな…

ツクールVXのマップチップ規格を解釈したマップ描画

私みたいに絵心のない人は自作ゲーで使う画像をゲーム素材から探したくなるのですが、世の中のゲーム素材はツクールなどの素材規格に準拠しているケースが大半です。 RPGツクールVX素材規格 RPGツクールXP素材規格 ウディタ素材規格 で、JavaScriptゲーでも…

「妄想変身ヒーローズ」コードリーディング

9leapで公開されている妄想変身ヒーローズが楽しく快適だったので、どんなコードなのか読んでみました。JavaScriptでそれなりの規模のプロジェクトを作る場合はどうするのがいいんだろう?という疑問へのヒントをもらえた気がします。enchant.jsに限ればScen…