Skip to main content

Posts

Rewriting Spacebot: Part3 - AUTOMOD, DATABASE GO BRRRRRRRRRRRRRRRRRRRRRRRR

 I'm really proud of this week.     Over the last week I managed to make the Automod,  work.  definitely wasnt as easy as I thought, but it works now. Join me through the thinking process and "Making it work" process in this blog. Maybe follow me on twitter? To be honest, setting up the database and caching was the hardest part. But this useful extension made everything so so so much easier. MUST HAVE Extension ( 1 ) for everyone working with #mysql on @VisualStudio This one allows you to connect to the database and edit, create columns/ rows without any code/minimal code!!! Also lets you backup your database, use pre-written SQL queries, view tables and much more pic.twitter.com/gx7cZZwmrd — Dhravya Shah (@DhravyaShah) February 6, 2022 You can follow me on twitter. I often share my experiences and stuff there  Automod Figuring out database structure Some wise man told me, "Once you make your relational database, you regret the structure for your entire life. no m
Recent posts

Rewriting Spacebot: Part2 - Having FUN with VIEWS VIEWS VIEWS

Rewriting SpaceBot p-2 This is just day 1 and I feel very confident, even though it's been a little difficult. I decided to start  with the bot in such a way that I can scale it almost infinitely, so I jotted down 5 things to do for the day: Complete the main file, Set up a good logging system, Decide a file structure for super clean code, Complete the fun cog WITH slash commands, and decide the database schema. All that, while travelling from Mumbai to Deolali  Do you think I managed to do it? I did most of this coding while in the car travelling from Mumbai to Deolali (I'm returning home as I write this blog).  Unpopular opinion: coding while travelling is super fun because no one knows what you are doing and why you are doing it — Dhravya Shah (@DhravyaShah) January 23, 2022   By the way, follow me on twitter A good logging system First, I asked myself: What makes a good logging system? These are some criteria I put for myself Proper log levels On-point log messages Importa

Rewriting Spacebot: Part1 - Deciding features and tech stack

Why Rewrite? The answer is very simple: I'm not really happy with the current state of Spacebot. Its growth is slowing down, I'm less motivated to work on the project because of just how basic it is. But this is gonna change now. Deciding the features I don't just want to make Spacebot multipurpose, I wanna make it a *good* multipurpose bot.  That is, every feature that I add to SpaceBot should also add a considerable amount of value to any discord community, which is what I think Spacebot lacked earlier. It has like 60 utility commands but most of them aren't done well. Spacebot has these features currently:  Very bad moderation  Very bad "Fun" commands  Kinda useful Utility commands but most aren't good  Kinda good Music system, I might just keep the music system as it is in the rewrite (with a few visual changes) And then there's button roles, Discord together and stuff. Which isnt really good tbh What I want to include in the rewrite: Moderation, A

The New Era of Space travel has started, and how you can go to space now (for free)

Ever since spaceflight was a thing, it has been used by governments to assert dominance against other countries, even the moon landing project was done solely for this purpose But this is changing. While government agencies like NASA and ISRO are doing all their great things, they are far more boring to the audience, because they are interested in science-based projects like satellites On the other hand, companies like SpaceX, Rocketlab, Virgin Galactic, and Blue origin have been working on something much bigger-  Space tourism.   And its not just a competition on who makes better and safer rockets for billionaires, its a race to push the boundaries of what humanity can do, which will inevitably (albeit slowly) make space available to the common people. Now lets talk about the rockets. Fun stuff! First, lets clear out the confusion between 'space' and 'orbit'  Space is just everything beyond the boundary of about 80 kms. Its a lack of atmosphere, but not a lack of gravi

Starship SN8 : THIS CHANGES EVERYTHING

Yup, literally everything.  We have returned after a long time.... (sorry for that) Starship is the rocket that gets me excited about our future, and space in general. However, it has never really demonstrated its feats. But, it could happen as soon as tomorrow- the 15 km hop is very close. Starship SN8 and Starhopper. The upgrade between these two vehicles in just a year and a half is absolutely astonishing. Seeing SN8 up close and personal makes me feel like I’m looking into the future. Unbelievable. I cannot wait to see it fly 🤯 pic.twitter.com/VIBNG0jJHG — Everyday Astronaut (@Erdayastronaut) November 30, 2020  Even though we have'nt been blogging recently, we are following the space industry very closely and one thing is for sure- no matter how successful or unsuccessful the hop goes, it will be spectacular.   well, if you dont know how big the starship is , here is a size comparison Notice how big it is from that car below it.    What is this 15 km hop about?  Welllllll, ju