Monthly Shaarli

All links of one month in a single page.

January, 2020

らりお・ザ・何らかの🈗然㊌ソムリエ: "眠いので「DoS攻撃」を「どすこい劇」に空耳した。 どすこい!" - Mastodon

眠いので「DoS攻撃」を「どすこい劇」に空耳した。
どすこい!

::<>
Very Brief tutorial on manually installing a game in Lutris - General Discussion - Lutris Forums
thumbnail
db_repack を活用してMastodonのDB肥大化を解消する (Docker編) | 茜の鯖缶日誌
A fork() in the road
圏論勉強会 @ ワークスアプリケーションズ
Lossless Web Navigation with Trails - freeCodeCamp.org - Medium
thumbnail
オントロ・グスームの記憶 - ことばマガジン:朝日新聞デジタル
thumbnail
Ian Mallett - Tutorials: Write Games, Not Engines Page
Ian Mallett - Tutorials: Write Games, Not Engines Page
アマガミSS 全話レビュー 目次 - The Great Underground Home Page
Identifiers in JSON-LD and RDF | The Beautiful, Tormented Machine
HTML5 as an alternative to DITA and DocBook
Technical Details on the Recent Firefox Add-on Outage - Mozilla Hacks - the Web developer blog
thumbnail

Mozilla の addons インフラで発生した障害の話。

らりお・ザ・何らかの🈗然㊌ソムリエ: "my new gears..." - Mastodon
thumbnail
Avoid floating-point number for `@version` · Issue #296 · w3c/json-ld-syntax
thumbnail
Error Handling in Rust - Andrew Gallant's Blog
Units of Measure in Rust with Refinement Types
thumbnail
Glium post-mortem - The Rust Programming Language Forum
Skate 3 Funny Stuff Compilation #1 - YouTube
thumbnail
Collisions in type_id · Issue #10389 · rust-lang/rust · GitHub
thumbnail
The Free Lunch Is Over: A Fundamental Turn Toward Concurrency in Software
キーの漏洩
らりお・ザ・何らかの🈗然㊌ソムリエ: "Real Time Attack の逆は Virtual Space Protection #適当" - Mastodon

Real Time Attack の逆は Virtual Space Protection

BLAKE3-team/BLAKE3: The BLAKE3 cryptographic hash function
thumbnail
From Switch Statement Down to Machine Code - Vlad Lazarenko
Documentation of PartialEq has example that violates transitivity · Issue #66476 · rust-lang/rust
thumbnail

The Documentation of PartialEq states that implementations must be transitive: for all for all a, b and c, a == b and b == c implies a == c. This is followed by a note indicating that the transitivity must also hold if a, b, and c are of...

パストレーシング - Computer Graphics - memoRANDOM
regex/HACKING.md at master · rust-lang/regex
Regular Expression Matching with a Trigram Index
Regular Expression Matching: the Virtual Machine Approach
MITライセンスを1行1行読んでいく | POSTD
thumbnail
Rust Tidbits: Box Is Special - In Pursuit of Laziness

Rust で Box<T> が特殊に扱われている理由とか歴史的経緯。

インスタンスの役割とリレーのもたらすもの | のえる研究所
ripgrep code review
Measuring Mutexes, Spinlocks and how Bad the Linux Scheduler Really is | Probably Dance
thumbnail
Rust's Trademark Concerns

rust と cargo は、変更を加えると Mozilla による explicit approval がないと rust や cargo という名前で呼ぶことができない。
これは、 Rust と Cargo の名前が Mozilla の商標として管理されているため。

このポリシーのせいで、 distro 側でパッチとか当てる運用に支障が出るしユーザの自由を奪っている、という話らしい。

(旧ページ: Rust's Freedom Flaws)

らりお・ザ・何らかの🈗然㊌ソムリエ: "最近正気を失って phpMyAdmin でブックマークとメモの管理をはじめたところだったんですよ、…" - Mastodon
thumbnail
No.35 protected function finally return 0
自転車置場の議論 - bkブログ
セイの6時間,始まる : 東京工業大学 ロボット技術研究会
thumbnail
OOM Killerに亭主を殺されて一年が経ちました。 - Yahoo!知恵袋
NO
YES
It's not working! Should I blame caching?
Is volatile useful with threads?

2022-09-11: サイトが壊れている (リンク先が言語別ページになっていない)。 Web Archive 上のアーカイブ を参照されたし。

foldr.com
Error Handling Survey
dtolnay::_03__soundness_bugs - Rust
Text Rendering Hates You
thumbnail
Implementing pid1 with Rust and async/await

This post covers a simple Rust application to explore topics like async/await, unsafe Rust, signal handling, and error handling.

Streams Concurrency
Async Exceptions in Haskell, and Rust
らりお・ザ・何らかの🈗然㊌ソムリエ: "あなたが深淵を覗くとき、ビッグブラザーもまたあなたを覗いているのだ" - Mastodon

あなたが深淵を覗くとき、ビッグブラザーもまたあなたを覗いているのだ

Async Interview #4: Florian Gilcher
ざっくりわかった気になるモダンGC入門 - Cybozu Inside Out | サイボウズエンジニアのブログ
thumbnail
A fork() in the road を読んで.md · GitHub
thumbnail
より美しいコードを書くことに対する感情を失ってしまったのは衰えか成長か - まいくろ🍣きりみん
thumbnail
らりお・ザ・何らかの🈗然㊌ソムリエ: "寄付専用個人間送金プラットフォーム アガPay #適当 #今日の適当" - Mastodon

寄付専用個人間送金プラットフォーム

アガPay

Latest Firefox Release is Faster than Ever - The Mozilla Blog
thumbnail
why GNU grep is fast
いつか怪物になるわたしへ | おかき大明神 | note
What we do when things go wrong - The Mozilla Blog
thumbnail

Mozilla の addons インフラで発生した障害の話。

Ore Chang (EvoPsy) on Twitter: "至近要因と究極要因(HowとWhy)。ノーベル賞受賞者ニコ=ティンバーゲンが提唱した「4つのなぜ」。地球上で起こる生物学的事象には4つの〈理由〉が存在する。この生物学の基本となるフレームワークを人間にも当てはめるのが進化心理学の試みだ。これからの時代は、社会科学でもこの概念が重要になる。 https://t.co/qzS29djZTk" / Twitter
The Soundness Pledge | Raph Levien’s blog
Synthesizing Loop-Free Programs with Rust and Z3
amos - What's in a Linux executable?
有意義化、無意義化 - Togetter
thumbnail
らりお・ザ・何らかの🈗然㊌ソムリエ: "求めたのは、いつものまどろみ。聞こえるのは、Slackの着信。告げるのは、白紙の進捗。 ひぐらし…" - Mastodon

求めたのは、いつものまどろみ。聞こえるのは、Slackの着信。告げるのは、白紙の進捗。

ひぐらしのなく頃に 論隠し編其の参 『ネボウ』

あなたは、信じられますか?

--- https://mastodon.cardina1.red/@lo48576/103470955875820056

実話です

--- https://mastodon.cardina1.red/@lo48576/103470973400089078

「Rustで始めるネットワークプログラミング」を出版しました。 - teru_0x01.log
thumbnail
Source BSP File Format - Valve Developer Community
らりお・ザ・何らかの🈗然㊌ソムリエ: "ライオンキングの反対は花魁クイーン #適当 #今日の適当" - Mastodon

ライオンキングの反対は花魁クイーン #適当 #今日の適当

日下夏稀: "アイドルマスター⇔ビジースレイブ" - :don:

アイドルマスター⇔ビジースレイブ

巨乳の炎上に見る進化と文化のミスマッチ - 本しゃぶり
thumbnail

なぜ男性向けの巨乳キャラは燃えるのに、その逆はないのか。その理由をデータを基に考察していく。


女性の方が生殖コストが大きいから、社会全体としての価値観に女性の性の価値観が強く反映されやすい。
一方で男性の性の価値観は反映されづらく「社会的でない」と判定されやすいと。

Explaining Atomics in Rust - Explaining Atomics in Rust
RDBは何故不要か - Qiita
thumbnail

RDB の存在意義は単なるデータストアとしてではなく、制約 (データ同士の関係や値そのものの制限) の強制と検索にあるという話。
また逆に、制約をかけようのないデータや検索対象にならないデータは RDB に入れる意味がないし入れるべきでないという話。

要点が端的にまとまっていて良い記事だった。

The Three Generations of Microkernels ⋅ Plume
1001 Ways of Implementing a System Call | A Journey into Obscure x86 Details

sysenter/sysexitsyscall/sysret 命令のパフォーマンスは int 命令などに比べて非常に高い。
ラウンドトリップは整数の除算より小さいほど。

『まほり』はホラーにあらず。年初イチオシの本! | 一語一会
『ひぐらしのなく頃に』新プロジェクト始動 キャラデザは渡辺明夫、アニメーション制作にパッショーネ - ライブドアニュース
The DoCookBook
同じスコープ内に重複した名前を宣言する - デ-mk6
thumbnail
A Rust FFI adventure in unsafety | Travis Finkenauer
Sorekika 【第352回 イレギュラー・エクスプレッション】
西暦2037年のエロゲ
thumbnail
Is my computer on fire?
東雲祐希: "NBロドスタに乗ってるやつもy軸は無限とかいいながら二人掛け座椅子を幌代わりにして持ち帰ってたしオ…" - nesodon
thumbnail

NBロドスタに乗ってるやつもy軸は無限とかいいながら二人掛け座椅子を幌代わりにして持ち帰ってたしオープンカー乗りはどこかおかしい


「y軸は無限」

How to RiiR · Michael-F-Bryan
James Munns
Down the Stack: Compiled Rust Part 1 - You Learn Something New Everyday 💭
sksg
らりお・ザ・何らかの🈗然㊌ソムリエ: "Emacs で init を実装している systemE に対抗して、 Vim で init を実…" - Mastodon
Rustのturbofishを理解する | κeenのHappy Hacκing Blog
thumbnail
(3) ゆかたゆ on Twitter: "Unixコマンドの使い方解説 touch …… 空ファイルを作成します cat …… ファイルの中身を表示します あと何がありますか?" / Twitter

Unixコマンドの使い方解説
touch …… 空ファイルを作成します
cat …… ファイルの中身を表示します
あと何がありますか?

先読み付き正規表現の微分について
情報理論の基礎~情報量の定義から相対エントロピー、相互情報量まで~ | Logics of Blue
オントロ & グスーム?
WebBundle によるコンテンツの結合と WebPackaging | blog.jxck.io
thumbnail
Using Wasmer for Plugins Part 3 - Wired Forge
RustのFutureとそのRunnerを作ってみた | κeenのHappy Hacκing Blog
thumbnail
Shifgrethor III: Rooting
Exploring lock-free Rust 3: Crossbeam | More Stina Blog!
thumbnail
shared_ptr<T>: the (not always) atomic reference counted smart pointer · Snf's blog
らりお・ザ・何らかの🈗然㊌ソムリエ: "論理今日の秋葉原における収穫です #らりおactivity" - Mastodon
thumbnail
Allocator Designs | Writing an OS in Rust
10 More Game Breaking Glitches - YouTube
thumbnail

https://www.youtube.com/watch?v=PyLDKRPGMxA&t=22

But gamers leaning on the hardcore side of the hobby tend to find glitches charming, like the Japanese philosophy of wabi-sabi, it's the imperfections that can make a player more attracted to the game.
I like to think of them as unofficial Easter eggs.


https://mastodon.cardina1.red/@lo48576/103521004928980061

わびさびといえば、このまえ外国人ニキがゲームの glitch を紹介する動画で「筋金入りのゲーマーは glitch が大好きだよね! それは wabi-sabi の心なんだ、不完全なものに惹かれるんだよ」みたいなこと言ってて爆笑してしまった


glitch が楽しいのはわびさび。

らりお・ザ・何らかの🈗然㊌ソムリエ: "近頃の地震はマナーがなっとらん。揺れる前に緊急地震速報で電話機に一報入れるのが社会人の常識だろう …" - Mastodon

近頃の地震はマナーがなっとらん。揺れる前に緊急地震速報で電話機に一報入れるのが社会人の常識だろう

Blu-rayの暗号システム
AACSとは?BDのコピーガードの仕組みを簡単に解説 | AviUtlの易しい使い方
thumbnail
ジャガイモにもIoT化の波? アンテナ刺した「スマートポテト」がCES 2020で話題 - ITmedia NEWS
thumbnail
らりお・ザ・何らかの🈗然㊌ソムリエ: "私知ってる、ショートボブの反対はロングアリスでしょ #適当" - Mastodon

私知ってる、ショートボブの反対はロングアリスでしょ

ほた: "レイトレーシング↔アーリーアイドリング" - :don:

レイトレーシング↔アーリーアイドリング

ripgrep is faster than {grep, ag, git grep, ucg, pt, sift} - Andrew Gallant's Blog
Regular Expression Matching in the Wild
Regular Expression Matching Can Be Simple And Fast

Thompson により提案されたオートマトンベースのアルゴリズムは、安定して高速に動作する。 backreference を導入したような拡張正規表現のためにバックトラックベースの正規表現エンジンを使っている言語は、特定の正規表現のマッチに指数的な時間が必要となるが、オートマトンベースであれば O(nm) (正規表現の長さと入力文字列の長さについて線形) で済む。

きわめて単純な C のソースコード付きでアルゴリズムを解説。
普通に NFA を実行するだけのシンプルなもの。そこそこ読みやすい。

続編:

Spinlocks Considered Harmful

最近の Rust エコシステムでは no_std 環境でスピンロックを使うような慣習があるが、スピンロックには重大な欠点がある。
よくできた (std や parking_lot crate の) mutex ではスピンロックと同等かそれ以上のパフォーマンスが出るため、安易にスピンロックを使うべきでないという話。
スピンロックで起きる問題のサンプルコード付き。

They (stdparking_lot の mutex) already do a small amount of spinning iterations before calling into the kernel, so they are as fast as a spinlock in the best case, and infinitely faster in the worst case.

(注釈は引用者による)

また、軽量なロックを使いたい場面としてよくあるのが「一回きりの初期化」だが、この場合筆者の作った once_cell crate が有用だとのこと。

「ひぐらしのなく頃に」新プロジェクト始動 - YouTube
thumbnail
Tracking issue for RFC 2504, "Fix the Error trait" · Issue #53487 · rust-lang/rust
thumbnail

Because that way a generic error printer can render out something like

error: Connection error (could not connect to foo)
  caused by: io error (ECONNRESET)

instead of

error: io error (io error (ECONNRESET))
  caused by: io error (ECONNRESET)

Which is what I'm observing frustratingly commonly.


MyErrorEnum::Io(std::io::Error) ではなく MyErrorEnum::ConnectionError(std::io::Error) のようにすべきで、前者のような情報を加えないラッパーは面倒という話。
たしかに。

【紅茶またはコーヒーはいかがですか?】 数学Ⅰで学ぶ「論理と集合」
thumbnail
Deno, first approach - DEV Community 👩💻👨💻
thumbnail
Notes on Type Layouts and ABIs in Rust
thumbnail