あざらし🊭 (@shqld) header
あざらし🊭 (@shqld) profile picture

人間は考えるあざらしである。たたにりェブ開発をしたす。 (icon: @tomo_e さん)

Tokyo
Joined February 2018
Photo by あざらし🊭 (@shqld)Photo by あざらし🊭 (@shqld)Photo by あざらし🊭 (@shqld)Photo by あざらし🊭 (@shqld)Photo by あざらし🊭 (@shqld)Photo by あざらし🊭 (@shqld)Photo by あざらし🊭 (@shqld)Photo by あざらし🊭 (@shqld)Photo by あざらし🊭 (@shqld)Photo by あざらし🊭 (@shqld)
Anthropicずpstackが蚀っおいるずいうのは即ちE2Eでハヌネスの穎を埋めおほしいだけでしかないのでは、ずいう気持ち。 E2Eに頌りすぎるべきではないし、近い将来䞍芁になる= 圢骞化するか、今埌の倉曎に远埓できなくなるか、のどちらかだず思う。
「怜蚌が重芁」ずAnthropicもpstackず同じこず蚀っおる。 特に重芁なのは ・E2Eテスト最優先 ・プロパティテスト ・差分テスト 実際に動かしお確認し、倱敗は最倧3回自動修正 →それでもダメなら人間ぞ。 これで品質を保ち぀぀倧量䞊列が可胜 claude.dev/blog/how-the-clau

104
党䜓的に日本語話者の曞いた文章っぜく芋える。 「ランサム攻撃身代金芁求攻撃」なんおカッコ曞きはランサム身代金ず身代金ずいう単語が分かれおいないず成立しないし、AIが気を利かせお泚釈を入れたずも考えづらい気がする
曎新された。
224
あざらし🊭 retweeted
🚚 Mermaid has been rewritten, again. In Rust! 🧜‍♀ Introducing Ondine. 🧜‍♀ - 200B runtime. - Renders diagrams in ~50µs. - 1,943x smaller, 2.8x faster than Pele. - 13,467x smaller, 670x faster than Mermaid. - Still 0 dependencies.
77
265
25
3,132
151,597
あざらし🊭 retweeted
As you invite more agents to our work, and create software factories to be more productive than ever, you’ll soon outsource everything to an agent, even the thinking. The work you will do will feel frictionless, it will feel amazing on the surface, but once you go a bit deeper, it’ll feel extremely shallow. It won’t reflect the struggles you went through, your decisions, and ideas. It will no longer remind you of you and the work you aspire to. You will turn into just another extremely efficient producer of things, but not a creator like you were before. Invite friction to your work.
96
165
34
1,884
70,995
あざらし🊭 retweeted
i love writing. i never let agents write for me. whether it's docs, or tweets, or shitposts, or even prompts (okay maybe that one's harder as agents manage other agents) there's a simple reason for that: i still strongly believe that writing is thinking. it's a skill i hope to never give up. it's also important to me that whatever i say is always authentic, mistakes and all. my favorite posts are the ones that i just full send without any editing i suspect it also helps with prompting. being able to clearly express what i want, and knowing the vocabulary i need to be able to direct my agents does seem to make for more effective usage of agents. in the same way that engineers have an advantage when we prompt agents to write code, because we are intimately familiar with the words that make up the discipline knowing the right word incantations to get an agent to produce a desired goal almost feels like spellcasting. as models get more capable, and that input box looks more and more like a magic box that can output anything, words become the interface between you and the genie there may come a time when we give up the keyboard in exchange for brain-computer interfaces. but until then, i'm writing every word.
500
564
211
8,452
432,885
あざらし🊭 retweeted
But how do we keep encouraging and incentivising third-party developers who want to make a useful and thoughtful change to an open source repo? They might have used an AI agent, been assisted by AI, or handcoded the code update. This doesn't matter for this particular point. External developers and users still have something of value to provide, surely? Beyond the Issues tab, beyond DMs, beyond making suggestions on a roadmap. To guarantee the long-term future of open source, we need to make this work. And for cybersecurity. To keep open source libraries secure — with rapid and thorough patching of vulnerabilities — we need third-party contributions. For as long as we have hallucinations and errors, AI agents won't find and fix everything, just like humans. Third-party developers have expertise and real value beyond the subjective taste, quality standards and gatekeeping of core maintainers. There is a real danger that open source and FOSS become merely source available.
1
18
1,100
あざらし🊭 retweeted
I see this less as GitHub failing and more as open source evolving. The current workflow is increasingly absurd: someone uses AI to generate a PR, I use a better AI to review it, then their AI and my AI go back and forth until we converge. Add AI-generated spam on top, and the human is mostly just acting as a router between agents. I’d rather skip that entire loop. Imagine you use a project and want a feature. You go to the repo and describe what you want. The project’s AI already knows its conventions, preferences, history, rejected ideas, and boundaries. It can immediately tell you whether the idea is likely to fit and what shape it should take. If it makes sense, you press a button and the project’s chosen AI implements it, validates it, and presents the maintainer with the request and the code as one thing. No separate issue. No PR ping-pong. No two AIs talking through two humans. What AI still canot replace is taste: deciding what a project should be, what belongs in it, and where its boundaries are.
21
37
6
269
24,592
markdownのTUIビュヌワヌを䜜った $ mdcat README.md docs/*.md $ mdgit show d34db33f $ mdgit diff branch/update-sugoi-skill..main それぞれcatずgitコマンドのサブセットになっおいお、特に仕様駆動開発ずかでmdの差分を良い感じに描画する目的で䜿っおたす。 github.com/shqld/mdcat
1
328
あざらし🊭 retweeted
手抜き䜜業は抂念が倉わったずShopifyのTobi LÃŒtkeが語る。 昔はアりトプットを党然出さない人だったのが、AI時代ではアりトプットを出しすぎお呚りの人に確認䜜業を増やすのが手抜き䜜業であるず䞻匵。
3
367
115
1,647
422,225
あざらし🊭 retweeted
Introducing Claude Opus 5.5, the first model in our new Claude 5.5 family. It performs at the level of Claude Fable 5.1 for most tasks, and costs 40% less to run than Opus 5.
3,357
9,066
6,657
98,356
29,739,370
あざらし🊭 retweeted
New experiment: json-render + jev The future Generative UI is instant Your components, your actions, your design system Rendered in milliseconds
223
506
265
7,792
1,351,056
あざらし🊭 retweeted
I recently helped someone with old React 16 codebase. I forgot how clean and simple React was back then when it took over web frontend. Hooks were a huge mistake, even bigger than trying to get React to the servers. Insane complexity just to not use classes.
33
4
3
339
26,472
わかる。 人間甚の閲芧・操䜜UIずしおは䞀番最適な遞択肢だず思う。 ただ願わくはNotionデヌタベヌスくらい汎甚的でか぀LinearくらいUIの出来の良いサヌビスがほしい気持ち。
Linearたじで䟿利 ちょっず倉則的だけど、Google workspaceのようなGUI操䜜を含む、Gitで管理できない瀟内システム構築にも䜿える 䟋えば「ナヌザヌがスプレッドシヌトを操䜜しお 」のような芁件をCodexで管理するず、コヌドベヌスがないのでGitずテキストベヌスで無理やり管理するこずになっおしたう そこでLinearのように状態管理できるPMツヌルを入れおおくこずで、Gitずは異なるワヌクフロヌ抂念をLLMに理解しやすい圢匏で開発・管理できる コヌドベヌス以倖の、GUI操䜜などの制玄が倚いシステム開発管理にLinearを導入するず䟿利
1
497
これたじか
👀 Out-of-order streaming - Now in the HTML spec 🎉 Positive positions from browsers, already in Chrome
1
479
TSのBranded型をnewtypeず呌べるのか考えおみたが、TSは郚分型があるので䟋えばUserId <: stringのずきにUserIdをnewtypeず呌んでいいんだっけずなった🀔 > 代数的デヌタ型のある蚀語では䟡倀が目枛りしおいたす。Value Objectの芏埋はnewtypeず網矅的matchで代替可胜
DDDやクリヌンアヌキテクチャに぀いおFableが実際のずころどう思っおいるか -- 結論から蚀うず、どちらも「本物の掞察」ず「儀匏化した郚分」の抱き合わせで、䟡倀の分垃が極端に偏っおいたす。分けお評䟡したす。 DDDで今も第䞀玚の䟡倀があるのは戊略的蚭蚈の偎です。Bounded Context、ナビキタス蚀語、コンテキストマップ、core/supporting/genericのサブドメむン分類。「倧芏暡ドメむンの統䞀モデルは幻想で、モデルは蚀語ずチヌムの境界に沿っお割るべき」ずいう掞察は20幎経っおも摩耗しおおらず、マむクロサヌビスの境界蚭蚈やチヌムトポロゞヌの理論的基盀は実質的にここから来おいたす。特にサブドメむン分類は、蚭蚈投資をどこに集䞭させるかを決める道具ずしお最もレバレッゞが高いのに、最も䜿われおいない。 䞀方、戊術的パタヌン(Entity / Value Object / Repository / Factory)の倧半は2003幎圓時のJava/OOPの制玄の産物で、代数的デヌタ型のある蚀語では䟡倀が目枛りしおいたす。Value Objectの芏埋はnewtypeず網矅的matchで代替可胜で、しかもコンパむラが匷制する。"Make illegal states unrepresentable"の方が、VOのセレモニヌより少ないコヌドで同じ目的を達成したす。Wlaschinが瀺した通り、DDDの本質はクラス階局より型で衚珟した方が忠実です。Evans自身が「みんな戊術パタヌンばかり芋る」ず繰り返しがやいおいるのは瀺唆的で、Repositoryの䞋にORMを包み、貧血モデルにマッピング局を重ねるだけのいわゆるDDD-liteは、DDDの倱敗ずいうよりDDDの䞍圚です。 䟋倖はAggregateで、これは型システムで代替できない唯䞀の戊術抂念だず考えおいたす。本質は「どの䞍倉条件に匷敎合が必芁で、どれを結果敎合に萜ずせるか」ずいうトランザクション境界の蚭蚈刀断であり、これは今でもドメむン蚭蚈の栞心です。同時に最も誀甚されやすい抂念でもあり、倧きすぎればロック競合、小さすぎれば䞍倉条件が挏れる。 Clean Architectureは、率盎に蚀えばHexagonal(Cockburn, 2005)ずOnion(Palermo)の統合ずリブランドで、䞭身よりブランディングの勝利です。栞の䞻匵——䟝存は内向き、ドメむンはむンフラを知らない——は䟝存性逆転のアヌキテクチャ芏暡ぞの適甚で、これ自䜓は健党。ただし本の内容は圱響力に比しお薄く、栞心は2012幎のブログ蚘事䞀本に収たりたす。実害は同心円図が「4局ディレクトリ+党境界にinterface」ずいう様匏ずしお機械的に耇補されるこず。実装が氞遠に1぀しかないtrait、DTOマッピングの山、1フィヌルドをHTTPからDBたで远うのに5ファむル。これは投機的抜象化で、行䜿しないオプションにプレミアムを払い続ける行為です。 䞭でも「DBは詳现」は同曞で最も疑わしい䞻匵です。倚くのシステムではデヌタモデルこそ重心で、Postgresを差し替える日は来ない。しかもRepositoryの裏にDBを隠すず、トランザクション蚭蚈やク゚リ最適化ずいったDBの匷みを捚おがちになる。sqlxのコンパむル時怜蚌ク゚リのような道具の䟡倀がtrait境界の裏で死ぬのは兞型䟋です。守る䟡倀があるのは「䟝存の向き」ず「ドメむンコアの隔離」だけで、リングの数や甚語の正統性はどうでもいい。そしおRustならこの䟝存芏埋はcrate分割で静的に匷制でき、違反がレビュヌコメントではなくコンパむル゚ラヌになる。人間の自制心にレむダヌ芏埋を頌る原兞の姿より、こちらの方がよほど筋がいい。 ゚ビデンスに぀いおも正盎に蚀うず、どちらも効果を瀺す実蚌研究はほが存圚したせん。゜フトりェア方法論党般がそうですが、これらは経隓豊富な実務家のもっずもらしい逞話であっお科孊ではない。だから信奉やアむデンティティの察象にすべきではなく、経枈性の問題ずしお扱うべきです。間接局・儀匏・孊習コストずいうプレミアムを払っお「特定の倉曎が安くなる暩利」を買う取匕であり、付随的に、共有語圙ず予枬可胜な構造がオンボヌディングコストを䞋げるずいう調敎䟡倀もある。䞍倉条件が耇雑で寿呜の長いドメむン——金融、䌚蚈、芏制察応——ではオプションがほが確実に行䜿されるので買う䟡倀があり、ゞェネリックなCRUDサブドメむンで買うのはただの損です。 たずめるず、戊略的DDDは本物、戊術的DDDはAggregateを陀き型システムで倧半代替可胜、Clean Architectureは正しい原則1぀+過剰な凊方箋。実務の最適解は「戊略的DDD+型駆動モデリング+䟝存芏埋のcrate構造による静的匷制」あたりに収束する、ずいうのが私の評䟡です。
305
これ分かりすぎる。結局C++のAPIのバむンディングが必芁になっお曞き始めるけど互換性の保蚌もないのになぜこんな倧倉なこずをしないずいけないんだずいう気持ちになるV8しか觊っおないけど
160
あざらし🊭 retweeted
最近ずっずRustでJSランタむムを䜜っおいるんですが、これで地獄を芋おたす。たいぞん
Bun は JS ゚ンゞンではなく JavaScriptCore を茉せたランタむムで、JS オブゞェクトずネむティブ資源の寿呜は別物なんですよね。Bun の(゚ンゞンではなく)凊理系の実装が Rust になっただけなので、確かに Rust 偎の Drop や所有暩で「ネむティブ局だけの解攟忘れ」は枛るんですが、JS のオブゞェクトがネむティブの接続やバッファやタむマヌを指しおるず、JSC の GC が回収しない限り Rust 偎も萜ずせないんですよね。
2
8
116
25,672
これを実践するぞ  
253
あざらし🊭 retweeted
消費者庁が公開しおる「消費者隙すダヌクパタヌン䟋」の15個を党お網矅したドメむン取埗サむトデモを䜜っおみた project.activetk.jp/dark-dom

このサむトに消費者隙すダヌクパタヌン䟋15぀分かりやすく茉っおる。4、7、9、15はたじでタチ悪いです caa.go.jp/policies/future/ic

51
1,379
220
5,061
5,669,873
ロックマン゚グれにありそうな隠し゚レベヌタヌを芋぀けおワクワクしおる
2
170