Timothy

Fixing Slow .Net Compact Framework Windows Mobile Compilation Times

A colleague of mine found a great article with a tip to significantly speed up the compilation time of large .Net Compact Framework projects.  I was just living it with, thinking there was nothing I could do.  I'm so glad he found that article!  It is helping speed up development of my mobile hobby projects significantly.  The slowness is due to a verification step that ensures that your application complies with its target.  Obviously during debugging, this step does not need to be executed every single time you build!  The article suggests creating a new environment variables, but I think a better approach is to use the $(ConfigurationName) variable.  When I compile for release, I want this check.  For debug, I don't.  So go read the article!  Then, if you like, take my suggestion and change the condition to...

Condition="'$(ConfigurationName)' != 'Debug'"

Timothy

Sunday Night Football

I didn't think anything could be more annoying than the Monday Night Football theme song.  Then NBC created a carbon copy (but worse) semi-country, semi-rock song sung by somebody sort of famous, but highly annoying for Sunday night.  Because, yes, it is entirely MNF's song that makes it successful in prime time and not an exciting football game itself!

Teevee executives are retarded.

(Yes, I know NBC's SNF is not exactly new, but this has been something I've been meaning to complain about since they took over in 2006. lol.)

Timothy

Mystery of the 1395 Error During .Net Framework 3.5 SP1 Installation

I have had a heck of a time lately with the SP1 for the 3.5 framework.  Where I work and at home, the installation  has failed on a total of FIVE computer!  Five!  Each time was a little different.  The Google was able to give me a solution for most (usually silly dependencies failing, such as SP1 for Visual Studio), but one, in particular, was a little more devious, on a 64-bit 2008 server.

I kept getting 1395, which is a pretty generic error.  By digging through a lot of logs, I saw the error was occurring during the installation of the Visual C 9.0 Redistributable, so I downloaded it to install it manually.  I immediately got an error when it was trying to install an assembly.

Error 1935.An error occurred during the installation of assembly 'microosft.vc90.atl'

Included in the message was also HRESULT: 0x80070005, which indicates "access is denied."

I ran Procmon and found there is a folder where access was denied for SYSTEM.  The folder where access is denied is in winsxs (C:\Windows\winsxs\InstallTemp) and the default permissions indicated that read only access is probbaly normal for SYSTEM, as it had full control for TrustedInstaller.  So I'm guessing that it may actually be a bug in the VC90 installer, but either way, I added Full Control to SYSTEM and the problem cleared.

image

Timothy

Does the Petroleum Lobby Think America is Retarded?

My teevee just told me that climate reform will cause gas prices to raise above $4/gal (no evidence was provided, of course).  This commercial was paid for by some petroleum lobby, as indicated in the very fine print. 

That's odd.  I seem to remember huge gas price increases happening without any climate legislation pending not too long ago.  And if I remember correctly, the prices went down sharply as soon as people started getting smarter about wasteful gas spending, which was a necessity due to the declining economy.   All of that had nothing to do with reducing carbon emissions.

Why are lobbies not required to do an oral endorsement, like politicians?  They should.  "We're America's petroleum lobby and we paid for this message."  Not everybody reads the fine print, like I do.

You know, if you think about it, they are basically threatening America with extortion.  Force us to clean up, we raise your prices.  Well to that I say, I call your bluff, and here's a middle finger you can sit on.

Timothy

Let's Blow Up The Moon!

This morning, NASA crashed a probe into the moon in order to stir up debris to figure out what that part of the moon is made of.  The best (or worse, based on your perspective) case scenario of the impact was for the probe to be slightly less powerful than the usual meteors that crash into the moon dozens of times per year.  The result was not the giant plume of debris the scientists had expected or hoped for, but it still yielded a lot of useful information.

So, this afternoon, a coworker of mine absolutely went batshit crazy on this issue.  "What right do we have to crash a rocket into the moon?" he cried.  "What if there was some underground gas that was flammable and it caused some sort of explosion?!"

Wow.  Just, wow.  This is a perfect example of why the USA needs massive science education reform.  I argued with him for a little while, but he just kept throwing logical fallacies at me.  In particular, he seemed to favor arguments from personal incredulity.  When I confronted him with the fact that the moon gets battered worse than that regularly nearly every week, he actually exclaimed, "but that's nature!  This wasn't!"

If there was some sort of explosive gas trapped under the moon that could actually cause harm to the moon or the earth by an impact that small, our little planet would have been wiped out billions of years ago!  On second thought -- I didn't ask -- but maybe he doesn't believe the earth is that old.

I had no idea this was a controversial issue with anybody in the entire world.  I can't believe I have to say this, but the moon was in absolutely no danger and neither were we, as occupants of the moon's closest celestial neighborI really geek out at stuff like this.  I love science!  I love reading about new discoveries, particularly in astronomy and physics!  It really burns me up that there are people so ignorant about science that they just want to stop it whenever they don't understand something.  I probably shouldn't tell him about the overblown hype of potential microscopic black holes that might be created at CERN's LHC.

So anyway, I want to end this blog post on a light hearted note, so here's a visit back to the world's greatest skit show, where they dealt head on with the controversial issue of blowing up the moon!

Timothy

Avian Waves is Back Up!

Apparently the hardware that my web server's VPS lives on completely died.  I mean died so bad that VPSLand didn't have any way to restore it!  Luckily I take nightly backups of everything important, so the website is back with no loss of content.  Unfortunately, SQL Server 2008 Express's installer has a serious amount of bugs that took me about 6 hours of debugging to figure out.  The entire site is driven off SQL 2008, so I had no way to get the site back without it.  It seems something that was in VPSLand's standard deployment image made SQL 2008's installer unhappy.  It took a lot of registry deletions to get it to work.  More about that later (if I remember).

Anyway.  The site is finally back up!  Hooray!

Timothy

The Greatest Paragraph I Have Read This Year

And possibly a lot longer than that.  Glenn Greenwald does his usual thrashing of the Washington DC political media (aka The Villagers / Beltway Media), but provides possibly the greatest single paragraph summary of the way of thinking that is so dominant in the beltway

As HTML Mencken insightfully noted in what is one of the best blog posts ever written, our political mores demand vehement repudiation of petty acts of incivility (not all, but most) while tolerating and even approving of extremely consequential acts of indecency as long as they're advocated with superficial civility.  Those who use curse words to oppose torture, wars and lawbreaking are evil and unSerious (The Angry Left); those who politely and soberly advocate morally repugnant, indecent policies are respected and Serious.  As long as one adheres to Beltway decorum, one can advocate the most amoral and even murderous policies without any repercussions whatsoever; it is only disruptive and impolite behavior that generates intense upset.  Beltway culture hates "incivility" (public use of bad words) but embraces full-scale substantive indecency (torture, lawbreaking, unjustified wars, ownership of government by corporations, etc.).

I missed the original Sadly, No post, as it was posted well before I discovered that blog, and I appreciate the way Glenn takes what was ostensibly just a satirical look at the beltway media of the time and finds the deeper truth, exposing in a way that, I hope, everybody can learn from. 

Thanks, Glenn.

Timothy

Rationing

I'm trying to understand the "rationing" argument for health care reform.  This is the argument that there simply is not enough doctors/nurses/hospitals/etc. such that if we let any more people get health care, that all care will have to be rationed.  There's absolutely no evidence for this, of course, but that's never stopped the tinfoil hat crowd before.

So here's my question.  Isn't not giving health care to the 40 some odd million uninsured in and of itself a form of rationing?  Basically, if you are against health care reform because of this fear, you are saying that you are good enough for health care, but the currently uninsured are not and care is being rationed in your favor

Why is America so damn selfish?

Timothy

Frobama

Am I the only one that thinks the Chia Obama is, at the very least, unclassy and, at the very worst, blatantly racist?

http://www.chiaobama.com/

Timothy

Palm Pre Commercial

Palm Pre Commercial: "A revolutionary OS that can run multiple live applications at once!"

Really?  That's the best WebOS/Palm Pre has to offer?  Of course not.  I think it's actually pretty nice and I'm a diehard Windows Mobile guy.  But apparently the iPhone has set the bar so low for multitasking (as in, it doesn't) that actual multitasking is considered "revolutionary" on a mobile device.  This despite the fact that Windows CE has done it forever, BlackBerry OS has done it forever, and even the old PalmOS did it in later versions.

Ahh, but well, that's because everybody is (mistakenly) competing against iPhone, even business phones.  I blogged about this before.  At first, I thought it was just the tech reporters, but now even Palm is gearing their advertising that way.  I don't get it.  RIM owns the business world, market against them, not Apple!

But what do I know?  I'm just a tech guy.  I'm sure the marketing pros know what they are doing.

Or maybe not.

Recent Comments
  1. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    Derek: Edward, great find. +1 on the fix... Thanks!!
  2. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    milo: Thanx MIKE - this helped me: DPM 2016 setup will fail if you have SQL Server Management Studio (SSMS...
  3. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    Terry: Edward, you are the Man!!!! Looked for a solution for hours, then found your post and BAM!!! it worked...
  4. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    Mr. JoeM: Edward! Thank you, saved me hours of work.
  5. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    Brian: Thank you so much Edward! :-)
  6. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    Tom: Thank you Edward! After beating my head against a wall for days, tried your suggestion out and lo and...
  7. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    Mike: DPM 2016 setup will fail if you have SQL Server Management Studio (SSMS) V17.x installed. Re-Install...
  8. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    Rob: Edward, thanks man! you were a lifesaver. My scenario was Win Server 2016 from scratch, SQL 2016 (N...
  9. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    Edward: It also crashes with the 4387 error if you have the SQL Management Studio 17 tools installed. Installing...
  10. Re: DPM 2016 + SQL 2016 and "An unexpected error occurred during the installation" ID: 4387
    Ram: Hi - I followed richsmif instruction and was able to successfully install DPM 2016 on SQL 2016. Completed...