My Bookmarks

From the URL:

Q: Scala makes a big deal about how what seem to be language features are implemented as library features. Is there a list of types that are treated specially by the language?

A: The following types are crucial to Scala's type system. They have an influence on how type checking itself is performed.

It’s interesting that you can do some research on this by looking at Definitions.scala.

I haven’t read the article I’ve linked to yet, I’m just saving it here for future reading.

The project I linked to demonstrates a complicated SBT build.sbt file for a multi-project build.

If/when you need to know what keys are available in a Scala SBT build.sbt file, you can find them all listed in the Keys object. At the current moment, here’s the Scaladoc for the SBT Keys object.

Note that the first two SBT keys you’ll probably see are name and scalaVersion.

From the URL I linked to, “fish is a fully-equipped command line shell (like bash or zsh) that is smart and user-friendly. fish supports powerful features like syntax highlighting, autosuggestions, and tab completions that just work, with nothing to learn or configure.”

The URL contains a statement of the Red Hat ethos. A couple of good quotes:

Open source is a development model, not a business model. Red Hat is in the enterprise software business and is a leading provider to the Global 500. Enterprise customers need products, not projects and it’s incumbent on vendors to know the difference. Open source projects are hotbeds of innovation and thrive on constant change. These projects are where sometimes constant change happens, where the development is done.

Scala Native relies on LLVM as its primary optimizer as of the latest 0.3.7 release. Overall, we’ve found that LLVM fits this role quite well, after all, it is an industry-standard toolchain for AOT compilation of statically typed programming languages. LLVM produces high-quality native code, and the results are getting better with each release.

In this short blog post I will try, in 10 minutes or less, to present what Monix library is and convince you that it is good to know it.

Formerly known as Monifu, Monix is a library for asynchronous programming in Scala and Scala.js

Taken from shapeless' README:

Shapeless is a type class and dependent type based generic programming library for Scala.

To me, Shapeless is a toolkit to leverage Scala's type system at your own profit. You may use it to have more "precise" types, like statically sized list (lists which size is known at compile time), you may also use HList as a better tuple.

More generally, Shapeless can be used to make the compiler work for you, scrape some boilerplate, and gain a little extra typesafety.

The Visitor Pattern is one of the most mis-understood of the classic design patterns. While it has a reputation as a slightly roundabout technique for doing simple processing on simple trees, it is actually an advanced tool for a specific use case: flexible, streaming, zero-overhead processing of complex data structures. This blog post will dive into what makes the Visitor Pattern special, and why it has a unique place in your toolkit regardless of what language or environment you are programming in.

From the article I linked to: “Generics can often seem confusing. How often have you started to solve a problem with generics, only to realize that they don’t quite work like you thought they did? The good news is that there are some simple, foundational concepts that underpin generic variance. And once you understand those concepts, you won’t have to memorize acronyms or resort to trial-and-error - you’ll simply understand how and why they work.”

This link contains the closest thing I can find to Scaladoc for Play Framework helpers like checkbox, form, input, inputDate, inputFile, inputPassword, select, textarea, and more.

This is a decent article about how to start the Mac/MacOS screensaver using a keyboard shortcut (keystroke).

A few notes from the article I linked to:

This post discusses medications used to treat MCAS. Doses listed are taken directly from “Presentation, diagnosis and management of mast cell activation syndrome” by Lawrence B. Afrin. These doses are general recommendations. Medication should always be taken under the direction of a provider who knows you and your case personally.

Anki is a flashcards application with desktop, web, Android, and iOS clients. The desktop and web parts are free.

This is a good resource for JavaFX dialogs and alerts.

Here’s a link to an H2 JDBC database tutorial (just some sample code).

This is a good resource for LibGDX programming on Android.

This page, titled, “How to Make a Kindle eBook from Scratch,” was very helpful for me in the process of creating my new Kindle eBook, which I created from scratch with HTML, CSS, and the other necessary files (OPF, NCX).