also @ TechSpot: Building a Thin Mini-ITX PC: Small and Silent Performance

No discussion, post your clipboard content right now!

Discussion in 'General Discussion' started by Didou, May 25, 2004.

Post New Reply
  1. Phantasm66 Newcomer, in training Posts: 6,504

    SUNW,Sun-Fire-15000
  2. Arris TechSpot Evangelist Posts: 4,307   +17

    Will do after I finish another review off first...
    Time is something I could do with more of :D
  3. Goalie Newcomer, in training Posts: 703

    sendto_serv_butone (NULL, ":%s NICK %s :%i", parv[1], parv[2],
    atoi (parv[3]));
    if (acptr->name[0]) {
    (void) del_from_client_hash_table (acptr->name, acptr);
    if (IsPerson (acptr))
    hash_check_notify (acptr, RPL_LOGOFF);
    }
    (void) strcpy (acptr->name, parv[2]);
    (void) add_to_client_hash_table (parv[2], acptr);
    if (IsPerson (acptr))
    hash_check_notify (acptr, RPL_LOGON);
  4. Phantasm66 Newcomer, in training Posts: 6,504

  5. StormBringer Newcomer, in training Posts: 2,871

    With Windows XP Professional running, insert the Windows XP Professional operating system CD into your CD-ROM drive.
    Click No when prompted to upgrade to Windows XP Professional.
    In the Run dialog box, type cmd, and then click OK.
    At the command prompt, type:
    drive:\i386\Winnt32.exe /cmdcons
    Restart your computer. Recovery Console appears as an item on the operating system menu.
  6. Didou Bowtie extraordinair! Posts: 5,898

    Tech people say the darndest things...:p
     
  7. BrownPaper Newcomer, in training Posts: 467

    fsum.exe -c md5sum
  8. me(who else?) Newcomer, in training Posts: 433

    int spin2;
    turnLeft(90 - e.getBearing());
    spin2 = spin;
    spin = 0;
    fire (30);
    spin = spin2;
    if(spin == 5){
    spin = -5;
    }
    else{
    spin=5;
    }

    Part of a function for my robot in Robocode;)
  9. MrGaribaldi TechSpot Ambassador Posts: 2,802

    Code:
     protected void meny(){
            //Lage GUI for meny(), GridLayout
            setTitle("Slektskapsregister: Meny");
            JLabel tittel = new JLabel("Velkommen til Ruritanias Slektskapsregister", JLabel.CENTER);
            //tittel.setHorizontalTextPosition(CENTER);
            JLabel blank, blank2, blank3, blank4, visPersonLapp, visSlekstreLapp;
            blank = new JLabel("         ");
            blank.setBorder(BorderFactory.createEmptyBorder());
            blank2 = new JLabel("          ");
            blank2.setBorder(BorderFactory.createEmptyBorder());
            blank3 = new JLabel("          ");
            blank3.setBorder(BorderFactory.createEmptyBorder());
            blank4 = new JLabel("          ");
            blank4.setBorder(BorderFactory.createEmptyBorder());
            
            menyKnapp1.addActionListener(new NoeSkjer());
           .....
            menyKnapp11.addActionListener(new NoeSkjer());
            
            JPanel knappePanel = new JPanel();
            knappePanel.setLayout(new GridLayout(12,1));
            
            knappePanel.add(menyKnapp1);
            .....
            knappePanel.add(menyKnapp11);
            knappePanel.add(menyKnapp0);
            søkKnapp.addActionListener(new NoeSkjer());
            
            JPanel topp = new JPanel();
            topp.setLayout(new GridLayout(2,1));
            topp.add(tittel);
            topp.add(blank4);
            
            Container lerret = getContentPane();
            lerret.setLayout(new BorderLayout());
            lerret.add(topp, BorderLayout.NORTH);
            lerret.add(knappePanel, BorderLayout.CENTER);
            lerret.add(blank, BorderLayout.WEST);
            lerret.add(blank2, BorderLayout.EAST);
            
            //Standard besvergelser
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            setSize(400, 400);
            setLocation(30,30);
            setVisible(true);
        }
    Part of a java program I'm writing as an excercise before the exam...
    "..." is removed code that is identical to the one on the previous and following line, only with a diff identiier...
  10. Didou Bowtie extraordinair! Posts: 5,898

    I didn't know TS had [ code ] tags.:blackeye:

    Code:
    for (int i = 0; i <= 100; i++) {
      printf("MrG is a bum !!!\n");
    }
    :grinthumb
  11. MrGaribaldi TechSpot Ambassador Posts: 2,802

    Code:
    while(!didouIsCool) {
        System.out.println("Didou, is that egg on your face?\n");
    }
    
    ;) :D
  12. Spike Newcomer, in training Posts: 2,371

    Does this mean I need to learn to code well in order to communicate here from now on? lol
  13. Rick TechSpot Staff Posts: 6,250   +38

    E:\Main Music\Joe Satriani\Joe Satriani - The Electric Joe Satriani\
  14. acidosmosis TechSpot Chancellor Posts: 1,574

    Eh. If I pasted what is in my clipboard right now, I would be posting very personal email content :-D.
  15. MrGaribaldi TechSpot Ambassador Posts: 2,802

    http://www.beyond3d.com/reviews/videologic/vivid/index1.php


    Spike, not really...
    But a simple program (or part of one) wouldn't be out of order...

    acid, then either find something else to keep in the clip-board when you visit us, or edit out the juicy parts...
    (After you've mailed me the uncut version ;) :D)
  16. SubKamran Newcomer, in training Posts: 303

    No lies, I copied that and pasted it to my friend over IM. LOL
  17. ---agissi--- TechSpot Paladin Posts: 2,369   +9

    wow, the amount of bs spam threads here lately is unbelieveable.
  18. Moimit Newcomer, in training Posts: 136

  19. MrGaribaldi TechSpot Ambassador Posts: 2,802

    Sub> LoL! That's an oldie, but still funny!

    agissi> Well, if you don't like this thread, you don't have to read it... But you can think of it more like the original word-game-thread. A thread in which you can spam, and noone will think less of you for doing it.

    Besides, I think it's fun to spam with code snippets :D
    And it can be educational, like if you figure out what I'm doing with this code, and spot an error, or can show me a way to optimise it...
    Code:
        public void genArray(int lengde){
            tabel = new int[lengde];
            for(int i = 0; i < lengde; i++){
                tabel[i] = nr.nextInt(575);
            }
        }
           
        public int lSok(int tall){
            for(int i = 0; i < tabel.length; i++){
                if(tabel[i] == tall){
                    return i;
                }
            }
            return -1;
        }
    
        private int bSokRek(int tall, int fra, int til){
            int midt;
            if(fra > til){
                return -1;
            }else{
                midt = (fra+til)/2;
                if(tall == tabel[midt]){
                    return midt;
                }else if(tall < tabel[midt]){
                    return bSokRek(tall, fra, midt-1);
                }else if(tall > tabel[midt]){
                    return bSokRek(tall, midt+1, til);
                }
            }
            return -1;
        }
    }
    
    
  20. Phantasm66 Newcomer, in training Posts: 6,504