Ha en REPL i produktion!
Klart du ska kunna klistra in kod i servern medan den körs! @equeroot förklarar en REPLs diskreta charm. #podcast #repl #elixir #erlang #beam
Ett utdrag ur Kodsnack 671, lyssna där poddar finns eller på kodsnack.se!

I want to tell you about an idea that has had a huge influence on the way that I write software. And I mean that in the literal sense: it’s changed the way that I write software; it’s re-shaped my development workflow. The idea is this: you can write programs that modify themselves. And I don’t mean macros or metaprogramming or anything fancy like that. I mean that you can write programs that edit their own source code.
Maybe a good opportunity to illustrate the purpose of one of the more uncommon packages in #ThingUmbrella: The https://thi.ng/hex package provides hexadecimal formatters for a variety of word sizes (4-64 bits) and also a customizable hex dump facility, which is super useful for analyzing, debugging & reverse engineering binary data or file formats from within a NodeJS REPL session (my main dev env & workflow), but of course can also be used in other situations... This has already saved me countless of times...
Advantages of #Eliza over #Modal:
• Wildcard pattern (0) and counted matches (1-* matching the respective number of words)
• Randomness built in
• I/O unnecessary—it’s implied to run as #REPL already
Disadvantages:
• No way to match sub-symbol units (characters)—will be fixed in my re-implementation
• Classic implementation (probably?) has no way to match non-linear / tree data (I’ll fix that too)
• Rigid MEMORY system (not sure what to do with it yet)
un article de @treyhunner expliquant comment personnaliser votre #REPL si vous utiliser #Python 3.13 :
- le tutoriel https://treyhunner.com/2025/10/handy-python-repl-modifications/
- le repo organisant les personnalisations : https://github.com/treyhunner/pyrepl-hacks
Étapes
- créer une variable d'environnement PYTHONSTARTUP pointant vers un fichier de personnalisation
- créer le fichier de personnalisation : raccourcis clavier, colorisation, etc.
WebREPL и uPyLoader: Выбираем способ беспроводного управления ESP
Практикуемся создавать и загружать постоянные инструкции в виде файлов, которые ESP устройство (микроконтроллер) будет выполнять автономно с помощью: uPyLoader — файловый менеджер и редактор в одном флаконе, как блокнот с закладками: и файлы видно, и поправить можно. WebREPL — удаленное управление по Wi-Fi без проводов, как пульт управления по воздуху: управляй устройством, изменяй, корректируй и добавляй инструкции (файлы), вообщем, проводи отладку без подключения кабеля. Разберем: - Как работать с файлами на устройстве с помощью uPyLoader . - Как настроить беспроводное управление через WebREPL . - Как настроить Wi-Fi в двух режимах: точка доступа и клиент. Только практические шаги с объяснением, которые вы сможете повторить. Приступаем
https://habr.com/ru/articles/961308/
#uPyLoader #WebREPL #esp #esp32 #esp8266 #micropython #режим_точки_доступа #repl
The surging popularity of the #REPL command-line interface with modern #programming languages is perfectly timed, given that kids these days come into the industry with high proficiency of typing in prompts into the #LLM.
Of course, these kids invariably feel jilted by the REPL prompt, when the interpreter demands clean, syntactic code, not vague, aspirational English.🤣