sparkd's avatar

@sparkd

hey, i exist on this website and do silly things sometimes
Wall

i have an english project due in 2 hours and i haven’t even started

i know, three posts in a day is pretty wacky BUT

would it make sense for my blog project to have a ratelimit of 3 new blog posts per 5 minutes, 250 views per hour (it doesn’t make a db query for everytime someone reloads the page, the posts are cached and the list is refreshed everytime a new post is made so the db doesn’t feel stressed), and a 50 requests per minute for the api (the api makes a new db query for each request)

i might upload a new youtube video about it sometime soon but i’m grounded so y’all will have to wait a few weeks lol…

some interesting features about the blog:

  • 100% flask, python, pymongo

  • FIRST time i’ve used fetchapi (to make an admin panel)

  • probably my biggest project that functions properly

  • my first time using tailwind css

  • my first time making json configuration files (you can customize fonts, theme color, admin accounts, etc.)

  • first version on github was made in 4 hours (didn’t have much, no admin panel or CSS)

  • latest version made in about 12 hours of work (2 seperate days of work)

6 0 0

Thoughts on Unix timestamps? I think it’s a simple way of globally tracking time

It’s not even that hard to turn a unix timestamp into a datetime value in Python, even using Flask

5 0 1

Update: They reviewed the camera footage from the hallways on Friday and they confirmed someone broke into the locker rooms and they are currently trying to identify them. Shouldn’t be too hard since there’s only ~20 boys in my gym class.

I got the police involved, they said if my school doesn’t do anything on Monday I can file a report and they’ll investigate.

Someone stole my Switch from my backpack in the boys locker room during gym. Fuck my school.

Forgot to mention: my school’s administrator is an actual dickhead and he said “What do you want me to do? Check the cameras?”, YES, THAT’S LITERALLY ALL I WANT

(By cameras, he means the hallway cameras in case someone went in during class)

14 1 15

I got the police involved, they said if my school doesn’t do anything on Monday I can file a report and they’ll investigate.

Someone stole my Switch from my backpack in the boys locker room during gym. Fuck my school.

Forgot to mention: my school’s administrator is an actual dickhead and he said “What do you want me to do? Check the cameras?”, YES, THAT’S LITERALLY ALL I WANT

(By cameras, he means the hallway cameras in case someone went in during class)

14 1 15

Someone stole my Switch from my backpack in the boys locker room during gym. Fuck my school.

Forgot to mention: my school’s administrator is an actual dickhead and he said “What do you want me to do? Check the cameras?”, YES, THAT’S LITERALLY ALL I WANT

(By cameras, he means the hallway cameras in case someone went in during class)

14 1 15

REPOST THIS IN ALL CAPS AND GET MORE LIKES CUZ YOU SAID THE JOKE LOUDER, I DARE YOU

repost this in all caps and get more likes cuz you said the joke louder, i dare you

13 1 2

Hypixel skyblock bazaar flipping is honestly overpowered

Buy glass from the builder → resell to the bazaar for double profit

my friend turned 2k into 15k by investing in bitcoin

he said it was stressful and took a while, he rated it a “6/10” lol

waste of money - suggested by @mybearworld

15 4 1

i love redragon mice, now i can macro on hypixel with 48 cps!

The real reason Israel is going to war with Hamas and Gaza is because those areas have a lot of oil near the shore, and Iran’s oil exports were shut off and Russia banned fuel exports. So think about it.

I might as well add this:

“The starting point for many people is the United Nations' vote in 1947 to partition land in the British mandate of Palestine into two states – one Jewish, one Arab – following the destruction of much of European Jewry in the Holocaust.”

Imagine someone takes over your country and splits half of it, and then the other half is still fighting to take over your part?

I apologize if I sound biased, but I am Muslim and it’s sad to see this ethnic cleansing. I’m not saying there’s only one right answer, but this is my person viewpoint on the situation, so take this with a grain of salt.

“One must imagine sisyphus happy”

life is a joke and we’re all just waiting for the punchline

24 2 3
13 0 0

Did I… did I just ratio myself?

New py-blog update coming soon!

https://youtu.be/VVbRCDgp-VI

Feel free to give me feedback!!! I’m experimenting with Tailwind so it may not look epic :P

12 0 2

New py-blog update coming soon!

https://youtu.be/VVbRCDgp-VI

Feel free to give me feedback!!! I’m experimenting with Tailwind so it may not look epic :P

New py-blog update coming soon!

https://youtu.be/VVbRCDgp-VI

Feel free to give me feedback!!! I’m experimenting with Tailwind so it may not look epic :P