Posts tagged with Scala:


Tuesday, 19 October 2021

Pondering some Scala performance questions
Paul Roberts

The Scala compiler is a fascinating tool which powers a large proportion of the Guardian’s infrastructure. But sometimes the work that it does can seem somewhat mysterious. Guardian Scala developer Paul Roberts explores in detail one aspect of this mystery and looks at how understanding it can help us write code more effectively

Scala  

Man repairing racing car

Friday, 28 September 2018

Using Scala string interpolation to protect logged data
John Duffell, Jacob Winch

If you want to debug your code, you need comprehensive logging. But when you want to reuse the logs for alerting, how do you protect data from access by the alerting system?

Scala  

A destroyed hard disk previously containing sensitive data

Saturday, 24 December 2016

Scanamo: simpler, safer DynamoDB access for Scala
Phil Wills

DynamoDB provides a completely managed key-value store with some querying capabilities, but AWS’s Java client from Scala can be cumbersome and error-prone. The Guardian’s open-source library, Scanamo, provides a simpler alternative that reduces the scope for runtime errors.

AWS   Advent developer blog 2016   DynamoDB   Scala  

A supermassive black hole in the core of galaxy named MCG 6-30-15. Scientists for the first time have seen energy being extracted from a black hole. Like an electric dynamo, this black hole spins and pumps energy out through cable-like magnetic field lines into the chaotic gas whipping around it, making the gas - already infernally hot from the sheer force of crushing gravity - even hotter.

Thursday, 22 December 2016

Implicits and type classes in Scala
Joseph Smith

What are implicits? What are type classes? And why do they go so well together? Here are the answers I wish I’d had before diving into the Guardian’s codebase

Advent developer blog 2016   Functional programming   Scala  

Should implicits carry a warning? Actually, they already do

Wednesday, 30 December 2015

How to add a form to a Play application
Chris Birchall

A step-by-step explanation of how to create a form in a Scala Play application, including explanations of some of the pitfalls you may encounter along the way

Programming   Scala  

Filling in a form

Tuesday, 16 September 2014

Shipping from GitHub to Maven Central and S3, using Travis-CI
John Duffell

If you use GitHub and SBT and want to ship your artifacts to Maven Central, you want it to be simple to set up and manage. We’ve compiled some instructions on how our SBT plugin can help

Computing   Git   Programming   Scala  

Shipping is complex and requires lots of organisation

Friday, 26 April 2013

How the Guardian built a solid, scalable foundation for digital-first journalism
Graham Tackley

Graham Tackley, the Guardian's Head of Architecture, shares how our software team use technology like Scala, Akka and Play Framework to power our web presence

Scala  


Friday, 2 November 2012

Functional Programming Principles in Scala: the final push
Lindsey Dew, Adam Fisher

The Guardian's software developers chart their progress on Martin Odersky's Scala course, now in its sixth week and getting tougher

Functional programming   Scala  

A basic "Hello, world" application written in Scala

Friday, 21 September 2012

Functional Programming Principles in Scala: First Impressions
Adam Fisher, Lindsey Dew

Two of the Guardian's software developers take a look at the new programming language course offered by Scala creator, Martin Odersky

Functional programming   Scala  

The official website for Functional Programming Principles in Scala

Monday, 18 April 2011

Scala at guardian.co.uk
Graham Tackley

Graham Tackley gives an overview of why we're using the Scala programming language

Scala  

Content API explorer