HNHacker News
TopNewBestAskShowJobs

_pdeschen

82 karma · joined December 10, 2010

Pascal Deschenes

Tech Thinker. Nu Echo Co-Founder. Speech Recognition & Telephony Industry.

Hike. Code. Read. Build. Garden.

http://about.me/pdeschen http://blog.rassemblr.com

pdeschen at gmail dot com

submissionscomments
_pdeschen··on Authentication made easy, fast and RESTful
To restrict access to a static web site, providing authentication through this api and nginx auth request module[1]? Not even sure if this specific use case is even possible with this API but that would be nice.

That being said, I don't think I would rely on an unknown API for such crucial part of my web app. In there shoes, I would just release it open source so that people can inspect the code and build street cred out of it.

[1]: http://mdounin.ru/hg/ngx_http_auth_request_module/file/a29d7...

_pdeschen··on WordPress To Jekyll And Back Again
I had a similar issue a while back after having a blog post of mine featured on HN front page for some time. The problem is really apache. Either configure apache with workers (which is ain't the default config) or add nginx in front. You might be interested in this particular post:

http://blog.rassemblr.com/2011/01/wordpress-need-for-speed-o...

This has been throughly tested with yet another post on HN front page a while later! My blog handled the load without a glitch.

Looks like I'm replying with the same comment over and over again. But I have to share nginx love :-)

_pdeschen··on New HTTP Codes
Both Firefox and opera offer pipelining while it is deactivated on chrome (next release will have it on by default).
_pdeschen··on Mustache, ERB and the future of templating
That was exactly my goal when I first experiment with the concepts [1][2]. As far I as I'm concerned, I think this design strategies is just the next logical step. New javascript frameworks [2] [3] geared toward this paradigm are now getting out of their infancy and are fun to work with.

[1] http://blog.rassemblr.com/2011/05/on-client-side-templating-...

[2] http://blog.rassemblr.com/2011/04/on-client-side-templating/

[3] backbone http://documentcloud.github.com/backbone/

[4] sammy http://sammyjs.org/

_pdeschen··on How BrowserID differs from OpenID
Speaking of such (which is a valid concern) I always use a nice feature from gmail which gives the ability to append +anything to your username. Mail will be forwarded to your inbox as usual where you can apply filtering to know whom as leaked your email. Hence you can use username+foobar@gmail.com while registering for foobar webapp.

This assumes that foobar webapp accepts + as a valid email local part character which is not always the case unfortunately (and against RFC) but that is another story.

Just sayin

_pdeschen··on Introducing Tapir: Simple search for static sites
Given a sitemap.xml, that could be used to index static site without the need for a feed.

http://www.sitemaps.org/

Since sitemap is a /standard/ (sic!) document hence no need to reimplement the wheel for true static sites.

_pdeschen··on Ask HN: What's wrong with the landing page of my website?
Yes. Maybe change your sign up button for a get started call to action, allowing one to play around without registration then offer registration as part of the top nav in order save a user state. Something like that.
_pdeschen··on Ask HN: What's wrong with the landing page of my website?
I would get rid of the full text. Create a few sliding banner with h1 headers with one including a sample of how it looks then move explanation details in a separated "How it works page" available as a top nav link.
_pdeschen··on Ask HN: Where do you get your stock photography?
For best quality and selection I use istock. Otherwise so cheap as in 0$ : flickr creative commons (http://www.flickr.com/creativecommons/) , morgue file (http://www.morguefile.com/) or stock exchange (http://www.sxc.hu/)
_pdeschen··on A Quick Node.js Jumpstart
I think using require would do the trick. Something along the line like:

/* foo.js /

var date = new Date();

exports.Date = date;

/ bar.js /

var foo = require('./foo.js');

exports.Date = foo.Date;

/ foobar.js */

var foo = require('./foo.js');

var bar = require('./bar.js');

console.log(foo.Date);

console.log(bar.Date)

> console.log(foo.Date);

Sat, 09 Apr 2011 01:05:12 GMT

> console.log(bar.Date)

Sat, 09 Apr 2011 01:05:12 GMT

We are dealing with the same date variable between modules.

[edited. not a good place to share code. gist over github: https://gist.github.com/910994]

_pdeschen··on What difference does being a top story on Hacker News make? Stats and Facts...
I had a blog story running on the front of HN for a couple of hours and my EC2 micro instance just died under the load. Since I didn't expected to have such amount of traffic in the first place, my WordPress installation wasn't optimized at all.

I have learn in the process and now I think my blog can handle way more rps even on a micro instance. Thanks to nginx. I have blogged about this a couple weeks ago:

http://blog.rassemblr.com/2011/01/wordpress-need-for-speed-o...

One of the next step would be to use nginx load balancing (upstreaming) feature but I bet I won't get that popular :-)

_pdeschen··on Bullet-proof Node.js coding
Throw nginx in front :-)

http://blog.rassemblr.com/2011/01/wordpress-need-for-speed-o...

_pdeschen··on JStat: a JavaScript statistical library
Part of the library is visual using jquery ui. I don't believe it would work on node unless breaking the ui layer into another library. Then would could have the crunching on nodejs and the ui on the browser.

A nice rest API could sit on top of node. Hummm

_pdeschen··on Canada's Open Data Pilot Project
Potentially a source for new business initiatives or ventures!

I'd like to see more datasets but let say that's a nice start for now.

_pdeschen··on Bring down a poorly deployed WordPress (and how to stop it from happening)
Agree. I had to optimize my wordpress installation recently including some caching. Since there is not that much information about nginx, I took some notes and wrote about it. Here is my blog post:

http://blog.rassemblr.com/2011/01/wordpress-need-for-speed-o...

_pdeschen··on Development Tools for Scala Language
Nice list. You could also add

Scalatra https://github.com/scalatra/scalatra

a Sinatra-like (ruby) framework.

_pdeschen··on Introducing AWS Elastic Beanstalk
According to press release

“We’re working with AWS to provide an Elastic Beanstalk Ruby on Rails container that leverages the optimized Engine Yard stack which has been battle-tested by thousands of high-growth companies.” John Dillon, CEO of Engine Yard

http://www.businesswire.com/news/home/20110119005591/en/Amaz...

_pdeschen··on User Registration Follow-up Email: A Check List
Thanks. Those all valid points but has mentioned in the post, your millage may vary.

Now regarding your point about the recipient (firstname, lastname): coming from a different culture myself (fr-CA), I truly understand your concern. In French, addressing someone on a firstname basis is indeed annoying (well for me at least and I am not that old:-). I would be really interested in hearing your alternatives. How to you circumvent this?

HTML email is indeed tricky and I realize I should have mention it. However, there are interesting solutions out there to test both the rendering on various client and its spam sensibility. I have personally used service from Campaign Monitor which provided useful information. Check the following:

http://www.campaignmonitor.com/design-guidelines/

http://www.campaignmonitor.com/testing/

http://litmus.com/email-previews

http://www.email-standards.org/

I think your concern about up-sell technique could be legit for some B2C markets. However, my experience with B2B (and I have metrics to back my statement) shows that the negative impact of such up-sell is minimal in most situation while being straight positive in some others. I DID get up-sell conversions using such technique. But then again, I think this kind up-sell should remain as light as possible. Not really the in-your-face-billboard type.

This is all about knowing your target audience and adapt accordingly.

I am far from an expert though. I'm a hacker not a marketer :-) I just happen to be interested in such communication, unavoidable being an entrepreneur.

_pdeschen··on Why choose Tropo over Twilio
For those interested in IVR monitoring services, you should check my recent blog post where I describe what should be in a good monitoring report.

What’s in your IVR application monitoring report? http://blog.nuecho.com/2010/12/14/whats-in-your-ivr-applicat...

Enjoy!

_pdeschen··on Why choose Tropo over Twilio
Disclaimer: I'm one of Nu echo's founders and lead architect for our IVR testing and monitoring tool suite (NuBot and Mirador).

Thanks Adam,

That is surely yet another point in favor of Tropo. They test. Using our NuBot Platform, we have load test their infrastructure with several concurrent calls. A few issues came up and Voxeo promptly fixed the issues. Case closed. Tremendous support.

I don't know about Twilio in such regard. A few months back, I have offered Twilio our load testing services but I haven't heard of them so far. Danielle, Jeff, if you read this, drop me a note (pdeschen @ nuecho dot com) and we'll be pleased to load test your infra! :-)

Pascal

_pdeschen··on Why choose Tropo over Twilio
Disclaimer: I'm one of Nu echo's founders and lead architect for our IVR testing and monitoring tool suite (NuBot and Mirador).

Our Mirador IVR application monitoring service is exactly what you are looking for. It is one thing to regularly call a given number - which can indeed be hacked quite easily using either Tropo, Asterisk, etc, it is another thing to send daily, weekly, monthly and yearly report to reflect the actual state of the IVR application over time. Call setup time? Greeting time? Transaction failure? Call setup failure? Moreover, you probably want to get an email or SMS notification whenever a defect occurs (otherwise, what's the point of monitoring?) Plus, you probably also happen to want to get a notification for the alarm restore right? While we are at it, I am sure you want those reports available online in a secure location or as a PDF document.

You get all this with Mirador!

I have received your request this morning through our website and you should have received my reply by now ;-)

← PreviousPage 2 of 2