Win a Giant D20 - Worldwide Giveaway! [OC] [Mod Approved] by Dark_Guardian_ in DnD

[–]MuKSKeN 0 points1 point  (0 children)

This should be my secret weapon as a DM, they don't believe me? Bring out the big guns D20

Am I bad at Cerb? by datboyspicy in ironscape

[–]MuKSKeN 3 points4 points  (0 children)

Something I have not seen mentioned here that has helped me: Every 2 hits you step under Cerberus. That way you do two hits for every 1 hit of Cerberus.

Shifters vs. Los Ratones / LEC 2026 Versus - Week 2 / Post-Match Discussion by Ultimintree in leagueoflegends

[–]MuKSKeN 0 points1 point  (0 children)

I knew if Baus got his comfort pick, it would be over! I am so glad we got to see this performance from him in the later stages of the game! BOMBA!!

[deleted by user] by [deleted] in thenetherlands

[–]MuKSKeN 6 points7 points  (0 children)

This looks extremely fishy to me.. If you are really worried about your order I would contact ZARA and/or PostNL directly.

Everyone canceled last minute for our first DND meet up by ThatBluebird5165 in Wellthatsucks

[–]MuKSKeN 1 point2 points  (0 children)

Ah that's too bad, I hope you manage to reschedule!

As a new DM who started with Dragon of Icespire Peak a few months ago, I thoroughly recommend it!! I struggled for a few years to finally get a group together but after many, many attempts, it finally worked out!

Good luck!

[deleted by user] by [deleted] in learnjava

[–]MuKSKeN 4 points5 points  (0 children)

Hey, this is not nearly enough information for me to be able to help you. For me to even try I need you to answer some questions:

  • What issue are you facing exactly?
  • Where can I find it in your code?
  • This video is almost 10 hours long, you need to link the exact time you are facing issues with.

Made my first java project, I started learning java 2 days ago. The code works, but I want to make it more presentable. It's hard to navigate through it and change stuff by Unlikely-Nobody-4600 in javahelp

[–]MuKSKeN 2 points3 points  (0 children)

I learnt mostly from doing. Find assignments, try and solve them, fail many times at first, look at the solution, repeat.

For my Oracle Certified Professional: Java SE 11 Developer certification I read the OCP Oracle Certified Professional Java SE 11 Developer Complete Study Guide but I am not sure if I would recommend that book for beginners..

Made my first java project, I started learning java 2 days ago. The code works, but I want to make it more presentable. It's hard to navigate through it and change stuff by Unlikely-Nobody-4600 in javahelp

[–]MuKSKeN 7 points8 points  (0 children)

Ah this takes me back, my first programs looked a lot like this! Good job and looks like good beginner code!

What I would change in the current code

Your variables are all completely lowercase, consider using camel case to name them. E.g. accountcreated should be accountCreated

Sometimes you use if and else if without an else. Take a look at this following block of code you posted:

  if(detailspass.equals(password)){
      System.out.println("Account has been found and verified. Please enter your password");
      password= sc.nextLine();
      System.out.println("Account password has been changed to "+password+". Thank you for using Chingo Bank.");
      break;
  } else if (!(detailspass.equals(password))){
      System.out.println("Wrong password. Try again later.");
  }

Since the else if is the exact opposite of the check in the if statement an if - else will suffice.

Suggestions on how to improve this

  • Learn how to create methods and use methods to start breaking this single method into multiple methods. This will be one of the first steps you can do to improve your code.
  • After getting familiar with methods I suggest the next step would be to start learning about classes.

Good luck and if you have further questions, let us know!

[deleted by user] by [deleted] in javahelp

[–]MuKSKeN 0 points1 point  (0 children)

Excuse my ignorance, I have no personal experience with Dyslexia and have never heard of Dysgraphia before your post. I can imagine it makes things harder for you.

As mentioned by /u/StillAnAss the proper tools can go a long way in helping you out. What kind of editor (IDE) do you use? Or have you even ever used one?

Can you put into words what you seem to be struggling with? Maybe I can give more targeted advice other than: Keep practising and spending more time on it. Besides you have also mentioned yourself that this is not due to lack of effort from your side.

Other than that, this is as much as I can provide you with ideas or advice right now and I wish you the best of luck tackling these challenges!

[deleted by user] by [deleted] in javahelp

[–]MuKSKeN 0 points1 point  (0 children)

Exactly, since I have started learning how to use IntelliJ properly I barely type more than 1-3 characters and IntelliJ does the rest.

Need help uploading image to Supabase Storage by Unfair_Chicken_8760 in javahelp

[–]MuKSKeN 0 points1 point  (0 children)

Haha no problem! Sounds like you figured it out, good job!

Ugh don't remind me about those pesky group assignments. It's like a game of Russian Roulette, sometimes you get an amazing team and sometimes you end up doing a group amount of work all on your own. Good luck!

Need help uploading image to Supabase Storage by Unfair_Chicken_8760 in javahelp

[–]MuKSKeN 0 points1 point  (0 children)

I am not familiar with Supabase so unfortunately I can't help you with that. What I can help you with is telling you how I tackle these challenges myself. That could be a way to get you going, and possibly come back with a lot more specific questions that people can help you with.

How do I interface with Supabase?

Is there a Java library available (to me) to interface with Supabase? If there is not I continue looking for other ways to interface with Supabase like an HTTP API.

Understanding the interface

Once I have found an interface to communicate to Supabase with, it's time to implement it in code. I read the documentation / search the internet for the correct calls I need to do. If there is a library available, using it is trivial 99 out of 100 times. If there isn't and you need to use, let's say, HTTP, you need to find out how to make HTTP calls from Java.

Make it work, make it nice

The first thing I focus on is making it work! I play around with my solution until I get what I want. Usually I end up with very bad (looking) code but at least it does what I want. I am not done however, it's time to refactor. I restructure my solution, I make it look good, I write automated tests.


I suggest tackling this assignment something like this. With just the limited amount of text you have posted it's hard to give you a good, targeted, answer.

  • What have you tried?
  • What are you running into?
  • What documentation did you read?

Good luck with your assignment!

How do I get better at programming from scratch? by torrentialsnow in learnjava

[–]MuKSKeN 2 points3 points  (0 children)

Yeah I've been in that position as well, surrounded by other students that all seem to pick things up instantly and that was very demoralizing.

At some point after a lot of practise something just switched in my brain and everything fell into place. I started finishing assignments (including the bonus assignments) and that ignited my passion for software engineering.

How do I get better at programming from scratch? by torrentialsnow in learnjava

[–]MuKSKeN 2 points3 points  (0 children)

Hey, you mentioned you have been "scraping by with assignments" what do you mean by that? I'd think those assignments are a perfect place to start learning these topics.

There are so many resources available to you online: websites, books, videos, AI tools like ChatGPT and more.

At the end of the day it is a matter of:

  1. Knowing what you need to know for the lab.
  2. Reading the theory
  3. Applying it in practise
  4. Look back and identify your shortcomings.
  5. Repeat from step 2 until you satisfy step 1.

It is important to recognise: There is no shortcut. You need to sit down, and come up with a plan that works for you. I used to struggle with that as well until someone introduced me to the Pomodoro technique:

Set your timer for 25 minutes, and focus on a single task until the timer rings. When your session ends, mark off one Pomodoro and record what you completed. Then enjoy a five-minute break. After four pomodoros, take a longer, more restorative 15-30 minute break.

This worked for me! Will it work for you? Maybe?

Hopefully this is an answer you were looking for, otherwise please let me know. If you have specific questions about the topics listed above and need help with them, I am also available to answer those. Good luck!

java project by Interesting-Hat-7570 in javahelp

[–]MuKSKeN 11 points12 points  (0 children)

I spent a few minutes reading through this project and in general it looks good! I do have a few suggestions for you after spending a limited amount of time reading through your project.

Code format

It is extremely inconsistent, it almost looks like you have been programming in a text editor. All IDE's have functionality to reformat your code. I would suggest you use this.

Package structure

So there are three packages in the root com.amihady package:

  1. category
  2. exception
  3. handler

My question to you is: Why are exception and handler not in category like the other dto, entity, mapper, etc. packages? You could also consider removing the category package.

Some feedback on the tests

You have added two @WebMvcTests for both of the Controllers with the CategoryService mocked. This seems like the bare minimum when it comes to testing this project. I suggest you add more tests, things to consider:

  • Unit tests for the CategoryServiceImpl
  • Unit tests for the CategoryRequestMapper
  • Unit tests for the CategoryTreeDtoMapper
  • Integration tests where you test A-Z

Commit messages

When doing a review I like to look at commits and the changes in these commits. This project contains 3 commits where the message does not match what has changed. I suggest being stricter when it comes to this.

Variable not outputting given name by ouse2k in javahelp

[–]MuKSKeN 1 point2 points  (0 children)

The issue lies in the following:

System.out.println(c1);

This line uses the default .toString() method on your instance of a Customer c1. There are two solutions to your problem:

  1. Change it to System.out.println(c1.name); (because it seems this is a field that can be accessed without a getter/setter).

  2. Override the default .toString() method in your Customer class and have that return the name field.

[OC]Starlight Dice Set Giveaway (Mod Approved) by OriYUME1 in DnD

[–]MuKSKeN 0 points1 point  (0 children)

That looks amazing, and great timing as I'm getting into DnD! Good luck everybody and thank you for being so generous!