Review: Microsoft Sculpt Keyboard

A few months ago I bought the Microsoft Sculpt keyboard and mouse. This review is about the keyboard only. I picked up the mouse and immediately knew it wasn't something I wanted to use.
I don't know a lot about keyboards, so this is entirely subjective.
To summarize, if you like split keyboards, and like short action on your keypresses, then you will like this keyboard. 
Pros:
  • It's nice looking. Seriously.

Updating LDAP Boolean Attributes with PHP

Changing the value of an attribute in an LDAP directory via php generally uses the ldap_mod_replace function. Something like:

$newvals = array('attribute' => 'value);
ldap_mod_replace($ldap_connection, $dn, $newvals);

The problem I ran into was when the attribute was a boolean type. I kept getting:

 ldap_mod_replace(): Modify: Invalid syntax

Quick alpha version of filtering a table

I've found it incredibly useful to be able to just start typing in an input box, and have a long table get pared down to only what I'm looking for. See Drupal's Module Filter for an example. Since I have an app I'm working on that will eventually need similar functionality, I wrote a quick proof of concept. It's rough, and I have no idea how well it will perform on large tables. But it might come in handy. Visit it on GitHub: https://gist.github.com/4028731

Checking a LDAP Password in PHP

One of my current projects requires authenticating against an LDAP directory. I initially assumed that you would get the password from the directory, then compare it with the user supplied password. That's the wrong way.

The correct way is simpler. Just try to bind the user to the LDAP directory. If it works, you have the correct password, if it doesn't, the password or username is wrong. 

How To Migrate Content from a Wordpress Blog to Drupal 7

As you can see, I have migrated my personal blog to this site. It's now here: Personal Blog. I tried a couple methods, I used Feeds and was able to easily import posts, but I couldn't figure out how to get the comments as well. After a bit of searching, I found the Wordpress Migrate module. And it worked quite well.

Short Update

So, this is just a quick note to inform any readers that I am still alive. Unfortunately, or maybe not, I have been quite busy working at Lane Community College. Thus, this site has taken the back burner. 

 

So, we'll see if I find time to do anything here. Until then, thanks for visiting!