3 ms·
"Macgillivray, though, also does a bit of engineering of his own. After leaving Twitter, he hand-coded a script for resurfacing old Gmail messages to which he h
by khc 12y ago
"Macgillivray, though, also does a bit of engineering of his own. After leaving Twitter, he hand-coded a script for resurfacing old Gmail messages to which he hadn't yet replied."
The article links to https://gist.githubusercontent.com/amac0/6b17b0ca497e9cb1f375/raw/awaitingresponse.js https://gist.githubusercontent.com/amac0/6b17b0ca497e9cb1f37... , which has a comment that says:
* This script is based on and is nearly identical to:
* http://jonathan-kim.com/2013/Gmail-No-Response/ http://jonathan-kim.com/2013/Gmail-No-Response/
I don't think modifying an existing script counts as "hand-coded". Anyway, I still find it interesting that WashingtonPost links to a javascript file directly.
- Someone1234 12y agoIf you remove the top comments from both, there are only four lines changed and one additional line (var searchLabel = 'inbox') added. 2 of the 4 lines changed simply alter the labels from "AR" (awaiting response) to "No Response." So really is is two lines of actual logic different and some labels.
- ceejayoz 12y agoI think the takeaway here is not "he didn't change much" but "the new deputy CTO for the US uses Github and knows enough about coding to adjust scripts to his liking".
- scintill76 12y agoWell, that just takes the wind out of our hate-sails. That's the charitable (and probably objective) interpretation. I guess people are taking issue with "hand-coded", which is an odd term that may imply things that aren't really true. It's possible it did indeed mean "customized" though.
- teachingaway 12y ago>> ... really it's two lines of actual logic different... Still awesome. We got a guy in the White House who has written two lines of code!!