joeware - never stop exploring...

Information about joeware mixed with wild and crazy opinions...

8/12/2010

Help Wanted: CEO with vision…

by @ 8:00 pm. Filed under general

Nevertheless, Wall Street analysts and some investors have been grumbling for months that cutting costs—no matter how adroitly—isn’t enough for the tech giant. HP now needs a CEO with a strong technology background who can craft a strategy to fuel internal growth, according to Louis Miscioscia, an analyst with Collins Stewart in Boston. "I’m not implying a Steve Jobs kind of visionary," says Miscioscia, referring to Apple’s (AAPL) CEO. "But they need someone who understands where the IT industry is going."

http://www.businessweek.com/magazine/content/10_34/b4192017461548.htm

Rating 4.00 out of 5

8/10/2010

My Horrible Experience

by @ 1:42 pm. Filed under general

Howdy everyone. Hope the title caught your attention. This morning I received the email below from one of my Aunts. It is a signal that your email account was hacked. I knew it right off because another friend of mine sent this exact note to me several months ago. When I read it then I was thinking oh my gosh… until I realized, my friend writes much better than this email was written. So looked into it and found out it was a hack. Anyway, I called my Aunt and she called me back and said that she is hearing from people all over that she hadn’t heard from in ages. So from that standpoint this was good, but currently her email is locked out by Yahoo, her Facebook page has been deactivated and who knows what else… She has a long day ahead of her to try and get things straightened back out.

Anyway, here is the email, if you see this… Whomever it says it is from is hacked.

 

Subject: My Horrible Experience

From: One of your friends or family

To: undisclosed recipients:

Hi,

I’m writing this with tears in my eyes,sorry I did not inform you about our trip.We actually made a quick travel to London and unfortunately attacked and mugged at gun point on the way to our hotel,all cash,credit card and cell phone were taken away from us but luckily we still have our passport with us.

We`ve been to the embassy and the Police here but they’re not helping issues at all and our return flight leaves anytime from now but we`re having problems settling the hotel bills and the hotel manager won’t let us leave until we settle the bills.

Am freaked out at the moment and need help.

<insert friend/family name>

Rating 3.00 out of 5

8/6/2010

How many downloads?

by @ 4:16 pm. Filed under tech

I just had to gather stats on how many utility downloads I have so I thought I would share. Sadly I don’t have stats going all the way back to 2001. In March 2007 I changed ISPs. When I did so, I neglected to take the data portion of the downloads with me so lost the stats from October 2004 – March 2007. I lost the stats from 2001 to October 2004 when I set up a new download system AND switched ISPs. The stats from Oct 2004 to July 2006 are at this post – http://blog.joeware.net/2006/07/21/469/

So the stats from March 2007 to now…

The totals for all thirty nine tools on the website as of today since March 2007 is 456,684 downloads.  The top five tools in terms of downloads are:

· AdFind – 99167 downloads

· OldCmp – 63392 downloads

· CPAU – 50249 downloads

· AdMod – 20757 downloads

· SIDToName – 19382 downloads

Rating 4.33 out of 5

7/8/2010

Some possibly useful batch commands

by @ 10:31 am. Filed under tech

I had to work out a few things to do in a batch file the last couple of days so I thought I would share. Note: so this doesn’t become a huge powershell versus perl versus whatever discussion, I had no choice, I had batch available period and even that was possibly stretching it a little as the people involved seemed very concerned about scripts, etc. Also, yes I am aware of Tim–Toadie (TIMTOWTDI). So please feel free to comment with additional methods.

 

Getting date and time in a useful format

for /f "tokens=1-4 Delims=/ " %%i in (‘date /t’) do  set dt=%%l/%%j/%%k
for /f "tokens=1" %%i in (‘time /t’) do set tm=%%i
echo Date: %dt%-%tm%

 

Is this machine virtual or physical? It could be VMWare, HyperV or Virtual Server or Virtual PC. I don’t have the strings for other virtualization techs, if people are using them and can post the results of the command “wmic computersystem get model” then they can be added to the batch commands.

set VIRTUAL=NO
set VMWARE=NO
set HYPERV=NO
for /f "skip=2 tokens=1-2 delims=," %%i in (‘wmic computersystem get model /format:csv’) do set MODEL=%%j

: Microsoft Virtualization
if "%MODEL%"=="Virtual Machine" (
  set VIRTUAL=YES
  set HYPERV=YES
)

: VMWare Virtualization
if "%MODEL%"=="VMware Virtual Platform" (
  set VIRTUAL=YES
  set VMWARE=YES
)

 

Is this machine Vista or better?

SET VISTA+=NO
if exist %systemroot%\system32\bcdedit.exe set VISTA+=YES

 

Is this machine x64?

SET x64=NO
if exist "%systemdrive%\program files (x86)" set x64=YES

Rating 4.00 out of 5

6/28/2010

.NET… Love your idiosyncracies… not

by @ 2:50 pm. Filed under tech

So I am forced to write some more .NET code, worse, some Windows Forms stuff. Couldn’t put me further away from my happy zone. I do have to say that Borland err, CodeGear Builder C++ still blows VS away for simple generation of GUI. If only CodeGear did x64…

 

So two things that I have found I am unhappy about in just the last hour.

  1. RefreshCache() doesn’t appear to work for the LDAP provider in DirectoryEntry. WTF.
  2. CTRL-A isn’t captured and used for SELECT ALL by default in a TextBox. I actually had to code a workaround for it with the following C# Code:
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
 {
  // CTRL_A Select All not handled by default
  if (Convert.ToInt(e.KeyChar) == 1) textBox1.SelectAll();
 }
Rating 3.00 out of 5

6/23/2010

Saw this as the email signature from a joeware fan…

by @ 3:26 pm. Filed under humour

“If you want to know what type a certain bear is, sneak up behind it and kick it. Then,
run like crazy and climb up a tree. If the bear climbs the tree and eats you, it’s a black
bear. If the bear just pushes the tree over and eats you, it’s a grizzly bear.”

Rating 4.00 out of 5

IT Lesson of the day…

by @ 2:53 pm. Filed under tech

If you are running Internet Explorer 6 SP1, it is probably a good time to upgrade. :)

Rating 3.00 out of 5

In the mailbag… Palindrome

by @ 2:31 pm. Filed under general

Pretty interesting.

 

 

Lost Generation

Rating 3.50 out of 5

Cool website

by @ 10:55 am. Filed under tech

http://portableapps.com

Rating 3.50 out of 5

6/19/2010

So what service is registering my dynamic DNS updates? (non-Domain Controller SRV records)

by @ 1:51 am. Filed under tech

I’m sure you have had that question before or seen it before. It is a popular question. And of course as everyone knows or at least finds out (possibly after much painful troubleshooting) is that it is the DHCP Client Service that registers your dynamic DNS updates. And when you learn that you say, but my servers aren’t using DHCP so that can’t be right… Doesn’t matter, the DHCP Client is registering the names in DNS for you… So don’t shut it off unless you don’t want your servers magically registering themselves… 

That is what we have been learning and possibly relearning and recalling every time that question has been asked since Windows 2000 first went RTM. You may have forgotten it after you first heard it in class or from a casual conversation or saw it on an internet post but the first time you can’t resolve a server to name and track it down to the fact that someone disabled the DHCP Client Service because “the server wasn’t and wouldn’t ever use DHCP” you will not forget again. Right?

Well get ready to forget that piece of trivia. Microsoft was sneaky and changed the DNS Registration functionality from the DHCP Client Service to the DNS Client Service… WHOA! This change from what I understand started in Windows Vista. I don’t do much with client OSes so never ran into it. But I can absolutely confirm that this functionality is in Windows Server 2008. I glanced through the Source Code for Windows Server 2008 for the dynamic updates and performed about 30 minutes of testing with WireShark and it absolutely is moved into the DNS Client Service.

Now I admit, I may be a little behind the curve and some of you are almost certainly going to say, whoa joe… you ARE behind the curve… But I felt I would share this info because I just learned it and when I looked around I saw some confusing internet posts on the topic. 

One MSFT document I saw said that sometimes the DNS Client Service does the registration, sometimes the DHCP Client Service does the registration. When I looked at the source code, that didn’t seem to be the case, also my testing didn’t seem to bear that out. Even if I was using DHCP for the server, if I disabled the DNS Client Service and, obviously, had the DHCP Client running fine, it wasn’t registering its name at all. IPCONFIG/REGISTERDNS absolutely used the DNS Client Service as well.

I updated the Wikipedia article on Microsoft DNS to reflect this change in functionality.

 

    joe

Rating 4.50 out of 5

[joeware – never stop exploring… is proudly powered by WordPress.]