Engineering Notes
2.6K subscribers
166 photos
2 videos
5 files
229 links
Kanalda asosan backend engineeringga oid postlar yozib boriladi.

Ba'zi postlarda xatoliklar bor.
Postlar foydali bo’lgan bo’lsa adminni duo qilib qo’ying. Rahmat.

Contact: @Bobosher_Musurmonov
LinkedIn: https://www.linkedin.com/in/bobosher-musurmonov
Download Telegram
“ChatGPT for Academic Researchers” raised a lot of eyebrows when it was announced, and we’re already starting to see why. Although neither Buckmaster or Alpöge was on that program, the situation with Navier-Stokes equations is a clear example of corporate greed that has nothing to do with advancing science.
👍14
Spent almost an entire day to come up with the shittiest solution to https://spa-net.com/tasks/gate 💀
Getting rusty…
AI giant CEOs and tech influencers who have pushed for the development of AI “at any cost” are now all of a sudden saying we should slow down and regulate AI properly. I don’t know much about AI or finance, but to me it looks like either this is some sort of a damage control plan against the upcoming AI bubble pop, or more concerningly, something really really bad happened with one of their unreleased models.
👍12
Yandex to’lov tizimi 2-3 oydan beri stabil ishlamayotgandi o’zi, butun to’liq o’chibdi shekilli ))
🍾6😁3
Umar Sadullayev | Blog
HTTP Query metodi chiqibdi, xabarsiz qolibman.
Iyunda chiqqan ekan.

Ishlatib ko'rganlar bormi?

Biz "complex filter"lar uchun asosan "POST" ishlatar edik. Endilikda bunday holatlar uchun HTTP Query metodini ham ishlatsa bo'lar ekan.

Hozircha "production" uchun tavsiya bermayman.

Batafsil

#httpQuery

@UmarSadullayev
Bizda odatda juma kunlarining ikkinchi yarmi ishga to'g'ridan-to'g'ri aloqador bo'lmagan narsalarni o'rganish, experiment qilib ko'rishga beriladi. 4-5 hafta oldin bir kunni HTTP QUERY bilan experiment qilishga ajratgandim.

Men duch kelgan asosiy muammolar L7 network infrada chiqdi (WAF, reverse proxy, load balancer, etc.), va juda ko'pchiligiga sabab shunchaki HTTP method nomlari softwareda hardcoded va hali query bu list/enumga qo'shilmagan. Masalan, nginxda limit_except'ga o'xshash method-based filterlar hali queryni support qilmaydi. Yoki yana bir misol ingress-nginx'da hali query default CORS allowed methodlarga qo'shilmagani uchun preflight requestlar fail bo'ldi.

Ko'pchilik web backend frameworklarda queryni native support qilish ustida uje ko'p narsa qilishayapti bilishimcha. O'zim ko'p ishlatadigan frameworklar ichida Flask bilan birorta muammo chiqmadi meni experimentimda, FastAPIda "technically" ishlayapti (class-based endpoint generationdan tashqari), lekin Djangoda hali ko'p ish qilish kerak.

Agar eski GET yoki POST endpointni QUERYga convert qilayotgan bo'lsangiz yana 1-2 ta tavsiya:

• Redirectlarni 307/308 qilavering, 301/302 query bilan qanaqa ishlashi kerakligi bo'yicha hozircha standard yo'q bilishimcha.
• GET requestni cache qilish uchun URLni o'zi yetarli, lekin POST bilan QUERY uchun bodyniyam hash qilish kerak. Cache setupni albatta qayta tekshirib ko'ring
• QUERY endpoint idempotent bo'lishi kerak, POST endpointni convert qilayotganda side effectlardan ehtiyot bo'linoradi.
👍11😁1
spa-net.com qiziq challange ekan, kun bo'yi "enter" bosishdan zerikkanda bosh qotirib ko'rishni tavsiya qilaman ))
😁7👍6
Forwarded from Asqar’s Notes
The smartest kids in Kazakhstan should not be doing AI or maxxing out Claude.

AI products don't need government support. It's not hard to figure out how to write instructions. There is literally no point of all these "AI education" courses. Where the state matters is infrastructure, and the real bottleneck there is the energy sector. And we have a solution that is clean and sustainable - nuclear energy.

Kazakhstan is the world's largest producer and exporter of natural uranium, accounting for 40% (!) of global production. Yet we are not in the field at all - not a single stand on Digital Bridge. We're about to build our first nuclear stations, but they'll be designed and built by foreign partners. We should use our uranium as leverage to change that: make more of our own fuel, demand Kazakh engineers and suppliers in every contract, and make sure the people running these stations in 20 years are ours.

I see no peers of mine doing nuclear engineering or physics. So please, convince the smart young kids to pursue nuclear engineering or physics.
👍18
I pinch the airpods once, Youtube video on my laptop is paused.
I pinch it again, the video is still paused, now Yandex Music starts playing on my phone.
Am I expecting too much from a small startup like Apple?
😁36
– How much customization do you need?
– Yes
😁35
iPhone: Your Macbook is connected to your personal hotspot.
Macbook: Your iPhone failed to enable personal hotspot. Wifi is not connected to any device. But SOMEHOW I have internet access.
😁23👎1🤯1
Ertaga ICPC qualificationda qatnashayotganlarga omad.
🍾16👍8
The good thing about working in a large enterprise environment is that there are guidelines, policies, and the necessary infrastructure for *almost* everything. If there isn't one, though, it's gonna be a pain in the hole to drag your task over the line through all that corporate bullshit.
👀7👍2🍾1
PHP forever cursed
😁12
——-BEGIN PRIVATE KEY——-
4
——-END PRIVATE KEY——-
😁33🤯3🍾1
How on earth MyTaxi card payment is going through Payme P2P?
👍2
Bobosher's blog | #FreePalestine
How on earth MyTaxi card payment is going through Payme P2P?
Shu vaqtgacha nega MyTaxi ride request qilayotgan vaqtdayoq kartada yetarli summa bor-yo'q'ligini tekshira oladigan yagona taxi service ekani qiziqtirardi. Menimcha bu savolgayam javob oldim ))

Xullas, MyTaxi supporti aytgan gaplardan tushunishimcha ular bilan Payme orasida qanaqadir contract bor va bu Mytaxiga mijozlarning (shaxsiy) kartasiga kirib balansni tekshirish, P2P tranzaksiya o'tkazish va yana ba'zi narsalarga ruxsat beradi. Eng qizig'i, MyTaxi authorize qilgan P2P tranzaksiyalarni kartani egasi emas "third party" authorize qilganiga yagona trace transaction detailsdagi 2 ta legal evidentiary weightga ega bo'lmagan editable field (payment category va notes). Bu practice bizda qanchalik qonuniyligini bilmadim, lekin qanaqadir xususiy biznes mijozning shaxsiy kartasiga shuncha access olishi mantiqan absurd.

Payme support bo'lsa ular bilan MyTaxi orasida contract borligini, lekin uning P2Pga aloqasi yo'qligi va P2P tranzaksiyalar faqat men Payme app orqali confirm qilganimdan keyingina amalga oshishini aytdi. Lekin tepadagi tranzaksiya nega P2P ekanini va uni qanday qilib MyTaxi amalga oshirganini tushuntirib bera olmadi. Aniqlashtirib telefon qilamiz deyishdi.

Xullas, bunaqa business practicelar faqat musaffo osmon ostida bo'lsa kerak.
👍2
Bobosher's blog | #FreePalestine
Shu vaqtgacha nega MyTaxi ride request qilayotgan vaqtdayoq kartada yetarli summa bor-yo'q'ligini tekshira oladigan yagona taxi service ekani qiziqtirardi. Menimcha bu savolgayam javob oldim )) Xullas, MyTaxi supporti aytgan gaplardan tushunishimcha ular…
Yana bitta prikol:
MyTaxiga qilingan bundan oldingi to’lovlaram 5800’dan kelgan SMSlarda merchant payment (C2B) sifatida belgilangan bo’lishiga qaramasdan, ular ham aslida Payme P2P bo’lib chiqayapti.

Xullas, ishlam kallamayapti nima bo’layotganiga. Ikkala tomonniyam supportida tushuntirib bera oladigan odam topilmadi hozircha.
👍2