Wednesday April 04, 2007
now playing: Nothin'
For my return trip from Canada two weeks ago I had the pleasure of flying Etihad Airlines business class direct from Toronto to Dubai. A 16 hour flight is both cruel and unusual, but the fully-reclining chair/beds did mean you could at least sleep away much of the time. The state-of-the-art entertainment system on the seat in front with tons of new-release flicks also made a big difference.

Then sometime during hour # 13, while mindlessly flipping channels, I found this:



Don't you hate it when you're stuck on a plan and don't know which way it is to Mecca?
posted by Jason Boyer at 09:35 PM EST | permalink | 0 Comments
Friday March 30, 2007
now playing: Tool - Right in Two


Grand Theft Auto IV

Only shame of it is that this doesn't get released until October (Insha'Allah). So then what do they expect us to do here for entertainment whilst avoiding the 45+ C summer heat?
posted by Jason Boyer at 06:05 PM EST | permalink | 0 Comments
Tuesday February 27, 2007
now playing: Street Spirit (Funkagenda Mix)


The Graffiti Research Lab has developed a "laser-tag" system to project images onto buildings and other public surfaces.

I love the smell of stimulated radiation in the morning.
Last night @ 2200 hours, the GRL laser-tag system went online and fully operational. The laser tag system status is GO and we are calling all writers in the Netherlands to please report to Rotterdam most riki-tik for training and deployment. The GRL will be turning over control of the system to writers, protesters, artists and the citizens of Rotterdam from the 7th to the 10th, starting each night around 1600 hours at the KPN building in Rotterdam. If you've ever wanted to catch a 20-story high tag with a laser beam, WE WANT YOU!


Graffiti Research Labs - Tagging in action
posted by Jason Boyer at 10:35 PM EST | permalink | 0 Comments
Sunday October 01, 2006
now playing: Tool - Vicarious
In a momentous move surely to confound academics and scholars for centuries, the United Arab Emirates' internet service provider, Etisalat, has unblocked a number of hugely popular websites including youtube.com, myspace.com, flickr.com, and hi5.com. Yes, that's right, us expats in Dubai are again free to browse online cultural gems such as Borat's official response to the Kazakhstan government's threat to sue over the new Borat movie and Paris Hilton's Myspace profile.

With the removal of these cultural shackles, it's only a matter of time until the hit single "Stars are Blind" will finally achieve its rightful place in Dubai Eye Radio's Top Ten.
posted by Jason Boyer at 08:12 AM EST | permalink | 0 Comments
Tuesday September 26, 2006
now playing: nothin'
Been getting some complaints that my RSS feed hasn't been working right and today was the day that I actually took a look at the thing. As it turns out the problem was that most RSS readers didn't like the way I was formatting the item publish date elements - the nerve. Anyway, tested it with Net Vibes and it seems to be working now. Mahlo.
posted by Jason Boyer at 01:04 AM EST | permalink | 0 Comments
Friday August 04, 2006
now playing: Congo Natty - Run Tings
Further to my previous post about internet censorship, I'm pleased to report that Etisalat, the UAE's official internet service provider, has finally taken action to protect us from the evils of Youtube.com. Yes, that's right, the world's leading online video site that already bans 'adult' content and filters any videos that users flag as questionable will be able to corrupt our minds no more. And thank god, all of this time we've wasted watching excerpts from the Daily Show and videos of rednecks doing Tokyo-style drifting races with their pickup trucks could've been spent doing something inline with a higher moral standard like, erm, go to the mall to see Modhesh and a bunch of giant plastic ants sitting on astro-turf as part of the DSS 'Nature' exhibit.

Or we could just find a way to get around this damn internet filter .... which is exactly what I've done

I don't want to start posting urls for fear that they (or this blog for that matter) get blocked, but in a nutshell what I did after a few unsuccessful attempts using popular web proxies was to actually write my own HTTPS proxy page. Trust me, it's nothing fancy, it's just a page on a server located outside of the UAE where you can enter a url and click a submit button. The page then loads all of the text/images from the web page you want to view and re-displays them itself, thus acting as a simple proxy around the firewall. Links on the page are re-written to point back to the proxy server, so any pages you browse to from the first page will also go through the same process. Additionally, since the page is HTTPS, big brother will have a harder time seeing what you're actually up to.

Unfortunately, getting images to display was another matter. Since my server is Java-based that's what I used to write the proxy, and the plain and simple truth is that to actually get a servlet to load an image from a url and then properly output it to the HTTP response is neither plain nor simple. Although Java is perfectly capable of doing this seemingly simple task, there wasn't much in the way of documentation anywhere online. So pardon me for geeking out here for a moment, but I want to spell this out so nobody else has to go through the pain of figuring this out from scratch.

How to load an image from a url and redisplay it in a Java Servlet:

The method
  • create a url object
  • calculate the image's dimensions
  • create a java.awt Image object
  • convert this into a BufferedImage
  • render the awt Image into a BufferedImage so it may be output in the appropriate form
  • output the BufferedImage to the Servlet Response
The source code
URL url = new URL("www.mysite.com/someimage.jpg");
ImageIcon ii = new ImageIcon(url);
int w = ii.getIconWidth();
int h = ii.getIconHeight();
java.awt.Image image = ii.getImage();
BufferedImage bufferedImage = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
Graphics2D g2d = bufferedImage.createGraphics();
g2d.drawImage(image, 0, 0, null);
g2d.dispose();
response.setContentType("image/jpeg");
ImageIO.write(bufferedImage,"jpeg",response.getOutputStream());
response.flushBuffer();

(If you know a better way of doing this in Java, perhaps one where you don't have to jump through so many hoops, please let me know).

At any rate, this web proxy got me up and running so I could surf to the useful (and previously blocked) websites and finally locate an excellent project run by a University that offers a network of high-performance proxy servers which miraculously are not yet blocked. For further information about web proxies or to get a copy of the full source code of my HTTPS web proxy, drop me a line and I'd be happy to email them to you.

"There is more than one way to burn a book. And the world is full of people running about with lit matches"
-Ray Bradbury
posted by Jason Boyer at 01:05 AM EST | permalink | 0 Comments
Saturday July 01, 2006
now playing: Vivaldi - Concerto Grosso in G-

A huge imagery update has been made to Google Maps and Google Earth and you can now see all of Dubai in high-res, including the Palm islands and the Burj Al Arab (7 star hotel). I briefly entertained the notion of throwing a google sightseeing map together, but then I came to by senses and instead will be off shortly to watch England trounce Portugal.

A few quick links:
posted by Jason Boyer at 03:13 PM EST | permalink | 2 Comments
Thursday June 15, 2006
now playing: Skc - Time is Now
The Farewell Dossier was a collection of documents containing intelligence gathered and handed over to NATO by a KGB defector during the cold war - if this happened 30 years ago just imagine what kind of shenanigans they're up to these days.

WILLIAM SAFIRE, The New York Times, writes:

Intelligence shortcomings, as we see, have a thousand fathers; secret intelligence triumphs are orphans. Here is the unremarked story of "the Farewell dossier": how a C.I.A. campaign of computer sabotage resulting in a huge explosion in Siberia all engineered by a mild-mannered economist named Gus Weiss helped us win the cold war.

Weiss worked down the hall from me in the Nixon administration. In early 1974, he wrote a report on Soviet advances in technology through purchasing and copying that led the beleaguered president - detente notwithstanding - to place restrictions on the export of computers and software to the U.S.S.R.

Seven years later, we learned how the K.G.B. responded. I was writing a series of hard-line columns denouncing the financial backing being given Moscow by Germany and Britain for a major natural gas pipeline from Siberia to Europe. That project would give control of European energy supplies to the Communists, as well as generate $8 billion a year to support Soviet computer and satellite research.

President Franois Mitterrand of France also opposed the gas pipeline. He took President Reagan aside at a conference in Ottawa on July 19, 1981, to reveal that France had recruited a key K.G.B. officer in Moscow Center.

Col. Vladimir Vetrov provided what French intelligence called the Farewell dossier. It contained documents from the K.G.B. Technology Directorate showing how the Soviets were systematically stealing or secretly buying through third parties the radar, machine tools and semiconductors to keep the Russians nearly competitive with U.S. military-industrial strength through the 70's. In effect, the U.S. was in an arms race with itself.

Reagan passed this on to William J. Casey, his director of central intelligence, now remembered only for the Iran-contra fiasco. Casey called in Weiss, then working with Thomas C. Reed on the staff of the National Security Council. After studying the list of hundreds of Soviet agents and purchasers (including one cosmonaut) assigned to this penetration in the U.S. and Japan, Weiss counseled against deportation.

Instead, according to Reed a former Air Force secretary whose fascinating cold war book, "At the Abyss," will be published by Random House next month Weiss said: "Why not help the Soviets with their shopping? Now that we know what they want, we can help them get it." The catch: computer chips would be designed to pass Soviet quality tests and then to fail in operation.

In our complex disinformation scheme, deliberately flawed designs for stealth technology and space defense sent Russian scientists down paths that wasted time and money.

The technology topping the Soviets' wish list was for computer control systems to automate the operation of the new trans-Siberian gas pipeline. When we turned down their overt purchase order, the K.G.B. sent a covert agent into a Canadian company to steal the software; tipped off by Farewell, we added what geeks call a "Trojan Horse" to the pirated product.

"The pipeline software that was to run the pumps, turbines and valves was programmed to go haywire," writes Reed, "to reset pump speeds and valve settings to produce pressures far beyond those acceptable to the pipeline joints and welds. The result was the most monumental non-nuclear explosion and fire ever seen from space."

Our Norad monitors feared a nuclear detonation, but satellites that would have picked up its electromagnetic pulse were silent. That mystified many in the White House, but "Gus Weiss came down the hall to tell his fellow NSC staffers not to worry. It took him another twenty years to tell me why."

Farewell stayed secret because the blast in June 1982, estimated at three kilotons, took place in the Siberian wilderness, with no casualties known. Nor was the red-faced K.G.B. about to complain publicly about being tricked by bogus technology. But all the software it had stolen for years was suddenly suspect, which stopped or delayed the work of thousands of worried Russian technicians and scientists.

Vetrov was caught and executed in 1983. A year later, Bill Casey ordered the K.G.B. collection network rolled up, closing the Farewell dossier. Gus Weiss died from a fall a few months ago. Now is a time to remember that sometimes our spooks get it right in a big way.

posted by Jason Boyer at 03:13 PM EST | permalink | 0 Comments