Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Programming in Go? (Score 1) 512

I wonder if they managed to use just black and white stones or whether they have a (countable?) infinity of colors of stones.

Presumably its a co-ordination language and data flows between stones down and to the right. Perhaps Black and white might just represent arity and what a stone actually did might not be denoted by color. You would have monadic stones (white?) and dyadic stones (black?) and the syntax would require that monadic stones have at most one stone above or to the left since they can only accept one input at a time.

Either that or the language would be weakly typed and data arriving from above or from the left would be processed separately.

The board would have a left and a top which would accept inputs from the environment but could extend infinitely to to bottom and right.

Comment Re:Patent (Score 1) 238

I implemented something that I cannot distinguish from this from the summary (have not read the entire thing) in a product called "The Corporate Retriever" around the time DOS 2.11 shipped (I actually ported it to dos 2.11 from RT-11 but the RT-11 version did of the registration scheme)

That would have been around 1984 or 5 I think. So yes, it was "usual" or at least published by way of a software product by around the mid 80s. So certainly by 1991 it was not new. I don't believe I invented the idea either - in any case, it was certainly an idea that would have occured to anybody "versed in the arts" back then. Back then the process was done by phone. You generated your unique id, called us and we have you a hashed key to unlock the functionality derived from your generated key.

Just for amusement, this was done in Australia too. Not that that means this earlier system should have been known to the patentee.

Comment Re:From the last Slashdot article and FYI: (Score 1) 425

In England its been illegal to drive in the passing lane when not passing for ever. Not only that but it is culturally accepted (not sure if its actually illegal) that you don't pull out if doing so will impede another driver. As a result, traffic flows much better there than here although its not clear it prevents or delays traffic jams.

Of course, the English drive on the right side of the road (which is to day, the left) so the passing lane is the right hand one.

In Australia I don't think there is a law but at least one person has been booked for "obstructing traffic" when failing to get past in a reasonable manner.

Comment Re:So, does the Duct Tape Programmer... (Score 1) 551

I think SmallTalk introduced duck typing rather than Perl. But anyway, there is a real difference here that is important from a theoretical viewpoint.

If you think about the inheritance tree (in C++ if you like) then all methods are inherited. There are no synthesized attributes. On a general tree, attributes can be both inherited (they flow away from the root) and synthesized (they flow towards the root). These terms were original introduced by Knuth, I think, a long time ago in a context far far away.

In a language like C++ you have to know what type has the synthesized attribute to do a dynamic cast, so you cannot write a routine that will work with any type that has a given (set of) method(s). So you end up forcing all the methods used by some set of classes down into a common ancestor (perhaps, in C++ as pure methods), which is a nightmare or even impossible if the common base class is not in a subsystem you own or can convince someone to change.

One way to handle this in a statically typed language is with interfaces. You define a parameter as supporting an interface. This can be (partially) checked at compile time at the call point and assuming your language allows checking at runtime, never converts a compile time fail into a runtime fail because you would otherwise have had to do a dynamic cast that would itself only fail at run-time.

Comment Re:in general, i agree with the ruling (Score 1) 154

So you are arguing that the rights of individuals should be subservient to the interests of the state. This is equivalent to the "tear up the consitution; there are terrorists out there" argument that has prevailed in a lot of places in recent years.

Certainly such systems of government (where the individual is subservient to the state) have existed and still do, and there are those who want to restore them, often but not exclusively in the name of religion. A lot of blood has been shed over the last three centurys to overthrow such governments, and no doubt will be again. Trying to stop things getting to that point by defending the US Constitution against depredation from short term expediencies makes a lot of sense.

Comment No effect (Score 1) 494

Typing hasn't affected my spelling. I have not been able to spell much longer than I have been using a computer.

The problem with autocorrection is they frequently autocorrect incorrectly and often the "corrected" sentence is less understandable than the mistyped version since the corrected word is no longer recognizable as a mangling of the intended word.

Comment I bet it doesn't work! (Score 3, Insightful) 302

I bet it can't tell the difference between someone watching the TV and someone sleeping in front of the TV.

I bet it can't tell the difference between me, sitting at the kitchen table watching the Football and my wife sitting at the breakfast table with her back turned.

I bet it can't tell that I am reading, not watching.

How does it distinguish a large dog from a small child?

If it uses infra red it can at least distinguish a human from a cardboard cut-out of the Duke of Edinburgh! I have seen award ceremonies have trouble with that one, so I guess that makes it smarter than some humans.

Slashdot Top Deals

The hardest part of climbing the ladder of success is getting through the crowd at the bottom.

Working...