Husan Ibragimov


Kanal geosi va tili: O‘zbekiston, O‘zbekcha
Toifa: Ta’lim


Kanalda dasturlash bo'yicha maqolalar, dasturlash asoslari, algoritmlash va yangi texnalogiyalar haqida yozib boraman
Bu kanalda ko'proq fikrlar yoziladi: @backendchi_blogs
🌐 backendchi.uz

Связанные каналы

Kanal geosi va tili
O‘zbekiston, O‘zbekcha
Statistika
Postlar filtri


👩‍💻 Eng Ko‘p Foydalaniladigan Git Buyruqlari

Sahna — bu siz commit qilishdan oldin fayllarni tayyorlash (qo‘shish) uchun mo‘ljallangan vaqtinchalik joy. Gitda git add buyrug‘i orqali fayllar sahnaga qo‘shiladi. Sahnaga qo‘shilgan fayllar commit jarayonida qatnashadi.

1. 𝐠𝐢𝐭 𝐝𝐢𝐟𝐟: Hozircha sahnaga qo‘shilmagan fayllar o‘rtasidagi farqlarni ko‘rsatadi.


2. 𝐠𝐢𝐭 𝐜𝐨𝐦𝐦𝐢𝐭 -𝐚 -𝐦 "𝐜𝐨𝐦𝐦𝐢𝐭 𝐦𝐞𝐬𝐬𝐚𝐠𝐞": Barcha kuzatilayotgan o‘zgarishlarni xabar bilan commit qiladi.


3. 𝐠𝐢𝐭 𝐜𝐨𝐦𝐦𝐢𝐭 --𝐚𝐦𝐞𝐧𝐝: Oxirgi commitni o‘zgartiradi.


4. 𝐠𝐢𝐭 𝐬𝐭𝐚𝐭𝐮𝐬: Ishchi katalog holatini ko‘rsatadi.


5. 𝐠𝐢𝐭 𝐚𝐝𝐝 𝐟𝐢𝐥𝐞_𝐩𝐚𝐭𝐡: Fayl(lar)ni sahnaga qo‘shadi.


6. 𝐠𝐢𝐭 𝐜𝐡𝐞𝐜𝐤𝐨𝐮𝐭 -𝐛 𝐛𝐫𝐚𝐧𝐜𝐡_𝐧𝐚𝐦𝐞: Yangi shox yaratadi va unga o‘tadi.


7. 𝐠𝐢𝐭 𝐜𝐡𝐞𝐜𝐤𝐨𝐮𝐭 𝐛𝐫𝐚𝐧𝐜𝐡_𝐧𝐚𝐦𝐞: Mavjud bo‘lgan shoxga o‘tadi.


8. 𝐠𝐢𝐭 𝐜𝐡𝐞𝐜𝐤𝐨𝐮𝐭 : Ishchi katalogni aniq commit holatiga o‘tkazadi.


9. 𝐠𝐢𝐭 𝐩𝐮𝐬𝐡 𝐨𝐫𝐢𝐠𝐢𝐧 𝐛𝐫𝐚𝐧𝐜𝐡_𝐧𝐚𝐦𝐞: Shoxni masofaviy repozitoriyga yuboradi.


10. 𝐠𝐢𝐭 𝐩𝐮𝐥𝐥: Masofaviy o‘zgarishlarni olish va birlashtirish.


11. 𝐠𝐢𝐭 𝐟𝐞𝐭𝐜𝐡: Masofaviy repodan o‘zgarishlarni oladi, birlashtirmasdan.


12. 𝐠𝐢𝐭 𝐫𝐞𝐛𝐚𝐬𝐞 -𝐢: Interaktiv rebase, commit tarixini qayta yozish.


13. 𝐠𝐢𝐭 𝐫𝐞𝐛𝐚𝐬𝐞 𝐛𝐫𝐚𝐧𝐜𝐡_𝐧𝐚𝐦𝐞: Hozirgi shoxni boshqa shoxga rebase qiladi.


14. 𝐠𝐢𝐭 𝐜𝐥𝐨𝐧𝐞: Masofaviy repozitoriyning mahalliy nusxasini yaratadi.


15. 𝐠𝐢𝐭 𝐦𝐞𝐫𝐠𝐞: Shohlarni birlashtiradi.


16. 𝐠𝐢𝐭 𝐥𝐨𝐠 --𝐬𝐭𝐚𝐭: Commitlar tarixini statistikasi bilan ko‘rsatadi.


17. 𝐠𝐢𝐭 𝐬𝐭𝐚𝐬𝐡: O‘zgarishlarni keyinroq ishlatish uchun saqlaydi.


18. 𝐠𝐢𝐭 𝐬𝐭𝐚𝐬𝐡 𝐩𝐨𝐩: Saqlangan o‘zgarishlarni qo‘llaydi va olib tashlaydi.


19. 𝐠𝐢𝐭 𝐬𝐡𝐨𝐰 𝐜𝐨𝐦𝐦𝐢𝐭_𝐢𝐝: Commit haqida batafsil ma’lumot ko‘rsatadi.


20. 𝐠𝐢𝐭 𝐫𝐞𝐬𝐞𝐭 𝐇𝐄𝐀𝐃~1: Oxirgi commitni bekor qiladi, o‘zgarishlarni mahalliy saqlab qoladi.


21. 𝐠𝐢𝐭 𝐛𝐫𝐚𝐧𝐜𝐡 -𝐃 𝐛𝐫𝐚𝐧𝐜𝐡_𝐧𝐚𝐦𝐞: Shoxni majburan o‘chiradi.


22. 𝐠𝐢𝐭 𝐫𝐞𝐬𝐞𝐭: Commitlarni branch ko‘rsatkichini ko‘chirib bekor qiladi.


23. 𝐠𝐢𝐭 𝐫𝐞𝐯𝐞𝐫𝐭 𝐜𝐨𝐦𝐦𝐢𝐭_𝐢𝐝: Belgilangan commitning o‘zgarishlarini bekor qiluvchi yangi commit yaratadi.


24. 𝐠𝐢𝐭 𝐜𝐡𝐞𝐫𝐫𝐲-𝐩𝐢𝐜𝐤 𝐜𝐨𝐦𝐦𝐢𝐭_𝐢𝐝: Aniq bir commit o‘zgarishlarini qo‘llaydi.


25. 𝐠𝐢𝐭 𝐛𝐫𝐚𝐧𝐜𝐡: Shohlarni ko‘rsatadi.


26. 𝐠𝐢𝐭 𝐫𝐞𝐬𝐞𝐭 --𝐬𝐨𝐟𝐭 𝐇𝐄𝐀𝐃^: Oxirgi commitni bekor qiladi, lekin o‘zgarishlarni saqlaydi.


27. 𝐠𝐢𝐭 𝐫𝐞𝐬𝐞𝐭 --𝐡𝐚𝐫𝐝: Hamma narsani oldingi commit holatiga qaytaradi, barcha saqlanmagan o‘zgarishlarni o‘chiradi.


28. 𝐠𝐢𝐭 𝐛𝐫𝐚𝐧𝐜𝐡 --𝐬𝐞𝐭-𝐮𝐩𝐬𝐭𝐫𝐞𝐚𝐦-𝐭𝐨 𝐫𝐞𝐦𝐨𝐭𝐞_𝐛𝐫𝐚𝐧𝐜𝐡: Belgilangan masofaviy shoxni upstream qilib o‘rnatadi.

Manba

@husandev


backend.pdf
139.7Kb
This is also!

#backend


golang.pdf
80.9Kb
Shu yerda turib tursin

#roadmap #go


Davronbek Portfolio.✨ dan repost
Junior to Middle RoadMap. 🚀🗺

Bu maqolada o'z fikrimdan kelib chiqan holatda, har bir junior dastuchi o'z darajalarini keyingi o'rinlarga ko'tarish maqsadida o'rganishi va amaliyot qilishi kerakli bo'lgan bazi bir loyha va texnalogiyalar ro'yxatini o'lashmoqchiman.

Sizda ham shu mavzuga oid fikrlar bo'lsa izohlarda o'z fikringizni qoldiring. Bu boshqalarga ham foydali va qiziq albatta 👇📝

Link: https://cosmic-chauffeur-ec7.notion.site/Junior-To-Middle-461fe72d17b54783a5ad9389587975ae

@davron_coder


Davronbek Portfolio.✨ dan repost
EPAM kabi companylarda interview jarayonida suralish ehtimoli mavjud bo’lgan mavzular (sinior akalar tavsiyasi 😉)

VCS - git merge vs git rebase
Docker, Conterinization - Image, Container, Volume
WEB - REST API, Django architecture
DataBase - Index , Inner Join
CI/CD
Python Types and Operations - Dictionaries, is vs ==, mutable vs immutable, copy vs deepcopy
Algorithms - Complexity
Functions in Python
Memory managemen - Ref counting
Multitasking - GIL, Thread vs process
OOP in Python - Encapsulation, Data hiding


1. Dictionaries in depth. Hash, hash function and its properties. Hashing vs. encrypting. Good reference material on how dictionaries work:https://stackoverflow.com/questions/327311/how-are-pythons-built-in-dictionaries-implemented
2. Decorators in depth. To see into what is decorator is and how it works. How to decorate function without using '@'. The same for parametrized decorators.(https://realpython.com/primer-on-python-decorators/)
3. Figure out how does inheritance in Python work. What is diamond problem. What is MRO. Difference between New Style Classes and Old Style Classes. C3 algorithm. Be able to calculate MRO of large inheritance tree on blackboard or paper(https://blog.pilosus.org/posts/2019/05/02/python-mro/).
4. reference counting (https://towardsdatascience.com/understanding-reference-counting-in-python-3894b71b5611)
5. Garbage collecting in python (https://pythoninternal.wordpress.com/2014/08/04/the-garbage-collector/)
6. Figure out what is scope and how LEGB rule works. (https://python-scripts.com/scope )
7. Algorithms complexity - https://introprogramming.info/english-intro-csharp-book/read-online/chapter-19-data-structures-and-algorithm-complexity/
8. Data hiding - https://www.upgrad.com/blog/data-hiding-in-python/#:~:text=Data%20hiding%20in%20Python%20is,and%20hides%20them%20from%20users.
9. Python GIL (http://www.dabeaz.com/GIL/)

I can suggest to take a look at this books:

* "Clean Code: A Handbook of Agile Software Craftsmanship" (Robert C. Martin )
* "Clean Architecture: A Craftsman's Guide to Software Structure and Design" (Robert C. Martin )
* "Clean Coder, The: A Code of Conduct for Professional Programmers " (Robert C. Martin )
Python:
* Programming Python ( Mark Lutz )
* "Learning Python" by Mark Lutz
* "Python Cookbook" by Brian Jones, David Beazley
* "Fluent Python" by Luciano Ramalho
More complex books:
* "Python Tricks: The Book A Buffet of Awesome Python Features" (Den Baden)
* "Clean Code in Python: Refactor your legacy code base" (by Mariano Anaya)
* "CPython Internals" (Anthony Shaw)

linkedin courses:
* https://www.linkedin.com/learning/effective-serialization-with-python/serialization-with-python
* https://www.linkedin.com/learning/python-parallel-and-concurrent-programming-part-1/learn-parallel-programming-basics
*https://www.linkedin.com/learning/python-parallel-and-concurrent-programming-part-2/learn-parallel-programming-basics?u=2113185
*https://www.linkedin.com/learning/python-code-challenges/put-your-python-skills-to-the-test?u=2113185»


@davron_dev


Davronbek Portfolio.✨ dan repost
SOLID Principles explained in Python with examples.

S.O.L.I.D haqida ko'p eshitganmiz, eshitganlarimiz faqat nazariya bo'lib qolmasligi uchun kod namuna ham ko'rib yozib qo'yish kerak ekan!

More 👈
Bonus 🎁


sql-cheat-sheet.pdf
199.0Kb
SQL cheat sheet.

Ko'p foydalaniladigan sql komandalar ro'yxati

@husandev




Yaxshiroq avatar tanlagunimgacha shu tura tursin!




from pydub import AudioSegment
import speech_recognition as sr

# Initialize recognizer
recognizer = sr.Recognizer()

# Path to the uploaded audio file
audio_file_path = "2. Art_and_Business.mp3"
wav_file_path = "2. Art_and_Business.wav"

# Convert MP3 to WAV
audio = AudioSegment.from_mp3(audio_file_path)
audio.export(wav_file_path, format="wav")

# Load and recognize the speech from the WAV file
with sr.AudioFile(wav_file_path) as source:
audio_data = recognizer.record(source)

# Transcribe the audio to text
try:
transcription = recognizer.recognize_google(audio_data)
except sr.UnknownValueError:
transcription = "Could not understand the audio"
except sr.RequestError as e:
transcription = f"Error during transcription: {e}"

transcription

Audio habarlarni text ga o'girib yozib beruvchi kod.
Run qilishdan oldin:

pip install SpeechRecognition
pip install pydub
sudo apt-get install ffmpeg


9 Python Built-In Decorators That Optimize Your Code Significantly

#decorator #methods
https://chatgpt.com/share/ee7327a7-9a5b-4476-b087-1f74df986742


Build your Django projects quickly and easily with Dangasa.

Creating CRUD (Create, Read, Update, Delete) operations in Django can be repetitive and time-consuming. That's where Dangasa comes in. It's an automated library designed to make your life easier by handling CRUD operations for you.

Why Use Dangasa?

Automates CRUD Tasks: Dangasa handles the repetitive tasks of creating, reading, updating, and deleting data, so you don't have to do it manually.🧠

Saves Time: By reducing the amount of code you need to write, Dangasa speeds up your development process.⏳

Easy to Implement: With just a few simple steps, you can set up CRUD operations for your Django models.🪜

Reduces Errors: Dangasa provides a consistent way to handle CRUD, minimizing the risk of mistakes. ❌

How to Get Started?

1. Install Dangasa with pip: pip install dangasa

2. Add it to your Django project.

3. Link your models, and Dangasa will automatically generate the necessary views and URLs.

With Dangasa, you can simplify your Django development and get more done in less time.

We worked on this project as a team. A big thank you to Jonibek Yorkulov, Jaloliddin Mamatmusayev and Omadbek Qosimov for their tremendous support. Special thanks to Jonibek Yorqulov for coming up with the idea for this project.

https://pypi.org/project/Dangasa/


Python Uz dan repost
Video oldindan ko‘rish uchun mavjud emas
Telegram'da ko‘rish
Python dasturlash tilining ishlash sxemasi

@python_code_uz


Davronbek Portfolio.✨ dan repost
25 Blogs to Learn 25 System Design Concepts 🔖

p.s) Yaxshi mavzular to'plangan ekan. Ko'rib o'rganib chiqsan ziyon qilmayd. 👌

* Link
* Link 2


Djangodagi migrations papka nima uchun kerakligini bilasizmi?

Django da qurilgan tizim bazada qanday content borligiga qaramaydi, undagi migration fayllar orqali bazani o'qib oladi. Siz bazani alohida yaratib keyin uni djangoga ulasangiz va faqat kerakli fieldlarni migration faylga yozzangiz faqat ular ko'rinadi va har safar bazaga so'rov jo'natganda migration fayllarni o'qib keyin amal bazariladi.


Yaxshigina article topib oldim, deployment bo'yicha. Sizlarga ham ulashgim keldi 👇

#usefull #deployment #deploy




Davronbek Portfolio.✨ dan repost
Demak tundan tongacha (00:00 - 06:00) Night Stream qilar ekanmizada 👨‍💻

Insha'allah bugundan Advanced eCommerce yozishni boshlaymiz: 🔥

Stream: https://youtube.com/live/JpuAADpiL1Q?feature=share


Jakhongir Rakhmonov - IT dan repost
Ha, bu oson ish emas.

Hech kim ko’rsatmagan, o’qitmagan, yordam bermagan.

Men buni o’zgartirmochiman. Birgalikda o’zingizning frameworkingizni yozsak, nima deysiz?

Django, Yii, React, Spring, Ruby On Rails va boshqa millionlab dasturchilar ishlatadigan frameworklariga o’xshaganidan yozsak, nima deysiz?

Tassavvur qilinga. Ish beruvchi sizning rezyumeyingizni ochib qarasa o’zingiz yozgan framework joylangan GitHubda repository turibdi. Bu qanaqa taassurot qoldiradi?

“Demak bu bola o’z ishiga qiziqadi. Chunki no odatiy va oson bo’lmagan ishlar qilibdi. Boshqa dasturchilar uchun framework yozibdi. Bu ancha low-level ish.” degan fikrlar paydo bo’lishi turgan gap. Shaxsan men bunday dasturchilarni intervyuga chaqirgan bo’lar edim va qiziqib qilgan ishi haqida har xil savollar bergan bo’lar edim.

Shu maqsadda men bir qator video darslar yozib chiqdim va shu narsalar haqida ertaga bitta YouTubeda onlayn webinar uyushtirmoqchimiz. O’zbekiston vaqti bilan soat 19:00da.

Webinarda hozirgi IT dunyosidagi holat, karyerada o’sish va shu onlayn kursimiz haqida gaplashamiz. Hohlagan savollaringizga ham javob beramiz. Eng asosiysi aynan shu webinar vaqtidagina katta chegirma taqdim qilamiz. Webinardan so’ng kurs narxi oshadi. Webinar qaysi link orqali bo’lishini ertaga yozib yuboraman.

Sizga kurs qiziq bo’lmasa ham albatta keling. Webinar foydali bo’lishi aniq. Chunki u yerda mendan tashqari Booking.comda dasturchi bo’lib ishlab kelayotgan Khamidulla Inoyatov va EPAMda dasturchi bo’lib ishlab kelayotgan Khumoyun Inoyatovlar ham bo’lishadi. Amazon, Booking va EPAM haqida ham bemalol so’rasangiz bo’ladi 😉

Ertaga ko’rishguncha.

@jakhonrakhmonov

20 ta oxirgi post ko‘rsatilgan.