Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Comment Re:More... (Score 2) 232 232

In a project I am currently working on we have started using the C# goto case "state" construct.

In this case it offers us a huge performance improvement as the state machine only executes one step when it receives a heartbeat from a piece of networked equipment. The heartbeat only comes in once a second and there are instances where we can perform more than one step of the state machine without needing a response from the remote equipment.

An example of this is uploading files to the remote equipment. We use a Web Socket to establish the transfer task, but once we start sending files (HTTP POST) we don't need a response from the remote equipment between each file. Prior to the use of the goto we could only send one file every second, now we can loop through all the files by looping with the goto.

This is a specific example, but does show that there are limited instances where the use of a goto can be well justified. I also always comment every use of non-standard behavior (use of goto)

Submission + - Sabotage in Arizona Shuts Down Internet, Cellphone, Telephone Service Statewide->

schwit1 writes: Cellphone, Internet, and telephone services across half of Arizona went dark on Wednesday after vandals sliced a sensitive fiber optic cable, according to those familiar with the situation. The incident is raising concerns about the safety of U.S. infrastructure.

“There was a cut that took place on a fiber optic cable that basically runs from Phoenix to Northern Arizona. The line, which is composed of extremely thick cable, appeared to have been cut with a hacksaw"

“The fiber optic cable was encased in metal piping which would have to have been accessed prior to reaching the optics. This indicates the use of a power tool and doesn’t look like ‘vandalism’ but rather like sabotage,”

Link to Original Source

Comment Re:Very old games (Score 2) 669 669

I have had Alpha Centauri on every computer I have owned since it came out. Such a fun game, you can play at a high difficulty and fight for a early finish, or play a lower difficulty and just tech to the hover tanks for a late world domination.

Currently I am playing Sid Meir's Railroads, thanks to the Humble Bundle. I can't believe I never played any of the Railroad simulators before.

Comment Re:Wait What? (Score 1) 190 190

The issue wasn't that there wasn't a sufficient hospital in Ecuador, just not on the Galapagos Islands which are almost 1000 km off the coast of Ecuador. "In smaller communities and in the Galápagos Islands, services are limited, and the quality is generally well below U.S. standards." Travel.State.Gov

Comment Re:Slightly misleading. (Score 2) 226 226

I don't know where you have been for the last few years because stamps in Canada no longer have a face value for domestic letter mail. They have a 'p' on the stamp and is sufficient postage for mailing one standard letter envelope even if the rate goes up since you purchased the stamp.

Comment Re:Bike lanes... (Score 1) 947 947

I'm just over the water in Victoria and as a cyclist believe there needs to be more enforcement of the laws around cycling. Enforce the helmet laws, put laws in place regarding bike lights, I would even go so far as implementing a license system for any cyclist over 15.

I just about got run over at a stop light cross walk while walking with my 3yr old by a guy on an electric assist bicycle who didn't think he had to stop at a red light. People like that make my blood pressure go up instantly as they are the reason drivers dislike cyclists.

Comment Re:Cycling not the Answer (Score 1) 947 947

I will agree that very few, if any, people will bike to work in the snow.
Biking in the rain or in hot weather is not that big of a deal. I cycle to work all year long, the only days I won't ride are if there is snow, or there has been a very heavy frost and the risk of black ice is high.
The rain is just water and between my rain jacket and good lights on my bike, a quick shower at work cleans me up completely.

Cycling may not be the answer for everybody, but most people decide they are not going to make cycling work for them before they even get on a bike and try.

Comment Re:wince (Score 1) 168 168

I agree with you completely.

In my mind a lot of the problems we are seeing with patents are that when they were granted they may have been innovative, however when tech geeks today look at them they seem obvious.

People need to realize that the idea that was patented was likely validly granted at the time of filing, yet would not be granted today. However that does not make the protection of the patent any less valid.

One solution may be to shorted the lifetime of SW patents.

Comment Re:Console margins can't be good (Score 2) 255 255

How old was the Radeon chip when you bought your motherboard?
Did you buy a cheap motherboard with an ancient GPU on it to start with?

I am not saying that AMD didn't screw you over, it just seems that without the full back story your statement doesn't hold a lot of credence.

Comment Re:And a normal locksmith will also charge (Score 1) 132 132

This whole fiasco reminds me of a few years ago when it was determined that you could open one of the Kryptonite bike locks with the end of a Bic pen. These were the locks with the circular keys. In the end, I think it was due to a class action suite, you could get a replacement lock for free that used a different key type.

If every hotel chain that that uses these locks sues, then they will get a replacement deal of some kind.

You may call me by my name, Wirth, or by my value, Worth. - Nicklaus Wirth