1,777 karma · joined April 28, 2011
https://moreati.org.uk/ https://social.moreati.org.uk/@alex
[ my public key: https://keybase.io/moreati; my proof: https://keybase.io/moreati/sigs/0NRA_TnGMfWlFUd7jrTrJqT2QOxC7wD7yEyjNtxLc4c ]
I half remember an article about stock trading companies overclocking servers and running them single threaded at max clock speed. The aim was shaving a few more microseconds from their response time. They accepted the reduced lifetime of the hardware, just replaced it sooner. I got the impression it was a niche market though.
https://twitter.com/search?q=from%3Amoreati%20ansible%20tip&...
https://twitter.com/search?q=from%3Amoreati%20ansible%20gotc...
Do you mean like https://www.python.org/dev/peps/pep-0604/#id17 ?
> Inspired by Scala language [5], this proposal adds operator __or__() in the root type. With this new operator, it is possible to write int | str in place of Union[int,str]
On the technical side there's much to like. However I worry that once Graal becomes popular, Oracle will announce something that makes it risky to use without paying for a per-seat license or support package. I'm probably just showing my bias, but they have form in this area.
As an impromptu meeting point, I suggest https://twitter.com/hashtag/pythontap
https://www.cs.swarthmore.edu/~aviv/papers/aviv-acsac12-acce...
Wow! Do you have a write up, or code? I tried to do the same [1], but got stuck on the error correction [2]. I'd love to get closure.
1. https://github.com/moreati/chirppy 2. https://math.stackexchange.com/questions/663643/discover-par...
PoS has detractors/claimed flaws, but it is definitely much less energy intensive than PoW.
"Tesla will get the system installed and working 100 days from contract signature or it is free. That serious enough for you?" -- https://twitter.com/elonmusk/status/840032197637685249
ETA: Scratch that, numbers is a module in the stdlib https://docs.python.org/3/library/numbers.html#module-number... sorry for the confusion
My current progress is summarised in https://math.stackexchange.com/questions/663643/discover-par... and https://github.com/moreati/chirppy/blob/master/trials.py
Instead of checking for any object that evaluates to False, you should explicitly check for None, e.g.
def func(list_arg=None, dict_arg=None):
if list_arg is None:
list_arg = []
...Minimization is the process of starting from that known value and simplifying it as much as possible while still failing the test. For example QuickCheck discovers a 1235 element list, that fails. The problem happens to be a 0 in the last element. Minimisation might simplify that list to [1, 0]. So finding the cause is quite a bit easier.