HN user

ashwinraghav

63 karma
Posts22
Comments5
View on HN
github.com 7y ago

Google's Firebase Android SDKs are now open source

ashwinraghav
5pts0
shar-weds-ashwin.com 12y ago

My Fiance made our lovely Wedding E-Invite

ashwinraghav
1pts0
blog.ashwinraghav.com 13y ago

RANTS- Retrospective Analysis of Not so Terrific Systems

ashwinraghav
1pts0
blog.ashwinraghav.com 13y ago

How to find a job as a Systems Engineer?

ashwinraghav
1pts0
blog.ashwinraghav.com 14y ago

How does the "Internet" know which CDN server is located close to you?

ashwinraghav
1pts0
github.com 14y ago

Tigen Automated test generator for C Programs #static-analysis

ashwinraghav
1pts0
www.xda-developers.com 14y ago

Android Market quietly updated

ashwinraghav
1pts0
blog.ashwinraghav.com 14y ago

Predicate Abstractions for Dynamic Languages

ashwinraghav
1pts0
blog.ashwinraghav.com 14y ago

State explosion in programming languages

ashwinraghav
2pts2
blog.ashwinraghav.com 15y ago

A simple approach to handling concurrency-- AVOID IT

ashwinraghav
1pts0
blog.ashwinraghav.com 15y ago

Evolution's Delusive Backdoor-Programming in our brains

ashwinraghav
3pts0
www.cmsmatrix.org 15y ago

Compare Content Management Systems

ashwinraghav
1pts0
blog.ashwinraghav.com 15y ago

[Rails] Writing better ActiveRecord migrations

ashwinraghav
1pts0
blog.ashwinraghav.com 15y ago

A Rationalist's View to Functional Programming

ashwinraghav
3pts1
www.ubergizmo.com 15y ago

Symantec says change your Facebook password now

ashwinraghav
29pts8
chrome.angrybirds.com 15y ago

Angry Birds on the Chrome WebStore

ashwinraghav
6pts0
ashwinraghav.wordpress.com 15y ago

Writing Cohesive Event Driven Code in Ruby

ashwinraghav
1pts0
c9.io 15y ago

Cloud9 an online IDE for JS, Python, PHP and Ruby development

ashwinraghav
7pts0
ashwinraghav.wordpress.com 15y ago

Smarter Caching Strategies for mobile phone application developers

ashwinraghav
2pts0
ashwinraghav.wordpress.com 15y ago

The attitude towards campus recruitment in India

ashwinraghav
1pts0
ashwinraghav.wordpress.com 15y ago

Building Jabber Chat Bots in place of redundant web applications

ashwinraghav
15pts8
ashwinraghav.wordpress.com 15y ago

Pushing Concurrency out of your system

ashwinraghav
1pts0

Firstly this kind of vulnerability requires no white-boarding. It is fair to assume that a dev with a reasonable understanding of how the web protocols work will not need a white board to figure this out. So firstly the argument of catching this on a WB is a little juvenile.

Associating TDD to being haphazard is pretty random. Being hap hazard and TDDing are really in 2 different math spaces. Care not to mix em?

Thanks for bringing up the web-app vs chat bot straight away. I did get some questions on these lines during the conference itself. 1) I do not agree that maintaining bots and web apps are the same effort-wise. An IRC can very easily be served of a framework that is event driven in nature -- on the lines of a node.js or eventmachine with barely any additional effort. On the other hand, doing this for a web application would require extensive effort for writing your code the right way and bringing in the right tools like a templating engine. You will build your own framework almost.

2) Since the application is process heavy and take over 45 seconds to serve a request, this would involve extensive tweaking of your forward proxy which in the case of most data centres and clouds will simply respond with a "Service Unavailable" after 30 seconds. Off course you can defer this to a background job and provide the results elsewhere on your application. But like I said, you would be doing things that the user actually does not need.

3) How would you scale up such an operation heavy application if it were a web app. Have 1000 background jobs running for a 1000 users? An event driven approach will pay off for sure. And 1) illustrates why its easier to do this with a bot.

The real disadvantage I came across was to be able to get it to work with a load balancer. I can write about this if there is more interest.