In my next two project I'm going to have to run two 30ft cables because I can figure out how to get low latency wifi to work on a Raspberry Pi 2040 (where PIO is fabulous, but 500ms request latency is killing me) or without glitches on a ESP32.
982 karma · joined July 11, 2018
In my next two project I'm going to have to run two 30ft cables because I can figure out how to get low latency wifi to work on a Raspberry Pi 2040 (where PIO is fabulous, but 500ms request latency is killing me) or without glitches on a ESP32.
Benchmark seems to be in the range of a 1-5% improvement for 80% of sizes.
word_bag: dict[str, int] = dict() # Multiset
for line in raw_corpus:
words = line.split()
for word in words:
if word in word_bag:
word_bag[word] += 1
else:
word_bag[word] = 1
keys_to_drop = []
for k, v in word_bag.items():
if v < min_frequency:
keys_to_drop.append(k)
for k in keys_to_drop:
del word_bag[k]
pprint(word_bag)
print(len(word_bag))
vocabulary = word_bag.keys()
return set(vocabulary)
Can be a python one/two liner # word_bag = Counter() # defaultdict(int)
word_bag = Counter(word for line in raw_corpus for word in line.split())
return set(word for word, count in word_bag.items() if count >= min_frequency)If I read this correctly immortal objects stop changing refcount which prevents cache line invalidation while `gc.freeze()` just stops cleaning up objects with zero refcount.
Seems to be a known errata which was fixed by a microcode update
That's only 0.08 nines of availability!
I remember in one of their old guidebooks a lot of struggle to keep their 64 machine (512 gpu) cluster running this was probably 4x the machines and 4x the number of cluster dropouts.
> In our performance test, we see a speedup of 18.2x, saturating and even surpassing this estimated theoretical upper bound.
IMHO if you exceed your theoretical bound that's a sign you didn't go a good job analyzing the situation.
All the top games seem to have 1 report giving everything positive ratings so that other fabulous games with more ratings but say a 4.97 rating are lost.
https://www.evanmiller.org/how-not-to-sort-by-average-rating...
There's a some great pre/post conservation photo in this article: http://blogs.getty.edu/iris/as-layers-of-old-varnish-are-rem...
https://healthjournalism.org/blog/2019/02/breakthrough-resea...
With no bishops on the board...
"ago--never": G docs 1 word vs OpenOffice 2 words.
"tiger-lillies--what": G docs 1 word vs OpenOffice 2 words (IDK what this should "really" be)
"Wanting?--Water": GD 3 words vs OO 2 words
In this case the disagreement springs, exclusively, from if the docs engine believes that double hyphens make a compound word (and potentially handling punctuation in the middle of such a compound word)
Side note, I'm happy to call Bruce a friend in the real world where he's an equally talented juggler and runner.
https://twitter.com/LeoLabs_Space/status/1380549507390259203
0.8 seconds for 10,000
28.16 seconds for 100,000
https://www.dodgycoder.net/2012/02/coding-tricks-of-game-dev...
> he had put aside those two megabytes of memory early in the development cycle. He knew from experience that it was always impossible to cut content down to memory budgets, and that many projects had come close to failing because of it. So now, as a regular practice, he always put aside a nice block of memory to free up when it's really needed.