Better HN
topnewbestaskshowjobs
Log inSign up

wedesoft

279 karma · joined Feb 5, 2010 (16y ago) · 250 submissions

http://www.wedesoft.de/
Submissions

comment 2mo ago · link · parent

When programmers say "pleasant to read", they usually mean something which is of real economical value, i.e. the code is easy to understand and maintain (whether by a programmer or an AI).

comment 2mo ago · link · parent

On the one hand LLMs draw from a large pool of knowledge, on the other hand they are not (yet) living in the world in order to make new observations.

comment 2mo ago · link · parent

No worries. You can also instead provide integration of third party CI. Thanks for letting me know.

comment 2mo ago · link · parent

Will it have continuous integration or is it focused on just version control and issue tracking?

comment 3mo ago · link · parent

You can run Minecraft Java Edition on GNU/Linux.

comment 4mo ago · link · parent

"Switching between Borderless and Exclusive Fullscreen no longer requires restarting the game" Afaik GLFW does not support this. So maybe that is part of the motivation for switching? I use LWJGL3 as well and I think it is really an amazing library!

comment 5mo ago · link · parent

Maybe GPG-signing commits helps.

comment 6mo ago · link · parent

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.

9.

X-Plane 12 Citation-X Checklist(wedesoft.de ↗)

2 points · by wedesoft · 6mo ago · 1 comment

comment 6mo ago · link · parent

That probably took a lot more tokens and iteration than normally invested in generating code.

comment 7mo ago · link · parent

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.

12.

Proximal Policy Optimization with Clojure and PyTorch(clojurecivitas.org ↗)

2 points · by wedesoft · 7mo ago · 1 comment

comment 7mo ago · link · parent

Bad code is usually more costly once you are beyond 100 lines of code.

comment 10mo ago · link · parent

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.

comment 10mo ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Yes, I forgot. However Clojure multi methods are more generic in that the function computing the dispatch value can also be defined.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

That's a lot of features. Moon is on my TODO list though and eclipses would be nice as well.

comment 1y ago · link · parent

Thanks.

comment 1y ago · link · parent

Thanks. Yes, Malli is really nice. Unfortunately it doesn't let you decorate type-tagged methods.

comment 1y ago · link · parent

Yes, space station docking is on my todo list.

comment 1y ago · link · parent

Or you could use Clojure with the immutable data structures where you don't need to lock a mutex when accessing a data structure concurrently.

comment 1y ago · link · parent

You can use two different fluids instead of water and air.

comment 1y ago · link · parent

Implementing array operations basically requires macros and JIT compilation. I have implemented JIT compilation of tensor operations in Scheme using LLVM. Maybe I should redo it in Clojure, but I think, most programmers don't care enough, to leave the Python ecosystem. https://wedesoft.github.io/aiscm/operation.html

29.

The SOLID Principles illustrated using Clojure code examples [video](youtube.com ↗)

2 points · by wedesoft · 1y ago · discuss

30.

Mercedes allowed to drive autonomously up to 95 km/h (Level 3)(heise.de ↗)

6 points · by wedesoft · 1y ago · discuss

12345
9