Author Archives: Gene De Lisa

SuperCollider: drawing UGen graph

Many people find it useful to see graphically the network of unit generators in their SynthDefs. There is a Quark that will create a Graphviz .dot file from your SuperCollider code. First, install Graphviz (of course). There are downloads for OSX, Linux, and others. Then you need to install the rd_dot Quark. If you’ve never [...]

Posted in Computer Music, SuperCollider | Tagged , | Leave a comment

SuperCollider with Emacs on OSX

SuperCollider (Github) has a decent IDE these days. But perhaps you’d like to use an actual editor like Emacs. Sam Aaron published an article on this, but it is badly outdated. It was also overly complicated including copying several core directories out of the app. He’s probably too busy doing his good work with Overtone [...]

Posted in Computer Music, Emacs, SuperCollider | Tagged , | Leave a comment

JDK 8, OSX, and Netbeans

Have you installed an Early Access Release of JDK 8? You may want to still use JDK 7 for some projects. I have a JavaFX 2 project that needs JDK 7 since there will be API changes in JDK8. I’ve previously covered using non Apple JDKs on Mountain Lion. Unfortunately, that doesn’t affect NetBeans default [...]

Posted in Java, NetBeans | Tagged , , | Leave a comment

JDK 7 and JavaFX 2

Some good news about JavaFX. It is now bundled with the JDK so you don’t need to download a separate installer. Some bad news: the runtime is not on the classpath. (In Java 8, it will be on the classpath). A simple fix is to do this: cd /Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home/jre/lib sudo cp jfxrt.jar ext

Posted in JavaFX | Tagged | Leave a comment

JDK 7 on OSX

You can download a dmg from Oracle’s download page. You might expect that you’d run the installer and you’d be ready to go. Not me. I had previous versions of Java installed. In my startup file (.bash_profile) I had set this: export JAVA_HOME=/Library/Java/Home/ With this set, java -version still reported 1.6. I set it to [...]

Posted in Java | Tagged , | 1 Response

jQuery UI 1.10 tabs

The release notes for jQuery UI 1.10.0 lists the API changes. To handle a tab selection, you previously had to use the tab index and add a handler on the select event. The select event is gone now. You use activate in the new API. The index is gone too. Now you use the newPanel [...]

Posted in Javascript, jQuery, jQuery UI | Leave a comment

Spring @MVC configuration without XML

XML is no longer hip. Actually, there is nothing as unhip as last year’s hip. That is until it becomes hip again 30 years later in failed irony. Honestly, if you’ve been programming Java EE since the 90s, you know full well how error prone XML config files can be. A glance at an EJB [...]

Posted in Spring MVC | Tagged , | 2 Responses

Eclipse JavaScript Libraries Validation

I use several JavaScript libraries in my web apps. Just one of the many reasons I like Spring MVC over other web frameworks – like JSF – is that you can easily use current web technologies. HTML5? CSS3? jQuery? No problem! Actually there is one problem, but it’s an Eclipse (or Spring STS) problem. When [...]

Posted in Eclipse, jQuery, Spring MVC | Tagged , | Leave a comment

iOS Audio Unit Graph

Apple’s Core Audio API is very powerful. It is also not easy. With Great Power comes Great Heartburn when the documentation is out of date and/or scattered. Sometimes the needs of the few outweigh the needs of the many as in the case of conference talks. At WWDC 2011, session 411 was named “Music in [...]

Posted in iOS | Tagged , | 2 Responses

Learning Clojure: Setting up the Emacs on OSX

I’ve been using the Emacs since my Lisp and AI course back in 1987. (My use of the definite article betrays that ) So, of course I wanted to learn Clojure using it. Unfortunately, there are either incomplete or conflicting posts in googlespace on how to go about doing this. You *can* grab the source [...]

Posted in Clojure, IDE | Tagged , , , , | 2 Responses