Raspberry Pi 3 Support

So far, I was unable to install nix on rpi3. What I tried:

Flash Armv7 image to sdcard and boot Pi. Kernel does not boot, missing dtb files. So I copied bcm2710-rpi-3-b.dtb and bcm2837-rpi-3-b.dtb from the official raspberry image on the sdcard.
It boots but has a black screen.
I copied my public key into /root/.ssh/authorized_keys, bootet pi and blindly typed systemctl start sshd. It worked! Now I had ssh access to my pi.
I changed my configuration.nix to:

{ config, pkgs, lib, ... }:
 {
   # NixOS wants to enable GRUB by default
   boot.loader.grub.enable = false;
   # Enables the generation of /boot/extlinux/extlinux.conf
   boot.loader.generic-extlinux-compatible.enable = true;

   boot.kernelPackages = pkgs.linuxPackages_rpi;

   # Manual doesn't currently evaluate on ARM
   services.nixosManual.enable = false;

   nix.binaryCaches = lib.mkForce [ "http://nixos-arm.dezgeg.me/channel" ];
   nix.binaryCachePublicKeys = [ "nixos-arm.dezgeg.me-1:xBaUKS3n17BZPKeyxL4JfbTqECsT+ysbDJz29kLFRW0=%" ];

   # File systems configuration for using the installer's partition layout
   fileSystems = {
     "/boot" = {
       device = "/dev/disk/by-label/NIXOS_BOOT";
       fsType = "vfat";
     };
     "/" = {
       device = "/dev/disk/by-label/NIXOS_SD";
       fsType = "ext4";
     };
   };

   environment.systemPackages = [ pkgs.vim ];
   services.openssh.enable = true;
   users.extraUsers.root.openssh.authorizedKeys.keys =
	   [ "ssh-rsa  xxxxxxxxxxxxx" ];
 }

Then:
nixos-rebuild switch --fast --option binary-caches http://nixos-arm.dezgeg.me/channel --option binary-cache-public-keys nixos-arm.dezgeg.me-1:xBaUKS3n17BZPKeyxL4JfbTqECsT+ysbDJz29kLFRW0=%

After success, the newly installed rpi-kernel does not boot. Any Ideas?

Is this related to https://github.com/NixOS/nixpkgs/pull/21988 ?

@Mic92: indeed.
@fdietze: at least for me, my Raspberry Pi 3 did not boot until I made the modifications in #21988. Note that those changes haven't been merged into the master branch yet (much less made it onto a stable release).
Apart from those changes, you will also need to disable the generic-extlinux-compatible boot loader, and enable the raspberryPi boot loader instead.
The linuxPackages_rpi kernel is also needed, but you already have that in your configuration.
Although I'm not completely sure, another thing which is probably needed for the Raspberry Pi 2 or 3, but is not usually mentioned anywhere, is that you need to have the following text in your /boot/config.txt:
kernel=kernel7.img
initramfs initrd

Although if someone could confirm whether the above point is really needed or not, that would be great.

I am waiting for this kernel patch: https://lkml.org/lkml/2017/1/19/542 to go in to make sd-image-armv7l-linux.img boot out-of-the-box.

@dezgeg As far as I can see, that only contains the Raspberry Pi 3's DTB for the arm64 architecture, not the arm32 that we are using.
IIRC, there was a similar patch a few months ago which also added the RPi3 DTB for arm32, but there was some pushback, both because of duplicate code, but also because the kernel developers seemed to prefer to support only 64-bit kernels (if the hardware supports it).
Last time I checked, NixOS still doesn't support the arm64/aarch64 architecture, so if I'm not mistaken, the patch you mentioned wouldn't be very useful currently... :disappointed:

Ah wait, maybe I've misread the patch. It seems that it adds the 32-bit DTB, so indeed it would be very useful. Thanks for keeping track of this, @dezgeg!

No, that kernel patch is for 32-bit ARM. The DT is just identical between 32-bit and 64-bit (and it already exists under arch/arm64). It's true that the arm-soc maintainers might still not want that, let's hope they do.
Aarch64 support is implemented here: #22117

I can confirm the black screen on boot issue on the Raspberry pi 3. U-Boot shows fine, but the screen goes blank when the kernel starts loading. The exact same SD card would boot fine (with HDMI working) on a Raspberry pi 2.
It's a minor problem to me personally, since we don't use the HDMI port anyway.
Also, I've got a Linux kernel override that includes the DTB patch. For those who want to build their own RPI3 image, override the kernel like this:
{
    linux_4_8 = pkgs.linux_4_8.override {
      kernelPatches = [
        { patch = ./rpi3-dtb.patch; name = "rpi3-dtb"; }
      ];
    };
}

rpi3-dtb.patch containing of course this patch.
In other news, the Linux kernel for the raspberry pi is very limited. Things like firewalls, TUN, iptables stuff and I2C don't work out of the box because of missing kernel configs. Is this intentional? I've enabled a bunch of these things in my linux_4_8 override, using the extraConfig field, but I could imagine that it could be desirable to have NixOS support most of the same stuff Raspbian does.

FWIW, when I tried RPi3 on Aarch64 the HDMI worked for me. Maybe it got fixed/enabled in kernel 4.9.
For the kernel config question, it's because sometimes (not always) enabling the kernelAutoModules option for the config generator (which tries to build anything that's not already enabled as a module) makes the kernel crash on boot. Really weird problem. But do tell what's missing and I can explicitly enable it.

My entire override can be found here. There's I2C stuff, which might be useful for tinkering, the INET, IP[6]..., NETFILTER, NF_ stuff is for the firewall (and for our VPN).
Many things (like the PPP stuff) are probably not needed. The default Raspbian stuff can be found here, scattered in Kconfig files.

@fdietze #21988 was merged now. Does nixos now work for you on rpi3?

That one is not related to OP's config, as it uses boot.loader.generic-extlinux-compatible.enable = true;
However, this might help:
nixpkgs.config = {
    platform = pkgs.platforms.raspberrypi2;
  };

Sorry for the silence, didn't have time yet to try again. I'll report back when I do.

So I tried it again:

downloaded latest armv7 image, still had to copy missing dtb files to boot partition
It still boots to a black screen.
copied my public key into /root/.ssh/authorized_keys, bootet pi, blindly typed systemctl start sshd
I tried to include the suggestions from this thread into my configuration.nix:

{ config, pkgs, lib, ... }:
 {

   # NixOS wants to enable GRUB by default
   boot.loader.grub.enable = false;
   # Enables the generation of /boot/extlinux/extlinux.conf
   boot.loader.generic-extlinux-compatible.enable = false;
   boot.loader.raspberryPi.enable = true;
   boot.loader.raspberryPi.version = 3;
   boot.extraKernelParams = [ "nomodeset" ]; # doesn't have any effect

   boot.kernelPackages = pkgs.linuxPackages_rpi;

   nixpkgs.config = {
    #platform = pkgs.platforms.raspberrypi2; # would produce infinite recursion?!
    allowUnfree = true;
  };

   # Manual doesn't currently evaluate on ARM
   services.nixosManual.enable = false;

   nix.binaryCaches = lib.mkForce [ "http://nixos-arm.dezgeg.me/channel" ];
   nix.binaryCachePublicKeys = [ "nixos-arm.dezgeg.me-1:xBaUKS3n17BZPKeyxL4JfbTqECsT+ysbDJz29kLFRW0=%" ];

   # File systems configuration for using the installer's partition layout
   fileSystems = {
     "/boot" = {
       device = "/dev/disk/by-label/NIXOS_BOOT";
       fsType = "vfat";
     };
     "/" = {
       device = "/dev/disk/by-label/NIXOS_SD";
       fsType = "ext4";
     };
   };

   environment.systemPackages = [ pkgs.vim ];
   services.sshd.enable = true;
   users.extraUsers.root.openssh.authorizedKeys.keys =
	   [ "ssh-rsa ..." ];
 }

then run:
nixos-rebuild switch --fast --option binary-caches http://nixos-arm.dezgeg.me/channel --option binary-cache-public-keys nixos-arm.dezgeg.me-1:xBaUKS3n17BZPKeyxL4JfbTqECsT+ysbDJz29kLFRW0=%

and rebooted.
Still black screen after reboot and ssh service does not start automatically (I can still blindly start it via keyboard). How can I know if it worked? Any suggestions?

It seems to work with a newer kernel:
boot.kernelPackages = pkgs.linuxPackages_4_10;

At least the ssh service is started automatically now.

Does anyone know why my Pi gets a new MAC-address on every boot?

I noticed it as well. I tracked down into an bug in either U-Boot or the mainline DTBs. (Basically U-Boot currently doesn't recognize aliases { ethernet = <&whatever>; }, it wants the alias name to be ethernet0 or similar.)

BTW, now that we have aarch64 builds on the official Hydra, I recommend the mainline kernel on aarch64 even more on the RPi3. The images aren't currently being built by Hydra but here's a fairly recent one: https://www.cs.helsinki.fi/u/tmtynkky/sd-image-aarch64-linux.img
Still, for the 32-bit port, there has been some activity from the bcm2835 maintainer in February: https://www.spinics.net/lists/arm-kernel/msg561622.html, so I expect that to land in the 4.12 kernel...

The aarch64 image works way better. It boots correctly without any hacks and the default binary cache works well. My problem now is that nixos-rebuild switch fails, because there is no space left on /boot. I tried resizing it using gparted, but that didn't work. Any advice on resizing the boot partition?

My RPI boot partition always fills up when I deploy new versions of the kernel often enough. New boot files are put into /boot when a new kernel is installed. The solution is to perform a sudo nix-collect-garbage -d. WARNING: this will remove all previous generations of NixOS, so you won't be able to boot to an earlier version of the system. A nixos-rebuild switch after collecting garbage should clear the redundant /boot files, clearing up space.
In my personal case I can't switch even after collecting garbage. The message about not enough space being left is thrown before it actually cleans /boot AFAIK. I've had to delete files from /boot before. Be very careful with that, though, since you can render your system unbootable.

For full /boot see https://github.com/NixOS/nixpkgs/issues/23926

In retrospect, actually mounting the FAT partition at /boot was a bad idea... U-Boot can load the kernel+initrd+etc. just fine from the ext4 partition. To do that:

umount /boot
comment out the fileSystems."/boot" entry from configuration.nix
use fdisk to remove the bootable flag from the FAT32 partition, and set it for the ext4 partition
nixos-rebuild switch

Tuomas Tynkkynen<EMAIL_ADDRESS>writes:

BTW, now that we have aarch64 builds on the official Hydra, I
recommend the mainline kernel on aarch64 even more on the RPi3.

great, thank you!

The images aren't currently being built by Hydra but here's a fairly
recent one:
https://www.cs.helsinki.fi/u/tmtynkky/sd-image-aarch64-linux.img

I copied the img to sd card and booted.  It hangs after the message
about loading the kernel.  Am I supposed to do something special for it
to start nixos?

It certainly works for me, though it certainly stays there for several seconds. Maybe you have a slow(er) card.

@tohl I got the behavior you're describing before switching out the power adapter for a more powerful one.

that did the trick, it works now, thank you

Is there an example configuration.nix somewhere?
The one in the sd-image just imports the sd-image expression, but it is
not clear to me, how would I go from there to my own configuration?
E.g. nixos-hardware repo does show only sample config for rpi2 but not
for rpi3.  Simply trying to enable ssh with that default import does not
work, for example.

Use one from section "NixOS installation & configuration" from https://nixos.org/wiki/NixOS_on_ARM. Don't pick linuxPackages_rpi but rather linuxPackages_latest.

Use one from section "NixOS installation & configuration" from
https://nixos.org/wiki/NixOS_on_ARM. Don't pick linuxPackages_rpi
but rather linuxPackages_latest.

yes, that worked, thank you
also, the custom binary cache configuration can be ignored for aarch64

it seems to work very well, except firewall doesnt work:
firewall = {
  enable = true;
  allowPing = true;
  allowedTCPPorts = [
    22 # sshd
  ];
};

Apr 22 16:59:02 nixos systemd[1]: Starting Firewall...
Apr 22 16:59:02 nixos firewall-start[12601]: iptables: No
chain/target/match by that name.
Apr 22 16:59:02 nixos systemd[1]: firewall.service: Main process exited,
code=exited, status=1/FAILURE
Apr 22 16:59:02 nixos systemd[1]: Failed to start Firewall.
Apr 22 16:59:02 nixos systemd[1]: firewall.service: Unit entered failed
state.
Apr 22 16:59:02 nixos systemd[1]: firewall.service: Failed with result
'exit-code'.
is that expected?

Did you try upgrading channel? I think it's fixed in the latest kernel builds.

Did you try upgrading channel? I think it's fixed in the latest kernel builds.

How can I upgrade the channel?
There isn't seem to be any by default and when I add one, it cannot
unpack the channels.
Tomas
===
[root@nixos:~]# nix-channel --list
[root@nixos:~]# nix-channel --add https://nixos.org/channels/nixos-unstable
nixos
[root@nixos:~]# nix-channel --list
nixos https://nixos.org/channels/nixos-unstable
[root@nixos:~]# nix-channel --update
downloading Nix expressions from
‘https://d3g5gsiof5omrk.cloudfront.net/nixos/unstable/nixos-17.09pre105622.f0fac3b578/nixexprs.tar.xz’...
downloading
‘https://d3g5gsiof5omrk.cloudfront.net/nixos/unstable/nixos-17.09pre105622.f0fac3b578/nixexprs.tar.xz’... [8009/8486
KiB, 1136.6 KiB/s]
unpacking channels...
builder for
‘/nix/store/s8kvq42vx1dxl8d3n5kcsymipw2ahig0-user-environment.drv’
failed to produce output path
‘/nix/store/9vgcjy5xgn2yjclp66k4kpad99npm11c-user-environment’
error: build of
‘/nix/store/s8kvq42vx1dxl8d3n5kcsymipw2ahig0-user-environment.drv’
failed
cannot unpack the channels at /run/current-system/sw/bin/nix-channel
line 169.
[root@nixos:~]# nixos-rebuild switch --upgrade
downloading Nix expressions from
‘https://d3g5gsiof5omrk.cloudfront.net/nixos/unstable/nixos-17.09pre105622.f0fac3b578/nixexprs.tar.xz’...
downloading
‘https://d3g5gsiof5omrk.cloudfront.net/nixos/unstable/nixos-17.09pre105622.f0fac3b578/nixexprs.tar.xz’... [8006/8486
KiB, 1136.5 KiB/s]
unpacking channels...
builder for
‘/nix/store/s8kvq42vx1dxl8d3n5kcsymipw2ahig0-user-environment.drv’
failed to produce output path
‘/nix/store/9vgcjy5xgn2yjclp66k4kpad99npm11c-user-environment’
error: build of
‘/nix/store/s8kvq42vx1dxl8d3n5kcsymipw2ahig0-user-environment.drv’
failed
cannot unpack the channels at /run/current-system/sw/bin/nix-channel
line 169.

I can't replicate that problem. Maybe you had something getting corrupted on the partition when the boot crashed due to the power problem.
Of course, building from a git checkout (-I nixpkgs=/path/to/nixpkgs) should also work.

The wiki has been shutdown. Will someone put up an ARM page on the https://github.com/nixos-users wiki, with example configuration.nix?

you can

@purefn Current status is that the aarch64 image works pretty much out of the box (except for wifi). I've documented this in the unofficial nixos wiki at https://nixos.wiki/wiki/NixOS_on_ARM#Raspberry_Pi_3 .
I am running nixos-unstable (2017-10-08).

Same for me! Things work out of the box (using the configuration.nix from the wiki article). I think this can be closed.

I'm running the AArch64 image as described on the unoffical wiki.
Does anyone have the Audio working via the jack port?
I tried putting ptparam=audio=on in config.txt and copying the .dtb files from the raspberrypifw package into /boot. But that doesn't seem to have any effect.
No sound cards are detected. I've also tried manually loading the snd_bcm2385 module, but with no effect at all. I tried to debug using the tools in raspberrypifw but they don't seem to work as of now (See https://github.com/NixOS/nixpkgs/issues/30026).

@mogria same problem here ☹ also tried audio_pwm_mode=2 and kernel 4.14.
This gentoo image claims they have it working, though.

I have had no luck with audio as well.
The main problem I am having is hard crashing on u-boot initializing the OS. I have had this with multiple re-images of a few revisions of dezgeg's aarch64 image, I am not sure how to troubleshoot this really.

@hcmensch: Are you sure that there are no problems with the power supply? The phenomenon you describe is precisely what is stated at the bottom of https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi about problems with the power supply.

I started off with bad power supplies, then upgraded to a correct spec supply from one of the official RPI re-sellers after reading about the potential problems. I think I will try to test the supply at my university's ee lab and get a different one in case I received a fake or faulty unit.

I was also playing with rpi3 and an aarch64 image. Almost everything seems to work out of the box.
I now to updated the raspberrypifw packet to see if I can get the camera working, but the change in firmware doesn't seem to be picked up.
After some analysis I figured found the options:
boot.loader.raspberryPi.enable = true;
boot.loader.raspberryPi.version = 3;

and from looking at the source of the module I think it should copy the new firmware to the /boot partition. But it doesn't.
Does anybody know how the rpi3 firmware loading is supposed to work?

It turns out I had boot.loader.generic-extlinux-compatible.enable = true; set which prevents boot.loader.raspberryPi.enable = true; from taking effect.
After disabling boot.loader.generic-extlinux-compatible the new firmware files were copied to /boot but the system didn't boot anymore as the bootloader entry didn't update.
I did some additional digging and found out the the initial firmware comes from sd-image-aarch64.nix. It seems to be copied there when the image is initially created but I couldn't find any mechanism that would allow to update the firmware on a running NixOS.
Is this is just not implemented yet or am I missing something?

@bachp Yes, the answer currently is essentially 'not implemented yet'. To upgrade the firmware, replace these files in /boot with new versions: bootcode.bin  fixup_cd.dat  fixup.dat  fixup_db.dat  fixup_x.dat  start_cd.elf  start_db.elf  start.elf  start_x.elf

@dezgeg Ok thanks for the info. Do you already have something in mind how this could be done? I might find some time to work on this.

With the firmware upgrade instructions, I tried again to get analog audio to work with 18.03 pre, 4.15.12 kernel, manually downloaded firmware 20180328, dtparam=audio=on, modprobe snd_bcm2835 but no luck. :frowning_face:
(To people wondering why someone would want to use the analog audio of a RaspberryPi 3: It's not as bad as it used to be, and especially with audio_pwm_mode=2 the noise nterference is gone. :wink: )

So, I got the camera working.
The following patch is required: https://patchwork.kernel.org/patch/9626797/
And you need to add the following to /boot/config.txt:
gpu_mem=128
start_x=1

I tried booting the sd-image-aarch64-linux.img from https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/installer/ on a Raspberry Pi 3B+ and it failed to boot at all.  I then updated the firmware files in the /boot filesystem to the latest from https://github.com/raspberrypi/firmware/tree/master/boot and this allowed U-boot to load.  However, U-Boot tried (and failed) to load "bcm283x-rpi-other.dtb" which appears to be a placeholder name to indicate an unknown model.  I suspect like I'm out of luck for the moment.
However, I found a few related patches to U-Boot:

https://lists.denx.de/pipermail/u-boot/2018-April/324722.html
https://lists.denx.de/pipermail/u-boot/2018-April/324724.html

Is there already work underway to support the Pi 3B+ in NixOS, and I just haven't found it yet?  I'm happy to open a separate issue if appropriate.

@timclassic did you tried booting with the raspberry pi kernel? Upstream probably does not have the required devicetree yet.

Using https://github.com/NixOS/nixpkgs/pull/38490 and https://github.com/NixOS/nixpkgs/pull/38342, the camera module should be work out of the box. You will need the following options in your configuration:
boot.loader.raspberryPi.enable = true;
boot.loader.raspberryPi.version = 3;
boot.loader.raspberryPi.uboot.enable = true;
boot.loader.raspberryPi.uboot.startx = true;
boot.loader.raspberryPi.uboot.gpu_mem = 256;

@bkchr so many great hints and pointers, would you mind putting this info into either the wiki or nixos-hardware?

I will try to put it into the wiki. :)

@makefu I added it to the wiki :) https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi#Camera

@bkchr yes i already saw that via the wiki notification bot in freenode#nixos-wiki , thanks!

@makefu @dezgeg someone of you could merge the two pull requests?

@bkchr unfortunately i am nothing more than an ordinary nixos user. @Mic92, @dezgeg pretty please? :+1:

I will look at them once I have some time.

For those interested in order to get the camera to show up as /dev/video0 you need to load the bcm2835-v4l2 module.
I also updated this in the wiki: https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi#Camera

Did somebody get an xserver running on rpi3 with aarch64?

Yes it works fine (including OpenGL) with the modesetting video driver.

I had to set cma=128M to get the xserver running. Everything lower wouldn't work.

@bkchr No, I have not tried the Raspberry Pi kernel.  Do you think that it's necessary, even with the U-Boot updates I likely need?
@dezgeg I'd like to try building the latest U-Boot myself.  I know that I can set up cross-compliation for aarch64 in general, and I've also found the instructions for building just U-Boot at https://nixos.wiki/wiki/NixOS_on_ARM#Building_u-boot_from_your_NixOS_PC.  I'm not sure if either of these alone is enough, though.  Can you point me at the process for generating the installation images you host at http://nixos-arm.dezgeg.me/installer, and I'll just start from there?

No, I think then first try uboot and see what happens :)

Useing the lastest sd-image-aarch64-linux.img from @dezgeg for rpi3+. Keep getting stuck on the rainbow splash screen (don't have the serial cable, so I rely on hdmi + keyboard). Just reading very related threads, I have good suspicion that the release v2018.05 of u-boot from earlier today https://github.com/u-boot/u-boot/releases/tag/v2018.05 solves the rpi3+ booting problems (given that I'm encountering one). I hope the images get updated in next days.

Waiting for kernel 4.18 to be released is also required, I think.

@dezgeg I base my suspicion primarily on this reddit comment, and the comment under it
https://www.reddit.com/r/raspberry_pi/comments/88k5bl/rpi_3b_and_uboot_problems/dwlb5u6
but no stress, my rpi3+ is completly hobby related :Þ

Does someone is able to boot the raspberry pi 3 with latest master branch?
I looked into the last generation that worked for me and I think that it is either glibc 2.27 or binutils 2.30 that prevents my raspberry pi from booting.
Here is my log of the failing boot:
<<< NixOS Stage 1 >>>

loading module dm_mod...
running udev...
kbd_mode: KDSKBMODE: Inappropriate ioctl for device
Gstarting device mapper and LVM...
[    1.969164] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.969164]
[    1.978476] CPU: 0 PID: 1 Comm: init Not tainted 4.16.8 #1-NixOS
[    1.984580] Hardware name: Raspberry Pi 3 Model B (DT)
[    1.989801] Call trace:
[    1.992301]  dump_backtrace+0x0/0x1c8
[    1.996025]  show_stack+0x24/0x30
[    1.999396]  dump_stack+0x9c/0xc0
[    2.002766]  panic+0x124/0x294
[    2.005872]  complete_and_exit+0x0/0x30
[    2.009771]  do_group_exit+0x40/0xa8
[    2.013406]  get_signal+0x280/0x5b0
[    2.016954]  do_signal+0x88/0x240
[    2.020325]  do_notify_resume+0xd8/0x130
[    2.024311]  work_pending+0x8/0x10
[    2.027774] SMP: stopping secondary CPUs
[    2.031763] Kernel Offset: disabled
[    2.035308] CPU features: 0x0802004
[    2.038850] Memory Limit: none
[    2.041963] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.041963]
[    2.865264] random: crng init done

I also searched for the failure and some suggested that the SD card could be the problem. I have run fsck multiple times and it does not reported any big failures.

I opened a pull request that fixes glibc 2.27 for raspberry pi: https://github.com/NixOS/nixpkgs/pull/40572

Urrrggghhhh. Is anyone willing to share a ready-to-go U-Boot for the RPi 3B+? I actually only got this board to bootstrap compiling U-Boot for my EspressoBin (since I can't for the life of me get aarch64 cross-compiling on NixOS to work for it from the guides I've seen); I saw that Raspberry Pi 3B was supported "out of the box" and thought it couldn't go wrong. Turns out the "+" is important, and now I'm stuck with two unbootable boards! I naively assumed the 3B and 3B+ were totally compatible.
I followed pretty much exactly the path of @timclassic (did you get your own bootstrapping process to work?), although I additionally tried copying the bcm2710-rpi-3-b-plus.dtb into the expected bcm283x-rpi-other.dtb, just in case. It then hangs trying to start the kernel (which may not be a surprise to anyone who knows what they are doing)
Anyhow, I'll be eternally grateful if anyone has:

A u-boot-rpi3.bin I can just write onto my SD card to get me going.
Instructions for how to cross-compile a U-Boot for AArch64 (from either AMD64 or ARMv7)
Some other magic.

Here's hoping!

@qolii did you try this for cross-compiling: https://github.com/ElvishJerricco/cross-nixos-aarch64

@qolii I took the cowards way out and decided to wait until the upstream kernel supported more 3B+ features.  I happen to have a couple of 3Bs that I'm using in the meantime.  From reading other threads, I realized that I'd likely have network trouble next even if I got one my 3B+s to boot with the upstream kernel.
I'm sorry I don't have better news :(

Ok, for the early bird testers, here's a image based on kernel v4.18-rc1 which should have RPi 3B+ support (untested though): http://cs.helsinki.fi/u/tmtynkky/sd-image-aarch64-with-kernel-4.18-rc1.img
Note that this means using linuxPackages_testing is required with RPi 3B+ until Linux 4.18 is released and hits the channel.

@mestaritonttu, that looks really interesting, thanks. I have not tried it, nope. But I'll look at that.
@timclassic, hehe, that's exactly what I would have done :)
@dezgeg, you are a total hero! Works perfectly. Network is great, not seen any problems yet.

I just am not able to get audio working, does it work for anyone?! Even with new image from @dezgeg

I can also confirm, that the analog output is working for me.

Using https://github.com/ElvishJerricco/cross-nixos-aarch64 I've sucessfully compiled an SD image for my Raspberry Pi 3 which works fine so far.
I'd like to use the lirc-rpi module however adding dtoverlay=lirc-rpi to the config.txt has no effect. I've also copied the overlays folder from the raspberrypifw package to /boot but this doesn't change anything.

@jfrankenau you may need to build your kernel with CONFIG_LIRC=y (see https://discourse.nixos.org/t/the-correct-way-to-override-the-latest-kernel-config/533 )

@makefu, thank you for the quick answer. This may indeed be it. At least /proc/config.gz tells me that CONFIG_LIRC is not set. I will recompile my kernel and report back.

@makefu, I've found out that with kernel 4.16 lirc-rpi is no longer supported. Instead there is a gpio-ir overlay which also doesn't need LIRC but instead directly registers as an input device which can be configured using ir-keytable which is much simpler and quicker in my opinion than setting up a new IR remote with LIRC.
For us however there are still a few hoops to jump through. Loading overlays using dtoverlay= in /boot/config.txt has to supported by the kernel (and/or U-boot?) which isn't the case for our mainline kernel. I believe with the Raspberry Pi kernel this should work, haven't tried it however.
What I did instead was to take the base device tree bcm2837-rpi-3-b.dtb and manually apply the gpio-ir.dtbo overlay using the dtmerge tool. I then put the resulting dtb file at /boot/nixos/*-linux-4.17.8-dtbs/broadcom/ replacing the original dtb. To be able to use dtmerge though, the dtb/dtbo files need to be compiled with symbol names which in turn means that I had to use the original Raspberry Pi kernel sources and run make DTC_FLAGS=-@ ARCH=arm dtbs in order to get dtb/dtbo files which are ready to be used by dtmerge.
So, I don't know now what the progress is on having native overlay support in NixOS but if using U-Boot or configfs doesn't work out this may be an alternative.

I'm not sure. I could upstream it to Nixos, but maybe we want to wait for upstream?

Does someone know whether dynamic device tree configuration is something that is in development for the upstream linux kernel? Could not find much information on that.

Why doesn't work bootdelay=0 in u-boot?
Parameters in kernelParams = [""]  don't impact on boot process too.
How is possible disable interrupt on autoboot by serial input?

Hey, does someone has problems with the latest kernel and wifi? Somehow my wifi is not working anymore..

As the link to the audio patch is broken: The branch https://github.com/bkchr/nixpkgs/commits/raspberrypi contains the commit "Raspberry Pi audio", which is currently at https://github.com/bkchr/nixpkgs/commit/53939657a8609dfafea9e7e89aae4babedee1e03 .

I tried to boot NixOS on my Raspberry Pi A+, but it hangs on the rainbow/color test boot screen. Does it need a different u-boot file? I checked the raspbian image but there's nothing there specifically for the A+, and it has the same processor as the B+. Are there plans to support it?

@erobl maybe it does, but I wouldn't know for sure. Let's start with a simple question: do you have the Raspberry Pi 3 A+? (There is the Raspberry Pi 1 A+ too.) And another question, which image have you been using? The older images hosted by dezgeg are currently a bit out of date, and the upstream hydra has been producing images for the current stable (18.09) and unstable.

The "3-a-plus", let's call it, has no visible specific device tree for it in u-boot, but I wouldn't know for sure if it needs it;  here what I mean comes from the current master Makefile:
dtb-$(CONFIG_ARCH_BCM283X) += \
    bcm2835-rpi-a-plus.dtb \
    bcm2835-rpi-a.dtb \
    bcm2835-rpi-b-plus.dtb \
    bcm2835-rpi-b-rev2.dtb \
    bcm2835-rpi-b.dtb \
    bcm2836-rpi-2-b.dtb \
    bcm2837-rpi-3-b.dtb

Though, it doesn't seem to be building a specific device tree for the 3-b-plus either, which I think works...
Additionally, if it booted up to u-boot, it would apparently be using a 3-a-plus device tree:
    [0xE] = {
        "3 Model A+",
        DTB_DIR "bcm2837-rpi-3-a-plus.dtb",
        false,
    },

Which would fail to load (but might still go through). The kernel currently only has rpi-3-b[-plus].dtb files for the "3" family (and the cm-3 files).
[samuel@bart:~]$ find /nix/store/*4.19* -iname '*bcm*pi*.dtb'
/nix/store/nzmsgxbqdn1m0wdw1vdxiy3wdb3q39sx-linux-4.19.4/dtbs/broadcom/bcm2837-rpi-3-b.dtb
/nix/store/nzmsgxbqdn1m0wdw1vdxiy3wdb3q39sx-linux-4.19.4/dtbs/broadcom/bcm2837-rpi-3-b-plus.dtb

So I'd say it is inconclusive (to me) until someone with the hardware can verify.

Yes, it's the Raspberry Pi 3 A+, I had a typo there. I used the image that was built on hydra, specifically nixos-sd-image-18.09.2102.38a99219f3c-aarch64-linux.img, [https://hydra.nixos.org/build/88316353](this one). How would I know if it booted up to u-boot? I had it plugged into a serial to USB cable and it gave me no output.

I can't find confirmation that it should work, so I'll assume that the lack of serial and HDMI output might point towards it being just different enough that Raspberry Pi 3B[+] support is not enough.
Though (now that I have confirmation it was indeed the 3B+) I have checked some more, and it looks like the 3 A+ thing was added in December to u-boot.
Let's build you a recent u-boot!!

Apply PR #55369 to an nixpkgs checkout
curl -L https://github.com/NixOS/nixpkgs/pull/55369.patch | git apply

Cross-build u-boot (maybe the invocation is clumsy, but heck, it works)
nix-build -I nixpkgs=/Users/samuel/tmp/nixpkgs/nixpkgs -E 'let plat = (import <nixpkgs> {}).pkgsCross.aarch64-multiplatform; in plat.ubootRaspberryPi3_64bit'

Not sure if the build will be for more than u-boot itself, but if it's u-boot itself, don't even put the kettle one, it's going to end quickly.
~/tmp/nixpkgs/nixpkgs $ ls -l result/
total 452
-r-xr-xr-x 1 root root 462384 Dec 31  1969 u-boot.bin

Simply replace the u-boot.bin from the FAT partition with this one, and report back.

It seems it's still not working, there's no change from before or after. I'm assuming the u-boot.bin file it uses is u-boot-rpi3.bin, at least that's what it says on the config.txt.

I tried the image for the unstable channel and it boots with no changes, however, u-boot does fail to boot.
The output when it boots is the following:
U-Boot 2019.01 (Jan 14 2019 - 22:02:36 +0000)

DRAM:  448 MiB
RPI 3 Model A+ (0x9020e0)
MMC:   mmc@7e202000: 0, sdhci@7e300000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   No ethernet found.
starting USB...
USB0:   scanning bus 0 for devices... Timeout poll on interrupt endpoint
Failed to get keyboard state from device 1ea7:0912
1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
793 bytes read in 3 ms (257.8 KiB/s)
------------------------------------------------------------
1:	NixOS - Default
Enter choice: 1:	NixOS - Default
Retrieving file: /extlinux/../nixos/qk6yc4hyb72xwfsz2kba0mk3976q6l8b-initrd-initrd
7054116 bytes read in 296 ms (22.7 MiB/s)
Retrieving file: /extlinux/../nixos/66n96qy788xvq3783m4gn1gciym7nb1g-linux-4.14.98-Image
27181568 bytes read in 1131 ms (22.9 MiB/s)
append: systemConfig=/nix/store/j8ysbg9626znmm18gjiqj65s3ra85ylr-nixos-system-nixos-19.03pre168466.47aad6e9b54 init=/nix/store/j8ysbg9626znmm18gjiqj65s3ra85ylr-nixos-system-nixos-19.03pre168466.47aad6e9b54/init loglevel=7 cma=32M console=ttyS0,115200n8 console=ttyAMA0,115200n8 console=tty0
Retrieving file: /extlinux/../nixos/66n96qy788xvq3783m4gn1gciym7nb1g-linux-4.14.98-dtbs/broadcom/bcm2837-rpi-3-a-plus.dtb
** Unable to read file /extlinux/../nixos/66n96qy788xvq3783m4gn1gciym7nb1g-linux-4.14.98-dtbs/broadcom/bcm2837-rpi-3-a-plus.dtb **
Skipping nixos-default for failure retrieving fdt
SCRIPT FAILED: continuing...
Card did not respond to voltage select!

Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
Retrieving file: /extlinux/pxelinux.cfg/00000000
No ethernet found.
Retrieving file: /extlinux/pxelinux.cfg/0000000
No ethernet found.
Retrieving file: /extlinux/pxelinux.cfg/000000
No ethernet found.
Retrieving file: /extlinux/pxelinux.cfg/00000
No ethernet found.
Retrieving file: /extlinux/pxelinux.cfg/0000
No ethernet found.
Retrieving file: /extlinux/pxelinux.cfg/000
No ethernet found.
Retrieving file: /extlinux/pxelinux.cfg/00
No ethernet found.
Retrieving file: /extlinux/pxelinux.cfg/0
No ethernet found.
Retrieving file: /extlinux/pxelinux.cfg/default-arm-bcm283x
No ethernet found.
Retrieving file: /extlinux/pxelinux.cfg/default-arm
No ethernet found.
Retrieving fileextlinux/pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
U-Boot>

It seems like ** Unable to read file /extlinux/../nixos/66n96qy788xvq3783m4gn1gciym7nb1g-linux-4.14.98-dtbs/broadcom/bcm2837-rpi-3-a-plus.dtb ** is the part where it fails to boot.
The new u-boot version has this line as ** Unable to read file /extlinux/../nixos/66n96qy788xvq3783m4gn1gciym7nb1g-linux-4.14.98-dtbs/broadcom/bcm283x-rpi-other.dtb **, which means the new version is probably required.

 I had assumed incorrectly that u-boot would continue without a device tree blob to load.
Retrieving file: /extlinux/../nixos/66n96qy788xvq3783m4gn1gciym7nb1g-linux-4.14.98-dtbs/broadcom/bcm2837-rpi-3-a-plus.dtb
** Unable to read file /extlinux/../nixos/66n96qy788xvq3783m4gn1gciym7nb1g-linux-4.14.98-dtbs/broadcom/bcm2837-rpi-3-a-plus.dtb **

This is... uh... annoying. Especially since for the moment, the device trees directory is a bit hardcoded. Though, once mainline adds the proper device tree, it should continue fine, or otherwise, fixing the build to allow a custom dtbDir and adding what you need would work too; the latter option would be needed for things like customising the device trees anyway, and might be due to be done.

The wifi also doesn't work, which is a big problem since the device only has wifi in terms of network connection. I'm not sure if network.wireless.enable does anything other than starting wpa_supplicant on boot, but any command related to using the wlan0 interface fails, for example:
$ iwlist wlan0 scan
[time] brcmfmac: brcmf_run_escan: error (-4)
[time] brcmfmac: brcmf_cfg80211_scan: scan error (-4)
wlan0 Interface doesn't support scanning : Interrupted system call

It might have something to do with this incantation but I can't install it because I have no network connection.

@samueldr I looked around the code that generates the *.dtb files, and looking at this line, it copies the bcm2708-rpi-b-plus.dtb to bcm2835-rpi-a-plus.dtb, for the old model. This does work on my model (at least using it manually), so maybe someone could commit the extra line that adds copyDTB bcm2710-rpi-3-b-plus.dtb bcm2837-rpi-3-a-plus.dtb to that file? It's an easy fix, at least for now.

This is only true when using the non-mainline linuxPackages_rpi which uses the raspberry pi foundation kernel instead of the mainline Linux kernel. This wouldn't fix the default built image, and wouldn't fix it for users using the mainline kernel. (In case you didn't know, the aarch64 image is generic, it can be used across a range of different aarch64 SBCs.)
Though, I'm sure that if you were to open a PR with this addition, it would be an easy merge.

@erobl we also copy these files in boot.loader.raspberrypi. As far as I remember.

Hey, did anyone knows how to enable overlays with the upstream kernel?

@bkchr funnily, I'm working on figuring this all out these current days.
Leaving the interesting bits I found here if it helps you figure things out quicker than I am

https://github.com/ikwzm/dtbocfg
WIP derivation

Device Tree Overlay is a mechanism that enables dynamic loading/unloading of a new device tree blob on top of the kernel device tree. Device Tree Overlay was first introduced in Linux Kernel version 3.19.

With this project I am able to make things look like they'll work. I was at the cusp of making this work, but didn't have time to finish working on it.
Using the device-native DTB, which the mainline kernel can boot from, I was able to use the downstream spi0-cs-overlay.dts to make the kernel react and add the SPI interface, but that setup failed with error -517.  I am suspecting that using the built-in DTB of the Raspberry Pi is the issue, and now switched to a test image which uses u-boot which uses the mainline built DTB.
Though this fails, and someone else apparently figured things out:

https://github.com/notro/tinydrm/wiki/board:-Raspberry-Pi#device-tree-overlay-in-mainline

I'm currently "here", in the process, just about to rebuild the device trees with the compiler configured to output symbols, and probably will digress in adding support to the extlinux generation for an alternative source for the DTBs, as of right now it's pretty hardcoded.

@samueldir ahh nice. I also was at the point that the symbols are missing and added a patch to solve this :D After that I realised that the upstream kernel does not contain the stuff in dtb that I need. So, I switched to the rpi kernel. This one contains the symbols and the other stuff that is required. The overlay is still not loaded by the bootloader. So, I currently switched to use dtmerge to merge the overlay and the kernel dtb and putting the resulting dtb into the boot partition.

I wanted to note, that using an android phone with USB tethering works great as a wifi replacement.

I don't have an SD card port on my PC, I flashed the sd card ISO on an USB and it boots just fine, I have managed to install NixOS by copying the contents of the USB to the SD card using dd. Is it possible to go through the normal NixOS installation process instead? I have tried with this config, it would not boot.
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [ "cma=32M" "console=tty0" ];
boot.consoleLogLevel = 7;

boot.loader.generic-extlinux-compatible.enable = true;
boot.loader.grub.enable = false;
boot.loader.raspberryPi = {
    enable = true;
    uboot.enable = true;
    version = 3;

    firmwareConfig = ''
        gpu_mem=16
    '';
};

fileSystems."/" = {
    device = "/dev/disk/by-label/nixos";
    fsType = "ext4";
};

EDIT: Alright, it seems like U-Boot won't boot off ext4, I just had to add a /boot vfat partition and it boots fine.

To add some precision, the raspberry pi firmware files, and what they boot, have to be on a FAT32 partition. When the Raspberry Pi is used in conjunction with U-Boot, this means that U-Boot has to be on the FAT32 partition.
U-Boot itself will look at and boot ext4 partitions, as long as the partition is marked as bootable.
Ref for the Raspberry Pi boot flow

https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/bootflow.md

To add some precision, the raspberry pi firmware files, and what they boot, have to be on a FAT32 partition. When the Raspberry Pi is used in conjunction with U-Boot, this means that U-Boot has to be on the FAT32 partition.

I'm not sure what exactly do you mean, but it's possible to get rid of FAT32 partition completely for NixOS on Raspberry Pi (I confirm, it works for me).

Not completely, the FAT32 partition must exist to contain the firmware files for the Raspberry Pi, and u-boot in our use case. Though, the kernels and generations that u-boot will look at can be on the ext4 partition and is the new default on the sd image since recently on unstable, and will be part of 19.09.

Ah, thank you for the clarification. Indeed the partition is still there, but I guess once we boot NixOS has no knowledge of it.

Exactly, with the recent changes, it acts just as if it was an opaque blob, except that it's a FAT32 formatted opaque blob.

I cannot figure out how to get analog audio output working on the Raspberry Pi 3B+.  HDMI audio output works. Any advice?

Update on my previous comment (regarding analog audio output): Compilation failed (probably out of memory or disk space) and I decided to give up.
Per the above, https://github.com/bkchr/nixpkgs/commit/53939657a8609dfafea9e7e89aae4babedee1e03 does solve the problem. Should we not try to merge those changes?

I'm still in hope that this is merged in mainstream, but yeah :(

Wifi works but the following option needs to be enabled for the wireless driver to be installed:
hardware.enableRedistributableFirmware = true;
# networking.wireless.enable = true; # for wpa_supplicant

(you probably also need to allow non-free/proprietary packages for this to work)
After running nixos-rebuild swich and rebooting the interface wlan0 showed up on my raspberry pi when running ifconfig
I found this on the NixOS Community Wiki: https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi

I opened https://github.com/NixOS/nixpkgs/pull/69231 which should allow the rpi3a+ to boot with the linux_rpi kernel package.

Is there anything still not working on the rpi3?

Is there anything still not working on the rpi3?

HDMI only working on "cold" boot:
https://github.com/NixOS/nixpkgs/issues/82455#issuecomment-609423999

I haven't had any problems the last time I reinstalled and booted my RPi3. If anyone else has, please let us know.


Remove attrs limitation on style tag

Style tags can actually have any amount of extra tags, so adding the
scoped tags is just too limiting.
Related to #52

@adriaanzon Until something can be done about #50 I think it's better to simply allow any kind of tags around the lang attr. I'm doing a PR in case you started something, in that case this can be closed, otherwise feel free to fix anything you want and merge it 🙂

Yeah this is fine for the time being. I have improved the pattern by looking at vim's html syntax file. This even allows for newlines inside the tags.
I'll also use these kind of patterns when I'm going to fix #50, eventually 👍

Perfect!


Having problem downloading leap motion on my machine

ubuntu 14.04
I'm following the readme.txt and I'm getting this error after running
sudo dpkg --install Leap-2.3.1+31549-x64.deb
This is the output
(Reading database ... 329221 files and directories currently installed.)
Preparing to unpack Leap-2.3.1+31549-x64.deb ...
Unpacking leap (2.3.1+31549) over (2.3.1+31549) ...
dpkg: dependency problems prevent configuration of leap:
 leap depends on libgl1-mesa-glx (>= 7.7.1) | libgl1-mesa-glx-lts-precise (>= 7.7.1) | libgl1-mesa-glx-lts-quantal (>= 7.7.1) | libgl1-mesa-glx-lts-raring (>= 7.7.1) | libgl1-mesa-glx-lts-saucy (>= 7.7.1) | libgl1-mesa-glx-lts-trusty (>= 7.7.1) | libgl1-mesa-glx-lts-utopic (>= 7.7.1) | libgl1-mesa-glx-lts-vivid (>= 7.7.1); however:
  Package libgl1-mesa-glx is not installed.
  Package libgl1-mesa-glx-lts-precise is not installed.
  Package libgl1-mesa-glx-lts-quantal is not installed.
  Package libgl1-mesa-glx-lts-raring is not installed.
  Package libgl1-mesa-glx-lts-saucy is not installed.
  Package libgl1-mesa-glx-lts-trusty is not installed.
  Package libgl1-mesa-glx-lts-utopic is not installed.
  Package libgl1-mesa-glx-lts-vivid is not installed.

dpkg: error processing package leap (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 leap

Is there anything I'm doing wrong?

Apparently there is an alternative download link for linux installations.  Give it a try: https://community.leapmotion.com/t/error-in-leapd-malloc/4271/13


verify token for pushing code in git works

verify token for pushing code in git works

Managed to containerize cell


bug: "AerialOpen float" is always empty, but "left" and "right" work

Neovim version (nvim -v)
v0.10.0-dev-d2e7cc6
(Just tested v0.9.4 and it works, so it's specifically an issue with nightly)
Operating system/version
NixOS 23.11
Output of :AerialInfo
Aerial Info
-----------
Filetype: python
Configured backends:
  treesitter (supported) (attached)
  lsp (supported)
  markdown (not supported) [Filetype is not markdown]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct

Describe the bug
AerialOpen left and AerialOpen right always work, but AerialOpen float is always empty:

The first time I run AerialOpen float in a Neovim session, it shows "Loading", but nothing ever happens:

If I reopen it, it's an empty window like above.
Steps To Reproduce

Open any document supported by Aerial
Run :AerialOpen float
See empty floating window, no visible error messages

Expected Behavior
Should have the same content as :AerialOpen left/right
Minimal example file
class Foo:
    def foo():
        pass

    def bar():
        pass

Minimal init.lua
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  {
    "stevearc/aerial.nvim",
    config = function()
      require("aerial").setup({
        -- add your aerial config here
      })
    end,
  },
  {
    "nvim-treesitter/nvim-treesitter",
    build = ":TSUpdate",
    config = function()
      require("nvim-treesitter.configs").setup({
        ensure_installed = { "c", "lua" },
        auto_install = true,
        highlight = { enable = true },
      })
    end,
  },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Result:

Additional context
Tried with and without my Aerial config, didn't make a difference.
:AerialNavOpen works, so the only thing that doesn't work is :AerialOpen float, which is my preferred use case :smile:

I just updated my nightly build to v0.10.0-dev-b32b5b2 and it's still broken, but then I tried downloading the official nightly AppImage (v0.10.0-dev-1731+g0bbe8e7fc) and there it works :confused:
So it seems to only be broken in my nightly builds from neovim-nightly-overlay for some reason. Very strange. Sorry for the noise!

Hold on, now it's broken in the nightly appimage too. Demonstration:
Neovim 0.9.4 and 0.9.5:

Neovim v0.10.0-dev-2129+gba9f86a9c (nightly appimage):

Symptoms are all as initially described.

I found two bugs. One of them was easy to fix, the other one I have filed upstream https://github.com/neovim/neovim/issues/27121

In case it's helpful to anyone, I'm using this workaround until the bug is fixed upstream:
vim.keymap.set('n', '<leader>af', function()
  vim.cmd.AerialOpen 'float'
  -- NOTE: Workaround for https://github.com/stevearc/aerial.nvim/issues/331
  vim.cmd.doautocmd 'BufWinEnter'
end)

This appears to be fixed upstream now. Can you try it again on the most recent nightly?

This appears to be fixed upstream now. Can you try it again on the most recent nightly?

Works for me now without manually triggering the autocommand, but I still need to do refetch_symbols first or else the symbols might be stale. Not sure if that is the same issue or not.

When you say the symbols might be stale, what problem does this manifest as? Like if you've recently added a symbol it may not be present? Or there won't be any symbols? And is this sporadic or does it happen every time for you?

Like if you've recently added a symbol it may not be present

Yes, after I open Aerial for the first time, the symbols won't update as I add/remove them in the buffer until I call refetch_symbols.
I just checked my config and switching from backends = { 'lsp', 'treesitter', 'markdown', 'man' } to backends = { 'treesitter', 'lsp', 'markdown', 'man' } seems to have fixed that issue.

Hmmm...this sounds like it might be related to the specific LSP server. Does this happen with other LSP servers? Another thing you can try is setting the config value lsp.diagnostics_trigger_update = false. That should be more reliable about updating your symbols.
Also, does this only happen for :AerialOpen float, or does it also happen for :AerialOpen left?

Does this happen with other LSP servers?

It happens with both tsserver and lua_ls. Not sure about others.

Also, does this only happen for :AerialOpen float, or does it also happen for :AerialOpen left?

It happens with both.

Another thing you can try is setting the config value lsp.diagnostics_trigger_update = false

That works!

If lsp.diagnostics_trigger_update = false fixes the problem, then it's probably just an issue with our interaction with the LSP diagnostics as a trigger to re-fetch symbols. I'll mark this issue as closed now and look into making that config option the default.


GAN support

write inside the package

define a GAN model

examples (notebook)

train a GAN model

@mingzailao

start it when i finished Optimizer.  (please make your PR about loss a.s.a.p)

OK, UNDERSTAND


console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: getActivatedEnvironmentVariables, Class name = E, completed in 3395ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314\Lab 3\Lab 3 Ian Rasmussen (irasmus2).ipynb>, Arg 2: {"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3","displayName":"Python 3.7.6 64-bit ('base': conda)","__store":true}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: > ~\anaconda3\python.exe c:\Users\SchoolAccount.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: parseEnvironmentOutput, Class name = E, completed in 0ms, has a truthy return value
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: getActivatedEnvironmentVariables, Class name = E, completed in 3178ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314\Lab 3\Lab 3 Ian Rasmussen (irasmus2).ipynb>, Arg 2: {"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3","displayName":"Python 3.7.6 64-bit ('base': conda)"}
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: Get language server folder name, Class name = f, completed in 9ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314\Lab 3\Lab 3 Ian Rasmussen (irasmus2).ipynb>, Return Value: "languageServer.0.5.45"
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: Python Daemon (pid: 24656): Execute rpc method exec_module in DS Daemon
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: Python Daemon (pid: 24656): Execute rpc method exec_module from C:\Users\SchoolAccount\anaconda3\python.exe
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: Python Daemon (pid: 24656): Exec module in DS Kernel Launcher Daemon ipykernel_launcher with args ['--ip=<IP_ADDRESS>', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"c7598704-5bf7-4fb3-9d4f-7155f841b2f0"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=C:\Users\SCHOOL~1\AppData\Local\Temp\tmp-14432Kr8vpfeNkOx1.json']
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: Python Daemon (pid: 24656): Exec in DS Kernel Launcher Daemon (observable) ipykernel_launcher with args ['--ip=<IP_ADDRESS>', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"c7598704-5bf7-4fb3-9d4f-7155f841b2f0"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=C:\Users\SCHOOL~1\AppData\Local\Temp\tmp-14432Kr8vpfeNkOx1.json']
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: Python Daemon (pid: 24656): Exec in DS Kernel Launcher Daemon (observable) ['C:\Users\SchoolAccount\anaconda3\python.exe', '-m', 'ipykernel_launcher', '--ip=<IP_ADDRESS>', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"c7598704-5bf7-4fb3-9d4f-7155f841b2f0"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=C:\Users\SCHOOL~1\AppData\Local\Temp\tmp-14432Kr8vpfeNkOx1.json']
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: Python Daemon (pid: 24656): Exec in DS Kernel Launcher Daemon (observable)
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: Python Daemon (pid: 24656): Kernel launched, with PID 10788
console.ts:137 [Extension Host] Warn Python Extension: 2020-06-26 17:02:49: Python Daemon (pid: 24656): Waiting for Kernel to die 10788
t.log @ console.ts:137
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: getActivatedEnvironmentVariables, Class name = E, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: {"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3","displayName":"Python 3.7.6 64-bit ('base': conda)","__store":true}
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: getActivatedEnvironmentVariables, Class name = E, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: {"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3","displayName":"Python 3.7.6 64-bit ('base': conda)","__store":true}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: getActivatedEnvironmentVariables, Class name = E, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: {"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3","displayName":"Python 3.7.6 64-bit ('base': conda)","__store":true}, Arg 3: true
3console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:49: > ~\anaconda3\python.exe c:\Users\SchoolAccount.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Searching for token colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
3console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading base colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
3console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Searching for token colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Searching for token colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Searching for token colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
4console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading base colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Searching for token colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Searching for token colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Using colors to generate CSS ...
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading base colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
4console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
4console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading base colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading base colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Using colors to generate CSS ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Using colors to generate CSS ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Attempting search for colors ...
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Loading base colors from c:\Users\SchoolAccount.vscode\extensions\nemesis.darkdev-0.3.3\themes\DarkDev-color-theme.json ...
9console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Using colors to generate CSS ...
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: getActivatedEnvironmentVariables, Class name = E, completed in 1ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Arg 2: {"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3","displayName":"Python 3.7.6 64-bit ('base': conda)","__store":true}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: getActivatedEnvironmentVariables, Class name = E, completed in 0ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Arg 2: {"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3","displayName":"Python 3.7.6 64-bit ('base': conda)","__store":true}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: > ~\anaconda3\python.exe c:\Users\SchoolAccount.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Python Daemon (pid: 30892): Execute rpc method prewarm_kernel in DS Daemon
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Python Daemon (pid: 30892): Execute rpc method prewarm_kernel from C:\Users\SchoolAccount\anaconda3\python.exe
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Python Daemon (pid: 30892): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Python Daemon (pid: 30892): Exec in DS Kernel Launcher Daemon (observable) ['C:\Users\SchoolAccount\anaconda3\python.exe', 'c:\Users\SchoolAccount\.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\vscode_datascience_helpers\..\pyvsc-run-isolated.py', 'c:\Users\SchoolAccount\.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\vscode_datascience_helpers\kernel_prewarm_starter.py']
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Python Daemon (pid: 30892): Exec in DS Kernel Launcher Daemon (observable)
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Python Daemon (pid: 30892): Kernel launched, with PID 13188
console.ts:137 [Extension Host] Warn Python Extension: 2020-06-26 17:02:50: Python Daemon (pid: 30892): Waiting for Kernel to die 13188
t.log @ console.ts:137
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Python Daemon (pid: 30892): Kernel launched, with PID as a daemon 13188
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Starting Language Server, Class name = r, completed in 4008ms, has a falsy return value, , Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Cached data exists getEnvironmentVariables, c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314\Lab 3\Lab 3 Ian Rasmussen (irasmus2).ipynb
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: [object Object]. Shell identified as undefined
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Shell path 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe'
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Shell path identified as shell 'powershell'
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Terminal shell path 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe' identified as shell 'powershell'
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: [object Object]. Shell identified as powershell
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Shell identified as 'powershell'
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Cached data exists KeyPrefix=Cache_Method_Output_b.getCondaVersion-Args=
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Cached data exists getEnvironmentVariables,
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Get Interpreters in CacheableLocatorService, Class name = m, completed in 0ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Return Value: [{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envPath":"C:\Users\SchoolAccount\anaconda3","envName":"base","cachedEntry":true},{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envPath":"C:\Users\SchoolAccount\anaconda3","envName":"base","cachedEntry":true}]
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Return Value: [{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Unknown"}]
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Return Value: []
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Arg 2: undefined, Return Value: []
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Get Interpreters in CacheableLocatorService, Class name = m, completed in 1ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Return Value: []
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Get Interpreters in CacheableLocatorService, Class name = m, completed in 2ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Return Value: []
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Get Interpreters in CacheableLocatorService, Class name = m, completed in 2ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Return Value: [{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","type":"Unknown"}]
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Get Interpreters in CacheableLocatorService, Class name = m, completed in 2ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Return Value: [{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","type":"Unknown"},{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","type":"Unknown"},{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","type":"Unknown"},{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","type":"Unknown"}]
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Get Interpreters, Class name = m, completed in 2ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314>, Arg 2: undefined, Return Value: [{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3"}]
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:50: Current value for rule workspaceEnvs is nothing
webviewElement.ts:331 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:331 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-resource://file///c%3A/Users/SchoolAccount/OneDrive%20-%20University%20of%20Illinois%20-%20Urbana/Documents/2020-Summer/ECE-314/Lab%203/editor.worker.js' cannot be accessed from origin 'null'.
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/dddcad78-af4a-4849-84c4-f9e1c3ae7886
console.ts:137 [Extension Host] Kernel: connected (dddcad78-af4a-4849-84c4-f9e1c3ae7886)
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Raw session started and connected
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Cached data exists getEnvironmentVariables, c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314\Lab 3\Lab 3 Ian Rasmussen (irasmus2).ipynb
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Conda Env List # conda environments:

base                  *  C:\Users\SchoolAccount\anaconda3
}
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Initialize config for plots for file:///c%3A/Users/SchoolAccount/OneDrive%20-%20University%20of%20Illinois%20-%20Urbana/Documents/2020-Summer/ECE-314/Lab%203/Lab%203%20Ian%20Rasmussen%20%28irasmus2%29.ipynb
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: getActivatedEnvironmentVariables, Class name = E, completed in 0ms, has a truthy return value, Arg 1: undefined, Arg 2: {"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3","displayName":"Python 3.7.6 64-bit ('base': conda)","__store":true}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: > ~\anaconda3\python.exe c:\Users\SchoolAccount.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel"
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Get Conda environments, Class name = b, completed in 4219ms, has a truthy return value, Arg 1: true, Return Value: [{"name":"base","path":"C:\Users\SchoolAccount\anaconda3","isActive":true}]
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Python Daemon (pid: 30892): Execute rpc method start_prewarmed_kernel in DS Daemon
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Kernel switching to busy
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Python Daemon (pid: 30892): Execute rpc method start_prewarmed_kernel from C:\Users\SchoolAccount\anaconda3\python.exe
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Interpreters returned by CondaEnvService are of count 2
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Interpreters returned by CondaEnvService are [{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envPath":"C:\Users\SchoolAccount\anaconda3","envName":"base"},{"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envPath":"C:\Users\SchoolAccount\anaconda3","envName":"base"}]
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Checking whether locactors have completed locating, Class name = p, completed in 0ms, has a truthy return value, , Return Value: true
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Hide locator refreshing progress, Class name = p, completed in 0ms, has a falsy return value, , Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: All locators have completed locating, Class name = p, completed in 0ms, has a falsy return value, , Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Python Daemon (pid: 30892): Start pre-warmed Kernel in DS Kernel Launcher Daemon 13188 with args ['ipykernel_launcher', '--ip=<IP_ADDRESS>', '--stdin=9008', '--control=9006', '--hb=9005', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"ec7c5ca1-abd1-40ab-a8ca-9c6b24de9b8b"', '--shell=9007', '--transport="tcp"', '--iopub=9009', '--f=C:\Users\SCHOOL~1\AppData\Local\Temp\tmp-14432ZZxpXQS4ugbo.json']
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Kernel switching to idle
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Initial setup complete for file:///c%3A/Users/SchoolAccount/OneDrive%20-%20University%20of%20Illinois%20-%20Urbana/Documents/2020-Summer/ECE-314/Lab%203/Lab%203%20Ian%20Rasmussen%20%28irasmus2%29.ipynb
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Finished connecting 389ba0dc-a3b8-4b51-a384-d909c883923c
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Registering commtarget jupyter.widget
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:51: Cached data exists getEnvironmentVariables, c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314\Lab 3\Lab 3 Ian Rasmussen (irasmus2).ipynb
console.ts:137 [Extension Host] Starting WebSocket: RAW/api/kernels/b666a067-bc46-4363-8892-491c5041d287
console.ts:137 [Extension Host] Kernel: connected (b666a067-bc46-4363-8892-491c5041d287)
webviewElement.ts:331 [Embedded Page] Starting WebSocket: BOGUS_PVSC/api/kernels/dddcad78-af4a-4849-84c4-f9e1c3ae7886
webviewElement.ts:331 [Embedded Page] Kernel: connected (dddcad78-af4a-4849-84c4-f9e1c3ae7886)
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:52: getActivatedEnvironmentVariables, Class name = E, completed in 1ms, has a truthy return value, Arg 1: <Uri:c:\Users\SchoolAccount\OneDrive - University of Illinois - Urbana\Documents\2020-Summer\ECE-314\Lab 3\Lab 3 Ian Rasmussen (irasmus2).ipynb>, Arg 2: {"architecture":3,"path":"C:\Users\SchoolAccount\anaconda3\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.7.6-final","major":3,"minor":7,"patch":6,"prerelease":["final"],"build":[],"version":"3.7.6-final"},"sysPrefix":"C:\Users\SchoolAccount\anaconda3","fileHash":"26ad3c9687a0a689c65b3e1b88c29323b01a5d2ba269505ad159214b19da04ff46652ea6e5bac23295df9aa06a595bf240218e072bad7c3cc8ec6ef8837148b5","companyDisplayName":"Anaconda, Inc.","type":"Conda","envName":"base","envPath":"C:\Users\SchoolAccount\anaconda3","displayName":"Python 3.7.6 64-bit ('base': conda)","__store":true}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:52: > ~\anaconda3\python.exe c:\Users\SchoolAccount.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:52: Python Daemon (pid: 6140): Execute rpc method prewarm_kernel in DS Daemon
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:52: Python Daemon (pid: 6140): Execute rpc method prewarm_kernel from C:\Users\SchoolAccount\anaconda3\python.exe
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:52: Python Daemon (pid: 6140): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:52: Python Daemon (pid: 6140): Exec in DS Kernel Launcher Daemon (observable) ['C:\Users\SchoolAccount\anaconda3\python.exe', 'c:\Users\SchoolAccount\.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\vscode_datascience_helpers\..\pyvsc-run-isolated.py', 'c:\Users\SchoolAccount\.vscode\extensions\ms-python.python-2020.6.90262\pythonFiles\vscode_datascience_helpers\kernel_prewarm_starter.py']
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:52: Python Daemon (pid: 6140): Exec in DS Kernel Launcher Daemon (observable)
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:52: Python Daemon (pid: 6140): Kernel launched, with PID 5464
console.ts:137 [Extension Host] Warn Python Extension: 2020-06-26 17:02:52: Python Daemon (pid: 6140): Waiting for Kernel to die 5464
t.log @ console.ts:137
console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 17:02:52: Python Daemon (pid: 6140): Kernel launched, with PID as a daemon 5464
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

@coocooman3 Thanks for all the information, will get a dev to take a closer look as soon as possible.

Playing around a bit more, feels like Latex functions in general aren't rendered properly, which I know there are several issues about. Had some that didn't render upon opening the document until I clicked on it to edit then clicked off again.


TF 2.x syntax updates

Hey Oval Group,
I am experimenting around with your optimization technique, just made some minor edits to the syntax for tf 2.x updates.
Thanks,
Mohammad

Thanks!


Implement opportunity to configure role path for each identity provider separately

EPAM AI DIAL chat version
0.16.2
What happened?
Implement opportunity to configure role path for each identity provider separately
I.e.

AUTH_AUTH0_ADMIN_ROLE_NAMES
AUTH_AUTH0_DIAL_ROLES_FIELD
AUTH_AZURE_ADMIN_ROLE_NAMES
AUTH_AZURE_DIAL_ROLES_FIELD
AUTH_GITLAB_ADMIN_ROLE_NAMES
AUTH_GITLAB_DIAL_ROLES_FIELD
AUTH_KEYCLOAK_ADMIN_ROLE_NAMES
AUTH_KEYCLOAK_DIAL_ROLES_FIELD
AUTH_PING_ID_ADMIN_ROLE_NAMES
AUTH_PING_ID_DIAL_ROLES_FIELD
AUTH_COGNITO_ADMIN_ROLE_NAMES
AUTH_COGNITO_DIAL_ROLES_FIELD
AUTH_OKTA_ADMIN_ROLE_NAMES
AUTH_OKTA_DIAL_ROLES_FIELD

according to Core-config where aidial.identityProviders.keycloak.rolePath, aidial.identityProviders.azure.rolePath and etc.
Confidential information

[X] I confirm that do not share any confidential information

Verified with Yauheniya and Dmitro on staging env successfully.
It works ok for the following providers: Okta, Congnito, Keycloak, Auth0
Was not able to check for Azure and Gitlab because of technical issues not connected to the implementation


Provide UV Offset Values as a per-Texture Material Property

Summary
As described here, there is currently no easy and convenient way to assign a UV offset to a texture.
Analysis

While this could be done as a per-Renderer property that adjusts vertex generation, a preferable way seems to be having an additional Material property per-Texture. (Multitexturing, shared among different renderers, etc.)
This could be achieved by providing the appropriate uniforms in the default shader and evaluating them during vertex processing.
For custom shader support, this feature should also be provided as part of a potential shared "shader library".
With regard to this, issues #219 and #220 are closely related.

Issue:

With offset and tiling values being a Material proprety, something that could be easily batched as part of vertex data suddenly becomes its own drawcall. This is not ideal performance-wise.

Closing this. Doesn't seem to provide a benefit large enough to account for the increase in maintenance and complexity.


Update the main README.md directory structure

Code of Conduct

[X] I have read and agree to the project's Code of Conduct.
[X] Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
[X] Do not leave "+1" or other comments that do not add relevant information or questions.
[X] If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description
The main README for the repo includes a directory structure, but this does not include the new HRM solution and needs to be updated.
Use Case(s)

Health Reporting and Monitoring

Potential Configuration
No response
References
No response

@bhumitra - could you please update the following:
https://github.com/vmware-samples/validated-solutions-for-cloud-foundation/blob/f60f16c91d3e87eca6fca840441da371c55a6ef2/README.md?plain=1#L61-L82


Changed extends 'base.html' to extends 'generic/object_detail.html' for detail templates

Fixes: #231

Looks like there's something incorrect in the parsednotification.html that's causing template rendering to error out in the tests.

Looks like there's something incorrect in the parsednotification.html that's causing template rendering to error out in the tests.

There was a bug in 1.2 that was fixed in https://github.com/nautobot/nautobot/pull/1366 that we're running into here because ParsedNotification doesn't have a list view. We'll have to override the header block in that file or create a list view for ParsedNotification.

@glennmatthews have you verified to rendered outcome? if so, it LGTM

Locally the only data I have is some configured Notification Sources; that detail view looks fine to me. I don't have data for the other models so I can't verify them manually at this time. The diffs look good to me though and the tests are passing so that would catch any egregious template-rendering errors.


Improved vman() shell function

This version of vman() checks to see if the requested man page exists before trying to launch superman.
This makes trying to look up a man page that doesn't exist faster and less visually jarring.
This PR assumes that man takes a superset of the arguments to -c Superman, which I'm not sure is the case. It appears to work with both 'vman 3 printfandvman printf`, although perhaps there are other forms which I don't know about.
PS Thanks for superman, it's rad!

Whoops, left off the early return. Added.

Thanks, this is a great idea!

This PR assumes that man takes a superset of the arguments

This is the case. There are two forms for invoking :SuperMan:

:SuperMan <command>
:SuperMan <section> <command>

Both these are supported by man, among others.

PS Thanks for superman, it's rad!

😄  Thank you!

The &> is very slightly less compatible. Zsh and bash support it, but dash, tcsh, and probably others don't. Given that it's something that users will copy and paste, instead of having to type it in themselves, how do you feel about using the longer (and admittedly uglier) form in case anyone is using a shell that doesn't support the short form?

Hmm, that's a good point. I had also forgotten that this was something they add to their shell of choice, and not a script we provide them.
As a side note, maybe in the future we should distribute a standalone script. This way, updating our plugin would automatically update the script. Users could then add something like this to their config file:
export PATH="$PATH:$HOME/.vim/bundle/vim-superman/bin

Thanks!


getting the error for main.py file not found when running the action cirolini/genai-code-review@v2

Run cirolini/genai-code-review@v2
with:
openai_api_key: ***
github_token: ***
github_pr_id: 2
openai_model: gpt-3.5-turbo
mode: files
language: java
openai_temperature: 0.5
openai_max_tokens: 2048
env:
JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/11.0.23-9/x64
/usr/bin/docker run --name bd3e97b8141ed9284bb43c4748769_1c749f --label 066803 --workdir /github/workspace --rm -e "JAVA_HOME" -e "INPUT_OPENAI_API_KEY" -e "INPUT_GITHUB_TOKEN" -e "INPUT_GITHUB_PR_ID" -e "INPUT_OPENAI_MODEL" -e "INPUT_MODE" -e "INPUT_LANGUAGE" -e "INPUT_OPENAI_TEMPERATURE" -e "INPUT_OPENAI_MAX_TOKENS" -e "INPUT_CUSTOM_PROMPT" -e "OPENAI_API_KEY" -e "GITHUB_TOKEN" -e "GITHUB_PR_ID" -e "OPENAI_MODEL" -e "OPENAI_TEMPERATURE" -e "OPENAI_MAX_TOKENS" -e "MODE" -e "LANGUAGE" -e "CUSTOM_PROMPT" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -
python: can't open file '/github/workspace/src/main.py': [Errno 2] No such file or directory

I have the same issue. Is there any solution to this problem?

I have the same issue, any recommendation?

Fixed and improved Readme: https://github.com/dlidstrom/genai-code-review

It's throwing a not found on @3 when trying to checkout, so not sure the docs are kosher? @dlidstrom

Right, might need an update. Thanks

@dlidstrom using the 3.0.2 (and 3.0.0) version I'm getting the error mentioned here: https://community.openai.com/t/error-with-openai-1-56-0-client-init-got-an-unexpected-keyword-argument-proxies/1040332

@tapegram I haven’t seen this issue (yet). Would you be able to submit a PR to fix it? I will publish an updated version for everyone’s benefit.


ammonite-repl 0.5.7

All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Looks like the build is failing.

[0m[[33mwarn[0m] [0mStrategy 'discard' was applied to 3 files[0m
[0m[[33mwarn[0m] [0mStrategy 'rename' was applied to 2 files[0m
[0m[[0minfo[0m] [0mSHA-1: d1ba93b8f72c0071e09f8162d485c2aa961c79f6[0m
[0m[[0minfo[0m] [0mPackaging /private/tmp/ammonite-repl20160403-89712-1q00vtr/Ammonite-0.5.7/repl/target/scala-2.11/ammonite-repl-0.5.8-SNAPSHOT-2.11.8 ...[0m
[0m[[0minfo[0m] [0mDone packaging.[0m
[0m[[32msuccess[0m] [0mTotal time: 58 s, completed 03-Apr-2016 01:49:28[0m
Error: No such file or directory - repl/target/scala-2.11/ammonite-repl-0.5.7-2.11.8

(Those junk characters are from the build process emitting terminal control sequences. It would be nice if it wouldn't do that when not attached to a terminal.)

Ok, the binary distribution contains this file - Constants.scala which inside has val version = "0.5.8-SNAPSHOT”. I can either tweak the recipe to fix the version (but then we'd have to tweak it on any release) or @lihaoyi fixes the build and we get it in the next version. What is the preferred choice/policy?

We'd prefer to have upstream fix the build and just pick up the fixed version. This looks like an error in this particular release's build, not an issue with OS X compatibility, so rather not change the formula to work around one bad build.

I submitted the issue upstream. https://github.com/lihaoyi/Ammonite/issues/372. I'm going to close this out. Would you mind re-submitting when a fixed 0.5.7 or 0.5.8 is available?
We've done the core/formula split, so new formula update submissions should go to https://github.com/homebrew/homebrew-core.

Spoken with lihaoyi and refactored the formula to be just fetch of a binary (no bottle) and link (that's all that's needed really). This got merged into core, from next release we'll try to reference the github link explicitly rather than the short version of the link (as per Ammonite project homepage).


Add Github repo URL to gemspec spec.homepage and re-publish

Solved with https://github.com/Gusto/omniauth-gusto/pull/8


docs(www): fix Combobox demo

closing Command element so Combobox demo works correctly

Closed as a duplicate of https://github.com/shadcn-ui/ui/pull/4330. Thank you.


[bug] Crash of Plugin when pasting and converting

I had the plugin crash on numerous occasions today when I did my usual workflow (just installed the plugin new):
crash case 1: converting all images of the current note to webp, 75% no scaling leads to a crash on the second line of the document which contains a .svg image. The filename gets replaced by .webp but despite the original .svg gone there is no .webp. From this point on the Image Converter Plugin is not useable and  does not react anymore to image pasting --> Obsidian Restart fixes that.
crash case 2: pasting a powerpoint slide directly from powerpoint (windows). I select the slide from the overview and hit CTRL-C and CTRL-V paste it into Obsidian. The image does not appear but a "broken image" .webp file showing no content. Like with case 1 it seems that the plugin now is gone and any further image pasting results in the standard Obsidian Image handling taking over and pasting .png images correctly - yet untouched by Image Converter.

Hey,
Could you please test it again on the latest release and let me know if this issue still persists?

I am closing this for now and marking as fixed. If issue still persists, please comment back, or create new issue