579 points · by luuuzeta · 3y ago · 913 comments
Another concept is the relationship between current, voltage, and resistance. For example, I always failed to understand why longer wires mean more resistance while thicker wires mean less resistance.
This manifest in all sorts of ways - from people not being there when you need them the most, from friends dying off as soon as proximity changes, to how and why get people get promoted in jobs. This isn't necessarily bad, but if you don't know how to navigate this it can be quite painful and confusing.
2. Representation matters.
I knew this for a long time, but it didn't fully click until years had gone by and I realized I had unconsciously held myself back from pursuing a wide range of things because I just didn't see anyone like me there.
3. Rules in life are just constructs that we as humans have created.
Starting a business helped the most on this one. That's when I started to see that "rules" or "procedure" are all made up and exceptions can always be made.
(Edit: typos)
For those with anxiety, one of the best pieces of advice I ever received (that also took me years to internalize!) was the corollary to this: nobody is thinking about you in a critical way, at the level that you are criticizing yourself, because they are their own main character. Which is incredibly freeing, because the anxious person’s assumption that one embarrassing moment will turn into them obsessing about your failure… is absolutely nonsensical, because the only person they are obsessing about is the main character to them, themself.
I think there are shades of this, which is to say the level of judgement can vary.
I feel that in a smaller city my social anxiety is not as strong as when I’m in a larger city.
In larger cities, I feel much more evaluated and judged ie eyes on me looking at my clothes, checking me out, etc despite being a much more detached and impersonal environment than smaller cities where I just feel ignored. Maybe it’s just more people around putting me more on edge.
Do you remember the face of these persons? I can tell you that I don't.
Nobody really cares about strangers in big cities. They are part of the background. Sometimes you are struck by something then you move along. Even people who might actually be judging you will have forgotten you exist minutes later. That's the beauty of cities.
> the only person they are obsessing about is the main character to them, themself
seems obvious in retrospect.
“The ultimate, hidden truth of the world is that it is something that we make, and could just as easily make differently.”
Harari write pop sci, a grand narrative with many liberties with both history and science.
Graeber's books are heavily referenced pieces of work. Debt: The first 5000 years ends at 73% on my Kindle, because the remaining 27% of the book (144/534 pages) is references and footnotes.
Their books are not in the same intellectual category.
That's why "rules are just constructs we humans created" rings stupid/horrifying. Obviously they were created by humans but that is also why they matter. I prefer "rules were written by humans, mostly in blood". It took years for OP to get the first part, here's to them getting the second part faster.
One doing something wrong to another would get families into an infinite loop of mutual revenge--until we got around precisely to create rules and put up a trusted authority to ensure justice without the need for vengeance. Rules is how our civilization functions and its only hope.
Those are some of the oldest and most important ones
Anyway, I'd be interested to hear more about the psychology of this.
I remember when I was growing up in the 90s and 00s in California, people talked about race way less than they do today. When ethnic representation became a common topic of conversation, I had a hard time believing it at first, because it seemed so self-evidently obvious to me that race wasn't a particularly important characteristic of a person. I actually had the experience of thinking back to my time in jr high/high school and thinking "wow, that friend of mine had dark skin, and they weren't from India... I guess they were Black, huh".
I'm not trying to claim that I didn't have subconscious biases related to race as a kid. I'm sure I did. But I do suspect they have become a lot more severe as a result of people talking about race so much -- it has become a much more salient characteristic. (I'm also more aware of trying to mitigate my biases and avoid microaggressions and so on, of course.)
So yeah, I'm curious to compare notes with other 90s kids in this regard. I'm white, but if I was Black, I imagine that I'd be way more self-conscious about it now than I was when I was growing up. (Like, if I'm the only white person in a group, I feel self-conscious about it now in a way that I didn't feel when I was a kid.)
Is as helpful as you may have intended. The comment was about not wanting to be the first, even if the group is welcoming, the commentator will still be the first/only person of color in the group and there is a discomfort inherent to that even if everyone is trying to be welcoming.
Also re “colorblind” policies of the 90a versus the explicitness of today, I think it’s similar to the current reckoning in journalism. We all have biases and pretending we don’t/acting like we are capable of pure objectivity simply hides them and makes them more difficult to combat. On the other hand explicitly acknowledging them allows you to consider how they might be influencing your decisions.
I've heard similar things, but as a non-minority, you don't see what happens when you aren't looking or when people think they can get away with something without consequences, including social or professional consequences. Someone who is a minority has to live it 24/7, so they get a bigger picture that you don't.
You might be well-intentioned and surrounded by people who you believe are well-intentioned, but not everyone is, and plenty of the people who talk and act as if they're well-intentioned will turn around and betray those purported intentions when you aren't paying attention.
With regard to race-blindness in the 90s and 00s, consider that today's focus on race is a reaction to the willful ignorance of the decades prior. Race mattered just as much back then as it does now, it's just that the majority in the past had patted themselves on the back and convinced themselves that it was a solved problem if they just stop talking about it.
Although I appreciate the intentions of such people, as a non-white guy this always made me feel uncomfortable. That I'm not being welcomed for being a new member but rather a new member who's somewhat different (in color in this case). Whether this is at work, sports groups etc. I guess you call that a token?
*Not singling out Cholitas, but it's a group that may feel "other" to you.
This isn't an attack and your sentiment seems genuine but obviously this person knows his fears are not logical. I doubt most people can will themselves into feeling accepted even if others, like yourself, do your best to them feel accepted.
That's why representation matters
There's plenty of evangelicals of every race, but overall the communities are very segregated. It was clear no matter their professed faith, in practice the community I grew up in was hostile to PoC.
This makes me curious. Would you mind answering, from your point of view, why do you think that is? Is it a specific scenario or type of scenario you wish to avoid or is there a generalized concern that comes with it? Is that due to uncertainty or past experience?
Another aspect is that I don't have that shared connection or ease of relating to people in the group. The activity has obviously selected for a specific group and there are probably other aspects of their lives that are also different from my own.
Past experience mostly. Trying to make friends where the majority is white was difficult though I was in university and far more awkward then. One on one or in smaller settings, its easier and at work it's relatively straightforward to become friendly with anyone.
Although a small sample size, despite their ambitions the BIPOC people I know haven’t been able to reap any professional benefits from it. Whether from access to executive roles, getting taken seriously by venture capital firms, or in their attempts to join venture capital firms. There is a level of discretion in these team forming situations that is not extended to them whether it has anything to do with their race or not, its pretty clear the upwards mobility is not coming from this credential.
For people with their own capital and leverage, it amplifies their ambition if they want. BIPOC don't really have this.
The “average salary” of MBA alumnis is not what is interesting about getting one, for me or them.
Some, or more, examples to the contrary would make it seem less like a total waste of time.
Probably because there's almost always an Asian who's more qualified or a white with better connections. The problem is the key insight you get from a BIPOC is BIPOC tend to not have much money (set aside equity and vicious cycles for another day), so unless they're your market, you're not interested in marketing to people who can't afford your products.
It is hypothesised that the reason behind this is because chess is a boys’ club, so to speak, and thus there is not a lot of representation.
Absence of representation means that it may seem that you are the only one doing XYZ, which in and of its own can be terrifying because we often feel that the odds are stacked against us (which is a self-fulfilling prophecy), or that we are held to much higher standards than others.
Personally, I enjoy seeing diverse representation even if I am not represented. I want people to not be afraid to pursue their dreams and goals, I don’t want implicit prejudices due to lack of representation either.
And a related meta study that looks at sports in general: https://www.sciencedirect.com/science/article/pii/S146902921...
My guess is that it's due to how expectations affect how likely we are to enter flow state. If we subconsciously expect ourselves to enter a challenge in less than good/fair/even conditions we might be less likely to engage fully because we're using our attention for questioning ourselves/the situation.
At least that's how I feel I myself work.
> Starting a business helped the most on this one. That's when I started to see that "rules" or "procedure" are all made up and exceptions can always be made.
This is a big one that I learned through the same experience. Everything is arbitrary, the rules are made up and the points don't matter.
It made me appreciate those who recognize this, and in turn treat others well, even when shit hits the fan metaphorically, and I have absolutely zero tolerance for bullshit hoop jumping and assholes. I know you don't have to play by that book, so I won't, and I'm happier for it.
Here is just one example of the total wrongness of something I tend to be automatically sure of: everything in my own immediate experience supports my deep belief that I am the absolute centre of the universe; the realest, most vivid and important person in existence. We rarely think about this sort of natural, basic self-centredness because it’s so socially repulsive. But it’s pretty much the same for all of us. It is our default setting, hard-wired into our boards at birth. Think about it: there is no experience you have had that you are not the absolute centre of. The world as you experience it is there in front of YOU or behind YOU, to the left or right of YOU, on YOUR TV or YOUR monitor. And so on. Other people’s thoughts and feelings have to be communicated to you somehow, but your own are so immediate, urgent, real.
David Foster Wallace
Corollary to this is that human rules aren't like programming rules and that the words that make up the rules get interpreted by a human.
One thing that this means is that you can't "hack" a human rule by picking the semantic meaning of a word which works best for you. You have to actually convince the arbiter of that rule that they agree with your meaning. If they don't, and they have a hundred years of legal ruling behind them that they've read and you haven't, then you're screwed.
And good human rules usually do have exceptions to them ("yelling fire in a crowded theater" being the most well understood). This is also why "the exception that proves the rule" is not a stupid saying.
And this is a feature and not a bug. The worst rules we generate are usually the ones that require the human arbiter to be rigid and mechanical. That tends to produce injustices like "three strikes you're out" and "mandatory minimum sentencing" (or any attempt to make the handball rule in soccer/football be objective and just winds up making it worse).
So when you explain something, 10 people hear 10 slightly different things as their own experiences and biases, and even hopes, interpret your statement.
That’s why being able to communicate accurately, clearly, and concisely is a very difficult and important thing. If you can do it tailored to specific groups and with humour, bonus points.
But for example, seeing that a philosophy major can have a successful computer science experience
Representation is literally about people seeing themselves. If you can't nail down what "people like me" look like when it comes to representation, it might be that representation isn't quite the right way to frame the problem. It's only one aspect of diversity.
We are more likely to pursue careers or interests if we know someone (and are friends with them or related to them) that is interested in the same thing or has had experience in the same thing.
Your comment reminds me a bit of something I heard years ago from a manager at Facebook claiming that the way to solve imposter syndrome was to have people select which teams and projects they worked on because they would be more motivated to work at it. Totally off from what my experience had been, but likely applicable to some people.
However, I'm not saying you are wrong and I'm right. I think what's surfacing here is that what I posted doesn't apply to everyone and what you are saying doesn't apply to everyone either. It likely helps different types of people in different situations.
There's an old piece of advice I remember hearing once that for almost any intractable problem or area of concern in your life, the answer can usually be found by meeting more people. If you actively work towards meeting people that know the thing you want to know or have experience in the thing you want to learn or be better at, you'll eventually meet them and unlock that piece of wisdom or personal connection that can get you where you need to go.
Obviously it doesn't apply to everyone.
Have you seen how many people in Hollywood have famous relatives in the industry?
It's the same for any industry.
It's very common.
Growing up, I wouldn't have fathomed what it meant to be a screen writer. I literally did not know what the job entailed, other than 'writing'. Nothing.
My Uncle was an Engineer, hanging out with him I saw how that worked, became interested a bit, ended up recognizing how important 'Math' etc. was, worked on a couple of related projects etc.. Eventually getting an internship because of a family member. It was a small favour but a big deal.
And even aside from opportunities, all of the small things, habits, perspective and behaviours of a class of people expected to perform certain functions.
Anyone can be whatever but it's far more likely that those who are exposed, who have role models, behind the scenes access, internships etc are going to get opportunities.
Representation does matter I think, that said it depends a lot on context. For politics, judicial system it matters existentially. In pop culture, especially for kids I think it's important that they 'see themselves' in roles. For a lot of things however I don't think it matters at all.
To me, that would be the other way around: a chance to stand out and be one of a kind, act in a way nobody else had acted before, and reap the benefits of being unique, or the first at least.
(Seeing this as exciting or frightening probably depends on your level of sociopathy.)
This is a great attitude to have. I know that not everyone has this ability (yet) to function this way, but it really should be the goal of how to operate.
For me, it took me years to get there. Variety of reasons, but I realized much later in life that I was still carrying around traumas of being targeted in public by random strangers at a young age just by being out in public (yes, just walking down the street). That sort of stuff can erode psychological safety that we bring with us and unknown situations can cause us to react rather than respond. This is one of the reasons I think representation matters. Not just that it creates a mental model of what's possible, but proof (hopefully) that it's also safe and allowed.
Strange, I had the opposite encounter. I realized the only thing keeping me from doing things was myself. There are definitely real barriers (hiring quotas, affirmative action, etc.) but without artificial constraints the only thing stopping you is you. You might feel a little uncomfortable but that's something easily overcome - and almost like a superpower when you realize you can overcome an external locus of control.
With that said, some form of representation helped me greatly with it. It doesn't need to be an exact match, but for me it needed to be enough to make me break my assumptions and see whatever weird walls I had put up in my thinking.
Being a white male but simply being unique in coming from a poor community in a poor city was enough for me to inflict a lot of unnecessary pain on myself through undergrad by seeing myself as different from the majority of elites in my program.
To be a plumber, yes.
To be a Doctor, kind of.
To be anything really competitive, not really, no.
There is a reason startup and regular CEO's are way over-represented from upper middle class families, and not ultra poor classes.
If you don't grow up playing Golf (expensive), it's highly unlikely you're going to the PGA.
For the poor kids to even fathom they could do something, they need to be exposed to the concept in a material way, on the whole. Obviously it's not always the case but representation 'is a thing'. And of course it can be way overstated in importance in many cases.
It clicked for me when I let my publicist go wild and she got me on listicles of BIPOC founders, before, we just had lots of quotes and interviews. Only people already interested in the project on its own merits were following along. After, there were lots of people that are interested in the representation in that kind of niche who otherwise just wouldn't know how to find that representation. Or just wouldn't be able to tell by founder names alone.
and of course we got the amplified engagement from people arguing about “why does race matter” in the LinkedIn comments. so shoutout to the useful idiots, publicists expect that to exist and calculate it.
This seems similar to adding an addictive drug to food. It will certainly appeal to a lot of people, but does it add value? Getting more consumers of your product should not be the end goal if we want a healthy, high trust society. Developing a good product should be.
> Only people already interested in the project on its own merits were following along
Isn't this what we want as a society?
People enjoy representation, imho, because it helps them see that they are not alone, that the deck isn’t stacked against them, and so on. It also helps in removing prejudice against certain groups of people.
But for example, seeing that a philosophy major can have a successful programming career, can encourage others in the humanities to see themselves do it too.
Or seeing someone with ADHD run a business successfully and overcome executive function challenges, can also help others with ADHD.
These are great call outs. The definition for representation can be highly nuanced and very personal. This is not to say that issues like race and gender aren't important and don't need support. Just that there are so many things that people bring to the table that can make them feel like "the other" which holds them back. It's surprising how lack of role models can lead some people to think it's not feasible or not even possible.
As a well represented person I can tell you this has nothing to do with representation, its just that the vast majority of humans in the modern world have close to zero agency and/or don't think they can actually change things.
As a well-represented person, you're probably making assumptions about the effects of representation that are less informed than you realize.
I was a total STEM math nerd in school. I used to frequently complain how I don't get what's the point of it, or how it's a waste of time and I'm learning nothing. I still think the emphasis of school was off, but I get the point of it now.
Stories are like code for humans. You can't tell someone what it means to be good or bad, or to give them a course in philosophy and they will become good people. But you can tell them a good story, that engages with them emotionally, and it will change their perception. And history shows that in fact, those stories being told and repeated aren't just interesting minor curiosity, but they have shaped the direction of humanity and they are driving it. A single person with a single story can change history in such a way that it would be completely different without it. And some stories about stories need to be told as a warning so that people will not fall for those kinds of stories again.
There’s a number of classics I read at the time that I didn’t enjoy until adulthood. Reading them early on gave me a framework for understanding them later on in life.
I also read a few books I otherwise would’ve never picked up that ended up very interesting.
Perhaps the solution is to not force specific books on anyone. If kids want to read Twilight for class, let them. Maybe it’s more important (and effective) to have them read anything and enjoy it than cramming “high literature” down their throats.
I posit that a person who enjoys the experience of reading a bad book is likely to later on pick up several good ones, while someone who was forced to read a handful of ostensibly good books they weren’t ready for is likely to never pick up a book again.
For me it was axctually the first novel I read. My aunt gave me The Malloreon. I was bored in winter break in the late 80s and I felt guilty I hadn't used my aunt's gift. So I read it. Now I recall spending an entire day curled up with a quick trip insulated mug in our breakfast nook when it was below freezing out reading the next book next to my mom. It'd take about 3 hours to finish that herbal tea.
Shortly after my dad gave me unlimited allowance for books. It was a smart but mildly costly move.
If they instead taught students easier books in schools, student would never develop the reading skills to tackle the classics, and a much smaller percentage of adults would ever bother rereading the classics or even acknowledge their power.
Of course, the teaching has to be improved so that students never hate it.
Stuff like: "What was the meaning of the yellow curtains?"
They pretty much ruined my enjoyment of every book I had to read, even though I did and still do love reading. For books required by classes, I just read the cliff's notes.
What's the point? Math has clear purpose. I do enjoy some books. I just didn't get the point of studying them beyond reading. Why are they babbling about ? Is there any use for this information or is it just a torture in memorization? Why would I ever care about all these abstract literature terms?
Ironically they missed telling the meta story: why would anyone care about stories.
If stories are just something you read for fun, why would anyone care to teach me how to analyze them?
EDIT: To be clear, these were the questions that weren't answered back then.
Only now, years later with life experience the purpose is clear.
I also remember reading 1984 on my own time in high school- it wasn't in the curriculum the year I might have. It blew me away. But if I'd been forced to read it, I probably would have been bored.
I was like this too. I had no interest in ol' Bill. Then I read his 'best' works. And then I read them again. It takes a bit to get really used to iambic pentameter, to the old words, to the places and people he was writing for, to his limitations of candlelight and lack of amps, etc.
Reader, it is totally worth it.
There are very many very good reasons that he is still produced and studied. I encourage you in this new year to give him a solid try. Not just a play or two. Read him and watch the plays at the same time. There are hundreds of productions on YT for every play of his, all free, most very good.
Learning is one thing, being tested on facts and trivia is totally something else.
He told me that the reason he chose that book was that it was actually easy and a page turner, but also different than what most kids read. But most of all he chose it cause it's a big honking bok. To that point at the end of the class 90% of the kids had near on finished the book. Even the laziest kid in class had to agree that no it wasn't a big chore to read that big of a book if you broke it down and they weren't afraid of big books anymore.
Then one day the teacher didn’t want to teach and instead showed an episode of Connections, and I was blown away. Learning about how and why our science and technology became what it is was something I could related to and seemed actually useful. I still don’t care for military history, though.
Is that actually true? Do we have good reason to believe that people who study history/literature behave more ethically?
Really depends on HOW you learn it IME. If it's just regurgitating dates/names/whatever it isn't helpful at all, at least for me. If you establish that event x led to y because of z, it just clicks and suddenly makes sense.
For example, let's take hitlers rise to power: "He became the chancellor of germany in 1933" That is just about useless. "Hitler rose to power with the help of the nazi party, which was partially formed in response to the treaty of versailles' excessively harsh terms, leading to an extreme amount of inflation and a harsh drop in industry. This set the stage for hitler arguing to use a war as a means of getting rid of the penalties of versailles and bringing germany out from the slump"
For me, in school I was mostly taught the first variation.
One thing which held me back for a very long time was not following up with people who didn't show much interest initially.
I wasted so many good leads thinking it is impolite to follow up with people after contacting them once. My whole life changed once I understood the power of follow ups and understanding that most people are so busy that it takes at least 6 reminders before most people will take any substantial action.
The reverse is also true. People say a lot of things and most of the times you never cross the bridge or reach it. Nowadays, I rarely argue about anything and don't act on stuff until a person reminds me once or twice. This small filter can be like a miracle for saving your time and energy.
Most people are only willing to do something after repeated attempts because they're polite and want you to stop. If a website asks you whether you want cookies, you only click "yes" because the alternative is more work. If you constantly pester and threaten someone long enough, you'll always get a "yes" at some point. But that's not consent, which is why it's illegal.
Even if lawyers cost money, if I'm just expensive and stressful enough to stop people like you from sending even a single unsolicited message, it's worth it. Time is the most valuable resource we humans have, you've got no right to waste other people's.
And good follow up software will also stop once a reply has been sent from the recipient, which is then forwarded to a salesperson to triage.
> On HN, people hate cold emails. In real life, I've found that most people will respond or ignore. Like a tiny minority will act like you killed their mother, but that's life.
> I know you know this, if you're in sales, but I, like many other engineers who read this forum was overly cautious when I first started speaking to people because I anticipated that 99/100 would be upset at having to talk to me.
> The truth was that 99/100 were willing to speak to me and listening to HN and Reddit set me back farther than I expected until I unlearned that lesson.
> So I'm saying this for the benefit of all those other engineers like me.
(The point of the parable, as I understand it, is not "One Weird Social Engineering Trick That Will Always Get You What You Want!!!11" but rather that we should persevere in prayer and petitions to God because, if even the unjust judge was eventually moved, how much more likely is our heavenly Father to grant us our heart's desire because he isn't unjust like the judge. This is an example of an "a fortiori" argument, https://en.wikipedia.org/wiki/Argumentum_a_fortiori , which are fairly common in scripture.)
The principal element in sales is asking for the order. Everything, and I mean everything, follows from that. If you had been trained this way, following up would be second nature.
My grandmother was a terrible narcissist. I loved her dearly and she had a lot of wonderful qualities, but The quality that stood out the most, sadly, was narcissism.
My mother was also a narcissist to a somewhat lesser degree. It didn't occur to me that I too was a narcissist until I was about 35 years old. It took waking up in the corner of the living room in my friends one bedroom apartment Early one morning to see it.
I had pushed away my wife and kids because in my mind all of my problems were their fault. I had blamed others for every thing that had ever happened to me or every feeling that I had felt. And in that moment I realized:
It's ME.
Everything changed in that instant. It was no longer just about me anymore. I stopped seeing the people closest to me as opponents and started seeing them as what they were, family. My support system. The love of my life.
As the years have gone by since then I have seen more of my past through that light and things have become so much more clear.
Understanding that my grandmother was a very damaged person who turned a narcissist to deal with it, then raise my mother similarly, help me understand two things. The first was that the things I blamed myself for in the past weren't my fault. Secondly, it helped me forgive them for some of the awful things that happened. I'm not saying it's okay to be a narcissist. But recognizing that their narcissism affected my life, and it was something that I could shed in my own personality was a serious life changer. And the funny part is that after I realized all of this, my debilitating depression essentially went away. And that was a big deal.
I also learned not even 2 years ago that I have ADHD which was like a light bulb moment for me as well because it explained so much of my life.
it seems more likely that there is a genetic/biological basis for this personality trait
Importantly, the skills can be learned as an adult it’s just hard to do. I come from a long lineage of family members who did not know how to swim, but I don’t think that there’s a genetic basis for this.
When I had my awakening, I was finally able to put to work some coping skills I learned the hard way, in a mental hospital. But once I realized the problem was me, the changes were instant. I was ready for change.
Unfortunately, some people have no such awakening. And I avoid those types of people like the plague.
Random theory: Children of narcissists like IT because it's a world that is very predictable with rational explanations.
Steve Jobs, for example. He wasn't as malevolent as Donald Trump, but both have both factors: the childhood trauma + the message that they were special. I have several acquaintances who are narcissists and have both factors as well.
I think that the trauma without the message that you are special and different predisposes someone to become a hyper-achiever, where ambition is a channel for the pain. See: Elon Musk, Tim Ferris, etc.
Thank you for sharing.
Please continue to contribute here on HN, I really appreciated your comment and experience.
I suggest you look up the difference between the common sense of the word narcissism and the psychiatric diagnosis (which has a more rigorous and specific definition).
Things like Repositories, Aggregates, Bounded Contexts, and so on are going to be a net drag on your system if you only have a few 100 kloc of code in a monolith. But they really start to shine as you grow beyond that. Bounded Contexts in particular are a gem of an idea, so good that Uber re-discovered them in their microservices design: https://www.uber.com/blog/microservice-architecture/.
(Edited to clarify the book author)
Both books are great. Read whichever one aligns with your practice best.
I recommend Wlaschin's book for anyone curious about FP, without hesitation. He's great at explaining things from first principles, without veering off into "monad tutorial" territory.
https://pragprog.com/titles/swdddf/domain-modeling-made-func...
An easier introduction I recommend is InfoQ’s “Domain Driven Design Quickly”, available in print or a free PDF ebook: https://www.infoq.com/minibooks/domain-driven-design-quickly...
I'm only about a third of the way through; I didn't realize that there was so much about properly building OO systems that I'd simply never seen in the wild, or heard of before.
- Aggregates are too heavy. You need to make the decision about what is or is not an aggregate way too early in the design process. Boundaries are fuzzy.
- Actual concepts don't exist in nicely packaged bounded contexts. Concepts overlap a lot. You need to make the decision about which concept fits into which bounded context too early in the design process. Boundaries are fuzzy. Things are kinda like other things. The definition of "Employee" is not the same in the Scheduling context as the HR context as the Payroll context, yet they do overlap a lot, and you can't just treat them as completely separate things. If you break everything down into tiny contexts to deal with this, you just make Contexts and Aggregates the same.
- Repositories are not original to DDD and I think are very likely to foster absolutely horrific SELECT N+1 or even SELECT N^2 or N^3 performance. You simply can't let one bounded context do all its expensive operations in a vacuum; not when you have lots of contexts and lots of operations. In a complex system, most parts need to be planning, not doing. The results of most operations should be a plan that you can compose with other plans, analyze, and possibly even have an "optimization pass" if you need one.
- Ubiquitous language is the right idea. If you take nothing else from DDD, take this.
I've not found that Aggregates need to be designed at the beginning; I've found it works fine to define an Aggregate after you start seeing performance issues with query patterns (i.e. define an Aggregate and forbid direct access to sub-objects when you see pathological access patterns/deadlocking).
Personally I've found Repositories to be a good way of enforcing that N+1 queries DO NOT happen. For example, in Django you can have the repository run select_related/prefetch_related and `django-seal` on the ORM query to forbid unexpected queries. This somewhat neuters the flexibility of the ORM, which can be a big cost, but lets you build much more restrictive queries that are guaranteed to perform well. It's a trade-off and I don't think it's a clear win for every use-case, but particularly when dealing with Aggregates I think having a limited number of ways to query is beneficial. (This might mean you're running some sub-optimal SQL queries, over-fetching etc., but for most line of business applications, that's actually a viable trade in exchange for simpler domain interfaces and protection against N+1 queries.)
Regarding "planning" vs. "doing", that seems to fit quite well with doing most of your work in POJO/POPO domain models, then only rendering those into DB writes at the edges. I think Repos can help with that. (IME you get N+1 selects when you use ORM models that abstract away the SQL queries and have application code interacting directly with ORM models; if you remove the ORM from your core domain logic and force it to live at the edges in Repos, this is not possible.)
As an example, when I think "Repository", I think a class with methods like "GetEmployee(employeeId)" that hit the database immediately, and probably call other GetSingleThing methods in other repositories, possibly in a loop. That's how you get SELECT N^2s and up. That is, of course, their worst possible use, and you can have much better-thought-out services and still call them "repositories".
That all being said, there are some near-universal "good ideas" I've learned, but they probably don't make a good textbook, and they certainly don't make a singular "paradigm" to follow. Things like: make decisions as late as possible (but no later). Do less, plan more ("do" meaning something with a side effect; planning is side-effect free). Work with sets instead of individuals. Separate identity from data. Raise the ceiling (empower smart people), not the floor (don't design for stupid people), but also realize that everyone is both sometimes. I use these general rules to evaluate paradigms, and I think DDD strongly fails the "make decisions as late as possible" rule, and doesn't tend to foster the "do less, plan more" rule unless you really reinterpret a lot of its directives.
I've had the exact same complaint. I think there's a lot of great stuff to take away from DDD -- I also hear myself frequently making the same point about it's ubiquitous language -- but going all-in on some of its concepts, especially early in a projects life, is probably always a mistake that may well end in disaster.
I remember what made it click: I was designing an animation system, which had a bunch of different interdependent moving parts. Once I started treating each part like an object and letting it manage its own state it all just clicked. I started with this massively complex functional-like system that managed four or five different motions, but once it was broken into objects most of the code just fell off and it became a nice clean system.
I was super proud of it at the time, but it's pretty bad by my current standards.
You could build a chatbot that supports Discord, Slack, and IRC dynamically at runtime, or a web app that can use multiple different database engines, or a social network with multiple types of posts that can all be rendered in a main feed, or a bunch of other things. In all of these cases you can also take advantage of this kind of dynamic dispatch to inject mock objects for testing, as well as theoretically have an easier time swapping out a layer if you want to change a dependency.
What really frustrates me is that almost none of the OOP instruction I've encountered ever showed these kinds of real, practical examples. They always over-emphasize harmful inheritance-based approaches and never really explain composition. In college we learned about OOP by building a little text-based RPG thing with different types of monsters implemented as subclasses of an abstract base class, which left me feeling like there wasn't much practical use for it outside of game development.
It wasn't until my first internship that I saw a real-world use of OOP, in the form of a giant Spring Boot monolith with tons of dependency injection. Eventually, after staring at that for a few months, OOP finally clicked for me, but I still find it annoying that nobody ever tried explaining this using practical, small-scale examples.
So true. The canonical example used by OO pundits is often a "Person". A Person can be either a Contractor or an Employee (inheritance).
Having spent a lifetime in HR systems, there really couldn't be a worse example. It turns out that people may become contractors or employees, and then change back again, leaving the company and then returning. Some people may even hold the role of contractor and employee contemporaneously. Any crazy shit is true for humans. Instead of using simple OO classes to model people, IRL you end up with many, many tables that capture their lifecycle.
Good OO candidates/examples are usually non real worl things. Window managers and windows. Progamming concepts. That kind of thing, where the rules are simple and point in time.
> You could build a chatbot that supports Discord, Slack, and IRC dynamically at runtime...
As a counter-point, OOP isn't necessary for dynamic dispatch.
None of these dynamic features you describe are necessarily any harder in non-OOP languages — or easier in OOP languages.
You can do the same kind of dynamic dispatch in Elixir, Go, etc.
OOP really is a preference, not a differentiator.
Source: I cut my teeth on OOP and used it for many years. Been using Elixir for the last half a decade, and have zero loss of ability to do things like this.
Polymorphism (including dynamic dispatch and duck typing) is a game changer, in that it encourages simple, stable interfaces, enables testing, encourages encapsulation, etc. It's a key technique for building big projects.
Inheritance is a tool for reducing the amount of code written by a human, among many others (things like code generation and composition) I haven't seen it unlock other important conceptual domains the way polymorphism does.
Unfortunately many undergraduate curriculums get overly excited about inheritance when teaching OOP. I guess animal-cat-dog is an easy example (though totally unrealistic), but the problems polymorphism solves don't often show up in classroom-sized projects.
However, I'm not really sure why your comment is framed as a counterpoint to mine. I explained what it took for me to grok OOP, but I never said OOP alone provides composition and dynamic dispatch. It seems needlessly antagonistic to make this some kind of programming paradigm pissing contest when that has nothing to do with anything I said.
The issue was that anything they taught had to be dumbed down to the point to fit in a classroom and they basically stopped there. We also never wrote code that would be looked at by more than one person. I didn't "get it" until I spent years in a real job, with systems complex enough for this to matter, and practical examples like Dependency Inversion etc as you say. There was also a complete lack of Composition and (at the time I did it) multiple-inheritance which is a bit more controversial these days.
Our traditional Comp Sci course also worked on a variety of languages but nearly zero UI or web programming back then, which are both natural fits for OOP that we largely ignored.
A class Animal is inherited by Dog class that barks. That's like the total opposite of what any practical example can be and people confuse how that's even useful.
Never forget who is in charge. Deferring to a style dodges responsibility for your choices.
I remember that being all the rage 10ish years ago? I think it works, but I don’t see it much anymore
At small code sizes, OO does not really have any apparent advantages to doing everything imperatively or in a hacky way. In fact I’d argue it tends to overly complicate and obfuscate things. But there is a point at which you really start wanting OO instead because you can no longer reason about the binary as a whole, and need to start thinking in terms of interfaces with separation of concerns. Even if you did understand the whole state, there are too many people working on it to keep up with changes to the whole state in a way that lets you reason about the thing as a whole.
At my first job (and in college) code never reached such levels of complexity so OO always seemed like some dumb fad to make things more complicated than necessary. I still that is often the case, but now I absolutely see the benefits when they present themselves.
It's common for a lot of online resources (I don't know about university) to provide introductions to programming using OOP, which I think is a terrible mistake. It fills beginners' heads with all sorts of incorrect, fanciful ideas about how computers work and what happens when a program is executed. It's also difficult to know how to use OOP concepts and structures correctly without knowing why they're convenient. I strongly believe you need a good understanding of the technical motivations for such constructs before you can actually use them with good effect--otherwise you're simply relying on imitating patterns or taking certain things as foundational when in fact they are not. I think functional languages and strictly imperative languages are far more appropriate for a first programming language.
If I were to teach programming, I'd start with straight up assembly. Give people a taste of what the cpu is actually doing under all your abstractions. Probably a few weeks, enough for hello world, fibonacci numbers, and an intro to branching. Then introduce C, get used to pointers and basic high-level language concepts. Really hammer in the idea of thinking like the CPU and being mindful of the resources you're using.
From there, guide them towards building a real application in imperative C or C++. After that the overarching theme is rewriting the application in an object oriented language, with attention to why and when you should and shouldn't use these new tools.
IMO, understanding the fundamentals of how a cpu works is absolutely essential for writing good code at any level of abstraction, and it seems a lot of new programmers are missing that.
It "clicked" much later, in two stages, using languages that were "kind of like" OOP, even if not rigorously so: LabVIEW, HyperCard, Visual Basic. I think VB had a decent strategy for introducing OO to the rest of us. Out of the box, it was "object based," meaning that you could use classes that had been created by someone else. For a bit more money you could buy the version that let you do full OO, but I never did that. But by being a user of objects, it gave you an idea of what you'd want if you could create them for yourself.
Nowadays of course people range from being bullish to bearish on OO, and I've had the experience of doing it badly and making a mess of things, when a procedural or functional model would probably be better.
Kind of a lesser issue is that I finally grasped how to work with a modern OS after laying my hands on the first couple volumes of the Win32 programmer's manuals, which I think were vastly less forbidding than Inside Macintosh.
What books exactly are you referring to here?
It was strictly API stuff, not how the actual OS works inside.
Of course, if you want to go the whole polymorphic route, i'd suggest using something like c++, but the key ideas are really structures, and functions that operate on those structures.
The hardest bit is knowing when to stop, aiming for the RAII sweetspot in C++ is the goal not AbstractBeanFactoryFactoryBuilder().
It's a tradeoff. OOP makes sense for certain types of problems, and functional programming solves other problems. It's very much a case of selecting the right tool for the job.
I recently transitioned from C# game programming to C++ embedded system firmware. Objects don't make much sense for what I'm doing now, and I'm coming to see the elegance of functional programming.
There is no one answer, just a box of tools. What makes a good programmer is understanding each of your tools well enough to decide which one will solve your problem in the way you want.
(Ignoring virtual stuff, lengthy constructors -- code run is code run but a raw object I think is by itself relatively harmless.)
I still frequently see code examples online that are written using classes that don’t need to be. I imagine this is the reverse problem: people from languages like Java thinking everything has to be in a class.
It feels like something used an awful lot in ways that don't really add any value. But again, it must just be my lack of understanding. Maybe one of these days it'll click in.
Moving the beam endpoint required an animation to bring the width to 0, change the endpoint, then ramp the beam width back up. The sprites each have their own animation in different conditions, and moving them along the beam is another animation.
The real key for me was the sprites. I built a class which takes in the start and end points of the beam and an update method. Once you start the sprite up, you just have to poke it every frame with the time delta and it manages all of its own animations.
Likewise, the laser itself was an object that managed its own animations and the sprites related to it.
This resulted in a bunch of objects with just a little code in them. But because the concerns are separated, it results in less code overall than it would take to manage everything all at once.
Is this the best, or even a good way to do this? Probably not, but it was a very beautiful solution in the moment
I'm not completely against OOP, but written code that strictly adheres to this paradigm tends to be more convoluted than necessary.
I'm not sure if it was years, but it wasn't immediate. I just didn't understand why dependency injection was good at first, and not just someone's weird personal code style choice.
I thought it was just people being "Enterprisey" which I'd encountered many times over the years.
Once I committed to unit testing, I realized how necessary it is.
Unfortunately I still encounter customers who haven't bought into it and as a result have untestable code. It's so hard to go back and retrofit testing.
In many cases mocks are now over used where previously they were important in say 2008. Especially now with languages that support functions as objects, better generics, and other features which weren't common a while back. Likewise frameworks are and languages are generally way more testable now which means you're doing less backflips like static injecting wrappers for DateTime.now into libraries to make tests work. This further allows more contract and less implementation specific testing.
As with most things there is a lot of nuance/art to doing it well and smoothly
When programmers really embrace dependency injection like the parent comment, the implementation largely is the inputs, and your code expects them all to be implemented correctly (or mocked correctly by test code). I completely agree that mocks are overused, and their importance in 2008 were in my view a direct result of the popularity of dependency injection patterns.
Following that logic, the best way to remove mocks from your tests is to minimize dependency injection, relegating it all to a single place in the code wherever possible, and implementing all other domain logic as pure functions of input to output. How to test that code which touches other systems? Integration tests (or multi-system tests or whatever you like to call them).
Or do you mean specifically "expecting" interactions with those mocks? Because I agree that's usually not that valuable.
Over time I have favored very basic unit tests and leaning in more on automated integration and regression tests. I know the theory of unit tests catching things earlier, I just don’t think it matters in practice.
When I code review, I try to make sure I call out "fake tests".
It's relatively uncommon for handler/controller code to have logic worth testing, most of the time it's just maintaining the separation of layers and concerns by wrapping gateway/repository calls. All there is to assert about it is that "it calls this function in the next layer."
Every once in a while there's nontrivial functionality to test in the middle, and unit tests can often be a good fit for that, but in my experience it's more the exception than the rule.
One of the only legit use cases for mocks that I have personally come across is validating things like a sequence of API calls to an external service, or queries to a database where there is a check that certain efficiencies are guaranteed, e.g. verify that an N+1 select problem doesn’t creep in, or knowing that a app-level caching layer will prevent redundant API calls.
But that's a long way from glorious full DI containers where you never call 'new' in your code anywhere and all object creation can be dictated by config. I suspect that must be only the kind of thing that people who maintain 1,000,000 line codebases that are at the center of massive bureaucracies.
Just vanilla C++ classes, and virtual interfaces if we need to mock things for unit tests.
No automatic wiring of the hierarchy.
Although you might say that microservices are like a distributed DI framework that would let you rewrite or mock components provided that the rewrite/mock adheres to the API framework (curiously, I've actually seen that used in tests with a quick and dirty in-memory sequential unauthenticated server used for testing clients where the server passed the same API test suite as the real server).
The idea that I take advantage of good abstractions and I send those objects into my classes that need to perform actions via those abstractions made a lot of sense. Helps enable good polymorphism, as well as unit testing and other things.
I don't think I'm doing it justice, but the idea took a good while to understand there reasons behind it. Some books that helped me grok the idea were
- Patterns of Enterprise Application Architecture - Clean Architecture - Architecture Patterns with Python
along with running into problems that could be easily solved with a decent abstraction at work and learning to apply it directly.
I always hated testing and I still do, but every time I commit to doing it right I catch so many errors before QA.
The term is unfamiliar to me -- is it related to "fault injection"?
But this makes testing A in isolation difficult. When testing A, you want to mock out B with an instance the test can manipulate.
So we want A to not create B, instead we want B to be "injected" into A. The general strategy of having B passed into A is called dependcy injection.
If you've ever written a constructor for a class that has arguments (within the constructor signature) that are used by the instance of the class when instantiated then you have done dependency injection, or put more simply 'passing stuff in' which was eloquently stated in another comment on this thread.
In any case, DI is not at all a new trendy term. Inversion of Control dates back to the gang of 4 patterns book from the '90s. Yes, constructor parameters are one way to implement DI, but not the only one. I'm ambivalent on the whole pattern movement, but they are a great educational tool for novice programmers, and it is good to have some standard terminology for core patterns.
To put it another way, constructor based DI is not simply the use of constructor parameters, it is understanding the OO design principle that side-effecting code should be isolated into objects, rather than just dumping a bunch of DB queries into your functions, like we did back in the stone age.
it makes the code cleaner and testable.
A. Also depended upon by other, coequal unrelated classes, possibly maintained by others, OR
B. Depended upon only by a single class (of higher functionality)
Situation A is sometimes called a portability interface; B might be called an internal structuring interface.
The difference has crucial implications for social power relationships between the human developers and users involved.
This way, your code isn't bound to a specific implementation.
Some DI frameworks even go so far and define all resources in a config file. This way you can switch out the implementation without a recompilation.
https://hasura.io/blog/build-fullstack-apps-nestjs-hasura-gr...
Dependency Injection solves the problem of when you want to create something, but THAT something also needs OTHER somethings, and so on.
In this example, think about a car.
A car might have many separate parts it needs:
class Car {
constructor(wheels: Wheels) {}
}
class Wheels {
constructor(tires: Tires) {}
}
class Tires {
constructor(rims: Rims, treads: Treads)
}
class Rims {
constructor() {}
}
class Treads {
constructor() {}
}
We can manually construct a car, like: const car = new Car(new Wheels(new Tires(new Rims(), new Treads())))
But this is tedious and fragile, and it makes it hard to be modular.With dependency injection, it allows you to register a sort of "automatic" system for constructing an instance of "new Foo()", that continues down the chain and fetches each piece.
class NeedsACar {
constructor(@Inject private car: Car) {}
}
And then "class Car" would have an "@Inject" in it's "constructor", and so on down the chain.When you write tests, you can swap out which instance of the "@Injected" class is provided (the "Dependency") much easier.
The alternative to dependency injection is for functions to instantiate dependencies internally rather than having them be passed in from the calling context.
The abstract concept of OOP (messages between complex objects, as defined by Alan Kay) is an attempt at mimicking biological systems. Most modern languages implement data abstraction, but call it OOP, where they encapsulate some functionality with the data it operates on. Really helped with varying data formats in the AirForce in the 60s, apparently. There isn't anything wrong with this abstract concept either - it's a way of structuring a solution, with trade-offs.
Support for unit testing and mocking has little to do with OOP, and everything to do with the underling platform. Both C++ and Java, for example, do not have a special runtime mode where arbitrary replacement of code or data could occur. This is necessary for mocking functionality that is considered implementation detail and hidden by design. The hidden part is great for production code, not great for testing.
For example, if an object in java has a field like 'private final HttpClient client = new CurlBasedHttpClient();' this code is essentially untestable because there is no way in Java to tell the JVM "during testing, when this class instantiates an HttpClient, use my MockHttpClient".
Kotlin fixed some of that with MockK, which can mock the constructor of a Kotlin object, and you can return your mock implementation when the constructor is invoked.
Clearly, it's a platform issue. There could be a world where you could replace any object in the stdlib or any method or field with a mock version. JavaScript is much more flexible in that regard, which is why unit testing js code is much easier.
The root of it all stems from the fact that unit tests need to change some implementation details of the world around the object, but production code should not be able to, in order to get all the benefits of encapsulation.
If you get rid of modern OOP, you are swinging the pendulum in the opposite direction, where your tests are easy to write on any platform, because everything is open and easily accessible, but your code will suffer from issues that creep up when structures are open and easily accessible, such as increased coupling and reduced cohesion.
I stand by my statement that OOP is totally unnecessary.
Similar, OOP is an obfuscated way to run a function with a context. The first time you separate the data in the context from an object, it’ll be hard to get it right and make it easier than to just use Objects and Methods. But once you’ve done it two or three times, it’s as easy as breathing.
You can optimize loading the context to be better than copying a bunch of unaligned data in lots of ways, but polymorphism is a common way to get there.
Using a totally non-OOP functional style, you can either instantiate state within a function or pass it in from the calling context, which is the same trade-off that dependency injection targets.
However you structure it, there will always be "glue code" that ties the nice inmutable code with the outside-interacting bits, and if you want to unit test those, dependency injection (with functions or state, not classes or instances) is still the way to go.
The few times I had to use Java afterwards I felt the same - all OOP features were unnecessary or at least didn't feel like the most straightforward approach. Nowadays I never use classes in Python, JS etc., it's just not needed - and in the case of Python it makes JSON insanely cumbersome.
It made me click about the saying that science advances one funeral at a time. It is easier to rally people of similar thought than to change people of opposite opinion. Not impossible, just more difficult. It explains a lot of thing in my opinion.
1. It is easier to start a start up than to convince your boss to take a certain product direction. E.g to not pursue certain pursuit, as outlined by John carmack's departure from meta. The ultimate judgement will be whether YOUR idea survive rather than whether your boss buy your idea. And I prefer bootstrap, at least for now, for that reason.
2. Never attempt to change your spouse. Find the common ground instead.
3. Empathy is mostly about experience sharing. You can't have people feel something they never experience before. If you can empathize, it means you have experience to draw similarity between. Imagine teaching a 18yo to be a father, that's how preaching people to be empathetic felt like.
Imo, ideas form within the spectrum of indoctrination and "epiphany".
Indoctrination is something that you hear over and over, and sort of taking it as granted. Parent to children, school to students, religion to devotees, government to citizen, social media to general public, hackernews to us developers, all impart their flavors to our mind and we act according to it. Take sleeping for example, sleep well, sleep long enough, sleep early shouldn't elicit much debate, we treat it as truth more of less. On the other hand, dietary cholesterol consumption, which is considered, advertised and indoctrinated as bad for more than 5 decades has now garnered some attention to consider otherwise [1][2][3]
Epiphany is circumstantial, event driven. Either you have a lightbulb moment, or reality decides to slap you in the face. Having a close friend/relative die at a young age will either makes you treasure life a lot more, or send you into deep depression. But it will change you forever for sure. On the other hand, again taking sleeping as an example, I have been a night person since teenage, habitually sleeping at 3am, 4am, feeling drowsy in the morning and study/work in the late evening. "I prefer working in silence" is the excuse I gave to the then self. One day it dawn on me that there are only 24 hours a day, if I can get things done in 1am before sleep, I can equally get things done in 6am after sleep. And if I can rest well, I can get things done quicker. No new information just one day I viscerally feel that shifting the biological clock earlier makes more.
1. https://en.wikipedia.org/wiki/Ancel_Keys
At the start I have more processing power and short term memory grunt. At the end I have far more knowledge loaded into cache.
The first part of the ole sleep schedule is just plain getting enough REM.
The next level of coordination is scheduling your time to take advantage of the morning horsepower, and end of day creativity.
You can have an impact there. But you can't cause immediate change.
Over the past few years, I've been teaching myself how to write better. I'm not talking about elementary syntax or grammar. I'm not talking about writing the traditional, American English five paragraph essay. I'm talking about writing longer pieces of prose, articles or blog posts or short chapters with word counts ranging anywhere between 1500-3000 words. On this journey of improving the craft, I realized that one of my biggest struggles was writing cohesively. Although I've been able to get lots of words on (digital) paper, eventually I'd get lost in my own web of thoughts, the article itself totally incoherent, no structure, no organization.
Constructing outlines and reverse outlines[0] has helped me tremendously. It's not easy ... but the concept itself is finally — years later — starting to click.
[0] - https://explorationsofstyle.com/2011/02/09/reverse-outlines/
Something I realised much too late was how delaying the move to the keyboard was a useful strategy. Now I mostly start with pen and paper, sometimes with a mind map if I really need to organise my thoughts, and only hit the PC once I have a pretty firm idea of what I'm going to say. I've even done first drafts in longhand, which feels like double handling at first, but there's something about that added filter of transposing from paper to computer that helps you reassess objectively what it is that you're writing.
This is a great way to refine your ideas before you write and makes it easier to develop the outline as an assembly of different notes that you already have.
An Executable Strategy for Writing: https://notes.andymatuschak.org/z3PBVkZ2SvsAgFXkjHsycBeyS6Cw...
The main insights for me were: - Using notes as a way to organize one's writing (by assembling ideas together into an outline, then filling out the details) to avoid writer's block. - Creating "logs" around concepts that extract useful ideas from ephemeral observations and distill concrete insights over time. - Using an "inbox" of new ideas as a way to focus attention and perform spaced repetition of concepts. - Organizing notes via tags, backlinks, and associations/outlines rather than as a hierarchy. - Incrementally iterating on atomic concept notes to form larger chunks in memory which allows thinking about more complex ideas and recognizing patterns.
It sounds dumb, but this year it clicked for me how big of a difference a poorly written text compares to a well written text.
Hope your training pays off, itsmemattchung!
I got Joseph M. William's "Style: Toward Clarity and Grace" recommended [1] so you might be interested in it. I read the introduction (I'm planning to read it this year) and with the few examples the author presents it sells the idea that prose doesn't need to be utterly complex to communicate ideas and concepts succinctly and clearly.
My top 3: 1/ Edit ruthlessly. Every single word is reduced to its simplest form and pulls its weight--it has a damn good reason for being there. 2/ Aspire to write at a third-grade reading level. Readers prefer simple writing even when reading deeply technical content. 3/ Start your most important conclusions up front, not at the end. You're not writing The Sixth Sense. Do your reader a favor and tell them the big reveal first. You can then follow through and persuade the reader why your conclusions are right.
It's just so much experience to avoid those mistakes.
Also, obligatory RiffTrax on outlines: https://youtu.be/yfcyVtD8-Dk
Out of curiosity, in the skit, do you know which book the actor is reading? In the skit, at the top of the page, the book is titled: "Making outlines and summaries"[0].
[0] Fast forwarded to specific time: https://youtu.be/yfcyVtD8-Dk?t=129
A couple seconds before yours, he has an index card with the title “Directing Learning 371.3”
A quick search yields the title: https://openlibrary.org/works/OL7389387W/Directing_learning
But I was unable to find a physical or digital copy available. Good luck!
It's easy to think you have people skills because you listen to others and repeat their point of view back to them before telling them they're wrong. And unfortunately you can get quite far in the business world simply by being good at demolishing other people's positions.
As a mental exercise, a few years ago in meetings I started deleting the names from the running transcript I keep in my head. "Joe said X and Jane said Y and then I said Z" was replaced with "we said X, then Y, then Z." It was a remarkably effective device to rise above the "who's going to win?" attitude and instead think about the best way for everyone to proceed as a group. I suddenly started to get what people say about meditation and removing the "I" perspective from your life. If instead of being you, you're a quadcopter hovering near the person you call yourself, it's so much easier to get your ego to shut up and start listening for once.
Or, cynically, maybe it's effective to adopt the group-first mentality once you have the personal momentum from years of being self-centered.
f(x) = 2x
g(x) = x + 5
It should hopefully be obvious that "nesting" the two isn't commutative: g(f(x)) = (2x) + 5 = 2x + 5
f(g(x)) = 2(x + 5) = 2x + 10
One miraculous fact here is that no matter how many functions we stack, we only ever have two terms: x and a constant term. Thus, we can represent this 'linear system' in terms of its coefficients, as long as we agree on an order: e.g. 2x+5 might become "2,5" in our system.You can do "multiplication" on these packs to compose them together, and even though the rules feel obtuse in abstract, they follow the logic of function composition. A matrix represents a similar function transform, only it's in 3 dimensions, and in order to handle rotation, it needs to swap around x/y/z. So an identity matrix is really saying:
f(x) = 1x + 0y + 0z + 0
f(y) = 0x + 1y + 0z + 0
f(z) = 0x + 0y + 1z + 0Or you can learn about them in school and be given neither a real-world use case nor a rationale or derivation for mmul.
Or you can encounter them in college, and there the experience depends on whether it’s a good or bad kind of a linalg class. But even there – after all the painstaking definitions and lemmas and derivations – it’s easy to end up not grokking how mmul does what it does even if you grasp all the building blocks – vector spaces, bases, how matrices can represent bases and systems of linear equations and linear operations on vectors and how they’re all kinda equivalent.
We had a week-long group project in the first year whose theme was "a 360° pong". Our group decided that it meant the paddles had to travel in a circle around the playfield and I've decided that matrices and stacked 2D transformations were the way to go. The other students gave me blank stares, I basically said "trust me, you don't need to understand them to use them" and off we went coding.
We ended up with the most impressive pong clone out of all the groups, as nearly all of them had axis-aligned rectangular paddles going around a rectangular path, whereas ours had a stretched half-circle paddle going around a circle path always facing the center of the playfield, alongside extra features like walls and a level editor.
First class the Monday morning after, the math teacher announced that the next topic was matrices. We stared at each other in the group and grinned manically.
If anyone wants to stare at an old C codebase from 10 years ago by a bunch of first year students: https://code.google.com/archive/p/pong-norris/
Saw it explained in a single slide of Andrew Ng's ML course and everything clicked perfectly.
Where I lived math was taught like fucking shit, it was all algebra and zero context as to why it could be useful in real-life scenarios, zero abstraction such as visualization or metaphor. Everyone involved in concocting that pedagogic aberration should feel terrible about it.
Institutions such as Police, Universities, NHS, Scouts, MsF, Religions, Churches, YCombinator et alia have a hierarchy of internal loyalties in strict precedence:
* The Staff Member
* The Staff Member’s Family
* The Friends of the Staff Member
* The Colleagues of the Staff Member
* The Group within the Institution the Staff Member belongs to
* Wider Groups in the Institution
* The actual powerbrokers within the Institution
* The acknowledged Leadership of the Institution (may be different to actual powerbrokers)
* The actual goals of the Institution
* The acknowledged goals of the Institution (may be different to actual goals)
* Helping YOU in accordance with what the acknowledged goals of the Institution are…
Only when all the loyalties in that list are satisfied is there the slightest chance you may get anything positive from the Institution.
Despite the long list of higher precedence loyalties it is still frequently possible to have positive outcomes…
But because it is a long list of loyalties far more important than helping YOU, there are often breaks.
And because people and families and relationships are involved they can change at any moment.
So trusting Institutions to do the best for you or act honourably needs to be carefully weighed against the likelihood that will happen
2/2) Mortgages
How mortgage repayments change over time as you pay off some of it (YMMV)
This is a big one people buying houses recently due to FOMO don't understand: you're really not building equity the first few years because almost all of your monthly payment is going to interest. The "irrecoverable cost" of owning a home can often be higher than renting in some HCOL areas now, although I understand that people buy for more emotional reasons (e.g. not wanting to yank their family around to a new place each year to avoid being at the mercy of a bad landlord on each lease renewal).
The caveman pressing the alarm button is something I think of a lot.
I presume you already know of this book: The Body Keeps the Score: Brain, Mind, and Body in the Healing of Trauma by Bessel van der Kolk.
When I was a junior developer I used to overthink and overdesign solutions, most of which was never needed. It took many years and a lot of battle scars to realize that less abstraction is more. Today I see a lot of juniors do the same mistake and I ask them to revise their designs to keep it simple.
Each abstraction has a mental cost for reading and understanding the code so I try to be sparing. Too many code bases in my youth were a nightmare to navigate because I could never find any actual concrete code.
* everyone has a set of habits that served them well during childhood, but may be maladaptive as an adult (e.g. getting angry is almost universal a sign of this maladaptive childhood habit rearing up). Book recommendation [0]
* the fear of hope is a key thing to understand when it comes to why people (myself included) hold themselves back. Taking the first step can feel terrifying because it demonstrates that one is responsible for creating one's own life. Book recommendation [1]
The only way out of this is to deliberately design your days so that you get the most out of them, even if it is fumbling at the start. Add in some times to relax here and there, but if you have a plan, it's much easier than staring at a blank Saturday with the vague goal of "I MUST learn JS/Rust/Go/Scala or my career will be over!!!" and then getting nothing done.
[0] https://www.goodreads.com/book/show/23129659-adult-children-...
[1] https://www.harpercollins.com/products/how-we-change-ross-el...
It wasn't until maybe my third year of algebra that I realized an equation means both sides of the equation are equal to each other, which means you can perform any operation at all to both sides, and the result will still be equal.
I still remember that "click".
What manual process does ChatGPT speed up?
When you simply Google something, you're presented with blogs, articles, stackoverflow pages, github repositories, documentation, ... you're still left with the manual process of parsing all of the results, e.g. turning what you've read into runnable code, summarising and taking notes in a format that is easy for you to follow.
Furthermore ChatGPT allows you to have a dialog about the results. Maybe you have two equally interesting results and don't know which one to go with? Usually you'd have to do "sub-googling" in cases like this and once again parse, aggregate and format those results. With ChatGPT you can basically just ask it to expand on the previous results and help you figure out what to do.
Save humans time.
Save humans time.
When I first encountered recursive functions when I began learning programming I had a really hard time understanding what the function would do and how it would play out as it called itself. I couldn't think through the recursion and imagine what would happen. Nor did I really understand how to usefully apply one to a situation. I would either use a loop or a recursive function that utilized lots of external state to work.
When I later encountered functional programming, having learned programming with OOP languages, it was a real mind-bender. I finally started to understand it but when I encountered the need for recursion in FP, it really threw me for a loop. How the hell was I supposed to do this without external state? So it was that restriction that really let me understand how to create a recursive function that could return something useful with nothing more than the initial input. This new understanding also gave me a better appreciation of functional programming and the idea of pure functions.
[0] https://www.youtube.com/watch?v=dngqR9gcDDw&list=PLXD32Z5YYi...
Quantum computers. I was so deceived by all the hype that it took me long to see it as SU(N) matrix product accelerator.
Zero knowledge proofs and Shamir transform to non-interactive protocol. The tunnel analogy did quite a harm to me, also the math was just unbearable (defining set of languages and etc). Only a year ago when I got an old paper on “Observational wallets” describing how to prove ‘log_g A = a’ and ‘log_g A = log_g B’ the whole ‘proving statement without revealing secret’ after long frustration and angst made sense to me. If I had encountered finding Vodo analogy first, It would have clicked much quicker to me.
I no longer know when I figured out this trick, but I have been using it for at least twenty years. I wish I had known about it earlier.
Lately I've worked for a number of companies where no one -- like seriously, absolutely zero developers on the team -- understand normalization. They may perform a shadow of it, because someone somewhere told them to, or some article said this is how you model data that looks like X, but they don't get it. Predictably, their data models are absolute garbage. Teaching them is an uphill battle because they don't care, they're not curious, and their web frameworks (cough Rails cough) have taught them to distance themselves from the database and treat it as dumb.
The other one was Rich Hickey's "Simple Made Easy", which I first watched in 2013. I enjoyed it even then but I didn't really understand what he was getting it. After working with, and building, some systems done in a functional style, I feel like I figured most of the ideas. That would have been some time in 2017 so, definitely took a while to soak in.
1. The nature of variance in regression methods. The first time I heard about "soaking up the variance" in modifying stat models in brain imaging I had no idea what was going on. Then I spent a few years doing brain imaging and modified models to "soak up the variance" differently. Over the few years I came to grok the concept. I had a electrical engineering PhD colleague with an impressive resume who would argue with me about the effects of models. I realized that he knew the textbook stuff (which I didn't), but he didn't actually grok the concepts (which I did).
2. Once in an office was I mystified by hot spots and cold spots of wifi signal. One of my colleagues, a brilliant engineer, then explained to me what might affect the shape of the hot and cold spots, which is why he sits in certain places. I asked him if he had an intuition of how RF fields are distributed and he said yes, so I asked him how. He said, "I used to do a bit of tensor calculus".
————————
You know, throughout my years in business I discovered something. I would always ask why you do things. The answers that I would invariably get are: “Oh, that’s just the way things are done around here.” Nobody knows why they do what they do. Nobody thinks very deeply about things in business. That’s what I found.
I’ll give you an example. When we were building our Apple computers in a garage, we knew exactly what they cost. When we got into a factory in the Apple II days, the accountants had this notion of a standard cost, where you kind of set a standard cost and at the end of the quarter, you would adjust it with a variance. I kept asking: why do we do this? The answer was, “That’s just the way it’s done.”
After about six months of digging into this, I realized that the reason they did this is that they didn’t have good enough controls to know how much it’s going to cost. So you guess. And then you fix your guess at the end of the quarter. And the reason you don’t know how much it costs is because your information systems aren’t good enough. But nobody said it that way.
So later on, when we designed this automated factory for the Macintosh, we were able to get rid of a lot of these antiquated concepts and know exactly what something cost.
So in business a lot of things are folklore. They are done because they were done yesterday. And the day before. What it means is, if you are willing to ask a lot of questions and think about things and work really hard, you can learn business pretty fast. It’s not the hardest thing in the world. It’s not rocket science.
Steve was fortunate in that he could do whatever he wanted which isn't always the case for everyone else.
Then it all just clicked. I still remember that day all these years later.
Other notable mentions, in no particular order:
* Perfect is the enemy of good enough. Did n't really appreciate this idea until around 2 years into my career.
* How to be professionally displeased at something. Early on my career I would get way too angry at incompetent colleagues peeing in the pool, e.g. bad code, design, management, etc. I would complain quite a bit! It only clicked ~2-3 years later into my career when I figured that one's displeasure at a situation should be a function of both how bad the situation is and how able you are to improve it. When you offer constructive solutions to incompetence (suggest alternative algo, management style, library, tool, etc) whilst not actually mentioning what is wrong, instead of just fruitlessly reminding people of what they did wrong, people become far more cooperative and receptive, etc.
My tin-foil-hat pet-theory is that the relatively recent tyranny of low expectations and "participation award" society has on average made younger people much more sensitive to negative comments about their work. The extension of that is that people end up robbed of more detailed reasoning about what they did that was wrong.
People are interesting!
Hey thanks for sharing! Can you maybe expand on this in any form? I'd love to get that kind of analogy. Maybe you have a blog post about it? That'd be amazing!
IP address: House
Port: What kind of thing from inside the house you want
Gateway: House #1, start of street.
DNS: Tells you which house number corresponds to a family name. "Oh why yes, 'samhuk' lives at house # xxx.xxx.xxx.xxx
The analogy goes on and on. It's how I have always thought about networks since.
[0] http://www.steves-internet-guide.com/tcpip-ports-sockets/
It's very readable.
Almost no one I encountered bothered to actually explain anything. They simply regurgitated things and I guess expected me to somehow intuitively understand something or other.
My single largest goal when I'm teaching, is to find an appropriate analogy to a concept that my student already grasps, and bridge it to the new concept. Some fields make this super easy -- MechE and electronics, for instance, if you understand one, you're well on your way to understanding the other -- and some make it super hard.
Music theory is descriptive, not prescriptive. Is it any surprise that something we had to invent a whole new symbolic notation for is difficult to connect to concepts we can describe in natural language?
If you want to go really deep into the philosophy of music, to understand it from "first principles" so to speak, I highly recommend Leonard Bernstein's lecture series "The Unanswered Question" - https://en.wikipedia.org/wiki/The_Unanswered_Question_(lectu... (available on YouTube).
To paraphrase Bernstein's comment from his book "The Joy of Music": we need to stop comparing Beethoven to grassy fields and mountain streams. A "major seventh" or a "plagal cadance" are themselves the description of those qualities. By all means use music as metaphor, but when you're trying to describe it you're going to be using terms specific to its domain.
>The best math textbook (Theory of Algebra) I ever read had little sections about the person who revealed a particular subject, why they were studying it, and how the subject is used.
I've found the best type of books provide motivation for concepts, how they have evolved, etc.
Take Computer Science for example, many of its concepts were area of research for decades but from a student's perspective it seems these concepts were always here instead of being constantly refined until the states they're now in.
- Learn the definition - Learn the motivations and history - Peruse a few examples - Try to map the above to a brief synopsis that explains the concept in intuitive terms that relate to your own life. Rely on pictures.
Finally, I find it helpful sometimes to try and "deduce" identities from "first principles". e.g. assume I didn't know that n^0 = 1. How might I reach that conclusion? If I have an understanding of what exponentiation means I should be able to come up with a few different propositions (these could even be relatively informal) that make such a conclusion make sense.
My childhood was rife with mathematics teachers that focused more on rote memorization of identities instead of careful explanation of definitions and development of "intuition". There's pretty much no better way to ensure you'll produce students that dislike and suck at math for the rest of their lives than proceeding by mind-numbing rote memorization.
Music theory is not inherently complex, but the notation adds incidental complexity -- it's sort of like the QWERTY keyboard; once you're stuck on a suboptimal way of doing things it's hard to move off.
https://www.punkademic.com/course/music-theory-comprehensive...
It took several near burn-outs and tons of hours of my life lost due to frustrations before I truly understood this. The world is what you want it to be.
Hopeless because everyone in the world is so selfish? You create the world you live in. Live selfless and see the world transform around you.
Frustrated you have to constantly interfere to make someone good at their role? You have to yourself believe they are the best in that role and then see them flourish.
Afraid your relationship might not workout? The fear itself will make your worst thought a reality.
Your life becomes extremely easy once you truly understand the world is what you believe it to be.
Note: There are of-course strings attached to this concept, but understanding the power of this is life changing.
I don't think I really understood that completely until I started TA-ing.
Good problem sets that aid studets' intuition aren't easy to come by, oftentimes they're either too easy or too hard.
I woke up at 2am with the intuition that light was like a lightning strike across spacetime, with no time and no distance between the emitter and absorber.
Why and how, though. What are the fully-baked implications.
What I still don't understand, though, is how photons can "wave" or how "long" a photon is (or how they can have any "length" at all).
What I also didn't understand back then was how light can be slower when there is matter present -- or how a photon could somehow know that it was supposed to cause another, very similar, photon to be released in just the right angle when it hit something that, if zoomed out enough, looked like a mirror. How on Earth could the photon know that the photon it was hitting was part of a flat surface and what its orientation was? I even started using that mirror question as a litmus test of physics students once I started at uni (comp.sci.) -- pretty much all of them failed, not by not knowing the answer but by not understanding that this was even a question that required an answer.
I now know that the photon -- the wave(s) in the electromagnetic field -- cause atoms (and in particular their electrons) to move about a bit, which in turn cause waves in the electromagnetic field. And by adding up all these waves, we get the resulting wave which moves slower than c and which might seem to have been reflected at an angle. Why my physics teacher in high-school didn't tell us that, I don't know.
Many spiritual teachings say that consciousness is made of light.
https://en.wikipedia.org/wiki/Cherenkov_radiation
There, e.g. gravitational waves will be at c (in a vacuum), but wouldn't photons experience time there?
Edit: I suppose the photons are still actually moving at c
Then one day I was modeling something in a spreadsheet, and I thought to myself "you know, what I really need here, is 3rd axis to this spreadsheet". And for a few minutes, I thought I had invented a new form of spreadsheet/structure, and was considering trying to build a 3d spreadsheet program.
But, of course, suddenly everything I'd read about tensors and not understood before snapped into place, and I realized that this is exactly what they are (to be precise, this is a special case of a tensor, the contemplation of which caused me to understand what the general case is, and why e.g. a scalar is a rank 0 tensor, a vector is rank 1, a matrix is rank 2 my 3d spreadsheet idea is rank 3, etc).
Really.
I was super annoyed and insanely annoying to work with for years.
Then I understood that difference is hard to cope with, but more often than not, good. As it trades some short term efficiency to long term one.
Same with your output. If it is dumbed down to a level everyone can understand it, you really learned it.
Not because I had a strike of common sense, but because I actually cared very much and started to listen to others. I didn't want to be horrible to my kids.
So "starting to listening to others". Every troll has a kernel of truth. And sometimes what you consider a troll isn't one in the first place.
Which is very apropos those days, where everyone is confined in their own echo chambers by all those clever social media algorithms that always favor short term bliss.
And yes. Trying to explain things to my kids enables me to understand those things way deeper.
1. The Monty Hall problem
2. The Wason Selection Task.
I read about the first one eons ago and was impressed that Marilyn Von Savant was vindicated. Shoutout to her!
The name Wason was unknown to me but I bought a book called The Oxford Companion to The Mind (new in 1987!) and his 'task' was featured in it (pg. 639 in my edition). I spent a lot of time satisfying myself as to the answer and kind of got there. This Christmas I am reading Stephen Pinker's "Rationality" and the description of both have allowed the penny to fully drop. I hadn't been thinking about these puzzles for ages and then when they cropped up "unexpectedly" I grokked them easily. They "clicked". There is a certain type of wisdom that comes with passed time.
The only things I’ve seen people get more upset about than MHP is infidelity and politics.
It sounds obvious when you first think about it, but I spent a vast majority of my 20’s with a view of the world filled with “oughts” instead of “is’s”, especially when it comes to things I can’t control. I.e., people “ought” to behave a certain way, versus the way people actually behave. The way companies/governments “ought” to operate, versus the way they actually do.
Thinking in terms of “oughts” can really cloud your judgement in ways that you might not be totally aware of. I guess this is kind of like the “realpolitik” philosophy, but coming to this realization in my early 30’s actually made me a lot happier and less confused about why the world is the way it is.
Entropy in classical thermodynamics is presented in a mysterious way that leads to confusion.
Entropy in statistical thermodynamics, however, is logical. Once one understands basic statistical thermodynamics, entropy isn't mysterious.
The book in my statistical thermodynamics class was An Introduction to Thermal Physics by Daniel Schroeder, which is an excellent book that I've referred to many times since.
The first time you study entropy, you won't understand it. The second time you study it, you'll think you understood it until you realize you didn't. By the third time you study it, you just don't care anymore and just use it.
10 years after graduating, and I haven't encontered entropy again after the second time, so you can guess where I'm at in this quote. But thank you, for now I know how to attack it if I ever need it again.To me, the issue with entropy is that it's initially presented without clear justification, so people don't know why it's important. Statistical mechanics made it clear to me that the state with the most entropy is the most likely to occur in equilibrium. (Statements about entropy representing "disorder" and whatnot in my opinion are handwavy, often lead to confusion, and should be avoided.)
Edit: but that was only after I had grokked Shannon's paper on information theory, which I felt was pretty intuitive.
I was part of a choir in high school and early college, but never managed to get good at this, even though I knew well how skilled singing should sound.
More than a decade later, when I was really exhausted after tending to my infant child I let out a sigh of the same type that we did as exercise back in the choir("Aaaaaaaah"). To my surprise it was almost effortless despite making quite the sound due to it being more or less at the resonance frequency of the bones in my skull.
And then it dawned on me. It's essentially turning yourself into an elaborate fart pillow.
Of course there's much more to that in things like posture and the mentioned resonance, but I had that covered from years of training. The only piece missing was using the diaphragm correctly.
Now I sing daily and while my range is pretty average, I don't strain myself any more and can do it for hours. Also the tone is just so much better now.
This paper was the catalyst to me finally grasping some of the details: https://arxiv.org/abs/1812.01537
At some point I realised the connections between the two worlds e.g., graph operations as linear algebra [0] or the transition from continuous Laplacian to graph Laplacian via a discrete Laplace operator [1]
I'd been writing DSP code in C and MATLAB during undergrad while thinking I knew every possible aspect thanks to the deep study we had as part of coursework across all the transforms methods in our ECA & Communications coursework in India. Also, dad was a self-taught hands-on Analog electronics whiz whose day job was in Telecommunications Training, and I had uncles and aunts in the Telecom/Electronics/ATC industry, so I had all these resources from a very young age to revisit the concepts that were being taught to me in school, against practical applications over and over.
In week 2 or 3 of ECE490 at UofR, Prof. Heinzelman[1] broke a barrier that I did not know existed in my understanding of DSP. It was pinned to me realizing that the intuition between Fourier and Laplace transforms being the same. It was a moment that I haven't experienced since, in that I felt my brain got re-wired within that hour. It must help that her father[2] basically wrote the textbook on speech processing.
Laplace transforms work on systems with attenuation—that’s the main advantage.
Because the kind of transform was swapped out anyway, people used the chance to often only define one-sided Laplace transforms that only work for t > 0 (because as an engineer, thats the systems you want anyway).
There’s a direct correspondence between the (usual) one-sided Laplace transform and the (unusual) one-sided Fourier transform for that reason.
Since you usually have systems where f(t) = 0 for all t < 0 anyway, the distinction one-sided or not is not so important in practice for understanding.
I've had many eureka moments when I suddenly realise what or why this thing from years ago is important.
I think teaching music theory with both what and why (with examples) is essential.
I still have haven't found a book that does a good job of it and keeps it interesting. Any recommendations?
[0] https://en.wikipedia.org/wiki/Axiom_of_choice
[1] https://en.wikipedia.org/wiki/Tychonoff%27s_theorem
[2] https://en.wikipedia.org/wiki/Open_mapping_theorem_(function...
https://intercoolerjs.org/2016/01/18/rescuing-rest.html
much later:
Predicate Calculus is used to show that the path followed by a Process through a Cartesian Product space (created from all the memory variables in a Program) is the one you had in mind w.r.t. its Specifications. Suddenly you start to understand basic Set Theory, Types, Relations (Functions) and Logic.
I was fortunate to have a great teacher which taught OOP by focusing on design patterns, dynamic dispatch, composition over inheritance, etc, etc, the really foundational concepts.
I was too young and naive to fully understand all the concepts, I just thought writing Java was cool! Ah.
Many years later, I really realized how to apply design patterns to solve real problems in a large production codebase and it all clicked then and in retrospect that teacher was really amazing, I just was too naive to realize it back then...
Richard Bellman just wanted to give a fancy name for mathematical work he was doing without being suspected of it.[1]
[1]https://en.wikipedia.org/wiki/Dynamic_programming#History
I had read a bit about different types of thinking but I didn't really understand it so well until I saw a kid who had amazing visual thinking capability and could visualize years' old memories in a very detailed manner. It has also been related to photographic memory according to some research.
[1] https://en.wikipedia.org/wiki/Visual_thinking
Nikola Tesla's Creative Thinking Secrets: https://www.sers.si/wp-content/uploads/2014/10/angle%C5%A1%C...
This could be some fun reading for you.
I always found classical music to be a bit dead - beautiful, but dead : I guess I see it as a dead language, like latin or greek. The jazz I was given was fully written, so it was dead too, except in a few cases where I was supposed to magically improvise.
Then I 'got' Jazz, 25 years later : it's entirely about learning the language and grammar and vocab of music, and speaking it, creating new sentences and expressing yourself. The process probably matters more than the style itself.
SQL is something that is a permanent journey for me. It is a domain-specific language, so the nature of its use depends almost entirely on how the domain was modeled in the first place. Much of my interest has been drawn towards the modeling aspects and how we can arrive at schemas that business experts can tolerate.
Linear algebra properly clicked for me when I started getting into writing my own 3d rendering software. Systems of linear equations are absolutely everywhere. I didn't really tie together their use in control theory, DSP and graphics until I was forced to learn them "for real" to achieve my project goals.
[0] https://betterexplained.com/articles/colorized-math-equation...
3Blue1Brown -- But what is the Fourier Transform? A visual introduction.
Reducible - FFTs the most ingenious algorithm ever https://youtu.be/h7apO7q16V0 Veritasium - The Most Important Algorithm of All Time https://youtu.be/nmgFG7PUHfo
That's the way to understand electricity without analogies. :)
Anyway, voltage is always measured between two points (one is typically called "ground" but that's not important here.) It's a difference. (A difference of what? No one knows. That's just the way it is.)
Current is always measured through a single point. It's a count of the charge flowing past a point per time unit. (What is charge? No one knows. "Charge" is just a name for the mysterious something that "voltage" is a difference of...)
When electricity moves it obeys a (very simple) Law called (Ohm's Law) e.g.:
E = V/R
The current (E) is the Voltage divided by the Resistance.E.g. is I have a 5 Volt power supply and I put a 100 Ohm resistor across it (remember that voltage is always between two points) then 5/100 Amperes of current will flow through it.
Also, If I take just the resistor and drive 0.05 Amps through it, it will develop a voltage of 5 volts, as measured from one end of the resistor to the other end.
Now if that doesn't help you, remember the advice of John Von Neumann to Felix Smith: "Young man, in mathematics you don't understand things. You just get used to them."
I think you're being overly mysterious here. It's the number of electrons passing through the wire per second. And charge isn't the thing that voltage is a difference of; it's potential difference, as in electric potential energy. The "water in a pipe" analogy really isn't that bad; it's gravitational potential instead of electrical potential, and amount of water instead of amount of electrons.
- Expression as in someone expressing themselves, a tentative gesture.
- Evaluation as in scrutinizing something to learn what it's really about.
- Value as in "valuable".
We don't know if an expression is valuable until we subject it to evaluation, or we get an interpreter to interpret it for us.
So many useful groundings in various super important comp sci concepts.
The biggest a-ha! moment I've experienced was in my Comptuer Architecture course when it finally clicked how you could build up a bunch of logic gates into a real modern computer.
Later I realised that the benefit isn’t the code, it’s the freedom you gain later in choosing the implementation. You can create an interface and add a simple implementation, then later swap it out for something more robust. All you’re agreeing to now is the contract of what needs to be done, without any restrictions on how.
Sad that my math education was just focused on “memorize steps” for concepts that weren’t clearly explained.
1) I learn rote.
1.1) Almost no improvement.
2) I "get it."
2.1) My development in that area suddenly explodes.
This has happened with almost every software concept, from calculus, to Structured Programming ("Whatever will I do without my precious GOTOs?"), to Object-Oriented Programming, to Design Patterns, to Protocols, etc.
It usually only takes weeks or months, but I suspect some have taken years.
The former is for dealing with any situation where we can't control the inputs and outputs. The latter is for when we can.
*"Grant to us the serenity of mind to accept that which cannot be changed; courage to change that which can be changed, and wisdom to know the one from the other."
The other Windows-related idea that took an embarrassingly long time to work out is device / printer / memory contexts.
It wasn't until late teens/early twenties that lots of those piece of wisdom went from "cliché phrases you've heard all your life", to (often) deeply impactful aspect of human conditions.
The "road to hell" idiom explicitly didn't click until I had enough experience with counter-productive efforts who looks good on the outside, but actually fail to take into account a more nuanced reality.
It also kinda works with the distinction between "values I believe in" and "arguments articulated around shared values". Being able to disagree on something even when (especially when) it's invoking values I believe in is one of the most important thing I've gained as I matured, and yet it needs experience to 'click'.
i must have encountered it during my computer science classes and i certainly did some form of oo programming with LPC in MUDs, but only when i was programming modules in Pike for the Roxen webserver, it really clicked how oo programming worked.
in Roxen each http request causes a request object to be instantiated which lives for the lifetime of the request. further, each Roxen module gets instantiated as an object for the lifetime of the server process. the request object would call module objects to process the request. the modules would make changes to the request object which would produce the response to the http request, whereas storing data in a module object caused it to be persistent.
i have been working on this for a while when one morning i woke up with a literal eureka moment as i realized how objects and encapsulation worked.
this happened a few decades ago and it was the most clear moment of this kind that i can still remember.
An explanation of "interactive rebasing" to me might as well been an explanation of quantum entanglement to a learning-disabled ant.
Sometimes it still trips me up. I have an embarrassingly large number of copies of source folders, despite git's safety net of "don't worry, you can always restore it; pinky swear..."
Sometimes you just have to go on the journey to understand what stopped you getting to your intended destination.
It took me a while, but once it clicked, everything changed. Programming became a process of data consumption, transformation and then presentation. It was if/then/loops/classes/libraries/languages before that.
2. Entropy
The example of the messy room that gets messier with time is probably the worst. Entropy is everywhere (in real life or in IT); and it’s actually the reverse of that example. For me now, entropy is life.
3. Bitcoin
I was quite a crypto/bitcoin skeptic back until 2014-2015. The whole thing seemed like a ponzi/pump&dumb scheme. Until I read the book “Mastering Bitcoin”. It goes into the details of how Bitcoin works. That’s when Bitcoin (as a cool technology) clicked to me. I still see the trading activity as suspicious but I made my peace with it as humans doing what humans always do: speculation.
i was properly introduced only to oop, and grasped a little of fp here and there, especially learning go and javascript.
what i consider a 'click' for me is when i realised that all of these paradigms are interchangeable. like, an abstract method is just a function, or a function signature is the same as in interface with a single method.
after that i write code however it feels more appropriate for the situation i am in and don't think too much about fancy words and patterns. it really feels like programming languages are becoming 'native' for me.
(eg Gödel's https://en.wikipedia.org/wiki/Gödel%27s_ontological_proof#Ou... is an exercise in order theory, in which one proves that a certain axiomatically presented mathematical structure has to have a maximum, which then, for the religiously inclined, could be identified with God)
I have tried hard, and can't for the love of me understand what lies at the bottom of trade, what is the base value of assets / activity. It just doesn't click.
Questions like:
- Can a services based economy work if the consumers of the services weren't producing some non-services based value ?
- How can there be any economic value in middle-men ?
- Is speculation on artificially limited assets (housing) just a pyramid scheme ?
- How is it NOT a zero sum game ?
- Is a Fiat currency just 'vibes based economics' ?
Some students will like the sour candy; others won't. Some will like coconut; others won't. Some will love nuts; others will hate them.
Now you let the students talk to each other and trade candy. The ones who like sour candy but hate coconut will trade with the students with the opposite preference, and so on.
At the end of the trades, everybody is happier with their new bundle - why would they have traded otherwise? So value has increased. But this is magic - no new candy was produced! Through trade we have increased overall value - the exercise was positive sum.
With some effort you can see that a middle man might add value by expediting trades - connecting people who like coconut with people who hate it (suppose there are thousands of students in the class who all speak different languages).
And you can see how fiat currency might make things easier. Rather than having to come up with the barter value of coconut candy and sour candy to nuts, you can convert both to a single unit and then trade units.
The economy is not a zero-sum game because we are summing the value, not the prices, of the goods that are traded. If I grew wheat and you grew apples, then we can trade between us to mutual advantage, because after the trade we can both make apple pie (assuming we can find some cinnamon). The total amount of wheat and apples hasn't changed, but their value has gone up. Every trade involves two parties who must both believe that they will gain value by the trade. Of course it is possible for either party to be mistaken (or even deliberately swindled by the other party), but as long as the majority of trades have net positive value then the economy as a whole will be a positive-sum game.
- Can a services based economy work if the consumers of the services weren't producing some non-services based value?. Hypothetically, yes. But it would not be very wealthy. Examples are tourist oriented economies and cities like Las Vegas, New Orleans and Cancun. The reason is that they depend on discretionary income. When times are tough, service industry is hit hard.
- How can there be any economic value in middle-men? Middleman can provide value. For example, a real estate agent ideally speeds up your house search when buying and how long your house is on the market when selling. In many cases, saving time equals money.
-Is speculation on artificially limited assets (housing) just a pyramid scheme ? No. Housing is in the USA is a low risk investment. Artificially limiting it, decreases risk and makes it even more valuable. This is the opposite of speculation. We speculate with crypto and baseball trading cards as they are risky with arbitrary random monetary value. Ponzi schemes are outright theft as they are intentionally scams.
- How is it NOT a zero sum game ?. Classical economists argued trade increased wealth as it allowed for specialization.
- *Is a Fiat currency just 'vibes based economics'. I don’t follow what you mean. But even if there is no currency and only barter. We would still be dependent on government provided laws and security. Otherwise we would live in a society that would raid and steal what we want. In other words, trade and property rights are only possible because of government. Not in spite of government.
> Is a Fiat currency just 'vibes based economics' ?
I'd think of it more like contract-based/trust-based. If a government has promised you can pay your taxes and debts in a fiat currency, and you believe them, then you'll value that currency. You may need it some day. When the trust erodes, so does the value. I don't think this is simply "vibes", it's people behaving rationally about what they expect the future to hold. And in fact this is just what "value" means for all things generally. Someone thinking rationally about how to value a gold-backed currency is still asking themselves whether they expect gold to be worthwhile in the future.
> How is it NOT a zero sum game ?
A zero-sum game would be one where there's just a fixed amount of value to allocate however, and you're stuck to the pareto frontier; that is, there is no re-allocation which would leave someone better-off and nobody worse-off. But in reality there's obvious misallocation all of the time! That's why you would ever buy or sell something: because two parties both believe they benefit from that exchange. Whether that exchange is actually positive or negative for society depends on externalities. But it seems pretty clear to me that a lot of activity is a negative-sum game (if it cause pollution, addiction, etc), and a lot of activity is a positive-sum game (most other things), and almost nothing is actually zero-sum. How is it NOT NOT a zero sum game?
> Is speculation on artificially limited assets (housing) just a pyramid scheme ?
Kinda.
Many, many years later, I finally found the right combination of articles and videos where it finally made total sense.
Instant improvement and I wished I would have understood it sooner.
The problem is really the name, which leads to a particular mental image, which is incorrect, but difficult to break.
I think naming is important and for me, can cause enough cognitive dissonance that I can’t get past what something is called to understanding very easily.
https://youtu.be/4T9UQ4FBVXI https://youtu.be/Bmjr4Q6je8I
Basically, you can’t bench with elbows straight out, because you’ll hurt your shoulders.
So you tuck your elbows a bit, but that means you’re fighting some leverage because the bar is no longer above your shoulders.
To fix this, you arch your back, which rolls your shoulders back and puts the bar back above your shoulders, but with your elbows still tucked.
One side of the arch, your shoulders, is pinned to the bench by the weight of the bar.
The other side of the arch, your butt, is not. So your arched back will straighten out under load, which rolls your shoulders forward, which moves the bar out of position.
So, to keep the arch solid, you use your legs to push your butt toward your shoulders, thus reinforcing the other side of the arch, keeping your shoulders rolled back.
So, leg drive is _not_ driving the bar, it’s driving your butt toward your shoulders, to keep the arch in your back solid, to keep your shoulders rolled back (and chest up) to keep the bar above your shoulders with your elbows tucked a bit, to keep from impinging a tendon.
You could bench with your butt off the bench and make a big arch, though this article explains you’re diminishing your returns by reducing range of motion.
https://startingstrength.com/training/keep-your-butt-on-the-...
A) Packing a binary tree into an array. Anyone that has attended an algorithms course has likely created a binary tree with nodes, leaf nodes, left and right child etc. Seen the pine-tree like sketch with a larger example where each node except the leaf nodes have a left and right child. So how do you pack this tree into an array and traverse it efficiently?
Well you turn it 90 degrees side-ways, slightly shift all nodes on the same level so that none align and put them into an array by going from leftmost to rightmost. (or other way depending on if you shifted 90 degrees or -90 degrees). Congrats, you've packed nodes into an array. How do you traverse it? Our root node is at index 1 and if you packed the array correctly then `idx = (idx * 2) + 1` will move down one side and `idx = (idx * 2) + 0` moves down the other. I don't have a good visual explanation of this but you can think of the integer/index as a bit-sequence describing when in the tree a left vs. right path was taken (with the exception of the root node).
B) Anti-example: Ford Fulkerson algorithm for finding shortest paths between all nodes in a graph. The algorithm is basically just three for-loops stacked on top of each other, but I still can't grasp why it works. Something with dynamic programming and incrementally building on prior established intermediate paths. The algorithm is truly the product of a beautiful mind.
B) Did you mean Floyd-Warshall's?
Decentralization is a key feature of blockchain technology, and it refers to the fact that the blockchain is not controlled by a single entity or organization. Instead, it is maintained by a network of computers working together, and every transaction is recorded on a distributed ledger that is available to everyone in the network.
Realizing the potential implications of this decentralization - such as greater transparency, security, and accessibility - was a big moment for me, and it solidified my belief in the power of blockchain to transform industries and the way we do business.
If you're interested in learning more about blockchain and decentralization, I highly recommend checking out Rather Labs (https://www.ratherlabs.com). We're always looking for passionate people to join our team and help drive the adoption of this exciting technology.
For any professional educators or other folks more familiar with this I am about to butcher this concept I am sure but my layman's understanding is the following. Basically rather than a bottom up approach to learning it's a top down approach where you see the whole picture first rather than each piece and then dance around it until you just "get it". Think of imagining a house and then learning about it until the entire house system makes sense. You might imagine the house, then learn a large "chunk" which is the foundation, then another chunk which is the plumbing, etc. etc. A more typical learning method might be you learn what a brick is and then you learn how they're put together, then you understand a wall, etc. etc. This style of learning is more common in folks on the ASD spectrum but isn't exclusive to ASD folks. I find for me I'll encounter a concept, then think on it periodically over some period of time until one day I just sort of "get it". It's not better or worse than other ways of learning but it just means you need to approach things differently to learn more efficiently.
Maybe someone can direct me to a video to help me develop a deeper insight?
It's a lot of memorization and "getting used to" the math, punctuated by a few "aha moments" of insight when you realize the 100 examples can be compressed into say only 50 examples. In retrospect its tempting to think the insights led to understanding, but really they were just the dopamine hits on top of the real stuff of understanding: tedious acclimation to a new abstract realm.
We know that triangles may be displaced, rotated, flipped and scaled while still looking the same. We have a word for this: we say two triangles are congruent when they are the same up to these operations.
This means that there is something intrinsically invariant about triangles. Can we find it? Actually yes! If the sides of a triangle have lengths A, B, C, then the ratios A/B, B/C, etc. are invariant. That is, if you make a triangle twice as big, all sides will multiply by 2, so A/B becomes (2A/2B)=A/B -- it's the same!
So, we can come up with names for these invariant ratios. They're most useful for right triangles. To give names, we need to pick any of the two smaller angles as a reference, call it "a". Now, let C be the largest side, A be the side opposite to the angle and B the adjacent side. Then, the ratio A/C can be called sin(a), B/C can be called cos(a) and A/B can be called tan(a).
Since sin(a), cos(a) and tan(a) are ratios, they only depend on the angle, not how big your triangle is. But if you know some side of the triangle, then you can know all of the other using these values. So sin, cos and than really capture the uniqueness I was talking about!
---
Now the applications. I memorized these as the "divide by C" rule.
The Pythagorean theorem says thar A^2 + B^2 = C^2.
Divide by C^2, and you get sin(a)^2 + cos(a)^2 = 1.
Divide by cos(a)^2, and you get tan(a)^2 + 1 = sec(a)^2.
These are all the Pythagorean theorem on disguise.
Precomputed values in a book made things an order of magnitude easier at the job site or battlefield before computers.
Depends what you do for a living. Artists won’t. Civil engineers and artillery software programmers will every day.
So the topic that took me about 2 years to get at this inefficient setup, (had finally gotten a sam's teach yourself in 24 hours at some point iirc) was pointers. I could never grasp them. It suddenly came to me one night when reading something about letters that it clicked, the concept had something to do with delivering letters to houses and each house has an address. Can't recall the exact details but man was it an enlightening moment.
I googled pointer mailbox analogy and this is very close if not what made it click for me - https://www.eskimo.com/~scs/cclass/notes/sx10.html
One New Year's I finally had a girlfriend I could be authentic with, we were at the city's 'First Night' party, so different activities all over town, and I told her 'I really want to go dance to the big band in the grand ballroom. But I am a horrible dancer and every woman I have danced with has made fun of me'. She was down, was patient, and it was one of the most fun nights of my life. After that we started taking salsa lessons. So just dance. And if the people you are with make fun of you, don't stop dancing, stop being with those people.
* Example: Junior prom, slow dancing with my date in her fancy dress with her $200 hairdo. The gum I was chewing (because I took her out to sushi, which she informed me was gross, and therefore would not kiss me until I got the taste out of my mouth) somehow attached to a hair of hers in my mouth. Before I could unstick it she flicked her hair, yanking the gum from my mouth and into the rest of her long hair. Fun times were not had by all.
The idea that the expansion universe is akin to the surface of a balloon expanding (albeit in 4D).
I don't know why. It is so absurdly simple in my mind now. But when I was first told this (after naively asking where would the center of the expanding universe be), I just couldn't put my head around it, it seemed absolutely gibberish to me at that moment.
2. Quantum computing
3. Godel’s Incompleteness Theorem
4. Denotational semantics
In all four cases, I make no claims to real expertise. However, in each of these cases there was a powerful moment of epiphany, when after much groping in a conceptual fog a light seemed to turn on, and an essential clarity, simplicity, and intuition clicked.
Man, that took me a while. The solution: A and B have different notions of simultaneity and won't agree on which events occur at the same time. In particular, they won't agree on time measurements.
In hindsight stupid, but it took me embarrassingly long to understand that a function just takes a value for x, calculates it with the rest of the numbers in the function and that way basically assigns a y-value to every x-value. No idea why it took me so long, I didn't have any similar problems with high school math
Gaining a better understanding ultimately just took a lot of time playing with the equations and understanding how measurement and process noise/uncertainty get incorporated into the Kalman gain, and how that in turn affects the updated state estimate - e.g if you have zero noise in the measurement, you end up fully trusting your measurement. This tutorial [1] is the one I ended up studying. This is a case where memorizing the equations (with the help of Anki) helped me reflect on them and keep everything in my head long enough to improve my understanding.
Dr. Mark Colyvan once preparing for his test couldn't understand a proof. So he went ahead and tried to memorize it anyway but in the process of memorizing he understood the proof so he had no need to memorize it now.
- abstract interpretation. It was at least a year after I first heard of the concept that I grokked it enough to try to write my own, and it wasn’t until many goofy failed attempts and something like 6–7 years that I actually understood it enough to write a good one. And then it was another 5-6 years before I understood the theory well enough to understand abstract interpreters designed by others. So, like, that took me more than a decade to understand. Maybe I still don’t fully understand it.
- SSA IR design. It’s so easy to understand the facts of what SSA is, and it’s not that hard to use an SSA IR designed by others. But it took me over ten years from when I first read the papers and did my first attempt until when I actually got it. And I still feel like there are aspects of SSA that I don’t fully understand.
By fixed point I mean something like the "Lawvere's fixed point theorem". https://ncatlab.org/nlab/show/Lawvere%27s+fixed+point+theore...
I have a braindump on this https://github.com/adamnemecek/adjoint
I also have a discord https://discord.gg/mr9TAhpyBW
1. A clear dialogue with oneself is establishing certainty about the inner self
2. Certainty with the inner self enables one to see the outside in a clear way
3. That clarity contributes to confidence in one's actions.
The model itself is easy enough to grasp. But concretely understanding what it implies about how I should be studying took much, much longer.
The way our brains have evolved to build up a functional language model is by observing lots and lots (and lots) of examples of the language being used for communication. Which implies that, even from the very beginning, graded readers, level-appropriate dialogues, etc. should be the foundation of a language study program and not, as most language instruction courses and apps make it, just a little bit of icing on top.
The primacy of input is also kind of a big deal, and, at least for me, it took a long time before I was willing to let go of forced production exercises such as "translate this sentence into your target language". Perhaps in part because they're so endemic to language learning resources. You can't abandon them without also abandoning Duolingo and most formal classroom programs. But the problem with these kind of practice exercises is, we now know that it's normal for there to be a long delay between when someone can comprehend a grammatical structure, and when they can use it in a natural setting. (Anyone with kids over a certain age should be familiar with the phenomenon.) Forced production relies on - and reinforces - that aforementioned misplaced encoding, and there's a mountain of research demonstrating that skill in performing those sorts of exercises simply doesn't correlate with the development of communicative fluency.
Tangentially, the transformer architecture that's taken natural language processing by storm has some interesting similarities to the leading model among SLA researchers for how language is represented in the human brain. Which isn't the monitor model itself, but might hint at a mechanism for a few parts of the model. Acquisition order, for example.
The author wrote of survivors coming home after a harrowing near-death experience and realizing that survival is one day at a time, even in the comfort of your own home. Once you taste true survival it may haunt you. Survival is an easy concept with subtle and deep physical and mental consequences.
Kind of reminds me of David Foster Wallace’s “This is water” - https://youtu.be/eC7xzavzEKY
I got wrapped up sitting there memorizing ins and outs of each language and the ecosystem, others compositions in the form of Apache and the like.
Now it seems bizarre we’d think of it as anything but add, div, compare of electrical state in a memory address. It’s not a 1:1 machine translation but it’s the abstraction that’s made me most productive.
A whole lot of baggage comes with software that I’m hopeful ML libraries will allow us to retire. Currently wrapping UI around OpenCV to make my own “Photoshop”, for example.
I really can’t see any other way of approaching programming as anything but a waste of human agency. There are social problems we could be focused on if we were less focused on butts in chairs cranking out code.
When I got out of my middle class bubble, made friends with people working multiple jobs and struggling to make ends meet, and experienced a period of financial instability; I began to realize that something wasn't working in our current system.
Then I started struggling with burnout and other issues and found that corporations were happy to just replace me. I also found that management wanted programmers to be replaceable cogs instead of professionals. At that point I started to suspect that the idea of a dignified professional lifestyle may not be true.
I observed that technology and products were getting worse over time. For example, Google search has become mostly useless and it's hard to find products that are made to be repaired. I concluded that the invisible hand and/or the price theory of value were not true.
Then I saw Republicans gain power and run up the national debt. I also observed that when wages actually started increasing the economy fell apart and the Fed started taking steps to prevent wage increases. I concluded that "free market" rhetoric was a lie.
At that point I looked for alternatives and found socialism. In particular the "social democracy" strains of socialism as opposed to those advocating central planning or anarchist organization.
While also somewhat contested in Germany, and not free of (some) valid criticism, I would advocate to try and use the term "Social market economy" [1].
Well, full-blown free-market capitalism would be one alternative to the current US system, albeit probably not the best.
That’s not supposed to happen. Adding a way for people to make income is supposed to incentivize better content and allow people to invest in that content. Instead what you get is a flood of addictive and sensational / tabloid trash.
… or another way of looking at it is that you do get “better” content but better is not defined in a way that truly benefits anyone.
YouTube is the most dramatic example. The quality of the whole platform tanked hard when monetization was added.
After seeing this a few times I have started noticing it everywhere. The profit motive just doesn’t incentivize quality the way we are taught that it should. It can when the incentives align but they often do not.
Another common example is actual reductions in quality to drive more spending like engineered obsolescence or “nerfing” software to drive lock in. The incentive is to produce an inferior product since that is most profitable.
This doesn’t mean I think the answer is a government bureaucracy running everything like a single monopoly. That leads to a whole other set of perverse incentives and an inability to go elsewhere.
What it does is incentivise more content. More is not always better for everyone, and is even less likely to be better for those who were early adopters to the platform - but what it is usually is more popular. It's just democracy in action: the largest numbers decide, and sometimes privileged minorities lose out.
My opinion, however, is that my parents did the right thing to drag me out of such a system and into a capitalistic one. I am watching my peers suffer.
Yes; Most people get hung up on terminology and/or specific interpretations but i am convinced this is the natural order of things for the Human species. The balance without going to extremes is what is important.
Because terminology matters, and some terms are quite misleading. What some people tend to miss about the "Socialism with Scandinavian Characteristics" that folks claim to like these days is that Scandinavian countries are actually near the very top rankings by economic freedom and lack of excess regulatory burden. I.e. they're actually some of the most free market and capitalist, while applying effective redistribution after the fact (leading to moderately high tax rates). So I don't get why people decry capitalism and free enterprise while praising Scandinavia as "successful" socialism? It makes no sense.
Let people go wild and try stuff and do whatever but raise the floor up to the point where people can recover from failure and where the less fortunate are not suffering.
This kind of “social capitalism” could be freer and less regulated than what we have now.
I mean I get what they are and how they are used and could do operations with them by following the rules. But... I still don't really understand them.
One I’m working on still is the unfairness of life. I understand it is unfair down to the level of the cell but how to come to terms with that I still grapple with.
Thought that was about working extra hard to make money and CYA, but really it's about finding your own happiness, regardless of what it may be in a money / status / property sense.
> everything related to RSA & trapdoor algos
Like I go the rough idea and implications, but didn't "click" until I was trying to explain what the square root of 11 was to my nephew. Was helping him with homework and was doing everything in my head just fine until we hit that and I had to stop and think and it clicked.
Intuitively (perhaps incorrectly) I would assume that it's like trying to force a fluid through a skinny long pipe vs a wide pipe - the skinny long pipe will have higher pressure inside.
Or, the long thin wire has more distance for the current to travel (= more resistance), while the thicker wire has more "options" for the current to choose a path of least resistance (literally), tending towards a lower overall resistance compared to a thinner wire of the same length
At the moment I thought it was OK, fast forward a decade and it's one of the pillars of my business thinking.
Then a summer went by before the third time I took it.
When I stepped into class that third time, everything clicked and it all felt very obvious to the point where I could anticipate where the lecturer’s equations were headed.
I stopped attending class and still got an A. I even ended up helping classmates in a study group.
I still can’t explain what that brain process was that resulted in the pieces subconsciously lining up over the summer.
I was probably in my late 30s or early 40s before I really grokked why that tended to be true. (I could blindly accept and grind through the equations to get the answers in college, but it was decades later that I developed a feel for why.)
2. The chain rule. I knew the actual rule from a calc class, but the intuition behind it didn't make sense to me until I read a couple pdfs on backpropagation
3. Money brings out the worst in people
I've always thought that homologated solutions are parts of a bigger whole, bigger "homo". Stating that the producing party has all the right knowledge to make the part fit and adhere to safety guarantees.
Now i understand more about why 1+1=2.
Also UC Davis professor Key Joy's Computer Graphics course [1] is the best intro course on 3D graphics programming, covering many key concepts and math. I found it better than any other courses from MIT/Berkeley/CMU/etc. It doesn't have some of the newer techniques in recent years but is still very much relevant and forms the foundational knowledge to level up.
[1] https://www.youtube.com/watch?v=01YSK5gIEYQ&list=PL_w_qWAQZt...
Also importance of reading books even later. My mother told me this all the time but school books were not the best choice. In high school I started reading fanfics, then occult books and finally I landed on self-helps and ones related to my SWE career.
It took me about 3 tries in taking QM classes to learn and understand that the whole thing was about continuous probability distributions (at least, the beginner, static stuff). And finally to understand how to understand what continuous probability distributions are, and how to use them.
Waking call:
Corollary: a place where there's a fat-ass book of "best practices" has probably lost its focus.
Like many, I learned Bayes' theorem for an exam. I even did well. But it clicked only when I was reading The Scout Mindset (by Julia Galef). I cannot really tell why. I think it helped me connect math formalism with more real-world examples outside of statistics.
It only dawned on me many years later that I was:
a. physically attractive to the opposite sex, especially during my teens and twenties, regardless of my ethnicity.
b. my blank expression was intimidating.
A prof. teaching a grad level course on parallel computing mentioned in class that even he himself took a few years to get used to program in message passing protocol like MPI.
Funny enough, even when I don't need to program in MPI extensively, after a few years my fear of writing in MPI just went away.
History is far richer than we tend to realize. So much is going on all the time; it’s impossible to grasp it all.
I thought they did more stuff on 80s..
When I first saw it, I thought it was a process step that was unnecessary.
Then I thought it was a way to program visually, but generated code only works in narrow domains.
I realize that UML is tool to define your system, and it lays bare your assumptions, which is one of the hardest problems in computing.
Any abstraction can evolve into wasted time not making the thing.
By definition if you continue to progress (in career or life), you will be doing something you have never done before. This means everyone that we look up to who appears to be on a upward trajectory is making it up as they go.
When we learned about functions back in something like 5th grade, I noticed that my classmates were very confused by the concept. I also remembered that I found the explanations in the book and the ones from our teacher quite unclear.
My guess back then was that the notation was partly to blame for that -- and I still think that's true.
So, my questions to you are:
1) were you taught the "f(x) = 3x + 2"-style notation? 2) have you seen the "x --> 3x+2"-style before? Or the "f: x --> 3x+2"-style, where we give the function the name f? 3) did you find it confusing that f(x) was sometimes used to refer to the function and sometimes to its value when applied to x? The notation of question 2 should eliminate that confusion.
I'm guessing that part of the confusion was also that your teachers were unclear on what functions could be used for -- but didn't they ask you to draw graphs for various functions? And didn't they also introduce functions like sin/cos/tan?
Amazing book with mind blowing illustrations about life, purpose and spirituality. Changed my life. Every time I re-read it I discover something new.
During lockdown I attended a course that prepared students for IOI. I couldn't focus/follow at home via web conferencing. One year after I attended some lectures from the same course, but physically. I understood everything when it was explained in person.
• Basic concept of buckets in distributed hash tables. After reading BEP-0005 I was left puzzled and left the topic for some months. Reading a Wikipedia article about Kademila, first understanding static buckets and transferring this to dynamic buckets with splitting was way easier to grasp.
Had Statistics in college, but only understood it now that I use it to understand data.
I'd "understood" the concepts before, but now because I am:
- brushing up on my math to understand every equation or proof they drop in there
- reading them in combination with applied stuff that uses the same concepts, ie the "designing data intensive applications book"
- reading over them slowly, I want my fundamentals to be strong and etched into my head
Things are clicking in a way they never did before.
TL;DR - studying compsci concepts, slowly, from multiple angles (completely mathematical to practical engineering) is just a different level of understanding from doing one or assuming your mind will bridge the gap.
YMMV.
thankfully it became very clear as soon as I started having actual projects and noticing all the C apis I was writing would all look like
foo* foo_create();
void foo_destroy(foo*);
void foo_set_stuff(foo*, int);
void foo_bloberize(foo*);The wikipedia page for it explains it well.
Whether you define it as working on yourself, on your relationships, fixing up the house, the car, washing the dishes.
I guess I sort of lived as if there would be some kind of 'over the rainbow' someday when I could retire and just chill, but this year when watching 'Stutz' on Netflix, where he states that there are three inescapable things in life: "pain, uncertainty, and constant work," the work part really sunk in for me.
I've been watching my mother try to create a kind of peaceful cocoon with her new house and her manicured lawns and list of friends curated down to only the ones which don't ever challenge her etc, only to find that even nearing her eighties she constantly has surprises and challenges intruding on the peace she is trying to cultivate.
The tldr; of it is that I've been looking at work the wrong way, i.e. I've been trying to avoid it or push it away, but I feel I should embrace it. Some recurring tasks can even be sort of comforting in that it creates a routine.
I tried shader tutorials multiple times for years and they only started to click recently.
Only https://www.cduan.com/technical/git/ worked for me.
always seemed like a shitty expensive database for 7+ years
therefore it’s safer to build then on twitter, facebook, apple, etc.
the entire ecosystem may be a fraud, but if it is not then it’s incredibly enduring. i have more faith that i can get what the balance of an account is in 10 years from ethereum than i do from my banks api staying stable or open.
(2) Recursion