text:
Shutting down a city, for dummies
Most of the readers must have seen 'For dummies' books in a book shop. 'For Dummies' is an extensive series of instructional/reference books, which are intended to present non-intimidating guides for readers new to the various topics covered. Despite the title, their publisher has taken great pains to emphasize that the For Dummies books are not literally for dummies. The series has been a worldwide success with editions in numerous languages.
I have a feeling that I am well qualified to write a book, which can be most appropriately named as: "Shutting down a city; for Dummies," having successfully survived spells of "Haze" that engulf island city of Singapore once in a while. Those of the readers, who still do not believe in my qualifications may as well read my previous blogposts on the subject: 'Hazed out in Singapore' and 'A smoke screen.'
The situation in Singapore was particularly bad in the month of June 2013. Haze is just air pollution and is also measured by Pollutant Standard Index or PSI. If PSI remains below 50, the air is considered normal and healthy. For PSI values around 100, one starts noticing it and above 300 it is called hazardous with any outdoor activity considered risky. On 17th June 2013, PSI crossed 100 in Singapore. Since this happens every year, people were not much worried. But this year it turned out to be exceptionally bad. PSI went within two days to 350 level and then above 400. At this value of PSI, the advice is to stay indoors.
I still remember those hopeless stuffy days when I was forced to stay indoors for 3 or 4 days with PSI hitting 400. The general feeling was as if someone is choking you all the time. Surgical masks sold at a premium in Singapore on those days. The usually bustling city just shut down. The roads became devoid of traffic and pedestrians, with everyone preferring to stay indoors.
The Singapore haze and city shut down was caused by Indonesian palm growers across Malacca straits, trying to light fires to burn foliage growing on their lands. Since the land on which they grow their palm trees have peat layers just below surface, the fires when lighted, continue to burn till rains can extinguish it. Though Singapore people had no hand in this calamity brought over to them by winds, there are other cities in the world, which bring upon a smog on themselves with resultant shutdowns.
In the city of Harbin, , the gritty capital of northeastern Heilongjiang province and home to some 11 million people, heavy smog with a PM 2.5 index (used to measure the amount of particulate matter smaller than 2.5 micrometres in the air,) exceeding 500 micrograms per cubic meter, descended on the downtown area on morning of October 21, 2013, with Cars and buildings barely visible in the smog that had shrouded Harbin. This Choking smog all but shut down Harbin, one of northeastern China's largest cities on Monday, forcing schools to suspend classes, snarling traffic and closing the airport, in the country's first major air pollution crisis of the winter. By afternoon on same day, the PM2.5 index reached a reading of 1,000 in some parts of Harbin. Visibility was reportedly reduced to 10 meters.
According to Xinhua News Agency, the highest red alert was issued for heavy smog in several cities in Heilongjiang province on this day as it was the second day of heavy smog. Local media say that this alarming pollution level has been caused by the city switching on its public heating system for winter. All of Heilongjiang province's highways, bus services and the Taiping International Airport in Harbin were forced to close.
China's capital Beijing is ill famous for its smog and pollution. Last winter, Beijing suffered its own worst smog emergency, when the PM2.5 surpassed 900 on one particularly bad day in January. Remembering that, one micro blogger, Backpacker Xiao, described Harbin as "today's dead city" and twitted on Sina Weibo:
"Beijing, you're no longer alone. You have us too now,"
Another micro blogger says:
"After years of effort, the wise and hard-working people of Harbin have finally managed to skip both the middle-class society and the communist society stages, and have now entered a fairyland society!"
Meanwhile, a student in Changchun, netizen Pen and Ink Silent, from Jilin district, posted the following tongue-in-cheek message:
"My mother called... and asked how the air in Changchun was, and if I was coughing. I feel ok, I should be able to live to see my graduation."
Another micro blogger from the same district, MaltzZz says:
"We were all late for class today because we couldn't find the academic building,"
For China's stability-obsessed leadership, Air quality in Chinese cities is an issue of increasing concern as it just boosts the popular resentment over political privilege and rising inequality in China.
Domestic media have already run stories how Government officials enjoy in their homes expensive air purifiers and how special organic farms supply vegetables to communist party cadres so that they need not risk suffering from recurring food safety scandals. The government has announced plans over the years to tackle the pollution problem but has made little apparent progress.
In Singapore, the haze was caused by Indonesian palm tree growers, in China the smog is caused by fuel burning to heat the city. In both cases the reasons behind the pollution are different yet both are man made. The reasons may be differing but the result is precisely the same. Nevertheless, you can see how easy it is, to shut down a city, even dummies can do it.
Labels: China, city close down, Harbin, Haze, high pollution index, Indonesian peat land fires, PM 2.5 index, Singapore
Mhaskar October 23, 2013 at 6:38 PM
Similar problems happened in Mexico City many years ago, and I remember that they installed many huge fans to blow away pollution! I wonder if Singapore can do the same thing and disperse the pollution away to sea, or better yet(?) back to Indonesia!


text:
Q: are blue ray disks the cheapest storage medium per Gb? The question is as simple as that really. Are bluray disks the cheapest storage medium per gb?
I am recording video which is using about 32gb per day.  So a month of that would be almost 1Tb. A year around 12tb.
I want to store at last a years worth with the possibility of more if needed.  To me it seems that cheap bluray disks world be the  cheapest solution.
But I wanted to get this confirmed.

A: Something to keep in mind:
A quick check of media prices shows BD-R disks for around $1 each--4 cents per GB.
Hard drives are easier to get a good measure of the price as pricewatch tracks them--2tb for $90.  That's 4.5 cents per GB.
The drives are reusable, the disks are not.  In either case you need some sort of redundancy anyway.

A: No, BluRay isn't the cheapest; tape is. M-Disc would be a better choice than BluRay.
A 10TB hard drive is less than 4¢ per GB, and has a reasonably fast access speed; also to be considered is ease of software backup and disk swapping. A 10TB HD >= 80 BDXLs, if you could write one disk in two hours (and come back to swap, label, put away; without error) that's a weeks work (24 hours/day).
It's much easier to install a drive, make a backup, uninstall the drive, and place it in a safe; than to swap all those disks. The write and read speeds are also much better, along with the convenience of having an entire backup on one disk, rather than having to figure out which set of BluRays holds the revision of the backup you wish to restore (or data you want to compare).
Huge capacity tape is also used for large capacity, but while the tape is relatively inexpensive the drives are not; small tapes (cheaper drives) lead to more swapping.
Media cost isn't the only cost. There's drive cost, convenience (time / effort), longevity (of drive and media, along with the format Standard) software availability / variety - all to be considered for the total cost.

redpajama_set_name: RedPajamaStackExchange


text:
Ericksen calls Senate majority budget 'disappointing'
Sen. Doug Ericksen, R-Ferndale, said the "get by" budget offered today by the Senate Ways and Means Committee chairman and Senate majority leader falls short of expectations he had coming into the 2012 legislative session
"It's disappointing in several ways," Ericksen said. "The most disappointing part for me is that changes to the structure and culture of state government are missing. By the majority leader's own admission, 'the underlying structural issue is not addressed.'
"We cannot continue to ignore the most important pathway to sustainable budgets in the future. We have to change how the state does business. We need to be innovative and creative and look for ways to cut costs and improve efficiencies. We have to focus on priorities."
Ericksen noted that the small amount of new revenue generated by economic activity since November, the December change in when the state sells unclaimed property, and the 2011 steps taken to prevent fraud and abuse in social services have unfortunately slowed change down once again.
"It is ironic that the $335 million saved from reforms enacted last year shored up the state's fiscal situation just enough for majority budget-writers to kick the problem down the road – again.
"In 2009, it was the one-time federal stimulus money that filled the holes. In 2010 it was the new taxes, which ended up being repealed by voters. Last year we made a little progress, but people have been counting on the promise to enact significant reforms in 2012. These reforms are missing in the majority's budget proposal. Like I said, it is very disappointing."
Ericksen said he will continue to work for structural changes until the final gavel falls on the 2012 session.
Another major sticking point in the budget for Ericksen is the $330 million K-12 apportionment payment that is pushed into the next biennium.
"This gimmick, very much like the infamous '25-month budget' from 1971, is apparently going to become a permanent fixture under the majority's plan," Ericksen said. "This is just going to create bigger problems in the future as the 'bow wave' caused by new spending commitments grows."
Other elements of the budget proposal that concern Ericksen are:
Bringing reserves down to a dangerously low level;
Anticipating $32 million in new revenue from increasing taxes; and
Transferring funds from dedicated accounts to the state general fund.
"Lack of structural reforms, gimmicks, fund transfers and depleting reserves just put us on course for another significant budget hole next biennium," Ericksen said.

redpajama_set_name: RedPajamaCommonCrawl


ETV EISS data , Ad insertion data (SCTE-35) , generic XML data, etc.
WebVTT data , Timed Text (TTML) data , CEA-708 data , etc.
employed for the track content.
Next message: bugzilla@jessica.w3.org: "[Bug 13361] New: Please put back in the <center> tag. I don't know if it was forgotten or what but it is unacceptable to tell coders to just go use CSS to center things. Thank you."
Previous message: bugzilla@jessica.w3.org: "[Bug 13358] New: An event is needed that signals a change in the track composition of a media resource."
Next in thread: bugzilla@jessica.w3.org: "[Bug 13359] An way is needed to identify the type of data in a track alement"
Reply: bugzilla@jessica.w3.org: "[Bug 13359] An way is needed to identify the type of data in a track alement"
Reply: bugzilla@jessica.w3.org: "[Bug 13359] An way is needed to identify the type of data in a track element"
Reply: bugzilla@jessica.w3.org: "[Bug 13359] A way is needed to identify the type of data in a track element"


Brian says He's wanted to be a Motivational Speaker for many years and if his debut on Stage in Las Vegas is an indication of things to come, Brian has a promising future!
Video was recorded by Watkins Manager Michelle Hurlburt, 19 Apr 2012 in Las Vegas.
If you'd like to have Brian Hurlburt speak for Your Group, or You'd like more information on Watkins, or Watkins Products, please contact Brian Hurlburt toll free at 877-822-8463.
This entry was posted in Awards and Accomplishments, Our Experiences, Training, Uncategorized, Watkins Leadership Conference and tagged Amp, Brian Hurlburt, Debut, Hurlburt, Information Products, Las Vegas, Motivational Speaker, Public Speaker, Uploaded, watkins, watkins products. Bookmark the permalink.
Fooduciary.com Is One Of My Favorite E-Publications!


text:
Q: How do you validate a URL with a regular expression in Python? I'm building an app on Google App Engine. I'm incredibly new to Python and have been beating my head against the following problem for the past 3 days.
I have a class to represent an RSS Feed and in this class I have a method called setUrl. Input to this method is a URL.
I'm trying to use the re python module to validate off of the RFC 3986 Reg-ex (http://www.ietf.org/rfc/rfc3986.txt)
Below is a snipped which should work?
p = re.compile('^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?')
m = p.match(url)
if m:
  self.url = url
  return url

A: urlparse quite happily takes invalid URLs, it is more a string string-splitting library than any kind of validator. For example:
from urlparse import urlparse
urlparse('http://----')
# returns: ParseResult(scheme='http', netloc='----', path='', params='', query='', fragment='')

Depending on the situation, this might be fine..
If you mostly trust the data, and just want to verify the protocol is HTTP, then urlparse is perfect.
If you want to make the URL is actually a legal URL, use the ridiculous regex
If you want to make sure it's a real web address,
import urllib
try:
    urllib.urlopen(url)
except IOError:
    print "Not a real URL"

A: http://pypi.python.org/pypi/rfc3987 gives regular expressions for consistency with the rules in RFC 3986 and RFC 3987 (that is, not with scheme-specific rules).
A regexp for IRI_reference is:
(?P<scheme>[a-zA-Z][a-zA-Z0-9+.-]*):(?://(?P<iauthority>(?:(?P<iuserinfo>(?:(?:[
a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U0002
0000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U
00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009ff
fd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U00
0dfffd\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9]?)))|(?:(?:[0-
9A-F]{1,4}:){,4}[0-9A-F]{1,4})?::(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]
|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|
(?:(?:[0-9A-F]{1,4}:){,5}[0-9A-F]{1,4})?::[0-9A-F]{1,4}|(?:(?:[0-9A-F]{1,4}:){,6
}[0-9A-F]{1,4})?::|v[0-9A-F]+\\.(?:[a-zA-Z0-9_.~-]|[!$&'()*+,;=]|:)+)\\]|(?:(?:(
?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][
0-9]?))|(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\
U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U000500
00-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00
090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd
\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=])*)(
?::(?P<port>[0-9]*))?)(?P<ipath>(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\uf
dcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\
U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007f
ffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U0
00bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-
F][0-9A-F]|[!$&'()*+,;=]|:|@)*)*)|(?P<ipath>/(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7
ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000
-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U0007
0000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U
000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000eff
fd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)+(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff
\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\
U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U000700
00-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U00
0b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd
])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)*)*)?)|(?P<ipath>(?:(?:[a-zA-Z0-9._~-]|[\
xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U
00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006ff
fd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U00
0afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-
\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)+(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa
0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00
030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd
\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000a
fffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U
000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)*)*)|(?P<ipath>))(?:\\?(?P<iquery
>(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U000
1fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\
U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U000900
00-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U00
0d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)|[\
ue000-\uf8ff\U000f0000-\U000ffffd\U00100000-\U0010fffd]|/|\\?)*))?(?:\\#(?P<ifra
gment>(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-
\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050
000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U0
0090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfff
d\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|
@)|/|\\?)*))?|(?:(?://(?P<iauthority>(?:(?P<iuserinfo>(?:(?:[a-zA-Z0-9._~-]|[\xa
0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00
030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd
\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000a
fffd\U000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?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:){,4}[0-
9A-F]{1,4})?::(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[
0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}
:){,5}[0-9A-F]{1,4})?::[0-9A-F]{1,4}|(?:(?:[0-9A-F]{1,4}:){,6}[0-9A-F]{1,4})?::|
v[0-9A-F]+\\.(?:[a-zA-Z0-9_.~-]|[!$&'()*+,;=]|:)+)\\]|(?:(?:(?:25[0-5]|2[0-4][0-
9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))|(?:(?:[a-zA
-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000
-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U0006
0000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U
000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dff
fd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=])*)(?::(?P<port>[0-9]*)
)?)(?P<ipath>(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U0
0010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fff
d\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U000
8fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\
U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*
+,;=]|:|@)*)*)|(?P<ipath>/(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufd
f0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U000400
00-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00
080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd
\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A
-F]|[!$&'()*+,;=]|:|@)+(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0
-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000
-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U0008
0000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U
000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F
]|[!$&'()*+,;=]|:|@)*)*)?)|(?P<ipath>(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\u
fdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd
\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007
fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U
000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A
-F][0-9A-F]|[!$&'()*+,;=]|@)+(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf
\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00
040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd
\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000b
fffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][
0-9A-F]|[!$&'()*+,;=]|:|@)*)*)|(?P<ipath>))(?:\\?(?P<iquery>(?:(?:(?:[a-zA-Z0-9.
_~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U000
2fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\
U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a00
00-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U00
0e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)|[\ue000-\uf8ff\U000f000
0-\U000ffffd\U00100000-\U0010fffd]|/|\\?)*))?(?:\\#(?P<ifragment>(?:(?:(?:[a-zA-
Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-
\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060
000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U0
00a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfff
d\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)|/|\\?)*))?)

In one line:
(?P<scheme>[a-zA-Z][a-zA-Z0-9+.-]*):(?://(?P<iauthority>(?:(?P<iuserinfo>(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:)*)@)?(?P<ihost>\\[(?:(?:[0-9A-F]{1,4}:){6}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|::(?:[0-9A-F]{1,4}:){5}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|[0-9A-F]{1,4}?::(?:[0-9A-F]{1,4}:){4}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:)?[0-9A-F]{1,4})?::(?:[0-9A-F]{1,4}:){3}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:){,2}[0-9A-F]{1,4})?::(?:[0-9A-F]{1,4}:){2}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:){,3}[0-9A-F]{1,4})?::(?:[0-9A-F]{1,4}:)(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:){,4}[0-9A-F]{1,4})?::(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:){,5}[0-9A-F]{1,4})?::[0-9A-F]{1,4}|(?:(?:[0-9A-F]{1,4}:){,6}[0-9A-F]{1,4})?::|v[0-9A-F]+\\.(?:[a-zA-Z0-9_.~-]|[!$&'()*+,;=]|:)+)\\]|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))|(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=])*)(?::(?P<port>[0-9]*))?)(?P<ipath>(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)*)*)|(?P<ipath>/(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)+(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)*)*)?)|(?P<ipath>(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)+(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)*)*)|(?P<ipath>))(?:\\?(?P<iquery>(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)|[\ue000-\uf8ff\U000f0000-\U000ffffd\U00100000-\U0010fffd]|/|\\?)*))?(?:\\#(?P<ifragment>(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)|/|\\?)*))?|(?:(?://(?P<iauthority>(?:(?P<iuserinfo>(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:)*)@)?(?P<ihost>\\[(?:(?:[0-9A-F]{1,4}:){6}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|::(?:[0-9A-F]{1,4}:){5}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|[0-9A-F]{1,4}?::(?:[0-9A-F]{1,4}:){4}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:)?[0-9A-F]{1,4})?::(?:[0-9A-F]{1,4}:){3}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:){,2}[0-9A-F]{1,4})?::(?:[0-9A-F]{1,4}:){2}(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:){,3}[0-9A-F]{1,4})?::(?:[0-9A-F]{1,4}:)(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:){,4}[0-9A-F]{1,4})?::(?:[0-9A-F]{1,4}:[0-9A-F]{1,4}|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))|(?:(?:[0-9A-F]{1,4}:){,5}[0-9A-F]{1,4})?::[0-9A-F]{1,4}|(?:(?:[0-9A-F]{1,4}:){,6}[0-9A-F]{1,4})?::|v[0-9A-F]+\\.(?:[a-zA-Z0-9_.~-]|[!$&'()*+,;=]|:)+)\\]|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))|(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=])*)(?::(?P<port>[0-9]*))?)(?P<ipath>(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)*)*)|(?P<ipath>/(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)+(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)*)*)?)|(?P<ipath>(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|@)+(?:/(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)*)*)|(?P<ipath>))(?:\\?(?P<iquery>(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)|[\ue000-\uf8ff\U000f0000-\U000ffffd\U00100000-\U0010fffd]|/|\\?)*))?(?:\\#(?P<ifragment>(?:(?:(?:[a-zA-Z0-9._~-]|[\xa0-\ud7ff\uf900-\ufdcf\ufdf0-\uffef\U00010000-\U0001fffd\U00020000-\U0002fffd\U00030000-\U0003fffd\U00040000-\U0004fffd\U00050000-\U0005fffd\U00060000-\U0006fffd\U00070000-\U0007fffd\U00080000-\U0008fffd\U00090000-\U0009fffd\U000a0000-\U000afffd\U000b0000-\U000bfffd\U000c0000-\U000cfffd\U000d0000-\U000dfffd\U000e1000-\U000efffd])|%[0-9A-F][0-9A-F]|[!$&'()*+,;=]|:|@)|/|\\?)*))?)

A: note - Lepl is no longer maintained or supported.
RFC 3696 defines "best practices" for URL validation - http://www.faqs.org/rfcs/rfc3696.html
The latest release of Lepl (a Python parser library) includes an implementation of RFC 3696.  You would use it something like:
from lepl.apps.rfc3696 import Email, HttpUrl

# compile the validators (do once at start of program)
valid_email = Email()
valid_http_url = HttpUrl()

# use the validators (as often as you like)
if valid_email(some_email):
    # email is ok
else:
    # email is bad
if valid_http_url(some_url):
    # url is ok
else:
    # url is bad

Although the validators are defined in Lepl, which is a recursive descent parser, they are largely compiled internally to regular expressions.  That combines the best of both worlds - a (relatively) easy to read definition that can be checked against RFC 3696 and an efficient implementation.  There's a post on my blog showing how this simplifies the parser - http://www.acooke.org/cute/LEPLOptimi0.html
Lepl is available at http://www.acooke.org/lepl and the RFC 3696 module is documented at http://www.acooke.org/lepl/rfc3696.html
This is completely new in this release, so may contain bugs.  Please contact me if you have any problems and I will fix them ASAP.  Thanks.

A: The regex provided should match any url of the form http://www.ietf.org/rfc/rfc3986.txt; and does when tested in the python interpreter.
What format have the URLs you've been having trouble parsing had?

A: I'm using the one used by Django and it seems to work pretty well:
def is_valid_url(url):
    import re
    regex = re.compile(
        r'^https?://'  # http:// or https://
        r'(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+[A-Z]{2,6}\.?|'  # domain...
        r'localhost|'  # localhost...
        r'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' # ...or ip
        r'(?::\d+)?'  # optional port
        r'(?:/?|[/?]\S+)$', re.IGNORECASE)
    return url is not None and regex.search(url)

You can always check the latest version here: https://github.com/django/django/blob/master/django/core/validators.py#L74

A: Here's the complete regexp to parse a URL.
(?:https?://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?)
\.)*(?:[a-zA-Z](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?))|(?:(?:\d+)(?:\.(?:\d
+)){3}))(?::(?:\d+))?)(?:/(?:(?:(?:(?:[a-zA-Z\d$\-_.+!*'(),]|(?:%[a-fA
-F\d]{2}))|[;:@&=])*)(?:/(?:(?:(?:[a-zA-Z\d$\-_.+!*'(),]|(?:%[a-fA-F\d
]{2}))|[;:@&=])*))*)(?:\?(?:(?:(?:[a-zA-Z\d$\-_.+!*'(),]|(?:%[a-fA-F\d
]{2}))|[;:@&=])*))?)?)|(?:s?ftp://(?:(?:(?:(?:(?:[a-zA-Z\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Dd]=(?:[1-9]\d*))(?:(?:/;[Ss][Ee][Cc][Tt][Ii][Oo
][Nn]=(?:(?:(?:[a-zA-Z\d$\-_.+!*'(),]|(?:%[a-fA-F\d]{2}))|[&=~:@/])+))
)?)))?)|(?:nfs:(?:(?://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a
-zA-Z\d])?)\.)*(?:[a-zA-Z](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?))|(?:(?:\d+
)(?:\.(?:\d+)){3}))(?::(?:\d+))?)(?:(?:/(?:(?:(?:(?:(?:[a-zA-Z\d\$\-_.
!~*'(),])|(?:%[a-fA-F\d]{2})|[:@&=+])*)(?:/(?:(?:(?:[a-zA-Z\d\$\-_.!~*
'(),])|(?:%[a-fA-F\d]{2})|[:@&=+])*))*)?)))?)|(?:/(?:(?:(?:(?:(?:[a-zA
-Z\d\$\-_.!~*'(),])|(?:%[a-fA-F\d]{2})|[:@&=+])*)(?:/(?:(?:(?:[a-zA-Z\
d\$\-_.!~*'(),])|(?:%[a-fA-F\d]{2})|[:@&=+])*))*)?))|(?:(?:(?:(?:(?:[a
-zA-Z\d\$\-_.!~*'(),])|(?:%[a-fA-F\d]{2})|[:@&=+])*)(?:/(?:(?:(?:[a-zA
-Z\d\$\-_.!~*'(),])|(?:%[a-fA-F\d]{2})|[:@&=+])*))*)?)))

Given its complexibility, I think you should go the urlparse way.
For completeness, here's the pseudo-BNF of the above regex (as a documentation):
; The generic form of a URL is:

genericurl     = scheme ":" schemepart

; Specific predefined schemes are defined here; new schemes
; may be registered with IANA

url            = httpurl | ftpurl | newsurl |
                 nntpurl | telneturl | gopherurl |
                 waisurl | mailtourl | fileurl |
                 prosperourl | otherurl

; new schemes follow the general syntax
otherurl       = genericurl

; the scheme is in lower case; interpreters should use case-ignore
scheme         = 1*[ lowalpha | digit | "+" | "-" | "." ]
schemepart     = *xchar | ip-schemepart

; URL schemeparts for ip based protocols:

ip-schemepart  = "//" login [ "/" urlpath ]

login          = [ user [ ":" password ] "@" ] hostport
hostport       = host [ ":" port ]
host           = hostname | hostnumber
hostname       = *[ domainlabel "." ] toplabel
domainlabel    = alphadigit | alphadigit *[ alphadigit | "-" ] alphadigit
toplabel       = alpha | alpha *[ alphadigit | "-" ] alphadigit
alphadigit     = alpha | digit
hostnumber     = digits "." digits "." digits "." digits
port           = digits
user           = *[ uchar | ";" | "?" | "&" | "=" ]
password       = *[ uchar | ";" | "?" | "&" | "=" ]
urlpath        = *xchar    ; depends on protocol see section 3.1

; The predefined schemes:

; FTP (see also RFC959)

ftpurl         = "ftp://" login [ "/" fpath [ ";type=" ftptype ]]
fpath          = fsegment *[ "/" fsegment ]
fsegment       = *[ uchar | "?" | ":" | "@" | "&" | "=" ]
ftptype        = "A" | "I" | "D" | "a" | "i" | "d"

; FILE

fileurl        = "file://" [ host | "localhost" ] "/" fpath

; HTTP

httpurl        = "http://" hostport [ "/" hpath [ "?" search ]]
hpath          = hsegment *[ "/" hsegment ]
hsegment       = *[ uchar | ";" | ":" | "@" | "&" | "=" ]
search         = *[ uchar | ";" | ":" | "@" | "&" | "=" ]

; GOPHER (see also RFC1436)

gopherurl      = "gopher://" hostport [ / [ gtype [ selector
                 [ "%09" search [ "%09" gopher+_string ] ] ] ] ]
gtype          = xchar
selector       = *xchar
gopher+_string = *xchar

; MAILTO (see also RFC822)

mailtourl      = "mailto:" encoded822addr
encoded822addr = 1*xchar               ; further defined in RFC822

; NEWS (see also RFC1036)

newsurl        = "news:" grouppart
grouppart      = "*" | group | article
group          = alpha *[ alpha | digit | "-" | "." | "+" | "_" ]
article        = 1*[ uchar | ";" | "/" | "?" | ":" | "&" | "=" ] "@" host

; NNTP (see also RFC977)

nntpurl        = "nntp://" hostport "/" group [ "/" digits ]

; TELNET

telneturl      = "telnet://" login [ "/" ]

; WAIS (see also RFC1625)

waisurl        = waisdatabase | waisindex | waisdoc
waisdatabase   = "wais://" hostport "/" database
waisindex      = "wais://" hostport "/" database "?" search
waisdoc        = "wais://" hostport "/" database "/" wtype "/" wpath
database       = *uchar
wtype          = *uchar
wpath          = *uchar

; PROSPERO

prosperourl    = "prospero://" hostport "/" ppath *[ fieldspec ]
ppath          = psegment *[ "/" psegment ]
psegment       = *[ uchar | "?" | ":" | "@" | "&" | "=" ]
fieldspec      = ";" fieldname "=" fieldvalue
fieldname      = *[ uchar | "?" | ":" | "@" | "&" ]
fieldvalue     = *[ uchar | "?" | ":" | "@" | "&" ]

; Miscellaneous definitions

lowalpha       = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" |
                 "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" |
                 "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" |
                 "y" | "z"
hialpha        = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" |
                 "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" |
                 "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"
alpha          = lowalpha | hialpha
digit          = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" |
                 "8" | "9"
safe           = "$" | "-" | "_" | "." | "+"
extra          = "!" | "*" | "'" | "(" | ")" | ","
national       = "{" | "}" | "|" | "\" | "^" | "~" | "[" | "]" | "`"
punctuation    = "" | "#" | "%" |

reserved       = ";" | "/" | "?" | ":" | "@" | "&" | "="
hex            = digit | "A" | "B" | "C" | "D" | "E" | "F" |
                 "a" | "b" | "c" | "d" | "e" | "f"
escape         = "%" hex hex

unreserved     = alpha | digit | safe | extra
uchar          = unreserved | escape
xchar          = unreserved | reserved | escape
digits         = 1*digit

A: I admit, I find your regular expression totally incomprehensible.  I wonder if you could use urlparse instead?  Something like:
pieces = urlparse.urlparse(url)
assert all([pieces.scheme, pieces.netloc])
assert set(pieces.netloc) <= set(string.letters + string.digits + '-.')  # and others?
assert pieces.scheme in ['http', 'https', 'ftp']  # etc.

It might be slower, and maybe you'll miss conditions, but it seems (to me) a lot easier to read and debug than a regular expression for URLs.

A: modified django url validation regex:
import re

ul = '\u00a1-\uffff'  # unicode letters range (must not be a raw string)

# IP patterns
ipv4_re = r'(?:25[0-5]|2[0-4]\d|[0-1]?\d?\d)(?:\.(?:25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}'
ipv6_re = r'\[[0-9a-f:\.]+\]'

# Host patterns
hostname_re = r'[a-z' + ul + r'0-9](?:[a-z' + ul + r'0-9-]{0,61}[a-z' + ul + r'0-9])?'
domain_re = r'(?:\.(?!-)[a-z' + ul + r'0-9-]{1,63}(?<!-))*' # domain names have max length of 63 characters
tld_re = (
    r'\.'                                # dot
    r'(?!-)'                             # can't start with a dash
    r'(?:[a-z' + ul + '-]{2,63}'         # domain label
    r'|xn--[a-z0-9]{1,59})'              # or punycode label
    r'(?<!-)'                            # can't end with a dash
    r'\.?'                               # may have a trailing dot
)
host_re = '(' + hostname_re + domain_re + tld_re + '|localhost)'

regex = re.compile(
    r'^(?:http|ftp)s?://' # http(s):// or ftp(s)://
    r'(?:\S+(?::\S*)?@)?'  # user:pass authentication
    r'(?:' + ipv4_re + '|' + ipv6_re + '|' + host_re + ')' # localhost or ip
    r'(?::\d{2,5})?'  # optional port
    r'(?:[/?#][^\s]*)?'  # resource path
    r'\Z', re.IGNORECASE)

source: https://github.com/django/django/blob/master/django/core/validators.py#L74

A: An easy way to parse (and validate) URL's is the urlparse (py2, py3) module.
A regex is too much work.

There's no "validate" method because almost anything is a valid URL.  There are some punctuation rules for splitting it up.  Absent any punctuation, you still have a valid URL.
Check the RFC carefully and see if you can construct an "invalid" URL.  The rules are very flexible.
For example ::::: is a valid URL.  The path is ":::::".  A pretty stupid filename, but a valid filename.
Also, ///// is a valid URL.  The netloc ("hostname") is "".  The path is "///".  Again, stupid.  Also valid.  This URL normalizes to "///" which is the equivalent.
Something like "bad://///worse/////" is perfectly valid.  Dumb but valid.
Bottom Line.  Parse it, and look at the pieces to see if they're displeasing in some way.
Do you want the scheme to always be "http"?  Do you want the netloc to always be "www.somename.somedomain"?  Do you want the path to look unix-like?  Or windows-like?  Do you want to remove the query string?  Or preserve it?
These are not RFC-specified validations.  These are validations unique to your application.

A: Nowadays, in 90% of case if you working with URL in Python you probably use python-requests. Hence the question here - why not reuse URL validation from requests?
from requests.models import PreparedRequest
import requests.exceptions

def check_url(url):
    prepared_request = PreparedRequest()
    try:
        prepared_request.prepare_url(url, None)
        return prepared_request.url
    except requests.exceptions.MissingSchema, e:
        raise SomeException

Features:

*

*Don't reinvent the wheel

*DRY

*Work offline

*Minimal resource

A: I've needed to do this many times over the years and always end up copying someone else's regular expression who has thought about it way more than I want to think about it.
Having said that, there is a regex in the Django forms code which should do the trick:
http://code.djangoproject.com/browser/django/trunk/django/forms/fields.py#L534

A: urlfinders = [
    re.compile("([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}|(((news|telnet|nttp|file|http|ftp|https)://)|(www|ftp)[-A-Za-z0-9]*\\.)[-A-Za-z0-9\\.]+)(:[0-9]*)?/[-A-Za-z0-9_\\$\\.\\+\\!\\*\\(\\),;:@&=\\?/~\\#\\%]*[^]'\\.}>\\),\\\"]"),
    re.compile("([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}|(((news|telnet|nttp|file|http|ftp|https)://)|(www|ftp)[-A-Za-z0-9]*\\.)[-A-Za-z0-9\\.]+)(:[0-9]*)?"),
    re.compile("(~/|/|\\./)([-A-Za-z0-9_\\$\\.\\+\\!\\*\\(\\),;:@&=\\?/~\\#\\%]|\\\\
)+"),
    re.compile("'\\<((mailto:)|)[-A-Za-z0-9\\.]+@[-A-Za-z0-9\\.]+"),
]

NOTE: As ugly as it looks in your browser just copy paste and the formatting should be good
Found at the python mailing lists and used for the gnome-terminal
source: http://mail.python.org/pipermail/python-list/2007-January/595436.html


text:
Bandai Namco Details Helpful Tips and Tricks for Jump Force
Feb 11, 2019 Jordan Biazzo
A few tips and tricks you'll want to take advantage of when playing Jump Force.
Jump Force is the latest fighting title to take the gaming community by storm, and with a lot of hype going into the release of the game later this week, Bandai Namco decided to release some helpful tips and tricks for the game.
Even though there were a couple of betas for fans to try out before the official release, the core gameplay of Jump Force was not extremely detailed. This new tips and tricks article will give users a little bit of an edge on their opponents come time the release of the game.
Check out the full list of tips and tricks for Jump Force down below:
Creating Your Team
Member Order
As the saying goes, you are only as good as your team. Each match is 3v3, so choose your three fighters wisely! Although each team consists of three members, keep in mind that the first character you choose will be your primary fighter. You will start the match with this character in play.
In slot two, we recommend selecting your best assist character. Since you can only call upon the next character to the one currently in play as your assist, the character in slot two will act as the assist for your primary fighter. For beginners, we recommend placing Vegeta in slot two, as he provides a powerful assist.
As a general rule of thumb, a balanced team is a good team. Try to balance your team with characters that have a variety of range and fighting types. For example, it's a good idea to have swordsman type fighters like Ichigo or Zoro, who generally have longer range attacks, as well as closer range fighters like Izuku Midoriya, on a team so that you can be prepared for whatever your opponent throws at you.
Ultimately, whether you're going for a more strategically balanced team, or just want to play with your favorites, there are endless possibilities that will no doubt result in some epic matches.
Much like in other fighting games, before each match begins there will be an introductory cut-scene in which the characters exchange dialogue. The beauty of Jump Force is that it brings your favorite characters together in the same universe, while staying true to each character's personality and idiosyncrasies. Unlike other fighting games, instead of using the same opening dialogue for each match, opening dialogue in Jump Force changes based on which two primary fighters are facing off. These unique interactions between characters add another layer of realism and excitement to the game.
Basics of Battle
Now that we have team-building taken care of, take a look at the graphic below to get a feel for the basic controls:
Rush Attacks
Rush attacks, while fast and effective, can only be performed a limited amount of time in row. The max amount of Rush attacks that can performed in a row varies for each character, with the max being seven times in a row.
Smash Attacks
Hold X or Y to charge your Smash or Heavy Smash attacks. If you fully charge a Smash or Heavy Smash, they become Full Power Smashes, which can break your opponent's guard. While charging a Smash, if you release X at the right moment, you can achieve a Perfect Smash. This will allow you to attack while moving for a moment.
Evasion Techniques
No time to move out of the way of an incoming attack? Press RB just as you're getting hit to perform a high-speed dodge. You can also press LB while being hit or guarding to perform an Escape. If you are hit while escaping, you will automatically move away.
If your opponent catches you in a throw, tap B to perform a Throw Evasion. A successful Throw Evasion allows you to cancel the throw and regain posture.
Perform a Rush attack to launch your opponent, then tilt the left thumbstick while pressing X or Y to Chase your opponent. You can tilt the Left thumbstick to change the direction of the Chase. Two chases will cancel each other out.
Area Changes
Ever get cornered by an opponent who isn't letting up? It happens to the best of us. If you're in a bit of a bind at the edge of a stage, hit your opponent with a full powered Smash or Heavy Smash attack. If executed correctly, you will trigger an Area Change attack, doing damage to your opponent while dramatically blasting them to a new area. Please note that your Awakening gauge needs to be at 50% or above to execute this maneuver.
Mind your Gauges!
Ability Gauge
Your Ability gauge is located under your Health gauge. The Ability gauge starts at 2 and fills up to a max of 5. Each character has their own unique set of abilities to use in combat, with each ability using up a certain amount of energy in your Ability gauge. The gauge will fill up during combat as you successfully land hits. To fill up your Ability gauge faster, hold RT to Focus. Keep in mind that you won't be able to attack or defend while Focusing, so watch your opponent carefully to determine the best time to focus.
Awakening Gauge
Pay attention to the gray outline around your character's icon. It will fill up yellow as you progress through the fight. When it is fully yellow, press the right thumb stick to perform an Awakening, which unlocks special attacks for you character. If you wait longer, the gauge will turn red. Press the right thumb stick when the gauge is red to perform a Full Awakening, unlocking even more powerful and flashy attacks!
Your Health and Abilities gauges are shared among the team
The Ability and Awakening gauges carry over between rounds
In related Jump Force news, Bandai Namco has released the official launch trailer of the highly anticipated title. Check out the full roster in action right here!
Jump Force is set to release for the PS4, Xbox One, and PC on February 15. Are you excited about the upcoming title? Let us know in the comments below!
Source: Xbox Wire


Following is a list of companies and vendors that service our community. If you have any suggestions for additional companies, please leave a comment at the bottom of the page! Please note that the companies listed are community recommendations and not endorsed by the Parkland Estates HOA.
Xfinity Internet is available in our neighborhood.
The new AT&T Fiber is available in our neighborhood.


UAB IT provides antivirus software for use by everyone at UAB, including your personal home systems.
Please note: Microsoft Forefront went end-of-life in July 2015.
For home use on Windows 7 and Vista, UAB IT recommends Microsoft Security Essentials be installed on your Windows system. If your computer is running Windows 7, Windows Defender only removes Spyware. To get rid of viruses and other malware, including spyware, on Windows 7, Windows and Vista, you should download Microsoft Security Essentials for free.
For home use on Windows 8, Windows Defender replaces Microsoft Security Essentials. You cannot use Microsft Security Essentials with Windows 8 or Windows RT, but you don't need to because Windows Defender already provides built-in protection. Learn more about using Windows Defender on Windows 8.
For Mac/OS X use Sophos Anti-virus. Please click here and login to select Sophos from the available titles. NOTE: Sophos has released a new version which is compatible with Mac OSX El Capitan. It is available at the UAB software download site.
UAB IT recommends that system administrators on campus use System Center Endpoint Protection (SCEP) for antivirus and malware protection for campus computers.
Management of the host-based Windows Firewall policy via the SCCM policy configuration interface, allowing for configuration of endpoint security as well as allowing or denying connections.
System Center Endpoint Protection 2012 provides a single, integrated platform that reduces overall IT management and operating costs.
Click here for instructions on deploying SCCM.
UAB IT's recommendation is to deploy the SCEP agent within System Center, along with the inventory agent. There are many other features you may turn on or block from use within SCCM.
For Mac/(OS x) use Sophos Anti-virus. Please click here and login to select Sophos from the available titles.


text:
Home	ABOMINATIONS	Will the Democratic Party Exist after 2020 Election
Will the Democratic Party Exist after 2020 Election
by Patrice de Bergeracpas October 14, 2019
Renee Parsons
Even before Rep. Tulsi Gabbard threatened to boycott the upcoming Dem debate as the DNC usurps the role of voters in the Democratic primacy 2020 election and with an impeachment inquiry against President Donald Trump on the table, the Swamp was stirred and its slimy muck may be about to come to the surface as never before. If so, those revelations are long overdue.
It is no secret to the observant that since the 2016 election, the Democratic Party has been in a state of near-collapse, the victim of its own hubris, having lost their moral compass with unsubstantiated Russisgate allegations; those accusations continue as a futile exercise of domestic regime change. Today's Dems are less than a bona fide opposition party offering zero policy solutions, unrecognizable from past glories and not the same political party many of us signed up for many years ago. Instead, the American public is witnessing a frenzied, unscrupulous strategy. desperate in the denial of its demise, confronting its own shadow of corruption as the Dems have morphed into a branch of the CIA – not unlike the origins of [an authoritarian regime's secret police].
It should not be necessary to say but in today's hyper volatile political climate it is: No American should be labelled as anything other than a loyal American to be deeply disturbed by the Democrat/CIA collusion that is currently operating an unprecedented Kangaroo Court in secret, behind closed doors; thus posing an ominous provocation to what remains of our Constitutional Republic.
As any politically savvy, independent thinking American might grasp, House Speaker Nancy Pelosi, Senate Minority Leader Chuck Schumer and their entire coterie of sycophants always knew that Russiagate was a crock of lies. They lied to their willing Democratic rank n file, they lied to American public and they continue to lie about their bogus Impeachment campaign.
It may be that whistleblower Ed Snowden's revelations about the NSA surveillance state was the first inkling for many Americans that there is a Big Problem with an out-of-control intelligence community until Senate Minority Leader Chuck Schumer warned that Trump was being 'really dumb" in daring to question Intel's faulty conclusion that Russia hacked the 2016 election.
"Let me tell you. You take on the intelligence community = they have six ways from Sunday at getting back at you."
Inescapably, Schumer was suggesting that the Congress has no oversight, that there is no accountability and that the US has lost its democratic roots when a newly elected President does not have the authority to question or publicly disagree with any of the Intel agencies.
Since the 2016 election, there has been a steady drumbeat of the US Intel's unabashed efforts to undermine and otherwise prevent a newly elected President from governing – which sounds like a clear case of insubordination or some might call it treasonous. The Intel antipathy does not appear to be rooted in cuts to a favorite social services program but rather protecting a power, financial and influence agenda that goes far deeper and more profound than most Americans care to contemplate.
Among a plethora of egregious corporate media reactions, no doubt stirred by their Intel masters, was to a July, 2018 summit meeting between Russian President Putin and Trump in Helsinki emblematic of illegitimate censures from Intel veterans and its cronies: "Trump sides with Putin over US Intelligence" CNN, "Did Trump Commit Treason at Putin Meeting?" Newsweek, and "Trump Slammed Over Disgrace, Disgusting Press Conference with Putin" Newsweek . Not one praised Trump for pursuing peace with Russia.
ABOVE: CIA/Democrat party stooge Stephen Colbert delivering his poisonous evaluation of the Trump-Putin meeting, And his clueless followers believe he's some kind of brave challenger of the establishment. Bright as he is, Colbert knows he's a sellout.
And yet, fellow Americans, it is curious to consider that there was no outrage after the 911 attacks in 2001 from any member of Congress, President Bush or the Corporate Media that the US intelligence community had utterly failed in its mission to keep the American public safe. There was no reckoning, not one person in authority was held accountable, not one person who had the responsibility to 'know' was fired from any of the Intel agencies. Why is that?
As a result of the corrupt foundation of the Russiagate allegations, Attorney General Bob Barr and Special Investigator John Durham appear hot on the trail with law enforcement in Italy as they have apparently scared the bejesus out of what little common sense remains among the Democratic hierarchy as if Barr/Durham might be headed for Obama's Oval Office. Barr's earlier comment before the Senate that "spying did occur' and that 'it's a big deal' when an incumbent administration (ie the Obama Administration) authorizes a counter-Intelligence operation on an opposing candidate (ie Donald Trump) has the Dems in panic-stricken overdrive – and that is what is driving the current Impeachment Inquiry.
With the stark realization that none of the DNC's favored top tier candidates has the mojo to go the distance, the Democrats have now focused on a July 25th phone call between Trump and Ukraine President Volodymyr Zelenskyy in which Trump allegedly 'pressured' Zelenskyy to investigate Joe Biden's relationship with Burisma, the country's largest natural gas provider.
At issue is any hanky panky involving Burisma payments to Rosemont Seneca Partners, an equity firm owned by Joe's errant son, Hunter, who served on Burisma's Board for a modest $50,000 a month. Zelenskyy, who defeated the US-endorsed incumbent President Petro Poroshenko in a landslide victory, speaks Russian , was elected to clean up corruption and end the conflict in eastern Ukraine. The war in the Donbass began as a result of the US State Department's role in the overthrow of democratically elected Ukrainian President Viktor Yanukovych in 2014.
Trump's first priority on July 25th was Crowd Strike, a cybersecurity firm with links to the HRC campaign which was hired by the DNC to investigate Russian hacking of its server. The Dems have reason to be concerned since it is worth contemplating why the FBI did not legally mandate that the DNC turn its server over to them for an official Federal forensic inspection. One can only speculate…those chickens may be coming home to roost.
Days after an anonymous whistleblower (not to be confused with a real whistleblower like Edward Snowden) later identified as a CIA analyst with a professional history linked to Joe Biden, publicly released a Complaint against Trump. House Speaker Nancy Pelosi announced the initiation of an ambiguous Impeachment Inquiry campaign with little specificity about the process. The Complaint is suspect since it reads more like a professionally prepared Affidavit and the Dems consider Pelosi's statement as sufficient to initiate a formal process that fails to follow the time-honored path of a full House vote predicating a legitimate impeachment inquiry on to the Judiciary Committee.
Of special interest is how the process to date is playing out with the House Intelligence Committee in a key role conducting what amounts to clandestine meetings, taking depositions and witness statements behind closed doors with a still secret unidentified whistleblower's identity and voice obscured from Republican members of the Intel Committee and a witness testifying without being formally sworn in – all too eerily similar to East Germany.
The pretense of shielding the thinly veiled CIA operative as a whistleblower from public exposure can only be seen as an overly-dramatic transparent performance as the Dems have never exhibited any concern about protecting real whistleblowers like Snowden, Chelsea Manning, Bill Binney, Thomas Drake, John Kiriakou, Julian Assange, Jeffrey Sterling and others who were left to fend for themselves as the Obama Administration prosecuted more true, authentic whistleblowers than any other administration since the Espionage Act of 1917.
As the paradigm shift takes its toll on the prevailing framework of reality and our decayed political institutions, (the FBI and DOJ come to mind as the Inspector General's report is due at week's end), how much longer does the Democratic Party, which no longer serves a useful public purpose, deserve to exist?
Democratic [Party] hypocrisy as if they were ever protective of whistleblowers
When is a whistleblower not a whistleblower? When he's a CIA operative.
Hunter Biden – scamming the system/ not unlike political class of neer do well
American people want to believe we are a nation of laws not subject to political shenanigans
There is nothing shocking in the transcript about national security that would prevent the American public from hearing the Intel Committee hearings. The fact is the Dems don't want you to hear the background; they want you to hear the 'facts' from Rachel Maddow.
Renee Parsons has been a member of the ACLU's Florida State Board of Directors and president of the ACLU Treasure Coast Chapter. She has been an elected public official in Colorado, an environmental lobbyist with Friends of the Earth and staff member of the US House of Representatives in Washington DC. She can be found on Twitter @reneedove31
ALL CAPTIONS AND PULL QUOTES BY THE EDITORS NOT THE AUTHORS
Keep truth and free speech alive by supporting this site.
Donate using the button below, or by scanning our QR code.
And before you leave
Comedian As Political Activist
Phony Progressives Follow Trump Lead on Venezuela
Opposing Beijing Olympics Human Rights Watch Echoes Anti-China Extremists &...
False Flags Suddenly No Longer A Crazy Conspiracy Theory[
WHY STUDY HISTORY? WHY IT MATTERS TO THE YANKEE POPULATION...
After Kazakhstan, the color revolution era is over
U.S. State Department Checklist: Starting A War With Russia


text:
July 8, 1853: Perry anchors U.S. ships in Edo Bay, the beginning of American Imperialism
History item: On July 8,1853 four black ships led by USS Powhatan and commanded by Commodore Matthew Perry, anchored at Edo (Tokyo) Bay. Never before had the Japanese seen ships steaming with smoke. They thought the ships were "giant dragons puffing smoke." They did not know that steamboats existed and were shocked by the number and size of the guns on board the ships.
President Millard Fillmore, defying H. L. Mencken's later, crabby, hoax claim of do-little-government, sent Matthew C. Perry to Japan to open Japan as a refuge for shipwrecked sailors, and as a coaling stop for steamships. For the previous 200 years, Japan had been closed to all but a few Dutch and Chinese traders. On July 8, 1853, Perry's small fleet sailed boldly into restricted waters of Japan and anchored.
Delivering the American presents to the Emperor of Japan, at Yokohama. A. O. P. Nicholson image, 1856 publication, "Narrative of the Expedition of an American Squadron to the China Seas and Japan" – artist not identified (Washington, A. O. P. Nicholson, 1856); Nimitz Museum, Annapolis. A list of the presents can be seen at a link near the end of this post; some of the gifts, such as the model of the steam engine, can be identified in this picture.
Perry told the Emperor he would return the following year for an answer. Perry returned on March 8, 1854, and within a month concluded the Convention of Kanagawa, opening Japan to trade from the west. Generally unheralded, this may have been one of the more important pieces of U.S. diplomacy in history, especially considering the dramatic rise of Japan as an economic and military power, on the basis of the trade Commodore Perry demanded Japan engage in.
Lesson plans and exercises from the U.S. Navy Museum, "Commodore Perry and the Opening of Japan"
MIT open course (free), Visualizing Cultures, which features a unit on the coming of the Black Ships (Perry's fleet) to Japan
"Commodore Perry's Expedition to Japan" – grifworld
Essay and documents, from Columbia University's East Asia Curriculum Project
Japanese woodblock print showing one of Perry's ships – Nagasaki Prefecture, via MIT
Documents below the fold
Letter from President Millard Fillmore to the Emperor of Japan:
(Text from the UCLA Center for East Asian Studies)
Letter from U.S. Pres. Millard Fillmore
Requesting a Japan – U.S. Agreement
In 1853, United States President Millard Fillmore sent Commodore Matthew C. Perry and four large warships to Japan to deliver this letter requesting that the Japanese permit American ships to resupply in Japan, that shipwrecked sailors receive assistance, and that the two countries discuss trade possibilities. The letter does not threaten assault on Japan, though the Tokugawa shogunate certainly understood the eagerness and determination of Western powers to gain access to Asian goods and markets.
GREAT AND GOOD FRIEND: I send you this public letter by Commodore Matthew C. Perry, an officer of the highest rank in the navy of the United States, and commander of the squadron now visiting Your imperial majesty's dominions.
I have directed Commodore Perry to assure your imperial majesty that I entertain the kindest feelings toward your majesty's person and government, and that I have no other object in sending him to Japan but to propose to your imperial majesty that the United States and Japan should live in friendship and have commercial intercourse with each other.
The Constitution and laws of the United States forbid all interference with the religious or political concerns of other nations. I have particularly charged Commodore Perry to abstain from every act which could possibly disturb the tranquility of your imperial majesty's dominions.
The United States of America reach from ocean to ocean, and our Territory of Oregon and State of California lie directly opposite to the dominions of your imperial majesty. Our steamships can go from California to Japan in eighteen days.
Our great State of California produces about sixty millions of dollars in gold every year, besides silver, quicksilver, precious stones, and many other valuable articles. Japan is also a rich and fertile country, and produces many very valuable articles. Your imperial majesty's subjects are skilled in many of the arts. I am desirous that our two countries should trade with each other, for the benefit both of Japan and the United States.
We know that the ancient laws of your imperial majesty's government do not allow of foreign trade, except with the Chinese and the Dutch; but as the state of the world changes and new governments are formed, it seems to be wise, from time to time, to make new laws. There was a time when the ancient laws of your imperial majesty's government were first made.
About the same time America, which is sometimes called the New World, was first discovered and settled by the Europeans. For a long time there were but a few people, and they were poor. They have now become quite numerous; their commerce is very extensive; and they think that if your imperial majesty were so far to change the ancient laws as to allow a free trade between the two countries it would be extremely beneficial to both.
If your imperial majesty is not satisfied that it would be safe altogether to abrogate the ancient laws which forbid foreign trade, they might be suspended for five or ten years, so as to try the experiment. If it does not prove as beneficial as was hoped, the ancient laws can be restored. The United States often limit their treaties with foreign States to a few years, and then renew them or not, as they please.
I have directed Commodore Perry to mention another thing to your imperial majesty. Many of our ships pass every year from California to China; and great numbers of our people pursue the whale fishery near the shores of Japan. It sometimes happens, in stormy weather, that one of our ships is wrecked on your imperial majesty's shores. In all such cases we ask, and expect, that our unfortunate people should be treated with kindness, and that their property should be protected, till we can send a vessel and bring them away. We are very much in earnest in this.
Commodore Perry is also directed by me to represent to your imperial majesty that we understand there is a great abundance of coal and provisions in the Empire of Japan. Our steamships, in crossing the great ocean, burn a great deal of coal, and it is not convenient to bring it all the way from America. We wish that our steamships and other vessels should be allowed to stop in Japan and supply themselves with coal, provisions, and water. They will pay for them in money, or anything else your imperial majesty's subjects may prefer; and we request your imperial majesty to appoint a convenient port, in the southern part of the Empire, where our vessels may stop for this purpose. We are very desirous of this.
These are the only objects for which I have sent Commodore Perry, with a powerful squadron, to pay a visit to your imperial majesty's renowned city of Yedo: friendship, commerce, a supply of coal and provisions, and protection for our shipwrecked people.
We have directed Commodore Perry to beg your imperial majesty's acceptance of a few presents. They are of no great value in themselves; but some of them may serve as specimens of the articles manufactured in the United States, and they are intended as tokens of our sincere and respectful friendship.
May the Almighty have your imperial majesty in His great and holy keeping!
In witness whereof, I have caused the great seal of the United States to be hereunto affixed, and have subscribed the same with my name, at the city of Washington, in America, the seat of my government, on the thirteenth day of the month of November, in the year one thousand eight hundred and fifty-two.
(Seal attached.)
Your good friend,
MILLARD FILLMORE							 EDWARD EVERETT,
[Ref.: U.S. Sen., 33rd, 2nd, Exec. Docs. #34 (1854-5), Vol. 6, pp. 9-11]
See the list of gifts to the Emperor, mentioned in the letter, here, with images.
Commodore Perry's account of the landing in 1854 (perhaps 1853?).
Edward Everett more interesting appearance in later history: Everett was the featured speaker at the dedication of the National Cemetery at Gettysburg, Pennsylvania, on November 17, 1863. Everett was scheduled to speak for about 2 hours, which he did. As an afterthought, the ceremony organizers invited the President, Abraham Lincoln. Lincoln was expected to speak at similar length, but instead spoke for just about two minutes. Have you ever seen or heard a copy of Everett's Gettysburg address? Lincoln's brief remarks are a monument in history.
This entry was posted on Thursday, July 8th, 2010 at 12:22 pm and is filed under Age of Imperialism, DBQ sources, Diplomacy, Explorers and Exploration, foreign affairs, History, Japan, Millard Fillmore, Trade, Travel.	You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
2 Responses to July 8, 1853: Perry anchors U.S. ships in Edo Bay, the beginning of American Imperialism
July 8, 1853: Perry anchors U.S. ships in Edo Bay, the beginning of American Imperialism 161 years ago | Millard Fillmore's Bathtub says:
[…] This is mostly an encore post. […]
Millard Fillmore's links to March 8: Hurrah! and R.I.P. | Millard Fillmore's Bathtub says:
[…] July 8, 1853: Perry anchors U.S. ships in Edo Bay, the beginnings of American imperialism (timpanogos.wordpress.com) […]
Please play nice in the Bathtub -- splash no soap in anyone's eyes. While your e-mail will not show with comments, note that it is our policy not to allow false e-mail addresses. Comments with non-working e-mail addresses may be deleted. Cancel reply


text:
The Falcons Crushed the Packers Again — NFL Week 2 Recap
Joe Student
Atlanta's win over Green Bay highlighted an active Week 2 of the 2017 NFL season. Here's a recap of the week's action:
The Falcons Are the NFC's Best Team
Not much has changed since January in the NFC. Matt Ryan threw for 252 yards and a touchdown, and the Atlanta Falcons beat the Green Bay Packers, 34-23, on Sunday night. Devonta Freeman ran for 84 yards and two touchdowns for Atlanta (2-0), which handily beat Green Bay (1-1) like they did in the NFC title game in January.
Aaron Rodgers threw for 343 yards with two scores and an interception by Desmond Trufant, who also returned Rodgers' fumble for a touchdown early in the second half to all but seal the win. Atlanta led 24-7 at halftime and 31-7 after the Truant score.
Julio Jones had five receptions for 108 yards for the Falcons, who proved that they are still the best team in the NFC. Dallas, Seattle, Carolina and Green Bay must get better to knock off the Falcons this postseason.
The Chiefs Look Super so Far
Rookie Kareem Hunt ran for 81 yards and two touchdowns and the Kansas City Chiefs outlasted the Philadelphia Eagles, 27-20, at home on Sunday. After the impressive Week 1 win over New England and Sunday's victory over a tough Philly squad, Kansas City (2-0) established itself as an early contender for Super Bowl 52.
With the game tied at 13, the Chiefs scored twice — Travis Kelce's 15-yard touchdown catch and Hunt's second scoring run — but quarterback Carson Wentz rallied Philadelphia (1-1), throwing a nine-yard TD pass to Nelson Agholor to draw the Eagles within seven points.
An ensuing onside kick worked for Philly, but a desperation pass into the end zone didn't. Former Eagles head coach Andy Reid beat his former assistant, Doug Pederson, in the very close game. Wentz had 333 yards passing and two touchdowns, but his lone interception helped Kansas City take the lead for good.
Tom Brady Rebounded Nicely Against the Saints Defense
Tom Brady threw for 436 yards, including 300 in the first half, as the New England Patriots easily defeated the New Orleans Saints, 36-20, on Sunday. Brady and New England (1-1) rebounded from an embarrassing opening night loss to Kansas City by victimizing the shabby defense of New Orleans (0-2).
Brady threw three touchdown passes in the first quarter, leading the Pats to 30 first-half points. Tight end Rob Gronkowski had six catches for 116 yards and a score, but he left the game in the second half with an injured groin. Drew Brees threw for 356 yards and two scores for the Saints, with much of it coming after the game was out of reach.
The Steelers Thumped the Sam Bradford-less Vikings
Le'Veon Bell ran for 87 yards and the Pittsburgh Steelers dumped the Minnesota Vikings, 26-9, on Sunday. Ben Roethlisberger added a pair of first-half touchdown passes for Pittsburgh (2-0), which benefited from the absence of injured quarterback Sam Bradford for Minnesota (1-1).
Backup QB Case Keenum started for the Vikings and he was nearly as bad as he was with the Rams in 2016. He finished with just 167 yards passing. The Steelers stout defense held Minnesota rookie running back Dalvin Cook to 64 yards on the ground.
The Vikes will need a healthy Bradford to contend, while Pittsburgh seems to be on track to another AFC North title.
The Chargers Lost on the Field & in the Stands
Cody Parkey kicked a 54-yard field goal — his fourth of the day — with 1:05 remaining, and the Miami Dolphins rallied past the Los Angeles Chargers, 19-17, on Sunday. Younghoe Koo once again missed a crucial late kick for Los Angeles (0-2), which played its first "home" game since relocating from San Diego in the off-season.
L.A. fans didn't turn out for the homecoming of the franchise that first called the city home in the AFL 56 years ago. The team had trouble filling its 27,000-seat stadium that will be a temporary home for the squad until the NFL's new venue is built in Inglewood, Calif.
Jay Cutler threw for 230 yards with a score for Miami (1-0), which opened its season a week late due to a game cancellation forced by Hurricane Irma. Dolphins' running back Jay Ajayi added 122 yards rushing.
Philip Rivers passed for 331 yards for the Chargers, including a scoring toss to Antonio Gates: his NFL-record 112th touchdown catch as a tight end. L.A. had a chance to win the game, but kicker Koo missed six days after having a game-tying attempt blocked in Denver on Monday.
Houston 13, Cincinnati 9
Sunday, Sept. 17
Arizona 16, Indianapolis 13 (OT)
Tennessee 37, Jacksonville 16
Baltimore 24, Cleveland 10
Carolina 9, Buffalo 3
Tampa Bay 29, Chicago 7
Denver 42, Dallas 17
Washington 27, L.A. Rams 20
Oakland 45, N.Y. Jets 20
Seattle 12, San Francisco 9
NFL Stats
Source: The Falcons Crushed the Packers Again — NFL Week 2 Recap
Filed Under: nfl
Categories: Articles, Sports


Right before the Thanksgiving holiday I headed over to the Granite Run Mall to check out a cool new exhibit for kids called the Dinosaurium. Many locals have heard of Dino Don who resides in the Media area with his dinosaurs. Now you can view his collection of Dinosaurs now on display at the mall.
This mini museum is located in the old New York and Company store located on the lower level, just a few steps from Santa. The space reminds me of a circus tent. The walls are painted bold colors and it actually made me feel like I wasn't in the mall at all.
Kids of all ages will love this exhibit, they get to see dinosaur bones up close. My daughters favorite part was Dino Dons Shootin Gallery. This reminded me of the games you play on the boardwalk or at a local carnival, when you take a nerf gun and short nerf darts at the dinosaurs. This was a huge hit with all the kids. They also had a separate area for kids to color and use dinosaur stamps.
Another part of the exhibit allowed kids to touch dinosaur fossils, and even dinosaur poop. My 5 year old was totally grossed out by this but the expression on her face was priceless. Another big hit with the kids was the sand pit where they could pretend to be a paleontologist and dig for dinosaur bones.
The dinosaur museum is a fun family friendly place to visit and the whole family will enjoy discovering and learning more about dinosaurs. Another exciting thing about this museum is it will continue to change periodically, over time, so the kids can go back again and discover something new.


text:
DC Universe Online Powers Up With 8th Game Update
– January 11, 2012Posted in: Video Games
WHAT: Every hero (and villain) needs a finely-tuned arsenal to succeed, and now DC Universe Online has just the right system! All DCUO players now have access to the all-new Research & Development (R&D) system. This new system allows players to create new and powerful items.
Research & Development brings Equipment Mods — a new type of item that will socket into players' existing gear to give them a stat and combat rating increase. Players can use different Equipment Mods to increase various stats, allowing them to further customize their gear to suit their needs. In addition, players will be allowed to make superior consumables that not only restore health and power, but also provide a stat buff.
Upon reaching level 10, players will be directed to their respective faction's R&D contact in the Watchtower or Hall of Doom for an introduction to the R&D system.R&D parts, Stations and Vendors can be found throughout the game so that no matter what players do, they will be able to make use of the new system.
There are four elements of this system, including:
Finding and Researching: Plans to create Equipment Mods to upgrade gear and consumables can be collected throughout the world.
Gathering: Throughout the open world (including Gotham City, Metropolis and Central City), players (1-30) can find exobytes and other items.
Salvaging: Players can turn unused, uncommon or rare items into crafting materials, and they can recover a rare item and create a useful piece of new equipment.
Collecting: Bosses will drop useful ingredients such as Focusing Elements and Plans throughout the game.
More details about the R&D system can be found here: DC Universe Online Research & Development.
WHEN: The Research & Development game update is now available as a free download for players at all three access levels: Free, Premium and Legendary.
DC Universe Online is licensed by Warner Bros. Interactive Entertainment on behalf of DC Entertainment. For more information about DC Universe Online, visit: www.DCUniverseOnline.com.
About DC Universe Online
Lex Luthor has traveled back through time with news of a dire future: While the heroes and villains spent years battling amongst themselves, Brainiac has been feeding on their powers, building strength to return to Earth and destroy humanity. To change the future, Lex has come back to set off a device that bestows super powers to thousands of every-day citizens and give humanity a fighting chance. Can Brainiac be stopped, or is this another nefarious Lex Luthor plot?
For the first time, players and fans will be able to enter the DC Universe as an active force for good or evil. A massively multiplayer experience, DC Universe Online delivers unparalleled high-energy, physics-powered combat that brings the player's extraordinary powers to life.
DC Universe Online was created in the artistic vision of legendary comic book artist Jim Lee, and set within a world created by famous DC writers including Geoff Johns and Marv Wolfman.
Rated T for Teen with Mild Blood, Mild Language, Mild Suggestive Themes and Violence, DC Universe Online is available for PC and PlayStation®3 computer entertainment system. DCUO Legendary access is available for a $14.99 monthly fee. For players of the PC version of the game, Legendary access to DCUO is included in the all-in-one SOE All Access subscription.
About SOE
Sony Online Entertainment LLC (SOE) is a recognized worldwide leader in massively multiplayer online games. Best known for its blockbuster hits and franchises, including EverQuest®, EverQuest® II, Champions of Norrath®, PlanetSide®, Free Realms®, Clone Wars Adventures™ and DC Universe™Online, SOE creates, develops and provides compelling online entertainment for a variety of platforms. SOE is building on its proven legacy and pioneering the future of online worlds through creative development and inspired gameplay design for audiences of all ages. To learn more, visit www.soe.com.
SOE, the SOE logo, EverQuest, Champions of Norrath, PlanetSide and Free Realms are registered trademarks of Sony Online Entertainment LLC. All other trademarks and trade names are properties of their respective owners. All rights reserved.
Warner Bros. Interactive Entertainment, a division of Warner Bros. Home Entertainment Group, is a premier worldwide publisher, developer, licensor and distributor of entertainment content for the interactive space across all current and future platforms, including console, handheld and PC-based gaming for both internal and third party game titles.
About DC Entertainment
DC Entertainment, home to iconic brands DC Comics (Superman, Batman, Green Lantern, Wonder Woman, The Flash, etc.), Vertigo (Sandman, Fables, etc.) and MAD, is the creative division charged with strategically integrating across Warner Bros. and Time Warner. DC Entertainment works in concert with many key Warner Bros. divisions to unleash its stories and characters across all media, including but not limited to film, television, consumer products, home entertainment, and interactive games. Publishing thousands of comic books, graphic novels and magazines each year, DC Entertainment is the largest English-language publisher of comics in the world.
DC UNIVERSE ONLINE RELEASES "FORTRESS OF SOLITUDE" GAME UPDATE
THE HOLIDAY SPIRIT HITS DC UNIVERSE ONLINE IN LATEST GAME UPDATE: SEASON'S GREEDINGS
DC Universe Online Game Is Now FREE
DC Universe Online Fight For The Light DLC Pack Announced For 09/06/11
The Flash Eighth Power Set Lightning Strikes For DCU Online Announced
Tags: dc, dc universe online, justice league, mattel, sony entertainment, warner brothers


Chinese website iFanr posted a video today in their Youtube channel showing how an iPhone 6 4.7 inch screen will feel in hand. Based on rumors and leaked panels, apple may release two variants of iPhone 6 with 4.7 inch screen and 5.5 inch screen size. Steve Jobs said once that your thumb must be able to comfortably reach all four corners of the phones screen and they never moved to bigger screen iPhone so far. But researchers believe that Apple will release a bigger screen iPhone this September 19th 2014 and it could be two variants that includes phablet iPhone 6 as well.
There is no official word from Apple yet about next iPhone, but rumor mill never rest just like before when it comes to iPhone. The above youtube video will show you how an iPhone 6 with 4.7 inch display screen size will fit in hand easily. I am using Moto X right now to experience 4.7 inch display and feels great except the weight. Not to worry that with iPhone 6 when it gets more lesser in weight compared to iPhone 5S.
This Hands on iPhone 6 video with leaked 4.7 inch screen size leaked panel is a good try to know how it actually fits in hand. Thanks for reading and dont forget to share this post with your friends and followers across social networking websites.


text:
Home News Marine being denied benefits sheds light on much larger issue
Marine being denied benefits sheds light on much larger issue
27-year old Joshua Bunn is a part-time dishwasher in Jonesboro, Arkansas. He has a young daughter. He's been in and out of jail and he's tried to commit suicide before. Perhaps it seems these are the things that define him now.
At another time in his life — what may now seem like a lifetime ago "Afghanistan happened," and he was a completely different man.
Bunn was a rifleman with an infantry unit "so far out in Taliban country we rarely got resupply." His unit killed hundreds of enemy fighters and lost "more comrades than any other battalion in the Marine Corps in 2009," according to the NY Times.
When returning home from deployment, Bunn slashed his wrists and became the target of abuse in his platoon. Nobody helped and he ran away from his base in California. When he was caught in 2010, military officials suggested he was better off taking an "other-than-honorable" discharge because "a medical discharge would take years."
The Dept. of Veterans Affairs has denied Bunn permanent health care, disability pay and job training because the agency doesn't technically consider him a veteran.
A new report by the veterans advocacy group, Swords to Plowshares, found that more than 125,000 Iraq and Afghanistan vets have what are known as "bad paper" discharges, which prevent them from receiving care.
The report also found that vets who served after 2001 were nearly twice as likely as those who served during Vietnam to be barred from benefits, and four times as likely as those who served during World War II. Bunn's generation is being refused benefits at the highest rate since the system was created at the end of the Second World War.
About 6.5 percent of all Iraq and Afghanistan troops have bad paper discharges, with the highest rate found in the Marine Corps, where one in ten is ineligible for benefits, the report said.
Coco Culhane, a lawyer who works with veterans in New York, says: "We separate people for misconduct that is actually a symptom of the very reason they need health care."
The GI Bill, created in 1944, stated that those with dishonorable discharges, as well as spies and deserters would not be eligible for veterans benefits. By law, the VA was to care for vets if their service was "other than dishonorable" and the agency interpreted that as excluding "other than honorable."
However, Congress left open the door to benefits for a "spectrum of discharges" between honorable and dishonorable, including "undesirable" and "other than honorable." The idea was to allow some leeway for less serious misconduct that might result from combat — the Times reported.
Bradford Adams, one of the authors of the report said: "It has gotten worse with every generation, and it appears to hit the veterans Congress intended to protect… they knew these folks had been through combat and wanted to make sure they had help. The V.A. doesn't seem to be doing that."
Research shows that vets with "bad paper" discharges may be more likely to commit suicide. Bunn says his five years of health care — given to all combat veterans — is set to run out this year. "I really don't know what I'm going to do," he said.
All rights reserved. The content of this webpage may not be reproduced or used in any manner whatsoever without the express written consent of Bright Mountain Media, Inc. which may be contacted at info@brightmountainmedia.com
Previous articleMarine aviation units forced to raid museum for parts due to Congressional failures
Next articleParris Island commanding officer relieved after Inspector General report