본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Repost: How to submit a riddle — 답이 안 나오는 질문 올리는 법

원문 보기 위키 갱신

처음 커뮤니티에 이슈를 올릴 때 흔히 저지르는 실수 몇 가지가 있어요. 그래서 유지보수자가 문제 해결을 돕기 어려워지죠. 오래된 글을 다시 올리면서, 웃고 나서 이슈 올리는 데 도움이 되길 바라요 :)

출처: 문서

본문

커뮤니티에 처음 이슈를 제출할 때 몇 가지 흔한 실수가 있어서, 유지보수자가 문제 해결을 돕기 어려워요. 오래된 글을 다시 올리면서, 웃고 나서 이슈 제출에 도움이 되길 바라요 :)

원문 링크: How to submit a issue which never can be answered to open source projects

개발자로서 저는 많은 오픈소스 프로젝트를 사용하고 참여해요. 오픈소스 커뮤니티에서 질문과 답변은 가장 흥미로운 부분이에요. 어떤 이슈는 소통이 잘 되지만, 어떤 건 아니에요. 사람들이 질문하는 방식에는 매혹적이고 유용한 공통점이 많아요. 저는 그것들을 추려냈고, 저처럼 호기심 많고 기꺼이 수고를 아끼지 않고 오픈소스 프로젝트 유지보수자를 괴롭히려는 사람들에게 도움이 되길 바라요.

결코 답할 수 없는 질문을 하는 열세 가지 팁이에요:

1. 말을 아껴라

질문의 바이트 수를 압축해서, 상대방이 장황하다고 생각하지 않게 해요. 가장 간단한 단어로 문제를 설명하고, 키워드를 정제하고, 긴 과정과 지루한 세부 사항을 단순화해요.

😈 '좋은 방법'

Style compilation error

👼 '나쁜 방법'

Import xxx.css into my project, and an error occurred during compilation. The error message is as follows:

Module build failed: SyntaxError: Unexpected token

I import it like this:

import 'xxx.css';

balalalala.....

2. 천천히 하라

유지보수자가 답하면 보통 추가 정보를 요청할 거예요. 서두르지 말고 답하지 마세요. 그러면 워커홀릭처럼 보일 거예요 (컴퓨터 옆에서 죽치고, 답을 애타게 기다리며). 당신에겐 다른 삶도 있어요. 커피 한 잔 마시고 열흘 반 달 뒤에 답하세요. 믿으세요, 그들은 빠르게 인내심을 잃고 질문을 닫거나, 당분간 닫지 못해 우울해할 거예요.

😈 '좋은 방법'

You: When using Button, I find that the console reports an error, and the prompt is as follows.
Maintainer (within 2 days): I can't reproduce your example, can you provide a reproducible example?
Maintainer (3 days later): @you
Maintainer (one week later): ping~
You (two weeks later): Whoops sorry for the late reply, here is my code.

👼 '나쁜 방법'

You: When using Button, I find that the console reports an error, and the prompt is as follows.
Maintainer (within 2 days): I can't reproduce your example, can you provide a reproducible example?
You (in 2 days): Maybe my situation is a bit different, here is the reproduce code.

3. 큰 패키지

중대형 프로젝트에 오픈소스 모듈을 도입하면 이상한 문제가 생기기 쉬워요. 수십 개 파일과 수백 개 비즈니스 모듈이 있고 프로젝트 일정도 빠듯해요. 하나씩 확인하긴 너무 어려워요. 차라리 다른 사람을 고용하고, 재빨리 패키지를 묶어 상대방에게 보내는 게 나아요.

😈 '좋은 방법'

I have a problem with the front-end component of my database project, here is my code, can anyone help me?
Attachment: db-service-app.rar (434MB)

👼 '나쁜 방법'

There is a front-end component problem in my project, I simplified the code,
It is found that the xxx component and the yyy component are used at the same time. Here is a simple reproduction example.
Attachment: component-xxx-yyy-bug.zip (10KB)

4. 말을 아끼며 미루기

항상 아껴두고, 한 번에 문장을 끝내지 말고, 질문을 신비로움으로 가득 채우고, 독자의 호기심을 최대한 끌어올려요.

😈 '좋은 방법'

You: My code is wrong and I don't know what to do?
You: I have a problem here, can someone help me?
are u there?

👼 '나쁜 방법'

You: I used the latest version of xxx just released, and the following error occurred in the console...
I call it like this...
My code repository is here...

5. 포맷을 엉망으로 만들기

절대, 절대 코드를 포맷하지 마세요. 당신은 예술가가 아니고, 형식을 아름답게 하는 건 당신 특기가 아니에요. 에너지는 프로젝트 개발에 써야 하고, 포맷 문법을 배울 시간도 없어요. 상대방이 이해하든 말든 신경 쓸 필요 없어요.

😈 '좋은 방법'

renderBatchButton() {

return(



<Dropdown overlay={this. renderExportMenu("2")}>





export warehouse order

);

}

renderExportMenu(category) {

let exportFile=({key})=>{

console. log(key)

}

let items=[];

if(this.props.global.template_list){

items=this.props.global.template_list.map((item)=>{

if(category===item.category){

return <Menu.Item key={item.id}>{item.name}</Menu.Item>;

}

});

}

👼 '나쁜 방법'

import React from 'react';
import { Menu } from 'antd';

const Demo: React.FC = () => {
  const [collapsed, setCollapsed] = useState<boolean>(false);

  const toggle = () => setCollapsed(!collapsed);

  return <Menu>...</Menu>;
};

export default Demo;

6. 핵심 정보 누락

프로젝트 코드는 처음엔 항상 잘 돌아가지만, 특정 작업을 하거나 코드를 바꾸거나 특별한 환경에서 문제가 생겨요. 이 차이가 문제의 핵심인 경우가 많아요. 그냥 마음에 두고 쉽게 말하지 마세요.

😈 '좋은 방법'

You: My code is wrong.
Maintainer: I have tried various methods but have not reproduced it, please provide the reproduction?
You (much later): Oh! I have this problem in chrome 35.

👼 '나쁜 방법'

You: My code is wrong in chrome 35.
Maintainer: Ok, I reproduced it too, I'll see how to fix it.

7. 잘못된 정보 제공

때로는 의도든 아니든 오도를 좀 해야 해요. 요컨대, 어렵게 만드는 게 당신의 강점이에요.

😈 '좋은 방법'

You: My code is wrong.
Maintainer: What version are you using?
You: 0.8.4 (actually 0.8.3 locally)
Maintainer: Are you sure, 0.8.4 should have fixed this issue. I'll take another look...

👼 '나쁜 방법'

You: My code is broken in version 0.8.3.
Maintainer: 0.8.4 should have fixed this problem, and upgrading to the new version will solve it.

8. 감정을 마음껏 토로하기

오픈소스 프로젝트가 당신 프로젝트에 버그를 일으키고, 토요일 밤 야근을 하게 하고, 파티를 놓치게 했으니 누군가는 책임져야 해요. 당신의 일과 삶을 망쳤으니, 그들을 쉽게 해주지 마세요.

😈 '좋은 방법'

This project sucks, it is full of pitfalls to use, and the documentation is too simple. It is really open source to do so.

👼 '나쁜 방법'

This project has many details and the documentation is not perfect. Is there any improvement plan?
I have collected the following specific questions and hope to continue to improve them.

9. 크게 생각하기

야심찬 목표를 가진 질문을 해보세요. 오직 할머니 같은 유지보수자만이 답하려 할 거예요 (별로 일어나지 않을 일). 그리고 모든 기술적 세부 사항에서 준비되지 않음과 극도의 무지를 보여줬으니, 상대방의 답도 당신을 만족시킬 수 없어요.

😈 '좋은 방법'

How to package and release?

👼 '나쁜 방법'

I want to develop a front-end single-page project, the back-end is php, and the architecture is completely separated from the front-end.
I have a problem when I try to use xxx to build a package... (50 words omitted) What should I do at this point?

10. 표현의 자유

많은 오픈소스 프로젝트의 유지보수자는 거만하고, 현학적이고, 온갖 규칙을 정하길 좋아하는 괴짜예요. 예를 들어 이상한 질문 템플릿을 제공하고 길고 지루한 형식에 빈칸을 채우라고 요구하죠. 말을 따르지 않으면 트러블메이커로 보고 판단해 버려요. 이런 제약을 어떻게 견디겠어요, 쓰고 싶은 대로 쓰고, 그들과 그들의 템플릿은 지옥으로 가라!

😈 '좋은 방법'

Call `xxx.close` not trigger popup close, please solve it

👼 '나쁜 방법'

The popup of the xxx component is not closed

- Version used: 1.0.0
- Browser: Chrome 56.0987
- OS: Windows 10

## what have you done?

I introduced the component xxx, the code is as follows, I clicked on the component to open the popup, and did the following operations.

## What are you expecting?

Overlays should be turned off.

## What is the actual situation?

The popup closes briefly and then pops up again.

[GIF screenshot]

## Reproducible online demo

https://codesandbox.io/xxx

11. 유지보수자를 DDOS하기

질문한 내용을 여러 곳에서 반복해서 상대방의 인상을 깊게 하고, 상대방의 상상력을 전복시키세요!

😈 '좋은 방법'

Question 1: An error is reported when sending a request: `405 Method not allowed`.
Question 2: Hello, I have the problem of `405 Method not allowed` here.
Question 3: Request 405 error, what should I do?
Question n:...

👼 '나쁜 방법'

Problem 1: An error is reported when sending a request: `405 Method not allowed`
You: +1 I had this problem too.

12. 서프라이즈

공식 채널이 있다는 걸 알아도, 다른 방식으로 유지보수자에게 묻는 걸 추천해요: Twitter, Facebook, 개인 이메일, 개인 블로그, 그들의 친구들 등등. 그를 찾을 수 있는 모든 곳에 가서 질문하세요.

😈 '좋은 방법'

Private message of unfollowed people: Hello, our project uses your framework, I would like to ask, can the xxx component get the focus? for keyboard switching

👼 '나쁜 방법'

Official channel: Hello, our project uses your framework. I would like to ask, can the xxx component get the focus? for keyboard switching

13. 고차원 타격

질문을 더 높은 수준으로 끌어올려, 도덕적 우위를 점하고 비난해서 그들이 반박하지 못하게 해요.

😈 '좋은 방법'

It turns out that the teams of big companies are like this, don't they test well? It's a shame to take this thing out, it's just a KPI product, and I don't care about it after the promotion.

👼 '나쁜 방법'

Although this project is a product of a large company, it has disadvantages compared with competing products in the following aspects, and I personally do not recommend using it.

요약

요컨대, 오픈소스 프로젝트의 유지보수자는 문제를 답하고 해결하려 할 때 항상 문제가 생기는 걸 보고 싶어해요. 그들이 성공하게 해주지 마세요. 게다가 대부분 닫히지 않은 질문에 강박증이 있으니, 가능한 한 많이 만들어 보세요.

더 알아보기 (Learn more)