Skip to content

Instantly share code, notes, and snippets.

@travisbrown
travisbrown / cease-and-desist-de-goes.md
Last active July 30, 2020 11:36
Cease and desist letter from John A. De Goes

Please see this response for more context.


Dear Mr. Brown:

We represent the legal interests of our client, Mr. John Arlen De Goes, Maryland, USA.

For several years now, you have repeatedly defamed our client on the internet. Your public blog https://meta.plasm.us/posts/2019/09/01/jdg-and-the-fp-community/ specifically targets our client with the goal to publicly vilify our client. This blog can be easily found with the help of search engines like Google by just searching for the name of our client. On this blog, amongst other false statements, you falsely allege the following about our client:

@soc
soc / custom.css
Last active April 27, 2020 17:50
Vivaldi Browser Stylesheet
/* vertical tabs use full height */
:root {
--tab-width: 200px;
--statusbar-height: 0px;
--toolbar-height: 30px;
--neg-toolbar-height: -30px;
}
.native.tabs-left#browser :-webkit-any(.topmenu, .toolbar.toolbar-addressbar) {

Getting Started in Scala

This is my attempt to give Scala newcomers a quick-and-easy rundown to the prerequisite steps they need to a) try Scala, and b) get a standard project up and running on their machine. I'm not going to talk about the language at all; there are plenty of better resources a google search away. This is just focused on the prerequisite tooling and machine setup. I will not be assuming you have any background in JVM languages. So if you're coming from Python, Ruby, JavaScript, Haskell, or anywhere…  I hope to present the information you need without assuming anything.

Disclaimer It has been over a decade since I was new to Scala, and when I was new to Scala, I was coming from a Java and Ruby background. This has probably caused me to unknowingly make some assumptions. Please feel free to call me out in comments/tweets!

One assumption I'm knowingly making is that you're on a Unix-like platform. Sorry, Windows users.

Getting the JVM

import java.util.Optional;
import java.util.function.Function;
class Main {
public static void main(String[] args) {
Optional<String> o = Optional.of("foo");
Function<String, String> f = s -> null;
Function<String, String> g = String::valueOf;
//lawless lolz
"Unbounded Memory"
(to the tune of "Unchained Melody" by the Righteous Brothers)
Whoa, my lub
My high bound
I've hungered for your type
A long, lonely time
And time goes by so slowly
And time can break so much