Kod yozganda shunqa "tozalash" ishlarini qilishni yoqtiraman.
React bilan ishlaganda iloji boricha mantiqiy ifodalarni JSXdan ajratish kerak. Shunda kod ancha "o'qishli" va toza chiqadi.
Bu ideal kod emas, ammo hech bo'lmasa shunday "best practice"larni doim ishlatish kerak.
React bilan ishlaganda iloji boricha mantiqiy ifodalarni JSXdan ajratish kerak. Shunda kod ancha "o'qishli" va toza chiqadi.
Bu ideal kod emas, ammo hech bo'lmasa shunday "best practice"larni doim ishlatish kerak.
👍30🔥3
Deno bilan native desktop dastur yasash
Yangi yil oldi bo'sh vaqtim ko'p bo'ldi. Shu sabab Deno v2 chiqqanidan beri o'ylab yurgan bir tajribani qilib ko'rdim.
Deno yozgan skriptingizni native binary (.exe) ga kompilyasiya qilib bera oladi. O'ylab qoldim, demak Denoda UI app qilsak, uni ham .exe faylga osongina kompilyatsiya qilib beridimi? Axir bu juda ajoyibku dedim. Lekin muammo shuki, Denoda UI library yo'q! 🤔
Ammo FFI imkoniyati bor!
(Foreign Function Interface)
Shu orqali C/C++, Rust, Go kabi tillarda yozilgan DLL kutubxonalarni ishlatish mumkin.💡
Soddaroq, lekin komponentlarga boy bo'lgan C++ kutubxona tanladim - TGUI.
SFML ustiga qurilgan, API juda yaxshi.
Unga ba'zi o'zgartirishlar kiritgan holda Windows va OSX ga DLL tayyorladim. Deno FFI bilan C++ funksiyalarni JS ga ulab chiqdim. Voilà! 🎉
Anchagina metaprogramming qilib, chidasa bo'ladigan API qildim. Mana natija:
https://github.com/diyorbek/tgui.js
Yangi yil oldi bo'sh vaqtim ko'p bo'ldi. Shu sabab Deno v2 chiqqanidan beri o'ylab yurgan bir tajribani qilib ko'rdim.
Deno yozgan skriptingizni native binary (.exe) ga kompilyasiya qilib bera oladi. O'ylab qoldim, demak Denoda UI app qilsak, uni ham .exe faylga osongina kompilyatsiya qilib beridimi? Axir bu juda ajoyibku dedim. Lekin muammo shuki, Denoda UI library yo'q! 🤔
Ammo FFI imkoniyati bor!
(Foreign Function Interface)
Shu orqali C/C++, Rust, Go kabi tillarda yozilgan DLL kutubxonalarni ishlatish mumkin.💡
Soddaroq, lekin komponentlarga boy bo'lgan C++ kutubxona tanladim - TGUI.
SFML ustiga qurilgan, API juda yaxshi.
Unga ba'zi o'zgartirishlar kiritgan holda Windows va OSX ga DLL tayyorladim. Deno FFI bilan C++ funksiyalarni JS ga ulab chiqdim. Voilà! 🎉
Anchagina metaprogramming qilib, chidasa bo'ladigan API qildim. Mana natija:
https://github.com/diyorbek/tgui.js
GitHub
GitHub - diyorbek/tgui.js: Build native desktop applications with Deno. JS binding for TGUI
Build native desktop applications with Deno. JS binding for TGUI - diyorbek/tgui.js
🔥12👍6👏1
HTML/CSS ga qo'shilayotgan yangi imkoniyatlar haqida. Bu yangi xususiyatlar bilan ancha muncha JS va CSS kodlarni o'chirib tashlasak bo'ladi endi.
Qo'shimcha kutubxonalar ishlatishga ham hojat qolmaydi, chunki hammasi bruzerda bor!
https://youtu.be/VTCIStB6y8s?si=QPiPC2ZsAt1T73j_
Qo'shimcha kutubxonalar ishlatishga ham hojat qolmaydi, chunki hammasi bruzerda bor!
https://youtu.be/VTCIStB6y8s?si=QPiPC2ZsAt1T73j_
YouTube
What's new in web UI
Prepare to be dazzled by a symphony of fluidity, dynamism, and expressive power as we unveil the next generation of web UI. It’s a world where user experiences transcend the ordinary and developers become true visual orchestrators. Discover how you can turn…
👍16
Pinterestdan ketdim
Ofisda rasmga hech tushmaganimdan afsuslanyapman. Chunki bu post uchun "cover photo" yo'q 🥲.
https://www.diyorbek.blog/blog/pinterestdan-ketdim
@brogrammist
Ofisda rasmga hech tushmaganimdan afsuslanyapman. Chunki bu post uchun "cover photo" yo'q 🥲.
https://www.diyorbek.blog/blog/pinterestdan-ketdim
@brogrammist
🔥18👏9🤯2
Xo'sh. Ba'zi foto videolar bor ekanu, o'zim yo'q ekan. 😄
Pinterest Warsaw office dan havolalar:
Men asosan o'tiradigan burchak.
Tashqaridagi manzara.
Jamoadoshim Elena bilan foto.
Play room va h.k.z.
😬😬😬
Pinterest Warsaw office dan havolalar:
Men asosan o'tiradigan burchak.
Tashqaridagi manzara.
Jamoadoshim Elena bilan foto.
Play room va h.k.z.
😬😬😬
👍29🔥11🎉3
Gigant fayllarni serverga yuklash
3 oycha oldin Dropbox kompaniyasida offer oldim. Lekin offerni rad etdim.
— diydigan odam yo’q. 😬
Oldingi postlarimda aytgan sabablarim uchun rad etyapman, albatta.
Texnik suhbatlarning birida aynan fayl yuklanishi ustida ishlagan senior frontendchi bor edi. Suhbat oxirida undan katta fayllar qanday yuklanishi haqida so’radim. Chunki o’zim ham pet-proyektim uchun 100MB dan oshiq fayllar yuklanishini optimizatsiya qilish...
Davomi:
https://www.diyorbek.blog/blog/gigant-fayllarni-serverga-yuklash
@brogrammist
3 oycha oldin Dropbox kompaniyasida offer oldim. Lekin offerni rad etdim.
Oka offerlani ko’p rad etvormovossizmi?
— diydigan odam yo’q. 😬
Oldingi postlarimda aytgan sabablarim uchun rad etyapman, albatta.
Texnik suhbatlarning birida aynan fayl yuklanishi ustida ishlagan senior frontendchi bor edi. Suhbat oxirida undan katta fayllar qanday yuklanishi haqida so’radim. Chunki o’zim ham pet-proyektim uchun 100MB dan oshiq fayllar yuklanishini optimizatsiya qilish...
Davomi:
https://www.diyorbek.blog/blog/gigant-fayllarni-serverga-yuklash
@brogrammist
🔥31👏1
Forwarded from Front-End Engineer Blog (Evgenii Ray)
Why Aren’t You Getting Promoted to Staff Engineer / Почему тебя не промоутят до стаффа? 🤔
(Перевод на русский ты найдешь в комментах)
Hey! It just so happened that I had to read and write a lot of feedback for IC6 promo packets in the last year. When it comes to promotion to IC5, it's usually pretty clear what's missing. But with IC6, the lines get really blurry. So I decided to write a short post about the most common reasons why a great engineer doesn’t get promoted — assuming the team needs a staff eng, and the person is actively working with their manager on it.
Let’s dive in🚀
❌ Soft Skills. Sometimes, a person is a top-notch expert, crushes projects, writes great code, and knows architecture. But still — no promo. A recurring issue I’ve seen in many packets is the lack of trust and leadership skills. People don’t really enjoy working with the person, or they simply operate in isolation from the team. Others on the team don’t feel like they’re working with a Tech Lead. Managers want to see that the engineer is trusted by others — ideally a group of at least 6–10 engineers.
❌ Uplifting Others. Here's a fun analogy. If you’ve played World of Warcraft or Diablo, there’s this class of heroes — Paladins — who buff the group. That’s roughly how managers see IC6s: wherever you put them, they make everything and everyone better. It shows in things like mentoring engineers, doing code and architecture reviews, and keeping morale up in tough times 😀. When a project is failing and there’s pressure from leadership, it's the IC6 who takes the hit and pushes the group to land the project. I'm sure you've met people like this — always full of energy, technically solid, and highly trusted by other engineers.
❌ Outer Focus. One of the biggest mindset shifts between IC5 and IC6 is moving your focus away from yourself and toward others. As a senior, your job is to land the project you’ve been given — your direct impact. As an IC6, the focus shifts to the team’s projects. A good IC6 finds interesting projects for everyone else, even if it means giving up something interesting themselves. A common mistake I see is trying to lead everything. Taking on all the initiatives across the org and not giving others a chance. Instead, you should be enabling others to grow their leadership skills — giving feedback and guidance. As a result, you build trust, and people start relying on you more.
❌ Credit Stealing. One pattern I’ve seen a lot: the team agrees to tackle N issues in the codebase over the half-year. Tasks are split up. The aspiring IC6 sets up a recurring check-in every 2–3 weeks, where everyone syncs. Engineers work independently, and the problems were distributed as a team decision. Then, at performance review time, this person writes a massive self-review claiming they “organized everything” and that they helped the team solve N issues. Sounds like IC6 work, right? Organizing a sync meeting — sure, that’s fine. But claiming the team’s work as your own isn’t. The right thing to do is let the team talk about their own contributions. Even if you delegated all the work and provided technical help, it’s still better to let others share their wins. That builds the right kind of trust and relationships.
❌ No Personal Contribution. Some tech leads drift into pure project management and stop writing code or contributing technically. Unfortunately, PMing often is a second job for IC6s — but it shouldn’t fully replace engineering work. Yes, you can write less code on average, but if you’re spending 80% of your time in meetings and Google Docs, that’s a red flag. Prioritize what matters, skip unneeded meetings, delegate when needed, and let other engineers pick up some of the PM workload.
Let me know if you have questions. I think this write-up is equally relevant to Big Tech — the expectations and levels are pretty similar👨💻
YouTube 📹 — Medium 📑 — LinkedIn👨💻
(Перевод на русский ты найдешь в комментах)
Hey! It just so happened that I had to read and write a lot of feedback for IC6 promo packets in the last year. When it comes to promotion to IC5, it's usually pretty clear what's missing. But with IC6, the lines get really blurry. So I decided to write a short post about the most common reasons why a great engineer doesn’t get promoted — assuming the team needs a staff eng, and the person is actively working with their manager on it.
Let’s dive in
Let me know if you have questions. I think this write-up is equally relevant to Big Tech — the expectations and levels are pretty similar
YouTube 📹 — Medium 📑 — LinkedIn
Please open Telegram to view this post
VIEW IN TELEGRAM
YouTube
Front-End Engineer
Hi Folks. My name is Ray. I started this channel during preparation for my on-site interviews for FAANG companies. I struggled to find any useful information on the internet about front-end interviews. I decided to make my own content, helping people like…
🔥6
Avtomatik refaktor
YouTube kanalimni anchadan beri yuritmayapman. Bor videolarni hech bo'lmasa aylantirib turay dedim.
https://youtu.be/HEO0p3Ij4ok?si=pMho4gJGh4vj3SZT
YouTube kanalimni anchadan beri yuritmayapman. Bor videolarni hech bo'lmasa aylantirib turay dedim.
https://youtu.be/HEO0p3Ij4ok?si=pMho4gJGh4vj3SZT
YouTube
Codemod va avtomatik refaktor. JS parserlar va AST haqida
JavaScript kodni avtomatik ravishda refaktor qilish yo'llari va abstrakt sintaktik daraxt (AST) haqida. Jscodeshift kutubxonasidan qanday foydalanish va codemod skriptlar yozish bo'yicha dars.
Do'stlar bilan ulashishni unutmang!
Telegram: https://t.me/brogrammist…
Do'stlar bilan ulashishni unutmang!
Telegram: https://t.me/brogrammist…
1👍10
Forwarded from Josh*Developer
Frontend System design haqida so'raganmidingiz? 💭
Unda yangilikni biri 😉
Jum'a kuni, 8-avgust soat 20:30'da Diyorbek Sadullaev bilan "Frontend system design" haqida jonli suhbat uyushtiramiz, Xudo xohlasa.
Efirda o'zingizni qiziqtirgan savollarni yo'llashingiz mumkin bo'ladi.
🔗 Jonli efirga link: https://youtube.com/live/Pcxs07g-xVU
#frontend #systemDesign
@JoshDeveloper
Unda yangilikni biri 😉
Jum'a kuni, 8-avgust soat 20:30'da Diyorbek Sadullaev bilan "Frontend system design" haqida jonli suhbat uyushtiramiz, Xudo xohlasa.
Efirda o'zingizni qiziqtirgan savollarni yo'llashingiz mumkin bo'ladi.
🔗 Jonli efirga link: https://youtube.com/live/Pcxs07g-xVU
#frontend #systemDesign
@JoshDeveloper
🔥14👍6
JavaScript MIME-Type
Kichik fayl server yasayotgan edim. JavaScript uchun "Content-Type" qanday bo'lishida ikkilanib qoldim.
Vite fayllarni "text/javascript" qilib yuborar ekan. Copilot "application/javascript" deb yozib bergandi.
Qaysi to'g'ri ekan deb tekshirib ko'rdim:
1. "text/javascript" - eski standard bo'lgan.
2. "application/javascript" - yangi standard sifatida kiritlgan. JavaScript fayllar shunchaki "text" - matn emas va semantik jihatdan uni "application" deb sinflash to'g'ri bo'larkan.
3. "application/javascript" tipi "text/javascript"ni butunlay o'rnnini egallashi kerak edi. Lekin odamlar baribir "text/javascript"ni ishlatishni davom etaverishgan.
4. Shu sabab standardni qayta ko'rib chiqishgan.
5. "text/javascript" endi to'g'ri standard tip.
6. "application/javascript" eski (deprecated) tip.
🤗🤗🤗
https://mimetype.io/text/javascript
@brogrammist
Kichik fayl server yasayotgan edim. JavaScript uchun "Content-Type" qanday bo'lishida ikkilanib qoldim.
Vite fayllarni "text/javascript" qilib yuborar ekan. Copilot "application/javascript" deb yozib bergandi.
Qaysi to'g'ri ekan deb tekshirib ko'rdim:
1. "text/javascript" - eski standard bo'lgan.
2. "application/javascript" - yangi standard sifatida kiritlgan. JavaScript fayllar shunchaki "text" - matn emas va semantik jihatdan uni "application" deb sinflash to'g'ri bo'larkan.
3. "application/javascript" tipi "text/javascript"ni butunlay o'rnnini egallashi kerak edi. Lekin odamlar baribir "text/javascript"ni ishlatishni davom etaverishgan.
4. Shu sabab standardni qayta ko'rib chiqishgan.
5. "text/javascript" endi to'g'ri standard tip.
6. "application/javascript" eski (deprecated) tip.
🤗🤗🤗
https://mimetype.io/text/javascript
@brogrammist
😁12👍6🤔1