-
Nice example of real-world examples of using Pundit, including testing.
-
Good points; I really like the custom matchers. I always come to RSpec feeling like i've forgotten something, *again*.
-
Oh, awesome: a Pinboard Share extension for iOS 8.
-
New Danny Macaskill video: off-road (off ALL the roads) in Skye. Remarkable. Also: so much dronecam in biking videos now. (Nicely shot, thoguh).
-
Really, really useful: a tool from @mnot to test headers, caching, and responses to webpages. Will be using this a lot in future, am sure.
-
"The water that falls on you from nowhere when you lie is perfectly ordinary, but perfectly pure. True fact. I tested it myself when the water started falling a few weeks ago. Everyone on Earth did. Everyone with any sense of lab safety anyway. Never assume any liquid is just water. When you say “I always document my experiments as I go along,” enough water falls to test, but not so much that you have to mop up the lab. Which lie doesn’t matter. The liquid tests as distilled water every time." A truly lovely short story from John Chu.
-
The most useful tips in here: set the right headers; set the body of the response to an enumerator and it'll iterate over it, streaming it.
-
Some great Chess writing from Slate.
-
"‘If all that survives of our fatally flawed civilization is the humble paper clip, archaeologists from some galaxy far, far away may give us more credit than we deserve,’ the design critic Owen Edwards argues in his book Elegant Solutions." An excerpt from a Joe Moran essay on the paperclip.
-
"pup is a command line tool for processing HTML. It reads from stdin, prints to stdout, and allows the user to filter parts of the page using CSS selectors.
Inspired by jq, pup aims to be a fast and flexible way of exploring HTML from the terminal." That looks great.
-
"Something that journalists sometimes do is publish a disclosure statement. It’s sort of like an About Me page except it’s a listing of all their conflicts of interest—all the areas of coverage where you might have good reason to think they should not be trusted. It’ll say things like I once worked at Google or I’m married to an employee of Microsoft. I have never written one of these but I have fantasies about doing a comprehensive one. It would be the length of a novel, I think. An endless and yet incomplete litany of all the blood, privilege, history, and compromise on my hands." I could have quoted lots of this, but I chose this. It's good. It encapsulates the beginnings but not ends of lots of thoughts, and reminds me why, right now, I'm afraid of assuming anything about anything, why stereotyping "big companies" as being identical isn't just inaccurate but also unhelpful, and why the point of boundaries is that they always exclude _somebody_.
-
"Hatoful Boyfriend is the Fifa of pigeon romance and you should buy it for that reason alone." I'm loving the attention Hatoful Boyfriend is getting in the media; this review by Grant Howitt is charming, informative, and on the Guardian website. Brilliant.
-
Cracking interview with George Saunders, from 2011 (so pre-Tenth of December). Lots about the craft of writing, and about what Just Turning Up looks like. Also, his imaginary writing class in which Hemingway punches everybody out made me laugh out loud.
-
"Of course this is pure anthropomorphization. Bits don’t have wills. But they do have tendencies." This piece by Kevin Kelly is great – though this line neatly explains my suggestion that 'things' sometimes have 'desires' better than I ever have before.
-
Good to know SES can just be integrated as an ActionMailer delivery method.
-
This was clear and straightforward. Everything stored as UTC, everything in local within the app.
-
What it says on the tin.
-
"keep some parts of myself severely to myself, am thus able to maintain a deep fruitful disjunction between this real world & the real real world." (and: of _course_ the "Robin" commenting on MJH's blog is Robin Sloan)
-
"The lineage of luxury in art – from lapis lazuli, to bronze casting, gold plating or diamond encrusting – extends now to graphics cards, ray-tracing, skin rendering, reflection mapping and to processor speeds, hyperthreading, render farms and the complex world of outsourcing, government subsidies or mineral extraction. It’s important and interesting! Curators take note!" This is good / the Ed Atkins also sounds good.
-
Bookmarked for reference – Dan's lists are usually good.
-
Beautiful. (via Denise).
-
"King Lear would have killed it in Silicon Valley." More Maciej, and yes, it's great.
-
These are also good. And funny.
-
Seems like a reasonable set of tools to help out with this.
-
"MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface. Run mailcatcher, set your favourite app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server, then check out http://127.0.0.1:1080 to see the mail that's arrived so far." Useful!
-
"The reason I am able to make Twitter bots is because I have been programming computers in a shitty, haphazard way for 15 years, followed by maybe 5 years of less-shitty programming. Every single sentence in the big preceding paragraph, every little atom of knowledge, represents hours of banging my head up against a series of technical walls, googling for magic words to get libraries to compile, scouring obscure documentation to figure out what the hell I’m supposed to do, and re-learning stuff I’d forgotten because I hadn’t used it in a while." This paragraph also represents my experience of both programming and how I write my toys; a slightly round-about set of experience to get to where we are now, with lots of reading the manual and doing things in dumb ways occasionally. Programming!
-
Yep, this all seems like a very good list to me. Filed away for the next time I have to do anything with maps.
-
Enjoyed this a lot: Kim Stanley Robinson on California, SF, and the relationship between the two. For me, timely.
-
"In this film I wanted to look beyond the childish myth of ‘the cloud’, to investigate what the infrastructures of the internet actually look like. It felt important to be able to see and hear the energy that goes into powering these machines, and the associated systems for securing, cooling and maintaining them." Looks beautiful: Timo's customary look in enveloping, three-screen 4K. Gosh. Also: the uses of stills-as-film is really interesting to me at the moment.
-
"One-thousand dollars invested at a 20% discount with 5% interest (calculating interest every 3 turns, but simple, not compounding interest) means a player will have starting debt of $1000. After three turns the debt is $1050, 6 turns is $1100, 9 turns is $1150, etc. Totally manageable. The banker is your friend and wants you to succeed."
-
A lovely game – almost a poem, but definitely Enough Game – by Holly Gramazio, about being a blackbird in a city. It made me feel many things, which is what the best writing does. Also, I shall now probably play it again.
-
"We foresee an amazing future where not only can your household devices communicate with each other, they can also communicate with us over the same Internet lines. How cool would it be if your fridge could post a Medium here on Medium every time it needed you to buy more milk? And that’s just one idea." There are many more ideas in this post.
-
Bookmarked because this is what I did to bump Ruby to 1.9.3, finally, on my VPS.
-
Loads .env into ENV – a simpler alternative, perhaps, to Foreman, for certain tasks.
-
Rather nice looking Ruby/Redis feature-flag library.
-
"Tux dresses up sinatra in a shell. Use it to interact with your helpers, view rendering and your app’s response objects. Tux also gives you commands to view your app’s routes and settings." Handy – will definitely be using that in future.