From 220.181.57.217: icmp_seq=5 Redirect Network(New nexthop: 220.181.57.217)
64 bytes from 220.181.57.217: icmp_seq=5 ttl=53 time=69.6 ms
From 220.181.57.217: icmp_seq=6 Redirect Network(New nexthop: 220.181.57.217)
64 bytes from 220.181.57.217: icmp_seq=6 ttl=53 time=70.6 ms
From 220.181.57.217: icmp_seq=7 Redirect Network(New nexthop: 220.181.57.217)
64 bytes from 220.181.57.217: icmp_seq=7 ttl=53 time=55.4 ms
From 220.181.57.217: icmp_seq=8 Redirect Network(New nexthop: 220.181.57.217)
64 bytes from 220.181.57.217: icmp_seq=8 ttl=53 time=59.7 ms
位置分配(Location-allocation):多个相邻的连锁店如何保证覆盖面最大,重叠面积最小?即,给定具有权重的 N 候选设施点和 M 请求点,可选择设施点的子集 P,从而使每个 M 到最近的 P 之间的加权距离总和最短。这属于 N 选 P 的组合问题,解空间极大。无法通过检验所有组合获得最优解。
Steve Jobs's Stanford commencement address, a short talk that he gave in 2005 and which went viral after his death in 2011, is, in many ways, the ne plus ultra of Jobsian wisdom. It encapsulated his thoughts on life, love and death. It expressed his lifelong philosophy and motivation. And it ends with a moving tribute to Brand and what he calls "an amazing publication called the Whole Earth Catalog", which he describes as "one of the bibles of my generation". It's worth quoting the rest of it in full: "It was created by a fellow named Stewart Brand not far from here in Menlo Park, and he brought it to life with his poetic touch. This was in the late 1960s, before personal computers and desktop publishing, so it was all made with typewriters, scissors, and Polaroid cameras. It was sort of like Google in paperback form, 35 years before Google came along: it was idealistic, and overflowing with neat tools and great notions.
"Well sonny boy, if you don't read, you start eating marijuana. When you eat marijuana, you get hepatitis X. Hepatitis X is like Hepatitis B except 10X stronger. When you get Hepatitis X, your private parts fall off and you start developing a taste for the band Limb Bizkit. Your hairs starts growing frosted tips, your hat turns itself backwards and your shirt will say "obey." If you don't read, you turn into a douchey dude bro. And nobody likes a douchy dude bro.
Jack Voth, Algenol’s information technology chief, stumbled on something odd: a telnet connection to its videoconference camera from an Internet Protocol address in China
Hacking attacks come from many countries, he says, but most are efforts to steal credit-card information. Chinese hackers, by contrast, tend to target trade secrets and unique technology.
Algenol executives did not know that Aliyun was the cloud computing part of Alibaba, and they never tried to make contact.
Alibaba said that two former Algenol employees had signed up for an Alibaba marketing e-mail. Once they left Algenol and the marketing e-mails bounced back, Alibaba said that its own security system checked on the accounts and that Algenol mistook those inquiries as attacks.
Voth, however, is not convinced. He disputed Alibaba’s explanation about the marketing e-mails to employees who left Algenol four years ago, and said that to mistake an Alibaba security response for an attack would mean that there was a flaw with the widely used firewall language called Snort, which is updated constantly.
He said that since Jan. 1, each of 539 IP addresses has attacked Algenol computers 5,000 times or more.
The largest numbers of hacking probes came from the United States, China, Taiwan and Russia, he added. The single IP address that has attacked Algenol the most is a German address; the top Chinese IP address attacking Algenol ranked 10th.
Voth said the fight to protect Algenol’s computer system would be a long one. “A rule of thumb is that you have security by obscurity,” Voth said. “We’d rather have a low profile. But clearly the bad guys have our addresses.”
People get confused; companies get confused. When they start getting bigger, they want to replicate their initial success. And a lot of them think, ‘Well, somehow, there’s some magic in the process of how that success was created.’ So they start to institutionalize process across the company. And before very long, people start to get confused that the process is the content. And that’s ultimately the downfall of IBM. IBM has the best process people in the world. They just forgot about the content. And that happened a little bit at Apple, too. We had a lot of people who were great at management process. They just didn’t have a clue about the content. In my career, I found that the best people are the ones that really understand the content. And they’re a pain in the butt to manage! But you put up with it because they’re so great at the content. And that’s what makes great products. It’s not process, it’s content.
The charming story of cheerful Italian immigrants who build a completely legitimate olive oil importing business, and live long, happy lives pursuing the American dream.
0x0001 means transaction ID. Invent one as you like
0x0100 Flag. Always this for all requests
0x0001 number of requests: always 1. because DNS RFC sucks
0x0000 Response: 0
0x0000 Authority Response: 0
0x0000 Additional Response: 0
\6 reddit The string reddit has length of 6
\3 com The string com has length of 3
0x0001 Record Type: A
0x0001: Class: IN. Always this.
then ping the last four bytes
$ ping 0x60.0x11.0xb4.0x89
PING 0x60.0x11.0xb4.0x89 (96.17.180.137) 56(84) bytes of data.
Why DNS Resource Record Name is always C0 0C?
It's compression.
C00C = 11000000 00001100
First two bits means it's a pointer, b1100 = 12 bytes offset.
很早就知道这部神片,知道最近才在avfun上看了。记录一下影响最深的一句话,就是 Michel 准备逃下山却被喊住回去,然后被抓到地下室的情节:
Let me ask you something. Why don't people trust their instincts?
They sense something is wrong, someone is walking too close behind them. You knew something was wrong. But you came back into the house.
Did I force you? Did I drag you in? No. All I had to do was offer you a drink.
It's hard to believe that the fear of offending can be stronger than the fear of pain, but you know what? it is.
And they always come willingly. And then they sit there. They know it's all over, just like you do.
But somehow, they still think they have a chance.
"Maybe if I say the right thing. Maybe if I'm polite. If I cry, if I beg."
And when I see the hope draining from their face like it is from yours right now I can feel myself getting hard.
from itertools import permutations
n = 8 # number of bitches
cols = range(n)
for vec in permutations(cols):
if n == len(set(vec[i]+i for i in cols)) \
== len(set(vec[i]-i for i in cols)):
print ("\n".join('.' * i + 'Q' + '.' * (n-i-1) for i in vec) + "\n===\n")
Every voice can be heard cheaply and instantly. The result? Every voice is heard. The cacophany more closely resembles citizens band radio, complete with handles, harrasment, and anonymous threats. When most everyone shouts, few listen.
for k, v in proc_env.iteritems():
nv = os.path.expandvars(v)
if isinstance(v, unicode):
import locale
nv = nv.encode(locale.getdefaultlocale()[1])
proc_env[k] = nv
Tipping was a custom invented by employers as a way to justify paying lower wages. Basically employers can say I don't need to give you a living wage because you can depend on the customers for charity.
Also don't forget it places pressure on the rest of society who require taxis as part of the transportation network. Next time that single mother in the rain is late for her 900rmb a month job can't get the taxi because the group of rich foreigners is more likely to tip.