HNHacker News
TopNewBestAskShowJobs

__herson__

23 karma · joined September 8, 2012

submissionscomments
__herson__··on Show HN: Lychee — Self-hosted photo-management done right
> "Change the permissions of uploads/ and php/ to 777, including all subfolders"

> https://github.com/electerious/Lychee/blob/master/docs/md/In.... I don't think this is ok

__herson__··on What can I do for Mozilla
The Spanish translation is really bad, I had to choose it in english in order to understand the purpose of the page.
__herson__··on "Getting started with Ember.Js is easy." - No it isn't
Yes, I meant that when I start to learn thing like java and rails, everybody said that these product were easier than "x", but I didn't find them that way.
__herson__··on "Getting started with Ember.Js is easy." - No it isn't
Well, programming is not always easy.

I felt that kind of frustation when I tried for the first time almost every library/programming language that I'd worked with, either with java, backbone, coldfusion, rails...

Trying and researching things is always part of the process, we can't run away from that.

__herson__··on CSS3 Patterns Gallery
I do not like theese backgrounds, some of them really hurt my eyes.

I prefer these http://subtlepatterns.com/ ...I know they are just png, but works and look better.

__herson__··on New Java 0-Day Vulnerability Being Exploited in the Wild
*And this is not a repost.
__herson__··on HTML5 localStorage allows sites to fill up users' hard disks
Firefox 16 in Linux Mint isn't affected

http://i.imgur.com/xD17VZK.jpg

__herson__··on How many draws of a random number [0,1] are needed to sum to 1
Always 2.7~ with 10,000 trials

    function sumToOne() {
        var acum = 0,
            count = 0;
        do {
            count++;
            acum += Math.random();
        } while (acum <= 1)
        return count;
    }

    var avg = 0,
        nTimes = 10000;

    for (var x = 0; x < nTimes; x++) {
        avg += sumToOne();
    }

    console.log(avg / nTimes);
__herson__··on Non-framework approach to JavaScript apps - hexagonal.js
So, name it "hexagonal.coffee" instead.
__herson__··on Common JavaScript Gotchas
That's why developers should always lint their code. www.jslint.com
__herson__··on Ask HN: When will Hacker News improve their HTML?
Ok, I know HTML is not the most important thing on the site, but that kind of thoughts only leads to procrastination, because there will always be issues on other stuffs like databases and security, but it would be nice to HN pays a little of atention to this kind of stuff.
__herson__··on [Ask HN] Do you think this code will *really* work?
oh sure! I totally miss that, I will clean it for iframes, objects, applets and videos. Thanks