Will JavaScript type annotations kill TypeScript?
The creators of Svelte and Turbo 8 both dropped TS recently saying that "it's not worth it".
Yes: If JavaScript gets type annotations then there's no reason for TypeScript to exist.
No: TypeScript remains the best language for structuring large enterprise applications.
TBD: The existing user base and its corpensource owner means that TypeScript isn’t likely to reach EOL without a putting up a fight.
I hope they both die. I mean, if you really need strong types in the browser then you could leverage WASM and use a real programming language.
I don’t know and I don’t care.

Autonomous Underwater Robot Hunts Invasive Fish Species

Sep 13th, 2018 11:00am by
Featued image for: Autonomous Underwater Robot Hunts Invasive Fish Species

Environmental conservation may seem like a relatively hands-on proposition: plant some trees, study or tag some endangered animals or work on the political level to improve regulations. However, new technologies are playing an increasingly larger role as well, as we’ve seen in real-life scenarios where drones are dropping vaccine pellets for endangered ferrets like glorified gumball machines, or protecting salmon by shooting lasers at lice, or even turning plastic trash into cash with blockchain tech.

Now students at Worcester Polytechnic Institute (WPI) are developing an underwater autonomous robot that uses machine learning to hunt and kill lionfish (genus Pterois), an invasive species of fish that originates from the tropical waters of the Indian and Pacific oceans, and which is now proliferating in the balmier zones of the Caribbean, Bahamas, and parts of south and east coasts of the United States.

According to the U.S. National Oceanic and Atmospheric Administration, there might be up to a million of these fish in these places where they have no natural predators to keep them in check. Ironically, genetic analysis indicates that these huge populations might be derived from only a few fish that were released into the wild from careless aquarium owners a couple of decades ago. Even more problematic is the fact that one lionfish can lay 30,000 eggs on a monthly basis, while voraciously devouring the young offspring of other species. There’s an interesting flip side, however; these invasive fish are also considered quite tasty for upscale palates and can fetch up to USD $20 per pound, making it a profitable catch for local fishermen.

“There are economic and environmental benefits to this, and the fish are delicious,” said Brandon Kelly, one of the team’s members. “I’ve seen the massive devastation caused by these fish and it really made me want to work on this project. We felt like we could create some change in the world.”

Up until now, invasive lionfish populations have been deliberately thinned out through trapping, or human scuba divers manually spearing them, but as one might guess, this is time-consuming and laborious, and these methods don’t tackle populations hidden among coral reefs or in the deeper stretches of ocean. Automated methods have been used too, but these require being tethered and controlled by a human operator.

Confronted with these factors, the students set out to build a robot that wouldn’t need a human managing it. WPI’s design looks quite menacing: it sports a revolving cylinder that can rotate and shoot out spears. Once deployed, the spear tip detaches and helps float up the dead lionfish up to the surface for collection. To compensate for the loss of mass equivalent to the spear, the robot has a watertight, air-filled chamber that automatically puffs up a bit to keep the robot at the same level of buoyancy.

Under the hood, the robot uses a neural network and machine learning, and integrates an advanced system for computer vision that is able to distinguish between other native species and lionfish. This was achieved by training the systems with thousands of lionfish images in different colors, taken in different angles and lighting conditions. Using this training data, the system is able to recognize a lionfish accurately 95 percent of the time. Images of human scuba divers were also fed into the system, to train it to not shoot at them.

In the future, the student team will work to create a navigation system that relies on a three-dimensional search grid, which the lionfish-hunting robot can use on its own in order to locate targets.

“The goal is to be able to toss the robot over the side of a boat and have it go down to the reef, plot out a course, and begin its search,” said Craig Putnam, associate director of the robotics engineering program at WPI. “It needs to set up a search pattern and fly along the reef, and not run into it, while looking for the lionfish. The idea is that the robots could be part of the environmental solution.”

Images: Christian Mehlführer (CC BY 2.5), Worcester Polytechnic Institute

Group Created with Sketch.
THE NEW STACK UPDATE A newsletter digest of the week’s most important stories & analyses.