Add amish1211's file

created a new file in a location

created a new file in a location
;+1; Good work


Parse Schnorr Pub Key & Implement TaprootSigVerifierImpl::new

[ ] issue #
[ ] follows contribution guide
[ ] code change includes tests

parse_schnorr_pub_key : uses the reference from btcd https://github.com/btcsuite/btcd/blob/master/btcec/schnorr/pubkey.go#L23
TaprootSigVerifierImpl::new: uses the reference from btcd https://github.com/btcsuite/btcd/blob/24eb815168f49dea84767817717a11bd7928eb23/txscript/sigvalidate.go#L313

It would be wise to make your PR against #225
or merge the PR feat:Taproot into main before? @b-j-roberts

@Jeanmichel7 do you mean I should pull from feat:Taproot into my own branch?

@Jeanmichel7 do you mean I should pull from feat:Taproot into my own branch?

No, instead, make the pull request from your branch to the feat/taproot branch, since TaprootSigVerifier already has the structures.

Ohhh I see... thanks


Update Dataset

Hi,
Can I solve this issue ?
I will add more NLP datasets for Question Answer chatbot and will also update the Readme.

Yes, I believe so


cadvisor  init  failure in kubernetes

Describe this problem
cadvisor's pod failed to run
[root@xxx ~]# kubectl get po -n holoinsight-example
NAME                           READY   STATUS             RESTARTS      AGE
cadvisor-kpxbl                 0/1     CrashLoopBackOff   3 (35s ago)   90s
cadvisor-zwc4q                 0/1     CrashLoopBackOff   3 (16s ago)   90s
ceresdb-0                      1/1     Running            0             91s
clusteragent-0                 1/1     Running            0             91s
daemonagent-7xk4d              1/1     Running            0             90s
daemonagent-8n5gg              1/1     Running            0             90s
holoinsight-server-example-0   0/1     Running            0             91s
mongo-0                        1/1     Running            0             91s
mysql-0                        0/1     Running            0             90s

Viewing pod（cadvisor-kpxbl） logs：
[root@host-10-19-37-88 ~]# kubectl describe po cadvisor-kpxbl -n holoinsight-example
...
Containers:
  cadvisor:
    Container ID:  docker://7a3b2aab591d147b4dbf9e804e7b1837817696e50cd540ce1f63aff1ca27dac1
    Image:         gcr.io/cadvisor/cadvisor:v0.44.0
    Image ID:      docker-pullable://gcr.io/cadvisor/cadvisor@sha256:ef1e224267584fc9cb8d189867f178598443c122d9068686f9c3898c735b711f
    Port:          8080/TCP
    Host Port:     0/TCP
    Args:
      --allow_dynamic_housekeeping=false
      --housekeeping_interval=5s
      --max_housekeeping_interval=5s
      --storage_duration=2m
      --enable_metrics=cpu,memory,network,tcp,disk,diskIO,cpuLoad
      --enable_load_reader=true
      --store_container_labels=false
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       ContainerCannotRun
      Message:      OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/lib/kubelet/pods/ab235440-bbca-45b0-94db-eb859ffdf763/volumes/kubernetes.io~projected/kube-api-access-hkwwk" to rootfs at "/var/run/secrets/kubernetes.io/serviceaccount" caused: mkdir /data/docker/overlay2/69dee914b194de362188cb07318446b62fa3559fc5cb03a54c1169e0cf4bda4c/merged/run/secrets: read-only file system: unknown

...
Events:
  Type     Reason     Age                     From               Message
  ----     ------     ----                    ----               -------
  Normal   Scheduled  5m8s                    default-scheduler  Successfully assigned holoinsight-example/cadvisor-kpxbl to host-10-19-37-88
  Warning  Failed     4m55s                   kubelet            Error: failed to start container "cadvisor": Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/lib/kubelet/pods/ab235440-bbca-45b0-94db-eb859ffdf763/volumes/kubernetes.io~projected/kube-api-access-hkwwk" to rootfs at "/var/run/secrets/kubernetes.io/serviceaccount" caused: mkdir /data/docker/overlay2/ce6a7eebbaedec94eb7fdaf3a4f1427526613fb4cf7be485908299219d32ac4c/merged/run/secrets: read-only file system: unknown
  Warning  Failed     4m52s                   kubelet            Error: failed to start container "cadvisor": Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/lib/kubelet/pods/ab235440-bbca-45b0-94db-eb859ffdf763/volumes/kubernetes.io~projected/kube-api-access-hkwwk" to rootfs at "/var/run/secrets/kubernetes.io/serviceaccount" caused: mkdir /data/docker/overlay2/944ffd264146660a5f9ede7638c677a1c47b98061838741cfb29bd3241c5babf/merged/run/secrets: read-only file system: unknown
  Warning  Failed     4m37s                   kubelet            Error: failed to start container "cadvisor": Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/lib/kubelet/pods/ab235440-bbca-45b0-94db-eb859ffdf763/volumes/kubernetes.io~projected/kube-api-access-hkwwk" to rootfs at "/var/run/secrets/kubernetes.io/serviceaccount" caused: mkdir /data/docker/overlay2/f441c927545adff71fcbdc8c5056ebeaa2b441a112c321e8205b7bc2c5eadb0d/merged/run/secrets: read-only file system: unknown
  Warning  Failed     4m6s                    kubelet            Error: failed to start container "cadvisor": Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/lib/kubelet/pods/ab235440-bbca-45b0-94db-eb859ffdf763/volumes/kubernetes.io~projected/kube-api-access-hkwwk" to rootfs at "/var/run/secrets/kubernetes.io/serviceaccount" caused: mkdir /data/docker/overlay2/bde54086f8560ea1fcbf9488fe25c83d8567d5bd0d9645ca5e59dd6c4940ffea/merged/run/secrets: read-only file system: unknown
  Normal   Pulled     3m21s (x5 over 5m1s)    kubelet            Container image "gcr.io/cadvisor/cadvisor:v0.44.0" already present on machine
  Normal   Created    3m20s (x5 over 5m)      kubelet            Created container cadvisor
  Warning  Failed     3m19s                   kubelet            Error: failed to start container "cadvisor": Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/lib/kubelet/pods/ab235440-bbca-45b0-94db-eb859ffdf763/volumes/kubernetes.io~projected/kube-api-access-hkwwk" to rootfs at "/var/run/secrets/kubernetes.io/serviceaccount" caused: mkdir /data/docker/overlay2/8ba07a89c4755c857fbc1e11e48169dde0ac9c6a8aca0c4384c792d91e961f0a/merged/run/secrets: read-only file system: unknown
  Warning  BackOff    2m51s (x10 over 4m51s)  kubelet            Back-off restarting failed container

Steps to reproduce
kubernetes version:1.23
docker version: 20.10.6
linux kernal: 4.18.0-1.el7.elrepo.x86_64
Expected behavior
No response
Additional Information
No response

Is your k8s cluster a real cluster? Or a minikube version?

I used kubeadm to boot the cluster

我把docker的运行数据的目录改了，不在/var/lib 下面，是不是这个引起的

Is the original value of data-root '/var/lib/docker' ?
If so, maybe You need to change the cadvisor.yaml .
      volumes:
...
      - name: docker
        hostPath:
          path: /var/lib/docker
     ...

to
      volumes:
...
      - name: docker
        hostPath:
          path: /data/docker
     ...

change readOnly to false, run successfully
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: cadvisor
  namespace: holoinsight-example
spec:
  selector:
    matchLabels:
      app: cadvisor
  updateStrategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 1
  template:
    metadata:
      labels:
        app: cadvisor
        hi_common_version: '3'
    spec:
      restartPolicy: Always
      containers:
      - name: cadvisor
        image: gcr.io/cadvisor/cadvisor:v0.44.0
        args:
        - --allow_dynamic_housekeeping=false
        - --housekeeping_interval=5s
        - --max_housekeeping_interval=5s
        - --storage_duration=2m
        - --enable_metrics=cpu,memory,network,tcp,disk,diskIO,cpuLoad
        - --enable_load_reader=true
        - --store_container_labels=false
        volumeMounts:
        - name: rootfs
          mountPath: /rootfs
          readOnly: false
        - name: var-run
          mountPath: /var/run
          readOnly: false
        - name: sys
          mountPath: /sys
          readOnly: true
        - name: docker
          mountPath: /var/lib/docker
          readOnly: false
        - name: disk
          mountPath: /dev/disk
          readOnly: true
        ports:
        - name: http
          containerPort: 8080
          protocol: TCP

        resources:
          requests:
            cpu: "0"
            memory: "0"
          limits:
            cpu: "0.25"
            memory: "256Mi"
      volumes:
      - name: rootfs
        hostPath:
          path: /
      - name: var-run
        hostPath:
          path: /var/run
      - name: sys
        hostPath:
          path: /sys
      - name: docker
        hostPath:
          path: /data/docker
      - name: disk
        hostPath:
          path: /dev/disk

The volumeMounts config in cadvisor yaml are copied from cadvisor official repository without any changes.
And our internal deployments (through Aliyun k8s cluster) are all successful with this cadvisor config.
I think there is some special particularity in your k8s cluster, leading to deployment failure.

dragonTour is not alone. I'm seeing this same issue in EKS 1.24 which uses containerd runtime.
cadvisor:
    Container ID:   containerd://80ad9ce8b85e077f50dd9c1bfd1e248801afa3126f94793b91bbdb5ea33acf29
    Image:          gcr.io/cadvisor/cadvisor:v0.49.1
    Image ID:       gcr.io/cadvisor/cadvisor@sha256:3cde6faf0791ebf7b41d6f8ae7145466fed712ea6f252c935294d2608b1af388
    Port:           8080/TCP
    Host Port:      0/TCP
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       StartError
      Message:      failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/var/lib/kubelet/pods/882dfec1-613f-4a83-8705-424230f18271/volumes/kubernetes.io~projected/kube-api-access-phx22" to rootfs at "/var/run/secrets/kubernetes.io/serviceaccount": mkdir /run/containerd/io.containerd.runtime.v2.task/k8s.io/80ad9ce8b85e077f50dd9c1bfd1e248801afa3126f94793b91bbdb5ea33acf29/rootfs/run/secrets: read-only file system: unknown


set frameborder and framespacing to 0.

This removes a white bar on my chromecast.

Thanks! I couldn't actually use this PR because it adds an additional iframe, rather than replacing the existing one, but I made the change in 352b6e2b6f69e6b6853d69b7835c278be1c0ac08.

Thanks. what a weird oversight on my part.


Does not install correctly - Cannot find module 'xpc-connection' or 'bluetooth-hci-socket'

Steps to reproduce
npm install noble
create index.js file with contents:
const Noble = require('noble');
Noble.startScanning([], true);
node index.js
Xcode already installed
OS: MAC Catalina
Node: tried version 13.2.0, 13.1.0, 10.11.0, 9.xx.xx (last in version)
tried to install xpc-connection - no luck
Also
Raspberry Pi 3:
tried same node versions as above
tried to install bluetooth-hci-socket - no luck
Error:
Error: Cannot find module 'xpc-connection' - on MAC
Error: Cannot find module 'bluetooth-hci-socket' - on RPI3
none of these libraries build properly xpc-connection or bluetooth-hci-socket for this project

Refer to theGecko forked version of noble. Worked for me.

Just chiming in: on OSX the error is:
CXX(target) Release/obj.target/binding/src/XpcConnection.o
../src/XpcConnection.cpp:26:77: error: too few arguments to function call, single argument 'context' was not
specified
target->Set(Nan::New("XpcConnection").ToLocalChecked(), tmpl->GetFunction());
~~~~~~~~~~~~~~~~~ ^
/Users/jake/Library/Caches/node-gyp/13.6.0/include/node/v8.h:6283:3: note: 'GetFunction' declared here
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^

theGecko

And how would one find that?

Any patch from @theGecko to be picked ?


Characters do not match in a pattern

Describe the bug
when used in a pattern, the characters displayed do not match those requested.

Package/Software version:
VSCode version(Help -> About):
Version: 1.95.3 (user setup)
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045
tinymist extension version: v0.12.2
Logs:
tinymist server log(Output Panel -> tinymist):

tinymist client log(Help -> Toggle Developer Tools -> Console):

Additional context
Add any other context about the problem here.

Could you attach the file content to test in the screenshot?

the initial file is heavy and uses a template in addition.
I reproduced the bug with a second file containing the following code.
`#sys.version
#outline()
$checkmark$
#emoji.crossmark
#text(1.3em,$bold(circle.stroked)$)
#box(
width : 1em,
height : 1em,
[
#emoji.pen.fountain
#place(dy : -0.9em,dx : 0.3em,rotate(-45deg,text(1.5em)[?]))
]

)
#emoji.magnify.r
#box(
baseline: 20%,
[
#text(1.3em)[#emoji.bell]
#place(center+horizon,[R])
]
)
#emoji.gem
#emoji.star.glow
#emoji.star
#text(font : "Android Emoji",emoji.bubbles)
#text(font : "Noto emoji",emoji.bubbles)
#text(emoji.bubbles)
#polygon(
(0pt, 0pt),
(1em, 0pt),
(1.2em, 0.1em),
(1em, 0.2em),
(0pt, 0.2em),
)
$A = diameter$
$A = emptyset$
$A = nothing$
#line(length : 20%)
#line(length : -20%)
#let taille = 0.7 * 20pt
#let pat_a = pattern(
size : (taille,1.5taille),
relative: "self",
place(text(1.4em,box($checkmark$)))
)
#let pat_b = pattern(
size : (taille,1.5taille),
box(inset : (top : 0.1em),emoji.star)
)
#let pat_c = pattern(
size : (1.5taille,1.5taille),
box(inset : (top : 0.2em),text(0.9em,emoji.circle.stroked))
)
#let pat_d = pattern(
[!]
)
#block(height : 100pt,width : 100pt,fill : pat_a)
#block(height : 100pt,width : 100pt,fill : pat_b)
#block(height : 100pt,width : 100pt,fill : pat_c)
#block(height : 100pt,width : 100pt,fill : pat_d)`

I am sure it is a bug from upstream Typst. Might be related to: https://github.com/typst/typst/issues/5428, maybe you can report it there also.
Although Tinymist's preview is also affected, but it seems to perform better than Typst compiler in this case, and I suggest we wait until it is fixed bt the upstream first

Thanks for your answer! Indeed, issue 5428 seems to deal with the same underlying problem. For the moment I replaced the emoji with other symbols that lead back to the same idea. I hesitated to post directly on the typst github but since this bug does not seem to occur on the online editor, I thought it must be related to tinymist...


suggestion: make y axis satoshi / byte, not satoshis / kb.

at https://bitcoinfees.github.io/#1m
20 sat / byte
reads better than
20k sat / kbyte
This is an important chart btw.  I think it's going to be seeing a lot of attention soon.
So thanks for making it.

Thanks for the suggestion. Bitcoin Core uses "per kbyte" for all their fee rate parameters, so we're just trying to keep to the standard.


Configurable retries for network related tasks

See original issue on GitLab
In GitLab by [Gitlab user @tristanvb] on May 18, 2017, 07:40
Sometimes a build fails simply because of a network timeout or such, this can happen especially when on build has failed and we've suspended all tasks to debug it, often this can cause an ongoing Fetch task to fail when resumed.
We should:

Have a configuration for maximum retries for network related activities
Reschedule failed network related tasks until maximum retries is reached
Frontend should not suspend tasks when a failure occurs that is in fact being retried

This requires that the failure message for a retry-able task should be special, or, the Message object could have a retry field added to it, otherwise the frontend will suspend tasks and try to handle the failure.

In GitLab by [Gitlab user @juergbi] on Jul 27, 2017, 11:59
mentioned in commit bfd822b3232f69ed9df48a20fedf31be7e0986f1

In GitLab by [Gitlab user @tristanvb] on Jul 27, 2017, 12:06
assigned to [Gitlab user @juergbi]

In GitLab by [Gitlab user @tristanvb] on Jul 27, 2017, 12:08
closed via merge request !67


Running Helium On Docker

Hi!
I Tried to run Helium on Docker but I just cannot get it done. I think that this is due to the fact that I cannot parse the chromedriver path. I have a docker container that runs selenium already. I though that by adding chromeOptions just the same would suffice.
This is the code I have:
options = ChromeOptions()
        options.add_argument('--disable-gpu')
        options.add_argument('--disable-impl-side-painting')
        options.add_argument('--disable-gpu-sandbox')
        options.add_argument('--disable-accelerated-2d-canvas')
        options.add_argument('--disable-accelerated-jpeg-decoding')
        dr = he.start_chrome(login_url, headless=True, options=options)

Do yo uhave any clue of my problem?
This is the error I get from Selenium:
DriverException('unknown error: Chrome failed to start: crashed\n  (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Linux 4.15.0-106-generic x86_64)', None, None)
celery_1  | Traceback (most recent call last):
celery_1  |   File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 375, in trace_task
celery_1  |     R = retval = fun(*args, **kwargs)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 632, in __protected_call__
celery_1  |     return self.run(*args, **kwargs)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/celery/app/base.py", line 463, in run
celery_1  |     return task._orig_run(*args, **kwargs)
celery_1  |   File "/app/worker/views.py", line 56, in run_spyder
celery_1  |     response = spyder.spy()
celery_1  |   File "/app/spyders/TJRJ/spyder.py", line 864, in spy
celery_1  |     params, documents_ids = self.get_entrypoint_documents()
celery_1  |   File "/app/spyders/TJRJ/spyder.py", line 585, in get_entrypoint_documents
celery_1  |     dr = he.start_chrome(login_url, headless=True, options=options)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/helium/__init__.py", line 115, in start_chrome
celery_1  |     return _get_api_impl().start_chrome_impl(url, headless, options)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/helium/_impl/__init__.py", line 102, in start_chrome_impl
celery_1  |     chrome_driver = self._start_chrome_driver(headless, options)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/helium/_impl/__init__.py", line 107, in _start_chrome_driver
celery_1  |     result = Chrome(**kwargs)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__
celery_1  |     desired_capabilities=desired_capabilities)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
celery_1  |     self.start_session(capabilities, browser_profile)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
celery_1  |     response = self.execute(Command.NEW_SESSION, parameters)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
celery_1  |     self.error_handler.check_response(response)
celery_1  |   File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
celery_1  |     raise exception_class(message, screen, stacktrace)
celery_1  | selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed
celery_1  |   (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Linux 4.15.0-106-generic x86_64)

Thanks for any help in advance.

This is more of a Selenium question than a Helium one. Please ask on StackOverflow.


Confusing section

The following section is not very clear. The final sentence in particular...I can't figure what it actually means.

Does Azure Virtual Desktop support split Azure Active Directory models?
When a user is assigned to an app group, the service does a simple Azure role assignment. As a result, the user's Azure Active Directory (Azure AD) and the app group's Azure AD must be in the same location. All service objects, such as host pools, app groups, and workspaces, also must be in the same Azure AD as the user.
You can create virtual machines (VMs) in a different Azure AD as long as you sync the Active Directory with the user's Azure AD in the same virtual network (VNET).

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

ID: 058c0a6a-4f3c-fe33-247e-276ac9c66342
Version Independent ID: 84fb92b3-df7b-a7ae-626d-069c2a0dc51d
Content: Azure Virtual Desktop FAQ - Azure
Content Source: articles/virtual-desktop/faq.yml
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@marlobello
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@Heidilohr
Can you please check and add your comments on this doc update request as applicable.

@marlobello Thanks for your feedback! I've updated that part of the FAQ so that it will hopefully be clearer. The changes should go live tomorrow morning.

#please-close


Fix Redaction Issues

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/EM-4472
Change description
Fix Redaction Issues
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Not required


42 check for completeness of a http request and parse accordingly

Overview

Check for complete HTTP request in RequestParser class
Introduce enum ParsingStatus
Check against method if body detected
Check of request size against max body size (determined by ConfigFile) -> behaviour needs to be finished
Adapt test cases

re 1.

Check for "\r\n\r\n": if not found, abort parsing
After request line and headers are parsed, determine whether a body needs to be parsed
If body indicated, check request string for completeness of body -> two cases: body size determined by Content-Length or end of chunked body signalled by zero chunk

re 2.

ParsingStatus determines which parsing process shall be performed
Repeated calls to parser will only trigger indicated parsing process when checks are passed
Once parsing is completed, the according status triggers the response builder to act

re 3.

If a body is indicated by according headers, it is verified that the method can actually have a method. If check failed, throws bad request exception

re 4.

Check for too large request sizes and return according error to client
Added status code 413 in enum and utility functions
Need to decide whether to close connection in this case -> not specified by nginx

re 5.

Test cases needed too be adapted to reflect new check for valid method <-> body combo
Optimised test cases that expect a throw

closes #42

Rework RequestParser

Remove ParsingStatus enum
split general parseHttpRequest method into parseHeader() and parseBody()
add getters for m_hasBody and m_isChunked
move check for CompleteBody into Server
fix checks against Content-Length
fix overwrite of Content-Length in case of a chunked Body

Rework Server

adapt connectionReceiveHeader() to new parser methods
add connectionReceiveBody()
integrate check for complete Body
check against clientMaxBodySize -> connectionReceiveBody() differs in this point from  connectionReceiveHeader() which checks against the buffer size
add status code 413: StatusRequestEntityTooLarge

Furthermore fix unit tests to work with new request parser methods.

Had to move timestamp to function end again to account for the other cases when readFromSocket returns. Added timestamp to error cases just before the return statement.


[WC-503] Add new all-in-one image viewer web docs

This is for the new all in one image viewer web widget that will most likely be released in 9.4.0.
Structure wise, I kept it very similar to https://github.com/mendix/docs/pull/3460. Any structural feedback on that PR I will also reflect onto this one.

@Adam-Dupaski as stated in first comment, this should not be merged until the widget is released in 9.4.0. I will give a headsup when this can be released as usual 😄

@ConnorLand Due to some additional feedback that came in, our project manager decided to postpone this to 9.5.0. Could you update the labels?

@ConnorLand Due to some additional feedback that came in, our project manager decided to postpone this to ~9.5.0~ 9.6. Could you update the labels?

Done.


Item Variation Store: wrong expression is given for the size of each mapping entry

In the section Associating Target Items to Variation Data an incorrect expression is given for the size of each mapping entry, due to apparent confusion over operator precedence in C-like languages. The bit shift needs to happen before the addition, thus requires parentheses.
Please replace:

The size of each mapping entry is ((entryFormat & mapEntrySizeMask) >> 4 + 1).

with:

The size of each mapping entry is ((entryFormat & mapEntrySizeMask) >> 4) + 1.

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

ID: 8cc38f55-a142-6d66-fc68-1bb6e6e9ed56
Version Independent ID: 0665d6f2-4150-1977-4fd6-91c50c226ed9
Content: OpenType Font Variations Common Table Formats (OpenType 1.9) - Typography
Content Source: typographydocs/opentype/spec/otvarcommonformats.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: alib

The wrong reading seems unlikely (there's no other point in having "4 + 1"), but doesn't hurt to be clearer. Will fix in the next version.

If I’m anything to go by, implementors will copy and paste the expression into their code and wonder why it doesn't work!

See the OT 1.9.1 alpha for draft revisions addressing this issue.

This is fixed in OT 1.9.1. See the OT 1.9.1 beta for draft revisions addressing this issue.


[Feature] Use metadata keywords to help detect if something is NSFW (original #482)

This issue has been migrated from the CC Search API repository
Author: aldenstpage
Date: Tue Apr 21 2020
Labels: 🏷 status: label work required,🙅 status: discontinued

Problem Description
We are trying to make NSFW content in CC Search "opt-in". We can catch a lot of NSFW content by using API specific filters and relying on moderation "upstream" at the source, but sometimes things slip through.
Solution Description
One way we can help prevent this is scanning for NSFW profanity and slurs in the title/tags/artist name and settings nsfw = True in the metadata field if it fails the check. There are 3rd party lists of dirty words that can help us achieve this. In my experience moderating content on CC Search, this will help prevent a lot of embarrassment and indignant emails from teachers.
We can do a one-time scan-and-filter relatively easily, but we will also need a way to filter new content as it is ingested.
Additional Context
The Scunthorpe Problem

Original Comments:
aldenstpage commented on Tue Apr 21 2020:

Also: we're going to need to review the list of words carefully, because the lists that I linked to are too broad in what they consider NSFW and could have some unwanted inadvertent censorship effects.
source

Issue author brenoferreira commented on Tue Apr 21 2020:

One thing to watch out for in this word list is the potential for false positives that can end up filtering out a lot of content with words that aren't necessarily NSFW.
Edit: when I commented I had the tab open for a while so @aldenstpage comment hadn't loaded yet :D
source

kss682 commented on Wed Apr 22 2020:

For the new content we could have a validator method in ImageStore class that checks against title,author and relevant attributes before inserting into tsv , so that the NSFW contents  could be flaged and segregated at an early stage. @aldenstpage
source

@WordPress/openverse-catalog This seems like an issue that might make more sense to put into the catalogue. Detecting these keywords might fit nicely into initial ingestion. Getting it for historical records could follow the same pattern as the proposed data normalisation RFC (https://github.com/WordPress/openverse/pull/345). Should we move this issue? Side note that this is one of the projects mentioned as part of the content safety lighthouse goal in the project planning spreadsheet (https://github.com/WordPress/openverse/discussions/343)

This seems like an issue that might make more sense to put into the catalogue. Detecting these keywords might fit nicely into initial ingestion.

This seems reasonable to me, although as you mention would require some effort to establish for historical data. I would support this. It seems like one of the original comments here supported this approach as well:

For the new content we could have a validator method in ImageStore class that checks against title,author and relevant attributes before inserting into tsv


CSV File is throwing an error while uploading to T2WML (see attached)

Desktop (please complete the following information):

Device: Mac
Version v2.3.8-datamart

CHIRPSEthiopiaDailyPrecip_annotated.csv.zip

The same problem on Windows and Linux. The error is: No columns to parse from file Cannot upload data file!

i was able to load this file fine in 2.3.9 on my windows machine, has the issue been resolved?

assuming no response for months means it's been dealt with, closing


Malicious code in NPM package

Issue Summary
There seems to be malicious code in the @sendgrid/mail package.
I am using no other npm packages except dotenv and netlify-lambda, but i have ruled out those packages.
Example of malicious code, there are 10.000's of domain names, chinese characters etc.:
(n.sld=l.pop(),n.domain=[n.sld,n.tld].join("."),l.length&&(n.subdomain=l.join(".")),c()):c()):c()},t.get=function(e){return e&&t.parse(e).domain||null},t.isValid=function(e){var a=t.parse(e);return Boolean(a.domain&&a.listed)}},function(e){e.exports=JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","com.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","net.ar","co.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个人.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht",
Steps to Reproduce

Start a node project
Install @sendgrid/mail": "^6.4.0" with npm
Serve the app with netlify-lambda
Look at the generated code

I consider this npm package to be hacked.
Technical details:

@sendgrid/mail": "^6.4.0"
Node.js Version: v10.11.0
build tool: netlify-lambda": "^1.6.3
Build command: "netlify-lambda build src/functions"
Linux, Visual Studion Code

I am not affiliated with SendGrid, but the code you posted is not malicious and is from psl, (Public Suffix List), a dependency of tough-cookie, which is a dependency of request.
On npm: https://www.npmjs.com/package/psl
Readme on GitHub: https://github.com/lupomontero/psl/blob/master/README.md
It is part of the public source code on GitHub, see for example: https://github.com/lupomontero/psl/search?q=association.aero

@rdela Okay, good enough for me, i'll close the issue.


mime/quotedprintable: Go 2: Why takes so long to compile?
Trying to compile Go 2 from dev.go2go branch as described in the installation guide.
time CGO_ENABLED=0 ./all.bash
Output:  852.37s user 738.07s system 244% cpu 10:51.15 total
Until the mime/quotedprintable package, the overall compiling speed is really fast. It takes almost a few minutes to get to this stage. But when compile step gets here, laptop's fans start working hard at least for 5 minutes. Then the fans stop immediately and start waiting for another 5 minutes, in order to compile next package.
P.S: With ./run.bash --no-rebuild, it still acts same way.
What did you expect to see?
I'm not so sure whether it was this way before. I'm trying to compile on MacBook Pro. (2.6GHz 6-core 9th i7, 16GB)
What did you see instead?
Is it normal for the compiler to behave this way?

Is it normal for the compiler to behave this way?

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:

Stack Overflow with questions tagged "go"

The Go Forum, a web-based forum

Gophers Slack, use the invite app for access. The #general channel is a good starting point.

Go Community on Hashnode with questions and posts tagged with "go"

The golang-nuts mailing list

IRC channel #go-nuts on Freenode


Using a model of type RefinedWeb to instantiate a model of type .

Hey all,
I am trying to run tgi with Falcon40B, but my setup is a bit unusual.
I am running a deployment on a kubernetes cluster that can't access internet or huggingface servers. So I uploaded the weights of the model manually. For this, I uploaded the cache folder to a volume mounted on the tgi deployment. I also moved the configuration_RW.py and config.json as well. I am running the container with the following environment variables:
- name: MODEL_ID
  value: >-
    /data/models--tiiuae--falcon-40b/snapshots/2ac60b04625e6694fb6143c00b9f93a01c7a000f/
- name: QUANTIZE
  value: bitsandbytes
- name: DISABLE_CUSTOM_KERNELS
  value: 'true'

The issue is, when the pod starts, after a few lines of Waiting for shard N to be ready I am faced with the following error:
You are using a model of type RefinedWeb to instantiate a model of type . This is not supported for all configurations of models and can yield errors

This is the contents of the folder:

How do I solve this?
Thanks

This should only be a warning. Is the pod crashing?

it is crashing
{"timestamp":"2023-06-13T14:41:22.126054Z","level":"ERROR","fields":{"message":"Shard 0 failed to start:\nYou are using a model of type RefinedWeb to instantiate a model of type . This is not supported for all configurations of models and can yield errors.\n"},"target":"text_generation_launcher"}
{"timestamp":"2023-06-13T14:41:22.126114Z","level":"INFO","fields":{"message":"Shutting down shards"},"target":"text_generation_launcher"}
{"timestamp":"2023-06-13T14:41:22.331289Z","level":"INFO","fields":{"message":"Shard 1 terminated"},"target":"text_generation_launcher"}
Error: ShardCannotStart

Because I don't know if this is a bug, or if I am doing something wrong

Can you add this info? I can't help you without it.

I created another issue with the info


Feature request: entity whitelist (inverse of ignore rule)

I'm configuring Watchman to notify of unavailable lights (specifically).
Currently the only way for me to achieve this is to:
1: Run an offline entities report
2: Add all the notification groups I don't want to hear about by adding them as ignore options (scene., sensor. etc).
It would be great if there were the inverse option of ignore -- a whitelist (only report on entities matching these conditions).
Then I could just add: light.* to achieve the same functionality.

In theory there should be a way since (for some bizarre reason, versus re.match()) the author is using fnmatch() on each entity and service while building the list and, because of that, Unix filenaming globbing like this SHOULD work (but for some reason, doesn't):
!(notify.pushover)
+(!(notify.pushover))
?(!(notify.pushover))
@(!(notify.pushover))

(That assumes the only whitelisted entity or service would be notify.pushover and everything else gets blacklisted.)
Ideally it would be switched to re.match() since these in particular are not filenames in the first place (fnmatch() = File Name Match), then we could take the guess-work out of it and "simply" put:
^((?!notify.pushover).)*$
Or yes, add a whitelist-only mode. ;)

Duplicate of #20.

Duplicate of #20.

I wouldn't exactly call it a duplicate, at least my comment. You're using fnmatch() which is described (and named) as being for filename matching. While Regular Expressions are more sophisticated and don't respond to * the same way as fnmatch() would,
I don't believe there's any precedent in Home Assistant to accept Unix globbing patterns over Regular Expressions.
At the very least it would be nice to have the option to use Regular Expressions since they provide more flexibility to your advanced users, but more importantly could get you off the hook for a plethora of enhancements you'd otherwise have to manually code yourself. (e.g. white-list only mode)
If you wanted to make it transparent to users, you could certainly require that regular expressions be prefixed and suffixed with / like JavaScript requires, like so:
/^sensor\.whos_your_daddy$/
More of an enhancement request, ultimately, but it certainly solves a lot of your bugs, both current and future state. If you'd like, I can open another issue as an enhancement.

@nbetcher Yes, I understand your point. I have marked the initial request as a duplicate because, in my opinion, both tickets share the same intention: to have the ability to restrict the list of entities Watchman should track. Your idea is excellent, and I’ll keep it in mind for future consideration if we decide to implement a whitelist.


Middleware still calls c.Next despite returning

Since I cannot use the rs/cors package, i decided to write simple cors.
server.Use(func(c *Context) {
		origin := c.Req.Header.Get("Origin")

		if !slices.Contains(allowedOrigins, origin) {
			c.JSON(http.StatusBadRequest, H{"ok": false, "message": "cors"})
			return
		} else {
			c.Next()
		}

	})

Despite having the middleware, it still calls the next route.

https://github.com/TBXark/g4vercel/blob/b104f2daa04275ae982d74f6913ad82665dfef53/context.go#L46-L50
You must use c.Fail(http.StatusBadRequest, H{"ok": false, "message": "cors"}) to break this loop


adding subscription_id in invoice table for use in the main stripe pa…

…ckage
Pull Request
Are you a current Fivetran customer?
yes. Abine Inc
What change(s) does this PR introduce?
Adds subscription_id to invoice table.
Did you update the CHANGELOG?

[X] Yes

Does this PR introduce a breaking change?

[ ] Yes (please provide breaking change details below.)
[ ] No  (please provide an explanation as to how the change is non-breaking below.)
[X] Unsure  (please provide an explanation as to how the change is non-breaking below.)
My stripe instance uses subscription. I am unsure if the Invoice object from stripe will always have the subscription_id column available based on your usage of subscriptions feature in stripe.

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

[x] Yes

Is this PR in response to a previously created Bug or Feature Request

[ ] Yes, Issue/Feature #44
[X] No

How did you test the PR changes?

[ ] CircleCi
[X] Local (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

[ ] BigQuery
[ ] Redshift
[X] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

:dancer:
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

closing as this was merged with another PR


Questions about Legacy macros pre-name-resolution expansion

When I am working on refactoring some macro related code in nameres to centralize macro expansion, I found this test: https://github.com/rust-analyzer/rust-analyzer/blob/4fd742d6bc23e2f61d0980e15234f09d7e715b76/crates/ra_hir_def/src/nameres/tests/macros.rs#L403-L426
If I remove #[macro_export], this test will fail and the result will be :
| crate
| bar: t m
| baz: t v
| foo: t

It is because we have some special treatment of legacy macro:
https://github.com/rust-analyzer/rust-analyzer/blob/3206b83a70b4e9140a5f0d9d8454abb7864b543a/crates/ra_hir_def/src/nameres/collector.rs#L771-L780
Bascially it try to expand legacy macros BEFORE name resolution. So that's why the previous test works. Seem like there are some bugs which overwrites PerNs but I am not so sure.
So My question is, how current items collecting phase handle this case in general?

Heh, the test is indeed surprising, but I think this i how rustc works. Specifically, the following works:
mod m {
    macro_rules! foo {
        () => ()
    }
    use foo as bar;
    bar!();
}

use self::foo as bar doesn't though.  https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/using.20.60macro_rules.60.20macros

I found out the the actual reason why the test fail when #[macro_export] is removed :
The current implementation handle all macro name resolution in different path such that it won't update its name to PerNs, only if it is marked as #[macro_export]. And the test setup used in type_value_macro_live_in_different_scopes just dump out data of  PerNs contains. So it is okay to fail here.
OTOH, even more surprising is that, our current implementation actually match how rustc behavior:
#![allow(unused_macros)]
#![allow(unused_imports)]

mod m {
    macro_rules! foo {
        ($id:ident) => {
            pub fn $id() -> u32 {0}
        }
    }
    use foo as bar;
    pub mod inner {
        // It works
        crate::m::bar!(f);
        // It won't works in rustc.
        // failed to resolve: could not find `foo` in `m`
        crate::m::foo!(g);
    }
}

fn main() {
    // _a : u32 in RA
    let _a = m::inner::g();
    // _b : {unknown) in RA
    let _b = m::inner::g();
}

Yes, this is intentional because macro_rules are weird. macro_rules are normally not added to the namespace proper, such that it's impossible to use macro_rules macros. Instead, they are added to "lexical" macro scope.
The exception here is #[macro_export] macros, whose effect is to mount the macro def at the current crate's root, such that it become useable from inside and outside the crate.
However, the use _foo as foo trick actually mounts the macro in the namespace properly, because, in 2018 edition, use plain looks for plain in the lexical namespace of the module.


Use memory pool for PolyTextOut items in GDI Renderer

Converts the poly text out string and width buffers to use a memory pool since we free/alloc those every frame and are just going to reuse them over and over.
PR Checklist

[x] Supports #3075
[x] I work here.
[x] Profiled memory before/after. Tested manually with big.txt.

Detailed Description of the Pull Request / Additional comments

Sets up a PMR memory pool for the GDI Engine.  The pool will likely hold onto that memory frame over frame, but we'd just be using it again and again and again anyway. So this way we avoid all the system memory allocator locks and syscalls.

Validation Steps Performed

Ran big.txt about 10x in the window. Checked WPR/WPA profile output before/after.

Before:

After:

The allocation count is pretty much gone for _PaintBufferOutputHelper.


Better default bell sound

Abstract
The default bell sound '\u0007' is bad to my ears
Motivation
Change default bell sound to default macOS sound
Specification
Use same sound as on Terminal.app and iTerm2.app

In general, it would be better if the default behaviour of the bell was to trigger the DE-specific default notification sound, with the option to override it in Contour.

What if we use this bell sound ?
https://commons.wikimedia.org/wiki/File:Bicycle-bell-2.wav


[Core v2] Revert GA version bump and release another preview

We found some issue in code gen using core v2 and still need more time investigating them.

@jeremymeng what are the issues? not supporting the http protocol?

Sadly there is no "Cramming a cork back into a champagne bottle" so 😔 will have to do.

Should EventGrid release tomorrow against the beta or will GA happen some time this week and we should wait for it?

We would like to take some time to investigate the issues and complete the rest of the testing in the code generator. I would not make Event Grid wait for the Azure Core v2 GA though. We have 2 options for Event Grid

Revert the Azure Core v2 dependency in Event Grid and make it use the older Azure Core
Or release Event Grid GA with Azure Core v2 beta with the goal of making the next update use Azure Core v2 GA. We can call this out in the changelog

cc @bterlson

I'm highly reluctant to release a GA package on a beta core, feels misleading about the GA status of EG. It feels better to depend on core-http for now. As long as we take care not to expose _response (and so shipping EG without support for inspecting raw http metadata for now) is a better path. @jeremymeng thoughts? Seem doable?

If there are unavoidable API breaks or if the work required to adopt core-http in EG is extensive, my opinion changes.

FWIW - Today the EventGrid SDK exposes two things from core-client:
export type EventGridPublisherClientOptions = CommonClientOptions;
export type SendOptions = OperationOptions;

(Used as options when creating the client and when sending messages).
I'm not sure if the V2 versions are compatible with the V1 version (it looked like CommonClientOptions for example would have some differences because one of the properties of it was the client to use and I suspect the shape of the client changed between v1 and v2)?

The client request shape hasn't changed (still just an object with a sendRequest method).

I'm not sure if the V2 versions are compatible with the V1 version (it looked like CommonClientOptions for example would have some differences because one of the properties of it was the client to use and I suspect the shape of the client changed between v1 and v2)?

Unfortunately they are not compatible :(

Thankfully things are mostly compatible. Did some calculations in TypeScript to confirm: in order to use core-http and upgrade to core-client without any breaking changes even in corner cases/disused areas, you need to:

Not expose _response
Omit httpClient from PipelineOptions
Omit shouldDeserialize from OperationRequestOptions, or more precisely, support only the boolean form and not the callback form.


Error during redisplay

When I open a sass file, I get the couple of messages like:
Error during redisplay: (jit-lock-function 3245) signaled (no-catch --cl-block-nil-- t)
Syntax highlighting is incomplete. Emacs version: 24.5.1

Please provide sample input, because if we can't reproduce this locally, it's not going to be easy to fix. Also, please confirm that you can reproduce this beginning with emacs -Q, i.e. eliminating all other packages which might possibly conflict. Thanks!

@purcell Thank you for quick response. emacs -Q doesn't cause any issues. Loading only sass-mode (which including haml-mode) does. Simple sample:
.viewport-content.readonly
  > div.pro-tables
    position: relative
    &:after
      content: "Read Only"

I tried sass-mode from melpa-stable and the latest version from melpa. I use emacs compiled from sources. Please let me know if you need more details.

Thanks! I just tried this with a recent Emacs snapshot and I can't reproduce it, so perhaps it's specific to that particular Emacs version? Also, you might experience problems due to using byte-compiled .elc files from a previous version of Emacs, so if you've recently upgraded, consider clearing out your ~/.emacs.d/elpa folder.

I had the same problem and removing all the .elc files from the elpa folder fixed it. Thanks!


replace matrix swizzles in pbr shader with index accesses

Matrix swizzles like mat.x.xyz are not supported in WGSL and accepted in naga by accident: https://gpuweb.github.io/gpuweb/wgsl/#matrix-access-expr

bors r+


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/24691

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/24761

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/27450

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/27450

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28021

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28021

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28755

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28755

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29019

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29019

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.


Support for monomorphization over regular values like trait methods

This is in support of https://github.com/AeneasVerif/eurydice/pull/11 which needs to build against this.
Both PRs will be merged at the same time; basically, this adds the option to monomorphize over an additional set of values that do not pertain to const generics and therefore are not bound in types (like const generics).

Got a local Everest green (after disabling miTLS extraction, per discussion)


Compilation error: undefined: lnrpc.Channel

go install . ./cmd/...
# lnd/cmd/lncli
cmd/lncli/commands.go:821:25: undefined: lnrpc.Channel
cmd/lncli/commands.go:907:20: undefined: lnrpc.Channel
cmd/lncli/commands.go:1413:13: unknown field 'ActiveOnly' in struct literal of type lnrpc.ListChannelsRequest
cmd/lncli/commands.go:1414:15: unknown field 'InactiveOnly' in struct literal of type lnrpc.ListChannelsRequest
cmd/lncli/commands.go:1415:13: unknown field 'PublicOnly' in struct literal of type lnrpc.ListChannelsRequest
cmd/lncli/commands.go:1416:14: unknown field 'PrivateOnly' in struct literal of type lnrpc.ListChannelsRequest
# lnd
./rpcserver.go:1508:7: in.ActiveOnly undefined (type *lnrpc.ListChannelsRequest has no field or method ActiveOnly)
./rpcserver.go:1508:24: in.InactiveOnly undefined (type *lnrpc.ListChannelsRequest has no field or method InactiveOnly)
./rpcserver.go:1513:7: in.PublicOnly undefined (type *lnrpc.ListChannelsRequest has no field or method PublicOnly)
./rpcserver.go:1513:24: in.PrivateOnly undefined (type *lnrpc.ListChannelsRequest has no field or method PrivateOnly)
./rpcserver.go:1566:10: in.ActiveOnly undefined (type *lnrpc.ListChannelsRequest has no field or method ActiveOnly)
./rpcserver.go:1568:10: in.InactiveOnly undefined (type *lnrpc.ListChannelsRequest has no field or method InactiveOnly)
./rpcserver.go:1570:10: in.PublicOnly undefined (type *lnrpc.ListChannelsRequest has no field or method PublicOnly)
./rpcserver.go:1572:10: in.PrivateOnly undefined (type *lnrpc.ListChannelsRequest has no field or method PrivateOnly)
./rpcserver.go:1602:15: undefined: lnrpc.Channel

Did you run dep ensure first?

@Roasbeef Yes I did run through dep ensure. In comparison, if I git pull from tags/v0.4-beta then compilation would pass.

I'm confused, are you trying to compile master, or the 0.4-beta tag? If the latter, those structs weren't defined at that point. Evidence that everything builds can be found in our passing travis-ci builds.

I think you have some stale data in your working directory.

You are right. I think I messed up my compilation directory. I wiped it then recloned. It passes compilation now. Closing.


Feature/#40

Coverage remained the same at 32.935% when pulling f7cf4f3771304d1041a8fab7b74e82a31d433ad4 on feature/#40 into 91c6106347ea0f1a25fda3b869a8d2c7670aad34 on master.

Coverage increased (+3.1%) to 36.031% when pulling eed8fbce7922ecd9c9421ccaba7b802a62839794 on feature/#40 into 91c6106347ea0f1a25fda3b869a8d2c7670aad34 on master.

Coverage increased (+3.2%) to 36.123% when pulling ce7e5b0e963ebd64f8204ff805ff92d34c9eaf66 on feature/#40 into 91c6106347ea0f1a25fda3b869a8d2c7670aad34 on master.

Coverage increased (+3.2%) to 36.123% when pulling ce7e5b0e963ebd64f8204ff805ff92d34c9eaf66 on feature/#40 into 91c6106347ea0f1a25fda3b869a8d2c7670aad34 on master.

Coverage increased (+3.3%) to 36.232% when pulling 26e4000529668cec4a9d68f3a5a7d48b8e87aa68 on feature/#40 into 91c6106347ea0f1a25fda3b869a8d2c7670aad34 on master.

Coverage increased (+3.3%) to 36.232% when pulling 26e4000529668cec4a9d68f3a5a7d48b8e87aa68 on feature/#40 into 91c6106347ea0f1a25fda3b869a8d2c7670aad34 on master.

Coverage increased (+3.3%) to 36.232% when pulling 6fbdc4cc51fb3fce2a8f6867f0669973e0d0e570 on feature/#40 into 91c6106347ea0f1a25fda3b869a8d2c7670aad34 on master.

Coverage increased (+5.6%) to 38.534% when pulling 38980324f4001eb4e7912b78e7d44f8d723148fa on feature/#40 into 91c6106347ea0f1a25fda3b869a8d2c7670aad34 on master.

Coverage increased (+7.03%) to 39.966% when pulling 5a8fcc868e10fa3fa7d58385854c3d8ac542a7ad on feature/#40 into 91c6106347ea0f1a25fda3b869a8d2c7670aad34 on master.


Don't discard information previously set by user when some nwbuilder manifest is found

Issue Type

[ ] Bug Report
[x] Feature Request
[ ] Other

Current/Missing Behaviour
User passes in an options Object for a project that has a "nwbuild" object in its package/manifest JSON.
All of the previously entered information is discarded, regardless of what's inside the nwbuild object
Expected/Proposed Behaviour
Keys previously explicitly specified in the options object when calling nwbuilder.bld remain when they're not overwritten by any manifest encountered
Additional Info

Package version: 4.11.3
Operating System: Windows 10 x64
Node version: v20.9.0, 22.7.0
NW.js version: 0.92.0

Didn't read through this well enough earlier. Maybe this should be documented somewhere.


Sorting Techniques for Java

I have added Bubble sort and Selection Sort in your Sorting folder as requested Please merge it @avinash201199 . #156

@sgaurav37533  these two programs are already added in java , add in another language . First create an issue with description then wait for to be assigned after that you can add the program . Make pull request will accept it.


Update MAX_MORPH_TARGETS to 256

Fixes #5327

@pixelflinger I thought we had two separate textures for positions and tangents?  If so 256 shouldn't be a problem.  I would like to use 256, otherwise we have a feature regression on our hands.  In the past we supported 255 targets with 4 active simultaneous frames.  I believe Modo tends to export asset that have many morph targets but uses a max of 2 of them simultaneously.

@pixelflinger I thought we had two separate textures for positions and tangents? If so 256 shouldn't be a problem. I would like to use 256, otherwise we have a feature regression on our hands. In the past we supported 255 targets with 4 active simultaneous frames. I believe Modo tends to export asset that have many morph targets but uses a max of 2 of them simultaneously.

You're completely right.


chore: release master

:robot: I have created a release beep boop
core: 0.0.23
0.0.23 (2023-09-11)
⚠ BREAKING CHANGES

set peer-exchange with default bootstrap (#1469)
refactor store protocol for readability (#1456)

Features

Pre-emptive stream creation for protocols (#1516) (b4f8216)
Set peer-exchange with default bootstrap (#1469) (81a52a8)
Use the lowest latency peer for protocols (#1540) (6f09fbf)

Miscellaneous Chores

Refactor store protocol for readability (#1456) (2389977)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/interfaces bumped from 0.0.17 to 0.0.18
@waku/utils bumped from 0.0.10 to 0.0.11

dns-discovery: 0.0.17
0.0.17 (2023-09-11)
⚠ BREAKING CHANGES

upgrade to<EMAIL_ADDRESS>(#1400)
@waku/relay (#1316)

Features

@waku/relay (#1316) (50c2c25)
Allow passing of multiple ENR URLs to DNS Discovery & dial multiple peers in parallel (#1379) (f32d7d9)
dns-discovery: Set default for NodeRequirements (#1466) (aab9c08)
Upgrade to<EMAIL_ADDRESS>(#1400) (420e6c6)

Bug Fixes

dns-discovery: Use DOH list from dns-query (1dd3210)
Improve connection manager error handling + edge cases (#1450) (785df52)
Remove typesVersions (#1359) (0ad1954)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/enr bumped from 0.0.16 to 0.0.17
@waku/utils bumped from 0.0.10 to 0.0.11

devDependencies

@waku/interfaces bumped from 0.0.17 to 0.0.18

enr: 0.0.17
0.0.17 (2023-09-11)
⚠ BREAKING CHANGES

upgrade to<EMAIL_ADDRESS>(#1400)
@waku/relay (#1316)

Features

@waku/relay (#1316) (50c2c25)
Upgrade to<EMAIL_ADDRESS>(#1400) (420e6c6)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/utils bumped from 0.0.10 to 0.0.11

devDependencies

@waku/interfaces bumped from 0.0.17 to 0.0.18

interfaces: 0.0.18
0.0.18 (2023-09-11)
⚠ BREAKING CHANGES

set peer-exchange with default bootstrap (#1469)
refactor store protocol for readability (#1456)
remove filter v1 (#1433)
upgrade to<EMAIL_ADDRESS>(#1400)
filter v2 (#1332)
add and implement IReceiver (#1219)

Features

Add 1MB restriction to LightPush and Relay (#1351) (72f97d4)
Add and implement IReceiver (#1219) (e11e5b4)
Allow passing of multiple ENR URLs to DNS Discovery & dial multiple peers in parallel (#1379) (f32d7d9)
ConnectionManager extends EventEmitter & exposed on the Waku interface (& minor improvements) (#1447) (0b8936f)
dns-discovery: Set default for NodeRequirements (#1466) (aab9c08)
Enable event emission for peer discovery/connection in ConnectionManager (#1438) (6ce898d)
Expose meta on IDecodedMessage (5724bb2)
Filter v2 (#1332) (8d0e647)
Set peer-exchange with default bootstrap (#1469) (81a52a8)
ToSubscriptionIterator impl for IReceiver (#1307) (7daa9d0)
Upgrade to<EMAIL_ADDRESS>(#1400) (420e6c6)

Miscellaneous Chores

Refactor store protocol for readability (#1456) (2389977)
Remove filter v1 (#1433) (d483644)

@waku/message-encryption: 0.0.21
Dependencies

The following workspace dependencies were updated

dependencies

@waku/core bumped from 0.0.22 to 0.0.23
@waku/interfaces bumped from 0.0.17 to 0.0.18
@waku/utils bumped from 0.0.10 to 0.0.11

message-hash: 0.1.7
0.1.7 (2023-09-11)
⚠ BREAKING CHANGES

@waku/relay (#1316)

Features

@waku/relay (#1316) (50c2c25)
Implement deterministic message hash logic (fe57461)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/utils bumped from 0.0.10 to 0.0.11

devDependencies

@waku/interfaces bumped from 0.0.17 to 0.0.18

peer-exchange: 0.0.16
0.0.16 (2023-09-11)
⚠ BREAKING CHANGES

set peer-exchange with default bootstrap (#1469)

Features

Pre-emptive stream creation for protocols (#1516) (b4f8216)
Set peer-exchange with default bootstrap (#1469) (81a52a8)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/core bumped from 0.0.22 to 0.0.23
@waku/enr bumped from 0.0.16 to 0.0.17
@waku/interfaces bumped from 0.0.17 to 0.0.18
@waku/utils bumped from 0.0.10 to 0.0.11

relay: 0.0.6
0.0.6 (2023-09-11)
⚠ BREAKING CHANGES

set peer-exchange with default bootstrap (#1469)

Features

Set peer-exchange with default bootstrap (#1469) (81a52a8)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/core bumped from 0.0.22 to 0.0.23
@waku/interfaces bumped from 0.0.17 to 0.0.18
@waku/utils bumped from 0.0.10 to 0.0.11

sdk: 0.0.19
0.0.19 (2023-09-11)
⚠ BREAKING CHANGES

set peer-exchange with default bootstrap (#1469)

Features

Set peer-exchange with default bootstrap (#1469) (81a52a8)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/utils bumped from 0.0.10 to 0.0.11
@waku/relay bumped from 0.0.5 to 0.0.6
@waku/core bumped from 0.0.22 to 0.0.23
@waku/dns-discovery bumped from 0.0.16 to 0.0.17
@waku/interfaces bumped from 0.0.17 to 0.0.18
@waku/peer-exchange bumped from ^0.0.15 to ^0.0.16

utils: 0.0.11
0.0.11 (2023-09-11)
⚠ BREAKING CHANGES

set peer-exchange with default bootstrap (#1469)
upgrade to<EMAIL_ADDRESS>(#1400)
filter v2 (#1332)
@waku/relay (#1316)

Features

@waku/relay (#1316) (50c2c25)
Add 1MB restriction to LightPush and Relay (#1351) (72f97d4)
Filter v2 (#1332) (8d0e647)
Set peer-exchange with default bootstrap (#1469) (81a52a8)
ToSubscriptionIterator impl for IReceiver (#1307) (7daa9d0)
Upgrade to<EMAIL_ADDRESS>(#1400) (420e6c6)
Use the lowest latency peer for protocols (#1540) (6f09fbf)

Bug Fixes

utils: Typescript to able to find types (03c9cac)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/interfaces bumped from ^0.0.17 to 0.0.18

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/utils-v0.0.11 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/interfaces-v0.0.18 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/message-hash-v0.1.7 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/enr-v0.0.17 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/peer-exchange-v0.0.16 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/core-v0.0.23 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/dns-discovery-v0.0.17 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/message-encryption-v0.0.21 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/sdk-v0.0.19 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/relay-v0.0.6 :sunflower:


cloud-credentials secret not being created or updated when a migstorage os created

Talked to @sseago  and he saw that it's also at least not updating. I don't ever even see cloud-credentials created when I create a migstorage item, let alone get updated.

So the reason mine wasn't updating was that the migplan wasn't ready, so it was working as designed. Once I resolved the migplan issue, the credentials are updating in response to changes to the migstorage resource as expected.

The velero cloud-credentials secret isn't updated until the migstorage resource is attached to a migplan, since the secret needs to be created in both the src and destination clusters, and without a migplan we don't know what those are yet.

This can be closed. It looks like it's working as intended.


Why does LVIS require more training GPU memory than COCO using the same model?

I think it's because there are more boxes, right? Ask for an answer.

I think it's because there are more boxes, right? Ask for an answer.

On the other hand, the classification head is 1203 channels on LVIS. compared with 80 channels on COCO,

On the other hand, the classification head is 1203 channels on LVIS. compared with 80 channels on COCO,

Thank you for your reply. Your idea is right.
I looked at the log in MMdetection, the same model (e.g. ResNet101-FPN-maskrcnn) requires 7G for coco and 10G for LVIS.  That's a big difference for GPU memory.
But I found that training the GA (Guided-Anchor) model alone was much larger than the original. What do you think is the reason, bboxes?


Add SslCloseCompletionEvent that is fired once a close_notify was rec…

…eived
Motivation:
For the completion of a handshake we already fire a SslHandshakeCompletionEvent which the user can intercept. We should do the same for the receiving of close_notify.
Modifications:
Add SslCloseCompletionEvent and test-case.
Result:
More consistent API.

Cherry-picked into 4.1 (d55c321306dc6f3c01cbbd5f5c080fabe1128583) and 4.0 (0ccab2b55b9582814c6684b3d071973daf58fa75)


GUI error on start application

Hi, i'm using Arch Linux and i got this error on the log:
Error al interpretar el archivo gráfico JPEG (Application transferred too few scanlines) at /usr/bin/gtk-youtube-viewer line 2312.
=>> Previous warnings:
[Fri Mar 23 20:51:50 2018]: WARNING **: Invalid borders specified for theme pixmap:
/usr/share/themes/Breath/gtk-2.0/../assets/line-h.png,
borders don't fit within the image at /usr/bin/gtk-youtube-viewer line 3071.

It may be an issue in the GTK+ theme "Breath". Try setting a different theme to see if it fixes the issue.


Document AssemblyLoadContext changes for C++/CLI

https://github.com/dotnet/runtime/issues/56391 describes an issue that customers using C++/CLI may encounter when migrating from .NET Framework to .NET 5. This has come up in a few issues and would be good to have tracked in this document, since this is trying to be a one-stop shop for breaking changes.
The rationale for the change is captured in this comment and can be used for motivation.
Additional discussion on this topic can be found here, and this comment links to a community-authored sample of the suggested resolution.
For a permanent solution, this API proposal would be worth following.

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

ID: e8b64784-415c-7d00-3c44-aa3de496a54f
Version Independent ID: 3d9c2faa-a7d7-ee5f-6f3c-87da5782a5cb
Content: Breaking changes - .NET Framework to .NET Core
Content Source: docs/core/compatibility/fx-core.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

@baronfel Would this be a better place to note the issue? https://docs.microsoft.com/en-us/dotnet/core/porting/cpp-cli#known-issues
Also, it sounds like this problem will go away with .NET 7 based on https://github.com/dotnet/runtime/issues/61105#issuecomment-1073417993.

Oh, that's great! So we'd need to note this for .net6.0 known-issues, but not .net7? I'm perfectly happy with that.


Highlight for Current Note

This plugin is amazing for visualizing the relationships between notes. I know that the graph will center on the selected note, but it would be great if there was a nice visual queue for what note is currently selected in the editor. This would be especially helpful if you have scroll and/or panned around to explore the map.

I am glad you find it useful! All notes currently selected in the editor should appear highlighted in the graph. For a note without any links, it simply appears as a slim blue circle around the node so it may be hard to notice. Or are you referring to something else?

Sorry for the delay in response. I did not notice the highlighted circle around the selected note. Now that I see that, I believe that works for my use case. I will close this issue.


plot_cpdb KeyError

Hello, thanks for this package to explore cpdb output.
I am facing the following issue with plot_cpdb function:
import ktplotspy as kpy

pp = kpy.plot_cpdb(
        adata = adata,
        cell_type1 = '.',
        cell_type2 = '.',
        means = means,
        pvals = relevant_interactions,
        celltype_key = "celltype",
        figsize = (7,10),
        max_size = 6,
        highlight_size = 0.75,
        degs_analysis = True,
        standard_scale = True,
    )
pp

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
Input In [42], in <module>
      1 import ktplotspy as kpy
----> 3 pp = kpy.plot_cpdb(
      4         adata = adata,
      5         cell_type1 = '.',
      6         cell_type2 = '.',
      7         means = means,
      8         pvals = relevant_interactions,
      9         celltype_key = "celltype",
     10         figsize = (7,10),
     11         max_size = 6,
     12         highlight_size = 0.75,
     13         degs_analysis = True,
     14         standard_scale = True,
     15     )
     16 pp

File ~/my-conda-envs/sc_Harm/lib/python3.10/site-packages/ktplotspy/plot/plot_cpdb.py:218, in plot_cpdb(adata, cell_type1, cell_type2, means, pvals, celltype_key, degs_analysis, splitby_key, alpha, keep_significant_only, genes, gene_family, custom_gene_family, standard_scale, cluster_rows, cmap_name, max_size, max_highlight_size, default_style, highlight_col, highlight_size, special_character_regex_pattern, exclude_interactions, title, return_table, figsize)
    216 # filter
    217 means_matx = filter_interaction_and_celltype(data=means_mat, genes=query, celltype_pairs=ct_columns)
--> 218 pvals_matx = filter_interaction_and_celltype(data=pvals_mat, genes=query, celltype_pairs=ct_columns)
    219 # reorder the columns
    220 col_order = []

File ~/my-conda-envs/sc_Harm/lib/python3.10/site-packages/ktplotspy/utils/support.py:92, in filter_interaction_and_celltype(data, genes, celltype_pairs)
     75 def filter_interaction_and_celltype(data: pd.DataFrame, genes: List, celltype_pairs: List) -> pd.DataFrame:
     76     """Filter data to interactions and celltypes.
     77
     78     Parameters
   (...)
     90         Filtered dataframe.
     91     """
---> 92     filtered_data = data[data.interacting_pair.isin(genes)][celltype_pairs]
     93     return filtered_data

File ~/my-conda-envs/sc_Harm/lib/python3.10/site-packages/pandas/core/frame.py:3811, in DataFrame.__getitem__(self, key)
   3809     if is_iterator(key):
   3810         key = list(key)
-> 3811     indexer = self.columns._get_indexer_strict(key, "columns")[1]
   3813 # take() does not accept boolean indexers
   3814 if getattr(indexer, "dtype", None) == bool:

File ~/my-conda-envs/sc_Harm/lib/python3.10/site-packages/pandas/core/indexes/base.py:6113, in Index._get_indexer_strict(self, key, axis_name)
   6110 else:
   6111     keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6113 self._raise_if_missing(keyarr, indexer, axis_name)
   6115 keyarr = self.take(indexer)
   6116 if isinstance(key, Index):
   6117     # GH 42790 - Preserve name from an Index

File ~/my-conda-envs/sc_Harm/lib/python3.10/site-packages/pandas/core/indexes/base.py:6176, in Index._raise_if_missing(self, key, indexer, axis_name)
   6173     raise KeyError(f"None of [{key}] are in the [{axis_name}]")
   6175 not_found = list(ensure_index(key)[missing_mask.nonzero()[0]].unique())
-> 6176 raise KeyError(f"{not_found} not in index")

KeyError: "['thy_TH_processing>@<thy_TH_processing', 'thy_TH_processing>@<mes_CYGB', 'thy_TH_processing>@<thy_Lumen-forming', 'thy_TH_processing>@<end_Arterial', 'thy_TH_processing>@<mes_IGF1R', 'thy_TH_processing>@<mes_SCN7A', 'thy_TH_processing>@<mes_CCL19', 'end_Capillary>@<thy_TH_processing', 'end_Capillary>@<thy_Lumen-forming', 'end_Capillary>@<mes_IGF1R', 'end_Capillary>@<mes_SCN7A', 'thy_Lumen-forming>@<thy_TH_processing', 'thy_Lumen-forming>@<mes_CYGB', 'thy_Lumen-forming>@<thy_Lumen-forming', 'thy_Lumen-forming>@<end_Arterial', 'thy_Lumen-forming>@<mes_IGF1R', 'thy_Lumen-forming>@<mes_SCN7A', 'thy_Lumen-forming>@<mes_CCL19', 'end_Arterial>@<thy_TH_processing', 'end_Arterial>@<thy_Lumen-forming', 'end_Arterial>@<end_Arterial', 'end_Arterial>@<mes_IGF1R', 'end_Arterial>@<mes_CCL19', 'mes_IGF1R>@<thy_TH_processing', 'mes_IGF1R>@<thy_Lumen-forming', 'mes_IGF1R>@<end_Arterial', 'mes_IGF1R>@<mes_IGF1R', 'mes_IGF1R>@<mes_SCN7A', 'mes_IGF1R>@<mes_CCL19', 'mes_SCN7A>@<mes_SCN7A', 'mes_CCL19>@<thy_TH_processing', 'mes_CCL19>@<thy_Lumen-forming', 'mes_CCL19>@<end_Arterial', 'mes_CCL19>@<mes_IGF1R', 'mes_CCL19>@<mes_SCN7A', 'mes_CCL19>@<mes_CCL19', 'end_Cycling>@<end_Cycling', 'end_Cycling>@<mes_Cycling', 'end_Cycling>@<thy_Cycling', 'mes_Cycling>@<end_Cycling', 'mes_Cycling>@<mes_Cycling', 'mes_Cycling>@<thy_Cycling', 'thy_Cycling>@<end_Cycling', 'thy_Cycling>@<mes_Cycling', 'thy_Cycling>@<thy_Cycling'] not in index"

any hint what I did wrong ? thanks

After decreasing the number of cell types, I observed that the function attempts to identify all possible combinations of celltypes between cell_type1 and cell_type2. In exploratory projects, we may not anticipate relevant interactions for every cell type. Therefore, I presume that plot_cpdb will generate output for whichever combinations exist between cell_type1 and cell_type2, without assuming that all combinations will be included in the output. Thank you.

Hi, i can't replicate this issue with the test set. i'm guessing your single-cell data contains a lot more celltypes than what was provided to run cellphonedb? if so, just slice your single-cell data first.

thanks for your reply. Not sure what do you mean by slicing the single-cell data first. Do you mean to remove cell types from the adata? I guess the issue is about combination of cell types. Removing one cell types will dramatically affect the results of other combinations that might have significant interactions.
By tracing the functions' code, I see you filter for genes while calling for all cell types combinations to be present in the relevant_interactions file... which is similar to my case...

I have the same problem.
I found that the problem was with the CellphoneDB results.
I am using cpdb_degs_analysis_method for the calculations and then I am getting the following results:
list(cpdb_results.keys()) ['deconvoluted',  'deconvoluted_percents',  'means',  'relevant_interactions',  'significant_means',  'CellSign_active_interactions',  'CellSign_active_interactions_deconvoluted',  'interaction_scores']
The problem is that there are missing columns in the dataframe relevant_interactions (the missing column names are those where no interactions are calculated between the two cell types, i.e. the column A|B of relevant_interactions is all 0, and the column does not appear in relevant_interactions)
`col1 = means.columns.to_list()
col2 = pvals.columns.to_list()
list(set(col1) - set(col2))
['CD4_Th17|CD8_Tn_IFN_response',
'CD4_Th17|None_T',
'None_T|None_T',
'CD8_Tn_IFN_response|CD8_Tn_IFN_response',
'None_T|CD8_Tn_IFN_response',
'CD8_Tn_IFN_response|None_T']
`
The solution is just to add the missing columns in relevant_interactions:
for col in cpdb_results['means'].columns:     if col not in cpdb_results['relevant_interactions'].columns:         cpdb_results['relevant_interactions'][col] = 0

thanks @shenwenkang for finding the solution! will try and fix this when i have time.

seems like the fix introduces further bugs (e.g. plotting non-significant interactions). need to think of a different solution

@hmassalha @shenwenkang, could i ask you to try if this version works?
you can install with pip install git+https://www.github.com/zktuong/ktplots@fix-uneven-columns-and-rows


async output format

imagetools should have the ability to make output formats async. I am currently working on an inline transformer which produces a base64 string. However, sharp returns a promise when using toBuffer, which does not seem to be resolved.
output transformer code:
import type { Sharp } from 'sharp';
import type { OutputFormat } from 'vite-imagetools';

export const inlineFormat: OutputFormat = () => async (metadata) => {
    const image = metadata[0].image as Sharp;
    const buffer = await image.jpeg().toBuffer();
    const base64 = buffer.toString('base64');
    const data = `data:image/jpeg;base64,${base64}`;

	return {
        data
    }
};

I had a similar use case. The problem is vite-imagetools doesn't treat outputFormat ops as async, when in fact they could be. I mentioned this some months ago here: https://github.com/JonasKruckenberg/imagetools/pull/369#issuecomment-1229161855
I'll push a PR for this and see if it gets picked up.


unit test for sentiment analysis functions

df function:

[x] test the input, must be string
[x] test the input for sentiment should be in the sentiment list
[x] test the output, must be dataframe
[x] test the output dataframe should have 5 columns
[x] test some random values for the word_count, the emotion_percentage

plot function:

[x] test the input, must be string
[x] test the input for sentiment should be in the sentiment list
[x] test the output, must be plot
[x] test the output axis should be word_count vs word
[x] test the output plot should bar graph

plot function:

[] width and height are integers

[ ] integration test
[ ] boost up the coverage


some TODOs

OWN ISSUE
need better modularisation, saving preprocess is done in sorting.
This needs to be done as preprocesing is lazy
but is confusing to find here it is saved

[ ] have an option to save intermediate data, or can delete and just run full chain
[ ]  [ ]  Look into sorting_without_excess_spikes, why exactly is this required / what is it doing?

Setup Tests:

[ ] check results against existing pipelines from researchers
[ ] check SI, CatGT, IBL against each-other

HADNLE GATES / TRIGGERS

[ ] should the derivatives output have the gate idx? thinking
[ ] forward in case gates will be supported
-- [ ] Need to handle gate,trigger explicitly checking SI due to concatenation requirements
probably need to support .exported. keyword in filename (python-neo level if not already) in case use export subsection of data.

TO DOC
TODO: ~ syntax not working on linux

[ ] make note that pp is all per-segment (make an option for this later)
in example visualise
[ ] make it super clear g0 not included on run name,... in
[ ] - [ ] TODO: currently only spikeglx supported
[ ] preprocessing is lazy
[ ] - [ ] check KS is not doing any PP that conflicts with SI pp

problem - if the paths are changed, the data pickle cannot be loaded...

probably need to support .exported keyword in filename (python-neo level if not already) in case use export subsection of data.

b) use pydantic


ng2 highchart failed

one.js?1471464630035:101 GET http://localhost:5555/node_modules/ng2-highcharts/ng2-highcharts.js 404 (Not Found) i got this error after npm start .

You need to set proper configuration inside project.confit.ts.

Hi after setting project.config.ts what I will do ? Plz explain


Improve typing of toPairs and toPairsIn

I believe this is better typing for toPairs() and toPairsIn() though this is my first ever typescript definition file. (so be gentle if it's no good!)

Hmmm, well guess not. Will have another go!

Tests fixed up, let me know what you think :-)

Look fine. Thanks

Awesome,  thanks ☺


Embedding the script

I'm struggling to execute the custom script extension on CentOS 7.5. When I add script within settings (so it's properties.settings.script) I receive;
VM has reported a failure when processing extension 'Microsoft.Azure.Extension'. Error message: "Enable failed: failed to get configuration: json
validation error: invalid public settings JSON: script: Additional property script is not allowed.
...but when I add it within properties, so it's properties.script I receive;
Could not find member 'script' on object of type 'Properties'. Path 'properties.script'
The value of script is a base64 encoded bash script to run, but it's failing because of JSON validation errors each time.
Is this an error with the template or the documentation or something I'm doing wrong?

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

ID: df5a8957-9b4c-2a2e-81c2-79125373f8f1
Version Independent ID: d1c2d4cf-88cd-7581-10b5-88a5d11986e6
Content: Run custom scripts on Linux VMs in Azure
Content Source: articles/virtual-machines/extensions/custom-script-linux.md
Service: virtual-machines-linux
GitHub Login: @zroiy
Microsoft Alias: roiyz

Thanks for the question! We are currently investigating and will update you shortly.

Thanks - I have it working with the script being stored in a storage
account, but I like the idea of having the script embedded in the template!
On 6 September 2018 at 21:36, Karishma Tiwari - MSFT <
<EMAIL_ADDRESS>wrote:

Thanks for the question! We are currently investigating and will update
you shortly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/14631#issuecomment-419292802,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGog-VdRfvFq26Md6dH2p5XYCO-eBA9Hks5uYc2KgaJpZM4Wd-yz
.

@cbeech1980 Apologies on the delay on your issue.
Are you runnning Version 1 - Microsoft.OSTCExtensions.CustomScriptForLinux or
Version 2 - Microsoft.Azure.Extensions.CustomScript?
Also, can you please share the content of your json file?

@cbeech1980 Any updates? Were you able to find the solution? If not, please share the json file contents as asked above.

@cbeech1980 We will now close this issue. When you are ready, please reopen it and we will gladly continue the discussion.


More tests for simple regexes

The only regex that was tested right now was: /(a|b)*abb/
I added new regexes: /[a-b]*abb/, /.*abb/ and /.*/
Those new ones should match every pattern that the first one is matching but they don't.
See issue #4 and this question on Stack Overflow.
I think this PR should be accepted to have tests that should help to fix that issue.

how to search data from db they are given by user in fully,partially and they are auto filled


devel branch issue

Mar 30 19:56:57 zero multipathd[1145]: path checkers took longer than 133 seconds, consider increasing max_polling_interval
Mar 30 19:56:57 zero systemd-udevd[168402]: sr3: Process '/opt/arm/scripts/arm_wrapper.sh sr3' failed with exit code 1.
Mar 30 19:56:57 zero systemd-udevd[168402]: sr3: Process '/opt/arm/scripts/arm_wrapper.sh sr3' failed with exit code 1.
Mar 30 19:56:58 zero multipathd[1145]: pktcdvd0: unusable path (wild) - checker failed
Mar 30 19:56:58 zero multipathd[1145]: pktcdvd1: unusable path (wild) - checker failed
Mar 30 19:56:59 zero multipathd[1145]: pktcdvd2: unusable path (wild) - checker failed
Mar 30 19:56:59 zero python3[168322]: [2021-03-30 19:56:59,827] DEBUG in routes: %d-%m-%Y %H:%M:%S
Mar 30 19:56:59 zero python3[168322]: <IP_ADDRESS> - - [30/Mar/2021 19:56:59] "#033[37mGET /history HTTP/1.1#033[0m" 200 -
Mar 30 19:56:59 zero multipathd[1145]: pktcdvd3: unusable path (wild) - checker failed
Mar 30 19:57:01 zero python3[168322]: <IP_ADDRESS> - - [30/Mar/2021 19:57:01] "#033[37mGET /listlogs HTTP/1.1#033[0m" 200 -### Description
[Description of Bug, Feature, Question, etc.]
Environment
[OS Distribution and version (run "cat /etc/lsb-release")]
[ARM Release Version or if cloning from git branch/commit (run "git branch" and "git log -1" to get this)]
Log file
[Run the rip in DEBUG and drag and drop the log file onto this comment box]
[>>>>> DRAG AND DROP LOG FILE HERE <<<<<]

Loading log: BLADE_16X9_161716994989.log...
[31-03-2021 05:53:14] INFO ARM: Starting ARM processing at 2021-03-31 05:53:14.161097
[31-03-2021 05:53:14] INFO ARM: Database is up to date
[31-03-2021 05:53:14] INFO ARM: ARM version: 2.5.3_dev
[31-03-2021 05:53:14] INFO ARM: Python version: 3.8.5 (default, Jan 27 2021, 15:41:15) [GCC 9.3.0]
[31-03-2021 05:53:14] INFO ARM: User is: root
[31-03-2021 05:53:14] INFO ARM: Looking for log files older than 1 days old.
[31-03-2021 05:53:14] INFO ARM: Job: BLADE_16X9
[31-03-2021 05:53:14] INFO ARM: Job #5 with PID 191607 is currently running.
[31-03-2021 05:53:14] INFO ARM: Starting Disc identification
[31-03-2021 05:53:14] INFO ARM: Mounting disc to: /mnt/dev/sr3
[31-03-2021 05:53:56] INFO ARM: Disc identified as video
[31-03-2021 05:53:56] ERROR ARM: Pydvdid failed with the error: Path '/mnt/dev/sr3/VIDEO_TS' does not exist.
[31-03-2021 05:53:57] INFO ARM: Disc title Post ident: BLADE_16X9 :  : unknown
[31-03-2021 05:53:57] ERROR ARM: A fatal error has occurred and ARM is exiting.  See traceback below for details.
Traceback (most recent call last):
File "main.py", line 482, in
main(logfile, job)
File "main.py", line 200, in main
have_dupes, crc_jobs = utils.job_dupe_check(job)
File "/opt/arm/arm/ripper/utils.py", line 774, in job_dupe_check
title = r[0]['title'] if r[0]['title'] else job.label
KeyError: 0


support for cost model currency conversion

Tag: add currency conversion support to the cost model (work in progress)
Description: new code calls gcp.GetConfig() and then appends the CurrencyCode to the url, GET request on the url returns json body, after which nanos is automatically returned as the new units (e.g., nanos could be 100 in USD, but returns as 135 if &currencyCode=CAD is appended to the url), after which it is fed to the client (intended behavior)
Testing: built and pushed to Docker, ran by port forwarding docker url to local. queried Prometheus for node_total_hourly_cost to see no value changed upon selecting a different currency in the settings dropdown.
Problems: ran into a bug where json unmarshalling was failing because of PricingInfo struct CurrencyConversionRate variable typing, fixed it and now it's back to the original behavior (selecting a different currency in the settings dropdown and saving only changes the currency character in the client, but doesn't convert the numbers)
Questions:

What is the code path that calls DownloadPricingData() when the currency setting is changed?
Does the aforementioned function even need to be called again?
Are any of my assumptions in the Description incorrect? How does the back end send the price to the client?

I think it's ok to no re download pricing data on this for v1. That should happen on pod restart and most users will be setting this from values.yaml instead of UI.

What happens if you pass CAD or EUR in values and then install/upgrade Kubecost? You can do that here:
https://github.com/kubecost/cost-analyzer-helm-chart/blob/master/cost-analyzer/values.yaml#L479
Does this update the prices that you receive?

I don't think it's a big deal that we don't change currencies immediately when the dropdown changes. We can tell users to set it on install from our helm chart, under productConfigs:
https://github.com/kubecost/cost-analyzer-helm-chart/blob/develop/cost-analyzer/values.yaml#L405
As an introduction to helm, I'd suggest that you try playing with the currencyCode value in that block of helm, installing from a local values.yaml file, and noting that the price does change in prometheus when the new values.yaml is applied

I've sent the currencyCost values from the values.yaml file, but it doesn't update the prices on the client, nor in Prometheus. Any ideas on how to fix this?

Have you looked at the API request that you are making and the data being returned? Does it match what you would expect to see, based on the currency being set?

Btw, you can see GCP prices for different currencies + assets here: https://cloud.google.com/skus/?currency=CAD&filter=Compute+Engine

tested again in accordance to the comments via the following process

edit values.yaml
upgrade release
edit deployment to point to correct docker tag
port forward both cost-model and prometheus
dump logs to text file

the correct URL is queried on the currencyCode flag change, and logs show the correct VCPUCost change across different currencies. Prometheus also reflects the conversions in node_total_hourly_cost, so the back end is fetching the URL and getting these values. However, the client isn't receiving these values somehow.

0.06166 / 0.04270 ≈ 1.44, which is the conversion of CAD/CHF

Nice!! Sounds like good validation to me... you likely just need to have ETL with this new data. We can test that part next week.

Still one minor comment from Ajay here: https://github.com/kubecost/cost-model/pull/529/files#r482313600

Okay I'm quite certain that it's working actually. One thing to note was that I misunderstood the expected behavior; I thought the values would update and convert immediately (e.g., monthly total cost would go from CAD $10 to 15 CHF as soon as the setting is updated), but @nikovacevic (and the hover tooltip) revealed that it is a 24h average that slowly updates over the next 24h after the setting change.


Update device toml specs to schema 2

Context: Catalyst supports quantum device specification in a new format in addition to the existing one, supporting per-gate parameters.
Description of the Change: By this PR we update existing device specifications to the new format
Benefits: Per-gate properties allow device authors to query PL for certain behavior on programs (decomposition, adding quantum control, validation)
Possible Drawbacks:
Related GitHub Issues:

https://github.com/PennyLaneAI/catalyst/pull/629
https://github.com/PennyLaneAI/catalyst/pull/554

@dime10 could you please take another look at this pr?

Please let's wait on this one to be merged https://github.com/PennyLaneAI/pennylane-lightning/pull/665 first.

Hi all, I have run Catalyst tests against the recent version of this PR and discovered a number of device/spec validation failures. I have updates the PR to pass validation and put FIXMEs near related lines. @vincentmr could you please check it?
Here are the list:

Lightning.qubit: Python API of the device reports no support for BasisState, QubitStateVector, StatePrep operations in the Python API (link). Should we mark them as supported in Python?
Lightning.kokkos: Python API reports support for C(GlobalPhase) while in spec it is marked as non-controllable. Do you know what is the situation?
A few tests fails even after my fixups. Catalyst is able to compile and run a program, involving finiteshots-Hermitian, while PennyLane rejects it. link. What is the PLL status of this mode?

CC @dime10

Hi all, I have run Catalyst tests against the recent version of this PR and discovered a number of device/spec validation failures. I have updated the PR to make it pass the validation and put FIXMEs near the related lines. @vincentmr could you please check them? Here are the list:

Lightning.qubit: Python API of the device reports no support for BasisState, QubitStateVector, StatePrep operations, so I disabled them in the spec for now (link). Should we mark them supported by updating PennyLane-lightnig and re-enable in the config?

I think @erick-xanadu is taking care of this in #698 .

Lightning.kokkos: Python API reports support for C(GlobalPhase) while in spec it was marked as non-controllable. If it is true, it would be the only controllable gate supported by the kokkos device. Do you know what is the situation here?

Supporting this requires calling global_phase_diagonal from Python, so it is not supported by the C++ backend at the moment.

A few tests fails even after my fixups. Catalyst is able to compile and run a program, involving finiteshots-Hermitian, while pure-PennyLane lightning.qubit device rejects it. link. What is the PLL status for this mode?

I think this was added in #569 but without Python bindings. So it's only for you guys ;)

CC @dime10

I have run the lightning and kokkos cross-checks using the following components:

Catalyst https://github.com/PennyLaneAI/catalyst/blob/1babc99e798278672b568028a644618420f0e9f1/README.md#L1
PennyLane-lightning https://github.com/PennyLaneAI/pennylane-lightning/blob/d9507607c0d77500f20dc710fd00c118ad54d038/README.rst#L1

As far as I see, after a minor Catalyst fixup (the PR is linked above), all checks pass.


Fix Slack channel references

Signed-off-by: Martin Hickey<EMAIL_ADDRESS>

Thanks @bacongobbler


Klarna visible for amount lower than allowed (AUD36)

Describe the bug
The Klarna client library officially hides when amount in lower than allowed  but adyen components doenst have same behaviour.
To Reproduce
Steps to reproduce the behavior:

Render with amount lower than allowed. (AUD 36)

Expected behavior
Pay with Klarna should not be visible.
Screenshots
NA
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version latest

Smartphone (please complete the following information):
Same
Additional context
Component Version: 4.9

Hi @milindsingh .  Does this issue still relevant? Are you using 4.9 still?

Closing it as it is stale. Feel free to reach out if the issue persists.


Icelandic translations revised

Grammar corrections...
Google translate has community verification for strings such as : three minutes ago -> fyrir þremur mínútum (rather than "%d mínútum síðan")

Did I forget to push some button or is no one watching this ? :)


Types/size checks and cleanup

Added types and size checks, primarily for functions that accept Array or Dynamic inputs. Also removed a substantial amount of duplication.
Closes #5.

@cmccomb   looking good!  Especially making lots of dependencies option.
I'd suggest adding a feature to gate rustyline, since it may not be always necessary unless the user is writing a REPL.
Also, maybe a feature to gate rand -- but since this is a scientific computing package, maybe random numbers should be standard...


Handle missing files

Show a console warning when a source image cannot be found and carry on
processing rather than stopping

Looks good to me


⚠ Bofrost.de has degraded performance

In 4e4a2f6, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 877 ms

Resolved: Bofrost.de performance has improved in 45aaabd after 23 minutes.


CLOWNFISH-66 Py glue part 1

Glue code for the Python host.

Refcounting
Error handling
Host conversion for basic types
Argument conversion
Callbacks for overridden methods

I'll submit a v2 of this pull request which adheres to Nick's suggestion about error handling.


feature request: configuration options to show bus/train times within N meters of a given location

I won't have time to work on this right now, but a usecase I'm looking at is the ability to slurp time-to-bus/train near my house.
I'll try to remember to hack on this in a few weeks if it's not low hanging fruit -- I don't understand the MBTA API well yet; I just moved.

Note: I'm currently working on a separate project to implement a standalone MBTA client, which will help streamline this integration. Once the client is ready, I will conduct a thorough review and make significant updates to this integration.
MTBA api support geolocation in stops search so this use case looks doable but since it is not relevant to me is not currently supported by the client (yet). feel free to contribute :)


Bump crate version to 0.2.92

Could it be possible to have a new release in the coming days please? Thanks in advance!

r? @JohnTitor
(rust-highfive has picked a reviewer for you, use r? to override)

Could you also update the libc-test's version and its libc dep version?

Sure!

Done!

Thanks!

@bors r+

:pushpin: Commit 172771e8c6abb1c98dac1a8f28f0f244c3326d93 has been approved by JohnTitor

:hourglass: Testing commit 172771e8c6abb1c98dac1a8f28f0f244c3326d93 with merge 77056408a1cab851d5d4f8c4fb903f102d8b7c65...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 77056408a1cab851d5d4f8c4fb903f102d8b7c65 to master...

Published on crates.io: https://crates.io/crates/libc/0.2.92

Thanks a lot!


Any way to get user-user, item-item and user-item embeddings back from trained model?

Hello, like LightFM algorithm, is it possible to retrieve user-user, item-item and user-item embeddings back from the trained model?

PyTorchCML does not have a mechanism to retrieve.
You can retrieve the embedding vector by model.user_embeddings.weight or model.item_embeddings.weight.
One of the easiest ways to achieve retrieving would be to enter it into another library such as Annoy.


Crd1 work

Initial branch creation and kubebuilder scaffolding.  Notice the things-to-do file.

wrong branch

This PR is against main and we want to merge into a new branch.   I think I am just lacking permissions to create the branch, but possibly initiated the PR incorrectly.   May need to kill this PR if you can't specify the merge into a new branch.