In my quest to get better with electronics and hardware projects, I recently decided I wanted to build my own "digital picture frame" project as gifts for my grandparents. I know these things can be bought pretty cheaply, but who knows where your family is uploading their photos to and who has access to the hardware in the picture frames. Plus it seemed like a perfectly scoped project to handle myself over the course of a few weekends and evenings.
DraftSky went from an empty Gin server to a full Bluesky client. Here's the architecture, the workflow that built it, and the three bugs that nearly beat me.
I've had this long, long running relationship with bookmarking and read it later services. I'll commit to one, excited about whatever feature set it offers and then, without fail, my list grows and grows and grows and grows. I archive things to reset, repeat and then move to a different service. The only thing that's ever worked has been listening to articles as audio when I have a spare moment. Sometimes it's background noise but, generally, I absorb things better as audio.
Thou shalt handle errors with care: ten tips for wrapping, translating, and returning them without turning every failure into noise.
Discussing the history of IRC and its use in 2026
Dev Log 48: 2026-04-11
Dev Log 38: 2025-12-18
Dev Log 37: 2025-12-16
Dev Log 36: 2025-12-14
Cloud Run & Cloud SQLが高すぎる
GolangでAPIを作成したのでCloud Runで動かしてみる
GormでCloud SQLに接続する
Goで作成したローカルサーバーにReact NativeからアクセスしようとしたらTypeError: Network request failedになったので、調査してみた
Golangのnet/httpでホットリロードしたい
Golangで出力の方法がいくつかあるようなので、どれが最適化調べてみた。
My take on how "Go is readable" doesn't mean much to me.
こちらは フロントエンドもくもく会 - 新年LT大会 の、 後半のLT大会で発表した内容を加筆修正しつつブログに起こしたものです。 発表後、うまく動作しなかった箇所などを追記しています。 ざっくり要点だけ知りたい方は、 一番下にあるGAE/Go slackbot のポイントだけ見てください。 動機 - めんどいこと フロントエンドもくもく会はかなり低コストで回っているものの、 以下の点で面倒だなあと感じることがありました。 勉強会関連で何日前にあれこれする 参加人数少なかったら告知したり キャンセル促したり イベントごとにお知らせしてほしい そこで slack に勝手に通知する bot を用意し、 その辺常に気にするコストをさらに減らそうと思い立ちました。 slack に勝手に通知する bot slack Slack nfug.slack.com 最新5件を以下に該当するかチェック イベント2週間前、2日前、当日、翌日あたり GAE/Go (GoogleAppEngine / Golang) で実装 実装方法 GAE/Go (GoogleAppEngine / Golang) とは Google Cloud Platform の一員 Web アプリケーションをお手軽に公開できるプラットフォーム GAE/Go の helloworld を試すまでの手順 アカウント登録する、クレジットカード情報が必要(ただし無料枠で対応可能) 言語を選択する、ここでは Golang を選択 チュートリアルに従って dev_appserver.py, gcoud app deploy 相当のことを画面内から行う GAE/Go の helloworld を試すまでのキャプチャ 多いので抜粋。
Lastversion: a Go serverless proof of concept developed on OpenWhisk
あけましておめでとうございます。 書き初めとして書きました。 もともと1日かからない程度のものを書き初めとして書きたかったので、大きくずれはなかったです。 GitHub - girigiribauer/go-pwgen: cli password generator by Golang cli password generator by Golang. Contribute to girigiribauer/go-pwgen development by creating an … github.com パスワード文字列を生成できるコマンドラインツール まず先にやってないこととして、 パスワードの強度チェック これを挙げておきます。 パスワード文字列を生成するにあたって、 当然セキュリティは一定担保する必要があったのですが、 かといってこの辺のパスワードの強度チェックをゼロから独自に研究するのは 無理がある&仮に出来たとしても圧倒的に時間が足らないので、 外部のライブラリを利用しています。 パスワードの強度としては、例えば以下のようなケースが考えられます。 連続した同じ文字列 (777 など) 連続した順序を持った文字列 (abc など) よくある英単語と一致する文字列 や その逆順 キーボード上の順序を持った文字列 (qwerty など) こういったチェックは学問、アルゴリズムの話になってきてしまい、個人では追いきれないため、 zxcvbn というライブラリを利用させてもらってます。 GitHub - dropbox/zxcvbn: Low-Budget Password Strength Estimation Low-Budget Password Strength Estimation. Contribute to dropbox/zxcvbn development by creating an … github.com
超楽だったのでメモっておきます。 こちらにドキュメントあります。(Golang のバイナリの場合ではないので少し異なりますが) https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md Homebrew 対応 自作コマンド GitHub - girigiribauer/db-cli: `db` command line tools (Docker based) by Golang `db` command line tools (Docker based) by Golang. Contribute to girigiribauer/db-cli development by … github.com を公開している時に リリースバイナリまで GitHub に登録できて一息つけたーというタイミングで、 ふと brew install db-cli でインストールできたらいいなあと思ったので 調べてやってみたらさくっと1時間もかからずいけました。 自作コマンド用のリポジトリとは別に、 GitHub - girigiribauer/homebrew-db-cli: db-cli for Homebrew db-cli for Homebrew. Contribute to girigiribauer/homebrew-db-cli development by creating an account … github.com
※どうでもいいけど、9月のブログ記事数が急に増えだしてます。 Hugo 化がここにきてすごく効いてきてますね。 この前 “db-cli” という自作コマンドをリリースしてみました。 コマンド名自体は db です。超短いので何かにかぶってたらゴメンナサイ。 GitHub - girigiribauer/db-cli: `db` command line tools (Docker based) by Golang `db` command line tools (Docker based) by Golang. Contribute to girigiribauer/db-cli development by … github.com 経緯 何かプログラムなどを書いていて、 試しに MySQL(MariaDB) でもちょこっと立てて検証したいなあ、 みたいなことはたまにあると思います。 最近になって、ローカルにそういったデータベースをインストールせずに Docker を利用するという選択肢も出てきたのですが、 まだちょっととっつきにくいというか、 長ったらしいコマンドをずらずらと並べて コンテナを立てることになる ので、 結構面倒臭かったりします。 まだコマンドラインのヒストリーから Ctrl+R とかで探していればまだマシなのですが、 とても毎回ゼロから入力する気にはなれません。 「僕は DB をちょこっと使いたいだけなんだよ!」 というところから、 じゃあ試しに db って打ったら DB コンテナが立ち上がるようなコマンドでも作ってみるかー と思ったのがきっかけです。