Re: Thousand Separator ONLY
Hey Jason, yes tried it but it adds a decimal to numbers that were previously integers, or with numbers that have 5 decimals for example it rounds it to one decimal Did you try numberFormat(myNum, ,9.9) ? On 6/27/2012 1:34 PM, Richard White wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351735 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Thousand Separator ONLY
Thanks Claude that works perfect, muchos gracious! Try this: (Note that for the last one you will get 0s at the end of the integer part, this is probably because of an overflow error. If you really have such large numbers, a function that works exclusively on the string will be needed.) CFSCRIPT function thSepar(n) { var integerPart = numberFormat(listFirst (n, .), ___,___); if(listLen(n, .) GT 1) return integerPart . listLast(n, .); return integerPart; } /CFSCRIPT CFOUTPUT #thSepar(11)#BR #thSepar(1.1)#BR #thSepar(11.11)#BR #thSepar(1.1)#BR #thSepar(1.)#BR /CFOUTPUT ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351736 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFHeader Problem
but I have a related question for you. If you're serving files in your web root, why are you bothering to use CFCONTENT to serve them? This of that example as foo. It's for illustration only :-) Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, June 26, 2012 10:27 PM To: cf-talk Subject: Re: CFHeader Problem What's wrong with the below? cfheader name=Content-Disposition value=attachment; filename=myfile.zip cfcontent type=application/zip file=d:\inetpub\wwwroot\thedirectory\myfile.zip The file is there and the path is correct. I can download the file directly by typing in http://mysite.com/thedirectory/myfile.zip in the browser, but whenever I try to use CFHEADER to serve the files it just spins (even though it's in a CFTRY it does not thrown an error). When I abort (exit the spinning page) I get a diagnostic dump: Java heap space null The error occurred on line -1. What the heck? I I doing something wrong? I realize your question has already been answered - and for the record, I like Ben Nadel's solution to this very much - but I have a related question for you. If you're serving files in your web root, why are you bothering to use CFCONTENT to serve them? Just serve a link to the file in question, and let the web server do the work. If there's some business reason why you don't want to do that, you probably shouldn't store the files in a web-accessible directory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, on ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351737 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Replace Question
I have a search results pages and I'd like to highlight the search term to show the matches. Of course, search is not case sensitive. On the results I can do something like: ReplaceNoCase(answer, search_string,span class=keyword#search_string#/span,all)# This puts a nice little highlight around the search term and makes it easy to see in the results, but it may change the case. For example, if I search for mick jagger and it finds Mick Jagger, my answer come out like: ... and a mick jagger was guy with big lips who dreamed of being a Beatle... Is there a way I could do the replace to highlight the result and NOT change the case? Thanks, Robert Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351738 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Replace Question
I have a search results pages and I'd like to highlight the search term to show the matches. Of course, search is not case sensitive. On the results I can do something like: Better written results: #ReplaceNoCase(answer, search_string,span class=keyword search_string /span,all)# This puts a nice little highlight around the search term and makes it easy to see in the results, but it may change the case. For example, if I search for mick jagger and it finds Mick Jagger, my answer come out like: ... and a mick jagger was guy with big lips who dreamed of being a Beatle... Is there a way I could do the replace to highlight the result and NOT change the case? Thanks, Robert Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351739 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Replace Question
This is a case for Regular Expressions (RegEx): REReplaceNoCase(answer, '(#search_string#)', 'span class=keyword\1/span', 'all')# 1. Search the content of the variable answer 2. Look for the content of the variable search_string 2a. Because parenthesis are being used and we're doing RegEx, the matched text will be 'captured' for later use. The parenthesis are special characters, not part of what is being matched. 3. Replace the matched content with: span class=keyword\1/span 3a. take the captured text from the match and place it within the span block in place of the \1 \1 will contain the exact text matched with whatever case it had rather than the case of the search_string On Wed, Jun 27, 2012 at 2:25 PM, Robert Harrison rob...@austin-williams.com wrote: I have a search results pages and I'd like to highlight the search term to show the matches. Of course, search is not case sensitive. On the results I can do something like: ReplaceNoCase(answer, search_string,span class=keyword#search_string#/span,all)# This puts a nice little highlight around the search term and makes it easy to see in the results, but it may change the case. For example, if I search for mick jagger and it finds Mick Jagger, my answer come out like: ... and a mick jagger was guy with big lips who dreamed of being a Beatle... Is there a way I could do the replace to highlight the result and NOT change the case? Thanks, Robert Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351740 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Replace Question
# REReplaceNoCase(answer, '(#search_string#)', 'span class=keyword\1/span', 'all')# Nice. Works perfectly. Thank You... just waiting for someone to complain about the nested ##'s though LOL :-) Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351741 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Replace Question
Stop nesting #s!! You're needlessly killing kittens!!! :D #reReplaceNoCase( answer, search_string, 'span class=keyword\1/span', 'all' )# ;-) On Wed, Jun 27, 2012 at 1:51 PM, Robert Harrison rob...@austin-williams.com wrote: # REReplaceNoCase(answer, '(#search_string#)', 'span class=keyword\1/span', 'all')# Nice. Works perfectly. Thank You... just waiting for someone to complain about the nested ##'s though LOL :-) Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351742 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Replace Question
On Wed, Jun 27, 2012 at 2:51 PM, Robert Harrison rob...@austin-williams.com wrote: # REReplaceNoCase(answer, '(#search_string#)', 'span class=keyword\1/span', 'all')# Nice. Works perfectly. Thank You... just waiting for someone to complain about the nested ##'s though LOL :-) '(' search_string ')' I drop all attempts at being anal about #s when I'm working with RegEx. RegEx is anal enough. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351743 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Replace Question
Stop nesting #s. You're needlessly killing kittens!!! I was sooo waiting for that shoe to drop :-) Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351744 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Replace Question
I hope you noticed that I posted that _because_ you said you were waiting on it. ;-) On Wed, Jun 27, 2012 at 2:08 PM, Robert Harrison rob...@austin-williams.com wrote: Stop nesting #s. You're needlessly killing kittens!!! I was sooo waiting for that shoe to drop :-) Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351745 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Replace Question
Got it. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: Wednesday, June 27, 2012 3:37 PM To: cf-talk Subject: Re: Replace Question I hope you noticed that I posted that _because_ you said you were waiting on it. ;-) On Wed, Jun 27, 2012 at 2:08 PM, Robert Harrison rob...@austin-williams.com wrote: Stop nesting #s. You're needlessly killing kittens!!! I was sooo waiting for that shoe to drop :-) Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351746 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Replace Question: Part II
# REReplaceNoCase(answer, '(#search_string#)', 'span class=keyword\1/span', 'all')# This works so wonderfully, I hate to ask a follow-up question, but I have to. Is there a way I can apply this everywhere EXCEPT when the matching content is in an HTML tag (like an HREF tag)? Sorry, but this level of Regex is a bit over my regex skill level. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_wi ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351747 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Replace Question
Is there something in your CSS that is changing it to lower case? Eric Roberts Owner/Developer Three Ravens Consulting ow...@threeravensconsulting.com http://www.threeravensconsulting.com tel: 630-881-1515 -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Wednesday, June 27, 2012 1:30 PM To: cf-talk Subject: RE: Replace Question I have a search results pages and I'd like to highlight the search term to show the matches. Of course, search is not case sensitive. On the results I can do something like: Better written results: #ReplaceNoCase(answer, search_string,span class=keyword search_string /span,all)# This puts a nice little highlight around the search term and makes it easy to see in the results, but it may change the case. For example, if I search for mick jagger and it finds Mick Jagger, my answer come out like: ... and a mick jagger was guy with big lips who dreamed of being a Beatle... Is there a way I could do the replace to highlight the result and NOT change the case? Thanks, Robert Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351748 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Equator
Anyone on the list work for them or ever worked for them? If so, care to share your opinion/experiences? Thanks, Dan Equator makes workflow software that makes mortgage foreclosures more efficient. I was there when it was called REOTrans. I worked very closely with the founders and built the original bid workflow system that helped launch the company. Later, I came on full-time as a product manager to help guide future development. The company has grown tremendously since the foreclosure boom a few years ago, so I'm sure it's a very different organization than the one I left. But if I had to say something positive, I'd say that working there inspired me to start my own company, and never answer to another boss again. -- Wholly separate from this company, the people, or the environment there -- whenever you're looking for a job, make sure you find something that matters to YOU, and has PURPOSE for you. When you 99 years old, what do you want to look back at, and say that you accomplished. Personally, I could not buy in to this company's mission, and I wanted to do something more personally meaningful. There are so many ways to make money in this world -- make sure to choose something that is inspiring, rewarding, and that leaves the mark that you want to leave on this Earth. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4556 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm
Re: Equator
It is a churn problem... The mortgage business in general has boomed and they have the established system.. That said between LA and Texas the technology has had problems under the growth and between the forced code checkins and overnight code sessions they overwork and underpay... On Thu, Jun 28, 2012 at 4:23 PM, Benjamin Pate benja...@pate.org wrote: Anyone on the list work for them or ever worked for them? If so, care to share your opinion/experiences? Thanks, Dan Equator makes workflow software that makes mortgage foreclosures more efficient. I was there when it was called REOTrans. I worked very closely with the founders and built the original bid workflow system that helped launch the company. Later, I came on full-time as a product manager to help guide future development. The company has grown tremendously since the foreclosure boom a few years ago, so I'm sure it's a very different organization than the one I left. But if I had to say something positive, I'd say that working there inspired me to start my own company, and never answer to another boss again. -- Wholly separate from this company, the people, or the environment there -- whenever you're looking for a job, make sure you find something that matters to YOU, and has PURPOSE for you. When you 99 years old, what do you want to look back at, and say that you accomplished. Personally, I could not buy in to this company's mission, and I wanted to do something more personally meaningful. There are so many ways to make money in this world -- make sure to choose something that is inspiring, rewarding, and that leaves the mark that you want to leave on this Earth. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4557 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm
Re: Equator
I've interviewed with them twice in the past year. Once around May of last year, and again in August. Both times face to face in their LA office near LAX. While friendly, the place struct me as VERY corporate. It sounded like they wanted a very high-end developer that was willing to put in a LOT of hours (which I was). Both times, the hiring got put on hold before a selection was made. Then most recently (like, two weeks ago), another opening appeared, and I re-applied. I explained all of this to the agency, and they came back and said they checked and Equator said I had been declined, and once declined, you are NEVER considered again. Ever. This was after having to take their idiotic ProveIt online test that looks like it was written by a monkey. So I suppose this is a blessing having read into the responses so far. :) Rob From: Brian Thornton br...@cfdeveloper.com To: cf-jobs-talk cf-jobs-talk@houseoffusion.com Sent: Wednesday, June 27, 2012 1:27 PM Subject: Re: Equator It is a churn problem... The mortgage business in general has boomed and they have the established system.. That said between LA and Texas the technology has had problems under the growth and between the forced code checkins and overnight code sessions they overwork and underpay... On Thu, Jun 28, 2012 at 4:23 PM, Benjamin Pate benja...@pate.org wrote: Anyone on the list work for them or ever worked for them? If so, care to share your opinion/experiences? Thanks, Dan Equator makes workflow software that makes mortgage foreclosures more efficient. I was there when it was called REOTrans. I worked very closely with the founders and built the original bid workflow system that helped launch the company. Later, I came on full-time as a product manager to help guide future development. The company has grown tremendously since the foreclosure boom a few years ago, so I'm sure it's a very different organization than the one I left. But if I had to say something positive, I'd say that working there inspired me to start my own company, and never answer to another boss again. -- Wholly separate from this company, the people, or the environment there -- whenever you're looking for a job, make sure you find something that matters to YOU, and has PURPOSE for you. When you 99 years old, what do you want to look back at, and say that you accomplished. Personally, I could not buy in to this company's mission, and I wanted to do something more personally meaningful. There are so many ways to make money in this world -- make sure to choose something that is inspiring, rewarding, and that leaves the mark that you want to leave on this Earth. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4558 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm