Gosuke Miyashita

Paperboy Is Hiring

| Comments

今までペパボの人事評価制度では、管理職のキャリアプランしか想定されていかったのですが、今年から導入された制度では、管理職とは別に、技術職用の等級が設けられ、能力に応じて待遇が向上する仕組みが導入されました。

具体的には、シニア、アドバンスド・シニア、という2つの役職が設けられ、以下のような待遇となっています。

  • シニアは年俸500万円〜。フレックスタイム。
  • アドバンスド・シニアは年俸600万円〜。裁量労働。

実運用に入るのはまだこれからなのですが、今までペパボでは技術者がステップアップしていく道がなかったので、これはペパボの技術者にとって、とても大きな一歩です。

で、本題。

新しい技術者の評価制度をベースに、今までペパボにはなかったポジションの技術者を、東京福岡、両方で募集しています。

「技術基盤整備エンジニア」という言葉でピンと来る方もいるかと思いますが、クックパッド さんの開発基盤グループが、役割として近いと思い、名前を拝借させていただきました。

職務内容としては、

  • ペパボ全サービスに関わる技術基盤の整備
    • 新しい方法論や技術の導入
    • 開発手法の整備
    • 大規模なリファクタリング、リプレース
    • モニタリング、キャパシティプランニングの強化
    • データ解析/ログ解析
    • セキュリティ関連

と書かれていますが、これだけに留まらず、これは絶対にやるべき、という技術的課題があれば、どんどんお任せしたいと考えています。

待遇は新評価制度の元での、アドバンスド・シニア待遇となります。(年俸600万円はあくまでも最低ラインなので、応相談です。)

また、自分が就いてる役職はテクニカル・マネージャーなのですが、この役職は人数制限があるわけではないので、場合によってはテクニカル・マネージャー待遇も検討させて頂きます。(特に福岡の場合。)

興味のある方、もっと具体的な話が聞いてみたい、という方は、twitterfacebook などで、お気軽にお声掛けください。

他にも、東京、京都、福岡で様々な職種で人材募集中です

Webiblo - Web to Ebook Project

| Comments

I’ve started the project webiblo.This is the improved fork of web-to-mobi.

This project includes the script to convert web sites into ebook format(currently mobipocket only) data from given JSON data and gathering the JSON data for web sites.

Currently, you can generate mobipocket format data with the URI of JSON data like this:

$ webiblo.pl http://mizzy.org/webiblo/data/Getting_Real.json

Or with JSON data through STDIN.

$ cat data.json | webiblo.pl

This script needs KindleGen.

JSON data is like this:

{
    "title"       : "Structure and Interpretation of Computer Programs",
    "authors"     : [
        "Harold Abelson",
        "Gerald Jay Sussman",
        "Julie Sussman"
    ],
    "cover_image"   : "http://mitpress.mit.edu/sicp/full-text/book/cover.jpg",
    "content_xpath" : "//div[@class=\"content\"]", # Optional
    "exclude_xpath" : "//div[@class=\"navigation\"]", # Optional
    "chapters" : [
        {
            "title" : "Foreword",
            "uri"   : "http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-5.html#%_chap_Temp_2"
        },
        {
            "title" : "1  Building Abstractions with Procedures",
            "uri"  : "http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-9.html#%_chap_1",
            "sections" : [
                "title" : "1.1  The Elements of Programming",
                "uri"   : "http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1"
                "subsections" : [
                    {
                        "title" : "1.1.1  Expressions",
                        "uri"   : "http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.1"
                    },
                ]
            ]
        }
    ]
}

Overview of the JSON data is following:

  • Book data
    • Title
    • Authors
    • Cover Image
    • XPath that represents the content part (Optional)
    • XPath that represents the uneeded part of the content (Optional)
    • Chapters
      • Title of the chapter
      • URI of the chapter page
      • Sections
        • Title of the secion
        • URI of the section page
        • Subsections
          • Title of the subsection
          • URI of the subsection page

There are two JSON data for Getting Real and SICP on [my web site(http://mizzy.org/webiblo/) .

JSON data are put on the gh-pages branch.Pull requests are welcome.

Webiblo - Web to Ebook Project

| Comments

久々に日本語で書きます。(後で英語でも書く。)

Web-to-mobi を焼き直して、Webiblo というプロジェクトを立ち上げてみました。

基本的には GitHub の README に書いてある通りなんですが、ウェブサイトについて記述された JSON を喰わせることによって、Kindle で読める mobipocket フォーマットの電子書籍データを作ろう、また、様々なサイト対応の JSON データを集めたい、というのがこのプロジェクトの趣旨です。

現在は、

$ webiblo.pl http://mizzy.org/webiblo/data/Getting_Real.json

といった感じで、JSON が記述された URL を指定するか、

$ cat data.json | webiblo.pl

といった形で JSON を標準入力から渡してやれば、与えられたデータにしたがって、mobipocket 形式のデータを生成します。(KindleGen が必要です。)

JSON データは以下のようになっています。

{
    "title"       : "Structure and Interpretation of Computer Programs",
    "authors"     : [
        "Harold Abelson",
        "Gerald Jay Sussman",
        "Julie Sussman"
    ],
    "cover_image"   : "http://mitpress.mit.edu/sicp/full-text/book/cover.jpg",
    "content_xpath" : "//div[@class=\"content\"]", # Optional
    "exclude_xpath" : "//div[@class=\"navigation\"]", # Optional
    "chapters" : [
        {
            "title" : "Foreword",
            "uri"   : "http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-5.html#%_chap_Temp_2"
        },
        {
            "title" : "1  Building Abstractions with Procedures",
            "uri"  : "http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-9.html#%_chap_1",
            "sections" : [
                "title" : "1.1  The Elements of Programming",
                "uri"   : "http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1"
                "subsections" : [
                    {
                        "title" : "1.1.1  Expressions",
                        "uri"   : "http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.1"
                    },
                ]
            ]
        }
    ]
}

ざっくり構造としては、以下のようになっています。

  • 書籍データ
    • 本のタイトル
    • 著者
    • 表紙画像
    • コンテンツとして抜き出す部分の XPath(オプショナル)
    • コンテンツから除外したい部分の XPath(オプショナル)
      • 章タイトル
      • 章ページの URI
      • セクション
        • セクションタイトル
        • セクションページの URI
        • サブセクション
          • サブセクションタイトル
          • サブセクションページの URI

JSON データは現在のところ、Getting Real 用のものと SICP 用のものを こちら で公開しています。

JSON データは GitHub リポジトリの gh-pages ブランチに置いてあるので、独自の JSON データを作成した方は pull request 送ってもらえるとうれしいです。

webiblo で生成したデータを Kindle Previewer で見ると、こういった感じになります。

元々は、単に Getting Real 英語版のデータを mobipocket 形式に変換したかっただけなんですが、Facebook での otsune さんのアドバイスにより、こういった形で、書籍固有のデータを分離する形でつくってみました。

また、@hotchpotch さんから、Autopagerize の SITEINFO を活用したアプローチ もあるよ、と教えて頂き、うおー、これはエレガントだ、と思ったんですが、こちらは目次ページを作成する機能がなさそうだったので、とりあえず当初の JSON を利用するというコンセプトのまま開発を進めました。

今後の TODO としては、以下のものを考えてます。

  • EPUB3 など、mobipocket 以外のフォーマット対応
  • CLI から JSON カタログを検索して、簡単にデータ生成できるようにする

Web-to-mobi - a Script for Converting Web Sites to Mobipocket Format

| Comments

I’ve written a script to convert Getting Real into mobipocket format.

But the kindle edition of Getting Real is sold at amazon.com, publishing this script may be illegal.

So I’ve re-written this script like this following the advice from @otsune-san.

This script gets JSON data about a web site from STDIN and converts web data to mobipcoket format.

JSON data format is like this.

{
     "title"    : "Getting Real",
     "author"   : "37signals",
     "chapters" : [
         {
             "title"     : "Introduction",
              "sections" : [
                  {
                      "title" : "What is Getting Real?",
                      "uri"   : "http://gettingreal.37signals.com/ch01_What_is_Getting_Real.php"
                  },
                  {
                      "title" : "About 37signals",
                      "uri"   : "http://gettingreal.37signals.com/ch01_About_37signals.php"
                  },
              ]
        }
     ],
     "content_xpath" : "//div[@class=\"content\"]",
     "exclude_xpath" : "//div[@class=\"next\"]"
}

This is the image of showing the converted file on Kindle Previewer.

Lunar Eclipse

| Comments

These are pictures of a lunar eclipse on Dec. 10, 2011.

Three red stars.(Moon, Betelgeuse and Aldebaran)

This is the composite picture from the penumbral eclipse to the beginning of the total eclipse.

A Picture of Geminids

| Comments

This is a picture of a shooting star of Gemnids I took on Dec. 15, 2011.I took over 2,000 pictures and only 3 pictures got a shooting star.

A red bright star on left side is Aldebaran of Taurus and dense small stars on center are Pleiades.

It was so cold but looking at stars and shooting stars were so fun.It would never be boring for me.

Maglica Presentation at Hatena

| Comments

I talked about Maglica at Hatena on Dec. 9, 2011.

I appreciate @kentaro-san and Hatena staffs.I had a very good time to talking with you and drinking Dr Peppers :-)

This is the slide I talked.

Maglica is a simple internal cloud tool I made.I don’t like complicated and blackboxed tools.It seems for me that existing internal cloud tools are so complicated and overengineered for my use case.So I made the simple one.

“Tenjin” font is embedded in this slide using CSS Fonts Module. @chocolatina made this cool font.

How to Deploy a Blog Made by Octopress to Heteml

| Comments