Friday, August 22, 2025

What made me write this blog?

Once again welcome back buddies

In this blog we will learn what I did after the project completion. For the past 2 days I didn't do anything except eating, sleeping and swiping(so called reels) and seeing youtube too. On the day the project ended it was very nice and I didn't overthink other things in my head. But for the past 2 days it was very disturbing in my head. Here we will see what happened in the past two days.

Waking Up Late

I doom scrolled Instagram, till 02:00 AM(IST)๐ŸงŸ๐ŸงŸ ended in waking up late. I ate late in the morning, and again watched youtube videos. And watched Instagram and wake up late in next day.

Fake motivation and cheap dopamine hits

As a result of doom scrolling, these are the only things I was gifted. Fake motivation started to tell things that I achieved something incredible in my life and this kind of pleasure is nothing wrong having it. And dopamine hits by Instagram made me feel that I know each and everything in this world. And after watching it for days finally ended up me hating myself. Yes I hate myself(luckily not today).

What does project days taught me?

I was awake late night during the simple project days also, but not this much frustrated. Meaning some thing was there kept me focused on that day and already designed what is for tomorrow(have to finish what i left today or continuing it to the end). Then I start to think like, What ever thing that I(we) want to do, regardless of situation or its own complexity or even you don't know what it is, all I (we) have to just start.

Today

I just woke late(doom scrolled yesterday). Was angry at me and started to write a to-do list(not in computer, in a notebook).

 And I included "Write a blog" and as a result you are reading this. And there are lots to finish today, and I will try to finish other to-dos too.

Thanks for the read , mainly keep engaged in what you love and start buddies.

Wednesday, August 20, 2025

Project development experience with Rust

 How I overcome the problems faced in creating and finishing the rust cli app project

1) I don't know the rust language's syntax
Since I am new to Rust programming language, I took it as interest from Road Map and start developing the project. In the starting day I started learning common syntax of Rust from their official book. And directly jumped to continue the work.

2) Yes you are right!
And for developing a project, it might need a new types of function calls, rust syntax that I am not aware and practiced with. So I depend on chatgpt to get work done. This doesn't mean I copied code and pasted it. I was asking very very small questions to chatgpt and gathering those answers and wrote the code. Let me give you an example, I want to write some entries in json meand I will ask chatgpt to 
i) how to open a file in rust
ii) how to read a file
iii) how to iterate the file contents
iv) how to write a file in append mode that the file won't get truncated(and I followed not this way)
v) then I will take this all and put my logic in there and cook something.
Once it get little familiar I started to wrote code for the next parts without seeing the past code. Here comes the 3rd part

3) Rust compiler errors are weird, weirder and weirdest. 
But it is correcting me to write good code. I had made so many mistakes by typing my own code. Each time I got an compiler error I ended up asking so many things to chatgpt(which is a good thing I learnt so many things) and corrected the previous code in a different way. Most of errors I end up is around borrowing concept. And I will try to learn it deep and expertise. Thanks to the Rust compiler. 

4) An impact from Intellisense from VS code
Purely the mistake was from my side, I have used trim_matches and trim_end_matches in my code for various cases. I have intellisense turned on in my vs code. And using it in this rust project caused me a bug. And I using println! to check where the error is coming(so called debugging) and unable to find where it comes from. And once again checked that particular code again and again(typical 25 minutes later meme). Later successfully found that I have wrote the wrong function call. And for that particular error I used .map to rectify it and tested it. Hurray! It worked. finally inner peace meme.

5) How was it in day 1 and ending day 
When I start the project I was so enjoyed and started fn main() and it ended the day literally with not even adding some thing to .json file. It was frustrating at end of the day and I convinced myself that I starting this and I will go further. 2nd day came and i just wrote helloWorld into file and printed it in console, and developed some part of add command. At end of second day it was only add command and not fully functioning and there was long to go. Third day came and finished add command first and finished the delete command also, I got very happy at that moment. And days passed and I am finished the entire project today(19-08-2025).

6) Am I falling in Love with Rust?
The answer is yes. And I am started to give it a whole try(learn) by building other projects with little higher level of complexity than this one. We will wait and see What is Rust holding for me and what I am gonna give(contribute) to Rust.

7) What's next
Here comes the next destination. The travel for this destination is very awesome. I am gonna try back end development(REST API) with rust, buddies.


Thanks for the read buddies. And mainly you guys are doing very well in your field and keep rocking.

Saturday, August 16, 2025

My First Web development Experience - HTML

 MY FIRST BLOG

Lets talk about the first coding that I done in my life. I don't know which year or particular school year I was in . The computer teacher taught us HTML and displayed it on the browser๐ŸŒ. In my back days the browser is a cool thing๐Ÿ—ฟ and who doesn't want to get displayed in the browser. So the teacher๐Ÿ‘ฉ๐Ÿผ‍๐Ÿซ taught us some HTML tags and I learned it. Then evening I came home and borrowed my sister's ๐Ÿ‘ฉ๐Ÿป laptop ๐Ÿ’ป and implemented the learned HTML and tried running in chrome. The beauty is I want to surprise my elder sister ๐Ÿ‘ฉ๐Ÿป on her birthday with my HTML page. So I made a neat centered looking HTML page and so on. In my HTML page I inserted a <img src="teddy.jpg"> tag. I saved the file and opened it on chrome. Yes the image is not displayed in my HTML page. I wondered why it is not working ๐Ÿ˜ญ even though the heading paragraph are showing. I don't know what's going on. And I closed the laptop and handed it over to my sister. Now I remember that I had no image named "teddy.jpg" in my project directory ๐Ÿ˜น๐Ÿ˜„. This is what I want to share on my first blog. Thanks for reading this ๐Ÿ™๐Ÿผ. And mainly do what you love buddy๐Ÿ˜‰.