{"@attributes":{"version":"2.0"},"channel":{"title":"(recur think)","link":"https:\/\/prertik.com\/","description":"Random musings of a human.","pubDate":"Mon, 06 Apr 2026 03:57:47 +0000","image":{"url":"https:\/\/i.snap.as\/Ie5w2zj4.png","title":"(recur think)","link":"https:\/\/prertik.com\/"},"item":[{"title":"About Xfce...","link":"https:\/\/prertik.com\/about-xfce?pk_campaign=rss-feed","description":"<![CDATA[What is Xfce?\n\nThe people not around in Linux\/BSD ecosystem might not know the role of Xfce. To understand it in proper terms, it is a lightweight Desktop Environment designed for Unix-like operating systems and can be installed and used on Linux and BSD. It is one of the lightest, fastest and low on system resources desktop environments.\n\nWhat is a Desktop Environment?\n\nIt is an ecosystem of different software components to interact with the OS. You have a kernel, take Linux Kernel, and you want to access the kernel (which is technically what you\u2019re doing), but, you cannot directly interact with the kernel or directly make sense of most of the things unless you understand the Kernel properly. If you are an everyday, user, you need an interface which can provide you with information and options to interact with the Kernel. There are two ways to do it, one is by using command-line interfaces (think, terminals, more specifically, TTY) or, graphical user interface which is mostly called desktop environment. Actually, Desktop environments not just provide graphical user interface but, do provide functionalities\/components\/tools which can make working with the Kernel easier.\n\nWhat constitutes a Desktop Environment?\n\nTo be a Desktop environment, it must provide all the basic features required in some form of GUI. The journey starts from user being able to log in, to user being able to create\/edit files, and user being able to install other software and use them properly. Desktop Environment, actually, is a collection of software which interoperates with each other to provide the seamless experience. In the core level of things, the Desktop environment contains, a window manager, a desktop manager, a user session\/login manager, a power manager, a file manager, a sound\/network manager and other individual components. When, you use a desktop environment, you don\u2019t think of these individual things, rather, you think of the collective environment as, all of these interact with each other to provide a unified interface for the user.\n\nWhat happens when a Computer starts up?\n\nLet\u2019s assume the computer is using some Linux distros, and let us assume, it has Xfce already installed and is using GRUB bootloader. So, what happens when you power on the Computer?\n\nFirst, you come to the bootloader and, according to our assumption, the GRUB bootloader from which you can select your installation and also, can choose the version of Linux Kernel to boot to. After picking the Kernel version, you are then dropped to a Login Manager or Display Manager. Login Manager provides a user interface and contains a login daemon and can track user sessions. Login Manager isn\u2019t a requirement, as, you can start a Xfce4 session by logging into the TTY interface and can start xfce4 (as, Xfce is using major version 4 now, so it is, xfce4), but, having it makes tracking sessions easier and simple. After logging in, you drop into the Xfce4 desktop environment.\n\nOkay, so I logged into Xfce. What happens next?\n\nSo, if you are logged into Xfce, you might see it\u2019s wallpaper, panel, desktop icons, etc. like the image below.  https:\/\/docs.xfce.org\/media\/xfce\/slider-desktop.jpg?w=600&tok=d15f32\nImage src: https:\/\/docs.xfce.org\n\nInternally, what happens while loading all this is in the following steps:\n\nXfce session manager is activated and starts its startup process. Since, this session manager has to save the state of the desktop and restore it during startup, this is checked.\n\nStart of Xfce core components, Xfce core components like xfce4-power-manager,  xfce4-session, xfce4-settings, xfdesktop, xfwm4, etc.\n\nIt, then, also checks previously saved sessions of applications and loads them if they are saved.\n\nIt then, also, starts applications\/commands configured to auto-start during login. These can be some commands or some application to kick off.\n\nThen, Xfce components like panel, desktop icons, wallpaper, themes and other configurations start loading.\n\nAnd finally, user-specific settings kept in specific files are applied. E.g., keyboard mappings kept in .Xmodmap file is applied.\n\nThis is all for Part 1 of About Xfce. In the future parts, we will delve into its core components, try to understand how functionalities like power-management, etc. work by visiting the code and I will also, write about the workflow for submitting MRs to Xfce components.]]>","guid":"https:\/\/prertik.com\/about-xfce","pubDate":"Wed, 16 Oct 2024 16:25:33 +0000"},{"title":"Getting back to rhythm...","link":"https:\/\/prertik.com\/getting-back-to-rhythm?pk_campaign=rss-feed","description":"<![CDATA[Since the last blog post, lots of stuff has happened. I got sick during the following midweek and took some time to recover completely. When you\u2019re sick and can\u2019t do many things, you think the world should stop and all your affairs should stop, as your body is taking its time to heal. Sadly, that doesn\u2019t happen, and all your work piles up. There\u2019s the old things you had that paused, but there are new things too, which you couldn\u2019t get to because you were sick.\n\nThis isn\u2019t only for adults, but, back when you were in school, if you were sick and couldn\u2019t go to school, yes, you wouldn\u2019t have added homework to do. But, the chapters being taught, and other things would continue on, which you later would have to catch on to. The whole point is that the world moves on, with or without you.\n\nSo, after I caught up with most of the things I missed, I decided not to procrastinate much and contribute to some open-source projects, which I find interesting or were in my interests for some time. I contributed a simple patch to Thunar which is a file manager for Xfce.\n\nIf you are not familiar with XFCE or how it works, I will explain it in my next blog. I wanted to contribute to XFCE because it is purely C and GTK for core components, and it emphasizes being fast and lightweight. It works well on low-spec machines, which makes it an intriguing desktop environment to learn more about. I intend to provide further updates on this matter in my forthcoming blog and anticipate submitting additional merge requests, as I have identified certain issues that require resolution.\n\nSee you next week!]]>","guid":"https:\/\/prertik.com\/getting-back-to-rhythm","pubDate":"Sun, 14 Jul 2024 17:42:35 +0000"},{"title":"Drawing","link":"https:\/\/prertik.com\/drawing?pk_campaign=rss-feed","description":"<![CDATA[When I was young, I thought I wasn't very creative. I didn\u2019t draw or doodle a lot during primary school, even though most of my friends did. We used to have drawing classes with different materials and homework.\n\nThe materials and technique more or less looked like this to me:\n\nI managed to do just enough to get by the classes, and I didn\u2019t enjoy the classes at all. My friends were excellent sketchers, and they were capable of drawing a good picture of people, actors, etc.\n\nI had one moment, when I found out, I could draw. During one rainy evening, I was agitated with numerous things happening and had no way to distract my mind with something like games, movies, etc. I found some pencil colors in my desk drawer. I thought, I should just play tic-tac-toe with myself or doodle something. Suddenly, I remembered that I had a storybook containing multiple stories and exceptional art illustrations that was gifted to me years ago. I decided to give it some effort and try to draw it as it is from the book. I selected a drawing and meticulously examined its contours, shading, perspective, facial expressions, and other pertinent details. Moreover, I was familiar with monochrome art and opted to depict it by using a single color. I don't understand why I did it that way, but I went with what my heart wanted back then.\n\nI started drawing slowly, taking my time and having no desire to show it to someone or get it done with. Moreover, I really liked drawing it and worked on it for two hours, even though it only felt like half an hour. Just as I was able to complete the drawing, my sibling came to my room and saw the art I was making, she was surprised with the art that I made. She praised me and showed it to everyone around. That moment felt magical as, I enjoyed the whole process and final art.\n\nI then realized that I am a creative person who liked drawing, but the way I was taught was not effective. Subsequently, I started drawing whenever I wanted to or when I was stressed out.\n\nNot to show anyone, not to win prizes, not to challenge myself, or to make money.\n\nJust to enjoy it and allow art to take shape from my mind onto the paper.\n\n2\/30.]]>","guid":"https:\/\/prertik.com\/drawing","pubDate":"Sun, 16 Jun 2024 18:09:14 +0000"},{"title":"Writing challenge.","link":"https:\/\/prertik.com\/writing-challenge?pk_campaign=rss-feed","description":"<![CDATA[\nI try to post a blog every week, but things always get in the way, and I tend to put it off. I started writing once every two weeks, but it didn't work because I kept moving it to the next week. To devise a more effective remedy for my procrastination, which is impeding my enthusiasm, I opted to undertake the challenge of publishing one blog every week (every Sunday) until the conclusion of December.\n\nThis is the first of many blogs to come, and I'm following the Seinfeld strategy to make this a routine. I intend to commence with brief blogs and gradually progress towards longer ones, based on the subject at hand.\n\nWish me luck!\n\n1\/30.]]>","guid":"https:\/\/prertik.com\/writing-challenge","pubDate":"Sun, 09 Jun 2024 16:39:37 +0000"},{"title":"Read it never...","link":"https:\/\/prertik.com\/read-it-never?pk_campaign=rss-feed","description":"<![CDATA[I believe I\u2019m a huge consumer of information just like every other people with the internet. The internet has blessed us with access to information but, also introduced us to a new term \u201cTMI\u201d. TMI stands for Too Much Information.\n\nCambridge Dictionary online defines TMI as:\n\n  too much\u00a0information: used to say that you are, or someone\u00a0else\u00a0is, giving too many\u00a0details\u00a0about a\u00a0subject\u00a0in a way that is\u00a0embarrassing, usually\u00a0personal\u00a0details\u00a0about something that should be\u00a0kept\u00a0private.\n\nThat sounds about right, but, in the case of the internet, the information might not be personal but, it does contain a lot of information.\n\nSo, you\u2019re casually browsing Hacker News to see what\u2019s happening on OpenAI vs Elon Musk war and you see, a post about how someone wrote a Vector Database on a weekend and about some interesting bugs in the Browser engine. Since this wasn\u2019t the information you were looking for in the first place, what would you do?\n\nA: Save it somewhere to consume it later.\nB: Read it quickly and if it is interesting research more.\nC: Ignore it.\n\nIf you\u2019re like me, you would choose Option A because the post you just looked over was well-written and interesting. Additionally, you may want to write a Vector Database someday\u2026\n\nOpenAI. (2024). ChatGPT \\[Large language model\\]. \/g\/g-2fkFE8rbu-dall-e\n\nEnter tools and software for you to store those websites and other materials. They can range from free bookmarks to paid read-it-later services. Yes, bookmarks might be free but you have to arrange all the categories apply filters, and don\u2019t get cool features of read-it-later services like speed reading, text-to-speech to listen to your text documents, forever storage of information even if they are deleted, etc.\n\nAwesome! With these services, you can read your saved contents wherever you want, you usually have your phone with you and you can go to their app or web app and start reading your saves, it\u2019s even designed for you to make it easier to read. Great, right?\n\nWell, err, em, the only problem now is you don\u2019t have the context to consume information, and sitting in an overcrowded commute, sweating on a hot summer day trying to read how to write a toy VM in Python isn\u2019t pleasing. Plus, you will read the contents, and probably cross off the post but, what\u2019s the takeaway? That a toy VM can be written in Python? Will you be able to write a VM now that you have the information?\n\nYes, I\u2019m describing only a single situation. But, what I\u2019m trying to justify is that, even if you\u2019re lying on a hammock sipping some Pi\u00f1a colada and trying to read all the information that you stored at some point in time that you find interesting, it might not give you the value at that moment, which you thought it would give. But, also, you won\u2019t be just storing a single interesting thing, right? Each day Hacker News has lots of new submissions, also, someone might be sharing some interesting article on X, Reddit, etc. You will create your own Kafka queue. Bookmarks, saves, etc. will keep on increasing in the cluster, but, you can only consume as much.\n\nKnowledge is an expiring asset, you might remember a few things now, but, slowly gradually, you\u2019ll be at a point where you remember nothing of it and it\u2019s just like you never read it. In which case, when you need that information you will go and read it and you will then, read more documents around the subject, you will be in the context that\u2019s why you\u2019ll remember it(for a long time). Our brain is single-threaded, context switching is an expensive process and it can only keep much information, the point of getting information is to use it and not just store it. Because that\u2019s what your machine is doing.\n\nSo, relax, there will always be new things, and you will never be able to learn everything. If you find something interesting now, and you have time to read it, do it now! (it might not be interesting tomorrow) When you read it, understand it properly as you are using your mental effort.\n\nAnd yeah, delete your bookmarks. :) :)\n\nThere\u2019s no freedom like letting go\u2026.]]>","guid":"https:\/\/prertik.com\/read-it-never","pubDate":"Sun, 10 Mar 2024 16:52:32 +0000"},{"title":"Reflecting at 2023...","link":"https:\/\/prertik.com\/reflecting-at-2023?pk_campaign=rss-feed","description":"<![CDATA[\nThe year has come to an end, it\u2019s December 31st, 2023 and I\u2019m drafting this post, by the time this will be posted, it might be 2024!\n\nThis year has been particularly interesting for me, I\u2019ve experienced extremes of ups and downs both personally and professionally. One thing that was constant over the year was, the variety of emotions felt each month.\n\n  \u201cMy mom always said life was like a box of chocolates. You never know what you're gonna get.\u201d\n    * Forrest Gump\n\nHere are some of the wins of 2023:\n\nExperimented heavily on OpenAI: ChatGPT and OpenAI were the spotlight of the whole year 2023. The start of the year was with GPT-3.5, later on, GPT-4, and finally the whole ordeal with firing the founder\/s. I won\u2019t go into the details here as just a quick search on the internet yields tons of articles and posts. Luckily, I got to experiment a lot on OpenAI, building models, and training models for my day job. I experimented with custom GPT, Assistants API, and creating fine-tuned models that could generate acceptable results based on prompts. Having the opportunity to work on a product with a focus on Generative AI, I got to be in the driver's seat to experiment with this. Will definitely write about this in upcoming blogs.\n\nHealthy Diet: Since, February, I started a diet to decrease my Body Mass Index(BMI)\") as I was in the overweight zone, and I had planned to get into the normal index by 6 months. Luckily, thanks to proper diet, exercise, and discipline, I was able to reach my goal in 2.5 months. I have been sustaining it and I\u2019m planning to continue that in 2024.\n\nLearned to drive: Although I did know how to drive a car, I couldn\u2019t drive on the road in Kathmandu. Driving in Kathmandu is extremely tough as there are lots of bikes covering the road, there aren\u2019t many working traffic lights and we have to depend on traffic police for signals additionally, there\u2019s too much public transport.\n\nNew Language: At the end of 2023, I started to follow my interest and learn how to design compilers and language. I\u2019m currently, working on a language that is (trying to be) syntactically similar to a well-known language and will have some extra language features than that and will compile to an executable than the VM which the inspiration language depends on. This is by no means a new idea and there are a ton of languages like that but, I wanted to try my hand at this and also learn about the Algorithms involved while creating effective hash-maps, GC, etc. What\u2019s wrong with n+1 language? :-)\n\nBooks and Music: This year I read, 24 books ranging from Technical books and non-fiction to Novels and other fictional books. This is I believe quite low from the previous year, I will have to pick this up in 2024. The plan is to read at least 3 mid-size books a month. On music, I did make quite good progress as I listened to 240 new albums I hadn\u2019t heard before and from 115 new artists.\n\nLearned to Draw: In the last quarter of this year, I enrolled in a course on Udemy on Drawing. So far, I\u2019m enjoying it a lot and will share some of my drawings in upcoming blogs.\n\nLimiting social media: I never had an Instagram account till 2020, and didn\u2019t have a Facebook account from 2017-2020, and was pretty much non-existent on Twitter till 2019. But, during covid phase, I started using social media as it was the only way to connect with people and I went back to checking social media every hour or so since then. Thankfully, during mid-2023, I decided that enough was enough and have limited my usage as I have deleted my account on some platforms and I only use other media only an hour a day. The only thing I have tried unsuccessfully to limit is YouTube. Maybe this is a challenge for 2024.\n\nCompleted Games: I\u2019m an avid gamer and I keep on getting new games when interesting ones come out or go on sale but, am not able to finish it properly due to which my games backlog grew to 150 in the last quarter of 2023. Out of which, I completed 15. So, there are still 135 games to be played (if I don\u2019t get something new).\n\nThese are some of the wins of 2023, yes, there are plenty of losses too, but, the idea is to focus on the positives and build upon them. Hoping the list for 2024 grows into a massive list with too many wins.\n\nAlso, one challenge for me in 2024 is to blog every week. I did get a long subscription for write.as, as I believe this a great blogging platform and I do want to get into a habit of writing long posts each week.\n\nHappy New Year, 2024!\n\n(Calvin and Hobbes, Bill Watterson. Retrieved from: https:\/\/www.gocomics.com\/calvinandhobbes\/1995\/12\/31)]]>","guid":"https:\/\/prertik.com\/reflecting-at-2023","pubDate":"Sun, 31 Dec 2023 18:44:49 +0000"},{"title":"Softwares that I use...","link":"https:\/\/prertik.com\/softwares-that-i-use?pk_campaign=rss-feed","description":"<![CDATA[I have nothing to write and have been stalling this blog for so long. So, I\u2019m going to start with this.\n\nIt\u2019s not writer\u2019s block or being too busy to write something but, I have been procrastinating on doing some interesting things and then writing about it. Oh well, I do tend to do interesting stuff but, don\u2019t seem to write about it. For now, I\u2019m going to bore you with software I use daily that helps me get the job done and manage aspects of my life.\n\nBlogging:\n\nWrite.as: Let\u2019s start with Blogging and I use write.as for it as you can see. Previously, I used Jekyll, Hugo and many other frameworks or static site generators. I used to host it all via Github and redirect to my domain. One I hosted on Github\u2019s domain is still up. The whole process of maintaining and hosting was going fine for some time until I found out, there were lots of software out there which could help me focus only on writing and publishing. (Additionally, my way of constantly changing themes on my blogs, and tweaking CSS was also, time-consuming.) I tried every blog hosting service under the sun until I found out write.as. I\u2019m not going to post negatives about them but, I found most of their flow disruptive and hard to read without having an account while some still needed maintenance from my side. Although write.as isn\u2019t free as other services, it makes the writing and publishing experience good. I can also change css and js of this blog and not have to worry about breaking things but, the default theme is just about right.\n\nOrganization and Management:\n\nFor organizing and managing the daily, weekly, or monthly aspects of my life, work, and activities I depend on multiple software.\n\nObsidian: I use Obsidian for everything. Be it for instantly writing down food recipes or noting down addresses. I have a Supernote A5X which I use to read PDFs and take notes on meetings or figuring things out. I export the contents of the supernote to Obsidian for organizing and record it for easy finding. Supernote gives me the feeling of writing down on paper with a pen which I have been accustomed to all my life and Obsidian gives me the indexing and quick searching of things when I need to look into it (like a library).\nTickTick: I use TickTick for my Pomodoro timer and manage my daily tasks list. Using TickTick I can also estimate how much time I should spend on a task at hand(by either taking rough time estimation for a new task or looking at how much time I spent on a similar task earlier). This helps me breakdown my day better and ticking each task throughout the day also gives me a sense of accomplishment. (While writing this blog, I have a timer going on and after much postponing finally, I will be able to check this for today. :-))\n\nFitness:\n\nFitbit App: I use Fitbit App on my iOS and Fitbit Sense for tracking my steps, calories, and most importantly sleep. Although I\u2019m satisfied with Fitbit Sense, I do not like Fitbit App, it\u2019s lacking in many features compared to Apple Health, and also, Premium costs $80\/year for 1-2 features that are actually useful to me. Also, the whole Google Pixel Watch and migration to Google accounts is quite confusing and messy. At this point, I think Google should create one app for both Fitbit and Google Pixel watch so that there would be similar features. (Yeah, but, OS is different between them and Fitbit OS has far fewer features than even Android Wear\u2026)\n\nSo, this is it for this blog post, maybe in the next post, I\u2019ll write about tools and software that I use for programming and on my work. See you on the next blog.]]>","guid":"https:\/\/prertik.com\/softwares-that-i-use","pubDate":"Sat, 05 Aug 2023 17:12:32 +0000"},{"title":"New blog!!!","link":"https:\/\/prertik.com\/new-experiment?pk_campaign=rss-feed","description":"<![CDATA[New Experiment with write.as!\n\nTrying out this blog setup. Looking forward to posting more here.]]>","guid":"https:\/\/prertik.com\/new-experiment","pubDate":"Tue, 27 Dec 2022 08:46:05 +0000"}]}}