I still remember the day when angularjs was a new thing(around 2015 perhaps) and as a newcomer I was sucked into it. Just loved the thing. A year later, there were news about Observable JavaScript objects. So objects could send a notification about themselves having been changed. And when do so, do DOM changes could be done accordingly, without having to implement a render algorithm and having to compare shadow nodes with new render results to see what changed every time any data change occurs.
I don't think we are past that with React, and as the author mentioned there should be absolutely no reason for a developer to worry about rendering performance (the amount you have to use react, with for example useMemo, useCallback) and is something to be looked after and questioned.
Another argument of mine[0] would be the definitions that have been introduced by react. Component, state, hooks. It seems like we have forgotten about what they are actually called, and its function is in the context of programming (functions, variables, events, etc.). And so people become solely a React developer and can't really see a way out. (from the article: "And maybe—just maybe— your current satisfaction comes, at least a little bit, from simply not knowing what you’re missing.")
> there should be absolutely no reason for a developer to worry about rendering performance
i have a csv with one million rows. should i load the entire thing into memory and render 1m * column_count dom elements?
> Another argument of mine[0] would be the definitions that have been introduced by react. Component, state, hooks. It seems like we have forgotten about what they are actually called, and its function is in the context of programming (functions, variables, events, etc.).
a Component is a Component because it represents a node in the React tree. not all functions are Components.
state is state because it's more than a variable - updating it triggers re-rendering. a normal JS variable does not come with this reactivity.
hooks are not events. they are wrappers for reusable logic.
I had the same nearly the same situation, like 70% to 80% of the sandwich kid mentioned in the beginning.
Its impossible to read a summary of what have happened with me, because it would be so long that I would never end.
A short summary of the beginning would be something like this:
I just never accepted anything coming from adults, teachers. I saw when they said something to me, than the next second do the very opposite. And I realized that when my parents divorced, that everything that I learned from them needs to be erased. They could not tell why they divorced, a specific reason. Because it never really is about one thing from what I can tell now. It was not something I come up with, it was more like a realization, hard truth, something that hit me hard, or something around these lines.
And then I just proceeded to build up a mental image about the world from the ground up. I guess we all do that while growing up, but I really just couldn't accept anything anyone told me to do, or think the way they want me to.
Cant say that I 'am a very successful person. Sometimes I can be spot on, even on very large scale questions, using my own version of the world. I was able to make a really good investment choice, when everyone was shitting themselves, and running around like a beheaded chicken that the world was about to end. 2008 financial crisis and Covid. (I was in 7th grade in 2008 with really shitty grades)
And sometimes I miss by a mile, usually when around topics where feelings must be involved. That is the part that I am trying to get better since I've realized.
I think its more about some things can make you or brake you. Resilience is understanding the real reasons why something happened. Like someone got angry at work when I asked him to send some documents for me. If the person is rude and got, to some extent angry at me, than I could translate that as that person not liking me, or that the person has some difficulties at home. In the first choice we could grind on about why is that, what have I done wrong, where in the other, you just move on. At least in my experience.
My very TLDR summary:
The older people at the firm had the same experience coming into this business. So they expect every new comer to behave the same. Its that simple.
Doctors do that with residents which I think is more concerning.
I read about it in a book called why we sleep[1] about sleep.
[1] - https://www.amazon.com/Why-We-Sleep-Unlocking-Dreams/dp/1501...
I am not expert in economics, but form what I see:
- Not being able to print money might sound really good first, but this could be the reason COVID haven't done the havoc it would have without that money. Stopping businesses from collapse is crucial, no mater at what cost. Why? You really want your local super market to be totally empty? And scavenge for food? No. We just need a way to be able to prevent it. This is what helped in 2008, and currently trying to help.
What this money printing is going to cause, we don't know, but its better than dieing because of not having the ability to intervene when we have to.
- We always need some way of policing this society as a whole. We cant really have nice things. There is a reason we have locks, and fences. Wouldn't it be good if we were are just one happy family(I just laughed myself to death saying this)? No crimes, no anything. Everybody just live a happy life without any crime. That would be wonderful. But we all know that is not really what is happening.
I feel like that's the fairy tale crypto currency is selling, and that's why it sells really good, as always, we always thrive some easy way to make a living, make money, whatever. And crypto currency checks a lot of boxes we are all want.
Ability to print money can be good and useful, but governments have a long history of going overboard. The benefits of printing money are immediate and tangible and the pain tends to lag and are widely distributed (hurting everyone that holds the currency worldwide).
Fiat currencies definitely have their place, but so do hard assets. And it may turn out to be useful to have a hard asset that is much more easily divisible, transferrable, and more resistant to seizure than gold.
If you're looking to compare Bitcoin to something, it should be the (free banking) gold standard (before the Federal Reserve 'changed' it), which was similarly inflexible. In the era of the gold standard , there were depressions, but they were quite brief (usually a few months); there were no great depressions or great recessions
Before that Great Depression, the term 'Great Depression' referred to the 23 years of economic crisis which started in 1873 and ended only when gold was found in the Yukon...
Tying economic growth to the availability of gold was a disaster.
> In the era of the gold standard (before the Federal Reserve 'changed' it), there were depressions, but they were quite brief (usually a few months); there were no great depressions or great recessions
You mean The Great Depression of 1929 wasn’t a great depression?
Before the establishment of the Fed in 1913, you had the Panic of 1893, which caused a depression until ~1897; before that the Depression of 1882-1885; and before that the Long Depression of 1873 to ~1878.
All of those times also overlap with the so-called 'gilded age' when "rapid expansion of industrialization led to real wage growth of 60% between 1860 and 1890, spread across the ever-increasing labor force.[56] Real wages (adjusting for inflation) rose steadily, with the exact percentage increase depending on the dates and the specific work force."
There were definitely issues, but nothing like the Great Depression of the 1930s.
I use the example of forest fires. Small forest fires keep large forest fires at bay. But if you prevent small forest fires then it just leads to large forest fires.
System's problems were regularly removed from the economy when we were on Gold standard (like run on the banks etc). Then Federal reserve gets a hold and they start putting out these 'small fires' and it just leads to large uncontrollable depressions.
There are more ways to give food to citizens in an emergency than printing trillions of dollars. There are more ways for the government to acquire money than conjuring it out of thin air. There are more ways to prevent local businesses collapsing than inflating the stock market.
I feel like every 2nd man on planet earth bought TSLA at this point.
When they did a 5to1 split, the price just doubled, giving birth to around 250bn$, just like that. Seemingly without anything significant happening around Tesla.
I cant help but think that people only want more, and the amount of people who feel the same way are reached another peak. The last time splitting has this big of an effect on the price, was in the dot com bubble.
I hope I'm wrong.
I wonder if there's a market for a financial product that looked at your ETF holdings and allowed you to cancel out a particular instrument. I don't have the appetite to be net short, but there are stocks I'd like to negate my ownership of.
Thanks to automation, fractional shares and zero commissions, "direct indexing" is a thing now. You can track an index of your own design instead of trying to cancel out positions.
Interesting, thanks for the pointer to that phrase, I'm reading up on it now.
Are there products that make it easy to do this? I imagine it would be theoretically possible but incredibly time-consuming to keep up with SPY by manually trading on RobinHood!
I believe the products that make it easy are currently only available through financial advisors, and for high net worth clients. But the demand seems to be there, so something accessible to the average retail investor may appear in the next few years.
This is a really intriguing idea! You would of course run into the issue that that product would appear to have horrible returns right up until the rug gets pulled out, and liquidity might be an issue (margin for the short would have to be provided and presumably could not be directly provided by the long positions). But at the very least one could theoretically write something which could take in a portfolio of ETF positions and output "short this much ABC and XYZ to be net flat in those stocks."
I also left every social media stuff behind. But I consider being on HN and reading some comments here and there as practicing basic human behavior. Its the same in real life, I cant just leave all human interaction behind. I must be able to deal with people. I think I can practice this a little.
I realized the aforementioned, checking my points and who responded what to my thoughts. I actually made an adblock rule to block out my points. So I dont get that rush, because I realized that too, that everytime I arrive at HN, I just checked my points, and if it were more than before, I felt the rush. And I just knew it was bad, and that is not indeed what I come for to this site.
In Hungary we have the obligation of a 10minutes break by law.
Since I've started to take 5minutes of break every hour, whatever I was doing, but really. I was in full blast "code" mode, in the flow, or whatever you want to call it, I just paused. No matter what. Even if you enjoying what you do. Just stop! In the middle of a "coding block", or a smaller feature I was implementing, I just paused. Than just really tried not to think about anything at all, for those 5minutes.
This mind exercise really helped me with my daily problem solving ability. I feel like the longer I am doing this, the better it gets over time. Its amazing.
I learned that trying to explain this topic to others is like forbidden fruit. Unless asked for. But I am going to write some anyways, because this why we are at this forum anyways.
There is no thing like ego, its not somebody. That's the problem itself. Its just your mind, which is forgotten that its just your tool given to you to put it to good use. And than there is something else behind it, that comes first. That perceives the output of the mind. Emotions, memories, all kinds of perceptions, everything.
After reading a lot of stuff, not particularly mindfulness but about anything, it really changed how i view the world. And i feel like it really comes down to the level of awareness you have about your inner working as a human.
One great example I experienced and got me speechless, more than once or twice:
Little children, who barely able to talk, just about 3 or 4 years old, got a question about about who did something bad in the past? And they are going to say their name. And the "adults" in the room are going to laugh, because it sounds funny to them. But the child did not intended it to be a joke, that`s obvious. Its that they does not yet identified themselves with their memories. And the adults laughed because its so obvious for them to say: "I did it". But its really just a memory at that point.
Spoiler alert: The whole realization is that the entire concept of you is artificial. The idea that there is an ever-present unchanging thing called "you" is fairly straightforward for the uninitiated to grasp. The idea that there is no "you" separate from "me" is harder— by a lot.
What attracted me to it was how well it blended in with our modern ideas in physics. Not just the idea that a wavefunction never dies to zero (unless there is a truly infinite potential somewhere), and that we are part of a large many-body system. But also the idea of the big-bang at the universes (re-?)conception: That spacetime itself started at a point and expanded. It is one thing- a big blob of clay- out of which lumps are formed. One is you and one is me. But we are connected. Your existence would be different if I didn't exist.
To kill the ego is to come to an intuitive understanding of this- by being aware and present.
My daily night routine includes looking at a picture of dinosaurs, and a high resolution picture of the hubble telescope[1] and realize that there is something that drove the making of all of this, the process of evolving, of galaxies, bacteries, dinosaurs, so on...being huge and getting big, as dinosaurs, galaxies, humans did. And the variety of those, and so on...None of those made any conscious decision of, for example growing a wing in the future, or the shape, or the structure, or the color if it. But yet it did happen.
So there is that thing that drove the making and changing of everything. And that there is no I or you, there is just this thing of making without knowing or being able to direct any of it. And this is the point where the we cant really describe it anymore precisely. Its everything you can not think of. The opposite of what the brain is capable of comprehending.
If I can keep this point of "worldview" so to say, before actually falling asleep, I get the best sleep anyone can wish for.
I still remember the day when angularjs was a new thing(around 2015 perhaps) and as a newcomer I was sucked into it. Just loved the thing. A year later, there were news about Observable JavaScript objects. So objects could send a notification about themselves having been changed. And when do so, do DOM changes could be done accordingly, without having to implement a render algorithm and having to compare shadow nodes with new render results to see what changed every time any data change occurs. I don't think we are past that with React, and as the author mentioned there should be absolutely no reason for a developer to worry about rendering performance (the amount you have to use react, with for example useMemo, useCallback) and is something to be looked after and questioned.
Another argument of mine[0] would be the definitions that have been introduced by react. Component, state, hooks. It seems like we have forgotten about what they are actually called, and its function is in the context of programming (functions, variables, events, etc.). And so people become solely a React developer and can't really see a way out. (from the article: "And maybe—just maybe— your current satisfaction comes, at least a little bit, from simply not knowing what you’re missing.")
[0] - https://medium.com/@ngergo/describing-how-react-works-in-com...