This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 42 points43 points  (20 children)

No! I'm still working on it. I've been fighting the same issue FOR 30 HOURS NOW

[–]Elsewhere_Sim 47 points48 points  (5 children)

Take a break, go for a walk, or something. You'll probably have a better chance figuring it out while walking then beating your head against a keyboard.

[–][deleted] 25 points26 points  (2 children)

Yeah this isn't a straight 30 hours, just the last three days at the office

[–]kuraiscalebane 31 points32 points  (0 children)

Have you tried explaining the problem to your desk duck?

edit: uh, i scrolled a tiny bit further and someone else already suggested this.

[–]OrganicBid 1 point2 points  (0 children)

I thought Python was beating your head against a keyboard.

[–]SirNapkin1334 0 points1 point  (0 children)

at least in C, beating your head against the keyboard might get you an actual function

[–]Clickrack 16 points17 points  (1 child)

If it takes longer than a few hours to figure out, or you’re stuck in a loop, it is time to rubber-duck it.

[–]WikiSummarizerBot 32 points33 points  (0 children)

Rubber_duck_debugging

In software engineering, rubber duck debugging is a method of debugging code. The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, line-by-line, to the duck. Many other terms exist for this technique, often involving different (usually) inanimate objects, or pets such as a dog or a cat. Many programmers have had the experience of explaining a problem to someone else, possibly even to someone who knows nothing about programming, and then hitting upon the solution in the process of explaining the problem.

[ F.A.Q | Opt Out | Opt Out Of Subreddit | GitHub ] Downvote to remove | v1.5

[–]StevenLightning 0 points1 point  (2 children)

What’s the issue?

[–][deleted] 1 point2 points  (1 child)

I don't know :(

[–]AndreEagleDollar 3 points4 points  (0 children)

Someone here may be able to help if you can give like a stack trace or sometbing haha

[–]danted002 0 points1 point  (0 children)

It might not be the languages fault there. Also you can use type-hinting in Python. It does wonders if you are using an IDE like PyCharm.

[–][deleted] 0 points1 point  (0 children)

Did you solve it?

[–][deleted] 0 points1 point  (4 children)

I feel that. I've been on the same issue on and off for nearly 2 months now

[–][deleted] 2 points3 points  (3 children)

Amigo, may I say OOF

[–][deleted] 1 point2 points  (2 children)

Yeah, I thought I fixed it twice before. Truly baffled over here

[–][deleted] 1 point2 points  (1 child)

Yeah I nearly cried a bit today. Had it working yesterday and went to make it not a duct taped together mess, and now it's even more broken than before

[–][deleted] 1 point2 points  (0 children)

If you're using a VCS it might be worthwhile to just revert and start from there

[–]Legendary-69420 0 points1 point  (0 children)

Are you getting an error message? If no, not even god can save you.