HN user

yahelc

2,120 karma

Twitter: http://twitter.com/yahel

Github: http://github.com/yahelc

Personal: http://yahel.com/

Manger, Data Science & Engineering @ DigitalOcean.

We're hiring!

Email: yc -at- do.co

Posts49
Comments355
View on HN
www.reuters.com 7y ago

U.S. regulators approve the Long-Term Stock Exchange

yahelc
394pts187
yahel.com 8y ago

XKCD-Inspired Calendar Facts Generator

yahelc
2pts0
stacklead.com 11y ago

StackLead (YC W14) is joining LinkedIn

yahelc
18pts11
mixpanel.com 11y ago

iPhone 6 Adoption, hour-by-hour

yahelc
5pts2
news.ycombinator.com 11y ago

Ask HN: Help identifying a domain intelligence/research API?

yahelc
5pts0
archive.wired.com 12y ago

Kiss your browser goodbye: The radical future of media beyond the Web (1997)

yahelc
1pts0
gothamist.com 12y ago

Comedian Furious After Airbnb Rents His Apartment To "XXX Freak Fest" Orgy

yahelc
29pts31
motherboard.vice.com 12y ago

The Math That Predicted The Revolutions Sweeping The Globe Right Now

yahelc
2pts0
harfiddle.com 12y ago

Show HN: HARFiddle. Easily store, share & analyze HAR data from Chrome DevTools

yahelc
2pts0
twitter.com 12y ago

This picture changes when you click it...

yahelc
7pts1
securityfocus.com 13y ago

Matrix Sequel Has Hacker Cred (2003)

yahelc
1pts0
kylerush.net 13y ago

User Testing is surprisingly effective: Lessons from the Obama campaign

yahelc
1pts0
danslimmon.wordpress.com 13y ago

Calculating the expectation value of knowing Jeopardy answers

yahelc
1pts0
wheningit.tumblr.com 13y ago

When In Git

yahelc
10pts0
twitter.com 14y ago

Using Twitter Search to watch 1000s of accounts hacked by spammers in real time

yahelc
4pts0
www.engagedc.com 14y ago

Wanna Win Elections? Hire Engineers & Data Scientists, Not Social Media Experts.

yahelc
1pts0
koglerjs.com 14y ago

Backbone is not MVC. Not even a little bit.

yahelc
4pts1
allthingsd.com 14y ago

Microsoft buys Netscape patents from AOL as part of $1 billion deal

yahelc
44pts11
www.wired.com 14y ago

Pentagon: Trillion-Dollar Jet on Brink of Budgetary Disaster

yahelc
48pts77
www.fastcompany.com 14y ago

Tigo Helps Remittances Go Mobile

yahelc
1pts0
www.slate.com 14y ago

The Mystery of the Millionaire Metaphysician

yahelc
3pts0
sunlightlabs.com 14y ago

Don't use zip codes to match congressional districts unless you have to

yahelc
1pts0
analytics.blogspot.com 14y ago

Google Analytics Site Speed Report now includes four new page speed metrics.

yahelc
6pts1
ejohn.org 14y ago

Selectors in Javascript (John Resig, 2005)

yahelc
2pts0
community.topcoder.com 14y ago

USPTO offering $50,000 prize to modernize its patent processing algorithms.

yahelc
4pts0
stackoverflow.com 14y ago

Tracking Offline Events with Google Analytics

yahelc
1pts0
stackoverflow.com 14y ago

How do you fallback to a local stylesheet if your CDN fails?

yahelc
12pts0
news.ycombinator.com 14y ago

Tell HN: Sunspider Benchmarks for TouchPad, iPad 1 and 2, and Galaxy Tab

yahelc
3pts6
codeforamerica.org 14y ago

Building a Farmers Market API in less than an hour for $0.

yahelc
91pts14
labs.talkingpointsmemo.com 15y ago

The CMS Is Broken.

yahelc
92pts55

The purpose is so that Twitter is seen as the source of the traffic. A lot of Twitter-sourced traffic comes from native apps, so when people click links from tweets, they usually don’t send referrer information.

If the redirects were server side (setting the Location header), a blank referrer remains blank. Client side redirects will set the referral value.

From Twitter’s POV, there’s value in more fully conveying how much traffic they send to sites, even if it minorly inconveniences users.

I thought about it, but I hadn't originally built it to make money. It was a weekend hack project that I never expected to do that well, and suddenly the prospect of centering my life around a product I didn't really feel passionate about felt like a nightmare. I had a lot of anxiety about whether my external dependencies I'd built on top of would continue to work, and reached the point where a large payoff was worth it to de-risk myself from $23k/mo becoming $0/mo with no exit.

HN is up again 4 years ago

Easy to imagine why this didn’t capture peoples’ attention in late March 2020…

Also a pain-point -- 2.6 million people live in Queens, NY, but Google Maps gets the city wrong for the vast majority of them, and it causes major headaches for residents (since so many services rely on Google Maps), and they have yet to fix it, and reject any edits that attempt to do so for them.

Picking a random example -- "1880 Willoughby" is in the neighborhood of Ridgewood in Queens. Either "Queens" or "Ridgewood" are acceptable as the city.

However, Google Maps calls it "Flushing", which is a totally different neighborhood 10 miles away. Apparently this has to do with the history of where the central post offices were located for given areas in Queens, but no other online map provider struggles with this distinction.

The piece explicitly credits them:

Workers have also started to replace faulty signals that trigger a train’s emergency brakes at low speeds, a problem investigated by The New York Times and The Village Voice that has also led to slower service.

Interesting that String padding made it in -- sort of jumps out as the simplest of these additions. I wonder how much of that had to do with negative PR for JS-land due to left-pad-gate.

Voter files being public data depends on which state you're talking about -- you're looking at ~50 different sets of laws and regulations. Some states restrict access to only political parties using it for political uses and prohibit distribution to non-parties/candidates. Some states (Florida, for example) will let anyone just apply to get it.

To your latter question, some states, like California, do include email addresses on their voter file, but the coverage tends to be poor.

You can probably assume that, if you're a registered voter in the United States, you're on this dataset, as is your age, gender, party affiliation if applicable, and race/ethnicity info if your state collects that, as well as modeled information projecting things like party support, race, age, and likelihood to turnout.

Oyez does this for all cases. They also publish the oral arguments (which the Supreme Court itself releases) as a podcast feed, which I highly recommend. It's great listening even if you're not legally trained.

scotusblog.com also blogs about every case.

From my testing, it seems like Gmail will cache via its proxy, but that cache respects the cache headers, so you can instruct Gmail how often to refresh the data.

(That, and you can cache-bust on a per user basis using a unique identifier in the query string.)

Avoid NULL 11 years ago

Useful but dangerous:

If you have (1,2,3,4,NULL) as data in column foo, and you query

    select foo from tbl WHERE foo!=1
Returns:
    2
    3
    4
Which, makes sense, but can be very confusing if you're not explicitly looking out for it.

Redshift (and I think Postgres generally) will also, very confusingly if you're not aware of it, return no rows if your subquery returns any NULL values in a NOT IN scenario.

If bar is (1,2,3,4,5)

    SELECT * FROM bar WHERE foo NOT IN (SELECT foo FROM tabl)
Will return no results (instead of a single row with 5).