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

> Indian (or any) government has no reason to track 500 million people

LOL, don't tell me you are from a technical background


???

This isn't an argument.


If you don't care about "performance":

double my_cos(double x) {

    double sum = 0;

    for (int n = 0; n < 10; n++) { // 10 terms of Taylor Series

        sum += pow(-1, n) * pow(x, 2 * n) / factorial(2 * n);

    }

    return sum;
}

Edit: code formatting


/* This code is silly, not super accurate, but fun /

double cos2(double x, int n) {

    double numerator = 1.0;

    double denominator = 1.0;

    double pi = 3.14159265358979323846;

    int i;

    for (i = 1; i <= n; ++i) {
        numerator   *= pow((x - n * pi / 2.0), 2);
        denominator *= pow((n * pi / 2.0), 2);
    }

    return numerator / denominator;
}

(Edit for format)


Also if you don't care about accuracy at all. my_cos(2 * M_PI) = 0.9965. my_cos(4 * M_PI) = -2917.7144 (!).


After reading first paragraph, I was sure they don't have any specific reason to replace it.

> leaked in public repo

Me: Yeah, that's why they are doing it.


I would like to know the views of the enthusiasts here.


Maybe find a better link?


https://indianexpress.com/article/cities/delhi/anti-modi-pos... This seems like the most relevant link. Seems like it’s “bad thing related to free speech happened in India”, don’t know if that meets HN’s standards or not.


Yeah, tell us something new.


#unpopularOpinion GPT-4 is not as strong as "we" anticipated, it was just the hype


This is way too hilarious


GitHub is just a mirror of linux; it is not the primary VCS for it.


- Giving attribution to the source, e.g., by confuscating a GPL copy into the manual, when you are making the most money in the chess 'product' scene on a ripped Stockfish, is the least they could have done.

- Chessbase's CEO on their official blog (now deleted) stated that they developed the engine from scratch. They also took a newer version for ripoff and compared it to an older version of Stockfish to claim their Fat Fritz 2/Houdini 6 engines are powerful.

- However lousy their terms are, free software licenses are enforceable by law. It will set an example. Since we are on the topic of chess, a threat is always more assertive than execution. Big tech joined FOSS forces for one simple reason - they could lose more than they could win.

- Stockfish did not suffer significant monetary damage since they don't have a commercial product people already insinuated that there would be no extraordinary financial settlement.

> need to settle than argue the legality It is a vague and circumstantial argument. In practical terms, since it's already been ~1.5 years, a settlement (1-year leverage + entire credit + foss.chessbase.com + GPL enforcement) is enough for the plaintiff. Also, the only time the defendant in a lawsuit agrees to settle out of court is when they expect the trial to be more expensive than the settlement. Generally, this happens when the plaintiff's case is so strong that the defendant is confident the plaintiff will win in court. I agree with the no-one-sided landslide victory; that's what settlement means. Would you not say, given the settlement terms, Stockfish (GPL enforcement) won? The entire open-source community base those enforcements.

I see this as an absolute win.

Plus, some money would be even better. Agreed.


Someone please post this as a win for open source, nsidb. I don't know how

https://lichess.org/blog/Y3u1mRAAACIApBVn/settlement-reached...


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

Search: