There is absolutely no reason to parse a CSV document manually; there
are myriad tools for exactly this purpose. A quick Googling will turn
up a pile of options. You may need to tweak them if your file is
enormous and must be processed line-by-line, but even then you should
be able to use an
It'll be in the referrer, if present, which is sent by the browser.
cgi.http_referer, split it up, check the domain to identify the search
engine, and then check the query string to find the search query under
the corresponding variable.
cheers,
barneyb
On Tue, Jun 1, 2010 at 1:34 PM, UXB
? Or is
it not required because the application name does not change?
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.co
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp
What attributes scope? If you mean the structure
variables.attributes that is created from the form and url scopes by
some front controller frameworks, then no, since it's just a struct
(not a scope). In general, however, referencing the environment from
within a CFC is a bad idea. In nearly
CFLOCK is only required to serialize access to prevent race
conditions. For immutable state, no race conditions can arise, so
locking is unneeded. Since application.applicationname is immutable,
you don't need to lock access to it.
In a more general sense, anything that is only accessed in a
On the flip side, if you contact Michael Dinowitz, he would be able to
delete the post. Whether he would be willing to do that or not is a
different question, but he's the man to talk to about at least
removing it from HoF.
But as has been pointed out, making it non-public is impossible, even
http://dev.mysql.com/doc/refman/5.0/en/views-table.html
On Wed, May 26, 2010 at 1:00 PM, Ray Meade raym...@yahoo.com wrote:
I'm trying to create a custom export page for our member rep's. I'm using
cfdbinfo to get a list of tables to pull the data from, but I also have a
handful of views
This is the right way to do it, in general:
cfsavecontent var=content
#chr(60)#cfoutput
li.../li
#chr(60)#/cfoutput
/cfsavecontent
It's kind of ugly, however, and this will often work:
cfsavecontent var=content
[cfoutput
li.../li
[/cfoutput
/cfsavecontent
cfset content =
The guy who built it happens to be sitting at the desk next to me. ;)
It's not really a wiki, but it might serve the need. Canvas and Codex
are both real CFML wiki packages, and they should run next to
CommonSpot, I'd think.
cheers,
barneyb
On Tue, May 18, 2010 at 9:44 AM, Sandra Clark
Make a HTTP host that simply redirects to the same domain-relative
URI, except over HTTPS. Then every request will be either over SSL or
forward to one that is.
cheers,
barneyb
On Tue, May 18, 2010 at 10:00 AM, Donnie Carvajal
donnie.carva...@transformyx.com wrote:
Does anyone know of a way
That won't work, you'll get 100.00, not 10.00. Try
REReplace(my_number, [^0-9.], , all).
cheers,
barneyb
On Thu, May 13, 2010 at 10:34 AM, DURETTE, STEVEN J (ATTASIAIT)
sd1...@att.com wrote:
Robert,
You shouldn't have to strip it in a perfect world, but the comma makes it a
string
it be
REReplace(my_number, [^0-9\.], , all)?
I thought that . meant any single character in RegEx.
Thanks,
Steve
-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com]
Sent: Thursday, May 13, 2010 1:38 PM
To: cf-talk
Subject: Re: Convert to number
That won't work
I'm not sure what you mean, but with a snip of Groovy you can group an
array's items into a structure with a key for each group. Consider
this array:
cfset variables.people = [
{ name = barney, age = 29 },
{ name = kim, age = 30 },
{ name = holly, age = 33 },
{ name = emery, age = 4 },
{
that occur at
roughly the same time obtain the proper incremental id from an Identity
column? Is their a SQl equivalent to CF's cflock tag?
Thanks, Che
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
~|
Want to reach
The error you're catching might not have those properties. For
example, maybe it's a connection failure error. Or perhaps an
expression error in a CFQUERYPARAM. Those keys will be present when
appropriate, but they're not necessarily available all the time. As
such, you have to do existence
s = 20100420;
mid(s, 5, 2) / right(s, 2) / left(s, 4);
cheers,
barneyb
On Tue, Apr 27, 2010 at 8:32 AM, Che Vilnonis ch...@asitv.com wrote:
I'm working with an accounting database that stores order dates as a varchar
(8) field. An example would be 20100420.
Obviously, CF's dateformat
Eclipse (via a plugin) supports JavaScript scripting of the IDE, so
you can get some of this behaviour. It's not snippet-centric, which
makes snippets harder, but lets you do anything you want (e.g., bulk
edit files).
I can't remember the name of the plugin off hand, but Google should
turn it
Sorry, I don't know. A quick Googling
(http://www.google.com/search?q=scripting+eclipse) turned up a pair of
projects:
Eclipse Monkey:
http://www.brain-bakery.com/projects/articles/eclipse-monkey-scripting/
Eclipse Shell: http://eclipse-shell.sourceforge.net/
The former is the one I was
Only a single Application.cfm file (note the capital 'A') will be run
for a single request. CF will look up the directory tree until it
finds one, but it will stop it's search at the first one encountered.
If you want to chain Application.cfm files as you propose, simply use
CFINCLUDE to grab
at 8:35 AM, Cutter (ColdFusion)
cold.fus...@cutterscrossing.com wrote:
Barney,
Not to pick a fight, but what problems do you see with using
Application.cfc? I, personally, find it to be a much better solution, so
I am curious about your misgivings...
Steve Cutter Blades
--
Barney Boisvert
Hit CTRL-H, and then pick your search scope/context near the bottom of
the dialog (project, workspace, selected files/folders). You can also
use the Search menu to do it.
cheers,
barneyb
On Sat, Apr 10, 2010 at 8:36 PM, fun and learning
funandlrnn...@gmail.com wrote:
Hi,
Is there a way in
Eric, you can use the function category dropdown if you want to
filter that way instead of enter the text it starts with.
cheers,
barneyb
On Thu, Apr 8, 2010 at 8:01 AM, Eric Cobb cft...@ecartech.com wrote:
I like http://coldfusiondocs.com/app/, it has both ACF and Railo
(although CF 9 stuff
cfquickdocs.com is a similar concept and it has modern docs. I'd
imagine cfdocs.org was probably abandoned if it's that old, quite
likely because cfquickdocs is around now.
cheers,
barneyb
On Wed, Apr 7, 2010 at 9:31 AM, Dave Sueltenfuss dsueltenf...@gmail.com wrote:
Does anyone know if the
anyone know why requests run on the older generation xeon 5160 would be
20% faster than the current generation 5540? Is the speed of a ColdFusion
app purely based on clock speed in anyone elses experience?
Thx,
John
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb
The instruction width doesn't change the number of instructions you
can run at any given time. Certain operations can be done more
efficiently (for example, adding small numbers can be done
in-instruction, rather than having to load stuff into registers
first), but in general it's not going to
cfset t1 = #Trim(t1.Team)#
you're setting t1 equal to a string, so it's no longer a recordset.
cheers,
barneyb
On Mon, Apr 5, 2010 at 12:33 PM, Rick Sanders c...@webenergy.ca wrote:
I've done this a dozen times before, and now the following code gives me
this error:
You have attempted to
that will generate some html to be displayed inline. I was
just going to reuturn a string rather than have it output directly. Is this
the proper way to do that?
How do I save generated html from cf code into a variable to be returned as
a string?
Thanks.
--
Barney Boisvert
bboisv
MySQL has decent (not stellar, not terrible) FULLTEXT indexing
capabilities. It's not going to give you web indexing, just database
indexing, but that might be sufficient if the content to search is
simple and stored the right way. If you wanted to go really low tech,
you could use wget to
I'm pretty sure in CF8 the limitation is 1 on standard, not 10. The
default max concurrent threads setting in the CF Administrator is
10, but that's irrelevant on standard, since it's hard-capped at 1.
cheers,
barneyb
On Thu, Mar 25, 2010 at 10:43 AM, Judah McAuley ju...@wiredotter.com wrote:
Your second query is the problem, both the repeating data and the
slowness. You have a full outer join of five tables, which is not
what you want. You need inner joins. Here is a simple reference that
might help you on your way:
http://www.sql-tutorial.net/SQL-JOIN.asp
Has a million
The CSV format is not a comma-delimited list per line. It's richer
than that. So you can't just use the list functions on it, you need
an actual CSV parser. One isn't hard to write (and there are several
valid approaches), but the easiest course of action is to just grab
one that is already
Version control software. Always use it. If the company doesn't want
to use it, that's their [idiotic] prerogative, but there is no reason
you can't with a local server.
Subversion is trivially easy to set up a repository whatever your OS
(download and install free binaries). The cool kids
How does running IIS in 32-bit mode affect your CF? Just run a 32-bit
IIS and have it front your 64-bit CF, right? Or were you going 64-bit
specifically for IIS?
Or even better, drop IIS for Apache. :) Where we still have Windows
at work, we use Apache exclusively. It works like a champ.
jQueryUI has a pretty nice autocomplete widget that I use for most stuff:
http://jqueryui.com/demos/autocomplete/
I wrote this combobox 5-6 years ago (because there weren't any freely
available implementations that didn't suck) and though it predates
both jQuery and Prototype, still use it when
=testquery
customtag:
cfquery dbtype=query name=#attributes.query#
select * from #attributes.query#
/cfquery
Obviously the name=#attributes.query# does not work.
Any ideas?
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com
You can happily query multiple databases within the same request; what
you can't do is query multiple databases within a single transaction.
So as long as your CFQUERY tags don't share a CFTRANSACTION block you
should be fine.
Can you post the actual error message?
cheers,
barneyb
On Thu, Mar
I've updated the UDF on my blog to deal with the
closing-tag-on-same-line issue, as well as submitted it to cflib.org.
cheers,
banreyb
On Sat, Mar 6, 2010 at 3:13 PM, Scott McAllister stmcallis...@gmail.com wrote:
Got it! Thanks to all that replied and helped!
Barney, I used your UDF and it
If you like procedural, fb3lite is a extra-super-lightweight
combination of FB3 and FB5 that I built a few years ago.
http://www.barneyb.com/barneyblog/projects/fb3lite/
The framework is a whopping 72 lines long, but I use it for pretty
much everything I do, and after I used it for a couple
I haven't tested this, but I'd imagine that the CURRENT tag is on the
tag stack (as it is with exceptions). Since getBaseTagData operates
on names rather than offsets/indexes, it's going to match the current
tag, and then return it's own data. So lvData is pointing at one of
it's own scopes,
I wrote this little UDF a couple years back to pretty-print XML.
http://www.barneyb.com/barneyblog/2008/05/01/indentxml-cf-udf/
cfoutput
pre#htmlEditFormat(indentXml(xmlStringToFormat))#pre
/cfoutput
On Fri, Mar 5, 2010 at 10:20 PM, Brad Wood b...@bradwood.com wrote:
From the error message, it appears that your login attempt is failing.
Did you double check your username/password in the DSN settings?
cheers,
barneyb
On Wed, Mar 3, 2010 at 8:30 AM, Orlini, Robert rorl...@hwwilson.com wrote:
I'm running CF7 on Linux and it won't connect to the datasources.
other languages but I've never
seen it in CF. Anyone know when it was added?
Please make me look like a fool for missing it. :)
--
Michael Dinowitz
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
~|
Want
You can remove the servlet mappings from web-xml. I suppose that's
technically editing configuration files manually, but everyone
already does that for RDS, so it's not that foreign.
cheers,
barneyb
On Thu, Feb 18, 2010 at 1:50 PM, Dave Watts dwa...@figleaf.com wrote:
Ok, cool. Thanks. I
Just add:
(select count(*) from articles where zipcode = fddirectory.fdd_zip) as
articleCount
to the end of your SELECT clause:
SELECT fddirectory.fdd_id, fddirectory.fdd_name, fddirectory.fdd_zip,
fddirectory.fdd_state, states.abrev
, (select count(*) from articles where zipcode =
What version of MySQL are you using? If it's a really old one that
doesn't support subqueries, check out the MySQL docs. They have a
section about rewriting subqueries into JOINs.
cheers,
barneyb
On Mon, Feb 15, 2010 at 9:16 AM, Barry Mcconaghey bmcconag...@gmail.com wrote:
Thanks Barney B.
You just need a JOIN and GROUP BY clause. Check out the
subquery-to-join docs on MySQL's site. They have examples of how to do
exactly what you want.
cheers,
barneyb
On Mon, Feb 15, 2010 at 11:19 AM, Barry Mcconaghey
bmcconag...@gmail.com wrote:
I'm using MySQL 4.0.20.
Is there any other
Either the containing directory doesn't exist, or you (meaning the CF
server) doesn't have sufficient privileges to create a new file in
that location (because of filesystem ACLs). Java doesn't delineate
between the two for security reasons, much like web apps return 404
for existing resources
You have to specify which version of CF you're using on your project,
and if you upgraded, you'll still be set on CF8. Not sure what the
default is, but it could well be CF8 as well, since CF9 is still lower
adoption.
cheers,
barneyb
On Tue, Feb 9, 2010 at 11:50 AM, Qing Xia
upgraded, you'll still be set on CF8. Not sure what the
default is, but it could well be CF8 as well, since CF9 is still lower
adoption.
Oh yeah, you are right Barney. My dictionary view is set to CF8. Trying to
figure out how to update it to CF9 now...
--
Barney Boisvert
bboisv
You need a slash at the front of your rule (and you DO need to escape
both the question mark and period):
RewriteRule ^/index.cfm\?fuseaction=test\.test$ bob.html
cheers,
barneyb
On Sat, Jan 23, 2010 at 12:23 PM, Matthew Gersting mgerst...@gmail.com wrote:
Hey gang,
Having an issue I was
.
cheers,
barneyb
On Mon, Jan 18, 2010 at 10:22 AM, Victor Moore victor.mo...@gmail.com wrote:
I think I will stick with one load per call and probably will end up
saving it in the application scope so it's available
in other places as needed.
Thank you
Victor
--
Barney Boisvert
bboisv
with separation of layers?
Thanks.
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
and test it.
Thanks
Victor
On Sat, Jan 16, 2010 at 11:58 PM, Barney Boisvert bboisv...@gmail.com wrote:
The short answer is no.
The long answer is that yeah, you can do a whole bunch of hacking
around to make it work like that (or at least APPEAR to work like
that), but it's a mess. I
-performance-tuning-lazy-loading/,
if you use lazy=proxy, you would only load the objects you use. So if
you only displayed the first three, then only the first three would be
loaded.
On Sun, Jan 17, 2010 at 7:13 PM, Barney Boisvert bboisv...@gmail.com wrote:
If you subCategories collections
and more, so
don't do that. :)
Sorry for how run-on that is. Hard to do editing on the phone, so I
just kind of streamed it out.
cheers,
barneyb
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
On Jan 17, 2010, at 9:52 PM, Raymond Camden rcam...@gmail.com wrote:
I'm confused
The short answer is no.
The long answer is that yeah, you can do a whole bunch of hacking
around to make it work like that (or at least APPEAR to work like
that), but it's a mess. I can't think of a case when you wouldn't be
better off a) just constraining the loop over the subcategories when
I would expect the order to be the same as the order that the fields
are submitted to the server (which, in turn, should be the same as the
DOM order of the form elements), but if I wouldn't rely on that
behaviour. If you need them in a specific order, best to order them
yourself on the server.
What you need to do is take the input password and encrypt it in the
same way that the database password was originally encrypted. Then do
a string compare on the two of them.
Typically when you store passwords you don't encrypt them, you hash
them. Encryption is symmetric; encrypted things
. For
example take this line:
1,barney,boisvert, \crazy man\, barney,1234 Main Street, Apt 5
When you listToArray it, you'll get this:
[
'1',
'barney',
'boisvert',
' \crazy man\',
' barney',
'1234 Main Street',
' Apt 5'
]
Note the position of the double quotes in the items. What you need
, 2009 at 9:21 AM, Phillip Vector
vec...@mostdeadlygame.com wrote:
On Tue, Dec 22, 2009 at 9:09 AM, Barney Boisvert bboisv...@gmail.com wrote:
Use a CSV parsing library, rather than rolling your own. They take
care of all that stuff for you. I've used
http://ostermiller.org/utils/CSV.html
If you just want to silently ignore, wrap with CFTRY..CFCATCH and
nothing in the CFCATCH. Typically windows has this problem if another
process has the file open for some reason (or just hasn't cleaned up
it's handles).
cheers,
barneyb
On Mon, Dec 7, 2009 at 7:37 AM, Stefan Richter
to force delete it
somehow - any process that is still hanging onto it would likely be CF or the
webserver. On the other hand, how can I find out what's holding onto it? I
know how to do this on OSX...
Cheers
Stefan
On 7 Dec 2009, at 15:40, Barney Boisvert wrote:
If you just want
Do you have CFFLUSH above the CFLOCATION tag anywhere (like another
template or Application.cfm)? Once you flush the page, you can no
longer do a CFLOCATION (or CFHEADER, CFCONTENT, etc.).
cheers,
barneyb
On Fri, Dec 4, 2009 at 11:27 AM, Mike Stromme gtrplayer5...@gmail.com wrote:
Anyone
Just change that EQ to LT and you'll be set.
On Sunday, November 29, 2009, m...@markleder.com m...@markleder.com
m...@markleder.com wrote:
Hi all,
Trying to do a date compare on a file datelastmodified (retrieved through
CFDirectory).
If the file datelastmodified is older than 1 hour
Assuming 'n' is your number, use #round(n * 2) / 2#
For example:
3.21 * 2 == 6.42
round(6.42) == 6
6 / 2 == 3
3.31 * 2 = 6.62
round(6.62) == 7
7 / 2 == 3.35
cheers,
barneyb
On Wed, Nov 25, 2009 at 11:13 AM, Che Vilnonis ch...@asitv.com wrote:
I'm trying to create a ratings system that
, Nov 25, 2009 at 11:32 AM, Ian Skinner h...@ilsweb.com wrote:
Barney Boisvert wrote:
7 / 2 == 3.35
No it doesn't! I suspect your typing thumbs, or is it your ring finger,
is making you look like a bad mathematician! ;-)
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com
cfset html = REReplace(html, '^(.*?img[^]+header.jpg[^]*).*', '\1') /
I think that'll do it, but I didn't actually test. That says
starting at the beginning of the string, find everything until you
find the string img, followed by one or more characters excluding
, followed by the string
select r.*, v.*
from (select resourceId from resources limit 100) r
inner join resourcesattributesvalues v on r.resourceId = v.resourceId
cheers,
barneyb
On Mon, Nov 16, 2009 at 4:49 PM, Agha Mehdi aghaime...@gmail.com wrote:
I have three tables
tableA Rresources (resourceID)
tableB
apps as well)?
cheers,
barneyb
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
On Nov 16, 2009, at 5:48 PM, J Boss dotfus...@changethings.org wrote:
I have ColdFusion 9 installed standalone and the performance is
great. I also have it as a WAR file running on Tomcat 6
If you don't mind synchronizing, you can just delete the directory (as
you are now) and then recreate an empty one after you're done.
Otherwise you'll need to use CFDIRECTORY to get a list of the
contained files and delete them individually with CFFILE.
cheers,
barneyb
On Monday, November 9,
just do cfset thisTag.generatedContent = / in the end tag?
CF has to do one or the other (render the output or suppress the
output), and then provide a means to accomplish the other. At least
from the perspective of the principle of least surprise, rendering the
output seems like the correct
the resulting variable
as an attribute into the now-self-closing custom tag.
Mik
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.co
~|
Want to reach the ColdFusion community with something they want? Let them know
and
sometimes cut up the generated images, or apply a different
compression setting, resize them etc.
Each step can take a few minutes.
Yes I could use some sort of polling mechanism but that's not slick
enough ;-)
Cheers
Stefan
On 27 Oct 2009, at 22:46, Barney Boisvert wrote:
No limit
No limit to threads on Enterprise Edition, but no CF edition allows
child threads. Total buzzkill. Fortunately, with native threads can
be leveraged with Groovy or JavaLoader's CFC-based dynamic proxies.
Neither one is particularly elegant, but at least you can do it, since
CF itself doesn't
MXUnit pretty much superceded CFCUnit. CFCUnit is still viable, of
course, but MXUnit is certainly seeing a lot more activity, and is
pretty much the de facto standard for unit testing of CF apps.
cheers,
barneyb
On Mon, Oct 26, 2009 at 9:15 PM, Judith Dinowitz
jdino...@houseoffusion.com
Can you post a link that isn't secured?
On Wed, Oct 21, 2009 at 12:35 PM, Michael Dinowitz
mdino...@houseoffusion.com wrote:
ColdFusion MX used to have an attribute called rotate which would
rotate a chart by 90 degrees. This was removed in ColdFusion 7 without
a good replacement. I've seen
The three uses of APPLICATION.DBPRE are invalid; hash-wrapped
juxtaposition is not valid for concatenation except within quoted
strings.
cheers,
barneyb
On Wed, Oct 21, 2009 at 2:20 PM, Douglas Brown mistobr...@gmail.com wrote:
I think I have lost it and cannot seem to see the error of my
. Would anyone
care to tell me what I'm doing wrong with CFHTTP or if alternatively, my
concerns are unfounded and my solution is in fact secure.
Thanks,
Asaf
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb
If you're picking one item from a query, you can just do:
myQuery.myColumn[randRange(1, myQuery.recordCount)]
That'll be way more efficient than reordering the whole query.
cheers,
barneyb
On Tue, Oct 13, 2009 at 2:53 PM, Yuliang Ruan yuliangr...@hotmail.com wrote:
I have a Query of Query
Totally untested and written on my phone, but it should be close:
A = listToArray(yourList);
Parts = [];
while (arrayLen(a) gt 100) {
ArrayAppend(parts, a.subList(0, 100));
A = a.subList(100, arrayLen(a));
}
Dump(parts);
Cheers,
Barneyb
--
Barney Boisvert
bboisv...@gmail.com
http
I don't see how that could possible be the case for Railor or
BlueDragon. All three engines operate in exactly the same way: a
servlet mappings for .cfm and .cfc files that run a servlet from the
local context. They all have to be copied into each context they're
needed.
Can we see your tomcat
the contents / structure of your
template project as that sounds exactly like what I am trying to setup?
Thanks
-- Jeff
-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com]
Sent: Wednesday, October 07, 2009 11:51 AM
To: cf-talk
Subject: Re: Deploying ColdFusion to Tomcat
,
barneyb
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
On Oct 4, 2009, at 10:05 PM, Mike Kear afpwebwo...@gmail.com wrote:
I've been trying to see what's the benefit of enhancing CFScript.
There are a couple of reasons I can think of, but am I missing
something
val() will do that for you, but that's a rather course approach. If
you have a know format (e.g. one number then one letter), you'd be
better parsing it explicitly (e.g., left(value, 1)) rather than using
something like val().
cheers,
barneyb
On Fri, Oct 2, 2009 at 12:48 AM, Damo Drumm
This isn't a list loop, it's an index loop into a list. There's is a
marked performance difference if you list is of any size, because you
have to do tokenization of the list at least twice per loop when you
use an index loop. I did some tests a few years ago and even a
10-item list is about
element). I don't know whether Open BlueDragon supports this feature
yet. Anyone?
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies US -- http://getrailo.com/
An Architect's View -- http://corfield.org/
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com
select last_insert_id() as id
http://dev.mysql.com/doc/refman/5.0/en/information-functions.html#function_last-insert-id
cheers,
barneyb
On Tue, Sep 29, 2009 at 12:16 PM, Agha Mehdi aghaime...@gmail.com wrote:
All,
How do I get the ID value back in CF from MySQL after doing an insert with
this.
ListA ListB ListC
1 1 1
2 2
3 3
4
5 5
The trouble is there is no master list to drive this from. I just can
not get my sleep deprived, aging mind to conceive of a way to create
this display from six arbitrary lists.
TIA
Ian
--
Barney Boisvert
Windows only runs on Intel, and I says windows right in the UA
string. What else do you need?
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
On Sep 26, 2009, at 11:23 AM, Don L do...@yahoo.com wrote:
Barney, thank you for your input.
I ran CGI.HTTP_USER_AGENT (cf
to
the point, unable to do anything architecture-specific anyway.
cheers,
barneyb
--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/
On Sep 25, 2009, at 6:37 PM, Don L do...@yahoo.com wrote:
Hi,
Preferably do it with javascript.
Did a bit of digging myself, neither
Do it on the app sever. Accept requests for xyz.com and abc.com, log
the request, and then redirect to finalsite.com. Just make sure you
do a 302 so search engines won't correct themselves.
cheers,
barneyb
On Wed, Sep 23, 2009 at 10:54 AM, David Torres djt...@yahoo.com wrote:
Hello,
My
On Wed, Sep 23, 2009 at 11:12 AM, Jacob ja...@excaliburfilms.com wrote:
Hmm... should it be a 301?
-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com]
Sent: Wednesday, September 23, 2009 11:02 AM
To: cf-talk
Subject: Re: Getting URL from URL address bar!
Do
Just add a dummy timestamp parameter to the url's query string. E.g.
change this:
fileXml.load(/path/to/your.cfm)
to something like this:
fileXml.load(/path/to/your.cfm?ts= + new Date().valueOf())
cheers,
barneyb
On Fri, Sep 18, 2009 at 11:18 AM, Michael Muller mich...@mullertech.com wrote:
CF looks up a whole pile of scopes when dereferencing variables,
including CGI. It's possible that IE8 sends an extra header named
myvar that is what CF found to interrogate, but no other browser
sends it. Is the actual name of myvar reasonable for that case?
cheers,
barneyb
On Thu, Sep 17,
100% untested, but you get the idea:
s = The project is done.;
strings = [
and dinna spare the whip,
and I sure am handsome,
...
]
start = 0;
while (true) {
// any . ? ! preceded by a letter and followed by a space
start = REFind([a-zA-Z][.?!]( |$), s, start);
if (start == 0) {
Or the user account the web/app server runs as shouldn't have write
access to the code it's executing? Sure, it might be a hole in IIS,
but IIS is like sieve, and you shouldn't be able to modify the code in
place like that in any case.
On Tue, Sep 15, 2009 at 10:14 AM, Michael Dinowitz
I'd recommend grabbing a SAX parser and using that instead of the
DOM-based stuff that CF ships with. Then you can stream the file in
and deal with it's nodes sequentially, rather than having to inflate
the whole thing into a DOM tree to manipulate. Definitely can make
the code trickier to
You can't send anything back to the user until all the photos are
uploaded, but once that's done, you can just leave them on disk,
record the fact that they're there in session scope, and return a
response after kicking off a background thread to process the images.
That background thread should
To this point, Adobe and it's ancestors have charged for all their
development products: HomeSite, CF Studio, Dreamweaver, UltraDev,
FlexBuilder, perhaps others? They also obviously charge for their
design products (the Creative Suite's members). It stands to reason
that FlashBuilder and CF
For the officially released products, FlexBuilder and CFEclipse (on
Eclipse) or IntelliJ's counterparts. If you don't mind beta,
FlashBuilder and CFBuilder (on Eclipse). I use the first pair
personally.
cheers,
barneyb
On Fri, Aug 21, 2009 at 9:22 AM, Agha Mehdiaghaime...@gmail.com wrote:
1 - 100 of 2807 matches
Mail list logo