TGViewer
Far·hod·jon Far·hod·jon @farhodjon · 1.12K subscribers
Post #854 746
Modellar ba'zida juda sergap, vaysaqi bo'ladi. caveman token tejashga yordam beradi, lekin hamma ham g'or odamiga o'xshab gaplashishni xohlamasligi mumkin.

Bugun boshqa skill topdim: i-have-adhd. ADHD (diqqat yetishmasligi va giperaktivlik) sindromi bor odamlarga mo'ljallangandek, lekin hamma uchun vaqt tejarkan.

Odatiy bunaqa javobni:
Great question! Let me think about this. Your auth flow has a few moving pieces: the middleware, the token verification, and the cookie handling. Looking at src/auth.ts, the verifyToken function (around lines 42-58) seems to be using an older jsonwebtoken API. One approach would be to update the package and rewrite that function. After making the change, you'd want to run the auth tests to confirm nothing breaks. By the way, you might also want to look at your dependency versions overall. Hope this helps! Let me know if you want to dig deeper.


Manavinga aylantiradi:
Run npm install jsonwebtoken@latest, then edit src/auth.ts:42.
1. Open src/auth.ts
2. Replace verifyToken (lines 42–58) with the snippet below
3. Run npm test -- auth.spec.ts
Next: paste the first failing line if any test fails.


Bu yerdan o'rnatiladi: https://github.com/ayghri/i-have-adhd

Yoki manavi qoidalarni maxsus instruksiya sifatida qo'shib qo'yish ham mumkin:


1. Lead with the next action.
2. Number multi-step tasks.
3. End with one concrete next step.
4. Suppress tangents.
5. Restate state every turn.
6. Specific time estimates (minutes, not "a bit").
7. Make wins visible.
8. Matter-of-fact errors.
9. Cap lists to 5 items.
10. No preamble. No recap. No closers.


Aslida, bu qoidalarni odamlarning o'zi ishlatishi ham juda yaxshi odat.
  • 👍 11
More from @farhodjon
  1. Sep 27, 2026Hozir turli uskunalar yoki dasturlar juda tez o’zgaryapti. Ishlash uslubim ham shunga yara…
  2. Sep 20, 2026Far·hod·jon pinned a photo
  3. Sep 20, 2026FarLink Ba’zi saytlarga kirganda shunchaki havolalarni ko’rish, URL bo’yicha izlash va bul…
  4. Sep 14, 2026Yaqinda yana bir shov-shuv bo’lgan, o’zim ham ishlatishni boshlagan skill: eli5 - Explain…
  5. Aug 18, 2026Bayramlar II: dam olish kunlari Bir paytlar qisqacha bayramlarni oyga yoki haftaga nisbiy…
  6. Aug 17, 2026📣 Hiring alert (August 2026 Edition) Ikkita yangi rol bilan hozirgi ochiq vakansiyalar: •…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →