Stats

1
Projects
6
Devlogs
0
Votes
0
Ships

Coding Time

All Time: 20h 33m
Today: 0h 0m

Member Since

June 17, 2025

Projects

1
🚀
5 devlogs • about 2 months ago

Activity

I believe functional part of server-side is finally over! What a pleasant C++ experience that was. Not sure where will I host my project yet, but it's problem for the future. Ran into a dozen of bugs, 12 of them were segfaults <3

To be specific, server-side API has such implemented routes at this moment:
get /api/ping - checks if server is online
get /api/request - sends the json with all current data
get * - sends client static files
post /api/submit - at this endpoint you can send your current mood. to be honest it's possible to do this using curl without opening web app, but it's a feature, not a vulnerability (anti-spam is implemented on server, not client-side)😎

Decided to use ipapi.co for identifying IP-address location because it gives anyone 10.000 free API calls /month, I believe for my app this is more than enough.

But probably it's time to refactor the code, because it looks just terrible. Even considering the fact that variable names aren't a, b, c, yellowbeaver52, 300 lines of pure C++ beauty is not easily maintainable.

Hope to finish something like MVP tomorrow :)

Update attachment

not sure what to attach here, so you can see the C++ server beauty 🌹
so besides all the basic stuff that is present in every backend service, i created a deque with all IP-addresses to prevent spamming. removing and adding elements from/to deque is cheap for CPU, so it was a great idea. every 30 seconds in a parallel thread there runs a function that checks: if cooldown has passed -> it removes IP from the list :)

Update attachment

awesome
basic frontend is done it's time to grind c++ backend, demonstration of frontend mvp is in the attachment, check it out if you want to

Created two cool splash windows: one for showing first-time-login information to the user (about which data is collected and how does the app work), which works with cookies, and one for actually sharing the mood, though icons are not ready yet. Also did some code refactoring...

Update attachment

Created world map on the website myself without any libraries! Now when you hover mouse pointer over a country it becomes yellow, just like in the attachment.

Update attachment
Maksim
Maksim created a project
52d ago

emotional heatmap

Online map where people can post their current mood and see medium mood from other locations.

5 devlogs 1 follower
Maksim
Maksim worked on a deleted project

Alright, so HackaTime said I should post devlogs every time I make progress — so here we go.

I’ve decided to build my own game engine. And if you’re wondering how I managed to spend 10 hours working and still have almost nothing to show for it… here’s the story.

At first, I wanted to do everything myself from scratch. I was setting up a window with SDL, rendering every single pixel manually using OpenGL… and then it hit me — that’s not really the direction I want to take. Especially when there are tons of ready-made third-party libraries out there that already do 90% of what I need.

So, after six hours of coding, I scrapped everything and started over.

Now I’ve got a proper plan (yes, real paper and a pen involved — it’s stuck to my window as a daily reminder), and I’m back on track. I finally figured out how window initialization works, and I’ve started building my own UI library. Yeah, I know it sounds like I’m making the same mistake again… but this time it’s different, I swear. Buttons are already done — and honestly, they look pretty cool.

I haven’t thought much about the UX side yet, but I’ll get there.

In attachment there is a default button of my UI... idk what to add, that's it. have fun and step away from low level graphics.

Update attachment
Maksim
Maksim joined Summer of Making
57d ago

This was widely regarded as a great move by everyone.