Not able to select an existing connection (or add a function to an existing connection)

Describe the Bug with repro steps
In the Data Mapper designer, I'm not able to select a connection between a source and a target. I'm also not able to add a Function via the + sign that should appear when hovering over an existing connection. Normally you get a hand cursor when hovering over a connection, but I get the regular arrow cursor instead.
I've tested different versions of the extension, and the last working version is 4.31.7. I've tried both the newest version from VSCode (4.57.7) and the newest version from releases in this repo (4.83.0) and none of them works.
Adding videos for non-working and working scenarios.
Screenshots or Videos
Not working
https://github.com/user-attachments/assets/f98c2a15-2b2e-4438-82e4-944d6fe2049c
Working
https://github.com/user-attachments/assets/d781e2d5-2041-434f-96e9-8dd06383755d
Version
4.57.7
Additional context
No response

Hello @stiglyt thank you for reporting this! As a temporary workaround, you can delete the connection by selecting the target node, and removing the connection there, then adding a new function. I can work on a fix to allow deletion of connections, but we are focusing development efforts on releasing V2 of Data Mapper, which will be in Private Preview soon https://techcommunity.microsoft.com/t5/azure-integration-services-blog/upcoming-data-mapper-improvements/ba-p/4143271

Thanks for following up, Danielle. Just to let you know, the workaround does not work for me. I'm not able to delete a connection by selecting the target node. When I select a node and click Delete on my keyboard, I get "Target schema element cannot be deleted". The only way I'm able to remove a connection is to manually delete it from the .lml file.
https://github.com/user-attachments/assets/6f6cc660-a5cb-4c58-bd3e-f37d312b96a4


chore(main): release 1.6.10

:robot: I have created a release beep boop
1.6.10 (2023-10-18)
Performance Improvements

🚀 采用新的方法实现所有进程共享 isPackaged (8a5f7d9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/viarotel-org/escrcpy/releases/tag/v1.6.10 :sunflower:


[BUG] crc start fails on  Waiting until the user's pull secret is written to the instance disk... step

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it (Yes/No)? yes
Running CRC on: Laptop

CRC version
CRC version: 2.34.1+b470b5
OpenShift version: 4.15.3
Podman version: 4.4.4

CRC status
crc status --log-level debug
DEBU CRC version: 2.34.1+b470b5
DEBU OpenShift version: 4.15.3
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
CRC VM:          Running
OpenShift:       Unreachable (v4.15.3)
RAM Usage:       1.932GB of 10.96GB
Disk Usage:      19.05GB of 32.68GB (Inside the CRC VM)
Cache Usage:     26.27GB
Cache Directory: /home/tlavocat/.crc/cache

CRC config
crc config view
- consent-telemetry                     : yes

Host Operating System
NAME="Fedora Linux"
VERSION="39 (Workstation Edition)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora Linux 39 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:39"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f39/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=39
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=39
SUPPORT_END=2024-11-12
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Steps to reproduce

crc setup
crc start -p ~/Documents/pull-secret

Expected
I expect a normal startup.
Actual
 Error waiting for apiserver: Temporary error: ssh command error:
command : timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 1
 (x222)

Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.
See: https://gist.github.com/lavocatt/3f5d8fca0ac3ad52ddae982b906c3080

Update: restarting the command was successful at passing the step  Waiting for kube-apiserver availability but failed on Waiting until the user's pull secret is written to the instance disk...  afterward.
Could it be linked to: https://github.com/crc-org/crc/issues/4036?

DEBU retry loop: attempt 0
DEBU Running SSH command: <hidden>
DEBU SSH command succeeded
DEBU error: Temporary error: pull secret not updated to disk - sleeping 2s
DEBU retry loop: attempt 1
DEBU Running SSH command: <hidden>

Discussion with @praveenkumar and @cfergeau we found out that the issue was linked to the DNS resolution. This is the working configuration:
crc config view
- consent-telemetry                     : no
- network-mode                          : user
- pull-secret-file                      : /home/tlavocat/Documents/pull-secret

Thanks for your help!

Would stil be nice to fix the DNS resolution problem you were having :)

Would stil be nice to fix the DNS resolution problem you were having :)

I can reopen the issue if you want

Well, that's interesting. I turned off my corporate VPN and it started fine.
What would that indicate? Is there something I can do for this to work if I am on the VPN? I would like to remain on VPN if possible.
Note, when I just got this to work, I did have network-mode user and host-network-access true set explicitly (it must have been configured previously, I did not mean to set this, but I did have them set for a prior run). This is what crc config view shows:
$ crc config view
- consent-telemetry                     : no
- cpus                                  : 6
- disable-update-check                  : true
- disk-size                             : 48
- host-network-access                   : true
- kubeadmin-password                    : kiali
- memory                                : 32768
- network-mode                          : user

I can try it without those settings just to see what happens. But at minimum, the above works for me when I am off the VPN.

OK, this is interesting. It is hung again. This is what I did.
I completely removed my $HOME/.crc directory.
I then started crc v2.34.1 (passing in my pull secret via the cmdline option).
I am NOT connected to the VPN.
My config is:
$ crc config view
- consent-telemetry                     : no
- cpus                                  : 6
- disable-update-check                  : true
- disk-size                             : 48
- kubeadmin-password                    : kiali
- memory                                : 32768
- pull-secret-file                      : /home/jmazzite/bin/downloads/openshift-pull-secret.txt

So it seems like those network-mode/host-network-access had some positive effect when I am not on VPN.
I am going to try this test again. I will completely remove $HOME/.crc again, only this time I will explicitly set those two network config options while remaining off the VPN. I'll see if that works.

It failed when I turned off those network settings, but now, even worse, after control-c'ing the hung crc process, I can't restart anything. Continue to get the following (even after crc cleanup):
Is 'crc daemon' running? Cannot reach daemon API: Get "http://unix/api/version": dial unix /home/jmazzite/.crc/crc-http.sock: connect: no such file or directory

I see in my crc output logs:
DEBU Running 'systemctl --user status crc-daemon.service'
DEBU Command failed: exit status 3
DEBU stdout: * crc-daemon.service - CRC daemon
     Loaded: loaded (/home/jmazzite/.config/systemd/user/crc-daemon.service; static)
    Drop-In: /usr/lib/systemd/user/service.d
             `-10-timeout-abort.conf
     Active: inactive (dead)

I'm back able to start (but this time I went back to 2.32.0). I'm staying on that version for now :) I am on Fedora 39 (RedHat CSB machine) - and I know one other person who sees the same problem as I do on 2.34.1 on the same operating system. I can likely help work on debugging this with someone on Monday - but for now I'm going to continue using with 2.32.0 and ignore upgrading.

This is the log with the "hang" problem as it tries to store the pull secret.
crc-problem.txt
If you want to see the full series of calls I made to set up crc, I wrap it in this hack script.
I was NOT on the VPN, and I did NOT have the network configs set.
$ crc config view

- consent-telemetry                     : no
- cpus                                  : 6
- disable-update-check                  : true
- disk-size                             : 48
- kubeadmin-password                    : kiali
- memory                                : 32768
- pull-secret-file                      : /home/jmazzite/bin/downloads/openshift-pull-secret.txt

And here is the CRC logs when I can start it successfully:
crc-success.txt
$ crc version
CRC version: 2.34.1+b470b5
OpenShift version: 4.15.3
Podman version: 4.4.4

$ oc get nodes
NAME   STATUS   ROLES                         AGE   VERSION
crc    Ready    control-plane,master,worker   32d   v1.28.7+6e2789b

$ oc whoami --show-server
https://api.crc.testing:6443

I was NOT on the VPN but I DID have the network configs set:
$ crc config view
- consent-telemetry                     : no
- cpus                                  : 6
- disable-update-check                  : true
- disk-size                             : 48
- host-network-access                   : true
- kubeadmin-password                    : kiali
- memory                                : 32768
- network-mode                          : user
- pull-secret-file                      : /home/jmazzite/bin/downloads/openshift-pull-secret.txt

(There is one other less important thing that is interesting.  Trying to connect via ssh to the CRC cluster doesn't work like it does when I can start it on 2.32. This command:
ssh -y -i ~/.crc/machines/crc/id_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@$(crc ip) ls

would normally just work and not require me to enter a password, but now it is asking me for a password. The -i identity should let me in though. So I don't know what is different. Maybe things changed in 2.34.1 wrt ssh access?)

After investigating with Fedora-CSB laptops looks like the systemd-resolved service is running but not consumed by NetworkManager so crc's preflight checks add the dispatcher file which is doesn't work since /etc/resolv.conf is not managed by  systemd-resolved and in this case in the VM internal dns resolutions fails. We have 2 different workaround
Workaround-1: Disable/mask the systemd-resolved and follow the steps
$ sudo systemctl stop systemd-resolved.service
$ sudo systemctl mask systemd-resolved.service
$ crc delete && crc cleanup && crc setup && crc start

Workaround-2: Make sure /etc/resolv.conf managed by systemd-resolved
$ sudo rm -fr /etc/resolv.conf
$ sudo ln -s ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
$ sudo systemctl restart NetworkManager
$ crc delete && crc cleanup && crc setup && crc start

Workaround-1: Disable/mask the systemd-resolved and follow the steps
$ sudo systemctl stop systemd-resolved.service
$ sudo systemctl mask systemd-resolved.service
$ crc delete && crc cleanup && crc setup && crc start

I can confirm the above workaround works for me.

@praveenkumar just so I'm clear - the workarounds you mentioned, are those going to be the final solution for those with this problem? Or is the plan for CRC to change in a future version so the workarounds will not be needed?

The workaround does not apply to my setup as I routinely disable system-resolved and run by own DNS server through docker.
[phantomjinx@microraptor:~/.crc/cache] 4 $ service systemd-resolved status
Redirecting to /bin/systemctl status systemd-resolved.service
○ systemd-resolved.service - Network Name Resolution
     Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; disabled; preset: enabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead)
       Docs: man:systemd-resolved.service(8)
             man:org.freedesktop.resolve1(5)
             https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
             https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients

see #4144 for details of my configuration.

By applying the workaround, I can execute OCP 4.15 on my machine, but as a side effect, I am unable to run a Minikube cluster
😄 minikube v1.32.0 on Fedora 39
✨ Using the kvm2 driver based on existing profile
👍 Starting control plane node minikube in cluster minikube
🔄 Restarting existing kvm2 VM for "minikube" ...
:face_palm: StartHost failed, but will try again: driver start: ensuring active networks: starting network default: virError(Code=1, Domain=0, Message='internal error: Network is already in use by interface virbr0')
🔄 Restarting existing kvm2 VM for "minikube" ...
😿 Failed to start kvm2 VM. Running "minikube delete" may fix it: driver start: ensuring active networks: starting network default: virError(Code=1, Domain=0, Message='internal error: Network is already in use by interface virbr0')
❌ Exiting due to GUEST_PROVISION: error provisioning guest: Failed to start host: driver start: ensuring active networks: starting network default: virError(Code=1, Domain=0, Message='internal error: Network is already in use by interface virbr0')
If this happens, you have to unmask and then enable systemd-resolved service again to fix the minikube issue:
sudo systemctl unmask systemd-resolved
sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved

Just want to close the loop on this - all my problems seem to have gone away with the new CRC v2.36.0. I can run CRC without messing with systemd-resolved service and I am still able to also start minikube successfully (no longer get that error Network is already in use by interface virbr0')


[Bug] Upon trying to install new mod, it flags a conflict within a mod I already had installed which was working fine.

Background

Operating System: Windows 11
CKAN Version: v1.30.4
KSP Version: <IP_ADDRESS>73

Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No
Problem
When attempting to install (seemingly) any new mod, it errors with the following message:

Scatterer 3:v0.0834 conflicts with Scatterer

I already had Scatterer installed as a dependency for the Astronomer's Visual Pack. The mods I tried to install this time were Procedural Parts and B9 Aerospace (procedural) Wings, so are seemingly irrelevant. It seems it's flagging a conflict within a mod I already have working just fine.
Steps to reproduce
I guess install AVP as above, then install something else? I'm not sure. It seemed okay until today.
Expected behavior
It to work. No conflict was noted between the new mods and Scatterer, and the error is flagging a different conflict regardless.
Screenshots (if applicable)
CKAN error code (if applicable):
PLACE CODE HERE !

Duplicate of #8866

See KSP-CKAN/CKAN#3479 for details and workaround (rename your lowercase scatterer folder in GameData to sentence-case `Scatterer).


chore: Add integration tests for DB2 and missing changes for setup.py usage

This PR merges the following changes:

Adds changes regarding setup.py usage across files that ended up missing in PR #1156 that was created to revert PR https://github.com/GoogleCloudPlatform/professional-services-data-validator/pull/1150

To see only these files, check commit 747efe2bbf60feab01777cc567a2d46e95ab19d6

Adds a new Cloud Build step to run the Nox session specific for DB2 integration tests

Adds tests/system/data_sources/test_db2.py file with 9 tests for schema, column, row and custom-query validations

Tests for generate-table-partitions still pending, not prioritized for now but issue #1300 created for it
Bug for column validations: #1295 (TODO comments added where I think this should be addressed)
Bug for row validations: #1296 (TODO comments added where I think this should be addressed)

Updates tests/resources/db2_test_tables.sql to reflect the current state of our test instance

INSERT statement for table db2inst1.dvt_large_decimals was commented because I was having problems with the values' precision and scales

Updates all files in tests/system/data_sources to use the common functions

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

The changes to RELEASING.md, cli/release_latest.sh, cloudbuild.yaml, noxfile.py, samples/docker/build_docker.sh and tests/local_check.sh - I am not sure about this.
Should we get input from Neha or Neil ?

My only comment is on cloudbuild.yaml and the values we use for waitFor, this extends beyond the new DB2 tests.
We can run the DB2 tests in parallel to other integration tests by using waitFor: ['-']. I think we should have also included that for Teradata, Snowflake and Hive when we added those in the past, unless we intentionally wanted them to run serially after other tests are complete, I can't think why.
It also looks like the waitFor lines for MySQL and Oracle need to be switched but that is not the fault of this PR.
It feels we should also review PYTHON_VERSIONS = ["3.8", "3.9", "3.10"] in noxfile.py but that is not something for this PR.

/gcbrun

/gcbrun

The updates to the tests and the introduction of the db2 tests look good to me. The changes to RELEASING.md, cli/release_latest.sh, cloudbuild.yaml, noxfile.py, samples/docker/build_docker.sh and tests/local_check.sh - I am not sure about this. Should we get input from Neha or Neil ?
Thanks.
Sundar Mudupalli

Those changes are just putting back the original values they had previously, but they are just documentation or sample files and don't affect at all our features and such. You can see this history in the two past PRs I mentioned in the description. Anyways @nehanene15 also has the context about it.

/gcbrun

Even though Neil already gave the approval, apparently @sundar-mudupalli-work will need to provide an approval too since his review was the "request changes" type


Sections Not working as expected

Hello,
I am trying to instantiate sections in my streamlit app, but It behaves as a Page.
I can click on the Section without any link or app behind, and I do not have the hierarchy of Sections - Pages I expected.

hi， i think maybe you not set the first page as your main.py

@benseddikmo You must call add_page_title() or add_indentation() on each page if you want sections to work properly.


Broken test 'Import pandas and goto it:'

https://github.com/microsoft/vscode-jupyter/actions/runs/3086711973/jobs/4991343761
      Error: Waiting for editor to switch
      + expected - actual

      at Timeout.<anonymous> (src/test/common.ts:59:20)
      at listOnTimeout (node:internal/timers:559:17)
      at processTimers (node:internal/timers:502:7)

@IanMatthewHuff looks like this test is consistently failing, will be disabling this test.

No longer an issue.


basic metadata support

Now Pandoc metadata section (only if it's at the top) is passed to notebook metadata key.

@aaren What about this PR? Will you merge it? Will you update module on pypi?

At the moment modified version of notedown is available in knitty package as "knotedown" CLI (knitty is meant to be used with pandoctools).
This modified version supports metadata only in markdown to ipynb conversion (not the other way).


Use latest stable minor release

Similar to: https://github.com/test-network-function/cnf-certification-test-partner/pull/108
Queries the API to ask for the latest available stable minor version (aka 4.10.x) so we don't have to push up PR's for different patch-level versions.  Currently we are just hardcoding 4.9.9.
In this PR, I'm setting it to RELEASE_LEVEL: 4.10 and in the future all we will have to do is bump the minor version.
Marked WIP until I can verify the image gets built by the CI successfully.

Verified that this works!  It pulls in 4.10.9 (the current latest stable 4.10.x build) as of this writing.
Step 17/49 : ENV OC_DL_URL="https://mirror.openshift.com/pub/openshift-v4/clients/ocp"/${OPENSHIFT_VERSION}/${OC_BIN_TAR}
 ---> Running in 6e282c89231d
Removing intermediate container 6e282c89231d
 ---> 721a67fcf15e
Step 18/49 : ENV OC_BIN="/usr/local/oc/bin"
 ---> Running in 052366a49481
Removing intermediate container 052366a49481
 ---> 0b50d643fc64
Step 19/49 : RUN wget --directory-prefix=${TEMP_DIR} ${OC_DL_URL} &&     mkdir -p ${OC_BIN} &&     tar -C ${OC_BIN} -xzf ${TEMP_DIR}/${OC_BIN_TAR} &&     chmod a+x ${OC_BIN}/oc
 ---> Running in a937ff4d7c9a
--2022-04-28 23:04:39--  https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.10.9/openshift-client-linux.tar.gz


Bump version

Also pls in the future remember to update changelogs before tagging a release, same for https://github.com/izivkov/RemoteVideoCam/tree/main/fastlane/metadata/android/en-US/changelogs ;)

Sure, thanks.
On Mon, Sep 19, 2022 at 9:38 AM Licaon_Kter @.***>
wrote:

Also pls in the future remember to update changelogs before tagging a
release, same for
https://github.com/izivkov/RemoteVideoCam/tree/main/fastlane/metadata/android/en-US/changelogs
;)
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/pull/13#issuecomment-1251034393,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37RO4F65TE3KQ4DCWXTV7BUFVANCNFSM6AAAAAAQQDUHTU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

...and merge? :)

...and merge? :)

Sorry did not see your Pull Request. Merged now.

Master branch looks ok on github. This is the latest commit.
20e4265eac64a65e4160a90cbf11afea479fb4cf
To make sure, in app/build.gridle we should have:
compileSdkVersion 33

On Mon., Sep. 19, 2022, 10:04 a.m. Licaon_Kter, @.***>
wrote:

...and merge? :)
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/pull/13#issuecomment-1251066894,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37RTX4PHGAOROJD3HW3V7BXIHANCNFSM6AAAAAAQQDUHTU
.
You are receiving this because you commented.Message ID:
@.***>


error "This argument does not satisfy the let/app invariant"

This is with hermit version 1.0.1 and GHC 7.10.3 on Linux. Program is simple:
x = 2 :: Integer
y = 1 / fromIntegral x :: Double

main = print y

I ran the follow hermit session:
hermit test.hs
[starting HERMIT v1.0.1 on test.hs]
% ghc test.hs -fforce-recomp -O2 -dcore-lint -fsimple-list-literals -fexpose-all-unfoldings -fplugin=HERMIT -fplugin-opt=HERMIT:*:
[1 of 1] Compiling Main             ( test.hs, test.o )
module Main where
  y ∷ Double
  main ∷ IO ()
  main ∷ IO ()
hermit<0> rhs-of 'y
(/) ▲ $fFractionalDouble (D# 1.0) (fromIntegral ▲ ▲ $fIntegralInteger $fNumDouble (__integer 2))
hermit<1> repeat (any-bu specialize >>> bash)
case doubleFromInteger (__integer 2) of wild ▲
  _ →
    case (/##) 1.0 (doubleFromInteger (__integer 2)) of wild2 ▲
      _ → D# wild2
hermit<2>
*** Core Lint errors : in result of Core plugin:  HERMIT0 ***
<no location info>: Warning:
    In the expression: /## 1.0 (doubleFromInteger (__integer 2))
    This argument does not satisfy the let/app invariant:
      doubleFromInteger (__integer 2)
*** Offending Program ***
y :: Double
[LclId, Str=DmdType]
y =
  case doubleFromInteger (__integer 2) of _ [Occ=Dead] { __DEFAULT ->
  case /## 1.0 (doubleFromInteger (__integer 2))
  of wild2_a1q9 { __DEFAULT ->
  D# wild2_a1q9
  }
  }

main :: IO ()
[LclIdX, Str=DmdType]
main = print @ Double $fShowDouble y

main :: IO ()
[LclIdX, Str=DmdType]
main = runMainIO @ () main

*** End of Offense ***

<no location info>:
Compilation had errors

Sorry, it was a hermit question, and I posted to the wrong place!

Hi Paul. I've been meaning to ask you something: do you see any signs of
Intel being interested In  high-evel programming of CPU plus FPGA? Regards,
Conal
On Tuesday, May 17, 2016, Paul Liu<EMAIL_ADDRESS>wrote:

Closed #21 https://github.com/conal/lambda-ccc/issues/21.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/conal/lambda-ccc/issues/21#event-663334502


LongformerEncoderDecoder overshooting RAM: triggered OOM after training stably for 6-7 hours

I am using Longformer in the following way:
from transformers.models.led.modeling_led import LEDForConditionalGeneration
from transformers.models.led.tokenization_led import LEDTokenizer

tokenizer = LEDTokenizer.from_pretrained(config["embedding_path"])
tokenized_input = tokenizer.encode(input, max_length=16384)

model = LEDForConditionalGeneration.from_pretrained(embedding_path, gradient_checkpointing=True, return_dict=True)

if not config['generate']:
    outputs = model(input_ids=tokenized_input,
                         labels=...,
                         use_cache=False, # for gradient_checkpointing flag
                         attention_mask=...,
                         decoder_attention_mask=...)

tokenized_input is of the order ~5k-18k tokens but I am truncating to length 16384.
GPU: 16GB V100 GPU memory
RAM:
              total        used        free      shared  buff/cache   available
Mem:      59G         39G         10G         40M        9.4G         19G
Swap:        0B          0B          0B

Problem:
After training on ~5500-6000 batches of size 4, the process gets automatically killed by OOM signal produced.
An important observation that I see using top is that RAM was steadily and gradually increasing over time. It was around 80% when I last checked after around 3000 batches were processed.
Note that the problem is not due to CUDA running out of memory most probably (since it already ran stably for 6-7 hours).
I tried testing with smaller sequence length like 10k, 5k but it was the same problem still.
I also tried to check if there is a memory leak in my code but doesn't seem like (to the best of my understanding).
Anyone faced similar issue before? Any directions to go from here?

I also encountered this problem when i fine-tuned the longformer on a generated version of IMDB datasets. Here are the error codes:
Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.
.....
torch.cuda.OutOfMemoryError: CUDA out of memory.

I have set the max_length in my code:
tokenizer = LongformerTokenizerFast.from_pretrained('allenai/longformer-base-4096', max_length = 1024)

I suspect the tokenizer has bugs in handling some special words or characters.


PeerConnection.Initialized set too early

Describe the bug
Description of PeerConnetion.InitializeAsync states that: "Once this call asynchronously completed, the Initialized property becomes true.". This seems not to be working.
To Reproduce
Consider following function:
async void foo(){
             Console.WriteLine("is initialized1 " + Peer.Initialized);
            await Peer.InitializeAsync(config);
            Console.WriteLine("is initialized2 " + Peer.Initialized);
}

then call it
{
           foo();
           Console.WriteLine("is initialized3 " + Peer.Initialized);
}

The messages it produces are:

is initialized1 False
is initialized3 True
is initialized2 True

Expected behavior
Since "is initialized3" is called before InitializeAsync finishes, it should be False.

is initialized1 False
is initialized3 False
is initialized2 True

Environment

MR-WebRTC version: 2.0.2
Platform: Win10
Architecture: x64
Unity version (if applicable):  non-Unity
Target device: Desktop

Alright so this is awkward but we shouldn't have a PeerConnection.Initialized in the first place. I thought this was helpful but looking more closely it is confusing and cannot be implemented as it was originally envisioned.
The reason is that we do not control the change of state of the task, .NET does. And therefore we cannot possibly synchronize the changes of PeerConnection.Initialized. Even if we change PeerConnection.Initialized = true at the very end of the task, there is always a race condition where PeerConnection.Initialized = true but Task.IsCompleted is not true yet because .NET is in the process of changing that state but didn't quite yet.
The conclusion is that we should remove PeerConnection.Initialized and encourage users instead to await/Wait() the PeerConnection.InitializeAsync() task and have their own bool set after that if they want/need to for their own application logic.

Alright so this is awkward but we shouldn't have a PeerConnection.Initialized in the first place. I thought this was helpful but looking more closely it is confusing and cannot be implemented as it was originally envisioned.
The reason is that we do not control the change of state of the task, .NET does. And therefore we cannot possibly synchronize the changes of PeerConnection.Initialized. Even if we change PeerConnection.Initialized = true at the very end of the task, there is always a race condition where PeerConnection.Initialized = true but Task.IsCompleted is not true yet because .NET is in the process of changing that state but didn't quite yet.
The conclusion is that we should remove PeerConnection.Initialized and encourage users instead to await/Wait() the PeerConnection.InitializeAsync() task and have their own bool set after that if they want/need to for their own application logic.

PeerConnection.Initialized is now marked as obsolete and the docs have been updated to add a warning not to use it, and instead solely rely on the completion of the async task of PeerConnection.InitializeAsync() to avoid any confusion.

PeerConnection.Initialized is now marked as obsolete and the docs have been updated to add a warning not to use it, and instead solely rely on the completion of the async task of PeerConnection.InitializeAsync() to avoid any confusion.


Padding problem when there is a forced scrollbar

There is an issue with the way modals add margins to account for the scroll bar. This issue occurs in the most recent releases of both Bootstrap 3 and 4.
When a browser is forced to display the scrollbar when the vertical content does not require the scrollbar, a padding-right is added to the body when it is not necessary.
Two jsfiddle examples are below that show the problem.
Bootstrap 4:
https://jsfiddle.net/ziluckmichael/fh71sgo0/
Bootstrap 3:
https://jsfiddle.net/ziluckmichael/nvz0ybux/
As you can see it adds padding-right to the browser when it is not required. Both examples use the default code almost exactly as it is off of the demo page.
Browsers Always Affected:

Microsoft Edge 40.15063.674.0
Google Chrome 71.0.3578.98 (Official Build) (64-bit)
Firefox 64.0.2

Browsers Sometimes Affected:

Internet Explorer 11.1508.15063.0

For IE 11, the issue does not occur on my test/demo of the problem, but it does occur on the actual production website where I discovered the issue originally.

Hi @ZiluckMichael .
I tried adding:
html{
width: 100vw;
}
and it seems to work with your problem.
the solution is taken from one of the anwers from here - https://stackoverflow.com/questions/18548465/prevent-scroll-bar-from-adding-up-to-the-width-of-page-on-chrome

I managed to fix the issue, all I had to do was change the ":root" selector to "body" instead. Regardless, this is still a bug that could be fixed so I thought it was helpful to open an issue.

Hello, I just face the same problem, and looks like there's a padding issue all the time event if the scrollbar isn't forced but display due to content overflow.
The padding error is visible on this codepen : https://codepen.io/anon/pen/EMxYXQ
I had try to use the fix with the 100vw on html element but it makes an horizontal scroll apear, and need to add an overflow-x:hidden on the body which is very bad for accessibility : https://codepen.io/anon/pen/NJKZwX
Can't find in git history why that padding was added? maybe for IE8 or older non-supported browser in v4?

I've made some tests, and it looks like _adjustdialog() is useless.

Tests on IE11, FF ESR, Chrome latest show there's no need of padding-right on modal element when there's a scrollbar on body
paddingleft when modal overflow, but not the body is never fired

  _adjustDialog() {
    const isModalOverflowing =
      this._element.scrollHeight > document.documentElement.clientHeight
    if (!this._isBodyOverflowing && isModalOverflowing) {
      // we never pass here even if modal is higher than body, and for sure it's useless
      // this._element.style.paddingLeft = `${this._scrollbarWidth}px`
    }

    if (this._isBodyOverflowing && !isModalOverflowing) {
      // in case where it's the body that make an overflow there's no need to put a padding-right on the modal itself
      // this._element.style.paddingRight = `${this._scrollbarWidth}px`
    }
  }

@mdo I think there's a good reason for all that code you write, but I can't find why in git history, any idea to refresh our memory?
Would you like a PR to try it in action and compare the comportement before and after?

I managed to fix the issue, all I had to do was change the ":root" selector to "body" instead. Regardless, this is still a bug that could be fixed so I thought it was helpful to open an issue.

How did you change the .root selector to body?

Closing as stale for v4. We'll be moving onto focus entirely on v5 and v4 will only see critical updates.

Hi @ZiluckMichael . I tried adding:
html{ width: 100vw; }
and it seems to work with your problem. the solution is taken from one of the anwers from here - https://stackoverflow.com/questions/18548465/prevent-scroll-bar-from-adding-up-to-the-width-of-page-on-chrome

omg that's worked, when I use 'overflow : scroll' then overflow is not show, body element will create padding-right : 15px
mostly I search this problem in google or anywhere they think I got problem from overflow-x.
thank you so much.


[bn] Localized content/bn/docs/setup/_index.md

Signed-off-by: Saber Imtiaz<EMAIL_ADDRESS>Localizes content/bn/docs/setup/_index.md  to Bengali
This is an intial PR as may need some improvements!
Tracking issue: #31677

/label tide/merge-method-squash


Optimized manim.utils.bezier.get_smooth_cubic_bezier_handle_points()

Overview: What does this pull request change?
Related PR: #3281

Optimized get_smooth_cubic_bezier_handle_points()
Added auxiliar functions get_smooth_cubic_bezier_handle_points_for_open_curve() and get_smooth_cubic_bezier_handle_points_for_closed_curve()
Deleted duplicated get_smooth_handle_points() function
Removed the auxiliar function diag_to_matrix() and the scipy import

Motivation and Explanation: Why and how do your changes improve the library?
I had a test scene with more than 100 ParametricFunctions in it, which were all being updated. More than half of the render time was spent on ParametricFunction.generate_points(), and one of the 3 main culprits was VMobject.make_smooth(), which made slow calls to get_smooth_handle_points().
The main bottleneck for this function is the call to scipy.linalg.solve_banded(). Apparently, it spends more time validating the arrays passed as a parameter, than actually solving the system of equations.
That's why I decided to manually implement the algorithm for solving these equations. But also, all the matrices follow the same pattern and their coefficients are pretty much always the same, varying only in size, so the diagonals can be hardcoded in the algorithm rather than stored explicitly. Some of them can even be memoized, which is what I did.
Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

I did notice we don't have any tests for get_smooth_cubic_bezier_handle_points, so it would be a good idea to add tests for the three functions you added :)

I just added some tests :)


Users/merlynop/nodeswitchpoc

@merlynomsft Please do not use the "-" character in the task name as it will conflict with the ci-test-tasks pipeline. Replacing it with "_" or just removing it would work fine.
DownloadBuildArtifactsV0-Node16 - invalid.
DownloadBuildArtifactsV0Node16 - valid
DownloadBuildArtifactsV0_Node16 - valid


Spacing (Padding) not working for contact and portfolio widgets

Describe the bug
The Spacing (Padding) code mentioned in the documentation is not working for contact and portfolio widgets.
To Reproduce
Steps to reproduce the behaviour:

Go to ./content/home/contact.md
Click on edit
Insert code design: spacing:  padding: ["20px", "0", "20px", "0"]
Save the file
Deploy the code

Expected behaviour
The padding should be displayed on the site after deployment.
Technical details:

Link to your GitHub project: https://github.com/harsh95kj
Wowchemy Version (from your go.mod): v0.0.0-20210306214515-1475a49114f4
Hugo Version (run hugo version): 0.81.0
Browser/OS: Chrome
Wowchemy Template (e.g. Academic): Academic

The problem is you can have design: only one time in your file. If you use it more than one time than the code won't work.


Cache config in ram?

Not sure if this is the reason, but most of the times, when I click on shuttle, the loading icon appears for few seconds and then the menu is open.
I think this happens because the app is fetching the config from the configuration file.
I've an iMac 5k with fusion drive, so I think it have decent performances... Maybe you could always cache the configuration in RAM and update it after the menu has been open?

Hello @FezVrasta I don't see this issue as I have an ssd drive but I'm aware it exists. When you click on the icon it reads the JSON file. There is a slight lag in this. I'm not sure putting the config in ram is the best solution.
I do think that their is improvement in this area.
@fitztrev I was thinking about moving the code base to swift. How would you feel about this? There could be optimization gains in moving to swift.

@FezVrasta I'm going to close this for now and put it on hold.


top-level-tooltips-jc

Add top level page tooltips for Stacks, Environments, Apps, Databases, and Activity pages.
https://github.com/aptible/app-ui/assets/4295811/0ef4b447-3c70-45e6-8ac3-c2d871900027

verified after pushing up changes


Wrong version number determined on quay.io for an installed package

On quay.io we are seeing a wrong version number determined for the installed package gnupg in our image quay.io/synlay/docker-erlang:19.0. On quay.io the version 1.4.20-1ubuntu3 is shown, while the image has the version 1.4.20-1ubuntu3.1 installed. Version 1.4.20-1ubuntu3 does have a vulnerability which is fixed with 1.4.20-1ubuntu3.1.
I've verified the installed version through:
docker run -it --rm quay.io/synlay/docker-erlang:19.0 dpkg-query --show gnupg
> gnupg 1.4.20-1ubuntu3.1

Link to the security scan

closing due to age. please remake this issue if it's still relevant. thanks


refactor: organizing tests

I found organising my tests this way would keep cleaner my tests with more complex setups.

I love it!


Build error when following examples

Hi
Installed WSL2 / Ubuntu 20 on Win10
When following this page
https://index.ros.org/doc/ros2/Tutorials/Colcon-Tutorial/
specifically under the "Build the workspace" section I was getting a CMAKE error when attempting to build the examples.  It turns out that a C++ compiler was not installed so I had to run
$ sudo apt install g++
to install and then I was able to build everything

The referenced tutorial mentions the following prerequisite:

Install ROS 2
To build the samples, you will need to install ROS 2.
Follow the installation instructions.

And the building from source instructions for Foxy explicitly mention to install build-essential: https://index.ros.org/doc/ros2/Installation/Foxy/Linux-Development-Setup/#install-development-tools-and-ros-tools
Assuming that you didn't follow the existing instruction I will go ahead and close the ticket. Please feel free to comment if you followed a different path where the instructions were incomplete.


Plus extra options?

Hi,
What would be the picocli way of having "plus extra options", e.g.
command subcommand <options> +extraOoption1 +extraOption2

e.g. this project is using this style of extra options https://github.com/luminus-framework/luminus-template
Thank you.

My initial take would be to simply define those options to have names that start with +. Something like:
class Extra {
  @Option(names = “+aleph”)
  boolean aleph;

  @Option(names = “+jetty”)
  boolean jetty;
}

So I believe it should work out of the box, unless I’m missing something?

My initial take would be to simply define those options to have names that start with

OK. Thank you, that should work too.
Just thought that operators have special handling, like '-', '--', '=', etc. and it would be possible to change that over a global setting.

No, in fact you can even have options that are just alphanumeric without a distinctive prefix.
The only special processing is for posix clustered short options (like tar -xvf FILE). Those must start with a single hyphen.


Please add release tags

To better handling versioning and discern changes, please add release tags to make it easier to consume this package.

Hey there 👋 , I'm preparing a cleanup and update of the repo. We will get release tags 🤗


Speed issue

Is there any overhead or are these solvers inherently very slow compared to DifferentialEquations?

See the readme. Run the overhead measurement on your computer to double check. I found this wrapper to be 3x faster than using SciPy from Python with Numba (because of the function Jitting). See what you get!

Okay. Got it!
Is it the same for MATLABDiffEq and deSolveDiffEq?
I just want to ensure that the benchmarking is comparable when run directly
from Julia or if they need to be run from their own languages.
On Fri, Nov 29, 2019 at 12:02 PM Christopher Rackauckas <
<EMAIL_ADDRESS>wrote:

See the readme. Run the overhead measurement on your computer to double
check. I found this wrapper to be 3x faster than using SciPy from Python
with Numba (because of the function Jitting). See what you get!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaDiffEq/SciPyDiffEq.jl/issues/4?email_source=notifications&email_token=ANOXCNMIWLQB4W2DK43HXTDQWFKNFA5CNFSM4JTBWJY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFPLZLI#issuecomment-559856813,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANOXCNJM24OHQRLEXGF74GTQWFKNFANCNFSM4JTBWJYQ
.

See the READMEs in each. MATLABDiffEq is about 1-1, deSolveDiffEq introduces an overhead of around 3x.

Got it...another issue is that I see that some solvers like the Sundials,
native Julia solvers come with their own interpolant. So can the
interpolant be considered an intrinsic part of the algorithm? I know for
example in MATLAB the deval function is used to interpolate from the
solution structure (although the MATHWORKS manual page on deval doesnt
mention what type of interpolation is used for each algorithm). How does
SciPyDiffEq, deSolveDiffEq and MATLABDiffEq deal with such interpolations?
Or does it do a linear interpolation for these algorithms? In that case
will comparison across languages/algorithms depend on the type of
interpolation used?
On Mon, Dec 2, 2019 at 3:50 PM Christopher Rackauckas <
<EMAIL_ADDRESS>wrote:

See the READMEs in each. MATLABDiffEq is about 1-1, deSolveDiffEq
introduces an overhead of around 3x.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaDiffEq/SciPyDiffEq.jl/issues/4?email_source=notifications&email_token=ANOXCNPQPEGJTDSIVGVY5C3QWV7JDA5CNFSM4JTBWJY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFVP2EI#issuecomment-560659729,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANOXCNIG3QQFD6DHZSGPHYTQWV7JDANCNFSM4JTBWJYQ
.

some solvers like the Sundials, native Julia solvers come with their own interpolant

Sundials doesn't expose it post solution, so we utilize their internal one in the integrator but use a Hermite from the solve (since it allows saving du which is all that's needed for Hermite). Since it's 3rd order it works about as well as the Sundials internal one anyways though.

I know for example in MATLAB the deval function is used to interpolate from the solution structure

We don't use that yet, though we could if you have a use for it. Given the speed of MATLAB though, I generally don't put much effort into giving that library all of the features.

How does SciPyDiffEq, deSolveDiffEq and MATLABDiffEq deal with such interpolations?

deSolve doesn't have an interpolation, so it's just linear. SciPy exposes it, so it defaults to using the one returned from SciPy (i.e. it has full integration).

Thanks for clarifying. I dont know what algorithm MATLAB uses for deval,
but I ran some benchmarks to compare the solutions directly from MATLAB and
via Julia and the results are pretty much the same. So I presume its
inconsequential.
On Mon, Dec 2, 2019 at 6:28 PM Christopher Rackauckas <
<EMAIL_ADDRESS>wrote:

some solvers like the Sundials, native Julia solvers come with their own
interpolant
Sundials doesn't expose it post solution, so we utilize their internal one
in the integrator but use a Hermite from the solve (since it allows saving
du which is all that's needed for Hermite). Since it's 3rd order it works
about as well as the Sundials internal one anyways though.
I know for example in MATLAB the deval function is used to interpolate
from the solution structure
We don't use that yet, though we could if you have a use for it. Given the
speed of MATLAB though, I generally don't put much effort into giving that
library all of the features.
How does SciPyDiffEq, deSolveDiffEq and MATLABDiffEq deal with such
interpolations?
deSolve doesn't have an interpolation, so it's just linear. SciPy exposes
it, so it defaults to using the one returned from SciPy (i.e. it has full
integration).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaDiffEq/SciPyDiffEq.jl/issues/4?email_source=notifications&email_token=ANOXCNODNJC52WVOJPVNOC3QWWR2RA5CNFSM4JTBWJY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFXU3QY#issuecomment-560942531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANOXCNJISFA3LMMAY65QWKLQWWR2RANCNFSM4JTBWJYQ
.

Not much else here. Cheers!


Support SSL pinning

Is your feature request related to a problem? Please describe.
We are currently trying to make SSL pinning work but because that does not work with Angular's httpClient I was looking for a native plugin and this Capacitor equivalent of cordova-plugin-advanced-http looks pretty good so far. Adding support for SSL pinning would make it more enterprise ready in my opinion.

See: silkimen/cordova-plugin-advanced-http#setservertrustmode

Describe the solution you'd like
Add a cordova-plugin-advanced-http#setservertrustmode equivalent or similar.
Describe alternatives you've considered
Always open for better/more secure solutions.
Additional context
I would love to but haven't added SSL pinning in any of my projects so I hope someone else will add more information about securing requests here.

+1
Would love to see this feature !

+1
Would love to see this feature too honestly!

Would love to see this feature too!

Big request from me too

Very interested in this!

Would love to see this feature !

Would love to see this feature !

+1

Have you tried  configuring it via xml ? https://developer.android.com/training/articles/security-config#CertificatePinning

Would very much love to see this feature as well!
To expand on the comment by @sla100: It is indeed very easy and straightforward to enable SSL Pinning on Android, however following this approach for iOS: https://developer.apple.com/news/?id=g9ejcf8y does NOT work. Unfortunately, this is due to a bug in their implementation of WkWebView which simply ignores any values set for NSAppTransportSecurity. See: https://developer.apple.com/forums/thread/681734?login=true
Could someone from the capacitor team indicate how much work it would be to implement this? At my company we're considering writing this feature ourselves for capacitor/http and opening a PR. Getting an estimate for the amount of work required would help us make a decision on whether this is worth the time investment.


Anerdw: Watch intexco.co

Anerdw requests the watch of the watch_keyword intexco\.co. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

intexco\.co has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


Stock bump shader can have adverse effects on lighting

I've known about this for a while, but never had good before/after shots until now. Here are two screenshots: one of the Mos Eisley barge area as it appears in the shipped tat2.lvl (which uses bumpmaps) and the other of the same area, but from the ModTools version of the map (which doesn't use bumpmaps)

It almost looks like there's some kind of 'brightness rescaling' being performed by the bump shader, but maybe that's totally wrong.

I'm actually unsure what could be causing this. As far as I can tell the shader responsible does handle lighting in a more or less identical fashion. Though I did do some investigations and that led me to fixing another issue with HDR Rendering.
I do see what you're talking about but I'm unsure for now if there's a possible fix for it. I will leave this issue open for now however, just in case. There are still some things I can try looking into if I find the time.

No problem ;) thanks for looking into this. What's even more bizarre is that the issue isn't present for everyone; it must have something to do with GPUs/motherboards/chipsets or something like that. If I set my lighting quality to high (with shaderpatch disabled), I get a crash to desktop on Mos Eisley, Naboo and maybe a couple other maps. I've looked though the Steam support forum and it looks like only one or two other people have this problem. Who knows what he cause really is lol, I could never blame you for not being able to pinpoint something like this.


Model.zip link is not available

Hi there! Your work is very impressive! I want to reproduce Retro with model inference and retrieval, rather than training it from the very beginning. But the checkpoint file (model.zip) link in your github is nor available any more. Could you please provide the feasible access to that file? Thanks a lot!!!

Hi @tiannuo-yang and thanks for the kind words! I updated the link, so hopefully it should work now!
Good luck with your experiments!


Can we already specify a single check-id to be performed ?

On the new architecture designed & implemented by @graphicore, can we specify a single check (from a given specification) to be performed? This would be pretty useful for debugging during development.
I would love to be able to do something like:
fontbakery --checkid com.google.fonts/test/031 ~/gfonts/ofl/merriweathersans/*.ttf

And run only the check number 031 from the google fonts specification ("Description strings in the name table must not contain copyright info.") on a given family.
If I recall correctly that was one of the benefits of the new architecture.

The syntax I suggested above could be something else, of course. (I seems we would need at least a subcommand name in there, for instance)

I'll add this.

cool, thanks!

Until then, temporarily for now, I suggest you change the spec definition directly to something like this:
specificiation = Spec(
    conditions=conditions
  , testsections=[Section('Default', [check_description_strings_must_not_contain_copyright_info])]
  , iterargs={'font': 'fonts'}
  , derived_iterables={'ttFonts': ('ttFont', True)}
)

ok, thanks


zydis: v4.0.0 -> v4.1.0

Description of changes
This PR updates Zydis from v4.0.0 -> v4.1.0, the latest version as of writing.
Zydis release: https://github.com/zyantific/zydis/releases/tag/v4.1.0
The Zycore "sub-derivation" is also updated to v1.5.0. This is the Zycore version required by v4.1.0 and is also the latest version as of writing.
Zycore release: https://github.com/zyantific/zycore-c/releases/tag/v1.5.0
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] 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

[x] 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
[x] 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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 286371 run on x86_64-linux 1

1 package built:

zydis


Fix text overflow

Not a very realistic scenario, but very long words without any spaces can lead to overflowing text.
Add overflow-wrap: anywhere; where needed.

Duplicate of https://github.com/otacke/h5p-game-map/issues/36


Use const in TncOnSourceHandleCommand

On line 122 in nSources.pas there is this line
TncOnSourceHandleCommand = function(Sender: TObject; aLine: TncSourceLine; aCmd: Integer; aData: TBytes; aRequiresResult: Boolean; const aSenderComponent, aReceiverComponent: string): TBytes of object;
could be changed to
TncOnSourceHandleCommand = function(Sender: TObject; aLine: TncSourceLine; aCmd: Integer; const aData: TBytes; aRequiresResult: Boolean; const aSenderComponent, aReceiverComponent: string): TBytes of object;
Typically the event calls a method with a signature like
function OssHandleCommand(Sender: TObject; aLine:
TncSourceLine; aCmd: Integer; const aData: TArray<System.Byte>; aRequiresResult:
Boolean; const aSenderComponent, aReceiverComponent: string):
TArray<System.Byte>;

and aData should not be modified. The compiler could then generate slightly more efficient code.
Btw I discovered this by Pascal Analyzer it is an excellent tool well worth the cost.

Dear Robert,
I have changed the signature of the TncOnSourceHandleCommand. You will also find that the signature of the sockets have changed as well as that one in the sources you pointed out. Thank you very much for the suggestion.
As a matter of fact, the whole packet packing/unpacking has also been optimised. The speed increase is around 300%
regards, Bill


RPI, EGL FLAG EGL_TRANSPARENT_RGB CRASH

Hi guys, I'm developing gui for rpi, but I need the background to be transparent ...
I tried to rebuild the library with this "EGL_TRANSPARENT_RGB" flag but it does not work, as soon as I start my application, the library is initialized correctly but can not get the surface information and subsequently generates a "SIGSEGV: Segmentation fault" error.
How can I create a transparent background?
START INFO LOG:
INFO: Initializing raylib (v1.7.0)
INFO: Display device initialized successfully
INFO: Display size: 800 x 480
INFO: Render size: 800 x 480
INFO: Screen size: 800 x 480
INFO: Viewport offsets: 0, 0
INFO: GPU: Vendor:   (null)
INFO: GPU: Renderer: (null)
INFO: GPU: Version:  (null)
INFO: GPU: GLSL:     (null)

Hi @dginu85, I assume you set that flag on core.c -> InitGraphicsDevice() -> framebufferAttribs this way:
const EGLint framebufferAttribs[] =
{
    EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,     // Type of context support -> Required on RPI?
    EGL_RED_SIZE, 8,            // RED color bit depth (alternative: 5)
    EGL_GREEN_SIZE, 8,          // GREEN color bit depth (alternative: 6)
    EGL_BLUE_SIZE, 8,           // BLUE color bit depth (alternative: 5)
    EGL_ALPHA_SIZE, 8,        // ALPHA bit depth
    EGL_TRANSPARENT_TYPE, EGL_TRANSPARENT_RGB, // Request transparent framebuffer
    EGL_DEPTH_SIZE, 16,         // Depth buffer size (Required to use Depth testing!)
    EGL_SAMPLE_BUFFERS, sampleBuffer,    // Activate MSAA
    EGL_SAMPLES, samples,       // 4x Antialiasing if activated (Free on MALI GPUs)
    EGL_NONE
};

If it doesn't work that way, maybe it's not supported by the hardware...

HI raysan5, Thanks for reply :-)
look here https://www.facebook.com/DavGiorgianni/videos/1297212513693209/
i try your code..

@raysan5 :-(
INFO: Initializing raylib (v1.7.0)
INFO: Display device initialized successfully
INFO: Display size: 800 x 480
INFO: Render size: 800 x 480
INFO: Screen size: 800 x 480
INFO: Viewport offsets: 0, 0
INFO: GPU: Vendor:   (null)
INFO: GPU: Renderer: (null)
INFO: GPU: Version:  (null)
INFO: GPU: GLSL:     (null)

mmm... don't know... maybe it's some config parameter missing? I saw the following params are also available:
EGL_TRANSPARENT_TYPE
EGL_TRANSPARENT_RED_VALUE
EGL_TRANSPARENT_GREEN_VALUE
EGL_TRANSPARENT_BLUE_VALUE

Can you build the GUI just using transparent textures, directy drawing on canvas?
Or maybe you can use a framebuffer object (RenderTexture2D) to do the drawing: https://github.com/raysan5/raylib/blob/master/examples/shaders/shaders_postprocessing.c

not work ...
EGL_TRANSPARENT_TYPE
EGL_TRANSPARENT_RED_VALUE
EGL_TRANSPARENT_GREEN_VALUE
EGL_TRANSPARENT_BLUE_VALUE
This works fine, but it transforms everything.
VC_DISPMANX_ALPHA_T
alpha.flags = DISPMANX_FLAGS_ALPHA_FIXED_ALL_PIXELS;
alpha.opacity = 255; --> 125 ex
alpha.mask = 0;
The transparency I need to play the video.

If not using EGL_TRANSPARENT_TYPE config parameter, does it work (I mean with no transaparency)? Is OpenGL ES 2.0 context initialized?

@raysan5
not work
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,     // Type of context support -> Required on RPI?
		EGL_RED_SIZE, 8,            // RED color bit depth (alternative: 5)
		EGL_GREEN_SIZE, 8,          // GREEN color bit depth (alternative: 6)
		EGL_BLUE_SIZE, 8,           // BLUE color bit depth (alternative: 5)
		EGL_ALPHA_SIZE, 8,        // ALPHA bit depth
		EGL_TRANSPARENT_TYPE,**EGL_TRANSPARENT_RGB**, // Request transparent framebuffer
		EGL_DEPTH_SIZE, 16,         // Depth buffer size (Required to use Depth testing!)
		EGL_SAMPLE_BUFFERS, sampleBuffer,    // Activate MSAA
		EGL_SAMPLES, samples,       // 4x Antialiasing if activated (Free on MALI GPUs)
		EGL_NONE

this work
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,     // Type of context support -> Required on RPI?
		EGL_RED_SIZE, 8,            // RED color bit depth (alternative: 5)
		EGL_GREEN_SIZE, 8,          // GREEN color bit depth (alternative: 6)
		EGL_BLUE_SIZE, 8,           // BLUE color bit depth (alternative: 5)
		EGL_ALPHA_SIZE, 8,        // ALPHA bit depth
		EGL_TRANSPARENT_TYPE,**EGL_NONE** // Request transparent framebuffer
		EGL_DEPTH_SIZE, 16,         // Depth buffer size (Required to use Depth testing!)
		EGL_SAMPLE_BUFFERS, sampleBuffer,    // Activate MSAA
		EGL_SAMPLES, samples,       // 4x Antialiasing if activated (Free on MALI GPUs)
		EGL_NONE

Hi @dginu85! Thank you very much for the update and detecting this issue!
Please, could you provide some small sample for this feature usage?

Hi @raysan5 :-)
main.c
int main()
{
   InitWindow(screenWidth, screenHeight, "myapp");
   Init();
   while (isrun)
   {
	   Update();
   }
   return 0;
}

core.c
const EGLint framebufferAttribs[] =
	{
		EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,     // Type of context support -> Required on RPI?
		EGL_RED_SIZE, 8,            // RED color bit depth (alternative: 5)
		EGL_GREEN_SIZE, 8,          // GREEN color bit depth (alternative: 6)
		EGL_BLUE_SIZE, 8,           // BLUE color bit depth (alternative: 5)
		EGL_ALPHA_SIZE, 8,        // ALPHA bit depth
		EGL_TRANSPARENT_TYPE,EGL_NONE, // Request transparent framebuffer
		EGL_DEPTH_SIZE, 16,         // Depth buffer size (Required to use Depth testing!)
		EGL_SAMPLE_BUFFERS, sampleBuffer,    // Activate MSAA
		EGL_SAMPLES, samples,       // 4x Antialiasing if activated (Free on MALI GPUs)
		EGL_NONE
	};

hehehe... thanks! :D
I mean, what's the visual difference or direct application of having a transparent framebuffer? It was not clear to me just seeing the video you shared...
Could you share two comparison images if it's not a lot of trouble?

I did not understand the question!
Do you want a screenshot with my application (constructed with raylib) with 125 transparency?
VC_DISPMANX_ALPHA_T
alpha.flags = DISPMANX_FLAGS_ALPHA_FIXED_ALL_PIXELS;
alpha.opacity = 255; --> 125 ex
alpha.mask = 0;

no problem... yes, I mean an screenshot to see results.

@raysan5

ok! I see! You got a full-screen semi-transparent window and you can see the console in the back... very interesting! :)
Thank you very much for tracking this issue and finding a solution, just added some notes on commit https://github.com/raysan5/raylib/commit/321027a242e287e00ac0884387113db4b09ea065 for future adventurers (or a future implementation).


Smart Maps Name Guideline

While working on Documentation, I see several different names are used. Should we starndardize the use of the names.
Name of our group
What is used

Domain Working Group 7 on Smart Maps
DWG 7 on Smart Maps
DWG 7
DW7

As I understand, "DWG" is the term used in Open Geospatial Consortium. https://www.ogc.org/about-ogc/committees/dwg/
They normally use the form of "Something DWG".
My recommendation

Smart Maps DWG

What do you think? @albertkun, @yuiseki, @smellman, @mapconcierge, @miya0001
As we are more used to the term Smart Maps, maybe it would be a good time to use a single standardized name.
In Japanese language, I propose ”スマートマップ作業部会".

In the Open Geospatial Consortium, indeed, the recommended naming convention appears to be better. However, in UN Open GIS, a different notation seems to be consistently used; in UN Open GIS, it may be important to indicate that there are multiple (D)WGs with numbers.
I am not that particular about what we call ourselves, but it may or may not be important to indicate by name that we are part of UN Open GIS.
2023-02

2023-03

2023-05 (late 04)

Thank you, @yuiseki for organizing the facts. As I understand, UN Open GIS Initiative does not have strict naming standard and that is why sometimes DWG is used while other times WG is used.
I am proud to have the number 7 for our group, but on the other hand the number 7 is meaningful only inside the initiative.
According to these fact, may I suggest a simpler name:

Smart Maps Group

Some times we can call ourselves UN Open GIS Smart Maps Group (DWG 7), or even UN Open Smart Maps Group (DWG 7). What do you think?

I would say Smart Maps Group would be a standard alias or a nick name for the UN Open GIS Initiative Domain Working Group 7 on Smart Maps.

@albertkun, thank you for your input. I am updating the proposal incorporating your input.
Yes, I also think 7 is an attractive number and we can make use of this number to symbolize us and our efforts.
Our logo policy is worth is better ;-) i.e. Our initial idea is that a bad logo is better than no logo. So, we always welcome further proposals to thinka about.
Practical note: we use Futura font since UNVT. This is also not a hard rule.

Name guideline proposal
Principles

We would like to keep our names simple and so easy to remember and understand.
We want to make our text short as possible. For this reason, we prefer short names.
We would like to take our priviledge to make use of UN brand where appropriate. On the other hand, we want to be considerate not to assume the name of the UN. We do not want anyone to feel cheated.

Guideline proposal

We normally use UN Smart Maps when it is appropriate. We want to make this our brand.
We add specific words after Smart Maps to identify something under our activitiy. For example: Smart Maps Meetup, Smart Maps Bazaar, and Smart Maps Group. It is OK to use UN as a prefix. However, we also wanto to keep our names short, preferably less than 3 words.
We also add DWG and 7 when it is necessary or appropriate. But we still want our brand simple and easy to remember. That is why we normally use UN Smart Maps.

I am now consulting with UN Open GIS Bureau for their confirmation 👍🏻

I received 👍🏻 from @KyoungEom on the UN MS Teams in consulting with UN Open GIS Bureau.
I believe we can go ahead using UN Smart Maps as our standard brand.
@albertkun Do you think we can set up a page for the Name Guideline on our Documentation site?
I think we can close this issue after we place this Naming Guideline on a persistent place.

Good morning @hfu! Yes, I will do that under About -> Brand Guidelines!

Regarding the naming convention, I think it's great! Trying to keep is short and simple is a good policy! I also never heard of the worse-is-better policy! Thank you for sharing that!
About Documentation and guideline 3., should the website be UN Smart Maps Documentation or Smart Maps Documentation?
I strongly agree with guideline 4.: keeping the maps plural is important, I think it helps indicate we are pushing for open usage of tools and data, so it is not just one "smart map"!
Sorry I cannot give feedback on 6. though, which I am assuming would be 国連スマート地図 vs. UNスマート地図, right?

Practical note: we use Futura font since UNVT. This is also not a hard rule.

Should we replace the Roboto font on the website with Futura? If yes, is there a link to the font I can use? Thank you!

I received 👍🏻 from @KyoungEom on the UN MS Teams in consulting with UN Open GIS Bureau. I believe we can go ahead using UN Smart Maps as our standard brand.
@albertkun Do you think we can set up a page for the Name Guideline on our Documentation site?
I think we can close this issue after we place this Naming Guideline on a persistent place.

I have created the brand page here:

Link

Brand
https://unopengis.github.io/7-docs/about/brand

ブランド
https://unopengis.github.io/7-docs/ja/about/brand

The Japanese site still needs to be translated though, but I think we can close this issue!

@albertkun
Thank you for creating a page. I updated these pages and am closing this issue.

@hfu You are welcome! Sorry about the state of the Japanese page! I didn't have time to translate it 😓

Should we replace the Roboto font on the website with Futura? If yes, is there a link to the font I can use? Thank you!
I do not think there are easily accessible Futura fonts on the web. Let's keep on using Roboto as it is a UN standard, too.

About Documentation and guideline 3., should the website be UN Smart Maps Documentation or Smart Maps Documentation?

I think the web site is for UN Smart Maps and the Documentation project can be called Smart Maps Documentation. https://unopengis.github.io/smartmaps/ would be a sole unified Documentation project for UN Smart Maps. What do you think?

We currently have brand guidelines below, due to the change of the repository name.

https://unopengis.github.io/smartmaps/about/brand/
https://unopengis.github.io/smartmaps/ja/about/brand/


⚠ Bofrost.lu has degraded performance

In 3fbafae, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2442 ms

Resolved: Bofrost.lu performance has improved in 856685f after 17 minutes.


Ensure functional javascript tests can be ran

The Problem/Issue/Bug
It's currently not possible to run functional tests as the default settings are invalid.
How this PR Solves The Problem
I've updated the default environment variables to more appropriate ones based off what Drupal uses in it's official pipelines.
Implementation notes
The MINK_DRIVER_ARGS_WEBDRIVER environment variable supports both goog:chromeOptions and chromeOptions (legacy) in order to automatically support testing on Drupal <10.3 - https://www.drupal.org/node/3422624
We can potentially simplify this to just goog:chromeOptions and add an init script which detects < D10.3, and replaces it with chromeOptions, but that seemed unnecessarily complicated.
Manual Testing Instructions
Set up a drupal project in gitpod.
ddev phpunit core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php

All the tests will be currently skipped due to the misconfigurations.
Related Issue Link(s)
N/A
Release/Deployment notes
N/A

Summary by CodeRabbit

Chores

Updated testing configurations to improve consistency and reliability in the testing environment.

@codebymikey thank you for this PR! I confirm  that this PR fixes running core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php but for some reason it didn't worked for running javascript tests for checking iframes. Also it didn't worked for media browser test: Drupal\Tests\media_library\FunctionalJavascript\WidgetOverflowTest::testWidgetOverflow
I recieved:
The test wasn't able to connect to your webdriver instance. For more information read core/tests/README.md.

The original message while starting Mink: Could not open connection: unknown error: Chrome failed to start: crashed.
  (unknown error: DevToolsActivePort file doesn't exist)

What worked for me is (in addition to your changes) to specify --no-sandbox in both variables:
      MINK_DRIVER_ARGS_WEBDRIVER: >-
        [
        "chrome",
        {
          "browserName":"chrome",
          "chromeOptions":{"args":["--disable-dev-shm-usage","--disable-gpu","--headless","--dns-prefetch-disable","--no-sandbox"]},
          "goog:chromeOptions":{"args":["--disable-dev-shm-usage","--disable-gpu","--headless","--dns-prefetch-disable","--no-sandbox"]}
        },
        "http://chromedriver:9515"
        ]
      DRUPAL_TEST_WEBDRIVER_CHROME_ARGS: "--disable-dev-shm-usage --disable-gpu --headless --dns-prefetch-disable --no-sandbox"

@codebymikey or @shaal Would you mind updating the title to "Ensure functional javascript tests can be run"? (ran -> run) thanks!

(BTW, I'm not sure why Drupalpod isn't using https://github.com/ddev/ddev-selenium-standalone-chrome for this if it's not? That would be the best maintained solution. )


Error with azd up on m1 mac in devcontainer

Hello,
I am seeing an error when attempting to deploy to azure using the azd up command that is outlined in the README. I am on an m1 mac using a devcontainer within VS code. I am able to run the function locally, but seeing the following error during the deployment:
ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure:
creating template: failed to compile bicep template: failed running bicep build: signal: aborted, stdout: ,
stderr: Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Text.RegularExpressions.Regex.CreateRunner()

When looking for others that may have encountered the same issue, I found this other github issue on a separate repo that claims to have a workaround. When I use this suggested fix, I encounter further errors with not being able to find required packages defined in this repo (Azure Function Tools is a common one that I encounter that says it "cannot be found").
I'm curious to know if there is any workaround that you've found that has worked for deploying this on a m1 mac using devcontainers?
Thanks in advance!

I believe this error is expected, sadly, as the Dockerfile is still using amd64 emulation mode (qemu) in order to bring azure-functions-core-tools. We're still waiting for ARM64 support for Python azure-functions-core-tools, which should be any day now:
https://github.com/Azure/azure-functions-python-worker/issues/915
I've also checked with the azd team to see if they have other workarounds, as this affects other samples with Azure Functions.
For now, I deploy outside the container or in Codespaces.

I also encountered this issue using a devcontainer on Mac silicon.  I see the referenced issue is now closed.  Is there an easy fix?

Sorry, I still haven't figured out a devcontainer setup that will work on an M1. I've been running it in either Codespaces or locally. I've asked the Functions and azd teams to look into it, however.


Making HTTP requests from Blazor apps

There are a number of rough edges with the current support in Blazor for making HTTP requests:

How to configure the HttpClient provided from DI? To add custom headers, etc. (https://github.com/aspnet/AspNetCore/issues/10381)
Should we be using IHttpClientFactory?
HttpClient is provided as a service for client-side Blazor but not server-side Blazor. Lots of folks are jumping through hoops to setup the same HttpClient service for server-side Blazor. Wat is our guidance here?

I took a stab at this (admittedly more client-side than server-side at this time) ... but it's 50-50 .... 50% chance I did some good work there and a 50% chance that a lightening bolt from the gods is going to hit me any second! :zap:
Blazor call web API topic with sample (aspnet/AspNetCore.Docs #12477)

With the invalid cert allowance (which might be bad to even show in a preview topic) ...
<ItemGroup>
  <PackageReference Include="System.Net.Http" Version="4.3.4" />
</ItemGroup>

services.AddScoped(s =>
{
    var uriHelper = s.GetRequiredService<IUriHelper>();
    return new HttpClient
    {
        BaseAddress = new Uri(uriHelper.GetBaseUri()),
    };
});

@using System.Net.Http

@functions {
    private async Task MakeHttpClientRequest()
    {
        using (var httpClientHandler = new HttpClientHandler())
        {
            httpClientHandler.ServerCertificateCustomValidationCallback =
                (message, cert, chain, errors) => true;

            using (var client = new HttpClient(httpClientHandler))
            {
                // Use client
            }
        }
    }
}

So the most important piece of work we'll be doing here is the last item on the above list:

What's the plan for the JSON helpers for HttpClient?

Closing this as the only item left here will be tracked as part of https://github.com/aspnet/AspNetCore/issues/16929


Fix test case test/DebugInfo/dbgvalue-insertpt.swift for unoptimized builds

rdar://33753333

@swift-ci Please smoke test

This also fixed rdar://33745652 on master-next I think.


Failed to create working directory.

While creating payload for WhatsApp it shows error failed to create working directory and while i create folder in internal storage named XHUNTER and trying to create payload than app automatically closed..

There is an issue on android 11+ devices are facing it soon I will patch it. Till you can use it on lower android version


ORDER BY returns incorrect number of tuples in result

I'm not sure if this is a bug, but the behaviour is definitely unexpected.
Python workflow is used to produce the issue.
pip install kuzu pandas

Kùzu version: 0.1.0
Scenario
Consider the following two input CSV files that represent relationships between people.
person_nodes.csv
id,name,gender,age
1,Kenneth Scott,male,29
2,Stephanie Scott,female,26
3,Laura Williams,female,39

person_edges.csv
from,to,relationship
1,2,family_member
1,3,business_associate
2,3,business_associate

Code
build_graph.py
import os
import shutil

import kuzu

def create_person_node_table(conn: kuzu.Connection) -> None:
    conn.execute(
        """
        CREATE NODE TABLE Person(
            id INT64,
            name STRING,
            gender STRING,
            age INT64,
            PRIMARY KEY(id)
        )
    """
    )

def create_person_edge_table(conn: kuzu.Connection) -> None:
    conn.execute(
        """
        CREATE REL TABLE Knows(
            FROM Person to Person,
            relationship STRING
        )
    """
    )

DB_NAME = "test"
if os.path.exists(DB_NAME):
    shutil.rmtree(DB_NAME)

db = kuzu.Database(DB_NAME)
conn = kuzu.Connection(db)

create_person_node_table(conn)
create_person_edge_table(conn)

conn.execute("COPY Person FROM 'person_nodes.csv' (header=true);")
conn.execute("COPY Knows FROM 'person_edges.csv' (header=true);")

query.py
import kuzu

query = """
    MATCH (a:Person)-[r:Knows]->(b:Person)
    RETURN a.name, r.relationship, b.name
    LIMIT 10;
"""

DB_NAME = "test"
db = kuzu.Database(DB_NAME)
conn = kuzu.Connection(db)

print(f"Query: {query}")
response = conn.execute(query)
num_tuples = response.get_num_tuples()
result = response.get_as_df()
print(f"Result:\n{result}")
print(f"\nObtained {num_tuples} tuples in result")

Expected result
When we run this query, we obtain 3 tuples in the result as expected.
    MATCH (a:Person)-[r:Knows]->(b:Person)
    RETURN a.name, r.relationship, b.name
    LIMIT 10;

Result:
            a.name      r.relationship           b.name
0    Kenneth Scott       family_member  Stephanie Scott
1    Kenneth Scott  business_associate   Laura Williams
2  Stephanie Scott  business_associate   Laura Williams

Obtained 3 tuples in result

Unexpected result
However, when we run this query with an ORDER BY clause, we obtain 5 tuples, which is incorrect.
    MATCH (a:Person)-[r:Knows]->(b:Person)
    RETURN a.name, r.relationship, b.name
    ORDER BY a.name
    LIMIT 10;

Result:
            a.name      r.relationship           b.name
0                        family_member  Stephanie Scott
1                   business_associate   Laura Williams
2    Kenneth Scott       family_member  Stephanie Scott
3    Kenneth Scott  business_associate   Laura Williams
4  Stephanie Scott  business_associate   Laura Williams

Obtained 5 tuples in result

What could be going wrong? Is the Cypher query projection not being done as expected?

Interestingly, running ORDER BY on the second person's name does not have an issue and produces the correct result.
    MATCH (a:Person)-[r:Knows]->(b:Person)
    RETURN a.name, r.relationship, b.name
    ORDER BY b.name
    LIMIT 10;

Result:
            a.name      r.relationship           b.name
0    Kenneth Scott  business_associate   Laura Williams
1  Stephanie Scott  business_associate   Laura Williams
2    Kenneth Scott       family_member  Stephanie Scott

Obtained 3 tuples in result

This sounds like a bug in the top-k optimization. Let me assign it to @acquamarin and @andyfengHKU.

@semihsalihoglu-uw You are right.
There is a bug related to top-k handling flat/unflat tuples. I have made a patch which should fix the bug:
https://github.com/kuzudb/kuzu/pull/2650


[Finetuning] Add scripts for Genomics Long Range Benchmark Finetuning

To complete the evaluation on long-range DNA tasks, I thought that this would be helpful. (Only 8 of the 9 tasks present in the Genomics Long Range Benchmark are handled, I will add the CAGE fine-tuning script soon).

Just added the 9th task (CAGE).


Too long startup time?

when I start your docker images,It need more than 5mins to access the page;
I have a good suggestion,
change this file:
/usr/local/openjdk-11/conf/security/java.security
securerandom.source=file:/dev/random   to  securerandom.source=file:/dev/urandom,
It starts right away

Looking forward to further communication;

Seems we can  just use-Dsecurerandom.source=file:/dev/urandom option in cmd. Feel free to provide PR, to add it to entrypoint.

when I run this images and add -Dsecurerandom.source to my compose file ,it's works,
but I reboot my ecs

I can't open the page;
docker logs cmak:

I don't know what to do,
it's my docker-composer.yml:
version: '3.6'
services:
  kafka_manager:
    image: hlebalbau/kafka-manager:stable
    container_name: "cmak"
    restart: always
    ports:
      - "9005:9000"
    command:
      - "-Dcmak.zkhosts=<IP_ADDRESS>:2181"
      - "-DbasicAuthentication.enabled=true"
      - "-DbasicAuthentication.username=username"
      - "-DbasicAuthentication.password=password123"
      - "-Dsecurerandom.source=file:/dev/./urandom"

@zengxc-1996 how do you deploy to ECS? Using a docker-compose file, or some other tool?

So, should we do something here, or just close?

So, should we do something here, or just close?

For my understanding - this issue can't be addressed completely in initially proposed way.
I still some time observer very slow startup sometimes , quite sporadically.
With the lack of entropy - container couldn't start att all.
So I think this is rather CMAK issue with connection handling.

okay, close for now
future reader, if you have a solution, please, reopen :)


MaterialModule Deprecation

Pulled down the latest code and built and am getting an error around MaterialModule not being found.
It was deprecated in 2.0.0-beta.10 and removed in 2.0.0-beta.11
https://github.com/angular/material2/blob/master/CHANGELOG.md#breaking-changes
Whats odd is you have a lock for beta.10 and that is what is being installed yet the module still doesnt exist.

I can confirm this behavior.

Actually, the package isn't locked to beta10. It will currently load beta12. You can temporarily get around that by removing the caret "^" in front of the @angular/material line, but when I tried that I starting getting other dependency errors.
I just submitted a pull request that works with beta12.

Yeah I see the carrot but thought the lock file showed 10. Oh well, glad to see your PR.

I merged the pull request and published a new version to NPM, 0.5.0-alpha.9, with full support for @angular/material 2.0.0-beta.12.


Invalid event types are not validated

Description:
If you specify an unknown event type on a function no error is raised during the transform.
Steps to reproduce the issue:

Deploy the following template:

AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
    SampleFunction:
        Type: AWS::Serverless::Function
        Properties:
            Handler: index.handler
            Runtime: nodejs8.10
        Events:
            ExampleEvent:
                Type: AnInvalidType
                Properties: {}

Observed result:
The stack is created successfully just without any event triggers on the function.
Expected result:
An error should be raised and the stack creation should fail noting that AnInvalidType is not a valid event type.

This has been fixed. Resolving.


fix(dialog-box): 修复对话框移动后动态style没更新的bug

PR
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our Commit Message Guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@all-contributors please add @Huangyilin19 for code


smhp/easy-ssh: support custom controller group name

Issue #, if available: N/A
Description of changes: SageMaker HyperPod's eash-ssh to allow custom controller's instance group name.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks! was meaning to implement this at some point


Add support for vault when generating secrets driven adapter

**Is your feature request related to a problem? Please describe. **
No
Describe the solution you'd like
The only secrets backend supported by the scaffolder is AWS secrets manager, since the library secrets-manager now supports Vault as backend, it will be helpful to adopt a parameter when generating this driven-adapter for the developer to specify which backend wants to use.
Describe alternatives you've considered
None.
Additional context
N/A

:tada: This issue has been resolved in version 3.14.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Chapters Page

Description

Clicking on the college names in the chapters page is opening the same page again in a new tab.
Expected Behavior

In that case, college names should be made non-clickable.
Enviroment:

OS: Mac Linux Windows
Browser: Chrome Safari Firefox
Version:
Device: Desktop Mobile

Please assign me this issue under GSSoC'23.

Yes , go ahead @Moumita2002


RSASSA-PSS change breaks BCRSAPrivateKey Java serialization

It appears that a309b4f573eb4a1314649480541cecf2da11827a broke Java serialization (for both RSA and RSASSA-PSS keys). This simple test case proves it:
diff --git a/prov/src/test/java/org/bouncycastle/jce/provider/test/RSATest.java b/prov/src/test/java/org/bouncycastle/jce/provider/test/RSATest.java
index 58043eb0f..9cef962ad 100644
--- a/prov/src/test/java/org/bouncycastle/jce/provider/test/RSATest.java
+++ b/prov/src/test/java/org/bouncycastle/jce/provider/test/RSATest.java
@@ -753,6 +753,10 @@ private void testPSSKeys()

         isTrue("RSASSA-PSS".equals(privateKey.getAlgorithm()));

+        privateKey = (PrivateKey)serializeDeserialize(kp.getPrivate());
+
+        isTrue("RSASSA-PSS".equals(privateKey.getAlgorithm()));
+
         SubjectPublicKeyInfo subKey = SubjectPublicKeyInfo.getInstance(publicKey.getEncoded());

         isTrue(null == subKey.getAlgorithm().getParameters());

Results in:
> Task :prov:RSATest.main()
java.lang.NullPointerException
	at org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPrivateKey.getAlgorithm(BCRSAPrivateKey.java:79)
	at org.bouncycastle.jce.provider.test.RSATest.testPSSKeys(RSATest.java:758)
	at org.bouncycastle.jce.provider.test.RSATest.performTest(RSATest.java:721)
	at org.bouncycastle.util.test.SimpleTest.perform(SimpleTest.java:180)
	at org.bouncycastle.util.test.SimpleTest.runTest(SimpleTest.java:203)
	at org.bouncycastle.util.test.SimpleTest.runTest(SimpleTest.java:198)
	at org.bouncycastle.jce.provider.test.RSATest.main(RSATest.java:990)
RSATest: Exception: java.lang.NullPointerException

Should be fixed in https://www.bouncycastle.org/betas 166b03 or later.

Official patch release now at:
https://downloads.bouncycastle.org/java/bcprov-jdk15on-165.01.jar
https://downloads.bouncycastle.org/java/bcprov-debug-jdk15on-165.01.jar
https://downloads.bouncycastle.org/java/bcprov-ext-jdk15on-165.01.jar
https://downloads.bouncycastle.org/java/bcprov-ext-debug-jdk15on-165.01.jar

@bcgit, thank you! Will try it once it shows up at https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on (we use gradle to manage dependencies)

Would you try it locally first. We can only upload a release once to the maven repository. Thanks.

@bcgit makes sense. I have just downloaded bcprov-jdk15on-165.01.jar and verified that our code works with 1.64, is broken with 1.65, but is fixed with 1.65.01.
One question. Is there a git branch for 1.65.01? If so, could you please point me to it? Would be good to have visibility into the changes that went into it.

Could you please publish 1.65.01 on Maven central ?

Several Eclipse projects depend on 1.65 and might be affected, we are close to rampdown for the next simultaneous release and would appreciate if you could make 1.65.01 available on Maven central. Otherwise we'll rollback to 1.64 and also have to revert https://git.eclipse.org/r/#/c/161962/ in JGit which depends on a new feature introduced in 1.65.

Sure, it should appear within 24 hours.

@lipnitsk the principal commit was in: https://github.com/bcgit/bc-java/commit/789a03bba275fc555266c3177a6d7afd4ae16de5#diff-327453b17606a3ef48c1cf7aa58bdc05
we ended up just adding a new field to preserve the state as it reduced the compatibility issues.

Now closed.


Implement static resource handling

We need to add build-time support for resource inclusion. To achieve this we need to implement a core plugin that adds a static key to modules. This key should be an array of resources that will be included at build time following the standard resource inclusion rules.
Example:
"modules": {
  "module": {
    "static": [
      {"src": "iphone/index.html", "platform": "iphone"},
      {"src": "android/index.html", "platform": "android"},
      {"src": "web/index.html", "platform": "web"},
      "external/image/path.png"
    ]
  },

do the standard resource inclusion rules include regex patterns? is it recursive? can static resources be redistributed to multiple can servers? and different cdn providers at the same time? what if we had one cdn for non-ssl and another cdn company for ssl resources.

Regexs are not included in the standard rules right now. Would be a valuable addition. Could you open an issue to track that?
This is focused primarily on getting everything into a tarball vs. deployment. I think CDN support would be something that would be better suited for external plugins as deploying etc would vary by environment and I'm not sure we can predict all of those requirements in a general manner.

right, cdn support should be a external plugin. yeah there's no way we could predict all of em.

I think we need a dest attribute here as well or am I missing something?

Joe, wouldn't outputDir be the same thing as dest, or am i missing something. I'm assuming the static files will be output in the outputDir/platform with the same path as how they're included. Or would they get output into the root of outputDir?

Andrew, since the platform is a defined attribute, I would assume that the resources are copied to the build inside the platform directory.  So, with the example above, it seems you would end up with a file in build/iphone/iphone/index.html.
What if we added a platform variable to reference so, instead of
"modules": {
"module": {
"static": [
{"src": "iphone/index.html", "platform": "iphone"},
{"src": "android/index.html", "platform": "android"},
{"src": "web/index.html", "platform": "web"},
"external/image/path.png"
]
},
we would have
"modules": {
"module": {
"static": [
"${platform}/index.html"
"external/image/path.png"
]
},
In this case, if a platform variable is referenced, a file for each platform would be copied.

It seems funny for it to go into outputDir/iphone/iphone/index.html. But this is how I would assume it would work too. I'm not sure we want that, do we? If we do then the variable would be a good idea, heck variables would be a great idea to have regardless of the fact.

No, I definitely don't think we want that - which is why I was bringing up the need for a dest attribute (or removal of the platform attribute, or addition of the platform variable, or something to deal with this).
I'll go with the platform variable route unless I hear otherwise from anyone.

I'm not sure we want to gothe route of adding variables to th JSON confg file. Feels out of place having static config and variable. How I it handled if there isn't a matching file for a particular platform? Is that an error or intentional?
I think we should default to copying files into the platform directory using the same path name as defined. For cases where the mapping needs to be different we can add a destination or similar attribute to the resource declaration specifying where it should go I.e.
{src: "foo/bar", dest: "bar"}
If want to output something in the build root vs. the platform dir could do something like {src: "foo/bar", dest: "/foo/bar"}

ok, sounds good

I'm having trouble understanding how I get the platform directory & build root.
I do see the 'platform' attribute of the context as the current platform but don't know how to make an absolute filesystem path with that.

thanks Kevin


Z score fix deterministic sims

Just a simple fix with accompanying test.
Note that the test demonstrates that deterministic simulators lead to infinites in log prob posterior, which we currently catch with an assertion.
Bundling management of z-scoring into a method and reducing complexity of the API by merging  num_pilot_sims and z_score_x into a single argument will be the subject of a subsequent PR.

Oh, verdammt @janfb I see the insidious long lines again in my commits. I will try to fix that before committing which may imply addressing #128 (I would ask for quick feedback from @michaeldeistler, @jan-matthis as well on that since this will affect your daily coding experience).


Message & NoticeBar RN Commit

Coverage increased (+2.4%) to 34.741% when pulling f835e8c110affe410493706e54a8c9c487044ce6 on ssCassie:dev into 32d2cf637186ae6edeb3ebce3a0c04cf9b09985a on ZhonganTechENG:dev.


Command Z undoes tons of work really quickly, and unsyncs work

Product and Version [VS/VSCode]:
OS Version [macOS/Windows]:
Live Share Extension Version:
Target Platform or Language [e.g. Node.js]:
Steps to Reproduce / Scenario:

Is this a duplicate of #1137?

Yes, a video would be helpful. However, the way we have to implement undo does make it look like it's undoing all the work, but the final state should look correct. For lots of details, see here: https://github.com/MicrosoftDocs/live-share/issues/406#issuecomment-429895333
Note, that with the latest release 0.3.384, this should be improved, but the mechanism of action is the same -- if what you are undoing is not the last edit (by any participent), then we have to undo the contents to the last local change to find out what will be undone. However, it then replays those other changes, and you end up with your one change undone.

Product and Version [VS/VSCode]: 1.28.2
OS Version [macOS/Windows]: Win 10 Pro 64 Bits
Live Share Extension Version: 0.3.897
Target Platform or Language [e.g. Node.js]: HTML
Hi, same problem here, two people in the same page i make undo and undo "locked" roll back 3h of work. (ligne 600+-)

Hey @TheDoudou  , we're very sorry about this. Based on this and related threads, we've decided that our "local" undo support is not in a robust enough state to have in the product. In our next release, we're rolling back to "global" undo, meaning if you press undo and the last edit was due to another user, you'll undo their change. This is sometimes not the intention when pressing undo, but it's certainly better than losing work (or having the impression that your work is being deleted, even if the algorithm would eventually replay the changes), and the behavior is understandable/reproducible.
Please let us know about your experience with global undo and if you continue to encounter issues.

This issue has been resolved in the latest release, so if you update, you shouldn’t  run into this issue with undo anymore. That said, the undo stack is now shared by all participants that are editing the same file, so let us know how that feels in practice. Thanks again for reporting this!


[QA]Could you share the dequantization algorithm for GPTQ format model

RT.
Is there any python code of dequantization  algorithm. i found http://eadst.com/blog/220, i am not sure it's right or not.
For example, there are w2g64 weights.
q_weight  [256, 4 096]
q_scale     [64, 256]
q_zero      [64, 4 096]
the dequant weigth is [4096, 4096], how to get it?

Is this 2bit model quanted by gptqmodel?

Is this 2bit model quanted by gptqmodel?

No, it transfer from other format. Actully, it's https://huggingface.co/ChenMnZ/Llama-3-8b-instruct-EfficientQAT-w2g64-GPTQ/tree/main
as it's said, this model is "transfer EfficientQAT quantized models into GPTQ v2 format"

Are you trying to reverse quantization from 2bit back to fp16 and save the model as native fp16?

Are you trying to reverse quantization from 2bit back to fp16 and save the model as native fp16?

no, i just implement model inference.
anyway, after check the quantize algorithm, i success dequant the weight.


Kong restart should not exit an error when trying to stop Kong

There are two problems:

When executing kong restart, if the PID file doesn't exist then don't exit the operation, just skip stopping it and start Kong again. Right now the restart operations exists without restarting Kong.

In an edge case scenario the PID file exists, but the process doesn't exist. The CLI is trying to kill a PID that doesn't exist anymore and returns an error. Basically this function should check not only for the existence of the PID file, but also check that the PID is actually a running process.

Describe how to replicate the edgecase scenario please.

237e8fc50440371a1d97d32ec29efef797be9bdf for 1)

for 2) Start Kong, manually kill the process with kill -9 PID, then kong stop.

  It's kinda silly at this point. users are grown up people...

I wrote a mistake, I was using pkill -9 nginx which also kills the workers.

#131


[BD-46] fix: fixed undefined/null image logo src

Description
The fallbackLogoSrc is incorrectly calling the image URL when the logoSrc prop is not correctly fetching the image.
Issue: https://github.com/openedx/paragon/issues/1967
Deploy Preview
Card Fallback example
Merge Checklist

[ ] If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
[ ] Does your change adhere to the documented style conventions?
[x] Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
[ ] Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
[ ] Were your changes tested in the example app?
[x] Is there adequate test coverage for your changes?
[ ] Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

[ ] Verify your changes were released to NPM at the expected version.
[ ] If you'd like, share your contribution in #show-and-tell.
[ ] 🎉 🙌 Celebrate! Thanks for your contribution.

Thanks for the pull request, @PKulkoRaccoonGang!
When this pull request is ready, tag your edX technical lead.

@PKulkoRaccoonGang 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 21.0.0-alpha.12 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket: