Andrew McGill is chronicling the devices and apps he’s creating this summer and invites readers to join him. Are you an inventor and want to share a project? Please drop him a note: firstname.lastname@example.org.
If you live in the Washington, D.C., area, you’re probably familiar with Capital Bikeshare. And if you don’t, I bet the nearest American city might have something like it: A system of public bicycles available for rent, strategically placed throughout town for point-to-point trips. If you have a membership or a credit card, you can check out a bike at a kiosk, ride it to your destination and re-dock it at the nearest Bikeshare station. It’s one of my favorite things about the D.C. area.
But! There are few things more annoying than wrapping up a satisfying ride and pulling into bikeshare dock ... that is completely full.
There are phone apps out there, like Spotcycle, that publish bike station statuses. But pulling out a smartphone in the middle of a ride doesn’t sound particularly safe. This is a perfect app for a smartwatch, however—a quick glance at your wrist could tell you if you’re headed for an empty station or a wall of docked bicycles.
Using data from Capital Bikeshare, I put together a quick app that pulls the user’s location, finds nearby bike stations and lists how many open slots they have. (Technical explanation here, code here.)
Here’s a GIF of the app in action:
I haven’t yet published the app to the Pebble store, but I’ll do that once I add a few more improvements. Nothing in the works for Apple Watches or Android products at this point, but who knows!
It’s never been easier to be a mad scientist. Back in the day, it took so much work: You had to rent a dungeon, fashion your own Tesla coils, and spend half your life reading cracked leather tomes written your equally deprived predecessors.
Not so anymore. Computers are small, fast and cheap, allowing a D.I.Y. types to slap a microprocessor on pretty much anything, and for less than $50. The internet can deliver a tutorial in an instant and any electronic component within a few days. And easy-to-program platforms have made controlling physical objects with code not only possible, but practical.
All this is great for a would-be inventor. Unless, like me, your drive to work on a project (which seemed so strong in the morning!) somehow gives way to an evening of Alias reruns night after night. Life gets in the way.
So here’s my resolution: Following the lead of WNYC journalist James Keefe, I’m resolving to buckle down and make a new thing every week this summer. It’ll ideally be a real thing—something you can see and could hold, not just ephemeral code powering an app. (Though I’m still keeping the ephemeral code door open if I hit a rough patch.) I’ll document what I’m doing through this thread, as well as more technical write-ups on my own blog. So far, I’ve built a smartwatch app that searches for nearby public bicycles and a silent doorbell for when my coworkers get locked out of the office.
Are you a time-crunched tinkerer? Please join me this summer by sharing your projects: email@example.com. What have you built in the past? What are you working on now? And what should I build next?
Despite the easing of taboos and the rise of hookup apps, Americans are in the midst of a sex recession.
These should be boom times for sex.
The share of Americans who say sex between unmarried adults is “not wrong at all” is at an all-time high. New cases of HIV are at an all-time low. Most women can—at last—get birth control for free, and the morning-after pill without a prescription.
If hookups are your thing, Grindr and Tinder offer the prospect of casual sex within the hour. The phrase If something exists, there is porn of it used to be a clever internet meme; now it’s a truism. BDSM plays at the local multiplex—but why bother going? Sex is portrayed, often graphically and sometimes gorgeously, on prime-time cable. Sexting is, statistically speaking, normal.
Each year, local governments spend nearly $100 billion to move headquarters and factories between states. It’s a wasteful exercise that requires a national solution.
The Amazon HQ2 saga had all the hallmarks of the gaudiest reality TV. It was an absurd spectacle, concluding with a plot twist, which revealed a deep and dark truth about the modern world.
Fourteen months ago, Amazon announced a national beauty contest, in which North American cities could apply to win the honor of landing the retailer’s second headquarters. The prize: 50,000 employees and the glory of housing an international tech giant. The cost? Just several billion dollars in tax incentives and a potential face-lift to the host city. Then last week, in a classic late-episode shock, several news outlets reported that Amazon would split its second headquarters between Crystal City, a suburban neighborhood near Washington, D.C., and Long Island City, in Queens, New York.
In the wake of an upper-middle-class exodus, the Republican Party needs to win working-class voters—or lose its grip on power.
There was a time when Charlie Baker, the popular Republican governor of Massachusetts, who won his bid for reelection by a wider margin than did the stalwart progressive Senator Elizabeth Warren, might have been considered one of the GOP’s leading lights. As it stands, he is an oddity. Though the Republican Party still commands the allegiance of some secular, college-educated, upper-middle-income voters in the suburbs of big cities, such voters represent a shrinking share of its coalition.
Admittedly, this is not an entirely new development. Voters who describe themselves as socially liberal and fiscally conservative, or rather socially progressive and fiscally pragmatic, have been gravitating to the Democrats since the Clinton era. But the 2018 midterm elections really do feel like the culmination of this decades-long trend. Rockefeller Republicans have fully given way to Bloomberg Democrats, a shift that seems especially pronounced among younger elite-educated professionals, and it is hard to envision a reversal. Henceforth, the Republican Party will either win working-class voters or lose its grip on power.
In today’s economy, well-off people live in big cities, while everyone else gets pushed out. Bringing new Amazon offices to Virginia and New York could hasten the process.
On the long list of things that New York City desperately needs—money for the subway, for affordable housing, for schools and public hospitals and universal pre-K—more high-paying, high-skilled jobs is not at the top of the list. It could be argued, in fact, that many of New York’s ills are caused by the explosion of high-paying jobs in a city where the construction of affordable housing and transit improvements has not kept up pace.
Yet New York and hundreds of other cities spent the past year trying to convince Amazon to bring 50,000 jobs to the city, a process that was rewarded on Tuesday when Amazon formally announced that it would set up new offices in Queens and in and the Crystal City area of Arlington, Virginia.
It is best not to diagnose the president from afar, which is why the federal government needs a system to evaluate him up close.
President Donald Trump’s decision to brag in a tweet about the size of his “nuclear button” compared with North Korea’s was widely condemned as bellicose and reckless. The comments are also part of a larger pattern of odd and often alarming behavior for a person in the nation’s highest office.
Trump’s grandiosity and impulsivity have made him a constant subject of speculation among those concerned with his mental health. But after more than a year of talking to doctors and researchers about whether and how the cognitive sciences could offer a lens to explain Trump’s behavior, I’ve come to believe there should be a role for professional evaluation beyond speculating from afar.
I’m not alone. Viewers of Trump’s recent speeches have begun noticing minor abnormalities in his movements. In November, he used his free hand to steady a small Fiji bottle as he brought it to his mouth. Onlookers described the movement as “awkward” and made jokes about hand size. Some called out Trump for doing the exact thing he had mocked Senator Marco Rubio for during the presidential primary—conspicuously drinking water during a speech.
When I was elected to the House of Representatives two years ago, I found the problems weren’t as bad as I’d expected—they were worse.
If you are among the 11 percent of Americans who believe that everything in Congress is going swimmingly, then save some time and stop reading right now. (But first, please share whatever experimental drugs you are on.) But if you are among the 87 percent of people who are concerned about what is going on in Congress, then I have an important message for you: It’s much worse than you think.
On Tuesday, Congress reconvenes after a month of campaigning. Lame-duck legislation will likely get the most attention, but a more important debate will occur among surviving incumbents and new members in each caucus about how to organize for the next Congress. This debate about rules and process, more than any Russia-related investigation or wall-funding-fueled shutdown, will determine whether Congress can avoid two years of dysfunction or whether it will continue its slide into irrelevance.
The state is bluer than ever as Republican leads on election night in several competitive House races slowly evaporate.
LOS ANGELES –Democrats had already reclaimed the House of Representatives before California’s election returns came in last week, but since Election Day the party has racked up a nice bonus here: After the counting of vote-by-mail ballots, Democrats appear to have won four of the state’s six most competitive congressional races. In the remaining two, a Democrat has just taken a slim lead in one, while another Democrat barely trails in the other.
That means California is bluer than ever, with Lieutenant Governor Gavin Newsom becoming the first Democrat to succeed a fellow partisan as governor of this state since 1887, and “California Democrats Set to Dominate Congress,” as a Breitbart Newsheadline put it with alarm. Not only is Nancy Pelosi, the newly reelected representative of California’s 12th district, poised to resume the speakership, but vocal critics of Donald Trump in the state’s newly expanded 43-member Democratic delegation will be in line to chair key committees.
“The fire, to me—it’s like an ocean. It’s so strong that we don’t really stand a chance of doing much to it.”
Seven years ago, Park Williams took an hour-long drive with a couple friends to see a wildfire. He remembers it now as a revelation.
At the time, Williams was researching the scraggly pine forests that dot the southwestern United States. He worked at a national laboratory that overlooks more than a million acres of protected desert forest. On June 26, 2011, the wind knocked down an aspen somewhere in that national forest, toppling it into a power line and igniting a small flame. The landscape was parched, the winds were unruly, and soon that flame had become the largest wildfire in New Mexico’s history.
Williams couldn’t go to work—his lab had been evacuated—so he and his friends drove around town, hoping to catch a glimpse of the blaze. Eventually they came to a spot just below the mountains. He remembers the air outside the car reeking like an ancient brick fireplace. The fire stood a mile off. “It looked like a skyline of buildings,” he told me. “You could see it in the mountains above you.”
Early data suggests that enthusiasm and increased turnout from communities of color were at least part of the reason the GOP lost Wisconsin’s governor’s mansion.
Scott Walker was elected governor of Wisconsin eight years ago. He’s survived a recall attempt, a re-election bid, a brief flirtation with running for the GOP’s nomination for president, and years of bitter opposition from Wisconsinites who fought against his hardline policies on voting rights, health-care, education, and the state safety net. He’s led what might be considered the model of a Republican state takeover in the era of Trumpism. And he lost the 2018 election to Democratic challenger Tony Evers by a margin of 1.2 points, a total of just over 30,000 votes.
As the dust settles from the midterm elections, and political observers attempt to divine exactly what happened across the country, that result is worth a closer look. In particular, the limited data available on the Wisconsin race suggest that increased turnout among black and Latino voters was one of the biggest shifts between the 2014 midterm and this election. If that indication holds true, it would mean that in a state characterized over the past decade by Walker’s racial politics, in a country currently facing rising bigotry and voter suppression, minority voters were Scott Walker’s bane.
Trump’s acting attorney general can’t legally hold the office—and that’s a problem for everyone.
President Donald Trump appointed Matthew Whitaker as acting attorney general last week, despite the fact that he cannot legally hold the office. While the president could fix his mistake with any lesser official and in any normal time, the attorney general is no lesser official and this is no normal time. Whitaker takes office during a time of extreme constitutional conflict involving investigations of the president, claims of abuse of law-enforcement and national-security powers, and combat between the executive and legislative branches. In order to prevent a breakdown of federal law enforcement, the White House should hurry to select a permanent attorney general before any more damage is done.