Broken wikis due to PHP and MediaWiki “namespace” conflicts
I was recently tasked with resurrecting an ancient wiki. In this case, a wiki last updated in 2005, running MediaWiki version 1.5.2, and that needed to get transformed to something more modern (in this case, version 1.25.3). The old settings and extensions were not important, but we did want to preserve any content that was made.
The items available to me were a tarball of the mediawiki directory (including the LocalSettings.php file), and a MySQL dump of the wiki database. To import the items to the new wiki (which already had been created and was gathering content), an XML dump needed to be generated. MediaWiki has two simple command-line scripts to export and import your wiki, named dumpBackup.php and importDump.php. So it was simply a matter of getting the wiki up and running enough to run dumpBackup.php.
My first thought was to simply bring the wiki up as it was—all the files were in place, after all, and specifically designed to read the old version of the schema. (Because the database scheme changes over time, newer MediaWikis cannot run against older database dumps.) So I unpacked the MediaWiki directory, and prepared to resurrect the database. …
mediawiki php
Liquid Galaxy at UNESCO in Paris
The National Congress of Industrial Heritage of Japan (NCoIH) recently deployed a Liquid Galaxy at UNESCO Headquarters in Paris, France. The display showed several locations throughout southern Japan that were key to her rapid industrialization in the late 19th and early 20th century. Over the span of 30 years, Japan went from an agrarian society dominated by Samurai still wearing swords in public to an industrial powerhouse, forging steel and building ships that would eventually form a world-class navy and an industrial base that still dominates many lead global industries.
End Point assisted by supplying the servers, frame, and display hardware for this temporary installation. The NCoIH supplied panoramic photos, historical records, and location information. Together using our Roscoe Content Management Application, we built out presentations that guided the viewer through several storylines for each location: viewers could see the early periods of Trial & Error and then later industrial mastery, or could view the locations by technology: coal mining, shipbuilding, and steel making. The touchscreen interface was custom-designed to allow a self-exploration among these …
event visionport ros
Taking control of your IMAP mail with IMAPFilter
Organizing and dealing with incoming email can be tedious, but with IMAPFilter’s simple configuration syntax you can automate any action that you might want to perform on an email and focus your attention on the messages that are most important to you.
Most desktop and mobile email clients include support for rules or filters to deal with incoming mail messages but I was interested in finding a client-agnostic solution that could run in the background, processing incoming messages before they ever reached my phone, tablet or laptop. Configuring a set of rules in a desktop email client isn’t as useful when you might also be checking your mail from a web interface or mobile client; either you need to leave your desktop client running 24/7 or end up with an unfiltered mailbox on your other devices.
I’ve configured IMAPFilter to run on my home Linux server and it’s doing a great job of processing my incoming mail, automatically sorting things like newsletters and automated Git commit messages into separate mailboxes and reserving my inbox for higher priority incoming mail.
IMAPFilter is available in most package managers and easily configured with a single ~/.imapfilter/config.lua …
email sysadmin
Biennale Arte 2015 Liquid Galaxy Installation
If there is anyone who doesn’t know about the incredible collections of art that the Google Cultural Institute has put together, I would urge them to visit google.com/culturalinstitute and be overwhelmed by their indoor and outdoor Street View tours of some of the world’s greatest museums. Along these same lines, the Cultural Institute recently finished doing a Street View capture of the interior of 70 pavilions representing 80 countries of the Biennale Arte 2015, in Venice, Italy. We, at End Point, were lucky enough to be asked to come along for the ride: Google decided that not only would this Street View version of the Biennale be added to the Cultural Institute’s collection, but that they would install a Liquid Galaxy at the Biennale headquarters, at Ca’ Giustinian on the Grand Canal, where visitors can actually use the Liquid Galaxy to navigate through the installations. Since the pavilions close in November 2015, and the Galaxy is slated to remain open until the end of January 2016, this will permit art lovers who missed the Biennale to experience it in a way that is astoundingly firsthand.
End Point basically faced two challenges during the Liquid Galaxy Installations for …
event visionport
End Pointers’ Favorite Liquid Galaxy Tours
The Liquid Galaxy is an open source project founded by Google and further developed by End Point along with contributions from others. It allows for “viewsyncing” multiple instances of Google Earth and Google Maps (including Street View) and other applications that are configured with geometric offsets that allow multiple screens to be set up surrounding users of the system. It has evolved to become an ideal data visualization tool for operations, marketing, and research. It immerses users in an environment with rich satellite imagery, elevation data, oceanic data, and panoramic images.
End Point has had the opportunity to make incredible custom presentation for dozens of clients. I had a chance to connect with members of the End Point Liquid Galaxy team, and learn about which presentations they enjoyed making the most.
Rick Peltzman, CEO
One of the most exciting presentations we made was for my son’s 4th grade history class. They were learning about the American Revolution. So, I came up with the storyboard, and TJ in our NYC office created the presentation. He gathered documents, maps of the time, content (that the kids each took turns reading), drawings and paintings, and put …
visionport
Top 15 Best Unix Command Line Tools
Here are some of the Unix command line tools which we feel make our hands faster and lives easier. Let’s go through them in this post and make sure to leave a comment with your favourite!
1. Find the command that you are unaware of
In many situations we need to perform a command line operation but we might not know the right utility to run. The command (apropos) searches for the given keyword against its short description in the unix manual page and returns a list of commands that we may use to accomplish our need.
If you can not find the right utility, then Google is our friend :)
$ apropos "list dir"
$ man -k "find files"2. Fix typos in our commands
It’s normal to make typographical errors when we type so fast. Consider a situation where we need to run a command with a long list of arguments and when executing it returns “command not found” and you noticed that you have made a typo on the executed command.
Now, we really do not want to retype the long list of arguments, instead use the following to simply just correct the typo command and execute ^typo_cmd^correct_cmd:
$ dc /tmp
$ ^dc^cdThe above will navigate to /tmp directory.
3. Bang and its Magic
Bang …
shell
Top 7 Funniest Perl Modules
And now for something completely different …
Programmers in general, and Perl programmers in particular, seem to have excellent, if warped, senses of humor. As a result, the CPAN library is replete with modules that have oddball names, or strange and wonderful purposes, or in some delightful cases—both!
Let’s take a look.
1. Bone::Easy
I’m going to take the coward’s way out on this one right away. Go see for yourself, or don’t.
2. Acme::EyeDrops
Really, anything in the Acme::* (meaning “perfect”) namespace is just programmer-comedy gold, depending on what you find amusing and what is just plain forehead-smacking stupid to you. This one allows you to transform your Perl programs (small ones work better) from this:
print "hello world\n";to this:
jeff@Wyvern:~$ perl bin/eyedrops.pl
1 shapes completed.
use re 'eval';
''=~('('.'?'
.'{'.( '`'|'%').("\["^
'-').('`'| '!').('`'|',').'"'
.('['^'+') .('['^ …perl
Updating rbenv, ruby-build on Ubuntu: ruby version not found
Hi! Steph here, former long-time End Point employee now blogging from afar as a software developer for Pinhole Press. While I’m no longer an employee of End Point, I’m happy to blog and share here.
A while back, I was in the middle of upgrading Piggybak, an open source Ruby on Rails platform developed and supported by End Point, and I came across a quick error that I thought I’d share.
I develop locally and I use rbenv on Ubuntu. I need to jump from Ruby 1.9.3 to Ruby 2.1.1 in this upgrade. When I attempt to run rbenv install 2.1.1, I see errors reporting ruby-build: definition not found: 2.1.1, meaning that rbenv and ruby-build (a plugin used with rbenv to ease installation) do not include version 2.1.1 in the available versions. My version of rbenv is out of date, so this isn’t surprising. But how do I fix it?
I found many directions for updating rbenv and ruby-build with Homebrew via Google, but that doesn’t apply here. Most of the instructions point to running a git pull on rbenv (probably located in ~/.rbenv), but give no references to upgrading ruby-build.
cd ~/.rbenv
git pullI did a bit of experimenting and simply tried pulling to update the ruby-build plugin (also a git …
ruby rails





