News for hackers. Stuff that matters.
Re:Spacex Launch Webcast: Formosat-5 Mission by petetnt on Thursday August 24, 2017 @03:28PM (#15093233)
Spacex launched a satellite to the space and returned back to earth safely faster than our JenkinsCI builds most of our apps.
Re:Spacex Launch Webcast: Formosat-5 Mission by inetknght on Thursday August 24, 2017 @03:38PM (#15093314)
I'd blame your source code more than Jenkins. Our jenkins instance runs our CI in a couple of minutes.
Re:Spacex Launch Webcast: Formosat-5 Mission by InclinedPlane on Thursday August 24, 2017 @03:45PM (#15093376)
Not everyone is working on projects that are little more than CRUD webapps. I've worked on code that took hours to compile even on beefy machines.
Re:Spacex Launch Webcast: Formosat-5 Mission by btilly on Thursday August 24, 2017 @05:47PM (#15094330)
I've worked on code that took that long to compile, and the cause of the problem was usually bad recursive makefiles doing work over and over again.

At the other extreme I've also worked at Google and have seen insanely complex C++ code bases compile in 30 seconds flat.

Multiple hour build times usually show that nobody smart enough had the interest and authority to solve the problem properly. It doesn't generally mean that your project is awesome. It certainly isn't something that I would brag about.

Re:Spacex Launch Webcast: Formosat-5 Mission by InclinedPlane on Friday August 25, 2017 @02:24AM (#15096544)
OK, that's great for google, but "complex" doesn't necessarily mean much. Do you think the linux kernel devs are slouches? The gcc devs? Both of those projects take hours to compile on reasonable hardware, and that's not for lack of trying.

Also, sometimes it's not about code, it's about digital assets, which is going to be IO bound. I've worked on projects that took a full working day to do a clean compile and others where it was necessary to do binary integrations instead of code because the overall build time would otherwise be measured in days or weeks.

Re:Spacex Launch Webcast: Formosat-5 Mission by inetknght on Thursday August 24, 2017 @04:03PM (#15093562)
The software analyzes DNA, it's definitely not a webapp
Re:Spacex Launch Webcast: Formosat-5 Mission by hinkley on Thursday August 24, 2017 @03:56PM (#15093488)
I got a 300k line Java app down to seven and a half minutes including unit and functional tests. What are you working with?
Re:Spacex Launch Webcast: Formosat-5 Mission by tcoff91 on Thursday August 24, 2017 @04:01PM (#15093538)
Probably a giant C++ codebase. Our CI runs can take well over an hour. C++ compiles so damn slowly compared to Java.
Re:Spacex Launch Webcast: Formosat-5 Mission by inetknght on Thursday August 24, 2017 @04:05PM (#15093582)
You should probably hire better C++ developers if it takes that long.
Re:Spacex Launch Webcast: Formosat-5 Mission by unvs on Thursday August 24, 2017 @05:50PM (#15094352)
Maybe you shouldn't prejudge the quality of developers on a project you know nothing about
Re:Spacex Launch Webcast: Formosat-5 Mission by corndoge on Thursday August 24, 2017 @04:56PM (#15093984)
you should probably become more experienced in c/c++ development before sharing your opinion
Re:Spacex Launch Webcast: Formosat-5 Mission by btilly on Thursday August 24, 2017 @05:50PM (#15094355)
You should see how quick C++ compilation times can be a competent organization like Google before dismissing that opinion.
Re:Spacex Launch Webcast: Formosat-5 Mission by InclinedPlane on Friday August 25, 2017 @02:25AM (#15096547)
Are you talking about clean builds or incremental builds?
Re:Spacex Launch Webcast: Formosat-5 Mission by btilly on Friday August 25, 2017 @04:12AM (#15096956)
They usually do incremental builds. And a lot of work goes into reproducible builds so that incremental builds can be trusted. But even clean builds are typically minutes of wall-clock time. Not hours.

Of course part of the trick is that work has been distributed across a cluster, so a lot longer was spent compiling than that...

Re:Spacex Launch Webcast: Formosat-5 Mission by wutwutwutwut on Thursday August 24, 2017 @04:37PM (#15093838)
How long should a giant C++ code base take to compile?
Re:Spacex Launch Webcast: Formosat-5 Mission by inetknght on Thursday August 24, 2017 @05:10PM (#15094096)
How giant is giant?

I've seen tens of thousands of lines of code compile in 30 minutes.

I've seen a hundred thousand lines of code compile in 2 minutes.

It really depends on how the project is laid out. If you're using lots of header-only libraries and try to compile monolithically (like soooooo many C++ applications do these days), you're going to have a bad (compile) time.

Re:Spacex Launch Webcast: Formosat-5 Mission by baq on Friday August 25, 2017 @04:43AM (#15097035)
tens of thousands? that's small. we're talking MLOCs here.
Re:Spacex Launch Webcast: Formosat-5 Mission by snovv_crash on Thursday August 24, 2017 @05:05PM (#15094055)
With a good CMake configuration and Ninja and ccache, a minute or two max.

Your CMake makes incremental builds safe, and the ccache saves you when switching between branches.

Re:Spacex Launch Webcast: Formosat-5 Mission by inetknght on Thursday August 24, 2017 @05:14PM (#15094124)
CMake helps a good bit, ccache goes further, and ninja helps a bit too. But none of them can help templated header-only libraries with complex interdependencies. It gets particularly bad when the developer #includes a convenience header to bring in _everything_ in the library instead of just what they need.
Re:Spacex Launch Webcast: Formosat-5 Mission by snovv_crash on Friday August 25, 2017 @01:55AM (#15096417)
Agreed. Good use of PImpl when you have large external header-only libraries is also generally recommended to keep the dependency graph nicer.

Also from what I've seen, large header-only codebases tend to be external and thus generally don't change that much, so if you can limit your own internal dependency tree ccache can still save you.

Re:Spacex Launch Webcast: Formosat-5 Mission by cjnicholls on Thursday August 24, 2017 @03:02PM (#15092997)
Successful landing on Please read the instructions. 15 consecutive landings
Re:Spacex Launch Webcast: Formosat-5 Mission by greglindahl on Thursday August 24, 2017 @03:26PM (#15093206)
15 total landings, 11 of them in a row, not counting missions intended to be expendable.
Re:Spacex Launch Webcast: Formosat-5 Mission by roesel on Thursday August 24, 2017 @03:03PM (#15093005)
And as always, the live video feed of the landing was clunky :). They should nail one with a steady stream.
Re:Spacex Launch Webcast: Formosat-5 Mission by spookyuser on Thursday August 24, 2017 @03:09PM (#15093053)
The live feed is usually a little clunky when it's landing on the boat. The one from last week was crystal clear https://youtu.be/vLxWsYx8dbo?t=19m42s
Re:Spacex Launch Webcast: Formosat-5 Mission by cjnicholls on Thursday August 24, 2017 @03:06PM (#15093031)
It wasn't their best stream, others have been better. The achievement of landing and potentially reducing the cost is enough.
Re:Spacex Launch Webcast: Formosat-5 Mission by Diederich on Thursday August 24, 2017 @03:20PM (#15093154)
> potentially reducing the cost

Aren't we getting close to being safe to assume that this is actually true? They've already re-used a number of boosters. (:

Re:Spacex Launch Webcast: Formosat-5 Mission by cjnicholls on Thursday August 24, 2017 @03:30PM (#15093247)
I was playing safe, although i believe it does/will. I don't think they have publicly released prices for reuse and as such i thought it was a little too broad to state as fact.
Re:Spacex Launch Webcast: Formosat-5 Mission by jff on Thursday August 24, 2017 @03:05PM (#15093021)
Every time I've watched a landing, the video feed is janky. One might speculate that they don't want to live-stream an embarrassing failure but that seems a bit odd when it would be more embarrassing to have an explosion during launch, losing the payload.

Edit: vvvv that sounds quite reasonable, you'd think they'd do something like throw a buoy 100m away to house the actual satellite link and just do wifi from the barge to the buoy.

Re:Spacex Launch Webcast: Formosat-5 Mission by mikeash on Thursday August 24, 2017 @04:33PM (#15093808)
Keeping video feed going during the landing is way, way, way, way, way, way down the priority list. The video gets recorded, so they don't need this for analysis. It's purely a promotional thing, which is fun, but saving five seconds of the stream (even if it's an important five seconds) is only worth so much effort.
Re:Spacex Launch Webcast: Formosat-5 Mission by ceejayoz on Thursday August 24, 2017 @03:37PM (#15093306)
No need for speculation - the feed never cuts out on the return-to-launch-site landings. It's only wonky on the ship landings.

Bouys bounce around a lot - the drone ships have special station-keeping thrusters to stay in place.

Re:Spacex Launch Webcast: Formosat-5 Mission by bdonlan on Thursday August 24, 2017 @06:19PM (#15094551)
The rocket engines also put out a ton of ionized particles that can interfere with the satellite signal.
Re:Spacex Launch Webcast: Formosat-5 Mission by baq on Thursday August 24, 2017 @03:07PM (#15093041)
it's vibrations that shake the sat dish so much the link gets severed. convenient for them.
Re:Spacex Launch Webcast: Formosat-5 Mission by gozur88 on Thursday August 24, 2017 @06:22PM (#15094569)
You're underestimating the shock waves those engines produce. During launches you see camera footage from miles away shaking as the engines go to full power.

Of course there are solutions, but they're all expensive, and SpaceX has better things to spend money on. It's not like the footage doesn't exist - we're just not getting it live.

Re:Spacex Launch Webcast: Formosat-5 Mission by rory096 on Thursday August 24, 2017 @03:46PM (#15093386)
Just Read the Instructions*

(sorry for the pedantry)

Re:Spacex Launch Webcast: Formosat-5 Mission by huhtenberg on Thursday August 24, 2017 @04:01PM (#15093542)
Ahem... _Just_ Read the Instructions
Re:Spacex Launch Webcast: Formosat-5 Mission by detritus on Thursday August 24, 2017 @03:46PM (#15093381)
Boring.

.

Which is why it's beautiful, despite the less than brilliant connection :)

Like passenger planes leaving airports, I'll never not find this amazing.

Re:Spacex Launch Webcast: Formosat-5 Mission by imaginenore on Thursday August 24, 2017 @03:12PM (#15093074)
They were supposed to attempt to land/rescue some other part of the rocket this time. There was nothing about it in the webcast.
Re:Spacex Launch Webcast: Formosat-5 Mission by rory096 on Thursday August 24, 2017 @03:45PM (#15093377)
That'd be the fairing, the 'nosecone' that covers the payload during launch. It wasn't shown in the webcast because it has a low probability of success (they've made several attempts so far with varying degrees of accuracy and damage) and because there's no live feed from the fairing as it descends.

The aim is to get it to land in a predetermined spot in the ocean with steerable parafoils, then eventually to stick a 'bouncy castle' at that spot to soften the landing.

Re:Spacex Launch Webcast: Formosat-5 Mission by hinkley on Thursday August 24, 2017 @03:59PM (#15093514)
Didn't one of the mars rovers bring its own bouncy castle? Hollywood has since used that in several movies.
Re:Spacex Launch Webcast: Formosat-5 Mission by rory096 on Thursday August 24, 2017 @04:05PM (#15093574)
Yep — Pathfinder and the Mars Exploration Rovers (Spirit & Opportunity) both used airbags. NASA has since switched to the 'sky crane' method for Curiosity and the fortcoming Mars 2020 rover, lowering higher-mass payloads to the ground without contaminating the surface with rocket exhaust (as with Phoenix and the Vikings).
Re:Spacex Launch Webcast: Formosat-5 Mission by greglindahl on Thursday August 24, 2017 @03:24PM (#15093191)
People speculated that SpaceX might do something interesting with the second stage, but it's just speculation. The last time it was rumored something interesting was done with the second stage -- a test of longer-duration operations on the NROL-76 mission -- nothing was said before or after.
Re:Spacex Launch Webcast: Formosat-5 Mission by toufka on Thursday August 24, 2017 @04:00PM (#15093527)
This was apparently a very light payload, so there was lots of room for experimentation - attempts at recovering the fairings, and further speculation at playing with the second stage, and just playing with tolerances and approach angles given sunk cost of the extra launch power. Us fans don't always get to see or hear about those early experiments though.
Re:Spacex Launch Webcast: Formosat-5 Mission by InclinedPlane on Thursday August 24, 2017 @03:47PM (#15093403)
They've been working on fairing recovery for some time but they likely won't provide coverage until they've got all the parts sorted and can do it successfully.
Re:Spacex Launch Webcast: Formosat-5 Mission by phkahler on Thursday August 24, 2017 @03:47PM (#15093402)
The payload fairing. No word yet.
Re:Spacex Launch Webcast: Formosat-5 Mission by vermontdevil on Thursday August 24, 2017 @03:35PM (#15093289)
12th launch of this year. 50% increase from their prior best year.

They can make it to 20.

Re:Spacex Launch Webcast: Formosat-5 Mission by SlipperySeaCow on Thursday August 24, 2017 @03:04PM (#15093009)
Still mindblowing after 15 successful landings
Re:Spacex Launch Webcast: Formosat-5 Mission by tdalaa on Thursday August 24, 2017 @04:51PM (#15093943)
This is just so amazing. Just looks so effortless. Completely magical what they have accomplished in so little time. Thank you, Elon, for being so incredibly brave and persistent in your mission(s).
Re:Spacex Launch Webcast: Formosat-5 Mission by mabbo on Thursday August 24, 2017 @03:04PM (#15093013)
Did it sound to anyone else like they were shooting from inside the SpaceX cafeteria?
Re:Spacex Launch Webcast: Formosat-5 Mission by bbatsell on Thursday August 24, 2017 @03:10PM (#15093062)
They do. The partial second floor overlooking mission control is the SpaceX cafeteria.
Re:Spacex Launch Webcast: Formosat-5 Mission by Dimitris on Thursday August 24, 2017 @03:06PM (#15093025)
yes, thought exactly the same!
Re:Spacex Launch Webcast: Formosat-5 Mission by jacquesm on Thursday August 24, 2017 @03:29PM (#15093239)
I've seen each and every one of these and it never tires.
Re:Spacex Launch Webcast: Formosat-5 Mission by johnvega on Thursday August 24, 2017 @05:12PM (#15094102)
Same here. Still watch recorded in cases I missed live webcast although much less exciting. I hope ride up there within the next 20 years, hopefully sooner.
Re:Spacex Launch Webcast: Formosat-5 Mission by shmerl on Thursday August 24, 2017 @04:21PM (#15093717)
When is their low orbit ISP coming?
Re:Spacex Launch Webcast: Formosat-5 Mission by gt565k on Thursday August 24, 2017 @03:03PM (#15093001)
Stuck the landing right in the center.. the accuracy is just amazing
Re:Spacex Launch Webcast: Formosat-5 Mission by gozur88 on Thursday August 24, 2017 @06:25PM (#15094590)
I'm more impressed they're able to do it with a rocket that can't hover.