View gist:ef0fd6be551ef15c69732b8daefc8d82
The following package will be installed:
r-lubridate 1.7.1 /gnu/store/a3mq6s5j87m7xy0r0h9fn027gsx56lfm-r-lubridate-1.7.1
spurious SIGPOLL
spurious SIGPOLL
guix package: error: profile contains conflicting entries for r-rcpp
guix package: error: first entry: r-rcpp@0.12.14 /gnu/store/00x11qjy7ca8w79z8y5yd6ig3scgw3dw-r-rcpp-0.12.14
guix package: error: ... propagated from r-lubridate@1.7.1
guix package: error: second entry: r-rcpp@0.12.14 /gnu/store/ln79b0ymlymn0l6k14780qphcfwfyld9-r-rcpp-0.12.14
View r.scm
(define-module (nextjournal packages r)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system r)
#:use-module (gnu packages image)
#:use-module (gnu packages algebra)
View arrow-fix-build.patch
Fix a build bug that would cause the linker to try linking against
'arrow_static' even when building with -DARROW_BUILD_STATIC=off:
https://issues.apache.org/jira/browse/ARROW-1308
Patch copied from upstream pull request:
https://github.com/apache/arrow/pull/931/commits/88391fe0685742cff489d0bf1a5b1a09b8d73b3b
From 88391fe0685742cff489d0bf1a5b1a09b8d73b3b Mon Sep 17 00:00:00 2001
View compression.scm
(define-module (nextjournal packages compression)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cmake))
(define-public google-brotli
(package
(name "google-brotli")
(version "0.6.0")
View python.scm
(define-module (nextjournal packages python)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (nextjournal packages compression)
View plot.py
# setting up the layout of matplotlib figure
fig, ax = plt.subplots()
# use the distplot function from seaborn to plot the distribution of AAPL
sns.distplot(AAPL['Daily Return'].dropna(), color = 'indianred',
hist_kws=dict(alpha = 0.7))
# remove the plot borders
sns.despine()
View gist:8b492f2f6e0746007abf962f7f69aab1
core@agent-3-production ~ $ sudo cat /var/lib/docker/containers/bbade0b6f31f614029f93b1e4ac84e2deb59918fbf02d45643a39fec59245438/checkpoints/r-2840-NRXJT7BG3B7MFLDBCMRV-Libraries/criu.work/restore-2017-08-11T14:08:45.480917875Z/restore.log
(00.000462) Pagemap is fully functional
(00.000508) Found task size of 7ffffffff000
(00.013771) Found fd 0 (id pipe:[18293297]) in inherit fd list (caller inherit_fd_resolve_clash)
(00.013900) Inherit fd 0 moved to 9 to resolve clash
(00.013912) Found fd 1 (id pipe:[18293298]) in inherit fd list (caller inherit_fd_resolve_clash)
(00.013917) Inherit fd 1 moved to 6 to resolve clash
(00.013923) Found fd 2 (id pipe:[18293299]) in inherit fd list (caller inherit_fd_resolve_clash)
(00.013927) Inherit fd 2 moved to 8 to resolve clash
(00.065090) Adjust mmap_min_addr 0x1000 -> 0x10000
View gist:35b52bb2fed9827fae3b694258a9125e
build-staging core # guix weather --substitute-urls=http://localhost:8090
computing 5762 package derivations for x86_64-linux...
looking for 6004 store items on http://localhost:8090...###################################################################################]
updating list of substitutes from 'http://localhost:8090'... 100.0%
http://localhost:8090
5.2% substitutes available (310 out of 6004)
unknown substitute sizes
2630.4 MiB on disk (uncompressed)
0.006 seconds per request (33.4 seconds in total)
180.0 requests per second
View gist:be8eb0df40f251429187ddfa9c228d50
Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/yyyqfaffl21ydzkr0zz72lipwd1wc9s7-r-dplyr-0.5.0...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/yyyqfaffl21ydzkr0zz72lipwd1wc9s7-r-dplyr-0.5.0' failed: 504, "Gateway Time-out"
Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/yyyqfaffl21ydzkr0zz72lipwd1wc9s7-r-dplyr-0.5.0...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/yyyqfaffl21ydzkr0zz72lipwd1wc9s7-r-dplyr-0.5.0' failed: 504, "Gateway Time-out"
Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/yyyqfaffl21ydzkr0zz72lipwd1wc9s7-r-dplyr-0.5.0...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/yyyqfaffl21ydzkr0zz72lipwd1wc9s7-r-dplyr-0.5.0' failed: 504, "Gateway Time-out"
Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/yyyqfaffl21ydzkr0zz72lipwd1wc9s7-r-dplyr-0.5.0...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/yyyqfaffl21ydzkr0zz72lipwd1wc9s7-r-d
View gist:7ba5a74e073a44c3a05cdf64f577dc57
GET /nix-cache-info
GET /yilvkr8s1za6arm4zvwvlpl9z0bcxiyf.narinfo
In guix/scripts/publish.scm:
406:22 2 (render-narinfo/cached #<build-daemon 256.97 2066300> # ?)
In guix/store.scm:
756:9 1 (_ #<build-daemon 256.97 2066300> "yilvkr8s1za6arm4zvwv?")
In unknown file:
0 (put-bytevector #<input-output: socket 15> #vu8(29 0 ?) ?)
ERROR: In procedure fport_write: Broken pipe