tjoener
tjoener
JCHJava Community | Help. Code. Learn.
Created by Edmon on 11/14/2024 in #java-help
Testing Framework in Java
I use JUnit jupiter, with assertj for assertions, equalsverifier for equals/hashCode verification, and jsonassert if I want to compare jsons
10 replies
JCHJava Community | Help. Code. Learn.
Created by Jack9 on 11/14/2024 in #java-help
Jackson Mapper - String[] conversion possible?
Use a List<String>. In Java 11 you can use List.of to make one
29 replies
JCHJava Community | Help. Code. Learn.
Created by mochatitan on 10/28/2024 in #java-help
issue with maven server, cant find anything on it online
no probably something else
57 replies
JCHJava Community | Help. Code. Learn.
Created by mochatitan on 10/28/2024 in #java-help
issue with maven server, cant find anything on it online
show that piece of code
57 replies
JCHJava Community | Help. Code. Learn.
Created by mochatitan on 10/28/2024 in #java-help
issue with maven server, cant find anything on it online
search in your code for "found.getName"
57 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
I write my own Coordinate class, and some converters so jpa can be happy
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
Anyway, good luck!
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
Now I just quickly add my own types and call it a day
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
nah, that library is just confusing as hell, I made the same mistakes all the time when using it a long time ago
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
With their factories and their coordinates with X and Y instead of lat and lon
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
It's so confusing
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
Which is why I fucking hate that stupid library you're using
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
yeah I had a feeling
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
just curious
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
switch both lat and lon around
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
I mean, the function arguments are the same...
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
Also, use Point, not Coordinate
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
oof, JTS, you're full on in the "use all the things" phase it seems
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
I know what it does
84 replies
JCHJava Community | Help. Code. Learn.
Created by Rag...JN 🌌 🦡 👽 💰 🐊 on 10/14/2024 in #java-help
PostGIS distance calculation gives in-accurate results
yes, but result
84 replies