Programming & AI Tips π‘
Programming & AI: Tips π‘ Articles π AI & LLMs πΎ Design, Architecture, Principles β π³π± Contact: @MoienTajik
Ko'proq ko'rsatishπ Telegram kanali Programming & AI Tips π‘ analitikasi
Programming & AI Tips π‘ (@programmingtip) Ingliz til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 46 030 obunachidan iborat bo'lib, Texnologiyalar & Aralashmalar toifasida 2 908-o'rinni egallagan.
π Auditoriya koβrsatkichlari va dinamika
Π½Π΅Π²ΡΠ΄ΠΎΠΌΠΎ sanasidan buyon loyiha tez oβsib, 46 030 obunachiga ega boβldi.
28 Oktabr, 2026 dagi oxirgi maβlumotlarga koβra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni -425 ga, soβnggi 24 soatda esa -17 ga oβzgardi va umumiy qamrov yuqori darajada qolmoqda.
- Tasdiqlash holati: Tasdiqlanmagan
- Jalb etish (ER): Auditoriya oβrtacha 5.78% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining 1.82% ini tashkil etuvchi reaksiyalarni toβplaydi.
- Post qamrovi: Har bir post oβrtacha 2 660 marta koβriladi; birinchi sutkada odatda 839 ta koβrish yigβiladi.
- Reaksiyalar va oβzaro taβsir: Auditoriya faol: har bir postga oβrtacha 0 ta reaksiya keladi.
π Tavsif va kontent siyosati
Muallif resursni shaxsiy fikrni ifoda etish maydoni sifatida taβriflaydi:
βProgramming & AI:
Tips π‘
Articles π
AI & LLMs πΎ
Design, Architecture, Principles β
π³π± Contact: @MoienTajikβ
Yuqori yangilanish chastotasi (oxirgi maβlumot 29 Oktabr, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli boβlib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Texnologiyalar & Aralashmalar toifasidagi muhim taβsir nuqtasiga aylantirishini koβrsatadi.
"The mother of all demo apps." π₯While most "todo" demos provide an excellent cursory glance at a framework's capabilities, they typically don't convey the knowledge & perspective required to actually build real applications with it. β Real World solves this by allowing you to choose any front-end like π : β’ React / Redux / Mobx β’ Angular β’ Vue β’ Elm β’ Aurelia β’ Clojure And any back-end like π : β’ ASP.NET Core β’ Node / Express β’ F# β’ Laravel β’ Django β’ Rails β’ Go + Gin β’ Rust β’ Scala & Play Framework β’ Hapi.js And see how they power a real world, beautifully designed fullstack app called "Conduit". β¨ https://t.me/pgimg/128 [ Projects ] : bit.do/reworld γ°γ°γ°γ°γ°γ° #Template #RealWorld @ProgrammingTip
if (User.IsInRole(Roles.Administrators))
{
SomeSpecialControl.Visible = true;
}
The problems with the maintainability of this approach become apparent after a short while.βοΈ
For one, any buttons or other controls on the SomeSpecialControl above that post back to the page should also do a role check to ensure the user submitting the postback is in an acceptable role, otherwise a security hole may be present and users outside of these roles may be able to perform privileged actions. β οΈ
πΈπΉπΈπΉ
Introducing Privileges β
Wouldn't it be better to act like thisβ
EditorPanel.Visibility = CurrentUser.CanEdit(CurrentArticle);This is very clear and is at the appropriate level of abstraction. π CanEdit isnβt itself a privilege; we can look at it as a sort of helper method in this case that lets us write clear and concise code. β¨ https://t.me/pgimg/127 [ Full Article ] : bit.do/prauth γ°γ°γ°γ°γ°γ° #AspMvc #Authorization @ProgrammingTip
c9a646d3-9c61-4cb7-bfcd-ee2522c8f633And converts it into this smaller string π :
00amyWGct0y_ze4lIsj2MwIt basically just converts a GUID into a base64 string and shortens it a bit. β‘οΈ https://t.me/pgimg/123 [ Article ] : bit.do/guids γ°γ°γ°γ°γ°γ° #CSharp #GUID @ProgrammingTip
ngrok http [port] -host-header="localhost:[port]"Result β :
Tunnel Status : online Version : 2.0/2.0 Web Interface : 127.0.0.1:4040 Forwarding : http://92832de0.ngrok.io Forwarding : https://92832de0.ngrok.ioYou can now access your website from β¨ : http://92832de0.ngrok.io When you start ngrok, it will display a UI in your terminal with the public URL of your tunnel and other status and metrics information about connections made over your tunnel π . Inspecting Your Traffic π Ngrok provides a real-time web UI where you can introspect all of the HTTP traffic running over your tunnels. π After you've started ngrok, just open http://localhost:4040 in a web browser to inspect request details. π https://t.me/pgimg/122 [ Docs ] : ngrok.com/docs γ°γ°γ°γ°γ°γ° #Ngrok #Testing @ProgrammingTip
int multiply(int a, int b)
{
return a + b;
}
Better :
int multiply(int a, int b)
{
return a * b;
}
πΉπΈπΉπΈ
When it comes to an API ... πΎ
β’ Think about a toString() method that instead of printing out the fields returns back "to be implemented". π€₯
β’ An equals() method that works on hidden information. π
β’ Sometimes people try to implement a sorted list class by changing the add method to call sort() on the array afterwards. π
This astonishing because the add method is supposed to append to the list. π³
This is especially astonishing when one gets back a List object with no knowledge that somewhere deep inside, someone violated the interface contract. π€
Having a method that does one distinct thing contributes to reduction of astonishment. β
https://t.me/pgimg/115
γ°γ°γ°γ°γ°γ°
#Principle #PLS
@ProgrammingTip