程序員的這些笑話,你都看得懂嗎?
先上兩張圖,如果兩張圖你都沒看懂,自己先面壁思過三分鐘,然后接著往下看!
世界上有兩種人,一種是左邊那種,一種是右邊那種,是程序員都懂的!
隨機(jī)數(shù)生成函數(shù),因為這個數(shù)字4是程序員投骰子得到的,所以保證了其隨機(jī)性!
A : Make me a sandwitch.
B : Fuck off
A : Sudo make me a sandwitch
B : With cheese or without cheese?
譯文:
A:給我一個三明治
B:滾
A:sudo 給我一個三明治
B:要不要放奶酪?
(PS:linux中使用sudo表示以root權(quán)限執(zhí)行命令)
I know this great UDP joke but you might not get it.
譯文:
我知道一個關(guān)于UDP的很好笑的笑話,不過你可能聽不到!
(PS:UDP是不可靠傳輸,所以我講的這個笑話你不一定收的到)
3 Database Admins walked into a NoSQL bar. A little while later they walked out because they couldn’t find a table.
譯文:
3個數(shù)據(jù)庫管理員進(jìn)了NoSQL酒吧,不一會他們就都出來了,因為他們找不到桌子(table)!
(PS:NoSQL是非關(guān)系型數(shù)據(jù)庫,沒有Table這個概念)
A TCP packet walks into a bar and says to the bartender, “I’d like a beer.” The bartender says, “You’d like a beer?” The TCP packet says, “Yes, a beer.”
譯文:一個TCP包走進(jìn)一家酒吧,對服務(wù)員說:“給我來瓶啤酒”。服務(wù)員說:“你要來瓶啤酒?“。TCP包說:”是的,來瓶啤酒”。
(PS:TCP通信需要先完成三次握手)
Programmer’s girlfriend: “Are you going to sit and type in front of that thing all day or are you going out with me?”
Programmer: “Yes.”譯文:
程序員的女朋友:“你是要整天坐在電腦面前唧唧歪歪的敲敲打打,還是和我一起出去走走?”
程序員:“嗯”。
(PS:好冷?。。?/p>
Q: How do you explain the movie Inception to a programmer?
A: Basically, when you run a VM inside another VM, inside another VM, inside another VM…, everything runs real slow!譯文:
Q:你怎么跟一個程序員解釋《盜夢空間》這部電影?
A:我會這么跟他解釋:當(dāng)你在一個A虛擬機(jī)上運行另一個虛擬機(jī)B,然后在B虛擬機(jī)里面再運行虛擬機(jī)C,再在C虛擬機(jī)里面運行虛擬機(jī)D….那么一切都TMD變得很慢很慢很慢!
Q: How many software engineers does it take to change a light bulb?
A: None. It’s a hardware problem.譯文:
Q:修一個燈泡要多少個軟件工程師?
A:一個都不用,因為這是硬件問題。
So a programmer has a problem and decides to try writing a regular expression to solve it. Now he has two problems.
譯文:
一個程序員遇到了一個問題,于是他決定用正則表達(dá)式去解決這個問題。恩,現(xiàn)在他有兩個問題需要解決了。
最后是一張圖,體會一下苦逼的程序員!