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();

This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Sunday, 31 May 2020

Sources: President Trump and Mark Zuckerberg had a phone conversation on Friday that was described by both sides as productive (Mike Allen/Axios)

Mike Allen / Axios:
Sources: President Trump and Mark Zuckerberg had a phone conversation on Friday that was described by both sides as productive  —  In the week that President Trump took on social media, Axios has learned that he had a call Friday with Facebook CEO Mark Zuckerberg that was described by both sides as productive.



from Techmeme https://ift.tt/300mrvs
Share:

SpaceX’s first crewed spacecraft successfully docks with the International Space Station

SpaceX’s Crew Dragon ‘Endeavor’ successfully docked with the International Space Station as planned on Sunday morning, marking another key milestone during this historic Commercial Crew demonstration mission it’s conducting with NASA. On board Crew Dragon were NASA astronauts Doug Hurley and Bob Behnken, the test pilots selected to be the first ever humans to fly on board SpaceX’s Crew Dragon, and the first people ever to make the trip to orbit aboard a spacecraft built by a private company.

The docking process was handled completely autonomously by Crew Dragon itself, which is designed by SpaceX to operate on autopilot from the moment of launch throughout the course of the entire mission. The spacecraft is able to dock with a newer automated international docking adapter installed on the ISS, unlike the original cargo version of Dragon, which required manual capture by the robotic Canadarm 2 controlled by astronauts on the station. The updated cargo Dragon and Crew Dragon are designed to work with the new automated system.

Hurley and Behnken launched at 3:22 PM EDT (12:22 PM PDT) on Saturday, taking off from Cape Canaveral in Florida as planned. It was the second launch attempt for this mission, after weather caused a delay last Wednesday. This mission is NASA and SpaceX’s Commercial Crew Demo-2, which is the second demonstration mission of the full flight and return of the SpaceX Crew Dragon spacecraft, one of two vehicles commissioned by NASA from commercial partners to provide transportation serves for astronauts to and from the Space Station.

Crossing this milestone means that essentially the first half of the mission has been completed successfully – so far, SpaceX has demonstrated that the launch process works as designed, as does manual control (the astronauts took over and ran two tests of that system), and automated docking.

Next up, with the spacecraft connected to the ISS, the hatch will open and Hurley and Behnken will cross through to the Space Station, where they’ll be greeted by its three astronauts. Hurley and Behnken will then perform standard ISS crew activities, including conducing experiments and research, during the next several weeks before they climb back into Crew Dragon for the final portion of Demo-2 – the trip back to Earth.



from TechCrunch https://ift.tt/2MhKdLI
Share:

Watch live as SpaceX’s first astronaut-carrying spacecraft docks with the International Space Station

Today at around 10:30 AM EDT (7:30 AM PDT), SpaceX’s Crew Dragon capsule will dock with the International Space Station, with NASA astronauts Bob Behnken and Doug Hurley on board. The two have been in flight on orbit since launching from Kennedy Space Center in Florida yesterday at 3:22 PM EDT, a historic launch that made SpaceX the first private space company to fly people to orbit.

You can watch the livestream above to see the approach and docking maneuver, as well as the transfer process once the hatch opens and Hurley and Behnken make the short trip over from their spacecraft to the ISS. The astronauts will then serve on board the orbital lab for a shortened tour of duty, but taking part in all the activities a regular ISS rotation astronaut would do, before eventually heading home to Earth back aboard Crew Dragon in a few weeks.

This milestone mission is the first crewed flight for NASA’s Commercial Crew program, which will certify SpaceX’s Crew Dragon for regular operational missions carrying astronauts from the agency and its partners to and from the Space Station.

Ahead of the docking, the astronauts will be conducting manual tests of the spacecraft’s control system, their second test after an initial trial yesterday shortly after launch. Crew Dragon is designed to fly and dock entirely on its own, but part of this mission is ensuring that the manual controls work as designed in case astronauts ever need to make use of them in an emergency.



from TechCrunch https://ift.tt/2zM9riv
Share:

Our grimdark meathook cyberpunk now

Ten years ago, the joke was: “It’s weird how, once everyone started carrying phones with cameras all the time, UFOs stopped visiting, and the cops started beating everyone up.” It was darkly funny, then. Now it feels something more like despairing.

Imagine pitching today as a setting for science fiction, back then:

The year is 2020. A pandemic that will kill millions ravages the planet. America is masked: some because of the new virus, others as a ward against police surveillance. A global wave of implicit & explicit xenophobia and white supremacy has carried the UK out of Europe, and a narcissistic reality TV star to the presidency, where he fans the flames of America’s rampant police violence, and spars incoherently with the billionaires who control the tech megacorps that dominate the Internet and the economy. Meanwhile, America’s techno-militarized law enforcement agencies use drones, networked cameras, AI-powered facial recognition, and other police-state innovations to aid them in their running battles against an insurgent population which increasingly no longer sees them as legitimate.

If you had pitched today only ten years ago, you would have been asked with genuine confusion whether it was intended as satire–and then, very possibly, more gently, if everything was OK at home. Yet here we are.

Six years ago I wrote a piece, “The techno-militarization of America” which concluded that “in juicing [the police] with the steroids of military technologies, rules, and attitudes, we have transformed them into a cure almost worse than the disease.” Looking back now, that ‘almost’ seems embarrassingly naïve.

I’ve seen multiple independent sources refer to the events of this week as a ‘legitimacy crisis,’ triggered by a common-knowledge collapse: a moment when everyone realizes that a belief they did not speak about, thinking it fringe and wild, is in fact also held by an enormous number of their peers. Nine years ago, when it was still possible to be optimistic about the effect Facebook would have on society, that sort of collapse is believed to have triggered the Arab Spring.

Here, the cultural collapse appears to be precipitating around the concept “all cops are bastards.” Once that catchphrase was something I only heard from my furthest of far-left punk and anticapitalist acquaintances. Let’s just say that the line of demarcation has moved in towards the mainstream a lot. As in the Arab Spring, this apparent common-knowledge collapse was catalyzed by a single awful death, then spread with remarkable speed, fueled in large part by social media.

Of course America is a huge and diverse place which includes many communities who have long–understandably–viewed the police as an illegitimate occupying army. (Often literally: “In about two-thirds of the U.S. cities with the largest police forces, the majority of police officers commute to work from another town.”)

What’s different is that this attitude seems to be accelerating nationwide. A few random examples from my own social media of late include — all white, since it matters — a battery researcher, a rocket technologist, and a middle-aged Minnesotan mother of teenagers describing the Minneapolis police as “a suburban occupying force.”

Those are anecdotes, so here’s some data: in 2007, Pew Research reported that 37% of black Americans, and a whopping 74% of white Americans, had “a great deal” or “a fair amount” of confidence in police to “treat races equally.” If you add those who indicated “just some” confidence, those numbers go up to 51% and 82%.

Twelve years later, the numbers who said that Americans of all races are generally treated fairly equally by police had fallen by more than half, to 16% and 37% respectively. In 2017, a sizable majority of all Americans agreed that “the deaths of blacks during encounters with police during recent years are signs of a broader problem”–while 72% of white police officers disagreed.

What do you think those numbers would be today? Given the scale of the disagreement, and the rapid loss of faith, is the prospect of a sudden legitimacy collapse really so surprising?

You’ll note that the Arab Spring didn’t last long, and was ultimately followed by bitter winter (except arguably in Tunisia where it began.) I’m not especially optimistic that this will be a profound national turning point in America. But I am hopeful it may shake the attitude among county and city governments that police and police unions should be treated as a local Praetorian Guard, to whom is owed unquestioning gratitude, a blind eye when a body camera happens to wink off before a suspect suffers an injury or death, and zero or toothless civilian oversight.

I’ve been to a lot of countries whose police are not perceived as legitimate; where it’s widely understood, across disparate communities, that whatever the situation, you think twice before involving the cops, because they’ll very likely just make things worse. America feels increasingly like such a country. Let’s hope the de-techno-militarization, and de-white-supremacization, of law enforcement happens before the nation spins into that kind of vicious cycle … because once there, it’s terrifyingly hard to break free. After the events of last night, you have to at least wonder whether it’s already too late.



from TechCrunch https://ift.tt/3eBwr2x
Share:

Benchling, which makes software for tracking and managing data from biotech research, raises $50M at a $850M valuation, bringing its total raised to $114M (Amy Feldman/Forbes)

Amy Feldman / Forbes:
Benchling, which makes software for tracking and managing data from biotech research, raises $50M at a $850M valuation, bringing its total raised to $114M  —  Sajith Wickramasekara started working on an idea for a cloud-based Crispr design tool for scientists during college at MIT eight years ago.



from Techmeme https://ift.tt/2XkmGje
Share:

Walmart employees are out to show its anti-shoplifting AI doesn’t work

Customers and staff cluster around grocery store self-check lane.

Enlarge (credit: Roberto Machado Noa | Getty Images)

In January, my coworker received a peculiar email. The message, which she forwarded to me, was from a handful of corporate Walmart employees calling themselves the “Concerned Home Office Associates.” (Walmart’s headquarters in Bentonville, Arkansas, is often referred to as the Home Office.) While it’s not unusual for journalists to receive anonymous tips, they don’t usually come with their own slickly produced videos.

The employees said they were “past their breaking point” with Everseen, a small artificial intelligence firm based in Cork, Ireland, whose technology Walmart began using in 2017. Walmart uses Everseen in thousands of stores to prevent shoplifting at registers and self-checkout kiosks. But the workers claimed it misidentified innocuous behavior as theft and often failed to stop actual instances of stealing.

They told WIRED they were dismayed that their employer—one of the largest retailers in the world—was relying on AI they believed was flawed. One worker said that the technology was sometimes even referred to internally as “NeverSeen” because of its frequent mistakes. WIRED granted the employees anonymity because they are not authorized to speak to the press.

Read 21 remaining paragraphs | Comments



from Biz & IT – Ars Technica https://ift.tt/2XPnITu
Share:

Saturday, 30 May 2020

Blog Archive

Definition List

Unordered List

Support