473,586 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ AI Blog

A C++ AI Weblog for implementing artificial intelligence is at
http://mentifex.virtualentity.com/cpp.html -- with C++ source.

Arthur T. Murray
--
http://doi.acm.org/10.1145/307824.307853 -- ACM SIGPLAN Notices;
http://www.sl4.org/archive/0205/3829.html -- comments by Dr. B.G.
http://www.amazon.com/exec/obidos/ASIN/0595654371/ -- AI textbook
http://www.kurzweilai.net/mindx/profile.php?id=26 - Mind-eXchange
Jul 19 '05 #1
19 3610
Arthur T. Murray wrote:
A C++ AI Weblog for implementing artificial intelligence is at
http://mentifex.virtualentity.com/cpp.html -- with C++ source.


What is on your site does not really look C++. You use a non-existent
header (iomanip.h), you use typedef to create an existing type bool (with
another name, but what for?). Your code is full of unmanaged pointers, no
use of STL data structures (which in itself is not an error, but the use of
_any_ generic element is missing, even one written by yourself) etc. The
code looks like something from 10 years ago. I strongly suggest that before
you start putting an awful lot of manhours into an AI system you learn
enough to do it right. Otherwise you will make something which have have
unreasonably high maintenance.

This post is not meant to be discouragement, but a friendly warning/help to
give you the chance to not go down to a path which is clearly not the best
one.

--
WW aka Attila
Jul 19 '05 #2
"White Wolf" <wo***@freemail .hu> graciously wrote on Sun, 7 Sep 2003:
Arthur T. Murray wrote:
A C++ AI Weblog for implementing artificial intelligence is at
http://mentifex.virtualentity.com/cpp.html -- with C++ source.
What is on your site does not really look C++.


It was written by an engineer who took a course in C++ a year ago.
You use a non-existent header (iomanip.h),
The "iomanip.h" is supposed to be a header for the manipulation
of input/output. I don't know if the header is included in the
engineer's rather old (early) version of C++, or if he has
written it himself and did not give it to me yesterday
when he handed me the four pages of C++ code that I
proceeded to key into the uploaded "cpp.html" webpage.
you use typedef to create an existing type bool
(with another name, but what for?).
I do not know. I will have to ask the incognito engineer.
Your code is full of unmanaged pointers,
no use of STL data structures (which in itself is not an error,
but the use of _any_ generic element is missing, even one
written by yourself) etc.
Sorry; I don't know any C++ -- he did it as a favor for me :-)
The code looks like something from 10 years ago.
At least it's a start, something for others to react against.
As of twelve hours after uploading, the "cpp.html" page
has gotten around fifty hits in response to this Usenet thread.
(And it is redundantly at three other domains on the Web :=)
I strongly suggest that before you start putting an awful lot
of manhours into an AI system you learn enough to do it right.
Otherwise you will make something which have have
unreasonably high maintenance.
http://mentifex.virtualentity.com/theory5.html is my main work.

Currently (as you may notice from the "See also..." links at
http://mentifex.virtualentity.com/cpp.html :-) the plan is to
set up such "XYZ AI Weblogs" for about twenty "XYZ" programming
languages as a departure point for coding AI in each language.
Even if the very first code has some defects... THE RACE IS ON.
This post is not meant to be discouragement, but a friendly
warning/help to give you the chance to not go down to a path
which is clearly not the best one.
You are one of Nature's gentlemen, and I thank you kindly.
--
WW aka Attila


Again thanking "WW aka Attila",

Sincerely,

Arthur T. Murray
--
http://doi.acm.org/10.1145/307824.307853 -- ACM SIGPLAN Notices;
http://www.sl4.org/archive/0205/3829.html -- comments by Dr. B.G.
http://www.amazon.com/exec/obidos/ASIN/0595654371/ -- AI textbook
http://www.kurzweilai.net/mindx/profile.php?id=26 - Mind-eXchange
Jul 19 '05 #3
Arthur T. Murray wrote:
[SNIP]
What is on your site does not really look C++.
It was written by an engineer who took a course in C++ a year ago.


Well, I hope he did not pay for that course.
You use a non-existent header (iomanip.h),


The "iomanip.h" is supposed to be a header for the manipulation
of input/output.


Nope. It is a pre-standard header, from an ancient past. :-)
I don't know if the header is included in the
engineer's rather old (early) version of C++, or if he has
written it himself and did not give it to me yesterday
when he handed me the four pages of C++ code that I
proceeded to key into the uploaded "cpp.html" webpage.
He did a usual C++ course, which teaches C++ from 10 years ago.
you use typedef to create an existing type bool
(with another name, but what for?).


I do not know. I will have to ask the incognito engineer.


I would rather not ask him anything anymore. At least C++. He is probably
perfect in Java or SmallTalk.
Sorry; I don't know any C++ -- he did it as a favor for me :-)
Khm. This favor stinks. ;-) He does not know much C++ either.
The code looks like something from 10 years ago.


At least it's a start, something for others to react against.


If you want a flame war...
As of twelve hours after uploading, the "cpp.html" page
has gotten around fifty hits in response to this Usenet thread.
(And it is redundantly at three other domains on the Web :=)


Great. How many reactions did you get? Nowadays if people see code like
this (I mean serious C++ programmers) they will remember the URL just not to
use it by mistake.
I strongly suggest that before you start putting an awful lot
of manhours into an AI system you learn enough to do it right.
Otherwise you will make something which have have
unreasonably high maintenance.


http://mentifex.virtualentity.com/theory5.html is my main work.

Currently (as you may notice from the "See also..." links at
http://mentifex.virtualentity.com/cpp.html :-) the plan is to
set up such "XYZ AI Weblogs" for about twenty "XYZ" programming
languages as a departure point for coding AI in each language.
Even if the very first code has some defects... THE RACE IS ON.


The code displayed on your page is *not* C++. And you know a gentleman does
not race if he knows in advance that he will win. :-)
This post is not meant to be discouragement, but a friendly
warning/help to give you the chance to not go down to a path
which is clearly not the best one.


You are one of Nature's gentlemen, and I thank you kindly.


Oh. I was joking with gentleman and now you say it... I must be weakening.
;-)

IMHO if you try to search for AI and C++ on the internet (Google is your
friend [TM]) you will most probably find people who not only know AI but
also C++.

(Sidenote: to learn C++ to be an expert might take up to 3 years of
permanent, cutting edge C++ work.)

Anyway, good luck for your quest!

--
WW aka Attila
Jul 19 '05 #4
uj***@victoria. tc.ca (Arthur T. Murray) writes:
"White Wolf" <wo***@freemail .hu> graciously wrote on Sun, 7 Sep 2003:
Arthur T. Murray wrote:
A C++ AI Weblog for implementing artificial intelligence is at
http://mentifex.virtualentity.com/cpp.html -- with C++ source.
What is on your site does not really look C++.


It was written by an engineer who took a course in C++ a year ago.


A year ago!?! Was it taught by a charlatan or an ignoramus? Sorry,
that was harsh, give me a minute to calm down.
You use a non-existent header (iomanip.h),
The "iomanip.h" is supposed to be a header for the manipulation
of input/output.

[snip]

"iomanip.h" dates from 1990-era C++ . The C++1998 standard mandates
<iomanip> (no .h suffix) Anyone still using iomanip.h is at least
5 years out of date. This and other evidence leave me feeling your
incognito engineer was taught C++ by someone not remotely
qualified. It is sad to hear of courses still so far behind the
times.
[snip] Currently (as you may notice from the "See also..." links at
http://mentifex.virtualentity.com/cpp.html :-) the plan is to
set up such "XYZ AI Weblogs" for about twenty "XYZ" programming
languages as a departure point for coding AI in each language.
Even if the very first code has some defects... THE RACE IS ON.

[snip]

Please don't pretend this code can be used any kind of fair or honest
language comparision.
Jul 19 '05 #5
llewelly wrote:


"iomanip.h" dates from 1990-era C++ . The C++1998 standard mandates
<iomanip> (no .h suffix) Anyone still using iomanip.h is at least
5 years out of date. This and other evidence leave me feeling your
incognito engineer was taught C++ by someone not remotely
qualified. It is sad to hear of courses still so far behind the
times.


Is this formatting really necessary? Personally, I would appreciate it
if you'd set your news client to format messages left-justified like
most usenet messages. It's a distraction to have it indented like that.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #6
"llewelly" <ll*********@xm ission.dot.com> wrote in message
news:86******** ****@Zorthluthi k.local.bar...
uj***@victoria. tc.ca (Arthur T. Murray) writes:
[snip]
Currently (as you may notice from the "See also..." links at
http://mentifex.virtualentity.com/cpp.html :-) the plan is to
set up such "XYZ AI Weblogs" for about twenty "XYZ"
programming languages as a departure point for coding
AI in each language.
Even if the very first code has some defects... THE RACE
IS ON.

[snip]

Please don't pretend this code can be used any kind of fair
or honest language comparision.


I don't think that's the point. I think Mr. Murray is convinced
that he really understands intelligence and AI well enough to
have conveniently provided a template whereby skilled
programmers can crank out new AIs like sweatshop children
cranking out Nikes. Perhaps he believes that by encouraging
programmers from different languages to "race" towards his
"goal", it will harness the competitive energy of said
programmers, achieving his ultimate aim of producing the
first real intelligent artifact. And all this will be accomplished
without him having learned a single programming language
or paying a single programmer to write a single line of code.

It's a clever idea...if you know a bunch of clueless and naive
programmers. But if you know such coders, they probably
aren't smart enough to write the AI anyway. And if they were,
you'd be wondering why they would do it for free, make it
publicly available, and do it in their spare time.

I don't think it's far from the mark to say that Mr. Murray is
an AI crackpot. Looking at his web site in depth shows
that he has a rather shallow view of AI, specifying things
like making the user press Return after certain inputs, and
leaving obviously difficult tasks like: "Create a sensory
modality for the AI" up to the programmer. If he had any
financial gain from this, I'd say he's the modern-day maker
of Stone Soup. But alas, it seems to me that all he has is
too much free time on his hands.

He seems to think that an AI can be built incrementally,
without really fully understanding how human cognitive
processes work in detail. I think a good 60-70 years of
less-than-spectacular AI projects indicates otherwise.
Of course, none of this really has to do with C++.

Dave

Jul 19 '05 #7
"David B. Held" <dh***@codelogi cconsulting.com > writes:
"llewelly" <ll*********@xm ission.dot.com> wrote in message
news:86******** ****@Zorthluthi k.local.bar...
uj***@victoria. tc.ca (Arthur T. Murray) writes:
[snip]
> Currently (as you may notice from the "See also..." links at
> http://mentifex.virtualentity.com/cpp.html :-) the plan is to
> set up such "XYZ AI Weblogs" for about twenty "XYZ"
> programming languages as a departure point for coding
> AI in each language.
> Even if the very first code has some defects... THE RACE
> IS ON. [snip]

Please don't pretend this code can be used any kind of fair
or honest language comparision.


I don't think that's the point.


On second thought, agreed. I saw 'RACE', and
comp.programmin g.contests, and jumped to conclusions. Call it a
knee-jerk reaction from too many ill-designed and poorly done
langauge comparisons. (Usually done by people who think they have
to prove their favorite langauge is 'better' than C++, by some
ill-chosen definition of 'better' .)

[snip] He seems to think that an AI can be built incrementally,
without really fully understanding how human cognitive
processes work in detail. I think a good 60-70 years of
less-than-spectacular AI projects indicates otherwise.
Of course, none of this really has to do with C++.

[snip]

Agreed. (Though I'm curious where you got '60-70 years' - the only
computer I know of from 60 years ago was the British Colossus; I
don't think ENIAC was finished until 1947 or so.)
Jul 19 '05 #8
"llewelly" <ll*********@xm ission.dot.com> wrote in message
news:86******** ****@Zorthluthi k.local.bar...
"David B. Held" <dh***@codelogi cconsulting.com > writes:
[snip]
He seems to think that an AI can be built incrementally,
without really fully understanding how human cognitive
processes work in detail. I think a good 60-70 years of
less-than-spectacular AI projects indicates otherwise.
Of course, none of this really has to do with C++.

[snip]

Agreed. (Though I'm curious where you got '60-70 years' -
the only computer I know of from 60 years ago was the
British Colossus; I don't think ENIAC was finished until
1947 or so.)


I guess the first AI projects were run in people's heads. ;)

Dave

Jul 19 '05 #9
uj***@victoria. tc.ca (Arthur T. Murray) wrote in message news:<3f******@ news.victoria.t c.ca>...
A C++ AI Weblog for implementing artificial intelligence is at
http://mentifex.virtualentity.com/cpp.html -- with C++ source.

Arthur T. Murray


that is some pretty heinous code, and you were silly for "re-typing"
something that un-useable anyway, a short quick search of google would
have found at least half a dozen source code to color coded syntax
highlighted html programs.

sorry to here you this person wasted so much of your time.
Jul 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2229
by: Richard Silverstein | last post by:
I'm having trouble figuring out how I can upload an essay I wrote in MS Word to my blog. Unfortunately, my Typepad blog strips out html formatting code if I cut & paste the text directly into the blog post field. I've saved the Word doc as a web page and uploaded it my blog site. But now I can't figure out how to get the formatted text...
3
4200
by: Kevin | last post by:
Hello, I am just wondering whether there are any good php blog software that do not need any database as background. I want to setup a blog for myself. I know usually, tools such as http://www.bblog.com/ etc. need MySQL as background to save the necessary information. However, I want to build a one user blog without any background
0
1684
by: Marcel - IDUG Europe 2005 | last post by:
Visit the IDUG Europe Conference Blog for Daily Updates and Conference Information IDUG 2005 - Europe Blog New for this year's conference, IDUG 2005 - Europe has created a blog to give you information on all aspects of the conference. Daily entries have already been posted to the blog, and updates will continue to be posted during the...
6
1593
by: Chance Hopkins | last post by:
This is driving me nuts. As far as I can tell, a blog is a website with an RSS feed. Some seem to have a calendar of events and some support user authentication and forms. Am I missing anything? I guess I just don't get it. Is that all it is. THEY Won"T STOP SAYING IT ON TV...BLOG BLOG BLOGGER BLOGGING BLOG BLOG BLOG!!!!! AHHHHH!!!H!H!
10
2312
by: Neo Geshel | last post by:
I am seeking to hand-roll my own blog in ASP.NET 2.0 and SQLExpress 2005. Why? Because I can. Because I will gain experience. The one thing that has me stumped at square one is inline images. That is, images inline with the actual content of the blog itself. Is there an example that I can be pointed to, where I can examine some code and ...
0
1580
by: jonathan.beckett | last post by:
Version 1.9.9f of the PluggedOut Blog script is now available for download. PluggeOut Blog is a free, open source blog/diary/journal script, written by a professional software developer to give something back to the internet that we take so much from. The script is used by many people all over the world to provide a fast, light, flexible...
4
1489
by: --CELKO-- | last post by:
PUBLIC NOTICE: I have no blog. I have never had a blog. I have no idea who is using my name, postings and likeness on that "SQL Apprentice" blog.
1
2124
by: javabeginner | last post by:
I m new to Java Servlet. I have project assignment, where i need to create web blog using Java Servlet. I should have following functionalities Program data model will include: ● blog class with blog author, blog content, timestamp when submitted ● response class with response author, response content, timestamp when submitted ● a HashMap...
6
1734
by: Champika Nirosh | last post by:
Hi All, Can some one explain me how these blog servers keep blog content? Is it via a database? Is it via a XML file which save in a local directory? I was asked to develop a back end service for a blog/ wiki.
1
3477
by: judacris | last post by:
I've seen the threads here about molding 2 divs in a centered fashion. but I can't seem to solve this thing. my blogger blog is functioning well on my site for now, but the blog feed (left) and the sidebar (right) doesn't center here's the css i'm modifying to center it. i apologise for the mess. <html> <head> <title>cris-kun's 'Blog -...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.