Profile cover photo
Profile photo
Alexandre Russel
77 followers
77 followers
About
Alexandre's interests
View all
Alexandre's posts

How can I show how many times a recurrent task has been done ?

Why doesn't this compile:
import play.api.libs.json._
Json.obj("a" -> Some(JsString("a")).getOrElse(Json.obj("a" -> "b")))
error: No Json serializer found for type Object. Try to implement an implicit Writes or Format for this type.
              Json.obj("a" -> Some(JsString("a")).getOrElse(Json.obj("a" -> "b")))

This does compile:
Json.obj("a" -> Some(JsString("a")).getOrElse[JsValue](Json.obj("a" -> "b")))

But I would assume that the compiler knows that 
Some(JsString("a")).getOrElse(Json.obj("a" -> "b")) is a JsValue so I wouldn't need to explicitly say so.

Post has attachment

Post has attachment

Post has attachment

I'm exporting my orgmode file to #markdown, but the site to which the markdown is shown (bitbucket), get relative url messed up. Is there a way, when exporting to have relative url 'foo.png' rewritten as 'http://myrepo.png/foo.png' ? #export  

Post has attachment
Wait while more posts are being loaded