Programming ∀
Open in Telegram
Ushbu kanalda dasturlashga aloqador turli expriementlarim, g'oyalarim, hulosalarimni ulashaman.
Show more1 354
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
1 354
Introvertlar, dunyodan to'yganlar, shizefiriniklar, korporativ tizimdan nafratlanadiganlar uchun ajoyib narsa topdim.
1 354
Yangi yasalgan dasturlash tillarida stdlib. Yoki boshqacharoq aytsak o'zini ichida tayyor kutbxonalar mavjud bo'ladi, fs, network vaxakazolar bilan ishlash uchun.
Eng qizig'i shundaku siz qandaydir X dasturlash tilini ishlab chiqdingiz va u ma'lum muhitda ishlaydi. Endi shu muhitga doir bo'lgan narsalar bilan qanday integratsiya qilasiz ? Albatta hamma narsani 0dan qurishga hamma ulgurmaydi bu deyarli ilojisiz. Demak siz ishlab chiqgan Xlang da file system bilan ishlashni hohlasangiz qandaydir uslubda shunday imkoniyatni qurish kerak. Qiziq tomoni qanday ?
Man bilgan 2 uslub bor edi.
1. FFI
2. D-Bus
Ammo bu savol mani compiler magiclarga olib kirdi. Overall compiler uchun mavjud feauturelar user uchun mavjudmas. Buni alohida muhokama ham qildik. Qisqasi bir mavzuda savol paydo bo'lgani yaxsh narsa.
1 354
Repost from Kei Lambda
Haskell: Your Honest and Transparent Friend in the World of Programming
In my experience, Haskell is the only language where I can look up the source code of built-in functions/constructs/data structures and UNDERSTAND what is going on "under the hood" without additional mental overhead. Why? Because it is well documented, declarative and builds abstractions the right way.
It is strange. Indeed strange. Remarkably strange. Why? Because Haskell is known to have a high entry bar. Known as an unapproachable alien — a language you cannot fathom without a Ph.D. But the reality is that I find Haskell to be the most intuitive language I have ever used. I frequently find myself exploring the source code of the Haskell standard library, an experience that rarely occurs with other languages. In other languages, everything is so wrapped and tangled up to such an extent that I give up within 10 minutes of browsing the source code. I have to jump back and forth. And there are even some cases that lead you to nowhere, so-called "Compiler magic" — sections of the language that cannot be replicated solely with the standard features. These are snippets of source code that may be incorrect, but the compiler perceive it as an exception. Haskell also has them as well (ghc-prim), yet they are still readable and understandable. Moreover,
ghc-prim is minimal, and I don't find myself going that far.
Let's ask ourselves some questions:
1. When was the last time you looked up the source code of the built-in functions, and the source code itself was enough to clear your confusion?
2. Do you even read the source code of your daily tools?
Let's make some comparisons:
- JavaScript/TypeScript/Node.js: When I start reading the source code, everything just leads to type definitions. It really is annoying, and I have to look everything up manually. And when I finally find some piece of code, it is utterly unreadable. Sometimes because of performance concerns and sometimes because of backward compatibility.
- Go: It's standard library supports a lot of things, props for this. However, when it comes to reading the source code, it is challenging because the language is dead simple. There is a lot of "syntactic noise," boilerplate, and short and confusing variables.
- Java: Agony. Jumping back and forth between so many interfaces that you start questioning your life choices.
- Scala: Declarative interface, imperative internals. Everything is tangled, and you have to jump back and forth and hold the mental map of the source code in your head. However, I find the Cats library source code to be quite easy to understand.
In conclusion, I love and value honesty.1 354
Repost from Aleph Nought
Ushbu guruhda WebGL/WebGPU bo'yicha darslar qo'yilish boshlandi. WebGL bo'yicha birinchi darsni bu yerdan olishingiz mumkin. 0 dan (from scratch) o'rgatiladi. Shuningdek guruh faqat o'rganuvchilar uchun emas, professional mutaxasislar uchun ham bo'lib, ular o'z tajribalarini ulashishlari mumkin.
Undan tashqari WebAPI ga doir qo'shimcha (advanced levelda) darslarni ham qilish rejalashtirilgan. Guruhga a'zo bo'lib qo'ying)
1 354
Repost from Aleph Nought
WebGPU Community of Uzbekistan
Welcome to the WebGPU Community of Uzbekistan! Our community is dedicated to fostering collaboration, knowledge-sharing, and innovation among WebGPU enthusiasts in Uzbekistan. Whether you're a beginner eager to learn or an experienced developer looking to share your expertise, you'll find a supportive environment here.
We organize regular meetups, workshops, and online discussions to explore the latest advancements in WebGPU technology. Our goal is to build a vibrant network of developers who can contribute to the growth and development of WebGPU applications, both locally and globally.
Join us to connect with like-minded individuals, stay updated on industry trends, and participate in exciting projects that push the boundaries of what's possible with WebGPU.
1 354
Aytgancha, qanaqadir clusterlarni ko'rsangiz masalan pm2, node native cluster hammasida bitta narsa bor.
App N ta instanceda ishga tushadida. Lekin bitta portni listen qiladi.
Shuni javobi pastda:
Lekin unaqa qilmanglar, thread, process pool afzal 🙂 Sababi trafficni masterdan o'tqazasiz. Process poolda esa bemalol IPC qilsangiz bo'ladi.
Ko'rib qolsam sudga beraman ! Unday qilmanglar ))
https://unix.stackexchange.com/questions/65475/ephemeral-port-what-is-it-and-what-does-it-do
1 354
- Aka stream ko'rasizmi ?
- Ha, xozir ham ko'ryabman.
- Qaysi playerni ?
- Player ?
- Gamming detskiy sad aka bo'ladigan ishni qiling.
- Bo'ladigani nima ekan ? https://www.youtube.com/watch?v=Sxx0TDPT0t8
- Sigma...
1 354
Aynan shunaqa ko'p parametrlik funksiyalar ko'pchilik huddi yuqoridagi implementationi qilib ketadi. Yani ohirgi parametrlar optional bo'ladi.
Kegin esa null checking boshlanadi )).
Man bilgan uslublar:
1. Polymorphism
2. Curry function.
Manga ko'proq curry function osonroq sababi type levelda ham aynan shunday implementationlar qilsa bo'ladi va oson composition bo'ladi.
Yana qanday fikrlar bor ?
1 354
V dasturlash tili authori bilan suhbat. V tilini birinchi bor 2019-yilda ko'rganman. O'sha payitlar huddi go kabi lekin perfomance yaxshi edi. Loyihani ko'rganimda birinchi fikrim, hali ancha hom ekan. Xozirda ancha rivojlanibti.
Suhbat qiziq bo'libti. Eng qizig'i juda ko'p tillar kabi V tilida ham aynan memory mavzusida ancha o'zgarishlar bo'lgan ekan. Manual memory management, GC, ownership. Hullas bu mavzuda ular ham ancha bosh qotiribti ))
Yana kichik spoiler: Vlang ham LLVMni rad etibti 🙂 Xozirgi versiya gcc ustida ishlayabti. Ammo author o'zining compiler backendini yozayotganini ham takidladi.
https://www.youtube.com/watch?v=xMGNlUZQ-6w
1 354
Kitob juda ham yoqdi. Haftasiga 2 soat aynan shu kitob uchun ajrataman Hudoholasa.
Bu kitobni olib o'qib chiqib chapterlar bo'yicha content tayyorlashga harakat qilaman. Ammo oldindan vada berolmayman bunday contentlar ustida ishlamaganimcha ham ancha bo'lib ketibti agar grafikda bo'sh vaqtim bo'lsa content uchun albatta shu ish bilan shug'ullanaman.
1 354
+1
Yoshlar bilan profilaktika ishlarini olib bordik. Ushbu tadbirda aldanib qolishga moyiligi yuqori hamkasiblarni LOH unvoni bilan taqdirladik.
1 354
Barcha Xayotbekov Xumoyin aka ukalarga savol.
Kartangiz bilan nimalar qilgansiz kimga code bergansiz ?
Balki nojoye saytlarga ulangandirsiz… eslab ko’ring 🙂
1 354
Negadir asosan IT communitylardagilarga scam kelyabti. Demak jinoyatchi oramizda 👮♂️
Qiziq boshqotirma. Qanday qilib ajratib jinoyatchini olsak bo’ladi nazariy jixatdan 🤔
1 354
Shu kabi sizdan ham pul so'rashsa aldanib qolmang. Mobodo mani nomimdan yozishsa ham bermang ))
Agar juda kimga pul berishni bilmayotgan bo'lsangiz quyidagi karta raqamga hohlaganizcha o'tkazishiz mumkin. Bu pullarni o'zim yeb ichvoraman yoki amazondan kitob aytaman ))
9860190101363629
