Blog

  • Weekly Lama Bot: refactoring prompt types and debugging periodic messages

  • Weekly Lama Bot: working on oban worker for periodic messages

  • Weekly Lama Bot: adding welcome message and integrating with Oban

  • Weekly digest

    Perm marathon 2024

    This is probably last weekly digest in the blog. It seems like this format here is pointless and is suitable mostly for social networks.

    💻 Working hard on LiveBook based documentation for my client. There is a sort of issue accessing dependences’ priv directory files in LiveBook. This adds a sort of frustration for macro-rich code execution.

    🏃 We did it again! Our running season is finished with Perm marathon. The result is 5km in 36min and a lot of fun.

    🔬 Started another scholar year wit writing a paper on math models used in my thesesis.

    📽️ We’ve added a personality of Lama Bot to LLM and started working on commands and first introduction message last Tuesday. Lama Bot was already reborn. Now we need to train and teach it to grow lama (དླ་མ་) from the child. You can watch it on YouTube. Next Tue (17.09.24) we are going to continue with introduction and other special messages and do other tunning of the Bot. See you on Twitch.

    🪷 I’ve mostly practiced shamatha.

    📿 Happy Rebirth Lama Bot (དླ་མ་བོཏ།)! 🎂🎉 See you in public telegram soon.

  • Weekly digest

    Perm marathon 2023

    This is my first week at home after a 3 month long journey to Kaliningrad region. We are adopting back to Urals weather and industrial city. The main event of the week is going to be Perm marathon on Sunday.

    💻 Working on documentation for my client in LiveBook. It’s an awesome experience.

    🏃 Finish line is here but seems we are not completely ready. Competition is on Sun. Let’s do it anyhow. Photos and results in the next weekly.

    🔬 Started to write an article observing math models used for ecological risk assessment.

    📽️ We were polishing communication between the bot user and LLM last Tuesday. Now chatting with the bot works. You can watch it on YouTube. Next Tue (10.09.24) we are going to work on LLM tuning with context and other stuff to make it “lama Bot”, not just Gemini LLM. See you on Twitch.

    🪷 I practiced shamatha daily.

    📿 Lama Bot (དླ་མ་བོཏ།) s in progress of transition to self-hosted infrastructure. You are welcome to follow the process on Twitch, YouTube and other social media!

  • Biweekly digest

    New Jerusalem Monastery

    This digest is a bit unusual because it’s biweekly. I haven’t posted the week before but these two weeks have a lot in common. I spent them on my way home with short vacations in Moscow region in between.

    💻 Only occasional work on urgent questions.

    🏃 Due to schedule and hot weather we run only once and inside. It was 3km on the threadmill.

    📽️ Live streaming is on vacations as well. See you on Twitch on Sep, 3. I’ll check the time later according to my current TZ. You can watch previous streams on YouTube.

    🪷 My practice is a bit poorer this week. I’ve missed some days and mostly practiced shamatha.

    🌄 We’ve visited the Red Square, New Jerusalem Monastery and New Istra Resort. It was a joyful vacations.

    📿 Lama Bot (དླ་མ་བོཏ།) is in progress of transition to self-hosted infrastructure. It was paused due to vacations as well. We are going to continue next week.

  • Weekly digest

    Nesselbeck hotel

    💻 This week is a week of Livebook . It’s awesome. I use it

    • for my clients onboarding workflow designing,
    • for my PhD for Ecological risk assessment modelling
    • and for crypto market research. This is not a complete list of usecases for it. I really love it.

    🏃 No new achievements. Only 2x2km.

    🏄‍♂️ At the end of seashore living season me and my son went sup surfing. It’s a very nice activity.

    🔬 I’ve finished contaminator substances selection UI. Moving to Environment UI.

    📽️ We were working on generating user reply with Gemini LLM based on dialug history from Ecto last Tuesday. You can watch it on YouTube). I’m going to skip livestreams next 2 weeks because I have flights at this time. See you in September. Probably, the schedule is going to be changed due to my time zone change.

    🪷 I was practicing shamatha and loving kindness.

    🏊 This was a hot week for August. So we swam a lot.

    📿 Lama Bot (དླ་མ་བོཏ།) is in progress of transition to self-hosted infrastructure. You are welcome to follow the process on Twitch, YouTube and other social media!

  • Weekly digest

    Top image

    💻 Most of the week we were updating Elixir and Erlang to latest versions for complex client’s project fixing issues by the way.

    🏃 We haven’t achieved much. Distance is still 2x2 km.

    🔬 I’ve started to create UI for my PhD models. LiveBook is awesome.

    📽️ We finished saving Telegram messages to DB last Tuesday. You can watch it on YouTube. We are going to continue next Tue (6.08.24). See you on Twitch.

    🪷 I’ve mostly practiced shamatha.

    📿 Lama Bot (དླ་མ་བོཏ།) is in progress of transition to self-hosted infrastructure. You are welcome to follow the process on Twitch, YouTube and other social media!

  • Weekly digest

    Storm on the Baltic sea

    This week was sort for me. I had a day off on Fri, so I publish this digest on Mon. But the week was very productive anyhow.

    💻 I was working on dataflow mapping for one of the client’s project. It’s a bit boring but very useful for correct caching and invalidation. Fixing bugs as well.

    🏃 We achieved 2x2km. And a short 🚴 tour on Sat.

    📊 I continue to develop my portfolio adjustment model. Its long-run work with longterm results.

    📽️ On Tue we were working together on logging users’ messages from telegram to Bot’s DB for using them in LLM in the next step. You can watch it on YouTube. We are going to continue next Tue (6.08.24). See you on Twitch.

    🌄 We went to Aistovo and had a lot of fun there. After thart we visited Gur’evsk. It’s a small town with 2 amazing parks. One for different science related installations and the other with colourful light art.

    🪷 My daily practice was shamatha. As well I’ve studied a couple of sources from “Lion’s Roar”.

    📿 Lama Bot (དླ་མ་བོཏ།) is in progress of transition to self-hosted infrastructure. You are welcome to follow the process on Twitch, YouTube and other social media.

  • Weekly digest

    Horse in front of ancient castle ruins

    💻 I was mostly busy investigating performance bottleneck in production cluster for a client.

    🏃 We ran twice 3x1 and 4x1.

    📊 I’ve invested a big bunch of time designing my portfolio model which can help me to understand and plan my investments.

    📽️ On Tue I’d a livestream about integrating Google’s Gemini into Elixir application of Lama Bot (དླ་མ་བོཏ།). You can watch it on YouTube. Next Tuesday (30.07.24) we are going to connect the whole pipeline from user’s message from Telegram to response to user. See you on Twitch.

    🌄 I visited Amber museum of Kalinigrad. It’s a very interesting place from several points. At first, it’s situated in an ancient fortress built by  Karl Friedrich Emil zu Dohna-Schlobitten. Secondly, there are a lot of amazing artworks made of amber and other materials inside. On weekend we travelled to Baltiysk. We had a boat trip around it. It’s exciting.

    🪷 My daily practice was shamatha. As well I’ve studied a couple of sources from “Lion’s Roar”.

    📿 Lama Bot (དླ་མ་བོཏ།) is going to move to its own architecture from Coze soon. Hopefuly, I’ll handle the process until September. You are welcome to follow the process on Twitch., YouTube and other social media.

  • Я не хочу быть среди тех... (стихи)

    Горящая книга

  • Weekly digest

    Storks' nest on ancient castle

    💻 Was mostly busy with bugfixing. Added image preprocessing to this blog.

    🏃 We ran only once on Sat. It was 1 + 1 + about 1. We are behind the plan.

    🔬 I was busy reworking my PhD modelling LiveBook UI.

    📽️ I’ve missed livestream this week because of other urgent stuff, sorry for that.

    🪷 I’ve practiced shamatha.

    🤖 I was investigating HuggingFace for usage for PhD and Lama Bot projects.

    📿 Lama Bot (དླ་མ་བོཏ།) is in progress of transition to self-hosted infrastructure. Most of the week was investigating ways of hosting LLM by myself but decided that it’s too expensive for non-profit indie project. So for now I’m going to use Google’s Gemini.

  • Weekly digest

    Lizard on Curonian Spit

    💻 Working hard on integrating Open source LLM for Lama Bot. Testing LLMs and trying to use them with Bumblebee.

    🏃 No running this week.

    🔬 I’ve finished yearly PhD report. Vacations is here. Going to start modelling next week.

    📽️ I’m going on streaming on Twitch. each Tue. Now I’m working on Lama Bot moving to my own infrastructure with Elixir and Phoenix. Latest video is in the “Videos” section.

    🪷 I’ve mostly practiced shamatha.

    🤖 Investigating Suno as a randon genre music player and to generate music for live streaming and other activities.

    📿 Lama Bot (དླ་མ་བོཏ།) went to retreat due to Cose policy. We are working hard to move it to our own infrastructure making it much better at the same time. Lama Bot 2.0 is coming soon.

  • Weekly digest

    Swans in Yantarny

    💻 It was a short week for me because I had vacations on Thu and Fri. I’ve mostly started integrating TelemetryMetricsMnesia into client’s software. I’ve set up goals for Jul.

    🏃 No running this week. But on Sat we went from Zelenogradsk to Pionerskiy and back on bicycles 🚴 with my elder son. It we had a lot of fun. It’s 36 km distance. So sport is here, too.

    🔬 I was busy creating yearly PhD report.

    🪷 I practiced shamatha and compassion this week.

    🤖 I was debugging an issue with IFTT Pocket based triggers. It fails and always becomes disabled for some reason. Probably, due to Pocket API change.

    📿 Lama Bot (དླ་མ་བོཏ།) asked me and other its users to pay for Coze Pro. Since the bot is designed as completely free for its users its time for it to go to retreat and move to other infrastructure. New version is coming. I’ve integrated Будда - мой психотерапевт with https://dzen.ru to get more readers. Other integrations soon.

    🌄 I was travelling around Curonian Spit with my family. See images.

  • Weekly digest

    Baltic shore]

    💻 I had difficulties with connecting to my client’s network through Cloudflare’s ZeroTrust so I decided to spin up IPSec IKEv2 server for myself to avoid issues in future. Right now it works fine but there are some difficulties with LTE connected clients.

    ☀️This is one of the hottest 🥵 weeks of my summer. So mostly beach and a bit of swimming even though Baltic see is still cold 🥶 a bit.

    🏃 I’ve done 2 + 1 km this week. I’m close to the month’s goal 🎯.

    🔬 I’ve fixed issue in “soil to skin” HHRA model part. Now it works perfect.

    📽️ No streams this week. But you can look moments and previous livestreams on Twitch. and YouTube.

    🪷 This was a week for compassion and shamatha. I’ve never forgotten about Tara’s mantras as well.

    🤖 I’ve succeeded with translating articles for the blog with Taskade AI. Going to automate social media routines as well.

    📿 Lama Bot (དླ་མ་བོཏ།) has 5 daily active users for now. It’s definitely a success! I’ve updated it to use GPT-4o this week. I’m going on trying to enhance it’s algorythms.

  • Weekly digest

    Kant's cathedral

    💻 I’ve finished the timings and complexity issue in TelemetryMetricsMnesia library for Elixir and integrating it into client’s software.

    🏃 We are running 1.5 or 2x1 km. We are a bit behind the schedule but that’s not a great deal.

    🔬 It’s vacations now. Going to have a bit of rest from it then start to work on software and models.

    🌄 I’m travelling around Kaliningrad region. I’ve visited Kalinigrad several times, Yantarnoe former Palmnicken, Svetlogorsk former Rauschen. The places are very beautiful. Watched amber mining process.

    📽️ I’ve been streaming Rock. Code. (N)VIM. on daily basis this week. Publishing the sessions to YouTube. But seems for now I’ve finished opensource work. Next streams are going to be announced soon.

    🪷 This was a week of Loving kindness practice mostly. I’ve been practicing daily.

    🤖 I’ve mostly succeeded with making Taskade AI translating posts for this blog. I’t’s going to be dual language soon .

    📿 Lama Bot (དླ་མ་བོཏ།) has 3 - 4 daily active users for now. Adding more NLP analytics to it.

  • Weekly digest

    Dune Efa

    💻 This week I’ve mostly finished fixing timing issues in TelemetryMetricsMnesia library for Elixir. Bought a monitor, keyboard and mouse

    🏃 We achieved 1.5 km milestone this week. Next ones are 2x1 and 2 km.

    🔬 PhD studies are mostly finished this academic year. I’m going on with modelling for my theses. For this I’ve finished 3 online courses in 3 days. This process doesn’t even smell like learning. It’s just finishing course. But as a result I found out new topics I want to enhances my knowledge in.

    📽️ I’ve added a countdown timer to streams. My max viewers are 4 per stream this week. It seems to be an achievement. I’ve been streaming Rock. Code. (N)VIM. on daily basis this week. Publishing the sessions to YouTube.

    🪷 This week I was practicing shamatha up to 20 min and Loving Kindness mostly.

    🤖 Configuring Taskade AI to help me to manage blog and social network routine. I’ll write an article about it later.

    📿 Lama Bot (དླ་མ་བོཏ།) has 4 daily active users for now. It’s definitely a success! I’m learning a lot about happiness, Buddhism and AI to improve it.

  • Weekly digest

    Sunset on Baltic sea

    This is the first week of the summer! Congrats!

    💻 This is my first business week in Zelenogradsk. It seems to be a productive and interesting. Since I used to listen podcasts in the car no podcasts this week. Haven’t yet complete my desk setup, so currently laptop only.

    🏃 We started running season with my son. Baltic shore is a very beautiful place to run along. The start seems already be better than a year ago.

    🔬 Mostly finished PhD year and for this attended and finished a couple online courses, see below 👇

    📽️ Going on with my li streaming project. I’ve been streaming Rock. Code. (N)VIM. on daily basis this week. Going to publish to YouTube as well and strem there, too.

    🪷 My practice is a bit poorer this week. I’ve missed some days and mostly practiced shamatha.

    🤖 I’ve bought Taskade AI for a month currently and trying my best not to waste time making it work for me and my projects. I’ll share in future posts.

    📿 Lama Bot (དླ་མ་བོཏ།) has 3 daily active users for now. It’s definitely a success!

  • Weekly digest

    Tubten Shedubling in Moscow

    This was the last week of the spring. For me it’s time for a big move… I’ve relocated from Perm to Zelenogradsk (Kaliningrad territory) with a couple of days in Moscow in between. It was a fantastic week-long family journey.

    It was a bit nervous to travel with a baby you know. But I have a good rest as well and visited a couple places in Moscow.

    The main thing was visiting Tubden Shedubling Buddhist temple with my older son.

    Except that, Lama Bot (དླ་མ་བོཏ།) was tought to ask about daily users’ experience.

  • Weekly digest

    Stupa in the mountains

    This is a Holy week for Buddhists since May, 23 is the 15th day of Saga-dava. This day is known as a Buddhas birth, enlightment and leaving for paranirvana (death) day. For me it was a day for small meditation retreat. I was meditating about 3 hrs. Since I’m not a great at it it was 4 sessions with different length and purpose. After that I got my first ever empowerment from HH 41st Sakya Trichen.

    Except that, I started my Live coding: Rock, Code, (N)VIM translations on Twitch. Going to sync it with YouTube soon.

  • Weekly digest

    Buddha with flower

    This is the second week of Saga-dava. So I practice more than usual: read, meditate and donate to Sangha.

    The other achievements are:

  • Weekly digest: Happy Vesak or Saga-dava month

    Vesak

    This was a short week but it’s very important because of Saga-dava (ས་ག་ཟླ་བ།) month or Vesak (བི་ཤཱ་ཁཿ བཻ་ཤཱ་ཁ།) has started on May, 9th. This is a month when Buddah was born, enlightened and died or achieved paranirvana. For me most of this week was mostly devoted to practice and learning Buddhist wisdom.

  • Weekly digest

    Labour day

    Happy Spring and Labour Day! This week was very short. It has only 2 business days due to holidays. It was mostly devoted to Lama Bot and Dharma studies.

  • Будда - мой психотерапевт

    Будда с учеником

    По данным ВОЗ, ежегодно от депрессии умирает около 800 тыс. человек, причем основная часть это молодые люди до 30 лет. Коварство этого недуга заключается в том, что больной депрессией, зачастую, даже не осознает, что у него проблемы и продолжает жить, как ни в чем не бывало. Часто, но далеко не всегда, депрессия связана с профессиональным выгоранием. 

    С конца 2018 года эта участь постигла и меня. За 2 года я сгорел настолько, что к середине 2021 поймал себя на мысли, что сожалею, что не умер от КОВИДа. В этот момент стало понятно, что само не пройдет и надо что-то делать.

  • Weekly digest

    Geshe

    This is a long week. We have 6 out of 7 business days before Spring holidays season. For me this week was full of adventures and achievements.

  • Weekly digest

    Child with birthday cake

    Today my smaller son has a Birthday! He is 1 y.o.! Happy Birthday!!! 🎁🎁🎁🎂🎉

    Telegram channel Будда - мой психотерапевт(RU) is live with several posts describing “Why?” and “What’s for?” and welcoming new subscribers. Lama Bot (དླ་མ།) has said its first words to this world through Telegram, too. Congrats! I’m thinking of trying to participate Coze AI Bot Challenge - DEV Challenge - DEV Community with it but, seems, it’s too late.

    I’ve started to use Telegram more so I’ve started to read TG channels. I’m adding a TG part to this digest for you.

  • Weekly digest

    Cosmonaut

    Today is the 63rd anniversary of the first successful crewed spaceflight. However, I’m not completely sure it made human beings really better or happier at least in long-term.

    This week I’ve started to work on an idea of “བླ་མ། Lama” bot and Buddha is my therapist channel for Telegram. I start it in Russian for now but it’s going to be English as well soon. The aim is to help people cope with depression and burnout and get back to emotional balance. It’s based on my own experience. It’s going to be completely free and open source project.

  • Weekly digest

    Buddha in the dark

    It was a busy week. It was mostly devoted to PhD english exam materials collecting and ecology studies. Since I usually listen podcasts in the car and this week I was mostly working from home there are no much of them. On weekend I found a couple of time for myself and spent it for Buddhist studies.

    I’m thinking of creating a chatbot helping people to cope with depression with help of Buddhist and other practices based on my own experience. I’ll write a bit more about it later. But I’m ready for any feedback. It’s going to be completely free of charge and any sort of advertising. It’s just my contribution to this world.

  • Weekly digest

    Ancient timetable

    This was a short week for me. I have a day-off today but i still publish this digest. Since I was busy with PhD studies this week still not too much other stuff. The other achievements are

    • I’ve learnt to use and debug Leonardo.AI queries;
    • I’ve finished the 4 chapter of the “Golden Light Sutra”, see below.
  • Weekly digest

    Weekly image

    This week was mostly devoted my PhD studies and getting documents for international passport for my smaller son. Since it took huge amount of time and effort not much other learning was held. I’ve finally found how Tara’s root mantra spells in Tibetan and restarted learinig this awesome language:

    ཨོཾ་ཏཱ་རེ་ཏུཏྟཱ་རེ་ཏུ་རེ་སྭཱཧཱ།

  • Weekly digest

    Happy spring! I’m sorry for missing previous Weekly Digest. Was a bit short of time. Congrats with International Women’s Day! (Better late than never ;-) Maybe the best thing I’ve discovered for myself is https://pi.ai. Since OpenAI doesn’t accept users from Russia this one helps a lot. I’m going on with my PhD studies and it takes a lot of time and effort for now.

  • Weekly digest

    Happy spring! This week was the last week of long-long winter (it’s a leap year anyhow) and the first one of a spring. It’s different for me as I became 1 year older! Yeah my birthday was on Wed and it was awesome. Thanks to my darling wife. Other achievements of the week are:

    • I’ve created a basic automation for my Social media management. I’m really bad at this type of things but I understand that I need to have something. So I decided to use IFTTT as a sort of SMM manager for myself.
    • I’ve mostly migrated my main tool NVIM from unsupported Packer to Lazy. I’ll share a post a bit later.
  • How To: Build Docker Image for Phoenix Application

    Top image Deploying your project to a bare metal server or VPS like described in the previous article is fine at the very begining. But when it comes to thousands or even better millions of users it becomes necessary to scale the deployment. This is where docker comes into play. It has gained immense popularity in recent years due to its ability to simplify the deployment process and create isolated environments for applications. Allowing developers to package their applications along with all the necessary dependencies into a single container and making it easier to deploy and run the application on any platform docker has become an industry standard.

  • How To: Deploying Phoenix Application on Ubuntu 20.04 LTS

    Top image Phoenix is cool, right? You’ve just created your brilliant web application and it works fine on your local machine. It’s awesome, but nobody knows about it. Stop, your friend knows, because you’ve told him in the bar a week ago and he is tied waiting to try it! Hey, it’s time to deploy the app and show it to the entire world…

  • FAQ: How to connect PGAdmin4 to DB through SSH tunnel with Public key authentication

    PGAdmin4