I need some all around help...

I'm brand new at linux, and I have been using Windows xp for years, so I have no clue what I'm doing. I'm all installed, and it works fine, no errors, but I need some tips on doing some stuff.
I am trying to mod my .bashrc to add color, as in the wiki, but it doesnt open the actual file. Instead, nano keeps wanting to create a new file from scratch. I went ahead and filled in a new one, but it does nothing, what do I need to do? Is the .bashrc under a different name in the directory?
Next question... I  am using a windows laptop to do all my internet, etc stuff, and the arch box is separated from the internet. I'm using wireless, and the arch box doesn't have a card, so I cant get it on the web right now. I want to install a GUI, most likely kde, but I have no clue as to how to put stuff on the arch box. All I have availible for data transfer is a 4gb usb jump-drive, and it has all of the kde packages on it, but I'm not sure how to access them to install them.
Aaaand...... the last question... If possible, is there a command that will list the directories of the arch box, so I can see where I'm at and where things are; I havent the foggiest idea of how this thing is layed out, or where the usb drive would be in the directories.

Peeples Mcnasty wrote:Whenever I go to fill in the user's passwor, the box doesn't register the key-presses. It will only register non-letters. I'm still tryig to get to the bottom of it, so, until then I'm resorting to root as my login.
Can you rephrase that? I don't really understand what you mean by register. Are you aware that password prompts in general won't echo anything? So normally, when you enter your password, nothing will change on the screen but the password you just entered is there.
Now, if I had to create a .bashrc, where would I need to go to find out what all must go into it?
Nothing has to go in there . You don't even have to have one, it all depends on what you want. You can put aliases in there (see man alias), define functions and environment variables, set your prompt and lots of other stuff. If you want examples you can take a look at threads like this one. Some of this stuff might be a bit overwhelming, so perhaps you should leave that alone until you have your install completed . What are you referring to when you say "Add color" ?
Regarding your usb drive, notice that it won't be mounted automatically until you configure some kind of automount (KDE wil do that for you). Mounting means making your usb drive accessible at some directory in the filesystem. So to access your drive you do the following:
Plug in drive
mount /dev/sdb1 /mnt
Your usb drive doesn't have to be sdb1, if you have multiple harddisks in your box, those usually come first, so your first harddisk is sda, the second sdb and so on.  sda1 is the first partition on the first harddisk, in most cases your usb drive will come after the disks, so if you have one harddisk your usb drive is usually sdb.
Then you can install kde like this:
First change to the dir with the packages, if you put them in some subdirectory just hang that behind mnt/:
cd /mnt/
use ls to see if they are there. If that is the case copy them into your pkgcache.
* will choose everything in that directory, if there is something other than packages, you should choose the packages to copy by hand
cp * /var/cache/pacman/pkg
after that you can use pacman to install the kde group:
pacman -S kde
There might be some (or in case of kde probably many) dependencies which you didn't put on your usb drive. Pacman will tell you if there are. To get a list of urls to download those you can use
pacman -Sp kde
Good luck
I just refreshed Regarding pacman -U, pacman -U won't install dependencies automatically and will just stop if a dependency is missing, so if you use pacman -U to install packages with dependencies you will have to resolve those by hand and install them with --asdeps.

Similar Messages

  • I need some one to help me build a theme and a app for my restaurant

    Ok so I have been working on a theme for my restaurant and I also want to do an app. For it I'm looking for someone that is willing to work on the with me I have no time but I got the theme pretty much done just need it to be able to get it to my phone and go from there
    please hit me up if you want to make some cash and help me do this
    From Kevin

    Hi wildtoad and welcome to the BlackBerry Support Community Forums.
    You can download the BlackBerry Theme Studio to create your theme and load it to your BlackBerry.
    To download the Theme Studio visit http://na.blackberry.com/eng/services/themestudio/
    Thank you and have a great day!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • I need some legacy OS help. Resource and File Manager stuff...

    I don't know where to find a better place to ask this and I know that it will strain your memory, but I really am in need of help.
    I am working on a Windows port of the old and now defunct SpriteWorld animation library. I used to be involved in its development when I had a Mac several years ago, and I really enjoyed toying with it. I am aware of SpriteWorld X, but I don't like C++ and I want to do this for myself.
    Anyway, the coding of the actual project will be trivial. What I need help with are the dozens of resource files that contain all of the graphics used by the examples. Since I'm doing this in Windows, I cannot simply open the resource files in ResEdit or even in code very easily. What I'm trying to do is extract the PICT and cicn resources in the files. I did find the legacy documentation on Apple's developer site and I have studied it thoroughly. However, the Resource Manager documentation leaves out a great many details and is making it nearly impossible to parse the files.
    The biggest issue that I'm having is finding the exact starting point in the file for the resource fork. What I've noticed is that there seems to be an undocumented and nearly identical header, containing the file name, creator, file type and unknown data of unknown length, in all of the files that I've viewed. Since this header is not documented, it makes it very difficult to find the start of the fork. I'm guessing that it is used by the Finder?
    I was able to manually find the start(I think...), since a copy resource fork header is 30 bytes prior to the first resource type listed in the file. Per the documentation, this is merely a copy and the actual header is further up in the file. I've found that, but many times the offsets are wrong. All of the offsets start at the beginning of the resource fork, which unfortunately, does not start at the first byte in the file. To make it even more difficult, most of the time the real header (and thus the fork) starts 82 bytes in, but not always and there doesn't seem to be any reason for the discrepancy. Even when I'm sure of the location of the start of the fork, the offsets in the header often times will point to random data in the file instead of the correct locations. I don't know if the files are corrupted or if there is more information that I'm missing.
    Without being able to decipher the resource fork structure, there is no way that I can write the utility I need to extract the data. I know that I'm asking for help with VERY old data, but I'm not sure where else to turn. If I could afford it, I would just go out and buy a Mac. Unfortunately, that is not an option. I've searched just about as far as I can with Google, but to no avail. I wouldn't post this, but I've simply exhausted all other avenues. I sure hope someone can shed some light on this matter.
    Message was edited by: Mark_Speir

    If you get really stuck, you might find a helpful soul that might be willing to generate screen captures or otherwise de-rez the files for you. I've never gotten around to figuring out a way to dump the graphics directly from the resource forks, however, I do happen to have several legacy Macs still running on my home network, as well as some earlier OSX versions.
    Currently:
    Powerbook G4 (2), OSX 10.5.8, and 10.4.11
    iMac G4, OSX 10.3.9
    PowerMac 8600, OS 9.2
    PowerMac 8500 (2), OS 8.x, OSX 10.1 Server
    Mac IIci, OS 8.x or 7.x (have to check)
    Mac LC III, OS 7.x or 8.x (currently powerd off, but can be resurrected, used for terminal emulator
    (I've made use of these myself to get screen captures, and extract sound resources via ResEdit or Resorcerer for my own port of some legacy software).

  • Old Homesite user needs some CS3 customizing help

    Thanks for taking a look,
    Well I finally got CS3 after using HS5.1 for the last 7 or 10 years! It is fantastic! So far so good though it is taking some getting used to...
    I was hoping that someone could be so kind to help me with a couple things, I would be greatly appreciative to say the least.
    First, How do I customize the toolbars? I was able to add things to all the toolbars before so was wondering if there's similar customizability in Dreamweaver. I saw a favorites tab but can I add the 12 or so buttons I use alot in there and then have that as the default tab on opening?
    I used to select text and then (using a custom toolbar button/shortcut) click the div tag. I am not sure how to use the new one because it only has id or class and create new css style where I'm used to writing a style attribute/tag - (sorry if my nomenclature is off) in there myself.
    I really like the new view as you go. How do you make it so when looking in design half or full the images are not in a 'selected' type state or does that mean something?
    Lastly, I used to have a keyboard shortcut to do a number of things like blockquote and change case to upper or lower. I cannot find any of those! Where oh where (Brother Where Art Though) can they be?
    Thanks again in advance for your help!

    Hello,
    You can save a work space after setting it up or customising it to your needs: window > workpace layout > new workspace..
    On the right side, open the panel for css styles (or under window). This panel has another window for properties under it and on the statusbar of that little panel is + sign. Click on it to make a new rule. You can also right click the last css rule and then click "Edit" to go in to the css selector/properties applet or you can opt to open the css file and write the rules directly..usually you will have a tab also for the css file at the top.
    You can go to: http://www.adobe.com/designcenter/video_workshop/  ( click on products | select a title | play video )
    Adobe does not leave you up the creek without a paddle!
    zabberwan

  • Need Some Brain Storming Help WIth a Long Distance Mail Problem

    I would really appreciate anyones input on this...
    Here's the situation. I'm trying to solve a mail problem for my somewhat elderly Mother. The biggest problem is that she is 3800 miles away from me and nowhere near any sort of help or tech support (Rural Alaska) so I'm trying to sort this out over the phone.
    Anyway, she somehow screwed up her mail. All of a sudden the mail she sends comes from MY account! It shows up in my mailbox as having been sent by me. She is using an iBook G4 that I gave her a year or so ago and I suppose it's possible that somehow my mail account was on there somewhere (?). It's like she accidentally switched users or something.
    I have sent her Email to her normal .Mac email address and it does indeed show up in her mailbox when I check the web mail. She is running Tiger and I'm running Leopard.
    I just can't for the life of me figure out what she would have done and I'm hoping that someone might have an idea. She says that the font sizes all changed as well which leads me to believe that she is indeed using my old settings and mail account.
    Once again, any help really appreciated. I'm heading out of town for a week and she really depends on her email. I'm trying desperately to get this solved before I leave. Thanks!

    It looks like Mail has reset its preferences, including the account settings. What follows is a more thorough explanation that should allow you to determine whether that’s really what happened and what your options would be in that case. I’ll provide the full instructions I usually provide to solve this problem when having direct access to the computer, even though you may find some of them not practical or unnecessary.
    Under some circumstances (e.g. lack of available disk space, filesystem corruption, repeated crashes), Mail may discard the current ~/Library/Preferences/com.apple.mail.plist preferences file and create a new one. This file is where all the account settings are stored. As a result, all the non-.Mac account settings are lost. If you have a .Mac account, however, that account would appear to have been preserved because Mail would set it up automatically using the System Preferences > .Mac settings — but may result in a different .Mac account being automatically set up if for some reason the System Preferences > .Mac settings differ from what until then were the Mail account settings...
    What’s the capacity and space available on the startup disk? Take a look at the comments about disk space in the following article, in case they apply to this case:
    Problems from insufficient RAM and free hard disk space
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what’s it all about?
    After having fixed all the filesystem issues, if any, and ensuring that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), quit Mail if it’s running, and make a backup copy of the ~/Library/Mail folder (e.g. by dragging it to the Desktop while holding the Option (Alt) key down), just in case something else goes wrong while trying to solve the problem. This folder is where all your mail is stored.
    There are at least three ways to restore the account settings:
    (1) Restore ~/Library/Preferences/com.apple.mail.plist from a backup if you have one. Mail shouldn’t be running while you do this.
    (2) Set up your mail accounts again (you may want to quit Mail and trash the new com.apple.mail.plist first to start over). If given the option to import existing mailboxes or something like that, don’t. Just enter the account information and Mail will automagically rediscover the data in ~/Library/Mail/ when done. You’ll also have to re-configure some of the Mail > Preferences settings. For spam-related security reasons, the first thing you should do is go to Preferences > Viewing and disable Display remote images in HTML messages if it’s enabled.
    (3) Mail may have renamed the old preferences file to com.apple.mail.plist.saved. If that’s the case, you may try trashing the new com.apple.mail.plist and renaming the old com.apple.mail.plist.saved back to com.apple.mail.plist. Again, be sure Mail isn’t running while doing this. Given the circumstances, there exists the possibility that com.apple.mail.plist.saved became corrupt, but that often is not the case and the settings can usually be restored by just renaming the file back to com.apple.mail.plist.
    As a side effect of re-creating com.apple.mail.plist, Mail might rename Outbox (which is where messages waiting to be sent are stored) to Delivered. The name of that mailbox is actually a misnomer, as it would contain messages (if any) that couldn’t be delivered for some reason. You can delete that mailbox if you wish.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • Need some basic Thread Help

    Hello everyone,
    I've recently been working on a game project with network capabilities.
    I need to be able to send data to a client and vice-versa for both a client and a host.
    Say whenever a player moves a character it should send the new coords, etc to the other person
    I have all the networking through a Host and Client class done already, with methods like sendData(String[] data) and getData(). What I need is some sort of update thread in the main program to send this data without stopping the flow of the program.
    I was thinking maybe a inner class inside the main program which extends a thread but I'm not sure how to implement that.
    Please help if you can. Thanks.
    P.S - Would maybe making the Host and Client classes extend Thread work too?
    (Then I can do all the threading inside there instead)

    dekenx wrote:
    Hello everyone,
    I've recently been working on a game project with network capabilities.
    I need to be able to send data to a client and vice-versa for both a client and a host.
    Say whenever a player moves a character it should send the new coords, etc to the other person
    I have all the networking through a Host and Client class done already, with methods like sendData(String[] data) and getData(). What I need is some sort of update thread in the main program to send this data without stopping the flow of the program.Sounds like a producer/consumer pattern. You produce move data, put it on a queue, and go on with the game. Meanwhile, a consumer thread reads from the queue of move data and pushes it over the network to the other side.
    I was thinking maybe a inner class inside the main program which extends a thread but I'm not sure how to implement that.
    Please help if you can. Thanks.
    P.S - Would maybe making the Host and Client classes extend Thread work too?
    (Then I can do all the threading inside there instead)The inner class or deciding which class to have extend Thread are implementation details you shouldn't be thinking about until you have a good understanding of the overall approach.
    Having said that, you should almost never extend Thread, since you're not creating a specialized kind of Thread class. You're just creating a task to be run in a separate thread, so implement Runnable. Or use an Executor from the java.util.concurrent package.
    I would also probably not use an inner class for this.

  • Really need some !!HELP!! ALMOST 6 MONTHS WITH OUT BURNING A CD

    I've posted before about my problem but but i still have not gotten an answer. This might be my last atempt to get any help before i end up taking my laptop to a repair shop so here we go.
    I've recently ran a diagnostic with i tunes and here it is:
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    TOSHIBA Satellite A75
    iTunes 6.0.1.3
    CD Driver 2.0.4.3
    CD Driver DLL 2.0.3.2
    LowerFilters: PxHelp20 (2.0.0.0), drvmcdb (1.0.0.1), ASAPIW2K (6.0.2.0), Pfc (2.5.0.204), MxlW2k (1.1.0.120), sscdbhk5 (1.0.0.1), Cdr4_xp (6.2.0.132),
    UpperFilters: CDRDRV (6.0.0.0), Cdralw2k (6.2.0.132), GEARAspiWDM (2.0.4.3),
    Video Driver: ATI MOBILITY RADEON 9000 IGP\ATI MOBILITY RADEON 9000 IGP
    IDE\DiskFUJITSUMHU2100AT______________________00000008
    Could not get bus type for CD, 50. Problem with installation of drive in Windows.
    , Bus Address [0,0]
    IDE\CdRomMATSHITADVD-RAM_UJ-820S________________1.50___, Bus Type ATA, Bus Address [0,0]
    SCSI\CdRomVOBID__InstantDrive_CD_14_, Bus Type SCSI, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    Current user is administrator.
    D: MATSHITA DVD-RAM UJ-820S, Rev 1.50
    Audio CD in drive.
    Found 11 songs on CD, playing time 33:12 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 02:20:15
    Track 3, start time 05:07:42
    Track 4, start time 06:13:12
    Track 5, start time 08:31:30
    Track 6, start time 13:17:17
    Track 7, start time 17:34:35
    Track 8, start time 20:47:57
    Track 9, start time 23:22:25
    Track 10, start time 25:16:60
    Track 11, start time 28:56:22
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are: 4 8 12 16.
    The drive CDRW speeds are: 4.
    The drive DVDR speeds are: 4 8 12.
    The drive DVDRW speeds are: 4 8 12.
    E: Unsupported CD or DVD drive.
    Virtual drives can sometimes interfere with reading and writing CDs in iTunes. If this is a virtual drive and you are having problems with other drives, try uninstalling the virtual CD application.
    it apears to be something wrong with drive E but in the properties it says its working perfectly.
    Every time i try to burn a cd i get the blue screen error.
    i hade version 7 of i tunes kept getting the same thing, so i went back to 5.3 but still the same thing. It also happens when i try to burn a cd with nero, i have WMP but don't use it. so now i really hope to get an answer or i have no other choice but to take it to a repair shop. SO !!PLEASE HELP ME!!

    no problems about the delay.
    the 0x8E is reasonably generic. so let's try proceeding on two fronts.
    1st front: we'll get a minidump to the Apple Engineers for a look
    (the minidump can help identify the driver that seems to be causing the issue here.)
    To set up your machine to capture a minidump, right click on "My Computer", select "Properties", select the "Advanced" tab, select the "Startup and Recovery" Settings button, select "small memory dump" from the popup. When it crashes, look for the MiniDump file. It's usually in the folder "C:\WINDOWS\Minidump" and is called something like Mini<number>-<number>.dmp.
    Find that file and send it as an attachment to this email address.
    in the email to Roy, be sure to include the following information:
    - A link to the thread on Apple Discussions where the issue is being discussed
    - The username you are using in the thread
    - The version of iTunes you are using or trying to use
    - the version of Windows you are using (mention service packs)
    - A concise description of the issue you are seeing
    - The exact text of the error message you are seeing
    2nd front: checking on a few possibilities ourselves while waiting for feedback on the minidump
    (a) device filter conflicts: blue screens with itunes while burning can be caused by device filter conflicts (i've seen 0x8Es before in cases of conflicts with old Roxio products). so perhaps try the techniques from the following document:
    iTunes for Windows: Troubleshooting CD issues caused by device filters
    (b) malware:
    malware is a known cause of 0x8Es. try downloading fresh definitions and running vigorous virus and spyware scans. if your security software providers offer them, try running online scans too. (they can sometimes pick up an infection in cases where the security software on the PC has been compromised.)
    if your security software providers don't offer online scans, try running the Symantec online virus check. (apologies in advance ... it takes an eternity to complete.)
    Symantec Security Check

  • I Need some assistant and HELP with my iPod Touch  soon

    Note: Look up above at the Top to read my Problem that I am having with my iPod Touch.
    Can Someone Please HELP ME with my iPod Touch, I am running out of patience, normally when I do need help here I usually get help and a reply within ONE day, but I have posted my problem YESTERDAY, why isn't there someone not replying to my request?? I am getting 55 views but no replys, isn't there anyone out there that can help me??
    I need HELP to reset my IPod Touch to where I had it when I was able to send emails. (can't send emails anymore from my iPod Touch)
    I want to be able to sync and send my iPod Touch sent emails info. to my Computer email program, does anyone know how to do that?
    PLEASE HELP ME AND REPLY if you can solve my problem ASAP.
    Trisha Foster

    Agreed! If you want help soon, call Apples paid support line. Now while you were waiting for us to slowly get around to answering you, you could have downloaded the manual for the ipod, so that you understood the function of the mail sync options in itunes. Mail sync only copies the settings needed to access your mail servers, from the mail client on your computer, over to the ipod touch. It does not copy any actual mail messages, and does not copy any settings from the ipod back to your mail program. The advanced section is meant to be used if you have messed up the settings on the ipod itself. It will ignore any changes to bookmarks, contacts, or mail settings depending on which you check, and will copy new information to the ipod. So in your case if you are able to access, and send mail correctly from the account on your mac, then clicking on the sync mail account button in itunes as well as the replace info on this ipod whatever in the advanced section should transfer over the correct mail account settings to your ipod.

  • Need some object oriented help.

    Hi, I'm having some trouble accessing a HashMap from one of my classes, I have a primary class where some coordinates are stored in a HashMap called NodeCoordinates.java, then I have another class named NodePanel.java where I create a NodeCoordinates object with "NodeCoordinates nodeCoords = new NodeCoordinates();" Now from this same class I have no trouble manipulating the HashMap at all, however I need to access the same HashMap from yet another class, so within the new class which is called Network.java I extend it with NodePanel.java with "class Network extends NodePanel" and this is where my troubles start. It turns out that when trying to access "nodeCoords" from within Network.java all it returns is a null value since for some reason it sees the HashMap as being empty. I was under the impression that when I extend Network.java with NodePanel.java, Network.java inherits everything under NodePanel.java, including "nodeCoords" which would still point to the same HashMap object, or am I wrong about that?

    Gotcha gotcha, I was thinking someone could just simply eyeball my code and see if anything was off balance. Gimme a sec, will make this compile ready.
    Edit: Here's the fully compilable code, basically when you click on the NodePanel, the hashmap stores the node's (i.e. circle's) number as key and x and y coordinates as values in an array ([0] holds x and [1] holds y), but when you click on the Start button nodeCoords seem to default back to null.
    Gui.java
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    class Gui {
         private JButton startBtn = new JButton("Start");
         public static void main(String[] args){
              new Gui();
         private Gui() {
              JFrame frame = new JFrame("Ant Colony Optimization");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Container container = frame.getContentPane();
              container.setLayout(new GridBagLayout());
              GridBagConstraints gbConstraints = new GridBagConstraints();
              gbConstraints.fill = GridBagConstraints.BOTH;
              gbConstraints.anchor = GridBagConstraints.CENTER;
              gbConstraints.insets = new Insets(2, 2, 2, 3);
              //create a NodePanel object to draw nodes on the panel
              addComp(new NodePanel().setNodePanelProperties(), container, gbConstraints, 0, 0, 8, 3, 0, 0);
              gbConstraints.insets = new Insets(0, 0, 0, 0);
              addComp(startBtn, container, gbConstraints, 8, 2, 1, 1, 0, 0);
              ButtonListener btnListener = new ButtonListener();
              startBtn.addActionListener(btnListener);
              frame.pack();
              frame.setVisible(true);
         private void addComp(Component c, Container container, GridBagConstraints gbConstraints, int row, int column, int numberOfRows, int numberOfColumns, double weightx, double weighty){
              gbConstraints.gridy = row;
              gbConstraints.gridx = column;
              gbConstraints.gridheight = numberOfRows;
              gbConstraints.gridwidth = numberOfColumns;
              gbConstraints.weightx = weightx;
              gbConstraints.weighty = weighty;
              container.add(c, gbConstraints);
         class ButtonListener implements ActionListener {
              public void actionPerformed(ActionEvent e){
                   new Ant();
    }Network.java
    class Network extends NodePanel {
         Network(){
              System.out.println("Is the Network.java hash empty? " + nodeCoords.nodeCoordsHash.isEmpty() + " hashmap size: " + nodeCoords.retrieveNodeCoordsHashMapSize());
              System.out.println(nodeCoords.retrieveCoordinates(new Integer(1)));
    }NodeCoordinates.java
    import java.util.HashMap;
    class NodeCoordinates {
         //hashmap with a node number as key, and array holding node's coordinates, as value
         public HashMap<Integer, Integer[]> nodeCoordsHash = new HashMap<Integer, Integer[]>();
         NodeCoordinates() {
         //store node's coordinates in a hashmap
         void storeCoordinates(Integer key, Integer[] value){
              nodeCoordsHash.put(key, value);
         //retrieve node's coordinates from a hashmap by passing an Integer as key to the function
         Integer[] retrieveCoordinates(Integer key){
              return nodeCoordsHash.get(key);
         //access hashmap size from other classes
         int retrieveNodeCoordsHashMapSize(){
              return nodeCoordsHash.size();
    }NodePanel.java
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    //panel for drawing nodes
    class NodePanel extends JPanel implements MouseListener {
         int nodeCounter = -2;
         private Graphics g;
         Integer[] coordsArray = new Integer[2];          //array for holding node coordinates [0] holds X, [1] holds Y
         NodeCoordinates nodeCoords = new NodeCoordinates();
         NodePanel() {
         Component setNodePanelProperties() {
              addMouseListener(this);
              setBackground(Color.white);
              setPreferredSize(new Dimension(800, 600));
              //nodePanel.setBorder(new javax.swing.border.LineBorder(Color.black));
              return this;
         public void mouseClicked(MouseEvent e) {}
         public void mouseEntered(MouseEvent e) {}
         public void mouseExited(MouseEvent e) {}
         public void mousePressed(MouseEvent e) {
              nodeCounter++;
              g = getGraphics();
              //mark the first node as the nest
              if (nodeCounter == 0){
                   coordsArray[0] = e.getX();
                   coordsArray[1] = e.getY();
                   g.setColor(Color.GRAY);
                   g.fillOval(coordsArray[0] - 12, e.getY() - 12, 35, 35);
                   g.drawString(Integer.toString(nodeCounter), coordsArray[0] - 12, coordsArray[1] - 12);
                   g.setColor(Color.WHITE);
                   g.drawString("Nest", coordsArray[0]-7, e.getY()+10);
                   //place coordinates in a hashmap, key as node's number, and value as an array,
                   //[0] contains x coordinates, [1] contains y coordinates
                   nodeCoords.storeCoordinates(new Integer(nodeCounter), coordsArray);
                   System.out.println(nodeCoords.retrieveCoordinates(nodeCounter)[0] + " - " + nodeCoords.retrieveCoordinates(nodeCounter)[1]);
                   System.out.println("Is the NodePanel.java hash empty? " + nodeCoords.nodeCoordsHash.isEmpty() + " hashmap size: " + nodeCoords.retrieveNodeCoordsHashMapSize());
              //default action on mouse click
              else if (nodeCounter > 0){
                   coordsArray[0] = e.getX();
                   coordsArray[1] = e.getY();
                   g.setColor(Color.GRAY);
                   g.fillOval(coordsArray[0] - 12, coordsArray[1] - 12, 24, 24);
                   g.drawString(Integer.toString(nodeCounter), coordsArray[0] - 12, coordsArray[1] - 12);
                   //place coordinates in a hashmap, key as node's number, and value as an array,
                   //[0] contains x coordinates, [1] contains y coordinates
                   nodeCoords.storeCoordinates(new Integer(nodeCounter), coordsArray);
                   System.out.println(nodeCoords.retrieveCoordinates(nodeCounter)[0] + " - " + nodeCoords.retrieveCoordinates(nodeCounter)[1]);
                   System.out.println("Is the NodePanel.java hash empty? " + nodeCoords.nodeCoordsHash.isEmpty() + " hashmap size: " + nodeCoords.retrieveNodeCoordsHashMapSize());
              g.dispose();
         public void mouseReleased(MouseEvent e) {}
         public void mouseDragged(MouseEvent e) {}
         public void mouseMoved(MouseEvent e) {}     
    }Ant.java
    import java.util.HashMap;
    import java.util.LinkedList;
    import java.util.Queue;
    //ant class used for traversing the graph/network
    class Ant extends NodePanel {
         Network network = new Network();
         Queue nodeQueue = new LinkedList(); //queue for determining which path the ant took
         Ant() {
              travel();
         void travel() {     
              System.out.println("Is the Ant.java hash empty? " + nodeCoords.nodeCoordsHash.isEmpty() + " hashmap size: " + nodeCoords.retrieveNodeCoordsHashMapSize());
    }Edited by: CheeseMelt on Sep 25, 2009 9:00 PM
    Edited by: CheeseMelt on Sep 25, 2009 9:01 PM

  • Need some low level help/info on Grid Control / Data Guard

    I need to get some info concerning the set up and administration of Grid Control. In particular, I need to know why Grid Control needs to have the Oracle OS-Level username and password stored in Grid Control in order for GC to set up and manage a Data Guard database.
    Is it because when the database is being created, GC issues commands like RMAN and SCP to put files onto the standby host?
    Also, for accountability purposes, can I not use a named user account (with the same privs as the oracle user) saved as the preferred credential and still perform the necessary functions to use DG and GC together effectively.
    Probably a lot of info and variables, and I've not explained much, but happy to explain further if needed.
    Thanks!
    Edited by: joe.bednarz on Oct 14, 2009 9:38 AM

    Thanks for the input... we need to use another account other the "oracle" account so there is some accountability for who does what. If I create an account that has similar privileges as the oracle user, I can still run all things Oracle, while still having a log of my log in time and actions.
    More of security issue...
    Thanks again. Appreciate it!

  • Hey guys I need y'all's help!!! CO on my report!!!

    So I'm twenty-one years old and I take my credit extremely seriously, especially since i don't make a lot of money. I just logged in to CK and saw a CO from 05/15 from an apartment complex that my mom was living at. I moved out of there and into my own place on 08/14, yet the account was still considered a "joint account". I did stay there from 02/13 to 08/14. Everything I worked so hard for, credit wise, has virtually been for nothing if I can't get this item removed. How do I go about getting the CO off of my credit report? The CO is on my EQ report and not TU. I haven't been able to look at EX yet. This is so frustrating. I worked so hard to get where I am today, only to be kicked back in a dark pit because of my parents discrepancies. Please help! I need to get back on track. I have to get that CO removed from my credit report!

    You can send them an offer to pay the delinquent debt in exchange for their agreement to delete the reported charge-off.You should do that promptly, as charged-off debt is often referred to a debt collector or sold, which would most likely result in the addition of a collection to your credit report.

  • Need some Info and help.

    Dear Friends,
    I have two selects running something like this:
    select <column-names> from <table-names> where <conditions>
    union
    select <column-names> from <table-names> where <conditions>.
    there are three outer-join conditions in the first select and
    three outer joins in the second like:
    c=l(+)[in the first select]
    d=m(+)
    e=n(+)
    and
    f=l(+) [in the second select]
    g=m(+)
    h=n(+)
    The result here generates 52 rows which is correct.
    Now the case is that I am removing the union clause from the above SQL
    and converting it like this.
    select <column-names[1]>+<column-names[2]> from <table-names[1]>+<table-names[2]> where <conditions[1]>+<conditions[2]>
    but i get the error:
    same table cannot be outerjoined to two tables in the same query because i now have this
    in the new query :
    c=l(+)[from the first select]
    d=m(+)
    e=n(+)
    f=l(+) [from the second select]
    g=m(+)
    h=n(+)
    if I remove the join like:
    c=l[from the first select]
    d=m
    e=n
    f=l(+) [from the second select]
    g=m(+)
    h=n(+)
    the query executes but results into 160 rows too much of unneeded redundancy, which is wrong.
    My question is that:"Is there any way to do this? I mean to remove the union and combine the two selects into one without affecting the result of the Query which should be 52 rows only (while not affecting the joins I think this should also be the case)".
    Need your suggestions.
    Thanks,
    Vishal

    The union set operator performs a sort and deletes duplicates as a part of its definition.
    If your revised query gives you the correct results only with duplicate rows then a select distinct may be all you need.
    The cost of the sort and duplicate delete operation will affect your query performance but as the output result set is fairly small I do not think it will make much of a difference.
    HTH -- Mark D Powell --

  • Need some advise and help Transferring files one mac to other

    I have created quite a problem for my self and can not seem to get out of it.
    I transferred my system from the G4 to the new Intel IMAC. Ended up with two accounts on the new Intel IMac. Was told to go to user/ and transfer files from one account to the other. Lost all of my files. Can not get the netscape back on with my bookmarks, Safari does not have any of my stored bookmarks, Quicken, Family Reunion are locked. Have done the permission repair. Still messed up.
    To add to this, I than decided to retransfer from G4 to Intel IMAC, but can not establish a target disk using Firewire. Follow the instructions holding T down and the screen comes up saying to reboot or shut down, it will not go to the target mode. And it does not appear that the G4 has a firewire extension now, it did two days ago. Can any one help?

    The Windows drive is probably formatted NTFS which is not natively writable
    by the Mac. It should be formatted as FAT32 to be usable on both.
    Dave

  • I need some serious iTunes help or I'm going to throw my iPod in the pool..

    Okay...here's my problem. I cannot import. There is no import button at all. There is on my husbands computer but not mine. I have repaired iTunes in the add/remove programs and I just uninstalled and reinstalled iTunes. I'm trying to put my son's CD's on my computer to load on to his Shuffle.
    I did a diagnostic on the Apple help boards and it did say that it did not detect an audio CD but I do have one.
    Any advice? I would be so grateful.
    Silverceladon

    I'm having the same problem. Bought my girlfriend an Ipod for Chistmas and can't import cd's into Itunes to load to the Ipod. The cd doesn't show up at all in Itunes nor does it ask if you want to import the songs. It used to work. Don't know what happened. I ran Itunes diagnostics on my cdrom drive and get an error 263. Sent that to tech support but no response. Let me know if anyone has a solution.
    Dbroc52

  • Can't do ISAKMP & fixup protocol esp-ike. I need a work-around HELP

    I have a pix where I have the "fixup protocol esp-ike" enabled. In this pix, I am trying to set it up as VPN Lan-to-Lan, so the first line I try is "isakmp enable outside", but as soon as I type it, it tells me
    ISAKMP cannot be enabled since fixup protocol esp-ike is enabled. Please correct your configuration and re-issue the command
    I read that NAT-traversal can perhaps fix this, but I already tried it. I typed "isakmp nat-traversal 3600" and it went OK. I then tried the "isakmp enable outside" again but it gave me the same error message
    So I don't know what to do at this point
    any help please?
    thanks

    No, PAT is not being used in my pix. Only NAT. My pix 506e acts as a NAT device.
    I have read that the 2 commands aren't compatible, so I was asking if there is a work-around that someone can help me with?
    thanks

Maybe you are looking for

  • Unable to find product oracle.swd.jre[1.4.1, 9.9.9.] in Oracle Inventory

    I am trying to install Oracle 10g on Solaris 10 (SPARC) using the OUI and receive the following error towards the beginning of the install. unable to find product oracle.swd.jre[1.4.1, 9.9.9.] in Oracle Inventory Please respond if you have encountere

  • I am getting an error message when trying to publish to BC.

    When I am trying to update our site through BC I am getting error #2058: There was an error decompressing the data. What does this mean and how do I fix it?

  • Audio Transferring problem with MW600 ?

    I recently purchased MW600 Bluetooth Headset for my Nokia N900. No issues with auto-pairing or connecting. Its good in Music/Audio but the problems are : 1. Oftenly Audio is not transferring to Headset from my phone, Sound is coming from phone only b

  • Series of Dark Spots at the Screen Bottom

    Hi all, Just purchased my Macbook Pro 15" w/ Anti-Glare LCD screen. This is the 4th Mac I've owned over the years so I'm familiar with them. The second time I went to use it, I noticed a series of dark spots positioned horizontally at the bottom of t

  • Reg:Axis Web Service

    Hi , I am going to use third party software for Web service. In most of their web service web methods take Datatable (a .net Framework class that represents a table) as input parameters and return the same. So it isn't interoperable with java. We are