All Posts in

January 19, 2009 - Comments Off on NY Web Standards Meetup—Cloud computing: 10gen’s Mongo DB

NY Web Standards Meetup—Cloud computing: 10gen’s Mongo DB

The New York Web Standards Meetup Group will meet this Thursday (22 January 2009) at theMechanism at 7:00 pm.

Geir Magnusson (10gen) will talk about 10gen's MongoDB, an object-oriented DBMS. It is neither a relational database nor even "table oriented" like Amazon SimpleDB or Google's BigTable

22 January 2009 . 7:00 pm
theMechanism
440 9th Avenue 8th Floor
New York, NY 10001 [map]

RSVP now!

Please contact theMechanism if you'd like to present at a future New York Web Standards meetup.

Published by: jeffreybarke in The Programming Mechanism

December 30, 2008 - Comments Off on Support OneWebDay on Change.org

Support OneWebDay on Change.org

Change.org is a citizen-driven effort to identify the best ideas to effect the change the Obama Administration has promised. Anyone can go to http://change.org/ideas and submit a policy idea, discuss with others and vote on the best ideas from around the country.

OneWebDay, the Earth Day of the internet, has submitted a proposal to make OneWebDay a national day. Please review their full proposal below, and, if you support it, vote for it at Change.org.

The idea behind OneWebDay is to focus attention on a key Internet value (universal access and digital literacy in 2009), focus attention on local Internet concerns (connectivity, censorship, individual skills) and create a global constituency that cares about protecting and defending the Internet. OneWebDay is like an Earth Day for the Internet, celebrated every September 22 since 2006! We are building an organization that works like the Web: an open platform that supports collaboration on annual projects that educate and activate a broad range of communities about issues that are important for the Internet's future.

In recognition of President-elect Obama's deep understanding of the power of the Internet and his stated pledge to bring "true broadband to every community in America," we hope that the new Administration will recognize OneWebDay and partner with us in 2009 to organize a week of national (and global) service to bring more access and skills to communities that are still left behind in the new digital world.

Tomorrow is the deadline! Please take action and vote at Change.org now!

Published by: jeffreybarke in Non-Profits, The Programming Mechanism

December 3, 2008 - 6 comments

Quick guide to Apache, Subversion and SvnX on Mac OS X

theMechanism has been using Subversion for just over a month now. The following is a quick guide to installing and working with Apache, Subversion and SvnX on Mac OS X:

Apache, Subversion and SvnX on Mac OS X

Apache is the local web server (used to view and test files in the working copy), Subversion is the version control software and SvnX is a GUI-client for Subversion.

Before we can use Apache, Subversion and SvnX, we need to check:

  1. Is Apache running?
  2. Is Subversion installed?
  3. Is SvnX installed?

Apache

To test Apache, fire up the browser of your choice and enter http://localhost/ into the address bar. If you do not see an "Unable to connect," "Can’t connect to server," or "Error! Connection closed by remote server" screen, Apache is running.

If it is not running, open System Preferences. Under "Internet & Network," choose "Sharing." Make sure "Web Sharing" is checked ("Personal Web Sharing" in Tiger).

Mac OS X Internet & Network Sharing window screen grab

Note that localhost is pointed at /Library/WebServer/Documents/.

Subversion

To see if Subversion is installed, launch Terminal (Applications | Utilities | Terminal). At the prompt, type:

svn --version

Some information on the version and build should appear. If not, Subversion is not installed.

Mac OS X Terminal screen grab showing results of running svn --version.

If Subversion is not installed, download and install the latest version from http://www.collab.net/downloads/community/

SvnX

To see if SvnX is installed, check for svnX.app in the Applications directory.

If it is not there, download and install the latest version from
http://www.lachoseinteractive.net/en/community/subversion/svnx/download/

Working with Subversion via SvnX

Standard Subversion workflow:

  1. Check out a working copy
  2. Make edits to the working copy
  3. Commit the edits to the repository

Checking out a repository

Screen grab of SvnX's Repositories window.

Launch SvnX and set the focus on the "Repositories" window.

Click the "+" button to add a repository.

  • Change the name to something descriptive.
  • Enter the path to the repository.
  • If required, enter your user name and password for the repository.

Once a repository has been added, it will appear in the top half of SvnX's Repositories window. Double-click on the repository to open it:

An open repository in SvnX.

Click the "svn checkout" button at the top of the window and navigate to a directory below /Library/WebServer/Documents. Click the open button and SvnX will download the repository to your local machine.

Close the current window and the SvnX "Repositories" window.

The Working Copy

Set the focus on the SvnX "Working Copies" window. Note that SvnX has added a working copy after check out. Change the name to match the descriptive name in the previous step.

Screen grab of the SvnX Working Copies window.

Double-click on the working copy in the top half of the "Working Copies" window. The main thing to be aware of here is the "Update" button. Click this to refresh your local working copy with any changes made to the repository by any other team member.

In Finder, navigate to the working copy, open index.html in your favorite HTML editor, make some small change and save index.html.

Switch back to the active working copy window and click the "Refresh" button at the top of the window. You’ll see that index.html is added with a "M" (modified).

Screen grab of an open working copy in SvnX.

If you're happy with the change and have previewed it to make sure everything is working, press the "Commit" button on the right side of the screen.

Add a meaningful commit message and press commit.

Version control principles

  1. Update often!
    1. Keep your working copy up-to-date by updating often.
  2. Commit early and often!
    1. Early and often means make atomic changes. Change one thing, test and then commit with comments.
  3. Never commit broken code!
  4. Jeffrey Barke is senior developer and information architect at theMechanism, a multimedia firm with offices in New York, London and Durban, South Africa.

    Published by: jeffreybarke in The Programming Mechanism
    Tags: , ,

December 2, 2008 - Comments Off on NY Web Standards Meetup—Small Web Team Collaboration with Subversion

NY Web Standards Meetup—Small Web Team Collaboration with Subversion

The New York Web Standards Meetup Group will meet this Thursday (4 December 2008) at theMechanism at 7:00 pm.

Scott Trudeau (Apartment Therapy Media) will demo using Subversion, MAMP/XAMPP, TortoiseSVN and SvnX and show some tricks for managing dev/staging/production versions.

4 December 2008 . 7:00 pm
theMechanism
440 9th Avenue 8th Floor
New York, NY 10001 [map]

RSVP now!

Please contact us if you'd like to present at the March or April 2009 meetup.

Published by: jeffreybarke in The Programming Mechanism
Tags: , ,

December 2, 2008 - 4 comments

NY Web Standards Meetup—Introduction to Kicking Ass with jQuery

Audio from last month's Introduction to Kicking Ass with jQuery presentation to the New York Web Standards Meetup by Scott Trudeau (Apartment Therapy Media). Thanks to everyone who attended!

Listen to this event

Part 1 of 3:
[audio:BarKode-Episode-8-KickingAsswithJQuery-part1of2.mp3]

Part 2 of 3:
[audio:BarKode-Episode8-KickingAsswithJQueryPartTwo.mp3]

Part 3 of 3:
[audio:BarKode-Episode8-KickingAsswithJQueryPartThree.mp3]

Published by: jeffreybarke in The Programming Mechanism
Tags: ,

December 1, 2008 - Comments Off on Adhesive 3.4.0 now available

Adhesive 3.4.0 now available

Adhesive 3.4.0 has been released! This latest version of the WordPress "sticky" post plugin is compatible with WordPress 2.6.5 and no longer breaks WordPress's native paging functionality.

Jeffrey Barke is senior developer and information architect at theMechanism, a multimedia firm with offices in New York, London and Durban, South Africa.

Published by: jeffreybarke in The Programming Mechanism
Tags: ,

November 10, 2008 - Comments Off on CSS Sprites2 in Prototype and script.aculo.us

CSS Sprites2 in Prototype and script.aculo.us

Over the weekend, I finally got around to porting Dave Shea's CSS Sprites2 technique to Prototype and script.aculo.us.

My version of CSS Sprites2 is almost exactly the same as Dave's, but it also includes keyboard support. There's a matching focus, blur, keydown and keyup event handler for each mouse event handler.

Get CSS Sprites2 for Prototype and script.aculo.us.

Jeffrey Barke is senior developer and information architect at theMechanism, a multimedia firm with offices in New York, London and Durban, South Africa.

Published by: jeffreybarke in The Programming Mechanism
Tags: ,

October 27, 2008 - Comments Off on NY Web Standards Meetup—Introduction to Kicking Ass with jQuery

NY Web Standards Meetup—Introduction to Kicking Ass with jQuery

The New York Web Standards Meetup Group will meet this Thursday (30 October 2008) at theMechanism at 7:00 pm.

Scott Trudeau (Apartment Therapy Media) will provide an introduction to the popular jQuery JavaScript library. If you have strong HTML/CSS skills, but your JavaScript experience has never gone much beyond "cut and paste," come learn how to use jQuery and jQuery plugins to create enhanced, dynamic user experiences for your sites.

Scott will provide an overview of using jQuery's DOM manipulation, animation and Ajax components.

30 October 2008 . 7:00 pm
theMechanism
440 9th Avenue 8th Floor
New York, NY 10001 [map]

RSVP now!

Please contact us if you'd like to present at the February or March 2009 meetup.

Jeffrey Barke is senior developer and information architect at theMechanism, a multimedia firm with offices in New York, London and Durban, South Africa.

Published by: jeffreybarke in The Programming Mechanism
Tags:

October 13, 2008 - Comments Off on WebTechNY presentation—HTML validation, microformats, jQuery

WebTechNY presentation—HTML validation, microformats, jQuery

Slides from my presentation on HTML validation, microformats and jQuery to WebTechNY on 8 October 2008:

Thanks to everyone who attended!

Jeffrey Barke is senior developer and information architect at theMechanism, a multimedia firm with offices in New York, London and Durban, South Africa.

Published by: jeffreybarke in The Programming Mechanism

August 13, 2008 - Comments Off on ISOC-NY monthly meeting

ISOC-NY monthly meeting

ISOC-NY's August monthly meeting will take place tomorrow, 14 August 2008, at NYU.

Date: Thursday, 14 Aug 2008
Time: 7:00 pm–9:00 pm
Location: Room 317, 251 Mercer Street NYC (SW corner of West 4th)
Note: Use the entrance on the west side since construction blocks the Mercer Street entrance. Must bring photo ID.

Agenda

  • Meet new members. We expect and welcome new faces!
  • By-laws reform. Progress report from Joseph Shraibman.
  • Planning future meetings and events. Good news is we have just received a sizable grant from ISOC-NY for our Fall program.
  • ISXubuntu Linux project progress report. News from our trusty coders.
  • OneWebDay planning progress report. Washington Square Sep 22 event taking shape.
  • NYC Broadband. Discussion of new report from from the Mayor's office.
  • ICANN. We have been accepted as an at-large structure.
  • Status of Connecting .NYC. An update from Tom Lowenhaupt.
  • Web standards. How can we make our own site more W3C compliant?

Jeffrey Barke is senior developer and information architect at theMechanism, a multimedia firm with offices in New York, London and Durban, South Africa.

Published by: jeffreybarke in Non-Profits, The Programming Mechanism
Tags: