Re: Looking for a CF Recipe script!
On Tue, Jul 13, 2010 at 5:37 AM, Mike Kear wrote: > The short answer, Ennio is no, I would be very surprised if there is such a > thing available, but it would make a really good learning opportunity for > you. > I wrote www.nibblous.com as such an exercise - it's now #1 on Google for some recipes. -- mac jordan www.kestrel.org | www.reactivecooking.com | www.jordan-cats.org twitter: @ramtops ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335290 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
And if you want to just go way too far-- these logic gates are actually only aware of the current flowing through their traces which is pushed by the voltage and inversely proportional to the resistance in the circuit per Ohm's law. Current is measured in amperes whereas one amp-second is a coulomb of electrical charge, or 6.241E18 electrons flowing through the conductor. So the real question is this: when your computer starts counting all those electrons does it start at 1 as the first one flows by? I believe the answer is yes, so it turns out CF was right after all. ~Brad - Original Message - From: "Judah McAuley" To: "cf-talk" Sent: Monday, July 12, 2010 11:13 PM Subject: Re: Looking for a CF Recipe script! > > If you want to be extremely extremely pedantic, computers only know > voltage differential. Those voltage differentials are just cleverly > organized into logic gates, which it is useful (currently) to > represent with binary numbers and basic arithmetical operations. > > Judah > > On Mon, Jul 12, 2010 at 7:56 PM, Andrew Scott > wrote: >> >> No, if you want to be extremely pedantic about it. Computers only know 0 >> and >> 1's. So by that logic it knows zero before it knows one. >> >> >> -Original Message- >> From: Claude Schnéegans >> [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans > =?ISO-8859-1?Q?ue.com=3E?=] >> Sent: Friday, 9 July 2010 10:31 PM >> To: cf-talk >> Subject: Re: Looking for a CF Recipe script! >> >> >> >>Nobody calls their thumb their "zeroth" finger. >> >> Sure, but computers do not count on their fingers... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335289 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
Remember when this thread was actually a request for information?? I suspect that Ennio was looking for a modern-day equivalent of the old DOS-based MealMaster application. That dates back to the old before-internet BBS days.MealMaster would keep track of recipes, and ingredients, so you could keep all your recipes in it, but also you could enter some ingredients and it would give you a list of recipes you could make with those ingredients. Also, if you mapped out a menu, it would compile a shopping list for you. The short answer, Ennio is no, I would be very surprised if there is such a thing available, but it would make a really good learning opportunity for you. If you made such an application, you'd learn about parsing text files, storing and manipulating data, compiling menus (in manufacturing they're called "Bill of Materials"). Maybe you could even turn it into a money-making application for yourself if you went ahead and built it. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335286 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
If you want to be extremely extremely pedantic, computers only know voltage differential. Those voltage differentials are just cleverly organized into logic gates, which it is useful (currently) to represent with binary numbers and basic arithmetical operations. Judah On Mon, Jul 12, 2010 at 7:56 PM, Andrew Scott wrote: > > No, if you want to be extremely pedantic about it. Computers only know 0 and > 1's. So by that logic it knows zero before it knows one. > > > -Original Message- > From: Claude Schnéegans > [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans =?ISO-8859-1?Q?ue.com=3E?=] > Sent: Friday, 9 July 2010 10:31 PM > To: cf-talk > Subject: Re: Looking for a CF Recipe script! > > > >>Nobody calls their thumb their "zeroth" finger. > > Sure, but computers do not count on their fingers... > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335285 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
No, if you want to be extremely pedantic about it. Computers only know 0 and 1's. So by that logic it knows zero before it knows one. -Original Message- From: Claude Schnéegans [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans >Nobody calls their thumb their "zeroth" finger. Sure, but computers do not count on their fingers... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335282 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Fri, Jul 9, 2010 at 4:40 PM, Michael Grant wrote: > > > > > > Good thing I started handing off most of my XML reply messages from > > API's straight to MS SQL server, so much simpler ;-) > > > > Especially if you're working with a large xml result set. It's s quick > to just stick it straight into the db. > > No kidding, I had a task that was timing out, then did some research on XML inside MS SQL, now it takes about 3 seconds if that I think it takes longer to receive the reply from the API then it does for SQL server to insert the records. Took a bit to grasp it, but wow, it's totally changed how I think about managing XML Even storing the straight XML in a column under XML data type is super cool! it creates a link in Management studio that when clicked opens the XML in a new window all color formatted and stuff. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335220 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
> >>Nobody calls their thumb their "zeroth" finger. > I call my thumb Englebert. -- Gerald Guido http://www.myinternetisbroken.com "Wait. We can't stop here. This is bat country." -- HST ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335219 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
> > > Good thing I started handing off most of my XML reply messages from > API's straight to MS SQL server, so much simpler ;-) > Especially if you're working with a large xml result set. It's s quick to just stick it straight into the db. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335218 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 6:13 PM, Raymond Camden wrote: > > I'm sorry - but I still say the guy who invented arrays was drunk and > came up with the "its an offset" excuse later on to explain the whole > 0 based thing. That's why I continue to avoided them like the plague. Darn those XML node with child members! Good thing I started handing off most of my XML reply messages from API's straight to MS SQL server, so much simpler ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335217 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Fri, Jul 9, 2010 at 2:21 PM, denstar wrote: > @Keven -- Awesome take on it. "I'm there dude". =) Er- Kevin, even. :) :Denny -- Do not fear lest you should meditate too much upon Him and speak of Him in an unworthy way, providing you are led by faith. Do not fear lest you should entertain false opinions of Him so long as they are in conformity with the notion of the infinitely perfect Being. Nicolas Malebranc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Fri, Jul 9, 2010 at 11:38 AM, Won Lee wrote: > > On Thu, Jul 8, 2010 at 9:57 PM, denstar wrote: > >> >> So /that's/ why my ascii art is all mangled! ;] >> >> , >> - \O , .-.___ >> - /\ O/ /xx\XXX\ >> - __/\ ` /\ |xx|XXX| >> ` \, () ` << |xx|XXX| >> jgs`^^^ >> >> >> > NSFW! LOL! @Keven -- Awesome take on it. "I'm there dude". =) @Roger -- It's so good, we played it at our wedding (barefoot up in the mountains). T'was Perfecto! Now back to your regularly scheduled programming. If there really is such a thing. =) :Den -- As our bodies live upon the earth and find sustenance in the fruits which it produces, so our minds feed on the same truths as the ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335215 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 9:57 PM, denstar wrote: > > So /that's/ why my ascii art is all mangled! ;] > > , > - \O , .-.___ > - /\ O/ /xx\XXX\ > - __/\ ` /\ |xx|XXX| > `\, () ` << |xx|XXX| > jgs`^^^ > > > NSFW! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335213 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On 7/8/2010 10:30 PM, denstar wrote: > A snippet from a favorite song: > > If my words did glow with the gold of sunshine > And my tunes were played on the harp unstrung > Would you hear my voice come through the music > Would you hold it near as it were your own? > > It's a hand-me-down, the thoughts are broken > Perhaps they're better left unsung > I don't know, don't really care > Let there be songs to fill the air > > Not that it really helps you, but it all makes sense from "in here". :-) Wore out two American Beauty LPs before CDs came out. One of my favorites. -- LinkedIn: http://www.linkedin.com/pub/8/a4/60 Twitter: http://twitter.com/RogerTheGeek MissHunt: http://www.misshunt.com/ (Home of the Clean/Dirty Magnet) NCDevCon: http://ncdevcon.com/ 2010 Raleigh ColdFusion Conference ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335209 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
>>Nobody calls their thumb their "zeroth" finger. Sure, but computers do not count on their fingers... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335208 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
sorry, OT. "Ripple in still water-- when there is no pebble tossed, or wind to blow--" I heard an interview with Garcia about this song once-- Jerry said something like-- To me "Ripple" is a reflection of all the things that "just are"-- and how when we observe things in particular states of mind-- the cosmos can just make really strange things happen for no reason or cause whatsoever. Cool stuff, right on par with modern physics-- and quantum mechanics. Everything always exists in all possible states-- time is an persistent illusion-- we, the observer effect the outcome just by observing the event. Is the cat alive or dead? WE are all connected. On Thu, Jul 8, 2010 at 10:30 PM, denstar wrote: > > On Thu, Jul 8, 2010 at 8:10 PM, Michael Grant wrote: > > > > I see. My bad. > > To be fair I find Denny hard to follow at the best of times. :D > > A snippet from a favorite song: > > If my words did glow with the gold of sunshine > And my tunes were played on the harp unstrung > Would you hear my voice come through the music > Would you hold it near as it were your own? > > It's a hand-me-down, the thoughts are broken > Perhaps they're better left unsung > I don't know, don't really care > Let there be songs to fill the air > > Not that it really helps you, but it all makes sense from "in here". :-) > > :DeN > > -- > You must accept the truth from whatever source it comes. > Maimonides > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335206 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 8:10 PM, Michael Grant wrote: > > I see. My bad. > To be fair I find Denny hard to follow at the best of times. :D A snippet from a favorite song: If my words did glow with the gold of sunshine And my tunes were played on the harp unstrung Would you hear my voice come through the music Would you hold it near as it were your own? It's a hand-me-down, the thoughts are broken Perhaps they're better left unsung I don't know, don't really care Let there be songs to fill the air Not that it really helps you, but it all makes sense from "in here". :-) :DeN -- You must accept the truth from whatever source it comes. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 8:03 PM, Dave Watts wrote: > >> I would want to do len(trim(string)) gt 0 or trim(string) != "" since >> technically " " fulfills your if condition though remains undesirable. > > I think his point is that CF, unlike some other languages, supports > implicit Boolean evaluation. Some people really don't like it. Oh, you know I'm too well rounded to have a point. =) Really I was reminiscing about a conversation we had long ago, more than contributing anything "real" to the conversation. Programming is teh awesome. :Den -- While one man can discover a certain thing by himself, another is never able to understand it, even if taught by means of all possible expressions and metaphors, and during a long period; his mind can in no way grasp it, his capacity is insufficient for it. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
I see. My bad. To be fair I find Denny hard to follow at the best of times. :D On Thu, Jul 8, 2010 at 10:03 PM, Dave Watts wrote: > > > I would want to do len(trim(string)) gt 0 or trim(string) != "" since > > technically " " fulfills your if condition though remains undesirable. > > I think his point is that CF, unlike some other languages, supports > implicit Boolean evaluation. Some people really don't like it. > > 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, online, or onsite. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335201 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
> I would want to do len(trim(string)) gt 0 or trim(string) != "" since > technically " " fulfills your if condition though remains undesirable. I think his point is that CF, unlike some other languages, supports implicit Boolean evaluation. Some people really don't like it. 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, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335200 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
So /that's/ why my ascii art is all mangled! ;] , - \O , .-.___ - /\ O/ /xx\XXX\ - __/\ ` /\ |xx|XXX| `\, () ` << |xx|XXX| jgs`^^^ On Thu, Jul 8, 2010 at 7:47 PM, Michael Grant wrote: > > I would want to do len(trim(string)) gt 0 or trim(string) != "" since > technically " " fulfills your if condition though remains undesirable. > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335199 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
I would want to do len(trim(string)) gt 0 or trim(string) != "" since technically " " fulfills your if condition though remains undesirable. On Thu, Jul 8, 2010 at 9:41 PM, denstar wrote: > > On Thu, Jul 8, 2010 at 7:27 PM, Michael Grant wrote: > > > > I for one think CF should have stuck to zero based indices. > > I've thought for close to 10 years that it would be AWESOME if this could > be > > a CFAdmin setting. > > It's never really bothered me much, and I do a lot a java/cfml stuphs. > > What's really crazy is people doing if(len(string)) vs if(string != ""). > > Or something like that, IIRC. > > =)p > > :Den > > -- > To the totality of purposes of the perfect Law there belong the > abandonment, depreciation, and restraint of desires in so far as > possible. > Maimonides > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335198 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 7:27 PM, Michael Grant wrote: > > I for one think CF should have stuck to zero based indices. > I've thought for close to 10 years that it would be AWESOME if this could be > a CFAdmin setting. It's never really bothered me much, and I do a lot a java/cfml stuphs. What's really crazy is people doing if(len(string)) vs if(string != ""). Or something like that, IIRC. =)p :Den -- To the totality of purposes of the perfect Law there belong the abandonment, depreciation, and restraint of desires in so far as possible. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
I for one think CF should have stuck to zero based indices. I've thought for close to 10 years that it would be AWESOME if this could be a CFAdmin setting. On Thu, Jul 8, 2010 at 8:36 PM, Josh Nathanson wrote: > > > So, you don't clearly appear to be in favor of CF > > behaving differently from lower-level languages. > > Sorry I was not clear. Yes, I am in favor of CFML behaving differently, > and > I think from a human perspective, 1-based indices make sense. When I said > "A whole other discussion is whether it was smart for CFML to 'correct' > this > issue" I was not taking a stand either way on the "smartness" of CFML doing > that -- merely opening up a possible discussion point for others, since > there are positives and negatives. One obvious negative is that it can be > used by CF detractors as an argument for CFML not being a "serious" > language. > > Hopefully the OP has used all the great info in this awesome thread to > develop a kick-ass recipe script! > > -- Josh > > > -Original Message- > From: Dave Watts [mailto:dwa...@figleaf.com] > Sent: Thursday, July 08, 2010 4:43 PM > To: cf-talk > Subject: Re: Looking for a CF Recipe script! > > > > Obviously, Dave. I was referring to higher level languages, where a > > decision can be made (and has been in the case of CFML) to use a more > > "humanist" approach to array indexing. > > I'm confused. Aren't you the same guy who a few minutes ago wrote "A > whole other discussion is whether it was smart for CFML to 'correct' > this issue." So, you don't clearly appear to be in favor of CF > behaving differently from lower-level languages. But most other > programming languages are essentially based on C/C++ in syntax, and > those are lower-level languages. So are you saying that C-style > languages should behave differently? Or that some C-style languages - > arguably "higher-level" languages like Java and C#? - should behave > differently from others? Don't take this as a personal attack or > anything - it's not - I just don't really understand your point. > > This is basically the argument for COBOL, and look how that turned > out. If you want to be a competent programmer, right now, you need to > understand pretty well how computers work. That may not be the case in > the future, but it is right now. CF hides a lot of the complexity of > computers, but it can't hide all of the complexity. This is why, in my > opinion, many CF programmers who don't have this deeper understanding > write programs that fail as their scope, complexity or usage grow > significantly. > > 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, online, or onsite > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 5:42 PM, Dave Watts wrote: ... > This is basically the argument for COBOL, and look how that turned > out. If you want to be a competent programmer, right now, you need to > understand pretty well how computers work. That may not be the case in > the future, but it is right now. CF hides a lot of the complexity of > computers, but it can't hide all of the complexity. This is why, in my > opinion, many CF programmers who don't have this deeper understanding > write programs that fail as their scope, complexity or usage grow > significantly. How did it turn out? It's not clear, but are you dissing COBOL? More of a FORTRAN guy, eh? ;-) :Den -- The whole object of the Prophets and the Sages was to declare that a limit is set to human reason where it must halt. Maimonides ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335195 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
> So, you don't clearly appear to be in favor of CF > behaving differently from lower-level languages. Sorry I was not clear. Yes, I am in favor of CFML behaving differently, and I think from a human perspective, 1-based indices make sense. When I said "A whole other discussion is whether it was smart for CFML to 'correct' this issue" I was not taking a stand either way on the "smartness" of CFML doing that -- merely opening up a possible discussion point for others, since there are positives and negatives. One obvious negative is that it can be used by CF detractors as an argument for CFML not being a "serious" language. Hopefully the OP has used all the great info in this awesome thread to develop a kick-ass recipe script! -- Josh -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, July 08, 2010 4:43 PM To: cf-talk Subject: Re: Looking for a CF Recipe script! > Obviously, Dave. I was referring to higher level languages, where a > decision can be made (and has been in the case of CFML) to use a more > "humanist" approach to array indexing. I'm confused. Aren't you the same guy who a few minutes ago wrote "A whole other discussion is whether it was smart for CFML to 'correct' this issue." So, you don't clearly appear to be in favor of CF behaving differently from lower-level languages. But most other programming languages are essentially based on C/C++ in syntax, and those are lower-level languages. So are you saying that C-style languages should behave differently? Or that some C-style languages - arguably "higher-level" languages like Java and C#? - should behave differently from others? Don't take this as a personal attack or anything - it's not - I just don't really understand your point. This is basically the argument for COBOL, and look how that turned out. If you want to be a competent programmer, right now, you need to understand pretty well how computers work. That may not be the case in the future, but it is right now. CF hides a lot of the complexity of computers, but it can't hide all of the complexity. This is why, in my opinion, many CF programmers who don't have this deeper understanding write programs that fail as their scope, complexity or usage grow significantly. 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, online, or onsite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
> Obviously, Dave. I was referring to higher level languages, where a > decision can be made (and has been in the case of CFML) to use a more > "humanist" approach to array indexing. I'm confused. Aren't you the same guy who a few minutes ago wrote "A whole other discussion is whether it was smart for CFML to 'correct' this issue." So, you don't clearly appear to be in favor of CF behaving differently from lower-level languages. But most other programming languages are essentially based on C/C++ in syntax, and those are lower-level languages. So are you saying that C-style languages should behave differently? Or that some C-style languages - arguably "higher-level" languages like Java and C#? - should behave differently from others? Don't take this as a personal attack or anything - it's not - I just don't really understand your point. This is basically the argument for COBOL, and look how that turned out. If you want to be a competent programmer, right now, you need to understand pretty well how computers work. That may not be the case in the future, but it is right now. CF hides a lot of the complexity of computers, but it can't hide all of the complexity. This is why, in my opinion, many CF programmers who don't have this deeper understanding write programs that fail as their scope, complexity or usage grow significantly. 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, online, or onsite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
Obviously, Dave. I was referring to higher level languages, where a decision can be made (and has been in the case of CFML) to use a more "humanist" approach to array indexing. -- Josh -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, July 08, 2010 4:01 PM To: cf-talk Subject: Re: Looking for a CF Recipe script! > Yeah, that may be the explanation, but IMO it's still dumb to do arrays that > way. Nobody calls their thumb their "zeroth" finger. Computers are different from hands, programming languages are different from natural languages, computers don't "understand" base-10 math. http://en.wikipedia.org/wiki/Computer_numbering_formats http://en.wikipedia.org/wiki/Binary_numeral_system http://en.wikipedia.org/wiki/Octal http://en.wikipedia.org/wiki/Hexadecimal 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, online, or onsite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335192 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 5:00 PM, Dave Watts wrote: > >> Yeah, that may be the explanation, but IMO it's still dumb to do arrays that >> way. Nobody calls their thumb their "zeroth" finger. > > Computers are different from hands, programming languages are > different from natural languages, computers don't "understand" base-10 > math. It's all just been in preparation for the day when computers program computers. We're almost there, too. Scary awesome. :Denny -- The same is the case with those opinions of man to which he has been accustomed from his youth; he likes them, defends them, and shuns the opposite views. Maimonide ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
> Yeah, that may be the explanation, but IMO it's still dumb to do arrays that > way. Nobody calls their thumb their "zeroth" finger. Computers are different from hands, programming languages are different from natural languages, computers don't "understand" base-10 math. http://en.wikipedia.org/wiki/Computer_numbering_formats http://en.wikipedia.org/wiki/Binary_numeral_system http://en.wikipedia.org/wiki/Octal http://en.wikipedia.org/wiki/Hexadecimal 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, online, or onsite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
Yeah, that may be the explanation, but IMO it's still dumb to do arrays that way. Nobody calls their thumb their "zeroth" finger. A whole other discussion is whether it was smart for CFML to "correct" this issue. -- Josh -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, July 08, 2010 3:20 PM To: cf-talk Subject: Re: Looking for a CF Recipe script! > I'm sorry - but I still say the guy who invented arrays was drunk and > came up with the "its an offset" excuse later on to explain the whole > 0 based thing. I think a simpler explanation is that it's pretty significant in binary. 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, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
> I'm sorry - but I still say the guy who invented arrays was drunk and > came up with the "its an offset" excuse later on to explain the whole > 0 based thing. I think a simpler explanation is that it's pretty significant in binary. 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, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 12:06 PM, Dave Watts wrote: > One-based indexes don't make any more sense with tags than they do > with script, either - if you're new to programming entirely, they seem > acceptable, but if you have any prior programming experience they > don't seem like such a good idea (or at least they're not what you're > used to). My theory about that is that CF was primarily aimed at > people without a lot (or any) prior programming experience. > I'm sorry - but I still say the guy who invented arrays was drunk and came up with the "its an offset" excuse later on to explain the whole 0 based thing. -- === Raymond Camden, ColdFusion Jedi Master Email: r...@camdenfamily.com Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
> Why they decided to start the index at 1 and not allow relational or > assignment operators is completely baffling. It makes sense > with tags but not with script. CFSCRIPT isn't an entirely separate language from CFML. It has different syntax and statements, but shares the same operators, and commands map to the same underlying functionality as far as I can tell. That is, if you loop in CFSCRIPT using a for-next loop, it's going to generate the same Java bytecode as the analogous loop in CFML. One-based indexes don't make any more sense with tags than they do with script, either - if you're new to programming entirely, they seem acceptable, but if you have any prior programming experience they don't seem like such a good idea (or at least they're not what you're used to). My theory about that is that CF was primarily aimed at people without a lot (or any) prior programming experience. 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, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335182 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
>See how easy everything is in CF? Coldfusion is different: function manageRecipes(){ for(i=1;i lte RecipesQuery.recordcount;i++){ recipes[i].manage(); } } I've been writing a lot of JavaScript lately. Why they decided to start the index at 1 and not allow relational or assignment operators is completely baffling. It makes sense with tags but not with script. Back on track; Ennio I would be willing to bet there are a number of people that can dig up a recipe module and DB schema for you. Just try to be more specific to what you need. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335180 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
See how easy everything is in CF? :-) .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Wednesday, July 07, 2010 12:08 PM To: cf-talk Subject: Re: Looking for a CF Recipe script! >Does anyone know a good Recipe Script? function manageRecipes(){ for(i=0;ihttp://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335174 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
Perfect! On Wed, Jul 7, 2010 at 12:07 PM, Tony Bentley wrote: > > >Does anyone know a good Recipe Script? > > function manageRecipes(){ > for(i=0;i recipes[i].manage(); > } > } > > You want a recipe module written in ColdFusion? > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335165 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
>Does anyone know a good Recipe Script? function manageRecipes(){ for(i=0;ihttp://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335164 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
That's a little vague wouldn't you say? You're going to need to be more specific as to what you're looking for. -Original Message- From: Ennio Bozzetti [mailto:en...@medrise.com] Sent: Wednesday, July 07, 2010 10:34 AM To: cf-talk Subject: Re: Looking for a CF Recipe script! :) a script that manage Recipes... :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335163 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
:) a script that manage Recipes... :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335162 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
>>What do you mean by recipe script? Yeah, a script to manage a database of recipes ? or a recipe for a good script ? ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335151 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
Can you be a little more clear? What do you mean by recipe script? -Original Message- From: Ennio Bozzetti [mailto:en...@medrise.com] Sent: Wednesday, July 07, 2010 6:31 AM To: cf-talk Subject: Looking for a CF Recipe script! Does anyone know a good Recipe Script? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335147 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Looking for a CF Recipe script!
Does anyone know a good Recipe Script? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335144 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm