debugging

rubber duck

to solve
How a rubber duckie helps programmers {and not only}
problem tasks
Why is a
duckling
?
The method was first described in the book The Pragmatic Programmer: The Path from Apprentice to Mastery by David Thomas and Andrew Hunt in 1999.
David Thomas told about a student programmer who carried a rubber ducky with him. When the program he had written did not work  ...
click to crack
|
can'
DECI
E
T
D
works
<Take the duck>
<ask her a question>
<elaborate>
<you're great>
when there is a question that is difficult to be answered or a problem that cannot be solved
or try to explain the task you're thinking about
the correct formulation of a question contains half of the answer to it, gives impetus to thoughts, directing them in the right direction
to solve problems effectively, you have to talk about them. "Rubber ducking" helps because solutions can often be found when you talk about the problem.
step 1
step 2
step 3
step 4
Me: Hey, duck! Help me!
Me: How do I make a classy website?
Me: I want to become a sought-after web designer and make quality websites, but I don't know how to do it yet. What should I do?
Me: Wait, you're saying that... That's right! I need to go to school! I'm going to go pick a quality course. Thanks, duck!
Duck: Hey! What's your question?
Duck: Tell me more about what you need this for? What is the purpose?
Duck: I can already see the answer in your question...
Duck: Was happy to help, if anything - I'm always here for you <3
How it
talking to
DUCKLING
//is weird
A
But things will come to a head when you remember |
when the code
//doesn't work
The programmer explains each line |
function createStudent(student) {
const $studentTr = document.createElement('tr'),

$btnDelete.classList.add('btn','btn-outline-danger')

$studentFIO.textContent = student.StudentFIO;
$studentAge.textContent = student.getBirthDate() + ' (' + student.getAge() +' лет)';
$studentstudyStart.textContent = student.studyStart + '-' + student.endEduc + ' (' + student.getYearsEduc() + ')';
$studentFaculty.textContent = student.faculty;
$btnDelete.textContent = 'Удалить';

$studentTr.append($studentFIO);
$studentTr.append($studentAge);
$studentTr.append($studentstudyStart);
$studentTr.append($studentFaculty);
$studentTr.append($btnDelete);

function createStudent(student) {
const $studentTr = document.createElement('tr'),

$btnDelete.classList.add('btn','btn-outline-danger')

$studentFIO.textContent = student.StudentFIO;
$studentAge.textContent = student.getBirthDate() + ' (' + student.getAge() +' лет)';
$studentstudyStart.textContent = student.studyStart + '-' + student.endEduc + ' (' + student.getYearsEduc() + ')';
$studentFaculty.textContent = student.faculty;
$btnDelete.textContent = 'Удалить';

$studentTr.append($studentFIO);
$studentTr.append($studentAge);
$studentTr.append($studentstudyStart);
$studentTr.append($studentFaculty);
$studentTr.append($btnDelete);

$btnDelete.addEventListener('click', async function() {
console.log(student);
await serverDeleteStudent(student.id);
$studentTr.remove();
})
console.log($studentTr);

return $studentTr;
}
COLLECTION
egor
ILIPPOV
Y
F
The deputy head of Yandex.Music has created a museum of #yanducks ducks in the Yandex office.
In addition to the standard rubber ducks in Egor's collection there are many unusual exhibits: ducks on wheels, antique toys, statuettes, postcards, drawings, photographs counts more than a thousand items
Ducks from Japan by Sergey Nikitin, Yandex Library architect
Duck master Irina Efimova, made to order,
passport attached
Duck from parts floating in the Adriatic Sea
Wrench duck made by Egor Filippov in trash jewelry atelier
Duck of the Zhytomyr Musical Instruments Factory
The 1950 Lego duck is the oldest duck in the collection
Wooden duck on wheels by master Alexander Parshin, Novoshakhtinsk, 2021
Duck with musician of master Yuri Ivanov, Chistopol, 2021
Monumental souvenir by Michael Ricker, 1987.
In Yandex there is a library of common components called Lego (I happened to work there, and also took second place in a New Year's costume contest dressed up in a lego block, there is a photo).
The library also had an alternative - a lighter in all respects analog called Nanoblocks.

The author of the latter, the haphazard architect (post on Staff) Sergei Nikitin, brought me these ducklings from Japan a long time ago.
#Master Irina Efimova loves all sorts of cute things, cutting out money toadstools and providing her products with a passport.

As it often happens, she refused my request to make a duck, but after looking around the museum, she made it "not to order, but by inspiration".
Driftwood is a material and related art form in which objects are assembled from wood thrown up by the sea and then dried by the wind and sun.

I've been wanting to make something driftwood for a long time, and here's a happy accident. A newly arrived colleague brought to the museum a duck that had been swimming in the Adriatic Sea in parts.

I myself took out some black sea driftwood (according to the seller) and made wheels.
Having become a part of the performance in Shpalu, where you can read the explication while standing on the applicator, I made a wrench duck in the trash jewelry atelier inside the suitcase and put into it a piece of paper with a text written by neural network, which I had taken out of the box that Vovan had given to Lizonka in 1956, and Masha had found at the flea market much later.

Take a picture of it as if I were an artist and come to Shpala
The Zhytomyr Musical Instruments Factory, established on the basis of artisanal furniture workshops, mainly made accordions. And once it produced a metal acoustic guitar with a huge letter "Zh" on the body and a bolted black fingerboard. Oleg Skripka played on such a guitar, and Yuri Stoyanov shredded with it (according to the Internet)
Among other ducks on wheels, the ones with complex mechanics are the closest to me: the beak-snapping lego duck, Dr. Doodle from Fisher Price, the neck-throwing "gabby-goose" from All-Fair Toyz and its clones that have been appearing for twenty years.

For days another unnamed and obviously gabby-goose-inspired duck from Europe came to us.
Alexander Parshin - #master from Novoshakhtinsk - sent a video about the birth of an unusual three-axis duck, recently added to our collection
Yuri Ivanov, #master from Chistopol (Tatarstan), together with a beaver saddled with a steampunk duck, sent a sketch that has been waiting four years for its materialization in beech, oil and beeswax
Over the course of his life, he made countless mini-sculptures of children, presidents, Indians, baseball players, Vietnam War soldiers, firefighters (whose successful post-9/11 sales were the last gasp of the 40-year-old tin king's business, which went bankrupt in 2005 a year before his death), horses, rabbits and, of course, ducks.
Profession
Name
Comments
Web designer
Olga Murzabaeva
Non-profit project
All rights belong to their owners
To read about the duckling's world tour
Made on
Tilda