Hacker Newsnew | past | comments | ask | show | jobs | submit | pkandathil's commentslogin

Hey cool website but it is open to XSS. I see someone added an alert that says "hello world"


Ah, thanks very much!


Whoa, where?


You seemed to have fixed it. Good job.


Thanks :) I've heard of it before but never saw it in real life.


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.


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)


Thank you for the info. I have updated the original article to reflect the changes.


After the testing, you will see that we upgraded to a c1.medium instance.


OK, but initially trying to benchmark on a t1.micro indicates a lack of experience with EC2 that colors any other benchmarking you might be doing.

Add in others' comments about this basically compromising security for speed and this is a bit of an irresponsible article.


I would love to know the answer too. Or may be nginx should fix the way it executes the encryption algorithm.


Thanks I will update the article now.


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


Flat design is the digital adaptation of Swiss style design.


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.


Car accidents kill orders of magnitude more people than terrorists do. I think even if the number of car bombings jumped to 10 times its current level with autonomous cars society would still likely come out ahead.


Would that also have been a good enough reason not to want regular cars?


Yeah that's a bit like not allowing mobile phones because they can detonate bombs.


Well, that would require at least one suicide bomber.

Its a legitimate concern, you wouldnt want a car getting hacked and doing all kinds of stuff, like deliberately causing an accident.


Because setting up a remote control car with a camera is currently impossible?

That's trivially easy in comparison to forcing an autonomous car to do something dangerous.


Finally a post where you learn to do something. Thank you!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: