1,857 karma · joined September 3, 2020
Not sure there is any automatic solution for compression here. If you know your own use case you are in the best position to choose where to sacrifice accuracy with a lossy compression scheme. But this relies on understanding of the accuracy of the input data, possible ranges of values, importance of accuracy in different fields etc. Not sure how an automated algorithm could take these real world constraints into account.
A clever compression algo can't help you if you try compress 4 doubles, but in reality you only needed byte precision on some fixed 0-100% range.
You get terminal identification from the carrier, no need to waste precious packet space on identifiers. And it's probably also a waste to encode field names into your packet - just record fields at the same offset every time. If 16 bits of precision is enough for you (it likely is) you can squeeze 16 metrics (or 16 time series recordings of the same metric) into every packet.
Much more with compression specialized to your use case and clever packet design.
Today the Haskell example is just `cabal install --only-dependencies && cabal build`.
A friendship is really an edge in a graph. if you manage friendships by recording a collection of friend PersonId's on each person, you are modelling a graph by recording the same edge in two different places, and then hoping the programmer is diligent enough to never make a mistake and update the edge in one place but not the other. If you model the friendship graph as a collection of id pairs, not encapsulated inside a specific person structure, this invalid state is no longer possible.
I'm not sure what you are on about regarding making transitive updates - that idea is obviously not going to work on any moderately sized network. Imagine if Facebook tried to record all your transitive friendships on your account!
Sure immutability is non-intuitive, but it's really helpful! Like borrow checking in Rust, immutability helps eliminate an entire class of bugs. And immutable code is often much easier to reason about, you need to keep significantly less of the context in your head.
arr[n] == *(arr + n) == n[arr]
All these forms are valid C and gcc will happily compile them all without complaining.
If you license your code to anyone under the Apache License, that person is then free to redistribute the code under the terms granted by the Apache License, which is obviously missing this $1,000,000 revenue restriction.
I'm sure FB would love to be able to spend 2x on salaries if it came with a guarantee of turning the metaverse into a successful business venture, or of grabbing all the attention hours currently flowing to TikTok.
Every more "developed" country went through real hardship attempting to control their exchange rates, always there were strong short term reasons to keep the controls in place. But it's just not viable in the long run. Controls create an artificial situation where the politically well connected benefit. They gain personal access to favorable rates, or their businesses enjoy unfair protection through the manipulated rates.
When you remove currency controls you need to convince the public that in fact they controls are gone for good and never coming back. Such a thing was done in my home country in the mid 80s, and we have had a much more stable currency and economy since.
I recently had my pre-Oct 2020 pros replaced with new manufactured stock under this support program. Within less than a month the replacements developed the same sound issues, supported by Apple's diagnosis and another free replacement.
I don't think I use them in an unusual way - I don't even wear them during exercise. There is just something inherently flawed in the design that causes the sound quality to subtly degrade by a significant amount.
There are still benefits to lossless from a preservation perspective, but for actually listening to music it really doesn't matter.
Something is seriously up with the design of the original pros. I hope these issues have been resolved for 2nd gen.
If there is a chance you are responsible, why not cover it up and muddy the waters, just in case?
His actions were a self serving attempt to muddy the waters on investigation of the virus origin, and may have prevented conclusive proof one way or the other from ever emerging. I doubt Daszak himself knows for sure. But if there is a risk that you are responsible, why not try cover it up anyway. Just in case?
Same reasoning goes for the Chinese government.
Say a group of animals intended to be euthanized were actually clandestinely sold at the market, it's completely reasonable that the virus could have mutated at the lab in the animal population before being transmitted to humans. In fact, this is literally exactly what occurs during gain of function research, when scientists are explicitly trying to get a virus to mutate in live animals.
There is simply not any hard evidence to concretely prove either hypothesis. Any evidence that points to the market can just as easily be involved in a lab leak scenario.
When you have no comprehensive data on transmission, and no audit trail of how the animals arrived at the market, it's not possible to determine origin from super spreader. The evidence for both would look identical!