mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-29 21:41:00 +08:00
82 lines
4.1 KiB
Markdown
82 lines
4.1 KiB
Markdown
|
[#]: collector: (lujun9972)
|
|||
|
[#]: translator: ( )
|
|||
|
[#]: reviewer: ( )
|
|||
|
[#]: publisher: ( )
|
|||
|
[#]: subject: (F-Words in Linux Kernel Code Replaced with "Hug"?)
|
|||
|
[#]: via: (https://itsfoss.com/swear-words-linux-kernel/)
|
|||
|
[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
|
|||
|
[#]: url: ( )
|
|||
|
|
|||
|
F-Words in Linux Kernel Code Replaced with "Hug"?
|
|||
|
======
|
|||
|
|
|||
|
**Brief: To comply with the new code of conduct, a developer from Intel proposes to replace F-words in the Linux kernel code with “hug”.**
|
|||
|
|
|||
|
![Polite Linus Torvalds after Code of Conduct][1]
|
|||
|
|
|||
|
Change is in air for the Linux Kernel Community.
|
|||
|
|
|||
|
Ever since the introduction of the [Linux code of conduct][2], things are going in a ‘polite direction’.
|
|||
|
|
|||
|
To refresh your memory, a few months back a new code of conduct was introduced for the Linux kernel developers. This code of conduct asks the developers to be nice and welcoming to other developers and be more open to diversity.
|
|||
|
|
|||
|
The new code of conduct caused a huge controversy as many Linux users and developers saw it as a conspiracy by Social Justice Warriors (SJW) to infiltrate Linux. The rumors were especially boosted by the [controversial past of the Contributor Covenant creator Coraline Ada Ehmke][2]. The Linux code of conduct is based on the same Contributor Covenant.
|
|||
|
|
|||
|
Right after signing the new code of conduct, Linux creator [Linus Torvalds took a month-long break to improve his behavior][3].
|
|||
|
|
|||
|
Torvalds who is known for being ruthless against poor code is a changed man now. After [coming back from the break][4], Torvalds controlled his rage and instead of lashing out against a developer, he replied nicely and pointed his mistake in a polite way.
|
|||
|
|
|||
|
### No more F-words in the Linux Kernel code?
|
|||
|
|
|||
|
There have been F-words in the Linux kernel code. To be clear, these F-words are in the code comments, not in the actual code.
|
|||
|
|
|||
|
You might expect that there will be way too many F-words in the 15+ millions of lines of Linux kernel code but that’s not the case.
|
|||
|
|
|||
|
Jarkko Sakkinen from Intel pushed [these patches][5] that replace the F-words 33 times in the 3.3 million lines of code comments.
|
|||
|
|
|||
|
Interestingly, the patch email is titled “ **Zero ****s, hugload of hugs <3**“:
|
|||
|
|
|||
|
> In order to comply with the CoC, replace 选题模板.txt 中文排版指北.md core.md Dict.md lctt2014.md lctt2016.md lctt2018.md LCTT翻译规范.md LICENSE published README.md scripts sources translated with a hug.
|
|||
|
|
|||
|
So now comments have become:
|
|||
|
|
|||
|
* Only Sun can take such nice parts and **hug** up the programming interface like this
|
|||
|
* IOC3 is **hugging** **hugged** beyond belief
|
|||
|
* **Hug** , we are miserable poor guys…
|
|||
|
|
|||
|
|
|||
|
|
|||
|
### Do you give a ‘hug’ about these changes?
|
|||
|
|
|||
|
At this point, it’s not clear if this ‘hugging’ patch has been accepted or not. It’s more of an attempt to bring attention to profanity inside the kernel code.
|
|||
|
|
|||
|
So, we have to wait and watch if this patch sets a trend for removing offensive words from the Linux kernel code.
|
|||
|
|
|||
|
What do you think of it? Is using ‘hug’ a good choice or do you have a better word for replacing the F-words?
|
|||
|
|
|||
|
And what do you think of these changes altogether. Do you think all these are unnecessary and futile exercises?
|
|||
|
|
|||
|
And when you comment, please replace your F-words with hugs :)
|
|||
|
|
|||
|
Story source: [Phoronix][6]
|
|||
|
|
|||
|
--------------------------------------------------------------------------------
|
|||
|
|
|||
|
via: https://itsfoss.com/swear-words-linux-kernel/
|
|||
|
|
|||
|
作者:[Abhishek Prakash][a]
|
|||
|
选题:[lujun9972][b]
|
|||
|
译者:[译者ID](https://github.com/译者ID)
|
|||
|
校对:[校对者ID](https://github.com/校对者ID)
|
|||
|
|
|||
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
|||
|
|
|||
|
[a]: https://itsfoss.com/author/abhishek/
|
|||
|
[b]: https://github.com/lujun9972
|
|||
|
[1]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2018/12/hug-you-linus-torvalds.jpeg?resize=800%2C450&ssl=1
|
|||
|
[2]: https://itsfoss.com/linux-code-of-conduct/
|
|||
|
[3]: https://itsfoss.com/torvalds-takes-a-break-from-linux/
|
|||
|
[4]: https://itsfoss.com/torvalds-is-back/
|
|||
|
[5]: https://lists.freedesktop.org/archives/dri-devel/2018-November/198581.html
|
|||
|
[6]: https://www.phoronix.com/scan.php?page=news_item&px=Linux-Kernel-Hugs
|