First post from iPhone

This is the first post using the WordPress app for the iPhone.

It’s a pretty nice application, but it would be better if it supported the rotation feature to get the horizontal keyboard.

I do like the fact that you can add photos.

Related posts

This entry was posted in geeky and tagged iphone. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

iPhone Application Update Mechanism Not Working

This morning, as I have for the couple of days, I checked the App Store in iTunes for new applications for my 8GB iPhone 3G.  I noticed that when I sorted the new applications by release date that the NYTimes application showed a release date of July 16, 2008.  I thought that it was odd since I know I got that application on the first day of the 3G release.

Turns out that it is an updated version, however when clicking the Check for Updates link in Applications section of my iTunes library I got the following dialog box:

So apparently the update check mechanism in iTunes doesn’t work.  I hope that they get this fixed soon.  Even better would be an e-mail notification that a new version of the application is available.

Related posts

This entry was posted in geeky and tagged iphone. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Whither MyMileMarker?

For the past several months I had been entering my fuel data into a really nifty web application called MyMileMarker.

As you entered each successive fill-up the application would chart your mpg. Not only that it was estimate the odometer reading of your next fill-up based on previous usage.

Unfortunately it would appear that this site is now more. I went to it yesterday to enter my latest fill-up to find that the site had disappeared, only to be replaced by a parking page by their webhost.

Maybe someone else will come up with a similar site.

Related posts

This entry was posted in geeky and tagged arfore.com. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Wow I know I say it louder

So what’s it take to get you to remember a television commercial?

Sometimes it a catchy phrase, like “OMG, INBD!”

But more likely it is a catchy song.  Here are some of my current favorites:

Kia Spectra
Just Can’t Seem to Get it Right Today – Joe Purdy
http://youtube.com/watch?v=IitjbUD_VUc

Apple MacBook Air
New Soul – Yael Naim
http://www.youtube.com/watch?v=-YUxbDEPFiM

Apple iPhone
Perfect Timing This Morning – Orba Squara
http://www.myspace.com/orbasquara

What are some of yours?

Related posts

This entry was posted in fun and tagged arfore.com, music. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Tag Archives: language

Shows like CSI, Law and Order and Bones, throw around a lot of interesting phrases in Latin. While you may not care to study Latin, here’s a few that are fun: caveat utilitor – let the user beware condemnant quod non intellegunt – they condemn what they do not understand deus ex machina – god […]

Posted in general Tagged language

Do you ever use a phrase that you heard growing up as a child that no one else around you understands?  Frequently I find myself having to explain the meaning behind a phrase to my student assistants. One of the latest ones is the phrase bar pit. Now, I don’t recall whether I heard this […]

Posted in personal Tagged language

caveat utilitor

Shows like CSI, Law and Order and Bones, throw around a lot of interesting phrases in Latin. While you may not care to study Latin, here’s a few that are fun:

  • caveat utilitor – let the user beware
  • condemnant quod non intellegunt – they condemn what they do not understand
  • deus ex machina – god of the machine
  • Roma aeterna – Rome is eternal

For some more fun phrases in Latin check out the entry List of Latin phrases (full) on Wikipedia and the latinproverbs wiki.

Related posts

  • Where do you get the dirt? (0)

This entry was posted in general and tagged language. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Where do you get the dirt?

Do you ever use a phrase that you heard growing up as a child that no one else around you understands?  Frequently I find myself having to explain the meaning behind a phrase to my student assistants.

One of the latest ones is the phrase bar pit.

Now, I don’t recall whether I heard this from my parents or someone else growing up, but the explanation is quite simple.  And the explanation itself includes a colloquial corruption of a word as well.

Often when you are driving down the highway, at least in South Georgia, you will see large tracts of land where large pit have been created by removing dirt for DOT projects.

These are the bar pits and this term comes from the fact that it is a pit where they are barrying the dirt from.  Now the word barry is itself a corruption of the word borrow.

Related posts

This entry was posted in personal and tagged language. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

What’s up with the FSF?

By arfore | Published: July 26, 2008

So there is a nice report on cnet about an human denial of service attack on the Apple Retail Store Genius Bars.

According to this story, and the FSF site DefectiveByDesign, the goal is to book as many 10-minute time slots as possible over a two-day period at the Apple Store in a lame attempt to bring more attention to what the FSF sees as the defective nature of the iPhone 3G.

Richard Stallman, the founder of the FSF, has stated:

The motive for DRM schemes is to increase profits for those who impose them, but their profit is a side issue when millions of people’s freedom is at stake; desire for profit, though not wrong in itself, cannot justify denying the public control over its technology. Defending freedom means thwarting DRM.

He also describes DRM as Digital Restrictions Management:

However, since its purpose is to restrict you the user, it is more accurate to describe DRM as Digital Restrictions Management.

If Stallman’s purpose is to be obstructionist and unhelpful then he and his campaign has succeeded.

While it is laudable for Stallman and his FSF pals to despise DRM, it is definitely not laudable for him to block well meaning customers from receiving customer support by the vendor of a product they have purchased or use.

As for his whole campaign against DRM, I think that he is barking up the wrong tree.  If he really wants to eliminate the completely legal restrictions against the usage of DRM files on his favorite platform, then maybe he needs to work on changing the law.

It’s fine and good for him to characterize the anti-piracy claims as being propaganda by the media companies, but if people weren’t stealing the movies and music, then there wouldn’t be a need for the DRM.  I know plenty of people that download illegal copies of music, movies and television shows.  That means that no money is going to the artists, actors, and producers for those copies that are stolen.  And while I don’t agree on the statistics that the media companies are touting when it comes to the stolen media, I do agree that these thefts are making it more expensive to abide by the law.

As for not having a legal player on the free software platforms, maybe if the GNU and Linux crowd weren’t quite so rabidly against paying for software then there might be some incentive for a developer to license the codecs from Microsoft and Apple.  If these companies are as greedy as Stallman claims then it is doubtful that they would pass up the chance to have yet another market for their products.  I know that I would personally pay for the ability to legally play all of my iTunes Music Store purchases on a Linux-based media center computer.

Related posts

This entry was posted in general and tagged computers. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Tablet PC Restoration – Part 1

By arfore | Published: June 8, 2008

This is part one of a short series of articles detailing the process I went through to restore a friend’s table pc after her hard drive dies due to a head crash.

Background

My friend has a Gateway CX210X Convertible Notebook. This model uses a SATA internal drive. Her drive died sometime last Friday afternoon while working in Windows. You got the standard click of the drive arm against the platter that wouldn’t stop.

I tried some basic restoration techniques to see if I could at least see the drive:

Nothing worked. So I went out and bought a new hard drive for her from one of the local computer places in Valdosta, Belson’s pcXchange.

Installation Problems

At this point I thought I was going to be homefree, boy was I wrong. The first hurdle was getting the Windows install cd to even see the hard drive. Apparently the bios for the CX210X does not have a legacy option to allow the SATA controller to be seen as a standard IDE controller. No problem, I can just use a USB floppy drive to load the drivers before the install, right? Wrong.

According to Microsoft there are only three USB floppy drives that are supported in the Windows XP installation process. While the one I had was a Sony drive, it was not the right model. When using the F6 installer option the drive was read, but later in the installation process when it needed it the second time the drive was not seen. At work we had run into this problem when installing Windows Server 2003 on a Sun x86-based server. The way around it for us was to used the ILOM port and install the OS remotely. This was not an option in the restoration of this machine.

Slipstream to the rescue

After reading a lot on Google, it turns out the best solution for this was to get the driver from Gateway’s support site and adding it to the installation cd.

While I have done this with a service pack before, I had never added in drivers, but I doubted that it would be that difficult.

I found a site or two that discussed adding the drivers into the cd by hand using Microsoft’s sysprep process, but there was a better solution. The guys over at nLite have put together a great piece of software that made the whole process like butter. It makes adding patches, drivers and hotfixes a breeze, and you can even use it to create an ISO to burn and boot.

Installation Time

Time to let her rip! So the installation process worked out just great. The installer recognized the drive and after installation I had network right off the bat.

What’s next?

The next step will be to get all the updates and see about the Tablet hardware.

Related posts

This entry was posted in geeky and tagged computers, operating systems, windows. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Adding an Active Directory group to local admin on Mac OS X 10.5

By arfore | Published: October 21, 2009

One of the standard methods of configuring Mac OS X in the enterprise has become known as the magic triangle or golden triangle. This is generally described as a setup involving Active Directory (AD) for authentication of the clients and services and Open Directory (OD) for managing the client preferences.  The triangle comes from the fact that you have the Mac clients talking to AD, the clients also talking to OD, and the Mac server talking to AD. (Apple officially calls this the magic triangle setup in the Snow Leopard Server Open Directory Administration documentation.)

One of the issues I ran into was granting a non-admin in AD the ability to perform administrative functions on the clients bound to AD.  The way this is handled with the Windows clients is for the particular AD user to be a member of a group that grants local administrator privileges.

Unfortunately there is no simple equivalent on the OD side of the equation to allow this for the technicians working on the Mac OS X clients.  If you add an AD user to the system level group Open Directory Administrators using Workgroup Manager (WGM) this has no effect on whether a user is granted local administrator privileges to a connected client machine.

The solution to this involves:

  1. creating a group in OD to hold the members of AD that should have local administrative privileges,
  2. adding this OD group to the requisite local workstation groups to mimic the standard administrative privileges, and
  3. adding the OD group to the sudoers file

Step 1: Creating the OD group

Anyone who uses WGM to manager OD users and groups will have no trouble with this step at all.  It is a simple matter of creating the new group in WGM and assigning the appropriate membership.  Make sure that you are editing the correct directory in WGM, it should be something similar to

/LDAPv3/127.0.0.1

The only real decision to make during this step is whether to include individual AD users or to nest an AD group inside the OD group.  Nested groups can sometimes be tricky to handle correctly, but with some care this shouldn’t be an issue.  I chose to use a nested AD group, since I am not the AD Group Policy manager, and I didn’t want to be constantly updating the OD group memberships.

Step 2: Adding the OD group to local admins

This is where the fun part begins.  It might seem fairly straightforward to handle this step, however without some investigation you may find your work incomplete and your technicians (as well as yourself) frustrated.  If your think about this logically you would come to the conclusion that you just need to add the OD group as a member of the local admin group.  While this is correct, it is only partially correct.

The first thing you should do is to use the id command to determine the default memberships of a local admin on the client.  When I ran this command on my workstation I got the following result:

it04984:~ arfore$ id support
uid=501(support) gid=20(staff) groups=20(staff),98(_lpadmin) 81(_appserveradm),79(_appserverusr),80(admin)

As you can see from the text above, I was logged in as the user arfore but I was investigating the membership of the local administrative account named support.  What is interesting about the result is that a standard administrative level account is a member of four groups that perform administrative functions.

The basic administrative functions, such as installing applications and changing most of the systems level preferences can be performed by any member of the group admin.  There are other functions that require membership in the other three groups, however, such as:

  1. adding or removing a printer
  2. pausing or deleting a print job
  3. configuring WebObjects directories and apps for deployment

If you don’t use WebObjects or develop WebObjects applications using XCode, then you are safe to ignore the following two group memberships:

  • appserveradm
  • appserverusr

In order to add your OD group to the admin and lpadmin groups, you need to execute the following two commands:

dseditgroup -u LOCAL_ADMIN_SHORT -p -o edit -a OD_GROUP_SHORT -t group -n /Local/Default admin

dseditgroup -u LOCAL_ADMIN_SHORT -p -o edit -a OD_GROUP_SHORT -t group -n /Local/Default lpadmin

When using these command replace LOCAL_ADMIN_SHORT with the shortname of the local administrator account and OD_GROUP_SHORT with the shortname of the OD group.  You will be prompted for the password of the local administrator account when running the commands.

What these commands are doing is to edit the group membership of the admin or lpadmin groups in the local directory node to add the membership of the OD group.  If you only want to add a single OD user to the local administrator groups, say for instance an augmented user, then do the following commands:

dseditgroup -u LOCAL_ADMIN_SHORT -p -o edit -a OD_USER_SHORT -t user -n /Local/Default admin

dseditgroup -u LOCAL_ADMIN_SHORT -p -o edit -a OD_USER_SHORT -t user -n /Local/Default lpadmin

The only changes made were to substitute the shortname of the OD user and to change the type of record being added to be a user instead of a group.

One of the side effects of this process is that the local groups will be converted to GUID format.

Step 3: Adding the OD group to the sudoers file

If you work with the command line on a regular basis, or even a semi-frequent basis, you will have no doubt run into an occasion to use the sudo or su commands.  The sudo command lets you execute operations as the super-user, or root.  In Mac OS X the root user account is not enabled for login by default, however there are many times that it is useful to have super-user privileges, such as when you need to create an nsmb.conf file to get around the problem with smb connections to a Windows-DFS share.  The su command allows to become another user, or to substitute their identity for yours.  This can be useful when working as the root user for any extended period of time.

While adding your OD group to the local administrator groups will suffice for almost anything that is executed through the Finder or the other various GUI applications, the command line utilities of sudo and su don’t understand nested groups.

This is easily fixable by using an existing local administrator account and editing the file

/etc/sudoers

There are two methods for editing this file:

  1. using the visudo command, which is expressly design for this purporse
  2. using a standard text editor and the sudo command

Regardless of which method you use, the necessary change is as follows

  1. open the file in the editor
  2. find the section labeled
    # Uncomment to allow people in group wheel to run all commands
  3. add a line similar to the following underneath it
    %stafflocaladmins ALL=(ALL) ALL
  4. save the file

What this does is to allow any user of the client that is a member of the group “stafflocaladmins” to perform operations requiring the sudo or su commands.

Afterword

The end result of these operations will be a setup that allows for the technicians to perform the necessary administrative functions when on-site without opening up the local users permissions beyond an acceptable point.

These techniques can also be combined with changes to the /etc/authorization file to allow a user to change the timezone or the screensaver, even add a printer or change the region code on the DVD drive.  For more on the authorization file check out the article at AFP548.com for more on this file and how to use it.

Related posts