Re: Source control in CF

2013-01-30 Thread Adam Cameron
Before you go too far down the SVN route, what you're kinda suggesting is akin to saying we've finally decided to upgrade from Windows 3.1, so we're upgrading to WindowsXP. SVN is great software, but it's not really where it's at any more. You really ought to be looking at Git: either your own

Severe memory issue

2013-01-30 Thread Helwig, Till Helge
Hi, I'm working on a very old and very badly coded CF application at the moment. It contains servertasks that do a lot of batch processing where huge data sets are queried from a database, processed and the results written back to the DB. Unfortunately by now the jobs have become so large

Re: Severe memory issue

2013-01-30 Thread Russ Michaels
Have you tried moving this job off to th db server and taking cf out of the loop. Use stored procs etc. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 30, 2013 10:27 AM, Helwig, Till Helge

AW: Severe memory issue

2013-01-30 Thread Helwig, Till Helge
Hi, I would love to do that but unfortunately that's impossible. The guy who designed the database layout all those years ago came up with the idiotic idea of using unique OIDs (strings essentially) instead of IDs in every table...and those OIDs have to be generated by some weird class

Re: AW: Severe memory issue

2013-01-30 Thread Russ Michaels
They will likely be a uuid, and most databases can also generate these natively too. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 30, 2013 10:34 AM, Helwig, Till Helge till.hel...@saxsys.de wrote:

AW: AW: Severe memory issue

2013-01-30 Thread Helwig, Till Helge
Hi, This doesn't look like any UUID I ever encountered before: 709565bc370.f5330048ffa80212 I will ask the DBA if there is any way of generating those things with a stored procedure, but I don't expect a positive answer, to be quite honest. Greetings, Till Helge -Ursprüngliche

Re: AW: Severe memory issue

2013-01-30 Thread Donnie Bachan (Gmail)
Hi Till, What version of CF are you on? I had some issues with memory in CF8 and outlined a few tips http://thinkinglemur.com/index.php/2010/02/memory-leaks-with-coldfusion-8/. If you are doing heap dumps, look for objects that hold huge amounts of memory, the blog posts has links to a couple of

AW: AW: Severe memory issue

2013-01-30 Thread Helwig, Till Helge
Hi Donnie, Thanks for the link. I will take a look. We are running CF9 though. Moved from CF8 a few months ago. We basically don't have any CFCs in the application that do anything else but collect similar functions in one place. Hardly any of them contain instance variables at all...

Re: Source control in CF

2013-01-30 Thread Byron Mann
+1 for git. Slightly larger learning curve, and but Google is your friend. If github, etc is not possible and you need a repo server in house look at gitlab and Gitorious as possible interface solutions on top of your git installation. We are in the process of replacement of a git + redmine

Re: Source control in CF

2013-01-30 Thread Andrew Scott
Michael, First you need to switch to developers running ColdFusion on their machines, there is no way in hell that you can be effective with any Source Control with that scenario. Then you need to use something like Subversive which I believe is the better one, although a lot of people on here

Re: Source control in CF

2013-01-30 Thread Andrew Scott
Disagree Adam... SVN is still the best to use if the development team will never be distributed across many locations, and even if it is but contained with the same company securely, SVN is still the better way to go. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+:

Re: Source control in CF

2013-01-30 Thread Byron Mann
https://git.wiki.kernel.org/index.php/GitSvnComparison Pretty good comparison. May be a little git bias, but I think it hits the major points on the head. My personal reason for switching to git were 2 fold. Our code base is ridiculous and svn was getting extremely slow, especially things like

AW: Severe memory issue

2013-01-30 Thread Helwig, Till Helge
Hi, Here is a screenshot of the latest Heap-Dump done after the process ran for almost 90 minutes and shortly before it died because of a full java heap: http://minus.com/lbyO8glNjBLZKf No matter how deep I dig into any of these nodes...I haven't been able to figure out where exactly all

Re: Source control in CF

2013-01-30 Thread Andrew Scott
I don't know, I think that is a decent comparison, maybe a bit GIT biased but I guess that maybe depends on who wrote it. I am not sure I know the answer to this, but are there Jira hooks for GIT? I find these extremely useful when using Jira as a ticketing system so you can see all the changes

Coldfusion and Twitter4j

2013-01-30 Thread Linda Burnside
I am trying to work with java and Twitter using Twitter4j (http://twitter4j..org/). I got oAuth to work, and I was able to return a string that looks like JSON but isn't. I am no JAVA programmer. I can do something with the string that is returned, but I ran into a snag when I tried to

Re: Coldfusion and Twitter4j

2013-01-30 Thread Andrew Scott
Looks like Json to me. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 ~| Order the Adobe Coldfusion Anthology now!

re: Coldfusion and Twitter4j

2013-01-30 Thread Guust Nieuwenhuis
Why are you using a Java lib when there is an amazing CF project that does the same? http://monkehtweet.riaforge.org/ Guust Nieuwenhuis Adobe Community Professional Mobile: +32 497 33 04 91 Skype: guustnieuwenhuis Email: i...@lagaffe.be From: Linda

Re: Source control in CF

2013-01-30 Thread Cameron Childress
On Wed, Jan 30, 2013 at 4:42 AM, Adam Cameron wrote: Before you go too far down the SVN route... To me, Git vs SVN is sort of like a Mac vs PC argument. Git is good, SVN is good. They are both VERY VERY widely used and I expect both to be heavily used for the foreseeable future. Like most

Re: Source control in CF

2013-01-30 Thread Donnie Bachan (Gmail)
I agree with Cameron on this one. We recently moved from SVN to Git because we found that within our team it facilitated our workflow. We started implementing the practices outlined by Git Flow and that's been working really well. That doesn't mean that Git is better than SVN, it's just better in

Re: Source control in CF

2013-01-30 Thread Andrew Scott
The downside is that in a team environment, you constantly need to merge and test and merge and test and commit. So you should be connected to the Source Control to do this, and where I have found GIT to be a pain in the ass with when multiple changes to a file can impact you. But I agree with

Re: Source control in CF

2013-01-30 Thread Matt Quackenbush
+infinity I agree with Adam here completely. SVN is mejor que nada, but if you're in an environment where anyone other than yourself is going to be committing, Git annihilates SVN. I would strongly encourage you to look at GitHub, as it makes things so simple to get started. And, if you're on a

Re: Source control in CF

2013-01-30 Thread Matt Quackenbush
Testing should be done on your topic branch. Git makes this so ridiculously simple that I'm not even sure how to respond to the (apparent) assertion that it's difficult. Committing and merging is one of the areas where SVN can't even begin to compare with Git in terms of simplicity - or power.

Re: Source control in CF

2013-01-30 Thread Steve 'Cutter' Blades
And I'll have to disagree with you, Andrew... Having worked extensively in both Subversion and Git, I find Git to be a much more robust tool, providing a lot more flexibility, and huge gains in overall workflow. Anytime I have to move back towards Subversion it is somewhat painful. All of

Re: Source control in CF

2013-01-30 Thread Matt Quackenbush
What Cutter said. :-) On Wed, Jan 30, 2013 at 9:10 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: And I'll have to disagree with you, Andrew... Having worked extensively in both Subversion and Git, I find Git to be a much more robust tool, providing a lot more

Re: Source control in CF

2013-01-30 Thread Andrew Scott
Steve, Yeah it might be a lack of understanding, but I know the tools on Windows are not for the faint hearted. I have had better success with SVN than I have ever had with Git. I tried using smartGit which the programmers have a very good version called smartSVN and the most basic of rolling

Re: Source control in CF

2013-01-30 Thread Cameron Childress
On Wed, Jan 30, 2013 at 10:08 AM, Matt Quackenbush quackfu...@gmail.comwrote: I'll just say that anyone that thinks Git is difficult in this area has either a) never tried Git, or b) didn't read/understand the documentation or have someone help them through it. I think Git gives you a whole

Re: Source control in CF

2013-01-30 Thread Matt Quackenbush
On Wed, Jan 30, 2013 at 9:35 AM, Andrew Scott wrote: In Open Source and the like I would recommend Git or the like, but expect a very huge learning curve. The context of the OP is that of getting started with source control - any source control. In that context, the learning curve exists

Re: Source control in CF

2013-01-30 Thread Andrew Scott
See now I find SVN far easier when you use it right, when merging code and my opinion it is more ridiculously easier than Git. But again you need to know how to use SVN to its fullest as well. I have worked in teams who use SVN, and they didn't know how to maximise its potential, and found

Re: Source control in CF

2013-01-30 Thread Matt Quackenbush
On Wed, Jan 30, 2013 at 9:56 AM, Andrew Scott wrote: Till then my view is not going to change, LOL. That's what we all love about you, my friend! :-) in a team SVN is far better when you know how to use it right. And there are countless teams who have used both - correctly - who

Re: Source control in CF

2013-01-30 Thread Andrew Scott
Matt, Please read what I have said, I am not painting it as bad, I have clearly stated that Git is better in decentralized environments. The OP seems to be a small company that is all in house, Git is not designed to be good in those conditions at least my experience across large/small

Re: Source control in CF

2013-01-30 Thread Andrew Scott
Whatever Matt, you took that right out of context. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jan 31, 2013 at 3:01 AM, Matt Quackenbush quackfu...@gmail.comwrote: On Wed, Jan 30, 2013 at 9:56 AM, Andrew Scott

Re: Source control in CF

2013-01-30 Thread Wil Genovese
Out of context for this thread? This thread was a question about how to do xyz with Subversion. Anything about using Git, the kewl kids are using Git, Git is Defacto, etc etc etc, is out of context. Every technology is a tool and each tool has it's uses. Just because some have manage to

Re: Source control in CF

2013-01-30 Thread Adam Cameron
To the OP: I'm really sorry to have accidentally turned this thread into one of those my toy is better than your toy kind of discussions. That's probably not what you were wanting :-( -- Adam On 30 January 2013 09:42, Adam Cameron adamcameroncoldfus...@gmail.comwrote: Before you go too far

Re: Source control in CF

2013-01-30 Thread Matt Quackenbush
My apologies. I came into the thread late, and had only seen bits about getting started. I didn't realize that the OP was asking specific questions about SVN. I still agree with Adam, though, that one getting started with source control should look at Git as well. On Wed, Jan 30, 2013 at 10:19

RE: Source control in CF

2013-01-30 Thread Ben Forta
This thread has gotten out of hand. So, Michael, if I may summarize ... 1: SVN, Git, ..., any option is better than no option, and you should research them all to figure out what works best for you. There is no one size fits all. 2: More importantly, development on a shared server is a big fat

Re: Source control in CF

2013-01-30 Thread Adam Cameron
Sorry Wil, yeah. I guess I should have anticipated the way it would have gone after I mentioned I thought Git might be a better starting point. I only addressed that and the shared dev server point because I wanted to see if Git was an option before helping with the other - SVN-specific -

Re: Severe memory issue

2013-01-30 Thread Russ Michaels
have you tried using the built in server monitor to look at memory usage ? On Wed, Jan 30, 2013 at 1:55 PM, Helwig, Till Helge till.hel...@saxsys.dewrote: Hi, Here is a screenshot of the latest Heap-Dump done after the process ran for almost 90 minutes and shortly before it died because

Re: Source control in CF

2013-01-30 Thread Andrew Scott
I think the interesting thing is that how can something be defacto when the market share for that product is like 3% where SVN has a market share of well over 50%. So 5 million users against a few thousand must be wrong... -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+:

Re: First time caller, long time listener . . . why does Captivate 6 hate CF

2013-01-30 Thread M
All - I needed to seek the help of a networking geek to help me get the Wireshark captures. During the process we installed a copy of CF10 Developer Edition to be better able to poke and prod at settings in a more controlled (and change sensitive) environment. If it matters, it's CF10

Re: First time caller, long time listener . . . why does Captivate 6 hate CF

2013-01-30 Thread M
Sorry for the length of previous post, but only way to demonstrate failure of Captivate 6 and Coldfusion to get along. On Wed, Jan 30, 2013 at 10:52 AM, M opusmyh...@gmail.com wrote: All - I needed to seek the help of a networking geek to help me get the Wireshark captures.

Problem using Solr

2013-01-30 Thread Claude Schnéegans
Hi, I'm trying to install solr collections for my sites unde CF9, so I installed Solr Server, but when I try to create a collection in the administrator, I get this error : « fr_FR. must be one of the ColdFusion supported locales ». But fr_FR is the Java Default Locale in the CF

Re: First time caller, long time listener . . . why does Captivate 6 hate CF

2013-01-30 Thread Russ Michaels
I think your problem may be multipart/form-data you have in the form Content-Disposition: form-data; name=Upload but there is no file being sent that I can see from your sample data. On Wed, Jan 30, 2013 at 4:57 PM, M opusmyh...@gmail.com wrote: Sorry for the length of previous post,

RE: Source control in CF

2013-01-30 Thread Eric Roberts
I didn't like GIT at all...SVN was easy to use and manage. I still couldn't figure out how to even get my source into git...and that is using git hub and the graphical tool. It shouldn't be that difficult. The whole point of SVN, beyond versioning, is to allow multiple people to work on the

RE: Source control in CF

2013-01-30 Thread Eric Roberts
I completely disagree. Going from no source control to source control with SVN is a lot easier than going from no source control to GIT. Same with going from SVN to Git. SVN is WAY easier to use and learn. -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent:

RE: Source control in CF

2013-01-30 Thread Eric Roberts
I agree Andrew... -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Wednesday, January 30, 2013 9:57 AM To: cf-talk Subject: Re: Source control in CF See now I find SVN far easier when you use it right, when merging code and my opinion it is more

table (rows...)[...]not indexable by 1 -- error

2013-01-30 Thread B Griffith
Hello All, I'm trying to loop through a query and output the results as hyperlinks. I would like (if the number of rows exceeds 15) to make 3 columns (in markup) with no headers, arranged by SQL fields 'last', 'first' 'mi' and to look approximately like this: link1 link4 link7 link2

Re: table (rows...)[...]not indexable by 1 -- error

2013-01-30 Thread B Griffith
Edit: Forgot to finish the post. So if anyone has any ideas on either the side-note and/or how I can avoid the error and have CF spit out the list of employees as intended I would greatly appreciate your input/feedback. Looking forward to your replies, thank you in advance, HoF!

RE: Source control in CF

2013-01-30 Thread Will Swain
I can only speak from personal experience, but I found the move from nothing to Mercurial (which has a similar model to Git) much easier than my previous, aborted, attempt to get going with SVN. Since then, I've had experience with both, but not Git, and I can honestly say that big merges are

Re: table (rows...)[...]not indexable by 1 -- error

2013-01-30 Thread Andrew Scott
Two things 1) Must cfqueryparam your query 2) This cfif getEmployeeList[getEmployeeList.currentrow] MOD 3 EQ 2 should be cfif getEmployeeList.currentrow MOD 3 EQ 2 -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411

Re: table (rows...)[...]not indexable by 1 -- error

2013-01-30 Thread Carl Von Stetten
I think you can remove all of the references to [getEmployeeList.currentrow] in your a tags. Since you are looping through the query with cfloop, any place you reference #getEmployeeList. you will get only the value of that field for the current row. HTH, Carl V.

Re: Severe memory issue

2013-01-30 Thread Nathan Strutz
I see that there are millions of objects in the memory and many of them are LoopTags and QueryTags Is that from a java thread dump or something else? The thread dump should show you everything the JVM is doing. It actually sounds like your server is busy doing a lot of things. Could it be

Re: Severe memory issue

2013-01-30 Thread .jonah
Have you tuned the JVM heap size and garbage collection? It's not a fix but sometimes, that's what you've gotta do. It might keep things running while you re architect things at least. I had a long-running task like that in one of my apps and one thing that helped was to break it up into

Re: Log question

2013-01-30 Thread Larry Lyons
How do you restore a deleted log? In an attempt to clear the exception log, I ended up deleting it (they should label those buttons better).help! [insert Delorean time machine joke here] Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf

Posting question

2013-01-30 Thread Ken Hammond
If I have a project I need someone with experience to work on, can I post it here? Ken Hammond IT Director The Salem Group Phone: 630-873-3018 Fax: 630-932-7010 Email: khamm...@saleminc.com www.saleminc.com ~| Order the

Re: Posting question

2013-01-30 Thread Bruce Sorge
Probably want to post it to cf-jobs On Jan 30, 2013, at 3:31 PM, Ken Hammond khamm...@saleminc.com wrote: If I have a project I need someone with experience to work on, can I post it here? Ken Hammond IT Director The Salem Group Phone: 630-873-3018 Fax: 630-932-7010 Email:

Re: Posting question

2013-01-30 Thread John M Bliss
That should probably go here: http://www.houseoffusion.com/groups/cf-jobs/ On Wed, Jan 30, 2013 at 2:31 PM, Ken Hammond khamm...@saleminc.com wrote: If I have a project I need someone with experience to work on, can I post it here? Ken Hammond IT Director The Salem Group Phone:

Re: Posting question

2013-01-30 Thread Ken Hammond
Thanks Bruce, will do! That's just cf-j...@houseoffusion.com right? Ken Hammond IT Director The Salem Group Phone: 630-873-3018 Fax: 630-932-7010 Email: khamm...@saleminc.com www.saleminc.com On Jan 30, 2013, at 2:32 PM, Bruce Sorge sor...@gmail.com wrote: Probably want to post it to

RE: Log question

2013-01-30 Thread Eric Roberts
Gee thanks...LOL -Original Message- From: Larry Lyons [mailto:larrycly...@gmail.com] Sent: Wednesday, January 30, 2013 1:52 PM To: cf-talk Subject: Re: Log question How do you restore a deleted log? In an attempt to clear the exception log, I ended up deleting it (they should

SOT: cfhttp geolocation

2013-01-30 Thread John M Bliss
I understand that Google, etc tries to determine your location via IP, nearby wifi, etc (i.e. http://support.google.com/maps/bin/answer.py?hl=enanswer=153807 ) I'm wondering how to override this behavior via cfhttp. My first attempt was to use:

Re: SOT: cfhttp geolocation

2013-01-30 Thread John M Bliss
Clunky but I thought of a potential solution (at least for Google): 1. new browser session, logged out of Google, clear all cookies 2. Google something like local florist 3. click Options, Search settings, Location, and specify a new location 4. copy all resulting cookies into

Re: Source control in CF

2013-01-30 Thread Michael Christensen
First of, let me thank all of you for your (quite lively) inputs. The discussion did spiral a bit out of control in a GIT vs SVN tussle, but I understand and can respect that people have strong opinions as to which systems they prefer. I also wholeheartedly agree, that there are certain

Re: SOT: cfhttp geolocation

2013-01-30 Thread Dave Watts
I understand that Google, etc tries to determine your location via IP, nearby wifi, etc (i.e. http://support.google.com/maps/bin/answer.py?hl=enanswer=153807 ) I'm wondering how to override this behavior via cfhttp. My first attempt was to use:

Re: Source control in CF

2013-01-30 Thread Russ Michaels
of course we could liven it up even more and suggest mercurial :-) On Wed, Jan 30, 2013 at 10:51 PM, Michael Christensen mich...@strib.dkwrote: First of, let me thank all of you for your (quite lively) inputs. The discussion did spiral a bit out of control in a GIT vs SVN tussle, but I

Re: Source control in CF

2013-01-30 Thread Matt Quackenbush
Someone already did. :-) On Wed, Jan 30, 2013 at 5:54 PM, Russ Michaels r...@michaels.me.uk wrote: of course we could liven it up even more and suggest mercurial :-) On Wed, Jan 30, 2013 at 10:51 PM, Michael Christensen mich...@strib.dk wrote: First of, let me thank all of you for

Re: Source control in CF

2013-01-30 Thread Raymond Camden
While it is true, that the CF Developer licensing does allow for each developer to run a CF server locally without paying a license fee, the time spent by the IT department setting up and supporting 50+ websites (plus our backend/admin software) on each developer machine does come at a cost.

Re: Source control in CF

2013-01-30 Thread Byron Mann
I'll guess this is more a situation with IT restricting software installs to workstations. Heck we've even had problems with advanced users (who have been granted administration rights to their workstations) abusing the privilege by running torrents and other inappropriate software. Government

Re: Log question

2013-01-30 Thread Byron Mann
Maybe just maybe, if you are running the service under a local user (as you should be), not System, you could log into the server as that user and see if it is in the recycle bin? Byron Mann Lead Engineer Architect HostMySite.com On Jan 28, 2013 5:32 PM, Eric Roberts

RE: Log question

2013-01-30 Thread Eric Roberts
I ended up just reinstalling cf -Original Message- From: Byron Mann [mailto:byronos...@gmail.com] Sent: Wednesday, January 30, 2013 7:49 PM To: cf-talk Subject: Re: Log question Maybe just maybe, if you are running the service under a local user (as you should be), not System, you

Re: Source control in CF

2013-01-30 Thread Andrew Scott
I agree with Raymond, any developer should be able to maintain their own CF and other things. As for Helicon mod_rewrite there is a lite version that allows developers to run with a few limitations, but as they clearly state the lite version is great for developers who are developing with a few

Re: Log question

2013-01-30 Thread Andrew Scott
If the log is deleted ColdFusion should recreate the log, for example stop ColdFusion go to the logs directory and delete them, then restart ColdFusion and the logs will be recreated. If you are wanting the log information from inside the file then you will want an undelete tool to get the file

Re: Source control in CF

2013-01-30 Thread Andy Ousterhout
Why not just have a local VMware image for developer unit testing? Sent from my iPhone On Jan 31, 2013, at 7:51 AM, Michael Christensen mich...@strib.dk wrote: First of, let me thank all of you for your (quite lively) inputs. The discussion did spiral a bit out of control in a GIT vs SVN