Wikipedia:Reference desk/Archives/Computing/2018 October 5

= October 5 =

Java - error: integer number too large: 600851475143
As the title says, I get an error message when trying to assign that number to an int or even a long. How do I get around this? I'm not even sure if I should be getting this error as I don't think the number is that big. --Polyknot (talk) 11:49, 5 October 2018 (UTC)
 * Our article Integer (computer science) says in the table in the section 'Common integral data types' that Java  is 32 bits, hence its range is −2,147,483,648 to 2,147,483,647. You may try a 64-bit   for values up to 9,223,372,036,854,775,807. --CiaPan (talk) 11:57, 5 October 2018 (UTC)
 * As I said I've tried long as well and I still get the same error. --Polyknot (talk) 12:04, 5 October 2018 (UTC)
 * What error exactly do you get? And in what context? Is it about assigning the value to a variable, or may be about the value itself? Did you try to append  at the end of the constant, like this: , to indicate it is  ? --CiaPan (talk) 12:31, 5 October 2018 (UTC)
 * Did you try to just use the number but not assign it anywhere? Say, or something...? --CiaPan (talk) 13:56, 10 October 2018 (UTC)

Non-interactive "RPG"
I recall a parody non interactive "RPG" which worked on telnet (probably). Essentially you made a connection to the server and something like this happened:

Essentially the longer you stayed connected, the higher level (and the more bored) you got. Naturally people had connected unattended telent sessions, some of them running for months or maybe years - there was a leader-board. If you disconnected, you had to restart from zero.

Anyone remember the name, location and know if it still exists?

All the best: Rich Farmbrough, 13:36, 5 October 2018 (UTC).


 * Maybe Progress Quest? CodeTalker (talk) 13:57, 5 October 2018 (UTC)
 * That's the one! Progress Quest.  Must play... All the best: Rich Farmbrough, 15:01, 5 October 2018 (UTC).


 * That looks like it is almost as fun as Desert Bus! --Guy Macon (talk) 16:35, 5 October 2018 (UTC)