work on badly designed systems will particularly suffer since badly designed systems have unbounded complexity. because most of these systems are built by large group of people over time, and complexity is limited only by human creativity.
Why Delete records with FK might be slow in PostgreSQL?
- PostgreSQL doesn't index FKs by default
- on each FK reference, there is a function call that checks referential integrity violation, for 100 record with 2 FKs it will be called 200 times.
Mitigation:
Index FK with CONCURRENTLY flag on production where Referential Integrity Violation check could be done concurrently.
- PostgreSQL doesn't index FKs by default
- on each FK reference, there is a function call that checks referential integrity violation, for 100 record with 2 FKs it will be called 200 times.
Mitigation:
Index FK with CONCURRENTLY flag on production where Referential Integrity Violation check could be done concurrently.
CPU branching and parallelization
“A branch is an instruction in a computer program that can cause a computer to begin executing a different instruction sequence and thus deviate from its default behavior of executing instructions in order.” — Wikipedia
This article will improve array iteration performance in C#, but during that it will explain about CPUs a little bit, branching and SIMD.
https://antao-almada.medium.com/array-iteration-performance-in-c-branching-and-parallelization-d0705adbf425
“A branch is an instruction in a computer program that can cause a computer to begin executing a different instruction sequence and thus deviate from its default behavior of executing instructions in order.” — Wikipedia
This article will improve array iteration performance in C#, but during that it will explain about CPUs a little bit, branching and SIMD.
https://antao-almada.medium.com/array-iteration-performance-in-c-branching-and-parallelization-d0705adbf425
Medium
Array iteration performance in C# — Branching and parallelization
This is a third post in a series on performance in C#.
https://cedardb.com/
CedarDB is a government funded general-purpose database solution which claims to present more performance with general purpose approach versus postgresql, because re-think in design with these days workload and usecases, hardwares and etc.
All of CedarDB founders are graduated from Technical Univesty of Munich with almost no experience in industry.
read more about them
https://cedardb.com/docs/technology/
CedarDB is a government funded general-purpose database solution which claims to present more performance with general purpose approach versus postgresql, because re-think in design with these days workload and usecases, hardwares and etc.
All of CedarDB founders are graduated from Technical Univesty of Munich with almost no experience in industry.
read more about them
https://cedardb.com/docs/technology/
CedarDB - The All-In-One-Database
An ode to PostgreSQL, and why it is still time to start over
An ode to PostgreSQL, and why it is still time to start over No matter what your opinion is on the efficacy of the Modern Data Stack, one thing is for sure: there are now a metric ton of database systems out there. Whether you’re trying to do real time streaming…
رابطه اشیا ویکی پدیا
نظریه رابطه اشیاء به بررسی این میپردازد که چگونه تعاملات اولیه با مراقبین اصلی شخصیت فرد را شکل میدهد و بر پاسخهای عاطفی و دینامیکهای رابطه طی زندگی تأثیر میگذارد. این نظریه بر اهمیت این روابط شکلگیرنده در توسعه دنیای عاطفی و مفهوم خود فرد تأکید دارد. "اشیاء" در این نظریه به افراد مهم زندگی اشاره دارد، مانند والدین یا مراقبین اصلی. تجربیات مثبت با این افراد احساس امنیت و ارزشمندی را تقویت میکند، در حالی که تجربیات منفی میتوانند احساس ناامنی و بیارزشی را به وجود آورند.
این نظریه مفهوم "ابژه درونی" را معرفی میکند، که نمایندگان درونی از روابط اولیه هستند. این نمایندگان در درون ما باقی میمانند و بر درک خود از خود و تعاملاتمان با دیگران تأثیر میگذارند، حتی در غیاب افراد واقعی.
این نظریه با مفاهیم دیگری مانند "پایداری شیء" (مربوط به روان شناسی تحولی) نیز مرتبط است — درک اینکه اشیاء حتی زمانی که دیده نمیشوند همچنان وجود دارند، که یک رشد شناختی حیاتی در نوزادان است.
نظریه رابطه اشیاء به مفهوم "پایداری شیء" گسترش مییابد که شامل تشخیص این است که روابط و افراد با وجود غیاب فیزیکی یا تغییرات موقعیتی، پایدار و ثابت باقی میمانند. این ثبات برای امنیت عاطفی ضروری است و بر نحوه مدیریت ما در دینامیکهای رابطه، جدایی و از دست دادن به عنوان بزرگسالان تأثیر میگذارد.
در نهایت، این نظریه بر پیوستگی عشق و ارتباطات عاطفی تأکید میکند و به ما نشان میدهد حتی زمانی که روابط به پایان میرسند، توانایی شکل دادن به ارتباطات جدید و معنادار همچنان باقی میماند، که توسط باور زیربنایی در پایداری عشق و حمایت هدایت میشود.
نظریه رابطه اشیاء به بررسی این میپردازد که چگونه تعاملات اولیه با مراقبین اصلی شخصیت فرد را شکل میدهد و بر پاسخهای عاطفی و دینامیکهای رابطه طی زندگی تأثیر میگذارد. این نظریه بر اهمیت این روابط شکلگیرنده در توسعه دنیای عاطفی و مفهوم خود فرد تأکید دارد. "اشیاء" در این نظریه به افراد مهم زندگی اشاره دارد، مانند والدین یا مراقبین اصلی. تجربیات مثبت با این افراد احساس امنیت و ارزشمندی را تقویت میکند، در حالی که تجربیات منفی میتوانند احساس ناامنی و بیارزشی را به وجود آورند.
این نظریه مفهوم "ابژه درونی" را معرفی میکند، که نمایندگان درونی از روابط اولیه هستند. این نمایندگان در درون ما باقی میمانند و بر درک خود از خود و تعاملاتمان با دیگران تأثیر میگذارند، حتی در غیاب افراد واقعی.
این نظریه با مفاهیم دیگری مانند "پایداری شیء" (مربوط به روان شناسی تحولی) نیز مرتبط است — درک اینکه اشیاء حتی زمانی که دیده نمیشوند همچنان وجود دارند، که یک رشد شناختی حیاتی در نوزادان است.
نظریه رابطه اشیاء به مفهوم "پایداری شیء" گسترش مییابد که شامل تشخیص این است که روابط و افراد با وجود غیاب فیزیکی یا تغییرات موقعیتی، پایدار و ثابت باقی میمانند. این ثبات برای امنیت عاطفی ضروری است و بر نحوه مدیریت ما در دینامیکهای رابطه، جدایی و از دست دادن به عنوان بزرگسالان تأثیر میگذارد.
در نهایت، این نظریه بر پیوستگی عشق و ارتباطات عاطفی تأکید میکند و به ما نشان میدهد حتی زمانی که روابط به پایان میرسند، توانایی شکل دادن به ارتباطات جدید و معنادار همچنان باقی میماند، که توسط باور زیربنایی در پایداری عشق و حمایت هدایت میشود.
Wikipedia
نظریه رابطه اشیاء
در آسیبشناسی روانی به شکلگیری روان بر اساس عوامل محیطی در دوران کودکی نظریه رابطه اشیاء (به انگلیسی: Object relations theory) میگویند. بر اساس نظریه روانپویشی، رابطه افراد با محیط پیرامونشان بر اساس نوع رفتار خانواده با آنها در دوران کودکی شکل میگیرد.…
When we should have multiple Kafka clusters instead of 1?
https://www.confluent.io/blog/kafka-clusters-and-cluster-management/
https://www.confluent.io/blog/kafka-clusters-and-cluster-management/
Confluent
Kafka Clusters and Cluster Management
Learn when and why to consider expanding to multiple Kafka clusters, plus tools and strategies to manage large cluster operations with federated Kafka governance.
Choose right number of partitions on Kafka
https://www.confluent.io/blog/how-choose-number-topics-partitions-kafka-cluster/
https://www.confluent.io/blog/how-choose-number-topics-partitions-kafka-cluster/
Confluent
How to Choose the Number of Topics/Partitions in a Kafka Cluster? | Confluent
Confluent is building the foundational platform for data in motion so any organization can innovate and win in a digital-first world.
What distinguishes consistently good decision-makers from poor ones is a series of diverse mental frameworks and tools (as well as relevant specific information).
And the mental models in your head are your cognitive skillset.
#decision_making
And the mental models in your head are your cognitive skillset.
#decision_making
people do not multitask effectively. realistically the more people multitask, the worse they are, not just at other mental abilities, but at multitasking itself.
#multitask
#multitask
who is a good writer?
that a writer is someone for whom writing is more difficult than it is for other people.
why writing?
The best way to improve your thinking ability is to spend time thinking.
"If you’re thinking without writing, you only think you’re thinking."
how it affect us?
Writing forces you to slow down, focus, and think deeply.
#thinking #writing
that a writer is someone for whom writing is more difficult than it is for other people.
why writing?
The best way to improve your thinking ability is to spend time thinking.
"If you’re thinking without writing, you only think you’re thinking."
how it affect us?
Writing forces you to slow down, focus, and think deeply.
#thinking #writing
Mental models help us understand the world.
A mental model is a compression of how something works. Any idea, belief, or concept can be distilled down. Like a map, mental models reveal key information while ignoring irrelevant details. Models concentrate the world into understandable and useable chunks.
For e.g., velocity is a mental model that helps you understand that both speed and direction matter.
Reciprocity is a mental model that helps you understand how going positive and going first gets the world to do most of the work for you.
Margin of Safety is a mental model that helps you understand that things don’t always go as planned.
Relativity is a mental model that shows us we have blind spots and how a different perspective can reveal new information. The list goes on.
In this blog post, Shane Parrish reviewed mental models in 8 categories:
1. Core Thinking Concepts
2. Physics and Chemistry
3. Biology
4. Systems
5. Numeracy
6. Microeconomics
7. Military and War
8. Human Nature and Judgment
https://fs.blog/mental-models/
A mental model is a compression of how something works. Any idea, belief, or concept can be distilled down. Like a map, mental models reveal key information while ignoring irrelevant details. Models concentrate the world into understandable and useable chunks.
For e.g., velocity is a mental model that helps you understand that both speed and direction matter.
Reciprocity is a mental model that helps you understand how going positive and going first gets the world to do most of the work for you.
Margin of Safety is a mental model that helps you understand that things don’t always go as planned.
Relativity is a mental model that shows us we have blind spots and how a different perspective can reveal new information. The list goes on.
In this blog post, Shane Parrish reviewed mental models in 8 categories:
1. Core Thinking Concepts
2. Physics and Chemistry
3. Biology
4. Systems
5. Numeracy
6. Microeconomics
7. Military and War
8. Human Nature and Judgment
https://fs.blog/mental-models/
Farnam Street
Mental Models: The Best Way to Make Intelligent Decisions (~100 Models Explained)
The smartest people in the world use mental models to make intelligent decisions, avoid stupidity, and increase productivity. Let's take a look at how ...
Put your energy into being right, not feeling right.
If you want to be right, you have to change your mind.
When the evidence indicates the approach isn’t working, change the approach.
Feeling right, on the other hand, often requires you to believe you are an exception.
From: Alignment: The Key to Success Nobody Ever Taught You
If you want to be right, you have to change your mind.
When the evidence indicates the approach isn’t working, change the approach.
Feeling right, on the other hand, often requires you to believe you are an exception.
From: Alignment: The Key to Success Nobody Ever Taught You
Farnam Street
Alignment: The Key to Success Nobody Ever Taught You
I spend a lot of time thinking about this simple idea: The person who aligns themselves with the general principles of the world goes further and faster than the person who doesn't.