Someone on Medium Just Said C++ Was Better Than C

Slashdot - Sat, 01/04/2017 - 5:34pm
Developer David Timothy Strauss is publishing a call to code "straightforward, easy-to-reason-about approaches" -- in an essay titled "Choosing 'Some C++' Over C". (Alternate title: "C++ for Lovers of C." The problem with just picking C++ is that most criticism of it is legitimate. Whether it's the '90s-era obsession with object orientation and exceptions or the template errors that take up an entire terminal window, there have been -- and remain -- rough edges to C++. But, these rough edges are avoidable, unlike the problems in C that get worse with modern event and library programming. The opinionated essay calls for "adopting a subset of C++ to smooth out C's rough edges," arguing that C++ offer a better, type-safe approach for event-driven design (as well as destructors to avoid memory allocation leaks). Are there any readers who'd like to weigh in on the advantages of C versus C++?

Read more of this story at Slashdot.

Categories: Science

Robots Could Solve the Lionfish Ecological Disaster

Slashdot - Sat, 01/04/2017 - 4:34pm
"Lionfish are an invasive species that are destroying our coral reefs and fisheries," writes SkinnyGuy. "The non-profit RISE (from iRobot's Colin Angle) has a plan to use robots to fish these Lionfish and serve them up to us on a delicious, golden platter." Mashable reports: This was not as crazy of an idea as it sounds and Angle had already been wondering "if there was still a way to use robot technology to solve larger environmental problems and maybe more proactively than merely sending our defense robots to natural disaster zones"... Could, Angle wondered, a robot even do the job and could it do it at scale? "Spending half a million dollars to build a robot that kill 10 lionfish is absurd," he told me... They started with fresh-water electro fishing technology and adapted it for salt water. The robot stuns, but doesn't kill the lionfish and then it sucks them into the robot. It does this over and over again, until full of unconscious fish and then rises to the surface where a fisherman can unload the catch and deliver them to waiting restaurants and food stores. "Ultimately, the control of this device is like a PlayStation game: you're looking at screen and using a joystick controller. Zap it, catch it, do it again, said RISE Executive Director John Rizzi who told me that a team of unpaid volunteers have been working on the prototype for over a year." The fish-killing robot will launch in Bermuda at the America's Cup festivities on April 19th, where there'll also be a celebrity chef lionfish cook-off and other events to help raise money "to further developer, build and deliver these robots to commercial fishermen and women."

Read more of this story at Slashdot.

Categories: Science

There's A New New JavaScript Framework

Slashdot - Sat, 01/04/2017 - 3:34pm
An anonymous reader quotes InfoWorld: Mithril, an open source JavaScript framework for single-page applications, is looking to best Facebook's React, Google's Angular, and Vue JavaScript tools in performance and ease of use. The framework is small and fast, and it provides routing and XHR (XMLHttpRequest) out of the box. Mithril also offers benefits in relative density, lead developer Leo Horie said. "It's possible to develop entire applications without resorting to other libraries, and it's not uncommon for Mithril apps to weigh a third of other apps of similar complexity." Horie said that the framework feels closer to vanilla JavaScript. Mithril's website features a comparison to Angular, React, and Vue. Mithril, for example, offers much quicker library load times and update performance than React, and it has a better learning curve and update performance than Angular. Compared to Vue, Mithril supposedly offers better library load times and update performance. Since its initial release, version 1.0.1 has added performance improvements in IE, while 1.1.0 added support for ES6 class components and support for closure components.

Read more of this story at Slashdot.

Categories: Science

OS/2-Based 'Arcanos 5.0' Has Finally Been Releas -- Oh Wait, No It Wasn't. Never Mind.

Slashdot - Sat, 01/04/2017 - 2:34pm
"Because we want ArcaOS 5.0 to be the best that it can be, Arca Noae has made the difficult decision to delay release two weeks, with a new projected delivery date of April 15, 2017," reads a new announcement on the Arca Noae web site. Because we don't believe in selling anything we are not ready to ship, we will not be taking pre-orders for ArcaOS 5.0. Please be patient while we get the last few things as they should be, so that your experience installing and using ArcaOS 5.0 is as smooth as possible. One of last week's most popular stories was about the upcoming release of this x86 OS/2-based operating system (codenamed "Blue Lion") which will offer full backward compatibility with legacy OS/2, DOS and Windows 3.1 applications, as well as "ported Linux applications." It's still on its way, the developers explain, but "Finishing touches can often take longer than expected."

Read more of this story at Slashdot.

Categories: Science

The Conservative Case Against Trashing Online Privacy Rules

Wired News - Sat, 01/04/2017 - 2:15pm
A mere 15 Republicans crossed party lines this past week to vote against the repeal of online privacy protections. It doesn't have to be this way. The post The Conservative Case Against Trashing Online Privacy Rules appeared first on WIRED.
Categories: Science

New CGI Script Shows Random Slashdot Stories

Slashdot - Sat, 01/04/2017 - 1:48pm
An anonymous reader writes: I wrote a CGI script that displays a random Slashdot story! Every time you refresh the page, it displays a different story from the year 2016. And you can also just load stories from a specific editor -- whipslash, BeauHD, msmash, and EditorDavid.

Read more of this story at Slashdot.

Categories: Science

Show SN: I Wrote A CGI Script

Slashdot - Sat, 01/04/2017 - 1:48pm
An anonymous reader writes: I wrote a CGI script that displays a random Slashdot story! Every time you refresh the page, it displays a different story from the year 2016. And you can also just load stories from a specific editor -- whipslash, BeauHD, msmash, and EditorDavid.

Read more of this story at Slashdot.

Categories: Science

Telcos Gear Up To Fight Facebook and Google Over How You Log Into Websites

Slashdot - Sat, 01/04/2017 - 1:16pm
Mashable has an interesting article that talks about the penetration of "social authentication" services: There are two ways to log in on websites: try to recall the email address and password you registered with -- or simply hit the "Facebook Login" button. The convenience of the latter underscores the popularity of social authentication options. You'll see Facebook and Google login buttons on popular sites including Netflix, Uber, Spotify, Imgur and Linkedin, just to name some. Facebook itself estimates that some 350 million people log into a new app or site with their Facebook credentials every month. Olga Kuznetsova, Engineering Manager at Facebook told us that the Facebook Login button ranks in the top three of consumer account creation and sign-in preferences worldwide. More than 85 of the top 100 apps in the U.S. market use Facebook's Login gateway as a login, she added. For years, Google and Facebook have assumed control over the social authentication space, the article adds, citing numbers from companies and analysts. But interestingly, telecom operators are prepping to fight for a slice of the space. So-called mobile identity is one of several projects being developed in the industry to reinforce the position of network operators, which have already suffered an erosion of their traditional communications businesses by the rise of large US technology groups such as Facebook and Google, analysts say. The article adds: Mobile Connect is an authentication solution that the GSMA, the global telecoms industry trade organisation, has been working on for over three years. Through Mobile Connect, GSMA is offering users a much more convenient and "more secure" sign-in option, Jaikishan Rajaraman, global head of technology at GSMA said. The authentication service only requires users to enter their phone number when signing in. There is no password box. When a customer enters her phone number, her carrier (telecom operator, in this case) vouches for her identity. Incredibly, over 42 operators in 22 nations are on-board with Mobile Connect, and the service is already live to over 3.1 billion people. The article adds that GSMA is in talks with governments to add Mobile Connect on their websites and apps. Interestingly, banks, that have long resisted the idea of having Google's and Facebook's authentication service, are also showing interesting.

Read more of this story at Slashdot.

Categories: Science

New Device Produces Hydrogen Peroxide for Water Purification

Science Daily - Sat, 01/04/2017 - 1:04pm
Producing and distributing hydrogen peroxide is a challenge in many parts of the world. Now scientists have created a small device for hydrogen peroxide production that could be powered by renewable energy sources, like conventional solar panels.
Categories: Science

Beyond genomics: Using proteomics to target tumors

Science Daily - Sat, 01/04/2017 - 1:04pm
Pioneering methods to measure proteins that serve as tumor markers have been developed.
Categories: Science

E-cigarette flavors linked to use in youth and young adults, researchers report

Science Daily - Sat, 01/04/2017 - 1:02pm
Flavored e-cigarettes and e-cigarette marketing could be increasing e-cigarette use among youth and young adults, according to researchers.
Categories: Science

In Photos: SpaceX Launches, Lands 1st Reused Falcon 9 Rocket

Space.com - Sat, 01/04/2017 - 1:01pm
On March 30, 2017, a SpaceX Falcon 9 rocket launched the SES-10 communications satellite into orbit from Pad 39A at NASA's Kennedy Space Center. See photos from the launch — which also included the successful landing of the rocket's first stage — here.
Categories: Science

Donnie Darko Is No Cult Classic—It’s a Straight Up Classic

Wired News - Sat, 01/04/2017 - 1:00pm
Richard Kelly's film has gone from obscure to cult fave to full-on classic. The post Donnie Darko Is No Cult Classic—It’s a Straight Up Classic appeared first on WIRED.
Categories: Science

Europa Lander Work Continues Despite Budget Uncertainty

Space.com - Sat, 01/04/2017 - 12:39pm
The NASA team studying a lander mission to Jupiter's moon Europa says their work is continuing even though the White House is requesting no funding for the mission in its latest budget.
Categories: Science

April Fools' Comet Passes by Earth, Took Nearly a Century to Identify

Space.com - Sat, 01/04/2017 - 12:20pm
A comet whose identity took nearly 100 years to pin down is making its closest approach to Earth today (April 1), just in time for April Fools' Day, NASA officials said. It's the comet's closest Earth encounter in more than 50 years.
Categories: Science

Ringo Is a Beatle, Hawaii Is a State—Why Isn’t Pluto a Planet?

Space.com - Sat, 01/04/2017 - 12:16pm
After more than a decade of controversy, the debate over the icy world's demotion to "dwarf planet" status shows no sign of stopping
Categories: Science

Nano-Scale Materials Could Shield Devices From Extreme Environments in Space

Space.com - Sat, 01/04/2017 - 12:14pm
An atoms-thick layer that would act as a protective coating for sensors could potentially enable scientific equipment to survive on Venus without being crushed or toasted.
Categories: Science

Space Photos of the Week: Mystery Supernova Won’t Say Where It’s From

Wired News - Sat, 01/04/2017 - 11:00am
Behold swirling storms on Jupiter, a monstrous black hole, and the Milky Way's galactic bulge. The post Space Photos of the Week: Mystery Supernova Won’t Say Where It’s From appeared first on WIRED.
Categories: Science

March’s Best Stuff: Flagship Phones, Dope Wireless Speakers

Wired News - Sat, 01/04/2017 - 11:00am
Some things we loved last month, from the Samsung Galaxy S8 and the red iPhone 7, to the tiny wireless UE Wonderboom and the big Sonos Playbase. The post March's Best Stuff: Flagship Phones, Dope Wireless Speakers appeared first on WIRED.
Categories: Science

Want to Play Scrabble Like a Pro? Here’s Your Memory Trick

Wired News - Sat, 01/04/2017 - 11:00am
The strategy, called retrieval practice, is a type of mental doing: It's a way to create the webs of meaning that support what we know. The post Want to Play Scrabble Like a Pro? Here’s Your Memory Trick appeared first on WIRED.
Categories: Science