Activity

SilentSword

Omg, I didn’t log for so long. Sorrrrrryyyyyy!!! In the almost 7hours, I got every part of the site that I didn’t like and just redesigned it. I added RAM and CPU usage trackers using API endpoints, I added an install server button (and an uninstall one). And made a simple homepage to have at least something.
But what I definitely like the most is this new open source React component that I found, that provides you a lot of animated icons and components, and you can notice them all trough tout the front, and I’m definitely going to use more of it.

0
SilentSword

Omg, I might have forgot about flavortown, I’m so sorryyyy! I worked, as you can see, 6 hours, in which I have mainly build API endpoints for the frontend, such as one to install and uninstall servers, constant pooling of ram and CPU usage, automatically giving the max ram that can be used. I also made a temporary frontpage so that it has something to show. I don’t think it’s going to stay like that, but at least it’s something.
Fixed bugs again and again, and that’s it. Thanks for reading!

0
SilentSword

Holla guys! I have refractured some Api to match with the backend, and, the most important change, I modified the online players counter so that it shows a picture of the players online, and if hovered, it shows their username! I am so, so happy with how this turned up.
I don’t really have anything else to say, so, as usual, thank you for reading, have a great day and bye!

0
SilentSword

Well well well, only one hour and 47 minutes, hmmm…. Something ain’t right. But it doesn’t matter, because I’m super happy with how this turned up until this point, and im sure you are going to love it. I made the console bar retract down, and now I used a react library for different icons, which are also very good. I really don’t know how I want the final website to look, but I’ll see what I like more, and I’m sure that you’ll like what I come up with.
Thanks for reading and have a great day!
Bye!

Attachment
0
SilentSword

Woah, I worked in all of my free time today, and seeing almost 4h up there made me feel dizzy for a moment, I need to take more breaks❤️. I’m curious how much I have worked on the frontend… Anyway, even though there are only 2 or 3 new features, I have refractured a big part of the code, because it was hard to work with it. And also, those 2 or 3 features are this:
Getting individual Minecraft server’s resources like RAM, CPU, etc…
Implemented a class which connects via rcon (apparently it comes from remote connection) to a specified server’s Ip and port and authenticates with a password (witch I think it’s necessary). After this, it waits to get the response back (all of it), because apparently it fragments it, I don’t even remember.
And these are all of the features added today. Thanks for reading! Have a great day!

0
SilentSword

It’s been a while science I’ve worked on this project. I have reopened it today, and I was trying to remember what was going on, where I left off, and what I needed to do. I remembered that the last thing I wanted to implement is the WebSocket connection; a live feed from the server to the user/browser, and after apparently 1 hour and 43 minutes, I did it! The connection works seamlessly. Of course there are still some bugs, but it’s much, much better than the last time.

0
SilentSword

Made the project ready for shipment by adding the required PyPi dependencies, refracturing the structure of the code, etc..

Attachment
0
SilentSword

Ok, so I found out that for Shor’s Algorithm, you need to know a lot about quantum programming (or just use a built-in function that dose everything but I don’t want to do that), so im going to focus on easier algorithms and then come back to this.

Attachment
0
SilentSword

I have implemented Shor’s Algorithm to work on a classical computer, the next step will be to make it work on a quantum computer.

0
SilentSword

Shipped this project!

Hours: 3.22
Cookies: 🍪 5
Multiplier: 1.5 cookies/hr

I have built a program that lets you play with Grovers Algorithm, which uses Quantum Programming to find the bits formation form all the possible combinations.

SilentSword

I have done the hole project:(, sorry this is the only devlog, but I forgot to actually go on flavortown to submit devlogs:(

Attachment
0
SilentSword

So, I just did the api endpoints to stop and start a server. I uploaded the same video as for the frontend, because, again, that’s how you can see them in action!

0
SilentSword

Alright, so I worked a little bit, made the code more usable and understandable (for both me and you), and added these quick commands tool you can see in the video, they just start and stop the server (and restart, ofc). Now I think I want to figure out how to structure the page, because you can only fit so many elements on a page and it has to be pretty organized.

0
SilentSword

Ok, so I tried to make the server use the WebSocket connection to send, in realtime, the output of the minecraft servers, but apparently, on windows, java sends the output slower when it detects that it is being run in a subprocess, and I tried to make it instant, but I couldn’t figure it out, so im gonna work on other features next such as basic turning on and off the server, etc… and ill focus on the console later.

0
SilentSword

Ok, so in those 2h, I have just made the api work with the frontend. I implemented WebSocket support, and that’s kinda it. I know, I know, even I think it’s too little for 2h of work, but you have to believe me, I am glad it didn’t take me 3h. Even though I wrote a little bit of code, the amount of debugging I had to do is ISNSANE. That doesn’t mean I don’t love programming anymore, it’s my favorite hobby, I was just telling you how things went. Also, you do want to read the devlog from the frontend, I have basically worked on both at the same time. But for now, it’s good night for me❤️
P.S: I uploaded the same video as for the fronted because that’s where you can see the api’s functionality.

0
SilentSword

Ok, it’s been more then 1h and 30m, it’s been actually like 3h but who counts? (me) So anyway, now the webpage actually uses this WebSocket thing. I searched and documented about it and let me tell you what it does. It is a protocol (fancy term, i know, it means a way of transferring data from one server to another) which allows you to send data at the same time to one another with no time limit. It’s the same thing you use to chat on WhatsApp or to call someone. The thing is, it’s complicated to set up (it’s also my first time, but still, it was hard!), but I got it working. The client and the server will establish a WebSocket connection, providing at the handshake moment (the moment when they connect) the server id of which you wish to have access it’s console. For now, I didn’t connect the console, but that’s going to be easy-peasy compared to this WebSocket thing.
Also, I made a UI look kinda better, I still didn’t add those features I mentioned in the last devlog,. My next goal is to go to sleep I think, and I’ll see y’all tomorrow!

0
SilentSword

First devlog!!! Ok, so, I made a very simple webpage with reactjs, and used a library which seems pretty well known to fetch APIs. I used it to get a list of minecraft servers installed on the actual server. It isn’t anything big, but it can fetch data and im happy about it. I made a button so you can even refresh it yourself. I think im going to work a little tiny bit on the UI, then add some features like accessing the minecraft server console from the browser (I’m scared of that because I think I have to use WebSocket, even though I have no ideea how to use it or what it is🥲). But for now, I’m excited!
P.S: Im logging almost 2h of work so my bad for that, and also, in the video, you will see that I tried refreshing the server list. I assure you it worked, but it was just the same:)

0
SilentSword

Ok, im login only 44m, but I have actually worked a little bit more (close to 1h or 1.2h). The program now actually runs the servers in the background, and you can attach whenever to whatever server you want (in the video I only did it with one server because I’m lazy to download 2 minecraft servers). The best part (for me, and for you), it runs on any os!!! So excited to make an mvp and see your reaction on it. Now I think I want to see if there are any bugs or typos, and then I’ll make the API server work, or redesign it and make a simpler api, idk how or what I’ll see. Hope you are as excited as I am for this!!!

0
SilentSword

It has been some time. The running server part was very easy, but I wanted to make the server run in a subprocess and then be able to tap into the subprocess of any server whenever you would like. Finaly, after 30min or more, I gave up and let the features I already implemented stay. The features I implemented now are:

  1. Automatic acceptance of EULA (user must confirm tho)
  2. Automatic launch script creation (works on any os; windows, linux, macOS,… tested only on windows tho:( )
  3. Added a config file where the user can modify the startup script if they know what they are doing.

That’s all for today, I’ll see you tomorrow!

0
SilentSword

Added the feature to automatically download the Minecraft server. Took a while, but it can download any version of vanilla Minecraft servers (basically official, from Mojang, Minecraft’s owners). It will do it in a special directory for servers for easier management. Text thing I have to make the program actually install the server.

0
SilentSword

Created the project with python and made some basic cli interface using questionary. The program is able to start a flask API server and respond to Api calls, providing some test data

0