Activity for cuzzoâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #287551 |
anywhere from 768 to a few/several thousand. It can range based on a render distance value e.g how many chunks to render at one time. chunks being 16x16x320 and having 256 unique 2D x,y values (16x16). (more) |
— | 3 months ago |
Edit | Post #287551 |
Post edited: |
— | 3 months ago |
Edit | Post #287551 |
Post edited: |
— | 3 months ago |
Edit | Post #287551 |
Post edited: |
— | 3 months ago |
Edit | Post #287551 |
Post edited: |
— | 3 months ago |
Edit | Post #287551 |
Post edited: |
— | 3 months ago |
Edit | Post #287551 | Initial revision | — | 3 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) |
— | 3 months ago |
Comment | Post #287514 |
But to my understanding, all you need to do is divide two numbers together. It looks like pandas has a way to do that with sets here: https://www.tutorialspoint.com/how-does-pandas-series-div-method-work. But if you just need to individually divide 2 numbers I don't see why a utility function wouldn'... (more) |
— | 4 months ago |
Edit | Post #287514 |
Post edited: |
— | 4 months ago |
Edit | Post #287514 |
Post edited: |
— | 4 months ago |
Edit | Post #287514 | Initial revision | — | 4 months 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) |
— | 4 months ago |
Edit | Post #287513 |
Post edited: |
— | 4 months ago |
Edit | Post #287513 | Initial revision | — | 4 months 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) |
— | 4 months ago |
Comment | Post #287498 |
Thanks for the response, the image file is 512x512 and the texture is 16x16 (everything else is transparent given its a png. plan is to put more than one texture on it.) I am unaware if it needs to be in a vectorial format or if JavaFX does it differently but to give background when retrieving the te... (more) |
— | 4 months ago |
Edit | Post #287498 |
Post edited: |
— | 4 months ago |
Edit | Post #287498 |
Post edited: |
— | 4 months ago |
Edit | Post #287498 |
Post edited: |
— | 4 months ago |
Edit | Post #287498 | Initial revision | — | 4 months 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) |
— | 4 months ago |
Edit | Post #287404 |
Post edited: |
— | 4 months ago |
Edit | Post #287404 |
Post edited: |
— | 4 months ago |
Edit | Post #287404 | Initial revision | — | 4 months 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) |
— | 4 months ago |
Edit | Post #287384 |
Post edited: |
— | 4 months ago |
Edit | Post #287384 |
Post edited: |
— | 4 months ago |
Edit | Post #287384 | Initial revision | — | 4 months 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) |
— | 4 months ago |
Edit | Post #287362 | Question closed | — | 5 months ago |
Edit | Post #287362 |
Post edited: |
— | 5 months ago |
Edit | Post #287362 |
Post edited: |
— | 5 months ago |
Comment | Post #287364 |
Apologies, I may have not been as clear as I wanted to be. All chunks are at the same Z coordinate. However as chunks are created and loaded around a player, they eventually cross the x and y axis. I am trying to think of a solution that accounts for the eventual transition from a negative coordinate... (more) |
— | 5 months ago |
Comment | Post #287362 |
It will only load the chunks with positive coordinates since at some point it will encounter an axis and go negative. (more) |
— | 5 months ago |
Edit | Post #287362 |
Post edited: |
— | 5 months ago |
Edit | Post #287362 |
Post edited: |
— | 5 months ago |
Edit | Post #287362 |
Post edited: |
— | 5 months ago |
Edit | Post #287362 |
Post edited: |
— | 5 months ago |
Edit | Post #287362 | Initial revision | — | 5 months 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) |
— | 5 months ago |
Edit | Post #287327 |
Post edited: |
— | 5 months ago |
Edit | Post #287327 |
Post edited: |
— | 5 months ago |
Edit | Post #287327 | Initial revision | — | 5 months 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) |
— | 5 months ago |
Edit | Post #287325 |
Post edited: |
— | 5 months ago |
Edit | Post #287325 |
Post edited: |
— | 5 months ago |
Edit | Post #287325 |
Post edited: |
— | 5 months ago |
Edit | Post #287325 |
Post edited: |
— | 5 months ago |
Edit | Post #287325 |
Post edited: |
— | 5 months ago |
Edit | Post #287325 | Initial revision | — | 5 months 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) |
— | 5 months ago |
Comment | Post #286151 |
I compiled it from the folder that both files were inside of. I am not sure if that is the same thing as the source root directory or if it was one folder back (more) |
— | 12 months ago |
Edit | Post #286151 |
Post edited: |
— | 12 months ago |
Edit | Post #286151 | Initial revision | — | 12 months 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) |
— | 12 months ago |
Edit | Post #285495 |
Post edited: |
— | about 1 year ago |
Edit | Post #285495 | Initial revision | — | about 1 year 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 1 year ago |
Comment | Post #285493 |
Yes, that is why I am confused. Regardless of if I have 2 java versions installed or not, the project is using a single JDK. (more) |
— | about 1 year ago |
Edit | Post #285493 |
Post edited: |
— | about 1 year ago |
Edit | Post #285493 | Initial revision | — | about 1 year 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 1 year ago |
Comment | Post #285394 |
Doh! I was trying to print out builderEmelent.toString() but it didn't print because it couldn't be instantiated! Thinking about it, it may be better to iterate through the list, grab the 'discordId' field and compare it to the authors ID. Thank you for the comment. (more) |
— | about 1 year ago |
Edit | Post #285394 |
Post edited: |
— | about 1 year ago |
Edit | Post #285394 |
Post edited: |
— | about 1 year ago |
Edit | Post #285394 |
Post edited: |
— | about 1 year ago |
Edit | Post #285394 |
Post edited: |
— | about 1 year ago |
Edit | Post #285394 | Initial revision | — | about 1 year 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) |
— | about 1 year ago |
Edit | Post #281589 |
Post edited: |
— | almost 2 years ago |
Edit | Post #281589 |
Post edited: |
— | almost 2 years ago |
Edit | Post #281589 | Initial revision | — | almost 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 2 years ago |
Edit | Post #281588 | Initial revision | — | almost 2 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 2 years ago |
Edit | Post #281537 |
Post edited: |
— | almost 2 years ago |
Edit | Post #281537 |
Post edited: |
— | almost 2 years ago |
Edit | Post #281537 | Initial revision | — | almost 2 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 2 years ago |
Edit | Post #281058 |
Post edited: |
— | about 2 years ago |
Edit | Post #281058 | Initial revision | — | about 2 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 2 years ago |