From ken at secdat.com Tue Feb 3 20:19:16 2009 From: ken at secdat.com (Kenneth Downs) Date: Tue, 03 Feb 2009 20:19:16 -0500 Subject: [Bostonphptalk] long reg exs in javascript Message-ID: <4988ED14.3080802@secdat.com> Is there a way to build regexp's as strings in javascript? list = 'xxxxxx|xxx|xx| and on an on... list2 = 'xxx|xxx|' and on and on regexp = '/ ?put my string in here somethow? -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 From johnston.joshua at gmail.com Tue Feb 3 20:38:54 2009 From: johnston.joshua at gmail.com (Joshua Johnston) Date: Tue, 3 Feb 2009 20:38:54 -0500 Subject: [Bostonphptalk] long reg exs in javascript In-Reply-To: <4988ED14.3080802@secdat.com> References: <4988ED14.3080802@secdat.com> Message-ID: <12de48da0902031738x7a68aefbw7717ac6f1e9f4f5a@mail.gmail.com> IIRC you can do something like var pattern = 'xxxx|xxxx|xx'; pattern += 'xxx|xxxxxx|xxx'; var regex = new RegExp(pattern); the // syntax just instances a new RegExp instance On Tue, Feb 3, 2009 at 8:19 PM, Kenneth Downs wrote: > Is there a way to build regexp's as strings in javascript? > > list = 'xxxxxx|xxx|xx| and on an on... > > list2 = 'xxx|xxx|' and on and on > > regexp = '/ ?put my string in here somethow? > > -- > Kenneth Downs > Secure Data Software, Inc. > www.secdat.com www.andromeda-project.org > 631-689-7200 Fax: 631-689-0527 > cell: 631-379-0010 > > _______________________________________________ > Bostonphptalk mailing list > Bostonphptalk at bostonphp.org > http://seven.pairlist.net/mailman/listinfo/bostonphptalk > From johnston.joshua at gmail.com Tue Feb 3 20:45:01 2009 From: johnston.joshua at gmail.com (Joshua Johnston) Date: Tue, 3 Feb 2009 20:45:01 -0500 Subject: [Bostonphptalk] long reg exs in javascript In-Reply-To: <12de48da0902031738x7a68aefbw7717ac6f1e9f4f5a@mail.gmail.com> References: <4988ED14.3080802@secdat.com> <12de48da0902031738x7a68aefbw7717ac6f1e9f4f5a@mail.gmail.com> Message-ID: <12de48da0902031745o333ac84dxd02e934410ff8ebb@mail.gmail.com> On Tue, Feb 3, 2009 at 8:38 PM, Joshua Johnston wrote: > IIRC you can do something like > > var pattern = 'xxxx|xxxx|xx'; > > pattern += 'xxx|xxxxxx|xxx'; > > var regex = new RegExp(pattern); > EDIT: You have to put the / in your string also like "/pattern/modifier" > > the // syntax just instances a new RegExp instance > > On Tue, Feb 3, 2009 at 8:19 PM, Kenneth Downs wrote: >> Is there a way to build regexp's as strings in javascript? >> >> list = 'xxxxxx|xxx|xx| and on an on... >> >> list2 = 'xxx|xxx|' and on and on >> >> regexp = '/ ?put my string in here somethow? >> >> -- >> Kenneth Downs >> Secure Data Software, Inc. >> www.secdat.com www.andromeda-project.org >> 631-689-7200 Fax: 631-689-0527 >> cell: 631-379-0010 >> >> _______________________________________________ >> Bostonphptalk mailing list >> Bostonphptalk at bostonphp.org >> http://seven.pairlist.net/mailman/listinfo/bostonphptalk >> > From ken at secdat.com Tue Feb 3 21:09:34 2009 From: ken at secdat.com (Kenneth Downs) Date: Tue, 03 Feb 2009 21:09:34 -0500 Subject: [Bostonphptalk] long reg exs in javascript In-Reply-To: <12de48da0902031745o333ac84dxd02e934410ff8ebb@mail.gmail.com> References: <4988ED14.3080802@secdat.com> <12de48da0902031738x7a68aefbw7717ac6f1e9f4f5a@mail.gmail.com> <12de48da0902031745o333ac84dxd02e934410ff8ebb@mail.gmail.com> Message-ID: <4988F8DE.20602@secdat.com> Hmmm, I'm trying to monkey up google's code pretty-fier, I will have to figure out if this is possible. thanks for tip, I'll try that tomorrow. Joshua Johnston wrote: > On Tue, Feb 3, 2009 at 8:38 PM, Joshua Johnston > wrote: > >> IIRC you can do something like >> >> var pattern = 'xxxx|xxxx|xx'; >> >> pattern += 'xxx|xxxxxx|xxx'; >> >> var regex = new RegExp(pattern); >> >> > > EDIT: You have to put the / in your string also like "/pattern/modifier" > > > >> the // syntax just instances a new RegExp instance >> >> On Tue, Feb 3, 2009 at 8:19 PM, Kenneth Downs wrote: >> >>> Is there a way to build regexp's as strings in javascript? >>> >>> list = 'xxxxxx|xxx|xx| and on an on... >>> >>> list2 = 'xxx|xxx|' and on and on >>> >>> regexp = '/ ?put my string in here somethow? >>> >>> -- >>> Kenneth Downs >>> Secure Data Software, Inc. >>> www.secdat.com www.andromeda-project.org >>> 631-689-7200 Fax: 631-689-0527 >>> cell: 631-379-0010 >>> >>> _______________________________________________ >>> Bostonphptalk mailing list >>> Bostonphptalk at bostonphp.org >>> http://seven.pairlist.net/mailman/listinfo/bostonphptalk >>> >>> > _______________________________________________ > Bostonphptalk mailing list > Bostonphptalk at bostonphp.org > http://seven.pairlist.net/mailman/listinfo/bostonphptalk > -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken at secdat.com Wed Feb 4 07:35:04 2009 From: ken at secdat.com (Kenneth Downs) Date: Wed, 04 Feb 2009 07:35:04 -0500 Subject: [Bostonphptalk] long reg exs in javascript In-Reply-To: <4988F8DE.20602@secdat.com> References: <4988ED14.3080802@secdat.com> <12de48da0902031738x7a68aefbw7717ac6f1e9f4f5a@mail.gmail.com> <12de48da0902031745o333ac84dxd02e934410ff8ebb@mail.gmail.com> <4988F8DE.20602@secdat.com> Message-ID: <49898B78.2000507@secdat.com> very nice: var str = '.....super long regexp....' +' ....even more stuff.... ' var myRe = newRegexp(str,'i'); Thanks! Kenneth Downs wrote: > Hmmm, I'm trying to monkey up google's code pretty-fier, I will have > to figure out if this is possible. thanks for tip, I'll try that > tomorrow. > > Joshua Johnston wrote: >> On Tue, Feb 3, 2009 at 8:38 PM, Joshua Johnston >> wrote: >> >>> IIRC you can do something like >>> >>> var pattern = 'xxxx|xxxx|xx'; >>> >>> pattern += 'xxx|xxxxxx|xxx'; >>> >>> var regex = new RegExp(pattern); >>> >>> >> >> EDIT: You have to put the / in your string also like "/pattern/modifier" >> >> >> >>> the // syntax just instances a new RegExp instance >>> >>> On Tue, Feb 3, 2009 at 8:19 PM, Kenneth Downs wrote: >>> >>>> Is there a way to build regexp's as strings in javascript? >>>> >>>> list = 'xxxxxx|xxx|xx| and on an on... >>>> >>>> list2 = 'xxx|xxx|' and on and on >>>> >>>> regexp = '/ ?put my string in here somethow? >>>> >>>> -- >>>> Kenneth Downs >>>> Secure Data Software, Inc. >>>> www.secdat.com www.andromeda-project.org >>>> 631-689-7200 Fax: 631-689-0527 >>>> cell: 631-379-0010 >>>> >>>> _______________________________________________ >>>> Bostonphptalk mailing list >>>> Bostonphptalk at bostonphp.org >>>> http://seven.pairlist.net/mailman/listinfo/bostonphptalk >>>> >>>> >> _______________________________________________ >> Bostonphptalk mailing list >> Bostonphptalk at bostonphp.org >> http://seven.pairlist.net/mailman/listinfo/bostonphptalk >> > > > -- > Kenneth Downs > Secure Data Software, Inc. > www.secdat.com www.andromeda-project.org > 631-689-7200 Fax: 631-689-0527 > cell: 631-379-0010 > > ------------------------------------------------------------------------ > > _______________________________________________ > Bostonphptalk mailing list > Bostonphptalk at bostonphp.org > http://seven.pairlist.net/mailman/listinfo/bostonphptalk > -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken at secdat.com Thu Feb 5 14:39:20 2009 From: ken at secdat.com (Kenneth Downs) Date: Thu, 05 Feb 2009 14:39:20 -0500 Subject: [Bostonphptalk] What am I googling here? Message-ID: <498B4068.7000306@secdat.com> Let's say I have two domains on a single IP #. Using virtual hosts I can have any number of domains, but one of them has to be on a different machine. I remember reading that apache can handle this, letting me forward certain domains to another machine, what feature am I looking for here? -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 From greg at freephile.com Thu Feb 5 14:56:20 2009 From: greg at freephile.com (Greg Rundlett) Date: Thu, 5 Feb 2009 14:56:20 -0500 Subject: [Bostonphptalk] What am I googling here? In-Reply-To: <498B4068.7000306@secdat.com> References: <498B4068.7000306@secdat.com> Message-ID: <5e2aaca40902051156p4bb4db4fm9c9be3241e08a60a@mail.gmail.com> On Thu, Feb 5, 2009 at 2:39 PM, Kenneth Downs wrote: > Let's say I have two domains on a single IP #. > > Using virtual hosts I can have any number of domains, but one of them has to > be on a different machine. > > I remember reading that apache can handle this, letting me forward certain > domains to another machine, what feature am I looking for here? The "proxy" capability or also known as "internal redirect" of the mod_rewrite module Using this feature, you can map (rewrite internally) requests to example.com/bugs to http://bugs.example.net (which may be a completely different host.) I used this as part of a solution to expose via https applications which were run internally for "staff" see the 'proxy' option on http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html -- Greg Rundlett Web Developer - Initiative in Innovative Computing http://iic.harvard.edu camb 617-384-5872 nbpt 978-225-8302 m. 978-764-4424 -skype/aim/irc/twitter freephile http://profiles.aim.com/freephile From ken at secdat.com Tue Feb 10 09:54:55 2009 From: ken at secdat.com (Kenneth Downs) Date: Tue, 10 Feb 2009 09:54:55 -0500 Subject: [Bostonphptalk] [ANNOUNCE] Significant Andromeda Documentation Improvements Message-ID: <4991953F.40900@secdat.com> The documentation at www.andromeda-project.org has received two significant updates today. The docs now contain a complete description of Andromeda automations, which are crucial to making full use of Andromeda. As well, the docs now contain a full description of how to assign security. Next up will be constraints, followed by our 'extra' features and User interface hints, and that will round out the docs on Database Programming, leaving us only with a few sections on web programming. -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 From ken at secdat.com Thu Feb 12 21:22:52 2009 From: ken at secdat.com (Kenneth Downs) Date: Thu, 12 Feb 2009 21:22:52 -0500 Subject: [Bostonphptalk] [ANNOUNCE] Significant Andromeda Documentation Updates Message-ID: <4994D97C.9020508@secdat.com> Andromeda today received significant documentation updates. 1) The entire Database Programming section is finished - Andromeda's most important feature. 2) A complete section on Database Access has been added. 3) A complete section on modifying the "free" admin screens has been added. 4) Upgrade scripts have been documented. 5) A new section on using x6 plugins has been started and about 1/2 completed. 6) Styles have been added for notices and alerts. In terms of bug fixes and site improvements we have: 1) The search box was fixed. 2) Search now matches lots of relevant terms to pages, so searching for "range_from" gets you to the page on ranged primary keys. 3) The image links are now working. -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 From ken at secdat.com Tue Feb 17 08:06:42 2009 From: ken at secdat.com (Kenneth Downs) Date: Tue, 17 Feb 2009 08:06:42 -0500 Subject: [Bostonphptalk] how did the ide session go? Message-ID: <499AB662.3050500@secdat.com> I'd love to find out what some of the impressions were of the IDE bake-off. I've used Jedit for some time, and its nice enough, but I strongly suspect I'm missing out on something better. Anybody care to share what they saw that they liked? -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 From mpbourque at ptc.com Tue Feb 17 08:16:45 2009 From: mpbourque at ptc.com (Bourque, Michael) Date: Tue, 17 Feb 2009 08:16:45 -0500 Subject: [Bostonphptalk] how did the ide session go? In-Reply-To: <499AB662.3050500@secdat.com> References: <499AB662.3050500@secdat.com> Message-ID: Kenneth, There has been some dialog on this on the meetup site. Check it out and comment there if you like. http://php.meetup.com/29/calendar/9277617/ -----Original Message----- From: bostonphptalk-bounces at bostonphp.org [mailto:bostonphptalk-bounces at bostonphp.org] On Behalf Of Kenneth Downs Sent: Tuesday, February 17, 2009 8:07 AM To: bostonphptalk at bostonphp.org Subject: [Bostonphptalk] how did the ide session go? I'd love to find out what some of the impressions were of the IDE bake-off. I've used Jedit for some time, and its nice enough, but I strongly suspect I'm missing out on something better. Anybody care to share what they saw that they liked? -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 _______________________________________________ Bostonphptalk mailing list Bostonphptalk at bostonphp.org http://seven.pairlist.net/mailman/listinfo/bostonphptalk From ken at secdat.com Tue Feb 17 08:27:04 2009 From: ken at secdat.com (Kenneth Downs) Date: Tue, 17 Feb 2009 08:27:04 -0500 Subject: [Bostonphptalk] how did the ide session go? In-Reply-To: References: <499AB662.3050500@secdat.com> Message-ID: <499ABB28.4080508@secdat.com> Um, I guess people were underwhelmed. ho hum, perhaps I can get some face-to-face opinions when I'm there in March. Bourque, Michael wrote: > Kenneth, > There has been some dialog on this on the meetup site. Check it out and > comment there if you like. > > http://php.meetup.com/29/calendar/9277617/ > > -----Original Message----- > From: bostonphptalk-bounces at bostonphp.org > [mailto:bostonphptalk-bounces at bostonphp.org] On Behalf Of Kenneth Downs > Sent: Tuesday, February 17, 2009 8:07 AM > To: bostonphptalk at bostonphp.org > Subject: [Bostonphptalk] how did the ide session go? > > I'd love to find out what some of the impressions were of the IDE > bake-off. I've used Jedit for some time, and its nice enough, but I > strongly suspect I'm missing out on something better. > > Anybody care to share what they saw that they liked? > > -- > Kenneth Downs > Secure Data Software, Inc. > www.secdat.com www.andromeda-project.org > 631-689-7200 Fax: 631-689-0527 > cell: 631-379-0010 > > _______________________________________________ > Bostonphptalk mailing list > Bostonphptalk at bostonphp.org > http://seven.pairlist.net/mailman/listinfo/bostonphptalk > _______________________________________________ > Bostonphptalk mailing list > Bostonphptalk at bostonphp.org > http://seven.pairlist.net/mailman/listinfo/bostonphptalk > -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 From mpbourque at ptc.com Tue Feb 17 09:27:00 2009 From: mpbourque at ptc.com (Bourque, Michael) Date: Tue, 17 Feb 2009 09:27:00 -0500 Subject: [Bostonphptalk] Smarty Message-ID: All, I would love to see us have a meetup on Smarty PHP templating. I am quite a fan myself and would be willing to present it. I think many of your projects could really benefit by separating your display logic from your backend business logic code. I just wanted to engage your feedback as to whether you would attend such a meeting on Smarty. We could also squeeze this into another existing meetup, perhaps in a 1/2hr session if another meetup runs short. Or perhaps it deserves it's own meetup. Let me know your thoughts and vote. :) Regards, Michael P. Bourque BostonPHP.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken at secdat.com Wed Feb 18 13:17:46 2009 From: ken at secdat.com (Kenneth Downs) Date: Wed, 18 Feb 2009 13:17:46 -0500 Subject: [Bostonphptalk] [ANNOUNCE] Andromeda debian package now available Message-ID: <499C50CA.9000802@secdat.com> We now have a debian package available for installing Andromeda on Linux machines. It has been tested on Ubuntu 8.04 LTS. With the elimination of almost all known bugs, we are good to call today's release Release Candidate 1. Remaining tasks include a windows installer and a getting-started webcast, but otherwise we are just about there. Project website: www.andromeda-project.org -- Kenneth Downs Secure Data Software, Inc. www.secdat.com www.andromeda-project.org 631-689-7200 Fax: 631-689-0527 cell: 631-379-0010 From ken at secdat.com Sat Feb 28 17:12:23 2009 From: ken at secdat.com (Kenneth Downs) Date: Sat, 28 Feb 2009 17:12:23 -0500 Subject: [Bostonphptalk] [ANNOUNCE] Andromeda on Windows Simpler and Easier Message-ID: <49A9B6C7.7020605@secdat.com> Andromeda now has a new windows-specific install package, and new streamlined and simpler instructions for installing onto Windows. Major Highlights Include: * A Zip file instead of a tarball * Many errors and omissions corrected in the instructions * Fewer steps * Better links to download sites Check it out at: http://www.andromeda-project.org/runningonwindows.html -- Kenneth Downs Secure Data Software ken at secdat.com www.andromeda-project.org www.secdat.com Office: 631-689-7200 Cell: 631-379-0010 Fax: 631-689-0527