profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/magthe/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

magthe/hsini 8

Haskell library for configuration (INI) files.

magthe/dataenc 3

Data encoding library for Haskell

magthe/keysafe 2

A safe place to keep your passwords.

magthe/ci-test-hs 1

Trying out some hosted CI services (Haskell)

magthe/lat 1

Linux alert tracking tool

magthe/magthe.github.io 1

My web site

indogbg/indogbg.github.io 0

Föreningens hemsida

magthe/advent_of_code_2016 0

Contribute your solutions to Advent of code 2016! All languages welcome!

issue commentpaperwm/PaperWM

Support GNOME 40

There's also something wonky with the scratch layer as opening applications configured to start on the scratch layer sometimes crashes the shell. When the shell restarts all applications are "tiled".

gavr123456789

comment created time in 4 days

issue closedlbovet/yglu

Importing based on URL

I have a use case where I'd like to use yglu, but it relies on being able to import not only from local files, but from URLs.

A simple example would be if the import sample would still work if written like this:

a: !? $import('https://raw.githubusercontent.com/lbovet/yglu/master/tests/samples/imported.yaml')
b: !? .a.y
c: !? ($_.a.z)(1)
d: !? .a.y + 2
e: !? ($_.a.z)(3)

Is that something that would fit in yglu at all?

closed time in 14 days

magthe

issue commentlbovet/yglu

Importing based on URL

Yes, that would be perfect!

magthe

comment created time in 14 days

issue openedlbovet/yglu

Importing based on URL

I have a use case where I'd like to use yglu, but it relies on being able to import not only from local files, but from URLs.

A simple example would be if the import sample would still work if written like this:

a: !? $import('https://raw.githubusercontent.com/lbovet/yglu/master/tests/samples/imported.yaml')
b: !? .a.y
c: !? ($_.a.z)(1)
d: !? .a.y + 2
e: !? ($_.a.z)(3)

Is that something that would fit in yglu at all?

created time in 14 days

push eventmagthe/qmk_firmware_annepro

Magnus Therning

commit sha 8e47b116a164ab2588ad4c58dd244d0f1135bc71

My keymap

view details

push time in a month

push eventmagthe/qmk_firmware_annepro

Magnus Therning

commit sha e02cf11dfab7aa8d49d314977c2726ab5dd3fe14

My keymap

view details

push time in a month

fork magthe/qmk_firmware

Port of QMK for the Anne Pro 2

https://qmk.fm

fork in a month

issue commentjustinwoo/spago2nix

More beginner friendly and complete example setup, please

After asking for help on the PureScript Discourse I've ended up with the following

{ pkgs ? import <nixpkgs> { }) }:

with pkgs;

let spagoPkgs = import ./spago-packages.nix { inherit pkgs; };

in stdenv.mkDerivation rec {
  pname = "hu-frontend";
  src = lib.cleanSource ./.;
  version = "0.1";

  buildInputs = [
    spagoPkgs.installSpagoStyle
    spagoPkgs.buildSpagoStyle
    spagoPkgs.buildFromNixStore
    purescript
    spago
  ];

  unpackPhase = ''
    cp $src/{packages,spago}.dhall .
    cp -r $src/src .
    install-spago-style
  '';

  buildPhase = ''
    build-spago-style ./src/*.purs
    spago bundle-app --no-build --no-install
  '';

  installPhase = ''
    install -D -m644 ./index.js $out/srv/hu-frontend.js
  '';
}

It works locally but is very different from the instructions in the project's README. Are the instructions simply outdated?

magthe

comment created time in a month

issue openedjustinwoo/spago2nix

More beginner friendly and complete example setup, please

I'm struggling with setting up a derivation for my project and I think it'd be useful to have a beginner friendly (complete) example. Or maybe you have some public project using spago2nix that you can point to?

This is what I have at the moment:

{ pkgs ? import <nixpkgs> { }) }:

with pkgs;

let spagoPkgs = import ./spago-packages.nix { inherit pkgs; };

in stdenv.mkDerivation rec {
  pname = "my-frontend";
  src = lib.cleanSource ./.;
  version = "0.1";
  buildInputs = []; # what to put here??
  buildPhase = ''
    ${spagoPkgs.installSpagoStyle} # fails because it's a directory???
    ${spagoPkgs.buildSpagoStyle}
    ${spagoPkgs.buildFromNixStore}
  '';
  installPhase = ''
    echo "what would an install phase look like? 'spago bundle-app'?"
    echo "hello" > "$out/hello"
  '';
}

and it results in

❯ nix-build
these derivations will be built:
  /nix/store/snqbfnfiimbwmxx49sv52jcs3ixvxlhm-my-frontend-0.1.drv
building '/nix/store/snqbfnfiimbwmxx49sv52jcs3ixvxlhm-my-frontend-0.1.drv'...
unpacking sources
unpacking source archive /nix/store/1yyr076qh70rmkqh8s717q0sg7d48y0h-source
source root is source
patching sources
configuring
no configure script, doing nothing
building
/nix/store/dj40kjgp5lhs55v4hc47vyrarhq4qycz-stdenv-linux/setup: line 1309: /nix/store/cdpd8vclmd9iji26qq0pd8jyd2syhndx-install-spago-style: Is a directory
builder for '/nix/store/snqbfnfiimbwmxx49sv52jcs3ixvxlhm-my-frontend-0.1.drv' failed with exit code 126
error: build of '/nix/store/snqbfnfiimbwmxx49sv52jcs3ixvxlhm-my-frontend-0.1.drv' failed

created time in 2 months

create barnchmagthe/sandi

branch : use-capi

created branch time in 2 months

delete branch magthe/sandi

delete branch : build-with-nix

delete time in 2 months

push eventmagthe/sandi

Magnus Therning

commit sha 20365a5fe397c7a8d0c6aa0d007f8415c80d98e2

Switch to use Cabal all the way

view details

Magnus Therning

commit sha 40984eca9511c89225827cfbbeaa90fb5badabc5

Initial setup to build with Nix

view details

Magnus Therning

commit sha a8ef86ec3798a640d86342421a7fa7fa97bdedd4

Merge branch 'build-with-nix'

view details

push time in 2 months

push eventmagthe/sandi

Magnus Therning

commit sha 40984eca9511c89225827cfbbeaa90fb5badabc5

Initial setup to build with Nix

view details

push time in 2 months

push eventmagthe/sandi

Magnus Therning

commit sha eccfe626f52ac69b9c16bbe1247bc1572016ea5a

fixup! Initial setup to build with Nix

view details

push time in 2 months

push eventmagthe/sandi

Magnus Therning

commit sha e07dec7bf3535fbf8bdf2eb48752e6d46fa76aad

fixup! Initial setup to build with Nix

view details

push time in 2 months

push eventmagthe/sandi

Magnus Therning

commit sha 20365a5fe397c7a8d0c6aa0d007f8415c80d98e2

Switch to use Cabal all the way

view details

Magnus Therning

commit sha 481029d6ec5c7e7a1ebae9d58f31990fa593a198

Initial setup to build with Nix

view details

push time in 2 months

pull request commentsyl20bnr/spacemacs

Rename commands for org-roam v2 compatibility

Should org-roam-setup function be called to set things up?

The docs, https://www.orgroam.com/manual.html#Setting-up-Org_002droam, suggests it should be called, yes.

kappa

comment created time in 2 months

push eventmagthe/magthe.github.io

Magnus Therning

commit sha ccbb92bd0655334a2c95e5a727daa004d89c3178

Publish post on roam-extra v2

view details

push time in 2 months

push eventmagthe/spacemacs

duianto

commit sha d424c8d1d1d3505268351092c54d15a0a6b31d24

Bind frame keys using spacemacs|spacebind This names the SPC F which-key entry. before: +prefix after: Frames And adds "..." to the end of the descriptions, for the keys that require additional user interactions.

view details

duianto

commit sha f853124578c5e6faa7c169378bbcd7f9335f80c6

Improve editing-style toggles problem: The toggle editing style prefix: SPC t E always shows the same names: e -> emacs (holy-mode) h -> hybrid (hybrid-mode) This causes some confusion about how to switch to the vim (evil-mode) editing style, from emacs or hybrid state. solution: Show which editing styles one will switch to: In evil-mode: e -> emacs (holy-mode) h -> hybrid (hybrid-mode) In holy-mode: e -> vim (evil-mode) h -> hybrid (hybrid-mode) In hybrid-mode: e -> emacs (holy-mode) h -> vim (evil-mode)

view details

duianto

commit sha 2e48899db743738a2beac100e73ab4b253720c6d

Open home buffer recent files in expected order problem: Pressing a number key on the Spacemacs home buffer, doesn't reliably open the expected recent file. cause: The number keys are bound to open the files in the order they are listed in the `recentf-list`. The `recentf-list` is updated when a file is saved. The home buffers recent files list is only updated when the home buffer is created/refreshed/resized. solution: Open the recent files in the order they were listed when the home buffer was last updated. Fixes: incorrect order number in recent files on home buffer #14471

view details

Corentin

commit sha 4409d39bec052b91960c4e8dc4a369d308e24e55

Fixes error if parsing ipython dev version

view details

Kjartan Óli Ágústsson

commit sha 151d4db88438d277caed72d00266ed8b1f74d6c4

Add keybindings for org-roam-alias-add (#14480) * Add keybindings for org-roam-alias-add. * Fix typo. Remove unintended t from org-roam-alias-add binding

view details

duianto

commit sha 15decbc67dbee8c6e102bf63c3b2e2746f5a009f

[evilified] Restore evil-surround Enable `evil-surround-mode` when exiting evilified state. If `evil-surround-mode` was enabled. Currently it only disables `evil-surround-mode`. This was discovered while exiting `edebug-mode`. This also removes the unused variable: `evilified-state--evil-surround` It might have been intended for this purpose. Otherwise it can be added back when a use case for it is introduced.

view details

Ben Swift

commit sha b2d89fdc3ff8ad3808d6c4675fdef886ed51695b

[ess] add keybinding for ess-quit

view details

Peixian Wang

commit sha 34aeca5f9874b2c01605e26078b115df000ca4b9

Add note on which jar to use Build system for https://github.com/prominic/groovy-language-server generates two different jars, this adds a note on which jar to use.

view details

Ilya Grigoriev

commit sha b5e32b42c0dd46cf1bdb640a5b887a5a7c08e200

FAQ on including _ in words for `*` searches This expands the entry on including underscores and dashes in word motions to discuss `*` and `#` searches. There is a new solution for them is different, and simpler, than the solution for the other motions (but it is difficult to find). For me, personally, this obviates the necessity of messing with the syntax definitions. Some related issues: https://github.com/syl20bnr/spacemacs/issues/9740, https://github.com/syl20bnr/spacemacs/pull/1248, https://github.com/syl20bnr/spacemacs/issues/1261. Many thanks to lyro@ for fixing https://github.com/emacs-evil/evil/issues/360.

view details

Chris

commit sha 9b9043bc5cae344eb044b2bb78ed37ebcd4a8448

update cask install instructions in README (#14452) * use 'brew install --cask' the latest versions of homebrew use the syntax 'brew install --cask' instead of 'brew cask install' * Update README.md

view details

Ag Ibragimov

commit sha 589c16b73ac4f3f683d7f700a644359ce4875437

git: adds orgit-forge so org links can be stored from forge topics (#14450) * git: adds orgit-forge so org links can be stored from forge topics * PR feedback Suggested-by: Lucius Hu <lebensterben@users.noreply.github.com>

view details

duianto

commit sha 94585331cee24d3226530e1d8bc6640285d5be2a

Replace move-text with drag-stuff Just like: https://github.com/emacsfodder/move-text https://github.com/rejeep/drag-stuff.el also drags one or more (region) lines up or down. But it also allows for dragging left and right (across end of lines): - a word: changing place with the next or previous word. - a region: moving it one character at a time to the left or right. Added a new key binding: `SPC x .` that opens the: ``` Drag Stuff Transient State [k/K] up [h/H] left [q] quit [j/J] down [l/L] right ``` The `move-text` package isn't removed, even though it isn't used anymore in Spacemacs. Because the `evil-unimpaired` elpa directory is generated from the local Spacemacs `evil-unimpaired.el` file. https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Bspacemacs/spacemacs-evil/local/evil-unimpaired/evil-unimpaired.el Therefore the `evil-unimpaired` key bindings `[e` and `]e` still call the `move-text` commands. Until the `evil-unimpaired` elpa directory has been removed and regenerated by restarting Spacemacs. Then they will call the new `drag-stuff` commands. I don't know if/when the `move-text` package can be removed in the future.

view details

duianto

commit sha 898e5092733d0ba6e3de0ac4b85e3382f3e52847

[evilified] Add evilified normal keys: yank, navigate evilified normal state is missing some useful keys: y (evil-yank) and the common navigation keys: f, F, t, T, w, W, b, B, $, ^ They are available in evilified visual state, but it's useful to be able to copy text without having to enter visual state first. Adding `y` (`evil-yank`), makes the inner (`i`) and outer (`a`), text objects available in evilified normal state. This also adds the text objects to evilified visual state.

view details

William McBee

commit sha 7786e11a3592a2a40fcd233433f0b4b08f84fabb

[core] load-env-vars cygwin support (#14442) Cygwin's paths use forward slashes, not backward slashes.

view details

Daniel Nicolai

commit sha c7044145ffe810b54d401cd9e79a2d90971332f6

Add pdf-view-restore to pdf layer pdf-view-restore implements a solution for pdf-tools to remember and open at the last viewed page of a document

view details

Ivan Yonchovski

commit sha 32ead25c357a69e9e3605b76c765d4e127699e7f

[lsp] Bind `SPC p E` to `helm-lsp-diagnostics` IMHO this should be global binding, the alternative was `SPC e e` because it can be used everywhere, e. g. from compilation buffer to find the error causing the build breakage.

view details

Maximilian Wolff

commit sha c4ed6b5d0a8180304a201368f132af4956798850

[pdf] defer loading of pdf-view-restore

view details

emacspace

commit sha 13791616c7c93979f6348588e6205c33a6bc731e

[bot] Auto-update (#14398) * documentation formatting: Sat Mar 13 23:53:10 UTC 2021 * Built-in files auto-update: Sat Mar 13 23:51:34 UTC 2021

view details

duianto

commit sha 480efa0f3d8c2832d1778a1baebcd3686ec5f448

Remove unused package: move-text

view details

winsphinx

commit sha fb41915c5b74bbdbc87dc00a157f2e9c842b4273

[org] Add org-appear support (#14482) * [org] Add org-appear support * fixes for org-appear support

view details

push time in 2 months

push eventmagthe/magthe.github.io

Magnus Therning

commit sha 0b3447dbe97f837a4c3a98667e4ce5f6f0506181

Spelling fix

view details

push time in 3 months

issue closedyesodweb/wai

TimeoutThread exceptions in 3.3.16, what to do with them in my application?

When making the switch 3.3.15 -> 3.3.16 I noticed that my application's "uncaught exception handler" started receiving TimeoutThread exceptions for the first time. As I'm not really sure what I as an application writer should do with them I have to ask, was that intentional?

I suspect maybe the change https://github.com/yesodweb/wai/commit/45e76481a5297aadf46241e5e4dbab197fe83211 could be the cause of it :thinking:

closed time in 3 months

magthe

issue commentyesodweb/wai

TimeoutThread exceptions in 3.3.16, what to do with them in my application?

Yes, 3.3.17 seems good. :smiley:

Thanks for your help!

magthe

comment created time in 3 months

issue commentyesodweb/wai

TimeoutThread exceptions in 3.3.16, what to do with them in my application?

Ah yes that should be easily done. Thanks!

magthe

comment created time in 3 months

push eventmagthe/magthe.github.io

Magnus Therning

commit sha 0e60db67928c2ac9fe4e71f1f455bf53157b9b77

Publish post on TimeoutThread

view details

push time in 3 months

issue openedyesodweb/wai

TimeoutThread exceptions in 3.3.16, what to do with them in my application?

When making the switch 3.3.15 -> 3.3.16 I noticed that my application's "uncaught exception handler" started receiving TimeoutThread exceptions for the first time. As I'm not really sure what I as an application writer should do with them I have to ask, was that intentional?

I suspect maybe the change https://github.com/yesodweb/wai/commit/45e76481a5297aadf46241e5e4dbab197fe83211 could be the cause of it :thinking:

created time in 3 months

issue commentpaperwm/PaperWM

Support GNOME 40

I decided to make one more attempt, but this time I turned off Wayland, and so far it's been more stable. No crash for the entire day so far. (I just hope I don't jinx it now :) )

gavr123456789

comment created time in 3 months

issue commentpaperwm/PaperWM

Support GNOME 40

gavr123456789

comment created time in 3 months

issue commentpaperwm/PaperWM

Support GNOME 40

This morning Zoom crashed Gnome for me again, actually several times and I ended up switching from PaperWM just to be able to work. I did catch the logs using journalctl _UID=1000 after the first time. The logs can be found at https://termbin.com/afu4

I logged in 08:49:28 and the crash happened around 10:13.

Hopefully the logs can offer some indication of what the underlying issue is.

gavr123456789

comment created time in 3 months

push eventmagthe/magthe.github.io

Magnus Therning

commit sha cc077a6ee87e1d406082d180ae21d83017530712

Publish first post on HMock

view details

push time in 3 months

issue commentcdsmith/HMock

Stuck on no instance for `KnownSymbol`

Very nice! I've been pushing on, trying out HMock to replace some of the tests I have where I in the past have used custom monad stacks for testing purposes. So far it's a pleasure to work with.

magthe

comment created time in 3 months