Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:why? (Score 1) 677

There is a time and place to use goto. It works well for handling error cases and can lead to better code.

Instead of:

rc = some_function()
if (rc) {
  do lots of cleanup of earlier stuff()
  return rc;
}

rc = some_other_function()
if (rc) {
  do even more cleanup()
  return rc;
}

I can just use:

rc = some_function();
if (rc)
    goto error_handler; ...
error_handler:
  perform any needed cleanup
  return rc;
}

The other method would be a huge nested mess of if/else conditions.

Comment Re:Time to hack (Score 1) 157

My Tesla runs Linux, does that count?

In the early software releases if I rebooted the main display the X logo was prominently displayed. The GUI is built using Qt. It's not open, however, since no one has figured out how to gain access to the OS (though Tesla can do that over the VPN connection the car maintains).

Comment Re:Hmm... I thought it was *my* vehicle. (Score 1) 157

I don't think they can install an update without asking. For one thing the car cannot be driven while the update is taking place. Updates can take upwards of 45 minutes and includes updating many systems. During the update system lights will sometimes flash and various clicks and other noises are heard as subsystems are updated. It displays a message when the car is started indicating that there's an update and defaulting to installing it at 2am if you select that. Otherwise you can choose not to install it or install it at some other time. If you choose not to install it now a small icon is visible indicating that it is available.

Usually the updates add bug fixes or new features though there are also cases where new bugs are introduced.

Submission + - Anthem Hacked, Millions of Records Downloaded Including SSNs.

AaronW writes: The second largest health insurer Anthem says hackers had access to its data between December 10th and January 27th, including names, medical IDs, social security numbers, street addresses, email addresses, birthdays, employment information (including income information) and more of subscribers, former subscribers and employees. Anthem has put up a web site about the hack along with a FAQ. It sounds like the only things the hackers did not have access to were credit cards and health history.

This breach affected all of their brands including Blue Cross, Blue Shield and others.

Anthem promises to send out letters to customers whose data was accessed and to provide free credit monitoring and identity protection services.

The attack is currently being investigated by the FBI.

The LA Times has an article here.

The FAQ can be found here.

Comment Re:Yes meanwhile.. (Score 1) 167

My Nexus 7 2012 has been unusably slow since upgrading to 5.0 and 5.0.2 isn't much better. The web browser is useless. Granted, I have a lot of apps loaded, but it was far better with Kit Kat compared to Lollipop. It looks like the biggest culprit is Google Mail since I have several accounts with a LOT of email.

Comment Re:No shit (Score 1) 120

I tried dealing with the Broadcom driver on my laptop and had to give up in disgust trying to get it to compile. I upgraded OpenSUSE which included a pre-compiled driver which seems to work for the most part. Broadcom historically has not been very open source friendly. At least one of the Broadcom 10G PHY drivers in the Linux kernel was written by my employer, now a competitor to Broadcom. (see drivers/net/phy/bcm87xx.c for example).

Slashdot Top Deals

Somebody ought to cross ball point pens with coat hangers so that the pens will multiply instead of disappear.

Working...