Re: Advertisment Content Management - problem with random image

2008-12-03 Thread s. isaac dealey
Mike Kear said: > Ike, your query will still attempt to select records that have been > deleted The original problem was that the keys werent sequential > if some records have been deleted. That's going to happen as ads are > removed. Using the technique I use, it selects a random record

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Wil Genovese
Philip, Glad to hear things are getting better. Please do tell us what changes you made that worked. And if something didn't work let us know that also. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On D

RE: cfdocument with small images has large filesize

2008-12-03 Thread Jayesh Viradiya
Hi Brad, This is a known issue to us. We already have a bug logged for the same. Thanks Jayesh Viradiya Adobe CF Team -Original Message- From: Bradley Peck [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 12:20 AM To: cf-talk Subject: cfdocument with small images has large fil

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread Mike Kear
Ike, your query will still attempt to select records that have been deleted The original problem was that the keys werent sequential if some records have been deleted. That's going to happen as ads are removed. Using the technique I use, it selects a random record from the records that ex

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread Mike Kear
slight correction - i had a redundancy - you dont need "maxrows="1" as well as SELECT top 1 so the query would be better written as SELECT top 1 * FROM dbo.banner_left WHERE lastdisplay <'whatever' ORDER BY newID() That way you're suing SQLServer's inbuilt randomiser, doing the whole

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread s. isaac dealey
Here's my suggested modification SELECT * dbo.banner_left SELECT * FROM getCachedAds WHERE ADID = #ADID# ORDER BY ADID Not sure why there even was an order by in that query originally, since it will only return one record anyway. Probably won't affect performance, but you m

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread s. isaac dealey
> > I am using a varent from sparty2809 on http://tutorial323.easycfm.com/ > > It works great but was created for ACCESS and uses an autonumber > > datatype. Its great when you just keep adding advertisments but when > > you delete one there is now a gap in the +one ADID (int - identity > > spe

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread Mike Kear
Why not select out of the database using a random selection of the indexes that are there? Then you never have to worry about gaps. They dont matter. SELECT top 1 * FROM dbo.banner_left ORDER BY newID() That will select a random record from the table banner_left Cheers Mike Kear Windsor, N

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread Will Tomlinson
> I am using a varent from sparty2809 on http://tutorial323.easycfm.com/ > It works great but was created for ACCESS and uses an autonumber > datatype. Its great when you just keep adding advertisments but when > you delete one there is now a gap in the +one ADID (int - identity > specification

Create PDF from hyperlink

2008-12-03 Thread Steve Sequenzia
I am looking for some help getting on creating a pdf from a hyperlink. I need to it to use content on the same page for the pdf. I do not want the entire page created as a pdf just a section of the page. Can someone please point me in the right direction for this. Thanks in advance. ~

Advertisment Content Management - problem with random image

2008-12-03 Thread Sin Tec
I am using a varent from sparty2809 on http://tutorial323.easycfm.com/ It works great but was created for ACCESS and uses an autonumber datatype. Its great when you just keep adding advertisments but when you delete one there is now a gap in the +one ADID (int - identity specification). When th

Re: Where cf would be tomorrow?

2008-12-03 Thread Dave l
I guess mike moved this already... sorry we all know whom it's for. > I'm the first to admit that sometimes(ok most times) I just ain't > right.. > But dude, I swear that crack you are smoking is laced with draino!! > > What's the point? Or what are you going to do with a "light" version? >

Re: Where cf would be tomorrow?

2008-12-03 Thread Dave l
I'm the first to admit that sometimes(ok most times) I just ain't right.. But dude, I swear that crack you are smoking is laced with draino!! What's the point? Or what are you going to do with a "light" version? If Adobe makes a light version then people will bitch because it doesn't have all

Re: Where cf would be tomorrow?

2008-12-03 Thread Charlie Griefer
This is a technical list. It's really not on topic. CF-OT or cf-community would have been more appropriate. On Wed, Dec 3, 2008 at 5:09 PM, Phillip M. Vector <[EMAIL PROTECTED] > wrote: > Why? Even if you don't agree with it, he still has a right to express > his opinion on the list. > > Will T

Re: Where cf would be tomorrow?

2008-12-03 Thread Wil Genovese
CF will rule the world! Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Dec 3, 2008, at 7:03 PM, Will Tomlinson wrote: >> I resisted the attemptation of voicing my opinion on the current CF >> but I feel pr

Re: Where cf would be tomorrow?

2008-12-03 Thread Phillip M. Vector
Why? Even if you don't agree with it, he still has a right to express his opinion on the list. Will Tomlinson wrote: >> I resisted the attemptation of voicing my opinion on the current CF >> but I feel probably it's sensible to get it out of my chest. > > you should have resisted the attempta

Re: Where cf would be tomorrow?

2008-12-03 Thread Will Tomlinson
> I resisted the attemptation of voicing my opinion on the current CF > but I feel probably it's sensible to get it out of my chest. you should have resisted the attemptation harder Will L ~| Adobe® ColdFusion® 8 software 8

Where cf would be tomorrow?

2008-12-03 Thread Don L
I resisted the attemptation of voicing my opinion on the current CF but I feel probably it's sensible to get it out of my chest. Came cross a thread either on digg or reddit about a week ago asking Adobe to "Lose Weight" on CF and the like. Today I ran into the following URL, http://www.rebol

Re: IntelliJ CFML Plugin

2008-12-03 Thread Gerald Guido
>>I've said before ColdFusion developers do not know what they are missing until they use Eclipse for Java. Or NetBeans for that matter. When I started using NetBeans I was floored. Take a look at some of the tutes: http://www.netbeans.org/kb/ G! On Wed, Dec 3, 2008 at 4:21 PM, Adam Haskell <[E

RE: Adobe cutting 600 jobs

2008-12-03 Thread Dawson, Michael
Dang. Not another FUD thread. May I suggest that this thread be moved to the off-topic CF list before it ever builds up steam? Mike -Original Message- From: Philip Kaplan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 4:35 PM To: cf-talk Subject: Adobe cutting 600 jobs

Adobe cutting 600 jobs

2008-12-03 Thread Philip Kaplan
I wonder what effect this has on ColdFusion. Anyone know how CF's revenue stacks up compared with Adobe's other products? I'm guessing folks on the CF team are nervous. :-/ http://www.bizjournals.com/sanjose/stories/2008/12/01/daily50.html Adobe to cut 600 jobs, reduces fourth quarter revenue o

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Philip Kaplan
You are all awesome. Took many of your suggestions, haven't had a crash yet today. I'm crossing my fingers. On Wed, Dec 3, 2008 at 2:05 PM, Jochem van Dieten <[EMAIL PROTECTED]> wrote: > On Wed, Dec 3, 2008 at 7:33 AM, Philip Kaplan wrote: > > At risk of sounding like an idiot, is there a way t

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Jochem van Dieten
On Wed, Dec 3, 2008 at 7:33 AM, Philip Kaplan wrote: > At risk of sounding like an idiot, is there a way to just figure out WHAT > Jrun is working on when it's spiked to 100%? Assume CF Monitor and > FusionReactor are unavailable, but I can usually get into the Windows box > and mess around. Try

Re: IntelliJ CFML Plugin

2008-12-03 Thread Dominic Watson
Ah, just checked out the flash demos - I see what you mean. Sadly, at work we are on managed desktops and are stuck with DW8! Oh the pain. Dom 2008/12/3 Adam Haskell <[EMAIL PROTECTED]>: > I've said before ColdFusion developers do not know what they are missing > until they use Eclipse for Java.

Re: Writing binary data to file

2008-12-03 Thread Dominic Watson
As suspected it was straight-forward using java. I've wrapped the java stuff in a "binaryFileWriter" component but here is the jist of what it does: variables.path = ExpandPath("myFile.dat"); variables.fileOut = CreateObject("java", "java.io.FileOutputStream").init( path ); variables.ou

Re: IntelliJ CFML Plugin

2008-12-03 Thread Adam Haskell
I've said before ColdFusion developers do not know what they are missing until they use Eclipse for Java. The same can be said for Java developers that have not tried IntelliJ. Adam On Wed, Dec 3, 2008 at 4:02 PM, Dominic Watson < [EMAIL PROTECTED]> wrote: > I've not done extensive Java work in

Re: IntelliJ CFML Plugin

2008-12-03 Thread Dominic Watson
I've not done extensive Java work in Eclipse but when I have done I have found the IDE a dream to use (with quick, efficient and enlightening code hinting and refactoring) - I'd be highly impressed if there was an editor that gave £187 worth of improvement on that. However, I'd love that same powe

Dynamically prepopulate 18 drop downs based on the cfgrid

2008-12-03 Thread erik tom
I have i grid where after changing the row the 18 drop downs should get populated. I ahve writen a piece of code but it populate the value to all the drop down. for example i have 2 classes each of them has day assigned to it. so when i click on the grid item i only want to see 1 of the drop dow

Dynamically prepopulate 18 drop downs based on the cfgrid changed selection

2008-12-03 Thread erik tom
I have i grid where after changing the row the 18 drop downs should get populated. I ahve writen a piece of code but it populate the value to all the drop down. for example i have 2 classes each of them has day assigned to it. so when i click on the grid item i only want to see 1 of the drop dow

Re: IntelliJ CFML Plugin

2008-12-03 Thread Aaron Rouse
Very good point, I personally do not see what the big hangup on some of these price tags are. If the tools truly make people more efficient then they pay for themselves rather quickly. I personally just in the past couple of weeks have spent somewhere around $2k on various tools and most certainl

Re: cfdocument with small images has large filesize

2008-12-03 Thread Brad Peck
Windows server. MX7. I forgot to mention. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseof

Re: charts in pdf's

2008-12-03 Thread Tony
thanks jim. part of me refuses to back down from this, as it should just work as its supps to darnit. -- tony Better than a thousand hollow words, is one word that brings peace. -- siddhartha gautama On Tue, Dec 2, 2008 at 7:38 PM, Jim Thomson <[EMAIL PROTECTED]> wrote: > Hi Tony > > I r

Re: IntelliJ CFML Plugin

2008-12-03 Thread Kenton Gray
In response to the issue of cost, I understand the sentiment but if you are doing any extensive Java or Javascript editing professionally I think the issue is moot. I've used CFEclipse since the first week it was released and I appreciate Spike's and Mark's work on making the first real CF IDE,

cfdocument with small images has large filesize

2008-12-03 Thread Brad Peck
I am having an issue with large file sizes on pdf documents created with cfdocument. I have narrowed the issue down to images as the file size culprit (or at least the only difference I can tell). The content being fed to cfdocument is otherwise unremarkable html. The images (jpeg's, all) are

cfdocument with small images has large filesize

2008-12-03 Thread Bradley Peck
I am having an issue with large file sizes on pdf documents created with cfdocument. I have narrowed the issue down to images as the file size culprit (or at least the only difference I can tell). The content being fed to cfdocument is otherwise unremarkable html. The images (jpeg's, all) are ro

Returned mail: User unknown

2008-12-03 Thread timmay . brown
The original message was received at 2008-12-03 10:25:22 -0700 from postoffice.local [10.0.0.1] - The following addresses had permanent fatal errors - -Transcript of session follows - while talking to postoffice.local.: >>> RCPT To: <<< 550 5.1.1 unknown or illegal ali

Returned mail: User unknown

2008-12-03 Thread timmay . brown
The original message was received at 2008-12-03 10:25:22 -0700 from postoffice.local [10.0.0.1] - The following addresses had permanent fatal errors - -Transcript of session follows - while talking to postoffice.local.: >>> RCPT To: <<< 550 5.1.1 unknown or illegal ali

Returned mail: User unknown

2008-12-03 Thread timmay . brown
The original message was received at 2008-12-03 10:25:22 -0700 from postoffice.local [10.0.0.1] - The following addresses had permanent fatal errors - -Transcript of session follows - while talking to postoffice.local.: >>> RCPT To: <<< 550 5.1.1 unknown or illegal ali

Re: Excel Workbook Creators

2008-12-03 Thread Mike Chabot
If you are interested in the XML version, and you don't mind the warning message, and you don't need to support the really old versions of Excel, then go for it. You can do pretty much everything you would want to do, such as controlling cell size, frozen headers, setting page margins, etc. All you

RE: Why is my CF8 server constantly hanging?

2008-12-03 Thread Josh Nathanson
At my previous job, after switching to CF8, we had a couple of totally inexplicable crashes when we were using the CF8 server monitor in production. No hung threads, no pegged cpu, just kablooey and no evidence before the crash that anything was amiss. Once we switched it off, the crashes stopped

Re: IntelliJ CFML Plugin

2008-12-03 Thread Barney Boisvert
The actual plugin works fine, but it breaks the Eclipse-i-ness of your install because of the way it's packaged. Specifically, since it installs itself as a separate program, and then links itself into your existing Eclipse installation, you lose the ability to have a shared Eclipse installation w

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Wil Genovese
I finally found it. http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18339&sliceId=1 This KB explains thread dumps completely. Once you do your set of 3 or more thread dumps then run all the out put from those through Seestack to help you identify the problems. Wil Genovese

Writing binary data to file

2008-12-03 Thread Dominic Watson
We need to create a binary file and hope to do it in CF. Our source for the data is plain numbers and strings - ie. we have queried int and varchar columns from our db; we have no binary string to simply write out to file. Has anyone done this before? I assume this would be reasonably straight for

RE: Regex help - matching invalid xhtml

2008-12-03 Thread Andy Matthews
Gotcha. :) -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 9:04 AM To: cf-talk Subject: Re: Regex help - matching invalid xhtml >Actually, both of your examples are "invalid" according to the W3C >which states that all attributes mu

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Wil Genovese
Philip, Based on the load you mentioned earlier and the other data you've given me here is what I'd do. 1. upgrade the JVM to 1.6_10 2. backup my jvm.config and then edit the java.args line to this. java.args= -server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS - Xmx512m -Xms512m -XX:Ma

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Dana Kowalski
Fine tuning the JVM really does fix a lot of issues. We used to get crashes a lot back in the day when I didn't know much about JVM tweaking, especially the heap size stuff. Ever since I updated the JVM and tuned it we rarely ever have a crash anymore. We used to run into the same exact thing

RE: What happened to my CF Admin?

2008-12-03 Thread Steve Keator
We were able to work it out. Apparently, there was a .ini file missing as well that had something to do with jRun. As soon as I copied it from our current dev box it worked like a charm. Weird though that it would run other .cfm pages... ?? -S.

Re: Regex help - matching invalid xhtml

2008-12-03 Thread Will Tomlinson
>Actually, both of your examples are "invalid" according to the W3C which >states that all attributes must be quoted: >http://www.w3.org/TR/2002/REC-xhtml1-20020801/#h-4.4 The value of that variable output DOES contain quotes. I just need my regex to do what is required by my company. "Well, I

RE: What happened to my CF Admin?

2008-12-03 Thread Paul Kukiel
It's probably missing the IIS mapping to CFIDE. I recently setup CF8 on Windows Server 2k8. I started with a fresh install of 2k8 then followed this guide ( which is exactly the same for Vista with SP1 btw ): http://dale.fraser.id.au/2008/05/coldfusion-8-vista-sp1-solution.html At first I manu

Re: IntelliJ CFML Plugin

2008-12-03 Thread Dominic Watson
> http://www.urbandictionary.com/define.php?term=wadge 2. wadge - a great > mass > > Had to look it up. :-) Pronounced "wodj" ;) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Fre

Re: IntelliJ CFML Plugin

2008-12-03 Thread John M Bliss
http://www.urbandictionary.com/define.php?term=wadge 2. wadge - a great mass Had to look it up. :-) On Wed, Dec 3, 2008 at 8:01 AM, Dominic Watson < [EMAIL PROTECTED]> wrote: > > hmm... a $250 IDE (personal licence)... > > Yikes and if you're in the UK, that'd be £187 - £17 above today's > exc

RE: Regex help - matching invalid xhtml

2008-12-03 Thread Andy Matthews
Actually, both of your examples are "invalid" according to the W3C which states that all attributes must be quoted: http://www.w3.org/TR/2002/REC-xhtml1-20020801/#h-4.4 The space before the trailing /> is irrelevant, it can appear or not without penalty: http://www.w3.org/TR/2002/REC-xhtml1-200208

Re: IntelliJ CFML Plugin

2008-12-03 Thread Dominic Watson
> hmm... a $250 IDE (personal licence)... Yikes and if you're in the UK, that'd be £187 - £17 above today's exchange rate; though if the pound continues to plummet then I guess it'd be a good deal... In any case, that's a quite a wadge to fork out for an IDE, even though as a developer it may be

Re: Excel Workbook Creators

2008-12-03 Thread Craigsell
> Your POI code could be optimized for memory usage. POI has problems > with memory leaks, but these problems are fixable with > experimentation. String handling is a place to look for optimization. > In my experience, a suboptimal arrangement of the POI code could be > the difference between creat

Re: Excel Workbook Creators

2008-12-03 Thread Craigsell
Can you give me some insight into what to look for with string handling and optimal POI code arrangement? We haven't done that much in this area. I am leaning heavily towards the XML solution. I use stored procedures in Oracle to make queries. I'm pretty sure I can create the XML and zip it u

What happened to my CF Admin?

2008-12-03 Thread Steve Keator
Here's a little bit of a pickle... We're in the process of server upgrades, and we've made a few attempts at installing CF8 on a Windows Server 2008 with IIS 7. The first attempt didn't go over so well at all, and we ended up wiping the server and starting from scratch again. We did some Goog

Re: IntelliJ CFML Plugin

2008-12-03 Thread Adam Haskell
Quick note Mark, I know you cleared it up about being confused with which product was being talked about but (as someone else mentioned) IntelliJ does give free licenses to open source projects, so you would probably be able to get it (IntelliJ) for free. That being said I hope Adobe considers the

Re: I do not understand SeeStack at all

2008-12-03 Thread Tom Chiverton
On Wednesday 03 Dec 2008, Philip Kaplan wrote: > There are a lot of threads running. When I dump the entire stack trace > into SeeStack , this is > all it tells me. Clicking "next stack" does nothing. Am I missing > something? Sorry for all my que

Re: Date Range Without Year

2008-12-03 Thread Tom Chiverton
On Tuesday 02 Dec 2008, Jim McAtee wrote: > I have a table where I want to store begin and end dates _without_ a year. > For example, 'Dec 4' through 'Jun 15'. How can I best represent this in > the database? Use day of year i.e 1-366 -- Tom Chiverton Helping to continuously maximize models

Re: IntelliJ CFML Plugin

2008-12-03 Thread Tom Chiverton
On Wednesday 03 Dec 2008, Barney Boisvert wrote: > A much larger stumbling block for Bolt will be the Eclipse > integration, I think. Eclipse users don't want to have their Eclipse > environment hosed by some plugin (cough...FlexBuilder...cough). What do you mean there ? Builder works perfectly

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Dan O'Keefe
> > Does anyone have any ideas? At this point I'm willing to pay someone to > help. Ahh! > Might want to ping Charlie Aerhart as this is an area of his expertise. Dan ~| Adobe® ColdFusion® 8 software 8 is the most important a

Generating multiple pdf in a loop design problem

2008-12-03 Thread marc --
Hi, I have a client that wants to be able to print certificates (pdf's) for their clients. What I do is retrieving a query resultset. Then i use cfdocument: Then within a cfoutput tag I have html to position the dynamic content from myQueryResultset along with static content (texts and image

Re: Regex help - matching invalid xhtml

2008-12-03 Thread Dominic Watson
NVM, of course there is eh, you can auto fix them with CF right... Dominic 2008/12/3 Dominic Watson <[EMAIL PROTECTED]>: > Any reason not to be using the XHTML parsers out there on the produced output? > > Dominic > > 2008/12/3 Will Tomlinson <[EMAIL PROTECTED]>: >> I guess it'd be cool if I were

Re: Regex help - matching invalid xhtml

2008-12-03 Thread Dominic Watson
Any reason not to be using the XHTML parsers out there on the produced output? Dominic 2008/12/3 Will Tomlinson <[EMAIL PROTECTED]>: > I guess it'd be cool if I were to use (meta|input|img) in there, to flag > single tags without the trailing [space]/> > > Will > >

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Jayesh Viradiya
Hi Philip, If you have so many pageviews/day, I would recommend you to finetune the JVM settings as one of the user already have suggested here. You would need to increase your JVM heapspace. CF's default settings is 512MB for this. Also, it would be a good idea to upgrade your 1Gb Ram to 2 Gb

Re: I do not understand SeeStack at all

2008-12-03 Thread Barney Boisvert
Check out the web tools platform from Eclipse.org. It has a whole server management infrastructure component, so you can create/launch/debug/kill all your development containers right from Eclipse. Not of huge benefit to CF developers since it's at the JVM layer, not the CF layer, but for trouble

Re: I do not understand SeeStack at all

2008-12-03 Thread Brad Wood
Barney has a good point that Eclipse's debugger can be used to inspect your server's threads even if CF isn't responding. Here are some basic steps to connect Eclipse debugger to CF that I wrote up for a blog post once: "I added the following lines to my JVM startup args: -Xdebug -Xrunjdwp:tra