One of my friends works at the STSCI on various visualization and simulation tools (all web-based, written in a modern stack!) for planning missions for this thing. It's a really really neat project.
The telescope itself is "scriptable" using a (truly ancient) version of JS via a really old implementation that I've seen referenced but can't find right now. There's a lot of open information about the JWST, but it's not widely reported on. Definitely worth checking out if you're interested in space, technology, and the systems we actually deploy into the void!
Oh lord, JavaScript goes to space. You thought losing the MCO because of Imperial units was embarrassing? Just wait until this $9 billion telescope explodes because [] == ![] or something.
(This was supposed to be humorous, just making sure)
Seriously though, considering how deeply every other aspect of this project was deliberated (presumably, given the cost involved) - how they could possibly end up going with Javascript is bizarre. You'd think there would be a preference for arbitrary precision and against undefined behavior.
I can't find the evaluation paper they cited in the second linked paper, but it looks like it's using Javascript because they wanted a COTS script engine (as opposed to running compiled code) that was compatible with VxWorks, and the particular Javascript engine they selected (ScriptEase) was presumably the best option they found back in 2003. I'm not really sure what all options they would have had in 2003 though.
Where does it say that the planning component is going to space? The web stuff seems to be for UI and is all ground based. i think that most Gui work these days is web based as we have forgotten how to do it in any other way.
Its like this: programmers who do ui move on to other things (mostly into stuff that gets you a higher sallary) and the new ones are left with the latest and greatest toolkits - all with their own set of weak points.
In fact, one of the major reasons for the $4B+ budget overage was the rewrite from plain Javascript to Backbone in 2012, again to Angular in 2014, and to React last year.
probably so astronomers can easily focus on their work - pointing the 'scope at stuff - and not worry about writing elegant/concise/reusable/succinct/$(feelgood adjective) code. I could understand it being used that way if it were for a limited scope (no pun intended) of operations, such as direction, focus, camera/sensor settings, etc. I'm sure they're not using JS to control thrusters or calculate trajectories.
Actually, us astronomers will never have to script anything with JS. They'll give us a GUI which will limit what we can do to strictly valid commands: e.g. point the telescope at this position in the sky and observe using this instrument for this much time.
There are plenty of languages that provide that same benefit of straightforwardness while also lacking warts and being even easier to embed; for example Lua, which was designed with express purpose of simplicity and ease of embedding.
The real answer is probably that in 2003 JS looked more interesting/good enough that it was chosen in this case.
I can understand the sense of "we just spent 8.7 billion dollars on this thing; we'd better not screw it up", but I wonder what the replacement cost would actually be if they had to launch another? Assuming they spent most of the money on R&D, it might actually be relatively cheap. Maybe we could even launch a couple smaller versions just to have backups and do the science tasks that don't require a full 21' mirror.
There's an interesting contrast between NASA's and Elon Musk's idea of what space exploration should be like; the former spends most of its efforts on one-off projects, whereas the latter is focused on making things cheap and repeatable and achieving reliability by iterating on a design rather than getting it perfect the first go-around.
Both approaches are needed, and certainly NASA paves the way for others to come along and do the same thing cheaper once it's been proven.
We currently have the 80 cm Spitzer telescope in space that covers the same wavelength range, and the 3.5 m Herschel telescope also recently finished its mission at slightly longer wavelengths. So really to make breakthroughs in science to justify the cost of a space mission, we need the full 6.5 m telescope.
There is also SOFIA [1] (2.5m telescope on an airplane), which can do certain far-IR things (mid-IR as well iirc).
For the VLT (8m ground-based telescopes) there is also VISIR [2] which is an mid-IR imager/spectrometer (and uses the same detector chip as one of the JWST instruments iirc).
Oh yeah, those do cover the same wavelength range. The atmosphere of the Earth absorbs a lot of the light and has a strong thermal background though. The sensitivity of JWST is orders of magnitude better than ground/airborne observatories [1], so things that JWST want to do will be basically impossible from the ground.
While I will gladly rant about my issues with how NASA handles things: NASA and Musk are trying to solve different problems
Musk's goal is affordable space travel
NASA's goal was space travel (and exploration) period.
That means everything is a prototype. As for why we don't re-use them that much: By the time a project is over, so much has been learned that it and said knowledge needs to be applied to the next round.
In the case of space telescopes and the like: Repairs are made (if memory serves, Hubble was the one that famously launched with defects and needed to be fixed in orbit). As for launching more smaller ones: There just isn't a huge need for it. Getting time on a telescope is something even a grad student can do and the timescales are such that there is very rarely a "we need this NOW! Screw everyone else and block off a few weeks for us" situation. And if there is? Odds are a LOT of people want that data anyway.
One way to think of it is like a gaming PC. Some people buy mid-end and make incremental updates over the lifecycle of the machine. Others go all out and just build a monstrocity with an i7 every 4-6 years.
You may not be able to do the kinds of science that will test the hypotheses you want to evaluate. We could build a lot of Zero Gradient Synchrotrons for what the Large Hadron Collider cost, but the ZGS isn't anywhere close to being powerful enough to measure the properties of the Higgs boson. Another example: For less than USD 500 an individual may outfit themselves with an optical telescope more accurate, more precise, and more powerful than anything available to Galileo or Kepler or Newton, but such a "cheap and repeatable" device will never be capable of sensing the gravitational waves detected by the LIGO and Virgo laser interferometers. Also, that $500 Celestron is only possible because of all of the one-off telescopes that came before it. You have to start somewhere, and NASA is that somewhere for space science.
Just because I can get 1,000 10 dollar optical microscopes for the cost of a single 10k electronic microscope does not mean that an equal about of science can be done.
This paper, from 2014, says that the Hubble space telescope is oversubscribed by 4:1 to 5:1. [1] That's a higher acceptance rate than most government funding grants these days (unfortunately). Perhaps it suggests that there is still a lot of unmet demand for good science to be done with it.
> what the replacement cost would actually be if they had to launch another?
I wonder if they considered just launching a repair-buddy satellite ? So basically a robotic toolbox with a ton of spare parts that could cover 95% of the possible failures of the thing. Then if they get it up there and find out the panels wont open, or the mirror gets stuck, they could pop it open and get it ready before they send it to the lagrange point.
You might as well just send up a second one, rather than send something that is 95% of the first one plus a very complicated system of robot arms to do arbitrary repairs and replacements.
It is interesting, but also perfectly appropriate within mainstream economic theory that a private corporation be responsible for the latter goals, and the former are with appropriate government subsidies.
I can assure you that there is very little design commonality between JWST and surveillance satellites. JWST is a very unique mission that is completely different from that of spysats.
This is probably unlikely as JWST is designed to fly in L2 and not in a geosynchronous orbit. Additionally, at the wavelengths it is operating at (mid-infrared), if it pointed towards Earth, it'd just see the heat of the Earth's atmosphere. Probably not very great for spying.
If you happen to be in the LA area, JPL hosts these talks once a month at their facility in Pasedena. They're free and open to the public, and they're always interesting. And if you can't attend they're also posted to the JPL website.
> A House subcommittee once voted to cancel it. Instead, the program was rebooted with a strict spending cap. ... The major change, said Jonathan P. Gardner, the deputy senior project scientist, was to simplify the testing of the telescope.
Ugh, that does not sound encouraging. Organizations love to cut testing and QA. After all, all they do is cost money, cause delays, and 'create' problems. Cutting them is an obvious way to bring a project under budget and on schedule.
Does anyone know what changes were made to testing?
We're going to be unhappy, and the advancement of astronomy delayed a long time, if something goes wrong. I don't see the next President and Congress wanting to raise revenue and spend more on science.
I believe the initial estimates for the budget were extremely optimistic. I believe after Congress almost cut funding on it, they came up with a very realistic budget and schedule and have been following it very closely since. I know people who are working on the testing, and it seems like they aren't cutting corners. So I wouldn't worry more than normal for deploying a 6.5 m telescope in space.
Is the top comment in this thread seriously someone claiming that "the telescope is "scriptable" using a (truly ancient) version of JavaScript via a really old implementation"? It's like the author of The Martian united with some oldschool C programmer to create a horror scenario.
"Ate astronomy" means it costs more than all the proposed big ground-based telescopes combined. The Overwhelming Large Telescope was considered too expensive at $1.5bn.
I've never been able to wrap my head around the scientific premise of hoping to observe radiation from the early universe. I studied physics in university but I was very crap at it and never graduated, so that might explain it.
The reason I can't is because I assume that the EM radiation that resulted from the Big Bang happened before we did (we as in our neck of the cosmos), and that radiation left the epicenter of the Big Bang before we did. Assuming that radiation has been moving radially outward since then, how can we hope to observe it yet it has a head start on us?
The Big Bang is not an event that happened in the universe. It's the event that brought forth the universe.
It's possible for us to observe, say, a supernova that exploded even before our solar system, for example, existed. But that supernova was an event in the universe, and it's light may take billions of years to reach another part of the universe and for entities in that part of the universe to now observe it, even if those entities didn't exist at the time the supernova exploded.
That I understand. But the Big Bang? Isn't that different? Isn't trying to observe the Big Bang a bit like trying to observe your own birth?
The guys got Nobel in 1978 for that, almost 40 years ago.
What you have to understand is that looking in the distance means looking at the older events. Eventually, we "see" the "glow" of the Big Bang (actually receive it with the radio telescopes). It's a specific glow of one specific phase of the development of the Universe, not of the "zero point" but the exact moment when the "baby-universe" was at the state to emit these photons. That happened some 380,000 years after the imagined "zero point of time."
The confusion that you have is that a lot of those who know that the Universe already existed before that glow that we observe are the researchers who when they speak about the glow aren't interested in the phase that will never be visible (and don't worry, there are also other researchers who are). So the popular accounts shorten it to "we see the Big Bang." Which is also true, as nothing else but the Big Bang can explain the glow. It's not "I said he said" it's an immense amount of very precise calculations of different very precise measurements that all have to fit, and the alternative "explanations" simply don't give the results. So the Big Bang it is. It's comparable to the fact that the humanity started to produce the globes ("the 3D models of how the Earth looks like from the distance") almost 500 years before it was really possible to see the Earth from the distance. It was all a lot of the measurements and a lot of the calculations.
And it matched (the better the measurements and the calculations were, the more it matched). If you want to learn more about the Big Bang radiation, it's easy to find, it's called CMB:
"The CMB is a snapshot of the oldest light in our Universe, imprinted on the sky when the Universe was just 380,000 years old. It shows tiny temperature fluctuations that correspond to regions of slightly different densities, representing the seeds of all future structure: the stars and galaxies of today."
This article contains a graph of the JWST programme's appetite.
While I'm looking forward (eagerly!) to that telescope's imaging, I am also really looking forward to what other projects become possible once it is no longer on the teat. (And the sooner the ISS burns up in the upper atmosphere the better for the exact same reason).
Yeah, honestly, I think I got anxious for the engineers just watching it. If any of that unfurling just hits one minor snag, it's 8.7 billion up in smoke.
Does anyone with more information about the telescope know how they are able to keep such tight tolerances given how the telescope deploys? For example, I remember the original Hubble telescope had a spherical aberration that amounted to less than the width of a human hair. Surely the way the side mirrors deploy, and the way the front mirror unfolds into place, can't have tolerances that tight. How does the telescope account for that potential variance?
The Hubble's problem wasn't tolerances but the mirror got produced with the wrong numbers. For the wrong numbers it was within tolerance :-). But yes, I am not sure if I could handle the stress on working on something like this for years and then watch it deploy without any possibility of fixing problems. This must be incredibly stressful.
Bringing up Webb is a six-month process after it gets on station. According to [1], in months 2 and 3 the mirror positions are adjusted to bring them into optimum optical alignment. I haven't found anything on the type of actuators used for this.
I know you're being facetious but the program to create the f35 was $55bn and that doesn't even get you a jet off the production line. And we've build jets for decades.
NASA must be doing outstanding work for what they get out of the money.
The telescope itself is "scriptable" using a (truly ancient) version of JS via a really old implementation that I've seen referenced but can't find right now. There's a lot of open information about the JWST, but it's not widely reported on. Definitely worth checking out if you're interested in space, technology, and the systems we actually deploy into the void!
Some papers: http://www.stsci.edu/~idash/pub/dashevsky0607rcsgso.pdf
http://arc-test.aiaa.org/doi/pdfplus/10.2514/6.2006-5747