Happy Thanksgiving from all of us here at Prestwood Software. I hope you have a wonderful holiday with lots of family, friends, food and fun.
In this issue:
Hope you enjoy the issue. Until next month,
Vicki Nelson Editor in Chief
Stamp Out Spam by Vicki Nelson As you may know, the volume of spam messages sent across the Internet has reached epidemic levels. Some industry experts estimate that three out of every five e-mail messages that are sent today are spam. The spam epidemic is costing companies, professionals, and individual users considerable amounts of time, money, and resources. What is spam, and what can I do about it?
Spam is generally defined as an unsolicited mailing, usually sent to many recipients. Most spam is commercial advertising, often for dubious products, get-rich-quick schemes, or quasi-legal services. Spam costs the sender very little to send. Most of the costs are paid by the recipient or the carriers rather than the sender. Some effective methods for preventing your e-mail address from being captured, sold or abused by spammers are listed below:
Protect Your Privacy If you plan to enter your information to any Web site, please review the Terms of Service and Privacy Policies of the Web site. If the policies do not clearly indicate what will be done with your information, you should reconsider posting any details to that Web site.
Publishing Your E-mail Address on Your Web Site Instead of having a simple "mailto" link on your Web site, such as "Please e-mail me at firstname.lastname@example.org," consider using a form-to-e-mail CGI script that allows Web site visitors to fill out a form to send you e-mail. Prestwood offers such a CGI script free with your paid hosting. This will help prevent e-mail address harvesting robots and other spammers from capturing your address.
Product Registration Many times the product registration form has options pre-selected that enable the company to solicit you by e-mail, even though you may not want it. Be sure to review the options you are selecting and any options that may have been selected for you by default.
Never Reply to Spam or an Unsubscribe Request Never reply to a piece of spam or request to be unsubscribed. Your reply confirms that your address is working and provides the spammer the opportunity to add your address to their list or sell it to another entity. This actually helps facilitate more spam.
Report Spam An effective way to help prevent spam is to report it to the ISP or mail administrator where the spam originated. Such reports help ISPs to identify the user or users who sent the spam. Report the spam, including full headers from the spam, to the ISP abuse department or postmaster e-mail address.
Federal law strictly limits the information that online service providers may disclose about their users. However, e-mail messages do contain some information about the sender.
E-mail headers contain an Internet Protocol (IP) address that corresponds to the sender's Internet service provider (ISP). A line in the e-mail message contains an 8 to 12 digit number, separated by periods. For example: "Received: from [123.456.78.91] by . . ." The "123.456.78.91" represents the ISP's unique IP address for the sender. Most spam headers have multiple "Received: from" lines. If the e-mail message has not been forged then, in general, the first such line from the bottom is the true origin of the spammed message.
After you identify the IP address, you can search to determine which ISP provides this person with Internet access. A Web site that attempts to determine the actual computer with that IP address is located at http://www.arin.net/whois/index.html
From the Message Boards Removing spaces in ObjectPAL
The wide variety of technologies, languages, and environments supported on the Prestwood message boards is amazing. Here's an example where the poster described the question perfectly, and a moderator promptly posted a solution - in code. from "since92" I am importing a .csv spreadsheet. One of the fields is "A" "16" eg. "Item" "A" 16 It has the first ten characters of the field as spaces or padding, which could ideally be deleted. I only need the last six characters, and these to finish up as being left aligned. These six characters contain numerals only, and to get by, I am currently convereting this "A" 16 field to a "N" 1(not trimming data in the process) then changing back again to "A" 16. I would like to use ObjectPal code to do the same job. Any advice or help appreciated.
scan tc : tc."fieldname"=ltrim(tc."fieldname")
onfail ; handle error
from "since92" Thanks for your help Montana, it works like a treat. Great! Peter
Cook Your Turkey in Delphi by Scott Wehrly
Cooking with Delphi - Part 1. Since I'm a talented Delphi programmer, and a talented cook, I'm combining the two to show you how to cook a turkey dinner in Delphi:
Here are the global variables:
var Kitchen : TKitchen; StoveOven : TStoveOven; TurkeyStuffing : TStuffing; Turkey : TTurkey; SideDish1 : TSweetPotatoes; SideDish2 : TCranberrySauce; SideDish3 : TButterRolls; SideDish4 : TGreenVegatable; Dressing1 : TThickBrownGravy; Dressing2 : TMeltedButter; Dessert1 : TPumpkinPie; BottleOfMerlotInCupboard : TGoodWine; BottleOfWhiteZinfandel : TCaliforniaWine; Helper : THusband; Helper_Motivator : TPintOfGuinness; Cook : TWifeWhoWillKindlySlaveAwayForFourHoursOnThisMeal;
procedure TKitchen.MakeTurkeyDinner(numberOfGuests : integer);
var BakingPan : TLargeSturdyBakingPan; CookingTime : TCookingTime;
Helper.Name := 'RT';
OnInitializeEvent := SendToThePub(Helper, Helper_Motivator);
OnBeforePrepareEvent := StoveOven.SetOvenTemperature(350_Degrees); OnAfterPrepareEvent := PrepareSideDishes; Turkey.WeightInPounds := 4 + (numberOfGuests * 2); Turkey.OnAfterCookedEvent := SetTable; Helper.OnAfterDinnerEvent := CleanDishes(Helper_Motivator); Cook.OnAfterDinnerEvent := TakeLongNap; BakingPan.Depth.Min := miTwoInches; BakingPan.Width.Min := Turkey.Circumference + miOneInch; PrepareTheStuffing; PrepareTheTurkey; CookingTime.Duration := tTwoHours + ApproximateMinutesCookingTime; BakingPan.Place(Turkey,pCenter);
BakingPan.Cover('Aluminum Foil'); StoveOven.Bake(BakingPan,CookingTime.Duration); Cook.PrepareSideDishes; if Available(BottleOfMerlotInCupboard) then Cook.Fetch(BottleOfMerlotInCupboard); while (Turkey.TimeCooked < CookingTime.Duration) or (MeatThermometer < 165_Degrees_Farenheit) do begin if (TimeSinceLastChecked >= tOneHour) then begin StoveOven.Open; BakingPan.UnCover; Turkey.Skin.Baste('Juices From Pan'); BakingPan.ReCover; StoveOven.Close; end; if (not BottleOfMerlotInCupboard.Empty) then BottleOfMerlotInCupboard.Drink('glass'); end; Cook.ServeFood(VarArrayOf[ Turkey, TurkeyStuffing.Remainder, SideDish1, SideDish2, SideDish3, SideDish4, Dressing1, Dressing2,
Cook.TakeLongNap; Helper.CleanUpKitchen; end;
Read Full Article
Pre-Pay Developer Hours @ a Discount Pre-pay for developer hours at a discount. Our pre-paid rates are as low as $75 per hour! Our regular (not pre-paid) rate ranges from $110 to $116 per hour (depending on the agreement terms). NEW AND EXISTING clients can pre-pay for developer hours at a discount in our online store!
DotNet, VB, VB.Net, C#, Delphi, Paradox, Access, and ASP!
The Fine Print: To take advantage of this offer, you MUST use our online store to purchase pre-paid hours. The pre-paid hours apply to any work done on or after the date of purchase. Sorry, pre-paid hours do NOT apply to past work.
Open a Support Account Open a support account with us instantly online. If your business doesn't have a computer department or your computer department is over extended, Prestwood can help. Use your Prestwood support account for code audits, to get developer help, complete projects and for maintenance type work.
|Wanted - Paradox 9 Power Prg Books! We still have a high demand for my book titled, "Paradox 9 Power Programming" by Mike Prestwood. |
So we're still doing our book buy back. If you've got one sitting on your shelf, please consider selling it to us.
Visit Official Home Page
We'll pay you...
- $24 - New, never used
- $20 - Used, no marks
- $16 - Used, with marks, but very useable
You must pay for your own shipping to us, so your net profit within the U.S. will be around $15 to $20 (unless you have multiple copies). Title: Corel Paradox 9 Power Programming Author: Michael A. Prestwood Publisher: Osborne/McGraw-Hill ISBN: 0-07-211936-5 EAN: 9780072119367 UPC: 783254030534
How to proceed Send your book to Attention Mike Prestwood, Prestwood Software, 7525 Auburn Blvd. #8, Citrus Heights, CA 95610. If we can sell the book as new, we'll send you a check for $24 (for each book). Otherwise, we'll send you a check for either $20 or $16 (depending on condition).