YesNoOk

Show content

This section allows you to browse the content for this member. Note that you can only see content for which you have sufficient viewing permissions.

**
ShunpoHadouken is Offline
Contact ShunpoHadouken:

ShunpoHadouken

User

Messages by ShunpoHadouken

    

Re: Printing An Image

 February 11, 2010, 01:16:31 am View in topic context
 Posted by ShunpoHadouken  in Printing An Image (Started by ShunpoHadouken December 26, 2009, 04:07:51 pm
 Board: Off-Topic Help

Does it really true that Epson tx110 don't have refill ink?
Because when i'm trying to find a refill ink, the seller says that there was no refill ink for epson tx110.
Anyway, what is a continuous ink supply system?
    

Re: Printing An Image

 January 27, 2010, 02:59:36 am View in topic context
 Posted by ShunpoHadouken  in Printing An Image (Started by ShunpoHadouken December 26, 2009, 04:07:51 pm
 Board: Off-Topic Help

Oops, additional question.
what is much more expensive, colored ink or black ink?
    

Re: Good virus sanner or anti-virus program

 January 24, 2010, 02:06:07 am View in topic context
 Posted by ShunpoHadouken  in Good virus sanner or anti-virus program (Started by ShunpoHadouken December 20, 2009, 04:18:42 am
 Board: Off-Topic Help

Hi again.
Anyway, if avira is good anti-virus program that is free.
How about a good anti-virus program that is not for free?
    

Re: Printing An Image

 December 26, 2009, 04:31:57 pm View in topic context
 Posted by ShunpoHadouken  in Printing An Image (Started by ShunpoHadouken December 26, 2009, 04:07:51 pm
 Board: Off-Topic Help

you can conserve  black ink by telling the printer to use other colours to mix in the black.
Any picture that uses a lot of dark colours consumes a lot of ink, printing pictures is always taxing on ink.

using other colors to mix in black is pretty interesting.
oh, dark colors consumes a lot of ink, i better watch out about that.
thanks a lot.
    

Printing An Image

 December 26, 2009, 04:07:51 pm View in topic context
 Posted by ShunpoHadouken  in Printing An Image (Started by ShunpoHadouken December 26, 2009, 04:07:51 pm
 Board: Off-Topic Help

Hi everyone.
I've purchased epson tx110 and i'm a beginner in using a printer.
how do i conserve inks?
and also, if i gonna print an image, how do i know that an image can consume lots of ink?

thanks in advance again for any help.
    

Re: Good virus sanner or anti-virus program

 December 26, 2009, 04:04:07 pm View in topic context
 Posted by ShunpoHadouken  in Good virus sanner or anti-virus program (Started by ShunpoHadouken December 20, 2009, 04:18:42 am
 Board: Off-Topic Help

I have tried Antivir and it's fine for me.
Thanks a lot for helps.
I'm going to use Antivir now.
    

Good virus sanner or anti-virus program

 December 20, 2009, 04:18:42 am View in topic context
 Posted by ShunpoHadouken  in Good virus sanner or anti-virus program (Started by ShunpoHadouken December 20, 2009, 04:18:42 am
 Board: Off-Topic Help

hello everyone.
i'm having problem with my pc cause i always got viruses.
it really pisses me off.
hope got some help.
what virus scanner is the best one out there also what is the best anti-vorus out there?
thanks in advance for any help.
    

Re: -0 Java programming

 August 27, 2009, 12:06:34 am View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

Oh so that was it.
thank you.

Thanks Iced,Valodim,Byakko,Cybaster, thanks a lot for help!.  ;D
    

Re: -0 Java programming

 August 26, 2009, 11:53:58 pm View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

[mcode]public class Switch {
    public static void main(String[] args) {
String i = "-0";
if(i.equals("-0"))
{System.out.println("INVALID");}
else
{
int x=Integer.parseInt(i);
if (x>0)
{System.out.println("POSITIVE");}
else
    if (x<0)
    {System.out.println("NEGATIVE");}
    else
        {System.out.println("ZERO");}
}
}
}[/mcode]
Yehey! the program now works perfectly.
Thank you very much everyone that helped me.
thanks a lot.

Now this program is finished.
but, can i ask some last question. Please.  :)
I need this so that i can explain it to my professor when she ask me.
Why should I declare variable "i" as string? String i = "-0"; Is it so that java will read "-0" different form a "0".
Why should i declare variable "x" like this: int x=Integer.parseInt(i);? Is it to convert the string variable i to an integer?


thnaks a lot.
    

Re: -0 Java programming

 August 26, 2009, 01:59:13 pm View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

Here  :)
[mcode]public class Switch {
    public static void main(String[] args) {
String i = "-0";
if(i.length() >= 2 && i.substring(0,1) == "-" && i.substring(1,2) == "0")
{System.out.println("INVALID");}
else
{
int x=Integer.parseInt(i);
if (x>0)
{System.out.println("POSITIVE");}
else
    if (x<0)
    {System.out.println("NEGATIVE");}
    else
        {System.out.println("ZERO");}
}
}
}[/mcode]
    

Re: -0 Java programming

 August 26, 2009, 12:47:16 pm View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

Yey the program now runs but still the problem exist  :(
sorry for asking too much.
still the output is zero instead of invalid.
    

Re: -0 Java programming

 August 25, 2009, 03:47:45 pm View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

String i = "-0";
Need quotes for strings.
oh thanks, I'll remember that.

i've change it to:
[mcode]public class Switch {
    public static void main(String[] args) {
String i = "-0";
if(i[0]=="-"&&i[1]=="0")
{System.out.println("INVALID");}
else
{
int x=i.toint();
if (x>0)
{System.out.println("POSITIVE");}
else
    if (x<0)
    {System.out.println("NEGATIVE");}
    else
        {System.out.println("ZERO");}
}
    }
}[/mcode]

but net beans said:
[mcode]init:

deps-jar:

Compiling 1 source file to F:\NetBeans\Switches\build\classes

F:\NetBeans\Switches\src\switches\Switch.java:4: array required, but java.lang.String found

if(i[0]=="-"&&i[1]=="0")

F:\NetBeans\Switches\src\switches\Switch.java:4: array required, but java.lang.String found

if(i[0]=="-"&&i[1]=="0")

F:\NetBeans\Switches\src\switches\Switch.java:8: cannot resolve symbol

symbol  : method toint ()

location: class java.lang.String

int x=i.toint();

3 errors

BUILD FAILED (total time: 0 seconds)

[/mcode]
    

Re: -0 Java programming

 August 25, 2009, 03:32:13 pm View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

I'm really sorry i'm terrible at it.

[mcode]public class Switch {
    public static void main(String[] args) {
string i= -0;
 
if(i[0]=="-"&&i[1]=="0")
{System.out.println("INVALID");}
else
{
int x=i.toint();
if (x>0)
{System.out.println("POSITIVE");}
else
    if (x<0)
    {System.out.println("NEGATIVE");}
    else
        {System.out.println("ZERO");}
}
    }
}[/mcode]

but net beans said:
[mcode]
init:

deps-jar:

Compiling 1 source file to F:\NetBeans\Switches\build\classes

F:\NetBeans\Switches\src\switches\Switch.java:3: cannot resolve symbol

symbol  : class string

location: class Switch

string i= -0;

1 error

BUILD FAILED (total time: 0 seconds)
[/mcode]
    

Re: -0 Java programming

 August 25, 2009, 02:37:12 pm View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

im really sorry im a beginner  :sugoi:

heres what i did:
[mcode]public class Switch {
    public static void main(String[] args) {
string i= -0;
string x=i.toint();
if(x[0]=="-"&&x[1]=="0")
{System.out.println("INVALID");}
else
{if (i>0)
{System.out.println("POSITIVE");}
else
    if (i<0)
    {System.out.println("NEGATIVE");}
    else
        {System.out.println("ZERO");}
}
    }
}

[/mcode]

but i got these error:
[mcode]init:

deps-jar:

Compiling 2 source files to F:\NetBeans\Switches\build\classes

F:\NetBeans\Switches\src\switches\Switch.java:3: cannot resolve symbol

symbol  : class string

location: class Switch

string i= -0;

F:\NetBeans\Switches\src\switches\Switch.java:4: cannot resolve symbol

symbol  : class string

location: class Switch

string x=i.toint();

2 errors

BUILD FAILED (total time: 0 seconds)

[/mcode]
    

Re: -0 Java programming

 August 25, 2009, 01:30:27 pm View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

[mcode]string x=i.tostring();
if(x[0]=="-"&&x[1]=="0")
{System.out.println("INVALID");
else
{if (i>0)
{System.out.println("POSITIVE");}
else
    if (i<0)
    {System.out.println("NEGATIVE");}
    else
        {System.out.println("ZERO");}
}[/mcode]

geddit?

Am i right ???
[mcode]
class Switch {
    public static void main(String[] args) {
int i = -0;
string x=i.tostring();
if(x[0]=="-"&&x[1]=="0")
{System.out.println("INVALID");}
else
{if (i>0)
{System.out.println("POSITIVE");}
else
    if (i<0)
    {System.out.println("NEGATIVE");}
    else
        {System.out.println("ZERO");}
}
    }
}[/mcode]

i dunno why it don't run.

-0 is most likely simplified to 0 as soon as you put it as a number, because -0 = 0. Like, if you declare a number (integer, double or whatever), even if you set it to "-0", if you try to display it immediately afterward it will still give you 0 and not -0.
Declare it as a string right off the bat and test for -0 then you can make it a number, I don't even reckon the number made tostring will give you the minus back.
You can check by writing i = -0 and then putting a sysout to display it, it will give you 0. Not +0, not -0, just 0.
Yes you're right.
it gives me only 0.  ???

    

Re: -0 Java programming

 August 25, 2009, 12:52:43 pm View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

thanks but i don't understand  :'(
anyway, here's what i used to do:

[mcode]class Switch {
    public static void main(String[] args) {
double i = -0;
if (i>0)
{System.out.println("POSITIVE");}
else
    if (i<0)
    {System.out.println("NEGATIVE");}
    else
        if (i==+0)
        {System.out.println("ZERO");}
        else
            if (i==-0.0)
            {System.out.println("INVALID");}
            else
                {System.out.println("INVALID");}
    }
}

still doesn't work.
[/mcode]
    

-0 Java programming

 August 25, 2009, 11:51:09 am View in topic context
 Posted by ShunpoHadouken  in -0 Java programming (Started by ShunpoHadouken August 25, 2009, 11:51:09 am
 Board: Off-Topic Help

Hi i need help.
Our professor gave an assignment i thought is easy, but not.
its about Java programming language with the usage of Net beans 5.0.
its the usage of IF_ELSE.
the output is when you input a number, it will determine if the inputted number is positive(greater than 0), negative(lesser than 0), Zero(0) or invalid(if inputted is -0).
everything is alright but still have a problem,when i inputted "-0" it displays "0" instead of "invalid".
What should I do?

i'm trying to make everything alright for almost 3 hrs but i failed.
can anyone help me out please.
thanks in advance.
    

Re: Computing(scheduling) and (queuing)

 August 17, 2009, 06:01:03 am View in topic context
 Posted by ShunpoHadouken  in Computing(scheduling) and (queuing) (Started by ShunpoHadouken August 15, 2009, 03:09:15 pm
 Board: Off-Topic Help

oh thank you!.
now I little bit clearly understand it. v ;D
thank you very much.
    

Re: Computing(scheduling) and (queuing)

 August 16, 2009, 08:52:16 am View in topic context
 Posted by ShunpoHadouken  in Computing(scheduling) and (queuing) (Started by ShunpoHadouken August 15, 2009, 03:09:15 pm
 Board: Off-Topic Help

Now I really understand the queuing.
Thanks a lot iced.
I also understand a bit about scheduling but i don't know where this apply.
It schedules processes run right?
what are processes? if processes are programs?
how do scheduling vary in it?

thanks a lot for help and sorry for my lots of question.  ;D
    

Computing(scheduling) and (queuing)

 August 15, 2009, 03:09:15 pm View in topic context
 Posted by ShunpoHadouken  in Computing(scheduling) and (queuing) (Started by ShunpoHadouken August 15, 2009, 03:09:15 pm
 Board: Off-Topic Help

I have a question related in computing. Because I have a report and I really need help.
I can't simply understand these definition I have found.
FIRST:
Scheduling is a key concept in computer multitasking and multiprocessing operating system design, and in real-time operating system design. In modern operating systems, there are typically many more processes running than there are CPUs available to run them. Scheduling refers to the way processes are assigned to run on the available CPUs. This assignment is carried out by software known as a scheduler.

What? and How? is Scheduling?
What are scheduler? are anti virus softwares are scheduler?

SECOND:
queuing refers to lining up jobs for a computer or device.

What is queing? I just know about downloading but i can't understand queing?


Please, anyone, i really need help and examples to understand them.