Jim's Lib
37 subscribers
69 photos
1 video
40 files
948 links
from A-Z, it's look like AlcatraZ.
Download Telegram
Habah l'hargecha hashkem l'hargo
most engineers will work on badly designed systems because most systems turn into badly designed systems over time.
most engineers will work on badly designed systems because most successful/popular systems are badly designed systems, because there is almost no other way to design these systems.
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.
https://ivdl.co.za/

good personal blog to read in your free times, mostly related to postgresql.
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
“never do random reads”
- a wiseman said
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/
رابطه اشیا ویکی پدیا


نظریه رابطه اشیاء به بررسی این می‌پردازد که چگونه تعاملات اولیه با مراقبین اصلی شخصیت فرد را شکل می‌دهد و بر پاسخ‌های عاطفی و دینامیک‌های رابطه طی زندگی تأثیر می‌گذارد. این نظریه بر اهمیت این روابط شکل‌گیرنده در توسعه دنیای عاطفی و مفهوم خود فرد تأکید دارد. "اشیاء" در این نظریه به افراد مهم زندگی اشاره دارد، مانند والدین یا مراقبین اصلی. تجربیات مثبت با این افراد احساس امنیت و ارزشمندی را تقویت می‌کند، در حالی که تجربیات منفی می‌توانند احساس ناامنی و بی‌ارزشی را به وجود آورند.

این نظریه مفهوم "ابژه درونی" را معرفی می‌کند، که نمایندگان درونی از روابط اولیه هستند. این نمایندگان در درون ما باقی می‌مانند و بر درک خود از خود و تعاملاتمان با دیگران تأثیر می‌گذارند، حتی در غیاب افراد واقعی.

این نظریه با مفاهیم دیگری مانند "پایداری شیء" (مربوط به روان شناسی تحولی) نیز مرتبط است — درک اینکه اشیاء حتی زمانی که دیده نمی‌شوند همچنان وجود دارند، که یک رشد شناختی حیاتی در نوزادان است.

نظریه رابطه اشیاء به مفهوم "پایداری شیء" گسترش می‌یابد که شامل تشخیص این است که روابط و افراد با وجود غیاب فیزیکی یا تغییرات موقعیتی، پایدار و ثابت باقی می‌مانند. این ثبات برای امنیت عاطفی ضروری است و بر نحوه مدیریت ما در دینامیک‌های رابطه، جدایی و از دست دادن به عنوان بزرگسالان تأثیر می‌گذارد.

در نهایت، این نظریه بر پیوستگی عشق و ارتباطات عاطفی تأکید می‌کند و به ما نشان می‌دهد حتی زمانی که روابط به پایان می‌رسند، توانایی شکل دادن به ارتباطات جدید و معنادار همچنان باقی می‌ماند، که توسط باور زیربنایی در پایداری عشق و حمایت هدایت می‌شود.