Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Yes (Score 1) 736

"How come after 25 years in the tech industry, someone hasn't worked out how to make accurate progress bars? "

Because, unlike the computers you see on TV and the movies, computers in real-life cannot be programmed to be psychic.

"This migration I'm doing has sat on 'less than a minute' for over 30 minutes. I'm not an engineer; is it really that hard?"

Yes it is.

I don't know what kind of engineer you are, so for the sake of illustration I will assume you design and build bridges. Let's say I ask you to build a bridge across a river. Can you give me an accurate estimate (to the hour) on when said bridge will be complete without you having done any surveying first and without knowing anything about the availability of the materials and labor required to build said bridge, or what the weather patterns will be like?

You could make an estimated guess, sure -- and that's exactly what progress bars typically do. Sometimes they are just bad at guessing (i.e. poorly programmed) or things happen that just can't *reasonably* be taken into consideration when the time prediction algorithm is coded.

Comment Re:obsession (Score 1) 386

It is my understanding that this behavior is the byproduct of evolution. Please forgive my very basic, rudimentary, and incorrect-in-some-places explanation of how I understand the evolution and humanity's current obsession with believing in things that don't exist.

It starts with certain chemicals encountering each other in one way leading to a reaction, and encountering in another way lead to the reaction not happening.

Move forward through time a bit and you've got masses of chemicals naturally gravitating toward certain interactions with other masses of chemicals which lead to certain reactions, and gravitating away other masses of chemicals which don't result in certain reactions.

You have small lifeforms going after food and avoiding predators. Senses develop in these lifeforms which can detect environments wherein it can find food and avoid predators.

Then you have information processing systems developing which are able to do pattern matching in order to identify where good things might be and bad things might not be. Increasing complexity in this system gives rise to the lifeform beginning to be able to predict places, behaviors, etc. which can lead to positive and negative outcomes for itself.

Increasing in information processing complexity, the lifeform begins to learn causes of the situations that can lead to positive and negative outcomes. In order to maximize its own benefit, it actively starts to reason out unknown causes.

Still more complexity leads to entire frameworks of understanding of the world around the lifeform being imagined.

Conditioning to external stimuli, combined with unknown causes, leads to superstition. When causes for events are simply unknowable for the lifeform, it extends the concepts that it knows about - e.g. other lifeforms, etc. - and invents an "unknown actor" (i.e. god) as the cause, trying to come up with the best framework for predicting what behaviors it needs to perform in order to maximize its benefit and minimize its harm.

This framework evolves in social lifeforms to become a series of rituals and, eventually, religious beliefs.

These religious beliefs are, in effect, environmental conditioning. This condition becomes hard to break, since it's tied, evolutionarily, to the lifeform's successful existence.

Comment Comments are bad? (Score 3, Funny) 399

"Comments should be avoided whenever possible. Comments duplicate work when both writing and reading code."

Oh my god, this is the worst programming advice I've ever heard. Is this a joke? Maybe some clever attempt at creating job security?

There is a terrible dearth of commented code in the world -- especially in the lower-level languages like C and C++ -- and this guy is telling people we need fewer comments in our code?

Slashdot Top Deals

I find you lack of faith in the forth dithturbing. - Darse ("Darth") Vader

Working...