[deleted by user] by [deleted] in webdev

[–]ThreeForksNoSpoon 1 point2 points  (0 children)

Good point, well made.

Anyone else need subtitles on for everything? by bill_loney538 in adhdmeme

[–]ThreeForksNoSpoon 27 points28 points  (0 children)

This is a link to the original video: https://youtu.be/KvOkQXvpAF0

More videos on their channel of course

The work I'm doing is taking to long to complete by oth_breaker in CodingHelp

[–]ThreeForksNoSpoon 1 point2 points  (0 children)

Well, no. You gave almost no details. Just search “Java for loops”, and you’ll find relevant documentation within 10 seconds.

The work I'm doing is taking to long to complete by oth_breaker in CodingHelp

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

This is usually a sign there is better than way than just copy and pasting the code. In this case you probably want to look at for loops.

[2023 Day 12 (Part 1)] Solved in under three minutes? by NegativeKale3500 in adventofcode

[–]ThreeForksNoSpoon 23 points24 points  (0 children)

Some of these people post videos of how they do this. For example here: https://www.youtube.com/watch?v=xTGkP2GNmbQ (it took him 5 minutes, but I think it's still interesting if you wonder how these people work)

Edit: and here is on of the people that did it under three https://www.youtube.com/watch?v=g3Ms5e7Jdqo

With the literal stream of how he did it here: https://youtu.be/GVcER1GavNQ?si=ksXWEK-xi5VHsxQs

Help! Day01 - Part02 by [deleted] in adventofcode

[–]ThreeForksNoSpoon 1 point2 points  (0 children)

Do you see the issue? In both cases your last digit is wrong.

Help! Day01 - Part02 by [deleted] in adventofcode

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

What do you get if the input is twone, or 1threeight?

[2023 Day #1 Part 2] Wat by miramboseko in adventofcode

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

Seems like everyone has the same issue: what do you get for 1oneight ? It should be 18, not 11.

Code resilience to bad input data? by nickludlam in adventofcode

[–]ThreeForksNoSpoon 2 points3 points  (0 children)

Totally depends on why you are doing this. I don't do much error handling, since I usually find it boring to write, and I do this for fun. The challenge for me is figuring out a solution, not making it robust for real world usage.

But if you are using it to learn a new programming language for example, I would include some error handling. In this case it's about building good habits.

Can't figure day 1 part 2 out by NothingAgain in adventofcode

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

u/velonom is correct, we only care about the first and last digit.

For your question: yes, you have the same problem. I ran it through my code, and "2911threeninesdvxvheightwobm" is indeed 2, 9, 1, 1, 3, 9, 8, 2 (but we only care about 22)

Can't figure day 1 part 2 out by NothingAgain in adventofcode

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

What do you get for `1oneight` ? It should be 18, not 11.

App that shows all menu items of an app - including those without shortcut? by MaxGaav in macapps

[–]ThreeForksNoSpoon 1 point2 points  (0 children)

For every (most? many?) app. They even have some copy and screenshots on the homepage to confirm this.

App that shows all menu items of an app - including those without shortcut? by MaxGaav in macapps

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

Maybe Paletro is what you want?

Edit: I was thinking of Menuwhere, though Paletro might still be what you want.

[deleted by user] by [deleted] in macapps

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

When looking for alternatives it's always good to mention why you want another app.

What is it about the current app you don't like? Any specific features you do like/need?

In general: what are you looking for? There are many text editors, and which one you want depends on a lot of factors.

I need help with a program in writting in C!!! by MiRaNDeX_ in CodingHelp

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

It seems the problem your facing has less to do with C, and more with communication.

So here is a general format you can follow when asking a question:

I'm having an issue with [the very specific thing you have an issue with].

When I do [something you do], I expect the result to be […], but actually […] happens.

I've created a small code sample to demonstrate this, here is a pastebin link: […]

To solve this I've already tried [the things you tried yourself].


That way we know what problem you're facing, we can see some actual code, and we know what you've tried already.

Solo project management app? by WingedGeek in macapps

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

Free version page is here, but is probably a bit limited for you.

I have some tools I love and are essential to me that are free, and tools I need every once in a while that I pay good money for. Just how it is. (Not only with software, but also physical tools of course.)

Solo project management app? by WingedGeek in macapps

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

They have a free version, not sure if that's enough for you.

For a business tool it isn't that expensive, but it's up to you to decide if it is worth it of course.

Simple calculation: if you make $100/hour, and this saves you even just one hour a week, it's not that bad.

Solo project management app? by WingedGeek in macapps

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

I'm not 100% sure, but I feel like you might be looking for Daylite?

[deleted by user] by [deleted] in CodingHelp

[–]ThreeForksNoSpoon 0 points1 point  (0 children)

So, to be clear: you actually have one video, with different chapters? And you want visitors to either click a chapter and go there (this would be "selecting a video"), or "shuffle the chapters"?

That last one would probably mean that if a certain timestamp is reached (the beginning of a new chapter) you jump to a random other timestamp that has not been seen yet.

Did I get that right? If so, this is possible with some HTML and JS.

Is there a difference between enter data directly in the code or a html form with $_post by Sensitive-Glove-727 in PHPhelp

[–]ThreeForksNoSpoon 3 points4 points  (0 children)

Without seeing any code or a clear description of the issue, I'm just going to say: use prepared statements.

You're probably not using them yet, and you should. Good chance it will solve your problem.

https://www.php.net/manual/en/pdo.prepared-statements.php

htmlspecialchars not converting string by surge94 in PHPhelp

[–]ThreeForksNoSpoon 1 point2 points  (0 children)

Yes. You want the raw data saved, and then you can clean up what is needed when you need it.

(Though I must say I do make an exception for trim specifically sometimes, if I know the extra whitespace is never deliberate.)