Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "debug duck"
-
Found out where the Amazon Developers keep their debug buddy.... bottom of their source code.
A duck that makes a meow noise.
Interesting choice7 -
That awkward moment when you tell your gf you want a rubber duck for your birthday present but you mistyped it.
Gf: "Sweetie, what gift do you want for your birthday?"
Me: "a rubber dick would be fantastic! it'll help me debug things"
Gf: "Ok... if you say so..."8 -
This might sound cliché, but my dad. I called him Pop. He was a COBOL programmer, and he taught me the fundamentals. He would bring home his work and debug on paper, and I was his rubber duck.
When I got older, we were each other's rubber duck. Whenever I was stuck, he'd throw a suggestion out that might have seemed off base at first, but was somehow related to what I was working on.5 -
In India we don't go rubber duck debugging. We debug with God 😂😂😂 (For non Indians that is Ganesha, one of the famous Hindu god. Said to be the god of knowledge and hence engineering by extension )18
-
Today I became a rubber duck debugger 🐤
I was leaving from office and spotted my senior collegue sitting glued to the screen solving an issue. I sat along with him to embark on a debug adventure. I casually asked him about the issue and what might cause it. After a bit of discussion *bam* he figured out where the problem lies and solved it in an instant.
Quack quack off I run 🐤5 -
Guess who's birthday it is! It's my birthday and that are my birthday gifts my GF gave me 😍🤩
Also starring Dick-butt Debug-duck!
I feel blessed. 😁26 -
!rant
And so it began.
I made debug duck-chan (with devrant-chan of course lol)
@No-one this is your fault xd18 -
Idea:
What about creating a virtual-devduck?
A duck on the bottom of the screen that sometimes does weird stuff and says something so you can talk to her and try to debug
I want to do this but I don't think it's possible with Java :(28 -
I'm a lead engineer, I design, I code, I debug, I test, I struggle, I deliver, I'm just a basic building block in my company, hardly involve in product roadmap planning. This is pretty clear in my LinkedIn profile. Jp Morgan recruiter called me for Vice president role. VP? Seriously? me skipping 4-5 levels, just with an interview process? Are you kidding me?
I asked her two times "...are you sure?", I lost my words, somehow gathered courage and asked, "what's the portfolio looks like, how many people will report to me?" Then she, calmly revealed that it's just an ic dev role and they name it that ways in their company.
What the actual ducking-duck-duckkk!
P.s. not sure about jpmc rest of the world but that's how it is in jp Morgan india.8 -
Not really rubber, but he's my duck.
He's literally one year younger than me so it makes it quite special.
I really like him 😄6 -
I don't have a rubber duck to debug... I have my own team.
P.S. Groot is in charge of the breakpoints... Because of... Well you know :s4 -
Thirty hours over two weeks, but we finally patched a angular app that was originally built on 2 (alpha) to 4, reducing the load time ten fold.
Don't thank me, thank super duck. The duck with the power to debug any code.
Gawd I'm tired.2 -
@dfox @trogus
Wait?
Does the devrant face thing have a name?
I have been calling my stress ball Devin when I use it to rubber duck debug.
Devin, developer, devrant...
I know, home run.😅7 -
So here's my debug pal, the porcelain swan, cuz I haven't stumbled upon a rubber duck. I like my swan nevertheless6
-
I’m trying to explain the theory behind ‘Rubber Duck Debugging’ and to be honest, they don’t believe me 😂 they say I’m drunk. Help me out here, who else uses a rubber duck or something similar to help debug code?8
-
Ah, the little subtle things we have to iron out as we progress from Junior Developer to Medior Developer.. things like:
- knowing the difference between a carriage return and a line feed (although having worked with analog typewriters helps) and later knowing that Unix-based systems and Windows NT-based systems implement it differently..
- knowing that serialization is important because not all computers interpret data the same way and some computers allocate 4 Bytes for a construct, others 16 Bytes.. and then we get the funkiness of transferring character sets between machines..
- knowing that a whitespace character is not only an actual space (as is known in ASCII as code 32). This one can cause even medior developers a headache, as in: why the fuck does this string function say that "hello I am a duck" and "hello I am a duck" are not the same?! Turns out then in the debugger that when you expand every character in the string you see that string1 contains 32 32 32 32 as usual.. but then string2 contains -96 -96 -96 -96 and you're like.. what the fuck..? Then you know you have to throw \\h regex at it. Haha.
- finalizing our objects and streams (although modern languages do that for us).. otherwise we have to do funky shit like trying to find what's locking a file, which is not so easy to figure out.
- figuring out why something won't work often requires you to not only break down the problem in smaller steps, to use a debugger, but sometimes it's even better to just create a proof of concept, slap some minimal code in there and debug that.. much easier.
- etc.
:)7 -
Last week I was studying Cocos2d-python, I had been awake for something like 35 hours, kept alive by cocacola and coffee, and while debugging I started to hear my rubber ducks talking, I've written their instructions on a blackboard, and now I'm working on that project...
And I was there like everything was normal, I had more caffeine and sugar in my body than water, I remember clearly saying "thanks weird talking duck!"2 -
I've been dreaming about an eat() method in, I guess, Javascript. It would accept a string as parameter and set the cursor position further by the width of that string in the current font and size without displaying the string. A bit like a span with FG == BG.
But the best was the debug mode: the characters would be printed, but a yellow duck would appear from the left and eat them in Pacman style.1 -
Past month I had been working on a JSON hierarchy construction from flat rows returned by query where some bugfuck had introduced pagination for some damn reason, I never gave a flying duck to this till I get a email from one of the clients who supposedly made a complete hierarchy and my endpoint wasn't returning some hierarchy after some levels.
Frustrated that my service layer there is a bug, I debug to realise only certain rows are getting sent back from the query and ebullient from this fact , I put the bug on the DB person and walk off for a smoke.
After a smooth drag , I realise while closing the email on my phone that this client had entered 10 on pagesize which would indeed just return 10 rows. *Facepalm* I didn't even need to debug all this and now I had to a face a db person I just plastered a bug on. BAHHUMBUG2 -
My family literally knows nothing about development, programming, computer science. It's bad. The closest anyone in my family has come to understanding is a distant cousin, who is an IT lead in Healthcare. His mother told him to call me because some fucking piece of shit at his job purposefully mucked up an internal ASP.net app on his way out. Sure, I had nothing better to do than to phone debug your shitty app with zero context. Great.
My wife is the one who comes closest to understanding in my immediate family* but even she admits when I come home ranting that she has absolutely zero idea what I'm saying.
It great though because I get to use her as a living rubber duck that just stares at me with a blank expression. Then at the end of describing a complex problem I'm trying to sort out she just replies with some encouraging thing like, "I'm certain you'll figure it out."
Fuck this is a long rant. Sorry. I better get back to work. -
People posting their (not so good) workstation. Post it if you code on 3 widescreens, 9 monitors, a gaming rig or if your debug duck is a ducking (pun (maybe)) dragon.
A laptop on a 10 inch table is pretty sad.2 -
These god damn idiots!11!!
Why, for duck sake, php-fpm and xdebug are using the same standard port 9000?
There are thousands of different ducking ports you could choose from!
So each developer who wants to debug his php app served by php-fpm, has to adjust the port for xdebug on something like 9001 or 10000.
Whyyyyyyyyyyyyy!?!??
: /4 -
Never realized how often I use rubber duck debugging until I learned there was a name for it ͡° ͜ʖ ͡°1
-
Weird Thought: Somebody should make donuts in the shape of a debug duck. This way, we can not only have hypothetical technical conversation with the duck, we can also eat them out of frustration of debugging.3
-
Y'all have your rubber duck to debug, but I have my own technic: the SO debugging.
It simply consists as asking your question as you'd normally do, but while doing so, you still think about your issue, and how people not knowing your problem but still knowing about dev would react to your question, making you asking other related question (SO's related question might also help).
IMHO, the most important part is the "related" question, that helps you to think outside the box. It makes your problematic progress a lot, and has the gift of not making you loosing any hope ; and if you ever block for good, your question will look less silly than at the beginning -
TL;DR Jump to the bottom, putting question first seems strange.
I got 2 servers sharing 1 external ip, i use one server for x y z and the other for a b c, so they dont use the same ports.
I got told i would need 1 dedicated ip per server, and i refuse to believe that since everything works fine. However, some things would definitely be alot easier having an ip per server.
So, does anyone have experience with getting an additional ip for your home connection?6 -
You know you been thinking to much your your Friday ends with your head being you fucked you use yourself as the rubber duck to debug your code...2
-
Not sure if this is supposed to be a debug duck - things you find in Mannheim when the Deutsche Bahn makes you doubt again about German punctuality3
-
Since rubber ducks are everywhere, let me play with the algo and see if this post will be in everyone's feed. 🐤undefined rubber ducky rubber ducks let's see algo debug quack closest i could get to a duck with that emoji