Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Java is horrible for everything UI-based.
I had to create a speciel kind of chart for a java application, it took me weeks to find a good library. In the end i used a hack AND changed the code of the library. It is my biggest sin up to today.
JNI to a decent C++ library.
And then you can shoot yourself because JNI is so fucking annoying.
@RememberMe I thought about just using stdin/out because it's not a lot of data I would need to transfer. The graph would only have around 20 nodes and since it's planar not a lot of edges. But I tried briefly to modify a sample cpp program and it wouldn't compile anymore when I replaced the number 5 with an integer variable. And I have no clue why. The last time I used cpp was 3 years ago in school and we didn't really do much.
@YouAreAPIRate I found one app/library that does actually exactly what I want. The problem is it's like 10 years old (it used a variable called enum which isn't allowed in Java anymore) and it's not very well documented. At first I thought I could just reimplement the whole library but I need around 6 classes from that library and they have a couple thousand lines of code each... So that's not an option.
Unfortunately this is not just a relatively simple ui chart. You need pretty complicated algorithms to layout a graph planar.
and then install babel.
and about 30 CLIs.
And this webpack replacement.
And this replacement for the webpack replacement.
Did you forget to minify? Did you grab it correctly? Did you GULP it? Slurp it? Suck it?
And after it all, "why are you doing it xyz?"
"The proper way was abc all along."
Just write a fucking graph library guy.
Sometimes you have to get your hands dirty.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job