Search
The Way of the Software Engineer

Archive for the 'web' Category

Nodejitsu vs. Heroku for node.js Hosting

Posted by admin on May 17th, 2012

I’ve been playing with Heroku for rails hosting so I started looking for similar ways to host my node.js projects. I had seen a preview of Joyent’s cloud hosting service at Node Camp a while back and found that Nodejitsu is really the modern incarnation of that service. So it seemed time to compare Heroku [...]

Application Configuration for Node.js

Posted by admin on April 27th, 2011

I’ve seen a few blog posts on reading in config files to node.js apps. This can be done with an eval() (which is potentially dangerous) or by reading in a file and JSON.parse()-ing it. I wanted a solution that would work on both a node app, and could also be called as JSONP in the [...]

Static Sites with Dynamic Content

Posted by admin on March 15th, 2011

In my last post, I was showing how a proxy can be used to circumvent XSS rules and said there are some interesting applications. Well, it’s time I posted one. Take a look at this very simple site (Please ignore the messy CSS, this is just a prototype) : Twitter Search This is being served [...]

Nginx Bypassing Single-Origin Policy

Posted by admin on March 11th, 2011

Anyone building a web application knows that XmlHttpRequest can only be made to the same domain and port that the page was loaded from. This is known as the ‘single origin’ policy for web browsers. Bypassing this restriction is known as Cross-Site Scripting or XSS. While there are some very real security reasons for only [...]

Simulating Bezier Curves with CSS

Posted by admin on November 18th, 2010

I recently had to make a visual editor that included lines between different boxes to define the ‘flow’ of a process (think UML). Rendering something like this in a web page is sometime tricky when you want the line to look fluid between it’s two connecting points. What I wanted was something like Bezier curves. [...]

AvantGo is AvantGone

Posted by admin on June 2nd, 2009

AvantGo, the once ubiquitous application for all PDAs, is shutting down its web sync service.  Users of the service have just begun to see banners stating, “Starting June 30, Avantgo will no longer offer mobile web content.” With modern wireless networks and browsers built in to new smartphones, the on device browser just couldn’t meet [...]

Yahoo SearchMonkey

Posted by admin on May 23rd, 2008

Yahoo has published another tool in their series of open technologies called SearchMonkey.  The principle is that website owners can create a “data service” that runs an XSLT on their site output and then pipe it to a “presentation application” that produces a custom L&F for search results relating to your site.

OCR with Tesseract

Posted by admin on May 13th, 2008

Optical Character Recognition is one of those technologies that has been around for a long time and never quite met customer demands. This is a common AI application, but I thought I’d see what’s currently available publicly instead of trying to write my own from scratch. The primary options I found were PHPOCR, GOCR, and [...]