The Artima Developer Community
Sponsored Link

Scala Buzz

510 messages in 495 topics. Last post: Jun 26, 2017 5:22 AM.

A community of webloggers who post primarily about Scala.

Welcome Guest
  Sign In

Click to go back to the list of forums  Back to Forum List Click to search messages in this forum  Search Forum

33 pages in this forum [ 1 ... 17 18 19 20 21 22 23 24 25 26 27 ]
    Topic   Replies     Author   Last Post
The simple cat command accross platform
If you miss the cat command on Windows, then few minutes of Scala scripting can be very joyful. Here is my simple version of cat command in Scala: //file: cat.scala import java.io._ val files = args for(f val reader = new BufferedReader(new FileReader(f)) var ln: String = null while({ln = reader.readLine; ln != null}) println(ln) } TO run it,...
0   Zemian Deng   Sep 28, 2008 4:49 PM
tomcat6.0.18 has bug on their startup script when using CATALINA_BASE
If you set CATALINA_BASE different than CATALINA_HOME, then you MUST create at least an empty file for $CATALINA_BASE/conf/logging.properties in other to startup the server!!! This only affect Unix catalina.sh script on this Tomcat6.0.18
0   Zemian Deng   Sep 28, 2008 2:48 PM
Sweet-0.0.1 is out!
After many snapshots, I finally cut mark the first stable release of the Sweet project. It's good enough to generate projects that support form handling and database access. Come check out Sweet and let me know what you think! Sweet Project Home Sweet Online Demos Sweet Programmer Guide
0   Zemian Deng   Sep 28, 2008 12:48 PM
maven speed improvement with cli
This could be useful http://www.jroller.com/mrdon/entry/speed_up_maven_through_the
0   Zemian Deng   Sep 28, 2008 10:49 AM
Sweet! There is a new Scala Web Framework available!
Hello everyone, I have created a web framework, Sweet, using Scala programming language and Open sourced at http://code.google.com/p/sweetscala It comes with project generator tools that setup your projects, and allow you to scaffold controller and views to existing webapp. Sweet is MVC based web stack, and it uses Freemarker as View layer. You...
0   Zemian Deng   Sep 28, 2008 8:48 AM
The Y Combinator in Scala
A while ago I ran across an implementation of the Y combinator in Java. My first thought was, "Woah, this is cool!", followed immediately by "Woah, this is hideous!"Below is my port of that code to Scala. Hopefully it's just as cool, and just a little less hideous.trait BranchType[F, T] extends (BranchType[F, T] => (F => T))object B { def...
0   David Bernard   Sep 25, 2008 5:53 PM
Woohoo: Mixed Scala and Java projects in Eclipse
A few days ago Scala 2.7.2 RC2 was released. One of the new features is mixed Java and Scala support in both the compiler and the Eclipse plugin. I decided to try it out. Installation was very simple. I then set off creating a simplistic Java class side by side with the Scala object, in the same package. I then created such a Java object in my...
0   Mats Henricson   Sep 21, 2008 3:13 AM
My Scala Coding Style
This was originally a posting to the scala-tools mailing list, in response to someone asking how to make the Eclipse plugin format using braces on the next line and spaces instead of tabs. I used the braces-on-next-line rule, lining up the { to the previous line rule for years, and tabs and no spaces, for years. I was happy with it. I used an...
0   Ricky Clarkson   Sep 19, 2008 4:03 AM
Implementing the Builder pattern in Java without repeating code
When writing some Java wrappers around some CGI requests at work, I began with a normal implementation of the builder design pattern, but when I realised I was going to have to do this for about 50 CGI requests, and some of them were nested (CGI requests with query parameters to be sent on to a further CGI request on another machine), and that...
0   Ricky Clarkson   Sep 9, 2008 5:42 PM
Things To Do in Coming Months
As the beta of Scala for NetBeans released, I found I have several things to do in the coming months. First, I'll keep the Scala plugins going on, I'll try to re-implement the Project supporting, which, may be an extension of current NetBeans' plain Java Project, that is, you just create plain JSE or JEE project, then add Scala source files to...
0   Caoyuan Deng   Sep 8, 2008 3:38 PM
HList in Scala Revisited (or Scala Metaprogramming Works!)
The Scala compiler team listened to my request for supporting recursive type projections (ticket #1291) and has added experimental support for it. If you have a new build of the compiler (latest nightly or Eclipse plugin will do) you can enable it by add the compiler option "-Yrecursion x", where x is the maximum recursion depth allowed. Thanks...
0   Jesper Nordenberg   Sep 7, 2008 1:01 PM
An IRC Bot in Haskell, 20% code, 80% GRR
I decided to look at Haskell more seriously, after mainly using it to learn functional programming and, well, as a posh calculator. So when I came across Don Stewart's little tutorial on writing an IRC bot, I followed it, but with one use case in mind: In the #scala channel, often it's handy to display a URL to a bug by its index, particularly...
0   Ricky Clarkson   Sep 7, 2008 9:41 AM
A Scalable Language, and a Scalable Framework
I'm a pretty big fan of the MapReduce framework. With two fairly simple classes, a Map and a Reduce (influenced by, but not the same as, functional programming constructors of the same name), you can easily write programs that operate on terabytes of data. Apache's Hadoop is a popular open source version of MapReduce, and it's used by Yahoo,...
0   David Bernard   Sep 3, 2008 11:25 PM
HList in Scala
This is my first blog post about Scala, so be gentle in your criticism :).I've been trying to implement a linked list of heterogeneously typed elements in Scala, similar to HList for Haskell. This data type can for example be used as a replacement for all the TupleX types in the Scala standard library. A simple implementation of the HList data...
0   Jesper Nordenberg   Sep 3, 2008 3:19 AM
Scala Implicits: a dose of Magic | Part 2
In my previous post, I introduced implicits, mentioned some of the ways in which they can be used, and talked about one of their primary uses: view conversion. Maybe you came away from that post thinking: 'hey, this looks pretty interesting, but this is too close to magic for my liking. I want to be able to write code that is understandable and...
0   Lalit Pant   Aug 28, 2008 11:31 AM
33 pages in this forum [ 1 ... 17 18 19 20 21 22 23 24 25 26 27 ]

Denotes new messages in this forum since your last visit.

Click to go back to the list of forums  Back to Forum List

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use