Good code not only makes a computing device do what is wanted but also communicates: (1) what the device was instructed to do, (2) what the code’s authors *intended* the device to do, and (3) why the code was written as it was. So: Good code has comments! https://t.co/WJINwA9FrT.
@Google Please make Takeout give users *actionable* error msgs. For me, Takeout chugs for days and repeatedly fails: “We couldn’t create a copy of your Google data.” Which of the 71 products failed? The email doesn’t say, nor does the Takeout UI. Why abandon users in the dark?
Did you know that you can take fast, easy random samples using SQL? With and without replacement? With weights? A clever connection to Poisson processes makes it possible: https://t.co/5m3T3OS7B6
@ozanyrc One option is take advantage of the nearly linear mapping of scores to grades:
def grade(score):
assert 0 <= score <= 100
return "ABCDF"[9 - max(50, min(99, score)) // 10]
I got a @cafelat Robot espresso maker for Christmas and just adore it. So simple, clever, minimal. As an engineer, I admire the design—it does away with the complexity of traditional machines and leaves only what is essential. A joy to use.
I just donated to @KhanAcademy. Join me in supporting a free, world-class education for anyone, anywhere! https://t.co/wgGsPDDUoF https://t.co/LnlB2ZWZCe
U.S. Congress is considering deeply misguided legislation that threatens encryption and free speech. Sign the petition from @Mozilla to stop the #EARNITAct: https://t.co/ZhcbY8Aps4 #NoEarnItAct#SaveEncryption
@NespressoUSA How about some more decaf options? Single origins, exotic blends – give decaf drinkers *something* beyond just "Decaffenianto" in various sizes. If you make them, I'll buy them.