Twilight for IntelliJ IDEA
I’ve tried other IDEs for Scala, but always ended up going back to TextMate. As I am getting on the IntelliJ IDEA wagon, I’ve made a Twilight theme to make the ride smoother.
I’ve tried other IDEs for Scala, but always ended up going back to TextMate. As I am getting on the IntelliJ IDEA wagon, I’ve made a Twilight theme to make the ride smoother.
Ultimately, the users of scalaxb are interested the real problems that the entity objects express, not how they persist into XML. That’s why I knew I eventually had to vacate the singleton/companion object of the case class to implement the data binding. Until recently it has been generating the data binding implementation as follows:
object Address extends rt.ElemNameParser[Address] {
val targetNamespace = "http://www.example.com/IPO"
def parser(node: scala.xml.Node): Parser[Address] =
...
def toXML(__obj: Address, __namespace: String, __elementLabel: String, __scope: scala.xml.NamespaceBinding): scala.xml.NodeSeq =
...
}
Now scalaxb has hijacked the prime real estate for the purpose of XML data binding, which has little to with Address
.
See Create a global .gitignore.
$ git config --global core.excludesfile ~/.gitignore_global
See Checking out pull requests locally.
[remote "origin"]
url = git@github.com:sbt/sbt.git
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
For some reason, I can’t keep OSGi in my head. Everything I read about it slips away in a few weeks, and I have re-read the guides and tutorials.
Here’s a memo of setting up OSGi bundle written in Scala using NetBeans, following Neil Barlett’s OSGi in Practice, except the book uses Eclipse.
Skip this section if you use non-Mac. Install MacPorts. Run the following from Terminal:
One of my favorites from msdn is Application Architecture for .NET: Designing Applications and Services by Eduardo Jezierski. The version 2.0 is Microsoft Application Architecture Guide by J.D. Meier et al, but it’s much more beefier than the original. Currently 1.0 is put under Retired node in msdn.
Once you use any technology to a significant extent, you understand its strength and shortcomings. I’ve probably written tens of thousands of lines of code in Delphi or C++, Java and C# too to some extent. I’ve depended on those languages, but gripe about them too. The new language obviously has the advantage of just being new. Since I haven’t written anything significant in Scala besides Tetris, I haven’t hit the shortcomings yet.
I haven’t read the original book, so this is purely based on the film work by Spike Jonze.