Instance gets stuck in "initializing" state even though hosts are reporting it as healthy

Currently in Rancher, instances with healthchecks are getting stuck in initializing state even though the hosts are reporting the instances as healthy.
Found from debugging: http://forums.rancher.com/t/understanding-container-service-failover-on-host-failure/431/29

Removed the "Blocker" flag. Tested a couple of use cases locally - tcp healthcheck for ubuntu image, and http check for nginx, healtcheck get updated just fine. Going to run more debugging on the setup where its happening, and will update the bug with findings.

Closing the bug as the issue on the user's side was caused by misconfigured request line in http request line of the healtcheck.


[BUILD] Add CMakePresets.json

Scope & Purpose
This PR adds CMakePresets which can be used to share settings for building ArangoDB between platforms and developers and make for a consistent build environment.
Example use
# cmake --list-presets
Available configure presets:

  "community"                       - Build ArangoDB Community Edition
  "enterprise"                      - Build ArangoDB Enterprise Edition
  "community-developer"             - Build ArangoDB Community Edition (Developer Build)
  "enterprise-developer"            - Build ArangoDB Enterprise Edition (Developer Build)
  "community-developer-tsan"        - Build ArangoDB Community Edition (TSAN Build)
  "enterprise-developer-tsan"       - Build ArangoDB Enterprise Edition (TSAN Build)
  "community-developer-asan-ubsan"  - Build ArangoDB Community Edition (ASAN and UBSAN Build)
  "enterprise-developer-asan-ubsan" - Build ArangoDB Enterprise Edition (ASAN and UBSAN Build)

# cmake --preset community-developer

...

# cmake --build --preset community-developer --parallel 4

...

# build/community-developer/bin/arangod --database.directory /tmp/foo
2022-08-08T13:34:31Z [1866168] INFO [e52b0] {general} ArangoDB 3.11.0-devel [linux] 64bit maintainer mode, using jemalloc, build heads/feature/cmake-presets-for-great-good-0-g8121a5cecf6, VPack 0.1.36, RocksDB 7.2.0, ICU 64.2, V8 7.9.317, OpenSSL 1.1.1q  5 Jul 2022

"aulsan" in that case probably better name, same as jenkins, address undefined leak (for example on apple clang leak not part of address)

@markuspf
Why was it merged with completely ignoring all my comments?

I also think for developers very useful flag:
-DBASE_LD_FLAGS="-fuse-ld=lld"


Not found page improvements

current: The HTTP status on page 404 is 200 instead of 404.

Updated Nuxt to 3.0.0-rc.1. Now that static site generation is possible, we need to rethink how error pages are generated. Placing error.vue under the src directory allows you to customize the error page, but the default layout does not apply.
https://v3.nuxtjs.org/guide/features/error-handling#rendering-an-error-page
I'll wait for more information on this issue.

close as it has been fixed in nuxt v3.0.0-rc.12.


Error update 0.0.56 sa

Describe the bug
I have South America version 0.0.46-1 installed.
Start the download of update 0.0.56, verifying the following sequence:
INFO: downloader:Download sa
...
INFO: downloader: ORTHOS DOWNLOADED
INFO: downloader: Will download https:// ... /y_sa_overlays.zip.00
INFO:downloader: OVERLYS DOWNLOADED
Setting extract dir to F:/X-Plane 12/Custom Scenery
INFO:downloader: ...sa update is available
...
INFO:downloader:ERROR: File is not a zip file with Zipfile C:\Users\JORGE.autoortho-data\downloads\z_sa_00.zip. Recommend retrying
INFO:downloader:Cleaning up parts for C:\Users\JORGE.autoortho-data\downloads\z_sa_00.zip
Errors detected!
I try again, repeating the error indication.
Please can someone help me on this.?
From already thank you very much.
(please complete the following information):

OS: Windows 11
XPlane Version: XP12
AutoOrtho Version 0.0.46-1
Filesystem type FIREFLY
Processor: INTEL

I have the same error #274

Please any help if possible?

Make sure you are running AutoOrtho versoin 4.4 or 5.0.x build


hdf5-threadsafe: 1.10.1 -> 1.10.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/hdf5-threadsafe/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5diff -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5diff --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5diff -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5diff --version’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5ls -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5ls --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5ls -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5ls --version’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5dump -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5dump --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5dump -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5dump --version’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5mkgrp -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5mkgrp --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5mkgrp -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5mkgrp --version’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5clear -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5clear --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5clear -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5clear --version’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5import -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5import -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5repack -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5repack --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5repack -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5repack --version’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5jam -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5jam --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5jam -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5unjam -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5unjam --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5unjam -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5copy -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5copy --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5copy -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5copy --version’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5format_convert -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5format_convert --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5format_convert -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5format_convert --version’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5stat -h’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5stat --help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5stat -V’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5stat --version’ and found version 1.10.2
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5perf_serial help’ got 0 exit code
ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5cc --help’ got 0 exit code
found 1.10.2 with grep in /nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2
directory tree listing: https://gist.github.com/aedb29e367d0b709b77bbdc794b96dd6

Success on x86_64-linux (full log)
Attempted: hdf5-threadsafe
Partial log (click to expand)
shrinking /nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5diff
shrinking /nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/lib/libhdf5.so.101.1.0
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/lib  /nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin
patching script interpreter paths in /nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2
/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/share/hdf5_examples/run-all-ex.sh: interpreter directive changed from " /bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/share/hdf5_examples/c/run-c-ex.sh: interpreter directive changed from " /bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5redeploy: interpreter directive changed from " /bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5cc: interpreter directive changed from " /bin/sh" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/sh"
checking for references to /tmp/nix-build-hdf5-1.10.2.drv-0 in /nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2...

Success on x86_64-darwin (full log)
Attempted: hdf5-threadsafe
Partial log (click to expand)
make[1]: Leaving directory '/private/tmp/nix-build-hdf5-1.10.2.drv-0/hdf5-1.10.2/examples'
post-installation fixup
strip is /nix/store/0fzpxnsanc02i4jsb1yhchjp4p62b2n3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/cxfd4r69askcd950ydkaw1z5r902na79-hdf5-1.10.2/lib  /nix/store/cxfd4r69askcd950ydkaw1z5r902na79-hdf5-1.10.2/bin
patching script interpreter paths in /nix/store/cxfd4r69askcd950ydkaw1z5r902na79-hdf5-1.10.2
/nix/store/cxfd4r69askcd950ydkaw1z5r902na79-hdf5-1.10.2/bin/h5cc: interpreter directive changed from " /bin/sh" to "/nix/store/x030a63qdilnv02pkivfjg44pdxsh5km-bash-4.4-p19/bin/sh"
/nix/store/cxfd4r69askcd950ydkaw1z5r902na79-hdf5-1.10.2/bin/h5redeploy: interpreter directive changed from " /bin/sh" to "/nix/store/x030a63qdilnv02pkivfjg44pdxsh5km-bash-4.4-p19/bin/sh"
/nix/store/cxfd4r69askcd950ydkaw1z5r902na79-hdf5-1.10.2/share/hdf5_examples/run-all-ex.sh: interpreter directive changed from " /bin/sh" to "/nix/store/x030a63qdilnv02pkivfjg44pdxsh5km-bash-4.4-p19/bin/sh"
/nix/store/cxfd4r69askcd950ydkaw1z5r902na79-hdf5-1.10.2/share/hdf5_examples/c/run-c-ex.sh: interpreter directive changed from " /bin/sh" to "/nix/store/x030a63qdilnv02pkivfjg44pdxsh5km-bash-4.4-p19/bin/sh"
/nix/store/cxfd4r69askcd950ydkaw1z5r902na79-hdf5-1.10.2

Success on aarch64-linux (full log)
Attempted: hdf5-threadsafe
Partial log (click to expand)
shrinking /nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2/lib/libhdf5.so.101.1.0
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2/lib  /nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2/bin
patching script interpreter paths in /nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2
/nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2/share/hdf5_examples/run-all-ex.sh: interpreter directive changed from " /bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2/share/hdf5_examples/c/run-c-ex.sh: interpreter directive changed from " /bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2/bin/h5redeploy: interpreter directive changed from " /bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
/nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2/bin/h5cc: interpreter directive changed from " /bin/sh" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2...
/nix/store/v0aapppq3pj6ln05sg4ncrfpf2c2i5r5-hdf5-1.10.2


Wasm: Question: conservative gc and heap_segment_allocated

In https://raw.githubusercontent.com/dotnet/corert/master/src/Native/gc/gc.cpp at line 17681 there is (this is too big a file for github to view normally, hence no permalink)
(printfs mine obviously)
        heap_segment* seg = find_segment (interior, FALSE);
        if (seg
#ifdef FEATURE_CONSERVATIVE_GC
            && (GCConfig::GetConservativeGC() || interior <= heap_segment_allocated(seg))
#endif
            )
        {
            // If interior falls within the first free object at the beginning of a generation,
            // we don't have brick entry for it, and we may incorrectly treat it as on large object heap.
            int align_const = get_alignment_constant (heap_segment_read_only_p (seg)
#ifdef FEATURE_CONSERVATIVE_GC
                                                       || (GCConfig::GetConservativeGC() && !heap_segment_uoh_p (seg))
#endif
                                                      );
#ifdef FEATURE_CONSERVATIVE_GC
            printf("conservative gc\n");
#endif
            if (interior >= heap_segment_allocated(seg))
            {
                printf("interior %08x seg %d heap_segment_allocated(seg) %08x\n", interior, seg, heap_segment_allocated(seg));
            }
            assert (interior < heap_segment_allocated (seg));

The first if condition has GCConfig::GetConservativeGC() || interior <= heap_segment_allocated(seg) so its possible to get inside with interior > heap_segment_allocated(seg) when GetConservativeGC()  is true .  A few lines later, there is the assert on interior < heap_segment_allocated (seg) which would fail in this scenario .  I'm hitting this assert, so if this assert looks correct for conservative GC then I've got something wrong somewhere else.  Can someone confirm this assert is valid for conservative GC?
Thanks.

&& (GCConfig::GetConservativeGC() || interior <= heap_segment_allocated(seg))

I think that the condition is missing !. It should be && (!GCConfig::GetConservativeGC() || interior <= heap_segment_allocated(seg))
@Maoni0 Do you agree?

I didn't get any notifications for this.... but I just answered on the PR.


[Service-bus] enabling browser tests for nightly

Enabling browser tests for nightly for service-bus

@Azure/azure-sdk-eng

/azp run azure-sdk-for-js - client

@KarishmaGhiya Can you provide some details as to what exactly are we changing in this PR and what problem is it solving?

@KarishmaGhiya Can you provide some details as to what exactly are we changing in this PR and what problem is it solving? AFAIK, we did have browser tests running in nightly CI, didn't we?

@ramya-rao-a I added more details in the description now. We had missed adding them while porting to the new yaml file structure. Let me know if you have more questions :)

@KarishmaGhiya If it is just the yaml changes, I would request to pull me out of the review. Daniel and Mike should be enough

Closing this PR as the yaml file has been updated to accomodate both browser and node tests :-)


Bump gestalt to 0.77.0

Deploy preview for gestalt ready!
Built with commit 6e28d4eb20acce1ca1f7386cb01b19dd1fd3bb7f
https://deploy-preview-295--gestalt.netlify.com

Thanks, Pete. I checked with other in-flights PR owners as well.


Fix non-normative note about MPRV/MXR

MPRV need not be in effect for MXR to disable pointer masking.
Resolves #70.

I will wait for a few days to see whether there are any other related comments, otherwise will rebuild the PDF and create a new release candidate with the (non-normative) change.


transferFrom gives incorrect result

I am getting incorrect results when I test token to token value transfer (on same slot).
Here is my Test contract:
  //SPDX-License-Identifier: UNLICENSED
  pragma solidity ^0.8.0;

  import<EMAIL_ADDRESS>

  contract TestContract is ERC3525 {

      constructor() ERC3525 ("TestContract", "", 18) {}

      function create(address _initialOwner, uint256 slot_, uint256 initialValue_) public {
          uint256 tokenId = _createOriginalTokenId();
          _mint(_initialOwner, tokenId, slot_, initialValue_);
      }
  }

Here is my hardhat test file:
  import { time, loadFixture } from "@nomicfoundation/hardhat-network-helpers";
  import { anyValue } from "@nomicfoundation/hardhat-chai-matchers/withArgs";
  import { expect } from "chai";
  import { ethers } from "hardhat";

  describe("Test", function () {
    it("Transfer value between tokens of same slot", async function () {
      const [user1, user2] = await ethers.getSigners();

      const testContract = await ethers.getContractFactory("TestContract");

      const dTestContract = await testContract.deploy();

      dTestContract.create(user1.address, 1, 100);
      dTestContract.create(user2.address, 1, 0);

      const tokenId1 = dTestContract.tokenOfOwnerByIndex(user1.address, 0);
      const tokenId2 = dTestContract.tokenOfOwnerByIndex(user2.address, 0);

      dTestContract["transferFrom(uint256,uint256,uint256)"](tokenId1, tokenId2, 30);
      const balance1 = dTestContract["balanceOf(uint256)"](tokenId1);

      expect(await balance1).to.equal(70);
    });
  });

My intent is to transfer 30 from tokenId1  with 100 to tokenId2 with 0.  So tokenId1 should have 70 after transfer. But I get the following result:
Test
Transfer value between tokens of same slot:
  AssertionError: expected 100 to equal 70. The numerical values of the given "ethers.BigNumber" and "number" inputs were compared, and they differed.
  + expected - actual

  -100
  +70

Fixed. the issue was in my hardhat test setup: you have to wait for the transaction to be mined. This test gives expected results:
describe("Test", function () {
      it("Transfer value between tokens of same slot", async function () {
          const [user1, user2] = await ethers.getSigners();

          const testContract = await ethers.getContractFactory("TestContract");

          const dTestContract = await testContract.deploy();

          dTestContract.create(user1.address, 1, 100);
          dTestContract.create(user2.address, 1, 0);

          const tokenId1 = dTestContract.tokenOfOwnerByIndex(user1.address, 0);
          const tokenId2 = dTestContract.tokenOfOwnerByIndex(user2.address, 0);

          const txact = await dTestContract["transferFrom(uint256,uint256,uint256)"](tokenId1, tokenId2, 30);
          await txact.wait();

          const balance1 = dTestContract["balanceOf(uint256)"](tokenId1);

          expect(await balance1).to.equal(70);
      });
 });


Only XML files are generated

Only XML file is generated, IP for tex generator is empty:
docker run --name flan_1574405167 -v /srv/git/flan/shared:/shared flan_scan
# Nmap 7.70 scan initiated Fri Nov 22 06:46:08 2019 as: nmap -sV -oX /shared/xml_files/2019.11.22-06.46/x.x.x.18.xml -oN - -v1 --script=vulners/vulners.nse x.x.x.18
Nmap scan report for static.x-x-x-18.clients.your-server.de (x.x.x.18)
Host is up (0.00027s latency).
Not shown: 996 closed ports
PORT     STATE    SERVICE    VERSION
22/tcp   open     ssh        OpenSSH 7.4 (protocol 2.0)
| vulners:
|   cpe:/a:openbsd:openssh:7.4:
|       CVE-2018-15919  5.0     https://vulners.com/cve/CVE-2018-15919
|_      CVE-2017-15906  5.0     https://vulners.com/cve/CVE-2017-15906
80/tcp   open     http       nginx 1.16.1
|_http-server-header: nginx/1.16.1
443/tcp  open     ssl/http   nginx 1.16.1
|_http-server-header: nginx/1.16.1
|_http-trane-info: Problem with XML parsing of /evox/about
9001/tcp filtered tor-orport

Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Fri Nov 22 06:46:23 2019 -- 1 IP address (1 host up) scanned in 15.41 seconds
# Nmap 7.70 scan initiated Fri Nov 22 06:46:23 2019 as: nmap -sV -oX /shared/xml_files/2019.11.22-06.46/.xml -oN - -v1 --script=vulners/vulners.nse
Read data files from: /usr/bin/../share/nmap
WARNING: No targets were specified, so 0 hosts scanned.
# Nmap done at Fri Nov 22 06:46:23 2019 -- 0 IP addresses (0 hosts up) scanned in 0.35 seconds
WARNING: No targets were specified, so 0 hosts scanned.
Traceback (most recent call last):
  File "/output_report.py", line 225, in <module>
    main()
  File "/output_report.py", line 216, in main
    parse_results(data)
  File "/output_report.py", line 98, in parse_results
    hosts = data['nmaprun']['host']
KeyError: 'host'
sed: /shared/reports/report_2019.11.22-06.46.tex: No such file or directory
sed: /shared/reports/report_2019.11.22-06.46.tex: No such file or directory
sed: /shared/reports/report_2019.11.22-06.46.tex: No such file or directory

Same issue here;
Traceback (most recent call last):   File "/output_report.py", line 225, in <module>     main()   File "/output_report.py", line 216, in main     parse_results(data)   File "/output_report.py", line 98, in parse_results     hosts = data['nmaprun']['host'] KeyError: 'host' sed: /shared/reports/report_2019.11.22-10.39.tex: No such file or directory sed: /shared/reports/report_2019.11.22-10.39.tex: No such file or directory sed: /shared/reports/report_2019.11.22-10.39.tex: No such file or directory

Similar issue, .xml report is unhelpful, Latex report not generated.
Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done at Fri Nov 22 20:10:38 2019 -- 256 IP addresses (21 hosts up) scanned in 3437.68 seconds
Nmap 7.70 scan initiated Fri Nov 22 20:10:38 2019 as: nmap -sV -oX /shared/xml_files/2019.11.22-19.13/.xml -oN - -v1 --script=vulners/vulners.nse
Read data files from: /usr/bin/../share/nmap
WARNING: No targets were specified, so 0 hosts scanned.WARNING: No targets were specified, so 0 hosts scanned.
Nmap done at Fri Nov 22 20:10:39 2019 -- 0 IP addresses (0 hosts up) scanned in 0.73 seconds
Traceback (most recent call last):
File "/output_report.py", line 227, in
main()
File "/output_report.py", line 218, in main
parse_results(data)
File "/output_report.py", line 98, in parse_results
hosts = data['nmaprun']['host']
KeyError: 'host'
sed: /shared/reports/report_2019.11.22-19.13.tex: No such file or directory
sed: /shared/reports/report_2019.11.22-19.13.tex: No such file or directory
sed: /shared/reports/report_2019.11.22-19.13.tex: No such file or directory

I am having the same issue, but are you sure the xml file isn’t useful? Search the file for “cvss” or “cve” and you’ll see all your results.

Hello, I believe this was happening because you were running flan scan with no IP addresses or with an empty line in your ips.txt. I have added a check to avoid this error. However if you run flan scan with a ips.txt file with just one empty line and no IP addresses you will get a .tex file that does not compile. I think this is okay for now since this is not the intended way of using Flan Scan. Let me know if you have more questions.

@nadinelyab you believe or have you verified this?

@wheelq I tested with an empty line in the ips.txt file and got the same error as above. Are you still having issues?

Yes I am. I have added 1,2,5..20 lines of hosts untill it started to fail.
Then I have removed some hosts from the top, and the scanner did not fail anymore, meaning the issue is not with the last line. Then I have removed some more hosts from the top and the scanner started to fail again. So I think the issue is somewhere else. Any idea what to debug first instead of wild guessing and wasting time on assumptions? In my case tex files have got their own filenames, but for some reason scanner is having some issue with those:

KeyError: 'host'
sed: /shared/reports/report_2019.11.26-19.47.tex: No such file or directory
sed: /shared/reports/report_2019.11.26-19.47.tex: No such file or directory
sed: /shared/reports/report_2019.11.26-19.47.tex: No such file or directory
sed: /shared/reports/report_2019.11.26-19.47.tex: No such file or directory


Pip install fails

Pip install did not work for me.
Obtaining file:///Users/ashcrcc1/PycharmProjects/drl_missile_command/gym_missile_command
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      error: Multiple top-level packages discovered in a flat-layout: ['materials', 'gym_missile_command'].

      To avoid accidental inclusion of unwanted files or directories,
      setuptools will not proceed with this build.

      If you are trying to create a single distribution with multiple packages
      on purpose, you should not rely on automatic discovery.
      Instead, consider the following options:

      1. set up custom discovery (`find` directive with `include` or `exclude`)
      2. use a `src-layout`
      3. explicitly set `py_modules` or `packages` with a list of names

      To find more information, look for "package discovery" on setuptools docs.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

adding py_modules=['gym_missile_command'] to the setup call in setup.py allowed me to install, but I don't know if that is that preferred fix.

Hello, the problem should be fixed with commit 69e19c565115e688d0ef1b167c383467f5b63711.


servers.json never created?

the servers.json which is used to load the Settings for the (global) Modules is never created so:
if (File.Exists($"{_dir}/servers.json"))

in https://github.com/RogueException/DiscordBot/blob/master/src/DiscordBot/Services/SettingsService.cs#L48
is never true and once the bot restarts it never loads the list again.
Manually adding the servers.json solves this issue.

I have a push coming out with the next Discord.Net alpha that removes the servers.json entirely


Add a warning that this library cannot work with large files

Add a warning to README.md that this library does not work with large excel files.
There are tons of related issues https://github.com/exceljs/exceljs/issues?utf8=✓&q=is%3Aissue+is%3Aopen+memory
Finding this is out after finishing is a huge bummer and a big waste of time.

For the record, I have migrated to https://github.com/DirtyHairy/node-libxl. It is paid extension. However, it generates large (50MB+) excel files within couple of seconds and with minimal memory footprint.

Probably using Stream API would approach that.


Refs #27 - Social post

Link to issue: https://github.com/fixmydjango/fixmydjango/issues/27
Share buttons in the template:

Pop-Ups:

@alessandroHenrique please fix conflicts here

@renatooliveira Fixed conflicts


Add Bazel output_groups to verifier rules [phab:D1466]

Created by schroederc at 2017-03-30 19:04:41:
This teaches Bazel how to build only the test's kindex or entries files without running the full test (helpful for debugging).

jrtom commented inline (context lost during migration) at 2017-03-30 19:06:42:
should this be "entry" or "entries"?
(same question below)

schroederc wrote at 2017-03-30 19:10:51:
Add all entries

schroederc commented inline (context lost during migration) at 2017-03-30 19:11:00:
Should be all of them.

schroederc wrote at 2017-03-30 19:11:40:
One more

jrtom accepted this revision at 2017-03-30 19:16:19

schroederc closed via commit 9daf21038e2b2f9a0dba0df9129c2d8f1581f431 at 2017-03-30 19:25:06


Neovide: Build fails in Flake

Describe the bug
When building using Flakes, Neovide fails to build.
Steps To Reproduce
Steps to reproduce the behavior:

Enable Flakes
Run the command nix build nixpkgs#neovide
See build failure

Expected behavior
A successful build of Neovide
Screenshots

Additional context
I suspect this is caused by running in pure evaluation mode, as it builds fine using the legacy commands.
Notify maintainers
@ck3d
Metadata
$ nix run nixpkgs#nix-info -- -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.52, NixOS, 21.11pre304909.d0044b0e7d5 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210707_02dd6bb`
 - channels(root): `"home-manager, nixos-21.11pre304909.d0044b0e7d5"`
 - channels(enderger): `"home-manager, nixos-21.11pre307874.740ecbc1627"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
 - neovide
# a list of nixos modules affected by the problem
module:

Thanks for raising this issue. I created a PR to fix it.
Side note, the same compilation error happens also with nix-build.


fir if statement is false then test fails it do not proceed in else

What is your Test Scenario?

What is the Current behavior?

What is the Expected behavior?

What is your web application and your TestCafe test code?

Execute this command...
See the error...

Your Environment details:

testcafe version:
node.js version:
command-line arguments:
browser name and version:
platform and version:
other:

https://github.com/DevExpress/testcafe/issues/3599


Q: How to prevent a guest from ordering with their account and doing anonymous as well?

This is hard, I think this is down to staff members recognizing them and being involved in allowing people to remain anonymous, probably only a staff member will log an anonymous package/user and it will just be for inventory purposes.  If the staff member doesn't recognize them as a registered use, they will "get away with it"


Horizontal Scroll Grid

I have some problem with a horizontal scroll on the grid. When I have many columns on grid.

After read https://github.com/appreciated/material/issues/25
I decide for change
.v-grid-tablewrapper { overflow: visible; position: absolute; width: 100% !important; }
from
.v-grid-tablewrapper { overflow: visible; position: unset; width: 100% !important; }
It's works

But I have a problem again on a vertical scroll. The scroll is not visible

Back again. I deciding to
.v-grid-tablewrapper { overflow: visible; position: unset; width: 100% !important; }
And it's works

Can the horizontal and vertical scroll on the grid work both?

Can you please provide some code to reproduce the issue?

Closing due to inactivity


Issue 2

The syntax for the /etc/bind/named.conf.options is incorrect and this fails the nslookup . The syntax should be . There is a semicolon after the forwarders IP address.

forwarders {
<IP_ADDRESS>;  #This is the Azure DNS server
};

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

ID: 9112aca7-92ac-cd06-70a9-47ec5f074eca
Version Independent ID: 9ff5464f-5713-9d7c-1f82-19ea1700e997
Content: Set up HBase cluster replication in Azure virtual networks
Content Source: articles/hdinsight/hbase/apache-hbase-replication.md
Service: hdinsight
GitHub Login: @JasonWHowell
Microsoft Alias: jasonh

@arnabganguly Thank you for reporting this issue! We will investigate and make any necessary changes.

@arnabganguly this looks like an obvious fix. Thanks for helping improve the docs!
I'll push a change in a few minutes. Should be out sometime Monday.


chore(cdk-integ): update CDK to 2.71.0

Description of changes:
The build environment always get the latest CLI, which had become incompatible with the version of the CDK in the cdk-integ package.json file.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: e38b0766b170bd07613373bec7f7bbffa409eeb0
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Add promotions to NftView

Done in https://github.com/macterra/artx-market/commit/1d429ebf8188bcfd89f4a2a339773acfceb03725


WIP - x509 with ldap attribute repo puppeteer test

My configuration with x509 auth and ldap attribute repo linked to attribute from x509 auth stopped working at some point on 6.4.x  (not sure when, and could have been due to config change I made inadvertently). This is adding a puppeteer test that tries to validate that ldap attribute repository will be queried for extra attributes using email from subjectaltname in cert to look up user in Active Directory. I haven't got it working locally due to path issues due to running msys2 bash on windows with this "--server.ssl.trust-store=file:${PWD}/ci/tests/puppeteer/scenarios/${SCENARIO}/truststore.jks", but I wanted to try to run it while I work on that.

@apereocas-bot runci

deleting for now until i get it working


Fix broken README links

use relative links to remove dependency on URL (and branch name, by extension)
fix typo

No longer valid.


Create security_assessment.md

Hello BPDM golden record team,
as already announced we are moving the assessments to GitHub.
Please note that we have not published open severe findings if there any.
This assessment file is a requirement for all quality gates and has to be provided as proof.
@szymonkowalczykzf please add the dataflow diagram in a separate pull request.

@szymonkowalczykzf please also have a look as from your point of view.

@szymonkowalczykzf please also have a look as from your point of view.

It looks really good, thank you for your work Kristian. I will work on the diagram as soon as possible and add it also.
Cheers, Szymon

Hello BPDM golden record team,
as already announced we are moving the assessments to GitHub.
Please note that we have not published open severe findings if there any.
This assessment file is a requirement for all quality gates and has to be provided as proof.
@szymonkowalczykzf please add the dataflow diagram in a separate pull request.

I have just finished the work on the diagram.
I crated a pull request here https://github.com/eclipse-tractusx/bpdm/commit/eb4fbd9b28b1cae4e1ad6041d1737e8a408d2ff6
Please review the diagram and approve.

After consultation with Kristian, it was recommended for me to crate a new pull request once the security assessment file will already be merged into the repo. That will let us easily add just a part including diagrams to the files. Therefore I will wait with the pull request till the file crated by Kristian will be merged.

@szymonkowalczykzf @SSIRKC
Content looks good.
Before I can merge please change the commit message to start with "Docs(Security): ..."
Then I can merge it

I added Docs(Security): in the title of the commit

The title has changed but the actual commit message of the commit is not influenced by this. The title will influence the merge commit message but the actual message of the commit in the history should also have the same pattern.
Please change the commit mesage to prefix "Docs(Security): ..." and force push the changes to your branch.

Ok sorry, now I understand. I changed to Docs(Security): Assessment Creation for BPDM in regards to Q-Gate 24.03
Is that ok? Also performed force push so changes should be visible.

if you can check your git and change the message of this commit to also docs(Security): Message... it will be great jnow it shows with Create security_assessment.md

Sorry I am not that familiar with Git, can you explain what I need to change? :)

Create security_assessment.md

Just open the terminal on the project branch and do
git commit --amend -m "Docs(Security): Add Security_assessment.md"
git push --force
if there is no new commints on top you just need this take a look
https://linuxize.com/post/change-git-commit-message/

Create security_assessment.md

Just open the terminal on the project branch and do
git commit --amend -m "Docs(Security): Add Security_assessment.md" and push with something like git push --force
if there is no new commits on top you just need this. take a look on https://linuxize.com/post/change-git-commit-message/

I did that but forgot to update my fork. Now it is synced :)


Not working with Safari mobile

Hi,
The library is not working properly with Safari mobile (and other mobile browser).
To reproduce: open your demo page with a mobile browser (with no mouse) and drag the cursor.
In the console log you'll see an error like:
TypeError: undefined is not a function (evaluating 'e.preventDefault()')
It's because you event e is empty (no mouse) on tablet or mobile.
Thanks

Works fine for me on Safari mobile (iOS 8).
It doesn't work for me on Opera mini (<IP_ADDRESS>720 on iOS 8) though.

Just saw your commit to fix that, it works now. Thanks!

@mtmail the slider was working on ipad too, but when connected to the debugger it was indeed showing the error mentioned in the issue. thanks @cquilboss for pointing at this!


Consider changing static site generator

I have great experience with Hugo for site generation --- a single binary download on all platforms, it's very fast to run, and overall seems robust.
The issue with Jekyll is that it's harder to install and you typically run into issue such as this one:
https://github.com/fortran-lang/fortran-lang.org/issues/77#issuecomment-632832828
This is relatively lower priority, since this website was primarily developed by @milancurcic and @LKedward and so I let them choose the technology. I opened this issue just as an alternative to know about.

Indeed Hugo is easier to install and run because it's a single binary. The only Jekyll issue that I see is actually nothing about Jekyll but with gem and bundler, which IMO just plain suck. Especially when you start using specific versions. Tracebacks are inscrutable.
Hugo was actually what I started working with at first and then gave up after few hours. I was somewhat familiar with Jekyll already, and Hugo is overall more complex so there was more to learn.
So setting up the tooling to run Jekyll is worse than Hugo. But after you do that once, I think Jekyll is easier to work with than Hugo. Personal opinion of course.
Build previews that @LKedward made mostly solves this. If you know how to submit a PR, there's no need to run locally. For writing markdown pages and submitting content this is good enough. If you need to make structural changes to the website, chances are that setting up Jekyll is not an issue.

That's fine, you two are the main maintainers, so if you are comfortable with Jekyll, that is fine with me. If we start getting more users struggling to install Jekyll, we can reconsider.

I agree Jekyll isn't great for contributors to setup - I'm also not sure if it supports Windows or not?
I find the Jekyll templating language very rudimentary at times, but this also means that it isn't too complicated to get started. I'm happy to stick with Jekyll for now, but we can reconsider later if need be.

As discussed in #201, Jekyll isn't well-suited to robust internationalization, most notably it isn't possible to use a gettext-based approach which would offer a safe and automated workflow. Hugo similarly doesn't have support for using gettext.
Based on this, we should re-open discussion of changing static site generator with a mind to support gettext-based translation.
As suggested by @certik, the sympy site uses jinja2 templating with an i18n extension that supports gettext. The generate script demonstrates this nicely.
Some points for discussion/comment:

Are there any objections to switching static site generator in order to robustly implement internationalization?
Does anyone have an objection to switching to jinja2?
Does anyone have any other suggestions for alternative site generators with gettext support?
What are the specific requirements for site generators in order to port all of fortran-lang.org?

Switching from jekyll to plain HTML + jinja2 seems like a major step back. jinja2 templating is not so much different to liquid templating and we would loose the markdown support to gain gettext support.
I'm fine with loosing markdown support only if we are able to replace it with something similarly like reStructuredText or Asciidoc in our static page generation, we need support for code-blocks and I'm not too keen writing those in plain HTML or some ugly template block.

I'm fine with loosing markdown support only if we are able to replace it with something similarly like reStructuredText or Asciidoc in our static page generation, we need support for code-blocks and I'm not too eager writing those in plain HTML or some ugly template block.

Yes agreed, we definitely want to keep easy support for code-blocks.

It looks like our website is a combination of html files and markdown. For html, moving to jinja is a step up.
For Markdown, we need to figure out a way how to translate Markdown documents in general. What are the options / alternatives? How is this done in Jekyll?

Jekyll is using a Markdown to HTML converter, you have the choice between several vendors, usually kramdown is used (which we are using as well), but you can plugin other converters as well, e.g. if you want to use Asciidoc with Jekyll.

Beside being able to write content in a human-readable markup, it's also important for me that GitHub can render it in the browser (in file views and PRs). I know GitHub renders md and rst but I don't know about adoc. Consider also how many people are familiar with these markups. Markdown is probably the most ubiquitous, and would impose the least friction to contributing writers.

GitHub can basically render any known markup language: md, rst, adoc, textile, mediawiki, ... This shouldn't be a limitation. I'm not too attached to a particular markup language, but I have a slight preference for reStructuredText and Asciidoc because I found them easier to use in bigger technical documentations, especially when it comes to code-blocks in admonitions. We currently create those with a liquid capture block in the minibooks which is quite ugly.

I strongly prefer Markdown. Let's keep using it.
As a start, we can simply require that the whole Markdown file must be translated, and perhaps the translation can keep a comment somewhere which exact English version was used. That way you can manually check if there was some change in the English version. We can even write a tool for this. So in some sense, it would be like gettext, but for the whole Markdown document at once. I think that's fine with me.
My main objection was for the html documents, and those would be fixed with jinja+gettext.

I'll pin this issue for better visibility.
I had a look into SymPy's HTML + jinja2 and the generate script. While we won't be able to use gettext here, I'm quite confident that I can make localization work with jekyll and the plugin used in #201 almost as if we were using gettext. It might become a bit heavy on Ruby for the “generate” script the way I'm envision it, but I haven't yet started on this project yet due to time constraints.
The general idea would be:

use the translate / t to translate sentences like in SymPy's jinja2 syntax, this works for HTML just like markdown.

{% t "High-performance parallel programming language" %}

use a “generate” script to extract all sentences from the liquid templates and create the _i18n/en.yml automatically

# "index.html" 10
"High-performance parallel programming language": >-
 High-performance parallel programming language

translators copy the _i18n/en.yml and translate all sentences, i.e. _i18n/fr.yml would contain

# "index.html" 10
"High-performance parallel programming language": >-
 Un langage de programmation parallèle haute performance

the plugin will safely fall back for missing translations to the English version if translations are not yet available.

We will need some tooling to work with yml files and merge translations, but those are hash maps which require some fuzzy string comparison at best, nothing too difficult in the Ruby world.

Of course, the generate script and the other tooling will be written in Fortran! :)
Is the fr.yml format standardized somehow? It sucks to write our own tool for this, but I remember the tools are just not super great anyway. I would only suggest to use more common formats, as I think there are tools that can read those files and help translators by providing GUIs.

It's YAML, not sure if I would call it “standardized” in any way ;).
Of course, I would drop the whole effort of creating our own tools without a second thought if there were actually tools available for our problem.

Your proposed solution sounds good @awvwgk considering the various limitations we are dealing with. I have no experience with Ruby so I can't comment on how complex/time-consuming it might be to write and maintain the "generate" script, but if it's simple and robust, and it makes our life easier then it seems like a good approach.

I started working on sphinx based version of the webpage at my fork https://github.com/awvwgk/fortran-lang.org in the sphinx branch. Quite experimental at the moment.

Coming back to this issue after a while, it seems like there is some development in the sphinx themes I checked previously. Styling is with CSS is now quite straight-forward, also the sphinx-panels has been superseded by the sphinx-design project, which allows usage of almost all bootstrap we need. And we can translate it (there are a few rough edges).

Closing this in favor of #415 and https://github.com/fortran-lang/webpage


Update QtTesting translator to record python

Once we are done with Qt4 removal, we should evaluate if the overall of maintaining QtTesting player/translator for both CTK & Slicer is worth it.

We are looking into refreshing/improving QtTesting for recording tutorials that can be replayed in different languages (because we cannot use English language screenshots in non-English tutorials). We would like to generate executable Python code instead of XML. Maybe we'll use the recorder (just fix and extend it as needed) and convert the XML to Python; or maybe we'll change it more significantly to create Python code directly.
Originally posted by @lassoan in https://github.com/commontk/CTK/issues/1080#issuecomment-1504537982

Recording GUI events (button clicks, etc.) has very limited use (only for testing, and even there it is quite fragile). Meaningful workflow automation Python scripts should operate at lower level, by changing properties of MRML nodes and calling module logic functions.
I’ve recently implemented a simple Python script that observes all MRML node changes and generate a list of node property modifications (by comparing MRML node PrintSelf results before and after the node modification). This can be used to generate a runnable, user-editable Python script. This is similar to what Paraview can do.
What we would really need is an intermediate level, where a user action is translated to a few high-level method calls. I’m not sure what is the easiest way to achieve this. Maybe we could add a specially formatted log message whenever a logic method is called (and macro recording is enabled), and these could be easily converted to runnable Python code.

Originally posted by @lassoan in https://discourse.slicer.org/t/macro-xml-to-python/15803/3

Recording&replaying GUI events is bad for batch processing (fragile and may require too many low-level steps) but for tutorials it is actually an appropriate level. Ideally, the user could choose the API level.


Bug: Code is not show correct

Hello, I use a template from the Internet which is using Bootstrap and JQuery for my website. I use a pre tag followed by a code tag, but in all web browsers I tried (chrome, ie11, edge) my code is shown like this:
importAPI example
"a test string"example.f(, None)

I tried to copy the code from the web browser, and the text I get is the same like in real:
from API import example
...

Is there might anything I can do to show my code correct?

I'm not following at all.  Any chance you can make a reproducible example of your issue on say https://jsfiddle.net or perhaps screen grab?

Sorry, this post is to old to remember how I can reproduce this bug. I only could find out that it appears in version 9.12.0.


Clean Up Build Warnings

The repo has a couple of build warnings that are pretty trivial to remedy
The browser list needs updating, which can be done by running
npx browserslist --update-db
When running yarn start to serve the website locally, the following warnings can be found:

If after resolving all the above warnings there are a few new ones, those also need to be resolved.

I can also work on this if no one is already in the process. Those warnings have been annoying lately anyway 😂


data: AbdulrahmonBabatunde

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

lgtm!

Please change the filename to your github username which is :abdulrahmonbb

Done. I just commited the changes

f

Just commited the changes.

Looks good, Thanks for Contributing! 🎉

Thanks Kumar!


[1.12] Author backport of #28928 (Dns proxy use original source address and port)

[ ] #27582 (@tklauser)
[ ] #28928 (@jrajahalme)

Once this PR is merged, a GitHub action will update the labels of these PRs:
 27582 28928

/test-backport-1.12

/test-1.17-4.9

test-1.19-4.9

/test-1.19-4.9

/test-1.21-4.9

/test-1.19-4.9

test-1.19-4.9 hit one known flake (#24840), I don't think it's worth wasting time running it again. Marking as ready-to-merge.


Default PATH configuration includes an improperly escaped space character

Your Windows build number:  Microsoft Windows [Version 10.0.16299.64]

What you're doing and what's happening: Inspecting $PATH enviroment variable

What's wrong / what should be happening instead:
The out-of-the-box configuration includes a path with spaces not properly spaced

Steps:

Install WSL
type $PATH
Output is below

gtalarico@DESKTOP-ANVFKAH:~/dev/repos/genome$ $PATH
-bash: /home/gtalarico/bin:/home/gtalarico/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program: No such file or directory

Note the last part of the output:
/usr/games:/usr/local/games:/mnt/c/Program: No such file or directory
I checked /etc/environment, and that last path is not coming from there, so I am not sure where this path is being added

paths work fine with space


[Wallet] Add funds with Moonpay widget

Description
Add the Moonpay widget to the Account page with the option to buy funds (disabled with a feature flag right now).
Note that the "signMoonpay" firebase function signing the requests is not included in this PR, as I am not sure whether it should be added to the monorepo. It is a straightforward function for HMAC signatures deployed here: https://console.cloud.google.com/functions/details/us-central1/signMoonpay?organizationId=54829595577&project=celo-org-mobile&tab=general
This signing is required if we want to prefill a user's address and is linked to the C Labs Moonpay account.
Tested
Tested that the widget comes up. Since we do not yet have production keys I cannot test that I can buy anything (can only go through auth flow), but we will chat with Moonpay on Monday to get this started  be able to test this integration by the end of the week after Moonpay integrates on their side.
Related issues

Partially addresses #2373

Note that build is failing on master (unrelated to this PR)


feat: Adding multiple device protocols

This change ports missing protocols from C# to JS:

LiBo/Sistalk
MagicMotion (fixes #114)
Youcups (fixes #117)
Vorze Bach

There's something odd with the device-config not merging nicely, but I think that should be corrected elsewhere and the change in this PR rebased out.
Still need to write tests too.

This merged to dev today, but I brought it in with the Kiiroo 2 commit that didn't even have a PR yet. The main problem now is that the device configs don't match. I'll pull the device config from your repo, diff it and create a patch out of that, as the PR over in the device-config repo also doesn't match the one here (is missing the MonsterPub and stuff).


[FA] Skip sysprobe check for ansible

What does this PR do?

Ansible has a different way of managing the sysprobe unit than the install script, which is breaking the test
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


disable highlight on carousel card when tapping to scroll?

Is this a bug report, a feature request, or a question?
Question:
How can you disable the highlighting effect when tapping to scroll?
Take the default carousel layout <Carousel layout={'default'} /> demonstrated here:
https://github.com/meliorence/react-native-snap-carousel#layouts-and-custom-interpolations
As the user scrolls left and right, tapping each carousel item to scroll reduces opacity to create a highlight press effect. How can I disable this? The idea is not to confuse the user with scrolling vs selecting an item (and onto another screen)
Hope that was clear enough. Thanks for reading.

`
<Carousel
inactiveSlideOpacity={1}
inactiveSlideScale={1}

`

@ringcoa unfortunately it doesn't make any difference.

@ringcoa unfortunately it doesn't make any difference.

It's late for sure, but maybe someone will be in need.
This behaviour is caused not by the carousel, but by the item you are rendering.
Most of the time we are rendering a touchableOpacity component in each item.
Adding delayPressIn={ 50 } as a prop of the touchableOpacity should fix this problem.

Sorry, please allow me to advertise for my open source library! ~
I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2


how to run in a vps/linux machine

how to run in virtual machine like vps etc?

The procedure is same , try the steps if you have any issues you can ask me here


fix(sdk): add fastify route only if the hook is configured

Checklist

[x] run make test
[x] PR title must follow conventional-commit-standard
[x] tests and/or benchmarks are included
[ ] documentation is changed or added
[x] commit message and code follows the Code of conduct

Please always make sure to merge main into your PR branch.

@JivusAyrus how can we verify that hooks still work? we should somehow test this. Ideas?

Used postman to check if only the hooks which are used have the fastify routes and made sure that is the case.
To check if they are working appropriately, should we use the hooks in the test app and verify?

To check if they are working appropriately, should we use the hooks in the test app and verify?

Ideally, we set up a simple test with fastify inject feature. https://www.fastify.io/docs/latest/Guides/Testing/#testing-with-http-injection
We have already created a server factory for that https://github.com/wundergraph/wundergraph/blob/suvij/eng-402-dont-add-fastify-route-when-route-isnt/packages/sdk/src/middleware/server.ts#L126

To check if they are working appropriately, should we use the hooks in the test app and verify?

Ideally, we set up a simple test with fastify inject feature. https://www.fastify.io/docs/latest/Guides/Testing/#testing-with-http-injection
We have already created a server factory for that https://github.com/wundergraph/wundergraph/blob/suvij/eng-402-dont-add-fastify-route-when-route-isnt/packages/sdk/src/middleware/server.ts#L126

I wrote tests to verify the working of the routes, verify if the routes have user context check and verify if only the hooks used have the routes configured.

Have tested the hooks using the test apps(default and nextjs) manually.


XXH_STATIC_ASSERT=0 set in zstd-sys's build script breaks compilation in 2.0.10

zstd/lib/common/xxhash.h:3157:22: error: called object type 'int' is not a function or function pointer
    cargo:warning=    XXH_STATIC_ASSERT(sizeof(XXH32_canonical_t) == sizeof(XXH32_hash_t));

We hit this in arrow-rs as well https://github.com/apache/arrow-rs/issues/5565

Hello, I don't have the error with 2.0.11+zstd.1.5.6, is it fixed ?

Yes, it was fixed for me with 2.0.11 as well


sistema de avance de turnos en teg

Codecov Report

Merging #37 (4bc7d35) into Entrega-2 (1e2fb58) will increase coverage by 8.03%.
The diff coverage is 41.66%.

@@               Coverage Diff               @@
##             Entrega-2      #37      +/-   ##
===============================================
+ Coverage        50.92%   58.96%   +8.03%
- Complexity          69       83      +14
===============================================
  Files               23       23
  Lines              379      385       +6
  Branches            36       36
===============================================
+ Hits               193      227      +34
+ Misses             177      145      -32
- Partials             9       13       +4

Impacted Files
Coverage Δ

...c/main/java/edu/fiuba/algo3/modelo/Continente.java
0.00% <0.00%> (ø)

src/main/java/edu/fiuba/algo3/modelo/Teg.java
84.00% <33.33%> (+31.82%)
:arrow_up:

src/main/java/edu/fiuba/algo3/modelo/Mapa.java
75.39% <100.00%> (+6.84%)
:arrow_up:

.../main/java/edu/fiuba/algo3/modelo/TurnoAtaque.java
35.71% <0.00%> (+7.14%)
:arrow_up:

...java/edu/fiuba/algo3/modelo/TurnoAsignarFicha.java
31.03% <0.00%> (+31.03%)
:arrow_up:

...in/java/edu/fiuba/algo3/modelo/TurnoReagrupar.java
45.45% <0.00%> (+45.45%)
: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 1e2fb58...4bc7d35. Read the comment docs.


Login falied in case user has Twitter App

Hello..
If user has  a Twitter application on the mobile, it will be moved to it and then the login process is not completed successfully
Especially if the Twitter app is closed, open it and then exit immediately
is there any way to prevent web url to go to twitter app?

Hi @hm86z , thanks for your feedback!
Unfortunately I can't check anything now because my Twitter account was frozen accidentally. So I even can't use my development tokens.
I guess it's due to your callback url, or maybe the bug from flutter_web_auth. Can you give more details?
Thank you.

Thanks for the response, yes after checking it out, I found out that the bug is from flutter_web_auth, how can I find a replacement for it?

Hi @hm86z ,
As of now, there is no alternative package available, I also don't know of any package that solves this.
I think it would be ideal if the flutter_web_auth development team could solve this, but this issue remained for some years...

I face the same issue. Crash when the twitter app is installed. The twitter apps open and closes right away and we get a stack trace.
E/flutter ( 2483): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7) E/flutter ( 2483): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:296:18) E/flutter ( 2483): <asynchronous suspension> E/flutter ( 2483): #2      FlutterWebAuth2MethodChannel.authenticate (package:flutter_web_auth_2_platform_interface/method_channel/method_channel_flutter_web_auth_2.dart:15:7) E/flutter ( 2483): <asynchronous suspension> E/flutter ( 2483): #3      IoWebAuth.authenticate (package:twitter_oauth2_pkce/src/auth/io_web_auth.dart:20:7)

Hi @guiguito ,
I happened to find the following topic on the Twitter Forum.
https://twittercommunity.com/t/web-oauth-2-0-is-broken-on-android-if-twitter-app-is-installed/169698
Maybe is it related to your issue?

Maybe is it related to your issue?

Yes, that is what the topic is about. The specific content of the message is the following link.
https://twittercommunity.com/t/web-oauth-2-0-is-broken-on-android-if-twitter-app-is-installed/169698/11

If the user has the Twitter app installed and is currently closed. Clicking on the Login with Twitter will try to open the Twitter app, show a splash screen, and will close. ( Not sure we can do anything for a workaround )

The problem is reproduced under these conditions.

If the user has the Twitter app installed and currently opened in the background. It will open in a webview inside the app. If it’s android, it might work since the chrome session is shared. But in the case of ios, it’s still broken. Post authorization it gets struck inside the webview.

No problems occur under these conditions.

@adakoda @myConsciousness This is only for Android.
on iOS it weirdly enough opens a browser, but after you authorize it opens the app and you get stuck there.
But the 2nd time you click authorize it opens the browser with an authorize button because you previously logged in. Then clicking authorize redirects you back to the app.

For anybody reading this while this issue is still open this is what you can do:

Identify whether a user has a Twitter app or not (there are libraries out there).
App exists: Use https://pub.dev/packages/twitter_webview_auth to authenticate the app. It sucks because its OAuth1 and it authorizes EVERYTHING which may look spooky to users but that's what we've got right now.
App doesn't exist: Use this library and you are good to go 😎

same issue with latest version :
twitter_oauth2_pkce: ^1.0.2


ensure local data is demonstrated in each exercise

Done for Exercise 6/metadata in #153

@justb4 Thank You! Addressed here: https://github.com/geopython/diving-into-pygeoapi/pull/160

Outstanding:

https://dive.pygeoapi.io/publishing/ogcapi-coverages/ (@krishnaglodha)

update link and have participants download as part of the exercise


Avoid Exceptions for true Database Agnosticism

Suggestion
Could we use warnings instead of exceptions in Queries
Example: in db\oci\QueryBuilder addForeignKey() function:
if ($update !== null) {      throw new Exception('Oracle does not support ON UPDATE clause.'); }
Could we just suppress the $update and turn it to null then warn the user. This will allow one to switch databases without much hassle.
Additional info
| Yii version      | 2.0.9
| PHP version      | 5.6.23
| Operating system | Windows 10

ON UPDATE is too important to be ignored.


Create luz.txt

Homepage
Computing degree curriculum

@iddorado First stage of verification passed, official domain is luz.edu.ve as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Hi, look forward to your response.

@iddorado Thank you for your patience while waiting for a review and processing your request. Pull request merged.


AllowHighBonusEnchantments not being applied properly

Strangely, for whatever reason, AllowHighBonusEnchantments has been doing almost opposite-like behavior of what it should be doing. I have my config set to something like this:
displayName: Legendary
displayColor: GOLD
identifierColor: DARK_RED
enchantments:
  safeBaseEnchantments: true
  safeBonusEnchantments: false
  allowHighBaseEnchantments: true
  allowHighBonusEnchantments: true
  baseEnchantments:
  - ARROW_DAMAGE:1:10
  - DURABILITY:10:10
  - ARROW_INFINITE:1:10
  - DAMAGE_ALL:1:10
  bonusEnchantments:
  - PROTECTION_FIRE:1:10
  - ARROW_FIRE:1:10
  - DAMAGE_ARTHROPODS:1:10
  - DURABILITY:1:10
  - PROTECTION_FALL:1:10
  - PROTECTION_EXPLOSIONS:1:10
  - ARROW_KNOCKBACK:1:10
  - ARROW_DAMAGE:1:10
  - DAMAGE_UNDEAD:1:10
  - KNOCKBACK:2:10
  minimumBonusEnchantments: 7
  maximumBonusEnchantments: 10

except when that tier config is plugged into the server, it's not allowing any enchantment, except for DURABILITY to be set to a level past their regular enchantable levels. Even stranger, when I set AllowHighBonusEnchantments to false, it allows enchantments to surpass it, though by incredible leaps and bounds! For example, I got the below item when I used /md spawn -t legendary, even though, as you can see, there's no enchantment where the max level is set to higher than 10!

If it helps any, I'm running paperspigot, though the issue has persisted even when using regular spigot, on version 1.8.8.
Update 1
The same thing does not happen in regards to baseEnchantments, strangely enough.
Update 2
When allowHighBonusEnchantments is set to false, it perceives the max level for bonus enchantments to be 2x the set amount. For example, the the below config, it is possible to obtain up to, but not higher than blast protection 10. This was tested on Spigot 1.8.3 and 1.8.7.
displayName: Legendary
displayColor: GOLD
identifierColor: DARK_RED
enchantments:
  safeBaseEnchantments: true
  safeBonusEnchantments: false
  allowHighBaseEnchantments: true
  allowHighBonusEnchantments: false
  baseEnchantments: []
  bonusEnchantments:
  - PROTECTION_EXPLOSIONS:1:5
  minimumBonusEnchantments: 1

Quick update - the same thing does not happen in regards to  baseEnchantments, strangely enough.

You can grab a testable copy of the fix here: 4.0.6-SNAPSHOT

Awesome!  This fixes the highBonusEnchantments property.
I think what's causing the other problem in regards to the enchantment levels is due to the enchantment being applied to the item multiple times and adding the two levels. We can see this in the image attached below, since it seems not to be respecting the minimum number of bonus enchantments, but really is, only in the form of duplicate enchantments.

If it helps, here is the config I used in that case:
displayName: Legendary
displayColor: GOLD
identifierColor: DARK_RED
enchantments:
  safeBaseEnchantments: true
  safeBonusEnchantments: false
  allowHighBaseEnchantments: true
  allowHighBonusEnchantments: true
  baseEnchantments:
  - ARROW_DAMAGE:1:10
  - DURABILITY:1:10
  - ARROW_INFINITE:1:10
  - DAMAGE_ALL:1:10
  bonusEnchantments:
  - PROTECTION_FIRE:1:10
  - ARROW_FIRE:1:10
  - DAMAGE_ARTHROPODS:1:10
  - DURABILITY:1:10
  - PROTECTION_FALL:1:10
  - PROTECTION_EXPLOSIONS:1:10
  - ARROW_KNOCKBACK:1:10
  - ARROW_DAMAGE:1:10
  - DAMAGE_UNDEAD:1:10
  - KNOCKBACK:1:10
  minimumBonusEnchantments: 7
  maximumBonusEnchantments: 10

Will be working on this issue soon, I've been traveling the past two weeks and haven't had time to finish this issue.

Hello,
I have the exact same issue here... if it's possible, can someone re-upload the link that helped solve mono's problem? The link doesn't work anymore and I don't know if there's any other solution to this problem. (Same exact issue: 1.8.8 spigot w/ the 4.0.2 July 2015 version)
Would love any advice or help from anyone,
Thanks!

@kerza4655, MythicDrops now only works with 1.9 and above.

I've tried using all of the newest versions for Mythicdrops on Spigot + Paper Spigot 1.9.0-1.9.2 and it's the exact same issue every time. I don't know if anyone else is having this issue, but it seems like nothing is working for me. I'm simply putting the server on 1.8/1.9, downloading ALL of the versions, uploading the mythicdrops.jar inside the folder, then setting bonus enchants to 1:10 and turning allowhighbonusenchants to true and setting safebonusenchantments to false. I would appreciate it if I could use the 4.0.6 Snapshot version that you pasted up above which helped solve his problem. This plugin is absolutely amazing and I won't give up until I get this fixed.
Would love any advice or help from anyone,
Thanks!

@kerza4655, you can check here for the latest development build: http://maven.tealcubegames.com/content/groups/public/com/tealcube/minecraft/bukkit/mythicdrops/4.0.10-SNAPSHOT/

Alright, just tested the newest snapshot 4.0.10 for spigots 1.8.8 and 1.9.2 and both do not work. I also tried using the 4.0.6 for spigot 1.8.8 and 1.9.2 and that didn't work either :(. Here's an example of what's happened with the 4.0.10 in spigot 1.9.2:
displayName: Exotic
displayColor: RED
identifierColor: DARK_RED
enchantments:
safeBaseEnchantments: true
safeBonusEnchantments: false
allowHighBaseEnchantments: true
allowHighBonusEnchantments: true
baseEnchantments: []
bonusEnchantments:

ARROW_DAMAGE:1:9
DAMAGE_UNDEAD:1:9
DAMAGE_ALL:1:9
PROTECTION_ENVIRONMENTAL:1:9
PROTECTION_FIRE:1:9
ARROW_FIRE:1:9
DAMAGE_ARTHROPODS:1:9
DURABILITY:2:9
PROTECTION_FALL:1:9
ARROW_INFINITE:1:1
PROTECTION_EXPLOSIONS:1:9
FIRE_ASPECT:1:9
ARROW_KNOCKBACK:1:9
KNOCKBACK:2:9
minimumBonusEnchantments: 5
maximumBonusEnchantments: 8

http://i.imgur.com/X3jtgev.png
http://i.imgur.com/tXiDEnY.png
I don't know if this is also happening to anyone else? Something's really not working correctly here... I tried to make it 1:5 (so 1:10 perhaps if it doubles) and then it calculates the maximumBonusEnchantments and the minimumBonusEnchantments and I got something like fire prot enchant level 43..
Would love any advice or help from anyone,
Thanks!

@kerza4655 try it again using the more recent JAR from the same link.

Awesome, it works now! 👍  Sweet mudduh of slime.


metrics: replace processor checkpoint with owner checkpoint

What problem does this PR solve?

Issue Number: close #7050
What is changed and how it works?
Update metrics and alert rules.
Check List
Tests

Manual test

Questions
Will it cause performance regression or break compatibility?
No.
Do you need to update user documentation, design documentation or monitoring documentation?
No.
Release note
None

Codecov Report

Merging #7051 (5030079) into master (9398176) will increase coverage by 0.0317%.
The diff coverage is 64.1632%.

Additional details and impacted files

Flag
Coverage Δ

cdc
67.2780% <70.7401%> (+0.0820%)
:arrow_up:

dm
51.8400% <33.3333%> (-0.1080%)
:arrow_down:

engine
62.5148% <62.4319%> (+0.2526%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #7051        +/-   ##
================================================
+ Coverage   59.8253%   59.8570%   +0.0317%
================================================
  Files           791        791
  Lines         90221      90656       +435
================================================
+ Hits          53975      54264       +289
- Misses        31498      31639       +141
- Partials       4748       4753         +5

/merge


Paste as plain text shorcut

Paste as plain text is not available in firefox.
Cmd + Shift + V triggers paste as plain text in chrome and in lot other applications. Can the same behaviour be mimicked in firefox. It would be very useful.

Just an update.
Seems this is the default behaviour of firefox. I tried that in an empty contentEditable div.
The same is not working in squire


Remove audio quality widgets

Could you also mark the relevant string ids as unused in string_ids.h? We've added an UNUSED macro for this purpose, so they may be deleted when the string tables are eventually cleaned up and reordered.


Make scheduler enforce queue limits

Scope & Purpose
This PR addresses two things:

It prevent spurious log messages "Scheduler queue is filled more than 50% in last x s" from occurring when this is not the case. Due to a data race, the message could previously also occur if the queue was empty.
It makes the scheduler enforce the configured queue lengths. The values of the options --server.scheduler-queue-size, --server.prio1-size and --server.maximal-queue-size will now be honored and not exceeded.

This is still work in progress.
Especially, as we are now rejecting requests due to a full queue, we need to revisit the queue sizes.
The current sizes (unmodified by this PR are):

high priority queue: 128 requests
medium priority queue: 1048576 requests
low priority queue: 4096 requests

We either need a mechanism that requests from one queue can be put on the next queue if a queue gets full (e.g. if "high" is full the request gets inserted into "medium"), or we need to increase the size of the queues for the internal operations at least. 128 items is just too easy to reach.
Additional to do after we agreed on the queue sizes & behavior: write tests!

[ ] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] Bug-Fix for a released version (did you remember to port this to all relevant release branches?)
[x] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)
[ ] The behavior change can be verified via automatic tests

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/6347/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/6408/

tests blue

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/6693/

@kvs85: why did you label this a WIP? I think it is good for review & merge.

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/6764/

Tests blue.


[stable/concourse] Document upgrade steps needed from the Postgres dependency bump

Is your feature request related to a problem? Please describe.
As noticed by @M0nsieurChat in https://github.com/helm/charts/issues/11610#issuecomment-506215061,
users who are leveraging the Postgres chart dependency were surprised by the
fact that the naming scheme used for the PostgreSQL persistent volume claim
changed, naturally, causing unexpected trouble.

Describe the solution you'd like
In https://github.com/helm/charts/issues/11610#issuecomment-506215061,
@M0nsieurChat added some great docs around how to work around the issue, which I
think we should make more accessible to other folks who might encounter this.

Describe alternatives you've considered

Have an entry in the CHANGELOG.md for this Chart that explicitly states how
to go from a previous version of the dependency to the new one

(or)

Add to README.md a note about upgrading from an older version to the newer
ones.

Additional context
Here's where we went from a 0.x version of the PostgreSQL chart to 5.x:
https://github.com/helm/charts/pull/14945

Thanks!

🙌


J2objcPodTask for Xcode integration using CocoaPods

generate a podspec file
integrate the pod in the podfile in the project dir
install the pod

@brunobowden This task will replace the current j2objcXcode task. We should delete the j2objcXcode task since cocoa pods are highly used and work great out of the box.

Hi @Confile, this looks like a good change. It would be helpful to discuss this over the phone given it's significance and also to get to know you better. Send me email at<EMAIL_ADDRESS>

@confile - you can go ahead and make updates to the commit, didn't mean to block that until the phone call

@brunobowden I am done!

btw, what's the preference on this repo? should PRs like this be squashed to 1 (or very few) commits without internal fix history?

@advayDev1 thanks! @brunobowden  done!

@brunobowden I am done
@advayDev1 Thanks for you comments

@brunobowden done!

done

@confile - please also merge in master as it's currently showing conflicts and it would be better for you to resolve them than me

@advayDev1 - please give final sign off when you're happy. We're getting very close here.

@brunobowden I have never merged in master. Sorry for the stupid question but can you please post the git command for that? :-)

@brunobowden understood.  i'm good if these get resolved:

error formatting https://github.com/brunobowden/j2objc-gradle/pull/46#discussion_r30332325
todo or correction of pod libraries https://github.com/brunobowden/j2objc-gradle/pull/46#discussion_r30330819

i may not be online when those comments are resolved and do not wish to further delay you, so @brunobowden you have my implicit sign-off as long as those are resolved.

@advayDev1 I resolved both of your issues.

@confile - I believe what you need to do is sync your fork:
https://help.github.com/articles/syncing-a-fork/

@confile , if you still need some help with the merge, here's what i'd do:
# have a clean working directory and index
# from the tip of your patch-1 branch: first save away your work
git branch backup46
# now don't checkout or touch branch backup46 from here on out.
# if things go terribly wrong below, you can then return to a state of LKG sanity with:
#git rebase --abort
#git merge --abort
#git checkout patch-1
#git reset --hard backup46
# this will return your patch-1 branch to the state before merging & rebasing

First ensure you've setup your upstream remote as per (https://help.github.com/articles/configuring-a-remote-for-a-fork/), then do (https://help.github.com/articles/syncing-a-fork/).
Your local master should now be equal to upstream/master.  I would now push your local master to your origin remote:
# While in your local master branch
git push

Now you can work on merging in master to your branch:
git checkout patch-1
# condense this down to one commit to preserve proper project history
git rebase -i 5665f0a5ff774005ce30e088ab2e1b76caca5a43
# within the rebase editor, replace the word 'pick' with 'fixup' on every line except the very first one.
# when you exit that editor, you should be given a chance to give your entire PR a single detailed commit message.
git merge master
# resolve and finish the merge as usual
git push

@brunobowden @advayDev1 Okay thanks for help. let me try it.

@advayDev1 https://github.com/advayDev1 - can you create a PR for a
markdown file with these instructions. I'd prefer not to use the wiki as
people can't submit PRs for that.
On Thu, May 14, 2015 at 12:15 PM Advay Mengle<EMAIL_ADDRESS>wrote:

@confile https://github.com/confile , if you still need some help with
the merge, here's what i'd do:
have a clean working directory and index
from the tip of your patch-1 branch: first save away your work
git branch backup46
now don't checkout or touch branch backup46 from here on out.
if things go terribly wrong below, you can then return to a state of LKG sanity with:
#git rebase --abort
#git merge --abort
#git checkout patch-1
#git reset --hard backup46
this will return your patch-1 branch to the state before merging & rebasing
First ensure you've setup your upstream remote as per (
https://help.github.com/articles/configuring-a-remote-for-a-fork/), then
do (https://help.github.com/articles/syncing-a-fork/).
Your local master should now be equal to upstream/master. I would now push
your local master to your origin remote:
While in your local master branch
git push
Now you can work on merging in master to your branch:
git checkout patch-1
condense this down to one commit to preserve proper project history
git rebase -i 5665f0a5ff774005ce30e088ab2e1b76caca5a43
within the rebase editor, replace the word 'pick' with 'fixup' on every line except the very first one.
when you exit that editor, you should be given a chance to give your entire PR a single detailed commit message.
git merge master
resolve and finish the merge as usual
git push
—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/pull/46#issuecomment-102089041
.

@brunobowden  good call, see #64.  @confile your recommendations for corrections to that file are much appreciated.

@advayDev1 Wow merging is hard. I just follow our steps but do not really get what upstream master is and what I do.

Yeah merging for a long-lived feature branch can get pretty annoying.  What step are you at?  The complicated part will be the last stage between 'git merge master' and 'git push' - everything else hopefully runs without any errors or human intervention.
For some terminology:

origin = your github repo (confile/j2objc-gradle)
upstream = the repo you forked from (brunobowdwn/j2objc-gradle)

Since bruno and I've made many changes to master on upstream's master branch, you have to basically fix up each time we made a change in the same region of the .gradle file as you did.

If you need help with the textual merge itself (and not all the stuff before and after), see http://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging (I'll add that to my PR as well)

@advayDev1 I am still at this point:
git rebase -i 5665f0a5ff774005ce30e088ab2e1b76caca5a43
# within the rebase editor, replace the word 'pick' with 'fixup' on every line except the very first one.
# when you exit that editor,

Is it possible to use another editor like textmate? If not how do I make find replace and save?

Yes, see http://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup#Your-Editor

@advayDev1 I did git rebase -i 5665f0a5ff774005ce30e088ab2e1b76caca5a43 but I cannot save the changes to this file.

Are you in VI, nano, etc.?
On Thu, May 14, 2015 at 9:53 AM Michael Gorski<EMAIL_ADDRESS>wrote:

@advayDev1 https://github.com/advayDev1 I did git rebase -i
5665f0a5ff774005ce30e088ab2e1b76caca5a43 but I cannot save the changes to
this file.
—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/pull/46#issuecomment-102101302
.

@advayDev1 textmate

@brunobowden @advayDev1 I think I made it. :-)

Thanks to both of you. It's great to get this in.
I renamed the PR to: "J2objcPodTask for Xcode integration using CocoaPods"

nice!  for future reference, I'd recommend rebasing/squashing commits.  At this point the history has lots and lots of 'small fix' commits that a reviewer of j2objc.gradle would be pretty confused by since they lack context.
@brunobowden  - any chance you want to do the rebase/squash in master directly?  we could also give this a nice overall commit message considering it is a non-trivial change.

Let's do something about this when we meet up in June. We'll adopt the
practice of rebasing for future commits as you described.
On Thu, May 14, 2015 at 1:04 PM Advay Mengle<EMAIL_ADDRESS>wrote:

nice! for future reference, I'd recommend rebasing/squashing commits. At
this point the history has lots and lots of 'small fix' commits that a
reviewer of j2objc.gradle would be pretty confused by since they lack
context.
@brunobowden https://github.com/brunobowden - any chance you want to do
the rebase/squash in master directly? we could also give this a nice
overall commit message
https://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message
considering it is a non-trivial change.
—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/pull/46#issuecomment-102103759
.


⚠ SceneTime has degraded performance

In a643fd6, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1653 ms

Resolved: SceneTime performance has improved in 4632624 after 6 minutes.


removes variables from global variables

this cleans up some variables that were not needed in the global variables.

Deploy preview for pf-next ready!
Built with commit c6bc6441d8f23f6a1cfc94dc25f9d8645c519298
https://deploy-preview-469--pf-next.netlify.com

:tada: This PR is included in version 1.0.11 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Program Problem

Everytime I open the program, it crashes. I don't think it's working

Everytime I open the program, it crashes. I don't think it's working

Sir, there can be numerous reasons for that like using a depreciated version of selenium, incompatibility of browser drivers,..etc. If you can share the complete error log, then we can try to figure out the problem and then the solution.

Where would I be able to find the error log?

Import pdb {The Python Debugger} and debug the code until you see some error log/message.

Import pdb {The Python Debugger} and debug the code until you see some error log/message.

Where would I be able to find the error log?

Import pdb {The Python Debugger}, and then just debug through the code until you see some error log/message.

Where would I be able to find the error log?

Import pdb {The Python Debugger}, and then just debug through the code until you see some error log/message.

Why it says there is a 64bits problem compatibily ?

Why it says there is a 64bits problem compatibily ?

howww can i start it??

howww can i start it??


Getting size mismatch error when trying to train on custom data

Hi,
I've followed the guide for using your own dataset in this guide. But I get a bizarre error about shape mismatch.
RuntimeError                              Traceback (most recent call last)
<ipython-input-6-fc16f914cab3> in <module>
      6 n_epochs = 2
      7
----> 8 learn()

<ipython-input-4-9ce1ba07689f> in learn()
      9     for epoch in range(n_epochs):
     10         for batch in env.train_dataloader:
---> 11             loss = ddpg.update(batch, learn=True)
     12             plotter.log_losses(loss)
     13             ddpg.step()

./venv/lib64/python3.8/site-packages/recnn/nn/algo.py in update(self, batch, learn)
     46
     47     def update(self, batch, learn=True):
---> 48         return self.algorithm(batch, self.params, self.nets, self.optimizers,
     49                               device=self.device, debug=self.debug, writer=self.writer,
     50                               learn=learn, step=self._step)

./venv/lib64/python3.8/site-packages/recnn/nn/update/ddpg.py in ddpg_update(batch, params, nets, optimizer, device, debug, writer, learn, step)
     55     # Value Learning
     56
---> 57     value_loss = value_update(batch, params, nets, optimizer,
     58                               writer=writer, device=device,
     59                               debug=debug, learn=learn, step=step)

./venv/lib64/python3.8/site-packages/recnn/nn/update/misc.py in value_update(batch, params, nets, optimizer, device, debug, writer, learn, step)
     20
     21     with torch.no_grad():
---> 22         next_action = nets['target_policy_net'](next_state)
     23         target_value = nets['target_value_net'](next_state, next_action.detach())
     24         expected_value = temporal_difference(reward, done, params['gamma'], target_value)

./venv/lib64/python3.8/site-packages/torch/nn/modules/module.py in __call__(self, *input, **kwargs)
    548             result = self._slow_forward(*input, **kwargs)
    549         else:
--> 550             result = self.forward(*input, **kwargs)
    551         for hook in self._forward_hooks.values():
    552             hook_result = hook(self, input, result)

./venv/lib64/python3.8/site-packages/recnn/nn/models.py in forward(self, state, tanh)
     64         :return: action
     65         """
---> 66         action = F.relu(self.linear1(state))
     67         action = self.drop_layer(action)
     68         action = F.relu(self.linear2(action))

./venv/lib64/python3.8/site-packages/torch/nn/modules/module.py in __call__(self, *input, **kwargs)
    548             result = self._slow_forward(*input, **kwargs)
    549         else:
--> 550             result = self.forward(*input, **kwargs)
    551         for hook in self._forward_hooks.values():
    552             hook_result = hook(self, input, result)

./venv/lib64/python3.8/site-packages/torch/nn/modules/linear.py in forward(self, input)
     85
     86     def forward(self, input):
---> 87         return F.linear(input, self.weight, self.bias)
     88
     89     def extra_repr(self):

./venv/lib64/python3.8/site-packages/torch/nn/functional.py in linear(input, weight, bias)
   1608     if input.dim() == 2 and bias is not None:
   1609         # fused op is marginally faster
-> 1610         ret = torch.addmm(bias, input, weight.t())
   1611     else:
   1612         output = input.matmul(weight.t())

RuntimeError: size mismatch, m1: [52039 x 1010], m2: [1290 x 256] at /pytorch/aten/src/TH/generic/THTensorMath.cpp:41

This is the network's defition:
value_net  = recnn.nn.Critic(1290, 128, 256, 54e-2)
policy_net = recnn.nn.Actor(1290, 128, 256, 6e-1)

cpu_device = torch.device('cpu')
ddpg = recnn.nn.DDPG(policy_net, value_net)
ddpg = ddpg.to(cpu_device)
plotter = recnn.utils.Plotter(ddpg.loss_layout, [['value', 'policy']],)

And this is the learning function:
# learn function
def learn():
    for epoch in range(n_epochs):
        for batch in env.train_dataloader:
            loss = ddpg.update(batch, learn=True)
            plotter.log_losses(loss)
            ddpg.step()
            if ddpg._step % plot_every == 0:
                clear_output(True)
                print('step', ddpg._step)
                test_loss = run_tests()
                plotter.log_losses(test_loss, test=True)
                plotter.plot_loss()
            if ddpg._step > 100:
                return

As you can see, I did almost nothing different to the sample code. So I really have no idea why this shape mismatch would happen. My data also seems identical to ML-20M in terms of structure. For embedding I've used matrix factorization via SVD and each item in it is an array of size 100.

Hi, if you are using recnn's wrapper, can you please give input shapes of the following:
train = env.train_batch()

state, action, reward, next_state, done = recnn.data.get_base_batch(train, device=torch.device('cpu'))
print(state.size(), action.size(), reward.size(), next_state.size(), done.size())

I've used matrix factorization via SVD and each item in it is an array of size 100.
See how the networks are defined:

value_net  = recnn.nn.Critic(1290, 128, 256, 54e-2)
policy_net = recnn.nn.Actor(1290, 128, 256, 6e-1)

From the docs:
recnn.nn.models.Actor(input_dim, action_dim, hidden_size, init_w=0.2)
class recnn.nn.models.Critic(input_dim, action_dim, hidden_size, init_w=3e-05)
Lets recap how we multiply matrices: Let A be a matrix of size [a,b] and B be [c, d]. You can multiply matrices iff b==c. I.E. A [a,b] and B[b, a]. You can only multiply [something, 1010] with [1010, something]
Your action size is 100. State is 10 of these actions + 10 previous rewards. You get 100*10 + 10 = 1010. This is your state size. Change it when you define the networks.
TL;DR. Specify
value_net  = recnn.nn.Critic(1010, 100, 256, 54e-2)
policy_net = recnn.nn.Actor(1010, 100, 256, 6e-1)

P.S. you might need to fiddle with hidden params (init weights, optimizer params, etc..) if you are using it with your own data. I have a full guide how I optimized it for ML 20 M here under "Making the DDPG understand" header.

Wow.  Thank you for taking the time to actually look into my issue. You're the best man.


The ticker is RIVN, not RVIN

Great data collection you have here. Used it to verify data from another service, but there's a problem with one of your tickers.

Thanks for catching and reporting this error.  I appreciate it.


Not working

Does not work after the update release 1.6.3
Does not start with the program brackets

Hi could you offer more details?
You could open Debug -> Show Developer Tools and paste the errors to here.

Exception in 'activeEditorChange' listener on Object TypeError: object is not a function TypeError: object is not a function
at activeEditorChangeHandler (file:///C:/Users/Denius/AppData/Roaming/Brackets/extensions/user/edc.brackets-snippets/main.js:37:18)
at Object.trigger (/utils/EventDispatcher.js:222:40)
at _notifyActiveEditorChanged (/editor/EditorManager.js:165:17)
at _handleCurrentFileChange (/editor/EditorManager.js:182:9)
at Object.trigger (/utils/EventDispatcher.js:222:40)
at eval (/view/MainViewManager.js:1081:29)
at Pane.trigger (/utils/EventDispatcher.js:222:40)
at Pane._notifyCurrentViewChange (/view/Pane.js:729:14)
at Pane.showView (/view/Pane.js:1011:14)
at _showEditor (/editor/EditorManager.js:557:14)
/utils/EventDispatcher.js:225 Assertion failed:

:joy: Someone has reported this error before, but I could not reproduce it. Maybe you could try to uninstall and reinstall the extension.

When was version 1.6.2 it worked fine

Exception in 'activeEditorChange' listener on Object {_eventHandlers: Object, on: function, off: function, one: function, trigger: function…}EventDispatcher: true_createFullEditorForDocument: function createFullEditorForDocument(document, pane) {arguments: (...)get arguments: function ThrowTypeError() { [native code] }arguments: nullcaller: nulllength: 0name: "ThrowTypeError"prototype: ThrowTypeErrorconstructor: function ThrowTypeError() { [native code] }proto: Object__proto: function Empty() {}set arguments: function ThrowTypeError() { [native code] }caller: (...)get caller: function ThrowTypeError() { [native code] }set caller: function ThrowTypeError() { [native code] }length: 2name: "createFullEditorForDocument"prototype: createFullEditorForDocument__proto: function Empty() {}_createUnattachedMasterEditor: function _createUnattachedMasterEditor(doc) {_eventHandlers: Object_notifyActiveEditorChanged: function _notifyActiveEditorChanged(current) {_saveEditorViewState: function _saveEditorViewState(editor) {canOpenPath: function canOpenPath(fullPath) {closeInlineWidget: function closeInlineWidget(hostEditor, inlineWidget) {createInlineEditorForDocument: function createInlineEditorForDocument(doc, range, inlineContent) {focusEditor: function focusEditor() {getActiveEditor: function getActiveEditor() {getCurrentFullEditor: function getCurrentFullEditor() {getCurrentlyViewedPath: function getCurrentlyViewedPath() {getFocusedEditor: function getFocusedEditor() {getFocusedInlineWidget: function getFocusedInlineWidget() {getInlineEditors: function getInlineEditors(hostEditor) {off: function (events, fn) {on: function (events, fn) {one: function (events, fn) {openDocument: function openDocument(doc, pane) {registerCustomViewer: function registerCustomViewer() {registerInlineDocsProvider: function registerInlineDocsProvider(provider, priority) {registerInlineEditProvider: function registerInlineEditProvider(provider, priority) {registerJumpToDefProvider: function registerJumpToDefProvider(provider) {resizeEditor: function resizeEditor() {setEditorHolder: function setEditorHolder() {trigger: function (eventName) {proto: Object TypeError: object is not a function TypeError: object is not a function
at activeEditorChangeHandler (file:///C:/Users/Denius/AppData/Roaming/Brackets/extensions/user/edc.brackets-snippets/main.js:37:18)
at Object.trigger (/utils/EventDispatcher.js:222:40)
at _notifyActiveEditorChanged (/editor/EditorManager.js:165:17)
at _handleCurrentFileChange (/editor/EditorManager.js:182:9)
at Object.trigger (/utils/EventDispatcher.js:222:40)
at eval (/view/MainViewManager.js:1081:29)
at Pane.trigger (/utils/EventDispatcher.js:222:40)
at Pane._notifyCurrentViewChange (/view/Pane.js:729:14)
at Pane.showView (/view/Pane.js:1011:14)
at _showEditor (/editor/EditorManager.js:557:14)/utils/EventDispatcher.js:224 trigger/editor/EditorManager.js:165 _notifyActiveEditorChanged/editor/EditorManager.js:182 _handleCurrentFileChange/utils/EventDispatcher.js:222 trigger/view/MainViewManager.js:1081 (anonymous function)/utils/EventDispatcher.js:222 trigger/view/Pane.js:729 Pane._notifyCurrentViewChange/view/Pane.js:1011 Pane.showView/editor/EditorManager.js:557 _showEditor/editor/EditorManager.js:627 openDocument/view/MainViewManager.js:1182 _edit/view/MainViewManager.js:1272 (anonymous function)thirdparty.min.js:559 jthirdparty.min.js:559 k.fireWiththirdparty.min.js:559 e.(anonymous function)/document/DocumentManager.js:379 (anonymous function)thirdparty.min.js:559 jthirdparty.min.js:559 k.fireWiththirdparty.min.js:559 e.(anonymous function)/file/FileUtils.js:82 (anonymous function)/filesystem/File.js:125 (anonymous function)/filesystem/impls/appshell/AppshellFileSystem.js:378 (anonymous function)
/utils/EventDispatcher.js:225 Assertion failed:/utils/EventDispatcher.js:225 trigger/editor/EditorManager.js:165 _notifyActiveEditorChanged/editor/EditorManager.js:182 _handleCurrentFileChange/utils/EventDispatcher.js:222 trigger/view/MainViewManager.js:1081 (anonymous function)/utils/EventDispatcher.js:222 trigger/view/Pane.js:729 Pane._notifyCurrentViewChange/view/Pane.js:1011 Pane.showView/editor/EditorManager.js:557 _showEditor/editor/EditorManager.js:627 openDocument/view/MainViewManager.js:1182 _edit/view/MainViewManager.js:1272 (anonymous function)thirdparty.min.js:559 jthirdparty.min.js:559 k.fireWiththirdparty.min.js:559 e.(anonymous function)/document/DocumentManager.js:379 (anonymous function)thirdparty.min.js:559 jthirdparty.min.js:559 k.fireWiththirdparty.min.js:559 e.(anonymous function)/file/FileUtils.js:82 (anonymous function)/filesystem/File.js:125 (anonymous function)/filesystem/impls/appshell/AppshellFileSystem.js:378 (anonymous function)

I saw the whole thing in the Brackets.1.2.
I installed Brackets.1.1.Extract and everything was working steadily

It looks like a conflict with Emmet
after it is installed, you get this error

now precisely understood,
when I was doing my snippets
as pointed out in the description - $ ('') or .css('{}') apparently when loading the module were not screened these descriptions and it turned into a bug
after I removed from the description of these signs ($,., {}) all work is restored!
I think you should release an update to fix this bug

Thanks for the report, I've tried to create some snippets and filled in the descriptions with the signs you mentioned, and also restart the app, but still no errors.

And I'm also using Emmet as well, so I don't think there're any relevances with it.


docs: reduce state space in JWT spec

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.73%. Comparing base (39bf46e) to head (cec69d6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage   82.73%   82.73%
=======================================
  Files           3        3
  Lines         388      388
  Branches       70       70
=======================================
  Hits          321      321
  Misses         67       67

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.