Skip to content

Instantly share code, notes, and snippets.

@lordpretzel
lordpretzel / mu4e-pimped.el
Last active February 8, 2023 15:49
async email sending in emacs (mu4e)
(require 'advice-tools)
(require 'mu4e)
(require 'mu4e-main)
(require 'cl-lib)
(require 'alert)
(require 'dash)
(require 'bui)
(require 's)
(defun mu4e-pimped-set-mail-send-funcs (async-sending)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[info] Compiling 1 Scala source to /Users/lord_pretzel/Documents/workspace/mimir-caveats/target/scala-2.12/test-classes ...
[info] Done compiling.
[success] Total time: 1 s, completed Jun 11, 2020, 3:17:21 PM
sbt:mimir-caveats> testOnly org.mimirdb.caveats.LogicalPlanRangeSpec -- ex "certain inputs.aggregation - no group-by - aggregtion functions only"
[info] LogicalPlanRangeSpec
[info] DataFrame Range Annotations
[info] Certain inputs
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.spark.unsafe.Platform (file:/Users/lord_pretzel/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/spark/spark-unsafe_2.12/3.0.0-preview2/spark-unsafe_2.12-3.0.0-preview2.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of org.apache.spark.unsafe.Platform
Running sbt
[info] Loading global plugins from /Users/lord_pretzel/.sbt/1.0/plugins
[info] Loading settings for project mimir-caveats-build from metals.sbt ...
[info] Loading project definition from /Users/lord_pretzel/Documents/workspace/mimir-caveats/project
[info] Loading settings for project mimir-caveats from build.sbt ...
[info] Set current project to mimir-caveats (in build file:/Users/lord_pretzel/Documents/workspace/mimir-caveats/)
[info] sbt server started at local:///Users/lord_pretzel/.sbt/1.0/server/3b9af470c5023f52927d/sock
sbt:mimir-caveats> testOnly org.mimirdb.caveats.LogicalPlanRangeSpec -- ex "certain inputs.aggregation - no group-by - aggregtion functions only"
[info] LogicalPlanRangeSpec
[info] DataFrame Range Annotations
public static void main (String[] args) {
List<String[]> l = List.of(
new String[] { "Chicago", "Madison" },
new String[] { "Chicago", "Indianapolis" }
);
RoadNetwork n = new RoadNetwork (l);
System.out.println(n);
}