Streams of thought by...

This is the (tumble) log by Innerfusion, I'll post various things about code, design, politics, or whatever is interesting at the moment.

7/14/2010
2:06pm
Comments (View)

Building CSS3 PIE for OSX

CSS 3 PIE is a really cool idea and I wanted to start using it, but I ran into some issues building it yesterday. When attempting to build it, here’s what I ran into:

  # assuming you're in the root of the PIE directory
  PIE:master> ant
  
  Buildfile: build.xml

  build-uncompressed:

  build-compressed:
       [exec] Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
       [exec]   at java.lang.ClassLoader.defineClass1(Native Method)
       [exec]   at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
       [exec]   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       [exec]   at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
       [exec]   at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
       [exec]   at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
       [exec]   at java.security.AccessController.doPrivileged(Native Method)
       [exec]   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
       [exec]   at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
       [exec]   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
       [exec]   at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
       [exec]   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
       [exec] Result: 1
     [delete] Deleting: /Users/vann/Downloads/PIE/build/script_uncompressed.js

  build:

  BUILD SUCCESSFUL
  Total time: 0 second

Luckily the developer working on it responded and stated that Java 6 is required for Google’s Closure Compiler function to work, which in turn is what Ant needs to compile the .htc files. He pointed me to the following post (which I won’t re-write here): http://www.deliciouscoding.com/post.cfm?entry=change-default-leopard-java-jdk-1-5-to-1-6-the-easy-way , (Note: I’m thinking that this only applies to OSX 10.5.8 with multiple versions of JDK installed). After updating JDK to 6.0 and attempting to run ant again, I ran into the following issue again:

    Error: JAVA_HOME is not defined correctly.
    We cannot execute /System/Library/Frameworks/JavaVM.framework/Home/bin/bin/java

Easy fix, just open up ~/.bash_login and add this:

    export JAVA_HOME='/System/Library/Frameworks/JavaVM.framework/Home'

And then reload your shell:

    . ~/.bash_login

Run ant again and you should be fine, here’s the thread on github.

Posted in: css web development issues
7/13/2010
2:09pm
Comments (View)

CSS3 PIE: CSS3 decorations for IE →

An elegant way of sneaking css3 into IE, now you can have your pie and eat it too…

Posted in: css web development
10/13/2009
10:49am
Comments (View)

And so, like the goat sacrificers and snake oil salesmen before them, a new breed of con man was born, the Search Engine Optimizer. These scammers claim that they can dance the magic dance that will please the Google Gods and make eyeballs rain down upon you.

Do. Not. Trust. Them.

— Derek, via Mat (via merlin)

Posted in: seo web development
reblogged from merlin
7/9/2009
10:43am
Comments (View)

Whatever:hover  →

An oldie but goodie, give IE the proper :hover pseudo selectors behavior that you’re used to in FF, Safari and other modern browsers

Posted in: web development css
6/16/2009
3:47pm
Comments (View)

HTML 5 features like Canvas, local storage, and Web Workers let us do more in the browser than ever before,” says Ben Galbraith, also co-founder of the Ajaxian Web site and co-director of developer tools at Mozilla. Local storage enables users to work in a browser when a connection drops and Web Workers makes “next generation” applications incredibly responsive by pushing long-running tasks to the background, he says.

—  HTML 5: Could it kill Flash and Silverlight? by InfoWorld: Yahoo! Tech

Posted in: html web development