Author Archive
A friend was looking for a way to communicate with employees without having to send e-mails, since not everyone checks their e-mail regularly, or even thinks to check their e-mail these days. All of the employees, however, work at a computer for at least part of the day. Several months ago I had found a way to have the current day’s events listed on each computer’s desktop by using Windows Active Desktop, which will display a web page. Unfortunately, IT people intervened after a couple months and disabled the Active Desktop feature on most of the computers. That left using live web sites, accessed with a browser, as the only option.
The first issue was to set up something that the friend, who has moderate computer skills, could handle. We also needed a site that could restrict access to the information being posted. A bonus would be finding a way to easily display the current day’s scheduled events on the site as well. An even bigger bonus would be a “solution” that integrated room scheduling with displaying the schedules on the site, especially if that solution would prevent overbooking. And, of course, the kicker is that it all has to be free.
My friend thought the limitations of using a browser and Internet to access posts and information were acceptable. We could place shortcuts on the desktop, or make the site the browser homepage, and let the staff know about it. The staff were grateful to have something after the current events schedule disappeared from their desktops.
Except for the site itself, everything did turn out to be free. But since I happen to have a hosted account with an obscene amount of space and bandwidth that will never get used, it seemed like a good place to experiment for the benefit of my friend. Since I already have several sites running Drupal, that was my CMS of choice. It is free, and has a large, active community supporting it.
So I set up a new site, required a login to view the content, gave my friend just enough access to publish stories, and logged into the site from all the location’s computers, instructing Internet Explorer to remember the username and password. So far so good. Pretty simple and straightforward.
Then Internet Explorer stopped remembering the username and password (there was probably some kind of staff intervention involved, but I decided to see if I could find a fix that would outsmart them). A quick search of the modules section of Drupal turned up Persistent Login. This works great until they start clearing the cookies.
The next request was from my friend for an RTF type editor, to be able to use different fonts and colors in the posts. That was solved with the TinyMCE Wysiwyg module. Then I turned my attention to finding a way to get a daily events listing posted dynamically.
Enter Google Calendar, which has XML feeds. After trying out several ways to get the feeds onto the site using the FeedAPI module, the Views module, and the CCK module, I began searching through the discussion groups on Drupal. I came across a discussion that referred to a new module being developed to do just what I was looking for: GCal Events. Jeff Simpson, the hero here, without any previous experience creating modules for Drupal, put it together, tweaked it and fixed bugs based on our feedback, and has now put it in the projects section of Drupal: http://drupal.org/project/gcal_events.
Since the site for my friend was already up and running, I set up a test site that mirrored the other site’s setup: test.clbean.com. With the development snapshot of the GCal Events module installed, which has some tweaks and bug fixes applied after the official release was put up, everything ran great. So I enabled the module on my friend’s site. Scheduled events for the day are pulled from a Google calendar and displayed on the right column.
The last issue was to set up the Google calendar account to work as a room scheduling “solution.” There are 3 rooms at this location that are reserved for various uses. Several people in different departments were using 3 different calendar books to block out reserved times. On a few occasions, events have been overbooked. The books can also be hard to locate if someone has taken them for awhile. Google calendars seemed like an easy, free, and obvious answer:
- More than one calendar can be created within an account
- Calendars can be shared with other google accounts
- Event times in a calendar cannot overlap (which prevents overbooking)
On the main Google calendar account, I set up calendars for each of the rooms that can be booked. I then shared the calendars with others who would be booking the rooms, allowing them to make changes (so they can add events). Since the calendars represent the rooms being booked, it is not necessary to fill in the location field, making a “quick add” possible through the popup that appears when clicking on a time space within the calendar (day or week view).
On the site using the calendar feeds, I set up a separate GCal Event feed for each of the calendars, so events are displayed by room. The only glitch, which was fairly easy to fix, was a piece of php code that refreshes the cache once a week instead of every day (thanks to jdwfly’s post in the discussion: http://groups.drupal.org/node/13720#comment-46424).
I love open source software. And I love the people that are part of it. Thanks, Jeff!
No Comments »
I have been hearing the terms digital native and digital immigrant for quite a while. Digital native, of course, refers to those who have grown up with digital technology (generally those born after computers and cell phones became mainstream), and digital immigrants would be those who had to learn the technology as an adult. But there are a lot of people that don’t nicely fit into those categories, there are also the “bridges” (somewhere between digital native and digital immigrant) and the refugees (those who have fled the onslaught). I teach the digital refugees, of course.
In an effort to get a better picture of these distinctions, I started questioning my kids about the ways they use technology and why. I don’t think my kids are particularly typical (after all, they are mine), but their responses were interesting, nonetheless, since they affirm, for the most part, what others (mostly digital immigrants) are saying about digital natives. My kids range in age from 17 to 28. I questioned the 17 year old first. His answers were pretty much the same as his 22 year old sibling who is still in college. His 26 year old sibling, out in the work force, had only slightly different answers. All of them (even the oldest ones) grew up with computers both at home and at school, although for the older ones, computer technology was not as widespread and integrated as it is today.
They all have cell phones. They all use the phones to send text messages. The youngest says he uses text much more than voice (verified by the phone bill). For the 22 year old it’s about a 50-50 split, and for the 26 year old, it’s mostly voice.
Why do they text instead of use voice?
- It’s more private, or, to put it in the words of the youngest, “texting is less obnoxious.” He used an example of someone in a public place like a grocery store talking loudly on a cell phone so everyone can hear all the gory details that they would rather not. Texting doesn’t disturb anyone.
- In many cases it’s quicker and easier than dialing a number and waiting for the other person to answer just to say something like “I’m on my way, I’ll be a few minutes late” or “are you going to Fred’s this evening?”
- You can send the message to multiple recipients rather than making multiple phone calls.
- Sometimes it’s the only way you can communicate. The youngest used the example of being in class, where phones are not allowed, and texting surreptitiously. The 22 year old used an example of being at a loud party where you wouldn’t be able to carry on a phone conversation.
In most cases the texting is short, quick messages. The 22 year old will switch to a phone call if the messages are getting long, since it’s easier to talk.
They all have MySpace and Facebook accounts. Which one they use depends on which friends they want to communicate with. The 26 year old is in the process of resurrecting his Facebook and MySpace accounts, because that’s where all his friends are. They all prefer Facebook:
- MySpace has too many ads that are in your face. As one of them put it, “Where would you rather talk to your friends: in the Mall, or in Radio Shack?”
- Facebook is more streamlined
- Facebook is more user friendly
- Facebook gives you a targeted list (“Here’s a list of others from your school who are on Facebook”) making it easier to find your real-life friends.
- Facebook has more games and applications.
- You have more freedom to change around your Facebook page since it’s HTML based (but this can be a bad thing when you go to page to leave a comment and there’s a big flash application that slows down your computer and an annoying song you can’t turn off because the flash app is in the way).
What do they think of MySpace and Facebook? Generally, it’s a time waster. They get on one of them when they have nothing else to do, or they have time to waste. Both MySpace and Facebook are used to communicate with their friends, when the communication does not need an instant response. But all of them know people who are “addicted” to MySpace or Facebook, spending every waking second trying to find out what everyone else is doing, or checking to see if there are any new comments.
What about e-mail? For all of them e-mail is snail mail. They use it for:
- formal communication
- sending attachments (it’s easier than IM, with less problems)
- staying in touch with distant friends or friends in foreign countries (where it’s too expensive to text or phone).
What is the real snail mail for? Packages.
What about blogs? There was a disinterested “no” from all of them. They don’t have one, don’t want one, and don’t read them. When I pressed the 26 year old, he thought about it and admitted he does visit a couple technology news sites that are actually blogs.
E-readers have gotten such hype I couldn’t resist the opportunity to find out what they thought about them. They were puzzled: ”Why wouldn’t you just get the book?” When I pointed out you could put hundreds of books on them, they were still puzzled: ”Isn’t that what a library is for?” They conceded they might read an electronic version of a book, but couldn’t fathom having a specialized device to read it: ”Why would you get something that can only do one thing?”
Finally, I asked what they would do if there were no cell phones or computers. The 17 year old wasn’t fazed: “Find something else to do, like read a book or ride over to my friend’s house.” The 22 year old was a bit more concerned: ”You mean, like a day or two, or forever?” (clearly not liking the “forever” option). The 26 year old didn’t like the forever option either since he works in the technology field.
I think they all have a very different concept of technology than my generation does, even those of us who have embraced computer technology since its inception. It really is an everyday occurrance for them, no more special than a toothbrush. And I guess that is what makes them “natives.” It is hard for them to understand not being intimately connected to technology. My 17 year old found it too painful to watch me figuring out how to navigate around a new cell phone last year, that had a totally different interface from the last one (and a few more features). He finally took it from me and set it up in a matter of seconds, complete with a picture of him as the background. On the other hand, his brother only two years older reacted to the new release of World of Warcraft much the same as a digital immigrant: he wasn’t so sure he wanted to take the time to relearn how to play the game with all its new features and content. He wanted to stick with what he was comfortable with. In the end, for them, it is just another tool.
No Comments »
Software Freedom Day in Palm Beach County
The Palm Beach County Linux User Group is proud to announce its third Software Freedom Day/Installfest as part of Software Freedom Day 2008, the biggest international celebration and outreach event for Software Freedom, with hundreds of teams from all around the world participating. The yearly event is a celebration of Software Freedom and why it is important. This year the Palm Beach County Linux User Group will be hosting the event at the West Boynton Branch Library, 9451 Jog Road, Boynton Beach, Florida, from 10:00 AM to 12:00 P.M. on Saturday, September 20, 2008. Google map available here.
 West Boynton Beach Library
As part of the Software Freedom Day celebration this year, the Palm Beach County Linux User Group will be offering assistance with installing free portable software on USB flash drives, giving away CD’s with free and open source software for Windows and Macintosh computers, and demonstrating how to use the free software.
We invite you to come by for giveaways, demonstrations, and to learn about Linux, a free and open source operating system available for any type of computer.
No Comments »
Posted by: Carol in Apple/Mac, bash, computers, Mac OS X, MAMP, security, tcsh, Technology, Unix/Linux/Macintosh, tags: bash, Google API, MAMP, php5, security
I have an old iMac that I’ve been using as a server. Because I like Linux, and because it was easier to configure LAMP (Linux, Apache, MySql, PHP) than the similar components in OS X, I installed Kubuntu 6.06 on it (I’ve always liked the KDE desktop better than the Gnome desktop, which is the default for Ubuntu). Everything was fine until I decided I wanted to try out a Google API.
Google APIs require PHP 5.1.4 or higher (actually it was needed for the Zend engine, which is required for the Google API). But Ubuntu 6.06 (and Kubuntu 6.06) didn’t have upgrades to PHP 5.1.4. After a lot of trials and failures, I decided to fall back on Apple’s OS X and install MAMP (Mac, Apache, MySql, PHP). This particular machine could only take OS 10.3.* on it, which limited the MAMP I could use. But it included PHP 5.1.6, so I was happy. For a while.
I got everything up and running again, and even figured out how to get local network access working. Then I got back to the Google API. The first step, with MAMP, however, was to secure it, since the default install is with user “root” and password “root.” So far, that wasn’t a problem since MAMP on this computer was only accessible on the local network, firewalled from the Internet. But using a Google API requires access to and from the web.
The MAMP application has a FAQ page, accessible from the start page, that looks really helpful, but isn’t. You can get there by clicking in the FAQ button at the start page:

Of course, the part about which versions of the included programs are installed is helpful. But I had already checked that before I downloaded MAMP. It’s the part right below that, under the “How can I change the password for the MySQL database?” that is unhelpful.

First of all, mysqladmin is not in that location (/Applications/MAMP/bin/mysql4/bin/mysqladmin). It’s in /Applications/MAMP/Library/bin. The php config file location is closer to what’s listed: /Applications/MAMP/bin/phpMyAdmin/config.inc.php
Second, trying to run the suggested command in tcsh got me nowhere. It turns out the default shell was changed to bash in OS 10.3, but upgrades (which this is) keep tcsh as the default. Fortunately, bash is available, but the default has to be changed in the terminal preferences.
So, just to make sure bash is really there, go to the /bin directory in the terminal (using the Finder will just show the documentation):

Change the directory to root level by typing “cd /.” Then type “cd /bin” to get to the /bin directory. Then type “ls” to list everything in that directory (see bash listed in the screenshot):

While the terminal is open, go to the Terminal preferences:

Notice the path listed is for tcsh:

Change it to /bin/bash:

Close the Preferences window, quit the Terminal application, and relaunch it. bash will be at the top of the Terminal window instead of tcsh now.
Now running the command listed in the FAQ page (with the path modification) will change the password in MySQL. But before you actually press the Enter key to run the command, highlight the new password and copy it using the edit menu at the top of the screen.
/Applications/MAMP/Library/bin/mysqladmin -u root -p password NEWPASSWORD
(where NEWPASSWORD is the password it is to be changed to). The php config file will also need to be edited. I have eMacs on this machine, which worked nicely. Don’t try to do it in Text Edit. That will not work nicely at all. Open the config.inc.php file (in MAMP’s phpmyadmin folder) in a code editor like bbedit or emacs. Find the lines
$cfg['Servers'][$i]['user'] = 'root'; //MySQL user
$cfg['Servers'][$i]['password'] = 'root'; //MySQL password
Replace ‘root’ in the password line with the one you copied. Save the file and close it.
Now, according to the MAMP faq page, it’s finished. Not.
It turns out there’s also a couple scripts to change in MAMP, documented over on network0. There’s also a handy section on securing MAMP itself by password protecting the htaccess folder using an online .htaccess password tool (http://www.tools.dynamicdrive.com/password/). So now that I’ve got it locked down it’s time to figure out how to open it up for Gdata on that Google API.
No Comments »
But worth noting:
Keep it up Carmella!
(“Best viewed in Firefox or Safari, not internet explorer”)
I love it.
No Comments »
|