Re: High school algebra problem

2012-05-14 Thread Andrei Kondrashev
The fastest formula would be: 1+BitAND(id-1, 255) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-t

Re: Linkpoint Web Service API

2011-09-06 Thread Andrei Kondrashev
Post your contact email. ~| 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:3

Could not initialize class javax.media.jai.JAI

2011-08-20 Thread Andrei Kondrashev
. This is CF8. Host guys cannot figure out what's going on. Does anybody have any insights on this error? We need to fix this ASAP. Thank you in advance. Andrei Kondrashev Adiabata, Inc. ~| Order the Adobe Coldfusion Anth

Re: Problem with CF Execute

2011-06-25 Thread Andrei Kondrashev
If this software requires a registration, like entering serial number or activation code, most likely, it uses Windows registry to remember it. When it starts up, it looks for this entry in registry, possibly in the profile of the current user. When you run the program from CF under SYSTEM ac

Re: scoping

2011-05-22 Thread Andrei Kondrashev
>From my [private] point of view, the scoping of 100% variables is a >programming extremism. When some scope is implied, there is no reason to >scope variables, unless it is absolutely necessary, like in CFQUERY-related >loops, or using functions with side effect(s). Or if this is a policy of

Re: cfhttp response with non-english characters gets cut off

2011-05-20 Thread Andrei Kondrashev
I think, you gave up too early. This is how I would do this. Version 1. Use another tool to get the stuff from the server. Not a browser or . It must be able to save your stream, as an unchanged byte stream without any conversion to a disk file. So the number in the Content-Length would exactl

Re: ColdFusion and AJAX choices

2011-05-19 Thread Andrei Kondrashev
Didn't really wanted to start a discussion. Just expressed my private opinion applied to this particular situation, not really trying to make any general claims. > 1) It's 90k minified Only 90? Great! >2) Those 10 lines will inevitably be 1 line of jQuery No, my custom line will be 11th one.

Re: cfhttp response with non-english characters gets cut off

2011-05-19 Thread Andrei Kondrashev
>Andrei, one of my coworkers had much the same thought. The headers are >reporting utf-8, and I've created a test document containing an omega >character I've saved as plain text utf-8 encoded and it still truncates. Just created a text file that contains the entire Greek alphabet plus crazy Sca

Re: ColdFusion and AJAX choices

2011-05-18 Thread Andrei Kondrashev
Carrying 300K of JS code (min) just to do something that takes 10 lines (or less) of JS code is nonsense. Not even speaking about its terrible performance. >jQuery + infinity ~| Order the Adobe Coldfusion Anthology now! http

Re: cfhttp response with non-english characters gets cut off

2011-05-18 Thread Andrei Kondrashev
Dump HTTP headers and look at Content-Type header. There is a "charset" attribute that specifies the input stream encoding. Most likely it is missing or incorrect. If the "charset" is missing, CF assumes UTF-8. However, in UTF-8 any char with the code higher than 127, is treated as an escape

Re: Batch Website Screen Captures

2011-03-31 Thread Andrei Kondrashev
http://www.cftagstore.com/tags/cfxwebthumb.cfm ~| 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/

Re: Problem with getting cfhttp to do a post

2010-09-16 Thread Andrei Kondrashev
If POST from a browser works AND it is NOT an authetication issue, you should be able successuly POST using CFHTTP or CFX_HTTP5. Wondering, why do you have encoded="no" set? Browsers, do URL-encoding of values before POST. So, you might be rejected, because some values you are posting are not