Start Blog Seite 85085

New tool forces JavaScript code correctness

0

NewsHubWith a tool called Prettier, JavaScript formatting will get a consistent style.
An opinionated JavaScript formatter inspired by the refmt tool for formatting code, Prettier removes original styling and ensures outputted JavaScript conforms to a consistent style.
„Prettier gets rid of all original styling and guarantees consistency by parsing JavaScript into an AST (abstract syntax tree) and pretty-printing the AST,“ developer James Long said. He noted that the tool makes it easier to write code however a developer wants because it can be instantly formatted correctly afterward.
Prettier takes JavaScript as input and outputs formatted JavaScript. Still in beta, Prettier tries to support all JavaScript language features, including those that are not standardized. It uses the Babylon parser by default with all language features enabled, but it will also work with the Facebook Flow parser with the useFlowParser API or –flow-parser CLI option. Prettier has advanced support for language features from ECMAScript 2017 , JSX, and Flow.
More about AST Facebook

Similarity rank: 0

© Source: http://www.computerworld.com.au/article/612813/new-tool-forces-javascript-code-correctness/?utm_medium=rss&utm_source=sectionfeed
All rights are reserved and belongs to a source media.

Flight 370 victims’ families angry, resigned as search ends

0

NewsHubBEIJING (AP) — K. S. Narendran never boards a flight without feeling terror. And he doesn’t expect that to change without answers to what happened to the plane carrying his wife three years ago.
His wife, Chandrika Sharma, was one of the 239 people aboard Malaysia Airlines Flight 370, which disappeared over the Indian Ocean after veering far off course on a flight from Kuala Lumpur to Beijing. After a fruitless search, the governments of Australia, China and Malaysia announced Tuesday that they were suspending their efforts.
Some relatives of Flight 370’s passengers expressed anger, disappointment and a resolve to press authorities to resume their efforts and find out exactly what happened. Others said they understood that the search — the most expensive of its kind in aviation history — had to come to an end.
“There’s not a day that passes without spending significant amount of time thinking about what the state of the search might be,” Narendran said Tuesday in a phone interview. “While it’s probable that we’ll never see our family members again, it doesn’t take away the fact that we would still like to know what happened.”
Li Xinmao, whose daughter and son-in-law were on the plane, called Tuesday’s announcement “unacceptable” and the governments of Malaysia and China “irresponsible.” Nearly two-thirds of the people aboard Flight 370 were Chinese.
“No matter how much we protested, they wouldn’t take our complaints, and it has become useless for us to protest,” Li said. “Even so, I will continue to protest because I just can’t accept the result.”
Search crews spent nearly three years trawling a 120,000-square kilometer (46,000-square mile) area where the plane was believed to have gone down, an effort that cost an estimated $160 million. They did not find the main underwater wreckage, the black box data recorder, or any sign of the 227 passengers and 12 crew members aboard the aircraft.
A team of international investigators said in December that the plane may have fallen in a different area based on where more than 20 items of debris have since washed ashore. But Australia’s transport minister said the new analysis did “not give a specific location of the missing aircraft,” and expanding the search based on that finding would be unlikely.
Narendran said he thought Australian officials wanted to “bury the search” rather than suspend it. A group representing victims’ families, Voice370, said extending the search was “an inescapable duty owed to the flying public.”
Nan Jinyan, whose brother’s fiancee was killed, was more resigned.
“It has become a fact that the missing plane can’t be found, maybe forever,” Nan said. “We have no way but to accept it.”
Jeanette Maguire, who lost her Australian sister and brother-in-law, said she and others knew rescue efforts were too expensive to continue indefinitely.
“We were hoping and praying that wouldn’t be it and we would have found something of significance for them to be able to keep searching,” Maguire said.
But for many others, finding closure remains impossible.
Lee Khim Fatt’s wife, Foong Wai Yueng, was a stewardess on Flight 370. Three years later, Lee still hasn’t held a memorial for his wife or touched her wardrobe or belongings in their home in Malaysia.
“I told my children to keep praying,” Lee said. “As long as nothing is found, nothing is proven.”
___
Associated Press writers Rod McGuirk in Canberra, Australia; Eileen Ng in Kuala Lumpur, Malaysia; and news researcher Yu Bing in Beijing contributed to this report.
comments
Need a break? Play a quick game of solitaire or Sudoku. Or take one of our fun quizzes!
See photos of past presidential inaugurations.

Similarity rank: 12
Sentiment rank: -2.8

© Source: http://wtop.com/asia/2017/01/flight-370-victims-families-angry-resigned-as-search-ends/
All rights are reserved and belongs to a source media.

単一市場脱退を表明=移民制限を優先-英首相、EU離脱で演説

0

NewsHub【1月17日 時事通信社】メイ英首相は17日、欧州連合(EU)加盟各国の駐英大使らを招き、ロンドン市内でEU離脱に関する演説を行った。この中でメイ氏は、移民流入を制限することを優先し、EU単一市場から脱退する、いわゆる「ハード・ブレグジット(強硬な離脱)」を目指す方針を表明した。 メイ氏は3月末までにEUに正式な離脱通告を行う意向で、これにより原則2年間の離脱条件をめぐる交渉がスタートする。しかし、これまで離脱に向けた方針をほとんど明らかにしておらず、経済界やEU側など内外で不満が高まっていた。 演説でメイ氏は、離脱交渉でEUに「半分残り、半分出る」ような合意はしないと述べ、明快な離脱を強調。「EU離脱は欧州からの移民数の制御を意味する。私の提案は、単一市場のメンバーに残ることを意味しない」と明言した。 一方で、メイ氏は「われわれはEUから去るが、欧州から去るわけではない。新しく公平なパートナーシップを求める」とし、EUとの良好な関係を続けていくと強調。関税同盟について、現行の同盟に全面的には残らないが、EU離脱後も新たな関税協定などを結ぶなどして、自由貿易を維持する考えを示した。 また、EU以外の国々と積極的に貿易協定を結ぶ方針を表明。実際の離脱に当たっては「破滅的な絶壁を避けたい」と述べ、急激な変化を避けるため、何らかの移行措置を取ることも示唆した。これを好感し、17日の外国為替市場では英通貨ポンドの対ドル相場が急伸した。 ただ、メイ氏は「英国にとって悪い合意よりは合意がない方がましだ」とも述べ、合意に至らなくても離脱を強行すると警告。この場合、英政府は競争力を維持するため、法人税を大幅に引き下げるなどして対抗するとみられる。EUとの離脱交渉での最終的な合意は、上下両院にはかることも確認した。(c)時事通信社

Similarity rank: 6.7
Sentiment rank: -0.8

© Source: http://www.afpbb.com/articles/-/3114418
All rights are reserved and belongs to a source media.

習氏「開放型の世界経済を」 ダボス会議で保護主義牽制

0

NewsHub政財界などの要人が集まる世界経済フォーラム(WEF)の年次総会(ダボス会議)が17日、スイスのダボスで始まり、中国の習近平(シーチンピン)・国家主席が開会演説をした。習氏は「我々は揺るぎなく開放型の世界経済を発展させないといけない」と明言し、貿易の保護主義を牽制(けんせい)した。 中国国家主席として初めて出席した習氏は、「経済のグローバル化」の必要性を訴える内容に演説時間の多くを割いた。「諸問題の原因は経済のグローバル化ではない」と断じた上で、難民や金融危機などを引き合いに出しつつ、それらの根源にある貧困や格差、地域問題といった問題への取り組み方の改善の必要性を説いた。 また、中国がかつて世界貿易機関(WTO)加盟に至る過程で「(経済のグローバル化に)疑いを持った」とのエピソードを紹介。最終的に「勇気を持って世界市場に乗り込んだ」ことによって、同国が今日の繁栄を築いたことを挙げ、経済のグローバル化がすべての国家国民に利益をもたらすとした。 習氏は、今年のダボス会議のテーマでもある「即応し、責任あるリーダーシップ」についても触れ、「(世界の)異なる人たちがグローバル化の利点を分け合えるようにすることが、我々世界のリーダーがこの時代に果たすべき責任だ」と述べて、中国がリーダーシップを高めていく意欲を示した。英国の欧州連合(EU)離脱決定や、排外主義的な言動を繰り返すトランプ氏の米大統領への当選で、こうした国々の国際的影響力が後退する可能性があることを念頭にした発言とみられる。 また習氏は、中国経済について「2016年の経済成長率は6・7%と予期される」と初めて昨年の成長率について言及し、主要国の中では高水準にあることを強調。今後の自由貿易について「中国は、アジア太平洋自由貿易圏などの交渉を進めて、世界に開かれた自由貿易圏のネットワークをつくる。開放的で透明さを訴え、排他的で細分化された仕組みを目指したりはしない」とした。 一方、トランプ氏の側近アンソニー・スカラムッチ氏は別のセッションで司会者に習氏の演説内容について問われた。直接聞いていないと断ったうえで「米国の新政権は自由で公平な貿易を望んでいるだけだ」と主張。米国が結んだ様々な自由貿易協定が、米国が一方的に国内市場を開放する「非対称的」で不利なものだとし、新政権がより「対称的」な協定を模索していくとの見通しを示した。(ダボス=松尾一郎、北京=斎藤徳彦)

Similarity rank: 6.4
Sentiment rank: 3.2

© Source: http://www.asahi.com/articles/ASK1K5WCBK1KUHBI02S.html
All rights are reserved and belongs to a source media.

メイ首相演説 5つの主なポイント

0

NewsHubメイ首相の演説の主なポイントを5つにまとめました。 (1)EUに部分的にとどまることはせず、単一市場に残ることもしない。 (2)その代わり、単一市場への最大限のアクセスを求めて包括的で野心的な新たな自由貿易協定の締結を目指す。 (3)移民の数は、記録的な水準に達し教育や住宅、インフラなど公的サービスに負担となり、労働者の賃金を押し下げてきた。ヨーロッパからの移動の自由があるかぎり、出入国管理はできない。EU離脱でヨーロッパからイギリスに来る人を制限しなければならない。イギリスは寛容で開かれた国で、特に有能な移民は常に受け入れる。 (4)単一市場から抜けるのでEUに巨額の拠出金を求められることはなくなる。 (5)EUとの最終合意は上下両院の投票にかける。

Similarity rank: 4.4
Sentiment rank: 9.1

© Source: http://www3.nhk.or.jp/news/html/20170118/k10010843411000.html
All rights are reserved and belongs to a source media.

| Android O release date rumours: Looking ahead to the next version of Android

0

NewsHubThe final version of Android N was released in August 2016 as Android Nougat, and we’re looking at a similar time frame in 2017 for the release of Android O. But what will Android O be called? We round up the Android O name and release date rumours. Also see: Essential Android apps and Best Android games
Following Android Alpha and Android Beta, Google has always named its Android OS updates after sweet treats, and in alphabetical order. So far we’ve had Cupcake, Donut, Eclair, Froyo, Gingerbread, Honeycomb, Ice Cream Sandwich, Jelly Bean, KitKat, Lollipop, Marshmallow and Nougat.
In 2017 Google will be looking for a sweet treat beginning with O. Trouble is, there really aren’t that many. The Tech Advisor team could come up with Oreo, Orange, Oatcake and Oh! Henry (the latter obviously being our favourite, given this ). It could even shake things up entirely and shock us all with something like Android OMG. (We’re joking, but we kind of like it.)
What do you think the next version of Android will be called? (If you choose Other comment below and let us know what you think.)
Given that Android Marshmallow was Android 6.0 and Android Nougat was Android 7.0-7.1, we would assume that Android O will be Android 8.0. But Google hasn’t always done things this way, and Ice Cream Sandwich, Jelly Bean and KitKat were all 4.x updates. Also see: Android Nougat review
Traditionally Google uses I/O to announce the new update to its Android OS. We’re still waiting to find out when is Google I/O 2017 (most likely in late May or early June), but we do now know that Google is returning to its usual home for the developer conference. In 2016 it presented Google I/O from t he Shoreline Amphitheatre in Mountain View to mark the 10th anniversary of the company’s first developer day at its HQ, but in 2017 it will return to the smaller-capacity Moscone Center in San Francisco. We expect the exact date of Google I/0 2017 to be announced imminently.
Google surprised us in 2016 by taking the wraps off the Developer Preview of Android Nougat in advance of its summer Google I/O conference, and again by unveiling the final release with little fanfare and no new hardware in August. The new hardware came later, with the Google Pixel and Pixel XL unveiled in early October.
Up until now, Google has always announced the new Android OS and new hardware together. The change is most likely due to the fact it is now taking control over both the software and hardware in its own-brand devices in Apple-esque fashion, and the Google Pixel and Pixel XL were the first phones ‚Made by Google‘ (even though they were made by HTC, but we won’t go there).
We can only assume this is how Google will treat its own-brand devices going forward: the hardware is no longer merely a vehicle to peddle its new software. With that in mind we’d expect to see the Android O Developer Preview again announced ahead of Google I/O, and the final release prior to any new hardware at the end of August.
However, it’s equally likely that Google did things this way as a one-off in 2016 to take the focus away from Android Nougat (which wasn’t a particularly big update) and move it on to its new phones.
Either way, our money is on an August/September release for Android O. Also see: Android Nougat vs iOS 10
Google phones and tablets are always the first to get new operating system updates, but even Google won’t support them forever. Security updates are provided for three years following the device’s release, or 18 months after it is removed from the Google Play Store (whichever is longer).
So, for example, the Nexus 5X and Nexus 6P will be supported by Google until September 2017, which means they will get both Android Nougat and next year’s Android O. The Nexus 9 and Nexus 6 will both be supported until October 2016, which should mean they get an update to Android Nougat but not Android O. Older Nexus devices will not be upgraded.
Those with supported Nexus devices should find the update rolls out to their device following the launch of the new Nexus phones for 2016, or at least within a few weeks of launch.
If you have a recent flagship phone or tablet from a well-known maker such as Sony, Samsung, HTC, LG or Motorola, it’s likely you’ll see the update rolled out within the first few months of 2018. However, before you can get the update both the hardware manufacturer and mobile operator must be ready to roll it out, which can slow down things.
In its promotion of the Moto G4 Plus , Motorola has already said it will receive Android Nougat and Android O.
If you’e running a mid-range or budget model it’s likely that you will never get Android O. Android OS fragmentation is still an issue, and at the last count on 9 January 2017 there were still devices running Gingerbread (via Android Developers ).
Andromeda is a Google operating system that is in essence a mash-up of Chrome OS and Android and has been rumoured for about as long as we can remember. And when Hiroshi Lockheimer tweeted in late September that Google’s October event was going to be as memorable as the one in which Google announced Android (not his exact words – see below), the internet went crazy trying to guess what it is that could possibly warrant such hype. The only logical suggestion was Andromeda, but of course what we actually got was the first ‚Made by Google‘ phones.
However, Andromeda is still allegedly on the cards, and Android Police assures us that Andromeda is an actual thing and not the figment of many Google fan’s creative imaginations. It points to a Wall Street Journal report that Google was intending to fold the two operating systems into one to better suit a range of hardware platforms. This would open the doors to a new market sector in which Google has previously tried and failed: the lucrative world of laptops.
According to WSJ Andromeda won’t see the light until 2017, which means we might not see Android O at all.
Read next: Best new phones coming in 2017
Follow Marie Brewis on Twitter.

Similarity rank: 1.1

© Source: http://www.pcadvisor.co.uk/new-product/google-android/android-o-name-android-o-release-date-rumours-3647595/
All rights are reserved and belongs to a source media.

Microsoft tells enterprises that Windows 7 isn't fit for purpose

0

NewsHubIT’S NO huge secret that we don’t hold Microsoft’s methods of selling products in high regard.
Updategate was a complete shower , and with that over, we appear to have moved into the scaremongering phase of the operation based on comments from the company’s German operation.
In a blog post on Technet, we’re warned that Windows 7 „only“ has three years of updates left, and even then it can’t hold a candle to Windows 10 in terms of enterprise features and security.
Tell that to the 40+ per cent of enterprises still using it.
„It provides for higher operating costs – for example, maintenance, lost working time due to increased malware attacks, or increased support requests. At the same time, many hardware manufacturers no longer provide drivers for Windows 7, which means that modern peripherals such as printers are no longer recognised.
„To give users a contemporary interaction between software and hardware, new processor generations only by the respective current Windows platform supports“ explains Microsoft (via a Bing translation)
„So Windows 10 is the only version of Windows provides the appropriate support for the latest chips from Intel, AMD and Qualcomm. In addition, many programs are already written or developed for the newer versions of Windows. “
This is, of course, blatant scaremongering. And notwithstanding that Microsoft has already made it more difficult for Windows 7 and 8 users by limiting compatibility with modern processors , the fact remains that many businesses aren’t able to update as there are compatibility issues with Windows 10 in much bespoke software.
Although it would be a foolhardy business that uses Windows Vista , it seems that Microsoft is keeping that, rather important end-of-life (in three months) on the down-low as they’re not going to make as much money from it, and despite Windows XP having a near ten per cent market share made up of some of the most vulnerable organisations like police and government, the Redmond machine is determined to go after the low hanging fruit.
„Thanks to the new principle ‚Windows as a Service‘ is Windows 10 up to date and safe is the coming Creators Update Windows 10 from this spring is with intelligent security and efficient management capabilities expand. In addition to state-of-the-art security features, Windows 10 provides enterprise IT with a more flexible management and simplified deployment. For example, more than 96 percent of business customers worldwide are evaluating Windows 10. “
Big whoop – we’re evaluating having a team holiday to Nassau, but it ain’t going to happen. It’s just more meaningless guff from a company desperate for your money. µ

Similarity rank: 1.1

© Source: http://www.theinquirer.net/inquirer/news/3002683/microsoft-tells-enterprises-that-windows-7-isnt-fit-for-purpose
All rights are reserved and belongs to a source media.

Unigen's Superposition Benchmark pulled from Steam Greenlight

0

NewsHubUnigen’s Superposition Benchmark has been pulled from Steam Greenlight after three months of extremely positive voting, with Valve stating benchmarks are not eligible for listing. Game engine maker Unigen has announced that its upcoming gaming benchmark, Superposition, will not be coming to Valve’s Steam platform, despite having enjoyed considerable success over the last three months it has been on the Greenlight list.
Launched as an easier way for developers to get their software up on Steam, Greenlight serves as a pre-release interest-check system: developers pay $100 to activate Greenlight on their accounts and then upload videos and screenshots of their upcoming games, with Steam users voting on whether or not they would be interested in seeing the game’s full release. With enough votes, a Greenlight package gets listed in Valve’s Steam storefront for real – but not everything is eligible for the process, as Unigine has discovered to its cost.
Unigine’s Superposition Benchmark hit the Greenlight platform three months ago, and by late December last year had received 1,787 positive votes – around 96 percent of all votes – making it one of the most popular items on the list. This week, though, the company announced that the software would not be coming to Steam after all – and pinned the blame firmly on Valve.
‚ The first announcement in this year, unfortunately, won’t be very cheering. Superposition Benchmark was excluded out of the Greenlight [programme] after three months of active voting, ‚ the company’s Steam post explained. ‚ It was #1 recently, but was declined by Steam moderation team because ‘benchmark’ is not kind of software that allowed to take part in Greenlight at the moment. Well, this is the unpleasant surprise for us as well, but those are the Steam rules. ‚
The FAQs for Greenlight do indeed make clear that the service is only for selected software types: games, animation and modelling, audio production, design and illustration, photo editing, and video production. Despite their popularity among games, benchmarks clearly fall outside these categories – though you’d be forgiven for not realising this, given the long list of benchmarks Steam users can browse and install: Futuremark’s 3DMark, PCMark, and VRMark, Geekbench 3, Catzilla 4K, the Resident Evil 6 Benchmark Tool, and Valve’s own SteamVR Performance Test all appear following a cursory search for ‚benchmark,‘ but Superposition will not be among them.
Unigine has indicated that it plans to launch the Superposition Benchmark as a standalone application some time this quarter, with more information available on the official website .

Similarity rank: 0

© Source: http://feedproxy.google.com/~r/bit-tech/news/~3/yzh5wkDNkmI/1
All rights are reserved and belongs to a source media.

China orders app stores to register in bid to crack down on 'illegal information'

0

NewsHubAPP STORES operating in mainland China must register with the government’s Cyberspace Administration of China (CAC) this week in what the government claims is an attempt to clamp down on the spread of ‚illegal information‘.
It follows the passage of a law in June 2016 that will also require mobile app developers to verify user identities with a real-name registration regime and to save user activity logs for at least 60 days.
In addition to helping the authorities keep their eyes on people and the kind of stuff being circulated across the internet in China, the new law is also intended to combat the proliferation of app stores that offer insecure or downright fraudulent apps, as well as piracy and apps bearing malware.
The situation has largely arisen because the Chinese government insists on blocking Google’s Play Store, forcing Android users to download apps from a cornucopia of third-party app stores.
The app stores will also be required to closely monitor users of their apps as part of a government push to increase online censorship and to „punish“ people who spread what the CAC called „illicit information“ on their platforms.
„A small number of apps have been exploited by criminal types to spread violence and terrorism, pornographic material, rumours and other illegal information,“ the regulator claimed when the law was passed in the summer.
The new regulations were released suddenly on Friday and provided the first indications that the government planned to actually enforce the law.
Laws in China (like criminal justice acts in the UK) are often intentionally broad in order to give the authorities the widest possible range of action but, at the same time, are often not enforced.
The order from the regulator on Friday indicated that the authorities are planning to enforce the law, although forcing the real-names policy may take some time. µ

Similarity rank: 0.1

© Source: http://www.theinquirer.net/inquirer/news/3002681/china-orders-app-stores-to-register-in-bid-to-crack-down-on-illegal-information
All rights are reserved and belongs to a source media.

SCiO Molecular Sensor Added to Smartphone: Reads Chemical Composition of Materials

0

NewsHubI first saw Consumer Physics’ SCiO handheld scanner a couple of years ago and was impressed by its ability to identify materials by scanning and analyzing their chemical composition. In the intervening years, Consumer Physics has partnered with Analog Devices to increase the sensor’s accuracy and reduce its size, and at CES 2017, the company announced the first smartphone with an integrated SCiO sensor, making this technology even easier to carry and use.
The Changhong H2 has a 6-inch 1080p display and a 16MP rear camera. Inside is an octa-core CPU running at up to 2.0GHz paired with 4GB of RAM and 64GB of internal storage, all powered by a 3000mAh battery. The H2’s standout feature, though, is the new sensor.
The SCiO sensor uses near-infrared spectroscopy to identify a material’s molecular content. By illuminating an object with a broadband light source and using the spectrometer, a type of optical sensor, to break the reflected light into its constituent components, SCiO’s signal processing algorithms compare the reflected light’s wavelengths to the original emission to create a spectral fingerprint. This technique works because molecules will only absorb photons at certain energy levels, which means specific wavelengths will be missing or attenuated in the reflected light.
The Changhong H2’s sensor allows you to virtually “taste” food, measuring the sweetness of fruit for example, or measure how ripe fruits and vegetables are. It can identify specific liquids, tell you if the pills in an unmarked bottle are vitamins or a prescription pain killer, or even tell you if the Viagra you bought online from that sketchy website is real or fake. You can even use it to measure body fat and analyze the nutritional content of food.
The SCiO sensor module sits next to the camera on the back of the Changhong H2. Scanning an object involves opening an app and placing the sensor close to its surface, within 0.5-2.0 cm. It takes about 1.5 seconds to collect data. The app then compares the material’s spectral fingerprint to thousands of others stored in a cloud-based database for identification, as shown in the demonstration below.
Consumer Physics is working with companies to integrate its sensor into other products as well, such as the DietSensor scale—it also makes an app for the Changhong H2—that scans and weighs food to determine the calorie count and ratio between carbohydrates, fat, and protein. There’s also an SDK for third-party developers to develop apps that leverage the sensor’s capabilities.
The Changhong H2 will be available in China for 2999 RMB starting in June 2017 and will come to the US and other regions later in the year.

Similarity rank: 0

© Source: http://www.anandtech.com/show/11022/scio-sensor-added-to-smartphone
All rights are reserved and belongs to a source media.

Timeline words data