After years of very little activity and the inability to upgrade Drupal from 6.0 due to missing modules in 7.0, this site will now soon be archived and all the existing content will be served using static pages.
Given the use of the Acidfree module and Forum module, and RSS feeds, it made the task a bit more difficult than the standard techniques blogged about elsewhere. In addition to that, I also wanted to archive it in a sub-dir and continue to serve the old pages from the old path (as much as possible), so need a bunch of new .htaccess rules too. Putting this in a sub-dir would allow me in the future to install another web site management tool on the web site and keep both the new pages and the old Drupal pages around.
First check out all the info at:
The reason we use httrack instead of wget is to keep the internal links as they are without having them get a .html suffix. wget also adds .1, .2, etc to downloaded pages in an unpredictable way, and makes handling Drupal pagination messy, so all this makes it harder to fix up the .html files (which one could do somewhat by using sed scripts on downloaded files to remove the .html from text and use .htaccess RewriteRule commands to add it back in). HTTrack has a -N rewrite option to do this. Only problem is that it only allows for a single rewrite rule, so all filename.jpg files become filename/index.jpg, etc. (But that is easily fixed by a httrack patch provided below which allows for two -N rewrite rules.)
This site is no longer using Drupal. All the pages have been migrated to static web pages that are shown here now.
See the post Creating a static Drupal site here for details on what was done.
Yet another MetroCard refill calculator! Tourists to New York will likely use the stored-value version of the MetroCard. New York MTA makes things difficult by making it hard to figure out how much money to add to minimize leftover amounts, given that they offer a bonus on purchases over a certain amount.
While there are many calculators and Android and iPhone applications that claim to do this, those calculators try to bring the leftover amount to zero. But a tourist is more likely interested in getting a certain number of tickets, and paying for it without having too much leftover - keep it under a nickel, for example.
That is exactly what this calculator does. Use it to get a table of all possible additional subway rides based on current balance on a NYC MetroCard. It also offers a no-rounding mode, which may work for cash purchases at a manned ticket booth.
Also available in the Google Play Store as an Android app that can work offline without internet access.
App has been updated in June 2015, with the new rates and bonus amounts.
Purple is a hard color to capture using a camera. White balance, lighting, brand/model of camera, nothing will help. Purple ends up looking like blue in pictures.
So this requires editing the image to get purple right. Cannot just immediately upload a picture if it is purple you are interested in!
Most times just need an easy fix. Use the Hue color editing tool, change the hue for the blue color by moving it towards the red/purple side.
1. (Optional) Select the region to be affected. Using the rough selection free-select hand tool is good enough. Just need to exclude other bluish (or bluish-white) areas of the picture. In many cases, this may not be necessary at all, just apply the hue change to the entire picture and it may be good enough.
2. Use the Colors -> Hue-Saturation command. Select the blue primary color to adjust. Move the Hue slider rightwards, as much as needed.
For this example, a +30 change to Blue Hue was applied.
Now the Balloon Princess has the dress in the color she wants - purple!
The Color Purple and the Digital Camera shows how to use the HSL tool to fix problem colors such as purple, magenta, or dark pink.
Pictures and video clips of some of the final four days at the 34th Edition of the Montreal Jazz Festival which ran from 2013-June 28 through July 7. Also included are some pictures from other events going on at the same time.
The pictures below have more info and some video snippet links too.
There is also a playlist of all snippets on YouTube.
And a few more photos, including full size photos, are at the Google Picasa Album
July 9th saw the start of another festival: Details on Festival de Percussions Longueuil 2013 opening show.
New in 2013!
It is more of a novelty than anything - the Schwartz's Sandwich is far better in terms of enjoying smoked meat. In any case, the best poutine is also the basic nothing-added version, so this smoked-meat added poutine doesn't really increase the pleasure. The poutine itself is good, given that the fries at Schwartz's are truly outstanding.
This is only served at the Schwartz's Next Door Take Out Counter (Schwartz's à côté), which is not open all the time - may only be open during summer rush hours, for example, and closed in winter, etc.
This was my first experience with a MOOC - and it was incredible. This online-course stuff is definitely going to be one of the best things to come out of the Internet. Here is my report on one of the courses: Coursera - Introduction to Data Science by Bill Howe of U of Washington. This is a 8-week course, and the blurb says it needs around 8-10 hours per week attention, and basic programming background. In reality, it is worth allotting 10-20 hours per week, and having more than just basic programming skills to allow spare time to go through the textbook and papers on the recommended reading lists. The video lectures themselves take around 2 hours per week.
The textbook was Mining of Massive Datasets by Anand Rajaraman and Jeff Ullman and worth reading it once at least - even if lack of time necessitates skipping over the difficult parts. And some of the papers assigned were also quite readable - and always fun to see the progression of ideas, especially the continuing march of Map Reduce techniques towards ACID Database concepts and vice-versa.
I highly recommend these online courses to everyone interested in keeping in touch with latest technology or getting an introduction to a new area of interest. It gets things done in a short time, and the key is that motivation is provided by the homework assignments as well as the discussion forums associated with the course. And amazingly, this is all free.
The three best things about this course and probably MOOCs in general:
Right now am trying out the Clear Hub Express modem from CLEAR 4G Internet provider. I had a cable modem, but they increased prices far too much - funny how cable companies like to charge long-time existing customers a lot, and provide deep discounts to new customers!
CLEAR 4G has good prices - and very bad reviews on the web, including an ongoing class-action suit related to cutting off service for heavy usage even though they claim "unlimited data and no overage fees". My hope is that they are improving on this front now and are therefore worth a try. End result - mixed feelings about them. Mainly because their software is deficient and has bugs so it requires contacting customer support and that quality continues to be abysmal. Cable modem devices have much better software quality compared to CLEAR devices.
The report below is based on the 1.5Mbps download plan for $35/month as of March 2013. They prefer to have people buy the $50/month plan with 6Mbps service but the lower plan is good enough for most uses, including HQ level YouTube videos. If you want to watch 720p or higher HD resolutions, then something greater than 2Mbps is necessary. And at $50/month cost, it is not competitive with Cable Modems which usually offer $60/month plans for 20Mbps or higher. The YouTube wikipedia page has a table showing rates of different video resolutions.
Given six or more hours between arrival and departure at London, it is possible to make a quick trip into London City. This should easily give around 90 minutes of time in London, assuming 1 hr of travel time from the Airport to Piccadilly Circus.
There are caveats - sometimes, the tube and/or security at London can be a long drawn out affair. But having just made this quick run, I ended up with 45 minutes to spare at London for my departure, so it was all quite comfortable.
Of course, all I did at Piccadilly Circus is walk around a few blocks, basically just exploring streets, shops, and small parks. And the tube ride itself was a novelty. All this activity is much more fun than lounging around at Heathrow!
So here's how it all worked out: Arrived at Heathrow at 9AM. Felt awake and good, so decided to try out a trip to the City. Immigration was quick, under 5 minutes. Note that some passengers are not allowed out of Heathrow - so be sure to check your transit status.
9:30AM was at the Underground station. There is also a faster Heathrow Express, but it is far more expensive, and not really worth it to get to Piccadilly Circus since it requires changing trains at Paddington. Best to just stick to the more frequent tube, and sit in one place for the entire journey.
The Montreal Metro system includes the subway trains and road buses.
These offer excellent ways to explore the city of Montreal.
STM home page has fares and routes and schedules information.
Exploring Montreal is quite easy using the metro system. The subway trains are good to go someplace fast, and then take a bus to enjoy the street views without exerting much energy. Then, come back to visit the places and restaurants that look interesting.
Astonishingly, the buses manage to keep close to the published schedule. Never seen this happen in any other major city! Some routes at peak hours do miss schedules, given the traffic congestion. Though most times you can depend on the schedule. And there are many smartphone apps that provide schedule information. Here's a good Android app: Transport Montreal by Rhatec. It works offline too, and is indispensable when waiting for some of the less frequent routes.
Fares: Buy the 24hr-from-first-use (aka 1-day), or 3-day (expires midnight 3rd day), or CAM Hebdo Weekly (Mon-Sun validity) pass, for easy travel without worrying about transfers or counting tickets.
The bus routes for sightseeing:
15 east: Travels along Ste Catherine St, the main tourist hot-spot in Montreal. Board at the starting point which is the Atwater Metro station, and disembark at the final stop at the Papineau metro.
55 north: Goes along St Laurent, another important street. Take this from Chinatown, near St Laurent Metro, or a bit more south on St Laurent St, and go north in the bus.