I wouldn't actually do that again, my views have evolved a bit, but I don't regret it.
1,171 karma · joined October 1, 2011
I wouldn't actually do that again, my views have evolved a bit, but I don't regret it.
- Apple has kneecapped ads from competitors, this is acknowledged fact
- Apple services revenue has grown significantly since, which includes ad revenue, this is acknowledge fact (to the SEC no less)
- Apple does not disclose ad revenue as proportion of services revenue, but it's reasonable to think it would grow as well
Digital marketers have personally told me app install ads and the like on Facebook are no longer effective, so we'd expect those dollars to move to other areas.
> FM does not guarantee most mortgages, only certain govt types like FHA and VA loans, which the govt decided to back in order to help low income people get loans (otherwise the rates would be even higher for them).
And this.
> The OP claimed they guaranteed mortgages, which they do not.
So it read to me like they don't guarantee mortgages save for the "special" mortgages for underserved groups (FHA/VA). In fact, they do. They guarantee all the loans they buy, as far as I know. They only buy conforming loans. Conforming loans are another way of saying, loans that they will buy (and guarantee). Of course they don't guarantee loans they don't buy.
I used to work at a mortgage originator, and we sold the majority of our loans to Fannie and Freddie.
> Of all conforming loans made, Freddie and Fannie end up purchasing about 60% of those.
This is true, because private investors pay more than Freddie and Fannie for conforming loans.
> At Fannie Mae, we provide liquidity to the single-family market by purchasing and guaranteeing mortgage loans made by lenders and issuing debt securities and mortgage-backed securities that attract global investors to finance U.S. housing.
https://www.fanniemae.com/about-us/what-we-do#:~:text=At%20F....
> With thousands of geometries in an interactive map, with lists and tables of items filtered by bounding box and categories, sorted by geodetic distance from wherever you were interested in, the performance issues that arose were never too many uses of useCallback or useMemo. The opposite caused issues multiple times however, of the app running haywire (or to a halt) kind.
The author here is taking their very valid and necessary use case for the optimization of memoization - non-trivial and expensive operations - and extrapolating from that to "just use useMemo, it's a best practice". Memoized functions are more complicated to reason about and therefore more bug prone than their alternative. Most client-side apps don't have thousands of records they're iterating over, they have dozens. Throwing around memo because one might one day become big, and you'd pay some performance penalty, doesn't seem prudent to me.
- I didn't love the Java tooling at the time. Maven for example. - I don't love OOP. Go has just enough OOP patterns for me.
I tried Go as an experiment, but didn't know it would become my go-to language. What I found was super fast build times (big win), built in testing, and a simple language that almost anyone can understand (versus the relative sophistication of something like Scala).
Edit: I guess it would be a bit inefficient to invoke the IIFE every render just to initialize the value once. Probably better to use useMemo with [] as the dependency list then, either one achieves the same result.
It's been great. We don't use any frameworks, just the http package. It's blazing fast and highly reliable (low bug occurrence and easy refactors due to the safety provided by strong typing).
Not sure what you mean by one time constructor function, but you can pass the result of a function to initial value.
const { current: myStableValue } = useRef((() => { //called once })());
> I think as developers, we tend to overestimate how expensive re-renders are. In the case of our Decoration component, re-renders are lightning quick.
Certainly it's there for a reason, and you may have expensive operations, but in my experience developers reach for useMemo much too early and often, and it just adds complexity to their functions. The cost of checking the parameters for changes adds overhead that may be more expensive than just re-doing the "expensive" operation. My rule of thumb is if the operation is less than O(n) where n < ~5000 I don't reach for useMemo.
There have been some benchmarks done on this, and when it pays off to use.
The only real complexity (for the developer) is the use of hooks, effects etc. if you don't mess with useMemo (which you generally shouldn't). Certainly they aren't pure functions, they have side effects and are stateful, and that has some nuances, but (kudos to the React team) once you understand hooks as a reference to the instance value and a setter for that value, they're pretty easy to understand.
I guess I don't personally find thinking of them as a class as that useful, my mental model of "it's just a function with some external references (via hooks)" gets me there.
What I've found interesting is how many developers think a React "component" (which since hooks is just a function) has some special privileges or abilities that a normal JS function does not. Like, whether it will be selectively executed or what variables are created anew versus reused between subsequent calls. It seems unclear that a React component is just a function, and displays all the behavior expected in a plain old function.
While I agree it was hard to know when React would re-render in the old, class component paradigm, it seems much easier to know when a function will re-render, since it has to re-render whenever the function is called.
I also think working at early-ish startups, Series A-C, will help you find people more interested in the founder path than FAANG type companies. From there you can work on something growing fast, learn a domain, test your relationship under pressure, and then leave to start something together.
Kaiser arguably did more innovation than OneMedical, as far as I can tell.
My point was more that if a guy wants to start a company to create passive income to fund his massively ambitious research projects, he would need the foresight to know the company would be massively successful, like throw off enough cash to pursue projects that would appear frivolous successful, and I don't think the Google founders had that foresight. Obviously I wasn't there, but trying to sell it to multiple suitors (they were also open to selling to Yahoo as late as 2002 afaik) indicates they didn't. My understanding is nobody knew search would be as lucrative as it it today.
Not to say you're fabricating your story, I'm sure they said that, but perhaps it's some revisionist history.