Support

Forums

Contact Me

Posts Tagged 'developer'

Developer

Developer may refer to: [http://en.wikipedia.org/wiki/Developer]

Developer cartoons

random_number

Don't forget to click Read More ;-)

Articles tagged

Read more: Developer cartoons

Need for Speed? mod_pagespeed from Google

google_logospeedapache_logo

mod_pagespeed is the latest addition to our family of products, performing on-the-fly optimization in the Apache™ 2 HTTP Server. It provides webmasters and web developers that manage their Apache 2 configuration with technology that applies Page Speed performance best practices automatically. Webmasters can get the benefits of the optimizations without having to manually going back and fixing the performance issues that Page Speed detects.

This solution is valid if you do not want to carefully optimize your site, and it come for now at huge initial CPU costs till the cache is filled up. The load on my server has proven to be unacceptable (for me) and I was forced to switch it off. But it may work on your server depending on the page size, number of visitors. Authors are working hard and communicating a lot on the official mailing list to reduce that load and improve the code in the coming weeks

If you trust me, you can download the library module libmod_pagespeed.so for Apache 2.2

from http://drivers.waltercedric.com/

Check before installing the MD5 keys of this file

# md5sum -b mod_pagespeed.so
187995e3623a222ec5b54c331ee7ffaa *mod_pagespeed.so

If it matches, drop it into your Apache library folder /usr/lib64/apache2/

Build Apache module mod_pagespeed yourself

On my OpenSuSE system, I was forced to install first

zypper in gcc-c++

Then read  http://code.google.com/p/modpagespeed/wiki/HowToBuild

you should get after a successful build

  • ./out/Release/libmod_pagespeed.so
  • ./out/Release/install/common/pagespeed.conf

Install the module library

cp ./out/Release/libmod_pagespeed.so  /usr/lib64/apache2/mod_pagespeed.so

Configuration

After installing mod_pagespeed, it can be customized and configured by editing the Apache configuration file

/etc/apache2/conf.d/pagespeed.conf

so you can run

# cp ./out/Release/install/common/pagespeed.conf /etc/apache2/conf.d/pagespeed.conf

Create some directories

# mkdir /var/mod_pagespeed/
# mkdir /var/mod_pagespeed/cache/
# mkdir /var/mod_pagespeed/files

Has to be writtable by apache

chown -R wwwrun:www /var/mod_pagespeed/ 

and finally restart apache

 apache2ctl restart

There is a lot of available settings that are all well explained in this page http://code.google.com/speed/page-speed/docs/using_mod.html

Here is my /etc/apache2/conf.d/pagespeed.conf stripped of all comments as an example:

LoadModule pagespeed_module /usr/lib64/apache2/mod_pagespeed.so

    SetOutputFilter MOD_PAGESPEED_OUTPUT_FILTER
    ModPagespeed on

    ModPagespeedDomain www.waltercedric.com
    ModPagespeedUrlPrefix                "http://www.waltercedric.com/mod_pagespeed/"
    ModPagespeedFileCachePath "/var/mod_pagespeed/cache/"
    ModPagespeedGeneratedFilePrefix "/var/mod_pagespeed/files/"
    ModPagespeedRewriteLevel CoreFilters
    ModPagespeedEnableFilters collapse_whitespace
    ModPagespeedEnableFilters extend_cache
    ModPagespeedEnableFilters combine_css
    ModPagespeedEnableFilters rewrite_css
    ModPagespeedEnableFilters rewrite_javascript
    ModPagespeedEnableFilters rewrite_images
    ModPagespeedEnableFilters remove_comments

# This page lets you view statistics about the mod_pagespeed module. Order allow,deny # You may insert other "Allow from" lines to add hosts you want to # allow to look at generated statistics. Another possibility is # to comment out the "Order" and "Allow" options from the config # file, to allow any client that can reach your server to examine # statistics. This might be appropriate in an experimental setup or # if the Apache server is protected by a reverse proxy that will # filter URLs in some fashion. Allow from localhost SetHandler mod_pagespeed_statistics

Troubleshooting

You may be forced to remove mod_deflate

You can disable mod_pagespeed by adding in the url  ?mod_page_speed=0

Some mod_pagespeed filters

Links

Agile Testing Poster

Agile testing is a software testing practice that follows the principles of agile software development. Agile testing is built upon the philosophy that testers need to adapt to rapid deployment cycles and changes in testing patterns. Providing and getting feedback early, fast and regularly is one of the testers main task.

AgileTestingPoster

From http://bbv.ch/images/bbv/pdf/downloads/poster/bbv12_poster_agile_testing_1.0_web.pdf

You can order a print version at http://www.bbv.ch/de/posterbestellung.html

Find more at http://bbv.ch/de/unternehmen/publikationen.html

QUALITY DRIVEN DEVELOPMENT POSTER

AgileRequirementEngineeringPoster

From http://bbv.ch/images/bbv/pdf/downloads/poster/bbv11_poster_agile_re.pdf

You can order a print version at http://www.bbv.ch/de/posterbestellung.html

Find more at http://bbv.ch/de/unternehmen/publikationen.html

XAMPP 1.8.0 Xdebug stop working and make segmentation fault

There's a new version of Xdebug released which fixes a major bug where inspecting static properties caused Xdebug to crash in XAMPP 1.8.0.

Unfortunately, you’ll need to update manually the version of Xdebug shipped with XAMPP to Xdebug 2.2.1 rather than 2.2.0:

Simply download the correct Xdebug binary (VC9 threadsafe PHP 5.4 VC9 TS (64 bit) (MD5: 81cacc87168c99c7f65ba202dc12c4b2)) and copy it in your XAMPP installation at xampp\php\ext\php_xdebug.dll

restart Apache and you can continue debugging!

Matrox TripleHead2Go




Whaaaaaouuuuuuuhhhhh!!!!!!

Matrox is proud to present TripleHead2Go, a palm-sized box that uniquely allows you to add three 19" monitors with a combined resolution of up to 3840 x 1024 and an incredible 45" of total diagonal to your workstation, gaming system or laptop, even if that system only supports a single display output.
Read more at the Matrox Site


Install PHPUnit and PHPDocumentor in XAMPP

phpunit-logoselenium-logoxampp.logo

Open XAMPP Shell (start c:\xampp\xampp-control.exe and click on the button XAMPP-Shell), and run:

pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear install --alldeps phpunit/PHPUnit
pear install phpunit/DbUnit phpunit/PHPUnit_Selenium
pear install phpunit/PHPUnit_SkeletonGenerator
pear install phpunit/PHPUnit_Story phpunit/PHP_CodeCoverage
pear install PhpDocumentor

Read more: Install PHPUnit and PHPDocumentor in XAMPP

Why it is not possible to develop any software ...

Bug Tracking Tool
Work in progress

or Why it is not possible to manage any software development without a bug tracking tool

A bug tracking system is basically a database linked to  a frontend:
  • The frontend can be a FAT client, understand a windows or application running on your pc and that need to be install by each developer/client, or may be
  • Adhering to a light client server model: HTML frontend which submit queries to a server.

Provide

Tracability

When was the bug open, and closed, what is its status now. Who has reported it (login is required and all system support profile (user, tester, manager, developer, administrator) and/or isolation of project). Did It already existed in a previous version (regression in code), etc...

Responsability

 Easily dispatch responsability or find quickly who was reponsible for solving it, how  much time was needed to close this bug, some system may send email automatically to developer to inform them... etc...

Effort

How difficult will it be to solve this issues, (can be a bugnote add by other developer). Most of the time, technical leader decide of the value of this field together with developers.

Priorities

How many bugs are still open at a date "t", how do I determine the order in which I will solve them...etc

Standardisation of records

By forcing tester/customer to enter some mandatory fields in a graphical forms. It may avoid You to hear some ridiculous statement like: "the application is not printing, working". It force the user talking a language You have decide together, having agreed on a "bug category" list is a very good and common example.

Customization

All modern bug tracking tool let You define and customize some part of the system according to your need.

Addition of information

A screenshot is better than thousand word, a file create by the application, a memory dump, anything that will help developer to reproduce the bug.

Statistics/Reporting

A lot of very powerful queries can be executed. It is always interesting to know, how many improvement were done in the next/past releases, or if a team has use more power to develop new functionnalities (also changes request which interest the customer the most) or loose time tracking some low level bug priority.
In case of reporting, Bugzilla support the following:
  • Tabular reports - tables of bug counts in 1, 2 or 3 dimensions, as HTML or CSV.
  • Graphical reports - line graphs, bar and pie charts.

Al of the above will have a positive result on:
  • communication among the team of developers and customers,
  • It will improve the product quality by several magnitude,
  • Developer will be more productive as the will know what to concentrate on or what is worth to do.
AND Your customers will be happier!!

Golden rules

  1. A bug that can be reproduce can be analysed/corrected.
  2. Correcting a bug is not always trivial, a correction may introduce new bugs.
  3. The intrinseque quality of a software is always improved with a tracking tool over time

Some open source software:


Bugzilla (http://www.bugzilla.org/) is the more famous, use in a lot of open source application (Mozilla, Apache, and even eclipse) version 2.19.2 (MySQL+PHP, Solaris, Linux, Win32, MacOS X, BSD) 370 companies are currently using it. (Nasa, IBM, Mozilla and others)- Wikipedia has a very brief article on it, Features are listed here

Mantis. (http://mantisbt.sourceforge.net/) A very simple bug tracking tool with limited search functionnality compared to bugzilla, a strong community but not so much stable release as expected.

Buggit (http://www.matpie.drw.net/PBSystems/products/buggit/Buggit.html) no new release since 2000 and bounded to MS access, aka running only unde windows. Listed Here because I use to play with it in 2001.




 

Read more: Why it is not possible to develop any software ...

Matrox DualHead2Go




I am searching such a solution since 2 months...
It is not a graphics card. Rather it is a palm-sized box that sits outside of your system. DualHead2Go takes the existing single monitor display output (i.e. external VGA output) from your system and expands it into dual display outputs, allowing you to run your Windows desktop at up to 2560 x 1024 resolution stretched across two displays. Using DualHead2Go in conjunction with the built-in display of your laptop, you actually benefit from 3 displays at a time.

read the detailled presentation at Matrox.com

Joomlacomment 4.0 jQuery optimization

joomla_cms

jocomment I did install yesterday evening the latest version of !JoomlaComment

!JoomlaComment is one of the first extensions for Joomla,that let you comment under articles.

The !JoomlaComment system can be installed on any joomla website within seconds! Make
your website more interactive!

Main Features:

  • ajax-based
  • captcha protection
  • akismet support
  • ubb code support
  • threathed/nested comments
  • multilanguage support
  • mail, website input
  • See more features here

Joomla support templates, depending on which templates you use

  • MTdefault-emotop, these templates MTxxxx use mootols 1.11
  • JQdefaut-emotop, these templates JQxxxx use Jquery
  • ..

You may behind the scene include another additional AJAX library in Joomla!® frontend, this lead to performance issues:

If !JoomlaComment use JQuery 1.1.4 and not the AJAX library of Joomla!, aka Mootools 1.11. Another huge JavaScript files that make my server busier!

Since any static files can be offloaded to another server to gain more speed. For example, any static images, JavaScript or CSS files can be moved to a different server for more speed.

In order to be able to offload this JavaScript library to Google code, you’ll have to do the following:

In the template you are using, for example in components/com_comment/joscomment/templates/JQdefault-emotop/index.html

Search for

{library}
<script type="text/javascript" src="components/com_comment/joscomment/jscripts/jquery-1.1.4.pack.js"></script>
<script>jQuery.noConflict();</script>
{/library}

and replace with

{library}
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> 
<script>jQuery.noConflict();</script>
{/library}

Note that I use here the latest JQuery version (1.3.2) and not the default version of !joomlaComment (1.1.4), here is why

Donations

Thank You for supporting my work