Mostly Software

Mostly Software

    • About
    • Archive
  • Aug 17, 2019
    • shift-esc for chrome task manager.
    • 30+ articles from 20+ newsletters, MD/PW/FW/HN:
      • Babel compiles es6 js down to older versions, for retro/crossbrowser support, as we know, but if there’s an entirely new feature that the old js didn’t support, it is called polyfilling.
      • While es6 was a gigantic release in 2015, we’re now on es10.
      • Cool article on import symbols affecting how mocking works: https://nedbatchelder.com//blog/201908/why_your_mock_doesnt_work.html. If you have a module product.py that does `from os import listdir` then you should mock product.listdir, not os.listdir.
      • setTimeout() inside of a promise, can be pending, resolved, rejected. Can run different codepaths based on logic, bool, etc. Rejection will raise an exception (error out if uncaught). Promises can have a .then .catch .finally etc.
      • OOP (classes) vs FP (functions). Functional programming is a more elementary structure. Pure, no shared state, easier to test, but can do less.
      • PyPI stats: https://arxiv.org/pdf/1907.11073.pdf.
        • Compound annual growth rate for active packages: 47% (total 178,592)
        • Compound annual growth rate for new authors: 39% (total 76,997)
        • Compound annual growth rate for new import statements: 61% (total 156,816,750)
        • Average releases per package: 6.93
        • Average inter-release timing: 65.38 days
        • Average packages per author: 2.15
        • Average package size: 16.5MB
        • MIT license is 34% of all packages.
        • 25% are stable/prod (not alpha, beta, inactive, etc)
        • 58% crossplatform, 26% posix/unix, 9% mac, 8% microsoft
      • A few react tools I can use: https://medium.com/better-programming/22-miraculous-tools-for-react-developers-in-2019-7d72054e2306.
        • Webpack bundle analyzer. Shows deps and size.
        • React-proto. Helps visualize component layout and more.
        • Why did you render. Shows unnecessary renderings in your app.
      • Nonsensical article complaining about uber: https://medium.com/radical-urbanist/i-dont-use-uber-neither-should-you-4e1009d0a238.
      • I already do advanced to-do listing: https://medium.com/better-humans/this-alternative-todo-list-will-help-you-complete-100-tasks-every-day-aae1130faac8.
      • React-pose is pretty awesome for animations on components: https://medium.com/@joomiguelcunha/amazing-react-animation-with-react-pose-3b67d9eb6e07. For simple stuff, css animations are fine, but for more complication view changes, js animations offer more control.
      • “Brogrammer“
      • GitHub Actions is the extension that allows you to do full CI/CD through your github workflow! https://github.blog/2019-08-08-github-actions-now-supports-ci-cd.
    • UFC 241 in Anaheim. Didn’t end up going, but watched live.
    • Sent out the splitwise bills. House for wes/jcriss, rum fire for everyone, and 1 safeway trip. Settled for Eddie’s airbnb.

    © 2012 Brian Mahlstedt