From nhart at partsauthority.com Thu Jul 11 18:14:48 2013 From: nhart at partsauthority.com (Nicholas Hart) Date: Thu, 11 Jul 2013 18:14:48 -0400 Subject: [nycphp-talk] dot equal Message-ID: Hi, I am trying to run existing php source on Xen VM using Centos64. I seem to be having trouble with the dot equal (.=) string operator. Is there some way to turn this on in php.ini? I keep getting errors in my code right where a string gets appended using this shorthand. If there is no such setting, them perhaps this is a bug in php? Please help! Thanks, Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From rsd at electronink.com Thu Jul 11 18:53:06 2013 From: rsd at electronink.com (Russ Demarest) Date: Thu, 11 Jul 2013 18:53:06 -0400 Subject: [nycphp-talk] dot equal In-Reply-To: References: Message-ID: <641250CC-77EF-4B70-BF3B-A2BA82B0B128@electronink.com> Can you post the line where it happens? On Jul 11, 2013, at 6:14 PM, Nicholas Hart wrote: > > Hi, > > I am trying to run existing php source on Xen VM using Centos64. I seem to be having trouble with the dot equal (.=) string operator. Is there some way to turn this on in php.ini? I keep getting errors in my code right where a string gets appended using this shorthand. If there is no such setting, them perhaps this is a bug in php? Please help! > > Thanks, > Nick > > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation From bonsaime at gmail.com Thu Jul 11 18:54:06 2013 From: bonsaime at gmail.com (Jesse Callaway) Date: Thu, 11 Jul 2013 18:54:06 -0400 Subject: [nycphp-talk] dot equal In-Reply-To: References: Message-ID: so weird.... and the de rigueur 'whats the error message'? On Jul 11, 2013 6:15 PM, "Nicholas Hart" wrote: > > Hi, > > I am trying to run existing php source on Xen VM using Centos64. I seem > to be having trouble with the dot equal (.=) string operator. Is there > some way to turn this on in php.ini? I keep getting errors in my code > right where a string gets appended using this shorthand. If there is no > such setting, them perhaps this is a bug in php? Please help! > > Thanks, > Nick > > > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidalanroth at gmail.com Sun Jul 14 18:19:52 2013 From: davidalanroth at gmail.com (David Roth) Date: Sun, 14 Jul 2013 18:19:52 -0400 Subject: [nycphp-talk] SOAP caching to file or MySQL? Message-ID: I'm writing an application in PHP which does a SOAP request. But the problem is that the request is slow at times. It ca take 5-6 seconds to get a SOAP response sometimes. I've considered caching the data and poll to get it. But then I wondered what to do with the data once I get it with respect to performance concerns. It's it better to write the 20 records to a file or a MySQL TABLE? I considered MySQL cause it would make the programming job easier to use it for retrieval, but that's just my personal preference. Or does it make any difference? The final result will be displayed on a web page and don't want to keep the short-attention span user waiting. Or I should just go to the fair today and not worry about it? :-) David Roth -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaunere at gmail.com Tue Jul 16 10:00:10 2013 From: zaunere at gmail.com (Hans Z) Date: Tue, 16 Jul 2013 10:00:10 -0400 Subject: [nycphp-talk] SOAP caching to file or MySQL? In-Reply-To: References: Message-ID: Hi David, On Sun, Jul 14, 2013 at 6:19 PM, David Roth wrote: > I'm writing an application in PHP which does a SOAP request. But the > problem is that the request is slow at times. It ca take 5-6 seconds to get > a SOAP response sometimes. I've considered caching the data and poll to get > it. But then I wondered what to do with the data once I get it with respect > to performance concerns. It's it better to write the 20 records to a file > or a MySQL TABLE? I considered MySQL cause it would make the programming > job easier to use it for retrieval, but that's just my personal > preference. Or does it make any difference? The final result will be > displayed on a web page and don't want to keep the short-attention span > user waiting. Saving/pulling directly to disk will always be faster, but as you say, is it worth the extra programming complexity? I'd say it comes down to volume - if you need to handle millions of these cached files, then concocting something to save to disk or even memory/memcache could be optimal. But if the traffic is low, then in either case there probably won't be much difference, aside from complexity and bugs :) H -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaunere at gmail.com Tue Jul 16 10:25:00 2013 From: zaunere at gmail.com (Hans Z) Date: Tue, 16 Jul 2013 10:25:00 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: > 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 desktop. I even have an Ubuntu desktop PC. Just wondered what all >> of you think or recommend. Thanks. >> > > I'm always in favor of CentOS. Nothing particularly against > Ubuntu/Debian, but I just don't have any reason to switch to the > Actually, I take this back - it sucks. I just had the honor of setting up Ubuntu for a project... I had to Google to find out how to get a command line prompt in it's UI, and then sort through the Amazon/MP3/etc advertisements on the desktop it installed. Not to mention the 25% usage when idle so that it could draw all the pretty pictures for ads. Sorry, just had to rant a bit :) H -------------- next part -------------- An HTML attachment was scrubbed... URL: From zippy1981 at gmail.com Tue Jul 16 10:35:40 2013 From: zippy1981 at gmail.com (Justin Dearing) Date: Tue, 16 Jul 2013 10:35:40 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: On Tue, Jul 16, 2013 at 10:25 AM, Hans Z wrote: > >>> Actually, I take this back - it sucks. I just had the honor of setting > up Ubuntu for a project... I had to Google to find out how to get a command > line prompt in it's UI, and then sort through the Amazon/MP3/etc > advertisements on the desktop it installed. Not to mention the 25% usage > when idle so that it could draw all the pretty pictures for ads. > > I haven't actually setup Ubuntu since the advertizing thing happened. That does suck. Why not do a text install and then add your favorite window environment? The CPU usage is disappointing considering Unity's original incarnation was in the lighweight "netbook respin" of Ubuntu, which BTW was an awesome release. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaunere at gmail.com Tue Jul 16 10:38:57 2013 From: zaunere at gmail.com (Hans Z) Date: Tue, 16 Jul 2013 10:38:57 -0400 Subject: [nycphp-talk] The Diff Meetings Message-ID: Hello all, I thought it prudent to pull topics from the git vs svn thread for planning out some future meetings. Here's the recap: There's always new technology on the web and some of it certainly could be considered wonderful, and some simply hype... of course, this pattern in technology (or anything really) is nothing new. What if we compiled a list, added the pros/cons of each, and debated it out panel style at a meeting? I'll happily seed the list: ) git / github LESS/etc (compiled CSS) AJAX jQuery Bootstrap (CSS frameworks) noSQL Cloud servers RoR nodeJS Cloud development (online code editors/etc) What am I forgetting? Oh right... Responsive design :) Previously, some topics such as OOP and MVC were introduced. While these are certainly valid topics, and often deserve meetings of their own, I think we should focus purely on the new "hot topics" of late. So, in the interest of getting some meetings planned: -- any new/trendy topics to add to the list above? -- anyone ready to talk about their preferred side of the diff? Say... for instance, git vs svn ? :) -- those who step-up, let's discuss and we can plan a couple of meetings for the fall. H -------------- next part -------------- An HTML attachment was scrubbed... URL: From garyamort at gmail.com Tue Jul 16 10:45:32 2013 From: garyamort at gmail.com (Gary Mort) Date: Tue, 16 Jul 2013 10:45:32 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: 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 what it is your running and how willing you are to compile programs from scratch. I've consistently found the CentOS PHP package to be badly out of date, which initially led me to using Ubuntu. However, just one package is not a good reason to switch, as it is not that hard to compile it from scratch. However, in the past when dealing with image processing and website processing, I found so many packages downlevel that I ended up sticking with Ubuntu. Imagemagick was a big one where Ubuntu was preferable...especially if you want to do liquid rescaling[though perhaps CentOS has caught up?] wkhtmltopdf was a major pain in that even when I compiled it from source, it had a lot of dependencies on various software package versions which led me down a rabbit hole of compiling packages. Postfix is another package where Ubuntu simply has the edge if you want to play with the some of the more recent features. At the same time though, the security benefits of CentOS are large - so it can be better to deploy a mixed environment - use Ubuntu for development and as specific process services[ie ship all your image processing off to a Ubuntu box only reachable from the web servers] and use CentOS for deployment. When you run into version dependencies going from dev to production, you can make a case by case decision on whether to compile everything you need or use web services and export that function to a Ubuntu box. As an independent developer, I use Ubuntu as my preference as it saves me time when dealing with later features. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rainelemental at gmail.com Tue Jul 16 10:53:31 2013 From: rainelemental at gmail.com (Federico Ulfo) Date: Tue, 16 Jul 2013 10:53:31 -0400 Subject: [nycphp-talk] SOAP caching to file or MySQL? In-Reply-To: References: Message-ID: Just cache the results in a JSON file, that's the easier solution to your problem and the faster to implement. F On Tue, Jul 16, 2013 at 10:00 AM, Hans Z wrote: > Hi David, > > On Sun, Jul 14, 2013 at 6:19 PM, David Roth wrote: > >> I'm writing an application in PHP which does a SOAP request. But the >> problem is that the request is slow at times. It ca take 5-6 seconds to get >> a SOAP response sometimes. I've considered caching the data and poll to get >> it. But then I wondered what to do with the data once I get it with respect >> to performance concerns. It's it better to write the 20 records to a file >> or a MySQL TABLE? I considered MySQL cause it would make the programming >> job easier to use it for retrieval, but that's just my personal >> preference. Or does it make any difference? The final result will be >> displayed on a web page and don't want to keep the short-attention span >> user waiting. > > > Saving/pulling directly to disk will always be faster, but as you say, is > it worth the extra programming complexity? I'd say it comes down to volume > - if you need to handle millions of these cached files, then concocting > something to save to disk or even memory/memcache could be optimal. But if > the traffic is low, then in either case there probably won't be much > difference, aside from complexity and bugs :) > > H > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -------------- next part -------------- An HTML attachment was scrubbed... URL: From garyamort at gmail.com Tue Jul 16 10:55:52 2013 From: garyamort at gmail.com (Gary Mort) Date: Tue, 16 Jul 2013 10:55:52 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: 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 desktop. I even have an Ubuntu desktop PC. Just wondered what all >>> of you think or recommend. Thanks. >>> >> >> I'm always in favor of CentOS. Nothing particularly against >> Ubuntu/Debian, but I just don't have any reason to switch to the >> > > Actually, I take this back - it sucks. I just had the honor of setting up > Ubuntu for a project... I had to Google to find out how to get a command > line prompt in it's UI, and then sort through the Amazon/MP3/etc > advertisements on the desktop it installed. Not to mention the 25% usage > when idle so that it could draw all the pretty pictures for ads. > > Sorry, just had to rant a bit :) > You don't need to install the UI for a server. However, I agree entirely that since around 12.04/12.10 the Ubuntu desktop has become a bloated pile of crud. I especially disliked their "smart search" function which would go out and search the internet and display ads for stuff at the same time as it searched the local drive...all I wanted to do was find "Thunderbird" on the local system, I didn't need half a dozen ads for music relating to that keyword - and I certainly didn't need the performance drag! For desktop use, I switched to Linux Mint Mate. It is based on Ubuntu, but it replaces their CPU intensive "Unity" desktop environment with a modern version of "Gnome" which has a decent amount of eye candy without impacting performance. For those that really want the eye candy, Linux Mint Cinnamon gives you that and still performs better. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rainelemental at gmail.com Tue Jul 16 11:03:12 2013 From: rainelemental at gmail.com (Federico Ulfo) Date: Tue, 16 Jul 2013 11:03:12 -0400 Subject: [nycphp-talk] The Diff Meetings In-Reply-To: References: Message-ID: +1 for any OPS, git, DB and PHP related talk -1 for frontend and other languages, there are already better meetups for that (e.g. http://www.meetup.com/nodejs/events/128930092/) On Tue, Jul 16, 2013 at 10:38 AM, Hans Z wrote: > Hello all, > > I thought it prudent to pull topics from the git vs svn thread for > planning out some future meetings. > > Here's the recap: > > There's always new technology on the web and some of it certainly could be > considered wonderful, and some simply hype... of course, this pattern in > technology (or anything really) is nothing new. > > What if we compiled a list, added the pros/cons of each, and debated it > out panel style at a meeting? > > I'll happily seed the list: ) > > git / github > LESS/etc (compiled CSS) > AJAX > jQuery > Bootstrap (CSS frameworks) > noSQL > Cloud servers > RoR > nodeJS > Cloud development (online code editors/etc) > > What am I forgetting? Oh right... > > Responsive design :) > > Previously, some topics such as OOP and MVC were introduced. While these > are certainly valid topics, and often deserve meetings of their own, I > think we should focus purely on the new "hot topics" of late. > > So, in the interest of getting some meetings planned: > > -- any new/trendy topics to add to the list above? > > -- anyone ready to talk about their preferred side of the diff? Say... > for instance, git vs svn ? :) > > -- those who step-up, let's discuss and we can plan a couple of meetings > for the fall. > > H > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bonsaime at gmail.com Tue Jul 16 11:03:45 2013 From: bonsaime at gmail.com (Jesse Callaway) Date: Tue, 16 Jul 2013 11:03:45 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: They're all terrible. Just handle process priority, memory management, and open some sockets when asked. For the rest... stay out of the way. For god's sake don't try to maintain a "system" java that symlinks to the flavor of the month. Don't provide shared libraries. Don't provide printing services. Don't even install cron. Just as the BIOS is a thin layer which is just meant to provide a uniform interface to the hardware should be the OS to higher level memory, storage, and network resources. This is too extreme a position to take, but it's the tendency I lean towards in reaction to the overloading of crap which is inevitable in OS's that maintain both a desktop and server userbase. It's the unfortunate reality that we really MUST have desktop users in order to find all of the bugs and get enough of an audience to provide constant development... so I know I'm preaching to an impossible end.... if any end at all. -jesse On Tue, Jul 16, 2013 at 10:45 AM, Gary Mort wrote: > > > > 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 what it is your running and how willing you are to > compile programs from scratch. > > I've consistently found the CentOS PHP package to be badly out of date, > which initially led me to using Ubuntu. However, just one package is not > a good reason to switch, as it is not that hard to compile it from scratch. > > However, in the past when dealing with image processing and website > processing, I found so many packages downlevel that I ended up sticking > with Ubuntu. > Imagemagick was a big one where Ubuntu was preferable...especially if you > want to do liquid rescaling[though perhaps CentOS has caught up?] > > wkhtmltopdf was a major pain in that even when I compiled it from source, > it had a lot of dependencies on various software package versions which led > me down a rabbit hole of compiling packages. > > Postfix is another package where Ubuntu simply has the edge if you want to > play with the some of the more recent features. > > At the same time though, the security benefits of CentOS are large - so it > can be better to deploy a mixed environment - use Ubuntu for development > and as specific process services[ie ship all your image processing off to a > Ubuntu box only reachable from the web servers] and use CentOS for > deployment. When you run into version dependencies going from dev to > production, you can make a case by case decision on whether to compile > everything you need or use web services and export that function to a > Ubuntu box. > > As an independent developer, I use Ubuntu as my preference as it saves me > time when dealing with later features. > > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -- -jesse -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin at justinhileman.info Tue Jul 16 13:57:30 2013 From: justin at justinhileman.info (justin) Date: Tue, 16 Jul 2013 13:57:30 -0400 Subject: [nycphp-talk] SOAP caching to file or MySQL? In-Reply-To: References: Message-ID: This is what Memcache is made for. Just sayin'. --justin On Sun, Jul 14, 2013 at 6:19 PM, David Roth wrote: > I'm writing an application in PHP which does a SOAP request. But the > problem is that the request is slow at times. It ca take 5-6 seconds to get > a SOAP response sometimes. I've considered caching the data and poll to get > it. But then I wondered what to do with the data once I get it with respect > to performance concerns. It's it better to write the 20 records to a file > or a MySQL TABLE? I considered MySQL cause it would make the programming > job easier to use it for retrieval, but that's just my personal > preference. Or does it make any difference? The final result will be > displayed on a web page and don't want to keep the short-attention span > user waiting. > > Or I should just go to the fair today and not worry about it? :-) > > David Roth > > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -- http://justinhileman.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From leamhall at gmail.com Tue Jul 16 14:07:04 2013 From: leamhall at gmail.com (leam hall) Date: Tue, 16 Jul 2013 14:07:04 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: Check out the IUS community repo. They are up to PHP 5.5. http://iuscommunity.org/pages/About.html Leam On Tue, Jul 16, 2013 at 10:45 AM, Gary Mort wrote: > > I've consistently found the CentOS PHP package to be badly out of date, > which initially led me to using Ubuntu. However, just one package is not > a good reason to switch, as it is not that hard to compile it from scratch. > -- Mind on a Mission -------------- next part -------------- An HTML attachment was scrubbed... URL: From chsnyder at gmail.com Tue Jul 16 17:03:54 2013 From: chsnyder at gmail.com (Chris Snyder) Date: Tue, 16 Jul 2013 17:03:54 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: On Tue, Jul 16, 2013 at 11:03 AM, Jesse Callaway wrote: > Just handle process priority, memory management, and open some sockets > when asked. For the rest... stay out of the way. For god's sake don't try > to maintain a "system" java that symlinks to the flavor of the month. Don't > provide shared libraries. Don't provide printing services. Don't even > install cron. > > Yes, I would use your distro. I might install cron, but I get to choose which one. Seriously, Hans, maybe your client wanted to use Ubuntu Server because of the GUI, but you should know better than to have a window manager running on a production server. I suppose you'd let the OS automount any USB keys that were stuck into the front ports, too? -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaunere at gmail.com Tue Jul 16 17:23:27 2013 From: zaunere at gmail.com (Hans Z) Date: Tue, 16 Jul 2013 17:23:27 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: On Tue, Jul 16, 2013 at 5:03 PM, Chris Snyder wrote: > On Tue, Jul 16, 2013 at 11:03 AM, Jesse Callaway wrote: > >> Just handle process priority, memory management, and open some sockets >> when asked. For the rest... stay out of the way. For god's sake don't try >> to maintain a "system" java that symlinks to the flavor of the month. Don't >> provide shared libraries. Don't provide printing services. Don't even >> install cron. >> >> > Yes, I would use your distro. I might install cron, but I get to choose > which one. > > Seriously, Hans, maybe your client wanted to use Ubuntu Server because of > the GUI, but you should know better than to have a window manager running > on a production server. I suppose you'd let the OS automount any USB keys > that were stuck into the front ports, too? > Easy there Chris, didn't realize Ubuntu was your project... Obviously I can customize my OS how I'd like... and I'm sure Ubuntu would be just as happy to mount a USB stick and scan it for MP3s while giving me Amazon ads... and we can all choose which OS/flavor we use... and I'm simply stating, that Ubuntu will never be my choice. H -------------- next part -------------- An HTML attachment was scrubbed... URL: From krook at us.ibm.com Wed Jul 17 00:03:57 2013 From: krook at us.ibm.com (Daniel Krook) Date: Wed, 17 Jul 2013 00:03:57 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: Hello Chris, Hans, Jesse, > From: Hans Z > To: NYPHP Talk > Date: 07/16/2013 05:31 PM > Subject: Re: [nycphp-talk] CentOS v Ubuntu > Sent by: talk-bounces at lists.nyphp.org > > On Tue, Jul 16, 2013 at 5:03 PM, Chris Snyder wrote: > On Tue, Jul 16, 2013 at 11:03 AM, Jesse Callaway wrote: > Just handle process priority, memory management, and open some > sockets when asked. For the rest... stay out of the way. For god's > sake don't try to maintain a "system" java that symlinks to the > flavor of the month. Don't provide shared libraries. Don't provide > printing services. Don't even install cron. > > Yes, I would use your distro. I might install cron, but I get to > choose which one. > > Seriously, Hans, maybe your client wanted to use Ubuntu Server > because of the GUI, but you should know better than to have a window > manager running on a production server. I suppose you'd let the OS > automount any USB keys that were stuck into the front ports, too? > > Easy there Chris, didn't realize Ubuntu was your project... > > Obviously I can customize my OS how I'd like... and I'm sure Ubuntu > would be just as happy to mount a USB stick and scan it for MP3s > while giving me Amazon ads... and we can all choose which OS/flavor > we use... and I'm simply stating, that Ubuntu will never be my choice. > > H Sorry for mangling the history with my mail client. Chris, Hans, I never made the leap myself, but isn't much of this why you two advocate/d the BSDs for AMP development? What's the reason for either of you considering Ubuntu/CentOS today? As consultants, I understand you have to deal with some legacy client infrastructure and may not be able to define the "ideal OS" but what would you use if you had it your way? And I don't mean to start a religious war, but if you were to set up a server only cluster of VMs to serve up your own production PHP apps, what would you choose today and why? How much do you really care to influence what choices are made at the OS or PHP version level? What are the make/break configurations you absolutely must have control over? I guess I really should run a poll for this, but for others on the list, where do you fit into the the following spectrum? 1. I fully control hardware (virtualize yourself, if needed) and build/package install AMP yourself. 2. I select an OS image on a cloud IaaS (EC2, etc) and build/package install AMP yourself. 3. I use choose a pre-built AMP stack image on an IaaS. 4. I use Zend phpcloud or one of the production PaaSes for it (IBM, RightScale, etc), or another PaaS like Azure, Heroku, Cloud Foundry, etc 5. I go with a SaaS (WordPress, SugarCRM, Drupal) provider and customize that. Thanks, Daniel Krook Software Engineer, Advanced Cloud Solutions, GTS IBM Senior Certified IT Specialist - L3 Thought Leader The Open Group Certified IT Specialist - L3 Distinguished Cloud, Java, PHP, BlackBerry, DB2 & Solaris Certified http://krook.info/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 518 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 638 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 360 bytes Desc: not available URL: From arzala at gmail.com Wed Jul 17 00:19:13 2013 From: arzala at gmail.com (Anirudhsinh Zala) Date: Wed, 17 Jul 2013 09:49:13 +0530 Subject: [nycphp-talk] The Diff Meetings In-Reply-To: References: Message-ID: <4405665.mBdf6rCzRs@vendev4> I would add following more ORM Apache/nginx/lighttpd Thanks Anirudh On Tuesday 16 Jul 2013 10:38:57 AM Hans Z wrote: Hello all, I thought it prudent to pull topics from the git vs svn thread for planning out some future meetings. Here's the recap: There's always new technology on the web and some of it certainly could be considered wonderful, and some simply hype... of course, this pattern in technology (or anything really) is nothing new. What if we compiled a list, added the pros/cons of each, and debated it out panel style at a meeting? I'll happily seed the list: ) git / github LESS/etc (compiled CSS) AJAX jQuery Bootstrap (CSS frameworks) noSQL Cloud servers RoR nodeJS Cloud development (online code editors/etc) What am I forgetting? Oh right... Responsive design :) Previously, some topics such as OOP and MVC were introduced. While these are certainly valid topics, and often deserve meetings of their own, I think we should focus purely on the new "hot topics" of late. So, in the interest of getting some meetings planned: -- any new/trendy topics to add to the list above? -- anyone ready to talk about their preferred side of the diff? Say... for instance, git vs svn ? :) -- those who step-up, let's discuss and we can plan a couple of meetings for the fall. H -- Thanks, Anirudhsinh Zala -------------- next part -------------- An HTML attachment was scrubbed... URL: From chsnyder at gmail.com Wed Jul 17 09:30:56 2013 From: chsnyder at gmail.com (Chris Snyder) Date: Wed, 17 Jul 2013 09:30:56 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: On Wed, Jul 17, 2013 at 12:03 AM, Daniel Krook wrote: > > Chris, Hans, I never made the leap myself, but isn't much of this why you > two advocate/d the BSDs for AMP development? What's the reason for either > of you considering Ubuntu/CentOS today? I made the switch from FreeBSD to Debian a few years ago (okay, 10 years ago now, jeez) because my employer was wedded to DELL hardware and Linux seemed to play more nicely with it. Also, apt-get was just too easy to ignore. I created a few meta packages that would patch a minimal install with exactly what I needed, including a hand-compiled PHP. When EC2 became available, I wanted to switch back, but FreeBSD wasn't supported at the time. Debian's ever-more-complicated filesystem is causing me to rethink whether I stick with it long-term. > > As consultants, I understand you have to deal with some legacy client > infrastructure and may not be able to define the "ideal OS" but what would > you use if you had it your way? > The ideal OS would be something like MediaTemple's Grid Service, or Google's App Engine, where someone else is managing the infrastructure and underlying OS, and you get an isolated container with guaranteed resource allocation plus on-demand scaling. Virtualization, but with only the userland virtualized. > > How much do you really care to influence what choices are made at the OS > or PHP version level? What are the make/break configurations you absolutely > must have control over? > PHP extensions allow magic to happen. I guess the main thing, if you're planning to provide this kind of environment, is not to give clients control over things like installed packages and extensions and PHP configurations - - that's just asking for trouble, and could be used by a noob or attacker to destabilize system or break out of whatever jail you have them in. But do give clients the ability to request these things and make the system flexible enough that it's easy for your sysadmins to grant reasonable requests. I don't need control over whether Zip is enabled in PHP, but if I need it to be able to work with .xlsx files, then you need to be able to turn it on for me. Does that make sense? -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at mastermoz.com Wed Jul 17 09:46:01 2013 From: paul at mastermoz.com (P.Y) Date: Wed, 17 Jul 2013 08:46:01 -0500 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: <6D37FEE7-5D0B-4491-9B94-B51B98937D48@mastermoz.com> David, Can you explain what you mean when you say "Debian's ever-more-complicated filesystem" Paul Yurt Systems Engineer // Media Technologist // RedNet Product Specialist On Jul 17, 2013, at 8:30 AM, Chris Snyder wrote: On Wed, Jul 17, 2013 at 12:03 AM, Daniel Krook wrote: > > Chris, Hans, I never made the leap myself, but isn't much of this why you two advocate/d the BSDs for AMP development? What's the reason for either of you considering Ubuntu/CentOS today? I made the switch from FreeBSD to Debian a few years ago (okay, 10 years ago now, jeez) because my employer was wedded to DELL hardware and Linux seemed to play more nicely with it. Also, apt-get was just too easy to ignore. I created a few meta packages that would patch a minimal install with exactly what I needed, including a hand-compiled PHP. When EC2 became available, I wanted to switch back, but FreeBSD wasn't supported at the time. Debian's ever-more-complicated filesystem is causing me to rethink whether I stick with it long-term. > > As consultants, I understand you have to deal with some legacy client infrastructure and may not be able to define the "ideal OS" but what would you use if you had it your way? The ideal OS would be something like MediaTemple's Grid Service, or Google's App Engine, where someone else is managing the infrastructure and underlying OS, and you get an isolated container with guaranteed resource allocation plus on-demand scaling. Virtualization, but with only the userland virtualized. > > How much do you really care to influence what choices are made at the OS or PHP version level? What are the make/break configurations you absolutely must have control over? PHP extensions allow magic to happen. I guess the main thing, if you're planning to provide this kind of environment, is not to give clients control over things like installed packages and extensions and PHP configurations - - that's just asking for trouble, and could be used by a noob or attacker to destabilize system or break out of whatever jail you have them in. But do give clients the ability to request these things and make the system flexible enough that it's easy for your sysadmins to grant reasonable requests. I don't need control over whether Zip is enabled in PHP, but if I need it to be able to work with .xlsx files, then you need to be able to turn it on for me. Does that make sense? _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation -------------- next part -------------- An HTML attachment was scrubbed... URL: From ajai at bitblit.net Wed Jul 17 10:33:25 2013 From: ajai at bitblit.net (Ajai Khattri) Date: Wed, 17 Jul 2013 10:33:25 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: <20130717143325.GU18146@www.bitblit.net> On Tue, Jul 16, 2013 at 11:03:45AM -0400, Jesse Callaway wrote: > They're all terrible. Just handle process priority, memory management, and > open some sockets when asked. For the rest... stay out of the way. For > god's sake don't try to maintain a "system" java that symlinks to the > flavor of the month. Don't provide shared libraries. Don't provide printing > services. Don't even install cron. One reason why I run Gentoo for my *personal* stuff. -- Aj. FaceBook: facebook.com/ajaikhattri EnoLand: http://flip.it/c1ktG From ajai at bitblit.net Wed Jul 17 10:40:48 2013 From: ajai at bitblit.net (Ajai Khattri) Date: Wed, 17 Jul 2013 10:40:48 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: <20130717144048.GV18146@www.bitblit.net> On Wed, Jul 17, 2013 at 12:03:57AM -0400, Daniel Krook wrote: > And I don't mean to start a religious war, but if you were to set up a > server only cluster of VMs to serve up your own production PHP apps, what > would you choose today and why? Interesting question. Imagine running your stack directly on a VM with no OS. This is what the Erlang on Xen project is doing. Shame its not PHP (intrigued enough to read up on Erlang though :-) http://zerg.erlangonxen.org/ -- Aj. FaceBook: facebook.com/ajaikhattri EnoLand: http://flip.it/c1ktG From ajai at bitblit.net Wed Jul 17 10:42:48 2013 From: ajai at bitblit.net (Ajai Khattri) Date: Wed, 17 Jul 2013 10:42:48 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: <20130717144248.GW18146@www.bitblit.net> On Wed, Jul 17, 2013 at 09:30:56AM -0400, Chris Snyder wrote: > The ideal OS would be something like MediaTemple's Grid Service, or > Google's App Engine, where someone else is managing the infrastructure and > underlying OS, and you get an isolated container with guaranteed resource > allocation plus on-demand scaling. Virtualization, but with only the > userland virtualized. Looked at Heroku? A long time ago I looked at it as Ruby only infrastructure but they seem to have expanded into other langiuages when I wasn't looking. -- Aj. FaceBook: facebook.com/ajaikhattri EnoLand: http://flip.it/c1ktG From ajai at bitblit.net Wed Jul 17 10:44:13 2013 From: ajai at bitblit.net (Ajai Khattri) Date: Wed, 17 Jul 2013 10:44:13 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: <20130717144413.GX18146@www.bitblit.net> On Tue, Jul 16, 2013 at 10:25:00AM -0400, Hans Z wrote: > Actually, I take this back - it sucks. I just had the honor of setting up > Ubuntu for a project... I had to Google to find out how to get a command > line prompt in it's UI, and then sort through the Amazon/MP3/etc Why did you install a UI? Why no LTS? -- Aj. FaceBook: facebook.com/ajaikhattri EnoLand: http://flip.it/c1ktG From ajai at bitblit.net Wed Jul 17 10:45:34 2013 From: ajai at bitblit.net (Ajai Khattri) Date: Wed, 17 Jul 2013 10:45:34 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: <20130717144534.GY18146@www.bitblit.net> On Tue, Jul 16, 2013 at 10:55:52AM -0400, Gary Mort wrote: > For desktop use, I switched to Linux Mint Mate. It is based on Ubuntu, > but it replaces their CPU intensive "Unity" desktop environment with a > modern version of "Gnome" which has a decent amount of eye candy without > impacting performance. For those that really want the eye candy, Linux > Mint Cinnamon gives you that and still performs better. Last time I ran desktop Linux it was Xubuntu (XFCE is very very light). -- Aj. FaceBook: facebook.com/ajaikhattri EnoLand: http://flip.it/c1ktG From chsnyder at gmail.com Wed Jul 17 11:05:35 2013 From: chsnyder at gmail.com (Chris Snyder) Date: Wed, 17 Jul 2013 11:05:35 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: <6D37FEE7-5D0B-4491-9B94-B51B98937D48@mastermoz.com> References: <6D37FEE7-5D0B-4491-9B94-B51B98937D48@mastermoz.com> Message-ID: On Wed, Jul 17, 2013 at 9:46 AM, P.Y wrote: > > Can you explain what you mean when you say "Debian's ever-more-complicated > filesystem" > > Mainly that some--but not all--shared libraries are being moved from /usr/lib into /usr/lib/, which makes hand-compiling a bit more difficult. Or take a look at how a package like mailman, which is really meant to reside in a single directory, is spread all over the system: cd /var/lib/mailman/ aws:/var/lib/mailman# ls -l total 28 drwxrwsr-x 4 root list 4096 2010-03-16 18:05 archives lrwxrwxrwx 1 root root 20 2010-03-16 18:05 bin -> /usr/lib/mailman/bin lrwxrwxrwx 1 root root 24 2010-03-16 18:05 cgi-bin -> /usr/lib/cgi-bin/mailman lrwxrwxrwx 1 root root 21 2010-03-16 18:05 cron -> /usr/lib/mailman/cron drwxrwsr-x 2 root list 4096 2013-07-16 15:46 data lrwxrwxrwx 1 root root 25 2010-03-16 18:05 icons -> /usr/share/images/mailman drwxrwsr-x 8 root list 4096 2010-04-30 11:50 lists lrwxrwxrwx 1 root root 18 2010-03-16 18:05 locks -> ../../lock/mailman lrwxrwxrwx 1 root root 17 2010-03-16 18:05 logs -> ../../log/mailman lrwxrwxrwx 1 root root 21 2010-03-16 18:05 mail -> /usr/lib/mailman/mail lrwxrwxrwx 1 root root 24 2010-03-16 18:05 Mailman -> /usr/lib/mailman/Mailman drwxr-sr-x 37 root list 4096 2011-04-26 12:17 messages lrwxrwxrwx 1 root root 26 2010-03-16 18:05 pythonlib -> /usr/lib/mailman/pythonlib drwxrwsr-x 11 list list 4096 2010-03-16 18:08 qfiles lrwxrwxrwx 1 root root 24 2010-03-16 18:05 scripts -> /usr/lib/mailman/scripts drwxrwsr-x 2 root list 4096 2007-02-28 16:35 spam lrwxrwxrwx 1 root root 12 2010-03-16 18:05 templates -> /etc/mailman drwxrwsr-x 4 root list 4096 2011-04-26 12:17 tests I understand the logic behind the decisions about where to put stuff -- the use of /var/lib versus /usr/lib, etc. But as a personal preference I would rather it was simpler. It's not like I have /usr and /var on separate partitions, disk space is abundant, even on SSDs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bonsaime at gmail.com Wed Jul 17 11:09:36 2013 From: bonsaime at gmail.com (Jesse Callaway) Date: Wed, 17 Jul 2013 11:09:36 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: <20130717144048.GV18146@www.bitblit.net> References: <20130717144048.GV18146@www.bitblit.net> Message-ID: I am very interested in this kind of thing. So cool! On Wed, Jul 17, 2013 at 10:40 AM, Ajai Khattri wrote: > On Wed, Jul 17, 2013 at 12:03:57AM -0400, Daniel Krook wrote: > > > And I don't mean to start a religious war, but if you were to set up a > > server only cluster of VMs to serve up your own production PHP apps, what > > would you choose today and why? > > Interesting question. Imagine running your stack directly on a VM with > no OS. This is what the Erlang on Xen project is doing. Shame its not > PHP (intrigued enough to read up on Erlang though :-) > > http://zerg.erlangonxen.org/ > > > -- > Aj. > FaceBook: facebook.com/ajaikhattri > EnoLand: http://flip.it/c1ktG > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -- -jesse -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaunere at gmail.com Thu Jul 18 10:14:48 2013 From: zaunere at gmail.com (Hans Z) Date: Thu, 18 Jul 2013 10:14:48 -0400 Subject: [nycphp-talk] CentOS v Ubuntu In-Reply-To: References: Message-ID: > > Just handle process priority, memory management, and open some > > sockets when asked. For the rest... stay out of the way. For god's > > sake don't try to maintain a "system" java that symlinks to the > > flavor of the month. Don't provide shared libraries. Don't provide > > printing services. Don't even install cron. > > > > Yes, I would use your distro. I might install cron, but I get to > > choose which one. > > > > Seriously, Hans, maybe your client wanted to use Ubuntu Server > > because of the GUI, but you should know better than to have a window > > manager running on a production server. I suppose you'd let the OS > > automount any USB keys that were stuck into the front ports, too? > > > > Easy there Chris, didn't realize Ubuntu was your project... > > > > Obviously I can customize my OS how I'd like... and I'm sure Ubuntu > > would be just as happy to mount a USB stick and scan it for MP3s > > while giving me Amazon ads... and we can all choose which OS/flavor > > we use... and I'm simply stating, that Ubuntu will never be my choice. > > > > H > > Sorry for mangling the history with my mail client. > > Chris, Hans, I never made the leap myself, but isn't much of this why you > two advocate/d the BSDs for AMP development? What's the reason for either > of you considering Ubuntu/CentOS today? I've always liked CentOS/RedHat and honestly FreeBSD started getting strange. BSD's were always generally a bit behind with certain libraries and incompatibilities, but after FreeBSD 4 and into 5, etc., things just seemed to get ever more broken. And now it's just not offered and there's no compelling reason to request it. Amazon's CentOS flavor is pretty well done and minimal, and for instances I need to install my own, I have a 700mb server image ready to go. At the end of the day, though, there's really only one reason though: Cloud killed the BSD star... As consultants, I understand you have to deal with some legacy client > infrastructure and may not be able to define the "ideal OS" but what would > you use if you had it your way? > CentOS Windows Server Anything else I have an increasing number of clients using the WISP stack, which actually works quite nicely. > And I don't mean to start a religious war, but if you were to set up a > server only cluster of VMs to serve up your own production PHP apps, what > would you choose today and why? Today: EC2 and Azure (maybe) Tomorrow: GAE PHP I've been playing with GAE PHP and it's nice... it's nascent and needs some maturing, but it's clearly the way forward. The biggest challenge that I see for "legacy" apps is the classic PHP extension rot problem, i.e., XYZ isn't available. But for newer applications, that aren't quite as extension promiscuous, it's going to be great. How much do you really care to influence what choices are made at the OS or > PHP version level? What are the make/break configurations you absolutely > must have control over? > If it's an existing stack, I'll basically support anything. If I'm building from the ground up, it's barebones CentOS, compiled PHP/etc. I've even documented it: http://www.framewire.org/stacks I guess I really should run a poll for this, but for others on the list, > where do you fit into the the following spectrum? > > 1. I fully control hardware (virtualize yourself, if needed) and > build/package install AMP yourself. > 2. I select an OS image on a cloud IaaS (EC2, etc) and build/package > install AMP yourself. > I'm here... > 3. I use choose a pre-built AMP stack image on an IaaS. > 4. I use Zend phpcloud or one of the production PaaSes for it (IBM, > RightScale, etc), or another PaaS like Azure, Heroku, Cloud Foundry, etc > 5. I go with a SaaS (WordPress, SugarCRM, Drupal) provider and customize > that. > ...and look forward to being here in a few months with GAE PHP. Cloud computing: first the network didn't matter; then the server hardware; now the OS; and soon the application H -------------- next part -------------- An HTML attachment was scrubbed... URL: From cderr at simons-rock.edu Thu Jul 18 10:21:23 2013 From: cderr at simons-rock.edu (Charlie Derr) Date: Thu, 18 Jul 2013 10:21:23 -0400 Subject: [nycphp-talk] drupal? Message-ID: <51E7F9E3.2020202@simons-rock.edu> Anyone have anything pro or con to say about drupal? We're considering migrating our college website (currently plone) to drupal (another option is OU Campus from Omni-Update, but I don't expect that product is particularly relevant (though I'm happy to hear any feedback on it if anyone has any knowledge)). thanks so very much in advance for any feedback, ~c From smanes at magpie.com Thu Jul 18 10:40:06 2013 From: smanes at magpie.com (Steve Manes) Date: Thu, 18 Jul 2013 10:40:06 -0400 Subject: [nycphp-talk] drupal? In-Reply-To: <51E7F9E3.2020202@simons-rock.edu> References: <51E7F9E3.2020202@simons-rock.edu> Message-ID: <51E7FE46.1090709@magpie.com> On 7/18/13 10:21 AM, Charlie Derr wrote: > Anyone have anything pro or con to say about drupal? > > We're considering migrating our college website (currently plone) to drupal (another option is OU Campus from > Omni-Update, but I don't expect that product is particularly relevant (though I'm happy to hear any feedback on it if > anyone has any knowledge)). I've got pro and con opinions about Drupal but the cons are mostly related to people using a CMS where a non-CMS choice probably would have worked better. I run, develop for or maintain about a dozen Drupal sites and overall I've been happy with it. But it's got a steep and very rocky learning curve. I don't know how many Drupal developers hang out here but there are active developer communities on drupal.org: https://groups.drupal.org/groups NYC group: https://groups.drupal.org/nyc From zaunere at gmail.com Thu Jul 18 10:41:08 2013 From: zaunere at gmail.com (Hans Z) Date: Thu, 18 Jul 2013 10:41:08 -0400 Subject: [nycphp-talk] The Diff Meetings In-Reply-To: <4405665.mBdf6rCzRs@vendev4> References: <4405665.mBdf6rCzRs@vendev4> Message-ID: > > ORM > > Apache/nginx/lighttpd > Yeah that's a good one... Apache/mod_php vs FastCGI Any one else? H git / github LESS/etc (compiled CSS) AJAX jQuery Bootstrap (CSS frameworks) noSQL Cloud servers RoR nodeJS Cloud development (online code editors/etc) What am I forgetting? Oh right... Responsive design :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From cderr at simons-rock.edu Thu Jul 18 11:08:13 2013 From: cderr at simons-rock.edu (Charlie Derr) Date: Thu, 18 Jul 2013 11:08:13 -0400 Subject: [nycphp-talk] drupal? In-Reply-To: <51E7FE46.1090709@magpie.com> References: <51E7F9E3.2020202@simons-rock.edu> <51E7FE46.1090709@magpie.com> Message-ID: <51E804DD.9070703@simons-rock.edu> On 07/18/2013 10:40 AM, Steve Manes wrote: > On 7/18/13 10:21 AM, Charlie Derr wrote: >> Anyone have anything pro or con to say about drupal? >> >> We're considering migrating our college website (currently plone) to drupal (another option is OU Campus from >> Omni-Update, but I don't expect that product is particularly relevant (though I'm happy to hear any feedback on it if >> anyone has any knowledge)). > > I've got pro and con opinions about Drupal but the cons are mostly > related to people using a CMS where a non-CMS choice probably would have > worked better. I run, develop for or maintain about a dozen Drupal > sites and overall I've been happy with it. But it's got a steep and > very rocky learning curve. > > I don't know how many Drupal developers hang out here but there are > active developer communities on drupal.org: > > https://groups.drupal.org/groups > > NYC group: https://groups.drupal.org/nyc > > Thanks so very much for the very helpful response; I'll definitely check into the resources you've pointed me towards. One follow-up (about the steep and rocky learning curve) question: Does this entry barrier apply also to end users? As far as I'm concerned, steep and rocky learning curves are par for the course among those of us who do development work, but if (after our initial work has mostly been completed) the tasks of creating/editing content, and publishing/approval workflows still require some minimal "expert" level of knowledge, that's likely to be a show-stopper here. thanks again, ~c > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > From ereyes at totalcreations.com Thu Jul 18 12:05:53 2013 From: ereyes at totalcreations.com (Edgar Reyes) Date: Thu, 18 Jul 2013 12:05:53 -0400 Subject: [nycphp-talk] drupal? In-Reply-To: <51E7F9E3.2020202@simons-rock.edu> References: <51E7F9E3.2020202@simons-rock.edu> Message-ID: <4C7864F3C4BB488A83582B1CB75BE709@MainTop> Have not used drupal in a long time, but you may also look into MODX, I used it a few times, very easy to implement and maintain. ER -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Charlie Derr Sent: Thursday, July 18, 2013 10:21 AM To: NYPHP Talk Subject: [nycphp-talk] drupal? Anyone have anything pro or con to say about drupal? We're considering migrating our college website (currently plone) to drupal (another option is OU Campus from Omni-Update, but I don't expect that product is particularly relevant (though I'm happy to hear any feedback on it if anyone has any knowledge)). thanks so very much in advance for any feedback, ~c _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation From ereyes at totalcreations.com Thu Jul 18 12:40:29 2013 From: ereyes at totalcreations.com (Edgar Reyes) Date: Thu, 18 Jul 2013 12:40:29 -0400 Subject: [nycphp-talk] drupal? In-Reply-To: <51E804DD.9070703@simons-rock.edu> References: <51E7F9E3.2020202@simons-rock.edu> <51E7FE46.1090709@magpie.com> <51E804DD.9070703@simons-rock.edu> Message-ID: That's one of the reasons why I used MODX for those projects, after the implementation was done, it was a simple interface for end users to edit / maintain their information. ER -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Charlie Derr Sent: Thursday, July 18, 2013 11:08 AM To: NYPHP Talk Subject: Re: [nycphp-talk] drupal? On 07/18/2013 10:40 AM, Steve Manes wrote: > On 7/18/13 10:21 AM, Charlie Derr wrote: >> Anyone have anything pro or con to say about drupal? >> >> We're considering migrating our college website (currently plone) to drupal (another option is OU Campus from >> Omni-Update, but I don't expect that product is particularly relevant (though I'm happy to hear any feedback on it if >> anyone has any knowledge)). > > I've got pro and con opinions about Drupal but the cons are mostly > related to people using a CMS where a non-CMS choice probably would have > worked better. I run, develop for or maintain about a dozen Drupal > sites and overall I've been happy with it. But it's got a steep and > very rocky learning curve. > > I don't know how many Drupal developers hang out here but there are > active developer communities on drupal.org: > > https://groups.drupal.org/groups > > NYC group: https://groups.drupal.org/nyc > > Thanks so very much for the very helpful response; I'll definitely check into the resources you've pointed me towards. One follow-up (about the steep and rocky learning curve) question: Does this entry barrier apply also to end users? As far as I'm concerned, steep and rocky learning curves are par for the course among those of us who do development work, but if (after our initial work has mostly been completed) the tasks of creating/editing content, and publishing/approval workflows still require some minimal "expert" level of knowledge, that's likely to be a show-stopper here. thanks again, ~c > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation From smanes at magpie.com Fri Jul 19 10:05:00 2013 From: smanes at magpie.com (Steve Manes) Date: Fri, 19 Jul 2013 10:05:00 -0400 Subject: [nycphp-talk] drupal? In-Reply-To: References: <51E7F9E3.2020202@simons-rock.edu> <51E7FE46.1090709@magpie.com> <51E804DD.9070703@simons-rock.edu> Message-ID: <51E9478C.2000707@magpie.com> On 7/18/13 12:40 PM, Edgar Reyes wrote: > That's one of the reasons why I used MODX for those projects, after the > implementation was done, it was a simple interface for end users to edit / > maintain their information. Once you get familiar with Drupal's templating system, CCK, Views, third party modules and the hook override architecture things like this are easy to build for Drupal and are extremely flexible. "Once you get familiar..." is easy to say though. From shawn.fang at live.com Fri Jul 19 20:32:03 2013 From: shawn.fang at live.com (Shawn Fang) Date: Fri, 19 Jul 2013 20:32:03 -0400 Subject: [nycphp-talk] drupal? In-Reply-To: References: Message-ID: Drupal 7 is the right way to do it, don't use OU Campus from Omni-Update, I just did it for my college, You need feeds modules for content migration from old sites, views modules integrated with other modules for most db query, use directly db_query as less as possible, Apache solr for all search, Boost, varnish, memche, apc for cache, performace, gather and interpret your requirements into your architecture. ldap, or shib sso for auth and authorization, Hope this help, Shawn -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of talk-request at lists.nyphp.org Sent: Friday, July 19, 2013 12:00 PM To: talk at lists.nyphp.org Subject: talk Digest, Vol 81, Issue 9 Send talk mailing list submissions to talk at lists.nyphp.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.nyphp.org/mailman/listinfo/talk or, via email, send a message with subject or body 'help' to talk-request at lists.nyphp.org You can reach the person managing the list at talk-owner at lists.nyphp.org When replying, please edit your Subject line so it is more specific than "Re: Contents of talk digest..." Today's Topics: 1. Re: drupal? (Edgar Reyes) 2. Re: drupal? (Edgar Reyes) 3. Re: drupal? (Steve Manes) ---------------------------------------------------------------------- Message: 1 Date: Thu, 18 Jul 2013 12:05:53 -0400 From: Edgar Reyes To: 'NYPHP Talk' Subject: Re: [nycphp-talk] drupal? Message-ID: <4C7864F3C4BB488A83582B1CB75BE709 at MainTop> Content-Type: text/plain; charset=us-ascii Have not used drupal in a long time, but you may also look into MODX, I used it a few times, very easy to implement and maintain. ER -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Charlie Derr Sent: Thursday, July 18, 2013 10:21 AM To: NYPHP Talk Subject: [nycphp-talk] drupal? Anyone have anything pro or con to say about drupal? We're considering migrating our college website (currently plone) to drupal (another option is OU Campus from Omni-Update, but I don't expect that product is particularly relevant (though I'm happy to hear any feedback on it if anyone has any knowledge)). thanks so very much in advance for any feedback, ~c _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation ------------------------------ Message: 2 Date: Thu, 18 Jul 2013 12:40:29 -0400 From: Edgar Reyes To: 'NYPHP Talk' Subject: Re: [nycphp-talk] drupal? Message-ID: Content-Type: text/plain; charset=us-ascii That's one of the reasons why I used MODX for those projects, after the implementation was done, it was a simple interface for end users to edit / maintain their information. ER -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Charlie Derr Sent: Thursday, July 18, 2013 11:08 AM To: NYPHP Talk Subject: Re: [nycphp-talk] drupal? On 07/18/2013 10:40 AM, Steve Manes wrote: > On 7/18/13 10:21 AM, Charlie Derr wrote: >> Anyone have anything pro or con to say about drupal? >> >> We're considering migrating our college website (currently plone) to drupal (another option is OU Campus from >> Omni-Update, but I don't expect that product is particularly relevant (though I'm happy to hear any feedback on it if >> anyone has any knowledge)). > > I've got pro and con opinions about Drupal but the cons are mostly > related to people using a CMS where a non-CMS choice probably would > have worked better. I run, develop for or maintain about a dozen > Drupal sites and overall I've been happy with it. But it's got a > steep and very rocky learning curve. > > I don't know how many Drupal developers hang out here but there are > active developer communities on drupal.org: > > https://groups.drupal.org/groups > > NYC group: https://groups.drupal.org/nyc > > Thanks so very much for the very helpful response; I'll definitely check into the resources you've pointed me towards. One follow-up (about the steep and rocky learning curve) question: Does this entry barrier apply also to end users? As far as I'm concerned, steep and rocky learning curves are par for the course among those of us who do development work, but if (after our initial work has mostly been completed) the tasks of creating/editing content, and publishing/approval workflows still require some minimal "expert" level of knowledge, that's likely to be a show-stopper here. thanks again, ~c > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show-participation ------------------------------ Message: 3 Date: Fri, 19 Jul 2013 10:05:00 -0400 From: Steve Manes To: NYPHP Talk Subject: Re: [nycphp-talk] drupal? Message-ID: <51E9478C.2000707 at magpie.com> Content-Type: text/plain; charset=ISO-8859-1 On 7/18/13 12:40 PM, Edgar Reyes wrote: > That's one of the reasons why I used MODX for those projects, after > the implementation was done, it was a simple interface for end users > to edit / maintain their information. Once you get familiar with Drupal's templating system, CCK, Views, third party modules and the hook override architecture things like this are easy to build for Drupal and are extremely flexible. "Once you get familiar..." is easy to say though. ------------------------------ _______________________________________________ talk mailing list talk at lists.nyphp.org http://lists.nyphp.org/mailman/listinfo/talk End of talk Digest, Vol 81, Issue 9 *********************************** From evdo.hsdpa at gmail.com Sat Jul 20 17:33:27 2013 From: evdo.hsdpa at gmail.com (Bob iPhone Kim) Date: Sat, 20 Jul 2013 16:33:27 -0500 Subject: [nycphp-talk] drupal? In-Reply-To: References: Message-ID: Personally... i think Drupal is slow and clunky... yes... it has a history of upgrades but id rather build a Google Plus extension that lets me customize input fields.. g+ is FAST On Fri, Jul 19, 2013 at 7:32 PM, Shawn Fang wrote: > Drupal 7 is the right way to do it, don't use OU Campus from Omni-Update, > I just did it for my college, > You need > feeds modules for content migration from old sites, > views modules integrated with other modules for most db query, use directly > db_query as less as possible, > Apache solr for -- -- Robert Q Kim iPhone Repair in San Jose and San Diego http://www.youtube.com/watch?v=yiSr78Kk8ZU 2611 S Coast Highway San Diego, CA 92007 310 598 1606 -------------- next part -------------- An HTML attachment was scrubbed... URL: From frankcefalu at gmail.com Sat Jul 20 17:35:54 2013 From: frankcefalu at gmail.com (Frank Cefalu) Date: Sat, 20 Jul 2013 17:35:54 -0400 Subject: [nycphp-talk] drupal? In-Reply-To: References: Message-ID: Use Drupal, I've built enough fortune 500 company website to give it the thumbs up. And there is so much development help in the field, youwon't have a problem looking for developers On Jul 20, 2013 5:34 PM, "Bob iPhone Kim" wrote: > Personally... i think Drupal is slow and clunky... yes... it has a history > of upgrades but id rather build a Google Plus extension that lets me > customize input fields.. g+ is FAST > > > On Fri, Jul 19, 2013 at 7:32 PM, Shawn Fang wrote: > >> Drupal 7 is the right way to do it, don't use OU Campus from Omni-Update, >> I just did it for my college, >> You need >> feeds modules for content migration from old sites, >> views modules integrated with other modules for most db query, use >> directly >> db_query as less as possible, >> Apache solr for -- > > -- > > Robert Q Kim > iPhone Repair in San Jose and San Diego > http://www.youtube.com/watch?v=yiSr78Kk8ZU > 2611 S Coast Highway > San Diego, CA 92007 > 310 598 1606 > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidalanroth at gmail.com Tue Jul 23 07:44:04 2013 From: davidalanroth at gmail.com (David Roth) Date: Tue, 23 Jul 2013 07:44:04 -0400 Subject: [nycphp-talk] OT: EDAC error messages in the log Message-ID: I'm getting these in the log on CentOS 6.4 a couple of times a week: EDAC MC0: CE page 0x9521e, offset 0xb00, grain 128, syndrome 0x49, row 2, channel 1, label "": i3000 CE EDAC MC0: CE page 0x9521e, offset 0xb00, grain 128, syndrome 0x49, row 2, channel 1, label "": i3000 CE EDAC MC0: CE page 0x9521e, offset 0xb00, grain 128, syndrome 0x49, row 2, channel 1, label "": i3000 CE EDAC MC0: CE page 0x9521e, offset 0xb00, grain 128, syndrome 0x49, row 2, channel 1, label "": i3000 CE If I'm correct, this means there is a problem with a memory module. What I'm not clear on, is how to determine from this what row 2, channel 1 refers to. The Dell server this is running on has four memory slots. Anyone have a way for me to equate this information from the logs to determine which memory slot this is referring to? The error message is intermittent so removing RAM in an attempt to isolate which memory stick or slot is having the problem hasn't been useful. Thanks! David Roth -------------- next part -------------- An HTML attachment was scrubbed... URL: From bonsaime at gmail.com Tue Jul 23 08:26:19 2013 From: bonsaime at gmail.com (Jesse Callaway) Date: Tue, 23 Jul 2013 08:26:19 -0400 Subject: [nycphp-talk] OT: EDAC error messages in the log In-Reply-To: References: Message-ID: The dmidecode command will likely help in this case. I'm assuming you don't have drac set up for remote hardware analysis, in the future it or its little brother ipmi will be helpful. This is likely not a php question. On Jul 23, 2013 7:44 AM, "David Roth" wrote: > I'm getting these in the log on CentOS 6.4 a couple of times a week: > > EDAC MC0: CE page 0x9521e, offset 0xb00, grain 128, syndrome 0x49, row 2, > channel 1, label "": i3000 CE > EDAC MC0: CE page 0x9521e, offset 0xb00, grain 128, syndrome 0x49, row 2, > channel 1, label "": i3000 CE > EDAC MC0: CE page 0x9521e, offset 0xb00, grain 128, syndrome 0x49, row 2, > channel 1, label "": i3000 CE > EDAC MC0: CE page 0x9521e, offset 0xb00, grain 128, syndrome 0x49, row 2, > channel 1, label "": i3000 CE > > If I'm correct, this means there is a problem with a memory module. What > I'm not clear on, is how to determine from this what row 2, channel 1 > refers to. The Dell server this is running on has four memory slots. Anyone > have a way for me to equate this information from the logs to determine > which memory slot this is referring to? > > The error message is intermittent so removing RAM in an attempt to isolate > which memory stick or slot is having the problem hasn't been useful. Thanks! > > David Roth > > > > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -------------- next part -------------- An HTML attachment was scrubbed... URL: From leamhall at gmail.com Fri Jul 26 08:51:44 2013 From: leamhall at gmail.com (leam hall) Date: Fri, 26 Jul 2013 08:51:44 -0400 Subject: [nycphp-talk] Semi-OT: Is there a scale for language competency? Message-ID: 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 trying to improve a couple. It would be nice to be able to concretely convey my skills. Of course, that doesn't really cover related skills like version control, SDLC, etc... Thoughts? Leam -- Mind on a Mission -------------- next part -------------- An HTML attachment was scrubbed... URL: From lester.bleong at gmail.com Fri Jul 26 09:01:06 2013 From: lester.bleong at gmail.com (Lester Leong) Date: Fri, 26 Jul 2013 09:01:06 -0400 Subject: [nycphp-talk] Semi-OT: Is there a scale for language competency? In-Reply-To: References: Message-ID: Not sure, but there was a time when I wanted to improve 3 languages at once for an interview and came up with a scheme to test myself. Something along the lines of percentage of the standard library one can recite from scratch, and implementing the same set of algorithms and data structures without looking at the documentation. On Jul 26, 2013 8:52 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 trying to improve a couple. It would > be nice to be able to concretely convey my skills. Of course, that doesn't > really cover related skills like version control, SDLC, etc... > > Thoughts? > > Leam > > > -- > Mind on a Mission > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -------------- next part -------------- An HTML attachment was scrubbed... URL: From krook at us.ibm.com Fri Jul 26 09:07:43 2013 From: krook at us.ibm.com (Daniel Krook) Date: Fri, 26 Jul 2013 09:07:43 -0400 Subject: [nycphp-talk] Semi-OT: Is there a scale for language competency? In-Reply-To: References: Message-ID: Hi Leam, > 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 trying to improve a couple. It > would be nice to be able to concretely convey my skills. Of course, > that doesn't really cover related skills like version control, SDLC, etc... > Thoughts? > > Leam A rating scale implies that there's a way to objectively measure skills across developers. Programming skills are very subjective, and as you say, don't really touch on the process and soft skills around delivering good software. What about setting up a public GitHub repository with sample code to refer potential clients too? They can see your code quality, competence with source control, and passion for programming. Thanks, Daniel Krook Software Engineer, Advanced Cloud Solutions, GTS IBM Senior Certified IT Specialist - L3 Thought Leader The Open Group Certified IT Specialist - L3 Distinguished Cloud, Java, PHP, BlackBerry, DB2 & Solaris Certified http://krook.info/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 518 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 638 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 360 bytes Desc: not available URL: From zippy1981 at gmail.com Fri Jul 26 09:11:00 2013 From: zippy1981 at gmail.com (Justin Dearing) Date: Fri, 26 Jul 2013 09:11:00 -0400 Subject: [nycphp-talk] Semi-OT: Is there a scale for language competency? In-Reply-To: References: Message-ID: If you want to convey your skills, a cert or a brainbench is probably the way to go. Certs aren't perfect, but they will tell you how much of a language you know. If you want something more holistic, its probably best to contribute to a mature existing open source project. This allows you to say: 1. My code is useful 2. Others have seen my code and found it acceptable to include with theirs 3. I have demonstrated something useful with X aspects of a language Justin On Fri, Jul 26, 2013 at 9:01 AM, Lester Leong wrote: > Not sure, but there was a time when I wanted to improve 3 languages at > once for an interview and came up with a scheme to test myself. Something > along the lines of percentage of the standard library one can recite from > scratch, and implementing the same set of algorithms and data structures > without looking at the documentation. > On Jul 26, 2013 8:52 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 trying to improve a couple. It would >> be nice to be able to concretely convey my skills. Of course, that doesn't >> really cover related skills like version control, SDLC, etc... >> >> Thoughts? >> >> Leam >> >> >> -- >> Mind on a Mission >> >> _______________________________________________ >> New York PHP User Group Community Talk Mailing List >> http://lists.nyphp.org/mailman/listinfo/talk >> >> http://www.nyphp.org/show-participation >> > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show-participation > -------------- next part -------------- An HTML attachment was scrubbed... URL: From leamhall at gmail.com Fri Jul 26 09:24:52 2013 From: leamhall at gmail.com (leam hall) Date: Fri, 26 Jul 2013 09:24:52 -0400 Subject: [nycphp-talk] Semi-OT: Is there a scale for language competency? In-Reply-To: References: Message-ID: On Fri, Jul 26, 2013 at 9:07 AM, Daniel Krook wrote: > Hi Leam, > > > What about setting up a public GitHub repository with sample code to refer > potential clients too? They can see your code quality, competence with > source control, and passion for programming. > Hehe...I have a project on SourceForge ( https://sourceforge.net/projects/techdiveplanner) and a couple on GitHub ( https://github.com/LeamHall). Considering they are "warts and all", that might be why I haven't gotten any programming job offers. :) Having projects is great for the team interview but not as good for evaluating the job notes or getting past HR. And sort of difficult to get feedback so that I can grow. Contributing to mature or larger projects seems difficult as it presupposes more skill and a deeper understanding of that particular project. For example, I really enjoy PHP but my day job doesn't use it. So I find myself pulled towards Bash on a daily basis and secretly trying to figure out how to convert it to something better. Leam -- Mind on a Mission -------------- next part -------------- An HTML attachment was scrubbed... URL: