Skip to content

Instantly share code, notes, and snippets.

View koriym's full-sized avatar

Akihito Koriyama koriym

View GitHub Profile
@koriym
koriym / event_driven_contents_deep_deive.md
Last active March 17, 2024 00:54
イベント駆動コンテンツ - Deep Dive (オリジナルプロポーザル)

イベント駆動コンテンツ - Deep Dive (オリジナルプロポーザル)

さる、3/9に東京のPHPerkaigiというカンファレンスで「Webアプリケーションの効率を再定義するBEAR.Sundayの分散キャッシングフレームワーク」と題してモダンCDNを中心とする理想的な分散Webシステムのトークを行いました。それに対して「ゾクゾクした、自分の原点を考えさせられた、とてつもない伝説だった、映画のようだった」など従来のトークの感想に収まらないエモーショナルな感想が寄せられました。

これは、私のプレゼンテーションが "単なる技術的知識の伝達を超えて、聴衆の心に火をつける「体験」だったことを物語っています。技術的な学びは当然ありつつも、それ以上に開発者としての情熱や価値観に訴えかける内容だったからこそ、これほど多様な反響が寄せられたのだと思います。" (..以上トーク内容と感想を読んだAIの考察)

そこで、この体験を可能にしたプレゼンテーションの制作プロセス自体も、また違う物語として成立するのではないかと考えました。

本プレゼンテーションでは、元のスライドを用いて、「キャッシングという具体的な技術的課題への取り組みが、いかにして普遍的な問いかけと開発者としての情熱につながっていったのか」を、メイキング形式で語ります。松尾芭蕉の不易流行思想との邂逅、比喩と例え話による技術的概念の平易な説明、映画的な構成による聴衆の興味の喚起、聴衆の心に響く言葉選びと表現の工夫など、プレゼンテーション作りの舞台裏をベースにしながら、自分たちが誰のために何を作っているのかを訴えます。

@ciaranmcnulty
ciaranmcnulty / notes.md
Last active March 25, 2024 06:36
Notes on using Docker on ARM Macs (November 2021)

Docker for Mac

On M1 machines, Docker for Mac is running a lightweight linux ARM VM, then running containers within that, so containers are essentially running natively. Don't be fooled by the fact the UI or binary CLI tools (e.g. docker) might require Rosetta.

Within that VM is an emulation layer called QEmu. This can be used by docker to run Intel containers. This does not use Rosetta at all, and has a roughly 5-6X performance penalty. (If you just upgraded your CPU this may result in a similar performance to your old machine!)

Pulling and running with Docker

Many images in public registries are multi-architecture. For instance at the time of writing on Docker Hub the php:8.0-cli image has the following digests:

@mumumu
mumumu / building-phpdoc-ja-howto.md
Last active October 7, 2021 18:26
PHPマニュアルのビルド方法
@mamund
mamund / 2020-01-23b.js
Last active January 24, 2020 13:56
self-describing messages
/*
who does it better?
*/
// this
{
"rel" : "http://example.org/vocabularies/customer-communiations#customers/update-name-and-sms"
"href" : "http://example.org/customers/123"
"type" : "..."
}
@koriym
koriym / SqlTest.php
Created May 16, 2019 03:31
SQLテストテンプレート
<?php
use Aura\Sql\ExtendedPdoInterface;
use BEAR\Package\AppInjector;
use Koriym\QueryLocator\QueryLocatorInterface;
use PHPUnit\Framework\TestCase;
use Ray\Di\InjectorInterface;
use Ray\Query\RowInterface;
/**
@mathiasverraes
mathiasverraes / rollyourown.php
Created May 30, 2018 14:17
We don't need no DIC libs / we don't need no deps control
<?php
// Context: I'm trying to argue that DI (and DIC) are great, and DIC libs suck.
// Happy to be proven wrong!
final class Router {
private $dependencies;
public function __construct (Dependencies $dependencies) {
$this->dependencies = $dependencies;
// You might say that this is Service Locator, but it's not. This router is toplevel,
// and toplevel must have access to dependencies. After that it can all just bubble nicely using proper DI.
@rhukster
rhukster / sphp.sh
Last active March 30, 2024 10:41
Easy Brew PHP version switching (Now moved to https://github.com/rhukster/sphp.sh)
#!/bin/bash
# Creator: Phil Cook
# Modified: Andy Miller
#
# >>> IMPORTANT: Moved to: https://github.com/rhukster/sphp.sh
# >>> Kept here for legacy purposes
#
osx_major_version=$(sw_vers -productVersion | cut -d. -f1)
osx_minor_version=$(sw_vers -productVersion | cut -d. -f2)
osx_patch_version=$(sw_vers -productVersion | cut -d. -f3)
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 1, 2024 19:56
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example