サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
中東情勢
spin.atomicobject.com
I recently started doing a lot more standalone JavaScript front end development, often using CoffeeScript, less, jade, or other modern web stack components. Compiling assets like these is pretty much a solved problem when they are being delivered from a server side web stack like Rails, but I found myself in need of a JavaScript-based solution for statically compiling, serving, and testing my code
When I recommend learning Haskell to the uninitiated, I often get asked: “Why Haskell?” “Is it a practical language?” and “Is it something I can actually use?” My answer is definitely yes. Haskell isn’t my primary language at work (I mostly write C code for embedded systems), I’ve still found it incredibly useful. And even if I never used Haskell at work, I would still consider learning it as time
Functional tests are like exercise: they’re hard work at the time, but in the long run you’ll be suffering more for skipping them. Yes, function tests — also referred to as system tests — can be difficult to write, especially when there is a lot of data setup required before your test begins. And yes, any time you simulate a browser your tests will take a long time to run. However, I recently disc
I ran into this runtime error the other day when testing a Ruby Motion app on a device with iOS 5.1 installed: Everything had been working fine in iOS 6 and, previously, when testing in iOS 5.x. The change that introduced this issue was upgrading a vendored version of the Objective-C SDWebImage library. In the latest version, the developers started using indexer syntax on NSArray, which allows one
Unifying Programming and Math – The Dependent Type Revolution The way that programmers and mathematicians work seems to be very different. Programming is about making computers do something, whereas math is about describing things. Programming involves state that changes over time, whereas math deals with Platonic theorems that are always true, even if not proven yet. But, in fact, the Curry-Howar
So it turns out C is a functional language too! On the way to Strange Loop this year, John Van Enk and I were trying to find a way to write some C code that avoided dynamic (malloc) allocation. We discovered a technique that allows you to forgo the use of malloc in many common cases. It also enables very pure functional C code. You doubt? I shall demonstrate! I will show how you can write a linked
A few days back, we ran into an issue on a project using “Backbone.js”:http://documentcloud.github.com/backbone/ where we needed two Backbone views to be able to talk to one another. This is not an issue when there is a view A that has a reference to view B and binds to any events that propagate from B. Our issue was a little more in-depth because these views did not have references to each other,
Apple has invested quite a bit of time into making it easy to compile for a number of different architectures in XCode. For instance, compiling a library into its “armv6”:http://en.wikipedia.org/wiki/ARM_architecture, “armv7”:http://en.wikipedia.org/wiki/ARM_architecture, and “i386”:http://en.wikipedia.org/wiki/Intel_80386 variants is just a matter of specifying the supported architecture types. H
“PhoneGap”:http://www.phonegap.com/ is an HTML application platform that runs natively on iOS. After the initial project setup, PhoneGap allows you to pretend you are just writing a web application, meaning you spend your day in HTML, CSS and javascript instead of Objective-C. When I had the opportunity to write a PhoneGap application for a project demo, I decided to take the development process o
If you start writing an application using Backbone.js and Coffeescript as we did recently, you’ll quickly discover that they are both great tools. However, what you may not notice right away if you’re new to Coffeescript is that there are certain parts of Backbone’s example Todos application that become unnecessary or clunky if translated verbatim to CoffeeScript. Following are a few little things
One of the things I find myself yearning for in a lot of programming languages is a powerful pattern matching system. I wrote one for ruby, but ruby’s syntax just wasn’t flexible enough to make something as elegant as I’d like. When I started using clojure, it seemed like a great little project for getting to know clojure’s macro facilities as well as clojure itself. I set out to build a kickass p
このページを最初にブックマークしてみませんか?
『spin.atomicobject.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く