<Tim>
Explore posts from serversPDProgram Dream
•Created by <Tim> on 1/5/2025 in #🔨┃dev-logs
Number.cmd
Number.cmd is a new data type for Batch, that can represent large and floating-point numbers and enables calculation with those.
https://github.com/timlg07/Number.cmd
I just implemented a new feature that allows for input operands to contain floating point numbers in the usual, human readable version (like 2.74). With this feature it is now completely possible to never use or even see the internal notation and use all capabilities of Number.cmd with normal integers and floating point numbers.
Example:
stores
2.4
in the variable %x%
.52 replies
PDProgram Dream
•Created by <Tim> on 1/2/2025 in #🔨┃dev-logs
fotoPick
View your RAW and JPEG photos combined, delete bad ones and pick your favorites. Perfect for a quick preselect before loading them in Lightroom or similar.
https://github.com/timlg07/fotoPick
The idea is to make a minimalistic tool for photographers to review and sort out their pictures. It handles the RAW and JPG version of a picture as one entity instead of normal/default image viewers that would show both files separate.
With fotoPick it's easier to delete bad photos and mark the ones you want to edit further in a software like Lightroom.
Personally I really needed this, because importing everything into Lightroom would upload all photos in the Adobe cloud, while I only need the good ones there. Also viewing and deleting photos in Lightroomis slow.
9 replies
JCHJava Community | Help. Code. Learn.
•Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
Does anyone have experience with Secure Websockets (WSS) over Nginx? I currently have this nginx config file, but the websockets stopped working once I switched from unsecure http:// and ws:// to https:// and wss:// (the https:// traffic and the rest of the application works fine though, just the websocket connection fails to establish)
Do I need to change anything on the Java Spring side or the Tomcat setup?
55 replies
JCHJava Community | Help. Code. Learn.
•Created by <Tim> on 4/24/2024 in #java-help
java.lang.NoSuchFieldError: UUID
When I try to deploy my WAR archive on the tomcat 10 I just set up (Debian, Tomcat 10.1.23, MySQL 8.24), I get the following error:
The only thing I could find on the internet about it was https://stackoverflow.com/q/76296222/6336728
I use Hibernate 6.2.7, so I downgraded to JPA 3.0.12 and Hibernate 6.1.7.Final.
Now I get a
java.util.zip.ZipException: zip END header not found
, even though jar xvf archive.war
works fine.14 replies
JCHJava Community | Help. Code. Learn.
•Created by <Tim> on 3/20/2024 in #java-help
Problems with an ArrayIndexOutOfBoundsException
Context
I have source code (as a String) that I compile in memory with the Java compiler API. I then transform the bytecode to add instrumentation: mainly tracking line coverage and obtaining variable changes.
What I'm trying to do
Now I want to add logging. For this I want to replace calls to
System.out.println
with my own logging function. (This is necessary, because (1) my custom class loader blocks loading of the System class and (2) because I want the log information stored along with the other data and contain class, method and line number of the call.)
What already works
Simply calling System.out.println("Hello, World!");
works already. Concatenating a string with a variable works now as well, e.g. System.out.println("x = " + x);
The transformation is done with the MethodVisitor from ASM:
So I mainly switch out the call to a printStreams println
with the call to my logging function and I switch out accessing System.out
with fetching a dummy PrintStream (that does nothing) from my Debug class.
In bytecode this means that an access to System.out.println is replaced with:
which in Java means:
9 replies
PDProgram Dream
•Created by <Tim> on 2/21/2024 in #📦┃project-showcase
Website ─ inn2nation.com
1 replies
PDProgram Dream
•Created by <Tim> on 2/17/2024 in #📦┃project-showcase
Client Website ─ EmilBach.de
26 replies
PDProgram Dream
•Created by <Tim> on 2/10/2024 in #📦┃project-showcase
Sling Survivor ─ a mobile game
Do you have what it takes to save the kingdom?
Show your skills in this blend of strategy, action and survival that has been inspired by the vampire survivors genre! Fight your way through hordes of enemies as you level up and unlock devastating combos. Use your cunning and slingshot skills to dominate the battlegrounds!
We recently published our first mobile game in the play store :)
https://play.google.com/store/apps/details?id=com.inn2nation.slingshot_survivors
3 replies
PDProgram Dream
•Created by <Tim> on 5/21/2023 in #📦┃project-showcase
Go Go Pangolin!
Control a pangolin, eat the termites and rescue the other pangolins. A game created in 48 hours for the Climate Jam 2023.
https://brightc.itch.io/gogopangolin
7 replies
PDProgram Dream
•Created by <Tim> on 12/17/2022 in #📦┃project-showcase
Haispeed - Can you beat the highscore?
I just finished a game! In just one week we created a 2D endless runner where you have to row with a boat and collect coins. Watch out for the shark tho ^^
https://tim-greller.itch.io/haispeed
20 replies
PDProgram Dream
•Created by <Tim> on 8/10/2022 in #💬┃forum
poggers, they made Reddit in Discord??
hehe first. just trying out how this looks yada yada
68 replies