RE: CFMyAdmin Update - New MX compatible version available
> "security reasons"? Meaning port 3306 is open on your > firewall, so you switch to a port that isn't open? There's a > reason for port standardization. Not to say that CFMyAdmin > shouldn't allow for alternate ports but the reason for using > should be multiple separate servers on a single machine, not > security. While there is a reason for port standardization, using non-standard ports is an easy way to avoid automated attacks, so I would say there is a valid security-related reason for doing so. I wouldn't go so far as to say this should always (or even usually) be done, though. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: [OT] Dreamweaver nightmare
> Can someone please tell me how Dreamweaver determines when a > tag is nested incorrectly? I am using DWMX templates and it > keeps telling me that I have made changes out side of an > editable region (which I haven't) and tags are nest > improperly (which they aren't) I would just as soon turn that > particular "feature" off. Any ideas? My experiences with DWMX templates and CF code is that they don't mix very well, unfortunately. For example, if I create a template that contains CFINCLUDEd headers and footers, I'll often see those sorts of errors. I would be very happy if someone here could show me what I'm doing wrong, though. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Five Selects Related using thinArray
Dick, That is very nice! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Five Selects Related using thinArray
Nah, I had this old example laying around -- But first I had to install Sybase so I could do complex db stuff and use T/SQL. Then I had all these frames within frames and a lot of skinning crap. I removed all that and am just happy to get it up and running. The Neuromancer version should perform about the same -- the savings from not loading multiple frames will be offset by loading the neuro js files. But, WTF, Matt is going to take credit for it anyway How is K and the new Job? Dick P.S. A long plane trip to where -- that has you using whilst? P.P.S. You mean the column to list CF function -- that's what WDDX (mis)uses this is a really an array within an array: 0,0,0]N/A [1,16,1]* Category [0,0,2]Announcements [17,26,3]Automotive [0,0,1473]Business Rentals [0,0,1472]Business merchandise [27,37,1474]Employment [0,0,1494]Financial [0,0,1495]Garage Sales [0,0,1496]Home & business services [38,40,1497]Lost And Found [0,0,1503]Merchandise & mini market [0,0,1504]Mobile homes [0,0,1501]Personals [0,0,1502]Pets & livestock [41,45,1505]Real estate [0,0,1521]Services [0,0,4]* Vehicle Type [46,48,5]Antique Cars [0,0,16]Auto Parts & Accessories [0,0,17]Boats-Motors & Supplies But it will be nice to do it in a single frame On Apr 16, 2004, at 7:52 PM, Rob wrote: > On Fri, 2004-04-16 at 19:40, Dick Applebaum wrote: > ... > > This particular version is a sanitized version of the original > using a > > hidden frame. I will likely do a version using Rob Rohan's > Neuromancer > > -- I may even attempt a FlexFlash version. > > Awww I thought it was using Neuromancer :( - I got all stoked. Let me > know if you do it I'd love to know if there is a speed improvement / > degradation. > > (BTW I was playing around with the spec whilst on a long plane trip > and > I think I have a pretty good way you can pass column data types as > well) > > -- > Rob <[EMAIL PROTECTED]> > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Five Selects Related using thinArray
On Fri, 2004-04-16 at 19:40, Dick Applebaum wrote: ... > This particular version is a sanitized version of the original using a > hidden frame. I will likely do a version using Rob Rohan's Neuromancer > -- I may even attempt a FlexFlash version. Awww I thought it was using Neuromancer :( - I got all stoked. Let me know if you do it I'd love to know if there is a speed improvement / degradation. (BTW I was playing around with the spec whilst on a long plane trip and I think I have a pretty good way you can pass column data types as well) -- Rob <[EMAIL PROTECTED]> [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Five Selects Related using thinArray
In recent threads on RIA and PIA performance there was some discussion of using thinArrays. The main purpose of thinArrays is to efficiently transmit large amounts of dynamic data between a server and a client and rapidly render the data for display. In fact, the concept of the thinArray was first developed (in the year 2000) to solve a specific problem: populate 5 interlated selects with a large amount of data. The application was a classified ad search, where misspelled (or poorly chosen) manually-keyed search terms yielded inconsistent results. For example, if you were searching for a car do you enter: chevy chevrolet chev chevie etc. The obvious solution was to create a series of related select boxes, and populate them with all the classified search categories. The benefit were: keyless data entry consistent search terms faster searches (indexed keywords instead of freeform text search) better search results (the same categories are used when an ad is created) But, it soon became all too obvious that this involved a lot of dynamic data that needed to be sent with each page, or multiple (slow) connections were needed to retrieve the next set of drill-down data, Both full and partial retrieval techniques were tried, An attempt was made to use WDDX but that added way too much overhead to the data and it rendered very slowly at the client. Clearly, something else was needed -- and this lead to the concept of a thinArray. Here's the one we use in our example. 1) The Ad Category database contains 1,285 rows defining categories and subcategories to a depth of 5 levels. 2) At the Host, the db is queried and yields a result of 1526 rows and 10 columns of data (category headers are generated). The query is cached until changes are made to the category db (cachedAfter). 3) The actual data contained in the query result is 22,468 characters contained in .1522 cells. 4) This is formatted into a thinArray containing a single string of data and delimiters containing 25,511 characters of data (or 3043 characters of delimiters). This is a data overhead of 13.5%. 5) The thinArray is transmitted to the client as a single string and stored in a _javascript_ array with a single _javascript_ command. 6) The highest level of categories (_javascript_ array entries) are retrieved and the top level related select is populated. 7) the rendered page is presented to the user, 8) As a user selects a a category, the next-lower level of subcategories is retrieved and rendered as above. Enough of that -- you can see for yourself at: http://67.124.145.42/cfusion/examples/ThinArray/FiveSelectsRelated/ index.cfm For the densest categories select: Automotive--->Cars, SUVs, Trucks, Vans... Then have at it! This particular version is a sanitized version of the original using a hidden frame. I will likely do a version using Rob Rohan's Neuromancer -- I may even attempt a FlexFlash version. Thoughts? Dick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
[OT] Dreamweaver nightmare
Can someone please tell me how Dreamweaver determines when a tag is nested incorrectly? I am using DWMX templates and it keeps telling me that I have made changes out side of an editable region (which I haven't) and tags are nest improperly (which they aren't) I would just as soon turn that particular "feature" off. Any ideas? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Create Excel file??
I follow the article "How to transfer records from SQL to Excel -- the better way" from cfcomet.com and I got this error. What do I do? Please help. An exception occurred when accessing a Com object field. The cause of this exception was that: coldfusion.runtime.CfJspPage$ComplexObjectException: Complex object types cannot be converted to simple values.. The error occurred in C:\Inetpub\wwwroot\NEO\eap\excel.cfm: line 25 23 : 24 : 25 : 26 : Thank you. Johnny [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMyAdmin Update - New MX compatible version available
I hear that. I am so ready for this weekend! Happy Friday! --Matt-- -- Original Message -- From: "Barney Boisvert" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Fri, 16 Apr 2004 16:38:31 -0700 Coo' coo'. Sorry I snapped. It's been a bad (and horrendously long) week. But it's Friday afternoon. > -Original Message- > From: Matt Robertson [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 4:33 PM > To: CF-Talk > Subject: RE: CFMyAdmin Update - New MX compatible version available > > Barney Boisvert wrote: > >the reason for using should be multiple separate servers on a > >single machine, not security. > > Actually thats exactly the reason. Multiple 'virtual' > servers each running on a different port. Security is the > reason for doing this, along with politics, but didn't want > to write a novel about it so late in the day :-) > > -- > --- > Matt Robertson, [EMAIL PROTECTED] > MSB Designs, Inc. http://mysecretbase.com > --- > > -- > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMyAdmin Update - New MX compatible version available
Coo' coo'. Sorry I snapped. It's been a bad (and horrendously long) week. But it's Friday afternoon. > -Original Message- > From: Matt Robertson [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 4:33 PM > To: CF-Talk > Subject: RE: CFMyAdmin Update - New MX compatible version available > > Barney Boisvert wrote: > >the reason for using should be multiple separate servers on a > >single machine, not security. > > Actually thats exactly the reason. Multiple 'virtual' > servers each running on a different port. Security is the > reason for doing this, along with politics, but didn't want > to write a novel about it so late in the day :-) > > -- > --- > Matt Robertson, [EMAIL PROTECTED] > MSB Designs, Inc. http://mysecretbase.com > --- > > -- > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Latest Windows Updates
Bryan; In the resource kit is a tool called "tlist" (for task list) tlist -t C:\Test>tlist -t System Process (0) System (8) SMSS.EXE (196) CSRSS.EXE (220) WINLOGON.EXE (216) NetDDE Agent SERVICES.EXE (268) svchost.exe (460) Playlist.exe (1404) OleMainThreadWndName spoolsv.exe (488) msdtc.exe (516) DefWatch.exe (620) svchost.exe (636) Rtvscan.exe (668) Scan nvsvc32.exe (728) regsvc.exe (748) mstask.exe (776) SYSTEM AGENT COM WINDOW WinMgmt.exe (800) dfssvc.exe (900) LSASS.EXE (280) TASKMGR.EXE (1832) Windows Task Manager explorer.exe (1184) Program Manager VPTray.exe (1228) Symantec AntiVirus Corporate Edition projselector.ex (1252) Roxio Easy CD & DVD Creator Home DrgToDsc.exe (1268) DrgToDsc RxMon.exe (1132) RxMonSysTrayWnd AcroTray.exe (1324) AcrobatTrayIcon NaturalColorLoa (1360) WZQKPICK.EXE (1392) About WinZip Quick Pick UEDIT32.EXE (1320) UltraEdit-32 - [A:\Reply] CMD.EXE (1316) C:\WINNT\system32\cmd.exe - tlist -t mmc.exe (1852) Services tlist.exe (1760) IEXPLORE.EXE (1912) Error - Microsoft Internet Explorer Eudora.exe (1848) Eudora Icq.exe (1428) 2775689 You can see by the "indent" that as SYSTEM starts, it fires up SMSS which in turn starts other services CSRSS then Winlogin on down. Generally anything that gets started as a "Service" is started under the SYSTEM context (Services.msc). You can recognize Symantec Antivirus under services. Till you get to Explorer and then you see the things that "Depend" on Explorer etc... So generally, one of the items in that list if what is causing the problem, whether it is having a problem "starting" or there is a messed "dependency." Try restarting in the "Safe Mode" and see if you still have the same problem. In troubleshooting something like this another tool comes to mind (from the Resource Kit) called KILL which will allow you to kill a process by PID or by Name. C:\Test>kill /? Microsoft (R) Windows NT (TM) Version 3.5 KILL Copyright (C) 1994-1998 Microsoft Corp. All rights reserved usage: KILL [options] < | >* [options]: -f Force process kill This is the process id for the task to be killed. Use TLIST to get a valid pid The pattern can be a complete task name or a regular _expression_ pattern to use as a match. Kill matches the supplied pattern against the task names and the window titles. Last but not least is the utility called "Qfecheck" which will tell you that an item in the Hotfix/Patch did not extract correctly (for whatever reason) so that you would know to uninstall and reinstall the appropriate Hotfix. Frequently asked questions :Tool and Patch Available to correct Hotfix Packaging Anomalies http://www.microsoft.com/technet/security/bulletin/fq01-005.mspx Where to get it for 2000/XP http://support.microsoft.com/default.aspx?scid=kb;en-us;282784 Doug == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 4:46 PM Subject: Re: Latest Windows Updates Thanks Mark...but it's all solved now (removed updates while in safe mode). I did try that, but there was only 1 profile to pick from and it sure didn't work ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mark A. Kruger - CFG To: CF-Talk Sent: Friday, April 16, 2004 2:37 PM Subject: RE: Latest Windows Updates Bryan, Reboot and hit f8 - then choose "last known good configuration" from the screen - you may need to do this once or twice. -Mark -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:01 PM To: CF-Talk Subject: Re: Latest Windows Updates I don't know what I'm trying to do at this point. The system resources are all used up so I can't really do anything (hell the desktop icons and taskbars vanished). I'll keep trying to uninstall the updates. Of course we have backups of all our work...but there is a hell of a lot of configuring to do to get it back up and running if I format c:\ T
RE: CFMyAdmin Update - New MX compatible version available
Barney Boisvert wrote: >the reason for using should be multiple separate servers on a >single machine, not security. Actually thats exactly the reason. Multiple 'virtual' servers each running on a different port. Security is the reason for doing this, along with politics, but didn't want to write a novel about it so late in the day :-) -- --- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMyAdmin Update - New MX compatible version available
"security reasons"? Meaning port 3306 is open on your firewall, so you switch to a port that isn't open? There's a reason for port standardization. Not to say that CFMyAdmin shouldn't allow for alternate ports but the reason for using should be multiple separate servers on a single machine, not security. > -Original Message- > From: Matt Robertson [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 4:05 PM > To: CF-Talk > Subject: RE: CFMyAdmin Update - New MX compatible version available > > For security reasons I am not running mySQL on its default > port of 3306. But this port appears to be hardcoded into the > tool (there's no place to specify a port). > > *sniffle* :( > > > > > -- > --- > Matt Robertson, [EMAIL PROTECTED] > MSB Designs, Inc. http://mysecretbase.com > --- > > -- > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMyAdmin Update - New MX compatible version available
For security reasons I am not running mySQL on its default port of 3306. But this port appears to be hardcoded into the tool (there's no place to specify a port). *sniffle* :( -- --- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF EXECUTE Problems
I'm just being an idiot. Will try services in control panel. Thanks for all the help. Frank -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 3:53 PM To: CF-Talk Subject: Re: CF EXECUTE Problems Frank Py wrote: > Where do you do that? Do what? Jochem -- I don't get it immigrants don't work and steal our jobs - Loesje [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMyAdmin Update - New MX compatible version available
Hi Roger, Could you send me the CF error offlist please? Also, was this the first installation of CFMyAdmin or did you install over the version? The application variables would be different in the new version. Regards, Dan. -Original Message- From: Roger Benningfield [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 21:14 To: CF-Talk Subject: Re: CFMyAdmin Update - New MX compatible version available >Looking forward to hearing your views and comments, Dan, I'm just starting to play with it, but wanted to immediately mention that the app seemed completely broken on my first attempt to run it. (CFMX, Firefox on the client.) I got a CF error in the right-hand frame, and the tree control would instantly close a node as soon as I opened it. Strangely, loading it up in IE was not only successful... it also fixed the instance running in Firefox. That's why I can't provide you with the text of the error message: upon hitting refresh, all was well. -- Roger Benningfield work: http://journurl.com/ blog: http://admin.support.journurl.com/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMyAdmin Update - New MX compatible version available
Roger, This is fixed in the new version. Sorry about that. I have emailed you offlist also. Regards, Dan. -Original Message- From: Roger Benningfield [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 21:20 To: CF-Talk Subject: Re: CFMyAdmin Update - New MX compatible version available And a new error: "UDI Version 3.8 requires a licence to be purchased to allow its use on myserver.com" This after right-clicking on a column name and selecting "View Data". And now I note that any attempt to click a column or table name now results in the same error until I: (a) hit the browser's refresh button (b) select a different database (This is in both IE and Firefox, by the way.) -- Roger [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CF EXECUTE Problems
Frank Py wrote: > Where do you do that? Do what? Jochem -- I don't get it immigrants don't work and steal our jobs - Loesje [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF EXECUTE Problems
> Where do you do that? In the Services control panel. In general, though, you don't want your services interacting with the desktop unless absolutely necessary. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Latest Windows Updates
Thanks Mark...but it's all solved now (removed updates while in safe mode). I did try that, but there was only 1 profile to pick from and it sure didn't work ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mark A. Kruger - CFG To: CF-Talk Sent: Friday, April 16, 2004 2:37 PM Subject: RE: Latest Windows Updates Bryan, Reboot and hit f8 - then choose "last known good configuration" from the screen - you may need to do this once or twice. -Mark -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:01 PM To: CF-Talk Subject: Re: Latest Windows Updates I don't know what I'm trying to do at this point. The system resources are all used up so I can't really do anything (hell the desktop icons and taskbars vanished). I'll keep trying to uninstall the updates. Of course we have backups of all our work...but there is a hell of a lot of configuring to do to get it back up and running if I format c:\ Time to get Ghost ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Turetsky, Seth To: CF-Talk Sent: Friday, April 16, 2004 11:52 AM Subject: RE: Latest Windows Updates So, you are trying to stop McAffee? I would think you could remove it from the registry(in the Run area) then reboot, right? -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:44 PM To: CF-Talk Subject: Re: Latest Windows Updates Agh.I try and end processes running under the "System" username and all I get is access denied!!! I'm in as the Administrator!!! It's just getting worsenow CPU is done to 2-4% but anything I try and run says "can't be done...not enough resources" and RAM is in good shape!!! If I could just get Add/Remove Programs to run I could uninstal the updates from yesterday...but NOOOooOOoo Oh well.time to go find a nice quiet place to shoot myself ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 11:27 AM Subject: Re: Latest Windows Updates Yes, As I understand, McAffee still uses a 16 bit scanning engine - and as a result really slows down some system. So much so, that it has caused many to abandon the product for a more efficient one. Don't hold me to this, as I abandoned McAffee back in the Win98SE days for that reason == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 11:47 AM Subject: Re: Latest Windows Updates Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group
SOLVED: Latest Windows Updates
Many thanks to all that pitched in their 2 cents ;-) After rolling back the updates from yesterday while in safe mode and then rebooting normally IT'S ALIVE!! So I think I'll leave it for now and try the updates again later when I actually have the time to deal with this kind of*insert long list of bad words here* Have a great weekend! Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 12:57 PM Subject: Re: Latest Windows Updates DOH! thanks Doug...been going in circles following advice...forgetting what I already know..hehe Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: [EMAIL PROTECTED] To: CF-Talk Sent: Friday, April 16, 2004 12:05 PM Subject: RE: Latest Windows Updates prob better to use the services panel to do this. Doug -Original Message- From: Turetsky, Seth [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:52 PM To: CF-Talk Subject: RE: Latest Windows Updates So, you are trying to stop McAffee? I would think you could remove it from the registry(in the Run area) then reboot, right? -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:44 PM To: CF-Talk Subject: Re: Latest Windows Updates Agh.I try and end processes running under the "System" username and all I get is access denied!!! I'm in as the Administrator!!! It's just getting worsenow CPU is done to 2-4% but anything I try and run says "can't be done...not enough resources" and RAM is in good shape!!! If I could just get Add/Remove Programs to run I could uninstal the updates from yesterday...but NOOOooOOoo Oh well.time to go find a nice quiet place to shoot myself ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 11:27 AM Subject: Re: Latest Windows Updates Yes, As I understand, McAffee still uses a 16 bit scanning engine - and as a result really slows down some system. So much so, that it has caused many to abandon the product for a more efficient one. Don't hold me to this, as I abandoned McAffee back in the Win98SE days for that reason == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 11:47 AM Subject: Re: Latest Windows Updates Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are run
RE: CF EXECUTE Problems
Where do you do that? thanks -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 3:13 PM To: CF-Talk Subject: Re: CF EXECUTE Problems Frank Py wrote: > > Here is our syntax: > > arguments="../ar/arw_cf W O direct" outputFile="" timeout="0"> > Use full paths, either a fully qualified outputfile attribute or none at all and play with double quotes because you have spaces in your paths. Probably something like: arguments="""C:\mas\371 mas\mas90\home\launcher\sota.ini"" ""C:\mas\371 mas\mas90\home\soa\mas90"" ""C:\mas\371 mas\mas90\home\ar\arw_cf"" W O direct" timeout="0"> > Also, for this demo, we have everything loaded on one Windows machine (DB, > CF Server and CFM page). If I tried just a simple WordPad.exe and put > "C:\Mydoc.txt" in the argument, shouldn't it launch that app and document to > my screen? Only if you have specifically set your CF to "Allow service to interact with desktop". Jochem -- I don't get it immigrants don't work and steal our jobs - Loesje [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Latest Windows Updates
Bryan, Reboot and hit f8 - then choose "last known good configuration" from the screen - you may need to do this once or twice. -Mark -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:01 PM To: CF-Talk Subject: Re: Latest Windows Updates I don't know what I'm trying to do at this point. The system resources are all used up so I can't really do anything (hell the desktop icons and taskbars vanished). I'll keep trying to uninstall the updates. Of course we have backups of all our work...but there is a hell of a lot of configuring to do to get it back up and running if I format c:\ Time to get Ghost ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Turetsky, Seth To: CF-Talk Sent: Friday, April 16, 2004 11:52 AM Subject: RE: Latest Windows Updates So, you are trying to stop McAffee? I would think you could remove it from the registry(in the Run area) then reboot, right? -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:44 PM To: CF-Talk Subject: Re: Latest Windows Updates Agh.I try and end processes running under the "System" username and all I get is access denied!!! I'm in as the Administrator!!! It's just getting worsenow CPU is done to 2-4% but anything I try and run says "can't be done...not enough resources" and RAM is in good shape!!! If I could just get Add/Remove Programs to run I could uninstal the updates from yesterday...but NOOOooOOoo Oh well.time to go find a nice quiet place to shoot myself ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 11:27 AM Subject: Re: Latest Windows Updates Yes, As I understand, McAffee still uses a 16 bit scanning engine - and as a result really slows down some system. So much so, that it has caused many to abandon the product for a more efficient one. Don't hold me to this, as I abandoned McAffee back in the Win98SE days for that reason == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 11:47 AM Subject: Re: Latest Windows Updates Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process.
RE: studio regex ?
This is the best advice :-) >>or if you have an advanced IDE like BBEdit, you could just select the area - cols 1-7 over n-lines and do a cut Thanks to all - the discussion is interesting. -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:37 PM To: CF-Talk Subject: Re: studio regex ? I dont use CF STudio, but you can do this with a regexp like this ^.{7}// or if you have an advanced IDE like BBEdit, you could just select the area - cols 1-7 over n-lines and do a cut HTH Dick On Apr 16, 2004, at 11:21 AM, Jeff Beer wrote: > In CF Studio 5, how would I do a regex search and replace on a line > format > like: > > > 04/22/04 http://www.blah.com/stuff > > > where I want to remove the date and the following space, leaving the > rest of the line untouched? > > > I have to do this for about 30,000 lines.. no fun by hand! > > > Thanks! > > > Jeff > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dreamweaver sites deleting themselves
Actually, DW saves site settings in the registry. You could write a script that uses regedit.exe to export that section of the registry to a .reg file. You could then use that .reg file to restore the site settings when they mysteriously disappear. This illustrates that this really seems to be an OS issue and not a DW issue--at least as far as the registry goes. A better solution might be to NOT store site settings in the registry, but as text files within the user's profile directory (C:\Documents and Settings). Paul Kenney [EMAIL PROTECTED] 916-212-4359 > -Original Message- > From: Ray Champagne [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 1:57 PM > To: CF-Talk > Subject: RE: Dreamweaver sites deleting themselves > > > Yea, I did that today. Didn't even realize that was the way > it worked. In > future versions, they should auto-backup, in my opinion. > > Ray > > At 04:45 PM 4/16/2004, you wrote: > >It happened to me a couple of weeks ago. Fortunately, I > only had a hand > >full of sites, so I could easily recreate them... I didn't > bother trying to > >recover them. One thing you might do is right after you > create a site, use > >the "export site" functionality and make a backup of all > your site settings. > >When they disappear, you can simply import the sites. Thats > all I can think > >of now. > > > >Paul Kenney > >[EMAIL PROTECTED] > >916-212-4359 > > > > > -Original Message- > > > From: Ray Champagne [mailto:[EMAIL PROTECTED] > > > Sent: Friday, April 16, 2004 1:09 PM > > > To: CF-Talk > > > Subject: SOT: Dreamweaver sites deleting themselves > > > > > > > > > I know that that this is not a DreamWeaver forum, but I am > > > guessing a lot > > > of you use it. > > > > > > SOmetimes when my computer crashes (such as when I tried that > > > silly 10 > > > million loop this morning) I lose all my sites in > > > Dreamweaver. Anybody > > > else ever have that problem or heard about how I can avoid it? > > > > > > TIA > > > > > > Ray > > > > > > = > > > Ray Champagne - Senior Application Developer > > > CrystalVision Web Site Design and Internet Services > > > 603.433.9559 > > > www.crystalvision.org > > > = > > > > > > The information contained in this transmission (including > any attached > > > files) is CONFIDENTIAL and is intended only for the > person(s) named > > > above. If you received this transmission in error, please > delete it > > > from your system and notify us immediately. If you are > not an intended > > > recipient, please note that any use or dissemination of the > > > information > > > contained in this transmission (including any attached > files) and the > > > copying, printing, or retransmission of that information > is strictly > > > prohibited. You can notify us by return email or by phone at > > > 603.433.9559. > > > Thank you. > > > > > > > > > > > > > > > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CF EXECUTE Problems
Frank Py wrote: > > Here is our syntax: > > arguments="../ar/arw_cf W O direct" outputFile="" timeout="0"> > Use full paths, either a fully qualified outputfile attribute or none at all and play with double quotes because you have spaces in your paths. Probably something like: arguments="""C:\mas\371 mas\mas90\home\launcher\sota.ini"" ""C:\mas\371 mas\mas90\home\soa\mas90"" ""C:\mas\371 mas\mas90\home\ar\arw_cf"" W O direct" timeout="0"> > Also, for this demo, we have everything loaded on one Windows machine (DB, > CF Server and CFM page). If I tried just a simple WordPad.exe and put > "C:\Mydoc.txt" in the argument, shouldn't it launch that app and document to > my screen? Only if you have specifically set your CF to "Allow service to interact with desktop". Jochem -- I don't get it immigrants don't work and steal our jobs - Loesje [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dreamweaver sites deleting themselves
Yea, I did that today. Didn't even realize that was the way it worked. In future versions, they should auto-backup, in my opinion. Ray At 04:45 PM 4/16/2004, you wrote: >It happened to me a couple of weeks ago. Fortunately, I only had a hand >full of sites, so I could easily recreate them... I didn't bother trying to >recover them. One thing you might do is right after you create a site, use >the "export site" functionality and make a backup of all your site settings. >When they disappear, you can simply import the sites. Thats all I can think >of now. > >Paul Kenney >[EMAIL PROTECTED] >916-212-4359 > > > -Original Message- > > From: Ray Champagne [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 16, 2004 1:09 PM > > To: CF-Talk > > Subject: SOT: Dreamweaver sites deleting themselves > > > > > > I know that that this is not a DreamWeaver forum, but I am > > guessing a lot > > of you use it. > > > > SOmetimes when my computer crashes (such as when I tried that > > silly 10 > > million loop this morning) I lose all my sites in > > Dreamweaver. Anybody > > else ever have that problem or heard about how I can avoid it? > > > > TIA > > > > Ray > > > > = > > Ray Champagne - Senior Application Developer > > CrystalVision Web Site Design and Internet Services > > 603.433.9559 > > www.crystalvision.org > > = > > > > The information contained in this transmission (including any attached > > files) is CONFIDENTIAL and is intended only for the person(s) named > > above. If you received this transmission in error, please delete it > > from your system and notify us immediately. If you are not an intended > > recipient, please note that any use or dissemination of the > > information > > contained in this transmission (including any attached files) and the > > copying, printing, or retransmission of that information is strictly > > prohibited. You can notify us by return email or by phone at > > 603.433.9559. > > Thank you. > > > > > > > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: studio regex ?
CFStudio does not support the switch. I doubt Homesite+ does either. In order to support it, MM would have to upgrade the software to use a new RegEx handler and I just don't see them doing it. > Somewhat confused, I decided to see what CFMX does -- indeed it works > the way Michael says, by default -- very unlike Perl. > > But, if you set the (?m) switch, it works like Perl. > . > > So that is the way CFMX works ^ means either beginning of text or > beginning of line depending on the (?m) switch. > > I don't know if Studio supportd this dual option. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dreamweaver sites deleting themselves
It happened to me a couple of weeks ago. Fortunately, I only had a hand full of sites, so I could easily recreate them... I didn't bother trying to recover them. One thing you might do is right after you create a site, use the "export site" functionality and make a backup of all your site settings. When they disappear, you can simply import the sites. Thats all I can think of now. Paul Kenney [EMAIL PROTECTED] 916-212-4359 > -Original Message- > From: Ray Champagne [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 1:09 PM > To: CF-Talk > Subject: SOT: Dreamweaver sites deleting themselves > > > I know that that this is not a DreamWeaver forum, but I am > guessing a lot > of you use it. > > SOmetimes when my computer crashes (such as when I tried that > silly 10 > million loop this morning) I lose all my sites in > Dreamweaver. Anybody > else ever have that problem or heard about how I can avoid it? > > TIA > > Ray > > = > Ray Champagne - Senior Application Developer > CrystalVision Web Site Design and Internet Services > 603.433.9559 > www.crystalvision.org > = > > The information contained in this transmission (including any attached > files) is CONFIDENTIAL and is intended only for the person(s) named > above. If you received this transmission in error, please delete it > from your system and notify us immediately. If you are not an intended > recipient, please note that any use or dissemination of the > information > contained in this transmission (including any attached files) and the > copying, printing, or retransmission of that information is strictly > prohibited. You can notify us by return email or by phone at > 603.433.9559. > Thank you. > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: SQL question. Someone help!!!
That did the trick.. Thanks for your SQL knowledge! Thanks everyone else who responded as well.. GREATLY appreciated. Jeff -Original Message- From: Hua Wei [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 4:13 PM To: CF-Talk Subject: RE: SQL question. Someone help!!! Select * From billing a Where ( (select count(*) from billing b where a.first_name = b.first_name AND a.last_name = b.last_name ) >1) -Original Message- From: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 3:35 PM To: CF-Talk Subject: OT: SQL question. Someone help!!! I am having a hard time finding the right syntax in SQL. Backend Database is SQL Server 7 What I am trying to acomplish. I have some duplicate records that I need to get rid of, the problem is that all these records already have a unique key, but the rest of the fields are the same. I was hoping to be able to join two fieldnames together and look for the duplicates that way.. For example... this is where I was headed... Select from billing.first_name+ billing.last_name AS combined HAVING COUNT( * ) > 1 It wouldn't work Any help would greatly be appreciated. Jeff _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: studio regex ?
Somewhat confused, I decided to see what CFMX does -- indeed it works the way Michael says, by default -- very unlike Perl. But, if you set the (?m) switch, it works like Perl. Here's some code: ", "all")/> ", "all")/> Source #source# Output1 #output1# Output2 #output2# Here's the browser output: Source 12/23/03 some test 01/12/04 some other text 04/15/04 bad day Output1 some test 01/12/04 some other text 04/15/04 bad day Output2 some test some other text bad day So that is the way CFMX works ^ means either beginning of text or beginning of line depending on the (?m) switch. I don't know if Studio supportd this dual option. Dick On Apr 16, 2004, at 12:55 PM, Michael Dinowitz wrote: > Well, it's either that the word 'line' is referring to a chunk of text > that is > expected to be only 1 line long or the core posix library used in CF > Studio, CF5 > (and all earlier versions) and probably even in Homesite+ is not a > 'standard' > library. > > > This from the 6th paragraph below: > > > > `^' (match > > ing the null string at the beginning of a line), `$' > > (matching the null string at the end of a line) > > > > So is this a bug in Studio? > > > > his from the 6th paragraph below: > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: SQL question. Someone help!!!
I believe something like below should work: select Count(billing.first_name + billing.last_name) as combined, billing.first_name + billing.last_name as name from billing group by billing.first_name + billing.last_name having Count(billing.first_name + billing.last_name) > 1 Doug [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFMyAdmin Update - New MX compatible version available
And a new error: "UDI Version 3.8 requires a licence to be purchased to allow its use on myserver.com" This after right-clicking on a column name and selecting "View Data". And now I note that any attempt to click a column or table name now results in the same error until I: (a) hit the browser's refresh button (b) select a different database (This is in both IE and Firefox, by the way.) -- Roger [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: SQL question. Someone help!!!
Jeff, why not this (off of top of my head, so syntax surely wrong...) delete where key in ( select key, count(key) as DupCount from D1.field = d2.field AND (continue for all fields that will ensuer that only duplicates included) group by (same list as from) having DupCount > 1 ) -Original Message- From: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:35 PM To: CF-Talk Subject: OT: SQL question. Someone help!!! I am having a hard time finding the right syntax in SQL. Backend Database is SQL Server 7 What I am trying to acomplish. I have some duplicate records that I need to get rid of, the problem is that all these records already have a unique key, but the rest of the fields are the same. I was hoping to be able to join two fieldnames together and look for the duplicates that way.. For example... this is where I was headed... Select from billing.first_name+ billing.last_name AS combined HAVING COUNT( * ) > 1 It wouldn't work Any help would greatly be appreciated. Jeff [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: SQL question. Someone help!!!
Select * From billing a Where ( (select count(*) from billing b where a.first_name = b.first_name AND a.last_name = b.last_name ) >1) -Original Message- From: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 3:35 PM To: CF-Talk Subject: OT: SQL question. Someone help!!! I am having a hard time finding the right syntax in SQL. Backend Database is SQL Server 7 What I am trying to acomplish. I have some duplicate records that I need to get rid of, the problem is that all these records already have a unique key, but the rest of the fields are the same. I was hoping to be able to join two fieldnames together and look for the duplicates that way.. For example... this is where I was headed... Select from billing.first_name+ billing.last_name AS combined HAVING COUNT( * ) > 1 It wouldn't work Any help would greatly be appreciated. Jeff [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFMX & cfcontent
Here's something that works for me: I don't have - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 3:23 PM Subject: Re: CFMX & cfcontent Hi Bryan This is what I have. I also tried this as the comments suggested No luck. I actually works great in Netscape but not on IE6 for me. Any suggestions on ways that I can get this to work? - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 2:38 PM Subject: Re: CFMX & cfcontent hmmm...works fine here in IE and Netscapedid you try the trailing slash as the comments suggest? Alsojust to be sure..double check what I have against what you are trying...I've seen VERY subtle differences foul it up Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 11:33 AM Subject: Re: CFMX & cfcontent Hi Bryan, This is the code that I found on the list. The application/octetstream mime type will ALWAYS force the download dialgue window and the above code will always show the correct file name and extension to download Like I said previously this code works some of the time. Actually most of the time in Netscape. Its IE that I am having issues with. Mike - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 1:47 PM Subject: Re: CFMX & cfcontent Mickael, My server is toast right now so I can't grab the code, but I do have code using CFCONTENT/CFHEADER that ALWAYS pops the download dialogue with the correct file name. Search the CF-Talk archives for my name ("Bryan Stevenson") and "CFCONTENT" and "octet" and you should find it. Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 10:42 AM Subject: Re: CFMX & cfcontent I know this is not CF but does anyone know of a _javascript_ or PHP script that I can pass a URL file name to download a file? - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 12:12 PM Subject: Re: CFMX & cfcontent Tried both of those, no luck - Original Message - From: Benjamin S. Rogers To: CF-Talk Sent: Friday, April 16, 2004 11:58 AM Subject: RE: CFMX & cfcontent Try "attachment" instead of "inline" in your cfheader tag. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 From: Mickael [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:34 AM To: CF-Talk Subject: Re: CFMX & cfcontent Hi Dave, Let's say my browser where I do not have the option to open XLS in my browser selected. What happens is that I get the cfm template as the filename in the save as dialogue box. I noticed in your examples that you added foo to the Query string. My query string contains the file name which is a date that I append to the a base filename. My client has files that are called MMDDProcessing_Report yet they only want to see the filename in the save as box as processing_report.xls like so template.cfm?filedetails=#filedetails# Then my act page has the following value="inline;filename=Processing_Report.xls"> file="c:\inetpub\DailyDownload\#variables.file_details#Processing_Report.xls
Re: CFMyAdmin Update - New MX compatible version available
>Looking forward to hearing your views and comments, Dan, I'm just starting to play with it, but wanted to immediately mention that the app seemed completely broken on my first attempt to run it. (CFMX, Firefox on the client.) I got a CF error in the right-hand frame, and the tree control would instantly close a node as soon as I opened it. Strangely, loading it up in IE was not only successful... it also fixed the instance running in Firefox. That's why I can't provide you with the text of the error message: upon hitting refresh, all was well. -- Roger Benningfield work: http://journurl.com/ blog: http://admin.support.journurl.com/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
SOT: Dreamweaver sites deleting themselves
I know that that this is not a DreamWeaver forum, but I am guessing a lot of you use it. SOmetimes when my computer crashes (such as when I tried that silly 10 million loop this morning) I lose all my sites in Dreamweaver. Anybody else ever have that problem or heard about how I can avoid it? TIA Ray = Ray Champagne - Senior Application Developer CrystalVision Web Site Design and Internet Services 603.433.9559 www.crystalvision.org = The information contained in this transmission (including any attached files) is CONFIDENTIAL and is intended only for the person(s) named above. If you received this transmission in error, please delete it from your system and notify us immediately. If you are not an intended recipient, please note that any use or dissemination of the information contained in this transmission (including any attached files) and the copying, printing, or retransmission of that information is strictly prohibited. You can notify us by return email or by phone at 603.433.9559. Thank you. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Latest Windows Updates
DOH! thanks Doug...been going in circles following advice...forgetting what I already know..hehe Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: [EMAIL PROTECTED] To: CF-Talk Sent: Friday, April 16, 2004 12:05 PM Subject: RE: Latest Windows Updates prob better to use the services panel to do this. Doug -Original Message- From: Turetsky, Seth [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:52 PM To: CF-Talk Subject: RE: Latest Windows Updates So, you are trying to stop McAffee? I would think you could remove it from the registry(in the Run area) then reboot, right? -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:44 PM To: CF-Talk Subject: Re: Latest Windows Updates Agh.I try and end processes running under the "System" username and all I get is access denied!!! I'm in as the Administrator!!! It's just getting worsenow CPU is done to 2-4% but anything I try and run says "can't be done...not enough resources" and RAM is in good shape!!! If I could just get Add/Remove Programs to run I could uninstal the updates from yesterday...but NOOOooOOoo Oh well.time to go find a nice quiet place to shoot myself ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 11:27 AM Subject: Re: Latest Windows Updates Yes, As I understand, McAffee still uses a 16 bit scanning engine - and as a result really slows down some system. So much so, that it has caused many to abandon the product for a more efficient one. Don't hold me to this, as I abandoned McAffee back in the Win98SE days for that reason == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 11:47 AM Subject: Re: Latest Windows Updates Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process. In my case, I had to update the F-PROT scan engine to a 32 bit version and that solved the runaway issue. Good luck! == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 10:35
Re: studio regex ?
Well, it's either that the word 'line' is referring to a chunk of text that is expected to be only 1 line long or the core posix library used in CF Studio, CF5 (and all earlier versions) and probably even in Homesite+ is not a 'standard' library. > This from the 6th paragraph below: > > `^' (match > ing the null string at the beginning of a line), `$' > (matching the null string at the end of a line) > > So is this a bug in Studio? > > his from the 6th paragraph below: [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
OT: SQL question. Someone help!!!
I am having a hard time finding the right syntax in SQL. Backend Database is SQL Server 7 What I am trying to acomplish. I have some duplicate records that I need to get rid of, the problem is that all these records already have a unique key, but the rest of the fields are the same. I was hoping to be able to join two fieldnames together and look for the duplicates that way.. For example... this is where I was headed... Select from billing.first_name+ billing.last_name AS combined HAVING COUNT( * ) > 1 It wouldn't work Any help would greatly be appreciated. Jeff [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: studio regex ?
On Apr 16, 2004, at 12:07 PM, Michael Dinowitz wrote: > Studio RegEx is based on the posix library. This means it does not act > like PERL > does. Even in Java RegEx (used for CFMX 6.1), you have to set a > switch to say > that ^ matched the beginning of each line rather than the beginning > of the > entire file. > Note that in the description below, they say beginning of line as > beginning of > the entire file, not the beginning of a single line of the file. A ^ > will only > match the first line in a multi-line file. > > Michael is right and wrong, as am I. (Or maybe we're both wrong)... now I am confused read this in support of my definition: [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFMX & cfcontent
oops...you put the trailing slash in the type attribute and not the file attribute ;-) try this: Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 12:23 PM Subject: Re: CFMX & cfcontent Hi Bryan This is what I have. I also tried this as the comments suggested No luck. I actually works great in Netscape but not on IE6 for me. Any suggestions on ways that I can get this to work? - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 2:38 PM Subject: Re: CFMX & cfcontent hmmm...works fine here in IE and Netscapedid you try the trailing slash as the comments suggest? Alsojust to be sure..double check what I have against what you are trying...I've seen VERY subtle differences foul it up Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 11:33 AM Subject: Re: CFMX & cfcontent Hi Bryan, This is the code that I found on the list. The application/octetstream mime type will ALWAYS force the download dialgue window and the above code will always show the correct file name and extension to download Like I said previously this code works some of the time. Actually most of the time in Netscape. Its IE that I am having issues with. Mike - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 1:47 PM Subject: Re: CFMX & cfcontent Mickael, My server is toast right now so I can't grab the code, but I do have code using CFCONTENT/CFHEADER that ALWAYS pops the download dialogue with the correct file name. Search the CF-Talk archives for my name ("Bryan Stevenson") and "CFCONTENT" and "octet" and you should find it. Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 10:42 AM Subject: Re: CFMX & cfcontent I know this is not CF but does anyone know of a _javascript_ or PHP script that I can pass a URL file name to download a file? - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 12:12 PM Subject: Re: CFMX & cfcontent Tried both of those, no luck - Original Message - From: Benjamin S. Rogers To: CF-Talk Sent: Friday, April 16, 2004 11:58 AM Subject: RE: CFMX & cfcontent Try "attachment" instead of "inline" in your cfheader tag. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 From: Mickael [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:34 AM To: CF-Talk Subject: Re: CFMX & cfcontent Hi Dave, Let's say my browser where I do not have the option to open XLS in my browser selected. What happens is that I get the cfm template as the filename in the save as dialogue box. I noticed in your examples that you added foo to the Query string. My query string contains the file name which is a date that I append to the a base filename. My client has files that are called MMDDProcessin
RE: CF EXECUTE Problems
> U mean in my args? Put the whole path, like from C:? Yes, for any filesystem paths in which you're not already doing so. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFMX & cfcontent
Hi Bryan This is what I have. I also tried this as the comments suggested No luck. I actually works great in Netscape but not on IE6 for me. Any suggestions on ways that I can get this to work? - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 2:38 PM Subject: Re: CFMX & cfcontent hmmm...works fine here in IE and Netscapedid you try the trailing slash as the comments suggest? Alsojust to be sure..double check what I have against what you are trying...I've seen VERY subtle differences foul it up Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 11:33 AM Subject: Re: CFMX & cfcontent Hi Bryan, This is the code that I found on the list. The application/octetstream mime type will ALWAYS force the download dialgue window and the above code will always show the correct file name and extension to download Like I said previously this code works some of the time. Actually most of the time in Netscape. Its IE that I am having issues with. Mike - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 1:47 PM Subject: Re: CFMX & cfcontent Mickael, My server is toast right now so I can't grab the code, but I do have code using CFCONTENT/CFHEADER that ALWAYS pops the download dialogue with the correct file name. Search the CF-Talk archives for my name ("Bryan Stevenson") and "CFCONTENT" and "octet" and you should find it. Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 10:42 AM Subject: Re: CFMX & cfcontent I know this is not CF but does anyone know of a _javascript_ or PHP script that I can pass a URL file name to download a file? - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 12:12 PM Subject: Re: CFMX & cfcontent Tried both of those, no luck - Original Message - From: Benjamin S. Rogers To: CF-Talk Sent: Friday, April 16, 2004 11:58 AM Subject: RE: CFMX & cfcontent Try "attachment" instead of "inline" in your cfheader tag. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 From: Mickael [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:34 AM To: CF-Talk Subject: Re: CFMX & cfcontent Hi Dave, Let's say my browser where I do not have the option to open XLS in my browser selected. What happens is that I get the cfm template as the filename in the save as dialogue box. I noticed in your examples that you added foo to the Query string. My query string contains the file name which is a date that I append to the a base filename. My client has files that are called MMDDProcessing_Report yet they only want to see the filename in the save as box as processing_report.xls like so template.cfm?filedetails=#filedetails# Then my act page has the following value="inline;filename=Processing_Report.xls"> file="c:\inetpub\DailyDownload\#variables.file_details#Processing_Report.xls "> When the dialoge box comes up, what I get is the my cfm template with my url string. Any ideas Mike - Original Message - From: Dave Watts To: CF-Talk Sent: Friday, April 16, 2004 11:09 AM Subject: RE: CFMX & cfcontent > I have never been able to get CFCONTENT to consisten
Re: studio regex ?
This from the 6th paragraph below: `^' (match ing the null string at the beginning of a line), `$' (matching the null string at the end of a line) So is this a bug in Studio? his from the 6th paragraph below: NAME regex - POSIX 1003.2 regular expressions DESCRIPTION Regular expressions (``RE''s), as defined in POSIX 1003.2, come in two forms: modern REs (roughly those of egrep; 1003.2 calls these ``extended'' REs) and obsolete REs (roughly those of ed(1); 1003.2 ``basic'' REs). Obsolete REs mostly exist for backward compatibility in some old programs; they will be discussed at the end. 1003.2 leaves some aspects of RE syntax and semantics open; `' marks decisions on these aspects that may not be fully portable to other 1003.2 implementations. A (modern) RE is one or more non-empty branches, separated by `|'. It matches anything that matches one of the branches. A branch is one or more pieces, concatenated. It matches a match for the first, followed by a match for the second, etc. A piece is an atom possibly followed by a single `*', `+', `?', or bound. An atom followed by `*' matches a sequence of 0 or more matches of the atom. An atom followed by `+' matches a sequence of 1 or more matches of the atom. An atom followed by `?' matches a sequence of 0 or 1 matches of the atom. A bound is `{' followed by an unsigned decimal integer, possibly followed by `,' possibly followed by another unsigned decimal integer, always followed by `}'. The integers must lie between 0 and RE_DUP_MAX (255) inclu sive, and if there are two of them, the first may not exceed the second. An atom followed by a bound containing one integer i and no comma matches a sequence of exactly i matches of the atom. An atom followed by a bound contain ing one integer i and a comma matches a sequence of i or more matches of the atom. An atom followed by a bound containing two integers i and j matches a sequence of i through j (inclusive) matches of the atom. An atom is a regular _expression_ enclosed in `()' (matching a match for the regular _expression_), an empty set of `()' (matching the null string), a bracket _expression_ (see below), `.' (matching any single character), `^' (match ing the null string at the beginning of a line), `$' (matching the null string at the end of a line), a `\' followed by one of the characters `^.[$()|*+?{\' (matching that character taken as an ordinary character), a `\' fol lowed by any other character (matching that character taken as an ordinary character, as if the `\' had not been present), or a single character with no other significance (matching that character). A `{' followed by a character other than a digit is an ordinary character, not the beginning of a bound. It is illegal to end an RE with `\'. On Apr 16, 2004, at 12:07 PM, Michael Dinowitz wrote: > Studio RegEx is based on the posix library. This means it does not act > like PERL > does. Even in Java RegEx (used for CFMX 6.1), you have to set a > switch to say > that ^ matched the beginning of each line rather than the beginning > of the > entire file. > Note that in the description below, they say beginning of line as > beginning of > the entire file, not the beginning of a single line of the file. A ^ > will only > match the first line in a multi-line file. > > > On Apr 16, 2004, at 11:48 AM, Ben Doom wrote: > > > > > Hmm. For some reason I was thinking that the studio regex engine > saw ^ > > > as beginning of line, not of file. > > > > > > Ah, well. > > > > > > --Ben > > > > > > > > > > Again, I don't use studio but: > > > > > > See below > > > > HTH > > > > Dick > > > > Using Regular Expressions > > > > Regular expressions are a common form of expressing pattern > matching. > > The most common forms of regular expressions are listed below. Note > > that the quotation marks (") in the examples are meant to set off > terms > > from the rest of the text, and are not part of the examples. > > string > > A regular string of characters will match the same string of > > characters in the item being searched. Thus you can search for all > > occurances of the string "test" by using the regular _expression_ > "test". > > This will also match lines with "testimony", "latest" and > "intestine". > > start (^) > > This indicates "beginning of line" in a match. For example "^test" > > matches all lines that begin with "test". Note that this must > appear as > > the left most character to work in this manner. > > end ($) > > This indicates "end of line". The regular _expression_ "test$" will > > match those lines that end with "test", and "^test$" will match > those > > lines that contain only "test". Note that to word as the end of > line, > > the "$" must be the last character in the _expression_. > > > > > > > [Todays Threads] [This Message] [Su
Re: cfloop
On Apr 16, 2004, at 11:57 AM, Claude Schneegans wrote: > >>256 ^ 3 = 16.7 mil. > > Of course, but the problem seems to be with loops with too many > iterations. > Three loops of 256 iterations should have no problem. > I just posted the results of a loop with 10 mil iterations -- it works, but takes a while. I have one running now that does 1 Gig iterations -- whill post when/if that completes. HTH Dick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: studio regex ?
Studio RegEx is based on the posix library. This means it does not act like PERL does. Even in Java RegEx (used for CFMX 6.1), you have to set a switch to say that ^ matched the beginning of each line rather than the beginning of the entire file. Note that in the description below, they say beginning of line as beginning of the entire file, not the beginning of a single line of the file. A ^ will only match the first line in a multi-line file. > On Apr 16, 2004, at 11:48 AM, Ben Doom wrote: > > > Hmm. For some reason I was thinking that the studio regex engine saw ^ > > as beginning of line, not of file. > > > > Ah, well. > > > > --Ben > > > > > > Again, I don't use studio but: > > > See below > > HTH > > Dick > > Using Regular Expressions > > Regular expressions are a common form of expressing pattern matching. > The most common forms of regular expressions are listed below. Note > that the quotation marks (") in the examples are meant to set off terms > from the rest of the text, and are not part of the examples. > string > A regular string of characters will match the same string of > characters in the item being searched. Thus you can search for all > occurances of the string "test" by using the regular _expression_ "test". > This will also match lines with "testimony", "latest" and "intestine". > start (^) > This indicates "beginning of line" in a match. For example "^test" > matches all lines that begin with "test". Note that this must appear as > the left most character to work in this manner. > end ($) > This indicates "end of line". The regular _expression_ "test$" will > match those lines that end with "test", and "^test$" will match those > lines that contain only "test". Note that to word as the end of line, > the "$" must be the last character in the _expression_. > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Latest Windows Updates
prob better to use the services panel to do this. Doug -Original Message- From: Turetsky, Seth [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:52 PM To: CF-Talk Subject: RE: Latest Windows Updates So, you are trying to stop McAffee? I would think you could remove it from the registry(in the Run area) then reboot, right? -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:44 PM To: CF-Talk Subject: Re: Latest Windows Updates Agh.I try and end processes running under the "System" username and all I get is access denied!!! I'm in as the Administrator!!! It's just getting worsenow CPU is done to 2-4% but anything I try and run says "can't be done...not enough resources" and RAM is in good shape!!! If I could just get Add/Remove Programs to run I could uninstal the updates from yesterday...but NOOOooOOoo Oh well.time to go find a nice quiet place to shoot myself ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 11:27 AM Subject: Re: Latest Windows Updates Yes, As I understand, McAffee still uses a 16 bit scanning engine - and as a result really slows down some system. So much so, that it has caused many to abandon the product for a more efficient one. Don't hold me to this, as I abandoned McAffee back in the Win98SE days for that reason == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 11:47 AM Subject: Re: Latest Windows Updates Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process. In my case, I had to update the F-PROT scan engine to a 32 bit version and that solved the runaway issue. Good luck! == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 10:35 AM Subject: SOT: Latest Windows Updates Hey All, We applied the latest round or about 5 security updates to our Win2K Advanced Server yesterday and then all hell broke loose. It now takes about 10-15 minutes to get to the desktop, then another 15 or so before SQL Server and a few other services get runningCF service never started in that time so I went in and set it to a manual start (trying to free up resources). Basically, the "System" process (not System Idle Process) is taking up all the CPU time...occasionally letting go for a few seconds. Being that the system moves SO slow it's tough to check things to try and diagnose...so I'm here asking for help ;-) Any..and I do mean ANY advice would be great TIA Che
Re: ssss
:-) yeah, feeling stpid! At 11:49 AM 4/16/04, you wrote: >s.back at ya > >At 01:47 PM 4/16/2004, you wrote: > >sss > > > > > >-- >[Todays Threads] >[This Message] >[Subscription] >[Fast > Unsubscribe] [User Settings] > >-- > >acf7e30.jpg > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfloop
My revised loop to 10 mil #numberFormat(i, "999,999,999,999,999")#|#numberFormat((getTickCount()-timer)/1000, "999,999.099")# Ran for a while & spiked JRun cpu to 50% Had a lot of other stuff running -- VurtualPC/WinXP real-time stock streamer, Sybase_ASE db server, MySQL db server, JRun, CFMX61, iTunes, LimeWire, BBEdit IDE, Word Mac, Classic Environment, Console Log viewer -- Apache Activity log, Apache, Mail Client, wmp audio streamer, several browsers & windows, Activity viewer, and a quasi-real time stock streamer that hits cf every 2-3 seconds.. Actually, this loop exercise has been quite informative: 1) the is mandatory 2) while JRun spiked cpu to 50%, other CFMX hits ran only slightly slower 3) firefox hung several times while displaying the 1,000,000,000 original loop counts, but finished OK 4) the only crashes were word Mac, and VirtualPC Here's my output: 10,000,001| 1,543.074 I think I will try this later when I can quiesce all other activity Anyone up to calculating pi ti n+1 decimals HTH Dick On Apr 16, 2004, at 9:25 AM, Dick Applebaum wrote: > My loop > > > #i# > > > ran it till completion -- then tied up the browser with 20% CPU and > about .9 Gig Virtual mem > > ran almost as slow as a RIA --- > > --- or, as the doe said, when she came out of the forest: "That's the > last time I'll do that for 2 bucks". > > HTH > > Dick > > On Apr 16, 2004, at 9:04 AM, Dick Applebaum wrote: > > > On Apr 16, 2004, at 8:42 AM, Ray Champagne wrote: > > > > > Well, I just did a quick one (index loop) that tried to loop 10 > > million > > > times, and it looks like it consistently stops at 36,799 and > goes > > no > > > further. That help? > > > > > > > > > #i# > > > > > > > > > Ray > > > > > > > > > > Odd I am at 340,420 and counting (firefox is still downloading > data) > > > > What happened when it stopped - maybe it's your browser?? > > > > HTH > > > > Dick > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF EXECUTE Problems
U mean in my args? Put the whole path, like from C:? Thanks -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 1:02 PM To: CF-Talk Subject: RE: CF EXECUTE Problems > Here is our syntax: > > arguments="../ar/arw_cf W O direct" outputFile="" timeout="0"> Try specifying fully qualified filesystem paths. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Latest Windows Updates
I don't know what I'm trying to do at this point. The system resources are all used up so I can't really do anything (hell the desktop icons and taskbars vanished). I'll keep trying to uninstall the updates. Of course we have backups of all our work...but there is a hell of a lot of configuring to do to get it back up and running if I format c:\ Time to get Ghost ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Turetsky, Seth To: CF-Talk Sent: Friday, April 16, 2004 11:52 AM Subject: RE: Latest Windows Updates So, you are trying to stop McAffee? I would think you could remove it from the registry(in the Run area) then reboot, right? -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:44 PM To: CF-Talk Subject: Re: Latest Windows Updates Agh.I try and end processes running under the "System" username and all I get is access denied!!! I'm in as the Administrator!!! It's just getting worsenow CPU is done to 2-4% but anything I try and run says "can't be done...not enough resources" and RAM is in good shape!!! If I could just get Add/Remove Programs to run I could uninstal the updates from yesterday...but NOOOooOOoo Oh well.time to go find a nice quiet place to shoot myself ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 11:27 AM Subject: Re: Latest Windows Updates Yes, As I understand, McAffee still uses a 16 bit scanning engine - and as a result really slows down some system. So much so, that it has caused many to abandon the product for a more efficient one. Don't hold me to this, as I abandoned McAffee back in the Win98SE days for that reason == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 11:47 AM Subject: Re: Latest Windows Updates Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process. In my case, I had to update the F-PROT scan engine to a 32 bit version and that solved the runaway issue. Good luck! == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk
RE: cfloop
I guess the question I was asking is, is there a difference in execution time between tag and script based loops in CF. Would I be better off (shorter execution time) writing a cfscript for a chunk of code that will loop say 1000 times? Or is the difference too small to worry about. It is good to know that they work differently under the hood. Mark W. Breneman -Cold Fusion Developer -Network Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 _ From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 1:21 PM To: CF-Talk Subject: RE: cfloop Actually, it's both a very useful technique, and only a problem if you're using CFLOOP. Say you want to remove duplicate elements from a list. If you remove anything, you'll just get an "invalid list index" error, but if you use CFSCRIPT you'll be just fine. Here's code for the two different methods. The script call returns "1,2,3,4,5", just as it's supposed to, but the tag call throws an "Invalid list index 6." error. function dedupeListScript(list) { var map = structNew(); var i = ""; for (i = 1; i LT listLen(list); i = i + 1) { if (structKeyExists(map, listGetAt(list, i))) { list = listDeleteAt(list, i); i = i - 1; } else { map[listGetAt(list, i)] = ""; } } return list; } #dedupeListScript(myList)# #dedupeListTag(myList)# > -Original Message- > From: Philip Arnold [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 11:05 AM > To: CF-Talk > Subject: RE: cfloop > > > From: Barney Boisvert > > > > > > > > > > > > > > #i#-#arrayLen(a)# > > But why would you do this in the first place? > > Looping over an array that you're changing the size of within the loop > is just asking for trouble > > > > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: studio regex ?
On Apr 16, 2004, at 11:48 AM, Ben Doom wrote: > Hmm. For some reason I was thinking that the studio regex engine saw ^ > as beginning of line, not of file. > > Ah, well. > > --Ben > > Again, I don't use studio but: See below HTH Dick Using Regular Expressions Regular expressions are a common form of expressing pattern matching. The most common forms of regular expressions are listed below. Note that the quotation marks (") in the examples are meant to set off terms from the rest of the text, and are not part of the examples. string A regular string of characters will match the same string of characters in the item being searched. Thus you can search for all occurances of the string "test" by using the regular _expression_ "test". This will also match lines with "testimony", "latest" and "intestine". start (^) This indicates "beginning of line" in a match. For example "^test" matches all lines that begin with "test". Note that this must appear as the left most character to work in this manner. end ($) This indicates "end of line". The regular _expression_ "test$" will match those lines that end with "test", and "^test$" will match those lines that contain only "test". Note that to word as the end of line, the "$" must be the last character in the _expression_. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfloop
>>256 ^ 3 = 16.7 mil. Of course, but the problem seems to be with loops with too many iterations. Three loops of 256 iterations should have no problem. -- ___ See some cool custom tags here: http://www.contentbox.com/claude/customtags/tagstore.cfm Please send any spam to this address: [EMAIL PROTECTED] Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF EXECUTE Problems
> Here is our syntax: > > arguments="../ar/arw_cf W O direct" outputFile="" timeout="0"> Try specifying fully qualified filesystem paths. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ssss
it definitely Friday! ss -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:49 PM To: CF-Talk Subject: Re: s.back at ya At 01:47 PM 4/16/2004, you wrote: >sss > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Latest Windows Updates
So, you are trying to stop McAffee? I would think you could remove it from the registry(in the Run area) then reboot, right? -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:44 PM To: CF-Talk Subject: Re: Latest Windows Updates Agh.I try and end processes running under the "System" username and all I get is access denied!!! I'm in as the Administrator!!! It's just getting worsenow CPU is done to 2-4% but anything I try and run says "can't be done...not enough resources" and RAM is in good shape!!! If I could just get Add/Remove Programs to run I could uninstal the updates from yesterday...but NOOOooOOoo Oh well.time to go find a nice quiet place to shoot myself ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 11:27 AM Subject: Re: Latest Windows Updates Yes, As I understand, McAffee still uses a 16 bit scanning engine - and as a result really slows down some system. So much so, that it has caused many to abandon the product for a more efficient one. Don't hold me to this, as I abandoned McAffee back in the Win98SE days for that reason == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 11:47 AM Subject: Re: Latest Windows Updates Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process. In my case, I had to update the F-PROT scan engine to a 32 bit version and that solved the runaway issue. Good luck! == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 10:35 AM Subject: SOT: Latest Windows Updates Hey All, We applied the latest round or about 5 security updates to our Win2K Advanced Server yesterday and then all hell broke loose. It now takes about 10-15 minutes to get to the desktop, then another 15 or so before SQL Server and a few other services get runningCF service never started in that time so I went in and set it to a manual start (trying to free up resources). Basically, the "System" process (not System Idle Process) is taking up all the CPU time...occasionally letting go for a few seconds. Being that the system moves SO slow it's tough to check things to try and diagnose...so I'm here asking for help ;-) Any..and I do mean ANY advice would be great TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] -
Re: ssss
s.back at ya At 01:47 PM 4/16/2004, you wrote: >sss > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: studio regex ?
Hmm. For some reason I was thinking that the studio regex engine saw ^ as beginning of line, not of file. Ah, well. --Ben Michael Dinowitz wrote: > Perfect except that the ^ will match the beginning of the file, not the > beginning of the line. > Is there an URL after each date that you want removed? If so, then do > [0-9]{2}/[0-9]{2}/[0-9]{2} (https?://) > I used 0-9 just because I like it more than digit. :) > I also added the http test after to make sure there's an url. Just > replace that > with \1 and it'll work. It also takes https into account. > If you can do this in CFMX then you can use the ^ to specify the > beginning of > the line, but that'll be a non-studio script. Easy to write, but needs > CFFILE as > well. > > > Off the top of my head, replace > > > > ^[[:digit:]]{2}/[[:digit:]]{2}/[[:digit:]]{2} > > (note there's a space at the end of the line) > > > > with nothing. > > > > --Ben > > > > Jeff Beer wrote: > > > > > In CF Studio 5, how would I do a regex search and replace on a line > format > > > like: > > > > > > > > > 04/22/04 http://www.blah.com/stuff > > > > > > > > > where I want to remove the date and the following space, leaving > the rest of > > > the line untouched? > > > > > > > > > I have to do this for about 30,000 lines.. no fun by hand! > > > > > > > > > Thanks! > > > > > > > > > Jeff > > > > > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Latest Windows Updates
Agh.I try and end processes running under the "System" username and all I get is access denied!!! I'm in as the Administrator!!! It's just getting worsenow CPU is done to 2-4% but anything I try and run says "can't be done...not enough resources" and RAM is in good shape!!! If I could just get Add/Remove Programs to run I could uninstal the updates from yesterday...but NOOOooOOoo Oh well.time to go find a nice quiet place to shoot myself ;-) Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 11:27 AM Subject: Re: Latest Windows Updates Yes, As I understand, McAffee still uses a 16 bit scanning engine - and as a result really slows down some system. So much so, that it has caused many to abandon the product for a more efficient one. Don't hold me to this, as I abandoned McAffee back in the Win98SE days for that reason == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 11:47 AM Subject: Re: Latest Windows Updates Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process. In my case, I had to update the F-PROT scan engine to a 32 bit version and that solved the runaway issue. Good luck! == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 10:35 AM Subject: SOT: Latest Windows Updates Hey All, We applied the latest round or about 5 security updates to our Win2K Advanced Server yesterday and then all hell broke loose. It now takes about 10-15 minutes to get to the desktop, then another 15 or so before SQL Server and a few other services get runningCF service never started in that time so I went in and set it to a manual start (trying to free up resources). Basically, the "System" process (not System Idle Process) is taking up all the CPU time...occasionally letting go for a few seconds. Being that the system moves SO slow it's tough to check things to try and diagnose...so I'm here asking for help ;-) Any..and I do mean ANY advice would be great TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com [Todays Threads]
Re: CFMX & cfcontent
hmmm...works fine here in IE and Netscapedid you try the trailing slash as the comments suggest? Alsojust to be sure..double check what I have against what you are trying...I've seen VERY subtle differences foul it up Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 11:33 AM Subject: Re: CFMX & cfcontent Hi Bryan, This is the code that I found on the list. The application/octetstream mime type will ALWAYS force the download dialgue window and the above code will always show the correct file name and extension to download Like I said previously this code works some of the time. Actually most of the time in Netscape. Its IE that I am having issues with. Mike - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 1:47 PM Subject: Re: CFMX & cfcontent Mickael, My server is toast right now so I can't grab the code, but I do have code using CFCONTENT/CFHEADER that ALWAYS pops the download dialogue with the correct file name. Search the CF-Talk archives for my name ("Bryan Stevenson") and "CFCONTENT" and "octet" and you should find it. Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 10:42 AM Subject: Re: CFMX & cfcontent I know this is not CF but does anyone know of a _javascript_ or PHP script that I can pass a URL file name to download a file? - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 12:12 PM Subject: Re: CFMX & cfcontent Tried both of those, no luck - Original Message - From: Benjamin S. Rogers To: CF-Talk Sent: Friday, April 16, 2004 11:58 AM Subject: RE: CFMX & cfcontent Try "attachment" instead of "inline" in your cfheader tag. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 From: Mickael [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:34 AM To: CF-Talk Subject: Re: CFMX & cfcontent Hi Dave, Let's say my browser where I do not have the option to open XLS in my browser selected. What happens is that I get the cfm template as the filename in the save as dialogue box. I noticed in your examples that you added foo to the Query string. My query string contains the file name which is a date that I append to the a base filename. My client has files that are called MMDDProcessing_Report yet they only want to see the filename in the save as box as processing_report.xls like so template.cfm?filedetails=#filedetails# Then my act page has the following value="inline;filename=Processing_Report.xls"> file="c:\inetpub\DailyDownload\#variables.file_details#Processing_Report.xls "> When the dialoge box comes up, what I get is the my cfm template with my url string. Any ideas Mike - Original Message - From: Dave Watts To: CF-Talk Sent: Friday, April 16, 2004 11:09 AM Subject: RE: CFMX & cfcontent > I have never been able to get CFCONTENT to consistently force > a download of a file, let's say an excel file to the user. I > have actually spent the whole morning looking for a PHP or > _javascript_ replacement for this. > > I am on a Shared hosting environment but have found CFCONTENT > unreliable on CFMX. Do you find it reliable? If yes what is > your secret :) You can't force a download of a file - that's up to the user (and his or her browser). You might try running these samples on y
CF EXECUTE Problems
Note: If anyone thinks that I would be better served with CFX_ShellExec, please provide a simple syntax usage example so I can try. I can't find one on the Web. Problem: I have been trying to get help on the Macromedia forums to no avail. My company has a project where we need to interface with the clients Cold Fusion application. We use an accounting system based on the ProvideX language. My client has a Cold Fusion front end and MS Access back end. We are trying to use CFEXECUTE in order to run our ProvideX script program like we have done in the past with VBA and .Net. We Downloaded the trial standard version of cold Fusion last week and can get all forms and DB connections to run fine, but when we try the CFEXECUTE, we see the process running in the Windows Task Manager (PVXWin32.exe), but it does not seem to be passing the parameters to launch our program. Here is our syntax: arguments="../ar/arw_cf W O direct" outputFile="" timeout="0"> Also, for this demo, we have everything loaded on one Windows machine (DB, CF Server and CFM page). If I tried just a simple WordPad.exe and put "C:\Mydoc.txt" in the argument, shouldn't it launch that app and document to my screen? Help appreciated - Thanks. Frank [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: studio regex ?
I dont use CF STudio, but you can do this with a regexp like this ^.{7}// or if you have an advanced IDE like BBEdit, you could just select the area - cols 1-7 over n-lines and do a cut HTH Dick On Apr 16, 2004, at 11:21 AM, Jeff Beer wrote: > In CF Studio 5, how would I do a regex search and replace on a line > format > like: > > > 04/22/04 http://www.blah.com/stuff > > > where I want to remove the date and the following space, leaving the > rest of > the line untouched? > > > I have to do this for about 30,000 lines.. no fun by hand! > > > Thanks! > > > Jeff > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: studio regex ?
Perfect except that the ^ will match the beginning of the file, not the beginning of the line. Is there an URL after each date that you want removed? If so, then do [0-9]{2}/[0-9]{2}/[0-9]{2} (https?://) I used 0-9 just because I like it more than digit. :) I also added the http test after to make sure there's an url. Just replace that with \1 and it'll work. It also takes https into account. If you can do this in CFMX then you can use the ^ to specify the beginning of the line, but that'll be a non-studio script. Easy to write, but needs CFFILE as well. > Off the top of my head, replace > > ^[[:digit:]]{2}/[[:digit:]]{2}/[[:digit:]]{2} > (note there's a space at the end of the line) > > with nothing. > > --Ben > > Jeff Beer wrote: > > > In CF Studio 5, how would I do a regex search and replace on a line format > > like: > > > > > > 04/22/04 http://www.blah.com/stuff > > > > > > where I want to remove the date and the following space, leaving the rest of > > the line untouched? > > > > > > I have to do this for about 30,000 lines.. no fun by hand! > > > > > > Thanks! > > > > > > Jeff > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFMX & cfcontent
Hi Bryan, This is the code that I found on the list. The application/octetstream mime type will ALWAYS force the download dialgue window and the above code will always show the correct file name and extension to download Like I said previously this code works some of the time. Actually most of the time in Netscape. Its IE that I am having issues with. Mike - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 1:47 PM Subject: Re: CFMX & cfcontent Mickael, My server is toast right now so I can't grab the code, but I do have code using CFCONTENT/CFHEADER that ALWAYS pops the download dialogue with the correct file name. Search the CF-Talk archives for my name ("Bryan Stevenson") and "CFCONTENT" and "octet" and you should find it. Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 10:42 AM Subject: Re: CFMX & cfcontent I know this is not CF but does anyone know of a _javascript_ or PHP script that I can pass a URL file name to download a file? - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 12:12 PM Subject: Re: CFMX & cfcontent Tried both of those, no luck - Original Message - From: Benjamin S. Rogers To: CF-Talk Sent: Friday, April 16, 2004 11:58 AM Subject: RE: CFMX & cfcontent Try "attachment" instead of "inline" in your cfheader tag. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 From: Mickael [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:34 AM To: CF-Talk Subject: Re: CFMX & cfcontent Hi Dave, Let's say my browser where I do not have the option to open XLS in my browser selected. What happens is that I get the cfm template as the filename in the save as dialogue box. I noticed in your examples that you added foo to the Query string. My query string contains the file name which is a date that I append to the a base filename. My client has files that are called MMDDProcessing_Report yet they only want to see the filename in the save as box as processing_report.xls like so template.cfm?filedetails=#filedetails# Then my act page has the following value="inline;filename=Processing_Report.xls"> file="c:\inetpub\DailyDownload\#variables.file_details#Processing_Report.xls "> When the dialoge box comes up, what I get is the my cfm template with my url string. Any ideas Mike - Original Message - From: Dave Watts To: CF-Talk Sent: Friday, April 16, 2004 11:09 AM Subject: RE: CFMX & cfcontent > I have never been able to get CFCONTENT to consistently force > a download of a file, let's say an excel file to the user. I > have actually spent the whole morning looking for a PHP or > _javascript_ replacement for this. > > I am on a Shared hosting environment but have found CFCONTENT > unreliable on CFMX. Do you find it reliable? If yes what is > your secret :) You can't force a download of a file - that's up to the user (and his or her browser). You might try running these samples on your server and see how they work for you: http://www.figleaf.com/demo/mimetest/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Latest Windows Updates
Yes, As I understand, McAffee still uses a 16 bit scanning engine - and as a result really slows down some system. So much so, that it has caused many to abandon the product for a more efficient one. Don't hold me to this, as I abandoned McAffee back in the Win98SE days for that reason == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 11:47 AM Subject: Re: Latest Windows Updates Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process. In my case, I had to update the F-PROT scan engine to a 32 bit version and that solved the runaway issue. Good luck! == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 10:35 AM Subject: SOT: Latest Windows Updates Hey All, We applied the latest round or about 5 security updates to our Win2K Advanced Server yesterday and then all hell broke loose. It now takes about 10-15 minutes to get to the desktop, then another 15 or so before SQL Server and a few other services get runningCF service never started in that time so I went in and set it to a manual start (trying to free up resources). Basically, the "System" process (not System Idle Process) is taking up all the CPU time...occasionally letting go for a few seconds. Being that the system moves SO slow it's tough to check things to try and diagnose...so I'm here asking for help ;-) Any..and I do mean ANY advice would be great TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: studio regex ?
Off the top of my head, replace ^[[:digit:]]{2}/[[:digit:]]{2}/[[:digit:]]{2} (note there's a space at the end of the line) with nothing. --Ben Jeff Beer wrote: > In CF Studio 5, how would I do a regex search and replace on a line format > like: > > > 04/22/04 http://www.blah.com/stuff > > > where I want to remove the date and the following space, leaving the rest of > the line untouched? > > > I have to do this for about 30,000 lines.. no fun by hand! > > > Thanks! > > > Jeff > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
studio regex ?
In CF Studio 5, how would I do a regex search and replace on a line format like: 04/22/04 http://www.blah.com/stuff where I want to remove the date and the following space, leaving the rest of the line untouched? I have to do this for about 30,000 lines.. no fun by hand! Thanks! Jeff [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfloop
Actually, it's both a very useful technique, and only a problem if you're using CFLOOP. Say you want to remove duplicate elements from a list. If you remove anything, you'll just get an "invalid list index" error, but if you use CFSCRIPT you'll be just fine. Here's code for the two different methods. The script call returns "1,2,3,4,5", just as it's supposed to, but the tag call throws an "Invalid list index 6." error. function dedupeListScript(list) { var map = structNew(); var i = ""; for (i = 1; i LT listLen(list); i = i + 1) { if (structKeyExists(map, listGetAt(list, i))) { list = listDeleteAt(list, i); i = i - 1; } else { map[listGetAt(list, i)] = ""; } } return list; } #dedupeListScript(myList)# #dedupeListTag(myList)# > -Original Message- > From: Philip Arnold [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 11:05 AM > To: CF-Talk > Subject: RE: cfloop > > > From: Barney Boisvert > > > > > > > > > > > > > > #i#-#arrayLen(a)# > > But why would you do this in the first place? > > Looping over an array that you're changing the size of within the loop > is just asking for trouble > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
cfchart internals...
Been using But now trying to plot (x,y) data in a making me feel stooopid. Anyone have luck doing this? One idea I have is to locate the internals for cfchart and try and go under the hood and see if there is anything I could fix/break in it. Anyone know where I might find info on this? Thanks! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfloop
You probably wouldn't. It was meant as a cautionary tale of the differences between the scriptish and taggish versions. --Ben Philip Arnold wrote: > > From: Barney Boisvert > > > > > > > > > > > > > > #i#-#arrayLen(a)# > > But why would you do this in the first place? > > Looping over an array that you're changing the size of within the loop > is just asking for trouble > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfloop
Um... 256 ^ 3 = 16.7 mil. --Ben Claude Schneegans wrote: > >>we need to create a reserve table that has 16.7 million ips > of this configuration > > 255.xxx.xxx.xxx > > For me, this means 3 loops of 256 iterations, not a 16.7 millions loops! > > -- > ___ > See some cool custom tags here: > http://www.contentbox.com/claude/customtags/tagstore.cfm > Please send any spam to this address: [EMAIL PROTECTED] > Thanks. > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CF & Sun Portal?
Anyone have any experience with integrating your CF applications into a SUN One Portal (version 6 - 6.2)? Also I'm looking at moving our enterprise CFMX to CFMX J2EE (on JRUN or SUN App. Server) Any guidance, tips, pitfalls etc would be much appreciated. The main reason for the move is to allow my CFMX applications to read and process J2EE Session variables etc. ERJ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfloop
> From: Barney Boisvert > > > > > > > #i#-#arrayLen(a)# But why would you do this in the first place? Looping over an array that you're changing the size of within the loop is just asking for trouble [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: What is the cause of this error?
> From: Robert Bailey > > Nope, no CFQueryParams at all, was more like this: > > Update table > Set this = 'that', > this2 = 'that2' > Where myid = id > > VERY Simple update. Oh well, not doing it now, so can not complain :) Have you checked that there are no apostrophies in the strings you're trying to update with? If there are, and you're not handling them, then it'll break I'd ALWAYS use CFQUERYPARAM, even in simple queries [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Web Form Login = NT Login?
Have you looked at this? http://www.coolfusion.com/products/iauth/index.cfm I use it for authentication for part of our website. Passes username and password to the Web Server to authenticate. At 09:32 AM 4/16/2004, you wrote: >Hi folks, > >Does anyone know of a way to pass a username and password directly to the >OS? > >I have a website that will use NT authentication. And I want to use the >username and password that I get from a form submittion to log that user in >to NT. Basically, I'm trying to bypass the standard windows >username/password/domain alert that pops up everytime you hit a site with NT >authentication. Make sense? > >My site is structured like so: > >c:/inetpub/wwwroot/login.cfm <- anonymous access >c:/inetpub/wwwroot/securedsite/index.cfm <- nt authenticated access > >and I want to pass a secure token / authorized user from login.cfm to the >rest of the site. > >Any help is much appreciated! > >Ed. > >-- >[Todays Threads] >[This Message] >[Subscription] >[Fast > Unsubscribe] [User Settings] > >-- > >51185b5.jpg > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfloop
Actually, a CFLOOP with from/to attributes and a CFSCRIPT for loop are VERY different animals. Take, for example, this bit of code (which loops over an array deleting each element in turn): #i#-#arrayLen(a)# a = arrayNew(1); arraySet(a, 1, 10, 42); for (i = 1; i LTE arrayLen(a); i = i + 1) { arrayDeleteAt(a, 1); } writeOutput("#i#-#arrayLen(a)#"); Those should do exactly the same thing, right? Oh contrare! The CFLOOP outputs "11-0", and the CFSCRIPT outputs "6-5". Why? Because the arrayLen(a) is evaluate once while processing the CFLOOP tag's attributes, and that value is used for all iterations. In the CFSCRIPT, arrayLen(a) is evaluated on each iteration. If you want the behaviour of CFLOOP with CFSCRIPT, you have to use temporary variables for all your dynamic expressions: a = arrayNew(1); arraySet(a, 1, 10, 42); count = arrayLen(a); // set a count variable to limit iterations for (i = 1; i LTE count; i = i + 1) { arrayDeleteAt(a, 1); } writeOutput("#i#-#arrayLen(a)#"); Using a temp variable for the initializer and step size is unneeded in this case, because they are hard coded, but if they are dynamic, you have to do them too. Cheers, barneyb > -Original Message- > From: Mark W. Breneman [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 10:40 AM > To: CF-Talk > Subject: RE: cfloop > > On the same note. > > > > Is a loop using cfscript or faster, slower or the > same on a CFMX > server? > > > > My guess is that they both compile to the same java byte > code. It that > correct? > > > > Mark W. Breneman > -Cold Fusion Developer > -Network Administrator > Vivid Media > [EMAIL PROTECTED] > www.vividmedia.com > 608.270.9770 > > _ > > From: Ray Champagne [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 12:26 PM > To: CF-Talk > Subject: RE: cfloop > > > > Nope, the commas were causing it to stop - interestingly > enough, it was > pointed out that int(10,000,000) gave up 36,799. > > At 01:19 PM 4/16/2004, Jim Davis wrote: > >Are you sure that you're just not hitting the page timeout? > > > > > > > >Jim Davis > > > > > > > > _ > > > >From: Ray Champagne [mailto:[EMAIL PROTECTED] > >Sent: Friday, April 16, 2004 11:42 AM > >To: CF-Talk > >Subject: Re: cfloop > > > > > > > >Well, I just did a quick one (index loop) that tried to loop > 10 million > >times, and it looks like it consistently stops at 36,799 and goes no > >further. That help? > > > > > >#i# > > > > > >Ray > > > >At 11:34 AM 4/16/2004, Tony Weeg wrote: > > >hey there. > > > > > >whats the max number of iterations I can expect cfloop to > handle before > it > > >craps out? > > > > > >1 million, 2 million? > > >any number that anyone knows of? > > > > > >thanks! > > > > > >...tony > > > > > >tony weeg > > >senior web applications architect > > >navtrak, inc. > > >www.navtrak.net > > >[EMAIL PROTECTED] > > >410.548.2337 > > > > > > > > > > > > > _ > > > > > > > > > > _ > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
ssss
sss [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfloop
>>we need to create a reserve table that has 16.7 million ips of this configuration 255.xxx.xxx.xxx For me, this means 3 loops of 256 iterations, not a 16.7 millions loops! -- ___ See some cool custom tags here: http://www.contentbox.com/claude/customtags/tagstore.cfm Please send any spam to this address: [EMAIL PROTECTED] Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFMX & cfcontent
Mickael, My server is toast right now so I can't grab the code, but I do have code using CFCONTENT/CFHEADER that ALWAYS pops the download dialogue with the correct file name. Search the CF-Talk archives for my name ("Bryan Stevenson") and "CFCONTENT" and "octet" and you should find it. Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 10:42 AM Subject: Re: CFMX & cfcontent I know this is not CF but does anyone know of a _javascript_ or PHP script that I can pass a URL file name to download a file? - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 12:12 PM Subject: Re: CFMX & cfcontent Tried both of those, no luck - Original Message - From: Benjamin S. Rogers To: CF-Talk Sent: Friday, April 16, 2004 11:58 AM Subject: RE: CFMX & cfcontent Try "attachment" instead of "inline" in your cfheader tag. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 From: Mickael [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:34 AM To: CF-Talk Subject: Re: CFMX & cfcontent Hi Dave, Let's say my browser where I do not have the option to open XLS in my browser selected. What happens is that I get the cfm template as the filename in the save as dialogue box. I noticed in your examples that you added foo to the Query string. My query string contains the file name which is a date that I append to the a base filename. My client has files that are called MMDDProcessing_Report yet they only want to see the filename in the save as box as processing_report.xls like so template.cfm?filedetails=#filedetails# Then my act page has the following value="inline;filename=Processing_Report.xls"> file="c:\inetpub\DailyDownload\#variables.file_details#Processing_Report.xls "> When the dialoge box comes up, what I get is the my cfm template with my url string. Any ideas Mike - Original Message - From: Dave Watts To: CF-Talk Sent: Friday, April 16, 2004 11:09 AM Subject: RE: CFMX & cfcontent > I have never been able to get CFCONTENT to consistently force > a download of a file, let's say an excel file to the user. I > have actually spent the whole morning looking for a PHP or > _javascript_ replacement for this. > > I am on a Shared hosting environment but have found CFCONTENT > unreliable on CFMX. Do you find it reliable? If yes what is > your secret :) You can't force a download of a file - that's up to the user (and his or her browser). You might try running these samples on your server and see how they work for you: http://www.figleaf.com/demo/mimetest/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFMX & cfcontent
I know this is not CF but does anyone know of a _javascript_ or PHP script that I can pass a URL file name to download a file? - Original Message - From: Mickael To: CF-Talk Sent: Friday, April 16, 2004 12:12 PM Subject: Re: CFMX & cfcontent Tried both of those, no luck - Original Message - From: Benjamin S. Rogers To: CF-Talk Sent: Friday, April 16, 2004 11:58 AM Subject: RE: CFMX & cfcontent Try "attachment" instead of "inline" in your cfheader tag. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 From: Mickael [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:34 AM To: CF-Talk Subject: Re: CFMX & cfcontent Hi Dave, Let's say my browser where I do not have the option to open XLS in my browser selected. What happens is that I get the cfm template as the filename in the save as dialogue box. I noticed in your examples that you added foo to the Query string. My query string contains the file name which is a date that I append to the a base filename. My client has files that are called MMDDProcessing_Report yet they only want to see the filename in the save as box as processing_report.xls like so template.cfm?filedetails=#filedetails# Then my act page has the following value="inline;filename=Processing_Report.xls"> file="c:\inetpub\DailyDownload\#variables.file_details#Processing_Report.xls "> When the dialoge box comes up, what I get is the my cfm template with my url string. Any ideas Mike - Original Message - From: Dave Watts To: CF-Talk Sent: Friday, April 16, 2004 11:09 AM Subject: RE: CFMX & cfcontent > I have never been able to get CFCONTENT to consistently force > a download of a file, let's say an excel file to the user. I > have actually spent the whole morning looking for a PHP or > _javascript_ replacement for this. > > I am on a Shared hosting environment but have found CFCONTENT > unreliable on CFMX. Do you find it reliable? If yes what is > your secret :) You can't force a download of a file - that's up to the user (and his or her browser). You might try running these samples on your server and see how they work for you: http://www.figleaf.com/demo/mimetest/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfloop
On the same note. Is a loop using cfscript or faster, slower or the same on a CFMX server? My guess is that they both compile to the same java byte code. It that correct? Mark W. Breneman -Cold Fusion Developer -Network Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 _ From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 12:26 PM To: CF-Talk Subject: RE: cfloop Nope, the commas were causing it to stop - interestingly enough, it was pointed out that int(10,000,000) gave up 36,799. At 01:19 PM 4/16/2004, Jim Davis wrote: >Are you sure that you're just not hitting the page timeout? > > > >Jim Davis > > > > _ > >From: Ray Champagne [mailto:[EMAIL PROTECTED] >Sent: Friday, April 16, 2004 11:42 AM >To: CF-Talk >Subject: Re: cfloop > > > >Well, I just did a quick one (index loop) that tried to loop 10 million >times, and it looks like it consistently stops at 36,799 and goes no >further. That help? > > >#i# > > >Ray > >At 11:34 AM 4/16/2004, Tony Weeg wrote: > >hey there. > > > >whats the max number of iterations I can expect cfloop to handle before it > >craps out? > > > >1 million, 2 million? > >any number that anyone knows of? > > > >thanks! > > > >...tony > > > >tony weeg > >senior web applications architect > >navtrak, inc. > >www.navtrak.net > >[EMAIL PROTECTED] > >410.548.2337 > > > > > > > > _ > > > > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Exchange/Outlook Tie-Ins
> Isn't COM mainly broken in MX? It doesn't work as well as it used to. Nevertheless, it may work well enough for your needs. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfloop
Nope, the commas were causing it to stop - interestingly enough, it was pointed out that int(10,000,000) gave up 36,799. At 01:19 PM 4/16/2004, Jim Davis wrote: >Are you sure that you're just not hitting the page timeout? > > > >Jim Davis > > > > _ > >From: Ray Champagne [mailto:[EMAIL PROTECTED] >Sent: Friday, April 16, 2004 11:42 AM >To: CF-Talk >Subject: Re: cfloop > > > >Well, I just did a quick one (index loop) that tried to loop 10 million >times, and it looks like it consistently stops at 36,799 and goes no >further. That help? > > >#i# > > >Ray > >At 11:34 AM 4/16/2004, Tony Weeg wrote: > >hey there. > > > >whats the max number of iterations I can expect cfloop to handle before it > >craps out? > > > >1 million, 2 million? > >any number that anyone knows of? > > > >thanks! > > > >...tony > > > >tony weeg > >senior web applications architect > >navtrak, inc. > >www.navtrak.net > >[EMAIL PROTECTED] > >410.548.2337 > > > > > > > > _ > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfloop
Are you sure that you're just not hitting the page timeout? Jim Davis _ From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:42 AM To: CF-Talk Subject: Re: cfloop Well, I just did a quick one (index loop) that tried to loop 10 million times, and it looks like it consistently stops at 36,799 and goes no further. That help? #i# Ray At 11:34 AM 4/16/2004, Tony Weeg wrote: >hey there. > >whats the max number of iterations I can expect cfloop to handle before it >craps out? > >1 million, 2 million? >any number that anyone knows of? > >thanks! > >...tony > >tony weeg >senior web applications architect >navtrak, inc. >www.navtrak.net >[EMAIL PROTECTED] >410.548.2337 > > > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: What is the cause of this error?
Nope, no CFQueryParams at all, was more like this: Update table Set this = 'that', this2 = 'that2' Where myid = id VERY Simple update. Oh well, not doing it now, so can not complain :) -Original Message- From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 12:52 PM To: CF-Talk Subject: Re: What is the cause of this error? You are probably using cfqueryparam and defining a datatype but not clarifying what to do if the form value is empty. null="#yesnoformat(not len(trim(form.field)))#" is an option I use (per a suggestion from this list, thank you very much). The other option is that your SQL table field does not allow null (empty) values. Hope this helps. Cutter Robert Bailey wrote: > I have an application, simple form with a simple MS SQL update. Was working > fine, checked on it today and got the following error: > > The system has attempted to use an undefined value, which usually indicates > a programming error, either in your code or some system code. > Null Pointers are another name for undefined values. > > I have never seen this at all. Any ideas as to what may be the cause? > Thanks! > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfloop
. - Original Message - From: Tony Weeg To: CF-Talk Sent: Friday, April 16, 2004 12:58 PM Subject: RE: cfloop that would be great if ip octets where based on real numbering schemes, they are 255 based. -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 12:49 PM To: CF-Talk Subject: Re: cfloop what about something like below? ... Tony Weeg wrote: > we need to create a reserve table that has 16.7 million ips of this > configuration > > 255.xxx.xxx.xxx > > so that we can assign ip's and reserve them and re-use them. > > but, we have to start with 255.255.255.254 and go down, at each 000 we > move the previous octet down one, etc. > > and that's why :) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfloop
nevermind, this is a stupid idea. Bryan F. Hogan wrote: > what about something like below? > > > > > ... > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfloop
that would be great if ip octets where based on real numbering schemes, they are 255 based. -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 12:49 PM To: CF-Talk Subject: Re: cfloop what about something like below? ... Tony Weeg wrote: > we need to create a reserve table that has 16.7 million ips of this > configuration > > 255.xxx.xxx.xxx > > so that we can assign ip's and reserve them and re-use them. > > but, we have to start with 255.255.255.254 and go down, at each 000 we > move the previous octet down one, etc. > > and that's why :) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: What is the cause of this error?
You are probably using cfqueryparam and defining a datatype but not clarifying what to do if the form value is empty. null="#yesnoformat(not len(trim(form.field)))#" is an option I use (per a suggestion from this list, thank you very much). The other option is that your SQL table field does not allow null (empty) values. Hope this helps. Cutter Robert Bailey wrote: > I have an application, simple form with a simple MS SQL update. Was working > fine, checked on it today and got the following error: > > The system has attempted to use an undefined value, which usually indicates > a programming error, either in your code or some system code. > Null Pointers are another name for undefined values. > > I have never seen this at all. Any ideas as to what may be the cause? > Thanks! > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfloop
what about something like below? ... Tony Weeg wrote: > we need to create a reserve table that has 16.7 million ips > of this configuration > > 255.xxx.xxx.xxx > > so that we can assign ip's and reserve them and re-use them. > > but, we have to start with 255.255.255.254 and go down, at each 000 > we move the previous octet down one, etc. > > and that's why :) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Latest Windows Updates
Oh ya Doug... Isn't F-PROT to do with virus scanning?? I've seen an alert about McAfee mabye not having all of the right stuff installedguess that might be that bad guy?? Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process. In my case, I had to update the F-PROT scan engine to a 32 bit version and that solved the runaway issue. Good luck! == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 10:35 AM Subject: SOT: Latest Windows Updates Hey All, We applied the latest round or about 5 security updates to our Win2K Advanced Server yesterday and then all hell broke loose. It now takes about 10-15 minutes to get to the desktop, then another 15 or so before SQL Server and a few other services get runningCF service never started in that time so I went in and set it to a manual start (trying to free up resources). Basically, the "System" process (not System Idle Process) is taking up all the CPU time...occasionally letting go for a few seconds. Being that the system moves SO slow it's tough to check things to try and diagnose...so I'm here asking for help ;-) Any..and I do mean ANY advice would be great TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: What is the cause of this error?
Well, ummm, never mind, now it is not doing it and nothing has changed. -Original Message- From: Robert Bailey [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 12:34 PM To: CF-Talk Subject: What is the cause of this error? I have an application, simple form with a simple MS SQL update. Was working fine, checked on it today and got the following error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I have never seen this at all. Any ideas as to what may be the cause? Thanks! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Latest Windows Updates
Thanks Doug...that's great!! One problem though...how do I see which processes are running "under System". I don't see that info in Task Manager (or I'm not looking in the right place). TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: Doug White To: CF-Talk Sent: Friday, April 16, 2004 9:32 AM Subject: Re: Latest Windows Updates A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process. In my case, I had to update the F-PROT scan engine to a 32 bit version and that solved the runaway issue. Good luck! == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 10:35 AM Subject: SOT: Latest Windows Updates Hey All, We applied the latest round or about 5 security updates to our Win2K Advanced Server yesterday and then all hell broke loose. It now takes about 10-15 minutes to get to the desktop, then another 15 or so before SQL Server and a few other services get runningCF service never started in that time so I went in and set it to a manual start (trying to free up resources). Basically, the "System" process (not System Idle Process) is taking up all the CPU time...occasionally letting go for a few seconds. Being that the system moves SO slow it's tough to check things to try and diagnose...so I'm here asking for help ;-) Any..and I do mean ANY advice would be great TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfloop
I had to 'stop the madness' myself. The longer it ran , the more I couldn't do :) Ended up rebooting... At 12:25 PM 4/16/2004, you wrote: >My loop > > > #i# > > >ran it till completion -- then tied up the browser with 20% CPU and >about .9 Gig Virtual mem > >ran almost as slow as a RIA --- > >--- or, as the doe said, when she came out of the forest: "That's the >last time I'll do that for 2 bucks". > >HTH > >Dick > > >On Apr 16, 2004, at 9:04 AM, Dick Applebaum wrote: > > > On Apr 16, 2004, at 8:42 AM, Ray Champagne wrote: > > > > > Well, I just did a quick one (index loop) that tried to loop 10 > > million > > > times, and it looks like it consistently stops at 36,799 and goes > > no > > > further. That help? > > > > > > > > > #i# > > > > > > > > > Ray > > > > > > > > > > Odd I am at 340,420 and counting (firefox is still downloading data) > > > > What happened when it stopped - maybe it's your browser?? > > > > HTH > > > > Dick > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
What is the cause of this error?
I have an application, simple form with a simple MS SQL update. Was working fine, checked on it today and got the following error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. I have never seen this at all. Any ideas as to what may be the cause? Thanks! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Latest Windows Updates
A place to start: Start looking for 16 bit versions of applications that are running. Such as A/V scanners, software firewalls, etc. Most running processes are running under a system account, so it is time consuming to isolate the offending application. Next try disabling processes running under "system" one at a time with the CPU monitor running and observe which one(s) make a big difference. Sometimes a re-install of that particular application will do the trick, but most will require upgrading to a 32 bit version of the process. In my case, I had to update the F-PROT scan engine to a 32 bit version and that solved the runaway issue. Good luck! == We can get rid of spam on your domain! , Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == - Original Message - From: Bryan Stevenson To: CF-Talk Sent: Friday, April 16, 2004 10:35 AM Subject: SOT: Latest Windows Updates Hey All, We applied the latest round or about 5 security updates to our Win2K Advanced Server yesterday and then all hell broke loose. It now takes about 10-15 minutes to get to the desktop, then another 15 or so before SQL Server and a few other services get runningCF service never started in that time so I went in and set it to a manual start (trying to free up resources). Basically, the "System" process (not System Idle Process) is taking up all the CPU time...occasionally letting go for a few seconds. Being that the system moves SO slow it's tough to check things to try and diagnose...so I'm here asking for help ;-) Any..and I do mean ANY advice would be great TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Exchange/Outlook Tie-Ins
Will try this now. -- Timothy Heald Web Portfolio Manager Diplomatic Security U.S. Department of State 571.345.2319 The opinions expressed here do not necessarily reflect those of the U.S. Department of State or any affiliated organization(s). Nor have these opinions been approved or sanctioned by these organizations. This e-mail is unclassified based on the definitions in E.O. 12958. -Original Message- From: Jeff Garza [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 12:31 PM To: CF-Talk Subject: Re: Exchange/Outlook Tie-Ins Here is something you might want to try... Create a blank Access database, choose file -> get external data -> link tables. Then pick Exchange from the list of Datasource types. Link to the GAL from access and set it up as a datasource or use CF to pump the data from there into a different DB... You could also setup a scheduled DTS package (if you are using SQL Server) to pump it in nightly. This might not be the most elegant solution, but without using LDAP (which Exchange and Active Directory both use) you are kinda hosed... HTH, Jeff Garza - Original Message - From: Heald, Tim To: CF-Talk Sent: Friday, April 16, 2004 8:53 AM Subject: Exchange/Outlook Tie-Ins Does anyone have experience getting access to the GAL in exchange from cf? We are not permitted to use LDAP here. I think I have seen active x controls that would give this access, but I can't seem to find anything that does what I need. Basically my CF app is putting together task information. Then the user needs to pick someone to email information from that task. The user that gets emailed the task may not be an application user, but will be in our gal for sure. I would like to either have some way of querying Exchange to get the different email addresses, or a way I can generate an email in the users local outlook, then they can look up the email in the gal themselves. Any ideas? -- Timothy Heald Web Portfolio Manager Diplomatic Security U.S. Department of State 571.345.2319 The opinions expressed here do not necessarily reflect those of the U.S. Department of State or any affiliated organization(s). Nor have these opinions been approved or sanctioned by these organizations. This e-mail is unclassified based on the definitions in E.O. 12958. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]