タグ

2023年1月4日のブックマーク (7件)

  • ベンフォードの法則 - { 適用と制限 }Wikipedia

    上に示した2つの図は、対数スケールの上にプロットした2つの確率分布である[注 1]。どちらの図でも、赤で示した部分の面積が最初の桁が1である確率に比例しており、青で示した部分の面積が最初の桁が8である確率に比例している。 左側の分布では、赤と青の領域の面積比はおおよそそれぞれの幅の比に等しくなっている。幅の比は普遍的で、ベンフォードの法則によって厳密に与えられる。したがって、こうした確率分布に従う数値はおおむねベンフォードの法則に従う。 一方、右の分布では、赤と青の領域の面積比はその幅の比から大きく外れている。右の図でも幅の比は左側の分布と同じになっている。赤と青の領域の面積比は、その幅よりもむしろ高さの比に依存して決定されている。幅と異なり高さはベンフォードの法則に普遍的な関係を満たさない。代わりにその数値の分布の形によって完全に決定される。したがって、1桁目の数値の分布はベンフォードの

    efcl
    efcl 2023/01/04
    自然界に出てくる数値の桁数の分布は一様ではなく、最初の桁が小さいが出やすい特定の分布になるという法則。 作りもののデータは偏らないように作ってしまって、それが逆に不自然に見えるという話
  • Flying away from AWS – Terrateam

    Migrating from AWS to Fly.io TL;DR It was a pleasure migrating from AWS to Fly.io (opens in a new tab) but it's not all rainbows and unicorns. Fly.io goes above and beyond to create an exceptional developer experience. It's super easy to hit the ground running. However, there are some rough edges that you might encounter. If you like managing your own infrastructure and can live without stellar su

    Flying away from AWS – Terrateam
    efcl
    efcl 2023/01/04
    AWS から Fly.io への移行。 メリットとデメリットについて。 UIがわかりやすい、リモートアクセス、マルチリージョン対応が簡単。 ツールの対応、ロギング、サポートがまだ不足している。
  • Release v12.5.0 · textlint/textlint

    This commit was signed with the committer’s verified signature.

    Release v12.5.0 · textlint/textlint
    efcl
    efcl 2023/01/04
    `--stdin --fix --format fixed-result`で標準入力の修正結果を標準出力に出せるように。 pipeでtextlint使った場合も修正ができるようになった
  • Go ahead, delete your .env.example file | 1Password

    When we develop software, it’s common practice for engineers to require system configuration in order to run a program. We specify instructions on how to set up your own local environment in a .env.example file or README.md file. For every project that we work on and for every configuration change of those projects, we need to do manual work to keep our local environments up to date so they contin

    Go ahead, delete your .env.example file | 1Password
    efcl
    efcl 2023/01/04
    .envにop:// を使って共有するという話
  • GitHub - bnkc/handlefinder: search handles across hundreds of social networks

    A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

    GitHub - bnkc/handlefinder: search handles across hundreds of social networks
    efcl
    efcl 2023/01/04
    アカウント名がとられてるかを一覧できるツール
  • Release v0.16.13 · evanw/esbuild

    efcl
    efcl 2023/01/04
    esbuild v0.16.13リリース。 `--metafile`でbundle時のメタデータを出力し、メタデータを可視化できるビューアサイトの実装など
  • リリースの自動化

    最近は下記のようにライブラリ等のリリースを自動化している。 バージョンを入力するとPull Requestを生成 Mergeするとリリース ラベルの管理 前回のリリース以降にMergeされたPull Requestからリリースノートが自動生成されてほしい。このとき、Keep a Changelogの形式を参考に、変更点が以下の7種類に分類されてほしい。 add change deprecate fix remove security other そこで、Pull Requestに予めラベルを付けておくことで、どの節に分類するかを決定させる。またこのようなラベリングの習慣を設けることで、各Pull Requestの粒度の是正もねらう。ラベルを利用したリリースノート自動生成機能自体はGitHubが備えているので、.github/release.ymlでそのラベルを使う旨を指定すれば良い。 この

    efcl
    efcl 2023/01/04
    GitHubのCHANGELOGの自動化