Re: kony2012

2012-03-11 Thread Michael Stemle

I don't think this is a good place to discuss this, especially since the
people local to that area are now opposing this whole "movement." I don't
believe the people involved in this "movement" have properly grasped the
complexity of this issue - especially the racial aspects - and I don't
think it is possible for us to have an honest and appropriate discussion
about this here. I would prefer not receive messages designed to take the
United States to war... or of any other political sway.

On Sun, Mar 11, 2012 at 20:07, Brian Thornton  wrote:

>
> Have you guys seen this video...
> -- Forwarded message --
> From: "Fred Day" 
> Date: Mar 11, 2012 9:06 PM
> Subject: kony2012
> To: "Brian Thornton" 
>
>  http://www.youtube.com/watch?v=Y4MnpzG5Sqc
>
>
> 

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


Re: Remove all CF comments

2012-03-01 Thread Michael Stemle

So what do you do ten years later when nobody on the team was there when the 
code was written?

--
~ Mike Stemle, Jr.

On Feb 29, 2012, at 18:25, James Holmes  wrote:

> 
> This is why we pair program. Eventually everyone on the team has seen each
> bit of code in the app (or at least most of it) and when new people come
> along they get to sit with someone who knows the app well and can reinforce
> the design expressed in the tests. Regardless of skill level they can then
> maintain the app, because face to face communication works better than
> written documentation.
> 
> --
> Shu Ha Ri: Agile and .NET blog
> http://www.bifrost.com.au/
> 
> 
> On 1 March 2012 00:41, Bryan Stevenson wrote:
> 
>> 
>> Bingo Steve...well said!
>> 
>> On Wed, 2012-02-29 at 08:25 -0500, Steve 'Cutter' Blades wrote:
>> 
>>> Beautiful sentiment, *if* you didn't inherit a 3500 template legacy
>>> application originally written on CF 4.
>>> 
>>> Both (comments and TDD) have their place. Fact is, what is simple and
>>> clear and second nature for me is Greek to a noob, and I train those all
>>> of the time. Comments are for those who come behind, remembering that
>>> not all of them share my level of skill (or my preconceptions of what is
>>> right and wrong to do).
>> 
> 
> 
> 

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


Re: Remove all CF comments

2012-02-28 Thread Michael Stemle

You're a condescending troll, and I'm done here. Have a great day. 

--
~ Mike Stemle, Jr.

On Feb 28, 2012, at 21:56, James Holmes  wrote:

> 
> And TDD is the easiest way to cover the re-factoring necessary to prevent
> 1500 line files from turning up. It's also the easiest way to come up with
> the good designs that are equally as necessary.
> 
> Dev shops who've implemented TDD can and do easily measure the improvement
> in code quality scientifically. Indicators such as number of defects
> discovered post-deployment (or even during development) are a tangible,
> improvable measurement.
> 
> Seriously, instead of being offended, try reading more on Agile practices.
> This stuff actually works and produces measurably better results
> and measurably better value for your clients (which is what it's all about).
> 
> --
> Shu Ha Ri: Agile and .NET blog
> http://www.bifrost.com.au/
> 
> 
> On 29 February 2012 09:48, Michael Stemle  wrote:
> 
>> 
>> In properly designed code you don't have 1500-line files. Now that I've
>> made my ridiculous assertion can we please move on?
>> 
>> This is just silly, and there is no actual reason behind your assertion,
>> merely an arrogant assertion that you know how everyone else's applications
>> are written, and that you have - at long last - discovered a unifying
>> theory in computer science.
>> 
>> Tests are great, useful, and absolutely vital to modern development
>> practice... but they are a poor substitute for documentation or debuggers.
>> 
>> --
>> ~ Mike Stemle, Jr.
>> 
>> On Feb 28, 2012, at 19:36, James Holmes  wrote:
>> 
>>> 
>>> Those using comments to plan code probably don't have any tests. Tests
>> are
>>> essential to allow re-factoring with confidence; comments don't provide
>>> that benefit. This is not a religious belief, it's  something that can be
>>> demonstrated the first time you want to maintain a 1500 line file and all
>>> you have are comments.
>>> 
>>> In TDD, the test is written first. It expresses the design for the code
>> to
>>> follow. When the code is then re-factored, it ensures the code still
>> meets
>>> the original design.
>>> 
>>> --
>>> Shu Ha Ri: Agile and .NET blog
>>> http://www.bifrost.com.au/
>>> 
>>> 
>>> On 29 February 2012 08:45, Michael Stemle 
>> wrote:
>>> 
>>>> 
>>>> We are in disagreement. Some of us actually use comments as a way of
>>>> planning and maintaining our code.
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

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


Re: Remove all CF comments

2012-02-28 Thread Michael Stemle

In properly designed code you don't have 1500-line files. Now that I've made my 
ridiculous assertion can we please move on?

This is just silly, and there is no actual reason behind your assertion, merely 
an arrogant assertion that you know how everyone else's applications are 
written, and that you have - at long last - discovered a unifying theory in 
computer science.

Tests are great, useful, and absolutely vital to modern development practice... 
but they are a poor substitute for documentation or debuggers. 

--
~ Mike Stemle, Jr.

On Feb 28, 2012, at 19:36, James Holmes  wrote:

> 
> Those using comments to plan code probably don't have any tests. Tests are
> essential to allow re-factoring with confidence; comments don't provide
> that benefit. This is not a religious belief, it's  something that can be
> demonstrated the first time you want to maintain a 1500 line file and all
> you have are comments.
> 
> In TDD, the test is written first. It expresses the design for the code to
> follow. When the code is then re-factored, it ensures the code still meets
> the original design.
> 
> --
> Shu Ha Ri: Agile and .NET blog
> http://www.bifrost.com.au/
> 
> 
> On 29 February 2012 08:45, Michael Stemle  wrote:
> 
>> 
>> We are in disagreement. Some of us actually use comments as a way of
>> planning and maintaining our code.
> 
> 
> 

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


Re: Remove all CF comments

2012-02-28 Thread Michael Stemle

Well played :)

--
~ Mike Stemle, Jr.

On Feb 28, 2012, at 18:59, Bryan Stevenson  
wrote:

> 
> tabs inserted as 2 spaces ;-)
> 
> On Tue, 2012-02-28 at 18:45 -0600, Michael Stemle wrote:
> 
>> We are in disagreement. Some of us actually use comments as a way of 
>> planning and maintaining our code. This is coming across as religious belief 
>> or trolling, not actual development or engineering. If we continue I'm 
>> virtually certain we will break out into an argument on tabs versus spaces 
>> for indentation. 
>> 
>> --
>> ~ Mike Stemle, Jr.
> 
> 
> -- 
> 
> 
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: br...@electricedgesystems.com
> web: www.electricedgesystems.com
> 
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
> Please consider the environment before printing this e-mail
> 
> 
> 
> 

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


Re: Remove all CF comments

2012-02-28 Thread Michael Stemle

We are in disagreement. Some of us actually use comments as a way of planning 
and maintaining our code. This is coming across as religious belief or 
trolling, not actual development or engineering. If we continue I'm virtually 
certain we will break out into an argument on tabs versus spaces for 
indentation. 

--
~ Mike Stemle, Jr.

On Feb 28, 2012, at 18:19, James Holmes  wrote:

> 
> Really good tests and self explanatory code do exactly that. Any code that
> isn't self explanatory is too complex and needs to be re-factored.
> 
> Code that's so obscure that it needs a comment is silliness.
> 
> --
> Shu Ha Ri: Agile and .NET blog
> http://www.bifrost.com.au/
> 
> 
> On 28 February 2012 23:32, Michael Stemle  wrote:
> 
>> 
>> This reminds me of the time that Ruby's developers told me that unit tests
>> obsoleted debuggers. This is silliness. Until unit tests can convey
>> developer intent, comments will remain useful.
> 
> 
> 

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


Re: Remove all CF comments

2012-02-28 Thread Michael Stemle

This reminds me of the time that Ruby's developers told me that unit tests
obsoleted debuggers. This is silliness. Until unit tests can convey
developer intent, comments will remain useful.

On Tue, Feb 28, 2012 at 08:16, James Holmes  wrote:

>
> Try TDD. The unit tests express the design for the code; comments are
> therefore unnecessary.
>
> --
> Shu Ha Ri: Agile and .NET blog
> http://www.bifrost.com.au/
>
>
> On 28 February 2012 22:04, Raymond Camden  wrote:
>
> >
> > When you arrive in Heaven with all the perfect code,please send us a
> > postcard. ;)
> >
> > On Tue, Feb 28, 2012 at 7:54 AM, Casey Dougall - Uber Website
> > Solutions  wrote:
> > >
> > > On Tue, Feb 28, 2012 at 8:16 AM, Michael Stemle <
> themanchic...@gmail.com
> > >wrote:
> > >
> > >> This is a pretty simple task to script, but why would one wish to
> remove
> > >> all comments? That seems like a poor practice.
> > >
> > >
> > >
> > > because code should be self explanatory hahaha.
> >
>
>
> 

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


Re: Remove all CF comments

2012-02-28 Thread Michael Stemle

This is a pretty simple task to script, but why would one wish to remove all 
comments? That seems like a poor practice.

--
~ Mike Stemle, Jr.

On Feb 28, 2012, at 6:57, Chad Baloga  wrote:

> 
> Are there any programs out there that will remove all CF comments from your 
> code?? 
> 
> 

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


Re: CF-friendly iPad Code Editor app

2012-02-25 Thread Michael Stemle

+1 for Textastic.

On Sat, Feb 25, 2012 at 17:41, Brian Thornton  wrote:

>
> I second Larrys comments
>
> > > I'm trying to decide which CF-friendly iPad code editor to get. So
> > far,
> > > its a toss-up between Koder Code, Textastic, and Gusto. Anyone got
> > > some experience in using any of these apps and if so, have some nice
> >
> > > or not-so-nice things to comment? Also your wish list features if
> > > those are absent from your chosen app. Thanks.
> >
> > I've used Textastic for a while now. Its very good with syntax
> > colouring etc. It has full support for ftp, web dav and drop box. Code
> > insight would be nice but I can live without that. SVN or other code
> > repository access would be good too. One thing I have found is with
> > almost all the code editors for the iPad that I've tied is that to do
> > any real coding, you need a keyboard. The on screen keypad just
> > doesn't work all that great.
> >
> > hth,
> > larry
> >
> > --
> > Larry C. Lyons
> > web: http://www.lyonsmorris.com/lyons
> > LinkedIn: http://www.linkedin.com/in/larryclyons
> >
> > There is a cult of ignorance in the United States, and there always
> > has been. The strain of anti-intellectualism has been a constant
> > thread winding its way through our political and cultural life,
> > nurtured by the false notion that democracy means that "my ignorance
> > is just as good as your knowledge." - Issac Asimov
> >
>
> 

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


Re: (ot) Mobile Modal Dialogs Trouble

2012-02-14 Thread Michael Stemle

I just use pages in jquery mobile, not modal dialogs. Those seem to scroll 
well. 

--
~ Mike Stemle, Jr.

On Feb 14, 2012, at 8:16, "Rick Faircloth"  wrote:

> 
> It appears that jQuery Mobile does the same thing with their
> dialogs that I ended up doing to prevent multiple layers from
> being affected by a touch: I just decided to hide everything
> beneath the modal dialog until it was closed, then I show
> everything again. That works fine, because the dialog is so
> big in relation to the full screen that it's not a design issue.
> (This appears to be the case only be noticing that the underlying
> content disappeared from view while the modal was active)
> 
> Have you created a modal window that was larger than the mobile
> screen and have it scroll properly? (And by the way, I haven't had
> to "lock down" the page beneath before... how is that done?)
> 
> Rick
> 
> -Original Message-
> From: Michael Stemle [mailto:themanchic...@gmail.com] 
> Sent: Monday, February 13, 2012 11:12 PM
> To: cf-talk
> Subject: Re: (ot) Mobile Modal Dialogs Trouble
> 
> 
> I suppose it's possible, though I don't understand the aversion to these
> frameworks. They make life much easier, and mitigate much of the hassle
> involved in developing web software for mobile devices. They also reduce the
> need to re-invent the wheel. 
> 
> As far as modal dialogs, that isn't a very common UI design pattern on
> mobile devices. That said, they work much the same way that they would on a
> normal browser: use zindex to bring your modal page above everything else,
> and have a background which locks things behind your dialog.
> 
> I am a strong advocate for frameworks - particularly UI ones. 
> 
> --
> ~ Mike Stemle, Jr.
> 
> On Feb 13, 2012, at 21:49, "Rick Faircloth" 
> wrote:
> 
>> 
>> I've avoided the frameworks, although I have worked
>> with jQuery Mobile, just to get a feel for it.  No development
>> with it, however.
>> 
>> I'd rather not work with a framework completely, but is it
>> possible to somehow use parts of it only, such as a modal
>> functionality, if it has one?
>> 
>> 
>> -Original Message-
>> From: Michael Stemle [mailto:themanchic...@gmail.com] 
>> Sent: Monday, February 13, 2012 10:02 PM
>> To: cf-talk
>> Subject: Re: (ot) Mobile Modal Dialogs Trouble
>> 
>> 
>> Are you using a framework like jQuery Mobile or Sencha? I've had great
> luck
>> with jQuery Mobile, and a colleague of mine has had similar luck with
>> Sencha.
>> 
>> On Feb 13, 2012, at 20:51 , Rick Faircloth wrote:
>> 
>>> 
>>> I've started doing quite a bit of mobile development
>>> and have been working on implementing modal dialogs
>>> on a site, but I've found a couple of issues I can't
>>> work around:
>>> 
>>> 1) On mobile devices (iPhone and Android) a user's
>>> touch goes through all layers on a screen.  If I
>>> create an overlay that prevents a user from clicking
>>> the screen beneath it, it works on a desktop, but
>>> not on mobile devices.  I haven't figure out, yet,
>>> how to prevent activation of functions "below" the overlay.
>>> Such as tapping a dialog that is on top of a phone number
>>> on a mobile device causes the phone to pop up an alert
>>> to dial the number.
>>> 
>>> 2) Modal dialogs don't scroll properly. I've noticed that
>>> a modal dialog won't scroll unless the screen below (that
>>> does scroll when swiped, even if the swipe is on top of
>>> the modal dialog) is at the top of the page.  This problem
>>> is related to problem 1.
>>> 
>>> Anyone have any pointers? Anyone written successful modal
>>> dialog code for smartphones? Or know of a plug-in that works
>>> well on iPhone, Android, iPad?
>>> 
>>> I was surprised by how much trouble I'm having getting
>>> modal dialogs to work on these devices.
>>> 
>>> Before I give up on the modal approach, which I've used a
>>> lot on the desktop, I thought I'd ask for help here.
>>> 
>>> Thanks for any feedback!
>>> 
>>> Rick
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> 

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


Re: (ot) Mobile Modal Dialogs Trouble

2012-02-13 Thread Michael Stemle

I suppose it's possible, though I don't understand the aversion to these 
frameworks. They make life much easier, and mitigate much of the hassle 
involved in developing web software for mobile devices. They also reduce the 
need to re-invent the wheel. 

As far as modal dialogs, that isn't a very common UI design pattern on mobile 
devices. That said, they work much the same way that they would on a normal 
browser: use zindex to bring your modal page above everything else, and have a 
background which locks things behind your dialog.

I am a strong advocate for frameworks - particularly UI ones. 

--
~ Mike Stemle, Jr.

On Feb 13, 2012, at 21:49, "Rick Faircloth"  wrote:

> 
> I've avoided the frameworks, although I have worked
> with jQuery Mobile, just to get a feel for it.  No development
> with it, however.
> 
> I'd rather not work with a framework completely, but is it
> possible to somehow use parts of it only, such as a modal
> functionality, if it has one?
> 
> 
> -Original Message-
> From: Michael Stemle [mailto:themanchic...@gmail.com] 
> Sent: Monday, February 13, 2012 10:02 PM
> To: cf-talk
> Subject: Re: (ot) Mobile Modal Dialogs Trouble
> 
> 
> Are you using a framework like jQuery Mobile or Sencha? I've had great luck
> with jQuery Mobile, and a colleague of mine has had similar luck with
> Sencha.
> 
> On Feb 13, 2012, at 20:51 , Rick Faircloth wrote:
> 
>> 
>> I've started doing quite a bit of mobile development
>> and have been working on implementing modal dialogs
>> on a site, but I've found a couple of issues I can't
>> work around:
>> 
>> 1) On mobile devices (iPhone and Android) a user's
>>  touch goes through all layers on a screen.  If I
>>  create an overlay that prevents a user from clicking
>>  the screen beneath it, it works on a desktop, but
>>  not on mobile devices.  I haven't figure out, yet,
>>  how to prevent activation of functions "below" the overlay.
>>  Such as tapping a dialog that is on top of a phone number
>>  on a mobile device causes the phone to pop up an alert
>>  to dial the number.
>> 
>> 2) Modal dialogs don't scroll properly. I've noticed that
>>  a modal dialog won't scroll unless the screen below (that
>>  does scroll when swiped, even if the swipe is on top of
>>  the modal dialog) is at the top of the page.  This problem
>>  is related to problem 1.
>> 
>> Anyone have any pointers? Anyone written successful modal
>> dialog code for smartphones? Or know of a plug-in that works
>> well on iPhone, Android, iPad?
>> 
>> I was surprised by how much trouble I'm having getting
>> modal dialogs to work on these devices.
>> 
>> Before I give up on the modal approach, which I've used a
>> lot on the desktop, I thought I'd ask for help here.
>> 
>> Thanks for any feedback!
>> 
>> Rick
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> 

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


Re: (ot) Mobile Modal Dialogs Trouble

2012-02-13 Thread Michael Stemle

Are you using a framework like jQuery Mobile or Sencha? I've had great luck 
with jQuery Mobile, and a colleague of mine has had similar luck with Sencha.

On Feb 13, 2012, at 20:51 , Rick Faircloth wrote:

> 
> I've started doing quite a bit of mobile development
> and have been working on implementing modal dialogs
> on a site, but I've found a couple of issues I can't
> work around:
> 
> 1) On mobile devices (iPhone and Android) a user's
>   touch goes through all layers on a screen.  If I
>   create an overlay that prevents a user from clicking
>   the screen beneath it, it works on a desktop, but
>   not on mobile devices.  I haven't figure out, yet,
>   how to prevent activation of functions "below" the overlay.
>   Such as tapping a dialog that is on top of a phone number
>   on a mobile device causes the phone to pop up an alert
>   to dial the number.
> 
> 2) Modal dialogs don't scroll properly. I've noticed that
>   a modal dialog won't scroll unless the screen below (that
>   does scroll when swiped, even if the swipe is on top of
>   the modal dialog) is at the top of the page.  This problem
>   is related to problem 1.
> 
> Anyone have any pointers? Anyone written successful modal
> dialog code for smartphones? Or know of a plug-in that works
> well on iPhone, Android, iPad?
> 
> I was surprised by how much trouble I'm having getting
> modal dialogs to work on these devices.
> 
> Before I give up on the modal approach, which I've used a
> lot on the desktop, I thought I'd ask for help here.
> 
> Thanks for any feedback!
> 
> Rick
> 
> 
> 
> 
> 

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


Re: Great Apple iOS apps steal your address book.

2012-02-09 Thread Michael Stemle

There is an addon in cydia for those who jailbreak that helps. It's called 
ContactPrivacy, and it's free.

Now that jail breaking has been ruled not to be DMCA-violating, and it's crazy 
simple to do, those who are concerned about privacy should learn about that 
option. 

What you've described here is a violation of Apple's rules. You should "Report 
a Problem" to let Apple know that it bothers you. I wouldn't call it common or 
even understood as acceptable that developers would do that. I certainly don't. 

--
~ Mike Stemle, Jr.

On Feb 9, 2012, at 9:48, Cameron Childress  wrote:

> 
> I wonder how many people store passwords in their address book.
> 
> -Cameron
> 
> On Thu, Feb 9, 2012 at 9:09 AM, Casey Dougall - Uber Website Solutions <
> ca...@uberwebsitesolutions.com> wrote:
> 
>> 
>> http://dcurt.is/stealing-your-address-book
>> 
>> It's not really a secret, per se, but there's a quiet understanding among
>> many iOS app developers that it is acceptable to send a user's entire
>> address book, without their permission, to remote servers and then store it
>> for future reference. It's common practice, and many companies likely have
>> your address book stored in their database.
>> 
>> News to me but I guess I was a sheep following the herd.
>> 
> 
> 
> 

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


Re: Opening a word document saved on a server

2012-01-16 Thread Michael Stemle

Try also writing an appropriate content-type header, see if that helps.

On Mon, Jan 16, 2012 at 15:07, fun and learning wrote:

>
> >What do you mean "fails"?
> >
> >On Mon, Jan 16, 2012 at 14:58, fun and learning  >wrote:
> >
> >>
> It does not work. It does not throw any error. It tries to open a tab and
> immediately closes it.
>
> 

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


Re: Opening a word document saved on a server

2012-01-16 Thread Michael Stemle

What do you mean "fails"?

On Mon, Jan 16, 2012 at 14:58, fun and learning wrote:

>
> Hi All -
>
> I have used cfcontent to write some data to excel docs.
>
> I am trying to do the following - I have a drop down, and when one of the
> value is selected, I need to open a word document that is saved on the
> server.
>
> opendoc.cfm
> 
>
> 
> 
> 
>
> When the user selects a dropdown value, I am calling a javascript fucntion
> with following code
>
> window.open("opendoc.cfm");
>
> The above coldfusion code fails. Let me know if its possible to open a
> word document from server using cfcontent and cfheader
>
> 

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


Re: Troubleshooting slow web service calls

2012-01-10 Thread Michael Stemle

I would approach this by writing a test against the webservice, and then
throwing a little bit of benchmarking code into the procedures you call.
That should give you some sort of idea as to which parts of the procedure
are running slower than expected.

On Tue, Jan 10, 2012 at 15:39, fun and learning wrote:

>
> I have a web service created in coldfusion, and consumed from a coldfusion
> page. The problem is that the web service call is very fast in development
> environment, where as its very very slow in production environment. What is
> the
> best way to go about troubleshooting what is causing the problem? The
> database calls are fast too.
>
> Any help would be great.
>
> Thanks,
>
> 

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


Re: How to compare images programmatically

2012-01-09 Thread Michael Stemle

I think that the best way to do that would just be to do some sort of file
comparrison. There are many ways you could go about this. I think the three
most common are to compare the last modified times for the files, to
compare the files' size in bytes, and then to compare a fingerprint -
usually an MD5 hash - of the files.

The GetFileInfo() function will help you for the first two, and for the MD5
hash I think the best way would be to use something like what you see in
this post:

http://www.houseoffusion.com/groups/flex/thread.cfm/threadid:1866#5804

If the files are particularly large, you may want to consider using
cfexecute with any one of the many excellent md5 implementations. If you
use shared hosting, this will likely not be an option for you as many
shared hosting providers disable cfexecute for security reasons.

On a unix install, the command should just be md5 (use the command `which
md5` to get the absolute path), and on Windows I believe you need to
install an md5 program. As always, with cfexecute there are potential
security issues that you want to take into account (e.g. make sure you
validate that you are filtering out any possible arbitrary code execution,
etc). Only use cfexecute if the files you're comparing are larger files. As
far as CFExecute goes, something like the following could be good:







   









On Mon, Jan 9, 2012 at 08:52, Mike Kear  wrote:

>
>  I have a webcam in the studio of our radio station, and it hangs
> sometimes.  I want to try to pin down when this happens, and send myself an
> email with the time etc so i can track down what's causing the camera to
> hang. The webcam software uploads an image to the site every 30
> seconds,  so I figure i can track down when this hanging is occurring by
> comparing the current image with one that was uploaded 30 seconds ago.
>  When they are identical, that tells me when the camera stalled.
>
> Here's my question:   how can I use CF9  (enterprise if it makes any
> difference) to determine if the current image is identical to the one
> uploaded 30 seconds ago?
>
> Is there a CF image function or tag that will compare one image with
> another?  If not,  is there a java function or something I can use?
>
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
>
>
> 

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


Re: Rialo or Open Blue Dragon

2012-01-07 Thread Michael Stemle

Components, too. I use cf for more robust programming, I suspect others do as 
well. A lot of the third party libraries out there are either not peer-reviewed 
or not freely distributable. I think those are problems for a community. 
Everybody can benefit from peer-reviewed and freely distributable libraries. 

--
~ Mike Stemle, Jr.

On Jan 7, 2012, at 11:36, Judah McAuley  wrote:

> 
> The Railo 3.3/Tomcat 7 installers are available to download from here:
> http://www.getrailo.org/index.cfm/download/
> 
> I won't be around this evening, I think, but it sounds like a
> potentially interesting idea. I'm guessing you are talking about a way
> wrapper that knows how to fetch and install custom tags?
> 
> Judah
> 
> On Sat, Jan 7, 2012 at 9:25 AM, Michael Stemle  
> wrote:
>> 
>> So you have a link? I'm mobile at the moment.
>> 
>> By the way, would anybody be up for a Skype call this evening (us central 
>> time)? I had an idea I sent over the list a bit ago that I wanted to bounce 
>> off f some other folks for creating an open source repository of components 
>> similar to CPAN (search.cpan.org) for Perl.
>> 
> 
> 

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


Re: Rialo or Open Blue Dragon

2012-01-07 Thread Michael Stemle

So you have a link? I'm mobile at the moment.

By the way, would anybody be up for a Skype call this evening (us central 
time)? I had an idea I sent over the list a bit ago that I wanted to bounce off 
f some other folks for creating an open source repository of components similar 
to CPAN (search.cpan.org) for Perl.


--
~ Mike Stemle, Jr.

On Jan 7, 2012, at 11:15, Judah McAuley  wrote:

> 
> Railo has fairly new installers done by Jordan Michaels at Vivotech (a
> great place to host, btw). If you haven't tried them out, you ought
> to. They work quite nicely on Windows and Linux (and OS X I believe,
> though I've not used them there). It takes care of the Apache setup
> and installs Tomcat as the J2EE servlet container.
> 
> OpenBD has been quite active recently pushing out new releases. I
> haven't used it extensively, just some basic compatibility testing. It
> seems to work just fine as far as I can tell, but I'm not running any
> Fusebox apps. In terms of inexpensive hosting, it should be noted that
> OpenBD runs on Google App Engine, so that might be an interesting
> option to look into.
> 
> Cheers,
> Judah
> 
> On Sat, Jan 7, 2012 at 8:30 AM, Michael Stemle  
> wrote:
>> 
>> Railo claims that Fusebox is compatible from what I can see. I've only
>> played with Railo so far, but both of them seem like a bit of a pain to
>> install on anything but Windows. That said, I run regular apache, so maybe
>> that's what makes it complicated.
>> 
>> I'm running my CCFAN development stuff on cfmldeveloper.com for now.
> 
> 

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


Re: Rialo or Open Blue Dragon

2012-01-07 Thread Michael Stemle

Railo claims that Fusebox is compatible from what I can see. I've only
played with Railo so far, but both of them seem like a bit of a pain to
install on anything but Windows. That said, I run regular apache, so maybe
that's what makes it complicated.

I'm running my CCFAN development stuff on cfmldeveloper.com for now.

On Sat, Jan 7, 2012 at 10:27, Phillip Vector wrote:

>
> I'm thinking of getting a dedicated server, but can't afford the
> coldfusion license. Which open source is more compatible with Fusebox?
> Also, overall, which one has the last headache getting to work with
> code developed with the developer server of Coldfusion?
>
> 

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


Re: Authenticate Linux DSN to Windows AD account?

2012-01-05 Thread Michael Stemle

It really depends on the DBMS in question. I am unclear from your message
if you're talking about SQL Server specifically (it seems like you might be
asking if SQL Server is the only DBMS you can use AD/LDAP authentication
with, to which I would say "no").

For AD with SQL Server in CF7, you can construct a connection string which
I believe will allow you to authenticate with LDAP. I've never had to do
this though. On my own installs I just allow the CF user to have password
authentication, and at my job someone else manages that bit.

Here are a couple directions I'd go in if you're talking about a DBMS other
than SQL Server:
MySQL -
http://stackoverflow.com/questions/1329963/using-ldap-ad-for-mysql-authenication
PostgreSQL: http://www.postgresql.org/docs/9.1/static/auth-methods.html

On Thu, Jan 5, 2012 at 11:23, Dan LeGate  wrote:

>
> Is it possible to authenticate a Linux Data Source in ColdFusion with a
> Windows Active Directory account? (i.e. login with "ad\username")
>
> Or do we need to create a SQL Server account for ColdFusion to use?
>
> This is RedHat Linux and ColdFusion 7 (yes, still 7).
>
> Thanks,
>
> Dan
>
> 

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