This document is designed to lay out a list of gameplay changes to Elite Dangerous to revamp and repopulate Open Play and provide a much more enriching gameplay experience and encourage more cooperative and competitive play between commanders, while also being implementable within the bounds of reason. We can't expect Frontier to jump through huge development hoops for minor things. Changes should also not impact those who would still prefer playing in Solo.
Dotty contains preliminary support for Scala.js under the flag -scalajs
.
Or rather, it contains the infrastructure for preliminary support.
It is far from being actually usable, but this is where you can help!
This small tutorial walks you through a few steps that you can do to further the support of Scala.js in Dotty. Even if you do not typically contribute to a compiler, this can be your chance. It is not very difficult, given that there already exists an extensive test suite, as well as a working implementation for scalac.
import akka.actor._ | |
case class Book(title: String, authors: List[String]) | |
class BookPublisher extends Actor { | |
def receive = { | |
case book: Book => { | |
println(s"Yeah! Publishing a new book: $book") | |
context.system.eventStream.publish(book) |
This is a scaffold for setting up: an API with Rails and the ember-rails gem, persistence with Ember.Data, and a browser app using Ember.js
See source code on GitHub: pixelhandler/journal.
#!/bin/sh | |
# one way (older scala version will be installed) | |
# sudo apt-get install scala | |
#2nd way | |
sudo apt-get remove scala-library scala | |
wget http://www.scala-lang.org/files/archive/scala-2.11.4.deb | |
sudo dpkg -i scala-2.11.4.deb | |
sudo apt-get update |
crypto = require('crypto'); | |
#Quick MD5 of text | |
text = "MD5 this text!" | |
md5hash1 = crypto.createHash('md5').update(text).digest("hex") | |
#MD5 of text with updates | |
m = crypto.createHash('md5') | |
m.update("MD5 ") | |
m.update("this ") |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer