HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wedesoft

no profile record

Submissions

X-Plane 12 Citation-X Checklist

wedesoft.de
2 points·by wedesoft·2 months ago·1 comments

Proximal Policy Optimization with Clojure and PyTorch

clojurecivitas.org
2 points·by wedesoft·3 months ago·1 comments

comments

wedesoft
·22 days ago·discuss
Maybe GPG-signing commits helps.
wedesoft
·2 months ago·discuss
If you are trying out the Citation-X with X-Plane 12, I can really recommend the XChecklist plugin and the checklist file for the Citation-X. To help you with finding all the different controls, I created this interactive page.
wedesoft
·2 months ago·discuss
That probably took a lot more tokens and iteration than normally invested in generating code.
wedesoft
·3 months ago·discuss
A Clojure port of XinJingHao’s PPO implementation using libpython-clj2, PyTorch, and Quil. PPO is a reinforcement learning method which has become popular because it addresses the problem of stability. The PPO implementation is tested using the inverted pendulum problem.
wedesoft
·3 months ago·discuss
Bad code is usually more costly once you are beyond 100 lines of code.
wedesoft
·6 months ago·discuss
My Windows gaming graphics performance dropped by 40% after some update. I already was using Linux for everything else except gaming for many years. So I tried out Steam on Linux and I was quite amazed how many games run on Linux via Proton. Just check out protondb.com for compatibility reports.
wedesoft
·6 months ago·discuss
I did a bit of scripting trying to automate the TDD cycle given a task description. The problem is, that the LLM tends to jump forward and submit a full implementation instead of a minimal change. I guess the problem is, that LLMs are trained on complete solutions instead of minimal steps.
wedesoft
·10 months ago·discuss
Yes, the main function is the worst part of the code. Whenever I discover a pattern, I refactor it and put it in a module.
wedesoft
·10 months ago·discuss
Yes, I forgot. However Clojure multi methods are more generic in that the function computing the dispatch value can also be defined.
wedesoft
·10 months ago·discuss
Good point. I definitely need to keep an eye on garbage collector pauses. I am using the new ZGC which supposedly has very short garbage pauses.
wedesoft
·10 months ago·discuss
In the past I have done some rigid body physics in GNU Guile (see https://www.youtube.com/watch?v=zBq3kW2jVxs for example). Of course if you need to simulate many objects, you will hit performance problems sooner if you don't use C/C++/Rust. Also the developer of Jolt has solved quite difficult problems, so I was quite happy to use it instead of rolling my own.
wedesoft
·10 months ago·discuss
I am aware of Neanderthal. I think it is more suitable for larger tensors and matrices. Will have to check out what ham-fisted is about.
wedesoft
·10 months ago·discuss
I use a few macros for creating contexts (i.e. with-texture, with-stencil, with-scissors, with-tar). Also I have macros for rendering (onscreen-render, offscreen-render). However I try not to overuse macros.
wedesoft
·10 months ago·discuss
That's a lot of features. Moon is on my TODO list though and eclipses would be nice as well.
wedesoft
·10 months ago·discuss
Thanks.
wedesoft
·10 months ago·discuss
Thanks. Yes, Malli is really nice. Unfortunately it doesn't let you decorate type-tagged methods.
wedesoft
·10 months ago·discuss
Yes, space station docking is on my todo list.