Bridgy stopped finding my webmention endpoint

For over a month I haven't had any twitter interactions sent as webmentions by bridgy. On my user page, it says "No webmention targets" for everything it finds, even though each of them is a reply to one of my tweets which contains a link back to the source on my site. Each of my posts advertises the webmention endpoint with the HTTP Header.
Update: when I try reauthorizing twitter with bridgy, it says "No valid web sites found in your Twitter profile." So I guess that's why... But my URL is very much in my profile, so I have no idea why this would happen. What does bridgy class as 'valid' exactly?

thanks for reporting!
this turned out to be content negotiation. https://rhiaro.co.uk/ serves multiple content types based on what the user agent sends in the Accept header, defaulting to application/ld+json. Bridgy requires text/html, but doesn't send Accept, so it rejects rhiaro.co.uk pages entirely.
fix is to start sending Accept.

Thanks! Maybe I'm just being impatient, but it found one response to one tweet and sent a webmention for that, but none of the others... https://brid.gy/twitter/rhiaro?responses_before=2016-12-21T02:29:57.586080#responses

yeah, i saw that, sorry. the new one happened after i pushed the content negotiation fix.
i hate to say it, but retrying the old ones isn't easy right now. bridgy can retry lots of cases, but not if it didn't find a webmention endpoint on a site, at least not after the first 24h of automatic retries. #579 may make this easier eventually.
you can send them yourself in the meantime! it takes work, but it's doable: https://brid.gy/about#source-urls

Ohhh I didn't know it didn't retry in that case. No worries, I'll catch them up myself. Thanks!


Adding Multi Tenancy Setup Scripts

@shriramnat,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@shriramnat,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


OKEX,  OKX, getting 50113:Invalid Sign

Hi.
Getting a lot of
Caused by: 50113:Invalid Sign
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at com.fasterxml.jackson.databind.introspect.AnnotatedConstructor.call(AnnotatedConstructor.java:128)
at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:291)
Some stuff goes through. Other stuff dies like that ^^^.
This is how their API signs:
https://github.com/jane-cloud/Open-API-SDK-V5/blob/main/okex-java-sdk-api-v5/src/main/java/com/okex/open/api/client/APIHttpClient.java

   private String sign(final Request request, final String timestamp) {
        final String sign;

        try {
            sign = HmacSHA256Base64Utils.sign(timestamp, this.method(request), this.requestPath(request),
                    this.queryString(request), this.body(request), this.credentials.getSecretKey());
            //System.out.println("签名字符串："+timestamp+this.method(request)+this.requestPath(request)+this.queryString(request)+this.body(request));
        } catch (final IOException e) {
            throw new APIException("Request get body io exception.", e);
        } catch (final CloneNotSupportedException e) {
            throw new APIException("Hmac SHA256 Base64 Signature clone not supported exception.", e);
        } catch (final InvalidKeyException e) {
            throw new APIException("Hmac SHA256 Base64 Signature invalid key exception.", e);
        }
        return sign;
    }

Yes, I synchronized the server's clock with an atomic clock. Don't know if THEY have though.

Hello. @arass
What is the relationship of XChange library to this error?

I am using xcchange library to communicate.
And I'm getting the error above.
I simply added THEIR signature code, in case it helps someone debug.

ok.
Please post the example(code) to reproduce this error.

Hi.
I don't have the IP to post the code. Just letting you know of this bug.
This is a huge issue and this OKX API is worthless wo a fix for it.
I provided their code for how to calculate the signature. Please compare it.
Their support also suggested to check is to make sure this API doesn't reuse/cache signatures between calls.
Thanks.

Looks like related to https://github.com/knowm/XChange/issues/4779


How to download Fleet?

If you want to use the vscode fleet theme, just go to the extension market on vscode and download Jetbrains-Fleet-Theme. If you ask for the Jetbrains new Ide, the experience channel has been closed. Just focus on  the official message


Import/export data using command line API rather than copying files

As the API evolves, it will become harder to robustly add data to the reference server  by manually installing files.  Suggest developing a command line API to install and remove data from a reference server.  Advantages include:

Simplify and insure accurate install of standard file formats
Isolate internal structure of files from user.
Provide way to add additional metedata required by the API but not part of standard file format
Allow for data validation before server is started
Build required indexes, either standard ones, such as BAM indexes, or reference-server specific ones, such as identifier indexes
Simplify automation of reference server setup for production sites

Good ideas...

Looks like a duplicate of #814. @dcolligan should we close this too?

Yeah, this is the repo manager


Not working as vite plugin in storybook

Hello @HorusGoul , This looks a nice plugin for stylex. However, I tried it with the storybook with the following config:
import viteStylexPlugin from 'vite-plugin-stylex';

const config = StorybookConfig = {
    ...restConfig,
    async viteFinal(config) {
        return mergeConfig(config, {
            plugins: [viteStylexPlugin()]
        })
    }
}

The error I'm getting is,
import babel from "@babel/core" Cannot use import statement outside a module.

Hey! @mjangir, thanks for raising this issue. I haven't looked into Storybook yet, but should be next after I fix some issues with the currently supported frameworks.
In the meantime, can you try using a dynamic import of the plugin and see if that fixes it for you? The plugin is an ESM-only package at the moment, and I don't have plans to change that. Maybe it makes it work with your setup:
const config = StorybookConfig = {
    ...restConfig,
    async viteFinal(config) {
        const styleX = await import('vite-plugin-stylex').then(m => m.default)

        return mergeConfig(config, {
            plugins: [styleX()]
        })
    }
}

Ok so I've tested Storybook in a small codebase with stylex enabled, and it seems to work.
#12 introduced e2e tests for Storybook and a demo, so it should be covered by any future update.
Your error seems to be related to the plugin being an ESM-only package. Using import like I showcased in my previous comment should make it work.
If you encounter any other issue with Storybook, please let me know with another issue.
Thanks!


Avoid set read_only conflict when graceful takeover

closes/fixes #922

[x] I've made sure the CHANGELOG.md will remain up-to-date after this PR is merged.

@cndoit18  PTAL


Can authors build a release like katago.exe to help me learn it on Lizzie UI?

Can authors build a release like katago.exe to help me learn it on Lizzie UI?I have trouble in building the source code, because I don't have the docker.Looking forward to early reply.

Thanks for bringing this to our attention. We've added this task to our work queue and hope to have some precompiled binaries released before the holidays.


Add RenderBuffers

https://www.khronos.org/opengl/wiki/Renderbuffer_Object
Creation is simple so then just need to look at the attachment process

done


sendgrid.exceptions.SendGridServerError

Hi,
trying to send email
getting this request:
sendgrid.exceptions.SendGridServerError: (500, b'{"message": "error", "errors": ["Invalid Request"]}')
my settings.py
EMAIL_BACKEND = "sgbackend.SendGridBackend"
DEFAULT_FROM_EMAIL =<EMAIL_ADDRESS>SENDGRID_USER = "login"
SENDGRID_PASSWORD = "password"

my code fails with exception above
from_email = settings.DEFAULT_FROM_EMAIL
         subject = _(u"Verification code")
         to = ('email@test.com',)

         text_content = "Your verification code is: "
         html_content = "Your verification code is :<b>{}</b>".format(instance.emailcode)

         send_mail(subject, text_content, from_email,
                   to, fail_silently=False, html_message=html_content)

Exception Location:	lib\site-packages\sendgrid\sendgrid.py in _raising_send, line 133
Python Executable:	.venv\project\Scripts\python.exe
Python Version:	3.4.2
Django Version:       1.8.3
SendGrid  Version:   1.4.0
what am I doing wrong?

Also the generic sendgrid code breaks as well
         sg = sendgrid.SendGridClient('key')
         message = sendgrid.Mail()
         message.add_to('Test User<EMAIL_ADDRESS>         message.set_subject("Verification code")
         message.set_html('aaa')
         message.set_text('bbb')
<EMAIL_ADDRESS>         status, msg = sg.send(message)
         print(status, msg)

Throws the same error, until in settings.py I comment out
# EMAIL_BACKEND = "sgbackend.SendGridBackend"

fixed. the problem was in subject = _(u"Verification code")


Code generated when connecting a signal in the editor is inconsistent with the official GDScript style guide

Godot version
v3.4.2.stable.official [45eaa2daf]
System information
w10 64
Issue description
When a signal is connected, the connection code appears 1 space apart from the last line of code in the script. In the documentation, good practice suggests leaving 2 spaces between each function.
The user must bother to correct and add those spaces that the editor has not respected. Could godot do it automatically and leave 2 lines between the last line of code and the signal connection code?
Godot does this:

Godot should do this:

Steps to reproduce
Connect a signal
Minimal reproduction project
...

good practice suggests leaving 3 spaces between each function.

Where did you see that?

I think Godot will add too many lines if there was already at least two blank lines at the end of file. Godot should try to detect the number of blank lines at the end of file and adapt the spacing between newly created functions automatically. (Additionally, the script editor could remove extraneous blank lines at the end of a file when saving a file.)

https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_styleguide.html#blank-lines
Two blank lines are expected. Calinou hits the problem on the head.

(Additionally, the script editor could remove extraneous blank lines at the end of a file when saving a file, keeping only 1 blank line at the end.)

This was previously shut down in favor of a git setting and lack of community interest. (Silly I know.) But I'm all in favor.

My mistake, good practice suggests 2 lines. Although godot only inserts 1 empty line when connecting.

In 4.x the following project settings are implemented:

editor/naming/default_signal_callback_name;
editor/naming/default_signal_callback_to_self_name.

See:

#52997
#67018

As for 3.x, these changes cannot be backported directly and should be re-implemented if a contributor wishes to do it. In any case, this is more of a proposal material, not a bug.


hal-gen: Add HAL symbols with underscores

Ignores the error message macros defined in hal/Errors.h.

I'm not quite sure what this is going to add that was not there before (error codes, but not messages?), but I don't see the harm.


Add the upgrade test script for eventing

Fixes #162
Proposed Changes

Added the lines to run upgrade tests for knative eventing.

Release Note

/hold

/hold cancel

/test pull-knative-operator-upgrade-tests


query for Actor Other Names

The query for Actor Other Names is not selective enough and also returns Primary names.
Check with http://data.crystalbridges.org/person-institution/73

@workergnome we dont have a separate repo for http://review.americanartcollaborative.org or the queries, right?

Technically, this is the repository for review.americanartcollaborative.org.  I'll work on this.

Then you need to post bugs against museums who have implemented the current mapping.


Test - src/sockets.js

Description
This PR addresses Issue #144 .
Note that no additional unit tests are added since the current tests are comprehensive. Inline comments are added especially in the early sections of the test so that future contributors can jump on easily.
Affected Dependencies
N/A
How has this been tested?
N/A
Checklist

[x] I have followed the Contribution Guidelines and Code of Conduct
[x] I have commented my code following the OpenMined Styleguide
[x] I have labeled this PR with the relevant Type labels
[ ] My changes are covered by tests

@nahuakang Are you doing anything in this PR that we weren't already doing previously?

@nahuakang Are you doing anything in this PR that we weren't already doing previously?

@cereallarceny No, unit-test-wise the file seems quite comprehensive. Only added comments in case other beginning contributors get confused about the code like I did.


Error

ImportError: cannot import name 'DataChannelSelectionTransform' from 'batchgenerators.transforms' batchgenerators==0.21

Hi, try reinstalling batchgenerators. If the issue persists, please follow nnunet project page. They released their newer version recently.


proposal: x/perf/cmd/benchstat: add -run and -count option

Collecting high quality benchmarks using benchstat is a bit annoying. First you have to run them many times, ideally you want to interleave old and new binaries to make noise less relevant.

Add -run bool option, if set then the old, new, ... file paths are not outputs of go test but go test -c, benchstat will invoke the files using a Thue-Morse sequence and with options -test.run=$^ and -test.bench= with benchstat's -filter option value.
-count specify how many invocation of each should happen, each invocation will run with -test.count=1 (or unset).

Expected usage:
> go test -c -o /tmp/new
> git checkout HEAD~1
> go test -c -o /tmp/old
> benchstat -run -count=10 /tmp/{old,new}

And to get the binaries one would need to checkout specific revisions and compile.

benchrev.sh
#!/bin/bash
set -euo pipefail

if [ "$#" -lt 6 ]; then
    echo "Usage: $0 <revision A> <revision B> [<go test -bench=...>]"
    echo "Runs benchmark for each revision and prints benchstat results."
    echo "Example:"
    echo "  $0 d73a33f1 HEAD ../bin/go test -bench=BenchmarkLarge -count=10 ./internal/zstd"
    exit 2
fi

if [ $(git status --porcelain | wc -l) -ne "0" ]; then
    echo "Please commit your changes or stash them before you switch branches."
    exit 3
fi

readonly REVA="$1"; shift
readonly REVB="$1"; shift

readonly HEAD=$(git rev-parse --abbrev-ref HEAD)
readonly COMMITA=$(git rev-parse "$REVA")
readonly COMMITB=$(git rev-parse "$REVB")
readonly OUT=$(mktemp -d benchrev.XXXXXXXXXX)

function cleanup {
    rm -rf "$OUT"
    git checkout -q "$HEAD"
}
trap cleanup EXIT

git checkout -q "$COMMITA"
"$@" > "$OUT/$COMMITA"

git checkout -q "$COMMITB"
"$@" > "$OUT/$COMMITB"

benchstat "$REVA=$OUT/$COMMITA" "$REVB=$OUT/$COMMITB"

CC @aclements

The Thue-Morse sequence isn't that important here, you could interleave all binaries in order and it would have a very similar effect.
Using Thue-Morse would help break up noise patterns if by malchance some periodic load noise on the machine has a period similar to the benchmarks being run (because they wouldn't be interleaved in order the noise would affect boths benchmark in similar fashions).
Arguably I could add a command in my shell which does:
for i in (seq 10); /tmp/old -test.bench=. | tee /dev/stderr >> /tmp/old.results; /tmp/new -test.bench=. | tee /dev/stderr >> /tmp/new.results; end; benchstat /tmp/{old,new}

but I feel benchstat -run -count=10 /tmp/{old,new} is a quick win that will also help more peoples.

The main comparison to do is with:
> go test -bench=. -count=10 | tee /tmp/new
> git checkout HEAD~1
> go test -bench=. -count=10 | tee /tmp/old
> benchstat /tmp/{old,new}

which has tangible realistical drawbacks.

I agree it would be valuable to have a tool to help with running benchmarks for comparison. It shouldn't be added to benchstat, though, because this is pretty different from the functionality of benchstat. It should be a new tool.
There are many dimensions on which it may make sense to do an A/B comparison, too. Not just between two binaries. Two binaries built from different commits is probably the most common use case, but even that can have unintended results if the benchmark depends on any other checked-in files. Seven years ago (!) I wrote such a tool that was specifically for comparing between git commits, but even that got quite fiddly as I tried to reduce the time to repeatedly switch git checkouts. It may be that with things like build caching, more regular benchmarks, and the enhanced benchmark results format, that we're in a better place to do this now.


When ever i try to install the dependencies it shows an error

npm error code EOVERRIDE
npm error Override for<EMAIL_ADDRESS>conflicts with direct dependency
npm error A complete log of this run can be found in: /Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-debug-0.log
I tried running --lagecy-peer-deps and also the --force but nothing works
Heres the logs if u think it is useful.
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
4 silly config load:file:/Volumes/Code Play/shopify-product-bundler-app/.npmrc
5 silly config load:file:/Users/katcode/.npmrc
6 silly config load:file:/usr/local/etc/npmrc
7 verbose title npm i
8 verbose argv "i" "--force"
9 verbose logfile logs-max:10 dir:/Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-
10 verbose logfile /Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-debug-0.log
11 warn using --force Recommended protections disabled.
12 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912
13 silly logfile start cleaning logs, removing 3 files
14 silly logfile done cleaning log files
15 verbose stack Error: Override for<EMAIL_ADDRESS>conflicts with direct dependency
15 verbose stack     at Node.assertRootOverrides (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/node.js:1336:29)
15 verbose stack     at #loadActual (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/load-actual.js:133:24)
15 verbose stack     at async Promise.all (index 0)
15 verbose stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:131:5)
15 verbose stack     at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5)
15 verbose stack     at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)
15 verbose stack     at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5)
16 error code EOVERRIDE
17 error Override for<EMAIL_ADDRESS>conflicts with direct dependency
18 silly unfinished npm timer reify<PHONE_NUMBER>360
19 silly unfinished npm timer reify:loadTrees<PHONE_NUMBER>363
20 silly unfinished npm timer idealTree:init<PHONE_NUMBER>363
21 verbose cwd /Volumes/Code Play/shopify-product-bundler-app
22 verbose os Darwin 23.6.0
23 verbose node v20.17.0
24 verbose npm  v10.8.3
25 verbose exit 1
26 verbose code 1
27 error A complete log of this run can be found in: /Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-debug-0.log

Hey Abdullah AI Zawad,,
Sorry for the delay in getting back to you – it's been a bit busy this week. I’ve updated the dependencies and pushed the changes, which should hopefully fix the issue. I haven’t had a chance to fully check if everything’s working yet, so if you run into any more problems, just shoot me an email, and I’ll take a look.
Thanks for hanging in there!
Cheers,
Santhosh

From: Abdullah Al Zawad @.>
Sent: 16 September 2024 21:24
To: Santho-sh/shopify-product-bundler-app @.>
Cc: Subscribed @.***>
Subject: [Santho-sh/shopify-product-bundler-app] When ever i try to install the dependencies it shows an error (Issue #1)
npm error code EOVERRIDE
npm error Override for<EMAIL_ADDRESS>conflicts with direct dependency
npm error A complete log of this run can be found in: /Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-debug-0.log
I tried running --lagecy-peer-deps and also the --force but nothing works
Heres the logs if u think it is useful.
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
1 info using @.***
2 info using @.***
3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
4 silly config load:file:/Volumes/Code Play/shopify-product-bundler-app/.npmrc
5 silly config load:file:/Users/katcode/.npmrc
6 silly config load:file:/usr/local/etc/npmrc
7 verbose title npm i
8 verbose argv "i" "--force"
9 verbose logfile logs-max:10 dir:/Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-
10 verbose logfile /Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-debug-0.log
11 warn using --force Recommended protections disabled.
12 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912
13 silly logfile start cleaning logs, removing 3 files
14 silly logfile done cleaning log files
15 verbose stack Error: Override for<EMAIL_ADDRESS>conflicts with direct dependency
15 verbose stack at Node.assertRootOverrides @./arborist/lib/node.js:1336:29)
15 verbose stack at #loadActual @./arborist/lib/arborist/load-actual.js:133:24)
15 verbose stack at async Promise.all (index 0)
15 verbose stack at async Arborist.reify @.***/arborist/lib/arborist/reify.js:131:5)
15 verbose stack at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5)
15 verbose stack at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)
15 verbose stack at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5)
16 error code EOVERRIDE
17 error Override for<EMAIL_ADDRESS>conflicts with direct dependency
18 silly unfinished npm timer reify<PHONE_NUMBER>360
19 silly unfinished npm timer reify:loadTrees<PHONE_NUMBER>363
20 silly unfinished npm timer idealTree:init<PHONE_NUMBER>363
21 verbose cwd /Volumes/Code Play/shopify-product-bundler-app
22 verbose os Darwin 23.6.0
23 verbose node v20.17.0
24 verbose npm v10.8.3
25 verbose exit 1
26 verbose code 1
27 error A complete log of this run can be found in: /Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-debug-0.log
—
Reply to this email directly, view it on GitHubhttps://github.com/Santho-sh/shopify-product-bundler-app/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYOBH6JTBPQKLPMGGHY6MILZW35KBAVCNFSM6AAAAABOJTMNLKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDQOBUHA4TAMQ.
You are receiving this because you are subscribed to this thread.

Hey Abdullah AI Zawad,, Sorry for the delay in getting back to you – it's been a bit busy this week. I’ve updated the dependencies and pushed the changes, which should hopefully fix the issue. I haven’t had a chance to fully check if everything’s working yet, so if you run into any more problems, just shoot me an email, and I’ll take a look. Thanks for hanging in there! Cheers, Santhosh
…
________________________________ From: Abdullah Al Zawad @.> Sent: 16 September 2024 21:24 To: Santho-sh/shopify-product-bundler-app @.> Cc: Subscribed @.> Subject: [Santho-sh/shopify-product-bundler-app] When ever i try to install the dependencies it shows an error (Issue #1) npm error code EOVERRIDE npm error Override for<EMAIL_ADDRESS>conflicts with direct dependency npm error A complete log of this run can be found in: /Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-debug-0.log I tried running --lagecy-peer-deps and also the --force but nothing works Heres the logs if u think it is useful. 0 verbose cli /usr/local/bin/node /usr/local/bin/npm 1 info using @. 2 info using @.*** 3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc 4 silly config load:file:/Volumes/Code Play/shopify-product-bundler-app/.npmrc 5 silly config load:file:/Users/katcode/.npmrc 6 silly config load:file:/usr/local/etc/npmrc 7 verbose title npm i 8 verbose argv "i" "--force" 9 verbose logfile logs-max:10 dir:/Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z- 10 verbose logfile /Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-debug-0.log 11 warn using --force Recommended protections disabled. 12 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912 13 silly logfile start cleaning logs, removing 3 files 14 silly logfile done cleaning log files 15 verbose stack Error: Override for<EMAIL_ADDRESS>conflicts with direct dependency 15 verbose stack at Node.assertRootOverrides @./arborist/lib/node.js:1336:29) 15 verbose stack at #loadActual @./arborist/lib/arborist/load-actual.js:133:24) 15 verbose stack at async Promise.all (index 0) 15 verbose stack at async Arborist.reify @.***/arborist/lib/arborist/reify.js:131:5) 15 verbose stack at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5) 15 verbose stack at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9) 15 verbose stack at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5) 16 error code EOVERRIDE 17 error Override for<EMAIL_ADDRESS>conflicts with direct dependency 18 silly unfinished npm timer reify<PHONE_NUMBER>360 19 silly unfinished npm timer reify:loadTrees<PHONE_NUMBER>363 20 silly unfinished npm timer idealTree:init<PHONE_NUMBER>363 21 verbose cwd /Volumes/Code Play/shopify-product-bundler-app 22 verbose os Darwin 23.6.0 23 verbose node v20.17.0 24 verbose npm v10.8.3 25 verbose exit 1 26 verbose code 1 27 error A complete log of this run can be found in: /Users/katcode/.npm/_logs/2024-09-16T15_52_12_096Z-debug-0.log — Reply to this email directly, view it on GitHub<#1>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYOBH6JTBPQKLPMGGHY6MILZW35KBAVCNFSM6AAAAABOJTMNLKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZDQOBUHA4TAMQ. You are receiving this because you are subscribed to this thread.

Sorry couldn't reply you. Thank you man. Appriciate it!


Fatal error on running npx init command

Expected Behaviour
On running npx @adobe/reactor-sandbox init the sandbox is created and available on 3000 / 4000.
Actual Behaviour
immediate exit and error:
Error:

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '../../app/constants'

Steps to Reproduce / Environment
Node version 16.3.2, npm 8.4.1, Mac OS
Run npx @adobe/reactor-sandbox init
or in a clean Ubuntu install (using docker)
docker container run --interactive --tty --rm ubuntu bash
apt update
apt install nodejs npm
npx @adobe/reactor-sandbox init
Misc
See also (Adobe internal) https://adobe-acs.slack.com/archives/CA8J290S1/p1647233597259119
Workaround
Use previous version: npx<EMAIL_ADDRESS>init

Thanks for the report and sorry for the problem. For now, use the v12.2.1 release


URDF exporting

On downloading a URDF from URL provided in urdf/info/<listing_id>, obj files (and presumably others) have the stl suffix despite being in non-stl formats. Leads to errors in future use cases

fixed in #305


V5: Logo fix

Logo is without a background and it makes it unreadable on dark skined browsers and mobiles. Add white background.

done


Voice Ui dosent want to show uo

Hey i have look throw a lot off the issues here and it wont enable the voice ui even thoe i have voice_enableUi true on, i have clear the cache. cant see a other way to fix this problem then ask.

Don't know what your issue could be, you didn't provide any information, nor did you follow any formats.

Was going to make the formats but the support was so darn slow so i gave up on it and fixit my self.
Btw took you 14 days, not to help me with a simple problem that the ui doesn't show up. You dont need a format for that bc that have nothing to do with server version or anything.

Cool, too bad you didn't decide to share this at all or state how you fixed it for future people.
Also nice that people expect to receive support when providing no information at all, especially for the UI which was something I never wanted to add to this project anyways, but people needed to get off of mumble-voip.


Avoiding <matplotlib.figure.Figure at ......>

I'm working with IPython notebook on a server over ssh. In order to avoid the error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/holoviews/ipython/display_hooks.py", line 203, in wrapped
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/holoviews/ipython/display_hooks.py", line 233, in element_display
    **opts(element, get_plot_size(element, size)))()
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/raster.py", line 34, in __init__
    super(RasterPlot, self).__init__(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/element.py", line 132, in __init__
    uniform=uniform, **dict(params, **plot_opts))
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/plot.py", line 114, in __init__
    self.handles['axis'] = self._init_axis(axis)
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/plot.py", line 248, in _init_axis
    fig = plt.figure()
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 435, in figure
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 47, in new_figure_manager
    return new_figure_manager_given_figure(num, thisFig)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 54, in new_figure_manager_given_figure
    canvas = FigureCanvasQTAgg(figure)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 72, in __init__
    FigureCanvasQT.__init__(self, figure)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4.py", line 68, in __init__
    _create_qApp()
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line 138, in _create_qApp
    raise RuntimeError('Invalid DISPLAY variable')
RuntimeError: Invalid DISPLAY variable

One must evaluate
%matplotlib inline

This always results in <matplotlib.figure.Figure at 0x7fb61b7849d0> being under a HoloMap

Of course normally this won't be an issue, but I'm using a HoloMap in a IPython presentation that I'm preparing. Would you know a way to get rid of this?

Yes this one is pretty annoying. We recommend always using the 'agg' backend. You can either specify the backend in your matplotlibrc file or do it in the notebook using:
from matplotlib import pyplot as plt
plt.switch_backend('agg')

I wonder what %matplotlib inline is doing - I assume it is also switching the backend?

Yep %matplotlib inline switches to agg and %matplotlib nbagg obviously switches to nbagg. I've actually seen other people using the %matplotlib inline trick to avoid getting display and TkAgg errors, not sure how we can make the proper solution more visible.

Hmm.. I am in favour of making 'agg' the default as long as this behaviour can also be disabled easily. We don't want to be accused of being rude!
The fact that  %matplotlib inline switches to 'agg' makes me far less wary of making this behaviour default in our own extension. If we do go ahead with this, I agree it should only happen when loading the ipython extension.
It is a shame that you don't seem able to supply arguments when loading the extension, otherwise it would be easier to customize. As it is, I would recommend:

Setting a global variable default_backend in __init__.py of the extension
Switch to that backend in the load_ipython_extension function.
If default_backend is set to None we can ignore it and not switch to anything.

My main worry is that this might be too late to take effect if matplotlib has been used at all anywhere else. What do you think?

When I use ``%%output backend='nbagg' I'm getting a lot of errors and plots, and in the end the kernel crashes.

Do you have a very recent version of matplotlib? Technically, I believe nbagg is still classified as an experimental feature - although it does seem stable enough in the very latest matplotlib release.

I'm using the latest stable release (1.4.3). Now trying it on my MacBook instead of on a hpc.

Tried it on my laptop and this time no errors, but a shitload of plots.

Ah sorry should have been clearer, %matplotlib nbagg should never be used directly when working with HoloViews. We do support %opts backend='nbagg' to select it as a backend for static figures and for widgets if %opts holomap='widgets' widges='live' is enabled. %matplotlib nbagg enables plt.interactive(), which will generate a separate output for each frame in your HoloMap, as you see above.

Ah I see, but when I don't use %matplotlib nbagg or %matplotlib inline I get the following error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/holoviews/ipython/display_hooks.py", line 203, in wrapped
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/holoviews/ipython/display_hooks.py", line 244, in map_display
    **opts(vmap, get_plot_size(vmap,size)))
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/element.py", line 497, in __init__
    super(OverlayPlot, self).__init__(overlay, ranges=ranges, **params)
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/element.py", line 132, in __init__
    uniform=uniform, **dict(params, **plot_opts))
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/plot.py", line 114, in __init__
    self.handles['axis'] = self._init_axis(axis)
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/plot.py", line 248, in _init_axis
    fig = plt.figure()
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 435, in figure
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 47, in new_figure_manager
    return new_figure_manager_given_figure(num, thisFig)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 54, in new_figure_manager_given_figure
    canvas = FigureCanvasQTAgg(figure)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 72, in __init__
    FigureCanvasQT.__init__(self, figure)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4.py", line 68, in __init__
    _create_qApp()
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line 138, in _create_qApp
    raise RuntimeError('Invalid DISPLAY variable')
RuntimeError: Invalid DISPLAY variable

Did this suggestion not fix it?

Yes this one is pretty annoying. We recommend always using the 'agg' backend. You can either specify the backend in your matplotlibrc file or do it in the notebook using:

from matplotlib import pyplot as plt
plt.switch_backend('agg')

No, again a lot of plots.
Here http://stackoverflow.com/questions/2801882/generating-a-png-with-matplotlib-when-display-is-undefined
Someone says: "Important note: .use needs to be called before pyplot is imported. So if you are, for instance, just trying to import pyplot, you need to import matplotlib first, call use, and than import pyplot. "
Unfortunately this also doesn't make a difference.

OK, (maybe you already said this) but the trick is that I not use
%%output size=250 backend='nbagg'

Hmm.. I am in favour of making 'agg' the default as long as this behaviour can also be disabled easily. We don't want to be accused of being rude!

The fact that  %matplotlib inline switches to 'agg' makes me far less wary of making this behaviour default in our own extension. If we do go ahead with this, I agree it should only happen when loading the ipython extension.

Agreed, 'agg' seems to be the only backend that's properly supported in the notebook. TkAgg and QtAgg both have issues when working remotely. I've encountered the same error as Bas on DICE machines and so have some of the guys on the Kaggle team.

It is a shame that you don't seem able to supply arguments when loading the extension, otherwise it would be easier to customize. As it is, I would recommend:

Setting a global variable default_backend in __init__.py of the extension
Switch to that backend in the load_ipython_extension function.
If default_backend is set to None we can ignore it and not switch to anything.

My main worry is that this might be too late to take effect if matplotlib has been used at all anywhere else. What do you think?

plt.switch_backend seems to work pretty reliably for switching to 'agg' even if matplotlib has been used elsewhere so I think we don't have to worry too much.

OK, (maybe you already said this) but the trick is that I not use

%%output size=250 backend='nbagg'

Hmm, that's worrying. %%opts backend='nbagg' should work. If you don't mind, could you run this in a fresh kernel and report what happens?
import holoviews as hv
import numpy as np

%output holomap='widgets' widgets='live' backend='nbagg'
hv.HoloMap({i: hv.Image(np.random.rand(25,25)) for i in range(10)})

I added %load_ext holoviews.ipython
because of this error:
ERROR: Line magic function `%output` not found.
Out[2]:
:HoloMap   [Default]
   :Image   [x,y]   (z)

and then I got:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/holoviews/ipython/display_hooks.py", line 203, in wrapped
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/holoviews/ipython/display_hooks.py", line 244, in map_display
    **opts(vmap, get_plot_size(vmap,size)))
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/raster.py", line 34, in __init__
    super(RasterPlot, self).__init__(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/element.py", line 132, in __init__
    uniform=uniform, **dict(params, **plot_opts))
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/plot.py", line 114, in __init__
    self.handles['axis'] = self._init_axis(axis)
  File "/usr/local/lib/python2.7/dist-packages/holoviews/plotting/plot.py", line 248, in _init_axis
    fig = plt.figure()
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 435, in figure
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 47, in new_figure_manager
    return new_figure_manager_given_figure(num, thisFig)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 54, in new_figure_manager_given_figure
    canvas = FigureCanvasQTAgg(figure)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 72, in __init__
    FigureCanvasQT.__init__(self, figure)
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4.py", line 68, in __init__
    _create_qApp()
  File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line 138, in _create_qApp
    raise RuntimeError('Invalid DISPLAY variable')
RuntimeError: Invalid DISPLAY variable
Out[3]:
:HoloMap   [Default]
   :Image   [x,y]   (z)

Sorry, I meant:
import holoviews as hv
import numpy as np
from matplotlib import pyplot as plt
plt.switch_backend('agg')
%load_ext holoviews.ipython
%output holomap='widgets' widgets='live' backend='nbagg'
hv.HoloMap({i: hv.Image(np.random.rand(25,25)) for i in range(10)})

On my MacBook I got this:

Do you still get the same error via your remote connection with the updated code?

For the last code that you provided it they look like the screenshot too (both on MacBook and hpc).

Without holomap='widgets' widgets='live' it plots 10 of the same plots.

Okay, that's a bug I'll have to look into. I'd recommend that you create a matplotlibrc file in one of the following locations on your hpc machine ~/.config/matplotlib/matplotlibrc or  ~/.matplotlibrc, containing the following:
backend: agg

Just made sure that the cached widget no longer generates multiple nbagg outputs when.

I've also just added:
backend: agg

to our default rc file, which means that unless you override it explicitly HoloViews will now always use the Agg backend. I think this addresses all the problems raised in this issue so I'll close it now.

Yes this one is pretty annoying. We recommend always using the 'agg' backend. You can either specify the backend in your matplotlibrc file or do it in the notebook using:
from matplotlib import pyplot as plt
plt.switch_backend('agg')

thanks philippjfr. it helped me

Did this suggestion not fix it?

Yes this one is pretty annoying. We recommend always using the 'agg' backend. You can either specify the backend in your matplotlibrc file or do it in the notebook using:
from matplotlib import pyplot as plt
plt.switch_backend('agg')

It helped me.Thanks.


Enable stdout logging for ANCM v1 tests

We should enable stdout logging by default for ANCM v1 tests, which should give enough information to determine the root cause of failures from test logs.

We won't be doing this.


Fix pool connection-creation blocking queries

I have tried several times to get the "create lots of connections" part of connection pooling working as I want it to; namely, allow queries to run while all of the connections are spinning up (the first query running immediately after the first connection returns). Currently, when a pool is initialized with 10 connections, those 10 connections are queued up internally in the Node.js process, and any additional async worker will get queued up behind them. This means that the first query run after a pool is initialized won't actually be started for a long time (10+ seconds in the default case). I thought that using Promise.race would fix the issue, but in reality it didn't have any effect since the Promises began running as soon as they were declared.
I believe this PR finally gets it right. What is does is have an internal queue that can gate the number of connection Promises that are active at any one time. This will allow some of the other threads to be available for doing other work, like running queries. I believe that Node.js has something like 4 threads available by default.
This queue doesn't hold Promises (which would be active if they were being held), but instead a function that generates those Promises. When there is an available thread for making a connection, it calls the function to generate the Promise that will create a connection. This connection is then added to the pool and emits the connected event, which will allow any queries that have been queued up to be executed.
I've also added a new keyword, connectingQueueMax, which allows users to specify how many threads should be dedicated to spinning up connections on the Pool. The default is 1.
I have tested this out, and it actually runs exactly as I've been hoping the pool to work since I made it: If initializing a pool of 10 connections, and allocating only 1 thread for making those connections, it will create the first connection, begin to create the second connection, begin making the query, and then return the query as soon as it has returned. This has reduced the "time to first query return" from something like 13 seconds down to less than 2 seconds (could be faster on other systems)

Running now with only 1 active odbc.connect happening at a time:
ConnectAsyncWorker starting
QueryAsyncWorker starting
ConnectAsyncWorker starting
ConnectAsyncWorker starting
Query returned in JavaScript
ConnectAsyncWorker starting
ConnectAsyncWorker starting
ConnectAsyncWorker starting
ConnectAsyncWorker starting
ConnectAsyncWorker starting
ConnectAsyncWorker starting
ConnectAsyncWorker starting

Immediately after the first connection returns, the query executes. The connections continue to run one after the other, but they don't starve other work of AsyncWorker threads.
Huzzah!


v0.9.46 missing release binaries

Some binaries including linux_amd64 are missing at https://github.com/gogits/gogs/releases/tag/v0.9.46
Thanks for the release! :tada:

I don't have enough machines and no good internet to setup VMs yet, will upload ASAP.

@Unknwon What do you think about create a building platform like jenkins ?

@BurakDev I need native system to compile, so Jenkins might not help.

What about doing some build/release enginering  for the project, or allowing a devops systems engineer to work with you to clean up some of the practices.  We do that, and you can get automated builds and release, and even packaging anywhere you wanted.. or manual, and it would be perfect every time.

Vagrant can be used to build machines and could be jenkins nodes which are controlled from a jenkins master. Probably Gogs can use a build/test system the same as Syncthing does (https://docs.syncthing.net/dev/infrastructure.html).

I have found that https://drone.io combined with Gogs works extremely well for CI for git repos.

@Unknwon thanks for adding them!

Also thanks from me 👍


[website addon] Video

Move from /src/components/ to /packages/addons-website/src/

[ ] move video component to addons
[ ] add custom play button (on IDL site)
[ ] add placeholder "start" image (on IDL site)

duplicate #651


wrong tag message returned

I have added the tag player. I want to add tag team, but when I click

wrong operation. fixed


Ft/issue 43 paywall metabox settings

fyi. the last commit causes an critical error in my online WP install.
need to debug it locally to see what the error is


adding freakynippels69 as game dev

Yes, I am absolutely that vain. Also, I apparently can't spell my shack name correctly.

Does this code work?  There's no comma after the previous entry in the array.  I'm too lazy to pull the branch and test it.

Well that's embarrassing. Fixed and tested now.

pfft some game developer. Preorder canceled.

Please understand.


in-operator broken; "property" in object ALWAYS gets inlined as true

Bug report

What is the current behavior?
Webpack v5 incorrectly evaluates & bundles "property" in object as true, when object imported from a different file, even if the property is not present in the object (e.g. "doesNotExist" in { }).
If the current behavior is a bug, please provide the steps to reproduce.
create the following files (e.g. in an empty src folder):
// testObject.js
export const testObject = {}

// main.js
import { testObject } from './testObject'
console.log('property' in testObject ? 'buggy' : 'not buggy')

With or without a webpack configuration, run webpack (e.g. npx webpack-cli).
Inspect the emitted bundle. (below: without a configuration file)
// main.js (NODE_ENV=production)
!function(){"use strict";console.log("buggy")}();

// main.js (NODE_ENV=development)
... console.log(true ? 'buggy' : 'not buggy') ...

What is the expected behavior?
The expression 'property' in testObject should evaluate to false, or be evaluated at runtime.
For comparison, with webpack v4 or when using terser directly, I get
console.log("property"in{}?"buggy":"not buggy")}

Workarounds:
The issue does not appear / can be worked around if testObject is defined within the same file or if it's indirectly referenced. The following three examples work correctly:
import { testObject } from './testObject'
console.log('property' in (0, testObject) ? 'buggy' : 'not buggy')  // => not buggy

const indirectReference = testObject
console.log('property' in indirectReference ? 'buggy' : 'not buggy')  // => not buggy

const testObject2 = {}
console.log('property' in testObject2 ? 'buggy' : 'not buggy')  // => not buggy

Other relevant information:
webpack version:  5.71.0
Node.js version: v16.14.0
Operating System: Windows 10
This appears to be the root of https://github.com/chakra-ui/chakra-ui/issues/5804 and https://github.com/chakra-ui/chakra-ui/issues/5812, where currently downgrading to webpack v4 (by downgrading react-scripts) is suggested as a workaround.

/cc @vankop I think critical

yeah, please use<EMAIL_ADDRESS>for now..

I can verify, we had to step back to 5.70 as well

This issue also breaks react-redux.

Might help someone that also have the same issue as I had but this also breaks
Socket-io by making connections throw timeouts because of this
this function

@Quovadisqc We had to rollback to webpack 5.70 due to the use of socke.io aswell.

Is this fixed for people in v5.72.0?
I'm still stuck on v5.70.0, but it's possible it's not the same issue.

This issue also breaks react-redux.

I'm just as confused, 5.72.0 still breaks react-redux.

Double decorators.
@SomeDecorators1()
@SomeDecorators2()
export default Class1 {
}

@yoyo837 could you reduce your reproducible repo?

I'll try it.

mini-repo.zip

yarn/npm install
yarn/npm run dev

I got  Could not find "store" in the context of "Connect(TestComp)". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to Connect(TestComp) in connect options.
I found the solution as below:

Downgrade webpack to 5.70.0.
remove Drawer handler props in src\routes\App.js. (Don't know the reason at the moment)
remove the decorator @connect()  in src\routes\App.js - class TestComp. (Do not use redux)

@vankop Looks like still valid

I got Could not find "store" in the context of "Connect(TestComp)". Either wrap the root component in a , or pass a custom React context provider to  and the corresponding React context consumer to Connect(TestComp) in connect options.

I'm getting a similar error in<EMAIL_ADDRESS>
Store 'myStore' is not available! Make sure it is provided by some Provider

When I have a nested <Provider>, the props provided by the parent are missing.
Was thinking this could be a different issue than in


viewType issue

When in viewType we have month and year and changing month or year getting error like this
FixedExtentScrollController.selectedItem cannot be accessed before a scroll view is built with it. 'package:flutter/src/widgets/list_wheel_scroll_view.dart': Failed assertion: line 241 pos 7: 'positions.isNotEmpty'

Your input is appreciated!
We have added the feature and proceeded with the 3.7.4 update.
Thank you.


Marketplace ContentAPI changes

Frst get approval from internal stakeholders (@KseniiaIankina)

@Luyao-Zhang-1 let me know if the PR should be reassigned.

Hi @katarzyna-koltun-mx and @Luyao-Zhang-1,
As we are still in the beta program phase, we have decided to postpone the release of the documentation by one month. We believe it's essential to refine our API based on the feedback that we will receive during the beta program before we finalize and publish the documentation.
Is it also fine for you?

Hi @serdarceranmendix yes, if the API is currently only in Private Beta, we can wait to publish until it is Public Beta or GA, that is fine.


[Bug]: 'lifecycle' hides member of supertype 'LifecycleOwner' and needs 'override' modifier

Version
1.2.3
Environment that reproduces the issue
Device: Pixel 6a (Android 14)
Is it reproducible in the example application?
Yes
Reproduction steps
Run the application in debug mode with target Android.
Expected result
The app runs successfully
Actual result
Build fails:
Launching lib/main.dart on Pixel 6a in debug mode...
e: file:///Users/vincentderidder/Documents/GitHub/api.video-flutter-uploader/android/src/main/kotlin/video/api/flutter/uploader/ProxyLifecycleProvider.kt:23:9 'lifecycle' hides member of supertype 'LifecycleOwner' and needs 'override' modifier
e: file:///Users/vincentderidder/Documents/GitHub/api.video-flutter-uploader/android/src/main/kotlin/video/api/flutter/uploader/ProxyLifecycleProvider.kt:75:5 'getLifecycle' overrides nothing

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':video_uploader:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 45s
Error: Gradle task assembleDebug failed with exit code 1

Exited (1).

Additional context
No response
Relevant logs output
Launching lib/main.dart on Pixel 6a in debug mode...
e: file:///Users/vincentderidder/Documents/GitHub/api.video-flutter-uploader/android/src/main/kotlin/video/api/flutter/uploader/ProxyLifecycleProvider.kt:23:9 'lifecycle' hides member of supertype 'LifecycleOwner' and needs 'override' modifier
e: file:///Users/vincentderidder/Documents/GitHub/api.video-flutter-uploader/android/src/main/kotlin/video/api/flutter/uploader/ProxyLifecycleProvider.kt:75:5 'getLifecycle' overrides nothing

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':video_uploader:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 45s
Error: Gradle task assembleDebug failed with exit code 1

Exited (1).

Hi,
I don't really understand why CI and us don't reproduce this compilation issue.
According to the logs, I made a fix.
Could you try to build the example on the branch: https://github.com/apivideo/api.video-flutter-uploader/pull/21?

Hi,
The example on branch #21 works as expected. Thank you!

Any update on when this fix will be pushed as a new version of the package?

I am going to release the package right now.

Done. @vincentderidder  could you please close this issue as it is resolved now?

I suppose this issue is resolved.
Closing.


Create-AlProjectFolderFromBCContainer

I got the following error when running Create-AlProjectFolderFromBCContainer. The parameters are copied from the documentation. I've already installed the latest build of navcontainerhelper. Am I missing anything?

add the parameter -useBaseAppProperties - or specify -appid, -publisher, etc.

(will update the blog posts)

Thanks Freddy for the quick reply. I added it in, but found another issue.

I am pretty sure I had -includeAL, and didn't have -doNotExportObjectsAsText when creating the container. Here below is the script I used for creating the container.
$additionalParameters = @("--publish  8080:8080",
"--publish  443:443",
"--publish  7046-7049:7046-7049",
"--env publicFileSharePort=8080",
"--env PublicDnsName=$publicdnsName",
"--env RemovePasswordKeyFile=N",
"--storage-opt size=100GB",
"-v c:\temp:c:\temp"
)
New-NavContainer -containerName "bcserver" -imageName "bcinsider.azurecr.io/bcsandbox-master:us-ltsc2019"
-accept_eula -additionalParameters $additionalParameters
-multitenant -useSSL
-includeAL -updateHosts
-assignPremiumPlan -auth NavUserPassword
-memoryLimit 10G `
-licenseFile "c:\temp\nav2018.flf"

Try to run Flush-ContainerHelperCache - some folders might be wrongly created - and then create the container again

Flush-ContainerHelperCache didn't do the trick. Let me recreate the container and see if it works. Thanks Freddy.

As I said - you need to create the container again (after flushing the cache)

Mostly worked, but got the following error, and not sure what is causing it.

Don't know either - you can remove the -addGIT and do that manually if you need GIT.
GIT has a strange way of using exceptions to tell people information - not sure whether this is an error or an information.

Have another error if I use $alFileStructure parameter.

Did you create the myModifiedObjects class?
Remember that the code in blogs is something you need to understand and take ownership over. It works at the time the blogpost is written, but might not work anymore.
When you understand the full blog post it is typically no problem to fix it.
See also here: https://demiliani.com/2019/09/24/dynamics-365-business-central-wave-2-customizing-the-base-application/

Did you manage to make this work?

Will close the issue, please reopen with additional info if the issue persists


Random operation time out Exception When finding elements with FindFirstByXpath

To find elements I use this method a lot, is simple and I like it -> FindFirtByXpath
but Sometimes I get an exception, operation time out,
Any Idea on how to avoid this?
Operation timed out. (Exception from HRESULT: 0x80131505)System.Runtime.InteropServices.COMException (0x80131505): Operation timed out. (Exception from HRESULT: 0x80131505)
at Interop.UIAutomationClient.IUIAutomationTreeWalker.GetNextSiblingElement(IUIAutomationElement element)
at FlaUI.UIA3.UIA3TreeWalker.GetNextSibling(AutomationElement element)
at FlaUI.Core.AutomationElementXPathNavigator.MoveToNext()
at MS.Internal.Xml.XPath.XPathChildIterator.MoveNext()
at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
at MS.Internal.Xml.XPath.FilterQuery.Advance()
at MS.Internal.Xml.XPath.XPathSelectionIterator.MoveNext()
at System.Xml.XPath.XPathNavigator.SelectSingleNode(XPathExpression expression)
at System.Xml.XPath.XPathNavigator.SelectSingleNode(String xpath)
at FlaUI.Core.AutomationElements.Infrastructure.AutomationElement.FindFirstByXPath(String xPath)

Is the application under test not responding for some time or rebuilding the ui while you call FindFirstByXPath?

Yes, I found a method Helpers.WaitUntilResponsive()
Will that help?

It would make sense to wait until your application is not blocking anymore before you search for elements. So you can try the wait method or any other method which tells you if the application has finished whatever it is doing 😆
As an alternative, I could extend the xpath mechanism with flags to retry on exceptions and timeouts.

using Helpers.WaitUntilResponsive(container) has helped.
But sometimes I get another exception :
System.Runtime.InteropServices.COMException (0x80040201): An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)
at Interop.UIAutomationClient.IUIAutomationElement.GetCurrentPropertyValueEx(Int32 propertyId, Int32 ignoreDefaultValue)
at FlaUI.UIA3.UIA3BasicAutomationElement.InternalGetPropertyValue(Int32 propertyId, Boolean cached, Boolean useDefaultIfNotSupported)
at FlaUI.Core.BasicAutomationElementBase.TryGetPropertyValue[T](PropertyId property, T& value)
at FlaUI.Core.Input.Helpers.WaitUntilResponsive(AutomationElement automationElement, TimeSpan timeout)
Any idea on what could do in this case, I haven't found a lot on info on this exception.

Can you please suggest how to wait while the application is rebuilding the UI ?

@ArunaBalasubramanian Whenever possible use async loading in your application with a spinner or some other kind of loading indicator and let FlaUI wait until that indicator is gone / hidden.

@Roemer Thanks for a quick response. Unfortunately, there are no such indicators in my application.
I did try using wait until the element in the new page loaded is not null, but this appears flaky. I either end up in NullReferenceException or COMException - Operation Timeout.
Could you please suggest any other alternative?

It is possible that FlaUI "blocks" while the application is loading (blocked) and therefore a COM timeout is fairly common. Could you put it in a retry loop and just retry on the com timeout exception?

Thanks @Roemer , that seems to have fixed my issue.

I just want to point out, that it might make sense to also set ConnectionTimeout and TransactionTimeout. TransactionTimeout might not be enough.


model.save: Tried to export a function which references 'untracked' resource even though the tensor should be tracked

Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
tf 2.9.1
Custom Code
No
OS Platform and Distribution
Windows 10
Mobile device
No response
Python version
3.7.13
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
11.7.0_516.01/8100
GPU model and memory
No response
Current Behaviour?
I do not understand why this particular tensor (StylePredictionModelDummy/dummy_conv/kernel:0) is not tracked. As you can see my model (style_transfer_model) is created with the Tensorflow functional API and the untracked tensor in question is instantiated as part of StylePredictionModelDummy.__init__() in line 92 and assigned as a class property to self.feature_extractor which is what the error recommends to do to track the value.

The outputs of StylePredictionModelDummy(line 93) are split up(lines 100-105) and routed to the ConditionalInstanceNormalization(line 71) layers as scale and bias inside of the expand layers (line 109). So it also can't be that the tensor is just not used because it is used.

I expect the tensor to be tracked and that the model can be saved.

Standalone code to reproduce the issue
https://colab.research.google.com/drive/1HFq2k12IGO6bsnbd8WWvg3yci6g12BD0?usp=sharing
import numpy as np
import tensorflow as tf

class DummyModel(tf.keras.Model):
    feature_extractor = None

    def __init__(self, name="StylePredictionModelDummy"):
        super().__init__(name=name)

        self.feature_extractor = tf.keras.layers.Conv2D(1, 9, 5, padding='same', name="dummy_conv")

    def call(self, inputs, training=None, mask=None):
        x = self.feature_extractor(inputs)
        return x

image_shape = (None, 960//4, 1920//4, 3)

model = DummyModel()
element = tf.convert_to_tensor(np.zeros((1, image_shape[1], image_shape[2], 3)))

# call once to build model
result = model(element)

model.save(filepath="%TEMP%/model", include_optimizer=False, save_format='tf')

Relevant log output
C:\condaEnvs\realtime-style-transfer\python.exe C:/projects/realtime-style-transfer/save_using_checkpoint.py -C C:\projects\realtime-style-transfer\logs\2022-08-22-10-47-13.310922\last_training_checkpoint -o C:\projects\realtime-style-transfer\temp\saved.tf
tensorflow - DEBUG - Falling back to TensorFlow client; we recommended you install the Cloud TPU client directly with pip install cloud-tpu-client. (tpu_cluster_resolver.py:32 @ 2022-08-22 10:55:32,983)
2022-08-22 10:55:35.933767: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
tensorflow - WARNING - `input_shape` is undefined or non-square, or `rows` is not 224. Weights for input shape (224, 224) will be loaded as the default. (mobilenet_v3.py:256 @ 2022-08-22 10:55:35,939)
models.stylePrediction - INFO - Using 100 style parameters (stylePrediction.py:24 @ 2022-08-22 10:55:37,877)
models.stylePrediction - DEBUG - Using 192 norm parameters (stylePrediction.py:33 @ 2022-08-22 10:55:37,882)
tensorflow - WARNING - `input_shape` is undefined or non-square, or `rows` is not 224. Weights for input shape (224, 224) will be loaded as the default. (mobilenet_v3.py:256 @ 2022-08-22 10:55:37,883)
root - INFO - Running inference to build model... (save_using_checkpoint.py:49 @ 2022-08-22 10:55:44,154)
root - INFO - Saving model... (save_using_checkpoint.py:55 @ 2022-08-22 10:55:47,613)
tensorflow - WARNING - Compiled the loaded model, but the compiled metrics have yet to be built. `model.compile_metrics` will be empty until you train or evaluate the model. (saving_utils.py:328 @ 2022-08-22 10:55:47,613)
absl - WARNING - Found untraced functions such as _jit_compiled_convolution_op, _jit_compiled_convolution_op, _jit_compiled_convolution_op, _jit_compiled_convolution_op, _jit_compiled_convolution_op while saving (showing 5 of 67). These functions will not be directly callable after loading. (save.py:233 @ 2022-08-22 10:56:36,316)
Traceback (most recent call last):
  File "C:\projects\realtime-style-transfer\save_using_checkpoint.py", line 56, in <module>
    style_transfer_model.save(filepath=str(outpath), include_optimizer=False, save_format='tf')
  File "C:\condaEnvs\realtime-style-transfer\lib\site-packages\keras\utils\traceback_utils.py", line 67, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "C:\condaEnvs\realtime-style-transfer\lib\site-packages\tensorflow\python\saved_model\save.py", line 473, in _map_captures_to_created_tensors
    raise AssertionError(
AssertionError: Tried to export a function which references 'untracked' resource Tensor("52018:0", shape=(), dtype=resource). TensorFlow objects (e.g. tf.Variable) captured by functions must be 'tracked' by assigning them to an attribute of a tracked object or assigned to an attribute of the main object directly. See the information below:
	Function name = b'__inference_signature_wrapper_53008'
	Captured Tensor = <ResourceHandle(name="Resource-218-at-0x231ff25da30", device="/job:localhost/replica:0/task:0/device:CPU:0", container="Anonymous", type="class tensorflow::Var", dtype and shapes : "[ DType enum: 1, Shape: [3,3,3,16] ]")>
	Trackable referencing this tensor = <tf.Variable 'Conv/kernel:0' shape=(3, 3, 3, 16) dtype=float32>

Process finished with exit code 1

https://stackoverflow.com/questions/73416907/model-save-tried-to-export-a-function-which-references-untracked-resource-eve/73459151#73459151
The error is due to using a static class member instead of a normal attribute:

class DummyModel(tf.keras.Model):
    feature_extractor = None # <- this is the problem
    def __init__(self):

@singinwhale I tried to replicate the issue on colab, please find the gist here and confirm the same.
Thank you!


Create SQS listeners dynamically

The only way to set up a message listener as far as I can tell is through the @SqsListener or @MessageMapping annotations. But these annotations require the queue name to be a constant.
I am writing a little library to handle SQS queue logic. The library does not know any queue names and does not even know how many listeners there are going to be - that will be determined by the applications that are going to use the library. I can effectively not use the Spring AWS messaging library to set up a skeleton listener class in my library project because of this.
Would you consider adding a way to setup an SQS listener dynamically, through code, so I can add and remove queues and listeners at runtime? I found at least one other person who once had a need for this (1.5 years ago though).

+1 for this, would be a great feature

+1

If you want to deal with dynamic queue's name you can use SPEL like this:
 @SqsListener(value = "my-queue-base-name-${my.param.name}")
public void queueListenerWithDynamicName(MyObject myObject) {
	System.out.println(myObject.getField());
}

And in your properties config you need to set a value to my.param.name, like this: my.param.name=dev or my.param.name=staging or what you want.

I ended up doing something like that, yes, but that's not truly dynamic. That just extracts the name of the queue from your code into a property file. It doesn't change the fact that you need to know in advance how many queues there are going to be (you need one listener object per queue name in an application).
What I'm talking about is the equivalent of creating queues at runtime and then dynamically creating listeners for them. You can't do that with annotations.

Hi @anne-k I got your point now and I don't know how to help you now. If I find a way, I let you know.

Hi guys,
Do you have an update about the creation of the SQS listener dynamically?
Is there any way to do it programmatically using the spring cloud library?
Some other use case that I can think of is that the AWS credentials are not static and need additional work in runtime in order to read them... then, there should be an option to initiate the listener on the fly.
Any help is appreciated!
Thanks,
Kobi.

Hi there,
I faced the same problem. Do you have an update about this topic?

@Configuration
public class SpringCloudAwsConfig {
	@Autowired
	private AmazonSQSAsync amazonSqsAsync;

	public static final String QUEUE_NAME = UUID.randomUUID().toString();

	@PostConstruct
	public void configure(  ) {
		CreateQueueResult createResult = amazonSqsAsync.createQueue(QUEUE_NAME);
		System.setProperty("my.param.name", QUEUE_NAME);
	}
}

@RestController
public class SQSController {
    @SqsListener("${my.param.name}")
    private void receiveMessage(String message) {
        System.out.println("***receive message: "+message);
    }
}

The fact org.springframework.cloud.aws.messaging.listener.SimpleMessageListenerContainer does not implement an interface and instead this concrete class is created and autowired we certainly have a few challenges to achieving this with the code as it stands.
I have not tried this myself but one complete hack that could be attempted would be to autowire in the created instance of SimpleMessageListenerContainer and use reflection to directly access the queueAttributes private method to get the queue attributes then directly add the queue and queue attributes directly to the registeredQueues HashMap private field. This solution clearly violates the intentions of the class designer and is therefore in no way recommended. There could also be unintended consequences that I have not noticed. But if you find yourself completely trapped with no alternative it could be a get out of jail (partially) free card.

I read a blog post taking about a SQS event listening library : https://reflectoring.io/spring-robust-sqs-client/
The mini-framework this author wrote is exactly the sort of thing the original poster is looking for. You can create a registry bean where message handlers can be added alongside arbitrary queue names.
The author even have a spring auto configuration that could easily be repackaged as a spring-starter similar to aws-messaging. If someone were to reach out to the author maybe this could be integrated into the spring aws cloud codebase.
I actually am using SQS and spring for a project and have come across this exact pain point. I would be open to integrating this into the spring aws messaging library of course with the authors blessing/permission.

I read a blog post taking about a SQS event listening library : https://reflectoring.io/spring-robust-sqs-client/
The mini-framework this author wrote is exactly the sort of thing the original poster is looking for. You can create a registry bean where message handlers can be added alongside arbitrary queue names.
The author even have a spring auto configuration that could easily be repackaged as a spring-starter similar to aws-messaging. If someone were to reach out to the author maybe this could be integrated into the spring aws cloud codebase.
I actually am using SQS and spring for a project and have come across this exact pain point. I would be open to integrating this into the spring aws messaging library of course with the authors blessing/permission.

@anne-k I've presented one answer to that stackoverflow post Programatically consume from multiple queues sqs

I read a blog post taking about a SQS event listening library : https://reflectoring.io/spring-robust-sqs-client/
The mini-framework this author wrote is exactly the sort of thing the original poster is looking for. You can create a registry bean where message handlers can be added alongside arbitrary queue names.
The author even have a spring auto configuration that could easily be repackaged as a spring-starter similar to aws-messaging. If someone were to reach out to the author maybe this could be integrated into the spring aws cloud codebase.
I actually am using SQS and spring for a project and have come across this exact pain point. I would be open to integrating this into the spring aws messaging library of course with the authors blessing/permission.

@joegoogle123 your reflectoring io link goes somewhere else. can you edit please?


Channel Dataset Slicing fix

There are issues with how a mth5.groups.ChannelDataset slices when times are given as edges or over or under the data start and end times.  This PR fixes those issues and adds a test.

Codecov Report
Patch coverage: 91.97% and project coverage change: +0.35% :tada:

Comparison is base (0976d4b) 58.12% compared to head (00e90c3) 58.48%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##               fc     #163      +/-   ##
==========================================
+ Coverage   58.12%   58.48%   +0.35%
==========================================
  Files         135      136       +1
  Lines       14693    14791      +98
==========================================
+ Hits         8541     8650     +109
+ Misses       6152     6141      -11

Files Changed
Coverage Δ

mth5/groups/channel_dataset.py
51.40% <73.68%> (+3.36%)
:arrow_up:

tests/test_channel_slice.py
98.98% <98.98%> (ø)

... and 7 files with indirect coverage changes

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


Use connection's filter state object when available for filter state

Use connection's filter state object when available as compared to request's filter state object
Description: Use connection's filter state object when available as compared to request's filter state object
Risk Level: Medium
Testing: Test in Istio/Proxy
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

We should not displace request filter state. These are different filter states -- one applies to many requests. I think we need to expose both for now using a different accessor, e.g. connection_filter_state.
We will need upstream filter state later, too.

@kyessenov : thanks for the feedback. Yes, I saw stats plugin stopped working because of this logic. Added accessor for connection_filter_state.

@kyessenov , @PiotrSikora ,@jplevyak: This is ready for review..


add s390x & ppc64le linux binaries

Same as https://github.com/samuelcolvin/rtoml/pull/55, see @messense.

Codecov Report

Merging #333 (6458c74) into main (463ed7a) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #333   +/-   ##
=======================================
  Coverage   97.35%   97.35%
=======================================
  Files          57       57
  Lines        6890     6890
  Branches       46       46
=======================================
  Hits         6708     6708
  Misses        182      182

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 463ed7a...6458c74. Read the comment docs.

I think they also need container to support mimalloc.
https://github.com/pydantic/pydantic-core/blob/463ed7aa83b08c43bc699e7e5380026551e38876/.github/workflows/ci.yml#L260-L264
They also require the same interpreter because of lacking pypy support ATM.

done.

thanks for your help @messense.


Fix part of #13195 (Size not enforced)

Fix part of #13195 (Size not enforced)

@googlebot I signed it!


Adding ONVIF discovery for supported RTSP Cameras

This PR adds a additional tool for discovering RTSP cameras with ONVIF support. The main feature, RTSPDiscovery.discover_camera_ips(), enables the user to scan the local network to generate a list of camera IP addresses. An optional option, try_default_logins, can also be used to try all the default credentials to get the stream URLs right away.
After getting the list of cameras, user can then modify the returned ONVIFDeviceInfo from RTSPDiscovery.discover_camera_ips() with the correct username and password and calls RTSPDiscovery.generate_rtsp_urls() to generate all the available RTSP URLs for that camera.

Closing this PR to figure out licensing related issues


Load Tests Broken

Bug
Describe the Bug
As identified while reviewing #621, load tests are not working correctly.  They were passing at some point.  Consider walking back in history to see if there is an obvious culprit.  The purpose of this ticket is to fix the load tests, as they are architected today.  Out of scope, for example, is to have the load tests run against a deployed environment.
Notes

See Slack for some details.

Going through the history this works as of commit 68c767aa45ea4ebc7a16d524d2de7959a9a3b218


@fitmodel errors on sanction dataset with seed 123.

Consider the following code.
using RDatasets, CRRao

sanction = dataset("Zelig", "sanction")
CRRao_seed(123)

model = @fitmodel((Num ~ Target + Coop + NCost), sanction, NegBinomRegression(), Prior_Cauchy())

The above code returns an error (the error message is too long to print here).
Running the same code with a different seed (42) runs successfully, but with a warning (the image of the warning is attached).

This warning is not due to seed choice. This warning is due to the MCMC chain exploring some possible values and getting some illegal values at the initial stage. This warning is coming from Turing. Can't tell why it stops due to seed 123. Can you please share the error message from seed 123?

NegativeBinomial: the condition zero(p) < p <= one(p) is not satisfied.

This is the error when we use seed = 123

This is very odd. This issue is supposed to be mathematically taken care of in the modeling. What is the probability 1 is turning out as 1.000000002 ! Do you think it is possible?

We should file this issue in Turing.jl

Let me prepare a note with code easy to understand for the Turing developer.

This is the underlying code:
using Turing, Random, RDatasets, StatsModels
Random.seed!(123)
data = dataset("Zelig", "sanction")
formula = @formula(Num ~ Target + Coop + NCost)
formula = apply_schema(formula, schema(formula, data));
y, X = modelcols(formula, data);
@model NegBinomReg(X, y) = begin
    p = size(X, 2);
    n = size(X, 1);
    #priors
    λ~InverseGamma(1.0,1.0)
    ν~InverseGamma(1.0,1.0)
    α ~ TDist(ν)*λ
    β ~ filldist(TDist(ν)*λ, p)

    ## link
    z = α .+ X * β
    mu = exp.(z)

    #likelihood
    for i = 1:n
        y[i] ~ NegativeBinomial(λ, (1 / (1 + mu[i]/ λ)))
    end
end
NegBinomReg_model=NegBinomReg(X,y);
chain = sample(NegBinomReg_model, NUTS(), 10000)
summaries, quantiles = describe(chain)

@sourish-cmi it is running perfectly. We aren't able to isolate the bug to report it on Turing.

@sourish-cmi can you make a small code reproducible code for this for the Turing folks.

@ayushpatnaikgit @codetalker7
Ran the code successfully on my end. I believe the bug is fixed now. Shall we close this issue?

@ayushpatnaikgit @codetalker7
https://github.com/xKDR/CRRao.jl/issues/3#issuecomment-1239568864
Shall we close this issue? You thought?

Hello @sourish-cmi. I will try to run this code again, by generating a few hundred random seeds (this was how I discovered this error in the first place). I believe this error still exists, and I'll let you know once I run the tests.
In fact, I think the error mentioned in https://github.com/xKDR/CRRao.jl/pull/13 is also similar, and can be discovered like this. I'll try this out, and comment here.

@codetalker7 okay great idea.

Hi @sourish-cmi. I ran the following test for different priors for linear regression.
using CRRao, Test, StableRNGs, Logging, RDatasets, Random
Logging.disable_logging(Logging.Warn)
CRRao.setprogress!(false)

mtcars = dataset("datasets", "mtcars")

priors = [
    Prior_Ridge(),
    Prior_Laplace(),
    Prior_Cauchy(),
    Prior_TDist(),
    Prior_Uniform(),
]

for prior in priors
    for i in 1:1000
        seed = rand(1:1000)

        try
            CRRao.set_rng(StableRNG(seed))
            model = @fitmodel(MPG ~ HP + WT + Gear, mtcars, LinearRegression(), prior)
        catch e
            println(e)
            println(seed)
            break
        end
    end
end

For Prior_TDist, I get that the random seed 707 throws an error, saying that condition \sigma > zero(\sigma) is undefined. In particular, the following code throws an error.
using CRRao, StableRNGs

mtcars = dataset("datasets", "mtcars")
CRRao.set_rng(StableRNG(707))
model = @fitmodel(MPG ~ HP + WT + Gear, mtcars, LinearRegression(), Prior_TDist)

I'm sure that for other regression models as well, we can recover similar erroneous cases. The only problem is that these tests take a long time to run.

I tried running the same test for NegBinomRegression as well, and I got errors on all the priors. The corresponding random seeds I got are the following.

Prior_Ridge: 682
Prior_Laplace: 456
Prior_Cauchy: 839
Prior_TDist: 764
Prior_Uniform: 516

I think either this is an issue in Turing.jl, or some problem with the model definitions (or could be something else too).

On a different thought - it might be the issue with the parameter h -  we may have to choose a meaningful choice of h. Let me test on my side - with these seeds - with default and a different choice of h


dune3d: 1.1.0 -> 1.2.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/dune3d/dune3d/releases.
meta.description for dune3d is: 3D CAD application
meta.homepage for dune3d is: https://dune3d.org
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.2.0 with grep in /nix/store/pgqaad4acv6dk30n67gqb0mrmhijdipw-dune3d-1.2.0
found 1.2.0 in filename of file in /nix/store/pgqaad4acv6dk30n67gqb0mrmhijdipw-dune3d-1.2.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

dune3d

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pgqaad4acv6dk30n67gqb0mrmhijdipw-dune3d-1.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dune3d https://github.com/r-ryantm/nixpkgs/archive/b737624fa3f5fe0eeb1376accb39751819f3128a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/b737624fa3f5fe0eeb1376accb39751819f3128a#dune3d

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pgqaad4acv6dk30n67gqb0mrmhijdipw-dune3d-1.2.0
ls -la /nix/store/pgqaad4acv6dk30n67gqb0mrmhijdipw-dune3d-1.2.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

dune3d

Maintainer pings
cc @0x4A6F @jue89 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

@NixOS/nixpkgs-merge-bot merge


affected/package: x/mobile

What version of Go are you using (go version)?

$ go version
go version go1.20.1 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/zergon321/.cache/go-build"
GOENV="/home/zergon321/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/zergon321/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/zergon321/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.20.1"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build824783065=/tmp/go-build -gno-record-gcc-switches"

What did you do?

I installed golang.org/x/mobile and latest Android SDK and NDK via Android Studio. Then I downloaded the openal-soft source code. After this I ran:
ANDROID_PLATFORM=android-25 ANDROID_HOME=~/Android/Sdk/ ANDROID_NDK_HOME=~/Android/Sdk/ndk/25.2.9519653/ gomobile init -openal ~/cpp/openal-soft/

What did you expect to see?
I expected the command to build OpenAL for Android so it could be used with gomobile build
and gomobile install.
What did you see instead?
gomobile: ANDROID_NDK_HOME specifies /home/zergon321/Android/Sdk/ndk/25.2.9519653/, which is unusable: unsupported API version 16 (not in 19..33)

When I look at https://developer.android.com/ndk/downloads/revision_history, it looks pretty clear that the version of the NDK you are using (24) only supports API level 19 and above:
Jelly Bean (APIs 16, 17, and 18) is no longer supported. The minimum OS supported by the NDK is KitKat (API level 19).

So what you are seeing looks like expected behavior.  Suggest you select a different android API level with the proper flag, e.g. https://cs.opensource.google/go/x/mobile/+/master:cmd/gomobile/build.go;l=63;drc=43a0384520996c8376bfb8637390f12b44773e65

But the gomobile init command does not support the -androidapi flag.
$ ANDROID_HOME=~/Android/Sdk/ ANDROID_NDK_HOME=~/Android/Sdk/ndk/25.2.9519653/ gomobile init -androidapi 25 -openal ~/cpp/openal-soft/

Gives the output:
flag provided but not defined: -androidapi
usage: gomobile init [-openal dir]

If a OpenAL source directory is specified with -openal, init will
build an Android version of OpenAL for use with gomobile build
and gomobile install.

So what should I do exactly?

I see. This does seem like a problem.
@hyangah do you have any insights here? Perhaps minAndroidAPI needs to be bumped?

(CC @golang/android)

Possibly https://cs.opensource.google/go/x/mobile/+/master:internal/binres/binres.go;drc=8578da9835fd365e78a6e63048c103b27a53a82c;l=253 is to blame.
Build succeeds: gomobile build -target=android -androidapi 29 golang.org/x/mobile/example/basic
But install fails: gomobile install  -target=android -androidapi 29 golang.org/x/mobile/example/basic with:
adb: failed to install basic.apk: Failure [INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 23, but found 16]

Inspecting the built basic.apk with apktool d basic.apk reveals in ndroidManifest.xml: platformBuildVersionCode="16" (and no other API version mention).


EdgeUtils: Query and Cookie helper classes

Updated and aligned with EdgeGPT 0.11.8.

@PFython Wrong branch ☠


added collation to sql database

Fixes #1031

@prithvi081099 your tests are failing

also add collattion at dabase level


Added Canon EOS Jpeg format

The Canon EOS Jpeg format uses a custom signature Canon EOS Jpeg format
There are several other closely realted formats that should be added to docx/image/init.py

This pull request has been waiting for a long time.
Can we have a brief review and merge.


Ensure checks will successfully run for resource-manager prs

Can one of the admins verify this patch?


Update to pyproject.toml structure

Summary
Our packages uses the old structure. We should modernize and use the latest versions instead.
Context
We have an unnecessary dependency to pyscaffold and we are having a few problems with building our packages in certain environments, such as building the etos api within a submodule.
Exemplification
No response
Drawbacks
No response
Out of Scope
No response
Further links
No response
Acceptance Criteria
No response
Implementation Ideas
No response

We should also make sure we can build images without having the .git folder present in the build container.

These packages have already been migrated to pyproject.toml:

ETOS Suite Runner
ETOS Environment Provider
ETOS Library

Not migrated yet:

ETOS Test Runner
ETOS API


docs: fix display_name in Apple backend example

All Submissions:

[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
N/A Have you added an explanation of what problem you are trying to solve with this PR?
N/A Have you added information on what your changes do and why you chose this as your solution?
N/A Have you written new tests for your changes?
N/A Does your submission pass tests?
N/A This project follows PEP8 style guide.

Thanks!


[FLINK-26782][table] Remove PlannerExpression

This PR includes both the fix for FLINK-26782 and FLINK-18286

This PR is not complete and takes a while to finish it, will open a new PR only for the first commit


Email attribute does not validate on form submission

https://www.concrete5.org/community/forums/customizing_c5/attribute-validation-not-working-in-concrete5-8.2.1/
Steps to reproduce:

create an email page attribute
Dashboard > Pages & Themes > Attributes > Add Attribute > Email
add the email page attribute to a page
set the email attribute value to an invalid email address ("abcd")
save the changes

The invalid email address will save without validation from the browser email input type or the validateForm() email attribute controller method.
https://github.com/concrete5/concrete5/blob/develop/concrete/attributes/email/controller.php#L30-L42

This is actually simply the way the attributes panel works in general. I don't believe any of the attributes are validated on save in the attributes panel. That should be pretty easy to do.


Can't auto create hosts

Hi,
First of all thanks for your great role!
I'm having some problems with automatically creating the host for Zabbix, here's my config:
ansible-zabbix-agent:
agent_allowroot: 0
agent_buffersend: 5
agent_buffersize: 100
agent_debuglevel: 3
agent_enableremotecommands: 1
agent_hostnameitem: system.run[hostname -f]
agent_include: /etc/zabbix/zabbix_agentd.d
agent_listenip: <IP_ADDRESS>
agent_listenport: 10050
agent_logfilesize: 1
agent_logremotecommands: 0
agent_maxlinespersecond: 100
agent_pidfile: /var/run/zabbix/zabbix_agentd.pid
agent_refreshactivechecks: 120
agent_server: myzabbixserver
agent_serveractive: myzabbixserver
agent_startagents: 3
agent_timeout: 3
agent_unsafeuserparameters: 0
zabbix_api_create_hosts: True
zabbix_create_host: present
zabbix_url: "https://myweburl"
zabbix_api_user: my_user
zabbix_api_pass: my_pwd
zabbix_host_groups:
- Linux Servers
zabbix_link_templates:
- Template OS Linux
I'm getting only "skipped" on the step for creating the host:
TASK [ansible-zabbix-agent : Create a new host or update an existing host's info] ***
task path: /Users/nkl/dev/knip/ansible/roles/ansible-zabbix-agent/tasks/main.yml:114
skipping: [<IP_ADDRESS>] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
Also, I have installed zabbix-api through pip on both my local machine where I am running ansible from and the client machine.
What am I doing wrong?
EDIT:  I'm using the latest version, 0.8.0. Client system is Debian 8 x64.

Hi,
What version of Ansible are you using?
"Create a new host or update an existing host's info" is the only one that is skipped, or are both "Create hostgroups" and "Updating host configuration with macros" skipped too?

Hi,
Sorry for this, ansible wasn't reading the vars file properly and that's why this happened.


[MM-47890] Upgrade p-queue from 7.1.0 to 7.3.0

Summary

In the context of regularly upgrading dependencies in web app, this PR upgrades p-queue to latest version.

From version
To version
changelog
Notes

7.1.0
7.3.0
releases
Only some new functionality added without breaking changes. Namely, new "empty" queue event emitted in v7.3.0, as well as an abort task signal and controller added in v7.2.0.

Ticket Link

https://mattermost.atlassian.net/browse/MM-47890
Release Note

NONE

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/254727

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.