IndexError: list index out of range

Hey team,
thanks for the great work with olivertwist!
We are using olivertwist in the CircleCI pipeline in one of our dbt projects and it works great. When rolling it out to other dbt projects I encountered an issue. Set up for olivertwist is the same and I am not aware of any difference in the dbt project that could explain this.
I am not sure how to debug this, so wanted to check if you have any ideas or pointers for me. I also had talked to a colleague that had the same issue in a different dbt project, so it seems not just my local set up.
Let me know if there is a better place or way to report issues like this. And also if you would need more information around set up to troubleshoot this.
Thank you!
Version: olivertwist  0.2
Traceback:
Traceback (most recent call last):
  File "/.venv/bin/olivertwist", line 8, in <module>
    sys.exit(main())
  File "/.venv/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/.venv/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/.venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/.venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/.venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/.venv/lib/python3.8/site-packages/olivertwist/main.py", line 66, in check
    results = rule_engine.run(manifest)
  File "/.venv/lib/python3.8/site-packages/olivertwist/ruleengine/engine.py", line 44, in run
    return [Result(rule, *rule.apply(manifest)) for rule in self.rules]
  File "/.venv/lib/python3.8/site-packages/olivertwist/ruleengine/engine.py", line 44, in <listcomp>
    return [Result(rule, *rule.apply(manifest)) for rule in self.rules]
  File "/.venv/lib/python3.8/site-packages/olivertwist/ruleengine/rule.py", line 30, in apply
    return self.func(manifest)
  File "/.venv/lib/python3.8/site-packages/olivertwist/rules/no_references_outside_of_its_staging_area.py", line 35, in no_references_outside_of_its_own_staging_area
    return list(passes), list(failures)
  File "/.venv/lib/python3.8/site-packages/olivertwist/rules/no_references_outside_of_its_staging_area.py", line 24, in staging_depends_on_staging_in_another_area
    different_staging_area_refs = [
  File "/.venv/lib/python3.8/site-packages/olivertwist/rules/no_references_outside_of_its_staging_area.py", line 28, in <listcomp>
    if not manifest.get_node(p).area == node.area
  File "/.venv/lib/python3.8/site-packages/olivertwist/manifest.py", line 95, in area
    return self.data["fqn"][2]
IndexError: list index out of range

@LukasSandm was any progress made on this issue?

@dorzey thank you for your reply. Unfortunately not. Any pointers or ideas how to resolve this?

@LukasSandm I think it's possible that we've made a faulty assumption about how many times appear in the fqn array. Is it possible for you to share the manifest.json that is causing this problem?


Fix #213

Firefox follows the W3C WebDriver standard, which here says:

The web element identifier is the string constant "element-6066-11e4-a52e-4f735466cecf".

Sorry for the delay, and thank you very much!

Was just bitten by this one. Any chance for a release bump (including the switch to Jason PR as well)? :) Thanks!


Fix typo in README

There is a typo in README.rdoc.

Thanks.  There is actually another type there "propoerly"


You can login twice via fast-clicking the login form.

What is the current behavior?
When you click the login button fast twice, the server will login and have two sessions.
If the current behavior is a bug, please provide the exact steps to reproduce.

Go to login form.
Fill out player details.
Quickly press the LOGIN button twice.
Observe server Player has logged in twice.

What is the expected behavior?
To only allow the player to click login once.
Additional context
You can simply disable the Login button during the POST of login and release it if its successful or errors out.

Issue fixed thanks to a brilliant PR.


Documentation about Release Schedules is Missing

Our company is looking to adopt the operator-sdk as the basis for a few different internal operators. It would help us make decisions if we had more information about frequency of releases and size of releases, along with a roadmap with timelines. Are these available?

You are right we will try to formalize this.

bump :) cc @jfchevrette  @jmrodri  any roadmap info we can get our hands on ?

Hi, @joelanford @dmesser,
Have we this already? If not, have we a plan to do it? Could we attend it or it should be closed?


Update dyncall from stealify-backports/....

We created a mirror at stealify backports for interop with dyncall we should depend on that in our build throw DEPS out and replace it with our DEPS file

https://github.com/stealify-backports/https-dyncall.org-pub-dyncall-dyncall/tree/add_sbffi


"Cannot open device: failed backend open call"

Describe the bug
LTFS is failing to handle the following tape device:
sudo ltfs -o device_list
10760 LTFS14000I LTFS starting, LTFS version <IP_ADDRESS> (Prelim), log level 2.
10760 LTFS14058I LTFS Format Specification version 2.4.0.
10760 LTFS14104I Launched by "ltfs -o device_list".
10760 LTFS14105I This binary is built for Linux (x86_64).
10760 LTFS14106I GCC version is 11.4.0.
10760 LTFS17087I Kernel version: Linux version 5.15.0-97-generic (buildd@lcy02-amd64-033) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 i386.
10760 LTFS17089I Distribution: PRETTY_NAME="Ubuntu 22.04.4 LTS".
10760 LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
10760 LTFS17085I Plugin: Loading "sg" tape backend.
Tape Device list:.
Device Name = /dev/sg3 (<IP_ADDRESS>), Vendor ID = TANDBERG, Product ID = LTO-6 HH        , Serial Number = <REDACTED>, Product Name =[TANDBERG LTO6].

With the information above, any further operation with LTFS will fail the same error:
sudo ltfs -o /dev/sg3 /tmp/ltfs
10f81 LTFS14000I LTFS starting, LTFS version <IP_ADDRESS> (Prelim), log level 2.
10f81 LTFS14058I LTFS Format Specification version 2.4.0.
10f81 LTFS14104I Launched by "ltfs -o /dev/sg3 /tmp/ltfs".
10f81 LTFS14105I This binary is built for Linux (x86_64).
10f81 LTFS14106I GCC version is 11.4.0.
10f81 LTFS17087I Kernel version: Linux version 5.15.0-97-generic (buildd@lcy02-amd64-033) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 i386.
10f81 LTFS17089I Distribution: PRETTY_NAME="Ubuntu 22.04.4 LTS".
10f81 LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
10f81 LTFS14063I Sync type is "time", Sync time is 300 sec.
10f81 LTFS17085I Plugin: Loading "sg" tape backend.
10f81 LTFS17085I Plugin: Loading "unified" iosched backend.
10f81 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
10f81 LTFS30209I Opening a device through sg-ibmtape driver (0).
10f81 LTFS30288I Opening a tape device for drive serial 0.
10f81 LTFS12012E Cannot open device: failed backend open call.
10f81 LTFS10004E Cannot open device '0'.

This is an HH internal LTO-6 drive with SAS6 inteface, connected to an LS2004 SAS6 HBA:
03:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2004 PCI-Express Fusion-MPT SAS-2 [Spitfire] (rev 03)
lsscsi
[3:0:0:0]    tape    TANDBERG LTO-6 HH         3519  /dev/st0
sg_utils commands are working, such as eject and VPD:
sudo sg_vpd --all /dev/sg3
Supported VPD pages VPD page:
  Supported VPD pages [sv]
  Unit serial number [sn]
  Device identification [di]
  Management network addresses [mna]
  Extended inquiry data [ei]
  Mode page policy [mpp]
  SCSI ports [sp]
  Protocol-specific logical unit information [pslu]
  Sequential access device capabilities (SSC) [sad]
  Manufacturer assigned serial number (SSC) [mas]
  TapeAlert supported flags (SSC) [tas]
  Automation device serial number (SSC) [adsn]
  Data transfer device element address (SSC) [dtde]
  0xc0
  0xc1
  0xc2
  0xc3
  0xc4
  0xc8

Unit serial number VPD page:
  Unit serial number: <REDACTED>

Device Identification VPD page:
  Addressed logical unit:
    designator type: NAA,  code set: Binary
      0x51402ec00141d11e
  Target port:
    designator type: NAA,  code set: Binary
     transport: Serial Attached SCSI Protocol (SPL-4)
      0x51402ec00141d11c
    designator type: Relative target port,  code set: Binary
     transport: Serial Attached SCSI Protocol (SPL-4)
      Relative target port: 0x1
    designator type: Target port group,  code set: Binary
     transport: Serial Attached SCSI Protocol (SPL-4)
      Target port group: 0x0
  Target device that contains addressed lu:
    designator type: NAA,  code set: Binary
     transport: Serial Attached SCSI Protocol (SPL-4)
      0x51402ec00141d11e
    designator type: T10 vendor identification,  code set: ASCII
     transport: Serial Attached SCSI Protocol (SPL-4)
      vendor id: TANDBERG
      vendor specific: LTO-6 HH        <REDACTED>

Management network addresses VPD page:

extended INQUIRY data VPD page:
  ACTIVATE_MICROCODE=2 SPT=1 GRD_CHK=0 APP_CHK=0 REF_CHK=0
  UASK_SUP=0 GROUP_SUP=0 PRIOR_SUP=0 HEADSUP=0 ORDSUP=0 SIMPSUP=1
  WU_SUP=0 [CRD_SUP=0] NV_SUP=0 V_SUP=0
  NO_PI_CHK=0 P_I_I_SUP=0 LUICLR=1
  LU_COLL_TYPE=0 R_SUP=0 RTD_SUP=0 HSSRELEF=0 [CBCS=0]
  Multi I_T nexus microcode download=0
  Extended self-test completion minutes=0
  POA_SUP=0 HRA_SUP=0 VSA_SUP=0 DMS_VALID=0
  Maximum supported sense data length=0
  IBS=0 IAS=0 SAC=0 NRD1=0 NRD0=0
  Maximum inquiry change logs=0
  Maximum mode page change logs=0
  DM_MD_4=0 DM_MD_5=0 DM_MD_6=0 DM_MD_7=0
  DM_MD_D=0 DM_MD_E=0 DM_MD_F=0

Mode page policy VPD page:
  Policy page code: 0x3f,  subpage code: 0xff
  therefore the policy applies to all modes pages and subpages
    MLUS=0,  Policy: shared
  Policy page code: 0x2
    MLUS=1,  Policy: shared
  Policy page code: 0x18
    MLUS=1,  Policy: per I_T nexus
  Policy page code: 0x19
    MLUS=1,  Policy: per target port
  Policy page code: 0x19,  subpage code: 0x1
    MLUS=1,  Policy: per target port
  Policy page code: 0xa,  subpage code: 0xf0
    MLUS=0,  Policy: per I_T nexus

SCSI Ports VPD page:
  Relative port=1
    Target port descriptor(s):
      designator type: NAA,  code set: Binary
       transport: Serial Attached SCSI Protocol (SPL-4)
        0x51402ec00141d11c
  Relative port=2
    Target port descriptor(s):
      designator type: NAA,  code set: Binary
       transport: Serial Attached SCSI Protocol (SPL-4)
        0x51402ec00141d11d

Protocol-specific logical unit information:
  Relative port=1
    Protocol identifier: SAS
    TLR control supported: 1
  Relative port=2
    Protocol identifier: SAS
    TLR control supported: 1

Sequential-access device capabilities VPD page (SSC):
  WORM=1

Manufactured-assigned serial number VPD page (SSC):
  Manufacturer-assigned serial number: <REDACTED>

TapeAlert supported flags VPD page (SSC):
  Flag01h: 1  02h: 1  03h: 1  04h: 1  05h: 1  06h: 1  07h: 1  08h: 0
  Flag09h: 1  0Ah: 1  0Bh: 1  0Ch: 1  0Dh: 1  0Eh: 1  0Fh: 1  10h: 1
  Flag11h: 1  12h: 1  13h: 1  14h: 1  15h: 1  16h: 1  17h: 1  18h: 1
  Flag19h: 1  1Ah: 1  1Bh: 1  1Ch: 1  1Dh: 1  1Eh: 1  1Fh: 1  20h: 1
  Flag21h: 1  22h: 1  23h: 1  24h: 1  25h: 1  26h: 1  27h: 1  28h: 0
  Flag29h: 0  2Ah: 0  2Bh: 0  2Ch: 0  2Dh: 0  2Eh: 0  2Fh: 0  30h: 0
  Flag31h: 1  32h: 1  33h: 1  34h: 1  35h: 1  36h: 1  37h: 1  38h: 1
  Flag39h: 1  3Ah: 1  3Bh: 1  3Ch: 1  3Dh: 0  3Eh: 0  3Fh: 0  40h: 0

Automation device serial number VPD page SSC):
  Automation device serial number:

Data transfer device element address (SSC):
  Data transfer device element address: 0xffffffff

Drive component revision levels (IBM LTO) VPD Page:
 00     01 c0 00 5c 43 6f 6d 70  6f 6e 65 6e 74 20 3d 20    ...\Component =
 10     46 69 72 6d 77 61 72 65  20 20 20 20 20 20 56 65    Firmware      Ve
 20     72 73 69 6f 6e 20 3d 20  30 31 38 2e 37 33 33 20    rsion = 018.733
 30     20 44 61 74 65 20 3d 20  32 30 31 34 2f 30 39 2f     Date = 2014/09/
 40     30 38 2d 30 39 3a 30 38  3a 56 61 72 69 61 6e 74    08-09:08:Variant
 50     20 3d 20 30 78 30 30 30  30 30 30 37 32 20 20 20     = 0x00000072

Drive serial numbers (IBM LTO) VPD Page:
 00     01 c1 00 5c 43 6f 6d 70  6f 6e 65 6e 74 20 3d 20    ...\Component =
 10     48 61 72 64 77 61 72 65  20 20 20 20 20 20 56 65    Hardware      Ve
 20     72 73 69 6f 6e 20 3d 20  48 2f 57 2e 52 45 56 20    rsion = H/W.REV
 30     20 44 61 74 65 20 3d 20  32 30 31 32 2f 30 31 2f     Date = 2012/01/
 40     30 31 20 30 30 3a 30 31  20 56 61 72 69 61 6e 74    01 00:01 Variant
 50     20 3d 20 30 78 38 30 30  33 30 35 30 30 20 20 20     = 0x80030500

PCA revision level (HP LTO) VPD Page:
 00     01 c2 00 5c 43 6f 6d 70  6f 6e 65 6e 74 20 3d 20    ...\Component =
 10     50 43 41 20 20 20 20 20  20 20 20 20 20 20 56 65    PCA           Ve
 20     72 73 69 6f 6e 20 3d 20  50 43 41 2e 4f 4e 45 20    rsion = PCA.ONE
 30     20 44 61 74 65 20 3d 20  32 30 31 32 2f 30 31 2f     Date = 2012/01/
 40     30 31 20 31 32 3a 31 32  20 56 61 72 69 61 6e 74    01 12:12 Variant
 50     20 3d 20 50 43 41 20 56  61 72 69 61 6e 74 20 20     = PCA Variant

Mechanism revision level (HP LTO) VPD Page:
 00     01 c3 00 5c 43 6f 6d 70  6f 6e 65 6e 74 20 3d 20    ...\Component =
 10     4d 65 63 68 61 6e 69 73  6d 20 20 20 20 20 56 65    Mechanism     Ve
 20     72 73 69 6f 6e 20 3d 20  4d 43 48 2e 56 45 52 20    rsion = MCH.VER
 30     20 44 61 74 65 20 3d 20  32 30 31 32 2f 30 31 2f     Date = 2012/01/
 40     30 31 20 31 32 3a 31 32  20 56 61 72 69 61 6e 74    01 12:12 Variant
 50     20 3d 20 4d 65 63 68 20  56 61 72 69 61 6e 74 20     = Mech Variant

Head Assy revision level (HP LTO) VPD Page:
 00     01 c4 00 5c 43 6f 6d 70  6f 6e 65 6e 74 20 3d 20    ...\Component =
 10     48 65 61 64 20 41 73 73  79 20 20 20 20 20 56 65    Head Assy     Ve
 20     72 73 69 6f 6e 20 3d 20  48 45 41 2e 56 45 52 20    rsion = HEA.VER
 30     20 44 61 74 65 20 3d 20  32 30 31 32 2f 30 31 2f     Date = 2012/01/
 40     30 31 20 31 32 3a 31 32  20 56 61 72 69 61 6e 74    01 12:12 Variant
 50     20 3d 20 48 65 61 64 20  56 61 72 69 61 6e 74 20     = Head Variant

Mode parameter default settings (IBM LTO) VPD Page:
 00     01 c8 00 04 04 00 00 00                             ........

To Reproduce
-Install LTFS on Ubuntu 22.04
-Attempt to run any LTFS command targeting the LTO tape device
Expected behavior
-Normal operation of LTFS
I saw an older comment about a non-IBM branch of this code, which is no longer availble.
Is Tandberg completely not supported?

Your command line sudo ltfs -o /dev/sg3 /tmp/ltfs is wrong.
You need to issue the command sudo ltfs -o devname=/dev/sg3 /tmp/ltfs.
See the detail in README.
https://github.com/LinearTapeFileSystem/ltfs?tab=readme-ov-file#step3-mount-a-tape-through-a-tape-drive

Thanks the reply, @piste-jp-ibm !
Same issue with the command provided:
root@storage:/home/user# root@storage:/home/user# ltfs -o devname=/dev/sg3 /tmp/ltfs
615b0 LTFS14000I LTFS starting, LTFS version <IP_ADDRESS> (Prelim), log level 2.
615b0 LTFS14058I LTFS Format Specification version 2.4.0.
615b0 LTFS14104I Launched by "ltfs -o devname=/dev/sg3 /tmp/ltfs".
615b0 LTFS14105I This binary is built for Linux (x86_64).
615b0 LTFS14106I GCC version is 11.4.0.
615b0 LTFS17087I Kernel version: Linux version 5.15.0-97-generic (buildd@lcy02-amd64-033) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 i386.
615b0 LTFS17089I Distribution: PRETTY_NAME="Ubuntu 22.04.4 LTS".
615b0 LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
615b0 LTFS14063I Sync type is "time", Sync time is 300 sec.
615b0 LTFS17085I Plugin: Loading "sg" tape backend.
615b0 LTFS11261E Cannot load plug-in: /usr/local/lib/ltfs/libiosched-unified.so: undefined symbol: ios_profiler_lock.
615b0 LTFS14055E Failed to load I/O scheduler plug-in (-1045).

Here's a more detailed output with a new compilation / make install:
# ltfs -o devname=/dev/sg3 /tmp/ltfs
630ab LTFS14000I LTFS starting, LTFS version <IP_ADDRESS> (Prelim), log level 2.
630ab LTFS14058I LTFS Format Specification version 2.4.0.
630ab LTFS14104I Launched by "ltfs -o devname=/dev/sg3 /tmp/ltfs".
630ab LTFS14105I This binary is built for Linux (x86_64).
630ab LTFS14106I GCC version is 11.4.0.
630ab LTFS17087I Kernel version: Linux version 5.15.0-97-generic (buildd@lcy02-amd64-033) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 i386.
630ab LTFS17089I Distribution: PRETTY_NAME="Ubuntu 22.04.4 LTS".
630ab LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
630ab LTFS14063I Sync type is "time", Sync time is 300 sec.
630ab LTFS17085I Plugin: Loading "sg" tape backend.
630ab LTFS17085I Plugin: Loading "unified" iosched backend.
630ab LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
630ab LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg3).
630ab LTFS30250I Opened the SCSI tape device <IP_ADDRESS> (/dev/sg3).
630ab LTFS30207I Vendor ID is TANDBERG.
630ab LTFS30208I Product ID is LTO-6 HH        .
630ab LTFS30214I Firmware revision is 3519.
630ab LTFS30215I Drive serial is <REDACTED>.
630ab LTFS30285I The reserved buffer size of /dev/sg3 is 1048576.
630ab LTFS30294I Setting up timeout values from RSOC.
630ab LTFS30205I TEST_UNIT_READY (0x00) returns -20209.
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30263I PRO returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30205I PRI (0x5e) returns -21719.
630ab LTFS30263I PRI returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30266W The drive is already reserved: unknown host (reserve command) (<REDACTED>).
630ab LTFS30268I Retry to reserve from key registration (<REDACTED>).
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30263I PRO returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30205I PRI (0x5e) returns -21719.
630ab LTFS30263I PRI returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30266W The drive is already reserved: unknown host (reserve command) (<REDACTED>).
630ab LTFS12024E Cannot reserve device: backend call failed (-21719).
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30205I PRI (0x5e) returns -21719.
630ab LTFS30263I PRI returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30266W The drive is already reserved: unknown host (reserve command) (<REDACTED>).
630ab LTFS30268I Retry to reserve from key registration (<REDACTED>).
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30263I PRO returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30205I PRI (0x5e) returns -21719.
630ab LTFS30263I PRI returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30266W The drive is already reserved: unknown host (reserve command) (<REDACTED>).
630ab LTFS12024E Cannot reserve device: backend call failed (-21719).
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30205I PRI (0x5e) returns -21719.
630ab LTFS30263I PRI returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30266W The drive is already reserved: unknown host (reserve command) (<REDACTED>).
630ab LTFS30268I Retry to reserve from key registration (<REDACTED>).
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30263I PRO returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30205I PRI (0x5e) returns -21719.
630ab LTFS30263I PRI returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS30266W The drive is already reserved: unknown host (reserve command) (<REDACTED>).
630ab LTFS12024E Cannot reserve device: backend call failed (-21719).
630ab LTFS12014E Cannot open device: failed to reserve the device (-21719).
630ab LTFS30205I TEST_UNIT_READY (0x00) returns -20209.
630ab LTFS30205I TEST_UNIT_READY (0x00) returns -20209.
630ab LTFS30205I TEST_UNIT_READY (0x00) returns -20209.
630ab LTFS30205I MODESELECT (0x55) returns -20500.
630ab LTFS30263I MODESELECT returns Invalid Field in Parameter List (-20500) /dev/sg3.
630ab LTFS30205I PRO (0x5f) returns -21719.
630ab LTFS30263I PRO returns Drive reservation conflict (-21719) /dev/sg3.
630ab LTFS10004E Cannot open device '/dev/sg3'.

Sorry, I'm little bit confused... Previous 2 comments are related ? What you want to report?
First one is just a dynamic loading error in LTFS (not the os loader). I don't see this kind of error in the past.
On the other hand, it, the loader problem, is resolved with no explanation. And the second problem looks a kind of reservation conflict.
I don't think there are related at all. Please separate issue if you want to report another problem.

No worries - I replaced this tape drive (Tandberg) for an IBM HH still LTO6, same routine, commands and software, and everything worked as expected.
I'll close since I will not have time to debug this further. Thank you very much @piste-jp-ibm.


⚠ Bofrost.be has degraded performance

In 43b658e, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 977 ms

Resolved: Bofrost.be performance has improved in 49bd476.


DOI status in submission does not updates when files are uploaded or removed

Describe the bug
You can mint and list DOIs in submission (https://wiki.lyrasis.org/display/DSDOC8x/DOI+Digital+Object+Identifier#DOIDigitalObjectIdentifier-Configuringpre-registrationofIdentifiers). You can configure one filter that is being evaluated during submission and decides whether a DOI will be shown or not. This filter can check for any thing the logical item filtering (https://wiki.lyrasis.org/display/DSDOC8x/Logical+Item+Filtering+and+DOI+Filtered+Provider+for+DSpace) supports, including if a file is attached to the item or not. Unfortunately, the update of the DOI status triggers only on metadata being changed and not on files being added or removed from the item.
To Reproduce
Steps to reproduce the behavior:

In dspace/config/spring/api/identifier-service.xml activate the DOIIdentifierProvider and the DataCiteConnector. Configure identifider.doi.username, identifier.doi.password, and identifier.doi.prefix to contain any values (you do not need a valid account with a DOI registration agency to test this).
In dspace/config/modules/identifiers.cfg, set identifiers.submission.register = true and identifiers.submission.filter.workspace = doi-filter
in dspace/config/item-submission.xml activate the identifiers step in the form traditionalpageone.
Start DSpace backend and frontend
create an account, login, create a community and a collection
create a submission and see that a handle is being shown as the identifier the item will get, once it's archived
upload a file and take a look on the identifiers step. No DOI being shown, even if you reload the submission form.
add a value in any metadata field and save the changes.
Check the identifier section again, it will show a DOI.

Expected behavior
If we can filter if an item gets a doi depending on a file being attached to the item, updating the status should trigger on adding or deleting files from an item.
reason and solution
The DOIConsumer updates the status of the DOI. Unfortunately it accepts only MetadataModify events: https://github.com/DSpace/DSpace/blob/3738d21e0dcd05a6a484bcbfff97135dfd946315/dspace-api/src/main/java/org/dspace/identifier/doi/DOIConsumer.java#L64-L67. It should be changed to accept add and delete events. Beside changing the code of the class, we must change its default configuration: https://github.com/DSpace/DSpace/blob/3738d21e0dcd05a6a484bcbfff97135dfd946315/dspace/config/dspace.cfg#L800

I have currently no plans to fix this. We show identifiers in submission to make it possible to add those into files before you upload them. Therefore, I don't see a reason to use a filter checking for bitstreams/files during submission. I created this issue to document this behavior, in case anyone runs into this.

As there are no immediate plans to fix this, I'll move this to our "Unscheduled" backlog and marking it as needs help.  If someone wants to claim and fix they can do so.


Commit result inspection

Is it somehow (maybe already now?) possible to inspect the result of a commit and at least check whether the item was changed in some way or not?

If you are referring to a Github commit, under the <> code tab in the header, you should be able to navigate to a particular file and a "History" button should appear. Clicking on this will reveal all commits and the changes made in each commit.

Ah, sorry Iman, that was misleading. I was refering to a Jama commit. After we have changed and comitted a set of objects to Jama we are showing a kind of reuslt page were we at least tell the number of creations, deletions and modifications. For the later, we somehow need to know whether we really changed somethign or not.

You can tell whether or not an item has been updated using the lastModifiedDate. If the date is same as the last commit date, it was most likely updated. If it's older, no updates occurred.


Added Code For find rea of cuboid

Why:
Closes #2586
https://github.com/codinasion/program/issues/2586
What's being changed:
Write a C program to find area of cuboid

Why:
Closes https://github.com/codinasion/program/issues/2586
https://github.com/codinasion/program/issues/2586
What's being changed:
Write a C program to find area of cuboid

@HeYPoonam
Please find issues that are not assigned to anyone else. Also, make sure to type !assign in the isse that you would like to contribute!!
Thank you!


Cannot query video position: status=0, value=-1, duration=-1

Hi,
When I try to use this pipeline I got this warning which seems to prevent the face detection.
libcamerasrc ! video/x-raw, width=1280, height=720, framerate=30/1 ! videoconvert ! videoscale  ! video/x-raw, width=640, height=360 ! appsink

[<EMAIL_ADDRESS>global /tmp/pip-req-build-z2xtb70a/opencv/modules/videoio/src/cap_gstreamer.cpp (1374) open OpenCV | GStreamer warning: unable to query duration of stream
[<EMAIL_ADDRESS>global /tmp/pip-req-build-z2xtb70a/opencv/modules/videoio/src/cap_gstreamer.cpp (1405) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1

Running OpenCV 4.5.5 on Raspberry Pi OS 11 Bullseye 64-bit with a Raspberry Pi Camera v2.1 using imx219 kernel module.
The pipeline doesn't return any warning related to this query video position when using it with gst-launch-1.0:
$ gst-launch-1.0 libcamerasrc ! video/x-raw, width=1280, height=720, framerate=30/1 ! videoconvert ! videoscale  ! video/x-raw, width=640, height=360 ! appsink
Setting pipeline to PAUSED ...
[1:01:06.434548106] [5123]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3156-f4070274
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[1:01:06.468048930] [5127]  INFO Camera camera.cpp:937 configuring streams: (0) 1280x720-NV21
[1:01:06.468247873] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 3280x2464 fmt RG10 Score: 3775.83 (best 3775.83)
[1:01:06.468300798] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt RG10 Score: 1750 (best 1750)
[1:01:06.468325687] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 1640x1232 fmt RG10 Score: 3057.83 (best 1750)
[1:01:06.468349279] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt RG10 Score: 4593.33 (best 1750)
[1:01:06.468373834] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 3280x2464 fmt pRAA Score: 3275.83 (best 1750)
[1:01:06.468397112] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt pRAA Score: 1250 (best 1250)
[1:01:06.468420297] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 1640x1232 fmt pRAA Score: 2557.83 (best 1250)
[1:01:06.468443112] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt pRAA Score: 4093.33 (best 1250)
[1:01:06.468470463] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 3280x2464 fmt RGGB Score: 4775.83 (best 1250)
[1:01:06.468493778] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 1920x1080 fmt RGGB Score: 2750 (best 1250)
[1:01:06.468516852] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 1640x1232 fmt RGGB Score: 4057.83 (best 1250)
[1:01:06.468539685] [5124]  INFO RPI raspberrypi.cpp:122 Mode: 640x480 fmt RGGB Score: 5593.33 (best 1250)
[1:01:06.468653869] [5124]  INFO RPI raspberrypi.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected mode: 1920x1080-pRAA
[1:01:06.488074210] [5124]  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[1:01:06.488120469] [5124]  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[1:01:06.488138413] [5124]  INFO RPISTREAM rpi_stream.cpp:122 No buffers available for ISP Output0
[1:01:06.558426383] [5124]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (6 left)
[1:01:06.591668858] [5124]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (5 left)
[1:01:06.625023498] [5124]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (4 left)
[1:01:06.657991161] [5124]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (3 left)
[1:01:06.720120779] [5124]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (2 left)
[1:01:06.778816744] [5124]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (1 left)
[1:01:06.838761512] [5124]  INFO RPI raspberrypi.cpp:1636 Dropping frame at the request of the IPA (0 left)
WARNING: from element /GstPipeline:pipeline0/GstAppSink:appsink0: Pipeline construction is invalid, please add queues.
Additional debug info:
../libs/gst/base/gstbasesink.c(1249): gst_base_sink_query_latency (): /GstPipeline:pipeline0/GstAppSink:appsink0:
Not enough buffering available for  the processing deadline of 0:00:00.020000000, add enough queues to buffer  0:00:00.020000000 additional data. Shortening processing latency to 0:00:00.000000000.

Thanks for your help.

Does this warning prevent you from getting the frames in OpenCV?
Sometimes, I've got those warnings and the stream still works good in OpenCV.

Does this warning prevent you from getting the frames in OpenCV? Sometimes, I've got those warnings and the stream still works good in OpenCV.

My camera was rotated to 180 degrees...
Sorry for the noise and thanks for answering.


Making clear currently editing file's name

I would like to propose to beautify Filemin file editor's mode to make file and its path in table header, like all-over Webmin. Here is the example in screenshot:

Notice where the file name is.. Could ya do dat?

Next minor release :)

:+1:

Well. I already made it differently in Authentic. I will wait for release preview. I hope it will not bring much breakages! ;)

Looks like screenshot you provided.

Alright, that I understood! Thanks, Sasha!

U'r welcome :)


Adapt to Mastodon's new ProjectModel

[ ] Make this repository compatible with mastodon version 1.0.0-beta-27
[ ] Add a unit to make sure everything still works. The unit test could simulate:

creating a shared project

cloning a share project

two people contributing simultaneously

Make sure the plugin still works if the dataset is not available on a specific machine:
https://github.com/maarzt/mastodon-git/commit/24dd398362065aac2c920e4ca6aa4f1aa6a457ad#diff-a9ccbd89008809a2a88004294ab8cb578090ec58e31bcae89b3fb37bb073b4a6


Users role

When then user parameter is used, does it return groups/teams in which the user is an Owner or Member?
I'd like to be able to get the Teams that are owned by someone, but not the ones in which they are only a member. Currently this require multiple modules and a somewhat complicated script. It would be helpful if we could just do a Get-Team -User upn -Role owner

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

ID: 8450991f-9f85-4d87-51b3-efa8e1004a24
Version Independent ID: cb290aa5-ce28-10a4-f17c-cc5db6edc706
Content: Get-Team (teams)
Content Source: teams/teams-ps/teams/Get-Team.md
Service: teams-powershell
GitHub Login: @kenwith
Microsoft Alias: kenwith

@officedocsbot assign @yogkumgit

Hi @DeanGross, thank you for your feedback.
Considering the nature of the request, it is advised that please go to User Voice:
https://microsoftteams.uservoice.com

@DeanGross  Thank you very much for your kind feedback. Considering your valuable feedback, we request you to log this issue as User Voice. Concerning team will evaluate and take the appropriate action, as per their schedule. Thanks again for taking out some time and sharing your feedback.

@officedocsbot close


Argument type in Canvas is not assignable to parameter type string | HTMLCanvasElement

Hi! Is there any way to convert node canvas into string or HTMLCanvasElement? I use js, not ts.

Try: lastFrameCanvas = document.getElementById('yourcavasid') as HTMLCanvasElement;

Node canvas and HTMLCanvasElement are essentially the same to face-api.js. Not sure what kind of type checker you are using there, but simply tell it, that it's ok to pass node canvases into this function.


Integrating with Autofac

Would be cool to create an integration package for Autofac. There are lot's of thing that we could add here so hesitate to add something in the comments ;) The simplest integration would be:
containerBuilder.RegisterValit();

Calling that we would look through the assembly and register all valitators as singletons.

Actually, we are targetting for .NET Core (right?) why don't we use built-in dependency resolver and simplify to
    services.AddValit();

Thanks to this, we would be able to ignore existance of all DI frameworks. Tell me if i'm wrong :)


Inserter bottleneck

Suggestion
Would it be feasible to calculate the number of inserters of a particular grade required to transport the materials in and out?

It would be possible to kinda approximate it, yes. Predicting inserters is tricky, as it depends on a lot of things, plus there's just tons of types of inserters. I have some plans for it #71, but it'll go along with some other bigger changes.  I'll close this one since the above named issue has the same topic.


Problem connecting to server on AWS

Having an issue getting the OpenRTiST server running AWS. Get everything set up and running but when I connect the client, getting a python error. Using latest Deep Learning Ubuntu AMI (9.0). The AMI referenced in the documentation is no longer available.
Any ideas?
INFO     --------------------------------------------------
INFO     User communication module is connected
INFO     New offloading engine connected to video stream
INFO     Mobile client is connected for (Mobile Video Server)
INFO     Mobile client is connected for (Mobile Result Server)
WARNING  connection closed not gracefully (Mobile Result Server): 'utf8' codec can't decode byte 0xff in position 0: invalid start byte
WARNING  Traceback (most recent call last):
File "/workspace/gabriel/server/bin/../gabriel/common/network/TCP.py", line 91, in handle
self._handle_queue_data()
File "/workspace/gabriel/server/bin/../gabriel/control/mobile_server.py", line 381, in _handle_queue_data
rtn_header=json.dumps(rtn_header_json)
File "/usr/lib/python2.7/json/init.py", line 243, in dumps
return _default_encoder.encode(obj)
File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start byte
INFO     [TERMINATE] Finish Mobile Result Server

@jblakley,
I venture you have run the gabriel-control without the legacy flag (-l) and then attempted to connect the legacy Android client to it.  There are slight differences in the protocols between the legacy and non-legacy applications and this is likely the error you are seeing. If you were to launch the python OpenRTiST client, which uses the newer protocol, you probably would not see any issue. Stop the proxy, gabriel-ucomm, and gabriel-control and ensure you relaunch the control with the -l flag.
Regards,
Tom

I verified I was running with the -l option. And, stopped and restarted several times control, ucomm and proxy -- still same thing. I also tried running without the -l option and the Android client app just crashed when it connected to server.

Yeah, you can't connect the Android client to gabriel-control unless you have the -l option. One other data point you could test, is whether or not you can get the Python client to connect to gabriel-control without the -l flag. If this also doesn't work, then it must be something else. I will try to setup the same environment in AWS and see if I run into the same issue.

I set OpenRTiST up on EC2 Oregon using the same Deep Learning 9.0 image you mentioned. I was able to connect to it without issue (though it did install a newer version of docker-ce than nvidia-docker requires so I had to manually downgrade it).
Did you start the proper proxy.py (i.e. the one in /workspace/gabriel/server/openrtist/openrtist_android) for connecting Android clients? If you started this one that resides in openrtist_python this could by why there is a mismatch in decoding the data sent from the client.

@jblakley,
I also verified that the image in the README (ami-041db87c) is still available. It is no longer listed in the Quick Start set of images when you go to launch an instance, but if you go to the 'Community AMIs' tab and search for that ami ID, you can then select that image to launch.
Regards,
Tom

Aha! That's it -- you solved it! I had started the proxy from /workspace/gabriel/server/openrtist/openrtist_python rather than from /workspace/gabriel/server/openrtist/openrtist_android.
Its working great now with the Deep Learning 9.0 image.
Thanks, Tom!!!


BUG : Navbar is not responsive

Description
Navbar is not behave responsive as you decrease the width of device after reaching certain We can't even get access to  Navbar.
Actual Behavior
Navbar element disappear when width of device or screen become less
Expected Behavior
A bar button should be there so that when device reach certain height we can access the element of navbar from there.

Can you assign me this issue under GSSOC'24

already solved the navbar issue


Be able to upload a file directly to an album using the site

Right now this is only possible through the API

Implemented in 6dda995


[BUG] Issues with Canvas and Kanban Plugins

User report
Description: ADD A SHORT DESCRIPTION HERE
When typing text into the Canvas node, it flows vertically while node is in focus. When focus goes off that node, it displays horizontally as it should. Same thing happening in Kanbans.
Images attached.

Debugger data (do not alter)
plugin_version: "0.2.0"
platform: "Desktop"
framework_version: "1.6.7"
obsidian_version: "1.7.1"

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."


POL_7 generates ERROR, should be WARN

When validating an empty spreadsheet, POL_7 generates an ERROR. It is correct that it should be flagged whenever a spreadsheet is empty since this indicates a possible issue with conversion and should be investigated. But there could be valid reasons for having a random empty spreadsheet, so this should only be WARNING level.

This was by design and hence requires no action.
Close this issue without change.

I'm doing as @dewhattens suggests here, we can discuss if necessary @maria-messerschmidt


feat: binary websocket support

WIP.
LFS World websocket relay seems to be dead, or tungstenite is incompatible. I haven't investigated very far, based on https://www.lfs.net/forum/post/2042576#post2042576.
In principle it works, which is primarily what I wanted to see (i.e. can we make an arbitrary ClientTransport)?

For when I next circle back to this:
❯ RUST_LOG=debug,tungstenite cargo run --example transport -- relay --select-host "^0[^7MR^0c]^7 Beginner^0 BMW" --websocket
    Finished dev [unoptimized + debuginfo] target(s) in 0.27s
     Running `/home/karl/Code/insim.rs/target/debug/examples/transport relay --select-host '^0[^7MR^0c]^7 Beginner^0 BMW' --websocket`
2023-04-23T18:17:51.616380Z  INFO transport: Connecting via LFS World Relay Websocket!
2023-04-23T18:17:51.646596Z TRACE tungstenite::handshake::client: Request: "GET /connect HTTP/1.1\r\nHost: isrelay.lfs.net:47474\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: YxxBrg0rs/PInSq4c9Xumg==\r\n\r\n"
2023-04-23T18:17:51.646868Z TRACE tungstenite::handshake::client: Client handshake initiated.
2023-04-23T18:17:51.646998Z TRACE tungstenite::handshake::machine: Doing handshake round.
2023-04-23T18:17:51.647271Z TRACE tungstenite::handshake::machine: Doing handshake round.
2023-04-23T18:17:51.647379Z TRACE tungstenite::handshake::machine: Doing handshake round.
2023-04-23T18:17:51.672446Z TRACE tungstenite::handshake::machine: Doing handshake round.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Protocol(HandshakeIncomplete)', /home/karl/Code/insim.rs/insim/src/websocket_stream.rs:28:78
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Will probably be superseded once #95 has been completed.

Superseded by #95


Move language picker to the header bar

The language picker isn't discoverable when viewing a report, since it's at the bottom of the page. Users who don't generate reports are unlikely to have seen our UI before and so won't know to look there for the language menu.
Moving the language picker to the top-right part of the header is consistent with where it's placed on other sites:

Making the language picker overall slightly smaller, and making the flag icon bigger, would help this fit in the header while also being noticeable enough for first-time users. The screenshot above shows ideal spacing and sizing.

Done.


Generate dynamic routes with accent marks impossible to get it working

Versions

nuxt: v2.15.5
node: v14.16.1

Reproduction
https://codesandbox.io/s/codesandbox-nuxt-2h2md
https://github.com/jgrandar/codesandbox-nuxt/tree/master/

I would like to get a full static site without a API backend so all API calls should be done on the generate proccess, it work fine as soon as you don't use accent marks on the URL.

Route and API URL with accent marks: nuxt generate produce errors and these pages will default to SPA.
Route with accent marks and id for API URL: nuxt generate doesn't produce errors but fallback to SPA requesting the API when page is loaded. This method would not be valid on other situations as is not possible to get the id if user try to access directly typing the ULR on the browser bar or if the page is refreshed but as I am using nuxt generate the page should be available with the data thanks to the nuxt crawler at compilation time.

Steps to reproduce
Go to the codesandbox or clolne locally the repo.
Make sure you choose the right axios urls on pages/productos/index.vue and pages/productos/_slug/index.vue files:
Uncomment the "api/..." line if working locally or "https://2h2md.sse.codesandbox.io/api/..." if testing on codesandbox.
Try to run "yarn nuxt generate" switching on file pages/productos/_slug/index.vue the axios URL "id" and "slug".
What is Expected?
Routes with accent marks should be generated with no SPA fallback or generate errors and no API calls should be done once generated.
What is actually happening?
nuxt generate produce errors if you use id to retrieve the data from backend (seems like only allow to use the dynamic parameter used to generate the route for the asyncData() method in order to get the crawler working).

You can navigate any dynamic route but will request data from the backend.
nuxt generate will fallback to SPA if route contain accent marks and you use the route slug as parameter on the asyncData() method (note how you can navigate to "productos/auriculares" without backend request but it will if you navigate to "productos/teléfonos-inalámbricos").

I had a similar problem with accent marks, but I think it's any special character which get encoded. The thing I noticed is that the payload's are generated properly for these routes. But can't be resolved on the client for some reason.
This is the generated payload:

When I changed the path manually with the special characters, it worked again.

We had to change all our url's not using specials characters to fix this :(


Feature/overview page

Updated overview page layout
Added footer
Beautified HTML templates
Updated text in button on summary page
Updated animation style on question page (now question text and answers fade in and away)
Small fixes

forced_merge


Service Fabric Azure DevOps Release

The documentation does not seem to cover everything. I am getting the following error after following the documentation:

Deployment Process:

Service Fabric Application Deployment:

If I look at the yaml it is also missing the ApplicationName property.

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

ID: 95e331af-2350-c9cc-1205-f17ae4d17eb0
Version Independent ID: a69e5b1f-1195-b191-58a4-0caf73cceccc
Content: Deploy a Service Fabric app with continuous integration and Azure Pipelines in Azure
Content Source: articles/service-fabric/service-fabric-tutorial-deploy-app-with-cicd-vsts.md
Service: service-fabric
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@MrBananaGuard Can you provide me with the link to the documentation you are referring to?

Hi @MicahMcKittrick-MSFT,
I used the following documentation: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-app-with-cicd-vsts.

@MrBananaGuard thanks! I will take a look and get back to you

@MrBananaGuard
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Not sure if this is still an issue. I've moved to a different team, so reassigning. #reassign @peterpogorski

#reassign @athinanthny

#reassign @Nickomang


pull request for e2e test at 01/04/2017 15:15:09

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Replace TestedCell with the extracted repository.

TestedCell has been extracted into it's own repository. https://github.com/BrooklinJazz/tested_cell.
We need to add the dependency to the setup section in every livebook.
{:tested_cell, github: "BrooklinJazz/tested_cell"}

And ensure any existing calls to TestedCell continue to work. We may need to recreate them.

I can do it while I replace Utils.feedback with TestedCell

That would be great! That will mean less work for replacing Utils.feedback if we do it now.
I recommend searching for all calls to Mix.install and adding the dependency to every livebook. Likely a clever find-and-replace could make this quick and easy rather than manually changing each one.
Mix.install([
  {:kino, github: "livebook-dev/kino", override: true},
  {:kino_lab, "~> 0.1.0-dev", github: "jonatanklosko/kino_lab"},
  {:vega_lite, "~> 0.1.4"},
  {:kino_vega_lite, "~> 0.1.1"},
  {:benchee, "~> 0.1"},
  {:ecto, "~> 3.7"},
  {:math, "~> 0.7.0"},
  {:faker, "~> 0.17.0"},
  {:utils, path: "utils"}
])

Keep in mind the Mix.install sections are not 100% consistent between live books (though perhaps they should be)

Do we still need makeup and makeup_elixir as dependencies of our livebooks since it's added to the TestedCell repository?

Nope!

However, we'll need to replace Exercise with TestedCell since that does rely on makeup + makeup_elixir.

resolved #188


Intellisense font is incredibly small.

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.79.2
OS Version: Fedora 38 (6.3.8-200.fc38.x86_64)
Device: Framework Laptop (2256x1504)

Steps to Reproduce:

Open Vscode
Write some code such that vscode can provide a suggestion
Press ctrl + space to open intellisense
Observe the Intellisense font is incredibly small

Looks like your editor.suggestFontSize setting has been tweaked


Link to CSS not properly computed for chunks

Working with DITA OT 2.2.2.
I have uploaded a sample project here:
https://www.oxygenxml.com/forum/files/path2projectAndChunking.zip
When you produce XHTML from the main DITA Map, a unique file called "chunk....html" results in the output folder.
It does not properly point to the CSS, it points to it something like:
<link rel="stylesheet" type="text/css" href="../commonltr.css" />

Looking in the temporary files folder, the chunk.dita contains the path 2 project URI something like:
<?path2project-uri ../?>

but it should actually be:
<?path2project-uri ./?>

So probably this issue comes from the Java stage.

My fix breaks CSS links with chunking in other cases so I will keep digging.

So the minimal example would be something like:
 <keydef href="Topics/target.dita" keys="target"/>
<topicref keyref="target" chunk="to-content"/>

In the Java code the method "org.dita.dost.writer.ChunkTopicParser.processChunk(Element, File)" which processes the chunk checks at some point if the target.dita already exists on disk:
                if (outputFileName.exists() && !MAP_MAP.matches(classValue)) {
                    final File t = outputFileName;
                    outputFileName = resolve(filePath, generateFilename());
                    conflictTable.put(outputFileName.getPath(), t.getPath());
                }

and in our case the topic exists because it was referenced as a resource-only topic by the keydef element. So the name of the output file remains "Chunkxxx.html" + it remains in the root directory and the path to project PI inside it is invalid.

:+1: Another end user encountered the same problem. Generated chunked topic had "Chunkxxx.html" name, path to CSS is invalid, path to referenced images is invalid.

Can no longer reproduce problem using DITA OT 3.2.


Support -- full stop CLI args

As more flags are added to devtool CLI, they will start to pollute the flags that a program may want to use for whatever reason.
Maybe when a full stop is present, --, anything after that will be present in the process.argv for the running program, and the other flags (e.g. --browser-field) will be stripped.
devtool app.js --browser-field -- -q -b --blah

Sounds good - is consistent with the way other tools solve this problem :+1:

This is now supported in 1.2.1, it also cleans up gulp/grunt debugging. :beers:

Awesome!


Create data

https://user-images.githubusercontent.com/124418090/220232513-b923be12-461d-4b8b-8963-f723af9d233c.mp4

This is future of psych engine

revolutionary

Best PR Ever 😱

Changed my life


Can we arrange posts in subfolders inside _post ?

Yes. As this is not theme dependent and a core Jekyll feature I'm going to close this.
Check the Jekyll documentation and search around and the web as there are various ways Jekyll allows you to structure your posts.


Devtools component inceptor not intractable if component has a Proxy in data

Version
4.1.4
Browser and OS info
maxOS, Chrome 67
Steps to reproduce
Create a property/data/... (any data that inpected by devtools) as a Proxy:
new Proxy(function() {}, {get () { return new Proxy(function() {}, {})} })
Then inspect the element. Devtools won't able to show any data and throw the error:
Uncaught TypeError: t.match is not a function

What is expected?
The inspected elements show the properties, data, ...
What is actually happening?
I just copy description from #499 (because the result is the same):
No content is appeared at right side, when I click on a component to inspect it.
After I click on a component to inspect it, there are also a lot of errors in my console.

Looks related to #499 issue.
As I understand, previously Proxy was removed from vee-validate in this commit to resolve the issue.

Hi @Akryum, I created a repo with example and github-pages (try to inspect App or HelloWorld component). I hope it will help with reproducing the issue.


Fix unsupported https scheme in web proxy

Finally found a way to push the fix.
Hope it solves #1079

cool thanks.
I fixed the red test cases. could you please review f796058
? thx

Sorry for the unit tests. You just need to fix the scheme, not the port.
Updated my PR BTW.

Mmm If i look at AppVeyor logs, it seems it automatically replaces http://proxy.local:443/ with https://proxy.local/


Azuread custom endpoint radio option

Summary
Fixes #6428

Occurred changes and/or fixed issues

This issue would arise regardless of upgrading prior to v2.6.5 as we were checking only for the graphEndpoint, not for the other endpoints.
Added a method to determine if the values for all of the endpoints match the values in the hard coded map. If they don't match, custom will be the type.
Areas or cases that should be tested

Steps to test are in the related issue
A test environment can be given if needed

Force merging as drone is stuck


[Q] Production Server Spec

Hi
If there's anyone who deployed digdag with HA configuration, what's your server spec?
I'd like to get an idea on what others are using.

hi @sonots we have a very similar setup to your's with 'digdag masters' and 'digdag agents'. Only issue is that logs are only showing on the agents and not on the masters which we use for the UI.
We've configured log-server.type to s3 but this url is not shared across. So when you look at session results the request to api/logs/xxx/files is empty on masters and only available on the agent.
Do you have a similar issue?


Expose environment status in the response of az ml environment show command

Related command

az ml environment show
The version of az CLI being used:
% az --version
azure-cli                         2.38.0

core                              2.38.0
telemetry                          1.0.6

Extensions:
storage-preview                    0.8.3
ml                                 2.6.1

Dependencies:
msal                            1.18.0b1
azure-mgmt-resource             21.1.0b1

Is your feature request related to a problem? Please describe.

We use the az ml environment command to automate the management of environments in AzureML in our CI/CD pipeline.
When creating a new (version of) environment, the command az ml environment create returns immediately when the environment is created (while the environment is being built), we need a way to pull the environment status to make sure that the environment is successfully built before triggering the next step where the newly version of environment is used. But the az ml environment show command does not expose the status in the response.
Describe the solution you'd like

Expose environment status (e.g., Running, Succeeded, Not built, etc.) in the response of az ml environment show command.
Describe alternatives you've considered

N/A
Additional context

N/A

route to CXP team

+1
Adding env status in az ml environment show command would be very useful for a lot of reasons.

@hugoaponte
I tried looking for source code of az ml extension but could not find it
In fact , hit upon this question https://github.com/Azure/azure-cli/issues/18108
Any decisions on when it would be open-sourced ?

We are planning to open source the v2 CLI, but we do not yet have a timeline to shaer.

Thank you @hugoaponte!
This is an important feature to fully automate the CI/CD pipeline (covering the whole path from environment building to model training). The only work-around I can think of is to rely on a timeout, which is obviously not nice. Or, do you have suggestions on other possible nicer work-arounds?
Thanks again! Looking forward to this feature!

Is there any update on this feature request? As @Rainfarm mentioned this one will enable full automation of CI/CD workflow. Now, if there is any error while environment build, it could be only detected while pipeline execution.
Seems that neither CLI/SDK v2 nor Azure ML REST API do not provide the ability to check build status.

+1 for this feature please - it's not possible to make true CI/CD pipelines without this.
I'm finding az ml v2 commands are a mixed bag with idempotency across the board too - finding where to post them as questions/requests is also very confusing across the board.
Make an issue with the documentation on GitHub, they say go to the Microsoft Q+A site to post it - the Q+A site then say come here to post it.
Hairpulling consistency
https://learn.microsoft.com/en-us/answers/questions/1135983/azure-cli-ml-commands-should-be-idempotent

+1 for this feature for CI/CD pipelines.

Hi,
Yes this is a must to have truly CI CD pipelines.

Hi,
any news about this feature? It is crucial to implement a full CI/CD pipelines flow.

+1 to add this feature to enable CICD pipelines.

Hi @hugoaponte
Is there any ETA for this, you mentioned that it was in the roadmap in 2022.
BR
E

any updates here ?

There is no facility to do this even in the Azure ML Python SDK v2 either - so this has been completely missed and needs addressing by someone in some team somewhere. I question how the AML Studio GUI is able to display the "Environment image build status" field - still using v1 SDK eh??
It used to be in the prior version https://learn.microsoft.com/en-us/python/api/azureml-core/azureml.core.environment.imagebuilddetails?view=azure-ml-py

only way how currently achieve this validation currently is change approach. instead focus on environment, focus on pipeline prepare_image (auto created by aml during env build) and keep on checking status of this job run. Unfortunately even on rest api environment status (e.g., Running, Succeeded, Not built, etc.) does not work and always show as succeeded, but pipeline status works properly.

only way how currently achieve this validation currently is change approach. instead focus on environment, focus on pipeline prepare_image (auto created by aml during env build) and keep on checking status of this job run. Unfortunately even on rest api environment status (e.g., Running, Succeeded, Not built, etc.) does not work and always show as succeeded, but pipeline status works properly.

I don't think this approach works if multiple environment images are being built in the workspace simultaneously. How do you know which job is the correct one to poll? I've resorted to making the pipeline sleep for several minutes.

yes solution works if one env is built at the time that is correct. for many images build on parallel I was not looking for solution but on our use case this solution worked. I am thinking now that potential solution would be to retrieve data from job run json of prepare image run (visible in aml portal so maybe there is rest api or az cli command to get those data) I see data like environment version and other details.


Create better publishing process

Publishing should include the following:

Bump the version
Publish to PyPi
Make a GitHub release
Add changelog updates to GitHub release
Attach the wheel file to the GitHub release

@MrPowers Unfortunately I have no experience in Python releases whatsoever, but I would love to tackle this issue rather soon. It would be great to have a changelog that documents what neat features we released! :)


Autoplay

Hi, is it possible to make this plug in autorotate in caurusel stile? please post me where to put code and what i need to write to do this? thanks.

Hello,
Late Answer, but today, your question is mine too ^_^
Here is a way to do it, with carousel style :
<script>
	$(function(){
		$(".flipster").flipster({
			style: 'carousel'
		});
	});
	// Go to "Right" picture after 3 seconds
	setInterval(function(){
		$(".flipster").flipster(
			'jump', 'right'
		);
	},3000);
</script>

Thanks for answering this issue @GrandSam! I may try to work this into the next release.


Embed iframe properties

Hello 👋
I'm pretty new to the react world and loving using the semantic components in my work. Thank you for the awesome work! I have doubt with the Embed component.
<Embed           iframe={{             allowFullScreen: true,             style: {               padding: 10             },             rel: 0,             controls: 0           }}           autoplay={true}           id={videoId}           source="youtube"         />
I am not able to hide controls when controls is passed as a property in the iframe.
Can I not pass this in the iframe?

  <Embed
    iframe={{
      allowFullScreen: true,
      style: {
        padding: 10,
      },
      src:
        '//www.youtube.com/embed/O6Xo21L0ybE?autohide=true&amp;autoplay=true&amp;color=%23444444&amp;hq=true&amp;jsapi=false&amp;modestbranding=false&amp;rel=1',
    }}
    placeholder='/images/image-16by9.png'
  />

controls is not part of iframe props, see MDN. It's a part of Youtube's API, we don't support all options in Embed and we don't plan to do this. We need to pass controls=0 to src prop.


(MAINT) Update version to 0.16.2

v0.16.1 hasn't been released yet, we don't need to update the version


Xdg Toplevel shell improper positioning

issue
Hello, I recently ran into a problem with improper positioning of  Xdg Toplevel shells (at least on gnome).
Through some testing I found that this happens when Xdg Toplevel is used as the shell for wayland surfaces as the problem doesn't occur when using WlShellSurface. I also found that this problem occurs when using alacritty with the wayland backend and not just on the test I did. The wayland server also seems like its trying to close the window.
I'm running Gnome 3.28.2 on Arch and I tested with wayland-client 0.20.10 and wayland-protocols 0.20.10 (with client feature), I'm not sure if this is a gnome bug or a issue with wayland-protocols. I would love to help test if needed as I'm currently trying to learn more about wayland and how wayland rs works. Thank you
screenshots

Alacritty being rendered on the bottom of the activities view

Alacritty being rendered outside of screen

Test application being rendered to the side when only two applications are open which means it does get re-positioned when the activity layout changes

I also found that this problem occurs when using alacritty with the wayland backend and not just on the test I did.

Could you point me to what the test application you used is? This would be greatly helpful to understand what is being wrongly done, and where.
The crates in this repository really only handle the protocol serialization & internal state tracking, as such it is quite unlikely that is issue come from them. However, if alacritty has this issue as well, I'm going to be interested as it'd likely be a bug of sctk.

https://github.com/trimental/waylander its really just the simple_window example with xdg_shell instead of wl_shell
I don't think its sctk because my test code doesn't use sctk

My point is that xdg_shell being a slightly more complex protocol than wl_shell, simply taking a program written for wl_shell and replacing it by xdg_shell will likely be subtly wrong.
For example I recently fixed a bug in SCTK occurring because it was not using the xdg_surface.set_window_geometry event. While technically it was optional, many compositors were actually expecting it to be used and behaved poorly if it was absent. And this commit fixed a bug that is very similar to what you report...

I ported alacritty to use sctk 2.4 and it works perfectly thanks

So, I guess this can be closed. :)


doc: beforeConnect

beforeConnect is the event where servers can intercept the player connection for checking e.g. if player is banned.

remember when you cancel the event you have to use plyer.kick. Otherwise undefined behavior happens.

https://github.com/altmp/altv-types/commit/c7d96ec3bcdd0e16ed27d3e9dd1b12f925a0ad89


OPiZ fail to install

OPiZ running ARMBIAN 5.59 stable Ubuntu 18.04.1 LTS 4.14.65-sunxi.
I ssh into OPiZ.
Per instructions I run: . <( wget -O - https://code.headmelted.com/installers/chromebook.sh )
Fails to find code-oss and drops out of ssh session.
A similar problem arose for a RPi body and suggestion was to run :
sudo apt-get install -y apt-transport-https
Running that does not solve the problem.
Original session log is:
root@orangepizero:~# . <( wget -O - https://code.headmelted.com/installers/apt.sh )
--2018-10-07 03:29:35--  https://code.headmelted.com/installers/apt.sh
Resolving code.headmelted.com (code.headmelted.com)... <IP_ADDRESS>, <IP_ADDRESS>, 2606:4700:30::681b:ba50, ...
Connecting to code.headmelted.com (code.headmelted.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-sh]
Saving to: ‘STDOUT’

-                                   [ <=>                                                 ]   2.09K  --.-KB/s    in 0s

2018-10-07 03:29:36 (5.27 MB/s) - written to stdout [2136]

Detecting architecture...
Ensuring curl is installed
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libpthread-stubs0-dev libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libx11-6 libx11-data libxau-dev libxau6
  libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 python python-cliapp python-markdown python-minimal python-ttystatus
  python-yaml python2.7 python2.7-minimal x11proto-core-dev x11proto-dev xorg-sgml-doctools xtrans-dev
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libcurl4
The following packages will be upgraded:
  curl libcurl4
2 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
Need to get 336 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com bionic-security/main armhf curl armhf 7.58.0-2ubuntu3.3 [152 kB]
Get:2 http://ports.ubuntu.com bionic-security/main armhf libcurl4 armhf 7.58.0-2ubuntu3.3 [183 kB]
Fetched 336 kB in 2s (150 kB/s)
(Reading database ... 33036 files and directories currently installed.)
Preparing to unpack .../curl_7.58.0-2ubuntu3.3_armhf.deb ...
Unpacking curl (7.58.0-2ubuntu3.3) over (7.58.0-2ubuntu3.2) ...
Preparing to unpack .../libcurl4_7.58.0-2ubuntu3.3_armhf.deb ...
Unpacking libcurl4:armhf (7.58.0-2ubuntu3.3) over (7.58.0-2ubuntu3.2) ...
Setting up libcurl4:armhf (7.58.0-2ubuntu3.3) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up curl (7.58.0-2ubuntu3.3) ...
Architecture detected as ...
Detected operating system as Ubuntu/bionic.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/headmelted_codebuilds.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.

The repository is setup! You can now install packages.
Repository install complete.
Installing Visual Studio Code...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package code-oss
Visual Studio Code install failed.
Connection to <IP_ADDRESS> closed.

I take it you meant . <( wget -O - https://code.headmelted.com/installers/apt.sh ), not chromebook.sh as you initially said. Were you able to reproduce this more recently, as the install script has been changed quite a bit since then, and perhaps the package index wasn't being updated after the headmelted repo was added or something like that.


Added support for SQL Server

Resolves
Fixes #103
Description
Added support for SQL Server

This PR is ready for review

Need to still merge in changes from #129 and apply ConfusionMatrix logic before this is ready.

@AnoojNair / @dcostea  - if you have a moment, I would appreciate a review :) I've merged @AnoojNair changes into this PR and added the implementation for SQL server as well.


feature: Navigation sub groups

When a parent item is active, the sub items will be visible.

All items that have a parent item do not have an icon
Except when the sidebar is partially collapsed:
https://github.com/filamentphp/filament/assets/41773797/b8dd4ef9-31e8-4c74-b541-7a6296d925d7
We will not be going further than 3 navigation levels. This is the absolute limit we are prepared to support UI-wise in Filament.

Please note that this does not cover top navigation, as there is extra complexity surrounding the fact that this is a "parent item" feature rather than another level of navigation groups, and there isn't an easy way to make the parent item clickable as well as being able to open the child item dropdown. This can be revisited at another time.

IMO it should not do that, if the first child has a dot then it doesn't look like a child list anymore, it looks like it's at the top level of the parent

Hmm, fair point, but I still don't like it.

As I said before, I'm just copying Shopify, this is basically how they do it 🤷

Yeah I noticed, though I prefer to not look at just 1 platform.
Having at least 3 gives us a more solid base.

I am very much in favour of this and I think the design works OK. The solution is nice and simple (K.I.S.S.).
And of course, this would help us with our little Filament build ;-)
@zepfietje is it the UI design or the UX you're not sure on? If it's just the look of it, I'm happy to suggest a few ideas using Figma.

@glennjacobs, it's probably just the dot in front of nested items I'm unsure about. Probably we should also disallow having icons for nested items, as there's no visual hierarchy if you have icons for the parent and child items.
Apart from that, I've discussed the UX quite thoroughly with Dan and it turns out to basically be the same design as I suggested on that other PR.
Will review this PR, implement any fixes, and will let you know if there's something I'd love to have your thoughts on, @glennjacobs. 😊
Appreciate your input.

I quite like the way Statamic do it. Might be worth checking out.

As mentioned on Discord, no need to prevent icons from being added as they are used for the collapsed sidebar

Now supports subgroups


Snapshot size

I've got Xiaomi xiaofang cam, connected to synology and homebridge. I don't care about video but snapshots are taken in 480x270. Is it possible to get better resolution snapshots?

Also interested in this.

Me too!

The snapshot size comes as part of the snapshot request from Apple HomeKit, and not within our ability to control


Text to Speech function no longer working.

Across all browsers and even on cytu.be/r/plus channel, the text to speech function isn't working.

Would I just have to change the web anywhere url?
WEBKIT="webkitRequestAnimationFrame" in window;
SOUNDSVALUES=new Array(0, 0.1, 0.2, 0.4, 0.7, 1);
SPEAKLINK='http://webanywhere.cs.washington.edu/cgi-bin/espeak/getsound.pl';
IMBA=new Audio("https://dl.dropboxusercontent.com/s/xdnpynq643ziq9o/inba.ogg");
CHATSOUND.volume=0.6;


Circular Image without stretching?

I get an image (250x150) from the server and try to add it using the addCircularImage() method, but the image is stretched, are there any ways to avoid this?
Expectation:

Reality:

Pay attention to the team logo (B8).
Thanks in advance.

Is there any news?

I see a major update has been released, and this error (if you can call it that) has been fixed?

Sorry, my plan was to fix this issue with the rewrite to TypeScript, but I forgot to include the patch.
I'll work on this right away and release 4.0.1 as soon as it's fixed.

I believe I resolved this bug with 169398b, you can check if the error is solved by running any of the following commands:

npm
$ npm i kyranet/canvas-constructor#build

yarn
$ yarn add kyranet/canvas-constructor#build

If it does, I will publish 4.0.1.

Unfortunately I won't be able to check, after the last update it is impossible to compile typescript.

If you're using TypeScript, you need to update typescript to 3.8.0 or newer, which has been out for 6 months. Check 3.8's changelog here.

Yes, it did get fixed, but I expected an effect similar to "object-fit: cover" from css. Perhaps I made a mistake somewhere and this effect can be achieved?

And about TypeScript, there was no mention of backward compatibility issues with versions before 3.8 in the changelog.

Yes, it did get fixed, but I expected an effect similar to "object-fit: cover" from css. Perhaps I made a mistake somewhere and this effect can be achieved?

Oh, that'll require extra maths and an options object in CC, I'll try to think the maths under cover.
Most likely the new API will be
interface PrintCircularOptions {
	fit?: 'fill' | 'contain' | 'cover';
}

Where the default would be fill (standard and previous behaviour, also less compute expensive).
My patch would have been arguably semver-major under some eyes as I changed the behaviour of something (although also semver-patch as the method shouldn't try to draw like this).

And about TypeScript, there was no mention of backward compatibility issues with versions before 3.8 in the changelog.

To be honest, TypeScript's semver-minor is semver-major, it almost always contains breaking changes, and none of the features are backwards compatible.

Oh, that'll require extra maths and an options object in CC, I'll try to think the maths under cover.
Most likely the new API will be
interface PrintCircularOptions {
	fit?: 'fill' | 'contain' | 'cover';
}

Yes, it looks great.

This has been resolved in 05fa376, the build branch has been updated in case you want to try it out, I will release 4.1.0 tomorrow.
I tested the new changes using the following code:
https://github.com/kyranet/canvas-constructor/blob/05fa376940edbe2e8ea86c908ec51f3a60df51ff/tests/index.html#L106-L117
Which results on the following:

Yes, it works perfectly, good job.

Just released 4.1.0! https://www.npmjs.com/package/canvas-constructor


paperless-ngx: fix frontend build

Description of changes
paperless-ngx's frontend tries to build canvas node pacakge and fails due to missing headers:
npm ERR! In file included from ../src/CanvasPattern.cc:6:
npm ERR! ../src/Image.h:18:10: fatal error: 'gif_lib.h' file not found
npm ERR! #include <gif_lib.h>
npm ERR!          ^~~~~~~~~~~

On darwin, canvas requires CoreText headers:
npm ERR! 1 warning generated.
npm ERR! ../src/register_font.cc:9:10: fatal error: 'CoreText/CoreText.h' file not found
npm ERR! #include <CoreText/CoreText.h>
npm ERR!          ^~~~~~~~~~~~~~~~~~~~~

Needs #272807 for testing (but tested only on master)

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

the darwin build still fails, this time with something different
npm ERR! /nix/store/c7572j92n3fmh9b61s2aha8kn22fqkl5-libcxx-16.0.6-dev/include/c++/v1/new:355:14: error: no member named 'aligned_alloc' in the global namespace
npm ERR!     return ::aligned_alloc(__alignment, __size > __rounded_size ? __size : __rounded_size);
npm ERR!            ~~^
npm ERR! In file included from ../src/backend/Backend.cc:1:
npm ERR! ../src/backend/Backend.h:60:14: warning: private field 'backend' is not used [-Wunused-private-field]
npm ERR!     Backend* backend;
npm ERR!              ^
npm ERR! 1 warning and 1 error generated.

Couldn't reproduce this issue on linux when picking the linked PR.

Would this be related to my nixos config not getting a cache hit for paperless-ngx-frontend and building manually? Or is this a separate issue?

That shouldn't matter. Why you are not getting a cache hit could have plentyfull of reasons.

@arkivm maybe I got confused, is this only happening on Darwin?


WIP: PBS scheduler backend

Fixes #46 and replaces #277.
To test on Dom, you should do the following:
export PATH=/apps/dom/UES/karakasv/slurm-wrappers/bin:$PATH
./test_reframe.py --rfm-user-config=config/cscs-pbs.py

This special configuration is only valid for Dom and uses pbs+mpiexec.
Still todo:

[ ] Update user documentation
[ ] Setup Jenkinsfile for CI testing

@rafa-esco Would you bother testing this version of the backend? Downloading the pbs.py file and replacing yours should be enough.

@vkarak No problemo, I just had to download a zip of the entire repository (because of the import reframe.core.config failing). It runs but there is a problem when cancelling the jobs... you have to change:
if self._pbs_server:
           jobid += ':' + self._pbs_server

by
if self._pbs_server:
           jobid += '.' + self._pbs_server

a part from that everything seems to work nicely :).

@rafa-esco Thanks for testing! Good catch, that was a typo. I wanted . actually!

@vkarak I just noticed a small bug in the _emit_lselect_function... If I do not define _num_cpus_per_task I do not get the "ncpus=" value so my job will only get 1 cpu per node. The default value for _num_cpus_per_tasks should be 1, so maybe adding a num_cpus_per_task = self._num_cpus_per_task or 1 and then using this variable in the downstream will always generate the correct ncpus option:
 def _emit_lselect_option(self, builder):
        num_tasks_per_node = self._num_tasks_per_node or 1
        num_cpus_per_task = self._num_cpus_per_task or 1
        num_nodes = self._num_tasks // num_tasks_per_node
        ret = '-l select=%s:mpiprocs=%s' % (num_nodes, num_tasks_per_node)
        num_cpus_per_node = num_tasks_per_node * num_cpus_per_task
        ret += ':ncpus=%s' % num_cpus_per_node

        if self.options:
            ret += ':' + ':'.join(self.options)

        self._emit_job_option(ret, builder)`

@rafa-esco So, in your setup, the ncpus must always be present? For our case, there wasn't a problem of not specifying it at all, if it wasn't specified.
The general idea for the backends is to generate the minimum required fields based on the user input in his regression test. So if the user does not set self.num_cpus_per_tasks and ncpus is not required by the scheduler, then it is omitted.

@rafa-esco OK, now I get it. You are right. I'll fix that.

@rafa-esco I've pushed the fixes you suggested. Could you test once more?

Codecov Report

Merging #316 into master will decrease coverage by 0.23%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##           master     #316      +/-   ##
==========================================
- Coverage   91.46%   91.22%   -0.24%
==========================================
  Files          66       67       +1
  Lines        7805     7912     +107
==========================================
+ Hits         7139     7218      +79
- Misses        666      694      +28

Impacted Files
Coverage Δ

reframe/core/pipeline.py
94.69% <ø> (ø)
:arrow_up:

reframe/core/schedulers/registry.py
85% <100%> (+0.78%)
:arrow_up:

reframe/core/schedulers/pbs.py
63.51% <63.51%> (ø)

unittests/test_schedulers.py
97.61% <94.73%> (-0.41%)
:arrow_down:

reframe/core/schedulers/__init__.py
94.53% <0%> (+0.78%)
: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 d199ba4...ef53504. Read the comment docs.

@vkarak Yep, all my tests passed :)

@victorusu I will merge this one. Is this ok?


Hotkeys are not available after call window.open function

use hotkeys.js to call window.open, then the other hotkeys are not available, except the hotkey which call window open function.

@TammyCT Write an instance with codepen, I debug it?

//1  bindHotKey( ) is in a service
bindHotKey(hotkey: string,evt,permission){
    if(this.checkPermission(permission)){
        hotkeys(hotkey, (event, handler)=>{
            // Prevent the default refresh event under WINDOWS system
            event.preventDefault();
            switch(handler.key){
              case hotkey:
                evt.apply(this);
                break;
            }
        })
    }
}

//2  call service function in component
this.hotKeyService.bindHotKey(item.hotKey,()=>this.test(),item.permission)
//3  this function call window.open
const testFile = 'miaomiaomiao/xxxxx.htm';
window.open(testFile, '', 'width=850,height=800,resizable=yes')

@TammyCT Write an instance with codepen, I debug it?

I also have this problem, bug is also in latest 3.6.10.
Demo here: https://codepen.io/anon/pen/OYvxrG?editors=1010

@Sire What platform. There is no problem with the Chrome 74 test.

Version 74.0.3729.169 (Official Build) (64-bit)

Verified on two clean Chrome installations in incognito with no extensions.
Firefox: Works fine, no bug.
Edge: Nothing works (!)


Remove Duplicate Classes and Fix Misspelled Folder Name

This pull request addresses two issues:

Remove duplicate classes with misspellings to ensure code consistency and clarity.
Correction of the misspelled folder name "ReplyToComment" for improved readability and maintainability.

These changes enhance the overall quality of the codebase and streamline future development efforts.

Why you remove ApproveReplay? It's an usecase for me!

Why you remove ApproveReplay? It's an usecase for me!

Just the duplicate directories are removed. ApproveReplay folders (with misspellings) are removed but ApproveReply folders exist. for example :
src/Blogger.APIs/Endpoints/Comments/ApproveReplay/ApproveReplayEndpoint.cs
is removed but
src/Blogger.APIs/Endpoints/Comments/ApproveReply/ApproveReplyEndpoint.cs
exists that has the same code. It seems that you already approved these changes in this pull request today.
I also removed  /Blogger.Domain/CommentAggregate/Replay.cs and  /Blogger.Domain/CommentAggregate/ReplayId.cs  that are duplicates of  /Blogger.Domain/CommentAggregate/Reply.cs and  /Blogger.Domain/CommentAggregate/ReplyId.cs with misspellings in name.


Implement flist build actor for ARDB service

The actor should build the tar gz and upload it to hub.gig.tech automatically
CoreX images build by means of AYS82 / cuisine / docker on top of packet.net

https://github.com/g8os/grid/blob/0.2.0/buildscripts/builder-ardb.sh


fzf_key_bindings not loaded

Category

[ ] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[X] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[X] Linux
[ ] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[X] fish

I have the same issue as #762: fzf_key_bindings simply does not work when called from .config/fish/config.fish. I have manually copied fzf_key_bindings.fish to .config/fish/functions/fzf_key_bindings.fish and my config.fish consists simply of fzf_key_bindings; echo ran. If I type cd ctrl-t at prompt, it displays c d, and if I then type fzf_key_bindings, then ctrl-t works properly.
Fish 2.7.1
Ubuntu 18.04
fzf 0.17.4
installed via nix.

turns out fish_user_key_bindings is a privileged function, and executes after config.fish. See solution in reference.


typo in error message

https://github.com/Fallenstedt/twitter-stream/search?q=twiiter
"Received an error from twiiter:

Thanks for this catch. I will be releasing this in 0.3.3 https://github.com/Fallenstedt/twitter-stream/pull/25


Implement Suspense

Implement Suspense, simlar to how Suspense in React / Solid. The challenge with this issue is that the fallback component will need to have a higher prio being mounted than the children on the Suspense will have to be rendered.

One idea is to add the following to FiberNode:

A bool called isInSuspenseTree - when using the suspense component, that corresponding FiberNode and all under it will be flagged.
An intcalled suspensionCount - which is incremented every time an ancestor is added to the fiber tree and / or rendered. It's decremented when an ancestor is mounted.
A bool called isSuspenseComponent - flagging what FiberNode is a suspense component.

We could then use a combination of a signal and an effect in the suspense component to trigger hooks etc. for when a sub tree is suspending or not.


currentSlide index reset to 0 on resize

The currentSlide index is reset to 0 when resizing from a large breakpoint that shows all slides to a smaller breakpoint that shows a smaller quantity of slides.
For instance: A carousel with 5 total slides that has all those slides visible above 600px is then reset to current slide index 0 when scaling down below 600px regardless of whether or not a slide has been made current/selected prior to that resize.

http://jsfiddle.net/psullivan6/5spffk7m/3/

Steps to reproduce the problem

Open the jsfiddle with the result view at least larger than 600px
Click on Slide 4 (or any slide that's not 1)
Resize the result view smaller than 600px
Note the current slide has been reset to 0

The reverse also occurs:
When a selection has been made while viewing the smaller breakpoint and then resizing up to the larger one the index is reset to 0.

What is the expected behaviour?
After resizing to smaller than 600px, slide 4 should remain selected and also be displayed in the center of the carousel as per the centerMode: true setting via the responsive option. The reverse should also occur such that a selection made on the smaller breakpoint is translated up to the larger breakpoint, thereby maintaining the currently selected index.

What is observed behaviour?
The carousel jumps to the centered display (as it should) and slide 1 (index 0) is made the current, selected slide.

More Details

Which browsers/versions does it happen on?

Assumedly all browsers, but tested and confirmed on:

Mac OS 10.11.6 - Safari 9.1.2
Mac OS 10.11.6 - Chrome Version 51.0.2704.106

Which jQuery/Slick version are you using?

provided jsfiddle defaults:

jQuery: edge
slick: 1.6.0

Did this work before?

not that I'm aware of

Assumed Solution
My assumption is that the slide count comparison condition within the selectHandler function bypasses the _.slideHandler(index); call thereby never setting the _.currentSlide to the correct value.

My assumed solution is only part of the issue as I have come to discover, so please obviously take that with a grain of salt.
related:
Also, I have noticed that I cannot set the initialSlide to the last slide if more than 1 are set to show at the same time. I assume this was a feature added a while ago, so please let me know if this is the case and I can fork to add this functionality. Basically, I am looking to set the initialSlide to the last slide and then have it show centered amongst it's 2 neighbors (1 slide to the left and a blank one to the right).

also looking for a fix for this issue.

I've written an workaround, if someone is still looking for a solution.
let s = $('.navbar_products');
let slidesTotal = s.find('.slick-slide').length ;
let slidesVisible = s.find('.slick-active').length;
let slideSelected = parseInt(s.find('[navbar-product-selected-i]').attr('navbar-product-selected-i'));

let index = slideSelected < slidesTotal - slidesVisible ? slideSelected : slidesTotal - slidesVisible;

s.slick('slickGoTo', index, true);

Firstly you must keep tracking of the current selected index.
Because of the why my website is built, the page refreshes when clicking on an item, so I'm saving the index in the QS, but if your page does not refresh, you can replace let slideSelected = parseInt(s.find('[navbar-product-selected-i]').attr('navbar-product-selected-i')); with $('.navbar_products').find('.slick-current').attr('data-slick-index');
I hope this can be useful!


Can Helm wait for a custom resource to be ready?

Helm upgrade can wait native k8s resources ready, as follows:
  --wait                                       if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout

But there are some custom resources, like Deployment, can helm support to wait the custom resources ready?

helm returns ready immediately for crds ( https://github.com/helm/helm/blob/main/pkg/kube/ready.go#L91 )

Helm can encode knowledge of native Kubernetes types. Like what it means for those to be "ready". That isn't possible for custom resources (ie. there isn't a general concept for "ready" for custom resource's to adhere to/helm to check)

Helm can encode knowledge of native Kubernetes types. Like what it means for those to be "ready". That isn't possible for custom resources (ie. there isn't a general concept for "ready" for custom resource's to adhere to/helm to check)

kubectl can wait for any resource's condition by the --for option, e.g. kubectl wait xx --for=condition=Ready
Is it possible to support feature like this in helm ?

I'm joining to the question. Need the same stuff

kubectl can wait for any resource's condition by the --for option, e.g. kubectl wait xx --for=condition=Ready

Certainly, the ability to wait (the wait "policy") would need to be specified externally from Helm itself.
But IMHO Helm's workflow is subtly different to kubectl here. Helm's value is package management of Kubernetes manifests. And so I think any wait conditionals/policy would want to be baked into Helm charts (by the chart's authors).
I don't think individual Helm user's should be writing their own wait conditionals/policy. Like kubectl wait --for ... requires. Instead helm install|upgrade --wait should "just work" for users.

Is it possible to support feature like this in helm ?

My 2c, is that this is somewhat of a significant change. And probably would warrant a HIP, to iron out any specification before implementing.

Helm can encode knowledge of native Kubernetes types. Like what it means for those to be "ready". That isn't possible for custom resources (ie. there isn't a general concept for "ready" for custom resource's to adhere to/helm to check)

Argo-cd support lua scripts to health check custom resource ready, related: https://argo-cd.readthedocs.io/en/stable/operator-manual/health/#custom-health-checks

Nice, thanks for the reference. I still think a HIP is the way to go here (especially for something as significant as adding lua scripting to Helm). Even before starting that process, it likely would be worth shopping around for ideas in the #helm-dev slack channel.

Maybe it can also wait for all resources, based on annotations, i.e. meta.helm.sh/release-name + meta.helm.sh/release-namespace and maybe something else
Yes, not all operators will passthrough them, but the one that does, will works correctly


ImportError: cannot import name 'OrderedDict' from 'typing'

Describe the bug
pytnon : 3.7.0
locust: 2.12.1   2.10.1
When I started locust with this configuration, I get an error
Traceback (most recent call last):
File "d:\jhf\software\python\python370\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "d:\jhf\software\python\python370\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\jhf\software\python\python370\Scripts\locust.exe_main.py", line 5, in
File "d:\jhf\software\python\python370\lib\site-packages\locust_init.py", line 18, in
from .contrib.fasthttp import FastHttpUser
File "d:\jhf\software\python\python370\lib\site-packages\locust\contrib\fasthttp.py", line 24, in
from locust.env import Environment
File "d:\jhf\software\python\python370\lib\site-packages\locust\env.py", line 15, in
from .stats import RequestStats, StatsCSV
File "d:\jhf\software\python\python370\lib\site-packages\locust\stats.py", line 15, in
from typing import (
ImportError: cannot import name 'OrderedDict' from 'typing' (d:\jhf\software\python\python370\lib\typing.py)
Suggestion for repairing
in   python370\lib\site-packages\locust\stats.py
del  import   OrderedDict as OrderedDictType,
replace  326 line   "OrderedDictType"   to  "OrderedDict"
Environment

OS: windwos 10
Python version: 3.7.0
Locust version: (please dont file issues for anything but the most recent release or prerelease builds) 2.12.1    2.10.1
Locust command line that you ran: locust.exe --master -f collect.py --web-host="XXXXXXXXX"

I think Python 3.7.0 is broken, please update to at least 3.7.2 (but preferably latest 3.7 release or newer)

I think Python 3.7.0 is broken, please update to at least 3.7.2 (but preferably latest 3.7 release or newer)

OK

What @cyberw  says is true, try version 3.7.9, it worked for me. and thank you very much @cyberw


Is there a way to extend to the POJOs with additional fields while using an existing DB?

I created a class Person with the fields name  and  age and stored some instances of it in an ObjectRepository.
At some point in the lifecycle of my app I may want to add a hobbies field to Person. However, this will result in following error:
Caused by: java.io.InvalidClassException: de.itd.nitrite.test.Person; local class incompatible: stream classdesc serialVersionUID = -50986882814728565, ...

With Json deserialization alone, this should be no problem as long as I provide a default value for hobby.
Is there a recommendation how to enable backward compatibility and handle class extends?
Update: Ok.. I can solve it by implementing Serializable and using the same serialVersionUID.

Yes you are right. As long as you provide a serialVersionUID you should be good to go.
Another way is to implement Mappable interface in your class. Not only it will solve this problem, it is blazing fast also as it does not have reflection overhead.
Just curious what version of nitrite are you using?

Thank you for the hint. I must have overread it in your very good documentation.
I'm using verion 3.0.0.

I am closing this issue as resolved. If you have further concerns regarding it please feel free to comment here or join our gitter room.

Another way is to implement Mappable interface in your class. Not only it will solve this problem, it is blazing fast also as it does not have reflection overhead.

Tried using only Mappable without Serializable and nitrite could not deserialize the object.
Using nitrite.getRepository to retrieve the object

Caused by: java.lang.IllegalArgumentException: Could not deserialize

Once i implement Serializable it works again but i'd like to avoid setting serialVersionUID to every POJO.
Any special requirements for saving/retrieving Mappables? Using a nested object that all implement Mappable

@ArthurSav please look into this test where nitrite is persisting an object which implements Mappable and does not implement Serializable. Look into this example class also for implementation, it contains a nested object also.

Once i implement Serializable it works again but i'd like to avoid setting serialVersionUID to every POJO.

Based on your comment, I guess you are using nested object which are not properly handled in read/write methods. May be you are directly putting those object in the parent document and that's why it asks for serialVersionUID. The example class mentioned above will help you understand how to handle nested object properly.

Any special requirements for saving/retrieving Mappables? Does it handle lists? Using a nested object that all implement Mappable

The Mappable interface is for ultimate flexibility. It totally depends upon you how you want to create a document from an object and vise versa. Nitrite will not override anything here in this conversion. You can even convert your whole object into some custom encoded string and store it in the document and read it from there and decode it to manually create the object back.
I hope it clears things up a bit for you. If you still are in doubt feel free to ask me.

Thanks for the clarification.
I was indeed inserting/retrieving the nested objects directly which seems to be the issue.


Update deps

Update deps.

wrt optional deps, our semver policy treats breaking changes as semver major. We typically update by adding support for specific versions (see #403 and the discussion in #404).  If you have a need for support for these crates at specific versions we can add those versions to the support directory, but modifying (removing) the existing support is a no go from our side

Can you help me with that? I wanted to update deps to reduce the number of outdated deps in my project.
If I want to update primitive-types, rlp and ethereum_ssz, I have to add new features for those updated deps?

Can you help me with that? I wanted to update deps to reduce the number of outdated deps in my project.

I think that #403 is a pretty good roadmap for achieving that. The basic steps are

add the new dependency with version number in name (renaming the old one to include a version number too)
add the new file to support/
edit the existing support to use the renamed version of the old package
do NOT edit the feature name

in the meantime, i'm closing this as wontfix as this PR would violate our semver policies. would love to see followup PRs tho :)


Documentation update - fix for documentation precommit checks

Jenkins please retry a build

Jenkins please retry a build

Jenkins please retry a build


loops tutorial

This tutorial definitely needs some visuals but I can't think of how to visualise loops. Recommendations would be appreciated.

I've added some flowcharts which, I think, are fairly good visualisation tools.

Added momentum and alternative kinetic energy calculation as exercise to functions.

Yup I'll change that
Yeah, it is a bit fuddled. I'll keep a mental note to revisit in a couple of weeks time.
There is plotting, but as plotting is not covered by this point all the plotting is done for them and hidden in a plot_wavefunction() function which is imported. I thought this was best as they had come across functions but not plotting. I'll mention that plotting is included later on as a note.


Catch error when no cdb_schemas can be accessed due to insufficient privileges

Depending on the privileges of a user, it may not be possible to access any existing cdb_schema, even though they exist in the database.
Currently, the plugin crashes in such a case.

Solved in v. 0.6.0