SRT Solutions

Blogs

Browse by Tags

  • Tail recursion in Scala and Annotations for Software Defect Detection

    The Java Posse interview with Brian Goetz and Bill Pugh cleared up how Scala supports tail recursion in spite of the JVM's lack of support. Brian Goetz did a great job of explaining that currently compiler writers have to build in the support (which Scala does) because the language doesn't support...
    Posted to Dianne Marsh (Weblog) by dmarsh on Wed, Jun 11 2008
  • Lists and folding in Scala

    James Iry pointed out that I could have used a fold left in my solution to the first ProjectEuler problem. Ah, now I remember reading about folds! So, I went back and looked at it. Right he is, of course. Here's his solution: val nums = 3 until 1000 val somenums = nums filter (x => (x % 3 == 0...
    Posted to Dianne Marsh (Weblog) by dmarsh on Tue, Apr 29 2008
  • SRT Polyglotting Euler Problems

    I was first introduced to the term polyglot when I was in high school. Our French class did a presentation at a Foreign Language Day. I have this vague recollection that the theme of the day was "Polyglots Have More Fun". I've always liked the word, so I was thrilled to see Neal Ford using...
    Posted to SRT Insights (Weblog) by dmarsh on Tue, Apr 8 2008
  • Euler problems in Scala

    SRT is abuzz with solving the Euler problems, in our collective spare time, and in different languages. Bill Wagner has been solving the problems on euler.net in C#/LINQ. Darrell Hawley is attacking them in Python. Marina Fedner is giving us a flavor for Ruby. And so I'll jump in, in Scala. And no...
    Posted to Dianne Marsh (Weblog) by dmarsh on Tue, Apr 8 2008
  • Technical Sessions at the Java Posse Roundup

    I'm a month late in posting this, but better late than never. The Java Posse Roundup was an Open Spaces conference in Crested Butte, CO. It was held March 4-8, and this was the second (hopefully annual) conference. The non-technical sessions , about which I already posted, were great, and the technical...
    Posted to Dianne Marsh (Weblog) by dmarsh on Tue, Apr 1 2008
  • The Java Posse Roundup: the view from 9000 feet

    I'm here in Crested Butte, for the 2nd Java Posse Roundup (my second time as well). It's been great, and much different than last year. That's cool because the theme was "Don't Repeat Yourself". Here's my overview. I'll post more detail later. This is an open spaces...
    Posted to Dianne Marsh (Weblog) by dmarsh on Fri, Mar 7 2008
  • Canceling my Scala talk at AAJUG on Tuesday

    I was planning to talk about Scala at the Ann Arbor Java User Group meeting this week, but I'm going to have to cancel. I came down with the flu, and then pneumonia and I'm still coughing too much to be able to do a talk. I'm sure that we will reschedule it for a later date.
    Posted to Dianne Marsh (Weblog) by dmarsh on Sun, Feb 24 2008
  • Scala talk at AAJUG on Tuesday, March 26

    I will be doing an introduction to Scala at the Ann Arbor Java User Group meeting on Tuesday, March 26. The AAJUG wordpress site is broken, but hopefully people will know about the talk and attend anyhow. Here's my abstract: Scala is a multi paradigm language, offering both object-oriented and functional...
    Posted to Dianne Marsh (Weblog) by dmarsh on Thu, Feb 21 2008
  • Installing Scala plugin for Eclipse 3.3

    I don't recall having a problem installing the Scala plugin on my old (Windows) laptop, but I got a new one and started migrating things over this week. In order to get the Scala plugin to install, I had to install the Eclipse plugin development environment. I was happy to have found this blog post...
    Posted to Dianne Marsh (Weblog) by dmarsh on Thu, Jan 31 2008
  • So what IS Scala?

    The question a lot of people have been asking lately is "What is Scala and why do I care?". The short and sweet answer is that Scala is an object-oriented/functional hybrid that runs on the Java Virtual Machine (JVM). This is interesting because it can harness the full power of the JVM, including...
    Posted to Dianne Marsh (Weblog) by dmarsh on Mon, Jan 21 2008

Ann Arbor Give Camp started with Jennifer Marsman , of Microsoft, wanting to organize an event to pull together the developer community in the Ann Arbor...