alancfrancis RSS

Thoughtstream

Archive

May
15th
Thu
permalink
Rangers Riot-8992 (via James Lester)
Rangers Riot-8992 (via James Lester)
permalink
because such “arriving aliens” are not considered to be in the United States at all, even if they are in custody, they have none of the legal rights that even illegal immigrants can claim.
May
11th
Sun
permalink
permalink
Mac Desktop as ‘Bird and The Bee’ video
May
6th
Tue
permalink
Dan Ingalls did a lovely binary compatible re-implementation of the Squeak VM in Java as an exercise to learn the language, in a tiny fraction of the time that JRuby has taken, because everything important, down to the parser, compiler, process scheduler, windowing system, and IDE, were implemented in Smalltalk anyway and so could be reused.
permalink
But he added: “Even though the treatment difference appears causal, it remains unclear whether the observed cognitive benefits of breastfeeding are due to some constituents of breast milk or are related to the physical and social interactions inherent in breastfeeding.
permalink

The REST support in Rails emphasizes the convention of CRUD operations. map.resources gives you a fistful of named routes that have built-in knowledge of CRUD action names. The emphasis on CRUD at this level encourages you to think of modeling for CRUD. Instead of having, say, a users controller with a borrow_book action, you can have a loans controller with a create action. In many cases, this way of thinking might also wag the dog of your domain modeling. Thinking about CRUD in the controller might, for example, lead you to conclude that you should have a Loan model.

It’s perfectly fine—indeed, in my view, it’s very productive—to think along these lines, to bring your modeling and your REST-friendly CRUD operations into harmony, as long as you understand that none of this is actually about resources as such. Rather, it’s about the Rails flavor of implementing the handlers that underpin the creation of resource representations.

Does that sound like just a lot of extra words? It isn’t. It’s a lot of words, but they’re not extra.

May
5th
Mon
permalink
A child is fascinated by the eye-popping spectacle of these street performers in the centre of Tokyo, Japan. via BBC: Day in Pictures

A child is fascinated by the eye-popping spectacle of these street performers in the centre of Tokyo, Japan.

via BBC: Day in Pictures

May
4th
Sun
permalink
Isaac at Luca’s
Isaac at Luca’s
permalink
Isaac’s first milkshake
Isaac’s first milkshake
Apr
29th
Tue
permalink
A robot developed by roboticists at the University of Pennsylvania is made of modules that can recognise each other.
permalink
Apr
26th
Sat
permalink
The stark, vast beauty of the remote Arctic Europe landscape has been the focus of human exploration for thousands of years. In this striking blend of travel writing, history and mythology, Gavin Francis offers a unique portrait of the northern fringes of Europe. His journey begins in the Shetland Isles, takes him to the Faroes, Iceland, Greenland, Svalbard and on to Lapland.
Apr
24th
Thu
permalink
permalink
iam:Godzilla Riots recently experienced an eye and lip sewing by Pierre Rogers at Lucky Monkey in Ann Arbor