2 Apr 2026, 09:13 UTC118 viewsread 9 August 2026 Forwarded from @KingsOfPyFile
⚡️ Claude Code internetga chiqib ketdi
Endi uni lokal muhitda, bepul ishga tushirish mumkinligi haqida ma'lumot berilmoqda.
Qanday ishlaydi:
— Ollama platformasi orqali amalga oshiriladi
— Fayllarni o'qish va tahrirlash imkoniyatiga ega
— Bash komandalari bajariladi
— Kod bo'yicha qidiruv amalga oshiriladi
— API so'rovlarini yuboradi
Qo'shimcha imkoniyatlar:
• MCP serverlardan foydalaniladi
• Kompyuter ko'rish (Co…
Signed Firdavs
2 Apr 2026, 05:59 UTC156 viewsread 9 August 2026 File
UserBotga qr code orqali login qilish kodi
Signed Firdavs
21 Mar 2026, 21:24 UTC657 viewsread 9 August 2026 File
monkeytype.com sayti kodi hamma narsasi ichida bor shunchaki ishga tushirsez bo'ldi
Signed Firdavs
18 Feb 2026, 08:15 UTC256 viewsread 9 August 2026 Assalomu alaykum akalar ish bor
C Space yunusobod ofisida meditsinaga oid startup kompaniya o'zimizni tanishlarniki budjeti yaxshi kelajagi bor shunga nodejs dasturchilar kerak ekan junior yoki strong junior oylik 8 mlngacha suhbatda kelishiladi
Signed Firdavs
16 Feb 2026, 07:05 UTC231 viewsread 9 August 2026 Photo
Local Telegram Bot API orqali telegramga bot orqali 2gb gacha fayllarni yuborishingiz mumkin va tezligini maksimal darajaga chiqara olasiz
Bot Official Api da ishlaganda: 50mb ortiq media yubora olmaydi
Signed Firdavs
3 Feb 2026, 08:36 UTC230 views1 reactionsread 9 August 2026 ha bloklaydi bu Event Loop Starvation deyiladi. Nega bunday bo'ladi E/L (event loop) keyin fazaga o'tishidan oldin microtask queue ni tugatishi kerak unda hamma kodlarni bajarib chiqishi kerak masalan tepadagi kodimiz misoli readFile ichiga kirishidan oldin process nextTick ichiga ogir hisob kitob amaliyotini qo'ysak u qolib ketadi I/O ichiga kirmay qoladi nextTick ichida qolib ketadi muzlab
👍1
Signed Firdavs
3 Feb 2026, 02:02 UTC206 viewsread 9 August 2026 Interviewer savoli:
Bizda juda og'ir hisob-kitob qiladigan funksiy bor. Agar uni process.nextTick ichiga qo'ysak, u Event Loop-ni bloklaydimi yoki yo'q?
javobingiz qanday bo'ladi?
Signed Firdavs
2 Feb 2026, 12:46 UTC174 viewsread 9 August 2026 Javobi:
1, 9, 8, 7, 2, 3, (I/O ichiga kirdi), 6, 5, 4
kod boshlandi:
sinxron kodlar ishladi yani 1 bilan 9 console ga chiqdi endi sinxron kod tugashi bilan event loop srazi microtask queue ga o'tdi va process.nextTick bilan promise bor. nextTick nodejs da har qanday microtask dan oldin ishlaydi shunday ekan birinchi 8 keyin 7 bajariladi keyin event loop macro tasklar queue siga qaradi setTimeout bilan setImmediate …
Signed Firdavs
1 Feb 2026, 22:23 UTC147 views1 reactionsread 9 August 2026 const fs = require('fs');
console.log('1. Start');
setTimeout(() => {
console.log('2. setTimeout 1 (0ms)');
}, 0);
setImmediate(() => {
console.log('3. setImmediate');
});
fs.readFile(__filename, () => {
setTimeout(() => {
console.log('4. setTimeout 2');
}, 0);
setImmediate(() => {
console.log('5. setImmediate ');
});
process.nextTick(() => {
console.log('6. n…
❤1
Signed Firdavs
30 Jan 2026, 12:02 UTC144 views2 reactionsread 9 August 2026 Kod natijasi:
Start
Async 1
Promise 1
End
Async 2
Promise 2
Timeout
Tahlil:
Call Stack: Start -> Async 1 -> Promise 1 -> End
Microtask : Async 2 -> Promise 2
Macrotask : Timeout
❤2
Signed Firdavs
30 Jan 2026, 06:35 UTC133 viewsread 9 August 2026 console.log("Start");
setTimeout(() => console.log("Timeout"), 0);
async function asyncTask() {
console.log("Async 1");
await Promise.resolve();
console.log("Async 2");
}
asyncTask();
new Promise((resolve) => {
console.log("Promise 1");
resolve();
}).then(() => {
console.log("Promise 2");
});
console.log("End");
Kod natijasi qanday boladi va nima uchun?
Signed Firdavs
30 Jan 2026, 05:58 UTC132 viewsread 9 August 2026 console.log("1");
setTimeout(() => console.log("2"), 0);
Promise.resolve().then(() => console.log("3"));
console.log("4");
Ushbu kod natijasi qanday boladi va nega?
Signed Firdavs
Showing the 12 most recent of 20 posts we hold for @kings_of_js. View and reaction counts are the latest single reading for each post, not a live figure, and a recent post is still accumulating both. A view count marked ≈ was rounded by Telegram before we ever saw it — t.me prints views in full below 1,000 and to three significant figures above, so ≈1,200,000 means somewhere between 1,150,000 and 1,249,999. Unmarked counts are exact. Text is reproduced from the public post preview and truncated for length.