Activity

vair.​nooi

I have fixed a few bugs according to Copilot:

  • Load and unload the data from Redis correctly (I forgot to put json.loads and json.dumps in some function pf)
  • Pass attr_to_key to Serializer in Redis client
  • Pass set_kwargs to set command
  • Remove the requirement of id field in a model, used to create reference key, which is replaced with attr_to_key and key_factory.
  • Add unloaded relationship to Deserializer (return None)
  • Remove depth control in Deserializer
  • And so more (look at the commit history below)

Atfer all, I think I need to sleep more because my brain is not braining now cryign

Attachment
0
vair.​nooi

Shipped this project!

Hours: 7.95
Cookies: 🍪 145
Multiplier: 18.27 cookies/hr

This is a simple library to dump and load the SQLModel object.
It uses seen and reference mechanism to refer the relationship. It also support Redis as the reference manager.
But the biggest disadvantage is it require a garbage collector to get rid of the “too old” reference.
I hope you will enjoy this project.

vair.​nooi

I have fixed a few bugs related to Redis client. I also split the async function into separate class so it can run smoothly yayayayayay

Attachment
0
vair.​nooi

I have split the db.py file into multiple smaller file for better code management yayayayayay

Attachment
0
vair.​nooi

I added attr_to_key as another way to modify the reference key mc_fox_spin

Attachment
0
vair.​nooi

I wrote the Readme and created to pipeline for release hyperfastparrot

Attachment
Attachment
0
vair.​nooi

I added Redis support, now it will push and pull the data directly to the Redis yayayayayay

Attachment
0
vair.​nooi

I added self_ref mode yay
In this mode, instead of storing reference in a separate place, now it will be stored in itself. This could help in managing obj but will increase the size of the output sad-cat-thumbs-up

Attachment
0
vair.​nooi

I have completed the Serializer part.
It handle Relationship by using reference. If it is not mentioned before, stores it into an object, if so, reference to it :D
It also help deserialize object by storing object class so it can reconstruct the object yay

Attachment
0
vair.​nooi

Shipped this project!

Hours: 14.27
Cookies: 🍪 247
Multiplier: 17.34 cookies/hr

This is a simple Captcha generator that lets you generate customized text captcha and audio captcha.
This also comes with a handy CLI tool and an API to let you do that yay

vair.​nooi

I was trying to get the CICD pipeline work the last whole week ;-;
I also did some updates to this project too:

  • Set up the CI/CD pipeline
  • Created the README file
  • Create the Releases
Attachment
Attachment
Attachment
0
vair.​nooi

I have done the CLI part. I switched to click for more easy-to-read code :D
I also restructure my code so I can publish it as a package yay

1

Comments

ucosuc113
ucosuc113 24 days ago

:0

vair.​nooi

I have done the DB part yayayayayay
I also wrote the definition of the CLI

Attachment
Attachment
0
vair.​nooi

The audio part is also done :D
But the level 5 is kinda broken I guess pf

Attachment
0
vair.​nooi

I have completed the text captcha.
I use pillow and numpy for this text generation
It has 5 level with increasing difficulty. As shown in the image below from left to right, from top to bottom, there are 5 levels in order.

Attachment
0
vair.​nooi

I added resubmit button on the right corner so you dont have to copy and paste you essay manually :D
I also fix some bug and update the system prompt so the model will be stricter :D

Attachment
0
vair.​nooi

Shipped this project!

Hours: 9.49
Cookies: 🍪 220
Multiplier: 23.19 cookies/hr

This ship sadly doesn’t bring any big change but some small ones to make the app more accessible and close to the real test.
I hope you guys enjoy this ship 🫶

P/s: If you got an Service Failure screen, please make sure that Hackclub AI still normally operates ;-;
Check it at status.ai.hackclub.com

vair.​nooi

I added retry (review again) and copy button so now you can retry if there is an error :D
I also fixed some issue related to UI.

Attachment
0
vair.​nooi

The button will stack instead of stand next to each other on iPad and smaller device :D
I also made some small changes to the code too.

Attachment
1

Comments

vair.​nooi
vair.​nooi about 2 months ago

Removed 😔

vair.​nooi

Added manual topic insertion.
Now you can use your own question

Attachment
0
vair.​nooi

Added new part 2 question type (flyer) :D
The improvement rate is kinda broken so I removed it ;-;

Attachment
Attachment
0
vair.​nooi

Added scroll bar :D
Hope I don’t get rejected this time ;-;

Attachment
0
vair.​nooi

I have fixed several bug and added this screen to indicate whenever the AI provider is down :D

Attachment
0
vair.​nooi

Shipped this project!

Hours: 24.85
Cookies: 🍪 274
Multiplier: 11.05 cookies/hr

The app is kinda complete now 🎉
Because it is made for one user so it won’t have a user management D:
Btw, hope you guys enjoy this app :D

vair.​nooi

I have completed the README for the app and both Front-end and Back-end.
I also update the base_url so now it will accept all URL from OpenRouter compatible service.

Attachment
0
vair.​nooi

I just rework the whole database and its kinda tired because I fucked up sometime ;-;

The idea is:

  • Topic will hold Questions
  • Submission will hold Answers
  • Review will hold Overall Review and Question Review
  • Answers will be the answer for the Question
  • Answer Review will be the review for the Answer

For simplicity, P2 and P3 review will be store in Overall Review table because the each topic just contains 1 question, unlike P1 have 5 questions per topic.

Attachment
0
vair.​nooi

I added a color header to make the UI look a little bit colorful :D

Attachment
0
vair.​nooi

P1 generation is complete. I also update the generator code so now p1, 2 and 3 will return a Pydantic object, include summary. I also add pre-generated theme :D

Attachment
0
vair.​nooi

A few hours ago was kinda panik for me because a JSON formating error made me think that HC AI was down. By the way, this update creates a foundation for P1 topic generation. A few more implements and it will be ready 🎉

Attachment
0
vair.​nooi

Add Suggestions for a better essay :D
I added suggestion on the backend side but forgot to devlog it D:

Attachment
0
vair.​nooi

I just setup some CI/CD to automate the build process. And it is quite exhausted ;-;

Attachment
0
vair.​nooi

I have completed the user endpoints, working on the entry one

Attachment
0
vair.​nooi

Shipped this project!

Hours: 1.31
Cookies: 🍪 3
Multiplier: 1.95 cookies/hr

I have mentioned this in the first devlogs that this project is not intented to help me learn any line of coed but to introduce me to the world of reverse proxy, especially Traefik. So hope you guys enjoy this :D

P/s: Pls gimme a vote so I can buy a RPi ;-;

vair.​nooi

I know this looks very silly, it does ;-;
This project is not to help me learn coding but to introduce me to the Traefik world :D
So I hope you enjoy this silly project

Attachment
0
vair.​nooi

I just complete the base of the backend. I’m still wonder should I submit this to Homelab or Flavortown T^T.

Attachment
0
vair.​nooi

The basic part is done. But at this moment, it only support P2 and P3. I’m planning to support the P1 too :D

Attachment
0