Local timeline
Burnout
I think, the main problem of burnout of software engineers lays in keeping the same simplistic behavior patterns for several years. Be them either simple obedience or too authoritarian style of critics and proposals. Autistic engineers especially struggle from these patterns (besides just intransparent culture and communications which cannot be handled individually) leading them either to learned improvement or drowning into poverty sink.
I think, best behavior lines lay somewhere in the middle. You can’t implement a solution that has a good engineering value (correctness, simplicity, flexibility for addons etc.) without forcing an order of concerns. As most problems with “endless” bugs and spaghetti code lay in that people usually can’t tell clearly what they want from software product. Either because of their limited vision with maximalist desires, or because they have too low trust for engineers (however this can be solved with isomorphic abstract entities: ex. substitute “an s-coin” with “a fun gem” but structure remains the same). So my position for this is to talk until I get necessary preconditions and postconditions for implementation (I’m not of type of a “sonic sports player”, leave this for masc phenotypical people). That’s how I once implemented one feature for which no ready tools were present, in one iteration without bugs meeting pretty short deadlines (it was 3-4 days before X-Mas).
However, you can’t simply enforce your suggestions and questions. Otherwise, you will be claimed as “toxic authoritarian guy”. People needs a feedback. A positive feedback provides them a more sense of value of their actions. A negative feedback does the opposite. Negative feedback should not break their hard incentives (this is hard to know for ASD-ie from the first place, though I follow a “socialized autist” path with periodic informal meets). Otherwise, what’s called as “loosing trust” happens. This is like constantly DDoS-ing some service in wish that it removes some noisy popups from their site. But it bans your IP instead.
Work should be ecologic for humans as creative and explorative beings which live as long as they essentially can.
So the best code which solves a given (real or imaginary/perspective) problem, is no written code. If this solution for given problem exists.
Periodicity of multiple patterns/modes is a mitigation of negative effects of the Goodhart’s law. “Work hard” and “follow easy path” are also patterns with limits.
So write less boilerplate “monkey” code, write more business-related and engineering code which provides you a recovery in future pauses.
Making bots with PromptQL: code embeddings
Recently I wrote another article on making bots by prompt engineering with PromptQL. I explained how expansion and execution of code embeddings brings full power to prompt templates. Here it is:
https://medium.com/@jzx777/making-bots-with-promptql-code-embeddings-5b21efd52c51
For purpose of examples, I ran bot with the Openhermes Mistral 2.5B model and the llama.cpp server.
Openhermes model: https://huggingface.co/TheBloke/OpenHermes-2.5-Mistral-7B-GGUF
llama.cpp server: https://github.com/ggerganov/llama.cpp/tree/master/examples/server
#PromptQL #promptengineering #prompts #ai #golang #go #programming #opensource #library #programminglanguage #llm #LocalLLM #openhermes #llamacpp #cottagesoftware #craftprogramming #indietech
PromptQL v6.x
I released the PromptQL v6.x. Now PromptQL composition capabilities can be implemented fully from PromptQL side! It introduces execution of embedded PromptQL code. You can play with this new feature with these examples:
https://gitlab.com/jbyte777/prompt-ql/-/tree/release-6.x/tests/code-embedding/execute-embedding
The 6.x version can be installed following instructions in this branch:
https://gitlab.com/jbyte777/prompt-ql/-/tree/release-6.x
#PromptQL #promptengineering #prompts #golang #go #programming #opensource #library #programminglanguage #cottagesoftware #craftprogramming #llm #LocalLLM
@halva thanks to Thinkpad from 2013. It actually forces to think about clean code more as hot reloading is a pain in ass. Powerful hardware just gives an easier reward path in which hot reloading runs fast. And this mostly makes a need to write efficient and understandable code as obsolete thing, unfortunately.
Сегодня осознал (хотя кому-то это может показаться тривиальным): так же, как биологическая эволюция отбирает организмы, наиболее целесообразно расходующие энергию, технологическая эволюция отбирает решения, целесообразно расходующие когнитивные ресурсы человека (фокус внимания, время на обучение, как пользоваться, начальную настройку и т.п.). А то, что идёт против этого принципа, превращается в «стеклянные деревья», когда вроде всё сделано хорошо и правильно, но почти никто этим не пользуется. #размышления
Только что попалась новость, что в #Windows хотят встроить элементы ИИ и это удвоит требования к RAM: https://www.ixbt.com/live/platform/microsoft-udvaivaet-trebovaniya-k-operativnoy-pamyati-dlya-windows.html В общем, ещё раз порадовался, что своевременно ушёл на #linux! Тут, даже если кому и взбредёт в голову учудить такое, можно хотя бы на другой дистрибутив перепрыгнуть. Операционная система должна быть только операцинной системой, а не нагромождением непрошенного хлама!
Сегодня узнал об HTMX — Javascript-библиотеке, которая позволяет использовать AJAX, CSS transitions, WebSockets и Server Side Events, описывая необходимые действия с ними прямо в атрибутах HTML-тегов, без единой строчки JavaScript-кода. Это то, о чём я мечтал с 2021 года! При этом весь рендеринг осуществляется на стороне сервера (как и должно быть, client side rendering — это зло, особенно по отношению к пользователям со слабыми компьютерами), а полученный код просто подставляется туда, куда указано в атрибуте hx-target. #html #webdev #вебразработка #javascript #ajax #opensource #websocket
@techcomm Вспомнилось тут, как в одной из дискуссий на Хабре какой-то горе-дизайнер выложил как образец плохого интерфейса скриншот desktop-приложения, где в небольшом окне было очень плотно размещено около трёх десятков элементов ввода. На что получил от кого-то ответ, что в промышленном софте подобные интерфейсы — обыденное дело, и когда нужно быстро вводить много данных, это даже удобнее, чем вводить по 2-3 поля, а потом жать кнопку Next. И я полностью с ответившим согласен, так реально удобнее, особенно если сгруппировать поля разумно. Но увы, такие интерфейсы только в промышленности и остаются.
Обнаружил тут, что с выходом #yggdrasil 0.5 в нём сознательно сломали обратную совместимость из-за того, что полностью переделали маршрутизацию. В итоге — полный syslog сообщений о том, что не удаётся подключиться к тому или иному узлу, из-за чего чуть было не упал сервер вообще из-за нехватки места на диске. Пришлось срочно обновляться…
@cybertailor А может проще арендовать дешёвый VDS за 200 руб и перенести всё туда? Ну кроме BOINC, для которого мощный процессор нужен. Но, с другой стороны, BOINC траффика создаёт мало, и расходов на Интернет, соответственно, тоже.
@techcomm У меня за всё время основные проекты получали по 3-4 звезды и один-два форка. А в продвижении GitHub может помочь, если попасть в список «Топ проектов недели» или дня. Но для этого нужно резко набрать большое количество звёзд из других источников, например, с Хабра или Hashnode.
GitHub всё-таки вынудил меня включить 2FA, заставив поставить Authy. Про него могу сказать следующее: desktop-приложение с интерфейсом как у мобильного — это отвратительно! Desktop должен быть первичен, а мобильные устройства — вторичны, и никак не наоборот. #интерфейсы