12 Matching Annotations
  1. Sep 2022
  2. Apr 2022
    1. continuing curricular innovation

      I have never expanded my digital literacy via any curriculum process. In the classroom I have taught students how to raise and answer research questions with both digital and analog tools. I don't feel the need to have a separate curriculum for the tools. For example, I use Zotero as my digital database. It helps me seek, make sense of, and share answers to questions, but I could do quite the same with 3X5 cards just like Niklas Luhmann did with his zettelkasten method. Because there are so many glaring inequalities in digital spaces, I always teach analog and community processes first and digital literacies second. You never know when the electrons will fail.

  3. Jan 2022
  4. Sep 2021
  5. Feb 2021
    1. Not all cases can be covered and easily restored. And sometimes when we will reuse this function for different use-cases we will find out that it requires different restore logic.
    2. But why do we return 0? Why not 1? Why not None? And while None in most cases is as bad (or even worse) than the exceptions, turns out we should heavily rely on business logic and use-cases of this function.
    3. So, the sad conclusion is: all problems must be resolved individually depending on a specific usage context. There’s no silver bullet to resolve all ZeroDivisionErrors once and for all. And again, I am not even covering complex IO flows with retry policies and expotential timeouts.
  6. Nov 2020
  7. Oct 2020
    1. This is valid javascript! Or harmony or es6 or whatever, but importantly, it's not happening outside the js environment. This also allows us to use our standard tooling: the traceur compiler knows how to turn jsx`<div>Hello</div>`; into the equivalent browser compatible es3, and hence we can use anything the traceur compile accepts!
  8. Sep 2020
    1. The more I think about this, the more I think that maybe React already has the right solution to this particular issue, and we're tying ourselves in knots trying to avoid unnecessary re-rendering. Basically, this JSX... <Foo {...a} b={1} {...c} d={2}/> ...translates to this JS: React.createElement(Foo, _extends({}, a, { b: 1 }, c, { d: 2 })); If we did the same thing (i.e. bail out of the optimisation allowed by knowing the attribute names ahead of time), our lives would get a lot simpler, and the performance characteristics would be pretty similar in all but somewhat contrived scenarios, I think. (It'll still be faster than React, anyway!)
  9. May 2020