232 karma · joined April 6, 2013
Now to expand GP's example (still simplified):
- A borrows $100k money to pay B toward building a house. B puts $100k in their bank.
- C borrows $90k from B's bank toward building a house to pay D. D puts $90k in their bank.
- etc
So, houses were created (or other services were provided), and that's the real multiplicative factor. If banks loan out 90% of the cash stored (i.e. keep 10% in reserve [1]), the multiplicative factor of value creation in the economy is 10x the original amount of cash deposited in the first bank.
Now, if all of us withdrew our savings at once or sold all our stocks at once, we would have an economic shock analogous to that which resulted the Great Depression. That's why for banks, we have FDIC insurance - to mitigate such a panic so that money can serve its value-multiplicative role when it's not being actively used for anything else by the person owning the money. That's also why a positive (but low) inflation was originally considered economically healthy - so that people put their money in banks/market rather than under their mattresses gradually losing value. When interest rates are low, that encourages people to put their money into riskier (non-FDIC-insured) investments with higher growth potential, like a balanced portfolio of stocks/bonds/etc to avoid losing value to inflation, resulting in more economic growth.
[1]: https://en.wikipedia.org/wiki/Fractional-reserve_banking
[1]: https://lifesciencedb.jp/bp3d/info_en/userGuide/releaseNotes...
The passage has a couple commas where it shouldn't and doesn't have
some commas where it should just for justification. So it's trading
one type of particularity for another, and I favor grammar more. :)While I'm an interested self learner, I significantly benefit from structured learning. I don't think I would have had the breadth of depth of knowledge if I didn't do a CS degree since I didn't think I would have done such a variety of focused projects and homework. I would "shop" for good teachers and wait until they taught to take a course. I would have lots of questions in class. At the end of many of my semesters, I genuinely felt like Neo's "I know kung fu" - knowledge given on a platter. I didn't think I would have left covering undergrad subjects if I didn't, well, feel the need to earn my keep and at least aim for higher level studies and get assistantships for initial financial independence.
That being said, this was all before the YouTube era. Although, YouTube is a double-edged library of distractions and amazing educational material.
> 11 days (May 3 → merged May 14) · 6,778 commits
> Pre-merge, this took 5.9 billion uncached input tokens, 690 million output tokens, and 72 billion cached input token reads — around $165,000 at API pricing. By hand, I think this would've taken 3 engineers with full context on the codebase about a year, during which time we wouldn't be able to improve Node.js compatibility, fix bugs, fix security issues or implement new features. We never would've done that. The realistic alternative was to do nothing and keep fixing the bugs at the top of this post forever.
Similarly, say, for video editors, using AI to more intelligently rotoscope (especially with alpha blending in the presence of motion blur - practically impossible to do it manually), would be a great use of AI, removing the non-creative tedium of the process.
It's not clear where the line is though. I was quite impressed with Corridor Crew's (albeit NVidia+Puget-sponsored) video [1] where they photographed dolls, motion-captured human actors moving like the dolls, and transferred the skeletal animation and facial expressions to those dolls using GenAI. Some of it required nontrivial transformative code to accommodate a skeleton to a toy's body type. There's a massive amount of tedium being removed from the creative process by GenAI without sacrificing the core human creative contribution. This feels like it should be allowed -- I think we should attempt to draw clearer lines where there are clearly efficiency gains to be had to have less "creative" uses be more socially acceptable.
Most functional-inspired languages would just have a single `f: T -> Result<U, E>` interface, which supports both (1) a specific error type `E`, which can also be an uninhabited type (e.g. never type) for an infallible operation, and (2) where `U` can be the unit type if the function doesn't return anything on success. That's about as generic as one can get with a single "interface" type.
[1]: https://docs.spring.io/spring-framework/docs/current/javadoc...
`for path in paths`
should be
`for (const path of paths)`
JS will immediately error on the lack of parens, but the `in` vs `of` iterates over indexes, not values, and those indexes are unfortunately converted to strings (since `for-in` is object field-name iteration). So even TypeScript would not have caught it when the (stringified) index is used as the first argument of `fs.watch()`.
But I digress.
[1]: https://crates.io/crates/arcstr [2]: https://crates.io/crates/imstr
- You want to compare two products: in this case 6x9 and 7x8.
- And in each product, if you add the two numbers together, you get the same result. In this case, 6+9 = 7+8.
Then the product will be larger for the pair of numbers that are closer together. So 7x8 > 6x9. That might help you remember which is 56 and which is 54.
You typically see this in a word problem where you are given a fixed amount of fence and you have to enclose the largest rectangular area. The answer is to use a square area (two sides being equal). If the problem has constraints that prevent the sides from being equal, then you pick the length and width to be as close to each other as possible.
In case you want to transfer the geometric intuition to an algebraic proof: If the sum of the two side lengths is 2m, then the two side lengths can be written as (m+n) and (m-n) for some positive n. If you multiply the two, you get (m+n)(m-n) = m²-n². To maximize the product, you need n to be as close to 0 as possible - i.e. for both sides to be as close to each other as possible.
And your answer for Python is not quite correct: "" is falsy in Python, and both of the last two when translated to Python give "null".