Scripting Pixelbender filters

Hi,
did anyone had success in scripting a pixelbender filter in Photoshop CS5 with ExtendScript?
I tried it on Windows 7 64bit with the 64bit Version of Photoshop CS5 and the v2.1 of the Pixelbender Plugin.
I generated the scripting listener code:
var idPbPl = charIDToTypeID( "PbPl" );
    var desc5 = new ActionDescriptor();
    var idKnNm = charIDToTypeID( "KnNm" );
    desc5.putString( idKnNm, "BWSepia" );
    var idGpuY = charIDToTypeID( "GpuY" );
    desc5.putBoolean( idGpuY, false );
    var idLIWy = charIDToTypeID( "LIWy" );
    desc5.putBoolean( idLIWy, true );
    var idFPth = charIDToTypeID( "FPth" );
    desc5.putString( idFPth, "C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Pixel Bender Files\BWSepia.pbk" );
    var idPNaa = charIDToTypeID( "PNaa" );
    desc5.putString( idPNaa, "bwSepiaIntensity" );
    var idPTaa = charIDToTypeID( "PTaa" );
    desc5.putInteger( idPTaa, 0 );
    var idPFaa = charIDToTypeID( "PFaa" );
    desc5.putDouble( idPFaa, 0.500000 );
executeAction( idPbPl, desc5, DialogModes.NO );
If I execute it, photoshop just crashes (a window claims, that it is searching for a problem).
The same filter executes fine manually and recorded as an action.
It is also very interesting, that the only scriptable Filter seems to be Adobe's OilPaint filter, which is build inside photoshop.
Thanks for any hints...
Regards,
Markus

Hi Kevin,
yes, this may be a first hint to the problem. But what can I do?
I tried several thing in the last hours, but no success in getting the scripting running.
I tried to load the pbks from another location, but still photoshop crashes.
On my laptop with WinXP and CS4 Extended the same kernels can be scripted, but there I run into image size problems (texture size).
On the new Windows7 machine I only run CS5 Standard. I hope the graphic card isn't the problem, I bought one of the supported ones only for this case (NVidia GeForce GTS 250).
I can't tell you whether it worked with the previous version of the pixelbender plugin, because I don't know how the reactivate it.
I hope that someone from the developement team will read this post and tell me what information they need to find out the reason. I searched for a crash report but didn't succeed. I am really interested in getting this issue solved, because writing the filters I now want to script took me several weeks.
Regards,
Markus

Similar Messages

  • Scripting PixelBender filters for Photoshop CS4

    Does anyone know if it is currently possible to access PixelBender filters within your scripts (using the ExtendScript Toolkit)? If so, how would I go about doing so? If not, are there any plans to add scripting support for PixelBender filters to the Photoshop DOM?
    NB: I've also posted this in the Photoshop Scripting forum
    Just to give some context to my query, I want to create a PixelBender filter that can be embedded within an AIR application to allow users to play about with applying different filters to their images... this AIR app will be able to export a set of values (that correspond to a given filter's parameters) that can be passed to another AIR app that instructs Photoshop to re-generate the same filter effect (via SwitchBoard). The goal is to achieve consistent results between the two apps.
    Many thanks,
    Andy McDonald
    PhD Student / Research Assistant
    Centre for Advanced Textiles
    Glasgow School of Art

    The Pixel Bender Gallery extension is a live filter and should be accessible via ExtendScript, but I haven't tried it... So, theoretically, yes, but I can't say I've done it myself.

  • User provisioning  Calc Scripts and Filters overlapping

    User Provisioning.
    Calc Scripts and Filters.
    When assigning filters, it works great, sets the right user roles to read and/or write on different members of a base.
    But then, "calc" rights override the Filters settings, allowing the user to write on the entire members and childs of the DataBase.
    Is there any way to assign Calc Scripts and widen the user rights through filters or some other way to prevent writting access to the entire members?
    Regards.
    Running on:
    Windows 2003 R2 x64.
    Essb 9.3.0.0.0
    Running on:
    Windows 2003 R2.
    SharedServices 9.3.0.0.0 WebLogic Express Based.

    Hi and thank you very much for your answer.
    I have, exactly 9.3.0.0 both, Essbase (now Analytic Server) and Shared Services, and yes, you're right about your comment, but the problem is I don't manage the security from EssBase I do it from SharedServices, because the EssBase users was "Externalized" and now all the security settings are managed with SharedServices.
    A coworker said me the same you did, but I think we can't do that any more because the security externalization.
    I really apreciate your help and time.
    Thanks
    Adrian

  • Blank Record Appearing in Power Pivot, How do I ensure that my Power Query script is filtering out all the Blank Records

    Hi,
    I noticed once of my Fact tables in my Power Pivot model contains a blank record. I can't understand why.
    So I added a Filter expression to the underlying Power Query query, something like; -
    Text.Length("MyField") > 0
    However after refreshing the Power Query query which contains the above expression the blank record still appears within my Power Pivot table.
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    hi..
    As my understand, the blank record in Power Query will be return null value . So that, You try to use Text.Length("MyField" ) <> null.
    Regards,

  • AIR and PixelBender compatibility

    Already posted a question in the PixelBender fourm, but
    thought perhaps someone has encountered the same issue here in the
    AIR forum.
    In one of my classes I have
    //CODE START
    package filters
    import flash.display.Shader;
    import flash.filters.ShaderFilter;
    public class MyFilter extends ShaderFilter
    //CODE END
    I get the following error when compiling in the IDE
    1017: The definition of base class ShaderFilter was not
    found.�
    I figure this MUST be a class pathing issue.
    Can someone help? Is there some additional pathing beyond the
    default must be set up in Flash 10 CS4 when targeting AIR1.5 and
    using PixelBender filters?
    These are all my pathing settings
    Application or Global path settings
    Flex SDk path
    $(AppConfig)/ActionScript 3.0/libs/flex_sdk_3/
    and
    Library path
    $(AppConfig)/ActionScript 3.0/Classes/
    These are my publish class path settings
    Source path (2 entries)
    ../classes
    Library path (2 entries)
    $(AppConfig)/ActionScript 3.0/libs
    $(FlexSDK)/frameworks/libs/flex.swc
    External library path (1 entry)

    It's a bit old, but maybe this thread still has relevance for you: https://discussions.apple.com/message/19081732#19081732

  • Jython scripting and ODI variables

    Hi,
    I've had a look through the documentation but wans't able to find the answer to this, apologies if it's in there.
    Some ETL tools that we've used previously have their own scripting language embedded within the tool. This allows us to populate, refresh and evaluate variables within scripts. The values of the variables can then be used with queries as mapping or restrictions in the where clause.
    The question I've got is - can ODI variables be used within Jython scripts in a similar way? Can they be passed in, values assigned, returned and used within the project? If not, can this only be achieved through the SQL query that is part of the variable definition.
    Hope this question makes sense, it's really a comparison with the scripting language and variables that we use in another tool.
    Thanks

    Hello,
    I see what you are trying to achieve, and I believe you got it all right.
    Variables can be retrieved using the #VARIABLE_NAME expression in Jython scripts, mappings, filters, or anywhere else.
    They can be set only
    - Through a set variable step to a constant value.
    - In a refresh variable step to the (mono-field, mono-record) result of a SELECT statement.
    You cannot do in some Jython code something like: #VARIABLE_NAME = myJythonVariable
    You'd need to insert the values of your variables in a temporary table (in the Jython script), then refresh the variable from the content of this temporary table.
    Regards,
    -FX

  • New Local Move Request Script for Exchange 2010 mailboxes

    Hi I would like to have a script that can enable me automatically move mailboxes of certain domains to a new mailbox database. E.g.  new local move request to move only 20 mailboxes in mailboxdatabase01 with the domain name:  mymove.com, moving
    it to mailboxdatabase05. Also, I want to be able to adjust the number of mailboxes to move. Thanks in advance.

    Wrap this, or something similar, into a script that filters out the users with that domain in a particular DB.
    http://technet.microsoft.com/en-us/library/dd876878(v=exchg.141).aspx
    And some filtering examples are in here:
    http://blogs.technet.com/b/rmilne/archive/2014/03/24/powershell-filtering-examples.aspx
    I doubt there is a sample script out there that does exactly what you want, so you'll have to do some coding.
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • 403 error after installing SuPHP

    Hi all,
    I've installed SuPHP on  my machine to develop website locally. However, When I visit either my localhost or a virtualhost on my machine I get a 403 forbidden error.
    I have checked my permissions and they are ok.
    However, I have PHP myadmin installed and the Alias for that (localhost/phpmyadmin) works with no issues.
    I have included the contents of my httpd.conf susphp.conf and virtualhosts files below.
    httpd.conf:
    # This is the main Apache HTTP server configuration file.  It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do.  They're here only as hints or reminders.  If you are unsure
    # consult the online docs. You have been warned. 
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path.  If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo_log"
    # with ServerRoot set to "/etc/httpd" will be interpreted by the
    # server as "/etc/httpd//var/log/httpd/foo_log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path.  If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk.  If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule php5_module modules/libphp5.so
    LoadModule suphp_module modules/mod_suphp.so
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch. 
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition.  These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed.  This address appears on some server-generated pages, such
    # as error documents.  e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/srv/http"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features. 
    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/srv/http">
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs/2.2/mod/core.html#options
        # for more information.
        Options Indexes FollowSymLinks
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        AllowOverride None
        # Controls who can get stuff from this server.
        Order allow,deny
        Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
        DirectoryIndex index.html index.php
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
        Order allow,deny
        Deny from all
        Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here.  If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
        # The following directives define some format nicknames for use with
        # a CustomLog directive (see below).
        LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
        LogFormat "%h %l %u %t \"%r\" %>s %b" common
        <IfModule logio_module>
          # You need to enable mod_logio.c to use %I and %O
          LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
        </IfModule>
        # The location and format of the access logfile (Common Logfile Format).
        # If you do not define any access logfiles within a <VirtualHost>
        # container, they will be logged here.  Contrariwise, if you *do*
        # define per-<VirtualHost> access logfiles, transactions will be
        # logged therein and *not* in this file.
        CustomLog "/var/log/httpd/access_log" common
        # If you prefer a logfile with access, agent, and referer information
        # (Combined Logfile Format) you can use the following directive.
        #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
        # Redirect: Allows you to tell clients about documents that used to
        # exist in your server's namespace, but do not anymore. The client
        # will make a new request for the document at its new location.
        # Example:
        # Redirect permanent /foo http://www.example.com/bar
        # Alias: Maps web paths into filesystem paths and is used to
        # access content that does not live under the DocumentRoot.
        # Example:
        # Alias /webpath /full/filesystem/path
        # If you include a trailing / on /webpath then the server will
        # require it to be present in the URL.  You will also likely
        # need to provide a <Directory> section to allow access to
        # the filesystem path.
        # ScriptAlias: This controls which directories contain server scripts.
        # ScriptAliases are essentially the same as Aliases, except that
        # documents in the target directory are treated as applications and
        # run by the server when requested rather than as documents sent to the
        # client.  The same rules about trailing "/" apply to ScriptAlias
        # directives as to Alias.
        ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
        # ScriptSock: On threaded servers, designate the path to the UNIX
        # socket used to communicate with the CGI daemon of mod_cgid.
        #Scriptsock /var/run/httpd/cgisock
    </IfModule>
    <IfModule suphp_module>
        AddHandler application/x-httpd-php .php .php3 .php4 .php5 .phtml
        suPHP_AddHandler application/x-httpd-php
        suPHP_Engine on
    # # Use a specific php config file (a dir which contains a php.ini file)
        suPHP_ConfigPath /etc/php
    # # Tells mod_suphp NOT to handle requests with the type <mime-type>.
    #    suPHP_RemoveHandler <mime-type>
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value.  If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
        # TypesConfig points to the file containing the list of mappings from
        # filename extension to MIME-type.
        TypesConfig conf/mime.types
        # AddType allows you to add to or override the MIME configuration
        # file specified in TypesConfig for specific file types.
        #AddType application/x-gzip .tgz
        # AddEncoding allows you to have certain browsers uncompress
        # information on the fly. Note: Not all browsers support this.
        #AddEncoding x-compress .Z
        #AddEncoding x-gzip .gz .tgz
        # If the AddEncoding directives above are commented-out, then you
        # probably should define those extensions to indicate media types:
        AddType application/x-compress .Z
        AddType application/x-gzip .gz .tgz
        # AddHandler allows you to map certain file extensions to "handlers":
        # actions unrelated to filetype. These can be either built into the server
        # or added with the Action directive (see below)
        # To use CGI scripts outside of ScriptAliased directories:
        # (You will also need to add "ExecCGI" to the "Options" directive.)
        #AddHandler cgi-script .cgi
        # For type maps (negotiated resources):
        #AddHandler type-map var
        AddHandler php5-script php
        # Filters allow you to process content before it is sent to the client.
        # To parse .shtml files for server-side includes (SSI):
        # (You will also need to add "Includes" to the "Options" directive.)
        #AddType text/html .shtml
        #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type.  The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files.  This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # phpMyAdmin configuration
    Include conf/extra/httpd-phpmyadmin.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    #       starting without SSL on platforms with no /dev/random equivalent
    #       but a statically compiled-in mod_ssl.
    # PHP settings
    Include conf/extra/php5_module.conf
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    suphp.conf:
    [global]
    ;Path to logfile
    logfile=/var/log/suphp.log
    ;Loglevel
    loglevel=info
    ;User Apache is running as
    webserver_user=http
    ;Path all scripts have to be in
    docroot=/var/www:${HOME}/public_html:/srv/http
    ;Path to chroot() to before executing script
    ;chroot=/mychroot
    ; Security options
    allow_file_group_writeable=false
    allow_file_others_writeable=false
    allow_directory_group_writeable=false
    allow_directory_others_writeable=false
    ;Check wheter script is within DOCUMENT_ROOT
    check_vhost_docroot=false
    ;Send minor error messages to browser
    errors_to_browser=true
    ;PATH environment variable
    env_path=/bin:/usr/bin
    ;Umask to set, specify in octal notation
    umask=0077
    ; Minimum UID
    min_uid=33
    ; Minimum GID
    min_gid=33
    [handlers]
    ;Handler for php-scripts
    application/x-httpd-php="php:/usr/bin/php-cgi"
    ;Handler for CGI-scripts
    application/x-suphp-cgi="execute:!self"
    httpd_vhosts.conf:
    # Virtual Hosts
    # If you want to maintain multiple domains/hostnames on your
    # machine you can setup VirtualHost containers for them. Most configurations
    # use only name-based virtual hosts so the server doesn't need to worry about
    # IP addresses. This is indicated by the asterisks in the directives below.
    # Please see the documentation at
    # <URL:http://httpd.apache.org/docs/2.2/vhosts/>
    # for further details before you try to setup virtual hosts.
    # You may use the command line option '-S' to verify your virtual host
    # configuration.
    # Use name-based virtual hosting.
    NameVirtualHost *:80
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for all requests that do not
    # match a ServerName or ServerAlias in any <VirtualHost> block.
    <VirtualHost *:80>
        ServerAdmin [email protected]
        DocumentRoot "/home/alexie/websites/RapidFire/public_html"
        ServerName rapid.mouse
        ErrorLog "/var/log/httpd/rapid.mouse"
        CustomLog "/var/log/httpd/rapid.mouse" common
        Options FollowSymlinks
        suPHP_Engine on
        SuexecUserGroup alexie users
        SuPHP_UserGroup alexie users
    </VirtualHost>
    Any help would be appreciated as I've been googling this all morning with no joy.

    The problem is that you have DSO module (php5_module a.k.a. mod_php) and suphp_module running at the same time. You can do this as long as both modules have differents handlers.
    From Apache docs:
    A "handler" is an internal Apache representation of the action to be performed when a file is called. Generally, files have implicit handlers, based on the file type. Normally, all files are simply served by the server, but certain file types are "handled" separately.
    In your case, both php5_module and mod_php are interpreting "application/x-httpd-php".
    Another advice, while the virtual host approach is semantically correct, remember that you could delegate it over userdir module. In other words, use public_html folder in user home directory and put settings of suPHP on http-userdir.conf file.
    Please check the wiki page for more information: https://wiki.archlinux.org/index.php/suPHP

  • Ajax experts need some urgent help here....

    Hello eveyone,
    I am new to Ajax and have been fiddling with it for the last couple of days. I am trying to get a dropdown filter to work. I have managed to sort out the filter for the frist dropdown using a Ajax script but cannot get the second drop down to work. I am not too sure to write the correct Ajax syntax. My question is on the second dropdown, how can I pass the id for the first onChange event and the second onChange event...
    Here is my explanation on what I am trying to achieve,
    When a user selects Student Name from the frist dropDown, then the onchange event runs the Ajax script
    and filters the second Dropdown and displays all the exams details by the student name selected above. The code works fine uptill this point.
    Now, when I select the second dropdown, I want it to take the value of the frist dropdown and the second dropdown and
    then filter the third dropdown. I do not know the correct syntax in Ajax on how to pass the onChange event on the frist two dropdowns.
    Here is my html dropdown code:
    <tr><td>
    //This is the first DropDown
         <select name="studentID" id="studentID" onChange="ajaxStudentID(this)">
            <option value="0" selected>Select...</option>
            <%=student.getList(stuForm.getStudentID())%>
            </select>
    </td></tr>
    <tr><td>
    //This is my Second DropDown
    //This basically filters the list and gives a dropdownlist of Exams taken by the value returned
    //from the method stuForm.getStudentID()
    <div id="examDropDownList">
         <select name="examID" id="examID" onChange="ajaxExamID(this)>
    *//My question is on this change even, how do I write the ajax function to get this ID and the previous onChange ID*
    *//which is "ajaxStudentID(this) in the frist dropdown*
            <option value="0" selected>Select...</option>
            <%=exam.createList(stuForm.getStudentID(), stuForm.getExamID())%>
            </select> 
    </div>
    </tr></td>
    //This is my Last DropDown
    //This basically filters the list and gives a dropdownlist of Exams Passed taken by the values returned
    //from the method stuForm.getStudentID() and method stuForm.getExamID()
         <select name="passID" id="passID">
            <option value="0" selected>Select...</option>
            <%=pass.createList(stuForm.getStudentID(), stuForm.getExamID(), stuForm.getPassID())%>
            </select> 
    </tr></td>Here is the Ajax script I am using:
    <script>
         function registerAjaxStuff() {
              ajaxEngine.registerRequest( 'ajaxStudentID', 'dropdownlist.jsp' );
              ajaxEngine.registerAjaxElement( 'examDropDownList' ); //This is the div, I want to run
         function ajaxStudentID(selectBox) {
              //var id = selectBox.options[selectBox.selectedIndex].value;
              var id = selectBox.value;
              //alert("groupid = " + id);
              ajaxEngine.sendRequest( 'ajaxStudentID', "id=" + id);
              registerAjaxStuff();
    </script>Here is the dropdownlist.jsp page that runs the Ajax and gets the values for the second dropdown..
    <%response.setContentType("text/xml");%>
    <%@ include file="header.jsp" %>
    <jsp:useBean id="examList" class="student.DropDown"/>
    <%
    examList.useDb(db);
    int id = utils.servletUtils.isNumber(request.getParameter("id"),0);
    %>
    <ajax-response>
       <response type="element" id="examDropDownList">
         <select name="examList" id="examList" onchange="ajaxStudentID(this)">
         <option value="0">Select</option>
         <%=examList.createList(id,0)%>
         </select>
       </response>
    </ajax-response>My Question is I want to write a function that passes two parameters, the onchange event of the second dropdown which I know how to do it but I also want to pass the selected value of the frist dropdown which I do not know how to do?

    In your javascript, get the <select> element by id (document.getElementById('studentID'), and call 'selectedIndex' for the value that is selected in the dropdown:
    var studentIdValue = document.getElementById("studentID').selectedIndex;
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • No color management in Photoshop plugin!?

    Today, I finally started playing with PixelBender in order to make some Photoshop filters for color and tonal corrections. Unfortunately, I seem to have hit a snag. Unlike any of the other filters, the preview window of the PixelBender plugin is not color managed. This means you're essentially flying in the dark when making adjustments. Not a big problem for a mosaic or warping filter, but it's pretty fatal for color adjustment filters.
    This probably has something to do with the fact that PixelBender uses its own display path (GPU/CPU). Then again, Photoshop itself also uses some 3D acceleration without breaking color management, so why can't the PB plugin do the same? Does anyone know if there is a way to enable color management? If not, is there any chance that this will be improved in the plug-in? Just in case this could depend on configuration: I'm testing this on a Windows XP SP3 laptop with integrated intel graphics (so I get CPU mode), running Photoshop CS4.
    As it stands, PixelBender has a lot of potential as a cross-platform plug-in platform for Photoshop, but it still has a few major drawbacks:
    The plugin preview window is not color managed.
    The plugin processes all pixels, regardless of zoom level and visible image area. This makes it slower than necessary.
    There is no way to determine the color space of the input image [or a way to use a standard space such as ProPhotoRGB/RIMM]. Without this facility, a 'color-aware' plugin must be written to match a particular color space.
    No access to UI controls beyond sliders.
    If only the new actionscript wrapper for Photoshop gave access to the image data, then most of the above could be addressed. For now I'll wait and see what, if anything, is around the corner...
    Regards,
    Simon

    Thank you for your response. It's good to know that a color-managed plugin could be in the cards. This would really be useful to me. Among other things, I'd like to port this plugin to PixelBender: http://21stcenturyshoebox.com/tools/tonability.html . It's currently written in C/C++, but programming for the combined Photoshop and win32 SDKs is such a pain that I'd prefer to move on sooner rather than later. Not to mention that a single PixelBender kernel could run on win/mac and 32/64-bit.
    I realize that getting access to the color space of the image would require a language change. Furthermore, it would probably require a library (supplied or self-made) to make sense of all possible color spaces, or to transform images to and from standard color spaces. A simpler possibility would be to add a checkbox in the plugin (or a simple kernel option) that imposes a particular reference color space on all inputs and outputs. The plugin container would then take care of transforming the image to the proper space and back again. My personal favorite for such a space would be the linearized ProPhoto space used by Lightroom and ACR, because it's linear and sufficiently large. And if I may dream a little: this choice would also make it easier to insert PixelBender filters into the Lightroom workflow at some point in the future...
    About the UI: a particular limitation I am running into is that I cannot control/restrict the sliders based on the values of other sliders. In my case, some inputs should always be higher than other inputs (and using relative numbers is not an option for the UI). The evaluateDependents() function is great for making sure that the kernel gets the right numbers, but there is no way to feed this information back to the user. For example, you cannot disable a slider, restrict its range or change its position from within the kernel. This is no surprise, given the one-way programming paradigm that the GPU is so good at, but a hindrance for writing 'stand-alone' plug-ins. Rather than changing the language to accomodate these features, would it be possible to have a flex/AIR container in the control section of the plugin? The Flex/AIR program could handle the UI, including feedback and other advanced functions, and could feed the PixelBender kernel with the correct parameters. Just another far-fetched suggestion, but it would make my life a lot easier.
    Simon

  • Batch Crop & Straighten

    A while ago a good chap helped me out by creating a script that prompted the user for a folder, then ran the Crop and Straighten Photos command on all images contained in the folder and saved the newly created photos in a new folder.  The script is below.
    The script saves cropped photos as PNGs, I'd like to save them as JPEG.  Could someone help me out by tweaking the script to save as JPEG?  I'd like them saved with the highest quality option.
    #target Photoshop
    app.bringToFront;
    var inFolder = Folder.selectDialog("Please select folder to process");
    if(inFolder != null){
         var fileList = inFolder.getFiles(/\.(jpg|tif|png|)$/i);
         var outfolder = new Folder(decodeURI(inFolder) + "/Edited");
         if (outfolder.exists == false) outfolder.create();
         for(var a = 0 ;a < fileList.length; a++){
              if(fileList[a] instanceof File){
                   var doc= open(fileList[a]);
                   doc.flatten();
                   var docname = fileList[a].name.slice(0,-4);
                   CropStraighten();
                   doc.close(SaveOptions.DONOTSAVECHANGES);
                   var count = 1;
                   while(app.documents.length){
                        var saveFile = new File(decodeURI(outfolder) + "/" + docname +"#"+ zeroPad(count,3) + ".png");
                        SavePNG(saveFile);
                        activeDocument.close(SaveOptions.DONOTSAVECHANGES) ;
                        count++;
    function CropStraighten() {
         function cTID(s) { return app.charIDToTypeID(s); };
         function sTID(s) { return app.stringIDToTypeID(s); };
         executeAction( sTID('CropPhotosAuto0001'), undefined, DialogModes.NO );
    function SavePNG(saveFile){
        pngSaveOptions = new PNGSaveOptions();
        pngSaveOptions.embedColorProfile = true;
        pngSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
        pngSaveOptions.matte = MatteType.NONE;
        pngSaveOptions.quality = 1;
         pngSaveOptions.PNG8 = false; //24 bit PNG
        pngSaveOptions.transparency = true;
         activeDocument.saveAs(saveFile, pngSaveOptions, true, Extension.LOWERCASE);
    function zeroPad(n, s) {
         n = n.toString();
         while (n.length < s) n = '0' + n;
         return n;

    What a great script. I extended it to recurse through subdirectories, and to filter out images that are too small to be reasonable crops. I hope this helps someone else as much as the original helped me.
    #target Photoshop
    // This script recurses through a directory structure and saves straightened/cropped images to// a "StraightenedAndCropped" subfolder.// The function that does this tends to produce a lot of junk, so // this script also filters out images that aren't large enough to// be likely candidates.
    // optional (for debugging)//$.level = 2//$.bp()
    app.bringToFront;// you can use a folder selection dialogvar inFolder = Folder.selectDialog("Please select top-level folder to process");// or you can hard-code the folder if you like (making sure to escape the path in Windows)//var inFolder = new Folder("C:\\some\\folder");if(inFolder != null){    ProcessFolder(inFolder);};
    function ProcessFolder(folder) {    // process any files here first    var fileList = folder.getFiles(/\.(jpg|tif|psd|)$/i);
        if (fileList.length > 0) {        // only create a subfolder etc. if we found anything        var outfolder = new Folder(decodeURI(folder) + "/StraightenedAndCropped");        // not sure whether the exists property refreshes on-demand so save an indicator of whether we created the folder        var created = false;        //if (outfolder.exists == false) outfolder.create();        for(var a = 0 ;a < fileList.length; a++){            if(fileList[a] instanceof File){                var doc= open(fileList[a]);                doc.flatten();                var docname = fileList[a].name.slice(0,-4);                CropStraighten();                var originalWidth = doc.width;                var originalHeight = doc.height;                doc.close(SaveOptions.DONOTSAVECHANGES);                var count = 1;                while(app.documents.length){                    // if the width and  height of the derived image are not both at least 85% of both of the original dimensions,                    // do not save it at all                    if (activeDocument.width.value >= (originalWidth.value * .85)                    && activeDocument.height.value >= (originalHeight.value * .85)) {                        // create the output folder on demand                        if ((outfolder.exists == false) && !created) {                            outfolder.create();                            created = true;                        }                        var saveFile = new File(decodeURI(outfolder) + "/" + docname +"#"+ zeroPad(count,3) + ".jpg");                        SaveJPEG(saveFile, 12);                        count++;                    }                    activeDocument.close(SaveOptions.DONOTSAVECHANGES) ;                }            }        }    }
        // now go looking for new folders, and recurse into them (just don't recurse into our own folders)    var fileAndFolderList = folder.getFiles();    for (var i = 0; i < fileAndFolderList.length; i++){        if (fileAndFolderList[i] instanceof Folder && !endsWith(decodeURI(fileAndFolderList[i]), "StraightenedAndCropped")) {            ProcessFolder(fileAndFolderList[i]);        }    }};
    // borrowed from http://stackoverflow.com/questions/280634/endswith-in-javascriptfunction endsWith(str, suffix) {    return str.indexOf(suffix, str.length - suffix.length) !== -1;}
    function CropStraighten() {    executeAction( stringIDToTypeID('CropPhotosAuto0001'), undefined, DialogModes.NO );};
    function SaveJPEG(saveFile, jpegQuality){    jpgSaveOptions = new JPEGSaveOptions();    jpgSaveOptions.embedColorProfile = true;    jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;    jpgSaveOptions.matte = MatteType.NONE;    jpgSaveOptions.quality = jpegQuality;    activeDocument.saveAs(saveFile, jpgSaveOptions, true,Extension.LOWERCASE);}
    function zeroPad(n, s) {    n = n.toString();    while (n.length < s) n = '0' + n;    return n;};

  • Story not recognizing a character in the Outline

    I imported a Word script, (that was exported from Buzzword), and one of my characters is not showing up as a coloured dot in the Outline pane. I've rewritten the character name and ensured it's set as a Character from the type menu, but no luck. I had a similar issue with another character and closing and re-opening the script fixed it. However, this character just doesn't show up at all.
    Any ideas?
    Also, is there a limit to the number of coloured dots that are displayed?
    Thanks,
    Andre

    Thanks for the details Deepak.
    I love the idea of these dots and can see them being very useful when passing on scripts to my actors to read their parts. They would easily be able to see their dots for each script. For me however, the current implementation is not flexible enough. I am writing epsiodes which always have the same 4 or 5 characters, then each episode has 3 or 4 incidental characters. With only 6 dots, I'll always be missing some.
    For this to be a killer feature for me, I would like to see:
    More dots with any of the following preferences:
    Create dots dynamically based on characters in a scene. Colours should be consistent throughout the script though.
    Create a set number of dots (user-defined)
    Create a set number of dots based on characters in the entire script
    Allow filtering by dot. That way the actor playing "Jimmy" can quickly see all his scenes. Filtering should allow for multiple selections as well, so you could see all scenes with Jimmy and Jane, for example.
    Ensure that the colours remain consistent for the same character in all scripts for a project. This is particularly important in my episodic format. If Jimmy's dots are blue in ep1, but red in ep2, and green in ep3, Jimmy's actor might get confused. If the dots were tied to the char bios (behind the scenes), maybe with a character properties preference.
    Andre

  • [SOLVED] Local Hosting Using a Dynamic DNS

    I've been trying to self host a domain to use owncloud with, through www.mydomainname/owncloud.com or something similar. I've gotten a LAMP set up with a virtual host, have signed up with https://freedns.afraid.org/, set the afraid nameservers, set my IP as an A record through my domain provider and have tried to install a dynamic DNS client on my server computer, though I have not gotten successful results. On my LAMP I've set a virtual host for my domain and I've been able to connect to it locally but not outside of my network. I was able to ping my domain that would in result ping my home IP address but now I get an unknown host. I've also tried to set up my DDWRT router with the provided dyndns. At this point I'm not sure what I'm doing incorrectly.
    Another issue I've been having has been finding a working dyndns client, afraid-dyndns-uv from the AUR gives me a hash error, and the only promising client I've been able to find is freedns-afraid, but it's an RPM package and I don't know how to make use of the files in the tarball.
    I can provide any needed configs, though I don't think that a config would be an error as I've been able to start up my httpd service and connect to it locally perfectly fine. I would greatly appreciate any help c:
    Last edited by 0X1A (2013-06-16 20:19:10)

    0X1A wrote:Alright, so the problem with not being able to ping my IP again was with my registrar nameservers, I had to remove the provided nameservers from them and only use the afraid ones. Now I can ping my IP address but I still can't connect to my domain through my LAMP so now I'm guessing it's either a port forwarding issue or a issue with my apache configuration. What exactly should I have on my httpd conf? I have the ServerName set to my domain name, is there something I'm missing?
    My "ServerName" isn't set to anything particularly special. It's "archsystem:80", which is what I call my computer locally. Here's the entire file for reference:
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so 'log/access_log'
    # with ServerRoot set to '/www' will be interpreted by the
    # server as '/www/log/access_log', where as '/log/access_log' will be
    # interpreted as '/log/access_log'.
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule php5_module modules/libphp5.so
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    ServerName archsystem:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/home/http"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/home/http">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride All
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html index.php
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /run/httpd/cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Use for PHP 5.x:
    AddHandler php5-script php
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    # PHP
    Include conf/extra/php5_module.conf
    # phpMyAdmin
    Include conf/extra/httpd-phpmyadmin.conf
    # General shared files
    Include conf/extra/httpd-drcouzelis.conf
    # Angela's files
    Include conf/extra/httpd-angela.conf
    I'm sorry, I'm having a really hard time understanding the terminology you're using (maybe because I'm just not educated enough). Even so, I'll look into what else might be the problem...

  • Usage of Camera

    I still try to get access to camera on my iPhone via flash...
    I found this post:
    http://blogs.adobe.com/cantrell/archives/2011/02/how-to-use-cameraui-in-a-cross-platform-w ay.html
    But I don't understand how to make it real =(
    CameraUI appeared in AIR 2.5 and Flash CS5 iphone packager supports only 2.0
    maybe there is another way to compile apps, another packager?

    Which Flash Runtime APIs are available when developing for iOS?
    As a general rule, Flash Player 10 and Adobe AIR 2.0 APIs are  available when developing content for iOS. However, there are a number  of exceptions, including, but not limited to:
    Embedded HTML content (via webkit in Adobe AIR).
    RTMPE
    Dynamically loading SWFs that contain ActionScript
    PixelBender Filters
    Microphone Access
    Video Camera Access
    In addition, APIs which do not apply to iOS (such as accessing dock icons) are not available.

  • PB Filter working in Toolkit, but fails to give same result in Flash Player

    I'm playing with the excellent LittlePlanet filter by Tom Beddard. The results in the PixelBender toolkit(2.6.453492)  are amazing, but when I try to use the PBJ as a filter in Flash the output is entirely different.
    I have built a few filters and implemented numerous others all with no problems and fantastic results, but LittlePlanet (I also have the same issue with the Escher Droste kernels) is being a pain.
    Here is the kernel that I'm using:
    #define PI 3.141592653589793
    #define TWOPI 6.283185307179586
    #define HALFPI 1.570796326794897
    #define PI180 0.017453292519943
    #define DEBUG 0
    <languageVersion : 1.0;>
    kernel LittlePlanet
    <   namespace : "com.subblue";
        vendor : "Tom Beddard - www.subblue.com";
        version : 2;
        displayname: "Little Planet";
        description : "Generates a stereographic projection from an equirectangular panorama image to create 'little planet' type images.";
    >
        parameter float2 size
        <
            minValue: float2(200, 200);
            maxValue: float2(4096, 4096);
            defaultValue: float2(480, 320);
            stepInterval: float2(1, 1);
            displayName: "Input image size";
            componentName: "Width|Height";
            aeDisplayName: "Input image size";
        >;
        // Seems buggy on OSX
        parameter float2 size
        <
            defaultValue: float2(1024, 512);
            displayName: "Input image size";
            componentName: "Width|Height";
            aeDisplayName: "Input image size";
            parameterType: "inputSize";
        >;
        parameter float2 outputSize
        <
            minValue: float2(200, 200);
            maxValue: float2(4096, 4096);
            defaultValue: float2(480, 320);
            stepInterval: float2(1, 1);
            displayName: "Output image size";
            componentName: "Width|Height";
            aeDisplayName: "Output image size";
        >;
        parameter float2 center
        <
            minValue: float2(-1, -1);
            maxValue: float2(1, 1);
            defaultValue: float2(0, 0);
            stepInterval: float2(0.01, 0.01);
            componentName: "X|Y";
            displayName: "Center point";
            aeDisplayName: "Center point";
        >;
        parameter float longitude
        <
            minValue: 0.0;
            maxValue: 360.0;
            defaultValue: 0.0;
            stepInterval: 0.5;
            displayName: "Longitude offset";
            aeDisplayName: "Longitude offset";
            aeUIControl:"aeAngle";
        >;
        parameter float latitude
        <
            minValue: 0.0;
            maxValue: 360.0;
            defaultValue: 90.0;
            stepInterval: 0.5;
            displayName: "Latitude offset";
            aeDisplayName: "Latitude offset";
            aeUIControl:"aeAngle";
        >;
        parameter float rotate
        <
            minValue: -360.0;
            maxValue: 360.0;
            defaultValue: 0.0;
            stepInterval: 0.5;
            displayName: "Rotate";
            aeDisplayName: "Rotate";
            aeUIControl:"aeAngle";
        >;
        parameter float zoom
        <
            minValue: 0.1;
            maxValue: 10.0;
            defaultValue: 0.4;
            stepInterval: 0.01;
            displayName: "Zoom";
            aeDisplayName: "Zoom";
        >;
        parameter float wrap
        <
            minValue: -2.0;
            maxValue: 2.0;
            defaultValue: -0.16;
            stepInterval: 0.01;
            displayName: "Wrap effect";
            aeDisplayName: "Wrap effect";
        >;
        parameter float twist
        <
            minValue: -1.0;
            maxValue: 1.0;
            defaultValue: -0.08;
            stepInterval: 0.01;
            displayName: "Twist effect";
            aeDisplayName: "Twist effect";
        >;
        parameter float bulge
        <
            minValue: -1.0;
            maxValue: 1.0;
            defaultValue: 0.0;
            stepInterval: 0.01;
            displayName: "Bulge effect";
            aeDisplayName: "Bulge effect";
        >;
        input image4 src;
        output pixel4 dst;
        void
        evaluatePixel()
            float2 hsize = size * 0.5;
            float2 rads = float2(PI / hsize.x, HALFPI / hsize.y);                // Radians per pixel
            float4 color = float4(0);
            float2 ps = float2(0);
            float rc = cos(radians(rotate));
            float rs = sin(radians(rotate));
            float2x2 rotation = float2x2(rc, rs, -rs, rc);
            #if DEBUG
            float3 guide = float3(0, 0, 0);
            float w = 0.05;
            #endif
                    float2 p = (outCoord() + ps - outputSize * 0.5 - center * outputSize) / size.y;
                    p *= rotation;
                    // Stereographic projection
                    float r = length(p);
                    float c = 2.0 * atan(r, 0.5 * (zoom + bulge));
                    float cc = cos(c);
                    float sc = sin(c);
                    float cl = cos(radians(latitude));
                    float sl = sin(radians(latitude));
                    float lat = asin(cc * sl + (p.y * sc * cl) / r) + (wrap * PI);
                    float lon = radians(longitude) + atan(p.x * sc, (r * cl*cc - p.y * sl * sc));
                    // Twist
                    lon += twist * r * PI;
                    // Wrap longitude
                    lon = mod(lon + PI, TWOPI) - PI;
                    if (wrap != 0.0) {
                        // Reflect the top and bottom to get smooth wrapping
                        if (lat > TWOPI) {
                            // Second inner sky reflection (+wrap)
                            #if DEBUG
                            if (lat < TWOPI + w) guide = float3(0, 1, 0);
                            #endif
                            lat = mod(abs(lat), HALFPI);
                        } else if (lat > TWOPI - HALFPI) {
                            // First inner sky reflection (+wrap)
                            #if DEBUG
                            if (lat < TWOPI - HALFPI + w) guide = float3(1, 0, 0);
                            #endif
                            lat = mod(abs(lat), HALFPI) - HALFPI;
                        } else if (lat > HALFPI) {
                            // First ground reflection (+wrap)
                            #if DEBUG
                            if (lat < HALFPI + w) guide = float3(0, 1, 0);
                            #endif
                            lat = PI - lat;
                        } else if (lat < -TWOPI) {
                            // Second outside sky reflection (-wrap)
                            #if DEBUG
                            if (lat > -TWOPI - w) guide = float3(0, 0, 1);
                            #endif
                            lat = -mod(abs(lat), HALFPI);
                        } else if (lat < -TWOPI + HALFPI) {
                            // Second outside ground reflection (-wrap)
                            #if DEBUG
                            if (lat > -TWOPI + HALFPI - w) guide = float3(0, 1, 1);
                            #endif
                            lat = HALFPI - mod(abs(lat), HALFPI);
                        } else if (lat < -PI) {
                            // First outside ground reflection (-wrap)
                            #if DEBUG
                            if (lat > -PI - w) guide = float3(0, 1, 0);
                            #endif
                            lat = mod(abs(lat), HALFPI);
                        } else if (lat < -HALFPI) {
                            // First outside sky reflection (-wrap)
                            #if DEBUG
                            if (lat > -HALFPI - w) guide = float3(0, 0, 1);
                            #endif
                            lat = -HALFPI + mod(abs(lat), HALFPI);
                    // Convert back to equirectangular coordinates
                    float2 op = -float2(lon, lat) / rads;
                    op.y += bulge * r * hsize.x;
                    color += sampleLinear(src, clamp(hsize - op, float2(0.5), size - float2(0.5)));
                    #if DEBUG
                    if (guide != float3(0)) color.rgb += guide * 0.5;
                    #endif
            dst = color;

    First of all, Tom Beddard writes amazing Pixel Bender filters, we've always been blown away by the imagination and quality of his work.
    There's nothing in the kernel itself that looks suspicious, and when I run it in Flash mode in the toolkit I get reasonable looking results. Can you come up with a particular set of parameters that shows the problems, and attach images showing the correct and incorrect output.
    Also, it isn't clear to me whether the problems you're seeing are in the toolkit using flash mode, or in your own Actionscript code. If it's in your own code can you post the complete AS application that you're running, it could be that there's a problem with the way you're getting data into and out of the shader.
    There are also a number of good tutorials online, some from Adobe folks, some from people in the community. I'll put a short list here:
    http://blog.leeburrows.com/2011/01/pixelbender-filters-1/
    http://www.adobe.com/devnet/pixelbender.html
    http://aswebcreations.com/?p=288
    http://www.mikechambers.com/blog/2008/09/08/using-pixel-bender-filters-within-flex/
    Bob

Maybe you are looking for

  • My iPod touch is.....bricked? dead? (??) PLEASE HELP!

    Hi. before you read this, know a few things: I am not computer-stupid. I am not one of those confused people who screams at their computer when it doesn't work. I'm impatiant, but this time I didn't know I screwed up until it was too late. Okay? let'

  • Display photo details on iPod Classic?

    Using: iPod Classic v2.0.1, iTunes v10.1.2.17, Windows XP. Is there a way to display any photo details on the iPod Classic? Specifically, I would like to display a caption (either from some EXIF field or from the .jpg file's Properties dialog) or at

  • I have this ringtone app (Ringtones) but to get the ringtones i need to find the file sharing section, please help

    Please help i got this app froma different app called "AppGratis" that everyday lets you download something that costed money for free for just 24 hours. This ringtone app requires a file sharing section but i do not know how to find it. can anyone h

  • My GUI doesn't listen to me.

    I am have difficulty understanding how to debug my gui. could somebody please point out what I should do. I don't get any errors in my eclipse ide console nor any errors, but it doesn't seem to do what i'm expecting it to do. import java.awt.*; impor

  • Can i stop a film download to my ipod

    Please help i started to down load film to ipod touch not enough space on i pod how can i stop down load