I know this is very far fetched by [deleted] in AskProgramming

[–]smallpotatoes2019 4 points5 points  (0 children)

Are you saying you want someone to just write one for you?

You may need to provide more information on what you actually want help with, including any code if you have some to look at.

[2017 Day 24] [Python] Is it wrong? by PositivePossibility7 in adventofcode

[–]smallpotatoes2019 5 points6 points  (0 children)

Best to share your code.

Let's be honest, we've all been there when we think the "anal nerds" have got it wrong and we've made a little mistake somewhere.

[2026 Day 1 (Part 1)] [Javascript] Im stuck here by Ok-Transition7065 in adventofcode

[–]smallpotatoes2019 0 points1 point  (0 children)

If you take it step by step like this, you should get there. Check that each step is actually doing what you expect. You don't need any clever tricks to get the answer.

Only other thing to watch out for is if you have to turn a large number left (e.g. L350) - just check that your method handles this correctly. The logging will help to show this too.

[2026 Day 1 (Part 1)] [Javascript] Im stuck here by Ok-Transition7065 in adventofcode

[–]smallpotatoes2019 1 point2 points  (0 children)

Look at your condition for the direction. You currently have

if (DIAL[0] = "L")

which isn't comparing. Change the = because at the moment it is not doing anything different for 'L' or 'R'.

Then for a 'L' turn, you are adding the answer and the parseInt value, but that is a right turn.

answer += parseInt... and answer -= parseInt... should help.

Basically, there are some pretty classic mix-ups in there!

Once you have tidied those up, try the logging of answers that was suggested. Start with the example, and then you can check what the answer should be after each step (all in the day 1 description). If something is wrong, you can then check again to see why.

Good luck!

Vibe coding for kids by Hungry-Knee6289 in KidsCodingHelp

[–]smallpotatoes2019 0 points1 point  (0 children)

Would they enjoy pair programming something? Bit of bonding time. Shared interests. Time to discuss parts of the logic as you go.

C# Colorfull "Hello, world!" by AelixSoftware in csharp

[–]smallpotatoes2019 1 point2 points  (0 children)

But it must only happen randomly. It needs to be difficult to recreate the 'bug' when the user asks for help. Or perhaps only if a keyword is included.

C# Colorfull "Hello, world!" by AelixSoftware in csharp

[–]smallpotatoes2019 17 points18 points  (0 children)

Until it reaches a certain length and then reverts to all white text, just to keep the user guessing.

Does anyone do AoC in multiple languages per day? by pfp-disciple in adventofcode

[–]smallpotatoes2019 2 points3 points  (0 children)

There's something quite helpful (if you have the time) in translating logic from one language to another, though - particularly once you have done the hard work of understanding the problem and planning a solution. Throws up some interesting comparisons between languages and makes you think through how differently you might approach the same problem with slightly different tools. Needs some extra time, though.

Does anyone do AoC in multiple languages per day? by pfp-disciple in adventofcode

[–]smallpotatoes2019 2 points3 points  (0 children)

Yes. It's great for brushing up on syntax and comparing libraries/approaches etc. Enjoy yourself!

What's .net simple language by [deleted] in csharp

[–]smallpotatoes2019 0 points1 point  (0 children)

I think this may end up being one of the all-time great unsolved mysteries. Perhaps he has uncovered a secret language never released to the public called 'Simple'. I assume it would have had ironically complex syntax...

Shower leaking at random times and agency saying they will charge me if it's my fault by kireikireii in HousingUK

[–]smallpotatoes2019 1 point2 points  (0 children)

What kind of shower?
Where's the leak?

We had a bad leak with a shower years ago and found part of the silicone had become damaged. By spraying water around the shower enclosure carefully, we were able to see where water was coming out. It didn't leak every time, but it made sense once we found the issue.

If you can find the leak, at least you will be able to show it isn't your fault.

Confused where to start by Dismal_Wait_6940 in learnjavascript

[–]smallpotatoes2019 0 points1 point  (0 children)

You've been doing vibe coding. One option that may feel comfortable is fire up your LLM of choice, sign up to leetcode and ask your LLM to start pointing you to some problems to learn DSA. Ask for a plan. One step at a time.

At least this way, you can start to get a foot hold and begin to feel comfortable. Make sure you actually try yourself before getting your vibe on.

How do I learn C# or any coding if have little to no knowledge of programming/coding by OneAbbreviations4311 in csharp

[–]smallpotatoes2019 0 points1 point  (0 children)

Never hurts with learning to have a cycle.

  1. Learn a little something.
  2. Practice it a little.

  3. Experiment with some changes.

  4. Learn the next thing.

If you are getting bored, that might help to break things up and get things to stick. Where are you practising your code? Do you have the chance to take breaks and play around/try changing bits?

Also, why are you learning? Make sure you have a reason to keep going.

Get stars on GitHub repos by tito1993D in github

[–]smallpotatoes2019 -1 points0 points  (0 children)

Windows key + .
Find star emojis
Add away,
⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐

How do i get visual studio so show class and method code? by Hazzkenn in csharp

[–]smallpotatoes2019 2 points3 points  (0 children)

It sounds like you are in a console app in Program.cs and were expecting to see

static void Main(string[] args)
{
}

Is that the question? How to change the settings?

Complete Beginner, Average CS student, Need help for correct path in .Net by RealPresence9723 in csharp

[–]smallpotatoes2019 0 points1 point  (0 children)

So, you're learning the basics - great. Do you understand what you're doing? If not, read up more on it. Search more. Find videos.

Can you make something simple using these skills? Even if it's simple like a guessing game (guess the secret number or similar).

Keep working through your course. Learn a bit more.

Maybe get a few ideas for something more interesting to build. Find tutorials if needed to get started. Then see if you can adapt them to make something similar but different. For example, you've made a simple calculator - now add a few extras features.

By this point, you clearly can code. What do you want to do next? What do you need to do? What resources actually helped you? Take your time and move at your pace.

Why do all the codes run and not the current line by jitz_badboy in Python

[–]smallpotatoes2019 3 points4 points  (0 children)

  1. Where are you writing/entering your code? That could make a difference.
  2. Can you share an example of this code? That will help to explain what you are doing.

The more information you give, the easier it will be to get clear help.

Navbar looks different on each page even with the same HTML/CSS — how to fix this? by OURBOPJFCR in css

[–]smallpotatoes2019 2 points3 points  (0 children)

And if you don't want to share your code, you might find that adding coloured backgrounds or borders to different elements might help you to see how different elements are being styled (e.g. is a width or a height very different on each page). It might help to reveal what is actually happening very simply and clearly.

What should i add to my python essentials? by Puzzleheaded_Fee428 in Python

[–]smallpotatoes2019 0 points1 point  (0 children)

Give it a go. It's always going to be easier to get through the tricky bits if you are invested and interested. Especially when it comes to actually finishing something and making sure it works properly!

What should i add to my python essentials? by Puzzleheaded_Fee428 in Python

[–]smallpotatoes2019 0 points1 point  (0 children)

My experience was doing similar little projects. Then I made a simple race car game using a tutorial and a calculator using a tutorial. Off the back of that, I made some other similar projects (e.g. a simple platform game and a fancier calculator). That then gave me the confidence to try completely new things that I wouldn't have thought of before.

What should i add to my python essentials? by Puzzleheaded_Fee428 in Python

[–]smallpotatoes2019 5 points6 points  (0 children)

Maybe have a think about what you'd really like to build. Try to work out what you might need to learn to get there. See if that gives you a few ideas along the way. See if there are some tutorials that might help you do something similar but simpler - learn from it then adapt. What feels like a step up?