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

421
Off-Topic / Re: c++0x
« on: June 03, 2010, 04:32:12 PM »
And of course, I'm one of the worst ones to argue those kinds of points.

Thanks, retep.

422
Off-Topic / Re: c++0x
« on: June 03, 2010, 04:20:51 PM »
It seems unlikely that you'll change your opinion, so, I'll stop arguing with you.

You're still wrong, though.

423
Off-Topic / Re: c++0x
« on: June 03, 2010, 03:59:17 PM »
Java has loads of extra stuff, too.

I don't understand why having the ability to do stuff is worse than having too much that is forcibly included.

In C++, I can code terribly and make a class for every group of functions, but it's not forced.  In Java, you're forced to.

In C++, I can create a base object class that all other classes inherit, but I don't have to.  In Java, it's done automatically, whether or not that you need it.

424
Announcements / Re: Tentative Todo
« on: June 03, 2010, 03:43:07 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.

425
Proposals / Re: Recursion
« on: June 03, 2010, 02:58:26 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"

426
Off-Topic / Re: c++0x
« on: June 03, 2010, 02:39:00 PM »
C++ can be used exactly like Java.  Object can be used to access any type, which can be coded in C.  It's just that C doesn't force you to use it.  Same thing with length and jagged arrays and other random, useless features that Java has.  You can do them in C++, but they're not forced.

How is C++ bloated?  It's "more bloated" than C, yes, but Java is far more bloated than either.  I don't quite understand your logic, here.

"Bloated" would mean "has more features than reasonable" in my opinion, and as far as Java goes, a lot more features are default than necessary.  Yes, it has several extra, useful functions that aren't in the C++ standard libraries, but the default functions that Java automatically uses are way too much.

427
Announcements / Re: Tentative Todo
« on: June 03, 2010, 02:35:16 PM »
But a parabolic curve isn't the same as a circular curve. :/

428
Proposals / Re: Recursion
« on: June 02, 2010, 08:15:28 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

429
Off-Topic / Re: c++0x
« on: June 02, 2010, 08:12:57 PM »
Yes, they're both useful. No, they're not simple.
What's not simple about them?  The pointer is where the variable is in memory.  The reference is that variable, not its value.  Yeah, there are a few operators to convert between them that don't make much sense, but you can still learn what they do.

430
Proposals / Re: Recursion
« on: June 02, 2010, 06:02:39 PM »
No, most compiler writers just think that disallowing void main() is stupid.
Meaning that the program never fails ever

431
Proposals / Re: Recursion
« on: May 31, 2010, 10:29:27 AM »
Code: [Select]
string f()
  {
  return " " . f();
  }

Also, score_under, void main() is illegal.

432
Announcements / Re: Graduation
« on: May 31, 2010, 10:24:19 AM »
Please don't specify the packages using Ubuntu's annoying names.

Dependencies:
gcc, gcc-libs (also g++ if it's separate, which it isn't in every distribution in the entire universe except ubuntu)
libgl, mesa (including development files)
zlib (including development files)
codeblocks or make
subversion
openjre6 or openjdk6 (jdk and jre are ideal)

And for the PKGBUILD that I made:
Code: [Select]
pkgname=enigma-dev
pkgver=249
pkgrel=1
pkgdesc="An open-source alternative to YoYoGame's Game Maker, written in C++."
arch=('i686' 'x86_64')
url="http://enigma-dev.org"
license=('GPL')
depends=('libgl' 'mesa' 'zlib' 'gcc' 'gcc-libs' 'make' 'jre')
makedepends=('pkgconfig' 'subversion' 'make')
sources=()
md5sums=()
_svntrunk=https://enigma-dev.svn.sourceforge.net/svnroot/enigma-dev/
_svnmod=enigma-dev

build() {
  svn co $_svntrunk
  mkdir $startdir/pkg/opt
  mkdir $startdir/pkg/opt/enigma
  cp -r $startdir/src/$_svnmod/trunk -T $startdir/pkg/opt/enigma
  cd $startdir/pkg/opt/enigma/CompilerSource

  rm -rf $(find $startdir/pkg | grep 'svn$')
  rm -rf '$startdir/pkg/opt/enigma/CompilerSource/.eobjs'

  mkdir $startdir/pkg/usr
  mkdir $startdir/pkg/usr/share
  mkdir $startdir/pkg/usr/share/pixmaps
  mkdir $startdir/pkg/usr/share/applications
  cp $startdir/pkg/opt/enigma/enigma.png $startdir/pkg/usr/share/pixmaps
  cp $startdir/pkg/opt/enigma/enigma.desktop $startdir/pkg/usr/share/applications

  make linux || return 1
  }

433
Announcements / Re: Install script - Ubuntu
« on: May 23, 2010, 08:34:21 PM »
Replace the sudo calls with one call to sudo su; or combine the install parameters.

youk now, there was only one sudo, right?

if he were to replace it with sudo su then he would also have to add exit at the end, essentially, to drop out of the administrative shell so as to keep the idiotic users less idiotic.
isn't that uh, automatic?

the shell is automatically exited upon ending the script
Unless they ran the script from within the shell.
Ah, I guess not.

434
Announcements / Re: Install script - Ubuntu
« on: May 23, 2010, 06:55:09 PM »
Replace the sudo calls with one call to sudo su; or combine the install parameters.

youk now, there was only one sudo, right?

if he were to replace it with sudo su then he would also have to add exit at the end, essentially, to drop out of the administrative shell so as to keep the idiotic users less idiotic.
isn't that uh, automatic?

the shell is automatically exited upon ending the script

435
Proposals / Re: Documenting stuff in a more centralized location
« on: May 23, 2010, 08:29:32 AM »
then what about wiki syntax

sin(x)
see also [[cos]]
sin(x)
An alias of [[cos]](pi/2-x)

cos(x)
An alias of [[sin]](pi/2-x)
And we could go for days on the aliases.  Don't bother.