Tag Archives: windows

Digging through the past – my early programming.

I have been on a mission this year to simplify my life. Part of that includes disposing of once ‘possibly useful’ stuff. One such pile of ‘possibly useful’ included over 200 3.25″ floppy discs, circa 1995.

Not wanting to throw away anything that might be useful, I had to see what was on those disks. The original plan was to use an old PC that I used for LINUX development (and has a 3.25″ drive) to mount the disks and read the contents. That plan slowly devolved into a realization that things would be not be that simple. After trying to mount several disks, only to have the mount time out and fail, I came the the realization that I’d have to find a USB floppy disk drive to plug into my MAC, or (gak.. gag.. snarl) I’d have to construct a Windoze box to read those disks. As much as I found the entire concept utterly revolting, it was my only sane solution. If anyone could possibly consider intentionally installing any Micro$oft operating system as ‘sane’. So be it, that was the goal for a Friday night.

Having access to a Dell Optiplex mini-case Pentium III machine (that I bought at a computer store across town for $25 about 2 years ago), with a 3.25″ disk I decided to give it a try. Sadly, the 10GB disk drive inside was dead… so, I needed to find another old ISA drive. Such antiques are not so easy to find, EXCEPT, in my collection of stuff that would be ‘possibly useful’. This consisted of a stack of 8 drives in size from 8GB to 500GB in size.

Next hurdle was the OS. What was I going to install? Clearly a Pentium III is NOT going to run Win7, or XP for that matter. I’d have to find an OLD OS. So, that’s what I did. Being the pack rat I am, I found my old MSDN (yes, you read that right, back in the 90’s I was a registered Windows developer.. more on that below). I no longer had the full 30 DC catalog of stuff, but I did, for some reason, retain my Windoze NT MSDN install image with developer license. This… was going to be my conduit to the archive of my programming history.

I’ll save you the 1 day odyssey of dealing with the ancient and inexplicable Windoze limitations on hard drive size. Even with the cylinders and heads and a translation formula.. I ended up with only one drive that would work. And to top it off, despite Windoze complains that the max Partition size would be about 8 GB (my iPhone has more storage!), that MAXIMUM partition size the NT would install on was a 2048MB section of disk. This discovery through trial and error cost me several hours and I’m guess at least 1 year off my life.

Finally, I was able to start going through the disks. This is when I came to the realization that my LINUX box just *might* have been able to read the disks all along. Out of the 200 or so disks, only a handful were usable. Most were either un-formatted, or so badly degraded that the CRC errors (you remember CRC errors… I do, except now I’ve suddenly developed a slight tick.. the costs of Windoze can’t be measured in dollars alone.. oh now.. oh no indeed.). Odds are, ever disk I tried to use was junk anyway. This is something I need to follow up on later this week.

In the end, the Dell Optiplex Pentium III was brought to live running Windoze NT. I nightmare of an OS if ever there was one. In fact, I recall in my 1st stint at Hewlett-Packard (mid 90’s) we were forbidden to even mention Windoze NT in our workgroup. The fear of NT vs. HP-UX 9.0 in the market place was great. In retrospect, the comparision is laughable. HP-UX was a real UNIX system, with a real UI, Windoze was.. well.. garbage. The really sad part was that NT won the market share war. There is no accounting for intelligence within IT management.. this is an axiom proven again and again. Digressing….

Most of the stuff I found on the floppies that I could read was worthless. I did have some old 90’s website content that some day I might pull off and do a way-back machine sort of look at my very early web development work when Netscape 1.0 was king and there was no such animal as Internet Exploder. Really, and sadly, I suspect many people cannot even image that… tsk tsk.. sorry for you, I truly feel).

I did manage to find one good working bit of code, and I’m including a screen shot of it here.

This is a bit of code that I wrote using Borland (10,000 points if you remember Borland and know where their headquarters were… 1,000,000 points if you have a photo of it, that you took!) Borland C++. Having had the choice of using the MS Frameworks or buy my own compiler, I bought my own (and it was not cheap I can assure you) full blown compiler. I was even part of their developer and Beta tester network. I had some early releases of BladRunner (a DB precursor to Paradox) in floppy, but I tossed those out during the purge. Shoot.. digressing again….

When I was working at HP, we had a set of very crude batch scripts that performed the very critical task of monitoring our telemarketing PC’s located across town in Santa Clara (the data center where I worked was in Sunnyvale). The batch script ran on a dedicated PC in our data center. It was a fragile concern at best. While working grave yard baby-sitting multi-million dollar equipment, I took it upon myself to take some C and C++ programming classes at the local college, and use my time in the data center to get my homework done. While writing code, it was quite clear to me that this fragile batch file system would be released with a proper Windows program, that would be more robust, provide more information and not require the PC to site there running a single program that would crash if anyone touched the keyboard (it would interrupt the batch file.. whom ever came up with the idea should have been fired on the spot!)

I took a couple of nights to re-write the entire thing in C++, as a Windows application. Here is a picture of the screen with the ‘About’ dialog. Since the constellation of PC’s it monitored were of course not on my home network (there were tossed in the trash at HP around 1997), there was not much else to show.

Telos Vision - Download Monitor

It sure did bring back some memories and let me to think back about the extensive amount of programming experience I have on a wide variety of platforms and languages… sometimes I get so focused on my current objectives, I forget how much programming experience I bring to the table, well over 20 years worth.

I also found a couple of command line and basic text windowing programs that I actually sold for $6.00 a copy back in the late 80’s. Yes, I’ve been writing and selling software for nearly 30 years. Yes, you read that right 30 years. It’s even hard for me to think about that.

Thinking back, to my first experience with a computer, it was at UC Berkley back in 1976. At that time, the computers were all timeshare machines, and time on them was not cheap. There were no monitors, or terminals. Interaction with the computers was via binary status boards (recall all those blinky lights on computers in old movies.. yeah.. that’s what I’m talking about) and the rare interaction with teletype style printer terminals. People allowed to directly interact with computers were highly trained individuals, no mere mortal was allowed to come in contact with a computer. Quite the contrast to today, where even those with the least of ability are allowed to not only touch them, but they can OWN then! And worse yet they are allowed to connect them to world wide networks. The concept of this so foreign and frightening to those early computer scientists.. the thought of it every happening was simply an impossibility. Who would be so stupid to allow that sort of thing to happen? Well, I think that history on that is documented well enough I need not even attempt to cover it here.

Now, I wonder if I can fix those disks with the CRC errors? Where is the old dial-up BBS that kept that fixdisk.exe. program I loved so much?

My day with Windoze – or, how to trigger a stroke

If Windoze VISTA was a car.
I’ve said it for decades. Windoze stinks! Horrible, horrible stuff that keeps lots of unfortunate geeks (I mean unfortunate that they have to deal with it, not that they have jobs) busy.

Sure, there are lots tens of cases where Windoze machines have stayed happily running unattended for hours on end. Sadly, it’s not the norm.

My professional career has been carefully crafted to limit my expose to such software, however yesterday my careful maneuvering to avoid direct interaction with a Windoze system was subverted by a high-priority work project. Being the ‘big cheese’ in IT, I decided to avoid the inevitable lamenting from my team and tackling this task myself. I tesitmated it should have taken an hour or so of my time to complete, no big deal.

No….. big….. deal…. right. Here are the redacted entries from my task tracking system. The project name has been changed to protect the innocent, the remainder of the details remain pertinent. Keep in mind that these are my self-edited comments, the actual barrage of what some would consider offensive language (such as the word, VISTA) was quite a bit more verbose.

The start of it all, after having another piece of hardware originally proposed, declared unsuitable due to restrictions on virtualization by the software vendor.

Comment 8 :: 2011-11-16 09:55:32 PST

Additional hours worked: 1.0

Windoze compatible box sourced. Vista installing now. Will configure to VLAN
once that is deployed, will turn on a firewall and punch out just those ports
we need for this thing to work (another hour of my time spent on this).

Things seemed to be going well. A shrink-wrapped 32-bit copy of VISTA was dropped into the CD-DRIVE. Issues with getting the American Megatrends BOIS to read the ‘DEL’ key on my USB keyboard turned out to just be the tip of the ice berg. A harbinger of doom. Why does all this commodity hardware so massively suck?

What is missing in my commentary was an hour long fight to get VISTA to recognize a simple RealTek NIC. Now, the OS understood what it was, but the horrible M$ network driver could not work with it.

Thank goodness I had a MAC handy to access the outside world, hunt down the driver and place it on a USB drive for install onto the new machine. It sounds simple, however VISTA seems to have some built in requirement to install everything at least 3 times before it actually works. After some grunting and a trip to the break room for a fresh bucket of coffee, I embarked on the most frustrating part of the entire experience. Trying to install M$ .NET 3.5 Framework and Service Pack 1.

After almost two hours of fighting with the BIOS, setting boot to the CDROM drive and getting a SIMPLE network driver installed:

Comment 9 :: 2011-11-16 11:50:57 PST

Additional hours worked: 1.75

I have tried 3 times now to get the .NET 3.5 SP1 to install, but there seems to
be some network issues with the M$ server(s), and it times out after about 35
of the 39 MB (I have verified that our network speed is perfectly fine). I
might switch it over the the backup network and try it there if it keeps
failing, worth a try.

The vendor software has been downloaded and copied to the new machine’s
‘downloads’ directory.

At one point during the attempted installs, I had two messages on the screen. On saying there was an error encountered during the installation (no indication what that error or situation was… debugging? Pffft. I guess trying to debug software that *is* a bug is an oxymoron), but stacked above that error dialog was another saying the software was properly installed and I heeded to restart the computer. Turns out, that the first dialog was correct.

Comment 10 :: 2011-11-16 13:39:26 PST

Additional hours worked: 0.75

dotnetfx35setup.exe has failed 3 times now. In the last failure, it shows
“Install Stopped – Error Occurred” in one dialog, and in an overlapping dialog
shows “Restart Required to Complete Installation”, at which point I rebooted,
restarted and logged back in, restarted the vendor software install and it
said that .NET Framework 3.5 was required, and asked me if I wanted to install
it (again..). I replied NO (because I don’t want to). Went looking for the
actual file on the MS site and will try that. Also found the ‘full’ version
(which is about 100 times larger than the one it wanted to auto-install), and
will give that a try too. It’s amazing anyone would still buy M$ products
after VISTA.. this thing is a real pile…..

To at least have a fighting chance against compromise, I’m installing SP1 for
Vista. This will take at least 1 hour (according to the install manager).
It’s unlikely that the vendor software will be installed today, since I
still need to find some way to make it install the .NET 3.5 Framework (4th
times a charm running a full product install, maybe?)

Having failed to successfully install .NET in several different ways, I decided that perhaps first installing VISTA SP1 would somehow help. This was another incredibly frustrating undertaking, but this broke the mold and installed on the 2nd try. After several reboots and twice running through the ‘3 steps’ (why not just call it 6 steps instead of trying to fool people, or maybe the various engineering departments responsible for SP1 didn’t talk to each other and they had not idea their 3 parts where part of a larger set of parts? Who knows what goes on over there in Redmond.

Comment 11 :: 2011-11-16 15:12:38 PST

Additional hours worked: 1.75

VISTA SP1 install completed.

Full DOTNETFX35.EXE install attempt number.. who knows, but it’s not attempt
#1.

And finally, it seems to think that .NET 3.5 has installed. No errors, no
restarts, no conflicting dialogs. I guess you have to be insane to use
Windoze, because doing the same thing over and over and over and over again and
expecting a different result IS expected. This really dose explain at lot
about modern society… if this is somehow ‘acceptable’ and ‘expected’…
well.. I guess monkey see, monkey do for PC users.

Oh.. how naive I was. Following the successful install of .NET 3.5, and then
the download and install of .NET 3.5 SP1, the installer indicates that .NET 3.5
was *not* successfully installed (despite what the installer noted just a few
minutes before) and .NET 3.5 needs to be ‘repaired’ and returned to it’s
‘original state’. Basically, the fresh install was bjorked. I’d just ignore
.NET 3.5 SP1, except the vendor software installer specifically looks for
SP1 and will force install. Of course one could just not install the vendor
software and go on with life, but that’s not an option for this project.

Re-running the SP1 updater yet again, and now it want’s to download another
20MB file, which is very slow to download from M$. But now that it’s
downloaded and that install is starting up, perhaps there is once again, reason
to hope.

My insanity has paid off! At least there is no a .NET 3.5 SP1 install
successful message on the screen.

Issues with the bizarre way the vendor software installs (it actually makes
the VISTA install seem sensible) it *seems* to be telling me that it’s
installed, AND there is an application hot link on the desktop to a Product Monitor.

I have shut the machine down and will be passing it over to the Senior Sys Admin for
configuration and installation within the VLAN.

At no time in the last 6 years working with ‘difficult’ open source LINUX distributions have I ever had this much trouble, frustration and time wasted on a computer. A simple computer, designated to run just one software package.

When people say the TCO of Windoze is low (which is of course a lie), they must not have taken into account actually having to INSTALL and patch the OS it self. I can’t imagine what fresh hell this thing will be in our organization. Hopefully locking it in our dmarc room, on it’s own private network will keep it from causing too much chaos. Although I will have to present a written apology to my Sys Admin group for inflicting this upon them.

UPDATE!

My senior Systems Admin just sent me this message regarding the VISTA box I abandoned yesterday at 15:45 while it was (as it said) 1/2 way into applying some un-requested updates.

Thursday, November 17, 2011 10:32
The updates are still running on Windows box. […]

That is really impressive. This install is now bumping up against the 24 hour window.

ANOTHER UPDATE – November 20, 2011

After two days of dealing with Windows VISTA (arguably the worst from M$ yet, and that’s quite a heavy indictment), we pulled the plug on it, spent $300 for a crappy commodity computer with Win7 already installed, applied the patches and plugged it into the network.

VISTA… wow.. I knew it was bad, but I didn’t know it was THAT BAD! I’m going to tell the CTO that we should tell M$ we want a refund for that pile of junk.

Google Chrome OS to take on Windows

A LOT of press over the last week has been produced regarding Googles announcement to go head-to-head with Microsoft with is Open Source (LINUX) based OS. They dominate the search market and are now going to go after the 9000 lb. gorilla on the desktop. It’s about time we had another player in the sector.

Google calls time on the Age of Windows

Google announced on Wednesday that it was developing its own computer operating system. It will be secure, fast, lightweight and – most of all – free. And it presents the biggest challenge yet to the long-standing dominance of Windows.

The idea behind Google ChromeOS is nothing new – it’s built on a Linux foundation and will no doubt share many of the features of other open-source operating systems. But Google is the only computing brand with more might than Microsoft: it’s trusted, and has a proven track record of building brilliant, free services, from search to instant messaging.

Trust is the key here.  I don’t know many that trust Microsoft to either do it right, nor do it ethically.  The funny thing is, I don’t know anyone that belives Google will either.   They are the kings of data warehousing, and data reselling.   The big concern in the technical community is,  what will Google do with the data it can aquire, once it ‘owns’ your desktop too?

I know people who simply won’t use Google for searches (I use it exclusivly).  They fear that Google is profiling them (and it is) and will resell their searching patterns (and it dose) to other parties.  Valid concerns, to an extent, but really, anyone that think they are using the web annonymously, unless they are making heavy use of fully annonymizing proxies, is dillusional.    Even those bent on covering their tracks have to be careful what cookies they except, how long they  remain on the system, what they are caching, what proxies they are using (what are those proxies doing with their traffic, are they considering that?).

The internet is a dangerous place for you data.  Either you have to be OK with people warehousing your activities, or you’re going to have to go to some extreme measures to thwart the data transfer.

Now, if you ever want to look at what YOU might be sending to 3rd parties from your own computer, I suggest running a tool like  WireShark.   Now here is a neat little site benefit od doing something like that.  A lot of the most sophisticated malware out there, looks for such tools runing on systems and will modify it’s behavior from malicious, to begnin, to conceal itself.   So, running network profiling tools, perhaps even if you don’t ever LOOK at them, can help prevent some of the worst expoits out there.  It’s like taking a vaccine of sorts.  It’s not going to prevent everything, but some of the worst of the web will simply move onto easier marks.

I for one will be getting ahold of Chrome OS as soon as I can to istall on a laptop for examination.  I have some internet neophytes in the house, and they are a good test of how easy an OS is to use.   Right now I’ve given them a new Acer laptop running Ubuntu.   My house is a Windoze Free Zone.  I look foward to hearing the feedback on Chrome OS when I give them the option to use either.

OTHER RELATED:

SlashDot:   Google Announces Chrome OS, For Release Mid-2010

“After years of speculation, Google has announced Google Chrome OS, which should be available mid-2010. Initially targeting netbooks, its main selling points are speed, simplicity and security — which kind of implies that the current No.1 OS doesn’t deliver in these areas”

CNET: What will Google’s Chrome OS watch you do?

Google has a long history of tracking user activity, and the introduction of its Chrome operating system later this year is sure to follow suit. While we know that it’s being built off of Linux, one big thing we don’t know is how its terms of service will differ from those found in other Google products, and what kinds of user data it will be collecting. Based on the company’s track record of watching and monetizing user data, it could be anything from which applications you’re using, to all the information that’s coming in and out of your computer.

Conficker – jolt or joke

The Conficker threat, is this another Y2K?

There seems to be no lack of technology press on this piece of crime-code, that is set to go off on April 1st.  The largest concern is that nobody seems to know what the Command-and-Control (C&C) computers will instruct the infected systems to do on April 1.

For myself, and the company I work for, we are safe for the technical exploit, since we do not run MicroSoft systems, and non-MS systems by all indications are perfectly safe from becoming part of the botnet.

Conficker is a program that is spread by exploiting several weaknesses in Microsoft’s Windows operating system. Various versions of the software have spread widely around the globe since October, mostly outside the United States because there are more computers overseas running unpatched, pirated Windows. (The program does not infect Macintosh or Linux-based computers.)

New York Times Technology article

The speculation is that the bots will try to access a pool of 50,000 different domains (something we can determine by examining the code) looking for it’s C&C.   The problem is that defensivly registering the 50,000 domain names is something that nobody seems to want to, or capable of doing.

Other crimeware uses similar technolgy to look for different C&C systems based on a predictable algorythm, this is nothing new or groundbreaking.  The size of the pool is by far the largest I have heard of, so that is new.

There are likely man different ways that the nentire network can be thwarted, if the registrars, backbone providers and ISP’s all co-operate (fat chance) to null-route any of the 50,000 domains that might be registered and directed to the C&C systems.     That alone makes me think this is much ado about nothing.

Should people running computers infected with Windows ignore this potential threat.  Obviously they need to take the possiblity their computer is infected, VERY seriously.  If they are unable to switch to a operating system without so many security issues, then they should at least make sure their computer is not exploited.

Later today I will compile a list of reliable links to instructions/software for mitigation the threat on your own computer.  As far as the massivly parallel monster system this botnet might become on April 1st…well..   we won’t have to wait long to find out if this is a boy craying wolf, or the real thing.