Thursday, June 30, 2022

So this is how it feels when the robots come for your job: What GitHub's Copilot 'AI assistant' means for coders

JUNE 30, 2022, by Ben Swift, The Conversation

Credit: Shutterstock



I love writing code to make things: apps, websites, charts, even music. It's a skill I've worked hard at for more than 20 years.

So I must confess last week's news about the release of a new "AI assistant" coding helper called GitHub Copilot gave me complicated feelings.

Copilot, which spits out code to order based on "plain English" descriptions, is a remarkable tool. But is it about to put coders like me out of a job?

Trained on billions of lines of human code

GitHub (now owned by Microsoft) is a collaboration platform and social network for coders. You can think of it as something like a cross between Dropbox and Instagram, used by everyone from individual hobbyists through to highly paid software engineers at big tech companies.

Over the past decade or so, GitHub's users have uploaded tens of billions of lines of code for more than 200 million apps. That's a lot of ifs and fors and print ("hello world") statements.

The Copilot AI works like many other machine learning tools: it was "trained" by scanning through and looking for patterns in those tens of billions of lines of code written and uploaded by members of GitHub's coder community.

The training can take many months, hundreds of millions of dollars in computing equipment, and enough electricity to run a house for a decade. Once it's done, though, human coders can then write a description (in plain English) of what they want their code to do, and the Copilot AI helper will write the code for them.

Based on the Codex "language model," Copilot is the next step in a long line of "intelligent auto-completion" tools. However, these have been far more limited in the past. Copilot is a significant improvement.

A startlingly effective assistant

I was given early "preview" access to Copilot about a year ago, and I've been using it on and off. It takes some practice to learn exactly how to frame your requests in English so the Copilot AI gives the most useful code output, but it can be startlingly effective.

However, we're still a long way from "Hey Siri, make me a million dollar iPhone app." It's still necessary to use my software design skills to figure out what the different bits of code should do in my app.

To understand the level Copilot is working at, imagine writing an essay. You can't just throw the essay question at it and expect it to produce a useful, well-argued piece. But if you figure out the argument and maybe write the topic sentence for each paragraph, it will often do a pretty good job at filling in the rest of each paragraph automatically.

Depending on the type of coding I'm doing, this can sometimes be a huge time- and brainpower-saver.

Biases and bugs

There are some open questions with these sorts of AI coding helper tools. I'm a bit worried they'll introduce, and reinforce, winner-takes-all dynamics: very few companies have the data (in this case, the billions of lines of code) to build tools like this, so creating a competitor to Copilot will be challenging.

And will Copilot itself be able to suggest new and better ways to write code and build software? We have seen AI systems innovate before. On the other hand, Copilot may be limited to doing things the way we've always done them, as AI systems trained on past data are prone to do.

My experiences with Copilot have also made me very aware my expertise is still needed, to check the "suggested" code is actually what I'm looking for.

Sometimes it's trivial to see that Copilot has misunderstood my input. Those are the easy cases, and the tool makes it easy to ask for a different suggestion.

The trickier cases are where the code looks right, but it may contain a subtle bug. The bug might be because this AI code generation stuff is hard, or it might be because the billions of lines of human-written code that Copilot was trained on contained bugs of their own.

Another concern is potential issues about licensing and ownership of the code Copilot was trained on. GitHub has said it is trying to address these issues, but we will have to wait and see how it turns out.

More output from the same input

At times, using Copilot has made me feel a little wistful. The skill I often think makes me at least a little bit special (my ability to write code and make things with computers) may be in the process of being "automated away," like many other jobs have been at different times in human history.

However, I'm not selling my laptop and running off to live a simplelife in the bush just yet. The human coder is still a crucial part of the system, but as curator rather than creator.

Of course, you may be thinking "that's what a coder would say" … and you may be right.

AI tools like Copilot, OpenAI's text generator GPT-3, and Google's Imagen text-to-image engine, have seen huge improvements in the past few years.

Many in white-collar "creative industries" which deal intext and images are starting to wrestle with their fears of being (at least partially) automated away. Copilot shows some of us in the tech industry are in the same boat.

Still, I'm (cautiously) excited. Copilot is a force multiplier in the most optimistic tool-building tradition: it provides more leverage, to increase the useful output for the same amount of input.

These new tools and the new leverage they provide are embedded in wider systems of people, technology and environmental actors, and I'm really fascinated to see how these systems reconfigure themselves in response.

In the meantime, it might help save my brain juice for the hard parts of my coding work, which can only be a good thing.




Recommend this post and follow
Sputnik's Orbit




Posted by a human Chuck

Motorbike Riding Al Qaeda Chief Minced by US Hellfire Ninja Missile in Syria

Motorbike-riding Al Qaeda chief is MINCED by US Hellfire Ninja missile in precision drone strike on Syrian dirt road

  • The strike killed Abu Hamzah al-Yemeni, the leader of the Hurras al Din group
  • He was riding his motorbike when he was hit, most likely by an R9X 'Ninja' missile
  • The R9X is often used for similar surgical strikes to reduce collateral damage
  • It uses extendable blades and a heavy metal tip to shred its target rather than trigger an explosion 

A US drone strike in northwestern Syria has killed a leader of a local jihadist group affiliated to Al Qaeda.

The precision strike, carried out on Monday just before midnight on the eastern edge of the city of Idlib, killed Abu Hamzah al-Yemeni - the leader of the Hurras al Din group - as he was riding his motorbike along a dirt road.

Images from the scene showed the twisted remains of a motorcycle strewn across the ground, suggesting the missile scored a direct hit on its target.

US Central Command did not reveal the weapon used to carry out Yemeni's assassination, but in the past has deployed the fearsome R9X Hellfire 'Ninja' missile for similar surgical strikes.

'Abu Hamzah al-Yemeni was travelling alone on a motorcycle at the time of the strike,' US Central Command said in a statement, adding that an 'initial review indicates no civilian casualties.'

The R9X Hellfire missile has become one of the US military's favored weapons for precision assassinations as it carries a lower risk of collateral damage.

Developed during Obama's presidency amid concerns over the number of civilians being killed in drone strike campaigns in the Middle East, the 'ninja' missile is so nicknamed because it foregoes the use of an explosive warhead.

Instead, the R9X carries 45kg of reinforced metal in its tip with six extendable blades designed to shred the target upon impact without triggering a blast that could prove deadly to those nearby.

Fighters of jihadist group Hayat Tahrir al-Sham (HTS), which dominates northwestern Syria, carry away a mangled motorcycle after a US drone strike targeting a leader of a rival Al Qaeda-linked faction, Hurras al Din

Fighters of jihadist group Hayat Tahrir al-Sham (HTS), which dominates northwestern Syria, carry away a mangled motorcycle after a US drone strike targeting a leader of a rival Al Qaeda-linked faction, Hurras al Din

Fighters affiliated with the Hayat Tahrir al-Sham (HTS) jihadist group in Syria transport the remains of a motorcycle reportedly targeted in a drone attack on the eastern edge of Syria's rebel-held Idlib province, early on June 28

Fighters affiliated with the Hayat Tahrir al-Sham (HTS) jihadist group in Syria transport the remains of a motorcycle reportedly targeted in a drone attack on the eastern edge of Syria's rebel-held Idlib province, early on June 28

US Central Command didn't reveal the weapon used to carry out Yemeni's assassination, but in the past has deployed the fearsome R9X Hellfire 'Ninja' missile for similar surgical strikes

US Central Command didn't reveal the weapon used to carry out Yemeni's assassination, but in the past has deployed the fearsome R9X Hellfire 'Ninja' missile for similar surgical strikes

A US official with knowledge of the operation speaking on condition of anonymity told CNN the US was 'highly confident' that Yemeni was killed in the strike.

This was later confirmed by the Britain-based Syrian Observatory for Human Rights, which relies on a wide network of sources inside Syria.

An AFP reporter in Idlib said members of Hayat Tahrir al-Sham (HTS), a rival jihadist group that dominates the area, gathered at the scene of the strike shortly after it happened and took away Yemeni's charred remains.

Pictures later emerged of masked men loading the melted chassis of the motorbike onto a pickup truck for salvage. 

Monday's strike was the second US operation in June to target a senior jihadist in Syria.

US forces captured Hani Ahmed Al-Kurdi, a leader of the Islamic State (IS) group, on June 16 during a raid in Aleppo province.

They also killed IS leader Abu Ibrahim al-Hashimi al-Qurashi during an operation in Atme, a region of Idlib province, on February 3.

The motorbike, that was reportedly being ridden by jihadist leader Abu Hamzah al-Yemeni at the time of Monday's US drone strike in Syria, was badly damaged upon impact

The motorbike, that was reportedly being ridden by jihadist leader Abu Hamzah al-Yemeni at the time of Monday's US drone strike in Syria, was badly damaged upon impact

Hayat Tahrir al-Sham (HTS) members and local journalists take pictures of the site of a reported drone attack on the leader of Hurras al Din, an Al-Qaeda affiliate

Hayat Tahrir al-Sham (HTS) members and local journalists take pictures of the site of a reported drone attack on the leader of Hurras al Din, an Al-Qaeda affiliate

Hurras al Din is a relatively small but powerful armed group led by Al Qaeda loyalists, which was led by Yemeni until his death yesterday.

It's estimated to have 2,000 to 2,500 fighters in rebel-held Syria, according to the United Nations.

But HTS, whose leadership includes many ex-members of Al Qaeda's former Syria franchise, has tried to cast itself as a credible political force in the Idlib region, having gained momentum in recent years.

Since a 2020 ceasefire agreement reached by Moscow and Turkey, the main foreign broker in northern Syria, HTS has come under pressure to crack down on the myriad of other jihadist factions still present in Idlib.

Motorbike-riding terrorist is minced by spinning-blade missile in precision drone strike in Syria 

Wednesday, June 29, 2022

Space News: NASA launches CAPSTONE to test lunar orbit, tools for 'cosmic GPS'

 

NASA launches CAPSTONE to test lunar orbit, tools for 'cosmic GPS'


The CAPSTONE CubeSat will test the near rectilinear halo orbit (NRHO) for the eventual Gateway lunar orbit outpost and innovative navigation technology.



 NASA's CAPSTONE, a microwave oven-sized CubeSat, will fly in cislunar space – the orbital space near and around the Moon (Illustrative). (photo credit: NASA/Daniel Rutter)

NASA's CAPSTONE, a microwave oven-sized CubeSat, will fly in cislunar space – the orbital space near and around the Moon (Illustrative). (photo credit: NASA/Daniel Rutter)


NASA has launched its groundbreaking new orbiter in the Cislunar Autonomous Positioning System Technology Operations and Navigation Experiment (CAPSTONE) on Tuesday in a long-awaited mission that will help prepare for the future of space travel and lunar missions.

The satellite is an important step in testing a planned orbit that will hopefully be able to host NASA's Gateway outpost, a vital part of the eventual return to the Moon in the Artemis mission. Cislunar means the region outside Earth's atmosphere to just beyond the Moon's orbit.

In addition, CAPSTONE will also test important innovative navigational technologies, which will help spacecraft determine their own location in a sort of cosmic GPS.


Shoot for the Moon

The CAPSTONE mission is a big deal, but it will be accomplished by a relatively small satellite known as a CubeSat, which is just about the size of an average microwave oven and weighs just under 25 kilograms. 


 Dylan Schmidt, CAPSTONE assembly integration and test lead, installs solar panels onto the NASA CAPSTONE spacecraft at Tyvak Nano-Satellite Systems, Inc., in Irvine, California. (credit: NASA)

 Dylan Schmidt, CAPSTONE assembly integration and test lead, installs solar panels onto the NASA CAPSTONE spacecraft at Tyvak Nano-Satellite Systems, Inc., in Irvine, California. (credit: NASA)

But it has a big job to do.

It was launched onboard Rocket Lab's Electron rocket from its Launch Complex 1 in Mahia, New Zealand. In around six days, the satellite will be released into space by itself and will begin its four-month planned trip to the Moon.

After that, its real mission begins: Testing the Near Rectilinear Halo Orbit.

The NRHO itself is an elongated halo-shaped orbital path that is set at a very precise point between the gravitational pulls of the Earth and the Moon. This orbit should, in theory, provide a certain degree of stability and balance.

This is important because it makes the orbit the ideal location for NASA's bigger plan: Gateway.

The gate to the beyond

Gateway is a key part of the Artemis mission. Essentially, it is a small space station that will orbit the moon and can serve as a sort of space outpost.

The plan is that this small space station in the lunar orbit can provide extensive support capabilities for the Artemis mission and for future deep space exploration endeavors.


 A view of the full NASA Gateway configuration orbiting the Moon with Orion approaching Gateway (Illustrative). (credit: NASA/Alberto Bertolin/Flickr)

 A view of the full NASA Gateway configuration orbiting the Moon with Orion approaching Gateway (Illustrative). (credit: NASA/Alberto Bertolin/Flickr)

The plan is for Gateway to have spacecraft docking ports, crew living quarters and onboard science investigations to study a number of fields ranging from health to heliophysics. This is important because it would be on Gateway that many key technologies, capabilities and innovations can be developed to support planned explorations of the Moon and Mars.

But setting up Gateway is easier said than done. Crucially, we need to better understand the NRHO in order to launch it and set it up there.

And that is what CAPSTONE is doing.

The CubeSat will spend some six months exploring the orbit and testing its dynamics. This, in turn, will give us more data that will help reduce the risk facing future spacecraft.

In addition, CAPSTONE will also test spacecraft-to-spacecraft navigation technology and ranging capabilities.

This test will be done via the help of another spacecraft orbiting the Moon, NASA's Lunar Reconnaissance Orbiter (LRO), which has been there since 2009. Using CAPSTONE's onboard flight computer and radio, CubeSat should be able to communicate with the LRO and utilize data to pinpoint their distances from one another and calculate how fast the distance between them changes.

To put it more simply, LRO will be a reference point to determine CAPSTONE's location in space.

This test is an important evaluation of CAPSTONE's autonomous navigation software, known as the Cislunar Autonomous Positioning System (the CAPS in CAPSTONE). If it's successful, CAPS will allow spacecraft to pinpoint their location in space without the need to rely exclusively on communication and tracking from Earth as a sort of cosmic GPS.

This is important because currently, so much effort and antenna equipment go into tracking and communicating with spacecraft, which in theory could be used to prioritize scientific data instead. If all this equipment is no longer needed for tracking, it can instead focus on science and data-gathering.  

"CAPSTONE is an example of how working with commercial partners is key for NASA's ambitious plans to explore the Moon and beyond."

Jim Reuter

"CAPSTONE is an example of how working with commercial partners is key for NASA's ambitious plans to explore the Moon and beyond," Jim Reuter, associate administrator for the Space Technology Mission Directorate, said in a statement.

"We're thrilled with a successful start to the mission and looking forward to what CAPSTONE will do once it arrives at the Moon."

 

Follow the launch

Those who want to follow CAPSTONE on its journey can use NASA's interactive real-time 3D data visualization program, Eyes on the Solar System.

A week after launch, it will also be possible to virtually ride alongside CAPSTONE with a simulated view of the solar system.


Open-source and open hardware autonomous quadrotor flies fast and avoids obstacles

JUNE 28, 2022 **REPORT** , by Bob Yirka , Tech Xplore

Credit: Robotics and Perception Group

A team of researchers at the University of Zurich, has developed a highly agile quadrotor drone that is able to avoid obstacles and carry out trajectory tracking. In their paper published in the journal Science Robotics, the group describes how they designed their drone, what they put into it and how well it worked when tested.

Quadrotor drones can be very agile fliers, most particularly when they have a human pilot guiding their movements. Autonomous quadrotors, on the other hand, have suffered from agility issues, particularly when traveling at high speeds. In this new effort, the team in Switzerland has improved the agility of a quadrotor drone with their new design built using a variety of technologies.

https://youtu.be/y8tD4HPz-KQ
Credit: Science Robotics (2022). DOI: 10.1126/scirobotics.abl6259

The new design involved adding onboard vision sensors, monitoring systems for flight control and a host of other components meant to improve the ability of the drone to receive and process flight information in real time. They also added an advanced AI module, NVIDIA Jetson TX2—one that is able to carry out complex tasks supporting the drone's hardware quickly enough to allow for smooth agile flight.

The researchers tested their drone under a wide range of flights, from slow and steady, to full speed to obstacle avoidance. They found their drone capable of maintaining agility at speeds ranging from 50 to 70 kph. They also found it could conduct motion-capture trajectory tracking, where the drone continuously observes its position in the air and adds time instances to show where it is and when. They also tested its use in virtual reality simulations. And they also noted, that the system was able to learn as it went and because of that its performance improved over time.

In looking at the results of their testing, the researchers found that their drone outperformed other systems in both agility and obstacle tracking and avoidance. They suggest its performance raises it to the degree that it could be used for time-sensitive real-world missions, such as search and rescue operations and perhaps delivery of goods. The team has also made both the software and hardware open source, allowing anyone who wishes to use their design to do so.

The Agilicious software and hardware quadrotor platform are tailored for agile flight while featuring powerful onboard compute capabilities through an NVIDIA Jetson TX2. The versatile sensor mount allows for rapid prototyping with a wide set of monocular or stereo camera sensors. As a key feature, the software of Agilicious is built in a modular fashion, allowing rapid software prototyping in simulation and seamless transition to real-world experiments. The Agilicious Pilot encapsulates all logic required for agile flight while exposing a rich set of interfaces to the user, from high-level pose commands to direct motor commands. The software stack can be used in conjunction with a custom modular simulator that supports highly accurate aerodynamics based on BEM or with RotorS, hardware-in-the-loop, and rendering engines such as Flightmare. Deployment on the physical platform only requires selecting a different bridge and a sensor-compatible estimator.
 Credit: Science Robotics (2022). DOI: 10.1126/scirobotics.abl6259


Recommend this post and follow
Sputnik's Orbit




Posted by quad pedal Chuck

Tuesday, June 28, 2022

HMCS Kingston and Summerside Depart for Operation REASSURANCE

27.06.2022


Her Majesty’s Canadian Ships (HMCS) Kingston and Summerside departed for a four month deployment in the Baltic Sea and North Atlantic region on Operation REASSURANCE. Canada is deploying two Kingston-class Maritime Coastal Defence Vessels to contribute to NATO assurance and deterrence measures in Central and Eastern Europe.

Between July and October 2022, HMCS Kingston and Summerside will join Standing NATO Mine Countermeasures Group One. During Operation REASSURANCE, the ships will participate in NATO’s high readiness continuous at sea presence, which can quickly and effectively respond in support of any NATO operations.

HMCS Halifax and Montreal are currently on station as part of Operation REASSURANCE, and will return to Canada in July. The commitment to send two further vessels, this time to contribute to the mine countermeasures group efforts, demonstrates Canada’s continued commitment to NATO.

This will be the first deployment on Operation REASSURANCE for both ships. HMCS Summerside will deploy with an embarked Royal Canadian Navy clearance diving team, supported by mine countermeasure search capabilities using autonomous underwater vehicles aboard HMCS Kingston.

“I am very proud of our team, our shipmates in HMCS Kingston and members of the Fleet Diving Unit, deploying on Operation REASSURANCE. It is an honour to be part of Canada's commitment to working with NATO allies in the region as we operate in the European region. To our families, friends, loved ones and the greater defence community: thank you for your constant support!” Commander Jeffrey Anderson, Commander, Commanding Officer HMCS Summerside

“After months of preparation and training, I’m very proud of our shipmates in HMCS Summerside and Fleet Diving Unit. We are ready to continue the work on Operation REASSURANCE; Canada’s commitment to working with NATO to strengthen stability and security in central and eastern Europe. We are all leaving someone at home who cares about us, to them we owe the biggest thanks as their strength enables our success.” Lieutenant-Commander Jason Knowles, Commanding Officer HMCS Kingston

“I would like to wish fair winds and following seas to HMCS Kingston and HMCS Summerside as they depart for Operation REASSURANCE in the European region. These professional sailors will join Standing NATO Mine Countermeasures Group One; and will contribute unique strengths of a clearance diving team and mine countermeasure search capabilities to NATO’s high readiness continuous at sea presence. Their work will bolster the assurance and deterrence measures under the NATO flag, on behalf of Canada.” Captain (Navy) Julian Elbourne, Chief of Staff, Maritime Forces Atlantic Command

ADDITIONAL INFO

• Sending Royal Canadian Navy ships in support of NATO objectives provides Canada with the flexibility to execute a range of exercises and operations in real training environments with our internationals Allies. This helps support the international effort in the Baltic region, including surveillance, monitoring, and diplomatic engagement

• NATO is a cornerstone of Canada’s international security policy. Under Operation REASSURANCE, in support of NATO assurance and deterrence measures, the Canadian Armed Forces is maintaining a presence in European waters on a persistent rotational basis since 2014

• Canadian Armed Forces members are proud and honored to serve on Operation REASSURANCE. Their contribution further increases the Canadian Armed Forces’ ability to collaborate with other NATO nations by building on the achievements of previous rotations and continuing to develop their own capabilities in working with our Allies to enhance NATO readiness.



Recommend this post and follow
Sputnik's Orbit




Posted by little ship Chuck

https://chuckincardinal.blogspot.com/