Cannot download from france.tv

Hi I can't download video from
https://www.france.tv/france-2/avignon/963901-cour-d-honneur-de-jerome-bel-avignon-2013.html
It says:
[FranceTVSite] 963901-cour-d-honneur-de-jerome-bel-avignon-2013: Downloading webpage
[FranceTV] a2e1e05a-7492-4b8e-8a87-ff2b735b8b34: Downloading video JSON
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\__init__.py", line 474, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\__init__.py", line 464, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 2019, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 808, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 870, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\extractor\francetv.py", line 209, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpspbsbtmq\build\youtube_dl\extractor\francetv.py", line 103, in _extract_video
IndexError: list index out of range

Checklist

[x ] I'm reporting a broken site support
[ x] I've verified that I'm running youtube-dl version 2<IP_ADDRESS>
[ x] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl -vvv https://france3-regions.francetvinfo.fr/nouvelle-aquitaine/emissions/jt-local-1920-perigords
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-vvv', 'https://france3-regions.francetvinfo.fr/nouvelle-aquitaine/emissions/jt-local-1920-perigords']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.8.4 (CPython) -<EMAIL_ADDRESS>[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[francetvinfo.fr] jt-local-1920-perigords: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/francetv.py", line 374, in _real_extract
video_id = self._search_regex(
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.```

## Description

<!--
Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Hi, i can't get video from francetv site using latest (2<IP_ADDRESS>) version of youtube-dl.
Thanks.

urls from web browser:
https://pastebin.com/raw/MRPEsK8H
youtube-dl version 2020.07.28
Python version 3.8.4 (CPython)
exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, phantomjs 2.1.1, rtmpdump 2.4
any solution ?

is work after apply Surkal patch.
Thanks.


Add Simple Prometheus Metrics

What happens?
Prometheus metrics are not currently exported by the eunomia operator.
What were you expecting to happen?
I would like the basic prometheus metrics enabled that are provided by the operator-sdk, so that end users can monitor the health of the eunomia operator.
https://github.com/operator-framework/operator-sdk/blob/v0.8.1/doc/user/metrics/README.md
Steps to reproduce:
n/a
Any errors, stacktrace, logs?
n/a
Environment:
Eunomia version v0.0.2.
Additional comments:
n/a

Closed by #150


ENV2023-02-20 New ICCOD codes for some proficiency tests

DRRR 2017          RVEP 170197 Bestimmung des Gehalts an Phthalaten in Bedarfsgegenständen (doc not ok)
QT-0032357        Sigma Aldrich Proficiency Testing SPE009-50G Chlorinated Pesticides in Soil, LRAC7398 (doc not ok)
LUERV-A-2021-SSO         Länderübergreifender Ringversuch LÜRV A from 2021 - organics in sewage sludge (doc not ok)
LUERV-2021-SOIL            Länderübergreifender Ringversuch LÜRV A from 2021 - inorganics in soil (doc ok)
UKWIR-4-21       Proficiency Tests UKWIR 1/21 to 4/21 priority substances in surface water (doc ok)

LUERV-A-2021-SSO doc ok
DRRR 2017 RVEP 170197 doc ok - determination of the content of phthalates in consumer goods

No go for the code without documentation.

QT-0032357 is a quick-turn proficiency testing, which does not require more than 1 participant. So there is no other report than we already received I'll check with our experts if it makes sense to have them in ICCOD.

DRRR-2017-RVEP-170197
LUERV-A-2021-SSO
LUERV-2021-SOIL
UKWIR-1-4-21


:robot: Use sudo to move generated sarif files

Fixes failures affecting master builds: https://github.com/kairos-io/kairos/actions/runs/4321817792/jobs/7543494120

can be tested only on master.. so.. merging :)


no "php" highlight?

Hi again,
I found there is no highlight color on php code (but javascript can)
do you know how to fix this ?

Thanks

sorry my fault...
I need to add <?php
please close this issue


Release to pypi

The project can be released to pypi so that it can be easily downloaded by pip or other installers.

That's a good suggestion. Since this is for Xena, I'd like to check with @maryjgoldman or @jingchunzhu to see if this is what we want to have.

@yunhailuo also we need to add a LICENSE file. Which LICENSE does ucscxena follow?

This is a very legitimate suggestion. Again, @maryjgoldman or @jingchunzhu for proper license.

@yunhailuo ,I think Apache 2.0 as per this site: http://xena.ucsc.edu/ .

Yes, we use the Apache 2.0 license

@ayan-b Are you still working on this issue? If not , I would like to work on this issue.

Ideally maintainers should release to pypi.

No issues.

@ayan-b Are you still working on this issue? If not, I would like to work on this issue.

Ideally maintainers should release to pypi.

I have no problem releasing it. As mentioned in my first comment, I'd like to have confirmation from @maryjgoldman or @jingchunzhu.

Just realizing I never got back to you guys on this. I checked with Jing and she said this is fine to do.

Just realizing I never got back to you guys on this. I checked with Jing and she said this is fine to do.

Thanks for checking. I'll do a test release and we can take a look first, @maryjgoldman and @ayan-b

Test release to be reviewed: https://test.pypi.org/project/xena-gdc-etl/

I don't know enough about python to know if this works but the links above works and has a lot of great documentation. As we don't expect many people to interact with the code in this way, I vote we approve this and then if people complain then we can go back and change this.

One potential plan could be releasing this version at the end of GSoC as one end product, @maryjgoldman ?

How does this work? Like if we change the code, will the pypi package update as well? Or is more like we release our code to pypi?

No automatic update. Up to what we release (push). Usually a collection of mature codes for a release.

Gotcha. Then I defer to you, @yunhailuo, when we should release this. Should we put this back in the 'to do' queue until we're ready to release at the end of the project?

Thanks. Leave it there because the releasing command is ready. I will check the code and release when we get close to the end of the program.


tokenizer问题

按照要求安装好环境后，运行preprocess.py的时候出现问题：
OSError: Can't load tokenizer for 'bert-base-uncased'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'bert-base-uncased' is the correct path to a directory containing all relevant files for a BertTokenizer tokenizer.

Please make sure that you have access to the Hugging Face website and installed the correct transformer version. Alternatively, you can clone the "bert-base-uncased" repository to your local directory and then modify the line 'BertTokenizer.from_pretrained("bert-base-uncased")' to 'BertTokenizer.from_pretrained("/path/to/bert-base-uncased")'.

这个墙的问题了，先下载好后，再本地加载。

请问除了git还有别的下载方式嘛？没有找到唉


Tag 2.3.0

Hi @vojtech-dobes
thanks a lot for returning to this project :-)
Could you please tag the current state as 2.3.0? Last couple of commits are pretty important ;-)

Done.

Thank you! :-)


Add TypeScript support

Description

enable typescript in nextjs project
adds a tsconfig.json

Fixed issue(s):

fixes #26
Changes Include

[x] Tooling ⚙ (Changes to the build process or auxiliary tools and libraries such as documentation generation)

Checklist

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

@siddhantk232 thanks for the contributions!
First off, to continue the discussion about .nix support for the project we had on Discord.

Hold up on those aspects for a separate PR in the future.
Since most of us don't about nix yet & it'll probably take a week or two to learn it well. So, let's have a discussion about it so that all of us are onboarded for using nix.

Also, there's an open PR #24 which will clean up the repository quite a lot. Once that's merged you might've to rebase your fork to pull in the latest changes. So, please hold on for a bit & I'll review your PR accordingly afterwords.

We should use either npm or yarn.

We should use either npm or yarn.

Yes, we'll be using npm. #24 will be removing the redundant yarn.lock. The PR is awaiting a review from @varshney-himanshu since he was one of the guys who was actively working on the project earlier.


add banner

security banner
https://snoopycrimecop.github.io/www.openmicroscopy.org/

Thanks @sbesson for spotting it.
Merging and deploying now


docker service create does not fetch image tags

Description
docker service create does not fetch image tags

Steps to reproduce the issue:

Create a swarm cluster. Only a single node is enough.
Do docker service create nginx:latest and make sure the image is pulled and the service is created.
Do docker images | grep nginx

Describe the results you received:
The image itself is pulled but the tag is not fetched.
nginx                  <none> ...

Describe the results you expected:
The tag should be fetched as well (as in docker run).
nginx                  latest ...

Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
Client:
 Version:      1.14.0-dev
 API version:  1.26
 Go version:   go1.7.4
 Git commit:   2cf32ee
 Built:        Tue Dec 20 06:31:26 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.14.0-dev
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.4
 Git commit:   2cf32ee
 Built:        Tue Dec 20 06:31:26 2016
 OS/Arch:      linux/amd64
 Experimental: true

Output of docker info:
Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 152
Server Version: 1.14.0-dev
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
Swarm: active
 NodeID: dwbro2r4r28kjov8vkdpc0rw6
 Is Manager: true
 ClusterID: ob7adda1s0jgp13u8jgxq2mfv
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
 Manager Addresses:
  <IP_ADDRESS>:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e
runc version: 51371867a01c467f08af739783b8beafc154c4d7
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-53-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 14.69 GiB
Name: ws01
ID: SN3T:CNK6:JKQD:54CY:XKF2:BRX3:CIRU:DQBT:6DVZ:VWQ2:Q5ET:F23L
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 36
 Goroutines: 130
 System Time: 2016-12-20T08:38:32.848334921Z
 EventsListeners: 1
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.):

Oh! This is a duplicate of https://github.com/docker/docker/issues/28908. See that issue for background. I'll close this one 👍


ui: Merge Primate Repo

This merges the apache/cloudstack-primate UI under the ui directory as discussed and voted under:
https://markmail.org/message/bgnn4xkjnlzseeuv
ASF infra requested to archive the apache/cloudstack-primate repo here:
https://issues.apache.org/jira/browse/INFRA-21321
The purpose of the PR is to do a merge commit of the import as well as perform basic Travis and packaging checks. I'll merge once these basic checks (Travis and pkging) work.

@blueorangutan package

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos7 ✖centos8 ✔debian. JID-2551

Packaging result: ✖centos7 ✖centos8 ✔debian. JID-2551

@blueorangutan package

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2552

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2552

Manually built and verified. I'll raise another PR around packaging fixes etc. Keeping this PR strictly to repo merge (no changes in CloudStack build/packaging).

Manually built and verified. I'll raise another PR around packaging fixes etc. Keeping this PR strictly to repo merge (no changes in CloudStack build/packaging).


Viomem dmar compatibility (disable DMAR)

Win11-iommu: 1 test failed on HCK (twice according to @kostyanf14), passed 2 times on my fresh local HCK.

@kostyanf14 Let's run only this test 10 times on your HCI-CI
DF - Reinstall with IO Before and After

Exact failure is:
A crash with exception code 0xC0000005 occurred in module "cbscore.dll" in process "TiWorker.exe"
Found by googling

@kostyanf14 Any update?

@YanVugenfirer New Server 2025 and Win11 24H2 passed

@kostyanf14 please notify QE about the latest versions


Poor benchmarking

I'm doing some benchmarking of imputation methods and tried out scVI but I've been getting very poor results, this is the script I wrote to do the imputation using default parameters, is there an error in it that I haven't noticed?
The get_all_latent_and_imputed_values() method returns the imputed matrix with columns in the same order as the input matrix correct?
random.seed(710)
import sys
infile = sys.argv[1]
outfile = sys.argv[2]

n_epochs_all = None
n_samples_tsne = None
n_samples_posterior_density = None
train_size = None
M_sampling_all = None
M_permutation_all = None
rate = None
save_path="/mydirectory/"

import os

import numpy as np
import pandas as pd
np.random.seed(710)
from sklearn.manifold import TSNE
import matplotlib.pyplot as plt

from scvi.models import *
from scvi.inference import UnsupervisedTrainer

from scvi.dataset import CsvDataset, AnnDataset

local_csv_dataset = CsvDataset(infile, save_path="/", compression=None, new_n_genes=False)
csv_as_panda = pd.read_csv(infile)

# Training
n_epochs=400 if n_epochs_all is None else n_epochs_all
lr=1e-3
use_batches=False
use_cuda=True
vae = VAE(local_csv_dataset.nb_genes, n_batch=local_csv_dataset.n_batches * use_batches)
trainer = UnsupervisedTrainer(vae,
                              local_csv_dataset,
                              train_size=float(sys.argv[3]),
                              use_cuda=use_cuda,
                              frequency=50)
trainer.train(n_epochs=n_epochs, lr=lr)

imputed_values = trainer.get_all_latent_and_imputed_values()["imputed_values"]
df = pd.DataFrame(imputed_values, columns=local_csv_dataset.gene_names)
df = df.transpose()
df.columns = csv_as_panda.columns
df.to_csv(outfile)

Hi,
Some remarks:

why train_size=float(sys.argv[3]) ? That should probably be always equal to 1 if you impute the whole dataset
I am not sure fixing the numpy seed will fix the inference procedure seed for pytorch np.random.seed(710) if this is what you would like
Does the code train properly ? (you see the 400 epochs you wanted ?)
Performance depends heavily on gene filtering and number of cells as written in our manuscript. You can't expect scVI to work on a dataset with 12 cells and 20k genes.
looks like lots of line in your script could be cleaned and are confusing (especially the n_epochs_all that are used only for the unit tests).

Let me know if that helps.
Romain

Hi Tallulah,
Thanks for trying out scVI and for reporting the issue. Would you give us some more details about your dataset? e.g. the number of cells and the number of genes.
scVI has a few "hyperparameters" (settings) that you may want to be adjust to match your dataset. I'd like it if scVI would set these these values automatically in the future (issue #258). Until then, you can usually figure out good settings by watching the algorithm train, and seeing how the test error varies by epoch. It's easiest to get good results if you have a lot of cells in your dataset.

Closing this thread after unactivity, refer to issue #258


Add: composer.packages

Closing this as I've no experience w/composer and this has never come up. More than happy to reopen with some example uses/etc!


Not proxying properly once the container is active [ARM/*arr]

Hello,
When a *arr (Prowlarr, Sonarr....) container is "revived" for the second time, Container Nursery does not redirect to the application even if it's up an running properly.
The debug message shows that the application returns a 401 - Unauthorized to Container Nursery and as such the proxy does not recognize the application as "up and running".
In my opinion (open to discussion) as long as Conainer Nursery receives a "valid" HTTP response from the web server (from 100 to 499?)  the proxy should recognize the application as "up and running" and thus pass the control to the application itself.
I did a small test, changing this line in the ProxyHosts file:
 if (res.status === 200 || (res.status >= 300 && res.status <= 399)) {
to
 if (res.status === 200 || (res.status >= 300 && res.status <= 499)) {
and it works like a charm.
An option would be to make this range configurable by the user either at ContainerNursery level or at individual container level in case widening the range is not in line with the design of the application.

This is a tough one, I was never 100% happy with the current implementation of this. The aim was to make sure the redirect only happens after the application is truly ready (so the user doesn't get a Gateway Timeout or something similar and has to reload by hand after a few seconds), which in most cases should be 200 or a redirect 300-399.
I'm open to adding more status codes to the list, so we should maybe gather a list of ranges/codes which should (if the application is designed correctly) correspond with a running & ready application.
After looking through the HTTP status codes list I came up with the following:

200
201
300-399
401

Other suggestions?

Based on the HTTP status codes, I'd advise to:

1xx: Accept, these are informational responses implying that the container is up and running
2xx: Accept, these are successful responses, as such we're pretty sure the container is up and running
3xx: Accept, these are redirections, possibly ContainerNursery is contacting the "wrong" endpoint but the container should be up and running
4xx: Accept, these are client errors. Maybe Container Nuersery is contacting the wrong endpoint or the session that the client is supposed to be open has been forcibly closed by shutting down the container
5xx: Reject, these are server side errors implying that either the container is not fully active or that there's an error in the container

Said that, maybe the project could keep the original list of valid status codes with the possibility to specify an endpoint in the config file to check if the container is properly up and running.
i.e. Prowlarr has an endpoint to check the server health: /api/v1/health

I'm hesitant to add the 4xx range since, you're right, this should be a client error. But some on launch building onepage applications might return 404 while the index.html isn't built yet (as an example dashy comes to mind), since the nginx/apache webserver is already running.
Also 2xx codes like 204 (No Content) should probably not lead to success?
So I think the following: 100-199, 200, 201, 300-399, 401

Regarding the health endpoint, maybe we should be thinking about adding docker healthcheck support. This way we don't need to build our own solution and increase compatibility as well.

I'm hesitant to add the 4xx range since, you're right, this should be a client error. But some on launch building onepage applications might return 404 while the index.html isn't built yet (as an example dashy comes to mind), since the nginx/apache webserver is already running. Also 2xx codes like 204 (No Content) should probably not lead to success?
So I think the following: 100-199, 200, 201, 300-399, 401

I wasn't considering this so definitively extending to all the 4XX codes is a "no go".
With respect to the next comment, not all docker containers implement health checks as well as not all applications implement API to check the health of the service.
Whatever of the two solution is chosen there will be a drawback.
Personally I'd vote for using the HEALTHCHECK functionality in docker.
As a quick fix I'd currently keep the codes you mentioned before and continue the discussion/feature request to see which is the best long term approach.

I am also affected by the following check.
https://github.com/ItsEcholot/ContainerNursery/blob/97b329c6d2f3886967dec2093a1369556104f69c/src/ProxyHost.ts#L154
In my case the check fails because some headers are missing for the request here:
https://github.com/ItsEcholot/ContainerNursery/blob/97b329c6d2f3886967dec2093a1369556104f69c/src/ProxyHost.ts#L144
Would it be possible to expose a boolean flag to skip this additional verification and just proxy the request, like useHttpProbeCheck set to false? Or maybe another integer called treatHealthyAfterNSeconds or something similar that assumes the container is healthy if after n seconds no errors occurred.

@nopper Would this be fixed in your case if we added a config to choose between GET and HEAD requests?

I think it might, but not sure I'll have the time to check this to be honest. I moved away from containernursery and now I simply use grafana monitoring to identify and kill idle containers. For restarting I have a catch-all route in traefik that triggers a script for restarting the interested container.

Thanks for the feedback. In that case I will close here for the time being. Please feel free to reopen / create a new one if needed.


[Feature] Could support for .razor and .cshtml files be added?

I would like to ask if support for .razor and .cshtml could be added to this extension. For example this blazorise theme could benefit from actually seeing colors:

I'll see what I can do

This is available in v1.10 - just submitted to the marketplace


Implement Error Messaging in Admin Module Pop-outs

Currently for the pop-outs in the admin module screens users do not get any error messaging the the actual modals. If an error is thrown then the modal gets closed out and no data is saved. Need to apply the same error message we use in the monitoring plan to the admin module:

QA Cert Data Maintenance
Error Suppression
EM Submission Access

Private Zenhub Image

Errors are firing as expected.


Add support for the policy compliance history API

The compliance history API is not exposed outside of the cluster by default. The governance-policy-addon-controller handles creating a Route when the governance-policy-database Secret is defined.
Relates:
https://issues.redhat.com/browse/ACM-6870

/cc @gparvin


compiler: Extensions for parlang backends

This PR includes:

Some bug fixes (in particular, see buffering.py)
New classes for new features (e.g., Bundle for vector types such as float2)
Several refactorings

PR equipped with tests

@mloubout @georgebisbas and readers
Note that part of the reviewing is in #2043 , which is essentially this PR plus a few edits from @ggorman


(Ignore) Collecting logs for flaky test.

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


Avoid 'Invalid value for "head"' errors

I was still encountering issues related to #60, #18, #20, etc.
I decided to explicitly list the HEAD for the pull request and that
seems to have solved the issue for me.

Thank you for following my style so well!

I've started having the same problem after setting up 2FA on my GitHub account. Here's the error message I get from cask repair:
`Is everything correct? ([y]es / [n]o / [e]dit) y
Submitting…
Username for 'https://github.com': giannitm
Password for<EMAIL_ADDRESS>remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/giannitm/homebrew-drivers/'
Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "head"
Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "head"
There was an error submitting the pull request. Please open a bug report on the repo for this script.`


The hyperlink of project in global replication rules doesn't work

Refer to https://github.com/vmware/admiral/issues/272


Provide links to repositories with services implementations that produce log files

Added into https://github.com/cloudhubs/logscraper/blob/master/docs/index.md


Remove item at position when click delete?

How can I Remove item in listview when I click remove after slide item from left to right?

i'm calling this method in fillValues
private void deleteProfileListener(final LinearLayout ll_delete, final int position) {
    ll_delete.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            deleteProfileService(Integer.toString(listProfiles.get(position).getId()));
            listProfiles.remove(position);
            notifyDataSetChanged();
            user.setProfiles(listProfiles);
        }
    });
}

Hi wrevilla, did you solve tihs issue ? I have same error. when clicked deleted button deleted bottom item.
Thanks in advance

Hi wrevilla & SametAlbayrak, I have the same issue. Is there any progress?


Conflict between Contributing and README

Contributing implies PR welcome, README implies they aren't in the Contributing section.

Long lasting issues aren't helpful ;) I'm going to close this. Folks can reopen as needed.


How to build/run on OSX/Linux

Hey!
Project looking interesting.
How do I build/run this on Mac or Linux? Should be easy given the Electron framework.
Cheers - Victor

Hey @vemv !
I've added the instructions to the README.
I haven't personally tested it on OSX or Linux. The build instructions are the same though.
Let me know if there's an error.
Thanks.

It builds/runs!
But after I launch it and login, I see SC itself and not the app:

If I restart the app, I won't require login again, but again I am shown SC itself - not SoundKeys.
Cheers - Victor

That's exactly what SoundKeys is, Soundcloud wrapped in Electron. You get all the shortcuts mentioned and Notifications on top of SoundCloud. I didn't use the API as SoundCloud restricts caching on the API and there are no such restrictions on the web version. We can still get any view we want by DOM manipulation. A minimal interface is on the Roadmap though.

Ah, silly me! I assumed this was built on top of the SC API.
Still, it's a good idea! And the media keys sure work on my Mac! :)
Will recommend to a friend.


Add xoria colorscheme

Adds xoria colorscheme with configured standard colorscheme, TS colorscheme, html, markdown, VimWiki etc ...

Created: xoria.yml
Generated: colors/xoria.vim
Added terminal colors: term/xoria.Xresources

Some further work/fine-tuning may be required

Galaxy Line Colors (status bar)

Edit:  ~/.config/nvim/lua/lv-galaxyline/init.lua

Comment default colors
Add these Xoria theme colors instead:
Also if PR get accepted, it would be nice to add it with other (commented) colors in lv-galaxyline/init.lua

-- colors for Xoria theme
local colors = {
    bg = '#272727',
    yellow = '#FFFFAF',
    dark_yellow = '#D7BA7D',
    cyan = '#4EC9B0',
    green = '#96c272',
    light_green = '#B5CEA8',
    string_orange = '#CE9178',
    orange = '#FFB870',
    purple = '#C586C0',
    magenta = '#88C0D0',
    grey='777777',
    blue = '#87AFDF',
    vivid_blue = '#6BA8F2',
    light_blue = '#88C0D0',
    red = '#DF8787',
    error_red = '#FF8080',
    info_yellow = '#FFCC66'
}

@ChristianChiarulli  Hey Chriss, I see you have been experimenting with colorscheme lately. It looks similarish with this one. (Just want to mention you so you see this pr) Sorry for disturbing (maybe this is not look that you are aiming). If not just ignore it, best regards!


Remove useless cloning

As the value objects are immutable, the same instance can be reused instead of creating a new one

@stof Good point, I completely lost the sight of the fact that I've made Metadata objects immutable, too. Thanks.


"Open query in neo4j" button

Button to open the same source/target and metapaths query in the neo4j browser view.

Yeah, the backend should probably pass these queries back with the query-metapaths results.

The query-metapaths API endpoint now returns a cypher_query field. See https://search-api.het.io/v1/query-metapaths/?source=17599&target=31491 for example:
            "cypher_query": "MATCH path = (n0:Gene)-[:PARTICIPATES_GpPW]-(n1)-[:PARTICIPATES_GpPW]-(n2)-[:INTERACTS_GiG]-(n3:Gene)\nUSING JOIN ON n1\nWHERE n0.identifier = 675 // BRCA2\nAND n3.identifier = 672 // BRCA1\nAND n0 <> n2 AND n0 <> n3 AND n2 <> n3\nWITH\n[\nsize((n0)-[:PARTICIPATES_GpPW]-()),\nsize(()-[:PARTICIPATES_GpPW]-(n1)),\nsize((n1)-[:PARTICIPATES_GpPW]-()),\nsize(()-[:PARTICIPATES_GpPW]-(n2)),\nsize((n2)-[:INTERACTS_GiG]-()),\nsize(()-[:INTERACTS_GiG]-(n3))\n] AS degrees, path\nWITH path, reduce(pdp = 1.0, d in degrees| pdp * d ^ -0.5) AS PDP\nWITH collect({paths: path, PDPs: PDP}) AS data_maps, sum(PDP) AS DWPC\nUNWIND data_maps AS data_map\nWITH data_map.paths AS path, data_map.PDPs AS PDP, DWPC\nRETURN\n  path AS neo4j_path,\n  substring(reduce(s = '', node IN nodes(path)| s + '–' + node.name), 1) AS path,\n  PDP,\n  100 * (PDP / DWPC) AS percent_of_DWPC\nORDER BY percent_of_DWPC DESC\nLIMIT 10"

If my understanding of https://github.com/neo4j/neo4j-browser/pull/153 is correct, it won't be possible to pass the cypher to a neo4j browser using a URL parameter. Therefore, perhaps a copy to clipboard button would be the next best thing?

closed by #71

Should we disable sorting on the "neo4j query" column? When I click the column header to open the neo4j browser, it ends up sorting (out of view because have been relocated to new tab).

Should we disable sorting on the "neo4j query" column? When I click the column header to open the neo4j browser, it ends up sorting (out of view because have been relocated to new tab).

Added fix for this to PR #77 . I still keep the column sortable, but when user clicks directly on link, the click doesn't also propagate to the sort button "below" it.


user being fetched only after browser tabs changed by hand

after login, the user value is shown on the page, but immedietaly gone after refreshing page or changing route. and it's being fetched back again only after browser tabs changed. And if you reload page or go to another route, it'll hide again. You need to change tabs again to show it. It doesn't happen this way on localhost. Only on netlify etc.
The hosted buggy website:
https://luminous-haupia-12c8f2.netlify.app/login
try to login with:
mail<EMAIL_ADDRESS>// pass: 123321
or create your own account and login with it.
After login, there should be uservalue written on page if there's a user. So after login, it shows up, but gone after route change or website reload. And, it comes back after tab changes.
I've recorded a vid:
https://www.youtube.com/watch?v=SOTzkS08YIs&ab_channel=Clarity
Here's the repo of this to reproduce:
https://github.com/Solemensis/supabase-nuxt-login_bug

I'm also running into this bug. I've tried nuxt: 3.0.0-rc.12 and see the same results.

Closing in favor of #101 (merging all Netlify issues)

@CodyBontecou I'm not reproducing in local with this repo. Do you ?

I'm also running into this bug. I've tried nuxt: 3.0.0-rc.12 and see the same results.
I've noticed you attached the netlify tag to this. I'm seeing this issue during local development.

Yeah interesting, local works for me, started working only after latest npm package of supabase/nuxt. Host problem still goes tho.

I'm facing a similar issue, but on local dev as well #144


Cleanup HTML

Playing a bit with the markup, I managed to change:

This is nice man

into

    This is
    ni
    ce

    man

This needs to be cleaned up again to
This is nice man

@Xethron can you provide some details on how to replicate this?

Use Chrome (mine is Version 43.0.2357.134 m) and play with numbered or unnumbered lists to reproduce it righ away. Doesn't happen with Explorer.

Confirmed. In Chrome, unordered lists get all sorts of inline styles, including line-height and font-family.

Seems like fixed in Chrome. I can't reproduce this bug now.


Explore based on things

Currently the explore function allows to search for concepts:
{
  Explore (
    concepts: ["New Yorker"],
  ) {
    beacon
    certainty
    className
  }
}

It would be nice to allow using things instead:
{
  Explore (
    concepts: "beacon": "weaviate://localhost/things/7e9b9ffe-e645-302d-9d94-517670623b35",
  ) {
    beacon
    certainty
    className
  }
}

Makes sense to me. I'm not sure I understand your API suggestion around concepts: "beacon": "...". Maybe it contains a typo/mistake as that doesn't look like valid GraphQL?
A simpler suggestion below - possibly this is what you intended?
{
  Explore (
    beacon: "weaviate://localhost/things/7e9b9ffe-e645-302d-9d94-517670623b35"
  ) {
    beacon
    certainty
    className
  }
}

Explore vs. Get { Things(explore) } }
In your example you used the Explore API, but I assume the same should apply to the Get { Things { ClassName(explore: {}) } } API. Or is there any reason it should not?

@etiennedi your suggestion looks good. Yes it should also exist for the Get { Things { ClassName(explore: {})}}
Maybe it makes sense to exclude the thing itself? If we search for similar things of the same class then the thing itself is the trivial answer.

It would be good to think about non-text values, what can we do with them.

Similar to #1098, the latter only deals with the REST functionality, but the implementation should be nearly identical.


KAFKA-12289: Adding test cases for prefix scan in InMemoryKeyValueStore

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@cadonna , As discussed, i have added the test cases by adding store with key as Bytes. Also, have added the warning with the example in the javadocs for prefixScan()

Thanks @cadonna , i have committed your suggestions.

Call for committer approval: @guozhangwang @ableegoldman @mjsax @vvcephei @abbccdda

LGTM. Thanks for the contribution @vamossagar12 !

Cherry-picked to 2.8 as well cc @vvcephei


[Warhammer 4e Character Sheet] - Polish localisation fixes

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description

Changed interface to fit polish translation

Character Sheet Info Roll20 Internal Use only.


How to compile noms and roi pooling without CUDA

I don't have GPU and coda in my laptop, how can I do to run your code without nvcc?

I have the same problem, help wanted

I believe the issue is, you cannot proceed after this step in the README.md without having compiled the CUDA libraries... I tried and it looks like you would need to modify the build in lib/make.sh
https://github.com/jwyang/faster-rcnn.pytorch/issues/555
I am stuck with the message from #555 now.. not sure it's worth the authors time to get it to work without nvcc .. but you'd need to port the code and call gcc or some C compiler instead of nvcc


Returns -1 sometimes

Thanks for great tool!
I ran into a problem during testing. Normalized score is -1 sometimes.
For example Overall Score and LCP here:

PageSpeed Insights works well for this URL: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.vzhurudolu.cz%2Famp (As I know this is different Lighthouse setup.)
Maybe there should be option for returning Lighthouse JSON output to have possibility to debug issues like this.
https--www_vzhurudolu_cz-amp.csv.zip

@machal In your example, it looks like the columns and values are shifted / out-of-sync. I tested on the same URL and I was unable to reproduce your issue (see attached). Please provide more details about your environment and we'll try to figure out how that happened. It would also be useful to know if you consistently see that problem when testing other sites, too.
https--www_vzhurudolu_cz-amp.csv.zip

@emersonthis Thanks!
My setup: MacOS BigSur 11.1. Shell is zsh.
I'm going to try lighthouse-parade on another projects, so I will update the information.


Jayden Paterson - StyleGAN Q9

Implementation of a StyleGAN model with code for training and displaying generated images based on the OASIS Brain dataset related to project 9.
The StyleGAN pretrained model provided generates an image that indicates some patterns towards emulating the training set, however, further training and adjustment of hyperparameter could improve the results of the StyleGAN. Other improvements which can be made is by testing which application function works best for this specific model, i.e. tanh, sigmoid, and different parameters for LeakyReLU could be tested for further improvements.

Document

Title:
Good
Address probelm:
Problem is not addressed
Working Principle:
Very brief
Figure visualization
Good
dependecy
Not provided
inputs and outputs description:
Inptus provide (only one provided)
Output's quality is not very good
training plot:
Not provied
readme using markdown:
Good
preprocessing description:
Not provided
Description of usage:
Very brief, no details provided

Minor tips (nothing to do with marking)
Check the files:

modules.py
Good

dataset.py
Used online OASIS 3D data by loading slices for training. Generator class was not used when loading the images, hence, the number of loaded image was mannually limited due to memory limitation. not all images were used during training. generator class should be used when loading large dataset.
comments are not very intuitive

train.py
the training strategy and criterion does match the description in styleGANv1 paper. Normal GAN training procedure was used instead.

predict.py
Good

Question:

Why you permute twice inside the forward function within StyleGANGeneratorBlock

Overall:

solve the problem:
No
TF/torch implementation:
Yes
Design quality:
The dataloader implementation is not correct. The training procedure does not match the paper.
code comments:
Comments inside train.py and dataset.py are limited.
Difficulty:
StgleGANv1 -hard

Marking
Good Practice (Design/Commenting, TF/Torch Usage)
Adequate design and implementation, dataloader deficiencies -2
Good spacing and comments
Header blocks
Recognition Problem
Solves problem, no no evidence of training/validation -2
Driver Script present
File structure not present as need code into folder and not in main trunk of repo -2
Shows Usage & Demo & Visualisation & Data usage, no plots -2
Module present
Commenting minimal -1
No Data leakage
Difficulty: Hard
Commit Log
Meaningful commit messages
Progressive commits used
Documentation
ReadMe minimal, no refs, usage or problem details (deps etc.) -3
Model/technical explanation
Good Description and Comments
Markdown used and PDF submitted
Pull Request
Successful Pull Request (Working Algorithm Delivered on Time in inCorrect Branch) -2
Feedback required, remove models files and move code into folder with reasonable name -2
Request Description minimal -1

Feedback marks possible +2 if the requested changes are made (see above).

Models files are too large and thus this PR wont be merged into main repo. Feedback marks can still be obtained as above.

No feedback attempt and no feedback marks granted.


install_jumpscale got an unexpected argument redo

purge containers
install with jsx container-install

expect
complete installation
what happens

not reproducable


Empty error on AudioContext.decodeAudioData

This issue was originally filed by<EMAIL_ADDRESS>
final audioContext = new AudioContext();
final source = audioContext.createBufferSource();
final request = new HttpRequest();
request.open('GET', url);
request.responseType = 'arraybuffer';
request.onLoad.listen((e) {
  audioContext.decodeAudioData(request.response).then((buffer) {
    source.buffer = buffer;
    completer.complete(buffer);
  }).catchError((e) {
    print(e); // no meaningfull error here!
  });
});
request.send();
decodeAudioData fails, but there is no error string in the thrown exception, no way to find out what happened!

Please re-test the codepath now (since Dartium 45) uses JSInterop instead of C++ wrappers.  Should exactly like dart2js or JS now.


Disable Panel Notifications

Currently using the SASS Auto-compile package and it's great!
But I constantly have a urge to hit Ctrl+S every other second to see my live preview update with any changes I might have.
Is there anyway I can completely disable this feature?
Thank you!

Disabling notification or compilation?

Thanks for the reply! I would love an option to toggle even having the compile notification show up or not.

I agree with his suggestion

Hi,
cool package!
is it possible to add autocompile every X sec. (user specified) in case if something new was typed.
And another option to autocompile each time we finish writing new css rule for example z-index: 10;
So i think it should trigger semicolon ( ; )
And about notifications, they are cool. But can we have a smaller version. I mean those boxes are big, what if i want to have small, little notification even maybe without any text inside. just extrememly little green box and i know everything is ok. Notification of smth that went good makes you feel good, so i like less the idea to toggle completely notifications in case of success.

@maximumver This implementation would be incredible. Perhaps even a 'light' box that signifies that is blank when coding, then when you initiate your save, it would turn yellow for a 'working' state then 'green' to signify that it's completed it's compile. NO idea if this is even possible, but would be nice to have more options for all compile notifications.
What I have now is the window box literally hiding behind my task bar, so I'm not so annoyed of it jumping up & down when compiling.

I will implement some different notifications when I finished an important project. But it will be end of september. Sorry for that!

is it possible to add autocompile every X sec. (user specified) in case if something new was typed. And another option to autocompile each time we finish writing new css rule for example z-index: 10;
So i think it should trigger semicolon ( ; )

I don't know if that makes sense!? Compiling my SCSS files needs 3 seconds and in 3 seconds I write more than one semicolon. Even if my packages compiles your SCSS file every X seconds, the file must be saved before. So compiling on save ist better I think? Or is there any workflow which makes that feature really necessary!

Yes! @armin-pfaeffle thank you!

Don't know if anyone is interested, but setting notification type to panel, automatically hide panel on success, error, and the delay to 0, and using a package called autosave-onchange you can get sass to compile on every keystroke, pretty much. I have it working with emmet livestyle and it's beautiful.

@octoshrimpy I've learned to grow comfortable with my original issue, but this is a great tip so thank you for sharing! Question: is there any noticeable delay or lag using that package? I only assume so... thanks!

@FlatlineTV only a couple milliseconds as it detects you've stopped typing and saves. After that, the page refreshes automatically, with no delay at all..


Shutdown doesn't delete cookies?

Hi There,
It seems that calling the shutdown() method doesn't actually delete cookies and so the user remains logged in.

@benwrigley the methods available only wrap the Intercom JS API. The shutdown method is calling window.Intercom('shutdown'). You can test if it is working by calling the Intercom API directly from your browsers console.


Pass req and attribute to required rule

When registering a custom "required" rule to replace the default rule, the replacement may need additional context other than just the value to determine if a field is required, but currently only the value is passed to the required rule.  By just changing the calls to the required rule in the various other required rule variants to pass req and attribute, this fixes the issue.
Background: I'm using validatorjs in a situation where the UI is configurable and also can change dynamically as the user interacts with it.  Specifically, form elements can become visible or editable or not visible or editable dynamically as the user interacts with other fields.  Also, I have a specific check for a field that is a dropdown but for which there are no options available to choose from (due to incorrect configuration).  In order to accomplish these things, I've registered a custom "required" rule that replaces the default required rule.  When other required rules such as "required_with" call required, they thus call my custom rule, and this custom rule needs to know the attribute in order to perform the dynamic checks previously listed.

@domehead100 thank you for the contribution, it is a worthy change and actually something that has already been implemented in the next version (we are preparing a 3.5 release imminently)

@domehead100 thank you for the contribution, it is a worthy change and actually something that has already been implemented in the next version (we are preparing a 3.5 release imminently)


Namespace errors for Home and WebPage #88

Updated as per Simon's suggestion:
@using ContentModels = Umbraco.Cms.Web.Common.PublishedModels;

hi @deanleigh
Do you know you could just add this once to the _ViewImports.cshtml file and not need to add it to any other views?
@using ContentModels = Umbraco.Cms.Web.Common.PublishedModels;
https://github.com/UmTemplates/UmBootstrap/blob/develop/Umbootstrap.Web/Views/_ViewImports.cshtml


stm32/timer: Remove generics and introduce type-safe timer taxonomy

This PR is a refactor of the timer functionality in embassy-stm32 that attempts to address two problems with the current implementation:

Remove the peripheral types from timer drivers (similar to what we did for UART of I2C)
Introduce type-safe taxonomy of timers that works with type-erased drivers. This makes sure that drivers (and users) don't attempt to use features that are not supported by the underlying timer peripheral. (Currently, Embassy just gives up on this, pretending that all timers are general-purpose 4-channel timers...).

The approach that I took is described in the doc comment for the timer module. The foundation for type-safe timers is the timer::raw::RawTimer driver, which provides access only to the timer registers and their fields that are supported by the given timer.

Marked as draft because I need to rebase and do more thorough testing before I'm comfortable merging this.

The CI passes and I confirmed that the timer examples work on my STM32H743ZI Nucleo board, so this should be ready for review. (But we need to wait for https://github.com/embassy-rs/stm32-data/pull/495 to land first.)

@Dirbaio, do you think you will have time to look at this PR? :)


Change colour of gradient dynamically?

Through java, not xml. Something like gradientImageView.setGradientColor(); doesn't seem to be present.
Great library though, saved me coding the functionality myself this morning. Cheers. 😄

Wow, Really great thanks for your message. I want to add more functionality like things you said. It'll be someday to do that. I'm so sorry. I'm too busy these days.


Save History

Add previous tasks History

Hello @Ambatogusau ,
History will surely be something that we will work on when we will fix the login issue. I have been a little bit too busy to work on this project recently, but I should have soon havemore time to have fun and code with this project.

Okay thank you, I really appreciated.
I wish you all the best
On Sat, 25 Nov 2023, 9:47 pm Jonathan Magnan, @.***>
wrote:

Hello @Ambatogusau https://github.com/Ambatogusau ,
History will surely be something that we will work on when we will fix the
login issue. I have been a little bit too busy to work on this project
recently, but I should have soon havemore time to have fun and code with
this project.
—
Reply to this email directly, view it on GitHub
https://github.com/zzzprojects/zzzcode.ai/issues/18#issuecomment-1826416829,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4VS7YICAC6DGBY2IMM23V3YGJKNRAVCNFSM6AAAAAA7SKVPQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGQYTMOBSHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello @Ambatogusau ,
History will surely be something that we will work on when we will fix the login issue. I have been a little bit too busy to work on this project recently, but I should have soon havemore time to have fun and code with this project.

And?

would like this is a well, saves me bookmarking everytime i make an entry.


Animal Behavior and Attributes

Description
This ticket focuses on the design and implementation of the animals that have escaped from the experimental facility in the game. The animals will have diverse attributes and behaviours that the player must strategize against to successfully clear each level. The animals will serve as the main antagonists and present unique challenges for the player to overcome.
Sub Features

Creating certain animal stats/configs
Configuring the animal's movement/tasks (e.g wait, wonder, chase)
Animal's attacks
Animations
Tying all elements together (in NPCFactory)

Animal Attributes and Behaviours

Rats/Rabbits: These animals will be able to quickly move around the environment and can potentially spread an "infection" that damages the player's health over time. They will be smaller, nimbler targets that require precise aim to take down.
Gorillas: These animals will have high defence and can withstand multiple ranged attacks, requiring the player to use melee weapons to defeat them effectively. They will be slow-moving but can deal devastating damage in close quarters.
Dogs: Aggressive animals that can quickly close the distance to the player and deal high damage with their melee attacks. They will be relentless in pursuit and force the player to constantly be on the move.
Birds: These agile animals will be able to move quickly and evade the player's attacks, forcing the player to time their shots carefully. They may even be able to pick up and drop items or the player character, adding an extra layer of challenge.
Boss Animal: The final boss will be a powerful, hybrid creature with a combination of traits from the other animals, presenting a challenging climax to the player's journey. It may be able to use a variety of attacks and abilities that the player has not encountered before, requiring them to adapt their strategies.

Behaviours

Basic attack patterns for different animals that can adapt to map geometry
The animals will have different attack patterns and vulnerabilities based on their attributes, requiring the player to adapt their strategy accordingly.
Some animals may be "bulletproof", forcing the player to use melee weapons to defeat them.
The animals will have animations for their movement to improve visibility & interactivity.
Animals will not interfere with each other's pathing in game.

Dependencies

Weapon system and combat mechanics (#2)
Character movement and controls (#3)
Level design and procedural generation (#7)

Milestones

[ ] Goal 1 (Aug. 17): Finding the Assets
[ ] Goal 2 (Aug. 21): Implement the basic movement and attack patterns for each animal type.
[ ] Goal 3 (Aug. 23): Integrate the animal behaviours with the level design and weapon/combat system.
[ ] Goal 4 (Aug. 25): Polish the animal animations and AI to create a cohesive and challenging enemy ecosystem.

Completion Deadline: Aug. 28, 2024
Documentation

Main description of animal attributes and behaviors
Technical documentation on the implementation of the animal AI, including pathfinding, attack patterns, and special abilities
User documentation on how the animals will impact the player's experience and strategies

Members

Varun (@vsinh14 )
Michael (@mblauberg )
Rahul (@rahulsagar500 )
Aryan (@Aryan-S-Gupta )
Quang (@justarandomnameduh)

I would suggest that your first goal "Finding the assets" should not interfere with subsequent steps. Use any placeholder assets you can in order to continue with the development work you'll be assessed on. If you need help to find assets, please get in touch with myself or @iishiishii. Otherwise, this ticket looks good. Make sure to update it with links to the task tickets and documentation as they are created. This ticket is approved and you can start creating the associated task tickets.


Question: Is it possible to create a custom operator with multiple input types ?

I want to know if it is possible to create an operator that receives two possible input types, something like :
import numpy
from onnxruntime_extensions import PyOp, onnx_op

@onnx_op(op_type="Inverse", inputs=[[PyOp.dt_float, PyOp.dt_double]], outputs=[[PyOp.dt_float, PyOp.dt_double]])
def inverse(x):
    return numpy.linalg.inv(x).astype(x.dtype)

If the answer is no, what should be the correct way to handle a single type of operation with the same op_type, since registering an operation with the same op_type name throws an error:
import numpy
from onnxruntime_extensions import PyOp, onnx_op

@onnx_op(op_type="Inverse", inputs=[PyOp.dt_float], outputs=[PyOp.dt_float])
def inverse_float(x):
    return numpy.linalg.inv(x)

@onnx_op(op_type="Inverse", inputs=[PyOp.dt_double], outputs=[PyOp.dt_double])
def inverse_double(x):
    return numpy.linalg.inv(x)

@Johansmm, in near team, the only way to do that is create two ops for different data types. like "Inverse", "Inverse_f64"

We have enhanced ort custom op logics to support this:
https://github.com/microsoft/onnxruntime/pull/15184
Basically, there you could register several kernels of different input types for the same op.

Thanks for  Randy's solution.
@Johansmm, So if you upgrade your onnxruntime to latest 1.15, which was just published, the second code snippets you post should work now.

Thanks @RandySheriffH and @wenbingl for your comments. I tried that with the following code, however I have a segmentation fault error.
import numpy

from onnx import TensorProto as TP
from onnx.helper import make_model, make_node, make_graph, make_tensor_value_info
from onnxruntime import InferenceSession, SessionOptions
from onnxruntime_extensions import PyOp, onnx_op, get_library_path

# Define custom ops
@onnx_op(op_type="Inverse", inputs=[PyOp.dt_float], outputs=[PyOp.dt_float])
def inverse_float(x):
    return numpy.linalg.inv(x)

@onnx_op(op_type="Inverse", inputs=[PyOp.dt_double], outputs=[PyOp.dt_double])
def inverse_double(x):
    return numpy.linalg.inv(x)

# Define a graph with custom op
X = make_tensor_value_info('X', TP.FLOAT, [None, None])
Y = make_tensor_value_info('Y', TP.FLOAT, [None, None])
nodes = [make_node('Inverse', ['X'], ['Y'], domain='ai.onnx.contrib')]
graph = make_graph(nodes, "inverse", [X], [Y])
onnx_model = make_model(graph)

# Define session
so = SessionOptions()
so.register_custom_ops_library(get_library_path())
model = InferenceSession(onnx_model.SerializeToString(), so, providers=['CPUExecutionProvider'])
# segmentation fault at this point

Any idea ?
System information
ONNX version (1.14.0 or 1.13.0)
Python version (3.8.10)
Protobuf version (3.20.3)

I can repro the issue with official ort and ort-extensions packages as well. It crashed in native code with a null pointer, it needs some time to fix it.

Trying out with the script - do any of you have a stack trace btw?
@Johansmm
@wenbingl

@Johansmm: 1.15.0 indeed has the problem, but the latest main build from the source is fine, mind give it a try?
build.bat --config RelWithDebInfo --build_wheel --parallel --skip_tests

@RandySheriffH, building the latest onnxruntime version (1.16.0) this solution works. Thank you very much for your help !


Fix mdns resolution on darwin

Problem
There were two issues:

The address type argument to Resolve() was being ignored.
The interface id returned by resolution was not being propagated to the OnNodeIdResolved consumer.

Change overview
Propagate through the address type to the point where we can use it, and propagate the interface id out to our consumer.
Testing

Tested the address type bits by modifying CHIPDeviceController.cpp to only request IPv4 addresses, then testing pairing between all-clusters-app on an m5Stack and chip-tool on Mac using:
./out/debug/standalone/chip-tool pairing ble-wifi SSID PASSWD  0 12345678 3840

several times and ensuring that the IPv4 address was resolved up each time (verified via the logging this PR adds).
Then repeated the same with CHIPDeviceController.cpp modified to request only IPv6 addresses and verified that an IPv6 address was resolved each time.

Verified that when a link-local IPv6 address is resolved, I can now send commands (e.g. ./out/debug/standalone/chip-tool onoff toggle 1) to the device instead of getting "No route to host" errors.

This does not completely resolve #7120 (nor does it try to) but it's enough to make pairing a lot more reliable for me...

@msandstedt @jepenven-silabs ? Would love some eyes on this to unblock testing. Thanks!

@saurabhst ?


add new field for when to update / frequency of updates for each source

Similar to #3040 what about an entry in each source for update frequency/date to update?
If we know certain sources are only updated every 3 months, like au/countrywide, there is no need to reprocess weekly.
On the other hand nz/countrywide seems to be updated weekly on Sunday, So we should be able to add that in so consumers can choose to fetch just after it's updated.
This could be a new tag along side data. crontab format would be most flexible, but it lacks a way to say update weekly (but we don't know which time during the week the update should take place)

Also some sources are updated daily (eg si/countrywide).
It could be just simple rough frequency (daily, weekly, monthly, yearly, never) or complex schedule ("every 3rd sunday of odd months") 😃


IO errors: SocketTimeOutException / Wifi

Hey,
I've noticed my Nexus 6 stopped backing up for past ~2 weeks (since 6.x release?).
I've now moved to a N6P, and there I can't restore at all (IO errors).
While backing up the missing SMSes (and SMS Backup+ starting from scratch when I relinked my account), I've noticed a lot of error happen every so often: either Timeout issues (Android putting the app in sleep mode?) or IO errors.
Log:

Any idea what might be the cause ?
Speed is also really slow and it seem to hang at the same sms number for minutes on end (why I requested a new backup while it was apparently still running).

yes, it could be that the connection goes down. is this with wifi / 3G?

It's on WiFi. Keeps happening almost all the time.
It's also not reliably backing up.
Seems android related ?

The app acquires a Wifi lock to make sure the connection does not go away. Somehow this is not working correctly on your device. Not sure why.

Closing as dup


Automator: update common-files@master in istio/istio@master

Generated by Automator - 2024-01-18T21:20:57+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-istiodremote_istio
4b688269078ebcc80a3c74763a47d06bf8f07cb4
link
true
/test integ-pilot-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-pilot-istiodremote


Don't store empty migrations

Is your feature request related to a problem? Please describe.
When running migrations automatically on file changes, it saves a migration file although nothing has changed with the following contents:
import { Migration } from 'mikro-orm';

export class Migration20200312115106 extends Migration {

  async up(): Promise<void> {

  }

}

Describe the solution you'd like
Don't store migrations without any changes, maybe have an option to disable storing empty migrations?

I think we do not need an additional option, there is already a way to generate blank migration.
When you use the automatic way, it should definitely ignore the run when the schema generator returns no queries.


No waveform rendered when using async calls in code

When I type the following code in Canopy:
async function fetchData() {
  const response    = await fetch('https://www.webaudioweekly.com/audio/1.wav');
  const arrayBuffer = await response.arrayBuffer();
  const audioBuffer = await context.decodeAudioData(arrayBuffer);

  return audioBuffer;
};

fetchData().then((audioBuffer) => {
  const bufferSource = context.createBufferSource();

  bufferSource.buffer = audioBuffer;
  bufferSource.connect(context.destination);

  bufferSource.start();
});

and hit the run button, no audio is played and no waveform is rendered. If I define context = new AudioContext();  in a JavaScript developer console and run the same code, I hear the audio as expected. This problem occurs in both FF65 and Chrome 72 (tested on OS X).
Discussing this with @hoch and @rtoy in the web audio slack channel, we think that the wrapping function may not work with async calls.
@rtoy suggested one approach might be to have a function that needs explicity calling from user code to start the rendering.

🤔 could be done by hacking var footer = ``  to start rendering after some manual trigger event
https://github.com/hoch/canopy/blob/b2345f83014dc42c8af991f4f534adc67c909085/docs/spiral-elements/spiral-coder/code-renderer.js#L19

Lazy fast idea:
var footer =
  "\ncontext.renderAsync = () => context.startRendering().then(this._handleCompletion.bind(this));\n" +
  "\ncontext.startRendering().then(this._handleCompletion.bind(this));\n";

This works in my fork:
    var footer = setting.async
      ? "\ncontext.renderAsync = () => context.startRendering().then(this._handleCompletion.bind(this));\n"
      : "\ncontext.startRendering().then(this._handleCompletion.bind(this));\n";

I'm happy to make a pull request, just wondering what approach would be preferred.

Still haven't got around to finalize the PR 😞
But my latest thinking is perhaps a quick check on the submitted code string (in editor text field) — if it contains a render() somewhere, then trigger the completion manually, otherwise call startRendering() at the end. Would be a better user experience as no explicit settings would be needed.


ReferenceError: params is not defined

I am getting the following errors, when trying to "!display" the calendar. I tried with NodeJS v12 and v14
[Thu, 06 Aug 2020 16:55:16 GMT] Error in function getEvents in guild: xxxxxx : ReferenceError: params is not defined
[Thu, 06 Aug 2020 16:55:17 GMT] Promise Rejection: DiscordAPIError: Cannot send an empty message
Am I missing something?

If this is selfhosted, it sounds like you didn't patch node-google-calendar
https://niles.seanecoffey.com/selfhost

You are right, I am so sorry. I didn't change the all of the lines that had to be changed, now it is working fine :-)


Upgrade on Java 21

Java 21 is supported by GAE standard environment now.
https://cloud.google.com/appengine/docs/standard/java-gen2/release-notes

completed


Workflow for cross-development catkin packages with meta-ros

This issue is a follow up of the discussion with @sephalon and @dominiquehunziker on pull request #376
I have the following scenario in mind. We develop a embedded embedded system and provide the customers a toolchain for this target. The toolchain is generated by the populate_sdk task. This task generates a SDK suited for the image deployed on the target. It would be really cool when the user could do the following and compile packages for the target in this case the O3D3xx ToF Camera ROS Package from @tpanzarella
$ source /opt/poky/1.8.1/environment-setup-armv7ahf-vfp-neon-poky-linux-gnueabi
$ mkdir o3d3xx-catkin
$ cd o3d3xx-catkin
$ mkdir src
$ cd src
$ catkin_init_workspace
$ ln -s ~/dev/o3d3xx-ros o3d3xx
$ catkin_make

In my naive way I tried to build a nativesdk version of catkin. To be able to build the nativesdk packages  the following patch was needed. This patch is against my fork for integration of the libo3d3xx into meta-ros
 diff --git a/recipes-devtools/python/python-catkin-pkg_1.2.6.bb b/recipes-devtools/python/python-catkin-pkg_0.2.6.bb
index fe54e25..259c388 100644
--- a/recipes-devtools/python/python-catkin-pkg_0.2.6.bb
+++ b/recipes-devtools/python/python-catkin-pkg_0.2.6.bb
@@ -12,4 +12,4 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"

 inherit distutils

-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-devtools/python/python-empy_3.3.2.bb b/recipes-devtools/python/python-empy_3.3.2.bb
index bfe11e4..b6a8a44 100644
--- a/recipes-devtools/python/python-empy_3.3.2.bb
+++ b/recipes-devtools/python/python-empy_3.3.2.bb
@@ -12,4 +12,4 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"

 inherit distutils

-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-extended/libo3d3xx/libo3d3xx-camera_0.4.0.bb b/recipes-extended/libo3d3xx/libo3d3xx-camera_0.4.0.bb
index 556106b..a41a6c6 100644
--- a/recipes-extended/libo3d3xx/libo3d3xx-camera_0.4.0.bb
+++ b/recipes-extended/libo3d3xx/libo3d3xx-camera_0.4.0.bb
@@ -6,4 +6,4 @@ DEPENDS = "boost glog libxmlrpc"
 S = "${WORKDIR}/libo3d3xx-${PV}/modules/camera"
 FILES_${PN}-dev += "${prefix}/lib/o3d3xx_camera"

-BBCLASSEXTEND += "native"
+BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes-extended/libxmlrpc/libxmlrpc_1.33.17.bb b/recipes-extended/libxmlrpc/libxmlrpc_1.33.17.bb
index 475423d..0c1490c 100644
--- a/recipes-extended/libxmlrpc/libxmlrpc_1.33.17.bb
+++ b/recipes-extended/libxmlrpc/libxmlrpc_1.33.17.bb
@@ -41,4 +41,4 @@ B = "${S}"
 SRC_URI[md5sum] = "5c1b4514ffc8a7e0e30aeddd3bb5c83e"
 SRC_URI[sha256sum] = "50118a3ca1114828f7cae27b7253cc25045849e487f5d0bb91d962777fc05355"

-BBCLASSEXTEND = "native"
\ No newline at end of file
+BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-ros/catkin/catkin-runtime_0.6.16.bb b/recipes-ros/catkin/catkin-runtime_0.6.16.bb
index a63ec53..712d824 100644
--- a/recipes-ros/catkin/catkin-runtime_0.6.16.bb
+++ b/recipes-ros/catkin/catkin-runtime_0.6.16.bb
@@ -23,4 +23,4 @@ do_install_append() {
     rm -rf ${D}${ros_libdir}/pkgconfig
 }
-BBCLASSEXTEND += "native"
+BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes-ros/catkin/catkin_0.6.16.bb b/recipes-ros/catkin/catkin_0.6.16.bb
index b09e07c..f0be7bb 100644
--- a/recipes-ros/catkin/catkin_0.6.16.bb
+++ b/recipes-ros/catkin/catkin_0.6.16.bb
@@ -1,8 +1,10 @@
 require catkin.inc

 DEPENDS_class-native += "catkin-runtime"
+DEPENDS_class-nativesdk += "catkin-runtime"

 RDEPENDS_${PN}_class-native = ""
+RDEPENDS_${PN}_class-nativesdk = ""
 RDEPENDS_${PN} = "cmake make binutils binutils-symlinks gcc gcc-symlinks g++ g++-symlinks \
     catkin-runtime"

@@ -17,4 +19,4 @@ do_install_append() {
     rmdir ${D}${ros_libdir}/python2.7
 }

-BBCLASSEXTEND += "native"
+BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes-support/boost/boost_%.bbappend b/recipes-support/boost/boost_%.bbappend
index ec17f55..78ee78f 100644
--- a/recipes-support/boost/boost_%.bbappend
+++ b/recipes-support/boost/boost_%.bbappend
@@ -1 +1,2 @@
 PACKAGECONFIG_append = " python"
+BBCLASSEXTEND += "nativesdk"
diff --git a/recipes-support/glog/glog_%.bbappend b/recipes-support/glog/glog_%.bbappend
index d6f5869..5174650 100644
--- a/recipes-support/glog/glog_%.bbappend
+++ b/recipes-support/glog/glog_%.bbappend
@@ -1 +1 @@
-BBCLASSEXTEND += "native"
+BBCLASSEXTEND += "native nativesdk"

The nativesdk-catkin builds fine and after adding the following to TOOLCHAIN_HOST_TASK I do have catkin in my SDK.
TOOLCHAIN_HOST_TASK +=  \"
    nativesdk-cmake \
    nativesdk-catkin \
    nativesdk-catkin-dev \
    nativesdk-python-catkin-pkg \
    nativesdk-python-catkin-pkg-dev \
    nativesdk-catkin-runtime \
    nativesdk-catkin-runtime-dev \
"

All of this is a bit hacks and need some polishing. But I want to ask if this is a possible way to go or if I will run in more headache then I do expect at the moment.

This is along the same lines as what I have.
The main issue that has to be addressed (as with getting catkin working on the embedded target) are all the files auto-generated by catkin (such as Config.cmake) containing hard-coded absolute paths.
I will try to clean up what I have and will commit it to our fork.

That would be really helpful. Thanks in advance.

So, I finally was able to clean up my current status a bit which can be found here
The current status contains a test-image which I was using as a basis for the command populate_sdk and as a similar image on the target.
I still have several issues; foremost, I have now an issue that for some reason the boost_thread library is no longer properly linked and has to be manually added (i.e., by patching the CMakeLists.txt) to quite a few packages. Also, the generated setup.<shell> scripts as well as the _setup_util.py script is not yet correct.
Finally, here the commands to build stuff using the SDK:
cd <catkin_ws>
catkin_make --cmake-args -Wno-dev -DCATKIN_ENABLE_TESTING=OFF -DCATKIN_BUILD_BINARY_PACKAGE=ON

-Wno-dev to suppress some annoying warnings (I haven't looked into them yet) with regard to the include directories which are now prefixed with = to better support cross compilation. This offloads the responsibility of finding the proper includes to the compiler (I have tested this only with gcc, so no guarantees that this will work with other compilers)
-DCATKIN_ENABLE_TESTING=OFF to disable testing just to void huge dependencies
-DCATKIN_BUILD_BINARY_PACKAGE=ON to suppress the generation of of the (broken) setup.<shell> and _setup_util.py utilities

and to install it:
cd <catkin_ws>
DESTDIR=<target sysroot> catkin_make install --cmake-args -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo

Notes:

there are backport recipes in recipes-backport which are stored in directories named <commit date>-<commit hash>; so depending on which commit you are using you will have to remove some/all of them. (I only tested with one version, namely the one where all these backports where necessary)
In the SDK only catkin_make and catkin_make_isolated (not tested) will work (see the catkin environment hook for the alias used in case you want to test catkin-tools)

Hi everyone!
May I ask if current meta-ros (ROS2 Eloquent distro) SDK still work or not? Is it possible to cross-compile a ROS package using an Eloquent OE SDK?
Best Regard,
Yao


Post Installation Errors

On an existing project, I attempted to follow the installation instructions, and everything was fine until my first attempt at starting the dev server:
[snowpack] [Snowpack 2.11.0] `buildOptions.minify` has moved to package "@snowpack/plugin-optimize". Install it and include as a plugin in your Snowpack config file.

See https://www.snowpack.dev/#configuration for more info.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
rails aborted!
Command failed with status (1): [NODE_ENV=development yarn run snowpack dev...]
/Users/hcatlin/.rvm/gems/ruby-2.7.2/bundler/gems/snowpacker-96eb376f9726/lib/snowpacker/runner.rb:40:in `snowpacker_command'
/Users/hcatlin/.rvm/gems/ruby-2.7.2/bundler/gems/snowpacker-96eb376f9726/lib/snowpacker/runner.rb:32:in `dev'

I then noticed there was a yarn command, so tried to run NODE_ENV=development yarn run snowpack dev which resulted in:
snowpack

▼ Console

[snowpack] File size<PHONE_NUMBER>3) is greater than 2 GB

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Yea this repo needs some love. This was create back around Snowpack v2.7.1 I believe and were now on v2.17.1 and the rcfor v3.0.0 just dropped. Definitely need to look into whats going on here, but this needs updates in general.

 Its possible this may solve these issues


Dungeon key used sound effect

Acceptance criteria

When a dungeon key is used, a door/lock unlocking sound should emit to players nearby the unlocked door.
Perceived volume should decrease with distance from the door, up to a cut off point (done in code).

Closing as not relevant for Rogueworld.


feat: highlight selected account in menu

Describe the changes you have made in this PR
I have added a selected prop (as active is already in use because of Headless UI) to highlight the selected button in menu.
Link this PR to an issue
Type of change (Remove other not matching type)

fix: Bug fix (non-breaking change which fixes an issue)

Screenshots of the changes (If any)

Note
Do we have to update the stories to include the new selected prop?
(/src/app/components/Menu/Menu.stories.tsx)
Checklist

[x] My code follows the style guidelines of this project and performed a self-review of my own code
[x] New and existing tests pass locally with my changes
[x] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

In general I'm always a bit conflicted using bold for highlights because the text will be wider. If a text is already long this might break things. Not sure if this can be the case here though. Just a thing to keep in mind and maybe test it.
nit: Not sure if this a bugfix. It's more like a new feature I think.
Thanks for your work!

Would you mind extending this test with the new selected prop?:

Done! :D

nit: Not sure if this a bugfix. It's more like a new feature I think.

Changed the commit message and title!

Also we should wait for #992 to be merged so that I can change it here as well!
(i.e. fireEvent to userEvent)

so that I can change it here as well! (i.e. fireEvent to userEvent)

Done!

@im-adithya fyi, @dylancom changed it a bit here to avoid changing "all" menus:  #1001


Included readme to deploy app in azure

This PR contains following things :

Updated readme file to deploy the application in Azure.
Updated tye yaml file.

This is lovely! Thanks for detailing this out..


Rate-limit initial seed peer connections

Motivation
See https://github.com/ZcashFoundation/zebra/issues/2326
Specifications

Designs

Solution
This was a first attempt, I'm not sure if it makes sense of if there is a simpler way to do it.
Closes https://github.com/ZcashFoundation/zebra/issues/2326
Review
Just a draft of the idea I had. @teor2345 and/or @jvff might want to take a look.

Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

Follow Up Work

You also asked if there was a simpler way to do it:

Assign each peer a sequential number n using enumerate()
Give each peer a timeout of n * MIN_PEER_CONNECTION_INTERVAL

(These timeouts are almost identical to the current code in the PR, but without the channels or spawned timer task.)
I don't mind which solution we use, as long as it passes the tests.


Add google forms survey

The Issue
In meeting with OSP the other day there was a suggestion to figure out how to get info about the amount of time DDEV saves developers.
How This PR Solves The Issue
Add simple URL with embedded google form.
Manual Testing Instructions
Visit https://20240711-survey-form.ddev-com-front-end.pages.dev/survey/ and enter some answers. Please carefully mark these as test

It looks way better than the orignal form


FSK modem never ends transmitting (SX1276 TTGO Lora32)

Goal
I'm trying to transmit with FSK modem using a TTGO Lora32
The serial console prints "Packet transmitted successfully!"

Problem
But using my SDR (HackRF One) i see this

It never ends transmitting (I'm sending a packet every 5 seconds)
Is this behavior right?
To Reproduce
#include <LoRaLib.h>
#include <SPI.h>

#define SCK     5
#define MISO    19
#define MOSI    27
#define SS      18
#define RST     14
#define DI0     26
#define DI1     33
#define DI2     32

SX1276 fsk = NULL;

void check(int state){
    if (state == ERR_NONE) {
      Serial.println(F("Success!"));
    } else {
      Serial.print(F("Failed, code "));
      Serial.println(state);
      while (true);
    }
}

void setup() {
  Serial.begin(115200);
  while (!Serial);

  Serial.println(F("Initializing ... "));

  pinMode(SS, OUTPUT);
  digitalWrite(SS, HIGH);

  SPI.begin(SCK, MISO, MOSI, SS);
  fsk = new LoRa(SS, DI0, DI1, SPI);

  check(fsk.beginFSK());
  check(fsk.setFrequency(868.0));

  Serial.println(F("All ok!"));

}

void loop() {

  // transmit FSK packet
  int state = fsk.transmit("Hello World!");

  if (state == ERR_NONE) {
    Serial.println(F("Packet transmitted successfully!"));
  } else if (state == ERR_PACKET_TOO_LONG) {
    Serial.println(F("Packet too long!"));
  } else if (state == ERR_TX_TIMEOUT) {
    Serial.println(F("Timed out while transmitting!"));
  } else {
    Serial.println(F("Failed to transmit packet, code "));
    Serial.println(state);
  }

  delay(5000);
}

Additional info:

TTGO Lora32 V2.0 [SX1276] (https://github.com/LilyGO/TTGO-LORA32-V2.0)
Arduino IDE version  1.8.8
Tested with LoRaLib present in Ardino IDE repo and downloaded from github

Looks like the radio never turns off the carrier - I suppose that could be an issue for other 868 MHz devices in the area. Could you add fsk.standby() after fsk.transmit(), see if the carrier goes away? If so, I will add that directly to the transmit() method, so that the module doesn't turn into a jammer.

So now it stops transmitting, but then it never transmits again

Changing the the delay to 500ms it not transmit every 1 or 2 seconds

Maybe it is slow to reactivate the module and sometimes it loose the chance to transmit?

It returns ERR_NONE
My board has NOT DIO1 and DIO2 wired TTGO LoRa32 V2.0 Pinout v3.0.pdf
But I connected them to pin 32 and 33 like they say here https://www.thethingsnetwork.org/forum/t/big-esp32-sx127x-topic-part-3/18436
Extract:
[...]
TTGO LoRa32 V2:
ESP32          LoRa (SPI)      Display (I2C)  LED
-----------    ----------      -------------  ------------------
GPIO5  SCK     SCK
GPIO27 MOSI    MOSI
GPIO19 MISO    MISO
GPIO18 SS      NSS
EN     RST     RST
GPIO26         DIO0
GPIO33         DIO1 (see #1)
GPIO32         DIO2 (see #2)
GPIO22 SCL                     SCL
GPIO21 SDA                     SDA
GPIO22                                        useless (see #3)

Required (used by LMIC for LoRa).
Not on-board wired to any GPIO. Must be manually wired.
Optional (used by LMIC for FSK but not for LoRa).
Not on-board wired to any GPIO. When needed: must be manually wired.
GPIO22 is already used for SCL therefore LED cannot be used without conflicting with I2C and display.

[...]
Maybe this is creating some problem?

I doubt that this is the issue - in transmit(), only DIO0 is used. DIO1 is only used in LoRa mode, to detect reception timeout and channel activity.
The only other cause I can think of is power, FSK transmission might be drawing more than LoRa. You can check with e.g. setOutputPower(5) to set the output power to 5 dBm.

Ok thank you!
So I just used setOutputPower(5) but nothing change (it is transmitting with less power, but not regularly).
About DIO1, do I need to "disable" it?
What about DIO2? (used by LMIC for FSK but not for LoRa)

No, DIO1 doesn't need to be disabled. I checked with DIO1 unconnected on my setup, still regular transmissions. DIO2 is unused.
Could you try sending LoRa packets, to check if the issue is only affecting FSK modem?

Just adapted Transmit example
It looks like is working correctly

I was trying to replay the transmitted data with my SDR, but the board rebooted
Initializing ... success!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... timeout!
Waiting for incoming transmission ... CORRUPT HEAP: Bad head at 0x3ffbdb44. Expected 0xabba1234 got 0x3ffbdb54
assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free
abort() was called at PC 0x400d65cb on core 1

Backtrace: 0x40085494:0x3ffb1e20 0x400856c1:0x3ffb1e40 0x400d65cb:0x3ffb1e60 0x40089da9:0x3ffb1e90 0x40083bf6:0x3ffb1eb0 0x4008403d:0x3ffb1ed0 0x4000bec7:0x3ffb1ef0 0x400e87ad:0x3ffb1f10 0x400e8b35:0x3ffb1f30 0x400d27e1:0x3ffb1f50 0x400d0dde:0x3ffb1f80 0x400d4231:0x3ffb1fb0 0x400895b5:0x3ffb1fd0

Rebooting...

I successfully made the replay test with this library https://github.com/sandeepmistry/arduino-LoRa
But this library doesn't support FSK, this is the reason I was trying your lib.

Checked with ESP32 + standalone SX1278, still perfectly regular transmissions. I also wasn't able to reproduce the crash either, memory usage is stable.
The issue with transmitter not shutting down will be fixed in the release, thanks for pointing that out. Since I can't reproduce any of the other issues, I'm afraid I won't be much more help. I suspect an issue in the hardware, but your guess is as good as mine at this point.

Ok! Thank you very much for your support
I'll continue to investigate :+1:

Fixed in release 8.0.0, thanks for reporting.
Since I wasn't able to reproduce the other problems, I'm closing this issue now. Feel free to re-open if you find out something more, thanks.


URIs for classes don't work

When we moved the classes into a subdirectory, a side effect was that the URI field, which is automatically generated by LinkML, now references (and links to) a URI that does not actually exist.
There are redirects for property names so I don't think this is a problem for those.
If the main reason for moving the classes into a subdirectory was so that the menu worked better, and we're now looking at manually specifying what's in the menu instead, we may just want to go back to having everything in the top level.

Probably this will be fixed by https://github.com/govuk-one-login/data-vocab/issues/28


⚠ Spryr has degraded performance

In fcdab0d, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3503 ms

Resolved: Spryr performance has improved in abef322 after 8 minutes.


Keeping Trident image in secured registry

Describe the solution you'd like
As Trident image updated on public docker hub, banking customers have to whitelist registry host along with following CDN hosts as well.
https://auth.docker.io
https://registry-1.docker.io
https://index.docker.io/
https://dseasb33srnrn.cloudfront.net/
https://production.cloudflare.docker.com/
Customers are reluctant to whitelist all of the above hosts in their proxy servers. Hence is it possible to keep a copy of the image in a secured registry eg: Quay?

@vijaymailb Trident supports using an internal image registry to install from. Have you taken a look at this? You can specify an internal image registry using the --image-registry option. This would enable you to pull the Trident image from NetApp's Docker repo on a bastion host, push it to a private registry, and then install using the image available on your private registry.

Hi,
i was about to open the exact same "issue" too, im also working in a banking company.
While i agree to have an internal Registry as an option, i would rather like it to be available also on quay.io .
Why:
Most enterprise Customers use OpenShift (IMHO), there all Images are already stored on quay.io (due to Redhat owning quay) so it would be way easier for big customer to evaluate one Container Registry.
Which they anyways mostly have to use and also have a valid Contract Partner to call in case of Question in regards of Security etc.
Hope that gives some insight on why this "should" be considered as an option :)

@vijaymailb Trident supports using an internal image registry to install from. Have you taken a look at this? You can specify an internal image registry using the --image-registry option. This would enable you to pull the Trident image from NetApp's Docker repo on a bastion host, push it to a private registry, and then install using the image available on your private registry.

Most of the cases, there is another aspect: authentication. Internal private registries also usually require authentication. So it should also be possible to specify a secret for registry credentials.

Is there any update on this :) ?
With the recent docker registry update its pretty bad to pull production images from docker.io due to their rate limits which i hit daily :D
quay.io doesnt have any of those and is also way easier to get allowed in company networks :)

@Numblesix,
The CSI sidecars were added to k8s.gcr.io in the past year as quay isn't seen as being reliable either. There isn't a great public registery option available that is going to fully resolve this issue.
As mentioned previously, Trident does provide support for a private registry as a workaround until we have a better solution.


ci: automate releases

Automate release to crates.io.
Questions

Should we manually make a release on GitHub, then have it deply to crates.io?
Should we just make a PR bumping the version, then have a CI job automatically create a release (to GH/crates.io)?

i've currently set it up to publish on tag push, but there's a few other mechanisms we can use instead (manual dispatch and push to branch). overall i would say that tag push is the most common one we see, generally.

#26

happy to keep collaborating here but if you want something slightly more sync- feel free to join our discord :) https://discord.gg/7kC6f7j2

@ash

happy to keep collaborating here but if you want something slightly more sync- feel free to join our discord :) https://discord.gg/7kC6f7j2

Just joined


Gala Audric Has Implicit Negative Team Slice

GAudric Total DPS is not actually even close to the total, as shown here:

Upon further inspection I noticed that the sim is actually substracting the team slice DPS from the total for some reason:

So the reason the total Team DPS is 34014 is because it is doing 45542 - 11533 (team).  As would be expected from this behavior, increasing team DPS further lowers the Total DPS.
And by the way, I'm not sure where this team slice is even coming from, s1 and s2 are dps and affliction, a1 is def amp and att rate and a3 is od gauge accel.

The CSS breaks on second simulation and afterwards:

It also happens outside of Nihil, currently his BiS is weapon + Akasha, if Akasha gets deactivated in the ACL, the same issues that I stated above happen:

I set Team DPS to 150k - 300k. I'm using Firefox 90.0.2, but checked with Edge and there's the same issue.
This only happens with GAudric, don't have that problem with anyone else that I've checked.

c1412d2f48ff21f9562eb1ce2990d8a890a34898


[Bug] [UI] SQL and Python Editor Highlight not Work

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When you create a sql node, the sql editor highlight is not work. However, shell editor highlight is work.

So it is when you create a python node

What you expected to happen
make sql and python highlight work. like following
select name, score
from students
where score < 10

print("Hello World")

How to reproduce

download source code, and checkout dev branch

git clone https://github.com/apache/dolphinscheduler.git
cd dolphinscheduler
git checkout dev

start standalone-server, so you can create a development env
start the dolphinscheduler-ui （you should install node and pnpm before you do this）

cd dolphinscheduler-ui
pnpm install
pnpm dev

you can create a dolphin project, and then you will reproduce the problem

Anything else
No response
Version
dev
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This can actually be considered an optimization point, because we didn't have to deal with more language highlighting support in a hurry. @vivostar


Use XML API for GCS

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

GoogleCloudStorage currently uses a mix of the XML and JSON APIs. This is unfortunate and causes issues due to some functionality not being properly supported in the JSON APIs.
One challenge is fake-gcs-server lacks proper support for the XML APIs - https://github.com/fsouza/fake-gcs-server/issues/331
Describe the solution you'd like

Switch to using the XML API for GCS
Describe alternatives you've considered

Additional context

label_issue.py automatically added labels {'object-store'} from #4207

Just wanted to say as a recent adopter of arrow-rs + GCS buckets, this PR will make an immediate difference for my project. Thank you :)