@code_crafters.pdf
2.9 MB
گام نخست در خصوص نکات مهم پستگرس و orm جنگو
در گام اول یک pdf مهیا شده(برگرفته از کتاب الگوریتمهای پیشرفته) که شمارو با الگوریتم b-tree آشنا کرده که برای درک بهتر ساختار بندی داده در دیتابیس الزامی میباشد و به شما در درک بهتر رفتار دیتابیس کمک خواهد
🔑 @code_crafters
#pro_orm
#postgresql
@code_crafters
در گام اول یک pdf مهیا شده(برگرفته از کتاب الگوریتمهای پیشرفته) که شمارو با الگوریتم b-tree آشنا کرده که برای درک بهتر ساختار بندی داده در دیتابیس الزامی میباشد و به شما در درک بهتر رفتار دیتابیس کمک خواهد
🔑 @code_crafters
#pro_orm
#postgresql
@code_crafters
👍1
🔆 همین الان Moq رو پاک کن!
🔺اگر دات نت کار هستی و از لایبرری Moq استفاده میکنی حتما باید این خبر رو بخونی.
#Moq
#dotnet
@Code_Crafters
🔺اگر دات نت کار هستی و از لایبرری Moq استفاده میکنی حتما باید این خبر رو بخونی.
#Moq
#dotnet
@Code_Crafters
🔥2😱1
با تشکر از دوستان عزیز بابت متینگ امشب
متینگ امشب چیزی حدود ۳ ساعت طول کشید که بصورت جسته و گریخته و تا حدودی عمیق به موارد مختلفی پرداخته شد
سعید عزیز یکی از پروژهها بزرگ خودش رو برامون تشریح کرد و در طی این چند ساعت موارد زیر مورد بررسی قرار گرفتن:
Design master
Vspher محیط و دسترسی و دسته بندی سرور اختصاصی
Raise limit کنترل ریکوستهای متعدد
رمزنگاری داده در دیتابیس و نحوه استفاده از آن در موارد مختلف
استراتژی پترن
Vm backup بکاپ گیری از سرویسهای مختلف و بهترین رویکرد
اسنپ شات ، دلیل و موارد استفاده از آن
کوبرنتیز و ساختار و محیط پنلی آن
سیستم لاگینگ مرکزی ،لاگینگ برای سطوح مختلف
Identity server , oidc client
در متینگ هفته بعد قرار شد ساختار یک پروژه بزرگ رو ببینیم در خصوص موارد بیشتری راجب آن حرف بزنیم
به احتمال زیاد مهمانهایی هم داشته باشیم از یک استارتاپ که در خصوص چالشها و توسعه نرم افزار حرف بزنند
یکی از اعضای گروه هم در حدود نیم ساعت در خصوص امنیت برامون ارائهای داشته باشه
#meeting
@code_crafters
متینگ امشب چیزی حدود ۳ ساعت طول کشید که بصورت جسته و گریخته و تا حدودی عمیق به موارد مختلفی پرداخته شد
سعید عزیز یکی از پروژهها بزرگ خودش رو برامون تشریح کرد و در طی این چند ساعت موارد زیر مورد بررسی قرار گرفتن:
Design master
Vspher محیط و دسترسی و دسته بندی سرور اختصاصی
Raise limit کنترل ریکوستهای متعدد
رمزنگاری داده در دیتابیس و نحوه استفاده از آن در موارد مختلف
استراتژی پترن
Vm backup بکاپ گیری از سرویسهای مختلف و بهترین رویکرد
اسنپ شات ، دلیل و موارد استفاده از آن
کوبرنتیز و ساختار و محیط پنلی آن
سیستم لاگینگ مرکزی ،لاگینگ برای سطوح مختلف
Identity server , oidc client
در متینگ هفته بعد قرار شد ساختار یک پروژه بزرگ رو ببینیم در خصوص موارد بیشتری راجب آن حرف بزنیم
به احتمال زیاد مهمانهایی هم داشته باشیم از یک استارتاپ که در خصوص چالشها و توسعه نرم افزار حرف بزنند
یکی از اعضای گروه هم در حدود نیم ساعت در خصوص امنیت برامون ارائهای داشته باشه
#meeting
@code_crafters
❤12
django-searchable-encrypted-fields
در متینگ دیشب در خصوص ذخیره سازی دیتا در دیتابیس بصورت انکریپت شده و اهمیت آن حرف زده شد و حالتهای مختلفی از انکریپت کردن صحبت شد
این یک پکیج جنگویی جهت ذخیره کردن داده بصورت انکریپت شده درون دیتابیس هست که در یکی از پروژههای سازمانیمون ازش استفاده کردهایم
@code_crafters
در متینگ دیشب در خصوص ذخیره سازی دیتا در دیتابیس بصورت انکریپت شده و اهمیت آن حرف زده شد و حالتهای مختلفی از انکریپت کردن صحبت شد
این یک پکیج جنگویی جهت ذخیره کردن داده بصورت انکریپت شده درون دیتابیس هست که در یکی از پروژههای سازمانیمون ازش استفاده کردهایم
@code_crafters
👍2
CodeCrafters
django-searchable-encrypted-fields در متینگ دیشب در خصوص ذخیره سازی دیتا در دیتابیس بصورت انکریپت شده و اهمیت آن حرف زده شد و حالتهای مختلفی از انکریپت کردن صحبت شد این یک پکیج جنگویی جهت ذخیره کردن داده بصورت انکریپت شده درون دیتابیس هست که در یکی…
در این خصوص، مثال هایی برای رمزنگاری داده ها در دیتابیس با فریم ورک دات نت / .Net توسط orm انتیتی فریم ورک رو هم میزارم ( در ado.net و dapper هم انجام پذیره)
کلیت اینه که دیتا در زمان نوشتن توسط یک کلید، انکریپت شده ذخیره میشه و در زمان خواندن توسط برنامه ما، دیگریپت شده برمیگرده.
روش دیگر میتوان از hash استفاده کرد، مثلا برای پسورد کاربر بجای plain text شما هش md5 رو ذخیره میکنید و فقط برابری هش ورودی کاربر با دیتابیس رو چک میکنین (رمزنگاری محسوب نمیشود و هش نمیتونه به دیتای اولیه برگرده)
https://medium.com/emrekizildas/encrypt-your-database-columns-with-entityframework-1f129b19bdf8
https://stackoverflow.com/questions/28101618/entity-framework-with-sql-server-column-level-encryption
@code_crafters
کلیت اینه که دیتا در زمان نوشتن توسط یک کلید، انکریپت شده ذخیره میشه و در زمان خواندن توسط برنامه ما، دیگریپت شده برمیگرده.
روش دیگر میتوان از hash استفاده کرد، مثلا برای پسورد کاربر بجای plain text شما هش md5 رو ذخیره میکنید و فقط برابری هش ورودی کاربر با دیتابیس رو چک میکنین (رمزنگاری محسوب نمیشود و هش نمیتونه به دیتای اولیه برگرده)
https://medium.com/emrekizildas/encrypt-your-database-columns-with-entityframework-1f129b19bdf8
https://stackoverflow.com/questions/28101618/entity-framework-with-sql-server-column-level-encryption
@code_crafters
Medium
Encrypt Your Database Columns with EntityFramework
This article include encrypting your database columns with EntityFramework. Your database providers can be MSSQL or PostgreSQL.
👍4🔥2
Forwarded from Pythonic Dev ( Sadegh)
📢 Understanding the Callstack in Programming! 📚
Welcome, fellow developers, to another insightful post on our Telegram channel! Today, we dive into an important concept in programming - the "Callstack." 🔄
💡 What is a Callstack?
A callstack, also known as an execution stack, is a fundamental concept in computer science that helps us understand how programs execute and keep track of function calls. When a function is called, its execution context is added to the top of the callstack, and when that function completes, it is removed from the stack. Essentially, the callstack keeps track of where we are in the execution of a program.
🧮 How does the Callstack work?
Imagine you have a Python program that calls multiple functions. Each time a function is called, its execution context is added to the callstack. This includes variables, parameters, and the return address of the calling function. When the called function completes, its execution context is removed from the stack, and the program continues from where it left off in the calling function.
🔍 Why is the Callstack important?
Understanding the callstack is crucial for debugging, as it helps us trace the flow of our program, identify the order in which functions are executed, and identify any potential issues such as infinite recursion or stack overflow. By examining the callstack, we can gain valuable insight into how our program behaves and find the root cause of any unexpected behavior or errors.
📝 Key points about the Callstack:
1️⃣ The callstack follows the Last-In-First-Out (LIFO) principle, meaning the most recently called function is at the top of the stack.
2️⃣ Recursion occurs when a function calls itself, adding multiple instances of the same function to the callstack.
3️⃣ If the callstack becomes too large, it can result in a stack overflow, causing the program to terminate unexpectedly.
🔧 How can we use the Callstack to our advantage?
1️⃣ By examining the callstack during debugging, we can better understand the sequence of function calls and potentially identify any missed or incorrect function invocations.
2️⃣ Understanding the callstack can help us optimize our code by avoiding unnecessary function calls or reducing recursion depth.
3️⃣ The callstack can be a useful tool for identifying and fixing memory-related issues in our programs.
Remember, as you delve deeper into your programming journey, always pay attention to the callstack. It holds the key to understanding the intricacies of function calls and program execution!
🌟 Stay curious, keep learning, and keep coding! Feel free to share your thoughts or ask any questions in the comments below. Happy coding, everyone! 🐍💻
#CallStack
#Python
@Pythonic_Dev
Welcome, fellow developers, to another insightful post on our Telegram channel! Today, we dive into an important concept in programming - the "Callstack." 🔄
💡 What is a Callstack?
A callstack, also known as an execution stack, is a fundamental concept in computer science that helps us understand how programs execute and keep track of function calls. When a function is called, its execution context is added to the top of the callstack, and when that function completes, it is removed from the stack. Essentially, the callstack keeps track of where we are in the execution of a program.
🧮 How does the Callstack work?
Imagine you have a Python program that calls multiple functions. Each time a function is called, its execution context is added to the callstack. This includes variables, parameters, and the return address of the calling function. When the called function completes, its execution context is removed from the stack, and the program continues from where it left off in the calling function.
🔍 Why is the Callstack important?
Understanding the callstack is crucial for debugging, as it helps us trace the flow of our program, identify the order in which functions are executed, and identify any potential issues such as infinite recursion or stack overflow. By examining the callstack, we can gain valuable insight into how our program behaves and find the root cause of any unexpected behavior or errors.
📝 Key points about the Callstack:
1️⃣ The callstack follows the Last-In-First-Out (LIFO) principle, meaning the most recently called function is at the top of the stack.
2️⃣ Recursion occurs when a function calls itself, adding multiple instances of the same function to the callstack.
3️⃣ If the callstack becomes too large, it can result in a stack overflow, causing the program to terminate unexpectedly.
🔧 How can we use the Callstack to our advantage?
1️⃣ By examining the callstack during debugging, we can better understand the sequence of function calls and potentially identify any missed or incorrect function invocations.
2️⃣ Understanding the callstack can help us optimize our code by avoiding unnecessary function calls or reducing recursion depth.
3️⃣ The callstack can be a useful tool for identifying and fixing memory-related issues in our programs.
Remember, as you delve deeper into your programming journey, always pay attention to the callstack. It holds the key to understanding the intricacies of function calls and program execution!
🌟 Stay curious, keep learning, and keep coding! Feel free to share your thoughts or ask any questions in the comments below. Happy coding, everyone! 🐍💻
#CallStack
#Python
@Pythonic_Dev
👍1
در بخشی از متینگ هفته گذشته در خصوص
Identity server, oidc client
صحبت شد
سرویس یا بهتره بگیم سیستم هویت سنجی مرکزی کاربران ،در پروژههای بزرگ با معماری میکروسرویس بسیار کارامد است
https://virgool.io/@mohsen-farokhi/%D9%85%D9%81%D8%A7%D9%87%DB%8C%D9%85-oauth-%D9%88-openid-connect-%D8%A8%D8%AE%D8%B4-%D8%A7%D9%88%D9%84-xj75qxmohr65
در لینک بالا با ساختار این سیستم آشنا میشویم که در چهار بخش میباشد.
https://pyoidc.readthedocs.io/en/latest/
در لینک بالا یک داکیومنت پایتونی رو میتونیم بخونیم
@code_crafters
Identity server, oidc client
صحبت شد
سرویس یا بهتره بگیم سیستم هویت سنجی مرکزی کاربران ،در پروژههای بزرگ با معماری میکروسرویس بسیار کارامد است
https://virgool.io/@mohsen-farokhi/%D9%85%D9%81%D8%A7%D9%87%DB%8C%D9%85-oauth-%D9%88-openid-connect-%D8%A8%D8%AE%D8%B4-%D8%A7%D9%88%D9%84-xj75qxmohr65
در لینک بالا با ساختار این سیستم آشنا میشویم که در چهار بخش میباشد.
https://pyoidc.readthedocs.io/en/latest/
در لینک بالا یک داکیومنت پایتونی رو میتونیم بخونیم
@code_crafters
ویرگول
مفاهیم OAuth و OpenID Connect - بخش اول - ویرگول
در این مجموعه مطالب از OAuth و OpenID Connect، در مورد مفاهیم Identity management صحبت می کنیم.
❤3
Forwarded from Python BackendHub
The software mindset
قیمت این کورس از ۲۳۰ دلار شروع میشه تا ۷۰۰ دلار که Arjan میفروشه. حالا به هر طریقی دانلود کردیم (با تشکر از سایه بابت معرفی اون طریق 😁)
گذاشتم تو کانال زیر. داره اپلود میشه کامل نشده.
https://t.iss.one/+wHLS0yl7y_M4Yzdk
این کورس رو حتمااااا ببینید (البته اگه با غیر قانونی دیدنش مشکل ندارین)
مباحثش به شدت مهمه! تو عکس تایتل هاشو گذاشتم.
خودمم دیروز دانلودش کردم که ببینم.
@ManiFoldsPython
قیمت این کورس از ۲۳۰ دلار شروع میشه تا ۷۰۰ دلار که Arjan میفروشه. حالا به هر طریقی دانلود کردیم (با تشکر از سایه بابت معرفی اون طریق 😁)
گذاشتم تو کانال زیر. داره اپلود میشه کامل نشده.
https://t.iss.one/+wHLS0yl7y_M4Yzdk
این کورس رو حتمااااا ببینید (البته اگه با غیر قانونی دیدنش مشکل ندارین)
مباحثش به شدت مهمه! تو عکس تایتل هاشو گذاشتم.
خودمم دیروز دانلودش کردم که ببینم.
@ManiFoldsPython
🔥3