Re: Converting scientific notation to pure numeric

2011-11-26 Thread James Holmes

Try removing the space between the E and the exponent, or replacing it with
+
--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/


On 26 November 2011 15:30, Mike Kear afpwebwo...@gmail.com wrote:


 I'm having a brain fade at the moment, or perhaps it's a senior
 moment.Hopefully someone here can help.An external device is
 sending data to my website in XML format, which my site processes and
 makes available to logged-in users.   It's worked fine for more than a
 year, but for the first time, we have a value that is calculated in
 the external device and has a recurring decimal value. So now
 instead of a simple value with 4 decimal places,  I'm dealing with a
 value like '9.09090909090909E 106'


~|
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:348871
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Converting scientific notation to pure numeric

2011-11-26 Thread Rick Faircloth

My first thought was to just use the left function
and cut the number down to the size you want:

cfset newNumber = left('9.09090909090909E 106', 6) /

cfoutputnewNumber = #newNumber#/cfoutput

newNumber = 9.0909

Then you can do with it as you please.

Would that work?

Rick

-Original Message-
From: James Holmes [mailto:james.hol...@gmail.com] 
Sent: Saturday, November 26, 2011 4:05 AM
To: cf-talk
Subject: Re: Converting scientific notation to pure numeric


Try removing the space between the E and the exponent, or replacing it with
+
--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/


On 26 November 2011 15:30, Mike Kear afpwebwo...@gmail.com wrote:


 I'm having a brain fade at the moment, or perhaps it's a senior
 moment.Hopefully someone here can help.An external device is
 sending data to my website in XML format, which my site processes and
 makes available to logged-in users.   It's worked fine for more than a
 year, but for the first time, we have a value that is calculated in
 the external device and has a recurring decimal value. So now
 instead of a simple value with 4 decimal places,  I'm dealing with a
 value like '9.09090909090909E 106'




~|
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:348872
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


low footprint(disk usage) dev enviroment

2011-11-26 Thread Matthew Smith

hello.  i spent a lot of time posting here way back when, and then did
other things, and now i am posting again.

good to see you all.

SSD install on my laptop, need a vm os/cf install for dev.  site(s) is on
crystal tech, so i guess as close to what they have as possible.  i can go
apache if needed, though i think ct is running iis.

would prefer to not have to license an os if possible, though i could swing
it to maintain equality between the dev and live.

laptop has 8GB, so is a vm even worth it?

want to get a new site up today, so i need to be able to download rather
than wait on disks.  all my stuff is at home.

thanks all!

chedder


~|
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:348873
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: low footprint(disk usage) dev enviroment

2011-11-26 Thread Mark A. Kruger

IS there a question here? Are you looking for a place to get the software?
Not sure what you are asking here Matt. :)

-Mark

Mark Kruger - CFG
CF Webtools
www.cfwebtools.com
www.coldfusionmuse.com
O: 402.408.3733 x105
E: mkru...@cfwebtools.com
Skype: markakruger


-Original Message-
From: Matthew Smith [mailto:chedders...@gmail.com] 
Sent: Saturday, November 26, 2011 7:34 AM
To: cf-talk
Subject: low footprint(disk usage) dev enviroment


hello.  i spent a lot of time posting here way back when, and then did
other things, and now i am posting again.

good to see you all.

SSD install on my laptop, need a vm os/cf install for dev.  site(s) is on
crystal tech, so i guess as close to what they have as possible.  i can go
apache if needed, though i think ct is running iis.

would prefer to not have to license an os if possible, though i could swing
it to maintain equality between the dev and live.

laptop has 8GB, so is a vm even worth it?

want to get a new site up today, so i need to be able to download rather
than wait on disks.  all my stuff is at home.

thanks all!

chedder




~|
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:348874
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: low footprint(disk usage) dev enviroment

2011-11-26 Thread Matthew Smith

IS there a question here?

Yes.  thank you.

On Sat, Nov 26, 2011 at 9:11 AM, Mark A. Kruger mkru...@cfwebtools.comwrote:


 IS there a question here? Are you looking for a place to get the software?
 Not sure what you are asking here Matt. :)

 -Mark

 Mark Kruger - CFG
 CF Webtools
 www.cfwebtools.com
 www.coldfusionmuse.com
 O: 402.408.3733 x105
 E: mkru...@cfwebtools.com
 Skype: markakruger


 -Original Message-
 From: Matthew Smith [mailto:chedders...@gmail.com]
 Sent: Saturday, November 26, 2011 7:34 AM
 To: cf-talk
 Subject: low footprint(disk usage) dev enviroment


 hello.  i spent a lot of time posting here way back when, and then did
 other things, and now i am posting again.

 good to see you all.

 SSD install on my laptop, need a vm os/cf install for dev.  site(s) is on
 crystal tech, so i guess as close to what they have as possible.  i can go
 apache if needed, though i think ct is running iis.

 would prefer to not have to license an os if possible, though i could swing
 it to maintain equality between the dev and live.

 laptop has 8GB, so is a vm even worth it?

 want to get a new site up today, so i need to be able to download rather
 than wait on disks.  all my stuff is at home.

 thanks all!

 chedder




 

~|
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:348875
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: low footprint(disk usage) dev enviroment

2011-11-26 Thread Russ Michaels

you don;t need a VM, you can run CF and a web server on your normal
desktop no problem.
I run windows 7 64bit, 8gb RAM, quad core cpu and use it as a desktop
and a dev server

if you don't want the hassle of running a dev server then signup for
the free cfdeveloper hosting at www.cfmldeveloper.com

Russ

On Sat, Nov 26, 2011 at 3:25 PM, Matthew Smith chedders...@gmail.com wrote:

 IS there a question here?

 Yes.  thank you.

 On Sat, Nov 26, 2011 at 9:11 AM, Mark A. Kruger mkru...@cfwebtools.comwrote:


 IS there a question here? Are you looking for a place to get the software?
 Not sure what you are asking here Matt. :)

 -Mark

 Mark Kruger - CFG
 CF Webtools
 www.cfwebtools.com
 www.coldfusionmuse.com
 O: 402.408.3733 x105
 E: mkru...@cfwebtools.com
 Skype: markakruger


 -Original Message-
 From: Matthew Smith [mailto:chedders...@gmail.com]
 Sent: Saturday, November 26, 2011 7:34 AM
 To: cf-talk
 Subject: low footprint(disk usage) dev enviroment


 hello.  i spent a lot of time posting here way back when, and then did
 other things, and now i am posting again.

 good to see you all.

 SSD install on my laptop, need a vm os/cf install for dev.  site(s) is on
 crystal tech, so i guess as close to what they have as possible.  i can go
 apache if needed, though i think ct is running iis.

 would prefer to not have to license an os if possible, though i could swing
 it to maintain equality between the dev and live.

 laptop has 8GB, so is a vm even worth it?

 want to get a new site up today, so i need to be able to download rather
 than wait on disks.  all my stuff is at home.

 thanks all!

 chedder






 

~|
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:348876
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Quick CF9 Install questions

2011-11-26 Thread Robert Rhodes

Hell to all.

I have to deploy a couple new CF9 installs today, and I just want to
confirm that I have this right:

Download the installer here:
https://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion

Then the CF 9 Update 1 (9.01) here:
http://www.adobe.com/support/coldfusion/downloads_updates.html

Then the CF9 Cumulative Hot-Fix here:
http://kb2.adobe.com/cps/918/cpsid_91836.html

That's all I need for CF, yes?

Sorry for the dumb question, it's still yesterday to me.  :(

-RR


~|
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:348877
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Quick CF9 Install questions

2011-11-26 Thread Bill Franklin

Sounds about right...

-Original Message-
From: Robert Rhodes [mailto:rrhode...@gmail.com] 
Sent: Saturday, November 26, 2011 12:19 PM
To: cf-talk
Subject: Quick CF9 Install questions


Hell to all.

I have to deploy a couple new CF9 installs today, and I just want to confirm 
that I have this right:

Download the installer here:
https://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion

Then the CF 9 Update 1 (9.01) here:
http://www.adobe.com/support/coldfusion/downloads_updates.html

Then the CF9 Cumulative Hot-Fix here:
http://kb2.adobe.com/cps/918/cpsid_91836.html

That's all I need for CF, yes?

Sorry for the dumb question, it's still yesterday to me.  :(

-RR




~|
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:348878
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Amazon Product Advertising API

2011-11-26 Thread Rick T

Hey guys having trouble getting this API to work.
I was using an old script from Tom Dawe (http://amazonsig.riaforge.org)
I then realized I was not getting commission, even though nothing was erroring 
out.  Found out that this script is no longer valid.

Found this new CFC (https://gist.github.com/874365), but there is no usage 
instructions... Anybody know the usage for this CFC, or a CFC that works with 
latest changes that Amazon made on their API?


Thanks in Advance,

~|
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:348879
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Quick CF9 Install questions

2011-11-26 Thread Russ Michaels

u may want to look out for security fixes as these tend to be separate
from the hotfixes.

On Sat, Nov 26, 2011 at 6:23 PM, Bill Franklin bill.frank...@bayer.com wrote:

 Sounds about right...

 -Original Message-
 From: Robert Rhodes [mailto:rrhode...@gmail.com]
 Sent: Saturday, November 26, 2011 12:19 PM
 To: cf-talk
 Subject: Quick CF9 Install questions


 Hell to all.

 I have to deploy a couple new CF9 installs today, and I just want to confirm 
 that I have this right:

 Download the installer here:
 https://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion

 Then the CF 9 Update 1 (9.01) here:
 http://www.adobe.com/support/coldfusion/downloads_updates.html

 Then the CF9 Cumulative Hot-Fix here:
 http://kb2.adobe.com/cps/918/cpsid_91836.html

 That's all I need for CF, yes?

 Sorry for the dumb question, it's still yesterday to me.  :(

 -RR




 

~|
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:348880
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: low footprint(disk usage) dev enviroment

2011-11-26 Thread Billy Cravens

If your machine is a Windows machine, should have no problem running IIS, and 
if it's Win7, should be able to set IIS like they have it. 

If a Mac, you can run Apache, but personally, I prefer just spinning up Tomcat 
and running via WARs - easier to stand up and tear down entire CF instances, in 
my opinion, so the admin isn't' cluttered with settings unrelated to the app 
I'm interested in at the moment.

VMs run fine on 8GB - I'd allocate 1 or 2 GB, and you shouldn't have many 
problems. Things might run a bit slow, but that's fine while developing. 
However, VM is really only needed if you have some settings like .htaccess or 
web.config settings; probably only the case if your setup with CT is a VPS. 

OS licensing: Good idea to mirror what CT has, but that probably doesn't 
matter. However if Windows Server is needed, you can download a trial version 
if that meets your need. If you need a long-term license, an MS TechNet 
subscription would work (pretty sure for dev purposes doesn't violate the 
licensing there) for cheap. MS also had a program called WebsiteSpark, where 
based on your needs and qualifications, they give away licenses of Windows 
Server, SQL Server, Visual Studio, etc.


Billy Cravens
bdcrav...@gmail.com



On Nov 26, 2011, at 7:33 AM, Matthew Smith wrote:

 
 hello.  i spent a lot of time posting here way back when, and then did
 other things, and now i am posting again.
 
 good to see you all.
 
 SSD install on my laptop, need a vm os/cf install for dev.  site(s) is on
 crystal tech, so i guess as close to what they have as possible.  i can go
 apache if needed, though i think ct is running iis.
 
 would prefer to not have to license an os if possible, though i could swing
 it to maintain equality between the dev and live.
 
 laptop has 8GB, so is a vm even worth it?
 
 want to get a new site up today, so i need to be able to download rather
 than wait on disks.  all my stuff is at home.
 
 thanks all!
 
 chedder
 
 
 

~|
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:348881
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Amazon Product Advertising API

2011-11-26 Thread Billy Cravens

I've integrated into Amazon using some of their AWS services, though not the 
API you're referencing. I believe they all pretty much work the same: you send 
Amazon a specifically formatted string, and HMAC encode it.

Look at the code inside of the AWS Console project on RIA Forge - I've used 
that one, and confirm that it works. It's split into a number of CFCs, so it 
should be pretty easy to pull out only what you need.

I believe the S3 project referenced in the gist you posted is valid, but I 
can't comment on it as I've never used it.


Billy Cravens
bdcrav...@gmail.com



On Nov 26, 2011, at 3:19 PM, Rick T wrote:

 
 Hey guys having trouble getting this API to work.
 I was using an old script from Tom Dawe (http://amazonsig.riaforge.org)
 I then realized I was not getting commission, even though nothing was 
 erroring out.  Found out that this script is no longer valid.
 
 Found this new CFC (https://gist.github.com/874365), but there is no usage 
 instructions... Anybody know the usage for this CFC, or a CFC that works with 
 latest changes that Amazon made on their API?
 
 
 Thanks in Advance,
 
 

~|
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:348882
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: low footprint(disk usage) dev enviroment

2011-11-26 Thread Gerald Guido

+1 for What Billy said.

The only time you would really need a VM is to mirror your production
server. If you are hosting on Windows, 95% of the time you can run a close
enough approximation on your local Windows machine to where it would not
matter.  Linux is another ball of wax. I have a full on CF 9
dev environment on Centos 5.6 that has a 10 gig HD footprint and is happy
with a gig of ram. It is a tad bit sluggish but on a SSD that would be a
non issue. Of course YMMV

+1 for WebsiteSpark. My only qualm with their offerings is that the
servers are the web versions, and will not mirror a standard
environment. LTIL that is.

HTH
G!

On Sun, Nov 27, 2011 at 1:12 AM, Billy Cravens bdcrav...@gmail.com wrote:


 If your machine is a Windows machine, should have no problem running IIS,
 and if it's Win7, should be able to set IIS like they have it.

 If a Mac, you can run Apache, but personally, I prefer just spinning up
 Tomcat and running via WARs - easier to stand up and tear down entire CF
 instances, in my opinion, so the admin isn't' cluttered with settings
 unrelated to the app I'm interested in at the moment.

 VMs run fine on 8GB - I'd allocate 1 or 2 GB, and you shouldn't have many
 problems. Things might run a bit slow, but that's fine while developing.
 However, VM is really only needed if you have some settings like .htaccess
 or web.config settings; probably only the case if your setup with CT is a
 VPS.

 OS licensing: Good idea to mirror what CT has, but that probably doesn't
 matter. However if Windows Server is needed, you can download a trial
 version if that meets your need. If you need a long-term license, an MS
 TechNet subscription would work (pretty sure for dev purposes doesn't
 violate the licensing there) for cheap. MS also had a program called
 WebsiteSpark, where based on your needs and qualifications, they give away
 licenses of Windows Server, SQL Server, Visual Studio, etc.


 Billy Cravens
 bdcrav...@gmail.com



 On Nov 26, 2011, at 7:33 AM, Matthew Smith wrote:

 
  hello.  i spent a lot of time posting here way back when, and then did
  other things, and now i am posting again.
 
  good to see you all.
 
  SSD install on my laptop, need a vm os/cf install for dev.  site(s) is on
  crystal tech, so i guess as close to what they have as possible.  i can
 go
  apache if needed, though i think ct is running iis.
 
  would prefer to not have to license an os if possible, though i could
 swing
  it to maintain equality between the dev and live.
 
  laptop has 8GB, so is a vm even worth it?
 
  want to get a new site up today, so i need to be able to download rather
  than wait on disks.  all my stuff is at home.
 
  thanks all!
 
  chedder
 
 
 

 

~|
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:348883
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm