サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
買ってよかったもの
osteele.com
Practical Functional JavaScript: Code Samples These are the code samples from my Ajax Experience 2008 talk, Practical Functional JavaScript. Click on a line to view (and run) that sample. I've written out some of what I said about the samples in the first section. Check back later, and I'll update the rest.— Oliver Steele, 2 Oct 2008, Amherst, MA 1. Function Objects Callbacks "> Basic callback"> T
blog.osteele.com
Git is a complicated beast. The Git index, if you’re coming from other VCS’s, is a new concept. Yesterday I described how I use the Git index in my workflow: These pictures illustrate the multiple locations, or “data stores”, that host a copy of the source tree. These stores are: the working directory, local and remote repositories, and the index. In order to show more of the whole development pro
Git’s great! But it’s difficult to learn (it was for me, anyway) – especially the index, which unlike the power-user features, comes up in day-to-day operation. Here’s my path to enlightenment, and how I ended up using the index in my particular workflow. There are other workflows, but this one is mine. What this isn’t: a Git tutorial. It doesn’t tell you how to set up git, or use it. I don’t cove
JavaScript Fu extends Rails with a few facilities to better integrate JavaScript into Rails development: 1. The notes and statistics rake tasks compass JavaScript files in the public/javascript directory: $ rake notes public/javascripts/controls.js: * [782] [TODO] improve sanity check $ rake stats | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | [...] | JavaScript | 7287 | 6322 | 0 | 0 | 0
This article is about how to deal with null values. It follows up on this one. It’s intended for code stylists: people who care a lot about the difference between one line of code and two, or keeping control statements and temporary variables to a minimum. (A code stylist is kind of like the dual of a software architect, although one person can be both.) It’s not about code golf – although you mig
Functional is a library for functional programming in JavaScript. It defines the standard higher-order functions such as map, reduce (aka foldl), and select (aka filter). It also defines functions such as curry, rcurry, and partial for partial function application; and compose, guard, and until for function-level programming. And all these functions accept strings, such as 'x -> x+1', 'x+1', or '+
Functional is a JavaScript library for functional programming. It defines the standard higher-order functions (map, reduce, filter) that you can read about elsewhere on the web. It also defines functions for partial function application and function-_level_ programming: curry, partial, compose, guard, and until. Finally, it introduces “string lambdas”, which let you write 'x -> x+1', 'x+1', or eve
Computing the length of a Bezier curve is expensive, but the length of a given Bezier doesn’t change over time. In my JavaScript Bezier implementation, I wanted to compute the length only the first time it’s need, and save this result in order to return instantly thereafter. This is a special case of memoization. There are well-known strategies for implementing memoization. But getLength is a null
Here’s something I’ve wanted for a long time. So I finally built it. reAnimator is a tool for visualizing how regular expression engines use finite-state automata to match regular regular expression patterns against text. This is intended to demonstrate the implementation of regular expressions. If you want to learn how to use them instead, I recommend these references instead: Regular-Expressions
JSON for OpenLaszlo is a JSON library for OpenLaszlo. I wrote this in order to implement my regular expression visualizer. There’s a live example below. Clicking on a button requests some JSON text from the server and parses it on the client. The source code to the example is here. (When it runs off my web site, the debugger in the example displays a warning about not being able to connect to the
This application requires the Flash plugin. If the plugin is already installed, click here. Warning: include(../../includes/footer.php) [function.include]: failed to open stream: No such file or directory in /home/.sidestep/osteele/osteele.com/tools/reanimator/index.php on line 32 Warning: include() [function.include]: Failed opening '../../includes/footer.php' for inclusion (include_path='.:/usr
このページを最初にブックマークしてみませんか?
『Oliver Steele』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く