profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/arejensen/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.
Are Jensen arejensen Nordlandsforskning Bodø, Norway http://twitter.com/arejensen Senior Researcher at Nordland Research Institute. Primary interests are: organizational behavior; group dynamics; and the intersection between them.

arejensen/AwesomePerfCpp 0

A curated list of awesome C/C++ performance optimization resources: talks, articles, books, libraries, tools, sites, blogs. Inspired by awesome.

arejensen/blog 0

Source code and other material for my blog posts.

arejensen/cmake-modules 0

Additional CMake functionality. Most of the modules are from Ryan Pavlik (https://github.com/rpavlik/cmake-modules)

arejensen/cmake-templates 0

Collection of barebone CMake project templates for various specific setups

arejensen/corona_support_automation 0

Command line utility for downloading data from the Norwegian IRS' business support system

arejensen/cpplinks 0

A categorized list of C++ resources.

arejensen/emacs 0

Mirror of GNU Emacs

arejensen/emacs-helm-ag 0

The silver searcher with helm interface

arejensen/evil-org-mode 0

Supplemental evil-mode keybindings to emacs org-mode

issue commentsyl20bnr/spacemacs

Spacemacs-based LaTeX document preparation environment with the coding/command completion and human text writing suggestion at the same time.

See https://github.com/syl20bnr/spacemacs/blob/develop/layers/+tools/languagetool/README.org

hongyi-zhao

comment created time in an hour

issue openedKethku/neovide

Railgun or scrolling animation is triggered randomly when typing

Describe the bug mouse scrolling animation is triggered randomly when typing. This is so distracting.

https://user-images.githubusercontent.com/21097695/123016096-81971380-d3e7-11eb-8c6c-d33c400245aa.mp4

Desktop (please complete the following information):

  • OS: Windows 10
  • Neovide Version [built from source]
  • Neovim Version [0.5.0]

Please run neovide --log and paste the results here: neovide_rCURRENT.log

created time in an hour

issue closedKethku/neovide

Fontconfig error: Cannot load default config file

I wanted to tackle this issue https://github.com/neovim/neovim/issues/13416 but on my system (nixos) I get

Fontconfig warning: line 5: unknown element "description"
Fontconfig error: line 5: invalid attribute 'domain'
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
Fontconfig error: Cannot load default config file
thread 'main' panicked at 'fonts exist: NotFound', src/renderer/fonts/font_loader.rs:96:57
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

according to https://github.com/NixOS/nixpkgs/issues/94073#issuecomment-668722514 the problem doesn't lie in the above errors but in incompatibilites between fontconfig versions: my nixos font cache uses a more recent version ( 2.13.92) than whatever neovide supports. I am not 100% sure but that's my current guess at the problem. I dont know rust (willing to learn) but if you could share a patch or a workaround that would be very welcome.

NB: nix files I've been using https://github.com/teto/home/blob/master/nixpkgs/overlays/pkgs/neovide with https://github.com/teto/neovide/tree/nix

closed time in 2 hours

teto

issue commentKethku/neovide

Fontconfig error: Cannot load default config file

fixed on master

teto

comment created time in 2 hours

issue closedKethku/neovide

skia-safe fails to build due to permission boundaries

Hi!

On the latest commit in opengl branch, the build fails for me due to permission boundaries of the process. It seems to try and write to /usr directly, but can't. I get the following:

  cargo:rerun-if-env-changed=CC                                                                                                                                                                        [82/36816]  cargo:rerun-if-env-changed=CXX                                                                                                                                                                                   cargo:rerun-if-env-changed=SKIA_SOURCE_DIR                                                                                                                                                                       cargo:rerun-if-env-changed=FORCE_SKIA_BUILD                                                                                                                                                                      cargo:rerun-if-env-changed=FORCE_SKIA_BINARIES_DOWNLOAD                                                                                                                                                          TRYING TO DOWNLOAD AND INSTALL SKIA BINARIES: 0.39.1/750688025ba50471efe8-x86_64-unknown-linux-gnu-gl                                                                                                            cargo:rerun-if-env-changed=SKIA_BINARIES_URL                                                                                                                                                                       FROM: https://github.com/rust-skia/skia-binaries/releases/download/0.39.1/skia-binaries-750688025ba50471efe8-x86_64-unknown-linux-gnu-gl.tar.gz                                                                UNPACKING ARCHIVE INTO: /home/pkgmk/work/neovide/src/neovide-779861037743aacad5e5ab39a4dd22ef889dd1d0/target/release/build/skia-bindings-c82cbf8ed5f2521b/out/skia                                               INSTALLING BINDINGS                                                                                                                                                                                              DOWNLOAD AND INSTALL FAILED: Operation not permitted (os error 1)                                                                                                                                                STARTING A FULL BUILD                                                                                                                                                                                            cargo:rerun-if-env-changed=SKIA_USE_SYSTEM_LIBRARIES                                                                                                                                                             cargo:rerun-if-env-changed=SDKROOT                                                                                                                                                                               cargo:rerun-if-env-changed=SKIA_NINJA_COMMAND                                                                                                                                                                    cargo:rerun-if-env-changed=SKIA_GN_COMMAND                                                                                                                                                                       Probing 'python'                                                                                                                                                                                                 Python 2 found: "python"                                                                                                                                                                                         Synchronizing Skia dependencies                                                                                                                                                                                  Skipping "../src".                                
  skia/third_party/externals/freetype  @ dfa7cca5f3b4f494aae785891ab4a42e66db77ef
  skia/third_party/externals/d3d12a... @ 169895d529dfce00390a20e69c2f516066fe7a3b
  skia/third_party/externals/expat     @ e976867fb57a0cd87e3b0fe05d59e0ed63c6febb
  skia/third_party/externals/harfbuzz  @ 3a74ee528255cc027d84b204a87b5c25e47bff79
  skia/third_party/externals/libgif... @ fd59fa92a0c86788dcdd84d091e1ce81eda06a77
  skia/third_party/externals/libjpe... @ 64fc43d52351ed52143208ce6a656c03db56462b
  skia/third_party/externals/libwebp   @ fedac6cc69cda3e9e04b780d324cf03921fb3ff4
  skia/third_party/externals/piex      @ bb217acdca1cc0c16b704669dd6f91a1b509c406
  skia/third_party/externals/libpng    @ 386707c6d19b974ca2e3db7f5c61873813c6fe44
  skia/third_party/externals/icu       @ dbd3825b31041d782c5b504c59dcfb5ac7dda08c
  skia/third_party/externals/zlib      @ c876c8f87101c5a75f6014b0f832499afeb65b73
  skia/third_party/externals/spirv-... @ bdbef7b1f3982fe99a62d076043036abe6dd6d80

  --- stderr                                        
  Traceback (most recent call last):
    File "skia/bin/fetch-gn", line 41, in <module>
      stat.S_IROTH                | stat.S_IXOTH )
  OSError: [Errno 1] Operation not permitted: 'bin/gn'
  Traceback (most recent call last):
    File "skia/tools/git-sync-deps", line 266, in <module>
      exit(main(sys.argv[1:]))
    File "skia/tools/git-sync-deps", line 261, in main
      os.path.join(os.path.dirname(deps_file_path), 'bin', 'fetch-gn')])
    File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/usr/bin/python', 'skia/bin/fetch-gn']' returned non-zero exit status 1
  thread 'main' panicked at '`skia/tools/git-sync-deps` failed', /home/pkgmk/distfiles/rust/registry/src/github.com-1ecc6299db9ec823/skia-bindings-0.39.1/build_support/skia.rs:630:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

The buildsystem is CRUX and provides clang as well as gn in /usr. I tried looking up with skia-safe upstream and tried export SKIA_GN_COMMAND=/usr/bin/gn which doesn't help.

closed time in 4 hours

TimB87

issue commentKethku/neovide

skia-safe fails to build due to permission boundaries

Well, here is a quick fix though: tried building the latest master branch and its working better than ever, meaning all keys seem to get recognized properly, even umlauts and all the other fun stuff. I can finally use neovide 🥳 thanks for the work on it!

TimB87

comment created time in 4 hours

issue commentKethku/neovide

skia-safe fails to build due to permission boundaries

Finished release [optimized] target(s) in 11m 55s That worked for me

TimB87

comment created time in 4 hours

push eventMattPD/cpplinks

Matt P. Dziubinski

commit sha 8b2ba8f6a88745b15df0fcbe0ea27775dbe32961

[std][reports] Add reports from the ISO C++ meetings in 2020 (core language; November virtual meeting & February Prague meeting)

view details

push time in 5 hours

issue commentKethku/neovide

Non Qwerty\En US Input

@Kethku,

Yes, dead keys can be a bit hard to understand until you have actually used them. But the behaviour we are looking for here is quite simple. Normally the terminal handles the dead keys, and Vim will only see the end result, so that's what should happen here too.

So to answer your questions,

  1. Keybindings to deadkeys are perfectly normal, the default binds ^ (go to first non blank on the line), and the backtick ` for marks. To use them you would have to press the the dead key followed by space. So to go to the start of the line I would press shift+^ and then <space>. I don't know how common it is, but it's also possible to map things like nmap ë ihello, which would enter insert mode and type hello if I press ¨ followed by e.

    It's also possible to map the other way around, and I guess many people do that for example map ö ^, so that they can press the dedicated ö key instead.

    Personally I have a programmable QMK keyboard, so I work around the problem by having a keymap that sends the space combination by default, with the actual dead keys are on another layer.

  2. All VIM modes should behave exactly the same way, since the dead key processing is the first thing that should be done.

  3. For dead keys, the modifier should be handled separately for the actual dead key and the following letter. So I can for example press altgr+~ and then shift+a for Ã. I'm also fairly sure that you should pass the modifiers that were held down at the moment the second key was pressed to Vim.

A final note. Most keyboard layouts have simple dead keys with just two key presses, but some layouts have chainable dead keys, where you can press two or more dead keys in any order followed by the key to modify. I don't know how popular those are, and if they need to be supported, but the principle for supporting them is the same, wait for the final modified character and pass that to Vim along with the modifiers. But it can go even beyond that, for example, I know that the Vietnamese keyboard layout has a slightly more complex variant of the dead keys, and that the Japanese and Chinese input methods are completely different.

Kethku

comment created time in 5 hours

issue commentsyl20bnr/spacemacs

Bug in load-spacemacs-env behavior?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

dparis

comment created time in 6 hours

issue commentKethku/neovide

Non Qwerty\En US Input

@fredizzimo @cljoly I suspected this would be an issue with dead keys. The problem is that I don't know what the correct behavior should be for handling both bindings in normal mode and text input in input mode. I think the PRs upstream give us tools which should make the problem tractable, but I don't know enough about common keyboard patterns with non qwerty keyboards to be confident in what changes are necessary.

A couple questions (I'll have more):

  1. What should happen you configure a keybinding to a deadkey? Is that something anybody does? Should it be a no-op?
  2. Should normal mode keyboard handling act differently from insert mode? We could pipe the current mode into the window system, but I would need to know what people would expect the difference to be.
  3. Its not clear to me how modifiers should get sent to neovim. My understanding of keyboard layouts is that sometimes a modifier is "consumed" in order to modify the inserted text for a given key press. I don't know if I have the ability to tell whether a particular modifier has been used up in this way given the api I have from winit. Is it ok to still pass the modifier even if it has modified the associated key? Maybe I'm completely confused haha

Answers to these questions would go a long way toward helping me know what the correct implementation of this stuff should be. I'm very much not an expert in this area, so fixing this would require some time and commitment to help me understand. Alternatively I would be happy to assist somebody if they want to dive in. Either way works for me

Kethku

comment created time in 6 hours

issue commentsyl20bnr/spacemacs

Application freezes while executing py script on comint shell

@sumitkumar97 I'm not closing this issue because this could indeed be a bug.

If anyone else has come across similar freeze/hanging bug when interacting with Python/inferior shell/compilation mode, please comment.

sumitkumar97

comment created time in 7 hours

issue commentKethku/neovide

Non Qwerty\En US Input

For me Ctrl+Shift+V paste seems to be not working in neovide Also noticed that when switching between panes in xmonad with Super+nr neovide detects it as input while nevide in Alacritty terminal does not. OS: Arch with xmoad

Kethku

comment created time in 8 hours

issue openedKethku/neovide

Iosevka ligatures messed up

image

Looks like our handling of iosevka is wrong.

  1. Determine if this issue is upstream using the swash testing app
  2. Do some investigation about how ligatures are formed with iosevka
  3. Take this learning and adjust the glyph positioning system to handle this edge case

created time in 8 hours

issue commentKethku/neovide

Error while building Neovide on M1 Mac.

I downloaded the prebuilt binary but I get this error. Screenshot 2021-06-22 at 10 46 54 PM

Great to see homebrew support is on the way!!

IBS27

comment created time in 8 hours

issue commentKethku/neovide

Font italics not working in compiled app but working in app downloaded from releases

Underline works. Bold does not. This was a regression because I forgot to track it while reworking the font shaper.

dineshKumar777

comment created time in 9 hours

issue commentKethku/neovide

Font italics not working in compiled app but working in app downloaded from releases

Can someone try this with bold/underlined fonts/themes as well?

dineshKumar777

comment created time in 9 hours

issue commentKethku/neovide

Error while building Neovide on M1 Mac.

I have been wanting to try out Neovide for the past few days. I followed all the instructions in the readme to install it. But when I run cargo build --release I get a huge error.

Please try downloading the prebuilt binary from here: https://github.com/Kethku/neovide/suites/3053893722/artifacts/69453974, it should run natively as well. The download on the releases page is fairly outdated and is still based on the Vulkan platform

Since this didn't work I installed the .app file from the releases. After installation when I tried to open it, I get the following error.

The issue should be fixed (https://github.com/Kethku/neovide/issues/447) with the latest release

@Kethku I just wanted to know when the homebrew cask for Neovide will come out. It will be much easier.

I'm working on adding homebrew support. We will likely wait until a stable release is created, which should happen very soon. I expect the homebrew cask to be out sometime in the next week or two.

IBS27

comment created time in 9 hours

issue openedKethku/neovide

Error while building Neovide on M1 Mac.

I really wanted to try out Neovide for the past few days. I followed all the instructions in the readme to install it. But when I run cargo build --release I get a huge error.

The error is quite long so I put it in the file below. error.txt

I tried many things but it just doesn't seem to work

Since this didn't work I installed the .app file from the releases. After installation when I tried to open it, I get the following error.

Screenshot 2021-06-22 at 9 40 20 PM

After looking at some other issues I went into the Neovide.app/Contents/MacOS directory and ran chmod +x neovide. It started launching after the usual macOS security stuff. But it crashes immediately after launching.

I have Xcode installed. I am running macOS 11.4 on an M1 Mac Mini.

(Btw I used the 0.7.0 version of Neovide. I tried this with other versions too. No luck!)

@Kethku I just wanted to know when the homebrew cask for Neovide will come out. It will be much easier.

created time in 9 hours

issue closedsyl20bnr/spacemacs

Straight.el based package managment workflow support.

Does spacemacs support package management workflow based on straight.el?

Regards, HY

closed time in 10 hours

hongyi-zhao

issue commentsyl20bnr/spacemacs

Straight.el based package managment workflow support.

See https://github.com/syl20bnr/spacemacs/pull/14240

hongyi-zhao

comment created time in 10 hours

issue commentsyl20bnr/spacemacs

Straight.el based package managment workflow support.

I believe this is the main discussion: https://github.com/syl20bnr/spacemacs/pull/14240 so that may be the better place to continue it, but it's definitely worth revisiting.

Functional package management is desirable (and inevitable) for all kinds of reasons and I think this comment: https://github.com/syl20bnr/spacemacs/pull/14240#issuecomment-813636044 summarizes the situation pretty well.

hongyi-zhao

comment created time in 10 hours

issue commentsyl20bnr/spacemacs

evil-define-key overwrites keybindings globally

when the second argument is quoted, it's one of global, local, or the name of a minor mode.

dalanicolai

comment created time in 10 hours

push eventsyl20bnr/spacemacs

Daniel Nicolai

commit sha 443311c8f1d7c6ebbe1d10be576a4edc47e03a5a

Small fix: unquote keymap symbols in scheme layer (#14866)

view details

push time in 10 hours

issue commentyrosseel/lavaan

mplus2lavaan produces errow with string "ly1 BY pc1_1* (l1_1)"

The author (Michael Hallquist) has been informed. Let's hope he finds some time to fix this soon.

njaalf

comment created time in 11 hours

PR closed yrosseel/lavaan

bug fix for the polyserial correlation code, which causes errors

Hi,

I have a weird error when fitting a lavaan CFA model when I include an "ordered" variable. The error only happens with a specific dataset I have, but I was able to track down the exact bug.

The error happens at https://github.com/yrosseel/lavaan/blob/6e3e89f63a12ea2b6bdb9d5572b69ceb5c82226a/R/lav_samplestats_step2.R#L49 due to "rho" being NULL, which means that it cannot be assigned to COR[i,j].

The reason why "rho" is null is because inlav_bvmix_cor_twostep_fit is unable to converge in the four optimization tries and reach "try 4" in https://github.com/yrosseel/lavaan/blob/6e3e89f63a12ea2b6bdb9d5572b69ceb5c82226a/R/lav_bvmix.R#L81. But try 4 is bugged and doesn't work properly.

try 4 use the "optimize" function which returns a list containing $minimum [1] -0.3043362 $objective [1] 1.48367

As you can see, it does not return a "$par" value! This means that rho is assigned to a NULL at https://github.com/yrosseel/lavaan/blob/6e3e89f63a12ea2b6bdb9d5572b69ceb5c82226a/R/lav_bvmix.R#L103. And then the NULL is returned.

So the error is because try 4 at https://github.com/yrosseel/lavaan/blob/6e3e89f63a12ea2b6bdb9d5572b69ceb5c82226a/R/lav_bvmix.R#L81 does not return a "par" value and thus doesn't work. It also pretends that it converges when it doesn't, which means that the warnings are never shown. A simple solution is to just remove "try 4" and stop at "try 3". I have done just that.

+0 -9

4 comments

1 changed file

AlexiaJM

pr closed time in 11 hours

pull request commentyrosseel/lavaan

bug fix for the polyserial correlation code, which causes errors

I fixed this, by making sure optim has a 'par' element. I still would like to test this with your example. In the mean time, I will close this issue now.

AlexiaJM

comment created time in 11 hours