Original GD's code assumes "" is a pair, and access the string by index.
New code doesn't wait for response to ready.
It for some reason reliably crash for me when searching "get" and always end with a incomplete wn ". I thought it is just out of bound access, but looking into the website reveals that three are a few more words aren't arrived. It always reaches gettable. (Does this mean dict.org is hosted on a single machine and my latency to this machine is a constant and thus it always crash at that point 😅 )
Crash site:
reply
iswn "
.A combination of 2 factors:
Original GD's code assumes
"
"
is a pair, and access the string by index.New code doesn't wait for response to ready.
It for some reason reliably crash for me when searching "get" and always end with a incomplete
wn "
. I thought it is just out of bound access, but looking into the website reveals that three are a few more words aren't arrived. It always reachesgettable
. (Does this mean dict.org is hosted on a single machine and my latency to this machine is a constant and thus it always crash at that point 😅 )