You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
The organization of space is key to every great design. Spatial systems, grids, and layouts provide rules that give your designs a consistent rhythm, constrain decision making, and help teams stay aligned. This foundational scaffolding is a requirement for all design systems. In this guide, we’ll walk through the basics of defining spatial base units, creating relationship rules with grids, and br
Hello, and welcome to my personal web page. I'm Ash, software dev, speaker, sometimes-artist and all-round guy who makes stuff.
Regardless of your stance on pornography, it would be impossible to deny the massive impact the adult website industry has had on pushing the web forward. From pushing the browser's video limits to pushing ads through WebSocket so ad blockers don't detect them, you have to be clever to innovate at the bleeding edge of the web. I was recently lucky enough to interview a Web Developer at the web's l
κeenです。ブログタイトルが長い。 普段、どれがいいとか特に気にせず書いている「文字が特定の文字集合に含まれるか」の判定をするのはどの方法が速いかが気になったのでベンチマークを取ってみました。 想定しているのは何かのパーサを書いていて、例えば識別子に使える文字が [a-zA-Z0-9_!?=<>] だったときにそれを判定する方法です。 今回試すのは3種類。 文字集合を HashSet に入れて、 contains で判定する 文字集合を文字列(文字ベクトル)に入れて、 contains で判定する contains の代わりに先に文字列をソートしておいて、 binary_search で探索する char::is_alphanumeric などのメソッドを組み合わせる 正規表現を使う 教科書的な知識だと、 1. は $O(1)$ で文字集合の濃度に依らず高速に動作するはずです。 一方 2
κeenです。型レベル迷路作ったよ!コンパイルが通ったらゴール!! Rustで型レベルステートマシン定義できるじゃないですか 1。 ということは1マス単位で移動できる方向を使い分けられるし迷路くらい作れるんじゃね?というお話。 サクっといきます。 マス型。 use std::marker::PhantomData; pub struct Cell<Maze, X, Y> { m: PhantomData<Maze>, x: PhantomData<X>, y: PhantomData<Y>, } impl<Maze, X, Y> Cell<Maze, X, Y> { const fn new() -> Self { Self { m: PhantomData, x: PhantomData, y: PhantomData, } } } 迷路間で定義を使い回したいので迷路もパラメータに持って
HTML + Games = Ultralight is a GPU-accelerated toolkit to embed modern HTML in games and native apps. Available for C and C++ on Windows, macOS, Linux, Xbox, PlayStation, ARM64 devices, and more. Developed in collaboration with leading game studios, built GPU-first on a new, lightweight fork of WebKit. Ultra-Fast. Built GPU-first but can run on the CPU too! Choose from two powerful, parallel rende
ワンショット代数的効果から 非対称コルーチンへの変換 河原 悟, 亀山 幸義 PRO2019-01 June 6, 2019 ワンショット代数的効果から 非対称コルーチンへの変換 背景 コルーチン コルーチンの合成性 代数的効果 研究 操作の対応 実装 応用 まとめと課題 変換 関連研究 対称コルーチンと非対称コ ルーチン ワンショット継続とコルーチ ンの複製 0/26 背景 コルーチン 様々な言語が持っている Lua, Ruby, C#, Kotlin, etc. 強力なコントロール抽象 async/await、イテレーション、 etc. 合成性(composability)に欠ける 背景 1/26 背景 代数的効果 インターフェースと実装を分離できる モジュール性、合成性が高い いくつかのコントロール抽象との関係が知られている 代数的効果 7→ 限定継続 代数的効果 7→ Free モ
The list of type class constraints in a function signature can sometimes get out of hand. In these situations, we can introduce a type synonym (thanks to ConstraintKinds) to avoid repetition. Say we want to group together the Show and Read constraints: type Serialise a = (Show a, Read a) Now Serialise a can be used anywhere where we require both constraints: roundtrip :: Serialise a => a -> a roun
leah blogsより。🤣 2014年頃、BSD 3ソースツリーのダンプに/etc/passwdファイルが見つかりました。ここには、デニス・リッチー、ケン・トンプソン、ブライアン・カーニハン、スティーブン・ボーン、ビル・ジョイなどのすべての古顔のパスワードが含まれています。 これらのハッシュに使用されるDESベースのcrypt(3)アルゴリズムは弱いことが知られており(最大で8文字に制限されているため)、私はこれらのパスワードを解読するのに簡単なターゲットだと思いました。 このためのよく知られたツールは、johnとhashcatです。 すぐに、私は、これらのパスワードのかなりの部分を解読しましたが、その多くは非常に脆弱でした。(奇妙なことに、bwkは/.,/.,,を使用していました。これはQWERTYキーボードで簡単に入力できます。) しかし、kensのパスワードは私のクラッキングの努
MySQL で行ベースレプリケーションしていて、特定の操作を行ったときにレプリケーションがエラーで止まる事象が発生しました。 そのときの調査のログや対応の方法のメモ。 原因調査 まず、レプリケーションのスレーブでレプリケーションの状態を見ました。 mysql -e 'show slave status \G' 以下は抜粋です。 Master_Log_File: binlog.000225 Read_Master_Log_Pos: 42626469 Relay_Master_Log_File: binlog.000216 Slave_IO_Running: Yes Slave_SQL_Running: No Exec_Master_Log_Pos: 66177326 Last_SQL_Errno: 1032 Last_SQL_Error: Could not execute Delete_r
#tc39_study - connpassのアウトラインメモ。 littedan “how tc39 works ?” TC39のミーティング Q. QuickJSが中に入ってたけど、Implementationsとして認識される基準って何? A. 基準と特に決まってない。あえてぼかしてる。 Stage five by littledan · Pull Request #16 · tc39/process-document Q: microsoft がchakra coreをやめることで2つ以上のブラウザの実装に関してどう変わっていくの? A. あんまりChakraCoreが新しいもの実装してなかったのであんまり変わらない Q. Feedbackって実際どうやってどういうふうに送るのがいいの? A. オープンなので色んな面のフィードバックあるといいと思うよ。 Leko Hashbang
Decorators have three primary capabilities: They can replace the value that is being decorated with a matching value that has the same semantics. (e.g. a decorator can replace a method with another method, a field with another field, a class with another class, and so on). They can provide access to the value that is being decorated via accessor functions which they can then choose to share. They
Top-level await enables developers to use the await keyword outside of async functions. It acts like a big async function causing other modules who import them to wait before they start evaluating their body. The old behavior #When async/await was first introduced, attempting to use an await outside of an async function resulted in a SyntaxError. Many developers utilized immediately-invoked async
I completely realize and wholeheartedly own-up to the fact that I’m a geek and a Mac power user above and beyond what normal muggles will ever experience, nonetheless, this is the first-run experience I was greeted to this afternoon after upgrading to Catalina. Another update… It’s now 48 hours later. Ignore my original update below. Go read this instead. Update four hours later… Well, that escala
$ lighthouse --help lighthouse <url> <options> Logging: --verbose Displays verbose logging [boolean] [default: false] --quiet Displays no progress, debug logs, or errors [boolean] [default: false] Configuration: --save-assets Save the trace contents & devtools logs to disk [boolean] [default: false] --list-all-audits Prints a list of all available audits and exits [boolean] [default: false] --list
8月に Google Developers Expert となり、新米の様にオロオロとしています。過去の GDE ミーティングの議事録を見せて頂いているのですが Google Document に保存されており、Go だけでなく他のカテゴリの GDE に関する物も含めると全てに目を通すのはなかなか骨が折れます。技術者なので問題は技術で解決すべく、これらの資料を grep 検索できる様にしました。 Google Document はエクスポートすると Microsoft Word の形式となるので、Microsoft Word から Markdown に変換するプログラムを書けばテキスト検索もできるし、なんならそのまま GitHub に貼り付けてしまう事もできます。 GitHub - mattn/docx2md docx2md Convert Microsoft Word Document
Posted on October 7, 2019 authored by Shinya Yamaguchi Last Updated January 22, 2020 はじめに cabal-fmt でできること。 cabal ファイルの整形 フォルダを指定して自動でモジュールを expand できる 以下のフィールドをアルファベット順で自動的に並べ替え&重複を削除 exposed-modules other-modules default-extensions other-extensions build-depends λ cabal-fmt --version 0.1.1.1 λ cabal -V cabal-install version 3.0.0.0 compiled using version 3.0.0.0 of the Cabal library # 使い方 λ caba
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く