Activity

vair.​nooi

The things I did the past few hours:

  • Now it can track the item removal dino-bbq
  • Created Dockerfile for container things docker-transparent
  • Switch to APSchduler for cronjob (crawl FT Store).
  • Restructure the project (follow the guide on FastAPI page)
  • Wrote the test for this app, but it just for the user side. I’m looking for a way to actually test the webhook.
Attachment
0
vair.​nooi

The app is basically worked new yayayayayay
But it can’t notify the item removal yet nayayayayay

Attachment
0
vair.​nooi

I forgot to make devlogs so here is what I have done:

  • Some simple user/auth endpoints
  • Some simple Webhook endpoint

The idea of this project is very simple: Instead of manually pull data directly from FT Store, I will do that for you pet-yayaya
There are two Webhook modes:

  • compact only announce what changes
  • full return the old item, new item and what changes

I still wondering should I submit this project here or in RaspAPI but maybe I’ll ship this here soon.
I’m very very very sorry for not making devlogs cryign

Attachment
0
vair.​nooi

Shipped this project!

Hours: 7.94
Cookies: 🍪 45
Multiplier: 5.69 cookies/hr

In this ship, you can watch the guides, play Blackjack with bot and review your old matches.
I’m planning for PvP mode in the next ship yay
I hope you guys will enjoys this project parrot_love

vair.​nooi

I have set up a simple pipeline to build Docker image whenever I push the code forgejo
I also set up the production bot so you can test it yayayayayay

Attachment
0
vair.​nooi

I wrote a simple CLI to let you setup the bot and run it.

Attachment
0
vair.​nooi

I added DB and history command so users can review their old matchs yay

Attachment
0
vair.​nooi

I added some basic guide for new player :D

Attachment
0
vair.​nooi

Hello heidi-paws,
This is a simple Discord bot built with Hikari, Arc, Miru that let you play blackjack with bot or with your friends. The rules used are a variant commonly played in southern Vietnam.
I have done the basic logic for a PvE game.
The to-do lists will include:

  • Simple CLI to let you customize the card emoji
  • Guides
  • Add database to store games
  • Maybe a simple economy system hmm_sus
  • PvP (in next ship)
Attachment
0
vair.​nooi

Shipped this project!

Hours: 5.67
Cookies: 🍪 115
Multiplier: 20.32 cookies/hr

I really really sorry for not focus on doing devlogs cryign
Btw, this release focused on fixing bugs. Beside that, I also add relationship list support, which mean you can dumps and loads list of relationship yayayayayay

vair.​nooi

Sorry for not create much devlogs ;-;
I just push a new release and this is all of the updates:

Updates in this release fastparrot

  • Add Relationship list support. Now you can dump and load a list of relationship 🎉
  • Add unloaded relationship handler in Deserializer
  • Remove requirement of id field in model since the key_factory is here
  • Add tests
  • Update docs

Fixed bugs bugparrot

  • Fix infinite recursive call in Deserializer (through calling stack and linker mechanism)
  • Remove __class field in relationship object
  • Pass attr_to_key to Serializer in Redis client
  • Ensure Redis client will load and dump data with JSON module
  • Replace LostRef error with WhereIsMyRef
  • Remove get_kwargs in Redis client
Attachment
0
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

The deserializer is done nayayayayay

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 about 2 months 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 3 months ago

Removed 😔

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

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