Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2
1  Discussions / General Discussions / Re: Another language feature I'd like on: 2009-07-06 16:28:03
I think deep down it's the same reasons as Hibernate exists - a deep seated fear that graduate programmers have of SQL, never having properly been taught it in situ with some real world problems to solve it remains enigmatic and scary to most Java programmers. If you've been doing SQL for any reasonable length of time you soon come to appreciate how obvious it is for set-based logical operations like for example that big thread on entity systems recently as an alternative programming paradigm.

Not just that but it'd make the whole entity-relationship mapping thing a piece of piss and Hibernate could be slowly tortured to death, as befits it.

You seem to have a lot of opinions here based on nothing, but this statement is so ridiculous I don't even know what to say. Do you really think the point of Hibernate is to hide SQL from noobs?

As I said before: if you really need another language, there are several alternatives available for the jvm. Have you tried any of them?
2  Discussions / General Discussions / Re: Another language feature I'd like on: 2009-07-03 01:36:40
I'd just like... a better language Smiley
I often use Python to quickly throw together simple tools.
Perhaps Jython would suit you? It compiles to regular Java bytecode so you don't have write the entire application with Jython, only the parts where the Java language becomes a barrier.
3  Discussions / General Discussions / Re: Another language feature I'd like on: 2009-07-02 20:02:41
I personally feel that one of Java's strongest features is the simplicity of the language.
If you're working on something where you really need special syntax, perhaps you could use another vm language such as groovy, jython or scala?
I wouldn't want to see Java turn into C# because that could make it more difficult for newcomers to adopt it.
4  Discussions / General Discussions / Re: Invoking a JVM through JNI on: 2009-06-26 00:24:42
Perhaps you could have a look at a java executable wrapper to get started, they invoke the JVM from C code.
http://launch4j.sourceforge.net/
5  Java Game APIs & Engines / JOGL Development / Re: What the hell is this!? on: 2009-05-25 06:13:52
It looks like an expired SSL certificate.
In what context are you getting this? When connecting to a remote host?
6  Discussions / Miscellaneous Topics / Re: The HADOPI law has been rejected :D on: 2009-05-13 19:21:25
Yeah, but unless you're a criminal you won't mind having a trojan that monitors everything you do and reports back to authorities, right?
So eventually you'll end up with a choice between monitored communication or no communication at all.

What a joke! Orwell couldn't even dream of this when he wrote 1984!
7  Discussions / Miscellaneous Topics / Re: who taught you on: 2009-04-14 18:12:39
I thought your point was that syntax doesn't matter at all, but programming paradigms do matter. Well, that's the point I wanted to agree with at least Smiley
JavaScript works radically different from C++, with closures, prototypal inheritance, no classes, and a different concept of the keyword 'this'.
8  Discussions / Miscellaneous Topics / Re: who taught you on: 2009-04-14 16:49:44
taking only the "core" (not the external libraries) of a language you can convert most of it to another language just by doing a search and replace when the "programming method" is the same : OO to OO, procedural to procedural, declarative to declarative, etc...

ex:
C++ => JavaScript
C++ => Java
Pascal => C
HTML => XML
etc...

I certainly agree with the point you're making, but JavaScript is vastly different from C++ and the two have nothing in common except a similar syntax
9  Discussions / Business and Project Management Discussions / Re: Java on a console on: 2009-04-05 22:54:50
Quote
...
Peripherals -- CD/DVD ROM; biometric scanner
...

eh... why on earth would you need that for a game console?
10  Discussions / General Discussions / Re: Why JavaGaming.org sucks! on: 2009-04-04 11:44:40
I'm not very active around here but I have to say I was startled to see a thread like this here. I find JGO to be:
- full of helpful people
- the only site actively discussing VM internals in a comprehensible manner
- attracting newcomers, certainly the first stop if you've taken a quick java course and want flex your skills by making an asteroids clone
- definitely not full of bickering, i haven't noticed anything so it must be far less common than in most other communities Smiley
11  Java Game APIs & Engines / JavaFX / Re: JavaFX coding challenge ($$$) on: 2009-03-28 08:35:30
hehe, ok.
i wish you were right Sad
12  Discussions / Miscellaneous Topics / Re: IBM to buy Sun for $7 Billion? on: 2009-03-20 16:24:36
They don't store personal data, or any data that would identify you. I know there was a big thing about this in chrome.
Most of there products do some feedback on usage and stat's but this its optional, just like another other products like from Microsoft.
They track all your searches and associate them with your IP.
"Good intentions" of course since they're trying to make your search results more relevant. I'm not saying Google are doing anything evil at the moment, but power always corrupts and the power they have over information is unprecedented. Not only do they collect an insane amount of information, but they are also the biggest source of new information to most people.

You can use Privoxy to avoid google analytics and TrackMeNot (FF plugin) to make random searches.
13  Discussions / General Discussions / Re: How do you make coding easier to yourself? on: 2009-03-13 17:47:12
I'm certain Eclipse helps me work 50 times faster, all the little things add up so that I hardly ever spend time writing code but instead think of design/implementation
- compile on the fly
- running tests automatically while coding
- Maven integration
- Subversion/JIRA integration with Subversive and Mylyn- automatically creates commit messages
- camel case completion that cylab mentioned
- auto format/cleanup/organize imports
- custom templates for anything
- refactor anything and eclipse deals with it automatically
- ctrl+space does exactly what you want - code completeion, override a super method, insert template
- editors for anything - java, python, sql, perl, javascript, xml, css...

Of course this all adds up to a rather bloated piece of software so it's a good idea to have a powerful computer as well. The only thing I'm missing is a good GUI editor, for that I use Netbeans' awesome editor. I've never been very fond of IDEA though but I know many developers love it.
14  Discussions / Miscellaneous Topics / Re: Worst OS ever? on: 2009-03-10 17:09:42
Sure, it's better than the Windows 9x line, but Win2k should be able to manage a month easily and Linux can easily manage a year if you don't upgrade your hardware or kernel.

RHEL4 without any kernel upgrades Cheesy
~$ uptime
 18:02:29 up 1083 days,  6:55,  1 user,  load average: 0.34, 0.46, 0.47
It's a mail server processing ~100,000 messages a day
15  Games Center / Featured Games / Re: Quantum - Free RTS on: 2009-02-09 07:00:40
works great here (ubuntu 8.10, geforce 7950) and quite fun too!
16  Discussions / General Discussions / Re: Stop the incescent bickering... on: 2009-01-08 22:04:12
lol the Internet is a funny place Smiley
17  Discussions / Miscellaneous Topics / Re: A Free movie thats becoming an online sensation on: 2008-12-29 02:15:31
I didn't know there was a 2008 version, gonna check that out.
If you find this "mumbo jumbo" stuff interesting, also check out some of the talks by David Icke

Money as Debt was really interesting, highly recommended for anybody who's wondering where money comes from or how this sudden "credit crunch" could appear from out of the blue.


I've always felt that goverment brings out all the bad characteristics of humans. The very design of our society encourages fear, submission, isolation and excessive consumption rather than compassion, creativity, unity and spirituality. Here's a lovely quote:

"Just look at us. Everything is backwards. Everything is upside-down. Doctors destroy health, lawyers destroy justice, universities destroy knowledge, governments destroy freedom, the major media destroy information, and religion destroy spirituallity ."
-- Michael Ellner
18  Java Game APIs & Engines / JOGL Development / Re: Updating too fast! on: 2008-06-06 14:29:57
19  Discussions / General Discussions / Re: NEED YOUR INPUT - NEW JGO FORUMS on: 2008-05-25 22:56:05
Whoa, my bookmarks stopped working!
Cool URIs don't change, you need mod_rewrite:

1  
2  
RewriteEngine On
RewriteRule   ^/forum/(.*)   /$1   [R=301]
20  Java Game APIs & Engines / Tools Discussion / Re: Code generation tool / language suggestions on: 2008-05-13 22:18:45
If a preprocessor or an ant script isn't enough, you could use Javassist.
Javassist makes it easy to generate such templated classes at runtime - you create a subclass of Sprite, get the code for draw(...) as a String somehow, insert it in the subclass, compile it, and your new class is ready to use.
21  Games Center / Featured Games / Re: Putty Puzzle on: 2008-05-09 01:26:10
Great game!
Webstart works fine here on winxp, the applet made Opera freeze but it worked in FF.
22  Discussions / General Discussions / Re: Finding new posts on: 2008-03-21 15:54:58
You want "Recent Unread Topics" to show which topics you have read before?
If you click on the actual topic instead of clicking on the "new" icon, that topic will show as a 'visited' link so next time you'll know you've read it.
23  Game Development / Newbie & Debugging Questions / Re: Question about Java and connecting to a database on: 2008-01-03 17:01:37
I don't use Netbeans so I'm not sure but the "binary format" is probably what you should change so it targets an older JDK (older than 1.5)
24  Game Development / Newbie & Debugging Questions / Re: Question about Java and connecting to a database on: 2008-01-03 15:55:45
"java.lang.UnsupportedClassVersionError: Bad version number in .class file" means you compiled the class for one version of Java, but you're trying to run it on a lower version.
You probably wrote it with Java 6 and now you're running it with Java 5. You can set the compiler's "target" parameter to 1.5 or 1.4 if you want to run the class on older JVMs
25  Game Development / Performance Tuning / Re: Fully utilising Multi cores/Multi cpus? on: 2007-11-16 12:24:29
athlon 64 x2 4200+
3gb ram
1.6 client vm

29 fps / 88% cpu with version 8
32 fps / 99% cpu with version 10
26  Discussions / General Discussions / Re: IoC/Dependency Injection on: 2007-11-02 00:20:46
Perhaps you're just confusing the IoC concept with a particular container (Spring)? XML has nothing whatsoever to do with IoC. Spring uses it for configuration, but other containers such as Guice, picocontainer or tapestry-ioc don't.
27  Discussions / Miscellaneous Topics / Re: TinyCode competition - trial on: 2007-11-01 22:46:33
I was working on this 63 byte solution:
1  
2  
byte[] b = new byte[99];
for (int s = in.read(b); s-- > 0; out.write(b[s]));


but got 53 as soon as you mentioned StackOverflowException Smiley
28  Discussions / General Discussions / Re: IoC/Dependency Injection on: 2007-11-01 22:38:19
IoC is nonsense.
For any kind of software with a plugin-like architecture, a good IoC container that supports distributed configuration (not Spring I believe) is absolutely invaluable. Perhaps you're only writing small Tetris and Pong clones so you've never had the need for IoC, but I'm afraid that doesn't make it nonsense in general.
29  Discussions / Miscellaneous Topics / Re: TinyCode competition - trial on: 2007-10-31 23:50:16
aargh, I give up!  Cheesy I got two similar 46 byte solutions:
1  
2  
3  
4  
5  
for (
int i = 0;
(i ^= in.read()) >= 0;
out.write(48|i)
);


1  
2  
3  
4  
5  
for (
int i = 48;
(i ^= in.read() & 3) < 50;
out.write(i)
);


Martin
30  Discussions / Miscellaneous Topics / Re: TinyCode competition - trial on: 2007-10-28 20:13:20
This doesn't output a leading zero but all ascii values are 0x100 too high. It looks ok on that web page though. Cheesy  (70 bytes)
1  
2  
3  
4  
5  
6  
7  
8  
9  
for(int
r=1,b=1;
r>0;
b=b<<1|(r=in.read())&1)
if(b>255)
{
out.write(b);
b=1;
}
Pages: [1] 2
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (37 views)
2014-09-24 16:13:29

Pippogeek (29 views)
2014-09-24 16:12:22

Pippogeek (18 views)
2014-09-24 16:12:06

Grunnt (42 views)
2014-09-23 14:38:19

radar3301 (24 views)
2014-09-21 23:33:17

BurntPizza (60 views)
2014-09-21 02:42:18

BurntPizza (30 views)
2014-09-21 01:30:30

moogie (36 views)
2014-09-21 00:26:15

UprightPath (49 views)
2014-09-20 20:14:06

BurntPizza (52 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!