打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
DelphiForFun Home

WHAT‘S NEW

December 16. 2005:  I‘ve been resurrecting the old expert system this week.  My long time engineer buddy  is considering an oil industry consulting job  and may have need for it.  Maintenance costs for companies with lots of large  rotating equipment (motors, pumps, etc.) are a big expense item.   A system that can help intelligently diagnose vibration problems is valuable enough that it helped us both take early retirement.  It just happened to be easier for me to keep playing with computers at home than it was for him to find 20,000 hp motors to fix.   I think he‘s missing it.

I recently started getting statistical summary reports about DFF again.  It  amazes me at the geographical distribution of our viewers.  A typical day will have a couple of thousand hits from 80 to 100 different countries with about 40% from the USA.  just as a matter of interest, here‘s a link to yesterday‘s report.             

December 10, 2005:  Another user request this week, from a fellow who wanted an implementation of  Keno, a casino game somewhat like an "Instant Lottery".   The mathematics of the game are interesting.  "If I select N numbers from a pool of 80, what is the probability that  R of my N numbers will match numbers in a draw of 20 chosen randomly from the 80?"   

I think I know --  you can too.      

December 2, 2005:  "Help, I have X and Y values in two list boxes and I want to chart the data.  I am totally lost about how to do this!"   That was the gist of the request that led to today‘s TChartDemo2 addition to the Beginners‘ page in our Delphi Techniques section.   

November 21, 2005: Version 2 of the game of Go  was posted today.  It does a better job of handling removal of multiple connected blocks of stones of the opposite color when a stone is played.  And of disallowing "Ko" moves, situations where a a loop could occur with successive plays giving your opponent the same board he faced on his previous turn.     

November 13, 2005:  I recently received an email from a fellow who plays the solitaire card game known as Roll-Call or "Hit or Miss".  It‘s a simple game but he‘s played it for many years without winning a game.  He wrote wondering about the chances that he would ever win.  So here‘s a simulation program, Roll-Call Solitaire Statistics. that displays the results for several versions of the game.  (It‘s less than 2% chance of winning for his version.) The program  also lets you replay winning games, so he can finally have the thrill of winning, even if he has to set up the deck first!     

November 11, 2005:  I spent a week trying to get a Delphi program that would talk to the  ActiveHome CM15A USB X10 Computer Interface.   This is a device which can send and receive signals over household power lines to monitor or control other devices (lights, alarms, motion detectors, etc.).  The sample code that comes with the ActiveHome SDK (System Development Kit) does not include any Delphi samples and the formats of the messages received just did not seem to match up with what I thought was expected.  I returned the device and went back to using an older "Two-way" serial port interface (TW-523) which has worked fine for years.   Just thought it might be nice to update the code for a more modern USB interface and to post it here on DFF.  Maybe next year.  If anyone has had any success with Delphi and the CM15A, let me know. 

Another project has just been posted, an initial version of the Japanese game of Go.  Black and white stones played on a grid. Surrounded groups of stones are captured and score points.   Like Chess, Go has become a lifelong study and challenge for thousands of players.   I‘m not one of them but did get sucked into the challenge of implementing simple human to human play.   Well, as it turned to be not so simple,  but here‘s my first version of the game of Go, bugs and all.  Feedback welcomed.  
     

November 1, 2005:  I just updated the utility program, Remove Blank Lines, to fix a minor problem.  Minor to fix, potentially major in consequences.  Among other tasks, the Delphi procedure CloseFile writes the last buffer to a file being created.  But only if you remember to include the statement.   Without it, the final record or records from the input file may never get written to the output file.  Thanks to viewer/user Tim D  for reporting the bug. 

      

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Delphi中释放介绍
如何在 "万一的 Delphi 博客" 回复自动格式化的着色代码?
Delphi调用C#类库 - chenghm2003 - 博客园
delphi工程中如何定义全局变量
解决windows 7下Delphi 7打开旧工程时的乱码问题
MAX31782系统管理微控制器应用电路
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服