library(tidyr)
library(ggplot2)
ggplot(iris, aes(x = Sepal.Width, y = Sepal.Length, color = Species)) + geom_point()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pid 8515] newfstatat(AT_FDCWD, "/nix/store/1pj4gnng9ibcbd3cy4002lnyjwv2sjv3-alsa-lib-1.2.5.1/share/alsa/alsa.conf", <unfinished ...> | |
[pid 8515] <... newfstatat resumed>{st_mode=S_IFREG|0444, st_size=10119, ...}, 0) = 0 | |
[pid 8515] openat(AT_FDCWD, "/dev/snd/controlC1", O_RDONLY|O_CLOEXEC <unfinished ...> | |
[pid 8515] <... openat resumed>) = 57 | |
[pid 8515] ioctl(57, SNDRV_CTL_IOCTL_CARD_INFO <unfinished ...> | |
[pid 8515] <... ioctl resumed>, 0x7fde3fc78a90) = 0 | |
[pid 8515] close(57 <unfinished ...> | |
[pid 8515] <... close resumed>) = 0 | |
[pid 8515] openat(AT_FDCWD, "/dev/snd/controlC1", O_RDWR|O_CLOEXEC <unfinished ...> | |
[pid 8515] <... openat resumed>) = 57 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, _pkgs, ... }: | |
let pkgs = import <nixpkgs> { overlays = [ (import "/home/luke/git/nixos-rocm") ]; }; in | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; bayes1.lisp – toy probabilistic programming for Bayesian inference | |
(defpackage :bayes1 | |
(:use :common-lisp :alexandria :serapeum) | |
(:nicknames :bayes)) | |
(in-package :bayes1) | |
;;;; Hidden state tracking | |
;;; | |
;;; Every time a random variable is assigned a value, either by |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[luke@snowy:~]$ nix-shell --pure -p cacert julia_16-bin | |
[nix-shell:~]$ julia | |
_ | |
_ _ _(_)_ | Documentation: https://docs.julialang.org | |
(_) | (_) (_) | | |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | |
| | | | | | |/ _` | | | |
| | |_| | | | (_| | | Version 1.6.3 (2021-09-23) | |
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[luke@thinky:~/git]$ nix-shell -p lispPackages.quicklisp-to-nix-system-info | |
[nix-shell:~/git]$ quicklisp-to-nix-system-info --debug --verbose caveman | |
redefining QL-UTIL:WITHOUT-PROMPTING in DEFMACRO | |
redefining QL-UTIL:WITH-TEMPORARY-FILE in DEFMACRO | |
redefining QL-IMPL::ERROR-UNIMPLEMENTED in DEFUN | |
redefining QL-IMPL::NEUTER-PACKAGE in DEFMACRO | |
redefining QL-IMPL::FEATURE-EXPRESSION-PASSES-P in DEFUN | |
redefining QL-IMPL::DEFINE-IMPLEMENTATION-PACKAGE in DEFMACRO | |
redefining QL-IMPL:DEFINTERFACE in DEFMACRO | |
redefining QL-IMPL:DEFIMPLEMENTATION in DEFMACRO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[luke@thinky:~/git/nuddy/lisp]$ nix-build -k ~/git/nixpkgs -A lispPackages 2>&1 | tee lispPackages-log.txt | |
these derivations will be built: | |
/nix/store/8n7wfw32f4w095ldw9l13gyih19fb1q3-lisp-iolib-v0.8.4.drv | |
/nix/store/qq2jqypm5gh1gz47z8qpizbx9ri3wqjk-lisp-dbus-20200610-git.drv | |
/nix/store/sswgsqq6rcar80gqvyv58pyc7690r1cb-lisp-nyxt-2.0.0.drv | |
/nix/store/v6sqg061h42a2ca844lpwbsnx6n3mbi7-lisp-mgl-2021-10-07.drv | |
building '/nix/store/8n7wfw32f4w095ldw9l13gyih19fb1q3-lisp-iolib-v0.8.4.drv'... | |
building '/nix/store/v6sqg061h42a2ca844lpwbsnx6n3mbi7-lisp-mgl-2021-10-07.drv'... | |
mkdir: cannot create directory '/homeless-shelter': Permission denied | |
mkdir: cannot create directory '/homeless-shelter': Permission denied |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs; | |
# Executable dependencies | |
let exes = [ | |
sbcl lispPackages.clwrapper | |
git z3 cvc4 | |
pkg-config | |
]; in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 57144 100 57144 0 0 845k 0 --:--:-- --:--:-- --:--:-- 845k | |
This is SBCL 2.1.2.nixos, an implementation of ANSI Common Lisp. | |
More information about SBCL is available at <http://www.sbcl.org/>. | |
SBCL is free software, provided as is, with absolutely no warranty. | |
It is mostly in the public domain; some portions are provided under |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ql)(progn (load "/home/luke/git/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init") :from-emacs t) (funcall (read-from-string "swank:start-server") "/run/user/1000/slime.9089")) | |
This is SBCL 2.1.2.nixos, an implementation of ANSI Common Lisp. | |
More information about SBCL is available at <http://www.sbcl.org/>. | |
SBCL is free software, provided as is, with absolutely no warranty. | |
It is mostly in the public domain; some portions are provided under | |
BSD-style licenses. See the CREDITS and COPYING files in the | |
distribution for more information. | |
* ; loading #P"/home/luke/git/slime/swank-loader.lisp" |