HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gabetax

no profile record

comments

gabetax
·11 เดือนที่ผ่านมา·discuss
Who would want to? APISIX apparently: https://apisix.apache.org/docs/apisix/getting-started/rate-l...
gabetax
·ปีที่แล้ว·discuss
From the toki pona conlang, this also visually reminds me of the "sitelen musi" writing system.

https://www.reddit.com/r/tokipona/comments/hlpvx0/sitelen_mu...
gabetax
·2 ปีที่แล้ว·discuss
For basic SETNX single instance redis instances, sure.

But for the Redlock algorithm, I've never encountered anyone that was already running 5 redis masters to use out of convenience.

You're much more likely to have an etcd, consul, Zookeeper, etc cluster that you could use for coarse-grained distributed locking.
gabetax
·3 ปีที่แล้ว·discuss
The best research I've seen on this is the paper "On the Prehistory of QWERTY" [1] which has a great figure on the fourth page with the presumable original prototype showing all the consonants wrapping around alphabetically and the vowels on the top row.

[1] https://repository.kulib.kyoto-u.ac.jp/dspace/bitstream/2433...
gabetax
·3 ปีที่แล้ว·discuss
From the article:

> For a function to be useful as a hash function, it must exhibit the property of uniform distribution

It's also listed as the first property on the Wikipedia page:

https://en.wikipedia.org/wiki/Hash_function#Uniformity
gabetax
·3 ปีที่แล้ว·discuss
Specifically, these functions to not provide "uniform distribution".
gabetax
·3 ปีที่แล้ว·discuss
The biggest issue I've personally experienced is semantics when wrapping your head a design or debugging a service you aren't familiar with.

"POST" has come to imply a "write" operation, and mixing up the the reads and writes of a system leads to cognitive dissonance.
gabetax
·4 ปีที่แล้ว·discuss
This is a Javascript issue, not a JSON issue. The JSON spec doesn't apply any limits on the number type. ECMA-404 states:

> JSON is agnostic about the semantics of numbers. In any programming language, there can be a variety of number types of various capacities and complements, fixed or floating, binary or decimal. That can make interchange between different programming languages difficult. JSON instead offers only the representation of numbers that humans use: a sequence of digits. All programming languages know how to make sense of digit sequences even if they disagree on internal representations. That is enough to allow interchange.

It also explicitly excludes NaN encoding, which further distances itself from any coupling to IEEE floating point expectations.