Jump to content

  • Log In with Google      Sign In   
  • Create Account


Satisfaction Guaranteed*



middle of freaking nowhere

Posted by pinacolada, 28 October 2005 · 72 views

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 then I started going a little stir crazy. Everything's all...


check

Posted by pinacolada, 23 October 2005 · 76 views

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 the script and try to use newly-defined code on that...


I have a logo!

Posted by pinacolada, 13 October 2005 · 72 views



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 to fiddle with those numbers *live* and see the changes...


wooo

Posted by pinacolada, 13 October 2005 · 72 views

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 code into java.

(ps, the reason those FPS numbers are so...


scripting

Posted by pinacolada, 13 October 2005 · 81 views

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 pass a java object to a ruby script (just use the...


tool overload

Posted by pinacolada, 11 October 2005 · 125 views

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 that makes it really inefficient. Every time you pass...


My tv has gone crazy

Posted by pinacolada, 07 October 2005 · 37 views

They are showing South Park on WPIX and Family Guy on TBS. I don't know which way is up anymore.


java svg code

Posted by pinacolada, 07 October 2005 · 58 views

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 java.awt.*;

class SVGSprite
{
// svg data
...






July 2014 »

S M T W T F S
  12345
67891011 12
13141516171819
20212223242526
2728293031  

Recent Entries

Recent Comments

Recent Entries

Recent Comments

PARTNERS