Scala by the Bay
Scala by the Bay is a By the Bay technology conference.
Talks & recordings
78 connected sessions
A Tour of Functional Type Classes via Sc...
Of the major functional type classes, functor and monad garner the most attention, with applicative functors a close runner up. There are many more type classes which are less known -- invariant and contravariant functors, monoidal functors, invariant monads, etc. In this talk, we'll tour a variety of type classes, including the big three (functors, applicatives, and monads) as well as some lesser known ones, by looking at practical examples of their use in the scodec library. We'll also look at how these type classes can be encoded in Scala using the Simulacrum type class support library.
Actor-based multi-cloud orchestration an...
Handling of multiple cloud environments can be a very cumbersome task. Through this talk I wish to present a Centralized Cloud Management and Orchestration framework to solve that. A brief description of the software stack follows - Scala bindings of Apache Jclouds serves as the underlying layer for handling integration and launching instances in multiple clouds. The orchestration is handled by Akka actors. A sub-module called Recipes, which is built on Jclouds’s ScriptBuilder class allows creation of installation and configuration files for components of the Big Data stack. The project uses Spray for handling API requests and Play for serving the front-end. The SORM-framework was chosen for making database calls to MySQL. This has been developed and tested at Sigmoid. An on-premise version of this product is in the works at Sigmoid.
An embedded DSL to manipulate Mathprog M...
GNU Mathprog is an algebraic modeling language for describing mathematical programming models. The language is a subset of AMPL, the most popular language used for describing such models. One advantage of this languages is the similarity of its syntax with the mathematical notation used to describe optimization problems. In this talk we describe the use of Scala in the construction of an embedded DSL to work with Mathprog models. At construction time, the DSL works as an alternative way to build the AST representing the model, taking advantage of the Scala compiler to check the validity of most expressions. The AST can be created also by parsing Mathprog model files. Once an AST is obtained, the DSL allows to manipulate and transform the AST to extract data or create new models. We show how the use of type classes and implicit conversion prioritization gives us a systematic way to define operators, valid combinations of parameters and result types, and conversions between expressions.
Connections
Top 40 of 78 ranked relationships