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


Forgot your password?

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

by travisco_nabisco (#49380095) Attached to: Why You Should Choose Boring Technology
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)

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

Submitted by schwit1
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

by travisco_nabisco (#46289547) Attached to: Ask Slashdot: What Games Are You Playing?
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

by travisco_nabisco (#45879103) Attached to: Ecuadorian Navy Rescues Bezos After Kidney Stone Attack
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

by travisco_nabisco (#45665841) Attached to: Canada Post Announces the End of Urban Home Delivery
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

by travisco_nabisco (#45225967) Attached to: How Safe Is Cycling?
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

by travisco_nabisco (#45225875) Attached to: How Safe Is Cycling?
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

by travisco_nabisco (#43474371) Attached to: Foxconn Signs Massive Android Patent Agreement With Microsoft
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

by travisco_nabisco (#43183359) Attached to: Nvidia Walked Away From PS4 Hardware Negotiations
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

by travisco_nabisco (#42106691) Attached to: Hotel Keycard Lock Hack Gets Real In Texas
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.

Comment: Re:Logic is Logic (Score 1) 103

by travisco_nabisco (#41670029) Attached to: From a NAND Gate To Tetris
I was also fortunate enough to take a formal logic class, I believe it was called "Introduction to Logical Thought".

I enjoyed the class so much that I would advocate requiring some minimal level of formal logic be taught at the highschool level. It would be a lot more beneficial to make every student learn this than to make them all take pre-calc or calculus.

Note: I am not advocating limiting the math courses available to highschool students, I just think there are more applicable things that can be taught as required material.

Thus spake the master programmer: "When a program is being tested, it is too late to make design changes." -- Geoffrey James, "The Tao of Programming"