Can someone perform this speaker test for me please

Hi can someone perform this test for please, play some ipod music through your phone and and cover 1 speaker at a time with you finger, does 1 block out the music as if one speaker is much louder than the other ? just I have tried this on my new iphone 4 as thought it might be a problem but my 3GS is doing it to ??, is it fault or meant to be like that

There's only one speaker.
http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

Similar Messages

  • Can someone decipher this crash report for me please? :(

    I have no clue why this is crashing.  Its just a simple TweenMAX that calls a function onStart and onComplete.
    I dont know what all these references are to apple.Music
    I see a lowMemory error as well ..  but my Profiler is showing that I'm hardly using any memory.  ??
    Apr 15 18:06:33 unknown kernel[0] <Debug>: launchd[2123] Builtin profile: container (sandbox)
    Apr 15 18:06:33 unknown kernel[0] <Debug>: launchd[2123] Container: /private/var/mobile/Applications/E88687CB-C4D3-4B7E-B61A-30AE1FF128A4 [69] (sandbox)
    >
    Apr 15 18:06:48 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.Music[0x3b9]) Exited: Killed: 9
    Apr 15 18:06:48 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0xf1b8]) Exited: Killed: 9
    Apr 15 18:06:48 unknown SpringBoard[23] <Warning>: Application 'Music' exited abnormally with signal 9: Killed: 9
    Apr 15 18:06:48 unknown SpringBoard[23] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed: 9
    Apr 15 18:06:48 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilephone[0xaeff]) Exited: Killed: 9
    Apr 15 18:06:48 unknown SpringBoard[23] <Warning>: Application 'FaceTime' exited abnormally with signal 9: Killed: 9
    Apr 15 18:06:48 unknown UserEventAgent[12] <Notice>: jetsam: kernel termination snapshot being created
    Apr 15 18:06:48 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:historyapp[0x2680]) Exited: Killed: 9
    Apr 15 18:06:48 unknown ReportCrash[2126] <Notice>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2012-04-15-180648.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
    Apr 15 18:06:48 unknown SpringBoard[23] <Warning>: Application exited abnormally with signal 9: Killed: 9
    Apr 15 18:06:48 unknown kernel[0] <Debug>: launchd[2124] Builtin profile: MobileMail (sandbox)

    There's only one speaker.
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

  • Can someone checkout this JDBC code for me?

    I'd be very grateful if an expert out there would check out my code for me, which I am about to use a great deal.
    I've written this to save me some duplicated code, but since I haven't seen this approach much in my travels, I'm wondering if it has any particular flaws.
    A separate DbAccess class is instantiated for any database access work, and once instantiated, getConnection is called and once finished closeConnection must be called.
    You can get a ResultSet instance with just a little code and it's up to the calling programme to close it again.
    The only things left open are the Statements, but they will get garbage collected or at any rate will be closed with the connection (whichever is sooner).
    Is there anything wrong with this code?
    import java.sql.*;
    import javax.naming.*;
    import javax.sql.*;
    public class DbAccess{
         * The chosen datasource for this instance of the class
        private String dataSource;
         * The connection held in this instance (created by calling getConnection())
        private Connection con;
         * Instantiates a DbAccess instance, setting the datasource
        public DbAccess(String datasource){
         this.dataSource = dataSource;
         * Gets a connection to the database chosen in constructor parameter:
         * NB The calling programme MUST call closeConnection() after it's finished with it!
        public void getConnection()
         throws NamingException,
                SQLException{
         Context ctx = new InitialContext();
         DataSource ds = (DataSource)ctx.lookup(dataSource);
         con = ds.getConnection();
        }//end getConnection()
         * Closes the connection previously obtained with getConnection(), this MUST be called when the calling
         * programme has finished using the database.
        public void closeConnection()
         throws SQLException{
         con.close();
        }//end closeConnection()
         * Returns a ResultSet for a simple query, using a plain Statement
         * @param query - the complete database query
         * @return ResultSet for the query in the parameter
         * N.B. The calling programme MUST close the ResultSet after it's finished with it!
        public ResultSet getResultSet(String query)
         throws SQLException{
         Statement stmt = con.createStatement();
         ResultSet rs = stmt.executeQuery(query);
         return rs;
        }//end getResultSet()
         * Returns a ResultSet for a simple query, using a PreparedStatement, and accepting
         * a String parameter that can contain a String for a single setString().
         * @param query - the complete database query
         * @param stringToSet - the String for the preparedStatement's setString() method
         * @return ResultSet for the query in the parameter
         * N.B. The calling programme MUST close the ResultSet after it's finished with it!
        public ResultSet getResultSet(String query, String stringToSet)
         throws SQLException{
         PreparedStatement ps = con.prepareStatement(query);
         ps.setString(1,stringToSet);
         ResultSet rs = ps.executeQuery();
         return rs;
        }//end getResultSet()
    }//end class

    Ok, guys you've thoroughly trashed my code, fine, and
    I half expected it because there's nothing like this
    code about the placeYou're suffering from delusions of grandeur. There are plenty of approaches to that particular itch. The closest to what you're trying to achieve would probably be Spring's JDBCTemplate:
    http://www.springframework.org/docs/api/org/springframework/jdbc/core/JdbcTemplate.html
    Hibernate, iBatis, EJB3, and myriad others tackle the issue in other ways.
    , but are we therefore concluding
    that reducing the jdbc code is virtually impossibile
    - and there's an awful lot of it every time you want
    to do a query?My major objection to your approach is that you introduce a variety of bugs without significantly reducing the amount of JDBC code required. Most of what you're after in your class can be achieved by a convenience method to acquire the Connection object.
    1) If (ok maybe it's a big if) - if I always close
    the connection, the statements aren't being leaked
    right?Not necessarily. To the best of my recollection the spec doesn't mandate this. And even if it does I've certainly encountered drivers that don't clean up statement resources that aren't explicitly released. So there's a theoretical and practical aspect to this.
    2) I'm using Tomcat datasources, for getting the
    connection, and I thought that you just had to call
    con.close() for it to return to the pool. Am I wrong
    on this?No, you're right - but nothing in your class prevents the user from calling getConnection twice and leaking a connection - the least you could do in the circumstances is prevent that by throwing an exception if they try.

  • Can Someone Confirm this Nano Action for me?

    I need to have an AIFF recording UNCOMPRESSED on my Nano.
    If I bring into iTunes as AIFF, will the Nano compress it when I download to the Nano?
    If so, can I use the Nano as a hard-drive and copy the AIFF file to it that way?
    Any help greatly appreciated.
    Thanks

    Yes, it will download uncompressed. It will take a lot more space but it will still sync to the nano as uncompressed. Syncing to your iPod will not compress your files unless you change the format yourself. The same format you imported the file to iTunes will be the same format sent to your nano.

  • Can someone review this nTPV (POS system) PKGBUILD, please ?

    Hi, This is my first serious attempt to make a PKGBUILD, and I would like if someone can review it and make comments, bugfixes, and all kind of feedback you want. The package is nTPV, a POS (Point Of Sale) system for pubs, discos, restaurants, .... I think the program is very nice but the source tarball is not easy to build (It's mainly focused on debian). Right now the program is in spanish but the author says that for 1.2 final version it will be released in english also.
    I have had to make many workarounds to make the program compile and I don't know if the process can be enhanced before trying it to be acce pted in the AUR. I Hope soon I would put a link to a binary package and a simple instruccions on how to build the complete POS system (database & customizations included).
    Unfortunaly, this package depends on other one (gdchart) that hasn't an official archlinux package. So I submit two PKGBUILDS for your review.
    Many thanx.
    pkgname=ntpv
    pkgver=1.2rc1
    pkgrel=3
    pkgdesc="nTPV POS System & libs"
    url="http://www.napsis.com"
    license=""
    depends=('xorg' 'qt' 'kdelibs' 'libxml2' 'gd' 'gdchart' 'sudo' 'nmap' 'iproute')
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=ntpv.install
    source=(http://switch.dl.sourceforge.net/sourceforge/ntpv/ntpv_bundle-1.2-rc1.tar.gz)
    md5sums=('0712a36f80c72c5b6c6011170683eac7')
    dirname=ntpv_bundle-1.2rc1
    build() {
    # 1) Libbslxml
    cd $startdir/src/$dirname/libbslxml
    make INCLUDES+="-I/usr/include/libxml2 -I/opt/qt/include" LDFLAGS+="-L/opt/qt/lib" || return 1
    mkdir -p $startdir/pkg/usr/lib $startdir/pkg/usr/include/libbslxml
    cp libbslxml.so.0.2.1 $startdir/pkg/usr/lib
    cp *.h $startdir/pkg/usr/include/libbslxml
    cd $startdir/pkg/usr/lib
    ln -s libbslxml.so.0.2.1 libbslxml.so.0.2
    ln -s libbslxml.so.0.2.1 libbslxml.so
    # 2) Libqutexr
    cd $startdir/src/$dirname/libqutexr/src
    qmake -makefile || return 1
    make LDFLAGS+="-L$stardir/pkg/usr/lib" || return 1
    mkdir -p $startdir/pkg/usr/include/libqutexr
    cp *.h $startdir/pkg/usr/include/libqutexr
    cp libqutexr.a $startdir/pkg/usr/lib
    chmod 755 $startdir/pkg/usr/lib/libqutexr.a
    # 3) ntpv-libs base
    cd $startdir/src/$dirname/ntpvlibs
    make -f Makefile-base INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include" LDFLAGS+="-L$startdir/pkg/usr/lib -lsql -lpsql" || return 1
    mkdir -p $startdir/pkg/usr/include/liblinuxbar
    cp -f *.h $startdir/pkg//usr/include/liblinuxbar/
    cp -f liblinuxbar.so.0.1.1 $startdir/pkg/usr/lib/
    cd $startdir/pkg/usr/lib
    ln -s liblinuxbar.so.0.1.1 liblinuxbar.so.0.1
    ln -s liblinuxbar.so.0.1.1 liblinuxbar.so.0
    ln -s liblinuxbar.so.0.1.1 liblinuxbar.so
    # 4) ntpv-libs widgets
    cd $startdir/src/$dirname/ntpvlibs
    sed -i -e "s:// ::" floatkeyboardbox.cpp
    sed -i -e "s:/usr/bin/moc:/opt/qt/bin/moc:" Makefile-widgets
    sed -i -e "s/-shared/-shared $(LDFLAGS)/ " Makefile-widgets
    make -f Makefile-widgets INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib" || return 1
    mkdir -p $startdir/pkg/usr/include/liblinuxbarwidgets
    cp -f *.h $startdir/pkg/usr/include/liblinuxbarwidgets/
    cp -f liblinuxbarwidgets.so.0.0.4 $startdir/pkg/usr/lib/
    cd $startdir/pkg/usr/lib
    ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so.0.1
    ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so.0
    ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so
    # 5) xmlmanage
    cd $startdir/src/$dirname/xmlmanage-0.1
    ./configure
    make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib" || return 1
    mkdir -p $startdir/pkg/usr/bin
    cp xmlmanage/xmlmanage $startdir/pkg/usr/bin/
    # 6) dcopprinter
    cd $startdir/src/$dirname/dcopprinter-0.3
    grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
    ./configure
    sed -i -e "s:/usr/lib/libqutexr.a:$startdir/pkg/usr/lib/libqutexr.a:" dcopprinter/Makefile
    sed -i -e "s:/usr/bin/dcopidl:/opt/kde/bin/dcopidl:" dcopprinter/Makefile
    sed -i -e "s:/usr/bin/dcopudl2cpp:/opt/kde/bin/dcopidl2cpp:" dcopprinter/Makefile
    make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib -L/opt/kde/lib" || return 1
    cp dcopprinter/dcopprinter $startdir/pkg/usr/bin/
    mkdir -p $startdir/pkg/etc/ntpv
    cp -r etc_linuxbar/* $startdir/pkg/etc/ntpv
    mkdir -p $startdir/pkg/usr/share/dcopprinter
    cp -r usr_dcopprinter/* $startdir/pkg/usr/share/dcopprinter/
    #7) ntpv
    cd $startdir/src/$dirname/ntpv-1.2
    sed -i -e "s/" "/" > "/" linuxbar/barcore/openbox.cpp # BUG FIX
    sed -i -e "s/fewa/ntpv/" etc_ntpv/bar_database.xml
    sed -i -e "s/192.168.2.201/localhost/" etc_ntpv/dcopprinter_config.xml
    sed -i -e "s:/sbin/sync:/bin/sync:" linuxbar/menusystem/menus/bslexitactionswidget.cpp
    ./configure
    grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
    make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include -I/usr/include/gdchart" LDFLAGS+="-L$startdir/pkg/usr/lib" || return 1
    cp linuxbar/linuxbar $startdir/pkg/usr/bin/ntpv
    cp -r etc_ntpv/* $startdir/pkg/etc/ntpv/
    mkdir -p $startdir/pkg/usr/share/ntpv
    cp -r usr_share_ntpv/* $startdir/pkg/usr/share/ntpv
    #8) ntpvbo
    cd $startdir/src/$dirname/ntpvbo-1.2
    sed -i -e "s:*proc << "sudo";://*proc << "sudo";:" linuxbarbackoffice/menusystem/database/bslddbbwidget.cpp
    ./configure
    grep -Rl --include "*.cpp" --include "*.h" "/usr/include/" . | xargs sed -i -e "s:/usr/include/::"
    grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
    make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib" || return 1
    cp linuxbarbackoffice/linuxbarbackoffice $startdir/pkg/usr/bin/ntpv_backoffice
    mkdir -p $startdir/pkg/etc/ntpv_backoffice
    cp -r etc_ntpv_backoffice/* $startdir/pkg/etc/ntpv_backoffice/
    mkdir -p $startdir/pkg/usr/share/ntpv_backoffice
    cp -r usr_share_linuxbarbackoffice/* $startdir/pkg/usr/share/ntpv_backoffice/
    the ntpv.install file
    create_group() {
    grupo_ntpv=$(cat /etc/group |sed s/:/' '/ | awk '$1~/ntpv/ {print $1}' |wc -l)
    ADDGRP=$(which addgroup 2>/dev/null)
    if [ -z $ADDGRP ]
    then
    ADDGRP=$(which groupadd 2>/dev/null)
    fi
    if [ $grupo_ntpv -eq 0 ]
    then
    $ADDGRP ntpv
    fi
    check_perms() {
    if [ -d $dir_ntpv ]
    then
    echo -ne "checking group and permissions of /etc/ntpv"
    chgrp -R ntpv $dir_ntpv
    chgrp -R ntpv ${dir_ntpv}/*
    chmod g+rwx $dir_ntpv
    find ${dir_ntpv}/ -type d | xargs chmod g+rwx
    find ${dir_ntpv}/ -type f | xargs chmod g+rw
    echo -e " ttt[DONE]"
    fi
    if [ -d $dir_ntpv_backoffice ]
    then
    echo -ne "checking group and permissions of /etc/ntpv_backoffice"
    chgrp -R ntpv $dir_ntpv_backoffice
    chgrp -R ntpv ${dir_ntpv_backoffice}/*
    chmod g+rwx $dir_ntpv_backoffice
    find ${dir_ntpv_backoffice}/ -type d | xargs chmod g+rwx
    find ${dir_ntpv_backoffice}/ -type f | xargs chmod g+rw
    echo -e " tt[DONE]"
    fi
    # arg 1: the new package version
    post_install() {
    create_group
    check_perms
    # arg 1: the new package version
    # arg 2: the old package version
    post_upgrade() {
    check_perms
    dir_ntpv=/etc/ntpv
    dir_ntpv_backoffice=/etc/ntpv_backoffice
    op=$1
    shift
    $op $*
    and the other PKGBUILD
    pkgname=gdchart
    pkgver=0.11.5dev
    pkgrel=1
    pkgdesc="Create charts and graphs in PNG, GIF and WBMP format"
    url="http://www.fred.net/brv/chart/"
    license=""
    depends=('gd')
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=
    source=(http://www.fred.net/brv/chart/$pkgname$pkgver.tar.gz)
    md5sums=('a4af7bc927d8b88934da56fce10a7a3c')
    build() {
    cd $startdir/src/$pkgname$pkgver
    sed -i -e "s:local/::" Makefile
    make || return 1
    mkdir -p $startdir/pkg/usr/include
    cp *.h $startdir/pkg/usr/include/
    mkdir -p $startdir/pkg/usr/lib
    cp libgdc.a $startdir/pkg/usr/lib

    Hi, This is my first serious attempt to make a PKGBUILD, and I would like if someone can review it and make comments, bugfixes, and all kind of feedback you want. The package is nTPV, a POS (Point Of Sale) system for pubs, discos, restaurants, .... I think the program is very nice but the source tarball is not easy to build (It's mainly focused on debian). Right now the program is in spanish but the author says that for 1.2 final version it will be released in english also.
    I have had to make many workarounds to make the program compile and I don't know if the process can be enhanced before trying it to be acce pted in the AUR. I Hope soon I would put a link to a binary package and a simple instruccions on how to build the complete POS system (database & customizations included).
    Unfortunaly, this package depends on other one (gdchart) that hasn't an official archlinux package. So I submit two PKGBUILDS for your review.
    Many thanx.
    pkgname=ntpv
    pkgver=1.2rc1
    pkgrel=3
    pkgdesc="nTPV POS System & libs"
    url="http://www.napsis.com"
    license=""
    depends=('xorg' 'qt' 'kdelibs' 'libxml2' 'gd' 'gdchart' 'sudo' 'nmap' 'iproute')
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=ntpv.install
    source=(http://switch.dl.sourceforge.net/sourceforge/ntpv/ntpv_bundle-1.2-rc1.tar.gz)
    md5sums=('0712a36f80c72c5b6c6011170683eac7')
    dirname=ntpv_bundle-1.2rc1
    build() {
    # 1) Libbslxml
    cd $startdir/src/$dirname/libbslxml
    make INCLUDES+="-I/usr/include/libxml2 -I/opt/qt/include" LDFLAGS+="-L/opt/qt/lib" || return 1
    mkdir -p $startdir/pkg/usr/lib $startdir/pkg/usr/include/libbslxml
    cp libbslxml.so.0.2.1 $startdir/pkg/usr/lib
    cp *.h $startdir/pkg/usr/include/libbslxml
    cd $startdir/pkg/usr/lib
    ln -s libbslxml.so.0.2.1 libbslxml.so.0.2
    ln -s libbslxml.so.0.2.1 libbslxml.so
    # 2) Libqutexr
    cd $startdir/src/$dirname/libqutexr/src
    qmake -makefile || return 1
    make LDFLAGS+="-L$stardir/pkg/usr/lib" || return 1
    mkdir -p $startdir/pkg/usr/include/libqutexr
    cp *.h $startdir/pkg/usr/include/libqutexr
    cp libqutexr.a $startdir/pkg/usr/lib
    chmod 755 $startdir/pkg/usr/lib/libqutexr.a
    # 3) ntpv-libs base
    cd $startdir/src/$dirname/ntpvlibs
    make -f Makefile-base INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include" LDFLAGS+="-L$startdir/pkg/usr/lib -lsql -lpsql" || return 1
    mkdir -p $startdir/pkg/usr/include/liblinuxbar
    cp -f *.h $startdir/pkg//usr/include/liblinuxbar/
    cp -f liblinuxbar.so.0.1.1 $startdir/pkg/usr/lib/
    cd $startdir/pkg/usr/lib
    ln -s liblinuxbar.so.0.1.1 liblinuxbar.so.0.1
    ln -s liblinuxbar.so.0.1.1 liblinuxbar.so.0
    ln -s liblinuxbar.so.0.1.1 liblinuxbar.so
    # 4) ntpv-libs widgets
    cd $startdir/src/$dirname/ntpvlibs
    sed -i -e "s:// ::" floatkeyboardbox.cpp
    sed -i -e "s:/usr/bin/moc:/opt/qt/bin/moc:" Makefile-widgets
    sed -i -e "s/-shared/-shared $(LDFLAGS)/ " Makefile-widgets
    make -f Makefile-widgets INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib" || return 1
    mkdir -p $startdir/pkg/usr/include/liblinuxbarwidgets
    cp -f *.h $startdir/pkg/usr/include/liblinuxbarwidgets/
    cp -f liblinuxbarwidgets.so.0.0.4 $startdir/pkg/usr/lib/
    cd $startdir/pkg/usr/lib
    ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so.0.1
    ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so.0
    ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so
    # 5) xmlmanage
    cd $startdir/src/$dirname/xmlmanage-0.1
    ./configure
    make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib" || return 1
    mkdir -p $startdir/pkg/usr/bin
    cp xmlmanage/xmlmanage $startdir/pkg/usr/bin/
    # 6) dcopprinter
    cd $startdir/src/$dirname/dcopprinter-0.3
    grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
    ./configure
    sed -i -e "s:/usr/lib/libqutexr.a:$startdir/pkg/usr/lib/libqutexr.a:" dcopprinter/Makefile
    sed -i -e "s:/usr/bin/dcopidl:/opt/kde/bin/dcopidl:" dcopprinter/Makefile
    sed -i -e "s:/usr/bin/dcopudl2cpp:/opt/kde/bin/dcopidl2cpp:" dcopprinter/Makefile
    make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib -L/opt/kde/lib" || return 1
    cp dcopprinter/dcopprinter $startdir/pkg/usr/bin/
    mkdir -p $startdir/pkg/etc/ntpv
    cp -r etc_linuxbar/* $startdir/pkg/etc/ntpv
    mkdir -p $startdir/pkg/usr/share/dcopprinter
    cp -r usr_dcopprinter/* $startdir/pkg/usr/share/dcopprinter/
    #7) ntpv
    cd $startdir/src/$dirname/ntpv-1.2
    sed -i -e "s/" "/" > "/" linuxbar/barcore/openbox.cpp # BUG FIX
    sed -i -e "s/fewa/ntpv/" etc_ntpv/bar_database.xml
    sed -i -e "s/192.168.2.201/localhost/" etc_ntpv/dcopprinter_config.xml
    sed -i -e "s:/sbin/sync:/bin/sync:" linuxbar/menusystem/menus/bslexitactionswidget.cpp
    ./configure
    grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
    make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include -I/usr/include/gdchart" LDFLAGS+="-L$startdir/pkg/usr/lib" || return 1
    cp linuxbar/linuxbar $startdir/pkg/usr/bin/ntpv
    cp -r etc_ntpv/* $startdir/pkg/etc/ntpv/
    mkdir -p $startdir/pkg/usr/share/ntpv
    cp -r usr_share_ntpv/* $startdir/pkg/usr/share/ntpv
    #8) ntpvbo
    cd $startdir/src/$dirname/ntpvbo-1.2
    sed -i -e "s:*proc << "sudo";://*proc << "sudo";:" linuxbarbackoffice/menusystem/database/bslddbbwidget.cpp
    ./configure
    grep -Rl --include "*.cpp" --include "*.h" "/usr/include/" . | xargs sed -i -e "s:/usr/include/::"
    grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
    make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib" || return 1
    cp linuxbarbackoffice/linuxbarbackoffice $startdir/pkg/usr/bin/ntpv_backoffice
    mkdir -p $startdir/pkg/etc/ntpv_backoffice
    cp -r etc_ntpv_backoffice/* $startdir/pkg/etc/ntpv_backoffice/
    mkdir -p $startdir/pkg/usr/share/ntpv_backoffice
    cp -r usr_share_linuxbarbackoffice/* $startdir/pkg/usr/share/ntpv_backoffice/
    the ntpv.install file
    create_group() {
    grupo_ntpv=$(cat /etc/group |sed s/:/' '/ | awk '$1~/ntpv/ {print $1}' |wc -l)
    ADDGRP=$(which addgroup 2>/dev/null)
    if [ -z $ADDGRP ]
    then
    ADDGRP=$(which groupadd 2>/dev/null)
    fi
    if [ $grupo_ntpv -eq 0 ]
    then
    $ADDGRP ntpv
    fi
    check_perms() {
    if [ -d $dir_ntpv ]
    then
    echo -ne "checking group and permissions of /etc/ntpv"
    chgrp -R ntpv $dir_ntpv
    chgrp -R ntpv ${dir_ntpv}/*
    chmod g+rwx $dir_ntpv
    find ${dir_ntpv}/ -type d | xargs chmod g+rwx
    find ${dir_ntpv}/ -type f | xargs chmod g+rw
    echo -e " ttt[DONE]"
    fi
    if [ -d $dir_ntpv_backoffice ]
    then
    echo -ne "checking group and permissions of /etc/ntpv_backoffice"
    chgrp -R ntpv $dir_ntpv_backoffice
    chgrp -R ntpv ${dir_ntpv_backoffice}/*
    chmod g+rwx $dir_ntpv_backoffice
    find ${dir_ntpv_backoffice}/ -type d | xargs chmod g+rwx
    find ${dir_ntpv_backoffice}/ -type f | xargs chmod g+rw
    echo -e " tt[DONE]"
    fi
    # arg 1: the new package version
    post_install() {
    create_group
    check_perms
    # arg 1: the new package version
    # arg 2: the old package version
    post_upgrade() {
    check_perms
    dir_ntpv=/etc/ntpv
    dir_ntpv_backoffice=/etc/ntpv_backoffice
    op=$1
    shift
    $op $*
    and the other PKGBUILD
    pkgname=gdchart
    pkgver=0.11.5dev
    pkgrel=1
    pkgdesc="Create charts and graphs in PNG, GIF and WBMP format"
    url="http://www.fred.net/brv/chart/"
    license=""
    depends=('gd')
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=
    source=(http://www.fred.net/brv/chart/$pkgname$pkgver.tar.gz)
    md5sums=('a4af7bc927d8b88934da56fce10a7a3c')
    build() {
    cd $startdir/src/$pkgname$pkgver
    sed -i -e "s:local/::" Makefile
    make || return 1
    mkdir -p $startdir/pkg/usr/include
    cp *.h $startdir/pkg/usr/include/
    mkdir -p $startdir/pkg/usr/lib
    cp libgdc.a $startdir/pkg/usr/lib

  • Can someone clarify all these keys for me, please?

    I'm new to Macs and have tried experimenting with the fn, ctrl, atl/option, and command/apple keys and am all confused about which one does what. From what I've read (and learned on my own), the command key seems to function like the CTRL key on a PC. If that's the case, what does the ctrl key do? Or maybe I should ask, when do you use the ctrl key over the command key? Also, when a key has two functions on it (like the arrow keys that also have home and end on them), which key do you use with them to have them function as "home/end" instead of left and right arrow keys? I hope this all makes sense.

    The Help menu on your OS X has a one sheet layout of special commands and functions (aka shortcuts). You can find apple help by clicking on help then Mac Help from your main finder desktop. The Apple key acts like the control key for pc's... for example, you print with a PC by using CTRL P, you do the same with apple by using Apple P, and Apple S to save, Apple X to cut, etc...

  • HT1476 Can someone answer a battery question for me please?

    will the iPod 4th generation battery work in my iPhone 3GS?

    The batteries in the iPods and iPhones are NOT user serviceable.  We cannot give you support on that here.  You can try looking at a site like ifixit.com.
    Keep in mind that replacing a battery on any iDevice, other than by Apple voids any support on that device forever.  In addition, Apple does not sell parts, and you have no assurance as to the quality of the battery you will be receiving.
    Best,
    GDG

  • I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. Can someone resolve this problem.

    I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.

    Contact App Store support. They're the folks who can help with Account issues.
    Regards
    TD

  • Hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

    hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

                     Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • I get an error message that you can't perform this operation

    My client gets an error message that "You can't perform this operation on this page now because someone (me) is currently editing or reviewing it." But I'm not. What is going wrong?

    Please ask your client to clear Contribute preference once and try the same scenario.
    Here are the steps how to clear the Contribute Preferences:
    For Mac, Contribute CS5
    1) Quit Contribute.
    2) (a) Go to "user/Library/Preferences" and delete the file "Adobe Contribute 6 Preferences".
    (b) Go to "user/Library/Application Support/Adobe/" remove "Contribute CS5".
    For Mac, Contribute CS4
    1) Quit Contribute.
    2) (a) Go to "user/Library/Preferences" and delete the file "Adobe Contribute 5 Preferences".
    (b) Go to "user/Library/Application Support/Adobe/" remove "Contribute CS4".
    If you use CS3, then delete "Adobe Contribute 4.1 Preferences" and "Contribute CS3" folder.
    For Win, Contribute CS5
    1) Quit Contribute.
    2) From Command prompt run the below two commands to remove the preferences
    a) reg delete "HKCU\Software\Adobe\Contribute 6" /f
    b) RD /S /Q "%Userprofile%\Local Settings\Application Data\Adobe\Contribute CS5"  
    For Win, Contribute CS4
    1) Quit Contribute.
    2) From Command prompt run the below two commands to remove the preferences
    a) reg delete "HKCU\Software\Adobe\Contribute 5" /f
    b) RD /S /Q "%Userprofile%\Local Settings\Application Data\Adobe\Contribute CS4"
    For CS3
    a) reg delete "HKCU\Software\Adobe\Contribute 4.1" /f
    b) RD /S /Q "%Userprofile%\Local Settings\Application Data\Adobe\Contribute CS3"
    Note: when you clear the preference all the existing connections will be lost. The connections needs to be recreated.
    Hope this helps you.

  • Cant schedule refresh - We can't perform this operation because this workbook uses unsupported features. Correlation ID: 42e1a475-20ea-41ae-9d8d-e1889d4c2d77

    Hi all,
    I have a workbook with a set of scheduled refreshes (powerquery via the gateway from web api). I've modified it by adding a new source from the azure marketplace. I've successfully added it to the DMG
    I've uploaded the new report and I'm able to browse it successfully in powerbi
    But when I try to schedule a refresh I get the following error against all the data connections
    We can't perform this operation because this workbook uses unsupported features. Correlation ID: 42e1a475-20ea-41ae-9d8d-e1889d4c2d77
    Also get the error if I uncheck the new data source
    Below is my PQ query for the new data source. Which unsupported feature am I using?
    let
    Source = Marketplace.Subscriptions(),
    #"https://api.datamarket.azure.com/Data.ashx/BoyanPenev/DateStream/v1/" = Source{[ServiceUrl="https://api.datamarket.azure.com/Data.ashx/BoyanPenev/DateStream/v1/"]}[Feeds],
    ExtendedCalendar1 = #"https://api.datamarket.azure.com/Data.ashx/BoyanPenev/DateStream/v1/"{[Name="ExtendedCalendar"]}[Data],
    #"Filtered Rows" = Table.SelectRows(ExtendedCalendar1, each [YearKey] >= 2010 and [YearKey] <= 2020),
    #"Inserted End of Month" = Table.AddColumn(#"Filtered Rows", "EndOfMonth", each Date.EndOfMonth([DateKey]), type datetime),
    #"Inserted End of Quarter" = Table.AddColumn(#"Inserted End of Month", "EndOfQuarter", each Date.EndOfQuarter([DateKey]), type datetime),
    #"Inserted End of Week" = Table.AddColumn(#"Inserted End of Quarter", "EndOfWeek", each Date.EndOfWeek([DateKey]), type datetime),
    #"Renamed Columns" = Table.RenameColumns(#"Inserted End of Week",{{"DateKey", "Date"}}),
    #"Changed Type" = Table.TransformColumnTypes(#"Renamed Columns",{{"Date", type date}, {"EndOfMonth", type date}, {"EndOfQuarter", type date}, {"EndOfWeek", type date}}),
    #"Renamed Columns1" = Table.RenameColumns(#"Changed Type",{{"YearKey", "CalendarYear"}}),
    #"Inserted FiscalYear" = Table.AddColumn(#"Renamed Columns1", "FiscalYear", each Date.Year(Date.AddMonths([Date],6)), type number),
    #"Inserted FiscalMonth" = Table.AddColumn(#"Inserted FiscalYear", "FiscalMonthSortId", each Date.ToText(Date.AddMonths([Date],6),"MM"), type number),
    #"Inserted Month" = Table.AddColumn(#"Inserted FiscalMonth", "FiscalMonth", each Date.ToText([Date],"MMMM"), type text),
    #"Inserted Month1" = Table.AddColumn(#"Inserted Month", "CalendarMonthSortId", each Date.ToText([Date],"MM"), type number),
    #"Added Custom" = Table.AddColumn(#"Inserted Month1", "DateIsWeekDay", each if [DayOfWeekMon] > 5 then "no" else "yes"),
    #"Added Custom1" = Table.AddColumn(#"Added Custom", "HoursPerWeekDay", each if [DateIsWeekDay] = "yes" then 7.5 else 0.0),
    #"Changed Type1" = Table.TransformColumnTypes(#"Added Custom1",{{"DateIsWeekDay", type text}, {"HoursPerWeekDay", type number}}),
    #"Added Custom2" = Table.AddColumn(#"Changed Type1", "Custom", each Function.Invoke(DateTimeZone.UtcNow,{})),
    #"Split Column by Delimiter" = let #"Changed Type" = Table.TransformColumnTypes(#"Added Custom2", {{"Custom", type text}}, "en-AU"),
    #"Split Column by Delimiter" = Table.SplitColumn(#"Changed Type","Custom",Splitter.SplitTextByDelimiter(" +"),{"Custom.1", "Custom.2"})
    in #"Split Column by Delimiter",
    #"Changed Type2" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"Custom.1", type datetime}, {"Custom.2", type time}}),
    #"Removed Columns" = Table.RemoveColumns(#"Changed Type2",{"Custom.2"}),
    #"Renamed Columns2" = Table.RenameColumns(#"Removed Columns",{{"Custom.1", "RefreshDateUtc"}}),
    #"Added Custom3" = Table.AddColumn(#"Renamed Columns2", "RefreshDateLocal", each [RefreshDateUtc] + #duration(0,10,30,0)),
    #"Changed Type3" = Table.TransformColumnTypes(#"Added Custom3",{{"RefreshDateLocal", type text}}),
    #"Added Custom4" = Table.AddColumn(#"Changed Type3", "RefreshDate", each [RefreshDateLocal] & " (UTC + 10.5)"),
    #"Changed Type4" = Table.TransformColumnTypes(#"Added Custom4",{{"DateInt", Int64.Type}, {"CalendarYear", Int64.Type}, {"HalfYearKey", Int64.Type}, {"QuarterKey", Int64.Type}, {"MonthKey", Int64.Type}, {"MonthOfYear", Int64.Type}, {"MonthOfHalfYear", Int64.Type}, {"MonthOfQuarter", Int64.Type}, {"QuarterOfYear", Int64.Type}, {"QuarterOfHalfYear", Int64.Type}, {"HalfYearOfYear", Int64.Type}, {"DayOfYear", Int64.Type}, {"DayOfHalfYear", Int64.Type}, {"DayOfQuarter", Int64.Type}, {"DayOfMonth", Int64.Type}, {"DayOfWeekMon", Int64.Type}, {"DayOfWeekSun", Int64.Type}, {"WeekOfYearISO", Int64.Type}, {"FiscalYear", Int64.Type}, {"FiscalMonthSortId", Int64.Type}, {"CalendarMonthSortId", Int64.Type}}),
    #"Added Custom5" = Table.AddColumn(#"Changed Type4", "CalendarMonthId", each [DateInt]/100),
    #"Round Down" = Table.TransformColumns(#"Added Custom5",{{"CalendarMonthId", Number.RoundDown}}),
    #"Changed Type5" = Table.TransformColumnTypes(#"Round Down",{{"CalendarMonthId", Int64.Type}}),
    #"Added Custom6" = Table.AddColumn(#"Changed Type5", "Custom", each Date.ToText([Date],"ddd")),
    #"Renamed Columns3" = Table.RenameColumns(#"Added Custom6",{{"Custom", "DayName"}}),
    #"Added Custom7" = Table.AddColumn(#"Renamed Columns3", "PastMonthFilter", each if [CalendarMonthId] < Number.FromText(DateTimeZone.ToText(Function.Invoke(DateTimeZone.UtcNow,{}),"yyyyMM")) then 1 else 0)
    in
    #"Added Custom7"
    Jakub @ Adelaide, Australia Blog

    I don't think that's it. I deleted all the powerview reports and worksheets containing pivot tables/charts, and the refresh worked with the function.invoke() call.
    The only reason that's in there is because the execution stops there when I dont have it and i have to manually click an 'invoke' button. If there's a way to get around that i'll happily try that instead.
    Hmm.. i think I found it, but i'll need to do some testing next year after the holidays to verify
    I had added two text boxes (name and desc) to one of my worksheets. I was able to test connection/schedule and run a refresh once I had deleted them.
    Weird, because o365 excel services had no problem displaying the worksheet containing the text boxes, but it looks like workbooks that contain text boxes don't work on a scheduled refresh
    Jakub @ Adelaide, Australia Blog

  • Performance and Load testing for Agentry applications in SMP2.3

    Hello Experts,
    We have a requirement to carry out the Performance and Load testing for our SAP Work Manager application (SMP2.3).
    Please guide me if ATE (Agentry Test environment) /  Jmeter / or any other testing tool can be utilized for the same.
    Would be great if you could provide me the steps / references for the same.
    Thanks,
    Abhishek

    Hi Abhishek,
    Please refer this document Agentry - Assets for Admins & Architects. It has very good content which explains about performance testing and performance tuning.
    Rgrds,
    Jitendra

  • I am using i 4 phone. recently I had a problem with my lap top and had formatted hard disk of it. Now I want to use sync data in my iphone back to itune n my lap top. how can I perform this task with out loosing data in my i phone.

    I am using i 4 phone. recently I had a problem with my lap top and had formatted hard disk of it. Now I want to sync data in my iphone back to itune on my lap top. how can I perform this task with out loosing data in my i phone.

    Hey floridiansue,
    Do you have an installed email program such as Microsoft Outlook?  If your email is through an online login, such as Gmail, etc, then one will have to create an email association with a program such as Microsoft Outlook on the PC for this Scan to Email system to function.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • How can I perform this kind of range join query using DPL?

    How can I perform this kind of range join query using DPL?
    SELECT * from t where 1<=t.a<=2 and 3<=t.b<=5
    In this pdf : http://www.oracle.com/technology/products/berkeley-db/pdf/performing%20queries%20in%20oracle%20berkeley%20db%20java%20edition.pdf,
    It shows how to perform "Two equality-conditions query on a single primary database" just like SELECT * FROM tab WHERE col1 = A AND col2 = B using entity join class, but it does not give a solution about the range join query.

    I'm sorry, I think I've misled you. I suggested that you perform two queries and then take the intersection of the results. You could do this, but the solution to your query is much simpler. I'll correct my previous message.
    Your query is very simple to implement. You should perform the first part of query to get a cursor on the index for 'a' for the "1<=t.a<=2" part. Then simply iterate over that cursor, and process the entities where the "3<=t.b<=5" expression is true. You don't need a second index (on 'b') or another cursor.
    This is called "filtering" because you're iterating through entities that you obtain from one index, and selecting some entities for processing and discarding others. The white paper you mentioned has an example of filtering in combination with the use of an index.
    An alternative is to reverse the procedure above: use the index for 'b' to get a cursor for the "3<=t.b<=5" part of the query, then iterate and filter the results based on the "1<=t.a<=2" expression.
    If you're concerned about efficiency, you can choose the index (i.e., choose which of these two alternatives to implement) based on which part of the query you believe will return the smallest number of results. The less entities read, the faster the query.
    Contrary to what I said earlier, taking the intersection of two queries that are ANDed doesn't make sense -- filtering is the better solution. However, taking the union of two queries does make sense, when the queries are ORed. Sorry for the confusion.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Can someone suggest some good books for sql reporting services (SSRS) 2012 or above?

    Hi Everyone,
        Can someone suggest some good books for sql reporting services (SSRS) 2012 and above? I ave been working on ssrs for past 2 months and have a basic understanding of ssrs.
    Regards
    Regards

    Hi,
    you can look for below options;
    http://www.amazon.in/Microsoft-Server-Reporting-Services-Recipes/dp/0470563117#reader_0470563117
    http://www.goodreads.com/book/show/18147604-learning-sql-server-reporting-services-2012
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

Maybe you are looking for