Category Archives: Mathematics

Is There An Open-Source Doctor In The House?

OK, so I installed Gnucash on my machine last week, and it worked like a charm. I rebooted over the weekend after a yum update (which included a kernel rebuild I think) and now when I try to load the program, it crashes, with this response:

Backtrace:
In ice-9/boot-9.scm:
157: 16 [catch #t # …]
In unknown file:
?: 15 [apply-smob/1 #]
In ice-9/boot-9.scm:
3597: 14 [process-use-modules (((gnucash price-quotes)))]
702: 13 [map # ((#))]
3598: 12 [# (#)]
2864: 11 [resolve-interface (gnucash price-quotes) #:select …]
2789: 10 [# # …]
3065: 9 [try-module-autoload (gnucash price-quotes) #f]
2401: 8 [save-module-excursion #]
3085: 7 [#]
In unknown file:
?: 6 [primitive-load-path “gnucash/price-quotes” …]
In gnucash/price-quotes.scm:
41: 5 [#]
In ice-9/boot-9.scm:
3597: 4 [process-use-modules (((www main)))]
702: 3 [map # ((#))]
3598: 2 [# ((www main))]
2867: 1 [resolve-interface (www main) #:select …]
In unknown file:
?: 0 [scm-error misc-error #f “~A ~S” (“no code for module” (www main)) #f]

ERROR: In procedure scm-error:
ERROR: no code for module (www main)

Any ideas from anyone what the problem might be? I’ve tried uninstalling/reinstalling, with no joy.

[Update a few minutes later]

Someone else seems to have the same problem, or a very similar one. I’ve emailed Mssr. Villemont.

Also, I’ve come up with a temporary fix to let me get taxes done. Skrooge seems to be able to import the data. It’s more of a personal finance app than for business, but it will let me do what I need to do until I get Gnucash fixed.

[Update a few minutes later]

Great. I can import my personal finances, but it fails when it tries to bring in the business books.

[Update a while later]

Good news. I deleted the file recommended at that page, and Gnucash seems to load properly now.

Global Warming

The statistical meltdown:

The sensitivity of the climate to increasing concentrations of carbon dioxide is a central question in the debate on the appropriate policy response to increasing carbon dioxide in the atmosphere. Climate sensitivity and estimates of its uncertainty are key inputs into the economic models that drive cost-benefit analyses and estimates of the social cost of carbon.

Continuing to rely on climate-model warming projections based on high, model-derived values of climate sensitivity skews the cost-benefit analyses and estimates of the social cost of carbon. This can bias policy decisions. The implications of the lower values of climate sensitivity in our paper, as well as similar other recent studies, is that human-caused warming near the end of the 21st century should be less than the 2-degrees-Celsius “danger” level for all but the IPCC’s most extreme emission scenario.

That’s the wrong answer. It doesn’t justify ending capitalism.

Orbits And Suborbits

I’ve updated yesterday’s piece at Ricochet to clarify, for those in comments. I’ve probably discussed this here before, but…

Per discussion in comments, there seems to be some confusion about the difference between high-altitude flight, suborbital flight, and orbital flight. As John Walker points out, orbital flight requires a minimum speed to sustain the orbit, but while that is necessary, it is not a sufficient condition. In fact, a flight can be suborbital with the same speed (energy) as an orbital flight. The best, or at least, most rigorous way to define a “suborbit” is an orbit that intersects the atmosphere and/or surface of the planet. So if you launched straight up at orbital velocity, it would still be a suborbit, because it would (after an hour or two, I haven’t done the math) fall back to the ground. So John’s numbers in terms of comparative energy are roughly correct for the particular vehicles being discussed here (XCOR Lynx and VG SpaceShipTwo), they can’t be generalized for any suborbital vehicle (e.g., a sounding rocket isn’t orbital, but it goes much higher than those passenger vehicles, often hundreds of kilometers in altitude).

The speed necessary to achieve orbit is partly a function of the mass of the body being orbited, but it is also a function of its diameter, and whether or not it has an atmosphere. If the earth were a point mass, an object tossed out at an altitude equivalent to the earth radius (that is ground level) would have very little velocity, but it would have a lot of potential energy. It would fall, gain speed, whip around the center and come back up to the person who had tossed it. That is, it would orbit. So even for the relatively low-energy suborbital vehicles discussed in this post, the reason that they’re not orbital is simply that the planet gets in the way.

One other interesting point is that, under the definition above, subsonic “parabolic” aircraft flights in the atmosphere, to offer half a minute or so of weightlessness (offered by the Zero G company), are suborbital flights, in terms of their trajectory. I put “parabolic” in quotes because in actuality, if properly flown, they are really elliptical sections, as all orbits and suborbits are. The parabola is just a close approximation if you assume a flat earth, which is a valid assumption for the short distances involved. Galileo did his original artillery tables based on flat earth, which is why beginning physics students model cannonball problems as parabolas, but modern long-range artillery has to account for the earth curvature, and it does calculate as elliptical trajectories.

Finally, one more extension. Ignoring the atmosphere, every artillery shell fired, every ball thrown or hit, every long jumper, every person who simply hops up into the air, is in a suborbit. The primary distinction for the vehicles discussed is that they are in a suborbit that reaches a specific altitude (at least a hundred kilometers to officially be in “space”), and leaves the atmosphere.

Clear as mud?

Dreamchaser And Stratolaunch

I didn’t mention this earlier in the week, but SNC is teaming with StratoLaunch to get a subscale version into orbit. If it’s 75% scale, I figure that’s about 40% of the current interior volume, which lines up with their claim of being able to carry two or three passengers (the full-scale system is designed for seven). The big advantage of such a system would be single-orbit rendezvous, and runway landing, so if it happens, there’d certainly be a market niche for it.

USB Devices

I hadn’t realized they’re more than just memory:

“People look at these things and see them as nothing more than storage devices,” says Caudill. “They don’t realize there’s a reprogrammable computer in their hands.”

In an earlier interview with WIRED ahead of his Black Hat talk, Berlin-based Nohl had said that he wouldn’t release the exploit code he’d developed because he considered the BadUSB vulnerability practically unpatchable. (He did, however, offer a proof-of-concept for Android devices.) To prevent USB devices’ firmware from being rewritten, their security architecture would need to be fundamentally redesigned, he argued, so that no code could be changed on the device without the unforgeable signature of the manufacturer. But he warned that even if that code-signing measure were put in place today, it could take 10 years or more to iron out the USB standard’s bugs and pull existing vulnerable devices out of circulation. “It’s unfixable for the most part,” Nohl said at the time. “But before even starting this arms race, USB sticks have to attempt security.”

Caudill says that by publishing their code, he and Wilson are hoping to start that security process. But even they hesitate to release every possible attack against USB devices. They’re working on another exploit that would invisibly inject malware into files as they are copied from a USB device to a computer. By hiding another USB-infecting function in that malware, Caudill says it would be possible to quickly spread the malicious code from any USB stick that’s connected to a PC and back to any new USB plugged into the infected computer. That two-way infection trick could potentially enable a USB-carried malware epidemic. Caudill considers that attack so dangerous that even he and Wilson are still debating whether to release it.

Great.