home.social

#config — Public Fediverse posts

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

fetched live
  1. Психанул: как я за полтора месяца сделал формат конфигов и парсеры для семи языков

    Cлучилось то, что я обычно советую не делать: я не выбрал из существующих 14 форматов, а сделал 15-й.

    habr.com/ru/articles/1072042/

    #json #yaml #toml #ini #rust #wasm #ktav #config #javascript #typescript

  2. Mon PC portable (core i5 12500 sous win11) chauffe à mort.
    Question aux experts linuxiens : vais-je gagner en température en passant sous Linux ou le pbm est-il inhérent à la machine ?
    #linux #Linuxmint #config

  3. @UmWerker

    Das mit den listen sagt mir zwar nix. Gegen nervige Einrück Probleme steht vorallem das hier in meinen dotfiles. Kann das meiste zwar nicht erklären, aber vielleicht hilft ja was davon.

    set autoindent
    set nosmartindent
    set nocindent
    set indentexpr=
    set indentkeys=
    filetype indent plugin off
    filetype indent off
    autocmd BufNew,BufNewFile,BufRead *, set indentkeys= indentexpr=

    #vi #vim #dotfiles #config #cmdline

  4. Running an AI agent with multiple model providers in one config is a minefield.

    Same model ID (deepseek-v4-flash) can exist under provider A (deepseek) AND provider B (alibaba). The agent silently falls back to a 4x more expensive route when the cheap one rate-limits. No warning, no log entry, just a bigger bill.

    The fix: pin provider explicitly everywhere - main model, delegation, fallback. Check vendor dashboard daily.

    #AIAgents #LLM #DeepSeek #Config #Ops

  5. CONTRACT: одна схема вместо N×M сериализаторов

    Одна C+±схема — protobuf, binary, JSON, YAML и structured logging без ручных маппингов. В статье разбираю, как CONTRACT отделяет стабильный контракт типа от конкретных форматов, зачем нужны BASE, PROPERTY и REFERENCE и как атрибуты полей задают общую политику для разных адаптеров. Всё - на реальном коде из репозитория: YAML-конфиг, структурированный лог и сравнение производительности с libprotobuf. GitHub.

    habr.com/ru/articles/1065488/

    #c++ #c++26 #c++_библиотеки #open_source #protobuf #сериализация #logger #config #json #yaml

  6. Workarounds for a bug that prevents you from changing the configuration of your Sky Hub. It'd be nice to move away from Sky sometime or, at least, replace the router with something a bit more open...
    instantiator.dev/post/sky-hub-
    #SR203 #workaround #config #schema #TR-098 #TR-181

  7. When developing your own Ruby gem, at some point you might need to make some of the parameters configurable.
    The most idiomatic and elegant way to achieve this in Ruby is global configuration using a block.
    In my opinion, this approach is so simple that you likely won't need any third-party gems for it.
    However, there are a few important caveats to keep in mind.

    #Ruby #Config #Setting #Initialization #Gem #Library

  8. Since I re-image my Linux desktop so often, I have given a great deal of thought to preserving and re-creating my configurations.

    So I wrote a single bash file to rule them all, sort of.

    My script, `dot`, creates a tiny CLI Ansible installation, and interactively helps write a short Ansible playbook that defines symlinks, install scripts and Python environments.

    I download the script and run `./dot --help` to get started. Use `dot check` to review selections, and `dot apply` to ensure localhost is configured with them.

    Because it uses Ansible under the hood, it doesn't do unecessary work, it provides detailed output, and it creates a file with a full definition of the configuration in a well know standard (which can always be re-used later, even without my script.)

    If you add `dot` to your own `dotfiles` repository, and organize yours like mine (`files`, `installs` and `reqs`) then `dot` will use find your folders and offer to link your files, run your install scripts, or create your Python environments.

    codeberg.org/EdTheDev/dotfiles

    #linux #macos #bash #cli #localhost #config #ansible

  9. @arichtman
    Recently started using #dendritic pattern using #flake parts it's really helpful.

    Earlier: A new module file means I add it to a folder, then import them in my configuration.nix home.nix accordingly.

    Now: a module file added to a folder. That's it.

    And more awesome is that I can place both a nixos module and home module in the same file to have aspects together🔥 much more benefits

    It's worth doing things this way

    #nix #nixos #dendriticpattern #config #management #flakeparts

  10. #MissKitty #Decentralized #AI on the desktop. #1Bit #Architecture works!
    I have posted that document and the #Install and #Config #Guide before. If you want to build it, you can. Tell me you want the docs and I'll post them again. I'm working on other stuff right now.

  11. Just tried difftastic and it's really cool.
    difftastic.wilfred.me.uk/

    The diffs are really helpful to be honest. A small but impactful improvement in workflow.
    In my jj config, I used difftastic as the default diff tool. Thanks to home manager I already got an option to just to my jj config🙂.

    #difftastic
    #nix #homemanager #jj #config #diff #tool #git

    Any such tool recommendations are welcome 😊
    Thanks in advance

  12. SSIのこれPerlでもできるんかな?

    <!--#config timefmt="%Y-%m-%dT%H:%M:%S" --><!--#flastmod file="index.shtml" -->

  13. My .exrc so far:

    set ruler
    set autoindent
    set shiftwidth=4
    set iclower
    set showmode
    set tildeop
    set verbose showmode
    
    "(the parts in [brackets] are what you have to type into the editor to
    " recreate it)
    map gg 1G
    map q :q
    map [ctrl+v, ctrl+o] :!clear; less --wordwrap %[ctrl+v, enter]
    map [ctrl+v, ctrl+s] :w
    map :less :!clear; less --wordwrap %[ctrl+v, enter]
    map :spell :w !bspell
    map Y y$
    map :wrap :set noleftright
    map :nowrap :set leftright
    map :set[ctrl+v, ctrl+v] nowrap :set leftright
    map :set[ctrl+v, ctrl+v] wrap :set noleftright
    " make ` work like ~ does by default, toggling the case of a single character (I typically use ', so I don't need ` for accessing marks)
    map ` ~l
    

    #vi #nvi #unix #config

  14. I have the mismash second subnet all hooked up and working electrically, opnsense, deb server and a laptop machine - i will try pxe booting various images and also install polarproxy - although it should be at the edge that is fine, I really want to try the yacy proxy so it spiders all the sites you go to, in combo with squid proxy or ip2/tor proxy or proxychains - then it gets more interesting - just to have options on how you process traffic #forward and reverse proxies #config files

  15. @gitea I noticed a warning like "present but it won't take effect because it has been moved to admin panel". Does this mean you started to migrate config options that can only be set via UI without any way to configure it via automation tools anymore? #gitea #config

  16. We can create TUIs from JSON schemas now 🤝

    🧩 **schemaui** — Turn JSON Schema into interactive TUI

    💯 Edit configs with real-time validation, sections, overlays & multi-format I/O

    🦀 Written in Rust & built with @ratatui_rs

    ⭐ GitHub: github.com/YuniqueUnic/schemaui

  17. Anatomy of the .claude/ Folder - by Avi Chawla

    "A complete guide to CLAUDE.md, custom commands, skills, agents, and permissions, and how to set them up properly."

    Link: blog.dailydoseofds.com/p/anato

    #linkdump #agent #claude #config

  18. Anatomy of the .claude/ Folder - by Avi Chawla

    "A complete guide to CLAUDE.md, custom commands, skills, agents, and permissions, and how to set them up properly."

    Link: blog.dailydoseofds.com/p/anato

    #linkdump #agent #claude #config

  19. #SoftwareDeveloper - Do not put state information in the #config files. Some people use #configurationmanagment software to manage application setting across multiple machines. The fact you decide to store the windows position / size inside the config file(s) often breaks many configuration software or makes it a bear to manage it.

  20. I also managed to fix my dovecot config on my server this morning, and Watchtower is now able to send email notifications again.

    #selfhosting #dovecot #linux #watchtower #config #homeserver #server

  21. Released version 1.0.1 of my #Native #Image #Config transformer plugin for the #Maven #Shade plugin that also deals with types defined in reachability-metadata-schema-v1.2.0.json format:

    codeberg.org/michael-simons/na

    Useful if you need to shade some stuff in your projects that comes with #GraalVM config settings.