News for hackers. Stuff that matters.

__herson__

Re:Show HN: Lychee — Self-hosted photo-management done right on Wednesday January 22, 2014 @08:06AM (#7102330)
> "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

Re:What can I do for Mozilla on Saturday April 06, 2013 @07:21PM (#5505442)
The Spanish translation is really bad, I had to choose it in english in order to understand the purpose of the page.
Re:"Getting started with Ember.Js is easy." - No it isn't on Wednesday March 20, 2013 @09:36AM (#5407133)
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.
Re:"Getting started with Ember.Js is easy." - No it isn't on Wednesday March 20, 2013 @09:25AM (#5407057)
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.

Re:CSS3 Patterns Gallery on Tuesday March 12, 2013 @09:16AM (#5361576)
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.

*And this is not a repost.
Re:HTML5 localStorage allows sites to fill up users' hard disks on Thursday February 28, 2013 @08:13AM (#5298495)
Firefox 16 in Linux Mint isn't affected

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

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);
Re:Non-framework approach to JavaScript apps - hexagonal.js on Friday February 22, 2013 @10:50AM (#5264785)
So, name it "hexagonal.coffee" instead.
Re:Common JavaScript Gotchas on Saturday January 12, 2013 @10:28PM (#5049863)
That's why developers should always lint their code. www.jslint.com
Re:Ask HN: When will Hacker News improve their HTML? on Saturday December 15, 2012 @11:05PM (#4927277)
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.

Ask HN: When will Hacker News improve their HTML?

Hello there.First of all, I found Hacker News a really great and intelligent site, since I knew it is my primary source of news, I spend more time reading articles here than every other site, but I don't really comment to much.My question is when will Hacker News improve their HTML, I see that there is no doctype definition and comment treads are a bunch of tables and even font tags.Don't get...

( Read More... | 16 comments | 8 points | on HN )
Re:[Ask HN] Do you think this code will *really* work? on Saturday September 08, 2012 @03:50PM (#4493803)
oh sure! I totally miss that, I will clean it for iframes, objects, applets and videos. Thanks