Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for cuzzoâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Question | — |
How do I properly render a quad in OpenGL using a GL_TRIANGLE_STRIP primitive? I am currently working with LWJGL and the obstacle I face right now on my project is rendering textures to a cube, e.x a set of 8 vertices with position, color, and UV information. For now, I am starting off simple with a single 2D face however it's not exactly correctly rendered. I believe I am clos... (more) |
— | 6 months ago |
Question | — |
How to proportionally convert a number in the range of -1 and 1 to a number in the range of 0 and 319 I have float noise values, between -1 and 1, for every x,y coordinate in a 2D area and I am trying to convert that to a whole number between 0 and 319 which represents a vertical z coordinate to render. For example, ``` -1 = 0 and 1 = 319 but 0.12345 = ??? ``` How would I go abou... (more) |
— | over 1 year ago |
Answer | — |
A: Built-in way to compute coefficient of variation in pandas There's very little information to go off of here but to me the built-in function you need is division which is already built in to any language. Unless you are unable to use `df.std() / df.mean()` for one reason or another, you could make a simple function yourself that divides the two numbers and r... (more) |
— | over 1 year ago |
Answer | — |
A: Replit particles push instead of being background You will find the solution by playing with the demo that's linked on the github page. More specifically by playing around with the interactivity settings. (more) |
— | over 1 year ago |
Question | — |
How would I avoid textures being blurred when mapped to a TriangleMesh? I am making a game using JavaFX and the Fxyz library. I have chunks which are made of `Point3D`'s, these points are then passed to a ScatterMesh and that is used to generate a TriangleMesh so I can map textures to it. Which is what the below code does: ``` //Cube object extends Point3D pri... (more) |
— | over 1 year ago |
Answer | — |
A: How would I fix my IntelliJ IDE? It cannot open and re-installing does not work. While I removed the `-javaagent` argument from the vmoptions file within my Program Files, it persisted in my roaming AppData folder and that seems to be what the IDE was referencing, not the main bin. I believe this link explains what happened: > Please note that custom .vmoptions file created... (more) |
— | over 1 year ago |
Question | — |
How would I fix my IntelliJ IDE? It cannot open and re-installing does not work. So I was looking around for some async solutions and I found one on github, https://github.com/electronicarts/ea-async I follow the setup instructions for maven. Only to realize it didn't work (I didn't realize the last time it was worked on was a few years ago and I did not completely know what I... (more) |
— | over 1 year ago |
Question | — |
How would I go about chunk loading around player in a 3 dimensional cartesian coordinate space So I am in the process of creating a voxel sandbox survival game (minecraft clone) in javaFX. I am at a point where I need to come up with a way to load the chunks in my surrounding given a render distance setting. At first I thought this was a simple as iterating through the chunk coordinates in ... (more) |
— | over 1 year ago |
Answer | — |
A: Why is IntelliJ not finding these modules? After removing `eu.hansolo.tilesfx` from the auto-generated module-info everything worked fine. It seems that tilesfx was dependent on the libraries that were "missing". I am not really sure why it was generated in such a way or why those libraries couldn't be used but it seems its all fixed. (more) |
— | over 1 year ago |
Question | — |
Why is IntelliJ not finding these modules? So to preface I started a new JavaFX project in IntelliJ and all of this is from what was auto-generated out of the box. The modules I'm having trouble with are List of modules that werent found Edit to make this post more query friendly ``` eu.hansolo.fx.countries eu.hansolo.fx.heatmap eu... (more) |
— | over 1 year ago |
Question | — |
Java cannot find class within same package I've written a class object, `QueueObject`, but when I try to construct it inside of my main class, it says it cannot find the symbol on compilation. I've read lots of pages saying how misspellings or import failures could cause it but both files are in the same package and I double checked spelling ... (more) |
— | about 2 years ago |
Answer | — |
A: java.lang.UnsupportedClassVersionError: when trying to connect to JDBC with JDK 14 in Eclipse Apparently despite me changing my JDK locally on the project itself, once pushed to Heroku, the application was still being built and compiled using JDK 1.8. To solve the issue, I included a system.properties file in the project directory with: `java.runtime.version=14` for JDK 14 (more) |
— | about 2 years ago |
Question | — |
java.lang.UnsupportedClassVersionError: when trying to connect to JDBC with JDK 14 in Eclipse I'm trying to connect to a db file in my project but having some troubles. I'm using JDK 14 with ojdbc11 however I am still getting this when trying to connect: java.lang.UnsupportedClassVersionError: oracle/jdbc/driver/OracleDriver has been compiled by a more recent version of the... (more) |
— | about 2 years ago |
Question | — |
How do I properly format a String for parsing with a com.google.gson.JsonParser I am trying to check a JSON array for a certain element. However, when I try to instantiate a JsonElement to search the list for: JsonElement builderElement = JsonParser.parseString( "{\"discordId\":" + event.getAuthor().getIdLong() + ",\"discordTag\":" + event.getAuthor().g... (more) |
— | over 2 years ago |
Question | — |
Changing the font of an entire JTable column. I know I can change the font of each cell individually by overriding `getCellRenderer(row, col)` in JTable but I want to be able to change the font of an entire column at once and, ideally, have the renderer edit the font of the text in my table model. I have a custom cell renderer already, shown... (more) |
— | almost 3 years ago |
Answer | — |
A: Changing the font of a certain cell within a JTable It turns out that my table cell renderer I was using wasn't initialized -.- (more) |
— | almost 3 years ago |
Question | — |
Changing the font of a certain cell within a JTable I am trying to change the font type and size in a JTable cell. Ive looked at tons of posts and while most don't produce stack traces, they don't seem to do anything either. Here is the code I currently have. The result of the code within `BorderLayout()` is making my table look like a blank white ... (more) |
— | almost 3 years ago |
Question | — |
Trying to create a POST request with Apache []()I have tried many different ways to do this with apache but the server seems to not be receiving the data. Stacktraces are not being printed so I can only assume I have the request set up wrong for the server to receive the data. My current code looks like this: try { fixUntrustCe... (more) |
— | about 3 years ago |