Anyone who downloaded the code should re-download it as I've made a few
modifications to it in order to make it less specific to my tests and more
general for use.
I've posted the Query of Query function code to Blog of Fusion with some
comments. I'll be testing it on the client in a few
If there was a way to add indexes to a QoQ then I would, but
The issue is the where and how the queries are being done. I don't
understand why MachII is loading the queries into the request scope. I don't
know if there is a simple way to load them into a different scope without
breaking the
Oh, I should have mentioned that this is 6.1. I'm trying to get them to
upgrade, but
CFMX 7 does enhance QoQ and I even use them on that platform.
Well I was not fearful enough to go back and change anything since after
all
I have not experienced such slownesses :)
On 4/25/06,
My new function or the original query of queries?
The function can be found here:
http://www.blogoffusion.com/index.cfm/2006/4/25/Query-of-Query-function
while the original query of queries is:
cfloop list=#structkeylist(request)# index=:varname
CFSET requestvar='request.'varname
CFSET
I just got a question handed to me where a jar is being called using CFOBJECT
and the jar has a reference to another object that has to be called. Has anyone
heard anything like this in CFMX? Would it be a standard CFOBJECT call to the
'internal' object using the external as a reference?
Thanks
I just started on someone else's site (in mach II) and I tried to reset the
password. Every time I enter a new password I get unable to set admin
password. Anyone know why I'm getting this and what the solution might be?
Thanks
that contains their model code and not the framework.
I'd probably just search for whatever file creates that message.
-Joe
On 4/17/06, Michael Dinowitz [EMAIL PROTECTED] wrote:
I just started on someone else's site (in mach II) and I tried to
reset the password. Every time I enter a new
Does anyone know a good reason why a Mach II app would be maxing out the CPU?
No one is hitting the box at all and it's still hitting 100%. Debugging is off.
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237934
/17/06, Michael Dinowitz [EMAIL PROTECTED] wrote:
Does anyone know a good reason why a Mach II app would be maxing out the
CPU? No one is hitting the box at all and it's still hitting 100%.
Debugging is off.
~|
Message
that its overweight, unnecessary.
sorry, i had to.
:) tw
On 4/17/06, Michael Dinowitz [EMAIL PROTECTED] wrote:
Does anyone know a good reason why a Mach II app would be maxing out the
CPU? No one is hitting the box at all and it's still hitting 100%.
Debugging
is off
You may not have enough ram set for the JVM or you may have messed up your JVM
settings (if you edited them reciently).
Hi
We have a problem where everytime we try to stop and restart the CF
service on a windows 2003 box it tries unsuccesfully to stop the
service for about 3 minutes and
Is there any simple way to make Asp (not .net) call a CF page for processing?
CF can use the getPageContext.include() to cause an asp page to be processed
inside the CF context. Is there something on the Asp side that allows a CF page
to be processed inside the Asp context?
I want to have Asp
I'm thinking more along the lines of the ASP equiv of getPageContext.include().
If you mean the ASP equiv of CFHTTP, there is/was a product called
ASPTear.
M!ke
-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 5:14 PM
To: CF-Talk
You are correct. When I typed it I thought I had the carrat there but I guess
not. When I make such a simple mistake then it's a good sign that I need sleep.
For a little more info on Regex, these are some presentations of mine on the
subject:
http://houseoffusion.com/_regex/presentation/
If you can't find one that fits your need, I'd be more than willing to work
with you on a price and bundle up all of the House of Fusion mailing list code
into a nice package for you. It's mostly CF 7 at the moment using the directory
watcher gateway service but can be reconfigured for
It's not possible to load tags into a variable and then execute them directly
in CF. The entire basis of what your doing would never work (unless you write
the info to file and cfinclude it but that's a different story for a different
time)
If you were doing a standard query without any CF tags
rereplacenocase(string, '[a-z0-9 ]+', '', 'all')
This will remove every occurences of a character that is NOT within the range
of A-Z (both cases), 0-9 or a space. This will include ANY non-number/letter
character so if there is something you want to keep, it has to be included
within the
You might want to contact Mike Smith directly rather than asking publicly
over the lists. Also, it's kind of spawning into a rolling OT thread that
doesn't belong here. If you need Mike's email, email me off list and I'll
send it to you.
Thanks
Hi Michael
Last week I bought a four day
With the latest upgrades to Fusion Authority (as a testbed for upgrades to
House of Fusion), I'm putting in a tag cloud. The current one on House of
Fusion just does not do the job so something new is needed. Here's the question:
When coding such a feature to a news site, would you allow it to
I was talking to someone at CF.Objective about an idea I had for displaying
dynamic pages as if they were static. He had tried some stuff out and didn't
get it (yet). If your here, email me off list. I've got it. Look at these 3
urls:
Google sees the user_agent of ColdFusion as a bot/program. Just add the
useragent attribute to the CFHTTP call and load it with a valid browser name.
useragent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1)
Gecko/20060111 Firefox/1.5.0.1
I'm trying to use CFHTTP to get the
Thanks Doug. I'll contact you off list for the files to look over and to
talk about an article. I've mentioned to Macromedia in the past (and will
have to mention to Adobe) that the async processing is such a great tool
that every version of CF should have it. Even if pro is limited to 10
I'd really suggest asking the question over on CF-Community where you'll get
lots of advice, stories, etc.
So I've finally got everything set to go to cf.Objective tomorrow
(woohoo!) and, since this is my first *real* conference, I was
wondering if anyone could offer some advice for getting the
The original was in FA:
http://www.fusionauthority.com/alert/index.cfm?alertid=37#tech1
with an update here:
http://www.houseoffusion.com/docs/cfscript.htm
The official style guide on Sean's site should have the same info.
Unfortunately I can't find it. :)
found it:
CFSILENT - Suppresses output produced by CFML within a tag's scope.
GASP!?!?
He's outputting from a CFC? Yes Martha, I am. I'm taking the time to learn
CFCs and have decided that this an efficient way to solve a specific
problem
I have.
So my question is that when I'm outputting this
I use cached CFCs to output 'pods' in my replacement code for blogCFC. Works
great.
I'd love to know why you think you have to do the output within the CFC =)
won't you share?
Rick
~|
Message:
CFSET myCFC()
or
CFOUTPUT#myCFC()#/CFOUTPUT
Andy Matthews wrote:
I supposed I could do that, it just seems cleaner to output it from
within
the CFC. That way all I have in my main template is a line of code found
within a cfscript tag.
how 'bout this? :)
cfscript
writeOutput(myCfc());
I'm getting a BSOD on my system everytime I boot it up. After about a minute it
crashes. Sometimes it says that winlogon.exe has a problem, sometimes not. The
BSOD message is:
STOP: c21a {Fatal Systems Error}
The windows Logon Process system process terminated unexpectedly with a status
of
Shared or full box?
We need cf server 5, crytaltech does not offer it. Has anyone dealt with
hosttone.com or have a cf 5 server recommendation.
Thanks everyone
Steve
~|
Message:
This will remove all HTML tags:
[^]+
Basically, anything that starts with a open bracket and goes on till a
closing bracket.
The problem with your expression is that it matches EVERYTHING till it finds
a tag. You can try to limit the everything match by using a limiter:
(.*?).*?(.*?)
Still not
I uploaded some new code changed to the HoF server using dreamweaver and a few
minutes later the changes rolled back to what they were before. Anyone know
what could be causing this?
Thanks
~|
Message:
Probably old code plugged into the onSessionEnd. Application.cfc was one of
the features we talked about back in 2001 before MX came out. It took a
version or two to get it out but it's here. In MX, there is NEVER a need to
lock memory variables other than where a race condition exists. As the
Lets assume you have a directory with an application.cfc in it. This
application.cfc has an altered onRequest that does not include a file but
instead generates one based on the url being sent in. How is this different
than normal? The url being sent in is calling a file that does not exist. Is
From MX 6, version 5 or earlier? There are a LOT of lessons learned,
especially when it comes to server config and practices that can bring your
server down. I do a rather nice business being on call just to solve these
issues.
The first issue is where your coming from. If it's MX, then there's
A little over a month ago I made a DNS config change from 64.118.74.245 to
46.118.74.249 but forgot to set the mail server to say
mail.houseoffusion.com rather than houseoffusion.com. I fixed it really fast
when I saw a spamcop block but to this day I still see people blocked due to
spamcop
Actually, Spamcop *DOES* work that way sometimes, and in this particular
case, it did. House of Fusion was blacklisted because of DNS and
hostname issues, as Michael has already pointed out.
Yes, a month ago. So why are they having problems now?
When I looked up the IP address, it said it was
This is one of the reasons I don't use any RBL for my spam checker. I
wrote it myself and let me tell you that while it takes a few moments to
review some of the subjects, my success rate is 100% blocked with the
only mistakes coming from people who send mail without a subject. (red
For personal mail this might be an effective option, but can you see the
firestorm if list mail was slowed down? :)
As for adding it on a personal level (or mail server one), is there any good
instructions?
Use greylisting, no hacking or banning needed, it is a purely
technical process.
I do, but it's usually frowned upon (for no logical reason). Just make sure
you check if the var exists first before adding it to avoid unnecessary
writing to the server scope, but even that is nothing to worry about as
there is no 'real' storage difference between the server, application and
I'd bet money that the issue was a pre-mx one. If you remember in CF 5,
there was the issue of locking of memory variables and corruption of them if
not done. This is not a case in MX so it should not be a problem. Actually,
this is a plug for CFObjective and CFUnited where there will be people
I've done it using the technique below. The only problem is that the ability to
connect through SSL only exist in the pro version of the tag located here:
http://www.cftagstore.com/tags/cfxpop3professional.cfm
At $60, it's one of those things you get if you have need for it but if you
just want
Please lets not fight between ourselves when it comes to the features or lack
of them that I've implimented for the lists. Why do I remove the headers and
formatting? Because the formatting is done through HTML and the HTML tends to
be bloated suckware from companies such as microsoft. I'm not
I'm playing with it and will be renaming the HoF Flex list to CF-Flex and
post what I see there. Hopefully if that list gets moving with CF people
getting into flex it'll get over the bias that the flex team has towards it
(lng inside MM story, but bottom line was that the HoF flex list was
That's the way I coded the list already. This is why you see a single thread
that is started as ot: continued in some cases as a seperate thread without the
ot. The reason is that some mail clients strip out anything before a colon
(re:) and place their own re: after it.
So the list order of
The e-book version is a bootleg and I'd talk to the author before getting it.
If the book is out of print, a small donation to him might be a polite thing to
do before getting it.
-Original Message-
There is an e-book version floating around if you can't find a paper copy.
Jim Davis
Another list 'feature'. I rewrite the TO address for the list so no matter how
you send it to CF-Talk, it will always be reformatted to the same name for
display and sorting. This makes it easy to filter the list and avoids the need
for a [list name] in brackets on each subject line (a waste of
It has to do with the ups and downs of the print industry. There were a number
of CF books a few years ago and that kind of flooded the market and caused less
of any specific book (other than ben's) to be bought. As a print run costs a
nice chunk of change, once the current stock was out, a
Ah, that is a bug. When I layed out how I handle threading, it's how I handle
it for the list archives. When a message gets 'thrown' to a new subject, the
code keeps the reply id rather than sets it to null. This causes the new thread
to be part of the old one in some mail clients. I'll alter
A bug in my thinking. I wrote the code for the archives rather than the mail
client and even though a message might force a new thread in the archives, it
keeps the old reply id. I'll have that fixed.
That's the way I coded the list already.
Ok, then may be there is still room for some
HoF = House of Fusion, the site that runs all of these lists and more. :)
As for the e-book, I've contacted Eben about it and asked him how he wants to
go forward with it.
I suppose I should change my appeal:
If anyone has a copy of the book they would like to sell, or if anyone
could tell me
That's the plan
Maybe it would be wise to check the subject and actually change or
remove the References: header...
rick
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232512
Archives:
It's actually all 3. My code checks for each but when I talk, I just say reply
id so as to not go into it.
the code keeps the reply id rather than sets it to null.
Is it really reply-id ?
I see a Reply-to, but this is different.
I see a header References: which matches Message-ID:
I think
God forgives, the RIAA doesn't. :)
As for GMail, because of how I wrote the list, I keep the messageid of the
message sent. When the new message gets to google, it sees that a message
with the same message id already exists and deletes the new one. I'm
thinking of redoing the message ids of
This is a question of best practices and why. When I know there's a chance of a
specific error, I tend to code specifically to handle it. Others code generally
using try/catch. Which is seen as best in other languages and why? I doubt
there's any real performance issue between them, so it's a
Short Circuited Boolean Evaluation was added in CF 4.01 and was one of the
best things added to CF at the time.
Why is that again? Are you saying CF5 cannot handle lazy evaluation? I
think that was CF4.
Russ
~|
Message:
From my understanding, the use of the CFTRY/CFCATCH tag has no real overhead
in and of itself. It's only when an actual error occurs where it has
overhead. This is how it was explained to me. When a CFTRY tag is parsed,
all that is done is a 'marker' is placed to say where your watching from.
But the performance hit only comes when an actual error occurs. When no
error occurs, the CFTRY/CFCATCH has very little overhead.
As for the issue of StructKeyExists() over IsDefined(), I've advocated it in
my presentations for a long time as it is logically more efficient. This may
be a
Counts on what you want done. If the query can be retried or faked, then I'd
do a try/catch and deal with it specifically. If it's failure breaks the
entire page run, an onError might be best. All depends on how you've coded
the site and what fallbacks you have in place.
So, in the case of a
Ah, but what if you don't want to give the id a default but instead want to
give a login page instead. CFPARAM without a default throws an error if the
variable does not exist. You can catch that or know that you may have to
handle it and do so.
In CFMX 6 there was an option to view the
It was less a preference question then it was a question of industry
standard practices and efficiency. Just because I like to code ahead of
errors doesn't make it more efficient than a try/catch. I wanted to hear
what others said, what links they brought up, etc. The links to Dave Shuck's
This is the expected behavior as calling a CFC from an url without passing it
anything 'tells' CF to try and show it in the CFC documentation tool that comes
with CF. At the moment, there's nothing that can be done but someone may start
looking through the .xml files that come with CF and see
This is a follow up from another post about what happens when someone removes
the ?wsdl from a web service CFC. I'd like to have my first request be either
an admin setting or something else to redirect or choose where to go when a
.cfc is loaded directly in an url without any passed variables.
and no error thrown ---
Adrian
P.S. Did you get my last few emails Mike? I sent the files and a follow-up
email but no reply.
-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: 14 February 2006 20:12
To: CF-Talk
Subject: [OT] Future CF Features
This is a follow up from
1) What happens if the proposed default does not conform to the specified
type? I.e., you specify a type of Numeric and specify a default of
hello. While this may not be likely when hard-coding a default value,
there are plenty of time where the default is determined by some other
variable's
Look at my old CFSCRIPT docs linked from the front of HoF. I'm building out
a lot of my old docs into a tutorials section that can eventually be bound
together as a CF cookbook. Actually, I have to go experiment to see if
setting a cookie through cfparam makes it a session based cookie (as what
We'll be reviewing your title as well as the MX one. Yours is a bit dated,
but still covers the rather unchanging core of CF. I did a title for a
company wy back in time and still have some copies, but I don't think I
made as much as you did. I've done a captivate or two in the past and if
I'll throw my .02 cents into the ring and say first that you can leave the list
alone and keep the tabs as the delimiter. A character is a character and you
can use a tab just as you can use a comma. Chr(9) is a tab in CF.
All you really have to do is loop over the whole collection of
I saw another NY based contract on the CF-jobs list but once I saw who posted
it, I knew I'd never get it. Why? Because I'm too experienced. If you have 10+
years in ColdFusion your almost un-hirable. If you ask below your worth, the
company is worried that you will not be happy and will jump
, and many many more. Personal networking is a much
better way to go.
-Cameron
On 2/13/06, Michael Dinowitz [EMAIL PROTECTED] wrote:
I saw another NY based contract on the CF-jobs list but once I saw who
posted it, I knew I'd never get it. Why? Because I'm too experienced. If
you have 10+ years
Personally, I use CFINCLUDEs for most of my layout. Less overhead, though
less of that nice clean variable passing that custom tags/cfmodules have.
I've even started using CFCs to hold some 'pods' of content that I use in
various places. This idea'll start a firestorm from those who say CFCs
to set variables and attributes such as title easier which is essential
for search engines.
~Dave the disruptor~
I forgot what I was gunna put here, Will woulda stole it anyways!
From: [EMAIL PROTECTED] (Michael Dinowitz)
Sent: Sunday, February 12, 2006 5
How about you both bitch to me privatly rather than disrupting the list with
with is basically off topic BS. Now you know what I feel about OT. If it has
nothing to do with the discussion at hand, take it to another list or to
personal email.
I can and will write a moderation module that
I've written a few for the lists. RegEx based ones, logic tree ones, etc. The
easiest way to do this is to write the rules up as 'plug-ins' for a CFIF and
then go through them one by one to see which fits the criteria or not.
Has anyone written a cf-based rules engine type of thing? I have a
Best practices can be a very relative term and any docs you read will be based
on the writers biases. For example, some say you should never use the public
variable scope (this) in CFCs. Others say that there is no problem doing this.
Some still say to lock memory variables (session,
Google has a web service that you can use to get this info. The others may
as well.
http://www.google.com/apis/index.html
Hi, all...
Is there a way to use CF to determine what
a particular website's ranking is on a search engine?
In particular Google, Yahoo, and MSN?
I'm starting to do a
The issue is that the mail header has houseoffusion.com as the domain and
the ip of mail.houseoffusion.com. I've changed it and emailed spamcop
I'm not getting any mail from cf-talk anymore as of arond 2pm this aft...
http://www.spamcop.net/w3m?action=blcheckip=64.118.74.249
Rick
and mail.houseoffusion.com. It's fixed now.
The issue is that the mail header has houseoffusion.com as the domain and
the ip of mail.houseoffusion.com. I've changed it and emailed spamcop
Please Explain.
On 1/31/06, Michael Dinowitz [EMAIL PROTECTED] wrote:
The issue is that the mail header
I create a components directory and map it in through the CF admin. This way
the components are not accessable through the website but are accessable by any
CF code on the machine. In addition, if I have a component that will be machine
wide and needs to be cached, I cache it into the server
In homesite there is a wonderful little popup called the expression builder. It
gives access to all the CF functions, docs for the same and attributes. It also
gives the return values for various tags. Is there such a plug in for
dreamweaver? I'm trying to get into using dreamweaver and the
If the site is being hit on a regular basis you can have one of those
processes call the maintenance tasks on a regular basis. I just wrote an RSS
CFC for someone which will add new items to the RSS once per hour or when
someone hits the script, which-ever is longer. This means that if the
I assume she means that she's using CFSCHEDULE on her own box but the cheapo
hosting will not give her access to it.
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230146
Archives:
Some hosts block posts as 'spam' despite the content having no spam value at
all. I see this all the time in the bounces. I've checked and there has been
no bounces from the mailserver latitudetech.net. It might still be this or
something else. I'll check my own mail to see if I'm missing mail
Memory management. Go into the CF admin and reset the JVM settings. Add a
PermSize to your JVM arguments:
-XX:PermSize=32m
Also, I set a min heap size to a much smaller value than the max perm size.
This saves on startup, but the min size should be set in some relation to
the amount of initial
The problem is inside your init() method. You're not returning the object in
the cfreturn.
CFFUNCTION name=Init access=public returntype=CachedQuery
output=false
CFARGUMENT name=DSN type=String required=yes
!--- Set the DSN to the local variables for the CFC ---
CFSET
That's why I have my min set to 64meg, which is less than most of the
templates that will be used on the site as well as less than the amount of
memory that should be used within the first half hour or so of the site
being up. My site is so tight that I'm not worried about garbage collection
Memory allocation. JRun starts up and memory is assigned for use. If you
have a high min, then all of that memory is assigned. If too low, then the
min is assigned, then more is 'taken' to be assigned and again and again
till the program is running totally. The point between a too little and
Whatever you use, do NOT use beyondsolutions's auction software. It has
MAJOR security holes that I've reported to them and they have never replied
to me about them. The code's also a royal mess, but it can work as long as
you don't mind opening your entire system to attack from file upload and
Due to a small issue with someone 'stealing' an open-source CF product, we at
Fusion Authority (http://www.fusionauthority.com) would like to showcase the
various fully formed open source CF projects around. If you are writing such a
project, moving a formerly for pay project to open source or
can be open source, it's not what I'm referring to as a full
project.
I've got to learn to be more specific. :)
Michael Dinowitz wrote:
Due to a small issue with someone 'stealing' an open-source CF
product, we at Fusion Authority (http://www.fusionauthority.com)
would like to showcase
Answer moved to CF-OT
I'm curious how someone can steal an open-source app? By definition it's
free
to use and modify.
I could see how someone could try and re-brand it as their own.but
steal???
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems
Again, answered on CF-OT
steal as in violate the license agreement. In the care of BlogCFC,
it's not stealing, just being a bastard, because (according to Joe
Rinehart, whom I'm inclined to trust), it's not explicitly licensed.
But if you took something that was GPL and released a
If someone took a piece of software I wrote that did not have a specific
licensing agreement, they are still stealing my good name. They are still
stealing the time I put into the project. They're also screwing themselves
in the community by doing so. Yes, they may be quasi-legally allowed, but
This is why I wanted debate about open source CF software moved to CF-OT.
Bottom line is that while it is of interest to the community, it is a debate
and once we get into the particular case that spawned all this off, it'll
get into more debate as well as name calling (rightfully or not).
I had removed the footer text ads at that point. Maybe I should put them
back in and see if it changes back to normal. :)
A good proportion of my cf-talk list mail is now being flagged as spam
/ junk by Gmail. It started on Jan 11 or Jan 12.
Michael, did you make any changes then or is this
I've contacted Google about it through proper channels and if I don't hear
back in the coming week, I'll use some of my non-proper channels. :)
It may be the change-over in IP from 64.118.74.245 to 64.118.74.249.
Personally, I have not seen more than a handful of messages set to spam, but
Does anyone know of an application that can schedule a network tracert every 15
minutes and then log that data to file or DB?
Thanks
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229220
Archives:
I know I can write it in CF using cfschedule, cfexecute (or an object call)
and cfquery for logging but I need it for a site without CF.
cfschedule ;-)
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229250
Is there an IIS setting to log the time a request first came in, when it was
handed off to the CF server, when the data was returned and when it was
delivered to the client? I'd like to know the difference in reciept of a
request and it's generation.
Thanks
1. You forgot to add a link directly to your site or the download page so
people (like myself) who are running SeeFusion can get it ASAP.
2. You did not warn people about the addictive nature of watching your
website serve 3 pages per second vs. 2.8 a minute ago.
Greetings, everyone. Firstly,
There was a small network issue in the beginning of the week but it was fixed
rather quickly. If you are having problems getting mail or know someone who is
(as they will probably not see this message), please contact me off list and
I'll try to find out what the issue is.
601 - 700 of 2843 matches
Mail list logo