Skip to main content

Posts

Corollary...

Today I ran across a news article announcing the demise of Windows 98 and Me: http://www.informationweek.com/security/showArticle.jhtml?articleID=188703336 I find it slightly humorous that Microsoft is incapable of creating an upgradeable OS. Linux, and to some extent, Mac OSX, are upgradeable. Okay, Microsoft has attempted it in the past and generally failed miserably. What would be nice is if I could buy just the features I need. This would allow Microsoft to develop the software at their leisure and if I bought a feature (say for $5), I'd get that feature and any security updates for it forever. Let's take a few examples: 1) MS Paint. I never use this feature and, frankly, don't want it either. It hasn't changed since Windows 95 and people shouldn't have to pay multiple times for the same application. It is a terrible image editor. However, a lot of children in schools use it because they either are bored or really don't know there are plenty of bet...

How to force users to upgrade OSes...

Internet Explorer holds the primary market share in web browsers. Still. And this week Microsoft made it clear that "IE7+" is not going to be available to WinXP users despite the fact that it probably wouldn't be hard to do. The difference is most likely three #ifdef statements: http://www.informationweek.com/news/showArticle.jhtml?articleID=188501124 This is a blatant attempt to garner sales for Vista and is a wholly monopolistic tactic. Those are some seriously expensive #ifdef's! Probably worth $1 billion each! The real reason I'm writing this blog entry is not because IE7+ has features I want or need. I'm writing this because Microsoft is attempting to redefine words and phrases that have predefined meanings. One specific phrase, "protected mode" (or PMode, for short), refers to the flat addressing memory model of all 32- and 64-bit operating systems that the CPU "protects" using multi-layered rings. The Intel CPU has 4 rings where the...

And now for something completely nostalgic

Remember when video games like Super Mario Bros. were made? I occasionally visit www.CartoonNetwork.com because they usually have decent games made in honor of their television shows. Some of their older games aren't very good but most "my first game ever" games aren't. That said, I ran across a somewhat Zelda-like nostalgic game (albeit MUCH easier than Zelda) sometime last year and couldn't beat it. The game is called Puffy Treasure Island (in honor of the Puffy Ami Yumi cartoon show): Puffy Treasure Island Game Somewhere during the process, I started taking screenshots and started building a map in Photoshop. I eventually ran out of time to work on it and had to get back to doing real work. This weekend I started clearing out my hard drive and doing a bunch of "odds-and-ends" tasks that have accumulated over the past 6 months and ran across the partial map. Last night I set out with determination to finish the game and create a visual map: Click the ...

Is it me?

Is it me or are Microsoft Knowledge Base (KB/Q/whatever letters they choose to use) articles just vanishing from existence? I'm looking for a specific article and it no longer exists - anywhere. It is referenced from about 50 or so places on Google and several times in MSDN itself but Microsoft has apparently deleted it and no one bothered to quote the code contained within anywhere. I'm wondering if this is an intentional move in preparation for Vista's release. Silently destroy old KB articles forcing companies to spend lots of money in support calls to get the information again only offered through, say, private channels so repeated cash flow comes in through their technical support call centers. Anyone else having problems or is it just me?

Symantec injunction against Windows Vista

Symantec Corp. (owner of recently acquired Veritas Corp.) is suing Microsoft Corp. and is attempting to gain an injunction to stop the release of Windows Vista. Or something like that. You can read the details here: http://www.infoworld.com/article/06/05/18/78482_HNsymantecvista_1.html In my opinion, Symantec is making a fatal mistake here by suing Microsoft. I have yet to see a company sue Microsoft that actually gets Microsoft's attention and then survives the squishing that follows. Frankly, Symantec, owner of Norton Antivirus, should leave Microsoft well alone. (And if you own a copy of Norton AV, you might want to consider finding another company for your AV needs before you hear a giant squishing sound coming from the Symantec corner). Compared to Microsoft, Symantec is a little tiny bug to be eventually stepped on. Symantec is only rushing to their fate by suing Microsoft. Historically, companies that sue other companies are usually in the final throes of life as a company. ...

NoWindow

I figure that I should probably do something productive so I don't appear to always be Mr. Doom-and-Gloom. So, I'm going to review a piece of software I ran across recently. It is called NoWindow: http://www.adsciengineering.com/tools/nowindow/ This application has almost no Google PageRank and I found it only by pure accident. NoWindow's purpose is to start any application without displaying any windows. It is the perfect tool for system administrators that have long-running scripts that sit on web servers. It relegates console Windows running things like PHP and Perl scripts to run hidden behind the scenes. I'm actually surprised that there are no similar applications out there. I have actually contacted the author of NoWindow and v1.1 was the result of that contact. The author is quite a nice guy and is very willing to make modifications and accept patches for the application. The amazing part is that the application is only a couple hundred lines of code. Ve...

World's largest database accessed by NSA

AT&T is a fairly well-recognized brand name. And with the recent merger with SBC and the uglification of it's trademark, it is even more recognized...mostly for the ugly-looking trademark. At any rate, there apparently has been some really underhanded stuff going down: http://www.eff.org/news/archives/2006_04.php#004538 http://www.eff.org/legal/cases/att/ AT&T apparently stores over 300 terabytes (yes, terabytes!) of information internally at the company and has given access to the NSA to process the data. The NSA, for those who don't know, stands for National Security Agency - a federal agency that answers to the government but still has to abide by the law. Essentially, the EFF is crying foul (and I agree) because just about everything done on the AT&T network is recorded in that database. One of two things should happen: AT&T should restrict access to just themselves or allow EVERYONE to access it (both the "good guys" and the "bad guys...

Windows Vista delayed to 2007 and here's why...

People are speculating why Windows Vista is being delayed - yet again. Jim Allchin said in February, "Vista is feature-complete, but the company [Microsoft] still has a lot work to do on it." Now what do you suppose that means? Well, there are a few things I can think of: 1) Graphics work. The icons still have to be finalized - a lot of them haven't really been modified yet to use the shiny new Vista look-and-feel (i.e. 256x256 PNG icons - which are not compatible with most resource compilers). 2) Textual finalization. Choosing the right words for each dialog and UI element. 3) Documentation additions and changes. 4) Creating a consistent theme throughout every single area, nook, and cranny. 5) Move the Network Identification dialog to yet another obscure location. (Sorry, running joke - each version of Windows seems to move this dialog to a completely new and unexpected location requiring IT admins to play the digital equivalent of hide & seek). 6) Bugs. Zillions of...

Caught red-handed...

Amazing. My book has only been out for a couple months and someone has the audacity to ask me directly if they can pirate it. Here's the message I received: ------------------------------------- hi, i m new to this group... May i know , from where i can get the following books for free ? Is there any site , from where i can download ? Thanks in advance Manish >"Accelerated C++" by Koenig and Moo > "Safe C++ Design Principles" by Thomas Hruska > "The C++ Standard Library" by Nicolai Josuttis > "Effective C++" by Scott Meyers > "More Effective C++" by Scott Meyers ------------------------------------- Basically, this person stuck their hand in the cookie jar while I was already getting a cookie. Figuratively speaking. I don't think it gets any more blunt than that. The thing is, I am a fairly lenient person. If someone can't afford my book "Safe C++ Design Principles", then they need to e-mail me ...

Why scams work...

Seth Godin has a blog worth reading if you like my style of writing. He's opinionated. I'm opinionated. He's right. I'm right. He talks about business. I talk about software development. He gets to the point. I blab like a journalist. Or an idiot. Pick one. Anyway, a recent article on his blog caught my eye: http://sethgodin.typepad.com/seths_blog/2006/03/ the_return_addr.html In the article (albeit very short), Seth admits having no clue why mail scams work. Unfortunately, I know exactly why they work. Here's the lowdown: Once upon a time a relative of mine received some junk mail. Now this relative was the type of person who had to have two of everything. This sort of behavior is also known as the packrat mentality. It is important to note that if someone who has packrat mentality can't immediately locate at least two items, they will buy another one just to be sure. Now this particular relative was also an elderly person. It is important to note that as a per...

Food changes

I like to know that when I make food that it will have the same taste and texture 100% of the time. That is how I know something is done right. I don't know if you have ever experienced this, but I can taste subtle differences in both taste and texture. I am every food company's worst nightmare - from cereal to ice cream to even rice. Don't mess with my choice in rice. Which is exactly what Uncle Ben's recently did. In fact, there was no warning that it was "New and Improved" - they simply changed it. And for the worse. See, I like their Fast-Cook (5 minute) Long-Grain and Wild Rice with Chicken Kiev (and I'm kind of picky about that too). However, a couple weeks ago I had some and it tasted terrible. Of course I'm not one to judge instantly - I gave them a second chance before deciding to contact the company. The taste was awful. The texture was terrible. And it didn't absorb the butter sauce of the Chicken Kiev like it used to. Actuall...

Security IS Simple

At the recent RSA conference, Bill Gates said, "Today, we're using password systems, but they simply won't cut it." This was after he presented Windows Vista and its new supposedly-secure architecture. Uh huh. I don't buy it. For one simple thing was overlooked at the conference: Vista's core graphics engine is based on DirectX (specifically Direct3D). Game developers and programmers have been using DirectX since it practically came out and it STILL is not stable. For example, some of the best minds designed, wrote, and released the Half-Life game engine (a.k.a. "Source") - and it took them all of five years to make ONE game...and it crashes randomly (can even freeze up the PC so that a hard reboot is required)! Microsoft is making claims that it can shift a fairly stable graphics architecture (GDI) over to DirectX in under two years. I don't care how many people Microsoft throw at Vista. The core of DirectX isn't being fundamentally re-w...

Eliminating web advertisements

I've discovered the perfect solution to removing advertisements from 99% of all websites. Well, I've known about the solution for a long time but only last night found the last piece to the puzzle. A little known aspect of Windows computers is the 'hosts' file. Linux people use this file all the time for various purposes just because Linux is all about editing configuration files. Gag. Anyway, I've known for some time that I can eliminate advertisements on the web by poisoning my DNS cache via a modified 'hosts' file. At this point you are wondering about various things like, "What is DNS?" "What is a DNS cache?" "What is DNS cache poisoning?" I'm so glad that you are asking smart questions like those instead of clicking the 'back' button. DNS is short for Domain Name Server. Basically, when you type in www.yahoo.com , a query is made to your ISP's DNS server to obtain an IP address for www.yahoo.com . ...

Headphone rant

Why do headphones have such lousy design? I have gone through about a half-dozen pairs of headphones in the past 8 years. They have to be replaced by equivalently lousy headphones. I'm not going to drop $200 for headphones because I know that it is just a waste of money and I don't need perfect sound. Here's how it goes: Purchase headphones. They work fine for about a year or two. Then strange things happen. The right earpiece flickers momentarily one day. Then the left earpiece. Then it starts alternating constantly. Then one earpiece goes out permanently. Or if there is an attached microphone, it flakes out. Or it loses its grip on the position I like it at and it drops...so I use a rubber band to hold it in place. The "adjustable" height for headband-based headphones is always off by half-a-notch. And accidentally smacking the cord tends to throw the headband completely out of whack - taking the next 10 minutes trying to fix it up. Also, most headba...

My goodness - what evil lurks in their minds?

I was just told a story about Lotus Notes (owned by IBM Corporation). Let's call the person who told me this 'John'. John was having problems with Lotus Notes about once a week where it would simply crash. Well, it didn't exactly crash crash. Apparently Lotus Notes utilizes WER (Windows Error Reporting) or an equivalent: https://winqual.microsoft.com/default.aspx So when the application crashes, it sends a crash dump of the program to John's IT Helpdesk (or IBM's Helpdesk - I'm not sure how the system works). John doesn't really care. Except John got curious because the application says to contact the corporate IT helpdesk about the issue. So, John calls the corporate IT helpdesk one day and describes the problem. Let's say the IT helpdesk person's name is Sue. Sue asks the following question, "Does Lotus Notes crash on Tuesdays right around lunch time?" Thinking for a moment, John says, "Not sure about the day, but that sounds lik...

The road to performance

Why is it that every time a developer has to go optimize something in assembler, they have to re-learn the darn language again? Okay, you've optimized the, to use a technical term, crap out of that loop in C/C++ and it is not calling any functions what-so-ever any more...and it still has lousy performance. So, now you have to make the tough call to move to assembler. It will instantly tie your application to a single compiler and architecture and make it that much harder to port. Any reasonable business person will look at the potential millions lost and will decide that the product is "good enough" if it means getting it cross-platform faster to gain an extra 20% market share sooner and then go back later to "fix" the problem. Unfortunately, in this case, there is only one platform and the performance is abysmal. The program should be operating at 10 times the speed it is actually performing at. And I've forgotten just about everything assembler in an ...

Rubber melts

I discovered today that rubber can melt just sitting in one place and that putting a graphing calculator under running water causes it to stop functioning. I picked up my calculator today that I've had for forever and my hand stuck to it. Removing my hand from the sticky revealed that the sticky had gotten on my hand. So, I went to the restroom to see if I could do something about it. Then I got back and realized that the sticky was everywhere. So, not thinking clearly, I took the calculator and ran it under water. And soap. Soap seemed pretty effective against the melted rubber pad and the only really good way to remove soap is with running water. Now each TI-82 graphing calculator that Texas Instruments manufacturers comes with four rubber pads. Only one of the four has melted so far. I'm letting it air dry for the next few days in the hope that nothing is seriously wrong (i.e. a short). I've never been very good with electronics, but I do know that water doesn...

Google has nifty feature.

If anyone can figure out how Google is selecting what links appear on certain searches, I would really like to know. Here is what I'm referring to: http://www.google.com/search?hl=en&q=cnet http://www.google.com/search?hl=en&q=yahoo http://www.google.com/search?hl=en&q=microsoft Each of those three searches return four select links to sections of each company's website. What I want to know is how Google is deciding what links come up. This is possibly the biggest feature they have put together in a long time. It seems to me that anyone can benefit from this, but the rules seem really sketchy at best. It looks like different subdomains are favored, but then why is CNet inconsistent? It also appears that you can only have 15 characters for each displayed link. I've not cared much for SEO until now. This, however, piques my interest because this potentially allows searchers to quickly find what they are looking for if they know your company name or website n...

Misinformation

Misinformation is abundant. For instance, I needed a read/write locking mechanism for Windows and was hoping to get some development tips and ran across this as one of the top ten results from Google: http://www.joecheng.com/blog/entries/Writinganinter-processRea.html That's all fine and dandy...if you want application performance to, to use a technical term, suck. Performance really goes down the tubes if 10 threads want to write all at once. Every thread wanting to write has to line up and then 1000+ synchronization primitives have to be acquired before the last one can finish writing. If you are a software developer with less than 5 years of experience and don't know the first thing about a topic, please, please, please do NOT blog on it, do not write an article, do not visit a forum declaring knowledge of it, do pass GO, and do not collect $200. (If anything, you owe the world a formal apology and you owe me $200 for wasting my time). Google and other search engines wi...

Day 3 - SIC 2005

Wow. I meant to post yesterday, but I was extremely busy and I was so exhausted I could not even blog about it. I went to a number of sessions, but missed portions of the afternoon ones. I missed the session on UI design because I was talking to people about ShareWrap. There is a lot of interest and excitement about the product activation system that does not "phone home". Microsoft is here at the conference and they had a session where they presented something that is shipping with their Visual Studio .NET 2005 product called the "Shareware Starter Kit". I will be publishing a PowerPoint presentation that describes what all has to be used in order to get it to actually work in the first place. At the exhibit I was literally swamped. I was executing about three conversations at once and needed to be doing about five at a time to keep up with the rate of people arriving. Thankfully the PowerPoint presentations explained both what the Microsoft SSK (that's ...