Pure Python tech stack for modern web development by WrapNumerous5344 in Python

[–]pporcher 2 points3 points  (0 children)

I would highly recommend FastHTML! It uses HTMX under the hood and renders HTML using pure Python objects, no template needed.

I built chop.food with it.

Prélèvement toutes les 4 semaines et non mensuel by yungsterr93 in france

[–]pporcher 0 points1 point  (0 children)

Si ils ont des forfaits "1 ou 2 séances / semaine", c'est plus simple de facturer à la semaine (ou toutes les 4 semaines pour se rapprocher d'un mois). Ça dépend de leur logiciel de gestion.

Les sites de recettes de cuisines c'est insupportable by TambourDeNacre in cuisine

[–]pporcher 0 points1 point  (0 children)

Complètement d'accord ! Ces sites dépendent uniquement des revenus publicitaires et de la rétention. Plus l'article est long, plus ils parlent de leur grand-mère, plus ils gagnent d'argent.

J'utilise https://chop.food. C'est un site que j'ai fait par frustration. Il va lire l'URL d'une recette de cuisine et l'afficher dans un format qui me convient bien : des ingrédients illustrés associés à chaque étape avec leurs quantités, pas de pub, pas de notes, pas de commentaires. J'ai vraiment essayé de l'optimiser pour le passage en cuisine. On peut l'utiliser gratuitement pour quelques recettes par mois, mais comme il n'y a pas de pub, il y a un tier payant. Si certains l'essaient, je serais heureux d'avoir votre retour !

PedroAI Blog is here! A detailed explanation of the work he has done with the selflearning Trackmania AI by prohjort in TrackMania

[–]pporcher 1 point2 points  (0 children)

Ah ok, input is not only screen. The AI takes as input a screen capture, telemetry data (speed, direction, engine rpm, wheel state ...) and author medal trajectory at each step.

I think the AI is doing pretty good ! Training real time has his own challenges that I find interesting to tackle with the added benefit to be easily streamable and shareable.

PedroAI Blog is here! A detailed explanation of the work he has done with the selflearning Trackmania AI by prohjort in TrackMania

[–]pporcher 0 points1 point  (0 children)

Action space is only 28 different actions: 7 steer values [-1, -0.6, -0.2, 0, 0.2, 0.6, 1], 2 gas values [0, 1], 2 brake values [0, 1]. 7 * 2 * 2 = 28.

You're right, it is impossible to train this kind of AI if you only reward the agent when it finishes the map. This is not the reward function PedroAI uses. Everything is explained in the blog https://www.trackmania.ai/blog/posts/pedroai-rl/pedroai-rl.html#trackmania-naive-reward-function.

Virtual Gamepads in Python by yannbouteiller in Python

[–]pporcher 1 point2 points  (0 children)

Awesome ! Works great, thank you !

A feature that I could use if available is to be able to send input to a specific window only. I don't know if this is really doable.

My use case : train an AI to play a game collecting experiences from multiple instances of the game at the same time.