Re: [nyphp-talk] Relax your password rules

2014-06-10 Thread Gary Mort
On 06/09/2014 11:02 AM, Chris Snyder wrote: More and more people just use "I forgot my password", and deal with it that way. Either you've exchanged the password for a security question, or just access to a user's email. For casual access, it's okay to just skip the p

Re: [nyphp-talk] Relax your password rules

2014-06-10 Thread Gary Mort
On 06/09/2014 10:44 AM, Jerry B. Altzman wrote: on 6/7/2014 10:38 AM Gary Mort said the following: A plea to anyone setting up a website where you will have users log on. Make your default password rule something simple, like any 4 charectors. A password complexity system should allow for

[nyphp-talk] Relax your password rules

2014-06-07 Thread Gary Mort
A plea to anyone setting up a website where you will have users log on. Make your default password rule something simple, like any 4 charectors. A password complexity system should allow for multiple tiers of rules with configurable default rule that is set, by default :-), to something simple

Re: [nyphp-talk] Proper Form Processing Techniques

2014-05-23 Thread Gary Mort
On 05/23/2014 07:27 AM, David Krings wrote: I see your point with multiple devices, but that requires the user to understand that one device is not the same as the other. That concept is not new and only a problem if one doesn't know about it and if connectivity was not present during the e

Re: [nyphp-talk] PHP is not just for professionals

2014-05-23 Thread Gary Mort
On 05/23/2014 01:07 PM, Chris Snyder wrote: The subject line is hilarious, considering how many years it took to get PHP accepted as an enterprise-ready language. If it even is... Thank you I was aiming for that as irony. :-) It's not that I think there is anything wrong with writing PH

Re: [nyphp-talk] PHP is not just for professionals

2014-05-23 Thread Gary Mort
On 05/23/2014 11:14 AM, GLENN POWELL wrote: One thing (among many) that I find makes it hard to work on these systems is the use of default behavior. Ooo, I completely forgot about that. In Joomla! for my own sake I've been avoiding default actions. For example, in their MVC framework, if y

Re: [nyphp-talk] filter_input misconceptions

2014-05-22 Thread Gary Mort
trieving the correct data AND using $var = $_GET[$varName] will retrieve the correct data. Can you come up with a concrete example? Anthony On Thu, May 22, 2014 at 4:44 PM, Gary Mort wrote: It seems there are some misconceptions on the filter_* API. Recently I was contacted by a colleague wh

[nyphp-talk] filter_input misconceptions

2014-05-22 Thread Gary Mort
It seems there are some misconceptions on the filter_* API. Recently I was contacted by a colleague when his website went off kilter. All of the sudden all the variables had extra html encoding charectors in themand then since they were encoded a second time when displayed they would have

Re: [nyphp-talk] Promote Secure Coding

2014-05-22 Thread Gary Mort
On 05/22/2014 11:35 AM, Anthony Ferrara wrote: Gary, Consider the secretary updating their company website. They have been told that they need some landing page to say "Welcome " at the top. The pages are mostly html with a bit of PHP here and there. So they go to an online tutorial, go thr

[nyphp-talk] PHP is not just for professionals

2014-05-22 Thread Gary Mort
Anthony's comments on my last post reminded me of an issue I feel PHP is facing today. PHP is a wonderfully messy language. You can use PHP to insert a small bit of customization in an otherwise flat website. Something as simple as saying "Good morning", "Good afternoon", and "Good evening"

Re: [nyphp-talk] Promote Secure Coding

2014-05-22 Thread Gary Mort
On 05/21/2014 02:32 PM, Anthony Ferrara wrote: > First off, I do $name = $_GET['name']. I filter when I know what's > going to happen with it (such as when it gets bound against a data > model). But your not a novice programmer, so this doesn't apply to you. Though personally, I wouldn't do $name

Re: [nyphp-talk] Promote Secure Coding

2014-05-21 Thread Gary Mort
On 05/21/2014 01:22 PM, David Krings wrote: On 5/21/2014 11:09 AM, Gary Mort wrote: $name = $_GET['name']; $get = function($varName) { return filter_input(INPUT_GET, $varName, FILTER_SANITIZE_STRING); } These 2 lines create a function to remove any HTML tags from a query strin

Re: [nyphp-talk] Promote Secure Coding

2014-05-21 Thread Gary Mort
On 05/21/2014 01:14 PM, Chris Snyder wrote: Why use an anonymous function? That seems less readable than declaring function get( $varName ), and the explanation of anonymous functions distracts from your point, which is that you should always filter input. To make it cut and pasteable without

Re: [nyphp-talk] Proper Form Processing Techniques

2014-05-21 Thread Gary Mort
On 05/20/2014 04:24 AM, Michael B Allen wrote: I actually started out doing what you describe but I thought the server side code started to get a little messy so I thought I would break things up into add, remove, applyCode and so on. Right, and you can still do that. Ie you have an add func

Re: [nyphp-talk] Promote Secure Coding

2014-05-21 Thread Gary Mort
On 05/21/2014 11:44 AM, Pierpaolo D'Aimmo wrote: Interesting, thank you for the contribution. Same rules can be applied to $_REQUEST and $_POST, but I guess you think that's already clear from what you write in the last comments. Unfortunately, many people I think just want ready-made function

[nyphp-talk] Promote Secure Coding

2014-05-21 Thread Gary Mort
I was looking at a tutorial written in this century for PHP programming, and I had steam come out of my ears. Even in this day and age, so called PHP 'experts' still write tutorials where they create a simple hello world script which uses: $name = $_GET['name']; The concept of using the simp

Re: [nyphp-talk] Proper Form Processing Techniques

2014-05-19 Thread Gary Mort
On 05/18/2014 01:43 AM, Michael B Allen wrote: Hi All, My current technique seems a little hackish because I'm using the hidden form element "cmd" to modify the action. In practice it might seem purer to modify the action to call /purchase/remove or /purchase/update for use with modern routing

Re: [nyphp-talk] Logging best practices, 2 of 2

2014-05-08 Thread Gary Mort
On 05/06/2014 09:39 AM, Federico Ulfo wrote: We're considering to use syslog as common logging for all languages, mostly PHP, Java and Python (Scala, Perl, Ruby ...), so we can finally log with a standard format, e.g.: TIME - HOSTNAME PID [LOG LEVEL] MESSAGE I prefer syslog to all other lo

Re: [nyphp-talk] Logging best practices, 1 of 2

2014-05-08 Thread Gary Mort
On 05/06/2014 09:39 AM, Federico Ulfo wrote: Hi PHPers, ... For PHP we'll probably use Monolog, someone suggested to use it wrapped into helper functions such as sail_info(), sail_debug(), sail_error(), sail_warn(), I'm personally skeptical for this solution because not too maintainable, bu

[nyphp-talk] Using libgit2

2013-11-24 Thread Gary Mort
I was wondering if anyone here has done much work with libgit2? http://libgit2.github.com/ I've been fiddling around with Git trying to find a good "process" for lone development. While I really like the concepts of Gitflow, but I find for myself when I'm just hacking on code I really don't want

Re: [nyphp-talk] making a branch of filesystem publicly accessible via http with write access for some

2013-11-24 Thread Gary Mort
On Sat, Nov 23, 2013 at 5:03 PM, Hans Z wrote: > Hi Gary, all, > > > There are also quite a number of "sync" apps which will sync a Google > Drive > > with a local folder... both my Linux Mint boxes are running a gdrive sync > > app which keeps all the files in one of my folders synced. > > Which

[nyphp-talk] Mysql tweaking

2013-09-01 Thread Gary Mort
As a followup on my previous post, I'm curious if anyone here has some quick and easy mysql configuration mods for low memory? The "out of the box" ubuntu install of mysql server used a hefty[:-)] 256M of memory. As a quick fix I disabled innodb completely and that dropped it down to more ma

Re: [nyphp-talk] Semi-OT: Is there a scale for language competency?

2013-09-01 Thread Gary Mort
On 8/20/2013 6:38 PM, Justin Dearing wrote: Can you provide a link to that study? I've never heard that, and my gut says it's folk wisdom that "experts" use to justify their behaviour. Unfortunately not offhand. I read it on the internet so it must be true? :-) Honestly though, I think

[nyphp-talk] Beagle Bone Black PHP

2013-09-01 Thread Gary Mort
I am in the process of writing a library for the BeagleBoneBlack and was wondering if anyone here is hacking around with it as well and can test it out/give me feedback. http://beagleboard.org/Products/BeagleBone%20Black My library requires upgrading to a relatively recent kernel. I'm using

Re: [nyphp-talk] Semi-OT: Is there a scale for language competency?

2013-08-20 Thread Gary Mort
On 7/26/2013 8:51 AM, leam hall wrote: Not that I'm looking for a job right now, but there's always the future. Is there a reasonably common scale for saying how good you are with a programming language? Something more than "Rate yourself on a 1-10" scale. In my case I can read several and am

Re: [nyphp-talk] CentOS v Ubuntu

2013-07-16 Thread Gary Mort
On Tue, Jul 16, 2013 at 10:25 AM, Hans Z wrote: > > I am having a debate in our office over whether to continue with CentOS >>> distro for use with our VM based servers (XEN) or switch to Ubuntu. I have >>> kept the belief that RedHat is better for servers while Ubuntu is preferred >>> on the d

Re: [nyphp-talk] CentOS v Ubuntu

2013-07-16 Thread Gary Mort
On Wed, Jun 19, 2013 at 1:15 PM, leam hall wrote: > Easier to find stuff that works on RH/CentOS than Ubuntu. 95% of US Linux > deployments, give or take, are Red Hat. > > Ubuntu has a place, just not in the data center. Yet, anyway. They seem to > be working on that. > > I find it depends on wha

[nyphp-talk] Test

2013-01-02 Thread Gary Mort
Test e-mail - I seem to have no email since the start of december - just want to check to see if I am still receiving mail. ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-pa

[nyphp-talk] Are Singletons Really Evil?

2012-03-19 Thread Gary Mort
Yay... Spring is here, blood starts flowing, mind starts stuttering. So I figured I'd ask others opinions on if singleton's really are "evil". It seems to me that "singletons are evil" is part of the a classic programmer pattern: a lot of programmers get burned by something, they declare it

Re: [nyphp-talk] Learning to program the right way

2012-01-27 Thread Gary Mort
On 1/27/2012 9:34 AM, David Mintz wrote: Debugging has scarcely been mentioned in this thread. Perhaps the proposed "Right Way" syllabus should include how to debug right along with unit testing and version control, since these three are related tools/skills. I am especially weak on debugging

Re: [nyphp-talk] Learning to program the right way

2012-01-26 Thread Gary Mort
Hi David, thanks for the excellent suggestions! In all honesty, I think some people are viewing my goals as loftier than they are. I don't plan on writing a book or designing a curriculum. Instead, I want to go through one of my old "Learn to program Object Oriented PHP" and rejuggle the les

Re: [nyphp-talk] Learning to program the right way

2012-01-24 Thread Gary Mort
On 1/23/2012 10:52 PM, Froilan Cajayon Mendoza wrote: Gary, I think the key to programming the right away is to understand the logic and structure of solving the problem the right way. This is where algorithms and data/programming structures come into play. My first-time-in-programming stud

Re: [nyphp-talk] Learning to program the right way

2012-01-23 Thread Gary Mort
performance optimization, etc) However, all of these should be taught to programmers. One can know a language inside-out, but without "real technical knowledge", a programmer can only go so far... just my two cents... P. On Mon, Jan 23, 2012 at 1:17 PM, Gary Mort <mailto:garya

[nyphp-talk] Learning to program the right way

2012-01-23 Thread Gary Mort
One thing that has annoyed me more and more over time is the way books and classes go about teaching /how/ to program in a language. They all start off with "Hello World" and then progress slowly form there to more and more complicated things. I've noticed that even Ruby books, the poster chi

Re: [nyphp-talk] Embedded PHP

2011-11-09 Thread Gary Mort
On 11/9/2011 11:01 AM, Cristian Baltatescu wrote: I always hated answers to questions like this that proposed a totally different solution, BUT :) Since you would be ok with a very basic/crippled version of php then why stick with it? I'm sure you can handle what you mentioned (basic variable m

Re: [nyphp-talk] Embedded Followup

2011-11-09 Thread Gary Mort
On 11/9/2011 10:58 AM, Ap | Alsjeblaft! wrote: How about a plug computer like the Guruplug Server (http://www.globalscaletechnologies.com/p-31-guruplug-server-standard.aspx) or TonidoPlug2 (http://www.tonidoplug.com/)? They're about $120, but have somewhat better specs. I've been thinking about

[nyphp-talk] Embedded Followup

2011-11-09 Thread Gary Mort
Erg, as a followup, in case someone doesn't want to take the time to work through those links: Raspberry Pi: proposed pricing will be 25/35 25$ model: 128MiB memory, 1x USB 2.0, 1xHDMI 35$ model: 256MiB, 2x USB 2.0, Ethernet, 1xHDMI Processor will be the same ARM SoC used in the Roku 2 Beaglebo

[nyphp-talk] Embedded PHP

2011-11-09 Thread Gary Mort
Got a fun little gizmo from Texas Instruments, a Chronos Watch[thanks to http://tideals.com/]... and that has gotten me thinking about playing with circuits again. The problem is, I HATE the idea of learning a bunch of new coding for what in the end is a hobby for fun. Add to that the upcom

Re: [nyphp-talk] analysis of php attacks

2011-11-09 Thread Gary Mort
On 10/20/2011 5:10 PM, Chris Snyder wrote: It would be more interesting to find out that these attacks are happening in VPSes or private servers, which would indicated a real exploit, rather than on GoDaddy or Dreamhost or some other shared system. I find there are 3 classifications of attacks

Re: [nyphp-talk] Drupal Performance

2011-11-09 Thread Gary Mort
On 10/11/2011 3:14 PM, Steve Manes wrote: Another pertinent question is how many concurrent logged-in users do you average? Drupal is actually pretty good about caching pages for anonymous users because they all see essentially the same output. But lots of login accounts creates lots of dynamic

[nyphp-talk] Running multiple mod_php extensions

2011-09-07 Thread Gary Mort
One problem I've run into with using FastCGI for multiple PHP versions is that a number of open source projects depend on mod_php - and while it is possible to reconfigure fastcgi to provide the information that mod_php provided[for example, the script_name defaults to the script name of the fa

Re: [nyphp-talk] Virtualbox as a dev environment

2011-09-02 Thread Gary Mort
On 9/2/2011 1:46 PM, Ajai Khattri wrote: BTW is this virtualization new to you guys? I was running VirtualBox back in 2006... -- Aj. It's fairly new for me. I've never had a system fast enough to really run it, and never felt like I needed it. Late last year when my laptop died, I decided

Re: [nyphp-talk] Virtualbox as a dev environment

2011-09-02 Thread Gary Mort
On 9/2/2011 1:27 PM, Yitzchak Schaffer wrote: You can set up the networking to bridge to the host OS's connection, or to use a NAT subnet within the workstation. That is, your host workstation can communicate with the VM, but other machines cannot. I'm not a network guy, so sorry if my explan

Re: [nyphp-talk] Virtualbox as a dev environment

2011-09-02 Thread Gary Mort
On 9/2/2011 12:42 PM, Rolan Yang wrote: What's your thought on using XAMPP instead of creating a bunch of virtual machines? You could run two instances of apache (php ver 5.2 & 5.3) on different ports and have both reference the same web directory and mysql. I have found XAMPP to be slow (umm,

[nyphp-talk] Virtualbox as a dev environment

2011-09-02 Thread Gary Mort
I've been driven a little crazy lately with trying to develop for Joomla with the following limitations: 1) Half the sites use PHP 5.2 and half of them use PHP 5.3 2) Sometimes I'm online and sometimes I'm offline I kept coming back to "if only I was using linux, I could set things up more ea

Re: [nyphp-talk] PHP html DOM manipulation

2011-08-09 Thread Gary Mort
On 8/7/2011 11:53 PM, John Campbell wrote: On Fri, Aug 5, 2011 at 6:39 PM, Gary Mort wrote: One thing I'd like to see this for is to re-write all those cool lightbox style javascript codes into PHP code[so instead of the user waiting for all the HTML to download, then waiting for a javas

Re: [nyphp-talk] Shopping Cart Solutions

2011-08-06 Thread Gary Mort
On 8/6/2011 12:24 AM, Rob D wrote: Greetings All, I have been asked by my sister in-law to provide an ecommerce solution for her small business. As I do not consider myself to be knowledgeable enough in this area, I am posting to this list to ask your thoughts and recommendations. For a "sm

[nyphp-talk] PHP html DOM manipulation

2011-08-05 Thread Gary Mort
I was wondering what the current favorites are for PHP html DOM manipulation are. I ran across one library which basically took all the JQuery DOM functions and created PHP equivalents for them - so you can do things like find all the elements of a certain tag class or type and replace their

[nyphp-talk] Exceptions vs User Errors

2011-06-23 Thread Gary Mort
I'm confused on the difference in common PHP usage between when one should use an exception and when one should use an error. Most of my confusion comes from the fact that the way both Exceptions and Errors are handled and generated in PHP has changed over the years, with each one being used at ti

[nyphp-talk] Writing daemons in PHP

2011-04-07 Thread Gary Mort
Just wondering what, in general, others are using for writing daemons in PHP. Just code it directly using libevent... or using a framework such as phpdaemon, https://github.com/kakserpom/phpdaemon For a first pass, I need to set up a more intelligent CPULimit app to meet my specific goals. Si

[nyphp-talk] Eaccelerator

2011-03-23 Thread Gary Mort
As a followup to my post... Rolling my own seems that the best solution to start with is bcompiler from PECL as it gets rid of all the shared memory management options. However, happily EAccellerator http://eaccelerator.net/ has a fine set of configuration options where looking it over, it ca

[nyphp-talk] PHP caching options

2011-03-21 Thread Gary Mort
Before I go an re-invent the wheel, I figured I'd ask here first. Does anyone know of a PHP cache system[like APC and XCache] which has the following features: 1) Saves the cached files to a tmpfs drive instead of using their own shared memory pool? 2) Saves evals as well as files? 3) Keeps

Re: [nyphp-talk] The user table

2011-03-08 Thread Gary Mort
On 3/7/2011 2:41 PM, Paul A Houle wrote: On 3/5/2011 1:27 PM, Gary Mort wrote: I am no longer convinced that the cpu cycles saved by using a numeric id are sufficient to justify doing so with todays computers. By the time you get to an app that is sizable enough to be looking to shave those

Re: [nyphp-talk] The user table

2011-03-05 Thread Gary Mort
On 3/4/2011 3:07 PM, D. J. Waletzky wrote: The problem with eliminating "redundant" info in a user table is that it may not scale terribly well. I always take care to give any user table an auto_incremented row number/uid, because the user's handle and e-mail, though unique, may change. Without a

Re: [nyphp-talk] The user table

2011-03-04 Thread Gary Mort
On 3/4/2011 2:41 PM, Rob Marscher wrote: Some nice thoughts. Thanks for sharing. On Mar 4, 2011, at 2:30 PM, Gary Mort wrote: Get rid of 2 of them. And the one that makes the most sense to keep is username. There's probably some sites where people don't even want to bother

[nyphp-talk] The user table

2011-03-04 Thread Gary Mort
After a number ofodd fights with user tables I'm coming the conclusion that Mitch is right. The typical user table starts with 3 bits of information: A userid A username An email address. A one way encrypted password MaybeMAYBE some user status info... And it demands that the first thr

Re: [nyphp-talk] PHP group mail list software

2010-12-17 Thread Gary Mort
On Fri, Dec 17, 2010 at 12:04 AM, Dan Horning wrote: > if you find one - let me know - phplist has always made me cringe > I'm more looking for the group list functionie what this mailing list uses. Mailman's web interface[resetting your password, archives, etc] just makes me cringe. I esp

[nyphp-talk] PHP group mail list software

2010-12-14 Thread Gary Mort
I was curious if anyone knows of a PHP group mailling list project offering similar functions to mailman? Not to diss mailman, it is a great, very mature email list management solution. But it's in python, and I'd rather run a PHP app which I can hack easily and learn from coding, than a python

Re: [nyphp-talk] SPROCs in the MySQL/PostgreSQL + PHP crowd

2010-11-16 Thread Gary Mort
On Wed, Nov 10, 2010 at 3:31 PM, Jerry B. Altzman wrote: > Hi all, > > Just a question for those of you out there dealing with the F/OSS RDBMS's > out there: > > How many of you are using stored procedures (SPROCs) with any great > regularity? > > I know that in the commercial database world use o

Re: [nyphp-talk] Amazon's new Free Tier

2010-11-16 Thread Gary Mort
On 11/16/2010 4:08 PM, Matt Juszczak wrote: For those open to other solutions, I highly highly recommend Rackspace Cloud over EC2. But just my personal opinion. At the moment, since building apps for the Amazon API lets you also learn how to build apps for the Eucalyptus API[since they are

Re: [nyphp-talk] Amazon's new Free Tier

2010-11-16 Thread Gary Mort
On 11/16/2010 3:18 PM, Jerry B. Altzman wrote: on 11/16/2010 1:58 PM Gary Mort said the following: FYI, as a birthday gift to me[my birthday was October 20th and they announced it on the 21st, clearly geared towards me!], Amazon has introduced a new "free" pricing tier. Like every

[nyphp-talk] Amazon's new Free Tier

2010-11-16 Thread Gary Mort
FYI, as a birthday gift to me[my birthday was October 20th and they announced it on the 21st, clearly geared towards me!], Amazon has introduced a new "free" pricing tier. http://aws.amazon.com/free/ If you sign up for a new AWS developer account, you get a bunch of free storage space and server

Re: [nyphp-talk] Mongo...sharding??

2010-08-02 Thread Gary Mort
On Wed, Jul 28, 2010 at 3:10 PM, Justin Dearing wrote: > Full disclosure : I've contributed minor enhancements to windows support on > mongodb, so I'm biased. > > No worries, we have a number of Mongo enthusiasts here. :-) > Also, consider asking this question on mongo-user ( >> http://groups.g

[nyphp-talk] Mongo...sharding??

2010-07-28 Thread Gary Mort
So...slowly getting interested in MongoDB One of the items I found interesting is the repeated assertions that "Mongo is designed for sharding"yet sharding only exists in the development branch of the code... So, my question is, is Mongo being used in production with sharding? ___

Re: [nyphp-talk] Minor rant, pass by reference during method invocation depreciated

2010-07-02 Thread Gary Mort
On Fri, Jul 2, 2010 at 10:58 AM, John Campbell wrote: > > $grantUser object updated with the new levels or not. If I know I am > dealing > > with the current user, than I want the admin authority to immediately be > > applied so it will flow to all future function calls: > > $return= Application:

[nyphp-talk] Minor rant, pass by reference during method invocation depreciated

2010-07-02 Thread Gary Mort
I am wondering what the reasoning on depreciating this was. For example: This is valid: function foo(&$var) { $var++; } $a=1; foo($a); echo $a; // value is 2 This is depreciated: function foo($var) { $var++; } $a=1; foo(&$a); echo $a; // value is 2 My own thinking here is that since I am usi

Re: [nyphp-talk] A FBJS like Ajax proxy?

2010-05-31 Thread Gary Mort
You might want to take a look at Yahoo Pipes. Instead of defining an interface yourself, you can create a yahoo pipe for your current processes, and then access the pipe programatically using any one of a number of classes already built for pulling from yahoo pipes. On Sun, May 30, 2010 at 8:57 P

[nyphp-talk] Github for Mercurial?

2010-05-27 Thread Gary Mort
Anyone know of a website like Github for Mercurial? Specifically with the easy ability to not only clone/fork a project, but merge them back together and show them all. For example, http://github.com/mbleigh/acts-as-taggable-on is great in that I can use the network tab to see who else is hacking

[nyphp-talk] Dev on Windows7

2010-04-17 Thread Gary Mort
Gah, So, after years of fighting to learn Mac...hating the one button mouse, etc etc I finally had gotten an environment I was comfortable in. Mercurial for Version Control. Apache + PHP 5.3 + Passenger/Ruby on Rails MySQL Navicat Netbeans Text Wrangler Komodo Edit Virtual hosts setup for easy se

[nyphp-talk] Anyone using Indeferno?

2010-03-21 Thread Gary Mort
I gave redmine a try and it's good, let's me work the way I think and allintegrates with Bazaar.etc etc. All the good stuff. The downside though was that it just lacks a decent templating system, lacks some basic API's, etc. At the end of the day... to get to where I want to be I find

Re: [nyphp-talk] "Drupal makes me hAPI" talk: NYLUG 3/17 @ 6:30PM by Forest Mars and Jingsheng Wang

2010-03-15 Thread Gary Mort
On Mon, Mar 15, 2010 at 4:08 PM, forest mars wrote: > Jingsheng Wang is a Reverse > Engineer at GreatBrewers.com Ooo, does that mean he gets to experiment in order to reverse engineer beer ingredients? ___ New York PHP Users Group Community Talk

Re: [nyphp-talk] talk Digest, Vol 41, Issue 5

2010-03-09 Thread Gary Mort
On Tue, Mar 9, 2010 at 11:50 AM, Mitch Pirtle wr > > Seriously though: Take whatever popular PHP CMS you might have laying > around, and consider what it would take to migrate content from one > existing website to another website that also already has its own > content... I'm willing to bet all t

Re: [nyphp-talk] talk Digest, Vol 41, Issue 5

2010-03-08 Thread Gary Mort
On Mon, Mar 8, 2010 at 8:33 PM, Mitch Pirtle wrote: > On Mon, Mar 8, 2010 at 6:34 PM, Gary Mort wrote: > > I think in the end there are a range of practices, and while special > numbers > > can and does turn around and bite you in the but eventually[what happens > >

Re: [nyphp-talk] talk Digest, Vol 41, Issue 5

2010-03-08 Thread Gary Mort
On Mon, Mar 8, 2010 at 3:52 PM, Mitch Pirtle wrote: > This is called "smart numbers" or "intelligent numbers" and is > generally considered a bad practice. > > True, but then so is storing library and configuration files under the web directory[man do I loathe all the empty index.html files just

Re: [nyphp-talk] talk Digest, Vol 41, Issue 5

2010-03-08 Thread Gary Mort
I'm talking about when working on large applications made up of components, with a component system built in and a smattering of components included to make a complete "application". For example, Joomla: The Joomla MySQL database contains a table called jos_components where every component install

[nyphp-talk] dbdeploy

2010-03-08 Thread Gary Mort
Was wondering if anyone here has been using dbdeploy for helping manage database schema's and if so, what you think of it? http://www.davedevelopment.co.uk/2008/04/14/how-to-simple-database-migrations-with-phing-and-dbdeploy/ I'm also thinking that for me...one of the biggest issues I tend to have

Re: [nyphp-talk] html to PDF conversion?

2010-03-05 Thread Gary Mort
On Fri, Mar 5, 2010 at 11:06 AM, David Roth wrote: > > I found something interesting. I used wget to get the HTML and then fed it > through wkhtmltopdf. The PDF looked OK, then I noticed in the help you can > do wkhtmltopdf website.com website.pdf, so I thought why not let the > program do the who

[nyphp-talk] Technical Debt and project tracking tools

2010-02-27 Thread Gary Mort
Now that I'm getting into Redmine... I find many things I want to consolidate tracking there. I was wondering how others use project tracking tools to keep track of technical debt: http://en.wikipedia.org/wiki/Technical_debt As it seems to me I'd like to make sure that the technical debt accrued

Re: [nyphp-talk] Free vs Pay

2010-02-26 Thread Gary Mort
On Fri, Feb 26, 2010 at 5:44 PM, Ajai Khattri wrote: > On Fri, 26 Feb 2010, Konstantin K wrote: > > > +1 on UltraEdit (which does code folding correctly!) > > I think the folding problem is probably in the PHP plugin for Eclipse > rather than Eclipse itself. > > > > True, and it should also be re

Re: [nyphp-talk] Free vs Pay

2010-02-26 Thread Gary Mort
On Fri, Feb 26, 2010 at 5:39 PM, Konstantin K wrote: > +1 on UltraEdit (which does code folding correctly!) > > They also have UEStudio > Ultraedit is a fantastic editor, but I really want a full fledged IDE. UEStudio is my first choice when they finally go cross platform. :-) > _

Re: [nyphp-talk] Eclipse, newbie impressions

2010-02-26 Thread Gary Mort
n O'Connor wrote: > Have you tried aptana? It was built for ror, but they took over pydev > and have a php plugin as well. I just started using it and its pretty > decent (not sure about the code folding). > > On 2/26/10, Gary Mort wrote: > > Too many little consoles..

[nyphp-talk] Free vs Pay

2010-02-26 Thread Gary Mort
BTW, I have no objection to paying for a decent IDE. I felt the $300 I paid for Komodo IDE years ago was money well spent. So I'm not fixated on "free". I am however fixated on must run on Mac and Windows and preferably Linux. I go from my macbook at work to windows at home. And sometimes fire

[nyphp-talk] Eclipse, newbie impressions

2010-02-26 Thread Gary Mort
Too many little consoles.. :-) Which is the main item which has put me off. Written in Java and needing to know Java to do a lot of extending of Eclipse[though with PDT going to a markup language for rules, I might be able to do quite a bit there] Oddities with network connections: I went thro

[nyphp-talk] Eclipse, try try again

2010-02-25 Thread Gary Mort
Well, despite not liking it...I'm giving eclipse yet another try as every other system I've tried has small failings that irk me here and there. The biggest issue I have with eclipse is the PHP code folding. It seems somewhat arbitrarily limited, as it does not fold if/then clauses. Switch claus

[nyphp-talk] Web 2.0 "how to talk like you know something" presentation

2010-02-25 Thread Gary Mort
Over the winter break in Decemember, a lot of NYPHP's posted various amusing presentations done tongue in cheek at various conventions. One of which was MongoDB for DBA's. However, another of which[or I just ended up seeing it as a related video] was about "How to talk about Web 2.0 like you know

Re: [nyphp-talk] OT: Silent Auction today

2010-02-21 Thread Gary Mort
On Sun, Feb 21, 2010 at 10:08 AM, Gary Mort wrote: > Off Topic, but I figured I'd post this in case anyone is interested in some > of the items on the list: > > Well, people will be happy to know I'll shut up about this now. Between a sizable last minute anonymous donat

[nyphp-talk] OT: Silent Auction today

2010-02-21 Thread Gary Mort
Off Topic, but I figured I'd post this in case anyone is interested in some of the items on the list: As I believe I posted about previously, their doing a fundraiser to expand the cancer center at the local hospital my oldest brother passed away at last year. http://www.huntingforacure.info/ is t

Re: [nyphp-talk] Enterprise/Commercial CMS with Support?

2010-02-16 Thread Gary Mort
On Tue, Feb 16, 2010 at 11:10 PM, li...@nopersonal.info < li...@nopersonal.info> wrote: > Thanks. I tried that list and gave up about halfway through as none of > them seemed to offer the sort of support the client would expect--i.e. > they want something that's backed by the company that owns the

Re: [nyphp-talk] Google Grants

2010-02-16 Thread Gary Mort
On Tue, Feb 16, 2010 at 10:28 PM, John Campbell wrote: > On Tue, Feb 16, 2010 at 7:29 PM, Gary Mort wrote: > > Any idea why Google would disqualify the request I put in for my > children's > > school? > > Maybe private schools fall under the "membership or provi

Re: [nyphp-talk] Google Grants

2010-02-16 Thread Gary Mort
On Tue, Feb 16, 2010 at 8:19 PM, Damion Hankejh wrote: > Hi Gary -- does the school have 503(c)1 determination? I've learned that > many schools operating in nonprofit-mode are operating under another > nonprofit parent. I can verify status through ActiveCause (full-disclosure: > a portfolio in

[nyphp-talk] Google Grants

2010-02-16 Thread Gary Mort
Any idea why Google would disqualify the request I put in for my children's school? Their eligibility requirements are both explicit and vague: http://www.google.com/grants/details.html#eligibility http://www.sudburyschool.org The school is a registered non profit.. Practically all income come

Re: [nyphp-talk] Enterprise/Commercial CMS with Support?

2010-02-16 Thread Gary Mort
Joomla or Drupal and contract with any one of the many consultants in that area. :-) ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation

Re: [nyphp-talk] Best way to accomplish this task

2010-02-15 Thread Gary Mort
On Mon, Feb 15, 2010 at 9:32 AM, Mitch Pirtle wrote: > Keeps your logic clean and simple. Anything more sophisticated than > this and you might as well look into Amazon Queues. :-) > > Ick.. No, Amazon Queues[and for that matter Amazon SimpleDB] are bad solutions for this. Both services run off

Re: [nyphp-talk] Best way to accomplish this task

2010-02-14 Thread Gary Mort
First off, always process in the smallest increment you can. So don't grab EVERY row, just grab ONE row and process it, then grab the next row and process it... That allows you to run multiple, concurrent processors and each one can grab the data they want. Secondly there are many queing ser

[nyphp-talk] Flex/AIR

2010-02-12 Thread Gary Mort
I've never been able to justify buying a big flash developer package just to play around with flash But from what I've skimmed, flex/air means you can use the compiler and don't need the big full flash developer app.. Is that true? And if so, what would I need to play around? I mainly want

Re: [nyphp-talk] YAML and Database Definitions

2010-02-10 Thread Gary Mort
On Wed, Feb 10, 2010 at 12:40 PM, Justin Dearing wrote: > > Now,with all that being said, If I were pre-dispositioned towards > referential integrity and schema being handled in the app level (which I am > not, big surprise), I'd use mongo for new developement. > Wow...longest thread on NYPHP to

Re: [nyphp-talk] YAML and Database Definitions

2010-02-10 Thread Gary Mort
On Wed, Feb 10, 2010 at 11:50 AM, Justin Dearing wrote: > > > On Wed, Feb 10, 2010 at 11:09 AM, Gary Mort wrote: > >> >> Sure there is, it's called SQL. If you avoid functions that are not cross >> platform, it's fairly easy to take SQL database creati

Re: [nyphp-talk] YAML and Database Definitions

2010-02-10 Thread Gary Mort
On Wed, Feb 10, 2010 at 10:58 AM, Ajai Khattri wrote: > On Wed, 10 Feb 2010, Gary Mort wrote: > > Oh well, score 0 for cross platform/language coolness. > > There is no standard for defining how to describe databases. YAML is > simply a convenient format for use in co

Re: [nyphp-talk] YAML and Database Definitions

2010-02-10 Thread Gary Mort
On Wed, Feb 10, 2010 at 10:47 AM, Ajai Khattri wrote: > On Wed, 10 Feb 2010, Gary Mort wrote: > > > So now I'm wondering is YAML used in such a manner and is there a > standard > > definition for how to use YAML, or is both Doctrine and Andromeda simply > > rol

Re: [nyphp-talk] YAML and Database Definitions

2010-02-10 Thread Gary Mort
On Wed, Feb 10, 2010 at 9:11 AM, Justin Dearing wrote: > >> > Just a few notes. Ken has stopped maintaining and using Andromeda. > Hmm, any idea why? I could never get into it because I work for clients in shared hosting aka mysql environments but he was really gung ho for a while. > Donald

  1   2   3   >