Degraded performance

Hello,
I am seeing a deterioration in performance, which is getting worse and worse.
I have 4 services: Hangout/Chat, Trello, Messenger & Linkedin.
The software permanently consumes 2 GB of RAM, and often reaches peaks of 4 to 8 GB of RAM (out of 16, not bad!).
When dragging and dropping images, 2 times out of 3 the module crashes and asks to restart the service.
I have been using the service for almost 2 years, and as the days go by, the slowness becomes more and more apparent.
I have the highest 2016 MBP, so I don't think the machine's performance is at stake (regular cleaning, nightly shutdown, SSD optimization).
Sincerely.
Lastest version : 5.0.0-beta.18

For me, on Ubuntu 18.04,
Franz with all services disabled needs 150MB,
and every additional service adds around 150-200MB.
It would be useful to check which additional service adds how many additional MB to your RAM usage.
Furthermore, it is not bad if the memory is used as long as it does not lead to errors or lags.
Perhaps your RAM usage only correlates with your issues, not causes them.

me too , and it is use  CPU too high

Franz is using 12gb on my computer, when starting Franz my computer (16gb ram, 4 core i7)  is freezing for minutes this is really an issue


remove headless option of cypress workflows

The headless option of cypress-io/github-action does not exist anymore in the v5 version and is the new default: https://github.com/cypress-io/github-action/pull/409/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6
So it can be removed. :)
Ref: #2061
I noticed this because I have this vscode extension that adds autocomplete and validation of github workflows.
https://github.com/github/vscode-github-actions

This was already done in https://github.com/netlify/next-runtime/pull/2069


Add an example for adding a NetworkComponent to an existing entity

Added an example for adding a NetworkComponent to an existing entity and modifying its ReplicateMode enum as required.

Looks good to me, thanks! :-)


rds: Add endpoint and port outputs.

LGTM

(Turns out I don't need this, so I'm closing without merging.)


Build failure: vmware-workstation

Steps To Reproduce
Steps to reproduce the behavior:

build vmware-workstation

Build log
building Nix...
building the system configuration...
building '/nix/store/vh6yjal2lyp9va5k5p5shv073jzsgay3-VMware-Workstation-Full-17.5.1-23298084.x86_64.bundle.drv'...
building '/nix/store/4slcz39jjfqb73rjqc2kbqqb9i6nppjy-gdbm-1.8.3.drv'...
building '/nix/store/gqwx8nkfw2m5xw92y6k3s4a3a2iqzrzn-vmware-unpack-env-usr-target.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/hh149gw57kdvafpqjfq3869x4zkkgdr7-gdbm-1.8.3.tar.gz
source root is gdbm-1.8.3
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file gdbm-1.8.3/gdbm.info
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./config.sub
Updating Autotools / GNU config script to a newer upstream version: ./config.guess
Running phase: configurePhase
fixing libtool script ./ltmain.sh
patching script interpreter paths in ./configure
./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/h3bhzvz9ipglcybbcvkxvm4vg9lwvqg4-bash-5.2p26/bin/sh"
configure flags: --disable-static --prefix=/nix/store/2gyp500pg8byyrbd9n4j6ijpbgb9ry4z-gdbm-1.8.3 --enable-libgdbm-compat
warning: collision between `/nix/store/nkdgysx90pln2l562l7lsk021hbxjdg8-glibc-2.39-31-bin/bin/ldconfig' and `/nix/store/d130xwm9365hfdzpz7x5kq9is9q6l4rm-ldconfig/bin/ldconfig'
warning: collision between `/nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/locale/locale-archive' and `/nix/store/j2h103h7b0xg7pc5ih3m1df0j3z71c6v-glibc-locales-2.39-31/lib/locale/locale-archive'
checking for gcc... gcc
created 1125 symlinks in user environment
building '/nix/store/jyymlbz15czjll8hac5qddil8afar8rf-vmware-unpack-env-fhs.drv'...
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
/nix/store/4hfpf6kn1fj2r1dxpn8dz7zqdnm3j12l-vmware-unpack-env-fhs /build
/nix/store/4hfpf6kn1fj2r1dxpn8dz7zqdnm3j12l-vmware-unpack-env-fhs/usr /nix/store/4hfpf6kn1fj2r1dxpn8dz7zqdnm3j12l-vmware-unpack-env-fhs /build
/nix/store/4hfpf6kn1fj2r1dxpn8dz7zqdnm3j12l-vmware-unpack-env-fhs /build
building '/nix/store/pl6gzr7sjfznn331rkp6iqs439nxav3s-vmware-unpack-env-bwrap.drv'...

trying https://download3.vmware.com/software/WKST-1751-LX/VMware-Workstation-Full-17.5.1-23298084.x86_64.bundle
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /nix/store/hq8765g3p1i7qbargnqli5mn0jpsdbfl-coreutils-9.5/bin/install -c
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... (cached) pass_all
building '/nix/store/5l3rqri02lk0vlsshzxavdsd240zcm30-vmware-unpack-env.drv'...
checking command to parse nm output... ok
checking for egrep... grep -E
  0    15    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (56) The requested URL returned error: 522
error: cannot download VMware-Workstation-Full-17.5.1-23298084.x86_64.bundle from any mirror
checking for ANSI C header files... yes
error: builder for '/nix/store/vh6yjal2lyp9va5k5p5shv073jzsgay3-VMware-Workstation-Full-17.5.1-23298084.x86_64.bundle.drv' failed with exit code 1
error:
       … while calling the 'head' builtin

         at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11:

         1574|         || pred here (elemAt values 1) (head values) then
         1575|           head values
             |           ^
         1576|         else

       … while evaluating the attribute 'value'

         at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:809:9:

          808|     in warnDeprecation opt //
          809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          810|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: 1 dependencies of derivation '/nix/store/6zl9d3wlrw7s6p63l9agnangra8yfqdm-vmware-workstation-17.5.1.drv' failed to build

Additional context
The package cannot download. 522 error. It is similarly impossible to install a previous version. It is not a temporary issue; it has been that way for a few days at least.
Notify maintainers

It looks to me as if the download via https://download3.vmware.com/ is no longer supported.

The download button no links to:
https://customerconnect.vmware.com/site-maintenance)

If I understand the following entry correctly, the binary download will remain and will be available again after the move?
https://knowledge.broadcom.com/external/article?legacyId=97841
https://store-us.vmware.com/workstation_buy_dual

True. The download site is closed for maintenance. But don't the Nix servers have it cached somewhere?

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-to-install-package-that-was-manually-downloaded/45132/1

don't the Nix servers have it cached somewhere?

The official binary cache does not contain unfree packages.

Will replacing download link with this url solve the problem?
https://softwareupdate.vmware.com/cds/vmw-desktop/ws/

From blog released today it looks like downloading VMware workstation product now requires a Broadcom account, i will look into other programs packaged with same awful requirement, it's likely that we will switch into something like Cisco's Packet Tracer way of providing user downloaded file to derivation.

@day0xy, VMware website is still in transition state, it's unknown what fate of softwareupdate site will be. But it looks like newer version <IP_ADDRESS> is on it, which is giving hope. But they can password protect or otherwise obscure it any moment

They are talking about the issue on AUR
https://aur.archlinux.org/packages/vmware-workstation
and someone says over there "If you make a request through the broadcom portal, you get the bundle file directly. Though it seems not available for direct download. The url looks like https://downloads2.broadcom.com/?file=VMware-Workstation-Full-17.5.2-23775571.x86_64.bundle&oid=&id=&verify= (I omitted those numbers as they might be tied to an account)"

Its possible to download it directly using: https://softwareupdate.vmware.com/cds/vmw-desktop/ws/17.5.1/23298084/linux/core/.
I am a bit confused, since the derivation used a .bundle file before, now there seems only a .bundle.tar available.
I tried to adjust the derivation, but since its the first time i am trying that i failed:
# old url
 # src = fetchurl {
  #   url = "https://download3.vmware.com/software/WKST-${builtins.replaceStrings ["."] [""] version}-LX/VMware-Workstation-Full-${version}-${build}.x86_64.bundle";
  #   sha256 = "sha256-qmC3zvKoes77z3x6UkLHsJ17kQrL1a/rxe9mF+UMdJY=";
  # };

# new url
  src = fetchurl {
  url = "https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${version}/${build}/linux/core/VMware-Workstation-${version}-${build}.x86_64.bundle.tar";
  sha256 = "sha256-4kA5zi9roCOHWSpHwEsRehzrlAgrm/lugSLpznPIYRw=";

I tried to extract the .bundle file from the .tar archive in the unpack-phase, but i failed.
Perhaps someone with more experience has a clue as to whether this is the right approach or how exactly to proceed?

There is something wrong with that downloaded file. It is half the size it should be, after extraction. I was successful with the file downloaded from Techspot
https://www.techspot.com/downloads/downloadnow/189/?evp=f14a48a23bc560f5fbe81b8d83387b41&file=10774
but not with the file download you are using.
Discussion here:
https://discourse.nixos.org/t/how-to-install-a-package-that-was-manually-downloaded/45132/16

I have written an overlay and adapted it to my configuration. The overwrite works successfully (I just used your github repo temporarily).

    vmware-workstation = prev.vmware-workstation.overrideAttrs (old: {
	src = final.fetchurl {
	url = "https://github.com/kulczwoj/vmware-workstation/releases/download/v${builtins.head (final.lib.splitString "." old.version)}.0/VMware-Workstation-Full-${old.version}-${old.build}.x86_64.bundle";
	sha256 = "sha256-qmC3zvKoes77z3x6UkLHsJ17kQrL1a/rxe9mF+UMdJY=";
	};
	unpackPhase = let
	vmware-unpack-env = final.buildFHSEnv {
	name = "vmware-unpack-env";
	targetPkgs = pkgs: [ final.zlib ];
	};
	in ''
	${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${old.src} --extract unpacked"
	'';
	});

Unfortunately I get a build error due to the linux-6.9-dev/lib/modules.
rror: builder for '/nix/store/ny4hpr1736dpvfqkhcbh4d85jrbsyfdj-vmware-modules-workstation-17.5.1-unstable-2024-01-12-6.9.drv' failed with exit code 2;
       last 10 log lines:
       >   BTF [M] /build/source/vmmon-only/vmmon.ko
       > Skipping BTF generation for /build/source/vmmon-only/vmmon.ko due to unavailability of vmlinux
       > make[2]: Leaving directory '/nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/build'
       > make -C $PWD SRCROOT=$PWD/. \
       >   MODULEBUILDDIR= postbuild
       > make[2]: Entering directory '/build/source/vmmon-only'
       > make[2]: 'postbuild' is up to date.
       > make[2]: Leaving directory '/build/source/vmmon-only'
       > cp -f vmmon.ko ./../vmmon.o
       > make[1]: Leaving directory '/build/source/vmmon-only'
       For full logs, run 'nix log /nix/store/ny4hpr1736dpvfqkhcbh4d85jrbsyfdj-vmware-modules-workstation-17.5.1-unstable-2024-01-12-6.9.drv'.
error: 1 dependencies of derivation '/nix/store/gfcbzcw13wzc9jgnbhz4ny1dwhjv3k2x-linux-6.9-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/mm19xvlpn1vwvga9n7xxwcwsvmiicxdi-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1hm0ymnbmsbwrf1vj2bj1j8a1axi9dgk-nixos-system-sfs-24.05.20240516.bf446f0.drv' failed to build

In file included from /nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/source/include/linux/s>
                 from /nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/source/include/linux/s>
                 from /build/source/vmnet-only/bridge.c:25:
/build/source/vmnet-only/bridge.c: In function 'VNetBridgeReceiveFromVNet':
/build/source/vmnet-only/vmnetInt.h:44:39: error: 'dev_base_lock' undeclared (first use in this function); did you mean >
   44 | #define dev_lock_list()    read_lock(&dev_base_lock)
      |                                       ^~~~~~~~~~~~~
/nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/source/include/linux/rwlock.h:56:48: note: i>
   56 | #define read_lock(lock)         _raw_read_lock(lock)
      |                                                ^~~~
/build/source/vmnet-only/bridge.c:587:4: note: in expansion of macro 'dev_lock_list'
  587 |    dev_lock_list();
      |    ^~~~~~~~~~~~~

I have updated my kernel to 6.9.0.
Which kernel / vmware combination are you currently using?

I have written an overlay and adapted it to my configuration. The overwrite works successfully (I just used your github repo temporarily).

    vmware-workstation = prev.vmware-workstation.overrideAttrs (old: {
	src = final.fetchurl {
	url = "https://github.com/kulczwoj/vmware-workstation/releases/download/v${builtins.head (final.lib.splitString "." old.version)}.0/VMware-Workstation-Full-${old.version}-${old.build}.x86_64.bundle";
	sha256 = "sha256-qmC3zvKoes77z3x6UkLHsJ17kQrL1a/rxe9mF+UMdJY=";
	};
	unpackPhase = let
	vmware-unpack-env = final.buildFHSEnv {
	name = "vmware-unpack-env";
	targetPkgs = pkgs: [ final.zlib ];
	};
	in ''
	${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${old.src} --extract unpacked"
	'';
	});

Unfortunately I get a build error due to the linux-6.9-dev/lib/modules.
rror: builder for '/nix/store/ny4hpr1736dpvfqkhcbh4d85jrbsyfdj-vmware-modules-workstation-17.5.1-unstable-2024-01-12-6.9.drv' failed with exit code 2;
       last 10 log lines:
       >   BTF [M] /build/source/vmmon-only/vmmon.ko
       > Skipping BTF generation for /build/source/vmmon-only/vmmon.ko due to unavailability of vmlinux
       > make[2]: Leaving directory '/nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/build'
       > make -C $PWD SRCROOT=$PWD/. \
       >   MODULEBUILDDIR= postbuild
       > make[2]: Entering directory '/build/source/vmmon-only'
       > make[2]: 'postbuild' is up to date.
       > make[2]: Leaving directory '/build/source/vmmon-only'
       > cp -f vmmon.ko ./../vmmon.o
       > make[1]: Leaving directory '/build/source/vmmon-only'
       For full logs, run 'nix log /nix/store/ny4hpr1736dpvfqkhcbh4d85jrbsyfdj-vmware-modules-workstation-17.5.1-unstable-2024-01-12-6.9.drv'.
error: 1 dependencies of derivation '/nix/store/gfcbzcw13wzc9jgnbhz4ny1dwhjv3k2x-linux-6.9-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/mm19xvlpn1vwvga9n7xxwcwsvmiicxdi-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1hm0ymnbmsbwrf1vj2bj1j8a1axi9dgk-nixos-system-sfs-24.05.20240516.bf446f0.drv' failed to build

In file included from /nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/source/include/linux/s>
                 from /nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/source/include/linux/s>
                 from /build/source/vmnet-only/bridge.c:25:
/build/source/vmnet-only/bridge.c: In function 'VNetBridgeReceiveFromVNet':
/build/source/vmnet-only/vmnetInt.h:44:39: error: 'dev_base_lock' undeclared (first use in this function); did you mean >
   44 | #define dev_lock_list()    read_lock(&dev_base_lock)
      |                                       ^~~~~~~~~~~~~
/nix/store/7j5krfzkiw31vkkv1jy13lpfzkiryn5s-linux-6.9-dev/lib/modules/6.9.0/source/include/linux/rwlock.h:56:48: note: i>
   56 | #define read_lock(lock)         _raw_read_lock(lock)
      |                                                ^~~~
/build/source/vmnet-only/bridge.c:587:4: note: in expansion of macro 'dev_lock_list'
  587 |    dev_lock_list();
      |    ^~~~~~~~~~~~~

I have updated my kernel to 6.9.0. Which kernel / vmware combination are you currently using?

I'm using 6.6.30. I used to use latest, but switched to LTS because of VMware kernel modules and constant problems with them.

Btw I managed to create an overlay that uses the version provided at softwareupdate.vmware.com. It certainly doesn't look as nice as the previous one, but does the job. You can use this to fetch 7.5.2 version. It turned out that a proper update to unpackPhase is enough and other phases don't need any changes.
(self: super: {
  vmware-workstation = super.vmware-workstation.overrideAttrs (vself: vsuper: {
    src =
    let
      urlBase = "https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${vself.version}/${vself.build}/linux/";
      core = "VMware-Workstation-${vself.version}-${vself.build}.x86_64.bundle";
      packages = [
        {
          name = "linux";
          hash = "sha256-VHFc2g9Bpz7RaJDTB+MXZ2VKe6YfcM1Y2qcqL75mOgw=";
        }
        {
          name = "linuxPreGlibc25";
          hash = "sha256-ubxS82tyY/biGSBPvPFsggKLYRXUMVJU9dqNfILa7OY=";
        }
        {
          name = "netware";
          hash = "sha256-Fs+R4RTgbV+SlFuz7DO/NXdqfMMXf05eSmIfD8AWjvI=";
        }
        {
          name = "solaris";
          hash = "sha256-HajtvDG/iPUmi7clO2wkSQRMWsOI/rLFHVDlw/vL4wI=";
        }
        {
          name = "winPre2k";
          hash = "sha256-lX4uvJRFSUIzm6cxCCuZwrsgPuRE2Wr1+GYFY0Qk8Tw=";
        }
        {
          name = "winPreVista";
          hash = "sha256-xA3UvxIS7u435T0LsyMTCHFUZL9dkTXuekXexOWkXRc=";
        }
        {
          name = "windows";
          hash = "sha256-/UrzEQTBhmuQODnNoNPQD4pI4MNCxordb/FxVPS3A9o=";
        }
      ];
    in [ "${self.fetchzip {
      url = urlBase + "core/${core}.tar";
      hash = "sha256-nYkqZ7w3AYdw2YvQNATIYeJpqUwmkLE6jzyQlhGKyEs=";
      stripRoot=false;
    }}/${core}" ] ++ (map (pkg:
    let
      version = "12.3.5";
      build = "22544099";
      file = "vmware-tools-${pkg.name}-${version}-${build}.x86_64.component";
    in
      "${self.fetchzip {
        url = urlBase + "packages/${file}.tar";
        inherit (pkg) hash;
        stripRoot=false;
      }}/${file}"
    ) packages);
    unpackPhase =
    let
      vmware-unpack-env = self.buildFHSEnv {
        name = "vmware-unpack-env";
        targetPkgs = pkgs: [ self.zlib ];
      };
      installComponents = lib.concatMapStringsSep " " (src: "--install-component ${src}") (builtins.tail vself.src);
    in ''
      ${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${builtins.head vself.src} ${installComponents} --extract unpacked"
    '';
  });
})

Here is the new overlay in a more compact form:
(self: super: {
  vmware-workstation = super.vmware-workstation.overrideAttrs (vself: vsuper:
  let
    urlBase = "https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${vself.version}/${vself.build}/linux/";
    file = "VMware-Workstation-${vself.version}-${vself.build}.x86_64.bundle";
  in {
    src = "${self.fetchzip {
      url = urlBase + "core/${file}.tar";
      hash = "sha256-nYkqZ7w3AYdw2YvQNATIYeJpqUwmkLE6jzyQlhGKyEs=";
      stripRoot=false;
    }}/${file}";
    unpackPhase =
    let
      vmware-unpack-env = self.buildFHSEnv {
        name = "vmware-unpack-env";
        targetPkgs = pkgs: [ self.zlib ];
      };
      components =
      let
        version = "12.3.5";
        build = "22544099";
        file = component: "vmware-tools-${component}-${version}-${build}.x86_64.component";
        hashes = {
          linux = "sha256-VHFc2g9Bpz7RaJDTB+MXZ2VKe6YfcM1Y2qcqL75mOgw=";
          linuxPreGlibc25 = "sha256-ubxS82tyY/biGSBPvPFsggKLYRXUMVJU9dqNfILa7OY=";
          netware = "sha256-Fs+R4RTgbV+SlFuz7DO/NXdqfMMXf05eSmIfD8AWjvI=";
          solaris = "sha256-HajtvDG/iPUmi7clO2wkSQRMWsOI/rLFHVDlw/vL4wI=";
          winPre2k = "sha256-lX4uvJRFSUIzm6cxCCuZwrsgPuRE2Wr1+GYFY0Qk8Tw=";
          winPreVista = "sha256-xA3UvxIS7u435T0LsyMTCHFUZL9dkTXuekXexOWkXRc=";
          windows = "sha256-/UrzEQTBhmuQODnNoNPQD4pI4MNCxordb/FxVPS3A9o=";
        };
        srcs = map (component:
          "${self.fetchzip {
            url = urlBase + "packages/${file component}.tar";
            hash = hashes.${component};
            stripRoot=false;
          }}/${file component}"
        ) (builtins.attrNames hashes);
      in
        lib.concatMapStringsSep " " (src: "--install-component ${src}") srcs;
    in ''
      ${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${vself.src} ${components} --extract unpacked"
    '';
  });
})

" I used to use the latest kernel, but switched to LTS because of frequent problems with VMware kernel modules."
I you want a more recent kernel, the Zen kernel package seems to work well with Vmware, just add the Vmware package specific to Zen: https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=vmware+zen

So, reading this issue, there's no longer a convenient way to install VMWare aside from manually downloading the bundle from Broadcom and manually installing it?
Because setting virtualization.host.vmware = true; still fails to fetch the download url from vmware domain.
I can't update my system without having to also update VMWare. Is there a way to skip one nix flake from the update? The thing is I also updated my channel list and my .lock file.

So, reading this issue, there's no longer a convenient way to install VMWare aside from manually downloading the bundle from Broadcom and manually installing it?

You can add the overlay provided here.  It worked for me.  However, vmware needs patching to work with kernel 6.9 so you may need to use an older kernel.

Kernel 6.8 currently works for me with VMware, with the appropriate kernel package.
https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=vmware

Here is the new overlay in a more compact and polished form:
(self: super: {
  vmware-workstation = super.vmware-workstation.overrideAttrs (vself: vsuper:
  let
    urlBase = "https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${vself.version}/${vself.build}/linux/";
    file = "VMware-Workstation-${vself.version}-${vself.build}.x86_64.bundle";
  in {
    src = "${self.fetchzip {
      url = urlBase + "core/${file}.tar";
      hash = "sha256-nYkqZ7w3AYdw2YvQNATIYeJpqUwmkLE6jzyQlhGKyEs=";
      stripRoot=false;
    }}/${file}";
    unpackPhase =
    let
      vmware-unpack-env = self.buildFHSEnv {
        name = "vmware-unpack-env";
        targetPkgs = pkgs: [ self.zlib ];
      };
      vmware-tools =
      let
        version = "12.3.5";
        build = "22544099";
        file = system: "vmware-tools-${system}-${version}-${build}.x86_64.component";
        hashes = {
          linux = "sha256-VHFc2g9Bpz7RaJDTB+MXZ2VKe6YfcM1Y2qcqL75mOgw=";
          linuxPreGlibc25 = "sha256-ubxS82tyY/biGSBPvPFsggKLYRXUMVJU9dqNfILa7OY=";
          netware = "sha256-Fs+R4RTgbV+SlFuz7DO/NXdqfMMXf05eSmIfD8AWjvI=";
          solaris = "sha256-HajtvDG/iPUmi7clO2wkSQRMWsOI/rLFHVDlw/vL4wI=";
          winPre2k = "sha256-lX4uvJRFSUIzm6cxCCuZwrsgPuRE2Wr1+GYFY0Qk8Tw=";
          winPreVista = "sha256-xA3UvxIS7u435T0LsyMTCHFUZL9dkTXuekXexOWkXRc=";
          windows = "sha256-/UrzEQTBhmuQODnNoNPQD4pI4MNCxordb/FxVPS3A9o=";
        };
        srcs = map (system:
          "${self.fetchzip {
            url = urlBase + "packages/${file system}.tar";
            hash = hashes.${system};
            stripRoot=false;
          }}/${file system}"
        ) (builtins.attrNames hashes);
      in
        lib.concatMapStringsSep " " (src: "--install-component ${src}") srcs;
    in ''
      ${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${vself.src} ${vmware-tools} --extract unpacked"
    '';
  });
})

This fails for me since the CDS Repository has updated to 12.4.0 and no longer uses 12.3.5 along with its hash values.
I made a new update for the overlays as of June 17, 2024 UTC+8:
  nixpkgs.overlays = [
    (self: super: {
      vmware-workstation = super.vmware-workstation.overrideAttrs (vself: vsuper:
        let
          urlBase = "https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${vself.version}/${vself.build}/linux/";
          file = "VMware-Workstation-${vself.version}-${vself.build}.x86_64.bundle";
        in
        {
          src = "${self.fetchzip {
      url = urlBase + "core/${file}.tar";
      hash = "sha256-5PZZpXN/V687TXjqeTm8MEays4/QTf02jVfdpi9C7GI=";
      stripRoot=false;
    }}/${file}";
          unpackPhase =
            let
              vmware-unpack-env = self.buildFHSEnv {
                name = "vmware-unpack-env";
                targetPkgs = pkgs: [ self.zlib ];
              };
              vmware-tools =
                let
                  version = "12.4.0";
                  build = "23259341";
                  file = system: "vmware-tools-${system}-${version}-${build}.x86_64.component";
                  hashes = {
                    linux = "sha256-vT08mR6cCXZjiQgb9jy+MaqYzS0hFbNUM7xGAHIJ8Ao=";
                    linuxPreGlibc25 = "sha256-BodN1lxuhxyLlxIQSlVhGKItJ10VPlti/sEyxcRF2SA=";
                    netware = "sha256-o/S4wAYLR782Fn20fTQ871+rzsa1twnAxb9laV16XIk=";
                    solaris = "sha256-3LdFoI4TD5zxlohDGR3DRGbF6jwDZAoSMEpHWU4vSGU=";
                    winPre2k = "sha256-+QcvWfY3aCDxUwAfSuj7Wf9sxIO+ztWBrRolMim8Dfw=";
                    winPreVista = "sha256-3NgO/GdRFTpKNo45TMet0msjzxduuoF4nVLtnOUTHUA=";
                    windows = "sha256-2F7UPjNvtibmWAJxpB8IOnol12aMOGMy+403WeCTXw8=";
                  };
                  srcs = map
                    (system:
                      "${self.fetchzip {
            url = urlBase + "packages/${file system}.tar";
            hash = hashes.${system};
            stripRoot=false;
          }}/${file system}"
                    )
                    (builtins.attrNames hashes);
                in
                lib.concatMapStringsSep " " (src: "--install-component ${src}") srcs;
            in
            ''
              ${vmware-unpack-env}/bin/vmware-unpack-env -c "sh ${vself.src} ${vmware-tools} --extract unpacked"
            '';
        });
    })
  ];

Although I still haven't fixed the issue regarding this:
error: builder for '/nix/store/5k9zmzy7zvjr5vddw5ii9kdi21974kgv-vmware-modules-workstation-17.5.1-unstable-2024-01-12-6.9.4.drv' failed with exit code 2;
       last 10 log lines:
       >   BTF [M] /build/source/vmmon-only/vmmon.ko
       > Skipping BTF generation for /build/source/vmmon-only/vmmon.ko due to unavailability of vmlinux
       > make[2]: Leaving directory '/nix/store/0k0kvgf5q8snyi93yzw02vhrjhhkwbrg-linux-6.9.4-dev/lib/modules/6.9.4/build'
       > make -C $PWD SRCROOT=$PWD/. \
       >   MODULEBUILDDIR= postbuild
       > make[2]: Entering directory '/build/source/vmmon-only'
       > make[2]: 'postbuild' is up to date.
       > make[2]: Leaving directory '/build/source/vmmon-only'
       > cp -f vmmon.ko ./../vmmon.o
       > make[1]: Leaving directory '/build/source/vmmon-only'
       For full logs, run 'nix log /nix/store/5k9zmzy7zvjr5vddw5ii9kdi21974kgv-vmware-modules-workstation-17.5.1-unstable-2024-01-12-6.9.4.drv'.
error: 1 dependencies of derivation '/nix/store/lnxvq5i3ilc2v2rx9ai30wrykx4xm1sc-linux-6.9.4-modules.drv' failed to build

It might be the kernel itself. I might really need to downgrade or wait for VMWare's update.


Doc blocks get too large if no fields are stored

If no fields are stored, we store too many documents in a block. The lookup times get very slow, e.g. when merging.
There are two options:

Limits the maximum number of docs per block
Add a fast path when no fields are stored

Nice find!
Can you detail the path that makes it slow on merge? I thought we were caching decompressed blocks.

The issue is the linear scanning inside a block (fn get_document_bytes_from_block), e.g. when there are millions of docs inside a block. The issue in merge occurs only with sorting, but search should also affected. If we limit the number of docs per block, we can shift more to the faster skip list vs the linear scan.
for old_doc_id in doc_id_map.iter_old_doc_ids() {
    let doc_bytes = store_read.get_document_bytes(old_doc_id)?;
    serializer.get_store_writer().store_bytes(&doc_bytes)?;
}

The default block-size appear to be 16384, which can store up to 8192 empty documents (one byte for the size, and one byte for the field count). It's not that big of a number imo. However the merge code is linear-scanning the block n times, so we end-up with something in n².
I think StoreReader should get a fn get_many_documents_bytes(&self, doc_id: &[DocId]) -> crate::Result<Vec<OwnedBytes>> so it can scan only once

doc_ids: &[DocId] is not sorted, and can be random. This is only an issue when sorting the index by a field and the new sort order would be reflected in doc_ids: &[DocId]

how can I reproduce the slowness you observed?


Radian to Degree & Vice-Versa

Do the checklist before filing the issue:

[x] Do you have Node.js and all the relevant dev-dependencies installed?
[ ] Is this a bug fix?
[x] Is this an enhancement?
[x] Is this a feature request?

NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it along with screenshots.

Give your answer below:

[Function: M.toRadian(), M.toDegree()] needs to be added in separate modules!
Provide the module names as radian & degree and both methods takes argument as a real number and return a real number too!

NOTE: For any other arguments include appropriate TypeErrors!

Category: Mathematical Utilities

I would like to work on this @pbiswas101

@bharati-s You're assigned!

@bharati-s your time's up!
The issue is open for claiming

I would like to work @pbiswas101

@vikranthgaddam you're assigned!

@vikranthgaddam your time's up!
The issue is open for claiming

Assign it to me, please.

@thisisabdus first fix your PR regarding PriorityQueue

I'd solved this particular issue but couldn't make a PR. Can I  do it now?

@bharati-s you're assigned and you've to make a PR within a day

Is this issue fixed?

@sateslayer nope its not!

Can I work on it, now that I'm done on pow?

@bharati-s your time's up and please claim a different issue!

Can I claim this issue?

Also can we name the function as "toRadians" and "toDegrees", because that would be more intuitive to the users

@sateslayer you're assigned! And yes, name the functions like you mentioned but the module name should be, radian, degree, radian-spec.js & degree-spec.js

Ok

For some reason people have numbered the links wrong in the README.md . I will be modifying that too.


do sensitivity calculations for processed variables in C++

We have existing C++ code to calculate sensitivities for derived variables (this is used if output_variables is set). Once #4545 is complete, we will be able to take the output from the IDAKLU sensitivity solve and use this C++ code to calculate the output sensitivities in the Solution class.
Motivation
Efficiency, should be faster than the current implementation
Implementation

[ ] Wrap C++ sensitivity code
[ ] We used to rearrange the IDAKLU sensitivity output to match that of the casadi solver, once #4545 is done this can be removed
[ ] Replace sensitivity calculation in the Solution class with the wrapped C++ code

Related to #3910


Policy for a missing header

I have a file foo.csv with the following 2 rows
, Name
0, bar

Using .csv foo foo.csv populates the table foo where the first column has the name "":
SELECT "" FROM foo LIMIT 1;
0

We should deal more gracefully with these situations, perhaps by

Populating missing header with a default value i.e. col0
Tell the user to populate their headers

The bayeslite.read_csv module lets you specify whether to expect a header or not.
How would you like to tell the .csv command about that?
How do you distinguish a header from data?

f3df7ac


Recurring Donations Batch Job: sObject type 'AsyncApexJob' is not supported

If an NPSP Scheduled Job (for example, npsp__RD_RecurringDonations_BATCH) is run as the Nonprofit Success Pack User, it is possible to receive the following error:
Error Type: Batch Apex error
Message: "First error: sObject type 'AsyncApexJob' is not supported."
Context: npsp__RD_RecurringDonations_BATCH
Resolution
The Scheduled Job should run as an actual User in your Salesforce org.

Go to Setup --> Scheduled Jobs.
Find the job called "NPSP 06 - Recurring Donation Updates".  Click the "Del" link next to it.
Go to the NPSP Settings tab. This will automatically reschedule all of your NPSP jobs as the current User.
To confirm, go back to Setup --> Scheduled Jobs. Look at the "Submitted By" column next to the "NPSP 06 - Recurring Donation Updates" job. It should now show your name.
If it does NOT show your name or if that job isn't showing up in the list, it likely means that you have a setting toggled on to prevent us from auto-rescheduling jobs. This can be found in NPSP Settings --> Bulk Data Processes --> Batch Process Settings. The checkbox is labeled "Don't Auto Schedule Default NPSP Jobs".

If you would like to reschedule all jobs, uncheck this and click Save.
If you would ONLY like to reschedule the Recurring Donations Batch job, go to Setup --> Apex Classes. Click the Schedule Apex button and enter the following information:
*** Job Name: NPSP 06 - Recurring Donation Updates
*** Apex Class: RD_RecurringDonations_BATCH
*** Frequency: Weekly; check the boxes next to every day.
*** Set an End Date far into the future and set a preferred time.

For #3 - where is the NPSP Settings tab?

@questgrace Go to waffle menu that's to the far left of your navigation bar, search for 'NPSP Settings' there. You'll need to be a System Administrator to view the NPSP Settings tab.

@judisohn Thanks!  This worked for me!

@judisohn So after the user is an actual user, will it run without failing overnight?  Is there another step I should take, like manually make it run again or should I wait to run overnight?

@questgrace You can run it manually now or wait for it to run overnight. Up to you.

W-7957832


Release to AppImage

Such as vscodium , a target of glibc2.16-x86_64.AppImage  wants to be released.

What's the advantage of AppImage over Docker?

To me, the major benefit of a .AppImage is that they're self-contained and usually automatically managed by the distro - and that they also don't use a container and just run directly on the host.
With AppImages, any Linux distro could simply download a file, chmod +x and then run it, and it should in theory work with no extra dependencies, with the entire app contained into one file.

What's more, my environment  is under linux kernel 2.6.32。 Docker works on higher.

Appimage requires FUSE, which is not commonly installed on servers and negates the potential advantages.
Also for those on 2.6.x kernels -- you're likely running on an OpenVZ kernel, which doesn't support FUSE.

Closing as there isn't enough benefit to AppImage to justify adding it to the releases. The binary releases only have a minimum glibc of v2.17 which is nearly 8 years old now. The benefit/adoption of AppImage seems to be around desktop applications as well where users are used to downloading applications via the browser instead of a package manager.

Also like @supriyo-biswas mentioned it requires FUSE.
Finally, you can always use the npm package if you need to install on such old distributions. See https://github.com/cdr/code-server/blob/master/doc/install.md#yarn-npm


Unable to find installation URLs for OS key: openbsd64-maj6-min8

I'm running OpenBSD current, and this is what I get when I try to run licensor from my top-level directory:
$ licensor
Package: sound-stream-<IP_ADDRESS> (License: NONE)
Writing implicit global project config file to: /home/falsifian/.stack/global-project/stack.yaml
Note: You can change the snapshot via the resolver field there.
Using latest snapshot resolver: lts-16.20
Unable to find installation URLs for OS key: openbsd64-maj6-min8
Unable to find installation URLs for OS key: openbsd64-maj6-min8
Error: ...

I'm not really familiar with stack, so I'm not sure what the error means or why my OS matters when checking licenses.
(License: NONE is correct; I haven't picked one.)

Here's my project, in case it's relevant.

I get the same error if I run stack build . in my project directory: Unable to find installation URLs for OS key: openbsd64-maj6-min. So, if stack is essential to licensor working, maybe the problem is just that I don't have stack working on my OpenBSD system.

@falsifian Yes, it's currently using Stack to get the list of dependencies and licenses. I was able to run it for your project after running stack init inside the project (and removing the version constraints because Stack couldn't resolve them with the current constraints in the Cabal file).
This is what I got after doing that:
Package: sound-stream-<IP_ADDRESS> (License: NONE)
QuickCheck-2.13.2...BSD3
array-<IP_ADDRESS>...BSD-3
base-<IP_ADDRESS>...BSD-3
binary-<IP_ADDRESS>...BSD-3
bytestring-<IP_ADDRESS>...BSD-3
carray-<IP_ADDRESS>...BSD3
containers-<IP_ADDRESS>...BSD-3
deepseq-<IP_ADDRESS>...BSD-3
ghc-boot-th-8.8.4...BSD-3
ghc-prim-0.5.3...BSD-3
integer-gmp-<IP_ADDRESS>...BSD-3
ix-shapable-0.1.0...BSD3
mtl-2.2.2...BSD-3
pretty-<IP_ADDRESS>...BSD-3
random-1.1...BSD3
rts-1.0...BSD-3
sound-stream-<IP_ADDRESS>...AllRightsReserved
splitmix-0.0.5...BSD3
syb-0.7.1...BSD3
template-haskell-<IP_ADDRESS>...BSD-3
time-1.9.3...BSD-3
transformers-<IP_ADDRESS>...BSD-3
-----
15 packages licensed under BSD-3: array-<IP_ADDRESS>, base-<IP_ADDRESS>, binary-<IP_ADDRESS>, bytestring-<IP_ADDRESS>, containers-<IP_ADDRESS>, deepseq-<IP_ADDRESS>, ghc-boot-th-8.8.4, ghc-prim-0.5.3, integer-gmp-<IP_ADDRESS>, mtl-2.2.2, pretty-<IP_ADDRESS>, rts-1.0, template-haskell-<IP_ADDRESS>, time-1.9.3, transformers-<IP_ADDRESS>
-----
6 packages licensed under BSD3: QuickCheck-2.13.2, carray-<IP_ADDRESS>, ix-shapable-0.1.0, random-1.1, splitmix-0.0.5, syb-0.7.1

Thanks for running it! I should have mentioned I got it working on my Linux computer.


TFS 2018 Update Version Numbers are missing from the above table

The version numbers for update 1, 2 and 3 are missing from the above table.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 486447a6-a627-df82-4706-2318135540cc
Version Independent ID: 7d6953c7-9ee6-50d6-9fce-238a4539ecc9
Content: Get support, provide feedback - Azure DevOps Services & TFS
Content Source: docs/user-guide/provide-feedback.md
Product: devops
GitHub Login: @erickson-doug
Microsoft Alias: chcomley

The table is missing version numbers for 2018 Updates 1, 2 and 3.
On Wed, Oct 24, 2018 at 9:28 AM chcomley<EMAIL_ADDRESS>wrote:

Thanks @ahsteele https://github.com/ahsteele . However, I see all
version numbers included within the table. Can you reproduce this? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/vsts-docs/issues/2186#issuecomment-432729488,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaKy4aoNAP7n8RrfpOLA3kMxuu9mnDeks5uoJULgaJpZM4X2cYk
.

@ahsteele I've created a work item to address this, thank you for bringing it to our attention.


Firefox?

Do you plan to have a Firefox version of this extension in the future?

Right now i don't have the time but as soon as possible yes 😄


(YU-RIS) Inserting translation or original Japanese text back breaks the game.

Hi! I'm using version 0.0.30 of VNTextPatch.
Translated a few lines of a yu-ris game and it completely brakes the game when inserting the translation back.
So I tried just extracting the text from the .ybn files and then inserting back the excel sheet without touching anything (leaving the original text intact) and the game brakes anyway.
When I say it breaks the game I mean it starts behaving weirdly by showing the same few lines over and over and even skipping some events. Tried messing around with the .config linewidths but it was no use.
Original_ybn_files.zip

Re-extracting the patched files seems to work at least. Please let me know which game this is for so I can test.

Re-extracting the patched files seems to work at least. Please let me know which game this is for so I can test.

https://www.dlsite.com/maniax/work/=/product_id/RJ197770.html
You can start the game, but you will inmediately see the glitches after the first text is shown.

Fixed.


umlDiagrams.js - include theme as setting

diagram.drawSVG has theme hardcoded to simple.
Could it grab it from the settings so I can use hand theme? (Assuming theme switching works as-is...)
Cheers for en excellent piece of work!

Closing this. Support for UML diagrams will be available soon in the v5 (https://stackedit.io/app).


Downsides to using AsyncLocalStorage within nextjs?

Hi,
Apologies if this is not the place for this question.
After seeing next.js use AsyncLocalStorage I was wondering if it's a bad idea to implement something similar for your own custom data? Are there any known downsides to this that you know of?
It seem great for sharing pieces of data that you know you will always need all around your application.

Hello @dbrxnds! No worries, happy to have the discussion here. I am not an expert, but I ran some benchmark scripts on two different routes, one with AsyncLocalStorage enabled and one without, a snapshot of the results for a simple route can be found here.
Short answer: there looks to be a slight performance hit from testing, but it looks to be very negligible for a small benchmark I have ran
I would recommend copying and adapting the benchmark script on your routes to see what the impact of AsyncLocalStorage is for your application, compared to alternate approaches (e.g like drilling down arguments).
Also I am working on a new library for making it easier to apply async local storage to any function. Maybe it could be helpful for you! Demo here.

Hi @rexfordessilfie, I appreciate the response! I figured there would be some performance hit, but I imagine it could be worth it compared to having to pass the parameters on and on. We are still on next pages dir, but would love to try it out.


PyMongo: skip and limit are ignored by __getitem__

The limit and skip parameter of the Mongo.find_files() method are ignored because __getitem__ ignores them, see http://api.mongodb.com/python/current/api/pymongo/cursor.html#pymongo.cursor.Cursor.getitem
As the start parameter has been implemented as a list slice, it is already supported. However, the limit parameter will be always ignored.
The fix could be for row in result[start : start + end]:...

Works for me, though we should test if this introduces slowness when on page 1000 :smile:
Not sure there is really a good workaround for high skip values, but maybe they won't happen very often and we can ignore it.

I don't see a issue with high skip values since the lists are accessed by index. So, it isn't slower to access l[10000] than l[0], right?

it's slower because the list doesn't exist until an item is asked for, so it actually has to go back and ask the DB for each item as it iterates/slices.

Ah! Thanks, I didn't know that :)


#0: Smaller crt0 and better gp-relative addressing

In moving towards ExecuteInPlace kernel support, this is a small tweak to startup code and linker scripts.

Initialize GP using absolute, rather than pc-relative, addressing (The gp value is fixed, the pc values are not)

Allow relaxation on the following initializations, as gp has been initialized. This means that the __ldm_bss_start and __ldm_bss_end computations become a simple addition from gp.

There's a problem during relaxation to do with potential realignment. This means the linker cannot relax a gp-relative address of gp - 0x800, but has to add 4 bytes of fudge factor. It seems hard to get that optimal, and thus the linker script changes to initialize __global_pointer$ to 0x7fc above DATA_REGION.  That allows the above relaxation. It's no loss in practice as the DATA_REGION is usually (always?) much smaller than 4K.

In summary, startup code goes from:
00000760 <_start>:
 760:   ffb00197                auipc   gp, 0xffb00
 764:   0a018193                addi    gp, gp, 160 # ffb00800 <__stack_top+0xfffff800>
 768:   ffb01117                auipc   sp, 0xffb01
 76c:   89810113                addi    sp, sp, -1896 # ffb01000 <__stack_top+0x0>
 770:   ffb00517                auipc   a0, 0xffb00
 774:   9f050513                addi    a0, a0, -1552 # ffb00160 <__stack_top+0xfffff160>
 778:   ffb00597                auipc   a1, 0xffb00
 77c:   f4458593                addi    a1, a1, -188 # ffb006bc <__stack_top+0xfffff6bc>
 780:   00000097                auipc   ra, 0x0
 784:   7f0080e7                jalr    2032(ra) # f70 <wzerorange>
 788:   ffb00917                auipc   s2, 0xffb00
 78c:   87890913                addi    s2, s2, -1928 # ffb00000 <__stack_top+0xfffff000>
 790:   ffb00997                auipc   s3, 0xffb00
 794:   87098993                addi    s3, s3, -1936 # ffb00000 <__stack_top+0xfffff000>
 798:   0100006f                j       7a8 <.L2^B1>
 ...

to:
00000760 <_start>:
 760:   ffb001b7                lui     gp, 0xffb00
 764:   7fc18193                addi    gp, gp, 2044 # ffb007fc <__stack_top+0xfffff7fc>
 768:   ffb01117                auipc   sp, 0xffb01
 76c:   89810113                addi    sp, sp, -1896 # ffb01000 <__stack_top+0x0>
 770:   96418513                addi    a0, gp, -1692 # ffb00160 <my_y>
 774:   ec018593                addi    a1, gp, -320 # ffb006bc <__ldm_bss_end>
 778:   7e8000ef                jal     ra, f60 <wzerorange>
 77c:   80418913                addi    s2, gp, -2044 # ffb00000 <__ldm_start>
 780:   80418993                addi    s3, gp, -2044 # ffb00000 <__ldm_start>
 784:   0100006f                j       794 <.L2^B1>
 ...

Ticket
None created, noticed when working on XIP solutions.
Problem description
Startup code larger than necessary.
What's changed

Allow post-gp initialization relaxation
Adjust gp value to account for alignment factor.

Checklist

[YES] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

Experimentation shows that 0x7fc was still too optimistic, with 0x7f0 all the kernels I tried correctly used gp-rel addressing for that start of DATA_REGION.
I also discovered another __global_pointer$ initializstion (ncrisc_resume).


Menu: Long mouse press does not activate

I've not tried this on WSL/Linux yet; so Windows Terminal only for now...

Run UI Catalog
Press and hold the left mouse button on the File menu

What happens:

Menu does not activate

Expected:

Menu activates

If you "quick click" it works fine.

Closing. This will be addressed in #2975


[Test Case Failure]: FAILED tests/embeddings/TfidfEmbedding_test.py::test_infer_vector

Test Case
FAILED tests/embeddings/TfidfEmbedding_test.py::test_infer_vector
Root Cause
FAILED tests/embeddings/TfidfEmbedding_test.py::test_infer_vector - TypeError: TfidfEmbedding.transform() missing 1 required positional argument: 'documents'
Potential Solutions
Fist
check standard/embeddings/concrete/TfidfEmbedding's interface.
Then
check TfidfEmbedding_test.py::test_infer_vector's test case.
Finally,

update the test case to use keyword argument.
update TfidfEmbedding to use a keyword argument.

Additional Context (optional)
No response
Type of Test Case
Unit

The PR linked above fixes  the  missing argument error by changing  the infer_vector to use the fit_transform instead of transform method


Update Turkish.md

Co-authored-by: Kral001<EMAIL_ADDRESS>Co-authored-by: @kriptodostu<EMAIL_ADDRESS>

...


Document compatible apps

Being standards-complaint, todo is compatible with lots of other apps (I hope!). I'd like to document and mention them, so users can know ahead of time if it's useful for them (mostly for nice PR really).
Currently, I know we're compatible with the iOS reminders app, and that's really the end of my list. Fastmail's calendar doesn't have reminders. :(

I would like to work on this. Could you tell me where to start?

@savitha97 For this task there's nothing to code. You'd have to find out which devices synchronize task lists using CalDAV (OpenTasks for Android and iOS reminders for example) and put them into a new rst file here

Am I actually required to run the apps and check or are online sources sufficient?

@savitha97 Doesn't matter tbh, though for those cases we should mention that we didn't try it.
OpenTasks and iOS does work though, I tried both.

I assume you're here because of rgsoc?

Yes.

TBH, this isn't a very good RGSoC issue, and my hope is that it's gradually improved over time.
That said, you're still free to work on it if you like.

@hobarrera  I would like to work on this at least to get hang of the workflow even if it may not be a very good RGSoc issue. Also, issues tagged with RGSoC seem a bit daunting as I have only begun understanding the repository.
Are there any set of additional requirements (apart from the tools and languages) to apply for this organisation in RGSoC'17?

Yes, sorry, that wasn't very clear (I think I never wrote this anywhere 😅 ): Issues tagged RGSoC are the ones you can mention in your application you'd be working on during the SoC (since you need to mention a specific issue, IIRC). I don't expect them to be picked up first, since they're not-that-simple.

There's a small checklist to keep in mind when submitting patches.
We recommend you create a virtualenv and run pip install -e . to develop on.
I recommend configuring your IDE/editor to run flake8 to check for style compliance.
Some understanding of OOP is required.

But the main thing, as you said, are the tools and languages.
Also, thanks for your interest in todoman.

@hobarrera Thanks.
Regarding this issue, is it alright if I create a new rst file say, compatible_apps.rst with a table containing the following columns

Application Name
Platform/OS
Tested (Y/N)
Additional Notes

Yup. Basically that would do. We should also mark those that are not compatible so other know not to bother testing. :)


general questions

@mdboom Two questions that came up while testing this with some real data.

I had a file written with a previous version of pyasdf and I can't read it with the latest version. I can write it and read it back correctly. I understand this is still in development but I'm wondering if there's a way to handle this in the future. I am not suggesting "Once ASDF always ASDF" but I suspect we'll have to handle this in some way in the future so I'm raising it for consideration. One thing that can be done now is perhaps write out the version of Pyasdf that created the file.

The second question is about performance. I have 3 files: "dist.asdf" has a compound model consisting of a few polynomials, "foc2sky.asdf" is the typical WCS transformation consisting of linear transformation, tan deprojection and sky rotation, and "image.asdf" is the above two combined into one file. Here's the timing I get from reading them:

timeit f=AsdfFile.read('dist.asdf')
1 loops, best of 3: 422 ms per loop

timeit f=AsdfFile.read('foc2sky.asdf')
10 loops, best of 3: 54.9 ms per loop

timeit f=AsdfFile.read('image.asdf')
1 loops, best of 3: 8.99 s per loop

Why the big difference?

One thing that can be done now is perhaps write out the version of Pyasdf that created the file.

Yes -- the size of the block header recently changed to support compression.  Once we have a first stable numbered release of ASDF, then all versions of pyasdf going forward will support all versions of ASDF, but right now, I'm not dealing with such complications.  The ASDF version number is at the top of every ASDF file, and each tag within an ASDF file is individually versioned, so this won't be difficult going forward.  One of the major drawbacks of FITS is that it has never had a version number.

Why the big difference?

I suspect the difference is the inclusion of arrays in dist.asdf, but I can't really say.  Can you share the files with me?

On the performance issues.  There was one obvious bug in pyasdf that was causing runtime to increase exponentially with the number of items in the tree.  That should be fixed by #92.
After doing that, the breakdown on the image.asdf example is essentially:

25% YAML parsing (in pyyaml)
25% JSON schema validation (about 25% of which is in pyasdf, the reset in jsonschema)
50% Construction of models

There may be some low-hanging fruit for optimization in models.  And there's probably some extra in pyasdf, but not as much.

This sounds great. Thanks.

I'm making a little bit of progress on the construction of models.  I just eliminated some overhead in creation of model classes, which happens every time you build a compound model.  Will do better still once it's possible to convert an expression tree directly to a model class without making intermediate classes.

I'm going to close this because I think I've got all of the low-hanging performance fruit in pyasdf here.


Updated Dependencies (Latest as of 6/3/2017)

Signed-off-by: CDAGaming<EMAIL_ADDRESS>Missed An Update in both Yarn in Package.json
Verify is also currently failing with this error:
Chrome 58.0.3029 (Windows 10 0.0.0) [core] init a popper near the right side of a custom container and make sure it stays between boundaries FAILED         Expected 742 to be 741.             at Object.onUpdate (E:/Forked%20Repos/popper.js/tests/functional/core.js:3482:55)             at Popper.update (E:/Forked%20Repos/popper.js/tests/functional/core.js:895:18)             at Popper.update$$1 (E:/Forked%20Repos/popper.js/tests/functional/core.js:2197:21)             at MutationObserver.<anonymous> (E:/Forked%20Repos/popper.js/tests/functional/core.js:41:5)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hm, Well it 'was' failing on latest on my  enviroment, no idea why 🤷♂


helpful error added to nodebuilder copyfiles

Added check to see that copyFiles options on bundle is array and return a helpful error message specifying the expected type and given type

Thanks @myufa! We are planning to put in validation across all input props very soon. I will merge this in with the rest of the changes.
https://github.com/serverless-stack/serverless-stack/issues/486


Overhaul Codebase to Avoid Static App.CurrentInstance

This PR is the culmination of lots of work I put into improving the app's codebase by removing/replacing our use of static App.CurrentInstance. This makes certain controls inside the project more modular as they no longer have inside knowledge of the current selected app instance. While this is a large step forward, this PR currently exists for review purposes and has no guarantee of being merged. Please test as much of the app's functionality as possible to find edge cases, because things may not be what they seem with these changes alone.
What I'm aware of:

FIXED: Broken workaround for ModernNavigationToolbar and StatusBarControl: Functionality on these controls is broken until we can implement the Commands properly.
FIXED: Displayed path briefly flickers an incorrect value: This only seems to happen when navigating back/forward
OK: Opening or closing many tabs at once will lead to an unhandled exception: We need to figure our a way to throttle tab creation/removal to be one at a time.
FIXED: Opening the properties dialog will crash the app

Fixes #16.
I will also look forward to hearing your feedback on the more technical aspects of this codebase change. If something seems out of place, we'd ideally want to document/correct it before this PR is merged.

Noticed one issue:

if you minimize and than restore the app anything that invokes the fulltrust process will crash the app with a System.ObjectDisposedException on AppServiceConnection.SendMessageAsync
Before the AppServiceConnection was recreated in the OnLeavingBackground when restoring the app

@gave92 Thanks for pointing this out. I noticed this also, and assumed that I fixed it by registering the OnLeavingBackground to an event handler inside ItemViewModel.cs. Maybe we should check if the AppService is available a better way?

@duke7553 I think the only issue is that you added this check if (this.Connection == null) which is only true the first time.
I think somewhere we forgot to put Connection = null when the connection is being closed

@gave92 I added that check because the AppServiceConnection would occasionally display an exception that the Connection.OpenAsync() was executed at the wrong time. I assume that was because we tried to initialize the connection when one already exists.

:eyes:

Wooooo!!!! :confetti_ball: :tada:


feat(portal): Internet resources

They will be sent in the API for connlib 1.3 and above.
I think in future we can make a whole menu section called "Internet Security" which will be a specialized UI for the new resource type (and now show it in Resources list) to improve the user experience around it.
Closes #5852

I think this is essentially ready to go, just waiting on hiding the control preventing users to disable the resource so we can approach it more deliberately later.

@AndrewDryga Pushed a small fix for tests and merging to start testing with live Clients.


Support additional notebook/sourceview windows

It would be a nice feature to support additional notebook/sourceview windows, which would make the work with multiple screens more comfortable.
I made a little effort already and if you want to I would finish the implementation.

At first thought, it might be somewhat difficult to do this right, but it might be that supporting several notebooks is a good idea. The major changes in window.cc and its menu item handlers would be to receive the active notebook depending on which source view that was last focused. If you make it work, we are of course willing to accept such a pull request:)

I will give it a try ;)


Updated dependencies and fixed build

Codecov Report

Merging #167 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #167   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files         123    123
  Lines        2763   2762    -1
  Branches      599    599
=====================================
- Hits         2763   2762    -1

Impacted Files
Coverage Δ

src/components/chosen/ChosenSelect.tsx
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b59ec8...aadabae. Read the comment docs.


aws profile option

Thanks for awesome project that I expected.
I suggest that there should be a way to setup specific profile data. (profile is defined in ~/.aws/config)
For example:
npm run config <accountId> <bucketName> [region] [profileName]

I set the profile before by: export AWS_DEFALT_PROFILE= in bash.
So to do it with the config option add aws_profile to the config hash (default name: default)
Then add --profile=$aws_profile to all aws-commands.

The commands provided in the example can be used as a base for you to modify however you choose. For now we want to keep it as simple as possible, and expect you will modify to suit your needs (as @egut mentions).

@egut @brettstack thanks for answer


build: Update shared lint config to enable enforcement

Also removes package-local overrides, which are no longer necessary

Waiting for the next release to be cut before merging.

nit on the pr title: maybe api-extractor instead of lint? Not sure that's better or more accurate.


Failed to import cdt on a machine without GPU.

I am using Windows 7 and I don't have a GPU.
I create a fresh conda environment as follows.
conda create --prefix venv python=3.7
conda activate ./venv
# Note that I don't have a GPU. https://pytorch.org/get-started/locally/
conda install pytorch torchvision cpuonly -c pytorch
conda install pip
pip install cdt

Packages:

pytorch: 1.2.0
torchversion: 0.4.0
cdt: 0.5.8
...

Executing import cdt failed.

The following lines caused the problem. https://github.com/Diviyan-Kalainathan/CausalDiscoveryToolbox/blob/6df55f4ec0800a377cb4688b7eaedb2b1f75f3fe/cdt/utils/Settings.py#L161-L163
My workaround is executing os.environ["CUDA_VISIBLE_DEVICES"]="[]" before executing import cdt.

Thanks for the feedback ; this must be an incompatibility issue between GPUtils and Windows, I'll try to add another safeguard, to avoid workarounds :)

It should be done; Please try to update your package and check if the error is still there !

It works now! Thank you so much! Your package is awesome.


Where to run command "make bin/ssl/q11"?

 I can not find the bin folder and file q11 after creating a dataset and transfering it when I want to run a query. Where should I run the command "make bin/ssb/q11"?

Well, I find to make in the first level of crystal and the folder crystal is created. However, there is no any file in the folder bin/ssb while I have repeated all steps after running a make in the first level.

First, Before compiling you should download the cub repo by.
make setup

Then
make make bin/ssb/q11

Oh! It seems to work.


glove.xB.xd.txt

Hello, First I would thank you for ur great job, now I cannot find the glove.xB.xd.txt file,could you tell me where I can get it or in which way I can generate it?

Please use the new version which doesn't require glove.xxx.


Cloudbreak-deployer GCP image error

I am creating a GCP Cloudbreak-deployer n1-standard-2 instance using following image url gs://sequenceiqimage/cloudbreak-deployer-161-2016-11-07.tar.gz. Using the steps given in Cloudbreak GCP page
The instance is not booting properly.
Serial port output shows :
SeaBIOS (version 1.8.2-20160912_142702-google)
Total RAM Size = 0x00000001e0000000 = 7680 MiB
CPUs found: 2     Max CPUs supported: 2
found virtio-scsi at 0:3
virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=62914560 = 30720 MiB
drive 0x000f4730: PCHS=0/0/0 translation=lba LCHS=1024/255/63 s=62914560
Booting from Hard Disk 0...

Hi @varun-tdt,
First of all sorry for the late answer. Has you tried any newer image to run deployer? We have a newer image called cloudbreak-deployer-162-2017-01-17.tar.gz. Could you please make a try with it?

I tried cloudbreak-deployer-160-2016-11-07.tar.gz, cloudbreak-deployer-161-2016-11-07.tar.gz, cloudbreak-deployer-162-2017-01-17.tar.gz. Please reopen the issue if you have still problems.


In IntelliJ 2020.2 Experimental features checkbox is greyed out

I was using EnvFile experimental features when running tests with Gradle Test Runner, and just like the description says, it broke at anytime :) I know I need to just load the .env file in gradle and problem solved, but wanted to let you know.

How Do I Load .env in gradle?

@liudongcxw in a task:
    doFirst() {
        def props = new Properties()
        file(".env").withInputStream { props.load(it) }
        props.each { String key, String val ->
            System.setProperty(key, val)
            environment key, val
        }
    }

Still relevant?


(PUP-9933) Make indirector settings threadsafe

This change makes it so that certain settings set at initialization are
threadsafe, so that puppetserver can spawn new threads safely.

I don't know what Got Hib is and I don't think it has anything to do with us.

Can you break out a ticket to investigate the threadsafety needs of the other instance variables and the class variable, Tony?

PUP-9995 has been created to track the additional work.

jenkins please test this on redhat7-64 with servertests

jenkins please test this on redhat7-64 with servertests

Are the test failures on this fixed by https://github.com/puppetlabs/puppetserver/pull/2165?

jenkins please test this on redhat7-64 with servertests

jenkins please test this on redhat7-64 with servertests

jenkins please test this on redhat7-64 with servertests

jenkins please test this on redhat7-64 with servertests


[FEATURE] Show no Events

Description

In the events section, there is a blank page showing whenever there are no events. Instead of this, some message or text should be shown whenever there are no events available

Screenshots
Example

This is just an example 👆
Additional information
No response

Thanks for notifying. I will work on this and resolve this issue ASAP.

This is a great idea 👍
We have just added something similar for the search page when there are no result, we could move that alert to a component and re-use that - so it is consistent https://github.com/EddieHubCommunity/LinkFree/blob/main/pages/search.js#L65

This is a great idea 👍
We have just added something similar for the search page when there are no result, we could move that alert to a component and re-use that - so it is consistent https://github.com/EddieHubCommunity/LinkFree/blob/main/pages/search.js#L65

Hey @eddiejaoude, can I try to work on this issue?

Sure I will assign it to you


discard_past for repeat jobs

As started in https://github.com/jmettraux/rufus-scheduler/issues/290 (every only)

When job resumes (from Job#resume or Scheduler#resume), and discard past == false, past occurrences should trigger. Careful.


getHTML() throw exception!!

Describe the bug
getHTML() throw exception!!
Hello,
When I use the writing character <p, listening for the change event and called getHTML () threw an exception!!
As far as I know, this is not the case with other characters, eg: <span>
Exception：

Version：

<div  resolution failed too.😺

@csd998aaa
I checked issue.
You can just type in plain text. Is there a reason why you use it like this?

@js87zz Hello, I want to write HTML syntax on the markdown editor. And call the getHTML()  in real time when the form is embedded. Because I put value onchange attach to the form.

@js87zz Hello, I also have one use case for this.
I want to count the character which will be displayed once it gets renderd on the page
for this I am calling the getHtml method when content is changed, and getting this exception if user enters the "<p" block.


Memory leak whenever a flex deployment dialog is displayed

For example, if the dialog is displayed three times, the console will report the following error message three times. This only happens when our flex deployment dialog is displayed.
[  38953]  ERROR - api.util.objectTree.ObjectTree - Memory leak detected: com.intellij.openapi.options.SettingsEditorGroup@229a36c0 of class class com.intellij.openapi.options.SettingsEditorGroup

This is an IntelliJ 15.0.3 issue. I tested opening the deploy dialog for other out of the box 3rd party clouds and consistently reproduce the memory leak. The problem is fixed in 2016.1 so there is no point reporting any issue to JetBrains.


Set guest memory

Previously we didn't set the guest memory but only memory request, since the guest memory property is optional and according to the documentation it "Defaults to the requested memory in the resources section if not specified.". However, if we don't set it and the migrated VM is based on a template, the value of this field would be retrieved from the template which may be different than what the VM had on the source and this could lead to issues, e.g., starting with insufficient memory for booting.

backport of #836


Broken CI due to libmamba solver

Describe the bug
The dockerfile build is failing due to libmamba not being released for the newest miniconda version:
To Reproduce
in a clean miniconda installation:
https://github.com/jacksund/simmate/blob/e5f11ca40a3b8b000ebee34ac784cb15e25f6148/envs/docker/web_server.dockerfile#L62-L65
Error
ERROR: failed to solve: executor failed running [/bin/sh -c conda update -n base conda &&     conda install -n base conda-libmamba-solver &&     conda config --set solver libmamba]: exit code: 1

Versions

Operating System: ubuntu
Python version: 3.11
Simmate version: 0.13.2

Additional details
This issue should fix itself once the new libmamba is released

this issue is resolved now that the libmamba package has been updated


getSongPosition()

Describe your problem here.
How can I make getSongPosition() return the song position by minutes and seconds?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

I thought that getSongPosition() did what timeTxt did.


Tag missing for 0.1.0 release

Hi! While scraping releases from crates.io I've found this repository to be missing the tag for the v0.1.0 release. Could that be added please? The exact commit id can be found from https://docs.rs/crate/num-conv/0.1.0/source/.cargo_vcs_info.json

Admittedly finding the commit wouldn't be hard, as there's only a single commit in the repository :sweat_smile: I've tagged it, though. Thanks!


how to use is wrong!

you did say run injector then run game but injector does not work if game is not open already

injector does not work it does not inject nothing

You are supposed to:

Run Steam as an admin
Inject the bypass into Steam.exe
Run your game of choice
That's pretty much all you have to do.


Suggestion Backlog Slog, 1/2/2017

#13002 Add flag to enforce readonly in assignability relations
#13321 Allow ? in variable declarations
#13320 Detect invocations of functions which use uninitialized variables
#13235 Verify correctness of function overload signatures
#13225 Verify function overload correctness of return values
#13219 Allow functions to specify thrown exception types; infer catch variables from that
#13126 Allow empty tuple types
#13115 Multiple out files
#13095 Apply 'first type alias' rule locally in modules to simplify quickinfo
#13087 Infer base class type parameters
#13049 Disallow Array#join when T isn't string or number
#13043 Fix type hole around optional / ignored parameters
#13042 Allow enums as index signature key types again
#12978 Allow the expression (0, eval)
#12944 Narrow x to ... & Function in typeof x === 'function'-guarded blocks
#12892 Narrow k to keyof typeof obj in k in obj-guarded blocks
#12693 Invert enum emit to improve minification when value is constant
#12673 Disallow forward references in class member initialization
#11281 Disallow trivially unreachable overloads

#13002 Add flag to enforce readonly in assignability relations

Actually tracking at #13347
Wasn't added at first due to general flag avoidance
Is it simple to implement?

Somewhat

Breaks virtually every .d.ts file in the world
Would we allow mutable, or make it the default?

Default is mutable

Does this fork the world?

... no?

Are there implications for literals?

No?

Probably as bad as strictNullChecks in terms of breakage but much less value gained
Revisit / AMF

#13321 Allow ? in variable declarations

Considered earlier
Potential for ES syntax conflict
No strong opinions either way
AMF

#13320 Detect invocations of functions which use uninitialized variables

Would have to follow all call graphs to correctly detect this in all cases
Too Complex

#13235 Verify correctness of function overload signatures

Very expensive to calculate this (approximately worse than n^2)
Having more than one parameter complicates this immensely
Not clear anyone is messing this up?
Too Complex

#13225 Verify function overload correctness of return values

Naive check isn't really good enough (union types should satisfy all constituent types' return values)
random check in comment applies against this argument instead of for it?
Too Complex

#13219 Allow functions to specify thrown exception types; infer catch variables from that

These exception types are never guaranteed
Too low value

#13126 Allow empty tuple types

What's the index signature type of []?

never

Have to make sure an empty array is assignable to it
:+1: Accepting PRs

#13115 Multiple out files

We would probably use this ourselves if it existed
But we recommend people do modules and bundling these days
See if other people want this since we hope --out is dying
AMF

#13095 Apply 'first type alias' rule locally in modules to simplify quickinfo

Works if the type alias is exported... kind of a bug
Wait for rewrite of the relevant code
Might be bugfixable

#13087 Infer base class type parameters

Implications for Salsa

Salsa should probably instantiate base type parameters with any

How would we even instantiate A?
Generic JS classes should have T inferable from their constructors...
What about giving B the same type parameters as A?
What about inferring the type arguments from the super call?
What about transposing the type arguments down?

Assuming B had no type arguments, of course

Revisit for Salsa

A derived class with no type arguments and no ctor assumes its generic base class's type arguments
Otherwise we infer from the super call

#13049 Disallow Array#join when T isn't string or number

:-1: we allow implicit string concat everywhere else

What does AMF mean in this context?

Awaiting More Feedback


Hard to work with crates that need versions kept in-sync

Problem
Version 1.16.0 of sequoia-openpgp depends on win-crypto-ng (version 0.4 or 0.5), and ed25519-dalek (version 1).
ed25519-dalek depends on version 0.5 of rand_core and 0.7 of rand.
Version 0.5.1 of win-crypto-ng depends on rand_core 0.5 or 0.6.  (0.5.0 depended only on version 0.5 of rand_core.)
We call  ed25519_dalek::Keypair::generate.  It takes a parameter, which has to implement rand::CryptoRng and rand::RngCore.  These traits are taken from rand 0.7, which just reexports the symbols from rand_core 0.5.
We provide ed25519_dalek::Keypair::generate a win_crypto_ng::RandomNumberGenerator.  RandomNumberGenerator, which implements rand_core::CryptoRng and rand_core::RngCore.  When it uses rand_core 0.6, these traits of course come from rand_core 0.6.
As reported in this issue, cargo pulls in rand_core 0.5 for ed25519, and rand_core 0.6 for win-crypto-ng.
This results in errors like:
error[E0277]: the trait bound `RandomNumberGenerator: rand_core::CryptoRng` is not satisfied
   --> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sequoia-openpgp-1.16.0\src\crypto\backend\cng\asymmetric.rs:917:68
    |
917 |                 let Keypair { public, secret } = Keypair::generate(&mut rng);
    |                                                  ----------------- ^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `RandomNumberGenerator`
    |                                                  |
    |                                                  required by a bound introduced by this call
    |

Is there a way to express to cargo that ed25519-dalek and win-crypto-ng need to use the same version of rand_core?
Do you have any other recommendations on how we / our users should work around this issue?
Thanks!
Steps
Build sequoia-openpgp on Windows with the Windows CNG crypto backend:
$ git clone https://gitlab.com/sequoia-pgp/sequoia.git
$ cd sequoia
$ git checkout wiktor/test-1.16
# commit 20cb6b32
$ cargo run --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression --example supported-algorithms

The results can be seen in this CI job.
Possible Solution(s)
No response
Notes
No response
Version
https://gitlab.com/sequoia-pgp/sequoia/-/jobs/5155713023#L40

$ cargo --version --verbose
cargo 1.67.0 (8ecd4f20a 2023-01-10)
release: 1.67.0
commit-hash: 8ecd4f20a9efb626975ac18a016d480dc7183d9b
commit-date: 2023-01-10
host: x86_64-pc-windows-msvc
libgit2: 1.5.0 (sys:0.16.0 vendored)
libcurl: 7.86.0-DEV (sys:0.4.59+curl-7.86.0 vendored ssl:Schannel)
os: Windows 10.0.17763 (Windows Server 2019 Datacenter) [64-bit]

FYI I've renamed this issue in an attempt to capture the problem, rather than a solution, especially since I at least feel that that solution doesn't quite work for your problem.
Normally asserting that a single package exists is because of symbols (sys packages) or because of some globals.
cargo deny is a third-party subcommand that can lint for duplicate packages with an allowlist (iirc).
This is more about keeping packages in-sync with each other which is more of #44663 though we need to re-think the automatically keeping packages in-sync part because we found that to have a lot of problems and is what has stalled that from being implemented for years when there would be benefits from the other parts of that RFC.

Ah, the part that I missed was win-crypto-ng's Cargo.toml
rand_core = { version = ">= 0.5, <0.7", optional = true }

I think we have an issue about doing a better job of resolving these ranges but not finding it atm.


Added shiftleft scan

Thanks for this repo!
This PR adds ShiftLeft Scan, a free opensource SAST tool. Scan use gosec and staticcheck internally to check go programs. Scan is able to detect 28 issues in total with this repo.
https://github.com/prabhu/not-going-anywhere/runs/789616568?check_suite_focus=true#step:4:30
Will you be able to report on the count and category of vulnerabilities

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @prabhu,
Thank you for this PR, ShiftLeft looks really easy to integrate! However, this is a purposefully-vulnerable application, and part of the point is to have students and folks run Go tooling themselves, like what gosec &c bring to the table.
For example, some of the code is poorly formatted, so as to show students the results with go fmt for beginner's classes, and we walk students through running gosec, go vet, staticcheck and others as well.
Again, this is extremely interesting to see how easily ShiftLeft is integrated, but outside the scope of this current repo.
Kind regards,
~ loji


Docs.MS Release Updates for azure-storage-internal-avro

Update docs metadata and targeting for release of azure-storage-internal-avro

Docs Build status updates of commit 0be4d0f:
:clock10: Pending: waiting for processors (61 builds ahead of you)
:warning: Docs Build is busy, currently there are 61 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 0be4d0f:
:clock10: Full build: the average full build time is 257 min(s) 30 sec(s), this is based on the last 881 build(s) for this repository.

Docs Build status updates of commit 0be4d0f:
:warning: Validation status: warnings

File
Status
Preview URL
Details

legacy/docs-ref-autogen/overview/EventHubs/Client.yml
:warning:Warning
View (azure-java-legacy)
Details

docs-ref-services/storage-internal-avro-readme-pre.md
:white_check_mark:Succeeded
View (azure-java-stable) View (azure-java-preview) View (azure-java-legacy)

package.json
:white_check_mark:Succeeded

legacy/docs-ref-autogen/overview/EventHubs/Client.yml

[Warning-DuplicateUids] Uid(azure.java.sdk.landingpage.services.eventhub.Client) has already been defined in docs-ref-services/messaging-eventhubs-readme.md.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Fix typo in OpenXmlElementContext name in comments

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: HotspurHN sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Tests for GET all table entries still in code

Tests for GET all table entries are commented out but still in tester-basicserver.cpp. Do we keep them or take them out?

Migrated from GitLab.


Add Paste without Formatting extension

Description
Paste text from the clipboard without formatting.
Screencast
https://user-images.githubusercontent.com/36128970/159659152-4b65cc74-cd62-4ed8-bbbe-1db74c2f3859.mp4
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed in the metadata folder

Wondering how is this different from the default ⌥ ⌘ ⇪ V default shortcut of macOS?

I didn't know before that I could use this ⌥ ⌘ ⇪ V to paste unformatted text quickly 😅, they don't make a difference

Wondering how is this different from the default ⌥ ⌘ ⇪ V shortcut of macOS?

@FezVrasta hi, Thanks for asking the question!
Sorry I didn't just do an exhaustive test, I found that the ⌥ ⌘ ⇪ V shortcut doesn't clear formatting when pasting text in word. I still haven't figured out what the ⌥ ⌘ ⇪ V shortcut does, it sometimes helps me clear text formatting in some applications, sometimes not.
I made this extension to automatically clear formatting when pasting text, for example, if you copy a bolded text in Word, it automatically clears the bold when you paste it.

Wondering how is this different from the default ⌥ ⌘ ⇪ V shortcut of macOS?

After testing, the default system shortcut only works in some applications, for example, in word it can only clear some formatting (you can clear strikethrough, but not underline, bold and italic).
This extension is used to clear all formatting: background color, bold, strikethrough, font color, etc.

Can confirm ⌥ ⌘ ⇪ V  does not work in Microsoft Word.
Also it's hit or miss in some scenarios like:
Wordpress editors and themes(Elementor)
Joomla stock WYSIG editor.
Wix text editor.
Tested on multiple browsers on latest Mac OS.


Environment Id is not static (it changes) when installing Python into an empty Conda environment

Create a conda enviornment without Python and the id is the sys prefix of the conda enviornment
Next install Python into this conda environment
Now, reload VS Code, and the id for this environment is no longer the same.

@karrtikr I'd expect the Id to be the same everytime and not change.
Can we have the env id to be always sysprefix or the like, somethign that will never change for the same environment.

This is crucial for Jupyter extension as we create Kernels (somethign you see the Kernel quick pick) & we have an Id associated with each controller.
VS Code remembers this id.

Hence assume you create a conda env without Python
Now select this kernel
& then later you instlal Python into this
Now reload VS code,
The controller no longer exists as the Id has now changed, hence Jupyter extnesion is no longer able to preserve the users selection

@rebornix /cc

Installing Python into the environment is considered the same as deleting the environment and creating an entirely new one (unrelated to previous), so this simplification is intentional.
Regarding controllers, we send a change event saying the environment is deleted followed by which we send a new event about a new env which is discovered. If you use the event to delete the VSCode id you should be good.

Currently installing Python into the environment is considered the same as deleting the environment and creating an entirely new one, so the ID doesn't change per se as it's a new environment.
The selection can still be maintained however, resolveEnvironment returns the same environment if you pass the path to environment folder or the path to the executable. So even if ID changes the same environment is returned.

Can we have the env id to be always sysprefix or the like

I'll see if we can simply do this now, due to historical reasons this wasn't possible earlier.

Can we have the env id to be always sysprefix or the like

Let me know if testing above works, otherwise I'll see if we can simply do this. Due to historical reasons this wasn't possible earlier.

Discussed offline, marking this as something that can be covered in debt week.

We discussed offline that Jupyter was passing id to resolveEnvironment, which I think was the reason why Jupyter is not able to maintain the selection here: #20176 (comment). https://github.com/microsoft/vscode-jupyter/pull/11949 should fix it but this issue is still a nice to have if the ID doesn't change.

@karrtikr can we change this to a feature request or bug, I do not think this is a debt item, i know we discussed once before, let me try to explain why this isa bug

The conda env is still the same, even though internally you might thiink its easier to treat this as a new environrment, its still the exact same conda env, hence changing the id doesn't feel right
Here is the workflow that completely breaks Jupyter

In Jupyter the kernels have Python environments associated with each other hence theres a 1-1 relationship and each kernel needs and Id that can be given to VS Code and that ID cannot ever change
If an ID changes then VS Code no longer knows about the change
No assume a user selects a conda env that does not have Python inside of that
VS Code now remembers the fact that a specific kernel is selected for a notebook and its Id (in this case the Id of the kernel is tied with the Id of the python env)
Next the user installs python into that env, now the old conda env is deleted (at least from the API perspective thats what happens) and a new conda env is created with a whole new id
Now the kernel selection is lost from the users perspective and they need to select a kernel again
I.e. something the user selected is now lost
Henct the reason this is a bug

If Python extension were to use the same API internally, the Python extension too would run into this exact same issue. However I can see that the Python extension is genearting its own id and using the Python executable path as the Id and the executable doesn't exist. But assumed to exist. I.e. its kind of a work around.
The Jupyter extension too could work around this by generating a custom ID instead of the ID that Python provides, but that would be a work around for a bug in Python extension, hence the request for this to be treated as a bug and not a debt item.

Changing labels, I only marked it as debt so I can remember to cover it in some debt week.

However I can see that the Python extension is genearting its own id and using the Python executable path as the Id and the executable doesn't exist. But assumed to exist

Btw where is that?

I understand it's not ideal, I'm just wondering why is it critical for Jupyter when Python extension seems to work fine with it.

Python extension seems to work fine with it.

I've mentioned this here https://github.com/microsoft/vscode-python/issues/20176#issuecomment-1380692507
Python extension is not using the Id to uniquely identifiey Python environments. If the Python extension too used the same API internally you'd run into this issue.
From the code I san see that you use the Python executable path to identify Python environments. I.e. when user selects a Python env that is an empty conda env, then the python exucutable is used and stored. & subsequently python extension usees that to get the interpreter details and figgure out whether pytyhon is installed or not and then isntalls it
As mentioned earlier Python internally does not use the same ID, its using a work around and generating its own Id , and Jupyter too would add such a work around.

when user selects a Python env that is an empty conda env, then the python exucutable is used and stored.

Where is that? We use .pythonPath, which can be either environment path or the python executable.

Ahh my mistake, yes you are using the env path.
Its in src/client/interpreter/interpreterService.ts
This highlights my point, Python extension is not using the ID to uniquely identify Python environments, hence Python does not run into this issue (i.e. internally the same API is not used)

It is the same as ID, except for the case. I don't think Jupyter is using the API as I'm envisioning it, what're you passing to resolveEnvironment for environments without python, and what is the issue you're seeing?

I've created an env
and is is what I get from Python API
{"internal":{"path":"/Users/donjayamanne/miniconda3/envs/tes05","id":"/Users/donjayamanne/miniconda3/envs/tes05","executable":{"bitness":"Unknown","sysPrefix":""},"environment":{"type":"Conda","name":"tes05","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/tes05","scheme":"file"}},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/tes05"}

After installing Python then the output from Python API is different
 {"internal":{"path":"/Users/donjayamanne/miniconda3/envs/tes05/bin/python","id":"/Users/donjayamanne/miniconda3/envs/tes05/bin/python","executable":{"uri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/tes05/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Users/donjayamanne/miniconda3/envs/tes05"},"environment":{"type":"Conda","name":"tes05","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/tes05","scheme":"file"}},"version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 08:08:27) [Clang 14.0.6 ]"},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/tes05/bin/python"}

It is the same as ID, except for the case

As you can see the IDs are different.

Here are more logs
We pass in the environment for resolving
Before (fully resolved env)
{"internal":{"path":"/Users/donjayamanne/miniconda3/envs/tes06","id":"/Users/donjayamanne/miniconda3/envs/tes06","executable":{"bitness":"Unknown"},"environment":{"type":"Conda","name":"tes06","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/tes06","scheme":"file"}},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/tes06"}

Before (env returned in known property)
{"internal":{"path":"/Users/donjayamanne/miniconda3/envs/tes06","id":"/Users/donjayamanne/miniconda3/envs/tes06","executable":{"bitness":"Unknown"},"environment":{"type":"Conda","name":"tes06","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/tes06","scheme":"file"}},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/tes06"}

After (fully resolved env)
 {"internal":{"path":"/Users/donjayamanne/miniconda3/envs/tes06/bin/python","id":"/Users/donjayamanne/miniconda3/envs/tes06/bin/python","executable":{"uri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/tes06/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Users/donjayamanne/miniconda3/envs/tes06"},"environment":{"type":"Conda","name":"tes06","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/tes06","scheme":"file"}},"version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 08:08:27) [Clang 14.0.6 ]"},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/tes06/bin/python"}

After (env returned in known property)
{"internal":{"path":"/Users/donjayamanne/miniconda3/envs/tes06/bin/python","id":"/Users/donjayamanne/miniconda3/envs/tes06/bin/python","executable":{"uri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/tes06/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/Users/donjayamanne/miniconda3/envs/tes06"},"environment":{"type":"Conda","name":"tes06","folderUri":{"$mid":1,"path":"/Users/donjayamanne/miniconda3/envs/tes06","scheme":"file"}},"version":{"major":3,"minor":10,"micro":8,"release":{"level":"final","serial":0},"sysVersion":"3.10.8 (main, Nov 24 2022, 08:08:27) [Clang 14.0.6 ]"},"tools":["Conda"]},"id":"/Users/donjayamanne/miniconda3/envs/tes06/bin/python"}

It is the same as ID, except for the case. I don't think Jupyter is using the API as I'm envisioning it, what're you passing to resolveEnvironment for environments without python, and what is the issue you're seeing?

I'm confused here, I thought after our discussion you already acknowledged this was expected.
see here https://github.com/microsoft/vscode-python/issues/20176#issuecomment-1306732208

@DonJayamanne Can you verify this for Jupyter?


open orders

@xeroc
which api is to return the open order of myself, GrapheneExchange.returnOpenOrders()?is it open-source,seems i can not find it in this respository

issue solved


Add "SystemTemplateDir" to the Bios

All of the templates should load from a common place just like the tools.

All of the templates are loading from the SystemTemplateDir in the bios.


History error: "automatic withdrawal —403 Forbidden"

The following appears in the Notes column for some weeks for some users, along with status "failed,"
 automatic withdrawal —403 Forbidden,
You don't have the permission to access the requested resource. It is either read-protected or not readable by the server.
 Your request id is [redacted].
Is it possible that even though bank account deposits have been removed from the UI, they still exist in the database and the payday script?
Examples

https://gratipay.com/~luke.leighton/history/ (Week 161, then quits)
https://gratipay.com/~mix/history/ (Week 161, continues in PayPal)
https://gratipay.com/~sudoroom/history/ (Week 161, continues in PayPal)
https://gratipay.com/~catapultpgh/history/ (Week 161, continues in PayPal)
https://gratipay.com/~sudomesh/history/ (Week 161, continues in PayPal)

Notify

[ ] https://gratipay.freshdesk.com/helpdesk/tickets/2405

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24888050-history-error-automatic-withdrawal-403-forbidden?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

What I think happened was that on Payday 161, bank account payouts were still in the payday script and failed for everyone, then PayPal payouts were processed.  Because you didn't have a PayPal account, nothing was processed--but this is something I need to keep looking into, and there definitely needs to be a warning for users without an attached PayPal account.

What I think happened was that on Payday 161, bank account payouts were still in the payday script and failed for everyone

Bingo.
Given that, what's your suggested action item on this ticket, @mattbk?

I think it's solved, future work would be toward #3526.  That quote above was my notification to the support inquiry.

Cool, thanks.
!m @mattbk


Inline form

Hi all,
I'm quite new to Rails and maybe my there is already an answer for my question that i coudlnt find that easly. But here it comes:
I added the bootsy_area to my form but some reason its showing up like this

Any idea How i could fix this?
Also the color tab isn't working. maybe that has something to do with my own css or did anyone also experience  the same problem?

There's definitely something messy in your assets. It could be your JS or CSS. I'd advise you to read the Rails Guides for the Asset Pipeline: http://guides.rubyonrails.org/asset_pipeline.html
Also, if you're installing Bootstrap with a gem, make sure that you're following the exact installation instructions: https://github.com/twbs/bootstrap-sass#a-ruby-on-rails

Allright thats what i thought I fixed it by just adding the css from the github in a scss file.
But how do i get the text area bigger


Fixed Headers scrolling content?

Hi there, is there a way to fix the headers? I tried "hacking" the css thead to fixed, but that looks like crap and doesn't scroll left to right in my div, content scrolls, anyway to do this?
Thanks!

ditto

Sorry, for the extremely late reply. The objective of Columns was to rely on pagination instead of scrolling, because scrolling was so problematic.
This verison of Columns is no longer maintained.


No win animation

This is an extremely severe bug and should be fixed as soon as possible.

A very primitive win animation, based on this thing, is in. Unfortunately, it doesn't look remotely like Solitaire's.


Reflow does not fill page width

Reflow does not fill page width

although it is reproduced only in emulator


feat: Enable Rule CA1854

What does the pull request do?

Avoid multiple loopbak diction CA1854
What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Part of #8944

You can test this PR using the following package version. 11.0.999-cibuild0034414-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0034416-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0034449-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]