Daniel Manson
Daniel Manson
I assumed that to use an object as a default value I needed to return it from a function, as in main vue props, but this appears not to be...
`Array.indexOf` is O(n), but `Set.has` is O(1) ..or something similar. At any rate there's at least a 20x difference in performance given the size of the list here. I made...
I know you can change set metric metadata in the main datadog interface - as explained [here](https://help.datadoghq.com/hc/en-us/articles/204580889-How-can-I-set-up-custom-units-for-custom-metrics-), and there is a way of doing it with an api, but is...
I have just started using this extension to help me unpick some old code. It is helping with the task, but I have a number of suggestions to make it...
See [this gist](https://gist.github.com/d1manson/40cbbb62a5f4ecc37bd7) I've just made for some suggestions.
Hopefully this is the right place to ask. When I do something like the following, with logging turned on for my DB, I see that the request is made with...
TODO: - [ ] `aggregate_numpy.py` implementation: `sum`, `mean`, `var`, `sort`. Others are already ok I think. [Done: `sum` and `mean`] - [ ] write tests - [ ] implement in...
As described in https://github.com/PolymerElements/iron-a11y-keys-behavior/issues/41.
Currently, the main key matching logic is: ``` javascript keyEvent === keyCombo.key && (!keyCombo.hasModifiers || ( /* exact match of modifiers */)) ``` But sometimes you specifically want _only_ an...
See [this on SO](https://stackoverflow.com/a/52181584) and links within, or a simple test case as follows: ```python class Thing(): pass thing_strs = set() for idx in range(100): thing = Thing() print(f"{idx}: {str(thing)}")...