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.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 »
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
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 »Can you translate?
All that happened was realloc() took a shit.
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:Well, it gave me a syntax error the last time that I did something like that. :/Code: [Select]typedef These vector<This>;
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.Well, not having much hardware knowledge, I'll have to trust that you're telling the truth on that one.
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.
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 »Syntax error: class inherited as templateI volunteer to code anything which doesn't involve working with assembly, java, or pre-existing code.ThisCode: [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>{
};
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 »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 »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 offthe kernel's loop never ends until the computer turns off.I believe that the definiton of "infinite" implies "never ending"unless it's intended like many parts of a kernel or a device driver.that is the programmer's fault and they are an idiot if that happens...like if it's in an infinite loop.No, most compiler writers just think that disallowing void main() is stupid.Meaning that the program never fails ever
420
Announcements / Re: Tentative Todo
« on: June 03, 2010, 04:53:12 pm »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.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;