What do you think of Java applets?

What do you recommend for Java applets?

georgemc wrote:
DrLaszloJamf wrote:
sabre150 wrote:
What do you recommend for Java applets?A dustbin.
http://forum.java.sun.com/thread.jspa?threadID=764962&start=0&tstart=0
<drum-roll/>
<cymbal-crash/>throws ThreadResurrectionExceptionWoops. It takes me a long time to set up my drum kit?
Actually, I was looking at the OP's Recent Message list to see if his most recent post was related to an earlier one.

Similar Messages

  • What do you think of Java 2 Micro Edition?

    Hi,
    I would like to know, if anyone used the J2ME, and if so, what do you think of it. I am thinking of designing a middleware for mobile devices such as PDA, and I would like to know your thoughts on it.
    Thanks
    Neil

    I haven't used it yet, I am reading about it. I am not sure if you have seen this link:
    http://java.sun.com/products/cldc/
    Good Luck.

  • What do you think of my applet game

    Over the last couple days, I made a java applet game. It is all complete except for the highscores. I am planning on doing some sort of global highscores and since I have little experience with internet programming, it is going to take a little while.
    Let me know what you think!
    http://www.geocities.com/scottrick49/targeteer/targeteer.html

    First of all I wanted to say that I like the game but I still think there is room to improve.
    To begin with yes, I think you've got way to many circles going in the start.
    If you had maybe 7 circles with higher speed I would think it more of a challenge or do as turingpest says and ramp up the number of circles.
    When I click the mouse button everything stops for a maybe 250 msec and then jumps to a new location, while it makes it more difficult I though it mainly annoying.
    One thing I would like to see in the game is if you remove the white corners of the circles and makes them explode in the color that they are.
    Adding sound would greatly benefit the game.
    Another thing that TuringPest points out, try making a credits part or something where you show any info about yourself.
    Another idea would be to give the circles different scores and when you've got enough score and accuracy you reach a new level.
    Something in the manner of adding time to the bar when you hit a circle and remove when you miss might be fun and as the difficulty increases you lose time faster.
    That's about what I can think of right now, but as I said, I actually enjoyed playing it :P

  • What do you think of this book: "Programming and Problem Solving with Java"

    Hello Everyone:
    This may be a strange post but I am wondering if anyone has read this book and what do you think of it?
    Book Information
    Title: Programming and Problem Solving with Java
    Authors: Neell Dale, Chip Weens, Mark Headington
    Publisher: Jones & Bartlett
    Thanks for any comments

    No believe me the book is bad! The only reason I asked is I am in a university class that uses those two books for there course. The author messed up on HelloWorld.java with 4 errors at compile time! How can anyone be that stupid since they are the ones who are supposed to be teaching me the fundamentals of Java. Anyhow I just wanted other people's thoughts about the books.
    Thanks again for your input.

  • Are you happy with Java Applets?

    Are you happy with deploying your Forms to the Web as Java Applets? What kind of issues did you run into? Did you go the Java Applet deployment route for the lack of an easier/faster option? Wouldn't you prefer to deploy your forms as standard JSP pages? I really appreciate your feedback.
    Ali

    Ali,
    I wished things were as easy as black and white. It depends on what kind of application your are building. Is it busineess to business, business to customer, an Internet application or a heavily used internal application with high transaction volumes.
    There are a lot of application types that I, as a Forms Product Manager, wouldn't encourage you to use Forms for. Keeping in mind the memory footprint onthe server, the JInitiator plug in and the download time, self service applications that are of short term use definitively are not what Forms is made for.
    On the other side, JSP still requires a back end because its an interface technology and according to the MVC paradigm the view shouldn't have business logic in it. So you can use EJBs or Oracle's Business Components for Java to build the backbone of your application. In either way you are stepping out of the JSP case.
    There is a reason for all different interface types to exist: Use Java Applet for what they are good for and the Forms design and intended usage really goes in line with that. Please have a look at this Whitepaper for a good insight in the subject of Forms and J2EE technologies
    http://otn.oracle.com/products/forms/pdf/formsj2ee_business.pdf
    Frank

  • What do you think of this Design for Multiple Threads

    Hi Java Experts ;
    I'm curious to know what you think about this design for a multhreaded app i'm working on.
    I have a controller thread that (a.) creates threads and (b.) keeps a reference to threads that it creates (by sticking them in a hashtable along with the generated Id for that thread).
    When a created thread completes its job, it decrements the thread counter and removes its reference from the hashtable before it finishes its run method.
    Now here's the interesting part in my controller thread i'm creating new threads on the fly with this infinite loop
         public void run(){
              while(true){
                   try{
                        Thread.sleep(500);
                   }catch(InterruptedException e){
                   if(threadCounter<maxThreadCount && moreJobsToDo.size()>0){
                        createDomainThread();
              }//end while
    what do you think about this pattern ? My goal is to maintain about 200+ created threads running at all times with this pattern.

    jeff kesslerman's book says about threads
    "5.2.3 Threads
    The impact that threads have on RAM footprint isn't a problem for most programs, but running threads do need space to store their stack state, and the system- specific data structures do consume memory.
    Because runtime implementations vary widely in how threads are handled, you might encounter situations where the impact threads have on footprint is significant. For example, some ports of the JRE create a heavyweight OS process for each running thread. In an application that uses many threads, this means that thread costs, rather than class or object costs, can become the dominant factor in the program's memory consumption.
    You shouldn't avoid using threads-they're necessary in many cases, and generally don't have a large impact on footprint. However, you should be aware that the impact can be very different across runtimes. This is one of the reasons it's a good idea to measure performance characteristics under your program's different target environments. "
    Question #1: how does garbage collection go about clearing the stack state, and the system- specific data structures that consume memory.
    Question #2: in my situation, each worker thread's activity is not as brief as a simple server request. Each thread does a lot work and does a lot of network connections. on average I would say 100 http request - each of which can be easily blocked or delayed significantly. Therefore each worker thread may operate for between 2 - 10 minutes.
    Do you think thread pooling is useful in this situation ?
    stev

  • What Do You Think of Plug in Lab Extensions?

    I'm looking at purchasing the complete package of java
    scripts that Plug in Lab has to offer. It looks like they have
    their stuff together. Address:
    www.pluginlab.com. What do you
    think? Do you have any suggestions?

    It even seemed so too ..
    "T.Pastrana - 4Level" <[email protected]> wrote in message
    news:ekco56$nuc$[email protected]..
    >I understand. It just eemed so out of place to what you
    were actually
    >responding to.
    >
    >
    > --
    > Regards,
    > ..Trent Pastrana
    > www.fourlevel.com
    >
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:ekcmee$m77$[email protected]..
    >> Just so there's no confusion, they are not. I
    receive no compensation
    >> from PVII other than the friendship of Al and Gerry,
    and the bonus of
    >> getting to beta test their products.
    >>
    >> The correct way to interpret my posts is that I am a
    very satisfied user.
    >>
    >> I give your products air too, when I am familiar
    with them.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "T.Pastrana - 4Level" <[email protected]> wrote in
    message
    >> news:ekcke4$k5j$[email protected]..
    >>> FYI: Your posts sound like paid advertisements
    for pvii.
    >>>
    >>> --
    >>> Regards,
    >>> ..Trent Pastrana
    >>> www.fourlevel.com
    >>>
    >>>
    >>>
    >>> "Murray *ACE*" wrote in message
    >>>>> Also, some people will say using DHTML
    for a toolbar kills your search
    >>>>> engine
    >>>>> ranking since spiders will not crawl
    these links.
    >>>
    >>>
    >>>> Those people are misinformed to make such a
    general statement. There
    >>>> are ways to get around this, best
    exemplified by the free tutorials and
    >>>> commercial products offered by PVII -
    >>>>
    >>>>
    http://www.projectseven.com/
    >>>
    >>>
    >>
    >>
    >
    >

  • What do you think about using exceptions for something more than errors

    if you look the java.lang.Exception description at the JDK javadoc, you can see the following text:
    "The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch."
    ... we can�t see "error" word anywhere!!
    What do you think about using exceptions for something more than errors? Can be possible use them as a way for send information to upper layers?
    Thankx in regards...

    it seems that what you say is a functional way of achiveing that, yes
    but Exceptions are generally reserverd for "Exceptional" situations ie program messing up or invalid data
    it does require a fair bit of processor time to actually generate and throw an Exception.
    so, all in all its "better" to use "normal" condition flow control to achive what you want.. you can always return early, break loops, call methods to pass information

  • Did you know that Verizonwireless is saving your checking account information when you pay your bill by check and then making it part of your "MyVerizon"? This means of course if they get hacked that information could be compromised. What do you think of

    Did you know that Verizonwireless is saving your checking account information when you pay your bill by check and then making it part of your "MyVerizon"  without you adding it? This means of course if they get hacked that information could be compromised. What do you think of this?

    Credit card and debit card and checking and savings information is encrypted so it is possible to be hacked, but the odds are greater to get hit by the Love Boat then to have a wide scale hack.
    Oh yes they do happen, Bank of America, Chase, Citibank, Target and quite a few others. But in all the years I have paid my invoice with saved card information I never been hacked.
    You use good passwords and the risk is minimal.
    Good Luck

  • What do you think of my Bash Script? What about the error checking?

    Well what do you think of this Bash script
    It works
    I gave it some problems (i.e. unpluged the ethernet, messed up the URL's, uninstaled some programs...) to see if would report errors and stop or just keep going... But it did
    I just kind of thought up a way to do some error checking with the commands that I know.....
    What is a better way to do error checking?
    What do you think I should add/Do to this script?
    #!/bin/bash
    # Shell script to make a USB Tumb Drive for Flashing BIOS on a Lenovo Ideapad Y510.
    # This script needs to be owned and run as ROOT with the "sudo command"
    # i.e. sudo usbbiosflasher
    # If you have anyideas send me a PM on ubuntufourms.org my user name is HunterThomson
    # Name/Rename this script usbbiosflasher and save it to the ~/home directory.
    # Then run the command- chown root:root usbbiosflasher
    # Then run the command- chmod 755 usbbiosflasher
    # Then copy the script to the directory /usr/bin.
    # Run this comand to do that- sudo cp ~/usbbiosflasher /usr/bin
    # You also must have the program "mbr" installed
    # You can install the mbr program by running this comand in the shell on Ubuntu
    # sudo apt-get install mbr
    # In Arch Linux you have to get it from Aur
    # First you will need to know a few things...
    # You will also need to know the Mount Point i.e. /media/disk and the /dev path i.e. /dev/sdb1.
    # You can find these by using the df -T comand.
    # Run df -T in the shell. Then plug in the USB Thumb Drive and run the df -T comand agin.
    # The new listing is the USB Thumb Dirve.
    # Also check to make sure the File System tipe is vFAT or FAT16 or FAT32.
    # If it is not use gparted to format it to FAT32.
    # I am farly certen that all USB Thumb drives come formated with FAT file system out of the BOX.
    # You may want to fromat it anyway just to make sure.
    echo "Interactive Shell Script to Make a USB Thumb Drive \for Flashing BIOS On a Lenovo Ideapad Y510"
    echo ""
    echo "You will need to have the program mbr installed"
    echo "If you are on Ubuntu Linux you can retreve it form the repositories"
    echo "If you are on Arch Linux you will need to get it from the Aur repository"
    echo "Open anuther shell and \do that now..."
    echo ""
    verify="n"
    while [ "$verify" != y ]
    do
    printf "Do you have mbr installed... yes or no?"
    read AN1
    echo ""
    printf "You answered... $AN1 I have installed mbr. Is this correct... y or n?"
    read verify
    done
    echo ""
    if [ "$AN1" == "no" ]
    then
    echo "Install mbr now. Then run this script agin"
    exit
    else
    echo "contunuing script"
    fi
    echo ""
    # The next comand will make a directory to put needed files into. Note this file and everything init will be owned by root.
    mkdir ~/usbbiosfiles && check1="yes"
    if [ "$check1" = "yes" ]
    then
    echo "Made directory usbbiosfiles... OK"
    else
    echo "Could not \make directory usbbiosfiles"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    exit
    fi
    # The next two comands will get the FreeDOS file and the .ROM file.
    cd ~/usbbiosfiles && checka="yes"
    if [ "$checka" = "yes" ]
    then
    echo "Changing to the usbbiosfiles directory... OK"
    else
    echo "Could not Change to the usbbiosfiles directory"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    wget "http://www.fdos.org/bootdisks/autogen/FDOEM.144.gz" && check2="yes"
    if [ "$check2" = "yes" ]
    then
    echo "Download of FreeDOS... OK"
    else
    echo "Could not Download FreeDOS"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    wget "http://ubuntuforums.org/attachment.php?attachmentid=78460&d=1216648756" && check3="yes"
    if [ "$check3" = "yes" ]
    then
    echo "Download of the BIOS.ROM \file... OK"
    else
    echo "Could not Downlad the BIOS.ROM \file"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    # The next comand will name the .ROM file to the right name.
    mv ~/usbbiosfiles/attachment.php?attachmentid=78460\&d=1216648756 ~/usbbiosfiles/06CN29WW.bios.update.tar.bz2 && check4="yes"
    if [ "$check4" = "yes" ]
    then
    echo "Renameing of the BIOS.ROM \file... OK"
    else
    echo "Could not rename the BIOS.ROM \file"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    echo ""
    # The next two comands set the variables. DEVX for the path i.e. /dev/xxx and MOUNTX for the mount point i.e. /media/xxx
    verify="n"
    while [ "$verify" != y ]
    do
    echo "You will need to know the Mount Point and the dev Path. You will also need to \make sure the File System \type is vFAT, FAT16 or FAT32."
    echo ""
    echo "With the USB Thumb Drive unpluged, Open another shell and run the comand df -T Then plug \in the USB Thumb Drive and run the comand df -T one \more time. The new device listed is the USB Thumb Drive. Note the Mount Point and The dev Path and the File system Type i.e. vFAT... If the File System \type is not vFAT, FAT16 or FAT32 you will need to fromat it with gparted. You may want to format the USB Thumb Drive anyway just to \make sure. In any \case delete all files and directorys on the USB drive before you go any ferther with this program."
    echo ""
    printf "Enter the dev path the USB Thumb Drive is at?"
    read DEVX
    echo ""
    echo "Are you sure $DEVX is the dev path of the USB Thumb Drive... y or n?"
    read verify
    done
    echo ""
    verify="n"
    while [ "$verify" != y ]
    do
    printf "What is the Mount Point of the USB Thumb Drive?"
    read MOUNTX
    echo ""
    echo "Are you sure $MOUNTX is the Mount Point of the USB Drive... y or n?"
    read verify
    done
    echo ""
    install-mbr --enable A1 --partition 1 --force --timeout 0 $DEVX && check5="yes"
    if [ "$check5" = "yes" ]
    then
    echo "Installing MBR on USB Thumb Dirve... OK"
    else
    echo "Could not install MBR on USB Thumb Drive"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    tar xjf ~/usbbiosfiles/*.tar.bz2 && check7="yes"
    if [ "$check7" = "yes" ]
    then
    echo "Unpacking BIOS.ROM file... OK"
    else
    echo "Could not unpack BIOS.ROM file"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    gunzip ~/usbbiosfiles/FDOEM.144.gz && check8="yes"
    if [ "$check8" = "yes" ]
    then
    echo "Unpacking FreeDOS files... OK"
    else
    echo "Could not unpack FreeDOS files"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    mkdir ~/usbbiosfiles/fdoem144 && check9="yes"
    if [ "$check9" = "yes" ]
    then
    echo "Made directory fdoem144 in direcoty usbbiosfiles... OK"
    echo ""
    echo "Going to \sleep \for 5secs"
    else
    echo "Could not make directory fdoem144 in usbbiosfiles directory"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    modprobe loop && sleep 5 && check0="yes"
    if [ "$check0" = "yes" ]
    then
    echo "Modprobeing loop... OK"
    else
    echo "Could not \modprobe loop"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    mount -o loop ~/usbbiosfiles/FDOEM.144 ~/usbbiosfiles/fdoem144 && check10="yes"
    if [ "$check10" = "yes" ]
    then
    echo "Mounting FreeDOS on the fdoem144 directory... OK"
    else
    echo "Could not \mount FreeDOS on the fdoem144 directory"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    cp ~/usbbiosfiles/fdoem144/* $MOUNTX && check11="yes"
    if [ "$check11" = "yes" ]
    then
    echo "Copying FreeDOS files to $MOUNTX... OK"
    else
    echo "Could not copy FreeDOS files to $MOUNTX"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    cp ~/usbbiosfiles/*.ROM $MOUNTX && check12="yes"
    if [ "$check12" = "yes" ]
    then
    echo "Copying BIOS.ROM files to $MOUNTX... OK"
    else
    echo "Could not copy BIOS.ROM files to $MOUNTX"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    sync && check13="yes"
    if [ "$check13" = "yes" ]
    then
    echo "Runing the syncing command... OK"
    else
    echo "Could not run the syncing command"
    echo "look above \for \info"
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this scrip agin"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    rm -r ~/usbbiosfiles
    exit
    fi
    umount ~/usbbiosfiles/fdoem144 && check14="yes"
    if [ "$check14" = "yes" ]
    then
    echo "Unmounting of FreeDOS... OK"
    else
    echo "Could not unmount FreeDOS"
    echo "Look above for errors or problems reported and fix the problem"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this script agin"
    rm -r ~/usbbiosfiles
    exit
    fi
    verify="n"
    while [ "$verify" != y ]
    do
    printf "Do you see any errors... yes or no?"
    read AN2
    echo ""
    printf "You answered... $AN2 to errors. Is this correct... y or n?"
    read verify
    done
    echo ""
    if [ "$AN2" == "yes" ]
    then
    echo "User Repoted... Error"
    echo "Look above for errors or problems reported and fix the problem"
    echo ""
    echo "removeing directory usbbiosfiles..."
    echo ""
    echo "Reformat the USB Stick to FAT32 with gparted"
    echo "Fix the problem and run this script agin"
    rm -r ~/usbbiosfiles
    exit
    else
    echo "Success"
    echo "I did a lot of error checking too and didnt find anything"
    echo ""
    echo "Go get a pen and paper to write down these instructions"
    printf "Then hit the Enter to continue"
    read WAIT
    echo ""
    echo "Now leave the USB Thumb Drive pluged into your computer and Reboot. When the Lenovo Logo POST screen appears hit F2 to enter the CMOS setup utility. Go over to BOOT tab and go down to HardDrive \(Not Boot Order) \then \select the USB Thumb Drive as the 1st hard drve. Then F10 and yes to save changes. Your compter will reboot agin. Then when the Lenovo Logo POST Screen appers on reboot hit F4 to enter the BIOS FLASHING program. The USB Thumb Drive will be seen as the C drive \in the list on the Left, Select it. Then \select the .ROM \file \in the list on the Right and start the BIOS FLASH. \(NOTE Your hart may stop beating... This is normal) Pray to any God you know of and your computer should restart just like normal. Hit F2 and the BIOS will now stay it is 06CN29WW. You will need to \set the boot order to the way you like it and other things \if you need to because they have been changed to the default."
    fi
    echo ""
    echo "End of script"
    Last edited by hunterthomson (2008-08-10 11:17:47)

    Personally.....  (this is just how I would have written it - if it works, then it's good enough for me though )
    I would change this whole block:
    verify="n"
    while [ "$verify" != y ]
    do
    printf "Do you have mbr installed... yes or no?"
    read AN1
    echo ""
    printf "You answered... $AN1 I have installed mbr. Is this correct... y or n?"
    read verify
    done
    echo ""
    if [ "$AN1" == "no" ]
    then
    echo "Install mbr now. Then run this script agin"
    exit
    else
    echo "contunuing script"
    fi
    To this much shorter code:
    MBR='/usr/bin/install-mbr' # Or where ever you expect it to be
    if [ ! -x $MBR ] ; then
    echo "mbr doesn't appear to be installed."
    echo "If it is installed, check it's location, make sure it's executable and then make sure the MBR variable in this script is correct"
    exit 1
    fi
    I wouldn't have used the checkXX variables for each stage:
    mkdir ~/usbbiosfiles
    if [ $? != 0 ] ; then
    #failed
    echo "Could not \make directory usbbiosfiles"
    echo "look above \for \info"
    echo "Fix the problem and run this scrip agin"
    exit 1
    else
    echo "Made directory usbbiosfiles... OK"
    fi
    There is an issue with the way you do your verifications - the user can never get out unless they answer 'y' or hit CTRL+C. Something like this gives them options:
    verify="n"
    while [ "$verify" != "y" && "$verify" != "n" ]; do
    echo "You need to answer 'y'es or 'n'o"
    read verify
    echo $verify | tr "[:upper:]" "[:lower:]" # This converts the answer to lowercase so replies entered in upper case will still work
    done
    if [ $verify != 'y' ] ; then
    exit 1
    fi
    One last thing I try to do in scripts... Declare all your binaries as variables at the start of the program, then execute the binary program by using the variable. For example:
    # Binaries
    TAR='/bin/tar'
    CP='/bin/cp'
    CHMOD='/bin/chmod'
    # Execute tar and chmod the created file
    $TAR cvzf /tmp/tarfile.tar.gz /etc/*.conf
    $CHMOD 400 /etc/*.conf
    This way, it's easy to change the path in future without having to hunt through the script if the paths change, and it also ensures you're calling the programs using the full paths to make sure you're not executing some strange variant or alias that someone has setup. If I use `chmod` 30 times in a script, and the path changes in the future or on a different system (`chmod` is a bad example cause it's highly unlikely to change, but you know what I mean), then all you need to do is update the variable at the start of the script, and it all works again without having to script-hunt and change it 30 times.

  • Lack of SD card slots what do you think

    I don't know about the rest of you, but I like my stuff on an SD card. Not in a cloud. It seems Motorola, Verizon, and android all want you to put your stuff in the cloud. I'm sorry but I like my privacy and I like to access my content even when I have no signal. The cloud is for morons who don't realize their stuff can be hacked. If the Pentagon can be hacked, so can the cloud. Verizon, give us the option. Quit force feeding us stuff that a bunch of techno geeks sitting around and dream up. I have been a loyal customer for years and your trying my patience. I like my Droid Razr MAXX HD. It has served me well for 2 years in some of the worst environments. It has never failed me and I think you hit the nail on the head when you introduced it. But you took a moronic stance and quit offering it. You got it right and then screwed it up. The only complaint I had was all the bloat ware. Give us the choice. We buy the phone, it is ours, we should be the ones to decide what stays and what goes. Not some ***** sitting in marketing. If you want to introduce it, then do so but allow the people the choice of what stays and what goes. It will cost you customers in the future if you don't, including me. Have a nice day!!!!

    You ask "what do you think".
    I think that your message would/will be better received if you didn't resort to name calling and "colorful" language.
    You/we will never win the "argument" over what you term "bloatware".  Verizon enters into financial agreements with the providers of that software to be able to install it on the devices.  They make a lot of money (presumably) on this, so it is not likely to end.

  • Still in a quandary about hardware specs. What do you think?

    I need to build a new system as editing machine for CS4. Everything is more or less clear as to what I need, there are only two issues remaining:
    1. How much RAM to install, and
    2. Disk setup.
    As always there is the balance between performance and costs. Since this is not "an unlimited means available" type of machine, you will not see much esoteric components, like SSD raids or nVidia Quadro CX card. It is a dual E5472 Harpertown system (8 core), running Vista 64 Business.
    1. How much RAM would be a good balance in price/performance? 8 or 16 GB? We are talking about Kingston Value Ram DDR2-6400 ECC FBDIMM, either 4 x 2 GB ( 420) or 4 x 4 GB ( 650), with the possibility to double memory in the future. If you do not make a habit of continuously switching between PP, AE, EN, PS etc. and are mainly using only 1 application at the time, I wonder if there is a noticeable performance gain to justify the additional cost. The choice is obvious if the total cost of the machine would not be stretching available means. So what do you think?
    2. Main storage is 8 x WD Caviar Black 1 TB disks in raid50 for media, renders, scratch etc. But what about the boot disk? Either a 300 GB WD Velociraptor ( 240), or 4 x WD Scorpio (7200 RPM) 160 GB in raid10 ( 250), using on-board ESB2 chipset.
    While we are at it, does it make sense to add 4 x WD Scorpio 250 GB in Raid5 (on an Areca ARC controller with free ports) only for pagefile, projects and temporary export. Final export will be transferred over the network to a burning machine for DVD's. Backups of projects is to external USB disks and on a separate machine over VPN.
    The case has room for 8 hot swappable 3.5" disks and 8 hot swappable 2.5" laptop disks plus another disk and a DVD/BR burner internally. There are still 4 external eSATA ports available for future expansion. Foreseen video card is ATI 4870 512MB. Network is currently a 1 Gb connection, but can be enhanced to 2 Gb with 2 NIC's.
    Look forward to your reactions.

    Bill,
    The case is the
    Supermicro SC743TQ-865SQ
    and the storage bay for the 2.5" disks is the
    Addonics AE4RCS25NSA (2.5 Disk Array 4SA)
    Thanks for your remark about the difficulty of troubleshooting boot arrays. That might be an advantage for the Velociraptor.
    Dag, no. I don't make the mistake of visiting Amsterdam, unless it is absolutely necessary, like visiting the IBC, let alone visiting those bars. I came to realize that Vista has grown up a bit with SP1 and with full support for 64 it now makes a bit more sense than XP64. It does imply a couple of days tweaking Vista (= removing 'features') to make it work decently, but after that is accomplished I will make a slip streamed DVD version for future installs, so that is a one time investment. With recent enhancements in Nullsoft that is easily accomplished, including all intermediate patches and 'Patch Tuesday' versions.

  • I accidentally deleted my iPhoto when i empty my trash? i think 1year ago.i want it back but i heard that its difficult...my 2nd option is i'll buy iPhoto from apps. what do you think guys? thank you and god bless!

    i accendentaly deleted my iphoto when i empty my trash. i think 1 year ago. i want it back but they say its difficult. now i think i'll buy iphoto to apps. what do you think guys??? ty and god bless!

    A bunch of totally different questions
    iPhoto is an application and it is in your applications folder - is it there? It must be in teh Applications folder on your boot drive - it can not be on an external drive
    The photos are kept in the iPhoto library (by default and highly recommended) - is that what you deleted? It can be anyplace by by default it is in your pictrues folder
    Time Machine is a backup program that backuse your your Mac - you do NOT directly access its backup files but you use the Time Machine application to restore files - see http://support.apple.com/kb/HT1427?viewlocale=en_US&locale=en_US for details
    Your post is not at all clear as to what you have or what you want to do
    If in fact you do have a copy of the photos on an external hard drive as you say you thikyou do them you launch iPhoto and import them to iPhoto (file menu import  --  or drag them to the iPhoto icon in the Dock)
    If you have a time machine backup of your iPhoto library and you want to use that then you launch TM and go to the time you wna tto restore from, select the iPhoto library and click restore
    If the above does not cover what you have and what you want please post back with exact details of what you have and what you want to do
    LN

  • My IPhone all of a sudden pops up saying sim card failed. I turn it off and turn it back on and it works but the next day it happens again. what do you think is wrong with it?

    My IPhone all of a sudden pops up saying sim card failed. I turn it off and turn it back on and it works but the next day it happens again. what do you think is wrong with it?

    Hello brittbend
    Check out the article to further troubleshoot your SIM card issues with your iPhone.
    iPhone: Troubleshooting No SIM
    http://support.apple.com/kb/TS4148
    Regards,
    -Norm G.

  • I have a question can you please add so the iphone also have 5 icon dock like the iPad have it would make my day easy as h..:) maby in the next update? What do you think?

    I have a question can you please add so the iphone also have 5 icon dock like the iPad have it would make my day easy as h..:) maby in the next update? What do you think? What do everyone think?

    I have a question can you please add so the iphone also have 5 icon dock like the iPad have it would make my day easy as h..:) maby in the next update? What do you think? What do everyone think?

Maybe you are looking for

  • Performance issue with select query and for all entries.

    hi, i have a report to be performance tuned. the database table has around 20 million entries and 25 fields. so, the report fetches the distinct values of two fields using one select query. so, the first select query fetches around 150 entries from t

  • Batch Determination at SO Level

    Dear All, I have configured batch determination at SO level. The batch number auto appears. But, I have a problem where the system choose batch number which is already allocated to the shipping area deliveries. I am not sure whether it is the setting

  • Anyone advise me on how to save and recall the satate information of a cluster of combo boxes?

    I have a set of combo boxes saving a devices state information. I would like to save and recall all the selections. I know there are properties to access the selected items, but searching about, I'm not sure the technique to do this. I would like to

  • Hi-fi separates with Airport Express and Airtunes

    Hi, please could you tell me whether it is possible to use a hi-fi separates system with airport express? it doesnt seem possible to me but i thought i would ask. regards ste bond

  • Problem installing mac os lion 10.7.4

    I just bought my iMac which came with Mac OS X Lion 10.7.3. There is however a software update available (which is required to run applications such as Aperture) to 10.7.4. However, after downloading the update, it wont install. Any ideas?