Grails Goodness: Pass JSON Configuration Via Command Line

See the original posting on DZone Python

We can use the environment variable SPRING_APPLICATION_JSON with a JSON value as configuration source for our Grails 3 application. The JSON value is parsed and merged with the configuration. Instead of the environment variable we can also use the Java system property spring.application.json.

Let’s create a simple controller that reads the configuration property app.message:

Data Wrangling With Angular 2 and DreamFactory

See the original posting on DZone Python

A few days ago, I posted about using angular2-auth-component for managing logins with Angular 2 and Dreamfactory. Now we’re going to focus on the new angular2-data-component, which handles data.

Background

The data service in DreamFactory allows you to manage your SQL and non-SQL data services. You can add, edit, update, or delete records using data service. Angular2-data-component is a widget which allows you to all of that using a friendly UI. This component can also be integrated into your other projects with an npm install and a few lines of codes.

Facebook To Shred ‘Paper’ News-Reading App On July 29th

See the original posting on Slashdot

An anonymous reader writes from a report via The Verge: Facebook’s Paper app for iOS is scheduled to shut down on July 29th. While the app impressed critics, it failed to impress the general public. The Verge reports: “The app transformed the core Facebook experience into a kind of newsreader, with customizable sections for politics, technology, food, and other subjects. When it was introduced in January 2014, Paper signaled the beginning of a design renaissance at Facebook. The look and feel of the app were orchestrated by Mike Matas, whose design firm Push Pop Press was acquired by Facebook in 2011. Paper was notable for the novel animations it used to guide you through the app — tap on a link and it would unfold like a letter; pull down on the story and it would fold back up, returning you to the feed. But despite the enormous growth of Facebook, which surged to 1.09 billion daily users this year, Paper has not been among the 1,500 most-downloaded apps since December 2014, according to research firm App Annie. It never came to Android, and the iOS version was last updated in March 2015. Facebook says that ideas from Paper have made their way into other Facebook apps, most notably Instant Articles, the fast-loading story format that the company introduced last year. Instant Articles borrowed several design elements from Paper, including full-bleed images and custom designs for individual publishers’ articles.”

Read more of this story at Slashdot.

Apple In Talks To Buy Jay Z-Owned Tidal Streaming Service

See the original posting on Slashdot

An anonymous reader writes: The Wall Street Journal is reporting that Apple is in talks to acquire the Jay Z owned streaming service, Tidal. 9to5Mac reports: “While specific details are unclear at this point, Apple acquiring Tidal would give it an incredible leg up when it comes to negotiating for exclusive streaming rights. Tidal is currently owned by Jay Z and a variety of other artists, including Kanye West, Beyonce, Chris Martin, Jack White, and many more. Negotiations between Apple and Jay Z are reportedly still early and ‘may not result in a deal,’ according to the report. Apple is interested in Tidal because of its strong ties to artists, many of which are owners. Tidal has secured the exclusive streaming rights to a handful of notable albums in recent months, including Beyonce’s Lemonade and Kanye West’s The Life of Pablo.” Earlier this year, a report claimed that Samsung, Google and Spotify had all considered buying the streaming service.

Read more of this story at Slashdot.

Ask Slashdot: What’s Your Preferred Media Streaming Device?

See the original posting on Slashdot

New submitter bkr1_2k writes: Way back when, I had a PC dedicated as a media server using MythTV. That died and I didn’t bother building a new one. Consumer electronics caught up and I recently bought an Apple TV (3rd Generation) to use for streaming my media library. I am, unsurprisingly, finding flaws with it. I’m looking for alternative devices that allow me to stream from my media server directly, without the need for a middleman app like iTunes for the Apple TV. I don’t need a ton of streaming services (we have Netflix and Amazon Prime but don’t use anything else). I primarily want to use this for streaming my own music and movie libraries over my home network, preferably with a user interface that lets me browse those in a fashion that doesn’t force me to scroll through my whole library to get to the title that starts with the letter “Z” (A very poor design choice in the Apple TV). Nor do I want any voice controls since they all suck, in my experience. I would prefer an ‘open’ device that I can update at will with add-ons, but it’s not a requirement. What are the current options out there? Roku, Apple TV, Chromecast. Anything else that might fit my needs better? Last week, we asked a similar question: “What’s your preferred music streaming service?”

Read more of this story at Slashdot.

23% off Segway miniPRO Personal Transporter, Now Shipping – Deal Alert

See the original posting on JavaWorld

Forget hoverboards. The Segway miniPRO is a smarter, stronger and safer personal transporter, UL 2272 Certified for the highest standards of electrical and fire safety requirements established by Underwriter Laboratories. The miniPRO has large air-filled tires suitable for almost any terrain. Its innovative knee bar makes steering easy and precise, and its powerful lithium-ion battery will take you up to 14 miles on a single charge at speeds of up to 10 miles per hour. Automatic head and tail-lights produce maximum visibility night or day, personalized from a spectrum of 16 million color variations. It comes with a full-featured app, available for iOS and Android, that lets you personalize your miniPRO, activate anti-theft features, control your miniPRO remotely, and much more. It’s available to ship now, and its initial list price of $1,299 has been reduced for launch to $999. See or buy it now on Amazon.

To read this article in full or to leave a comment, please click here

Elizabeth Warren Says Apple, Amazon and Google Are Trying To ‘Lock Out’ Competition

See the original posting on Slashdot

Elizabeth Warren, an American academic and member of the Democratic Party, believes that Google, Apple, and Amazon are trying to use their size to “snuff out competition.” In a speech about the perils of “consolidation and concentration” throughout the economy, the Massachusetts senator singled out the three of tech’s biggest players. From a report:Warren had different beefs with Google, Apple and Amazon, but the common thread was that she accused each one of using its powerful platform to “lock out smaller guys and newer guys,” including some that compete with Google, Apple and Amazon. Google, she said, uses “its dominant search engine to harm rivals of its Google Plus user review feature;” Apple “has placed conditions on its rivals that make it difficult for them to offer competitive streaming services” that compete with Apple Music; and Amazon “uses its position as the dominant bookseller to steer consumers to books published by Amazon to the detriment of other publishers.””Google, Apple and Amazon have created disruptive technologies that changed the world, and … they deserve to be highly profitable and successful,” Warren said. “But the opportunity to compete must remain open for new entrants and smaller competitors that want their chance to change the world again.”

Read more of this story at Slashdot.

Google Is Adding a VR Shell To Chrome To Let You Browse the Entire Web In VR

See the original posting on Slashdot

An anonymous reader writes: While it’s possible to create and view specially built virtual reality ‘WebVR’ websites through today’s browsers, traversing the web in VR means taking your VR headset on and off as you come across VR websites and non-VR websites. Google is working to fix this by adding a ‘VR Shell’ to the Chrome browser that will render non-VR websites in a virtual environment, and allow seamless transitioning from them to WebVR sites. Recent developer builds of Chrome on Android reveal both the WebVR API and VR Shell directly integrated into the browser. The company is also working on adding support for headsets like the Oculus Rift and HTC Vive on desktop.

Read more of this story at Slashdot.

BMW, Intel, Mobileye Partner On Self-Driving Cars, ‘Turning Point For Automotive Industry’: Reports

See the original posting on Slashdot

BMW, Intel, and Mobileye NV are working to develop autonomous-car technology, reports Bloomberg, citing multiple sources. Senior executives from each company will hold an event on Friday to discuss the driverless-vehicle initiative, the report adds. From the article:Jerusalem-based Mobileye has been an early leader in providing cameras, software and other components that allow vehicles to see the world around them. BMW has been a client of Mobileye, along with General Motors Co. and Tesla Motors Inc. As automakers and their suppliers race to create systems to replace human drivers, most companies are betting on some form of artificial intelligence, which requires powerful processing.Reuters, citing one source, reports the same thing. The announcement will be a “turning point for the automotive industry,” Amnon Shashua, the chairman and co-founder of Mobileye.

Read more of this story at Slashdot.

IMAX Will Build You a Home Theater — Starting at $400K

See the original posting on Slashdot

An anonymous reader shares an Ars Technica report: If you have about $400K to spare, IMAX’s Private Theatre division will now build an IMAX cinema setup in your own home. The entry-level IMAX Private Theatre is the “Palais,” which starts at about $400,000 for a screening room with up to 18 seats. For your money you get dual 4K 2D/3D projectors, a proprietary IMAX sound system, and a media playback system that supports everything you might want to throw at it (TV, games, Blu-ray, etc.) No word on the exact specifications of the projectors, but they’re probably not IMAX-with-laser. Screen size will vary depending on the setup, but generally they will be 3 metres (10ft) tall or more. Stepping up to the “Platinum” IMAX home theatre for about $1 million gets you a much larger screening room with space for up to 40 people.

Read more of this story at Slashdot.

Google Reveals What N In Android N Stands For — Nougat

See the original posting on Slashdot

We finally know what N in Android N stands for: Nougat. Google made the announcement on Thursday. The Android maker always names smartphone operating system updates after candies and other sweet treats. The past few versions, for instances, are named Marshmallow, Eclair, Lollipop, and Marshmallow. Naming aside, Android N brings with it a range of interesting features such as multi-window support, better battery efficiency, and the ability to reply to messages straight from the notification. Enthusiasts who own a Nexus 6 or a newer Nexus device, can give a whirl to the preview of Android N on their device. The final version of Android N will be made available later this year.

Read more of this story at Slashdot.

Android’s new Awareness APIs can give apps amazing context-aware powers

See the original posting on JavaWorld

Android apps are about to get smart behaviors based on the state of your phone. Google announced a fresh set of Awareness APIs (first announced at Google I/O) are now available for developers to use in the latest version of Google Play Services.

The Snapshot API allows an app to get information about you based on the “current context,” such as location and weather conditions. The Fence API looks for a certain set of conditions like the use of headphones or type of movement. Google says it’s similar to the Geofencing API, only a lot more flexible.

To read this article in full or to leave a comment, please click here

Spanish Authorities Raid Google Offices Over Tax

See the original posting on Slashdot

An anonymous reader shares a Reuters report:Spanish officials raided Google’s Madrid offices on Thursday in a probe related to its payment of taxes, a person familiar with the matter said, barely a month after the internet company had its headquarters in France searched on suspicion of tax evasion. A spokeswoman for Google said in a brief statement the company complied with fiscal legislation in Spain just as it did in all countries where it operated. The company was working with authorities to answer all questions, the spokeswoman added. Google is under pressure across Europe from politicians and the public upset at how multinationals exploit their presence around the world to minimize their tax bills.

Read more of this story at Slashdot.

Event Sourcing From the Trenches: Domain Events

See the original posting on DZone Python

While visiting QCon New York this year, I realized that a lot of the architectural problems that were discussed there, could benefit from the Event Sourcing architecture style. Since I’ve been in charge of architecting such a system for several years now, I started to reflect on the work we’ve done, e.g. what worked for us, what would I do differently next time, and what is it that I still haven’t made my mind up about. After having discussed aggregates in my last post, let me share some of my thoughts on domain events.

Avoid CRUD Terminology

Don’t use terms like create, update, and delete in the names of your events. Business doesn’t talk in those terms, so you should’nt either. Stick to the terminology from your Ubiquitous Language that applies to the involved bounded context. Again, Event Storming will help here as well since the names will surface during the discussion with business.

Heart disease and cancer are responsible for nearly half of all deaths in the U.S., report says

See the original posting on LA Times Science

What are the most common ways to die in America? The answer depends on how old you are, whether you’re a man or a woman, and your racial and ethnic background, a new report shows.

Alzheimer’s disease accounted for 5% of deaths among U.S. women, for instance, but only 2.1% of deaths among men. Accidents…

US government advises sociopathic paranoia when traveling abroad

See the original posting on The Verge

Foreigners! They’re weird, and scary, and they talk different. What are they talking about? Is it you? It must be you. They want your secrets! Your amazing American secrets, the files and documents on things like fleet movements, spy satellite capabilities, and other national security questions that every upstanding citizen carries with them everywhere they go. Do you really want a foreigner looking at your delicious secrets, with their foreign brains and foreign eyes?

Luckily, the Office of the Director of National Intelligence is here to help, via the medium of patronizing and poorly produced short film. The 7-minute YouTube clip is titled “Know the Risk — Raise Your Shield: Travel Awareness” (more like Know the Risk: Excessive…

Continue reading…

Scientists Say The Asteroid That Killed The Dinosaurs Almost Wiped Us Out Too

See the original posting on Slashdot

HughPickens.com writes: Conventional wisdom states that mammalian diversity emerged from the ashes of the Cretaceous/Tertiary mass extinction event, ultimately giving rise to our own humble species. But Joshua A. Krisch writes at This Week that the asteroid that decimated the dinosaurs also wiped out roughly 93 percent of all mammalian species. “Because mammals did so well after the extinction, we have tended to assume that it didn’t hit them as hard,” says Nick Longrich. “However our analysis shows that the mammals were hit harder than most groups of animals, such as lizards, turtles, crocodilians, but they proved to be far more adaptable in the aftermath.” Mammals survived, multiplied, and ultimately gave rise to human beings.

So what was the great secret that our possum-like ancestors knew that dinosaurs did not? One answer is that early mammals were small enough to survive on insects and dying plants, while large dinosaurs and reptiles required a vast diet of leafy greens and healthy prey that simply weren’t available in the lean years, post-impact. So brontosauruses starved to death while prehistoric possums filled their far smaller and less discerning bellies. “Even if large herbivorous dinosaurs had managed to survive the initial meteor strike, they would have had nothing to eat,” says Russ Graham, “because most of the earth’s above-ground plant material had been destroyed.” Other studies have suggested that mammals survived by burrowing underground or living near the water, where they would have been somewhat shielded from the intense heatwaves, post-impact. Studies also suggest that mammals may have been better spread-out around the globe, and so had the freedom to recover independently and evolve with greater diversity. “After this extinction event, there was an explosion of diversity, and it was driven by having different evolutionary experiments going on simultaneously in different locations,” Longrich says. “This may have helped drive the recovery. With so many different species evolving in different directions in different parts of the world, evolution was more likely to stumble across new evolutionary paths.”

Read more of this story at Slashdot.

Sony is opening one last wave of PlayStation VR preorders in a few hours

See the original posting on The Verge

Sony first opened — and quickly closed — preorders for its PlayStation VR headset back in March, but now people in the US have one more chance to preorder the PlayStation 4-compatible virtual reality device. The company is opening a new wave of preorders at 7 AM PT (10 AM ET) on June 30th, it announced today, with a limited number of devices available through Gamestop’s online store.

Previously both the PlayStation VR Launch bundle ($499, packaged with the PlayStation Camera and Move controllers) and the core pack ($399, just the headset) were made available for preorder, but it’s not clear whether people who preorder from Gamestop in a few hours will be able to choose between the two options. Sony has confirmed this will be the last…

Continue reading…

Global counter-terrorism database World-Check leaks online

See the original posting on TechCrunch

Leak At least one non-authorized person obtained sensitive information following the leak of global counter-terrorism database World-Check, owned by Thomson Reuters.
Chris Vickery, a security researcher at the software company MacKeeper, posted on Reddit that a copy of the World-Check database from mid-2014 had come into his possession.
“No hacking was involved in my acquisition of this… Read More

1 2 3 124