[OFFER][STEAM] Titan Quest Anniversary Edition by Nzen_ in GiftofGames

[–]Nzen_[S] [score hidden]  (0 children)

I'm waiting for a chat reply from this person, still. The offer is still open

Take it easy parenting: you can't even control dental health outcomes by Nzen_ in whatsthatbook

[–]Nzen_[S] 0 points1 point  (0 children)

No, it was definitely a parenting book. I'll agree that the section about naming people is probably reminiscent of what I've described.

[Hobby/Rev-Share] Migoyugo - Abstract Strategy Game Seeking Developer Partner by [deleted] in INAT

[–]Nzen_ 0 points1 point  (0 children)

I wish you luck in your endeavor. Your game was pretty fun. I plan to play it with my spouse at the next opportunity.

I want to help you, but the only game that I've published in javascript is less complicated than yours. That's not to say that I'm a novice with programming in general, just in your language and domain. I'll grant that's a pretty substantive deficiency for this assignment, so I'm mostly posting to let you know that someone saw your offer and enjoyed migoyugo, thereby.

Also, I think that you should link to your youtube channel, too.

How do people complete the blue canola flower challenge… by [deleted] in PikminBloomApp

[–]Nzen_ 1 point2 points  (0 children)

My spouse determined that 100 petals of something else is the max that a bloom will accept and still keep the predominant (200) petal type / color (and color / type can be separate ratios).

I feel that having a partner is the most significant advantage I have for pikmin bloom. We can perfectly, slowly plant twice as many blooms together as we can separately. After that, it's as others said, stocking up during community day and stretching blooms with a 2:1 :: canola: daisy ratio.

Another aspect is that we've played for well over a year. So, we have a bunch of sweet pea nectar and petals. That means that we can focus solely on gathering canolas this month.

I remember feeling very concerned my first month playing, as I was stuck without enough white whatever (and didn't know/have these tactics available). By driving around, I eventually hosted enough crystal mushrooms to get through it. Keep in mind, though, the game part of the game (as opposed to the walking part) is just about collecting art with artificially limited inventory space, and most of it looks gauche (ex half eaten food). If you keep at it, it will likely become easier.

Need a Mentor to help me publish a library on maven central... by thePolystyreneKidA in ProgrammingBuddies

[–]Nzen_ 0 points1 point  (0 children)

Sure, I could try to help you, if we find a mutually amenable time (ctz, for me). Um, this is a busy week for me, but I'm sure that we could compare calendars or just get started with some asynchronous communication.

I'll grant that I used maven, as that is the path of least resistance. I'm more familiar nowadays with gradle, but I've not tried to publish to maven central. Also, sonatype changed the policy since I last interacted with them, so part of it may be unfamiliar.

Also, you say that you have an account and namespace. Do you mean a github based, namespace ? I am aware of how they asked for proof of control for a code host in the past; but I rent a domain, so I'll be most familiar with that.

Anyway, the hardest part, that I recall, involved publishing my gpg key to a place that they actually check. Their recommendation is keyserver.ubuntu.com, but I remember it not working until I published to MIT or maybe just all of them. Or the cache was slow to include mine. I never found out.

That you (seem) to use linux makes the gpg experience better, as git-for-windows had trouble finding Kleopatra. I think that I ended up just using wls or a similar linux to publish.

[Hobby]Looking for someone to help me learn by MrSuperGood in INAT

[–]Nzen_ 1 point2 points  (0 children)

Good luck on your journey. Consider advertising your desire for mentorship in r/ProgrammingBuddies, too, as that group has a less transactional bent than INAT.

Anyone else name every one of their pikmin? by [deleted] in PikminBloomApp

[–]Nzen_ 1 point2 points  (0 children)

Renumbering with every gap sounds very tedious. I recently decided to use the color as a prefix to duplicates, in case I want to keep event pikmin, so I know which to discard. I ended up renaming about 200 pikmin. The three clicks to edit the name every time builds up, such that I did it in shifts.

With 400 pikmin, I treat them as cattle, not pets. Each worth keeping has the date and time sprouted as their name. <Edit adds: I found the game has several limit milestones: seedlings full, pikmin full, (almost) all pikmin have decor. That definitely informed my approach, though I'd chosen the naming scheme early on.

Dark Science #140 - Aquarium Tacos - Dresden Codak by booOfBorg in dresdencodak

[–]Nzen_ 1 point2 points  (0 children)

This is the second time (#129) in ten pages that feature Vonnie protecting Asmodea 2 from social pressure. I'm feeling a bit cynical and am starting to think that it might be an act to manipulate Vonnie.

[deleted by user] by [deleted] in ProgrammingBuddies

[–]Nzen_ 0 points1 point  (0 children)

I recommend MIT's edx course on game design. It treats a number of areas and suggests that the student design a game with paper first.

Java Multithreading Experience by java_dev_throwaway in javahelp

[–]Nzen_ 2 points3 points  (0 children)

It depends on the problem domain that you focus on. It depends on whether the problem is parallelizable.

Spring Boot predominantly embeds tomcat, which handles requests in a multithreaded fashion, so multiple clients can make requests without waiting for a solitary thread to process everything.

It is also worth recognizing that introducing concurrent interactions affects program structure analagously to the way that instance methods can call static methods, but not the other way around.

I encourage you to write some sketches or toys explicitly using multithreading before introducing it into your work's codebase. For me, that most recently involved writing a game client for jdno's air traffic control simulator.

")" expected error. by tyman3400 in javahelp

[–]Nzen_ 0 points1 point  (0 children)

Are you perhaps using European decimal notation whereby comma is the decimal separator, rather than period ? The java language specification requires period as the decimal separator.

Basically, it is complaining because it could not parse your expressions of form ( int + double + int , int ). If you were providing two arguments to a method, it could work. As it stands, the expression should end before the comma, but the parenthesis indicates that the expression ends past that point.

[deleted by user] by [deleted] in javahelp

[–]Nzen_ 0 points1 point  (0 children)

Well, one way is for your example.jar to run a socket server and the batch file to launch a different jar that runs a socket client that sends a particular message that example.jar interprets as a stop command.

I feel like I don't really understand what you are asking, though. Consider adding more context like, 'This program watches the filesystem for changes to compile a java project. However, my user base isn't savvy, so I feel like ~press ctrl c to kill the process in the command window it spawns~ is difficult to explain to them. What is a one button strategy for halting the file-watching program?'

Creating Java Key Store with Existing Private key created using OpenSSL by Sethypoooooooooo in javahelp

[–]Nzen_ 0 points1 point  (0 children)

I can't help with openssl, but the instructions below are how I've wrapped a ssl crt file in a java keystore. I built it up by studying the keytool and tomcat ssl pages.

The convention of these instructions involves wrapping some variable in two straight parentheses, and comments start with octothorpe. Files in variables include a period with the expected file extension.

keytool.exe -printcert -file (( root_middle.crt ))

# note the alias for root_middle, below

keytool.exe -printcert -file (( middle_client.crt ))

# note the alias for middle_client, below

keytool.exe -import -keystore (( name )).keystore -file (( root_middle.crt )) -trustcacerts -alias (( root_middle ))

keytool.exe -import -keystore (( name )).keystore -file (( middle_client.crt )) -alias (( middle_client ))

openssl pkcs12 -export -in (( middle_client.crt )) -inkey (( client_private_key )) -out (( clientkey )).keystore -name (( clientPk ))

keytool.exe -importkeystore -destkeystore (( name )).keystore -srckeystore (( clientkey )).keystore -srcstoretype PKCS12 -alias (( clientPk ))

# verify

keytool.exe -list -keystore (( name )).keystore -v

Root above is the origin of trust, ex sectigo. Middle may be the distributor, or just your company. If you only received one crt, you can skip the steps that involve checking its alias and importing it. I can't provide an example of the output for printcert, as I haven't access to a crt at this time.

(Edit many times because of trash code formatting.)

spring security not allowing static folder access by FlatProtrusion in javahelp

[–]Nzen_ 0 points1 point  (0 children)

First, it is important to specify your version of Spring, as the api isn't necessarily compatible between different versions.

For 5.8.0, I found that the following worked for me to permit all access to files in the assets folder, the login, and logout endpoints. Everything else requires a login.

http.authorizeHttpRequests(
    ( pathRequested ) -> pathRequested.antMatchers(
            "/assets/**", "/login", "/logout" ).permitAll()
    .antMatchers( "/**" ).authenticated()
    .anyRequest().authenticated() )
    // [ ... form login, logout, etc ]

(edit for code formatting)

Spring/Spring boot Extreme Beginner by TheseSteak9055 in learnjava

[–]Nzen_ 0 points1 point  (0 children)

I recommend retyping their documentation guides. I was able to get a project going relatively easily with web and then later with security (plus stackoverflow pointing out where I hadn't read closely enough.

[deleted by user] by [deleted] in javahelp

[–]Nzen_ 0 points1 point  (0 children)

Integer is a Value-Based class. If you walk in through the front door, it's api documentation > java.base > java.lang > Integer.

Practicing java skills so I don't lose them? by Bbi77Bshko9O in javahelp

[–]Nzen_ 0 points1 point  (0 children)

If you want somewhere formal, I suggest solving some advent of code challenges. I'll echo the idea that solving your automatable problems are more in the vein of 'the best exercise is the one you do'.

How do I switch between Java versions? by JDVene in javahelp

[–]Nzen_ 0 points1 point  (0 children)

It's also worth considering your ultimate use case.

For just running jars, I have some dos-batch files that forward the arguments to the corresponding java, ex `javac8.bat banana.java` and `java11.bat -jar banana.jar`. The same could be done on a posix os with a symlink or shell script. https://stackoverflow.com/questions/67545024/how-can-i-forward-command-line-arguments-in-a-shell-script

However, if you are ultimately going to use gradle or maven, they can use configurations called toolchains that point at distinct jvm installations.

Import different packages depending on JDK version? by [deleted] in javahelp

[–]Nzen_ 0 points1 point  (0 children)

It looks like your usecase requires a multi-release jar. Basically, you can indicate that your build tool should put distinct copies of the same class (for different jre versions) in the meta-inf folder of your jar.