 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Conor Mac Aoidh's Blog: OS X Audio Alerts for PHP Errors
by Chris Cornutt June 23, 2010 @ 09:14:13
In a new post to his blog today Conor Mac Aoidh talks about a way he's developed to get audio alerts whenever PHP errors pop up in your scripts using the swatch tool.
Kae posted today about tackling this problem under Linux, but I've found that it's quite a different task under OS X.
It also uses some additional Perl modules (like Date::Calc and Date::Manip) to set up swatch. From there it's just a matter of adding a few lines to a configuration file to watch for the errors and sound the "bell". A few bash scripts will need to be added to correctly start the service too.
voice your opinion now!
audio alert error swatch perl bash tutorial
Stefan Mischook's Blog: PHP vs. Perl vs. Java '" a student's question.
by Chris Cornutt August 18, 2009 @ 08:40:30
As a way of answering the common language comparison question (PHP vs Java/Perl), Stefan Mischook has posted these thoughts comparing the languages himself.
[For web development] PHP is the way to go. Perl is a good language but it was not designed initially for web development - that functionality was added later.
He talks about his experience using Perl in web-based environments and some of the issues he's seen around using it or Java for web applications...including a suggestion for Java's place in the world:
Java is great for the enterprise...that means, if you plan to be working for very large companies. But it takes a lot longer to create anything in Java vs PHP.
voice your opinion now!
perl java compare language application
Enterprise PHP Magazine: How Many Perl, PHP, Python and Ruby Developers Are There?
by Chris Cornutt June 22, 2009 @ 07:57:54
The Enterprise PHP Magazine has pointed out some facts (slightly skewed, it seems) about the availability of a few different types of programmers, PHP included, according to several search engines.
I updated the estimation so we can have most accurate results. The table below illustrates the results found, I have just truncated Bing results to 1M to have more readable chart, after all I don't believe there are 50M resumes indexed by Microsoft - and that's another topic.
The results show about 780,000 PHP-related resumes on Google, 541,000 on Yahoo and the (obviously incorrect) 59,700,000 from Bing.com. There are a lot of PHP developers out there, but I can't imagine quite that many. Either way, even the numbers from the other search engines come in over the counts of the other three languages.
voice your opinion now!
engine search developer ruby python perl
CIO Magazine: PHP, JavaScript, Ruby, Perl, Python & Tcl Today The State of the Scripting Universe
by Chris Cornutt September 08, 2008 @ 11:17:47
Recently CIO Magazine had a roundtable interview with representatives from each of the major language players on the web today - Javascript, Ruby, Perl, Python, Tcl and, of course, PHP.
Three years ago, Lynn Greiner interviewed the big cheeses responsible for the popular scripting languages PHP, Perl, Tcl, Python, Ruby and JavaScript to find out where the languages were headed. In this follow-up discussion, she asks the dynamic language luminaries what has changed since then.
Representatives from (previously) Netscape, the Perl Foundation, the Python Software Foundation and the IronRuby team were all included. Topics asked about include the differing needs for different languages, trends on adoption and why some of these shifts are happening.
voice your opinion now!
javascript ruby perl python tcl scripting interview roundtable
Arnold Daniels' Blog: Perl like temporary variables in PHP
by Chris Cornutt November 02, 2007 @ 09:38:00
Arnold Daniels points out a quick method for creating what he calls "perl-like temporary variables" in the global scope of a script:
When writing code in the global scope, I often have a problem where I'm overwriting a variable. This happens even more often when I work on code of somebody else. Usually has the variable which does the overwriting is usually just a temporary variable.
His code is a simple few lines that shows how it could be used when trying to write information out to a file handle. Some of the comments on the post criticize his use of the global scope but Arnold comes back with his reasoning - mostly that there is already code in the global scope and that adding something else is only adding to it, not making things worse.
voice your opinion now!
temporary variable perl global scope temporary variable perl global scope
|
Community Events
Don't see your event here? Let us know!
|