Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
afiori
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
481.
▲
by
afiori
2y ago
They already said that they believe commenting here has been mutually beneficial but anyway this is a false dichothomy, one could be neutral on AI in general but feel negative towards training proprietary privacy-invasive AI models that wil
482.
▲
by
afiori
2y ago
I am used to interface
483.
▲
by
afiori
2y ago
Conway's law applies to the internet too. The internet is as distributed and decentralised as it is because it was made by a distributed and decentralized entity (thousands of companies and individuals). Had most of them been willing t
484.
▲
by
afiori
2y ago
I think that the clearer way to explain hooks is just referencing how they are implemented. When a function component is called it is called on a "fiber" a stateful representation of the component instance. This fiber is available
485.
▲
by
afiori
2y ago
The properties I am thinking of are strong and weak collision resistance, there are other relevant properties to hash functions (like every bit being about independent of every other bit, but I care less about those). > If your construct
486.
▲
by
afiori
2y ago
I am indeed curious about this: consider an hash function built like H(m) = H0( H1(m) + H2(m) + ... + Hn(m)) where + is string concatenation and H0,...,Hn are mostly good hash function. I would expect H to be as good as the best of H0,...,H
487.
▲
by
afiori
2y ago
The plural of fish is fish, but the plural of type of fish is fishes
488.
▲
by
afiori
2y ago
Frequent changes are a good way to move the blame on employees
489.
▲
by
afiori
2y ago
I always read the domains in the format getsomething.com as with the grammatical structure of "get wrecked". So in my king there is a brief spark of "why does this site want to make me selectable?"
490.
▲
by
afiori
2y ago
I found these articles very interesting in the context of future ways to understand LLM/AIs https://www.astralcodexten.com/p/the-road-to-honest-ai https://www.astralcodexten.com/p/god-help-us-
491.
▲
by
afiori
2y ago
If you allow me some jest I would like to point out that at the checkout of my local stores I never saw officers collecting VAT, I usually just give all the due money to the cashier
492.
▲
by
afiori
2y ago
> their net profits to the Polish exchequer I believe that part of the reason is that they still pay other taxes (eg VAT) in the country of sale.
493.
▲
by
afiori
2y ago
No, it just requires for the rule to exist and be used coherently.
494.
▲
by
afiori
2y ago
Hardware is even-driven not asynchronous (the event-driven paradigm is an asynchronous paradigm, but I assume here you mean asynchronous as in async/await)
495.
▲
by
afiori
2y ago
This seems more of a 2-party consent vs 1-party consent issue. Based on the wording it seems to refer to the ability of users to report content. If you tell me something and I report that to a third party is a different situation than if th
496.
▲
by
afiori
2y ago
Did it also exist on non 1-1 chats and groups?
497.
▲
by
afiori
2y ago
It appears to work as a report button that chat members can use to flag content they can see. E2EE is only as secure as the Ends are.
498.
▲
by
afiori
2y ago
They added a new context menu option to close duplicate tabs
499.
▲
by
afiori
2y ago
Pepsi would not want its logo on a tombstone even if pepsi was good for your health and everybody knew it. Few companies want you to think even in passing "this guy used their products and now he is dead"
500.
▲
by
afiori
2y ago
On the other hand prosecuting US politicians is a wonderful way to independetly materialize a armed revolutionary militia in your country
501.
▲
by
afiori
2y ago
> - Where are decimals, to avoid things like `parseInt(0.00000051) === 5`? I personally dislike decimals, I would prefer a full BigRational that is stored as a ratio of two BigInts (or as a continued fraction with BigInts coefficients. D
502.
▲
by
afiori
2y ago
I have more mongodb experience than postgres but my impression is that a lot of the json handling I ended up doing in mongo would have been easier/reliable in postgres
503.
▲
by
afiori
2y ago
I forgot about what I hate about mongo, so I will rant here about it: its data model is close enough but different enough from json to be both annoying and dangerous. The empty string is a valid json key but not a mongo document key. Mongo
504.
▲
by
afiori
2y ago
You win some you lose some
505.
▲
by
afiori
2y ago
On the other hand I know of multiple databases where all tables had attribute_1, attribute_2,..., attribute_5 columns Just in Case™ But more seriously the one feature I like in MongoDB is the pipeline API, where you can express a complex qu
506.
▲
by
afiori
2y ago
Many claim that MySQL with default configs had various advantages over postgres with default config and that it had a far better replication story
507.
▲
by
afiori
2y ago
I believe that many such cases can be solved by using :had() and/or subgrids, but I do not have too much experience in this
508.
▲
by
afiori
2y ago
> I can't think of a reason why you would want to declare something as nullable when not declaring anything automatically makes the type nullable anyway. It can more clearly show intent. Is is similar to the argument for using const
509.
▲
by
afiori
2y ago
the problem is not that housing is wealth, but that housing is a financial intrument. In the current system the housing subsidies are not structured to facilitate buying a house using debt by people that do not have access to enough capital
510.
▲
by
afiori
2y ago
I will not be able to properly argue this point, so I will instead point to the words of who can do it better: https://www.strongtowns.org/journal/2024/3/4/how-fannie-mae-... (this one is not about housi
More ›