February, 2009


28
Feb 09

Active Directory Query for SMTP Recpients

On occasion, I need a query in Active Directory. Sometimes I need to create a query-based distribution group (those always seem to come in handy). And sometimes I just need a better idea of what objects there are in existence in our domain – I don’t want to create duplicates and I certainly don’t want to duplicate any work that’s already been done.

So, when a situation like this pops up, I need to create an Active Directory query. As is the case with all great technologies, this one has a couple of aliases: they’re also known as LDAP and WMI searches/filters/queries. For the sake of keeping things simple we’re going just going to call them queries.

I imagine there are already a lot of youngins out there who are swift with code, but may take a moment or two to wrap their heads around the way this stuff works. The syntax is slightly less than intuitive, but if you’ve ever overloaded operators in C you’ll get the gist of this in a few seconds. Even if you haven’t, there’s not that much to it.

Basically you are going to define a set of qualifiers explicitly stating, in binary terms, what criteria should be used to the inclusion and exclusion of objects in the search results.

Bibble-it.com has already done a great job of explaining the basic mechanics of LDAP. There’s also the Microsoft walkthrough on LDAP basics.

This is the query. It includes all objects (users, contacts, groups, folders) in Active Directory that are capable of receiving mail.

(&
(mailnickname=*)
(|
(&
(objectCategory=person)
(objectClass=user)
(!
(homeMDB=*)
)
(!
(msExchHomeServerName=*)
)
)
(&
(objectCategory=person)
(objectClass=user)
(|
(homeMDB=*)
(msExchHomeServerName=*)
)
)
(&
(objectCategory=person)
(objectClass=contact)
)
(objectCategory=group)
(objectCategory=publicFolder)
(objectCategory=msExchDynamicDistributionList)
)
)


28
Feb 09

Great Depression Shutterings

I found a really great query that searches for companies that went under during the Great Depression. It returns a ton of great results.


28
Feb 09

Is Coldwell Banker Shuttering?

A little birdie heard a rumor that a major real estate firm is likely going to cease operations within the next two weeks.

In 2007, Realogy, its parent company, was named to the Fortune 500 as the top real estate firm.

We would like to extend our condolences and sympathies to all the employees of Coldwell Banker.


26
Feb 09

Help, My Phone Repels Developers

My “smart phone” is a Windows Mobile device. I’ve used the Blackberry and the iPhone and they are both wonderful types of handsets. I’d love to get an iPhone for my personal cell phone, but US carriers have not quite figured out GSM yet. Either that or the FCC is blocking the frequency ranges it needs to penetrate things like walls and ceilings.

Consequently, AT&T wireless service in LA is lousy. I know because we use AT&T at work. I drop calls all the time, just sitting at my desk on the 12th floor. Right next to a window. And I’ve had to install a dual-band repeater in the home of one of the owners of the company I work for. Three bars of reception outside his front door, zero signal inside.

You’re wondering why I don’t get an iPhone for work? Yeah, like I’m going to ask my for an iPhone right now. Have you looked at the unemployment rate lately? I’m not that awesome. “No way, sir! I love my TyTN II. Go Windows Mobile!”

The Blackberry seems like a cool tool. At least it did five years ago. We use Exchange at my work and in order to get a modicum of compatibility between Exchange and the Blackberry, we’d have to fork out the quoted $2500 for an enterprise license to Blackberry Enterprise Server. BES is a piece of software that piggybacks on Exchange and lets Blackberriess (Blackberrys?) emulate the inherent capabilities of the Windows Mobile Exchange ActiveSync replication topology.

Even then I’d be missing DirectPush. Microsoft really believes in integrating its products with each other a lot more than it does integrating them with the competition. Unless the competition is licensing software from Microsoft. A very smart business move by the iPhone team.

Over the last two weeks I’ve become painfully aware of a trick that these ponies can do. (Did I mention that my phone sucks in this department?) The trick involves Twitter. If you don’t know what Twitter is, you should close this browser window and go watch TV.

The trick is this: if you want to you can search Twitter to see who is tweeting in a specific geographic radius. This is a very cool, very new, very RELEVANT technology that is the basis for one of the major revolutions set to wash over the web. The only problem is, no one has quite figured out how to make it work really well yet.

The idea is simple.

If I own a pizza shop and I want to increase my business, a good way to do this is to inform passersby that I’m offering a discount on my pizzas right now. I could do this with a sign in my window, or a sandwich guy out front, but what I’d really like to do is send out a mass text message. Not a huge one to everyone who voted for American Idol, but a targeted one to everyone who comes within, oh, say 3000 ft of my shop. How do I do this? Geolocation and location aware cell phones.

Increasingly, cell phones are coming with built-in GPS receivers. This comes in handy if you want to use navigation software from your cell phone. What is really quite revolutionary, though, is the concept of broadcasting your whereabouts at any given time. It’s a huge violation of privacy and individual liberty. But the 3G iPhone has shown us that people are totally oaky with it. How do we know this? All the Twitter users with iPhones.

Anyone can search Twitter by locale. This is not new. When you sign up for your account you are offered a chance to provide your locale. You can make this as specific as your ZIP code or as general as “Milky Way Galaxy.” It’s up to you.

A lot of twitter users don’t realize that with every tweet their Twitter client is broadcasting their location. Unsophisticated clients (SMS, Web, Twitterific, etc) can do this by manually specifying their location in a tweet of L:location. But more sophisticated clients are doing this automatically.

Try it yourself. This link will take you to the Twitter search site. I’ve already plugged in the coordinates for roughly the center of the UCLA campus. I’ve also specified a search radius of 1 kilometer. This will filter the public timeline by location. Check out how many of these are unwitting iPhone tweet geolocations.

These tweets are coming from apps like hahlo, iTweet, and TwitterFon.

So why can’t I have something this cool for my Tilt.

Well, I went through and tested bunch of stuff and funny enough the best app I found was an open source project called PockeTwit.

I’ll have to save the full review for another post, but there are a bunch of dogs out there that do 3/4 of what they should. PockeTwit is the only one worth downloading if you ask me.

And you did, didn’t you?


26
Feb 09

Google International Airport

Larry, Sergei and Eric have gained special access to fly the planes of the GAF (Google Air Force) in and out of Silicon Valley on a NASA airfield.

The trio’s private air support wing, a company called H211 LLC, recently acquired a fourth passenger jet. Apparently, insurance companies and institutional investors worry that one of the planes might crash and losing more than one of them at a time would cause irreparable financial damage to Google.

You can find the lease agreement on the NASA website here.


26
Feb 09

Santa Monica in 1928

Check out this highly detailed scan of a map of Los Angeles from 1928.

Depicted in the above section are the Pickering and Crystal piers in Ocean Park. Cloverfield Boulevard gets is named for the original title of Santa Monica airport, “Clover Aviation Field.” I took the map section above and superimposed it over Google Maps. It doesn’t line up perfectly (the map was created for marketing more than for official survey), but it lends some interesting insight – I’d forgotten that Ocean Park Boulevard was formerly named Central Avenue (Ocean Park was once distinct from the city of Santa Monica).

If you live in the Ocean Park neighborhood of Santa Monica, you might find it interesting to see how, before the mid-sixties, when “The Shores” apartment complex was constructed, Raymond, Ashland, Kinney and Pier Avenues continued to the waterfront. Streets that no longer exist, like Grand Avenue and Surf Street, can be seen just south of Ocean Park Boulevard.

The construction of the Santa Monica freeway seems to have had a devastating and irreversible effect on the neighborhoods through which it passed. I’ve been told that the path of the freeway was designated in large part by the racial makeup of the neighborhoods in the area; that . I don’t know how much truth there is to that. I’m not sure if I’d rather be forced to sell my home and move or get stuck with a ten lane highway next door.


25
Feb 09

Transit 2000 Video!!!1111

[youtube=http://www.youtube.com/watch?v=l_xM6QDi-ko&hl=en&fs=1]

This is a great video from 1992 illustrating what traffic management might look like in the year 2000. Highlights include:

A navigation system that can fit in the trunk of the car.
The heads up display from a fighter jet (still waiting on that one)
It’s narrated by Nichelle Nichols (she played “Uhura” on Star Trek)
There is a video of undercover transit cops taking out a guy tagging the back of an old school RTD (pre-MTA) bus


25
Feb 09

Recovery Act Word Cloud