HNHacker News
TopNewBestAskShowJobs

falsandtru

181 karma · joined February 22, 2021

submissionscomments
falsandtru··on Otter, Fastest Go in-memory cache based on S3-FIFO algorithm
Scan resistance and loop resistance are completely different. They are also distinguished in the papers. Note that ARC has scan resistance but no loop resistance.
falsandtru··on Otter, Fastest Go in-memory cache based on S3-FIFO algorithm
https://news.ycombinator.com/item?id=36434358

Note that S3-FIFO has no loop resistance. Nevertheless, the result that this library is functioning in a loop indicates that some important changes have been made. Also, the result that Ristretto, which has loop resistance, is not functioning in a loop is clearly an anomaly and likely not being measured correctly. Ristretto's benchmark results on S3, DS1, and OLTP differ markedly from the official ones (https://github.com/dgraph-io/ristretto). Otter's benchmark results are quite suspicious.

falsandtru··on Process for mass producing Japanese 500 yen coins
That is made from three dissimilar metals.

https://www.mof.go.jp/policy/currency/bill/20210816.html

falsandtru··on The TRON Project: How Japan almost ruled IT (2022)
No need to discuss propaganda. Unlike Japan, Chinese competition is based on national-scale technology theft. No reason to hesitate to sanction China for unfairly competing with stolen technology on a national scale. However, this argument is lapsed because several strong sanctions are already in place.
falsandtru··on Facebook/Meta blocks accounts for posting link to EFF privacy tips
FB will remain opaque as long as FB benefits from opacity. FB has won a strategic victory. Now even HN is using opacity against any company, no matter how questionable, to the benefit of that company. No one is saying that the armor of opacity must be broken.
falsandtru··on Why don’t Americans eat mutton?
> western traditional cooking esthetics where we want tasty but subtle [in America]

It means BBQ?

falsandtru··on React Server Components made our site a lot faster
There is SPA on Pjax. You can use an independent HTML and/or JSON server in any language to create SPA.

https://github.com/falsandtru/pjax-api

https://falsandtru.github.io/pjax-api/docs/modes/

falsandtru··on New GitHub feed is hot garbage
This is the third time GitHub has enforced annoying useless spam feed.

BTW, why isn't this on the top page despite the high points? Is this oppressed? I checked HN at least every half day for the last few days and this must never have been ranked on the top page.

falsandtru··on Why isn't chess popular in Japan?
It is painful to spend long time chasing in chess after a few pieces in the endgame.
falsandtru··on Updates to the GitHub Feed
This is the third time GitHub has enforced annoying useless spam feed.
falsandtru··on Simple fragrance method boosts cognitive capacity: study
https://news.ycombinator.com/item?id=37004418
falsandtru··on Why Tailwind CSS Won
Isn't it a sign of childishness to prefer the expression "win or lose"?
falsandtru··on Today I learned that random people can send you money on PayPal and disputed it
In Japan, illegal money transfers for criminal purposes to personal bank accounts have also become a social problem.

https://togetter.com/li/2172555

https://togetter.com/li/2015918

falsandtru··on We reduced the cost of building Mastodon at Twitter-scale by 100x
It appears simpler and better without Rama.

> So instead of having to do network operations, serialization, and deserialization, the reads and writes to home timelines in our implementation are literally just in-memory operations on a hash map. This is dramatically simpler and more efficient than operating a separate in-memory database.

falsandtru··on We reduced the cost of building Mastodon at Twitter-scale by 100x
> Whereas Twitter stores home timelines in a dedicated in-memory database, in Rama they’re stored in-memory in the same processes executing the ETL for timeline fanout. So instead of having to do network operations, serialization, and deserialization, the reads and writes to home timelines in our implementation are literally just in-memory operations on a hash map. This is dramatically simpler and more efficient than operating a separate in-memory database. The timelines themselves are stored like this:

> To minimize memory usage and GC pressure, we use a ring buffer and Java primitives to represent each home timeline. The buffer contains pairs of author ID and status ID. The author ID is stored along with the status ID since it is static information that will never change, and materializing it means that information doesn’t need to be looked up at query time. The home timeline stores the most recent 600 statuses, so the buffer size is 1,200 to accommodate each author ID and status ID pair. The size is fixed since storing full timelines would require a prohibitive amount of memory (the number of statuses times the average number of followers).

> Each user utilizes about 10kb of memory to represent their home timeline. For a Twitter-scale deployment of 500M users, that requires about 4.7TB of memory total around the cluster, which is easily achievable.

Isn't this where the most difficult(expensive) part is and Rama has little to do with it? It appears that the other parts also do not have to be Rama.

falsandtru··on ‘I've got nothing to hide’ and other misunderstandings of privacy (2007)
In addition, "I've got nothing to hide" means precisely "I've nothing to my detriment". Needless to say, there is no such thing as a person who has nothing to his or her detriment. Of course, it is impossible to accurately know or predict one's disadvantage precisely. In essence, the removal of privacy is the deprivation of the right to remain silent in order to avoid such predictable and unpredictable situations.
falsandtru··on Microsoft comes under blistering criticism for “grossly irresponsible” security
I'm really surprised that anyone downvoted this comment.
falsandtru··on The infamous coin toss
If it follows the median, the percentage of losers increases exponentially from 50%.
falsandtru··on The infamous coin toss
Knowing the time scale is very important.
falsandtru··on The infamous coin toss
What percentage of people will lose money is also very important but does not seem to be written. What percentage?
falsandtru··on Microsoft comes under blistering criticism for “grossly irresponsible” security
> He also faulted Microsoft for waiting five years to refresh the signing key abused in the attacks

Too long.

falsandtru··on FoundationDB: A Distributed Key-Value Store
Those tests are not the implementations of the tests, just specifying the test case and the few options. But I found the implementations. I am not sure if this is all of the simulation tests, but it seems to cover the basic cases.

https://github.com/apple/foundationdb/tree/main/fdbserver/wo...

> Someone could probably integrate this functionality into a Kubernetes operator or something so that outside engineers could run large scale simulations reliably. But it is really expensive and CPU/compute intense, no matter how you go about it.

Maybe this.

https://github.com/FoundationDB/fdb-joshua

falsandtru··on FoundationDB: A Distributed Key-Value Store
I'm loving this point. The unfortunate thing is those tests are closed source (I saw a maintainer says so probably in an issue before). It seems testable but still seems to be closed source. So we cannot fork the project even if FDB becomes totally closed source again.
falsandtru··on A new attack can unmask anonymous users on any major browser (2022)
This says only about a specific attack vector. Privacy should not be trivialized to the issue of only one attack vector (However, it is unclear who trivialized it).
falsandtru··on Twitter's Algorithm: Amplifying Anger, Animosity, and Affective Polarization
"For you" tab of GitHub is a worst. GitHub has been forced and withdrawn it repeatedly and is still waiting for an opportunity to force it. Eventually GitHub will delete the "Following" tab and force the "For you" tab again.
falsandtru··on U.S. military shoots down suspected Chinese surveillance balloon
I already see similar comments in other comments and agree with you and them.
falsandtru··on U.S. military shoots down suspected Chinese surveillance balloon
Why didn't they use machine guns? Perhaps one reason was the risk that if they used machine guns, they would hit the balloon and crash the fighter. In that case, it would have provided China with the worst possible performance of shooting down a U.S. fighter with a Chinese balloon. On the other hand, if they used missiles and shot down the Chinese balloon with flair, we could advertise a strong and brave U.S. The U.S. successfully turned the humiliating situation of a Chinese airspace invasion into an opportunity for the best U.S. performance.
falsandtru··on ReDoS “vulnerabilities” and misaligned incentives
Playground is ready. Try it!

https://makenowjust-labs.github.io/recheck/playground/

falsandtru··on ReDoS “vulnerabilities” and misaligned incentives
I'm using a great ReDoS checker.

https://github.com/makenowjust-labs/recheck

I use the checker to basically fix even regular expressions that are not actually vulnerable. This checker can be used as a lint, so there is no excuse to allow regular lint but not regular expression lint. ReDoS hunt is very enjoyable. Enjoy!

falsandtru··on Patent of ARC(Adaptive Replacement Cache) is expired
I agree, ARC is worse than constant complexity algorithm today.
← PreviousPage 3 of 4Next →