2D Rigid Body Collision Resolution Part 1: Defining the problemFrom Mario bouncing off a Goomba to two cars bumping into each other in a racing game, dealing with collisions is such an integral part of most video games that we often take it for granted. In this series of blog posts, I want to show you what actually goes on behind the scenes in a physics simulation like the one above. While we're g
Lately I’ve been messing around with Python 3.12, discovering new features around typing and pattern matching. Combined with dataclasses, they provide support for a style of programming that I’ve employed in Kotlin and Typescript at work. That style in turn is based on what I’d do in OCaml or Haskell, like modelling data with algebraic data types. However, the more advanced concepts from Haskell —
Regular Expression Matching Can Be Simple And Fast (but is slow in Java, Perl, PHP, Python, Ruby, ...) Russ Cox rsc@swtch.com January 2007 Introduction This is a tale of two approaches to regular expression matching. One of them is in widespread use in the standard interpreters for many languages, including Perl. The other is used only in a few places, notably most implementations of awk and grep.
Mark Seemann 著、吉羽 龍太郎、原田 騎郎 訳、Robert C. Martin まえがき TOPICS 発行年月日 2024年06月 PRINT LENGTH 312 ISBN 978-4-8144-0079-9 原書 Code That Fits in Your Head FORMAT Print PDF EPUB ソフトウェアは複雑さを増すばかりですが、人間の脳は限られた複雑さしか扱えません。ソフトウェアが思い通りに動くようするには、脳に収まり、人間が理解できるコードを書く必要があります。 本書は、拡張を続けても行き詰ることなくコードを書き、複雑さを回避するための実践的な方法を解説します。最初のコードを書き始めるところから機能を追加していくところまでを解説し、効率的で持続可能なペースを保ちながら、横断的な問題への対処やトラブルシューティング、最適化を行なう方法を説明します
.docset/ ├── Contents │ ├── Resources │ │ ├── Documents │ │ └── docSet.dsidx │ └── info.plist ├── icon.png └── icon@2x.png
OS Xをメインでお使いの開発者な皆さま、Alfred + Dashのコンボで爆速リファレンス引きライフを満喫していますでしょうか。今回はこの快適環境を拡張するべく、自分でDash用のドキュメント(= docset)を作ってみました。 「Alfred、Dashって何?」な方のためにそれぞれどういうアプリなのか知らない方のために、簡単に解説しておきますね。 まず、「Dash」は高速なドキュメントブラウザです。iOSやJava、Ruby、Processing、…ありとあらゆる言語のリファレンスが「docset」として用意されており、1クリックでインストールできます。自分の使う言語分をすべてインストールすれば、すべてのリファレンスが一所から引けるようになるのです。無料でお試しできるので、使ったことがないなら今すぐインストールすべし。
A familiar theme for me is dismissing an idea as being too much work and then later finding myself doing it anyway. That’s what happened here. A little while ago I created a block script in JavaScript, thinking that cursive would be too complex. But here I am, two months later, ready to talk about the cursive handwriting I’ve created. There is perhaps a lesson in that but let’s not dwell on it. Bl
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く