eli
eli
Several other languages use siphash-2-4 (or siphash-1-3), with randomized key on startup, as an attempt to avoid denial-of-service attacks (which is important for http servers). refs: * https://131002.net/siphash/ * https://fahrplan.events.ccc.de/congress/2011/Fahrplan/events/4680.en.html...
@daurnimator Looking into it a bit, SipHash returns a `u64`, but [`std.HashMap`][1] expects a hash function to return a `u32`. Additionally, [`Headers.init`][2] currently does not allow failure. I think that...
> > SipHash returns a u64, but std.HashMap expects a hash function to return a u32. > > Just `@truncate` the result. Ah. I guess that works. > > Additionally,...
multicast still seems to work for me (I read somewhere sonos' ssdp implementation tries multicast AND broadcast to see if either works??), but airsonos wasn't _really_ registering for the multicast...
A motivated person could add code to check if the request url ends with something that looks like a filename, and set that in a `content-disposition: filename=` header response. I...
@dhui looks like the build is broken due to cockroachdb not supporting go1.7 (it apparently uses a few things that apparently were added to go1.8). ``` # github.com/cockroachdb/cockroach-go/crdb ../../cockroachdb/cockroach-go/crdb/tx.go:41: undefined:...
I think this is the fix: ``` diff --git a/manga_py/providers/mangadex_org_v2.py b/manga_py/providers/mangadex_org_v2.py index 455cb51..c448245 100644 --- a/manga_py/providers/mangadex_org_v2.py +++ b/manga_py/providers/mangadex_org_v2.py @@ -144,7 +144,7 @@ class MangaDexOrg(Provider, Std): self.__chapters += content['data'] if content['total']...
You can use ngrep to dump the traffic, and look at STORE and EXISTS responses. From the protocol "spec": ``` After sending the command line and the data block the...
Did you ensure that `cache_cas=True` was set when you initialized the clients? According to [this line](https://github.com/linsomniac/python-memcached/blob/master/memcache.py#L1083) if that isn't set, the cas_id basically gets ignored.
My guess is the clients set different flags, thus making them incompatible. Whatever php/pecl memcache sets for a flag of value `2`, probably means something different than "integer". Looking at...