Skip to content

Instantly share code, notes, and snippets.

View fommil's full-sized avatar
😽
having a fantastic day not writing any scala

>>= fommil

😽
having a fantastic day not writing any scala
View GitHub Profile
@fommil
fommil / cla.md
Last active August 22, 2017 20:29
cla-lgpl

I, the contributor, agree to licence my contributions to this project under the terms of the LGPL 3.0 or any later version.

I confirm that my contributions are either my own original creation or I have fullfilled the obligations of the third party source code (i.e. included their GPL-compatible license).

@fommil
fommil / assignment.md
Created August 8, 2017 13:24
cla-everything

You agree that you are the sole author of this work and that you are not aware of any patents that are infringed by your contribution.

You are providing this contribution under the following license:

Permission is hereby granted, free of charge, to Sam Halliday to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so.
package xmlformat
import scala.xml._
import export._
import shapeless._
import shapeless.labelled._
trait Encoder[A] {
def toXml(a: A): NodeSeq
@fommil
fommil / review.md
Created August 3, 2017 13:28
Andromeda

5 / 10 a shadow of the previous games

I played it to the end, because I kept hoping the story would be as good as the original series. But the story is, at best, mediocre.

There are occasional good things about this game: the buffy-esque dialogue options for Sara Ryder, the ... occasional landscape. Sorry, I got nothing.

There are many bad things about this game.

Let's start with the cohesion of it all. There are some interesting moments where they try to give interesting background to the (only) native Andromedian species, e.g. how different their physiology is to humans, how medicines are not needed because they get energy from sunlight or medicinal lamps. Then step outside to be handed a mission about taking some of their antibiotics to a colony. This lack of cohesive storytelling shows up again and again.

@fommil
fommil / EncoderTests.scala
Last active August 7, 2017 11:30
XML Encoder - not able to handle recursive types
package xmlformat
import scala.xml._
import org.scalatest._
import Matchers._
class EncoderTests extends FreeSpec {
import Encoder.ops._
@fommil
fommil / Cake-UI-Spec.md
Last active May 9, 2017 08:00
Cake Solutions: UI Developer

Project Summary:

The Ad Engine will replace direct Ad calls to third party Ad Services from the HLS stream (injected to by Segmenter or SCTE35) to the new Ad Engine. The Ad Engine will evaluate rulesets based upon content & Ad metadata held, the decision will be made on which Pod to serve and will redirect the HLS stream to the Ad servlet to retrieve the content. The rules based Ad Engine will enable more in-house control over rulesets including a more granular approach, which in turn will enable a higher ROI from advertising via user and/or segment targeting and also commercial separation (avoidance of competing ads within the same pod or adjacent pods). The core feature of the service is to create a Smart Ad Router. Technology & Process:

We will be building an outward facing web application communicating with RESTful api written in Scala. The architecture will be a SPA using modern JavaScript framework, mostly likely Angular 4 or ReactJS possibility utilising TypeScript but input from the engineer writin

Hi Denys, Guillaume,
It occurred to me that you might not be aware of the details of the
classpath exception clause of the OpenJDK and that both scala-native and
scalajs may be doing a lot of unnecessary work in a perceived attempt to
avoid distributing under the GPLv2.
This is the OpenJDK License:
http://openjdk.java.net/legal/gplv2+ce.html
@fommil
fommil / CC-BY-SA4.md
Last active September 10, 2017 17:25
CC-BY-SA4 with code

I, the contributor confirm that my contributions are my own and I provide them under the terms of the CC BY-SA 4.0 licence and my code, separately, under the terms of the CC0 licence.

@fommil
fommil / agent.yml
Last active February 16, 2017 21:47
agent.yml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: agent
spec:
replicas: 1
template:
metadata:
labels:
app: agent