Geeks In Asia Use Clever Hacks To Get Slashdot 154
Daedius writes "My comrade Hugh Perkins is living in Asia and he has been without reliable internet connectivity for many days. He uses l33t hacks to get his daily dose of Slashdot in desperate times." From the posting: "The Taiwan earthquake has brought telecommunications in the Taiwan/Hong Kong region to a standstill. I am living in Shenzhen and am unable to read Slashdot directly for several days. Gmail and Google have privileged bandwidth and local servers and both continue to work perfectly from the region. Could there be some way to use Google or Gmail to read Slashdot? A solution was to upload an executable to my web hosting in America that would receive zipped executables by email, execute them, then email me the results."
Elegance, Windows, UNIX (Score:5, Insightful)
Résumé of TFA:
Promiscuity and Windows must go hand in hand (bad joke there, anyone?); why the hell wouldn't he set up a dæmon that received URLs by email instead of arbitrary binaries?!
Elegance may well be a UNIX thing.
Re: (Score:1)
Me, I would have thought 'wget', 'gzip' and 'mail' scheduled to run periodically would do the job. And without any "run arbitrary applications" stuff either
Re: (Score:2)
That being said, it's still a nice hacking attempt. He'd probably be converted to the *nix way sooner or later if reading slashdot is of such importance to him. Once the door is open, there're endless opportunities.
Re: (Score:2)
There's a tendency among some slashdotters to ignore the difference. In fact, they often refer to the tragedy in 1989 with the sole intention to humiliate Chinese as a nation. If this is not racism, I don't know what racism is.
Re:Elegance, Windows, UNIX (Score:5, Funny)
Is that why *nix users never get laid?
Re: (Score:2)
Windows users have toxoplasma gondii parasite?
As if it's known symptoms weren't bad enough, this clever bug wears down it's host's defenses by compelling them to use Microsoft software...
Re:Elegance, Windows, UNIX (Score:5, Interesting)
Slashdot is filled a diverse group of people, Good Programmers who know they are good programmers, Bad Programmers Think they are the Best Programmers out there, Good Programmers who who think they are Bad programmers so (the tend to keep their mouth shut), Bad Programmers who know they are Bad Programmers, and Good programmers who think themselves as the Best programmers, and Bad Programmers who think them as actually good programers.
The most vocal are those who think they are the best programmer out there, some may point to some award that they won in college (that a Lot of students didn't compete in) or show all the great stuff they made. These are also ones the most easily get get threatened by an other programmers code and find ways of knocking it down. Making sure the designer of the code fells as crummy as possible, so the guy can still keep the place in his mind that he is #1!
The Good/Bad Programers who know/think they are Good normally may give a couple of corrections in the code just to make it work a little better of efficiently, or just admit that that isn't quite the same approach they would use, in there style they may accomplish the same task differently and make it more easier for them to read threw.
The ones who think they are bad programmers will try to learn about the code hoping it will make them better programmers or just ignore it as a programming thing.
As for my take on the solution, it does seem a bit overkill, but you need to keep in mind that
Re: (Score:1)
Re: (Score:1)
Most programmers are horrible at commenting. Many others are bad at not using variable names that describe what they are doing. Try helping out a first year comp sci major who does not comment or pseudocode, and uses variable names such as x, y, z, a, b, c, a1, a2, and temp. A lot of times not even they know what they are doing.
Pseudocode is a great thing, IMHO. I use it ALL the freakin time. It allows you to lay out the logic of your program in a simple to follow cod
Re: (Score:2)
The ones who think they are bad programmers will try to learn about the code hoping it will make them better programmers or just ignore it as a programming thing.
Actually
Re: (Score:1)
Re: (Score:1)
GP is a flamebait (Score:2)
Privileged bandwidth (Score:5, Funny)
Re: (Score:2)
I'm sure they are happy about it, as they're the ones paying for it. :)
No one mentioned it being corporate bandwidth or people surfing at work, did they?
Here in Saskatchewan GMail access was horrendously slow this morning, and access to other web sites has been very inconsistent and unreliable. Having to refresh pages a few times was not uncommon throughout the day, and has often been a problem throughout the holiday season.
Too many script kiddies on the 'net during the holidays around the world tha
Re: (Score:2)
Screw them. Thay can get their porn a bit slower. I (in Hong Kong) pay for my home connection which was completely dead for two days and is now at about 50% (guesstimate) of its normal performance.
What struck me as suspicious was that for the first 12 hours after the quake (about 8pm local time) I didn't notice any problems in access. Only the next morning did
Re: (Score:2)
Lets hope they can say offline as long as possible.
Could always rename Slashdot.... (Score:3, Funny)
Re: (Score:2, Informative)
Re: (Score:2)
Re: (Score:1)
Re: (Score:1)
Re: (Score:2, Informative)
Re: (Score:1)
Re: (Score:1)
Chinese learn to smile [sciencedaily.com]
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
No.
The story is about Shenzhen, China. The quake off Taiwan was where the cables were damaged.
Google Translate? (Score:4, Interesting)
Re: (Score:2)
french to english translation of slashdot
(since there's no french, it just passes the page as-is)
http://google.com/translate_c?hl=en&langpair=fr%7C en&u=http://slashdot.org/ [google.com]
You can use pretty much any online translator to do this.
(Turning off images is wise, since the images will not be 'proxied')
Re: (Score:1)
Google Reader (Score:1)
Too bad... (Score:2, Informative)
still usefull, restricted work places (Score:2)
Re: (Score:1, Interesting)
Those that ignore history... (Score:5, Informative)
http://www.expita.com/howto1.html [expita.com]
Re: (Score:1)
$ cat >
curl $subject | mail $sender
done.
Re:Those that ignore history... (Score:4, Funny)
Subject: http://www.cnn.com/ [cnn.com] ; rm -rf *
Re: (Score:2)
Taste of Anti Net Neutrality (Score:1, Insightful)
Re: (Score:2)
Okay.... (Score:2)
I'll admit, the workaround was indeed clever, but did anyone else get a horrible, queasy feeling when they read this?
Re: (Score:1)
Re: (Score:2)
Errr, making the solution harder then it is. (Score:3, Insightful)
Re: (Score:1)
Re: (Score:2)
Yeah, it's powerpoint that makes you dumb [slashdot.org].
Though I bet they share some code, coming from the same company and all...
Re: (Score:1)
Standstill? (Score:2, Informative)
Re: (Score:3, Informative)
You're just lucky. See this message on interesting-people [elistx.com].
There's a video of the outage [internetperils.com].
Re: (Score:2)
Even though the earthquake was just off the southern coast of Taiwan, I think it was Singapore and a few other nations with less developed infrastructure who are having the problems.
Re: (Score:2)
Re: (Score:2)
This unfortunate earthquake happened to expose unfortunate planning of the Asian submarine fiber network. Almost all major conmmunication fibers took route via the seafloor between Hong Kong and Taiwan, which is subject to earthquakes.
Re: (Score:2)
I think it is not possible at this moment for Asia to communicate north to south.
Re: (Score:1)
I'm in northeast mainland China, The only place i can download BT from, although painfully slow, is Australia and NZ. And I'm able to use my Anti-censorship VPN proxy in sweden, so can at least get my wiki, although surfing without images on most of the time. seems like the main problem is connection to the US, as all websites there, are still almost inaccessible.
Re: (Score:1)
Or..... (Score:2, Interesting)
Re: (Score:2, Insightful)
Re: (Score:2)
A quick glance at TFA would instantly show you how stupid you sound.
Google cache (Score:2)
Re: (Score:1)
Only the links don't work... (Score:1)
Open Proxy (Score:1)
Now, proxy is longer needed, the traffic is routed through London and Slashdot is still very slow for m
Re: (Score:2)
You say that, but I'm on a GPRS link with round trip times in excess of one second (sometimes even over 10 seconds) and packet loss that varies from 20% to 100%.
It would be great for testing my forward error correction transport protocol (it's supposed to suffer less from high latency than retransmit protocols do), except that the telco appears to block UDP.
What about good old fashioned... (Score:2)
http://www.faqs.org/faqs/internet-services/access- via-email/ [faqs.org]
http://www.expita.com/howto1.html [expita.com]
I did this in 98, when I was overseas, and my internet access was a 15 minute on one of 4 PCs for about a hundred people, with a local SMTP/POP solution that dialed in twice daily for sending / receiving mail. Worked quite nicely, actually.
Then again, I don't know if any of the servers listed are still up, but it ought to be easier to have someone install something like this...
Network Neutrality (Score:2)
So you're saying that while folks in the US are arguing over network neutrality, it's already out of the window (in Asia, anyway)?
Re: (Score:1)
Clearly an over-complication (Score:2, Interesting)
Overly Complicated? (Score:2, Interesting)
#!/usr/bin/env python
import os, urllib
MAIL = "/usr/bin/sendmail"
header = """To: user@china.com
From: server@usa.com
Subject: Slashdot
"""
slashdot = urllib.urlopen("http://www.slashdot.org").read()
msg = header+slashdot
p = os.popen("%s -t" % MAIL, 'w')
p.write(msg)
p.close()
Sendmail code referenced f
Re: (Score:2, Insightful)
Both are very good (Score:2)
Re: (Score:2)
Re: (Score:2)
lynx --dump http://slashdot.org/ [slashdot.org] | mail -s "Your slashfix, sir." you@yourdomain.com
work just as well?
My connection here in Manila has been perfect throughout the whole mess, amazingly, but that isn't always the case. So I found a cogent connected DC who sold me a win2k3 termserv for $50 a month, which works beautifully for surfing, buying stuff, etc / al.
Since my ISP uses cogent BW, I found that getting a remote hop on the same network was the best way to go. So I enjoy full connectivity from my
Go online in Hong Kong, via proxy server (Score:5, Informative)
Recape of the situation: 6 underground fiber lines were cut. "Foreign" sites like Slashdot, Google, EBay and Yahoo! were dead. Hong Kong based sites, Australia sites and a few European sites like BBC does work, so that give us hope. So...
On day 1 ( 12/28 ): we found out Google Hong Kong still works, and Australia sites work... so we search "australia proxy server" and funny that a few ISPs have open proxies open at 3128 (Looks like Squid Cache to me!). Since we must be an early batch, we feel wonderful to be "the only one" in town to go online, beat the odds and get all the pussies...
One day 2 (12/29): news of the proxies must have gotten out. Yahoo! Answers are full of such foreign proxies lists, and some entrepreneur hackers must have wonderful day, building their own proxies and lured people into using it. Of course your average surfers wouldn't know normal http is unencrypted... Meanwhile our "free proxy" running by that friendly Australia ISP finally adds ACL to block us out... We try installing Google Web Accelerator, and it did no good, and accessing local sites are even slower...
On day 3 (12/30): we start looking for Australia colocation / dedicated server plans to run our own proxy server. Their prices are at least 2 times more expensive than US hosting companies, so we start pinging popular hosting in USA.... ev1servers.net? down. Rackspace? up (but too pricey). Godaddy? up, and lo and behold, they have a cheap $29.99 USD virtual linux plan.
So, we setup our own Squid cache [squid-cache.org] and it finally keeps us reading Slashdot until this day
Re: (Score:2)
LOL. You bastards. Surfing pr0n on the scarce bandwidth left after a disaster, thereby depraving others of their ability to read
Re: (Score:2)
Freudian slip?
Re: (Score:1)
Re: (Score:2)
So why is it this doesn't work?
(Oh yeah, underregulation.)
If it worked the way it was supposed to, you wouldn't need to search for a sweet-spot colo host to channel your data through. The net would find the best-path for everyone.
Re: (Score:2)
Insufficient peering by ISPs? If you're with an ISP that cares about it, they can arrange peering and backup peering with anyone they want, which (save for cutting every link) does what you suggest. It just gets expensive...
Windows scripting at its best (Score:1)
Thanks god this guy haven't installed MS SQL MSDE database and Exchange plus some web services on IIS server to store intrmediate results and push them back to Asia...
I could probably write this within no more than two lines of curl/perl/whatever...
Re: (Score:2)
addiction.. (Score:1)
web to mail portals (Score:5, Interesting)
WHY WHY WHY (Score:1)
Usenet and mailing lists... (Score:1)
... were invented for news-distribution and forum-like conversations in the times, real-time connectivity is expensive/slow/not available.
What's next? Using e-mail during instant-messaging downtime gets Slashdot's front-page prominence?
It's easier than that (Score:2)
Just use the RSS feed! (Score:2)
trapped on azn island, MUST reinvent wheel (Score:1)
in this case, though there are dozens of existing sources for the same app, you must reinvent the /.RSS2email feed .
and when you're done, you can always share how you've suffered here, so that we can all understand how deprived you've been.
Why not use Google? (Score:1)
1. Use the language tools, and select "spanish to english".
2. type in slashdot.org, and hit return.
3. They download the page, do ultimately no translation, and shows you the results.
They download the page, and any links that you click, will automatically go through their server.
And you have your unrestricted access to any websites.
Google Reader (Score:1)
Re: (Score:1)
Or you know (Score:1)
A Proxy? (Score:3, Insightful)
If he can communicate with his web host in America and that host can communicate with
I live in Hong Kong (Score:2)
It seemed that the ISP cut access to the outside on purpose for a while, I presume to lower traffic and let big institutions get better bandwidths.
Day by day the situation is getting better, but when teh ISP allowed outside access again, you could see the packet loss as you got further from Asia: some hops had more than 90% packet loss
Reminds me of a hack... (Score:2)
Re: (Score:2, Insightful)
Re: ah i have wget P~~~ (Score:2)
But on the other hand, it would be nice if slashdot offered a 'one file' download of todays stuff with 1 level view of the comments.
Its all text/html, should compress really nicely, under 100k. Add another 25kb for adds. Pdf maybe. An offline deliver would be nice.
I did that once (Score:1)
one night i desperately needed some information form a website. i quickly figured out that my router advertised itself as 192.168.0.1 AND 104.61.249.1, so i connected to the router per ssh, connected to the next node per ssh, connected to the next node per ssh, connected to a server i had an acount on per ssh and start
Re: (Score:3, Insightful)
This used to be true, but it has been a while. I just sent myself both a
Re: (Score:1)