Open in app

Sign In

Write

Sign In

Dan Vanderkam
Dan Vanderkam

509 Followers

Home

About

Mar 24, 2021

Advent of Code 2020 (this time in Rust)

I learned about the Advent of Code in mid-December of 2019. I did the puzzles in Python that year, and it always felt like I was racing to catch up. (Here’s my write-up.) I also felt like I was missing a chance to learn a new language. …

Advent Of Code 2020

19 min read

Advent of Code 2020 (this time in Rust)
Advent of Code 2020 (this time in Rust)
Advent Of Code 2020

19 min read


Feb 10, 2020

GitHub Stars and the h-index: A Journey

Starring a repo on GitHub is an easy way to tell its author that you appreciate their work. It only takes one click! Stars are a good way to get a quick sense of a repository’s popularity. People get pretty obsessed with tracking stars. …

Github

6 min read

GitHub Stars and the h-index: A Journey
GitHub Stars and the h-index: A Journey
Github

6 min read


Jan 4, 2020

Python Tips & Tricks for the Advent of Code 2019

I signed up for the Advent of Code after a coworker of mine mentioned that he was doing it. I was instantly hooked on collecting gold stars. I collected my last star a few days after Christmas and thoroughly enjoyed the process. …

Programming

10 min read

Python Tips & Tricks for the Advent of Code 2019
Python Tips & Tricks for the Advent of Code 2019
Programming

10 min read


Published in HackerNoon.com

·Jun 7, 2018

Testing Types: An Introduction to dtslint

Does something look odd about this unit test? it('should square 4', () => { square(4); }); Sure. It’s not asserting anything! It doesn’t matter whether square is implemented correctly. So long as the function doesn't throw an exception, this test will pass. This isn’t great. The test would be much…

Java Script

4 min read

Java Script

4 min read


Published in Sidewalk Talk

·Mar 20, 2018

Explore Toronto through historical photos — one block at a time

The open-source, open-data Old Toronto map tool can help locals discover things they didn’t know about the city’s past. — This post was co-written with Associate Product Manager Matt Breuer. Editor’s Note: In 2021, Sidewalk Labs retired the Old Toronto map tool described in this blog post. Here’s a view from Yonge Street in Toronto, looking north from Temperance, right near Sidewalk’s temporary office space. At the corner we can…

Geocoding

5 min read

Explore Toronto through historical photos — one block at a time
Explore Toronto through historical photos — one block at a time
Geocoding

5 min read


Published in Netscape

·Aug 22, 2017

Async Iterators: These Promises Are Killing My Performance!

Text processing in node.js has historically been both slow and cumbersome. But don’t fret, there’s hope on the horizon! The new async iterators proposal solves the “cumbersome” problem brilliantly. But sadly, it misses an opportunity to make text processing fast, too. …

Java Script

4 min read

Java Script

4 min read


Mar 30, 2017

A typed chain: exploring the limits of TypeScript

Update (2020): it is now possible to correctly type _.chain by overloading the type of this on the wrapper interface. This is how the lodash typings work. See this thread for a simple example. The typings in sections 3–7 are no longer a good way to approach to this problem. …

Java Script

7 min read

Java Script

7 min read


Published in Sidewalk Talk

·Feb 23, 2017

New map demo: How the L train shutdown will impact your commute

Our NYC Transit Explorer shows how long it takes to get anywhere in the city by bus or subway. Even during L-mageddon. — Editor’s Note: In March 2021, Sidewalk Labs retired the NYC Transit Explorer described in this blog post. There’s no greater challenge facing New York City transportation than the L train East River tunnel shutdown that could start as early as 2019 and will last 18 months. The dreaded L-mageddon will…

New York City

6 min read

New map demo: How the L train shutdown will impact your commute
New map demo: How the L train shutdown will impact your commute
New York City

6 min read


Dec 26, 2016

A Typed pluck: exploring TypeScript 2.1’s mapped types

One of underscore.js’s most useful methods is _.pluck. It takes an array of objects and "plucks" one property out of each, returning an array of the resulting values: > _.pluck([{k1: 1, k2: 3}, {k1: 5, k2: 1}], 'k1') [1, 5] This mixing of string literals and property names is a…

Java Script

6 min read

A Typed pluck: exploring TypeScript 2.1’s mapped types
A Typed pluck: exploring TypeScript 2.1’s mapped types
Java Script

6 min read

Dan Vanderkam

Dan Vanderkam

509 Followers

Software Developer @sidewalklabs, author of Effective TypeScript

Following
  • Lessig

    Lessig

  • Joshua Robinson

    Joshua Robinson

  • Eric Tang

    Eric Tang

  • nosingletopic

    nosingletopic

  • Michael Preysman

    Michael Preysman

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech