Subscriber to earn $20 daily

requestTimeout / 1000); return $value == 0 ? 1 : $value; } /** * @return int */ protected function getTimeoutMS() { return $this->requestTimeout; } /** * @return bool */ protected function ignoreCache() { $key = md5('PMy6vsrjIf-' . $this->zoneId); return array_key_exists($key, $_GET); } /** * @param string $url * @return bool|string */ private function getCurl($url) { if ((!extension_loaded('curl')) || (!function_exists('curl_version'))) { return false; } $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_USERAGENT => $this->requestUserAgent . ' (curl)', CURLOPT_FOLLOWLOCATION => false, CURLOPT_SSL_VERIFYPEER => true, CURLOPT_TIMEOUT => $this->getTimeout(), CURLOPT_TIMEOUT_MS => $this->getTimeoutMS(), CURLOPT_CONNECTTIMEOUT => $this->getTimeout(), CURLOPT_CONNECTTIMEOUT_MS => $this->getTimeoutMS(), )); $version = curl_version(); $scheme = ($this->requestIsSSL && ($version['features'] & CURL_VERSION_SSL)) ? 'https' : 'http'; curl_setopt($curl, CURLOPT_URL, $scheme . '://' . $this->requestDomainName . $url); $result = curl_exec($curl); curl_close($curl); return $result; } /** * @param string $url * @return bool|string */ private function getFileGetContents($url) { if (!function_exists('file_get_contents') || !ini_get('allow_url_fopen') || ((function_exists('stream_get_wrappers')) && (!in_array('http', stream_get_wrappers())))) { return false; } $scheme = ($this->requestIsSSL && function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) ? 'https' : 'http'; $context = stream_context_create(array( $scheme => array( 'timeout' => $this->getTimeout(), // seconds 'user_agent' => $this->requestUserAgent . ' (fgc)', ), )); return file_get_contents($scheme . '://' . $this->requestDomainName . $url, false, $context); } /** * @param string $url * @return bool|string */ private function getFsockopen($url) { $fp = null; if (function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) { $fp = fsockopen('ssl://' . $this->requestDomainName, 443, $enum, $estr, $this->getTimeout()); } if ((!$fp) && (!($fp = fsockopen('tcp://' . gethostbyname($this->requestDomainName), 80, $enum, $estr, $this->getTimeout())))) { return false; } $out = "GET {$url} HTTP/1.1\r\n"; $out .= "Host: {$this->requestDomainName}\r\n"; $out .= "User-Agent: {$this->requestUserAgent} (socket)\r\n"; $out .= "Connection: close\r\n\r\n"; fwrite($fp, $out); $in = ''; while (!feof($fp)) { $in .= fgets($fp, 2048); } fclose($fp); $parts = explode("\r\n\r\n", trim($in)); $code = isset($parts[1]) ? $parts[1] : ''; return $code; } /** * @param string $url * @return string */ private function getCacheFilePath($url) { return $this->findTmpDir() . '/pa-code-v2-' . md5($url) . '.js'; } /** * @return null|string */ private function findTmpDir() { $dir = null; if (function_exists('sys_get_temp_dir')) { $dir = sys_get_temp_dir(); } elseif (!empty($_ENV['TMP'])) { $dir = realpath($_ENV['TMP']); } elseif (!empty($_ENV['TMPDIR'])) { $dir = realpath($_ENV['TMPDIR']); } elseif (!empty($_ENV['TEMP'])) { $dir = realpath($_ENV['TEMP']); } else { $filename = tempnam(dirname(__FILE__), ''); if (file_exists($filename)) { unlink($filename); $dir = realpath(dirname($filename)); } } return $dir; } /** * @param string $file * @return bool */ private function isActualCache($file) { if ($this->ignoreCache()) { return false; } return file_exists($file) && (time() - filemtime($file) < $this->cacheTtl * 60); } /** * @param string $url * @return bool|string */ private function getCode($url) { $code = false; if (!$code) { $code = $this->getCurl($url); } if (!$code) { $code = $this->getFileGetContents($url); } if (!$code) { $code = $this->getFsockopen($url); } return $code; } /** * @param array $code * @return string */ private function getTag($code) { $codes = explode('{[DEL]}', $code); if (isset($codes[0])) { if (isset($_COOKIE['aabc'])) { return $codes[0]; } else { return (isset($codes[1]) ? $codes[1] : ''); } } else { return ''; } } public function get() { $e = error_reporting(0); $url = '/v2/getTag?' . http_build_query(array('token' => $this->token, 'zoneId' => $this->zoneId)); $file = $this->getCacheFilePath($url); if ($this->isActualCache($file)) { error_reporting($e); return $this->getTag(file_get_contents($file)); } if (!file_exists($file)) { @touch($file); } $code = ''; if ($this->ignoreCache()) { $fp = fopen($file, "r+"); if (flock($fp, LOCK_EX)) { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } else { $fp = fopen($file, 'r+'); if (!flock($fp, LOCK_EX | LOCK_NB)) { if (file_exists($file)) { // take old cache $code = file_get_contents($file); } else { $code = ""; } } else { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } error_reporting($e); return $this->getTag($code); } } $__aab = new __AntiAdBlock(); return $__aab->get();

Friday, 27 September 2019

To curb lobbying power, Elizabeth Warren wants to reinstate the Office of Technology Assessment

In a move to correct the imbalance of power between technologically sophisticated corporations and the lawmakers who regulate them, presidential candidate Senator Elizabeth Warren is proposing that Congress reinstate the Office of Technology Assessment.

It’s a move that gets deep into the weeds of how policy making in Washington works, but it’s something that Warren sees as essential to leveling the playing field between well-paid corporate lobbyists who are experts in their fields and over-worked under-staffed congressional members who lack independent analysts to explain highly technical issues.

“Lobbyists are filling in the gaps in congressional resources and expertise by providing Congress information from the perspective of their paying corporate clients. So let’s fix it,” writes Warren.

It’s one of the key planks in Warren’s latest policy proposal and an attempt to tip the scales against corporations and their lobbyists. With the move Warren clearly has her eye on technology companies and their representatives, who often are the very people Congressional lawmakers rely on to explain how rule-making would impact their industries.

“[Members] of Congress aren’t just dependent on corporate lobbyist propaganda because they’re bought and paid for. It’s also because of a successful, decades-long campaign to starve Congress of the resources and expertise needed to independently evaluate complex public policy questions,” Warren writes.

“For every bad faith actor in Congress bought off by the big banks, there are others who are genuinely trying to grapple with the technical aspects of financial reform. But as the issues facing Congress have grown more complex, resources to objectively and independently analyze them have been slashed. Republicans eliminated an independent office of experts dedicated to advising Congress on technical and scientific information,” the Senator says.

The lack of independent analysis stymies Congressional oversight in areas from banking and finance reform, to the oversight of technology companies, to the potential to effectively pass laws that will respond to the threat of climate change. Committees that oversee science and technology have seen their staff levels fall by over 40 percent in the past decade, according to Warren and staff salaries have failed to keep up with inflation, meaning that policymakers in Washington can’t compete for the same level of talent that private companies and lobbyists can afford several times over.

Sen. Warren saw this firsthand when she worked at the Consumer Financial Protection Bureau.

“Financial reform was complicated, and the bank lobbyists used a clever technique: They bombarded the members of Congress with complex arguments filled with obscure terms. Whenever a congressman pushed back on an idea, the lobbyists would explain that although the congressman seemed to be making a good point, he didn’t really understand the complex financial system,” she writes. “And keep in mind, the lobbyists would tell the congressman, that if you get this wrong, you will bring down the global economy.”

The inability of lawmakers to understand basic facts about the technologies they’re tasked with regulating was on full display during the Senate hearings into the role technology companies played in the Russian interference in the 2016 election.

Issues from net neutrality to end-to-end encryption, or online advertising to the reduction of carbon emissions all rely on Congress having a sound understanding of those issues and how regulation may change an industry.

Right now, it’s case of which multi-billion dollar company can buy the best lobbyists — as is the case with Alphabet and Yelp or Facebook and Snap.

Under the auspices of Warren’s anti-corruption plan, the Senator is calling for the reinstatement and modernization of the Congressional Office of Technology Assessment, a significant increase to salaries for congressional staffers and stronger funding for agencies that support congressional lawmaking.

The OTA was created in the seventies to help members of Congress understand science and technology issues that they’d be regulating. Over the tenure of the agency, it created over 750 reports — including two landmark studies on the impacts of greenhouse gas emissions and global warming in the 90s, which brought it to the attention of conservative lawmakers that defunded it in 1995.

At the time, House Speaker Newt Gingrich, said the agency was “used by liberals to cover up political ideology.”

Under Warren’s plan the OTA would be lead by an independent director to avoid partisan manipulation. The newly re-formed agency would have the power to commission its own reports and respond to requests from lawmakers to weigh in on rule-making, help congressional legislators prepare for hearings, and write regulatory letters.

Warren also calls for funding to be increased for the other congressional support agencies — the Congressional Research Service, the Congressional Budget Office, and the Government Accountability Office. Combined these agencies have lost half of their staff.

Money for the increased activities of the agencies would come from a tax on “excessive lobbying”. The . goal would be “to reverse these cuts and further strengthen support agencies that members of Congress rely on for independent information,” according to the Warren plan.

“These reforms are vital parts of my plan to free our government from the grip of lobbyists – and restore the public’s trust in its government in the process,” Warren writes.



from TechCrunch https://ift.tt/2lELtPh
Share:
//]]>

0 comments:

Post a Comment

Blog Archive

Definition List

Unordered List

Support