Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
trixn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
trixn
1mo ago
> prompt injection appears to be largely solved That's about as correct as saying cyber security is largely solved by referring to a "benchmark" that a particular virus scanner is able to detect and prevent infection with
2.
▲
by
trixn
3mo ago
Fair enough, just wanted to point out that banks originate money as part of the lending process. You could maybe call that "money out of asset purchases" whatever that means and yes its a valid balance sheet operation. I guess you
3.
▲
by
trixn
3mo ago
Very true but also understandable because that's how most households perceive it from their micro-economic standpoint. But its very deceptive because it suffers from a fallacy of composition. If households want to earn more than they s
4.
▲
by
trixn
3mo ago
> You mean it happens when a bank borrows money from a central bank, right? No I mean in the moment the bank grants a loan. The money the borrower receives is new money, its not taken from anywhere else. But at the same time the bank rec
5.
▲
by
trixn
3mo ago
> Money can’t be created out of nowhere Well, in case of a bank it can. And it happens on a daily basis. In fact thats how most private bank money enters the system in the first place either when a bank makes a loan or when it buys any o
6.
▲
by
trixn
4mo ago
Gold never really served as a currency, rather as collateral. If gold is a currency than any marketable asset is. A good definition of "currency" or "money" would be one that distinguishes its characteristics from commod
7.
▲
by
trixn
4mo ago
While that might be true there is still a point to be considered regarding vaping which is that it is an order of magnitute less harmful than smoking tabacco cigarettes because nothing is burned in a vape and the "burning stuff" i
8.
▲
by
trixn
4mo ago
That's correct, in normal use the coil (the term used for the metal) never glows, it's not even close to glow. This is because it is surrounded by cotton soaked in the liquid which always cools the coil and which produces the desi
9.
▲
by
trixn
5y ago
MMT proponent Bill Mitchell calls that "groupthink". It's really hard to get heterodox economic theory published and accepted.
10.
▲
by
trixn
6y ago
I also feel like this really is one of the biggest pain points when writing single page apps. There is no good standard and everybody is promoting his/her way to do it that works well in a TODO app example but kinda fails in a big prod
11.
▲
by
trixn
8y ago
I agree that you could in a lot of cases get along without these classes. But sometimes you want e.g. an anchor acting as a button in a web application. Or you want a button element with browser styles. You could argue that this is also alr
12.
▲
by
trixn
8y ago
I don't like that concept of essentially inlining styles in the class attribute. It is just a misuse of html classes. Class names should be used sparingly and describe the semantics of an element rather than its visual appearance. It s
13.
▲
by
trixn
8y ago
I feel exactly the opposite is the case. Hooks can improve expressiveness a lot by helping developers to separate concerns and keeping logic that belongs together in a separate place. While I understand the argument that hooks encourage to
14.
▲
by
trixn
8y ago
As I understood it you should not opt-in to use state conditionally in your component but you can still conditionally set the state. That means you should not conditionally call `useState` but it is fine to conditionally call the `setState`
15.
▲
by
trixn
8y ago
A lot of my components contain something like this line: const Comp = ({children, className}) => {}. If you need to merge it with some statically applied class names in your component you need to access it. This is an absolutely common t
16.
▲
by
trixn
8y ago
React is quite consistent in naming things and if you write 100's of components (which you should easily accomplish if you use it seriously) then you will never mix up className and class. In fact almost everything in react is camel ca