Supported architectures must be updated

Supported architectures section must be updated. Those architecture are no longer available in VS. Also UhroSharp must support 64 bits. If it doesn't, I'm afraid it is no longer a viable option for building games with Xamarin due to Google Play policies.

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

ID: 93bcf8b5-741a-9b50-5192-06baa2a03cbb
Version Independent ID: 27814cb7-9a0e-4292-d367-86073068034b
Content: UrhoSharp Android support - Xamarin
Content Source: docs/graphics-games/urhosharp/platform/android.md
Product: xamarin
Technology: xamarin-crossplatform
GitHub Login: @conceptdev
Microsoft Alias: crdun

UrhoSharp is now obsolete, so I'm closing this issue.


Implement source position mappers

SBT source position mappers support was implemented in SBT Compiler Maven Plugin recently.
Create Play!-specific source position mappers for:

routes
Twirl templates

New 1.0.0-beta5-SNAPSHOT snapshot deployed.


trionet access in remote with SDK

Dear ,
ERR_TARGET_UNKNOWN (100008) is raised. IP are correclty defined
We have done multiples tests ( usb cables , ethernet cables ) Windows 7 is used
System is well done from dewetron explorer and no demo unit activated at the same time.
Regards

Dear Arnaud,
Which of the examples are you trying to run?
Could you provide the source-line (or the api-command with it's parameters) which results in the errorcode ERR_TARGET_UNKNOWN?
Thank you and Best Regards

Dear ,
Examples run are from the demo SDK TRIONET_ListBoards and OneAnalogChannels ( just IP address changed )
Regards
From: mponiz @.>
Sent: mercredi 10 novembre 2021 07:34
To: DEWETRON/TRION-SDK @.>
Cc: Arnaud Genebrier @.>; Author @.>
Subject: Re: [DEWETRON/TRION-SDK] trionet access in remote with SDK (Issue #4)
Attention: This message comes from an external sender. Please be careful before opening links or attachments in this mail!
Dear Arnaud,
Which of the examples are you trying to run?
Could you provide the source-line (or the api-command with it's parameters) which results in the errorcode ERR_TARGET_UNKNOWN?
Thank you and Best Regards
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-964827758, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATBF5D43IFFQAUYCG33TXIDULIG6DANCNFSM5HU7OPUQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-964827758", "url": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-964827758", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Here joined , the user source code.
Customer told me that he uses windev  ( I don’t know )
Regards
From: Arnaud Genebrier
Sent: mercredi 10 novembre 2021 09:17
To: 'DEWETRON/TRION-SDK' @.>; DEWETRON/TRION-SDK @.>
Cc: Author @.***>
Subject: RE: [DEWETRON/TRION-SDK] trionet access in remote with SDK (Issue #4)
Dear ,
Examples run are from the demo SDK TRIONET_ListBoards and OneAnalogChannels ( just IP address changed )
Regards
From: mponiz<EMAIL_ADDRESS>Sent: mercredi 10 novembre 2021 07:34
To: DEWETRON/TRION-SDK<EMAIL_ADDRESS>Cc: Arnaud Genebrier<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [DEWETRON/TRION-SDK] trionet access in remote with SDK (Issue #4)
Attention: This message comes from an external sender. Please be careful before opening links or attachments in this mail!
Dear Arnaud,
Which of the examples are you trying to run?
Could you provide the source-line (or the api-command with it's parameters) which results in the errorcode ERR_TARGET_UNKNOWN?
Thank you and Best Regards
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-964827758, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATBF5D43IFFQAUYCG33TXIDULIG6DANCNFSM5HU7OPUQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-964827758", "url": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-964827758", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Dear all ,
I have compiled on my side the example for TRIONET and it doesn’t work also on my side with SDK source examples provided.
Regards
From: Arnaud Genebrier
Sent: mercredi 10 novembre 2021 16:39
To: 'DEWETRON/TRION-SDK' @.>; 'DEWETRON/TRION-SDK' @.>
Cc: 'Author' @.***>
Subject: RE: [DEWETRON/TRION-SDK] trionet access in remote with SDK (Issue #4)
Here joined , the user source code.
Customer told me that he uses windev  ( I don’t know )
Regards
From: Arnaud Genebrier
Sent: mercredi 10 novembre 2021 09:17
To: 'DEWETRON/TRION-SDK'<EMAIL_ADDRESS>DEWETRON/TRION-SDK<EMAIL_ADDRESS>Cc: Author<EMAIL_ADDRESS>Subject: RE: [DEWETRON/TRION-SDK] trionet access in remote with SDK (Issue #4)
Dear ,
Examples run are from the demo SDK TRIONET_ListBoards and OneAnalogChannels ( just IP address changed )
Regards
From: mponiz<EMAIL_ADDRESS>Sent: mercredi 10 novembre 2021 07:34
To: DEWETRON/TRION-SDK<EMAIL_ADDRESS>Cc: Arnaud Genebrier<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [DEWETRON/TRION-SDK] trionet access in remote with SDK (Issue #4)
Attention: This message comes from an external sender. Please be careful before opening links or attachments in this mail!
Dear Arnaud,
Which of the examples are you trying to run?
Could you provide the source-line (or the api-command with it's parameters) which results in the errorcode ERR_TARGET_UNKNOWN?
Thank you and Best Regards
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-964827758, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATBF5D43IFFQAUYCG33TXIDULIG6DANCNFSM5HU7OPUQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-964827758", "url": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-964827758", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Dear Arnaud,
we will check this on our side with a clean GitHub checkout. Maybe there is an issue with the source.
Best Regards,
Michael

Dear Arnaud,
Did you setup the project via cmake as described in README.md, or did you set it up manually.
Background for the question:
Using cmake the project will be set up with the define "USE_TRIONET_API" set.
This define ensures that the trionet-wrapper-api is loaded, that expands the api with the net-capability.
The error-code ERR_TARGET_UNKNOWN (100008) most probably is raised during the 2 commands setting up the network-interface, which would be a hint that the non-net-capable api has been loaded.
Regards
Martin

Hi Martin ,
On my side , i use cmake.
Until now , I used examples from trions application msi by selection Trion SDK during installation.
I have retried with SDK from github always with cmake.
No way to communicate with TRIONET => error : No Trion board found.
Firmware on Trionet is 5.4 version and DEWE2 Driver is 5.7 on my side.
Regards
From: mponiz @.>
Sent: jeudi 11 novembre 2021 14:50
To: DEWETRON/TRION-SDK @.>
Cc: Arnaud Genebrier @.>; Author @.>
Subject: Re: [DEWETRON/TRION-SDK] trionet access in remote with SDK (Issue #4)
Attention: This message comes from an external sender. Please be careful before opening links or attachments in this mail!
Dear Arnaud,
Did you setup the project via cmake as described in README.md, or did you set it up manually.
Background for the question:
Using cmake the project will be set up with the define "USE_TRIONET_API" set.
This define ensures that the trionet-wrapper-api is loaded, that expands the api with the net-capability.
The error-code ERR_TARGET_UNKNOWN (100008) most probably is raised during the 2 commands setting up the network-interface, which would be a hint that the non-net-capable api has been loaded.
Regards
Martin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-966317090, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATBF5D2CZQARP544GZNVSTDULPCXBANCNFSM5HU7OPUQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-966317090", "url": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-966317090", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Hello Arnaud,
That reads like a seperate issue, than the one of the original post (ERR_TARGET_UNKNOWN)
I would like to attach some screenshots, but my windows installation is in german language - so it would be of little use. So I will go with a verbal description.
Don't hessitate to come back, if you need assistance or clarification.
Two things come to my mind, that may cause that behaviour.
Please start with checking possiblity (a).
a.) passing the wrong IP-address to the api in configureNetwork()
The Address that needs to be passed should be the address of your local adapter, and not the address of the TRIONet you try to communicate with.
In configureNetwork() you shoud see the lines
    // Optional: Prints available network interfaces
    //ListNetworkInterfaces();
Please uncomment ListNetworkInterfaces, recompile and the exmple run again.
This will dump a list of available network-adapters from your system.
Find the one, that looks like having a simialar IP-address than the TRIONet you are trying to communicat with (the first 2 octets should be the same, if the subnet-mask is "<IP_ADDRESS>", the flags need to be "4103", indicating the active ones.)
Pass this IP as address in configureNetwork()
Please try again, with this address.
If the issue persists please consider the firewall settings.
b.) Windows Firewall disallowing traffic from the self-built-aplication.
I have had this happening to me yesterday also, and it took me a moment to realize, why the example didn't work.
Could you please try the following steps:

open the windows firewall (pressing ctrl-esc, and typing "firewall" should take you there)
click "Choose Allow an App through Windows Firewall."
you now should see an elaborate list of various applications and services with 1 checkbox in front, and 3 columns with checkboxes after the name
scroll all the way down, till you find "trionet_listboards"
make sure all checkboxes are checked and confirm with OK

Alternatively you could also delete the current rule for "trionet_listboards". In that case the next time you start the application windows will give you a firewall-confirmation-dialog.
Here it is important to check all 3 checkboxes. The USB network is considered a public network from point of view of the firewall as far as I am aware.
Now start the trionet_listboards example again, and see, if the issue persists.
Regards
Martin

Dear ,
Thank for the help.
It works
Regards
From: mponiz @.>
Sent: vendredi 12 novembre 2021 08:03
To: DEWETRON/TRION-SDK @.>
Cc: Arnaud Genebrier @.>; Author @.>
Subject: Re: [DEWETRON/TRION-SDK] trionet access in remote with SDK (Issue #4)
Attention: This message comes from an external sender. Please be careful before opening links or attachments in this mail!
Hello Arnaud,
That reads like a seperate issue, than the one of the original post (ERR_TARGET_UNKNOWN)
I would like to attach some screenshots, but my windows installation is in german language - so it would be of little use. So I will go with a verbal description.
Don't hessitate to come back, if you need assistance or clarification.
Two things come to my mind, that may cause that behaviour.
Please start with checking possiblity (a).
a.) passing the wrong IP-address to the api in configureNetwork()
The Address that needs to be passed should be the address of your local adapter, and not the address of the TRIONet you try to communicate with.
In configureNetwork() you shoud see the lines
// Optional: Prints available network interfaces
//ListNetworkInterfaces();
Please uncomment ListNetworkInterfaces, recompile and the exmple run again.
This will dump a list of available network-adapters from your system.
Find the one, that looks like having a simialar IP-address than the TRIONet you are trying to communicat with (the first 2 octets should be the same, if the subnet-mask is "<IP_ADDRESS>", the flags need to be "4103", indicating the active ones.)
Pass this IP as address in configureNetwork()
Please try again, with this address.
If the issue persists please consider the firewall settings.
b.) Windows Firewall disallowing traffic from the self-built-aplication.
I have had this happening to me yesterday also, and it took me a moment to realize, why the example didn't work.
Could you please try the following steps:

open the windows firewall (pressing ctrl-esc, and typing "firewall" should take you there)
click "Choose Allow an App through Windows Firewall."
you now should see an elaborate list of various applications and services with 1 checkbox in front, and 3 columns with checkboxes after the name
scroll all the way down, till you find "trionet_listboards"
make sure all checkboxes are checked and confirm with OK

Alternatively you could also delete the current rule for "trionet_listboards". In that case the next time you start the application windows will give you a firewall-confirmation-dialog.
Here it is important to check all 3 checkboxes. The USB network is considered a public network from point of view of the firewall as far as I am aware.
Now start the trionet_listboards example again, and see, if the issue persists.
Regards
Martin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-966871937, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATBF5DY2NBOWVCVGELZ6SU3ULS32FANCNFSM5HU7OPUQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-966871937", "url": "https://github.com/DEWETRON/TRION-SDK/issues/4#issuecomment-966871937", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]


sun flare shader filter [suggest]

it would be great if we could have something similar to this to simulate a sun or start
https://shaderfrog.com/app/view/1981

I think pixi-filters should focus on visual effect , not specific entity.
Except the entity should be created by shader , e.g.  rain , snow,  light, water-effect , starry-sky(not star).

I am not really a specialist in filtering and fx, but if you take a look on the source code , the effect can be named Turbulence fractal maybe.
am trying to find.
I wanted to try to put a nice filter on my prototype, but I was not able to find a filter to simulate the desired effect.
From where my suggestion.
My only solution for now, is to make it inside AfterEffect to generate the desired filters, and render it in spriteAnimations.
But that increases the memory quite significantly, and especially does not allow as dynamic as a shader.


Update Third-Party Copyrights

What does this PR do?
Updates LICENSE-3rdparty.csv with official copyrights.
Motivation
Request
Additional Notes
Copyrights were referenced from the following project licenses/source code:

https://github.com/jpype-project/jpype/blob/master/NOTICE
https://github.com/baztian/jaydebeapi/blob/master/jaydebeapi/__init__.py

https://github.com/baztian/jaydebeapi/blob/master/COPYING

https://github.com/jpadilla/pyjwt/blob/master/LICENSE
https://github.com/PyMySQL/PyMySQL/blob/main/LICENSE
https://github.com/Anorov/PySocks/blob/master/LICENSE
https://github.com/yaml/pyyaml/blob/master/LICENSE
https://github.com/irmen/Pyro4/blob/master/LICENSE
https://github.com/mhammond/pywin32/blob/main/adodbapi/adodbapi.py

https://github.com/mhammond/pywin32/blob/main/adodbapi/license.txt

https://github.com/aerospike/aerospike-client-python/blob/master/setup.py

https://github.com/aerospike/aerospike-client-python/blob/master/LICENSE

https://github.com/DavidMuller/aws-requests-auth/blob/master/LICENSE
https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/LICENSE
https://github.com/ofek/binary/blob/master/LICENSE-APACHE

https://github.com/ofek/binary/blob/master/LICENSE-MIT

https://github.com/boto/boto/blob/develop/setup.py

https://github.com/boto/boto/blob/develop/LICENSE

https://github.com/boto/boto3/blob/develop/NOTICE
https://github.com/boto/botocore/blob/develop/NOTICE
https://github.com/tkem/cachetools/blob/master/LICENSE
https://github.com/bucardo/check_postgres/blob/master/LICENSE
https://github.com/xzkostyan/clickhouse-cityhash/blob/master/LICENSE
https://github.com/mymarilyn/clickhouse-driver/blob/master/LICENSE
https://github.com/jazzband/contextlib2/blob/master/LICENSE.txt
https://github.com/pyca/cryptography/blob/main/src/cryptography/__about__.py

https://github.com/pyca/cryptography/blob/main/LICENSE.APACHE
https://github.com/pyca/cryptography/blob/main/LICENSE.BSD
https://github.com/pyca/cryptography/blob/main/LICENSE.PSF
https://github.com/pyca/cryptography/blob/main/LICENSE

https://github.com/DataDog/dd-trace-py/blob/1.x/NOTICE
https://github.com/rthalley/dnspython/blob/master/LICENSE
https://github.com/certik/enum34/blob/master/enum/LICENSE
https://www.saddi.com/software/flup/
https://github.com/pquentin/flup-py3/blob/master/flup/server/fcgi.py
https://github.com/apple/foundationdb/blob/main/LICENSE
https://github.com/agronholm/pythonfutures/blob/master/concurrent/futures/__init__.py
https://github.com/agronholm/pythonfutures/blob/master/LICENSE
https://github.com/gearman/gearmand/blob/master/COPYING
https://github.com/MagicStack/immutables/blob/master/NOTICE
https://github.com/in-toto/in-toto/blob/develop/LICENSE
https://github.com/phihag/ipaddress/blob/master/ipaddress.py

https://github.com/phihag/ipaddress/blob/master/LICENSE

https://github.com/jamesturk/jellyfish/blob/main/LICENSE
https://github.com/dpkp/kafka-python/blob/master/kafka/__init__.py

https://github.com/dpkp/kafka-python/blob/master/LICENSE

https://kazoo.readthedocs.io/en/latest/index.html

https://github.com/python-zk/kazoo/blob/master/LICENSE

https://github.com/kubernetes-client/python/blob/master/setup.py

https://github.com/kubernetes-client/python/blob/master/LICENSE

https://github.com/cannatag/ldap3/blob/dev/ldap3/__init__.py

https://github.com/cannatag/ldap3/blob/dev/LICENSE.txt

https://github.com/lxml/lxml/blob/master/doc/api/conf.py

https://github.com/lxml/lxml/blob/master/LICENSE.txt

https://github.com/python-lz4/python-lz4/blob/master/LICENSE
https://github.com/hajimes/mmh3/blob/master/setup.py

https://github.com/hajimes/mmh3/blob/master/LICENSE

https://opendev.org/openstack/openstacksdk/src/branch/master/setup.py

https://opendev.org/openstack/openstacksdk/src/branch/master/LICENSE

https://github.com/ijl/orjson/blob/master/README.md#license
https://github.com/paramiko/paramiko/blob/main/paramiko/__init__.py

https://github.com/paramiko/paramiko/blob/main/LICENSE

https://github.com/dabeaz/ply/blob/master/ply/lex.py
https://github.com/prometheus/client_python/blob/master/NOTICE
https://github.com/protocolbuffers/protobuf/blob/master/LICENSE
https://github.com/giampaolo/psutil/blob/master/LICENSE
https://github.com/psycopg/psycopg2/blob/master/setup.py

https://github.com/psycopg/psycopg2/blob/master/LICENSE

https://github.com/etingof/pyasn1/blob/master/LICENSE.rst
https://github.com/Legrandin/pycryptodome/blob/master/lib/Crypto/Protocol/__init__.py

https://github.com/Legrandin/pycryptodome/blob/master/LICENSE.rst

https://github.com/samuelcolvin/pydantic/blob/master/LICENSE
https://github.com/mongodb/mongo-python-driver/blob/master/pymongo/__init__.py

https://github.com/mongodb/mongo-python-driver/blob/master/LICENSE

https://github.com/dsuch/pymqi/blob/master/LICENSE
https://github.com/mkleehammer/pyodbc/blob/master/src/pyodbc.rc

https://github.com/mkleehammer/pyodbc/blob/master/LICENSE.txt

https://github.com/etingof/pysmi/blob/master/LICENSE.rst
https://github.com/etingof/pysnmp/blob/master/LICENSE.rst
https://github.com/etingof/pysnmp-mibs/blob/master/LICENSE.txt
https://github.com/jaysonsantos/python-binary-memcached/blob/master/LICENSE
https://github.com/dateutil/dateutil/blob/master/LICENSE
https://github.com/josiahmwalton/python3-gearman/blob/master/LICENSE
https://github.com/vmware/pyvmomi/blob/master/NOTICE.txt
https://github.com/mhammond/pywin32/blob/main/win32/License.txt
https://github.com/redis/redis-py/blob/master/LICENSE
https://github.com/psf/requests/blob/main/NOTICE
https://github.com/requests/requests-kerberos/blob/master/LICENSE
https://github.com/requests/toolbelt/blob/master/LICENSE
https://github.com/msabramo/requests-unixsocket/blob/master/LICENSE
https://github.com/requests/requests-ntlm/blob/master/LICENSE
https://github.com/rethinkdb/rethinkdb/blob/next/LICENSE
https://github.com/benhoyt/scandir/blob/master/LICENSE.txt
https://github.com/secure-systems-lab/securesystemslib/blob/master/LICENSE
https://github.com/berkerpeksag/selectors34/blob/master/LICENSE
https://github.com/python-semver/python-semver/blob/master/LICENSE.txt
https://github.com/irmen/Serpent/blob/master/LICENSE
https://github.com/pyca/service-identity/blob/main/LICENSE
https://github.com/simplejson/simplejson/blob/master/LICENSE.txt
https://github.com/benjaminp/six/blob/master/LICENSE
https://github.com/snowflakedb/snowflake-connector-python/blob/main/LICENSE.txt

https://github.com/snowflakedb/snowflake-connector-python/blob/main/NOTICE

https://github.com/Supervisor/supervisor/blob/master/COPYRIGHT.txt
https://github.com/theupdateframework/python-tuf/blob/develop/LICENSE

https://github.com/theupdateframework/python-tuf/blob/develop/LICENSE-MIT

https://github.com/python/typing/blob/master/LICENSE
https://github.com/Cairnarvon/uptime/blob/master/COPYING.txt
https://github.com/urllib3/urllib3/blob/main/LICENSE.txt
https://github.com/vertica/vertica-python/blob/master/setup.py

https://github.com/vertica/vertica-python/blob/master/LICENSE

https://github.com/hickeroar/win_inet_pton/blob/master/LICENSE
https://github.com/GrahamDumpleton/wrapt/blob/develop/LICENSE

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Superseded by https://github.com/DataDog/integrations-core/pull/13558


Animations not working as expected in IE

I am using Radium keyframes to build a fade-in animation. The animations work as expected in Chrome, however in IE 11 they do not work at all. One interesting thing I noticed is that if I remove & add the animation name in IE Developer Tools (by unchecking and checking the 'animation-name' style) the animation works.
I'm using the latest version of Radium. I tried to create a JsBin to reproduce the issue but the instructions to include Radium in JsBin don't seem to work anymore.

closing in favor of #912


Replace current default app generate with the React or Webpack generator

I'm tempted to say we nuke this template and replace it with either the react or webpack template. Both of those templates generate a more concise, useful and standard app scaffold than this one. Probably something that should be done in a later PR though.
@moxiegirl @yknl thoughts?
Originally posted by @zone117x in https://github.com/blockstack/blockstack-app-generator/pull/54

@zone117x Makes sense. My vote would be to standardize on React.  The vast majority of our tutorials use React.

The webpack one is a bit more agnostic and a bit more approachable for the devs who use different frameworks or no framework. I think there is a relevant subset of devs who don't know React and might be thrown off if the default generated implied they needed to learn & use it.
But I'm totally fine with either one. @yknl @hstove any input?

+1 for webpack template. I think it would be a nice to have.

@zone117x you know, we would still need to allow basic Javascript which is the current default. Here are the currently supported generation methods:

Framework
Use this command to install

Plain Javascript
yo blockstack

Webpack
yo blockstack:webpack

React
yo blockstack:react

Vue
yo blockstack:vue

Maybe we can just leave as is --- we make a general platform promise "you can use any" Javascript you want.  Right now the Hello World is using this Javascript template --- which as you can see has no template specification.

The current default isn't plain javascript, at least not any more than the webpack template is.
It's a cobbled together usage of browserify, express, and open, with their corresponding js and package.json scripts. All of which are used to accomplish what can be done with one coherent tool: a) webpack, or b) the slightly more opinionated react-scripts.
I brought this issue up as a result of talking with an app dev who, due to misunderstanding of the current default app template, was writing nonsensical code that was useless outside of a local dev environment. Like putting app logic into the server.js file.

@zone117x Thanks for the clarification. I was going by how it appeared to work.  If you Implement this change, we need to fix the table in the README and the docs.
BTW, we standardized on React because it works correctly in the supported environments. @Sahana-Srinivasan did ensure that the react changes she made worked in both Mac/Windows without trouble.  Please confirm this will be the case with your webpack changes.

We discussed: React

This is merged to master. Closing this ticket and creating a new one for updating README with new package generator features.


Pwm channels

This supports 95% of all device/channel/pin combinations.  Those that are missing seem to not yet have register support from the underlying stm32f3 crate and mostly just stm32f373 is affected.
As noted from the previous issue, this interface is a bit different from the implementation in the f1xx-hal.  The key thing is that the pins are provided after the channels are returned.
In the f1xx approach there's a combinatoric explosion of possible pin combos.  Just counting common pins for TIM2 there are nearly 2^11 pin combos--so a macro approach is intractable.  Instead, the API enables a bring-your-own-impl for any desired pin combo working.  This a clever approach and can often be quite useful, but it's also overhead for a user.  This alternative approach "just works."
There are also has numerous guard rails in place while remaining intuitive.  Timers/channels/pins not supported by a device cannot be accessed. Channels cannot be enabled until they have pins.  Invalid pins cannot be supplied to a channel. Pins cannot be modified or shared after usage.  A channel may use regular or complementary pins but not both.
When using type inference, the mechanisms behind these invariants is fairly invisible.
This is a large PR, so I'm happy to take the time to address any and all feedback.  I mostly wanted to show that this approach could in fact cover all cases.
Closes #23

After merging in the most recent PR for f303 features, it now fails to build (all other devices work).  Error is that port D/E/F aren't available, but that doesn't quite make sense to me.  Hoping someone might have better insight as to how the previous changes might have affected this!

This is due to different functionalities on the different sub-versions of the f303.
@russellmcc  wrote:

One subtlety here is backwards compatibility, since previously selecting "stm32f303" would give you access to, e.g., the whole E port, but now you don't get access to it until you select a specific chip like "stm32f303xd" which has the E port. I think this is okay since the E port doesn't work on all stm32f303 chips, but just wanted to mention it.

see: https://github.com/stm32-rs/stm32f3xx-hal/pull/32

@strom-und-spiele Ah, thanks for the clarification.  Was looking in the wrong spots before!  I'm a bit dubious about the ability to support sub-devices, but I see how the USB features don't leave any other option, so this makes sense.  Fixed now!

@IamfromSpace hth,
I'm not so sure on how to approach this issue with sub-devices either.
You looking around in the wrong places makes me suggest to really break backwards compatibility and force the usage of the correct subversion. After all (when using this crate), this is a thing you figure out once, put it in your Cargo file and never think about again. And imho it's not harder to determine the full version than just the main one.
The crass alternative (not supporting sub-devices) is something I think would hold back the development of this crate.

I am all up for breaking backwards compatibility. This crate is no where near 1.0.0 so I think it's natural to make some changes for the better.

@strom-und-spiele @dfrankland agreed all around.  Supporting subdevices seems like a must, just quite a challenge today.  Having been working with a the device difference a lot lately, I’ve got some crazy ideas I’ll open a separate issue for—assuming I can get it concrete enough.
For this PR these changes were simple enough and are definitely the right way to go!

Awesome, thank you!


Goci 2690 ds colors to manhattan

The badge update is fixed in the studies-datatable.js file, while the colors needed to be a big digging in the efotrait-util.js.

Looks good!


better docs for derive macro

I might have missed it, but I've been looking for proper reference docs for what can be put in the derive macro directives and all I've found is https://docs.rs/logos/0.12.0/logos/derive.Logos.html which doesn't have any docs at all, and the "by example" docs at the top level which don't provide enough detail.
As an example of a few questions I have that don't seem to be answered by the existing docs:

what flavour of regexps are supported? (PCRE? POSIX? backtracking? capture groups? etc)
how does the "skip" thing work - in the examples, a skip rule is attached to an Error variant, but does it have to be that way? Could it be attached to any variant without the behaviour changing?
what do the #[end], #[extras] and #[logos] directives do?
if there are several directives attached to a single enum variant, is it possible for the callback to tell which one was selected?

As the least formal part of the Logos API, the derive macros could really use some more comprehensive documentation.
Perhaps it exists already - if so, it would be good to link to it from a prominent place :)

Just to answer these here for now, in order:

Subset of what regex-syntax supports, sans: capturing groups (all groups are non-capturing), boundaries, other stuff that eludes me right now.
skip is applied to the single pattern it's attached to, it can be attached to any variant, and the way it works is quite simple: if the pattern is matched, instead of producing a token, the lexer will start a new match from scratch.
#[end] is deprecated, as is #[extras]. #[logos] is the new "namespace" attribute, and you can use it to set other functionality on the lexer, e.g.: #[logos(extras = Type)] will set the Logos::Extras associated type to Type in the derived impl. Extras must implement Default, will be instantiated along with the Lexer, and you can access them by field if you need arbitrary state on the lexer (which can be useful in callbacks).
You can have multiple different patterns, each with its own callback, producing the same enum variant.

@maciejhirsz what you wrote about extras and callbacks just made all the difference for me, thank you! Was struggling with a very annoying collision where depending on the context of how many indents I needed to lex differently. Had no idea extras existed and that solved my problem elegantly!

Closing this as I feel this is now documented in the handbook. If needed, feel free to re-open this issue!


jQuery not loaded on your website

Hi, aishek, tried to test what your plugin does. It doesn't work, you've forgot to load jQuery
https://aishek.github.io/jquery-animateNumber/
thanks.

The problem comes from jQuery being loaded over http instead of https.
Opening the website like this fixes the issue for now:
http://aishek.github.io/jquery-animateNumber/

The problem comes from jQuery being loaded over http instead of https.
Opening the website like this fixes the issue for now:
http://aishek.github.io/jquery-animateNumber/


Add support to prescribe language of new cells in an empty notebook

Install the Jupyter extension
Create a new notebook by creating a new file in the explorer with the extension .ipynb.
Add a new cell
The language of this new cell is Plain Text

We'd like to be able to define the default language of this new cell.
Today the Jupyter extension returns ['*'] for NotebookData.languages
Suggestion

Add support for something like NotebookData.languages = ['python', '*']
This works, however everyone creating a blank notebook using he way decribed above will always end up with Python cells even if they only use R or Julia 100% of the time.
Add an API to ask extension for the preferred language of new cells.
The Jupyter extension has such code. This way when Julia users create new Notebooks using the Jupyter extneions commands like Create New Blank Jupyter Notebook, we know to default the new empty cell to Jualia (as this is what they used last).

Closing as we can resolve this at our end.

Closing as we can resolve this at our end.


DnsResolver CNAME redirect bug

Motviation:
DnsNameResolverContext#followCname attempts to build a query to follow a CNAME, but puts the original hostname in the DnsQuery instead of the CNAME hostname. This will result in not following CNAME redirects correctly.
Result:

DnsNameResolverContext#followCname should use the CNAME instead of the original hostname when building the DnsQuery

Result:
More correct handling of redirect queries.

4.1 (dcb828f02f)

@Scottmitch thanks!


Gherkin cucumber no detect

hello, please help. I tried implementing gherkin using gherkin from "cypress-cucumber-preprocessor/steps", after generating allure the results were not suitable, is there a solution?

@fauzisunarya hello, there is emample that works with cucumber in documents, could you please check it: https://github.com/mmisty/cypress-allure-adapter-example/tree/main/examples/cypress-js-gherkin
And also please check this link: https://github.com/mmisty/cypress-allure-adapter/blob/HEAD/docs/gherkin.md
Let me know how f you still have issues after checking the docs.

closing since no updates


Is Dynamic Island Available with iphone 14 pro simulator?

Hi @1998code, Is Dynamic Island Available with iphone 14 pro simulator?

Yes. @akshay2792

Hi @akshay2792 please download Xcode-beta via https://developer.apple.com/download/applications/
The minimum environment is Xcode 14.1 beta 1.

Refer to the Apple Developer Website.


Add the ability to open the tapback menu with a double tap

I feel so pretentious writing these demanding titles so I'd just like to point out I only do it for formality's sake, thanks for everything Brandon and Merry early Christmas

lol we do it ourselves. It's more of a ledger of things to do, they dont  need to be formal unless it's complicated. I'll work on this

Done. It will be done via an option in User Experience Settings. My branch


Feature/dubbo3.2 add rest method annotation support judge

What is the purpose of the change
dubbo3.2 add rest method annotation support judge
Brief changelog
Verifying this change
@CrazyHZM

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #12835 (fa7b96b) into 3.2 (521b3e0) will decrease coverage by 0.34%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #12835      +/-   ##
============================================
- Coverage     69.79%   69.45%   -0.34%
+ Complexity      341        2     -339
============================================
  Files          3519     1646    -1873
  Lines        167341    68324   -99017
  Branches      28003     9981   -18022
============================================
- Hits         116792    47453   -69339
+ Misses        40457    16287   -24170
+ Partials      10092     4584    -5508

see 1902 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Enable tensorboard visualization and debugging

Hi,
I was aware that models are using Keras interface and Tensorflow backend. Can we add logging to enable tensorboard visualization?
Thanks!

That's a good idea.

You may create a tensorboard callback and pass it to fit like in keras. Please consult keras documentation for further details.


Stop custom node when stopping the dataflow

Requested by @haixuanTao

@haixuanTao Could you give more details on this request?

The problem is that some python program such as ROS python nodes are based on a forever loop. When starting them through dora we might want to stop them on dora stop.

But after discussion, we chose to leave the closing of those forever loops to the user as we might not have enough information on how to stop the nodes.

With the new event stream design merged in #162, all nodes should listen for incoming events, even if they don't expect inputs. Nodes that don't do this will be killed as soon as #184 is merged.

Closing as rhis is now implemented with grace duration


Show status page for deposit

Once the order has been created in Changelly show the status page for deposit.

[ ] Generate and display QR code of Changelly deposit address
[ ] Display text version of QR code
[ ] Have a "Copy to clipboard" button which copies the address.
[ ] Display the amount and currency to send, state that they must send exactly this amount and it must be in one transaction.
[ ] Display the order number and password to enter to check on the status.
[ ] Display a cancel button. This should flag the order as abandoned in the database.
[ ] The order number and generated password should be displayed in the URL. Something like "https://polymorph.to/status/:orderId/:password". Since we're serving this over HTTPS, these will be not visible to any third party unless they successfully do a man in the middle attack by faking our servers SSL certificate.
[ ] Display a link to email the status link to the user complete with orderId and password.
[ ] Display the status link as a link the user can copy.

Example of Changelly's deposit page attached

Requires:

New page with new route to it
New api route on backend for retrieving qr code + address
https
mail server on the backend
ability to alter an order's status in the database, needs new backend api functionality
copy to clipboard functionality (roll our own or use clipboard.js? https://css-tricks.com/native-browser-copy-clipboard/)
if order + password don't match any order in the db, display an 'order not found page'

Also I don't know if we should be emailing plaintext passwords to users


Set localhost as trusted origin in sample .env

Closes #560

Fix CSRF validation when running with nginx container locally
With the default settings provided in .env.sample and using Docker with the nginx container, POST requests fail (this can be verified by trying to login in the admin interface)
This is part of the effort to provide development-ready defaults

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.886%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
874

Relevant Lines:
875

💛  - Coveralls


feat(#6): copy integration test from jeo repository

I copied the integration tests that we created to define our goals (what we want to get from bytecode transformation in order to provide simple inlining optimization.)
Closes: #6.

PR-Codex overview
Detailed summary

Added a new dependency jucs in pom.xml for testing purposes.
Added new Java classes Application, A, and B in the com.example package.
Added new EO classes Application, A, and B in the com.example package.
Added new integration test classes package-info and TrasformationPacksTest in the it package.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

The original discussion: https://github.com/objectionary/jeo-maven-plugin/pull/264

@yegor256 What do you think?

@yegor256 reminder

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 2min)


Error:groovy.lang.MissingPropertyException: No such property: project for class: digital.wup.android_maven_publish.VariantPublishConfiguration

I have this exception when trying to use components.androidDebug or components.androidRelease with Gradle 4.2.1 and AGP 3.0.0

@lsuski How did you work around this issue? I came here from dcendents/android-maven-gradle-plugin#64.

For future reference, I added maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' } to my buildscript repositories and then updated to 3.3.1-SNAPSHOT where the bug is fixed.

3.1.1 has been released.

Having 2 separate publications for debug and release has some drawback - it performs 2 separate uploads to maven repository (for Maven they are separate versions so for SNAPSHOT it increment version counter) but I wanted to have single upload with artifacts: my-lib-debug.aar and my-lib-release.aar.
To workaround this I have this in build.gradle
publishing.publications {
 "mavenAll"(MavenPublication) {
        def addAll=true
        pom.packaging = 'aar'
        android.libraryVariants.all { v ->
            if (addAll) {
                addAll=false
                from components.android // this can be called only once
                setArtifacts([])    //clears artifact added by components.android - my-lib.aar
                artifact(tasks.sourcesJar) //add sources my-lib-sources.jar - optional
            }
            artifact(tasks."bundle${v.name.capitalize()}") {    // add aar artifact my-lib-<variant>.aar
                classifier v.name
            }
        }
    }
}

@lsuski Unfortunately, that prevents your variants from having different dependencies because Maven can only have one pom.xml file per version per artifact ID. The way Google Guava separates their JVM and Android builds is by appending it to the end of the version: guava:23.3-android or guava:23.3-jvm.

Yeah, I know that but in this case I have the same dependencies.

@lsuski Okay, I'm just clarifying and bringing up all of the options for any other people looking for a solution here.


Tag ˋlatest` release

version schematic should add a latest git tag. This can be used as a base when running version on affected projects: nx affected --target version --base latest

We should also add the tag prefix <project>-latest for independent versions to avoid conflicts.

We should also add the tag prefix <project>-latest for independent versions to avoid conflicts.

The more I think about this, the more I wonder if it's up to the builder to tag.
There is a real challenge with independent mode. If we use a different tag for each project then we won't be able to use nx affected and we'll have to build our own mechanism to check which projects should be bumped.
If we use nx affected then we can tag latest but if we run version manually then we shouldn't tag latest.
I can see two different approaches:

Let the CI handle the tagging. This is more flexible as users can run version then ngx-deploy-npm then anything and finally tag latest but it's less convenient and out of the box.
nx run workspace:version should run nx affected --target version --base latest

The more I think about this, the more I wonder if it's up to the builder to tag.
There is a real challenge with independent mode. If we use a different tag for each project then we won't be able to use nx affected and we'll have to build our own mechanism to check which projects should be bumped.
If we use nx affected then we can tag latest but if we run version manually then we shouldn't tag latest.
I can see two different approaches:

Let the CI handle the tagging. This is more flexible as users can run version then ngx-deploy-npm then anything and finally tag latest but it's less convenient and out of the box.
nx run workspace:version should run nx affected --target version --base latest

One other approach would be to simply avoid the latest tag with independent mode, it does not have a meaning to have one single tag for many packages at the same time.
Regarding the nx affected command, we can simply replace the need of the latest tag using GitHub refs.
nx affected:build --base=origin/master --head=${{ github.event.pull_request.head.ref }}

or
nx affected:build --base=origin/master --head=${{ github.event.push.head.ref }}

Do we bring this feature for the synced mode at least? This discussion raise doubts about the whole thing.

One other approach would be to simply avoid the latest tag with independent mode, it does not have a meaning to have one single tag for many packages at the same time.
Regarding the nx affected command, we can simply replace the need of the latest tag using GitHub refs.
nx affected:build --base=origin/master --head=${{ github.event.pull_request.head.ref }}

or
nx affected:build --base=origin/master --head=${{ github.event.push.head.ref }}

Do we bring this feature for the synced mode at least? This discussion raise doubts about the whole thing.

I think that we have to find a solution that solves the following issues:
1. The nx affected base
The problem with the origin/master approach is failing builds.
Suppose one or more builds fail (e.g. libs a, b, c should bump but as something goes wrong with a, they don't), then we fix that in one commit that only affects one of them (e.g. lib a) then some libs won't be bumped (e.g. b & c) while they should.
We need a latest tag that marks the last time that we were able to bump & deploy all apps and libs... or any other generic solution but I can't think of anything easier and as robust as a tag.
2. Publishable packages
We have to publish all packages before tagging & pushing the latest tag.
3. Deployable apps
We have to deploy apps before tagging & pushing the latest tag.
As apps deployment is out of our scope, we have to separate the version & tag-latest steps.

I think that the CI workflow should look something like:
nx affected --base refs/tags/latest version
nx affected --base refs/tags/latest deploy
nx run workspace:tag-latest

... or maybe, we should forget about tags, make version idempotent and run it on all projects:
nx run-many --all --target version
nx affected --base refs/tags/latest deploy

It feels wrong to run version on all projects all the time instead of enjoying the benefits of nx affected but at least we don't pollute git with additional tags. What do you think @edbzn? I'll rename the issue to be less influencing.

I think that we have to find a solution that solves the following issues:
1. The nx affected base
The problem with the origin/master approach is failing builds.
Suppose one or more builds fail (e.g. libs a, b, c should bump but as something goes wrong with a, they don't), then we fix that in one commit that only affects one of them (e.g. lib a) then some libs won't be bumped (e.g. b & c) while they should.
We need a latest tag that marks the last time that we were able to bump & deploy all apps and libs... or any other generic solution but I can't think of anything easier and as robust as a tag.
2. Publishable packages
We have to publish all packages before tagging & pushing the latest tag.
3. Deployable apps
We have to deploy apps before tagging & pushing the latest tag.
As apps deployment is out of our scope, we have to separate the version & tag-latest steps.

I think that the CI workflow should look something like:
nx affected --base refs/tags/latest version
nx affected --base refs/tags/latest deploy
nx run workspace:tag-latest

... or maybe, we should forget about tags, make version idempotent and run it on all projects:
nx run-many --all --target version
nx affected --base refs/tags/latest deploy

It feels wrong to run version on all projects all the time instead of enjoying the benefits of nx affected but at least we don't pollute git with additional tags. What do you think @edbzn? I'll rename the issue to be less influencing.


Old arkenfox versions

Hi, can this gui tool also list old arkenfox iterations? I'm using FF ESR with arkenfox user.js version 115-1 and it honestly would be nice if this tool could display it as well as the latest and greatest.

Hi.  I have just made this possible, and added to FAQ.
For example, to see arkenfox version 115.1 you would use:
https://arkenfox.github.io/gui/?v=115.1

was hoping to save myself some work


Keep the position of the node (cluster/actual node) consistent across views

When switching between cluster view and zoomed in view, keep the positions of the node consistent for better usability.

Keep the colors consistent as well across nodes and views

This is resolved.


add support for docstrings in def-component and def-system

closing this since IMO its not a very useful thing


Create GitHub repo for recording and reporting Support request stats

Currently the Support Request stats are tracked via Google Sheets and reported manually in stand up.  This ticket is to create the same functionality using GitHub and enable automatic reporting to Slack.
I am testing this functionality because:

we cannot get a license for the Google Sheets API and this blocks us from reading the stats sheet via GitHub
processes already exist to report the support data from GitHub into a Slack channel
anyone on the team will be able to update the .csv in GitHub

Considered complete when the following steps have been done:

create a dedicated repository - operations-engineering-support-metadata
export a .csv file of the existing request tracking sheet
upload this sheet to the new repo
check that the sheet can be editted

Note: branch protection will not be active as this will be a daily task and approving the change needs to happen immediately for timely reporting to work.  Therefore GitHub standards will not be met on this repo at this time.

Repo created, README.md updated.  Branch protection removed to enable quick daily changes to the .csv file.  File can be editted.


use official, auto-generated Google API client

This plugin should use the official, auto-generated Google API client: google-apis-firebaseappdistribution_v1 (RubyGems) instead of the hand-written firebase_app_distribution_api_client.rb.

This was partially rolled back due to slow uploads: https://github.com/firebase/fastlane-plugin-firebase_app_distribution/pull/336


Add bundle command

This PR is part of the new packaging workflow that is currently in development. Specifically this is to satisfy milestone 1 of the packaging flow. See document https://docs.google.com/document/d/1VEx2O28Aiiv-JgIBrdoWhD3gTAYfbz0D4JLUOhnwdPY/edit?usp=sharing for a more complete discussion of the new flow.
A quick rundown of what this PR will add to the CLI:
$ dcos package bundle package.json
Created DC/OS Universe package [<package-name>-<version>-<md5-hash>.dcos].

The CLI will resolve any local references found in package.json to create the bundle.

@jsancio Which comments. The Github comments or the comments in the code?

GitHub PR comment. For new commands it is nice for the reviewer to be able to see how the command works by seeing some examples.

@cruhland Was this closed by accident?

@jsancio whoops! Sorry, I'm not quite sure how that happened. Looks like the branch is deleted -- I'm not sure if @larioj can restore the branch or if we'll need to create a new PR.

@jsancio ah, I remember what happened now. @tamarrow and I were cleaning up branches and for some reason, GitHub showed this PR branch (new-install) as being created by me. I didn't recognize the branch so I just assumed I had created it accidentally, and deleted it. I'll make sure to double-check next time.

@cruhland No worries. Restored it.

@cruhland @larioj we should make the feature branch 'protected'. Can we also change the name? new-install is confusing out of context.

@tamarrow Do you have suggestions for a name?

@jsancio i though we agreed that we'd have the validation in cosmos, no?

@jsancio i though we agreed that we'd have the validation in cosmos, no?

We should have validation in Cosmos, Universe and in the CLI. Let's you, @larioj and I sync offline on this.
Thanks!

Note that we changed jsonschema version because we run into this bug: https://github.com/Julian/jsonschema/pull/201

@jsancio we can't get rid of that until spark cli is a binary :/

@jsancio when we merge we should mention the jsonschema version change so we can put it in the release notes :)


Consider adding the non-minified js file in the zip archive

This would help tool repackaging the js file having access to a dev asset. See the relevant issue for CLJSJS packages.

I'm not sure if it belongs here or if I should make a separate issue, but I'd love the npm version to include the unminified version as well. I'm playing around with this using webpack and the sourcemap won't work, which is frustrating.


XElement.ToJson + Json.ToXElement don't round-trip

Although it looks like it was intended to, with the adding of the "-" sigil to distinguish attribute names in the resulting JSON, exporting XML as JSON text and then re-importing throws,
To Reproduce
Run this
using System;
using System.Xml.Linq;

using Manatee.Json;

namespace Example
{
  internal class Program
  {
    private static void Main(string[] args)
    {
      var xmltext = "<Items><Item k=\"1\" v=\"a\" /><Item k=\"2\" v=\"b\" /></Items>";
      var xml = XDocument.Parse(xmltext);

      var jsontext = XmlExtensions.ToJson(xml.Root).ToString();

      var json = JsonValue.Parse(jsontext);

      var xmlout = json.ToXElement("dummy");

      Console.WriteLine("{0}", xmlout);
    }
  }
}

Expected behavior
A default formatted version of the input xmltext value printed out.
Actual behaviour
Raises
System.Xml.XmlException
  HResult=0x80131940
  Message=Name cannot begin with the '-' character, hexadecimal value 0x2D.
  Source=System.Private.Xml
  StackTrace:
   at System.Xml.XmlConvert.VerifyNCName(String name, ExceptionType exceptionType) in /_/src/System.Private.Xml/src/System/Xml/XmlConvert.cs:line 417
   at System.Xml.XmlConvert.VerifyNCName(String name) in /_/src/System.Private.Xml/src/System/Xml/XmlConvert.cs:line 406
   at System.Xml.Linq.XName..ctor(XNamespace ns, String localName) in /_/src/System.Private.Xml.Linq/src/System/Xml/Linq/XName.cs:line 26
   at System.Xml.Linq.XNamespace.GetName(String localName, Int32 index, Int32 count) in /_/src/System.Private.Xml.Linq/src/System/Xml/Linq/XNamespace.cs:line 223
   at System.Xml.Linq.XNamespace.GetName(String localName) in /_/src/System.Private.Xml.Linq/src/System/Xml/Linq/XNamespace.cs:line 59
   at System.Xml.Linq.XName.Get(String expandedName) in /_/src/System.Private.Xml.Linq/src/System/Xml/Linq/XName.cs:line 85
   at System.Xml.Linq.XName.op_Implicit(String expandedName) in /_/src/System.Private.Xml.Linq/src/System/Xml/Linq/XName.cs:line 108
   at Manatee.Json.XmlExtensions._GetXName(String key)
   at Manatee.Json.XmlExtensions.ToXElement(JsonValue json, String key)
   at Manatee.Json.XmlExtensions.ToXElement(JsonValue json, String key)
   at Manatee.Json.XmlExtensions.ToXElement(JsonValue json, String key)
   at Manatee.Json.XmlExtensions.ToXElement(JsonValue json, String key)
   at Manatee.Json.XmlExtensions.ToXElement(JsonValue json, String key)
   at Example.Program.Main(String[] args) in C:\Users\steve\source\repos\ClassLibrary1\ConsoleApp6\Program.cs:line 19

Desktop (please complete the following information):

OS: Win10 Home
.Net Target: netcoreapp3.1
Version: 13.0.4

@SteveGilham thanks for the report.  I'm surprised that someone is using this functionality.  I included it at a whim when I first created this library quite a long time ago.
That said, I've stopped maintaining this library.  If you'd like to explore the issue, I'm happy to accept PRs.  Alternatively, you're welcome to take the code and use it at your own discretion.

@SteveGilham thanks for the report.  I'm surprised that someone is using this functionality.  I included it at a whim when I first created this library quite a long time ago.
That said, I've stopped maintaining this library.  If you'd like to explore the issue, I'm happy to accept PRs.  Alternatively, you're welcome to take the code and use it at your own discretion.


Add custom function option for UUID generation

Proposed change

This PR adds the ability to provide a lua function that generates the UUID for a new note. This allows users to configure telekasten with something like e.g.
require("telekasten").setup({
    uuid_type = os.time()
})

to create a filename with a unix time based UUID. While this "unix" timestamp option could be hardcoded as a uuid_type, passing any custom function allows users to define arbitrarily complex UUID patterns.
Type of change

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (thank you!)
[ ] Code quality improvements to existing code or addition of tests
[ ] Documentation update

Additional information

This PR fixes or closes issue: N/A
This PR is related to issue: N/A

Checklist

[x] I am running the latest version of the plugin.
[x] The code change is tested and works locally.
[x] There is no commented out code in this PR.
[x] The code has been formatted using Stylua (a .stylua.toml file is provided)
[x] The code has been checked with luacheck (a .luacheckrc file is provided)
[x] The README.md has been updated according to this change.
[x] The doc/telekasten.txt helpfile has been updated according to this change.

Thank you for your contribution!
Seems like a very nice way to add complete customization. Thanks for keeping the old options and preventing breaking existing configs.


Kong Oauth2 backend headers NULL and discussion point.

Summary
When backend receives valid Oauth2 Client, headers that are null should not even be set and passed.
X-Consumer-ID: 8aa31296-a4ec-4cb4-bfc7-64a5428b3c65
X-Consumer-Custom-ID: userdata: NULL
X-Consumer-Username: admin
X-Consumer-Groups: c3af0477-4747-4700-b9bc-520d158fdc15, 614c8995-a153-408b-b67d-06f0fc524898
Steps To Reproduce

Create service + route + acl + oauth2 on a proxy and use client credentials flow
Inspect the headers backend received on the proxy
Notice X-Consumer-Custom-ID (which is not set in Kong) getting weirdly null populated on back-end, I think this to be sort of buggy/bad practice.

One other thing I wanted to bring up, X-Consumer-Groups is not a great header nor is it helpful for us, would kong accept a PR boolean to Oauth2 that disables this header? Think about it. A consumer at scale with an ACL to each proxy(if you do it like that) ends up being 100-200+ uuids thrown in this header, not super performant. Would Kong accept a PR to enable/disable that in the Oauth2 schema?
Additional Details & Logs

Kong version 0.14.0

X-Authenticated-Groups(?), do you mean X-Authenticated-Scope?

@jeremyjpj0916 I would give a + for such PR on ACL plugin. I think we also need ngx.authenticated_groups that any plugin can set (such as OpenID Connect or LDAP plugins), so that they can also be used together with ACL plugin.

@bungle yeah I was looking at the OAuth2 code the other day and realized X-Consumer-Groups header had to deal with ACL plguin code and not OAuth2 in my suggestion. So glad to hear you think that would be an appropriate change as each API Provider does not need to know all the groups(which really represent either access to one or many proxies) a member has access to(must be a specific use case yall were thinking about when it was designed). And as for X-Consumer-Custom-ID: userdata: NULL being populated by the OAuth2 plugin you would consider that to be a bug right and a PR to the OAuth2 plugin checking for nil before assignment is appropriate?

Yes, that is a bug, that is lurking around in a lot of places as new dao (kong.db) returns ngx.null (that doesn't evaluate false). And consumer entity was just moved to new. Old dao returned nil in such cases, and evaluated false.

@bungle to fix the scale issue of the ACL with lots of groups(our "groups are essentially route id's representing access to that route) how about this?
https://github.com/Kong/kong/blob/3cdb75baf834599b59e033852102d18eebd8b60e/kong/plugins/acl/handler.lua#L84
set_header(constants.HEADERS.CONSUMER_GROUPS, to_be_blocked)

to
if conf.set_groups_header
   set_header(constants.HEADERS.CONSUMER_GROUPS, to_be_blocked)
end

And Schema change
local Errors = require "kong.dao.errors"

return {
  no_consumer = true,
  fields = {
    whitelist = { type = "array" },
    blacklist = { type = "array" }
  },
  self_check = function(schema, plugin_t, dao, is_update)
    if next(plugin_t.whitelist or {}) and next(plugin_t.blacklist or {}) then
      return false, Errors.schema "You cannot set both a whitelist and a blacklist"
    elseif not (next(plugin_t.whitelist or {}) or next(plugin_t.blacklist or {})) then
      return false, Errors.schema "You must set at least a whitelist or blacklist"
    end
    return true
  end
}

to
local Errors = require "kong.dao.errors"

return {
  no_consumer = true,
  fields = {
    whitelist = { type = "array" },
    blacklist = { type = "array" },
    set_groups_header = { type = "boolean", default = true }
  },
  self_check = function(schema, plugin_t, dao, is_update)
    if next(plugin_t.whitelist or {}) and next(plugin_t.blacklist or {}) then
      return false, Errors.schema "You cannot set both a whitelist and a blacklist"
    elseif not (next(plugin_t.whitelist or {}) or next(plugin_t.blacklist or {})) then
      return false, Errors.schema "You must set at least a whitelist or blacklist"
    end
    return true
  end
}

By defaulting to true it won't impact existing behavior but gives us a switch to turn it off since its not a necessity for most peoples integrations I feel like.
And with the change any reason for being explicit like this and not my below?
  if to_be_blocked == true then -- NOTE: we only catch the boolean here!
    return responses.send_HTTP_FORBIDDEN("You cannot consume this service")
  end

Why not
  if to_be_blocked then -- NOTE: we only catch the boolean here!
    return responses.send_HTTP_FORBIDDEN("You cannot consume this service")
  end

@bungle Just checking, your PR here: https://github.com/Kong/kong/pull/3710 fixes this issue as well as #3617 right? Just if you wanted to bundle and close them together for that same PR for documentation purposes.

@jeremyjpj0916, Yes, I think so. Thanks!


Worker stops after queuing several jobs in a row

I've tried to enqueue several jobs in a row like:
(doseq [{:keys [email]} users]
    (when-not (empty? email)
      (worker/enqueue! worker :send-email {:email email})))

This resulted in:
:proletarian.worker/polling-for-jobs {:worker-thread-id 1, :proletarian.worker/queue-worker-id proletarian[:proletarian/default]}
:proletarian.worker/job-worker-error {:throwable #error {
 :cause HikariPool-1 - Connection is not available, request timed out after 30000ms.
 :via
 [{:type java.sql.SQLTransientConnectionException
   :message HikariPool-1 - Connection is not available, request timed out after 30000ms.
   :at [com.zaxxer.hikari.pool.HikariPool createTimeoutException HikariPool.java 676]}]
 :trace
 [[com.zaxxer.hikari.pool.HikariPool createTimeoutException HikariPool.java 676]
  [com.zaxxer.hikari.pool.HikariPool getConnection HikariPool.java 190]
  [com.zaxxer.hikari.pool.HikariPool getConnection HikariPool.java 155]
  [com.zaxxer.hikari.HikariDataSource getConnection HikariDataSource.java 100]
  [net.ttddyy.dsproxy.support.ProxyDataSource getConnection ProxyDataSource.java 63]
  [proletarian.db$with_connection invokeStatic db.clj 128]
  [proletarian.db$with_connection invoke db.clj 127]
  [proletarian.db$with_tx invokeStatic db.clj 132]
  [proletarian.db$with_tx invoke db.clj 131]
  [proletarian.worker$process_next_job_BANG_ invokeStatic worker.clj 44]
  [proletarian.worker$process_next_job_BANG_ invoke worker.clj 11]
  [proletarian.worker$process_next_jobs_BANG_ invokeStatic worker.clj 74]
  [proletarian.worker$process_next_jobs_BANG_ invoke worker.clj 66]
  [proletarian.worker$create_queue_worker$reify__45271$work_BANG___45277 invoke worker.clj 190]
  [clojure.core$partial$fn__5839 invoke core.clj 2623]
  [clojure.lang.AFn run AFn.java 22]
  [java.util.concurrent.Executors$RunnableAdapter call Executors.java 515]
  [java.util.concurrent.FutureTask runAndReset FutureTask.java 305]
  [java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask run ScheduledThreadPoolExecutor.java 305]
  [java.util.concurrent.ThreadPoolExecutor runWorker ThreadPoolExecutor.java 1128]
  [java.util.concurrent.ThreadPoolExecutor$Worker run ThreadPoolExecutor.java 628]
  [java.lang.Thread run Thread.java 829]]}, :proletarian.worker/queue-worker-id proletarian[:proletarian/default]}
:proletarian.executor/shutting-down {:proletarian.worker/queue-worker-id proletarian[:proletarian/default]}
:proletarian.executor/completed-shutdown {:proletarian.worker/queue-worker-id proletarian[:proletarian/default]}

On the other side, I've tried to manually insert several jobs directly to proletarian.job table like:
INSERT INTO proletarian.job (job_id,queue,job_type,payload,attempts,enqueued_at,process_at) VALUES
('a7f4a6f3-1aaf-4fbd-aca9-731a71fa8a64',':proletarian/default',':send-email','["^ ","~:email","email1@email.com"]',0,'2021-10-29 16:27:37.756','2021-10-29 16:27:37.756')
,('47d2ed6e-a7d3-4d9c-97ca-ac6c2ad8c541',':proletarian/default',':send-email','["^ ","~:email","email2@email.com"]',0,'2021-10-29 16:27:37.780','2021-10-29 16:27:37.780')
,('7763a48d-92fb-4164-ae79-e4b4e688b1ef',':proletarian/default',':send-email','["^ ","~:email","email3@email.com"]',0,'2021-10-29 16:27:37.796','2021-10-29 16:27:37.796')
,('51c87997-a9b2-4a0c-b852-3a4fbf0fb20a',':proletarian/default',':send-email','["^ ","~:email","email4@email.com"]',0,'2021-10-29 16:27:37.821','2021-10-29 16:27:37.821')
,('29e63f4c-7d3d-4f03-afc3-2762e108b8a7',':proletarian/default',':send-email','["^ ","~:email","email5@email.com"]',0,'2021-10-29 16:27:37.837','2021-10-29 16:27:37.837')
,('3d3747db-4c5a-4a9b-ba24-b3dced35056c',':proletarian/default',':send-email','["^ ","~:email","email6@email.com"]',0,'2021-10-29 16:27:37.845','2021-10-29 16:27:37.845')
,('daa631c9-2cf4-496b-9876-c8cf7f968be7',':proletarian/default',':send-email','["^ ","~:email","email7@email.com"]',0,'2021-10-29 16:27:37.860','2021-10-29 16:27:37.860')
,('b862c0d0-4fa0-48bc-a024-46563401a84c',':proletarian/default',':send-email','["^ ","~:email","email8@email.com"]',0,'2021-10-29 16:27:37.876','2021-10-29 16:27:37.876')
,('2b7dc9fb-500b-4cc3-877a-712f8aacdb70',':proletarian/default',':send-email','["^ ","~:email","email9@email.com"]',0,'2021-10-29 16:27:37.894','2021-10-29 16:27:37.894')
,('10b6a4e7-1d22-4adb-8781-63686d3e3c90',':proletarian/default',':send-email','["^ ","~:email","email10@email.com"]',0,'2021-10-29 16:27:37.903','2021-10-29 16:27:37.903');

This worked like a charm and all jobs were successfully processed.
Are you able to take a look into it or implement something like enqueue-many!?

I noticed you're using HikariCP for connection pooling. I can recreate the error you have by setting the :maximum-pool-size for HikariCP to the same value as :proletarian/worker-threads. Then, if you enqueue jobs using the same datasource, there might not be a connection available for the workers when they poll.
I'm going to look into having the workers retry instead of giving up when they encounter a java.sql.SQLTransientException.
In the meantime I'd encourage you to use a separate datasource for the workers. With HikariCP you'd set up one with the same value for :maximum-pool-size as :proletarian/worker-threads, making sure no-one else uses this connection pool. Then you'd always have a connection available when polling. What are the values you're using that is causing problems?

There's a new commit on main for you to try: https://github.com/msolli/proletarian/commit/0bf9dff6c2c99a3f17a914ce582631133ce1b93f
Use these coordinates in deps.edn:
msolli/proletarian {:git/url "https://github.com/msolli/proletarian"
                    :sha     "0bf9dff6c2c99a3f17a914ce582631133ce1b93f"}

This will not stop the Queue Worker when encountering a SQLTransientException, just log it. The polling will continue.
This does not solve your underlying problem, though, which is that there aren't enough connections in the connection pool for your workers and your enqueuing code (see the previous comment).

The fix is now available in release v1.0.54-alpha.


draft fault injection supporting error fault only

Important points:

Redis fault manager class to manage storing map of commands to whatever faults apply, as well as telling envoy what faults should be used at request time
Fault manager is called by void ProxyFilter::onRespValue(Common::Redis::RespValuePtr&& value), where we perform the desired action- ie send an error response. I've hardcoded the command right now- I'll add a util function to parse the command (move it out of redis command stats to the other Redis protocol classes).
Storing fault objects in multimap on fault manager; should I store pointers or do this some other way? Thread saftey issues?
We discussed storing the table of command -> fault probabilities and recalculating them; I am not doing that in this draft; is that still necessary if we don't walk through all faults and just check the runtime each request as we do for other things?
There may be a few little things I need to clean up from moving things around a bit (ie fault manager's construction in proxy filter config, rather than config.cc).
No tests yet!

Reference envoy.yaml that I've been using to validate this, along with redis-cli:
admin:
  access_log_path: "/dev/null"
  address:
    socket_address:
      protocol: TCP
      address: <IP_ADDRESS>
      port_value: 8001
static_resources:
  listeners:
  - name: redis_listener
    address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 22120
    filter_chains:
    - filters:
      - name: envoy.filters.network.redis_proxy
        typed_config:
          "@type": type.googleapis.com/envoy.config.filter.network.redis_proxy.v2.RedisProxy
          stat_prefix: egress_redis
          settings:
            op_timeout: 5s
          prefix_routes:
            catch_all_route:
              cluster: redis_cluster
          faults:
          - fault_type: ERROR
            runtime_fraction:
              default_value:
                numerator: 50
                denominator: HUNDRED
              runtime_key: "bogus_key"
            delay: 0s
            commands:
            - GET
  clusters:
  - name: redis_cluster
    connect_timeout: 1s
    type: strict_dns # static
    lb_policy: MAGLEV
    load_assignment:
      cluster_name: redis_cluster
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: <IP_ADDRESS>
                port_value: 6379

Update with better handling of requests- we have several functions used to handle faults and use the normal callbacks. I added some extra stuff for timers but commented out due not getting it to work (requests and values are hard to do lambda captures with timer, so I need to figure out another way).


Download jdbc driver failed

Description
We have installed dbeaver 23.3.3 on Ubuntu 22.04.3, when we set up a connection to database server (SQL Server, MySQL), there is a pop up windows to download JDBC driver, after click Download button, we get error below, it is annoying...
Driver file download failed.
Do you want to retry?
Reason:
/tmp/.dbeaver-temp/driver-files/57E15E524FD501B993BDB2D795B0A5DA
DBeaver Version
Version <IP_ADDRESS>401211839
Operating System
Ubuntu 22.04.3,
Database and driver
No response
Steps to reproduce

Open dbeaver client from Ubuntu UI
Click "New Database Connection"
Select MySQL for example, click Next
Click "Test Connection"
In the new windows for download, click Download
We got error "Driver file download failed."

Additional context
No response

Hello @gaojinkui
Could you please provide the log files? You can find instructions here: https://dbeaver.com/docs/wiki/Log-files/. Thank you.

Sorry, my colleague has re-installed a lower version dbeaver, I couldn't get full log.
below is the screenshot I kept before. but we have tried, the user can create directory under /tmp directory.
[cid:fecef450-cbd1-44ca-bb6d-95377c2df17a]
BRs
Gao Jinkui

From: Anastasiya @.>
Sent: Monday, January 29, 2024 5:52 PM
To: dbeaver/dbeaver @.>
Cc: gaojinkui @.>; Mention @.>
Subject: Re: [dbeaver/dbeaver] Download jdbc driver failed (Issue #22614)
Hello @gaojinkuihttps://github.com/gaojinkui
Could you please provide the log files? You can find instructions here: https://dbeaver.com/docs/wiki/Log-files/. Thank you.
—
Reply to this email directly, view it on GitHubhttps://github.com/dbeaver/dbeaver/issues/22614#issuecomment-1914334165, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKSW4SFNZSKCBVT7REFRGVDYQ5WNXAVCNFSM6AAAAABCPB77KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJUGMZTIMJWGU.
You are receiving this because you were mentioned.

You need to add your screenshot on this GitHub page. It doesn't work via e-mail.

log-screenshot.pdf


Custom Response Headers only apply for HTTP 200 Responses

There are no custom HTTP Response Headers if you resolve the ADFS root site (where there is no ADFS endpoint listening, it yields a 404). The custom HTTP Response Headers only seem to apply for HTTP 200 responses (not 404's or 307 redirects).

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

ID: c86099dd-a836-ac93-a07e-c535b7a9cab8
Version Independent ID: 71e405f3-bde1-1bfa-633a-b0a557c55f99
Content: Customize HTTP security response headers with AD FS
Content Source: WindowsServerDocs/identity/ad-fs/operations/customize-http-security-headers-ad-fs.md
Product: windows-server
Technology: ad-fs
GitHub Login: @billmath
Microsoft Alias: billmath

Could the be the reason why my AJAX CORS requests to SharePoint through Web Application Proxy does not work? I get a preflight OPTIONS request that responds with 307 and AD FS as Location, violating the CORS policy.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Allow configuration of the flutter crash reporting logic

Currently this writes out a file to the local filesystem and produces github metadata. This logic should be configurable so that the google3 client can direct developers that get crashes to buganizer and ensure that the crash report is written somewhere accessible.
fyi @jmagman  @jamesderlin

@jonahwilliams Did you have a plan for this?  What I'm thinking is just:

Merge _informUserOfCrash (and helper functions it depends on) into the existing CrashReportSender class and expose it as a public method. (Possibly rename the class to just CrashReporter too.)
Add an entry for CrashReportSender to AppContext.

@jamesderlin that seems like a reasonable plan on its own. Is this something you're interested in working on?

Sure.


Unable to resolve Transmitter_Source.Repetition_Rate in ExampleBBM92

When starting with a clear environment, ExampleBBM92 fails as repetition rate is passed to Detector contructor in line 31 with a reference to a missing Transmitter_Source object, which is defined right after, see error trace and code below:
>> ExampleBBM92
Unable to resolve the name 'Transmitter_Source.Repetition_Rate'.

Error in [ExampleBBM92](matlab:matlab.lang.internal.introspective.errorDocCallback('ExampleBBM92', '/MATLAB Drive/Qrackling-20240522/Examples/ExampleBBM92.m', 31)) ([line 31](matlab: opentoline('/MATLAB Drive/Qrackling-20240522/Examples/ExampleBBM92.m',31,0)))
    Transmitter_Source.Repetition_Rate,...

ExampleBBM92.m:
%2.1.1 Detector
% Need to provide repetition rate in order to compute QBER and loss due to
% time gating
Detector = components.Detector( ...
    Wavelength,...
    Transmitter_Source.Repetition_Rate,...
    Time_Gate_Width,...
    Spectral_Filter_Width,...
    'Preset', components.loadPreset("PerkinElmer"));

%2.1.2 Source
Transmitter_Source = components.Source( ...
    Wavelength,...
   'Repetition_Rate', 1E8,...
   'MPN_Signal', 0.1); % we use default values to simplify this example

Thank you, this is now fixed in https://github.com/Free-Space-QKD-Lab-HWU/Qrackling/commit/9289ee2bec4eed7a2ddd71c681de6c993c87c016.
I need to remember to clear all before running these examples


Problem in header file

On this line.
The file error_codes.pb.h is not present.

This file is automatically generated (using protoc) from error_codes.proto. If you build TensorFlow using Bazel, the file will be generated for you. Otherwise, you will need to run protoc on that file to generate the C++ implementation of


Update index.html

The webring-logo is at the bottom right position.

Hey Julian,
Nice website, but it has too few pages to qualify for the webring at this time, also most of the content is documented on offsite pages(bandcamp, vimeo, etc..). Enjoyed the music tho, good summer vibes. If you do decide to add more pages and content to the site, please do open a new PR!
have a good one


Add whitelist/first check spicetify-cli repo

Add spicetify-cli repo as first thing to check/fetch

This seems like a bit of a niche feature atm.


Task tag and image embed link not workking

Expected Behavior
Tasks with the #task tag and #task global filter should be displayed in the list of queries
Current behaviour
Using indented tasks and image embed is conflicting with the tasks query
Steps to reproduce
Create a few lines of text
Create an indented task under the text
Create a query to show tasks in the current page
Embed an image after the task
Add an image on the next line
Working as expected

Task not being displayed in the query

Current page tasks query

Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows

Obsidian Version
1.0.3
Tasks Plugin Version
1.17.0
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
Add space between task line and image embed

@icebruce Please could you paste in data that we can use to test your example. This will save a developer having to re-type from your screenshots and ensure that we are doing exactly the same as you. Thank you.

@icebruce Please also annotate your images with arrows to show us exactly where the problem is. Thank you.

Here's the test data

Line 1
Line 2

[ ] Task #task
![[Pasted image<PHONE_NUMBER>4204.png]]

Dataview JS query used to get the list of tasks within the current file (as seen here)
dataviewjs
const query = `
not done
path includes ${dv.current().file.path}
# you can add any number of extra Tasks instructions, for example:
group by heading
`;

dv.paragraph('```tasks\n' + query + '\n```');

Updated screenshot.

Thank you. I have edited the examples to format them so that they can be copied and pasted in to Obsidian.

@icebruce In your updated screenshot, is your Obsidian in Live Preview or Reading mode?
From experimenting, my guess is that it is in Live Preview.
Please also supply a screenshot in Reading mode. Thank you.

I have been able to reproduce the behaviour you describe with a simpler example:
# delete me

- Line 1
	- [ ] Task 1 - with tab  #task
Extra text immediately after task line

```tasks
not done
heading includes delete me
```

The above matches 0 tasks.
The following matches 1 task:
# delete me

- Line 1
	- [ ] Task 1 - with tab  #task

Extra text with blank line after task line

```tasks
not done
heading includes delete me
```

The above behaviour is described in the first page of the Getting Started section of the Tasks documentation:
https://obsidian-tasks-group.github.io/obsidian-tasks/getting-started/
If you search for the warning beginning Tasks only supports single-line checklist items.
So it seems to me that what is happening is the documented behaviour of tasks.
If you put the image in a second bullet point, I expect that it will work.

In Live Preview, this is how the 2-line task is rendered - it shows as a task:

In Reading mode, the task is displayed as [ ] - it is not rendered as a task.

Even Obsidian, in Reading Mode, does not recognise things like your example text as a task.

@icebruce  I am closing this for now, as I believe that Tasks is behaving consistently with its documentation, and that no action is needed.
The workaround is to give the image its own bullet point.
If you feel I have misunderstood anything, or you have any more information, please do add it it here, and I will re-open the issue.
Thanks.


Import issue: Undefined symbol

When attempting to import Inplace-ABN version 1.1.0, I get the following error:
>>> from inplace_abn import InPlaceABN
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/curttigges/miniconda3/envs/pytorch-dl/lib/python3.7/site-packages/inplace_abn/__init__.py", line 1, in <module>
    from .abn import ABN, InPlaceABN, InPlaceABNSync
  File "/home/curttigges/miniconda3/envs/pytorch-dl/lib/python3.7/site-packages/inplace_abn/abn.py", line 8, in <module>
    from .functions import inplace_abn, inplace_abn_sync
  File "/home/curttigges/miniconda3/envs/pytorch-dl/lib/python3.7/site-packages/inplace_abn/functions.py", line 8, in <module>
    from . import _backend
ImportError: /home/curttigges/miniconda3/envs/pytorch-dl/lib/python3.7/site-packages/inplace_abn/_backend.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv

I am using CUDA 11.2 and PyTorch 1.8.2. The Inplace-ABN files were compiled with GCC 10.

When attempting to import Inplace-ABN version 1.1.0, I get the following error:
>>> from inplace_abn import InPlaceABN
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/curttigges/miniconda3/envs/pytorch-dl/lib/python3.7/site-packages/inplace_abn/__init__.py", line 1, in <module>
    from .abn import ABN, InPlaceABN, InPlaceABNSync
  File "/home/curttigges/miniconda3/envs/pytorch-dl/lib/python3.7/site-packages/inplace_abn/abn.py", line 8, in <module>
    from .functions import inplace_abn, inplace_abn_sync
  File "/home/curttigges/miniconda3/envs/pytorch-dl/lib/python3.7/site-packages/inplace_abn/functions.py", line 8, in <module>
    from . import _backend
ImportError: /home/curttigges/miniconda3/envs/pytorch-dl/lib/python3.7/site-packages/inplace_abn/_backend.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv

I am using CUDA 11.2 and PyTorch 1.8.2. The Inplace-ABN files were compiled with GCC 10.

I update my cuda-10.1 to cuda-10.2, then it works.

so are you update your cuda-11.2 to 10.2 ? i get the same error by using cuda-11.0


CS1584 and CS1658 on cref with generic type of generic type

StyleCopAnalyzers incorrectly reports a cref attribute to be wrong if it references a generic type whose generic attribute is again set to a generic type.
As an example, the following code reports CS1584 and CS1658 on the cref attribute.
/// <summary>
/// Gets the next page from the result set.
/// </summary>
/// <returns>A <see cref="Task{Page{Activity}}"/> representing the asynchronous operation.</returns>
public async Task<Page<Activity>> GetNextPageAsync()
{
}

CS1584 XML comment has syntactically incorrect cref attribute 'Task{Page{Activity}}'
CS1658 Type parameter declaration must be an identifier not a type. See also error CS0081.

Hi @niklaskarl,
Note that warnings and errors that start with CS are reported by the compiler and not by this project. With that said, the code sample provided does have an incorrect reference. Since it's not possible to reference an instantiation of a generic type from a documentation comment, you need to use the following instead:
<see cref="Task{T}"/>


fixed smoothStepEdge behaviour for sourceX > targetX case

fixed smoothStepEdge behaviour for sourceX > targetX case

The current behaviour is intended. I think the current behaviour makes it clearer where the edge starts and ends.
your version:

here it's not possible to see that the edge starts on the right side of the "Source 98" node.
current version:

In a situation like:

where I have a source on the left and target on the right (B -> C) current smoothStepEdge implementation looks ugly.
How about if I add an additional check that the target is on the right and the source is on the left?
In that case, we won't break the current version and we still going to support the new version for the case I've described?

sounds good. I think the edge logic could benefit from a complete rewrite :D It's possible to write this way simpler and more generic.


first iteration of make changes in relationship between Submission an…

…d Result

Checklist

[ ] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[ ] Server: I added multiple integration tests (Spring) related to the features (with a high test coverage)
[ ] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[ ] Server: I implemented the changes with a good performance and prevented too many database calls
[ ] Server: I documented the Java code using JavaDoc style.
[ ] Client: I added multiple integration tests (Jest) related to the features (with a high test coverage)
[ ] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[ ] Client: I documented the TypeScript code using JSDoc style.
[ ] Client: I added multiple screenshots/screencasts of my UI changes
[ ] Client: I translated all the newly inserted strings into German and English

Motivation and Context

Description

Steps for Testing

Log in to Artemis
Navigate to Course Administration
...

Test Coverage

ExerciseService.java: 85%
programming-exercise.component.ts 95%

Screenshots

as discussed, this is the wrong approach! please manually change the relationship between submission and result


How would you go about strictly typing the properties of a Feature?

Firstly many thanks for this repo, your work is much appreciated!
Secondly, I thought I would try my luck to see if you had time to help me understand how you would go about strictly typing the properties of a Feature - Please, don't feel obliged to help me with this, but I was interested to hear your approach.

Oh, my bad I missed the todo section in the readme 🤦


Request: Add support for custom vertex shaders

Currently Ebitengine only supports fragments shaders. While fragments shaders give you a lot of freedom, there are some effects that are easier(and maybe more efficient) to implement using the vertex shader(scaling, stretching, rotating, changing the shape, etc.).
Rotating a handful of vertices is much simpler than all of the pixels within a source image.
This feature will give more more freedom, especially with combination with fragment shaders, allowing for more complex shaders to be possible.
Another more concrete example is this simple shader, moving the top vertices in a certain wave form to simulate wind - can be useful for moving grass sprites, trees, etc.
A possible implementation:
var Amplitude float
var Frequency float
var Delay     float
var Time      float

func Vertex(position vec2, texCoord vec2, color vec4) (position vec4, texCoord vec2, color vec4) {
    // Check if current vertex is one of the top two vertices.
    // If using something similar to gl_VertexID is possible.
    // Else using texCoord it should also be possible to infer the vertex id.
    if texCoord.y == 0 { // Assuming (0,0) and (1, 0) correspond to the top vertices.
        position.x += Amplitude * sin((Time + Delay) * Frequency)
        //position.y += AmplitudeY * sin((Time + DelayY) * FrequencyY)
    }

	return __projectionMatrix * vec4(position, 0, 1), texCoord, color
}

One point raised, was that this is essentially exposing another API which then will need to be maintained, thus raising the maintenance cost. This is can be potentially flagged as experimental, and be left for the discretion of the user, whether to use a custom vertex shader or not.

Interesting, but can we already do similar effects by modifying vertices on the CPU side?

Interesting, but can we already do similar effects by modifying vertices on the CPU side?

Yeah, that's true, we can.
In addition, scaling, stretching, and rotating are all possible with the current GeoM struct when drawing using images. I'm sure vertex shaders would be more efficient, as this would allow us to perform these calculations on the GPU and free up time on the CPU, but by how much I'm not sure.
I think it might be good to examine this from a performance perspective to see if, say, rotating, scaling, stretching, and skewing using GeoM is significantly worse than doing it through a theoretical vertex shader.

Yeah, we need to do some performance experiments. My concern is that a vertex shader might prevent batching, so the performance might be worse in some cases.

@SolarLune vertex shaders could allow bump mapping in Tetra?
Among many other things I guess, but I think this one is a common use case in 3D

@SolarLune vertex shaders could allow bump mapping in Tetra? Among many other things I guess, but I think this one is a common use case in 3D

I suppose you could use a vertex shader to vary the shape of a mesh, though I think normal mapping would be most effectively done through modification of Tetra3D's rendering shader, rather than using vertex shaders for bump mapping (unless I am missing alternate possibilities).
Using a vertex shader would allow for rendering meshes faster in Tetra3D, but I would need to send the necessary data to transform each vertex to be able to take advantage of it (which Kage doesn't currently support, so that's not an option currently).

Will it be implemented?

Not planned

I really want to see this feature in the engine, without it its impossible to make anything other than topdown games without dropping performance to zero.

I actually kind of forgot about this issue haha. But yes, I would love to see this. You initially asked for a reason why we should add this and I could only give a basic example. After I dove into shaders a little bit more, I can give a better one. I recently did a shader for 3D rotations of a 2D sprite and as a result I had to correct the texture mapping. While this could be achieved with fragment shaders I believe it is much more compact passing the information through the vertex shader.

I really want to see this feature in the engine, without it its impossible to make anything other than topdown games (isometry, voxels, spritestacking) without dropping performance to zero.

I'm in general support of custom vertex shaders and a better ability to run things on the GPU, but "impossible to make anything other than top-down games" is a heavy claim. Can you elaborate? What are you trying to make that would benefit heavily from vertex shaders?

Can you elaborate? What are you trying to make that would benefit heavily from vertex shaders?

Well, yes, not really impossible, but it can be quite slow. Recently, my colleagues and I were studying some public 2.5 engines and we began to understand that such engines do not scale well.
For example, here is what the author fauxtron 3d writes, who spent some time implementing a working engine for sprite stacking:

Yeah, it's a 'fake 3d' engine but I use actual vertex buffers and projection matrices, so performance is actually maintainable. :) I plan to add in OBJ importation eventually so you can go the more 'true' 3d route if you wish. So this is actual 3D. The only sprite stack I have in this project is the fog, but that is also just a frozen vertex buffer (mesh) with a single surface as the texture for each layer (64 total layers). The buildings are all in a single buffer. Using standard 'draw_sprite()' is waayyy to slow to produce anything usable. haha. If you can batch things into a single sprite/buffer, that is the best way to get the most optimal performance. :)

Many engines have vertex shaders. I would like to port the code from my projects to Ebitengine without any using tricks on the CPU side.


[Bug]: TypeError: Cannot read properties of undefined (reading 'url')

What happened?
When I try to upload an image I get this error msg

error TypeError: Cannot read properties of undefined (reading 'url') at eval (webpack-internal:///(rsc)/./node_modules/uploadthing/dist/chunk-LQBAB5WK.mjs:257:36) at Object.POST (webpack-internal:///(rsc)/./node_modules/uploadthing/dist/chunk-66XXRAVC.mjs:285:32)

What did you expect to happen?
should upload without any issue
Version
  "uploadthing": "^5.6.1"
  "@uploadthing/react": "^5.6.1",

Reproduction Steps

git clone https://github.com/St1ggy/discord-clone/tree/uploadthing-bug
git checkout uploadthing-bug
Create a .env and put in your secrets
bun i
bun dev
Upload file. Meet the bug.

Link to reproduction
Not minimal, but anyway bugged: https://github.com/St1ggy/discord-clone/tree/uploadthing-bug
Code of Conduct

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

https://github.com/pingdotgg/uploadthing/issues/372#issuecomment-1726357987

I was also not able to reproduce this issue locally:

Did you find a solution?

Did you find a solution?

Maybe you can create a new repro? Given that neither Mark or I was able to reproduce with the one given in this issue

Just tried again and works ootb.
May I ask you what OS you're on? Bun support on windows is experimental so might be something relaated to that if you're on windows?

No, just latest Mac OS

I'm not sure what else we can do here as none of us are able to reproduce your bug. Can you try
bunx degit pingdotgg/uploadthing/examples/minimal-appdir ut-test
cd ut-test
bun i
cp .env.example .env
# add secrets to .env
bun dev
upload file

Same issue here with versions on a Next13 Project :
  "uploadthing": "^5.6.1"
  "@uploadthing/react": "^5.6.1",

Had same error while using version 5.6.1, downgraded to 5.6.0 and I'm fine

Can anyone provide a reproduction repo? Just saying you had the issue doesn't help us nail down the root cause.

Got the same bug. In my case the issue was with the node version. Switching to 18.17.1 solved the problem.

Got the same issue,  using node v18.16.1 works for me too. I was on node v16.19.0. Hope this helps!

Can you try updating your Node version @St1ggy ?

Was able to repro with Node 16:

Given that Node 16 is now deprecated, I don't think we need to fix this. We have an issue on our Linear to alert when an incompatible version of Node is used, so this should be more apparent.
I'm closing this, if you still encounter issues after upgrading to Node >= 18, feel free to open a new issue.

Upgrading to node v18.16.1 works for me too

Yes, Node 18 solved my issue, thanks!