Forgot your password?
typodupeerror

Comment Re:Lesson? (Score 1) 467

Not much.

To decide on how to regulate for something like this the government must also take into account how willing the people are to follow guidelines. Sweden has a huge trust in government, and this show government trust the people back.

As far as I have seen, US has a low trust in government and that government also do not trust the people. So they feel forced to have stricter guidelines and even laws.

In china it seems the people have trust for the government (but with censure it is hard to know), but the action of the government show that they have very low trust in the people.

Comment Re:What matters is the end result (Score 4, Insightful) 467

While this is not good, it is hard to count dead/capita.

In sweden all dead are tested for COVID-19. Dead at hospitals, at nursing homes and that died at other location. If COVID-19 was in the system, they are accounted for.

In other countries it is different. Some count only people who died while they were beeing treated for COVID-19 for example.

And the timeline is also different depending on different countries.

And the current infection rate / capita

And the ...

So this in no way shows Swedens numbers as better then any other, just that it is hard to compare currently.

When this is over we will have a better understanding of how different countries handled this. And we should be able to compare apples to apples. My guess is that Sweden will have the same numbers as all other countries where the hospital system was not overloaded.

Submission + - FBI Director says prolific default encryption hurting government spying efforts (go.com)

SonicSpike writes: FBI Director James Comey warned again Tuesday about the bureau's inability to access digital devices because of encryption and said investigators were collecting information about the challenge in preparation for an "adult conversation" next year.

Widespread encryption built into smartphones is "making more and more of the room that we are charged to investigate dark," Comey said in a cybersecurity symposium.

The remarks reiterated points that Comey has made repeatedly in the last two years, before Congress and in other settings, about the growing collision between electronic privacy and national security.

"The conversation we've been trying to have about this has dipped below public consciousness now, and that's fine," Comey said at a symposium organized by Symantec, a technology company. "Because what we want to do is collect information this year so that next year we can have an adult conversation in this country."

The American people, he said, have a reasonable expectation of privacy in private spaces — including houses, cars and electronic devices. But that right is not absolute when law enforcement has probable cause to believe that there's evidence of a crime in one of those places, including a laptop or smartphone.

"With good reason, the people of the United States — through judges and law enforcement — can invade our private spaces," Comey said, adding that that "bargain" has been at the center of the country since its inception.

He said it's not the role of the FBI or tech companies to tell the American people how to live and govern themselves.

"We need to understand in the FBI how is this exactly affecting our work, and then share that with folks," Comey said, conceding the American people might ultimately decide that its privacy was more important than "that portion of the room being dark."

Comment 44 lines in commented and whitespaced C. (Score 1) 311

Timed with Debian on EEE 901 in HT mode (1.6 GHz Atom)

real    0m0.726s
user    0m0.724s
sys     0m0.004s

K&R (more or less), with tab-space=8 inside 79 cols. But commenting as original pyton (end of line commenting).

-----
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int startx = 0, starty=0, size=0; /* The size of the thing, is set in main */
/* How knights walk, changing this changes the time outcome :) */
int jumps[][2] = {{-2,1},{-1,2},{1,2},{2,1},{2,-1},{1,-2},{-1,-2},{-2,-1}};

int walk(int *board, const int x, const int y, const int step)
{
    board[x*size+y] = step; /* set our stamp here */
    if (step == size*size)
        return 1; /* Were done */
    for (int i=0;i<8;++i) { /* for each type of jump */
        int xx = x + jumps[i][0], yy = y + jumps[i][1]; /* set new position */
        if (xx < 0 || yy < 0 || xx >= size || yy >= size || board[xx*size+yy])
            continue; /* outch. been there or outside*/
        if (walk(board, xx, yy, step + 1))
            return 1; /* were finished, just return*/
    }
    board[x*size+y] = 0; /* we could not walk anywhere, reset and ... */
    return 0; /* move back indicating failure */
}

void draw(const int *board, int x, int y) /* Draw the board */
{
    for (int i=0;i<size*size;++i) {
        printf(" %4d", board[i]);
        if (((i+1) % size) == 0)
            printf("\n");
    }
}

int main(int argc, char *argv[])
{
    if (argc != 2 || ((size = atoi(argv[1])) == 0)) /* get size */
        return printf("use: %s <size>\n", argv[0]) + 1;
    printf("Board of size %dx%d\n", size, size);
    unsigned int board[size*size]; /* Alloc space for board */
    memset(board, 0, sizeof(int) * size * size); /* clear space */
    walk(board, startx, starty, 1); /* Start at defined start position */
    draw(board, -1, -1); /* Draw board that is done */
    return 0; /* Yay, done */
}

Slashdot Top Deals

Disclaimer: "These opinions are my own, though for a small fee they be yours too." -- Dave Haynie

Working...