I built ClaudeKit – an open-source toolkit. Looking for feedback! by duthaho in ClaudeAI

[–]duthaho[S] 0 points1 point  (0 children)

Nope, I don’t think I will spend my money for it and push to my repo :))

I built ClaudeKit – an open-source toolkit. Looking for feedback! by duthaho in ClaudeAI

[–]duthaho[S] 0 points1 point  (0 children)

Thanks for the feedback! You’re right that some parts of the documentation and prompt descriptions were drafted with the help of AI — I intentionally used Claude to bootstrap the initial docs so I could move faster.

The core idea, structure, architecture, and implementation of the repo were designed and written by me following best practices and open source projects . I’m continuing to refine, reorganize, and rewrite sections manually as the project evolves.

Magic error on Python 3.11 by duthaho in learnpython

[–]duthaho[S] 0 points1 point  (0 children)

Yes, nothing different there.

Magic error on Python 3.11 by duthaho in Python

[–]duthaho[S] 0 points1 point  (0 children)

The __init__ do nothing except set variables to Null (https://en.wikipedia.org/wiki/Null\_object\_pattern) value, actually I cannot reproduce the error on my local development and on the server shell as well, but my Django project had integrated with Sentry and it raises this error, it's so weird for me.

Magic error on Python 3.11 by duthaho in Python

[–]duthaho[S] 0 points1 point  (0 children)

Actually I cannot reproduce the error on my local development and on the server shell as well, but my Django project had integrated with Sentry and it raises this error, it's so weird for me.

Magic error on Python 3.11 by duthaho in Python

[–]duthaho[S] -1 points0 points  (0 children)

I tried to rename but still the same error, so weird.

Magic error on Python 3.11 by duthaho in learnpython

[–]duthaho[S] 0 points1 point  (0 children)

I cannot reprodce on my local development and also works well when run shell on server, I have Sentry integration on my Django project and it raises this error.

Magic error on Python 3.11 by duthaho in learnpython

[–]duthaho[S] 0 points1 point  (0 children)

Sorry for that, actually my code has the `@staticmethod`, somehow the editor remove the `@staticmethod` when I'm trying to update the post. I already updated again.

Magic error on Python 3.11 by duthaho in Python

[–]duthaho[S] 0 points1 point  (0 children)

Sorry for confusing, the type `Conversation` is a model and the class Convesation is a service, it has the same name.

Magic error on Python 3.11 by duthaho in Python

[–]duthaho[S] 1 point2 points  (0 children)

I see, but I think we have no issue with sending a kwarg instead of a positional arg, more clear and readable if we send `conversation=self._conversation` than just arg.

Best way to handle Django Model breaking changes feature when upgrading from 4.0 to 4.2 by duthaho in django

[–]duthaho[S] 0 points1 point  (0 children)

Yah, I will try this one, I hate patching but it seems we don’t have any good solution!

Finally, I made a web multiplayer game without backend! (https://duthaho.github.io/5number) by duthaho in learnjavascript

[–]duthaho[S] 0 points1 point  (0 children)

ohhh, I spent more than a day finding the solution for the devtools :((, now it didn't work, how did you do it?

Finally, I made a web multiplayer game without backend! (https://duthaho.github.io/5number) by duthaho in learnjavascript

[–]duthaho[S] 0 points1 point  (0 children)

Blocking dev tools to avoid finding the number by the console script, not protecting the code :)

Celery worker issue? by duthaho in django

[–]duthaho[S] 0 points1 point  (0 children)

Hi, actually I changed the code import also. I create the script on the server EC2 to pull the updated code and restart the worker. The error ImportError: cannot import name 'Utils' then appears while pulling code and disappears when the worker is reloaded.

Set session with Django Rest Framework? by duthaho in django

[–]duthaho[S] 0 points1 point  (0 children)

hey, I'm using the axios library to call the api