efficient way to read complete stream?

I'm trying to read a complete audio stream from a video file into a numpy array:
container = av.open(videoFile)
audioStream = container.streams.audio[audioIndex]
audio = []
for frame in container.decode(audioStream):
    audio.append(frame.to_ndarray())
audio = np.hstack(audio)

Is this the correct way, or is it possible to do it in a more efficient way?
I thought about preallocating the numpy array, but audioStream.frames is 0 and audioStream.frames is None.

If you are attempting to read and decode the entire stream, iterating over container.decode(audioStream) is the way to do it. However, is there a technical reason you must load the entire decoded audio stream into memory at once?

I want to perform alignment (both shifting & scaling) of the audio stream with another time series based on cross-correlation. I think reading all data is the best way to do so, yes.
The reason for my question is that each frame only contains 512 samples (at 48kHZ approx. 11 ms), and the whole stream is 43 min long. I feel like having larger chunks of data may be better. But as far as I can tell, there is no way to change that, or to read several frames at once?
The other part is whether collecting subarrays in a list and then using np.hstack is the best way to collect the read data?


Fix some rst syntax in docstrings

Description
This corrects a few warnings we get when building the docs.

Together with napari/docs#393, this has the effect of SOLVING ALL SPHINX WARNINGS for the docs build which I'm pretty happy about 🥳


Thanks!

Thanks, good work! ❤
Are you present on the official V discord? You can add yourself there and post about things like that, I found this gem and community is happy too.
@1ethanhansen

@ArtemkaKun you're very welcome! I don't have discord so I didn't see this. I'm really glad people are appreciating the track :)
Would you be willing to deliver a message to the discord for me? Anyone who wants to contribute to helping people learn V is more than welcome to come contribute here! If you don't know where to start I would be more than happy to help people walk through implementing their first exercise step-by-step. Also, since I see someone mentioned community mentoring, I'm doing that too! If people want to get mentoring on V, people seem to think I do a pretty good job (https://exercism.org/profiles/1ethanhansen/testimonials)
(same offer applies to you :wink:)

Sure, I will deliver you message

Thank you!


add new option bootstrap_project for install cinc via bootstrap

Signed-off-by: sawanoboly<EMAIL_ADDRESS>This changes allow install cinc or other projects such as compatible.
Description

add new option --bootstrap-project PROJECT to  bootstrap

Related Issue

https://github.com/higanworks/knife-zero/issues/133

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

Have you considered addressing this with a distribution constant (defined in lib/chef/dist.rb), probably Chef::Dist::SHORT? The end result would be the same, that is knife will install the correct product on remote targets, but it doesn't require any additional configuration. If knife was installed using Chef, it would distributes Chef, and same with CinC.
This incidentally prevents people using CinC from accidentally installing the Chef client.

I've asked https://gitlab.com/cinc-project/client/issues/9

👍 It can be done when the PR implementing SHORT is merged and the CinC pipelines are adjusted for the new constant.

Does it mean that short:"-? PROJECT", should be added?

What I'm proposing would not require a CLI switch at all. I'm still waiting on the PR implementing Chef::Dist::SHORT, but once it's in we'd reference it directly in the bootstrap template.
Your method has the advantage of allowing cross-installs (installing Chef with Cinc and vice versa), but I'm not sure that's desirable.

@bobchaos
Thanks, I understood.
However,sy plugin depends on chef gem. So,I would be grateful if it could be used in the following configuration.

local workstation => chef + knife-zero
remote node => cinc

I have received requests from plugin users. => https://github.com/higanworks/knife-zero/issues/133

LGTM


New package: ArarForecast v0.1.0

Registering package: ArarForecast
Repository: https://github.com/Akai01/ArarForecast.jl
Created by: @Akai01
Version: v0.1.0
Commit: dfd5f4ecf6f6c168d75f83088866c57c0b3baee5
Reviewed by: @Akai01
Reference: https://github.com/Akai01/ArarForecast.jl/issues/4
Description: Forecasting using Arar algorithm

@Akai01 please see the message above.  Once you fix the automerge issues you can register again the new revision without changing the version number and this pull request will be automatically updated.
[noblock]


Add filtering according to more fields for report result's result set

this PR extends previous work: API for pagination, sorting and fitltering  report results
and adds possibility to filter report results according to more fields
this is used in API and this API is used in UI for filtering report results.

@martinpovolny for more columns for filtering use in params:
filter_column_X=COLUMN&filter_string_X=SEARCH_STRING_COLUMN_in_ filter_column_X&..
where X is <1..MAX> (MAX is 20)
example:
/api/results/98000000000001?hash_attribute=result_set&filter_column_1=name&filter_string_1=TIE&filter_column_2=hostname&filter_string_2=test

you can still use just filter_column and 'filter_string'
@martinpovolny is this ok for you ? (this is the only PR for multi filtering feature )

@kbrock done thanks for review 👍


sonobuoy-serviceaccount makes the cluster_admin platform test fail

Describe the bug
The platform test cluster_admin fails with reference to the sonobuoy facility that is part of the testing framework.
To Reproduce
Steps to reproduce the behavior:

Install and set up 1.3.3
Run the cluster_admin platform test
See the failed test referring to sonobuoy-serviceaccount:

🎬 Testing: [cluster_admin]
Failed resource: ServiceAccount sonobuoy-serviceaccount
Remediation: You should apply least privilege principle. Make sure cluster admin permissions are granted only when it is absolutely necessary. Don't use subjects with such high permissions for daily operations.

Expected behavior
The testing framework shall not interfere with the AUT/cluster.
Device (please complete the following information):
[ec2-user@ip-10-0-110-88 ~]$ uname -a
Linux ip-10-0-110-88.ec2.internal 5.10.223-212.873.amzn2.x86_64 #1 SMP Wed Aug 7 16:53:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

How will this be tested? aka Acceptance Criteria (optional)
Additional context

I don't understand why this should be a bug. The test detects service account with cluster admin permissions so it reports it and fails, as per test description
https://github.com/cnti-testcatalog/testsuite/blob/main/docs/TEST_DOCUMENTATION.md#cluster-admin

@martin-mat Thanks for your comment. The use of Sonobuoy is the decision of the CNF testsuite creator, not the user. Therefore, the tools selected for the execution of tests (Sonobuoy for the k8s_conformance test) should not fail any tests that basically target the AUT of the user. The user cannot fix the Sonobuoy deployment to make the platform test pass for his/her AUT.

I cannot get it reproduced. Can you check and give exact reporoduction steps?

@martin-mat,
it looks like the issues is with an orphaned Sonobuoy serviceaccount resource. With this, you must run the entire platform test group (the k8s_conformance test before the cluster_admin test) to run into the issue. Just running the platform:cluster_admin test in isolation will not be enough for providing evidence.
Isolated cluster_admin test (no issue as there is no Sonobuoy serviceaccount resource deployed yet):

deploy-aut.sh dns
CNF configuration validated 📋
Successfully created directories for cnf-testsuite
KUBECONFIG is already set.
cnf-testsuite namespace already exists on the Kubernetes cluster
ClusterTools installed
cnf setup start
Waiting for resource availability, timeout for each resource is 1800 seconds

Waiting for resource (1/2): [Deployment] dns-dserver
Waiting for resource (2/2): [StatefulSet] dns-drouter
All CNF resources are up!
Successfully setup dns
cnf setup complete
AUT dns deployed.
cnf-testsuite platform:cluster_admin
🎬 Testing: [cluster_admin]
✔  PASSED: [cluster_admin] No users with cluster-admin RBAC permissions were found 🔓🔑
cp results/cnf-testsuite-results-20240919-224723-302.yml /var/lib/xtesting/results

All platform tests (issue due to orphaned Sonobuoy serviceaccount resource after the k8s_conformance test):

deploy-aut.sh dns
CNF configuration validated 📋
Successfully created directories for cnf-testsuite
KUBECONFIG is already set.
cnf-testsuite namespace already exists on the Kubernetes cluster
ClusterTools installed
cnf setup start
Waiting for resource availability, timeout for each resource is 1800 seconds

Waiting for resource (1/2): [Deployment] dns-dserver
Waiting for resource (2/2): [StatefulSet] dns-drouter
All CNF resources are up!
Successfully setup dns
cnf setup complete
AUT dns deployed.
cnf-testsuite platform
Successfully created directories for cnf-testsuite
🎬 Testing: [k8s_conformance]
✔  PASSED: [k8s_conformance] K8s conformance test has no failures
🎬 Testing: [kube_state_metrics]
⏭  SKIPPED: [kube_state_metrics] Kube State Metrics not in poc mode 📶☠
🎬 Testing: [node_exporter]
⏭  SKIPPED: [node_exporter] node exporter not in poc mode 📶☠
🎬 Testing: [prometheus_adapter]
⏭  SKIPPED: [prometheus_adapter] prometheus adapter not in poc mode 📶☠
🎬 Testing: [metrics_server]
⏭  SKIPPED: [metrics_server] Metrics server not in poc mode 📶☠
Platform Observability results: 0 of 4 tests passed

🎬 Testing: [worker_reboot_recovery]
⏭  SKIPPED: [worker_reboot_recovery] Node not in destructive mode
Platform Resilience results: 0 of 1 tests passed

🎬 Testing: [oci_compliant]
✔  PASSED: [oci_compliant] Your platform is using the following runtimes: [containerd://1.7.11] which are OCI compliant runtimes
Platform Hardware And Scheduling results: 1 of 1 tests passed

🎬 Testing: [control_plane_hardening]
✔  PASSED: [control_plane_hardening] Insecure port of Kubernetes API server is not enabled 🔓🔑
🎬 Testing: [cluster_admin]
Failed resource: ServiceAccount sonobuoy-serviceaccount
Remediation: You should apply least privilege principle. Make sure cluster admin permissions are granted only when it is absolutely necessary. Don't use subjects with such high permissions for daily operations.
✖  FAILED: [cluster_admin] Users with cluster-admin RBAC permissions found 🔓🔑
🎬 Testing: [helm_tiller]
✔  PASSED: [helm_tiller] No Helm Tiller containers are running 🔓🔑
Platform Security results: 2 of 3 tests passed

Final platform score: 20 of 55
Test results have been saved to results/cnf-testsuite-results-20240919-105528-726.yml


BundleDisabler should support factory configs

Required Information

[Any] AEM Version, including Service Packs, Cumulative Fix Packs
[Any] ACS AEM Commons Version
[Yes] Reproducible on Latest?

Expected Behavior
We should be able to define multiple BundleDisabler configs.
Actual Behavior
We can define only one.
More Info
We're using the BundleDisabler in our infra setup and we want to have an additional BundleDisabler config in our code project. This means we'll have 2 BundleDisabler configs. However, BundleDisabler is not defined as a factory configuration, so this is not possible.

If we implement this enhancement the naive way, it will be a breaking change, because the PID for the OSGI configuration needs to change (from com.adobe.acs.commons.util.impl.BundleDisabler to com.adobe.acs.commons.util.impl.BundleDisabler-factoryName). I am not aware of any  way to make this change backwards compatible without duplicating code or hacking workarounds.

We could create a LegacyBundleDisabler that could be used to track a non-factory config and register it as a factory one?

@henrykuijpers whats the use case for this?rDoesnt the BundleDisabler config just take a list of bundles names? What's the advantage of splitting them up into different OSGi config files vs. adding all bundles to disable to the single list?
Are you trying to reduce config duplication across run modes?

We have 2 repositories: One for system-configs (where we disable CRXDE, etc) and one for application-code (where we want to disable a specific bundle).
We would like to be able to keep those configurations separated, since we separate system configs from application-code configs.

If you ask the OSGI devs, bundles never should be disabled (why would you have them deployed them at all to this instance?). That means that the BundleDisabler itself is a workaround, which is required because Adobe suggests in the security checklist to disable a few product bundles for PROD environments.
But besides that I don't see any other need to disable bundles at all. If you need to disable project bundles, why do you deploy them at all? For the system-configs it's ok (you implement the Adobe security checklist), but for the application-config I don't understand why you need to disable bundles there as well.

Another use-case came up: We're having the following configuration:
bundles="[org.apache.sling.jcr.webdav,org.apache.sling.jcr.davex,com.adobe.granite.crx-explorer,com.adobe.granite.crxde-lite]"

which we use to disable the bundles that the Adobe security checklist mentions. However, locally, we don't do this:
bundles="[]"

(as it is (was: https://issues.apache.org/jira/browse/SLING-8548) impossible to have a configuration apply to all environments, except for the local environment)
However, we have noticed that after installing AEM 6.4.8 CFP2 (or 3?), some services related to Social Sync and Livefyre become active by default. We would like to disable those bundles.
This leaves us having to duplicate that configuration and add those 2 bundles to both of the configs mentioned above here. We would like to add a separate configuration which has the sole purpose of disabling those 2 bundles on all environments.


Separated node tagging from highlighting

Fixes #149.
I don't know if "Check-tag highlighted Nodes" and "Cross-tag highlighted Nodes" are particularly useful.
If you don't think they clutter the menu, someone would need to add icons for the menu entries if we want to have icons for every menu entry (that might not be the case).

Should we get this in before I release?

If you don't insist on having menu icons, I'd say yes, since it's finished in that case.

Menu icons don't really bug me so I will merge
On Jul 11, 2015 3:58 PM, "brather1ng"<EMAIL_ADDRESS>wrote:

If you don't insist on having menu icons, I'd say yes, since it's finished
in that case.
—
Reply to this email directly or view it on GitHub
https://github.com/EmmittJ/PoESkillTree/pull/153#issuecomment-120667274.


When are the todos in bigquery going to be implemented? Columns missing

Describe the bug
The final output tables for BigQuery are missing useragent and pref_timing columns. See the view for snowplow_page_views.sql
Screenshots and log output
System information
The contents of your packages.yml file:
packages:
  - package: dbt-labs/dbt_utils
    version: ["1.0.0"]
  - package: calogica/dbt_expectations
    version: [">=0.5.0", "<0.9.0"]
  - package: dbt-labs/snowplow
     version: ["0.15.0"]

Which database are you using dbt with?

[ ] postgres
[ ] redshift
[x] bigquery
[ ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
Core:
  - installed: 1.3.2
  - latest:    1.4.0 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - bigquery: 1.3.0 - Up to date!

The operating system you're using:
The output of python --version:

I am trying to fix this on my fork


[P2] Storage: Rename QueueClient.MaxMessagesPeek to MaxPeekableMessages

https://apiview.azurewebsites.net/Assemblies/Review/231f6f1802d44c8e9f7c1bfe0819a413

Closed with https://github.com/Azure/azure-sdk-for-net/pull/8228


add doc string for functions

add doc string for functions

Todo:

fill in more param tags for places where they're missing
fix parram typo
describe a little more what the fast csv reader is doing, ie. why is it fast

Codecov Report

Merging #244 (a5f01d2) into master (9b63595) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #244      +/-   ##
==========================================
+ Coverage   75.86%   75.95%   +0.08%
==========================================
  Files          44       44
  Lines       13699    13744      +45
==========================================
+ Hits        10393    10439      +46
+ Misses       3306     3305       -1

Impacted Files
Coverage Δ

exetera/core/dataframe.py
81.04% <ø> (+0.03%)
:arrow_up:

exetera/core/exporter.py
20.40% <ø> (ø)

exetera/core/operations.py
35.72% <ø> (+0.03%)
:arrow_up:

exetera/core/csv_reader_speedup.py
49.69% <100.00%> (+0.94%)
:arrow_up:

exetera/io/field_importers.py
87.91% <100.00%> (ø)

exetera/io/load_schema.py
81.52% <100.00%> (ø)

exetera/io/parsers.py
82.71% <100.00%> (ø)

tests/test_fields.py
99.80% <100.00%> (ø)

tests/test_parsers.py
100.00% <100.00%> (ø)

tests/test_session.py
100.00% <100.00%> (ø)

... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b63595...a5f01d2. Read the comment docs.


Corruption in git history causes failure during checkout with newest git client versions

While working on the Reproducible Central project, I discovered an problem when checking out the dropwizard repository. Using new versions of git (2.28.0, 2.29.2), the git clone command will fail due to corruption in the history of the repository.
The corrupted commit is hash: 6fbf9def0293986beb2547a671f46148a5d2faf7
The clone fails like this:
$ git clone https://github.com/dropwizard/dropwizard.git
Cloning into 'dropwizard'...
remote: Enumerating objects: 57, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (43/43), done.
error: object 6fbf9def0293986beb2547a671f46148a5d2faf7: badDate: invalid author/committer line - bad date
fatal: fsck error in packed object
fatal: index-pack failed

Here is a more in-depth discussion of the problem: https://github.com/jvm-repo-rebuild/reproducible-central/pull/39
The dropwizard metrics project has similar issues with new git clients, and the affected hashes are:
fb0c0fc3d8284f1e5c5173fdd664a263dfbf3592# badDate: invalid author/committer line - bad date
 be018a63db4f5702d8c1af36d9bee4df4d8a5f0a# badDate: invalid author/committer line - bad date
 b8f9356dad3fb39bd8bb90967197c9b611c45a77# badDate: invalid author/committer line - bad date
 d31be0ecafec5adf5c34bc98f92ecc5d56e61cf3# badDate: invalid author/committer line - bad date
 68ff5359bd2e093a979c288e98e0e6ab40b3623d# badDate: invalid author/committer line - bad date
 81b17d2cda2ec06c3c675c5df6807cd142df3aa2# badDate: invalid author/committer line - bad date
 055b302d9a90acb9a771738373cb6485e3d9c92b# badDate: invalid author/committer line - bad date
 328abcea9b63c6cc1e99f7a63fb0a24c355e551e# badDate: invalid author/committer line - bad date
 ca7114e92efc44a1781c16d151f7ebec3c2eb849# badDate: invalid author/committer line - bad date
 1e8af33c6ec44db596d920f706fdcee4c365dd5b# badDate: invalid author/committer line - bad date
 1d598ed76d2175603f814ea07c2623c4173cc912# badDate: invalid author/committer line - bad date
 6b910c084d156ae6c4907a23348547391b2286af# badDate: invalid author/committer line - bad date
 0719f8f927f95931122bc4a4f98496cb97ef2188# badDate: invalid author/committer line - bad date
 e0415e5818449d427a738d9e6f1a73aa3fed74fc# badDate: invalid author/committer line - bad date
 dc1630be1d2e8931262f3c60c78a52a8c16aaefa# badDate: invalid author/committer line - bad date
 4872a751059f5263da8f1892adb10eb71bb6b596# badDate: invalid author/committer line - bad date
 8d15f2876a008a06dedf5c54d50545dbea464e40# badDate: invalid author/committer line - bad date
 2e2c1fe08d0c22d73013455204898834ccaec640# badDate: invalid author/committer line - bad date

The above hashes are taken from this related PR: https://github.com/jvm-repo-rebuild/reproducible-central/pull/38

Refs #1995
Refs #1996

@bhamail Thanks for reporting this!
Unfortunately it's impossible to fix the corrupted commits without rewriting the history of the complete repository and thus invalidating any tag or verification which happened after these corrupt commits.
The only way to work around this is, as you have pointed out in https://github.com/jvm-repo-rebuild/reproducible-central/pull/39, to skip the invalid commits during a git-fsck.

This is due to Git fscking objects. You can turn that off to make a clone:
git clone --config receive.fsckobjects=false --config fetch.fsckobjects=false git@github.com:dropwizard/dropwizard.git


Fix compile-tile computation of reverse sequence

This fixes #439

You need a rebase here :-s

rebase done!

@pbrunet trvis is ok with this one!

Great, I just add comments on seq.hpp and merge it.

manually merged


App rejection on android play store - advertising ID

(phone gap plugin version 2.1.3, platform Android)
Hi, my android app suddenly got pulled down (after several years on the store) with this:

I was pretty sure I did nothing with the advertising ID. Upon further investigation, it looks like this plugin uses firebase SDK which in turn seems to collect that ID. I see the irony with Google kicking my app out because I used their library.
If you think appropriate, you may want to add a notice in your README.md encouraging uses to add a privacy policy to their store listing and their app if they use this plugin. I think these conditions are being scrutinized more closely due to GDPR compliance.
(not quite related to https://github.com/phonegap/phonegap-plugin-push/issues/778 as that deals with different libraries and for iOS)

All of a sudden I'm facing the same issue. If you don't need the advertising ID (like me: I didn't even know what it was), then you may disable it.
It would be nice to have an option that does that for both platforms (iOS and Android). I will arrange some hook-based solution for now, and I will share it here if it works, but an option in the cordova manifest preferences for this plugin would be nice.
References on disabling the Android ID:

https://github.com/arnesson/cordova-plugin-firebase/issues/862
https://firebase.google.com/support/guides/disable-analytics

I would vote for documenting how to disable it by adding this line to the AndroidManifest.xml with a edit-config tag <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />, as making the plugin disable it by default might cause problems with other plugins requiring it to properly work.

please let us know if it works..

Thanks @lamuertepeluda. My app got put back the moment I linked a privacy policy with a lame comment about firebase collecting IDs. That being said, I'll incorporate your changes. I don't do anything with the ad id and Apple's policies are are even stricter. You can't collect the ad id if you don't do anything with it (per my reading some time ago).

@pliablepixels we neither... we got knowledge of the existence of this Advertising ID the moment our app was rejected! 😞 I hope this works... stay tuned

Guys the edit-config approach did work for Google. I re-submitted our app and after 1h or so it was back in the play store. I hope they won't rejected it again.
I'll let you know if it works for iOS as well, but thanks @pliablepixels for your investigation!

    <config-file parent="/manifest/application" target="AndroidManifest.xml">
        <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
        <meta-data android:name="firebase_crash_collection_enabled" android:value="false" />
    </config-file>

in the app `config.xml` file.

I can't compile my app with those settings, I get this error:
Error parsing XML: unbound prefix

@mrhyper , don't have much information of your environment settings, but if you're working on cordova-android 7.x.x., the relative path to AndroidManifest.xml has changed.
So you should change the target in the config-file, such as:
<config-file parent="/manifest/application" target="app/src/main/AndroidManifest.xml">
        <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
        <meta-data android:name="firebase_crash_collection_enabled" android:value="false" />
</config-file>

@see
https://cordova.apache.org/announcements/2017/12/04/cordova-android-7.0.0.html

@mrhyper adding an attribute to the root <widget> works for me.
from this comment: https://github.com/dpa99c/cordova-custom-config/issues/24#issuecomment-172981002

I added this code below to config.xml and successfully build the APK using phonegap build. I submitted the apps on Google and it has been active for few hours. Not the apps has been removed again for the same reason :) Is it still working for you?
<config-file parent="/manifest/application" target="app/src/main/AndroidManifest.xml">         <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />         <meta-data android:name="firebase_crash_collection_enabled" android:value="false" /> </config-file>

@touletan we also added the same snippet to our config.xml and the app was removed for the same reason a few hours later. Did you find another work around for this?
We confirmed that the generated AndroidManifest.xml file contains both the google_analytics_adid_collection_enabled and firebase_crash_collection_enabled settings so we don't think it's a configuration issue.

@jdtaylor91 ,  I added a privacy policy to my app.

@touletan OK thanks. We've had to go down this route as well unfortunately!

Is it enough to upload the modified version and release it? Cause it is still removed and I do not see any updates even 5 hours after submitting

2019-05-29 05:26:06.316 4947-4947/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.home.shelly, PID: 4947
    java.lang.RuntimeException: Unable to instantiate application com.home.shelly.firebase_crash_collection_enabled: java.lang.ClassNotFoundException: Didn't find class "com.home.shelly.firebase_crash_collection_enabled" on path: DexPathList[[zip file "/data/app/com.home.shelly-tFJdYmN_zRmCq2tIygploQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.home.shelly-tFJdYmN_zRmCq2tIygploQ==/lib/arm64, /data/app/com.home.shelly-tFJdYmN_zRmCq2tIygploQ==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]
        at android.app.LoadedApk.makeApplication(LoadedApk.java:1164)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6529)
        at android.app.ActivityThread.access$1900(ActivityThread.java:267)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963)
        at android.os.Handler.dispatchMessage(Handler.java:109)
        at android.os.Looper.loop(Looper.java:207)
        at android.app.ActivityThread.main(ActivityThread.java:7470)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.home.shelly.firebase_crash_collection_enabled" on path: DexPathList[[zip file "/data/app/com.home.shelly-tFJdYmN_zRmCq2tIygploQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.home.shelly-tFJdYmN_zRmCq2tIygploQ==/lib/arm64, /data/app/com.home.shelly-tFJdYmN_zRmCq2tIygploQ==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:50)
        at android.app.Instrumentation.newApplication(Instrumentation.java:1127)
        at android.app.LoadedApk.makeApplication(LoadedApk.java:1156)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6529)
        at android.app.ActivityThread.access$1900(ActivityThread.java:267)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963)
        at android.os.Handler.dispatchMessage(Handler.java:109)
        at android.os.Looper.loop(Looper.java:207)
        at android.app.ActivityThread.main(ActivityThread.java:7470)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)

Hmm getting this error on startup

@mrhyper , don't have much information of your environment settings, but if you're working on cordova-android 7.x.x., the relative path to AndroidManifest.xml has changed.
So you should change the target in the config-file, such as:
<config-file parent="/manifest/application" target="app/src/main/AndroidManifest.xml">
        <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
        <meta-data android:name="firebase_crash_collection_enabled" android:value="false" />
</config-file>

@see
https://cordova.apache.org/announcements/2017/12/04/cordova-android-7.0.0.html

Ty this worked perfectly. My last release is now active since ~5 days!

I added this code below to config.xml and successfully build the APK using phonegap build. I submitted the apps on Google and it has been active for few hours. Not the apps has been removed again for the same reason :) Is it still working for you?
<config-file parent="/manifest/application" target="app/src/main/AndroidManifest.xml"> <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" /> <meta-data android:name="firebase_crash_collection_enabled" android:value="false" /> </config-file>

I added this into my config.xml, but then my handler stopped getting called?
Registration and getting the ID worked fine, but no notification would ever trigger the "notifications" event again. I had to remove this from the config, completely delete all artifacts and cache and rebuild to fix this - which obviously isn't ideal, as now my app is getting rejected again.
Any news regarding this issue?


ReactiveUI Events doesn't seem to have an implementation of SelectionChanged for ListView

Attempting to use the events on a listview to get the selected items.
In my viewmodel:
this.MyListView.Events().SelectionChanged
....

Does not work because Events() doesn't seem to have SelectionChanged implemented.

If you're in a position to you can try moving to our preferred mechanism now the source generator https://github.com/reactivemarbles/ObservableEvents#observable-event-generator

Not in a position at the moment. Going to go ahead and use Observable.FromEventPattern for the moment, if there truly is no event implementation yet.  Like this (I was wondering if I had maybe missed something...)
I'll explore using the generator sometime down the line.

When you are in a position it should be a straight swap over, no change in the syntax.

The event I'm trying to subscribe to is System.Controls.Listview. The readme only discusses using the generator on classes in my assembly. So how would I get it to generate the event for references external assemblies?

The generator will work for ListView automatically.

Gotcha!
I've added the package using the recommendation in the Readme, but I can't seem to reference ReactiveMarbles.ObservableEvents. My project is .NET 4.8 not .NET Core...

What version of Visual Studio are you using?

2019 v16.9.4

New enough to handle source generators although v16.10 is better.
Sometimes you might need to give the project a compile first.

I've tried rebuilding, reopening solution, installing from the package manager GUI instead of adding the packagereference to the .csproj. Nothing...
Updating VS now. Will update this comment after I try that...

No luck. Maybe there is something funky going on with Nuget?
One interesting thing I noticed is that if I add:
<PackageReference Include="ReactiveMarbles.ObservableEvents.SourceGenerator" Version="1.0.2" PrivateAssets="all" />

to my .csproj, the package manager GUI no longer sees any of my other packages, just that one. But regardless of how I reference it in the project, the compiler will not pick it up.

If you want you can jump onto Slack I can probably maybe give you a bit more interactive help rather than in a issue.
https://www.reactiveui.net/slack

I was having a similar issue as @Awsmolak. After some troubleshooting, I found a solution. See this issue. The key for me was the build failing in *_wpftmp.csproj
The fix is simply to add <IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation> to the <PropertyGroup> section in your project's csproj file.

Looks like there is a solution bsaed on @drepamig -- Thanks for the help.


Update version numbers etc for v1.0.6

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like I wasn't able to push to the v1.0.6 branch of libsemigroups/libsemigroups-feedstock. Did you check the "Allow edits from maintainers" box?


Linking playbooks in ovn, nova and libvirt services

Following services will now use playbooks from edpm-ansible collection, rather than the previous structured 'role' field:

ovn
nova
libvirt

Depends-On: https://github.com/openstack-k8s-operators/edpm-ansible/pull/280

/test dataplane-operator-build-deploy-kuttl

recheck

recheck

recheck

recheck

recheck

recheck

/override rdoproject.org/github-check


Setting indent to 2 doesn't behave as expected

set shiftwidth=2
set tabstop=2
set softtabstop=2

I tried the above and some js still weirdly default to 4 spaces in some cases. It's not consistent... Are there any other values modifying this?

rm ~/.vimswap/*  works for me here.

for me , had to clear the .vimviews
can't believe this is still an issue

rm -f ~/.vimviews/* works for me.
2 tab indent for javascripts files with this in ~/.vimrc.local
autocmd Filetype javascript setlocal ts=2 sw=2 sts=2 expandtab

I am having the same issue and rm ~/.vimviews/* and rm ~/.vimswap/* hasn't helped. Is there another way I can solve it?


Add failure tolerance option to CreateShoot test

How to categorize this PR?

/area testing
/kind enhancement
What this PR does / why we need it:
Enhance the shoot creation framework and CreateShoot test definition to deal with failureTolerance settings for shoot control planes.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Follow-up of https://github.com/gardener/gardener/pull/8263
/invite @dguendisch
Release note:

Add failure tolerance option to `CreateShoot` test

/test pull-gardener-e2e-kind-upgrade

/test pull-gardener-e2e-kind-ha-single-zone-upgrade

/test pull-gardener-e2e-kind-ha-single-zone-upgrade

/test pull-gardener-e2e-kind-ha-single-zone-upgrade

/approve


Human-readable output of solid-client data structures

New feature description
This adds functions that return a string representation of SolidDatasets and Things to aid in debugging, namely getThingAsMarkdown, getSolidDatasetAsMarkdown and getChangeLogAsMarkdown.
Demo here: https://0rbh4.codesandbox.io/ (source)
Checklist

[x] All acceptance criteria are met.
[x] Relevant documentation, if any, has been written/updated.
[x] The changelog has been updated, if applicable.
[x] New functions/types have been exported in index.ts, if applicable.
[x] Commits in this PR are minimal and have descriptive commit messages.

I just removed the get* prefixes as discussed on Slack, to distinguish them from the functions that extract data from their arguments.


Adding new pgp key to owner removes old key

There is a bug when a new key is added to owner on Gorjun. Previous key gets removed which leads to invalid templates due to signature verification failure on template import

Previous key gets removed

I can't reproduce this bug, write test for this cases, but no success.
Also checked all users keys in our cdns, every user has more than zero keys.

Ok closing for now, until it happens again


Successful compilation but error once localhost is loaded

PineconeClient: Error getting project name: SyntaxError: Unexpected token A in JSON at position 0
error [Error: PineconeClient: Project name not set. Call init() first.]
error - [Error: Failed to fetch Pinecone namespaces

Are you still getting this error? I updated the README. Make sure you are configuring Pinecone correctly.

Are you still getting this error? I updated the README. Make sure you are configuring Pinecone correctly.

Now it works but even after taking Pinecone information in .env file why do we need to enter namespace information again on the frontend?

Namespace is different than Index. The idea is that you might create one namespace for one set of embeddings and another namespace for a different set of embeddings.


Remove {admiraldev} and {admiral.test} from lock file

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[ ] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[ ] Code is formatted according to the tidyverse style guide
[ ] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[ ] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[ ] Update to all relevant roxygen headers and examples
[ ] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[ ] Address any updates needed for vignettes and/or templates
[ ] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[ ] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[ ] Address or fix all lintr warnings and errors - lintr::lint_package()
[ ] Run R CMD check locally and address all errors and warnings - devtools::check()
[ ] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

STill not entirely clear what is going on here.  Is admiraldev not being installed separately.  The snapshot doesn't have admiraldev which is why I think this is failing??

Super strange. I cannot reproduce this locally. Any ideas @cicdguy?

Is admiral.test compatible with R 3.6?
Workflows there suggest that no testing was done with R 3.6: https://github.com/pharmaverse/admiral.test/tree/devel/.github/workflows
The bigger question is - if you're releasing to CRAN now (when CRAN runs on R 4.2.1), why even bother running checks on R 3.6.3 and having an extremely outdated renv.lock file? Shouldn't you keep this current?

People still use version 3.6 in certain companies, but that is dwindling,   I think we should always test the oldest version and develop in the oldest version as well to head off any nasty surprises

People still use version 3.6 in certain companies, but that is dwindling,   I think we should always test the oldest version and develop in the oldest version as well to head off any nasty surprises

That's an interesting approach.
Typically when you write software, you develop against the latest versions of things and perform regression testing against older dependencies and runtimes to make sure the changes are backwards compatible. This way your software benefits from the latest features, performance updates, bugfixes, security updates etc.
Finally, prior to making a release, one would lock those versions of dependencies to a specific version for reproducibility purposes.

People still use version 3.6 in certain companies, but that is dwindling,   I think we should always test the oldest version and develop in the oldest version as well to head off any nasty surprises

That's an interesting approach.
Typically when you write software, you develop against the latest versions of things and perform regression testing against older dependencies and runtimes to make sure the changes are backwards compatible. This way your software benefits from the latest features, performance updates, bugfixes, security updates etc.
Finally, prior to making a release, one would lock those versions of dependencies to a specific version for reproducibility purposes

Well, we could move to developing in the latest version and then test that it still works back to 3.6.  I always thought it was easier to start in the oldest version and go forward.  But this is my first big software dev project - so all this stuff is new to me!!  @thomas-neitmann @bundfussr

I believe it would be a significant paradigm shift to change the process at this stage in the project, so I'd say sticking to the original process is okay.
We can discuss this separately when we meet next.
As for the 3.6 man pages workflow failing, I believe there's some funkiness associated with admiraldev and admiral.test and their compatibility with R 3.6 (likely due to a dependency somewhere).

@thomas-neitmann Shall we close this PR - I think the coming repropagation form admiralci addresses this

Fine with me.


Switch 1-hello-world runtime to nodejs

Can you leave the dockerfile and explicitly use the gcr.io image?

Ok, let me test it first.
By the way, do I need update images in other branches as well?

I can handle that.

Looks like keeping the Dockerfile causes an error:
ERROR: (gcloud.preview.app.deploy)  Deployed Version:

Is there more to the error? We should be able to have a Dockerfile just like all of the other runtimes.

@TEHEK see commit 614724b, seems to work here and deploy fine. I generated the Dockerfile using gcloud preview app gen-config.


Initial draft

This is my initial draft of what I think will be needed for monitoring the strategy and scheduler performance during the survey. Work remains to be done on it (and it should always be a "living document"), but I think it has progressed enough for it to be useful to have it visible on the "main" git branch.

@leannep you had wanted to take a look here too


Use a better arg for FINDSTR when using the m,l command in Windows.

Fixes #883.
The only reason for the FINDSTR is to remove the extra seven lines of boilerplate that the DIR command thinks you need to know. Instead of "grepping" for the date (in its many different formats), we can more easily look for the filename itself.

I forgot to check directories. To be honest, what shows in master isn't all that informative either. It'll likely require an if directory ... else ... endif construct, and more than a simple DIR command. Let me play with it a bit more.

Taking what we get from DIR /q macros:
 Volume in drive C has no label.
   Can we be sure that the output of this command will remain stable?  I'm not so familiar with Windows utilities.

@lifecrisis, I decided to go with the built-in Vim functions, getfsize, getftime, and so on, to find the same information. The only thing I don't like is the size of 0 for directories, but that's a Windows thing. It's similar to what we currently see in the master branch where size is left blank.
Unfortunately, there is no Vim function equivalent to the DIR command's /Q option, which displays the owner of the file.


Fix comments

Some small spelling fixes and parameter names that didn't match the names in the description.

Thank you!


Separate throttle:x,y does not work like multiple RateLimiter's

Laravel Version
10.23.0
PHP Version
8.2.4
Database Driver & Version
latest
Description
If we use
// `.../routes/web.php`
Route::middleware('throttle:15,1')->group(function () {
    Route::get('/home', HomeController::class)->name('home');
});
Route::middleware('throttle:30,1')->group(function () {
    Route::get('/home2', Home2Controller::class)->name('home2');
});

we can no longer call /home after 15 /home2 calls, but if we use
// `...app/Providers/RouteServiceProvider.php`
RateLimiter::for('fifteen', function (Request $request) {
    return Limit::perMinute(15)->by($request->user()?->id ?: $request->ip());
});
RateLimiter::for('thirty', function (Request $request) {
    return Limit::perMinute(30)->by($request->user()?->id ?: $request->ip());
});

// `.../routes/web.php`
Route::middleware('throttle:fifteen')->group(function () {
    Route::get('/home', HomeController::class)->name('home');
});
Route::middleware('throttle:thirty')->group(function () {
    Route::get('/home2', Home2Controller::class)->name('home2');
});

we can.
Maybe I'm misunderstanding something about "Throttle" and "RateLimiter", but I think it shouldn't be like that.
Steps To Reproduce
See Description

Hi there,
Thanks for reporting the problem you are encountering, but it looks like this is a question which may be better suited for a support channel. We only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repository you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

@ghost Hello!
I have experienced similar behavior. Was it possible to obtain an answer from the mentioned sources?


Allow registration of extensions with dot in them

Resolved #324 by replacing the default filepath.Ext() function used to get extension from a given url to a custom function GetExt() which additionally also handles extensions with . in them.

Amended the previous commit (to keep the changes to a single commit) with the required changes. Thanks for the help ^_^

Looks great, thanks for your contribution!


"\vmware-host" is not accissible anymore!

After installing the loader, \\vmware-host is no longer accessible anymore!

Removing these solved the problem:
isolation.tools.getPtrLocation.disable = "TRUE"
isolation.tools.setPtrLocation.disable = "TRUE"
isolation.tools.getVersion.disable = "TRUE"
isolation.tools.setVersion.disable = "TRUE"
monitor_control.disable_directexec = "TRUE"
monitor_control.disable_chksimd = "TRUE"
monitor_control.disable_ntreloc = "TRUE"
monitor_control.disable_selfmod = "TRUE"
monitor_control.disable_reloc = "TRUE"
monitor_control.disable_btinout = "TRUE"
monitor_control.disable_btmemspace = "TRUE"
monitor_control.disable_btpriv = "TRUE"
monitor_control.disable_btseg = "TRUE"
monitor_control.restrict_backdoor = "TRUE"

But I don't know which ones caused it, though I kept trying without success.

\vmware-host require monitor_control.restrict_backdoor to be FALSE since it uses backdoor
io instruction to transfer files or data.

OK, I will try it and see.


Fixed link to "Usage with Overleaf" doc

Minor change only.

Oh, now we come into the difficulties that I use the README.md for both the repository and the homepage at http://latextemplates.github.io/scientific-thesis-template/. See https://github.com/latextemplates/scientific-thesis-template/blob/9c250e1887c63754ac652f4da49c8d453a311861/.circleci/config.yml#L14.
Currently, http://latextemplates.github.io/scientific-thesis-template/overleaf and http://latextemplates.github.io/scientific-thesis-template/overleaf.html work as links. They are linked from http://latextemplates.github.io/scientific-thesis-template/:

When I merge your change the link will change to http://latextemplates.github.io/scientific-thesis-template/docs/overleaf, which will lead to a 404.

Solutions:
Solution 1:
Move content of README.md to docs/index.md and really trim down README.md and point to docs/index.md
Solution 2:
Keep everything as is.
Solution 3:
Document in README.md with a HTML comment that the link can only be followed on the web:
See [overleaf](overleaf.md). <!-- link works only at http://latextemplates.github.io/scientific-thesis-template/. Locally, the file resides in the docs folder. See https://github.com/latextemplates/scientific-thesis-template/pull/89 for a discussion on this matter. -->

I think, I have to do Solution 1 to reduce confusion. WDYT?

Solution 1 sounds like the best one.
Or if it is possible, put the overleaf.html file on the website into a docs folder?
One could probably easily trim down the readme by putting the FAQ Section and Quickstart + Installation into seperate files.

Documentation now completely resides in the docs folder (https://github.com/latextemplates/scientific-thesis-template/tree/master/docs).
The root README.md got very short: https://github.com/latextemplates/scientific-thesis-template/blob/master/README.md.
I like single-page pages in the hope that users will scroll through. I don't think that users needing a FAQ will visit the FAQ link. 😇


Make GEOContext and geoObject methods public to use other C methods from geos library

To implement hausdorffDistance method some of the classes and methods are required to be in the public scope.

Hi @paweljankowski, rather than making those low-level things public, let's keep GEOSwift focused on exposing a high-level Swift interface into GEOS. GEOS provides two methods related to Hausdorff distance:
/** \see GEOSHausdorffDistance */
extern int GEOS_DLL GEOSHausdorffDistance_r(
    GEOSContextHandle_t handle,
    const GEOSGeometry *g1,
    const GEOSGeometry *g2,
    double *dist);

/** \see GEOSHausdorffDistanceDensify */
extern int GEOS_DLL GEOSHausdorffDistanceDensify_r(
    GEOSContextHandle_t handle,
    const GEOSGeometry *g1,
    const GEOSGeometry *g2,
    double densifyFrac, double *dist);

Let's expose wrapper methods in GeometryConvertible+GEOS.swift that allow performing these calculations on any GeometryConvertible.

Closing in favor of #251

Hausdorff functions exposed in #255


Trigger request or response timeout when past time is set to

Motivation:
When a past time is passed to ctx.set{Response,Request}TimeoutAt()
it throws IllegalArgumentException.
I think it would be more natural to trigger timeout immediately.
Modifications:

Add timeoutNow() to TimeoutController for invoking timeout directly
Invoke timeoutNow() when the given time is before now
Capture the changes of timeout when the responseTimeoutController is not set
Allow to execute the pending task when responseTimeoutController is set to the {Client,Service}RequestContext
Rename initTimeout to scheduleTimeout
Lax DefaultTimeoutController API validation

Can call resetTimeout or exendTimeout before scheduleTimeout is called.

Result:
A user can trigger timeout immediately by setting past time

PTAL. 🙇♂
/cc @minwoox


set_mesh() results in error message Godot 3.1 Alpha 1

Godot version:
3.1 Alpha 1
OS/device including version:
Windows 10 Pro 1803 x64
Issue description:
When running an imported project built in GDScript Godot 3.0.6, set_mesh() causes an error message and crash upon run.
From editor: Parser Error: Method 'set_mesh' is not declared in the current class.
From command line:
ERROR: debug_get_stack_level_instance: Condition ' _debug_parse_err_line >= 0 ' is true. returned: __null
At: modules/gdscript/gdscript_editor.cpp:330
Steps to reproduce:
Attempt to use set_mesh() in GDScript

What class are you inheriting from? The GDScript typing means you have to be really careful about extending the correct stuff you want.

Ah, thanks for pointing that out. I made a typo. Sorry!


zero-length delimited identifier at or near ""

Hello!
I'm running into an issue actually using the tenant client. I've successfully set up the management database, added a tenant, and verified that I can connect to that tenant directly via the normal PrismaClient. However when I try to use MultiTenant, I get the following error:
zf [Error]:
Invalid `prisma.tenant.findOne()` invocation:

  Error in connector: Error querying the database: db error: ERROR: zero-length delimited identifier at or near """"
    at $w.request (/usr/src/app/node_modules/.prisma-multi-tenant/management/runtime/index.js:212:257)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  clientVersion: '2.9.0'
}

Here's my test code:
import { MultiTenant } from '@prisma-multi-tenant/client'
import { PrismaClient } from "@prisma/client";

const multiTenant = new MultiTenant<PrismaClient>()

async function main() {
  const prisma = await multiTenant.get('dev')
  const sites = await prisma.site.findMany()

  console.log(sites)
}

main()
  .catch(e => console.error(e))
  .finally(async () => {
    await multiTenant.disconnect()
  })

I'm using the latest version of Prisma (2.9.0) and working with Postgres database. I'm using one database instance but differentiating between tenants via schema in the connection string.
DATABASE_URL=postgresql://postgres@db:5432/app?schema=dev
MANAGEMENT_URL=postgresql://postgres@db:5432/app?schema=public

I believe I found the problem...
I added a console.log(process.env.MANAGEMENT_URL) and it appears the =dev part of the url is being lost. This only seems to be a problem for the management environment variable. Since I'm using the default schema, I'm able to workaround this issue by removing the entire ?schema=public part.

After doing some more research, I suspect this might be related to being unable to use quotes for the management url (#60). It might also be related to how the url is being read or parsed somewhere in the code.

Hi @jimsimon! Thanks for reporting the issue. 🙏  It may indeed come from #60 which has been resolved with the release of prisma-multi-tenant 2.4.1. Don't hesitate to reopen if you still encounter the issue after upgrading!


Improve performance of generation pipeline

Match additional files to source attribute context earlier, so that changes to additional files only result in new sources generated for the attributes which match the changed files.
Resolving #4

Need to add a test, running generation for a second time with an additional file changed (or added) and not matching the filters.

In order to produce doc comments, every matching embedded resource file needs to be read over and over again to see if its content has changed.

[ ] Need a solution for this to work during build, and not be burdensome during editing (consider thousands of files, read every keystroke).

Perhaps need a cache of generated doc comments, and a way to control when/if it gets regenerated?


Incorrect list of SANs for biznessapps.com

gsan biznessapps.com
returns
→ adn.wiredrive.com
→ ak-site-origin-cover.cduniverse.com
→ assets.pokemon.com
→ belleandclive.com
→ biznessapps.com
→ bluefly.com
→ cdn.citadoncw.com
→ cdn.shocho.co
→ cdn2.mediasilo.com
→ cdn2.navexglobal.com
→ cduniverse.com
→ chdist.com
→ connections.cochlear.com
→ cover.cduniverse.com
→ edgecast.com
→ g.cduniverse.com
→ gp1.adn.edgecastcdn.net
→ gs1.adn.edgecastcdn.net
→ is.belleandclive.com
→ marketing-admin.upsight-api.com
→ ne1.adn.edgecastcdn.net
→ renttherunway.com
→ secure.hibustudio.com
→ shopperschoice.com
→ speedtest.net
→ stardoll.com
→ thefanorama.com
→ uship.com
→ woodcraft.com
I believe this is an error.

Thank you for bringing this issue to my attention, but what happens is that the alternative names in certificate are not properly configured in this web page, this is why it throws a lot of subdomains that doesn't belong to the domain. This is also why it is not trusted when you first enter this site.
You can see the report here: https://www.ssllabs.com/ssltest/analyze.html?d=biznessapps.com
If you have another question, please don't hesitate to comment more about this issue :)

@franccesco right, these are domains from CDN provider, my bad.


Cards not added everytime

Hi!
I just tested the example "AccessControl". I did not change anything from the code but yet encountered a problem.
I have noticed that sometimes card's don't get added OR removed. I have yet to figure out a pattern.
Below is the output from the serial monitor, i hope i described it good enough.
Scanned PICC's UID:
96DD14B9
You shall not pass
Scanned PICC's UID:
16133AB9
Hello Master - Entered Program Mode
I have 8 record(s) on EEPROM
Scan a PICC to ADD or REMOVE to EEPROM
Scan Master Card again to Exit Program Mode
Scanned PICC's UID:
96DD14B9
I do not know this PICC, adding...
Succesfully added ID record to EEPROM
Scan a PICC to ADD or REMOVE to EEPROM
Scanned PICC's UID:
16133AB9
Master Card Scanned
Exiting Program Mode
Scanned PICC's UID:
96DD14B9
You shall not pass

Please use existing issue #403


Appstudio update test-mvp-component-bwgp

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-mvp-component-bwgp-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
18 seconds
inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
20 seconds
deprecated-base-image-check

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
31 seconds
label-check

✅ Succeeded
5 seconds
show-sbom

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-mvp-component-bwgp-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
20 seconds
deprecated-base-image-check

✅ Succeeded
18 seconds
inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
31 seconds
label-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
5 seconds
show-sbom


Replace test doubles with constants

Description
Closes #2321.

Readiness checklist

[ ] I added/updated unit tests.
[x] I added/updated integration/compatibility tests.
[ ] I added/updated comments and checked rendering.
[x] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

Tests failing for TestQueryBitwise*


Cannot Login (or register) a user id

Environment
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
URL
https://penguin-stats.io/
Steps to reproduce

click the bottom which located at the upper right quarter
type a user id ([A-Z][0-9])
click CONFIRM
report an error

What is expected?
login success
What is actually happening?
Failed to log in: Request failed with status code 404 (http-undefined)

is there any required about user id?
I am not in China, is it could be the reason?

ignore me, i don't know i have to report data first


🆕 Software Suggestion | EmbassyOS

Basic Information
Name: EmbassyOS
Category: Operating System
URL: https://start9.com / http://privacy34kn4ez3y3nijweec6w4g54i3g54sdv7r5mr6soma3w4begyd.onion/
Description
EmbassyOS is built to allow anyone to easily run their own ‘cloud,’ become independent from Big Tech, and own their own data. EmbassyOS allows anyone to easily self-host their own software services.
EmbassyOS is a custom-built Linux distribution, which is a stripped down and beefed up version of Raspbian Buster Lite OS (currently being refactored with Ubuntu Server), along with a suite of software tools which make it easy to:

Install, uninstall, and upgrade services from the custom Marketplace (similar to your phone’s app store)

Manage and run services that YOU control

Upgrade your Embassy software with the latest features and security updates

Backup services, and restore from backups if needed

Start9 augmented the original Raspbian OS to include:

a custom application management layer, specialized for installing, running, and backing up .s9pk packaged services

a layer responsible for Embassy specific operations, such as Tor, Backups, and Notifications

The .s9pk extension is Start9’s custom package format based on tar (currently being refactored to a fully custom format). It encompasses the necessary components to compress, host, and install a service on the marketplace.
Why I am making the suggestion
EmbassyOS is exciting because it is the foundation of digital independence.  Hosting your own software has never been easier, and this paves the road to eliminating dependency on Big Tech.
My connection with the software
I work with Start9 Labs, the company behind EmbassyOS.

[x] I will keep the issue up-to-date if something I have said changes or I remember a connection with the software.

I'm currently using EmbassyOS for self-hosted file-storage, password management, and text communication over the Tor network.  It doesn't get much more private than that.

I'll double vouch for it. I've been a customer for a few weeks now and I'm using it to self-host my own photos, use its built-in Bitwarden, and all the other goodies. Feels pretty awesome to have all of this running over TOR and from my own personal server with no one in between me and my data.

For me EmbassyOS ended up as self-hosted Bitwarden, [matrix], bitcoin and lightning node for my family. This thing is the futur of sovereign computing!

@LongJohn-Silver I am not a bot.  This is not spam.  I work on Embassy.  Do you require any additional disclosures?

 It is shady to say the least that if you come here promoting your software without being honest that you participate in the project.

I can tell why @LongJohn-Silver is suspicious. These messages do seem like spam. However I don't think these accounts are  necessarily bots. CC @privacytools/editorial

This account, @githubaccountforme, does seems like a bot account to me, the others look pretty human after they ganged on me because I called them out, which is even worse in my opinion. It's totally okay if your userbase/developers are really into the project your working in, but to me it just feels off that a whole bunch of you come raiding in the issue with comments/emojis/etc, it just sounds suspicious, @freddy-m.

This account, @githubaccountforme, does seems like a bot account to me, the others look pretty human after they ganged on me because I called them out, which is even worse in my opinion. It's totally okay if your userbase/developers are really into the project your working in, but to me it just feels off that a whole bunch of you come raiding in the issue with comments/emojis/etc, it just sounds suspicious, @freddy-m.

I'm all for suspicion, but we are just big fans and customers of the Embassy box and OS that Start9 has created. Someone in the Start9 telegram is a big fan of PrivacyTools and had noticed that no one had suggested EmbassyOS so a few of us came here to mention it. Not sure how else you would prefer users of an open source project designed with the exact philosophical underpinnings of PrivacyTools should go about adding in new, you know, privacy tools.
Please keep in mind that many of us customers of the Embassy box are not tech-focused developers (many likely don't even have GitHub accounts which is why there is basically zero history for many accounts, mine included. For most of us a lot of open source software is technically out of reach, as many of us don't know how to compile code or even get close to using the command line. Personally I started using EmbassyOS because it was the only user-friendly way for me to deploy a lot of apps in a few clicks.
Just wanted to further explain why many of us jumped in excitedly leaving comments as it this were a social media site. I hope you'll excuse our apparent lack of GitHub acumen, but applaud our love of privacy preserving technology and sharing something that makes more sovereign self-hosted tools accessible to the layperson.


NodeList missing forEach, entries, values, and keys

See https://developer.mozilla.org/en-US/docs/Web/API/NodeList

Fixed by https://github.com/Microsoft/TypeScript/pull/14641


Setup server-side GraphQL

Title:
Set up GraphQL queries
Body:
User Stories

Add functionality to retrieve data about users, their posts,baskets, comment, and friends from the server

LGTM


99.4% CPU usage on Server and Client

I'm running both server and client in a headless configuration and they both seem to run at 99% CPU usage. Why hasn't anyone reported this? And what could be causing such overhead? I'm on MacOS ARM64 but it's probably the same for windows and linux.

After some debugging using valgrind and perf I was able to find the bottleneck in void Application::Run() where the thread doesn't sleep unless you specify a value. In my case I just did
std::this_thread::sleep_for(std::chrono::milliseconds(500));

https://github.com/StudioCherno/Walnut/blob/7e478a3828059eafabc31cb0559a31d1d83dad12/Walnut/Platform/Headless/Walnut/ApplicationHeadless.cpp#L62

It looks like you need to add this line:
spec.SleepDuration = 500;

To both ClientApp.cpp and ServerApp.cpp in order to achieve that effect. That should fix it without needed to modify the upstream Walnut repository. However, I haven't seen any activity or responses to other PRs or issues since the last update about 10 months ago so I am not sure if this repo will have any activity on it.


Maint: Drop python versions 3.8 and 3.9

as title says

LGTM! Have you verified the docs as well to remove any reference to 3.8 or 3.9 being the minimum version?

Yes.


Builder: infer more widths

This PR allows the builder to infer widths of values a little more eagerly, leading to slightly cleaner eDSL code.
I am still not thrilled with this, since I think there remains a missed opportunity.
Instead of:
def eq_use(self, left, right, width, cellname=None):
    """Inserts wiring into `self` to check if `left` == `right`."""
    return self.binary_use(left, right, self.eq(width, cellname))

I'd like something like:
def eq_use(self, left, right, cellname=None):
    """Inserts wiring into `self` to check if `left` == `right`."""
    width = infer_val_width(left) or infer_val_width(right)
    return self.binary_use(left, right, self.eq(width, cellname))

So that clients can write:
cmd_eq_0 = fifo.eq_use(cmd, 0)
cmd_eq_1 = fifo.eq_use(cmd, 1)
cmd_eq_2 = fifo.eq_use(cmd, 2)

That is, the 0, 1, 2 are no good for width inference, but the cmd totally knows its width.
If we think there will be times when neither operand will reveal the width, maybe we can have width be an optional parameter for <op>_use. This will indeed be optional when the widths are inferable, but, when the widths cannot be inferred, we raise an error asking for the width to be specified.
Something like:
def eq_use(self, left, right, width=None, cellname=None):
    """Inserts wiring into `self` to check if `left` == `right`."""
    width = width or infer_val_width(left) or infer_val_width(right)
    if not width:
        # error: please pass a width
    return self.binary_use(left, right, self.eq(width, cellname))

Eventually closes #1676.

Nothing technical is blocking the merge; I kinda just wanted Adrian's eyes on the PR it since it's a relatively far-reaching set of changes in the code!

Great, made that change and it passes CI, so I'll merge!


Sql Management studio design issue

Sql Management studio design issue

@arjunsingh123 can you please clarify what is the problem in the design you pointed out in the screenshot?
Thanks, Jason CC: @markingmyname

@arjunsingh123 we haven't heard back with clarification, so we'll close the issue for now. #please-close


Charges on my credit card

I was charged $84.00 and $36.00 I did not authorize these charges.I do not authorize any charges from your company please refund the money and never charge me again I do not want anything with your company.

This is an open source demo project. There is literally no way for me to charge you.


HEIC

HEIC files are not supported...could you add support for it please?

Hi,
Heic file support ıs already added, are you using latest version?
Regards

I downloaded the latest version from Github.  The file selection in the settings does not include heic file extensions.
Krishna
From: Edi61 @.>
Sent: Sunday, May 5, 2024 1:19 PM
To: ermig1979/AntiDupl @.>
Cc: kkm5848 @.>; Author @.>
Subject: Re: [ermig1979/AntiDupl] HEIC (Issue #199)
Hi,
Heic file support ıs already added, are you using latest version?
Regards
—
Reply to this email directly, view it on GitHub https://github.com/ermig1979/AntiDupl/issues/199#issuecomment-2094935745 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGW5DDO6WO2ZQKG4NTZ2SVLZA2H2XAVCNFSM6AAAAABHH7EMXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUHEZTKNZUGU .
You are receiving this because you authored the thread.Message ID: @.***>


buffer_body issues on binary responses

I am using the excellent beast api to implement a pseudo micro service but I am facing a problem that I don't see covered on the documentation or examples, as far as I can tell: how to use it to expose a binary object (namely a png image, produced by an OpenCv mat) using a buffer instead of an string or file body.
So far, I have came up with the following code, based on the http sync server, however although it works, I have my doubts it is on the correct beast idiom. Developed on macOs, with Boost 1.70.0, on Safari, latest incarnations. I have tried to use vector_body for this but without success.
Now, from this on, how can read the binary from a beast client side? Is there a proper way to do it? So far I have been experimenting directly with a browser, but the idea is to have both ends based on beast on a machine-to-machine system. In this case I was able to use vector_body, however, I am failing to get the std::vector after the response. How should I do that?
Another thing that I am not seeing is who frees the memory allocated by the buffer...
Server:
cv::Mat image(2000,4000, CV_8UC3, cv::Scalar(255,255,0));
 std::vector<uchar> *imgBuf = new std::vector<uchar>();
 cv::imencode(".png", image, *imgBuf);

 http::response<http::buffer_body> res{http::status::ok, req.version()};
 res.set(http::field::server, BOOST_BEAST_VERSION_STRING);
 res.set(http::field::content_type, "image/png");
 res.keep_alive(req.keep_alive());
 res.body().data = imgBuf->data();
 res.body().size = imgBuf->size();
 res.prepare_payload();
 return send(std::move(res));

Client:
cv::Mat outputImage;
    try
    {
      boost::asio::io_context ioc;

      // These objects perform our I/O
      tcp::resolver m_resolver{ioc};
      tcp::socket m_socket{ioc};

      // Look up the domain name
      auto const results = m_resolver.resolve(this->m_host, std::to_string(this->m_port));

      // Make the connection on the IP address we get from a lookup
      boost::asio::connect(m_socket, results.begin(), results.end());

      // Set up an HTTP GET request message
      http::request<http::string_body> req(http::verb::get, target.c_str(), this->m_version);
      req.set(http::field::host, this->m_host);
      req.set(http::field::user_agent, BOOST_BEAST_VERSION_STRING);

      // Send the HTTP request to the remote host
      http::write(m_socket, req);

      // This buffer is used for reading and must be persisted
      boost::beast::flat_buffer buffer;

      // Declare a container to hold the response
      http::response<http::vector_body<uchar>> res;

      // Receive the HTTP response
      http::read(m_socket, buffer, res);

      // Gracefully close the socket
      boost::system::error_code ec;
      m_socket.shutdown(tcp::socket::shutdown_both, ec);

      // not_connected happens sometimes
      // so don't bother reporting it.
      //
      if (ec && ec != boost::system::errc::not_connected)
        throw boost::system::system_error{ec};

      //.the next two are invalid statements!!!
      std::vector<uchar> imgBuffer(res.body().data(), res.body().size());
      outputImage = cv::imdecode(res.body().data(), cv::IMREAD_UNCHANGED);

Best in advance,
Leo.

Try
cv::imdecode(res.body(), cv::IMREAD_UNCHANGED);

BTW: This is not related to Beast, seems more like a question about OpenCV...

Well, in a sense the issue was with Beast... but yes, looking it at it is, you are right. Now, this worked like a charm. However, there is a issue with the server part. It prints a "write: need buffer" and I am almost sure that it is leaking memory. Now, I have tried to switch it to vector_body, but I dont find a way to move my vector to the message body... as res.body().data does not seem to be  assignable... do you know if there is there a way or documentation or example to look at?

std::vector<char> v;
...
res.body() = v;

?

Just stumbled upon this issue, while I was searching for the "need_buffer" error, that I got when delivering a jpg using a http::buffer_body. For me it worked to add
res.body().more = false;

Hope that helps.

Nice post, but what if i wanna to use boost::beast::http::async_write to send the response asynchronouslly?
In that case, we need to put the data we are sending on heap, and free it after the send was done, how to do this?
I didn't find any example code about this.

can't you put it in the same place you put the socket?

can't you put it in the same place you put the socket?

ah yes, thats a easier solution


Revert python slim buster

I reverted to 3.9.1-slim-buster and the RemoteDisconnect issue disappeared.  I think its best we lock to a stable version of this version that we know works.  Although, to be honest, the whole RemoteDisconnect issue is still sort of a mystery to me.
Happy to leave this as a draft so we can discuss more.

I'm OK to revert back to 3.9.1 if it seems that this leads to less RemoteDisconnected error.


Set proper sdl2 min bound

This change prevents building against sdl2 version 1 which does not have the necessary exposed modules.

Not sure how this happened, but in a new environment, cabal somehow picked sdl2 version 1 which was failing with this mysterious error:
src/DearImGui/SDL.hs:44:1: error: [GHC-87110]
    Could not load module `SDL'.
    It is a member of the hidden package `sdl2-<IP_ADDRESS>'.
    Perhaps you need to add `sdl2' to the build-depends in your .cabal file.
   |
44 | import SDL
   | ^^^^^^^^^^

This change should prevent that.


Create proper documentation

For now we should just use the wiki for documentation, but eventually (in the distant future) it would be nice to have real documentation with something like Sphinx. Here's another project I've done that has Sphinx documentation:
http://jhamrick.github.io/gaussian_processes/
The reason why I like Sphinx is that it allows you to hyperlink between classes and objects, and lets you create really general pages of documentation (that don't have to be API documentation necessarily). Also, you can include arbitrary content like math and images (though I guess you can probably do that in a wiki as well).
We can set up the documentation using GitHub pages, so it doesn't require anything except an extra branch in the repository.

Closed by #399.

Reopening this and assigning to @jhamrick, who offered to move us over to Sphinx for nice API documentation.

@jhamrick Just wanted to check in on this — are we still making the jump to Sphinx?


RESUME got error on distfc

Hi author, I resume the training from epoch 21 with the setting.
  GNU nano 4.8                                                                    tasks/distfc/train_config.yaml
SEED: 1337 # random seed for reproduce results
DATA_ROOT: '/home/john123/TFace/' # the parent root where your train/val/test data are stored
INDEX_ROOT: '/home/john123/TFace/'
DATASETS:  # the dataset index name
    - name: TFR-MS1M-list
      batch_size: 96
      weight: 1.

BACKBONE_RESUME: "/home/john123/ckpt/Backbone_Epoch_22_checkpoint.pth"
HEAD_RESUME: "/home/john123/ckpt/HEAD_Epoch_22"
META_RESUME: "/home/john123/ckpt/Optimizer_Epoch_22_checkpoint.pth"

# BACKBONE_NAME: 'EfficientNetB0'
BACKBONE_NAME: 'IR_34'
DIST_FC: true
TFRRECORD: true
MODEL_ROOT: './ckpt/' # the root to buffer your checkpoints
LOG_ROOT: './tensorboard' # the root to log your train/val status
HEAD_NAME: "CurricularFace" # support:  ['ArcFace', 'CurricularFace', 'CosFace']
LOSS_NAME: 'DistCrossEntropy' # support: ['DistCrossEntropy', 'Softmax']
INPUT_SIZE: [112, 112] # support: [112, 112] and [224, 224]
RGB_MEAN: [0.5, 0.5, 0.5] # for normalize inputs to [-1, 1]
RGB_STD: [0.5, 0.5, 0.5]
INPUT_SIZE: [112, 112]
EMBEDDING_SIZE: 512 # feature dimension
LR: 0.1 # initial LR
START_EPOCH: 0 # start epoch
WARMUP_STEP: -1
NUM_EPOCH: 26 # total epoch number
WEIGHT_DECAY: 0.0005 # do not apply to batch_norm parameters
MOMENTUM: 0.9
STAGES: [10, 18, 24] # epoch stages to decay learning rate
WORLD_SIZE: 1
RANK: 0
LOCAL_RANK: 0
DIST_BACKEND: 'nccl'
DIST_URL: 'env://'
NUM_WORKERS: 8
AMP: true # fp16 for backbone

However, I got the error. Could you help me to fix it?
Traceback (most recent call last):
  File "./tasks/distfc/train_distfc.py", line 150, in <module>
    main()
  File "./tasks/distfc/train_distfc.py", line 146, in main
    task.train()
  File "./tasks/distfc/train_distfc.py", line 138, in train
    self._loop_step(train_loaders, backbone, heads, loss, opt, scaler, epoch, class_splits)
  File "./tasks/distfc/train_distfc.py", line 88, in _loop_step
    scaler.step(opt)
  File "/home/john123/pytorch/lib/python3.7/site-packages/torch/cuda/amp/grad_scaler.py", line 338, in step
    retval = self._maybe_opt_step(optimizer, optimizer_state, *args, **kwargs)
  File "/home/john123/pytorch/lib/python3.7/site-packages/torch/cuda/amp/grad_scaler.py", line 285, in _maybe_opt_step
    retval = optimizer.step(*args, **kwargs)
  File "/home/john123/pytorch/lib/python3.7/site-packages/torch/optim/optimizer.py", line 88, in wrapper
    return func(*args, **kwargs)
  File "/home/john123/pytorch/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
    return func(*args, **kwargs)
  File "/home/john123/pytorch/lib/python3.7/site-packages/torch/optim/sgd.py", line 117, in step
    nesterov=nesterov)
  File "/home/john123/pytorch/lib/python3.7/site-packages/torch/optim/_functional.py", line 173, in sgd
    buf.mul_(momentum).add_(d_p, alpha=1 - dampening)
RuntimeError: The size of tensor a (257489) must match the size of tensor b (257488) at non-singleton dimension 1

是不是生成的训练数据list有问题

看起来是AMP的错误，我们这边看下能否复现


Remove the use and testing of legacy groupdoc/userdoc/orderdoc docume…

…nt ids.
@bjorncs or @toregge or @geirst PR
This is just a rewrite of tests. No semantic changes.

I think @vekterli has most context on this one

@geirst Yes, and he will get the good stuff in later commits. This was just to spread the 6k diff in smaller parts.
This is mostly avoid using userdoc/groupdoc/orderdoc and use id: instead in tests.
Should have been done a long time ago.

AS multiple upcoming PRs depend on this one I will just merge it.


Update sematext-agent.yml

@megastef
For this work on my environment I had to use
hostNetwork: true
inside spec of the daemon set
My environment:
Azure
CoreOs 1185.2
Rancher 1.1.4
Kubernetes

Sorry for late reply. It works on Racher. Hover this does not mean that other users need this setting. I will add a comment.


[release-2.2] Organization rename to stolostron

https://github.com/stolostron/backlog/issues/18770

This PR is ready for review.


⚠ Catalog API Endpoint has degraded performance

In 8b90fd4, Catalog API Endpoint (https://catalog.roblox.com/v1/bundles/details?bundleIds=192) experienced degraded performance:

HTTP code: 503
Response time: 14364 ms

Resolved: Catalog API Endpoint performance has improved in 6857549.


library.rb:275: [BUG] Bus Error at 0x00000001042fc000

Steps to reproduce

On an M1 Mac...
Clone the repo at https://github.com/wmleler/thematrix
Enable macos for the project by running flutter create --platforms=macos .
Ensure that macos is enabled by running flutter config --enable-macos-desktop
Install Cocoapods from scratch using sudo gem install cocoapods (as instructed by https://guides.cocoapods.org/using/getting-started.html#installation, which is pointed to by flutter doctor)
Attempt to run the app using flutter run -d macos

Expected behavior
You expect the app to run (it's out of date and has errors after running, but it still should be able to run).
Actual behavior
You get an error building.  The main error is:
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.3/lib/ffi/library.rb:275: [BUG] Bus Error at 0x00000001042fc000

Googling for that error will eventually lead you to https://github.com/CocoaPods/CocoaPods/issues/10723#issuecomment-864408657
So then, you run:
sudo arch -x86_64 gem install ffi

But when you run the app again, you still get the same error.
It turns out that you can get it working by applying the following patch to flutter_tools:
diff --git a/packages/flutter_tools/lib/src/macos/cocoapods.dart b/packages/flutter_tools/lib/src/macos/cocoapods.dart
index 8e7a08f62c..c0ce393d03 100644
--- a/packages/flutter_tools/lib/src/macos/cocoapods.dart
+++ b/packages/flutter_tools/lib/src/macos/cocoapods.dart
@@ -311,7 +311,7 @@ class CocoaPods {
   Future<void> _runPodInstall(XcodeBasedProject xcodeProject, BuildMode buildMode) async {
     final Status status = _logger.startProgress('Running pod install...');
     final ProcessResult result = await _processManager.run(
-      <String>['pod', 'install', '--verbose'],
+      <String>['arch', '-x86_64', 'pod', 'install', '--verbose'],
       workingDirectory: _fileSystem.path.dirname(xcodeProject.podfile.path),
       environment: <String, String>{
         // See https://github.com/flutter/flutter/issues/10873.

... but presumably we shouldn't be unconditionally running that.

So, we're already detecting a similar error, and recommend a similar workaround: https://github.com/flutter/flutter/pull/94385
@tvolkert I wonder, does arch -x86_64 sudo gem install ffi work (with the sudo after the arch call)?

I hit this today and followed instructions from https://stackoverflow.com/questions/69867593/flutter-run-crash-on-ios-error-running-pod-install
To do:
sudo arch -x86_64 gem install ffi

arch -x86_64 pod install

in the "ios" folder, and then flutter build ios worked just fine. :)
It also may be Google-mac specific?  I don't know if we have a different ruby than default on these machines (I know we used to have a non-standard python which sometimes caused problems).

https://github.com/flutter/flutter/pull/101796 wasn't complete, I just hit this myself.
New PR @ https://github.com/flutter/flutter/pull/102327


DBZ-1995 returned content about pass-through properties for MySQL connector

As directed by Jiri, I copied the pass-through properties content from the .10 user doc for the MySQL connector.  Let me know if anything needs to change.
After merging, this needs to be backported to 1.0 and 1.1. Thanks!

@jpechane, is this what you had in mind?

@TovaCohen Yes, that's what I had in mind. Still I'd like to ask you for two changes

add a linkable section header for that pice of docs
reword sentence In addition to the pass-through properties for the Kafka producer and consumer, the properties starting with database., for example, database.tinyInt1isBit=false are passed to the JDBC URL. in that way that it deserves also its own separate linkable section

@jpechane - I don't understand what change you want to see for your second bullet point.
How do you want the sentence reworded?  What you have in your comment is identical to the current source.
Do you want that sentence to have its own heading? If yes, is this a good heading: "Pass through properties for database drivers"?  If not, what do you suggest?
Thanks!

@TovaCohen, IIUC, Jiri suggests to reword that sentence so it's worthy its own section title. +1 on that. I think you could simply add the section heading you added and it's good enough.

Thanks @gunnarmorling ! I made the updates an added a commit to this PR. Let me know if anything else needs to change. If not, please backport this to 1.1 after merging.

@jpechane, can we merge this now? Would do myself but don't want to interfere with release prep.

@TovaCohen Applied, thanks

Applied to 1.1


WIP Dst 462

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

Project coverage is 81.62%. Comparing base (999b7ce) to head (7bd1feb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   81.59%   81.62%   +0.02%
==========================================
  Files          64       64
  Lines        2119     2122       +3
==========================================
+ Hits         1729     1732       +3
  Misses        390      390

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


Implement git receive-hooks for file checking

Is your feature request related to a problem? Please describe.
Since users can upload arbitrary files, there should be checks done on the files before pushing. This is mainly the case for student submissions.
These checks could include:

the number of files (e.g. to disallow students to add their files after release)
the file size
the allowed file extensions
etc.

Should be implemented with configuration in mind.
Describe the solution you'd like
We need to register pre-receive hooks in the repositories to check the files before a push is accepted. The problem is how do we add the hooks? Should they be updated before each push or once when the repository is created?

The hook will be templated with https://docs.python.org/3.8/library/string.html#string.Template.safe_substitute which brings no additional dependencies and is fastest for this simple use case. The file then needs to be written in the hooks directory of the git repository and has to be made executable.


Update to v17.3.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


[MAJOR] Replay/Rework Overall bazel Build

This issue lists several task that attempt to fix

#1

[x] #3
(following list ordered by "highest estimated possibility of root-cause")
[ ] #7

[x] #9

[ ] #10
[x] #8
[ ] #6
(convenience stuff, but essentially a must have)
[x] #4
[x] #11

https://github.com/Vertexwahn/rules_oidn/issues/1 was solved


License

Can the license for crd2pulumi be clarified and a License file created please

Thanks for bringing this up! I added an Apache 2.0 license.


add regression testing and CI

For production readiness for when Metamask flask architecture goes mainline, we want to ensure we are proactively notified when upstream MM changes to Flask architecture break the FIL snap.

set of basic automated functional tests
running daily in CI (or at a cadence recommended by MM team)
broken tests files new issue

Perhaps Glif and/or MetaMask folks already have testing frameworks to use and maybe even CI we can inject ourselves into (change the flow - their "build" breaks when FIL snap breaks).
cc @rekmarks @Schwartz10

afaik there is no real (end-to-end) test automation for WebExtensions, but you can run functional tests in WebExtension context

Firefox XUL-based extensions had a nice tests runner with hooks that allowed for doing asserts about things like   address bar, buttons, windows,  and interact with all of it.
Unfortunately, browsers (including Firefox) moved to Manifest V2 created by Google, and we no longer have these capabilities.

ipfs-companion only has some basic unit tests for request redirect logic, there was no way to do browser chrome asserts at the time.
@hugomrdias created playwright-test runner which has --extension parameter for running tests in a real WebExtension context (PR).

This is better than nothing, depending on the functionality you want to test, could be enough.
Some things remain impossible to automate since there are no hooks for end-to-end testing any part of native UI such as  "is  chrome.browserAction added to the ui?" etc.

hey @lidel @autonome, sorry it took me a while to write a response here. We discussed this with Metamask already. We are maintaining https://github.com/chainsafe/dappeteer which uses puppeteer to install metamask into chrome/firefox and controls it. We could use it to write e2e tests for snaps right now, but we are delaying that as we are discussing integration directly into snaps cli, making it easier and faster to write those tests.
Let us know if you would like us to wait a bit more to figure out if it's going to be integrated or to do it as is (in which case we should refactor if it gets integrated)?

This is finally possible with dappeteer: https://github.com/ChainSafe/dappeteer#usage-with-snaps


Feelings on podcast:alternateEnclosure?

How are we feeling about this tag?  I've seen very little comment on it, but I know it's something that has been mentioned as needed for alternate bit rates and such.  I see it as being used very infrequently.  But, when needed, could be a great help.  Is there any downside to this, being as how it's optional?

What if we push any tags into phase 2 that aren't going to be implemented by at least one hosting company and one player? Or what if we say a tag will not be adopted until at least one hosting and player company agree to implement it?

That sounds reasonable for this stage in the game.