サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
cirw.in
One of the least well known, and therefore least used, features of many terminal emulators is bracketed paste mode. When you are in bracketed paste mode and you paste into your terminal the content will be wrapped by the sequences \e[200~ and \e[201~. I admit this is hard to get excited about, but it turns out that it enables something very cool: programs can tell the difference between stuff you
MVC is a phenomenal idea. You have models, which are nice self-contained bits of state, views which are nice self-contained bits of UI, and controllers which are nice self-contained bits of … What? I’m certainly not the first person to notice this, but the problem with MVC as given is that you end up stuffing too much code into your controllers, because you don’t know where else to put it. To fix
Memory leaks are my least favourite type of bug. To track them down requires not only a detailed knowledge of the entire codebase but also strong intuition (or a lot of luck). To make the process more fun I’ve written a patch for ruby 1.9.3 that lets you visualize portions of the memory graph. ObjectSpace.each_object Ruby already comes with ObjectSpace which contains a few methods for analyzing yo
Introducing: pry-rescue: super-fast, painless, debugging for the (ruby) masses. What does it do? Whenever an unhandled exception happens in your program, pry-rescue opens an interactive pry shell right at the point it was raised. Instead of glowering at a stack-trace spewed out by a dying process, you’ll be engaging with your program as though it were still alive! The pry console gives you access
Exploring is a large part of what programmers do during the time when we’re not typing out code. Attempting to discover the correct way to do something, or to get a feeling for how something works is an essential part of the job, and for many people it’s also the most fun. While these aren’t the only examples, I classify the following as exploring: Trying out new libraries. Designing good APIs. De
Git is an incredibly powerful tool for version control. Much of this power stems from its underlying append-only object database which ensures that once you’ve made a commit it can never be changed or unmade. This is great because it means you can refactor history safe in the knowledge that you can git reset back to a working version if something goes wrong. One thing I’ve yearned for however is t
このページを最初にブックマークしてみませんか?
『Conrad Irwin』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く