Articles
- Author: Qiita
- Full Title: JavaScript / TypeScript の豆知識 10 選
実は、「
innerHTML
を用いて挿入された script elements は、挿入時にはその内容が実行されない 」ということ自体は 正解 です。 これは W3C にもきちんと記されていることです。Note: script elements inserted using innerHTML do not execute when they are inserted. (出典: W3C. "2. The Document Object Model". W3C. 2008 年 10 月 6 日. https://www.w3.org/TR/2008/WD-html5-20080610/dom.html#innerhtml0
このあたりは無知。
- Author: osohq.com
- Full Title: Authorization Patterns in GraphQL
My advice on building authorization in GraphQL applications usually boils down to these rules of thumb:
- Build your authorization logic as close to the data as possible, ideally within your GraphQL API.
- Custom Directives and Middleware are both neat ways to do this while keeping your authorization logic decoupled from your schema – but only if you only have a single GraphQL API.
- API Gateways can work if you need a single solution for multiple GraphQL APIs at once, but they can limit the types of rules you will be able to write.
GraphQLにおける認可のアーキテクチャについてとてもよくまとまっている記事。
Storycapやreg-cliは初めて知りましたが、これを活用すると脱Chromaticできる?
アクセシビリティが高い=テスタビリティも高い
- Author: EX-IT 効率化で独立を楽しく
- Full Title: Amazonが支払調書の古き慣習・誤解を打ち破った件
確定申告も近いし、支払調書について割とわかってなかった中出てきた記事。
- Author: geekly.co.jp
「正しそうなことを言うけどわかっていなそうな人」じゃなくて、「ちゃんとコードを書ける人」というところを頑張って維持したい。
DDDとCQRSの話も聞けて非常に面白い。子育てと自己研鑽の両立の難しさの話もとてつもなく共感。
Tweets
一時的なテスト環境とステートフルなサービスのプラクティス。確かにAWS上でやるなら毎回作ったり消したりは現実的じゃない印象。
I'm a big fan of using temporary environments when I'm building serverless architectures. As a practice, it combines well with the pay-per-use pricing model of serverless components.
— Yan Cui (@theburningmonk) 2023年1月31日
But what do you do when you have serverful resources like RDS?
🧵
英語のDo you know〜とDid you know〜の話。ミスパロさん最高です。
自分の知っている情報を相手も知っているか確かめたいとき、「~知ってる?」と尋ねたりしますね。なので、同じことを英語で表現する際、日本人は Do you know ~? といった文を作りがち。が、このように言った後で、自分の既知情報を共有すると、ネイティブは微妙に困惑してしまうのです。1/5
— Mystery Parrot (ミスパロ)🦜 (@ParrotMystery) 2023年1月29日