• Back from LiB! Great trip. Uploaded and shared pictures.
    • Yesterday caught up on all the quarterfinals NBA/NHL games that I missed, game of thrones, and ufc/bellator events.
    • QR stands for Quick Response in QR codes. The most recent version is a 177×177 grid.
    • Emails, newletters, HN, PW, MD, etc:
      • Guido about creating python (as a middleground between C programs and shell scripts) and stepping down as BDFL: https://www.youtube.com/watch?v=qxMcGDnT8uc.
      • SQL is old and has many pitfalls. We should not resist the forthcoming of newer query languages.
      • Some good response headers to add to your server’s HTML pages:
        • Strict-Transport-Security: max-age=1000; includeSubDomains; preload
        • Content-Security-Policy: upgrade-insecure-requests
        • Cache-Control: max-age=30, public
        • Accept-Encoding: gzip, deflate, br
        • Accept: image/webp; imgae/apng, image/*, */*;q=0.8
        • Accept-CH: Width, Viewport-Width
        • Accept-CH-Lifetime: 100
        • Link: </font.woff2>; rel=preload; as=font; no-push
        • Feature-Policy: vibrate ‘none’; geolocation ‘non’
      • Remember, PyTorch is an ML library.
    • Apparently the purchase offer proceeds are doled out through cash holdings in Solium, rather than between SpaceX and the employee directly. You have to elect between a transfer (which requires bank info) and a check (which requires an address). If you don’t elect, it defaults to check. I was out of town with no service, but I received no notification of shipment, so I emailed them today (others said they received their transfers earlier).
    • GSW crushed Portland in game 1.
    • Promises in JS are just like callbacks (setTimeout, etc), just cleaner. They define two things: what to return when it succeeds (.then), and how to handle the error when it fails (.catch). Resolve vs reject. You can have multiple chained .then calls, executed in order if it no errors are thrown in the previous. You can also fire off multiple promises at the same time (Promise.all([]).
      • async is simply a way to return a promise. Then you call await, which blocks until the promise resolves. You can do multiple concurrently with Promise.all() in the same way.