Satisfaction Guaranteed*

Profile
None
*not a guarantee
30 comments
21 entries
Advertisement
pinacolada
October 28, 2005
middle of freaking nowhere
Ah thank god.

My family recently got a cabin in the middle of freaking nowhere of NY state. So I've been staying up here for a week as it's a much better environment to get work done. But the internet hasn't been hooked up until today. I was doing pretty well surviving for the first few days, but th…
1,013 views
pinacolada
October 23, 2005
check
Status check:

My dream of interactive programming continues to elude me. I've gotten it to work in special cases, but I want to be able to do it everywhere, without too much set-up work. BeanShell seems to have problems if you a) load a script, b) create an object with that script, then c) reload th…
1,141 views
pinacolada
October 13, 2005
I have a logo!


Astute readers will notice that the test code I posted 2 entries ago is the same code that renders the yellow spikey things in a circle. Except that the final version used 300 steps instead of 70, and the other values were tweaked too.

And, by the way, since the rendering was script code, I was able…
1,122 views
pinacolada
October 13, 2005
wooo
Woooo, just finished evaluating BeanShell. It's great!

The BeanShell version of that last test ran at 8 fps (where the pure Java version runs at 12 fps and the JRuby version ran at 3 fps). So the slowdown isn't too bad, plus the clincher is that I can copy-paste any performance-critical BeanShell co…
1,073 views
pinacolada
October 13, 2005
scripting
Yeah I change my mind a lot.

After evaluating Rhino, I came to this conclusion: really no scripting language has a very fluid way of passing Java objects to a script.

So with that knowledge in hand, I went back to JRuby because a) I have a crush on that language, and b) I do know a roundabout way to …
1,185 views
pinacolada
October 12, 2005
tool overload
Okay, I'm coming to terms with the fact that I am suffering from tool overdose.

Batik? Cool, but it doesn't really help me.

JRuby? The language looks fun, but the Java->JRuby interaction really has been a pain. I can't get it to work the way I want, plus there's something about the implementation …
1,276 views
pinacolada
October 08, 2005
My tv has gone crazy
They are showing South Park on WPIX and Family Guy on TBS. I don't know which way is up anymore.
832 views
pinacolada
October 07, 2005
java svg code
I figured someone might be interested, so here is my java code for getting a simple SVG-backed sprite up and running:


import org.apache.batik.gvt.renderer.StaticRenderer;
import org.w3c.dom.svg.SVGDocument;
import org.apache.batik.bridge.*;
import org.apache.batik.gvt.*;

import java.awt.geom.*;
import ja…
1,155 views
pinacolada
October 07, 2005
svg in java
So I thought it would be cool to use SVG in my java games. The standard library to do this is Batik. The library is pretty sweet, but damn is it huge- 4mb of class files. 1mb of this is from the included XML reader Xerces. Damned if I know how an XML reader can take up 1mb.

It works well, but you ca…
1,152 views
pinacolada
October 04, 2005
java scripting engine
Okay the time has come for some RAD. I'm looking into scripting engines to use in conjunction with Java, because I feel like I can really tear things up if I get a nice scripting engine with an interactive mode that lets me edit scripts while playing the game.

So I checked out what's available and I…
974 views
pinacolada
October 03, 2005
indie indie indie
Well that's it, I'm quitting my job and going to attempt to become self-sufficient selling games on the internet. Why not, with all this indie hype (like Greg Costikyan's highly publicized move to indie), it just seems like the thing to do :)

I already got a company name: Fuzzy Games. It's a nice fr…
690 views
pinacolada
September 28, 2005
update
Yeah, I've never been good at keeping a blog updated regularly.

Anyway I have a new plan. The new plan is to quit my job and attempt to start a business selling games on the web. Anyone out there have any experience doing this?

I have pretty much all the logistics figured out. The games will be small…
685 views
pinacolada
September 11, 2005
counterplan
No updates for a while because I haven't made any progress in a while. The last week or so has been pretty busy. Last weekend I took a vacation to San Fran with my girl, that was fun. At work, the pressure has been up for the last few weeks to push the current game to release (similar to how the sp…
659 views
pinacolada
August 30, 2005
cascade-correlation
Although I haven't starting implementing training yet, I found an excellent training algorithm that will mesh really well with my app's design. It's called Cascade-Correlation (pdf). Basically, it adds one node at a time to the system, and trains a node as soon as it's added. Once the node is in pl…
670 views
pinacolada
August 30, 2005
java hacking
Hey are you bummed by the fact that Java has no "friend" keyword? How would you like it if your function could assert that it was only being called by a certain class?


class MyUtils
{
static boolean callerIsOfClass(Class targetClass)
{
StackTraceElement stack[] = Thread.currentThread().g…
703 views
pinacolada
August 27, 2005
off and running
Running the network works! Also, it's all hooked up to the display, so you can watch nodes change color as their level of activation changes.

So far I have a simple repeater network running. It's a network with a chain of nodes, and the last node inhibits the first item. So these nodes alternate bet…
626 views
pinacolada
August 22, 2005
me VS layout managers
Nodes finally have names :)



This came at the end of a long struggle, which started with a simple desire for me to have a pop-up toolbar on the right side where you can edit details about a node (such as its name). During the process, I ended up having to learn way more than I ever wanted to know abo…
604 views
pinacolada
August 19, 2005
Status report #1
Here's a pic of my project



It's not much to look at, but I figured it would help people better understand what the whole thing is about. You create nodes, you make connections between the nodes (the red ones are negative), and eventually you'll be able to run the whole network. That box in the lower…
657 views
pinacolada
August 19, 2005
backlogged entry #2
Okay this is a resolution of the problems I asked about in this thread

The problem was.. well there were several problems. *One* of the problems was that I needed a good way to make undoable changes to the model. Saving the entire model state is a reliable way to do this, but this would make my undo…
606 views
pinacolada
August 19, 2005
backlogged entry #1
I broke java! The following code:


class Test
{
static public void main(String[] args)
{
HashMap hashmap = new HashMap();
long useless_number = 0;
useless_number += hashmap.get(0);
}
}


gave me this error:

An exception has occurred in the compiler (1.5.0-beta). Please file a bug at…
746 views
pinacolada
August 19, 2005
first post
huzzah! I was planning to get gd+ activated when my current project was ready to distribute, but that's taking a while. And I felt like getting started with the dev journal.

First, complaint #1. Why in the world does it take 3 DAYS to get gdnet+ activated? Come on guys. This is the internet. This i…
610 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement