Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RetroX

406
Tips, Tutorials, Examples / Re: Which should I use?
« on: July 02, 2010, 12:14:45 PM »
Strange; it was showing an HTML entity at the time that I saw it.

407
Proposals / Re: LGM Bug
« on: June 28, 2010, 08:45:29 PM »
I figured out what the problem was, and it was quite a stupid one.  It was I hadn't chmod'd ENIGMA properly and LGM couldn't run.  Because of the way that ENIGMA is designed, you can't get away with read-only permissions.  It works well for Windows, but not quite for GNU/Linux. :/

408
Proposals / Re: LGM Bug
« on: June 27, 2010, 06:17:00 PM »
LGM still segfaults for me.

Java Version: 10600 (1.6.0_20)
Loading lib files in /opt/enigma/lgm16b4.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl
SvnKit missing, corrupted, or unusable. Please download and place next to the enigma plugin in order to enable auto-update.
Initializing Enigma: #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f898c5af304, pid=5829, tid=140228728006416
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode linux-amd64 )
# Problematic frame:
# C  [libc.so.6+0x62304]  fclose+0x4
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid5829.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Intializing Parsers.Aborted

409
Tips, Tutorials, Examples / Re: Which should I use?
« on: June 27, 2010, 09:07:33 AM »
Your parser broke.

410
Announcements / Re: I have defeated Valgrind
« on: June 22, 2010, 02:59:37 PM »

411
Tips, Tutorials, Examples / Re: Which should I use?
« on: June 14, 2010, 08:02:32 AM »
int& does not make an array; it makes a reference to a single integer.  References shouldn't be used for arrays.

412
Announcements / Re: Tentative Todo
« on: June 05, 2010, 11:24:20 AM »
Not a syntax error. But this is better anyway:
Code: [Select]
typedef These vector<This>;
Well, it gave me a syntax error the last time that I did something like that. :/

413
Proposals / Re: Recursion
« on: June 05, 2010, 11:22:36 AM »
If you can end a loop by turning off the computer, then it's not infinite according to your definition. Apparently.

Anyway, you assume wrong. The computer doesn't just shut down when it runs past the kernel's code. If that ever happens, it starts executing whatever garbage happens to be there. Shutting down the computer is pretty forceful, even if it's the OS doing it.
Well, not having much hardware knowledge, I'll have to trust that you're telling the truth on that one.

However, beyond the kernel, infinite loops are hardly ever "intentional."

Also:
Code: [Select]
double sine(double x) { return sine(x+8*atan(1)); }

414
Announcements / Re: Tentative Todo
« on: June 04, 2010, 05:40:29 PM »
I volunteer to code anything which doesn't involve working with assembly, java, or pre-existing code.
This
Code: [Select]
class This{

};
You haven't told me anything about This yet so I can't really do much more than that.
Code: [Select]
class that : public This
  {
  };
Code: [Select]
#include <vector>
class these : public vector<This>{
};
Syntax error: class inherited as template

415
Proposals / Re: Recursion
« on: June 04, 2010, 05:25:14 PM »
By RetroX's definition, there are no infinite loops, then.
did you even read my post

416
Announcements / Re: Tentative Todo
« on: June 04, 2010, 05:22:44 PM »
I volunteer to code anything which doesn't involve working with assembly, java, or pre-existing code.
This
Code: [Select]
class This{

};
You haven't told me anything about This yet so I can't really do much more than that.
Code: [Select]
class that : public This
  {
  };

417
Announcements / Re: Tentative Todo
« on: June 04, 2010, 04:49:42 PM »
I volunteer to code anything which doesn't involve working with assembly, java, or pre-existing code.
This

418
Proposals / Re: Recursion
« on: June 04, 2010, 03:30:53 PM »
No, most compiler writers just think that disallowing void main() is stupid.
Meaning that the program never fails ever
...like if it's in an infinite loop.
that is the programmer's fault and they are an idiot if that happens
unless it's intended like many parts of a kernel or a device driver.
I believe that the definiton of "infinite" implies "never ending"
the kernel's loop never ends until the computer turns off.
I'd assume that turning the power off wouldn't forcefully end the loop and that the end of the loop results in the power turning off

419
Off-Topic / Re: c++0x
« on: June 03, 2010, 06:26:23 PM »
Again, I'm no longer arguing with you.  You can't make a valid argument.

420
Announcements / Re: Tentative Todo
« on: June 03, 2010, 04:53:12 PM »
Also, as a completely random thought: the number of points on the circle should be settable in points per pixel, not 0-64.  Unless that's how it's already done.
Remove the cap on 0-64 is a better idea but if you really want points per pixel...
number_of_sides = radius*points_per_pixel*2*pi;
Yes but it's reliant on a function that I really don't want to mess with every time that I draw a circle/ellipse/roundrect.