RubyのHashとArrayの文字列要素をforce_encoding

RubyのHashとArrayの文字列要素を再帰的にforce_encodingする

Read more  ↩︎

Hello world!

ブログはじめました

LAPRAS伸びしろ選手権でのアウトプットまとめ

はじめに

LAPRASさんがTwitterで#LAPRAS伸びしろ選手権のハッシュタグで1ヶ月の技術力スコアの上がり幅を競うイベントを開催していて、1~3位には賞品があり、3位を目指して参加してみました。

Read more  ↩︎

Project EulerをHaskellで解いていく(Problem4: Largest palindrome product)

TL;DR

Haskellの勉強を兼ねてProject Eulerを解いていきます。 始めたばかりでわからないことが多いのでコメント頂けると嬉しいです。

問題文

A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers.

左右どちらから読んでも同じ値になる数を回文数という. 2桁の数の積で表される回文数のうち, 最大のものは 9009 = 91 × 99 である. では, 3桁の数の積で表される回文数の最大値を求めよ.

Read more  ↩︎

Responder + Vue.jsプロジェクト作成手順

TL;DR

最近responderというPython製の非同期処理が売りのWebフレームワークを知ったので、Vue.jsと組み合わせてプロジェクトを作成した手順を紹介します。

完成したものはこちら https://github.com/KeisukeToyota/responder-vue-sample

Read more  ↩︎