Skip to content

Instantly share code, notes, and snippets.

View SethTisue's full-sized avatar

Seth Tisue SethTisue

View GitHub Profile
@SethTisue
SethTisue / fork-day.txt
Created October 7, 2015 17:35
on forking
Before we get started, may I hold the floor for a minute?
I’d like to open the podcast with a reflection on American history.
The leaders of Typelevel.org are open
in using the word “fork”
to describe what they’re planning to do.
As an American, this has me thinking about our history.
The United States itself was founded when the American revolutionaries forked the United Kingdom.

The question

"we’re looking at changing the Scala gitter rooms. well-intentioned newbies are very understandably always blundering into this room, so we want to make this the general room, and call the dev/contributors/internals rooms something else. I see Akka uses akka/dev, Play uses playframework/contributors, and sbt uses sbt-dev. we’re considered scala/scala/dev or scala/scala/internals or scala/dev or scala/internals. do y’all know if naming have any implications for integration as far as issue links, activity feed,

@SethTisue
SethTisue / scalawags-33.md
Last active October 7, 2015 21:33
Scalawags #33: Back to School
$ ANT_OPTS="-Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M" ../apache-ant-1.9.6/bin/ant.bat -Dstarr.version=2.11.7 -Dscalac.args.optimise=-optimise -Dlocker.skip=1 test
Buildfile: Y:\tisue\scala\build.xml
desired.jars.uptodate:
boot:
init.git:
init:

Keybase proof

I hereby claim:

  • I am SethTisue on github.
  • I am sethtisue (https://keybase.io/sethtisue) on keybase.
  • I have a public key whose fingerprint is 638F 9B63 9EC0 110D DEB0 2B8D 10B0 9AD4 4B86 92CA

To claim this, I am signing this object:

scala> class C
defined class C
scala> implicit val c = new C
c: C = C@33833882
scala> def foo(x: Int)(implicit c: C) = x + 1
foo: (x: Int)(implicit c: C)Int
scala> foo(3)
@SethTisue
SethTisue / scalawags-32.md
Last active August 29, 2015 14:27
Scalawags #32: Scala Puzzlers
scala> Array(0) == Array(0)
res9: Boolean = false
scala> (Array(0): Seq[Int]) == (Array(0): Seq[Int])
res10: Boolean = true
scala> import scala.language.existentials
import scala.language.existentials
scala> class Outer { class Inner }
defined class Outer
scala> def f[I <: o.Inner forSome { val o: Outer }](i1: I, i2: I) = ()
f: [I <: o.Inner forSome { val o: Outer }](i1: I, i2: I)Unit
scala> val o1, o2 = new Outer