SpaceX rockets fly with software you can find on your Android phone - CNET | Canada News Media
Connect with us

Science

SpaceX rockets fly with software you can find on your Android phone – CNET

Published

 on


NASA astronauts Bob Behnken, left, and Doug Hurley familiarize themselves with touchscreens inside the SpaceX Crew Dragon spacecraft. 


SpaceX

The software packages SpaceX uses inside its Falcon rockets, Dragon capsules and Starlink satellites are close cousins to programs that may be on your PC or phone.

NASA astronauts Bob Behnken and Doug Hurley used the foundation of Google’s Chrome browser — the most widely used browser in the world — every time they tapped the touchscreens that controlled the Crew Dragon capsule as it flew to the International Space Station on the last two days of May. And each SpaceX rocket and satellite uses a variation of the Linux operating system that powers each of the world’s billions of Android phones.

In a Reddit AMA that took place as Hurley and Behnken help out on the space station, SpaceX programmers revealed how Elon Musk’s company has worked to modernize its part of the space industry, a field that still relies on technology dating back decades. Software is less visible than some of the company’s imagination-grabbing hardware, like booster rockets that return to Earth and land themselves. But it’s every bit as important, because it controls all aspects of space flight. For example, software runs the SpaceX emergency abort sequence that lofts the Crew Dragon capsule away in the event a Falcon rocket explodes.

Crew Dragon’s Chromium interface

SpaceX uses Chromium, Google’s open-source foundation for the Chrome web browser, for the touchscreen user interface on the Crew Dragon, said Sofian Hnaide, a developer who worked on the Crew Dragon display technology used in the Demo-2 launch that carried the two astronauts to the space station. SpaceX began the effort to demonstrate its design ideas to NASA, but SpaceX stuck with it.

“We liked all the modern features that comes with browsers out of the box,” Hnaide said during the AMA, adding that Chromium gave SpaceX access to lots of programmers already skilled with the technology.

That means a web app written in HTML and JavaScript, just like millions of websites, is showing the astronauts what they need to see, and interpreting their taps and swipes. That’s a departure from traditional aerospace programming methods using lower-level languages.

Touchscreens exemplify SpaceX’s modernized computing approach, but the Dragon capsule also has more traditional hardware buttons for critical actions like responding to a cabin fire, said Wendy Shimata, who manages the Dragon software team. 

Linux inside Starlink

The Chromium-based interface connects to vehicle control software written in the C++ language and running on the open-source Linux operating system. SpaceX maintains its own Linux variant, said Josh Sulkin, leader of software design for SpaceX’s Crew Dragon capsule, but it’s a close cousin to the version running inside every Android phone.

SpaceX modifies Linux to support the company’s own hardware. It also enables real-time Linux options, which helps ensure the software responds to input reliably and quickly.

For Starlink, SpaceX’s growing network of satellites to deliver internet access to computers on Earth, “each launch of 60 satellites contains more than 4,000 Linux computers,” Sulkin said. Most of those govern tiny computers called microcontrollers with narrow but often important responsibilities.

“The constellation has more than 30,000 Linux nodes (and more than 6,000 microcontrollers) in space right now,” he said, referring to a computing system that’s part of a larger group working in parallel.

Modern methods

SpaceX incorporates not just modern software, but also modern software development methods like frequent updates.

SpaceX updates its Starlink software weekly, said Matt Monson, who leads Starlink software work and previously worked on the company’s Dragon. “By the time we launch a batch of satellites, they’re usually on a build that already [is] older than what’s on the rest of the constellation,” he said. “On this kind of project, pace of innovation is everything.”

SpaceX also held a week-long hackathon with astronauts Behnken and Hurley, letting them try the software during the day, then rebuilding it each night to incorporate their feedback for the next day’s tests.

SpaceX also uses A/B testing, which lets the company test changes on a subset of satellites, he said. It’s a method widely used in more conventional programming, for example to gauge whether a website loads faster.

Updates can be critical. “We’ve had many instances where a satellite on orbit had a failure we’d never even conceived of before, but was able to keep itself safe long enough for us to debug it, figure out a fix or a workaround, and push up a software update,” Monson said.

That isn’t to say software is fluid. The Crew Dragon software was locked down months before launch.

SpaceX computer security

Modern software means modern software problems, like security. SpaceX uses several security methods to keep its spacecraft, systems and data safe, said Jeff Dexter, who runs SpaceX’s flight software and cybersecurity programs.

For example, SpaceX uses end-to-end encryption to protect data sent to and from Starlink satellites from interception, and all hardware runs software signed by SpaceX to help block outside software, he said. It also runs automated tests to hunt for problems in software.

“We have a dedicated team that identifies how our vehicles and satellites could be hacked so we can eliminate or prohibit these sorts of threats when we’re building our vehicles,” Dexter said.

Even what SpaceX programmers do for fun sounds serious. One Redditor asked if they play Kerbal Space Program, a spaceflight simulator game good for those who enjoy orbital mechanics. 

Of course we play KSP,” Hnaide said.


Now playing:
Watch this:

SpaceX set to to take its first astronauts into space

4:28

Let’s block ads! (Why?)



Source link

Continue Reading

News

Here’s how Helene and other storms dumped a whopping 40 trillion gallons of rain on the South

Published

 on

 

More than 40 trillion gallons of rain drenched the Southeast United States in the last week from Hurricane Helene and a run-of-the-mill rainstorm that sloshed in ahead of it — an unheard of amount of water that has stunned experts.

That’s enough to fill the Dallas Cowboys’ stadium 51,000 times, or Lake Tahoe just once. If it was concentrated just on the state of North Carolina that much water would be 3.5 feet deep (more than 1 meter). It’s enough to fill more than 60 million Olympic-size swimming pools.

“That’s an astronomical amount of precipitation,” said Ed Clark, head of the National Oceanic and Atmospheric Administration’s National Water Center in Tuscaloosa, Alabama. “I have not seen something in my 25 years of working at the weather service that is this geographically large of an extent and the sheer volume of water that fell from the sky.”

The flood damage from the rain is apocalyptic, meteorologists said. More than 100 people are dead, according to officials.

Private meteorologist Ryan Maue, a former NOAA chief scientist, calculated the amount of rain, using precipitation measurements made in 2.5-mile-by-2.5 mile grids as measured by satellites and ground observations. He came up with 40 trillion gallons through Sunday for the eastern United States, with 20 trillion gallons of that hitting just Georgia, Tennessee, the Carolinas and Florida from Hurricane Helene.

Clark did the calculations independently and said the 40 trillion gallon figure (151 trillion liters) is about right and, if anything, conservative. Maue said maybe 1 to 2 trillion more gallons of rain had fallen, much if it in Virginia, since his calculations.

Clark, who spends much of his work on issues of shrinking western water supplies, said to put the amount of rain in perspective, it’s more than twice the combined amount of water stored by two key Colorado River basin reservoirs: Lake Powell and Lake Mead.

Several meteorologists said this was a combination of two, maybe three storm systems. Before Helene struck, rain had fallen heavily for days because a low pressure system had “cut off” from the jet stream — which moves weather systems along west to east — and stalled over the Southeast. That funneled plenty of warm water from the Gulf of Mexico. And a storm that fell just short of named status parked along North Carolina’s Atlantic coast, dumping as much as 20 inches of rain, said North Carolina state climatologist Kathie Dello.

Then add Helene, one of the largest storms in the last couple decades and one that held plenty of rain because it was young and moved fast before it hit the Appalachians, said University of Albany hurricane expert Kristen Corbosiero.

“It was not just a perfect storm, but it was a combination of multiple storms that that led to the enormous amount of rain,” Maue said. “That collected at high elevation, we’re talking 3,000 to 6000 feet. And when you drop trillions of gallons on a mountain, that has to go down.”

The fact that these storms hit the mountains made everything worse, and not just because of runoff. The interaction between the mountains and the storm systems wrings more moisture out of the air, Clark, Maue and Corbosiero said.

North Carolina weather officials said their top measurement total was 31.33 inches in the tiny town of Busick. Mount Mitchell also got more than 2 feet of rainfall.

Before 2017’s Hurricane Harvey, “I said to our colleagues, you know, I never thought in my career that we would measure rainfall in feet,” Clark said. “And after Harvey, Florence, the more isolated events in eastern Kentucky, portions of South Dakota. We’re seeing events year in and year out where we are measuring rainfall in feet.”

Storms are getting wetter as the climate change s, said Corbosiero and Dello. A basic law of physics says the air holds nearly 4% more moisture for every degree Fahrenheit warmer (7% for every degree Celsius) and the world has warmed more than 2 degrees (1.2 degrees Celsius) since pre-industrial times.

Corbosiero said meteorologists are vigorously debating how much of Helene is due to worsening climate change and how much is random.

For Dello, the “fingerprints of climate change” were clear.

“We’ve seen tropical storm impacts in western North Carolina. But these storms are wetter and these storms are warmer. And there would have been a time when a tropical storm would have been heading toward North Carolina and would have caused some rain and some damage, but not apocalyptic destruction. ”

___

Follow AP’s climate coverage at https://apnews.com/hub/climate

___

Follow Seth Borenstein on Twitter at @borenbears

___

Associated Press climate and environmental coverage receives support from several private foundations. See more about AP’s climate initiative here. The AP is solely responsible for all content.

Source link

Continue Reading

Science

‘Big Sam’: Paleontologists unearth giant skull of Pachyrhinosaurus in Alberta

Published

 on

 

It’s a dinosaur that roamed Alberta’s badlands more than 70 million years ago, sporting a big, bumpy, bony head the size of a baby elephant.

On Wednesday, paleontologists near Grande Prairie pulled its 272-kilogram skull from the ground.

They call it “Big Sam.”

The adult Pachyrhinosaurus is the second plant-eating dinosaur to be unearthed from a dense bonebed belonging to a herd that died together on the edge of a valley that now sits 450 kilometres northwest of Edmonton.

It didn’t die alone.

“We have hundreds of juvenile bones in the bonebed, so we know that there are many babies and some adults among all of the big adults,” Emily Bamforth, a paleontologist with the nearby Philip J. Currie Dinosaur Museum, said in an interview on the way to the dig site.

She described the horned Pachyrhinosaurus as “the smaller, older cousin of the triceratops.”

“This species of dinosaur is endemic to the Grand Prairie area, so it’s found here and nowhere else in the world. They are … kind of about the size of an Indian elephant and a rhino,” she added.

The head alone, she said, is about the size of a baby elephant.

The discovery was a long time coming.

The bonebed was first discovered by a high school teacher out for a walk about 50 years ago. It took the teacher a decade to get anyone from southern Alberta to come to take a look.

“At the time, sort of in the ’70s and ’80s, paleontology in northern Alberta was virtually unknown,” said Bamforth.

When paleontogists eventually got to the site, Bamforth said, they learned “it’s actually one of the densest dinosaur bonebeds in North America.”

“It contains about 100 to 300 bones per square metre,” she said.

Paleontologists have been at the site sporadically ever since, combing through bones belonging to turtles, dinosaurs and lizards. Sixteen years ago, they discovered a large skull of an approximately 30-year-old Pachyrhinosaurus, which is now at the museum.

About a year ago, they found the second adult: Big Sam.

Bamforth said both dinosaurs are believed to have been the elders in the herd.

“Their distinguishing feature is that, instead of having a horn on their nose like a triceratops, they had this big, bony bump called a boss. And they have big, bony bumps over their eyes as well,” she said.

“It makes them look a little strange. It’s the one dinosaur that if you find it, it’s the only possible thing it can be.”

The genders of the two adults are unknown.

Bamforth said the extraction was difficult because Big Sam was intertwined in a cluster of about 300 other bones.

The skull was found upside down, “as if the animal was lying on its back,” but was well preserved, she said.

She said the excavation process involved putting plaster on the skull and wooden planks around if for stability. From there, it was lifted out — very carefully — with a crane, and was to be shipped on a trolley to the museum for study.

“I have extracted skulls in the past. This is probably the biggest one I’ve ever done though,” said Bamforth.

“It’s pretty exciting.”

This report by The Canadian Press was first published Sept. 25, 2024.

The Canadian Press. All rights reserved.

Source link

Continue Reading

News

The ancient jar smashed by a 4-year-old is back on display at an Israeli museum after repair

Published

 on

 

TEL AVIV, Israel (AP) — A rare Bronze-Era jar accidentally smashed by a 4-year-old visiting a museum was back on display Wednesday after restoration experts were able to carefully piece the artifact back together.

Last month, a family from northern Israel was visiting the museum when their youngest son tipped over the jar, which smashed into pieces.

Alex Geller, the boy’s father, said his son — the youngest of three — is exceptionally curious, and that the moment he heard the crash, “please let that not be my child” was the first thought that raced through his head.

The jar has been on display at the Hecht Museum in Haifa for 35 years. It was one of the only containers of its size and from that period still complete when it was discovered.

The Bronze Age jar is one of many artifacts exhibited out in the open, part of the Hecht Museum’s vision of letting visitors explore history without glass barriers, said Inbal Rivlin, the director of the museum, which is associated with Haifa University in northern Israel.

It was likely used to hold wine or oil, and dates back to between 2200 and 1500 B.C.

Rivlin and the museum decided to turn the moment, which captured international attention, into a teaching moment, inviting the Geller family back for a special visit and hands-on activity to illustrate the restoration process.

Rivlin added that the incident provided a welcome distraction from the ongoing war in Gaza. “Well, he’s just a kid. So I think that somehow it touches the heart of the people in Israel and around the world,“ said Rivlin.

Roee Shafir, a restoration expert at the museum, said the repairs would be fairly simple, as the pieces were from a single, complete jar. Archaeologists often face the more daunting task of sifting through piles of shards from multiple objects and trying to piece them together.

Experts used 3D technology, hi-resolution videos, and special glue to painstakingly reconstruct the large jar.

Less than two weeks after it broke, the jar went back on display at the museum. The gluing process left small hairline cracks, and a few pieces are missing, but the jar’s impressive size remains.

The only noticeable difference in the exhibit was a new sign reading “please don’t touch.”

The Canadian Press. All rights reserved.

Source link

Continue Reading

Trending

Exit mobile version