• 0

    posted a message on Small programming challenge
    So this is out of my practice computer science scholarship exam. I found it quite fun to do post your code when finished and follow what it tells you to do.

    Problem:



    Enjoy.
    Posted in: Computer Science and Technology
  • 0

    posted a message on Computer Science Scholarship Exam Question
    So I am studying old CS Scholarship exam papers in practice for my exam 1 week from now. I am more concerned about the theory part of the exam rather than the practical (Spreadsheets and Programming). There is this question:



    Would I be correct in saying that the idea is incorrect because if you compressed something that is already compressed you would more than likely lose some information which in turn would corrupt the image? I have never really had to cover this sort of topic.

    If you have any thing to say about this, please do.
    Posted in: Computer Science and Technology
  • 0

    posted a message on Automating Homebrew Robot
    Depends on how big it is. My basic thoughts would be to get a micro-controller (That you can program to control the movement of a motor, and the arm). You may also need some form of infra-red sensor to have a bit of surface detection if needed.
    Posted in: Computer Science and Technology
  • 0

    posted a message on Coding Challenge
    You don't even need to know programming to get this. Just cryptography.
    Posted in: Computer Science and Technology
  • 0

    posted a message on Science class was awesome today!
    Quote from Logicx

    I remember doing this a few years back. We threw the dry ice into ponds by our school and watched it bubble. And also put it into 1 litre bottles of water and watched them explode :)

    Aww that's boring :| Lucky I live in New Zealand then :) We also only used enough to make enough pressure to explode the container. It was also done in an open grassy area away from buildings and people. we also stood quite far away.
    Posted in: Computer Science and Technology
  • 0

    posted a message on Science class was awesome today!
    I remember doing this a few years back. We threw the dry ice into ponds by our school and watched it bubble. And also put it into 1 litre bottles of water and watched them explode :)
    Posted in: Computer Science and Technology
  • 0

    posted a message on [SERVER/WEB TOOL]Player List
    would anyone be interested in being able to change all the colours of the player list? To make it more customizable.
    Posted in: Minecraft Tools
  • 1

    posted a message on [SERVER/WEB TOOL]Player List
    So I was bored and whipped this up. It is a basic website playerlist that you could use for your server. The list updates every 3 seconds and is easy to use.

    NOTE: Make sure you have enable-query set to true in your server properties or it will not work

    A live version of the playerlist can be seen here:

    http://60.234.250.8/....net&port=25565


    To implement it in your website, simply add this to your website:

    <iframe style="border: 0px;padding: 0px;margin: 0px" src="[url="http://60.234.250.8/?ip=skyblock.net&port=25565"]http://60.234.250.8/....net&port=25565[/url]" width="217px" height="300px"></iframe>


    All you need to do to configure your server is replace skyblock.net with your ip and 25565 with your minecraft port. Then

    Enjoy :)
    Posted in: Minecraft Tools
  • 0

    posted a message on question about temprature
    Where I live (New Zealand) 4 degrees celius is quite cold. Our winter normally only just goes below freezing point at about -5C Max but normall -1C. In summer 27C is hot.
    Posted in: Computer Science and Technology
  • 0

    posted a message on out of memory
    It means what it says. Your computer only has so much memory (RAM) and Minecraft is needing more memory than your computer can supply, so it crashes. Only way to fix this is to launch minecraft with less ram then you actually have.
    Posted in: Java Edition Support
  • 0

    posted a message on Java Club Opening Opinions
    Quote from Bluelephant4

    The catch is for the sleep tick, I'm going to zoom in on my scree and it's going to take me a second to get down to the console. And yes, this does work. All that this program does is wait a second, then print "Welcome to Java Club!" in the console. As for the threads.... I explained that in the first sentence!



    I have tested this. This isn't meant to be an application, just a simple console program. I use Eclipse Indigo, if it makes a difference.


    Your code won't work. catch block exception won't be triggered because there is nothing to trigger an error. I believe you want this code:

    public class Main {
        public static void main(String[] args) {
    
            try {
    
                Thread.currentThread();
                Thread.sleep(1000);
    
                System.out.println("Welcome to Java Club!");
    
            } catch(InterruptedException e) {
    
    
    
            }
        }
    }
    Posted in: Computer Science and Technology
  • 0

    posted a message on Ammy Scam
    Yeah happens a lot. I just tell them I am running linux and they hangup straight away.
    Posted in: Computer Science and Technology
  • 0

    posted a message on Computer Science Question.
    Thanks for the great explanation. The only part I don't understand is how did you get from:

    110 010 100 101 <- This
    3 2 1 5 <- To this

    And

    1100 1010 0101 <- This
    3 5 A <- To this


    If you could explain this, I would very much appreciate it.
    Posted in: Computer Science and Technology
  • 0

    posted a message on [URGENT] Very Bad Fake FBI MoneyPak Virus
    Apart from system restore other easiest option would be to boot into safe mode and clean it up whilst in there.
    Posted in: Hardware & Software Support
  • 0

    posted a message on Java Eclipse: Displaying an image?
    Quote from martin509

    The project file? which part? the 'eclipse' folder? the 'src' folder?

    When loading an image from a class it always loads the file from the directory which said class is located in. Naturally all files that are created in eclipse or any other idea are stored in the bin output folder of your project.
    Posted in: Hardware & Software Support
  • To post a comment, please .