The same was as non-literal arrays? CFLOOP, CFDUMP, serializeJson,
there are lots of ways. I'm not sure what you want to discuss?
On Thu, Aug 20, 2009 at 1:30 PM, Tony Bentleyt...@tonybentley.com wrote:
I thought this would be something fun to discuss. How do you output implicit
arrays?
You can certainly point your SCRIPT tags at a CFM file to generated
dynamic JavaScript:
script src=gen_me_some_js.cfm/script
You'll need to serve back the right content type (using CFCONTENT).
cheers,
barneyb
On Mon, Aug 3, 2009 at 11:52 AM, Asaf Pelega...@locusenergy.com wrote:
I'm looking
Browsers should respect the headers that are supplied with the
response, and CF sends stuff that will prevent the browser from
caching (unless you tell it not to). So that shouldn't be a concern.
cheers,
barneyb
On Mon, Aug 3, 2009 at 4:43 PM, Kym Kovandev-li...@mbcomms.net.au wrote:
You can
typeList = removeChars(repeatString(,varchar, arrayLen(myArray)), 1, 1);
On Wed, Jul 29, 2009 at 9:27 AM, Richard Whiterich...@j7is.co.uk wrote:
hi
we need to create a list of the string VarChar i.e. VarChar,VarChar,VarChar
the amount of list elements is totally dependant on the length of
The CFTRANSACTION tag takes care of the top-level rollback all on it's
own. The explicit rollback is only used if you have logic inside the
CFTRANSACTION tag that needs to roll back because of some
non-exception situation. So you'll get the behaviour you want if you
remove the CFTRY..CFCATCH
I put stuff like that on S3, with read access denied. When someone
wants to view the resource, they're sent to a proxy page (written in
CF or whatever) that will build a signed URL that will allow them read
access to the resource for a period of time (a few minutes, a couple
hours, whatever is
How about load jquery and do
jQuery(a).click(function() {
logme(jQuery(this).attr(href));
});
On Thu, Jul 23, 2009 at 2:04 PM, Duane Boudreaudu...@sandybay.com wrote:
I need a little quick (hopefully) regex help.
I have to modify all the links on a site that do not contain onclick events
throw some frames busting code at the
top and you're set.
cheers,
barneyb
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
On Jul 21, 2009, at 7:00 AM, Mark McArthey wer...@hotmail.com wrote:
Hello all!
I have a custom page for errors and would like to know if it's
There is not, at least with CF. It does it's file upload processing
as part of the entrance chain to the main request handling, so the
file must be complete before the core request body can be entered.
That said, you should be able to write a servlet filter that does
offloading and just provides
I bet there's a show whitespace checkbox in the CFBuilder properties
as well, and that's actually the one you needed to uncheck. CFEclipse
has it's own version of a couple core Eclipse options (not sure why),
and CFB is probably no different. Not gonna help this time, of
course, but maybe next
I have no idea what that was. My sent mail has the same blank
message, but I didn't reply. WITH ROLLUP is the clause you want
though, if your DB supports it.
cheers,
barneyb
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
On Jul 17, 2009, at 4:09 PM, Seamus Campbell
On Thu, Jul 16, 2009 at 4:57 AM, Seamus
Campbellcoldfus...@boldacious.com wrote:
I have a database (access at the moment) for members of an organisation. The
members are scattered throughout (mostly in one state) Australia (with a
couple in the US) They all are one of three language groups.
Take a structure-only (no data) mysqldump on both servers, and then
use your choice of diff tools (command-line diff, Eclipse,
BeyondCompare, etc.) to compare them. Certainly not a particularly
elegant solution, but it's served me well in the past.
cheers,
barneyb
On Tue, Jul 14, 2009 at 4:24
Azadi is correct, that is an 8.0.0 version. The fourth number in the
tuple is a hotfix number that can change by dropping hotfix JARs
(i.e., sans installer).
cheers,
barneyb
On Thu, Jul 9, 2009 at 8:08 AM, Azadi Saryevaz...@sabai-dee.com wrote:
I believe you are on 8.0.0.
My 8.0.1 reports
How is your list stored? If it's a query (from CFDIRECTORY) use a
query of queries. If it's a comma-delimited list, use listFind. If
it's an array, use myArray.indexOf() + 1 (or listFind(arrayToList())).
On Wed, Jul 8, 2009 at 10:07 AM, RamaDevi Dobbalaramadobb...@gmail.com wrote:
Hi Dudes,
The question is really open source CFML, not open source
ColdFusion. Adobe isn't going to open source their CFML
implementation. I'm pretty sure that between Railo and Open
BlueDragon the question has been answered.
cheers,
barneyb
On Mon, Jun 22, 2009 at 1:10 PM, Don Ldo...@yahoo.com wrote:
If all that stuff is valuable to you, buy Adobe CF. That stuff is NOT
part of the CFML language, it's part of Adobe's CFML implementation.
Open source CFML engines isn't about getting Adobe CF for free, it's
about a CFML platform that you can modify/extend as you need.
On Mon, Jun 22, 2009 at
Skip the ID and encrypted email, and just use a hashed email:
test.cfm?e=#hash(q.email)#
it's easy to look up, uniquely identifying, will generate a relatively
short URL, has only safe characters, etc.
cheers,
barneyb
On Tue, Jun 16, 2009 at 12:42 PM, Chad Graycg...@careyweb.com wrote:
I
The MD5 gamut is 2^128 or 16^32 or
340,282,366,920,938,463,463,374,607,431,768,211,456. Your database
will run out of integer keys long before it's an issue with almost
complete certainty. But yes, it is a potential problem. Easy to make
fail-fast with a constraint on your DB though.
cheers,
Is there another Application.cfc and/or Application.cfm somewhere that
is superceding yours? The CFC version takes precedence if they are
both present.
cheers,
barneyb
On Sun, Jun 14, 2009 at 10:01 AM, Don Ldo...@yahoo.com wrote:
I'm using cf8.0.1, developer edition (I could easily switch it
You'll need to take care of generating a unique name yourself.
On Wed, Jun 10, 2009 at 11:58 AM, Che Vilnonisch...@asitv.com wrote:
Does CF's imageWrite() function have a make unique naming capability when
writing a file to a directory with a name that already exists? Or do I just
need to
MySQL uses the backslash as an escape character. So after you use
expandPath, use replace to double them up. That should take care of it.
Cheers,
Barneyb
---
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com
On Jun 9, 2009, at 8:45 PM, Rick Faircloth r...@whitestonemedia.com
On my phone so excuse the brevity:
P = expandPath(...);
P = replace(P, /, \, all);
P = replace(P, \, \\, all);
Load data infile '#P#'
Cheers,
Barneyb
---
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com
On Jun 9, 2009, at 9:40 PM, Rick Faircloth r...@whitestonemedia.com
wrote
The former. Attributes on the CFMODULE tag are passed to the custom
tag in the attributes scope, exactly the same as any other custom tag
invocation (CF_ prefix, CFIMPORT, CFMODULE name=...).
myTag.cfm:
cfparam name=attributes.name default=world /
cfoutputHello, #attributes.name#!/cfoutput
You can also use the Admin API to create DSNs on the fly.
cheers,
barneyb
On Mon, Jun 1, 2009 at 1:26 PM, Mark Kruger mkru...@cfwebtools.com wrote:
Scott,
Here's the approach we usually use (it works pretty well).
http://www.coldfusionmuse.com/index.cfm/2005/6/3/dsn_cfmx
-Mark
Mark
check the reverse, locate, and left functions. reverse it, find the
delimiter, and then use left to strip off the prefix.
cheers,
barneyb
On Fri, May 29, 2009 at 12:44 PM, Paul Ihrig pih...@gmail.com wrote:
how can i do
ListLast(your_email,@)
in a sql statement
So what's the actual problem?
Don't know if this is it, but it looks like you're missing a slash
after the caret in your RewriteRule. Should be ^/att... not ^att...
On Thu, May 28, 2009 at 5:24 PM, Les Mizzell lesm...@bellsouth.net wrote:
Trying to get Ionic IsapRewrite working locally so I
Do you have an SPF (http://www.openspf.org/) record in your DNS? If
not, you should add one. Hard to say whether it'll help or not in
this particular case, but it's a good thing to have set up if you're
going to be sending out email.
cheers,
barneyb
On Thu, May 28, 2009 at 5:56 PM, Vineetha
Use mod_rewrite to rewrite robots.txt to robots.txt.cfm internally and
have it generate whatever it needs. We don't generate any robots.txt
files dynamically, we generate several static versions
(robots_something.txt, robots_or_other.txt, etc.), and then use
mod_rewrite with RewriteCond checks
: Barney Boisvert [mailto:bboisv...@gmail.com]
Sent: Wednesday, May 27, 2009 11:18 AM
To: cf-talk
Subject: Re: Dynamic robots.txt
Use mod_rewrite to rewrite robots.txt to robots.txt.cfm internally and have
it generate whatever it needs. We don't generate any robots.txt files
dynamically, we
ColdDoc by Mark Mandel: http://colddoc.riaforge.org/ or CFCDoc by
Spike, myself, and Jax (http://cfcdoc.riaforge.org/). ColdBox uses
the latter.
cheers,
barneyb
On Wed, May 20, 2009 at 3:35 PM, Jake Pilgrim jpilg...@snapfitness.com wrote:
I'm looking to document our codebase. I'd like to use
This is untested, but should be close.
REReplace(string, [a-zA-Z0-9_-]+\.cfm\?code=([A-Z]{2}), \1.html, all)
find zero or more a-zA-Z0-9_-, then .cfm?code=, then any two A-Z and
replace the whole thing with thos upper case letters plus .html. If
someCFMFile.cfm is static, you can replace that
Here are a pair of implementations.
http://barneyb.com/r/word_hist.cfm Also submitted on your blog post,
but this way people searching the mailing list will see it.
cheers,
barneyb
On Sat, May 9, 2009 at 7:15 PM, Jeff Gladnick jeff.gladn...@gmail.com wrote:
Does anyone have a better way of
The comparison isn't between CF and SharePoint, it's between your
solution (which happens to be written in CFML) and SharePoint. If you
want to compare CF against something it'd need to be .NET (which is
what SharePoint is implemented in), not SharePoint itself.
cheers,
barneyb
On Fri, May 8,
Untested, but it should get you going...
jQuery(input[name='ToolCost']).change(function() {
jQuery(input[name='display']).val(jQuery(input[name='']).val() *
jQuery(this).val())
});
In real life you'd want to use contextual/semantic selectors to grab
the elements in question, rather than the
Looks like it's converting inStr to XML, doing a quasi-XPath query to
pull out the text of the first PRE tag within the BODY tag, and then
splitting it into a Java array based on space characters. The regex
used for the .split() call is kind of silly, just + would have been
sufficient. I don't
To answer your core question, yes, you can set session variables
inside CFCs and they'll be set just as effectively as setting them
anywhere else.
I didn't quite follow what you're doing, but it sounds like you
probably have a race condition somewhere. Logging is often the best
way to find
jQueryUI is probably the way to go. I've used both it and
Scriptaculous, and jQueryUI would be my recommendation if you're not
already using Prototype/Scriptaculous. I still mostly use my own
implementation (demo at http://www.barneyb.com/web/widgets/) that
predates both frameworks by a year or
That's the right algorithm, and the best you'll do in CFML. However,
you've got a couple bits that are slightly off. Here's the right
bits:
cfset found = false /
cfloop list=#listOne# index=i
cfif listFind(listTwo, i)
cfset found = true /
cfbreak /
/cfif
/cfloop
You want listFind
Hashes are intentionally one-way. You can't get back to the original
source other than doing a brute-force search of source strings until
you find one that matches the hash. Obviously that's really time
intensive, especially if the source string is of arbitrary length.
That site you link to
Here you go:
http://barneyb.com/r/image_src.cfm
I'm even wearing my i know regular expressions shirt today. ;)
cheers,
barneyb
On Thu, Apr 16, 2009 at 12:29 PM, Che Vilnonis ch...@asitv.com wrote:
Any takers? I'm looking to get a RegEx to find the image URL from some HTML.
Basically, find
What DB are you using? If it's MySQL, you can use this:
select client.name, group_concat(clientphone.number) as phone numbers
from client
left outer join clientphone on client.id = clientphone.clientId
group by client.name
If it's MS SQL Server you can use a subquery with FOR XML PATH and
Here you go. Note that they're not really semantically equivalent,
they just happen to return the same results. The approach for
obtaining the result is completely different, and the MS SQL one,
while less direct for the actual comma separate list creation, is far
more expressive for what
doesn't Would you mind elaborating?
And for those interested in what I'm talking about his Barney's use of
FOR XML PATH, the msdn reference is here:
http://msdn.microsoft.com/en-us/library/ms189885(SQL.90).aspx
Thanks,
Judah
On Tue, Apr 14, 2009 at 1:20 PM, Barney Boisvert bboisv...@gmail.com
Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information
--
Barney Boisvert
bboisv...@gmail.com
http
Well, using actual purchases is the best bet, but also the least
targeted. With the scale of Amazon the biggest win is in providing
the best recommendations If you're a small shop, on the other hand,
you probably want a slight bias towards higher margin products because
those do the most for
IN requires parentheses to delimit the expression it is searching within:
NOT IN (#listOfIds#) ...
And use CFQUERYPARAM. Really.
cheers,
barneyb
On Mon, Apr 6, 2009 at 11:02 AM, Dave Long d...@northgoods.com wrote:
I'm trying to create a page with two lists consisting of data from two
Before we get WAY out of hand, reading and actually understanding the
licenses in question would be a good thing to do. Both the GPL and
LGPL are activated by distribution. What distribution means is a
grey area, and I have no comment on that particular aspect. But if
you don't distribute
Before I dive in, can anyone point me to a good rewrite script that would
give me: www.example.com/go/myURL
If you're using Apache, mod_rewrite. If IIS, then isapi_rewrite.
I've not used the latter as Apache is all I use, Linux and Windows.
In either case, you just need this (roughly):
Yeah, CF7 and CF8 both added new operators. I tweaked it; give it
another whirl.
On Fri, Mar 27, 2009 at 7:36 AM, John Drake thedangerman...@yahoo.com wrote:
100% kludge, but it works:
http://barneyb.com/r/guess_sex.cfm
Nice work Barney. Is there anything in there that requires a
cfset fileOutput = 'cflocation url=#longURL# addtoken=false /' /
One might ask why you're using directories and CFM files to accomplish
this task. Every web server supports rewriting engines which would
allow you to use a single script and a database to accomplish this
task in a far more
/?getDoc=cflocation
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/3/27 Barney Boisvert bboisv...@gmail.com:
Further, you almost certainly want to be doing a 301 instead of a 302
to the long URL, which CFLOCATION doesn't provide. If you opt to
continue
100% kludge, but it works:
http://barneyb.com/r/guess_sex.cfm
Source is below the HR, and there's a Groovy in a comment. Slightly
different semantics, but same general idea. Neither one handles all
the edge cases properly.
cheers,
barneyb
On Wed, Mar 25, 2009 at 10:11 PM, Doug Smidt
are the data.
cheers,
barneyb
---
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com
On Mar 21, 2009, at 5:21 PM, Peter Boughton bought...@gmail.com wrote:
I also need to join to a table of images
increasing the number from by a factor of 10 to approx 100,000
results.
Don't store images
#evaluate('form.#id#_name')# becomes #form[#id#_name]#
cheers,
barneyb
On Thu, Mar 19, 2009 at 2:18 PM, Jim McAtee jmca...@mediaodyssey.com wrote:
I read that in CF8 evaluate() should no longer be necessary. If so, how
would you cleanly rewrite the code below without it?
I have a table
It doesn't work because you can't run multiple statements in a single
query. If you use two CFQUERY tags (wrapped in a CFTRANSACTION to
ensure connection affinity) it'll work fine. MySQL Front is splitting
the single query into two distinct queries on the semicolon, sending
each to the server
CFTRANSACTION with innodb tables, not
MyISAM tables. I don't know if it will throw an error or not, last time
I tried it did not, but there is no transaction going on when you use
these tags with MyISAM tables.
-Ryan
Barney Boisvert wrote:
It doesn't work because you can't run multiple statements
You need a dollar sign at the end of the regular expression. Then it
should work.
cheers,
barneyb
On Tue, Mar 17, 2009 at 4:08 PM, Les Mizzell lesm...@bellsouth.net wrote:
Need a little hlep on a IIS URL Rewrite Rule:
I've got the files:
1. RSVP/index.cfm - currently contains a jump menu
CAPTCHA is virtually never the right solution. If a simple CAPTCHA is
sufficient to protect your form, you're not securing something
immensely valuable in an attacker's eye. If simple CAPTCHA isn't
sufficient, then complex CAPTCHA will be broken as well, because
you've obviously got something
A nonce is designed exactly for the case of validating a
form-to-action process: that's the whole point. Using CAPTCHA for
that works, because CAPTCHA is a form on nonce that requires the user
to promote the nonce into a state that can be passed to the action.
But the core functionality is still
I've always used rsync to deploy stuff. It's fast and easy, and since
it's all command-line driven it's easy to integrate with pretty much
any automation framework you might have. Just a matter of looping
over your server list and rsyncing to each one.
cheers,
barneyb
On Thu, Mar 12, 2009 at
YesNoFormat does it for yes and no, but nothing built in for true and false.
cheers,
barneyb
On 3/8/09, Chad Gray cg...@careyweb.com wrote:
Isnt there a CF function that takes a 1 or 0 and converts it to display True
or False?
Or am I dreaming?
, but
we're looking at it now, and want to understand how changing these
_could_ affect performance, either negatively or positively.
Cheers,
Kris
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
~|
Adobe® ColdFusion
Listen 1.2.3.4:80
NameVirtualHost 1.2.3.4:80
VirtualHost 1.2.3.4:80
ServerName my.domain.com
/VirtualHost
VirtualHost 1.2.3.4:80
ServerName other.domain.com
/VirtualHost
On Wed, Mar 4, 2009 at 10:57 AM, Ian Skinner h...@ilsweb.com wrote:
Barney Boisvert wrote:
ServerName sets the name
If you're doing that, you don't need name hosts, because each host is
on a different Listen. Go read the docs. Really. It'll make your
job a lot easier.
On Wed, Mar 4, 2009 at 11:39 AM, Ian Skinner h...@ilsweb.com wrote:
Barney Boisvert wrote:
Listen 1.2.3.4:80
NameVirtualHost 1.2.3.4:80
That's a starting point, and needs to be tuned for your specific
application, so it's kind of irrelevant how good of an estimate it is.
I'd say each instance gets (4 * CPUs / instances) to start with, and
then do your tuning from there. And make sure if your instances are
sharing hardware
. Then you can support arbitrary URL formats without a
dependence on one specific web container.
cheers,
barneyb
---
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com
On Feb 28, 2009, at 10:18 AM, Gert Franz gert.fr...@railo.ch wrote:
Gerald,
you're right. Tomcat only allows one
Yeah, you bet. Just set the list of IP/ports in the VirtualHost
directive (space separated), and add necessary ServerAliases:
VirtualHost 192.168.100.251:80 192.168.100.252:80
ServerName www.mentor.com
ServerAlias mentor.com
ServerAlias origin.mentor.com
to.
You'll have to have a NameVirtualHost for every ip/port that you want
to serve multiple vhosts from, based on host headers.
cheers,
barneyb
On Wed, Feb 25, 2009 at 3:08 PM, Ian Skinner h...@ilsweb.com wrote:
Barney Boisvert wrote:
Yeah, you bet. Just set the list of IP/ports
The importer is broken. The quotes surrounding each field imply that
the field is terminated by a quote as well, so any commas within the
quoted string are NOT field separators. That's part of both standard
CSV and Excel's slightly modified dialect. If the importer truly
splits on every comma
Have you checked the raw result coming back from the DB (i.e.
#qPayments.refundamt#)? That might be the difference.
cheers,
barenyb
On Thu, Feb 19, 2009 at 3:38 AM, shaun mccran
houseoffus...@mccran.co.uk wrote:
Hi all,
I have a weird issue with some number formatting, or more
My guess is you need to go change the buffer size in the DSN settings
in the CF Admin.
cheers,
barneyb
On Thu, Feb 12, 2009 at 11:07 AM, Mik Muller ad...@montaguema.net wrote:
Hey all,
Bizarre. I have a message board application and a new user is posting 130,000
character long
You can use the image functions to do this, though for the lettering
will probably be a pain (I think you'd have to use composite images).
It'd be doable though. I'd expect any significant image package has
support for laying text out like this, so that's undoubtedly a better
bet.
cheers,
Here's one way:
function getColorPart() {
var n = formatBaseN(randRage(0,255), 16)
if (len(n) EQ 1) {
n = 0 n;
}
return n;
}
cfset color = #getColorPart()##getColorPart()##getColorPart()# /
That said, you don't want to do that. Really. Use a tool to create a
palette of colors that go well
Check out the CFIMAGE tag, or the imageXXX()s built-in.
On Fri, Jan 30, 2009 at 3:18 PM, Fawzi Amadu abd...@gmail.com wrote:
Hello,
I want to know if there is a way to have a user upload an image and then I
automatically make a miniature version of it for showing summary information.
TIA
CASE is part of core SQL, not an MS extension in T-SQL. But not
supported by QofQ either way. Write to your local Adobe rep today!!
cheers,
barneyb
On 1/19/09, Andy Matthews li...@commadelimited.com wrote:
I don't believe you can use T-SQL case statements in a QofQ.
-Original
CF can connect to a database on a remote box - that's the way pretty
much everything is set up, except on shared hosting where you usually
have a single box filling both roles. With separate boxes you can
scale the two halves separately, which is quite important as your
resource needs grow,
Yeah, if you don't have the DSN config available to you, you're kind
of stuck. You can sort of fake it by manually doing your own JDBC
connections, but that's a disaster waiting to happen. If you've got
the ability to do it locally on your own hardware, I'd highly
recommend that approach.
You don't have a root element in your XML document. The output will
be something like this:
?xml version=1.0 ?
img ... /
img ... /
img ... /
XML documents can only have a single top-level tag, so you'll need to
wrap your img tags with a container of some sort.
cheers,
barneyb
On Fri, Jan 16,
CFCHART can emit PNG and JPG. Google Charts does everything with PNG.
Some Flash-based engines can export an PNG version of their content
view, and others accept static XML files to create the display. In
short, there are a lot of options that don't require any sort of
server-side component at
Or just use CFCHART's 'name' attribute. It puts the raw bits of the
generated chart into the named variable for you to write to disk with
CFFILE or whatever.
cheers,
barneyb
On Thu, Jan 15, 2009 at 2:10 PM, Dave Watts dwa...@figleaf.com wrote:
Even with CFMX and CFCHART requesting for a jpeg
I wrote a little app that did that for turning a color palette into a
full set of needed colors (alternating row background, different
button states, etc), but it was at my last job and I don't have the
code anymore. Wasn't that hard to do if you can't find anything.
Convert the RGB into HSV, and
;
}
return uCase(value);
}
On Thu, Jan 15, 2009 at 2:31 PM, Barney Boisvert bboisv...@gmail.com wrote:
I wrote a little app that did that for turning a color palette into a
full set of needed colors (alternating row background, different
button states, etc), but it was at my last job and I don't have
MySQL doesn't allow multiple statements in a single query unless you
change a server config option. It's a form of SQL injection
protection. So just run the two statements in two CFQUERY tags.
You'll need to ensure they're on the same connection with no
interleaved queries though, so make sure
When you say beef up what do you mean? What is the business objective?
For the basics, make sure you're storing passwords as salted hashes.
Beyond that, it'll depend on what the goal is.
cheers,
barneyb
On 1/14/09, Doug Smidt doug_smi...@yahoo.com wrote:
The small company I work for has been
they hit mark all listened?
Barney Boisvert wrote:
Databases are good at storing data. With proper indexing, a few
million rows is nothing. I'd store tracks listened to. Make the
model simpler, speed user creation, and odds are most people are going
to listen to less than 25K distinct songs so
You'll have to break your method up in to smaller methods. CFSWITCH
used to have this same problem, but Adobe (or maybe Macromedia)
changed the compiler to work around it. CFC's also are exempt, but
function bodies apparently aren't. Make sure you submit a bug to
Adobe on it as well:
Yes, I think it's a bug. Just because Java has a hard limit doesn't
mean that CFML should. CFML is NOT Java. An analogous bug was fixed
in CFSWITCH's compilation (the _factorN classes), and I don't see a
fundamental difference here. Obviously the underlying Java is
different, but from the CFML
On Mon, Jan 12, 2009 at 1:36 PM, Dave Watts dwa...@figleaf.com wrote:
Well, ok, would you consider this bug resolved if Adobe stated in the
documentation that you can't have a CF file larger than x KB?
That doesn't address the issue. The issue is that a bytecode method
can't be longer than X,
All I'm asking is, given some arbitrary number, would you accept that
as a bug fix?
No, that just makes it a known issue. But it's really irrelevant. If
I ever write 250-line method/UDF, I'll be quite surprised, let alone a
2000-line one. I've got plenty of files that are far larger than
Databases are good at storing data. With proper indexing, a few
million rows is nothing. I'd store tracks listened to. Make the
model simpler, speed user creation, and odds are most people are going
to listen to less than 25K distinct songs so it'll require less rows
too.
---
Barney
Of course. You should be able to set everything up exactly as in
production except the domain name and port.
cheers,
barneyb
---
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com
On Jan 10, 2009, at 10:24 AM, Rick Faircloth
r...@whitestonemedia.com wrote:
Should I be able to set
config, if you store WEB-INF in you project (which you
should if you run your own servers).
cheers,
barneyb
---
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com
On Jan 10, 2009, at 11:44 AM, Rick Faircloth
r...@whitestonemedia.com wrote:
Well...what am I missing?
Certain CF Admin
Don't do that. What's happening is that the number
(isthere.recordcount) is being implicitly converted to a boolean for
the CFIF to process. Implicit conversion where the destination type
is something besides String is almost always the devil, end even if
it's String it's still the devil
Just my opinion, but unless you have a crazy-specialized use case,
writing blogging software is the wrong choice. There are so many
choices out there, and many (most?) are open source so they can be
customized. Almost no reason to start from scratch.
cheers,
barneyb
On Wed, Jan 7, 2009 at
, comments, categories, tags, etc.
I was just wondering if there was anyone who was thinking about doing the same
or was already underway.
-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com]
Sent: Wednesday, January 07, 2009 3:06 PM
To: cf-talk
Subject: Re: Anybody out
CFTHREAD's sleep action.
On Tue, Jan 6, 2009 at 5:10 PM, Pete Ruckelshaus pruckelsh...@gmail.com wrote:
I'm using cfhttp to retrieve a large number of image files off of a
supplier's catalog. The problem is that I don't want to hammer the
supplier's site (they know we're doing this), so I'd
Should work just fine, CFINVOKE doesn't really care how it's called,
just that it has the right attributes/arguments. What's the error
you're getting?
cheers,
barneyb
On Tue, Jan 6, 2009 at 11:28 PM, Torrent Girl torrentg...@gmail.com wrote:
I am trying it an it's not working.
Here is a
Then it's getting called successfully and your in-method checking is
erroring. Probably have something wrong with the way you're
extracting the dynamic arguments. But the CFINVOKE itself is working.
Can you comment out the CFINVOKE and just CFOUTPUT the arguments that
you're passing so you can
If you've got this:
cfloop index=i list=#form.#
cfinvoke
component=XXX
method=YYY
returnvariable=ZZZ
cfinvokeargument name=userID
value=#sessionRead.userID#/
cfinvokeargument name=courseID value=#i#/.
just change it to this:
cfloop index=i
101 - 200 of 2807 matches
Mail list logo