HNHacker News
TopNewBestAskShowJobs

pkandathil

93 karma · joined February 8, 2011

submissionscomments
pkandathil··on Show HN: I built a platform for artists to collaboratively illustrate stories
You seemed to have fixed it. Good job.
pkandathil··on Show HN: I built a platform for artists to collaboratively illustrate stories
Hey cool website but it is open to XSS. I see someone added an alert that says "hello world"
pkandathil··on Reasons to use protocol buffers instead of JSON
When you convert an object from language X to JSON, validate it using a schema validation before deserializing, then is it not the same as JSON. Also now with JSON you have the opportunity to have human readable data which is great when debugging issues. I am not seeing the advantage of protocol buffers. It would be great if you can compare payload sizes and see if there is a significant savings from that perspective.
pkandathil··on Nginx Performance Tuning for SSL
I have seen the calculation as written in this article many times. Is it wrong: http://nls.io/post/optimize-nginx-and-php-fpm-max_children

pm.max_children = (total RAM - RAM used by other process) / (average amount of RAM used by a PHP process)

pkandathil··on Nginx Performance Tuning for SSL
Thank you for the info. I have updated the original article to reflect the changes.
pkandathil··on Nginx Performance Tuning for SSL
After the testing, you will see that we upgraded to a c1.medium instance.
pkandathil··on Nginx Performance Tuning for SSL
I would love to know the answer too. Or may be nginx should fix the way it executes the encryption algorithm.
pkandathil··on Nginx Performance Tuning for SSL
Thanks I will update the article now.
pkandathil··on A brief history of flat design
Didn't really know flat UI was also Swiss design. I also like the colors used for flat UI. They are soft and not harsh on the eyes. For the aesthetically challenged like me, here is a link to a flat UI color pallet http://flatuicolors.com
pkandathil··on Google's Driverless Future
A person in security told me that a big fear they have is car bombs. You would now be able to send groups of cars to a location without risking human life. That us good enough reason to not want self driving cars. I still think some of the functionality can be used for accident prevention.
pkandathil··on Crafting CSS3 Transitions and Animations
Finally a post where you learn to do something. Thank you!
pkandathil··on Our Beta is Now Open to All Developers
Written some node.js + socket.io applications in the past. I like that you packaged storing info in the database. This is a great tool for a hackathon but if you are doing anything more complicated I think you would want to write you own back-end. Good idea guys keep innovating.
pkandathil··on Debian, FreeBSD and CentOS now supported by EC2
Why is FreeBSD such a big deal? What advantages does it have over Ubuntu?
pkandathil··on Online Python Tutor: Learn programming by visualizing code execution
Hey guys, Isn't this the same as a debugger. Can people not learn from that?
pkandathil··on Real time map of trains in Japan
Apparently in Japan the cell phone reception is great even on the trains. Why don't ppl download an app where it figures out your gps location, speed and based on that figures out what train you are on. Then it finds others in the area with similar info to verify your data and puts it on a map. That way you know where the train is if you have these groups of people moving very fast close to the gps location of the railway tracks.
pkandathil··on Why American Phone, Cable and Internet Bills are so High
Couple of reasons why it's more expensive here: 1) Area and population density: Countries like Japan have a small area with a very high population density. This drives, infrastructure costs down and the return on it high because you have a lot of users.

2) Minimum wage in the US: The cost of labor in the US is quite high hence it costs more to build out infrastructure than it does in other countries.

pkandathil··on Facebook publishes your friends' private messages as wall posts
Just checked, this not happening. At least not for my profile and I am in Canada.
pkandathil··on The Starter, the Architect, the Debugger and the Finisher
I am opposed to the concept of having a architect that does not code. Too often have I seen the situation where they recommend a solution without understanding the complexity of the implementation.
pkandathil··on How I got a burnout
Sorry to hear that this guy did not make his dream grade. A lot of us have had that experience where you don't get the job of your dreams or get into the university you love...

This is common and part of life, but if every time you fail, you give up, then its not productive.

Recently, I have been thinking that no specific job can define you as good or bad programmer. No school can really define how intelligent you are or how much passion you have for a topic. These institutions can help you discover them but a lot relies on you to really make it happen.

All the best to author of this article, I really hope he breaks out of this low and gets back to doing what he loves.

pkandathil··on Verbling: The instant way to practice and learn a language
There is another site where you can do this. They actually take you teach you the language. http://www.livemocha.com/
pkandathil··on If Software Is Eating The World, Why Don't Coders Get Any Respect?
Also guys, doctors are saving lives everyday. I would say as a programmer I do not have a that direct an impact on someone's life. I agree a doctor has to setup their own practice before they make that much money. They also go through a lot of school for a very long time. Comparing a programmer and doctor is not the same in my opinion.
pkandathil··on Netherlands judge rules Samsung Galaxy S, S II violate Apple patents, bans sales
There were the violations by Samsung of the Apple patent:

EP 2,058,868 - method of scrolling / browsing gallery;

EP 2098948 - recording a "flag" in connection with multiple screen taps, of which Samsung would use the system by using Android 2.3 or later version;

EP 1,964,022 - method of "unlocking" of a portable device through the touch screen an "unlock image" in a way to drag.

Patenting phone unlock and how to browse through pictures is a douche move.

pkandathil··on [dead]
pretty cool. they arent as sheltered as I thought they would be.
pkandathil··on Poll: Do you use Google Reader on a daily basis?
There are a couple ways to achieve this: Sites like: Lynk.ly, Summify.com or thesharedweb.com rank your twitter and facebook feeds and give you top links across them.

I follow digg, techcrunch and mashable ... on twtter and get the links across these sites ranked for me.

BTW, disclaimer, I did write lynk.ly with a friend hence I also provided some of the alternatives.

pkandathil··on How to DDOS yourself
Do you think it makes sense with the mobile architecture to have an application store its current state? This is obviously a more general question regarding mobile application architecture. This would specifically to be handle broadcast listeners performing conflicting actions.
pkandathil··on How to DDOS yourself
I guess just setting the phone to state to sending file while uploading the logs to the server was the solution. Is there a better way to solve this issue? The user did not put it as part of the article.
pkandathil··on "My current theory is that programming is quite literally writing."
37 Signals in their book rework put it really well. You have a business model from day 1. Not everyone is Facebook and Twitter so having a concept of a business model is very important. So yes, having a clear vision of your product is necessary. That vision can change while you are building but you still need to have a starting point.
pkandathil··on "My current theory is that programming is quite literally writing."
Totally agree that more code reviews are needed. I guess then the question becomes, how do you teach someone to do a good code review. Code reviews come from experience I get it, so if you are a junior programmer then you get your code reviewed by someone senior. But there is also one very important part to a code review. It being able to give good advice to someone. Not to be over critical but to provide help that is actually going to build someone up. At a company I use to work at, they did this beautifully.

1) Every check in required a code review by a peer. In your commit statement, you specify who reviewed your code.

2) If a senior programmer wrote code for a feature that wasn't too complex he would get a code review from a junior programmer. The junior programmer doing the code review, learned what good code looks likes and second learned how to give feedback in a constructive manner as he was talking to someone with more experience than him/her.

pkandathil··on Hashify.me - store entire website content in the URL
I assume hashify.me stores the value associated with the hash.

I guess for this to work well. Dont you need Hashify to provider a service where you pass in hashcode and it returns the HTML to you.

You just wrap the call with good old JSONP and you are good to go.

pkandathil··on Overview of Text Extraction Algorithms
Yeah. I think that is the challenge. A good way to get around the AJAX problem is to see if a site has an RSS feed and use that to extract content. I wish sites had a url for bots built in so you didnt have to do all this fancy stuff to extract the content.
Page 1 of 2Next →