Saturday, September 30, 2017

Ken Burns Vietnam.


Watched I think all but a few mins here/there.

Impressive. I learned a good bit.

I'm just enough too young to have turned 18 after we were completely out, and in that weird late-70s birthdate-window of about 2 years where you didn't even have to register for the draft  at all. So I didn't.

Young enough also that it mostly all happened when I wasn't really hearing about it. Plus, I spent a number of those years in several somewhat isolated places (Air Force Academy, for example, about as isolated as you could get and still have running water; I grew up in the military, my dad was IN Vietnam for most of a year).

So while I sort-of remembered a lot of the names of locations, I don't really remember why.


The whole thing was a huge cock-up. That seems to stem from a few factors:

1) This horrific post-WW2 Communist boogeyman fear. That messed us up all by itself, with HUAC and related crap. Some of us got convinced that anywhere something called itself communist was by definition going to end up being the equivalent of an eastern-european Soviet satellite/barrier/puppet state, sporting nuclear missiles like Cuba did at one point (and that episode we brought on ourselves, thanks JFK). The "domino theory" was stupid, although if you are fear-driven it seemed reasonable. You how it played out--no dominos.

2) WW2 was the last "good" or "clean" war. The veterans of that war were the parents of the draftees for Vietnam. And we'd created and heard endless stories about that having been a just war--where we were clearly "the good guys". So that's what we thought war was about.

3) Racism. This still haunts us. One required stage in war is the dehumanization of the enemy. There was plenty of residue of that from Korea (which was also really nasty, but not in the same way). So when both North and South Vietnamese "look alike" -- which is "enemy" ? And when they're all "gooks" (leftover word from Korea, or older?), smelly unattractive heathens who need the guiding hand of the white man who can help extract their country's natural resources for them and educate them in the proper ways of civilization and religion…well, we're starting out wrong. And our own racism in-squad about other Americans. It's a wonder there weren't more friendly-fire episodes (recall how Willem Dafoe dies in Full Metal Jacket?).

4) We really didn't understand the region. We understood/feared communism, or so we thought. Ho Chi Minh called the North "communist", but really the struggle was a fight for freedom from foreign invaders--and that included us, it was not a fight to become communist, that was just an excuse to receive guns and ammo from China/USSR. The NVA/VC were willing to fight to the last man/woman/child to get rid of us, which was not something we had ever actually experienced--all our experiences had had an "enemy" that was going to surrender at some point (well, except Korea, which in retrospect, wasn't that different from Vietnam). But while NVA/VC accepted military weapons from China and USSR, they didn't intend to be puppets of either one; this same bucket of Stupid got repeated by us a number of places in Latin America, except that we weren't committing troops, just money, to corrupt regimes that would more or less say "Give us money to fight off these locals who want to become communist leadership", but were going to fight them off anyway, they just scammed us for the money.

5) The South Vietnamese government, military, etc., one big corrupt kleptocracy (I sure didn't know that). They weren't good enough themselves to win--they weren't even trying hard. And we couldn't fight their civil war for them. (well, we *could* have, but that wasn't going to work.) 

6) The local situation had been badly handled from the beginning. Which is 100 years earlier near the end of the european-powers colonial period, which was driven by religion, racism, and greed and its own supremacy battles that had raged for centuries.

7) Women and kids as combatants. That was awkward for us--completely out of our experience, but not unusual for freedom fighting.


So the NVA/VC are freedom fighters. "One mans terrorist is another man's freedom fighter." They want to reunify N/S, with themselves in charge of course, after the stupid partitioning that occurred after WW2 ended, that let the French back in. The Vietnamese was in the 50s to get rid of the French didn't teach us anything, and USA looked way too much like more Frenchies.

And the whole thing was a big nasty episode from beginning to end, full of The Stupid, for which we have paid a huge price.


One thing I thought was interesting: The Revolution was televised. Unlike Ken Burns Civil War, where he did find a bunch of still photos (classic Matthew Brady), Vietnam seemed to have a film photographer in every squad and cameras running all the time. So some of those otherwise iconic photos we all remember vividly: the NV spy getting shot in the street, the burning naked girl…those weren't just stills, they were filmed for minutes. I had no idea. I didn't watch the news (didn't really watch ANY tv, same as now).

It was clear that we weren't going to win if we fought the limited war we tried to fight with inadequate troops, on the VC/NVA terms. Recall that last episode? Where NVA brings a long column of mechanized infantry down the trail, and gets the snot knocked out of them by B-52 firepower? Yeah, that was where they battled on *our* terms, and we clobbered them--because all our military thinking was still about how to fight a tank-battle in europe, and suddenly they gave us the opportunity to do so. They had no experience with that, and we had decades of planning and experience. (And, weirdly, that was till the planning approach for an expected direct conflict with USSR--a tank battle in europe: tank battle, Fulda Gap.) (And thus the massive, quick win in Gulf War 1991--Iraq was dangerously stupid about what they could/not do versus what we could do, they massed a load of mechanized ground forces, completely didn't understand air power, and we pounded them flat in a matter of weeks, and then made the same error we made in 1945: we didn't go to Baghdad and knock over the Iraqi gov't. (In 45 we should have rolled into Moscow…imagine if we had knocked over the USSR communist gov't: no cold war, no...Vietnam)

So of course we lost. It was really inevitable. 

Also a stark recognition: the similarity to the post-9/11 wars in Iraq and Afghanistan was stunning. We learned nothing. The battlefield changed from jungle to urban, or rocky mountainous areas--no one could hide, and the fight was similarly nasty, a large guerrilla war (not a clean fight against nazis that behaved like a normal army), and the enemy looks just like the not-enemy, but we are still the foreign invaders.

And Vietnam divided us like nothing other than the Civil War--we learned that we can't trust the government. Can't trust the President. We don't all have the same definition of Patriotism--that continues to be divisive.

Glad to see that Burns used all the music from the era. You can't really separate that time from its music. Pressure creates diamonds, and there were quite a few. I was surprised to NOT hear Barry Sadler's song Green Berets.


We handled the return of soldiers badly. There was so much other social trauma going on here, and Vietnam was not separable from it.


I hope that for a lot of folks who were there that this sparks the cathartic opportunities they need to finally talk about it, and that they can achieve some greater personal peace as a result. The conversations seem to have been taking place. My father was in Vietnam 72/73. He died in 96 of pancreatic cancer. I think he probably got infected by nasty stuff from there, likely Agent Orange in the water, other crud like that. He didn't have a combat job, was in Saigon, at Than Son Nhut, which was occasionally subject to VC mortar shelling in the general area. He'd get under his bed and then go back to sleep. I never asked, but it sounded like no real persona trauma.


And I expect that in 20-30 years Ken Burns will need to do Irag/Afghanistan. Sand instead of jungle, but not much different, altho we didn't overreact against the returning soldiers. Feels like the same errors all made all over again, new actors, same script.

Wednesday, September 27, 2017

Older ITunes trouble

For various reasons, primarily that of not wanting to shell out hundreds of $ every time a new OS forces paid software App updates, I tend to allow the OS world to pass me by.

In the spring this year I had hardware failure on my Windows PC. So I build a whole new machine. Reinstalled apps, games (geez, turned out I had nearly a terabyte of game files, that took a while). This was on Windows 7; I never upgraded that because 8 was an atrocity, 9 never existed. So a couple months after this new hardware build (btw: 4.5GHz hex-core Intel, 16Gig RAM finally, this time I didn't build a tiny machine), Win 7 updates itself, then says "oh, I don't understand this fancy shmancy new hardware, I can't upgrade myself properly now", and my graphics updates are broken too. That means nearly no games work, and I wonder what else is goofed up...so I will have to upgrade to Windows 10.

I mention all that because Windows isn't nearly as good as OSX about upgrades. In general, in the past, you were better off with a clean wipe and reload from zero. That's time consuming, but probably better for Windows anyway.

OSX was not like that. Is not like that. New versions, if they are going to run on your machine, will install as clean upgrades.

But eventually OSX outgrows your hardware. This means you have to buy new hardware occasionally. So now I'm in the habit of not buying new hardware from Apple. EBay has used machines at great prices. So I've bought some older hardware.

In fact, several older hardwares.

I have a G5 machine, with older apps on it. Expensive Apps. That I can't afford to update again. So that one was also serving as music source, with a fiber cable to my fancy newer hifi that takes optical in. Works great. Runs 10.5, aka Leopard.

About a year ago, got a replacement machine with some newer App versions. That was nice. Came with 10.7 (Lion), the newest/lastest it could take.


Now the ITunes problem. Lion, at least on this machine, has either done something odd about virtual memory (actually another unix partition that you can't see) -- vm partition not big enough -- or ITunes is really flawed. ITunes uses VM partition space (I guess?) while actually playing music, and eventually exhausts it. If you pause music, it stops using space, and resumes when you un-pause. I normally just let it run continuously, and hit the mute button on the hifi remote.

So after a few days, ITunes fills virtual memory, and then it hangs, and OSX Lion says "you are out of application memory" but of course I'm not, it's just ITunes being stupid. This never happened on the G5 machine (and the corresponding software).

So I got a new used machine this month. A 3.5GHz dual-hex-core Mac Pro. Most powerful machine Apple ever made. Cloned the boot disk out of the Lion machine for safety. Installed original into dual-hex. Upgraded to Mountain Lion. Same thing just happened with ITunes--"out of application memory"

At this point the only thing that is the same is that the boot disk that had Lion on it now has Mountain Lion. Otherwise everything else is new. I don't know how to make the swap partition any larger here (at the unix level I could do it easily enough, not actually hard there, but I think that the swap-space is dynamic these days, and my knowledge is from the old static-swap days). This disk reports having 200 GB free. It's an SSD--could that be the cause? Don't know. (This is not a fully updated Mtn Lion, and it's ITunes 12.2. Later: fully updated, with version 12.4. I think 12.7 is the latest, needed for some IPhone 8 stuff.)

So what is going on? Weelllllll.....it's called a memory leak. It's a software bug. The likeliest situation I can think of is that memory is being allocated for the audio data and then not released--audio files are pretty big, and after playing for 60 continuous hours, at roughly 1 megabyte per minute, never de-allocated, ITunes has pushed 3.6 gigabytes into page space, and exhausted what it is allowed to have. OK, it shouldn't be using that much RAM anyway, but it's the de-allocation failure that is the issue. This is just about the oldest software bug there is after indexing off the end of an array in C. I suspect that what has happened here is that ITunes is not properly releasing a pointer to already-played audio data, so it's hogging space, and eventually you're out. (And given how slowly new data is created/released in audio speeds, it's not like the problem about running out of file handles, which is A LOT easier to bump into if you aren't closing files that you've opened--which, I grant you, could also be a problem here, but decent code scanners will warn you about that.) I've been guilty of failing to close open files in my own code, but nothing I've written that had lengthy runtime had that problem (partly because you run out of "file handles" after a bit. A project I called "The Fridge" was a distributed grid engine, and while it was self-recovering if there was a disaster, it really needed to be not ever having the need to. Altho there was this one error on Linux where a shelled sub-process crashed so very hard it would take down the grid engine node; never did figure out what was wrong there, and now I've forgotten what that sub-process was.)

Or, if it's the disk itself, there is something similar going in that space is not getting deallocated properly after use in the swap partition. That could be investigated by cloning this disk back onto a platter drive and using that for a while. I have some other trade-arounds I could do. OTOH, it's only ITunes that is screwing up. You could also imagine this being associated with the optical fiber digital audio out, I've never used that before in my life; at the same time, ITunes for Leopard using optical wasn't doing this.

Also: at some point here soon I'm going to upgrade this machine to Maverick. If there's an ITunes bug still there, one would hope it is gone. But maybe it isn't...

In any case, if you are doing what I am doing and are experiencing this crash on an older OSX, the simples approach is to totally quit ITunes at the end of the day (or first thing in the morning) and restart it. You'll lose your position in whatever playlist you were in, but that beats a full machine reboot...

-----

slightly later: ITunes here seems hurt worse/differently: it reaches a state where it is still playing, but I cannot go to the GUI and do anything. I hid it, and it won't reappear, and "Force Quit" reports is as not responding. I hope it's not the case that that Lion original is messed up, I can't reinstall-from-scratch some of the apps, and I need to use them. Grrr.

Solution: I created an Automator iCal alarm app in which I quit ITunes, wait 30 sec, restart ITunes, and tell it to start playing. That is set to repeat every day at 12.05 am, i.e., right after midnight. That way there's no opportunity to accumulate too much memory-leak trash.

That's gotta be better. I hope that the upgrade to Sierra eventually eliminates this bug.

Later later: the daily reset of ITunes seems to be working, but last night it crashed at some point. This is getting tiresome. Later later: ok, that was a one-time problem, hasn't happened again since.

The old quad-core Pro is slowly dying, so it's powered-down right now. I need to recover what I can there, but the machine is not looking good right now. Ethernet seems to go out, video acts weird after a bit, audio sockets don't work...

------------------------

January 2018: I upgraded to Yosemite (10.10), which includes a newer iTunes and the problem seems to have gone away. Also, the Automator thing seems to not work; fortunately that seems to not matter. I didn't upgrade to Maverick because that doesn't have iPhoto (huh? what sort of stupid was that?)

March 2018: January situation continues to be true--iTunes is not being stupid on me, so I am getting rid of the Automator script.

Thursday, September 07, 2017

Weather worries...

In theory, I'm going to the beach saturday. Otoh, Irma might be saying no. Hard to tell where that's going, other than "no place good".

Don't want any of what Houston just got. That was insane.

And from what I'm reading these days, we may have already passed the tipping point--without knowing it--where the planet kills us off soon.

In reality, what we have is that the weather we all grew up with was "stable", or seemed so. Some winters had more snow, some didn't. Some summers were rainier, some were drier. Still, didn't seem like there was much variation.

So that's a stable point. "A" stable point. But hardly the only one. An equally "stable" point would be where there are Harvey-sized hurricanes every year. Eventually that means no one lives near the Gulf coast any more. Houston gets abandoned. Miami.

Or of course we figure out how to build better for those locations. Houses on stilts is a corny example, but not unusual in areas prone to serious ocean floods. At OBX, houses near the beach are all elevated one story.

But that doesn't fix the problem in Norfolk, where the naval base is already at 0 MSL. That's going under permanently before too long.

The elevation here at Hyde U is about 500 feet. Flooding here = end of civilization. Not too likely, but storms ARE going to get worse all over.

Monday, September 04, 2017

Common Core education

I had a conversation with an old friend ten days ago...visited for a few hours, we talked lots of stuff.

One of which was about the diff between our grade-school educations. He was in one school system the whole time, in Florida. I had eight different schools over the same 12 years.

My schools, as best I remember it, as that was 40-50 years ago, seemed an even-handed explanation of things. His made a serious effort to teach the same load of lies about the Confederacy that are still under discussion now. He said that for several years in a row, every fall the entire school would watch Gone With The Wind and teach that as the truth about history. Yeesh. I can't stand that movie*.


Later, while driving home, I realized something interesting:

All the squawk you hear against "Common Core"...the problem for the folks who oppose it is that teaching the same thing everywhere would mean they would no longer be able to teach the false narratives about all the causes of The War to Preserve Slavery--no longer able to teach the lies.

Don't know why that hadn't occurred to me before. But it's clearly the root cause of the complaint about teaching all our children the same thing.

Do they want to also teach some invented math? Who can invent a math that is properly consistent and completely new and different? No? Yeah, that wouldn't work anywhere. Want to invent some new science-y stuff? I know, let's redefine chemistry and physics, the combination of that plus a new math could probably prove that the Earth actually IS flat, IS the center of the universe, and that the Sun revolves around it.

I can't see that working, although they probably think the metric system is kinda like that. Well, ok, I do too, still have to think carefully about conversions every time.

-----

*I love movies. I have watched A LOT of movies in my life. Thousands. But GWTW...Clark Gable played a riverboat gambler in every movie he ever made. Including the ones where he was NOT a riverboat gambler. Gag. GWTW is Part Two of the bullshit film rewrite of US history that began with Birth Of A Nation. Not actually sure if I've ever seen that all the way through; perhaps curious because as a student of film history, I do watch plenty of silent films.