- Последний пост
- 11 авг.
- Последнее чтение
- 13 авг.
- Постов за неделю
- 1
- Всего постов
- 20
- Тип
- открытый
- Язык
- английский
- В каталоге с
- 13 авг.
- 1/24сутки в ленте
- 22
- 1/48двое суток
- 25
- 1/72трое суток
- 27
Оценка по просмотрам недавних постов: пост набирает почти всё за первые сутки.
Посты
видео или голосовое, без подписи
Hallo, halloo
Behind the scenes of Bun install. #article #bun #js @thedevs https://thedevs.link/Tf3nU5
Weekend
Yaxshi maslahatlar
They announced TypeScript 7.0. Let's goo! @qishloqi_uz
Landed a SWE role at Silk Road Professionals Fergana. The hiring rounds were some of the most unique I've been through. Totally new stack, new environment, new language. I'm excited to learn and teach a lot. What stood out to me was everyone's enthusiasm for optimizing processes and systems across the whole company. @qishloqi_uz
New QUERY http verb just landed in RFC 10008 standard. It solves a couple real issues. 1. GET request bodies are not standardized across the web, any server/proxy/middleware decides what to do with it, and in most cases your GET bodies don't reach the sever. 2. This is just side effect of 1. That we're forced to cram everything into search params, there's (a) encoding instabilities and (b) length limits. 3. POST requests that we're using to send bodies for fetching resources can't be safely cached, and retried. QUERY declares itself as safe and idempotent, it adds standard body to request that everyone who's implementing it must support. And your body can be of any type, as long as you supply/respect server's Accept-Query and send proper Content-Type. RFC states the cache key must incorporate URI, request body and it's Content-Type. Moreover, to a QUERY request server can return headers Content-Location and Location. Content-Location is where results of your specific request are kept, and query is NOT re-executed on subsequent calls. Whereas Location is for re-runnig the query without sending the whole body for fresh data. You should be able to safely GET both locations. Standard explicitly mentions not to use it for simple queries and encourages to rely on it once industry catches up. Read the spec. @qishloqi_dev
видео или голосовое, без подписи
Saw someone do this with metamethods. Looked interesting. Your version? @qishloqi_uz
https://tanstack.com/blog/search-params-are-state https://dev.to/hijazi313/why-search-params-arent-the-state-management-silver-bullet-2doh ⚠️ 2k chars limit. Also, I think search params state design should be part of the good UX. User should be able to understand and edit them. I personally do it all the time when I use websites. @qishloqi_dev
The Labor Illusion: How Operational Transparency Increases Perceived Value @qishloqi_dev
If you're somewhere near js. You have heard of Major GC, and Minor GC. Now introducing, MomGC. It's got time complexity of O(1) thanks to no reference counting or tracking of what's in use. It'll randomly pick objects out of heap and free them. Intensity can be set using --guests-coming-over flag. @qishloqi_dev
https://youtu.be/sqm4-B07LsE?si=cfNEkNyQ3IVY5x9u Rost aytyapti. 2-3 gapdan uzunroq postlar yozishga to'gri kelsa VIM ishlataman. O'rganib olingandan keyin, nafaqat kod balki plaintext bilan ishlash ham ancha oson bo'larkan. Vim o'rgana boshlaganimda ishlatgan bazi manbalar (videoda ham bor): https://vim-adventures.com/ https://devhints.io/vim https://vim-racer.com/ (randomized variantini ham sinab ko'ring) @qishloqi_dev
Here, have my treat for lunch: https://youtu.be/mYBxnojY-JA?si=zf4yKPwBSJInPNRO @qishloqi_dev
Boomerang, palindrome, ping-pong playback bu video ohiriga yetganda qayta 1-kadrdan boshlanish o'rniga, ortga ohirgi kadrdan qaytib keladi - huddi bumerangdek.
Packagelarni check qilib qo'yinglar: https://tanstack.com/blog/npm-supply-chain-compromise-postmortem#appendix-a--affected-versions https://github.com/TanStack/router/security/advisories/GHSA-g7cv-rxg3-hmpx @qishloqi_dev
We finna ditching the mouse fr this time? https://github.com/smllb/qhints-rs @qishloqi_dev
~/.gitconfig faylga quyidagi qatorlarni qo'shamiz (append). [alias] lb = !git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+ ~ .*' | awk -F~ '!seen[$1]++' | head -n 10 | awk -F' ~ HEAD@{' '{printf(\" \\033[33m%s: \\033[37m %s\\033[0m\\n\", substr($2, 1, length($2)-1), $1)}' Keyin esa: git lb Enjoy 🌳
Anything you push to GitHub can and will be used against you. You have the right to a debugger. But if you cannot afford one, a public stack trace will be made available to you. lol. @qishloqi_dev