Loading

Paste #p6ca3gzgq

  1.     (define (combination k lst)
  2.       (cond
  3.        ((= k 0) '(()))
  4.        ((null? lst) '())
  5.        (else

GLib macOS build failure

  1. FAILED: gio/6ae6c9e@@gio-2.0@sha/gtrashportal.c.o
  2. cc -Igio/6ae6c9e@@gio-2.0@sha -Igio -I../gio -I. -I../ -Iglib -I../glib -Isubprojects/proxy-libintl -I../subprojects/proxy-libintl -Igobject -I../gobject -Igmodule -I../gmodule -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -std=gnu89 -O2 -g -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG -Wall -Wimplicit-fallthrough -Wstrict-prototypes -Wunused -Wno-bad-function-cast -Wno-pedantic -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith '-DG_LOG_DOMAIN="GLib-GIO"' -DGIO_COMPILATION

Paste #pvelbi0ey

  1. diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
  2. index 6b231f067e..025282af25 100644
  3. --- a/gdk/gdkwindow.c
  4. +++ b/gdk/gdkwindow.c
  5. @@ -3020,6 +3020,25 @@ gdk_window_end_paint_internal (GdkWindow *window)

Paste #pbgfientp

  1. import itertools
  2.  
  3.  
  4. def pk(*args):
  5.     print(*args)

PKGBUILD for astrometry-0

  1. # $Id$
  2. # Maintainer: Peter Strapp <peter at strapp.co.uk>
  3. # Contributor: Peter Strapp <peter at strapp.co.uk>
  4.  
  5. pkgname=astrometrynet

Paste #pzyfjsj8m

  1. Oct 30 11:19:23 shalzz-galp2 iwd[13561]: Received Deauthentication event, reason: 3, from_ap: false
  2. Oct 30 12:15:04 shalzz-galp2 iwd[13561]: Received Deauthentication event, reason: 3, from_ap: false
  3. Oct 30 12:15:04 shalzz-galp2 iwd[13561]: Aborting (signal 11) [/usr/lib/iwd/iwd]
  4. Oct 30 12:15:04 shalzz-galp2 iwd[13561]: ++++++++ backtrace ++++++++
  5. Oct 30 12:15:04 shalzz-galp2 iwd[13561]: #0  0x7fa05c52ce00 in /usr/lib/libc.so.6

Paste #pibt7kicw

  1.     (define (combination k lst acc)
  2.       (cond
  3.        ((= k 0) '(()))
  4.        ((null? lst) '())
  5.        (else

Instal texlive

  1.   347  mkdir texlive
  2.   348  export TEXLIVE=$HOME/texlive
  3.  349  export SHELL_ENV=$HOME/.bashrc
  4.   350  echo "TEXLIVE=$HOME/texlive" >> $SHELL_ENV
  5.   351  wget -c http://ossm.utm.my/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz

Paste #pqgx9isye

  1. The gpu hangs the system after a while or the screen becomes garbled on Ubuntu Unity. Only restart helps until next time...
  2. Motherboard Gigabyte GA-M61PME-S2P rev 1.0
  3. Driver nouveau NV4C
  4. [    0.000000] Linux version 4.15.0-38-generic (buildd@lcy01-amd64-021) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #41~16.04.1-Ubuntu SMP Wed Oct 10 20:10:45 UTC 2018 (Ubuntu 4.15.0-38.41~16.04.1-generic 4.15.18)
  5. [    0.000000] KERNEL supported cpus:

Paste #pubdq4y6f

  1. $ make
  2. g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_MULTIMEDIA_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o project.o panels/project.cpp
  3. panels/project.cpp: In mem

Paste #pll0f9fxm

  1. ==18572== Memcheck, a memory error detector
  2. ==18572== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  3. ==18572== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
  4. ==18572== Command: evolution
  5. ==18572==

Paste #pgoykft7g

  1.  FAIL  src/containers/HomePage/tests/index.test.js
  2.   ‚óŹ Test suite failed to run
  3.  
  4.     ReferenceError: [BABEL]/www/src/setupTests.js: Unknown option:/www/node_modules/babel-preset-react-app/index.js.overrides. Check out http://babeljs.io/docs/usage/options/ for more information about options.

Paste #pycm2bzfo

  1. root@home:/media/nico/data/devP/librePhone/pigiste/librem5-devkit-tools# ./scripts/librem5-devkit-flash-image
  2. 2019-01-11 16:22:09,967 INFO Looking for devkit buster+ci image
  3. 2019-01-11 16:22:10,993 INFO Found disk image Build 1002 'devkit buster+ci latest image' from Thu Jan 10 23:34:30 2019
  4. 2019-01-11 16:22:11,431 INFO Found uboot Build 22 from Tue Dec 18 22:20:01 2018
  5. 2019-01-11 16:22:11,431 INFO Downloading to ./devkit_image_0dcs_cnd

journalctl -xe

  1. $ sudo journalctl -xe
  2.  
  3. ...
  4.  
  5. Dec 31 10:17:34 localhost dockerd[9394]: time="2018-12-31T10:17:34.140698449+07:00" level=error msg="[graphdriver] prior storage driver btrfs failed: Unknown option dm.basesize"

Paste #pwquzj0pq

  1.     ;; k-combination ranking and unranking procedures according to
  2.     ;; https://en.wikipedia.org/wiki/Combinatorial_number_system
  3.  
  4.     (define (ranking lst)
  5.       (let loop ((lst (sort < lst)) ;; increasing sequence