home.social

#hooks — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hooks, aggregated by home.social.

  1. 10 настроек Claude Code, до которых большинство разработчиков не доходит

    Ранее я писал про утечку исходного кода Claude Code . 512 000 строк, KAIROS, упоминания нерелизнутых моделей Opus 4.7 и Sonnet 4.8. Так вот. В актуальном Claude Code уже есть Opus 4.7 . Ровно как и было в leaked-коде. Вместе с ней появился новый уровень /effort xhigh - это мы сегодня тоже разберём. В первой части я показал что Claude Code умеет из коробки. Типовой сценарий после этого: "понял, установил, пользуюсь". И дальше тот же потолок что у всех - Claude работает быстро, но как-то странно. Отвечает не то, повторяет одно и то же к концу сессии, просит разрешения на каждый чих, жрёт токены как не в себя. Это решается настройками. Конкретными. Которые лежат в двух файлах и никто до них не доходит. Ниже десять вещей которые я настроил за полгода работы с Claude Code и которые сделали разницу между "работает" и "работает как отдел". С готовыми конфигами. Копируй, вставляй, меняй под себя.

    habr.com/ru/articles/1028988/

    #claude_code #anthropic #opus_47 #ai_agents #ai_coding #developer_tools #prompt_engineering #hooks #claudemd #vibecoding

  2. @dliden Ah!... i would like to thank you about this gem article, in which

    one can learn about and -tree-slide for biutiful presentations crafting

    cc @hispaemacs

    danliden.com/posts/20231217-em

  3. [Перевод] Что вы не знали о Claude Code: архитектура, управление и инженерные практики

    Сегодняшняя статья основана на полугодовом опыте глубокого использования Claude Code и кучи набитых шишек. Надеюсь, это будет полезно. Поначалу я использовал его как обычный чат-бот, но довольно быстро понял, что что-то идёт не так: контекст становился всё более хаотичным, инструментов становилось всё больше, но эффективность только падала, правила становились всё длиннее, но соблюдались всё реже. После некоторого времени ковыряния и изучения самого Claude Code я осознал – это не проблема промптов, а особенность архитектуры самой системы. В этой статье я хочу обсудить несколько вещей: как Claude Code работает изнутри, почему контекст засоряется и как с этим бороться, как правильно проектировать Skills и Hooks, как правильно использовать Subagents, как архитектура Prompt Caching влияет на всё, и как написать действительно полезный CLAUDE.md.

    habr.com/ru/articles/1012412/

    #ии #claudecode #anthropic #claude #hooks #skills #mcp #claudemd

  4. Not my post but worth reading...

    pre-commit hooks are fundamentally broken

    jyn.dev/pre-commit-hooks-are-f

    Note that the pre-commit framework can also be used to manage pre-push and other hooks

    #git #precommit #hooks

  5. @amedee pre-commit is brilliant, so versatile, I recently wrote about using `pytest-testmon` as a pre-commit hook.

    blog.nshephard.dev/posts/pytes

  6. 20 частых антипаттернов в React и как их исправить: кратко, понятно, без мифов

    20 частых антипаттернов в React и как их исправить. Разбираем ошибки с хуками, состоянием, мемоизацией и структурой компонентов: когда не нужен useEffect, зачем useCallback, почему не хранить производные значения в state. Минимальные примеры, чёткие принципы, практичные альтернативы.

    habr.com/ru/articles/937656/

    #react #javascript #frontend #antipatterns #js #jsx #hooks

  7. React-like functional webcomponents, but with vanilla HTML, JS and CSS

    Introducing Dim – a new #Framework that brings #ReactJS-like functional #JSX-syntax with #VanillaJS. Check it out here:
    🔗 Project: github.com/positive-intentions
    🔗 Website: dim.positive-intentions.com

    My journey with #WebComponents started with Lit, and while I appreciated its native browser support (less #Tooling!), coming from #ReactJS, the class components felt like a step backward. The #FunctionalProgramming approach in React significantly improved my #DeveloperExperience and debugging flow.

    So, I set out to build a thin, functional wrapper around #Lit, and Dim is the result! It's a #ProofOfConcept right now, with "main" #Hooks similar to React, plus some custom ones like useStore for #EncryptionAtRest. (Note: #StateManagement for encryption-at-rest is still unstable and currently uses a hardcoded password while I explore #Passwordless options like #WebAuthn/#Passkeys).

    You can dive deeper into the #Documentation and see how it works here:
    📚 Dim Docs: positive-intentions.com/docs/c

    This #OpenSource project is still in its early stages and very #Unstable, so expect #BreakingChanges. I've already received valuable #Feedback on some functions regarding #Security, and I'm actively investigating those. I'm genuinely open to all feedback as I continue to develop it!

    #FrontendDev #JSFramework #Innovation #Coding #Programmer #Tech

  8. Got some black lace yarn in the mail. I guess it's a blue charm variant.

    I also got some white yarn to experiment with dyes, but that's a story for another day.

    #flytying #flyfishing #hooks #yarn #squirreltail #cobblerswax #scissors #silkfloss

  9. Как я учил войс чат дискорда работать через прокси с помощью перехвата системных вызовов и DLL Hijacking

    Я, как и многие, пользуюсь дискордом и китайскими прокси клиентами, но, к сожалению, голосовой чат дискорда не поддерживает работу через прокси. Из-за этого постоянно приходится включать режим TUN/VPN, который заворачивает в туннель много лишнего. Можно ли с этим что-то сделать? Конечно! Добро пожаловать под кат, там вас ждет готовое решение и куча технических подробностей. Пожаловать под кат

    habr.com/ru/articles/855164/

    #discord #reverse_engineering #dll_hijacking #winapi #прокси #socks5 #google_chrome #hooks #windows #c++

  10. "(I Can't Get No) Satisfaction" is a song by the English #rock band #theRollingStones. A product of #MickJagger and #KeithRichards' #songwritingPartnership, it features a #guitarRiff by Richards that opens and drives the song. The riff by Richards is widely considered one of the greatest #hooks of all time. The song's lyrics refer to #sexualFrustration and #commercialism. The song was first released as a single in the United States in June 1965.
    youtu.be/A4CX4YKvQ2g

  11. "(I Can't Get No) Satisfaction" is a song by the English #rock band #theRollingStones. A product of #MickJagger and #KeithRichards' #songwritingPartnership, it features a #guitarRiff by Richards that opens and drives the song. The riff by Richards is widely considered one of the greatest #hooks of all time. The song's lyrics refer to #sexualFrustration and #commercialism. The song was first released as a single in the United States in June 1965.
    youtu.be/nrIPxlFzDi0