開源日報 每天推薦一個 GitHub 優質開源項目和一篇精選英文科技或編程文章原文,堅持閱讀《開源日報》,保持每日學習的好習慣。
今日推薦開源項目:《惡龍之死 deadlockempire.github.io》
今日推薦英文原文:《6 Programming Jokes That Will Make You LOL》

今日推薦開源項目:《惡龍之死 deadlockempire.github.io》傳送門:項目鏈接
推薦理由:對於那些單線程任務來說,死鎖似乎只是個虛無縹緲的概念。但是一旦線程多了起來,死鎖就可能會變成邪惡的龍擋在所有線程面前。這個項目使用一些代碼小遊戲來展示如何擊倒這頭惡龍,從簡單的共享變數+條件判定開始,逐步變為更加複雜的邏輯,讓初次接觸死鎖的初學者也能更好理解如何解決這類問題。
今日推薦英文原文:《6 Programming Jokes That Will Make You LOL》作者:Varun Joshi
原文鏈接:https://levelup.gitconnected.com/6-programming-jokes-that-will-make-you-lol-131b8cae4dc5
推薦理由:無內鬼,來點編程笑話

6 Programming Jokes That Will Make You LOL

We all like jokes that are cracked at the expense of someone else』s code.

Developers are usually very quiet and introverted. We take a bunch of 『tickets』 and convert them into code while being seated at our desk all day. Strange, innit?

If you』re not a developer and here to check what developers find funny, you』re going to be disappointed. It』s not that we don』t like jokes, we just like a certain level of nerdiness in our jokes.

If you』re a programmer worth your salt (heh!), you』re going to love this collection of programming jokes below. These are sourced from around the internet & intended to make your week a little bearable.

Note: A lot of the best programming jokes on the Internet come from xkcd. This webcomic was created by Randall Munroe in 2005. The comic』s tagline describes it as 「A webcomic of romance, sarcasm, math, and language」. Munroe states on the comic』s website that the name of the comic is not an initialism, but 「just a word with no phonetic pronunciation」.

Let』s start:

1. Tech Support

The worst nightmare for any developer is to contact customer support for an internet problem. The customer service agents sometimes (I』m being polite, read ALWAYS) fail to understand that restarting computers does not always work. Well, we』re developers and understand how these things work, so a lot of the time we know how to fix the problem, provided you connect us to a fellow developer.

SHIBBOLEET: I』m going to try it the next time I call any customer support service. I wish, someday, it comes true.

2. MVP

Making an MVP is all about trying to create a list of features (when actually all you do is create a list of bugs) while heading towards the launch date. Solve a couple of king-sized bugs and forget about the rest (if only it were that simple).

3. Wisdom of the Ancients

One of the only things I hate about StackOverflow is questions that have been unanswered or with answers that bash the person with the question about how stupid the question is! Just answer it, Genius!

I once was in this situation where I came across a problem and found absolutely nothing on the web. Even StackOverflow had a question with no upvotes or answers but with 6.7k views.

What did I do? I』ll admit I tried for exactly 32 hours and rewrote my code.

4. Still Worthy

The feeling you get when you spend all-day fixing bugs and get to compile your code successfully at the end. The satisfaction is unparalleled.

5. Turtles

Life is simple. The turtle lives on thinking & believing in only one true fact, the fact that it is a turtle. Humans tend to overthink and complicate things which is why we probably don't live as long as turtles do.

6. Slacking Off

Code takes time to compile & deploy. Programmers can do nothing productive while a build is in progress. But I wish I could have sword fights like this at work. Presenting the best & most honest xkcd comic of all time!


To be honest, I am writing this as my code compiles and deploys.

I now realise that 4 of the 6 hilarious jokes are xkcd. Randall Munroe is a genius!

Bonus

It's not a bug, its a feature 🙂

下載開源日報APP:https://openingsource.org/2579/
加入我們:https://openingsource.org/about/join/
關注我們:https://openingsource.org/about/love/