June 16, 2025
Converge has ended :) My bot is now deployed using Hack Club's Nest! As you can see with the attachment, my bot's systemd service file is now active and running well. Embrace the past with ChorusCapsule ✨🎉!
These weeks, I have been completing Prefix Sum Array (PSA) / Difference Array (DA) At this point in time, I am attempting to solve the DMOJ seven-pointer: The Cosmic Era P3 - Battle Positions using those strategies (I have solved other problems as well such as the questions: Deforestation and A Familiar Problem from DMOPC).
Currently, I am working on solving DMOJ / USACO questions using Customized Comparisons in Java. At this point in time, I am working on the DMOPC '21 Contest 3 Problem 1 - Sums & Differences.
So I added the commands I wanted.
Here is the full description with commands:
ChorusCapsule is a Discord Bot that helps users store quotes in a memory capsule that they can access. By command, it can generate a random poem using past quotes. With this bot, you can /create, /access (which can automatically create), and /delete portfolios. Furthermore, you can /add quotes, /count for count, /export, /peek, /pop, /random, and of course, /generate for a poem!
Embrace the past with ChorusCapsule!
I fixed the issue and debugged some stuff:)
To simplify instructions, I broke apart the /access command into /create, /access, and /delete for portfolio changes.
I am still working on the other commands such as /add, /pop, and /peek!
I installed discord.js and NODEJS, and completed other starting tasks that are associated with creating a new Discord Bot.
Afterwards, I created a main.js file and coded my overall discord app code for interactions, setting commands, etc.
Furthermore, I created a storage.js file in my utils folder that has load and save functions incorporated, which are crucial functions that my other javascript files will use.
Lastly, I decided to create an access.js file for the slash command /access, which gives different buttons that access, create, or delete a user's portfolio.
I am planning to program a /add command next for the user to add quotes.
However, I realized that the discord developer website shows a different way to load slash commands and test the bot in servers / dms / group chats, so I'll have to fix this issue before my next devlog.
ChorusCapsule is a Discord Bot that helps users store quotes in a "memory capsule" that they can access. By command, it can generate a random poem using past quotes (of a server, group chat, or dm). Check out its Readme for more information!
Since my last Devlog, I completed numerous programming questions and am currently working on my last few Sets, Maps, Array, and ArrayList questions (specifically, I am now working on the USACO 2021 US Open, Bronze Problem 3. Acowdemia III). My next type of problems is Customized Comparisons!
I have completed a couple more competitive programming questions since my last Devlog. However, I am currrently debugging my code for the (10 points) DMOJ question James' Rectangles. Furthermore, I am working on my solution to a 7-pointer: DMOPC '21 Contest 2 P1 - Bosses.
I am still working on Set, Map, and Array / ArrayList problems in java. A very recent problem I completed was a seven-pointer: CCC '11 J4 - Boring Business on DMOJ, and I am now working on programming a faster method for this other seven-pointer problem: DMOPC '21 Contest 2 P2 - Scrambling Swaps in order to fix my TLE on the second batch of cases.
Currently, I am still working on DMOJ and USACO competitive programming problems that are mostly Set and Map questions (e.g. the question TLE '15 P1 - Power Rankings on DMOJ, which I finished just before this Devlog). Now, I am working on two seven-pointers: DMOPC '21 Contest 2 P1 - Bosses and DMOPC '21 Contest 2 P2 - Scrambling Swaps (which don't necessarily need to be solved with Sets or Maps).
Just recently, I coded various programs for DMOJ and USACO problems, specifically using Sets and Maps in java. At this point in time, I am working on the USACO 2020 US Open Contest Bronze question: Problem 2. Social Distancing II.
Olivia's Coding Catalog is her competitive programming portfolio that she is developing over the course of the summer.
This was widely regarded as a great move by everyone.