text
stringlengths
1
330k
Actually, the US is twice as efficient at GDP/ton of GHG, about the same as Canada, Australia, and Finland.
That's because a whole lot of that 15 trillion GDP is produced on Wall Street, Redmond and Hollywood - non tangible goods. As the GP said, per inhabitant USA produce far far more CO2 than China, and a CO2 tax would absolutely cripple US manufacturing and exports.
Comment: Embryo (Score 2) 323
by Stellian (#47121373) Attached to: 'Curiosity' Lead Engineer Suggests Printing Humans On Other Planets
Comment: Re:I got tired of waiting (Score 5, Insightful) 213
by Stellian (#47106613) Attached to: PHP Next Generation
JS on the server is clearly big contender for PHP: it's great for quick and dirty prototyping, awful for large projects, and significantly faster than PHP.
JS is the perfect recipe for language lock-in that's even stronger than PHP: front end developers already "know" it, they write a botched version of the backend code that 10 years later turns into an incomprehensible behemoth; any attempt to rewrite it will be rejected for "performance" reasons.
Comment: Re:Duh... (Score 1) 265
by Stellian (#47064459) Attached to: IT Pro Gets Prison Time For Sabotaging Ex-Employer's System
Anyone in IT that might be disgruntled?
What you need to expect in a case like this (assuming you can pull the perfect crime, technically speaking, and leave no digital tracks) is be prepared to face the most vicious face of law enforcement. The officers will know you did it, but they will have no proof, so they will push you to the extreme, for months or years, until they get a confession. They will ransack your home, multiple times, harass your employers and loved ones, etc. All in all, not a good side project for a geek with no soft skills.
I mean, if you can pull the perfect cybercrime and resist the best prosecutors in town, then why not hack into City Bank and transfer a billion dollars to some nice old lady in Russia ? Surely a billion dollars is better than some momentary satisfaction. You can even set aside 500 million for the purpose of bankrupting your ex employer.
Comment: Re:Cue "freedom" NRA nuts in 3.. 2.. 1... (Score 1) 274
by Stellian (#46952783) Attached to: First Arrest In Japan For 3D-Printed Guns
Because guns don't kill people. People with guns kill people
2 hundred times lower, actually. You can point all you want at countries like Canada and Norway but the truth is the much lower GINI and higher equality of these countries produces an overall violence level that US can only dream of. Still, they are at the same order of magnitude to US at gun violence (when adjusted for ownership rates) debunking the "cultural factor" hypothesis (Bowling for Columbine, etc.)
The dominant factors for a country's violence level are gun availability and inequality: unequal countries with lots of guns, like US, some African and some South-American countries have significantly more homicides, and by significant I mean statistically significant at the > 99.99% confidence level and pretty much an established scientific fact.
Comment: Re:It's a government contract job. (Score 1) 288
by Stellian (#46876653) Attached to: Decommissioning Nuclear Plants Costing Far More Than Expected
With respect, the state can go straight to hell. Spent fuel storage is a national emergency, not a political issue.
Than the nation should pay for it. Every affected state should bid for storage in the Yucca mountain repository, and if it reaches a reserve set by Nevada, they can use it. All proceeds go to Nevadians, after expenses. If no one is willing to pay what Nevada is asking, then no one is allowed to store their shit in Nevada.
What you are proposing is that the Government can step right it, declare your backyard a nuclear waste repo and all their industry lobyist can dump toxic shit there because it's "a national emergency". As a staunch nuclear proponent, you can go straight to hell.
MS-DOS must die!
Briton Broady into round two
• Last Updated: June 23 2014, 20:50 BST
Naomi Broady bucked the trend of British frustrations at Wimbledon by claiming a first-round victory over Hungarian Timea Babos.
Naomi Broady celebrates her victory over Babos
Naomi Broady celebrates her victory over Babos
The 24-year-old Brit fended off a fast start from the world number 94 to eventually ease home 2-6 7-6 (9/7) 6-0.
Broady's win lifted British spirits on the opening day of Wimbledon after first-round exits for Johanna Konta, Dan Cox and James Ward.
Broady has moved into the world's top 200 this year - she is currently just below her career-high at 164 in the WTA list - but had looked up against it against a player ranked 70 places higher.
The Briton was two points defeat in the second-set tie-break but took it on her fourth set point.
Having missed her chance, Babos seemed demoralised and, playing some impressive tennis, Broady dominated the decider to book her place in round two where she will face either former world number one Caroline Wozniacki or Shahar Peer.
Broady was famously stripped of LTA funding after posting a raunchy picture of herself on a social-networking site when a teenager and has gone it alone in the tennis world since.
"This time last year I was lucky enough to get a wild card into the qualifying for Wimbledon," said Broady, who ground down Babos 2-6 7-6 (9/7) 6-0.
"But the week before that, I was researching how to become an au pair, and I was going for Paris.
"I was looking at doing first-aid courses, language courses, to become an au pair because I couldn't afford to play tennis.
"Last year I won a round through qualifying and that gave me enough money for the next few tournaments.
"I didn't want to stop at all: I've played some of the French money tournaments, to fund the national tournaments.
"It was literally to the point where I've won the tournament, cashed the cheque, bought my ticket and flown off to the next competition the next day.
"Finally wins started coming, and the difference a year can make is amazing: if you keep going, you never know when it's going to switch."
Dan Evans, Kyle Edmund, Dan Cox, James Ward and Johanna Konta all failed to advance to the second round, leaving just Broady and Murray progressing of the Brits in action on Monday.
Broady admitted her £43,000 second-round windfall will fund the best part of another year's professional tennis.
Unfazed by adverse reaction to that Facebook fuss seven years ago, Broady did admit she hopes the LTA will not try to muscle in on her new-found success.
"It quite went over my head, the whole incident, it happened and I still to this day don't particularly see what was the big deal," she said.
"It was just a stupid, jokey pose that looked horrible: it's not really disrupted my tennis other than financially.
"I don't think they (the LTA) will try and take credit for it. I think it's pretty clear I've been the only person at every practice session for the past few years.
"I'm the only one that's been there every single day. I'll laugh in someone's face if they try and say it was them.
"It's definitely made me hungrier: if I don't win, I don't have any money."
Broady toasted victory by hoisting young niece Lola Rose in front of the Court 16 crowd.
"She has just turned five," said Broady.
"We are very close: she let me give her kisses today. Normally she wipes them off, but I was allowed to give them today."
Take the 2-minute tour ×
I have a perl script that sends mail out to a mailing list.
On my old dedicated server, it worked fine, and sent one email per second basically. I recently switched to a new dedicated server, with about the same specs, and it's going extremely slow, about one mail every 30 seconds. I set up a test script to watch what part takes the longest:
open(MAIL,"| /usr/sbin/sendmail -tv -d8.7 $recipient_email");
print MAIL <<EOF;
From:Test Sender <$sender>
Justw ant to see how long this takes
The -d8.7 there is a debug option that lets me watch the output of the script. I will paste that here, there are 3 spots which both hang for too long, I will mark them here:
dns_getcanonname(receiving_server.com, trymx=1)
dns_getcanonname: trying receiving_server.com. (A)
5 second delay here YES
dns_getcanonname: receiving_server.com
getmxrr([], droplocalhost=1)
andrew@receiving_server.com... Connecting to [] via relay...
220 my_server.com ESMTP Sendmail 8.13.8/8.13.8; Fri, 18 May 2012 06:55:04 +0200
>>> EHLO localhost.localdomain
250-my_server.com Hello localhost.localdomain [], pleased to meet you
250 HELP
>>> MAIL From:<root@localhost.localdomain> SIZE=115
10 second delay here
250 2.1.0 <root@localhost.localdomain>... Sender ok
>>> RCPT To:<andrew@receiving_server.com>
>>> DATA
5 second delay here
250 2.1.5 <andrew@receiving_server.com>... Recipient ok
>>> .
250 2.0.0 q4I4t4Lu014501 Message accepted for delivery
andrew@receiving_server.com... Sent (q4I4t4Lu014501 Message accepted for delivery)
Closing connection to []
>>> QUIT
221 2.0.0 my_server.com closing connection
As far as I can tell, my /etc/hosts and /etc/resolv.conf seem fine, and these are the only things that Google suggests might be broken, anyone have any ideas?
share|improve this question
1 Answer 1
It looks like
1. Delay to resolve name via DNS
2. Recipient check by remote SMTP server
3. Sender check by remote SMTP server
Is the remote server the same as before? Do you have any visibility of that server?
Have you run tcpdump on that interface to see if there is any protocol activity during the gaps? Try this (as root) -
# tcpdump -vvv -w output.pcap -i eth0 'port not 22'
This will capture all traffic except your SSH session traffic and output to the file 'output.pcap'.
I don't suppose there's any chance you've moved to an IP that is on a blacklist somewhere? Sites like the following can help you find out -
share|improve this answer
This is the same across multiple different remote SMTP servers - Gmail, Hotmail, a bunch of university servers, all of them have the same delay on step 2. Also the DNS delay seems to happen no matter what DNS servers I put in (my providers, or ones I have on another server). I have to figure out the tcpdump thing, I'm not very good at sysadminning, I'll look that up, thanks! –  Cocorico May 18 '12 at 5:40
No problem! I'll put a command in the answer for tcpdump. –  Andrew H May 18 '12 at 5:44
Also, it would be interesting to know how quickly 'dig g.co' returns on your server - it's a dns lookup which will use the servers in /etc/resolv.conf. –  Andrew H May 18 '12 at 5:49