26 March 2020

Microsoft (GitHub) buys npm

Microsoft is acquiring npm through its earlier GitHub acquistion. npm is the javascript industry de facto standard package management and hosting software.
By announcing this as a GitHub buy, microsoft is apparently trying to pass this as smoothly as possible, to the open source community.
With VSCode, GitHub and npm microsoft sure has a strong grip on the operation of the open source community.

18 March 2020

Java 14 released: switch expressions

    switch (day) {
        case MONDAY, FRIDAY, SUNDAY -> System.out.println(6);
        case TUESDAY                -> System.out.println(7);
        case THURSDAY, SATURDAY     -> System.out.println(8);
        case WEDNESDAY              -> System.out.println(9);
    }

    int numLetters = switch (day) {
        case MONDAY, FRIDAY, SUNDAY -> 6;
        case TUESDAY                -> 7;
        case THURSDAY, SATURDAY     -> 8;
        case WEDNESDAY              -> 9;
    };
    Also:
    • NullPointerExceptions can now report which variable was null, but this is off by default. To enable use the commond line option -XX:+ShowCodeDetailsInExceptionMessages.
    • Java 14 says goodbye to its Sun origins by deprecating the Solaris (OS) and SPARC (processor) ports
    • some preview and incubator features, scheduled for future releases

    Citizens being tracked to map Corona spread

    We all know the technologies of Google to track your location history.
    The register reports that governements are deploying these technologies to track where people infected with corona where before and with whomm they had contact.
    China has such a system in place and Iran is reportedly doing the same.
    The Israeli caretaker government also has enabled this, without consent from parliament or the relevant committees. The data are under strict oversight and limited to thirty days.
    In America the Trump administration is talking to Google and Facebook to supply these data.
    Governments all over the world are eagerly taking the opportunity to  overrule privacy rights of citizens.