I hereby claim:
- I am jluttine on github.
- I am jluttine (https://keybase.io/jluttine) on keybase.
- I have a public key ASAxaHfI0h2ZBemSQJzQIGfBe6mVRDkKJiAL4UxaN2jSxwo
To claim this, I am signing this object:
(process:21769): Timings-DEBUG: 17:13:58.766: 0.000000 (0.000000): Started | |
(process:21769): Timings-DEBUG: 17:13:58.768: 0.001732 (0.001732): source/rofi.c:main:806 | |
(process:21769): Timings-DEBUG: 17:13:58.768: 0.001774 (0.000042): source/rofi.c:main:839 | |
(process:21769): Timings-DEBUG: 17:13:58.768: 0.001856 (0.000082): source/rofi.c:main:846 Setup Locale | |
(process:21769): Rofi-DEBUG: 17:13:58.768: Parse plugin path: /nix/store/dda2zxjngkpqic8yvc3swr80fxmcn6f0-rofi-unwrapped-unstable-2020-04-19/lib/rofi | |
(process:21769): Rofi-DEBUG: 17:13:58.768: Looking into: /nix/store/dda2zxjngkpqic8yvc3swr80fxmcn6f0-rofi-unwrapped-unstable-2020-04-19/lib/rofi for plugins | |
(process:21769): Timings-DEBUG: 17:13:58.768: 0.001972 (0.000116): source/rofi.c:main:848 Collect MODI | |
(process:21769): Timings-DEBUG: 17:13:58.768: 0.001990 (0.000018): source/rofi.c:main:850 Setup MODI | |
(process:21769): Timings-DEBUG: 17:13:58.768: 0.002007 (0.000017): source/rofi.c:main:854 Setup mainloop | |
(process:21769): Timings-DEBUG: 17:13:58.768: 0. |
let | |
pkgs = import <nixpkgs> {}; | |
haskpy = ps: ps.buildPythonPackage rec { | |
name = "haskpy"; | |
doCheck = false; | |
src = ./.; | |
propagatedBuildInputs = with ps; [ | |
attrs | |
]; |
I hereby claim:
To claim this, I am signing this object:
def make_test_class(C): | |
"""Fake PyTest to test class methods of a class | |
When PyTest runs tests on a class, it creates an instance of the class and | |
tests the instance. The class shouldn't have __init__ method. However, we | |
want to test class methods, so there's no need to create an instance in the | |
first place and it's ok to have any kind of __init__ method. To work around | |
this PyTest limitation, we crete a class which doesn't have __init__ and | |
when you call it's constructor, you actually don't get an instance of that | |
class but instead the class that we wanted to test in the first place. |
building '/nix/store/g36libsbhwfhxc23yv1j8d2b1wq0lx4w-physlock-11-dev.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/wvaazs81923z1zhbi6hmkmf85acsxqkz-source | |
source root is source | |
patching sources | |
applying patch /nix/store/z3x181hf52l55j2q3msw6crlf2w3divk-79.patch | |
patching file README.md | |
Hunk #1 succeeded at 53 (offset -4 lines). | |
patching file main.c | |
Hunk #1 FAILED at 26. |
systemd.user.services.xidlehook = { | |
description = "Screen Lock Daemon"; | |
wantedBy = [ "nide.target" ]; | |
partOf = [ "nide.target" ]; | |
script = '' | |
${pkgs.strace}/bin/strace -e trace=file -f -o /home/jluttine/strace.log ${pkgs.xidlehook}/bin/xidlehook --timer primary 5 '${pkgs.coreutils}/bin/echo "MOI"' '${pkgs.coreutils}/bin/echo "HEI"' | |
''; | |
}; |
● xidlehook.service - Screen Lock Daemon | |
Loaded: loaded (/nix/store/531wyrgxz9wcmw3vivc60g1xwx9r0wnb-unit-xidlehook.service/xidlehook.service; enabled; vendor preset: enabled) | |
Active: active (running) since Sun 2019-09-29 15:55:53 EEST; 16s ago | |
Main PID: 20689 (ccypk602qzd1a81) | |
CGroup: /user.slice/user-1000.slice/user@1000.service/xidlehook.service | |
├─20689 /nix/store/l6h4ya0wzb4b8mr0y58k2gh2nhfql4sn-bash-4.4-p23/bin/bash -e /nix/store/ccypk602qzd1a81fd4485rqr8wn9sys7-unit-script-xidlehook-start | |
└─20690 /nix/store/wqsnqp514wyh7wig7k6scw0255w8wmhm-xidlehook-0.7.0/bin/xidlehook --not-when-fullscreen --not-when-audio --timer normal 5 /nix/store/lyf5hlrgy1s2crgy9yv52hp2qdvz0ihr-xsecurelock-1.4.0/libexec/xsecurelock/dimmer --timer primary 15 /run/wrappers/bin/sudo /nix/store/4vw3gb6dk116y38vwgjv3ymq5mfdcfli-systemd-243/bin/systemctl start physlock |
systemd.user.services.xidlehook = { | |
description = "Screen Lock Daemon"; | |
wantedBy = [ "nide.target" ]; | |
partOf = [ "nide.target" ]; | |
script = '' | |
#!/bin/sh | |
${pkgs.xidlehook}/bin/xidlehook \ | |
--not-when-fullscreen \ | |
--not-when-audio \ | |
--timer normal 5 "${pkgs.xsecurelock}/libexec/xsecurelock/dimmer" " " \ |
Apr 26 11:38:11 leevi xsession[2802]: KCrash: Application 'kwin_x11' crashing... | |
Apr 26 11:38:11 leevi xsession[2802]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 178, resource id: 56623111, major code: 20 (GetProperty), minor code: 0 | |
Apr 26 11:38:11 leevi xsession[2802]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 179, resource id: 56623111, major code: 20 (GetProperty), minor code: 0 | |
Apr 26 11:38:11 leevi X[2653]: (II) modeset(0): EDID vendor "LGD", prod id 803 | |
Apr 26 11:38:11 leevi X[2653]: (II) modeset(0): Printing DDC gathered Modelines: | |
Apr 26 11:38:11 leevi X[2653]: (II) modeset(0): Modeline "1920x1080"x0.0 138.00 1920 1952 1988 2088 1080 1085 1090 1102 -hsync -vsync (66.1 kHz eP) | |
Apr 26 11:38:11 leevi xsession[2802]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1242, resource id: 56623127, major code: 3 (GetWindowAttributes), minor code: 0 | |
Apr 26 11:38:11 leevi xsession[2802]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence |
#!/bin/sh | |
set -x | |
cd $HOME | |
${pkgs.nix}/bin/nix-build \ | |
-I nixpkgs=${pkgs.path} \ | |
-A analytics \ | |
--out-link result | |
result/bin/jupyter-labhub $* |