Skip to content

Instantly share code, notes, and snippets.


Daniel Eden daneden

View GitHub Profile

Camera recommendations 2017H2

So I use a Sony a6000 with a variety of lenses, but my selected camera and equipment has taken a lot of time and money to establish. I really love the camera, and can recommend a few lenses in a variety of price ranges that go well with it. Sony has also released two new models of this camera—the a6300 and a6500—which are the same in terms of size but with slight upgrades in features (though at it’s price, the a6000 is probably still the best investment)

I’m obviously biased toward Sony, having invested a fair bit on lenses, but an entry-level camera in Sony’s mirrorless family is also Wirecutter’s top suggestion:

In general, Wirecutter’s recommendations are typically top-notch, so you can explore their full reviews in this category and decide for yourself:

You’ll likely find that the majority of good sources will be recommending ‘mirrorless’ cameras: these s


Hearth Loaf

This bread takes about two days to make. The recipe seems long, but it’s just detailed. The steps are also very catered to my own schedule, so you should play around with the steps, making use of your refrigerator, to see what works for you.

Also, this recipe is basically a direct copy of a recipe in Josey Baker’s excellent book on making bread, and I implore you to buy it and read it.

Stuff you’ll need

  • Store-bought yeast (I use dry active)
  • Whole wheat flour
View Facebook Ain't So

Common fears before joining Facebook that I've since resolved:

“FB has so many designers—I don't want to be just another cog in the wheel!”
While true, there's absolutely no reason a designer can't have meaningful impact. We have a ton of designers because we have a lot of meaningful and exciting projects going on at any given time. There's a lot more than meets the eye.
“What about the commute?”
From SF, sure, it can be a toil; 1.5hrs is a long one-way drive, but I've found teams are super flexible when you own your schedule, leave and arrive at the office when it's convenient for you, and spend your time on the shuttle how you like: working, reading, napping, or hanging out with friends you make on the ride.
“How do I grow at a place as big as FB?”
This is Facebook's key differentiator: I haven't got much firsthand experience, but I feel as though, and have heard from coworkers, that Facebook puts more emphasis on career development than any
daneden / spec.json
Created Aug 7, 2017
Vega Lite Playground
View spec.json
"$schema": "",
"config": {
"cell": {
"width": 700,
"height": 300
"mark": {
"color": "#066CD2",
"font": "Arial"
daneden / .block
Last active Aug 3, 2017 — forked from mbostock/.block
Circle Packing
View .block
license: gpl-3.0
height: 960
border: no
View chaikin.pde
// chaikin takes an array of points Pn and calculates points QRn
// [PVector] -> [PVector]
ArrayList<PVector> chaikin(ArrayList<PVector> P) {
ArrayList<PVector> CP = new ArrayList<PVector>();
for(int i = 0; i < P.size() - 1; i++) {
PVector p = P.get(i);
PVector p2 = P.get(i + 1);
float qx = lerp(p.x, p2.x, .25); // lerp() == linear interpolation between 2 values at point T where 0 <= T <= 1
t = new TextLayer
text: "00:00"
# This style ensures that tabular figures are used, so that all
# digits are the same width
fontFeatureSettings: "'tnum'"
# Get the current time
origin =
daneden / .babelrc
Created Mar 8, 2017
GitHub Commenters
View .babelrc
"presets": ["es2015"],
"plugins": ["transform-object-rest-spread"]

Dan answers questions

I get these questions (or similarly-phrased questions) often enough that I figured it would be helpful to post my responses somewhere. So, uh, here you go.

Q: What changes did you see in the design process at Dropbox from when you started to when you left and how did that impact you as a designer?

A: When I first joined Dropbox, I was the latest in a team of about a dozen designers in a 400-person company. This small size allowed the whole team to critique one another’s work on a weekly basis, and frequently bother someone at their desk. By the time I left Dropbox, the company was almost 2,000 people, and the design team had grown to about 60 people (including product designers, researchers, content strategists, and illustrators). We went through a series of changes to adjust for our growth, but in the design team there were a few notable ones.

View Particle.pde
class Particle {
PVector pos;
PVector prev;
PVector vel = new PVector();
PVector acc = new PVector();
boolean isAttractor = false;
Particle(float nx, float ny) {
this.pos = new PVector(nx, ny);
this.prev = new PVector(nx, ny);