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

 



Forgot your password?
typodupeerror
×

Comment Re:UK needs to be run by corporations like America (Score 1, Insightful) 266

You do know that for company formation the UK is scored better than the USA by some Rightwing think tanks - we don't have those dodgy judges in texas helping patent trolls for one.

Apparently you don't understand how well the right wing can disseminate propaganda. Part of convincing citizens that lowering tax burden and removing regulation is a good idea is convincing them these things are hurting businesses enough to damage the US economy. Telling people that even the anti-business EU has countries which beat us in company formation is a great way to do that. It works even better when people believe a right wing think tank would have some natural bias against giving credit to Europe, so the situation must be even more dire.

Comment Re:Infinity (Score 1) 1067

I can think of a lot of situations where I HAVE TO GIVE an answer when a value becomes Zero and I'm dividing with it.
Animation, bank accounts and artificial intelligence to name a few.

Any time you have a situation where you have to give an answer when a denominator becomes zero is an example of error handling. Just because you have found a specialized way to handle the error while continuing on with your algorithm does not mean the function actually had a value when it divided by zero.

Treating 5/0 as NaN and having your algorithm either skip the value or treat it as zero when computing an average would be an example of handling the error. But it still was an error, although in your specific instance you have determined handling the error was better than fixing your algorithm (which may become needlessly more complicated in your situation).

Comment Re:Infinity (Score 1) 1067

So what value does the sinc function ( y = sin(x)/x ) have at x coordinate 0 ?

It has no value. What you have here is a discontinuous function. The graph may appear continuous to the naked eye, but it is not. Just pretending that y = sin(0)/0 = 1 is not proper math.

Also, nature does not have a problem with this 'invalid' result of the mathematicians. It just uses 1 as a substitute.

Nature has no problem with this situation because no practical application of sin(x)/x could ever have x = 0. This is the difference between just computing functions and actually applying them.

Comment Re:Infinity (Score 1) 1067

Looks like someone skipped Calculus 101.

It looks like someone just relied on the power rule to get through Calculus 101, and never really understood how what limits are. You use a lot of the terminology someone who understands Calculus would use, but there is a strong disconnect in understanding if you think finding where a function is approaching before it becomes undefined is the same thing as defining an undefined value.

You do not divide by zero in Calculus, you determine what value the function approaches as the denominator approaches zero.

Comment Re:Infinity (Score 1) 1067

Frankly, this should be basic Computer Science 101 type stuff.

It is CS 101 stuff, which is why so many people are saying it isn't possible. What I don't understand is how many people are actually defending the OP and agreeing that they would want the same thing. I guess these are the same programmers who cannot pass the Fizzbuzz test.

Comment Re:Infinity (Score 1) 1067

The point of the original post is that it could be pretty handy to have a sane predicable default result instead getting a runtime error or having to introduce conditional logic every single time you do divide by a variable or calculated value..

We understand what the OP was asking for and why it would be handy. We are simply explaining why it is not possible. Not just why it is probably not possible, but why it is literally not possible.

I would also love a programming language which always knew what I wanted it to do during runtime errors automatically; I simply don't see it happening before we figure out general artificial intelligence.

Comment Re:Infinity (Score 1) 1067

If your code ever has the expression X / X and X is capable of being 0, you have a bug in your algorithm.

If you expect 0/0 = NaN, then it's not necessarily a bug.

You are correct there. A more accurate statement on my part should have been:

If your code ever has the expression X / X and X is capable of being 0, if your code does not treat this as an error and handle it properly then you have a bug in your algorithm.

Treating 0/0 as NaN is an example of handling the error properly, considering you are no longer treating the result as a valid number.

Comment Re:Infinity (Score 3, Insightful) 1067

Let me rewrite that as:

Rule 1: 0*X (where X = 1/0)
Rule 2: X/X (where X = 0)

I've had this argument often with APL fans who don't get that as obvious as 0/0 = 1 may sound, it's not mathematically sound.

If your code ever has the expression X / X and X is capable of being 0, you have a bug in your algorithm. It really is as simple as that.

Comment Re:Infinity (Score 3) 1067

We had five bucks, and we decided to divide it up. After we were done dividing, the money was all gone. That is dividing by zero. It was divided into zero pieces.

Dividing something into zero pieces is not the same as dividing by zero. If you have no money left after dividing five bucks to five people, then the next attempt at dividing would be 0 / 5, not 0 / 0.

Programmers who primarily deal with integers and money units find it natural to have anything that doesn't make sense to default to zero.

Plenty of lazy programmers or those forced into using frameworks developed by other lazy programmers may be used to this. Perhaps even programmers forced to use primitive languages with no other options are used to it. But anyone else who knows what they are doing do not do this. This is similar to all of those developers who use NULL as if it means 0. Just because a lot of people do it doesn't make it any less idiotic.

So in the end the answer is to use high level languages, and use money objects with sensible defaults instead of floats and ints for money values.

Even low level languages have the capability of handling money correctly. It just requires more effort by the programmer, just like anything else done in a low level language. Considering all high level languages eventually have their code compiled down to the lowest level language understood by the CPU, low level languages are certainly capable of any calculation that a high level language is.

Comment Re:smart people, including Bill Gates (Score 1) 367

If you don't have specific reasons why it is impossible

I've made that clear already. Did you miss it?

There are no specifics in that post. Just some vague mention of semantic vs syntactic content and a claim that it is so obvious you don't even need to explain it.

All I can make from your semantic/syntactic analogy is that the physiology of a human brain and its computational ability may equate to syntactic content, but with no inherent semantic meaning. The consciousness that is created by these computations is what provides the semantic meaning. aka I think therefore I am.

But there is no absolute reason why a manufactured machine with similar computational ability as the human brain couldn't also create a consciousness that could give itself the semantic meaning you are referencing.

Comment Re:smart people, including Bill Gates (Score 1) 367

You can never state that something is not sufficient just because no one has figured it out yet.

That it's logically impossible is reason enough! Consider for a moment a simple example: I claim that it is impossible to clear 5 lines simultaneously in a game of Tetris. Would you say that claim is nonsense and it's only a matter of time before someone figures it out? Of course not. You can clearly demonstrate that it is an impossibility. The same is true for computational approaches to AGI -- they are logically impossible.

Why do you believe in such silly nonsense when it's clear that those beliefs are pure fantasy?

You are correct that you can clearly demonstrate that clearing 5 lines simultaneously in Tetris is impossible. But that is because you can be very specific as to why: the longest piece is only 4 lines long. Notice I didn't say something vague like: it is logically impossible to clear 5 lines. I was incredibly specific.

If your answer to why computational approaches to AGI is logically impossible are not also as specific, then you are just spouting nonsense. Just saying it is impossible is not an acceptable answer, and neither are other deflections such as calling it silly nonsense or pure fantasy.

If you don't have specific reasons why it is impossible, which show a thorough understanding of why neuron interaction cannot be replicated by a Turing complete computation system, or why simulating neuron interaction is not enough to create AGI, then just stop replying.

Comment Re:smart people, including Bill Gates (Score 1) 367

What else other than computation is required?

I have no idea. Neither does anyone else. That doesn't change the fact that computation alone has been show to be insufficient. That's pretty well established.

You can never state that something is not sufficient just because no one has figured it out yet. Most likely 100% of all significant technological advances were preceded by people who tried and failed. Often the people who finally figure it out were among the people who had failed multiple times in the past.

To say something isn't possible you have to know a great deal about why it is not possible. For instance we know that silicon transistors cannot shrink indefinitely because of our knowledge of physical limitations such as the width of a silicon atom. We don't say that transistors cannot be 5 nm wide just because all attempts at making 5 nm wide transistors have failed; that would be stupid.

It could not possibly be established that computation alone cannot create general AI because we have not even approached computers with enough transistors to match the 100 trillion synapses in an average adult. Even once we reach that milestone it will take a large amount of research before people could claim it simply isn't possible, and even then there would be a good chance they are still wrong.

Realistically the only way to say it is impossible to create general AI with computation alone is to actually create a general AI by other means. Only then could we possibly understand the process enough to know for sure it couldn't be done another way. Although even in that case there is no guarantee someone won't come up with a more elegant and/or efficient way in the future which only uses computation.

Comment Ruling Appears More Limited Than Headline Suggests (Score 5, Informative) 346

Here is an update to this ruling found in another article:

Update: Uber pointed out that the ruling only applies to one driver. “Reuters’ original headline was not accurate. The California Labor Commission’s ruling is non-binding and applies to a single driver,” a spokesperson said. “Indeed it is contrary to a previous ruling by the same commission, which concluded in 2012 that the driver ‘performed services as an independent contractor, and not as a bona fide employee.’ Five other states have also come to the same conclusion. It’s important to remember that the number one reason drivers choose to use Uber is because they have complete flexibility and control. The majority of them can and do choose to earn their living from multiple sources, including other ride sharing companies.”

Slashdot Top Deals

I've noticed several design suggestions in your code.

Working...